@univerjs-pro/collaboration-client 0.6.10-experimental.20250410-b7c4a5b → 0.6.10-nightly.202504101607

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/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x31ae88=_0x4038;(function(_0x433e7d,_0x212750){var _0x51b982=_0x4038,_0x2b11a8=_0x433e7d();while(!![]){try{var _0x3386ba=parseInt(_0x51b982(0x277))/0x1*(-parseInt(_0x51b982(0x442))/0x2)+-parseInt(_0x51b982(0x51a))/0x3*(-parseInt(_0x51b982(0x3c2))/0x4)+parseInt(_0x51b982(0x33f))/0x5+parseInt(_0x51b982(0x230))/0x6*(-parseInt(_0x51b982(0x20f))/0x7)+-parseInt(_0x51b982(0x2a6))/0x8+-parseInt(_0x51b982(0x268))/0x9*(parseInt(_0x51b982(0x39d))/0xa)+parseInt(_0x51b982(0x523))/0xb*(parseInt(_0x51b982(0x464))/0xc);if(_0x3386ba===_0x212750)break;else _0x2b11a8['push'](_0x2b11a8['shift']());}catch(_0x2e65f8){_0x2b11a8['push'](_0x2b11a8['shift']());}}}(_0x5e30,0x24099));var wt=Object[_0x31ae88(0x271)],Lt=(_0x3effc8,_0x2da5f6,_0x4830bc)=>_0x2da5f6 in _0x3effc8?wt(_0x3effc8,_0x2da5f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4830bc}):_0x3effc8[_0x2da5f6]=_0x4830bc,A=(_0x48eb7c,_0x1ad9b6,_0xf4e950)=>Lt(_0x48eb7c,typeof _0x1ad9b6!=_0x31ae88(0x204)?_0x1ad9b6+'':_0x1ad9b6,_0xf4e950);Object['defineProperty'](exports,Symbol[_0x31ae88(0x1ef)],{'value':'Module'});const a=require('@univerjs/core'),j=require(_0x31ae88(0x2da)),V=require('rxjs/operators'),g=require(_0x31ae88(0x2c8)),q=require(_0x31ae88(0x25b)),Mt=require(_0x31ae88(0x4b1)),ut=require(_0x31ae88(0x211)),Z=require(_0x31ae88(0x43e)),J=require(_0x31ae88(0x503)),xt=require(_0x31ae88(0x27b)),dt=_0x31ae88(0x487),kt=_0x31ae88(0x28e),vt=_0x31ae88(0x1c3),Ht=_0x31ae88(0x4e4),jt=0x7d0,St=_0x31ae88(0x420),ft=_0x31ae88(0x201),$t=_0x31ae88(0x338),pt=_0x31ae88(0x29c),Bt=0x7530,je=_0x31ae88(0x512),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Kt=_0x31ae88(0x281),Et='LOGIN_URL_KEY',Yt=_0x31ae88(0x32f),qt=_0x31ae88(0x310),zt=_0x31ae88(0x2d2);var Ct=(_0x3cd991=>(_0x3cd991[_0x3cd991[_0x31ae88(0x296)]=0x0]=_0x31ae88(0x296),_0x3cd991[_0x3cd991['OK']=0x1]='OK',_0x3cd991[_0x3cd991['INTERNAL_ERROR']=0x2]=_0x31ae88(0x1d4),_0x3cd991[_0x3cd991[_0x31ae88(0x305)]=0x3]='PERMISSION_DENIED',_0x3cd991[_0x3cd991[_0x31ae88(0x1eb)]=0x4]=_0x31ae88(0x1eb),_0x3cd991[_0x3cd991[_0x31ae88(0x301)]=0x5]=_0x31ae88(0x301),_0x3cd991[_0x3cd991[_0x31ae88(0x41a)]=0x6]='ALREADY_EXISTS',_0x3cd991[_0x3cd991[_0x31ae88(0x46a)]=0x7]=_0x31ae88(0x46a),_0x3cd991[_0x3cd991[_0x31ae88(0x2ee)]=0x8]=_0x31ae88(0x2ee),_0x3cd991[_0x3cd991[_0x31ae88(0x3f5)]=0x9]=_0x31ae88(0x3f5),_0x3cd991[_0x3cd991[_0x31ae88(0x401)]=0xa]='LOGIN_FAILED',_0x3cd991[_0x3cd991[_0x31ae88(0x3ba)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3cd991[_0x3cd991[_0x31ae88(0x264)]=0x1771]=_0x31ae88(0x264),_0x3cd991[_0x3cd991[_0x31ae88(0x3b9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3cd991[_0x3cd991[_0x31ae88(0x4a5)]=0x1773]=_0x31ae88(0x4a5),_0x3cd991[_0x3cd991['APPLY_REJECT']=0x1b59]=_0x31ae88(0x328),_0x3cd991[_0x3cd991[_0x31ae88(0x4b9)]=0x1b5a]=_0x31ae88(0x4b9),_0x3cd991[_0x3cd991[_0x31ae88(0x433)]=0x1b5b]=_0x31ae88(0x433),_0x3cd991[_0x3cd991[_0x31ae88(0x4fd)]=0x1b5c]=_0x31ae88(0x4fd),_0x3cd991[_0x3cd991[_0x31ae88(0x273)]=0x1b5d]=_0x31ae88(0x273),_0x3cd991[_0x3cd991[_0x31ae88(0x41f)]=0x1f41]=_0x31ae88(0x41f),_0x3cd991[_0x3cd991[_0x31ae88(0x473)]=0x2329]=_0x31ae88(0x473),_0x3cd991[_0x3cd991[_0x31ae88(0x386)]=0x232a]=_0x31ae88(0x386),_0x3cd991[_0x3cd991[_0x31ae88(0x31e)]=0x232b]=_0x31ae88(0x31e),_0x3cd991[_0x3cd991[_0x31ae88(0x45d)]=0x232c]=_0x31ae88(0x45d),_0x3cd991[_0x3cd991[_0x31ae88(0x47c)]=0x232d]=_0x31ae88(0x47c),_0x3cd991[_0x3cd991[_0x31ae88(0x1c5)]=0x2711]=_0x31ae88(0x1c5),_0x3cd991[_0x3cd991[_0x31ae88(0x1cb)]=0x2712]=_0x31ae88(0x1cb),_0x3cd991[_0x3cd991[_0x31ae88(0x3a8)]=0x2713]=_0x31ae88(0x3a8),_0x3cd991[_0x3cd991['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x31ae88(0x51f),_0x3cd991[_0x3cd991[_0x31ae88(0x2f9)]=0x2af9]=_0x31ae88(0x2f9),_0x3cd991[_0x3cd991['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x31ae88(0x2cf),_0x3cd991[_0x3cd991['INVALID_INVITE_CODE']=0x2ee2]=_0x31ae88(0x22f),_0x3cd991[_0x3cd991[_0x31ae88(0x219)]=0x2ee3]=_0x31ae88(0x219),_0x3cd991[_0x3cd991[_0x31ae88(0x522)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3cd991[_0x3cd991[_0x31ae88(0x4d3)]=0x2ee5]=_0x31ae88(0x4d3),_0x3cd991[_0x3cd991['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3cd991[_0x3cd991[_0x31ae88(0x481)]=0x32ca]=_0x31ae88(0x481),_0x3cd991[_0x3cd991[_0x31ae88(0x1bb)]=0x32cb]=_0x31ae88(0x1bb),_0x3cd991[_0x3cd991[_0x31ae88(0x484)]=-0x1]=_0x31ae88(0x484),_0x3cd991))(Ct||{}),X=(_0x64c346=>(_0x64c346[_0x64c346[_0x31ae88(0x233)]=0x0]=_0x31ae88(0x233),_0x64c346[_0x64c346[_0x31ae88(0x25d)]=0x1]=_0x31ae88(0x25d),_0x64c346[_0x64c346[_0x31ae88(0x1d1)]=0x2]=_0x31ae88(0x1d1),_0x64c346[_0x64c346[_0x31ae88(0x28f)]=0x3]=_0x31ae88(0x28f),_0x64c346[_0x64c346[_0x31ae88(0x23c)]=0x4]=_0x31ae88(0x23c),_0x64c346[_0x64c346[_0x31ae88(0x484)]=-0x1]=_0x31ae88(0x484),_0x64c346))(X||{}),W=(_0x2139b5=>(_0x2139b5[_0x2139b5[_0x31ae88(0x3a6)]=0x0]='UNKNOWN_CMD',_0x2139b5[_0x2139b5[_0x31ae88(0x2f4)]=0x1]='HELLO',_0x2139b5[_0x2139b5['JOIN']=0x2]=_0x31ae88(0x437),_0x2139b5[_0x2139b5['LEAVE']=0x3]=_0x31ae88(0x21a),_0x2139b5[_0x2139b5[_0x31ae88(0x3cd)]=0x4]='INGEST',_0x2139b5[_0x2139b5[_0x31ae88(0x2ac)]=0x5]=_0x31ae88(0x2ac),_0x2139b5[_0x2139b5[_0x31ae88(0x3ab)]=0x6]=_0x31ae88(0x3ab),_0x2139b5[_0x2139b5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2139b5))(W||{}),ae=(_0x140034=>(_0x140034[_0x140034[_0x31ae88(0x374)]=0x0]=_0x31ae88(0x374),_0x140034[_0x140034['OK']=0x1]='OK',_0x140034[_0x140034['FAIL']=0x2]=_0x31ae88(0x3e3),_0x140034[_0x140034[_0x31ae88(0x255)]=0x3e9]=_0x31ae88(0x255),_0x140034[_0x140034[_0x31ae88(0x4c2)]=0x3ea]=_0x31ae88(0x4c2),_0x140034[_0x140034[_0x31ae88(0x4c9)]=0x3eb]=_0x31ae88(0x4c9),_0x140034[_0x140034['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x140034[_0x140034['UNRECOGNIZED']=-0x1]=_0x31ae88(0x484),_0x140034))(ae||{}),Tt=(_0x5246b6=>(_0x5246b6[_0x5246b6[_0x31ae88(0x1b9)]=0x0]=_0x31ae88(0x1b9),_0x5246b6[_0x5246b6[_0x31ae88(0x479)]=0x1]='HttpImport',_0x5246b6[_0x5246b6[_0x31ae88(0x4d9)]=0x2]=_0x31ae88(0x4d9),_0x5246b6[_0x5246b6[_0x31ae88(0x4db)]=0x3]='UnitEmbedded',_0x5246b6[_0x5246b6[_0x31ae88(0x3ef)]=0x4]=_0x31ae88(0x3ef),_0x5246b6[_0x5246b6[_0x31ae88(0x4e8)]=0x5]=_0x31ae88(0x4e8),_0x5246b6[_0x5246b6[_0x31ae88(0x484)]=-0x1]='UNRECOGNIZED',_0x5246b6))(Tt||{});const Y=_0x31ae88(0x235),Jt={};var Q=(_0x351d98=>(_0x351d98[_0x31ae88(0x40b)]=_0x31ae88(0x40b),_0x351d98[_0x31ae88(0x305)]='PERMISSION_DENIED',_0x351d98['CONFLICT']='CONFLICT',_0x351d98[_0x31ae88(0x511)]=_0x31ae88(0x511),_0x351d98[_0x31ae88(0x2ab)]=_0x31ae88(0x2ab),_0x351d98[_0x31ae88(0x37f)]=_0x31ae88(0x37f),_0x351d98[_0x31ae88(0x318)]='SOCKET_FAILED',_0x351d98[_0x31ae88(0x1e5)]=_0x31ae88(0x1e5),_0x351d98))(Q||{});class te{constructor(){var _0x2741d7=_0x31ae88;A(this,'_event$',new j[(_0x2741d7(0x444))]()),A(this,'event$',this[_0x2741d7(0x3da)][_0x2741d7(0x3a1)]());}[_0x31ae88(0x21d)](_0x26acd2){var _0x506a8f=_0x31ae88;this[_0x506a8f(0x3da)]['next'](_0x26acd2);}}const bt=a[_0x31ae88(0x27c)](_0x31ae88(0x417));function Rt(_0x26a16d){var _0x2a7e75=_0x31ae88,_0x5c319c,_0x176cbd,_0xbfb09e,_0x644240,_0x1724e2;const _0x29ffdb=_0x26a16d[_0x2a7e75(0x4ed)],_0x398947=JSON['parse'](_0x29ffdb);switch(_0x398947[_0x2a7e75(0x205)]){case W[_0x2a7e75(0x2ac)]:case W['HELLO']:{const _0x59c7e1=_0x398947[_0x2a7e75(0x476)];return{..._0x398947,'data':_0x59c7e1,'cmd':_0x398947['cmd']};}case W[_0x2a7e75(0x437)]:{const _0x27388f=_0x398947[_0x2a7e75(0x424)];return{..._0x398947,'data':_0x27388f,'cmd':_0x398947[_0x2a7e75(0x205)]};}case W['RECV']:{const _0x58fbe7=_0x398947[_0x2a7e75(0x489)];switch(_0x58fbe7[_0x2a7e75(0x2b2)]){case g['CollaborationEvent'][_0x2a7e75(0x3e4)]:return{..._0x398947,'data':{..._0x58fbe7,'data':(_0x5c319c=_0x58fbe7['permissionRejEvent'])==null?void 0x0:_0x5c319c['cs']},'cmd':_0x398947['cmd']};case g[_0x2a7e75(0x502)]['CHANGESET_ACK']:return{..._0x398947,'data':{..._0x58fbe7,'data':(_0x176cbd=_0x58fbe7[_0x2a7e75(0x3d1)])==null?void 0x0:_0x176cbd['cs']},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x474)]:return{..._0x398947,'data':{..._0x58fbe7,'data':(_0xbfb09e=_0x58fbe7['newCsEvent'])==null?void 0x0:_0xbfb09e['cs']},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x35c)]:return{..._0x398947,'data':{..._0x58fbe7,'data':(_0x644240=_0x58fbe7[_0x2a7e75(0x37a)])==null?void 0x0:_0x644240['cs']},'cmd':_0x398947['cmd']};case g[_0x2a7e75(0x502)][_0x2a7e75(0x42d)]:return{..._0x398947,'data':{..._0x58fbe7,'data':(_0x1724e2=_0x58fbe7[_0x2a7e75(0x452)])==null?void 0x0:_0x1724e2['cs']},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x240)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x460)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x3f4)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x3f6)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x3c3)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x3ad)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g['CollaborationEvent'][_0x2a7e75(0x354)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x1c9)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x2b0)]:case g['CollaborationEvent'][_0x2a7e75(0x2e0)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x4d7)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)]['LIVESHARE_TERMINATE']:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x1c9)]},'cmd':_0x398947['cmd']};case g['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x398947,'data':_0x58fbe7,'cmd':_0x398947['cmd']};case g[_0x2a7e75(0x502)]['COMMENT_UPDATE']:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x2c0)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x24d)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7['updatePermissionObjEvent']},'cmd':_0x398947['cmd']};case g[_0x2a7e75(0x502)][_0x2a7e75(0x3ea)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7[_0x2a7e75(0x434)]},'cmd':_0x398947[_0x2a7e75(0x205)]};case g[_0x2a7e75(0x502)][_0x2a7e75(0x22b)]:return{..._0x398947,'data':{..._0x58fbe7,'data':_0x58fbe7['uniscriptRunEvent']},'cmd':_0x398947[_0x2a7e75(0x205)]};default:return _0x398947;}}default:return _0x398947;}}function Ot(_0xd79881){var _0x308f20=_0x31ae88;switch(_0xd79881[_0x308f20(0x205)]){case W['HEARTBEAT']:case W[_0x308f20(0x2f4)]:return JSON[_0x308f20(0x398)]({'cmd':_0xd79881[_0x308f20(0x205)],'routeKey':_0xd79881[_0x308f20(0x2bc)]});case W['INGEST']:{let _0x36a96a;switch(_0xd79881[_0x308f20(0x4ed)][_0x308f20(0x2b2)]){case g['CollaborationEvent'][_0x308f20(0x240)]:{_0x36a96a={'eventID':g[_0x308f20(0x502)][_0x308f20(0x240)],'updateCursorEvent':_0xd79881[_0x308f20(0x4ed)][_0x308f20(0x4ed)]};break;}case g[_0x308f20(0x502)][_0x308f20(0x3c3)]:{_0x36a96a={'eventID':g['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0xd79881[_0x308f20(0x4ed)][_0x308f20(0x4ed)]};break;}case g[_0x308f20(0x502)][_0x308f20(0x3f4)]:{_0x36a96a={'eventID':g[_0x308f20(0x502)][_0x308f20(0x3f4)],'joinEvent':_0xd79881[_0x308f20(0x4ed)]['data']};break;}case g[_0x308f20(0x502)]['LIVESHARE_NEW_HOST']:{_0x36a96a={'eventID':g['CollaborationEvent'][_0x308f20(0x354)],'liveShareNewHost':_0xd79881['data'][_0x308f20(0x4ed)]};break;}case g[_0x308f20(0x502)][_0x308f20(0x2e0)]:{_0x36a96a={'eventID':g[_0x308f20(0x502)][_0x308f20(0x2e0)],'liveShareOperation':_0xd79881[_0x308f20(0x4ed)][_0x308f20(0x4ed)]};break;}case g[_0x308f20(0x502)]['LIVESHARE_TERMINATE']:{_0x36a96a={'eventID':g['CollaborationEvent'][_0x308f20(0x3a9)],'liveShareTerminate':_0xd79881[_0x308f20(0x4ed)][_0x308f20(0x4ed)]};break;}case g[_0x308f20(0x502)][_0x308f20(0x32e)]:{_0x36a96a={'eventID':g['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xd79881['data'][_0x308f20(0x4ed)]};break;}case g[_0x308f20(0x502)][_0x308f20(0x2b0)]:{_0x36a96a={'eventID':g[_0x308f20(0x502)][_0x308f20(0x2b0)]};break;}default:_0x36a96a={'eventID':_0xd79881['data'][_0x308f20(0x2b2)]};}return JSON[_0x308f20(0x398)]({'cmd':_0xd79881[_0x308f20(0x205)],'routeKey':_0xd79881['routeKey'],'collaMsg':_0x36a96a});}case W[_0x308f20(0x437)]:return JSON[_0x308f20(0x398)]({'cmd':_0xd79881['cmd'],'routeKey':_0xd79881[_0x308f20(0x2bc)],'joinReq':_0xd79881['data']});case W['LEAVE']:return JSON[_0x308f20(0x398)]({'cmd':_0xd79881['cmd'],'routeKey':_0xd79881[_0x308f20(0x2bc)],'leaveReq':_0xd79881['data']});default:throw new Error(_0x308f20(0x4e3));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x3b6b18,_0x113014,_0xde9dd8,_0x23e41)=>{var _0x271b07=_0x31ae88;for(var _0x2630f7=_0x23e41>0x1?void 0x0:_0x23e41?Xt(_0x113014,_0xde9dd8):_0x113014,_0x17c202=_0x3b6b18[_0x271b07(0x2a4)]-0x1,_0x5ab915;_0x17c202>=0x0;_0x17c202--)(_0x5ab915=_0x3b6b18[_0x17c202])&&(_0x2630f7=_0x5ab915(_0x2630f7)||_0x2630f7);return _0x2630f7;},_e=(_0x112408,_0x3679b6)=>(_0x49084e,_0x15b536)=>_0x3679b6(_0x49084e,_0x15b536,_0x112408);const $e=a[_0x31ae88(0x27c)](_0x31ae88(0x20e));function Qt(_0x21d2f1,_0x381455,_0x744993){var _0x1450d3=_0x31ae88;return _0x21d2f1+'/'+_0x381455+_0x1450d3(0x3f3)+_0x744993+'/new_changes';}exports[_0x31ae88(0x515)]=class extends a[_0x31ae88(0x2e7)]{constructor(_0x2bdc1f,_0x5b118c,_0x3ba85b,_0xcbf3be,_0x557e7d){var _0x2f5989=_0x31ae88;super(),this['_injector']=_0x2bdc1f,this['_httpService']=_0x5b118c,this[_0x2f5989(0x403)]=_0x3ba85b,this[_0x2f5989(0x393)]=_0xcbf3be,this[_0x2f5989(0x333)]=_0x557e7d;}[_0x31ae88(0x224)](_0x16af9e){var _0x1475c3=_0x31ae88;const _0x13cd75=this[_0x1475c3(0x3f7)][_0x1475c3(0x20c)](q['ISocketService']);if(!_0x13cd75)throw new Error(_0x1475c3(0x4c8));const _0x309311=_0x13cd75[_0x1475c3(0x408)](_0x16af9e);if(!_0x309311)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x24fb71=new a[(_0x1475c3(0x472))](),_0x48312c=new j[(_0x1475c3(0x444))]();_0x24fb71[_0x1475c3(0x4c4)](_0x309311['close$']['subscribe'](_0x4f6c3d=>_0x48312c[_0x1475c3(0x1e8)](_0x4f6c3d))),_0x24fb71[_0x1475c3(0x4c4)](a[_0x1475c3(0x258)](()=>_0x48312c[_0x1475c3(0x478)]()));const _0x344e53=new j['Subject']();_0x24fb71[_0x1475c3(0x4c4)](_0x309311[_0x1475c3(0x40c)]['subscribe'](_0x12a1f8=>_0x344e53[_0x1475c3(0x1e8)](_0x12a1f8))),_0x24fb71[_0x1475c3(0x4c4)](a[_0x1475c3(0x258)](()=>_0x344e53[_0x1475c3(0x478)]()));const _0x12a75b=new j['Subject']();_0x24fb71[_0x1475c3(0x4c4)](_0x309311[_0x1475c3(0x48f)]['subscribe'](_0x411b6d=>{var _0x5d80a9=_0x1475c3;const _0x3d6030=Rt(_0x411b6d);_0x12a75b[_0x5d80a9(0x1e8)](_0x3d6030);})),_0x24fb71[_0x1475c3(0x4c4)](a[_0x1475c3(0x258)](()=>_0x12a75b[_0x1475c3(0x478)]()));let _0x4d2770;const _0x5c10cb=()=>{var _0x451e0f=_0x1475c3;_0x344e53[_0x451e0f(0x1e8)](new Event('connection\x20error')),_0x48312c[_0x451e0f(0x1e8)](new Event(_0x451e0f(0x4ee))),_0x4d2770[_0x451e0f(0x231)]();};return _0x4d2770={'memberID':'','close$':_0x48312c[_0x1475c3(0x3a1)](),'error$':_0x344e53[_0x1475c3(0x3a1)](),'open$':_0x309311[_0x1475c3(0x1e6)],'message$':_0x12a75b[_0x1475c3(0x3a1)](),'send':_0xdead86=>{var _0x568ee5=_0x1475c3;if(_0xdead86['cmd']===W['INGEST']){if(_0xdead86[_0x568ee5(0x4ed)][_0x568ee5(0x2b2)]===g['CollaborationEvent'][_0x568ee5(0x4a6)]){this['_submitChangeset'](_0x4d2770,_0xdead86[_0x568ee5(0x4ed)])[_0x568ee5(0x3c0)](_0xc4d43=>{var _0x20a342=_0x568ee5;this[_0x20a342(0x393)][_0x20a342(0x4b2)](_0xc4d43),_0x5c10cb();});return;}if(_0xdead86[_0x568ee5(0x4ed)][_0x568ee5(0x2b2)]===g[_0x568ee5(0x502)][_0x568ee5(0x257)]){const _0x4d1766=_0xdead86[_0x568ee5(0x4ed)];this[_0x568ee5(0x206)](_0x4d1766)[_0x568ee5(0x334)](_0x1b6db=>{var _0x3e6aba=_0x568ee5;_0x12a75b['next']({'cmd':W[_0x3e6aba(0x3ab)],'code':ae['OK'],'routeKey':_0x4d1766[_0x3e6aba(0x4ed)]['unitID'],'routeType':'','data':{'eventID':g[_0x3e6aba(0x502)][_0x3e6aba(0x3e8)],'data':{'changesets':_0x1b6db}}});})[_0x568ee5(0x3c0)](_0x20da5a=>{var _0x46f66a=_0x568ee5;this['_logService'][_0x46f66a(0x4b2)](_0x20da5a),_0x5c10cb();});return;}}_0x309311[_0x568ee5(0x4ce)](Ot(_0xdead86));},'close':()=>{_0x309311['close'](),_0x24fb71['dispose']();}},_0x4d2770;}async['_submitChangeset'](_0x446fea,_0x4d5bab){var _0x36b960=_0x31ae88,_0x22a958,_0x1746bf;const {unitType:_0x4613d6,unitID:_0x794408,changeset:_0x47b981}=_0x4d5bab['data'],_0xe473f={'unitID':_0x794408,'memberID':_0x446fea[_0x36b960(0x337)],'type':_0x4613d6,'changeset':g[_0x36b960(0x1d6)](_0x47b981)},_0x5006d9=this[_0x36b960(0x403)][_0x36b960(0x428)](It),_0x75593f=this[_0x36b960(0x403)][_0x36b960(0x428)](Y),_0x3f168c=Qt((_0x1746bf=(_0x22a958=_0x75593f==null?void 0x0:_0x75593f['collabSubmitChangesetUrl'])!=null?_0x22a958:_0x5006d9)!=null?_0x1746bf:Kt,_0x4613d6,_0x794408);try{await this[_0x36b960(0x2ba)]['post'](_0x3f168c,{'body':_0xe473f});}catch(_0x373427){throw this[_0x36b960(0x393)][_0x36b960(0x4b2)]('[CollaborationSession]',_0x36b960(0x411)),_0x373427;}}async[_0x31ae88(0x206)](_0x2da803){var _0x1929f3=_0x31ae88;const {unitID:_0x428722,from:_0x3ad344,to:_0x571315,unitType:_0x2d830d}=_0x2da803[_0x1929f3(0x4ed)];return(await this[_0x1929f3(0x333)][_0x1929f3(0x4f3)]({'metadata':void 0x0},{'unitID':_0x428722,'type':_0x2d830d,'from':_0x3ad344,'to':_0x571315}))[_0x1929f3(0x299)];}},exports[_0x31ae88(0x515)]=Zt([_e(0x0,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),_e(0x1,a[_0x31ae88(0x2a8)](q[_0x31ae88(0x1fd)])),_e(0x2,a[_0x31ae88(0x1fb)]),_e(0x3,a[_0x31ae88(0x530)]),_e(0x4,g[_0x31ae88(0x4d2)])],exports[_0x31ae88(0x515)]);const ei=_0x31ae88(0x3a2);function ti(_0x5d88d2){var _0x1e700b=_0x31ae88;return JSON[_0x1e700b(0x398)](_0x5d88d2)[_0x1e700b(0x2a4)];}class Be{constructor(){var _0x1bbaa4=_0x31ae88;A(this,_0x1bbaa4(0x23f),new j[(_0x1bbaa4(0x444))]()),A(this,_0x1bbaa4(0x269),this['_commentUpdate$'][_0x1bbaa4(0x3a1)]());}[_0x31ae88(0x293)](_0x395850){var _0x3f8daa=_0x31ae88;this[_0x3f8daa(0x23f)][_0x3f8daa(0x1e8)](_0x395850);}}var ii=Object[_0x31ae88(0x4cc)],ni=(_0x5c3b06,_0x877b99,_0x157ce4,_0x172bbe)=>{var _0x2be1a1=_0x31ae88;for(var _0x4cbcb8=_0x172bbe>0x1?void 0x0:_0x172bbe?ii(_0x877b99,_0x157ce4):_0x877b99,_0x5148ea=_0x5c3b06[_0x2be1a1(0x2a4)]-0x1,_0xeac2f3;_0x5148ea>=0x0;_0x5148ea--)(_0xeac2f3=_0x5c3b06[_0x5148ea])&&(_0x4cbcb8=_0xeac2f3(_0x4cbcb8)||_0x4cbcb8);return _0x4cbcb8;},Ke=(_0x59bea6,_0x6950e4)=>(_0x5077fc,_0x36beee)=>_0x6950e4(_0x5077fc,_0x36beee,_0x59bea6);exports['MemberService']=class extends a[_0x31ae88(0x2e7)]{constructor(_0x420755,_0x4293da){var _0x5e7039=_0x31ae88;super(),A(this,'_roomMembers',new Map()),A(this,_0x5e7039(0x2bb),new j[(_0x5e7039(0x444))]()),(this['_univerInstanceService']=_0x420755,this[_0x5e7039(0x4c5)]=_0x4293da,this[_0x5e7039(0x2cc)](j[_0x5e7039(0x3df)](this[_0x5e7039(0x34b)][_0x5e7039(0x24b)](a[_0x5e7039(0x3af)][_0x5e7039(0x1d1)])[_0x5e7039(0x4cf)](V[_0x5e7039(0x4ea)](_0x332d4c=>_0x332d4c[_0x5e7039(0x291)]())),this['_univerInstanceService'][_0x5e7039(0x24b)](a[_0x5e7039(0x3af)]['UNIVER_DOC'])[_0x5e7039(0x4cf)](V[_0x5e7039(0x4ea)](_0x3e2272=>_0x3e2272[_0x5e7039(0x291)]())),this[_0x5e7039(0x34b)][_0x5e7039(0x24b)](a[_0x5e7039(0x3af)][_0x5e7039(0x28f)])[_0x5e7039(0x4cf)](V[_0x5e7039(0x4ea)](_0x597ab8=>_0x597ab8[_0x5e7039(0x291)]())))['subscribe'](_0x59c708=>this[_0x5e7039(0x331)](_0x59c708))));}[_0x31ae88(0x382)](_0x493624){var _0x31d231=_0x31ae88;return this[_0x31d231(0x341)][_0x31d231(0x368)](_0x493624)?j['of'](this[_0x31d231(0x341)][_0x31d231(0x20c)](_0x493624)):this['_roomCreated$']['pipe'](V['map'](_0x6206e=>{var _0x20279d=_0x31d231;if(_0x6206e===_0x493624)return this[_0x20279d(0x341)][_0x20279d(0x20c)](_0x6206e);}));}[_0x31ae88(0x353)](_0x155f26){var _0x5b2126=_0x31ae88;this['_userManagerService'][_0x5b2126(0x353)](_0x155f26);}[_0x31ae88(0x3cb)](){var _0x2fcca2=_0x31ae88;return this[_0x2fcca2(0x4c5)][_0x2fcca2(0x3cb)]();}[_0x31ae88(0x30c)](_0x1cf565,_0x34c976){var _0x1e10b8=_0x31ae88;let _0x3f58c3=this[_0x1e10b8(0x341)][_0x1e10b8(0x20c)](_0x1cf565);_0x3f58c3||(_0x3f58c3=new ri(),this[_0x1e10b8(0x341)][_0x1e10b8(0x3cf)](_0x1cf565,_0x3f58c3),this['_roomCreated$'][_0x1e10b8(0x1e8)](_0x1cf565)),_0x3f58c3['updateMember'](_0x34c976);}[_0x31ae88(0x1b2)](_0x2ea21a,_0x5d789d){var _0x21472a=_0x31ae88;const _0x127193=this[_0x21472a(0x341)]['get'](_0x2ea21a);_0x127193&&_0x127193['removeMember'](_0x5d789d);}[_0x31ae88(0x350)](_0x35ddfd){var _0x1f82e4=_0x31ae88;return this[_0x1f82e4(0x341)]['get'](_0x35ddfd);}[_0x31ae88(0x3c6)](_0x76a23,_0x275d33){var _0x13ee87=_0x31ae88;const _0x1d8784=this[_0x13ee87(0x341)][_0x13ee87(0x20c)](_0x76a23);if(_0x1d8784)return _0x1d8784['getMember'](_0x275d33);}[_0x31ae88(0x331)](_0x26bb1c){var _0x41b355=_0x31ae88;const _0x238a36=this['_roomMembers'][_0x41b355(0x20c)](_0x26bb1c);_0x238a36&&(_0x238a36[_0x41b355(0x3ac)](),this[_0x41b355(0x341)][_0x41b355(0x1df)](_0x26bb1c));}[_0x31ae88(0x3ac)](){var _0x3da2a7=_0x31ae88;this[_0x3da2a7(0x341)][_0x3da2a7(0x38d)](_0x213b96=>_0x213b96[_0x3da2a7(0x3ac)]()),this[_0x3da2a7(0x341)][_0x3da2a7(0x3e9)](),this[_0x3da2a7(0x2bb)]['complete']();}},exports[_0x31ae88(0x416)]=ni([Ke(0x0,a[_0x31ae88(0x37d)]),Ke(0x1,a['Inject'](a['UserManagerService']))],exports[_0x31ae88(0x416)]);class ri extends a[_0x31ae88(0x2e7)]{constructor(){var _0x365ca6=_0x31ae88;super(...arguments),A(this,_0x365ca6(0x272),new Map()),A(this,'_members$',new j[(_0x365ca6(0x438))](this[_0x365ca6(0x272)])),A(this,_0x365ca6(0x488),this[_0x365ca6(0x2b9)]['asObservable']());}['dispose'](){var _0x498a44=_0x31ae88;this[_0x498a44(0x272)][_0x498a44(0x3e9)]();}['updateMember'](_0x37e06b){var _0x3b8034=_0x31ae88;this['_members'][_0x3b8034(0x3cf)](_0x37e06b[_0x3b8034(0x337)],_0x37e06b),this[_0x3b8034(0x4b6)]();}[_0x31ae88(0x1b2)](_0x1a0982){var _0x4d9ff5=_0x31ae88;this['_members'][_0x4d9ff5(0x1df)](_0x1a0982);}[_0x31ae88(0x3c6)](_0x5b694d){var _0x46a87f=_0x31ae88;return this[_0x46a87f(0x272)]['get'](_0x5b694d);}[_0x31ae88(0x44c)](){var _0x3ce97c=_0x31ae88;return Array[_0x3ce97c(0x29e)](this[_0x3ce97c(0x272)]['values']());}['_emitMembers'](){var _0x3d9b79=_0x31ae88;this[_0x3d9b79(0x2b9)][_0x3d9b79(0x1e8)](this[_0x3d9b79(0x272)]);}}var si=Object[_0x31ae88(0x4cc)],oi=(_0x45d9c1,_0x22f994,_0x3e4cdc,_0x3cb7c9)=>{var _0x40cc6e=_0x31ae88;for(var _0x4a045f=_0x3cb7c9>0x1?void 0x0:_0x3cb7c9?si(_0x22f994,_0x3e4cdc):_0x22f994,_0x831e6d=_0x45d9c1[_0x40cc6e(0x2a4)]-0x1,_0x4552e1;_0x831e6d>=0x0;_0x831e6d--)(_0x4552e1=_0x45d9c1[_0x831e6d])&&(_0x4a045f=_0x4552e1(_0x4a045f)||_0x4a045f);return _0x4a045f;},oe=(_0x3bbfdc,_0x34f66a)=>(_0x10da55,_0x5d47df)=>_0x34f66a(_0x10da55,_0x5d47df,_0x3bbfdc),se=(_0x12771a=>(_0x12771a[_0x12771a[_0x31ae88(0x4d1)]=0x0]=_0x31ae88(0x4d1),_0x12771a[_0x12771a['JOINING']=0x1]=_0x31ae88(0x49b),_0x12771a[_0x12771a[_0x31ae88(0x50f)]=0x2]=_0x31ae88(0x50f),_0x12771a[_0x12771a[_0x31ae88(0x33b)]=0x3]=_0x31ae88(0x33b),_0x12771a))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x31ae88(0x255)]]:'session.room-full',[ae[_0x31ae88(0x4c2)]]:_0x31ae88(0x4c1),[ae[_0x31ae88(0x4c9)]]:_0x31ae88(0x2e5),[ae[_0x31ae88(0x4fb)]]:_0x31ae88(0x3b2)};exports[_0x31ae88(0x263)]=class extends a[_0x31ae88(0x2b5)]{constructor(_0x45c6b7,_0x1bf0bb,_0x383364,_0x1f98c4,_0x29e5d2,_0x4aa56a,_0x510f71,_0x38f79f,_0x40be31){var _0x382207=_0x31ae88;super(),A(this,_0x382207(0x4a1),new j['BehaviorSubject'](0x0)),A(this,_0x382207(0x1f4),this['_sessionStatus$'][_0x382207(0x3a1)]()),A(this,'_event$',new j[(_0x382207(0x444))]()),A(this,_0x382207(0x1db),this['_event$'][_0x382207(0x3a1)]()),A(this,_0x382207(0x404)),A(this,_0x382207(0x34c)),A(this,_0x382207(0x4b7)),A(this,_0x382207(0x4e6),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x45c6b7,this[_0x382207(0x393)]=_0x383364,this[_0x382207(0x403)]=_0x1f98c4,this[_0x382207(0x2c7)]=_0x29e5d2,this[_0x382207(0x32a)]=_0x4aa56a,this['_commentService']=_0x510f71,this['_collaborationUIEventService']=_0x38f79f,this[_0x382207(0x405)]=_0x40be31,this['_shouldReportTelemetry']=!!this[_0x382207(0x405)],_0x1bf0bb[_0x382207(0x4cf)](j[_0x382207(0x31b)](this[_0x382207(0x286)]))[_0x382207(0x280)](_0x420f69=>{var _0x2de008=_0x382207,_0x11e2b7;typeof _0x420f69>'u'||(this[_0x2de008(0x404)]=_0x420f69,_0x420f69?(this[_0x2de008(0x43d)](_0x420f69),this[_0x2de008(0x34c)]=_0x420f69['message$'][_0x2de008(0x280)](_0xaba4d3=>{var _0x42afb8=_0x2de008;_0xaba4d3['routeKey']===this[_0x42afb8(0x45b)]&&this[_0x42afb8(0x2c6)](_0xaba4d3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2de008(0x4a1)][_0x2de008(0x1e8)](0x2),(_0x11e2b7=this[_0x2de008(0x34c)])==null||_0x11e2b7['unsubscribe'](),this[_0x2de008(0x34c)]=null));}));}get[_0x31ae88(0x389)](){var _0x224634=_0x31ae88;return this[_0x224634(0x4a1)][_0x224634(0x3cc)]();}[_0x31ae88(0x4bc)](){var _0x2d4551=_0x31ae88,_0x5add59,_0x2a1167;return(_0x2a1167=(_0x5add59=this['_socket'])==null?void 0x0:_0x5add59[_0x2d4551(0x337)])!=null?_0x2a1167:null;}[_0x31ae88(0x3ac)](){var _0x1750a0=_0x31ae88;super['dispose'](),this[_0x1750a0(0x286)][_0x1750a0(0x1e8)](),this[_0x1750a0(0x286)][_0x1750a0(0x478)]();}['close'](){var _0x2c7366=_0x31ae88,_0x19492c,_0x1028a7;this[_0x2c7366(0x327)](),(_0x19492c=this[_0x2c7366(0x404)])==null||_0x19492c[_0x2c7366(0x4ce)]({'cmd':W[_0x2c7366(0x21a)],'data':{'roomID':this[_0x2c7366(0x45b)]}}),(_0x1028a7=this[_0x2c7366(0x404)])==null||_0x1028a7[_0x2c7366(0x231)](),this[_0x2c7366(0x3da)][_0x2c7366(0x478)](),this[_0x2c7366(0x4a1)][_0x2c7366(0x478)](),this[_0x2c7366(0x3ac)]();}['_onCombEvent'](_0xf9f4a2){var _0x57489e=_0x31ae88;_0xf9f4a2[_0x57489e(0x205)]===W[_0x57489e(0x437)]?this[_0x57489e(0x36f)](_0xf9f4a2):_0xf9f4a2[_0x57489e(0x205)]===W['RECV']&&this[_0x57489e(0x347)](_0xf9f4a2);}[_0x31ae88(0x43d)](_0x4ad8d9){var _0x33dbaf=_0x31ae88;this[_0x33dbaf(0x4a1)][_0x33dbaf(0x1e8)](0x1),_0x4ad8d9[_0x33dbaf(0x4ce)]({'cmd':W[_0x33dbaf(0x437)],'routeKey':this[_0x33dbaf(0x45b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x33dbaf(0x45b)]}]}});}[_0x31ae88(0x36f)](_0x711c0d){var _0x1646a4=_0x31ae88,_0x48d2c5;if(_0x711c0d['code']in Ye){this[_0x1646a4(0x41b)]['emitEvent']({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x711c0d[_0x1646a4(0x3ca)]]}),this[_0x1646a4(0x4a1)][_0x1646a4(0x1e8)](0x2);return;}this[_0x1646a4(0x4a1)][_0x1646a4(0x1e8)](0x3);const _0xc77cc5=(_0x48d2c5=_0x711c0d[_0x1646a4(0x4ed)][_0x1646a4(0x4ac)][this[_0x1646a4(0x45b)]])==null?void 0x0:_0x48d2c5['members'];_0xc77cc5&&_0xc77cc5[_0x1646a4(0x38d)](_0x5ea11f=>this[_0x1646a4(0x32a)][_0x1646a4(0x30c)](this[_0x1646a4(0x45b)],_0x5ea11f));}[_0x31ae88(0x347)](_0x18d5b3){var _0x5d8281=_0x31ae88;try{const _0x54381e=_0x18d5b3['data'];switch(_0x54381e[_0x5d8281(0x2b2)]){case g['CollaborationEvent']['USERS_ENTER']:this[_0x5d8281(0x2cb)](_0x54381e),this[_0x5d8281(0x3da)][_0x5d8281(0x1e8)](_0x54381e);break;case g[_0x5d8281(0x502)][_0x5d8281(0x3c3)]:this['_onUserLeave'](_0x54381e),this['_event$']['next'](_0x54381e);break;case g['CollaborationEvent'][_0x5d8281(0x1c2)]:case g[_0x5d8281(0x502)][_0x5d8281(0x42d)]:this[_0x5d8281(0x391)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5d8281(0x3da)][_0x5d8281(0x1e8)](_0x54381e);break;case g['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x5d8281(0x393)]['error'](_0x5d8281(0x46c)+JSON[_0x5d8281(0x398)](_0x54381e)),this[_0x5d8281(0x3da)]['next'](_0x54381e);break;case g[_0x5d8281(0x502)][_0x5d8281(0x3b3)]:this[_0x5d8281(0x2e3)][_0x5d8281(0x293)](_0x54381e[_0x5d8281(0x4ed)]),this[_0x5d8281(0x3da)][_0x5d8281(0x1e8)](_0x54381e);break;default:this['_event$'][_0x5d8281(0x1e8)](_0x54381e);}}catch(_0x585091){this[_0x5d8281(0x393)][_0x5d8281(0x4b2)](_0x585091,_0x18d5b3);}}[_0x31ae88(0x2cb)](_0x4e0c7c){var _0x36876e=_0x31ae88;this['_memberService']['updateMember'](this[_0x36876e(0x45b)],_0x4e0c7c[_0x36876e(0x4ed)]);}[_0x31ae88(0x4d8)](_0x4c4423){var _0x3f666f=_0x31ae88;this[_0x3f666f(0x32a)][_0x3f666f(0x1b2)](this[_0x3f666f(0x45b)],_0x4c4423[_0x3f666f(0x4ed)]['memberID']);}async[_0x31ae88(0x4ce)](_0x5c541e,_0x2372bd){var _0x57f04c=_0x31ae88;if(this['sessionStatus']!==0x3||!this[_0x57f04c(0x404)])throw new Error(_0x57f04c(0x1e3));try{_0x5c541e[_0x57f04c(0x2b2)]===g[_0x57f04c(0x502)][_0x57f04c(0x4a6)]&&(this[_0x57f04c(0x52b)](),this['_startTelemetryCollaborationNewChangeset'](_0x5c541e)),this[_0x57f04c(0x404)][_0x57f04c(0x4ce)]({'cmd':W[_0x57f04c(0x3cd)],'routeKey':_0x2372bd,'routeType':'','data':_0x5c541e});}catch(_0x480d03){this[_0x57f04c(0x393)][_0x57f04c(0x4b2)](_0x480d03);}}[_0x31ae88(0x52b)](){var _0x1890e8=_0x31ae88,_0x5453eb;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x349165=_0x4038;this[_0x349165(0x4b7)]=null,this[_0x349165(0x41b)][_0x349165(0x21d)]({'id':Q[_0x349165(0x1e5)]});},(_0x5453eb=this[_0x1890e8(0x403)][_0x1890e8(0x428)](je))!=null?_0x5453eb:gt);}['_clearCollaborationTimeoutTimer'](){var _0x4b7555=_0x31ae88;this[_0x4b7555(0x4b7)]&&(clearTimeout(this[_0x4b7555(0x4b7)]),this['_collaborationTimeoutTimer']=null);}[_0x31ae88(0x35f)](_0x33985f){var _0x46d7de=_0x31ae88;if(!this[_0x46d7de(0x4e6)])return;const {data:_0x1171bb}=_0x33985f,{unitID:_0x2f1fde,changeset:_0x49984b}=_0x1171bb,{mutations:_0x1f9246,type:_0x390b93}=_0x49984b;this[_0x46d7de(0x4e2)]={'unitId':_0x2f1fde,'type':_0x390b93,'startTime':performance[_0x46d7de(0x4ae)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1f9246)};}[_0x31ae88(0x391)](){var _0x3d10f2=_0x31ae88;if(this[_0x3d10f2(0x4e6)]){if(!this['_telemetryInfo']){this['_logService']['error'](_0x3d10f2(0x44a),_0x3d10f2(0x209));return;}this[_0x3d10f2(0x4e2)][_0x3d10f2(0x1b7)]=performance[_0x3d10f2(0x4ae)](),this[_0x3d10f2(0x4e2)][_0x3d10f2(0x256)]=this[_0x3d10f2(0x4e2)][_0x3d10f2(0x1b7)]-this[_0x3d10f2(0x4e2)][_0x3d10f2(0x36d)],this['_telemetryService']['capture'](ei,this[_0x3d10f2(0x4e2)]),this[_0x3d10f2(0x4e2)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xf68995=_0x31ae88;this[_0xf68995(0x4e2)]=null;}},exports[_0x31ae88(0x263)]=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x31ae88(0x1fb)]),oe(0x4,a['Inject'](a[_0x31ae88(0x319)])),oe(0x5,a[_0x31ae88(0x2a8)](exports[_0x31ae88(0x416)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x31ae88(0x2a8)](te)),oe(0x8,a[_0x31ae88(0x516)](Mt['ITelemetryService']))],exports[_0x31ae88(0x263)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x186e4c,_0x5308e8,_0x22bc94,_0x200fd7)=>{var _0x4705bc=_0x31ae88;for(var _0x18f307=_0x200fd7>0x1?void 0x0:_0x200fd7?ai(_0x5308e8,_0x22bc94):_0x5308e8,_0x6d18ed=_0x186e4c[_0x4705bc(0x2a4)]-0x1,_0x28a45b;_0x6d18ed>=0x0;_0x6d18ed--)(_0x28a45b=_0x186e4c[_0x6d18ed])&&(_0x18f307=_0x28a45b(_0x18f307)||_0x18f307);return _0x18f307;},le=(_0x13623a,_0x3f8c01)=>(_0x2a63ee,_0x44329f)=>_0x3f8c01(_0x2a63ee,_0x44329f,_0x13623a);exports[_0x31ae88(0x27f)]=class extends a[_0x31ae88(0x2e7)]{constructor(_0x314fbb,_0x46c57f,_0x3fa5de,_0x2a81d7,_0x4099cd,_0x2f9be9){var _0x59eb33=_0x31ae88;super(),A(this,_0x59eb33(0x3d7),new j[(_0x59eb33(0x438))](void 0x0)),A(this,'socket$',this['_socket$'][_0x59eb33(0x3a1)]()),A(this,_0x59eb33(0x216),null),A(this,_0x59eb33(0x223),new Map()),A(this,_0x59eb33(0x2e1),new j[(_0x59eb33(0x438))](se['IDLE'])),A(this,_0x59eb33(0x4bf),this['_status$'][_0x59eb33(0x3a1)]()),A(this,_0x59eb33(0x461),!0x1),A(this,_0x59eb33(0x4be)),A(this,_0x59eb33(0x497),0x0),A(this,_0x59eb33(0x1de)),A(this,'_timeoutTimer'),(this['_injector']=_0x314fbb,this[_0x59eb33(0x393)]=_0x46c57f,this['_configService']=_0x3fa5de,this[_0x59eb33(0x4f2)]=_0x2a81d7,this[_0x59eb33(0x41b)]=_0x4099cd,this['_networkConditionService']=_0x2f9be9,this[_0x59eb33(0x495)]());}get[_0x31ae88(0x404)](){var _0x18b508=_0x31ae88;return this['_socket$'][_0x18b508(0x3cc)]();}[_0x31ae88(0x495)](){var _0x14fce1=_0x31ae88;this['_networkConditionService']&&this[_0x14fce1(0x2cc)](this[_0x14fce1(0x419)]['online$'][_0x14fce1(0x280)](_0x327233=>{var _0x35cbf4=_0x14fce1;_0x327233&&!this[_0x35cbf4(0x404)]&&this['reconnect'](),_0x327233||this[_0x35cbf4(0x3e7)]();}));}[_0x31ae88(0x3ac)](){var _0x42c674=_0x31ae88;super[_0x42c674(0x3ac)](),this[_0x42c674(0x2d7)](),this[_0x42c674(0x1f8)](),this['_clearHeartbeatTimer'](),this[_0x42c674(0x223)][_0x42c674(0x38d)](_0x5d23bc=>_0x5d23bc[_0x42c674(0x3ac)]()),this[_0x42c674(0x223)][_0x42c674(0x3e9)](),this[_0x42c674(0x2e1)][_0x42c674(0x478)]();}async['requireSession'](_0x975d9){var _0x460778=_0x31ae88;if(this[_0x460778(0x223)]['has'](_0x975d9))return this[_0x460778(0x223)][_0x460778(0x20c)](_0x975d9);this[_0x460778(0x4f0)]();const _0x37f637=this[_0x460778(0x3f7)][_0x460778(0x483)](exports['CollaborationSession'],_0x975d9,this[_0x460778(0x3d7)][_0x460778(0x3a1)]());return this[_0x460778(0x223)][_0x460778(0x3cf)](_0x975d9,_0x37f637),_0x37f637;}[_0x31ae88(0x336)](_0x50ccff){var _0x3ba7fc=_0x31ae88,_0x3b9ded;const _0x55abf4=this[_0x3ba7fc(0x223)][_0x3ba7fc(0x20c)](_0x50ccff);_0x55abf4&&(this[_0x3ba7fc(0x223)]['delete'](_0x50ccff),_0x55abf4[_0x3ba7fc(0x231)]()),this[_0x3ba7fc(0x223)][_0x3ba7fc(0x457)]||(_0x3b9ded=this[_0x3ba7fc(0x404)])==null||_0x3b9ded[_0x3ba7fc(0x231)]();}[_0x31ae88(0x4fa)](){var _0x2ac243=_0x31ae88;this[_0x2ac243(0x497)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2ac243(0x39b)]();}[_0x31ae88(0x2d7)](){var _0x4219c1=_0x31ae88;this[_0x4219c1(0x4be)]!=null&&(clearTimeout(this[_0x4219c1(0x4be)]),this[_0x4219c1(0x4be)]=null);}async[_0x31ae88(0x48d)](){var _0x265903=_0x31ae88,_0x34d243,_0x401919;const _0x521c4d=this[_0x265903(0x403)][_0x265903(0x428)](St),_0xb385c6=this[_0x265903(0x403)][_0x265903(0x428)](Y),_0x2f4928=(_0x401919=(_0x34d243=_0xb385c6==null?void 0x0:_0xb385c6[_0x265903(0x4f6)])!=null?_0x34d243:_0x521c4d)!=null?_0x401919:ft,_0x48c6c9=await this[_0x265903(0x4f2)]['createSocket'](_0x2f4928);return this[_0x265903(0x216)]=_0x48c6c9,_0x48c6c9;}async[_0x31ae88(0x4f0)](){var _0x3f1efa=_0x31ae88,_0x4152a6,_0x381f7f;try{const _0x3c053b=(_0x381f7f=(_0x4152a6=this[_0x3f1efa(0x404)])!=null?_0x4152a6:this['_candidateSocket'])!=null?_0x381f7f:await this[_0x3f1efa(0x48d)]();if(_0x3c053b){const _0x33ae8a=_0x3c053b['send'];_0x3c053b[_0x3f1efa(0x4ce)]=_0x1ba01b=>(this['_rescheduleHeartbeat'](),_0x33ae8a[_0x3f1efa(0x3c5)](_0x3c053b,[_0x1ba01b])),_0x3c053b[_0x3f1efa(0x48f)][_0x3f1efa(0x280)](_0x12ecbe=>this[_0x3f1efa(0x217)](_0x3c053b,_0x12ecbe)),_0x3c053b[_0x3f1efa(0x40c)][_0x3f1efa(0x4cf)](V['take'](0x1))['subscribe'](_0x1ef4df=>this[_0x3f1efa(0x393)][_0x3f1efa(0x4b2)]('[CollaborationSessionService]:\x20socket\x20error',_0x1ef4df)),_0x3c053b['open$'][_0x3f1efa(0x4cf)](V[_0x3f1efa(0x24c)](0x1))[_0x3f1efa(0x280)](()=>{var _0x24fbe8=_0x3f1efa;this[_0x24fbe8(0x23a)](_0x3c053b);}),_0x3c053b['close$'][_0x3f1efa(0x4cf)](V[_0x3f1efa(0x24c)](0x1))[_0x3f1efa(0x280)](_0x319a42=>{var _0x1da687=_0x3f1efa;this[_0x1da687(0x393)]['debug'](_0x1da687(0x440),_0x1da687(0x44d),_0x319a42),this[_0x1da687(0x265)]();});}}catch(_0x4cd67e){this[_0x3f1efa(0x393)][_0x3f1efa(0x4b2)](_0x4cd67e),this[_0x3f1efa(0x265)]();}}[_0x31ae88(0x23a)](_0x558fbb){var _0x532b41=_0x31ae88;this[_0x532b41(0x393)][_0x532b41(0x42f)](_0x532b41(0x440),'socket\x20open.'),_0x558fbb[_0x532b41(0x4ce)]({'cmd':W[_0x532b41(0x2f4)]}),this[_0x532b41(0x402)]();}[_0x31ae88(0x3e7)](){var _0x50f767=_0x31ae88;this[_0x50f767(0x461)]=!0x1,this[_0x50f767(0x216)]=null,this[_0x50f767(0x2e1)]['next'](se[_0x50f767(0x50f)]),this[_0x50f767(0x3d7)]['next'](null),this[_0x50f767(0x1f8)](),this[_0x50f767(0x38b)]();}[_0x31ae88(0x265)](){var _0x424f76=_0x31ae88,_0xd8fb42;this[_0x424f76(0x3e7)](),this[_0x424f76(0x497)]<((_0xd8fb42=this['_configService']['getConfig'](mt))!=null?_0xd8fb42:Vt)?(this['_collaborationUIEventService'][_0x424f76(0x21d)]({'id':Q[_0x424f76(0x37f)]}),this[_0x424f76(0x39b)]()):this[_0x424f76(0x41b)]['emitEvent']({'id':Q[_0x424f76(0x318)]});}['_tryReconnect'](){var _0x49ac1a=_0x31ae88,_0x250def;const _0x319b91=this[_0x49ac1a(0x497)],_0x20e2c4=this['_configService'][_0x49ac1a(0x428)](Y),_0x5c952c=_0x319b91===0x0?0x0:((_0x250def=_0x20e2c4==null?void 0x0:_0x20e2c4[_0x49ac1a(0x306)])!=null?_0x250def:Ft)*0x2**_0x319b91;this[_0x49ac1a(0x4be)]=setTimeout(()=>{var _0x29aa89=_0x49ac1a;clearTimeout(this[_0x29aa89(0x4be)]),this[_0x29aa89(0x4be)]=null,this[_0x29aa89(0x4f0)]();},_0x5c952c),this[_0x49ac1a(0x497)]+=0x1;}[_0x31ae88(0x217)](_0x3de771,_0x37f4be){var _0x514422=_0x31ae88;const {cmd:_0x2c4e4b}=_0x37f4be;_0x2c4e4b===W[_0x514422(0x2f4)]&&!this[_0x514422(0x461)]&&(_0x3de771['memberID']=_0x37f4be[_0x514422(0x4ed)][_0x514422(0x337)],this[_0x514422(0x3d7)][_0x514422(0x1e8)](_0x3de771),this[_0x514422(0x2e1)][_0x514422(0x1e8)](se['ONLINE']),this['_socketReady']=!0x0,this[_0x514422(0x216)]=null),_0x2c4e4b===W[_0x514422(0x2ac)]&&this[_0x514422(0x1f8)](),this[_0x514422(0x402)]();}['_rescheduleHeartbeat'](){var _0x3e6022=_0x31ae88,_0x5b2815;this[_0x3e6022(0x38b)](),this[_0x3e6022(0x1de)]=setTimeout(()=>this[_0x3e6022(0x44b)](),(_0x5b2815=this['_configService'][_0x3e6022(0x428)](pt))!=null?_0x5b2815:Bt);}[_0x31ae88(0x44b)](){var _0x3d3e03=_0x31ae88;this['_socket'][_0x3d3e03(0x4ce)]({'cmd':W[_0x3d3e03(0x2ac)]}),this[_0x3d3e03(0x2d6)]();}[_0x31ae88(0x2d6)](){var _0xc97ae6=_0x31ae88,_0x4217da;this[_0xc97ae6(0x392)]=setTimeout(()=>this[_0xc97ae6(0x265)](),(_0x4217da=this[_0xc97ae6(0x403)]['getConfig'](je))!=null?_0x4217da:gt);}[_0x31ae88(0x38b)](){var _0x1428a8=_0x31ae88;this[_0x1428a8(0x1de)]!=null&&(clearTimeout(this[_0x1428a8(0x1de)]),this[_0x1428a8(0x1de)]=null);}[_0x31ae88(0x1f8)](){var _0x476a7b=_0x31ae88;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x476a7b(0x392)]=null);}},exports[_0x31ae88(0x27f)]=ci([le(0x0,a[_0x31ae88(0x2a8)](a['Injector'])),le(0x1,a['ILogService']),le(0x2,a[_0x31ae88(0x1fb)]),le(0x3,$e),le(0x4,a['Inject'](te)),le(0x5,a[_0x31ae88(0x516)](bt))],exports[_0x31ae88(0x27f)]);const G=[];function _0x5e30(){var _0x1d372b=['1320890nkRFth','CollaborationUIEventService','_roomMembers','getCollabEntity$','\x20in\x20_schedule.','transformSelections','list','_collaborationSessionService','_onRecvEvent','enableSingleActiveInstanceLock','editing\x20status\x20changed\x20to','sigBytes','_univerInstanceService','_socketMessageSubscription','_data','Utf8','awaiting_with_pending','getRoom','getTime','textRanges','setCurrentUser','LIVESHARE_NEW_HOST','_keySchedule','state','update','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SheetsSelectionsService','_loadSheet','_transformRemoteChangesetByStateCache','CHANGESET_REJ','/universer-api/authz','IPermissionService','_startTelemetryCollaborationNewChangeset','/universer-api/stream/file/upload','MentionType','_permissionService','baseRev','bind','/-/object/list','Malformed\x20UTF-8\x20data','readInt32LE','has','override','OTHER_CLIENTS_EDITING','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_prevBlock','startTime','/universer-api/file/{fileID}/sign-url','_onJoinRoomEvent','updatePermissionPoint','registerHTTPInterceptor','hasher','NO_OTHER_CLIENTS_EDITING','UNKNOWN_CODE','_startCollaboration','_unlockTransition','call','_initMergeInterceptor','HMAC','csRejEvent','_oKey','_instanceService','IUniverInstanceService','_init','SOCKET_FAILED_RETRY','MD5','isTransformMutationsWithChangesetSuccess','waitForRoom$','buffer','/object/','listCollaborators','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PasswordBasedCipher','People','sessionStatus','setShowComponents','_clearHeartbeatTimer','Tools','forEach','\x0aCurrent:\x20','enc','onRemoteRetry','_stopTelemetryCollaborationNewChangeset','_timeoutTimer','_logService','_initCloseConn','_cipher','saveImage','NoPadding','stringify','/allowed','objects','_tryReconnect','failed\x20to\x20apply\x20missed\x20changesets!','850XYDltA','join','_exhaustRemoteChangesetQueue','unknown','asObservable','collaboration_new_changeset','_collabSessionService','objectID','COLLAB_SUBMIT_CHANGESET_URL_KEY','UNKNOWN_CMD','key','YUUMI_RATE_OVER_LIMIT','LIVESHARE_TERMINATE','selections','RECV','dispose','leaveEvent','_waitCount','UniverInstanceType','_replayCachedMutations','_undoStacks','session.room-cnt-exceeds','COMMENT_UPDATE','blockSize','every','addImageSourceCache','UniverNetworkPlugin','_awaitingChangeset','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_REVISION_CONFILICT','_onFetchMissResult','onlyLocal','CollaborationImageIoService','shareReplay','randomUUID','catch','loadSheet','29836TWNGuw','USERS_LEAVE','DataLoaderService','apply','getMember','ERROR_IMAGE_TYPE','synced','SnapshotServerOverHTTPService','code','getCurrentUser','getValue','INGEST','replace','set','EmptyMutation','csAckEvent','/role','random','encode','CONFLICT','type','_socket$','string','executeCommand','_event$','EvpKDF','[OfflineState]:\x20received\x20acknowledgement.','onCommandExecuted','_doReset','merge','HTTPRequest','_change$','__esModule','FAIL','PERMISSION_REJ','focused$','CipherParams','_onOffline','PSEUDO_FETCH_MISSING_RESULT','clear','SHOULD_CLOSE_CONN','href','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','requireSession','UnitSnapshot','onTransformState','result','DependentOn','/unit/','USERS_ENTER','COMPLETION_FINISHED','joinEvent','_injector','AwaitingWithPendingState','decrypt','fromCollab','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','randomBytes','findIndex','LOCAL_CACHE_INTERVAL','\x20-\x20','_collaborationPaused','LOGIN_FAILED','_rescheduleHeartbeat','_configService','_socket','_telemetryService','isTransformChangesetsSuccess','SheetCollaborationEntity','createSocket','/universer-api/snapshot/','_transformStateCache','OTHER_CLIENT_EDITING','error$','_acknowledgedAwaitingChangeset','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_transitionLocked','loadDoc','submit\x20changeset\x20error!','ICollaborationSocketService','unitId\x20is\x20not\x20found','conflict','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','MemberService','univer-pro.collaboration-client.network-condition.service','userID','_networkConditionService','ALREADY_EXISTS','_collaborationUIEventService','fetch_missing','_getCurrentRevision','IMentionIOService','CONNECTOR_DATA_TOO_LARGE','COLLAB_WEB_SOCKET_URL','getUnitType','incrementRevOfUnit','actions','joinRsp','fetchThroughInterceptors','execute','post','getConfig','confirm','extend','COMPRESS_MUTATION_SEND','CollaborativeUndoRedoService','CHANGESET_SHOULD_RETRY','RETRY_CONNECTING_MAX_COUNT_KEY','debug','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UniverCollaborationClientPlugin','splice','APPLY_REVISION_CONFILICT','shouldCloseConn','clone','lib','JOIN','BehaviorSubject','target','ThresholdInterceptorFactory','_pendingMutations','_createHandler','_joinRoom','@univerjs/sheets','_updateState','[CollaborationSessionService]','_getAPIPrefix','6duuffR','auth.needGotoLoginAlert','Subject','FetchingMissState','encodeURIComponent','_minBufferSize','pad','sequenceExecute','[CollaborationSession]','_sendHeartbeat','getAllMembers','socket\x20close','_createInitialState','interceptor','DEFAULT_FILE_NAME','UnitStatus','csShouldRetryEvent','_type','LOGIN_URL_KEY','_transformRemoteChangesetByIMECache','[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.','size','reject','resend','WordArray','_unitID','_doCryptBlock','LICENSE_EXPORT_SIZE_EXCEEDED','_substituteRedoStack','_sheetTransformSelectionsService','updateCursorEvent','_socketReady','processBlock','[FetchMissState]','5329860YJOlil','onTransformRemoteChangesetByStateCache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','max','FETCH_MISS','INVALID_ARGUMENT','_toggleOffline','save\x20fail\x20reason\x20is\x20','DocCollaborationEntity','_commandService','_unitInfo$','Could\x20not\x20dynamically\x20require\x20\x22','origin','DisposableCollection','LICENSE_MAX_UNITS_EXCEEDED','NEW_CHANGESETS','isArray','infoRsp','x-univer-host','complete','HttpImport','WorkbookEditablePermission','_nRounds','LICENSE_DISTRO_REJECTED','AwaitingState','&assign=','_clearScheduledTask','/collaborator','MOBILE_HAS_BEEN_BOUND','location','createInstance','UNRECOGNIZED','copyFileMeta','SheetTransformSelectionsService','SNAPSHOT_SERVER_URL_KEY','members$','collaMsg','collaboration-client.local-cache-service','getDeserializedSheetBlock','_scheduleCompleteTimestamp','_createSocket','setConfig','message$','compose','_updateLocalCache','padding','onTransformSelections','_transformSelections','_listenToNetworkCondition','ImageSourceType','_retryCount','filter','_handlerCallback','subject','JOINING','[SyncedState]:\x20received\x20acknowledgement.','salt','_getRedoStack','_sendingTimer','ERROR_EXCEED_SIZE','_sessionStatus$','session','[DataLoaderService]','getInterceptPoints','ENSURE_SNAPSHOT_EXECUTION','SUBMIT_CHANGESET','_resendTimeout','_remoteChangesetQueue','byteLength','substr','_queuedRemoteChangesets','roomInfos','_checkMissing','now','_localCacheService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','@univerjs/telemetry','error','_sender','startsWith','setWaitCount','_emitMembers','_collaborationTimeoutTimer','Injector','APPLY_NON_SEQUENTIAL_REVISION','find','univer-pro.collaboration-client.single-active-unit-service','getMemberID','pauseCollaboration','_retryConnectingTimer','status$','DEFAULT_WS_SESSION_TICKET_URL','session.room-not-exists','JOIN_ROOM_NOT_EXISTS','_singleActiveUnitService','add','_userManagerService','objectType','getFocusedUnit','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','JOIN_ROOM_PERMISSION_DENIED','default','BASE64','getOwnPropertyDescriptor','COMPRESS_MUTATION_APPLY','send','pipe','awaitingChangeset','IDLE','ISnapshotServerService','INVITE_CODE_ALREADY_BOUND','finalize','_changesetReqId','PENDING','liveShareOperation','_onUserLeave','HttpExport','reverse','UnitEmbedded','image/jpeg','push','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','roles','fromCharCode','disableLocalCache','_telemetryInfo','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SEND_CHANGESET_TIMEOUT','CompressMutationService','_shouldReportTelemetry','CollaborationStatus','UserProfileImg','socketService','map','_createHmacHelper','_applyRemoteChangeset','data','connection\x20error','ISingleActiveUnitService','_tryEnsureSocket','ImageUploadStatusType','_socketService','fetchMissingChangesets','exports','_append','collabWebSocketUrl','listRoles','reduce','toggleOffline','reconnect','GLOBAL_ROOMS_CNT_EXCEEDS','unitId','APPLY_PERMISSION_DENIED','_transformService','encryptBlock','_disableEditing','[CollaborationEntity]','CollaborationEvent','@univerjs/drawing','_compressMutationService','toLowerCase','_config','COLLAB_WEB_SOCKET_URL_KEY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getSnapshotAPIPath','json','put','url','HEARTBEAT_TIMEOUT_KEY','getRandomValues','OFFLINE','ConflictState','CLOSE_ROOM','HEARTBEAT_TIMEOUT','sin','enableOfflineEditing','CollaborationSocketService','Optional','hasOwnProperty','_eventService','PendingState','9ydiHsn','_executeRemoteChangeset','_entities','readyForCollab','_nDataBytes','YUUMI_SUBSCRIPTION_NOT_FOUND','SyncedState','Encryptor','USER_NOT_INVITED_CODE','11CwMJWW','_createHelper','action','onMissedChangesetFetched','Base64','format','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_process','_scheduleCollaborationTimeoutTimer','loginUrlKey','_invKeySchedule','mode','msCrypto','ILogService','serializeCombRequest','getGlobalObject','_xformMode','_resendWithTimeout','_map','crypto','UniverCollaborationPlugin','c2Prime','removeMember','isTransformMutationsWithChangesetFailure','ERROR_IMAGE','_getUndoStack','_iKey','stopTime','Base','Undefined','&to=','EMAIL_HAS_BEEN_BOUND','&source=','_key','editingUnit','OpenSSL','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onConflict','CHANGESET_ACK','SNAPSHOT_URL_KEY','onload','YUUMI_UNABLE_LOAD_URL','[CollaborationUndoRedoService]','_getAPIPrefixPath','_getSignURL','liveShareNewHost','localeService','YUUMI_URL_COL_OUT_OF_RANGE','revision','createEncryptor','__Key__','entries','SUCCUSS','UNIVER_SHEET','workbook','batchAllowed','INTERNAL_ERROR','Cipher','parseChangesetToProtocol','_revisionService','getLocalCacheKey','transformChangesets','mergeOverrideWithDependencies','event$','transformStack\x20failed!','status','_sendHeartbeatTimer','delete','delay','clamp','IAuthzIoService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','algo','SUBMIT_CHANGESET_TIMEOUT','open$','_toggleOnline','next','_onRemoteACK','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','NOT_FOUND','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','deleteCollaborator','headers','toStringTag','unitID','SessionStatus','body','_handler','sessionStatus$','textEncoder','LocalUndoRedoService','equals','_clearTimeoutTimer','_transformIMECache','image/jpg','IConfigService','_getDownloadEndpointURL','HTTPService','Hasher','/fetchmissing?from=','signUrlServerUrl','ws://127.0.0.1:8000/universer-api/comb/connect','\x0aAfter:\x20','onSendChangeset','symbol','cmd','_fetchMissChangesets','[OfflineState]:\x20received\x20changeset.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','telemetry\x20info\x20is\x20not\x20initialized','kdf','getCurrentSelections','get','originalMeta','univer-pro.collaboration-client-socket-service','21nFVRnF','concat','@univerjs/docs','_mode','ILocalCacheService','_createInitialStateImpl','_iv','_candidateSocket','_onMessage','_hash','INVITE_CODE_REQUIRED','LEAVE','registerDependencies','unsubscribe','emitEvent','_onRemoteRejected','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','name','CommandType','collaborators','_sessions','_doCreateSocket','onLocalMutation','hostname','[CollaborationState]:\x20apply\x20error!','getResourcesRequest','IContextService','_keyPriorReset','UNISCRIPT_RUN','byteOffset','ICommandService','_reverseMap','INVALID_INVITE_CODE','437586NRdOnI','close','collaboratorID','UNIVER_UNKNOWN','OfflineState','collaboration-client.config','Univer','updateOfflineData','_getCtorByUniverType','create','_onConnectionOpen','cfg','UNIVER_PROJECT','SYNCED','saveSheetBlock','_commentUpdate$','UPDATE_CURSOR','_getLoginPath','_replaceFileID','ceil','CollaborationEntity','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getUploadFileURL','CommentService','NOT_COLLAB','Plugin','_HTTPService','getTypeOfUnitDisposed$','take','UPDATE_PERMISSION_OBJ','loadOfflineData','/-/object/-/batch_allowed','offline','Quantity','title','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateCollaborator','JOIN_ROOM_FULL','duration','FETCH_MISSING','toDisposable','b64DecodeUnicode','unitInfo$','@univerjs/network','_decreaseWaiting','UNIVER_DOC','appendMutation','mapDocumentTypeToUniverType','objectActions','encrypt','_initDependencies','CollaborationSession','SNAPSHOT_INVALID_SNAPSHOT','_onConnectionFailed','image/gif','_clearLocalCache','7695zOFwFC','commentUpdate$','AUTHZ_URL_KEY','_initRequestHeader','_updateStatus','append','requestParams','pending','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','defineProperty','_members','APPLY_DUPLICATED','AuthzIoHttpService','_DEC_XFORM_MODE','_doFinalize','59723CkaKAO','Pkcs7','floor','SetSelectionsOperation','@univerjs-pro/license','createIdentifier','reqId','fetchMiss','CollaborationSessionService','subscribe','/universer-api/comb','Rectangle','CBC','ITransformService','sheets','dispose$','ciphertext','touchDependencies','BufferedBlockAlgorithm','getTypeOfUnitAdded$','_undoRedoService','_onLocalMutation','awaiting','/universer-api/snapshot','UNIVER_SLIDE','onTransformIME','getUnitId','/block/','onCommentUpdate','onRemoteAck','?size=','UNDEFINED','onRemoteChangeset','InsertSheetMutation','changesets','getUnit','Latin1','HEARTBEAT_INTERVAL','POST','from','deserializeToCombResponse','RevisionService','AES','getCurrentRevOfUnit','_transformStack','length','keySize','899712DtBFHJ','LOCAL_CACHE_INTERVAL_KEY','Inject','_state$','SHA1','JOIN_ROOM_FAILED','HEARTBEAT','MergeInterceptorFactory','saveChangeset','_showConflictNotification','LIVESHARE_FETCH_OPERATIONS','range','eventID','c1Prime','rng','RxDisposable','onMissingChangesets','toggleOnline','includes','_members$','_httpService','_roomCreated$','routeKey','getImage','_hasher','_clearRedo','commentUpdateEvent','onStateChange','loadUnit','_registerDependencies','m2Prime','getCollabEntity','_onCombEvent','_localeService','@univerjs-pro/collaboration','SerializableCipher','isInternalEditorID','_onUserJoin','disposeWithMe','MUTATION','charCodeAt','INVITE_CODE_HAS_BEEN_UES','onSyncEditingCollabCursor','_entityInit$','/universer-api/uniscript','_schedule','initWorkbookPermissionChange','_resendTimer','_waitForHeartbeatResponse','_clearRetryConnectingTimer','toString','_substituteUndoStack','rxjs','transformUndoRedo','PERSON','getSheetId','init','BlockCipher','LIVESHARE_OPERATION','_status$','iterations','_commentService','isPermissionRej','session.room-permission-denied','_snapshotService','Disposable','_imageSourceCache','getSheetBlock','src','[SyncedState]:\x20received\x20rejection.','deepClone','state$','TOO_MANY_REQUESTS','BlockCipherMode','withCredentials','mixIn','_parse','params','HELLO','_changesetSessionId','rev','onRemoteRej','_lockTransition','PY_RUNTIME_SCRIPT_ERROR','onTransformRemoteChangesetByIMECache','_isPermissionRej','_incrementRevisionNumber','min','authzUrl','parseProtocolChangeset','RichTextEditingMutation','UNAUTHENTICATED','readAsDataURL','Error\x20on\x20receiving\x20event','ivSize','PERMISSION_DENIED','retryConnectingInterval','sid','_syncEditingCollabCursor','change$','patch','IUndoRedoService','updateMember','_getSendChangesetTimeout','image/bmp','resourceIDs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','transformMutationsWithChangeset','mutations','generateRandomId','getWorkbookSelections','MentionIoHttpService','_state','FileId','SOCKET_FAILED','LocaleService','_onRemoteRetry','takeUntil','function','UUID','LICENSE_IMPORT_SIZE_EXCEEDED','compute','words','slice','getImageSourceCache','getLatestCsReqIdBySid','_ENC_XFORM_MODE','_onRemoteChangeset','parse','_throwTelemetryCollaborationNewChangeset','APPLY_REJECT','reset','_memberService','CollaborationController','DEFAULT_COLLAB_WEB_SOCKET_URL','SheetPermissionInitController','LIVESHARE_REQUEST_HOST','/universer-api/oidc/authpage','HEARTBEAT_INTERVAL_KEY','_removeRoom','getActiveSheet','_snapshotServerService','then','repeat','closeSession','memberID','/universer-api/user/session-ticket','__creator','[PendingState]:\x20received\x20rejection.','ONLINE','HmacMD5','prototype','SEND_CHANGESET_TIMEOUT_KEY'];_0x5e30=function(){return _0x1d372b;};return _0x5e30();}for(let n=0x0;n<0x100;++n)G[_0x31ae88(0x4dd)]((n+0x100)[_0x31ae88(0x2d8)](0x10)['slice'](0x1));function hi(_0x5f34ca,_0x57251c=0x0){var _0x186211=_0x31ae88;return(G[_0x5f34ca[_0x57251c+0x0]]+G[_0x5f34ca[_0x57251c+0x1]]+G[_0x5f34ca[_0x57251c+0x2]]+G[_0x5f34ca[_0x57251c+0x3]]+'-'+G[_0x5f34ca[_0x57251c+0x4]]+G[_0x5f34ca[_0x57251c+0x5]]+'-'+G[_0x5f34ca[_0x57251c+0x6]]+G[_0x5f34ca[_0x57251c+0x7]]+'-'+G[_0x5f34ca[_0x57251c+0x8]]+G[_0x5f34ca[_0x57251c+0x9]]+'-'+G[_0x5f34ca[_0x57251c+0xa]]+G[_0x5f34ca[_0x57251c+0xb]]+G[_0x5f34ca[_0x57251c+0xc]]+G[_0x5f34ca[_0x57251c+0xd]]+G[_0x5f34ca[_0x57251c+0xe]]+G[_0x5f34ca[_0x57251c+0xf]])[_0x186211(0x505)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x15d31b=_0x31ae88;if(!Ue){if(typeof crypto>'u'||!crypto[_0x15d31b(0x50e)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x15d31b(0x50e)][_0x15d31b(0x364)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x31ae88(0x3bf)][_0x31ae88(0x364)](crypto),qe={'randomUUID':ui};function di(_0x2ab34f,_0xbb8fdd,_0x256b71){var _0x34246b=_0x31ae88,_0x5e48b8,_0x490972,_0x31ac71;if(qe['randomUUID']&&!_0x2ab34f)return qe[_0x34246b(0x3bf)]();_0x2ab34f=_0x2ab34f||{};const _0x44b056=(_0x31ac71=(_0x490972=_0x2ab34f[_0x34246b(0x3d3)])!=null?_0x490972:(_0x5e48b8=_0x2ab34f[_0x34246b(0x2b4)])==null?void 0x0:_0x5e48b8[_0x34246b(0x377)](_0x2ab34f))!=null?_0x31ac71:_i();if(_0x44b056[_0x34246b(0x2a4)]<0x10)throw new Error(_0x34246b(0x40e));return _0x44b056[0x6]=_0x44b056[0x6]&0xf|0x40,_0x44b056[0x8]=_0x44b056[0x8]&0x3f|0x80,hi(_0x44b056);}const z=a[_0x31ae88(0x27c)](_0x31ae88(0x48a));function vi(_0x2d941f){return'unit-cache-'+_0x2d941f;}var Si=Object[_0x31ae88(0x4cc)],fi=(_0x30fe97,_0x34b6a8,_0x5ba78e,_0x465c63)=>{for(var _0xad9311=_0x465c63>0x1?void 0x0:_0x465c63?Si(_0x34b6a8,_0x5ba78e):_0x34b6a8,_0x125ba5=_0x30fe97['length']-0x1,_0x1c0691;_0x125ba5>=0x0;_0x125ba5--)(_0x1c0691=_0x30fe97[_0x125ba5])&&(_0xad9311=_0x1c0691(_0xad9311)||_0xad9311);return _0xad9311;},Ae=(_0x247dae,_0x3caee0)=>(_0x27c0e0,_0x1ca201)=>_0x3caee0(_0x27c0e0,_0x1ca201,_0x247dae);function pi(_0x191625){var _0x721f9a=_0x31ae88;const {unitID:_0x236f39,mutations:_0x45712b}=_0x191625;return{'unitId':_0x236f39,'subUnitId':_0x45712b[0x0][_0x721f9a(0x2f3)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x2422e2,_0x1c890c,_0x3ead8f){var _0x2c291e=_0x31ae88;this['_injector']=_0x2422e2,this[_0x2c291e(0x4fe)]=_0x1c890c,this[_0x2c291e(0x37c)]=_0x3ead8f;}[_0x31ae88(0x344)](_0x450c22){var _0x53b4be=_0x31ae88,_0x228fc3,_0x577a6c,_0x586f81,_0x39b826;const _0x34cfde=this[_0x53b4be(0x3f7)][_0x53b4be(0x20c)](Z[_0x53b4be(0x359)]),{unitId:_0x5ab080,subUnitId:_0x58aecf}=pi(_0x450c22),_0x80ffb5=_0x34cfde==null?void 0x0:_0x34cfde[_0x53b4be(0x314)](_0x5ab080)[_0x53b4be(0x20b)](),_0x103e5e=(_0x577a6c=(_0x228fc3=this[_0x53b4be(0x37c)][_0x53b4be(0x29a)](_0x5ab080))==null?void 0x0:_0x228fc3[_0x53b4be(0x332)]())==null?void 0x0:_0x577a6c[_0x53b4be(0x2dd)]();if(_0x80ffb5[_0x53b4be(0x2a4)]===0x0||!_0x5ab080||!_0x58aecf)return;const _0x5bc687=[{'id':Z[_0x53b4be(0x27a)]['id'],'params':{'unitId':_0x5ab080,'subUnitId':_0x103e5e,'selections':a[_0x53b4be(0x38c)][_0x53b4be(0x2ec)](_0x80ffb5)}}],_0xa5cf16=this[_0x53b4be(0x4fe)][_0x53b4be(0x311)](_0x450c22,_0x5bc687);if(!g['isTransformMutationsWithChangesetSuccess'](_0xa5cf16))throw _0xa5cf16[_0x53b4be(0x4b2)];const _0x44a7dc=(_0x39b826=(_0x586f81=_0xa5cf16['m2Prime'][0x0])==null?void 0x0:_0x586f81[_0x53b4be(0x2f3)])==null?void 0x0:_0x39b826[_0x53b4be(0x3aa)];if(Array[_0x53b4be(0x475)](_0x44a7dc)&&_0x44a7dc[_0x53b4be(0x2a4)]){if(_0x44a7dc['length']===_0x5bc687[0x0]['params'][_0x53b4be(0x3aa)]['length']&&_0x44a7dc[_0x53b4be(0x3b5)]((_0x3f2672,_0xc889d6)=>a[_0x53b4be(0x282)][_0x53b4be(0x1f7)](_0x3f2672[_0x53b4be(0x2b1)],_0x5bc687[0x0][_0x53b4be(0x2f3)][_0x53b4be(0x3aa)][_0xc889d6]['range'])))return;this[_0x53b4be(0x3f7)][_0x53b4be(0x20c)](a[_0x53b4be(0x22d)])[_0x53b4be(0x3d9)](Z[_0x53b4be(0x27a)]['id'],{'unitId':_0x5ab080,'subUnitId':_0x103e5e,'selections':_0x44a7dc});}}},exports[_0x31ae88(0x486)]=fi([Ae(0x0,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),Ae(0x1,g[_0x31ae88(0x284)]),Ae(0x2,a['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier'](_0x31ae88(0x4bb));var Fe=(_0x19b86b=>(_0x19b86b[_0x19b86b[_0x31ae88(0x373)]=0x0]=_0x31ae88(0x373),_0x19b86b[_0x19b86b[_0x31ae88(0x36a)]=0x1]='OTHER_CLIENTS_EDITING',_0x19b86b))(Fe||{});const gi=new Set([Z[_0x31ae88(0x298)]['id']]);function ze(_0x9bcd93,_0x25152b,_0xe6b1ec,_0x1f9ed6,_0x5d434c){var _0xb9b608=_0x31ae88,_0x1a7b94,_0x20a969,_0xb12c05,_0x38176b;const _0x11dc2e=[];for(const _0x4c46e8 of _0x9bcd93)if(gi[_0xb9b608(0x368)](_0x4c46e8['id'])){if(_0x11dc2e[_0xb9b608(0x2a4)]>0x0)break;_0x11dc2e['push'](_0x4c46e8);break;}else _0x11dc2e[_0xb9b608(0x4dd)](_0x4c46e8);const _0x3cdec4=(_0x20a969=(_0x1a7b94=_0x5d434c['getCurrentUser']())==null?void 0x0:_0x1a7b94[_0xb9b608(0x418)])!=null?_0x20a969:'unknown',_0x5f2239=(_0x38176b=(_0xb12c05=_0x5d434c[_0xb9b608(0x3cb)]())==null?void 0x0:_0xb12c05['memberID'])!=null?_0x38176b:'unknown';return{'changeset':{'unitID':_0x25152b,'type':g[_0xb9b608(0x25f)](_0xe6b1ec[_0xb9b608(0x421)](_0x25152b)),'baseRev':_0x1f9ed6[_0xb9b608(0x2a2)](_0x25152b),'revision':0x0,'userID':_0x3cdec4,'memberID':_0x5f2239,'mutations':_0x11dc2e},'pendingMutations':_0x9bcd93[_0xb9b608(0x321)](_0x11dc2e[_0xb9b608(0x2a4)])};}function mi(_0x301b4b,_0x173b01,_0x438c2c,_0x57404b,_0xbe4cb2){var _0x38e11d=_0x31ae88,_0x2ac1a0,_0x47f943,_0x683392,_0x4f2286;const _0x5013b8=[_0x301b4b[_0x38e11d(0x4f8)]((_0x3ccfb9,_0xd80a0d)=>{var _0x59a8a8=_0x38e11d,_0x45b4d5;const {id:_0x107a07}=_0x3ccfb9,{id:_0xe341c7,type:_0x4d91f7}=_0xd80a0d,_0x2365b8=(_0x45b4d5=_0x3ccfb9[_0x59a8a8(0x2f3)])!=null?_0x45b4d5:{'actions':null},_0x3f3434=_0xd80a0d['params'];if(_0x107a07&&_0x107a07!==_0xe341c7)throw new Error(_0x59a8a8(0x4b0)+_0x107a07+_0x59a8a8(0x3ff)+_0xe341c7+'.');return{..._0x3ccfb9,'id':_0xe341c7,'type':_0x4d91f7,'params':{'unitId':_0x3f3434[_0x59a8a8(0x4fc)],'textRanges':_0x3f3434['textRanges'],'actions':a['JSONX'][_0x59a8a8(0x490)](_0x2365b8[_0x59a8a8(0x423)],_0x3f3434[_0x59a8a8(0x423)])}};},{})],_0x3f7b5c=(_0x47f943=(_0x2ac1a0=_0xbe4cb2[_0x38e11d(0x3cb)]())==null?void 0x0:_0x2ac1a0[_0x38e11d(0x418)])!=null?_0x47f943:_0x38e11d(0x3a0),_0x35b387=(_0x4f2286=(_0x683392=_0xbe4cb2[_0x38e11d(0x3cb)]())==null?void 0x0:_0x683392[_0x38e11d(0x337)])!=null?_0x4f2286:'unknown';return{'changeset':{'unitID':_0x173b01,'type':g[_0x38e11d(0x25f)](_0x438c2c[_0x38e11d(0x421)](_0x173b01)),'baseRev':_0x57404b[_0x38e11d(0x2a2)](_0x173b01),'revision':0x0,'userID':_0x3f7b5c,'memberID':_0x35b387,'mutations':_0x5013b8},'pendingMutations':[]};}function yt(_0x3d0e99,_0x3947f2){var _0x318174=_0x31ae88;const _0x4b471d=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x4b471d['next'](_0x3947f2),_0x3d0e99),_0x4b471d['asObservable']()[_0x318174(0x4cf)](j[_0x318174(0x24c)](0x1));}const Ii={'id':Z[_0x31ae88(0x3d0)]['id'],'type':a[_0x31ae88(0x221)]['MUTATION'],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x155cc5,_0x430f0b,_0xc1e3ec,_0x186918)=>{for(var _0x579f2a=_0x186918>0x1?void 0x0:_0x186918?Ei(_0x430f0b,_0xc1e3ec):_0x430f0b,_0x226c81=_0x155cc5['length']-0x1,_0x4ceb3c;_0x226c81>=0x0;_0x226c81--)(_0x4ceb3c=_0x155cc5[_0x226c81])&&(_0x579f2a=_0x4ceb3c(_0x579f2a)||_0x579f2a);return _0x579f2a;},w=(_0x5883e2,_0x32a853)=>(_0x17f464,_0x29a662)=>_0x32a853(_0x17f464,_0x29a662,_0x5883e2),Ve=(_0x12587e=>(_0x12587e[_0x31ae88(0x248)]='not_collab',_0x12587e[_0x31ae88(0x23d)]=_0x31ae88(0x3c8),_0x12587e[_0x31ae88(0x4d6)]=_0x31ae88(0x26f),_0x12587e['AWAITING']=_0x31ae88(0x28d),_0x12587e['AWAITING_WITH_PENDING']=_0x31ae88(0x34f),_0x12587e[_0x31ae88(0x469)]=_0x31ae88(0x41c),_0x12587e[_0x31ae88(0x3d5)]=_0x31ae88(0x414),_0x12587e[_0x31ae88(0x50f)]=_0x31ae88(0x250),_0x12587e))(Ve||{});const Nt=0xea60;class he{constructor(_0x3382e9,_0x1db5ee,_0x7c800b,_0x2f62f4,_0x420fd4,_0x167572,_0x8563be,_0x8407b3,_0x1a120f){var _0x8faccc=_0x31ae88;A(this,_0x8faccc(0x3b8),null),A(this,_0x8faccc(0x43b),[]),(this[_0x8faccc(0x1f0)]=_0x3382e9,this[_0x8faccc(0x3d6)]=_0x1db5ee,this[_0x8faccc(0x1f3)]=_0x420fd4,this['_commandService']=_0x167572,this[_0x8faccc(0x28b)]=_0x8563be,this[_0x8faccc(0x1d7)]=_0x8407b3,this['_localCacheService']=_0x1a120f,this[_0x8faccc(0x3b8)]=_0x7c800b,this[_0x8faccc(0x43b)]=_0x2f62f4);}['_checkMissing'](_0x372b34){var _0x4b7956=_0x31ae88;const _0x2fd03e=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x372b34[_0x4b7956(0x1cc)]>_0x2fd03e+0x1?(this[_0x4b7956(0x1f3)][_0x4b7956(0x2b6)]({'from':_0x2fd03e,'to':_0x372b34[_0x4b7956(0x1cc)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x36d2d1){var _0x36a923=_0x31ae88;this[_0x36a923(0x28b)][_0x36a923(0x2db)](this[_0x36a923(0x1f0)],_0x36d2d1);}[_0x31ae88(0x494)](_0x34dbd5){var _0x4ce625=_0x31ae88,_0x537979,_0x13e5a6;(_0x13e5a6=(_0x537979=this['_handler'])['onTransformSelections'])==null||_0x13e5a6[_0x4ce625(0x377)](_0x537979,_0x34dbd5);}[_0x31ae88(0x1f9)](_0x267b4c){var _0x2bcd7c=_0x31ae88,_0x2e7524,_0x320e0a;return(_0x320e0a=(_0x2e7524=this[_0x2bcd7c(0x1f3)])[_0x2bcd7c(0x290)])==null?void 0x0:_0x320e0a[_0x2bcd7c(0x377)](_0x2e7524,_0x267b4c);}[_0x31ae88(0x40a)](_0x16cd9b){var _0x240262=_0x31ae88,_0x516388,_0x33550b;return(_0x33550b=(_0x516388=this[_0x240262(0x1f3)])[_0x240262(0x3f0)])==null?void 0x0:_0x33550b[_0x240262(0x377)](_0x516388,_0x16cd9b);}['_transformRemoteChangesetByIMECache'](_0x337e7b){var _0x4a87a4=_0x31ae88,_0x2a6ebe,_0x509ecc,_0xe5b17c;return(_0xe5b17c=(_0x509ecc=(_0x2a6ebe=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x509ecc[_0x4a87a4(0x377)](_0x2a6ebe,_0x337e7b))!=null?_0xe5b17c:_0x337e7b;}['_transformRemoteChangesetByStateCache'](_0x59195e){var _0x51a9a9=_0x31ae88,_0x26b7ca,_0x107cbc,_0xcdb91e;return(_0xcdb91e=(_0x107cbc=(_0x26b7ca=this[_0x51a9a9(0x1f3)])[_0x51a9a9(0x465)])==null?void 0x0:_0x107cbc['call'](_0x26b7ca,_0x59195e))!=null?_0xcdb91e:_0x59195e;}[_0x31ae88(0x308)](_0x58109c){var _0x380845=_0x31ae88,_0x2cdb06,_0x493b9e;if(this[_0x380845(0x3d6)]===X[_0x380845(0x25d)]){const {unitID:_0x555c9b,mutations:_0x38e07e,memberID:_0x4a5dae}=_0x58109c,_0x21a295=_0x38e07e[0x0]['params'][_0x380845(0x352)];Array[_0x380845(0x475)](_0x21a295)&&_0x21a295[_0x380845(0x2a4)]>0x0&&((_0x493b9e=(_0x2cdb06=this['_handler'])[_0x380845(0x2d0)])==null||_0x493b9e['call'](_0x2cdb06,{'unitID':_0x555c9b,'memberID':_0x4a5dae,'textRanges':_0x21a295}));}}[_0x31ae88(0x491)](){var _0x247f1d=_0x31ae88,_0x140e01;(_0x140e01=this['_localCacheService'])==null||_0x140e01[_0x247f1d(0x237)](this[_0x247f1d(0x1f0)],this[_0x247f1d(0x3d6)],this[_0x247f1d(0x3b8)],this[_0x247f1d(0x43b)]);}['_getCurrentRevision'](){var _0x581a54=_0x31ae88;return this['_revisionService'][_0x581a54(0x2a2)](this[_0x581a54(0x1f0)]);}[_0x31ae88(0x2fc)](){var _0x2d0726=_0x31ae88;this[_0x2d0726(0x1d7)][_0x2d0726(0x422)](this[_0x2d0726(0x1f0)]);}[_0x31ae88(0x51b)](_0x4ec700){var _0x2eb5cf=_0x31ae88,_0x2a3758;let _0x161e0c=this[_0x2eb5cf(0x455)](_0x4ec700);_0x161e0c=this[_0x2eb5cf(0x35b)](_0x161e0c);const _0x4933e0=a[_0x2eb5cf(0x449)](_0x161e0c[_0x2eb5cf(0x312)],this[_0x2eb5cf(0x46e)],{'fromCollab':!0x0});if(!_0x4933e0[_0x2eb5cf(0x3f1)])throw _0x4933e0[_0x2eb5cf(0x4b2)]instanceof Error?_0x4933e0[_0x2eb5cf(0x4b2)]:new Error((_0x2a3758=_0x4933e0['error'])!=null?_0x2a3758:_0x2eb5cf(0x227));this['_transformIMECache'](_0x161e0c),this[_0x2eb5cf(0x40a)](_0x161e0c),this['_transformUndoredo'](_0x4ec700),this[_0x2eb5cf(0x494)](_0x161e0c),this[_0x2eb5cf(0x308)](_0x161e0c),this[_0x2eb5cf(0x2fc)]();}}exports[_0x31ae88(0x520)]=class extends he{constructor(_0xd82684,_0x4b5e09,_0x1560f5,_0x529980,_0x5a470c,_0x3e23eb,_0x1a9c93,_0x50c05f,_0x2c6eab,_0x584ef3){var _0x454da7=_0x31ae88;super(_0xd82684,_0x4b5e09,null,[],_0x1560f5,_0x1a9c93,_0x3e23eb,_0x529980,_0x584ef3),A(this,_0x454da7(0x1dd),_0x454da7(0x3c8)),(this[_0x454da7(0x3f7)]=_0x5a470c,this[_0x454da7(0x393)]=_0x50c05f,this[_0x454da7(0x4fe)]=_0x2c6eab,this['localCacheService']=_0x584ef3);}['appendMutation'](_0x14fabb){var _0x544366=_0x31ae88;const _0x2604a0=this[_0x544366(0x3f7)][_0x544366(0x483)](exports[_0x544366(0x519)],this[_0x544366(0x1f0)],this[_0x544366(0x3d6)],[_0x14fabb],this[_0x544366(0x1f3)]);return _0x2604a0['_schedule'](),_0x2604a0[_0x544366(0x491)](),_0x2604a0;}[_0x31ae88(0x297)](_0x301ceb){var _0x195766=_0x31ae88;if(this[_0x195766(0x4ad)](_0x301ceb))return this[_0x195766(0x3f7)][_0x195766(0x483)](exports[_0x195766(0x445)],this[_0x195766(0x1f0)],this[_0x195766(0x3d6)],null,[],null,[_0x301ceb],this[_0x195766(0x1f3)]);try{const _0x556697=this['_transformService'][_0x195766(0x311)](_0x301ceb,[Ii]);if(g[_0x195766(0x381)](_0x556697)){const {c1Prime:_0x5dd66d}=_0x556697;return this[_0x195766(0x51b)](_0x5dd66d),this;}throw _0x556697[_0x195766(0x4b2)];}catch(_0x18134a){return this[_0x195766(0x393)][_0x195766(0x4b2)](_0x18134a),this[_0x195766(0x1c1)](!0x1);}}[_0x31ae88(0x1c1)](_0x4741c1){var _0x4a42a7=_0x31ae88;return this[_0x4a42a7(0x3f7)][_0x4a42a7(0x483)](exports['ConflictState'],this[_0x4a42a7(0x1f0)],this['type'],null,[],this[_0x4a42a7(0x1f3)],_0x4741c1);}[_0x31ae88(0x294)](){var _0x1afcd6=_0x31ae88;throw new Error(_0x1afcd6(0x49c));}[_0x31ae88(0x2f7)](){var _0x35aafe=_0x31ae88;throw new Error(_0x35aafe(0x2eb));}['onRemoteRetry'](){return this;}[_0x31ae88(0x4f9)](){var _0x534035=_0x31ae88;return this[_0x534035(0x3f7)][_0x534035(0x483)](exports[_0x534035(0x234)],this[_0x534035(0x1f0)],this[_0x534035(0x3d6)],null,[],this['_handler']);}[_0x31ae88(0x2b7)](){return this;}[_0x31ae88(0x459)](){var _0x125d6f=_0x31ae88;throw new Error(_0x125d6f(0x270));}['fetchMiss'](){var _0x13240f=_0x31ae88;const _0x1a7248=this[_0x13240f(0x1d7)]['getCurrentRevOfUnit'](this[_0x13240f(0x1f0)]);return this[_0x13240f(0x1f3)][_0x13240f(0x2b6)]({'from':_0x1a7248,'to':0x0}),this[_0x13240f(0x3f7)][_0x13240f(0x483)](exports[_0x13240f(0x445)],this['unitID'],this['type'],null,[],null,[],this[_0x13240f(0x1f3)]);}},exports[_0x31ae88(0x520)]=ce([w(0x3,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0x4,a['Inject'](a[_0x31ae88(0x4b8)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x31ae88(0x22d)]),w(0x7,a['ILogService']),w(0x8,g[_0x31ae88(0x284)]),w(0x9,a[_0x31ae88(0x516)](z))],exports[_0x31ae88(0x520)]),exports[_0x31ae88(0x519)]=class extends he{constructor(_0x18f058,_0x590c6e,_0x2863f8,_0x30b7be,_0xf017d4,_0x1b0407,_0x181d48,_0x5d19fe,_0x2df824,_0x4fcbca,_0x389ebc,_0x538265,_0x31bb95,_0x236353){var _0xfcf8cb=_0x31ae88;super(_0x18f058,_0x590c6e,null,_0x2863f8,_0x30b7be,_0x2df824,_0x31bb95,_0x1b0407,_0x236353),A(this,_0xfcf8cb(0x1dd),'pending'),A(this,'_scheduleCompleteTimestamp',null),A(this,_0xfcf8cb(0x49f),null),(this['_injector']=_0xf017d4,this[_0xfcf8cb(0x32a)]=_0x181d48,this[_0xfcf8cb(0x393)]=_0x5d19fe,this['_configService']=_0x4fcbca,this[_0xfcf8cb(0x4fe)]=_0x389ebc,this[_0xfcf8cb(0x34b)]=_0x538265);}[_0x31ae88(0x25e)](_0x4353e9){var _0x5b3f7c=_0x31ae88;return this[_0x5b3f7c(0x43b)]['push'](_0x4353e9),this[_0x5b3f7c(0x491)](),this;}[_0x31ae88(0x297)](_0x27bb2f){var _0x31024d=_0x31ae88;if(this[_0x31024d(0x4ad)](_0x27bb2f))return this[_0x31024d(0x47f)](),this[_0x31024d(0x3f7)][_0x31024d(0x483)](exports[_0x31024d(0x445)],this[_0x31024d(0x1f0)],this[_0x31024d(0x3d6)],null,this['_pendingMutations'],null,[_0x27bb2f],this[_0x31024d(0x1f3)]);try{const _0x5d954b=this[_0x31024d(0x4fe)][_0x31024d(0x311)](_0x27bb2f,this[_0x31024d(0x43b)]);if(g[_0x31024d(0x381)](_0x5d954b)){const {c1Prime:_0xe381e4,m2Prime:_0x577ab9}=_0x5d954b;this['_executeRemoteChangeset'](_0xe381e4);const _0x2005ba=this[_0x31024d(0x3f7)][_0x31024d(0x483)](exports[_0x31024d(0x519)],this[_0x31024d(0x1f0)],this[_0x31024d(0x3d6)],_0x577ab9,this[_0x31024d(0x1f3)]);this[_0x31024d(0x47f)]();const _0x56f28c=new Date()['getTime'](),_0x2d30d0=this[_0x31024d(0x48c)]?Math[_0x31024d(0x468)](this['_scheduleCompleteTimestamp']-_0x56f28c,0x0):this[_0x31024d(0x30d)]();return _0x2005ba[_0x31024d(0x2d3)](_0x2d30d0),_0x2005ba;}throw _0x5d954b[_0x31024d(0x4b2)];}catch(_0xbc18d8){return this[_0x31024d(0x393)][_0x31024d(0x4b2)](_0xbc18d8),this[_0x31024d(0x1c1)](!0x1);}}[_0x31ae88(0x294)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x31ae88(0x2f7)](){var _0x423c6d=_0x31ae88;throw new Error(_0x423c6d(0x33a));}['onRemoteRetry'](){return this;}[_0x31ae88(0x4f9)](){var _0x4eb9a0=_0x31ae88;return this[_0x4eb9a0(0x47f)](),this[_0x4eb9a0(0x3f7)][_0x4eb9a0(0x483)](exports[_0x4eb9a0(0x234)],this[_0x4eb9a0(0x1f0)],this[_0x4eb9a0(0x3d6)],null,this['_pendingMutations'],this[_0x4eb9a0(0x1f3)]);}[_0x31ae88(0x2b7)](){return this;}['_schedule'](_0x51d30e){var _0x1958e1=_0x31ae88;const _0x13d93a=_0x51d30e!=null?_0x51d30e:this[_0x1958e1(0x30d)]();this[_0x1958e1(0x48c)]=new Date()[_0x1958e1(0x351)]()+_0x13d93a,this[_0x1958e1(0x49f)]=setTimeout(()=>{var _0x4e7a8e=_0x1958e1;this['_clearScheduledTask']();let _0x47030e=null;switch(this['type']){case X[_0x4e7a8e(0x1d1)]:{_0x47030e=ze(this[_0x4e7a8e(0x43b)],this[_0x4e7a8e(0x1f0)],this[_0x4e7a8e(0x34b)],this[_0x4e7a8e(0x1d7)],this[_0x4e7a8e(0x32a)]);break;}case X[_0x4e7a8e(0x25d)]:{this[_0x4e7a8e(0x43b)]['every'](_0x218e3b=>_0x218e3b['id']===ut[_0x4e7a8e(0x300)]['id'])?_0x47030e=mi(this[_0x4e7a8e(0x43b)],this[_0x4e7a8e(0x1f0)],this[_0x4e7a8e(0x34b)],this[_0x4e7a8e(0x1d7)],this['_memberService']):_0x47030e=ze(this[_0x4e7a8e(0x43b)],this[_0x4e7a8e(0x1f0)],this[_0x4e7a8e(0x34b)],this[_0x4e7a8e(0x1d7)],this[_0x4e7a8e(0x32a)]);break;}default:throw new Error(_0x4e7a8e(0x253)+this[_0x4e7a8e(0x3d6)]+_0x4e7a8e(0x343));}const {changeset:_0x2943c4,pendingMutations:_0x2f7fe4}=_0x47030e;this[_0x4e7a8e(0x1f3)][_0x4e7a8e(0x203)](_0x2943c4);const _0xdf4e3f=_0x2f7fe4[_0x4e7a8e(0x2a4)]?this[_0x4e7a8e(0x3f7)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x4e7a8e(0x3d6)],_0x2943c4,_0x2f7fe4,this['_handler'],void 0x0):this[_0x4e7a8e(0x3f7)]['createInstance'](exports[_0x4e7a8e(0x47d)],this[_0x4e7a8e(0x1f0)],this[_0x4e7a8e(0x3d6)],_0x2943c4,this['_handler']);_0xdf4e3f[_0x4e7a8e(0x491)](),this['_handler'][_0x4e7a8e(0x2c1)](this,_0xdf4e3f);},_0x13d93a);}['_getSendChangesetTimeout'](){var _0x26d647;const _0x16a26d=this['_configService']['getConfig'](Y);return(_0x26d647=_0x16a26d==null?void 0x0:_0x16a26d['sendChangesetTimeout'])!=null?_0x26d647:jt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x31ae88(0x47f)](){var _0x4d1431=_0x31ae88;this[_0x4d1431(0x49f)]!=null&&(clearTimeout(this[_0x4d1431(0x49f)]),this[_0x4d1431(0x49f)]=null);}[_0x31ae88(0x1c1)](_0x2370db){var _0x15db3a=_0x31ae88;return this[_0x15db3a(0x47f)](),this[_0x15db3a(0x3f7)][_0x15db3a(0x483)](exports[_0x15db3a(0x510)],this[_0x15db3a(0x1f0)],this['type'],null,this['_pendingMutations'],this[_0x15db3a(0x1f3)],_0x2370db);}},exports[_0x31ae88(0x519)]=ce([w(0x4,a['Inject'](a[_0x31ae88(0x4b8)])),w(0x5,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0x6,a[_0x31ae88(0x2a8)](exports[_0x31ae88(0x416)])),w(0x7,a[_0x31ae88(0x530)]),w(0x8,a[_0x31ae88(0x22d)]),w(0x9,a[_0x31ae88(0x1fb)]),w(0xa,g[_0x31ae88(0x284)]),w(0xb,a[_0x31ae88(0x37d)]),w(0xc,a[_0x31ae88(0x30b)]),w(0xd,a[_0x31ae88(0x516)](z))],exports[_0x31ae88(0x519)]),exports['AwaitingState']=class extends he{constructor(_0x4d4cdd,_0x269d4d,_0x2fbdc2,_0x12c33a,_0x36c79a,_0xfbfb19,_0x35a44b,_0x2035c3,_0x5edfe9,_0x4a6e3b,_0x546d27){var _0x21ef74=_0x31ae88;super(_0x4d4cdd,_0x269d4d,_0x2fbdc2,[],_0x12c33a,_0x35a44b,_0x4a6e3b,_0xfbfb19,_0x546d27),A(this,_0x21ef74(0x1dd),_0x21ef74(0x28d)),A(this,'_resendTimeout',0x0),A(this,_0x21ef74(0x2d5)),A(this,_0x21ef74(0x4b3)),(this[_0x21ef74(0x3f7)]=_0x36c79a,this['_logService']=_0x2035c3,this['_transformService']=_0x5edfe9);}[_0x31ae88(0x25e)](_0x4f1a2f){var _0x13a8be=_0x31ae88;this['_clearScheduledTask']();const _0xb2ecea=this['_injector'][_0x13a8be(0x483)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x13a8be(0x3d6)],this[_0x13a8be(0x3b8)],[_0x4f1a2f],this['_handler'],this['_resendTimer']);return _0xb2ecea[_0x13a8be(0x491)](),_0xb2ecea;}[_0x31ae88(0x297)](_0x4df77c){var _0x11ad5e=_0x31ae88;if(this[_0x11ad5e(0x4ad)](_0x4df77c))return this[_0x11ad5e(0x47f)](),this[_0x11ad5e(0x3f7)][_0x11ad5e(0x483)](exports[_0x11ad5e(0x445)],this['unitID'],this[_0x11ad5e(0x3d6)],this[_0x11ad5e(0x3b8)],[],null,[_0x4df77c],this['_handler']);try{const _0x24cf5c=this['_transformService'][_0x11ad5e(0x1d9)]([_0x4df77c],[this[_0x11ad5e(0x3b8)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x24cf5c)){const {c1Prime:_0x48e84f,c2Prime:_0x3a1aa5}=_0x24cf5c;this['_executeRemoteChangeset'](_0x48e84f[0x0]),_0x3a1aa5[0x0][_0x11ad5e(0x363)]=this[_0x11ad5e(0x41d)](),this[_0x11ad5e(0x47f)]();const _0x47dc18=this['_injector'][_0x11ad5e(0x483)](exports[_0x11ad5e(0x47d)],this[_0x11ad5e(0x1f0)],this[_0x11ad5e(0x3d6)],_0x3a1aa5[0x0],this[_0x11ad5e(0x1f3)]);return _0x47dc18[_0x11ad5e(0x491)](),_0x47dc18;}return this[_0x11ad5e(0x1c1)](!0x1);}catch(_0x108226){return this[_0x11ad5e(0x393)][_0x11ad5e(0x4b2)](_0x108226),this[_0x11ad5e(0x1c1)](!0x1);}}['onRemoteAck'](_0xee01ea){var _0x365993=_0x31ae88;this['_clearScheduledTask']();const _0x1aedf8=this[_0x365993(0x1d7)][_0x365993(0x2a2)](this[_0x365993(0x1f0)]);if(_0xee01ea[_0x365993(0x1cc)]<_0x1aedf8-0x1)return this;if(this[_0x365993(0x4ad)](_0xee01ea))return this[_0x365993(0x3f7)][_0x365993(0x483)](exports[_0x365993(0x445)],this[_0x365993(0x1f0)],this[_0x365993(0x3d6)],null,[],this['_awaitingChangeset'],[],this[_0x365993(0x1f3)]);this[_0x365993(0x2fc)]();const _0x1699be=this['_injector'][_0x365993(0x483)](exports['SyncedState'],this[_0x365993(0x1f0)],this['type'],this['_handler']);return _0x1699be[_0x365993(0x491)](),_0x1699be;}[_0x31ae88(0x2f7)](_0x3df344){var _0x59acd2=_0x31ae88;return this[_0x59acd2(0x1c1)](!!(_0x3df344!=null&&_0x3df344[_0x59acd2(0x2e4)]));}[_0x31ae88(0x390)](_0x59613d){var _0x1fe802=_0x31ae88;return this['_resendTimeout']>Nt?this[_0x1fe802(0x4f9)]():(this[_0x1fe802(0x2d5)]=yt(this['_resendTimeout'],{'timeout':this[_0x1fe802(0x4a7)],'reqId':_0x59613d[_0x1fe802(0x27d)]}),this[_0x1fe802(0x4b3)]=this[_0x1fe802(0x2d5)]['subscribe'](({reqId:_0x2d0c69,timeout:_0x497c0d})=>{this['_resendWithTimeout'](_0x2d0c69,_0x497c0d);}),this);}[_0x31ae88(0x4f9)](){var _0x4e10b4=_0x31ae88;return this[_0x4e10b4(0x47f)](),this['_injector'][_0x4e10b4(0x483)](exports['OfflineState'],this[_0x4e10b4(0x1f0)],this['type'],this['_awaitingChangeset'],[],this[_0x4e10b4(0x1f3)]);}[_0x31ae88(0x2b7)](){return this;}['resend'](){var _0x413045=_0x31ae88;this[_0x413045(0x1f3)][_0x413045(0x203)](this[_0x413045(0x3b8)]);}[_0x31ae88(0x1c1)](_0x40aa31){var _0x3bdea9=_0x31ae88;return this['_clearScheduledTask'](),this[_0x3bdea9(0x3f7)][_0x3bdea9(0x483)](exports[_0x3bdea9(0x510)],this[_0x3bdea9(0x1f0)],this[_0x3bdea9(0x3d6)],this[_0x3bdea9(0x3b8)],[],this[_0x3bdea9(0x1f3)],_0x40aa31);}[_0x31ae88(0x1ad)](_0x423b27,_0x36f393){var _0x365780=_0x31ae88,_0x4cdb44;_0x423b27===((_0x4cdb44=this[_0x365780(0x3b8)])==null?void 0x0:_0x4cdb44['reqId'])&&(this[_0x365780(0x459)](),this[_0x365780(0x4a7)]=_0x36f393===0x0?0x3e8:_0x36f393*0x2);}[_0x31ae88(0x47f)](){var _0x3b7ec5=_0x31ae88,_0x1e110a;(_0x1e110a=this[_0x3b7ec5(0x4b3)])==null||_0x1e110a[_0x3b7ec5(0x21c)](),this[_0x3b7ec5(0x4a7)]=0x0;}},exports[_0x31ae88(0x47d)]=ce([w(0x4,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),w(0x5,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0x6,a[_0x31ae88(0x22d)]),w(0x7,a[_0x31ae88(0x530)]),w(0x8,g[_0x31ae88(0x284)]),w(0x9,a[_0x31ae88(0x30b)]),w(0xa,a['Optional'](z))],exports[_0x31ae88(0x47d)]),exports['AwaitingWithPendingState']=class extends he{constructor(_0x1901cd,_0x4d2b1b,_0x275166,_0x314fb7,_0x3b7f1f,_0x2174e0,_0x51cd6b,_0x11767d,_0x2ba150,_0x416e10,_0x236185,_0x5db90d,_0x29e0e8){var _0x2fc6ee=_0x31ae88;super(_0x1901cd,_0x4d2b1b,_0x275166,_0x314fb7,_0x3b7f1f,_0x2ba150,_0x5db90d,_0x11767d,_0x29e0e8),A(this,'status',_0x2fc6ee(0x34f)),A(this,_0x2fc6ee(0x4a7),0x0),A(this,_0x2fc6ee(0x2d5)),A(this,_0x2fc6ee(0x4b3)),(this[_0x2fc6ee(0x3f7)]=_0x51cd6b,this['_logService']=_0x416e10,this[_0x2fc6ee(0x4fe)]=_0x236185,this['localCacheService']=_0x29e0e8,_0x2174e0&&(this[_0x2fc6ee(0x2d5)]=_0x2174e0,this[_0x2fc6ee(0x4b3)]=this[_0x2fc6ee(0x2d5)][_0x2fc6ee(0x280)](({reqId:_0x257547,timeout:_0x4dceb7})=>{this['_resendWithTimeout'](_0x257547,_0x4dceb7);})));}['appendMutation'](_0x59e6da){var _0x20c5de=_0x31ae88;return this[_0x20c5de(0x43b)][_0x20c5de(0x4dd)](_0x59e6da),this;}[_0x31ae88(0x297)](_0x4deec5){var _0x2b3b50=_0x31ae88;if(this['_checkMissing'](_0x4deec5))return this[_0x2b3b50(0x47f)](),this[_0x2b3b50(0x3f7)]['createInstance'](exports[_0x2b3b50(0x445)],this[_0x2b3b50(0x1f0)],this[_0x2b3b50(0x3d6)],this[_0x2b3b50(0x3b8)],this[_0x2b3b50(0x43b)],null,[_0x4deec5],this['_handler']);try{const _0x5c1b2b=this[_0x2b3b50(0x4fe)][_0x2b3b50(0x1d9)]([_0x4deec5],[this['_awaitingChangeset']],!0x1);if(g[_0x2b3b50(0x406)](_0x5c1b2b)){const {c1Prime:_0x222b2a,c2Prime:_0x26ed54}=_0x5c1b2b,_0x457900=this[_0x2b3b50(0x4fe)][_0x2b3b50(0x311)](_0x222b2a[0x0],this[_0x2b3b50(0x43b)]);if(g[_0x2b3b50(0x381)](_0x457900)){const {c1Prime:_0x2a3fb4,m2Prime:_0x483e73}=_0x457900;return this[_0x2b3b50(0x51b)](_0x2a3fb4),_0x26ed54[0x0][_0x2b3b50(0x363)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector'][_0x2b3b50(0x483)](exports[_0x2b3b50(0x3f8)],this['unitID'],this['type'],_0x26ed54[0x0],_0x483e73,this[_0x2b3b50(0x1f3)],void 0x0);}throw _0x457900[_0x2b3b50(0x4b2)];}throw _0x5c1b2b['error'];}catch(_0x2c61c3){return this[_0x2b3b50(0x393)][_0x2b3b50(0x4b2)](_0x2c61c3),this[_0x2b3b50(0x1c1)](!0x1);}}[_0x31ae88(0x294)](_0x541552){var _0x460383=_0x31ae88;if(this[_0x460383(0x47f)](),this[_0x460383(0x4ad)](_0x541552))return this[_0x460383(0x3f7)]['createInstance'](exports[_0x460383(0x445)],this[_0x460383(0x1f0)],this[_0x460383(0x3d6)],null,this['_pendingMutations'],this[_0x460383(0x3b8)],[],this[_0x460383(0x1f3)]);this['_incrementRevisionNumber']();const _0x4af529=this[_0x460383(0x3f7)][_0x460383(0x483)](exports['PendingState'],this['unitID'],this[_0x460383(0x3d6)],this[_0x460383(0x43b)],this[_0x460383(0x1f3)]);return _0x4af529[_0x460383(0x2d3)](),_0x4af529['_updateLocalCache'](),_0x4af529;}[_0x31ae88(0x2f7)](_0x33b28a){var _0x4f86d3=_0x31ae88;return this[_0x4f86d3(0x1c1)](!!(_0x33b28a!=null&&_0x33b28a[_0x4f86d3(0x2e4)]));}[_0x31ae88(0x390)](_0x467e35){var _0x3b7c47=_0x31ae88;return this[_0x3b7c47(0x4a7)]>Nt?this[_0x3b7c47(0x4f9)]():(this[_0x3b7c47(0x2d5)]=yt(this['_resendTimeout'],{'timeout':this[_0x3b7c47(0x4a7)],'reqId':_0x467e35[_0x3b7c47(0x27d)]}),this[_0x3b7c47(0x4b3)]=this[_0x3b7c47(0x2d5)][_0x3b7c47(0x280)](({reqId:_0x2506c5,timeout:_0x45e4fc})=>{var _0x407b49=_0x3b7c47;this[_0x407b49(0x1ad)](_0x2506c5,_0x45e4fc);}),this);}[_0x31ae88(0x4f9)](){var _0xb5298c=_0x31ae88;return this[_0xb5298c(0x47f)](),this[_0xb5298c(0x3f7)][_0xb5298c(0x483)](exports['OfflineState'],this[_0xb5298c(0x1f0)],this[_0xb5298c(0x3d6)],this[_0xb5298c(0x3b8)],this[_0xb5298c(0x43b)],this[_0xb5298c(0x1f3)]);}['toggleOnline'](){return this;}[_0x31ae88(0x459)](){var _0x382fe7=_0x31ae88;this['_handler'][_0x382fe7(0x203)](this[_0x382fe7(0x3b8)]);}[_0x31ae88(0x1c1)](_0x182e68){var _0x1bdcdd=_0x31ae88;return this['_clearScheduledTask'](),this[_0x1bdcdd(0x3f7)][_0x1bdcdd(0x483)](exports['ConflictState'],this[_0x1bdcdd(0x1f0)],this[_0x1bdcdd(0x3d6)],null,this[_0x1bdcdd(0x43b)],this[_0x1bdcdd(0x1f3)],_0x182e68);}[_0x31ae88(0x1ad)](_0x47a8d0,_0x184041){var _0x459d57=_0x31ae88,_0xedfce3;_0x47a8d0===((_0xedfce3=this[_0x459d57(0x3b8)])==null?void 0x0:_0xedfce3[_0x459d57(0x27d)])&&(this[_0x459d57(0x459)](),this[_0x459d57(0x4a7)]=_0x184041===0x0?0x3e8:_0x184041*0x2);}[_0x31ae88(0x47f)](){var _0x13b10c=_0x31ae88,_0x447060;(_0x447060=this[_0x13b10c(0x4b3)])==null||_0x447060[_0x13b10c(0x21c)](),this[_0x13b10c(0x4a7)]=0x0;}},exports[_0x31ae88(0x3f8)]=ce([w(0x6,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),w(0x7,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0x8,a[_0x31ae88(0x22d)]),w(0x9,a[_0x31ae88(0x530)]),w(0xa,g[_0x31ae88(0x284)]),w(0xb,a[_0x31ae88(0x30b)]),w(0xc,a[_0x31ae88(0x516)](z))],exports[_0x31ae88(0x3f8)]),exports[_0x31ae88(0x510)]=class extends he{constructor(_0x4f954f,_0x9e0b2,_0x2491e4,_0x2f556e,_0x5b0139,_0xd1de9=!0x1,_0x19c302,_0x867f2a,_0x40df7a,_0x28a5ec,_0x418706,_0x55918d,_0x4a2903){var _0x4a95c8=_0x31ae88;super(_0x4f954f,_0x9e0b2,_0x2491e4,_0x2f556e,_0x5b0139,_0x867f2a,_0x40df7a,_0x28a5ec,_0x4a2903),A(this,'status',_0x4a95c8(0x414)),(this[_0x4a95c8(0x2fb)]=_0xd1de9,this[_0x4a95c8(0x362)]=_0x19c302,this[_0x4a95c8(0x2c7)]=_0x418706,this[_0x4a95c8(0x41b)]=_0x55918d,this['localCacheService']=_0x4a2903,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x31ae88(0x25e)](){return this;}[_0x31ae88(0x297)](){return this;}[_0x31ae88(0x294)](){return this;}['onRemoteRej'](){return this;}[_0x31ae88(0x390)](){return this;}[_0x31ae88(0x4f9)](){return this;}[_0x31ae88(0x2b7)](){return this;}[_0x31ae88(0x459)](){var _0x424f97=_0x31ae88;throw new Error(_0x424f97(0x3fb));}[_0x31ae88(0x267)](){var _0x2c9a85=_0x31ae88,_0x162522;(_0x162522=this[_0x2c9a85(0x4af)])==null||_0x162522[_0x2c9a85(0x237)](this[_0x2c9a85(0x1f0)],this[_0x2c9a85(0x3d6)],null,[]);}[_0x31ae88(0x2af)](){var _0x1eeef2=_0x31ae88;this[_0x1eeef2(0x2fb)]?this['_collaborationUIEventService'][_0x1eeef2(0x21d)]({'id':Q['PERMISSION_DENIED']}):this[_0x1eeef2(0x41b)][_0x1eeef2(0x21d)]({'id':Q[_0x1eeef2(0x3d5)]});}[_0x31ae88(0x500)](){var _0x51942e=_0x31ae88;this['_permissionService'][_0x51942e(0x370)](new Z[(_0x51942e(0x47a))](this[_0x51942e(0x1f0)])['id'],!0x1);}},exports[_0x31ae88(0x510)]=ce([w(0x6,a[_0x31ae88(0x2a8)](a['IPermissionService'])),w(0x7,a[_0x31ae88(0x22d)]),w(0x8,a[_0x31ae88(0x30b)]),w(0x9,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0xa,a[_0x31ae88(0x2a8)](a['LocaleService'])),w(0xb,a[_0x31ae88(0x2a8)](te)),w(0xc,a[_0x31ae88(0x516)](z))],exports[_0x31ae88(0x510)]),exports['OfflineState']=class extends he{constructor(_0x220b01,_0x3c8e98,_0x523d7c,_0x1ca69d,_0xb97403,_0x1d66c4,_0x2d89f1,_0x9921ff,_0x4ee580,_0x47420b){var _0x2e1609=_0x31ae88;super(_0x220b01,_0x3c8e98,_0x523d7c,_0x1ca69d,_0xb97403,_0x9921ff,_0x4ee580,_0x2d89f1,_0x47420b),A(this,'status',_0x2e1609(0x250)),this[_0x2e1609(0x3f7)]=_0x1d66c4;}[_0x31ae88(0x25e)](_0x26e59e){var _0x50a864=_0x31ae88;return this['_pendingMutations']['push'](_0x26e59e),this[_0x50a864(0x491)](),this;}[_0x31ae88(0x297)](_0x5900b5){var _0x20a5b7=_0x31ae88;throw new Error(_0x20a5b7(0x207));}[_0x31ae88(0x294)](){var _0x3a101e=_0x31ae88;throw new Error(_0x3a101e(0x3dc));}[_0x31ae88(0x2f7)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x31ae88(0x390)](){return this;}[_0x31ae88(0x4f9)](){return this;}['toggleOnline'](){var _0x1fd390=_0x31ae88;const {_injector:_0x1b9a2b,_pendingMutations:_0x38c464,_awaitingChangeset:_0x9a433b,unitID:_0xaa916,_handler:_0x5cb31b,type:_0x12dbba}=this,_0x278182=Dt(_0x1b9a2b,_0xaa916,_0x12dbba,_0x9a433b,_0x38c464,_0x5cb31b);return _0x278182 instanceof exports['PendingState']?_0x278182[_0x1fd390(0x2d3)]():(_0x278182 instanceof exports[_0x1fd390(0x3f8)]||_0x278182 instanceof exports['AwaitingState'])&&_0x278182[_0x1fd390(0x459)](),_0x278182;}[_0x31ae88(0x459)](){var _0x3cff68=_0x31ae88;throw new Error(_0x3cff68(0x4de));}},exports[_0x31ae88(0x234)]=ce([w(0x5,a['Inject'](a[_0x31ae88(0x4b8)])),w(0x6,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0x7,a[_0x31ae88(0x22d)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Optional'](z))],exports[_0x31ae88(0x234)]),exports[_0x31ae88(0x445)]=class extends he{constructor(_0x48ea87,_0x1be42c,_0x2526b0,_0x5591a0,_0xab7fb6,_0x56f96e,_0x52febf,_0x4168d4,_0x4a2157,_0x466fe8,_0x52b892,_0x53ca73,_0x2fc079,_0x27e0b6){var _0x1268d1=_0x31ae88;super(_0x48ea87,_0x1be42c,_0x2526b0,_0x5591a0,_0x52febf,_0x52b892,_0x53ca73,_0x4a2157,_0x27e0b6),A(this,_0x1268d1(0x1dd),_0x1268d1(0x41c)),(this[_0x1268d1(0x40d)]=_0xab7fb6,this[_0x1268d1(0x4ab)]=_0x56f96e,this['_injector']=_0x4168d4,this['_logService']=_0x466fe8,this['_transformService']=_0x2fc079,this['localCacheService']=_0x27e0b6);}['onMissedChangesetFetched'](_0x8fcb0f){var _0x444111=_0x31ae88;try{const _0x23d3fe=[..._0x8fcb0f,...this[_0x444111(0x4ab)]],_0x505b93=[this['_awaitingChangeset']||this[_0x444111(0x40d)]][_0x444111(0x498)](_0x3b4532=>!!_0x3b4532);let _0x43d7a3,_0x50c4de;if(_0x505b93[_0x444111(0x2a4)]){const _0x450176=this['_transformService'][_0x444111(0x1d9)](_0x23d3fe,_0x505b93,!0x1);if(!g[_0x444111(0x406)](_0x450176))throw _0x450176[_0x444111(0x4b2)];_0x43d7a3=_0x450176[_0x444111(0x2b3)],_0x50c4de=_0x450176[_0x444111(0x1b1)];}else _0x43d7a3=_0x23d3fe,_0x50c4de=[];let _0x34b578=this[_0x444111(0x43b)];_0x43d7a3[_0x444111(0x38d)](_0x46a6e9=>{var _0x1086ef=_0x444111;let _0x5e3f16;if(_0x34b578[_0x1086ef(0x2a4)]){const _0x1f79a7=this['_transformService'][_0x1086ef(0x311)](_0x46a6e9,_0x34b578);if(!g[_0x1086ef(0x381)](_0x1f79a7))throw _0x1f79a7[_0x1086ef(0x4b2)];_0x5e3f16=_0x1f79a7['c1Prime'],_0x34b578=_0x1f79a7[_0x1086ef(0x2c4)];}else _0x5e3f16=_0x46a6e9;this[_0x1086ef(0x51b)](_0x5e3f16);}),this[_0x444111(0x40d)]&&this['_incrementRevisionNumber'](),this[_0x444111(0x3b8)]&&_0x50c4de[_0x444111(0x2a4)]&&(_0x50c4de[0x0][_0x444111(0x363)]=this['_getCurrentRevision']());let _0x589f38;if(this['_awaitingChangeset']&&_0x34b578[_0x444111(0x2a4)]!==0x0)_0x589f38=this[_0x444111(0x3f7)][_0x444111(0x483)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x444111(0x3d6)],_0x50c4de[0x0],_0x34b578,this[_0x444111(0x1f3)],void 0x0);else{if(this[_0x444111(0x3b8)]&&_0x34b578[_0x444111(0x2a4)]===0x0)_0x50c4de[0x0][_0x444111(0x363)]=this[_0x444111(0x41d)](),_0x589f38=this[_0x444111(0x3f7)]['createInstance'](exports[_0x444111(0x47d)],this[_0x444111(0x1f0)],this[_0x444111(0x3d6)],_0x50c4de[0x0],this[_0x444111(0x1f3)]);else{if(_0x34b578[_0x444111(0x2a4)]!==0x0){const _0x3a0817=this['_injector'][_0x444111(0x483)](exports['PendingState'],this[_0x444111(0x1f0)],this[_0x444111(0x3d6)],_0x34b578,this['_handler']);_0x3a0817[_0x444111(0x2d3)](),_0x589f38=_0x3a0817;}else _0x589f38=this[_0x444111(0x3f7)][_0x444111(0x483)](exports[_0x444111(0x520)],this[_0x444111(0x1f0)],this[_0x444111(0x3d6)],this[_0x444111(0x1f3)]);}}return _0x589f38[_0x444111(0x491)](),_0x589f38;}catch(_0x361e9f){return this[_0x444111(0x393)][_0x444111(0x4b2)](_0x444111(0x463),_0x444111(0x39c),_0x361e9f),this[_0x444111(0x3f7)][_0x444111(0x483)](exports[_0x444111(0x510)],this['unitID'],this[_0x444111(0x3d6)],this[_0x444111(0x3b8)],this[_0x444111(0x43b)],this[_0x444111(0x1f3)],!0x1);}}[_0x31ae88(0x459)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x4631b){var _0x49a6d1=_0x31ae88;return this['_pendingMutations'][_0x49a6d1(0x4dd)](_0x4631b),this;}[_0x31ae88(0x297)](_0x12c632){var _0x3b276e=_0x31ae88;return this[_0x3b276e(0x4ab)][_0x3b276e(0x4dd)](_0x12c632),this;}[_0x31ae88(0x294)](_0xe78ade){var _0x16b50f=_0x31ae88;if(this[_0x16b50f(0x3b8)])return this['_acknowledgedAwaitingChangeset']=this[_0x16b50f(0x3b8)],this['_awaitingChangeset']=null,this;throw new Error(_0x16b50f(0x1ea));}['onRemoteRej'](_0x599506){var _0x233bc5=_0x31ae88;return this[_0x233bc5(0x1c1)](!!(_0x599506!=null&&_0x599506[_0x233bc5(0x2e4)]));}[_0x31ae88(0x390)](){return this;}[_0x31ae88(0x4f9)](){var _0x2ba25b=_0x31ae88;return this[_0x2ba25b(0x3f7)]['createInstance'](exports[_0x2ba25b(0x234)],this[_0x2ba25b(0x1f0)],this[_0x2ba25b(0x3d6)],this[_0x2ba25b(0x3b8)],this['_pendingMutations'],this[_0x2ba25b(0x1f3)]);}['toggleOnline'](){return this;}['_onConflict'](_0x4d56d5){var _0x3b3b34=_0x31ae88;return this[_0x3b3b34(0x3f7)][_0x3b3b34(0x483)](exports[_0x3b3b34(0x510)],this[_0x3b3b34(0x1f0)],this[_0x3b3b34(0x3d6)],this[_0x3b3b34(0x3b8)],this[_0x3b3b34(0x43b)],this['_handler'],_0x4d56d5);}},exports[_0x31ae88(0x445)]=ce([w(0x7,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),w(0x8,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),w(0x9,a['ILogService']),w(0xa,a[_0x31ae88(0x22d)]),w(0xb,a[_0x31ae88(0x30b)]),w(0xc,g[_0x31ae88(0x284)]),w(0xd,a['Optional'](z))],exports['FetchingMissState']);function Dt(_0xf0ce5c,_0x3b560e,_0x18f135,_0x42ff05,_0xe8c0b,_0x53a402){var _0x1ba43f=_0x31ae88;return _0x42ff05&&_0xe8c0b[_0x1ba43f(0x2a4)]?_0xf0ce5c[_0x1ba43f(0x483)](exports['AwaitingWithPendingState'],_0x3b560e,_0x18f135,_0x42ff05,_0xe8c0b,_0x53a402,void 0x0):_0x42ff05?_0xf0ce5c['createInstance'](exports[_0x1ba43f(0x47d)],_0x3b560e,_0x18f135,_0x42ff05,_0x53a402):_0xe8c0b[_0x1ba43f(0x2a4)]?_0xf0ce5c['createInstance'](exports[_0x1ba43f(0x519)],_0x3b560e,_0x18f135,_0xe8c0b,_0x53a402):_0xf0ce5c[_0x1ba43f(0x483)](exports['SyncedState'],_0x3b560e,_0x18f135,_0x53a402);}var Ci=Object[_0x31ae88(0x4cc)],We=(_0x127b26,_0x2e20d5,_0x2b0655,_0x876a9)=>{var _0x71d809=_0x31ae88;for(var _0x3f322f=_0x876a9>0x1?void 0x0:_0x876a9?Ci(_0x2e20d5,_0x2b0655):_0x2e20d5,_0x4072c6=_0x127b26[_0x71d809(0x2a4)]-0x1,_0x518b06;_0x4072c6>=0x0;_0x4072c6--)(_0x518b06=_0x127b26[_0x4072c6])&&(_0x3f322f=_0x518b06(_0x3f322f)||_0x3f322f);return _0x3f322f;},$=(_0x414bca,_0x190eb6)=>(_0x4e80e5,_0x127ee6)=>_0x190eb6(_0x4e80e5,_0x127ee6,_0x414bca);exports[_0x31ae88(0x244)]=class extends a[_0x31ae88(0x2b5)]{constructor(_0x49562e,_0x478ad1,_0x2969be,_0x461fae,_0x4815bd,_0x2dbee9,_0x5c4f58,_0x1163be,_0x4771c8,_0x375eb3,_0x2f3d1f,_0x38a54f,_0x2e1964){var _0x359eec=_0x31ae88;super(),A(this,_0x359eec(0x2a9),new j['BehaviorSubject'](null)),A(this,_0x359eec(0x2ed),this[_0x359eec(0x2a9)][_0x359eec(0x3a1)]()),A(this,_0x359eec(0x316)),A(this,_0x359eec(0x400),!0x1),A(this,_0x359eec(0x2f5),''),A(this,_0x359eec(0x4d5),0x0),A(this,_0x359eec(0x4bf),this[_0x359eec(0x2ed)][_0x359eec(0x4cf)](j[_0x359eec(0x4ea)](_0x2b9c2a=>_0x2b9c2a?_0x2b9c2a[_0x359eec(0x1dd)]:Ve[_0x359eec(0x50f)]),j[_0x359eec(0x3be)](0x1))),A(this,_0x359eec(0x40f),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x359eec(0x1f0)]=_0x49562e,this[_0x359eec(0x4a2)]=_0x478ad1,this[_0x359eec(0x453)]=_0x2969be,this['_injector']=_0x461fae,this[_0x359eec(0x504)]=_0x4815bd,this[_0x359eec(0x2c7)]=_0x2dbee9,this[_0x359eec(0x1d7)]=_0x5c4f58,this[_0x359eec(0x518)]=_0x1163be,this['_logService']=_0x4771c8,this['_commandService']=_0x375eb3,this[_0x359eec(0x362)]=_0x2f3d1f,this[_0x359eec(0x4c3)]=_0x38a54f,this[_0x359eec(0x4af)]=_0x2e1964);}get[_0x31ae88(0x356)](){var _0x10bb17=_0x31ae88;return this[_0x10bb17(0x316)];}async[_0x31ae88(0x2de)](){var _0x4659a4=_0x31ae88;if(this[_0x4659a4(0x356)])throw new Error(_0x4659a4(0x245));await this[_0x4659a4(0x37e)]();}[_0x31ae88(0x4bd)](){var _0x41d034=_0x31ae88;return this[_0x41d034(0x400)]=!0x0,a[_0x41d034(0x258)](()=>{var _0x83a8eb=_0x41d034;this[_0x83a8eb(0x400)]=!0x1,this[_0x83a8eb(0x39f)]();});}[_0x31ae88(0x225)](_0x2701f5){var _0x258c84=_0x31ae88;this[_0x258c84(0x28c)](_0x2701f5);}['_updateState'](_0x393159){var _0x4dd9c3=_0x31ae88;this[_0x4dd9c3(0x316)]=_0x393159,this[_0x4dd9c3(0x2a9)][_0x4dd9c3(0x1e8)](_0x393159);}async[_0x31ae88(0x37e)](){var _0x47a38c=_0x31ae88,_0x49b2e6;this[_0x47a38c(0x43f)](await this[_0x47a38c(0x44e)]()),this['_singleActiveUnitService']&&((_0x49b2e6=this['_singleActiveUnitService'])==null||_0x49b2e6[_0x47a38c(0x1be)](this[_0x47a38c(0x1f0)]),this[_0x47a38c(0x2cc)](this[_0x47a38c(0x4c3)]['getUnitStatus$'](this[_0x47a38c(0x1f0)])['subscribe'](_0x5eaaa8=>{var _0x3f7e34=_0x47a38c;this[_0x3f7e34(0x393)]['debug'](_0x3f7e34(0x501),_0x3f7e34(0x349),_0x5eaaa8),_0x5eaaa8===Fe[_0x3f7e34(0x36a)]?(this['_eventService'][_0x3f7e34(0x21d)]({'id':Q[_0x3f7e34(0x40b)]}),this[_0x3f7e34(0x362)][_0x3f7e34(0x370)](new Z[(_0x3f7e34(0x47a))](this[_0x3f7e34(0x1f0)])['id'],!0x1),this[_0x3f7e34(0x362)]['setShowComponents'](!0x1)):(this[_0x3f7e34(0x362)]['updatePermissionPoint'](new Z[(_0x3f7e34(0x47a))](this[_0x3f7e34(0x1f0)])['id'],!0x0),this[_0x3f7e34(0x362)][_0x3f7e34(0x38a)](!0x0));})));let _0x175a09=!0x1;return this[_0x47a38c(0x2cc)](this[_0x47a38c(0x4a2)]['sessionStatus$'][_0x47a38c(0x280)](_0x2c2abc=>{var _0xe33699=_0x47a38c;_0x2c2abc===se['ONLINE']?this[_0xe33699(0x1e7)](_0x175a09):_0x2c2abc===se['OFFLINE']&&(_0x175a09=!0x0,this[_0xe33699(0x46b)]());})),this['disposeWithMe'](this['session'][_0x47a38c(0x1db)]['subscribe'](_0x385baa=>{var _0x5d8c8e=_0x47a38c;try{switch(_0x385baa[_0x5d8c8e(0x2b2)]){case g[_0x5d8c8e(0x502)][_0x5d8c8e(0x474)]:{this[_0x5d8c8e(0x325)](g[_0x5d8c8e(0x2ff)](_0x385baa['data']));break;}case g[_0x5d8c8e(0x502)][_0x5d8c8e(0x1c2)]:{this['_onRemoteACK'](_0x385baa[_0x5d8c8e(0x4ed)]);break;}case g[_0x5d8c8e(0x502)]['CHANGESET_REJ']:{this[_0x5d8c8e(0x21e)]();break;}case g[_0x5d8c8e(0x502)][_0x5d8c8e(0x42d)]:{this['_onRemoteRetry'](_0x385baa[_0x5d8c8e(0x4ed)]);break;}case g['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5d8c8e(0x3bb)](_0x385baa[_0x5d8c8e(0x4ed)]['changesets'][_0x5d8c8e(0x4ea)](_0x36445d=>g[_0x5d8c8e(0x2ff)](_0x36445d)));break;}case g[_0x5d8c8e(0x502)][_0x5d8c8e(0x3e4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x5d8c8e(0x502)][_0x5d8c8e(0x22b)]:break;}}catch(_0x5e9bf7){throw console['error'](_0x5d8c8e(0x303),_0x5e9bf7),_0x5e9bf7;}})),this['_state'];}[_0x31ae88(0x376)](){var _0x30c970=_0x31ae88;this[_0x30c970(0x40f)]=!0x1;}[_0x31ae88(0x2f8)](){var _0x15eb01=_0x31ae88;if(this[_0x15eb01(0x40f)])throw new Error(_0x15eb01(0x456));this[_0x15eb01(0x40f)]=!0x0;}['_onLocalMutation'](_0x27d9a1){var _0x5cd6fc=_0x31ae88;this['_lockTransition'](),this[_0x5cd6fc(0x43f)](this[_0x5cd6fc(0x316)][_0x5cd6fc(0x25e)](_0x27d9a1)),this[_0x5cd6fc(0x376)]();}[_0x31ae88(0x325)](_0x4d5353){var _0x125953=_0x31ae88;if(!(_0x4d5353[_0x125953(0x1cc)]<=this['_revisionService'][_0x125953(0x2a2)](this[_0x125953(0x1f0)]))){if(this[_0x125953(0x400)]){this['_remoteChangesetQueue']['push'](_0x4d5353);return;}this[_0x125953(0x4ec)](_0x4d5353);}}[_0x31ae88(0x39f)](){var _0x5e6e48=_0x31ae88;this[_0x5e6e48(0x4a8)][_0x5e6e48(0x38d)](_0x924eb9=>this[_0x5e6e48(0x4ec)](_0x924eb9)),this['_remoteChangesetQueue']=[];}[_0x31ae88(0x4ec)](_0x2c24b7){var _0x4df4c5=_0x31ae88;const _0x5c39de=this[_0x4df4c5(0x504)]['interceptor'][_0x4df4c5(0x425)](this['_compressMutationService'][_0x4df4c5(0x44f)][_0x4df4c5(0x4a4)]()['COMPRESS_MUTATION_APPLY'])(_0x2c24b7[_0x4df4c5(0x312)],null)||_0x2c24b7[_0x4df4c5(0x312)],_0x592c7b={..._0x2c24b7,'mutations':_0x5c39de};this[_0x4df4c5(0x2f8)](),this[_0x4df4c5(0x43f)](this['_state'][_0x4df4c5(0x297)](_0x592c7b)),this[_0x4df4c5(0x376)]();}[_0x31ae88(0x1e9)](_0x13684a){var _0xc62949=_0x31ae88;this[_0xc62949(0x2f8)](),this[_0xc62949(0x43f)](this['_state'][_0xc62949(0x294)](_0x13684a)),this[_0xc62949(0x376)]();}['_onRemoteRejected'](_0x3b3963){var _0x2cb5c0=_0x31ae88;this[_0x2cb5c0(0x2f8)](),this[_0x2cb5c0(0x43f)](this[_0x2cb5c0(0x316)][_0x2cb5c0(0x2f7)](_0x3b3963)),this[_0x2cb5c0(0x376)]();}[_0x31ae88(0x31a)](_0x41e285){var _0x87cf89=_0x31ae88;this['_lockTransition'](),this['_updateState'](this[_0x87cf89(0x316)][_0x87cf89(0x390)](_0x41e285)),this[_0x87cf89(0x376)]();}['_onFetchMissResult'](_0x42d65b){var _0x472521=_0x31ae88;if(!(this[_0x472521(0x316)]instanceof exports[_0x472521(0x445)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5cb007=_0x42d65b[_0x472521(0x4ea)](_0x3768e5=>{var _0xb2342e=_0x472521;const _0x18934d=this[_0xb2342e(0x504)][_0xb2342e(0x44f)][_0xb2342e(0x425)](this['_compressMutationService'][_0xb2342e(0x44f)][_0xb2342e(0x4a4)]()[_0xb2342e(0x4cd)])(_0x3768e5[_0xb2342e(0x312)],null)||_0x3768e5[_0xb2342e(0x312)];return{..._0x3768e5,'mutations':_0x18934d};});this[_0x472521(0x2f8)](),this[_0x472521(0x43f)](this[_0x472521(0x316)][_0x472521(0x526)](_0x5cb007)),this['_unlockTransition']();}['_toggleOffline'](){var _0x24c8f3=_0x31ae88;this[_0x24c8f3(0x2f8)](),this['_updateState'](this[_0x24c8f3(0x316)][_0x24c8f3(0x4f9)]()),this['_unlockTransition']();}[_0x31ae88(0x1e7)](_0x438044=!0x1){var _0x41d1d4=_0x31ae88;this[_0x41d1d4(0x2f8)](),this[_0x41d1d4(0x43f)](this[_0x41d1d4(0x316)][_0x41d1d4(0x2b7)]()),this['_unlockTransition']();const _0x37f39f=this[_0x41d1d4(0x316)];_0x438044&&_0x37f39f instanceof exports['SyncedState']&&(this[_0x41d1d4(0x2f8)](),this[_0x41d1d4(0x43f)](_0x37f39f[_0x41d1d4(0x27e)]()),this[_0x41d1d4(0x376)]());}async[_0x31ae88(0x44e)](){return new Promise(_0x18ce89=>{var _0x4853bd=_0x4038;this['session'][_0x4853bd(0x1f4)][_0x4853bd(0x4cf)](j[_0x4853bd(0x24c)](0x1))[_0x4853bd(0x280)](async _0x10b84e=>{var _0x5d34d2=_0x4853bd;_0x18ce89(await this[_0x5d34d2(0x214)](_0x10b84e===se[_0x5d34d2(0x33b)]));});});}[_0x31ae88(0x43c)](){var _0x16546f=_0x31ae88;const _0x493443=this[_0x16546f(0x1f0)];return{'onStateChange':(_0xf93dc,_0x3036ac)=>{var _0x1ad70e=_0x16546f;if(_0xf93dc!==this[_0x1ad70e(0x316)])throw new Error(_0x1ad70e(0x3ed)+_0xf93dc['status']+_0x1ad70e(0x202)+_0x3036ac[_0x1ad70e(0x1dd)]+_0x1ad70e(0x38e)+this[_0x1ad70e(0x316)][_0x1ad70e(0x1dd)]);this[_0x1ad70e(0x43f)](_0x3036ac);},'onSendChangeset':_0x4c7ff9=>{var _0x10e8ca=_0x16546f;_0x4c7ff9['sid']||(_0x4c7ff9['sid']=this[_0x10e8ca(0x2f5)],_0x4c7ff9['reqId']=++this[_0x10e8ca(0x4d5)]);const _0xb8287d={'eventID':g[_0x10e8ca(0x502)][_0x10e8ca(0x4a6)],'data':{'unitID':_0x4c7ff9[_0x10e8ca(0x1f0)],'unitType':this[_0x10e8ca(0x453)],'changeset':_0x4c7ff9,'memberID':this['session'][_0x10e8ca(0x4bc)]()}};this[_0x10e8ca(0x4a2)][_0x10e8ca(0x4ce)](_0xb8287d,this[_0x10e8ca(0x1f0)]);},'onMissingChangesets':({from:_0x282226,to:_0xb468b3})=>{var _0x18afc2=_0x16546f;this['_logService'][_0x18afc2(0x42f)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x282226+'\x20to\x20'+_0xb468b3);const _0x9ec4ac={'eventID':g[_0x18afc2(0x502)]['FETCH_MISSING'],'data':{'unitID':_0x493443,'unitType':this['_type'],'from':_0x282226,'to':_0xb468b3}};this[_0x18afc2(0x4a2)][_0x18afc2(0x4ce)](_0x9ec4ac,this[_0x18afc2(0x1f0)]);}};}async['_createInitialStateImpl'](_0x30f723){var _0x3b6dd0=_0x31ae88,_0x332347,_0x1c0477,_0x5096fc;const _0x161a41=await((_0x332347=this[_0x3b6dd0(0x4af)])==null?void 0x0:_0x332347['loadOfflineData'](this[_0x3b6dd0(0x1f0)])),_0x48b7dc=(_0x1c0477=_0x161a41==null?void 0x0:_0x161a41['mutations'])!=null?_0x1c0477:[],_0x512e66=(_0x5096fc=_0x161a41==null?void 0x0:_0x161a41[_0x3b6dd0(0x4d0)])!=null?_0x5096fc:null,_0xa853e5=!!(_0x512e66!=null&&_0x512e66[_0x3b6dd0(0x307)])&&!!(_0x512e66!=null&&_0x512e66[_0x3b6dd0(0x27d)]);this[_0x3b6dd0(0x2f5)]=_0xa853e5?_0x512e66[_0x3b6dd0(0x307)]:di(),this['_changesetReqId']=_0xa853e5?_0x512e66[_0x3b6dd0(0x27d)]:0x0;const _0x39a125=this[_0x3b6dd0(0x1f0)];try{this[_0x3b6dd0(0x3b0)](_0x512e66,_0x48b7dc);}catch(_0x2940c2){this[_0x3b6dd0(0x393)][_0x3b6dd0(0x4b2)](_0x2940c2);}const _0x26c9e0=this[_0x3b6dd0(0x43c)]();if(_0x30f723){const _0x48072f=Dt(this[_0x3b6dd0(0x3f7)],_0x39a125,this[_0x3b6dd0(0x453)],_0x512e66,_0x48b7dc,_0x26c9e0);return _0x48072f instanceof exports[_0x3b6dd0(0x519)]?_0x48072f[_0x3b6dd0(0x2d3)]():(_0x48072f instanceof exports[_0x3b6dd0(0x3f8)]||_0x48072f instanceof exports[_0x3b6dd0(0x47d)])&&_0x48072f[_0x3b6dd0(0x459)](),_0x48072f;}return this[_0x3b6dd0(0x3f7)][_0x3b6dd0(0x483)](exports[_0x3b6dd0(0x234)],_0x39a125,this['_type'],_0x512e66,_0x48b7dc,_0x26c9e0);}[_0x31ae88(0x3b0)](_0x3b30db,_0x4fcfbb){var _0x26f9b7=_0x31ae88,_0x199144,_0x43a5cc;const _0x2cee6d=this[_0x26f9b7(0x504)][_0x26f9b7(0x44f)][_0x26f9b7(0x425)](this[_0x26f9b7(0x504)]['interceptor']['getInterceptPoints']()[_0x26f9b7(0x4cd)]);(_0x199144=_0x2cee6d((_0x3b30db==null?void 0x0:_0x3b30db[_0x26f9b7(0x312)])||[],null))==null||_0x199144[_0x26f9b7(0x38d)](_0x249121=>this[_0x26f9b7(0x46e)][_0x26f9b7(0x3d9)](_0x249121['id'],_0x249121['params'])),(_0x43a5cc=_0x2cee6d(_0x4fcfbb||[],null))==null||_0x43a5cc[_0x26f9b7(0x38d)](_0x104759=>this['_commandService'][_0x26f9b7(0x3d9)](_0x104759['id'],_0x104759['params']));}},exports['CollaborationEntity']=We([$(0x3,a['Inject'](a[_0x31ae88(0x4b8)])),$(0x4,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x4e5)])),$(0x5,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x319)])),$(0x6,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x31ae88(0x530)]),$(0x9,a[_0x31ae88(0x22d)]),$(0xa,a[_0x31ae88(0x35e)]),$(0xb,a[_0x31ae88(0x516)](ve)),$(0xc,a['Optional'](z))],exports[_0x31ae88(0x244)]),exports['DocCollaborationEntity']=class extends exports[_0x31ae88(0x244)]{constructor(_0x58bf5e,_0xd11815,_0x58e018,_0x3566b8,_0x196d5a,_0x40a44f,_0x4c0d8d,_0x38ded0,_0x2be217,_0x5b17b8,_0x5c2d0b,_0x555071,_0x14e853){var _0x28b157=_0x31ae88;super(_0x58bf5e,_0x58e018,_0xd11815,_0x3566b8,_0x196d5a,_0x40a44f,_0x4c0d8d,_0x38ded0,_0x2be217,_0x5b17b8,_0x5c2d0b,_0x555071,_0x14e853),A(this,'_handlerCallback',null),(this['unitID']=_0x58bf5e,this[_0x28b157(0x3d6)]=_0xd11815);}['addHandlerCallback'](_0x43dcea){this['_handlerCallback']=_0x43dcea;}[_0x31ae88(0x3ac)](){var _0x4c2d70=_0x31ae88;this[_0x4c2d70(0x499)]=null,super['dispose']();}[_0x31ae88(0x43c)](){var _0x2c8d5e=_0x31ae88;const _0x5487c3=super[_0x2c8d5e(0x43c)]();return _0x5487c3['onTransformIME']=_0x277b4a=>{var _0x2431d7=_0x2c8d5e,_0x57adb1,_0x201387;return(_0x201387=(_0x57adb1=this['_handlerCallback'])==null?void 0x0:_0x57adb1[_0x2431d7(0x290)])==null?void 0x0:_0x201387['call'](_0x57adb1,_0x277b4a);},_0x5487c3[_0x2c8d5e(0x3f0)]=_0x201ef2=>{var _0x390809=_0x2c8d5e,_0x1f59e0,_0xf8aae6;return(_0xf8aae6=(_0x1f59e0=this[_0x390809(0x499)])==null?void 0x0:_0x1f59e0[_0x390809(0x3f0)])==null?void 0x0:_0xf8aae6[_0x390809(0x377)](_0x1f59e0,_0x201ef2);},_0x5487c3[_0x2c8d5e(0x493)]=_0x4749c0=>{var _0x36d84a=_0x2c8d5e,_0x13cacd,_0x549c25;return(_0x549c25=(_0x13cacd=this[_0x36d84a(0x499)])==null?void 0x0:_0x13cacd[_0x36d84a(0x493)])==null?void 0x0:_0x549c25['call'](_0x13cacd,_0x4749c0);},_0x5487c3[_0x2c8d5e(0x2d0)]=_0x232f34=>{var _0x3e9a68=_0x2c8d5e,_0x41c5e2,_0x2f1d87;return(_0x2f1d87=(_0x41c5e2=this[_0x3e9a68(0x499)])==null?void 0x0:_0x41c5e2[_0x3e9a68(0x2d0)])==null?void 0x0:_0x2f1d87[_0x3e9a68(0x377)](_0x41c5e2,_0x232f34);},_0x5487c3[_0x2c8d5e(0x2fa)]=_0x2b418c=>{var _0x3eb9b3=_0x2c8d5e,_0x582474,_0x19c445,_0x31631;if(!((_0x582474=this[_0x3eb9b3(0x499)])!=null&&_0x582474[_0x3eb9b3(0x2fa)]))throw new Error(_0x3eb9b3(0x415));return(_0x31631=(_0x19c445=this[_0x3eb9b3(0x499)])==null?void 0x0:_0x19c445[_0x3eb9b3(0x2fa)])==null?void 0x0:_0x31631[_0x3eb9b3(0x377)](_0x19c445,_0x2b418c);},_0x5487c3[_0x2c8d5e(0x465)]=_0x40d3c6=>{var _0x5a7ac2=_0x2c8d5e,_0x31f5ca,_0x2ae7da,_0x25879f;if(!((_0x31f5ca=this[_0x5a7ac2(0x499)])!=null&&_0x31f5ca[_0x5a7ac2(0x465)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x25879f=(_0x2ae7da=this['_handlerCallback'])==null?void 0x0:_0x2ae7da['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x25879f['call'](_0x2ae7da,_0x40d3c6);},_0x5487c3;}async[_0x31ae88(0x37e)](){var _0x173e7f=_0x31ae88;const _0x991b98=await super[_0x173e7f(0x37e)]();return this['disposeWithMe'](this[_0x173e7f(0x46e)][_0x173e7f(0x3dd)]((_0x56b121,_0x552de6)=>{var _0x5e5e5f=_0x173e7f;if(_0x56b121[_0x5e5e5f(0x3d6)]!==a[_0x5e5e5f(0x221)][_0x5e5e5f(0x2cd)]||_0x552de6!=null&&_0x552de6[_0x5e5e5f(0x3fa)]||_0x552de6!=null&&_0x552de6[_0x5e5e5f(0x3bc)]||_0x56b121['id']===ut[_0x5e5e5f(0x300)]['id'])return;const _0x214678=_0x56b121[_0x5e5e5f(0x2f3)];if((_0x214678==null?void 0x0:_0x214678[_0x5e5e5f(0x4fc)])!==this[_0x5e5e5f(0x1f0)])return;const _0x283c99=_0x56b121,_0x2d2f45=this['_compressMutationService']['interceptor'][_0x5e5e5f(0x425)](this[_0x5e5e5f(0x504)][_0x5e5e5f(0x44f)][_0x5e5e5f(0x4a4)]()[_0x5e5e5f(0x42b)])([_0x283c99],null)||[_0x283c99];this[_0x5e5e5f(0x28c)](_0x2d2f45[0x0]);})),_0x991b98;}},exports['DocCollaborationEntity']=We([$(0x3,a['Inject'](a['Injector'])),$(0x4,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x4e5)])),$(0x5,a[_0x31ae88(0x2a8)](a['LocaleService'])),$(0x6,a[_0x31ae88(0x2a8)](g['RevisionService'])),$(0x7,a[_0x31ae88(0x2a8)](te)),$(0x8,a['ILogService']),$(0x9,a['ICommandService']),$(0xa,a[_0x31ae88(0x35e)]),$(0xb,a[_0x31ae88(0x516)](ve)),$(0xc,a[_0x31ae88(0x516)](z))],exports[_0x31ae88(0x46d)]),exports[_0x31ae88(0x407)]=class extends exports[_0x31ae88(0x244)]{constructor(_0x201bdd,_0x5c174a,_0x4b4e4b,_0x2bafb9,_0x310812,_0x339c7b,_0x1d0374,_0x4ff43a,_0x3d4a9f,_0x113203,_0x38323c,_0x1ffc1f,_0x5637aa,_0x3925d3){var _0x27e98c=_0x31ae88;super(_0x201bdd,_0x4b4e4b,_0x5c174a,_0x2bafb9,_0x310812,_0x339c7b,_0x1d0374,_0x3d4a9f,_0x113203,_0x38323c,_0x1ffc1f,_0x5637aa,_0x3925d3),this[_0x27e98c(0x1f0)]=_0x201bdd,this[_0x27e98c(0x3d6)]=_0x5c174a,this[_0x27e98c(0x45f)]=_0x4ff43a;}['_createHandler'](){var _0x43c68a=_0x31ae88;const _0x9946ba=super[_0x43c68a(0x43c)]();return _0x9946ba[_0x43c68a(0x493)]=_0x590513=>this[_0x43c68a(0x45f)][_0x43c68a(0x344)](_0x590513),_0x9946ba;}async[_0x31ae88(0x37e)](){var _0xc62520=_0x31ae88;const _0x3995e8=await super[_0xc62520(0x37e)]();return this[_0xc62520(0x2cc)](this['_commandService']['onCommandExecuted']((_0x582472,_0x522d36)=>{var _0x53d809=_0xc62520;if(_0x582472[_0x53d809(0x3d6)]!==a[_0x53d809(0x221)]['MUTATION']||_0x522d36!=null&&_0x522d36['fromCollab']||_0x522d36!=null&&_0x522d36[_0x53d809(0x3bc)])return;const _0x578d42=_0x582472['params'];if((_0x578d42==null?void 0x0:_0x578d42[_0x53d809(0x4fc)])!==this[_0x53d809(0x1f0)])return;const _0x5265f6=_0x582472,_0x33b4b5=this[_0x53d809(0x504)][_0x53d809(0x44f)][_0x53d809(0x425)](this[_0x53d809(0x504)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5265f6],null)||[_0x5265f6];this[_0x53d809(0x28c)](_0x33b4b5[0x0]);})),_0x3995e8;}},exports[_0x31ae88(0x407)]=We([$(0x3,a[_0x31ae88(0x2a8)](a['Injector'])),$(0x4,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x4e5)])),$(0x5,a[_0x31ae88(0x2a8)](a['LocaleService'])),$(0x6,a[_0x31ae88(0x2a8)](g[_0x31ae88(0x2a0)])),$(0x7,a[_0x31ae88(0x2a8)](exports[_0x31ae88(0x486)])),$(0x8,a[_0x31ae88(0x2a8)](te)),$(0x9,a[_0x31ae88(0x530)]),$(0xa,a[_0x31ae88(0x22d)]),$(0xb,a[_0x31ae88(0x35e)]),$(0xc,a[_0x31ae88(0x516)](ve)),$(0xd,a['Optional'](z))],exports[_0x31ae88(0x407)]);var Ti=Object[_0x31ae88(0x4cc)],bi=(_0x1dc467,_0x15af87,_0x5ea22e,_0x4d68b5)=>{var _0xa25d99=_0x31ae88;for(var _0x20f2d7=_0x4d68b5>0x1?void 0x0:_0x4d68b5?Ti(_0x15af87,_0x5ea22e):_0x15af87,_0x540cb8=_0x1dc467[_0xa25d99(0x2a4)]-0x1,_0x4a9e3b;_0x540cb8>=0x0;_0x540cb8--)(_0x4a9e3b=_0x1dc467[_0x540cb8])&&(_0x20f2d7=_0x4a9e3b(_0x20f2d7)||_0x20f2d7);return _0x20f2d7;},Pe=(_0x4d3fc9,_0x514d64)=>(_0xb095,_0x15e163)=>_0x514d64(_0xb095,_0x15e163,_0x4d3fc9);exports[_0x31ae88(0x32b)]=class extends a[_0x31ae88(0x2b5)]{constructor(_0xda9668,_0x453a61,_0xe6981e){var _0x43c488=_0x31ae88;super(),A(this,_0x43c488(0x51c),new Map()),A(this,_0x43c488(0x2d1),new j['Subject']()),A(this,'entityInit$',this['_entityInit$'][_0x43c488(0x3a1)]()),(this['_injector']=_0xda9668,this[_0x43c488(0x3a3)]=_0x453a61,this[_0x43c488(0x34b)]=_0xe6981e,this[_0x43c488(0x37e)]());}[_0x31ae88(0x3ac)](){var _0x5d0b1d=_0x31ae88;super[_0x5d0b1d(0x3ac)](),this[_0x5d0b1d(0x51c)][_0x5d0b1d(0x38d)](_0x209d8c=>_0x209d8c['dispose']()),this[_0x5d0b1d(0x51c)][_0x5d0b1d(0x3e9)]();}[_0x31ae88(0x2c5)](_0x505205){var _0x169b67=_0x31ae88,_0x1eceb4;return(_0x1eceb4=this[_0x169b67(0x51c)][_0x169b67(0x20c)](_0x505205))!=null?_0x1eceb4:null;}[_0x31ae88(0x342)](_0x5c5a10){var _0x191053=_0x31ae88;const _0x1b7e79=this[_0x191053(0x2c5)](_0x5c5a10);return _0x1b7e79?j['of'](_0x1b7e79):this[_0x191053(0x2d1)][_0x191053(0x4cf)](V['filter'](_0x36fb93=>_0x36fb93[_0x191053(0x1f0)]===_0x5c5a10));}[_0x31ae88(0x51d)](_0x485e06){var _0x57472f=_0x31ae88;return j['firstValueFrom'](this[_0x57472f(0x342)](_0x485e06)[_0x57472f(0x4cf)](V['map'](()=>{})));}[_0x31ae88(0x37e)](){var _0x37f7c8=_0x31ae88;this[_0x37f7c8(0x34b)][_0x37f7c8(0x28a)](a[_0x37f7c8(0x3af)][_0x37f7c8(0x1d1)])[_0x37f7c8(0x4cf)](j['takeUntil'](this[_0x37f7c8(0x286)]),V[_0x37f7c8(0x1e0)](0x10))[_0x37f7c8(0x280)](async _0x40c3ac=>{var _0x1ea8f8=_0x37f7c8;const _0x5d6a44=_0x40c3ac[_0x1ea8f8(0x291)](),_0x5702b2=await this['_startCollaboration'](_0x5d6a44,X[_0x1ea8f8(0x1d1)]);this[_0x1ea8f8(0x51c)][_0x1ea8f8(0x3cf)](_0x5d6a44,_0x5702b2);}),this[_0x37f7c8(0x34b)][_0x37f7c8(0x28a)](a['UniverInstanceType'][_0x37f7c8(0x25d)])[_0x37f7c8(0x4cf)](j['takeUntil'](this[_0x37f7c8(0x286)]),V[_0x37f7c8(0x1e0)](0x10))[_0x37f7c8(0x4cf)](V[_0x37f7c8(0x498)](_0x9ab9b3=>!_0x9ab9b3['getUnitId']()[_0x37f7c8(0x4b4)]('__')))[_0x37f7c8(0x280)](async _0x1cb5bf=>{var _0x4cb660=_0x37f7c8;const _0x5cac45=_0x1cb5bf[_0x4cb660(0x291)](),_0x3ef127=await this[_0x4cb660(0x375)](_0x5cac45,X[_0x4cb660(0x25d)]);this[_0x4cb660(0x51c)][_0x4cb660(0x3cf)](_0x5cac45,_0x3ef127);}),j[_0x37f7c8(0x3df)](this[_0x37f7c8(0x34b)][_0x37f7c8(0x24b)](a['UniverInstanceType'][_0x37f7c8(0x1d1)]),this[_0x37f7c8(0x34b)][_0x37f7c8(0x24b)](a['UniverInstanceType'][_0x37f7c8(0x25d)]))['pipe'](j[_0x37f7c8(0x31b)](this[_0x37f7c8(0x286)]))[_0x37f7c8(0x280)](_0x2d8512=>{var _0x2ea271=_0x37f7c8;const _0x20a3d6=_0x2d8512[_0x2ea271(0x291)](),_0x8b3dfc=this['_entities'][_0x2ea271(0x20c)](_0x20a3d6);_0x8b3dfc&&(_0x8b3dfc[_0x2ea271(0x3ac)](),this[_0x2ea271(0x51c)][_0x2ea271(0x1df)](_0x20a3d6));});}async['_startCollaboration'](_0x1da063,_0x503f98){var _0xa39ca9=_0x31ae88;const _0x381ae1=await this[_0xa39ca9(0x3a3)]['requireSession'](_0x1da063),_0x535916=this[_0xa39ca9(0x3f7)][_0xa39ca9(0x483)](this[_0xa39ca9(0x238)](_0x503f98),_0x1da063,_0x503f98,_0x381ae1);return await _0x535916['init'](),this[_0xa39ca9(0x2d1)]['next'](_0x535916),_0x535916;}[_0x31ae88(0x238)](_0x5323df){var _0x211558=_0x31ae88;switch(_0x5323df){case X['UNIVER_DOC']:return exports[_0x211558(0x46d)];case X[_0x211558(0x1d1)]:return exports[_0x211558(0x407)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5323df);}}},exports[_0x31ae88(0x32b)]=bi([Pe(0x0,a[_0x31ae88(0x2a8)](a['Injector'])),Pe(0x1,a['Inject'](exports[_0x31ae88(0x27f)])),Pe(0x2,a[_0x31ae88(0x37d)])],exports[_0x31ae88(0x32b)]);var Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x28a5f1,_0x5c8737,_0x3b5030,_0x19f684)=>{var _0x20a0e1=_0x31ae88;for(var _0x5e2c7a=_0x19f684>0x1?void 0x0:_0x19f684?Ri(_0x5c8737,_0x3b5030):_0x5c8737,_0x1d47e7=_0x28a5f1[_0x20a0e1(0x2a4)]-0x1,_0x1836a3;_0x1d47e7>=0x0;_0x1d47e7--)(_0x1836a3=_0x28a5f1[_0x1d47e7])&&(_0x5e2c7a=_0x1836a3(_0x5e2c7a)||_0x5e2c7a);return _0x5e2c7a;},Je=(_0x4fbf0e,_0x5e4e19)=>(_0x4d9ec2,_0x420a73)=>_0x5e4e19(_0x4d9ec2,_0x420a73,_0x4fbf0e);const yi=_0x31ae88(0x450),Ni=_0x31ae88(0x236);let He=class extends a[_0x31ae88(0x2e7)]{constructor(_0x4912c0,_0x2b312b){var _0x1d6749=_0x31ae88;super(),this[_0x1d6749(0x34b)]=_0x4912c0,this[_0x1d6749(0x403)]=_0x2b312b,this[_0x1d6749(0x37e)]();}[_0x31ae88(0x37e)](){var _0x280aab=_0x31ae88;this[_0x280aab(0x2cc)](this[_0x280aab(0x34b)][_0x280aab(0x3e5)][_0x280aab(0x280)](()=>{var _0x1f81bc=_0x280aab,_0x8e9141;const _0x2794e1=this[_0x1f81bc(0x34b)][_0x1f81bc(0x4c7)]();let _0x242eed=(_0x8e9141=this[_0x1f81bc(0x403)]['getConfig'](yi))!=null?_0x8e9141:Ni;_0x2794e1 instanceof a['Workbook']&&(_0x242eed=_0x2794e1[_0x1f81bc(0x220)]),document[_0x1f81bc(0x252)]=_0x242eed;}));}};He=Oi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x31ae88(0x4cc)],Ui=(_0x2cbe60,_0x54b161,_0x38b3c1,_0x222415)=>{for(var _0x160b14=_0x222415>0x1?void 0x0:_0x222415?Di(_0x54b161,_0x38b3c1):_0x54b161,_0x127921=_0x2cbe60['length']-0x1,_0x659241;_0x127921>=0x0;_0x127921--)(_0x659241=_0x2cbe60[_0x127921])&&(_0x160b14=_0x659241(_0x160b14)||_0x160b14);return _0x160b14;},we=(_0x56119d,_0x371110)=>(_0x556551,_0x4e0e0e)=>_0x371110(_0x556551,_0x4e0e0e,_0x56119d);let ye=class{constructor(_0x25f6fc,_0xafa0b4,_0x1c7b19){var _0x34f2fd=_0x31ae88;this[_0x34f2fd(0x403)]=_0x25f6fc,this[_0x34f2fd(0x2ba)]=_0xafa0b4,this[_0x34f2fd(0x1ca)]=_0x1c7b19,this[_0x34f2fd(0x2de)]();}[_0x31ae88(0x2de)](){var _0x33ea00=_0x31ae88;this['_httpService'][_0x33ea00(0x371)]({'priority':0x1,'interceptor':(_0x1a50dc,_0x5c1020)=>_0x5c1020(_0x1a50dc)[_0x33ea00(0x4cf)](j['concatMap'](async _0x571cc3=>{var _0x130ecd=_0x33ea00;const _0x2bb40d=_0x571cc3;if(_0x2bb40d[_0x130ecd(0x1dd)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x130ecd(0x429)](this[_0x130ecd(0x1ca)]['t'](_0x130ecd(0x443)))){const _0x44fb03=window[_0x130ecd(0x446)](window[_0x130ecd(0x482)][_0x130ecd(0x3eb)]);window[_0x130ecd(0x482)][_0x130ecd(0x3eb)]=this['_getLoginPath']()+'?url='+_0x44fb03;}}return _0x2bb40d;}))});}[_0x31ae88(0x241)](){var _0xd93360=_0x31ae88,_0x25e0f4,_0xf80214;const _0x24d62c=this[_0xd93360(0x403)][_0xd93360(0x428)](Et),_0x15deff=this[_0xd93360(0x403)][_0xd93360(0x428)](Y);return(_0xf80214=(_0x25e0f4=_0x15deff==null?void 0x0:_0x15deff[_0xd93360(0x52c)])!=null?_0x25e0f4:_0x24d62c)!=null?_0xf80214:Yt;}};ye=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x31ae88(0x2a8)](q[_0x31ae88(0x1fd)])),we(0x2,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x319)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x5b833c,_0x30ff31,_0x187b22,_0x4bb2a7)=>{for(var _0x15c6a8=_0x4bb2a7>0x1?void 0x0:_0x4bb2a7?Ai(_0x30ff31,_0x187b22):_0x30ff31,_0x6b50af=_0x5b833c['length']-0x1,_0x325a0e;_0x6b50af>=0x0;_0x6b50af--)(_0x325a0e=_0x5b833c[_0x6b50af])&&(_0x15c6a8=_0x325a0e(_0x15c6a8)||_0x15c6a8);return _0x15c6a8;},Xe=(_0x6a41f6,_0x28b325)=>(_0x1f8676,_0x2ac47c)=>_0x28b325(_0x1f8676,_0x2ac47c,_0x6a41f6);const Ge=_0x31ae88(0x26a),wi=_0x31ae88(0x35d);exports[_0x31ae88(0x274)]=class extends a[_0x31ae88(0x2e7)]{constructor(_0x45b1d4,_0x39d6f9){var _0x114f0b=_0x31ae88;super(),this[_0x114f0b(0x24a)]=_0x45b1d4,this['_configService']=_0x39d6f9,this[_0x114f0b(0x378)]();}['_initMergeInterceptor'](){var _0x4a8631=_0x31ae88;const _0x3b925e=this;this[_0x4a8631(0x2cc)](this[_0x4a8631(0x24a)][_0x4a8631(0x371)]({'priority':0x3e7,'interceptor':q[_0x4a8631(0x2ad)]({'isMatch'(_0x5dcd0d){var _0x4d4b76=_0x4a8631,_0x17626b;if(_0x5dcd0d['method']===_0x4d4b76(0x29d)&&((_0x17626b=_0x5dcd0d[_0x4d4b76(0x26e)])!=null&&_0x17626b[_0x4d4b76(0x1f2)])){const {objectID:_0x1444b2,objectType:_0x15552e}=_0x5dcd0d[_0x4d4b76(0x26e)][_0x4d4b76(0x1f2)]||{};if(!_0x1444b2||_0x15552e===void 0x0)return!0x1;const _0x587718=_0x3b925e[_0x4d4b76(0x1c7)]()+'/'+_0x15552e+_0x4d4b76(0x384)+_0x1444b2+_0x4d4b76(0x399);if(_0x5dcd0d[_0x4d4b76(0x50c)]===_0x587718)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x10ac51){var _0x5a6dd0=_0x4a8631,_0x57d150;return(_0x57d150=_0x10ac51[_0x5a6dd0(0x26e)])==null?void 0x0:_0x57d150[_0x5a6dd0(0x1f2)];},'mergeParamsToRequest'(_0x421390,_0x5c4a79){var _0x2a3695=_0x4a8631;const _0x1f3b4e=_0x3b925e['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x135214=_0x421390[_0x2a3695(0x4f8)]((_0x3b8140,_0x464f94)=>{var _0x580268=_0x2a3695;const {unitID:_0x53cf9c,objectID:_0x489349,objectType:_0x42475e,actions:_0xe145b8}=_0x464f94;return _0x3b8140[_0x53cf9c]||(_0x3b8140[_0x53cf9c]={}),_0x3b8140[_0x53cf9c][_0x489349]||(_0x3b8140[_0x53cf9c][_0x489349]={'objectID':_0x489349,'objectType':_0x42475e,'actions':[]}),_0x3b8140[_0x53cf9c][_0x489349][_0x580268(0x423)][_0x580268(0x4dd)](..._0xe145b8),_0x3b8140;},{}),_0x142b30=[];for(const _0x49ba55 in _0x135214)for(const _0x24b416 in _0x135214[_0x49ba55]){const {actions:_0x2dda55,objectType:_0x2f038e}=_0x135214[_0x49ba55][_0x24b416],_0xde18b=[...new Set(_0x2dda55)];_0x142b30['push']({'unitID':_0x49ba55,'objectID':_0x24b416,'objectType':_0x2f038e,'actions':_0xde18b});}return new q[(_0x2a3695(0x3e0))](_0x2a3695(0x29d),_0x1f3b4e,{'headers':_0x5c4a79[_0x2a3695(0x1ee)],'withCredentials':_0x5c4a79[_0x2a3695(0x2f0)],'responseType':_0x5c4a79['responseType'],'body':{'requests':_0x142b30}});}},{'distributeResult'(_0x354fee,_0x2163c2){var _0x2ef595=_0x4a8631;const {objectActions:_0x468075}=_0x354fee;return _0x2163c2[_0x2ef595(0x4ea)](_0x32fb1e=>{var _0x419fd4=_0x2ef595;const {unitID:_0x5b0db5,objectID:_0x18a69f,actions:_0x307f9b}=_0x32fb1e,_0x48cbea=_0x468075['find'](_0x431a15=>_0x431a15[_0x419fd4(0x1f0)]===_0x5b0db5&&_0x431a15[_0x419fd4(0x3a4)]===_0x18a69f),_0x14db7a=_0x307f9b[_0x419fd4(0x4ea)](_0x10851d=>_0x48cbea==null?void 0x0:_0x48cbea['actions'][_0x419fd4(0x4ba)](_0x573adf=>_0x573adf[_0x419fd4(0x525)]===_0x10851d))[_0x419fd4(0x498)](_0x2c9e4e=>!!_0x2c9e4e);return{'config':_0x32fb1e,'result':{'actions':_0x14db7a,'error':_0x354fee[_0x419fd4(0x4b2)]}};});}})}));}[_0x31ae88(0x1c7)](){var _0x5d0fb9=_0x31ae88,_0x2b1b0a,_0x4a2878;const _0x4397d0=this[_0x5d0fb9(0x403)][_0x5d0fb9(0x428)](Ge),_0x363444=this[_0x5d0fb9(0x403)]['getConfig'](Y);return(_0x4a2878=(_0x2b1b0a=_0x363444==null?void 0x0:_0x363444['authzUrl'])!=null?_0x2b1b0a:_0x4397d0)!=null?_0x4a2878:wi;}async[_0x31ae88(0x239)](_0x160010){var _0x2e17a5=_0x31ae88;const _0x3e9071=this[_0x2e17a5(0x1c7)]()+'/'+_0x160010[_0x2e17a5(0x4c6)]+'/object';return(await this[_0x2e17a5(0x24a)][_0x2e17a5(0x427)](_0x3e9071,{'body':_0x160010}))['body'][_0x2e17a5(0x3a4)]||'';}async[_0x31ae88(0x345)](_0x2e7940){var _0x526b7f=_0x31ae88;const _0x387c6d=this['_getAPIPrefixPath']()+_0x526b7f(0x365);return(await this['_HTTPService'][_0x526b7f(0x427)](_0x387c6d,{'body':_0x2e7940}))[_0x526b7f(0x1f2)][_0x526b7f(0x39a)];}async[_0x31ae88(0x357)](_0x179259){var _0x33f1f9=_0x31ae88,_0x52d337,_0x43bad6;const _0x2122f6=this[_0x33f1f9(0x1c7)]()+'/'+_0x179259['objectType']+_0x33f1f9(0x384)+_0x179259[_0x33f1f9(0x3a4)],_0x5936ee=await this[_0x33f1f9(0x24a)]['put'](_0x2122f6,{'body':_0x179259});if(((_0x43bad6=(_0x52d337=_0x5936ee==null?void 0x0:_0x5936ee[_0x33f1f9(0x1f2)])==null?void 0x0:_0x52d337['error'])==null?void 0x0:_0x43bad6['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x1f5ef0){var _0x15a37e=_0x31ae88;const _0x16d8ff=this[_0x15a37e(0x1c7)]()+'/'+_0x1f5ef0[_0x15a37e(0x4c6)]+'/object/'+_0x1f5ef0[_0x15a37e(0x3a4)]+_0x15a37e(0x399);return(await this['_HTTPService'][_0x15a37e(0x427)](_0x16d8ff,{'body':_0x1f5ef0}))['body'][_0x15a37e(0x423)];}async[_0x31ae88(0x1d3)](_0x4c9543){var _0xa7582f=_0x31ae88;const _0x5c93a7=this['_getAPIPrefixPath']()+_0xa7582f(0x24f);return(await this['_HTTPService'][_0xa7582f(0x427)](_0x5c93a7,{'body':{'requests':_0x4c9543}}))[_0xa7582f(0x1f2)][_0xa7582f(0x260)];}async[_0x31ae88(0x4f7)](_0x504e44){var _0x1e24bb=_0x31ae88;const _0x8a0b69=this[_0x1e24bb(0x1c7)]()+'/'+_0x504e44[_0x1e24bb(0x4c6)]+_0x1e24bb(0x3d2),_0x46ac49=await this[_0x1e24bb(0x24a)][_0x1e24bb(0x427)](_0x8a0b69,{'body':_0x504e44});return{'roles':_0x46ac49[_0x1e24bb(0x1f2)][_0x1e24bb(0x4df)],'actions':_0x46ac49[_0x1e24bb(0x1f2)][_0x1e24bb(0x423)]};}async[_0x31ae88(0x1ed)](_0x177cd8){var _0x4ba3d9=_0x31ae88;const _0x35d17f=this['_getAPIPrefixPath']()+_0x4ba3d9(0x480);await this[_0x4ba3d9(0x24a)][_0x4ba3d9(0x1df)](_0x35d17f,{'params':{'collaboratorID':_0x177cd8[_0x4ba3d9(0x232)],'objectID':_0x177cd8[_0x4ba3d9(0x3a4)],'unitID':_0x177cd8[_0x4ba3d9(0x1f0)]}});}async[_0x31ae88(0x254)](_0x216716){var _0x4195c1=_0x31ae88;const _0x2a63d5=this['_getAPIPrefixPath']()+_0x4195c1(0x480);await this['_HTTPService'][_0x4195c1(0x30a)](_0x2a63d5,{'body':_0x216716});}async['createCollaborator'](_0x2734b8){var _0x955821=_0x31ae88;const _0x2d03c0=this[_0x955821(0x1c7)]()+_0x955821(0x480);await this['_HTTPService'][_0x955821(0x427)](_0x2d03c0,{'body':_0x2734b8});}async[_0x31ae88(0x385)](_0x3b93c2){var _0x3926dd=_0x31ae88;const _0x14ee82=this[_0x3926dd(0x1c7)]()+'/collaborator';return(await this[_0x3926dd(0x24a)][_0x3926dd(0x20c)](_0x14ee82,{'params':{'objectID':_0x3b93c2[_0x3926dd(0x3a4)],'unitID':_0x3b93c2[_0x3926dd(0x1f0)]}}))[_0x3926dd(0x1f2)][_0x3926dd(0x222)];}async['putCollaborators'](_0x51842d){var _0x293bfc=_0x31ae88;const _0x169330=this[_0x293bfc(0x1c7)]()+_0x293bfc(0x480);await this['_HTTPService'][_0x293bfc(0x50b)](_0x169330,{'body':_0x51842d});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a['Inject'](q[_0x31ae88(0x1fd)])),Xe(0x1,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x1fb)]))],exports[_0x31ae88(0x274)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x217706){var _0x5afe9b=_0x31ae88;return _0x217706&&_0x217706[_0x5afe9b(0x3e2)]&&Object[_0x5afe9b(0x33d)][_0x5afe9b(0x517)][_0x5afe9b(0x377)](_0x217706,_0x5afe9b(0x4ca))?_0x217706['default']:_0x217706;}var fe={'exports':{}};function Li(_0x5a68de){var _0x304790=_0x31ae88;throw new Error(_0x304790(0x470)+_0x5a68de+_0x304790(0x1ec));}var pe={'exports':{}},Mi=pe[_0x31ae88(0x4f4)],Ze;function ee(){var _0xcc6f19=_0x31ae88;return Ze||(Ze=0x1,function(_0x4d475c,_0x405727){(function(_0x3a7b01,_0x106d47){_0x4d475c['exports']=_0x106d47();}(Mi,function(){var _0x5bd73d=_0x5bd73d||function(_0x4dc1d9,_0x38b2a0){var _0xd648d=_0x4038,_0x1ec71c;if(typeof window<'u'&&window[_0xd648d(0x1af)]&&(_0x1ec71c=window[_0xd648d(0x1af)]),typeof self<'u'&&self[_0xd648d(0x1af)]&&(_0x1ec71c=self['crypto']),typeof globalThis<'u'&&globalThis[_0xd648d(0x1af)]&&(_0x1ec71c=globalThis[_0xd648d(0x1af)]),!_0x1ec71c&&typeof window<'u'&&window[_0xd648d(0x52f)]&&(_0x1ec71c=window[_0xd648d(0x52f)]),!_0x1ec71c&&typeof Le<'u'&&Le[_0xd648d(0x1af)]&&(_0x1ec71c=Le['crypto']),!_0x1ec71c&&typeof Li==_0xd648d(0x31c))try{_0x1ec71c=require(_0xd648d(0x1af));}catch{}var _0x160721=function(){var _0x2e1fe9=_0xd648d;if(_0x1ec71c){if(typeof _0x1ec71c[_0x2e1fe9(0x50e)]=='function')try{return _0x1ec71c[_0x2e1fe9(0x50e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ec71c[_0x2e1fe9(0x3fc)]=='function')try{return _0x1ec71c[_0x2e1fe9(0x3fc)](0x4)[_0x2e1fe9(0x367)]();}catch{}}throw new Error(_0x2e1fe9(0x21f));},_0x538974=Object[_0xd648d(0x239)]||(function(){function _0x3a76cf(){}return function(_0x217d01){var _0x59c129=_0x4038,_0x3c8896;return _0x3a76cf[_0x59c129(0x33d)]=_0x217d01,_0x3c8896=new _0x3a76cf(),_0x3a76cf['prototype']=null,_0x3c8896;};}()),_0x56cdcc={},_0x4d2bbe=_0x56cdcc[_0xd648d(0x436)]={},_0x5cf223=_0x4d2bbe[_0xd648d(0x1b8)]=(function(){return{'extend':function(_0x410219){var _0x4b2a97=_0x4038,_0x473acc=_0x538974(this);return _0x410219&&_0x473acc[_0x4b2a97(0x2f1)](_0x410219),(!_0x473acc[_0x4b2a97(0x517)](_0x4b2a97(0x2de))||this[_0x4b2a97(0x2de)]===_0x473acc[_0x4b2a97(0x2de)])&&(_0x473acc[_0x4b2a97(0x2de)]=function(){var _0x1e8424=_0x4b2a97;_0x473acc['$super'][_0x1e8424(0x2de)][_0x1e8424(0x3c5)](this,arguments);}),_0x473acc[_0x4b2a97(0x2de)][_0x4b2a97(0x33d)]=_0x473acc,_0x473acc['$super']=this,_0x473acc;},'create':function(){var _0x1c4e05=_0x4038,_0x2746cc=this[_0x1c4e05(0x42a)]();return _0x2746cc['init'][_0x1c4e05(0x3c5)](_0x2746cc,arguments),_0x2746cc;},'init':function(){},'mixIn':function(_0x8b5623){var _0x52d515=_0x4038;for(var _0x231592 in _0x8b5623)_0x8b5623[_0x52d515(0x517)](_0x231592)&&(this[_0x231592]=_0x8b5623[_0x231592]);_0x8b5623['hasOwnProperty']('toString')&&(this[_0x52d515(0x2d8)]=_0x8b5623[_0x52d515(0x2d8)]);},'clone':function(){var _0x354562=_0x4038;return this['init'][_0x354562(0x33d)][_0x354562(0x42a)](this);}};}()),_0x56c7d1=_0x4d2bbe[_0xd648d(0x45a)]=_0x5cf223[_0xd648d(0x42a)]({'init':function(_0x5d7a0b,_0x4c61aa){var _0x53f4c0=_0xd648d;_0x5d7a0b=this[_0x53f4c0(0x320)]=_0x5d7a0b||[],_0x4c61aa!=_0x38b2a0?this[_0x53f4c0(0x34a)]=_0x4c61aa:this[_0x53f4c0(0x34a)]=_0x5d7a0b[_0x53f4c0(0x2a4)]*0x4;},'toString':function(_0x2537a3){var _0xaeb964=_0xd648d;return(_0x2537a3||_0x13f0ca)[_0xaeb964(0x398)](this);},'concat':function(_0x403d8a){var _0x3e6d97=_0xd648d,_0x328f48=this[_0x3e6d97(0x320)],_0x2fa178=_0x403d8a[_0x3e6d97(0x320)],_0x516c16=this[_0x3e6d97(0x34a)],_0x4c2613=_0x403d8a[_0x3e6d97(0x34a)];if(this[_0x3e6d97(0x1e1)](),_0x516c16%0x4)for(var _0x2d3fd4=0x0;_0x2d3fd4<_0x4c2613;_0x2d3fd4++){var _0x4099bb=_0x2fa178[_0x2d3fd4>>>0x2]>>>0x18-_0x2d3fd4%0x4*0x8&0xff;_0x328f48[_0x516c16+_0x2d3fd4>>>0x2]|=_0x4099bb<<0x18-(_0x516c16+_0x2d3fd4)%0x4*0x8;}else{for(var _0xeb446=0x0;_0xeb446<_0x4c2613;_0xeb446+=0x4)_0x328f48[_0x516c16+_0xeb446>>>0x2]=_0x2fa178[_0xeb446>>>0x2];}return this[_0x3e6d97(0x34a)]+=_0x4c2613,this;},'clamp':function(){var _0xd55ed=_0xd648d,_0x13ff4a=this['words'],_0x23f2b2=this[_0xd55ed(0x34a)];_0x13ff4a[_0x23f2b2>>>0x2]&=0xffffffff<<0x20-_0x23f2b2%0x4*0x8,_0x13ff4a[_0xd55ed(0x2a4)]=_0x4dc1d9[_0xd55ed(0x243)](_0x23f2b2/0x4);},'clone':function(){var _0x4f55a7=_0xd648d,_0x47ae36=_0x5cf223[_0x4f55a7(0x435)][_0x4f55a7(0x377)](this);return _0x47ae36[_0x4f55a7(0x320)]=this[_0x4f55a7(0x320)]['slice'](0x0),_0x47ae36;},'random':function(_0x1816bd){var _0x10b997=_0xd648d;for(var _0x6ca334=[],_0x19ac42=0x0;_0x19ac42<_0x1816bd;_0x19ac42+=0x4)_0x6ca334[_0x10b997(0x4dd)](_0x160721());return new _0x56c7d1[(_0x10b997(0x2de))](_0x6ca334,_0x1816bd);}}),_0x5f01a9=_0x56cdcc[_0xd648d(0x38f)]={},_0x13f0ca=_0x5f01a9['Hex']={'stringify':function(_0x382618){var _0x421e05=_0xd648d;for(var _0x254d8b=_0x382618[_0x421e05(0x320)],_0x59a47c=_0x382618[_0x421e05(0x34a)],_0x377a31=[],_0x286caf=0x0;_0x286caf<_0x59a47c;_0x286caf++){var _0x5d22a8=_0x254d8b[_0x286caf>>>0x2]>>>0x18-_0x286caf%0x4*0x8&0xff;_0x377a31[_0x421e05(0x4dd)]((_0x5d22a8>>>0x4)[_0x421e05(0x2d8)](0x10)),_0x377a31['push']((_0x5d22a8&0xf)[_0x421e05(0x2d8)](0x10));}return _0x377a31['join']('');},'parse':function(_0x257703){var _0x4b09ae=_0xd648d;for(var _0x14061e=_0x257703['length'],_0x17bb32=[],_0x43df9c=0x0;_0x43df9c<_0x14061e;_0x43df9c+=0x2)_0x17bb32[_0x43df9c>>>0x3]|=parseInt(_0x257703[_0x4b09ae(0x4aa)](_0x43df9c,0x2),0x10)<<0x18-_0x43df9c%0x8*0x4;return new _0x56c7d1['init'](_0x17bb32,_0x14061e/0x2);}},_0x11acc8=_0x5f01a9[_0xd648d(0x29b)]={'stringify':function(_0x3ae61b){var _0x47fdd5=_0xd648d;for(var _0x251ef5=_0x3ae61b['words'],_0x345351=_0x3ae61b[_0x47fdd5(0x34a)],_0x48eb93=[],_0x31f0e1=0x0;_0x31f0e1<_0x345351;_0x31f0e1++){var _0x15ed8b=_0x251ef5[_0x31f0e1>>>0x2]>>>0x18-_0x31f0e1%0x4*0x8&0xff;_0x48eb93['push'](String[_0x47fdd5(0x4e0)](_0x15ed8b));}return _0x48eb93[_0x47fdd5(0x39e)]('');},'parse':function(_0x4ae690){var _0x5694e1=_0xd648d;for(var _0x37724d=_0x4ae690['length'],_0x25b59c=[],_0x5c0d83=0x0;_0x5c0d83<_0x37724d;_0x5c0d83++)_0x25b59c[_0x5c0d83>>>0x2]|=(_0x4ae690[_0x5694e1(0x2ce)](_0x5c0d83)&0xff)<<0x18-_0x5c0d83%0x4*0x8;return new _0x56c7d1['init'](_0x25b59c,_0x37724d);}},_0x1d7eb0=_0x5f01a9[_0xd648d(0x34e)]={'stringify':function(_0x4c60c7){var _0x5c260b=_0xd648d;try{return decodeURIComponent(escape(_0x11acc8['stringify'](_0x4c60c7)));}catch{throw new Error(_0x5c260b(0x366));}},'parse':function(_0x15665a){var _0x4edef9=_0xd648d;return _0x11acc8[_0x4edef9(0x326)](unescape(encodeURIComponent(_0x15665a)));}},_0x54bed2=_0x4d2bbe['BufferedBlockAlgorithm']=_0x5cf223[_0xd648d(0x42a)]({'reset':function(){var _0x4fc9c7=_0xd648d;this[_0x4fc9c7(0x34d)]=new _0x56c7d1[(_0x4fc9c7(0x2de))](),this[_0x4fc9c7(0x51e)]=0x0;},'_append':function(_0x2661ae){var _0x405441=_0xd648d;typeof _0x2661ae=='string'&&(_0x2661ae=_0x1d7eb0[_0x405441(0x326)](_0x2661ae)),this[_0x405441(0x34d)][_0x405441(0x210)](_0x2661ae),this['_nDataBytes']+=_0x2661ae[_0x405441(0x34a)];},'_process':function(_0x1078a4){var _0x3dee91=_0xd648d,_0x4a4cb4,_0x516b9c=this['_data'],_0x7f3a0a=_0x516b9c[_0x3dee91(0x320)],_0x4770ea=_0x516b9c[_0x3dee91(0x34a)],_0x22c9e2=this[_0x3dee91(0x3b4)],_0x1b13a9=_0x22c9e2*0x4,_0x1c4767=_0x4770ea/_0x1b13a9;_0x1078a4?_0x1c4767=_0x4dc1d9['ceil'](_0x1c4767):_0x1c4767=_0x4dc1d9[_0x3dee91(0x468)]((_0x1c4767|0x0)-this[_0x3dee91(0x447)],0x0);var _0x17d9f4=_0x1c4767*_0x22c9e2,_0x33a1df=_0x4dc1d9[_0x3dee91(0x2fd)](_0x17d9f4*0x4,_0x4770ea);if(_0x17d9f4){for(var _0x3d58d2=0x0;_0x3d58d2<_0x17d9f4;_0x3d58d2+=_0x22c9e2)this['_doProcessBlock'](_0x7f3a0a,_0x3d58d2);_0x4a4cb4=_0x7f3a0a[_0x3dee91(0x432)](0x0,_0x17d9f4),_0x516b9c[_0x3dee91(0x34a)]-=_0x33a1df;}return new _0x56c7d1['init'](_0x4a4cb4,_0x33a1df);},'clone':function(){var _0x4ae51e=_0xd648d,_0x3164e4=_0x5cf223[_0x4ae51e(0x435)]['call'](this);return _0x3164e4['_data']=this[_0x4ae51e(0x34d)][_0x4ae51e(0x435)](),_0x3164e4;},'_minBufferSize':0x0});_0x4d2bbe['Hasher']=_0x54bed2[_0xd648d(0x42a)]({'cfg':_0x5cf223[_0xd648d(0x42a)](),'init':function(_0xd1aada){var _0x3b03bb=_0xd648d;this[_0x3b03bb(0x23b)]=this['cfg'][_0x3b03bb(0x42a)](_0xd1aada),this[_0x3b03bb(0x329)]();},'reset':function(){var _0x2ff20d=_0xd648d;_0x54bed2[_0x2ff20d(0x329)][_0x2ff20d(0x377)](this),this[_0x2ff20d(0x3de)]();},'update':function(_0x45b6f1){var _0x1f2082=_0xd648d;return this[_0x1f2082(0x4f5)](_0x45b6f1),this['_process'](),this;},'finalize':function(_0x4b5b48){var _0x2abbd8=_0xd648d;_0x4b5b48&&this['_append'](_0x4b5b48);var _0x5f508c=this[_0x2abbd8(0x276)]();return _0x5f508c;},'blockSize':0x10,'_createHelper':function(_0x2ee462){return function(_0x5871a0,_0x552e41){var _0x9e2dfe=_0x4038;return new _0x2ee462[(_0x9e2dfe(0x2de))](_0x552e41)[_0x9e2dfe(0x4d4)](_0x5871a0);};},'_createHmacHelper':function(_0x16aa81){return function(_0x11ce21,_0x2a4288){var _0x1a579c=_0x4038;return new _0x5042a3[(_0x1a579c(0x379))][(_0x1a579c(0x2de))](_0x16aa81,_0x2a4288)['finalize'](_0x11ce21);};}});var _0x5042a3=_0x56cdcc['algo']={};return _0x56cdcc;}(Math);return _0x5bd73d;}));}(pe)),pe[_0xcc6f19(0x4f4)];}var ge={'exports':{}},xi=ge[_0x31ae88(0x4f4)],Qe;function Ut(){var _0xa82121=_0x31ae88;return Qe||(Qe=0x1,function(_0x1d17bb,_0x2d38b1){(function(_0x29091e,_0x1ae6a4){_0x1d17bb['exports']=_0x1ae6a4(ee());}(xi,function(_0x44cf2f){var _0x199e40=_0x4038;return(function(){var _0x4f76b0=_0x4038,_0xaa32ca=_0x44cf2f,_0x1c9683=_0xaa32ca['lib'],_0x2d41e9=_0x1c9683[_0x4f76b0(0x45a)],_0x4022ad=_0xaa32ca[_0x4f76b0(0x38f)];_0x4022ad[_0x4f76b0(0x527)]={'stringify':function(_0x1e4828){var _0x350fef=_0x4f76b0,_0x18fad4=_0x1e4828['words'],_0x3451fc=_0x1e4828[_0x350fef(0x34a)],_0x5a993c=this[_0x350fef(0x1ae)];_0x1e4828['clamp']();for(var _0x4f5961=[],_0x292b58=0x0;_0x292b58<_0x3451fc;_0x292b58+=0x3)for(var _0x2625b5=_0x18fad4[_0x292b58>>>0x2]>>>0x18-_0x292b58%0x4*0x8&0xff,_0x22be8f=_0x18fad4[_0x292b58+0x1>>>0x2]>>>0x18-(_0x292b58+0x1)%0x4*0x8&0xff,_0x53e362=_0x18fad4[_0x292b58+0x2>>>0x2]>>>0x18-(_0x292b58+0x2)%0x4*0x8&0xff,_0xd9ceda=_0x2625b5<<0x10|_0x22be8f<<0x8|_0x53e362,_0x4df506=0x0;_0x4df506<0x4&&_0x292b58+_0x4df506*0.75<_0x3451fc;_0x4df506++)_0x4f5961[_0x350fef(0x4dd)](_0x5a993c['charAt'](_0xd9ceda>>>0x6*(0x3-_0x4df506)&0x3f));var _0x5de527=_0x5a993c['charAt'](0x40);if(_0x5de527){for(;_0x4f5961['length']%0x4;)_0x4f5961[_0x350fef(0x4dd)](_0x5de527);}return _0x4f5961[_0x350fef(0x39e)]('');},'parse':function(_0x781b55){var _0x535859=_0x4f76b0,_0xf7b167=_0x781b55[_0x535859(0x2a4)],_0x257e4f=this['_map'],_0x483dfc=this[_0x535859(0x22e)];if(!_0x483dfc){_0x483dfc=this['_reverseMap']=[];for(var _0x12a71a=0x0;_0x12a71a<_0x257e4f[_0x535859(0x2a4)];_0x12a71a++)_0x483dfc[_0x257e4f[_0x535859(0x2ce)](_0x12a71a)]=_0x12a71a;}var _0x48fe4a=_0x257e4f['charAt'](0x40);if(_0x48fe4a){var _0x14637c=_0x781b55['indexOf'](_0x48fe4a);_0x14637c!==-0x1&&(_0xf7b167=_0x14637c);}return _0x4396c0(_0x781b55,_0xf7b167,_0x483dfc);},'_map':_0x4f76b0(0x358)};function _0x4396c0(_0x55a533,_0xdf8be8,_0x5da317){var _0x1ed4dd=_0x4f76b0;for(var _0x564006=[],_0x359f7a=0x0,_0x3574e0=0x0;_0x3574e0<_0xdf8be8;_0x3574e0++)if(_0x3574e0%0x4){var _0x53c396=_0x5da317[_0x55a533[_0x1ed4dd(0x2ce)](_0x3574e0-0x1)]<<_0x3574e0%0x4*0x2,_0x34cb07=_0x5da317[_0x55a533['charCodeAt'](_0x3574e0)]>>>0x6-_0x3574e0%0x4*0x2,_0x35b6dd=_0x53c396|_0x34cb07;_0x564006[_0x359f7a>>>0x2]|=_0x35b6dd<<0x18-_0x359f7a%0x4*0x8,_0x359f7a++;}return _0x2d41e9['create'](_0x564006,_0x359f7a);}}()),_0x44cf2f['enc'][_0x199e40(0x527)];}));}(ge)),ge[_0xa82121(0x4f4)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0x410885=_0x31ae88;return et||(et=0x1,function(_0x1788d2,_0x4b918b){(function(_0x5c4532,_0x100ab6){_0x1788d2['exports']=_0x100ab6(ee());}(ki,function(_0x42febe){var _0x55d008=_0x4038;return function(_0x2c15ff){var _0xa612ba=_0x4038,_0x1952e3=_0x42febe,_0x505ac4=_0x1952e3[_0xa612ba(0x436)],_0x45d31a=_0x505ac4[_0xa612ba(0x45a)],_0xa5a57b=_0x505ac4[_0xa612ba(0x1fe)],_0x3dc578=_0x1952e3['algo'],_0x3cdb75=[];(function(){var _0x478198=_0xa612ba;for(var _0x84a427=0x0;_0x84a427<0x40;_0x84a427++)_0x3cdb75[_0x84a427]=_0x2c15ff['abs'](_0x2c15ff[_0x478198(0x513)](_0x84a427+0x1))*0x100000000|0x0;}());var _0xf9869=_0x3dc578[_0xa612ba(0x380)]=_0xa5a57b[_0xa612ba(0x42a)]({'_doReset':function(){var _0x321652=_0xa612ba;this[_0x321652(0x218)]=new _0x45d31a[(_0x321652(0x2de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x107cd0,_0x46e03c){var _0x15f4ab=_0xa612ba;for(var _0x26bbe5=0x0;_0x26bbe5<0x10;_0x26bbe5++){var _0x1b7a51=_0x46e03c+_0x26bbe5,_0x49c031=_0x107cd0[_0x1b7a51];_0x107cd0[_0x1b7a51]=(_0x49c031<<0x8|_0x49c031>>>0x18)&0xff00ff|(_0x49c031<<0x18|_0x49c031>>>0x8)&0xff00ff00;}var _0x2c9ad3=this['_hash'][_0x15f4ab(0x320)],_0xa0814f=_0x107cd0[_0x46e03c+0x0],_0x47044d=_0x107cd0[_0x46e03c+0x1],_0x17914c=_0x107cd0[_0x46e03c+0x2],_0x4e9d12=_0x107cd0[_0x46e03c+0x3],_0x1e4653=_0x107cd0[_0x46e03c+0x4],_0x122258=_0x107cd0[_0x46e03c+0x5],_0x143365=_0x107cd0[_0x46e03c+0x6],_0x214716=_0x107cd0[_0x46e03c+0x7],_0x411080=_0x107cd0[_0x46e03c+0x8],_0x47281c=_0x107cd0[_0x46e03c+0x9],_0x1e1b47=_0x107cd0[_0x46e03c+0xa],_0x442d8e=_0x107cd0[_0x46e03c+0xb],_0x51f4d2=_0x107cd0[_0x46e03c+0xc],_0x5ee0c5=_0x107cd0[_0x46e03c+0xd],_0x233a09=_0x107cd0[_0x46e03c+0xe],_0x45ea2e=_0x107cd0[_0x46e03c+0xf],_0x27c061=_0x2c9ad3[0x0],_0x3b6107=_0x2c9ad3[0x1],_0x555ae8=_0x2c9ad3[0x2],_0x51a84f=_0x2c9ad3[0x3];_0x27c061=_0x36c932(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0xa0814f,0x7,_0x3cdb75[0x0]),_0x51a84f=_0x36c932(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x47044d,0xc,_0x3cdb75[0x1]),_0x555ae8=_0x36c932(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x17914c,0x11,_0x3cdb75[0x2]),_0x3b6107=_0x36c932(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x4e9d12,0x16,_0x3cdb75[0x3]),_0x27c061=_0x36c932(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x1e4653,0x7,_0x3cdb75[0x4]),_0x51a84f=_0x36c932(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x122258,0xc,_0x3cdb75[0x5]),_0x555ae8=_0x36c932(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x143365,0x11,_0x3cdb75[0x6]),_0x3b6107=_0x36c932(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x214716,0x16,_0x3cdb75[0x7]),_0x27c061=_0x36c932(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x411080,0x7,_0x3cdb75[0x8]),_0x51a84f=_0x36c932(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x47281c,0xc,_0x3cdb75[0x9]),_0x555ae8=_0x36c932(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x1e1b47,0x11,_0x3cdb75[0xa]),_0x3b6107=_0x36c932(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x442d8e,0x16,_0x3cdb75[0xb]),_0x27c061=_0x36c932(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x51f4d2,0x7,_0x3cdb75[0xc]),_0x51a84f=_0x36c932(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x5ee0c5,0xc,_0x3cdb75[0xd]),_0x555ae8=_0x36c932(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x233a09,0x11,_0x3cdb75[0xe]),_0x3b6107=_0x36c932(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x45ea2e,0x16,_0x3cdb75[0xf]),_0x27c061=_0x4df1ad(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x47044d,0x5,_0x3cdb75[0x10]),_0x51a84f=_0x4df1ad(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x143365,0x9,_0x3cdb75[0x11]),_0x555ae8=_0x4df1ad(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x442d8e,0xe,_0x3cdb75[0x12]),_0x3b6107=_0x4df1ad(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0xa0814f,0x14,_0x3cdb75[0x13]),_0x27c061=_0x4df1ad(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x122258,0x5,_0x3cdb75[0x14]),_0x51a84f=_0x4df1ad(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x1e1b47,0x9,_0x3cdb75[0x15]),_0x555ae8=_0x4df1ad(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x45ea2e,0xe,_0x3cdb75[0x16]),_0x3b6107=_0x4df1ad(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x1e4653,0x14,_0x3cdb75[0x17]),_0x27c061=_0x4df1ad(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x47281c,0x5,_0x3cdb75[0x18]),_0x51a84f=_0x4df1ad(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x233a09,0x9,_0x3cdb75[0x19]),_0x555ae8=_0x4df1ad(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x4e9d12,0xe,_0x3cdb75[0x1a]),_0x3b6107=_0x4df1ad(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x411080,0x14,_0x3cdb75[0x1b]),_0x27c061=_0x4df1ad(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x5ee0c5,0x5,_0x3cdb75[0x1c]),_0x51a84f=_0x4df1ad(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x17914c,0x9,_0x3cdb75[0x1d]),_0x555ae8=_0x4df1ad(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x214716,0xe,_0x3cdb75[0x1e]),_0x3b6107=_0x4df1ad(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x51f4d2,0x14,_0x3cdb75[0x1f]),_0x27c061=_0x248613(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x122258,0x4,_0x3cdb75[0x20]),_0x51a84f=_0x248613(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x411080,0xb,_0x3cdb75[0x21]),_0x555ae8=_0x248613(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x442d8e,0x10,_0x3cdb75[0x22]),_0x3b6107=_0x248613(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x233a09,0x17,_0x3cdb75[0x23]),_0x27c061=_0x248613(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x47044d,0x4,_0x3cdb75[0x24]),_0x51a84f=_0x248613(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x1e4653,0xb,_0x3cdb75[0x25]),_0x555ae8=_0x248613(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x214716,0x10,_0x3cdb75[0x26]),_0x3b6107=_0x248613(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x1e1b47,0x17,_0x3cdb75[0x27]),_0x27c061=_0x248613(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x5ee0c5,0x4,_0x3cdb75[0x28]),_0x51a84f=_0x248613(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0xa0814f,0xb,_0x3cdb75[0x29]),_0x555ae8=_0x248613(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x4e9d12,0x10,_0x3cdb75[0x2a]),_0x3b6107=_0x248613(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x143365,0x17,_0x3cdb75[0x2b]),_0x27c061=_0x248613(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x47281c,0x4,_0x3cdb75[0x2c]),_0x51a84f=_0x248613(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x51f4d2,0xb,_0x3cdb75[0x2d]),_0x555ae8=_0x248613(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x45ea2e,0x10,_0x3cdb75[0x2e]),_0x3b6107=_0x248613(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x17914c,0x17,_0x3cdb75[0x2f]),_0x27c061=_0xc0f25e(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0xa0814f,0x6,_0x3cdb75[0x30]),_0x51a84f=_0xc0f25e(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x214716,0xa,_0x3cdb75[0x31]),_0x555ae8=_0xc0f25e(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x233a09,0xf,_0x3cdb75[0x32]),_0x3b6107=_0xc0f25e(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x122258,0x15,_0x3cdb75[0x33]),_0x27c061=_0xc0f25e(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x51f4d2,0x6,_0x3cdb75[0x34]),_0x51a84f=_0xc0f25e(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x4e9d12,0xa,_0x3cdb75[0x35]),_0x555ae8=_0xc0f25e(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x1e1b47,0xf,_0x3cdb75[0x36]),_0x3b6107=_0xc0f25e(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x47044d,0x15,_0x3cdb75[0x37]),_0x27c061=_0xc0f25e(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x411080,0x6,_0x3cdb75[0x38]),_0x51a84f=_0xc0f25e(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x45ea2e,0xa,_0x3cdb75[0x39]),_0x555ae8=_0xc0f25e(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x143365,0xf,_0x3cdb75[0x3a]),_0x3b6107=_0xc0f25e(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x5ee0c5,0x15,_0x3cdb75[0x3b]),_0x27c061=_0xc0f25e(_0x27c061,_0x3b6107,_0x555ae8,_0x51a84f,_0x1e4653,0x6,_0x3cdb75[0x3c]),_0x51a84f=_0xc0f25e(_0x51a84f,_0x27c061,_0x3b6107,_0x555ae8,_0x442d8e,0xa,_0x3cdb75[0x3d]),_0x555ae8=_0xc0f25e(_0x555ae8,_0x51a84f,_0x27c061,_0x3b6107,_0x17914c,0xf,_0x3cdb75[0x3e]),_0x3b6107=_0xc0f25e(_0x3b6107,_0x555ae8,_0x51a84f,_0x27c061,_0x47281c,0x15,_0x3cdb75[0x3f]),_0x2c9ad3[0x0]=_0x2c9ad3[0x0]+_0x27c061|0x0,_0x2c9ad3[0x1]=_0x2c9ad3[0x1]+_0x3b6107|0x0,_0x2c9ad3[0x2]=_0x2c9ad3[0x2]+_0x555ae8|0x0,_0x2c9ad3[0x3]=_0x2c9ad3[0x3]+_0x51a84f|0x0;},'_doFinalize':function(){var _0x57fbfc=_0xa612ba,_0x1e6aec=this[_0x57fbfc(0x34d)],_0x304f24=_0x1e6aec[_0x57fbfc(0x320)],_0x3a148d=this[_0x57fbfc(0x51e)]*0x8,_0x4ac65f=_0x1e6aec['sigBytes']*0x8;_0x304f24[_0x4ac65f>>>0x5]|=0x80<<0x18-_0x4ac65f%0x20;var _0x4cb785=_0x2c15ff[_0x57fbfc(0x279)](_0x3a148d/0x100000000),_0x2d5890=_0x3a148d;_0x304f24[(_0x4ac65f+0x40>>>0x9<<0x4)+0xf]=(_0x4cb785<<0x8|_0x4cb785>>>0x18)&0xff00ff|(_0x4cb785<<0x18|_0x4cb785>>>0x8)&0xff00ff00,_0x304f24[(_0x4ac65f+0x40>>>0x9<<0x4)+0xe]=(_0x2d5890<<0x8|_0x2d5890>>>0x18)&0xff00ff|(_0x2d5890<<0x18|_0x2d5890>>>0x8)&0xff00ff00,_0x1e6aec[_0x57fbfc(0x34a)]=(_0x304f24[_0x57fbfc(0x2a4)]+0x1)*0x4,this[_0x57fbfc(0x52a)]();for(var _0x3095f0=this[_0x57fbfc(0x218)],_0x450726=_0x3095f0[_0x57fbfc(0x320)],_0x5ae8a5=0x0;_0x5ae8a5<0x4;_0x5ae8a5++){var _0xbfb0f3=_0x450726[_0x5ae8a5];_0x450726[_0x5ae8a5]=(_0xbfb0f3<<0x8|_0xbfb0f3>>>0x18)&0xff00ff|(_0xbfb0f3<<0x18|_0xbfb0f3>>>0x8)&0xff00ff00;}return _0x3095f0;},'clone':function(){var _0x2ec065=_0xa612ba,_0x26d1c9=_0xa5a57b[_0x2ec065(0x435)][_0x2ec065(0x377)](this);return _0x26d1c9[_0x2ec065(0x218)]=this[_0x2ec065(0x218)][_0x2ec065(0x435)](),_0x26d1c9;}});function _0x36c932(_0x361898,_0x489399,_0x42da51,_0x3dc0cf,_0x4e8b28,_0x117e01,_0x104085){var _0x36e120=_0x361898+(_0x489399&_0x42da51|~_0x489399&_0x3dc0cf)+_0x4e8b28+_0x104085;return(_0x36e120<<_0x117e01|_0x36e120>>>0x20-_0x117e01)+_0x489399;}function _0x4df1ad(_0x194aa5,_0x917704,_0x50b812,_0x1357f7,_0x187c95,_0xa4ff8,_0x309c2e){var _0x10eed4=_0x194aa5+(_0x917704&_0x1357f7|_0x50b812&~_0x1357f7)+_0x187c95+_0x309c2e;return(_0x10eed4<<_0xa4ff8|_0x10eed4>>>0x20-_0xa4ff8)+_0x917704;}function _0x248613(_0x395ea5,_0x3eb196,_0x3f19bd,_0x20f7cf,_0x442c0c,_0x3d6d27,_0x4d8674){var _0x3d07b6=_0x395ea5+(_0x3eb196^_0x3f19bd^_0x20f7cf)+_0x442c0c+_0x4d8674;return(_0x3d07b6<<_0x3d6d27|_0x3d07b6>>>0x20-_0x3d6d27)+_0x3eb196;}function _0xc0f25e(_0x2cbe43,_0x376a2d,_0x20e9d3,_0x4cd61c,_0x24277b,_0x27587e,_0x424a6b){var _0x336bc5=_0x2cbe43+(_0x20e9d3^(_0x376a2d|~_0x4cd61c))+_0x24277b+_0x424a6b;return(_0x336bc5<<_0x27587e|_0x336bc5>>>0x20-_0x27587e)+_0x376a2d;}_0x1952e3[_0xa612ba(0x380)]=_0xa5a57b[_0xa612ba(0x524)](_0xf9869),_0x1952e3[_0xa612ba(0x33c)]=_0xa5a57b[_0xa612ba(0x4eb)](_0xf9869);}(Math),_0x42febe[_0x55d008(0x380)];}));}(me)),me[_0x410885(0x4f4)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x31ae88(0x4f4)],tt;function $i(){var _0xc31bc2=_0x31ae88;return tt||(tt=0x1,function(_0x23fb28,_0x1ae361){(function(_0x4359d1,_0x114f94){var _0x4f9c72=_0x4038;_0x23fb28[_0x4f9c72(0x4f4)]=_0x114f94(ee());}(ji,function(_0x3a8ffb){return(function(){var _0x30921b=_0x4038,_0x3eaa6a=_0x3a8ffb,_0x1a3bd9=_0x3eaa6a['lib'],_0x457d94=_0x1a3bd9[_0x30921b(0x45a)],_0x47ffd3=_0x1a3bd9[_0x30921b(0x1fe)],_0x379a3f=_0x3eaa6a[_0x30921b(0x1e4)],_0x2a8ff2=[],_0x3497bb=_0x379a3f[_0x30921b(0x2aa)]=_0x47ffd3[_0x30921b(0x42a)]({'_doReset':function(){var _0x6e95db=_0x30921b;this[_0x6e95db(0x218)]=new _0x457d94[(_0x6e95db(0x2de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5c463f,_0x21fdbe){var _0x247f52=_0x30921b;for(var _0x28485e=this[_0x247f52(0x218)]['words'],_0x43aee4=_0x28485e[0x0],_0x486842=_0x28485e[0x1],_0x4189e2=_0x28485e[0x2],_0x388470=_0x28485e[0x3],_0x49b2c1=_0x28485e[0x4],_0x55f827=0x0;_0x55f827<0x50;_0x55f827++){if(_0x55f827<0x10)_0x2a8ff2[_0x55f827]=_0x5c463f[_0x21fdbe+_0x55f827]|0x0;else{var _0x4ef0f7=_0x2a8ff2[_0x55f827-0x3]^_0x2a8ff2[_0x55f827-0x8]^_0x2a8ff2[_0x55f827-0xe]^_0x2a8ff2[_0x55f827-0x10];_0x2a8ff2[_0x55f827]=_0x4ef0f7<<0x1|_0x4ef0f7>>>0x1f;}var _0x162b44=(_0x43aee4<<0x5|_0x43aee4>>>0x1b)+_0x49b2c1+_0x2a8ff2[_0x55f827];_0x55f827<0x14?_0x162b44+=(_0x486842&_0x4189e2|~_0x486842&_0x388470)+0x5a827999:_0x55f827<0x28?_0x162b44+=(_0x486842^_0x4189e2^_0x388470)+0x6ed9eba1:_0x55f827<0x3c?_0x162b44+=(_0x486842&_0x4189e2|_0x486842&_0x388470|_0x4189e2&_0x388470)-0x70e44324:_0x162b44+=(_0x486842^_0x4189e2^_0x388470)-0x359d3e2a,_0x49b2c1=_0x388470,_0x388470=_0x4189e2,_0x4189e2=_0x486842<<0x1e|_0x486842>>>0x2,_0x486842=_0x43aee4,_0x43aee4=_0x162b44;}_0x28485e[0x0]=_0x28485e[0x0]+_0x43aee4|0x0,_0x28485e[0x1]=_0x28485e[0x1]+_0x486842|0x0,_0x28485e[0x2]=_0x28485e[0x2]+_0x4189e2|0x0,_0x28485e[0x3]=_0x28485e[0x3]+_0x388470|0x0,_0x28485e[0x4]=_0x28485e[0x4]+_0x49b2c1|0x0;},'_doFinalize':function(){var _0x5116d8=_0x30921b,_0x362438=this[_0x5116d8(0x34d)],_0xf1f52f=_0x362438['words'],_0x5da1ca=this[_0x5116d8(0x51e)]*0x8,_0x5418ec=_0x362438[_0x5116d8(0x34a)]*0x8;return _0xf1f52f[_0x5418ec>>>0x5]|=0x80<<0x18-_0x5418ec%0x20,_0xf1f52f[(_0x5418ec+0x40>>>0x9<<0x4)+0xe]=Math[_0x5116d8(0x279)](_0x5da1ca/0x100000000),_0xf1f52f[(_0x5418ec+0x40>>>0x9<<0x4)+0xf]=_0x5da1ca,_0x362438[_0x5116d8(0x34a)]=_0xf1f52f[_0x5116d8(0x2a4)]*0x4,this['_process'](),this[_0x5116d8(0x218)];},'clone':function(){var _0x23d8fd=_0x30921b,_0x208fc0=_0x47ffd3[_0x23d8fd(0x435)][_0x23d8fd(0x377)](this);return _0x208fc0['_hash']=this[_0x23d8fd(0x218)][_0x23d8fd(0x435)](),_0x208fc0;}});_0x3eaa6a['SHA1']=_0x47ffd3[_0x30921b(0x524)](_0x3497bb),_0x3eaa6a['HmacSHA1']=_0x47ffd3[_0x30921b(0x4eb)](_0x3497bb);}()),_0x3a8ffb['SHA1'];}));}(Ee)),Ee[_0xc31bc2(0x4f4)];}var Ce={'exports':{}},Bi=Ce[_0x31ae88(0x4f4)],it;function Fi(){return it||(it=0x1,function(_0x31eb8c,_0x265f03){(function(_0x55d56c,_0x43e350){var _0x764825=_0x4038;_0x31eb8c[_0x764825(0x4f4)]=_0x43e350(ee());}(Bi,function(_0x22d03e){(function(){var _0x553258=_0x4038,_0x591798=_0x22d03e,_0x3e5d8a=_0x591798[_0x553258(0x436)],_0x222c9f=_0x3e5d8a[_0x553258(0x1b8)],_0x1ca103=_0x591798[_0x553258(0x38f)],_0x2022c8=_0x1ca103[_0x553258(0x34e)],_0x41b3ad=_0x591798['algo'];_0x41b3ad['HMAC']=_0x222c9f[_0x553258(0x42a)]({'init':function(_0x318a9a,_0x342966){var _0x44de71=_0x553258;_0x318a9a=this[_0x44de71(0x2be)]=new _0x318a9a[(_0x44de71(0x2de))](),typeof _0x342966==_0x44de71(0x3d8)&&(_0x342966=_0x2022c8[_0x44de71(0x326)](_0x342966));var _0x143005=_0x318a9a[_0x44de71(0x3b4)],_0x26b0db=_0x143005*0x4;_0x342966['sigBytes']>_0x26b0db&&(_0x342966=_0x318a9a[_0x44de71(0x4d4)](_0x342966)),_0x342966['clamp']();for(var _0x50dd5a=this['_oKey']=_0x342966[_0x44de71(0x435)](),_0x2975a9=this[_0x44de71(0x1b6)]=_0x342966[_0x44de71(0x435)](),_0x395bf8=_0x50dd5a[_0x44de71(0x320)],_0x705a94=_0x2975a9[_0x44de71(0x320)],_0x314a83=0x0;_0x314a83<_0x143005;_0x314a83++)_0x395bf8[_0x314a83]^=0x5c5c5c5c,_0x705a94[_0x314a83]^=0x36363636;_0x50dd5a[_0x44de71(0x34a)]=_0x2975a9[_0x44de71(0x34a)]=_0x26b0db,this['reset']();},'reset':function(){var _0x17335a=_0x553258,_0x3310f5=this[_0x17335a(0x2be)];_0x3310f5['reset'](),_0x3310f5['update'](this['_iKey']);},'update':function(_0x4ecbb1){var _0x544fa5=_0x553258;return this[_0x544fa5(0x2be)][_0x544fa5(0x357)](_0x4ecbb1),this;},'finalize':function(_0x3c126a){var _0xdbf531=_0x553258,_0x501d6c=this['_hasher'],_0x55b857=_0x501d6c[_0xdbf531(0x4d4)](_0x3c126a);_0x501d6c['reset']();var _0x46e1bc=_0x501d6c[_0xdbf531(0x4d4)](this[_0xdbf531(0x37b)]['clone']()[_0xdbf531(0x210)](_0x55b857));return _0x46e1bc;}});}());}));}(Ce)),Ce['exports'];}var Vi=Ie[_0x31ae88(0x4f4)],nt;function At(){var _0x4a7836=_0x31ae88;return nt||(nt=0x1,function(_0x4d75d9,_0x44959d){(function(_0x5f2e3e,_0x27b431,_0xc13a2a){_0x4d75d9['exports']=_0x27b431(ee(),$i(),Fi());}(Vi,function(_0x586807){var _0x1c7460=_0x4038;return(function(){var _0xd13fd4=_0x4038,_0x471f64=_0x586807,_0x43de18=_0x471f64[_0xd13fd4(0x436)],_0x471770=_0x43de18['Base'],_0x3ca565=_0x43de18['WordArray'],_0x2801ae=_0x471f64[_0xd13fd4(0x1e4)],_0x1a233f=_0x2801ae[_0xd13fd4(0x380)],_0x2dfb8f=_0x2801ae['EvpKDF']=_0x471770[_0xd13fd4(0x42a)]({'cfg':_0x471770[_0xd13fd4(0x42a)]({'keySize':0x80/0x20,'hasher':_0x1a233f,'iterations':0x1}),'init':function(_0x407e4c){var _0x697dae=_0xd13fd4;this[_0x697dae(0x23b)]=this[_0x697dae(0x23b)][_0x697dae(0x42a)](_0x407e4c);},'compute':function(_0x235b51,_0x26b886){var _0x3041fe=_0xd13fd4;for(var _0x30c60d,_0x250ecf=this[_0x3041fe(0x23b)],_0xb0d43=_0x250ecf[_0x3041fe(0x372)]['create'](),_0x190317=_0x3ca565[_0x3041fe(0x239)](),_0x5f5645=_0x190317[_0x3041fe(0x320)],_0x9d0bc2=_0x250ecf['keySize'],_0x58ae7e=_0x250ecf[_0x3041fe(0x2e2)];_0x5f5645[_0x3041fe(0x2a4)]<_0x9d0bc2;){_0x30c60d&&_0xb0d43[_0x3041fe(0x357)](_0x30c60d),_0x30c60d=_0xb0d43[_0x3041fe(0x357)](_0x235b51)[_0x3041fe(0x4d4)](_0x26b886),_0xb0d43[_0x3041fe(0x329)]();for(var _0x444b9c=0x1;_0x444b9c<_0x58ae7e;_0x444b9c++)_0x30c60d=_0xb0d43[_0x3041fe(0x4d4)](_0x30c60d),_0xb0d43[_0x3041fe(0x329)]();_0x190317[_0x3041fe(0x210)](_0x30c60d);}return _0x190317[_0x3041fe(0x34a)]=_0x9d0bc2*0x4,_0x190317;}});_0x471f64[_0xd13fd4(0x3db)]=function(_0x47fd13,_0x269782,_0x550b79){var _0x1ce7d4=_0xd13fd4;return _0x2dfb8f['create'](_0x550b79)[_0x1ce7d4(0x31f)](_0x47fd13,_0x269782);};}()),_0x586807[_0x1c7460(0x3db)];}));}(Ie)),Ie[_0x4a7836(0x4f4)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){return rt||(rt=0x1,function(_0x3b6ef7,_0x1659a5){(function(_0x569752,_0x3bb2be,_0xef7d96){_0x3b6ef7['exports']=_0x3bb2be(ee(),At());}(Wi,function(_0x57f59a){var _0x56663e=_0x4038;_0x57f59a[_0x56663e(0x436)]['Cipher']||function(_0x1b793d){var _0x50dbce=_0x56663e,_0x4c1ea1=_0x57f59a,_0x5237c1=_0x4c1ea1['lib'],_0x41acb4=_0x5237c1[_0x50dbce(0x1b8)],_0x134f4a=_0x5237c1[_0x50dbce(0x45a)],_0x14a915=_0x5237c1[_0x50dbce(0x289)],_0x1612f1=_0x4c1ea1[_0x50dbce(0x38f)];_0x1612f1[_0x50dbce(0x34e)];var _0x51236d=_0x1612f1['Base64'],_0x5d1509=_0x4c1ea1[_0x50dbce(0x1e4)],_0x22ac90=_0x5d1509[_0x50dbce(0x3db)],_0xd28c2d=_0x5237c1[_0x50dbce(0x1d5)]=_0x14a915['extend']({'cfg':_0x41acb4['extend'](),'createEncryptor':function(_0x24e309,_0x2f7c99){var _0x2a5360=_0x50dbce;return this[_0x2a5360(0x239)](this['_ENC_XFORM_MODE'],_0x24e309,_0x2f7c99);},'createDecryptor':function(_0x3abb3c,_0x4eaedd){var _0x3e7046=_0x50dbce;return this[_0x3e7046(0x239)](this[_0x3e7046(0x275)],_0x3abb3c,_0x4eaedd);},'init':function(_0x41af44,_0x352bf2,_0x58ca10){var _0x21d85e=_0x50dbce;this[_0x21d85e(0x23b)]=this[_0x21d85e(0x23b)][_0x21d85e(0x42a)](_0x58ca10),this[_0x21d85e(0x1ac)]=_0x41af44,this['_key']=_0x352bf2,this[_0x21d85e(0x329)]();},'reset':function(){var _0x124b08=_0x50dbce;_0x14a915[_0x124b08(0x329)][_0x124b08(0x377)](this),this[_0x124b08(0x3de)]();},'process':function(_0xe0c6b){var _0x473802=_0x50dbce;return this['_append'](_0xe0c6b),this[_0x473802(0x52a)]();},'finalize':function(_0xfd6f57){var _0x2fbd2b=_0x50dbce;_0xfd6f57&&this[_0x2fbd2b(0x4f5)](_0xfd6f57);var _0x4444c7=this[_0x2fbd2b(0x276)]();return _0x4444c7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x33859f(_0x3513a7){var _0x488155=_0x4038;return typeof _0x3513a7==_0x488155(0x3d8)?_0x5b9c28:_0x54450f;}return function(_0x140bbf){return{'encrypt':function(_0xcaaf6d,_0x3d09d4,_0x596fb1){var _0x1eecf9=_0x4038;return _0x33859f(_0x3d09d4)[_0x1eecf9(0x261)](_0x140bbf,_0xcaaf6d,_0x3d09d4,_0x596fb1);},'decrypt':function(_0x360792,_0x301e0b,_0x427dcd){var _0x272188=_0x4038;return _0x33859f(_0x301e0b)[_0x272188(0x3f9)](_0x140bbf,_0x360792,_0x301e0b,_0x427dcd);}};};}())});_0x5237c1['StreamCipher']=_0xd28c2d[_0x50dbce(0x42a)]({'_doFinalize':function(){var _0x3c209f=_0x50dbce,_0x174066=this[_0x3c209f(0x52a)](!0x0);return _0x174066;},'blockSize':0x1});var _0x2524d4=_0x4c1ea1[_0x50dbce(0x52e)]={},_0x4f73fc=_0x5237c1[_0x50dbce(0x2ef)]=_0x41acb4[_0x50dbce(0x42a)]({'createEncryptor':function(_0x453502,_0x53e8e5){var _0x46d14d=_0x50dbce;return this[_0x46d14d(0x521)][_0x46d14d(0x239)](_0x453502,_0x53e8e5);},'createDecryptor':function(_0x42cd0d,_0x3d2fe7){var _0x30a748=_0x50dbce;return this['Decryptor'][_0x30a748(0x239)](_0x42cd0d,_0x3d2fe7);},'init':function(_0x2569ac,_0x5010bd){var _0x1994e1=_0x50dbce;this[_0x1994e1(0x395)]=_0x2569ac,this[_0x1994e1(0x215)]=_0x5010bd;}}),_0x209bca=_0x2524d4[_0x50dbce(0x283)]=(function(){var _0x3007ac=_0x50dbce,_0x29ac4f=_0x4f73fc[_0x3007ac(0x42a)]();_0x29ac4f['Encryptor']=_0x29ac4f['extend']({'processBlock':function(_0x35c6f3,_0x3b266b){var _0x52111b=_0x3007ac,_0x54f554=this['_cipher'],_0x42071e=_0x54f554[_0x52111b(0x3b4)];_0x2d5f3b[_0x52111b(0x377)](this,_0x35c6f3,_0x3b266b,_0x42071e),_0x54f554[_0x52111b(0x4ff)](_0x35c6f3,_0x3b266b),this[_0x52111b(0x36c)]=_0x35c6f3[_0x52111b(0x321)](_0x3b266b,_0x3b266b+_0x42071e);}}),_0x29ac4f['Decryptor']=_0x29ac4f[_0x3007ac(0x42a)]({'processBlock':function(_0x472e3f,_0x4c8491){var _0x321124=_0x3007ac,_0x3e4e36=this[_0x321124(0x395)],_0x12f1af=_0x3e4e36['blockSize'],_0x58d8c2=_0x472e3f[_0x321124(0x321)](_0x4c8491,_0x4c8491+_0x12f1af);_0x3e4e36['decryptBlock'](_0x472e3f,_0x4c8491),_0x2d5f3b[_0x321124(0x377)](this,_0x472e3f,_0x4c8491,_0x12f1af),this[_0x321124(0x36c)]=_0x58d8c2;}});function _0x2d5f3b(_0x1dad2b,_0x2033cd,_0x2562b4){var _0x3a621e=_0x3007ac,_0x58f5d6,_0x3bc9a1=this[_0x3a621e(0x215)];_0x3bc9a1?(_0x58f5d6=_0x3bc9a1,this[_0x3a621e(0x215)]=_0x1b793d):_0x58f5d6=this[_0x3a621e(0x36c)];for(var _0x3a55ae=0x0;_0x3a55ae<_0x2562b4;_0x3a55ae++)_0x1dad2b[_0x2033cd+_0x3a55ae]^=_0x58f5d6[_0x3a55ae];}return _0x29ac4f;}()),_0xe42e3e=_0x4c1ea1['pad']={},_0x25ca72=_0xe42e3e[_0x50dbce(0x278)]={'pad':function(_0x5bf833,_0x2d480b){var _0x40d2c8=_0x50dbce;for(var _0x56a912=_0x2d480b*0x4,_0x1b61e1=_0x56a912-_0x5bf833[_0x40d2c8(0x34a)]%_0x56a912,_0x2a42f4=_0x1b61e1<<0x18|_0x1b61e1<<0x10|_0x1b61e1<<0x8|_0x1b61e1,_0x554527=[],_0x20d82e=0x0;_0x20d82e<_0x1b61e1;_0x20d82e+=0x4)_0x554527[_0x40d2c8(0x4dd)](_0x2a42f4);var _0x1f5410=_0x134f4a[_0x40d2c8(0x239)](_0x554527,_0x1b61e1);_0x5bf833[_0x40d2c8(0x210)](_0x1f5410);},'unpad':function(_0x30323d){var _0x1e98eb=_0x50dbce,_0x10072f=_0x30323d[_0x1e98eb(0x320)][_0x30323d[_0x1e98eb(0x34a)]-0x1>>>0x2]&0xff;_0x30323d['sigBytes']-=_0x10072f;}};_0x5237c1[_0x50dbce(0x2df)]=_0xd28c2d['extend']({'cfg':_0xd28c2d[_0x50dbce(0x23b)]['extend']({'mode':_0x209bca,'padding':_0x25ca72}),'reset':function(){var _0x29f676=_0x50dbce,_0xc9fcb6;_0xd28c2d[_0x29f676(0x329)][_0x29f676(0x377)](this);var _0x53ec92=this[_0x29f676(0x23b)],_0x32c322=_0x53ec92['iv'],_0x7306a3=_0x53ec92[_0x29f676(0x52e)];this[_0x29f676(0x1ac)]==this['_ENC_XFORM_MODE']?_0xc9fcb6=_0x7306a3[_0x29f676(0x1cd)]:(_0xc9fcb6=_0x7306a3['createDecryptor'],this[_0x29f676(0x447)]=0x1),this[_0x29f676(0x212)]&&this[_0x29f676(0x212)][_0x29f676(0x339)]==_0xc9fcb6?this['_mode']['init'](this,_0x32c322&&_0x32c322[_0x29f676(0x320)]):(this[_0x29f676(0x212)]=_0xc9fcb6['call'](_0x7306a3,this,_0x32c322&&_0x32c322[_0x29f676(0x320)]),this[_0x29f676(0x212)][_0x29f676(0x339)]=_0xc9fcb6);},'_doProcessBlock':function(_0x2cf839,_0x310115){var _0x527555=_0x50dbce;this[_0x527555(0x212)][_0x527555(0x462)](_0x2cf839,_0x310115);},'_doFinalize':function(){var _0x4b66a3=_0x50dbce,_0x5bc3b1,_0x1b2d30=this['cfg'][_0x4b66a3(0x492)];return this[_0x4b66a3(0x1ac)]==this[_0x4b66a3(0x324)]?(_0x1b2d30[_0x4b66a3(0x448)](this['_data'],this[_0x4b66a3(0x3b4)]),_0x5bc3b1=this['_process'](!0x0)):(_0x5bc3b1=this[_0x4b66a3(0x52a)](!0x0),_0x1b2d30['unpad'](_0x5bc3b1)),_0x5bc3b1;},'blockSize':0x80/0x20});var _0x201ebf=_0x5237c1[_0x50dbce(0x3e6)]=_0x41acb4['extend']({'init':function(_0x431ac6){var _0x2680b5=_0x50dbce;this[_0x2680b5(0x2f1)](_0x431ac6);},'toString':function(_0x3797d0){var _0x2bc54f=_0x50dbce;return(_0x3797d0||this['formatter'])[_0x2bc54f(0x398)](this);}}),_0xaf6bba=_0x4c1ea1[_0x50dbce(0x528)]={},_0x130533=_0xaf6bba[_0x50dbce(0x1bf)]={'stringify':function(_0x139891){var _0x51580b=_0x50dbce,_0x57868d,_0x537804=_0x139891[_0x51580b(0x287)],_0x8e3155=_0x139891[_0x51580b(0x49d)];return _0x8e3155?_0x57868d=_0x134f4a[_0x51580b(0x239)]([0x53616c74,0x65645f5f])[_0x51580b(0x210)](_0x8e3155)[_0x51580b(0x210)](_0x537804):_0x57868d=_0x537804,_0x57868d[_0x51580b(0x2d8)](_0x51236d);},'parse':function(_0x4ffe5){var _0x5e1879=_0x50dbce,_0x118aa1,_0x4ce569=_0x51236d[_0x5e1879(0x326)](_0x4ffe5),_0x20d6f6=_0x4ce569['words'];return _0x20d6f6[0x0]==0x53616c74&&_0x20d6f6[0x1]==0x65645f5f&&(_0x118aa1=_0x134f4a[_0x5e1879(0x239)](_0x20d6f6[_0x5e1879(0x321)](0x2,0x4)),_0x20d6f6[_0x5e1879(0x432)](0x0,0x4),_0x4ce569['sigBytes']-=0x10),_0x201ebf['create']({'ciphertext':_0x4ce569,'salt':_0x118aa1});}},_0x54450f=_0x5237c1[_0x50dbce(0x2c9)]=_0x41acb4[_0x50dbce(0x42a)]({'cfg':_0x41acb4[_0x50dbce(0x42a)]({'format':_0x130533}),'encrypt':function(_0x2eddcc,_0x1107bf,_0x31a4d5,_0x333a10){var _0x11cf58=_0x50dbce;_0x333a10=this[_0x11cf58(0x23b)][_0x11cf58(0x42a)](_0x333a10);var _0x3c6561=_0x2eddcc[_0x11cf58(0x1cd)](_0x31a4d5,_0x333a10),_0x5e15ed=_0x3c6561['finalize'](_0x1107bf),_0x21def7=_0x3c6561[_0x11cf58(0x23b)];return _0x201ebf[_0x11cf58(0x239)]({'ciphertext':_0x5e15ed,'key':_0x31a4d5,'iv':_0x21def7['iv'],'algorithm':_0x2eddcc,'mode':_0x21def7[_0x11cf58(0x52e)],'padding':_0x21def7[_0x11cf58(0x492)],'blockSize':_0x2eddcc['blockSize'],'formatter':_0x333a10[_0x11cf58(0x528)]});},'decrypt':function(_0x553f0a,_0x30ff5d,_0x42cc29,_0x35043f){var _0xb61c55=_0x50dbce;_0x35043f=this[_0xb61c55(0x23b)][_0xb61c55(0x42a)](_0x35043f),_0x30ff5d=this[_0xb61c55(0x2f2)](_0x30ff5d,_0x35043f[_0xb61c55(0x528)]);var _0x1c3549=_0x553f0a['createDecryptor'](_0x42cc29,_0x35043f)[_0xb61c55(0x4d4)](_0x30ff5d['ciphertext']);return _0x1c3549;},'_parse':function(_0xf5ce59,_0x380488){var _0x15a38f=_0x50dbce;return typeof _0xf5ce59==_0x15a38f(0x3d8)?_0x380488['parse'](_0xf5ce59,this):_0xf5ce59;}}),_0x1d33a7=_0x4c1ea1[_0x50dbce(0x20a)]={},_0xbd031=_0x1d33a7['OpenSSL']={'execute':function(_0x8f48db,_0x32fd8f,_0xfc59b2,_0x590424,_0x20cba7){var _0x944779=_0x50dbce;if(_0x590424||(_0x590424=_0x134f4a[_0x944779(0x3d3)](0x40/0x8)),_0x20cba7)var _0x1ee846=_0x22ac90[_0x944779(0x239)]({'keySize':_0x32fd8f+_0xfc59b2,'hasher':_0x20cba7})[_0x944779(0x31f)](_0x8f48db,_0x590424);else var _0x1ee846=_0x22ac90['create']({'keySize':_0x32fd8f+_0xfc59b2})[_0x944779(0x31f)](_0x8f48db,_0x590424);var _0x26baa4=_0x134f4a['create'](_0x1ee846[_0x944779(0x320)][_0x944779(0x321)](_0x32fd8f),_0xfc59b2*0x4);return _0x1ee846[_0x944779(0x34a)]=_0x32fd8f*0x4,_0x201ebf[_0x944779(0x239)]({'key':_0x1ee846,'iv':_0x26baa4,'salt':_0x590424});}},_0x5b9c28=_0x5237c1[_0x50dbce(0x387)]=_0x54450f[_0x50dbce(0x42a)]({'cfg':_0x54450f['cfg']['extend']({'kdf':_0xbd031}),'encrypt':function(_0x35c98e,_0x29314a,_0x11d96f,_0xe134d8){var _0x105b02=_0x50dbce;_0xe134d8=this[_0x105b02(0x23b)][_0x105b02(0x42a)](_0xe134d8);var _0x3bef61=_0xe134d8['kdf'][_0x105b02(0x426)](_0x11d96f,_0x35c98e[_0x105b02(0x2a5)],_0x35c98e[_0x105b02(0x304)],_0xe134d8[_0x105b02(0x49d)],_0xe134d8[_0x105b02(0x372)]);_0xe134d8['iv']=_0x3bef61['iv'];var _0xbd2c0=_0x54450f[_0x105b02(0x261)][_0x105b02(0x377)](this,_0x35c98e,_0x29314a,_0x3bef61[_0x105b02(0x3a7)],_0xe134d8);return _0xbd2c0['mixIn'](_0x3bef61),_0xbd2c0;},'decrypt':function(_0xb0bff,_0x5e0bd6,_0x140816,_0x2c9506){var _0xdd9793=_0x50dbce;_0x2c9506=this['cfg'][_0xdd9793(0x42a)](_0x2c9506),_0x5e0bd6=this[_0xdd9793(0x2f2)](_0x5e0bd6,_0x2c9506[_0xdd9793(0x528)]);var _0x5e5880=_0x2c9506[_0xdd9793(0x20a)][_0xdd9793(0x426)](_0x140816,_0xb0bff[_0xdd9793(0x2a5)],_0xb0bff[_0xdd9793(0x304)],_0x5e0bd6[_0xdd9793(0x49d)],_0x2c9506[_0xdd9793(0x372)]);_0x2c9506['iv']=_0x5e5880['iv'];var _0x31fd06=_0x54450f[_0xdd9793(0x3f9)][_0xdd9793(0x377)](this,_0xb0bff,_0x5e0bd6,_0x5e5880['key'],_0x2c9506);return _0x31fd06;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x31ae88(0x4f4)],st;function Ki(){var _0x1a6b7b=_0x31ae88;return st||(st=0x1,function(_0x5bbbdd,_0x475c54){(function(_0x575deb,_0x1728f8,_0x955cc4){var _0xa68ca3=_0x4038;_0x5bbbdd[_0xa68ca3(0x4f4)]=_0x1728f8(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x4dc020){var _0xeaf15e=_0x4038;return(function(){var _0x547e7a=_0x4038,_0x159459=_0x4dc020,_0x633878=_0x159459[_0x547e7a(0x436)],_0x1e4913=_0x633878[_0x547e7a(0x2df)],_0x51deaf=_0x159459[_0x547e7a(0x1e4)],_0x186654=[],_0x2ab04b=[],_0x2017f7=[],_0xfcb165=[],_0x28326f=[],_0x5af4ca=[],_0x193e39=[],_0x37d68c=[],_0x1b20a4=[],_0x2e58ba=[];(function(){for(var _0x5c0f62=[],_0x38b2f0=0x0;_0x38b2f0<0x100;_0x38b2f0++)_0x38b2f0<0x80?_0x5c0f62[_0x38b2f0]=_0x38b2f0<<0x1:_0x5c0f62[_0x38b2f0]=_0x38b2f0<<0x1^0x11b;for(var _0x3c9f2c=0x0,_0x3de314=0x0,_0x38b2f0=0x0;_0x38b2f0<0x100;_0x38b2f0++){var _0x509c55=_0x3de314^_0x3de314<<0x1^_0x3de314<<0x2^_0x3de314<<0x3^_0x3de314<<0x4;_0x509c55=_0x509c55>>>0x8^_0x509c55&0xff^0x63,_0x186654[_0x3c9f2c]=_0x509c55,_0x2ab04b[_0x509c55]=_0x3c9f2c;var _0x175e04=_0x5c0f62[_0x3c9f2c],_0x4b697d=_0x5c0f62[_0x175e04],_0x3ac60a=_0x5c0f62[_0x4b697d],_0x45b92d=_0x5c0f62[_0x509c55]*0x101^_0x509c55*0x1010100;_0x2017f7[_0x3c9f2c]=_0x45b92d<<0x18|_0x45b92d>>>0x8,_0xfcb165[_0x3c9f2c]=_0x45b92d<<0x10|_0x45b92d>>>0x10,_0x28326f[_0x3c9f2c]=_0x45b92d<<0x8|_0x45b92d>>>0x18,_0x5af4ca[_0x3c9f2c]=_0x45b92d;var _0x45b92d=_0x3ac60a*0x1010101^_0x4b697d*0x10001^_0x175e04*0x101^_0x3c9f2c*0x1010100;_0x193e39[_0x509c55]=_0x45b92d<<0x18|_0x45b92d>>>0x8,_0x37d68c[_0x509c55]=_0x45b92d<<0x10|_0x45b92d>>>0x10,_0x1b20a4[_0x509c55]=_0x45b92d<<0x8|_0x45b92d>>>0x18,_0x2e58ba[_0x509c55]=_0x45b92d,_0x3c9f2c?(_0x3c9f2c=_0x175e04^_0x5c0f62[_0x5c0f62[_0x5c0f62[_0x3ac60a^_0x175e04]]],_0x3de314^=_0x5c0f62[_0x5c0f62[_0x3de314]]):_0x3c9f2c=_0x3de314=0x1;}}());var _0x371354=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3ffd86=_0x51deaf[_0x547e7a(0x2a1)]=_0x1e4913[_0x547e7a(0x42a)]({'_doReset':function(){var _0x54705c=_0x547e7a,_0x3b4b22;if(!(this[_0x54705c(0x47b)]&&this['_keyPriorReset']===this['_key'])){for(var _0xfaf3b8=this[_0x54705c(0x22a)]=this[_0x54705c(0x1bd)],_0x48fbff=_0xfaf3b8['words'],_0x1b5a08=_0xfaf3b8[_0x54705c(0x34a)]/0x4,_0x485df2=this[_0x54705c(0x47b)]=_0x1b5a08+0x6,_0x447cfd=(_0x485df2+0x1)*0x4,_0x541855=this[_0x54705c(0x355)]=[],_0x3dc732=0x0;_0x3dc732<_0x447cfd;_0x3dc732++)_0x3dc732<_0x1b5a08?_0x541855[_0x3dc732]=_0x48fbff[_0x3dc732]:(_0x3b4b22=_0x541855[_0x3dc732-0x1],_0x3dc732%_0x1b5a08?_0x1b5a08>0x6&&_0x3dc732%_0x1b5a08==0x4&&(_0x3b4b22=_0x186654[_0x3b4b22>>>0x18]<<0x18|_0x186654[_0x3b4b22>>>0x10&0xff]<<0x10|_0x186654[_0x3b4b22>>>0x8&0xff]<<0x8|_0x186654[_0x3b4b22&0xff]):(_0x3b4b22=_0x3b4b22<<0x8|_0x3b4b22>>>0x18,_0x3b4b22=_0x186654[_0x3b4b22>>>0x18]<<0x18|_0x186654[_0x3b4b22>>>0x10&0xff]<<0x10|_0x186654[_0x3b4b22>>>0x8&0xff]<<0x8|_0x186654[_0x3b4b22&0xff],_0x3b4b22^=_0x371354[_0x3dc732/_0x1b5a08|0x0]<<0x18),_0x541855[_0x3dc732]=_0x541855[_0x3dc732-_0x1b5a08]^_0x3b4b22);for(var _0x1693ba=this[_0x54705c(0x52d)]=[],_0x440504=0x0;_0x440504<_0x447cfd;_0x440504++){var _0x3dc732=_0x447cfd-_0x440504;if(_0x440504%0x4)var _0x3b4b22=_0x541855[_0x3dc732];else var _0x3b4b22=_0x541855[_0x3dc732-0x4];_0x440504<0x4||_0x3dc732<=0x4?_0x1693ba[_0x440504]=_0x3b4b22:_0x1693ba[_0x440504]=_0x193e39[_0x186654[_0x3b4b22>>>0x18]]^_0x37d68c[_0x186654[_0x3b4b22>>>0x10&0xff]]^_0x1b20a4[_0x186654[_0x3b4b22>>>0x8&0xff]]^_0x2e58ba[_0x186654[_0x3b4b22&0xff]];}}},'encryptBlock':function(_0x363f61,_0x18dbd0){var _0x4bdb43=_0x547e7a;this[_0x4bdb43(0x45c)](_0x363f61,_0x18dbd0,this['_keySchedule'],_0x2017f7,_0xfcb165,_0x28326f,_0x5af4ca,_0x186654);},'decryptBlock':function(_0x347b6e,_0x558708){var _0x3a0457=_0x547e7a,_0x4661d7=_0x347b6e[_0x558708+0x1];_0x347b6e[_0x558708+0x1]=_0x347b6e[_0x558708+0x3],_0x347b6e[_0x558708+0x3]=_0x4661d7,this[_0x3a0457(0x45c)](_0x347b6e,_0x558708,this[_0x3a0457(0x52d)],_0x193e39,_0x37d68c,_0x1b20a4,_0x2e58ba,_0x2ab04b);var _0x4661d7=_0x347b6e[_0x558708+0x1];_0x347b6e[_0x558708+0x1]=_0x347b6e[_0x558708+0x3],_0x347b6e[_0x558708+0x3]=_0x4661d7;},'_doCryptBlock':function(_0x1b0d7b,_0x9d89ea,_0x23a79d,_0x1c53eb,_0x353184,_0x20fa5c,_0x12579d,_0x161224){var _0x43ee81=_0x547e7a;for(var _0x39dd51=this[_0x43ee81(0x47b)],_0x47e83a=_0x1b0d7b[_0x9d89ea]^_0x23a79d[0x0],_0x3ac19a=_0x1b0d7b[_0x9d89ea+0x1]^_0x23a79d[0x1],_0x4013c2=_0x1b0d7b[_0x9d89ea+0x2]^_0x23a79d[0x2],_0x2287b6=_0x1b0d7b[_0x9d89ea+0x3]^_0x23a79d[0x3],_0x10fb62=0x4,_0x3fdc6d=0x1;_0x3fdc6d<_0x39dd51;_0x3fdc6d++){var _0x162320=_0x1c53eb[_0x47e83a>>>0x18]^_0x353184[_0x3ac19a>>>0x10&0xff]^_0x20fa5c[_0x4013c2>>>0x8&0xff]^_0x12579d[_0x2287b6&0xff]^_0x23a79d[_0x10fb62++],_0x58391b=_0x1c53eb[_0x3ac19a>>>0x18]^_0x353184[_0x4013c2>>>0x10&0xff]^_0x20fa5c[_0x2287b6>>>0x8&0xff]^_0x12579d[_0x47e83a&0xff]^_0x23a79d[_0x10fb62++],_0x42099a=_0x1c53eb[_0x4013c2>>>0x18]^_0x353184[_0x2287b6>>>0x10&0xff]^_0x20fa5c[_0x47e83a>>>0x8&0xff]^_0x12579d[_0x3ac19a&0xff]^_0x23a79d[_0x10fb62++],_0x2bf167=_0x1c53eb[_0x2287b6>>>0x18]^_0x353184[_0x47e83a>>>0x10&0xff]^_0x20fa5c[_0x3ac19a>>>0x8&0xff]^_0x12579d[_0x4013c2&0xff]^_0x23a79d[_0x10fb62++];_0x47e83a=_0x162320,_0x3ac19a=_0x58391b,_0x4013c2=_0x42099a,_0x2287b6=_0x2bf167;}var _0x162320=(_0x161224[_0x47e83a>>>0x18]<<0x18|_0x161224[_0x3ac19a>>>0x10&0xff]<<0x10|_0x161224[_0x4013c2>>>0x8&0xff]<<0x8|_0x161224[_0x2287b6&0xff])^_0x23a79d[_0x10fb62++],_0x58391b=(_0x161224[_0x3ac19a>>>0x18]<<0x18|_0x161224[_0x4013c2>>>0x10&0xff]<<0x10|_0x161224[_0x2287b6>>>0x8&0xff]<<0x8|_0x161224[_0x47e83a&0xff])^_0x23a79d[_0x10fb62++],_0x42099a=(_0x161224[_0x4013c2>>>0x18]<<0x18|_0x161224[_0x2287b6>>>0x10&0xff]<<0x10|_0x161224[_0x47e83a>>>0x8&0xff]<<0x8|_0x161224[_0x3ac19a&0xff])^_0x23a79d[_0x10fb62++],_0x2bf167=(_0x161224[_0x2287b6>>>0x18]<<0x18|_0x161224[_0x47e83a>>>0x10&0xff]<<0x10|_0x161224[_0x3ac19a>>>0x8&0xff]<<0x8|_0x161224[_0x4013c2&0xff])^_0x23a79d[_0x10fb62++];_0x1b0d7b[_0x9d89ea]=_0x162320,_0x1b0d7b[_0x9d89ea+0x1]=_0x58391b,_0x1b0d7b[_0x9d89ea+0x2]=_0x42099a,_0x1b0d7b[_0x9d89ea+0x3]=_0x2bf167;},'keySize':0x100/0x20});_0x159459[_0x547e7a(0x2a1)]=_0x1e4913[_0x547e7a(0x524)](_0x3ffd86);}()),_0x4dc020[_0xeaf15e(0x2a1)];}));}(fe)),fe[_0x1a6b7b(0x4f4)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x31ae88(0x4f4)],at;function Xi(){var _0xb5f362=_0x31ae88;return at||(at=0x1,function(_0x390fce,_0x4f8110){(function(_0x3cd0d1,_0x10f711){var _0x14745e=_0x4038;_0x390fce[_0x14745e(0x4f4)]=_0x10f711(ee());}(Ji,function(_0x2c9bb9){var _0x59aa2a=_0x4038;return _0x2c9bb9[_0x59aa2a(0x38f)]['Utf8'];}));}(be)),be[_0xb5f362(0x4f4)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x31ae88(0x4f4)],ct;function tn(){var _0xb78b07=_0x31ae88;return ct||(ct=0x1,function(_0x3aec12,_0x5419fc){(function(_0x285227,_0x26150a){var _0x77b968=_0x4038;_0x3aec12[_0x77b968(0x4f4)]=_0x26150a(ee());}(en,function(_0x2a8554){var _0xf778ac=_0x4038;return(function(){var _0x2bacf0=_0x4038;if(typeof ArrayBuffer==_0x2bacf0(0x31c)){var _0x3f832d=_0x2a8554,_0x4ca303=_0x3f832d[_0x2bacf0(0x436)],_0x3b8243=_0x4ca303[_0x2bacf0(0x45a)],_0x57b80a=_0x3b8243[_0x2bacf0(0x2de)],_0x3b67ce=_0x3b8243[_0x2bacf0(0x2de)]=function(_0x3f0c04){var _0x1c81bd=_0x2bacf0;if(_0x3f0c04 instanceof ArrayBuffer&&(_0x3f0c04=new Uint8Array(_0x3f0c04)),(_0x3f0c04 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f0c04 instanceof Uint8ClampedArray||_0x3f0c04 instanceof Int16Array||_0x3f0c04 instanceof Uint16Array||_0x3f0c04 instanceof Int32Array||_0x3f0c04 instanceof Uint32Array||_0x3f0c04 instanceof Float32Array||_0x3f0c04 instanceof Float64Array)&&(_0x3f0c04=new Uint8Array(_0x3f0c04[_0x1c81bd(0x383)],_0x3f0c04[_0x1c81bd(0x22c)],_0x3f0c04[_0x1c81bd(0x4a9)])),_0x3f0c04 instanceof Uint8Array){for(var _0x1c2f28=_0x3f0c04[_0x1c81bd(0x4a9)],_0x140ea9=[],_0x4c2a1e=0x0;_0x4c2a1e<_0x1c2f28;_0x4c2a1e++)_0x140ea9[_0x4c2a1e>>>0x2]|=_0x3f0c04[_0x4c2a1e]<<0x18-_0x4c2a1e%0x4*0x8;_0x57b80a[_0x1c81bd(0x377)](this,_0x140ea9,_0x1c2f28);}else _0x57b80a[_0x1c81bd(0x3c5)](this,arguments);};_0x3b67ce['prototype']=_0x3b8243;}}()),_0x2a8554['lib'][_0xf778ac(0x45a)];}));}(Re)),Re[_0xb78b07(0x4f4)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0x5c4589=_0x31ae88;return ht||(ht=0x1,function(_0x49f53b,_0x4bdb5d){(function(_0x38dc58,_0x1d4730,_0x3a4706){_0x49f53b['exports']=_0x1d4730(ee(),Pt());}(sn,function(_0x5bac8b){var _0x3bd62d=_0x4038;return _0x5bac8b[_0x3bd62d(0x448)][_0x3bd62d(0x397)]={'pad':function(){},'unpad':function(){}},_0x5bac8b[_0x3bd62d(0x448)]['NoPadding'];}));}(Oe)),Oe[_0x5c4589(0x4f4)];}var an=on();const cn=Se(an);function hn(_0x28bdd8,_0xc1dc65){var _0x4a7a9e=_0x31ae88;const _0x320d65=_0xc1dc65-_0x28bdd8[_0x4a7a9e(0x2a4)]%_0xc1dc65,_0x251205=String['fromCharCode'](_0x320d65)[_0x4a7a9e(0x335)](_0x320d65);return _0x28bdd8+_0x251205;}function ln(_0x4345ae,_0x5595ae){var _0xecd7bb=_0x31ae88;const _0x5b9577=rn[_0xecd7bb(0x3d3)](0x10),_0x324b6a=hn(_0x4345ae,0x10),_0x568531=qi[_0xecd7bb(0x261)](Qi[_0xecd7bb(0x326)](_0x324b6a),ot['parse'](_0x5595ae),{'iv':_0x5b9577,'padding':cn});return _0x5b9577['concat'](_0x568531[_0xecd7bb(0x287)])['toString'](ot);}function _n(){var _0x3947fb=_0x31ae88;const _0x1266ab=xt[_0x3947fb(0x532)]()[_0x3947fb(0x1ce)];if(_0x1266ab){const _0x5a55ea={'time':Math[_0x3947fb(0x279)](Date['now']()/0x3e8),'domain':location[_0x3947fb(0x226)]};return ln(JSON[_0x3947fb(0x398)](_0x5a55ea),_0x1266ab);}}var un=Object[_0x31ae88(0x4cc)],dn=(_0x3c4240,_0xa6cb2d,_0x4660bd,_0x4fe52d)=>{var _0x11ca01=_0x31ae88;for(var _0x5ef051=_0x4fe52d>0x1?void 0x0:_0x4fe52d?un(_0xa6cb2d,_0x4660bd):_0xa6cb2d,_0x1859e6=_0x3c4240[_0x11ca01(0x2a4)]-0x1,_0x3c86dc;_0x1859e6>=0x0;_0x1859e6--)(_0x3c86dc=_0x3c4240[_0x1859e6])&&(_0x5ef051=_0x3c86dc(_0x5ef051)||_0x5ef051);return _0x5ef051;},vn=(_0x3c9c81,_0x257e87)=>(_0x271fdb,_0x2bcb18)=>_0x257e87(_0x271fdb,_0x2bcb18,_0x3c9c81);let Ne=class{constructor(_0x5d8706){var _0x32ea03=_0x31ae88;this[_0x32ea03(0x2ba)]=_0x5d8706,this[_0x32ea03(0x26b)]();}[_0x31ae88(0x26b)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3330d1,_0x103c1d)=>{var _0x1d2bfb=_0x4038;const _0x556dd0=_0x3330d1['headers'],_0x515d21=_n();return _0x515d21&&_0x556dd0[_0x1d2bfb(0x3cf)](_0x1d2bfb(0x477),_0x515d21),_0x103c1d(_0x3330d1);}});}};Ne=dn([vn(0x0,a[_0x31ae88(0x2a8)](q['HTTPService']))],Ne);var Sn=Object[_0x31ae88(0x4cc)],fn=(_0x379b82,_0x3ca949,_0x410b46,_0x46d855)=>{var _0x1cb19b=_0x31ae88;for(var _0x223a01=_0x46d855>0x1?void 0x0:_0x46d855?Sn(_0x3ca949,_0x410b46):_0x3ca949,_0x5b8e32=_0x379b82[_0x1cb19b(0x2a4)]-0x1,_0x36d6ff;_0x5b8e32>=0x0;_0x5b8e32--)(_0x36d6ff=_0x379b82[_0x5b8e32])&&(_0x223a01=_0x36d6ff(_0x223a01)||_0x223a01);return _0x223a01;},Me=(_0x22e05f,_0xc5f3ae)=>(_0x3127a0,_0x57d6fd)=>_0xc5f3ae(_0x3127a0,_0x57d6fd,_0x22e05f);exports[_0x31ae88(0x3c4)]=class extends a[_0x31ae88(0x2b5)]{constructor(_0x4ba524,_0x43ea9c,_0x5670a6){var _0x3bb003=_0x31ae88;super(),A(this,_0x3bb003(0x46f),new j['BehaviorSubject'](null)),A(this,_0x3bb003(0x25a),this[_0x3bb003(0x46f)][_0x3bb003(0x3a1)]()),(this[_0x3bb003(0x393)]=_0x4ba524,this[_0x3bb003(0x2e6)]=_0x43ea9c,this[_0x3bb003(0x4af)]=_0x5670a6);}async[_0x31ae88(0x2c2)](_0xd95fd2,_0x194bf1,_0x16bef4){var _0x27f39f=_0x31ae88;this['_unitInfo$'][_0x27f39f(0x1e8)]({'unitId':_0xd95fd2,'type':_0x194bf1,'subUnitId':_0x16bef4});let _0x317396=null;switch(_0x194bf1){case X['UNIVER_SHEET']:{_0x317396=await this[_0x27f39f(0x35a)](_0xd95fd2);break;}case X[_0x27f39f(0x25d)]:{_0x317396=await this['_loadDoc'](_0xd95fd2);break;}default:{this[_0x27f39f(0x393)][_0x27f39f(0x4b2)](_0x27f39f(0x4a3),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x317396;}async[_0x31ae88(0x35a)](_0x4b0a78){var _0x1b60c1=_0x31ae88,_0x349d05;let _0x25faab=0x0;const _0x37556e=await((_0x349d05=this[_0x1b60c1(0x4af)])==null?void 0x0:_0x349d05[_0x1b60c1(0x24e)](_0x4b0a78));return _0x37556e&&(_0x37556e[_0x1b60c1(0x4d0)]||_0x37556e['mutations']['length']!==0x0)&&(_0x25faab=_0x37556e[_0x1b60c1(0x2f6)]),_0x25faab===0x0&&this[_0x1b60c1(0x393)][_0x1b60c1(0x42f)](_0x1b60c1(0x4a3),_0x1b60c1(0x430)),this[_0x1b60c1(0x2e6)][_0x1b60c1(0x3c1)](_0x4b0a78,_0x25faab);}async['_loadDoc'](_0xdb47d1){var _0x59dee7=_0x31ae88,_0x38e8de;let _0x197b06=0x0;const _0x1e9a2f=await((_0x38e8de=this[_0x59dee7(0x4af)])==null?void 0x0:_0x38e8de['loadOfflineData'](_0xdb47d1));return _0x1e9a2f&&(_0x1e9a2f['awaitingChangeset']||_0x1e9a2f['mutations']['length']!==0x0)&&(_0x197b06=_0x1e9a2f['rev']),_0x197b06===0x0&&this['_logService'][_0x59dee7(0x42f)](_0x59dee7(0x4a3),_0x59dee7(0x430)),this[_0x59dee7(0x2e6)][_0x59dee7(0x410)](_0xdb47d1,_0x197b06);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x31ae88(0x530)]),Me(0x1,a[_0x31ae88(0x2a8)](g['SnapshotService'])),Me(0x2,a[_0x31ae88(0x516)](z))],exports[_0x31ae88(0x3c4)]);var pn=Object[_0x31ae88(0x4cc)],gn=(_0x116287,_0x1a1e71,_0x4f53b2,_0x148002)=>{var _0x4ad6f7=_0x31ae88;for(var _0x2bacec=_0x148002>0x1?void 0x0:_0x148002?pn(_0x1a1e71,_0x4f53b2):_0x1a1e71,_0x12cbe4=_0x116287[_0x4ad6f7(0x2a4)]-0x1,_0x22ced2;_0x12cbe4>=0x0;_0x12cbe4--)(_0x22ced2=_0x116287[_0x12cbe4])&&(_0x2bacec=_0x22ced2(_0x2bacec)||_0x2bacec);return _0x2bacec;},xe=(_0x4611a3,_0x24892f)=>(_0x4d2249,_0x1889c0)=>_0x24892f(_0x4d2249,_0x1889c0,_0x4611a3);const mn=['image/png',_0x31ae88(0x4dc),_0x31ae88(0x1fa),_0x31ae88(0x266),_0x31ae88(0x30e)],In=0x5*0x400*0x400,En=_0x31ae88(0x529),Cn=_0x31ae88(0x360),Tn=_0x31ae88(0x508),bn=_0x31ae88(0x36e);exports[_0x31ae88(0x3bd)]=class{constructor(_0x31dc8b,_0x220ad7,_0x332aba){var _0xc93a9f=_0x31ae88;A(this,_0xc93a9f(0x3ae),0x0),A(this,_0xc93a9f(0x3e1),new j[(_0xc93a9f(0x444))]()),A(this,_0xc93a9f(0x309),this[_0xc93a9f(0x3e1)]),A(this,_0xc93a9f(0x2e8),new Map()),(this[_0xc93a9f(0x2ba)]=_0x31dc8b,this[_0xc93a9f(0x403)]=_0x220ad7,this[_0xc93a9f(0x34b)]=_0x332aba);}[_0x31ae88(0x4b5)](_0x531b25){var _0x4bdb37=_0x31ae88;this[_0x4bdb37(0x3ae)]=_0x531b25,this[_0x4bdb37(0x3e1)]['next'](_0x531b25);}[_0x31ae88(0x322)](_0x433e67,_0x4d1c17){var _0x3215ce=_0x31ae88;if(_0x4d1c17===J[_0x3215ce(0x496)][_0x3215ce(0x4cb)]){const _0x5de94b=new Image();return _0x5de94b[_0x3215ce(0x2ea)]=_0x433e67,_0x5de94b;}return this[_0x3215ce(0x2e8)][_0x3215ce(0x20c)](_0x433e67);}[_0x31ae88(0x3b6)](_0x17408c,_0x5d85a1,_0x880c99){var _0x5a56f1=_0x31ae88;_0x5d85a1===J[_0x5a56f1(0x496)][_0x5a56f1(0x4cb)]||_0x880c99==null||this['_imageSourceCache']['set'](_0x17408c,_0x880c99);}async[_0x31ae88(0x2bd)](_0x4f4dba){var _0x108098=_0x31ae88;try{const _0x3f19c3=this[_0x108098(0x242)](this[_0x108098(0x1c8)](),''+_0x4f4dba),_0x290b5f=(await this[_0x108098(0x2ba)][_0x108098(0x20c)](_0x3f19c3))['body'];if(_0x290b5f[_0x108098(0x4b2)]&&_0x290b5f['error']['code']===Ct['OK']){const _0x4e58dd=new URL(_0x290b5f[_0x108098(0x50c)],this[_0x108098(0x1fc)]())[_0x108098(0x2d8)]();return Promise['resolve'](_0x4e58dd);}return Promise[_0x108098(0x458)](_0x290b5f[_0x108098(0x4b2)]);}catch(_0x48ae16){return Promise['reject'](_0x48ae16);}}async[_0x31ae88(0x396)](_0x209391){var _0x43ebe9=_0x31ae88;let _0x4da6bd='';if(!mn[_0x43ebe9(0x2b8)](_0x209391[_0x43ebe9(0x3d6)]))return this[_0x43ebe9(0x25c)](),Promise['reject'](new Error(J[_0x43ebe9(0x4f1)][_0x43ebe9(0x3c7)]));if(_0x209391['size']>In)return this['_decreaseWaiting'](),Promise[_0x43ebe9(0x458)](new Error(J[_0x43ebe9(0x4f1)][_0x43ebe9(0x4a0)]));try{const _0x2808d6=new FormData();_0x2808d6[_0x43ebe9(0x26d)]('file',_0x209391);const _0x197b94=this[_0x43ebe9(0x34b)][_0x43ebe9(0x4c7)](),_0x3d4a0d=_0x197b94==null?void 0x0:_0x197b94['getUnitId']();if(!_0x3d4a0d)throw new Error(_0x43ebe9(0x413));const _0x5d5f4d=this[_0x43ebe9(0x246)]()+_0x43ebe9(0x295)+_0x209391['size']['toString']()+_0x43ebe9(0x1bc)+Tt[_0x43ebe9(0x4db)]+_0x43ebe9(0x47e)+encodeURIComponent(_0x3d4a0d),_0x23ec56=await(await fetch(_0x5d5f4d,{'method':_0x43ebe9(0x29d),'body':_0x2808d6}))[_0x43ebe9(0x50a)]();if(typeof _0x23ec56['FileId']!=_0x43ebe9(0x3d8))return this[_0x43ebe9(0x25c)](),Promise[_0x43ebe9(0x458)](new Error(J[_0x43ebe9(0x4f1)][_0x43ebe9(0x1b4)]));_0x4da6bd=_0x23ec56[_0x43ebe9(0x317)];}catch{return this[_0x43ebe9(0x25c)](),Promise[_0x43ebe9(0x458)](new Error(J[_0x43ebe9(0x4f1)]['ERROR_IMAGE']));}return new Promise((_0x55ff8c,_0x14f153)=>{var _0x2b118c=_0x43ebe9;const _0x362a27=new FileReader();_0x362a27[_0x2b118c(0x302)](_0x209391),_0x362a27[_0x2b118c(0x1c4)]=_0x54a3ef=>{var _0x59c6c3=_0x2b118c,_0x1519ae;const _0x53a52d=(_0x1519ae=_0x54a3ef[_0x59c6c3(0x439)])==null?void 0x0:_0x1519ae[_0x59c6c3(0x3f1)];if(_0x53a52d==null){this[_0x59c6c3(0x25c)](),_0x14f153(new Error(J[_0x59c6c3(0x4f1)][_0x59c6c3(0x1b4)]));return;}const _0x1283cf=a['Tools'][_0x59c6c3(0x313)](0x6);_0x55ff8c({'imageId':_0x1283cf,'imageSourceType':J[_0x59c6c3(0x496)][_0x59c6c3(0x31d)],'source':_0x4da6bd,'base64Cache':_0x53a52d,'status':J[_0x59c6c3(0x4f1)][_0x59c6c3(0x1d0)]}),this[_0x59c6c3(0x25c)]();};});}['_getUploadFileURL'](){var _0x5ef80e=_0x31ae88,_0x38f5c1,_0x3781a8;const _0x3f99a3=this[_0x5ef80e(0x403)][_0x5ef80e(0x428)](En),_0x54bd88=this['_configService']['getConfig'](Y);return(_0x3781a8=(_0x38f5c1=_0x54bd88==null?void 0x0:_0x54bd88['uploadFileServerUrl'])!=null?_0x38f5c1:_0x3f99a3)!=null?_0x3781a8:Cn;}[_0x31ae88(0x1c8)](){var _0x2c08c3=_0x31ae88,_0xd6bbc,_0x14a43d;const _0x4ce462=this[_0x2c08c3(0x403)]['getConfig'](Tn),_0xdfa480=this[_0x2c08c3(0x403)][_0x2c08c3(0x428)](Y);return(_0x14a43d=(_0xd6bbc=_0xdfa480==null?void 0x0:_0xdfa480[_0x2c08c3(0x200)])!=null?_0xd6bbc:_0x4ce462)!=null?_0x14a43d:bn;}[_0x31ae88(0x1fc)](){var _0x14529c=_0x31ae88,_0x1cd3fd;const _0x34ae72=this[_0x14529c(0x403)][_0x14529c(0x428)](Y);return(_0x1cd3fd=_0x34ae72==null?void 0x0:_0x34ae72['downloadEndpointUrl'])!=null?_0x1cd3fd:location[_0x14529c(0x471)];}['_replaceFileID'](_0x2780cb,_0x544ea6){var _0x13198a=_0x31ae88;return _0x2780cb[_0x13198a(0x3ce)]('{fileID}',_0x544ea6);}[_0x31ae88(0x25c)](){var _0x34b134=_0x31ae88;this[_0x34b134(0x3ae)]-=0x1,this[_0x34b134(0x3e1)][_0x34b134(0x1e8)](this[_0x34b134(0x3ae)]);}},exports[_0x31ae88(0x3bd)]=gn([xe(0x0,a['Inject'](q[_0x31ae88(0x1fd)])),xe(0x1,a[_0x31ae88(0x1fb)]),xe(0x2,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x37d)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x31ae88(0x4cc)],On=(_0x97b5f5,_0x4ceb8a,_0x6c1ecd,_0x2352fd)=>{var _0xb0946a=_0x31ae88;for(var _0x4fdcd4=_0x2352fd>0x1?void 0x0:_0x2352fd?Rn(_0x4ceb8a,_0x6c1ecd):_0x4ceb8a,_0x3f0c96=_0x97b5f5[_0xb0946a(0x2a4)]-0x1,_0x1b5368;_0x3f0c96>=0x0;_0x3f0c96--)(_0x1b5368=_0x97b5f5[_0x3f0c96])&&(_0x4fdcd4=_0x1b5368(_0x4fdcd4)||_0x4fdcd4);return _0x4fdcd4;},lt=(_0x1b455e,_0x4eb311)=>(_0x16a755,_0x439a67)=>_0x4eb311(_0x16a755,_0x439a67,_0x1b455e);const yn=_0x31ae88(0x35d);function _0x4038(_0x2c02e3,_0x14e58b){var _0x5e300c=_0x5e30();return _0x4038=function(_0x403821,_0x15ac71){_0x403821=_0x403821-0x1ac;var _0x1a5b68=_0x5e300c[_0x403821];return _0x1a5b68;},_0x4038(_0x2c02e3,_0x14e58b);}exports['MentionIoHttpService']=class{constructor(_0x1413d7,_0x50b142){var _0x35cee7=_0x31ae88;this[_0x35cee7(0x403)]=_0x1413d7,this[_0x35cee7(0x24a)]=_0x50b142;}[_0x31ae88(0x1c7)](){var _0x48a55b=_0x31ae88,_0x5e4303,_0x70f5c9;const _0x547c07=this[_0x48a55b(0x403)]['getConfig'](Ge),_0x14461b=this[_0x48a55b(0x403)][_0x48a55b(0x428)](Y);return(_0x70f5c9=(_0x5e4303=_0x14461b==null?void 0x0:_0x14461b[_0x48a55b(0x2fe)])!=null?_0x5e4303:_0x547c07)!=null?_0x70f5c9:yn;}async[_0x31ae88(0x345)](_0xaecd0d){var _0x4aebc1=_0x31ae88;const _0x361b24=this[_0x4aebc1(0x1c7)]()+'/collaborator';return{'list':[{'title':_0x4aebc1(0x388),'mentions':(await this['_HTTPService'][_0x4aebc1(0x20c)](_0x361b24,{'params':{'objectID':_0xaecd0d[_0x4aebc1(0x4fc)],'unitID':_0xaecd0d['unitId']}}))['body']['collaborators'][_0x4aebc1(0x4ea)](_0x400db6=>({'objectId':_0x400db6['id'],'name':_0x400db6['subject'][_0x4aebc1(0x220)],'metadata':{'icon':_0x400db6[_0x4aebc1(0x49a)]['avatar']},'label':_0x400db6[_0x4aebc1(0x49a)][_0x4aebc1(0x220)],'objectType':a[_0x4aebc1(0x361)][_0x4aebc1(0x2dc)]})),'metadata':{},'type':a['MentionType'][_0x4aebc1(0x2dc)]}]};}},exports[_0x31ae88(0x315)]=On([lt(0x0,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x1fb)])),lt(0x1,a[_0x31ae88(0x2a8)](q[_0x31ae88(0x1fd)]))],exports[_0x31ae88(0x315)]);var Nn=Object[_0x31ae88(0x4cc)],Dn=(_0x5c026c,_0x5156aa,_0x3a5fa0,_0x4f854d)=>{var _0x534231=_0x31ae88;for(var _0x2f7170=_0x4f854d>0x1?void 0x0:_0x4f854d?Nn(_0x5156aa,_0x3a5fa0):_0x5156aa,_0x38dba2=_0x5c026c[_0x534231(0x2a4)]-0x1,_0x478175;_0x38dba2>=0x0;_0x38dba2--)(_0x478175=_0x5c026c[_0x38dba2])&&(_0x2f7170=_0x478175(_0x2f7170)||_0x2f7170);return _0x2f7170;},ue=(_0x5d3c7d,_0x496517)=>(_0x306ba2,_0x5c49fe)=>_0x496517(_0x306ba2,_0x5c49fe,_0x5d3c7d);let De=class extends a[_0x31ae88(0x2b5)]{constructor(_0x50a61b,_0x5e89d1,_0x29013f,_0x5a2c75,_0x5ee40a){var _0x4483f4=_0x31ae88;super(),this[_0x4483f4(0x3f7)]=_0x50a61b,this['_univerInstanceService']=_0x5e89d1,this[_0x4483f4(0x362)]=_0x29013f,this[_0x4483f4(0x346)]=_0x5a2c75,this['_collaborationUIEventService']=_0x5ee40a,this['_initUnitPermissionChange'](),this[_0x4483f4(0x394)]();}[_0x31ae88(0x394)](){var _0x1558bb=_0x31ae88;const _0x349db3=async _0x51fcf7=>{var _0x4330c1=_0x4038;(await this[_0x4330c1(0x346)][_0x4330c1(0x3ee)](_0x51fcf7))[_0x4330c1(0x1db)][_0x4330c1(0x4cf)](V[_0x4330c1(0x498)](_0x52eae2=>_0x52eae2[_0x4330c1(0x2b2)]===g[_0x4330c1(0x502)]['SHOULD_CLOSE_CONN']),V[_0x4330c1(0x31b)](this[_0x4330c1(0x286)]))[_0x4330c1(0x280)](_0x5f4db7=>{var _0x212472=_0x4330c1;const _0x3b0e1c=_0x5f4db7,{reason:_0x3d8f38}=_0x3b0e1c[_0x212472(0x4ed)];this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x212472(0x511)],'data':_0x3d8f38}),this[_0x212472(0x362)][_0x212472(0x370)](new Z[(_0x212472(0x47a))](_0x51fcf7)['id'],!0x1),this[_0x212472(0x346)][_0x212472(0x336)](_0x51fcf7);});};j[_0x1558bb(0x3df)](this[_0x1558bb(0x34b)][_0x1558bb(0x28a)](a[_0x1558bb(0x3af)][_0x1558bb(0x1d1)]),this[_0x1558bb(0x34b)][_0x1558bb(0x28a)](a[_0x1558bb(0x3af)][_0x1558bb(0x25d)]))[_0x1558bb(0x4cf)](V['map'](_0x3e4139=>_0x3e4139[_0x1558bb(0x291)]()),V[_0x1558bb(0x498)](_0x425ea6=>!a[_0x1558bb(0x2ca)](_0x425ea6)),V[_0x1558bb(0x31b)](this[_0x1558bb(0x286)]))[_0x1558bb(0x280)](_0x2b3564=>{_0x349db3(_0x2b3564);});}['_initUnitPermissionChange'](){var _0x28aa74=_0x31ae88;const _0x48b2e=async _0x1f9aa6=>{var _0x15a8b8=_0x4038;const _0x2d85c4=await this[_0x15a8b8(0x346)]['requireSession'](_0x1f9aa6),_0x319d84=this[_0x15a8b8(0x3f7)][_0x15a8b8(0x20c)](Z[_0x15a8b8(0x32d)]);_0x2d85c4[_0x15a8b8(0x1db)]['pipe'](V[_0x15a8b8(0x498)](_0x1a882c=>_0x1a882c[_0x15a8b8(0x2b2)]===g['CollaborationEvent'][_0x15a8b8(0x24d)]),V[_0x15a8b8(0x31b)](this['dispose$']))[_0x15a8b8(0x280)](_0x5040a6=>{var _0x5cc6ea=_0x15a8b8;const _0x8fe34c=_0x5040a6,{objectId:_0x53b46f}=_0x8fe34c[_0x5cc6ea(0x4ed)];_0x53b46f===_0x1f9aa6?_0x319d84[_0x5cc6ea(0x2d4)](_0x1f9aa6):_0x319d84['refreshPermission'](_0x1f9aa6,_0x53b46f);});};j[_0x28aa74(0x3df)](this[_0x28aa74(0x34b)][_0x28aa74(0x28a)](a[_0x28aa74(0x3af)][_0x28aa74(0x1d1)]))[_0x28aa74(0x4cf)](V['map'](_0x13ad3b=>_0x13ad3b['getUnitId']()),V[_0x28aa74(0x498)](_0x334e65=>!a[_0x28aa74(0x2ca)](_0x334e65)),V[_0x28aa74(0x31b)](this['dispose$']))[_0x28aa74(0x280)](_0x4dba46=>{_0x48b2e(_0x4dba46);});}};De=Dn([ue(0x0,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),ue(0x1,a[_0x31ae88(0x37d)]),ue(0x2,a[_0x31ae88(0x35e)]),ue(0x3,a[_0x31ae88(0x2a8)](exports[_0x31ae88(0x27f)])),ue(0x4,a[_0x31ae88(0x2a8)](te))],De);var Un=Object[_0x31ae88(0x4cc)],An=(_0x42f0c7,_0x2aa4de,_0x2a56d1,_0xc54e03)=>{var _0x3dc690=_0x31ae88;for(var _0x4a1e05=_0xc54e03>0x1?void 0x0:_0xc54e03?Un(_0x2aa4de,_0x2a56d1):_0x2aa4de,_0x2cd7e3=_0x42f0c7[_0x3dc690(0x2a4)]-0x1,_0x19617a;_0x2cd7e3>=0x0;_0x2cd7e3--)(_0x19617a=_0x42f0c7[_0x2cd7e3])&&(_0x4a1e05=_0x19617a(_0x4a1e05)||_0x4a1e05);return _0x4a1e05;},_t=(_0x23e160,_0x2b8a85)=>(_0x34254e,_0x5761ec)=>_0x2b8a85(_0x34254e,_0x5761ec,_0x23e160);exports['SnapshotServerOverHTTPService']=class{constructor(_0xc23829,_0x1bfb51){var _0xc1ff06=_0x31ae88;this[_0xc1ff06(0x403)]=_0xc23829,this[_0xc1ff06(0x2ba)]=_0x1bfb51;}async['getUnitOnRev'](_0x58d430,_0x1a665d){var _0x37a347=_0x31ae88,_0x28d7e8;const {unitID:_0x11f0ea,type:_0x421a1c,revision:_0x38c138=0x0}=_0x1a665d,_0x37e263=this[_0x37a347(0x509)]()+'/'+_0x421a1c+_0x37a347(0x3f3)+_0x11f0ea+'/rev/'+_0x38c138,_0x1a2781=(await this[_0x37a347(0x2ba)][_0x37a347(0x20c)](_0x37e263))[_0x37a347(0x1f2)],_0x14d391=(_0x28d7e8=_0x1a2781['snapshot'])==null?void 0x0:_0x28d7e8[_0x37a347(0x1d2)];if(_0x14d391){const _0x3a1931=_0x14d391==null?void 0x0:_0x14d391[_0x37a347(0x20d)],_0x32cc44=g[_0x37a347(0x1f5)][_0x37a347(0x3d4)](g[_0x37a347(0x259)](_0x3a1931));_0x14d391[_0x37a347(0x20d)]=_0x32cc44,Object[_0x37a347(0x1cf)](_0x14d391[_0x37a347(0x285)])[_0x37a347(0x38d)](([,_0x2efba8])=>{var _0x5c9e69=_0x37a347;const _0x88b9a0=_0x2efba8[_0x5c9e69(0x20d)],_0x37566b=g[_0x5c9e69(0x1f5)][_0x5c9e69(0x3d4)](g[_0x5c9e69(0x259)](_0x88b9a0));_0x2efba8['originalMeta']=_0x37566b;});}return _0x1a2781;}async[_0x31ae88(0x2e9)](_0x24ed6f,_0x4e65d0){var _0x46c068=_0x31ae88;const {unitID:_0x53260b,type:_0x2c13aa,blockID:_0x78c765}=_0x4e65d0,_0xd157cf=this['_getAPIPrefix']()+'/'+_0x2c13aa+_0x46c068(0x3f3)+_0x53260b+'/block/'+_0x78c765;return(await this['_httpService'][_0x46c068(0x20c)](_0xd157cf))[_0x46c068(0x1f2)];}async[_0x31ae88(0x48b)](_0x1cc1d9,_0xaabe23){var _0xa4376d=_0x31ae88;const {unitID:_0x2c4385,type:_0x4c007d,blockID:_0x3734e0}=_0xaabe23,_0x4aa0e5=this[_0xa4376d(0x441)]()+_0xa4376d(0x292)+_0x4c007d+_0xa4376d(0x3f3)+_0x2c4385+_0xa4376d(0x292)+_0x3734e0;return(await this[_0xa4376d(0x2ba)][_0xa4376d(0x20c)](_0x4aa0e5))[_0xa4376d(0x1f2)];}async[_0x31ae88(0x4f3)](_0x157c2c,_0x5b14d7){var _0x5ca6b5=_0x31ae88;const {unitID:_0x47e8d4,type:_0x10ff55,from:_0x50517e,to:_0x5ed612}=_0x5b14d7,_0x30a10f=this[_0x5ca6b5(0x441)]()+'/'+_0x10ff55+_0x5ca6b5(0x3f3)+_0x47e8d4+_0x5ca6b5(0x1ff)+_0x50517e+_0x5ca6b5(0x1ba)+_0x5ed612;return(await this[_0x5ca6b5(0x2ba)][_0x5ca6b5(0x20c)](_0x30a10f))['body'];}['getSnapshotAPIPath'](){var _0x2699aa=_0x31ae88,_0x11e899;return(_0x11e899=this[_0x2699aa(0x403)][_0x2699aa(0x428)](vt))!=null?_0x11e899:this[_0x2699aa(0x441)]();}[_0x31ae88(0x441)](){var _0x45ba11=_0x31ae88,_0x4bd7e1,_0x2ebad8;const _0x27089e=this[_0x45ba11(0x403)][_0x45ba11(0x428)](dt),_0x1a40c6=this['_configService'][_0x45ba11(0x428)](Y);return(_0x2ebad8=(_0x4bd7e1=_0x1a40c6==null?void 0x0:_0x1a40c6['snapshotServerUrl'])!=null?_0x4bd7e1:_0x27089e)!=null?_0x2ebad8:kt;}async[_0x31ae88(0x228)](_0x2958ff,_0x553f22){var _0x5cb812=_0x31ae88;const _0x31ef90=_0x5cb812(0x409)+_0x553f22['type']+_0x5cb812(0x3f3)+_0x553f22[_0x5cb812(0x1f0)]+'/resources';return(await this[_0x5cb812(0x2ba)][_0x5cb812(0x20c)](_0x31ef90,{'params':{'resourceId':JSON[_0x5cb812(0x398)](_0x553f22[_0x5cb812(0x30f)])}}))[_0x5cb812(0x1f2)];}['saveSnapshot'](){var _0x39f388=_0x31ae88;throw new Error(_0x39f388(0x466));}[_0x31ae88(0x23e)](){var _0x2fd95f=_0x31ae88;throw new Error(_0x2fd95f(0x466));}[_0x31ae88(0x2ae)](){var _0x2ca769=_0x31ae88;throw new Error(_0x2ca769(0x466));}[_0x31ae88(0x485)](){var _0x54ad11=_0x31ae88;throw new Error(_0x54ad11(0x466));}[_0x31ae88(0x323)](){var _0x4213c5=_0x31ae88;throw new Error(_0x4213c5(0x466));}},exports[_0x31ae88(0x3c9)]=An([_t(0x0,a[_0x31ae88(0x1fb)]),_t(0x1,a[_0x31ae88(0x2a8)](q[_0x31ae88(0x1fd)]))],exports[_0x31ae88(0x3c9)]);var Pn=Object[_0x31ae88(0x4cc)],wn=(_0x6483b,_0x3a321e,_0x26adb7,_0x6b651)=>{var _0x56b846=_0x31ae88;for(var _0x2c6f50=_0x6b651>0x1?void 0x0:_0x6b651?Pn(_0x3a321e,_0x26adb7):_0x3a321e,_0x1c9deb=_0x6483b[_0x56b846(0x2a4)]-0x1,_0xab8489;_0x1c9deb>=0x0;_0x1c9deb--)(_0xab8489=_0x6483b[_0x1c9deb])&&(_0x2c6f50=_0xab8489(_0x2c6f50)||_0x2c6f50);return _0x2c6f50;},de=(_0x15dfe0,_0x27da3a)=>(_0x2800a8,_0xdd5245)=>_0x27da3a(_0x2800a8,_0xdd5245,_0x15dfe0);exports[_0x31ae88(0x42c)]=class extends a[_0x31ae88(0x1f6)]{constructor(_0x3e8edf,_0x48f186,_0x3340e2,_0x2248e7,_0x553476){var _0x4ca452=_0x31ae88;super(_0x3e8edf,_0x48f186,_0x3340e2),this[_0x4ca452(0x4fe)]=_0x2248e7,this[_0x4ca452(0x393)]=_0x553476;}[_0x31ae88(0x2db)](_0xa885f1,_0x10e5a4){var _0x461412=_0x31ae88;const _0x7aa858=this[_0x461412(0x1b5)](_0xa885f1);if(_0x7aa858)try{const _0x455ca9=this[_0x461412(0x2a3)](_0x7aa858,_0x10e5a4);this[_0x461412(0x2d9)](_0xa885f1,_0x455ca9);}catch(_0x451f22){this[_0x461412(0x393)][_0x461412(0x4b2)](_0x461412(0x1c6),_0x451f22),this['_clearUndo'](_0xa885f1);}const _0xea4935=this[_0x461412(0x49e)](_0xa885f1);if(_0xea4935)try{const _0x1702f3=this[_0x461412(0x2a3)](_0xea4935,_0x10e5a4);this[_0x461412(0x45e)](_0xa885f1,_0x1702f3);}catch(_0xe66e65){this[_0x461412(0x393)][_0x461412(0x4b2)](_0xe66e65),this[_0x461412(0x2bf)](_0xa885f1);}}['_clearUndo'](_0x2cc3f7){var _0x1b65b2=_0x31ae88;const _0x5bbc70=this[_0x1b65b2(0x1b5)](_0x2cc3f7);_0x5bbc70&&(_0x5bbc70[_0x1b65b2(0x2a4)]=0x0,this[_0x1b65b2(0x26c)]());}[_0x31ae88(0x2bf)](_0x1751c3){var _0x367a32=_0x31ae88;const _0x1edeaa=this[_0x367a32(0x49e)](_0x1751c3);_0x1edeaa&&(_0x1edeaa['length']=0x0,this[_0x367a32(0x26c)]());}[_0x31ae88(0x2d9)](_0x2ce7a6,_0x57f26f){var _0x174e1c=_0x31ae88;this[_0x174e1c(0x3b1)][_0x174e1c(0x3cf)](_0x2ce7a6,_0x57f26f),this['_updateStatus']();}[_0x31ae88(0x45e)](_0x56912e,_0x413a49){var _0x2ecd41=_0x31ae88;this['_redoStacks']['set'](_0x56912e,_0x413a49),this[_0x2ecd41(0x26c)]();}[_0x31ae88(0x2a3)](_0x2aa802,_0x23654d){var _0x1ce2c9=_0x31ae88;const _0x5585fc=[];let _0x2b87da=_0x23654d,_0x245853=_0x23654d;for(let _0x2a60b6=_0x2aa802[_0x1ce2c9(0x2a4)]-0x1;_0x2a60b6>=0x0;_0x2a60b6--){const {unitID:_0x303503,undoMutations:_0xaf4fbc,redoMutations:_0x3a451a}=_0x2aa802[_0x2a60b6],_0xe02652=this[_0x1ce2c9(0x4fe)][_0x1ce2c9(0x311)](_0x2b87da,_0xaf4fbc),_0x1ec0dc=this[_0x1ce2c9(0x4fe)][_0x1ce2c9(0x311)](_0x245853,_0x3a451a);if(g[_0x1ce2c9(0x1b3)](_0xe02652)||g[_0x1ce2c9(0x1b3)](_0x1ec0dc)){this[_0x1ce2c9(0x393)][_0x1ce2c9(0x4b2)](_0x1ce2c9(0x1c6),_0x1ce2c9(0x1dc),_0xe02652,_0x1ec0dc);break;}_0x2b87da=_0xe02652[_0x1ce2c9(0x2b3)],_0x245853=_0x1ec0dc[_0x1ce2c9(0x2b3)],_0x5585fc[_0x1ce2c9(0x4dd)]({'unitID':_0x303503,'undoMutations':_0xe02652[_0x1ce2c9(0x2c4)],'redoMutations':_0x1ec0dc[_0x1ce2c9(0x2c4)]});}return _0x5585fc[_0x1ce2c9(0x4da)]();}},exports[_0x31ae88(0x42c)]=wn([de(0x0,a[_0x31ae88(0x37d)]),de(0x1,a[_0x31ae88(0x22d)]),de(0x2,a[_0x31ae88(0x229)]),de(0x3,g['ITransformService']),de(0x4,a['ILogService'])],exports[_0x31ae88(0x42c)]);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x255db8,_0x3742b3,_0x13ce6c)=>_0x3742b3 in _0x255db8?Ln(_0x255db8,_0x3742b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13ce6c}):_0x255db8[_0x3742b3]=_0x13ce6c,kn=(_0x24438d,_0x35193e,_0x20422a,_0x2ae620)=>{var _0x384656=_0x31ae88;for(var _0x212252=_0x2ae620>0x1?void 0x0:_0x2ae620?Mn(_0x35193e,_0x20422a):_0x35193e,_0x379312=_0x24438d[_0x384656(0x2a4)]-0x1,_0x3d3710;_0x379312>=0x0;_0x379312--)(_0x3d3710=_0x24438d[_0x379312])&&(_0x212252=_0x3d3710(_0x212252)||_0x212252);return _0x212252;},ke=(_0x42a042,_0xe682a1)=>(_0x2a3a79,_0x853830)=>_0xe682a1(_0x2a3a79,_0x853830,_0x42a042),Hn=(_0x3428b5,_0x4f448f,_0x2cc8a3)=>xn(_0x3428b5,_0x4f448f+'',_0x2cc8a3);const jn=_0x31ae88(0x1c0);exports[_0x31ae88(0x431)]=class extends a[_0x31ae88(0x249)]{constructor(_0x4dd599,_0x3070c0,_0x163a14,_0x31ca95){var _0x3d111d=_0x31ae88;super(),A(this,_0x3d111d(0x506)),(this[_0x3d111d(0x393)]=_0x3070c0,this[_0x3d111d(0x3f7)]=_0x163a14,this['_configService']=_0x31ca95);const {..._0x48880d}=a[_0x3d111d(0x3df)]({},Jt,_0x4dd599);if(!_0x48880d[_0x3d111d(0x4e9)])throw new Error(_0x3d111d(0x467));this[_0x3d111d(0x506)]=_0x48880d,this[_0x3d111d(0x403)][_0x3d111d(0x48e)](Y,_0x48880d);}['onStarting'](){var _0xe2ba71=_0x31ae88;this['_registerDependencies'](),this[_0xe2ba71(0x262)]();}[_0x31ae88(0x2c3)](){var _0x3e51bf=_0x31ae88,_0x25c0b1,_0x4a47b6;this[_0x3e51bf(0x3f7)]['has'](a[_0x3e51bf(0x30b)])&&this[_0x3e51bf(0x393)][_0x3e51bf(0x4b2)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4cb7a8=a[_0x3e51bf(0x1da)]([[a[_0x3e51bf(0x30b)],{'useClass':exports[_0x3e51bf(0x42c)]}],[exports[_0x3e51bf(0x27f)]],[exports[_0x3e51bf(0x416)]],[exports[_0x3e51bf(0x486)]],[ye],[Ne],[Be],[De],[te],[exports[_0x3e51bf(0x3c4)]],[$e,{'useClass':this[_0x3e51bf(0x506)]['socketService']}],[g[_0x3e51bf(0x4d2)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x3e51bf(0x1e2)],{'useClass':exports[_0x3e51bf(0x274)]}],[J['IImageIoService'],{'useClass':exports[_0x3e51bf(0x3bd)]}],[a[_0x3e51bf(0x41e)],{'useClass':exports[_0x3e51bf(0x315)]}],[exports['CollaborationController']],[He]],(_0x25c0b1=this[_0x3e51bf(0x506)])==null?void 0x0:_0x25c0b1[_0x3e51bf(0x369)]);if(!((_0x4a47b6=this[_0x3e51bf(0x506)])!=null&&_0x4a47b6[_0x3e51bf(0x348)])){const _0x426164=_0x4cb7a8[_0x3e51bf(0x3fd)](([_0x26187f])=>_0x26187f===ve);_0x426164!==-0x1&&_0x4cb7a8[_0x3e51bf(0x432)](_0x426164,0x1);}a[_0x3e51bf(0x21b)](this[_0x3e51bf(0x3f7)],_0x4cb7a8);}[_0x31ae88(0x262)](){var _0x140de8=_0x31ae88,_0x33d579,_0x2c9ff7,_0x24e627;this[_0x140de8(0x3f7)][_0x140de8(0x20c)](q[_0x140de8(0x1fd)])[_0x140de8(0x371)]({'priority':0x14,'interceptor':q[_0x140de8(0x43a)]({'maxParallel':0x6})}),(_0x33d579=this[_0x140de8(0x506)])!=null&&_0x33d579[_0x140de8(0x514)]||(_0x2c9ff7=this[_0x140de8(0x3f7)]['get'](z,a[_0x140de8(0x251)]['OPTIONAL']))==null||_0x2c9ff7[_0x140de8(0x4e1)](),(_0x24e627=this['_config'])!=null&&_0x24e627['enableAuthServer']&&a[_0x140de8(0x288)](this[_0x140de8(0x3f7)],[[ye]]),a[_0x140de8(0x288)](this[_0x140de8(0x3f7)],[[Ne],[exports[_0x140de8(0x32b)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],'pluginName',jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x31ae88(0x3f2)](g[_0x31ae88(0x1b0)],q[_0x31ae88(0x3b7)]),ke(0x1,a[_0x31ae88(0x530)]),ke(0x2,a[_0x31ae88(0x2a8)](a[_0x31ae88(0x4b8)])),ke(0x3,a[_0x31ae88(0x1fb)])],exports[_0x31ae88(0x431)]),exports[_0x31ae88(0x26a)]=Ge,exports[_0x31ae88(0x36b)]=Y,exports[_0x31ae88(0x3a5)]=It,exports[_0x31ae88(0x507)]=St,exports[_0x31ae88(0x4e7)]=Ve,exports['CollaborationUIEventId']=Q,exports[_0x31ae88(0x340)]=te,exports[_0x31ae88(0x247)]=Be,exports[_0x31ae88(0x32c)]=ft,exports[_0x31ae88(0x208)]=zt,exports[_0x31ae88(0x4c0)]=$t,exports[_0x31ae88(0x330)]=pt,exports[_0x31ae88(0x50d)]=je,exports[_0x31ae88(0x412)]=$e,exports[_0x31ae88(0x213)]=z,exports['INetworkConditionService']=bt,exports[_0x31ae88(0x4ef)]=ve,exports[_0x31ae88(0x3fe)]=Gt,exports[_0x31ae88(0x2a7)]=Wt,exports[_0x31ae88(0x454)]=Et,exports[_0x31ae88(0x3ec)]=qt,exports[_0x31ae88(0x42e)]=mt,exports[_0x31ae88(0x33e)]=Ht,exports[_0x31ae88(0x487)]=dt,exports[_0x31ae88(0x1c3)]=vt,exports[_0x31ae88(0x1f1)]=se,exports[_0x31ae88(0x451)]=Fe,exports[_0x31ae88(0x29f)]=Rt,exports[_0x31ae88(0x1d8)]=vi,exports[_0x31ae88(0x531)]=Ot;
1
+ 'use strict';var _0x493b7c=_0x400e;(function(_0x299f5e,_0x5e9393){var _0x56a473=_0x400e,_0x1ddebe=_0x299f5e();while(!![]){try{var _0x136436=parseInt(_0x56a473(0x389))/0x1*(-parseInt(_0x56a473(0x3ac))/0x2)+-parseInt(_0x56a473(0x196))/0x3+-parseInt(_0x56a473(0x3a8))/0x4*(parseInt(_0x56a473(0x192))/0x5)+-parseInt(_0x56a473(0x1a3))/0x6*(-parseInt(_0x56a473(0x16c))/0x7)+-parseInt(_0x56a473(0x318))/0x8*(parseInt(_0x56a473(0x292))/0x9)+parseInt(_0x56a473(0x1cd))/0xa+parseInt(_0x56a473(0x3a7))/0xb;if(_0x136436===_0x5e9393)break;else _0x1ddebe['push'](_0x1ddebe['shift']());}catch(_0x5e60d3){_0x1ddebe['push'](_0x1ddebe['shift']());}}}(_0x544a,0x348ec));var wt=Object[_0x493b7c(0x435)],Lt=(_0x1e2be4,_0xb59aa0,_0x2cae72)=>_0xb59aa0 in _0x1e2be4?wt(_0x1e2be4,_0xb59aa0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cae72}):_0x1e2be4[_0xb59aa0]=_0x2cae72,A=(_0x3b05bb,_0x1e4b2c,_0x16e098)=>Lt(_0x3b05bb,typeof _0x1e4b2c!=_0x493b7c(0x494)?_0x1e4b2c+'':_0x1e4b2c,_0x16e098);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x493b7c(0x2e4)),j=require(_0x493b7c(0x338)),V=require(_0x493b7c(0x1b6)),g=require('@univerjs-pro/collaboration'),q=require(_0x493b7c(0x48e)),Mt=require('@univerjs/telemetry'),ut=require(_0x493b7c(0x2e3)),Z=require(_0x493b7c(0x428)),J=require('@univerjs/drawing'),xt=require(_0x493b7c(0x4b8)),dt=_0x493b7c(0x3ca),kt=_0x493b7c(0x4db),vt=_0x493b7c(0x1cb),Ht=_0x493b7c(0x18a),jt=0x7d0,St=_0x493b7c(0x2a4),ft=_0x493b7c(0x2b0),$t=_0x493b7c(0x486),pt=_0x493b7c(0x4b1),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x493b7c(0x401),Vt=0x3,Wt=_0x493b7c(0x394),Gt=0x3e8,It=_0x493b7c(0x2fa),Kt=_0x493b7c(0x1cc),Et=_0x493b7c(0x186),Yt=_0x493b7c(0x32c),qt=_0x493b7c(0x456),zt=_0x493b7c(0x4b3);var Ct=(_0x505750=>(_0x505750[_0x505750[_0x493b7c(0x47c)]=0x0]=_0x493b7c(0x47c),_0x505750[_0x505750['OK']=0x1]='OK',_0x505750[_0x505750[_0x493b7c(0x4d6)]=0x2]='INTERNAL_ERROR',_0x505750[_0x505750[_0x493b7c(0x33f)]=0x3]=_0x493b7c(0x33f),_0x505750[_0x505750[_0x493b7c(0x2a1)]=0x4]=_0x493b7c(0x2a1),_0x505750[_0x505750[_0x493b7c(0x2a0)]=0x5]='UNAUTHENTICATED',_0x505750[_0x505750[_0x493b7c(0x32e)]=0x6]=_0x493b7c(0x32e),_0x505750[_0x505750['INVALID_ARGUMENT']=0x7]=_0x493b7c(0x358),_0x505750[_0x505750[_0x493b7c(0x235)]=0x8]=_0x493b7c(0x235),_0x505750[_0x505750[_0x493b7c(0x222)]=0x9]=_0x493b7c(0x222),_0x505750[_0x505750[_0x493b7c(0x2a9)]=0xa]=_0x493b7c(0x2a9),_0x505750[_0x505750[_0x493b7c(0x46a)]=0x1389]=_0x493b7c(0x46a),_0x505750[_0x505750[_0x493b7c(0x4a2)]=0x1771]=_0x493b7c(0x4a2),_0x505750[_0x505750[_0x493b7c(0x176)]=0x1772]=_0x493b7c(0x176),_0x505750[_0x505750['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x493b7c(0x449),_0x505750[_0x505750[_0x493b7c(0x375)]=0x1b59]='APPLY_REJECT',_0x505750[_0x505750[_0x493b7c(0x2c2)]=0x1b5a]=_0x493b7c(0x2c2),_0x505750[_0x505750[_0x493b7c(0x271)]=0x1b5b]=_0x493b7c(0x271),_0x505750[_0x505750[_0x493b7c(0x469)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x505750[_0x505750[_0x493b7c(0x35f)]=0x1b5d]='APPLY_DUPLICATED',_0x505750[_0x505750['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x493b7c(0x2da),_0x505750[_0x505750['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x493b7c(0x20d),_0x505750[_0x505750['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x493b7c(0x3bc),_0x505750[_0x505750[_0x493b7c(0x236)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x505750[_0x505750['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x493b7c(0x429),_0x505750[_0x505750['LICENSE_DISTRO_REJECTED']=0x232d]=_0x493b7c(0x2b1),_0x505750[_0x505750[_0x493b7c(0x4a3)]=0x2711]=_0x493b7c(0x4a3),_0x505750[_0x505750[_0x493b7c(0x3e4)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x505750[_0x505750[_0x493b7c(0x45c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x505750[_0x505750[_0x493b7c(0x2c6)]=0x2714]=_0x493b7c(0x2c6),_0x505750[_0x505750[_0x493b7c(0x1d3)]=0x2af9]=_0x493b7c(0x1d3),_0x505750[_0x505750[_0x493b7c(0x181)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x505750[_0x505750[_0x493b7c(0x288)]=0x2ee2]='INVALID_INVITE_CODE',_0x505750[_0x505750[_0x493b7c(0x3f0)]=0x2ee3]=_0x493b7c(0x3f0),_0x505750[_0x505750[_0x493b7c(0x373)]=0x2ee4]=_0x493b7c(0x373),_0x505750[_0x505750[_0x493b7c(0x3a3)]=0x2ee5]=_0x493b7c(0x3a3),_0x505750[_0x505750[_0x493b7c(0x199)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x505750[_0x505750[_0x493b7c(0x395)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x505750[_0x505750['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x505750[_0x505750[_0x493b7c(0x331)]=-0x1]=_0x493b7c(0x331),_0x505750))(Ct||{}),X=(_0x506b63=>(_0x506b63[_0x506b63['UNIVER_UNKNOWN']=0x0]=_0x493b7c(0x31b),_0x506b63[_0x506b63[_0x493b7c(0x256)]=0x1]=_0x493b7c(0x256),_0x506b63[_0x506b63[_0x493b7c(0x277)]=0x2]=_0x493b7c(0x277),_0x506b63[_0x506b63[_0x493b7c(0x2fd)]=0x3]=_0x493b7c(0x2fd),_0x506b63[_0x506b63[_0x493b7c(0x34b)]=0x4]='UNIVER_PROJECT',_0x506b63[_0x506b63[_0x493b7c(0x331)]=-0x1]=_0x493b7c(0x331),_0x506b63))(X||{}),W=(_0x4cbeca=>(_0x4cbeca[_0x4cbeca[_0x493b7c(0x40f)]=0x0]=_0x493b7c(0x40f),_0x4cbeca[_0x4cbeca[_0x493b7c(0x24a)]=0x1]=_0x493b7c(0x24a),_0x4cbeca[_0x4cbeca[_0x493b7c(0x27b)]=0x2]=_0x493b7c(0x27b),_0x4cbeca[_0x4cbeca[_0x493b7c(0x1d0)]=0x3]=_0x493b7c(0x1d0),_0x4cbeca[_0x4cbeca['INGEST']=0x4]=_0x493b7c(0x362),_0x4cbeca[_0x4cbeca[_0x493b7c(0x2c8)]=0x5]=_0x493b7c(0x2c8),_0x4cbeca[_0x4cbeca[_0x493b7c(0x49b)]=0x6]='RECV',_0x4cbeca[_0x4cbeca[_0x493b7c(0x331)]=-0x1]=_0x493b7c(0x331),_0x4cbeca))(W||{}),ae=(_0x16d691=>(_0x16d691[_0x16d691[_0x493b7c(0x466)]=0x0]='UNKNOWN_CODE',_0x16d691[_0x16d691['OK']=0x1]='OK',_0x16d691[_0x16d691[_0x493b7c(0x465)]=0x2]=_0x493b7c(0x465),_0x16d691[_0x16d691[_0x493b7c(0x23b)]=0x3e9]=_0x493b7c(0x23b),_0x16d691[_0x16d691[_0x493b7c(0x1ae)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x16d691[_0x16d691[_0x493b7c(0x388)]=0x3eb]=_0x493b7c(0x388),_0x16d691[_0x16d691['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x493b7c(0x47a),_0x16d691[_0x16d691['UNRECOGNIZED']=-0x1]=_0x493b7c(0x331),_0x16d691))(ae||{}),Tt=(_0x549f6f=>(_0x549f6f[_0x549f6f['Undefined']=0x0]=_0x493b7c(0x20f),_0x549f6f[_0x549f6f[_0x493b7c(0x1fc)]=0x1]=_0x493b7c(0x1fc),_0x549f6f[_0x549f6f[_0x493b7c(0x302)]=0x2]=_0x493b7c(0x302),_0x549f6f[_0x549f6f[_0x493b7c(0x346)]=0x3]=_0x493b7c(0x346),_0x549f6f[_0x549f6f[_0x493b7c(0x4a6)]=0x4]='UnitSnapshot',_0x549f6f[_0x549f6f['UserProfileImg']=0x5]=_0x493b7c(0x2fe),_0x549f6f[_0x549f6f['UNRECOGNIZED']=-0x1]=_0x493b7c(0x331),_0x549f6f))(Tt||{});const Y=_0x493b7c(0x30f),Jt={};var Q=(_0x58771a=>(_0x58771a[_0x493b7c(0x46f)]=_0x493b7c(0x46f),_0x58771a[_0x493b7c(0x33f)]=_0x493b7c(0x33f),_0x58771a[_0x493b7c(0x237)]=_0x493b7c(0x237),_0x58771a[_0x493b7c(0x25a)]=_0x493b7c(0x25a),_0x58771a[_0x493b7c(0x3c2)]=_0x493b7c(0x3c2),_0x58771a[_0x493b7c(0x307)]=_0x493b7c(0x307),_0x58771a['SOCKET_FAILED']=_0x493b7c(0x356),_0x58771a[_0x493b7c(0x3d0)]=_0x493b7c(0x3d0),_0x58771a))(Q||{});class te{constructor(){var _0xead669=_0x493b7c;A(this,_0xead669(0x3d2),new j['Subject']()),A(this,_0xead669(0x490),this[_0xead669(0x3d2)][_0xead669(0x28c)]());}[_0x493b7c(0x3a9)](_0x4c1950){var _0x576ad6=_0x493b7c;this[_0x576ad6(0x3d2)][_0x576ad6(0x261)](_0x4c1950);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0x3332e1){var _0x1220c2=_0x493b7c,_0x3fbbcc,_0x53e9a4,_0xd47de4,_0x26a598,_0x531aba;const _0x499ba7=_0x3332e1[_0x1220c2(0x1ba)],_0x38c141=JSON['parse'](_0x499ba7);switch(_0x38c141[_0x1220c2(0x4b2)]){case W[_0x1220c2(0x2c8)]:case W['HELLO']:{const _0x1afbaf=_0x38c141[_0x1220c2(0x25d)];return{..._0x38c141,'data':_0x1afbaf,'cmd':_0x38c141[_0x1220c2(0x4b2)]};}case W[_0x1220c2(0x27b)]:{const _0x2984b0=_0x38c141[_0x1220c2(0x4a5)];return{..._0x38c141,'data':_0x2984b0,'cmd':_0x38c141[_0x1220c2(0x4b2)]};}case W[_0x1220c2(0x49b)]:{const _0x395a1a=_0x38c141[_0x1220c2(0x403)];switch(_0x395a1a[_0x1220c2(0x3af)]){case g[_0x1220c2(0x21a)][_0x1220c2(0x44c)]:return{..._0x38c141,'data':{..._0x395a1a,'data':(_0x3fbbcc=_0x395a1a[_0x1220c2(0x1da)])==null?void 0x0:_0x3fbbcc['cs']},'cmd':_0x38c141['cmd']};case g[_0x1220c2(0x21a)][_0x1220c2(0x1c0)]:return{..._0x38c141,'data':{..._0x395a1a,'data':(_0x53e9a4=_0x395a1a[_0x1220c2(0x175)])==null?void 0x0:_0x53e9a4['cs']},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g[_0x1220c2(0x21a)][_0x1220c2(0x2c7)]:return{..._0x38c141,'data':{..._0x395a1a,'data':(_0xd47de4=_0x395a1a['newCsEvent'])==null?void 0x0:_0xd47de4['cs']},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g[_0x1220c2(0x21a)][_0x1220c2(0x3f7)]:return{..._0x38c141,'data':{..._0x395a1a,'data':(_0x26a598=_0x395a1a[_0x1220c2(0x2c5)])==null?void 0x0:_0x26a598['cs']},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g['CollaborationEvent'][_0x1220c2(0x49f)]:return{..._0x38c141,'data':{..._0x395a1a,'data':(_0x531aba=_0x395a1a[_0x1220c2(0x1a9)])==null?void 0x0:_0x531aba['cs']},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g['CollaborationEvent'][_0x1220c2(0x21d)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x2ff)]},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g['CollaborationEvent'][_0x1220c2(0x40b)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x45b)]},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g[_0x1220c2(0x21a)][_0x1220c2(0x2ef)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x1d7)]},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g[_0x1220c2(0x21a)][_0x1220c2(0x4ab)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x2c9)]},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g['CollaborationEvent'][_0x1220c2(0x27a)]:case g[_0x1220c2(0x21a)]['LIVESHARE_OPERATION']:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a['liveShareOperation']},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g['CollaborationEvent'][_0x1220c2(0x20a)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a['liveShareNewHost']},'cmd':_0x38c141['cmd']};case g[_0x1220c2(0x21a)][_0x1220c2(0x2ea)]:return{..._0x38c141,'data':_0x395a1a,'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g[_0x1220c2(0x21a)][_0x1220c2(0x43c)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x1c9)]},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x4bf)]},'cmd':_0x38c141[_0x1220c2(0x4b2)]};case g[_0x1220c2(0x21a)]['SHOULD_CLOSE_CONN']:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a['shouldCloseConn']},'cmd':_0x38c141['cmd']};case g[_0x1220c2(0x21a)][_0x1220c2(0x2f8)]:return{..._0x38c141,'data':{..._0x395a1a,'data':_0x395a1a[_0x1220c2(0x177)]},'cmd':_0x38c141['cmd']};default:return _0x38c141;}}default:return _0x38c141;}}function Ot(_0x12ce6f){var _0x3b548c=_0x493b7c;switch(_0x12ce6f[_0x3b548c(0x4b2)]){case W[_0x3b548c(0x2c8)]:case W[_0x3b548c(0x24a)]:return JSON[_0x3b548c(0x4c9)]({'cmd':_0x12ce6f['cmd'],'routeKey':_0x12ce6f[_0x3b548c(0x4de)]});case W[_0x3b548c(0x362)]:{let _0x4025f7;switch(_0x12ce6f['data']['eventID']){case g[_0x3b548c(0x21a)]['UPDATE_CURSOR']:{_0x4025f7={'eventID':g[_0x3b548c(0x21a)][_0x3b548c(0x21d)],'updateCursorEvent':_0x12ce6f[_0x3b548c(0x1ba)]['data']};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x2ef)]:{_0x4025f7={'eventID':g['CollaborationEvent'][_0x3b548c(0x2ef)],'leaveEvent':_0x12ce6f[_0x3b548c(0x1ba)][_0x3b548c(0x1ba)]};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x40b)]:{_0x4025f7={'eventID':g[_0x3b548c(0x21a)][_0x3b548c(0x40b)],'joinEvent':_0x12ce6f[_0x3b548c(0x1ba)][_0x3b548c(0x1ba)]};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x4ab)]:{_0x4025f7={'eventID':g[_0x3b548c(0x21a)][_0x3b548c(0x4ab)],'liveShareNewHost':_0x12ce6f[_0x3b548c(0x1ba)][_0x3b548c(0x1ba)]};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x461)]:{_0x4025f7={'eventID':g['CollaborationEvent'][_0x3b548c(0x461)],'liveShareOperation':_0x12ce6f[_0x3b548c(0x1ba)]['data']};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x20a)]:{_0x4025f7={'eventID':g[_0x3b548c(0x21a)][_0x3b548c(0x20a)],'liveShareTerminate':_0x12ce6f['data'][_0x3b548c(0x1ba)]};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x3bb)]:{_0x4025f7={'eventID':g[_0x3b548c(0x21a)][_0x3b548c(0x3bb)],'liveShareRequestHost':_0x12ce6f['data'][_0x3b548c(0x1ba)]};break;}case g[_0x3b548c(0x21a)][_0x3b548c(0x27a)]:{_0x4025f7={'eventID':g[_0x3b548c(0x21a)][_0x3b548c(0x27a)]};break;}default:_0x4025f7={'eventID':_0x12ce6f[_0x3b548c(0x1ba)][_0x3b548c(0x3af)]};}return JSON[_0x3b548c(0x4c9)]({'cmd':_0x12ce6f['cmd'],'routeKey':_0x12ce6f['routeKey'],'collaMsg':_0x4025f7});}case W[_0x3b548c(0x27b)]:return JSON['stringify']({'cmd':_0x12ce6f[_0x3b548c(0x4b2)],'routeKey':_0x12ce6f[_0x3b548c(0x4de)],'joinReq':_0x12ce6f['data']});case W[_0x3b548c(0x1d0)]:return JSON[_0x3b548c(0x4c9)]({'cmd':_0x12ce6f[_0x3b548c(0x4b2)],'routeKey':_0x12ce6f[_0x3b548c(0x4de)],'leaveReq':_0x12ce6f[_0x3b548c(0x1ba)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x307ea6,_0x57f27f,_0x475477,_0x32254b)=>{for(var _0x5310d0=_0x32254b>0x1?void 0x0:_0x32254b?Xt(_0x57f27f,_0x475477):_0x57f27f,_0x128f56=_0x307ea6['length']-0x1,_0x3ba93a;_0x128f56>=0x0;_0x128f56--)(_0x3ba93a=_0x307ea6[_0x128f56])&&(_0x5310d0=_0x3ba93a(_0x5310d0)||_0x5310d0);return _0x5310d0;},_e=(_0x2ec7ca,_0x5a283e)=>(_0x2bfcd7,_0x2b585f)=>_0x5a283e(_0x2bfcd7,_0x2b585f,_0x2ec7ca);const $e=a[_0x493b7c(0x3ce)](_0x493b7c(0x2ba));function Qt(_0xb4eb75,_0x172bf2,_0x297a8f){var _0x146d51=_0x493b7c;return _0xb4eb75+'/'+_0x172bf2+_0x146d51(0x3a4)+_0x297a8f+_0x146d51(0x4d8);}exports['CollaborationSocketService']=class extends a[_0x493b7c(0x3e6)]{constructor(_0x7421c,_0x17c497,_0x366c51,_0xfdd01a,_0x84be38){var _0x51ac64=_0x493b7c;super(),this[_0x51ac64(0x232)]=_0x7421c,this['_httpService']=_0x17c497,this['_configService']=_0x366c51,this[_0x51ac64(0x4c5)]=_0xfdd01a,this[_0x51ac64(0x174)]=_0x84be38;}[_0x493b7c(0x2ee)](_0x286aca){var _0x4f347f=_0x493b7c;const _0x139805=this[_0x4f347f(0x232)][_0x4f347f(0x497)](q[_0x4f347f(0x3bf)]);if(!_0x139805)throw new Error(_0x4f347f(0x1b1));const _0x21e4a3=_0x139805['createSocket'](_0x286aca);if(!_0x21e4a3)throw new Error(_0x4f347f(0x228));const _0x2adb26=new a['DisposableCollection'](),_0x12db25=new j[(_0x4f347f(0x39f))]();_0x2adb26[_0x4f347f(0x2ed)](_0x21e4a3[_0x4f347f(0x4c7)][_0x4f347f(0x2db)](_0x294ab6=>_0x12db25['next'](_0x294ab6))),_0x2adb26[_0x4f347f(0x2ed)](a[_0x4f347f(0x3aa)](()=>_0x12db25['complete']()));const _0x1590e9=new j[(_0x4f347f(0x39f))]();_0x2adb26['add'](_0x21e4a3['error$'][_0x4f347f(0x2db)](_0x33b132=>_0x1590e9[_0x4f347f(0x261)](_0x33b132))),_0x2adb26[_0x4f347f(0x2ed)](a[_0x4f347f(0x3aa)](()=>_0x1590e9[_0x4f347f(0x250)]()));const _0x53f2ee=new j[(_0x4f347f(0x39f))]();_0x2adb26['add'](_0x21e4a3['message$'][_0x4f347f(0x2db)](_0x45de6b=>{var _0x590a66=_0x4f347f;const _0x7670e6=Rt(_0x45de6b);_0x53f2ee[_0x590a66(0x261)](_0x7670e6);})),_0x2adb26[_0x4f347f(0x2ed)](a[_0x4f347f(0x3aa)](()=>_0x53f2ee[_0x4f347f(0x250)]()));let _0x50c0f5;const _0x6438ed=()=>{var _0x135d69=_0x4f347f;_0x1590e9['next'](new Event(_0x135d69(0x220))),_0x12db25[_0x135d69(0x261)](new Event(_0x135d69(0x220))),_0x50c0f5['close']();};return _0x50c0f5={'memberID':'','close$':_0x12db25[_0x4f347f(0x28c)](),'error$':_0x1590e9[_0x4f347f(0x28c)](),'open$':_0x21e4a3[_0x4f347f(0x2e9)],'message$':_0x53f2ee['asObservable'](),'send':_0x258106=>{var _0x540146=_0x4f347f;if(_0x258106['cmd']===W['INGEST']){if(_0x258106['data']['eventID']===g[_0x540146(0x21a)][_0x540146(0x418)]){this[_0x540146(0x1a5)](_0x50c0f5,_0x258106[_0x540146(0x1ba)])[_0x540146(0x4e3)](_0x250810=>{var _0x3ea205=_0x540146;this[_0x3ea205(0x4c5)][_0x3ea205(0x1fe)](_0x250810),_0x6438ed();});return;}if(_0x258106[_0x540146(0x1ba)][_0x540146(0x3af)]===g['CollaborationEvent'][_0x540146(0x309)]){const _0x2797d2=_0x258106[_0x540146(0x1ba)];this[_0x540146(0x2d8)](_0x2797d2)['then'](_0x5921cf=>{var _0x4fd10e=_0x540146;_0x53f2ee[_0x4fd10e(0x261)]({'cmd':W[_0x4fd10e(0x49b)],'code':ae['OK'],'routeKey':_0x2797d2[_0x4fd10e(0x1ba)][_0x4fd10e(0x27c)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x4fd10e(0x2d7)],'data':{'changesets':_0x5921cf}}});})[_0x540146(0x4e3)](_0x390a6f=>{var _0x31bd3e=_0x540146;this[_0x31bd3e(0x4c5)][_0x31bd3e(0x1fe)](_0x390a6f),_0x6438ed();});return;}}_0x21e4a3[_0x540146(0x248)](Ot(_0x258106));},'close':()=>{var _0x315727=_0x4f347f;_0x21e4a3[_0x315727(0x355)](),_0x2adb26[_0x315727(0x2d9)]();}},_0x50c0f5;}async[_0x493b7c(0x1a5)](_0x293e40,_0x2fe08d){var _0x10a0eb=_0x493b7c,_0x5c76b6,_0x1c09e8;const {unitType:_0x3e1035,unitID:_0x1cd2e5,changeset:_0x56f58e}=_0x2fe08d[_0x10a0eb(0x1ba)],_0x66d955={'unitID':_0x1cd2e5,'memberID':_0x293e40['memberID'],'type':_0x3e1035,'changeset':g[_0x10a0eb(0x285)](_0x56f58e)},_0x201446=this[_0x10a0eb(0x23a)][_0x10a0eb(0x17a)](It),_0x206ecd=this[_0x10a0eb(0x23a)][_0x10a0eb(0x17a)](Y),_0xf6da76=Qt((_0x1c09e8=(_0x5c76b6=_0x206ecd==null?void 0x0:_0x206ecd[_0x10a0eb(0x45e)])!=null?_0x5c76b6:_0x201446)!=null?_0x1c09e8:Kt,_0x3e1035,_0x1cd2e5);try{await this[_0x10a0eb(0x33b)][_0x10a0eb(0x1cf)](_0xf6da76,{'body':_0x66d955});}catch(_0x2401cd){throw this['_logService'][_0x10a0eb(0x1fe)](_0x10a0eb(0x3bd),'submit\x20changeset\x20error!'),_0x2401cd;}}async['_fetchMissChangesets'](_0x368192){var _0x1896a2=_0x493b7c;const {unitID:_0x1a39d4,from:_0x14c5ec,to:_0x44bf46,unitType:_0x30d746}=_0x368192[_0x1896a2(0x1ba)];return(await this[_0x1896a2(0x174)][_0x1896a2(0x183)]({'metadata':void 0x0},{'unitID':_0x1a39d4,'type':_0x30d746,'from':_0x14c5ec,'to':_0x44bf46}))['changesets'];}},exports[_0x493b7c(0x27f)]=Zt([_e(0x0,a['Inject'](a[_0x493b7c(0x446)])),_e(0x1,a[_0x493b7c(0x41a)](q['HTTPService'])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x493b7c(0x264)]),_e(0x4,g[_0x493b7c(0x391)])],exports[_0x493b7c(0x27f)]);const ei=_0x493b7c(0x417);function ti(_0x457c56){var _0x27568d=_0x493b7c;return JSON[_0x27568d(0x4c9)](_0x457c56)[_0x27568d(0x286)];}class Be{constructor(){var _0x238c40=_0x493b7c;A(this,_0x238c40(0x36d),new j[(_0x238c40(0x39f))]()),A(this,_0x238c40(0x2fc),this['_commentUpdate$'][_0x238c40(0x28c)]());}['onCommentUpdate'](_0xfc3a79){var _0x280db8=_0x493b7c;this[_0x280db8(0x36d)][_0x280db8(0x261)](_0xfc3a79);}}var ii=Object[_0x493b7c(0x4e0)],ni=(_0x2d2107,_0x300aaf,_0x4934d0,_0x396477)=>{var _0x47cfcd=_0x493b7c;for(var _0xf366f0=_0x396477>0x1?void 0x0:_0x396477?ii(_0x300aaf,_0x4934d0):_0x300aaf,_0x564992=_0x2d2107[_0x47cfcd(0x286)]-0x1,_0x27f315;_0x564992>=0x0;_0x564992--)(_0x27f315=_0x2d2107[_0x564992])&&(_0xf366f0=_0x27f315(_0xf366f0)||_0xf366f0);return _0xf366f0;},Ke=(_0x4ac377,_0x531afe)=>(_0x35a7b2,_0x56ae8a)=>_0x531afe(_0x35a7b2,_0x56ae8a,_0x4ac377);exports['MemberService']=class extends a[_0x493b7c(0x3e6)]{constructor(_0x4395b1,_0xe7ef0a){var _0x4ca5da=_0x493b7c;super(),A(this,_0x4ca5da(0x1e1),new Map()),A(this,'_roomCreated$',new j[(_0x4ca5da(0x39f))]()),(this['_univerInstanceService']=_0x4395b1,this['_userManagerService']=_0xe7ef0a,this[_0x4ca5da(0x482)](j[_0x4ca5da(0x320)](this[_0x4ca5da(0x392)]['getTypeOfUnitDisposed$'](a[_0x4ca5da(0x457)][_0x4ca5da(0x277)])[_0x4ca5da(0x30e)](V[_0x4ca5da(0x477)](_0x3eeaad=>_0x3eeaad[_0x4ca5da(0x190)]())),this['_univerInstanceService'][_0x4ca5da(0x214)](a[_0x4ca5da(0x457)][_0x4ca5da(0x256)])[_0x4ca5da(0x30e)](V[_0x4ca5da(0x477)](_0x3cc010=>_0x3cc010[_0x4ca5da(0x190)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x4ca5da(0x457)][_0x4ca5da(0x2fd)])['pipe'](V[_0x4ca5da(0x477)](_0x4433b6=>_0x4433b6[_0x4ca5da(0x190)]())))[_0x4ca5da(0x2db)](_0x56d872=>this[_0x4ca5da(0x295)](_0x56d872))));}[_0x493b7c(0x49a)](_0x2ad67f){var _0x432299=_0x493b7c;return this['_roomMembers']['has'](_0x2ad67f)?j['of'](this[_0x432299(0x1e1)]['get'](_0x2ad67f)):this[_0x432299(0x47d)][_0x432299(0x30e)](V[_0x432299(0x477)](_0x515ea1=>{var _0xaface7=_0x432299;if(_0x515ea1===_0x2ad67f)return this[_0xaface7(0x1e1)][_0xaface7(0x497)](_0x515ea1);}));}['setCurrentUser'](_0x5ba4b9){var _0x5719ab=_0x493b7c;this[_0x5719ab(0x16b)][_0x5719ab(0x18d)](_0x5ba4b9);}['getCurrentUser'](){var _0x44024e=_0x493b7c;return this[_0x44024e(0x16b)][_0x44024e(0x193)]();}['updateMember'](_0x4c828d,_0x4f3f73){var _0x4df039=_0x493b7c;let _0x53163d=this['_roomMembers']['get'](_0x4c828d);_0x53163d||(_0x53163d=new ri(),this[_0x4df039(0x1e1)]['set'](_0x4c828d,_0x53163d),this[_0x4df039(0x47d)][_0x4df039(0x261)](_0x4c828d)),_0x53163d['updateMember'](_0x4f3f73);}[_0x493b7c(0x1c3)](_0x446cf5,_0x5e4f9a){var _0x2eb000=_0x493b7c;const _0x21e761=this['_roomMembers'][_0x2eb000(0x497)](_0x446cf5);_0x21e761&&_0x21e761[_0x2eb000(0x1c3)](_0x5e4f9a);}[_0x493b7c(0x381)](_0x18d923){var _0x5a9223=_0x493b7c;return this[_0x5a9223(0x1e1)][_0x5a9223(0x497)](_0x18d923);}[_0x493b7c(0x351)](_0xc6f409,_0x176df5){var _0x8da174=_0x493b7c;const _0x24e0b4=this['_roomMembers']['get'](_0xc6f409);if(_0x24e0b4)return _0x24e0b4[_0x8da174(0x351)](_0x176df5);}[_0x493b7c(0x295)](_0xbb9681){var _0x1ffa8b=_0x493b7c;const _0x5ba54c=this[_0x1ffa8b(0x1e1)]['get'](_0xbb9681);_0x5ba54c&&(_0x5ba54c[_0x1ffa8b(0x2d9)](),this['_roomMembers'][_0x1ffa8b(0x323)](_0xbb9681));}[_0x493b7c(0x2d9)](){var _0x525d0a=_0x493b7c;this[_0x525d0a(0x1e1)][_0x525d0a(0x240)](_0x1c5ad1=>_0x1c5ad1['dispose']()),this[_0x525d0a(0x1e1)]['clear'](),this[_0x525d0a(0x47d)][_0x525d0a(0x250)]();}},exports[_0x493b7c(0x2a8)]=ni([Ke(0x0,a[_0x493b7c(0x239)]),Ke(0x1,a[_0x493b7c(0x41a)](a[_0x493b7c(0x1bc)]))],exports[_0x493b7c(0x2a8)]);class ri extends a['Disposable']{constructor(){var _0xf0b640=_0x493b7c;super(...arguments),A(this,_0xf0b640(0x4bc),new Map()),A(this,'_members$',new j[(_0xf0b640(0x1e7))](this['_members'])),A(this,_0xf0b640(0x275),this[_0xf0b640(0x2d4)][_0xf0b640(0x28c)]());}[_0x493b7c(0x2d9)](){var _0x3db9ba=_0x493b7c;this[_0x3db9ba(0x4bc)][_0x3db9ba(0x458)]();}[_0x493b7c(0x343)](_0x993466){var _0x904feb=_0x493b7c;this['_members'][_0x904feb(0x206)](_0x993466[_0x904feb(0x3dd)],_0x993466),this[_0x904feb(0x319)]();}[_0x493b7c(0x1c3)](_0x414a82){var _0x25e2ba=_0x493b7c;this[_0x25e2ba(0x4bc)]['delete'](_0x414a82);}[_0x493b7c(0x351)](_0x513162){var _0x23c120=_0x493b7c;return this[_0x23c120(0x4bc)]['get'](_0x513162);}[_0x493b7c(0x1be)](){var _0x1846fc=_0x493b7c;return Array[_0x1846fc(0x474)](this[_0x1846fc(0x4bc)][_0x1846fc(0x38a)]());}[_0x493b7c(0x319)](){var _0x3f45c3=_0x493b7c;this[_0x3f45c3(0x2d4)][_0x3f45c3(0x261)](this[_0x3f45c3(0x4bc)]);}}var si=Object[_0x493b7c(0x4e0)],oi=(_0x5a6844,_0x56a111,_0x1b32e5,_0x2ca3fe)=>{for(var _0x367fcf=_0x2ca3fe>0x1?void 0x0:_0x2ca3fe?si(_0x56a111,_0x1b32e5):_0x56a111,_0x4b2bdb=_0x5a6844['length']-0x1,_0x3d05ae;_0x4b2bdb>=0x0;_0x4b2bdb--)(_0x3d05ae=_0x5a6844[_0x4b2bdb])&&(_0x367fcf=_0x3d05ae(_0x367fcf)||_0x367fcf);return _0x367fcf;},oe=(_0x2e299a,_0x22fb74)=>(_0x30d38b,_0x19051a)=>_0x22fb74(_0x30d38b,_0x19051a,_0x2e299a),se=(_0x9529f3=>(_0x9529f3[_0x9529f3[_0x493b7c(0x31d)]=0x0]=_0x493b7c(0x31d),_0x9529f3[_0x9529f3[_0x493b7c(0x242)]=0x1]=_0x493b7c(0x242),_0x9529f3[_0x9529f3[_0x493b7c(0x4cd)]=0x2]=_0x493b7c(0x4cd),_0x9529f3[_0x9529f3[_0x493b7c(0x40d)]=0x3]=_0x493b7c(0x40d),_0x9529f3))(se||{});const Ye={[ae['FAIL']]:_0x493b7c(0x3c3),[ae[_0x493b7c(0x23b)]]:_0x493b7c(0x321),[ae[_0x493b7c(0x1ae)]]:_0x493b7c(0x28a),[ae[_0x493b7c(0x388)]]:'session.room-permission-denied',[ae[_0x493b7c(0x47a)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x493b7c(0x19a)]{constructor(_0x109375,_0x59c3ac,_0x55dd01,_0x13568c,_0x252d69,_0x3983d3,_0x465584,_0x115dbf,_0x5da248){var _0x5abe2b=_0x493b7c;super(),A(this,_0x5abe2b(0x2ce),new j[(_0x5abe2b(0x1e7))](0x0)),A(this,'sessionStatus$',this[_0x5abe2b(0x2ce)][_0x5abe2b(0x28c)]()),A(this,_0x5abe2b(0x3d2),new j[(_0x5abe2b(0x39f))]()),A(this,_0x5abe2b(0x490),this['_event$'][_0x5abe2b(0x28c)]()),A(this,_0x5abe2b(0x3c5)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,_0x5abe2b(0x1bd),!0x1),A(this,_0x5abe2b(0x311),null),(this['_unitID']=_0x109375,this[_0x5abe2b(0x4c5)]=_0x55dd01,this[_0x5abe2b(0x23a)]=_0x13568c,this[_0x5abe2b(0x24f)]=_0x252d69,this[_0x5abe2b(0x386)]=_0x3983d3,this[_0x5abe2b(0x2f1)]=_0x465584,this['_collaborationUIEventService']=_0x115dbf,this['_telemetryService']=_0x5da248,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x59c3ac[_0x5abe2b(0x30e)](j[_0x5abe2b(0x4ca)](this[_0x5abe2b(0x327)]))[_0x5abe2b(0x2db)](_0x3665c3=>{var _0x3bcb57=_0x5abe2b,_0x1367ce;typeof _0x3665c3>'u'||(this['_socket']=_0x3665c3,_0x3665c3?(this['_joinRoom'](_0x3665c3),this['_socketMessageSubscription']=_0x3665c3[_0x3bcb57(0x2d6)][_0x3bcb57(0x2db)](_0x41b430=>{var _0x1dcf49=_0x3bcb57;_0x41b430['routeKey']===this[_0x1dcf49(0x3e5)]&&this[_0x1dcf49(0x1e9)](_0x41b430);})):(this[_0x3bcb57(0x415)](),this[_0x3bcb57(0x2ce)]['next'](0x2),(_0x1367ce=this[_0x3bcb57(0x255)])==null||_0x1367ce[_0x3bcb57(0x245)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x68dc2e=_0x493b7c;return this[_0x68dc2e(0x2ce)][_0x68dc2e(0x1ef)]();}[_0x493b7c(0x433)](){var _0x382d2f,_0x2caa9d;return(_0x2caa9d=(_0x382d2f=this['_socket'])==null?void 0x0:_0x382d2f['memberID'])!=null?_0x2caa9d:null;}[_0x493b7c(0x2d9)](){var _0x3c31db=_0x493b7c;super[_0x3c31db(0x2d9)](),this['dispose$'][_0x3c31db(0x261)](),this[_0x3c31db(0x327)][_0x3c31db(0x250)]();}[_0x493b7c(0x355)](){var _0x253db2=_0x493b7c,_0xaa35a5,_0x4deb8f;this[_0x253db2(0x415)](),(_0xaa35a5=this[_0x253db2(0x3c5)])==null||_0xaa35a5[_0x253db2(0x248)]({'cmd':W[_0x253db2(0x1d0)],'data':{'roomID':this[_0x253db2(0x3e5)]}}),(_0x4deb8f=this[_0x253db2(0x3c5)])==null||_0x4deb8f['close'](),this[_0x253db2(0x3d2)]['complete'](),this[_0x253db2(0x2ce)][_0x253db2(0x250)](),this['dispose']();}[_0x493b7c(0x1e9)](_0x586adc){var _0x158b8a=_0x493b7c;_0x586adc[_0x158b8a(0x4b2)]===W[_0x158b8a(0x27b)]?this[_0x158b8a(0x2a7)](_0x586adc):_0x586adc[_0x158b8a(0x4b2)]===W['RECV']&&this[_0x158b8a(0x2b8)](_0x586adc);}['_joinRoom'](_0x42d601){var _0x36eec7=_0x493b7c;this['_sessionStatus$']['next'](0x1),_0x42d601['send']({'cmd':W[_0x36eec7(0x27b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x493b7c(0x2a7)](_0x3e437d){var _0x52051c=_0x493b7c,_0x4eeced;if(_0x3e437d[_0x52051c(0x191)]in Ye){this[_0x52051c(0x4aa)]['emitEvent']({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x3e437d[_0x52051c(0x191)]]}),this[_0x52051c(0x2ce)][_0x52051c(0x261)](0x2);return;}this[_0x52051c(0x2ce)][_0x52051c(0x261)](0x3);const _0x47cbb0=(_0x4eeced=_0x3e437d[_0x52051c(0x1ba)][_0x52051c(0x281)][this[_0x52051c(0x3e5)]])==null?void 0x0:_0x4eeced[_0x52051c(0x213)];_0x47cbb0&&_0x47cbb0['forEach'](_0x4814a3=>this[_0x52051c(0x386)][_0x52051c(0x343)](this[_0x52051c(0x3e5)],_0x4814a3));}[_0x493b7c(0x2b8)](_0x2f24e7){var _0x58804c=_0x493b7c;try{const _0x548c27=_0x2f24e7[_0x58804c(0x1ba)];switch(_0x548c27[_0x58804c(0x3af)]){case g['CollaborationEvent']['USERS_ENTER']:this[_0x58804c(0x33e)](_0x548c27),this[_0x58804c(0x3d2)][_0x58804c(0x261)](_0x548c27);break;case g[_0x58804c(0x21a)][_0x58804c(0x2ef)]:this[_0x58804c(0x383)](_0x548c27),this['_event$'][_0x58804c(0x261)](_0x548c27);break;case g[_0x58804c(0x21a)][_0x58804c(0x1c0)]:case g[_0x58804c(0x21a)][_0x58804c(0x49f)]:this[_0x58804c(0x182)](),this[_0x58804c(0x448)](),this['_event$'][_0x58804c(0x261)](_0x548c27);break;case g['CollaborationEvent'][_0x58804c(0x2ea)]:this['_logService'][_0x58804c(0x1fe)](_0x58804c(0x432)+JSON[_0x58804c(0x4c9)](_0x548c27)),this[_0x58804c(0x3d2)][_0x58804c(0x261)](_0x548c27);break;case g[_0x58804c(0x21a)]['COMMENT_UPDATE']:this['_commentService'][_0x58804c(0x1a4)](_0x548c27[_0x58804c(0x1ba)]),this['_event$'][_0x58804c(0x261)](_0x548c27);break;default:this[_0x58804c(0x3d2)][_0x58804c(0x261)](_0x548c27);}}catch(_0x43c21f){this['_logService']['error'](_0x43c21f,_0x2f24e7);}}[_0x493b7c(0x33e)](_0x4dc704){var _0xc5397b=_0x493b7c;this['_memberService'][_0xc5397b(0x343)](this[_0xc5397b(0x3e5)],_0x4dc704['data']);}['_onUserLeave'](_0x2d412c){var _0x2c85cc=_0x493b7c;this[_0x2c85cc(0x386)][_0x2c85cc(0x1c3)](this['_unitID'],_0x2d412c[_0x2c85cc(0x1ba)][_0x2c85cc(0x3dd)]);}async[_0x493b7c(0x248)](_0x21342a,_0x3cd20f){var _0x80bc3=_0x493b7c;if(this[_0x80bc3(0x462)]!==0x3||!this[_0x80bc3(0x3c5)])throw new Error(_0x80bc3(0x2f7));try{_0x21342a[_0x80bc3(0x3af)]===g[_0x80bc3(0x21a)][_0x80bc3(0x418)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x21342a)),this[_0x80bc3(0x3c5)][_0x80bc3(0x248)]({'cmd':W[_0x80bc3(0x362)],'routeKey':_0x3cd20f,'routeType':'','data':_0x21342a});}catch(_0x233af7){this[_0x80bc3(0x4c5)][_0x80bc3(0x1fe)](_0x233af7);}}[_0x493b7c(0x479)](){var _0x5b15b1=_0x493b7c,_0x263990;this[_0x5b15b1(0x440)]=setTimeout(()=>{var _0x5e4ee7=_0x5b15b1;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x5e4ee7(0x3a9)]({'id':Q[_0x5e4ee7(0x3d0)]});},(_0x263990=this[_0x5b15b1(0x23a)]['getConfig'](je))!=null?_0x263990:gt);}[_0x493b7c(0x448)](){var _0x3f9eb3=_0x493b7c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3f9eb3(0x440)]),this[_0x3f9eb3(0x440)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5c76ab){var _0x4b08c7=_0x493b7c;if(!this[_0x4b08c7(0x1bd)])return;const {data:_0x456cf2}=_0x5c76ab,{unitID:_0x4dce64,changeset:_0x3facca}=_0x456cf2,{mutations:_0x2fd2d8,type:_0x55f18b}=_0x3facca;this[_0x4b08c7(0x311)]={'unitId':_0x4dce64,'type':_0x55f18b,'startTime':performance[_0x4b08c7(0x4c2)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x2fd2d8)};}[_0x493b7c(0x182)](){var _0x5ab55a=_0x493b7c;if(this[_0x5ab55a(0x1bd)]){if(!this[_0x5ab55a(0x311)]){this['_logService'][_0x5ab55a(0x1fe)](_0x5ab55a(0x3bd),_0x5ab55a(0x3ed));return;}this[_0x5ab55a(0x311)][_0x5ab55a(0x336)]=performance[_0x5ab55a(0x4c2)](),this[_0x5ab55a(0x311)][_0x5ab55a(0x2e7)]=this[_0x5ab55a(0x311)]['stopTime']-this['_telemetryInfo']['startTime'],this[_0x5ab55a(0x38b)][_0x5ab55a(0x377)](ei,this['_telemetryInfo']),this[_0x5ab55a(0x311)]=null;}}[_0x493b7c(0x415)](){this['_telemetryInfo']=null;}},exports[_0x493b7c(0x2dd)]=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x493b7c(0x399)]),oe(0x4,a[_0x493b7c(0x41a)](a[_0x493b7c(0x380)])),oe(0x5,a['Inject'](exports[_0x493b7c(0x2a8)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x493b7c(0x41a)](te)),oe(0x8,a['Optional'](Mt[_0x493b7c(0x475)]))],exports['CollaborationSession']);var ai=Object[_0x493b7c(0x4e0)],ci=(_0x234b27,_0x1e9366,_0x30fe5f,_0x39709f)=>{var _0x74ca18=_0x493b7c;for(var _0x5caf6f=_0x39709f>0x1?void 0x0:_0x39709f?ai(_0x1e9366,_0x30fe5f):_0x1e9366,_0x1a85d7=_0x234b27[_0x74ca18(0x286)]-0x1,_0x29cba3;_0x1a85d7>=0x0;_0x1a85d7--)(_0x29cba3=_0x234b27[_0x1a85d7])&&(_0x5caf6f=_0x29cba3(_0x5caf6f)||_0x5caf6f);return _0x5caf6f;},le=(_0x1a6c0d,_0x31188b)=>(_0x348c45,_0x3a0ca9)=>_0x31188b(_0x348c45,_0x3a0ca9,_0x1a6c0d);exports[_0x493b7c(0x3c0)]=class extends a[_0x493b7c(0x3e6)]{constructor(_0x3fe63b,_0x19bce6,_0x157d41,_0x1169b9,_0x2edaf4,_0x3017ef){var _0x2fdc90=_0x493b7c;super(),A(this,_0x2fdc90(0x17b),new j[(_0x2fdc90(0x1e7))](void 0x0)),A(this,_0x2fdc90(0x2b4),this[_0x2fdc90(0x17b)][_0x2fdc90(0x28c)]()),A(this,_0x2fdc90(0x404),null),A(this,_0x2fdc90(0x2c3),new Map()),A(this,_0x2fdc90(0x2a3),new j[(_0x2fdc90(0x1e7))](se[_0x2fdc90(0x31d)])),A(this,'status$',this['_status$']['asObservable']()),A(this,_0x2fdc90(0x1e6),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x2fdc90(0x4bb),0x0),A(this,_0x2fdc90(0x37d)),A(this,_0x2fdc90(0x243)),(this[_0x2fdc90(0x232)]=_0x3fe63b,this[_0x2fdc90(0x4c5)]=_0x19bce6,this[_0x2fdc90(0x23a)]=_0x157d41,this[_0x2fdc90(0x225)]=_0x1169b9,this[_0x2fdc90(0x4aa)]=_0x2edaf4,this[_0x2fdc90(0x2d3)]=_0x3017ef,this[_0x2fdc90(0x2e8)]());}get[_0x493b7c(0x3c5)](){var _0x151a21=_0x493b7c;return this[_0x151a21(0x17b)][_0x151a21(0x1ef)]();}[_0x493b7c(0x2e8)](){var _0x4cef43=_0x493b7c;this[_0x4cef43(0x2d3)]&&this[_0x4cef43(0x482)](this[_0x4cef43(0x2d3)]['online$'][_0x4cef43(0x2db)](_0x592400=>{var _0x3a767f=_0x4cef43;_0x592400&&!this['_socket']&&this['reconnect'](),_0x592400||this[_0x3a767f(0x46d)]();}));}[_0x493b7c(0x2d9)](){var _0x4c3ac9=_0x493b7c;super[_0x4c3ac9(0x2d9)](),this['_clearRetryConnectingTimer'](),this[_0x4c3ac9(0x16e)](),this[_0x4c3ac9(0x330)](),this['_sessions'][_0x4c3ac9(0x240)](_0x3bd35d=>_0x3bd35d[_0x4c3ac9(0x2d9)]()),this[_0x4c3ac9(0x2c3)][_0x4c3ac9(0x458)](),this[_0x4c3ac9(0x2a3)][_0x4c3ac9(0x250)]();}async['requireSession'](_0x5663a4){var _0x407090=_0x493b7c;if(this[_0x407090(0x2c3)][_0x407090(0x229)](_0x5663a4))return this[_0x407090(0x2c3)][_0x407090(0x497)](_0x5663a4);this[_0x407090(0x24d)]();const _0x59bf77=this[_0x407090(0x232)]['createInstance'](exports[_0x407090(0x2dd)],_0x5663a4,this[_0x407090(0x17b)]['asObservable']());return this[_0x407090(0x2c3)][_0x407090(0x206)](_0x5663a4,_0x59bf77),_0x59bf77;}['closeSession'](_0x2757b){var _0x11b17c=_0x493b7c,_0x41a40a;const _0x58030d=this[_0x11b17c(0x2c3)][_0x11b17c(0x497)](_0x2757b);_0x58030d&&(this['_sessions'][_0x11b17c(0x323)](_0x2757b),_0x58030d['close']()),this[_0x11b17c(0x2c3)]['size']||(_0x41a40a=this[_0x11b17c(0x3c5)])==null||_0x41a40a[_0x11b17c(0x355)]();}[_0x493b7c(0x3f8)](){var _0x5c1b21=_0x493b7c;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x5c1b21(0x34a)]();}[_0x493b7c(0x37b)](){var _0x17623e=_0x493b7c;this[_0x17623e(0x491)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x17623e(0x491)]=null);}async[_0x493b7c(0x169)](){var _0x3304d3=_0x493b7c,_0x36be05,_0x491bdf;const _0x5da19d=this['_configService'][_0x3304d3(0x17a)](St),_0x3d31b3=this['_configService'][_0x3304d3(0x17a)](Y),_0x256199=(_0x491bdf=(_0x36be05=_0x3d31b3==null?void 0x0:_0x3d31b3[_0x3304d3(0x455)])!=null?_0x36be05:_0x5da19d)!=null?_0x491bdf:ft,_0x437c00=await this['_socketService'][_0x3304d3(0x4c4)](_0x256199);return this[_0x3304d3(0x404)]=_0x437c00,_0x437c00;}async[_0x493b7c(0x24d)](){var _0x2b3084=_0x493b7c,_0x5b4c08,_0xb40492;try{const _0x181cfa=(_0xb40492=(_0x5b4c08=this['_socket'])!=null?_0x5b4c08:this['_candidateSocket'])!=null?_0xb40492:await this[_0x2b3084(0x169)]();if(_0x181cfa){const _0x1dd53d=_0x181cfa[_0x2b3084(0x248)];_0x181cfa[_0x2b3084(0x248)]=_0x16882b=>(this[_0x2b3084(0x287)](),_0x1dd53d[_0x2b3084(0x226)](_0x181cfa,[_0x16882b])),_0x181cfa[_0x2b3084(0x2d6)][_0x2b3084(0x2db)](_0x3a3cc2=>this['_onMessage'](_0x181cfa,_0x3a3cc2)),_0x181cfa['error$'][_0x2b3084(0x30e)](V[_0x2b3084(0x3c1)](0x1))[_0x2b3084(0x2db)](_0x5ec08f=>this[_0x2b3084(0x4c5)][_0x2b3084(0x1fe)](_0x2b3084(0x209),_0x5ec08f)),_0x181cfa[_0x2b3084(0x2e9)][_0x2b3084(0x30e)](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x181cfa);}),_0x181cfa[_0x2b3084(0x4c7)][_0x2b3084(0x30e)](V['take'](0x1))[_0x2b3084(0x2db)](_0x4de881=>{var _0x1b5c3f=_0x2b3084;this[_0x1b5c3f(0x4c5)][_0x1b5c3f(0x219)](_0x1b5c3f(0x241),_0x1b5c3f(0x3d1),_0x4de881),this[_0x1b5c3f(0x2b2)]();});}}catch(_0x4242cd){this[_0x2b3084(0x4c5)][_0x2b3084(0x1fe)](_0x4242cd),this[_0x2b3084(0x2b2)]();}}[_0x493b7c(0x316)](_0x1f1bb8){var _0x17f611=_0x493b7c;this[_0x17f611(0x4c5)][_0x17f611(0x219)](_0x17f611(0x241),'socket\x20open.'),_0x1f1bb8[_0x17f611(0x248)]({'cmd':W['HELLO']}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x19c41d=_0x493b7c;this['_socketReady']=!0x1,this[_0x19c41d(0x404)]=null,this[_0x19c41d(0x2a3)][_0x19c41d(0x261)](se[_0x19c41d(0x4cd)]),this[_0x19c41d(0x17b)][_0x19c41d(0x261)](null),this[_0x19c41d(0x16e)](),this[_0x19c41d(0x330)]();}[_0x493b7c(0x2b2)](){var _0x4b9df9=_0x493b7c,_0x3634d0;this[_0x4b9df9(0x46d)](),this[_0x4b9df9(0x4bb)]<((_0x3634d0=this['_configService'][_0x4b9df9(0x17a)](mt))!=null?_0x3634d0:Vt)?(this['_collaborationUIEventService'][_0x4b9df9(0x3a9)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x4b9df9(0x34a)]()):this[_0x4b9df9(0x4aa)][_0x4b9df9(0x3a9)]({'id':Q[_0x4b9df9(0x356)]});}[_0x493b7c(0x34a)](){var _0x14a874=_0x493b7c,_0x42c5c1;const _0x2ac3ff=this[_0x14a874(0x4bb)],_0x30619d=this[_0x14a874(0x23a)]['getConfig'](Y),_0x5b58f9=_0x2ac3ff===0x0?0x0:((_0x42c5c1=_0x30619d==null?void 0x0:_0x30619d[_0x14a874(0x2ab)])!=null?_0x42c5c1:Ft)*0x2**_0x2ac3ff;this[_0x14a874(0x491)]=setTimeout(()=>{var _0x125a75=_0x14a874;clearTimeout(this[_0x125a75(0x491)]),this[_0x125a75(0x491)]=null,this[_0x125a75(0x24d)]();},_0x5b58f9),this[_0x14a874(0x4bb)]+=0x1;}[_0x493b7c(0x3cc)](_0x32a163,_0x4c52ce){var _0x13d853=_0x493b7c;const {cmd:_0x4c7013}=_0x4c52ce;_0x4c7013===W[_0x13d853(0x24a)]&&!this['_socketReady']&&(_0x32a163['memberID']=_0x4c52ce[_0x13d853(0x1ba)][_0x13d853(0x3dd)],this['_socket$']['next'](_0x32a163),this[_0x13d853(0x2a3)][_0x13d853(0x261)](se[_0x13d853(0x40d)]),this[_0x13d853(0x1e6)]=!0x0,this[_0x13d853(0x404)]=null),_0x4c7013===W['HEARTBEAT']&&this[_0x13d853(0x16e)](),this[_0x13d853(0x287)]();}[_0x493b7c(0x287)](){var _0x5b4635=_0x493b7c,_0x22daf7;this[_0x5b4635(0x330)](),this[_0x5b4635(0x37d)]=setTimeout(()=>this[_0x5b4635(0x313)](),(_0x22daf7=this[_0x5b4635(0x23a)][_0x5b4635(0x17a)](pt))!=null?_0x22daf7:Bt);}[_0x493b7c(0x313)](){var _0x5b51cd=_0x493b7c;this['_socket'][_0x5b51cd(0x248)]({'cmd':W[_0x5b51cd(0x2c8)]}),this[_0x5b51cd(0x1ac)]();}['_waitForHeartbeatResponse'](){var _0x222229=_0x493b7c,_0x11809b;this['_timeoutTimer']=setTimeout(()=>this[_0x222229(0x2b2)](),(_0x11809b=this[_0x222229(0x23a)][_0x222229(0x17a)](je))!=null?_0x11809b:gt);}['_clearHeartbeatTimer'](){var _0x3a8443=_0x493b7c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3a8443(0x37d)]),this['_sendHeartbeatTimer']=null);}[_0x493b7c(0x16e)](){var _0x5a1203=_0x493b7c;this[_0x5a1203(0x243)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=ci([le(0x0,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),le(0x1,a[_0x493b7c(0x264)]),le(0x2,a['IConfigService']),le(0x3,$e),le(0x4,a[_0x493b7c(0x41a)](te)),le(0x5,a['Optional'](bt))],exports[_0x493b7c(0x3c0)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x493b7c(0x188)]((n+0x100)[_0x493b7c(0x47e)](0x10)['slice'](0x1));function hi(_0x1b67a5,_0x52ed0c=0x0){return(G[_0x1b67a5[_0x52ed0c+0x0]]+G[_0x1b67a5[_0x52ed0c+0x1]]+G[_0x1b67a5[_0x52ed0c+0x2]]+G[_0x1b67a5[_0x52ed0c+0x3]]+'-'+G[_0x1b67a5[_0x52ed0c+0x4]]+G[_0x1b67a5[_0x52ed0c+0x5]]+'-'+G[_0x1b67a5[_0x52ed0c+0x6]]+G[_0x1b67a5[_0x52ed0c+0x7]]+'-'+G[_0x1b67a5[_0x52ed0c+0x8]]+G[_0x1b67a5[_0x52ed0c+0x9]]+'-'+G[_0x1b67a5[_0x52ed0c+0xa]]+G[_0x1b67a5[_0x52ed0c+0xb]]+G[_0x1b67a5[_0x52ed0c+0xc]]+G[_0x1b67a5[_0x52ed0c+0xd]]+G[_0x1b67a5[_0x52ed0c+0xe]]+G[_0x1b67a5[_0x52ed0c+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x19c26e=_0x493b7c;if(!Ue){if(typeof crypto>'u'||!crypto[_0x19c26e(0x28b)])throw new Error(_0x19c26e(0x18b));Ue=crypto[_0x19c26e(0x28b)][_0x19c26e(0x280)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),qe={'randomUUID':ui};function di(_0x208e72,_0x3260ec,_0x228a1f){var _0x435ac7=_0x493b7c,_0x4ba9ef,_0x268d43,_0x146d3c;if(qe[_0x435ac7(0x1d4)]&&!_0x208e72)return qe[_0x435ac7(0x1d4)]();_0x208e72=_0x208e72||{};const _0x39ffb6=(_0x146d3c=(_0x268d43=_0x208e72[_0x435ac7(0x407)])!=null?_0x268d43:(_0x4ba9ef=_0x208e72[_0x435ac7(0x4e5)])==null?void 0x0:_0x4ba9ef[_0x435ac7(0x1dd)](_0x208e72))!=null?_0x146d3c:_i();if(_0x39ffb6[_0x435ac7(0x286)]<0x10)throw new Error(_0x435ac7(0x334));return _0x39ffb6[0x6]=_0x39ffb6[0x6]&0xf|0x40,_0x39ffb6[0x8]=_0x39ffb6[0x8]&0x3f|0x80,hi(_0x39ffb6);}const z=a[_0x493b7c(0x3ce)](_0x493b7c(0x3b3));function vi(_0x4c3429){var _0x518c1a=_0x493b7c;return _0x518c1a(0x438)+_0x4c3429;}var Si=Object[_0x493b7c(0x4e0)],fi=(_0x110020,_0x45c853,_0xff8d32,_0x34fdc7)=>{var _0xb68cd9=_0x493b7c;for(var _0x54bd36=_0x34fdc7>0x1?void 0x0:_0x34fdc7?Si(_0x45c853,_0xff8d32):_0x45c853,_0x35914b=_0x110020[_0xb68cd9(0x286)]-0x1,_0x110162;_0x35914b>=0x0;_0x35914b--)(_0x110162=_0x110020[_0x35914b])&&(_0x54bd36=_0x110162(_0x54bd36)||_0x54bd36);return _0x54bd36;},Ae=(_0x5bb990,_0x4ad232)=>(_0x42c0b4,_0x1b90ce)=>_0x4ad232(_0x42c0b4,_0x1b90ce,_0x5bb990);function pi(_0xf79583){var _0x3496d6=_0x493b7c;const {unitID:_0x1d16b0,mutations:_0x939c78}=_0xf79583;return{'unitId':_0x1d16b0,'subUnitId':_0x939c78[0x0][_0x3496d6(0x421)][_0x3496d6(0x35c)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x1da7de,_0x37acb4,_0x1c01d7){var _0x250247=_0x493b7c;this[_0x250247(0x232)]=_0x1da7de,this['_transformService']=_0x37acb4,this[_0x250247(0x3f3)]=_0x1c01d7;}[_0x493b7c(0x3e2)](_0x44ecb2){var _0x3e4d9e=_0x493b7c,_0x2f9860,_0x3ebed0,_0x469ca8,_0x16abda;const _0x57a55c=this[_0x3e4d9e(0x232)][_0x3e4d9e(0x497)](Z[_0x3e4d9e(0x23d)]),{unitId:_0x491a86,subUnitId:_0x38f4a6}=pi(_0x44ecb2),_0x3d2388=_0x57a55c==null?void 0x0:_0x57a55c[_0x3e4d9e(0x3ae)](_0x491a86)['getCurrentSelections'](),_0x367c39=(_0x3ebed0=(_0x2f9860=this[_0x3e4d9e(0x3f3)][_0x3e4d9e(0x2b9)](_0x491a86))==null?void 0x0:_0x2f9860[_0x3e4d9e(0x31e)]())==null?void 0x0:_0x3ebed0[_0x3e4d9e(0x4ad)]();if(_0x3d2388[_0x3e4d9e(0x286)]===0x0||!_0x491a86||!_0x38f4a6)return;const _0x4fe207=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x491a86,'subUnitId':_0x367c39,'selections':a[_0x3e4d9e(0x265)]['deepClone'](_0x3d2388)}}],_0x10eade=this[_0x3e4d9e(0x283)][_0x3e4d9e(0x227)](_0x44ecb2,_0x4fe207);if(!g[_0x3e4d9e(0x35e)](_0x10eade))throw _0x10eade['error'];const _0x1cf942=(_0x16abda=(_0x469ca8=_0x10eade['m2Prime'][0x0])==null?void 0x0:_0x469ca8['params'])==null?void 0x0:_0x16abda[_0x3e4d9e(0x390)];if(Array[_0x3e4d9e(0x2d5)](_0x1cf942)&&_0x1cf942['length']){if(_0x1cf942[_0x3e4d9e(0x286)]===_0x4fe207[0x0][_0x3e4d9e(0x421)][_0x3e4d9e(0x390)][_0x3e4d9e(0x286)]&&_0x1cf942[_0x3e4d9e(0x4be)]((_0x5e3f9c,_0x2704f7)=>a[_0x3e4d9e(0x4b4)]['equals'](_0x5e3f9c[_0x3e4d9e(0x4bd)],_0x4fe207[0x0][_0x3e4d9e(0x421)][_0x3e4d9e(0x390)][_0x2704f7]['range'])))return;this[_0x3e4d9e(0x232)][_0x3e4d9e(0x497)](a['ICommandService'])['executeCommand'](Z[_0x3e4d9e(0x26c)]['id'],{'unitId':_0x491a86,'subUnitId':_0x367c39,'selections':_0x1cf942});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),Ae(0x1,g[_0x493b7c(0x4ac)]),Ae(0x2,a[_0x493b7c(0x239)])],exports[_0x493b7c(0x1a2)]);const ve=a[_0x493b7c(0x3ce)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0xe8a30a=>(_0xe8a30a[_0xe8a30a[_0x493b7c(0x251)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xe8a30a[_0xe8a30a['OTHER_CLIENTS_EDITING']=0x1]=_0x493b7c(0x2be),_0xe8a30a))(Fe||{});const gi=new Set([Z[_0x493b7c(0x28e)]['id']]);function ze(_0x5a0588,_0x52f42c,_0x5127e7,_0x461266,_0x16a054){var _0x8c1423=_0x493b7c,_0x45d1e0,_0x447973,_0x374c3,_0x152023;const _0x1b8853=[];for(const _0x5d248e of _0x5a0588)if(gi[_0x8c1423(0x229)](_0x5d248e['id'])){if(_0x1b8853[_0x8c1423(0x286)]>0x0)break;_0x1b8853['push'](_0x5d248e);break;}else _0x1b8853['push'](_0x5d248e);const _0x1f70d5=(_0x447973=(_0x45d1e0=_0x16a054[_0x8c1423(0x193)]())==null?void 0x0:_0x45d1e0[_0x8c1423(0x342)])!=null?_0x447973:_0x8c1423(0x439),_0xf985ab=(_0x152023=(_0x374c3=_0x16a054[_0x8c1423(0x193)]())==null?void 0x0:_0x374c3[_0x8c1423(0x3dd)])!=null?_0x152023:_0x8c1423(0x439);return{'changeset':{'unitID':_0x52f42c,'type':g['mapDocumentTypeToUniverType'](_0x5127e7[_0x8c1423(0x29d)](_0x52f42c)),'baseRev':_0x461266[_0x8c1423(0x416)](_0x52f42c),'revision':0x0,'userID':_0x1f70d5,'memberID':_0xf985ab,'mutations':_0x1b8853},'pendingMutations':_0x5a0588[_0x8c1423(0x300)](_0x1b8853['length'])};}function mi(_0x307525,_0x354133,_0x1f9e78,_0x2058ee,_0x3422ad){var _0x51691b=_0x493b7c,_0x5e3456,_0x556bdb,_0x44c72d,_0x39bf3d;const _0x2a350e=[_0x307525[_0x51691b(0x3be)]((_0x5e7a17,_0x5bc02e)=>{var _0x475181=_0x51691b,_0x1f86e8;const {id:_0x27908a}=_0x5e7a17,{id:_0x1790fe,type:_0x3bf73c}=_0x5bc02e,_0x2120a5=(_0x1f86e8=_0x5e7a17[_0x475181(0x421)])!=null?_0x1f86e8:{'actions':null},_0x1c106b=_0x5bc02e['params'];if(_0x27908a&&_0x27908a!==_0x1790fe)throw new Error(_0x475181(0x2a5)+_0x27908a+_0x475181(0x1e3)+_0x1790fe+'.');return{..._0x5e7a17,'id':_0x1790fe,'type':_0x3bf73c,'params':{'unitId':_0x1c106b[_0x475181(0x41b)],'textRanges':_0x1c106b[_0x475181(0x266)],'actions':a[_0x475181(0x350)]['compose'](_0x2120a5[_0x475181(0x3cd)],_0x1c106b[_0x475181(0x3cd)])}};},{})],_0x2923be=(_0x556bdb=(_0x5e3456=_0x3422ad[_0x51691b(0x193)]())==null?void 0x0:_0x5e3456['userID'])!=null?_0x556bdb:_0x51691b(0x439),_0x349762=(_0x39bf3d=(_0x44c72d=_0x3422ad[_0x51691b(0x193)]())==null?void 0x0:_0x44c72d['memberID'])!=null?_0x39bf3d:'unknown';return{'changeset':{'unitID':_0x354133,'type':g[_0x51691b(0x470)](_0x1f9e78[_0x51691b(0x29d)](_0x354133)),'baseRev':_0x2058ee[_0x51691b(0x416)](_0x354133),'revision':0x0,'userID':_0x2923be,'memberID':_0x349762,'mutations':_0x2a350e},'pendingMutations':[]};}function yt(_0x15ef83,_0x18523e){var _0x99f4e9=_0x493b7c;const _0x1e65c1=new j[(_0x99f4e9(0x4a7))](0x1);return setTimeout(()=>_0x1e65c1[_0x99f4e9(0x261)](_0x18523e),_0x15ef83),_0x1e65c1['asObservable']()[_0x99f4e9(0x30e)](j[_0x99f4e9(0x3c1)](0x1));}const Ii={'id':Z[_0x493b7c(0x263)]['id'],'type':a[_0x493b7c(0x412)][_0x493b7c(0x39d)],'params':{}};var Ei=Object[_0x493b7c(0x4e0)],ce=(_0x1231b0,_0x1e0f27,_0x2e4de9,_0x1ffd2b)=>{var _0x4e8a34=_0x493b7c;for(var _0x9202ee=_0x1ffd2b>0x1?void 0x0:_0x1ffd2b?Ei(_0x1e0f27,_0x2e4de9):_0x1e0f27,_0x43adf8=_0x1231b0[_0x4e8a34(0x286)]-0x1,_0x50c86b;_0x43adf8>=0x0;_0x43adf8--)(_0x50c86b=_0x1231b0[_0x43adf8])&&(_0x9202ee=_0x50c86b(_0x9202ee)||_0x9202ee);return _0x9202ee;},w=(_0x447916,_0x36e3a1)=>(_0x562864,_0x579114)=>_0x36e3a1(_0x562864,_0x579114,_0x447916),Ve=(_0x1befbf=>(_0x1befbf[_0x493b7c(0x4a9)]=_0x493b7c(0x34f),_0x1befbf[_0x493b7c(0x211)]=_0x493b7c(0x2bb),_0x1befbf[_0x493b7c(0x3a1)]=_0x493b7c(0x495),_0x1befbf[_0x493b7c(0x3d7)]=_0x493b7c(0x3fe),_0x1befbf['AWAITING_WITH_PENDING']=_0x493b7c(0x3e1),_0x1befbf[_0x493b7c(0x27d)]=_0x493b7c(0x2cc),_0x1befbf[_0x493b7c(0x237)]='conflict',_0x1befbf[_0x493b7c(0x4cd)]=_0x493b7c(0x274),_0x1befbf))(Ve||{});const Nt=0xea60;class he{constructor(_0x4a2577,_0x1d1fe7,_0x20bbdb,_0x302318,_0x55cfaa,_0x3aa21c,_0x5350a6,_0x3aeee5,_0x106ac5){var _0x515a04=_0x493b7c;A(this,_0x515a04(0x483),null),A(this,'_pendingMutations',[]),(this[_0x515a04(0x27c)]=_0x4a2577,this[_0x515a04(0x207)]=_0x1d1fe7,this['_handler']=_0x55cfaa,this[_0x515a04(0x23e)]=_0x3aa21c,this[_0x515a04(0x25b)]=_0x5350a6,this[_0x515a04(0x48b)]=_0x3aeee5,this[_0x515a04(0x452)]=_0x106ac5,this[_0x515a04(0x483)]=_0x20bbdb,this[_0x515a04(0x1f5)]=_0x302318);}[_0x493b7c(0x442)](_0x1edadb){var _0x241936=_0x493b7c;const _0x5ae91e=this['_revisionService'][_0x241936(0x416)](this[_0x241936(0x27c)]);return _0x1edadb[_0x241936(0x3f4)]>_0x5ae91e+0x1?(this[_0x241936(0x4a4)][_0x241936(0x44f)]({'from':_0x5ae91e,'to':_0x1edadb[_0x241936(0x3f4)]-0x1}),!0x0):!0x1;}[_0x493b7c(0x1b4)](_0x50610d){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x50610d);}[_0x493b7c(0x303)](_0x34f944){var _0x51454f=_0x493b7c,_0xe185c1,_0x10ee6f;(_0x10ee6f=(_0xe185c1=this[_0x51454f(0x4a4)])['onTransformSelections'])==null||_0x10ee6f[_0x51454f(0x1dd)](_0xe185c1,_0x34f944);}[_0x493b7c(0x3b6)](_0x554d15){var _0x30df6d=_0x493b7c,_0x4a4977,_0x2e8f39;return(_0x2e8f39=(_0x4a4977=this[_0x30df6d(0x4a4)])[_0x30df6d(0x25e)])==null?void 0x0:_0x2e8f39['call'](_0x4a4977,_0x554d15);}[_0x493b7c(0x270)](_0x2a4352){var _0x139bc0=_0x493b7c,_0x16adc3,_0x325ea7;return(_0x325ea7=(_0x16adc3=this[_0x139bc0(0x4a4)])[_0x139bc0(0x33c)])==null?void 0x0:_0x325ea7[_0x139bc0(0x1dd)](_0x16adc3,_0x2a4352);}['_transformRemoteChangesetByIMECache'](_0x5daf06){var _0x24534a=_0x493b7c,_0x2f2b80,_0x260f8e,_0x5e24ec;return(_0x5e24ec=(_0x260f8e=(_0x2f2b80=this[_0x24534a(0x4a4)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x260f8e[_0x24534a(0x1dd)](_0x2f2b80,_0x5daf06))!=null?_0x5e24ec:_0x5daf06;}[_0x493b7c(0x31f)](_0x55abfe){var _0x2cd8ce=_0x493b7c,_0x2a7b8e,_0x3d879b,_0x4dca78;return(_0x4dca78=(_0x3d879b=(_0x2a7b8e=this[_0x2cd8ce(0x4a4)])[_0x2cd8ce(0x253)])==null?void 0x0:_0x3d879b[_0x2cd8ce(0x1dd)](_0x2a7b8e,_0x55abfe))!=null?_0x4dca78:_0x55abfe;}['_syncEditingCollabCursor'](_0x1beab3){var _0x27681c=_0x493b7c,_0x1fa04b,_0x26c788;if(this['type']===X[_0x27681c(0x256)]){const {unitID:_0xf30528,mutations:_0x1eeb29,memberID:_0x2b1b70}=_0x1beab3,_0x68ad5a=_0x1eeb29[0x0]['params']['textRanges'];Array[_0x27681c(0x2d5)](_0x68ad5a)&&_0x68ad5a[_0x27681c(0x286)]>0x0&&((_0x26c788=(_0x1fa04b=this['_handler'])[_0x27681c(0x26b)])==null||_0x26c788['call'](_0x1fa04b,{'unitID':_0xf30528,'memberID':_0x2b1b70,'textRanges':_0x68ad5a}));}}[_0x493b7c(0x478)](){var _0x301f55=_0x493b7c,_0x8e7a95;(_0x8e7a95=this[_0x301f55(0x452)])==null||_0x8e7a95['updateOfflineData'](this['unitID'],this['type'],this[_0x301f55(0x483)],this['_pendingMutations']);}[_0x493b7c(0x254)](){var _0xd2f4ba=_0x493b7c;return this[_0xd2f4ba(0x48b)][_0xd2f4ba(0x416)](this['unitID']);}[_0x493b7c(0x49e)](){var _0x572d4d=_0x493b7c;this[_0x572d4d(0x48b)][_0x572d4d(0x41f)](this[_0x572d4d(0x27c)]);}[_0x493b7c(0x410)](_0x5f457c){var _0x55c4d8=_0x493b7c,_0x787800;let _0x36d2ae=this[_0x55c4d8(0x4b5)](_0x5f457c);_0x36d2ae=this['_transformRemoteChangesetByStateCache'](_0x36d2ae);const _0x524bb7=a['sequenceExecute'](_0x36d2ae[_0x55c4d8(0x1f9)],this[_0x55c4d8(0x23e)],{'fromCollab':!0x0});if(!_0x524bb7[_0x55c4d8(0x393)])throw _0x524bb7['error']instanceof Error?_0x524bb7[_0x55c4d8(0x1fe)]:new Error((_0x787800=_0x524bb7[_0x55c4d8(0x1fe)])!=null?_0x787800:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x36d2ae),this['_transformStateCache'](_0x36d2ae),this[_0x55c4d8(0x1b4)](_0x5f457c),this[_0x55c4d8(0x303)](_0x36d2ae),this[_0x55c4d8(0x434)](_0x36d2ae),this[_0x55c4d8(0x49e)]();}}exports[_0x493b7c(0x282)]=class extends he{constructor(_0x4edf15,_0x11876d,_0x7a24ef,_0x38c53f,_0x4f9883,_0x4aa017,_0x37c810,_0xc85acd,_0x3c115f,_0x4dcd63){var _0x3a1ec1=_0x493b7c;super(_0x4edf15,_0x11876d,null,[],_0x7a24ef,_0x37c810,_0x4aa017,_0x38c53f,_0x4dcd63),A(this,_0x3a1ec1(0x2af),_0x3a1ec1(0x2bb)),(this[_0x3a1ec1(0x232)]=_0x4f9883,this[_0x3a1ec1(0x4c5)]=_0xc85acd,this[_0x3a1ec1(0x283)]=_0x3c115f,this[_0x3a1ec1(0x31c)]=_0x4dcd63);}['appendMutation'](_0x35cf7d){var _0x574d33=_0x493b7c;const _0x5793e2=this['_injector']['createInstance'](exports[_0x574d33(0x41c)],this[_0x574d33(0x27c)],this[_0x574d33(0x207)],[_0x35cf7d],this[_0x574d33(0x4a4)]);return _0x5793e2[_0x574d33(0x1df)](),_0x5793e2[_0x574d33(0x478)](),_0x5793e2;}[_0x493b7c(0x3f5)](_0x37e5ef){var _0x4c2b24=_0x493b7c;if(this['_checkMissing'](_0x37e5ef))return this[_0x4c2b24(0x232)]['createInstance'](exports[_0x4c2b24(0x42f)],this['unitID'],this[_0x4c2b24(0x207)],null,[],null,[_0x37e5ef],this[_0x4c2b24(0x4a4)]);try{const _0x1db474=this[_0x4c2b24(0x283)][_0x4c2b24(0x227)](_0x37e5ef,[Ii]);if(g[_0x4c2b24(0x35e)](_0x1db474)){const {c1Prime:_0x2931fa}=_0x1db474;return this['_executeRemoteChangeset'](_0x2931fa),this;}throw _0x1db474[_0x4c2b24(0x1fe)];}catch(_0x599f1b){return this['_logService']['error'](_0x599f1b),this[_0x4c2b24(0x38d)](!0x1);}}[_0x493b7c(0x38d)](_0x8d2421){var _0x2ab145=_0x493b7c;return this[_0x2ab145(0x232)][_0x2ab145(0x308)](exports[_0x2ab145(0x372)],this[_0x2ab145(0x27c)],this['type'],null,[],this[_0x2ab145(0x4a4)],_0x8d2421);}[_0x493b7c(0x3cb)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x493b7c(0x2f4)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x493b7c(0x29b)](){return this;}[_0x493b7c(0x340)](){var _0x2e3902=_0x493b7c;return this[_0x2e3902(0x232)][_0x2e3902(0x308)](exports['OfflineState'],this[_0x2e3902(0x27c)],this['type'],null,[],this[_0x2e3902(0x4a4)]);}['toggleOnline'](){return this;}[_0x493b7c(0x359)](){var _0xc14401=_0x493b7c;throw new Error(_0xc14401(0x22f));}[_0x493b7c(0x257)](){var _0x233f4c=_0x493b7c;const _0x18d48b=this['_revisionService'][_0x233f4c(0x416)](this['unitID']);return this[_0x233f4c(0x4a4)][_0x233f4c(0x44f)]({'from':_0x18d48b,'to':0x0}),this[_0x233f4c(0x232)][_0x233f4c(0x308)](exports[_0x233f4c(0x42f)],this['unitID'],this['type'],null,[],null,[],this[_0x233f4c(0x4a4)]);}},exports[_0x493b7c(0x282)]=ce([w(0x3,a[_0x493b7c(0x41a)](g[_0x493b7c(0x194)])),w(0x4,a['Inject'](a[_0x493b7c(0x446)])),w(0x5,a[_0x493b7c(0x22b)]),w(0x6,a[_0x493b7c(0x451)]),w(0x7,a[_0x493b7c(0x264)]),w(0x8,g[_0x493b7c(0x4ac)]),w(0x9,a['Optional'](z))],exports[_0x493b7c(0x282)]),exports[_0x493b7c(0x41c)]=class extends he{constructor(_0x2827db,_0x2dbd5c,_0x1a42aa,_0x580a77,_0x4dbbf9,_0x12a045,_0x2d0a0a,_0x62a8b2,_0x4e3e89,_0x16aeef,_0xaf4dea,_0x41bb3f,_0x33c694,_0x45cf68){var _0x2b6f53=_0x493b7c;super(_0x2827db,_0x2dbd5c,null,_0x1a42aa,_0x580a77,_0x4e3e89,_0x33c694,_0x12a045,_0x45cf68),A(this,'status',_0x2b6f53(0x495)),A(this,_0x2b6f53(0x238),null),A(this,_0x2b6f53(0x437),null),(this[_0x2b6f53(0x232)]=_0x4dbbf9,this[_0x2b6f53(0x386)]=_0x2d0a0a,this['_logService']=_0x62a8b2,this[_0x2b6f53(0x23a)]=_0x16aeef,this['_transformService']=_0xaf4dea,this[_0x2b6f53(0x392)]=_0x41bb3f);}[_0x493b7c(0x473)](_0x30708c){var _0xe2bde3=_0x493b7c;return this['_pendingMutations'][_0xe2bde3(0x188)](_0x30708c),this[_0xe2bde3(0x478)](),this;}['onRemoteChangeset'](_0x26f837){var _0x4158b7=_0x493b7c;if(this[_0x4158b7(0x442)](_0x26f837))return this[_0x4158b7(0x48f)](),this[_0x4158b7(0x232)][_0x4158b7(0x308)](exports[_0x4158b7(0x42f)],this[_0x4158b7(0x27c)],this['type'],null,this[_0x4158b7(0x1f5)],null,[_0x26f837],this['_handler']);try{const _0x51a2ef=this[_0x4158b7(0x283)][_0x4158b7(0x227)](_0x26f837,this[_0x4158b7(0x1f5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x51a2ef)){const {c1Prime:_0x3eb06a,m2Prime:_0x12fcaf}=_0x51a2ef;this['_executeRemoteChangeset'](_0x3eb06a);const _0x39116e=this[_0x4158b7(0x232)][_0x4158b7(0x308)](exports[_0x4158b7(0x41c)],this['unitID'],this[_0x4158b7(0x207)],_0x12fcaf,this[_0x4158b7(0x4a4)]);this[_0x4158b7(0x48f)]();const _0x3aafe8=new Date()[_0x4158b7(0x2f5)](),_0x38478a=this[_0x4158b7(0x238)]?Math[_0x4158b7(0x2ca)](this[_0x4158b7(0x238)]-_0x3aafe8,0x0):this[_0x4158b7(0x337)]();return _0x39116e[_0x4158b7(0x1df)](_0x38478a),_0x39116e;}throw _0x51a2ef['error'];}catch(_0x379b2a){return this[_0x4158b7(0x4c5)][_0x4158b7(0x1fe)](_0x379b2a),this[_0x4158b7(0x38d)](!0x1);}}['onRemoteAck'](){var _0x37facb=_0x493b7c;throw new Error(_0x37facb(0x1b8));}[_0x493b7c(0x2f4)](){var _0x38e717=_0x493b7c;throw new Error(_0x38e717(0x431));}[_0x493b7c(0x29b)](){return this;}['toggleOffline'](){var _0x46c241=_0x493b7c;return this[_0x46c241(0x48f)](),this[_0x46c241(0x232)][_0x46c241(0x308)](exports['OfflineState'],this[_0x46c241(0x27c)],this['type'],null,this[_0x46c241(0x1f5)],this[_0x46c241(0x4a4)]);}[_0x493b7c(0x1e2)](){return this;}[_0x493b7c(0x1df)](_0x35c5b6){var _0x1ff3ee=_0x493b7c;const _0x2fc882=_0x35c5b6!=null?_0x35c5b6:this[_0x1ff3ee(0x337)]();this[_0x1ff3ee(0x238)]=new Date()[_0x1ff3ee(0x2f5)]()+_0x2fc882,this[_0x1ff3ee(0x437)]=setTimeout(()=>{var _0x28d461=_0x1ff3ee;this['_clearScheduledTask']();let _0x5b86bb=null;switch(this[_0x28d461(0x207)]){case X[_0x28d461(0x277)]:{_0x5b86bb=ze(this[_0x28d461(0x1f5)],this['unitID'],this['_univerInstanceService'],this[_0x28d461(0x48b)],this['_memberService']);break;}case X[_0x28d461(0x256)]:{this[_0x28d461(0x1f5)][_0x28d461(0x4be)](_0x1d9744=>_0x1d9744['id']===ut[_0x28d461(0x22c)]['id'])?_0x5b86bb=mi(this[_0x28d461(0x1f5)],this[_0x28d461(0x27c)],this['_univerInstanceService'],this[_0x28d461(0x48b)],this[_0x28d461(0x386)]):_0x5b86bb=ze(this[_0x28d461(0x1f5)],this['unitID'],this[_0x28d461(0x392)],this[_0x28d461(0x48b)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x28d461(0x207)]+_0x28d461(0x2c0));}const {changeset:_0x4dc7bf,pendingMutations:_0x578a3b}=_0x5b86bb;this['_handler']['onSendChangeset'](_0x4dc7bf);const _0xb946c2=_0x578a3b[_0x28d461(0x286)]?this['_injector']['createInstance'](exports[_0x28d461(0x3f9)],this[_0x28d461(0x27c)],this['type'],_0x4dc7bf,_0x578a3b,this[_0x28d461(0x4a4)],void 0x0):this['_injector'][_0x28d461(0x308)](exports[_0x28d461(0x197)],this[_0x28d461(0x27c)],this['type'],_0x4dc7bf,this[_0x28d461(0x4a4)]);_0xb946c2[_0x28d461(0x478)](),this['_handler'][_0x28d461(0x305)](this,_0xb946c2);},_0x2fc882);}[_0x493b7c(0x337)](){var _0x59f3c1=_0x493b7c,_0x2dd691;const _0x4dae2e=this[_0x59f3c1(0x23a)][_0x59f3c1(0x17a)](Y);return(_0x2dd691=_0x4dae2e==null?void 0x0:_0x4dae2e[_0x59f3c1(0x2f0)])!=null?_0x2dd691:jt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x493b7c(0x48f)](){var _0x34eefc=_0x493b7c;this['_sendingTimer']!=null&&(clearTimeout(this[_0x34eefc(0x437)]),this[_0x34eefc(0x437)]=null);}[_0x493b7c(0x38d)](_0x4b6618){var _0xe564c7=_0x493b7c;return this['_clearScheduledTask'](),this[_0xe564c7(0x232)][_0xe564c7(0x308)](exports[_0xe564c7(0x372)],this[_0xe564c7(0x27c)],this[_0xe564c7(0x207)],null,this['_pendingMutations'],this[_0xe564c7(0x4a4)],_0x4b6618);}},exports['PendingState']=ce([w(0x4,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),w(0x5,a[_0x493b7c(0x41a)](g[_0x493b7c(0x194)])),w(0x6,a[_0x493b7c(0x41a)](exports['MemberService'])),w(0x7,a[_0x493b7c(0x264)]),w(0x8,a[_0x493b7c(0x451)]),w(0x9,a[_0x493b7c(0x399)]),w(0xa,g[_0x493b7c(0x4ac)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x493b7c(0x22b)]),w(0xd,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x41c)]),exports[_0x493b7c(0x197)]=class extends he{constructor(_0x4c1b21,_0x55974e,_0x19ee28,_0x10b369,_0x5c4bc4,_0x284045,_0x4e59df,_0x5a4619,_0x253c3f,_0x545d22,_0x1d08d0){var _0xc916b1=_0x493b7c;super(_0x4c1b21,_0x55974e,_0x19ee28,[],_0x10b369,_0x4e59df,_0x545d22,_0x284045,_0x1d08d0),A(this,_0xc916b1(0x2af),_0xc916b1(0x3fe)),A(this,_0xc916b1(0x32b),0x0),A(this,'_resendTimer'),A(this,_0xc916b1(0x335)),(this[_0xc916b1(0x232)]=_0x5c4bc4,this[_0xc916b1(0x4c5)]=_0x5a4619,this[_0xc916b1(0x283)]=_0x253c3f);}['appendMutation'](_0x2c633f){var _0x570909=_0x493b7c;this[_0x570909(0x48f)]();const _0xe84aa4=this[_0x570909(0x232)][_0x570909(0x308)](exports[_0x570909(0x3f9)],this[_0x570909(0x27c)],this[_0x570909(0x207)],this[_0x570909(0x483)],[_0x2c633f],this[_0x570909(0x4a4)],this[_0x570909(0x48c)]);return _0xe84aa4['_updateLocalCache'](),_0xe84aa4;}[_0x493b7c(0x3f5)](_0x3d88cf){var _0x4ad4c5=_0x493b7c;if(this[_0x4ad4c5(0x442)](_0x3d88cf))return this[_0x4ad4c5(0x48f)](),this[_0x4ad4c5(0x232)]['createInstance'](exports[_0x4ad4c5(0x42f)],this[_0x4ad4c5(0x27c)],this[_0x4ad4c5(0x207)],this['_awaitingChangeset'],[],null,[_0x3d88cf],this[_0x4ad4c5(0x4a4)]);try{const _0x4defd9=this[_0x4ad4c5(0x283)]['transformChangesets']([_0x3d88cf],[this[_0x4ad4c5(0x483)]],!0x1);if(g[_0x4ad4c5(0x34d)](_0x4defd9)){const {c1Prime:_0x5e2e79,c2Prime:_0xabf38b}=_0x4defd9;this[_0x4ad4c5(0x410)](_0x5e2e79[0x0]),_0xabf38b[0x0][_0x4ad4c5(0x44d)]=this[_0x4ad4c5(0x254)](),this['_clearScheduledTask']();const _0x368d29=this['_injector'][_0x4ad4c5(0x308)](exports['AwaitingState'],this[_0x4ad4c5(0x27c)],this[_0x4ad4c5(0x207)],_0xabf38b[0x0],this[_0x4ad4c5(0x4a4)]);return _0x368d29['_updateLocalCache'](),_0x368d29;}return this['_onConflict'](!0x1);}catch(_0x67e4a6){return this['_logService'][_0x4ad4c5(0x1fe)](_0x67e4a6),this[_0x4ad4c5(0x38d)](!0x1);}}['onRemoteAck'](_0x3b300d){var _0x452416=_0x493b7c;this['_clearScheduledTask']();const _0x25c43f=this[_0x452416(0x48b)]['getCurrentRevOfUnit'](this[_0x452416(0x27c)]);if(_0x3b300d[_0x452416(0x3f4)]<_0x25c43f-0x1)return this;if(this[_0x452416(0x442)](_0x3b300d))return this[_0x452416(0x232)][_0x452416(0x308)](exports[_0x452416(0x42f)],this[_0x452416(0x27c)],this[_0x452416(0x207)],null,[],this[_0x452416(0x483)],[],this[_0x452416(0x4a4)]);this[_0x452416(0x49e)]();const _0x561752=this['_injector'][_0x452416(0x308)](exports[_0x452416(0x282)],this[_0x452416(0x27c)],this[_0x452416(0x207)],this[_0x452416(0x4a4)]);return _0x561752[_0x452416(0x478)](),_0x561752;}[_0x493b7c(0x2f4)](_0x96b14){var _0x5850eb=_0x493b7c;return this[_0x5850eb(0x38d)](!!(_0x96b14!=null&&_0x96b14['isPermissionRej']));}[_0x493b7c(0x29b)](_0x330053){var _0x1e62ce=_0x493b7c;return this[_0x1e62ce(0x32b)]>Nt?this[_0x1e62ce(0x340)]():(this[_0x1e62ce(0x48c)]=yt(this[_0x1e62ce(0x32b)],{'timeout':this[_0x1e62ce(0x32b)],'reqId':_0x330053[_0x1e62ce(0x267)]}),this[_0x1e62ce(0x335)]=this[_0x1e62ce(0x48c)][_0x1e62ce(0x2db)](({reqId:_0x2c7875,timeout:_0x561871})=>{var _0x4ebcd2=_0x1e62ce;this[_0x4ebcd2(0x46e)](_0x2c7875,_0x561871);}),this);}[_0x493b7c(0x340)](){var _0x31a33f=_0x493b7c;return this[_0x31a33f(0x48f)](),this['_injector'][_0x31a33f(0x308)](exports['OfflineState'],this[_0x31a33f(0x27c)],this[_0x31a33f(0x207)],this[_0x31a33f(0x483)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x493b7c(0x359)](){var _0x5e0966=_0x493b7c;this[_0x5e0966(0x4a4)][_0x5e0966(0x463)](this[_0x5e0966(0x483)]);}[_0x493b7c(0x38d)](_0xabfdfd){var _0x5a519c=_0x493b7c;return this[_0x5a519c(0x48f)](),this[_0x5a519c(0x232)][_0x5a519c(0x308)](exports[_0x5a519c(0x372)],this[_0x5a519c(0x27c)],this[_0x5a519c(0x207)],this[_0x5a519c(0x483)],[],this[_0x5a519c(0x4a4)],_0xabfdfd);}[_0x493b7c(0x46e)](_0x1a4261,_0x1667f3){var _0x3e212f=_0x493b7c,_0x20ce93;_0x1a4261===((_0x20ce93=this[_0x3e212f(0x483)])==null?void 0x0:_0x20ce93['reqId'])&&(this[_0x3e212f(0x359)](),this[_0x3e212f(0x32b)]=_0x1667f3===0x0?0x3e8:_0x1667f3*0x2);}[_0x493b7c(0x48f)](){var _0xb01528=_0x493b7c,_0x21b842;(_0x21b842=this[_0xb01528(0x335)])==null||_0x21b842[_0xb01528(0x245)](),this[_0xb01528(0x32b)]=0x0;}},exports[_0x493b7c(0x197)]=ce([w(0x4,a['Inject'](a[_0x493b7c(0x446)])),w(0x5,a[_0x493b7c(0x41a)](g['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a[_0x493b7c(0x264)]),w(0x8,g[_0x493b7c(0x4ac)]),w(0x9,a[_0x493b7c(0x22b)]),w(0xa,a['Optional'](z))],exports[_0x493b7c(0x197)]),exports[_0x493b7c(0x3f9)]=class extends he{constructor(_0x571bc7,_0x2a368f,_0x491430,_0x3c305f,_0x3b7413,_0x307462,_0x584378,_0x113491,_0x2afe1b,_0x45646b,_0x161176,_0x5a4887,_0x3de8a6){var _0x3c3a30=_0x493b7c;super(_0x571bc7,_0x2a368f,_0x491430,_0x3c305f,_0x3b7413,_0x2afe1b,_0x5a4887,_0x113491,_0x3de8a6),A(this,_0x3c3a30(0x2af),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x3c3a30(0x335)),(this[_0x3c3a30(0x232)]=_0x584378,this[_0x3c3a30(0x4c5)]=_0x45646b,this[_0x3c3a30(0x283)]=_0x161176,this[_0x3c3a30(0x31c)]=_0x3de8a6,_0x307462&&(this[_0x3c3a30(0x48c)]=_0x307462,this[_0x3c3a30(0x335)]=this[_0x3c3a30(0x48c)]['subscribe'](({reqId:_0x4f1a83,timeout:_0x429936})=>{var _0x8c36f2=_0x3c3a30;this[_0x8c36f2(0x46e)](_0x4f1a83,_0x429936);})));}[_0x493b7c(0x473)](_0x5b9e4b){var _0x50bb12=_0x493b7c;return this[_0x50bb12(0x1f5)][_0x50bb12(0x188)](_0x5b9e4b),this;}[_0x493b7c(0x3f5)](_0x1841f9){var _0x3de5ff=_0x493b7c;if(this[_0x3de5ff(0x442)](_0x1841f9))return this[_0x3de5ff(0x48f)](),this[_0x3de5ff(0x232)][_0x3de5ff(0x308)](exports[_0x3de5ff(0x42f)],this[_0x3de5ff(0x27c)],this[_0x3de5ff(0x207)],this['_awaitingChangeset'],this[_0x3de5ff(0x1f5)],null,[_0x1841f9],this[_0x3de5ff(0x4a4)]);try{const _0x56dc37=this[_0x3de5ff(0x283)][_0x3de5ff(0x3f6)]([_0x1841f9],[this[_0x3de5ff(0x483)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x56dc37)){const {c1Prime:_0x269e8c,c2Prime:_0x5602a8}=_0x56dc37,_0x2333d7=this[_0x3de5ff(0x283)]['transformMutationsWithChangeset'](_0x269e8c[0x0],this[_0x3de5ff(0x1f5)]);if(g[_0x3de5ff(0x35e)](_0x2333d7)){const {c1Prime:_0x26defc,m2Prime:_0x453c08}=_0x2333d7;return this[_0x3de5ff(0x410)](_0x26defc),_0x5602a8[0x0][_0x3de5ff(0x44d)]=this[_0x3de5ff(0x254)](),this[_0x3de5ff(0x48f)](),this[_0x3de5ff(0x232)][_0x3de5ff(0x308)](exports[_0x3de5ff(0x3f9)],this['unitID'],this[_0x3de5ff(0x207)],_0x5602a8[0x0],_0x453c08,this[_0x3de5ff(0x4a4)],void 0x0);}throw _0x2333d7[_0x3de5ff(0x1fe)];}throw _0x56dc37[_0x3de5ff(0x1fe)];}catch(_0x2e25d6){return this['_logService'][_0x3de5ff(0x1fe)](_0x2e25d6),this['_onConflict'](!0x1);}}[_0x493b7c(0x3cb)](_0x558550){var _0x5a3a9b=_0x493b7c;if(this[_0x5a3a9b(0x48f)](),this[_0x5a3a9b(0x442)](_0x558550))return this['_injector'][_0x5a3a9b(0x308)](exports['FetchingMissState'],this[_0x5a3a9b(0x27c)],this[_0x5a3a9b(0x207)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x5a3a9b(0x4a4)]);this['_incrementRevisionNumber']();const _0x27aa4c=this[_0x5a3a9b(0x232)][_0x5a3a9b(0x308)](exports[_0x5a3a9b(0x41c)],this[_0x5a3a9b(0x27c)],this[_0x5a3a9b(0x207)],this[_0x5a3a9b(0x1f5)],this[_0x5a3a9b(0x4a4)]);return _0x27aa4c[_0x5a3a9b(0x1df)](),_0x27aa4c[_0x5a3a9b(0x478)](),_0x27aa4c;}['onRemoteRej'](_0x2970c2){var _0x22b13e=_0x493b7c;return this[_0x22b13e(0x38d)](!!(_0x2970c2!=null&&_0x2970c2[_0x22b13e(0x396)]));}[_0x493b7c(0x29b)](_0x556a55){var _0x28ea3f=_0x493b7c;return this[_0x28ea3f(0x32b)]>Nt?this[_0x28ea3f(0x340)]():(this[_0x28ea3f(0x48c)]=yt(this[_0x28ea3f(0x32b)],{'timeout':this[_0x28ea3f(0x32b)],'reqId':_0x556a55['reqId']}),this[_0x28ea3f(0x335)]=this[_0x28ea3f(0x48c)]['subscribe'](({reqId:_0x270fae,timeout:_0x5379e8})=>{this['_resendWithTimeout'](_0x270fae,_0x5379e8);}),this);}[_0x493b7c(0x340)](){var _0xe9dcca=_0x493b7c;return this['_clearScheduledTask'](),this[_0xe9dcca(0x232)]['createInstance'](exports[_0xe9dcca(0x19b)],this[_0xe9dcca(0x27c)],this[_0xe9dcca(0x207)],this[_0xe9dcca(0x483)],this[_0xe9dcca(0x1f5)],this['_handler']);}['toggleOnline'](){return this;}[_0x493b7c(0x359)](){var _0x50b6af=_0x493b7c;this[_0x50b6af(0x4a4)][_0x50b6af(0x463)](this[_0x50b6af(0x483)]);}['_onConflict'](_0xa1e420){var _0x4e28c5=_0x493b7c;return this['_clearScheduledTask'](),this[_0x4e28c5(0x232)][_0x4e28c5(0x308)](exports[_0x4e28c5(0x372)],this['unitID'],this[_0x4e28c5(0x207)],null,this[_0x4e28c5(0x1f5)],this[_0x4e28c5(0x4a4)],_0xa1e420);}['_resendWithTimeout'](_0x3903e5,_0x4ae220){var _0x4ae678=_0x493b7c,_0x4dd983;_0x3903e5===((_0x4dd983=this[_0x4ae678(0x483)])==null?void 0x0:_0x4dd983['reqId'])&&(this[_0x4ae678(0x359)](),this[_0x4ae678(0x32b)]=_0x4ae220===0x0?0x3e8:_0x4ae220*0x2);}[_0x493b7c(0x48f)](){var _0x52e4f4=_0x493b7c,_0x112bc1;(_0x112bc1=this[_0x52e4f4(0x335)])==null||_0x112bc1['unsubscribe'](),this[_0x52e4f4(0x32b)]=0x0;}},exports[_0x493b7c(0x3f9)]=ce([w(0x6,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),w(0x7,a['Inject'](g[_0x493b7c(0x194)])),w(0x8,a[_0x493b7c(0x451)]),w(0x9,a[_0x493b7c(0x264)]),w(0xa,g[_0x493b7c(0x4ac)]),w(0xb,a[_0x493b7c(0x22b)]),w(0xc,a['Optional'](z))],exports[_0x493b7c(0x3f9)]),exports[_0x493b7c(0x372)]=class extends he{constructor(_0x48494c,_0x4a4094,_0xf653d1,_0x37ad52,_0x2fe2a1,_0x2becbe=!0x1,_0x575cfe,_0x1625c3,_0x4365a4,_0x562307,_0x3aec93,_0x2d211f,_0x3b319f){var _0x1516cf=_0x493b7c;super(_0x48494c,_0x4a4094,_0xf653d1,_0x37ad52,_0x2fe2a1,_0x1625c3,_0x4365a4,_0x562307,_0x3b319f),A(this,_0x1516cf(0x2af),_0x1516cf(0x3eb)),(this['_isPermissionRej']=_0x2becbe,this['_permissionService']=_0x575cfe,this['_localeService']=_0x3aec93,this[_0x1516cf(0x4aa)]=_0x2d211f,this[_0x1516cf(0x31c)]=_0x3b319f,this[_0x1516cf(0x27e)](),this[_0x1516cf(0x488)](),this[_0x1516cf(0x425)]());}[_0x493b7c(0x473)](){return this;}[_0x493b7c(0x3f5)](){return this;}[_0x493b7c(0x3cb)](){return this;}[_0x493b7c(0x2f4)](){return this;}['onRemoteRetry'](){return this;}[_0x493b7c(0x340)](){return this;}[_0x493b7c(0x1e2)](){return this;}['resend'](){var _0x554b26=_0x493b7c;throw new Error(_0x554b26(0x2e1));}['_clearLocalCache'](){var _0x2cd034=_0x493b7c,_0x35a302;(_0x35a302=this[_0x2cd034(0x452)])==null||_0x35a302['updateOfflineData'](this[_0x2cd034(0x27c)],this[_0x2cd034(0x207)],null,[]);}[_0x493b7c(0x27e)](){var _0x2cd792=_0x493b7c;this[_0x2cd792(0x3c8)]?this[_0x2cd792(0x4aa)][_0x2cd792(0x3a9)]({'id':Q[_0x2cd792(0x33f)]}):this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x2cd792(0x237)]});}[_0x493b7c(0x425)](){var _0x2dbd9b=_0x493b7c;this[_0x2dbd9b(0x400)][_0x2dbd9b(0x382)](new Z[(_0x2dbd9b(0x1d6))](this[_0x2dbd9b(0x27c)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x493b7c(0x41a)](a['IPermissionService'])),w(0x7,a[_0x493b7c(0x451)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x493b7c(0x41a)](g['RevisionService'])),w(0xa,a[_0x493b7c(0x41a)](a[_0x493b7c(0x380)])),w(0xb,a[_0x493b7c(0x41a)](te)),w(0xc,a[_0x493b7c(0x217)](z))],exports['ConflictState']),exports[_0x493b7c(0x19b)]=class extends he{constructor(_0x44fd01,_0x1f1195,_0x89415f,_0xc872e1,_0x1bb8e,_0x5efed4,_0x552611,_0x190a12,_0x5d3131,_0x4bf6e2){var _0x31f5d8=_0x493b7c;super(_0x44fd01,_0x1f1195,_0x89415f,_0xc872e1,_0x1bb8e,_0x190a12,_0x5d3131,_0x552611,_0x4bf6e2),A(this,_0x31f5d8(0x2af),_0x31f5d8(0x274)),this['_injector']=_0x5efed4;}[_0x493b7c(0x473)](_0x8cc56a){var _0x20c0a6=_0x493b7c;return this[_0x20c0a6(0x1f5)][_0x20c0a6(0x188)](_0x8cc56a),this[_0x20c0a6(0x478)](),this;}[_0x493b7c(0x3f5)](_0x1448af){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x493b7c(0x3cb)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x493b7c(0x2f4)](){var _0x344098=_0x493b7c;throw new Error(_0x344098(0x36f));}[_0x493b7c(0x29b)](){return this;}[_0x493b7c(0x340)](){return this;}[_0x493b7c(0x1e2)](){var _0x26c105=_0x493b7c;const {_injector:_0x2f3f11,_pendingMutations:_0x293b45,_awaitingChangeset:_0x46311f,unitID:_0x578ee3,_handler:_0x4b5c90,type:_0x2acb11}=this,_0x5d9272=Dt(_0x2f3f11,_0x578ee3,_0x2acb11,_0x46311f,_0x293b45,_0x4b5c90);return _0x5d9272 instanceof exports[_0x26c105(0x41c)]?_0x5d9272[_0x26c105(0x1df)]():(_0x5d9272 instanceof exports[_0x26c105(0x3f9)]||_0x5d9272 instanceof exports[_0x26c105(0x197)])&&_0x5d9272[_0x26c105(0x359)](),_0x5d9272;}[_0x493b7c(0x359)](){var _0x23edd6=_0x493b7c;throw new Error(_0x23edd6(0x2cb));}},exports[_0x493b7c(0x19b)]=ce([w(0x5,a['Inject'](a[_0x493b7c(0x446)])),w(0x6,a[_0x493b7c(0x41a)](g[_0x493b7c(0x194)])),w(0x7,a[_0x493b7c(0x451)]),w(0x8,a[_0x493b7c(0x22b)]),w(0x9,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x19b)]),exports['FetchingMissState']=class extends he{constructor(_0x5865af,_0x3d4255,_0x59d17b,_0x5dd891,_0x30428d,_0x19769d,_0x434c35,_0x31b41b,_0xc75fb5,_0x13993f,_0x2820c8,_0x32352a,_0x4e0445,_0x456262){var _0x51afcd=_0x493b7c;super(_0x5865af,_0x3d4255,_0x59d17b,_0x5dd891,_0x434c35,_0x2820c8,_0x32352a,_0xc75fb5,_0x456262),A(this,_0x51afcd(0x2af),_0x51afcd(0x2cc)),(this['_acknowledgedAwaitingChangeset']=_0x30428d,this[_0x51afcd(0x1bf)]=_0x19769d,this[_0x51afcd(0x232)]=_0x31b41b,this[_0x51afcd(0x4c5)]=_0x13993f,this['_transformService']=_0x4e0445,this[_0x51afcd(0x31c)]=_0x456262);}[_0x493b7c(0x3ba)](_0x1bcc21){var _0x9d2c03=_0x493b7c;try{const _0x1f20ce=[..._0x1bcc21,...this['_queuedRemoteChangesets']],_0x1739b5=[this['_awaitingChangeset']||this[_0x9d2c03(0x4d1)]][_0x9d2c03(0x345)](_0x14a962=>!!_0x14a962);let _0x26a541,_0x3e576a;if(_0x1739b5[_0x9d2c03(0x286)]){const _0x1c46f7=this[_0x9d2c03(0x283)]['transformChangesets'](_0x1f20ce,_0x1739b5,!0x1);if(!g[_0x9d2c03(0x34d)](_0x1c46f7))throw _0x1c46f7['error'];_0x26a541=_0x1c46f7['c1Prime'],_0x3e576a=_0x1c46f7[_0x9d2c03(0x3d6)];}else _0x26a541=_0x1f20ce,_0x3e576a=[];let _0x34e489=this[_0x9d2c03(0x1f5)];_0x26a541[_0x9d2c03(0x240)](_0x39dc1d=>{var _0x3519f3=_0x9d2c03;let _0x4b4c5c;if(_0x34e489['length']){const _0x26bf01=this[_0x3519f3(0x283)][_0x3519f3(0x227)](_0x39dc1d,_0x34e489);if(!g[_0x3519f3(0x35e)](_0x26bf01))throw _0x26bf01[_0x3519f3(0x1fe)];_0x4b4c5c=_0x26bf01[_0x3519f3(0x273)],_0x34e489=_0x26bf01[_0x3519f3(0x296)];}else _0x4b4c5c=_0x39dc1d;this['_executeRemoteChangeset'](_0x4b4c5c);}),this[_0x9d2c03(0x4d1)]&&this[_0x9d2c03(0x49e)](),this[_0x9d2c03(0x483)]&&_0x3e576a['length']&&(_0x3e576a[0x0][_0x9d2c03(0x44d)]=this['_getCurrentRevision']());let _0x53891d;if(this[_0x9d2c03(0x483)]&&_0x34e489[_0x9d2c03(0x286)]!==0x0)_0x53891d=this[_0x9d2c03(0x232)][_0x9d2c03(0x308)](exports[_0x9d2c03(0x3f9)],this[_0x9d2c03(0x27c)],this['type'],_0x3e576a[0x0],_0x34e489,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x34e489[_0x9d2c03(0x286)]===0x0)_0x3e576a[0x0]['baseRev']=this[_0x9d2c03(0x254)](),_0x53891d=this['_injector'][_0x9d2c03(0x308)](exports[_0x9d2c03(0x197)],this['unitID'],this['type'],_0x3e576a[0x0],this[_0x9d2c03(0x4a4)]);else{if(_0x34e489[_0x9d2c03(0x286)]!==0x0){const _0x1a7d35=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x9d2c03(0x207)],_0x34e489,this['_handler']);_0x1a7d35[_0x9d2c03(0x1df)](),_0x53891d=_0x1a7d35;}else _0x53891d=this[_0x9d2c03(0x232)]['createInstance'](exports[_0x9d2c03(0x282)],this['unitID'],this[_0x9d2c03(0x207)],this['_handler']);}}return _0x53891d[_0x9d2c03(0x478)](),_0x53891d;}catch(_0x5af834){return this['_logService']['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5af834),this[_0x9d2c03(0x232)][_0x9d2c03(0x308)](exports[_0x9d2c03(0x372)],this['unitID'],this[_0x9d2c03(0x207)],this[_0x9d2c03(0x483)],this[_0x9d2c03(0x1f5)],this[_0x9d2c03(0x4a4)],!0x1);}}[_0x493b7c(0x359)](){var _0x17ef0=_0x493b7c;throw new Error(_0x17ef0(0x3dc));}[_0x493b7c(0x473)](_0x59ed95){var _0x36cc60=_0x493b7c;return this[_0x36cc60(0x1f5)][_0x36cc60(0x188)](_0x59ed95),this;}['onRemoteChangeset'](_0x5a9103){var _0x4a6c66=_0x493b7c;return this[_0x4a6c66(0x1bf)][_0x4a6c66(0x188)](_0x5a9103),this;}['onRemoteAck'](_0x44865e){var _0x23c2c5=_0x493b7c;if(this[_0x23c2c5(0x483)])return this[_0x23c2c5(0x4d1)]=this[_0x23c2c5(0x483)],this['_awaitingChangeset']=null,this;throw new Error(_0x23c2c5(0x1ed));}[_0x493b7c(0x2f4)](_0x4e10c8){var _0x2cd339=_0x493b7c;return this[_0x2cd339(0x38d)](!!(_0x4e10c8!=null&&_0x4e10c8['isPermissionRej']));}[_0x493b7c(0x29b)](){return this;}[_0x493b7c(0x340)](){var _0x381dda=_0x493b7c;return this[_0x381dda(0x232)][_0x381dda(0x308)](exports['OfflineState'],this[_0x381dda(0x27c)],this['type'],this[_0x381dda(0x483)],this[_0x381dda(0x1f5)],this[_0x381dda(0x4a4)]);}[_0x493b7c(0x1e2)](){return this;}[_0x493b7c(0x38d)](_0x5884fc){var _0x43a42e=_0x493b7c;return this[_0x43a42e(0x232)][_0x43a42e(0x308)](exports[_0x43a42e(0x372)],this['unitID'],this[_0x43a42e(0x207)],this[_0x43a42e(0x483)],this['_pendingMutations'],this[_0x43a42e(0x4a4)],_0x5884fc);}},exports[_0x493b7c(0x42f)]=ce([w(0x7,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),w(0x8,a[_0x493b7c(0x41a)](g['RevisionService'])),w(0x9,a[_0x493b7c(0x264)]),w(0xa,a[_0x493b7c(0x451)]),w(0xb,a[_0x493b7c(0x22b)]),w(0xc,g[_0x493b7c(0x4ac)]),w(0xd,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x42f)]);function Dt(_0x7087d3,_0x243b6d,_0x106284,_0x1c0ad1,_0x3baef3,_0x325f71){var _0x5a06cf=_0x493b7c;return _0x1c0ad1&&_0x3baef3[_0x5a06cf(0x286)]?_0x7087d3[_0x5a06cf(0x308)](exports['AwaitingWithPendingState'],_0x243b6d,_0x106284,_0x1c0ad1,_0x3baef3,_0x325f71,void 0x0):_0x1c0ad1?_0x7087d3[_0x5a06cf(0x308)](exports[_0x5a06cf(0x197)],_0x243b6d,_0x106284,_0x1c0ad1,_0x325f71):_0x3baef3[_0x5a06cf(0x286)]?_0x7087d3[_0x5a06cf(0x308)](exports[_0x5a06cf(0x41c)],_0x243b6d,_0x106284,_0x3baef3,_0x325f71):_0x7087d3[_0x5a06cf(0x308)](exports[_0x5a06cf(0x282)],_0x243b6d,_0x106284,_0x325f71);}var Ci=Object['getOwnPropertyDescriptor'],We=(_0x1cced6,_0x47f5af,_0xb89b4a,_0x104595)=>{var _0x306f61=_0x493b7c;for(var _0x261696=_0x104595>0x1?void 0x0:_0x104595?Ci(_0x47f5af,_0xb89b4a):_0x47f5af,_0x4aaad8=_0x1cced6[_0x306f61(0x286)]-0x1,_0x1b6e89;_0x4aaad8>=0x0;_0x4aaad8--)(_0x1b6e89=_0x1cced6[_0x4aaad8])&&(_0x261696=_0x1b6e89(_0x261696)||_0x261696);return _0x261696;},$=(_0x18b5e8,_0x121bb8)=>(_0x44b1e9,_0x3cdffa)=>_0x121bb8(_0x44b1e9,_0x3cdffa,_0x18b5e8);exports[_0x493b7c(0x3f1)]=class extends a[_0x493b7c(0x19a)]{constructor(_0x2b4e36,_0x22775e,_0x54474e,_0x4226b5,_0x568d1b,_0x3e344d,_0x52a62f,_0x3b1314,_0x44fb51,_0x2a4ae2,_0x222177,_0x1b5bb8,_0x498672){var _0x48b026=_0x493b7c;super(),A(this,_0x48b026(0x422),new j[(_0x48b026(0x1e7))](null)),A(this,'state$',this[_0x48b026(0x422)][_0x48b026(0x28c)]()),A(this,'_state'),A(this,_0x48b026(0x374),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x48b026(0x3df),this[_0x48b026(0x1bb)][_0x48b026(0x30e)](j['map'](_0x229e2d=>_0x229e2d?_0x229e2d[_0x48b026(0x2af)]:Ve['OFFLINE']),j[_0x48b026(0x1ec)](0x1))),A(this,_0x48b026(0x1b9),!0x1),A(this,_0x48b026(0x4af),[]),(this[_0x48b026(0x27c)]=_0x2b4e36,this[_0x48b026(0x42a)]=_0x22775e,this[_0x48b026(0x26a)]=_0x54474e,this[_0x48b026(0x232)]=_0x4226b5,this[_0x48b026(0x20c)]=_0x568d1b,this['_localeService']=_0x3e344d,this[_0x48b026(0x48b)]=_0x52a62f,this['_eventService']=_0x3b1314,this[_0x48b026(0x4c5)]=_0x44fb51,this[_0x48b026(0x23e)]=_0x2a4ae2,this[_0x48b026(0x400)]=_0x222177,this[_0x48b026(0x289)]=_0x1b5bb8,this['_localCacheService']=_0x498672);}get[_0x493b7c(0x454)](){return this['_state'];}async[_0x493b7c(0x4d5)](){var _0x516888=_0x493b7c;if(this['state'])throw new Error(_0x516888(0x298));await this[_0x516888(0x200)]();}[_0x493b7c(0x4c8)](){var _0x545862=_0x493b7c;return this[_0x545862(0x374)]=!0x0,a[_0x545862(0x3aa)](()=>{var _0x1f6bb0=_0x545862;this[_0x1f6bb0(0x374)]=!0x1,this[_0x1f6bb0(0x2ac)]();});}[_0x493b7c(0x3b1)](_0x494d6a){var _0x390e01=_0x493b7c;this[_0x390e01(0x17d)](_0x494d6a);}[_0x493b7c(0x424)](_0x420ae0){var _0x38bd4c=_0x493b7c;this['_state']=_0x420ae0,this[_0x38bd4c(0x422)][_0x38bd4c(0x261)](_0x420ae0);}async['_init'](){var _0x15979d=_0x493b7c,_0x1a0b58;this[_0x15979d(0x424)](await this[_0x15979d(0x464)]()),this[_0x15979d(0x289)]&&((_0x1a0b58=this[_0x15979d(0x289)])==null||_0x1a0b58[_0x15979d(0x3a0)](this[_0x15979d(0x27c)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x15979d(0x27c)])['subscribe'](_0x1cf994=>{var _0x429084=_0x15979d;this[_0x429084(0x4c5)][_0x429084(0x219)]('[CollaborationEntity]',_0x429084(0x408),_0x1cf994),_0x1cf994===Fe[_0x429084(0x2be)]?(this[_0x429084(0x2e0)][_0x429084(0x3a9)]({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x429084(0x382)](new Z[(_0x429084(0x1d6))](this['unitID'])['id'],!0x1),this[_0x429084(0x400)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x429084(0x382)](new Z[(_0x429084(0x1d6))](this['unitID'])['id'],!0x0),this[_0x429084(0x400)][_0x429084(0x30a)](!0x0));})));let _0x17a36e=!0x1;return this['disposeWithMe'](this[_0x15979d(0x42a)]['sessionStatus$'][_0x15979d(0x2db)](_0x320422=>{var _0x8d69bc=_0x15979d;_0x320422===se[_0x8d69bc(0x40d)]?this[_0x8d69bc(0x2a6)](_0x17a36e):_0x320422===se['OFFLINE']&&(_0x17a36e=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x15979d(0x42a)][_0x15979d(0x490)][_0x15979d(0x2db)](_0x8c7cb=>{var _0x116438=_0x15979d;try{switch(_0x8c7cb[_0x116438(0x3af)]){case g['CollaborationEvent'][_0x116438(0x2c7)]:{this['_onRemoteChangeset'](g[_0x116438(0x436)](_0x8c7cb[_0x116438(0x1ba)]));break;}case g[_0x116438(0x21a)][_0x116438(0x1c0)]:{this[_0x116438(0x44b)](_0x8c7cb['data']);break;}case g[_0x116438(0x21a)][_0x116438(0x3f7)]:{this[_0x116438(0x3b4)]();break;}case g[_0x116438(0x21a)][_0x116438(0x49f)]:{this[_0x116438(0x322)](_0x8c7cb[_0x116438(0x1ba)]);break;}case g[_0x116438(0x21a)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x116438(0x19f)](_0x8c7cb['data'][_0x116438(0x297)][_0x116438(0x477)](_0x5cb1b4=>g[_0x116438(0x436)](_0x5cb1b4)));break;}case g[_0x116438(0x21a)][_0x116438(0x44c)]:{this[_0x116438(0x3b4)]({'isPermissionRej':!0x0});break;}case g[_0x116438(0x21a)]['UNISCRIPT_RUN']:break;}}catch(_0x531774){throw console['error'](_0x116438(0x26d),_0x531774),_0x531774;}})),this['_state'];}[_0x493b7c(0x4b6)](){var _0x34ed25=_0x493b7c;this[_0x34ed25(0x1b9)]=!0x1;}[_0x493b7c(0x480)](){var _0x3445b6=_0x493b7c;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[_0x3445b6(0x1b9)]=!0x0;}[_0x493b7c(0x17d)](_0x54a639){var _0x219326=_0x493b7c;this[_0x219326(0x480)](),this[_0x219326(0x424)](this[_0x219326(0x3ab)][_0x219326(0x473)](_0x54a639)),this[_0x219326(0x4b6)]();}[_0x493b7c(0x1db)](_0x4fee58){var _0x8d1e30=_0x493b7c;if(!(_0x4fee58['revision']<=this[_0x8d1e30(0x48b)][_0x8d1e30(0x416)](this[_0x8d1e30(0x27c)]))){if(this[_0x8d1e30(0x374)]){this[_0x8d1e30(0x4af)]['push'](_0x4fee58);return;}this['_applyRemoteChangeset'](_0x4fee58);}}[_0x493b7c(0x2ac)](){var _0x6fc97e=_0x493b7c;this[_0x6fc97e(0x4af)][_0x6fc97e(0x240)](_0x3075f4=>this[_0x6fc97e(0x314)](_0x3075f4)),this[_0x6fc97e(0x4af)]=[];}[_0x493b7c(0x314)](_0x127ae6){var _0x2eba8d=_0x493b7c;const _0x501971=this[_0x2eba8d(0x20c)][_0x2eba8d(0x35b)][_0x2eba8d(0x278)](this[_0x2eba8d(0x20c)]['interceptor'][_0x2eba8d(0x2d1)]()[_0x2eba8d(0x493)])(_0x127ae6['mutations'],null)||_0x127ae6['mutations'],_0x5336e7={..._0x127ae6,'mutations':_0x501971};this[_0x2eba8d(0x480)](),this[_0x2eba8d(0x424)](this[_0x2eba8d(0x3ab)]['onRemoteChangeset'](_0x5336e7)),this[_0x2eba8d(0x4b6)]();}[_0x493b7c(0x44b)](_0x251e37){var _0x221f4d=_0x493b7c;this[_0x221f4d(0x480)](),this['_updateState'](this[_0x221f4d(0x3ab)][_0x221f4d(0x3cb)](_0x251e37)),this[_0x221f4d(0x4b6)]();}['_onRemoteRejected'](_0x168db1){var _0x22afdd=_0x493b7c;this[_0x22afdd(0x480)](),this[_0x22afdd(0x424)](this[_0x22afdd(0x3ab)][_0x22afdd(0x2f4)](_0x168db1)),this['_unlockTransition']();}['_onRemoteRetry'](_0x2f7ec0){var _0x11c12e=_0x493b7c;this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteRetry'](_0x2f7ec0)),this[_0x11c12e(0x4b6)]();}[_0x493b7c(0x19f)](_0x218c14){var _0x595302=_0x493b7c;if(!(this['_state']instanceof exports[_0x595302(0x42f)]))throw new TypeError(_0x595302(0x332));const _0x53bd2a=_0x218c14[_0x595302(0x477)](_0x42473e=>{var _0x15aef9=_0x595302;const _0x43bdd4=this[_0x15aef9(0x20c)][_0x15aef9(0x35b)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x15aef9(0x2d1)]()[_0x15aef9(0x493)])(_0x42473e[_0x15aef9(0x1f9)],null)||_0x42473e[_0x15aef9(0x1f9)];return{..._0x42473e,'mutations':_0x43bdd4};});this[_0x595302(0x480)](),this['_updateState'](this[_0x595302(0x3ab)]['onMissedChangesetFetched'](_0x53bd2a)),this['_unlockTransition']();}[_0x493b7c(0x3d3)](){var _0x157271=_0x493b7c;this[_0x157271(0x480)](),this[_0x157271(0x424)](this['_state'][_0x157271(0x340)]()),this[_0x157271(0x4b6)]();}[_0x493b7c(0x2a6)](_0x3a2c68=!0x1){var _0x422ab5=_0x493b7c;this[_0x422ab5(0x480)](),this['_updateState'](this[_0x422ab5(0x3ab)][_0x422ab5(0x1e2)]()),this[_0x422ab5(0x4b6)]();const _0x49be4c=this['_state'];_0x3a2c68&&_0x49be4c instanceof exports[_0x422ab5(0x282)]&&(this['_lockTransition'](),this['_updateState'](_0x49be4c[_0x422ab5(0x257)]()),this['_unlockTransition']());}async[_0x493b7c(0x464)](){return new Promise(_0x4f7a89=>{var _0x452aeb=_0x400e;this[_0x452aeb(0x42a)][_0x452aeb(0x3b2)][_0x452aeb(0x30e)](j[_0x452aeb(0x3c1)](0x1))[_0x452aeb(0x2db)](async _0x4e6cff=>{var _0x58a347=_0x452aeb;_0x4f7a89(await this['_createInitialStateImpl'](_0x4e6cff===se[_0x58a347(0x40d)]));});});}['_createHandler'](){var _0x4166a0=_0x493b7c;const _0x231952=this[_0x4166a0(0x27c)];return{'onStateChange':(_0x5781d3,_0x28cea2)=>{var _0x58700b=_0x4166a0;if(_0x5781d3!==this[_0x58700b(0x3ab)])throw new Error(_0x58700b(0x1eb)+_0x5781d3[_0x58700b(0x2af)]+_0x58700b(0x223)+_0x28cea2['status']+_0x58700b(0x1b2)+this[_0x58700b(0x3ab)][_0x58700b(0x2af)]);this[_0x58700b(0x424)](_0x28cea2);},'onSendChangeset':_0x572557=>{var _0x51613c=_0x4166a0;_0x572557[_0x51613c(0x18c)]||(_0x572557[_0x51613c(0x18c)]=this[_0x51613c(0x1b0)],_0x572557['reqId']=++this[_0x51613c(0x26e)]);const _0x1eb5d3={'eventID':g[_0x51613c(0x21a)][_0x51613c(0x418)],'data':{'unitID':_0x572557['unitID'],'unitType':this['_type'],'changeset':_0x572557,'memberID':this['session']['getMemberID']()}};this[_0x51613c(0x42a)][_0x51613c(0x248)](_0x1eb5d3,this[_0x51613c(0x27c)]);},'onMissingChangesets':({from:_0x43d197,to:_0x147206})=>{var _0x2e17ce=_0x4166a0;this[_0x2e17ce(0x4c5)][_0x2e17ce(0x219)]('[CollaborationEntity]',_0x2e17ce(0x40a)+_0x43d197+'\x20to\x20'+_0x147206);const _0x14092d={'eventID':g[_0x2e17ce(0x21a)][_0x2e17ce(0x309)],'data':{'unitID':_0x231952,'unitType':this[_0x2e17ce(0x26a)],'from':_0x43d197,'to':_0x147206}};this[_0x2e17ce(0x42a)]['send'](_0x14092d,this[_0x2e17ce(0x27c)]);}};}async['_createInitialStateImpl'](_0x2800e2){var _0xba7f0a=_0x493b7c,_0x4b9b5e,_0xa4da72,_0x3ef07c;const _0xc519cb=await((_0x4b9b5e=this[_0xba7f0a(0x452)])==null?void 0x0:_0x4b9b5e[_0xba7f0a(0x42d)](this[_0xba7f0a(0x27c)])),_0x5e740c=(_0xa4da72=_0xc519cb==null?void 0x0:_0xc519cb['mutations'])!=null?_0xa4da72:[],_0x2dca7b=(_0x3ef07c=_0xc519cb==null?void 0x0:_0xc519cb['awaitingChangeset'])!=null?_0x3ef07c:null,_0x1ac37e=!!(_0x2dca7b!=null&&_0x2dca7b[_0xba7f0a(0x18c)])&&!!(_0x2dca7b!=null&&_0x2dca7b[_0xba7f0a(0x267)]);this['_changesetSessionId']=_0x1ac37e?_0x2dca7b['sid']:di(),this[_0xba7f0a(0x26e)]=_0x1ac37e?_0x2dca7b[_0xba7f0a(0x267)]:0x0;const _0x532330=this['unitID'];try{this[_0xba7f0a(0x46c)](_0x2dca7b,_0x5e740c);}catch(_0xb02d70){this[_0xba7f0a(0x4c5)][_0xba7f0a(0x1fe)](_0xb02d70);}const _0x4d3403=this[_0xba7f0a(0x4d9)]();if(_0x2800e2){const _0x297209=Dt(this['_injector'],_0x532330,this[_0xba7f0a(0x26a)],_0x2dca7b,_0x5e740c,_0x4d3403);return _0x297209 instanceof exports[_0xba7f0a(0x41c)]?_0x297209['_schedule']():(_0x297209 instanceof exports[_0xba7f0a(0x3f9)]||_0x297209 instanceof exports[_0xba7f0a(0x197)])&&_0x297209['resend'](),_0x297209;}return this['_injector'][_0xba7f0a(0x308)](exports[_0xba7f0a(0x19b)],_0x532330,this[_0xba7f0a(0x26a)],_0x2dca7b,_0x5e740c,_0x4d3403);}[_0x493b7c(0x46c)](_0x47a729,_0x276826){var _0x44cd9c=_0x493b7c,_0x374da4,_0x30a322;const _0x2993da=this['_compressMutationService'][_0x44cd9c(0x35b)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x44cd9c(0x493)]);(_0x374da4=_0x2993da((_0x47a729==null?void 0x0:_0x47a729[_0x44cd9c(0x1f9)])||[],null))==null||_0x374da4['forEach'](_0x3f98b6=>this[_0x44cd9c(0x23e)][_0x44cd9c(0x1e0)](_0x3f98b6['id'],_0x3f98b6[_0x44cd9c(0x421)])),(_0x30a322=_0x2993da(_0x276826||[],null))==null||_0x30a322['forEach'](_0x4d85e9=>this[_0x44cd9c(0x23e)][_0x44cd9c(0x1e0)](_0x4d85e9['id'],_0x4d85e9['params']));}},exports[_0x493b7c(0x3f1)]=We([$(0x3,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),$(0x4,a[_0x493b7c(0x41a)](g[_0x493b7c(0x3d9)])),$(0x5,a[_0x493b7c(0x41a)](a['LocaleService'])),$(0x6,a[_0x493b7c(0x41a)](g['RevisionService'])),$(0x7,a[_0x493b7c(0x41a)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x493b7c(0x451)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x493b7c(0x217)](ve)),$(0xc,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x3f1)]),exports[_0x493b7c(0x4b0)]=class extends exports[_0x493b7c(0x3f1)]{constructor(_0x553bed,_0x29ae8d,_0xbe684,_0x53711f,_0x514b7d,_0x45e117,_0x47ce74,_0x173d26,_0x34498e,_0xa6a859,_0x461e0c,_0xa09251,_0x132463){var _0x4dedfa=_0x493b7c;super(_0x553bed,_0xbe684,_0x29ae8d,_0x53711f,_0x514b7d,_0x45e117,_0x47ce74,_0x173d26,_0x34498e,_0xa6a859,_0x461e0c,_0xa09251,_0x132463),A(this,_0x4dedfa(0x301),null),(this['unitID']=_0x553bed,this[_0x4dedfa(0x207)]=_0x29ae8d);}[_0x493b7c(0x413)](_0x3e41df){var _0x5be00e=_0x493b7c;this[_0x5be00e(0x301)]=_0x3e41df;}[_0x493b7c(0x2d9)](){var _0xaa34b1=_0x493b7c;this[_0xaa34b1(0x301)]=null,super[_0xaa34b1(0x2d9)]();}[_0x493b7c(0x4d9)](){var _0x41db2f=_0x493b7c;const _0x212dab=super[_0x41db2f(0x4d9)]();return _0x212dab['onTransformIME']=_0x30022c=>{var _0xbe9a72=_0x41db2f,_0x5408bd,_0x384704;return(_0x384704=(_0x5408bd=this[_0xbe9a72(0x301)])==null?void 0x0:_0x5408bd[_0xbe9a72(0x25e)])==null?void 0x0:_0x384704['call'](_0x5408bd,_0x30022c);},_0x212dab[_0x41db2f(0x33c)]=_0x20d2ca=>{var _0x14f5f3=_0x41db2f,_0x5a3214,_0x185f54;return(_0x185f54=(_0x5a3214=this[_0x14f5f3(0x301)])==null?void 0x0:_0x5a3214[_0x14f5f3(0x33c)])==null?void 0x0:_0x185f54['call'](_0x5a3214,_0x20d2ca);},_0x212dab[_0x41db2f(0x258)]=_0x1f0dcd=>{var _0xc04caf=_0x41db2f,_0x2a71ed,_0xf2c68a;return(_0xf2c68a=(_0x2a71ed=this['_handlerCallback'])==null?void 0x0:_0x2a71ed['onTransformSelections'])==null?void 0x0:_0xf2c68a[_0xc04caf(0x1dd)](_0x2a71ed,_0x1f0dcd);},_0x212dab[_0x41db2f(0x26b)]=_0x5d8dd0=>{var _0x1cf548=_0x41db2f,_0xdbe952,_0x204051;return(_0x204051=(_0xdbe952=this[_0x1cf548(0x301)])==null?void 0x0:_0xdbe952[_0x1cf548(0x26b)])==null?void 0x0:_0x204051['call'](_0xdbe952,_0x5d8dd0);},_0x212dab['onTransformRemoteChangesetByIMECache']=_0x41ae01=>{var _0x5c8edb=_0x41db2f,_0x254387,_0x5afb9c,_0x343045;if(!((_0x254387=this[_0x5c8edb(0x301)])!=null&&_0x254387[_0x5c8edb(0x37a)]))throw new Error(_0x5c8edb(0x3fd));return(_0x343045=(_0x5afb9c=this[_0x5c8edb(0x301)])==null?void 0x0:_0x5afb9c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x343045[_0x5c8edb(0x1dd)](_0x5afb9c,_0x41ae01);},_0x212dab[_0x41db2f(0x253)]=_0x5d1eef=>{var _0x2b20bb=_0x41db2f,_0x1171b6,_0x584d22,_0x37a111;if(!((_0x1171b6=this[_0x2b20bb(0x301)])!=null&&_0x1171b6[_0x2b20bb(0x253)]))throw new Error(_0x2b20bb(0x262));return(_0x37a111=(_0x584d22=this[_0x2b20bb(0x301)])==null?void 0x0:_0x584d22[_0x2b20bb(0x253)])==null?void 0x0:_0x37a111[_0x2b20bb(0x1dd)](_0x584d22,_0x5d1eef);},_0x212dab;}async[_0x493b7c(0x200)](){var _0x5e0c8b=_0x493b7c;const _0x536f25=await super[_0x5e0c8b(0x200)]();return this['disposeWithMe'](this[_0x5e0c8b(0x23e)]['onCommandExecuted']((_0x454d30,_0x569270)=>{var _0x586216=_0x5e0c8b;if(_0x454d30[_0x586216(0x207)]!==a[_0x586216(0x412)][_0x586216(0x39d)]||_0x569270!=null&&_0x569270['fromCollab']||_0x569270!=null&&_0x569270[_0x586216(0x180)]||_0x454d30['id']===ut[_0x586216(0x22c)]['id'])return;const _0x2b7a78=_0x454d30['params'];if((_0x2b7a78==null?void 0x0:_0x2b7a78[_0x586216(0x41b)])!==this[_0x586216(0x27c)])return;const _0x328f7b=_0x454d30,_0x3dddeb=this[_0x586216(0x20c)][_0x586216(0x35b)][_0x586216(0x278)](this[_0x586216(0x20c)][_0x586216(0x35b)]['getInterceptPoints']()[_0x586216(0x339)])([_0x328f7b],null)||[_0x328f7b];this[_0x586216(0x17d)](_0x3dddeb[0x0]);})),_0x536f25;}},exports[_0x493b7c(0x4b0)]=We([$(0x3,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),$(0x4,a[_0x493b7c(0x41a)](g[_0x493b7c(0x3d9)])),$(0x5,a[_0x493b7c(0x41a)](a[_0x493b7c(0x380)])),$(0x6,a[_0x493b7c(0x41a)](g['RevisionService'])),$(0x7,a[_0x493b7c(0x41a)](te)),$(0x8,a['ILogService']),$(0x9,a['ICommandService']),$(0xa,a['IPermissionService']),$(0xb,a[_0x493b7c(0x217)](ve)),$(0xc,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x4b0)]),exports[_0x493b7c(0x233)]=class extends exports[_0x493b7c(0x3f1)]{constructor(_0x3c65b5,_0xa75b85,_0x5ce03f,_0x2a8b47,_0x7e966,_0x4bc908,_0x3fed02,_0x5813d3,_0xfacb86,_0x4bd628,_0x5ca507,_0x5779ac,_0x139659,_0x4db4e4){var _0x5cff07=_0x493b7c;super(_0x3c65b5,_0x5ce03f,_0xa75b85,_0x2a8b47,_0x7e966,_0x4bc908,_0x3fed02,_0xfacb86,_0x4bd628,_0x5ca507,_0x5779ac,_0x139659,_0x4db4e4),this[_0x5cff07(0x27c)]=_0x3c65b5,this[_0x5cff07(0x207)]=_0xa75b85,this[_0x5cff07(0x212)]=_0x5813d3;}[_0x493b7c(0x4d9)](){var _0x31e752=_0x493b7c;const _0x12efa7=super[_0x31e752(0x4d9)]();return _0x12efa7[_0x31e752(0x258)]=_0x43f7a9=>this[_0x31e752(0x212)][_0x31e752(0x3e2)](_0x43f7a9),_0x12efa7;}async['_init'](){var _0x2d4424=_0x493b7c;const _0xc4439d=await super[_0x2d4424(0x200)]();return this[_0x2d4424(0x482)](this[_0x2d4424(0x23e)][_0x2d4424(0x18f)]((_0x24d332,_0x2b4764)=>{var _0x37b7e6=_0x2d4424;if(_0x24d332[_0x37b7e6(0x207)]!==a[_0x37b7e6(0x412)][_0x37b7e6(0x39d)]||_0x2b4764!=null&&_0x2b4764['fromCollab']||_0x2b4764!=null&&_0x2b4764[_0x37b7e6(0x180)])return;const _0x15c394=_0x24d332[_0x37b7e6(0x421)];if((_0x15c394==null?void 0x0:_0x15c394[_0x37b7e6(0x41b)])!==this[_0x37b7e6(0x27c)])return;const _0xcb3ec0=_0x24d332,_0x425efd=this[_0x37b7e6(0x20c)][_0x37b7e6(0x35b)]['fetchThroughInterceptors'](this[_0x37b7e6(0x20c)][_0x37b7e6(0x35b)][_0x37b7e6(0x2d1)]()[_0x37b7e6(0x339)])([_0xcb3ec0],null)||[_0xcb3ec0];this['_onLocalMutation'](_0x425efd[0x0]);})),_0xc4439d;}},exports['SheetCollaborationEntity']=We([$(0x3,a['Inject'](a[_0x493b7c(0x446)])),$(0x4,a[_0x493b7c(0x41a)](g[_0x493b7c(0x3d9)])),$(0x5,a[_0x493b7c(0x41a)](a[_0x493b7c(0x380)])),$(0x6,a[_0x493b7c(0x41a)](g[_0x493b7c(0x194)])),$(0x7,a[_0x493b7c(0x41a)](exports[_0x493b7c(0x1a2)])),$(0x8,a[_0x493b7c(0x41a)](te)),$(0x9,a[_0x493b7c(0x264)]),$(0xa,a[_0x493b7c(0x451)]),$(0xb,a[_0x493b7c(0x42b)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x233)]);var Ti=Object[_0x493b7c(0x4e0)],bi=(_0x548e94,_0x4546a1,_0x1f7692,_0x47d611)=>{for(var _0xca456d=_0x47d611>0x1?void 0x0:_0x47d611?Ti(_0x4546a1,_0x1f7692):_0x4546a1,_0x3f89a3=_0x548e94['length']-0x1,_0x292225;_0x3f89a3>=0x0;_0x3f89a3--)(_0x292225=_0x548e94[_0x3f89a3])&&(_0xca456d=_0x292225(_0xca456d)||_0xca456d);return _0xca456d;},Pe=(_0xc9b7a,_0x384663)=>(_0x429e48,_0x482c05)=>_0x384663(_0x429e48,_0x482c05,_0xc9b7a);exports[_0x493b7c(0x299)]=class extends a[_0x493b7c(0x19a)]{constructor(_0x460422,_0x356acf,_0x24f52d){var _0x15a5eb=_0x493b7c;super(),A(this,_0x15a5eb(0x1d5),new Map()),A(this,_0x15a5eb(0x279),new j['Subject']()),A(this,_0x15a5eb(0x170),this[_0x15a5eb(0x279)]['asObservable']()),(this[_0x15a5eb(0x232)]=_0x460422,this['_collabSessionService']=_0x356acf,this['_univerInstanceService']=_0x24f52d,this[_0x15a5eb(0x200)]());}['dispose'](){var _0x18c776=_0x493b7c;super['dispose'](),this[_0x18c776(0x1d5)][_0x18c776(0x240)](_0xe4b252=>_0xe4b252[_0x18c776(0x2d9)]()),this['_entities'][_0x18c776(0x458)]();}[_0x493b7c(0x2fb)](_0x21a749){var _0x146abf=_0x493b7c,_0x4a5cae;return(_0x4a5cae=this[_0x146abf(0x1d5)]['get'](_0x21a749))!=null?_0x4a5cae:null;}[_0x493b7c(0x16f)](_0xf476e9){var _0x5c2e34=_0x493b7c;const _0x2475e3=this['getCollabEntity'](_0xf476e9);return _0x2475e3?j['of'](_0x2475e3):this['_entityInit$']['pipe'](V[_0x5c2e34(0x345)](_0x33b5f3=>_0x33b5f3[_0x5c2e34(0x27c)]===_0xf476e9));}['readyForCollab'](_0x118b61){var _0x42e0a0=_0x493b7c;return j[_0x42e0a0(0x3c9)](this[_0x42e0a0(0x16f)](_0x118b61)[_0x42e0a0(0x30e)](V[_0x42e0a0(0x477)](()=>{})));}[_0x493b7c(0x200)](){var _0x4921af=_0x493b7c;this[_0x4921af(0x392)][_0x4921af(0x1de)](a[_0x4921af(0x457)][_0x4921af(0x277)])[_0x4921af(0x30e)](j['takeUntil'](this[_0x4921af(0x327)]),V['delay'](0x10))[_0x4921af(0x2db)](async _0x1ba15e=>{var _0x2f4dc1=_0x4921af;const _0xba61fa=_0x1ba15e[_0x2f4dc1(0x190)](),_0x40b204=await this[_0x2f4dc1(0x2d2)](_0xba61fa,X[_0x2f4dc1(0x277)]);this['_entities'][_0x2f4dc1(0x206)](_0xba61fa,_0x40b204);}),this['_univerInstanceService'][_0x4921af(0x1de)](a['UniverInstanceType'][_0x4921af(0x256)])[_0x4921af(0x30e)](j[_0x4921af(0x4ca)](this[_0x4921af(0x327)]),V[_0x4921af(0x231)](0x10))[_0x4921af(0x30e)](V['filter'](_0x227d90=>!_0x227d90['getUnitId']()[_0x4921af(0x45a)]('__')))[_0x4921af(0x2db)](async _0x3b5e43=>{var _0x1c6688=_0x4921af;const _0x49d475=_0x3b5e43[_0x1c6688(0x190)](),_0x159020=await this[_0x1c6688(0x2d2)](_0x49d475,X[_0x1c6688(0x256)]);this['_entities'][_0x1c6688(0x206)](_0x49d475,_0x159020);}),j[_0x4921af(0x320)](this[_0x4921af(0x392)]['getTypeOfUnitDisposed$'](a[_0x4921af(0x457)][_0x4921af(0x277)]),this['_univerInstanceService'][_0x4921af(0x214)](a['UniverInstanceType'][_0x4921af(0x256)]))[_0x4921af(0x30e)](j['takeUntil'](this['dispose$']))[_0x4921af(0x2db)](_0x583c05=>{var _0x288a6e=_0x4921af;const _0x3f0db6=_0x583c05[_0x288a6e(0x190)](),_0x57c231=this[_0x288a6e(0x1d5)][_0x288a6e(0x497)](_0x3f0db6);_0x57c231&&(_0x57c231[_0x288a6e(0x2d9)](),this[_0x288a6e(0x1d5)]['delete'](_0x3f0db6));});}async['_startCollaboration'](_0x2615b4,_0x3c69ae){var _0x56ea53=_0x493b7c;const _0x3e27e2=await this['_collabSessionService']['requireSession'](_0x2615b4),_0x230ed5=this[_0x56ea53(0x232)][_0x56ea53(0x308)](this['_getCtorByUniverType'](_0x3c69ae),_0x2615b4,_0x3c69ae,_0x3e27e2);return await _0x230ed5[_0x56ea53(0x4d5)](),this['_entityInit$'][_0x56ea53(0x261)](_0x230ed5),_0x230ed5;}[_0x493b7c(0x30d)](_0xde7d2c){var _0x272df1=_0x493b7c;switch(_0xde7d2c){case X[_0x272df1(0x256)]:return exports['DocCollaborationEntity'];case X[_0x272df1(0x277)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x272df1(0x1f4)+_0xde7d2c);}}},exports[_0x493b7c(0x299)]=bi([Pe(0x0,a[_0x493b7c(0x41a)](a['Injector'])),Pe(0x1,a[_0x493b7c(0x41a)](exports[_0x493b7c(0x3c0)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x493b7c(0x299)]);var Ri=Object[_0x493b7c(0x4e0)],Oi=(_0x436a7f,_0x582ddc,_0x5998d7,_0xfadda1)=>{var _0x3be792=_0x493b7c;for(var _0x2404a4=_0xfadda1>0x1?void 0x0:_0xfadda1?Ri(_0x582ddc,_0x5998d7):_0x582ddc,_0x4c36f8=_0x436a7f[_0x3be792(0x286)]-0x1,_0x3f47b2;_0x4c36f8>=0x0;_0x4c36f8--)(_0x3f47b2=_0x436a7f[_0x4c36f8])&&(_0x2404a4=_0x3f47b2(_0x2404a4)||_0x2404a4);return _0x2404a4;},Je=(_0x3660ef,_0x37c59b)=>(_0x26b3f4,_0x15879c)=>_0x37c59b(_0x26b3f4,_0x15879c,_0x3660ef);const yi=_0x493b7c(0x22a),Ni=_0x493b7c(0x3c4);let He=class extends a[_0x493b7c(0x3e6)]{constructor(_0x529fe9,_0x21af69){var _0x107d28=_0x493b7c;super(),this[_0x107d28(0x392)]=_0x529fe9,this[_0x107d28(0x23a)]=_0x21af69,this[_0x107d28(0x200)]();}[_0x493b7c(0x200)](){var _0x634093=_0x493b7c;this[_0x634093(0x482)](this[_0x634093(0x392)]['focused$'][_0x634093(0x2db)](()=>{var _0x1d5e91=_0x634093,_0x12d79d;const _0x14bae0=this[_0x1d5e91(0x392)][_0x1d5e91(0x1b5)]();let _0x30f5b6=(_0x12d79d=this[_0x1d5e91(0x23a)]['getConfig'](yi))!=null?_0x12d79d:Ni;_0x14bae0 instanceof a[_0x1d5e91(0x48d)]&&(_0x30f5b6=_0x14bae0['name']),document[_0x1d5e91(0x2bd)]=_0x30f5b6;}));}};He=Oi([Je(0x0,a[_0x493b7c(0x239)]),Je(0x1,a[_0x493b7c(0x399)])],He);var Di=Object[_0x493b7c(0x4e0)],Ui=(_0x4da100,_0x4bdb72,_0x3f7135,_0x34d3fe)=>{var _0x26423b=_0x493b7c;for(var _0x2cec4c=_0x34d3fe>0x1?void 0x0:_0x34d3fe?Di(_0x4bdb72,_0x3f7135):_0x4bdb72,_0xa83708=_0x4da100[_0x26423b(0x286)]-0x1,_0x14ef73;_0xa83708>=0x0;_0xa83708--)(_0x14ef73=_0x4da100[_0xa83708])&&(_0x2cec4c=_0x14ef73(_0x2cec4c)||_0x2cec4c);return _0x2cec4c;},we=(_0x173fca,_0x470831)=>(_0x144e56,_0x570b42)=>_0x470831(_0x144e56,_0x570b42,_0x173fca);let ye=class{constructor(_0x2feabb,_0x710d83,_0x5217ed){var _0x5ba33c=_0x493b7c;this[_0x5ba33c(0x23a)]=_0x2feabb,this[_0x5ba33c(0x33b)]=_0x710d83,this[_0x5ba33c(0x41e)]=_0x5217ed,this[_0x5ba33c(0x4d5)]();}[_0x493b7c(0x4d5)](){var _0x21e417=_0x493b7c;this[_0x21e417(0x33b)][_0x21e417(0x1c4)]({'priority':0x1,'interceptor':(_0x2cff65,_0x305d22)=>_0x305d22(_0x2cff65)[_0x21e417(0x30e)](j[_0x21e417(0x4cf)](async _0x16b916=>{var _0x3b7d89=_0x21e417;const _0x4fc508=_0x16b916;if(_0x4fc508['status']===0x191){if(typeof window>'u')throw new Error(_0x3b7d89(0x204));if(window[_0x3b7d89(0x32d)](this[_0x3b7d89(0x41e)]['t'](_0x3b7d89(0x4d0)))){const _0x139735=window[_0x3b7d89(0x1ad)](window[_0x3b7d89(0x2ae)][_0x3b7d89(0x36b)]);window[_0x3b7d89(0x2ae)]['href']=this[_0x3b7d89(0x22e)]()+_0x3b7d89(0x371)+_0x139735;}}return _0x4fc508;}))});}[_0x493b7c(0x22e)](){var _0x3ae1a1=_0x493b7c,_0x26830e,_0x2b2951;const _0x16d0cc=this[_0x3ae1a1(0x23a)][_0x3ae1a1(0x17a)](Et),_0x5b7bf4=this['_configService'][_0x3ae1a1(0x17a)](Y);return(_0x2b2951=(_0x26830e=_0x5b7bf4==null?void 0x0:_0x5b7bf4[_0x3ae1a1(0x492)])!=null?_0x26830e:_0x16d0cc)!=null?_0x2b2951:Yt;}};ye=Ui([we(0x0,a[_0x493b7c(0x399)]),we(0x1,a['Inject'](q[_0x493b7c(0x23c)])),we(0x2,a['Inject'](a[_0x493b7c(0x380)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0xdb9e77,_0x219e6a,_0x54f5cd,_0x1a9798)=>{var _0x9b5a77=_0x493b7c;for(var _0x3a57ba=_0x1a9798>0x1?void 0x0:_0x1a9798?Ai(_0x219e6a,_0x54f5cd):_0x219e6a,_0xb3796f=_0xdb9e77[_0x9b5a77(0x286)]-0x1,_0x2ae2bb;_0xb3796f>=0x0;_0xb3796f--)(_0x2ae2bb=_0xdb9e77[_0xb3796f])&&(_0x3a57ba=_0x2ae2bb(_0x3a57ba)||_0x3a57ba);return _0x3a57ba;},Xe=(_0x36bb65,_0x13e0ea)=>(_0x3d6559,_0x120160)=>_0x13e0ea(_0x3d6559,_0x120160,_0x36bb65);const Ge=_0x493b7c(0x198),wi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x493b7c(0x3e6)]{constructor(_0x5916f6,_0x125a7a){var _0x11e44f=_0x493b7c;super(),this['_HTTPService']=_0x5916f6,this[_0x11e44f(0x23a)]=_0x125a7a,this[_0x11e44f(0x3ad)]();}[_0x493b7c(0x3ad)](){var _0x238ecc=_0x493b7c;const _0x57467f=this;this[_0x238ecc(0x482)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x238ecc(0x2b5)]({'isMatch'(_0x598483){var _0x8cfa5f=_0x238ecc,_0x2370e7;if(_0x598483[_0x8cfa5f(0x304)]==='POST'&&((_0x2370e7=_0x598483[_0x8cfa5f(0x366)])!=null&&_0x2370e7[_0x8cfa5f(0x259)])){const {objectID:_0x36a6df,objectType:_0x40fd50}=_0x598483[_0x8cfa5f(0x366)]['body']||{};if(!_0x36a6df||_0x40fd50===void 0x0)return!0x1;const _0x397994=_0x57467f[_0x8cfa5f(0x326)]()+'/'+_0x40fd50+'/object/'+_0x36a6df+_0x8cfa5f(0x471);if(_0x598483[_0x8cfa5f(0x171)]===_0x397994)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe5cfab){var _0x52199b=_0x238ecc,_0x5c76b9;return(_0x5c76b9=_0xe5cfab[_0x52199b(0x366)])==null?void 0x0:_0x5c76b9[_0x52199b(0x259)];},'mergeParamsToRequest'(_0xdc4354,_0x592936){var _0x47705d=_0x238ecc;const _0x574466=_0x57467f[_0x47705d(0x326)]()+_0x47705d(0x40c),_0x58a165=_0xdc4354[_0x47705d(0x3be)]((_0x252ad3,_0x330c43)=>{var _0x1130a6=_0x47705d;const {unitID:_0x6f1f1d,objectID:_0x18314d,objectType:_0x342f49,actions:_0x18ba24}=_0x330c43;return _0x252ad3[_0x6f1f1d]||(_0x252ad3[_0x6f1f1d]={}),_0x252ad3[_0x6f1f1d][_0x18314d]||(_0x252ad3[_0x6f1f1d][_0x18314d]={'objectID':_0x18314d,'objectType':_0x342f49,'actions':[]}),_0x252ad3[_0x6f1f1d][_0x18314d][_0x1130a6(0x3cd)][_0x1130a6(0x188)](..._0x18ba24),_0x252ad3;},{}),_0x42dbac=[];for(const _0x12648e in _0x58a165)for(const _0x3d0b54 in _0x58a165[_0x12648e]){const {actions:_0x1c469f,objectType:_0xe8e7e5}=_0x58a165[_0x12648e][_0x3d0b54],_0x4fd8a7=[...new Set(_0x1c469f)];_0x42dbac[_0x47705d(0x188)]({'unitID':_0x12648e,'objectID':_0x3d0b54,'objectType':_0xe8e7e5,'actions':_0x4fd8a7});}return new q[(_0x47705d(0x4ae))](_0x47705d(0x4dd),_0x574466,{'headers':_0x592936['headers'],'withCredentials':_0x592936[_0x47705d(0x352)],'responseType':_0x592936[_0x47705d(0x2e2)],'body':{'requests':_0x42dbac}});}},{'distributeResult'(_0x726499,_0x1f2a4b){var _0x4b57a8=_0x238ecc;const {objectActions:_0x12aedf}=_0x726499;return _0x1f2a4b[_0x4b57a8(0x477)](_0x591bab=>{var _0x36715f=_0x4b57a8;const {unitID:_0x48bab7,objectID:_0x1186fe,actions:_0x224212}=_0x591bab,_0x3ea8b8=_0x12aedf[_0x36715f(0x423)](_0x1706c9=>_0x1706c9['unitID']===_0x48bab7&&_0x1706c9[_0x36715f(0x447)]===_0x1186fe),_0x2f8549=_0x224212[_0x36715f(0x477)](_0x3c37d5=>_0x3ea8b8==null?void 0x0:_0x3ea8b8['actions'][_0x36715f(0x423)](_0x5e684d=>_0x5e684d['action']===_0x3c37d5))[_0x36715f(0x345)](_0x4c067b=>!!_0x4c067b);return{'config':_0x591bab,'result':{'actions':_0x2f8549,'error':_0x726499[_0x36715f(0x1fe)]}};});}})}));}[_0x493b7c(0x326)](){var _0x27c54b=_0x493b7c,_0x548700,_0x325d70;const _0x296cb6=this[_0x27c54b(0x23a)][_0x27c54b(0x17a)](Ge),_0x52cc1a=this['_configService'][_0x27c54b(0x17a)](Y);return(_0x325d70=(_0x548700=_0x52cc1a==null?void 0x0:_0x52cc1a['authzUrl'])!=null?_0x548700:_0x296cb6)!=null?_0x325d70:wi;}async['create'](_0x3766dd){var _0x13e507=_0x493b7c;const _0x508694=this[_0x13e507(0x326)]()+'/'+_0x3766dd[_0x13e507(0x3e7)]+'/object';return(await this[_0x13e507(0x221)][_0x13e507(0x1cf)](_0x508694,{'body':_0x3766dd}))[_0x13e507(0x259)][_0x13e507(0x447)]||'';}async['list'](_0xa61ee3){var _0x2f3525=_0x493b7c;const _0x161ee0=this[_0x2f3525(0x326)]()+'/-/object/list';return(await this[_0x2f3525(0x221)]['post'](_0x161ee0,{'body':_0xa61ee3}))['body']['objects'];}async['update'](_0x115c5d){var _0x43f458=_0x493b7c,_0x1e4a6c,_0x215a6a;const _0x2cee7e=this[_0x43f458(0x326)]()+'/'+_0x115c5d['objectType']+'/object/'+_0x115c5d[_0x43f458(0x447)],_0x28aa8c=await this[_0x43f458(0x221)][_0x43f458(0x37f)](_0x2cee7e,{'body':_0x115c5d});if(((_0x215a6a=(_0x1e4a6c=_0x28aa8c==null?void 0x0:_0x28aa8c[_0x43f458(0x259)])==null?void 0x0:_0x1e4a6c[_0x43f458(0x1fe)])==null?void 0x0:_0x215a6a[_0x43f458(0x191)])!==0x1)throw new Error(_0x43f458(0x24e));}async[_0x493b7c(0x1fb)](_0x205229){var _0x155401=_0x493b7c;const _0xc063ba=this[_0x155401(0x326)]()+'/'+_0x205229[_0x155401(0x3e7)]+'/object/'+_0x205229[_0x155401(0x447)]+_0x155401(0x471);return(await this[_0x155401(0x221)][_0x155401(0x1cf)](_0xc063ba,{'body':_0x205229}))[_0x155401(0x259)][_0x155401(0x3cd)];}async['batchAllowed'](_0x4dd91f){var _0x7ad7fa=_0x493b7c;const _0x4a784f=this['_getAPIPrefixPath']()+_0x7ad7fa(0x40c);return(await this['_HTTPService'][_0x7ad7fa(0x1cf)](_0x4a784f,{'body':{'requests':_0x4dd91f}}))[_0x7ad7fa(0x259)][_0x7ad7fa(0x1a6)];}async[_0x493b7c(0x325)](_0x490581){var _0x335a1b=_0x493b7c;const _0x2889f5=this[_0x335a1b(0x326)]()+'/'+_0x490581[_0x335a1b(0x3e7)]+_0x335a1b(0x1d2),_0x447ec1=await this[_0x335a1b(0x221)][_0x335a1b(0x1cf)](_0x2889f5,{'body':_0x490581});return{'roles':_0x447ec1[_0x335a1b(0x259)][_0x335a1b(0x347)],'actions':_0x447ec1[_0x335a1b(0x259)][_0x335a1b(0x3cd)]};}async[_0x493b7c(0x2f6)](_0x2a4996){var _0x409f8e=_0x493b7c;const _0x4ad815=this[_0x409f8e(0x326)]()+_0x409f8e(0x201);await this[_0x409f8e(0x221)][_0x409f8e(0x323)](_0x4ad815,{'params':{'collaboratorID':_0x2a4996[_0x409f8e(0x247)],'objectID':_0x2a4996['objectID'],'unitID':_0x2a4996[_0x409f8e(0x27c)]}});}async[_0x493b7c(0x4c6)](_0x56cafa){var _0x1cb084=_0x493b7c;const _0x42c89f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1cb084(0x221)][_0x1cb084(0x2f2)](_0x42c89f,{'body':_0x56cafa});}async[_0x493b7c(0x2eb)](_0x4235a4){var _0x161208=_0x493b7c;const _0x421a3a=this[_0x161208(0x326)]()+_0x161208(0x201);await this['_HTTPService'][_0x161208(0x1cf)](_0x421a3a,{'body':_0x4235a4});}async[_0x493b7c(0x419)](_0x554c83){var _0x5bbee5=_0x493b7c;const _0x4441c5=this['_getAPIPrefixPath']()+_0x5bbee5(0x201);return(await this['_HTTPService']['get'](_0x4441c5,{'params':{'objectID':_0x554c83['objectID'],'unitID':_0x554c83['unitID']}}))[_0x5bbee5(0x259)][_0x5bbee5(0x3b0)];}async[_0x493b7c(0x1b7)](_0x2fcce1){const _0xd6d166=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['put'](_0xd6d166,{'body':_0x2fcce1});}},exports[_0x493b7c(0x187)]=Pi([Xe(0x0,a[_0x493b7c(0x41a)](q[_0x493b7c(0x23c)])),Xe(0x1,a[_0x493b7c(0x41a)](a[_0x493b7c(0x399)]))],exports[_0x493b7c(0x187)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x3be509){var _0x579fea=_0x493b7c;return _0x3be509&&_0x3be509[_0x579fea(0x2e6)]&&Object['prototype'][_0x579fea(0x19e)]['call'](_0x3be509,_0x579fea(0x445))?_0x3be509['default']:_0x3be509;}var fe={'exports':{}};function Li(_0x58872d){var _0x20d98b=_0x493b7c;throw new Error(_0x20d98b(0x4e4)+_0x58872d+_0x20d98b(0x33a));}var pe={'exports':{}},Mi=pe[_0x493b7c(0x189)],Ze;function ee(){var _0x31d85f=_0x493b7c;return Ze||(Ze=0x1,function(_0x54ba9c,_0x4a09dc){(function(_0x2ea341,_0x1ef62b){var _0x1ecf75=_0x400e;_0x54ba9c[_0x1ecf75(0x189)]=_0x1ef62b();}(Mi,function(){var _0x234672=_0x234672||function(_0x2b9ff5,_0x2b35c1){var _0xda8273=_0x400e,_0x584e46;if(typeof window<'u'&&window[_0xda8273(0x450)]&&(_0x584e46=window['crypto']),typeof self<'u'&&self[_0xda8273(0x450)]&&(_0x584e46=self[_0xda8273(0x450)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x584e46=globalThis[_0xda8273(0x450)]),!_0x584e46&&typeof window<'u'&&window[_0xda8273(0x20b)]&&(_0x584e46=window['msCrypto']),!_0x584e46&&typeof Le<'u'&&Le['crypto']&&(_0x584e46=Le[_0xda8273(0x450)]),!_0x584e46&&typeof Li=='function')try{_0x584e46=require(_0xda8273(0x450));}catch{}var _0x4277b0=function(){var _0x57bef9=_0xda8273;if(_0x584e46){if(typeof _0x584e46['getRandomValues']==_0x57bef9(0x17e))try{return _0x584e46[_0x57bef9(0x28b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x584e46['randomBytes']==_0x57bef9(0x17e))try{return _0x584e46['randomBytes'](0x4)[_0x57bef9(0x16d)]();}catch{}}throw new Error(_0x57bef9(0x329));},_0xc40cf0=Object['create']||(function(){function _0x2ddc80(){}return function(_0x36e448){var _0xfbd1c7=_0x400e,_0x55d075;return _0x2ddc80['prototype']=_0x36e448,_0x55d075=new _0x2ddc80(),_0x2ddc80[_0xfbd1c7(0x32a)]=null,_0x55d075;};}()),_0x5cab6c={},_0x33b0de=_0x5cab6c['lib']={},_0x14e77f=_0x33b0de[_0xda8273(0x173)]=(function(){return{'extend':function(_0x19cf65){var _0x6c05db=_0x400e,_0x597fbb=_0xc40cf0(this);return _0x19cf65&&_0x597fbb[_0x6c05db(0x2f9)](_0x19cf65),(!_0x597fbb[_0x6c05db(0x19e)](_0x6c05db(0x4d5))||this[_0x6c05db(0x4d5)]===_0x597fbb[_0x6c05db(0x4d5)])&&(_0x597fbb[_0x6c05db(0x4d5)]=function(){var _0x2756b1=_0x6c05db;_0x597fbb[_0x2756b1(0x1e5)][_0x2756b1(0x4d5)]['apply'](this,arguments);}),_0x597fbb[_0x6c05db(0x4d5)][_0x6c05db(0x32a)]=_0x597fbb,_0x597fbb['$super']=this,_0x597fbb;},'create':function(){var _0x58a12b=_0x400e,_0x5cbe56=this[_0x58a12b(0x34e)]();return _0x5cbe56[_0x58a12b(0x4d5)]['apply'](_0x5cbe56,arguments),_0x5cbe56;},'init':function(){},'mixIn':function(_0x34c189){var _0x129334=_0x400e;for(var _0x2b91eb in _0x34c189)_0x34c189['hasOwnProperty'](_0x2b91eb)&&(this[_0x2b91eb]=_0x34c189[_0x2b91eb]);_0x34c189[_0x129334(0x19e)](_0x129334(0x47e))&&(this[_0x129334(0x47e)]=_0x34c189[_0x129334(0x47e)]);},'clone':function(){var _0x2daa23=_0x400e;return this['init'][_0x2daa23(0x32a)][_0x2daa23(0x34e)](this);}};}()),_0x3be4e8=_0x33b0de[_0xda8273(0x487)]=_0x14e77f[_0xda8273(0x34e)]({'init':function(_0x51f8ca,_0x40ba00){var _0x59eb25=_0xda8273;_0x51f8ca=this['words']=_0x51f8ca||[],_0x40ba00!=_0x2b35c1?this['sigBytes']=_0x40ba00:this[_0x59eb25(0x3da)]=_0x51f8ca['length']*0x4;},'toString':function(_0x45a866){return(_0x45a866||_0x270d7f)['stringify'](this);},'concat':function(_0x493e64){var _0x2020ad=_0xda8273,_0x4b9abd=this[_0x2020ad(0x36e)],_0x20e58b=_0x493e64[_0x2020ad(0x36e)],_0x4996be=this[_0x2020ad(0x3da)],_0x3d45b0=_0x493e64[_0x2020ad(0x3da)];if(this[_0x2020ad(0x18e)](),_0x4996be%0x4)for(var _0x546b95=0x0;_0x546b95<_0x3d45b0;_0x546b95++){var _0x1e97e0=_0x20e58b[_0x546b95>>>0x2]>>>0x18-_0x546b95%0x4*0x8&0xff;_0x4b9abd[_0x4996be+_0x546b95>>>0x2]|=_0x1e97e0<<0x18-(_0x4996be+_0x546b95)%0x4*0x8;}else{for(var _0x1e14c0=0x0;_0x1e14c0<_0x3d45b0;_0x1e14c0+=0x4)_0x4b9abd[_0x4996be+_0x1e14c0>>>0x2]=_0x20e58b[_0x1e14c0>>>0x2];}return this[_0x2020ad(0x3da)]+=_0x3d45b0,this;},'clamp':function(){var _0x1ea9d4=_0xda8273,_0x16b9f3=this[_0x1ea9d4(0x36e)],_0x2fa6ff=this[_0x1ea9d4(0x3da)];_0x16b9f3[_0x2fa6ff>>>0x2]&=0xffffffff<<0x20-_0x2fa6ff%0x4*0x8,_0x16b9f3[_0x1ea9d4(0x286)]=_0x2b9ff5[_0x1ea9d4(0x3b7)](_0x2fa6ff/0x4);},'clone':function(){var _0x2f345c=_0xda8273,_0x3ed248=_0x14e77f[_0x2f345c(0x44e)][_0x2f345c(0x1dd)](this);return _0x3ed248[_0x2f345c(0x36e)]=this['words'][_0x2f345c(0x300)](0x0),_0x3ed248;},'random':function(_0x266a96){var _0x17fb74=_0xda8273;for(var _0x394ffd=[],_0x56be59=0x0;_0x56be59<_0x266a96;_0x56be59+=0x4)_0x394ffd['push'](_0x4277b0());return new _0x3be4e8[(_0x17fb74(0x4d5))](_0x394ffd,_0x266a96);}}),_0x17f831=_0x5cab6c[_0xda8273(0x2df)]={},_0x270d7f=_0x17f831[_0xda8273(0x379)]={'stringify':function(_0x393ed1){var _0xd7e28c=_0xda8273;for(var _0xa577ab=_0x393ed1[_0xd7e28c(0x36e)],_0x306083=_0x393ed1[_0xd7e28c(0x3da)],_0x3978e7=[],_0x2444d8=0x0;_0x2444d8<_0x306083;_0x2444d8++){var _0x15ec9e=_0xa577ab[_0x2444d8>>>0x2]>>>0x18-_0x2444d8%0x4*0x8&0xff;_0x3978e7[_0xd7e28c(0x188)]((_0x15ec9e>>>0x4)[_0xd7e28c(0x47e)](0x10)),_0x3978e7[_0xd7e28c(0x188)]((_0x15ec9e&0xf)[_0xd7e28c(0x47e)](0x10));}return _0x3978e7[_0xd7e28c(0x402)]('');},'parse':function(_0x1b2026){var _0x15e6dc=_0xda8273;for(var _0x31407b=_0x1b2026[_0x15e6dc(0x286)],_0x322c85=[],_0x5c5907=0x0;_0x5c5907<_0x31407b;_0x5c5907+=0x2)_0x322c85[_0x5c5907>>>0x3]|=parseInt(_0x1b2026['substr'](_0x5c5907,0x2),0x10)<<0x18-_0x5c5907%0x8*0x4;return new _0x3be4e8[(_0x15e6dc(0x4d5))](_0x322c85,_0x31407b/0x2);}},_0x4e4a20=_0x17f831['Latin1']={'stringify':function(_0x5cd2a5){var _0xfcc0ee=_0xda8273;for(var _0x27cfa6=_0x5cd2a5[_0xfcc0ee(0x36e)],_0x5a5c4a=_0x5cd2a5['sigBytes'],_0x5562f5=[],_0x367d2f=0x0;_0x367d2f<_0x5a5c4a;_0x367d2f++){var _0x301d3e=_0x27cfa6[_0x367d2f>>>0x2]>>>0x18-_0x367d2f%0x4*0x8&0xff;_0x5562f5['push'](String['fromCharCode'](_0x301d3e));}return _0x5562f5[_0xfcc0ee(0x402)]('');},'parse':function(_0x422f33){var _0x52ff83=_0xda8273;for(var _0x18ef72=_0x422f33[_0x52ff83(0x286)],_0x235c22=[],_0x8f9931=0x0;_0x8f9931<_0x18ef72;_0x8f9931++)_0x235c22[_0x8f9931>>>0x2]|=(_0x422f33[_0x52ff83(0x378)](_0x8f9931)&0xff)<<0x18-_0x8f9931%0x4*0x8;return new _0x3be4e8[(_0x52ff83(0x4d5))](_0x235c22,_0x18ef72);}},_0x5958b8=_0x17f831['Utf8']={'stringify':function(_0x7cbe1b){var _0x550ece=_0xda8273;try{return decodeURIComponent(escape(_0x4e4a20['stringify'](_0x7cbe1b)));}catch{throw new Error(_0x550ece(0x29f));}},'parse':function(_0x46072f){var _0x417e4e=_0xda8273;return _0x4e4a20[_0x417e4e(0x2bf)](unescape(encodeURIComponent(_0x46072f)));}},_0x2fe17e=_0x33b0de[_0xda8273(0x3e9)]=_0x14e77f[_0xda8273(0x34e)]({'reset':function(){var _0xbf5920=_0xda8273;this[_0xbf5920(0x38e)]=new _0x3be4e8[(_0xbf5920(0x4d5))](),this[_0xbf5920(0x39c)]=0x0;},'_append':function(_0xd3ae47){var _0x4065b7=_0xda8273;typeof _0xd3ae47=='string'&&(_0xd3ae47=_0x5958b8['parse'](_0xd3ae47)),this['_data'][_0x4065b7(0x4b7)](_0xd3ae47),this[_0x4065b7(0x39c)]+=_0xd3ae47[_0x4065b7(0x3da)];},'_process':function(_0x3375c3){var _0x1eadc3=_0xda8273,_0x3a91c8,_0x5b1942=this[_0x1eadc3(0x38e)],_0x3276cd=_0x5b1942[_0x1eadc3(0x36e)],_0x15b869=_0x5b1942[_0x1eadc3(0x3da)],_0x219d67=this[_0x1eadc3(0x354)],_0x48e2f1=_0x219d67*0x4,_0x2b87e9=_0x15b869/_0x48e2f1;_0x3375c3?_0x2b87e9=_0x2b9ff5[_0x1eadc3(0x3b7)](_0x2b87e9):_0x2b87e9=_0x2b9ff5[_0x1eadc3(0x2ca)]((_0x2b87e9|0x0)-this[_0x1eadc3(0x3a2)],0x0);var _0xa1bd4d=_0x2b87e9*_0x219d67,_0x2d0578=_0x2b9ff5[_0x1eadc3(0x2ec)](_0xa1bd4d*0x4,_0x15b869);if(_0xa1bd4d){for(var _0x282a69=0x0;_0x282a69<_0xa1bd4d;_0x282a69+=_0x219d67)this[_0x1eadc3(0x21e)](_0x3276cd,_0x282a69);_0x3a91c8=_0x3276cd['splice'](0x0,_0xa1bd4d),_0x5b1942[_0x1eadc3(0x3da)]-=_0x2d0578;}return new _0x3be4e8[(_0x1eadc3(0x4d5))](_0x3a91c8,_0x2d0578);},'clone':function(){var _0xf645f9=_0xda8273,_0x29fb22=_0x14e77f[_0xf645f9(0x44e)][_0xf645f9(0x1dd)](this);return _0x29fb22[_0xf645f9(0x38e)]=this[_0xf645f9(0x38e)][_0xf645f9(0x44e)](),_0x29fb22;},'_minBufferSize':0x0});_0x33b0de[_0xda8273(0x2dc)]=_0x2fe17e[_0xda8273(0x34e)]({'cfg':_0x14e77f[_0xda8273(0x34e)](),'init':function(_0x4bf1d1){var _0xf6e21f=_0xda8273;this[_0xf6e21f(0x21b)]=this[_0xf6e21f(0x21b)]['extend'](_0x4bf1d1),this[_0xf6e21f(0x467)]();},'reset':function(){var _0x333d59=_0xda8273;_0x2fe17e[_0x333d59(0x467)][_0x333d59(0x1dd)](this),this[_0x333d59(0x3d4)]();},'update':function(_0x11e9dc){var _0x37ba51=_0xda8273;return this['_append'](_0x11e9dc),this[_0x37ba51(0x4dc)](),this;},'finalize':function(_0x4e540b){var _0x94932b=_0xda8273;_0x4e540b&&this[_0x94932b(0x1f3)](_0x4e540b);var _0x25ccc9=this[_0x94932b(0x367)]();return _0x25ccc9;},'blockSize':0x10,'_createHelper':function(_0x789aca){return function(_0x14fc0c,_0x1b94c6){var _0x53281b=_0x400e;return new _0x789aca[(_0x53281b(0x4d5))](_0x1b94c6)[_0x53281b(0x3ef)](_0x14fc0c);};},'_createHmacHelper':function(_0x4c5d49){return function(_0x3ffaad,_0x4900a7){var _0x3d0c5d=_0x400e;return new _0x12ff24[(_0x3d0c5d(0x25f))][(_0x3d0c5d(0x4d5))](_0x4c5d49,_0x4900a7)[_0x3d0c5d(0x3ef)](_0x3ffaad);};}});var _0x12ff24=_0x5cab6c[_0xda8273(0x1f2)]={};return _0x5cab6c;}(Math);return _0x234672;}));}(pe)),pe[_0x31d85f(0x189)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x436960=_0x493b7c;return Qe||(Qe=0x1,function(_0x4064af,_0x28f390){(function(_0x417326,_0x830bad){var _0x536fd2=_0x400e;_0x4064af[_0x536fd2(0x189)]=_0x830bad(ee());}(xi,function(_0x74f126){var _0x2663ea=_0x400e;return(function(){var _0x30dd04=_0x400e,_0x33cd27=_0x74f126,_0x57cafd=_0x33cd27[_0x30dd04(0x3ff)],_0x2217fb=_0x57cafd[_0x30dd04(0x487)],_0x5f091a=_0x33cd27[_0x30dd04(0x2df)];_0x5f091a[_0x30dd04(0x312)]={'stringify':function(_0x263fe4){var _0x332d2d=_0x30dd04,_0x17fb07=_0x263fe4['words'],_0x4b6f2a=_0x263fe4[_0x332d2d(0x3da)],_0xf59698=this['_map'];_0x263fe4[_0x332d2d(0x18e)]();for(var _0x3e565f=[],_0x455d79=0x0;_0x455d79<_0x4b6f2a;_0x455d79+=0x3)for(var _0x38dd70=_0x17fb07[_0x455d79>>>0x2]>>>0x18-_0x455d79%0x4*0x8&0xff,_0x366f7f=_0x17fb07[_0x455d79+0x1>>>0x2]>>>0x18-(_0x455d79+0x1)%0x4*0x8&0xff,_0x565d6e=_0x17fb07[_0x455d79+0x2>>>0x2]>>>0x18-(_0x455d79+0x2)%0x4*0x8&0xff,_0x467f2a=_0x38dd70<<0x10|_0x366f7f<<0x8|_0x565d6e,_0x107b87=0x0;_0x107b87<0x4&&_0x455d79+_0x107b87*0.75<_0x4b6f2a;_0x107b87++)_0x3e565f[_0x332d2d(0x188)](_0xf59698[_0x332d2d(0x468)](_0x467f2a>>>0x6*(0x3-_0x107b87)&0x3f));var _0x2ec687=_0xf59698[_0x332d2d(0x468)](0x40);if(_0x2ec687){for(;_0x3e565f[_0x332d2d(0x286)]%0x4;)_0x3e565f['push'](_0x2ec687);}return _0x3e565f[_0x332d2d(0x402)]('');},'parse':function(_0x12735e){var _0xd26ff4=_0x30dd04,_0x4fa9c3=_0x12735e[_0xd26ff4(0x286)],_0x14eb81=this[_0xd26ff4(0x1e8)],_0x147626=this[_0xd26ff4(0x4d4)];if(!_0x147626){_0x147626=this[_0xd26ff4(0x4d4)]=[];for(var _0x24953c=0x0;_0x24953c<_0x14eb81[_0xd26ff4(0x286)];_0x24953c++)_0x147626[_0x14eb81[_0xd26ff4(0x378)](_0x24953c)]=_0x24953c;}var _0x18c164=_0x14eb81['charAt'](0x40);if(_0x18c164){var _0x2e9b43=_0x12735e[_0xd26ff4(0x37e)](_0x18c164);_0x2e9b43!==-0x1&&(_0x4fa9c3=_0x2e9b43);}return _0x2f37f4(_0x12735e,_0x4fa9c3,_0x147626);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2f37f4(_0x2759ae,_0x568f18,_0x5a48a7){var _0x5a4d7d=_0x30dd04;for(var _0x543ee8=[],_0x20b6f8=0x0,_0x2b25e2=0x0;_0x2b25e2<_0x568f18;_0x2b25e2++)if(_0x2b25e2%0x4){var _0x6765b5=_0x5a48a7[_0x2759ae[_0x5a4d7d(0x378)](_0x2b25e2-0x1)]<<_0x2b25e2%0x4*0x2,_0x192b83=_0x5a48a7[_0x2759ae[_0x5a4d7d(0x378)](_0x2b25e2)]>>>0x6-_0x2b25e2%0x4*0x2,_0x28edab=_0x6765b5|_0x192b83;_0x543ee8[_0x20b6f8>>>0x2]|=_0x28edab<<0x18-_0x20b6f8%0x4*0x8,_0x20b6f8++;}return _0x2217fb[_0x5a4d7d(0x1c1)](_0x543ee8,_0x20b6f8);}}()),_0x74f126[_0x2663ea(0x2df)][_0x2663ea(0x312)];}));}(ge)),ge[_0x436960(0x189)];}var me={'exports':{}},ki=me[_0x493b7c(0x189)],et;function Hi(){var _0x4dace6=_0x493b7c;return et||(et=0x1,function(_0x4804d3,_0xc9145){(function(_0x113a1d,_0x12cdf5){var _0x2bfeca=_0x400e;_0x4804d3[_0x2bfeca(0x189)]=_0x12cdf5(ee());}(ki,function(_0x3a6ebf){var _0x5799d6=_0x400e;return function(_0x29e370){var _0x37dae1=_0x400e,_0x15d6b7=_0x3a6ebf,_0x583f71=_0x15d6b7[_0x37dae1(0x3ff)],_0x86bb98=_0x583f71[_0x37dae1(0x487)],_0x5bd82c=_0x583f71['Hasher'],_0x525a08=_0x15d6b7[_0x37dae1(0x1f2)],_0x153b48=[];(function(){var _0x46f33e=_0x37dae1;for(var _0x22e3bd=0x0;_0x22e3bd<0x40;_0x22e3bd++)_0x153b48[_0x22e3bd]=_0x29e370[_0x46f33e(0x368)](_0x29e370[_0x46f33e(0x38c)](_0x22e3bd+0x1))*0x100000000|0x0;}());var _0x5db26b=_0x525a08[_0x37dae1(0x24b)]=_0x5bd82c[_0x37dae1(0x34e)]({'_doReset':function(){var _0x76517a=_0x37dae1;this[_0x76517a(0x244)]=new _0x86bb98[(_0x76517a(0x4d5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4997cc,_0x3bf0d6){var _0x245baf=_0x37dae1;for(var _0x29fbcb=0x0;_0x29fbcb<0x10;_0x29fbcb++){var _0x144dfd=_0x3bf0d6+_0x29fbcb,_0x3e5bbc=_0x4997cc[_0x144dfd];_0x4997cc[_0x144dfd]=(_0x3e5bbc<<0x8|_0x3e5bbc>>>0x18)&0xff00ff|(_0x3e5bbc<<0x18|_0x3e5bbc>>>0x8)&0xff00ff00;}var _0x489922=this[_0x245baf(0x244)][_0x245baf(0x36e)],_0x59dba0=_0x4997cc[_0x3bf0d6+0x0],_0x3bcb72=_0x4997cc[_0x3bf0d6+0x1],_0x4802f7=_0x4997cc[_0x3bf0d6+0x2],_0x52bb9a=_0x4997cc[_0x3bf0d6+0x3],_0x5cd962=_0x4997cc[_0x3bf0d6+0x4],_0x2a3f32=_0x4997cc[_0x3bf0d6+0x5],_0x4a2e7=_0x4997cc[_0x3bf0d6+0x6],_0x3ea312=_0x4997cc[_0x3bf0d6+0x7],_0x57f1f9=_0x4997cc[_0x3bf0d6+0x8],_0xcc49d6=_0x4997cc[_0x3bf0d6+0x9],_0x5b9175=_0x4997cc[_0x3bf0d6+0xa],_0x1f30c3=_0x4997cc[_0x3bf0d6+0xb],_0x5631c6=_0x4997cc[_0x3bf0d6+0xc],_0xc93997=_0x4997cc[_0x3bf0d6+0xd],_0x1e55d5=_0x4997cc[_0x3bf0d6+0xe],_0x59f476=_0x4997cc[_0x3bf0d6+0xf],_0x3cea38=_0x489922[0x0],_0x52c03f=_0x489922[0x1],_0x5720f8=_0x489922[0x2],_0xddd627=_0x489922[0x3];_0x3cea38=_0x22c8a7(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x59dba0,0x7,_0x153b48[0x0]),_0xddd627=_0x22c8a7(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x3bcb72,0xc,_0x153b48[0x1]),_0x5720f8=_0x22c8a7(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x4802f7,0x11,_0x153b48[0x2]),_0x52c03f=_0x22c8a7(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x52bb9a,0x16,_0x153b48[0x3]),_0x3cea38=_0x22c8a7(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x5cd962,0x7,_0x153b48[0x4]),_0xddd627=_0x22c8a7(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x2a3f32,0xc,_0x153b48[0x5]),_0x5720f8=_0x22c8a7(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x4a2e7,0x11,_0x153b48[0x6]),_0x52c03f=_0x22c8a7(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x3ea312,0x16,_0x153b48[0x7]),_0x3cea38=_0x22c8a7(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x57f1f9,0x7,_0x153b48[0x8]),_0xddd627=_0x22c8a7(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0xcc49d6,0xc,_0x153b48[0x9]),_0x5720f8=_0x22c8a7(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x5b9175,0x11,_0x153b48[0xa]),_0x52c03f=_0x22c8a7(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x1f30c3,0x16,_0x153b48[0xb]),_0x3cea38=_0x22c8a7(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x5631c6,0x7,_0x153b48[0xc]),_0xddd627=_0x22c8a7(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0xc93997,0xc,_0x153b48[0xd]),_0x5720f8=_0x22c8a7(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x1e55d5,0x11,_0x153b48[0xe]),_0x52c03f=_0x22c8a7(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x59f476,0x16,_0x153b48[0xf]),_0x3cea38=_0x469a1c(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x3bcb72,0x5,_0x153b48[0x10]),_0xddd627=_0x469a1c(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x4a2e7,0x9,_0x153b48[0x11]),_0x5720f8=_0x469a1c(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x1f30c3,0xe,_0x153b48[0x12]),_0x52c03f=_0x469a1c(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x59dba0,0x14,_0x153b48[0x13]),_0x3cea38=_0x469a1c(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x2a3f32,0x5,_0x153b48[0x14]),_0xddd627=_0x469a1c(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x5b9175,0x9,_0x153b48[0x15]),_0x5720f8=_0x469a1c(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x59f476,0xe,_0x153b48[0x16]),_0x52c03f=_0x469a1c(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x5cd962,0x14,_0x153b48[0x17]),_0x3cea38=_0x469a1c(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0xcc49d6,0x5,_0x153b48[0x18]),_0xddd627=_0x469a1c(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x1e55d5,0x9,_0x153b48[0x19]),_0x5720f8=_0x469a1c(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x52bb9a,0xe,_0x153b48[0x1a]),_0x52c03f=_0x469a1c(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x57f1f9,0x14,_0x153b48[0x1b]),_0x3cea38=_0x469a1c(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0xc93997,0x5,_0x153b48[0x1c]),_0xddd627=_0x469a1c(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x4802f7,0x9,_0x153b48[0x1d]),_0x5720f8=_0x469a1c(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x3ea312,0xe,_0x153b48[0x1e]),_0x52c03f=_0x469a1c(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x5631c6,0x14,_0x153b48[0x1f]),_0x3cea38=_0x428328(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x2a3f32,0x4,_0x153b48[0x20]),_0xddd627=_0x428328(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x57f1f9,0xb,_0x153b48[0x21]),_0x5720f8=_0x428328(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x1f30c3,0x10,_0x153b48[0x22]),_0x52c03f=_0x428328(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x1e55d5,0x17,_0x153b48[0x23]),_0x3cea38=_0x428328(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x3bcb72,0x4,_0x153b48[0x24]),_0xddd627=_0x428328(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x5cd962,0xb,_0x153b48[0x25]),_0x5720f8=_0x428328(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x3ea312,0x10,_0x153b48[0x26]),_0x52c03f=_0x428328(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x5b9175,0x17,_0x153b48[0x27]),_0x3cea38=_0x428328(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0xc93997,0x4,_0x153b48[0x28]),_0xddd627=_0x428328(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x59dba0,0xb,_0x153b48[0x29]),_0x5720f8=_0x428328(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x52bb9a,0x10,_0x153b48[0x2a]),_0x52c03f=_0x428328(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x4a2e7,0x17,_0x153b48[0x2b]),_0x3cea38=_0x428328(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0xcc49d6,0x4,_0x153b48[0x2c]),_0xddd627=_0x428328(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x5631c6,0xb,_0x153b48[0x2d]),_0x5720f8=_0x428328(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x59f476,0x10,_0x153b48[0x2e]),_0x52c03f=_0x428328(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x4802f7,0x17,_0x153b48[0x2f]),_0x3cea38=_0x41cd5b(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x59dba0,0x6,_0x153b48[0x30]),_0xddd627=_0x41cd5b(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x3ea312,0xa,_0x153b48[0x31]),_0x5720f8=_0x41cd5b(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x1e55d5,0xf,_0x153b48[0x32]),_0x52c03f=_0x41cd5b(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x2a3f32,0x15,_0x153b48[0x33]),_0x3cea38=_0x41cd5b(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x5631c6,0x6,_0x153b48[0x34]),_0xddd627=_0x41cd5b(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x52bb9a,0xa,_0x153b48[0x35]),_0x5720f8=_0x41cd5b(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x5b9175,0xf,_0x153b48[0x36]),_0x52c03f=_0x41cd5b(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0x3bcb72,0x15,_0x153b48[0x37]),_0x3cea38=_0x41cd5b(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x57f1f9,0x6,_0x153b48[0x38]),_0xddd627=_0x41cd5b(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x59f476,0xa,_0x153b48[0x39]),_0x5720f8=_0x41cd5b(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x4a2e7,0xf,_0x153b48[0x3a]),_0x52c03f=_0x41cd5b(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0xc93997,0x15,_0x153b48[0x3b]),_0x3cea38=_0x41cd5b(_0x3cea38,_0x52c03f,_0x5720f8,_0xddd627,_0x5cd962,0x6,_0x153b48[0x3c]),_0xddd627=_0x41cd5b(_0xddd627,_0x3cea38,_0x52c03f,_0x5720f8,_0x1f30c3,0xa,_0x153b48[0x3d]),_0x5720f8=_0x41cd5b(_0x5720f8,_0xddd627,_0x3cea38,_0x52c03f,_0x4802f7,0xf,_0x153b48[0x3e]),_0x52c03f=_0x41cd5b(_0x52c03f,_0x5720f8,_0xddd627,_0x3cea38,_0xcc49d6,0x15,_0x153b48[0x3f]),_0x489922[0x0]=_0x489922[0x0]+_0x3cea38|0x0,_0x489922[0x1]=_0x489922[0x1]+_0x52c03f|0x0,_0x489922[0x2]=_0x489922[0x2]+_0x5720f8|0x0,_0x489922[0x3]=_0x489922[0x3]+_0xddd627|0x0;},'_doFinalize':function(){var _0x1901b6=_0x37dae1,_0x2a6da5=this[_0x1901b6(0x38e)],_0x1b72a2=_0x2a6da5['words'],_0x12d6e3=this[_0x1901b6(0x39c)]*0x8,_0x16805f=_0x2a6da5['sigBytes']*0x8;_0x1b72a2[_0x16805f>>>0x5]|=0x80<<0x18-_0x16805f%0x20;var _0x3fb994=_0x29e370[_0x1901b6(0x1a8)](_0x12d6e3/0x100000000),_0x54b928=_0x12d6e3;_0x1b72a2[(_0x16805f+0x40>>>0x9<<0x4)+0xf]=(_0x3fb994<<0x8|_0x3fb994>>>0x18)&0xff00ff|(_0x3fb994<<0x18|_0x3fb994>>>0x8)&0xff00ff00,_0x1b72a2[(_0x16805f+0x40>>>0x9<<0x4)+0xe]=(_0x54b928<<0x8|_0x54b928>>>0x18)&0xff00ff|(_0x54b928<<0x18|_0x54b928>>>0x8)&0xff00ff00,_0x2a6da5['sigBytes']=(_0x1b72a2[_0x1901b6(0x286)]+0x1)*0x4,this[_0x1901b6(0x4dc)]();for(var _0x57b6ae=this[_0x1901b6(0x244)],_0x3fd6a5=_0x57b6ae[_0x1901b6(0x36e)],_0x457911=0x0;_0x457911<0x4;_0x457911++){var _0x290bc3=_0x3fd6a5[_0x457911];_0x3fd6a5[_0x457911]=(_0x290bc3<<0x8|_0x290bc3>>>0x18)&0xff00ff|(_0x290bc3<<0x18|_0x290bc3>>>0x8)&0xff00ff00;}return _0x57b6ae;},'clone':function(){var _0x519287=_0x37dae1,_0x4848d5=_0x5bd82c[_0x519287(0x44e)]['call'](this);return _0x4848d5['_hash']=this[_0x519287(0x244)][_0x519287(0x44e)](),_0x4848d5;}});function _0x22c8a7(_0x3ed1ce,_0x5cbc8c,_0x24e367,_0x510e08,_0x4ff228,_0x351972,_0x241729){var _0x1f90aa=_0x3ed1ce+(_0x5cbc8c&_0x24e367|~_0x5cbc8c&_0x510e08)+_0x4ff228+_0x241729;return(_0x1f90aa<<_0x351972|_0x1f90aa>>>0x20-_0x351972)+_0x5cbc8c;}function _0x469a1c(_0x9d76e9,_0x112c33,_0x3f8aad,_0x5555be,_0x3f8655,_0x1ff208,_0x3b6845){var _0x47d2ab=_0x9d76e9+(_0x112c33&_0x5555be|_0x3f8aad&~_0x5555be)+_0x3f8655+_0x3b6845;return(_0x47d2ab<<_0x1ff208|_0x47d2ab>>>0x20-_0x1ff208)+_0x112c33;}function _0x428328(_0x310f36,_0x54d9fc,_0x578e62,_0x550fbb,_0x2c81b0,_0x4da378,_0x212013){var _0x5315b8=_0x310f36+(_0x54d9fc^_0x578e62^_0x550fbb)+_0x2c81b0+_0x212013;return(_0x5315b8<<_0x4da378|_0x5315b8>>>0x20-_0x4da378)+_0x54d9fc;}function _0x41cd5b(_0xd5b661,_0x1510ab,_0x449065,_0x216284,_0x1d5cc3,_0x535b3f,_0x182bf0){var _0x5792ec=_0xd5b661+(_0x449065^(_0x1510ab|~_0x216284))+_0x1d5cc3+_0x182bf0;return(_0x5792ec<<_0x535b3f|_0x5792ec>>>0x20-_0x535b3f)+_0x1510ab;}_0x15d6b7[_0x37dae1(0x24b)]=_0x5bd82c[_0x37dae1(0x3fc)](_0x5db26b),_0x15d6b7['HmacMD5']=_0x5bd82c['_createHmacHelper'](_0x5db26b);}(Math),_0x3a6ebf[_0x5799d6(0x24b)];}));}(me)),me[_0x4dace6(0x189)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x493b7c(0x189)],tt;function $i(){var _0x492d2d=_0x493b7c;return tt||(tt=0x1,function(_0x3056fe,_0x437823){(function(_0x3f0be5,_0xa60dc6){var _0x26783e=_0x400e;_0x3056fe[_0x26783e(0x189)]=_0xa60dc6(ee());}(ji,function(_0x55d9ea){var _0x401b70=_0x400e;return(function(){var _0x1b35b5=_0x400e,_0x6b5c41=_0x55d9ea,_0x3f21a9=_0x6b5c41[_0x1b35b5(0x3ff)],_0x190a0f=_0x3f21a9[_0x1b35b5(0x487)],_0x3f3b2e=_0x3f21a9['Hasher'],_0x26abca=_0x6b5c41[_0x1b35b5(0x1f2)],_0x395ee1=[],_0x514501=_0x26abca[_0x1b35b5(0x205)]=_0x3f3b2e[_0x1b35b5(0x34e)]({'_doReset':function(){var _0x42e49f=_0x1b35b5;this[_0x42e49f(0x244)]=new _0x190a0f[(_0x42e49f(0x4d5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x300f63,_0x842346){var _0x4e04e7=_0x1b35b5;for(var _0x1478c1=this[_0x4e04e7(0x244)][_0x4e04e7(0x36e)],_0x34065e=_0x1478c1[0x0],_0x587e89=_0x1478c1[0x1],_0x2274fa=_0x1478c1[0x2],_0x35af02=_0x1478c1[0x3],_0x3d6c2d=_0x1478c1[0x4],_0x359272=0x0;_0x359272<0x50;_0x359272++){if(_0x359272<0x10)_0x395ee1[_0x359272]=_0x300f63[_0x842346+_0x359272]|0x0;else{var _0x43f6df=_0x395ee1[_0x359272-0x3]^_0x395ee1[_0x359272-0x8]^_0x395ee1[_0x359272-0xe]^_0x395ee1[_0x359272-0x10];_0x395ee1[_0x359272]=_0x43f6df<<0x1|_0x43f6df>>>0x1f;}var _0x35e38c=(_0x34065e<<0x5|_0x34065e>>>0x1b)+_0x3d6c2d+_0x395ee1[_0x359272];_0x359272<0x14?_0x35e38c+=(_0x587e89&_0x2274fa|~_0x587e89&_0x35af02)+0x5a827999:_0x359272<0x28?_0x35e38c+=(_0x587e89^_0x2274fa^_0x35af02)+0x6ed9eba1:_0x359272<0x3c?_0x35e38c+=(_0x587e89&_0x2274fa|_0x587e89&_0x35af02|_0x2274fa&_0x35af02)-0x70e44324:_0x35e38c+=(_0x587e89^_0x2274fa^_0x35af02)-0x359d3e2a,_0x3d6c2d=_0x35af02,_0x35af02=_0x2274fa,_0x2274fa=_0x587e89<<0x1e|_0x587e89>>>0x2,_0x587e89=_0x34065e,_0x34065e=_0x35e38c;}_0x1478c1[0x0]=_0x1478c1[0x0]+_0x34065e|0x0,_0x1478c1[0x1]=_0x1478c1[0x1]+_0x587e89|0x0,_0x1478c1[0x2]=_0x1478c1[0x2]+_0x2274fa|0x0,_0x1478c1[0x3]=_0x1478c1[0x3]+_0x35af02|0x0,_0x1478c1[0x4]=_0x1478c1[0x4]+_0x3d6c2d|0x0;},'_doFinalize':function(){var _0x354cd7=_0x1b35b5,_0x2b074f=this[_0x354cd7(0x38e)],_0xa2246e=_0x2b074f['words'],_0x29764b=this['_nDataBytes']*0x8,_0x44206b=_0x2b074f[_0x354cd7(0x3da)]*0x8;return _0xa2246e[_0x44206b>>>0x5]|=0x80<<0x18-_0x44206b%0x20,_0xa2246e[(_0x44206b+0x40>>>0x9<<0x4)+0xe]=Math[_0x354cd7(0x1a8)](_0x29764b/0x100000000),_0xa2246e[(_0x44206b+0x40>>>0x9<<0x4)+0xf]=_0x29764b,_0x2b074f[_0x354cd7(0x3da)]=_0xa2246e[_0x354cd7(0x286)]*0x4,this['_process'](),this[_0x354cd7(0x244)];},'clone':function(){var _0x1faec4=_0x1b35b5,_0x2ec911=_0x3f3b2e['clone']['call'](this);return _0x2ec911[_0x1faec4(0x244)]=this[_0x1faec4(0x244)][_0x1faec4(0x44e)](),_0x2ec911;}});_0x6b5c41[_0x1b35b5(0x205)]=_0x3f3b2e[_0x1b35b5(0x3fc)](_0x514501),_0x6b5c41[_0x1b35b5(0x179)]=_0x3f3b2e[_0x1b35b5(0x1ff)](_0x514501);}()),_0x55d9ea[_0x401b70(0x205)];}));}(Ee)),Ee[_0x492d2d(0x189)];}var Ce={'exports':{}},Bi=Ce[_0x493b7c(0x189)],it;function Fi(){var _0xa28ba0=_0x493b7c;return it||(it=0x1,function(_0x5e3492,_0x39aff8){(function(_0xffbe49,_0x7300c3){var _0x40ca02=_0x400e;_0x5e3492[_0x40ca02(0x189)]=_0x7300c3(ee());}(Bi,function(_0x503f35){(function(){var _0x1008f5=_0x400e,_0x35d70a=_0x503f35,_0x45a9ed=_0x35d70a[_0x1008f5(0x3ff)],_0x589dcf=_0x45a9ed[_0x1008f5(0x173)],_0x515177=_0x35d70a[_0x1008f5(0x2df)],_0xe93a4e=_0x515177[_0x1008f5(0x1d8)],_0x52fb33=_0x35d70a[_0x1008f5(0x1f2)];_0x52fb33['HMAC']=_0x589dcf[_0x1008f5(0x34e)]({'init':function(_0x5285ec,_0x29d253){var _0x4fcd26=_0x1008f5;_0x5285ec=this[_0x4fcd26(0x1a0)]=new _0x5285ec[(_0x4fcd26(0x4d5))](),typeof _0x29d253==_0x4fcd26(0x25c)&&(_0x29d253=_0xe93a4e[_0x4fcd26(0x2bf)](_0x29d253));var _0x35e51a=_0x5285ec[_0x4fcd26(0x354)],_0x65ad0=_0x35e51a*0x4;_0x29d253[_0x4fcd26(0x3da)]>_0x65ad0&&(_0x29d253=_0x5285ec[_0x4fcd26(0x3ef)](_0x29d253)),_0x29d253[_0x4fcd26(0x18e)]();for(var _0x1f1d67=this[_0x4fcd26(0x499)]=_0x29d253[_0x4fcd26(0x44e)](),_0x2ca0c0=this['_iKey']=_0x29d253[_0x4fcd26(0x44e)](),_0xce57a1=_0x1f1d67[_0x4fcd26(0x36e)],_0x17cc18=_0x2ca0c0['words'],_0x181fb6=0x0;_0x181fb6<_0x35e51a;_0x181fb6++)_0xce57a1[_0x181fb6]^=0x5c5c5c5c,_0x17cc18[_0x181fb6]^=0x36363636;_0x1f1d67[_0x4fcd26(0x3da)]=_0x2ca0c0['sigBytes']=_0x65ad0,this[_0x4fcd26(0x467)]();},'reset':function(){var _0x4429a4=_0x1008f5,_0x4dfb53=this[_0x4429a4(0x1a0)];_0x4dfb53[_0x4429a4(0x467)](),_0x4dfb53[_0x4429a4(0x4cc)](this[_0x4429a4(0x29a)]);},'update':function(_0x561be8){var _0x4e3e1f=_0x1008f5;return this[_0x4e3e1f(0x1a0)][_0x4e3e1f(0x4cc)](_0x561be8),this;},'finalize':function(_0x43d2be){var _0x4e3e4d=_0x1008f5,_0x1b761f=this[_0x4e3e4d(0x1a0)],_0x4c236b=_0x1b761f[_0x4e3e4d(0x3ef)](_0x43d2be);_0x1b761f[_0x4e3e4d(0x467)]();var _0x1348f5=_0x1b761f[_0x4e3e4d(0x3ef)](this[_0x4e3e4d(0x499)][_0x4e3e4d(0x44e)]()[_0x4e3e4d(0x4b7)](_0x4c236b));return _0x1348f5;}});}());}));}(Ce)),Ce[_0xa28ba0(0x189)];}var Vi=Ie[_0x493b7c(0x189)],nt;function At(){var _0xfd6f74=_0x493b7c;return nt||(nt=0x1,function(_0x322f75,_0x2fb422){(function(_0x14f05c,_0x39e562,_0x42dc33){_0x322f75['exports']=_0x39e562(ee(),$i(),Fi());}(Vi,function(_0x1e6efa){var _0x53a6cf=_0x400e;return(function(){var _0x3483dd=_0x400e,_0x121835=_0x1e6efa,_0x2b938d=_0x121835[_0x3483dd(0x3ff)],_0x5caa3a=_0x2b938d[_0x3483dd(0x173)],_0x38a8e4=_0x2b938d['WordArray'],_0x11d268=_0x121835[_0x3483dd(0x1f2)],_0x238248=_0x11d268[_0x3483dd(0x24b)],_0xc5d83=_0x11d268['EvpKDF']=_0x5caa3a['extend']({'cfg':_0x5caa3a[_0x3483dd(0x34e)]({'keySize':0x80/0x20,'hasher':_0x238248,'iterations':0x1}),'init':function(_0x3fb0ed){var _0x541886=_0x3483dd;this['cfg']=this[_0x541886(0x21b)][_0x541886(0x34e)](_0x3fb0ed);},'compute':function(_0x1ae97d,_0x34c24a){var _0x146f95=_0x3483dd;for(var _0x5c4e82,_0x21b830=this[_0x146f95(0x21b)],_0x1f96e9=_0x21b830[_0x146f95(0x324)][_0x146f95(0x1c1)](),_0x17e902=_0x38a8e4['create'](),_0x1f5e87=_0x17e902[_0x146f95(0x36e)],_0x1a18a1=_0x21b830[_0x146f95(0x1c8)],_0x560336=_0x21b830['iterations'];_0x1f5e87['length']<_0x1a18a1;){_0x5c4e82&&_0x1f96e9[_0x146f95(0x4cc)](_0x5c4e82),_0x5c4e82=_0x1f96e9['update'](_0x1ae97d)[_0x146f95(0x3ef)](_0x34c24a),_0x1f96e9[_0x146f95(0x467)]();for(var _0x565b77=0x1;_0x565b77<_0x560336;_0x565b77++)_0x5c4e82=_0x1f96e9[_0x146f95(0x3ef)](_0x5c4e82),_0x1f96e9[_0x146f95(0x467)]();_0x17e902['concat'](_0x5c4e82);}return _0x17e902[_0x146f95(0x3da)]=_0x1a18a1*0x4,_0x17e902;}});_0x121835[_0x3483dd(0x42c)]=function(_0x51e68d,_0x1646d7,_0x2c181a){var _0x452f9b=_0x3483dd;return _0xc5d83[_0x452f9b(0x1c1)](_0x2c181a)[_0x452f9b(0x293)](_0x51e68d,_0x1646d7);};}()),_0x1e6efa[_0x53a6cf(0x42c)];}));}(Ie)),Ie[_0xfd6f74(0x189)];}var Te={'exports':{}},Wi=Te[_0x493b7c(0x189)],rt;function Pt(){return rt||(rt=0x1,function(_0x97dbf,_0x172e44){(function(_0x16421b,_0x937fca,_0x4087f2){var _0xbb0b35=_0x400e;_0x97dbf[_0xbb0b35(0x189)]=_0x937fca(ee(),At());}(Wi,function(_0x47671c){var _0x5731d3=_0x400e;_0x47671c[_0x5731d3(0x3ff)]['Cipher']||function(_0x472517){var _0x2e8590=_0x5731d3,_0x5351eb=_0x47671c,_0x3e313e=_0x5351eb[_0x2e8590(0x3ff)],_0x2d11da=_0x3e313e[_0x2e8590(0x173)],_0x31fa18=_0x3e313e[_0x2e8590(0x487)],_0x66e3d0=_0x3e313e[_0x2e8590(0x3e9)],_0x220bdd=_0x5351eb[_0x2e8590(0x2df)];_0x220bdd['Utf8'];var _0x34e03f=_0x220bdd[_0x2e8590(0x312)],_0x3d9a46=_0x5351eb[_0x2e8590(0x1f2)],_0x15250c=_0x3d9a46[_0x2e8590(0x42c)],_0x1cad90=_0x3e313e[_0x2e8590(0x16a)]=_0x66e3d0['extend']({'cfg':_0x2d11da['extend'](),'createEncryptor':function(_0x516e4a,_0x8ef370){var _0x3a2dfc=_0x2e8590;return this[_0x3a2dfc(0x1c1)](this['_ENC_XFORM_MODE'],_0x516e4a,_0x8ef370);},'createDecryptor':function(_0x146322,_0x772604){var _0x5d4537=_0x2e8590;return this[_0x5d4537(0x1c1)](this[_0x5d4537(0x398)],_0x146322,_0x772604);},'init':function(_0x31c1e4,_0x27a044,_0x3ed0cf){var _0x44adec=_0x2e8590;this[_0x44adec(0x21b)]=this[_0x44adec(0x21b)][_0x44adec(0x34e)](_0x3ed0cf),this['_xformMode']=_0x31c1e4,this[_0x44adec(0x426)]=_0x27a044,this[_0x44adec(0x467)]();},'reset':function(){var _0x378fd9=_0x2e8590;_0x66e3d0[_0x378fd9(0x467)][_0x378fd9(0x1dd)](this),this[_0x378fd9(0x3d4)]();},'process':function(_0x276bab){var _0x401a30=_0x2e8590;return this['_append'](_0x276bab),this[_0x401a30(0x4dc)]();},'finalize':function(_0x1ddfc5){var _0x37e8c7=_0x2e8590;_0x1ddfc5&&this[_0x37e8c7(0x1f3)](_0x1ddfc5);var _0x4fc928=this[_0x37e8c7(0x367)]();return _0x4fc928;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3fa534(_0x22fb25){var _0x4b1c8f=_0x400e;return typeof _0x22fb25==_0x4b1c8f(0x25c)?_0x573671:_0x24a9a8;}return function(_0x4e5bb9){return{'encrypt':function(_0x1a0ea2,_0x4a781b,_0x553d9d){return _0x3fa534(_0x4a781b)['encrypt'](_0x4e5bb9,_0x1a0ea2,_0x4a781b,_0x553d9d);},'decrypt':function(_0x999934,_0x36c25f,_0x2d8cb6){return _0x3fa534(_0x36c25f)['decrypt'](_0x4e5bb9,_0x999934,_0x36c25f,_0x2d8cb6);}};};}())});_0x3e313e[_0x2e8590(0x26f)]=_0x1cad90[_0x2e8590(0x34e)]({'_doFinalize':function(){var _0x18b68d=this['_process'](!0x0);return _0x18b68d;},'blockSize':0x1});var _0x53ea5d=_0x5351eb[_0x2e8590(0x348)]={},_0x4317d6=_0x3e313e[_0x2e8590(0x34c)]=_0x2d11da['extend']({'createEncryptor':function(_0xc031b2,_0x2d3a1d){var _0x45eaf9=_0x2e8590;return this[_0x45eaf9(0x498)]['create'](_0xc031b2,_0x2d3a1d);},'createDecryptor':function(_0x1ebc92,_0x296d4b){var _0x3216a5=_0x2e8590;return this[_0x3216a5(0x1fa)]['create'](_0x1ebc92,_0x296d4b);},'init':function(_0x3e4b9a,_0x17bc3c){var _0x36c250=_0x2e8590;this[_0x36c250(0x45d)]=_0x3e4b9a,this[_0x36c250(0x45f)]=_0x17bc3c;}}),_0x9bc7a8=_0x53ea5d[_0x2e8590(0x459)]=(function(){var _0x21ca64=_0x2e8590,_0x38406f=_0x4317d6[_0x21ca64(0x34e)]();_0x38406f[_0x21ca64(0x498)]=_0x38406f[_0x21ca64(0x34e)]({'processBlock':function(_0x3272d9,_0x322106){var _0xb6cda=_0x21ca64,_0x16e943=this['_cipher'],_0x24f303=_0x16e943[_0xb6cda(0x354)];_0x4c6480[_0xb6cda(0x1dd)](this,_0x3272d9,_0x322106,_0x24f303),_0x16e943['encryptBlock'](_0x3272d9,_0x322106),this[_0xb6cda(0x3ea)]=_0x3272d9['slice'](_0x322106,_0x322106+_0x24f303);}}),_0x38406f[_0x21ca64(0x1fa)]=_0x38406f['extend']({'processBlock':function(_0x432850,_0x5e0102){var _0x11c40b=_0x21ca64,_0x3bee18=this['_cipher'],_0x5254db=_0x3bee18[_0x11c40b(0x354)],_0x53f687=_0x432850[_0x11c40b(0x300)](_0x5e0102,_0x5e0102+_0x5254db);_0x3bee18[_0x11c40b(0x4cb)](_0x432850,_0x5e0102),_0x4c6480[_0x11c40b(0x1dd)](this,_0x432850,_0x5e0102,_0x5254db),this[_0x11c40b(0x3ea)]=_0x53f687;}});function _0x4c6480(_0x24ea3e,_0x32431e,_0x19c909){var _0xe9e6b3=_0x21ca64,_0x4bd062,_0x35a899=this[_0xe9e6b3(0x45f)];_0x35a899?(_0x4bd062=_0x35a899,this[_0xe9e6b3(0x45f)]=_0x472517):_0x4bd062=this['_prevBlock'];for(var _0x2627e8=0x0;_0x2627e8<_0x19c909;_0x2627e8++)_0x24ea3e[_0x32431e+_0x2627e8]^=_0x4bd062[_0x2627e8];}return _0x38406f;}()),_0x35451f=_0x5351eb['pad']={},_0x49462c=_0x35451f[_0x2e8590(0x260)]={'pad':function(_0x46cf68,_0x1538f1){var _0x148138=_0x2e8590;for(var _0x332762=_0x1538f1*0x4,_0x49a931=_0x332762-_0x46cf68[_0x148138(0x3da)]%_0x332762,_0x1795d7=_0x49a931<<0x18|_0x49a931<<0x10|_0x49a931<<0x8|_0x49a931,_0x3d7f7c=[],_0x267047=0x0;_0x267047<_0x49a931;_0x267047+=0x4)_0x3d7f7c[_0x148138(0x188)](_0x1795d7);var _0x399af1=_0x31fa18['create'](_0x3d7f7c,_0x49a931);_0x46cf68[_0x148138(0x4b7)](_0x399af1);},'unpad':function(_0x81d01c){var _0xd36369=_0x2e8590,_0x39640c=_0x81d01c[_0xd36369(0x36e)][_0x81d01c[_0xd36369(0x3da)]-0x1>>>0x2]&0xff;_0x81d01c[_0xd36369(0x3da)]-=_0x39640c;}};_0x3e313e[_0x2e8590(0x1f1)]=_0x1cad90[_0x2e8590(0x34e)]({'cfg':_0x1cad90[_0x2e8590(0x21b)][_0x2e8590(0x34e)]({'mode':_0x9bc7a8,'padding':_0x49462c}),'reset':function(){var _0x644be3=_0x2e8590,_0x24bec0;_0x1cad90[_0x644be3(0x467)][_0x644be3(0x1dd)](this);var _0x494f82=this['cfg'],_0x3e610e=_0x494f82['iv'],_0x374ad1=_0x494f82['mode'];this[_0x644be3(0x3ee)]==this['_ENC_XFORM_MODE']?_0x24bec0=_0x374ad1['createEncryptor']:(_0x24bec0=_0x374ad1[_0x644be3(0x24c)],this[_0x644be3(0x3a2)]=0x1),this['_mode']&&this[_0x644be3(0x441)]['__creator']==_0x24bec0?this[_0x644be3(0x441)][_0x644be3(0x4d5)](this,_0x3e610e&&_0x3e610e[_0x644be3(0x36e)]):(this[_0x644be3(0x441)]=_0x24bec0['call'](_0x374ad1,this,_0x3e610e&&_0x3e610e[_0x644be3(0x36e)]),this[_0x644be3(0x441)][_0x644be3(0x1c2)]=_0x24bec0);},'_doProcessBlock':function(_0x5ab1e9,_0xaba08e){var _0x37bf65=_0x2e8590;this[_0x37bf65(0x441)]['processBlock'](_0x5ab1e9,_0xaba08e);},'_doFinalize':function(){var _0x332d85=_0x2e8590,_0x674c0d,_0x10deca=this[_0x332d85(0x21b)]['padding'];return this[_0x332d85(0x3ee)]==this[_0x332d85(0x38f)]?(_0x10deca[_0x332d85(0x218)](this[_0x332d85(0x38e)],this[_0x332d85(0x354)]),_0x674c0d=this[_0x332d85(0x4dc)](!0x0)):(_0x674c0d=this[_0x332d85(0x4dc)](!0x0),_0x10deca[_0x332d85(0x3a6)](_0x674c0d)),_0x674c0d;},'blockSize':0x80/0x20});var _0xedee2=_0x3e313e['CipherParams']=_0x2d11da[_0x2e8590(0x34e)]({'init':function(_0x540f2e){this['mixIn'](_0x540f2e);},'toString':function(_0x51e669){var _0x100ad5=_0x2e8590;return(_0x51e669||this['formatter'])[_0x100ad5(0x4c9)](this);}}),_0x126198=_0x5351eb['format']={},_0x1f68f8=_0x126198['OpenSSL']={'stringify':function(_0x196b60){var _0x512350=_0x2e8590,_0x280c16,_0x37b2b2=_0x196b60[_0x512350(0x420)],_0x480040=_0x196b60[_0x512350(0x284)];return _0x480040?_0x280c16=_0x31fa18[_0x512350(0x1c1)]([0x53616c74,0x65645f5f])[_0x512350(0x4b7)](_0x480040)[_0x512350(0x4b7)](_0x37b2b2):_0x280c16=_0x37b2b2,_0x280c16[_0x512350(0x47e)](_0x34e03f);},'parse':function(_0x7a204a){var _0x34b5f0=_0x2e8590,_0x1c0102,_0x6e87c8=_0x34e03f[_0x34b5f0(0x2bf)](_0x7a204a),_0x28a49b=_0x6e87c8[_0x34b5f0(0x36e)];return _0x28a49b[0x0]==0x53616c74&&_0x28a49b[0x1]==0x65645f5f&&(_0x1c0102=_0x31fa18[_0x34b5f0(0x1c1)](_0x28a49b[_0x34b5f0(0x300)](0x2,0x4)),_0x28a49b['splice'](0x0,0x4),_0x6e87c8[_0x34b5f0(0x3da)]-=0x10),_0xedee2['create']({'ciphertext':_0x6e87c8,'salt':_0x1c0102});}},_0x24a9a8=_0x3e313e['SerializableCipher']=_0x2d11da[_0x2e8590(0x34e)]({'cfg':_0x2d11da[_0x2e8590(0x34e)]({'format':_0x1f68f8}),'encrypt':function(_0x274a79,_0x3ff1d0,_0x5a90a3,_0x53ca17){var _0x41a54d=_0x2e8590;_0x53ca17=this[_0x41a54d(0x21b)][_0x41a54d(0x34e)](_0x53ca17);var _0x5cebfd=_0x274a79['createEncryptor'](_0x5a90a3,_0x53ca17),_0x1f8728=_0x5cebfd[_0x41a54d(0x3ef)](_0x3ff1d0),_0x1c8a79=_0x5cebfd[_0x41a54d(0x21b)];return _0xedee2['create']({'ciphertext':_0x1f8728,'key':_0x5a90a3,'iv':_0x1c8a79['iv'],'algorithm':_0x274a79,'mode':_0x1c8a79[_0x41a54d(0x348)],'padding':_0x1c8a79[_0x41a54d(0x411)],'blockSize':_0x274a79[_0x41a54d(0x354)],'formatter':_0x53ca17[_0x41a54d(0x2cd)]});},'decrypt':function(_0x19a149,_0x2b3123,_0x4c8563,_0xe6146e){var _0x2acd1c=_0x2e8590;_0xe6146e=this[_0x2acd1c(0x21b)][_0x2acd1c(0x34e)](_0xe6146e),_0x2b3123=this[_0x2acd1c(0x3b5)](_0x2b3123,_0xe6146e['format']);var _0x3a4de5=_0x19a149['createDecryptor'](_0x4c8563,_0xe6146e)[_0x2acd1c(0x3ef)](_0x2b3123['ciphertext']);return _0x3a4de5;},'_parse':function(_0x2e2376,_0x549dab){var _0xe19aa6=_0x2e8590;return typeof _0x2e2376==_0xe19aa6(0x25c)?_0x549dab[_0xe19aa6(0x2bf)](_0x2e2376,this):_0x2e2376;}}),_0x370a1d=_0x5351eb[_0x2e8590(0x2b7)]={},_0x29c4d6=_0x370a1d[_0x2e8590(0x29e)]={'execute':function(_0x445fce,_0x29d8a2,_0x4e2d95,_0x54541f,_0x5a8767){var _0x5d2297=_0x2e8590;if(_0x54541f||(_0x54541f=_0x31fa18[_0x5d2297(0x407)](0x40/0x8)),_0x5a8767)var _0x369a31=_0x15250c[_0x5d2297(0x1c1)]({'keySize':_0x29d8a2+_0x4e2d95,'hasher':_0x5a8767})[_0x5d2297(0x293)](_0x445fce,_0x54541f);else var _0x369a31=_0x15250c[_0x5d2297(0x1c1)]({'keySize':_0x29d8a2+_0x4e2d95})['compute'](_0x445fce,_0x54541f);var _0x294f47=_0x31fa18[_0x5d2297(0x1c1)](_0x369a31[_0x5d2297(0x36e)]['slice'](_0x29d8a2),_0x4e2d95*0x4);return _0x369a31[_0x5d2297(0x3da)]=_0x29d8a2*0x4,_0xedee2[_0x5d2297(0x1c1)]({'key':_0x369a31,'iv':_0x294f47,'salt':_0x54541f});}},_0x573671=_0x3e313e['PasswordBasedCipher']=_0x24a9a8[_0x2e8590(0x34e)]({'cfg':_0x24a9a8[_0x2e8590(0x21b)][_0x2e8590(0x34e)]({'kdf':_0x29c4d6}),'encrypt':function(_0x2ad397,_0x360df9,_0x5bf90c,_0x3f7dee){var _0x411ba1=_0x2e8590;_0x3f7dee=this[_0x411ba1(0x21b)]['extend'](_0x3f7dee);var _0x54b8c3=_0x3f7dee['kdf'][_0x411ba1(0x35d)](_0x5bf90c,_0x2ad397['keySize'],_0x2ad397['ivSize'],_0x3f7dee[_0x411ba1(0x284)],_0x3f7dee['hasher']);_0x3f7dee['iv']=_0x54b8c3['iv'];var _0x11e312=_0x24a9a8['encrypt'][_0x411ba1(0x1dd)](this,_0x2ad397,_0x360df9,_0x54b8c3['key'],_0x3f7dee);return _0x11e312['mixIn'](_0x54b8c3),_0x11e312;},'decrypt':function(_0x397f65,_0x1fff77,_0x2238c9,_0x2cdfa2){var _0x2ba544=_0x2e8590;_0x2cdfa2=this[_0x2ba544(0x21b)][_0x2ba544(0x34e)](_0x2cdfa2),_0x1fff77=this['_parse'](_0x1fff77,_0x2cdfa2[_0x2ba544(0x2cd)]);var _0x24cee9=_0x2cdfa2[_0x2ba544(0x2b7)][_0x2ba544(0x35d)](_0x2238c9,_0x397f65[_0x2ba544(0x1c8)],_0x397f65[_0x2ba544(0x3d8)],_0x1fff77[_0x2ba544(0x284)],_0x2cdfa2['hasher']);_0x2cdfa2['iv']=_0x24cee9['iv'];var _0x8081f6=_0x24a9a8[_0x2ba544(0x42e)][_0x2ba544(0x1dd)](this,_0x397f65,_0x1fff77,_0x24cee9['key'],_0x2cdfa2);return _0x8081f6;}});}();}));}(Te)),Te['exports'];}var Gi=fe['exports'],st;function Ki(){var _0x2a8264=_0x493b7c;return st||(st=0x1,function(_0x39e149,_0x56df9a){(function(_0x5666a5,_0x3062c9,_0xa13699){var _0x4d8be0=_0x400e;_0x39e149[_0x4d8be0(0x189)]=_0x3062c9(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x11f263){var _0x32acaf=_0x400e;return(function(){var _0x3e5653=_0x400e,_0x5c56c8=_0x11f263,_0x2a0967=_0x5c56c8[_0x3e5653(0x3ff)],_0x68b564=_0x2a0967[_0x3e5653(0x1f1)],_0x296d39=_0x5c56c8[_0x3e5653(0x1f2)],_0x2a3934=[],_0x2fc763=[],_0xce80a0=[],_0x37b2b5=[],_0xb049d4=[],_0x39c00b=[],_0x3f803c=[],_0x527496=[],_0x4bb4e=[],_0x4f2f16=[];(function(){for(var _0x4df4d4=[],_0x1cd0e2=0x0;_0x1cd0e2<0x100;_0x1cd0e2++)_0x1cd0e2<0x80?_0x4df4d4[_0x1cd0e2]=_0x1cd0e2<<0x1:_0x4df4d4[_0x1cd0e2]=_0x1cd0e2<<0x1^0x11b;for(var _0x285a0e=0x0,_0xd9d354=0x0,_0x1cd0e2=0x0;_0x1cd0e2<0x100;_0x1cd0e2++){var _0x5dc7fe=_0xd9d354^_0xd9d354<<0x1^_0xd9d354<<0x2^_0xd9d354<<0x3^_0xd9d354<<0x4;_0x5dc7fe=_0x5dc7fe>>>0x8^_0x5dc7fe&0xff^0x63,_0x2a3934[_0x285a0e]=_0x5dc7fe,_0x2fc763[_0x5dc7fe]=_0x285a0e;var _0x5e6554=_0x4df4d4[_0x285a0e],_0x1f5c21=_0x4df4d4[_0x5e6554],_0x2a5a45=_0x4df4d4[_0x1f5c21],_0x3f69d1=_0x4df4d4[_0x5dc7fe]*0x101^_0x5dc7fe*0x1010100;_0xce80a0[_0x285a0e]=_0x3f69d1<<0x18|_0x3f69d1>>>0x8,_0x37b2b5[_0x285a0e]=_0x3f69d1<<0x10|_0x3f69d1>>>0x10,_0xb049d4[_0x285a0e]=_0x3f69d1<<0x8|_0x3f69d1>>>0x18,_0x39c00b[_0x285a0e]=_0x3f69d1;var _0x3f69d1=_0x2a5a45*0x1010101^_0x1f5c21*0x10001^_0x5e6554*0x101^_0x285a0e*0x1010100;_0x3f803c[_0x5dc7fe]=_0x3f69d1<<0x18|_0x3f69d1>>>0x8,_0x527496[_0x5dc7fe]=_0x3f69d1<<0x10|_0x3f69d1>>>0x10,_0x4bb4e[_0x5dc7fe]=_0x3f69d1<<0x8|_0x3f69d1>>>0x18,_0x4f2f16[_0x5dc7fe]=_0x3f69d1,_0x285a0e?(_0x285a0e=_0x5e6554^_0x4df4d4[_0x4df4d4[_0x4df4d4[_0x2a5a45^_0x5e6554]]],_0xd9d354^=_0x4df4d4[_0x4df4d4[_0xd9d354]]):_0x285a0e=_0xd9d354=0x1;}}());var _0x3eb567=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x554af2=_0x296d39['AES']=_0x68b564['extend']({'_doReset':function(){var _0x880cbd=_0x3e5653,_0x1b3d7f;if(!(this[_0x880cbd(0x485)]&&this[_0x880cbd(0x3d5)]===this[_0x880cbd(0x426)])){for(var _0x1a3c94=this[_0x880cbd(0x3d5)]=this[_0x880cbd(0x426)],_0x4d7402=_0x1a3c94['words'],_0x5f2ab3=_0x1a3c94[_0x880cbd(0x3da)]/0x4,_0x9130b5=this[_0x880cbd(0x485)]=_0x5f2ab3+0x6,_0x547fa4=(_0x9130b5+0x1)*0x4,_0x8ba6e1=this[_0x880cbd(0x376)]=[],_0x36d20d=0x0;_0x36d20d<_0x547fa4;_0x36d20d++)_0x36d20d<_0x5f2ab3?_0x8ba6e1[_0x36d20d]=_0x4d7402[_0x36d20d]:(_0x1b3d7f=_0x8ba6e1[_0x36d20d-0x1],_0x36d20d%_0x5f2ab3?_0x5f2ab3>0x6&&_0x36d20d%_0x5f2ab3==0x4&&(_0x1b3d7f=_0x2a3934[_0x1b3d7f>>>0x18]<<0x18|_0x2a3934[_0x1b3d7f>>>0x10&0xff]<<0x10|_0x2a3934[_0x1b3d7f>>>0x8&0xff]<<0x8|_0x2a3934[_0x1b3d7f&0xff]):(_0x1b3d7f=_0x1b3d7f<<0x8|_0x1b3d7f>>>0x18,_0x1b3d7f=_0x2a3934[_0x1b3d7f>>>0x18]<<0x18|_0x2a3934[_0x1b3d7f>>>0x10&0xff]<<0x10|_0x2a3934[_0x1b3d7f>>>0x8&0xff]<<0x8|_0x2a3934[_0x1b3d7f&0xff],_0x1b3d7f^=_0x3eb567[_0x36d20d/_0x5f2ab3|0x0]<<0x18),_0x8ba6e1[_0x36d20d]=_0x8ba6e1[_0x36d20d-_0x5f2ab3]^_0x1b3d7f);for(var _0xc5b63f=this['_invKeySchedule']=[],_0xb96500=0x0;_0xb96500<_0x547fa4;_0xb96500++){var _0x36d20d=_0x547fa4-_0xb96500;if(_0xb96500%0x4)var _0x1b3d7f=_0x8ba6e1[_0x36d20d];else var _0x1b3d7f=_0x8ba6e1[_0x36d20d-0x4];_0xb96500<0x4||_0x36d20d<=0x4?_0xc5b63f[_0xb96500]=_0x1b3d7f:_0xc5b63f[_0xb96500]=_0x3f803c[_0x2a3934[_0x1b3d7f>>>0x18]]^_0x527496[_0x2a3934[_0x1b3d7f>>>0x10&0xff]]^_0x4bb4e[_0x2a3934[_0x1b3d7f>>>0x8&0xff]]^_0x4f2f16[_0x2a3934[_0x1b3d7f&0xff]];}}},'encryptBlock':function(_0x57973a,_0x271eb1){var _0x37e4d1=_0x3e5653;this[_0x37e4d1(0x36c)](_0x57973a,_0x271eb1,this[_0x37e4d1(0x376)],_0xce80a0,_0x37b2b5,_0xb049d4,_0x39c00b,_0x2a3934);},'decryptBlock':function(_0x497e9f,_0x3a6302){var _0x1705a0=_0x3e5653,_0x571f27=_0x497e9f[_0x3a6302+0x1];_0x497e9f[_0x3a6302+0x1]=_0x497e9f[_0x3a6302+0x3],_0x497e9f[_0x3a6302+0x3]=_0x571f27,this['_doCryptBlock'](_0x497e9f,_0x3a6302,this[_0x1705a0(0x1c6)],_0x3f803c,_0x527496,_0x4bb4e,_0x4f2f16,_0x2fc763);var _0x571f27=_0x497e9f[_0x3a6302+0x1];_0x497e9f[_0x3a6302+0x1]=_0x497e9f[_0x3a6302+0x3],_0x497e9f[_0x3a6302+0x3]=_0x571f27;},'_doCryptBlock':function(_0x4e1523,_0x18f27f,_0x543c7f,_0x13eb8a,_0x9eca0b,_0x1edcb5,_0x3c424b,_0x113e7f){var _0x540bf5=_0x3e5653;for(var _0x45d0ac=this[_0x540bf5(0x485)],_0x5be6b4=_0x4e1523[_0x18f27f]^_0x543c7f[0x0],_0x32708f=_0x4e1523[_0x18f27f+0x1]^_0x543c7f[0x1],_0x57f533=_0x4e1523[_0x18f27f+0x2]^_0x543c7f[0x2],_0x2f0d75=_0x4e1523[_0x18f27f+0x3]^_0x543c7f[0x3],_0x14722a=0x4,_0x397507=0x1;_0x397507<_0x45d0ac;_0x397507++){var _0x501aee=_0x13eb8a[_0x5be6b4>>>0x18]^_0x9eca0b[_0x32708f>>>0x10&0xff]^_0x1edcb5[_0x57f533>>>0x8&0xff]^_0x3c424b[_0x2f0d75&0xff]^_0x543c7f[_0x14722a++],_0x95cfca=_0x13eb8a[_0x32708f>>>0x18]^_0x9eca0b[_0x57f533>>>0x10&0xff]^_0x1edcb5[_0x2f0d75>>>0x8&0xff]^_0x3c424b[_0x5be6b4&0xff]^_0x543c7f[_0x14722a++],_0x20f761=_0x13eb8a[_0x57f533>>>0x18]^_0x9eca0b[_0x2f0d75>>>0x10&0xff]^_0x1edcb5[_0x5be6b4>>>0x8&0xff]^_0x3c424b[_0x32708f&0xff]^_0x543c7f[_0x14722a++],_0x387934=_0x13eb8a[_0x2f0d75>>>0x18]^_0x9eca0b[_0x5be6b4>>>0x10&0xff]^_0x1edcb5[_0x32708f>>>0x8&0xff]^_0x3c424b[_0x57f533&0xff]^_0x543c7f[_0x14722a++];_0x5be6b4=_0x501aee,_0x32708f=_0x95cfca,_0x57f533=_0x20f761,_0x2f0d75=_0x387934;}var _0x501aee=(_0x113e7f[_0x5be6b4>>>0x18]<<0x18|_0x113e7f[_0x32708f>>>0x10&0xff]<<0x10|_0x113e7f[_0x57f533>>>0x8&0xff]<<0x8|_0x113e7f[_0x2f0d75&0xff])^_0x543c7f[_0x14722a++],_0x95cfca=(_0x113e7f[_0x32708f>>>0x18]<<0x18|_0x113e7f[_0x57f533>>>0x10&0xff]<<0x10|_0x113e7f[_0x2f0d75>>>0x8&0xff]<<0x8|_0x113e7f[_0x5be6b4&0xff])^_0x543c7f[_0x14722a++],_0x20f761=(_0x113e7f[_0x57f533>>>0x18]<<0x18|_0x113e7f[_0x2f0d75>>>0x10&0xff]<<0x10|_0x113e7f[_0x5be6b4>>>0x8&0xff]<<0x8|_0x113e7f[_0x32708f&0xff])^_0x543c7f[_0x14722a++],_0x387934=(_0x113e7f[_0x2f0d75>>>0x18]<<0x18|_0x113e7f[_0x5be6b4>>>0x10&0xff]<<0x10|_0x113e7f[_0x32708f>>>0x8&0xff]<<0x8|_0x113e7f[_0x57f533&0xff])^_0x543c7f[_0x14722a++];_0x4e1523[_0x18f27f]=_0x501aee,_0x4e1523[_0x18f27f+0x1]=_0x95cfca,_0x4e1523[_0x18f27f+0x2]=_0x20f761,_0x4e1523[_0x18f27f+0x3]=_0x387934;},'keySize':0x100/0x20});_0x5c56c8[_0x3e5653(0x3ec)]=_0x68b564['_createHelper'](_0x554af2);}()),_0x11f263[_0x32acaf(0x3ec)];}));}(fe)),fe[_0x2a8264(0x189)];}function _0x400e(_0x111bd3,_0x5e890d){var _0x544a49=_0x544a();return _0x400e=function(_0x400e54,_0x2850ba){_0x400e54=_0x400e54-0x165;var _0x272d5f=_0x544a49[_0x400e54];return _0x272d5f;},_0x400e(_0x111bd3,_0x5e890d);}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x493b7c(0x189)],at;function Xi(){return at||(at=0x1,function(_0x4dabf7,_0x90411c){(function(_0x485d74,_0x4c887e){var _0x1c8615=_0x400e;_0x4dabf7[_0x1c8615(0x189)]=_0x4c887e(ee());}(Ji,function(_0x3ef9fb){var _0x1df876=_0x400e;return _0x3ef9fb[_0x1df876(0x2df)][_0x1df876(0x1d8)];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x493b7c(0x189)],ct;function tn(){var _0x4e9da0=_0x493b7c;return ct||(ct=0x1,function(_0x10849e,_0x259ccc){(function(_0x2cf073,_0x7f2751){var _0x4eb745=_0x400e;_0x10849e[_0x4eb745(0x189)]=_0x7f2751(ee());}(en,function(_0x3da527){var _0x583739=_0x400e;return(function(){var _0x2e14ce=_0x400e;if(typeof ArrayBuffer=='function'){var _0x4e4b55=_0x3da527,_0x504a39=_0x4e4b55[_0x2e14ce(0x3ff)],_0x431589=_0x504a39[_0x2e14ce(0x487)],_0x9002b5=_0x431589['init'],_0xe1664d=_0x431589['init']=function(_0x15087e){var _0x3ffb8f=_0x2e14ce;if(_0x15087e instanceof ArrayBuffer&&(_0x15087e=new Uint8Array(_0x15087e)),(_0x15087e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x15087e instanceof Uint8ClampedArray||_0x15087e instanceof Int16Array||_0x15087e instanceof Uint16Array||_0x15087e instanceof Int32Array||_0x15087e instanceof Uint32Array||_0x15087e instanceof Float32Array||_0x15087e instanceof Float64Array)&&(_0x15087e=new Uint8Array(_0x15087e['buffer'],_0x15087e[_0x3ffb8f(0x484)],_0x15087e['byteLength'])),_0x15087e instanceof Uint8Array){for(var _0x283156=_0x15087e[_0x3ffb8f(0x489)],_0x19e069=[],_0x305b60=0x0;_0x305b60<_0x283156;_0x305b60++)_0x19e069[_0x305b60>>>0x2]|=_0x15087e[_0x305b60]<<0x18-_0x305b60%0x4*0x8;_0x9002b5[_0x3ffb8f(0x1dd)](this,_0x19e069,_0x283156);}else _0x9002b5[_0x3ffb8f(0x226)](this,arguments);};_0xe1664d['prototype']=_0x431589;}}()),_0x3da527[_0x583739(0x3ff)][_0x583739(0x487)];}));}(Re)),Re[_0x4e9da0(0x189)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x493b7c(0x189)],ht;function on(){return ht||(ht=0x1,function(_0x522008,_0x5edd22){(function(_0x52f351,_0x44f8df,_0x1c7474){var _0x3838f1=_0x400e;_0x522008[_0x3838f1(0x189)]=_0x44f8df(ee(),Pt());}(sn,function(_0x17e767){var _0x478071=_0x400e;return _0x17e767[_0x478071(0x218)][_0x478071(0x1ce)]={'pad':function(){},'unpad':function(){}},_0x17e767[_0x478071(0x218)][_0x478071(0x1ce)];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x28b8a8,_0x5839){var _0x152a45=_0x493b7c;const _0x58af85=_0x5839-_0x28b8a8[_0x152a45(0x286)]%_0x5839,_0x1833d4=String[_0x152a45(0x168)](_0x58af85)[_0x152a45(0x364)](_0x58af85);return _0x28b8a8+_0x1833d4;}function ln(_0x47ec1c,_0x501539){var _0x5a32b7=_0x493b7c;const _0x1c80da=rn[_0x5a32b7(0x407)](0x10),_0x54ac90=hn(_0x47ec1c,0x10),_0x53480b=qi[_0x5a32b7(0x1f0)](Qi[_0x5a32b7(0x2bf)](_0x54ac90),ot[_0x5a32b7(0x2bf)](_0x501539),{'iv':_0x1c80da,'padding':cn});return _0x1c80da[_0x5a32b7(0x4b7)](_0x53480b[_0x5a32b7(0x420)])['toString'](ot);}function _n(){var _0x4f87e2=_0x493b7c;const _0x8ec276=xt[_0x4f87e2(0x20e)]()[_0x4f87e2(0x1f8)];if(_0x8ec276){const _0x13728f={'time':Math[_0x4f87e2(0x1a8)](Date['now']()/0x3e8),'domain':location['hostname']};return ln(JSON[_0x4f87e2(0x4c9)](_0x13728f),_0x8ec276);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x194aab,_0x359c3b,_0x5aaf17,_0x2253a4)=>{var _0x239ac9=_0x493b7c;for(var _0x15b10d=_0x2253a4>0x1?void 0x0:_0x2253a4?un(_0x359c3b,_0x5aaf17):_0x359c3b,_0x491cd6=_0x194aab[_0x239ac9(0x286)]-0x1,_0x431935;_0x491cd6>=0x0;_0x491cd6--)(_0x431935=_0x194aab[_0x491cd6])&&(_0x15b10d=_0x431935(_0x15b10d)||_0x15b10d);return _0x15b10d;},vn=(_0x6a892e,_0x2a465d)=>(_0x210d7a,_0x4d52dd)=>_0x2a465d(_0x210d7a,_0x4d52dd,_0x6a892e);let Ne=class{constructor(_0x22e3a5){var _0xaed347=_0x493b7c;this['_httpService']=_0x22e3a5,this[_0xaed347(0x406)]();}[_0x493b7c(0x406)](){var _0x1f3bd1=_0x493b7c;this['_httpService'][_0x1f3bd1(0x1c4)]({'interceptor':(_0x47afc8,_0x368900)=>{var _0x28a58f=_0x1f3bd1;const _0x1756b8=_0x47afc8[_0x28a58f(0x2f3)],_0x115307=_n();return _0x115307&&_0x1756b8[_0x28a58f(0x206)]('x-univer-host',_0x115307),_0x368900(_0x47afc8);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x493b7c(0x23c)]))],Ne);function _0x544a(){var _0x50bfc1=['confirm','ALREADY_EXISTS','_undoStacks','_clearHeartbeatTimer','UNRECOGNIZED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getLocalCacheKey','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_sender','stopTime','_getSendChangesetTimeout','rxjs','COMPRESS_MUTATION_SEND','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_httpService','onTransformState','image/jpg','_onUserJoin','PERMISSION_DENIED','toggleOffline','_initDependencies','userID','updateMember','[UniverCollaborationClientPlugin]','filter','UnitEmbedded','roles','mode','setConfig','_tryReconnect','UNIVER_PROJECT','BlockCipherMode','isTransformChangesetsSuccess','extend','not_collab','JSONX','getMember','withCredentials','_decreaseWaiting','blockSize','close','SOCKET_FAILED','[DataLoaderService]','INVALID_ARGUMENT','resend','CollaborativeUndoRedoService','interceptor','subUnitId','execute','isTransformMutationsWithChangesetSuccess','APPLY_DUPLICATED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getImage','INGEST','_updateStatus','repeat','list','requestParams','_doFinalize','abs','_substituteRedoStack','loadUnit','href','_doCryptBlock','_commentUpdate$','words','[OfflineState]:\x20received\x20rejection.','_unitInfo$','?url=','ConflictState','USER_NOT_INVITED_CODE','_collaborationPaused','APPLY_REJECT','_keySchedule','capture','charCodeAt','Hex','onTransformRemoteChangesetByIMECache','_clearRetryConnectingTimer','saveImage','_sendHeartbeatTimer','indexOf','put','LocaleService','getRoom','updatePermissionPoint','_onUserLeave','deserializeToCombResponse','_clearUndo','_memberService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_PERMISSION_DENIED','19rbkmJP','values','_telemetryService','sin','_onConflict','_data','_ENC_XFORM_MODE','selections','ISnapshotServerService','_univerInstanceService','result','LOCAL_CACHE_INTERVAL','MOBILE_HAS_BEEN_BOUND','isPermissionRej','IContextService','_DEC_XFORM_MODE','IConfigService','sheets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_nDataBytes','MUTATION','BASE64','Subject','editingUnit','PENDING','_minBufferSize','INVITE_CODE_ALREADY_BOUND','/unit/','authzUrl','unpad','9498621hdzBVb','319892MrGTcQ','emitEvent','toDisposable','_state','43986FLDgDJ','_initMergeInterceptor','getWorkbookSelections','eventID','collaborators','onLocalMutation','sessionStatus$','collaboration-client.local-cache-service','_onRemoteRejected','_parse','_transformIMECache','ceil','ImageUploadStatusType','socketService','onMissedChangesetFetched','LIVESHARE_REQUEST_HOST','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationSession]','reduce','ISocketService','CollaborationSessionService','take','JOIN_ROOM_FAILED','session.join-failed','Univer','_socket','append','getImageSourceCache','_isPermissionRej','firstValueFrom','SNAPSHOT_SERVER_URL_KEY','onRemoteAck','_onMessage','actions','createIdentifier','isTransformMutationsWithChangesetFailure','SUBMIT_CHANGESET_TIMEOUT','socket\x20close','_event$','_toggleOffline','_doReset','_keyPriorReset','c2Prime','AWAITING','ivSize','CompressMutationService','sigBytes','_getUploadFileURL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','memberID','_loadSheet','status$','CollaborationImageIoService','awaiting_with_pending','transformSelections','getSnapshotAPIPath','YUUMI_URL_COL_OUT_OF_RANGE','_unitID','Disposable','objectType','&source=','BufferedBlockAlgorithm','_prevBlock','conflict','AES','telemetry\x20info\x20is\x20not\x20initialized','_xformMode','finalize','INVITE_CODE_REQUIRED','CollaborationEntity','_transformStack','_instanceService','revision','onRemoteChangeset','transformChangesets','CHANGESET_REJ','reconnect','AwaitingWithPendingState','SUCCUSS','touchDependencies','_createHelper','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','awaiting','lib','_permissionService','RETRY_CONNECTING_MAX_COUNT','join','collaMsg','_candidateSocket','PERSON','_initRequestHeader','random','editing\x20status\x20changed\x20to','splice','fetching\x20missing\x20changesets\x20from\x20','USERS_ENTER','/-/object/-/batch_allowed','ONLINE','ThresholdInterceptorFactory','UNKNOWN_CMD','_executeRemoteChangeset','padding','CommandType','addHandlerCallback','origin','_throwTelemetryCollaborationNewChangeset','getCurrentRevOfUnit','collaboration_new_changeset','SUBMIT_CHANGESET','listCollaborators','Inject','unitId','PendingState','snapshotServerUrl','localeService','incrementRevOfUnit','ciphertext','params','_state$','find','_updateState','_disableEditing','_key','EXCHANGE_SIGN_URL_SERVER_URL_KEY','@univerjs/sheets','LICENSE_EXPORT_SIZE_EXCEEDED','session','IPermissionService','EvpKDF','loadOfflineData','decrypt','FetchingMissState','SheetPermissionInitController','[PendingState]:\x20received\x20rejection.','save\x20fail\x20reason\x20is\x20','getMemberID','_syncEditingCollabCursor','defineProperty','parseProtocolChangeset','_sendingTimer','unit-cache-','unknown','{fileID}','LOCAL_CACHE_INTERVAL_KEY','COMMENT_UPDATE','COLLAB_SUBMIT_CHANGESET_URL_KEY','?size=','textEncoder','_collaborationTimeoutTimer','_mode','_checkMissing','_registerDependencies','image/png','default','Injector','objectID','_clearCollaborationTimeoutTimer','ENSURE_SNAPSHOT_EXECUTION','_replaceFileID','_onRemoteACK','PERMISSION_REJ','baseRev','clone','onMissingChangesets','crypto','ICommandService','_localCacheService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','state','collabWebSocketUrl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverInstanceType','clear','CBC','startsWith','joinEvent','YUUMI_RATE_OVER_LIMIT','_cipher','collabSubmitChangesetUrl','_iv','Quantity','LIVESHARE_OPERATION','sessionStatus','onSendChangeset','_createInitialState','FAIL','UNKNOWN_CODE','reset','charAt','APPLY_PERMISSION_DENIED','CHANGESET_REVISION_CONFILICT','ISingleActiveUnitService','_replayCachedMutations','_onOffline','_resendWithTimeout','OTHER_CLIENT_EDITING','mapDocumentTypeToUniverType','/allowed','file','appendMutation','from','ITelemetryService','_getSignURL','map','_updateLocalCache','_scheduleCollaborationTimeoutTimer','GLOBAL_ROOMS_CNT_EXCEEDS','CommentService','UNDEFINED','_roomCreated$','toString','reverse','_lockTransition','_imageSourceCache','disposeWithMe','_awaitingChangeset','byteOffset','_nRounds','/universer-api/user/session-ticket','WordArray','_clearLocalCache','byteLength','SHOULD_CLOSE_CONN','_revisionService','_resendTimer','Workbook','@univerjs/network','_clearScheduledTask','event$','_retryConnectingTimer','loginUrlKey','COMPRESS_MUTATION_APPLY','symbol','pending','workbook','get','Encryptor','_oKey','waitForRoom$','RECV','_getUndoStack','/block/','_incrementRevisionNumber','CHANGESET_SHOULD_RETRY','addImageSourceCache','ERROR_IMAGE_TYPE','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_UNABLE_LOAD_URL','_handler','joinRsp','UnitSnapshot','ReplaySubject','ILocalCacheService','NOT_COLLAB','_collaborationUIEventService','LIVESHARE_NEW_HOST','ITransformService','getSheetId','HTTPRequest','_remoteChangesetQueue','DocCollaborationEntity','HEARTBEAT_INTERVAL','cmd','/universer-api/uniscript','Rectangle','_transformRemoteChangesetByIMECache','_unlockTransition','concat','@univerjs-pro/license','CollaborationStatus','_getRedoStack','_retryCount','_members','range','every','updatePermissionObjEvent','UUID','getSheetBlock','now','name','createSocket','_logService','updateCollaborator','close$','pauseCollaboration','stringify','takeUntil','decryptBlock','update','OFFLINE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','concatMap','auth.needGotoLoginAlert','_acknowledgedAwaitingChangeset','_collaborationSessionService','image/bmp','_reverseMap','init','INTERNAL_ERROR','_clearRedo','/new_changes','_createHandler','entries','/universer-api/snapshot','_process','POST','routeKey','initWorkbookPermissionChange','getOwnPropertyDescriptor','image/jpeg','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','catch','Could\x20not\x20dynamically\x20require\x20\x22','rng','saveSheetBlock','OPTIONAL','/universer-api/file/{fileID}/sign-url','fromCharCode','_createSocket','Cipher','_userManagerService','7jvjltW','readInt32LE','_clearTimeoutTimer','getCollabEntity$','entityInit$','url','/fetchmissing?from=','Base','_snapshotServerService','csAckEvent','SNAPSHOT_HAS_BEEN_REMOVED','uniscriptRunEvent','CollaborationUIEventId','HmacSHA1','getConfig','_socket$','subject','_onLocalMutation','function','unitInfo$','onlyLocal','INVITE_CODE_HAS_BEEN_UES','_stopTelemetryCollaborationNewChangeset','fetchMissingChangesets','&to=','/universer-api/authz','LOGIN_URL_KEY','AuthzIoHttpService','push','exports','SEND_CHANGESET_TIMEOUT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sid','setCurrentUser','clamp','onCommandExecuted','getUnitId','code','10FaLAcb','getCurrentUser','RevisionService','uploadFileServerUrl','806019psAkDA','AwaitingState','AUTHZ_URL_KEY','WECHAT_HAS_BEEN_BOUND','RxDisposable','OfflineState','/universer-api/snapshot/','requireSession','hasOwnProperty','_onFetchMissResult','_hasher','awaitingChangeset','SheetTransformSelectionsService','903150goxcEh','onCommentUpdate','_submitChangeset','objectActions','includes','floor','csShouldRetryEvent','encode','SnapshotService','_waitForHeartbeatResponse','encodeURIComponent','JOIN_ROOM_NOT_EXISTS','onStarting','_changesetSessionId','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','\x0aCurrent:\x20','_substituteUndoStack','_transformUndoredo','getFocusedUnit','rxjs/operators','putCollaborators','[PendingState]:\x20received\x20acknowledgement.','_transitionLocked','data','state$','UserManagerService','_shouldReportTelemetry','getAllMembers','_queuedRemoteChangesets','CHANGESET_ACK','create','__creator','removeMember','registerHTTPInterceptor','image/gif','_invKeySchedule','size','keySize','commentUpdateEvent','getLatestCsReqIdBySid','SNAPSHOT_URL_KEY','/universer-api/comb','1330740vWwfEx','NoPadding','post','LEAVE','MentionIoHttpService','/role','PY_RUNTIME_SCRIPT_ERROR','randomUUID','_entities','WorkbookEditablePermission','leaveEvent','Utf8','json','permissionRejEvent','_onRemoteChangeset','SnapshotServerOverHTTPService','call','getTypeOfUnitAdded$','_schedule','executeCommand','_roomMembers','toggleOnline','\x20-\x20','IImageIoService','$super','_socketReady','BehaviorSubject','_map','_onCombEvent','override','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','shareReplay','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableSingleActiveInstanceLock','getValue','encrypt','BlockCipher','algo','_append','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_pendingMutations','getDeserializedSheetBlock','[CollaborationUndoRedoService]','__Key__','mutations','Decryptor','allowed','HttpImport','_change$','error','_createHmacHelper','_init','/collaborator','b64DecodeUnicode','_config','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','SHA1','set','type','SEND_CHANGESET_TIMEOUT_KEY','[CollaborationSessionService]:\x20socket\x20error','LIVESHARE_TERMINATE','msCrypto','_compressMutationService','LICENSE_MAX_UNITS_EXCEEDED','getGlobalObject','Undefined','HEARTBEAT_TIMEOUT_KEY','SYNCED','_sheetTransformSelectionsService','members','getTypeOfUnitDisposed$','/universer-api/stream/file/upload','IAuthzIoService','Optional','pad','debug','CollaborationEvent','cfg','readAsDataURL','UPDATE_CURSOR','_doProcessBlock','reject','connection\x20error','_HTTPService','COMPLETION_FINISHED','\x0aAfter:\x20','ERROR_IMAGE','_socketService','apply','transformMutationsWithChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','has','DEFAULT_FILE_NAME','IUndoRedoService','RichTextEditingMutation','copyFileMeta','_getLoginPath','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverCollaborationClientPlugin','delay','_injector','SheetCollaborationEntity','UniverNetworkPlugin','TOO_MANY_REQUESTS','LICENSE_IMPORT_SIZE_EXCEEDED','CONFLICT','_scheduleCompleteTimestamp','IUniverInstanceService','_configService','JOIN_ROOM_FULL','HTTPService','SheetsSelectionsService','_commandService','saveSnapshot','forEach','[CollaborationSessionService]','JOINING','_timeoutTimer','_hash','unsubscribe','getResourcesRequest','collaboratorID','send','/rev/','HELLO','MD5','createDecryptor','_tryEnsureSocket','Failed\x20to\x20update\x20permission\x20point','_localeService','complete','NO_OTHER_CLIENTS_EDITING','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onTransformRemoteChangesetByStateCache','_getCurrentRevision','_socketMessageSubscription','UNIVER_DOC','fetchMiss','onTransformSelections','body','CLOSE_ROOM','_undoRedoService','string','infoRsp','onTransformIME','HMAC','Pkcs7','next','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','EmptyMutation','ILogService','Tools','textRanges','reqId','HEARTBEAT_INTERVAL_KEY','COLLAB_WEB_SOCKET_URL_KEY','_type','onSyncEditingCollabCursor','SetSelectionsOperation','Error\x20on\x20receiving\x20event','_changesetReqId','StreamCipher','_transformStateCache','APPLY_REVISION_CONFILICT','change$','c1Prime','offline','members$','MentionType','UNIVER_SHEET','fetchThroughInterceptors','_entityInit$','LIVESHARE_FETCH_OPERATIONS','JOIN','unitID','FETCH_MISS','_showConflictNotification','CollaborationSocketService','bind','roomInfos','SyncedState','_transformService','salt','parseChangesetToProtocol','length','_rescheduleHeartbeat','INVALID_INVITE_CODE','_singleActiveUnitService','session.room-not-exists','getRandomValues','asObservable','unitId\x20is\x20not\x20found','InsertSheetMutation','ICollaborationSocketService','serializeCombRequest','_loadDoc','171swXgVl','compute','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_removeRoom','m2Prime','changesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CollaborationController','_iKey','onRemoteRetry','_snapshotService','getUnitType','OpenSSL','Malformed\x20UTF-8\x20data','UNAUTHENTICATED','NOT_FOUND','&assign=','_status$','COLLAB_WEB_SOCKET_URL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_toggleOnline','_onJoinRoomEvent','MemberService','LOGIN_FAILED','enableOfflineEditing','retryConnectingInterval','_exhaustRemoteChangesetQueue','isInternalEditorID','location','status','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_DISTRO_REJECTED','_onConnectionFailed','mergeOverrideWithDependencies','socket$','MergeInterceptorFactory','DEFAULT_COLLAB_WEB_SOCKET_URL','kdf','_onRecvEvent','getUnit','univer-pro.collaboration-client-socket-service','synced','Plugin','title','OTHER_CLIENTS_EDITING','parse','\x20in\x20_schedule.','_getDownloadEndpointURL','APPLY_NON_SEQUENTIAL_REVISION','_sessions','_getAPIPrefix','csRejEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','NEW_CHANGESETS','HEARTBEAT','liveShareNewHost','max','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','fetch_missing','format','_sessionStatus$','generateRandomId','DataLoaderService','getInterceptPoints','_startCollaboration','_networkConditionService','_members$','isArray','message$','PSEUDO_FETCH_MISSING_RESULT','_fetchMissChangesets','dispose','CONNECTOR_DATA_TOO_LARGE','subscribe','Hasher','CollaborationSession','ImageSourceType','enc','_eventService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','responseType','@univerjs/docs','@univerjs/core','LocalUndoRedoService','__esModule','duration','_listenToNetworkCondition','open$','MSG_FOR_ERROR','createCollaborator','min','add','_doCreateSocket','USERS_LEAVE','sendChangesetTimeout','_commentService','patch','headers','onRemoteRej','getTime','deleteCollaborator','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNISCRIPT_RUN','mixIn','COLLAB_SUBMIT_CHANGESET_URL','getCollabEntity','commentUpdate$','UNIVER_SLIDE','UserProfileImg','updateCursorEvent','slice','_handlerCallback','HttpExport','_transformSelections','method','onStateChange','_waitCount','SOCKET_FAILED_RETRY','createInstance','FETCH_MISSING','setShowComponents','_redoStacks','avatar','_getCtorByUniverType','pipe','collaboration-client.config','_initCloseConn','_telemetryInfo','Base64','_sendHeartbeat','_applyRemoteChangeset','INetworkConditionService','_onConnectionOpen','originalMeta','35936OcxAUf','_emitMembers','enableAuthServer','UNIVER_UNKNOWN','localCacheService','IDLE','getActiveSheet','_transformRemoteChangesetByStateCache','merge','session.room-full','_onRemoteRetry','delete','hasher','listRoles','_getAPIPrefixPath','dispose$','rev','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','prototype','_resendTimeout','/universer-api/oidc/authpage'];_0x544a=function(){return _0x50bfc1;};return _0x544a();}var Sn=Object[_0x493b7c(0x4e0)],fn=(_0x306f23,_0x22c9e4,_0x1074e2,_0x76aded)=>{for(var _0x866a2a=_0x76aded>0x1?void 0x0:_0x76aded?Sn(_0x22c9e4,_0x1074e2):_0x22c9e4,_0x1e263c=_0x306f23['length']-0x1,_0x426488;_0x1e263c>=0x0;_0x1e263c--)(_0x426488=_0x306f23[_0x1e263c])&&(_0x866a2a=_0x426488(_0x866a2a)||_0x866a2a);return _0x866a2a;},Me=(_0x534038,_0x37155b)=>(_0x263aeb,_0x58f86b)=>_0x37155b(_0x263aeb,_0x58f86b,_0x534038);exports[_0x493b7c(0x2d0)]=class extends a[_0x493b7c(0x19a)]{constructor(_0x13cc7d,_0x1b6c5b,_0x156e71){var _0x104007=_0x493b7c;super(),A(this,'_unitInfo$',new j[(_0x104007(0x1e7))](null)),A(this,_0x104007(0x17f),this['_unitInfo$'][_0x104007(0x28c)]()),(this[_0x104007(0x4c5)]=_0x13cc7d,this[_0x104007(0x29c)]=_0x1b6c5b,this['_localCacheService']=_0x156e71);}async[_0x493b7c(0x36a)](_0x273bcd,_0x4759bb,_0x323e98){var _0x1dcab3=_0x493b7c;this[_0x1dcab3(0x370)][_0x1dcab3(0x261)]({'unitId':_0x273bcd,'type':_0x4759bb,'subUnitId':_0x323e98});let _0x3d838b=null;switch(_0x4759bb){case X[_0x1dcab3(0x277)]:{_0x3d838b=await this[_0x1dcab3(0x3de)](_0x273bcd);break;}case X['UNIVER_DOC']:{_0x3d838b=await this[_0x1dcab3(0x291)](_0x273bcd);break;}default:{this[_0x1dcab3(0x4c5)][_0x1dcab3(0x1fe)](_0x1dcab3(0x357),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3d838b;}async['_loadSheet'](_0x42c481){var _0x1e2679=_0x493b7c,_0x1a3231;let _0x3593d7=0x0;const _0x3b7e9e=await((_0x1a3231=this[_0x1e2679(0x452)])==null?void 0x0:_0x1a3231['loadOfflineData'](_0x42c481));return _0x3b7e9e&&(_0x3b7e9e[_0x1e2679(0x1a1)]||_0x3b7e9e[_0x1e2679(0x1f9)][_0x1e2679(0x286)]!==0x0)&&(_0x3593d7=_0x3b7e9e[_0x1e2679(0x328)]),_0x3593d7===0x0&&this['_logService'][_0x1e2679(0x219)]('[DataLoaderService]',_0x1e2679(0x252)),this[_0x1e2679(0x29c)]['loadSheet'](_0x42c481,_0x3593d7);}async['_loadDoc'](_0x3ceb4a){var _0x3ede76=_0x493b7c,_0x489689;let _0x893abc=0x0;const _0x454e92=await((_0x489689=this[_0x3ede76(0x452)])==null?void 0x0:_0x489689['loadOfflineData'](_0x3ceb4a));return _0x454e92&&(_0x454e92[_0x3ede76(0x1a1)]||_0x454e92[_0x3ede76(0x1f9)][_0x3ede76(0x286)]!==0x0)&&(_0x893abc=_0x454e92[_0x3ede76(0x328)]),_0x893abc===0x0&&this[_0x3ede76(0x4c5)]['debug'](_0x3ede76(0x357),_0x3ede76(0x252)),this[_0x3ede76(0x29c)]['loadDoc'](_0x3ceb4a,_0x893abc);}},exports[_0x493b7c(0x2d0)]=fn([Me(0x0,a[_0x493b7c(0x264)]),Me(0x1,a[_0x493b7c(0x41a)](g[_0x493b7c(0x1ab)])),Me(0x2,a[_0x493b7c(0x217)](z))],exports[_0x493b7c(0x2d0)]);var pn=Object[_0x493b7c(0x4e0)],gn=(_0x256b54,_0x1309b6,_0x2b88f4,_0x3bdeed)=>{var _0x3604d0=_0x493b7c;for(var _0x4547fd=_0x3bdeed>0x1?void 0x0:_0x3bdeed?pn(_0x1309b6,_0x2b88f4):_0x1309b6,_0x1849ec=_0x256b54[_0x3604d0(0x286)]-0x1,_0x1cc02c;_0x1849ec>=0x0;_0x1849ec--)(_0x1cc02c=_0x256b54[_0x1849ec])&&(_0x4547fd=_0x1cc02c(_0x4547fd)||_0x4547fd);return _0x4547fd;},xe=(_0x1702c8,_0x48a2ab)=>(_0x1ec581,_0x4dd05d)=>_0x48a2ab(_0x1ec581,_0x4dd05d,_0x1702c8);const mn=[_0x493b7c(0x444),_0x493b7c(0x4e1),_0x493b7c(0x33d),_0x493b7c(0x1c5),_0x493b7c(0x4d3)],In=0x5*0x400*0x400,En=_0x493b7c(0x360),Cn=_0x493b7c(0x215),Tn=_0x493b7c(0x427),bn=_0x493b7c(0x167);exports[_0x493b7c(0x3e0)]=class{constructor(_0x55c6b7,_0x218e89,_0x4606bc){var _0x163bb1=_0x493b7c;A(this,_0x163bb1(0x306),0x0),A(this,'_change$',new j['Subject']()),A(this,_0x163bb1(0x272),this['_change$']),A(this,_0x163bb1(0x481),new Map()),(this[_0x163bb1(0x33b)]=_0x55c6b7,this['_configService']=_0x218e89,this['_univerInstanceService']=_0x4606bc);}['setWaitCount'](_0x21837d){var _0x2ad056=_0x493b7c;this[_0x2ad056(0x306)]=_0x21837d,this[_0x2ad056(0x1fd)][_0x2ad056(0x261)](_0x21837d);}[_0x493b7c(0x3c7)](_0x166992,_0x6e2f0c){var _0x32991b=_0x493b7c;if(_0x6e2f0c===J['ImageSourceType'][_0x32991b(0x39e)]){const _0x1f43ac=new Image();return _0x1f43ac['src']=_0x166992,_0x1f43ac;}return this[_0x32991b(0x481)][_0x32991b(0x497)](_0x166992);}[_0x493b7c(0x4a0)](_0x1732e3,_0x1f94d7,_0x3a3078){var _0x29b8a1=_0x493b7c;_0x1f94d7===J[_0x29b8a1(0x2de)][_0x29b8a1(0x39e)]||_0x3a3078==null||this['_imageSourceCache'][_0x29b8a1(0x206)](_0x1732e3,_0x3a3078);}async[_0x493b7c(0x361)](_0xb98efa){var _0x51471d=_0x493b7c;try{const _0x456465=this[_0x51471d(0x44a)](this[_0x51471d(0x476)](),''+_0xb98efa),_0x221efe=(await this[_0x51471d(0x33b)][_0x51471d(0x497)](_0x456465))[_0x51471d(0x259)];if(_0x221efe[_0x51471d(0x1fe)]&&_0x221efe[_0x51471d(0x1fe)][_0x51471d(0x191)]===Ct['OK']){const _0x2a21c1=new URL(_0x221efe[_0x51471d(0x171)],this[_0x51471d(0x2c1)]())[_0x51471d(0x47e)]();return Promise['resolve'](_0x2a21c1);}return Promise['reject'](_0x221efe[_0x51471d(0x1fe)]);}catch(_0x3508c8){return Promise[_0x51471d(0x21f)](_0x3508c8);}}async[_0x493b7c(0x37c)](_0x3124de){var _0x196a8a=_0x493b7c;let _0x58fd48='';if(!mn[_0x196a8a(0x1a7)](_0x3124de[_0x196a8a(0x207)]))return this[_0x196a8a(0x353)](),Promise[_0x196a8a(0x21f)](new Error(J['ImageUploadStatusType'][_0x196a8a(0x4a1)]));if(_0x3124de[_0x196a8a(0x1c7)]>In)return this[_0x196a8a(0x353)](),Promise[_0x196a8a(0x21f)](new Error(J[_0x196a8a(0x3b8)]['ERROR_EXCEED_SIZE']));try{const _0x1f29b7=new FormData();_0x1f29b7[_0x196a8a(0x3c6)](_0x196a8a(0x472),_0x3124de);const _0x59ed7d=this[_0x196a8a(0x392)]['getFocusedUnit'](),_0x497d0a=_0x59ed7d==null?void 0x0:_0x59ed7d[_0x196a8a(0x190)]();if(!_0x497d0a)throw new Error(_0x196a8a(0x28d));const _0x520545=this[_0x196a8a(0x3db)]()+_0x196a8a(0x43e)+_0x3124de[_0x196a8a(0x1c7)]['toString']()+_0x196a8a(0x3e8)+Tt[_0x196a8a(0x346)]+_0x196a8a(0x2a2)+encodeURIComponent(_0x497d0a),_0x3a64ac=await(await fetch(_0x520545,{'method':_0x196a8a(0x4dd),'body':_0x1f29b7}))[_0x196a8a(0x1d9)]();if(typeof _0x3a64ac['FileId']!=_0x196a8a(0x25c))return this[_0x196a8a(0x353)](),Promise['reject'](new Error(J[_0x196a8a(0x3b8)][_0x196a8a(0x224)]));_0x58fd48=_0x3a64ac['FileId'];}catch{return this[_0x196a8a(0x353)](),Promise['reject'](new Error(J[_0x196a8a(0x3b8)][_0x196a8a(0x224)]));}return new Promise((_0x31b3b8,_0x521b05)=>{var _0x5767be=_0x196a8a;const _0x53fb82=new FileReader();_0x53fb82[_0x5767be(0x21c)](_0x3124de),_0x53fb82['onload']=_0x2b77a4=>{var _0x1c6bfd=_0x5767be,_0x4cd3f2;const _0xbcc8f=(_0x4cd3f2=_0x2b77a4['target'])==null?void 0x0:_0x4cd3f2[_0x1c6bfd(0x393)];if(_0xbcc8f==null){this[_0x1c6bfd(0x353)](),_0x521b05(new Error(J[_0x1c6bfd(0x3b8)][_0x1c6bfd(0x224)]));return;}const _0x4c1c04=a[_0x1c6bfd(0x265)][_0x1c6bfd(0x2cf)](0x6);_0x31b3b8({'imageId':_0x4c1c04,'imageSourceType':J[_0x1c6bfd(0x2de)][_0x1c6bfd(0x4c0)],'source':_0x58fd48,'base64Cache':_0xbcc8f,'status':J[_0x1c6bfd(0x3b8)][_0x1c6bfd(0x3fa)]}),this[_0x1c6bfd(0x353)]();};});}['_getUploadFileURL'](){var _0x191cff=_0x493b7c,_0xfc7be7,_0x2ce2cc;const _0x489b11=this[_0x191cff(0x23a)][_0x191cff(0x17a)](En),_0x1dcecc=this[_0x191cff(0x23a)][_0x191cff(0x17a)](Y);return(_0x2ce2cc=(_0xfc7be7=_0x1dcecc==null?void 0x0:_0x1dcecc[_0x191cff(0x195)])!=null?_0xfc7be7:_0x489b11)!=null?_0x2ce2cc:Cn;}[_0x493b7c(0x476)](){var _0x591d68=_0x493b7c,_0x4379d4,_0x148caf;const _0x1cf522=this[_0x591d68(0x23a)][_0x591d68(0x17a)](Tn),_0x1bd8e4=this[_0x591d68(0x23a)][_0x591d68(0x17a)](Y);return(_0x148caf=(_0x4379d4=_0x1bd8e4==null?void 0x0:_0x1bd8e4['signUrlServerUrl'])!=null?_0x4379d4:_0x1cf522)!=null?_0x148caf:bn;}[_0x493b7c(0x2c1)](){var _0x3c9a0e=_0x493b7c,_0x53d714;const _0x91f64b=this['_configService'][_0x3c9a0e(0x17a)](Y);return(_0x53d714=_0x91f64b==null?void 0x0:_0x91f64b['downloadEndpointUrl'])!=null?_0x53d714:location[_0x3c9a0e(0x414)];}[_0x493b7c(0x44a)](_0x557b7a,_0x111a6c){var _0x475f59=_0x493b7c;return _0x557b7a['replace'](_0x475f59(0x43a),_0x111a6c);}[_0x493b7c(0x353)](){var _0x41f388=_0x493b7c;this[_0x41f388(0x306)]-=0x1,this[_0x41f388(0x1fd)][_0x41f388(0x261)](this[_0x41f388(0x306)]);}},exports[_0x493b7c(0x3e0)]=gn([xe(0x0,a[_0x493b7c(0x41a)](q[_0x493b7c(0x23c)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x493b7c(0x41a)](a['IUniverInstanceService']))],exports['CollaborationImageIoService']);var Rn=Object[_0x493b7c(0x4e0)],On=(_0x4c1a36,_0x37708d,_0xe28879,_0x410d00)=>{for(var _0x567b9d=_0x410d00>0x1?void 0x0:_0x410d00?Rn(_0x37708d,_0xe28879):_0x37708d,_0x127e85=_0x4c1a36['length']-0x1,_0x25a1cf;_0x127e85>=0x0;_0x127e85--)(_0x25a1cf=_0x4c1a36[_0x127e85])&&(_0x567b9d=_0x25a1cf(_0x567b9d)||_0x567b9d);return _0x567b9d;},lt=(_0x34cafa,_0x3383ad)=>(_0x2fa611,_0x477c5c)=>_0x3383ad(_0x2fa611,_0x477c5c,_0x34cafa);const yn=_0x493b7c(0x185);exports[_0x493b7c(0x1d1)]=class{constructor(_0x3447f6,_0x1fd7e3){var _0x55d36f=_0x493b7c;this[_0x55d36f(0x23a)]=_0x3447f6,this[_0x55d36f(0x221)]=_0x1fd7e3;}[_0x493b7c(0x326)](){var _0x4eba62=_0x493b7c,_0x52bbd6,_0x3b6242;const _0x23c2f7=this['_configService'][_0x4eba62(0x17a)](Ge),_0x1b5224=this['_configService']['getConfig'](Y);return(_0x3b6242=(_0x52bbd6=_0x1b5224==null?void 0x0:_0x1b5224[_0x4eba62(0x3a5)])!=null?_0x52bbd6:_0x23c2f7)!=null?_0x3b6242:yn;}async[_0x493b7c(0x365)](_0x37acbb){var _0x63fadb=_0x493b7c;const _0x5be254=this[_0x63fadb(0x326)]()+_0x63fadb(0x201);return{'list':[{'title':'People','mentions':(await this[_0x63fadb(0x221)][_0x63fadb(0x497)](_0x5be254,{'params':{'objectID':_0x37acbb['unitId'],'unitID':_0x37acbb[_0x63fadb(0x41b)]}}))['body'][_0x63fadb(0x3b0)][_0x63fadb(0x477)](_0x46873f=>({'objectId':_0x46873f['id'],'name':_0x46873f[_0x63fadb(0x17c)][_0x63fadb(0x4c3)],'metadata':{'icon':_0x46873f['subject'][_0x63fadb(0x30c)]},'label':_0x46873f[_0x63fadb(0x17c)][_0x63fadb(0x4c3)],'objectType':a[_0x63fadb(0x276)][_0x63fadb(0x405)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x493b7c(0x1d1)]=On([lt(0x0,a[_0x493b7c(0x41a)](a[_0x493b7c(0x399)])),lt(0x1,a[_0x493b7c(0x41a)](q[_0x493b7c(0x23c)]))],exports[_0x493b7c(0x1d1)]);var Nn=Object[_0x493b7c(0x4e0)],Dn=(_0x3170c5,_0x30fc62,_0x4544e5,_0x3cea0a)=>{var _0x519836=_0x493b7c;for(var _0x433ac6=_0x3cea0a>0x1?void 0x0:_0x3cea0a?Nn(_0x30fc62,_0x4544e5):_0x30fc62,_0x393305=_0x3170c5[_0x519836(0x286)]-0x1,_0x110c5f;_0x393305>=0x0;_0x393305--)(_0x110c5f=_0x3170c5[_0x393305])&&(_0x433ac6=_0x110c5f(_0x433ac6)||_0x433ac6);return _0x433ac6;},ue=(_0x30c329,_0x1b4730)=>(_0xb10f1c,_0x52ed96)=>_0x1b4730(_0xb10f1c,_0x52ed96,_0x30c329);let De=class extends a[_0x493b7c(0x19a)]{constructor(_0x182181,_0x5e27ea,_0x3ff966,_0x93abd6,_0x3780f4){var _0x52511a=_0x493b7c;super(),this[_0x52511a(0x232)]=_0x182181,this['_univerInstanceService']=_0x5e27ea,this[_0x52511a(0x400)]=_0x3ff966,this['_collaborationSessionService']=_0x93abd6,this['_collaborationUIEventService']=_0x3780f4,this['_initUnitPermissionChange'](),this[_0x52511a(0x310)]();}[_0x493b7c(0x310)](){var _0x13fa57=_0x493b7c;const _0x9825b7=async _0x367396=>{var _0x1fd01d=_0x400e;(await this['_collaborationSessionService'][_0x1fd01d(0x19d)](_0x367396))[_0x1fd01d(0x490)]['pipe'](V[_0x1fd01d(0x345)](_0x4eb157=>_0x4eb157['eventID']===g[_0x1fd01d(0x21a)][_0x1fd01d(0x48a)]),V[_0x1fd01d(0x4ca)](this['dispose$']))['subscribe'](_0xc66600=>{var _0x486f14=_0x1fd01d;const _0x3bb5ff=_0xc66600,{reason:_0x5eb9ef}=_0x3bb5ff[_0x486f14(0x1ba)];this[_0x486f14(0x4aa)][_0x486f14(0x3a9)]({'id':Q[_0x486f14(0x25a)],'data':_0x5eb9ef}),this[_0x486f14(0x400)][_0x486f14(0x382)](new Z['WorkbookEditablePermission'](_0x367396)['id'],!0x1),this[_0x486f14(0x4d2)]['closeSession'](_0x367396);});};j[_0x13fa57(0x320)](this[_0x13fa57(0x392)]['getTypeOfUnitAdded$'](a[_0x13fa57(0x457)]['UNIVER_SHEET']),this[_0x13fa57(0x392)][_0x13fa57(0x1de)](a[_0x13fa57(0x457)][_0x13fa57(0x256)]))[_0x13fa57(0x30e)](V[_0x13fa57(0x477)](_0x4c201b=>_0x4c201b[_0x13fa57(0x190)]()),V[_0x13fa57(0x345)](_0x1ea40a=>!a[_0x13fa57(0x2ad)](_0x1ea40a)),V[_0x13fa57(0x4ca)](this[_0x13fa57(0x327)]))[_0x13fa57(0x2db)](_0x4e4a5e=>{_0x9825b7(_0x4e4a5e);});}['_initUnitPermissionChange'](){var _0x1254ab=_0x493b7c;const _0x5e4614=async _0x504b9e=>{var _0x547039=_0x400e;const _0x3ef072=await this[_0x547039(0x4d2)][_0x547039(0x19d)](_0x504b9e),_0x33ec6e=this[_0x547039(0x232)]['get'](Z[_0x547039(0x430)]);_0x3ef072[_0x547039(0x490)][_0x547039(0x30e)](V[_0x547039(0x345)](_0x4a8807=>_0x4a8807['eventID']===g[_0x547039(0x21a)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x547039(0x327)]))[_0x547039(0x2db)](_0x1c199f=>{var _0x3fe895=_0x547039;const _0x2a2ee4=_0x1c199f,{objectId:_0x5bfa77}=_0x2a2ee4[_0x3fe895(0x1ba)];_0x5bfa77===_0x504b9e?_0x33ec6e[_0x3fe895(0x4df)](_0x504b9e):_0x33ec6e['refreshPermission'](_0x504b9e,_0x5bfa77);});};j[_0x1254ab(0x320)](this[_0x1254ab(0x392)][_0x1254ab(0x1de)](a[_0x1254ab(0x457)][_0x1254ab(0x277)]))[_0x1254ab(0x30e)](V['map'](_0x52f9ca=>_0x52f9ca['getUnitId']()),V['filter'](_0x449571=>!a[_0x1254ab(0x2ad)](_0x449571)),V[_0x1254ab(0x4ca)](this['dispose$']))[_0x1254ab(0x2db)](_0x3dd1ce=>{_0x5e4614(_0x3dd1ce);});}};De=Dn([ue(0x0,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),ue(0x1,a[_0x493b7c(0x239)]),ue(0x2,a[_0x493b7c(0x42b)]),ue(0x3,a[_0x493b7c(0x41a)](exports['CollaborationSessionService'])),ue(0x4,a[_0x493b7c(0x41a)](te))],De);var Un=Object[_0x493b7c(0x4e0)],An=(_0x5ac6ba,_0xf0545b,_0xb386a9,_0x320cad)=>{var _0x247358=_0x493b7c;for(var _0x11e9e9=_0x320cad>0x1?void 0x0:_0x320cad?Un(_0xf0545b,_0xb386a9):_0xf0545b,_0x3816a1=_0x5ac6ba[_0x247358(0x286)]-0x1,_0x30f196;_0x3816a1>=0x0;_0x3816a1--)(_0x30f196=_0x5ac6ba[_0x3816a1])&&(_0x11e9e9=_0x30f196(_0x11e9e9)||_0x11e9e9);return _0x11e9e9;},_t=(_0x39eb27,_0x325d2e)=>(_0x14f5c9,_0x151500)=>_0x325d2e(_0x14f5c9,_0x151500,_0x39eb27);exports[_0x493b7c(0x1dc)]=class{constructor(_0x28522f,_0x4af88f){this['_configService']=_0x28522f,this['_httpService']=_0x4af88f;}async['getUnitOnRev'](_0x19a8e4,_0x4b9224){var _0x1388ab=_0x493b7c,_0x3c6cff;const {unitID:_0x54e015,type:_0x5b44e2,revision:_0x26d6df=0x0}=_0x4b9224,_0x4008bb=this[_0x1388ab(0x3e3)]()+'/'+_0x5b44e2+_0x1388ab(0x3a4)+_0x54e015+_0x1388ab(0x249)+_0x26d6df,_0x547cdd=(await this[_0x1388ab(0x33b)][_0x1388ab(0x497)](_0x4008bb))['body'],_0x1e8575=(_0x3c6cff=_0x547cdd['snapshot'])==null?void 0x0:_0x3c6cff[_0x1388ab(0x496)];if(_0x1e8575){const _0xa0e9e0=_0x1e8575==null?void 0x0:_0x1e8575['originalMeta'],_0x3cf13f=g[_0x1388ab(0x43f)][_0x1388ab(0x1aa)](g[_0x1388ab(0x202)](_0xa0e9e0));_0x1e8575[_0x1388ab(0x317)]=_0x3cf13f,Object[_0x1388ab(0x4da)](_0x1e8575[_0x1388ab(0x39a)])[_0x1388ab(0x240)](([,_0x12ac83])=>{var _0x39b54e=_0x1388ab;const _0x19e677=_0x12ac83[_0x39b54e(0x317)],_0x1c7051=g[_0x39b54e(0x43f)][_0x39b54e(0x1aa)](g['b64DecodeUnicode'](_0x19e677));_0x12ac83['originalMeta']=_0x1c7051;});}return _0x547cdd;}async[_0x493b7c(0x4c1)](_0x11eb7a,_0x59dcc0){var _0x535205=_0x493b7c;const {unitID:_0x2145f2,type:_0x2dc944,blockID:_0x5839bb}=_0x59dcc0,_0x5d2761=this[_0x535205(0x2c4)]()+'/'+_0x2dc944+_0x535205(0x3a4)+_0x2145f2+_0x535205(0x49d)+_0x5839bb;return(await this['_httpService'][_0x535205(0x497)](_0x5d2761))['body'];}async[_0x493b7c(0x1f6)](_0x1b747d,_0x3744b4){var _0x4e41e7=_0x493b7c;const {unitID:_0x3c8049,type:_0x3d5e49,blockID:_0x1992c7}=_0x3744b4,_0x13b526=this[_0x4e41e7(0x2c4)]()+_0x4e41e7(0x49d)+_0x3d5e49+_0x4e41e7(0x3a4)+_0x3c8049+'/block/'+_0x1992c7;return(await this[_0x4e41e7(0x33b)][_0x4e41e7(0x497)](_0x13b526))[_0x4e41e7(0x259)];}async[_0x493b7c(0x183)](_0x1176c1,_0x4b50f5){var _0x16b7cf=_0x493b7c;const {unitID:_0x2adc43,type:_0xa2b074,from:_0x31fc40,to:_0x1c54f7}=_0x4b50f5,_0x209012=this[_0x16b7cf(0x2c4)]()+'/'+_0xa2b074+_0x16b7cf(0x3a4)+_0x2adc43+_0x16b7cf(0x172)+_0x31fc40+_0x16b7cf(0x184)+_0x1c54f7;return(await this[_0x16b7cf(0x33b)][_0x16b7cf(0x497)](_0x209012))['body'];}[_0x493b7c(0x3e3)](){var _0x3c0d11=_0x493b7c,_0x2f9df7;return(_0x2f9df7=this['_configService']['getConfig'](vt))!=null?_0x2f9df7:this[_0x3c0d11(0x2c4)]();}[_0x493b7c(0x2c4)](){var _0x460748=_0x493b7c,_0x23a26b,_0x33883b;const _0x2cd0e9=this[_0x460748(0x23a)][_0x460748(0x17a)](dt),_0x411b4d=this[_0x460748(0x23a)][_0x460748(0x17a)](Y);return(_0x33883b=(_0x23a26b=_0x411b4d==null?void 0x0:_0x411b4d[_0x460748(0x41d)])!=null?_0x23a26b:_0x2cd0e9)!=null?_0x33883b:kt;}async[_0x493b7c(0x246)](_0x203582,_0x22cb94){var _0x172355=_0x493b7c;const _0x201f25=_0x172355(0x19c)+_0x22cb94[_0x172355(0x207)]+_0x172355(0x3a4)+_0x22cb94[_0x172355(0x27c)]+'/resources';return(await this[_0x172355(0x33b)][_0x172355(0x497)](_0x201f25,{'params':{'resourceId':JSON[_0x172355(0x4c9)](_0x22cb94['resourceIDs'])}}))[_0x172355(0x259)];}[_0x493b7c(0x23f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x493b7c(0x165)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x493b7c(0x22d)](){var _0x5d24b2=_0x493b7c;throw new Error(_0x5d24b2(0x39b));}[_0x493b7c(0x1ca)](){var _0x33b0ca=_0x493b7c;throw new Error(_0x33b0ca(0x39b));}},exports['SnapshotServerOverHTTPService']=An([_t(0x0,a[_0x493b7c(0x399)]),_t(0x1,a[_0x493b7c(0x41a)](q[_0x493b7c(0x23c)]))],exports[_0x493b7c(0x1dc)]);var Pn=Object[_0x493b7c(0x4e0)],wn=(_0x3d2299,_0x5b8a3e,_0x1529f0,_0x5048ec)=>{for(var _0x18344c=_0x5048ec>0x1?void 0x0:_0x5048ec?Pn(_0x5b8a3e,_0x1529f0):_0x5b8a3e,_0x3712f1=_0x3d2299['length']-0x1,_0x58d639;_0x3712f1>=0x0;_0x3712f1--)(_0x58d639=_0x3d2299[_0x3712f1])&&(_0x18344c=_0x58d639(_0x18344c)||_0x18344c);return _0x18344c;},de=(_0x4464ae,_0x174654)=>(_0x195b34,_0x56ce73)=>_0x174654(_0x195b34,_0x56ce73,_0x4464ae);exports['CollaborativeUndoRedoService']=class extends a[_0x493b7c(0x2e5)]{constructor(_0x670c6d,_0x378eb1,_0x52a1f9,_0x29decd,_0x384360){var _0x596aa8=_0x493b7c;super(_0x670c6d,_0x378eb1,_0x52a1f9),this[_0x596aa8(0x283)]=_0x29decd,this['_logService']=_0x384360;}['transformUndoRedo'](_0x2ceb9c,_0x5e0a47){var _0x224001=_0x493b7c;const _0x1e3f85=this[_0x224001(0x49c)](_0x2ceb9c);if(_0x1e3f85)try{const _0x3a4c26=this['_transformStack'](_0x1e3f85,_0x5e0a47);this[_0x224001(0x1b3)](_0x2ceb9c,_0x3a4c26);}catch(_0x3bb625){this[_0x224001(0x4c5)][_0x224001(0x1fe)]('[CollaborationUndoRedoService]',_0x3bb625),this['_clearUndo'](_0x2ceb9c);}const _0x5a7ffd=this[_0x224001(0x4ba)](_0x2ceb9c);if(_0x5a7ffd)try{const _0xe9d5dd=this[_0x224001(0x3f2)](_0x5a7ffd,_0x5e0a47);this[_0x224001(0x369)](_0x2ceb9c,_0xe9d5dd);}catch(_0x22acc8){this[_0x224001(0x4c5)][_0x224001(0x1fe)](_0x22acc8),this[_0x224001(0x4d7)](_0x2ceb9c);}}[_0x493b7c(0x385)](_0x467e6b){var _0x5e0d89=_0x493b7c;const _0x285a0d=this[_0x5e0d89(0x49c)](_0x467e6b);_0x285a0d&&(_0x285a0d[_0x5e0d89(0x286)]=0x0,this[_0x5e0d89(0x363)]());}[_0x493b7c(0x4d7)](_0xd096d2){var _0x9616d8=_0x493b7c;const _0x17b5c1=this[_0x9616d8(0x4ba)](_0xd096d2);_0x17b5c1&&(_0x17b5c1['length']=0x0,this['_updateStatus']());}[_0x493b7c(0x1b3)](_0x1016d2,_0x270774){var _0x4ac901=_0x493b7c;this[_0x4ac901(0x32f)]['set'](_0x1016d2,_0x270774),this[_0x4ac901(0x363)]();}[_0x493b7c(0x369)](_0x57f4c7,_0x12414f){var _0x16c20b=_0x493b7c;this[_0x16c20b(0x30b)][_0x16c20b(0x206)](_0x57f4c7,_0x12414f),this[_0x16c20b(0x363)]();}[_0x493b7c(0x3f2)](_0x2f15a2,_0x20cbbe){var _0x5348f5=_0x493b7c;const _0x37e567=[];let _0x2f0d7c=_0x20cbbe,_0xaa4a91=_0x20cbbe;for(let _0x36fa22=_0x2f15a2[_0x5348f5(0x286)]-0x1;_0x36fa22>=0x0;_0x36fa22--){const {unitID:_0x1c1171,undoMutations:_0x580f1a,redoMutations:_0x21568c}=_0x2f15a2[_0x36fa22],_0xa96eb7=this[_0x5348f5(0x283)][_0x5348f5(0x227)](_0x2f0d7c,_0x580f1a),_0x501087=this[_0x5348f5(0x283)][_0x5348f5(0x227)](_0xaa4a91,_0x21568c);if(g[_0x5348f5(0x3cf)](_0xa96eb7)||g['isTransformMutationsWithChangesetFailure'](_0x501087)){this[_0x5348f5(0x4c5)][_0x5348f5(0x1fe)](_0x5348f5(0x1f7),'transformStack\x20failed!',_0xa96eb7,_0x501087);break;}_0x2f0d7c=_0xa96eb7[_0x5348f5(0x273)],_0xaa4a91=_0x501087['c1Prime'],_0x37e567[_0x5348f5(0x188)]({'unitID':_0x1c1171,'undoMutations':_0xa96eb7[_0x5348f5(0x296)],'redoMutations':_0x501087[_0x5348f5(0x296)]});}return _0x37e567[_0x5348f5(0x47f)]();}},exports[_0x493b7c(0x35a)]=wn([de(0x0,a[_0x493b7c(0x239)]),de(0x1,a[_0x493b7c(0x451)]),de(0x2,a[_0x493b7c(0x397)]),de(0x3,g[_0x493b7c(0x4ac)]),de(0x4,a[_0x493b7c(0x264)])],exports['CollaborativeUndoRedoService']);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x5e35b8,_0x3ddc21,_0x38d6b3)=>_0x3ddc21 in _0x5e35b8?Ln(_0x5e35b8,_0x3ddc21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38d6b3}):_0x5e35b8[_0x3ddc21]=_0x38d6b3,kn=(_0xd773a,_0x399574,_0x9b4a59,_0x55bcf2)=>{for(var _0x24e685=_0x55bcf2>0x1?void 0x0:_0x55bcf2?Mn(_0x399574,_0x9b4a59):_0x399574,_0x480e50=_0xd773a['length']-0x1,_0x227f0f;_0x480e50>=0x0;_0x480e50--)(_0x227f0f=_0xd773a[_0x480e50])&&(_0x24e685=_0x227f0f(_0x24e685)||_0x24e685);return _0x24e685;},ke=(_0x33eaa5,_0x9f47cc)=>(_0xb35d90,_0x220ce4)=>_0x9f47cc(_0xb35d90,_0x220ce4,_0x33eaa5),Hn=(_0x421cf7,_0x1d6cbf,_0x1e9fa1)=>xn(_0x421cf7,_0x1d6cbf+'',_0x1e9fa1);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x493b7c(0x230)]=class extends a[_0x493b7c(0x2bc)]{constructor(_0x461aae,_0x49573b,_0x1b50df,_0x420889){var _0x42815a=_0x493b7c;super(),A(this,'_config'),(this[_0x42815a(0x4c5)]=_0x49573b,this[_0x42815a(0x232)]=_0x1b50df,this[_0x42815a(0x23a)]=_0x420889);const {..._0x521a0d}=a[_0x42815a(0x320)]({},Jt,_0x461aae);if(!_0x521a0d[_0x42815a(0x3b9)])throw new Error(_0x42815a(0x4e2));this[_0x42815a(0x203)]=_0x521a0d,this[_0x42815a(0x23a)][_0x42815a(0x349)](Y,_0x521a0d);}[_0x493b7c(0x1af)](){var _0x4babfd=_0x493b7c;this[_0x4babfd(0x443)](),this[_0x4babfd(0x341)]();}[_0x493b7c(0x443)](){var _0x5904ed=_0x493b7c,_0x12f3a3,_0x112966;this[_0x5904ed(0x232)]['has'](a[_0x5904ed(0x22b)])&&this[_0x5904ed(0x4c5)][_0x5904ed(0x1fe)](_0x5904ed(0x344),_0x5904ed(0x294));const _0x44055c=a[_0x5904ed(0x2b3)]([[a[_0x5904ed(0x22b)],{'useClass':exports[_0x5904ed(0x35a)]}],[exports[_0x5904ed(0x3c0)]],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x5904ed(0x203)]['socketService']}],[g[_0x5904ed(0x391)],{'useClass':exports[_0x5904ed(0x1dc)]}],[a[_0x5904ed(0x216)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x5904ed(0x1e4)],{'useClass':exports[_0x5904ed(0x3e0)]}],[a['IMentionIOService'],{'useClass':exports[_0x5904ed(0x1d1)]}],[exports[_0x5904ed(0x299)]],[He]],(_0x12f3a3=this[_0x5904ed(0x203)])==null?void 0x0:_0x12f3a3[_0x5904ed(0x1ea)]);if(!((_0x112966=this[_0x5904ed(0x203)])!=null&&_0x112966[_0x5904ed(0x1ee)])){const _0x2ecf55=_0x44055c['findIndex'](([_0x3b3f8f])=>_0x3b3f8f===ve);_0x2ecf55!==-0x1&&_0x44055c[_0x5904ed(0x409)](_0x2ecf55,0x1);}a['registerDependencies'](this[_0x5904ed(0x232)],_0x44055c);}[_0x493b7c(0x341)](){var _0x40fa7d=_0x493b7c,_0xc5778a,_0x71f153,_0x3921e8;this[_0x40fa7d(0x232)][_0x40fa7d(0x497)](q[_0x40fa7d(0x23c)])[_0x40fa7d(0x1c4)]({'priority':0x14,'interceptor':q[_0x40fa7d(0x40e)]({'maxParallel':0x6})}),(_0xc5778a=this[_0x40fa7d(0x203)])!=null&&_0xc5778a[_0x40fa7d(0x2aa)]||(_0x71f153=this[_0x40fa7d(0x232)][_0x40fa7d(0x497)](z,a[_0x40fa7d(0x460)][_0x40fa7d(0x166)]))==null||_0x71f153['disableLocalCache'](),(_0x3921e8=this[_0x40fa7d(0x203)])!=null&&_0x3921e8[_0x40fa7d(0x31a)]&&a[_0x40fa7d(0x3fb)](this['_injector'],[[ye]]),a[_0x40fa7d(0x3fb)](this[_0x40fa7d(0x232)],[[Ne],[exports[_0x40fa7d(0x299)]],[De]]);}},Hn(exports[_0x493b7c(0x230)],'pluginName',jn),exports[_0x493b7c(0x230)]=kn([a['DependentOn'](g['UniverCollaborationPlugin'],q[_0x493b7c(0x234)]),ke(0x1,a[_0x493b7c(0x264)]),ke(0x2,a[_0x493b7c(0x41a)](a[_0x493b7c(0x446)])),ke(0x3,a[_0x493b7c(0x399)])],exports[_0x493b7c(0x230)]),exports[_0x493b7c(0x198)]=Ge,exports[_0x493b7c(0x4ce)]=Y,exports[_0x493b7c(0x43d)]=It,exports[_0x493b7c(0x269)]=St,exports[_0x493b7c(0x4b9)]=Ve,exports[_0x493b7c(0x178)]=Q,exports['CollaborationUIEventService']=te,exports[_0x493b7c(0x47b)]=Be,exports[_0x493b7c(0x2b6)]=ft,exports[_0x493b7c(0x387)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x493b7c(0x268)]=pt,exports[_0x493b7c(0x210)]=je,exports[_0x493b7c(0x28f)]=$e,exports[_0x493b7c(0x4a8)]=z,exports[_0x493b7c(0x315)]=bt,exports[_0x493b7c(0x46b)]=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x493b7c(0x43b)]=Wt,exports[_0x493b7c(0x186)]=Et,exports[_0x493b7c(0x453)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x493b7c(0x208)]=Ht,exports[_0x493b7c(0x3ca)]=dt,exports[_0x493b7c(0x1cb)]=vt,exports['SessionStatus']=se,exports['UnitStatus']=Fe,exports[_0x493b7c(0x384)]=Rt,exports[_0x493b7c(0x333)]=vi,exports[_0x493b7c(0x290)]=Ot;