@univerjs-pro/collaboration-client 0.5.1-nightly.202412161321 → 0.5.1-nightly.202412161606

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 _0xf74654=_0x201f;(function(_0x4c1adb,_0x72b0d1){var _0x58b451=_0x201f,_0x4dd26a=_0x4c1adb();while(!![]){try{var _0x38aa0e=parseInt(_0x58b451(0x285))/0x1+-parseInt(_0x58b451(0x207))/0x2*(parseInt(_0x58b451(0x468))/0x3)+parseInt(_0x58b451(0x17c))/0x4*(-parseInt(_0x58b451(0x144))/0x5)+-parseInt(_0x58b451(0x164))/0x6+parseInt(_0x58b451(0x41e))/0x7*(-parseInt(_0x58b451(0x437))/0x8)+parseInt(_0x58b451(0x2a8))/0x9*(parseInt(_0x58b451(0x27c))/0xa)+parseInt(_0x58b451(0x384))/0xb;if(_0x38aa0e===_0x72b0d1)break;else _0x4dd26a['push'](_0x4dd26a['shift']());}catch(_0x3c3bdb){_0x4dd26a['push'](_0x4dd26a['shift']());}}}(_0x124d,0x73b88));var Lt=Object[_0xf74654(0x2cc)],Mt=(_0x295c08,_0x1cae51,_0xcebb5c)=>_0x1cae51 in _0x295c08?Lt(_0x295c08,_0x1cae51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcebb5c}):_0x295c08[_0x1cae51]=_0xcebb5c,D=(_0x38e753,_0x4dbef1,_0x36dd10)=>Mt(_0x38e753,typeof _0x4dbef1!=_0xf74654(0x352)?_0x4dbef1+'':_0x4dbef1,_0x36dd10);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0xf74654(0x457)),H=require(_0xf74654(0x334)),V=require(_0xf74654(0x13c)),z=require(_0xf74654(0x2d9)),m=require(_0xf74654(0x3b1)),xt=require(_0xf74654(0x261)),ut=require('@univerjs/docs'),W=require(_0xf74654(0x1e1)),X=require('@univerjs/drawing'),jt=require(_0xf74654(0x1ad)),dt=_0xf74654(0x303),$t=_0xf74654(0x38e),vt=_0xf74654(0x2b8),Ht='SEND_CHANGESET_TIMEOUT',kt=0x7d0,ft=_0xf74654(0x461),St='ws://127.0.0.1:8000/universer-api/comb/connect',Bt=_0xf74654(0x379),pt=_0xf74654(0x1f3),Ft=0x7530,He='HEARTBEAT_TIMEOUT',gt=0x4e20,Wt=0x4e20,mt=_0xf74654(0x1bb),Vt=0x3,Gt=_0xf74654(0x178),Kt=0x3e8,It=_0xf74654(0x2a5),Yt='/universer-api/comb',Et=_0xf74654(0x463),qt=_0xf74654(0x15f),zt=_0xf74654(0x3c5),Jt=_0xf74654(0x1f8);var Ct=(_0x3bec2d=>(_0x3bec2d[_0x3bec2d['UNDEFINED']=0x0]=_0xf74654(0x43d),_0x3bec2d[_0x3bec2d['OK']=0x1]='OK',_0x3bec2d[_0x3bec2d[_0xf74654(0x2f6)]=0x2]=_0xf74654(0x2f6),_0x3bec2d[_0x3bec2d[_0xf74654(0x21c)]=0x3]=_0xf74654(0x21c),_0x3bec2d[_0x3bec2d['NOT_FOUND']=0x4]=_0xf74654(0x13d),_0x3bec2d[_0x3bec2d[_0xf74654(0x364)]=0x5]=_0xf74654(0x364),_0x3bec2d[_0x3bec2d[_0xf74654(0x35c)]=0x6]=_0xf74654(0x35c),_0x3bec2d[_0x3bec2d['INVALID_ARGUMENT']=0x7]=_0xf74654(0x155),_0x3bec2d[_0x3bec2d['TOO_MANY_REQUESTS']=0x8]=_0xf74654(0x4a4),_0x3bec2d[_0x3bec2d[_0xf74654(0x19f)]=0x9]=_0xf74654(0x19f),_0x3bec2d[_0x3bec2d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xf74654(0x1e7),_0x3bec2d[_0x3bec2d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xf74654(0x48d),_0x3bec2d[_0x3bec2d[_0xf74654(0x323)]=0x1772]=_0xf74654(0x323),_0x3bec2d[_0x3bec2d[_0xf74654(0x279)]=0x1773]=_0xf74654(0x279),_0x3bec2d[_0x3bec2d[_0xf74654(0x4c0)]=0x1b59]='APPLY_REJECT',_0x3bec2d[_0x3bec2d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3bec2d[_0x3bec2d[_0xf74654(0x321)]=0x1b5b]=_0xf74654(0x321),_0x3bec2d[_0x3bec2d[_0xf74654(0x3e9)]=0x1b5c]=_0xf74654(0x3e9),_0x3bec2d[_0x3bec2d[_0xf74654(0x1c1)]=0x1b5d]=_0xf74654(0x1c1),_0x3bec2d[_0x3bec2d[_0xf74654(0x21f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3bec2d[_0x3bec2d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3bec2d[_0x3bec2d[_0xf74654(0x1dc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3bec2d[_0x3bec2d[_0xf74654(0x34d)]=0x232b]=_0xf74654(0x34d),_0x3bec2d[_0x3bec2d[_0xf74654(0x408)]=0x232c]=_0xf74654(0x408),_0x3bec2d[_0x3bec2d[_0xf74654(0x1fa)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3bec2d[_0x3bec2d[_0xf74654(0x253)]=0x2711]=_0xf74654(0x253),_0x3bec2d[_0x3bec2d[_0xf74654(0x442)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3bec2d[_0x3bec2d[_0xf74654(0x1fc)]=0x2713]=_0xf74654(0x1fc),_0x3bec2d[_0x3bec2d[_0xf74654(0x304)]=0x2714]=_0xf74654(0x304),_0x3bec2d[_0x3bec2d[_0xf74654(0x346)]=-0x1]='UNRECOGNIZED',_0x3bec2d))(Ct||{}),Z=(_0x43eb52=>(_0x43eb52[_0x43eb52[_0xf74654(0x474)]=0x0]=_0xf74654(0x474),_0x43eb52[_0x43eb52[_0xf74654(0x492)]=0x1]=_0xf74654(0x492),_0x43eb52[_0x43eb52[_0xf74654(0x3b3)]=0x2]=_0xf74654(0x3b3),_0x43eb52[_0x43eb52[_0xf74654(0x3a5)]=0x3]='UNIVER_SLIDE',_0x43eb52[_0x43eb52['UNIVER_PROJECT']=0x4]=_0xf74654(0x36c),_0x43eb52[_0x43eb52[_0xf74654(0x346)]=-0x1]=_0xf74654(0x346),_0x43eb52))(Z||{}),G=(_0x120024=>(_0x120024[_0x120024[_0xf74654(0x1fe)]=0x0]=_0xf74654(0x1fe),_0x120024[_0x120024['HELLO']=0x1]='HELLO',_0x120024[_0x120024[_0xf74654(0x365)]=0x2]=_0xf74654(0x365),_0x120024[_0x120024[_0xf74654(0x2c0)]=0x3]='LEAVE',_0x120024[_0x120024[_0xf74654(0x156)]=0x4]='INGEST',_0x120024[_0x120024['HEARTBEAT']=0x5]=_0xf74654(0x26a),_0x120024[_0x120024[_0xf74654(0x455)]=0x6]=_0xf74654(0x455),_0x120024[_0x120024['UNRECOGNIZED']=-0x1]=_0xf74654(0x346),_0x120024))(G||{}),he=(_0x160b68=>(_0x160b68[_0x160b68[_0xf74654(0x184)]=0x0]=_0xf74654(0x184),_0x160b68[_0x160b68['OK']=0x1]='OK',_0x160b68[_0x160b68[_0xf74654(0x1d3)]=0x2]=_0xf74654(0x1d3),_0x160b68[_0x160b68[_0xf74654(0x249)]=0x3e9]=_0xf74654(0x249),_0x160b68[_0x160b68[_0xf74654(0x266)]=0x3ea]=_0xf74654(0x266),_0x160b68[_0x160b68[_0xf74654(0x16a)]=0x3eb]=_0xf74654(0x16a),_0x160b68[_0x160b68[_0xf74654(0x24f)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x160b68[_0x160b68[_0xf74654(0x346)]=-0x1]=_0xf74654(0x346),_0x160b68))(he||{}),Tt=(_0x59f232=>(_0x59f232[_0x59f232['Undefined']=0x0]='Undefined',_0x59f232[_0x59f232['HttpImport']=0x1]=_0xf74654(0x13a),_0x59f232[_0x59f232['HttpExport']=0x2]=_0xf74654(0x2f8),_0x59f232[_0x59f232[_0xf74654(0x37e)]=0x3]='UnitEmbedded',_0x59f232[_0x59f232[_0xf74654(0x1bc)]=0x4]=_0xf74654(0x1bc),_0x59f232[_0x59f232[_0xf74654(0x346)]=-0x1]=_0xf74654(0x346),_0x59f232))(Tt||{});const q=_0xf74654(0x16d),Xt={};var Q=(_0x2d462e=>(_0x2d462e['OTHER_CLIENT_EDITING']=_0xf74654(0x423),_0x2d462e['PERMISSION_DENIED']=_0xf74654(0x21c),_0x2d462e[_0xf74654(0x448)]='CONFLICT',_0x2d462e[_0xf74654(0x2b9)]=_0xf74654(0x2b9),_0x2d462e[_0xf74654(0x3e0)]=_0xf74654(0x3e0),_0x2d462e[_0xf74654(0x476)]='SOCKET_FAILED_RETRY',_0x2d462e[_0xf74654(0x1ce)]=_0xf74654(0x1ce),_0x2d462e['SUBMIT_CHANGESET_TIMEOUT']=_0xf74654(0x2fe),_0x2d462e))(Q||{});class te{constructor(){var _0x304bc7=_0xf74654;D(this,_0x304bc7(0x18b),new H[(_0x304bc7(0x339))]()),D(this,_0x304bc7(0x4b8),this['_event$'][_0x304bc7(0x241)]());}[_0xf74654(0x1cc)](_0x7b4a65){var _0x25fb91=_0xf74654;this['_event$'][_0x25fb91(0x376)](_0x7b4a65);}}const bt=a[_0xf74654(0x22e)](_0xf74654(0x3a7));function Rt(_0x6cd93f){var _0x4905e6=_0xf74654,_0x170bb3,_0xaf1cc2,_0x3d36d8,_0x3a3c8e,_0x1ab21d;const _0x173320=_0x6cd93f[_0x4905e6(0x32f)],_0x21c242=JSON[_0x4905e6(0x165)](_0x173320);switch(_0x21c242['cmd']){case G[_0x4905e6(0x26a)]:case G[_0x4905e6(0x4aa)]:{const _0x54f495=_0x21c242['infoRsp'];return{..._0x21c242,'data':_0x54f495,'cmd':_0x21c242['cmd']};}case G[_0x4905e6(0x365)]:{const _0x2ebb9d=_0x21c242[_0x4905e6(0x49a)];return{..._0x21c242,'data':_0x2ebb9d,'cmd':_0x21c242[_0x4905e6(0x4af)]};}case G[_0x4905e6(0x455)]:{const _0x50d493=_0x21c242[_0x4905e6(0x145)];switch(_0x50d493['eventID']){case m[_0x4905e6(0x486)][_0x4905e6(0x19a)]:return{..._0x21c242,'data':{..._0x50d493,'data':(_0x170bb3=_0x50d493[_0x4905e6(0x3c8)])==null?void 0x0:_0x170bb3['cs']},'cmd':_0x21c242['cmd']};case m[_0x4905e6(0x486)][_0x4905e6(0x35e)]:return{..._0x21c242,'data':{..._0x50d493,'data':(_0xaf1cc2=_0x50d493[_0x4905e6(0x2be)])==null?void 0x0:_0xaf1cc2['cs']},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m['CollaborationEvent'][_0x4905e6(0x2d7)]:return{..._0x21c242,'data':{..._0x50d493,'data':(_0x3d36d8=_0x50d493[_0x4905e6(0x428)])==null?void 0x0:_0x3d36d8['cs']},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m['CollaborationEvent'][_0x4905e6(0x1f6)]:return{..._0x21c242,'data':{..._0x50d493,'data':(_0x3a3c8e=_0x50d493[_0x4905e6(0x2ec)])==null?void 0x0:_0x3a3c8e['cs']},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m['CollaborationEvent'][_0x4905e6(0x488)]:return{..._0x21c242,'data':{..._0x50d493,'data':(_0x1ab21d=_0x50d493[_0x4905e6(0x44b)])==null?void 0x0:_0x1ab21d['cs']},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m[_0x4905e6(0x486)]['UPDATE_CURSOR']:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x23f)]},'cmd':_0x21c242['cmd']};case m[_0x4905e6(0x486)][_0x4905e6(0x29c)]:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x44f)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m['CollaborationEvent']['USERS_LEAVE']:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x218)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m['CollaborationEvent'][_0x4905e6(0x1cb)]:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x186)]},'cmd':_0x21c242['cmd']};case m[_0x4905e6(0x486)][_0x4905e6(0x403)]:case m[_0x4905e6(0x486)][_0x4905e6(0x358)]:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x3a1)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m[_0x4905e6(0x486)][_0x4905e6(0x383)]:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x186)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m[_0x4905e6(0x486)][_0x4905e6(0x255)]:return{..._0x21c242,'data':_0x50d493,'cmd':_0x21c242[_0x4905e6(0x4af)]};case m[_0x4905e6(0x486)]['COMMENT_UPDATE']:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x211)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m[_0x4905e6(0x486)]['UPDATE_PERMISSION_OBJ']:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x2e2)]},'cmd':_0x21c242['cmd']};case m['CollaborationEvent'][_0x4905e6(0x30c)]:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x254)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};case m[_0x4905e6(0x486)]['UNISCRIPT_RUN']:return{..._0x21c242,'data':{..._0x50d493,'data':_0x50d493[_0x4905e6(0x1d2)]},'cmd':_0x21c242[_0x4905e6(0x4af)]};default:return _0x21c242;}}default:return _0x21c242;}}function Ot(_0x445a3c){var _0x29d76b=_0xf74654;switch(_0x445a3c[_0x29d76b(0x4af)]){case G['HEARTBEAT']:case G[_0x29d76b(0x4aa)]:return JSON[_0x29d76b(0x17e)]({'cmd':_0x445a3c[_0x29d76b(0x4af)],'routeKey':_0x445a3c[_0x29d76b(0x3ca)]});case G['INGEST']:{let _0x240c2d;switch(_0x445a3c[_0x29d76b(0x32f)][_0x29d76b(0x458)]){case m[_0x29d76b(0x486)][_0x29d76b(0x345)]:{_0x240c2d={'eventID':m[_0x29d76b(0x486)]['UPDATE_CURSOR'],'updateCursorEvent':_0x445a3c[_0x29d76b(0x32f)][_0x29d76b(0x32f)]};break;}case m[_0x29d76b(0x486)][_0x29d76b(0x19e)]:{_0x240c2d={'eventID':m[_0x29d76b(0x486)][_0x29d76b(0x19e)],'leaveEvent':_0x445a3c[_0x29d76b(0x32f)]['data']};break;}case m['CollaborationEvent']['USERS_ENTER']:{_0x240c2d={'eventID':m['CollaborationEvent'][_0x29d76b(0x29c)],'joinEvent':_0x445a3c[_0x29d76b(0x32f)][_0x29d76b(0x32f)]};break;}case m[_0x29d76b(0x486)][_0x29d76b(0x1cb)]:{_0x240c2d={'eventID':m['CollaborationEvent'][_0x29d76b(0x1cb)],'liveShareNewHost':_0x445a3c['data'][_0x29d76b(0x32f)]};break;}case m[_0x29d76b(0x486)][_0x29d76b(0x358)]:{_0x240c2d={'eventID':m[_0x29d76b(0x486)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x445a3c['data'][_0x29d76b(0x32f)]};break;}case m[_0x29d76b(0x486)][_0x29d76b(0x383)]:{_0x240c2d={'eventID':m[_0x29d76b(0x486)][_0x29d76b(0x383)],'liveShareTerminate':_0x445a3c['data'][_0x29d76b(0x32f)]};break;}case m[_0x29d76b(0x486)][_0x29d76b(0x344)]:{_0x240c2d={'eventID':m[_0x29d76b(0x486)][_0x29d76b(0x344)],'liveShareRequestHost':_0x445a3c[_0x29d76b(0x32f)]['data']};break;}case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x240c2d={'eventID':m[_0x29d76b(0x486)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x240c2d={'eventID':_0x445a3c[_0x29d76b(0x32f)]['eventID']};}return JSON[_0x29d76b(0x17e)]({'cmd':_0x445a3c['cmd'],'routeKey':_0x445a3c[_0x29d76b(0x3ca)],'collaMsg':_0x240c2d});}case G[_0x29d76b(0x365)]:return JSON['stringify']({'cmd':_0x445a3c[_0x29d76b(0x4af)],'routeKey':_0x445a3c['routeKey'],'joinReq':_0x445a3c[_0x29d76b(0x32f)]});case G[_0x29d76b(0x2c0)]:return JSON[_0x29d76b(0x17e)]({'cmd':_0x445a3c[_0x29d76b(0x4af)],'routeKey':_0x445a3c[_0x29d76b(0x3ca)],'leaveReq':_0x445a3c[_0x29d76b(0x32f)]});default:throw new Error(_0x29d76b(0x16c));}}var Zt=Object[_0xf74654(0x2cc)],Qt=Object[_0xf74654(0x39a)],ei=(_0x5b9c1d,_0x39bafd,_0x56622d,_0x6b869a)=>{var _0x28f08d=_0xf74654;for(var _0x1baafa=_0x6b869a>0x1?void 0x0:_0x6b869a?Qt(_0x39bafd,_0x56622d):_0x39bafd,_0x4f6a7b=_0x5b9c1d[_0x28f08d(0x24a)]-0x1,_0x75e293;_0x4f6a7b>=0x0;_0x4f6a7b--)(_0x75e293=_0x5b9c1d[_0x4f6a7b])&&(_0x1baafa=(_0x6b869a?_0x75e293(_0x39bafd,_0x56622d,_0x1baafa):_0x75e293(_0x1baafa))||_0x1baafa);return _0x6b869a&&_0x1baafa&&Zt(_0x39bafd,_0x56622d,_0x1baafa),_0x1baafa;},ue=(_0x44990d,_0x354034)=>(_0x57f70e,_0x29c757)=>_0x354034(_0x57f70e,_0x29c757,_0x44990d);const ke=a[_0xf74654(0x22e)](_0xf74654(0x399));function ti(_0x1a3e93,_0x2f188d,_0x3f8d2b){var _0x106b51=_0xf74654;return _0x1a3e93+'/'+_0x2f188d+_0x106b51(0x293)+_0x3f8d2b+_0x106b51(0x234);}exports[_0xf74654(0x415)]=class extends a[_0xf74654(0x356)]{constructor(_0x1b6836,_0xdd25ce,_0x44afb2,_0x2b2e5d,_0xe90fad){var _0x5932dc=_0xf74654;super(),this[_0x5932dc(0x2e3)]=_0x1b6836,this[_0x5932dc(0x247)]=_0xdd25ce,this[_0x5932dc(0x1f7)]=_0x44afb2,this[_0x5932dc(0x390)]=_0x2b2e5d,this[_0x5932dc(0x381)]=_0xe90fad;}[_0xf74654(0x498)](_0x5edde5){var _0x3b05a2=_0xf74654;const _0x22731f=this[_0x3b05a2(0x2e3)]['get'](z[_0x3b05a2(0x4a9)]);if(!_0x22731f)throw new Error(_0x3b05a2(0x31b));const _0x43d13f=_0x22731f[_0x3b05a2(0x498)](_0x5edde5);if(!_0x43d13f)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x587f2f=new a[(_0x3b05a2(0x1b8))](),_0x11f451=new H[(_0x3b05a2(0x339))]();_0x587f2f['add'](_0x43d13f[_0x3b05a2(0x38a)][_0x3b05a2(0x203)](_0x116b27=>_0x11f451[_0x3b05a2(0x376)](_0x116b27))),_0x587f2f['add'](a['toDisposable'](()=>_0x11f451[_0x3b05a2(0x209)]()));const _0x2f302e=new H[(_0x3b05a2(0x339))]();_0x587f2f[_0x3b05a2(0x31f)](_0x43d13f[_0x3b05a2(0x153)]['subscribe'](_0x317f05=>_0x2f302e['next'](_0x317f05))),_0x587f2f[_0x3b05a2(0x31f)](a[_0x3b05a2(0x1d8)](()=>_0x2f302e[_0x3b05a2(0x209)]()));const _0x36235a=new H[(_0x3b05a2(0x339))]();_0x587f2f['add'](_0x43d13f[_0x3b05a2(0x2db)][_0x3b05a2(0x203)](_0x2ce9c8=>{var _0x4be718=_0x3b05a2;const _0x5dd097=Rt(_0x2ce9c8);_0x36235a[_0x4be718(0x376)](_0x5dd097);})),_0x587f2f[_0x3b05a2(0x31f)](a['toDisposable'](()=>_0x36235a[_0x3b05a2(0x209)]()));let _0x51e782;const _0xa3302=()=>{var _0x44d5fe=_0x3b05a2;_0x2f302e['next'](new Event('connection\x20error')),_0x11f451[_0x44d5fe(0x376)](new CloseEvent(_0x44d5fe(0x3ba))),_0x51e782[_0x44d5fe(0x21e)]();};return _0x51e782={'memberID':'','close$':_0x11f451[_0x3b05a2(0x241)](),'error$':_0x2f302e[_0x3b05a2(0x241)](),'open$':_0x43d13f[_0x3b05a2(0x43a)],'message$':_0x36235a['asObservable'](),'send':_0x3ea487=>{var _0x511dab=_0x3b05a2;if(_0x3ea487['cmd']===G[_0x511dab(0x156)]){if(_0x3ea487[_0x511dab(0x32f)]['eventID']===m['CollaborationEvent'][_0x511dab(0x1c0)]){this[_0x511dab(0x250)](_0x51e782,_0x3ea487[_0x511dab(0x32f)])[_0x511dab(0x470)](_0x7b48aa=>{var _0x1b86b3=_0x511dab;this['_logService'][_0x1b86b3(0x312)](_0x7b48aa),_0xa3302();});return;}if(_0x3ea487[_0x511dab(0x32f)][_0x511dab(0x458)]===m[_0x511dab(0x486)][_0x511dab(0x23e)]){const _0x1fab3a=_0x3ea487[_0x511dab(0x32f)];this[_0x511dab(0x4bc)](_0x1fab3a)[_0x511dab(0x29f)](_0x225b12=>{var _0x5427ba=_0x511dab;_0x36235a['next']({'cmd':G[_0x5427ba(0x455)],'code':he['OK'],'routeKey':_0x1fab3a['data'][_0x5427ba(0x4ae)],'routeType':'','data':{'eventID':m[_0x5427ba(0x486)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x225b12}}});})['catch'](_0x97b3f8=>{var _0x5d5fb4=_0x511dab;this[_0x5d5fb4(0x390)][_0x5d5fb4(0x312)](_0x97b3f8),_0xa3302();});return;}}_0x43d13f['send'](Ot(_0x3ea487));},'close':()=>{var _0x44824b=_0x3b05a2;_0x43d13f[_0x44824b(0x21e)](),_0x587f2f[_0x44824b(0x2c1)]();}},_0x51e782;}async[_0xf74654(0x250)](_0x3067be,_0x42d7ad){var _0x2b00ee=_0xf74654,_0x3f28ad,_0x95926c;const {unitType:_0x5c6a13,unitID:_0x760d2e,changeset:_0x3ce875}=_0x42d7ad['data'],_0x24af3b={'unitID':_0x760d2e,'memberID':_0x3067be['memberID'],'type':_0x5c6a13,'changeset':m[_0x2b00ee(0x464)](_0x3ce875)},_0x11731d=this['_configService'][_0x2b00ee(0x3cf)](It),_0x2007e3=this['_configService']['getConfig'](q),_0x3b138e=ti((_0x95926c=(_0x3f28ad=_0x2007e3==null?void 0x0:_0x2007e3[_0x2b00ee(0x26b)])!=null?_0x3f28ad:_0x11731d)!=null?_0x95926c:Yt,_0x5c6a13,_0x760d2e);try{await this[_0x2b00ee(0x247)][_0x2b00ee(0x362)](_0x3b138e,{'body':_0x24af3b});}catch(_0x56c51a){throw this[_0x2b00ee(0x390)]['error'](_0x2b00ee(0x190),_0x2b00ee(0x233)),_0x56c51a;}}async[_0xf74654(0x4bc)](_0x35df86){var _0x392279=_0xf74654;const {unitID:_0x15a2df,from:_0x3f73f6,to:_0x5192b4,unitType:_0xa374e6}=_0x35df86[_0x392279(0x32f)];return(await this[_0x392279(0x381)][_0x392279(0x485)]({'metadata':void 0x0},{'unitID':_0x15a2df,'type':_0xa374e6,'from':_0x3f73f6,'to':_0x5192b4}))[_0x392279(0x3da)];}},exports['CollaborationSocketService']=ei([ue(0x0,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),ue(0x1,a[_0xf74654(0x4c2)](z['HTTPService'])),ue(0x2,a[_0xf74654(0x3f1)]),ue(0x3,a[_0xf74654(0x301)]),ue(0x4,m[_0xf74654(0x46e)])],exports[_0xf74654(0x415)]);const ii='collaboration_new_changeset';function _0x124d(){var _0x28d0ce=['_logService','prototype','People','sigBytes','_onConnectionOpen','_lockTransition','\x20to\x20','_transformRemoteChangesetByIMECache','_retryCount','univer-pro.collaboration-client-socket-service','getOwnPropertyDescriptor','setCurrentUser','ivSize','getImageSourceCache','FetchingMissState','requireSession','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','liveShareOperation','_localCacheService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getLoginPath','UNIVER_SLIDE','_applyRemoteChangeset','univer-pro.collaboration-client.network-condition.service','encryptBlock','_type','words','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Utf8','onTransformRemoteChangesetByStateCache','byteLength','updatePermissionPoint','session','@univerjs-pro/collaboration','encode','UNIVER_SHEET','_transformUndoredo','collaborators','toggleOffline','_doReset','isTransformMutationsWithChangesetSuccess','CollaborationUIEventId','connection\x20error','session.room-permission-denied','_transitionLocked','executeCommand','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ticket','firstValueFrom','requestParams','ImageSourceType','WorksheetProtectionPointModel','_append','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_telemetryInfo','_incrementRevisionNumber','permissionRejEvent','getTime','routeKey','putCollaborators','EXCHANGE_SIGN_URL_SERVER_URL_KEY','memberID','[PendingState]:\x20received\x20rejection.','getConfig','_sender','unit-cache-','_initDependencies','AwaitingWithPendingState','CollaborationSessionService','[CollaborationSessionService]','transformChangesets','extend','getGlobalObject','CollaborationImageIoService','changesets','defaultWorkbookPermissionPoints','setWaitCount','_isPermissionRej','MD5','clear','JOIN_ROOM_FAILED','_createInitialState','getUnitId','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[PendingState]:\x20received\x20acknowledgement.','subUnitId','sendChangesetTimeout','_startCollaboration','unsubscribe','APPLY_PERMISSION_DENIED','confirm','merge','_map','updateCollaborator','_onRemoteRejected','_socket','COLLAB_WEB_SOCKET_URL_KEY','IConfigService','_getDownloadEndpointURL','conflict','enableSingleActiveInstanceLock','transformMutationsWithChangeset','headers','_timeoutTimer','actions','&to=','_socketService','session.room-full','SYNCED','IUndoRedoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','closeSession','_userManagerService','saveImage','Hex','LIVESHARE_FETCH_OPERATIONS','_iKey','_eventService','_updateLocalCache','PasswordBasedCipher','LICENSE_EXPORT_SIZE_EXCEEDED','findIndex','getTypeOfUnitDisposed$','getLocalCacheKey','cfg','UnitObject','_acknowledgedAwaitingChangeset','retryConnectingInterval','JOINING','hasOwnProperty','_onFetchMissResult','getUnitType','_singleActiveUnitService','CollaborationSocketService','UniverCollaborationPlugin','awaiting_with_pending','NO_OTHER_CLIENTS_EDITING','application/json','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_iv','reset','SessionStatus','2381603YqhQrR','_clearUndo','getCurrentRevOfUnit','isArray','_clearHeartbeatTimer','OTHER_CLIENT_EDITING','reverse','startsWith','getAllMembers','_candidateSocket','newCsEvent','includes','onRemoteRej','_doProcessBlock','CollaborationEntity','_clearTimeoutTimer','_onCombEvent','title','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AUTHZ_URL_KEY','_getSendChangesetTimeout','_onRemoteChangeset','_transformService','_clearRedo','8cZAMYK','_getUndoStack','_getRedoStack','open$','size','_waitForHeartbeatResponse','UNDEFINED','[OfflineState]:\x20received\x20rejection.','$super','UPDATE_PERMISSION_OBJ','now','YUUMI_URL_COL_OUT_OF_RANGE','IAuthzIoService','_roomMembers','AES','OTHER_CLIENTS_EDITING','action','CONFLICT','iterations','_stopTelemetryCollaborationNewChangeset','csShouldRetryEvent','_sessionStatus$','take','ITransformService','joinEvent','onMissedChangesetFetched','ICollaborationSocketService','IContextService','SnapshotServerOverHTTPService','_resendTimeout','RECV','WordArray','@univerjs/core','eventID','_waitCount','_undoStacks','_transformRemoteChangesetByStateCache','objectType','searchParams','online$','_schedule','clone','COLLAB_WEB_SOCKET_URL','map','LOGIN_URL_KEY','parseChangesetToProtocol','DEFAULT_FILE_NAME','_telemetryService','_key','226968BAbSnu','_transformSelections','_prevBlock','send','Base64','CommandType','ISnapshotServerService','readAsDataURL','catch','SheetTransformSelectionsService','onMissingChangesets','_loadSheet','UNIVER_UNKNOWN','loadSheet','SOCKET_FAILED_RETRY','getTypeOfUnitAdded$','_executeRemoteChangeset','patch','key','_onLocalMutation','_collabSessionService','_getSignURL','kdf','debug','registerHTTPInterceptor','InsertSheetMutation','onRemoteRetry','status$','onStarting','fetchMissingChangesets','CollaborationEvent','get','CHANGESET_SHOULD_RETRY','mutations','max','[FetchMissState]','transformSelections','SNAPSHOT_INVALID_SNAPSHOT','_sendHeartbeat','_localeService','clearUndoRedo','onCommandExecuted','UNIVER_DOC','onTransformIME','ruleRefresh','status','_members','ONLINE','createSocket','RETRY_CONNECTING_MAX_COUNT_KEY','joinRsp','addHandlerCallback','loadDoc','[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.','touchDependencies','OFFLINE','HEARTBEAT_TIMEOUT_KEY','EmptyMutation','execute','_onUserJoin','TOO_MANY_REQUESTS','_onConflict','decryptBlock','SheetsSelectionsService','_replaceFileID','ISocketService','HELLO','interceptor','compute','range','unitID','cmd','_roomCreated$','/object/','?url=','src','type','m2Prime','CompressMutationService','_minBufferSize','event$','_createHmacHelper','_collaborationPaused','[CollaborationEntity]','_fetchMissChangesets','delay','Quantity','_rescheduleHeartbeat','APPLY_REJECT','forEach','Inject','change$','encrypt','_sessions','createDecryptor','/universer-api/stream/file/upload','MentionIoHttpService','getFocusedUnit','resolve','HttpImport','finalize','rxjs/operators','NOT_FOUND','ConflictState','UniverSheetsPlugin','_hash','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','loginUrlKey','pauseCollaboration','25uVuFlj','collaMsg','/object','_initMergeInterceptor','subject','dispose$','format','_snapshotService','toggleOnline','initWorkbookPermissionChange','algo','c1Prime','EvpKDF','/allowed','_toggleOffline','error$','[DataLoaderService]','INVALID_ARGUMENT','INGEST','getUnitOnRev','offline','fetchThroughInterceptors','updateOfflineData','function','OpenSSL','_exhaustRemoteChangesetQueue','_replayCachedMutations','/universer-api/oidc/authpage','_nDataBytes','CollaborationUIEventService','hasher','onlyLocal','237504GTyoGq','parse','_DEC_XFORM_MODE','_config','enc','_changesetReqId','JOIN_ROOM_PERMISSION_DENIED','_ENC_XFORM_MODE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaboration-client.config','Decryptor','resourceIDs','objects','filter','file','[PendingState]:\x20unhandled\x20univer\x20type:\x20','reqId','_tryReconnect','UniverInstanceType','socketService','LOCAL_CACHE_INTERVAL','onTransformState','_commentUpdate$','_pendingMutations','563964EjNmUW','defaultWorksheetPermissionPoint','stringify','_socketMessageSubscription','_collaborationUIEventService','onload','CBC','[OfflineState]:\x20received\x20acknowledgement.','UNKNOWN_CODE','floor','liveShareNewHost','_revisionService','/collaborator','updateMember','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_event$','location','_joinRoom','setShowComponents','onTransformSelections','[CollaborationSession]','AuthzIoHttpService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','put','_checkMissing','unpad','_handlerCallback','auth.needGotoLoginAlert','crypto','join','PERMISSION_REJ','Univer','INetworkConditionService','onTransformRemoteChangesetByIMECache','USERS_LEAVE','COMPLETION_FINISHED','equals','_hasher','_scheduleTimestamp','random','\x0aAfter:\x20','sid','Latin1','/-/object/list','_authzIoService','pending','editing\x20status\x20changed\x20to','_state$','_remoteChangesetQueue','@univerjs-pro/license','socket\x20close','override','disposeWithMe','origin','hostname','SHA1','_commandService','UNISCRIPT_RUN','/-/object/-/batch_allowed','SEND_CHANGESET_TIMEOUT_KEY','DisposableCollection','session.room-not-exists','keySize','RETRY_CONNECTING_MAX_COUNT','UnitSnapshot','NoPadding','reconnect','SyncedState','SUBMIT_CHANGESET','APPLY_DUPLICATED','_httpService','refreshPermission','toString','_removeRoom','_shouldReportTelemetry','subType','addImageSourceCache','_oKey','RevisionService','LIVESHARE_NEW_HOST','emitEvent','localCacheService','SOCKET_FAILED','lib','substr','removeMember','uniscriptRunEvent','FAIL','OPTIONAL','code','_decreaseWaiting','target','toDisposable','commentUpdate$','Hasher','MUTATION','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','roomInfos','\x20in\x20_schedule.','avatar','_univerInstanceService','@univerjs/sheets','_loadDoc','isInternalEditorID','Could\x20not\x20dynamically\x20require\x20\x22','AWAITING_WITH_PENDING','set','CHANGESET_REVISION_CONFILICT','members','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Base','DependentOn','_toggleOnline','_scheduleCollaborationTimeoutTimer','awaitingChangeset','LocalUndoRedoService','_onRemoteACK','Workbook','_createHandler','HEARTBEAT_INTERVAL','delete','baseRev','CHANGESET_REJ','_configService','/universer-api/uniscript','createInstance','LICENSE_DISTRO_REJECTED','getInterceptPoints','YUUMI_RATE_OVER_LIMIT','loadOfflineData','UNKNOWN_CMD','find','Encryptor','_init','_permissionService','subscribe','_createSocket','[CollaborationUndoRedoService]','bind','4iblkiL','copyFileMeta','complete','method','deserializeToCombResponse','pipe','formatter','_nRounds','signUrlServerUrl','_startTelemetryCollaborationNewChangeset','commentUpdateEvent','_onMessage','b64DecodeUnicode','capture','getCollabEntity','/universer-api/snapshot/','ceil','leaveEvent','BlockCipher','_createSocketURL','push','PERMISSION_DENIED','getRandomValues','close','CONNECTOR_DATA_TOO_LARGE','_unitID','init','_doFinalize','_parse','_clearScheduledTask','getSheetBlock','_getUploadFileURL','[CollaborationSessionService]:\x20socket\x20error','LOCAL_CACHE_INTERVAL_KEY','readyForCollab','COMPRESS_MUTATION_SEND','Plugin','update','_state','createIdentifier','PERSON','listRoles','_updateStatus','getSnapshotAPIPath','submit\x20changeset\x20error!','/new_changes','fetch_missing','_onJoinRoomEvent','PendingState','isTransformChangesetsSuccess','awaiting','msCrypto','_disableEditing','AwaitingState','Malformed\x20UTF-8\x20data','FETCH_MISSING','updateCursorEvent','mixIn','asObservable','transformStack\x20failed!','shareReplay','\x0aCurrent:\x20','/rev/','downloadEndpointUrl','_http','byteOffset','JOIN_ROOM_FULL','length','randomBytes','HTTPService','/fetchmissing?from=','[SyncedState]:\x20received\x20acknowledgement.','GLOBAL_ROOMS_CNT_EXCEEDS','_submitChangeset','getMember','mergeOverrideWithDependencies','YUUMI_UNABLE_LOAD_URL','shouldCloseConn','MSG_FOR_ERROR','transformUndoRedo','_collaborationSessionService','textRanges','ciphertext','apply','authzUrl','resend','RangeProtectionRuleModel','Rectangle','COLLAB_SUBMIT_CHANGESET_URL_KEY','UniverCollaborationClientPlugin','@univerjs/telemetry','Tools','MergeInterceptorFactory','c2Prime','_clearLocalCache','JOIN_ROOM_NOT_EXISTS','ReplaySubject','_compressMutationService','allowed','HEARTBEAT','collabSubmitChangesetUrl','_queuedRemoteChangesets','SheetCollaborationEntity','value','_transformStack','_updateState','_getAPIPrefix','onCommentUpdate','_instanceService','_listenToNetworkCondition','generateRandomId','_throwTelemetryCollaborationNewChangeset','_onUserLeave','default','ENSURE_SNAPSHOT_EXECUTION','[CollaborationState]:\x20apply\x20error!','slice','7370680eHJVuB','entries','_sheetTransformSelectionsService','values','/block/','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getMemberID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onStateChange','42608BbPYWQ','onRemoteChangeset','getCurrentUnitForType','_retryConnectingTimer','_status$','WorksheetProtectionRuleModel','onSendChangeset','ILocalCacheService','RichTextEditingMutation','_collaborationTimeoutTimer','_handler','from','concat','_substituteUndoStack','/unit/','JSONX','_getCurrentRevision','unknown','_syncEditingCollabCursor','telemetry\x20info\x20is\x20not\x20initialized','IUniverInstanceService','_unlockTransition','fetching\x20missing\x20changesets\x20from\x20','USERS_ENTER','originalMeta','SerializableCipher','then','getWorkbookSelections','x-univer-host','_onRecvEvent','getUnit','unitId','COLLAB_SUBMIT_CHANGESET_URL','getLatestCsReqIdBySid','focused$','9MpgUbW','image/png','image/gif','_commentService','indexOf','univer-pro.collaboration-client.single-active-unit-service','WorkbookEditablePermission','onSyncEditingCollabCursor','FileId','params','Worksheet','CommentService','unitInfo$','_change$','splice','_entityInit$','SNAPSHOT_URL_KEY','CLOSE_ROOM','min','rev','randomUUID','getPermissionPoint','csAckEvent','_awaitingChangeset','LEAVE','dispose','ISingleActiveUnitService','fromCharCode','exports','blockSize','parseProtocolChangeset','padding','HMAC','_transformStateCache','_resendWithTimeout','_initCloseConn','defineProperty','decrypt','_data','_xformMode','[OfflineState]:\x20received\x20changeset.','_entities','__creator','ERROR_EXCEED_SIZE','_onOffline','CollaborationController','listCollaborators','NEW_CHANGESETS','onLocalMutation','@univerjs/network','sheets','message$','getCollabEntity$','getValue','_createInitialStateImpl','processBlock','Optional','list','updatePermissionObjEvent','_injector','_initRequestHeader','SetSelectionsOperation','_socketReady','CollaborationSession','_memberService','href','create','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','csRejEvent','getCurrentSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','POST','ERROR_IMAGE','UnitStatus','_keyPriorReset','OfflineState','withCredentials','startTime','INTERNAL_ERROR','getAllRangePermissionPoint','HttpExport','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','_doCryptBlock','serializeCombRequest','ImageUploadStatusType','SUBMIT_CHANGESET_TIMEOUT','DocCollaborationEntity','_invKeySchedule','ILogService','_onConnectionFailed','SNAPSHOT_SERVER_URL_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','not_collab','image/bmp','takeUntil','isTransformMutationsWithChangesetFailure','isPermissionRej','objectID','COMPRESS_MUTATION_APPLY','SHOULD_CLOSE_CONN','_resendTimer','/universer-api/authz','_registerDependencies','_substituteRedoStack','_members$','error','_getAPIPrefixPath','sessionStatus$','BlockCipherMode','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','reject','_networkConditionService','baseProtectionActions','CollaborativeUndoRedoService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','HTTPRequest','has','_cipher','add','_sendHeartbeatTimer','APPLY_REVISION_CONFILICT','_unitInfo$','SNAPSHOT_HAS_BEEN_REMOVED','_changesetSessionId','RxDisposable','body','Injector','revision','localeService','SUCCUSS','_keySchedule','_imageSourceCache','setConfig','synced','data','saveChangeset','save\x20fail\x20reason\x20is\x20','_createHelper','getTargetByPermissionId','rxjs','_mode','uploadFileServerUrl','socket$','call','Subject','collabWebSocketUrl','sessionTicket','responseType','reduce','_socket$','salt','ICommandService','_undoRedoService','pad','createCollaborator','LIVESHARE_REQUEST_HOST','UPDATE_CURSOR','UNRECOGNIZED','CollaborationStatus','UniverNetworkPlugin','IDLE','_HTTPService','SnapshotService','state','LICENSE_IMPORT_SIZE_EXCEEDED','name','_onRemoteRetry','fromCollab','string','symbol','incrementRevOfUnit','_process','charAt','Disposable','charCodeAt','LIVESHARE_OPERATION','getResourcesRequest','onRemoteAck','session.join-failed','ALREADY_EXISTS','enableOfflineEditing','CHANGESET_ACK','Cipher','?size=','HEARTBEAT_INTERVAL_KEY','post','appendMutation','UNAUTHENTICATED','JOIN','url','IPermissionService','mapDocumentTypeToUniverType','runId','LocaleService','encodeURIComponent','UNIVER_PROJECT','BehaviorSubject','_clearCollaborationTimeoutTimer','textEncoder','IMentionIOService','_getCtorByUniverType','saveSnapshot','[SyncedState]:\x20received\x20rejection.','BASE64','buffer','next','unitId\x20is\x20not\x20found','userID','/universer-api/user/session-ticket','NOT_COLLAB','MemberService','collaboration-client.local-cache-service','_getSessionTicket','UnitEmbedded','mode','__esModule','_snapshotServerService','_tryEnsureSocket','LIVESHARE_TERMINATE','10234356knAyhQ','SelectRange','_redoStacks','DataLoaderService','COMMENT_UPDATE','StreamCipher','close$','stopTime','selections','abs','/universer-api/snapshot','getCurrentUser'];_0x124d=function(){return _0x28d0ce;};return _0x124d();}function ni(_0x5b84b1){var _0xa61016=_0xf74654;return JSON[_0xa61016(0x17e)](_0x5b84b1)['length'];}class Be{constructor(){var _0x110a0f=_0xf74654;D(this,_0x110a0f(0x17a),new H[(_0x110a0f(0x339))]()),D(this,_0x110a0f(0x1d9),this[_0x110a0f(0x17a)]['asObservable']());}[_0xf74654(0x272)](_0x44349d){var _0xc40fda=_0xf74654;this[_0xc40fda(0x17a)][_0xc40fda(0x376)](_0x44349d);}}var ri=Object['defineProperty'],si=Object[_0xf74654(0x39a)],oi=(_0x5d6e14,_0x410937,_0x502750,_0x6531ec)=>{var _0xe29da0=_0xf74654;for(var _0x313d44=_0x6531ec>0x1?void 0x0:_0x6531ec?si(_0x410937,_0x502750):_0x410937,_0xd4bf15=_0x5d6e14[_0xe29da0(0x24a)]-0x1,_0x616271;_0xd4bf15>=0x0;_0xd4bf15--)(_0x616271=_0x5d6e14[_0xd4bf15])&&(_0x313d44=(_0x6531ec?_0x616271(_0x410937,_0x502750,_0x313d44):_0x616271(_0x313d44))||_0x313d44);return _0x6531ec&&_0x313d44&&ri(_0x410937,_0x502750,_0x313d44),_0x313d44;},Ke=(_0x8bb00b,_0xdf7547)=>(_0x96b9e8,_0x14fd54)=>_0xdf7547(_0x96b9e8,_0x14fd54,_0x8bb00b);exports[_0xf74654(0x37b)]=class extends a[_0xf74654(0x356)]{constructor(_0xf73c57,_0x4ddd9d){var _0x598c4a=_0xf74654;super(),D(this,_0x598c4a(0x444),new Map()),D(this,_0x598c4a(0x4b0),new H[(_0x598c4a(0x339))]()),(this['_univerInstanceService']=_0xf73c57,this['_userManagerService']=_0x4ddd9d,this[_0x598c4a(0x1b0)](H['merge'](this[_0x598c4a(0x1e0)][_0x598c4a(0x40a)](a[_0x598c4a(0x176)]['UNIVER_SHEET'])[_0x598c4a(0x20c)](V[_0x598c4a(0x462)](_0x2846af=>_0x2846af[_0x598c4a(0x3e2)]())),this[_0x598c4a(0x1e0)][_0x598c4a(0x40a)](a['UniverInstanceType'][_0x598c4a(0x492)])['pipe'](V['map'](_0x32f871=>_0x32f871[_0x598c4a(0x3e2)]())),this['_univerInstanceService'][_0x598c4a(0x40a)](a[_0x598c4a(0x176)][_0x598c4a(0x3a5)])[_0x598c4a(0x20c)](V[_0x598c4a(0x462)](_0xb159ad=>_0xb159ad['getUnitId']())))['subscribe'](_0x55a5a1=>this['_removeRoom'](_0x55a5a1))));}['waitForRoom$'](_0x579e43){var _0x26acd8=_0xf74654;return this[_0x26acd8(0x444)]['has'](_0x579e43)?H['of'](this[_0x26acd8(0x444)][_0x26acd8(0x487)](_0x579e43)):this[_0x26acd8(0x4b0)][_0x26acd8(0x20c)](V[_0x26acd8(0x462)](_0x50bf38=>{var _0x47c4b5=_0x26acd8;if(_0x50bf38===_0x579e43)return this[_0x47c4b5(0x444)][_0x47c4b5(0x487)](_0x50bf38);}));}[_0xf74654(0x39b)](_0x35f23e){this['_userManagerService']['setCurrentUser'](_0x35f23e);}[_0xf74654(0x38f)](){var _0x5e3f07=_0xf74654;return this[_0x5e3f07(0x400)]['getCurrentUser']();}['updateMember'](_0x4edf79,_0x1e0f14){var _0x45a592=_0xf74654;let _0x3bf68f=this[_0x45a592(0x444)][_0x45a592(0x487)](_0x4edf79);_0x3bf68f||(_0x3bf68f=new ai(),this[_0x45a592(0x444)][_0x45a592(0x1e6)](_0x4edf79,_0x3bf68f),this['_roomCreated$'][_0x45a592(0x376)](_0x4edf79)),_0x3bf68f[_0x45a592(0x189)](_0x1e0f14);}[_0xf74654(0x1d1)](_0xfdf893,_0x3b13bd){var _0x495d5f=_0xf74654;const _0x5c3bde=this[_0x495d5f(0x444)][_0x495d5f(0x487)](_0xfdf893);_0x5c3bde&&_0x5c3bde[_0x495d5f(0x1d1)](_0x3b13bd);}['getRoom'](_0x3dd9ca){var _0x2b5944=_0xf74654;return this[_0x2b5944(0x444)][_0x2b5944(0x487)](_0x3dd9ca);}['getMember'](_0x59a55f,_0x552ba4){var _0x5a5854=_0xf74654;const _0x31a1d2=this[_0x5a5854(0x444)][_0x5a5854(0x487)](_0x59a55f);if(_0x31a1d2)return _0x31a1d2[_0x5a5854(0x251)](_0x552ba4);}[_0xf74654(0x1c5)](_0x3f022e){var _0x516f89=_0xf74654;const _0x505387=this[_0x516f89(0x444)][_0x516f89(0x487)](_0x3f022e);_0x505387&&(_0x505387['dispose'](),this[_0x516f89(0x444)][_0x516f89(0x1f4)](_0x3f022e));}[_0xf74654(0x2c1)](){var _0x18eae5=_0xf74654;this['_roomMembers']['forEach'](_0x27665d=>_0x27665d['dispose']()),this[_0x18eae5(0x444)][_0x18eae5(0x3df)](),this[_0x18eae5(0x4b0)][_0x18eae5(0x209)]();}},exports[_0xf74654(0x37b)]=oi([Ke(0x0,a[_0xf74654(0x299)]),Ke(0x1,a[_0xf74654(0x4c2)](a['UserManagerService']))],exports[_0xf74654(0x37b)]);class ai extends a['Disposable']{constructor(){var _0x4a6bb1=_0xf74654;super(...arguments),D(this,'_members',new Map()),D(this,_0x4a6bb1(0x311),new H[(_0x4a6bb1(0x36d))](this[_0x4a6bb1(0x496)])),D(this,'members$',this[_0x4a6bb1(0x311)][_0x4a6bb1(0x241)]());}['dispose'](){var _0x4543e0=_0xf74654;this[_0x4543e0(0x496)][_0x4543e0(0x3df)]();}[_0xf74654(0x189)](_0x574493){var _0x239ca5=_0xf74654;this['_members']['set'](_0x574493[_0x239ca5(0x3cd)],_0x574493),this['_emitMembers']();}['removeMember'](_0x47422e){var _0x53522d=_0xf74654;this[_0x53522d(0x496)][_0x53522d(0x1f4)](_0x47422e);}['getMember'](_0x3e9387){var _0x34e476=_0xf74654;return this[_0x34e476(0x496)][_0x34e476(0x487)](_0x3e9387);}[_0xf74654(0x426)](){var _0x1fa584=_0xf74654;return Array[_0x1fa584(0x290)](this[_0x1fa584(0x496)][_0x1fa584(0x27f)]());}['_emitMembers'](){var _0x1537de=_0xf74654;this[_0x1537de(0x311)]['next'](this[_0x1537de(0x496)]);}}var ci=Object[_0xf74654(0x2cc)],hi=Object[_0xf74654(0x39a)],li=(_0x10044e,_0x39acc1,_0x5c1f69,_0xef9e3f)=>{var _0x465591=_0xf74654;for(var _0x4af79a=_0xef9e3f>0x1?void 0x0:_0xef9e3f?hi(_0x39acc1,_0x5c1f69):_0x39acc1,_0x3690a0=_0x10044e[_0x465591(0x24a)]-0x1,_0x110480;_0x3690a0>=0x0;_0x3690a0--)(_0x110480=_0x10044e[_0x3690a0])&&(_0x4af79a=(_0xef9e3f?_0x110480(_0x39acc1,_0x5c1f69,_0x4af79a):_0x110480(_0x4af79a))||_0x4af79a);return _0xef9e3f&&_0x4af79a&&ci(_0x39acc1,_0x5c1f69,_0x4af79a),_0x4af79a;},oe=(_0x5b8549,_0x51130a)=>(_0x59e533,_0x395304)=>_0x51130a(_0x59e533,_0x395304,_0x5b8549),se=(_0x704094=>(_0x704094[_0x704094[_0xf74654(0x349)]=0x0]='IDLE',_0x704094[_0x704094[_0xf74654(0x410)]=0x1]=_0xf74654(0x410),_0x704094[_0x704094[_0xf74654(0x49f)]=0x2]=_0xf74654(0x49f),_0x704094[_0x704094[_0xf74654(0x497)]=0x3]='ONLINE',_0x704094))(se||{});const Ye={[he[_0xf74654(0x1d3)]]:_0xf74654(0x35b),[he['JOIN_ROOM_FULL']]:_0xf74654(0x3fb),[he['JOIN_ROOM_NOT_EXISTS']]:_0xf74654(0x1b9),[he[_0xf74654(0x16a)]]:_0xf74654(0x3bb),[he[_0xf74654(0x24f)]]:'session.room-cnt-exceeds'};exports[_0xf74654(0x2e7)]=class extends a[_0xf74654(0x325)]{constructor(_0x5f3278,_0x4c73a3,_0x4dcfc7,_0x52e4e9,_0x56a411,_0xae97c8,_0x36fc39,_0x58d24d,_0x353fe1){var _0x2a373f=_0xf74654;super(),D(this,_0x2a373f(0x44c),new H[(_0x2a373f(0x36d))](0x0)),D(this,_0x2a373f(0x314),this[_0x2a373f(0x44c)][_0x2a373f(0x241)]()),D(this,_0x2a373f(0x18b),new H[(_0x2a373f(0x339))]()),D(this,'event$',this[_0x2a373f(0x18b)][_0x2a373f(0x241)]()),D(this,_0x2a373f(0x3ef)),D(this,_0x2a373f(0x17f)),D(this,_0x2a373f(0x28e)),D(this,_0x2a373f(0x1c6),!0x1),D(this,_0x2a373f(0x3c6),null),(this[_0x2a373f(0x220)]=_0x5f3278,this[_0x2a373f(0x390)]=_0x4dcfc7,this['_configService']=_0x52e4e9,this['_localeService']=_0x56a411,this[_0x2a373f(0x2e8)]=_0xae97c8,this['_commentService']=_0x36fc39,this[_0x2a373f(0x180)]=_0x58d24d,this[_0x2a373f(0x466)]=_0x353fe1,this[_0x2a373f(0x1c6)]=!!this[_0x2a373f(0x466)],_0x4c73a3[_0x2a373f(0x20c)](H[_0x2a373f(0x307)](this[_0x2a373f(0x149)]))[_0x2a373f(0x203)](_0x2e9a9c=>{var _0x41988e=_0x2a373f,_0x5922c6;typeof _0x2e9a9c>'u'||(this[_0x41988e(0x3ef)]=_0x2e9a9c,_0x2e9a9c?(this[_0x41988e(0x18d)](_0x2e9a9c),this[_0x41988e(0x17f)]=_0x2e9a9c[_0x41988e(0x2db)][_0x41988e(0x203)](_0x53697a=>{var _0x1dff4d=_0x41988e;_0x53697a[_0x1dff4d(0x3ca)]===this['_unitID']&&this[_0x1dff4d(0x42e)](_0x53697a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x41988e(0x44c)][_0x41988e(0x376)](0x2),(_0x5922c6=this[_0x41988e(0x17f)])==null||_0x5922c6['unsubscribe'](),this[_0x41988e(0x17f)]=null));}));}get['sessionStatus'](){var _0x502319=_0xf74654;return this[_0x502319(0x44c)]['getValue']();}['getMemberID'](){var _0xb84b87=_0xf74654,_0x2c6c4d,_0x157508;return(_0x157508=(_0x2c6c4d=this[_0xb84b87(0x3ef)])==null?void 0x0:_0x2c6c4d[_0xb84b87(0x3cd)])!=null?_0x157508:null;}[_0xf74654(0x2c1)](){var _0x10ee23=_0xf74654;super[_0x10ee23(0x2c1)](),this[_0x10ee23(0x149)][_0x10ee23(0x376)](),this[_0x10ee23(0x149)][_0x10ee23(0x209)]();}[_0xf74654(0x21e)](){var _0x19d9ad=_0xf74654,_0xcbbc56,_0x4bbe09;this[_0x19d9ad(0x276)](),(_0xcbbc56=this[_0x19d9ad(0x3ef)])==null||_0xcbbc56[_0x19d9ad(0x46b)]({'cmd':G[_0x19d9ad(0x2c0)],'data':{'roomID':this[_0x19d9ad(0x220)]}}),(_0x4bbe09=this[_0x19d9ad(0x3ef)])==null||_0x4bbe09[_0x19d9ad(0x21e)](),this['_event$']['complete'](),this[_0x19d9ad(0x44c)][_0x19d9ad(0x209)](),this[_0x19d9ad(0x2c1)]();}[_0xf74654(0x42e)](_0xf6ccc1){var _0x359c6a=_0xf74654;_0xf6ccc1[_0x359c6a(0x4af)]===G[_0x359c6a(0x365)]?this['_onJoinRoomEvent'](_0xf6ccc1):_0xf6ccc1[_0x359c6a(0x4af)]===G[_0x359c6a(0x455)]&&this[_0x359c6a(0x2a2)](_0xf6ccc1);}[_0xf74654(0x18d)](_0x5c3319){var _0x2e5c5f=_0xf74654;this[_0x2e5c5f(0x44c)][_0x2e5c5f(0x376)](0x1),_0x5c3319[_0x2e5c5f(0x46b)]({'cmd':G[_0x2e5c5f(0x365)],'routeKey':this[_0x2e5c5f(0x220)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xf74654(0x236)](_0xace0d3){var _0x14630d=_0xf74654,_0x1b26da;if(_0xace0d3[_0x14630d(0x1d5)]in Ye){this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x14630d(0x3e0)],'data':Ye[_0xace0d3[_0x14630d(0x1d5)]]}),this[_0x14630d(0x44c)]['next'](0x2);return;}this[_0x14630d(0x44c)]['next'](0x3);const _0x3d8022=(_0x1b26da=_0xace0d3[_0x14630d(0x32f)][_0x14630d(0x1dd)][this[_0x14630d(0x220)]])==null?void 0x0:_0x1b26da[_0x14630d(0x1e8)];_0x3d8022&&_0x3d8022[_0x14630d(0x4c1)](_0x1635a7=>this['_memberService'][_0x14630d(0x189)](this[_0x14630d(0x220)],_0x1635a7));}['_onRecvEvent'](_0x215247){var _0x81eab7=_0xf74654;try{const _0x1076f7=_0x215247[_0x81eab7(0x32f)];switch(_0x1076f7[_0x81eab7(0x458)]){case m[_0x81eab7(0x486)]['USERS_ENTER']:this[_0x81eab7(0x4a3)](_0x1076f7),this[_0x81eab7(0x18b)]['next'](_0x1076f7);break;case m['CollaborationEvent'][_0x81eab7(0x19e)]:this['_onUserLeave'](_0x1076f7),this[_0x81eab7(0x18b)][_0x81eab7(0x376)](_0x1076f7);break;case m[_0x81eab7(0x486)][_0x81eab7(0x35e)]:case m['CollaborationEvent'][_0x81eab7(0x488)]:this[_0x81eab7(0x44a)](),this[_0x81eab7(0x36e)](),this['_event$'][_0x81eab7(0x376)](_0x1076f7);break;case m['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x81eab7(0x390)]['error'](_0x81eab7(0x331)+JSON[_0x81eab7(0x17e)](_0x1076f7)),this[_0x81eab7(0x18b)]['next'](_0x1076f7);break;case m[_0x81eab7(0x486)][_0x81eab7(0x388)]:this[_0x81eab7(0x2ab)][_0x81eab7(0x272)](_0x1076f7[_0x81eab7(0x32f)]),this[_0x81eab7(0x18b)][_0x81eab7(0x376)](_0x1076f7);break;default:this['_event$'][_0x81eab7(0x376)](_0x1076f7);}}catch(_0x6926e6){this[_0x81eab7(0x390)]['error'](_0x6926e6,_0x215247);}}[_0xf74654(0x4a3)](_0x3c9a4d){var _0x46c279=_0xf74654;this[_0x46c279(0x2e8)][_0x46c279(0x189)](this[_0x46c279(0x220)],_0x3c9a4d[_0x46c279(0x32f)]);}[_0xf74654(0x277)](_0x3079b7){var _0x30dee6=_0xf74654;this['_memberService']['removeMember'](this[_0x30dee6(0x220)],_0x3079b7[_0x30dee6(0x32f)]['memberID']);}async[_0xf74654(0x46b)](_0x42303f,_0x25c61b){var _0x5e332c=_0xf74654;if(this['sessionStatus']!==0x3||!this[_0x5e332c(0x3ef)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x42303f[_0x5e332c(0x458)]===m[_0x5e332c(0x486)][_0x5e332c(0x1c0)]&&(this[_0x5e332c(0x1ed)](),this[_0x5e332c(0x210)](_0x42303f)),this['_socket'][_0x5e332c(0x46b)]({'cmd':G[_0x5e332c(0x156)],'routeKey':_0x25c61b,'routeType':'','data':_0x42303f});}catch(_0xca8222){this[_0x5e332c(0x390)][_0x5e332c(0x312)](_0xca8222);}}[_0xf74654(0x1ed)](){var _0x32df17=_0xf74654,_0x49b233;this[_0x32df17(0x28e)]=setTimeout(()=>{this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x49b233=this[_0x32df17(0x1f7)]['getConfig'](He))!=null?_0x49b233:gt);}[_0xf74654(0x36e)](){var _0x3d23ce=_0xf74654;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3d23ce(0x28e)]),this['_collaborationTimeoutTimer']=null);}[_0xf74654(0x210)](_0xdb8aba){var _0x4aee64=_0xf74654;if(!this[_0x4aee64(0x1c6)])return;const {data:_0x2cf97b}=_0xdb8aba,{unitID:_0x7db006,changeset:_0x1ca1ea}=_0x2cf97b,{mutations:_0x5c007a,type:_0x2a1463}=_0x1ca1ea;this[_0x4aee64(0x3c6)]={'unitId':_0x7db006,'type':_0x2a1463,'startTime':performance[_0x4aee64(0x441)](),'stopTime':0x0,'duration':0x0,'size':ni(_0x5c007a)};}[_0xf74654(0x44a)](){var _0x5dfdb9=_0xf74654;if(this[_0x5dfdb9(0x1c6)]){if(!this[_0x5dfdb9(0x3c6)]){this['_logService'][_0x5dfdb9(0x312)]('[CollaborationSession]',_0x5dfdb9(0x298));return;}this[_0x5dfdb9(0x3c6)][_0x5dfdb9(0x38b)]=performance['now'](),this[_0x5dfdb9(0x3c6)]['duration']=this[_0x5dfdb9(0x3c6)][_0x5dfdb9(0x38b)]-this[_0x5dfdb9(0x3c6)][_0x5dfdb9(0x2f5)],this[_0x5dfdb9(0x466)][_0x5dfdb9(0x214)](ii,this[_0x5dfdb9(0x3c6)]),this[_0x5dfdb9(0x3c6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4999d5=_0xf74654;this[_0x4999d5(0x3c6)]=null;}},exports[_0xf74654(0x2e7)]=li([oe(0x2,a[_0xf74654(0x301)]),oe(0x3,a[_0xf74654(0x3f1)]),oe(0x4,a[_0xf74654(0x4c2)](a[_0xf74654(0x36a)])),oe(0x5,a[_0xf74654(0x4c2)](exports[_0xf74654(0x37b)])),oe(0x6,a[_0xf74654(0x4c2)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0xf74654(0x2e0)](xt['ITelemetryService']))],exports[_0xf74654(0x2e7)]);var _i=Object[_0xf74654(0x2cc)],ui=Object[_0xf74654(0x39a)],di=(_0x1fef3c,_0x2d02b5,_0x44a622,_0x3ea2ca)=>{var _0x2bf31d=_0xf74654;for(var _0x5eaf0b=_0x3ea2ca>0x1?void 0x0:_0x3ea2ca?ui(_0x2d02b5,_0x44a622):_0x2d02b5,_0x5a7100=_0x1fef3c[_0x2bf31d(0x24a)]-0x1,_0x35449b;_0x5a7100>=0x0;_0x5a7100--)(_0x35449b=_0x1fef3c[_0x5a7100])&&(_0x5eaf0b=(_0x3ea2ca?_0x35449b(_0x2d02b5,_0x44a622,_0x5eaf0b):_0x35449b(_0x5eaf0b))||_0x5eaf0b);return _0x3ea2ca&&_0x5eaf0b&&_i(_0x2d02b5,_0x44a622,_0x5eaf0b),_0x5eaf0b;},ae=(_0x34a162,_0x5502ec)=>(_0x5e48fb,_0x2fbac0)=>_0x5502ec(_0x5e48fb,_0x2fbac0,_0x34a162);exports[_0xf74654(0x3d4)]=class extends a[_0xf74654(0x356)]{constructor(_0x5a498c,_0x4c6eba,_0x3bf022,_0x2c1d51,_0xeac5f7,_0x4af5e1,_0x591fe0){var _0xa9c9d7=_0xf74654;super(),D(this,'_socket$',new H[(_0xa9c9d7(0x36d))](void 0x0)),D(this,_0xa9c9d7(0x337),this[_0xa9c9d7(0x33e)][_0xa9c9d7(0x241)]()),D(this,_0xa9c9d7(0x427),null),D(this,_0xa9c9d7(0x134),new Map()),D(this,_0xa9c9d7(0x289),new H['BehaviorSubject'](se[_0xa9c9d7(0x349)])),D(this,'status$',this[_0xa9c9d7(0x289)][_0xa9c9d7(0x241)]()),D(this,_0xa9c9d7(0x2e6),!0x1),D(this,_0xa9c9d7(0x288)),D(this,_0xa9c9d7(0x398),0x0),D(this,_0xa9c9d7(0x320)),D(this,_0xa9c9d7(0x3f7)),(this[_0xa9c9d7(0x2e3)]=_0x5a498c,this[_0xa9c9d7(0x390)]=_0x4c6eba,this['_configService']=_0x3bf022,this[_0xa9c9d7(0x3fa)]=_0x2c1d51,this['_httpService']=_0xeac5f7,this[_0xa9c9d7(0x180)]=_0x4af5e1,this[_0xa9c9d7(0x318)]=_0x591fe0,this[_0xa9c9d7(0x274)]());}get[_0xf74654(0x3ef)](){var _0x72d68b=_0xf74654;return this['_socket$'][_0x72d68b(0x2dd)]();}[_0xf74654(0x274)](){var _0x416ec7=_0xf74654;this[_0x416ec7(0x318)]&&this[_0x416ec7(0x1b0)](this['_networkConditionService'][_0x416ec7(0x45e)][_0x416ec7(0x203)](_0x56031d=>{var _0x3436c3=_0x416ec7;_0x56031d&&!this[_0x3436c3(0x3ef)]&&this['reconnect'](),_0x56031d||this[_0x3436c3(0x2d4)]();}));}[_0xf74654(0x2c1)](){var _0x584038=_0xf74654;super[_0x584038(0x2c1)](),this[_0x584038(0x134)]['forEach'](_0x1c8f4f=>_0x1c8f4f['dispose']()),this[_0x584038(0x134)]['clear'](),this[_0x584038(0x289)][_0x584038(0x209)]();}async[_0xf74654(0x39f)](_0x2db7d1){var _0x1ed401=_0xf74654;if(this[_0x1ed401(0x134)][_0x1ed401(0x31d)](_0x2db7d1))return this[_0x1ed401(0x134)][_0x1ed401(0x487)](_0x2db7d1);this[_0x1ed401(0x382)]();const _0x208346=this[_0x1ed401(0x2e3)][_0x1ed401(0x1f9)](exports[_0x1ed401(0x2e7)],_0x2db7d1,this[_0x1ed401(0x33e)][_0x1ed401(0x241)]());return this[_0x1ed401(0x134)][_0x1ed401(0x1e6)](_0x2db7d1,_0x208346),_0x208346;}['closeSession'](_0x3be223){var _0x3cfa40=_0xf74654,_0x360c61;const _0x516f6a=this[_0x3cfa40(0x134)][_0x3cfa40(0x487)](_0x3be223);_0x516f6a&&(this[_0x3cfa40(0x134)][_0x3cfa40(0x1f4)](_0x3be223),_0x516f6a[_0x3cfa40(0x21e)]()),this[_0x3cfa40(0x134)][_0x3cfa40(0x43b)]||(_0x360c61=this[_0x3cfa40(0x3ef)])==null||_0x360c61[_0x3cfa40(0x21e)]();}[_0xf74654(0x1be)](){var _0x3b9a38=_0xf74654;this[_0x3b9a38(0x398)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3b9a38(0x288)]),this[_0x3b9a38(0x288)]=null),this[_0x3b9a38(0x175)]();}async[_0xf74654(0x37d)](){var _0x2bfb86=_0xf74654,_0x354f55,_0x8ea33e,_0xb9f28c;const _0x345ced=this['_configService'][_0x2bfb86(0x3cf)](q),_0x7c316d=(_0x354f55=_0x345ced==null?void 0x0:_0x345ced['wsSessionTicketUrl'])!=null?_0x354f55:Bt;return(_0xb9f28c=(_0x8ea33e=(await this['_httpService']['get'](_0x7c316d,{'headers':{'Content-Type':_0x2bfb86(0x419)}}))[_0x2bfb86(0x326)])==null?void 0x0:_0x8ea33e[_0x2bfb86(0x3bf)])!=null?_0xb9f28c:'';}[_0xf74654(0x21a)](_0x47a6d7){var _0x4fefa2=_0xf74654,_0x1ac549,_0x5b3183;const _0x3f5db8=this['_configService'][_0x4fefa2(0x3cf)](ft),_0x4f21eb=this['_configService']['getConfig'](q),_0x125c33=(_0x5b3183=(_0x1ac549=_0x4f21eb==null?void 0x0:_0x4f21eb[_0x4fefa2(0x33a)])!=null?_0x1ac549:_0x3f5db8)!=null?_0x5b3183:St,_0x370ba2=typeof window>'u'?new URL(_0x125c33):new URL(_0x125c33,window[_0x4fefa2(0x18c)][_0x4fefa2(0x1b1)]);_0x370ba2[_0x4fefa2(0x45d)]['set'](_0x4fefa2(0x33b),_0x47a6d7);const _0x2e6e2a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x2e6e2a[_0x4fefa2(0x487)](_0x4fefa2(0x369))&&_0x370ba2['searchParams'][_0x4fefa2(0x1e6)](_0x4fefa2(0x369),_0x2e6e2a[_0x4fefa2(0x487)](_0x4fefa2(0x369))),_0x370ba2['toString']();}async[_0xf74654(0x204)](){var _0x454970=_0xf74654;const _0x27a04f=await this[_0x454970(0x37d)](),_0x57886e=this[_0x454970(0x21a)](_0x27a04f),_0x5ddd52=this['_socketService']['createSocket'](_0x57886e);return this[_0x454970(0x427)]=_0x5ddd52,_0x5ddd52;}async['_tryEnsureSocket'](){var _0x66d34f=_0xf74654,_0x1e130b,_0x2a5c88;try{const _0x424db9=(_0x2a5c88=(_0x1e130b=this[_0x66d34f(0x3ef)])!=null?_0x1e130b:this[_0x66d34f(0x427)])!=null?_0x2a5c88:await this['_createSocket']();if(_0x424db9){const _0x3a40a3=_0x424db9[_0x66d34f(0x46b)];_0x424db9[_0x66d34f(0x46b)]=_0xd974b1=>(this[_0x66d34f(0x4bf)](),_0x3a40a3[_0x66d34f(0x25a)](_0x424db9,[_0xd974b1])),_0x424db9[_0x66d34f(0x2db)][_0x66d34f(0x203)](_0x11ae6d=>this[_0x66d34f(0x212)](_0x424db9,_0x11ae6d)),_0x424db9['error$'][_0x66d34f(0x20c)](V[_0x66d34f(0x44d)](0x1))['subscribe'](_0x32a436=>this['_logService']['error'](_0x66d34f(0x227),_0x32a436)),_0x424db9[_0x66d34f(0x43a)]['pipe'](V[_0x66d34f(0x44d)](0x1))[_0x66d34f(0x203)](()=>{var _0xeafe00=_0x66d34f;this[_0xeafe00(0x394)](_0x424db9);}),_0x424db9[_0x66d34f(0x38a)][_0x66d34f(0x20c)](V['take'](0x1))[_0x66d34f(0x203)](_0x3ed850=>{var _0x3da3b8=_0x66d34f;this[_0x3da3b8(0x390)][_0x3da3b8(0x47f)](_0x3da3b8(0x3d5),_0x3da3b8(0x1ae),_0x3ed850),this[_0x3da3b8(0x302)]();});}}catch(_0x46227f){this[_0x66d34f(0x390)][_0x66d34f(0x312)](_0x46227f),this['_onConnectionFailed']();}}[_0xf74654(0x394)](_0x1e0d03){var _0x1ff37d=_0xf74654;this['_logService'][_0x1ff37d(0x47f)]('[CollaborationSessionService]','socket\x20open.'),_0x1e0d03[_0x1ff37d(0x46b)]({'cmd':G[_0x1ff37d(0x4aa)]}),this[_0x1ff37d(0x4bf)]();}[_0xf74654(0x2d4)](){var _0x3a87d4=_0xf74654;this[_0x3a87d4(0x2e6)]=!0x1,this[_0x3a87d4(0x427)]=null,this['_status$'][_0x3a87d4(0x376)](se['OFFLINE']),this[_0x3a87d4(0x33e)]['next'](null),this[_0x3a87d4(0x42d)](),this[_0x3a87d4(0x422)]();}['_onConnectionFailed'](){var _0x32b025=_0xf74654,_0x20530d;this[_0x32b025(0x2d4)](),this['_retryCount']<((_0x20530d=this[_0x32b025(0x1f7)]['getConfig'](mt))!=null?_0x20530d:Vt)?(this[_0x32b025(0x180)][_0x32b025(0x1cc)]({'id':Q[_0x32b025(0x476)]}),this[_0x32b025(0x175)]()):this[_0x32b025(0x180)][_0x32b025(0x1cc)]({'id':Q[_0x32b025(0x1ce)]});}[_0xf74654(0x175)](){var _0x1d08ce=_0xf74654,_0x595cfb;const _0x4f02e5=this[_0x1d08ce(0x398)],_0x5af09f=this[_0x1d08ce(0x1f7)][_0x1d08ce(0x3cf)](q),_0x15dba2=_0x4f02e5===0x0?0x0:((_0x595cfb=_0x5af09f==null?void 0x0:_0x5af09f[_0x1d08ce(0x40f)])!=null?_0x595cfb:Wt)*0x2**_0x4f02e5;this[_0x1d08ce(0x288)]=setTimeout(()=>{var _0x2816e9=_0x1d08ce;clearTimeout(this[_0x2816e9(0x288)]),this[_0x2816e9(0x288)]=null,this[_0x2816e9(0x382)]();},_0x15dba2),this[_0x1d08ce(0x398)]+=0x1;}[_0xf74654(0x212)](_0x177f52,_0x27c226){var _0x278882=_0xf74654;const {cmd:_0x5a86af}=_0x27c226;_0x5a86af===G['HELLO']&&!this[_0x278882(0x2e6)]&&(_0x177f52['memberID']=_0x27c226[_0x278882(0x32f)][_0x278882(0x3cd)],this[_0x278882(0x33e)][_0x278882(0x376)](_0x177f52),this['_status$'][_0x278882(0x376)](se['ONLINE']),this[_0x278882(0x2e6)]=!0x0,this[_0x278882(0x427)]=null),_0x5a86af===G[_0x278882(0x26a)]&&this[_0x278882(0x42d)](),this[_0x278882(0x4bf)]();}[_0xf74654(0x4bf)](){var _0x2cb8be=_0xf74654,_0x439605;this[_0x2cb8be(0x422)](),this[_0x2cb8be(0x320)]=setTimeout(()=>this[_0x2cb8be(0x48e)](),(_0x439605=this[_0x2cb8be(0x1f7)][_0x2cb8be(0x3cf)](pt))!=null?_0x439605:Ft);}['_sendHeartbeat'](){var _0x47be1b=_0xf74654;this['_socket'][_0x47be1b(0x46b)]({'cmd':G[_0x47be1b(0x26a)]}),this[_0x47be1b(0x43c)]();}[_0xf74654(0x43c)](){var _0xf3b56c=_0xf74654,_0xcf7ce6;this[_0xf3b56c(0x3f7)]=setTimeout(()=>this[_0xf3b56c(0x302)](),(_0xcf7ce6=this[_0xf3b56c(0x1f7)][_0xf3b56c(0x3cf)](He))!=null?_0xcf7ce6:gt);}[_0xf74654(0x422)](){var _0x26ea61=_0xf74654;this[_0x26ea61(0x320)]!=null&&(clearTimeout(this[_0x26ea61(0x320)]),this[_0x26ea61(0x320)]=null);}[_0xf74654(0x42d)](){var _0x1a30cb=_0xf74654;this[_0x1a30cb(0x3f7)]!=null&&(clearTimeout(this[_0x1a30cb(0x3f7)]),this[_0x1a30cb(0x3f7)]=null);}},exports['CollaborationSessionService']=di([ae(0x0,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),ae(0x1,a[_0xf74654(0x301)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a['Inject'](z[_0xf74654(0x24c)])),ae(0x5,a[_0xf74654(0x4c2)](te)),ae(0x6,a['Optional'](bt))],exports[_0xf74654(0x3d4)]);const K=[];for(let r=0x0;r<0x100;++r)K['push']((r+0x100)['toString'](0x10)[_0xf74654(0x27b)](0x1));function vi(_0x488cec,_0x8744e6=0x0){return(K[_0x488cec[_0x8744e6+0x0]]+K[_0x488cec[_0x8744e6+0x1]]+K[_0x488cec[_0x8744e6+0x2]]+K[_0x488cec[_0x8744e6+0x3]]+'-'+K[_0x488cec[_0x8744e6+0x4]]+K[_0x488cec[_0x8744e6+0x5]]+'-'+K[_0x488cec[_0x8744e6+0x6]]+K[_0x488cec[_0x8744e6+0x7]]+'-'+K[_0x488cec[_0x8744e6+0x8]]+K[_0x488cec[_0x8744e6+0x9]]+'-'+K[_0x488cec[_0x8744e6+0xa]]+K[_0x488cec[_0x8744e6+0xb]]+K[_0x488cec[_0x8744e6+0xc]]+K[_0x488cec[_0x8744e6+0xd]]+K[_0x488cec[_0x8744e6+0xe]]+K[_0x488cec[_0x8744e6+0xf]])['toLowerCase']();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x20cfa4=_0xf74654;if(!Ue){if(typeof crypto>'u'||!crypto[_0x20cfa4(0x21d)])throw new Error(_0x20cfa4(0x2eb));Ue=crypto[_0x20cfa4(0x21d)][_0x20cfa4(0x206)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0xf74654(0x2bc)]&&crypto['randomUUID'][_0xf74654(0x206)](crypto),qe={'randomUUID':pi};function gi(_0x2597ac,_0x37512d,_0x5a0ebd){var _0xd9755c=_0xf74654;if(qe['randomUUID']&&!_0x37512d&&!_0x2597ac)return qe[_0xd9755c(0x2bc)]();_0x2597ac=_0x2597ac||{};const _0x2d524a=_0x2597ac[_0xd9755c(0x1a3)]||(_0x2597ac['rng']||Si)();return _0x2d524a[0x6]=_0x2d524a[0x6]&0xf|0x40,_0x2d524a[0x8]=_0x2d524a[0x8]&0x3f|0x80,vi(_0x2d524a);}const J=a[_0xf74654(0x22e)](_0xf74654(0x37c));function mi(_0x2112d6){var _0x197598=_0xf74654;return _0x197598(0x3d1)+_0x2112d6;}var Ii=Object['defineProperty'],Ei=Object['getOwnPropertyDescriptor'],Ci=(_0x3179f8,_0x2ae762,_0x32f43c,_0x611e6f)=>{for(var _0x1ae52d=_0x611e6f>0x1?void 0x0:_0x611e6f?Ei(_0x2ae762,_0x32f43c):_0x2ae762,_0x58fa75=_0x3179f8['length']-0x1,_0x41aadc;_0x58fa75>=0x0;_0x58fa75--)(_0x41aadc=_0x3179f8[_0x58fa75])&&(_0x1ae52d=(_0x611e6f?_0x41aadc(_0x2ae762,_0x32f43c,_0x1ae52d):_0x41aadc(_0x1ae52d))||_0x1ae52d);return _0x611e6f&&_0x1ae52d&&Ii(_0x2ae762,_0x32f43c,_0x1ae52d),_0x1ae52d;},De=(_0x108047,_0xe36a9f)=>(_0xd7498,_0x5d0771)=>_0xe36a9f(_0xd7498,_0x5d0771,_0x108047);function Ti(_0x5f46fe){var _0xdc2096=_0xf74654;const {unitID:_0x3e88b7,mutations:_0x15d3ff}=_0x5f46fe;return{'unitId':_0x3e88b7,'subUnitId':_0x15d3ff[0x0][_0xdc2096(0x2b1)][_0xdc2096(0x3e5)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x1991f4,_0x5ca235,_0x3f5c5a){var _0xbad7aa=_0xf74654;this['_injector']=_0x1991f4,this[_0xbad7aa(0x435)]=_0x5ca235,this[_0xbad7aa(0x273)]=_0x3f5c5a;}[_0xf74654(0x48c)](_0x9906aa){var _0x1705e7=_0xf74654,_0x1a8582,_0x20704c,_0x2a538d,_0x29ec6f;const _0x3a6124=this[_0x1705e7(0x2e3)][_0x1705e7(0x487)](W[_0x1705e7(0x4a7)]),{unitId:_0x1df73b,subUnitId:_0x3283f8}=Ti(_0x9906aa),_0x467a09=_0x3a6124==null?void 0x0:_0x3a6124[_0x1705e7(0x2a0)](_0x1df73b)[_0x1705e7(0x2ed)](),_0x5809cb=(_0x20704c=(_0x1a8582=this[_0x1705e7(0x273)][_0x1705e7(0x2a3)](_0x1df73b))==null?void 0x0:_0x1a8582['getActiveSheet']())==null?void 0x0:_0x20704c['getSheetId']();if(_0x467a09[_0x1705e7(0x24a)]===0x0||!_0x1df73b||!_0x3283f8)return;const _0x4750e9=[{'id':W[_0x1705e7(0x2e5)]['id'],'params':{'unitId':_0x1df73b,'subUnitId':_0x5809cb,'selections':a[_0x1705e7(0x262)]['deepClone'](_0x467a09)}}],_0x298b36=this[_0x1705e7(0x435)][_0x1705e7(0x3f5)](_0x9906aa,_0x4750e9);if(!m[_0x1705e7(0x3b8)](_0x298b36))throw _0x298b36[_0x1705e7(0x312)];const _0x25252b=(_0x29ec6f=(_0x2a538d=_0x298b36[_0x1705e7(0x4b5)][0x0])==null?void 0x0:_0x2a538d[_0x1705e7(0x2b1)])==null?void 0x0:_0x29ec6f[_0x1705e7(0x38c)];if(Array[_0x1705e7(0x421)](_0x25252b)&&_0x25252b['length']){if(_0x25252b[_0x1705e7(0x24a)]===_0x4750e9[0x0][_0x1705e7(0x2b1)][_0x1705e7(0x38c)][_0x1705e7(0x24a)]&&_0x25252b['every']((_0x5709b5,_0x57fd2f)=>a[_0x1705e7(0x25e)][_0x1705e7(0x1a0)](_0x5709b5[_0x1705e7(0x4ad)],_0x4750e9[0x0]['params'][_0x1705e7(0x38c)][_0x57fd2f]['range'])))return;this[_0x1705e7(0x2e3)][_0x1705e7(0x487)](a[_0x1705e7(0x340)])[_0x1705e7(0x3bd)](W[_0x1705e7(0x2e5)]['id'],{'unitId':_0x1df73b,'subUnitId':_0x5809cb,'selections':_0x25252b});}}},exports[_0xf74654(0x471)]=Ci([De(0x0,a[_0xf74654(0x4c2)](a['Injector'])),De(0x1,m[_0xf74654(0x44e)]),De(0x2,a[_0xf74654(0x299)])],exports[_0xf74654(0x471)]);const ve=a[_0xf74654(0x22e)](_0xf74654(0x2ad));var Fe=(_0x18fac0=>(_0x18fac0[_0x18fac0[_0xf74654(0x418)]=0x0]=_0xf74654(0x418),_0x18fac0[_0x18fac0[_0xf74654(0x446)]=0x1]=_0xf74654(0x446),_0x18fac0))(Fe||{});const bi=new Set([W[_0xf74654(0x481)]['id']]);function ze(_0x57c1a8,_0x204acb,_0x2d53ed,_0x3a10bd,_0x4e3239){var _0x31a62f=_0xf74654,_0x279e13,_0x208e39,_0x4d6329,_0x20086b;const _0xbf575d=[];for(const _0xde1473 of _0x57c1a8)if(bi[_0x31a62f(0x31d)](_0xde1473['id'])){if(_0xbf575d[_0x31a62f(0x24a)]>0x0)break;_0xbf575d['push'](_0xde1473);break;}else _0xbf575d[_0x31a62f(0x21b)](_0xde1473);const _0x44feb9=(_0x208e39=(_0x279e13=_0x4e3239[_0x31a62f(0x38f)]())==null?void 0x0:_0x279e13[_0x31a62f(0x378)])!=null?_0x208e39:_0x31a62f(0x296),_0x4fee45=(_0x20086b=(_0x4d6329=_0x4e3239['getCurrentUser']())==null?void 0x0:_0x4d6329[_0x31a62f(0x3cd)])!=null?_0x20086b:_0x31a62f(0x296);return{'changeset':{'unitID':_0x204acb,'type':m[_0x31a62f(0x368)](_0x2d53ed[_0x31a62f(0x413)](_0x204acb)),'baseRev':_0x3a10bd[_0x31a62f(0x420)](_0x204acb),'revision':0x0,'userID':_0x44feb9,'memberID':_0x4fee45,'mutations':_0xbf575d},'pendingMutations':_0x57c1a8[_0x31a62f(0x27b)](_0xbf575d[_0x31a62f(0x24a)])};}function Ri(_0x96b10e,_0x1322b4,_0x310f72,_0x122044,_0x520444){var _0x213b53=_0xf74654,_0x5779b7,_0x391494,_0x40eed8,_0x3dbb67;const _0x4652c5=[_0x96b10e['reduce']((_0x5a0255,_0x30232a)=>{var _0x56443f=_0x201f,_0x18c0fc;const {id:_0x1412b3}=_0x5a0255,{id:_0x906b0d,type:_0x50b6b3}=_0x30232a,_0x5a3591=(_0x18c0fc=_0x5a0255[_0x56443f(0x2b1)])!=null?_0x18c0fc:{'actions':null},_0x2e366a=_0x30232a[_0x56443f(0x2b1)];if(_0x1412b3&&_0x1412b3!==_0x906b0d)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1412b3+'\x20-\x20'+_0x906b0d+'.');return{..._0x5a0255,'id':_0x906b0d,'type':_0x50b6b3,'params':{'unitId':_0x2e366a[_0x56443f(0x2a4)],'textRanges':_0x2e366a[_0x56443f(0x258)],'actions':a[_0x56443f(0x294)]['compose'](_0x5a3591[_0x56443f(0x3f8)],_0x2e366a[_0x56443f(0x3f8)])}};},{})],_0x4bb338=(_0x391494=(_0x5779b7=_0x520444[_0x213b53(0x38f)]())==null?void 0x0:_0x5779b7[_0x213b53(0x378)])!=null?_0x391494:'unknown',_0x38511d=(_0x3dbb67=(_0x40eed8=_0x520444[_0x213b53(0x38f)]())==null?void 0x0:_0x40eed8['memberID'])!=null?_0x3dbb67:'unknown';return{'changeset':{'unitID':_0x1322b4,'type':m['mapDocumentTypeToUniverType'](_0x310f72[_0x213b53(0x413)](_0x1322b4)),'baseRev':_0x122044[_0x213b53(0x420)](_0x1322b4),'revision':0x0,'userID':_0x4bb338,'memberID':_0x38511d,'mutations':_0x4652c5},'pendingMutations':[]};}function yt(_0x3c1e9a,_0x377f13){var _0x1058b0=_0xf74654;const _0x5d3d73=new H[(_0x1058b0(0x267))](0x1);return setTimeout(()=>_0x5d3d73['next'](_0x377f13),_0x3c1e9a),_0x5d3d73[_0x1058b0(0x241)]()['pipe'](H[_0x1058b0(0x44d)](0x1));}const Oi={'id':W[_0xf74654(0x4a1)]['id'],'type':a[_0xf74654(0x46d)][_0xf74654(0x1db)],'params':{}};var yi=Object['defineProperty'],Pi=Object[_0xf74654(0x39a)],le=(_0x3e8f7e,_0x18f45e,_0xd22a16,_0x20ef8d)=>{var _0x554e4c=_0xf74654;for(var _0x1a645b=_0x20ef8d>0x1?void 0x0:_0x20ef8d?Pi(_0x18f45e,_0xd22a16):_0x18f45e,_0x5e8026=_0x3e8f7e[_0x554e4c(0x24a)]-0x1,_0x1a6f31;_0x5e8026>=0x0;_0x5e8026--)(_0x1a6f31=_0x3e8f7e[_0x5e8026])&&(_0x1a645b=(_0x20ef8d?_0x1a6f31(_0x18f45e,_0xd22a16,_0x1a645b):_0x1a6f31(_0x1a645b))||_0x1a645b);return _0x20ef8d&&_0x1a645b&&yi(_0x18f45e,_0xd22a16,_0x1a645b),_0x1a645b;},A=(_0x1a9eac,_0x4a4f09)=>(_0x3e386e,_0x3746d6)=>_0x4a4f09(_0x3e386e,_0x3746d6,_0x1a9eac),We=(_0x1f6bef=>(_0x1f6bef[_0xf74654(0x37a)]=_0xf74654(0x305),_0x1f6bef[_0xf74654(0x3fc)]=_0xf74654(0x32e),_0x1f6bef['PENDING']='pending',_0x1f6bef['AWAITING']=_0xf74654(0x239),_0x1f6bef[_0xf74654(0x1e5)]=_0xf74654(0x417),_0x1f6bef['FETCH_MISS']='fetch_missing',_0x1f6bef[_0xf74654(0x448)]=_0xf74654(0x3f3),_0x1f6bef[_0xf74654(0x49f)]=_0xf74654(0x158),_0x1f6bef))(We||{});const Pt=0xea60;class _e{constructor(_0x42e4f3,_0x3d6bb5,_0xbd436b,_0x40d2a4,_0x25f8cf,_0x57a6bb,_0x13ea7e,_0x3b81fe,_0x396395){var _0x182bee=_0xf74654;D(this,_0x182bee(0x2bf),null),D(this,_0x182bee(0x17b),[]),(this[_0x182bee(0x4ae)]=_0x42e4f3,this['type']=_0x3d6bb5,this['_handler']=_0x25f8cf,this[_0x182bee(0x1b4)]=_0x57a6bb,this[_0x182bee(0x341)]=_0x13ea7e,this['_revisionService']=_0x3b81fe,this['_localCacheService']=_0x396395,this[_0x182bee(0x2bf)]=_0xbd436b,this['_pendingMutations']=_0x40d2a4);}[_0xf74654(0x194)](_0x4a0bd2){var _0x4b202=_0xf74654;const _0x5cbc22=this[_0x4b202(0x187)][_0x4b202(0x420)](this[_0x4b202(0x4ae)]);return _0x4a0bd2[_0x4b202(0x328)]>_0x5cbc22+0x1?(this[_0x4b202(0x28f)][_0x4b202(0x472)]({'from':_0x5cbc22,'to':_0x4a0bd2[_0x4b202(0x328)]-0x1}),!0x0):!0x1;}[_0xf74654(0x3b4)](_0x3c919f){var _0x4b1c1f=_0xf74654;this['_undoRedoService'][_0x4b1c1f(0x256)](this[_0x4b1c1f(0x4ae)],_0x3c919f);}['_transformSelections'](_0x12cf8a){var _0x284587=_0xf74654,_0x5f5de3,_0x97906b;(_0x97906b=(_0x5f5de3=this[_0x284587(0x28f)])['onTransformSelections'])==null||_0x97906b['call'](_0x5f5de3,_0x12cf8a);}['_transformIMECache'](_0x4bf250){var _0x5398de=_0xf74654,_0x1c1de7,_0x1128da;return(_0x1128da=(_0x1c1de7=this[_0x5398de(0x28f)])[_0x5398de(0x493)])==null?void 0x0:_0x1128da[_0x5398de(0x338)](_0x1c1de7,_0x4bf250);}[_0xf74654(0x2c9)](_0x350238){var _0x301788=_0xf74654,_0x2719a6,_0x828ff5;return(_0x828ff5=(_0x2719a6=this['_handler'])['onTransformState'])==null?void 0x0:_0x828ff5[_0x301788(0x338)](_0x2719a6,_0x350238);}['_transformRemoteChangesetByIMECache'](_0x2f313c){var _0x1c6658=_0xf74654,_0x50858d,_0x1901d7,_0x481455;return(_0x481455=(_0x1901d7=(_0x50858d=this[_0x1c6658(0x28f)])[_0x1c6658(0x19d)])==null?void 0x0:_0x1901d7['call'](_0x50858d,_0x2f313c))!=null?_0x481455:_0x2f313c;}[_0xf74654(0x45b)](_0x52d213){var _0x113757=_0xf74654,_0x244fe5,_0x416816,_0x5df8f4;return(_0x5df8f4=(_0x416816=(_0x244fe5=this[_0x113757(0x28f)])[_0x113757(0x3ad)])==null?void 0x0:_0x416816['call'](_0x244fe5,_0x52d213))!=null?_0x5df8f4:_0x52d213;}[_0xf74654(0x297)](_0x305c17){var _0x63a3cf=_0xf74654,_0x3a879b,_0x1bc860;if(this[_0x63a3cf(0x4b4)]===Z[_0x63a3cf(0x492)]){const {unitID:_0x1b7d96,mutations:_0x462779,memberID:_0x1ae159}=_0x305c17,_0x3f6936=_0x462779[0x0][_0x63a3cf(0x2b1)][_0x63a3cf(0x258)];Array['isArray'](_0x3f6936)&&_0x3f6936[_0x63a3cf(0x24a)]>0x0&&((_0x1bc860=(_0x3a879b=this[_0x63a3cf(0x28f)])[_0x63a3cf(0x2af)])==null||_0x1bc860[_0x63a3cf(0x338)](_0x3a879b,{'unitID':_0x1b7d96,'memberID':_0x1ae159,'textRanges':_0x3f6936}));}}['_updateLocalCache'](){var _0x3035c7=_0xf74654,_0x13ffcc;(_0x13ffcc=this[_0x3035c7(0x3a2)])==null||_0x13ffcc['updateOfflineData'](this['unitID'],this[_0x3035c7(0x4b4)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0xa1e4d9=_0xf74654;return this[_0xa1e4d9(0x187)][_0xa1e4d9(0x420)](this[_0xa1e4d9(0x4ae)]);}[_0xf74654(0x3c7)](){var _0x5dc030=_0xf74654;this[_0x5dc030(0x187)][_0x5dc030(0x353)](this[_0x5dc030(0x4ae)]);}[_0xf74654(0x478)](_0x48d48d){var _0x274545=_0xf74654,_0x3a9a74;let _0x3b13c1=this[_0x274545(0x397)](_0x48d48d);_0x3b13c1=this[_0x274545(0x45b)](_0x3b13c1);const _0x13f6ba=a['sequenceExecute'](_0x3b13c1[_0x274545(0x489)],this[_0x274545(0x1b4)],{'fromCollab':!0x0});if(!_0x13f6ba['result'])throw _0x13f6ba[_0x274545(0x312)]instanceof Error?_0x13f6ba[_0x274545(0x312)]:new Error((_0x3a9a74=_0x13f6ba[_0x274545(0x312)])!=null?_0x3a9a74:_0x274545(0x27a));this['_transformIMECache'](_0x3b13c1),this[_0x274545(0x2c9)](_0x3b13c1),this[_0x274545(0x3b4)](_0x48d48d),this[_0x274545(0x469)](_0x3b13c1),this['_syncEditingCollabCursor'](_0x3b13c1),this[_0x274545(0x3c7)]();}}exports[_0xf74654(0x1bf)]=class extends _e{constructor(_0x5af9b5,_0x2ccafd,_0x12d6c4,_0x3c6ade,_0xb6f793,_0x526590,_0x5ef3a4,_0x5d1b47,_0xb8cca1,_0x1c6b32){var _0x1e8909=_0xf74654;super(_0x5af9b5,_0x2ccafd,null,[],_0x12d6c4,_0x5ef3a4,_0x526590,_0x3c6ade,_0x1c6b32),D(this,'status',_0x1e8909(0x32e)),(this[_0x1e8909(0x2e3)]=_0xb6f793,this['_logService']=_0x5d1b47,this[_0x1e8909(0x435)]=_0xb8cca1,this[_0x1e8909(0x1cd)]=_0x1c6b32);}[_0xf74654(0x363)](_0x1a65d5){var _0xb7303=_0xf74654;const _0x27b1b8=this[_0xb7303(0x2e3)][_0xb7303(0x1f9)](exports['PendingState'],this['unitID'],this[_0xb7303(0x4b4)],[_0x1a65d5],this['_handler']);return _0x27b1b8[_0xb7303(0x45f)](),_0x27b1b8['_updateLocalCache'](),_0x27b1b8;}[_0xf74654(0x286)](_0x3f9f3c){var _0x590b21=_0xf74654;if(this['_checkMissing'](_0x3f9f3c))return this[_0x590b21(0x2e3)][_0x590b21(0x1f9)](exports[_0x590b21(0x39e)],this['unitID'],this[_0x590b21(0x4b4)],null,[],null,[_0x3f9f3c],this[_0x590b21(0x28f)]);try{const _0x58678a=this['_transformService'][_0x590b21(0x3f5)](_0x3f9f3c,[Oi]);if(m['isTransformMutationsWithChangesetSuccess'](_0x58678a)){const {c1Prime:_0x4a6ffb}=_0x58678a;return this['_executeRemoteChangeset'](_0x4a6ffb),this;}throw _0x58678a[_0x590b21(0x312)];}catch(_0xf6beb0){return this['_logService'][_0x590b21(0x312)](_0xf6beb0),this[_0x590b21(0x4a5)](!0x1);}}['_onConflict'](_0x2d7ad0){var _0x3e5ba4=_0xf74654;return this[_0x3e5ba4(0x2e3)]['createInstance'](exports[_0x3e5ba4(0x13e)],this[_0x3e5ba4(0x4ae)],this[_0x3e5ba4(0x4b4)],null,[],this[_0x3e5ba4(0x28f)],_0x2d7ad0);}['onRemoteAck'](){var _0x32f781=_0xf74654;throw new Error(_0x32f781(0x24e));}[_0xf74654(0x42a)](){var _0x3d4384=_0xf74654;throw new Error(_0x3d4384(0x373));}[_0xf74654(0x482)](){return this;}[_0xf74654(0x3b6)](){var _0x2f8e8d=_0xf74654;return this[_0x2f8e8d(0x2e3)]['createInstance'](exports['OfflineState'],this[_0x2f8e8d(0x4ae)],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xf74654(0x25c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x325ca6=_0xf74654;const _0x1d423d=this[_0x325ca6(0x187)][_0x325ca6(0x420)](this['unitID']);return this['_handler'][_0x325ca6(0x472)]({'from':_0x1d423d,'to':0x0}),this[_0x325ca6(0x2e3)]['createInstance'](exports[_0x325ca6(0x39e)],this[_0x325ca6(0x4ae)],this[_0x325ca6(0x4b4)],null,[],null,[],this[_0x325ca6(0x28f)]);}},exports[_0xf74654(0x1bf)]=le([A(0x3,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),A(0x4,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),A(0x5,a['IUndoRedoService']),A(0x6,a[_0xf74654(0x340)]),A(0x7,a['ILogService']),A(0x8,m[_0xf74654(0x44e)]),A(0x9,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x1bf)]),exports[_0xf74654(0x237)]=class extends _e{constructor(_0x3fd331,_0x5285a2,_0x28413d,_0x3bfd80,_0x3cd680,_0x4bc8e0,_0x2fbf57,_0x33b371,_0x4ace0c,_0xef4e1c,_0x889923,_0x146920,_0x55ebfb,_0x11cfa4){var _0x3247b9=_0xf74654;super(_0x3fd331,_0x5285a2,null,_0x28413d,_0x3bfd80,_0x4ace0c,_0x55ebfb,_0x4bc8e0,_0x11cfa4),D(this,_0x3247b9(0x495),_0x3247b9(0x1a9)),D(this,_0x3247b9(0x1a2),null),D(this,_0x3247b9(0x2fa),null),(this['_injector']=_0x3cd680,this[_0x3247b9(0x2e8)]=_0x2fbf57,this['_logService']=_0x33b371,this[_0x3247b9(0x1f7)]=_0xef4e1c,this[_0x3247b9(0x435)]=_0x889923,this[_0x3247b9(0x1e0)]=_0x146920);}[_0xf74654(0x363)](_0xed99){var _0x21ab42=_0xf74654;return this['_pendingMutations']['push'](_0xed99),this[_0x21ab42(0x406)](),this;}[_0xf74654(0x286)](_0x9c3213){var _0x3070c2=_0xf74654;if(this['_checkMissing'](_0x9c3213))return this[_0x3070c2(0x224)](),this['_injector'][_0x3070c2(0x1f9)](exports[_0x3070c2(0x39e)],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x9c3213],this['_handler']);try{const _0x18e7ab=this[_0x3070c2(0x435)]['transformMutationsWithChangeset'](_0x9c3213,this[_0x3070c2(0x17b)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x18e7ab)){const {c1Prime:_0xf48871,m2Prime:_0x3eb4cf}=_0x18e7ab;this['_executeRemoteChangeset'](_0xf48871);const _0x30c76b=this[_0x3070c2(0x2e3)][_0x3070c2(0x1f9)](exports['PendingState'],this[_0x3070c2(0x4ae)],this[_0x3070c2(0x4b4)],_0x3eb4cf,this[_0x3070c2(0x28f)]);return this['_clearScheduledTask'](),_0x30c76b[_0x3070c2(0x45f)](this[_0x3070c2(0x1a2)]?Math[_0x3070c2(0x48a)](0x0,new Date()[_0x3070c2(0x3c9)]()-this[_0x3070c2(0x1a2)]):this[_0x3070c2(0x433)]()),_0x30c76b;}throw _0x18e7ab['error'];}catch(_0x252400){return this['_logService'][_0x3070c2(0x312)](_0x252400),this[_0x3070c2(0x4a5)](!0x1);}}[_0xf74654(0x35a)](){var _0x275890=_0xf74654;throw new Error(_0x275890(0x3e4));}[_0xf74654(0x42a)](){var _0x57e11e=_0xf74654;throw new Error(_0x57e11e(0x3ce));}[_0xf74654(0x482)](){return this;}[_0xf74654(0x3b6)](){var _0x3739b9=_0xf74654;return this[_0x3739b9(0x224)](),this[_0x3739b9(0x2e3)][_0x3739b9(0x1f9)](exports[_0x3739b9(0x2f3)],this['unitID'],this[_0x3739b9(0x4b4)],null,this[_0x3739b9(0x17b)],this[_0x3739b9(0x28f)]);}[_0xf74654(0x14c)](){return this;}[_0xf74654(0x45f)](_0x197aee){var _0x2ba2b2=_0xf74654;const _0x111919=_0x197aee!=null?_0x197aee:this[_0x2ba2b2(0x433)]();this[_0x2ba2b2(0x1a2)]=new Date()[_0x2ba2b2(0x3c9)](),this[_0x2ba2b2(0x2fa)]=setTimeout(()=>{var _0x512f20=_0x2ba2b2;this['_clearScheduledTask']();let _0x26d68b=null;switch(this[_0x512f20(0x4b4)]){case Z[_0x512f20(0x3b3)]:{_0x26d68b=ze(this['_pendingMutations'],this[_0x512f20(0x4ae)],this[_0x512f20(0x1e0)],this[_0x512f20(0x187)],this[_0x512f20(0x2e8)]);break;}case Z[_0x512f20(0x492)]:{this[_0x512f20(0x17b)]['every'](_0x132382=>_0x132382['id']===ut['RichTextEditingMutation']['id'])?_0x26d68b=Ri(this[_0x512f20(0x17b)],this['unitID'],this[_0x512f20(0x1e0)],this[_0x512f20(0x187)],this[_0x512f20(0x2e8)]):_0x26d68b=ze(this['_pendingMutations'],this[_0x512f20(0x4ae)],this['_univerInstanceService'],this['_revisionService'],this[_0x512f20(0x2e8)]);break;}default:throw new Error(_0x512f20(0x173)+this[_0x512f20(0x4b4)]+_0x512f20(0x1de));}const {changeset:_0x19f85d,pendingMutations:_0x391c3b}=_0x26d68b;this[_0x512f20(0x28f)][_0x512f20(0x28b)](_0x19f85d);const _0xa1cbe2=_0x391c3b[_0x512f20(0x24a)]?this['_injector']['createInstance'](exports[_0x512f20(0x3d3)],this[_0x512f20(0x4ae)],this[_0x512f20(0x4b4)],_0x19f85d,_0x391c3b,this[_0x512f20(0x28f)],void 0x0):this[_0x512f20(0x2e3)][_0x512f20(0x1f9)](exports['AwaitingState'],this[_0x512f20(0x4ae)],this[_0x512f20(0x4b4)],_0x19f85d,this[_0x512f20(0x28f)]);_0xa1cbe2['_updateLocalCache'](),this[_0x512f20(0x28f)][_0x512f20(0x284)](this,_0xa1cbe2);},_0x111919);}[_0xf74654(0x433)](){var _0x15d921=_0xf74654,_0x502f0a;const _0x5c1032=this['_configService'][_0x15d921(0x3cf)](q);return(_0x502f0a=_0x5c1032==null?void 0x0:_0x5c1032[_0x15d921(0x3e6)])!=null?_0x502f0a:kt;}[_0xf74654(0x25c)](){var _0x752034=_0xf74654;throw new Error(_0x752034(0x316));}[_0xf74654(0x224)](){var _0x59b6f8=_0xf74654;this[_0x59b6f8(0x2fa)]!=null&&(clearTimeout(this[_0x59b6f8(0x2fa)]),this[_0x59b6f8(0x2fa)]=null);}[_0xf74654(0x4a5)](_0x3ac6c7){var _0x3d5757=_0xf74654;return this[_0x3d5757(0x224)](),this[_0x3d5757(0x2e3)][_0x3d5757(0x1f9)](exports[_0x3d5757(0x13e)],this['unitID'],this[_0x3d5757(0x4b4)],null,this[_0x3d5757(0x17b)],this['_handler'],_0x3ac6c7);}},exports[_0xf74654(0x237)]=le([A(0x4,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),A(0x5,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),A(0x6,a[_0xf74654(0x4c2)](exports[_0xf74654(0x37b)])),A(0x7,a[_0xf74654(0x301)]),A(0x8,a[_0xf74654(0x340)]),A(0x9,a['IConfigService']),A(0xa,m['ITransformService']),A(0xb,a[_0xf74654(0x299)]),A(0xc,a[_0xf74654(0x3fd)]),A(0xd,a[_0xf74654(0x2e0)](J))],exports['PendingState']),exports[_0xf74654(0x23c)]=class extends _e{constructor(_0x54c952,_0x352295,_0x5ec61c,_0x3e4599,_0x1a024c,_0x251cd9,_0x437e6e,_0x4602bf,_0x5bec18,_0x22822d,_0x473e92){var _0x3cfb97=_0xf74654;super(_0x54c952,_0x352295,_0x5ec61c,[],_0x3e4599,_0x437e6e,_0x22822d,_0x251cd9,_0x473e92),D(this,_0x3cfb97(0x495),_0x3cfb97(0x239)),D(this,_0x3cfb97(0x454),0x0),D(this,_0x3cfb97(0x30d)),D(this,'_sender'),(this[_0x3cfb97(0x2e3)]=_0x1a024c,this[_0x3cfb97(0x390)]=_0x4602bf,this['_transformService']=_0x5bec18);}[_0xf74654(0x363)](_0x188846){var _0x1eec23=_0xf74654;this[_0x1eec23(0x224)]();const _0x2c15b4=this[_0x1eec23(0x2e3)][_0x1eec23(0x1f9)](exports[_0x1eec23(0x3d3)],this[_0x1eec23(0x4ae)],this[_0x1eec23(0x4b4)],this[_0x1eec23(0x2bf)],[_0x188846],this[_0x1eec23(0x28f)],this[_0x1eec23(0x30d)]);return _0x2c15b4[_0x1eec23(0x406)](),_0x2c15b4;}[_0xf74654(0x286)](_0x5de61f){var _0xb285c8=_0xf74654;if(this[_0xb285c8(0x194)](_0x5de61f))return this[_0xb285c8(0x224)](),this['_injector']['createInstance'](exports[_0xb285c8(0x39e)],this['unitID'],this['type'],this[_0xb285c8(0x2bf)],[],null,[_0x5de61f],this[_0xb285c8(0x28f)]);try{const _0x3a744e=this[_0xb285c8(0x435)][_0xb285c8(0x3d6)]([_0x5de61f],[this[_0xb285c8(0x2bf)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x3a744e)){const {c1Prime:_0x4c0fe6,c2Prime:_0x585cc4}=_0x3a744e;this[_0xb285c8(0x478)](_0x4c0fe6[0x0]),_0x585cc4[0x0]['baseRev']=this[_0xb285c8(0x295)](),this[_0xb285c8(0x224)]();const _0x418534=this[_0xb285c8(0x2e3)][_0xb285c8(0x1f9)](exports['AwaitingState'],this[_0xb285c8(0x4ae)],this[_0xb285c8(0x4b4)],_0x585cc4[0x0],this['_handler']);return _0x418534['_updateLocalCache'](),_0x418534;}return this[_0xb285c8(0x4a5)](!0x1);}catch(_0x314761){return this['_logService']['error'](_0x314761),this[_0xb285c8(0x4a5)](!0x1);}}[_0xf74654(0x35a)](_0xc36b41){var _0x4f2fdc=_0xf74654;this[_0x4f2fdc(0x224)]();const _0x175a00=this[_0x4f2fdc(0x187)][_0x4f2fdc(0x420)](this['unitID']);if(_0xc36b41[_0x4f2fdc(0x328)]<_0x175a00-0x1)return this;if(this[_0x4f2fdc(0x194)](_0xc36b41))return this[_0x4f2fdc(0x2e3)]['createInstance'](exports[_0x4f2fdc(0x39e)],this['unitID'],this[_0x4f2fdc(0x4b4)],null,[],this[_0x4f2fdc(0x2bf)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4f587a=this[_0x4f2fdc(0x2e3)][_0x4f2fdc(0x1f9)](exports[_0x4f2fdc(0x1bf)],this[_0x4f2fdc(0x4ae)],this[_0x4f2fdc(0x4b4)],this[_0x4f2fdc(0x28f)]);return _0x4f587a['_updateLocalCache'](),_0x4f587a;}[_0xf74654(0x42a)](_0x834b54){var _0x1c6bea=_0xf74654;return this[_0x1c6bea(0x4a5)](!!(_0x834b54!=null&&_0x834b54[_0x1c6bea(0x309)]));}[_0xf74654(0x482)](_0x2e335e){var _0x484280=_0xf74654;return this['_resendTimeout']>Pt?this[_0x484280(0x3b6)]():(this[_0x484280(0x30d)]=yt(this['_resendTimeout'],{'timeout':this[_0x484280(0x454)],'reqId':_0x2e335e[_0x484280(0x174)]}),this[_0x484280(0x3d0)]=this[_0x484280(0x30d)][_0x484280(0x203)](({reqId:_0x412ebe,timeout:_0x6e75f7})=>{this['_resendWithTimeout'](_0x412ebe,_0x6e75f7);}),this);}[_0xf74654(0x3b6)](){var _0x36809d=_0xf74654;return this['_clearScheduledTask'](),this[_0x36809d(0x2e3)][_0x36809d(0x1f9)](exports[_0x36809d(0x2f3)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x36809d(0x28f)]);}[_0xf74654(0x14c)](){return this;}['resend'](){var _0x56bf4b=_0xf74654;this[_0x56bf4b(0x28f)][_0x56bf4b(0x28b)](this['_awaitingChangeset']);}[_0xf74654(0x4a5)](_0x42da1a){var _0x5958a1=_0xf74654;return this['_clearScheduledTask'](),this['_injector'][_0x5958a1(0x1f9)](exports[_0x5958a1(0x13e)],this[_0x5958a1(0x4ae)],this[_0x5958a1(0x4b4)],this[_0x5958a1(0x2bf)],[],this['_handler'],_0x42da1a);}[_0xf74654(0x2ca)](_0xa8add1,_0x6a8f08){var _0x4af403=_0xf74654,_0x10449f;_0xa8add1===((_0x10449f=this['_awaitingChangeset'])==null?void 0x0:_0x10449f['reqId'])&&(this['resend'](),this[_0x4af403(0x454)]=_0x6a8f08===0x0?0x3e8:_0x6a8f08*0x2);}[_0xf74654(0x224)](){var _0x1e864f=_0xf74654,_0x19d3a0;(_0x19d3a0=this[_0x1e864f(0x3d0)])==null||_0x19d3a0[_0x1e864f(0x3e8)](),this[_0x1e864f(0x454)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0xf74654(0x4c2)](a['Injector'])),A(0x5,a[_0xf74654(0x4c2)](m['RevisionService'])),A(0x6,a['ICommandService']),A(0x7,a['ILogService']),A(0x8,m[_0xf74654(0x44e)]),A(0x9,a[_0xf74654(0x3fd)]),A(0xa,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x23c)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x34ac46,_0x292d74,_0x813a7d,_0x58ec54,_0x49eaeb,_0x4d12e5,_0x52a703,_0x586125,_0x4131b6,_0x10f2f8,_0x24e2d7,_0x4e4eb0,_0x2a7aa3){var _0x180987=_0xf74654;super(_0x34ac46,_0x292d74,_0x813a7d,_0x58ec54,_0x49eaeb,_0x4131b6,_0x4e4eb0,_0x586125,_0x2a7aa3),D(this,'status','awaiting_with_pending'),D(this,'_resendTimeout',0x0),D(this,_0x180987(0x30d)),D(this,_0x180987(0x3d0)),(this[_0x180987(0x2e3)]=_0x52a703,this['_logService']=_0x10f2f8,this[_0x180987(0x435)]=_0x24e2d7,this[_0x180987(0x1cd)]=_0x2a7aa3,_0x4d12e5&&(this[_0x180987(0x30d)]=_0x4d12e5,this['_sender']=this[_0x180987(0x30d)][_0x180987(0x203)](({reqId:_0x5b201e,timeout:_0x3f9e41})=>{this['_resendWithTimeout'](_0x5b201e,_0x3f9e41);})));}[_0xf74654(0x363)](_0x311683){var _0x42d232=_0xf74654;return this[_0x42d232(0x17b)]['push'](_0x311683),this;}['onRemoteChangeset'](_0xe57a7){var _0x39cd26=_0xf74654;if(this[_0x39cd26(0x194)](_0xe57a7))return this[_0x39cd26(0x224)](),this[_0x39cd26(0x2e3)][_0x39cd26(0x1f9)](exports[_0x39cd26(0x39e)],this[_0x39cd26(0x4ae)],this[_0x39cd26(0x4b4)],this[_0x39cd26(0x2bf)],this[_0x39cd26(0x17b)],null,[_0xe57a7],this['_handler']);try{const _0x4f2af8=this[_0x39cd26(0x435)][_0x39cd26(0x3d6)]([_0xe57a7],[this[_0x39cd26(0x2bf)]],!0x1);if(m[_0x39cd26(0x238)](_0x4f2af8)){const {c1Prime:_0x5ac624,c2Prime:_0x3a79e7}=_0x4f2af8,_0x4dfe41=this[_0x39cd26(0x435)][_0x39cd26(0x3f5)](_0x5ac624[0x0],this[_0x39cd26(0x17b)]);if(m[_0x39cd26(0x3b8)](_0x4dfe41)){const {c1Prime:_0x4b85a1,m2Prime:_0xb24f11}=_0x4dfe41;return this[_0x39cd26(0x478)](_0x4b85a1),_0x3a79e7[0x0][_0x39cd26(0x1f5)]=this['_getCurrentRevision'](),this[_0x39cd26(0x224)](),this[_0x39cd26(0x2e3)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x39cd26(0x4ae)],this[_0x39cd26(0x4b4)],_0x3a79e7[0x0],_0xb24f11,this['_handler'],void 0x0);}throw _0x4dfe41[_0x39cd26(0x312)];}throw _0x4f2af8[_0x39cd26(0x312)];}catch(_0x4fcff8){return this['_logService']['error'](_0x4fcff8),this[_0x39cd26(0x4a5)](!0x1);}}['onRemoteAck'](_0x4850db){var _0x183a55=_0xf74654;if(this['_clearScheduledTask'](),this[_0x183a55(0x194)](_0x4850db))return this[_0x183a55(0x2e3)]['createInstance'](exports[_0x183a55(0x39e)],this[_0x183a55(0x4ae)],this[_0x183a55(0x4b4)],null,this[_0x183a55(0x17b)],this[_0x183a55(0x2bf)],[],this[_0x183a55(0x28f)]);this[_0x183a55(0x3c7)]();const _0x38106a=this['_injector'][_0x183a55(0x1f9)](exports['PendingState'],this[_0x183a55(0x4ae)],this[_0x183a55(0x4b4)],this[_0x183a55(0x17b)],this[_0x183a55(0x28f)]);return _0x38106a[_0x183a55(0x45f)](),_0x38106a[_0x183a55(0x406)](),_0x38106a;}['onRemoteRej'](_0x2569dc){var _0x349e51=_0xf74654;return this[_0x349e51(0x4a5)](!!(_0x2569dc!=null&&_0x2569dc[_0x349e51(0x309)]));}[_0xf74654(0x482)](_0x7bb931){var _0xbdbf1f=_0xf74654;return this[_0xbdbf1f(0x454)]>Pt?this[_0xbdbf1f(0x3b6)]():(this['_resendTimer']=yt(this[_0xbdbf1f(0x454)],{'timeout':this[_0xbdbf1f(0x454)],'reqId':_0x7bb931[_0xbdbf1f(0x174)]}),this[_0xbdbf1f(0x3d0)]=this['_resendTimer'][_0xbdbf1f(0x203)](({reqId:_0x18b109,timeout:_0x5d6c6f})=>{var _0x13be46=_0xbdbf1f;this[_0x13be46(0x2ca)](_0x18b109,_0x5d6c6f);}),this);}['toggleOffline'](){var _0x4706fa=_0xf74654;return this[_0x4706fa(0x224)](),this[_0x4706fa(0x2e3)][_0x4706fa(0x1f9)](exports['OfflineState'],this[_0x4706fa(0x4ae)],this['type'],this['_awaitingChangeset'],this[_0x4706fa(0x17b)],this['_handler']);}[_0xf74654(0x14c)](){return this;}[_0xf74654(0x25c)](){var _0x3e323f=_0xf74654;this[_0x3e323f(0x28f)][_0x3e323f(0x28b)](this[_0x3e323f(0x2bf)]);}[_0xf74654(0x4a5)](_0x4f77ce){var _0x3e5fdc=_0xf74654;return this[_0x3e5fdc(0x224)](),this[_0x3e5fdc(0x2e3)][_0x3e5fdc(0x1f9)](exports[_0x3e5fdc(0x13e)],this['unitID'],this[_0x3e5fdc(0x4b4)],null,this['_pendingMutations'],this[_0x3e5fdc(0x28f)],_0x4f77ce);}['_resendWithTimeout'](_0x4e81b0,_0x2daf32){var _0x261c7b=_0xf74654,_0x467cd8;_0x4e81b0===((_0x467cd8=this[_0x261c7b(0x2bf)])==null?void 0x0:_0x467cd8[_0x261c7b(0x174)])&&(this['resend'](),this[_0x261c7b(0x454)]=_0x2daf32===0x0?0x3e8:_0x2daf32*0x2);}['_clearScheduledTask'](){var _0x30fd04=_0xf74654,_0x6cd79e;(_0x6cd79e=this[_0x30fd04(0x3d0)])==null||_0x6cd79e[_0x30fd04(0x3e8)](),this[_0x30fd04(0x454)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),A(0x7,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),A(0x8,a[_0xf74654(0x340)]),A(0x9,a[_0xf74654(0x301)]),A(0xa,m[_0xf74654(0x44e)]),A(0xb,a[_0xf74654(0x3fd)]),A(0xc,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x3d3)]),exports[_0xf74654(0x13e)]=class extends _e{constructor(_0x3c5cd4,_0x30b6ca,_0xce8a2e,_0x457dc2,_0x1b4f72,_0x10c2b6=!0x1,_0x2c8111,_0x31c724,_0x1cc085,_0x3b82bd,_0x8bdffb,_0xeb7840,_0xf4fb09){var _0x41a1c3=_0xf74654;super(_0x3c5cd4,_0x30b6ca,_0xce8a2e,_0x457dc2,_0x1b4f72,_0x31c724,_0x1cc085,_0x3b82bd,_0xf4fb09),D(this,_0x41a1c3(0x495),_0x41a1c3(0x3f3)),(this[_0x41a1c3(0x3dd)]=_0x10c2b6,this['_permissionService']=_0x2c8111,this[_0x41a1c3(0x48f)]=_0x8bdffb,this[_0x41a1c3(0x180)]=_0xeb7840,this[_0x41a1c3(0x1cd)]=_0xf4fb09,this['_showConflictNotification'](),this[_0x41a1c3(0x265)](),this[_0x41a1c3(0x23b)]());}[_0xf74654(0x363)](){return this;}[_0xf74654(0x286)](){return this;}['onRemoteAck'](){return this;}[_0xf74654(0x42a)](){return this;}[_0xf74654(0x482)](){return this;}[_0xf74654(0x3b6)](){return this;}[_0xf74654(0x14c)](){return this;}[_0xf74654(0x25c)](){var _0x216339=_0xf74654;throw new Error(_0x216339(0x3ab));}['_clearLocalCache'](){var _0x5b01fe=_0xf74654,_0x2651ab;(_0x2651ab=this['_localCacheService'])==null||_0x2651ab[_0x5b01fe(0x15a)](this[_0x5b01fe(0x4ae)],this[_0x5b01fe(0x4b4)],null,[]);}['_showConflictNotification'](){var _0x4115cb=_0xf74654;this[_0x4115cb(0x3dd)]?this['_collaborationUIEventService'][_0x4115cb(0x1cc)]({'id':Q[_0x4115cb(0x21c)]}):this[_0x4115cb(0x180)][_0x4115cb(0x1cc)]({'id':Q['CONFLICT']});}[_0xf74654(0x23b)](){var _0x8dd14=_0xf74654;this[_0x8dd14(0x202)][_0x8dd14(0x3af)](new W[(_0x8dd14(0x2ae))](this[_0x8dd14(0x4ae)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0xf74654(0x4c2)](a[_0xf74654(0x367)])),A(0x7,a[_0xf74654(0x340)]),A(0x8,a[_0xf74654(0x3fd)]),A(0x9,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),A(0xa,a[_0xf74654(0x4c2)](a[_0xf74654(0x36a)])),A(0xb,a[_0xf74654(0x4c2)](te)),A(0xc,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x13e)]),exports[_0xf74654(0x2f3)]=class extends _e{constructor(_0x11f4c0,_0x138265,_0x402ad1,_0x3d54ec,_0x51e88c,_0x188eb6,_0x23dd62,_0x450c2e,_0x360617,_0x46203a){var _0x50d639=_0xf74654;super(_0x11f4c0,_0x138265,_0x402ad1,_0x3d54ec,_0x51e88c,_0x450c2e,_0x360617,_0x23dd62,_0x46203a),D(this,_0x50d639(0x495),_0x50d639(0x158)),this['_injector']=_0x188eb6;}[_0xf74654(0x363)](_0x3f94ec){var _0x4158e2=_0xf74654;return this[_0x4158e2(0x17b)][_0x4158e2(0x21b)](_0x3f94ec),this['_updateLocalCache'](),this;}[_0xf74654(0x286)](_0x432204){var _0x6e876=_0xf74654;throw new Error(_0x6e876(0x2d0));}[_0xf74654(0x35a)](){var _0x59895e=_0xf74654;throw new Error(_0x59895e(0x183));}[_0xf74654(0x42a)](){var _0x150b65=_0xf74654;throw new Error(_0x150b65(0x43e));}[_0xf74654(0x482)](){return this;}['toggleOffline'](){return this;}[_0xf74654(0x14c)](){var _0x222dda=_0xf74654;const {_injector:_0x2529bc,_pendingMutations:_0x3095f6,_awaitingChangeset:_0x5a8953,unitID:_0x5ec46f,_handler:_0x46e638,type:_0x411502}=this,_0x1a9f14=Nt(_0x2529bc,_0x5ec46f,_0x411502,_0x5a8953,_0x3095f6,_0x46e638);return _0x1a9f14 instanceof exports[_0x222dda(0x237)]?_0x1a9f14[_0x222dda(0x45f)]():(_0x1a9f14 instanceof exports[_0x222dda(0x3d3)]||_0x1a9f14 instanceof exports[_0x222dda(0x23c)])&&_0x1a9f14[_0x222dda(0x25c)](),_0x1a9f14;}[_0xf74654(0x25c)](){var _0x42827d=_0xf74654;throw new Error(_0x42827d(0x2f9));}},exports[_0xf74654(0x2f3)]=le([A(0x5,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),A(0x6,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),A(0x7,a['ICommandService']),A(0x8,a[_0xf74654(0x3fd)]),A(0x9,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x2f3)]),exports['FetchingMissState']=class extends _e{constructor(_0x176105,_0x31b8c3,_0xc05355,_0x26e5dc,_0x28fc27,_0x2d8ce3,_0x1e5606,_0x381fc8,_0x381c7a,_0x38425f,_0x1f3afb,_0x18acfd,_0x103a0d,_0x47e9a7){var _0x35938d=_0xf74654;super(_0x176105,_0x31b8c3,_0xc05355,_0x26e5dc,_0x1e5606,_0x1f3afb,_0x18acfd,_0x381c7a,_0x47e9a7),D(this,_0x35938d(0x495),_0x35938d(0x235)),(this['_acknowledgedAwaitingChangeset']=_0x28fc27,this['_queuedRemoteChangesets']=_0x2d8ce3,this[_0x35938d(0x2e3)]=_0x381fc8,this['_logService']=_0x38425f,this[_0x35938d(0x435)]=_0x103a0d,this['localCacheService']=_0x47e9a7);}[_0xf74654(0x450)](_0x1f9688){var _0x884ad0=_0xf74654;try{const _0x5412a6=[..._0x1f9688,...this[_0x884ad0(0x26c)]],_0x3f7a00=[this['_awaitingChangeset']||this[_0x884ad0(0x40e)]][_0x884ad0(0x171)](_0x428a8b=>!!_0x428a8b);let _0x4effcf,_0x5acd8e;if(_0x3f7a00['length']){const _0x84592a=this[_0x884ad0(0x435)]['transformChangesets'](_0x5412a6,_0x3f7a00,!0x1);if(!m[_0x884ad0(0x238)](_0x84592a))throw _0x84592a['error'];_0x4effcf=_0x84592a[_0x884ad0(0x14f)],_0x5acd8e=_0x84592a[_0x884ad0(0x264)];}else _0x4effcf=_0x5412a6,_0x5acd8e=[];let _0x48cda1=this[_0x884ad0(0x17b)];_0x4effcf[_0x884ad0(0x4c1)](_0x4e095a=>{var _0x599293=_0x884ad0;let _0x4bb86d;if(_0x48cda1[_0x599293(0x24a)]){const _0x1555b3=this['_transformService'][_0x599293(0x3f5)](_0x4e095a,_0x48cda1);if(!m['isTransformMutationsWithChangesetSuccess'](_0x1555b3))throw _0x1555b3[_0x599293(0x312)];_0x4bb86d=_0x1555b3['c1Prime'],_0x48cda1=_0x1555b3[_0x599293(0x4b5)];}else _0x4bb86d=_0x4e095a;this['_executeRemoteChangeset'](_0x4bb86d);}),this['_acknowledgedAwaitingChangeset']&&this[_0x884ad0(0x3c7)](),this[_0x884ad0(0x2bf)]&&_0x5acd8e['length']&&(_0x5acd8e[0x0]['baseRev']=this[_0x884ad0(0x295)]());let _0x3e7d27;if(this[_0x884ad0(0x2bf)]&&_0x48cda1[_0x884ad0(0x24a)]!==0x0)_0x3e7d27=this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this[_0x884ad0(0x4ae)],this[_0x884ad0(0x4b4)],_0x5acd8e[0x0],_0x48cda1,this['_handler'],void 0x0);else{if(this[_0x884ad0(0x2bf)]&&_0x48cda1[_0x884ad0(0x24a)]===0x0)_0x5acd8e[0x0][_0x884ad0(0x1f5)]=this[_0x884ad0(0x295)](),_0x3e7d27=this[_0x884ad0(0x2e3)][_0x884ad0(0x1f9)](exports[_0x884ad0(0x23c)],this[_0x884ad0(0x4ae)],this[_0x884ad0(0x4b4)],_0x5acd8e[0x0],this[_0x884ad0(0x28f)]);else{if(_0x48cda1[_0x884ad0(0x24a)]!==0x0){const _0x1ffe9e=this[_0x884ad0(0x2e3)][_0x884ad0(0x1f9)](exports[_0x884ad0(0x237)],this[_0x884ad0(0x4ae)],this['type'],_0x48cda1,this[_0x884ad0(0x28f)]);_0x1ffe9e[_0x884ad0(0x45f)](),_0x3e7d27=_0x1ffe9e;}else _0x3e7d27=this[_0x884ad0(0x2e3)][_0x884ad0(0x1f9)](exports[_0x884ad0(0x1bf)],this[_0x884ad0(0x4ae)],this['type'],this[_0x884ad0(0x28f)]);}}return _0x3e7d27['_updateLocalCache'](),_0x3e7d27;}catch(_0x434700){return this['_logService'][_0x884ad0(0x312)](_0x884ad0(0x48b),'failed\x20to\x20apply\x20missed\x20changesets!',_0x434700),this['_injector']['createInstance'](exports['ConflictState'],this[_0x884ad0(0x4ae)],this[_0x884ad0(0x4b4)],this['_awaitingChangeset'],this[_0x884ad0(0x17b)],this[_0x884ad0(0x28f)],!0x1);}}[_0xf74654(0x25c)](){var _0x26717f=_0xf74654;throw new Error(_0x26717f(0x431));}[_0xf74654(0x363)](_0x550a91){var _0x2311ac=_0xf74654;return this[_0x2311ac(0x17b)][_0x2311ac(0x21b)](_0x550a91),this;}[_0xf74654(0x286)](_0xf57b23){var _0x5ed739=_0xf74654;return this[_0x5ed739(0x26c)][_0x5ed739(0x21b)](_0xf57b23),this;}[_0xf74654(0x35a)](_0x48d5dc){var _0x3f4aeb=_0xf74654;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x3f4aeb(0x2bf)],this[_0x3f4aeb(0x2bf)]=null,this;throw new Error(_0x3f4aeb(0x41a));}[_0xf74654(0x42a)](_0x5d42b2){var _0x5b7348=_0xf74654;return this['_onConflict'](!!(_0x5d42b2!=null&&_0x5d42b2[_0x5b7348(0x309)]));}[_0xf74654(0x482)](){return this;}[_0xf74654(0x3b6)](){var _0x4cdf94=_0xf74654;return this['_injector']['createInstance'](exports[_0x4cdf94(0x2f3)],this[_0x4cdf94(0x4ae)],this[_0x4cdf94(0x4b4)],this['_awaitingChangeset'],this[_0x4cdf94(0x17b)],this[_0x4cdf94(0x28f)]);}[_0xf74654(0x14c)](){return this;}['_onConflict'](_0x309d81){var _0x1f996f=_0xf74654;return this[_0x1f996f(0x2e3)]['createInstance'](exports['ConflictState'],this[_0x1f996f(0x4ae)],this[_0x1f996f(0x4b4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1f996f(0x28f)],_0x309d81);}},exports[_0xf74654(0x39e)]=le([A(0x7,a['Inject'](a[_0xf74654(0x327)])),A(0x8,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),A(0x9,a['ILogService']),A(0xa,a['ICommandService']),A(0xb,a[_0xf74654(0x3fd)]),A(0xc,m[_0xf74654(0x44e)]),A(0xd,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x39e)]);function Nt(_0x13fa5c,_0x278b11,_0x45fe04,_0x9a447d,_0x12718a,_0x3a8b62){var _0x4673a5=_0xf74654;return _0x9a447d&&_0x12718a[_0x4673a5(0x24a)]?_0x13fa5c[_0x4673a5(0x1f9)](exports[_0x4673a5(0x3d3)],_0x278b11,_0x45fe04,_0x9a447d,_0x12718a,_0x3a8b62,void 0x0):_0x9a447d?_0x13fa5c[_0x4673a5(0x1f9)](exports['AwaitingState'],_0x278b11,_0x45fe04,_0x9a447d,_0x3a8b62):_0x12718a[_0x4673a5(0x24a)]?_0x13fa5c[_0x4673a5(0x1f9)](exports[_0x4673a5(0x237)],_0x278b11,_0x45fe04,_0x12718a,_0x3a8b62):_0x13fa5c['createInstance'](exports[_0x4673a5(0x1bf)],_0x278b11,_0x45fe04,_0x3a8b62);}var Ni=Object[_0xf74654(0x2cc)],Ui=Object[_0xf74654(0x39a)],Ve=(_0x5f5cc7,_0x2774c6,_0x5e197e,_0x39e802)=>{var _0x44fa0d=_0xf74654;for(var _0x36636f=_0x39e802>0x1?void 0x0:_0x39e802?Ui(_0x2774c6,_0x5e197e):_0x2774c6,_0x14cd61=_0x5f5cc7[_0x44fa0d(0x24a)]-0x1,_0x42d6e9;_0x14cd61>=0x0;_0x14cd61--)(_0x42d6e9=_0x5f5cc7[_0x14cd61])&&(_0x36636f=(_0x39e802?_0x42d6e9(_0x2774c6,_0x5e197e,_0x36636f):_0x42d6e9(_0x36636f))||_0x36636f);return _0x39e802&&_0x36636f&&Ni(_0x2774c6,_0x5e197e,_0x36636f),_0x36636f;},k=(_0x4858d0,_0x1d7ed7)=>(_0x5955e5,_0x4c5ad5)=>_0x1d7ed7(_0x5955e5,_0x4c5ad5,_0x4858d0);exports[_0xf74654(0x42c)]=class extends a[_0xf74654(0x325)]{constructor(_0x4cc565,_0x7f9ed1,_0x344036,_0x2b04da,_0x5cb6ed,_0x58e36f,_0x102dd3,_0x30eb5d,_0x335ac8,_0x723fb5,_0xe3741b,_0x582d54,_0x27aebf){var _0x5baa7d=_0xf74654;super(),D(this,_0x5baa7d(0x1ab),new H[(_0x5baa7d(0x36d))](null)),D(this,'state$',this['_state$'][_0x5baa7d(0x241)]()),D(this,_0x5baa7d(0x22d)),D(this,_0x5baa7d(0x4ba),!0x1),D(this,_0x5baa7d(0x324),''),D(this,'_changesetReqId',0x0),D(this,_0x5baa7d(0x483),this['state$'][_0x5baa7d(0x20c)](H[_0x5baa7d(0x462)](_0xf14ed1=>_0xf14ed1?_0xf14ed1['status']:We[_0x5baa7d(0x49f)]),H[_0x5baa7d(0x243)](0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x5baa7d(0x1ac),[]),(this['unitID']=_0x4cc565,this[_0x5baa7d(0x3b0)]=_0x7f9ed1,this['_type']=_0x344036,this[_0x5baa7d(0x2e3)]=_0x2b04da,this[_0x5baa7d(0x268)]=_0x5cb6ed,this[_0x5baa7d(0x48f)]=_0x58e36f,this[_0x5baa7d(0x187)]=_0x102dd3,this['_eventService']=_0x30eb5d,this[_0x5baa7d(0x390)]=_0x335ac8,this[_0x5baa7d(0x1b4)]=_0x723fb5,this['_permissionService']=_0xe3741b,this[_0x5baa7d(0x414)]=_0x582d54,this[_0x5baa7d(0x3a2)]=_0x27aebf);}get[_0xf74654(0x34c)](){var _0x5e258e=_0xf74654;return this[_0x5e258e(0x22d)];}async['init'](){var _0x2f477f=_0xf74654;if(this[_0x2f477f(0x34c)])throw new Error(_0x2f477f(0x3e3));await this[_0x2f477f(0x201)]();}[_0xf74654(0x143)](){var _0x4f1269=_0xf74654;return this[_0x4f1269(0x4ba)]=!0x0,a[_0x4f1269(0x1d8)](()=>{var _0x41630b=_0x4f1269;this[_0x41630b(0x4ba)]=!0x1,this[_0x41630b(0x15d)]();});}[_0xf74654(0x2d8)](_0x410550){var _0xd4edd1=_0xf74654;this[_0xd4edd1(0x47b)](_0x410550);}[_0xf74654(0x270)](_0x247596){var _0x2746c5=_0xf74654;this['_state']=_0x247596,this[_0x2746c5(0x1ab)][_0x2746c5(0x376)](_0x247596);}async[_0xf74654(0x201)](){var _0x4f1c9b=_0xf74654,_0x5f0aef;this[_0x4f1c9b(0x270)](await this[_0x4f1c9b(0x3e1)]()),this[_0x4f1c9b(0x414)]&&((_0x5f0aef=this[_0x4f1c9b(0x414)])==null||_0x5f0aef['editingUnit'](this[_0x4f1c9b(0x4ae)]),this[_0x4f1c9b(0x1b0)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x4f1c9b(0x203)](_0x370863=>{var _0x562a71=_0x4f1c9b;this[_0x562a71(0x390)]['debug']('[CollaborationEntity]',_0x562a71(0x1aa),_0x370863),_0x370863===Fe[_0x562a71(0x446)]?(this[_0x562a71(0x405)][_0x562a71(0x1cc)]({'id':Q[_0x562a71(0x423)]}),this[_0x562a71(0x202)][_0x562a71(0x3af)](new W[(_0x562a71(0x2ae))](this[_0x562a71(0x4ae)])['id'],!0x1),this[_0x562a71(0x202)][_0x562a71(0x18e)](!0x1)):(this[_0x562a71(0x202)][_0x562a71(0x3af)](new W['WorkbookEditablePermission'](this[_0x562a71(0x4ae)])['id'],!0x0),this[_0x562a71(0x202)][_0x562a71(0x18e)](!0x0));})));let _0x1b8414=!0x1;return this[_0x4f1c9b(0x1b0)](this[_0x4f1c9b(0x3b0)]['sessionStatus$']['subscribe'](_0x34c705=>{var _0x19854d=_0x4f1c9b;_0x34c705===se['ONLINE']?this[_0x19854d(0x1ec)](_0x1b8414):_0x34c705===se[_0x19854d(0x49f)]&&(_0x1b8414=!0x0,this[_0x19854d(0x152)]());})),this[_0x4f1c9b(0x1b0)](this[_0x4f1c9b(0x3b0)]['event$'][_0x4f1c9b(0x203)](_0x14ffbc=>{var _0x27a345=_0x4f1c9b;try{switch(_0x14ffbc[_0x27a345(0x458)]){case m[_0x27a345(0x486)][_0x27a345(0x2d7)]:{this[_0x27a345(0x434)](m[_0x27a345(0x2c6)](_0x14ffbc[_0x27a345(0x32f)]));break;}case m[_0x27a345(0x486)][_0x27a345(0x35e)]:{this[_0x27a345(0x1f0)](_0x14ffbc['data']);break;}case m[_0x27a345(0x486)]['CHANGESET_REJ']:{this[_0x27a345(0x3ee)]();break;}case m['CollaborationEvent'][_0x27a345(0x488)]:{this[_0x27a345(0x34f)](_0x14ffbc['data']);break;}case m[_0x27a345(0x486)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x27a345(0x412)](_0x14ffbc['data']['changesets'][_0x27a345(0x462)](_0x1ff126=>m['parseProtocolChangeset'](_0x1ff126)));break;}case m['CollaborationEvent'][_0x27a345(0x19a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case m[_0x27a345(0x486)][_0x27a345(0x1b5)]:break;}}catch(_0x41b39e){throw console[_0x27a345(0x312)]('Error\x20on\x20receiving\x20event',_0x41b39e),_0x41b39e;}})),this['_state'];}[_0xf74654(0x29a)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x25a970=_0xf74654;if(this[_0x25a970(0x3bc)])throw new Error(_0x25a970(0x49d));this[_0x25a970(0x3bc)]=!0x0;}[_0xf74654(0x47b)](_0x3ac575){var _0xf3872a=_0xf74654;this[_0xf3872a(0x395)](),this[_0xf3872a(0x270)](this[_0xf3872a(0x22d)][_0xf3872a(0x363)](_0x3ac575)),this[_0xf3872a(0x29a)]();}['_onRemoteChangeset'](_0x3087b8){var _0x2a92e7=_0xf74654;if(!(_0x3087b8[_0x2a92e7(0x328)]<=this[_0x2a92e7(0x187)]['getCurrentRevOfUnit'](this[_0x2a92e7(0x4ae)]))){if(this[_0x2a92e7(0x4ba)]){this[_0x2a92e7(0x1ac)][_0x2a92e7(0x21b)](_0x3087b8);return;}this[_0x2a92e7(0x3a6)](_0x3087b8);}}[_0xf74654(0x15d)](){var _0x484262=_0xf74654;this[_0x484262(0x1ac)][_0x484262(0x4c1)](_0x34810a=>this[_0x484262(0x3a6)](_0x34810a)),this[_0x484262(0x1ac)]=[];}[_0xf74654(0x3a6)](_0x402963){var _0x20abc3=_0xf74654;const _0x3cbccb=this[_0x20abc3(0x268)][_0x20abc3(0x4ab)][_0x20abc3(0x159)](this[_0x20abc3(0x268)]['interceptor'][_0x20abc3(0x1fb)]()[_0x20abc3(0x30b)])(_0x402963[_0x20abc3(0x489)],null)||_0x402963['mutations'],_0x220f06={..._0x402963,'mutations':_0x3cbccb};this[_0x20abc3(0x395)](),this['_updateState'](this[_0x20abc3(0x22d)][_0x20abc3(0x286)](_0x220f06)),this['_unlockTransition']();}[_0xf74654(0x1f0)](_0x426e1c){var _0x5143a9=_0xf74654;this[_0x5143a9(0x395)](),this[_0x5143a9(0x270)](this[_0x5143a9(0x22d)]['onRemoteAck'](_0x426e1c)),this[_0x5143a9(0x29a)]();}['_onRemoteRejected'](_0x2f344c){var _0x1069ee=_0xf74654;this[_0x1069ee(0x395)](),this[_0x1069ee(0x270)](this['_state'][_0x1069ee(0x42a)](_0x2f344c)),this[_0x1069ee(0x29a)]();}[_0xf74654(0x34f)](_0x20d1c5){var _0x1a64fe=_0xf74654;this[_0x1a64fe(0x395)](),this[_0x1a64fe(0x270)](this[_0x1a64fe(0x22d)][_0x1a64fe(0x482)](_0x20d1c5)),this[_0x1a64fe(0x29a)]();}[_0xf74654(0x412)](_0x28b00c){var _0x4d05d1=_0xf74654;if(!(this[_0x4d05d1(0x22d)]instanceof exports['FetchingMissState']))throw new TypeError(_0x4d05d1(0x3a0));const _0x863ea4=_0x28b00c['map'](_0x433d5a=>{var _0x3c7dcd=_0x4d05d1;const _0x5a5b8b=this[_0x3c7dcd(0x268)][_0x3c7dcd(0x4ab)][_0x3c7dcd(0x159)](this[_0x3c7dcd(0x268)][_0x3c7dcd(0x4ab)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x433d5a['mutations'],null)||_0x433d5a['mutations'];return{..._0x433d5a,'mutations':_0x5a5b8b};});this[_0x4d05d1(0x395)](),this[_0x4d05d1(0x270)](this['_state']['onMissedChangesetFetched'](_0x863ea4)),this[_0x4d05d1(0x29a)]();}[_0xf74654(0x152)](){var _0x5de934=_0xf74654;this[_0x5de934(0x395)](),this[_0x5de934(0x270)](this[_0x5de934(0x22d)][_0x5de934(0x3b6)]()),this[_0x5de934(0x29a)]();}[_0xf74654(0x1ec)](_0x19d85c=!0x1){var _0xe725a2=_0xf74654;this[_0xe725a2(0x395)](),this[_0xe725a2(0x270)](this[_0xe725a2(0x22d)]['toggleOnline']()),this[_0xe725a2(0x29a)]();const _0x21a32b=this['_state'];_0x19d85c&&_0x21a32b instanceof exports[_0xe725a2(0x1bf)]&&(this['_lockTransition'](),this[_0xe725a2(0x270)](_0x21a32b['fetchMiss']()),this['_unlockTransition']());}async[_0xf74654(0x3e1)](){return new Promise(_0x28201=>{var _0x5b2a33=_0x201f;this[_0x5b2a33(0x3b0)][_0x5b2a33(0x314)]['pipe'](H[_0x5b2a33(0x44d)](0x1))[_0x5b2a33(0x203)](async _0x589ed6=>{var _0x2d82f3=_0x5b2a33;_0x28201(await this['_createInitialStateImpl'](_0x589ed6===se[_0x2d82f3(0x497)]));});});}[_0xf74654(0x1f2)](){var _0x5bf497=_0xf74654;const _0x3dc72b=this[_0x5bf497(0x4ae)];return{'onStateChange':(_0x2a2d0e,_0x765ef5)=>{var _0x237ad5=_0x5bf497;if(_0x2a2d0e!==this['_state'])throw new Error(_0x237ad5(0x283)+_0x2a2d0e[_0x237ad5(0x495)]+_0x237ad5(0x1a4)+_0x765ef5['status']+_0x237ad5(0x244)+this['_state']['status']);this[_0x237ad5(0x270)](_0x765ef5);},'onSendChangeset':_0x7a29fb=>{var _0x56b307=_0x5bf497;_0x7a29fb['sid']||(_0x7a29fb[_0x56b307(0x1a5)]=this[_0x56b307(0x324)],_0x7a29fb[_0x56b307(0x174)]=++this[_0x56b307(0x169)]);const _0x2d642c={'eventID':m['CollaborationEvent'][_0x56b307(0x1c0)],'data':{'unitID':_0x7a29fb[_0x56b307(0x4ae)],'unitType':this[_0x56b307(0x3a9)],'changeset':_0x7a29fb,'memberID':this[_0x56b307(0x3b0)][_0x56b307(0x282)]()}};this[_0x56b307(0x3b0)]['send'](_0x2d642c,this[_0x56b307(0x4ae)]);},'onMissingChangesets':({from:_0x8d1163,to:_0xbbefcc})=>{var _0x5bfcf7=_0x5bf497;this[_0x5bfcf7(0x390)]['debug'](_0x5bfcf7(0x4bb),_0x5bfcf7(0x29b)+_0x8d1163+_0x5bfcf7(0x396)+_0xbbefcc);const _0x4e16ce={'eventID':m[_0x5bfcf7(0x486)][_0x5bfcf7(0x23e)],'data':{'unitID':_0x3dc72b,'unitType':this['_type'],'from':_0x8d1163,'to':_0xbbefcc}};this[_0x5bfcf7(0x3b0)][_0x5bfcf7(0x46b)](_0x4e16ce,this[_0x5bfcf7(0x4ae)]);}};}async[_0xf74654(0x2de)](_0x3e002f){var _0xd134d6=_0xf74654,_0x5c0e61,_0xb9b8cc,_0x8099aa;const _0x34fea7=await((_0x5c0e61=this['_localCacheService'])==null?void 0x0:_0x5c0e61[_0xd134d6(0x1fd)](this[_0xd134d6(0x4ae)])),_0x773c3=(_0xb9b8cc=_0x34fea7==null?void 0x0:_0x34fea7['mutations'])!=null?_0xb9b8cc:[],_0xb7d192=(_0x8099aa=_0x34fea7==null?void 0x0:_0x34fea7[_0xd134d6(0x1ee)])!=null?_0x8099aa:null,_0x5d25ea=!!(_0xb7d192!=null&&_0xb7d192[_0xd134d6(0x1a5)])&&!!(_0xb7d192!=null&&_0xb7d192[_0xd134d6(0x174)]);this[_0xd134d6(0x324)]=_0x5d25ea?_0xb7d192[_0xd134d6(0x1a5)]:gi(),this[_0xd134d6(0x169)]=_0x5d25ea?_0xb7d192['reqId']:0x0;const _0x2de840=this[_0xd134d6(0x4ae)];try{this[_0xd134d6(0x15e)](_0xb7d192,_0x773c3);}catch(_0x32b84f){this[_0xd134d6(0x390)][_0xd134d6(0x312)](_0x32b84f);}const _0x43055b=this[_0xd134d6(0x1f2)]();if(_0x3e002f){const _0x2443db=Nt(this[_0xd134d6(0x2e3)],_0x2de840,this[_0xd134d6(0x3a9)],_0xb7d192,_0x773c3,_0x43055b);return _0x2443db instanceof exports[_0xd134d6(0x237)]?_0x2443db[_0xd134d6(0x45f)]():(_0x2443db instanceof exports[_0xd134d6(0x3d3)]||_0x2443db instanceof exports['AwaitingState'])&&_0x2443db['resend'](),_0x2443db;}return this[_0xd134d6(0x2e3)][_0xd134d6(0x1f9)](exports[_0xd134d6(0x2f3)],_0x2de840,this[_0xd134d6(0x3a9)],_0xb7d192,_0x773c3,_0x43055b);}[_0xf74654(0x15e)](_0x1c0fb3,_0x575983){var _0x1e8752=_0xf74654,_0x396d90,_0x3d2501;const _0x345be1=this[_0x1e8752(0x268)][_0x1e8752(0x4ab)][_0x1e8752(0x159)](this[_0x1e8752(0x268)][_0x1e8752(0x4ab)][_0x1e8752(0x1fb)]()[_0x1e8752(0x30b)]);(_0x396d90=_0x345be1((_0x1c0fb3==null?void 0x0:_0x1c0fb3[_0x1e8752(0x489)])||[],null))==null||_0x396d90[_0x1e8752(0x4c1)](_0x20afab=>this['_commandService'][_0x1e8752(0x3bd)](_0x20afab['id'],_0x20afab[_0x1e8752(0x2b1)])),(_0x3d2501=_0x345be1(_0x575983||[],null))==null||_0x3d2501[_0x1e8752(0x4c1)](_0xe1499b=>this[_0x1e8752(0x1b4)][_0x1e8752(0x3bd)](_0xe1499b['id'],_0xe1499b[_0x1e8752(0x2b1)]));}},exports[_0xf74654(0x42c)]=Ve([k(0x3,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a['Inject'](a[_0xf74654(0x36a)])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0xf74654(0x4c2)](te)),k(0x8,a[_0xf74654(0x301)]),k(0x9,a[_0xf74654(0x340)]),k(0xa,a['IPermissionService']),k(0xb,a[_0xf74654(0x2e0)](ve)),k(0xc,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x42c)]),exports['DocCollaborationEntity']=class extends exports[_0xf74654(0x42c)]{constructor(_0x28cc8e,_0xf7c811,_0x52e753,_0x30a1ac,_0x7e0f7d,_0x9df6ce,_0x390dd1,_0x49f9c7,_0x24de32,_0x47db91,_0xebe9b8,_0x30185d,_0x292b5b){var _0x46788d=_0xf74654;super(_0x28cc8e,_0x52e753,_0xf7c811,_0x30a1ac,_0x7e0f7d,_0x9df6ce,_0x390dd1,_0x49f9c7,_0x24de32,_0x47db91,_0xebe9b8,_0x30185d,_0x292b5b),D(this,_0x46788d(0x196),null),(this['unitID']=_0x28cc8e,this[_0x46788d(0x4b4)]=_0xf7c811);}[_0xf74654(0x49b)](_0x17ea95){var _0x22630f=_0xf74654;this[_0x22630f(0x196)]=_0x17ea95;}[_0xf74654(0x2c1)](){var _0x5e12a9=_0xf74654;this[_0x5e12a9(0x196)]=null,super[_0x5e12a9(0x2c1)]();}[_0xf74654(0x1f2)](){var _0x564c04=_0xf74654;const _0x321a7b=super[_0x564c04(0x1f2)]();return _0x321a7b['onTransformIME']=_0x1991ed=>{var _0x5212c8=_0x564c04,_0x4765b4,_0x1339ac;return(_0x1339ac=(_0x4765b4=this[_0x5212c8(0x196)])==null?void 0x0:_0x4765b4[_0x5212c8(0x493)])==null?void 0x0:_0x1339ac[_0x5212c8(0x338)](_0x4765b4,_0x1991ed);},_0x321a7b[_0x564c04(0x179)]=_0x50a179=>{var _0x41a361=_0x564c04,_0x19d0ae,_0x59be88;return(_0x59be88=(_0x19d0ae=this[_0x41a361(0x196)])==null?void 0x0:_0x19d0ae['onTransformState'])==null?void 0x0:_0x59be88[_0x41a361(0x338)](_0x19d0ae,_0x50a179);},_0x321a7b[_0x564c04(0x18f)]=_0x550cff=>{var _0x20a2fd=_0x564c04,_0x174287,_0x20802c;return(_0x20802c=(_0x174287=this[_0x20a2fd(0x196)])==null?void 0x0:_0x174287[_0x20a2fd(0x18f)])==null?void 0x0:_0x20802c[_0x20a2fd(0x338)](_0x174287,_0x550cff);},_0x321a7b[_0x564c04(0x2af)]=_0x4995a4=>{var _0x446d0e=_0x564c04,_0x494dbc,_0x53d93c;return(_0x53d93c=(_0x494dbc=this[_0x446d0e(0x196)])==null?void 0x0:_0x494dbc[_0x446d0e(0x2af)])==null?void 0x0:_0x53d93c[_0x446d0e(0x338)](_0x494dbc,_0x4995a4);},_0x321a7b[_0x564c04(0x19d)]=_0x524444=>{var _0x528f3e=_0x564c04,_0x4ac0ed,_0x3ad2a6,_0x3d2ccd;if(!((_0x4ac0ed=this['_handlerCallback'])!=null&&_0x4ac0ed['onTransformRemoteChangesetByIMECache']))throw new Error(_0x528f3e(0x430));return(_0x3d2ccd=(_0x3ad2a6=this[_0x528f3e(0x196)])==null?void 0x0:_0x3ad2a6[_0x528f3e(0x19d)])==null?void 0x0:_0x3d2ccd[_0x528f3e(0x338)](_0x3ad2a6,_0x524444);},_0x321a7b[_0x564c04(0x3ad)]=_0x5a5efe=>{var _0x26d3ae=_0x564c04,_0x40d6f3,_0xa25984,_0x30162d;if(!((_0x40d6f3=this['_handlerCallback'])!=null&&_0x40d6f3[_0x26d3ae(0x3ad)]))throw new Error(_0x26d3ae(0x192));return(_0x30162d=(_0xa25984=this[_0x26d3ae(0x196)])==null?void 0x0:_0xa25984['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x30162d[_0x26d3ae(0x338)](_0xa25984,_0x5a5efe);},_0x321a7b;}async['_init'](){var _0x541ee9=_0xf74654;const _0x5d255e=await super[_0x541ee9(0x201)]();return this['disposeWithMe'](this[_0x541ee9(0x1b4)]['onCommandExecuted']((_0x5b7e9d,_0x1b1dbc)=>{var _0x1e1ccb=_0x541ee9;if(_0x5b7e9d[_0x1e1ccb(0x4b4)]!==a['CommandType']['MUTATION']||_0x1b1dbc!=null&&_0x1b1dbc[_0x1e1ccb(0x350)]||_0x1b1dbc!=null&&_0x1b1dbc['onlyLocal']||_0x5b7e9d['id']===ut[_0x1e1ccb(0x28d)]['id'])return;const _0x3e0d1d=_0x5b7e9d[_0x1e1ccb(0x2b1)];if((_0x3e0d1d==null?void 0x0:_0x3e0d1d['unitId'])!==this[_0x1e1ccb(0x4ae)])return;const _0x35bae7=_0x5b7e9d,_0x443bc5=this[_0x1e1ccb(0x268)][_0x1e1ccb(0x4ab)][_0x1e1ccb(0x159)](this[_0x1e1ccb(0x268)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x35bae7],null)||[_0x35bae7];this[_0x1e1ccb(0x47b)](_0x443bc5[0x0]);})),_0x5d255e;}},exports[_0xf74654(0x2ff)]=Ve([k(0x3,a['Inject'](a['Injector'])),k(0x4,a[_0xf74654(0x4c2)](m[_0xf74654(0x4b6)])),k(0x5,a[_0xf74654(0x4c2)](a[_0xf74654(0x36a)])),k(0x6,a[_0xf74654(0x4c2)](m[_0xf74654(0x1ca)])),k(0x7,a[_0xf74654(0x4c2)](te)),k(0x8,a[_0xf74654(0x301)]),k(0x9,a['ICommandService']),k(0xa,a['IPermissionService']),k(0xb,a['Optional'](ve)),k(0xc,a['Optional'](J))],exports[_0xf74654(0x2ff)]),exports[_0xf74654(0x26d)]=class extends exports['CollaborationEntity']{constructor(_0x19c177,_0x33a528,_0x2bfdb8,_0x1d6673,_0xf0fe16,_0x343a27,_0x576407,_0x53baca,_0xdaa1f,_0x5dd58e,_0x4e4257,_0x3327e3,_0x4e9110,_0x9f660e){var _0x21421e=_0xf74654;super(_0x19c177,_0x2bfdb8,_0x33a528,_0x1d6673,_0xf0fe16,_0x343a27,_0x576407,_0xdaa1f,_0x5dd58e,_0x4e4257,_0x3327e3,_0x4e9110,_0x9f660e),this[_0x21421e(0x4ae)]=_0x19c177,this[_0x21421e(0x4b4)]=_0x33a528,this[_0x21421e(0x27e)]=_0x53baca;}[_0xf74654(0x1f2)](){var _0x426a4a=_0xf74654;const _0x84704=super[_0x426a4a(0x1f2)]();return _0x84704[_0x426a4a(0x18f)]=_0x1dcd6b=>this[_0x426a4a(0x27e)]['transformSelections'](_0x1dcd6b),_0x84704;}async['_init'](){var _0x372349=_0xf74654;const _0x4bd251=await super[_0x372349(0x201)]();return this[_0x372349(0x1b0)](this['_commandService'][_0x372349(0x491)]((_0x24999a,_0x33a57f)=>{var _0x4b213f=_0x372349;if(_0x24999a[_0x4b213f(0x4b4)]!==a[_0x4b213f(0x46d)][_0x4b213f(0x1db)]||_0x33a57f!=null&&_0x33a57f['fromCollab']||_0x33a57f!=null&&_0x33a57f[_0x4b213f(0x163)])return;const _0x5f5b33=_0x24999a[_0x4b213f(0x2b1)];if((_0x5f5b33==null?void 0x0:_0x5f5b33[_0x4b213f(0x2a4)])!==this[_0x4b213f(0x4ae)])return;const _0xb0c7f4=_0x24999a,_0x20b03b=this[_0x4b213f(0x268)][_0x4b213f(0x4ab)][_0x4b213f(0x159)](this['_compressMutationService'][_0x4b213f(0x4ab)][_0x4b213f(0x1fb)]()[_0x4b213f(0x22a)])([_0xb0c7f4],null)||[_0xb0c7f4];this[_0x4b213f(0x47b)](_0x20b03b[0x0]);})),_0x4bd251;}},exports[_0xf74654(0x26d)]=Ve([k(0x3,a[_0xf74654(0x4c2)](a['Injector'])),k(0x4,a[_0xf74654(0x4c2)](m[_0xf74654(0x4b6)])),k(0x5,a[_0xf74654(0x4c2)](a[_0xf74654(0x36a)])),k(0x6,a[_0xf74654(0x4c2)](m['RevisionService'])),k(0x7,a['Inject'](exports[_0xf74654(0x471)])),k(0x8,a['Inject'](te)),k(0x9,a['ILogService']),k(0xa,a[_0xf74654(0x340)]),k(0xb,a[_0xf74654(0x367)]),k(0xc,a[_0xf74654(0x2e0)](ve)),k(0xd,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x26d)]);var Di=Object[_0xf74654(0x2cc)],wi=Object[_0xf74654(0x39a)],Ai=(_0x420127,_0x4bb432,_0x4fae90,_0x54ea2c)=>{var _0xa4b4a8=_0xf74654;for(var _0x375ba7=_0x54ea2c>0x1?void 0x0:_0x54ea2c?wi(_0x4bb432,_0x4fae90):_0x4bb432,_0x308840=_0x420127[_0xa4b4a8(0x24a)]-0x1,_0xd74d51;_0x308840>=0x0;_0x308840--)(_0xd74d51=_0x420127[_0x308840])&&(_0x375ba7=(_0x54ea2c?_0xd74d51(_0x4bb432,_0x4fae90,_0x375ba7):_0xd74d51(_0x375ba7))||_0x375ba7);return _0x54ea2c&&_0x375ba7&&Di(_0x4bb432,_0x4fae90,_0x375ba7),_0x375ba7;},we=(_0x19e84b,_0x59f2ab)=>(_0x5bcebc,_0x3a9ad2)=>_0x59f2ab(_0x5bcebc,_0x3a9ad2,_0x19e84b);exports['CollaborationController']=class extends a[_0xf74654(0x325)]{constructor(_0x254d44,_0x9b648,_0x3633fc){var _0x119316=_0xf74654;super(),D(this,_0x119316(0x2d1),new Map()),D(this,_0x119316(0x2b7),new H['Subject']()),D(this,'entityInit$',this[_0x119316(0x2b7)][_0x119316(0x241)]()),(this[_0x119316(0x2e3)]=_0x254d44,this[_0x119316(0x47c)]=_0x9b648,this[_0x119316(0x1e0)]=_0x3633fc,this['_init']());}[_0xf74654(0x2c1)](){var _0x5d0174=_0xf74654;super[_0x5d0174(0x2c1)](),this[_0x5d0174(0x2d1)]['forEach'](_0x37aaa1=>_0x37aaa1[_0x5d0174(0x2c1)]()),this[_0x5d0174(0x2d1)]['clear']();}[_0xf74654(0x215)](_0x3670ed){var _0x3940cd=_0xf74654,_0x30abc7;return(_0x30abc7=this[_0x3940cd(0x2d1)]['get'](_0x3670ed))!=null?_0x30abc7:null;}['getCollabEntity$'](_0x416b39){var _0x5a37c4=_0xf74654;const _0x1b9343=this[_0x5a37c4(0x215)](_0x416b39);return _0x1b9343?H['of'](_0x1b9343):this[_0x5a37c4(0x2b7)][_0x5a37c4(0x20c)](V['filter'](_0x5c10fa=>_0x5c10fa[_0x5a37c4(0x4ae)]===_0x416b39));}[_0xf74654(0x229)](_0x633714){var _0xbbbef9=_0xf74654;return H[_0xbbbef9(0x3c0)](this[_0xbbbef9(0x2dc)](_0x633714)[_0xbbbef9(0x20c)](V[_0xbbbef9(0x462)](()=>{})));}[_0xf74654(0x201)](){var _0x299673=_0xf74654;this[_0x299673(0x1e0)][_0x299673(0x477)](a[_0x299673(0x176)][_0x299673(0x3b3)])[_0x299673(0x20c)](H[_0x299673(0x307)](this[_0x299673(0x149)]),V['delay'](0x10))[_0x299673(0x203)](async _0x520be6=>{var _0x422577=_0x299673;const _0x2d9ef7=_0x520be6['getUnitId'](),_0x188558=await this[_0x422577(0x3e7)](_0x2d9ef7,Z[_0x422577(0x3b3)]);this[_0x422577(0x2d1)][_0x422577(0x1e6)](_0x2d9ef7,_0x188558);}),this[_0x299673(0x1e0)][_0x299673(0x477)](a[_0x299673(0x176)][_0x299673(0x492)])[_0x299673(0x20c)](H[_0x299673(0x307)](this[_0x299673(0x149)]),V[_0x299673(0x4bd)](0x10))[_0x299673(0x20c)](V[_0x299673(0x171)](_0xc54b62=>!_0xc54b62[_0x299673(0x3e2)]()[_0x299673(0x425)]('__')))['subscribe'](async _0x1deb25=>{var _0xecf8f9=_0x299673;const _0xc98131=_0x1deb25['getUnitId'](),_0x45ccc7=await this[_0xecf8f9(0x3e7)](_0xc98131,Z[_0xecf8f9(0x492)]);this[_0xecf8f9(0x2d1)][_0xecf8f9(0x1e6)](_0xc98131,_0x45ccc7);}),H[_0x299673(0x3eb)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x299673(0x176)][_0x299673(0x3b3)]),this[_0x299673(0x1e0)][_0x299673(0x40a)](a[_0x299673(0x176)][_0x299673(0x492)]))['pipe'](H[_0x299673(0x307)](this[_0x299673(0x149)]))[_0x299673(0x203)](_0x347957=>{var _0x3b0a0b=_0x299673;const _0x4feedb=_0x347957[_0x3b0a0b(0x3e2)](),_0xd21c3e=this[_0x3b0a0b(0x2d1)][_0x3b0a0b(0x487)](_0x4feedb);_0xd21c3e&&(_0xd21c3e[_0x3b0a0b(0x2c1)](),this[_0x3b0a0b(0x2d1)][_0x3b0a0b(0x1f4)](_0x4feedb));});}async[_0xf74654(0x3e7)](_0x43bfa8,_0x431431){var _0x5c68cb=_0xf74654;const _0x17271d=await this[_0x5c68cb(0x47c)]['requireSession'](_0x43bfa8),_0x1266e8=this['_injector'][_0x5c68cb(0x1f9)](this[_0x5c68cb(0x371)](_0x431431),_0x43bfa8,_0x431431,_0x17271d);return await _0x1266e8[_0x5c68cb(0x221)](),this['_entityInit$'][_0x5c68cb(0x376)](_0x1266e8),_0x1266e8;}[_0xf74654(0x371)](_0x1706fc){var _0x2043f1=_0xf74654;switch(_0x1706fc){case Z['UNIVER_DOC']:return exports['DocCollaborationEntity'];case Z[_0x2043f1(0x3b3)]:return exports[_0x2043f1(0x26d)];default:throw new Error(_0x2043f1(0x141)+_0x1706fc);}}},exports[_0xf74654(0x2d5)]=Ai([we(0x0,a['Inject'](a[_0xf74654(0x327)])),we(0x1,a['Inject'](exports[_0xf74654(0x3d4)])),we(0x2,a[_0xf74654(0x299)])],exports[_0xf74654(0x2d5)]);var Li=Object[_0xf74654(0x2cc)],Mi=Object[_0xf74654(0x39a)],xi=(_0x2af6a8,_0x125e33,_0x3036d0,_0x19ec1c)=>{var _0x1e2e56=_0xf74654;for(var _0x5a3e88=_0x19ec1c>0x1?void 0x0:_0x19ec1c?Mi(_0x125e33,_0x3036d0):_0x125e33,_0x3e72eb=_0x2af6a8[_0x1e2e56(0x24a)]-0x1,_0x5c224a;_0x3e72eb>=0x0;_0x3e72eb--)(_0x5c224a=_0x2af6a8[_0x3e72eb])&&(_0x5a3e88=(_0x19ec1c?_0x5c224a(_0x125e33,_0x3036d0,_0x5a3e88):_0x5c224a(_0x5a3e88))||_0x5a3e88);return _0x19ec1c&&_0x5a3e88&&Li(_0x125e33,_0x3036d0,_0x5a3e88),_0x5a3e88;},Je=(_0x1c6706,_0x39e85d)=>(_0xad42ed,_0x56643d)=>_0x39e85d(_0xad42ed,_0x56643d,_0x1c6706);const ji=_0xf74654(0x465),$i=_0xf74654(0x19b);let $e=class extends a[_0xf74654(0x356)]{constructor(_0x2bfe3b,_0x26be7e){var _0x512c6d=_0xf74654;super(),this[_0x512c6d(0x1e0)]=_0x2bfe3b,this[_0x512c6d(0x1f7)]=_0x26be7e,this[_0x512c6d(0x201)]();}['_init'](){var _0x4afdf8=_0xf74654;this[_0x4afdf8(0x1b0)](this[_0x4afdf8(0x1e0)][_0x4afdf8(0x2a7)][_0x4afdf8(0x203)](()=>{var _0xc01ab9=_0x4afdf8,_0x129b41;const _0x28d5b9=this['_univerInstanceService']['getFocusedUnit']();let _0x5c4249=(_0x129b41=this[_0xc01ab9(0x1f7)][_0xc01ab9(0x3cf)](ji))!=null?_0x129b41:$i;_0x28d5b9 instanceof a[_0xc01ab9(0x1f1)]&&(_0x5c4249=_0x28d5b9[_0xc01ab9(0x34e)]),document[_0xc01ab9(0x42f)]=_0x5c4249;}));}};$e=xi([Je(0x0,a[_0xf74654(0x299)]),Je(0x1,a[_0xf74654(0x3f1)])],$e);var Hi=Object['defineProperty'],ki=Object[_0xf74654(0x39a)],Bi=(_0x1aae92,_0x1f607d,_0x4b006b,_0x15b21e)=>{for(var _0x4592fc=_0x15b21e>0x1?void 0x0:_0x15b21e?ki(_0x1f607d,_0x4b006b):_0x1f607d,_0x2d101e=_0x1aae92['length']-0x1,_0x43a713;_0x2d101e>=0x0;_0x2d101e--)(_0x43a713=_0x1aae92[_0x2d101e])&&(_0x4592fc=(_0x15b21e?_0x43a713(_0x1f607d,_0x4b006b,_0x4592fc):_0x43a713(_0x4592fc))||_0x4592fc);return _0x15b21e&&_0x4592fc&&Hi(_0x1f607d,_0x4b006b,_0x4592fc),_0x4592fc;},Ae=(_0xa133c,_0x3d885b)=>(_0x5ad73e,_0x51451e)=>_0x3d885b(_0x5ad73e,_0x51451e,_0xa133c);let ye=class{constructor(_0x378002,_0x400ea3,_0x262357){var _0x42cac1=_0xf74654;this[_0x42cac1(0x1f7)]=_0x378002,this[_0x42cac1(0x1c2)]=_0x400ea3,this[_0x42cac1(0x329)]=_0x262357,this['init']();}[_0xf74654(0x221)](){var _0x5302e3=_0xf74654;this[_0x5302e3(0x1c2)][_0x5302e3(0x480)]({'priority':0x1,'interceptor':(_0x478b08,_0xac95ce)=>_0xac95ce(_0x478b08)['pipe'](H['concatMap'](async _0x3d8c67=>{var _0x1f7085=_0x5302e3;const _0x5dd7dd=_0x3d8c67;if(_0x5dd7dd[_0x1f7085(0x495)]===0x191){if(typeof window>'u')throw new Error(_0x1f7085(0x3be));if(window[_0x1f7085(0x3ea)](this[_0x1f7085(0x329)]['t'](_0x1f7085(0x197)))){const _0x10a964=window[_0x1f7085(0x36b)](window[_0x1f7085(0x18c)][_0x1f7085(0x2e9)]);window['location']['href']=this['_getLoginPath']()+_0x1f7085(0x4b2)+_0x10a964;}}return _0x5dd7dd;}))});}[_0xf74654(0x3a4)](){var _0x175630=_0xf74654,_0x597d9c,_0x3951de;const _0x77d313=this[_0x175630(0x1f7)][_0x175630(0x3cf)](Et),_0x144b21=this[_0x175630(0x1f7)][_0x175630(0x3cf)](q);return(_0x3951de=(_0x597d9c=_0x144b21==null?void 0x0:_0x144b21[_0x175630(0x142)])!=null?_0x597d9c:_0x77d313)!=null?_0x3951de:qt;}};ye=Bi([Ae(0x0,a[_0xf74654(0x3f1)]),Ae(0x1,a[_0xf74654(0x4c2)](z['HTTPService'])),Ae(0x2,a[_0xf74654(0x4c2)](a[_0xf74654(0x36a)]))],ye);var Fi=Object[_0xf74654(0x2cc)],Wi=Object[_0xf74654(0x39a)],Vi=(_0x5d7fb4,_0x155e46,_0x4390f8,_0x275ae7)=>{var _0x378a18=_0xf74654;for(var _0x2ecbd5=_0x275ae7>0x1?void 0x0:_0x275ae7?Wi(_0x155e46,_0x4390f8):_0x155e46,_0x515615=_0x5d7fb4[_0x378a18(0x24a)]-0x1,_0x434c5f;_0x515615>=0x0;_0x515615--)(_0x434c5f=_0x5d7fb4[_0x515615])&&(_0x2ecbd5=(_0x275ae7?_0x434c5f(_0x155e46,_0x4390f8,_0x2ecbd5):_0x434c5f(_0x2ecbd5))||_0x2ecbd5);return _0x275ae7&&_0x2ecbd5&&Fi(_0x155e46,_0x4390f8,_0x2ecbd5),_0x2ecbd5;},Xe=(_0x4d500b,_0x1671d3)=>(_0x869e8f,_0x9743c4)=>_0x1671d3(_0x869e8f,_0x9743c4,_0x4d500b);const Ge=_0xf74654(0x432),Gi=_0xf74654(0x30e);exports[_0xf74654(0x191)]=class extends a[_0xf74654(0x356)]{constructor(_0xeba0cc,_0x500916){var _0x289fbf=_0xf74654;super(),this[_0x289fbf(0x34a)]=_0xeba0cc,this[_0x289fbf(0x1f7)]=_0x500916,this['_initMergeInterceptor']();}[_0xf74654(0x147)](){var _0x14c66c=_0xf74654;const _0x411fa0=this;this['disposeWithMe'](this[_0x14c66c(0x34a)][_0x14c66c(0x480)]({'priority':0x3e7,'interceptor':z[_0x14c66c(0x263)]({'isMatch'(_0x474599){var _0x5a2a68=_0x14c66c,_0x41095b;if(_0x474599[_0x5a2a68(0x20a)]===_0x5a2a68(0x2ef)&&((_0x41095b=_0x474599[_0x5a2a68(0x3c1)])!=null&&_0x41095b[_0x5a2a68(0x326)])){const {objectID:_0x2e5056,objectType:_0x35478e}=_0x474599['requestParams'][_0x5a2a68(0x326)]||{};if(!_0x2e5056||_0x35478e===void 0x0)return!0x1;const _0x541a03=_0x411fa0[_0x5a2a68(0x313)]()+'/'+_0x35478e+'/object/'+_0x2e5056+_0x5a2a68(0x151);if(_0x474599[_0x5a2a68(0x366)]===_0x541a03)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x9b5647){var _0x18c0b0=_0x14c66c,_0x514e8d;return(_0x514e8d=_0x9b5647['requestParams'])==null?void 0x0:_0x514e8d[_0x18c0b0(0x326)];},'mergeParamsToRequest'(_0x464d4c,_0x365d9f){var _0x807dc=_0x14c66c;const _0x479b30=_0x411fa0[_0x807dc(0x313)]()+'/-/object/-/batch_allowed',_0x572880=_0x464d4c[_0x807dc(0x33d)]((_0x4f1087,_0x47e488)=>{var _0x44649a=_0x807dc;const {unitID:_0xe9e4ba,objectID:_0x18bd61,objectType:_0x2fb7f5,actions:_0x1671d5}=_0x47e488;return _0x4f1087[_0xe9e4ba]||(_0x4f1087[_0xe9e4ba]={}),_0x4f1087[_0xe9e4ba][_0x18bd61]||(_0x4f1087[_0xe9e4ba][_0x18bd61]={'objectID':_0x18bd61,'objectType':_0x2fb7f5,'actions':[]}),_0x4f1087[_0xe9e4ba][_0x18bd61][_0x44649a(0x3f8)][_0x44649a(0x21b)](..._0x1671d5),_0x4f1087;},{}),_0x38117c=[];for(const _0x14e0b5 in _0x572880)for(const _0x16489d in _0x572880[_0x14e0b5]){const {actions:_0x5bbda8,objectType:_0x2787c3}=_0x572880[_0x14e0b5][_0x16489d],_0x499420=[...new Set(_0x5bbda8)];_0x38117c[_0x807dc(0x21b)]({'unitID':_0x14e0b5,'objectID':_0x16489d,'objectType':_0x2787c3,'actions':_0x499420});}return new z[(_0x807dc(0x31c))]('POST',_0x479b30,{'headers':_0x365d9f['headers'],'withCredentials':_0x365d9f[_0x807dc(0x2f4)],'responseType':_0x365d9f[_0x807dc(0x33c)],'body':{'requests':_0x38117c}});}},{'distributeResult'(_0x54a74b,_0xc5b368){const {objectActions:_0x59bc56}=_0x54a74b;return _0xc5b368['map'](_0x8514f6=>{var _0x16e203=_0x201f;const {unitID:_0x182045,objectID:_0x5f14ce,actions:_0x51714d}=_0x8514f6,_0x46c838=_0x59bc56[_0x16e203(0x1ff)](_0x36ed3f=>_0x36ed3f[_0x16e203(0x4ae)]===_0x182045&&_0x36ed3f[_0x16e203(0x30a)]===_0x5f14ce),_0x17a435=_0x51714d[_0x16e203(0x462)](_0x5bfa3f=>_0x46c838==null?void 0x0:_0x46c838['actions'][_0x16e203(0x1ff)](_0x1c6df2=>_0x1c6df2[_0x16e203(0x447)]===_0x5bfa3f))[_0x16e203(0x171)](_0x19da2f=>!!_0x19da2f);return{'config':_0x8514f6,'result':{'actions':_0x17a435,'error':_0x54a74b[_0x16e203(0x312)]}};});}})}));}[_0xf74654(0x313)](){var _0x2dbf3f=_0xf74654,_0x268670,_0x27de8a;const _0x3b6b04=this[_0x2dbf3f(0x1f7)]['getConfig'](Ge),_0x49906e=this[_0x2dbf3f(0x1f7)]['getConfig'](q);return(_0x27de8a=(_0x268670=_0x49906e==null?void 0x0:_0x49906e[_0x2dbf3f(0x25b)])!=null?_0x268670:_0x3b6b04)!=null?_0x27de8a:Gi;}async[_0xf74654(0x2ea)](_0x2a5b1b){var _0x3f0af3=_0xf74654;const _0x298bc8=this[_0x3f0af3(0x313)]()+'/'+_0x2a5b1b[_0x3f0af3(0x45c)]+_0x3f0af3(0x146);return(await this[_0x3f0af3(0x34a)]['post'](_0x298bc8,{'body':_0x2a5b1b}))['body'][_0x3f0af3(0x30a)]||'';}async[_0xf74654(0x2e1)](_0x3f6031){var _0x239989=_0xf74654;const _0x26a54c=this[_0x239989(0x313)]()+_0x239989(0x1a7);return(await this[_0x239989(0x34a)]['post'](_0x26a54c,{'body':_0x3f6031}))[_0x239989(0x326)][_0x239989(0x170)];}async[_0xf74654(0x22c)](_0x3de586){var _0x20157f=_0xf74654;const _0x22e349=this[_0x20157f(0x313)]()+'/'+_0x3de586[_0x20157f(0x45c)]+_0x20157f(0x4b1)+_0x3de586[_0x20157f(0x30a)];await this['_HTTPService'][_0x20157f(0x193)](_0x22e349,{'body':_0x3de586});}async[_0xf74654(0x269)](_0x2496bb){var _0x4f4146=_0xf74654;const _0x4afb97=this[_0x4f4146(0x313)]()+'/'+_0x2496bb[_0x4f4146(0x45c)]+_0x4f4146(0x4b1)+_0x2496bb[_0x4f4146(0x30a)]+_0x4f4146(0x151);return(await this[_0x4f4146(0x34a)][_0x4f4146(0x362)](_0x4afb97,{'body':_0x2496bb}))['body'][_0x4f4146(0x3f8)];}async['batchAllowed'](_0x1398b7){var _0x16ff37=_0xf74654;const _0x298288=this[_0x16ff37(0x313)]()+_0x16ff37(0x1b6);return(await this[_0x16ff37(0x34a)][_0x16ff37(0x362)](_0x298288,{'body':{'requests':_0x1398b7}}))[_0x16ff37(0x326)]['objectActions'];}async[_0xf74654(0x230)](_0x2428fd){var _0x31dc84=_0xf74654;const _0x398654=this['_getAPIPrefixPath']()+'/'+_0x2428fd[_0x31dc84(0x45c)]+'/role',_0x5d40d9=await this['_HTTPService'][_0x31dc84(0x362)](_0x398654,{'body':_0x2428fd});return{'roles':_0x5d40d9[_0x31dc84(0x326)]['roles'],'actions':_0x5d40d9[_0x31dc84(0x326)][_0x31dc84(0x3f8)]};}async['deleteCollaborator'](_0x175524){var _0x3cf653=_0xf74654;const _0x233db1=this[_0x3cf653(0x313)]()+'/collaborator';await this[_0x3cf653(0x34a)][_0x3cf653(0x1f4)](_0x233db1,{'params':{'collaboratorID':_0x175524['collaboratorID'],'objectID':_0x175524[_0x3cf653(0x30a)],'unitID':_0x175524[_0x3cf653(0x4ae)]}});}async[_0xf74654(0x3ed)](_0xbfbf4c){var _0x569f5a=_0xf74654;const _0x6e83b5=this[_0x569f5a(0x313)]()+'/collaborator';await this[_0x569f5a(0x34a)][_0x569f5a(0x479)](_0x6e83b5,{'body':_0xbfbf4c});}async[_0xf74654(0x343)](_0x3f4251){var _0x6595f6=_0xf74654;const _0x2628a4=this[_0x6595f6(0x313)]()+_0x6595f6(0x188);await this[_0x6595f6(0x34a)][_0x6595f6(0x362)](_0x2628a4,{'body':_0x3f4251});}async[_0xf74654(0x2d6)](_0xce3e0f){var _0x157e74=_0xf74654;const _0x3d1459=this['_getAPIPrefixPath']()+_0x157e74(0x188);return(await this[_0x157e74(0x34a)][_0x157e74(0x487)](_0x3d1459,{'params':{'objectID':_0xce3e0f[_0x157e74(0x30a)],'unitID':_0xce3e0f['unitID']}}))[_0x157e74(0x326)][_0x157e74(0x3b5)];}async[_0xf74654(0x3cb)](_0x5e927b){var _0x5328f3=_0xf74654;const _0x48a68a=this['_getAPIPrefixPath']()+_0x5328f3(0x188);await this[_0x5328f3(0x34a)]['put'](_0x48a68a,{'body':_0x5e927b});}},exports[_0xf74654(0x191)]=Vi([Xe(0x0,a[_0xf74654(0x4c2)](z[_0xf74654(0x24c)])),Xe(0x1,a[_0xf74654(0x4c2)](a['IConfigService']))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x1dd975){var _0x5e084a=_0xf74654;return _0x1dd975&&_0x1dd975[_0x5e084a(0x380)]&&Object[_0x5e084a(0x391)][_0x5e084a(0x411)][_0x5e084a(0x338)](_0x1dd975,_0x5e084a(0x278))?_0x1dd975[_0x5e084a(0x278)]:_0x1dd975;}var Se={'exports':{}};function Ki(_0x2c2401){var _0x4d6961=_0xf74654;throw new Error(_0x4d6961(0x1e4)+_0x2c2401+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Yi=pe[_0xf74654(0x2c4)],Ze;function ee(){var _0x4b2cdc=_0xf74654;return Ze||(Ze=0x1,function(_0x124b86,_0x292ab4){(function(_0x3cd3e5,_0x384d62){var _0x4f06e8=_0x201f;_0x124b86[_0x4f06e8(0x2c4)]=_0x384d62();}(Yi,function(){var _0x1d6bd1=_0x1d6bd1||function(_0x29202d,_0x5fe091){var _0xcf3132=_0x201f,_0x4e3fe0;if(typeof window<'u'&&window['crypto']&&(_0x4e3fe0=window[_0xcf3132(0x198)]),typeof self<'u'&&self[_0xcf3132(0x198)]&&(_0x4e3fe0=self[_0xcf3132(0x198)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4e3fe0=globalThis[_0xcf3132(0x198)]),!_0x4e3fe0&&typeof window<'u'&&window[_0xcf3132(0x23a)]&&(_0x4e3fe0=window[_0xcf3132(0x23a)]),!_0x4e3fe0&&typeof Le<'u'&&Le[_0xcf3132(0x198)]&&(_0x4e3fe0=Le[_0xcf3132(0x198)]),!_0x4e3fe0&&typeof Ki==_0xcf3132(0x15b))try{_0x4e3fe0=require('crypto');}catch{}var _0x28ff8b=function(){var _0x1d7c50=_0xcf3132;if(_0x4e3fe0){if(typeof _0x4e3fe0[_0x1d7c50(0x21d)]==_0x1d7c50(0x15b))try{return _0x4e3fe0[_0x1d7c50(0x21d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4e3fe0[_0x1d7c50(0x24b)]==_0x1d7c50(0x15b))try{return _0x4e3fe0[_0x1d7c50(0x24b)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3f0ea6=Object[_0xcf3132(0x2ea)]||(function(){function _0x149741(){}return function(_0x251614){var _0x276104=_0x201f,_0x198965;return _0x149741[_0x276104(0x391)]=_0x251614,_0x198965=new _0x149741(),_0x149741[_0x276104(0x391)]=null,_0x198965;};}()),_0x5907ff={},_0x4e6baa=_0x5907ff[_0xcf3132(0x1cf)]={},_0x374afa=_0x4e6baa[_0xcf3132(0x1ea)]=(function(){return{'extend':function(_0x47725e){var _0x1b2f39=_0x201f,_0xa3c6a9=_0x3f0ea6(this);return _0x47725e&&_0xa3c6a9[_0x1b2f39(0x240)](_0x47725e),(!_0xa3c6a9[_0x1b2f39(0x411)](_0x1b2f39(0x221))||this['init']===_0xa3c6a9['init'])&&(_0xa3c6a9[_0x1b2f39(0x221)]=function(){var _0x173f56=_0x1b2f39;_0xa3c6a9[_0x173f56(0x43f)][_0x173f56(0x221)]['apply'](this,arguments);}),_0xa3c6a9[_0x1b2f39(0x221)][_0x1b2f39(0x391)]=_0xa3c6a9,_0xa3c6a9[_0x1b2f39(0x43f)]=this,_0xa3c6a9;},'create':function(){var _0x57af21=_0x201f,_0x3bab09=this['extend']();return _0x3bab09[_0x57af21(0x221)]['apply'](_0x3bab09,arguments),_0x3bab09;},'init':function(){},'mixIn':function(_0x45ee6e){var _0x141f5d=_0x201f;for(var _0x40bca3 in _0x45ee6e)_0x45ee6e[_0x141f5d(0x411)](_0x40bca3)&&(this[_0x40bca3]=_0x45ee6e[_0x40bca3]);_0x45ee6e[_0x141f5d(0x411)](_0x141f5d(0x1c4))&&(this[_0x141f5d(0x1c4)]=_0x45ee6e['toString']);},'clone':function(){var _0x16f4b3=_0x201f;return this[_0x16f4b3(0x221)][_0x16f4b3(0x391)][_0x16f4b3(0x3d7)](this);}};}()),_0x5c3187=_0x4e6baa[_0xcf3132(0x456)]=_0x374afa[_0xcf3132(0x3d7)]({'init':function(_0x1d7136,_0x2230ca){var _0x2bde1a=_0xcf3132;_0x1d7136=this[_0x2bde1a(0x3aa)]=_0x1d7136||[],_0x2230ca!=_0x5fe091?this[_0x2bde1a(0x393)]=_0x2230ca:this[_0x2bde1a(0x393)]=_0x1d7136[_0x2bde1a(0x24a)]*0x4;},'toString':function(_0x45339f){var _0x976d99=_0xcf3132;return(_0x45339f||_0x287469)[_0x976d99(0x17e)](this);},'concat':function(_0x44e5df){var _0x3b1c9b=_0xcf3132,_0x43374c=this[_0x3b1c9b(0x3aa)],_0x3fa7d1=_0x44e5df['words'],_0xc4c6b8=this[_0x3b1c9b(0x393)],_0x5364fe=_0x44e5df[_0x3b1c9b(0x393)];if(this['clamp'](),_0xc4c6b8%0x4)for(var _0x173f2b=0x0;_0x173f2b<_0x5364fe;_0x173f2b++){var _0xba4fbb=_0x3fa7d1[_0x173f2b>>>0x2]>>>0x18-_0x173f2b%0x4*0x8&0xff;_0x43374c[_0xc4c6b8+_0x173f2b>>>0x2]|=_0xba4fbb<<0x18-(_0xc4c6b8+_0x173f2b)%0x4*0x8;}else{for(var _0x2943d5=0x0;_0x2943d5<_0x5364fe;_0x2943d5+=0x4)_0x43374c[_0xc4c6b8+_0x2943d5>>>0x2]=_0x3fa7d1[_0x2943d5>>>0x2];}return this[_0x3b1c9b(0x393)]+=_0x5364fe,this;},'clamp':function(){var _0x39a6db=_0xcf3132,_0x16495d=this[_0x39a6db(0x3aa)],_0x42fa53=this[_0x39a6db(0x393)];_0x16495d[_0x42fa53>>>0x2]&=0xffffffff<<0x20-_0x42fa53%0x4*0x8,_0x16495d[_0x39a6db(0x24a)]=_0x29202d[_0x39a6db(0x217)](_0x42fa53/0x4);},'clone':function(){var _0x465ba7=_0xcf3132,_0xae00f3=_0x374afa[_0x465ba7(0x460)][_0x465ba7(0x338)](this);return _0xae00f3[_0x465ba7(0x3aa)]=this[_0x465ba7(0x3aa)][_0x465ba7(0x27b)](0x0),_0xae00f3;},'random':function(_0x3ee694){for(var _0x56b11e=[],_0x460428=0x0;_0x460428<_0x3ee694;_0x460428+=0x4)_0x56b11e['push'](_0x28ff8b());return new _0x5c3187['init'](_0x56b11e,_0x3ee694);}}),_0xe1ef55=_0x5907ff[_0xcf3132(0x168)]={},_0x287469=_0xe1ef55[_0xcf3132(0x402)]={'stringify':function(_0x298fd5){var _0x236224=_0xcf3132;for(var _0x304b9d=_0x298fd5['words'],_0x3d2e6e=_0x298fd5['sigBytes'],_0x2128db=[],_0x195330=0x0;_0x195330<_0x3d2e6e;_0x195330++){var _0xa4fa30=_0x304b9d[_0x195330>>>0x2]>>>0x18-_0x195330%0x4*0x8&0xff;_0x2128db[_0x236224(0x21b)]((_0xa4fa30>>>0x4)['toString'](0x10)),_0x2128db['push']((_0xa4fa30&0xf)[_0x236224(0x1c4)](0x10));}return _0x2128db[_0x236224(0x199)]('');},'parse':function(_0x123117){var _0x39484f=_0xcf3132;for(var _0x3f3ffa=_0x123117[_0x39484f(0x24a)],_0x36cc41=[],_0x22c766=0x0;_0x22c766<_0x3f3ffa;_0x22c766+=0x2)_0x36cc41[_0x22c766>>>0x3]|=parseInt(_0x123117[_0x39484f(0x1d0)](_0x22c766,0x2),0x10)<<0x18-_0x22c766%0x8*0x4;return new _0x5c3187[(_0x39484f(0x221))](_0x36cc41,_0x3f3ffa/0x2);}},_0x2a3cd7=_0xe1ef55[_0xcf3132(0x1a6)]={'stringify':function(_0x48fa91){var _0x23c054=_0xcf3132;for(var _0x3adcf7=_0x48fa91[_0x23c054(0x3aa)],_0x39a96f=_0x48fa91['sigBytes'],_0x350a1f=[],_0x336e7b=0x0;_0x336e7b<_0x39a96f;_0x336e7b++){var _0x1cbe87=_0x3adcf7[_0x336e7b>>>0x2]>>>0x18-_0x336e7b%0x4*0x8&0xff;_0x350a1f['push'](String[_0x23c054(0x2c3)](_0x1cbe87));}return _0x350a1f['join']('');},'parse':function(_0x637b9c){var _0x5747e3=_0xcf3132;for(var _0x5b4584=_0x637b9c[_0x5747e3(0x24a)],_0x44d63f=[],_0xc4f9cc=0x0;_0xc4f9cc<_0x5b4584;_0xc4f9cc++)_0x44d63f[_0xc4f9cc>>>0x2]|=(_0x637b9c[_0x5747e3(0x357)](_0xc4f9cc)&0xff)<<0x18-_0xc4f9cc%0x4*0x8;return new _0x5c3187[(_0x5747e3(0x221))](_0x44d63f,_0x5b4584);}},_0x351b27=_0xe1ef55[_0xcf3132(0x3ac)]={'stringify':function(_0x586dd6){var _0x545922=_0xcf3132;try{return decodeURIComponent(escape(_0x2a3cd7['stringify'](_0x586dd6)));}catch{throw new Error(_0x545922(0x23d));}},'parse':function(_0x1f0a87){var _0x5f4822=_0xcf3132;return _0x2a3cd7[_0x5f4822(0x165)](unescape(encodeURIComponent(_0x1f0a87)));}},_0x2de0d0=_0x4e6baa['BufferedBlockAlgorithm']=_0x374afa['extend']({'reset':function(){var _0x1c50b4=_0xcf3132;this[_0x1c50b4(0x2ce)]=new _0x5c3187[(_0x1c50b4(0x221))](),this[_0x1c50b4(0x160)]=0x0;},'_append':function(_0x399ce3){var _0x4c7119=_0xcf3132;typeof _0x399ce3==_0x4c7119(0x351)&&(_0x399ce3=_0x351b27[_0x4c7119(0x165)](_0x399ce3)),this[_0x4c7119(0x2ce)][_0x4c7119(0x291)](_0x399ce3),this['_nDataBytes']+=_0x399ce3[_0x4c7119(0x393)];},'_process':function(_0x3ce3bf){var _0x18a98e=_0xcf3132,_0x366ef9,_0x42886e=this[_0x18a98e(0x2ce)],_0xae6f3a=_0x42886e[_0x18a98e(0x3aa)],_0x3fb029=_0x42886e[_0x18a98e(0x393)],_0x2336ca=this[_0x18a98e(0x2c5)],_0x136fd1=_0x2336ca*0x4,_0x39983b=_0x3fb029/_0x136fd1;_0x3ce3bf?_0x39983b=_0x29202d[_0x18a98e(0x217)](_0x39983b):_0x39983b=_0x29202d['max']((_0x39983b|0x0)-this[_0x18a98e(0x4b7)],0x0);var _0x1a3d8e=_0x39983b*_0x2336ca,_0xc7fd41=_0x29202d[_0x18a98e(0x2ba)](_0x1a3d8e*0x4,_0x3fb029);if(_0x1a3d8e){for(var _0x166fbe=0x0;_0x166fbe<_0x1a3d8e;_0x166fbe+=_0x2336ca)this[_0x18a98e(0x42b)](_0xae6f3a,_0x166fbe);_0x366ef9=_0xae6f3a[_0x18a98e(0x2b6)](0x0,_0x1a3d8e),_0x42886e[_0x18a98e(0x393)]-=_0xc7fd41;}return new _0x5c3187[(_0x18a98e(0x221))](_0x366ef9,_0xc7fd41);},'clone':function(){var _0x1ff520=_0xcf3132,_0x2fbbb7=_0x374afa[_0x1ff520(0x460)][_0x1ff520(0x338)](this);return _0x2fbbb7[_0x1ff520(0x2ce)]=this[_0x1ff520(0x2ce)][_0x1ff520(0x460)](),_0x2fbbb7;},'_minBufferSize':0x0});_0x4e6baa['Hasher']=_0x2de0d0[_0xcf3132(0x3d7)]({'cfg':_0x374afa['extend'](),'init':function(_0x563395){var _0x20b135=_0xcf3132;this[_0x20b135(0x40c)]=this['cfg'][_0x20b135(0x3d7)](_0x563395),this[_0x20b135(0x41c)]();},'reset':function(){var _0x6e537=_0xcf3132;_0x2de0d0['reset'][_0x6e537(0x338)](this),this['_doReset']();},'update':function(_0xcce976){var _0x4e97b2=_0xcf3132;return this[_0x4e97b2(0x3c4)](_0xcce976),this[_0x4e97b2(0x354)](),this;},'finalize':function(_0x36055c){var _0x2eff9e=_0xcf3132;_0x36055c&&this[_0x2eff9e(0x3c4)](_0x36055c);var _0x3ce988=this[_0x2eff9e(0x222)]();return _0x3ce988;},'blockSize':0x10,'_createHelper':function(_0x412662){return function(_0x50985e,_0x2eef71){var _0x54c4ea=_0x201f;return new _0x412662[(_0x54c4ea(0x221))](_0x2eef71)[_0x54c4ea(0x13b)](_0x50985e);};},'_createHmacHelper':function(_0x19e632){return function(_0x42c5bf,_0x2849f4){var _0x38a223=_0x201f;return new _0xf68fbf['HMAC'][(_0x38a223(0x221))](_0x19e632,_0x2849f4)[_0x38a223(0x13b)](_0x42c5bf);};}});var _0xf68fbf=_0x5907ff[_0xcf3132(0x14e)]={};return _0x5907ff;}(Math);return _0x1d6bd1;}));}(pe)),pe[_0x4b2cdc(0x2c4)];}var ge={'exports':{}},qi=ge['exports'],Qe;function Ut(){var _0x6374c2=_0xf74654;return Qe||(Qe=0x1,function(_0x507b46,_0x190fee){(function(_0x21d0cd,_0x6a3721){var _0x2d78e2=_0x201f;_0x507b46[_0x2d78e2(0x2c4)]=_0x6a3721(ee());}(qi,function(_0x332481){var _0x1962ba=_0x201f;return(function(){var _0x18fce5=_0x201f,_0x358305=_0x332481,_0x13fced=_0x358305[_0x18fce5(0x1cf)],_0x5994f0=_0x13fced[_0x18fce5(0x456)],_0x2e7bb0=_0x358305[_0x18fce5(0x168)];_0x2e7bb0[_0x18fce5(0x46c)]={'stringify':function(_0x1c00b0){var _0x59cda2=_0x18fce5,_0x460f0a=_0x1c00b0[_0x59cda2(0x3aa)],_0x4599c5=_0x1c00b0[_0x59cda2(0x393)],_0x41b556=this[_0x59cda2(0x3ec)];_0x1c00b0['clamp']();for(var _0x878b76=[],_0x5a8b3b=0x0;_0x5a8b3b<_0x4599c5;_0x5a8b3b+=0x3)for(var _0x1a1f42=_0x460f0a[_0x5a8b3b>>>0x2]>>>0x18-_0x5a8b3b%0x4*0x8&0xff,_0x45fb66=_0x460f0a[_0x5a8b3b+0x1>>>0x2]>>>0x18-(_0x5a8b3b+0x1)%0x4*0x8&0xff,_0x3a1841=_0x460f0a[_0x5a8b3b+0x2>>>0x2]>>>0x18-(_0x5a8b3b+0x2)%0x4*0x8&0xff,_0x1b2442=_0x1a1f42<<0x10|_0x45fb66<<0x8|_0x3a1841,_0x19daf5=0x0;_0x19daf5<0x4&&_0x5a8b3b+_0x19daf5*0.75<_0x4599c5;_0x19daf5++)_0x878b76[_0x59cda2(0x21b)](_0x41b556[_0x59cda2(0x355)](_0x1b2442>>>0x6*(0x3-_0x19daf5)&0x3f));var _0xbba2d9=_0x41b556[_0x59cda2(0x355)](0x40);if(_0xbba2d9){for(;_0x878b76[_0x59cda2(0x24a)]%0x4;)_0x878b76['push'](_0xbba2d9);}return _0x878b76[_0x59cda2(0x199)]('');},'parse':function(_0x2f6a0b){var _0x2732f0=_0x18fce5,_0x4d3c08=_0x2f6a0b[_0x2732f0(0x24a)],_0x30851c=this['_map'],_0x24bcbb=this['_reverseMap'];if(!_0x24bcbb){_0x24bcbb=this['_reverseMap']=[];for(var _0x41b214=0x0;_0x41b214<_0x30851c['length'];_0x41b214++)_0x24bcbb[_0x30851c[_0x2732f0(0x357)](_0x41b214)]=_0x41b214;}var _0x7927e5=_0x30851c[_0x2732f0(0x355)](0x40);if(_0x7927e5){var _0x5f0c09=_0x2f6a0b[_0x2732f0(0x2ac)](_0x7927e5);_0x5f0c09!==-0x1&&(_0x4d3c08=_0x5f0c09);}return _0x5040c0(_0x2f6a0b,_0x4d3c08,_0x24bcbb);},'_map':_0x18fce5(0x18a)};function _0x5040c0(_0x387a6e,_0x191e55,_0x3309b0){var _0x20a3d8=_0x18fce5;for(var _0xf1b707=[],_0x5a3229=0x0,_0x40005d=0x0;_0x40005d<_0x191e55;_0x40005d++)if(_0x40005d%0x4){var _0x49b34d=_0x3309b0[_0x387a6e['charCodeAt'](_0x40005d-0x1)]<<_0x40005d%0x4*0x2,_0x2907f5=_0x3309b0[_0x387a6e[_0x20a3d8(0x357)](_0x40005d)]>>>0x6-_0x40005d%0x4*0x2,_0x2ba8e2=_0x49b34d|_0x2907f5;_0xf1b707[_0x5a3229>>>0x2]|=_0x2ba8e2<<0x18-_0x5a3229%0x4*0x8,_0x5a3229++;}return _0x5994f0[_0x20a3d8(0x2ea)](_0xf1b707,_0x5a3229);}}()),_0x332481[_0x1962ba(0x168)][_0x1962ba(0x46c)];}));}(ge)),ge[_0x6374c2(0x2c4)];}var me={'exports':{}},zi=me[_0xf74654(0x2c4)],et;function Ji(){var _0x48386b=_0xf74654;return et||(et=0x1,function(_0x19fcf3,_0x164725){(function(_0x5d795b,_0x34a9fa){var _0x28feb9=_0x201f;_0x19fcf3[_0x28feb9(0x2c4)]=_0x34a9fa(ee());}(zi,function(_0x337fa4){var _0x29e0b8=_0x201f;return function(_0xaed78c){var _0x1804a7=_0x201f,_0xc4a109=_0x337fa4,_0x47dbd1=_0xc4a109['lib'],_0x240598=_0x47dbd1[_0x1804a7(0x456)],_0x2d01e8=_0x47dbd1[_0x1804a7(0x1da)],_0x337443=_0xc4a109[_0x1804a7(0x14e)],_0x5a8521=[];(function(){var _0x2199f5=_0x1804a7;for(var _0x3e6494=0x0;_0x3e6494<0x40;_0x3e6494++)_0x5a8521[_0x3e6494]=_0xaed78c[_0x2199f5(0x38d)](_0xaed78c['sin'](_0x3e6494+0x1))*0x100000000|0x0;}());var _0xd1b4ef=_0x337443[_0x1804a7(0x3de)]=_0x2d01e8[_0x1804a7(0x3d7)]({'_doReset':function(){var _0x150288=_0x1804a7;this[_0x150288(0x140)]=new _0x240598[(_0x150288(0x221))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3f3ec4,_0x24b3a1){var _0x46dc96=_0x1804a7;for(var _0x504c13=0x0;_0x504c13<0x10;_0x504c13++){var _0x2a00cc=_0x24b3a1+_0x504c13,_0x25404e=_0x3f3ec4[_0x2a00cc];_0x3f3ec4[_0x2a00cc]=(_0x25404e<<0x8|_0x25404e>>>0x18)&0xff00ff|(_0x25404e<<0x18|_0x25404e>>>0x8)&0xff00ff00;}var _0xa200a5=this['_hash'][_0x46dc96(0x3aa)],_0xd7fca0=_0x3f3ec4[_0x24b3a1+0x0],_0x56c252=_0x3f3ec4[_0x24b3a1+0x1],_0x15487f=_0x3f3ec4[_0x24b3a1+0x2],_0x42c451=_0x3f3ec4[_0x24b3a1+0x3],_0x1b3b65=_0x3f3ec4[_0x24b3a1+0x4],_0x2bc5ca=_0x3f3ec4[_0x24b3a1+0x5],_0x3fa479=_0x3f3ec4[_0x24b3a1+0x6],_0x8096ad=_0x3f3ec4[_0x24b3a1+0x7],_0x40f179=_0x3f3ec4[_0x24b3a1+0x8],_0x5bc281=_0x3f3ec4[_0x24b3a1+0x9],_0x4c9811=_0x3f3ec4[_0x24b3a1+0xa],_0x197db0=_0x3f3ec4[_0x24b3a1+0xb],_0xb70927=_0x3f3ec4[_0x24b3a1+0xc],_0x1d0076=_0x3f3ec4[_0x24b3a1+0xd],_0x56a5af=_0x3f3ec4[_0x24b3a1+0xe],_0x1abea7=_0x3f3ec4[_0x24b3a1+0xf],_0x207552=_0xa200a5[0x0],_0xa88a9a=_0xa200a5[0x1],_0x267f15=_0xa200a5[0x2],_0x4d4b9a=_0xa200a5[0x3];_0x207552=_0x10535b(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0xd7fca0,0x7,_0x5a8521[0x0]),_0x4d4b9a=_0x10535b(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x56c252,0xc,_0x5a8521[0x1]),_0x267f15=_0x10535b(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x15487f,0x11,_0x5a8521[0x2]),_0xa88a9a=_0x10535b(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x42c451,0x16,_0x5a8521[0x3]),_0x207552=_0x10535b(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x1b3b65,0x7,_0x5a8521[0x4]),_0x4d4b9a=_0x10535b(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x2bc5ca,0xc,_0x5a8521[0x5]),_0x267f15=_0x10535b(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x3fa479,0x11,_0x5a8521[0x6]),_0xa88a9a=_0x10535b(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x8096ad,0x16,_0x5a8521[0x7]),_0x207552=_0x10535b(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x40f179,0x7,_0x5a8521[0x8]),_0x4d4b9a=_0x10535b(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x5bc281,0xc,_0x5a8521[0x9]),_0x267f15=_0x10535b(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x4c9811,0x11,_0x5a8521[0xa]),_0xa88a9a=_0x10535b(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x197db0,0x16,_0x5a8521[0xb]),_0x207552=_0x10535b(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0xb70927,0x7,_0x5a8521[0xc]),_0x4d4b9a=_0x10535b(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x1d0076,0xc,_0x5a8521[0xd]),_0x267f15=_0x10535b(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x56a5af,0x11,_0x5a8521[0xe]),_0xa88a9a=_0x10535b(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x1abea7,0x16,_0x5a8521[0xf]),_0x207552=_0x470aa5(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x56c252,0x5,_0x5a8521[0x10]),_0x4d4b9a=_0x470aa5(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x3fa479,0x9,_0x5a8521[0x11]),_0x267f15=_0x470aa5(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x197db0,0xe,_0x5a8521[0x12]),_0xa88a9a=_0x470aa5(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0xd7fca0,0x14,_0x5a8521[0x13]),_0x207552=_0x470aa5(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x2bc5ca,0x5,_0x5a8521[0x14]),_0x4d4b9a=_0x470aa5(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x4c9811,0x9,_0x5a8521[0x15]),_0x267f15=_0x470aa5(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x1abea7,0xe,_0x5a8521[0x16]),_0xa88a9a=_0x470aa5(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x1b3b65,0x14,_0x5a8521[0x17]),_0x207552=_0x470aa5(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x5bc281,0x5,_0x5a8521[0x18]),_0x4d4b9a=_0x470aa5(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x56a5af,0x9,_0x5a8521[0x19]),_0x267f15=_0x470aa5(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x42c451,0xe,_0x5a8521[0x1a]),_0xa88a9a=_0x470aa5(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x40f179,0x14,_0x5a8521[0x1b]),_0x207552=_0x470aa5(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x1d0076,0x5,_0x5a8521[0x1c]),_0x4d4b9a=_0x470aa5(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x15487f,0x9,_0x5a8521[0x1d]),_0x267f15=_0x470aa5(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x8096ad,0xe,_0x5a8521[0x1e]),_0xa88a9a=_0x470aa5(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0xb70927,0x14,_0x5a8521[0x1f]),_0x207552=_0x202b93(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x2bc5ca,0x4,_0x5a8521[0x20]),_0x4d4b9a=_0x202b93(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x40f179,0xb,_0x5a8521[0x21]),_0x267f15=_0x202b93(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x197db0,0x10,_0x5a8521[0x22]),_0xa88a9a=_0x202b93(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x56a5af,0x17,_0x5a8521[0x23]),_0x207552=_0x202b93(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x56c252,0x4,_0x5a8521[0x24]),_0x4d4b9a=_0x202b93(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x1b3b65,0xb,_0x5a8521[0x25]),_0x267f15=_0x202b93(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x8096ad,0x10,_0x5a8521[0x26]),_0xa88a9a=_0x202b93(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x4c9811,0x17,_0x5a8521[0x27]),_0x207552=_0x202b93(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x1d0076,0x4,_0x5a8521[0x28]),_0x4d4b9a=_0x202b93(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0xd7fca0,0xb,_0x5a8521[0x29]),_0x267f15=_0x202b93(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x42c451,0x10,_0x5a8521[0x2a]),_0xa88a9a=_0x202b93(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x3fa479,0x17,_0x5a8521[0x2b]),_0x207552=_0x202b93(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x5bc281,0x4,_0x5a8521[0x2c]),_0x4d4b9a=_0x202b93(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0xb70927,0xb,_0x5a8521[0x2d]),_0x267f15=_0x202b93(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x1abea7,0x10,_0x5a8521[0x2e]),_0xa88a9a=_0x202b93(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x15487f,0x17,_0x5a8521[0x2f]),_0x207552=_0x440969(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0xd7fca0,0x6,_0x5a8521[0x30]),_0x4d4b9a=_0x440969(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x8096ad,0xa,_0x5a8521[0x31]),_0x267f15=_0x440969(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x56a5af,0xf,_0x5a8521[0x32]),_0xa88a9a=_0x440969(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x2bc5ca,0x15,_0x5a8521[0x33]),_0x207552=_0x440969(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0xb70927,0x6,_0x5a8521[0x34]),_0x4d4b9a=_0x440969(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x42c451,0xa,_0x5a8521[0x35]),_0x267f15=_0x440969(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x4c9811,0xf,_0x5a8521[0x36]),_0xa88a9a=_0x440969(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x56c252,0x15,_0x5a8521[0x37]),_0x207552=_0x440969(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x40f179,0x6,_0x5a8521[0x38]),_0x4d4b9a=_0x440969(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x1abea7,0xa,_0x5a8521[0x39]),_0x267f15=_0x440969(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x3fa479,0xf,_0x5a8521[0x3a]),_0xa88a9a=_0x440969(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x1d0076,0x15,_0x5a8521[0x3b]),_0x207552=_0x440969(_0x207552,_0xa88a9a,_0x267f15,_0x4d4b9a,_0x1b3b65,0x6,_0x5a8521[0x3c]),_0x4d4b9a=_0x440969(_0x4d4b9a,_0x207552,_0xa88a9a,_0x267f15,_0x197db0,0xa,_0x5a8521[0x3d]),_0x267f15=_0x440969(_0x267f15,_0x4d4b9a,_0x207552,_0xa88a9a,_0x15487f,0xf,_0x5a8521[0x3e]),_0xa88a9a=_0x440969(_0xa88a9a,_0x267f15,_0x4d4b9a,_0x207552,_0x5bc281,0x15,_0x5a8521[0x3f]),_0xa200a5[0x0]=_0xa200a5[0x0]+_0x207552|0x0,_0xa200a5[0x1]=_0xa200a5[0x1]+_0xa88a9a|0x0,_0xa200a5[0x2]=_0xa200a5[0x2]+_0x267f15|0x0,_0xa200a5[0x3]=_0xa200a5[0x3]+_0x4d4b9a|0x0;},'_doFinalize':function(){var _0x245c46=_0x1804a7,_0x4e8ceb=this[_0x245c46(0x2ce)],_0x2e2fef=_0x4e8ceb['words'],_0x5555d2=this['_nDataBytes']*0x8,_0x2bd7ea=_0x4e8ceb[_0x245c46(0x393)]*0x8;_0x2e2fef[_0x2bd7ea>>>0x5]|=0x80<<0x18-_0x2bd7ea%0x20;var _0x33bc7f=_0xaed78c[_0x245c46(0x185)](_0x5555d2/0x100000000),_0x170464=_0x5555d2;_0x2e2fef[(_0x2bd7ea+0x40>>>0x9<<0x4)+0xf]=(_0x33bc7f<<0x8|_0x33bc7f>>>0x18)&0xff00ff|(_0x33bc7f<<0x18|_0x33bc7f>>>0x8)&0xff00ff00,_0x2e2fef[(_0x2bd7ea+0x40>>>0x9<<0x4)+0xe]=(_0x170464<<0x8|_0x170464>>>0x18)&0xff00ff|(_0x170464<<0x18|_0x170464>>>0x8)&0xff00ff00,_0x4e8ceb[_0x245c46(0x393)]=(_0x2e2fef[_0x245c46(0x24a)]+0x1)*0x4,this[_0x245c46(0x354)]();for(var _0x11b7a2=this[_0x245c46(0x140)],_0x2d7c43=_0x11b7a2[_0x245c46(0x3aa)],_0x7120ef=0x0;_0x7120ef<0x4;_0x7120ef++){var _0x4bd854=_0x2d7c43[_0x7120ef];_0x2d7c43[_0x7120ef]=(_0x4bd854<<0x8|_0x4bd854>>>0x18)&0xff00ff|(_0x4bd854<<0x18|_0x4bd854>>>0x8)&0xff00ff00;}return _0x11b7a2;},'clone':function(){var _0x32c9da=_0x1804a7,_0x32f693=_0x2d01e8[_0x32c9da(0x460)][_0x32c9da(0x338)](this);return _0x32f693[_0x32c9da(0x140)]=this[_0x32c9da(0x140)][_0x32c9da(0x460)](),_0x32f693;}});function _0x10535b(_0x39b464,_0x105f58,_0x2047d9,_0x1b3ed6,_0x3c638e,_0x2244c4,_0xe80b47){var _0x47f02a=_0x39b464+(_0x105f58&_0x2047d9|~_0x105f58&_0x1b3ed6)+_0x3c638e+_0xe80b47;return(_0x47f02a<<_0x2244c4|_0x47f02a>>>0x20-_0x2244c4)+_0x105f58;}function _0x470aa5(_0x28e261,_0x31a24e,_0x2b718d,_0x5dba28,_0x372a41,_0x2076e8,_0x664d8e){var _0x2cd343=_0x28e261+(_0x31a24e&_0x5dba28|_0x2b718d&~_0x5dba28)+_0x372a41+_0x664d8e;return(_0x2cd343<<_0x2076e8|_0x2cd343>>>0x20-_0x2076e8)+_0x31a24e;}function _0x202b93(_0x121d70,_0x58a8bd,_0xc5f966,_0x16852c,_0x277643,_0x6b5dc9,_0x18d779){var _0x7a1eb0=_0x121d70+(_0x58a8bd^_0xc5f966^_0x16852c)+_0x277643+_0x18d779;return(_0x7a1eb0<<_0x6b5dc9|_0x7a1eb0>>>0x20-_0x6b5dc9)+_0x58a8bd;}function _0x440969(_0x4205a4,_0x16531d,_0x31798,_0x490b58,_0x41e606,_0x3e9566,_0x253e92){var _0x1c9c1d=_0x4205a4+(_0x31798^(_0x16531d|~_0x490b58))+_0x41e606+_0x253e92;return(_0x1c9c1d<<_0x3e9566|_0x1c9c1d>>>0x20-_0x3e9566)+_0x16531d;}_0xc4a109[_0x1804a7(0x3de)]=_0x2d01e8[_0x1804a7(0x332)](_0xd1b4ef),_0xc4a109['HmacMD5']=_0x2d01e8['_createHmacHelper'](_0xd1b4ef);}(Math),_0x337fa4[_0x29e0b8(0x3de)];}));}(me)),me[_0x48386b(0x2c4)];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee[_0xf74654(0x2c4)],tt;function Zi(){var _0x4faf37=_0xf74654;return tt||(tt=0x1,function(_0x5a8e92,_0x52fbf4){(function(_0x5748e5,_0x546090){var _0x297454=_0x201f;_0x5a8e92[_0x297454(0x2c4)]=_0x546090(ee());}(Xi,function(_0x4dfebd){return(function(){var _0x74258e=_0x201f,_0x55d7e7=_0x4dfebd,_0x1d3f33=_0x55d7e7[_0x74258e(0x1cf)],_0x25bf8e=_0x1d3f33['WordArray'],_0x2a803f=_0x1d3f33[_0x74258e(0x1da)],_0x4fa630=_0x55d7e7[_0x74258e(0x14e)],_0x44afca=[],_0xe2feb5=_0x4fa630['SHA1']=_0x2a803f[_0x74258e(0x3d7)]({'_doReset':function(){var _0x2aed60=_0x74258e;this[_0x2aed60(0x140)]=new _0x25bf8e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x39b863,_0x3e588e){var _0x5de40e=_0x74258e;for(var _0x1728d7=this[_0x5de40e(0x140)][_0x5de40e(0x3aa)],_0x791d5=_0x1728d7[0x0],_0xecf8f3=_0x1728d7[0x1],_0x1409b0=_0x1728d7[0x2],_0x350f1d=_0x1728d7[0x3],_0x2333c4=_0x1728d7[0x4],_0x11a89b=0x0;_0x11a89b<0x50;_0x11a89b++){if(_0x11a89b<0x10)_0x44afca[_0x11a89b]=_0x39b863[_0x3e588e+_0x11a89b]|0x0;else{var _0x23f42f=_0x44afca[_0x11a89b-0x3]^_0x44afca[_0x11a89b-0x8]^_0x44afca[_0x11a89b-0xe]^_0x44afca[_0x11a89b-0x10];_0x44afca[_0x11a89b]=_0x23f42f<<0x1|_0x23f42f>>>0x1f;}var _0x36835f=(_0x791d5<<0x5|_0x791d5>>>0x1b)+_0x2333c4+_0x44afca[_0x11a89b];_0x11a89b<0x14?_0x36835f+=(_0xecf8f3&_0x1409b0|~_0xecf8f3&_0x350f1d)+0x5a827999:_0x11a89b<0x28?_0x36835f+=(_0xecf8f3^_0x1409b0^_0x350f1d)+0x6ed9eba1:_0x11a89b<0x3c?_0x36835f+=(_0xecf8f3&_0x1409b0|_0xecf8f3&_0x350f1d|_0x1409b0&_0x350f1d)-0x70e44324:_0x36835f+=(_0xecf8f3^_0x1409b0^_0x350f1d)-0x359d3e2a,_0x2333c4=_0x350f1d,_0x350f1d=_0x1409b0,_0x1409b0=_0xecf8f3<<0x1e|_0xecf8f3>>>0x2,_0xecf8f3=_0x791d5,_0x791d5=_0x36835f;}_0x1728d7[0x0]=_0x1728d7[0x0]+_0x791d5|0x0,_0x1728d7[0x1]=_0x1728d7[0x1]+_0xecf8f3|0x0,_0x1728d7[0x2]=_0x1728d7[0x2]+_0x1409b0|0x0,_0x1728d7[0x3]=_0x1728d7[0x3]+_0x350f1d|0x0,_0x1728d7[0x4]=_0x1728d7[0x4]+_0x2333c4|0x0;},'_doFinalize':function(){var _0x229497=_0x74258e,_0x3b2b0f=this[_0x229497(0x2ce)],_0x3afd63=_0x3b2b0f[_0x229497(0x3aa)],_0x315874=this['_nDataBytes']*0x8,_0x1b5f94=_0x3b2b0f[_0x229497(0x393)]*0x8;return _0x3afd63[_0x1b5f94>>>0x5]|=0x80<<0x18-_0x1b5f94%0x20,_0x3afd63[(_0x1b5f94+0x40>>>0x9<<0x4)+0xe]=Math[_0x229497(0x185)](_0x315874/0x100000000),_0x3afd63[(_0x1b5f94+0x40>>>0x9<<0x4)+0xf]=_0x315874,_0x3b2b0f[_0x229497(0x393)]=_0x3afd63[_0x229497(0x24a)]*0x4,this[_0x229497(0x354)](),this[_0x229497(0x140)];},'clone':function(){var _0x1e0a30=_0x74258e,_0xde5030=_0x2a803f['clone'][_0x1e0a30(0x338)](this);return _0xde5030[_0x1e0a30(0x140)]=this[_0x1e0a30(0x140)]['clone'](),_0xde5030;}});_0x55d7e7[_0x74258e(0x1b3)]=_0x2a803f[_0x74258e(0x332)](_0xe2feb5),_0x55d7e7['HmacSHA1']=_0x2a803f[_0x74258e(0x4b9)](_0xe2feb5);}()),_0x4dfebd['SHA1'];}));}(Ee)),Ee[_0x4faf37(0x2c4)];}var Ce={'exports':{}},Qi=Ce[_0xf74654(0x2c4)],it;function en(){return it||(it=0x1,function(_0x228d61,_0x5d103b){(function(_0x36fff9,_0x5c412a){var _0x5b1894=_0x201f;_0x228d61[_0x5b1894(0x2c4)]=_0x5c412a(ee());}(Qi,function(_0x307216){(function(){var _0x3b4d03=_0x201f,_0x574fcd=_0x307216,_0x2f8201=_0x574fcd[_0x3b4d03(0x1cf)],_0x503a8a=_0x2f8201['Base'],_0x2ad2ac=_0x574fcd[_0x3b4d03(0x168)],_0x286f52=_0x2ad2ac[_0x3b4d03(0x3ac)],_0x209c37=_0x574fcd[_0x3b4d03(0x14e)];_0x209c37[_0x3b4d03(0x2c8)]=_0x503a8a[_0x3b4d03(0x3d7)]({'init':function(_0x514053,_0x1a05d0){var _0x4f358d=_0x3b4d03;_0x514053=this[_0x4f358d(0x1a1)]=new _0x514053[(_0x4f358d(0x221))](),typeof _0x1a05d0=='string'&&(_0x1a05d0=_0x286f52[_0x4f358d(0x165)](_0x1a05d0));var _0x37e89b=_0x514053[_0x4f358d(0x2c5)],_0x2399fa=_0x37e89b*0x4;_0x1a05d0[_0x4f358d(0x393)]>_0x2399fa&&(_0x1a05d0=_0x514053['finalize'](_0x1a05d0)),_0x1a05d0['clamp']();for(var _0x4ba91a=this[_0x4f358d(0x1c9)]=_0x1a05d0[_0x4f358d(0x460)](),_0x14d35a=this[_0x4f358d(0x404)]=_0x1a05d0[_0x4f358d(0x460)](),_0x2dd7fd=_0x4ba91a[_0x4f358d(0x3aa)],_0x3fe149=_0x14d35a[_0x4f358d(0x3aa)],_0x5266ee=0x0;_0x5266ee<_0x37e89b;_0x5266ee++)_0x2dd7fd[_0x5266ee]^=0x5c5c5c5c,_0x3fe149[_0x5266ee]^=0x36363636;_0x4ba91a[_0x4f358d(0x393)]=_0x14d35a[_0x4f358d(0x393)]=_0x2399fa,this[_0x4f358d(0x41c)]();},'reset':function(){var _0x1ee116=_0x3b4d03,_0x10f0ad=this['_hasher'];_0x10f0ad['reset'](),_0x10f0ad['update'](this[_0x1ee116(0x404)]);},'update':function(_0x2eca53){var _0x1b1e8b=_0x3b4d03;return this[_0x1b1e8b(0x1a1)][_0x1b1e8b(0x22c)](_0x2eca53),this;},'finalize':function(_0x38da84){var _0x476ea4=_0x3b4d03,_0x3b1a82=this['_hasher'],_0x25b4cb=_0x3b1a82[_0x476ea4(0x13b)](_0x38da84);_0x3b1a82[_0x476ea4(0x41c)]();var _0x58ddbd=_0x3b1a82[_0x476ea4(0x13b)](this[_0x476ea4(0x1c9)][_0x476ea4(0x460)]()[_0x476ea4(0x291)](_0x25b4cb));return _0x58ddbd;}});}());}));}(Ce)),Ce['exports'];}var tn=Ie[_0xf74654(0x2c4)],nt;function Dt(){return nt||(nt=0x1,function(_0x3b1ec1,_0x5aef63){(function(_0x44af1a,_0x4a97ab,_0x364e28){_0x3b1ec1['exports']=_0x4a97ab(ee(),Zi(),en());}(tn,function(_0x10b7bc){var _0x5df54a=_0x201f;return(function(){var _0x579476=_0x201f,_0x26cfc2=_0x10b7bc,_0x2fcced=_0x26cfc2[_0x579476(0x1cf)],_0x115fcc=_0x2fcced['Base'],_0x4f8a1d=_0x2fcced[_0x579476(0x456)],_0x3e5114=_0x26cfc2[_0x579476(0x14e)],_0x3f6aba=_0x3e5114[_0x579476(0x3de)],_0x51e773=_0x3e5114[_0x579476(0x150)]=_0x115fcc[_0x579476(0x3d7)]({'cfg':_0x115fcc[_0x579476(0x3d7)]({'keySize':0x80/0x20,'hasher':_0x3f6aba,'iterations':0x1}),'init':function(_0x171879){var _0x1f8164=_0x579476;this[_0x1f8164(0x40c)]=this['cfg'][_0x1f8164(0x3d7)](_0x171879);},'compute':function(_0x296497,_0x4b1515){var _0x406ee6=_0x579476;for(var _0xe009b1,_0x2f7fec=this[_0x406ee6(0x40c)],_0x21bdf3=_0x2f7fec[_0x406ee6(0x162)][_0x406ee6(0x2ea)](),_0x370409=_0x4f8a1d[_0x406ee6(0x2ea)](),_0x473503=_0x370409[_0x406ee6(0x3aa)],_0x248356=_0x2f7fec[_0x406ee6(0x1ba)],_0x4e9458=_0x2f7fec[_0x406ee6(0x449)];_0x473503[_0x406ee6(0x24a)]<_0x248356;){_0xe009b1&&_0x21bdf3[_0x406ee6(0x22c)](_0xe009b1),_0xe009b1=_0x21bdf3[_0x406ee6(0x22c)](_0x296497)['finalize'](_0x4b1515),_0x21bdf3[_0x406ee6(0x41c)]();for(var _0x1803fb=0x1;_0x1803fb<_0x4e9458;_0x1803fb++)_0xe009b1=_0x21bdf3['finalize'](_0xe009b1),_0x21bdf3['reset']();_0x370409[_0x406ee6(0x291)](_0xe009b1);}return _0x370409[_0x406ee6(0x393)]=_0x248356*0x4,_0x370409;}});_0x26cfc2[_0x579476(0x150)]=function(_0x7de4fe,_0x3c63a6,_0x8f9295){var _0x566ce0=_0x579476;return _0x51e773[_0x566ce0(0x2ea)](_0x8f9295)['compute'](_0x7de4fe,_0x3c63a6);};}()),_0x10b7bc[_0x5df54a(0x150)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},nn=Te[_0xf74654(0x2c4)],rt;function wt(){var _0x4b637f=_0xf74654;return rt||(rt=0x1,function(_0xd738b1,_0x5bc55c){(function(_0x5ae81c,_0x2533db,_0x23e1fb){var _0x26d027=_0x201f;_0xd738b1[_0x26d027(0x2c4)]=_0x2533db(ee(),Dt());}(nn,function(_0x4cf5b8){_0x4cf5b8['lib']['Cipher']||function(_0x2465f7){var _0x3b3db6=_0x201f,_0xa5283d=_0x4cf5b8,_0x20f2f9=_0xa5283d[_0x3b3db6(0x1cf)],_0x193fc2=_0x20f2f9['Base'],_0x1a60d8=_0x20f2f9['WordArray'],_0x2dfab6=_0x20f2f9['BufferedBlockAlgorithm'],_0x26c412=_0xa5283d['enc'];_0x26c412[_0x3b3db6(0x3ac)];var _0x28b28b=_0x26c412[_0x3b3db6(0x46c)],_0x47137a=_0xa5283d[_0x3b3db6(0x14e)],_0x11c16b=_0x47137a[_0x3b3db6(0x150)],_0x5c3509=_0x20f2f9[_0x3b3db6(0x35f)]=_0x2dfab6[_0x3b3db6(0x3d7)]({'cfg':_0x193fc2[_0x3b3db6(0x3d7)](),'createEncryptor':function(_0x297b7f,_0x35d575){var _0x366b1b=_0x3b3db6;return this[_0x366b1b(0x2ea)](this[_0x366b1b(0x16b)],_0x297b7f,_0x35d575);},'createDecryptor':function(_0x55ab98,_0xa1e07){var _0xb523d1=_0x3b3db6;return this['create'](this[_0xb523d1(0x166)],_0x55ab98,_0xa1e07);},'init':function(_0x5a47bb,_0x1af333,_0x15d08e){var _0x3c05c7=_0x3b3db6;this[_0x3c05c7(0x40c)]=this['cfg']['extend'](_0x15d08e),this['_xformMode']=_0x5a47bb,this[_0x3c05c7(0x467)]=_0x1af333,this[_0x3c05c7(0x41c)]();},'reset':function(){var _0x52a4f7=_0x3b3db6;_0x2dfab6[_0x52a4f7(0x41c)][_0x52a4f7(0x338)](this),this[_0x52a4f7(0x3b7)]();},'process':function(_0x3c2887){var _0x1a527f=_0x3b3db6;return this['_append'](_0x3c2887),this[_0x1a527f(0x354)]();},'finalize':function(_0x470c93){var _0x13418b=_0x3b3db6;_0x470c93&&this[_0x13418b(0x3c4)](_0x470c93);var _0x2eba8f=this[_0x13418b(0x222)]();return _0x2eba8f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x17b0c7(_0x45ee91){var _0x45595c=_0x201f;return typeof _0x45ee91==_0x45595c(0x351)?_0x396528:_0x215757;}return function(_0x31009d){return{'encrypt':function(_0x45ff5b,_0x6b68ed,_0xb3ef01){return _0x17b0c7(_0x6b68ed)['encrypt'](_0x31009d,_0x45ff5b,_0x6b68ed,_0xb3ef01);},'decrypt':function(_0x5013c1,_0x508727,_0x21614c){return _0x17b0c7(_0x508727)['decrypt'](_0x31009d,_0x5013c1,_0x508727,_0x21614c);}};};}())});_0x20f2f9[_0x3b3db6(0x389)]=_0x5c3509[_0x3b3db6(0x3d7)]({'_doFinalize':function(){var _0x27695c=_0x3b3db6,_0x48ba64=this[_0x27695c(0x354)](!0x0);return _0x48ba64;},'blockSize':0x1});var _0x4dfb79=_0xa5283d[_0x3b3db6(0x37f)]={},_0x47c0c8=_0x20f2f9[_0x3b3db6(0x315)]=_0x193fc2['extend']({'createEncryptor':function(_0x5cc94f,_0x2cd8e2){var _0x396817=_0x3b3db6;return this[_0x396817(0x200)]['create'](_0x5cc94f,_0x2cd8e2);},'createDecryptor':function(_0x14a7af,_0x20c401){var _0x8657b7=_0x3b3db6;return this[_0x8657b7(0x16e)][_0x8657b7(0x2ea)](_0x14a7af,_0x20c401);},'init':function(_0xc8b783,_0x57d653){var _0x1cfcc3=_0x3b3db6;this[_0x1cfcc3(0x31e)]=_0xc8b783,this[_0x1cfcc3(0x41b)]=_0x57d653;}}),_0x138f27=_0x4dfb79[_0x3b3db6(0x182)]=(function(){var _0x5daf67=_0x3b3db6,_0x4751a1=_0x47c0c8['extend']();_0x4751a1['Encryptor']=_0x4751a1[_0x5daf67(0x3d7)]({'processBlock':function(_0x4e2308,_0x1cf34c){var _0x4db11e=_0x5daf67,_0x154eb5=this[_0x4db11e(0x31e)],_0x499a8f=_0x154eb5[_0x4db11e(0x2c5)];_0x14ed73[_0x4db11e(0x338)](this,_0x4e2308,_0x1cf34c,_0x499a8f),_0x154eb5[_0x4db11e(0x3a8)](_0x4e2308,_0x1cf34c),this[_0x4db11e(0x46a)]=_0x4e2308[_0x4db11e(0x27b)](_0x1cf34c,_0x1cf34c+_0x499a8f);}}),_0x4751a1['Decryptor']=_0x4751a1['extend']({'processBlock':function(_0x118851,_0x38b341){var _0x11a18c=_0x5daf67,_0x198c50=this[_0x11a18c(0x31e)],_0x3def94=_0x198c50[_0x11a18c(0x2c5)],_0x3eb8af=_0x118851['slice'](_0x38b341,_0x38b341+_0x3def94);_0x198c50[_0x11a18c(0x4a6)](_0x118851,_0x38b341),_0x14ed73[_0x11a18c(0x338)](this,_0x118851,_0x38b341,_0x3def94),this[_0x11a18c(0x46a)]=_0x3eb8af;}});function _0x14ed73(_0xfd7d41,_0x1e7719,_0x29d56f){var _0x397230=_0x5daf67,_0x4ee98f,_0x2a5c36=this[_0x397230(0x41b)];_0x2a5c36?(_0x4ee98f=_0x2a5c36,this['_iv']=_0x2465f7):_0x4ee98f=this['_prevBlock'];for(var _0x4e7fe1=0x0;_0x4e7fe1<_0x29d56f;_0x4e7fe1++)_0xfd7d41[_0x1e7719+_0x4e7fe1]^=_0x4ee98f[_0x4e7fe1];}return _0x4751a1;}()),_0x3aac40=_0xa5283d[_0x3b3db6(0x342)]={},_0x4efb11=_0x3aac40['Pkcs7']={'pad':function(_0x37446b,_0x1ea720){var _0x558816=_0x3b3db6;for(var _0x4cf115=_0x1ea720*0x4,_0x5abf10=_0x4cf115-_0x37446b['sigBytes']%_0x4cf115,_0x5477ca=_0x5abf10<<0x18|_0x5abf10<<0x10|_0x5abf10<<0x8|_0x5abf10,_0x6cc7fc=[],_0x2898bd=0x0;_0x2898bd<_0x5abf10;_0x2898bd+=0x4)_0x6cc7fc['push'](_0x5477ca);var _0x2fb286=_0x1a60d8['create'](_0x6cc7fc,_0x5abf10);_0x37446b[_0x558816(0x291)](_0x2fb286);},'unpad':function(_0x383511){var _0x477bb5=_0x3b3db6,_0x110204=_0x383511[_0x477bb5(0x3aa)][_0x383511[_0x477bb5(0x393)]-0x1>>>0x2]&0xff;_0x383511[_0x477bb5(0x393)]-=_0x110204;}};_0x20f2f9[_0x3b3db6(0x219)]=_0x5c3509[_0x3b3db6(0x3d7)]({'cfg':_0x5c3509[_0x3b3db6(0x40c)][_0x3b3db6(0x3d7)]({'mode':_0x138f27,'padding':_0x4efb11}),'reset':function(){var _0x290039=_0x3b3db6,_0x109e50;_0x5c3509['reset']['call'](this);var _0x48aae5=this['cfg'],_0x465a92=_0x48aae5['iv'],_0x1cb8b5=_0x48aae5['mode'];this[_0x290039(0x2cf)]==this[_0x290039(0x16b)]?_0x109e50=_0x1cb8b5['createEncryptor']:(_0x109e50=_0x1cb8b5['createDecryptor'],this[_0x290039(0x4b7)]=0x1),this['_mode']&&this['_mode'][_0x290039(0x2d2)]==_0x109e50?this[_0x290039(0x335)][_0x290039(0x221)](this,_0x465a92&&_0x465a92[_0x290039(0x3aa)]):(this[_0x290039(0x335)]=_0x109e50[_0x290039(0x338)](_0x1cb8b5,this,_0x465a92&&_0x465a92['words']),this[_0x290039(0x335)][_0x290039(0x2d2)]=_0x109e50);},'_doProcessBlock':function(_0x3df7be,_0x42d3b9){var _0x1ed909=_0x3b3db6;this[_0x1ed909(0x335)][_0x1ed909(0x2df)](_0x3df7be,_0x42d3b9);},'_doFinalize':function(){var _0x4d1777=_0x3b3db6,_0x486d79,_0x449789=this['cfg']['padding'];return this[_0x4d1777(0x2cf)]==this[_0x4d1777(0x16b)]?(_0x449789[_0x4d1777(0x342)](this['_data'],this[_0x4d1777(0x2c5)]),_0x486d79=this[_0x4d1777(0x354)](!0x0)):(_0x486d79=this['_process'](!0x0),_0x449789[_0x4d1777(0x195)](_0x486d79)),_0x486d79;},'blockSize':0x80/0x20});var _0x4a0785=_0x20f2f9['CipherParams']=_0x193fc2[_0x3b3db6(0x3d7)]({'init':function(_0x47246e){this['mixIn'](_0x47246e);},'toString':function(_0x542ce6){var _0x5c1928=_0x3b3db6;return(_0x542ce6||this[_0x5c1928(0x20d)])[_0x5c1928(0x17e)](this);}}),_0x31214b=_0xa5283d['format']={},_0x44a978=_0x31214b[_0x3b3db6(0x15c)]={'stringify':function(_0x4da400){var _0x5ea4c0=_0x3b3db6,_0xc12131,_0x1ba974=_0x4da400[_0x5ea4c0(0x259)],_0x2042de=_0x4da400['salt'];return _0x2042de?_0xc12131=_0x1a60d8['create']([0x53616c74,0x65645f5f])[_0x5ea4c0(0x291)](_0x2042de)[_0x5ea4c0(0x291)](_0x1ba974):_0xc12131=_0x1ba974,_0xc12131['toString'](_0x28b28b);},'parse':function(_0x4917cb){var _0x267d64=_0x3b3db6,_0x464bcc,_0xa5dae3=_0x28b28b['parse'](_0x4917cb),_0x514dae=_0xa5dae3[_0x267d64(0x3aa)];return _0x514dae[0x0]==0x53616c74&&_0x514dae[0x1]==0x65645f5f&&(_0x464bcc=_0x1a60d8['create'](_0x514dae[_0x267d64(0x27b)](0x2,0x4)),_0x514dae[_0x267d64(0x2b6)](0x0,0x4),_0xa5dae3[_0x267d64(0x393)]-=0x10),_0x4a0785['create']({'ciphertext':_0xa5dae3,'salt':_0x464bcc});}},_0x215757=_0x20f2f9[_0x3b3db6(0x29e)]=_0x193fc2[_0x3b3db6(0x3d7)]({'cfg':_0x193fc2[_0x3b3db6(0x3d7)]({'format':_0x44a978}),'encrypt':function(_0x2813ca,_0x1ada1d,_0x432c91,_0x5db3a4){var _0x294c97=_0x3b3db6;_0x5db3a4=this['cfg'][_0x294c97(0x3d7)](_0x5db3a4);var _0x3d0c66=_0x2813ca['createEncryptor'](_0x432c91,_0x5db3a4),_0x1240e1=_0x3d0c66[_0x294c97(0x13b)](_0x1ada1d),_0x3fa61e=_0x3d0c66[_0x294c97(0x40c)];return _0x4a0785[_0x294c97(0x2ea)]({'ciphertext':_0x1240e1,'key':_0x432c91,'iv':_0x3fa61e['iv'],'algorithm':_0x2813ca,'mode':_0x3fa61e[_0x294c97(0x37f)],'padding':_0x3fa61e[_0x294c97(0x2c7)],'blockSize':_0x2813ca[_0x294c97(0x2c5)],'formatter':_0x5db3a4[_0x294c97(0x14a)]});},'decrypt':function(_0x3a6220,_0x373ada,_0x81a14c,_0x565b4f){var _0x420e4e=_0x3b3db6;_0x565b4f=this[_0x420e4e(0x40c)][_0x420e4e(0x3d7)](_0x565b4f),_0x373ada=this[_0x420e4e(0x223)](_0x373ada,_0x565b4f[_0x420e4e(0x14a)]);var _0x23c9fe=_0x3a6220[_0x420e4e(0x135)](_0x81a14c,_0x565b4f)[_0x420e4e(0x13b)](_0x373ada[_0x420e4e(0x259)]);return _0x23c9fe;},'_parse':function(_0x363305,_0x2e73f6){var _0xcf514d=_0x3b3db6;return typeof _0x363305==_0xcf514d(0x351)?_0x2e73f6[_0xcf514d(0x165)](_0x363305,this):_0x363305;}}),_0x5bbc0b=_0xa5283d[_0x3b3db6(0x47e)]={},_0x3b1c9c=_0x5bbc0b[_0x3b3db6(0x15c)]={'execute':function(_0x537341,_0xc3398,_0x407577,_0x5c4469,_0x4233a0){var _0x1ed712=_0x3b3db6;if(_0x5c4469||(_0x5c4469=_0x1a60d8[_0x1ed712(0x1a3)](0x40/0x8)),_0x4233a0)var _0x16fa35=_0x11c16b[_0x1ed712(0x2ea)]({'keySize':_0xc3398+_0x407577,'hasher':_0x4233a0})['compute'](_0x537341,_0x5c4469);else var _0x16fa35=_0x11c16b[_0x1ed712(0x2ea)]({'keySize':_0xc3398+_0x407577})[_0x1ed712(0x4ac)](_0x537341,_0x5c4469);var _0x52540b=_0x1a60d8[_0x1ed712(0x2ea)](_0x16fa35[_0x1ed712(0x3aa)][_0x1ed712(0x27b)](_0xc3398),_0x407577*0x4);return _0x16fa35[_0x1ed712(0x393)]=_0xc3398*0x4,_0x4a0785['create']({'key':_0x16fa35,'iv':_0x52540b,'salt':_0x5c4469});}},_0x396528=_0x20f2f9[_0x3b3db6(0x407)]=_0x215757[_0x3b3db6(0x3d7)]({'cfg':_0x215757[_0x3b3db6(0x40c)]['extend']({'kdf':_0x3b1c9c}),'encrypt':function(_0x13a475,_0x111a6f,_0x94f247,_0x296382){var _0x11dcb7=_0x3b3db6;_0x296382=this[_0x11dcb7(0x40c)][_0x11dcb7(0x3d7)](_0x296382);var _0xcc38c7=_0x296382[_0x11dcb7(0x47e)][_0x11dcb7(0x4a2)](_0x94f247,_0x13a475[_0x11dcb7(0x1ba)],_0x13a475[_0x11dcb7(0x39c)],_0x296382[_0x11dcb7(0x33f)],_0x296382[_0x11dcb7(0x162)]);_0x296382['iv']=_0xcc38c7['iv'];var _0x51e821=_0x215757[_0x11dcb7(0x133)][_0x11dcb7(0x338)](this,_0x13a475,_0x111a6f,_0xcc38c7[_0x11dcb7(0x47a)],_0x296382);return _0x51e821['mixIn'](_0xcc38c7),_0x51e821;},'decrypt':function(_0x594f5e,_0x31c8b8,_0x394f9b,_0x455391){var _0x507386=_0x3b3db6;_0x455391=this['cfg'][_0x507386(0x3d7)](_0x455391),_0x31c8b8=this['_parse'](_0x31c8b8,_0x455391[_0x507386(0x14a)]);var _0x1df682=_0x455391[_0x507386(0x47e)][_0x507386(0x4a2)](_0x394f9b,_0x594f5e[_0x507386(0x1ba)],_0x594f5e[_0x507386(0x39c)],_0x31c8b8[_0x507386(0x33f)],_0x455391['hasher']);_0x455391['iv']=_0x1df682['iv'];var _0x2f4e1d=_0x215757[_0x507386(0x2cd)]['call'](this,_0x594f5e,_0x31c8b8,_0x1df682[_0x507386(0x47a)],_0x455391);return _0x2f4e1d;}});}();}));}(Te)),Te[_0x4b637f(0x2c4)];}var rn=Se['exports'],st;function sn(){var _0x4f74dc=_0xf74654;return st||(st=0x1,function(_0xedb733,_0x33467f){(function(_0x1d6476,_0x26a853,_0x556317){var _0x31eb42=_0x201f;_0xedb733[_0x31eb42(0x2c4)]=_0x26a853(ee(),Ut(),Ji(),Dt(),wt());}(rn,function(_0x64a243){var _0x219933=_0x201f;return(function(){var _0x910ef=_0x201f,_0x282eeb=_0x64a243,_0x375b88=_0x282eeb[_0x910ef(0x1cf)],_0x193d91=_0x375b88[_0x910ef(0x219)],_0x429e0a=_0x282eeb[_0x910ef(0x14e)],_0x429b7e=[],_0x338d69=[],_0x4a47c8=[],_0xd9a774=[],_0x5e43e6=[],_0x4d03e8=[],_0x49d9e6=[],_0x2a3f32=[],_0x1fb441=[],_0x5b9265=[];(function(){for(var _0x85423e=[],_0x5cbe70=0x0;_0x5cbe70<0x100;_0x5cbe70++)_0x5cbe70<0x80?_0x85423e[_0x5cbe70]=_0x5cbe70<<0x1:_0x85423e[_0x5cbe70]=_0x5cbe70<<0x1^0x11b;for(var _0x1f6ed8=0x0,_0x58b0c3=0x0,_0x5cbe70=0x0;_0x5cbe70<0x100;_0x5cbe70++){var _0x5bc818=_0x58b0c3^_0x58b0c3<<0x1^_0x58b0c3<<0x2^_0x58b0c3<<0x3^_0x58b0c3<<0x4;_0x5bc818=_0x5bc818>>>0x8^_0x5bc818&0xff^0x63,_0x429b7e[_0x1f6ed8]=_0x5bc818,_0x338d69[_0x5bc818]=_0x1f6ed8;var _0xf4cb8a=_0x85423e[_0x1f6ed8],_0x1d12b3=_0x85423e[_0xf4cb8a],_0xda111=_0x85423e[_0x1d12b3],_0x5a0ef7=_0x85423e[_0x5bc818]*0x101^_0x5bc818*0x1010100;_0x4a47c8[_0x1f6ed8]=_0x5a0ef7<<0x18|_0x5a0ef7>>>0x8,_0xd9a774[_0x1f6ed8]=_0x5a0ef7<<0x10|_0x5a0ef7>>>0x10,_0x5e43e6[_0x1f6ed8]=_0x5a0ef7<<0x8|_0x5a0ef7>>>0x18,_0x4d03e8[_0x1f6ed8]=_0x5a0ef7;var _0x5a0ef7=_0xda111*0x1010101^_0x1d12b3*0x10001^_0xf4cb8a*0x101^_0x1f6ed8*0x1010100;_0x49d9e6[_0x5bc818]=_0x5a0ef7<<0x18|_0x5a0ef7>>>0x8,_0x2a3f32[_0x5bc818]=_0x5a0ef7<<0x10|_0x5a0ef7>>>0x10,_0x1fb441[_0x5bc818]=_0x5a0ef7<<0x8|_0x5a0ef7>>>0x18,_0x5b9265[_0x5bc818]=_0x5a0ef7,_0x1f6ed8?(_0x1f6ed8=_0xf4cb8a^_0x85423e[_0x85423e[_0x85423e[_0xda111^_0xf4cb8a]]],_0x58b0c3^=_0x85423e[_0x85423e[_0x58b0c3]]):_0x1f6ed8=_0x58b0c3=0x1;}}());var _0x804aaf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x205c36=_0x429e0a['AES']=_0x193d91[_0x910ef(0x3d7)]({'_doReset':function(){var _0x5c2c7f=_0x910ef,_0x19d3e8;if(!(this['_nRounds']&&this[_0x5c2c7f(0x2f2)]===this[_0x5c2c7f(0x467)])){for(var _0xf6f4d7=this[_0x5c2c7f(0x2f2)]=this[_0x5c2c7f(0x467)],_0x2c855d=_0xf6f4d7['words'],_0x2a1ebf=_0xf6f4d7[_0x5c2c7f(0x393)]/0x4,_0x375e8a=this[_0x5c2c7f(0x20e)]=_0x2a1ebf+0x6,_0x4b7e08=(_0x375e8a+0x1)*0x4,_0x5e1697=this[_0x5c2c7f(0x32b)]=[],_0x56211a=0x0;_0x56211a<_0x4b7e08;_0x56211a++)_0x56211a<_0x2a1ebf?_0x5e1697[_0x56211a]=_0x2c855d[_0x56211a]:(_0x19d3e8=_0x5e1697[_0x56211a-0x1],_0x56211a%_0x2a1ebf?_0x2a1ebf>0x6&&_0x56211a%_0x2a1ebf==0x4&&(_0x19d3e8=_0x429b7e[_0x19d3e8>>>0x18]<<0x18|_0x429b7e[_0x19d3e8>>>0x10&0xff]<<0x10|_0x429b7e[_0x19d3e8>>>0x8&0xff]<<0x8|_0x429b7e[_0x19d3e8&0xff]):(_0x19d3e8=_0x19d3e8<<0x8|_0x19d3e8>>>0x18,_0x19d3e8=_0x429b7e[_0x19d3e8>>>0x18]<<0x18|_0x429b7e[_0x19d3e8>>>0x10&0xff]<<0x10|_0x429b7e[_0x19d3e8>>>0x8&0xff]<<0x8|_0x429b7e[_0x19d3e8&0xff],_0x19d3e8^=_0x804aaf[_0x56211a/_0x2a1ebf|0x0]<<0x18),_0x5e1697[_0x56211a]=_0x5e1697[_0x56211a-_0x2a1ebf]^_0x19d3e8);for(var _0xc207fc=this[_0x5c2c7f(0x300)]=[],_0x30b713=0x0;_0x30b713<_0x4b7e08;_0x30b713++){var _0x56211a=_0x4b7e08-_0x30b713;if(_0x30b713%0x4)var _0x19d3e8=_0x5e1697[_0x56211a];else var _0x19d3e8=_0x5e1697[_0x56211a-0x4];_0x30b713<0x4||_0x56211a<=0x4?_0xc207fc[_0x30b713]=_0x19d3e8:_0xc207fc[_0x30b713]=_0x49d9e6[_0x429b7e[_0x19d3e8>>>0x18]]^_0x2a3f32[_0x429b7e[_0x19d3e8>>>0x10&0xff]]^_0x1fb441[_0x429b7e[_0x19d3e8>>>0x8&0xff]]^_0x5b9265[_0x429b7e[_0x19d3e8&0xff]];}}},'encryptBlock':function(_0x3a44c0,_0x1df5bb){var _0x20c182=_0x910ef;this[_0x20c182(0x2fb)](_0x3a44c0,_0x1df5bb,this[_0x20c182(0x32b)],_0x4a47c8,_0xd9a774,_0x5e43e6,_0x4d03e8,_0x429b7e);},'decryptBlock':function(_0xd1b8b0,_0x68b5a8){var _0x184afc=_0x910ef,_0x1b67e9=_0xd1b8b0[_0x68b5a8+0x1];_0xd1b8b0[_0x68b5a8+0x1]=_0xd1b8b0[_0x68b5a8+0x3],_0xd1b8b0[_0x68b5a8+0x3]=_0x1b67e9,this['_doCryptBlock'](_0xd1b8b0,_0x68b5a8,this[_0x184afc(0x300)],_0x49d9e6,_0x2a3f32,_0x1fb441,_0x5b9265,_0x338d69);var _0x1b67e9=_0xd1b8b0[_0x68b5a8+0x1];_0xd1b8b0[_0x68b5a8+0x1]=_0xd1b8b0[_0x68b5a8+0x3],_0xd1b8b0[_0x68b5a8+0x3]=_0x1b67e9;},'_doCryptBlock':function(_0x1e17f5,_0x5b2cd3,_0x340b95,_0x2e3894,_0x35665f,_0x3de02d,_0x37b84f,_0x3eec80){var _0x327ac1=_0x910ef;for(var _0x2e9b63=this[_0x327ac1(0x20e)],_0x32680b=_0x1e17f5[_0x5b2cd3]^_0x340b95[0x0],_0x3373fb=_0x1e17f5[_0x5b2cd3+0x1]^_0x340b95[0x1],_0x1182c9=_0x1e17f5[_0x5b2cd3+0x2]^_0x340b95[0x2],_0x410426=_0x1e17f5[_0x5b2cd3+0x3]^_0x340b95[0x3],_0x5b499b=0x4,_0x14dcd6=0x1;_0x14dcd6<_0x2e9b63;_0x14dcd6++){var _0x752444=_0x2e3894[_0x32680b>>>0x18]^_0x35665f[_0x3373fb>>>0x10&0xff]^_0x3de02d[_0x1182c9>>>0x8&0xff]^_0x37b84f[_0x410426&0xff]^_0x340b95[_0x5b499b++],_0x247a25=_0x2e3894[_0x3373fb>>>0x18]^_0x35665f[_0x1182c9>>>0x10&0xff]^_0x3de02d[_0x410426>>>0x8&0xff]^_0x37b84f[_0x32680b&0xff]^_0x340b95[_0x5b499b++],_0x29fee9=_0x2e3894[_0x1182c9>>>0x18]^_0x35665f[_0x410426>>>0x10&0xff]^_0x3de02d[_0x32680b>>>0x8&0xff]^_0x37b84f[_0x3373fb&0xff]^_0x340b95[_0x5b499b++],_0x8cdf=_0x2e3894[_0x410426>>>0x18]^_0x35665f[_0x32680b>>>0x10&0xff]^_0x3de02d[_0x3373fb>>>0x8&0xff]^_0x37b84f[_0x1182c9&0xff]^_0x340b95[_0x5b499b++];_0x32680b=_0x752444,_0x3373fb=_0x247a25,_0x1182c9=_0x29fee9,_0x410426=_0x8cdf;}var _0x752444=(_0x3eec80[_0x32680b>>>0x18]<<0x18|_0x3eec80[_0x3373fb>>>0x10&0xff]<<0x10|_0x3eec80[_0x1182c9>>>0x8&0xff]<<0x8|_0x3eec80[_0x410426&0xff])^_0x340b95[_0x5b499b++],_0x247a25=(_0x3eec80[_0x3373fb>>>0x18]<<0x18|_0x3eec80[_0x1182c9>>>0x10&0xff]<<0x10|_0x3eec80[_0x410426>>>0x8&0xff]<<0x8|_0x3eec80[_0x32680b&0xff])^_0x340b95[_0x5b499b++],_0x29fee9=(_0x3eec80[_0x1182c9>>>0x18]<<0x18|_0x3eec80[_0x410426>>>0x10&0xff]<<0x10|_0x3eec80[_0x32680b>>>0x8&0xff]<<0x8|_0x3eec80[_0x3373fb&0xff])^_0x340b95[_0x5b499b++],_0x8cdf=(_0x3eec80[_0x410426>>>0x18]<<0x18|_0x3eec80[_0x32680b>>>0x10&0xff]<<0x10|_0x3eec80[_0x3373fb>>>0x8&0xff]<<0x8|_0x3eec80[_0x1182c9&0xff])^_0x340b95[_0x5b499b++];_0x1e17f5[_0x5b2cd3]=_0x752444,_0x1e17f5[_0x5b2cd3+0x1]=_0x247a25,_0x1e17f5[_0x5b2cd3+0x2]=_0x29fee9,_0x1e17f5[_0x5b2cd3+0x3]=_0x8cdf;},'keySize':0x100/0x20});_0x282eeb[_0x910ef(0x445)]=_0x193d91[_0x910ef(0x332)](_0x205c36);}()),_0x64a243[_0x219933(0x445)];}));}(Se)),Se[_0x4f74dc(0x2c4)];}var on=sn();const an=fe(on);var cn=Ut();const ot=fe(cn);var be={'exports':{}},hn=be[_0xf74654(0x2c4)],at;function ln(){var _0x50bd20=_0xf74654;return at||(at=0x1,function(_0x34f433,_0x40e41b){(function(_0x4de86d,_0x36aa22){var _0x4e6d05=_0x201f;_0x34f433[_0x4e6d05(0x2c4)]=_0x36aa22(ee());}(hn,function(_0x51c2f8){var _0x47f8b8=_0x201f;return _0x51c2f8[_0x47f8b8(0x168)]['Utf8'];}));}(be)),be[_0x50bd20(0x2c4)];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re[_0xf74654(0x2c4)],ct;function vn(){var _0x284944=_0xf74654;return ct||(ct=0x1,function(_0x294c1a,_0x414c78){(function(_0x523dd5,_0x4b11cd){var _0x239655=_0x201f;_0x294c1a[_0x239655(0x2c4)]=_0x4b11cd(ee());}(dn,function(_0x1240ea){var _0x173559=_0x201f;return(function(){var _0xf2b42d=_0x201f;if(typeof ArrayBuffer==_0xf2b42d(0x15b)){var _0x21ddf3=_0x1240ea,_0x616793=_0x21ddf3[_0xf2b42d(0x1cf)],_0x383a9f=_0x616793['WordArray'],_0x2918b3=_0x383a9f[_0xf2b42d(0x221)],_0x49f4bd=_0x383a9f[_0xf2b42d(0x221)]=function(_0x3e8007){var _0x39950a=_0xf2b42d;if(_0x3e8007 instanceof ArrayBuffer&&(_0x3e8007=new Uint8Array(_0x3e8007)),(_0x3e8007 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e8007 instanceof Uint8ClampedArray||_0x3e8007 instanceof Int16Array||_0x3e8007 instanceof Uint16Array||_0x3e8007 instanceof Int32Array||_0x3e8007 instanceof Uint32Array||_0x3e8007 instanceof Float32Array||_0x3e8007 instanceof Float64Array)&&(_0x3e8007=new Uint8Array(_0x3e8007[_0x39950a(0x375)],_0x3e8007[_0x39950a(0x248)],_0x3e8007[_0x39950a(0x3ae)])),_0x3e8007 instanceof Uint8Array){for(var _0x15fb9f=_0x3e8007[_0x39950a(0x3ae)],_0x3f17e4=[],_0x3f9394=0x0;_0x3f9394<_0x15fb9f;_0x3f9394++)_0x3f17e4[_0x3f9394>>>0x2]|=_0x3e8007[_0x3f9394]<<0x18-_0x3f9394%0x4*0x8;_0x2918b3[_0x39950a(0x338)](this,_0x3f17e4,_0x15fb9f);}else _0x2918b3['apply'](this,arguments);};_0x49f4bd['prototype']=_0x383a9f;}}()),_0x1240ea[_0x173559(0x1cf)]['WordArray'];}));}(Re)),Re[_0x284944(0x2c4)];}var fn=vn();function _0x201f(_0x3f5d10,_0x3d52d0){var _0x124d04=_0x124d();return _0x201f=function(_0x201f49,_0x6b865e){_0x201f49=_0x201f49-0x133;var _0x5e3218=_0x124d04[_0x201f49];return _0x5e3218;},_0x201f(_0x3f5d10,_0x3d52d0);}const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0xf74654(0x2c4)],ht;function gn(){return ht||(ht=0x1,function(_0x416779,_0x5ef540){(function(_0x30b1a9,_0x1ab773,_0x19f777){var _0x54828b=_0x201f;_0x416779[_0x54828b(0x2c4)]=_0x1ab773(ee(),wt());}(pn,function(_0x4b6a7a){var _0x5bd1bb=_0x201f;return _0x4b6a7a[_0x5bd1bb(0x342)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4b6a7a[_0x5bd1bb(0x342)][_0x5bd1bb(0x1bd)];}));}(Oe)),Oe['exports'];}var mn=gn();const In=fe(mn);function En(_0x1eb0f0,_0x470e43){var _0xf8b707=_0xf74654;const _0x55a70e=_0x470e43-_0x1eb0f0[_0xf8b707(0x24a)]%_0x470e43,_0x1c0119=String[_0xf8b707(0x2c3)](_0x55a70e)['repeat'](_0x55a70e);return _0x1eb0f0+_0x1c0119;}function Cn(_0x38c2a4,_0xc8bbdf){var _0x5714b3=_0xf74654;const _0x17f87c=Sn['random'](0x10),_0x422396=En(_0x38c2a4,0x10),_0x9d56ba=an[_0x5714b3(0x133)](un['parse'](_0x422396),ot[_0x5714b3(0x165)](_0xc8bbdf),{'iv':_0x17f87c,'padding':In});return _0x17f87c[_0x5714b3(0x291)](_0x9d56ba[_0x5714b3(0x259)])[_0x5714b3(0x1c4)](ot);}function Tn(){var _0x996034=_0xf74654;const _0xbe3dcb=jt[_0x996034(0x3d8)]()['__Key__'];if(_0xbe3dcb){const _0x39ea24={'time':Math[_0x996034(0x185)](Date[_0x996034(0x441)]()/0x3e8),'domain':location[_0x996034(0x1b2)]};return Cn(JSON[_0x996034(0x17e)](_0x39ea24),_0xbe3dcb);}}var bn=Object[_0xf74654(0x2cc)],Rn=Object[_0xf74654(0x39a)],On=(_0x505684,_0x4f8865,_0x6492ae,_0x3501e7)=>{var _0x456871=_0xf74654;for(var _0x369006=_0x3501e7>0x1?void 0x0:_0x3501e7?Rn(_0x4f8865,_0x6492ae):_0x4f8865,_0x3bde98=_0x505684[_0x456871(0x24a)]-0x1,_0x218096;_0x3bde98>=0x0;_0x3bde98--)(_0x218096=_0x505684[_0x3bde98])&&(_0x369006=(_0x3501e7?_0x218096(_0x4f8865,_0x6492ae,_0x369006):_0x218096(_0x369006))||_0x369006);return _0x3501e7&&_0x369006&&bn(_0x4f8865,_0x6492ae,_0x369006),_0x369006;},yn=(_0x1aae49,_0xa7cdcc)=>(_0x55ee27,_0x5914c)=>_0xa7cdcc(_0x55ee27,_0x5914c,_0x1aae49);let Pe=class{constructor(_0x5b73f8){this['_httpService']=_0x5b73f8,this['_initRequestHeader']();}[_0xf74654(0x2e4)](){var _0x12e851=_0xf74654;this[_0x12e851(0x1c2)][_0x12e851(0x480)]({'interceptor':(_0x324473,_0x234f57)=>{var _0x161b72=_0x12e851;const _0x5b2cda=_0x324473[_0x161b72(0x3f6)],_0x2d926d=Tn();return _0x2d926d&&_0x5b2cda[_0x161b72(0x1e6)](_0x161b72(0x2a1),_0x2d926d),_0x234f57(_0x324473);}});}};Pe=On([yn(0x0,a[_0xf74654(0x4c2)](z[_0xf74654(0x24c)]))],Pe);var Pn=Object[_0xf74654(0x2cc)],Nn=Object['getOwnPropertyDescriptor'],Un=(_0xfc6e55,_0x1e9519,_0x443635,_0x3a56d2)=>{var _0x1b36de=_0xf74654;for(var _0x300a70=_0x3a56d2>0x1?void 0x0:_0x3a56d2?Nn(_0x1e9519,_0x443635):_0x1e9519,_0x248732=_0xfc6e55[_0x1b36de(0x24a)]-0x1,_0x5d69b6;_0x248732>=0x0;_0x248732--)(_0x5d69b6=_0xfc6e55[_0x248732])&&(_0x300a70=(_0x3a56d2?_0x5d69b6(_0x1e9519,_0x443635,_0x300a70):_0x5d69b6(_0x300a70))||_0x300a70);return _0x3a56d2&&_0x300a70&&Pn(_0x1e9519,_0x443635,_0x300a70),_0x300a70;},Me=(_0x3576e5,_0x376b8a)=>(_0x590b6b,_0x128edb)=>_0x376b8a(_0x590b6b,_0x128edb,_0x3576e5);exports['DataLoaderService']=class extends a[_0xf74654(0x325)]{constructor(_0x441120,_0x261ebb,_0x2ca09f){var _0x45f63e=_0xf74654;super(),D(this,'_unitInfo$',new H['BehaviorSubject'](null)),D(this,_0x45f63e(0x2b4),this['_unitInfo$']['asObservable']()),(this[_0x45f63e(0x390)]=_0x441120,this[_0x45f63e(0x14b)]=_0x261ebb,this['_localCacheService']=_0x2ca09f);}async['loadUnit'](_0x191d38,_0x78f74c,_0xe06a0f){var _0x5edf91=_0xf74654;this[_0x5edf91(0x322)][_0x5edf91(0x376)]({'unitId':_0x191d38,'type':_0x78f74c,'subUnitId':_0xe06a0f});let _0x2ddd46=null;switch(_0x78f74c){case Z[_0x5edf91(0x3b3)]:{_0x2ddd46=await this['_loadSheet'](_0x191d38);break;}case Z[_0x5edf91(0x492)]:{_0x2ddd46=await this[_0x5edf91(0x1e2)](_0x191d38);break;}default:{this['_logService'][_0x5edf91(0x312)](_0x5edf91(0x154),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2ddd46;}async[_0xf74654(0x473)](_0x2ea39d){var _0x4bd5bb=_0xf74654,_0x18acba;let _0x470365=0x0;const _0x2179eb=await((_0x18acba=this[_0x4bd5bb(0x3a2)])==null?void 0x0:_0x18acba['loadOfflineData'](_0x2ea39d));return _0x2179eb&&(_0x2179eb['awaitingChangeset']||_0x2179eb[_0x4bd5bb(0x489)][_0x4bd5bb(0x24a)]!==0x0)&&(_0x470365=_0x2179eb[_0x4bd5bb(0x2bb)]),_0x470365===0x0&&this[_0x4bd5bb(0x390)]['debug'](_0x4bd5bb(0x154),_0x4bd5bb(0x3a3)),this['_snapshotService'][_0x4bd5bb(0x475)](_0x2ea39d,_0x470365);}async[_0xf74654(0x1e2)](_0x4c1ffe){var _0x40d32c=_0xf74654,_0x262e22;let _0x510069=0x0;const _0x370410=await((_0x262e22=this[_0x40d32c(0x3a2)])==null?void 0x0:_0x262e22['loadOfflineData'](_0x4c1ffe));return _0x370410&&(_0x370410['awaitingChangeset']||_0x370410['mutations'][_0x40d32c(0x24a)]!==0x0)&&(_0x510069=_0x370410[_0x40d32c(0x2bb)]),_0x510069===0x0&&this[_0x40d32c(0x390)][_0x40d32c(0x47f)](_0x40d32c(0x154),_0x40d32c(0x3a3)),this['_snapshotService'][_0x40d32c(0x49c)](_0x4c1ffe,_0x510069);}},exports[_0xf74654(0x387)]=Un([Me(0x0,a['ILogService']),Me(0x1,a[_0xf74654(0x4c2)](m[_0xf74654(0x34b)])),Me(0x2,a[_0xf74654(0x2e0)](J))],exports[_0xf74654(0x387)]);var Dn=Object[_0xf74654(0x2cc)],wn=Object[_0xf74654(0x39a)],An=(_0x2ab59d,_0x4b12d4,_0x70ee6e,_0x41d09c)=>{var _0xbf6440=_0xf74654;for(var _0x101e0a=_0x41d09c>0x1?void 0x0:_0x41d09c?wn(_0x4b12d4,_0x70ee6e):_0x4b12d4,_0x5758e0=_0x2ab59d[_0xbf6440(0x24a)]-0x1,_0x51f205;_0x5758e0>=0x0;_0x5758e0--)(_0x51f205=_0x2ab59d[_0x5758e0])&&(_0x101e0a=(_0x41d09c?_0x51f205(_0x4b12d4,_0x70ee6e,_0x101e0a):_0x51f205(_0x101e0a))||_0x101e0a);return _0x41d09c&&_0x101e0a&&Dn(_0x4b12d4,_0x70ee6e,_0x101e0a),_0x101e0a;},xe=(_0xa793b2,_0xe9bec0)=>(_0x165722,_0xed2662)=>_0xe9bec0(_0x165722,_0xed2662,_0xa793b2);const Ln=[_0xf74654(0x2a9),'image/jpeg','image/jpg',_0xf74654(0x2aa),_0xf74654(0x306)],Mn=0x5*0x400*0x400,xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',jn=_0xf74654(0x136),$n=_0xf74654(0x3cc),Hn='/universer-api/file/{fileID}/sign-url';exports[_0xf74654(0x3d9)]=class{constructor(_0x49abd9,_0x2df7a9,_0x45b937){var _0x41f6ab=_0xf74654;D(this,_0x41f6ab(0x459),0x0),D(this,'_change$',new H[(_0x41f6ab(0x339))]()),D(this,_0x41f6ab(0x4c3),this[_0x41f6ab(0x2b5)]),D(this,_0x41f6ab(0x32c),new Map()),(this[_0x41f6ab(0x1c2)]=_0x49abd9,this[_0x41f6ab(0x1f7)]=_0x2df7a9,this[_0x41f6ab(0x1e0)]=_0x45b937);}[_0xf74654(0x3dc)](_0x44ab72){var _0xc3716f=_0xf74654;this['_waitCount']=_0x44ab72,this[_0xc3716f(0x2b5)]['next'](_0x44ab72);}[_0xf74654(0x39d)](_0x1964bc,_0x3e2dc8){var _0x2b94ed=_0xf74654;if(_0x3e2dc8===X[_0x2b94ed(0x3c2)]['BASE64']){const _0x1dfaa7=new Image();return _0x1dfaa7[_0x2b94ed(0x4b3)]=_0x1964bc,_0x1dfaa7;}return this[_0x2b94ed(0x32c)]['get'](_0x1964bc);}[_0xf74654(0x1c8)](_0x587434,_0x2106b2,_0x39fb46){var _0x3460b6=_0xf74654;_0x2106b2===X[_0x3460b6(0x3c2)][_0x3460b6(0x374)]||_0x39fb46==null||this[_0x3460b6(0x32c)][_0x3460b6(0x1e6)](_0x587434,_0x39fb46);}async['getImage'](_0x2dfb52){var _0xefb2a9=_0xf74654;try{const _0x4a8f53=this[_0xefb2a9(0x4a8)](this[_0xefb2a9(0x47d)](),''+_0x2dfb52),_0x1de447=(await this[_0xefb2a9(0x1c2)][_0xefb2a9(0x487)](_0x4a8f53))['body'];if(_0x1de447[_0xefb2a9(0x312)]&&_0x1de447[_0xefb2a9(0x312)][_0xefb2a9(0x1d5)]===Ct['OK']){const _0x52b7aa=new URL(_0x1de447[_0xefb2a9(0x366)],this[_0xefb2a9(0x3f2)]())[_0xefb2a9(0x1c4)]();return Promise[_0xefb2a9(0x139)](_0x52b7aa);}return Promise['reject'](_0x1de447[_0xefb2a9(0x312)]);}catch(_0x5d5499){return Promise[_0xefb2a9(0x317)](_0x5d5499);}}async[_0xf74654(0x401)](_0x43c495){var _0x125a46=_0xf74654;let _0x341ef9='';if(!Ln[_0x125a46(0x429)](_0x43c495[_0x125a46(0x4b4)]))return this[_0x125a46(0x1d6)](),Promise[_0x125a46(0x317)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x43c495[_0x125a46(0x43b)]>Mn)return this[_0x125a46(0x1d6)](),Promise[_0x125a46(0x317)](new Error(X[_0x125a46(0x2fd)][_0x125a46(0x2d3)]));try{const _0x5f243d=new FormData();_0x5f243d['append'](_0x125a46(0x172),_0x43c495);const _0x555082=this[_0x125a46(0x1e0)][_0x125a46(0x138)](),_0x4800bc=_0x555082==null?void 0x0:_0x555082[_0x125a46(0x3e2)]();if(!_0x4800bc)throw new Error(_0x125a46(0x377));const _0x3af7d2=this[_0x125a46(0x226)]()+_0x125a46(0x360)+_0x43c495[_0x125a46(0x43b)][_0x125a46(0x1c4)]()+'&source='+Tt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x4800bc),_0x58f3e6=await(await fetch(_0x3af7d2,{'method':'POST','body':_0x5f243d}))['json']();if(typeof _0x58f3e6[_0x125a46(0x2b0)]!=_0x125a46(0x351))return this[_0x125a46(0x1d6)](),Promise['reject'](new Error(X[_0x125a46(0x2fd)][_0x125a46(0x2f0)]));_0x341ef9=_0x58f3e6[_0x125a46(0x2b0)];}catch{return this[_0x125a46(0x1d6)](),Promise['reject'](new Error(X[_0x125a46(0x2fd)][_0x125a46(0x2f0)]));}return new Promise((_0x526462,_0x1b3e42)=>{var _0x14eeec=_0x125a46;const _0x40414e=new FileReader();_0x40414e[_0x14eeec(0x46f)](_0x43c495),_0x40414e[_0x14eeec(0x181)]=_0x4ee84f=>{var _0x26d02e=_0x14eeec,_0x5e8e3a;const _0x52218f=(_0x5e8e3a=_0x4ee84f[_0x26d02e(0x1d7)])==null?void 0x0:_0x5e8e3a['result'];if(_0x52218f==null){this[_0x26d02e(0x1d6)](),_0x1b3e42(new Error(X[_0x26d02e(0x2fd)][_0x26d02e(0x2f0)]));return;}const _0x1519d8=a[_0x26d02e(0x262)][_0x26d02e(0x275)](0x6);_0x526462({'imageId':_0x1519d8,'imageSourceType':X[_0x26d02e(0x3c2)]['UUID'],'source':_0x341ef9,'base64Cache':_0x52218f,'status':X[_0x26d02e(0x2fd)][_0x26d02e(0x32a)]}),this[_0x26d02e(0x1d6)]();};});}['_getUploadFileURL'](){var _0x4808de=_0xf74654,_0x1458e8,_0x4ae622;const _0x18127f=this[_0x4808de(0x1f7)][_0x4808de(0x3cf)](xn),_0x174b03=this[_0x4808de(0x1f7)][_0x4808de(0x3cf)](q);return(_0x4ae622=(_0x1458e8=_0x174b03==null?void 0x0:_0x174b03[_0x4808de(0x336)])!=null?_0x1458e8:_0x18127f)!=null?_0x4ae622:jn;}[_0xf74654(0x47d)](){var _0x5783f0=_0xf74654,_0x306bba,_0x3e85b6;const _0xa296e6=this[_0x5783f0(0x1f7)]['getConfig']($n),_0x10208c=this[_0x5783f0(0x1f7)][_0x5783f0(0x3cf)](q);return(_0x3e85b6=(_0x306bba=_0x10208c==null?void 0x0:_0x10208c[_0x5783f0(0x20f)])!=null?_0x306bba:_0xa296e6)!=null?_0x3e85b6:Hn;}['_getDownloadEndpointURL'](){var _0x1b1769=_0xf74654,_0x1a1432;const _0x56fb82=this['_configService'][_0x1b1769(0x3cf)](q);return(_0x1a1432=_0x56fb82==null?void 0x0:_0x56fb82[_0x1b1769(0x246)])!=null?_0x1a1432:location[_0x1b1769(0x1b1)];}[_0xf74654(0x4a8)](_0x37f330,_0x13d7d7){return _0x37f330['replace']('{fileID}',_0x13d7d7);}[_0xf74654(0x1d6)](){var _0x4a495d=_0xf74654;this['_waitCount']-=0x1,this[_0x4a495d(0x2b5)]['next'](this['_waitCount']);}},exports[_0xf74654(0x3d9)]=An([xe(0x0,a[_0xf74654(0x4c2)](z[_0xf74654(0x24c)])),xe(0x1,a[_0xf74654(0x3f1)]),xe(0x2,a[_0xf74654(0x4c2)](a[_0xf74654(0x299)]))],exports['CollaborationImageIoService']);var kn=Object[_0xf74654(0x2cc)],Bn=Object[_0xf74654(0x39a)],Fn=(_0x4aa822,_0x44a03e,_0x51c237,_0x10b549)=>{var _0x3f5459=_0xf74654;for(var _0x4079ee=_0x10b549>0x1?void 0x0:_0x10b549?Bn(_0x44a03e,_0x51c237):_0x44a03e,_0x56d25f=_0x4aa822[_0x3f5459(0x24a)]-0x1,_0x1dd5b7;_0x56d25f>=0x0;_0x56d25f--)(_0x1dd5b7=_0x4aa822[_0x56d25f])&&(_0x4079ee=(_0x10b549?_0x1dd5b7(_0x44a03e,_0x51c237,_0x4079ee):_0x1dd5b7(_0x4079ee))||_0x4079ee);return _0x10b549&&_0x4079ee&&kn(_0x44a03e,_0x51c237,_0x4079ee),_0x4079ee;},lt=(_0x13f24c,_0x2f4cbf)=>(_0x194818,_0xaa6cef)=>_0x2f4cbf(_0x194818,_0xaa6cef,_0x13f24c);const Wn='/universer-api/authz';exports[_0xf74654(0x137)]=class{constructor(_0x8399dc,_0x18c2e7){var _0x1a2810=_0xf74654;this[_0x1a2810(0x1f7)]=_0x8399dc,this[_0x1a2810(0x34a)]=_0x18c2e7;}[_0xf74654(0x313)](){var _0x24ad11=_0xf74654,_0x3e5e26,_0x42a2ff;const _0x590da3=this[_0x24ad11(0x1f7)]['getConfig'](Ge),_0x9927b2=this[_0x24ad11(0x1f7)][_0x24ad11(0x3cf)](q);return(_0x42a2ff=(_0x3e5e26=_0x9927b2==null?void 0x0:_0x9927b2[_0x24ad11(0x25b)])!=null?_0x3e5e26:_0x590da3)!=null?_0x42a2ff:Wn;}async[_0xf74654(0x2e1)](_0x287963){var _0x1ee9e9=_0xf74654;const _0x2fae8b=this[_0x1ee9e9(0x313)]()+_0x1ee9e9(0x188);return{'list':[{'title':_0x1ee9e9(0x392),'mentions':(await this[_0x1ee9e9(0x34a)]['get'](_0x2fae8b,{'params':{'objectID':_0x287963['unitId'],'unitID':_0x287963[_0x1ee9e9(0x2a4)]}}))['body'][_0x1ee9e9(0x3b5)][_0x1ee9e9(0x462)](_0x3abef6=>({'objectId':_0x3abef6['id'],'name':_0x3abef6['subject'][_0x1ee9e9(0x34e)],'metadata':{'icon':_0x3abef6[_0x1ee9e9(0x148)][_0x1ee9e9(0x1df)]},'label':_0x3abef6['subject'][_0x1ee9e9(0x34e)],'objectType':a['MentionType'][_0x1ee9e9(0x22f)]})),'metadata':{},'type':a['MentionType'][_0x1ee9e9(0x22f)]}]};}},exports[_0xf74654(0x137)]=Fn([lt(0x0,a[_0xf74654(0x4c2)](a[_0xf74654(0x3f1)])),lt(0x1,a[_0xf74654(0x4c2)](z[_0xf74654(0x24c)]))],exports['MentionIoHttpService']);var Vn=Object['defineProperty'],Gn=Object['getOwnPropertyDescriptor'],Kn=(_0x1c5221,_0x35c8b4,_0x10f86c,_0x73cd62)=>{var _0x1d783f=_0xf74654;for(var _0x15c5cf=_0x73cd62>0x1?void 0x0:_0x73cd62?Gn(_0x35c8b4,_0x10f86c):_0x35c8b4,_0x37b66c=_0x1c5221[_0x1d783f(0x24a)]-0x1,_0x20cce7;_0x37b66c>=0x0;_0x37b66c--)(_0x20cce7=_0x1c5221[_0x37b66c])&&(_0x15c5cf=(_0x73cd62?_0x20cce7(_0x35c8b4,_0x10f86c,_0x15c5cf):_0x20cce7(_0x15c5cf))||_0x15c5cf);return _0x73cd62&&_0x15c5cf&&Vn(_0x35c8b4,_0x10f86c,_0x15c5cf),_0x15c5cf;},ce=(_0x1e341e,_0x26372c)=>(_0x52186c,_0x12f57a)=>_0x26372c(_0x52186c,_0x12f57a,_0x1e341e);let Ne=class extends a[_0xf74654(0x325)]{constructor(_0x13a3b9,_0x4dfde7,_0x35fb39,_0x17eb17,_0x5274b6,_0x5526c5,_0x13396a){var _0x23826c=_0xf74654;super(),this[_0x23826c(0x2e3)]=_0x13a3b9,this[_0x23826c(0x1e0)]=_0x4dfde7,this[_0x23826c(0x202)]=_0x35fb39,this['_collaborationSessionService']=_0x17eb17,this[_0x23826c(0x180)]=_0x5274b6,this[_0x23826c(0x1a8)]=_0x5526c5,this[_0x23826c(0x341)]=_0x13396a,this['_initUnitPermissionChange'](),this[_0x23826c(0x2cb)]();}[_0xf74654(0x2cb)](){var _0x17bbe5=_0xf74654;const _0x21c35e=async _0x9a2fcc=>{var _0x1ced85=_0x201f;(await this[_0x1ced85(0x257)]['requireSession'](_0x9a2fcc))[_0x1ced85(0x4b8)][_0x1ced85(0x20c)](V[_0x1ced85(0x171)](_0x2a155e=>_0x2a155e[_0x1ced85(0x458)]===m[_0x1ced85(0x486)][_0x1ced85(0x30c)]),V[_0x1ced85(0x307)](this[_0x1ced85(0x149)]))[_0x1ced85(0x203)](_0x2883d0=>{var _0x2939bf=_0x1ced85;const _0x4e514b=_0x2883d0,{reason:_0x34cbc9}=_0x4e514b[_0x2939bf(0x32f)];this[_0x2939bf(0x180)][_0x2939bf(0x1cc)]({'id':Q[_0x2939bf(0x2b9)],'data':_0x34cbc9}),this['_permissionService'][_0x2939bf(0x3af)](new W[(_0x2939bf(0x2ae))](_0x9a2fcc)['id'],!0x1),this[_0x2939bf(0x257)][_0x2939bf(0x3ff)](_0x9a2fcc);});};H['merge'](this[_0x17bbe5(0x1e0)]['getTypeOfUnitAdded$'](a[_0x17bbe5(0x176)]['UNIVER_SHEET']),this[_0x17bbe5(0x1e0)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](V[_0x17bbe5(0x462)](_0x30c532=>_0x30c532[_0x17bbe5(0x3e2)]()),V['filter'](_0x304f16=>!a[_0x17bbe5(0x1e3)](_0x304f16)),V[_0x17bbe5(0x307)](this[_0x17bbe5(0x149)]))[_0x17bbe5(0x203)](_0xb41acd=>{_0x21c35e(_0xb41acd);});}['_initUnitPermissionChange'](){var _0x1a1e68=_0xf74654;const _0x28c053=async _0x56d482=>{var _0x577fba=_0x201f;(await this[_0x577fba(0x257)][_0x577fba(0x39f)](_0x56d482))[_0x577fba(0x4b8)][_0x577fba(0x20c)](V[_0x577fba(0x171)](_0x1a6d7d=>_0x1a6d7d['eventID']===m[_0x577fba(0x486)][_0x577fba(0x440)]),V[_0x577fba(0x307)](this[_0x577fba(0x149)]))[_0x577fba(0x203)](_0x380a0b=>{var _0x18d7bb=_0x577fba;const _0x536852=_0x380a0b,{objectId:_0xf3eee3}=_0x536852[_0x18d7bb(0x32f)];_0xf3eee3===_0x56d482?this['initWorkbookPermissionChange'](_0x56d482):this[_0x18d7bb(0x1c3)](_0x56d482,_0xf3eee3);});};H[_0x1a1e68(0x3eb)](this[_0x1a1e68(0x1e0)][_0x1a1e68(0x477)](a['UniverInstanceType'][_0x1a1e68(0x3b3)]),this[_0x1a1e68(0x1e0)][_0x1a1e68(0x477)](a[_0x1a1e68(0x176)][_0x1a1e68(0x492)]))[_0x1a1e68(0x20c)](V[_0x1a1e68(0x462)](_0x395bc5=>_0x395bc5[_0x1a1e68(0x3e2)]()),V['filter'](_0x328c68=>!a[_0x1a1e68(0x1e3)](_0x328c68)),V[_0x1a1e68(0x307)](this[_0x1a1e68(0x149)]))[_0x1a1e68(0x203)](_0x552564=>{_0x28c053(_0x552564);});}async[_0xf74654(0x14d)](_0x256c9b){var _0x2c8703=_0xf74654,_0x5316cf;const _0x13fae5=_0x256c9b||((_0x5316cf=this[_0x2c8703(0x1e0)][_0x2c8703(0x287)](a[_0x2c8703(0x176)][_0x2c8703(0x3b3)]))==null?void 0x0:_0x5316cf[_0x2c8703(0x3e2)]());_0x13fae5&&this[_0x2c8703(0x1a8)][_0x2c8703(0x269)]({'objectID':_0x13fae5,'objectType':W[_0x2c8703(0x40d)][_0x2c8703(0x1f1)],'unitID':_0x13fae5,'actions':W[_0x2c8703(0x3db)]})['then'](_0xb1b3be=>{W['getAllWorkbookPermissionPoint']()['forEach'](_0x588fb6=>{var _0x245642=_0x201f;const _0x53b3f9=new _0x588fb6(_0x13fae5),_0x59d3ab=_0x53b3f9[_0x245642(0x1c7)],_0x496855=_0xb1b3be[_0x245642(0x1ff)](_0x1ea958=>_0x1ea958['action']===_0x59d3ab);_0x496855&&this[_0x245642(0x202)][_0x245642(0x3af)](_0x53b3f9['id'],_0x496855['allowed']);});});}['refreshPermission'](_0x5f5280,_0x5556a1){var _0x16a0b5=_0xf74654;const _0x152369=this[_0x16a0b5(0x2e3)][_0x16a0b5(0x487)](W[_0x16a0b5(0x28a)]),_0x44a077=_0x152369[_0x16a0b5(0x333)](_0x5f5280,_0x5556a1);let _0x1fe691=!0x1;if(_0x44a077){const [_0x5856a5,_0x1c1542]=_0x44a077;this['_authzIoService'][_0x16a0b5(0x269)]({'objectID':_0x5556a1,'unitID':_0x5f5280,'objectType':W[_0x16a0b5(0x40d)]['Worksheet'],'actions':W['baseProtectionActions']})['then'](_0x5f45a4=>{var _0x43dc80=_0x16a0b5;let _0x309581='';W['getAllWorksheetPermissionPoint']()[_0x43dc80(0x4c1)](_0x58a96b=>{var _0x21871d=_0x43dc80,_0x4754bb;const _0x7e02e=new _0x58a96b(_0x5f5280,_0x1c1542),_0x220e3e=_0x7e02e[_0x21871d(0x1c7)],_0x5100a1=_0x5f45a4[_0x21871d(0x1ff)](_0x14b42b=>_0x14b42b[_0x21871d(0x447)]===_0x220e3e);_0x5100a1&&(((_0x4754bb=this[_0x21871d(0x202)][_0x21871d(0x2bd)](_0x7e02e['id']))==null?void 0x0:_0x4754bb[_0x21871d(0x26e)])!==_0x5100a1[_0x21871d(0x269)]&&(_0x1fe691=!0x0),this[_0x21871d(0x202)][_0x21871d(0x3af)](_0x7e02e['id'],_0x5100a1['allowed']),_0x309581+=_0x5100a1[_0x21871d(0x447)]+'_'+_0x5100a1[_0x21871d(0x269)]);}),_0x152369[_0x43dc80(0x494)](_0x5556a1+'_'+_0x309581),_0x1fe691&&this['_undoRedoService'][_0x43dc80(0x490)](_0x5f5280);});}const _0x20af22=this['_injector'][_0x16a0b5(0x487)](W[_0x16a0b5(0x3c3)])['getTargetByPermissionId'](_0x5f5280,_0x5556a1);if(_0x20af22){const [_0x24a414,_0x5532b6]=_0x20af22;this[_0x16a0b5(0x1a8)]['allowed']({'objectID':_0x5556a1,'unitID':_0x5f5280,'objectType':W[_0x16a0b5(0x40d)][_0x16a0b5(0x2b2)],'actions':W[_0x16a0b5(0x17d)]})[_0x16a0b5(0x29f)](_0x16ecc9=>{var _0x4a1b0b=_0x16a0b5;W['getAllWorksheetPermissionPointByPointPanel']()[_0x4a1b0b(0x4c1)](_0x988762=>{var _0xa6a019=_0x4a1b0b,_0x4a63c0;const _0x4006b6=new _0x988762(_0x5f5280,_0x5532b6),_0x4317e8=_0x4006b6[_0xa6a019(0x1c7)],_0xbd583=_0x16ecc9['find'](_0xa9adfc=>_0xa9adfc[_0xa6a019(0x447)]===_0x4317e8);_0xbd583&&(((_0x4a63c0=this['_permissionService'][_0xa6a019(0x2bd)](_0x4006b6['id']))==null?void 0x0:_0x4a63c0['value'])!==_0xbd583[_0xa6a019(0x269)]&&(_0x1fe691=!0x0),this[_0xa6a019(0x202)][_0xa6a019(0x3af)](_0x4006b6['id'],_0xbd583['allowed']));}),_0x1fe691&&this['_undoRedoService'][_0x4a1b0b(0x490)](_0x5f5280);});}const _0xde0523=this[_0x16a0b5(0x2e3)][_0x16a0b5(0x487)](W[_0x16a0b5(0x25d)]),_0x5b11b4=_0xde0523[_0x16a0b5(0x333)](_0x5f5280,_0x5556a1);if(_0x5b11b4){const [_0x4e992d,_0x4f08c6]=_0x5b11b4;this['_authzIoService']['allowed']({'objectID':_0x5556a1,'unitID':_0x5f5280,'objectType':W[_0x16a0b5(0x40d)][_0x16a0b5(0x385)],'actions':W[_0x16a0b5(0x319)]})['then'](_0x112f83=>{var _0x5c1302=_0x16a0b5;let _0xab497c='';W[_0x5c1302(0x2f7)]()[_0x5c1302(0x4c1)](_0x4c4dde=>{var _0x5775d7=_0x5c1302,_0x207e87;const _0x396474=new _0x4c4dde(_0x5f5280,_0x4f08c6,_0x5556a1),_0x532ea4=_0x396474[_0x5775d7(0x1c7)],_0x1eae5e=_0x112f83[_0x5775d7(0x1ff)](_0x3c802e=>_0x3c802e['action']===_0x532ea4);_0x1eae5e&&(((_0x207e87=this[_0x5775d7(0x202)][_0x5775d7(0x2bd)](_0x396474['id']))==null?void 0x0:_0x207e87[_0x5775d7(0x26e)])!==_0x1eae5e[_0x5775d7(0x269)]&&(_0x1fe691=!0x0),this[_0x5775d7(0x202)][_0x5775d7(0x3af)](_0x396474['id'],_0x1eae5e['allowed']),_0xab497c+=_0x1eae5e['action']+'_'+_0x1eae5e[_0x5775d7(0x269)]);}),_0xde0523[_0x5c1302(0x494)](_0x5556a1+'_'+_0xab497c),_0x1fe691&&this[_0x5c1302(0x341)][_0x5c1302(0x490)](_0x5f5280);});}}};Ne=Kn([ce(0x0,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0xf74654(0x367)]),ce(0x3,a[_0xf74654(0x4c2)](exports[_0xf74654(0x3d4)])),ce(0x4,a[_0xf74654(0x4c2)](te)),ce(0x5,a[_0xf74654(0x443)]),ce(0x6,a['IUndoRedoService'])],Ne);var Yn=Object[_0xf74654(0x2cc)],qn=Object[_0xf74654(0x39a)],zn=(_0x42a9c1,_0x4f2994,_0x4172d9,_0x5c3841)=>{var _0x1ae786=_0xf74654;for(var _0x527cbc=_0x5c3841>0x1?void 0x0:_0x5c3841?qn(_0x4f2994,_0x4172d9):_0x4f2994,_0x5441aa=_0x42a9c1[_0x1ae786(0x24a)]-0x1,_0x11e2e1;_0x5441aa>=0x0;_0x5441aa--)(_0x11e2e1=_0x42a9c1[_0x5441aa])&&(_0x527cbc=(_0x5c3841?_0x11e2e1(_0x4f2994,_0x4172d9,_0x527cbc):_0x11e2e1(_0x527cbc))||_0x527cbc);return _0x5c3841&&_0x527cbc&&Yn(_0x4f2994,_0x4172d9,_0x527cbc),_0x527cbc;},_t=(_0x48190a,_0x4f60ac)=>(_0x1bc4e0,_0x3aeebc)=>_0x4f60ac(_0x1bc4e0,_0x3aeebc,_0x48190a);exports[_0xf74654(0x453)]=class{constructor(_0x1c2a36,_0x314e0c){var _0x5853a6=_0xf74654;this[_0x5853a6(0x1f7)]=_0x1c2a36,this[_0x5853a6(0x1c2)]=_0x314e0c;}async[_0xf74654(0x157)](_0x42cb36,_0x40ce7e){var _0x588bd6=_0xf74654,_0x2d821c;const {unitID:_0x4b65c7,type:_0x45f556,revision:_0x21fda6=0x0}=_0x40ce7e,_0x54e769=this[_0x588bd6(0x232)]()+'/'+_0x45f556+_0x588bd6(0x293)+_0x4b65c7+_0x588bd6(0x245)+_0x21fda6,_0x11f7f6=(await this[_0x588bd6(0x1c2)]['get'](_0x54e769))['body'],_0x3c4c9a=(_0x2d821c=_0x11f7f6['snapshot'])==null?void 0x0:_0x2d821c['workbook'];if(_0x3c4c9a){const _0xa8c60b=_0x3c4c9a==null?void 0x0:_0x3c4c9a[_0x588bd6(0x29d)],_0x5c1b81=m[_0x588bd6(0x36f)][_0x588bd6(0x3b2)](m[_0x588bd6(0x213)](_0xa8c60b));_0x3c4c9a[_0x588bd6(0x29d)]=_0x5c1b81,Object[_0x588bd6(0x27d)](_0x3c4c9a[_0x588bd6(0x2da)])[_0x588bd6(0x4c1)](([,_0x1f7357])=>{var _0x3ab5aa=_0x588bd6;const _0x1a6be7=_0x1f7357[_0x3ab5aa(0x29d)],_0x2bcc8d=m['textEncoder'][_0x3ab5aa(0x3b2)](m[_0x3ab5aa(0x213)](_0x1a6be7));_0x1f7357['originalMeta']=_0x2bcc8d;});}return _0x11f7f6;}async[_0xf74654(0x225)](_0x2f9a95,_0x5553e2){var _0x41c54d=_0xf74654;const {unitID:_0x29d392,type:_0x531307,blockID:_0x455ab7}=_0x5553e2,_0x5dd4a7=this[_0x41c54d(0x271)]()+'/'+_0x531307+_0x41c54d(0x293)+_0x29d392+_0x41c54d(0x280)+_0x455ab7;return(await this[_0x41c54d(0x1c2)][_0x41c54d(0x487)](_0x5dd4a7))[_0x41c54d(0x326)];}async['getDeserializedSheetBlock'](_0x294395,_0x44001e){var _0x5f33d6=_0xf74654;const {unitID:_0x31139b,type:_0x5142e7,blockID:_0x499e87}=_0x44001e,_0x43b5d6=this[_0x5f33d6(0x271)]()+_0x5f33d6(0x280)+_0x5142e7+_0x5f33d6(0x293)+_0x31139b+_0x5f33d6(0x280)+_0x499e87;return(await this[_0x5f33d6(0x1c2)][_0x5f33d6(0x487)](_0x43b5d6))[_0x5f33d6(0x326)];}async['fetchMissingChangesets'](_0x3da6bf,_0x316589){var _0x203b0e=_0xf74654;const {unitID:_0x12d480,type:_0x5e13b0,from:_0x188c1d,to:_0x5915e4}=_0x316589,_0x4c6f3b=this[_0x203b0e(0x271)]()+'/'+_0x5e13b0+_0x203b0e(0x293)+_0x12d480+_0x203b0e(0x24d)+_0x188c1d+_0x203b0e(0x3f9)+_0x5915e4;return(await this[_0x203b0e(0x1c2)][_0x203b0e(0x487)](_0x4c6f3b))[_0x203b0e(0x326)];}[_0xf74654(0x232)](){var _0xe59f86=_0xf74654,_0x45a3a2;return(_0x45a3a2=this[_0xe59f86(0x1f7)]['getConfig'](vt))!=null?_0x45a3a2:this[_0xe59f86(0x271)]();}[_0xf74654(0x271)](){var _0x42fed0=_0xf74654,_0x47fc86,_0x250364;const _0x253458=this[_0x42fed0(0x1f7)][_0x42fed0(0x3cf)](dt),_0x42d467=this[_0x42fed0(0x1f7)][_0x42fed0(0x3cf)](q);return(_0x250364=(_0x47fc86=_0x42d467==null?void 0x0:_0x42d467['snapshotServerUrl'])!=null?_0x47fc86:_0x253458)!=null?_0x250364:$t;}async[_0xf74654(0x359)](_0x29bd9c,_0x3d6915){var _0x15f655=_0xf74654;const _0x569225=_0x15f655(0x216)+_0x3d6915[_0x15f655(0x4b4)]+'/unit/'+_0x3d6915['unitID']+'/resources';return(await this[_0x15f655(0x1c2)]['get'](_0x569225,{'params':{'resourceId':JSON[_0x15f655(0x17e)](_0x3d6915[_0x15f655(0x16f)])}}))['body'];}[_0xf74654(0x372)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x2fd640=_0xf74654;throw new Error(_0x2fd640(0x2ee));}[_0xf74654(0x330)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf74654(0x208)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf74654(0x2a6)](){var _0xc4b49f=_0xf74654;throw new Error(_0xc4b49f(0x2ee));}},exports[_0xf74654(0x453)]=zn([_t(0x0,a[_0xf74654(0x3f1)]),_t(0x1,a[_0xf74654(0x4c2)](z[_0xf74654(0x24c)]))],exports[_0xf74654(0x453)]);var Jn=Object['defineProperty'],Xn=Object[_0xf74654(0x39a)],Zn=(_0x2fbe4c,_0x800a57,_0x3e272c,_0x2cb5c1)=>{var _0x403361=_0xf74654;for(var _0x22c408=_0x2cb5c1>0x1?void 0x0:_0x2cb5c1?Xn(_0x800a57,_0x3e272c):_0x800a57,_0x41a287=_0x2fbe4c[_0x403361(0x24a)]-0x1,_0x34fa2a;_0x41a287>=0x0;_0x41a287--)(_0x34fa2a=_0x2fbe4c[_0x41a287])&&(_0x22c408=(_0x2cb5c1?_0x34fa2a(_0x800a57,_0x3e272c,_0x22c408):_0x34fa2a(_0x22c408))||_0x22c408);return _0x2cb5c1&&_0x22c408&&Jn(_0x800a57,_0x3e272c,_0x22c408),_0x22c408;},de=(_0x3dc3bc,_0x4d297e)=>(_0x13e7dd,_0x5634dd)=>_0x4d297e(_0x13e7dd,_0x5634dd,_0x3dc3bc);exports[_0xf74654(0x31a)]=class extends a[_0xf74654(0x1ef)]{constructor(_0x5aee25,_0x222915,_0x3a90df,_0x38e791,_0x2ba631){var _0x1d221f=_0xf74654;super(_0x5aee25,_0x222915,_0x3a90df),this[_0x1d221f(0x435)]=_0x38e791,this['_logService']=_0x2ba631;}['transformUndoRedo'](_0x976c1c,_0x1ddcc1){var _0x21fc61=_0xf74654;const _0x20ef30=this[_0x21fc61(0x438)](_0x976c1c);if(_0x20ef30)try{const _0x2d01c8=this[_0x21fc61(0x26f)](_0x20ef30,_0x1ddcc1);this[_0x21fc61(0x292)](_0x976c1c,_0x2d01c8);}catch(_0x525da9){this[_0x21fc61(0x390)][_0x21fc61(0x312)](_0x21fc61(0x205),_0x525da9),this[_0x21fc61(0x41f)](_0x976c1c);}const _0x2b3f87=this[_0x21fc61(0x439)](_0x976c1c);if(_0x2b3f87)try{const _0x31e094=this[_0x21fc61(0x26f)](_0x2b3f87,_0x1ddcc1);this[_0x21fc61(0x310)](_0x976c1c,_0x31e094);}catch(_0x851178){this[_0x21fc61(0x390)][_0x21fc61(0x312)](_0x851178),this[_0x21fc61(0x436)](_0x976c1c);}}['_clearUndo'](_0x4b7adf){var _0x374dc8=_0xf74654;const _0x569d2a=this[_0x374dc8(0x438)](_0x4b7adf);_0x569d2a&&(_0x569d2a['length']=0x0,this[_0x374dc8(0x231)]());}[_0xf74654(0x436)](_0x4d7653){var _0x43d609=_0xf74654;const _0x283455=this[_0x43d609(0x439)](_0x4d7653);_0x283455&&(_0x283455[_0x43d609(0x24a)]=0x0,this[_0x43d609(0x231)]());}['_substituteUndoStack'](_0x28f793,_0x1c5a5f){var _0x2d4904=_0xf74654;this[_0x2d4904(0x45a)]['set'](_0x28f793,_0x1c5a5f),this['_updateStatus']();}[_0xf74654(0x310)](_0x4472ae,_0x1fc4e0){var _0x260808=_0xf74654;this[_0x260808(0x386)][_0x260808(0x1e6)](_0x4472ae,_0x1fc4e0),this['_updateStatus']();}[_0xf74654(0x26f)](_0x1f732d,_0x572109){var _0x1b01cc=_0xf74654;const _0x2850af=[];let _0x1d4ad2=_0x572109,_0xada232=_0x572109;for(let _0x42d69f=_0x1f732d[_0x1b01cc(0x24a)]-0x1;_0x42d69f>=0x0;_0x42d69f--){const {unitID:_0x2fe97b,undoMutations:_0x1e3b09,redoMutations:_0x55309f}=_0x1f732d[_0x42d69f],_0x27fec6=this[_0x1b01cc(0x435)][_0x1b01cc(0x3f5)](_0x1d4ad2,_0x1e3b09),_0x6cea5c=this['_transformService'][_0x1b01cc(0x3f5)](_0xada232,_0x55309f);if(m['isTransformMutationsWithChangesetFailure'](_0x27fec6)||m[_0x1b01cc(0x308)](_0x6cea5c)){this['_logService'][_0x1b01cc(0x312)]('[CollaborationUndoRedoService]',_0x1b01cc(0x242),_0x27fec6,_0x6cea5c);break;}_0x1d4ad2=_0x27fec6[_0x1b01cc(0x14f)],_0xada232=_0x6cea5c['c1Prime'],_0x2850af[_0x1b01cc(0x21b)]({'unitID':_0x2fe97b,'undoMutations':_0x27fec6[_0x1b01cc(0x4b5)],'redoMutations':_0x6cea5c[_0x1b01cc(0x4b5)]});}return _0x2850af[_0x1b01cc(0x424)]();}},exports[_0xf74654(0x31a)]=Zn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0xf74654(0x340)]),de(0x2,a[_0xf74654(0x452)]),de(0x3,m[_0xf74654(0x44e)]),de(0x4,a['ILogService'])],exports[_0xf74654(0x31a)]);var At=Object[_0xf74654(0x2cc)],Qn=Object[_0xf74654(0x39a)],er=(_0x4f30f5,_0x19d91e,_0x2881df)=>_0x19d91e in _0x4f30f5?At(_0x4f30f5,_0x19d91e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2881df}):_0x4f30f5[_0x19d91e]=_0x2881df,tr=(_0x1c8a58,_0x482dab,_0x538256,_0x1d9821)=>{var _0xb8ee96=_0xf74654;for(var _0x2bbc69=_0x1d9821>0x1?void 0x0:_0x1d9821?Qn(_0x482dab,_0x538256):_0x482dab,_0x3bf9e2=_0x1c8a58[_0xb8ee96(0x24a)]-0x1,_0x545366;_0x3bf9e2>=0x0;_0x3bf9e2--)(_0x545366=_0x1c8a58[_0x3bf9e2])&&(_0x2bbc69=(_0x1d9821?_0x545366(_0x482dab,_0x538256,_0x2bbc69):_0x545366(_0x2bbc69))||_0x2bbc69);return _0x1d9821&&_0x2bbc69&&At(_0x482dab,_0x538256,_0x2bbc69),_0x2bbc69;},je=(_0x12c443,_0x50981c)=>(_0x5771e0,_0x26edd2)=>_0x50981c(_0x5771e0,_0x26edd2,_0x12c443),ir=(_0x5d9942,_0x439543,_0x36e4a3)=>er(_0x5d9942,_0x439543+'',_0x36e4a3);const nr=_0xf74654(0x3fe);exports[_0xf74654(0x260)]=class extends a[_0xf74654(0x22b)]{constructor(_0x25084b=Xt,_0x3c7136,_0x16a923,_0x2e155d){var _0x4ac067=_0xf74654;super(),this[_0x4ac067(0x167)]=_0x25084b,this[_0x4ac067(0x390)]=_0x3c7136,this[_0x4ac067(0x2e3)]=_0x16a923,this['_configService']=_0x2e155d;const {..._0x505485}=this[_0x4ac067(0x167)];this[_0x4ac067(0x1f7)][_0x4ac067(0x32d)](q,_0x505485);}[_0xf74654(0x484)](){var _0xfd48ec=_0xf74654;this['_registerDependencies'](),this[_0xfd48ec(0x3d2)]();}[_0xf74654(0x30f)](){var _0x1902ea=_0xf74654,_0x57e74c,_0x25e4b6,_0x2f2702,_0x17f72c;this['_injector'][_0x1902ea(0x31d)](a[_0x1902ea(0x3fd)])&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x1902ea(0x281));const _0x7a9cff=a[_0x1902ea(0x252)]([[a[_0x1902ea(0x3fd)],{'useClass':exports[_0x1902ea(0x31a)]}],[exports[_0x1902ea(0x3d4)]],[exports[_0x1902ea(0x37b)]],[exports[_0x1902ea(0x471)]],[ye],[Pe],[Be],[Ne],[te],[exports[_0x1902ea(0x387)]],[ke,{'useClass':(_0x25e4b6=(_0x57e74c=this[_0x1902ea(0x167)])==null?void 0x0:_0x57e74c[_0x1902ea(0x177)])!=null?_0x25e4b6:exports[_0x1902ea(0x415)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x1902ea(0x453)]}],[a[_0x1902ea(0x443)],{'useClass':exports[_0x1902ea(0x191)]}],[X['IImageIoService'],{'useClass':exports[_0x1902ea(0x3d9)]}],[a[_0x1902ea(0x370)],{'useClass':exports[_0x1902ea(0x137)]}],[exports[_0x1902ea(0x2d5)]],[$e]],(_0x2f2702=this[_0x1902ea(0x167)])==null?void 0x0:_0x2f2702[_0x1902ea(0x1af)]);if(!((_0x17f72c=this[_0x1902ea(0x167)])!=null&&_0x17f72c[_0x1902ea(0x3f4)])){const _0x52a7dc=_0x7a9cff[_0x1902ea(0x409)](([_0x3265e7])=>_0x3265e7===ve);_0x52a7dc!==-0x1&&_0x7a9cff['splice'](_0x52a7dc,0x1);}a['registerDependencies'](this['_injector'],_0x7a9cff);}[_0xf74654(0x3d2)](){var _0x2c9e30=_0xf74654,_0x5b367f,_0x4ed79d,_0x2f8baa;this[_0x2c9e30(0x2e3)][_0x2c9e30(0x487)](z['HTTPService'])[_0x2c9e30(0x480)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5b367f=this['_config'])!=null&&_0x5b367f[_0x2c9e30(0x35d)]||(_0x4ed79d=this['_injector'][_0x2c9e30(0x487)](J,a[_0x2c9e30(0x4be)][_0x2c9e30(0x1d4)]))==null||_0x4ed79d['disableLocalCache'](),(_0x2f8baa=this[_0x2c9e30(0x167)])!=null&&_0x2f8baa['enableAuthServer']&&a[_0x2c9e30(0x49e)](this['_injector'],[[ye]]),a[_0x2c9e30(0x49e)](this['_injector'],[[Pe],[exports['CollaborationController']],[Ne]]);}},ir(exports[_0xf74654(0x260)],'pluginName',nr),exports[_0xf74654(0x260)]=tr([a[_0xf74654(0x1eb)](m[_0xf74654(0x416)],W[_0xf74654(0x13f)],z[_0xf74654(0x348)]),je(0x1,a[_0xf74654(0x301)]),je(0x2,a[_0xf74654(0x4c2)](a[_0xf74654(0x327)])),je(0x3,a[_0xf74654(0x3f1)])],exports[_0xf74654(0x260)]),exports[_0xf74654(0x432)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=q,exports[_0xf74654(0x25f)]=It,exports[_0xf74654(0x3f0)]=ft,exports[_0xf74654(0x347)]=We,exports[_0xf74654(0x3b9)]=Q,exports[_0xf74654(0x161)]=te,exports[_0xf74654(0x2b3)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Jt,exports[_0xf74654(0x361)]=pt,exports[_0xf74654(0x4a0)]=He,exports[_0xf74654(0x451)]=ke,exports[_0xf74654(0x28c)]=J,exports[_0xf74654(0x19c)]=bt,exports[_0xf74654(0x2c2)]=ve,exports['LOCAL_CACHE_INTERVAL']=Kt,exports[_0xf74654(0x228)]=Gt,exports[_0xf74654(0x463)]=Et,exports[_0xf74654(0x1e9)]=zt,exports[_0xf74654(0x499)]=mt,exports[_0xf74654(0x1b7)]=Ht,exports[_0xf74654(0x303)]=dt,exports[_0xf74654(0x2b8)]=vt,exports[_0xf74654(0x41d)]=se,exports[_0xf74654(0x2f1)]=Fe,exports[_0xf74654(0x20b)]=Rt,exports[_0xf74654(0x40b)]=mi,exports[_0xf74654(0x2fc)]=Ot;
1
+ 'use strict';var _0x23172e=_0x4477;(function(_0x48386e,_0x1435e5){var _0xc6bbfc=_0x4477,_0x16211c=_0x48386e();while(!![]){try{var _0x40241c=-parseInt(_0xc6bbfc(0x411))/0x1+-parseInt(_0xc6bbfc(0x1db))/0x2+-parseInt(_0xc6bbfc(0x2b3))/0x3+-parseInt(_0xc6bbfc(0x371))/0x4*(parseInt(_0xc6bbfc(0x17e))/0x5)+-parseInt(_0xc6bbfc(0x27a))/0x6*(-parseInt(_0xc6bbfc(0x1a9))/0x7)+parseInt(_0xc6bbfc(0x2fc))/0x8*(parseInt(_0xc6bbfc(0x349))/0x9)+parseInt(_0xc6bbfc(0x30a))/0xa;if(_0x40241c===_0x1435e5)break;else _0x16211c['push'](_0x16211c['shift']());}catch(_0x1937e5){_0x16211c['push'](_0x16211c['shift']());}}}(_0x2ef1,0x7ba42));var Lt=Object[_0x23172e(0x357)],Mt=(_0x2ecd9d,_0x1e9e23,_0x19290a)=>_0x1e9e23 in _0x2ecd9d?Lt(_0x2ecd9d,_0x1e9e23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19290a}):_0x2ecd9d[_0x1e9e23]=_0x19290a,D=(_0x27cf21,_0x3c0b33,_0x1a5518)=>Mt(_0x27cf21,typeof _0x3c0b33!=_0x23172e(0x207)?_0x3c0b33+'':_0x3c0b33,_0x1a5518);Object['defineProperty'](exports,Symbol[_0x23172e(0x1b8)],{'value':_0x23172e(0x252)});const a=require(_0x23172e(0x1b9)),H=require(_0x23172e(0x2b9)),V=require(_0x23172e(0x423)),z=require('@univerjs/network'),m=require(_0x23172e(0x1a5)),xt=require('@univerjs/telemetry'),ut=require(_0x23172e(0x36c)),W=require(_0x23172e(0x44a)),X=require(_0x23172e(0x278)),jt=require('@univerjs-pro/license'),dt=_0x23172e(0x45d),$t='/universer-api/snapshot',vt=_0x23172e(0x142),Ht=_0x23172e(0x467),kt=0x7d0,ft=_0x23172e(0x40d),St=_0x23172e(0x225),Bt=_0x23172e(0x20d),pt=_0x23172e(0x26c),Ft=0x7530,He=_0x23172e(0x203),gt=0x4e20,Wt=0x4e20,mt=_0x23172e(0x190),Vt=0x3,Gt=_0x23172e(0x1ec),Kt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Yt=_0x23172e(0x406),Et=_0x23172e(0x404),qt='/universer-api/oidc/authpage',zt=_0x23172e(0x3ba),Jt=_0x23172e(0x333);var Ct=(_0x3866d8=>(_0x3866d8[_0x3866d8[_0x23172e(0x146)]=0x0]='UNDEFINED',_0x3866d8[_0x3866d8['OK']=0x1]='OK',_0x3866d8[_0x3866d8[_0x23172e(0x436)]=0x2]=_0x23172e(0x436),_0x3866d8[_0x3866d8['PERMISSION_DENIED']=0x3]=_0x23172e(0x356),_0x3866d8[_0x3866d8[_0x23172e(0x28c)]=0x4]=_0x23172e(0x28c),_0x3866d8[_0x3866d8[_0x23172e(0x485)]=0x5]='UNAUTHENTICATED',_0x3866d8[_0x3866d8['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3866d8[_0x3866d8[_0x23172e(0x2d6)]=0x7]=_0x23172e(0x2d6),_0x3866d8[_0x3866d8[_0x23172e(0x2d9)]=0x8]=_0x23172e(0x2d9),_0x3866d8[_0x3866d8[_0x23172e(0x2b2)]=0x9]=_0x23172e(0x2b2),_0x3866d8[_0x3866d8[_0x23172e(0x1ab)]=0x1389]=_0x23172e(0x1ab),_0x3866d8[_0x3866d8[_0x23172e(0x2bf)]=0x1771]=_0x23172e(0x2bf),_0x3866d8[_0x3866d8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x23172e(0x3fd),_0x3866d8[_0x3866d8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x23172e(0x2e6),_0x3866d8[_0x3866d8[_0x23172e(0x46e)]=0x1b59]='APPLY_REJECT',_0x3866d8[_0x3866d8[_0x23172e(0x358)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3866d8[_0x3866d8[_0x23172e(0x1f7)]=0x1b5b]=_0x23172e(0x1f7),_0x3866d8[_0x3866d8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x23172e(0x14e),_0x3866d8[_0x3866d8[_0x23172e(0x453)]=0x1b5d]=_0x23172e(0x453),_0x3866d8[_0x3866d8[_0x23172e(0x4b0)]=0x1f41]=_0x23172e(0x4b0),_0x3866d8[_0x3866d8[_0x23172e(0x17f)]=0x2329]=_0x23172e(0x17f),_0x3866d8[_0x3866d8[_0x23172e(0x2f3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3866d8[_0x3866d8[_0x23172e(0x20e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3866d8[_0x3866d8[_0x23172e(0x3f4)]=0x232c]=_0x23172e(0x3f4),_0x3866d8[_0x3866d8[_0x23172e(0x3af)]=0x232d]=_0x23172e(0x3af),_0x3866d8[_0x3866d8[_0x23172e(0x13e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3866d8[_0x3866d8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x23172e(0x1c8),_0x3866d8[_0x3866d8[_0x23172e(0x272)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3866d8[_0x3866d8[_0x23172e(0x1e0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3866d8[_0x3866d8['UNRECOGNIZED']=-0x1]=_0x23172e(0x284),_0x3866d8))(Ct||{}),Z=(_0x283409=>(_0x283409[_0x283409[_0x23172e(0x27d)]=0x0]=_0x23172e(0x27d),_0x283409[_0x283409[_0x23172e(0x33a)]=0x1]='UNIVER_DOC',_0x283409[_0x283409[_0x23172e(0x3bd)]=0x2]='UNIVER_SHEET',_0x283409[_0x283409[_0x23172e(0x1ed)]=0x3]='UNIVER_SLIDE',_0x283409[_0x283409['UNIVER_PROJECT']=0x4]=_0x23172e(0x381),_0x283409[_0x283409[_0x23172e(0x284)]=-0x1]=_0x23172e(0x284),_0x283409))(Z||{}),G=(_0x7da969=>(_0x7da969[_0x7da969['UNKNOWN_CMD']=0x0]=_0x23172e(0x2ef),_0x7da969[_0x7da969['HELLO']=0x1]=_0x23172e(0x216),_0x7da969[_0x7da969['JOIN']=0x2]=_0x23172e(0x3d0),_0x7da969[_0x7da969['LEAVE']=0x3]=_0x23172e(0x22d),_0x7da969[_0x7da969[_0x23172e(0x34a)]=0x4]='INGEST',_0x7da969[_0x7da969[_0x23172e(0x44f)]=0x5]=_0x23172e(0x44f),_0x7da969[_0x7da969['RECV']=0x6]=_0x23172e(0x1bb),_0x7da969[_0x7da969['UNRECOGNIZED']=-0x1]=_0x23172e(0x284),_0x7da969))(G||{}),he=(_0x184e30=>(_0x184e30[_0x184e30[_0x23172e(0x45c)]=0x0]='UNKNOWN_CODE',_0x184e30[_0x184e30['OK']=0x1]='OK',_0x184e30[_0x184e30[_0x23172e(0x1e9)]=0x2]=_0x23172e(0x1e9),_0x184e30[_0x184e30[_0x23172e(0x15a)]=0x3e9]=_0x23172e(0x15a),_0x184e30[_0x184e30['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x184e30[_0x184e30[_0x23172e(0x3d5)]=0x3eb]=_0x23172e(0x3d5),_0x184e30[_0x184e30[_0x23172e(0x171)]=0x3ec]=_0x23172e(0x171),_0x184e30[_0x184e30[_0x23172e(0x284)]=-0x1]=_0x23172e(0x284),_0x184e30))(he||{}),Tt=(_0x1fd22e=>(_0x1fd22e[_0x1fd22e[_0x23172e(0x48d)]=0x0]='Undefined',_0x1fd22e[_0x1fd22e[_0x23172e(0x44c)]=0x1]=_0x23172e(0x44c),_0x1fd22e[_0x1fd22e[_0x23172e(0x21b)]=0x2]='HttpExport',_0x1fd22e[_0x1fd22e['UnitEmbedded']=0x3]=_0x23172e(0x184),_0x1fd22e[_0x1fd22e[_0x23172e(0x470)]=0x4]=_0x23172e(0x470),_0x1fd22e[_0x1fd22e[_0x23172e(0x284)]=-0x1]=_0x23172e(0x284),_0x1fd22e))(Tt||{});const q=_0x23172e(0x2c9),Xt={};var Q=(_0x524d1e=>(_0x524d1e['OTHER_CLIENT_EDITING']=_0x23172e(0x398),_0x524d1e[_0x23172e(0x356)]=_0x23172e(0x356),_0x524d1e['CONFLICT']='CONFLICT',_0x524d1e[_0x23172e(0x354)]='CLOSE_ROOM',_0x524d1e['JOIN_ROOM_FAILED']=_0x23172e(0x379),_0x524d1e[_0x23172e(0x138)]='SOCKET_FAILED_RETRY',_0x524d1e[_0x23172e(0x27b)]=_0x23172e(0x27b),_0x524d1e[_0x23172e(0x2c8)]='SUBMIT_CHANGESET_TIMEOUT',_0x524d1e))(Q||{});class te{constructor(){var _0x5ae47b=_0x23172e;D(this,_0x5ae47b(0x4a6),new H[(_0x5ae47b(0x414))]()),D(this,_0x5ae47b(0x2dc),this['_event$']['asObservable']());}[_0x23172e(0x195)](_0x138cce){var _0x11ee23=_0x23172e;this[_0x11ee23(0x4a6)][_0x11ee23(0x226)](_0x138cce);}}const bt=a[_0x23172e(0x13b)](_0x23172e(0x3ce));function Rt(_0xa2ef37){var _0x899b8f=_0x23172e,_0x25136b,_0x1772c2,_0x1077f8,_0x8cab6d,_0xf3cc2b;const _0x2ba4c8=_0xa2ef37[_0x899b8f(0x25a)],_0xdcac5b=JSON[_0x899b8f(0x444)](_0x2ba4c8);switch(_0xdcac5b[_0x899b8f(0x308)]){case G['HEARTBEAT']:case G[_0x899b8f(0x216)]:{const _0x2dff51=_0xdcac5b[_0x899b8f(0x48c)];return{..._0xdcac5b,'data':_0x2dff51,'cmd':_0xdcac5b[_0x899b8f(0x308)]};}case G[_0x899b8f(0x3d0)]:{const _0x4b610c=_0xdcac5b[_0x899b8f(0x162)];return{..._0xdcac5b,'data':_0x4b610c,'cmd':_0xdcac5b[_0x899b8f(0x308)]};}case G[_0x899b8f(0x1bb)]:{const _0x42d473=_0xdcac5b[_0x899b8f(0x1cc)];switch(_0x42d473[_0x899b8f(0x39f)]){case m[_0x899b8f(0x466)]['PERMISSION_REJ']:return{..._0xdcac5b,'data':{..._0x42d473,'data':(_0x25136b=_0x42d473['permissionRejEvent'])==null?void 0x0:_0x25136b['cs']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)]['CHANGESET_ACK']:return{..._0xdcac5b,'data':{..._0x42d473,'data':(_0x1772c2=_0x42d473['csAckEvent'])==null?void 0x0:_0x1772c2['cs']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m['CollaborationEvent'][_0x899b8f(0x2b7)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':(_0x1077f8=_0x42d473['newCsEvent'])==null?void 0x0:_0x1077f8['cs']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)][_0x899b8f(0x3f1)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':(_0x8cab6d=_0x42d473['csRejEvent'])==null?void 0x0:_0x8cab6d['cs']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)][_0x899b8f(0x201)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':(_0xf3cc2b=_0x42d473[_0x899b8f(0x405)])==null?void 0x0:_0xf3cc2b['cs']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)]['UPDATE_CURSOR']:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473['updateCursorEvent']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)]['USERS_ENTER']:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473[_0x899b8f(0x188)]},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)][_0x899b8f(0x256)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473[_0x899b8f(0x4a0)]},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)]['LIVESHARE_NEW_HOST']:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473[_0x899b8f(0x339)]},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m['CollaborationEvent'][_0x899b8f(0x42c)]:case m[_0x899b8f(0x466)][_0x899b8f(0x211)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473['liveShareOperation']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)][_0x899b8f(0x229)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473[_0x899b8f(0x339)]},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m['CollaborationEvent'][_0x899b8f(0x208)]:return{..._0xdcac5b,'data':_0x42d473,'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)]['COMMENT_UPDATE']:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473['commentUpdateEvent']},'cmd':_0xdcac5b['cmd']};case m[_0x899b8f(0x466)][_0x899b8f(0x39d)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473['updatePermissionObjEvent']},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)][_0x899b8f(0x33d)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473[_0x899b8f(0x1f3)]},'cmd':_0xdcac5b[_0x899b8f(0x308)]};case m[_0x899b8f(0x466)][_0x899b8f(0x191)]:return{..._0xdcac5b,'data':{..._0x42d473,'data':_0x42d473[_0x899b8f(0x151)]},'cmd':_0xdcac5b[_0x899b8f(0x308)]};default:return _0xdcac5b;}}default:return _0xdcac5b;}}function Ot(_0xdaf9c1){var _0x2cef07=_0x23172e;switch(_0xdaf9c1[_0x2cef07(0x308)]){case G['HEARTBEAT']:case G[_0x2cef07(0x216)]:return JSON[_0x2cef07(0x1c1)]({'cmd':_0xdaf9c1[_0x2cef07(0x308)],'routeKey':_0xdaf9c1[_0x2cef07(0x3bf)]});case G[_0x2cef07(0x34a)]:{let _0x130a6f;switch(_0xdaf9c1[_0x2cef07(0x25a)][_0x2cef07(0x39f)]){case m[_0x2cef07(0x466)][_0x2cef07(0x159)]:{_0x130a6f={'eventID':m['CollaborationEvent'][_0x2cef07(0x159)],'updateCursorEvent':_0xdaf9c1[_0x2cef07(0x25a)][_0x2cef07(0x25a)]};break;}case m[_0x2cef07(0x466)][_0x2cef07(0x256)]:{_0x130a6f={'eventID':m[_0x2cef07(0x466)]['USERS_LEAVE'],'leaveEvent':_0xdaf9c1[_0x2cef07(0x25a)]['data']};break;}case m[_0x2cef07(0x466)][_0x2cef07(0x186)]:{_0x130a6f={'eventID':m[_0x2cef07(0x466)][_0x2cef07(0x186)],'joinEvent':_0xdaf9c1[_0x2cef07(0x25a)][_0x2cef07(0x25a)]};break;}case m[_0x2cef07(0x466)]['LIVESHARE_NEW_HOST']:{_0x130a6f={'eventID':m[_0x2cef07(0x466)][_0x2cef07(0x403)],'liveShareNewHost':_0xdaf9c1[_0x2cef07(0x25a)][_0x2cef07(0x25a)]};break;}case m['CollaborationEvent'][_0x2cef07(0x211)]:{_0x130a6f={'eventID':m['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0xdaf9c1[_0x2cef07(0x25a)][_0x2cef07(0x25a)]};break;}case m['CollaborationEvent'][_0x2cef07(0x229)]:{_0x130a6f={'eventID':m['CollaborationEvent'][_0x2cef07(0x229)],'liveShareTerminate':_0xdaf9c1[_0x2cef07(0x25a)][_0x2cef07(0x25a)]};break;}case m[_0x2cef07(0x466)][_0x2cef07(0x2b5)]:{_0x130a6f={'eventID':m['CollaborationEvent'][_0x2cef07(0x2b5)],'liveShareRequestHost':_0xdaf9c1[_0x2cef07(0x25a)]['data']};break;}case m[_0x2cef07(0x466)][_0x2cef07(0x42c)]:{_0x130a6f={'eventID':m[_0x2cef07(0x466)][_0x2cef07(0x42c)]};break;}default:_0x130a6f={'eventID':_0xdaf9c1['data'][_0x2cef07(0x39f)]};}return JSON[_0x2cef07(0x1c1)]({'cmd':_0xdaf9c1[_0x2cef07(0x308)],'routeKey':_0xdaf9c1[_0x2cef07(0x3bf)],'collaMsg':_0x130a6f});}case G['JOIN']:return JSON['stringify']({'cmd':_0xdaf9c1[_0x2cef07(0x308)],'routeKey':_0xdaf9c1['routeKey'],'joinReq':_0xdaf9c1[_0x2cef07(0x25a)]});case G[_0x2cef07(0x22d)]:return JSON[_0x2cef07(0x1c1)]({'cmd':_0xdaf9c1['cmd'],'routeKey':_0xdaf9c1[_0x2cef07(0x3bf)],'leaveReq':_0xdaf9c1['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object[_0x23172e(0x357)],Qt=Object[_0x23172e(0x26f)],ei=(_0xb3e11,_0x54cab5,_0x74f787,_0x5d8884)=>{var _0x1bd329=_0x23172e;for(var _0xf8324=_0x5d8884>0x1?void 0x0:_0x5d8884?Qt(_0x54cab5,_0x74f787):_0x54cab5,_0x4e06b6=_0xb3e11[_0x1bd329(0x41c)]-0x1,_0x47c6bb;_0x4e06b6>=0x0;_0x4e06b6--)(_0x47c6bb=_0xb3e11[_0x4e06b6])&&(_0xf8324=(_0x5d8884?_0x47c6bb(_0x54cab5,_0x74f787,_0xf8324):_0x47c6bb(_0xf8324))||_0xf8324);return _0x5d8884&&_0xf8324&&Zt(_0x54cab5,_0x74f787,_0xf8324),_0xf8324;},ue=(_0xf6bf8e,_0x3c3623)=>(_0x29deeb,_0x52ae23)=>_0x3c3623(_0x29deeb,_0x52ae23,_0xf6bf8e);const ke=a[_0x23172e(0x13b)](_0x23172e(0x2ff));function ti(_0x15f8e7,_0x1b72a3,_0xc8302c){var _0x5b343f=_0x23172e;return _0x15f8e7+'/'+_0x1b72a3+_0x5b343f(0x167)+_0xc8302c+_0x5b343f(0x147);}exports['CollaborationSocketService']=class extends a[_0x23172e(0x1d4)]{constructor(_0x3a5031,_0x22013e,_0x280744,_0xb76b7a,_0x4dd9fe){var _0x35d9aa=_0x23172e;super(),this['_injector']=_0x3a5031,this[_0x35d9aa(0x49b)]=_0x22013e,this['_configService']=_0x280744,this[_0x35d9aa(0x377)]=_0xb76b7a,this[_0x35d9aa(0x236)]=_0x4dd9fe;}['createSocket'](_0x3579a2){var _0xce9c73=_0x23172e;const _0x4a4702=this[_0xce9c73(0x139)][_0xce9c73(0x251)](z[_0xce9c73(0x21e)]);if(!_0x4a4702)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1f6562=_0x4a4702[_0xce9c73(0x307)](_0x3579a2);if(!_0x1f6562)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3f8a28=new a[(_0xce9c73(0x26b))](),_0x8a5d96=new H[(_0xce9c73(0x414))]();_0x3f8a28[_0xce9c73(0x362)](_0x1f6562[_0xce9c73(0x365)][_0xce9c73(0x2a9)](_0x56d2e9=>_0x8a5d96['next'](_0x56d2e9))),_0x3f8a28['add'](a['toDisposable'](()=>_0x8a5d96['complete']()));const _0x3dbf31=new H[(_0xce9c73(0x414))]();_0x3f8a28[_0xce9c73(0x362)](_0x1f6562[_0xce9c73(0x385)][_0xce9c73(0x2a9)](_0x4622f2=>_0x3dbf31[_0xce9c73(0x226)](_0x4622f2))),_0x3f8a28[_0xce9c73(0x362)](a[_0xce9c73(0x41b)](()=>_0x3dbf31[_0xce9c73(0x2d5)]()));const _0x3f0cb8=new H['Subject']();_0x3f8a28['add'](_0x1f6562['message$'][_0xce9c73(0x2a9)](_0x8af14d=>{var _0x20a504=_0xce9c73;const _0x37e025=Rt(_0x8af14d);_0x3f0cb8[_0x20a504(0x226)](_0x37e025);})),_0x3f8a28[_0xce9c73(0x362)](a[_0xce9c73(0x41b)](()=>_0x3f0cb8[_0xce9c73(0x2d5)]()));let _0x6a84a8;const _0x3ce622=()=>{var _0x5de7b5=_0xce9c73;_0x3dbf31[_0x5de7b5(0x226)](new Event(_0x5de7b5(0x2a0))),_0x8a5d96[_0x5de7b5(0x226)](new CloseEvent('connection\x20error')),_0x6a84a8[_0x5de7b5(0x212)]();};return _0x6a84a8={'memberID':'','close$':_0x8a5d96[_0xce9c73(0x1df)](),'error$':_0x3dbf31[_0xce9c73(0x1df)](),'open$':_0x1f6562[_0xce9c73(0x283)],'message$':_0x3f0cb8['asObservable'](),'send':_0x6dc4e8=>{var _0x92fef8=_0xce9c73;if(_0x6dc4e8[_0x92fef8(0x308)]===G[_0x92fef8(0x34a)]){if(_0x6dc4e8[_0x92fef8(0x25a)]['eventID']===m[_0x92fef8(0x466)][_0x92fef8(0x3e0)]){this['_submitChangeset'](_0x6a84a8,_0x6dc4e8[_0x92fef8(0x25a)])[_0x92fef8(0x2bc)](_0x1ea987=>{var _0x1718e2=_0x92fef8;this[_0x1718e2(0x377)][_0x1718e2(0x202)](_0x1ea987),_0x3ce622();});return;}if(_0x6dc4e8[_0x92fef8(0x25a)][_0x92fef8(0x39f)]===m[_0x92fef8(0x466)][_0x92fef8(0x20b)]){const _0x3e5663=_0x6dc4e8[_0x92fef8(0x25a)];this[_0x92fef8(0x154)](_0x3e5663)[_0x92fef8(0x220)](_0x4dcf17=>{var _0x4d4b9a=_0x92fef8;_0x3f0cb8[_0x4d4b9a(0x226)]({'cmd':G[_0x4d4b9a(0x1bb)],'code':he['OK'],'routeKey':_0x3e5663[_0x4d4b9a(0x25a)][_0x4d4b9a(0x468)],'routeType':'','data':{'eventID':m[_0x4d4b9a(0x466)][_0x4d4b9a(0x424)],'data':{'changesets':_0x4dcf17}}});})['catch'](_0x2b9f16=>{var _0x2d2023=_0x92fef8;this[_0x2d2023(0x377)][_0x2d2023(0x202)](_0x2b9f16),_0x3ce622();});return;}}_0x1f6562[_0x92fef8(0x22a)](Ot(_0x6dc4e8));},'close':()=>{var _0xa6ba3d=_0xce9c73;_0x1f6562[_0xa6ba3d(0x212)](),_0x3f8a28[_0xa6ba3d(0x183)]();}},_0x6a84a8;}async[_0x23172e(0x431)](_0x55c176,_0x2afcc3){var _0x32afc0=_0x23172e,_0x58a421,_0xd837a4;const {unitType:_0x453123,unitID:_0xb1141a,changeset:_0x897d88}=_0x2afcc3['data'],_0xa28da9={'unitID':_0xb1141a,'memberID':_0x55c176[_0x32afc0(0x1f1)],'type':_0x453123,'changeset':m[_0x32afc0(0x335)](_0x897d88)},_0x5a31cd=this['_configService'][_0x32afc0(0x4a8)](It),_0x52734a=this[_0x32afc0(0x1d9)]['getConfig'](q),_0x37b8aa=ti((_0xd837a4=(_0x58a421=_0x52734a==null?void 0x0:_0x52734a[_0x32afc0(0x343)])!=null?_0x58a421:_0x5a31cd)!=null?_0xd837a4:Yt,_0x453123,_0xb1141a);try{await this[_0x32afc0(0x49b)]['post'](_0x37b8aa,{'body':_0xa28da9});}catch(_0x12bffc){throw this[_0x32afc0(0x377)]['error'](_0x32afc0(0x245),_0x32afc0(0x499)),_0x12bffc;}}async['_fetchMissChangesets'](_0x584138){var _0x20a7e7=_0x23172e;const {unitID:_0x2b8ac0,from:_0x4370a4,to:_0x4984ef,unitType:_0x4f27db}=_0x584138[_0x20a7e7(0x25a)];return(await this['_snapshotServerService'][_0x20a7e7(0x42b)]({'metadata':void 0x0},{'unitID':_0x2b8ac0,'type':_0x4f27db,'from':_0x4370a4,'to':_0x4984ef}))[_0x20a7e7(0x37b)];}},exports['CollaborationSocketService']=ei([ue(0x0,a[_0x23172e(0x301)](a['Injector'])),ue(0x1,a[_0x23172e(0x301)](z[_0x23172e(0x48f)])),ue(0x2,a['IConfigService']),ue(0x3,a['ILogService']),ue(0x4,m[_0x23172e(0x37a)])],exports[_0x23172e(0x2f7)]);const ii=_0x23172e(0x2c0);function ni(_0x3def0f){var _0xd687c3=_0x23172e;return JSON[_0xd687c3(0x1c1)](_0x3def0f)[_0xd687c3(0x41c)];}class Be{constructor(){var _0x51668f=_0x23172e;D(this,_0x51668f(0x178),new H[(_0x51668f(0x414))]()),D(this,'commentUpdate$',this[_0x51668f(0x178)][_0x51668f(0x1df)]());}[_0x23172e(0x305)](_0x2e1541){var _0x185eff=_0x23172e;this[_0x185eff(0x178)]['next'](_0x2e1541);}}var ri=Object[_0x23172e(0x357)],si=Object[_0x23172e(0x26f)],oi=(_0x1b3419,_0x4972d0,_0x3df49b,_0x56c1d9)=>{var _0x5727af=_0x23172e;for(var _0x2e9fdc=_0x56c1d9>0x1?void 0x0:_0x56c1d9?si(_0x4972d0,_0x3df49b):_0x4972d0,_0x23577f=_0x1b3419[_0x5727af(0x41c)]-0x1,_0x4b4d68;_0x23577f>=0x0;_0x23577f--)(_0x4b4d68=_0x1b3419[_0x23577f])&&(_0x2e9fdc=(_0x56c1d9?_0x4b4d68(_0x4972d0,_0x3df49b,_0x2e9fdc):_0x4b4d68(_0x2e9fdc))||_0x2e9fdc);return _0x56c1d9&&_0x2e9fdc&&ri(_0x4972d0,_0x3df49b,_0x2e9fdc),_0x2e9fdc;},Ke=(_0x53bca8,_0x81111b)=>(_0x255f1c,_0x1cd3e0)=>_0x81111b(_0x255f1c,_0x1cd3e0,_0x53bca8);exports[_0x23172e(0x148)]=class extends a[_0x23172e(0x1d4)]{constructor(_0x3460fb,_0x31989f){var _0x8178a7=_0x23172e;super(),D(this,_0x8178a7(0x22f),new Map()),D(this,_0x8178a7(0x2ea),new H[(_0x8178a7(0x414))]()),(this[_0x8178a7(0x3cd)]=_0x3460fb,this[_0x8178a7(0x30c)]=_0x31989f,this[_0x8178a7(0x439)](H[_0x8178a7(0x3b5)](this[_0x8178a7(0x3cd)][_0x8178a7(0x447)](a['UniverInstanceType'][_0x8178a7(0x3bd)])[_0x8178a7(0x428)](V[_0x8178a7(0x3a8)](_0x565a4a=>_0x565a4a['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x8178a7(0x3b7)][_0x8178a7(0x33a)])[_0x8178a7(0x428)](V['map'](_0x3a5562=>_0x3a5562[_0x8178a7(0x3e6)]())),this[_0x8178a7(0x3cd)][_0x8178a7(0x447)](a[_0x8178a7(0x3b7)]['UNIVER_SLIDE'])[_0x8178a7(0x428)](V['map'](_0x481954=>_0x481954[_0x8178a7(0x3e6)]())))['subscribe'](_0x8329d0=>this[_0x8178a7(0x155)](_0x8329d0))));}['waitForRoom$'](_0x5b21bf){var _0x2d3ec3=_0x23172e;return this['_roomMembers'][_0x2d3ec3(0x2f4)](_0x5b21bf)?H['of'](this[_0x2d3ec3(0x22f)][_0x2d3ec3(0x251)](_0x5b21bf)):this[_0x2d3ec3(0x2ea)][_0x2d3ec3(0x428)](V['map'](_0x525dae=>{var _0x51daee=_0x2d3ec3;if(_0x525dae===_0x5b21bf)return this[_0x51daee(0x22f)]['get'](_0x525dae);}));}[_0x23172e(0x3aa)](_0x1cfa94){var _0x4b69a3=_0x23172e;this['_userManagerService'][_0x4b69a3(0x3aa)](_0x1cfa94);}[_0x23172e(0x383)](){var _0x343f64=_0x23172e;return this[_0x343f64(0x30c)][_0x343f64(0x383)]();}[_0x23172e(0x176)](_0x584195,_0x4a6de6){var _0x332351=_0x23172e;let _0x3a6270=this[_0x332351(0x22f)]['get'](_0x584195);_0x3a6270||(_0x3a6270=new ai(),this[_0x332351(0x22f)][_0x332351(0x422)](_0x584195,_0x3a6270),this['_roomCreated$']['next'](_0x584195)),_0x3a6270[_0x332351(0x176)](_0x4a6de6);}[_0x23172e(0x1a4)](_0x3d30ef,_0x584595){var _0x35b19b=_0x23172e;const _0x2491c8=this[_0x35b19b(0x22f)]['get'](_0x3d30ef);_0x2491c8&&_0x2491c8['removeMember'](_0x584595);}[_0x23172e(0x4b3)](_0x3743d2){var _0x2ac56d=_0x23172e;return this[_0x2ac56d(0x22f)][_0x2ac56d(0x251)](_0x3743d2);}[_0x23172e(0x361)](_0x415bff,_0x3f3809){var _0x54e6d7=_0x23172e;const _0x4cff4e=this[_0x54e6d7(0x22f)][_0x54e6d7(0x251)](_0x415bff);if(_0x4cff4e)return _0x4cff4e[_0x54e6d7(0x361)](_0x3f3809);}[_0x23172e(0x155)](_0x99aa09){var _0x54cad2=_0x23172e;const _0x474fba=this[_0x54cad2(0x22f)][_0x54cad2(0x251)](_0x99aa09);_0x474fba&&(_0x474fba[_0x54cad2(0x183)](),this['_roomMembers'][_0x54cad2(0x204)](_0x99aa09));}[_0x23172e(0x183)](){var _0x2d9fba=_0x23172e;this[_0x2d9fba(0x22f)][_0x2d9fba(0x3cc)](_0x5e1ef5=>_0x5e1ef5[_0x2d9fba(0x183)]()),this[_0x2d9fba(0x22f)][_0x2d9fba(0x254)](),this[_0x2d9fba(0x2ea)][_0x2d9fba(0x2d5)]();}},exports[_0x23172e(0x148)]=oi([Ke(0x0,a[_0x23172e(0x3b8)]),Ke(0x1,a[_0x23172e(0x301)](a[_0x23172e(0x19f)]))],exports['MemberService']);class ai extends a[_0x23172e(0x1d4)]{constructor(){var _0x14066d=_0x23172e;super(...arguments),D(this,_0x14066d(0x1f4),new Map()),D(this,'_members$',new H[(_0x14066d(0x420))](this[_0x14066d(0x1f4)])),D(this,_0x14066d(0x1f9),this[_0x14066d(0x313)]['asObservable']());}[_0x23172e(0x183)](){var _0x303629=_0x23172e;this[_0x303629(0x1f4)][_0x303629(0x254)]();}[_0x23172e(0x176)](_0x2f2dbf){var _0x5d9d87=_0x23172e;this[_0x5d9d87(0x1f4)][_0x5d9d87(0x422)](_0x2f2dbf[_0x5d9d87(0x1f1)],_0x2f2dbf),this[_0x5d9d87(0x2ba)]();}[_0x23172e(0x1a4)](_0x8b6bc0){var _0x4ca7af=_0x23172e;this[_0x4ca7af(0x1f4)][_0x4ca7af(0x204)](_0x8b6bc0);}[_0x23172e(0x361)](_0x468d12){var _0x56fa99=_0x23172e;return this['_members'][_0x56fa99(0x251)](_0x468d12);}[_0x23172e(0x32f)](){var _0x57d37f=_0x23172e;return Array[_0x57d37f(0x3b4)](this[_0x57d37f(0x1f4)][_0x57d37f(0x34c)]());}[_0x23172e(0x2ba)](){var _0x2f05e1=_0x23172e;this[_0x2f05e1(0x313)][_0x2f05e1(0x226)](this[_0x2f05e1(0x1f4)]);}}var ci=Object[_0x23172e(0x357)],hi=Object['getOwnPropertyDescriptor'],li=(_0x96bdc6,_0x752e5d,_0x35ccd7,_0x43b503)=>{var _0x2ca12b=_0x23172e;for(var _0x235187=_0x43b503>0x1?void 0x0:_0x43b503?hi(_0x752e5d,_0x35ccd7):_0x752e5d,_0x1e6149=_0x96bdc6[_0x2ca12b(0x41c)]-0x1,_0x548de2;_0x1e6149>=0x0;_0x1e6149--)(_0x548de2=_0x96bdc6[_0x1e6149])&&(_0x235187=(_0x43b503?_0x548de2(_0x752e5d,_0x35ccd7,_0x235187):_0x548de2(_0x235187))||_0x235187);return _0x43b503&&_0x235187&&ci(_0x752e5d,_0x35ccd7,_0x235187),_0x235187;},oe=(_0x87a3b2,_0x24383e)=>(_0x17602e,_0x2132d9)=>_0x24383e(_0x17602e,_0x2132d9,_0x87a3b2),se=(_0x2ac6f8=>(_0x2ac6f8[_0x2ac6f8[_0x23172e(0x394)]=0x0]=_0x23172e(0x394),_0x2ac6f8[_0x2ac6f8[_0x23172e(0x149)]=0x1]=_0x23172e(0x149),_0x2ac6f8[_0x2ac6f8[_0x23172e(0x185)]=0x2]=_0x23172e(0x185),_0x2ac6f8[_0x2ac6f8['ONLINE']=0x3]=_0x23172e(0x165),_0x2ac6f8))(se||{});function _0x4477(_0x454bd7,_0xd736ef){var _0x2ef143=_0x2ef1();return _0x4477=function(_0x447773,_0x2448c4){_0x447773=_0x447773-0x135;var _0x306e26=_0x2ef143[_0x447773];return _0x306e26;},_0x4477(_0x454bd7,_0xd736ef);}const Ye={[he[_0x23172e(0x1e9)]]:_0x23172e(0x2de),[he[_0x23172e(0x15a)]]:_0x23172e(0x36e),[he['JOIN_ROOM_NOT_EXISTS']]:_0x23172e(0x1d0),[he[_0x23172e(0x3d5)]]:_0x23172e(0x3c6),[he[_0x23172e(0x171)]]:'session.room-cnt-exceeds'};exports[_0x23172e(0x3e9)]=class extends a[_0x23172e(0x440)]{constructor(_0xbd6ba9,_0x49424f,_0x293128,_0x2d6a38,_0x1789d1,_0x3e9176,_0x25f92a,_0x364c09,_0x3d654b){var _0x90ced=_0x23172e;super(),D(this,'_sessionStatus$',new H[(_0x90ced(0x420))](0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x90ced(0x1df)]()),D(this,_0x90ced(0x4a6),new H[(_0x90ced(0x414))]()),D(this,'event$',this[_0x90ced(0x4a6)][_0x90ced(0x1df)]()),D(this,_0x90ced(0x250)),D(this,_0x90ced(0x2eb)),D(this,_0x90ced(0x4a4)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this[_0x90ced(0x39a)]=_0xbd6ba9,this['_logService']=_0x293128,this[_0x90ced(0x1d9)]=_0x2d6a38,this['_localeService']=_0x1789d1,this[_0x90ced(0x321)]=_0x3e9176,this[_0x90ced(0x280)]=_0x25f92a,this['_collaborationUIEventService']=_0x364c09,this['_telemetryService']=_0x3d654b,this[_0x90ced(0x1f0)]=!!this[_0x90ced(0x32d)],_0x49424f[_0x90ced(0x428)](H[_0x90ced(0x164)](this['dispose$']))[_0x90ced(0x2a9)](_0x488dde=>{var _0x3d53aa=_0x90ced,_0x571011;typeof _0x488dde>'u'||(this[_0x3d53aa(0x250)]=_0x488dde,_0x488dde?(this['_joinRoom'](_0x488dde),this[_0x3d53aa(0x2eb)]=_0x488dde[_0x3d53aa(0x194)][_0x3d53aa(0x2a9)](_0x1f934b=>{var _0x5225e1=_0x3d53aa;_0x1f934b[_0x5225e1(0x3bf)]===this['_unitID']&&this[_0x5225e1(0x3df)](_0x1f934b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3d53aa(0x415)][_0x3d53aa(0x226)](0x2),(_0x571011=this[_0x3d53aa(0x2eb)])==null||_0x571011['unsubscribe'](),this[_0x3d53aa(0x2eb)]=null));}));}get[_0x23172e(0x4af)](){var _0x182733=_0x23172e;return this['_sessionStatus$'][_0x182733(0x265)]();}['getMemberID'](){var _0x21aefd=_0x23172e,_0x34102c,_0x46f834;return(_0x46f834=(_0x34102c=this[_0x21aefd(0x250)])==null?void 0x0:_0x34102c[_0x21aefd(0x1f1)])!=null?_0x46f834:null;}[_0x23172e(0x183)](){var _0x4513fd=_0x23172e;super['dispose'](),this[_0x4513fd(0x273)]['next'](),this['dispose$'][_0x4513fd(0x2d5)]();}[_0x23172e(0x212)](){var _0x32e82e=_0x23172e,_0x36f2c7,_0x4f3ccd;this[_0x32e82e(0x2a1)](),(_0x36f2c7=this[_0x32e82e(0x250)])==null||_0x36f2c7[_0x32e82e(0x22a)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x32e82e(0x39a)]}}),(_0x4f3ccd=this[_0x32e82e(0x250)])==null||_0x4f3ccd[_0x32e82e(0x212)](),this[_0x32e82e(0x4a6)][_0x32e82e(0x2d5)](),this[_0x32e82e(0x415)][_0x32e82e(0x2d5)](),this['dispose']();}[_0x23172e(0x3df)](_0x2d9792){var _0x10c015=_0x23172e;_0x2d9792[_0x10c015(0x308)]===G[_0x10c015(0x3d0)]?this[_0x10c015(0x2ee)](_0x2d9792):_0x2d9792[_0x10c015(0x308)]===G[_0x10c015(0x1bb)]&&this[_0x10c015(0x3f6)](_0x2d9792);}[_0x23172e(0x314)](_0x55a43f){var _0x3fbc81=_0x23172e;this[_0x3fbc81(0x415)][_0x3fbc81(0x226)](0x1),_0x55a43f[_0x3fbc81(0x22a)]({'cmd':G[_0x3fbc81(0x3d0)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x3fbc81(0x39a)]}]}});}['_onJoinRoomEvent'](_0x377458){var _0x5e7646=_0x23172e,_0x4dd3cb;if(_0x377458[_0x5e7646(0x29a)]in Ye){this[_0x5e7646(0x3d9)][_0x5e7646(0x195)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x377458[_0x5e7646(0x29a)]]}),this[_0x5e7646(0x415)]['next'](0x2);return;}this[_0x5e7646(0x415)][_0x5e7646(0x226)](0x3);const _0x56c968=(_0x4dd3cb=_0x377458[_0x5e7646(0x25a)][_0x5e7646(0x19b)][this[_0x5e7646(0x39a)]])==null?void 0x0:_0x4dd3cb[_0x5e7646(0x2d1)];_0x56c968&&_0x56c968['forEach'](_0x2237b8=>this[_0x5e7646(0x321)][_0x5e7646(0x176)](this[_0x5e7646(0x39a)],_0x2237b8));}[_0x23172e(0x3f6)](_0x3faa70){var _0x240f70=_0x23172e;try{const _0x405234=_0x3faa70['data'];switch(_0x405234['eventID']){case m[_0x240f70(0x466)][_0x240f70(0x186)]:this[_0x240f70(0x14f)](_0x405234),this['_event$'][_0x240f70(0x226)](_0x405234);break;case m[_0x240f70(0x466)][_0x240f70(0x256)]:this['_onUserLeave'](_0x405234),this[_0x240f70(0x4a6)][_0x240f70(0x226)](_0x405234);break;case m['CollaborationEvent'][_0x240f70(0x3ec)]:case m[_0x240f70(0x466)][_0x240f70(0x201)]:this[_0x240f70(0x372)](),this[_0x240f70(0x322)](),this[_0x240f70(0x4a6)]['next'](_0x405234);break;case m[_0x240f70(0x466)][_0x240f70(0x208)]:this[_0x240f70(0x377)][_0x240f70(0x202)](_0x240f70(0x312)+JSON[_0x240f70(0x1c1)](_0x405234)),this[_0x240f70(0x4a6)][_0x240f70(0x226)](_0x405234);break;case m[_0x240f70(0x466)][_0x240f70(0x399)]:this[_0x240f70(0x280)]['onCommentUpdate'](_0x405234[_0x240f70(0x25a)]),this['_event$'][_0x240f70(0x226)](_0x405234);break;default:this['_event$']['next'](_0x405234);}}catch(_0x208e39){this[_0x240f70(0x377)][_0x240f70(0x202)](_0x208e39,_0x3faa70);}}[_0x23172e(0x14f)](_0x37c037){var _0x5b34c0=_0x23172e;this[_0x5b34c0(0x321)][_0x5b34c0(0x176)](this['_unitID'],_0x37c037[_0x5b34c0(0x25a)]);}['_onUserLeave'](_0x27a5c7){var _0x6a95dd=_0x23172e;this[_0x6a95dd(0x321)]['removeMember'](this[_0x6a95dd(0x39a)],_0x27a5c7['data'][_0x6a95dd(0x1f1)]);}async[_0x23172e(0x22a)](_0x13df62,_0x21bc8d){var _0x43ff59=_0x23172e;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x13df62['eventID']===m['CollaborationEvent'][_0x43ff59(0x3e0)]&&(this[_0x43ff59(0x3fa)](),this[_0x43ff59(0x25d)](_0x13df62)),this[_0x43ff59(0x250)][_0x43ff59(0x22a)]({'cmd':G[_0x43ff59(0x34a)],'routeKey':_0x21bc8d,'routeType':'','data':_0x13df62});}catch(_0x3abd13){this[_0x43ff59(0x377)]['error'](_0x3abd13);}}['_scheduleCollaborationTimeoutTimer'](){var _0x251a7e=_0x23172e,_0x80fb95;this[_0x251a7e(0x4a4)]=setTimeout(()=>{var _0x3405c8=_0x251a7e;this[_0x3405c8(0x4a4)]=null,this['_collaborationUIEventService'][_0x3405c8(0x195)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x80fb95=this[_0x251a7e(0x1d9)][_0x251a7e(0x4a8)](He))!=null?_0x80fb95:gt);}[_0x23172e(0x322)](){var _0x67eb77=_0x23172e;this[_0x67eb77(0x4a4)]&&(clearTimeout(this[_0x67eb77(0x4a4)]),this['_collaborationTimeoutTimer']=null);}[_0x23172e(0x25d)](_0x4f0e6f){var _0x370720=_0x23172e;if(!this[_0x370720(0x1f0)])return;const {data:_0x463d86}=_0x4f0e6f,{unitID:_0x34ee1a,changeset:_0x24dcc0}=_0x463d86,{mutations:_0x53f307,type:_0x84821f}=_0x24dcc0;this['_telemetryInfo']={'unitId':_0x34ee1a,'type':_0x84821f,'startTime':performance[_0x370720(0x1d6)](),'stopTime':0x0,'duration':0x0,'size':ni(_0x53f307)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4a62ef=_0x23172e;if(this[_0x4a62ef(0x1f0)]){if(!this[_0x4a62ef(0x38f)]){this[_0x4a62ef(0x377)]['error'](_0x4a62ef(0x245),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4a62ef(0x38f)][_0x4a62ef(0x22c)]=performance[_0x4a62ef(0x1d6)](),this[_0x4a62ef(0x38f)][_0x4a62ef(0x45a)]=this[_0x4a62ef(0x38f)][_0x4a62ef(0x22c)]-this[_0x4a62ef(0x38f)][_0x4a62ef(0x218)],this[_0x4a62ef(0x32d)][_0x4a62ef(0x270)](ii,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x142166=_0x23172e;this[_0x142166(0x38f)]=null;}},exports[_0x23172e(0x3e9)]=li([oe(0x2,a[_0x23172e(0x2cc)]),oe(0x3,a['IConfigService']),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x23172e(0x148)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x23172e(0x301)](te)),oe(0x8,a[_0x23172e(0x1ef)](xt[_0x23172e(0x21a)]))],exports[_0x23172e(0x3e9)]);var _i=Object['defineProperty'],ui=Object['getOwnPropertyDescriptor'],di=(_0x20e8ed,_0x4e9341,_0x2494b8,_0xd7c0c7)=>{var _0x4e5d11=_0x23172e;for(var _0x49f536=_0xd7c0c7>0x1?void 0x0:_0xd7c0c7?ui(_0x4e9341,_0x2494b8):_0x4e9341,_0x2030aa=_0x20e8ed[_0x4e5d11(0x41c)]-0x1,_0x5a321e;_0x2030aa>=0x0;_0x2030aa--)(_0x5a321e=_0x20e8ed[_0x2030aa])&&(_0x49f536=(_0xd7c0c7?_0x5a321e(_0x4e9341,_0x2494b8,_0x49f536):_0x5a321e(_0x49f536))||_0x49f536);return _0xd7c0c7&&_0x49f536&&_i(_0x4e9341,_0x2494b8,_0x49f536),_0x49f536;},ae=(_0x27dd05,_0x43d1bd)=>(_0x5214d7,_0x3a215b)=>_0x43d1bd(_0x5214d7,_0x3a215b,_0x27dd05);exports[_0x23172e(0x2e9)]=class extends a[_0x23172e(0x1d4)]{constructor(_0x1335b0,_0x4dea52,_0x2c8a48,_0x562756,_0x37e557,_0x255036,_0x19c22d){var _0x1d393e=_0x23172e;super(),D(this,_0x1d393e(0x276),new H[(_0x1d393e(0x420))](void 0x0)),D(this,'socket$',this[_0x1d393e(0x276)]['asObservable']()),D(this,_0x1d393e(0x135),null),D(this,_0x1d393e(0x3ca),new Map()),D(this,_0x1d393e(0x279),new H[(_0x1d393e(0x420))](se[_0x1d393e(0x394)])),D(this,_0x1d393e(0x42e),this[_0x1d393e(0x279)][_0x1d393e(0x1df)]()),D(this,_0x1d393e(0x1eb),!0x1),D(this,_0x1d393e(0x1c4)),D(this,_0x1d393e(0x4a3),0x0),D(this,_0x1d393e(0x156)),D(this,_0x1d393e(0x173)),(this[_0x1d393e(0x139)]=_0x1335b0,this[_0x1d393e(0x377)]=_0x4dea52,this[_0x1d393e(0x1d9)]=_0x2c8a48,this[_0x1d393e(0x469)]=_0x562756,this['_httpService']=_0x37e557,this['_collaborationUIEventService']=_0x255036,this['_networkConditionService']=_0x19c22d,this[_0x1d393e(0x47d)]());}get[_0x23172e(0x250)](){var _0x756092=_0x23172e;return this[_0x756092(0x276)]['getValue']();}[_0x23172e(0x47d)](){var _0x2514d1=_0x23172e;this[_0x2514d1(0x441)]&&this[_0x2514d1(0x439)](this[_0x2514d1(0x441)][_0x2514d1(0x47c)][_0x2514d1(0x2a9)](_0x6352c8=>{var _0x860e2d=_0x2514d1;_0x6352c8&&!this[_0x860e2d(0x250)]&&this[_0x860e2d(0x35c)](),_0x6352c8||this[_0x860e2d(0x310)]();}));}['dispose'](){var _0x51d024=_0x23172e;super[_0x51d024(0x183)](),this[_0x51d024(0x3ca)][_0x51d024(0x3cc)](_0x292204=>_0x292204[_0x51d024(0x183)]()),this[_0x51d024(0x3ca)][_0x51d024(0x254)](),this[_0x51d024(0x279)][_0x51d024(0x2d5)]();}async['requireSession'](_0x2254e1){var _0x653e9d=_0x23172e;if(this['_sessions'][_0x653e9d(0x2f4)](_0x2254e1))return this[_0x653e9d(0x3ca)]['get'](_0x2254e1);this[_0x653e9d(0x474)]();const _0x209154=this['_injector'][_0x653e9d(0x267)](exports['CollaborationSession'],_0x2254e1,this[_0x653e9d(0x276)]['asObservable']());return this[_0x653e9d(0x3ca)][_0x653e9d(0x422)](_0x2254e1,_0x209154),_0x209154;}['closeSession'](_0x4a7a60){var _0x56a338=_0x23172e,_0xff4940;const _0x4d838e=this[_0x56a338(0x3ca)][_0x56a338(0x251)](_0x4a7a60);_0x4d838e&&(this[_0x56a338(0x3ca)][_0x56a338(0x204)](_0x4a7a60),_0x4d838e[_0x56a338(0x212)]()),this[_0x56a338(0x3ca)]['size']||(_0xff4940=this[_0x56a338(0x250)])==null||_0xff4940[_0x56a338(0x212)]();}[_0x23172e(0x35c)](){var _0x16062e=_0x23172e;this[_0x16062e(0x4a3)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x16062e(0x1c4)]),this[_0x16062e(0x1c4)]=null),this[_0x16062e(0x274)]();}async['_getSessionTicket'](){var _0x25798e=_0x23172e,_0x3c308e,_0x438895,_0x4ba8fa;const _0x34f11e=this[_0x25798e(0x1d9)][_0x25798e(0x4a8)](q),_0x567ef7=(_0x3c308e=_0x34f11e==null?void 0x0:_0x34f11e['wsSessionTicketUrl'])!=null?_0x3c308e:Bt;return(_0x4ba8fa=(_0x438895=(await this[_0x25798e(0x34f)]['get'](_0x567ef7,{'headers':{'Content-Type':'application/json'}}))[_0x25798e(0x493)])==null?void 0x0:_0x438895[_0x25798e(0x275)])!=null?_0x4ba8fa:'';}[_0x23172e(0x4b5)](_0x548a4f){var _0x372a60=_0x23172e,_0x2f39c7,_0x3ffa61;const _0x80aea7=this[_0x372a60(0x1d9)][_0x372a60(0x4a8)](ft),_0x1f861b=this[_0x372a60(0x1d9)][_0x372a60(0x4a8)](q),_0x2b962a=(_0x3ffa61=(_0x2f39c7=_0x1f861b==null?void 0x0:_0x1f861b[_0x372a60(0x410)])!=null?_0x2f39c7:_0x80aea7)!=null?_0x3ffa61:St,_0x4e9b18=typeof window>'u'?new URL(_0x2b962a):new URL(_0x2b962a,window[_0x372a60(0x200)][_0x372a60(0x1af)]);_0x4e9b18[_0x372a60(0x1c3)][_0x372a60(0x422)](_0x372a60(0x182),_0x548a4f);const _0x47ce13=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x372a60(0x200)][_0x372a60(0x18c)]);return _0x47ce13['get'](_0x372a60(0x3ac))&&_0x4e9b18[_0x372a60(0x1c3)]['set'](_0x372a60(0x3ac),_0x47ce13[_0x372a60(0x251)](_0x372a60(0x3ac))),_0x4e9b18[_0x372a60(0x459)]();}async[_0x23172e(0x3cb)](){var _0x3d859d=_0x23172e;const _0x1be2f2=await this[_0x3d859d(0x2a3)](),_0xaeb4c4=this['_createSocketURL'](_0x1be2f2),_0x59cdb1=this[_0x3d859d(0x469)][_0x3d859d(0x307)](_0xaeb4c4);return this['_candidateSocket']=_0x59cdb1,_0x59cdb1;}async[_0x23172e(0x474)](){var _0x20cfd1=_0x23172e,_0x117db2,_0x2f4031;try{const _0x34dda0=(_0x2f4031=(_0x117db2=this[_0x20cfd1(0x250)])!=null?_0x117db2:this[_0x20cfd1(0x135)])!=null?_0x2f4031:await this[_0x20cfd1(0x3cb)]();if(_0x34dda0){const _0xe549c2=_0x34dda0[_0x20cfd1(0x22a)];_0x34dda0[_0x20cfd1(0x22a)]=_0x2ad507=>(this['_rescheduleHeartbeat'](),_0xe549c2['apply'](_0x34dda0,[_0x2ad507])),_0x34dda0[_0x20cfd1(0x194)][_0x20cfd1(0x2a9)](_0x551146=>this[_0x20cfd1(0x478)](_0x34dda0,_0x551146)),_0x34dda0[_0x20cfd1(0x385)][_0x20cfd1(0x428)](V[_0x20cfd1(0x16f)](0x1))[_0x20cfd1(0x2a9)](_0x5ecbed=>this['_logService'][_0x20cfd1(0x202)](_0x20cfd1(0x20a),_0x5ecbed)),_0x34dda0[_0x20cfd1(0x283)][_0x20cfd1(0x428)](V[_0x20cfd1(0x16f)](0x1))[_0x20cfd1(0x2a9)](()=>{var _0x1afce2=_0x20cfd1;this[_0x1afce2(0x3dc)](_0x34dda0);}),_0x34dda0[_0x20cfd1(0x365)][_0x20cfd1(0x428)](V[_0x20cfd1(0x16f)](0x1))[_0x20cfd1(0x2a9)](_0x489b90=>{var _0x5988c1=_0x20cfd1;this[_0x5988c1(0x377)][_0x5988c1(0x277)](_0x5988c1(0x2ed),'socket\x20close',_0x489b90),this['_onConnectionFailed']();});}}catch(_0xaae87c){this[_0x20cfd1(0x377)]['error'](_0xaae87c),this[_0x20cfd1(0x2d2)]();}}[_0x23172e(0x3dc)](_0x134ab4){var _0x43beda=_0x23172e;this[_0x43beda(0x377)][_0x43beda(0x277)](_0x43beda(0x2ed),_0x43beda(0x376)),_0x134ab4[_0x43beda(0x22a)]({'cmd':G[_0x43beda(0x216)]}),this[_0x43beda(0x3f5)]();}[_0x23172e(0x310)](){var _0x554640=_0x23172e;this[_0x554640(0x1eb)]=!0x1,this[_0x554640(0x135)]=null,this[_0x554640(0x279)][_0x554640(0x226)](se['OFFLINE']),this['_socket$'][_0x554640(0x226)](null),this[_0x554640(0x1cd)](),this[_0x554640(0x3f0)]();}['_onConnectionFailed'](){var _0x45873f=_0x23172e,_0x5b2e6a;this[_0x45873f(0x310)](),this[_0x45873f(0x4a3)]<((_0x5b2e6a=this[_0x45873f(0x1d9)]['getConfig'](mt))!=null?_0x5b2e6a:Vt)?(this[_0x45873f(0x3d9)]['emitEvent']({'id':Q[_0x45873f(0x138)]}),this[_0x45873f(0x274)]()):this[_0x45873f(0x3d9)]['emitEvent']({'id':Q[_0x45873f(0x27b)]});}[_0x23172e(0x274)](){var _0x34d440=_0x23172e,_0x29b749;const _0x32e8a6=this['_retryCount'],_0x5ba0f6=this[_0x34d440(0x1d9)][_0x34d440(0x4a8)](q),_0x1ca660=_0x32e8a6===0x0?0x0:((_0x29b749=_0x5ba0f6==null?void 0x0:_0x5ba0f6[_0x34d440(0x1c6)])!=null?_0x29b749:Wt)*0x2**_0x32e8a6;this[_0x34d440(0x1c4)]=setTimeout(()=>{var _0x3203ae=_0x34d440;clearTimeout(this['_retryConnectingTimer']),this[_0x3203ae(0x1c4)]=null,this[_0x3203ae(0x474)]();},_0x1ca660),this[_0x34d440(0x4a3)]+=0x1;}['_onMessage'](_0x6e2729,_0x5ac72f){var _0x40f071=_0x23172e;const {cmd:_0x2e33da}=_0x5ac72f;_0x2e33da===G[_0x40f071(0x216)]&&!this[_0x40f071(0x1eb)]&&(_0x6e2729['memberID']=_0x5ac72f[_0x40f071(0x25a)][_0x40f071(0x1f1)],this[_0x40f071(0x276)][_0x40f071(0x226)](_0x6e2729),this[_0x40f071(0x279)][_0x40f071(0x226)](se['ONLINE']),this['_socketReady']=!0x0,this[_0x40f071(0x135)]=null),_0x2e33da===G[_0x40f071(0x44f)]&&this[_0x40f071(0x1cd)](),this[_0x40f071(0x3f5)]();}[_0x23172e(0x3f5)](){var _0x481e29=_0x23172e,_0x130dd5;this[_0x481e29(0x3f0)](),this[_0x481e29(0x156)]=setTimeout(()=>this[_0x481e29(0x1ff)](),(_0x130dd5=this['_configService'][_0x481e29(0x4a8)](pt))!=null?_0x130dd5:Ft);}[_0x23172e(0x1ff)](){var _0x405dd5=_0x23172e;this[_0x405dd5(0x250)][_0x405dd5(0x22a)]({'cmd':G['HEARTBEAT']}),this[_0x405dd5(0x450)]();}['_waitForHeartbeatResponse'](){var _0x456c1f=_0x23172e,_0x3eb2aa;this[_0x456c1f(0x173)]=setTimeout(()=>this[_0x456c1f(0x2d2)](),(_0x3eb2aa=this[_0x456c1f(0x1d9)][_0x456c1f(0x4a8)](He))!=null?_0x3eb2aa:gt);}[_0x23172e(0x3f0)](){var _0x3c3514=_0x23172e;this[_0x3c3514(0x156)]!=null&&(clearTimeout(this[_0x3c3514(0x156)]),this['_sendHeartbeatTimer']=null);}[_0x23172e(0x1cd)](){var _0x2ce049=_0x23172e;this[_0x2ce049(0x173)]!=null&&(clearTimeout(this[_0x2ce049(0x173)]),this['_timeoutTimer']=null);}},exports[_0x23172e(0x2e9)]=di([ae(0x0,a[_0x23172e(0x301)](a['Injector'])),ae(0x1,a[_0x23172e(0x2cc)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x23172e(0x301)](z[_0x23172e(0x48f)])),ae(0x5,a[_0x23172e(0x301)](te)),ae(0x6,a['Optional'](bt))],exports['CollaborationSessionService']);const K=[];for(let r=0x0;r<0x100;++r)K[_0x23172e(0x289)]((r+0x100)[_0x23172e(0x459)](0x10)[_0x23172e(0x43c)](0x1));function vi(_0x3c5bba,_0x36b704=0x0){var _0x2a6938=_0x23172e;return(K[_0x3c5bba[_0x36b704+0x0]]+K[_0x3c5bba[_0x36b704+0x1]]+K[_0x3c5bba[_0x36b704+0x2]]+K[_0x3c5bba[_0x36b704+0x3]]+'-'+K[_0x3c5bba[_0x36b704+0x4]]+K[_0x3c5bba[_0x36b704+0x5]]+'-'+K[_0x3c5bba[_0x36b704+0x6]]+K[_0x3c5bba[_0x36b704+0x7]]+'-'+K[_0x3c5bba[_0x36b704+0x8]]+K[_0x3c5bba[_0x36b704+0x9]]+'-'+K[_0x3c5bba[_0x36b704+0xa]]+K[_0x3c5bba[_0x36b704+0xb]]+K[_0x3c5bba[_0x36b704+0xc]]+K[_0x3c5bba[_0x36b704+0xd]]+K[_0x3c5bba[_0x36b704+0xe]]+K[_0x3c5bba[_0x36b704+0xf]])[_0x2a6938(0x1e5)]();}function _0x2ef1(){var _0x2e31f8=['_onLocalMutation','Utf8','mapDocumentTypeToUniverType','initWorkbookPermissionChange','getMember','add','ILocalCacheService','confirm','close$','_getCtorByUniverType','apply','/universer-api/stream/file/upload','subject','Injector','BlockCipher','@univerjs/docs','/object/','session.room-full','IPermissionService','IImageIoService','36VkJgyP','_stopTelemetryCollaborationNewChangeset','salt','_state$','NOT_COLLAB','socket\x20open.','_logService','getDeserializedSheetBlock','JOIN_ROOM_FAILED','ISnapshotServerService','changesets','mode','getAllRangePermissionPoint','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HTTPRequest','Base','UNIVER_PROJECT','NoPadding','getCurrentUser','_loadDoc','error$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','updateOfflineData','byteLength','_handler','sid','localeService','_localCacheService','_changesetSessionId','transformChangesets','_telemetryInfo','_change$','onSyncEditingCollabCursor','__Key__','_doProcessBlock','IDLE','onTransformState','RETRY_CONNECTING_MAX_COUNT_KEY','UniverCollaborationPlugin','OTHER_CLIENT_EDITING','COMMENT_UPDATE','_unitID','EvpKDF','_eventService','UPDATE_PERMISSION_OBJ','awaiting','eventID','getGlobalObject','/-/object/-/batch_allowed','processBlock','post','HEARTBEAT_INTERVAL_KEY','_hasher','socketService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','map','mergeOverrideWithDependencies','setCurrentUser','_DEC_XFORM_MODE','runId','keySize','AwaitingWithPendingState','LICENSE_DISTRO_REJECTED','Quantity','loadOfflineData','OfflineState','COMPRESS_MUTATION_APPLY','from','merge','CollaborationImageIoService','UniverInstanceType','IUniverInstanceService','CollaborationController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_nDataBytes','textEncoder','UNIVER_SHEET','getUnitType','routeKey','pending','create','fromCharCode','_getAPIPrefix','offline','random','session.room-permission-denied','getCurrentRevOfUnit','objectType','Workbook','_sessions','_createSocket','forEach','_univerInstanceService','univer-pro.collaboration-client.network-condition.service','_sheetTransformSelectionsService','JOIN','deepClone','enc','{fileID}','snapshotServerUrl','JOIN_ROOM_PERMISSION_DENIED','_getUploadFileURL','_getCurrentRevision','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collaborationUIEventService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','enableAuthServer','_onConnectionOpen','_keySchedule','[FetchMissState]','_onCombEvent','SUBMIT_CHANGESET','image/jpg','getLatestCsReqIdBySid','sendChangesetTimeout','_showConflictNotification','objectActions','getUnitId','closeSession','DocCollaborationEntity','CollaborationSession','[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.','exports','CHANGESET_ACK','baseProtectionActions','loadUnit','_imageSourceCache','_clearHeartbeatTimer','CHANGESET_REJ','max','onTransformIME','LICENSE_EXPORT_SIZE_EXCEEDED','_rescheduleHeartbeat','_onRecvEvent','pauseCollaboration','action','univer-pro.collaboration-client.single-active-unit-service','_scheduleCollaborationTimeoutTimer','createEncryptor','reset','SNAPSHOT_HAS_BEEN_REMOVED','_remoteChangesetQueue','clamp','requestParams','StreamCipher','enableSingleActiveInstanceLock','LIVESHARE_NEW_HOST','LOGIN_URL_KEY','csShouldRetryEvent','/universer-api/comb','_getAPIPrefixPath','_undoRedoService','byteOffset','hasher','reduce','CollaborationUIEventService','COLLAB_WEB_SOCKET_URL','/fetchmissing?from=','override','collabWebSocketUrl','971171kUXcZk','PERSON','_waitCount','Subject','_sessionStatus$','/universer-api/snapshot/','equals','_parse','CollaborationStatus','compute','toDisposable','length','OTHER_CLIENTS_EDITING','update','collaborators','BehaviorSubject','/universer-api/authz','set','rxjs/operators','PSEUDO_FETCH_MISSING_RESULT','_onRemoteRetry','[OfflineState]:\x20received\x20rejection.','_getUndoStack','pipe','saveSnapshot','charCodeAt','fetchMissingChangesets','LIVESHARE_FETCH_OPERATIONS','crypto','status$','LOCAL_CACHE_INTERVAL_KEY','ICommandService','_submitChangeset','fromCollab','msCrypto','_replayCachedMutations','getAllWorksheetPermissionPointByPointPanel','INTERNAL_ERROR','Univer','copyFileMeta','disposeWithMe','words','UnitStatus','slice','put','ImageSourceType','getActiveSheet','RxDisposable','_networkConditionService','/-/object/list','ConflictState','parse','_getSendChangesetTimeout','_reverseMap','getTypeOfUnitDisposed$','CONFLICT','_checkMissing','@univerjs/sheets','/block/','HttpImport','avatar','MUTATION','HEARTBEAT','_waitForHeartbeatResponse','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','FetchingMissState','APPLY_DUPLICATED','isPermissionRej','_doReset','COMPRESS_MUTATION_SEND','loadDoc','getCollabEntity','toString','duration','_mode','UNKNOWN_CODE','SNAPSHOT_SERVER_URL_KEY','_getDownloadEndpointURL','_doFinalize','_substituteUndoStack','change$','?size=','/role','_getRedoStack','_instanceService','CollaborationEvent','SEND_CHANGESET_TIMEOUT','unitID','_socketService','workbook','extend','_transformRemoteChangesetByIMECache','type','APPLY_REJECT','isTransformChangesetsSuccess','UnitSnapshot','unit-cache-','_createInitialStateImpl','objects','_tryEnsureSocket','mutations','$super','_cipher','_onMessage','_acknowledgedAwaitingChangeset','replace','findIndex','online$','_listenToNetworkCondition','isTransformMutationsWithChangesetSuccess','every','Plugin','editingUnit','_collaborationSessionService','roles','default','UNAUTHENTICATED','registerDependencies','HMAC','&source=','/collaborator','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_keyPriorReset','infoRsp','Undefined','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HTTPService','delay','UniverCollaborationClientPlugin','rev','body','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_incrementRevisionNumber','getAllWorkbookPermissionPoint','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_iv','submit\x20changeset\x20error!','getResourcesRequest','_http','UniverSheetsPlugin','unitId\x20is\x20not\x20found','onSendChangeset','fetching\x20missing\x20changesets\x20from\x20','leaveEvent','onTransformRemoteChangesetByStateCache','_collabSessionService','_retryCount','_collaborationTimeoutTimer','_schedule','_event$','join','getConfig','encode','InsertSheetMutation','putCollaborators','reverse','SessionStatus','entries','sessionStatus','CONNECTOR_DATA_TOO_LARGE','SUCCUSS','splice','getRoom','_permissionService','_createSocketURL','_candidateSocket','batchAllowed','SheetsSelectionsService','SOCKET_FAILED_RETRY','_injector','_initMergeInterceptor','createIdentifier','_clearRedo','getTime','YUUMI_UNABLE_LOAD_URL','floor','RangeProtectionRuleModel','MD5','SNAPSHOT_URL_KEY','execute','[PendingState]:\x20received\x20rejection.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNDEFINED','/new_changes','MemberService','JOINING','deserializeToCombResponse','sheets','CollaborationEntity','createDecryptor','APPLY_PERMISSION_DENIED','_onUserJoin','format','uniscriptRunEvent','_map','_sender','_fetchMissChangesets','_removeRoom','_sendHeartbeatTimer','_transitionLocked','CipherParams','UPDATE_CURSOR','JOIN_ROOM_FULL','baseRev','toggleOffline','ICollaborationSocketService','_updateStatus','actions','_singleActiveUnitService','_onRemoteACK','joinRsp','IMentionIOService','takeUntil','ONLINE','_data','/unit/','appendMutation','function','ITransformService','_iKey','value','createCollaborator','collaboration-client.local-cache-service','take','MergeInterceptorFactory','GLOBAL_ROOMS_CNT_EXCEEDS','_xformMode','_timeoutTimer','getMemberID','padding','updateMember','getImage','_commentUpdate$','onTransformSelections','_entities','AWAITING_WITH_PENDING','isInternalEditorID','getLocalCacheKey','495940IPchen','LICENSE_MAX_UNITS_EXCEEDED','getWorkbookSelections','interceptor','sessionTicket','dispose','UnitEmbedded','OFFLINE','USERS_ENTER','_hash','joinEvent','saveSheetBlock','Encryptor','synced','search','ruleRefresh','_HTTPService','_resendWithTimeout','RETRY_CONNECTING_MAX_COUNT','UNISCRIPT_RUN','refreshPermission','SetSelectionsOperation','message$','emitEvent','_handlerCallback','downloadEndpointUrl','userID','Latin1','selections','roomInfos','_transformIMECache','defaultWorksheetPermissionPoint','_disableEditing','UserManagerService','WorksheetProtectionPointModel','RichTextEditingMutation','INetworkConditionService','AWAITING','removeMember','@univerjs-pro/collaboration','_clearScheduledTask','unitId','WordArray','1253343ydENGB','resend','CHANGESET_REVISION_CONFILICT','_config','_initRequestHeader','blockSize','origin','failed\x20to\x20apply\x20missed\x20changesets!','_resendTimer','ERROR_IMAGE','_minBufferSize','pluginName','snapshot','sigBytes','[SyncedState]:\x20received\x20rejection.','toStringTag','@univerjs/core','unsubscribe','RECV','SelectRange','SYNCED','_replaceFileID','session','saveImage','stringify','transformMutationsWithChangeset','searchParams','_retryConnectingTimer','_commandService','retryConnectingInterval','call','YUUMI_URL_COL_OUT_OF_RANGE','_transformService','[DataLoaderService]','url','collaMsg','_clearTimeoutTimer','_process','setConfig','session.room-not-exists','_executeRemoteChangeset','_createHandler','parseProtocolChangeset','Disposable','SheetCollaborationEntity','now','lib','onStateChange','_configService','listRoles','1049638vQyARG','[CollaborationState]:\x20apply\x20error!','_nRounds','_substituteRedoStack','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_COLLABORATION_CLIENT_PLUGIN','getFocusedUnit','image/png','[SyncedState]:\x20received\x20acknowledgement.','toLowerCase','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformStateCache','FAIL','mixIn','_socketReady','LOCAL_CACHE_INTERVAL','UNIVER_SLIDE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Optional','_shouldReportTelemetry','memberID','clone','shouldCloseConn','_members','executeCommand','find','APPLY_REVISION_CONFILICT','getTypeOfUnitAdded$','members$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','name','onRemoteRetry','finalize','_oKey','_sendHeartbeat','location','CHANGESET_SHOULD_RETRY','error','HEARTBEAT_TIMEOUT','delete','abs','objectID','symbol','MSG_FOR_ERROR','_lockTransition','[CollaborationSessionService]:\x20socket\x20error','FETCH_MISSING','getUnit','/universer-api/user/session-ticket','LICENSE_IMPORT_SIZE_EXCEEDED','\x20to\x20','/rev/','LIVESHARE_OPERATION','close','/allowed','_registerDependencies','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HELLO','Base64','startTime','_unitInfo$','ITelemetryService','HttpExport','randomBytes','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ISocketService','NO_OTHER_CLIENTS_EDITING','then','_onRemoteChangeset','reject','decryptBlock','SnapshotServerOverHTTPService','ws://127.0.0.1:8000/universer-api/comb/connect','next','_updateState','loadSheet','LIVESHARE_TERMINATE','send','_applyRemoteChangeset','stopTime','LEAVE','CollaborationUIEventId','_roomMembers','fetchThroughInterceptors','concat','image/gif','onMissingChangesets','_onRemoteRejected','FileId','_snapshotServerService','requireSession','touchDependencies','status','_initDependencies','withCredentials','clearUndoRedo','_syncEditingCollabCursor','onTransformRemoteChangesetByIMECache','LocaleService','fetchMiss','_collaborationPaused','_ENC_XFORM_MODE','image/jpeg','_doCryptBlock','[CollaborationSession]','disableLocalCache','WorkbookEditablePermission','_unlockTransition','_changesetReqId','_key','onRemoteRej','awaitingChangeset','focused$','algo','hasOwnProperty','_socket','get','Module','_sendingTimer','clear','OpenSSL','USERS_LEAVE','uploadFileServerUrl','awaiting_with_pending','[CollaborationEntity]','data','charAt','rng','_startTelemetryCollaborationNewChangeset','JSONX','_revisionService','getSheetBlock','revision','serializeCombRequest','transformStack\x20failed!','x-univer-host','getValue','randomUUID','createInstance','addHandlerCallback','ciphertext','_scheduleTimestamp','DisposableCollection','HEARTBEAT_INTERVAL','params','buffer','getOwnPropertyDescriptor','capture','generateRandomId','YUUMI_RATE_OVER_LIMIT','dispose$','_tryReconnect','ticket','_socket$','debug','@univerjs/drawing','_status$','12ZnWEBE','SOCKET_FAILED','indexOf','UNIVER_UNKNOWN','prototype','subType','_commentService','unpad','_localeService','open$','UNRECOGNIZED','AwaitingState','getUnitOnRev','CollaborativeUndoRedoService','allowed','push','_updateLocalCache','[PendingState]:\x20received\x20acknowledgement.','NOT_FOUND','_awaitingChangeset','[CollaborationUndoRedoService]','_resendTimeout','updatePermissionPoint','RevisionService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','authzUrl','encrypt','key','json','POST','_exhaustRemoteChangesetQueue','Malformed\x20UTF-8\x20data','code','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformUndoRedo','SheetTransformSelectionsService','[OfflineState]:\x20received\x20changeset.','SerializableCipher','connection\x20error','_throwTelemetryCollaborationNewChangeset','PENDING','_getSessionTicket','HmacMD5','Hasher','file','_init','Could\x20not\x20dynamically\x20require\x20\x22','subscribe','addImageSourceCache','AES','onMissedChangesetFetched','_onFetchMissResult','list','getRandomValues','pad','_transformUndoredo','COMPLETION_FINISHED','402561XztoKo','_createHmacHelper','LIVESHARE_REQUEST_HOST','AuthzIoHttpService','NEW_CHANGESETS','_onConflict','rxjs','_emitMembers','target','catch','CommandType','setWaitCount','SNAPSHOT_INVALID_SNAPSHOT','collaboration_new_changeset','BufferedBlockAlgorithm','_initCloseConn','_type','entityInit$','_entityInit$','_compressMutationService','kdf','SUBMIT_CHANGESET_TIMEOUT','collaboration-client.config','_clearUndo','DataLoaderService','ILogService','_transformRemoteChangesetByStateCache','IUndoRedoService','sessionStatus$','onRemoteChangeset','members','_onConnectionFailed','SEND_CHANGESET_TIMEOUT_KEY','ceil','complete','INVALID_ARGUMENT','PendingState','CBC','TOO_MANY_REQUESTS','isArray','toggleOnline','event$','firstValueFrom','session.join-failed','/object','_createHelper','state','_prevBlock','sin','_authzIoService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ENSURE_SNAPSHOT_EXECUTION','reqId','SyncedState','CollaborationSessionService','_roomCreated$','_socketMessageSubscription','_toggleOffline','[CollaborationSessionService]','_onJoinRoomEvent','UNKNOWN_CMD','onLocalMutation','loginUrlKey','string','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','has','getPermissionPoint','repeat','CollaborationSocketService','_getLoginPath','transformSelections','size','?url=','8kEklFn','MentionType','getTargetByPermissionId','univer-pro.collaboration-client-socket-service','AUTHZ_URL_KEY','Inject','unknown','getInterceptPoints','__esModule','onCommentUpdate','_pendingMutations','createSocket','cmd','incrementRevOfUnit','19688260fupuSa','BlockCipherMode','_userManagerService','_transformStack','registerHTTPInterceptor','UniverNetworkPlugin','_onOffline','originalMeta','save\x20fail\x20reason\x20is\x20','_members$','_joinRoom','b64DecodeUnicode','readyForCollab','_isPermissionRej','ImageUploadStatusType','filter','_transformSelections','getSheetId','MentionIoHttpService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','state$','IConfigService','__creator','_memberService','_clearCollaborationTimeoutTimer','m2Prime','_append','shareReplay','_state','[UniverCollaborationClientPlugin]','onRemoteAck','readAsDataURL','_decreaseWaiting','_queuedRemoteChangesets','fetch_missing','_telemetryService','collaboratorID','getAllMembers','textRanges','localCacheService','_initUnitPermissionChange','/universer-api/uniscript','sequenceExecute','parseChangesetToProtocol','IAuthzIoService','_toggleOnline','_redoStacks','liveShareNewHost','UNIVER_DOC','resourceIDs','src','SHOULD_CLOSE_CONN','UnitObject','bind','onlyLocal','Hex','cfg','collabSubmitChangesetUrl','_snapshotService','_startCollaboration','WorksheetProtectionRuleModel','Pkcs7','init','6321411RPOUWB','INGEST','decrypt','values','&assign=','Worksheet','_httpService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_undoStacks','getCurrentUnitForType','image/bmp','CLOSE_ROOM','Cipher','PERMISSION_DENIED','defineProperty','APPLY_NON_SEQUENTIAL_REVISION','result','CompressMutationService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reconnect'];_0x2ef1=function(){return _0x2e31f8;};return _0x2ef1();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x4f5903=_0x23172e;if(!Ue){if(typeof crypto>'u'||!crypto[_0x4f5903(0x2af)])throw new Error(_0x4f5903(0x494));Ue=crypto[_0x4f5903(0x2af)][_0x4f5903(0x33f)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x23172e(0x266)]&&crypto[_0x23172e(0x266)][_0x23172e(0x33f)](crypto),qe={'randomUUID':pi};function gi(_0x39929a,_0x440cdf,_0x4ade0d){var _0x1f41e3=_0x23172e;if(qe[_0x1f41e3(0x266)]&&!_0x440cdf&&!_0x39929a)return qe[_0x1f41e3(0x266)]();_0x39929a=_0x39929a||{};const _0x3fd552=_0x39929a[_0x1f41e3(0x3c5)]||(_0x39929a[_0x1f41e3(0x25c)]||Si)();return _0x3fd552[0x6]=_0x3fd552[0x6]&0xf|0x40,_0x3fd552[0x8]=_0x3fd552[0x8]&0x3f|0x80,vi(_0x3fd552);}const J=a['createIdentifier'](_0x23172e(0x16e));function mi(_0x83b5f1){var _0xd12238=_0x23172e;return _0xd12238(0x471)+_0x83b5f1;}var Ii=Object['defineProperty'],Ei=Object[_0x23172e(0x26f)],Ci=(_0x1c8502,_0x466f19,_0x31f301,_0x55a9a7)=>{for(var _0x5533b8=_0x55a9a7>0x1?void 0x0:_0x55a9a7?Ei(_0x466f19,_0x31f301):_0x466f19,_0x3de8eb=_0x1c8502['length']-0x1,_0x242a3f;_0x3de8eb>=0x0;_0x3de8eb--)(_0x242a3f=_0x1c8502[_0x3de8eb])&&(_0x5533b8=(_0x55a9a7?_0x242a3f(_0x466f19,_0x31f301,_0x5533b8):_0x242a3f(_0x5533b8))||_0x5533b8);return _0x55a9a7&&_0x5533b8&&Ii(_0x466f19,_0x31f301,_0x5533b8),_0x5533b8;},De=(_0x50c824,_0x2f6d66)=>(_0x439c8d,_0x3c50fd)=>_0x2f6d66(_0x439c8d,_0x3c50fd,_0x50c824);function Ti(_0x5d7cd7){var _0x37f02f=_0x23172e;const {unitID:_0x8ebac9,mutations:_0x17ca04}=_0x5d7cd7;return{'unitId':_0x8ebac9,'subUnitId':_0x17ca04[0x0][_0x37f02f(0x26d)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x596fdb,_0x26c77c,_0x4e2a52){var _0x249be2=_0x23172e;this['_injector']=_0x596fdb,this[_0x249be2(0x1c9)]=_0x26c77c,this[_0x249be2(0x465)]=_0x4e2a52;}[_0x23172e(0x2f9)](_0x577cf0){var _0x4059d1=_0x23172e,_0x56869a,_0xe71743,_0x4b7b02,_0x3e4241;const _0x5bb672=this[_0x4059d1(0x139)][_0x4059d1(0x251)](W[_0x4059d1(0x137)]),{unitId:_0x254328,subUnitId:_0x546bdd}=Ti(_0x577cf0),_0x26dde6=_0x5bb672==null?void 0x0:_0x5bb672[_0x4059d1(0x180)](_0x254328)['getCurrentSelections'](),_0x3a129e=(_0xe71743=(_0x56869a=this[_0x4059d1(0x465)][_0x4059d1(0x20c)](_0x254328))==null?void 0x0:_0x56869a[_0x4059d1(0x43f)]())==null?void 0x0:_0xe71743[_0x4059d1(0x31b)]();if(_0x26dde6['length']===0x0||!_0x254328||!_0x546bdd)return;const _0xfc7912=[{'id':W[_0x4059d1(0x193)]['id'],'params':{'unitId':_0x254328,'subUnitId':_0x3a129e,'selections':a['Tools'][_0x4059d1(0x3d1)](_0x26dde6)}}],_0x14a266=this[_0x4059d1(0x1c9)][_0x4059d1(0x1c2)](_0x577cf0,_0xfc7912);if(!m['isTransformMutationsWithChangesetSuccess'](_0x14a266))throw _0x14a266['error'];const _0x25a311=(_0x3e4241=(_0x4b7b02=_0x14a266['m2Prime'][0x0])==null?void 0x0:_0x4b7b02[_0x4059d1(0x26d)])==null?void 0x0:_0x3e4241[_0x4059d1(0x19a)];if(Array[_0x4059d1(0x2da)](_0x25a311)&&_0x25a311[_0x4059d1(0x41c)]){if(_0x25a311[_0x4059d1(0x41c)]===_0xfc7912[0x0]['params']['selections'][_0x4059d1(0x41c)]&&_0x25a311[_0x4059d1(0x47f)]((_0x34adf0,_0x36e045)=>a['Rectangle'][_0x4059d1(0x417)](_0x34adf0['range'],_0xfc7912[0x0]['params'][_0x4059d1(0x19a)][_0x36e045]['range'])))return;this[_0x4059d1(0x139)][_0x4059d1(0x251)](a[_0x4059d1(0x430)])[_0x4059d1(0x1f5)](W['SetSelectionsOperation']['id'],{'unitId':_0x254328,'subUnitId':_0x3a129e,'selections':_0x25a311});}}},exports[_0x23172e(0x29d)]=Ci([De(0x0,a['Inject'](a[_0x23172e(0x36a)])),De(0x1,m[_0x23172e(0x16a)]),De(0x2,a['IUniverInstanceService'])],exports[_0x23172e(0x29d)]);const ve=a[_0x23172e(0x13b)](_0x23172e(0x3f9));var Fe=(_0x3a273e=>(_0x3a273e[_0x3a273e[_0x23172e(0x21f)]=0x0]=_0x23172e(0x21f),_0x3a273e[_0x3a273e[_0x23172e(0x41d)]=0x1]=_0x23172e(0x41d),_0x3a273e))(Fe||{});const bi=new Set([W[_0x23172e(0x4aa)]['id']]);function ze(_0x32e600,_0x4f8663,_0x44aed6,_0x478e0c,_0x134f06){var _0x455a42=_0x23172e,_0x41df7a,_0x36535c,_0x38ac40,_0x1b285d;const _0x3bd192=[];for(const _0x97a16c of _0x32e600)if(bi[_0x455a42(0x2f4)](_0x97a16c['id'])){if(_0x3bd192[_0x455a42(0x41c)]>0x0)break;_0x3bd192[_0x455a42(0x289)](_0x97a16c);break;}else _0x3bd192[_0x455a42(0x289)](_0x97a16c);const _0x570258=(_0x36535c=(_0x41df7a=_0x134f06[_0x455a42(0x383)]())==null?void 0x0:_0x41df7a[_0x455a42(0x198)])!=null?_0x36535c:_0x455a42(0x302),_0x3df116=(_0x1b285d=(_0x38ac40=_0x134f06[_0x455a42(0x383)]())==null?void 0x0:_0x38ac40['memberID'])!=null?_0x1b285d:_0x455a42(0x302);return{'changeset':{'unitID':_0x4f8663,'type':m[_0x455a42(0x35f)](_0x44aed6[_0x455a42(0x3be)](_0x4f8663)),'baseRev':_0x478e0c[_0x455a42(0x3c7)](_0x4f8663),'revision':0x0,'userID':_0x570258,'memberID':_0x3df116,'mutations':_0x3bd192},'pendingMutations':_0x32e600[_0x455a42(0x43c)](_0x3bd192['length'])};}function Ri(_0x101ffd,_0x234491,_0x56b93f,_0x9e718f,_0x15b771){var _0x115a14=_0x23172e,_0x380bff,_0x13b7ba,_0xfe359b,_0xfa3230;const _0x497faa=[_0x101ffd['reduce']((_0x366fd7,_0x3c5fc2)=>{var _0x1c909c=_0x4477,_0x143b3f;const {id:_0x40e8bf}=_0x366fd7,{id:_0x376dff,type:_0x2fa2af}=_0x3c5fc2,_0x26cf0c=(_0x143b3f=_0x366fd7[_0x1c909c(0x26d)])!=null?_0x143b3f:{'actions':null},_0x1fbb15=_0x3c5fc2[_0x1c909c(0x26d)];if(_0x40e8bf&&_0x40e8bf!==_0x376dff)throw new Error(_0x1c909c(0x215)+_0x40e8bf+'\x20-\x20'+_0x376dff+'.');return{..._0x366fd7,'id':_0x376dff,'type':_0x2fa2af,'params':{'unitId':_0x1fbb15[_0x1c909c(0x1a7)],'textRanges':_0x1fbb15[_0x1c909c(0x330)],'actions':a[_0x1c909c(0x25e)]['compose'](_0x26cf0c[_0x1c909c(0x15f)],_0x1fbb15[_0x1c909c(0x15f)])}};},{})],_0x1f2b18=(_0x13b7ba=(_0x380bff=_0x15b771[_0x115a14(0x383)]())==null?void 0x0:_0x380bff['userID'])!=null?_0x13b7ba:_0x115a14(0x302),_0x4e3e37=(_0xfa3230=(_0xfe359b=_0x15b771['getCurrentUser']())==null?void 0x0:_0xfe359b['memberID'])!=null?_0xfa3230:_0x115a14(0x302);return{'changeset':{'unitID':_0x234491,'type':m[_0x115a14(0x35f)](_0x56b93f[_0x115a14(0x3be)](_0x234491)),'baseRev':_0x9e718f[_0x115a14(0x3c7)](_0x234491),'revision':0x0,'userID':_0x1f2b18,'memberID':_0x4e3e37,'mutations':_0x497faa},'pendingMutations':[]};}function yt(_0x4e5c5a,_0x299cd9){var _0x2f8bef=_0x23172e;const _0x1fa4cd=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x1fa4cd[_0x2f8bef(0x226)](_0x299cd9),_0x4e5c5a),_0x1fa4cd['asObservable']()['pipe'](H[_0x2f8bef(0x16f)](0x1));}const Oi={'id':W['EmptyMutation']['id'],'type':a['CommandType'][_0x23172e(0x44e)],'params':{}};var yi=Object[_0x23172e(0x357)],Pi=Object[_0x23172e(0x26f)],le=(_0x10a17b,_0x68f04d,_0x547098,_0x362eb5)=>{var _0x34bfbe=_0x23172e;for(var _0x1d345c=_0x362eb5>0x1?void 0x0:_0x362eb5?Pi(_0x68f04d,_0x547098):_0x68f04d,_0x3cf847=_0x10a17b[_0x34bfbe(0x41c)]-0x1,_0x71dc77;_0x3cf847>=0x0;_0x3cf847--)(_0x71dc77=_0x10a17b[_0x3cf847])&&(_0x1d345c=(_0x362eb5?_0x71dc77(_0x68f04d,_0x547098,_0x1d345c):_0x71dc77(_0x1d345c))||_0x1d345c);return _0x362eb5&&_0x1d345c&&yi(_0x68f04d,_0x547098,_0x1d345c),_0x1d345c;},A=(_0x2c461f,_0x58b4bd)=>(_0x15b646,_0x489e18)=>_0x58b4bd(_0x15b646,_0x489e18,_0x2c461f),We=(_0x219e78=>(_0x219e78[_0x23172e(0x375)]='not_collab',_0x219e78[_0x23172e(0x1bd)]=_0x23172e(0x18b),_0x219e78[_0x23172e(0x2a2)]=_0x23172e(0x3c0),_0x219e78[_0x23172e(0x1a3)]=_0x23172e(0x39e),_0x219e78[_0x23172e(0x17b)]=_0x23172e(0x258),_0x219e78['FETCH_MISS']=_0x23172e(0x32c),_0x219e78['CONFLICT']='conflict',_0x219e78['OFFLINE']=_0x23172e(0x3c4),_0x219e78))(We||{});const Pt=0xea60;class _e{constructor(_0x46cde8,_0x3aebf4,_0xdf8849,_0xe5d457,_0x1c036,_0x5a8a54,_0x4d3f05,_0x3795c7,_0x439e2d){var _0x5d64dc=_0x23172e;D(this,_0x5d64dc(0x28d),null),D(this,_0x5d64dc(0x306),[]),(this[_0x5d64dc(0x468)]=_0x46cde8,this['type']=_0x3aebf4,this['_handler']=_0x1c036,this[_0x5d64dc(0x1c5)]=_0x5a8a54,this['_undoRedoService']=_0x4d3f05,this[_0x5d64dc(0x25f)]=_0x3795c7,this[_0x5d64dc(0x38c)]=_0x439e2d,this[_0x5d64dc(0x28d)]=_0xdf8849,this[_0x5d64dc(0x306)]=_0xe5d457);}['_checkMissing'](_0x57dba6){var _0x4fcad7=_0x23172e;const _0x2f8bf5=this['_revisionService'][_0x4fcad7(0x3c7)](this['unitID']);return _0x57dba6[_0x4fcad7(0x261)]>_0x2f8bf5+0x1?(this[_0x4fcad7(0x389)]['onMissingChangesets']({'from':_0x2f8bf5,'to':_0x57dba6[_0x4fcad7(0x261)]-0x1}),!0x0):!0x1;}[_0x23172e(0x2b1)](_0x5256ed){var _0x564484=_0x23172e;this['_undoRedoService']['transformUndoRedo'](this[_0x564484(0x468)],_0x5256ed);}[_0x23172e(0x31a)](_0x1839c3){var _0x54646a=_0x23172e,_0x8dbc29,_0x2a7d09;(_0x2a7d09=(_0x8dbc29=this[_0x54646a(0x389)])[_0x54646a(0x179)])==null||_0x2a7d09['call'](_0x8dbc29,_0x1839c3);}[_0x23172e(0x19c)](_0x489ea3){var _0x1b0340=_0x23172e,_0x560ec1,_0x576907;return(_0x576907=(_0x560ec1=this[_0x1b0340(0x389)])[_0x1b0340(0x3f3)])==null?void 0x0:_0x576907[_0x1b0340(0x1c7)](_0x560ec1,_0x489ea3);}['_transformStateCache'](_0x4ec4c3){var _0x560a8b=_0x23172e,_0x9cfb25,_0x5110af;return(_0x5110af=(_0x9cfb25=this[_0x560a8b(0x389)])[_0x560a8b(0x395)])==null?void 0x0:_0x5110af[_0x560a8b(0x1c7)](_0x9cfb25,_0x4ec4c3);}[_0x23172e(0x46c)](_0xfbc721){var _0x39649f=_0x23172e,_0x4f32ee,_0x2186b2,_0x1a2b3b;return(_0x1a2b3b=(_0x2186b2=(_0x4f32ee=this[_0x39649f(0x389)])[_0x39649f(0x23e)])==null?void 0x0:_0x2186b2[_0x39649f(0x1c7)](_0x4f32ee,_0xfbc721))!=null?_0x1a2b3b:_0xfbc721;}[_0x23172e(0x2cd)](_0x426b1c){var _0x1d22c1=_0x23172e,_0x511ef9,_0x54f2ad,_0x412c19;return(_0x412c19=(_0x54f2ad=(_0x511ef9=this[_0x1d22c1(0x389)])[_0x1d22c1(0x4a1)])==null?void 0x0:_0x54f2ad[_0x1d22c1(0x1c7)](_0x511ef9,_0x426b1c))!=null?_0x412c19:_0x426b1c;}[_0x23172e(0x23d)](_0x1e356e){var _0x172837=_0x23172e,_0x15a590,_0x293fd0;if(this[_0x172837(0x46d)]===Z[_0x172837(0x33a)]){const {unitID:_0x52b0df,mutations:_0x3d2713,memberID:_0x51e2e5}=_0x1e356e,_0x57a1e2=_0x3d2713[0x0][_0x172837(0x26d)][_0x172837(0x330)];Array[_0x172837(0x2da)](_0x57a1e2)&&_0x57a1e2['length']>0x0&&((_0x293fd0=(_0x15a590=this[_0x172837(0x389)])[_0x172837(0x391)])==null||_0x293fd0[_0x172837(0x1c7)](_0x15a590,{'unitID':_0x52b0df,'memberID':_0x51e2e5,'textRanges':_0x57a1e2}));}}[_0x23172e(0x28a)](){var _0x1691f9=_0x23172e,_0x4cef2;(_0x4cef2=this[_0x1691f9(0x38c)])==null||_0x4cef2[_0x1691f9(0x387)](this[_0x1691f9(0x468)],this[_0x1691f9(0x46d)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x23172e(0x3d7)](){var _0x10e89b=_0x23172e;return this[_0x10e89b(0x25f)][_0x10e89b(0x3c7)](this[_0x10e89b(0x468)]);}['_incrementRevisionNumber'](){var _0x66a169=_0x23172e;this['_revisionService'][_0x66a169(0x309)](this[_0x66a169(0x468)]);}[_0x23172e(0x1d1)](_0x18eac4){var _0x1c18f4=_0x23172e,_0x213e36;let _0x142e4c=this[_0x1c18f4(0x46c)](_0x18eac4);_0x142e4c=this[_0x1c18f4(0x2cd)](_0x142e4c);const _0x13f4c2=a[_0x1c18f4(0x334)](_0x142e4c['mutations'],this[_0x1c18f4(0x1c5)],{'fromCollab':!0x0});if(!_0x13f4c2[_0x1c18f4(0x359)])throw _0x13f4c2[_0x1c18f4(0x202)]instanceof Error?_0x13f4c2[_0x1c18f4(0x202)]:new Error((_0x213e36=_0x13f4c2[_0x1c18f4(0x202)])!=null?_0x213e36:_0x1c18f4(0x1dc));this['_transformIMECache'](_0x142e4c),this[_0x1c18f4(0x1e8)](_0x142e4c),this[_0x1c18f4(0x2b1)](_0x18eac4),this['_transformSelections'](_0x142e4c),this[_0x1c18f4(0x23d)](_0x142e4c),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends _e{constructor(_0x8b0dae,_0x3c998b,_0xe5f0e3,_0x2ef220,_0x58d29c,_0x2c9dc8,_0x100104,_0x258d27,_0x242221,_0x4b8d38){var _0x5ae438=_0x23172e;super(_0x8b0dae,_0x3c998b,null,[],_0xe5f0e3,_0x100104,_0x2c9dc8,_0x2ef220,_0x4b8d38),D(this,_0x5ae438(0x239),'synced'),(this['_injector']=_0x58d29c,this[_0x5ae438(0x377)]=_0x258d27,this['_transformService']=_0x242221,this[_0x5ae438(0x331)]=_0x4b8d38);}[_0x23172e(0x168)](_0x29d45b){var _0x4483ae=_0x23172e;const _0x548837=this[_0x4483ae(0x139)][_0x4483ae(0x267)](exports[_0x4483ae(0x2d7)],this[_0x4483ae(0x468)],this[_0x4483ae(0x46d)],[_0x29d45b],this['_handler']);return _0x548837[_0x4483ae(0x4a5)](),_0x548837['_updateLocalCache'](),_0x548837;}[_0x23172e(0x2d0)](_0x190e38){var _0x4e72cc=_0x23172e;if(this['_checkMissing'](_0x190e38))return this[_0x4e72cc(0x139)][_0x4e72cc(0x267)](exports[_0x4e72cc(0x452)],this['unitID'],this[_0x4e72cc(0x46d)],null,[],null,[_0x190e38],this[_0x4e72cc(0x389)]);try{const _0x1d383f=this[_0x4e72cc(0x1c9)][_0x4e72cc(0x1c2)](_0x190e38,[Oi]);if(m[_0x4e72cc(0x47e)](_0x1d383f)){const {c1Prime:_0xf4cb34}=_0x1d383f;return this['_executeRemoteChangeset'](_0xf4cb34),this;}throw _0x1d383f['error'];}catch(_0x2dbd42){return this['_logService'][_0x4e72cc(0x202)](_0x2dbd42),this[_0x4e72cc(0x2b8)](!0x1);}}[_0x23172e(0x2b8)](_0x473d86){var _0x251b0b=_0x23172e;return this['_injector'][_0x251b0b(0x267)](exports['ConflictState'],this[_0x251b0b(0x468)],this['type'],null,[],this[_0x251b0b(0x389)],_0x473d86);}[_0x23172e(0x328)](){var _0x37fcd0=_0x23172e;throw new Error(_0x37fcd0(0x1e4));}[_0x23172e(0x24b)](){var _0x3fd65e=_0x23172e;throw new Error(_0x3fd65e(0x1b7));}[_0x23172e(0x1fc)](){return this;}[_0x23172e(0x15c)](){var _0x1aa884=_0x23172e;return this[_0x1aa884(0x139)][_0x1aa884(0x267)](exports[_0x1aa884(0x3b2)],this['unitID'],this[_0x1aa884(0x46d)],null,[],this[_0x1aa884(0x389)]);}['toggleOnline'](){return this;}[_0x23172e(0x1aa)](){var _0x5186e9=_0x23172e;throw new Error(_0x5186e9(0x3da));}[_0x23172e(0x240)](){var _0x30cb94=_0x23172e;const _0xf1760d=this['_revisionService'][_0x30cb94(0x3c7)](this[_0x30cb94(0x468)]);return this[_0x30cb94(0x389)][_0x30cb94(0x233)]({'from':_0xf1760d,'to':0x0}),this[_0x30cb94(0x139)]['createInstance'](exports[_0x30cb94(0x452)],this[_0x30cb94(0x468)],this[_0x30cb94(0x46d)],null,[],null,[],this[_0x30cb94(0x389)]);}},exports[_0x23172e(0x2e8)]=le([A(0x3,a[_0x23172e(0x301)](m['RevisionService'])),A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x23172e(0x2ce)]),A(0x6,a[_0x23172e(0x430)]),A(0x7,a[_0x23172e(0x2cc)]),A(0x8,m[_0x23172e(0x16a)]),A(0x9,a['Optional'](J))],exports[_0x23172e(0x2e8)]),exports[_0x23172e(0x2d7)]=class extends _e{constructor(_0xfd2def,_0x4222b3,_0x1b210d,_0xfac7ef,_0x270f0a,_0x16351a,_0x475ed5,_0x232593,_0x3ca662,_0x4b624a,_0x208eac,_0x395e7a,_0x29f17a,_0x11396b){var _0x2529b7=_0x23172e;super(_0xfd2def,_0x4222b3,null,_0x1b210d,_0xfac7ef,_0x3ca662,_0x29f17a,_0x16351a,_0x11396b),D(this,_0x2529b7(0x239),_0x2529b7(0x3c0)),D(this,'_scheduleTimestamp',null),D(this,_0x2529b7(0x253),null),(this[_0x2529b7(0x139)]=_0x270f0a,this[_0x2529b7(0x321)]=_0x475ed5,this[_0x2529b7(0x377)]=_0x232593,this[_0x2529b7(0x1d9)]=_0x4b624a,this[_0x2529b7(0x1c9)]=_0x208eac,this[_0x2529b7(0x3cd)]=_0x395e7a);}[_0x23172e(0x168)](_0x4c0698){var _0x4f3879=_0x23172e;return this[_0x4f3879(0x306)][_0x4f3879(0x289)](_0x4c0698),this[_0x4f3879(0x28a)](),this;}['onRemoteChangeset'](_0x5ef385){var _0x5345ff=_0x23172e;if(this[_0x5345ff(0x449)](_0x5ef385))return this[_0x5345ff(0x1a6)](),this['_injector'][_0x5345ff(0x267)](exports['FetchingMissState'],this['unitID'],this['type'],null,this[_0x5345ff(0x306)],null,[_0x5ef385],this[_0x5345ff(0x389)]);try{const _0x5d232f=this['_transformService']['transformMutationsWithChangeset'](_0x5ef385,this[_0x5345ff(0x306)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x5d232f)){const {c1Prime:_0x1b3f63,m2Prime:_0x3fd193}=_0x5d232f;this[_0x5345ff(0x1d1)](_0x1b3f63);const _0x1c9a64=this['_injector'][_0x5345ff(0x267)](exports[_0x5345ff(0x2d7)],this[_0x5345ff(0x468)],this[_0x5345ff(0x46d)],_0x3fd193,this['_handler']);return this[_0x5345ff(0x1a6)](),_0x1c9a64['_schedule'](this[_0x5345ff(0x26a)]?Math[_0x5345ff(0x3f2)](0x0,new Date()[_0x5345ff(0x13d)]()-this[_0x5345ff(0x26a)]):this[_0x5345ff(0x445)]()),_0x1c9a64;}throw _0x5d232f[_0x5345ff(0x202)];}catch(_0x360a17){return this[_0x5345ff(0x377)][_0x5345ff(0x202)](_0x360a17),this[_0x5345ff(0x2b8)](!0x1);}}[_0x23172e(0x328)](){var _0x25bd77=_0x23172e;throw new Error(_0x25bd77(0x28b));}['onRemoteRej'](){var _0x4d19ad=_0x23172e;throw new Error(_0x4d19ad(0x144));}[_0x23172e(0x1fc)](){return this;}['toggleOffline'](){var _0x3ef35d=_0x23172e;return this[_0x3ef35d(0x1a6)](),this[_0x3ef35d(0x139)][_0x3ef35d(0x267)](exports[_0x3ef35d(0x3b2)],this[_0x3ef35d(0x468)],this[_0x3ef35d(0x46d)],null,this['_pendingMutations'],this['_handler']);}[_0x23172e(0x2db)](){return this;}[_0x23172e(0x4a5)](_0xa9a3c6){var _0x26d95c=_0x23172e;const _0x2b994a=_0xa9a3c6!=null?_0xa9a3c6:this['_getSendChangesetTimeout']();this[_0x26d95c(0x26a)]=new Date()[_0x26d95c(0x13d)](),this[_0x26d95c(0x253)]=setTimeout(()=>{var _0x6b78b=_0x26d95c;this[_0x6b78b(0x1a6)]();let _0x561a86=null;switch(this['type']){case Z[_0x6b78b(0x3bd)]:{_0x561a86=ze(this[_0x6b78b(0x306)],this[_0x6b78b(0x468)],this[_0x6b78b(0x3cd)],this[_0x6b78b(0x25f)],this[_0x6b78b(0x321)]);break;}case Z['UNIVER_DOC']:{this[_0x6b78b(0x306)][_0x6b78b(0x47f)](_0x449025=>_0x449025['id']===ut[_0x6b78b(0x1a1)]['id'])?_0x561a86=Ri(this[_0x6b78b(0x306)],this[_0x6b78b(0x468)],this[_0x6b78b(0x3cd)],this['_revisionService'],this['_memberService']):_0x561a86=ze(this['_pendingMutations'],this['unitID'],this[_0x6b78b(0x3cd)],this[_0x6b78b(0x25f)],this[_0x6b78b(0x321)]);break;}default:throw new Error(_0x6b78b(0x2e5)+this[_0x6b78b(0x46d)]+'\x20in\x20_schedule.');}const {changeset:_0x107762,pendingMutations:_0xae24f6}=_0x561a86;this[_0x6b78b(0x389)][_0x6b78b(0x49e)](_0x107762);const _0x2b877a=_0xae24f6[_0x6b78b(0x41c)]?this[_0x6b78b(0x139)][_0x6b78b(0x267)](exports[_0x6b78b(0x3ae)],this[_0x6b78b(0x468)],this['type'],_0x107762,_0xae24f6,this['_handler'],void 0x0):this[_0x6b78b(0x139)][_0x6b78b(0x267)](exports[_0x6b78b(0x285)],this['unitID'],this['type'],_0x107762,this[_0x6b78b(0x389)]);_0x2b877a[_0x6b78b(0x28a)](),this[_0x6b78b(0x389)][_0x6b78b(0x1d8)](this,_0x2b877a);},_0x2b994a);}[_0x23172e(0x445)](){var _0x5f141a=_0x23172e,_0x1365ef;const _0x5b84d3=this[_0x5f141a(0x1d9)][_0x5f141a(0x4a8)](q);return(_0x1365ef=_0x5b84d3==null?void 0x0:_0x5b84d3[_0x5f141a(0x3e3)])!=null?_0x1365ef:kt;}[_0x23172e(0x1aa)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x23172e(0x1a6)](){var _0x59d316=_0x23172e;this[_0x59d316(0x253)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x5101a6){var _0x586c68=_0x23172e;return this[_0x586c68(0x1a6)](),this[_0x586c68(0x139)][_0x586c68(0x267)](exports[_0x586c68(0x443)],this['unitID'],this[_0x586c68(0x46d)],null,this[_0x586c68(0x306)],this['_handler'],_0x5101a6);}},exports['PendingState']=le([A(0x4,a[_0x23172e(0x301)](a['Injector'])),A(0x5,a[_0x23172e(0x301)](m[_0x23172e(0x291)])),A(0x6,a[_0x23172e(0x301)](exports[_0x23172e(0x148)])),A(0x7,a[_0x23172e(0x2cc)]),A(0x8,a['ICommandService']),A(0x9,a['IConfigService']),A(0xa,m[_0x23172e(0x16a)]),A(0xb,a[_0x23172e(0x3b8)]),A(0xc,a[_0x23172e(0x2ce)]),A(0xd,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x2d7)]),exports[_0x23172e(0x285)]=class extends _e{constructor(_0x195f91,_0x248611,_0x3cc007,_0x3ee4e7,_0x398e1b,_0x177dd3,_0x533fbb,_0xbf0600,_0x584a26,_0x5cf305,_0x4d1957){var _0x5dbbca=_0x23172e;super(_0x195f91,_0x248611,_0x3cc007,[],_0x3ee4e7,_0x533fbb,_0x5cf305,_0x177dd3,_0x4d1957),D(this,_0x5dbbca(0x239),_0x5dbbca(0x39e)),D(this,_0x5dbbca(0x28f),0x0),D(this,_0x5dbbca(0x1b1)),D(this,_0x5dbbca(0x153)),(this[_0x5dbbca(0x139)]=_0x398e1b,this['_logService']=_0xbf0600,this['_transformService']=_0x584a26);}[_0x23172e(0x168)](_0x48c8f9){var _0x3519c6=_0x23172e;this[_0x3519c6(0x1a6)]();const _0x116d7c=this[_0x3519c6(0x139)]['createInstance'](exports[_0x3519c6(0x3ae)],this[_0x3519c6(0x468)],this['type'],this[_0x3519c6(0x28d)],[_0x48c8f9],this[_0x3519c6(0x389)],this[_0x3519c6(0x1b1)]);return _0x116d7c[_0x3519c6(0x28a)](),_0x116d7c;}['onRemoteChangeset'](_0xf1bea){var _0x306bc7=_0x23172e;if(this[_0x306bc7(0x449)](_0xf1bea))return this[_0x306bc7(0x1a6)](),this['_injector'][_0x306bc7(0x267)](exports['FetchingMissState'],this[_0x306bc7(0x468)],this[_0x306bc7(0x46d)],this['_awaitingChangeset'],[],null,[_0xf1bea],this[_0x306bc7(0x389)]);try{const _0x174395=this[_0x306bc7(0x1c9)][_0x306bc7(0x38e)]([_0xf1bea],[this[_0x306bc7(0x28d)]],!0x1);if(m[_0x306bc7(0x46f)](_0x174395)){const {c1Prime:_0x40b4b7,c2Prime:_0x2e0598}=_0x174395;this['_executeRemoteChangeset'](_0x40b4b7[0x0]),_0x2e0598[0x0]['baseRev']=this[_0x306bc7(0x3d7)](),this['_clearScheduledTask']();const _0x34336e=this['_injector'][_0x306bc7(0x267)](exports[_0x306bc7(0x285)],this[_0x306bc7(0x468)],this[_0x306bc7(0x46d)],_0x2e0598[0x0],this[_0x306bc7(0x389)]);return _0x34336e[_0x306bc7(0x28a)](),_0x34336e;}return this[_0x306bc7(0x2b8)](!0x1);}catch(_0x433350){return this['_logService'][_0x306bc7(0x202)](_0x433350),this[_0x306bc7(0x2b8)](!0x1);}}['onRemoteAck'](_0x284498){var _0x115bde=_0x23172e;this[_0x115bde(0x1a6)]();const _0x3f4620=this['_revisionService'][_0x115bde(0x3c7)](this[_0x115bde(0x468)]);if(_0x284498['revision']<_0x3f4620-0x1)return this;if(this[_0x115bde(0x449)](_0x284498))return this[_0x115bde(0x139)][_0x115bde(0x267)](exports['FetchingMissState'],this[_0x115bde(0x468)],this['type'],null,[],this[_0x115bde(0x28d)],[],this[_0x115bde(0x389)]);this['_incrementRevisionNumber']();const _0x16b983=this[_0x115bde(0x139)][_0x115bde(0x267)](exports[_0x115bde(0x2e8)],this[_0x115bde(0x468)],this[_0x115bde(0x46d)],this[_0x115bde(0x389)]);return _0x16b983[_0x115bde(0x28a)](),_0x16b983;}[_0x23172e(0x24b)](_0x4eb447){var _0x364a34=_0x23172e;return this[_0x364a34(0x2b8)](!!(_0x4eb447!=null&&_0x4eb447['isPermissionRej']));}[_0x23172e(0x1fc)](_0x375cb3){var _0x54e5ed=_0x23172e;return this[_0x54e5ed(0x28f)]>Pt?this[_0x54e5ed(0x15c)]():(this[_0x54e5ed(0x1b1)]=yt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x375cb3[_0x54e5ed(0x2e7)]}),this[_0x54e5ed(0x153)]=this[_0x54e5ed(0x1b1)][_0x54e5ed(0x2a9)](({reqId:_0x5060c7,timeout:_0x49af6a})=>{var _0x542958=_0x54e5ed;this[_0x542958(0x18f)](_0x5060c7,_0x49af6a);}),this);}[_0x23172e(0x15c)](){var _0x7f9c32=_0x23172e;return this[_0x7f9c32(0x1a6)](),this[_0x7f9c32(0x139)][_0x7f9c32(0x267)](exports[_0x7f9c32(0x3b2)],this['unitID'],this[_0x7f9c32(0x46d)],this[_0x7f9c32(0x28d)],[],this[_0x7f9c32(0x389)]);}[_0x23172e(0x2db)](){return this;}['resend'](){var _0x2fc1a7=_0x23172e;this[_0x2fc1a7(0x389)]['onSendChangeset'](this[_0x2fc1a7(0x28d)]);}['_onConflict'](_0x2feab6){var _0x27b918=_0x23172e;return this[_0x27b918(0x1a6)](),this[_0x27b918(0x139)][_0x27b918(0x267)](exports['ConflictState'],this[_0x27b918(0x468)],this[_0x27b918(0x46d)],this[_0x27b918(0x28d)],[],this[_0x27b918(0x389)],_0x2feab6);}[_0x23172e(0x18f)](_0x54b397,_0x30662c){var _0x4c3709=_0x23172e,_0x3271ac;_0x54b397===((_0x3271ac=this[_0x4c3709(0x28d)])==null?void 0x0:_0x3271ac[_0x4c3709(0x2e7)])&&(this[_0x4c3709(0x1aa)](),this[_0x4c3709(0x28f)]=_0x30662c===0x0?0x3e8:_0x30662c*0x2);}[_0x23172e(0x1a6)](){var _0x82a9f2=_0x23172e,_0x292aba;(_0x292aba=this[_0x82a9f2(0x153)])==null||_0x292aba[_0x82a9f2(0x1ba)](),this[_0x82a9f2(0x28f)]=0x0;}},exports[_0x23172e(0x285)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x23172e(0x301)](m[_0x23172e(0x291)])),A(0x6,a[_0x23172e(0x430)]),A(0x7,a[_0x23172e(0x2cc)]),A(0x8,m['ITransformService']),A(0x9,a['IUndoRedoService']),A(0xa,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x285)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x47a197,_0x12f4d7,_0x94c292,_0x380188,_0x9ec5e6,_0x3dcc3d,_0x1135c4,_0x53fcd2,_0x2441ee,_0x57146d,_0x2940eb,_0x593945,_0x3bc005){var _0x25f08e=_0x23172e;super(_0x47a197,_0x12f4d7,_0x94c292,_0x380188,_0x9ec5e6,_0x2441ee,_0x593945,_0x53fcd2,_0x3bc005),D(this,'status',_0x25f08e(0x258)),D(this,'_resendTimeout',0x0),D(this,_0x25f08e(0x1b1)),D(this,'_sender'),(this[_0x25f08e(0x139)]=_0x1135c4,this[_0x25f08e(0x377)]=_0x57146d,this[_0x25f08e(0x1c9)]=_0x2940eb,this[_0x25f08e(0x331)]=_0x3bc005,_0x3dcc3d&&(this[_0x25f08e(0x1b1)]=_0x3dcc3d,this['_sender']=this[_0x25f08e(0x1b1)]['subscribe'](({reqId:_0x1b95fd,timeout:_0x2f04e0})=>{this['_resendWithTimeout'](_0x1b95fd,_0x2f04e0);})));}['appendMutation'](_0x274aa7){var _0x436acf=_0x23172e;return this[_0x436acf(0x306)][_0x436acf(0x289)](_0x274aa7),this;}[_0x23172e(0x2d0)](_0x1fd20a){var _0x2f0f76=_0x23172e;if(this[_0x2f0f76(0x449)](_0x1fd20a))return this['_clearScheduledTask'](),this['_injector'][_0x2f0f76(0x267)](exports[_0x2f0f76(0x452)],this[_0x2f0f76(0x468)],this[_0x2f0f76(0x46d)],this[_0x2f0f76(0x28d)],this['_pendingMutations'],null,[_0x1fd20a],this['_handler']);try{const _0x318f68=this[_0x2f0f76(0x1c9)][_0x2f0f76(0x38e)]([_0x1fd20a],[this[_0x2f0f76(0x28d)]],!0x1);if(m[_0x2f0f76(0x46f)](_0x318f68)){const {c1Prime:_0xfda72c,c2Prime:_0x53002c}=_0x318f68,_0x410ac8=this[_0x2f0f76(0x1c9)][_0x2f0f76(0x1c2)](_0xfda72c[0x0],this['_pendingMutations']);if(m[_0x2f0f76(0x47e)](_0x410ac8)){const {c1Prime:_0x5440dd,m2Prime:_0xf62867}=_0x410ac8;return this[_0x2f0f76(0x1d1)](_0x5440dd),_0x53002c[0x0]['baseRev']=this[_0x2f0f76(0x3d7)](),this['_clearScheduledTask'](),this['_injector'][_0x2f0f76(0x267)](exports[_0x2f0f76(0x3ae)],this[_0x2f0f76(0x468)],this[_0x2f0f76(0x46d)],_0x53002c[0x0],_0xf62867,this[_0x2f0f76(0x389)],void 0x0);}throw _0x410ac8[_0x2f0f76(0x202)];}throw _0x318f68[_0x2f0f76(0x202)];}catch(_0x4ab9d6){return this[_0x2f0f76(0x377)][_0x2f0f76(0x202)](_0x4ab9d6),this[_0x2f0f76(0x2b8)](!0x1);}}[_0x23172e(0x328)](_0x1aff83){var _0x547508=_0x23172e;if(this[_0x547508(0x1a6)](),this['_checkMissing'](_0x1aff83))return this['_injector'][_0x547508(0x267)](exports[_0x547508(0x452)],this[_0x547508(0x468)],this[_0x547508(0x46d)],null,this[_0x547508(0x306)],this[_0x547508(0x28d)],[],this[_0x547508(0x389)]);this[_0x547508(0x495)]();const _0x5249f5=this[_0x547508(0x139)]['createInstance'](exports[_0x547508(0x2d7)],this[_0x547508(0x468)],this[_0x547508(0x46d)],this[_0x547508(0x306)],this[_0x547508(0x389)]);return _0x5249f5[_0x547508(0x4a5)](),_0x5249f5[_0x547508(0x28a)](),_0x5249f5;}[_0x23172e(0x24b)](_0xd2c7fa){var _0x74c37e=_0x23172e;return this['_onConflict'](!!(_0xd2c7fa!=null&&_0xd2c7fa[_0x74c37e(0x454)]));}[_0x23172e(0x1fc)](_0x191232){var _0x304149=_0x23172e;return this['_resendTimeout']>Pt?this[_0x304149(0x15c)]():(this[_0x304149(0x1b1)]=yt(this[_0x304149(0x28f)],{'timeout':this['_resendTimeout'],'reqId':_0x191232[_0x304149(0x2e7)]}),this[_0x304149(0x153)]=this[_0x304149(0x1b1)]['subscribe'](({reqId:_0x5310ca,timeout:_0xa15ecb})=>{this['_resendWithTimeout'](_0x5310ca,_0xa15ecb);}),this);}[_0x23172e(0x15c)](){var _0x51d257=_0x23172e;return this['_clearScheduledTask'](),this[_0x51d257(0x139)][_0x51d257(0x267)](exports['OfflineState'],this['unitID'],this[_0x51d257(0x46d)],this['_awaitingChangeset'],this[_0x51d257(0x306)],this[_0x51d257(0x389)]);}['toggleOnline'](){return this;}['resend'](){var _0x47f3da=_0x23172e;this[_0x47f3da(0x389)][_0x47f3da(0x49e)](this[_0x47f3da(0x28d)]);}['_onConflict'](_0x8d992c){var _0x44c076=_0x23172e;return this[_0x44c076(0x1a6)](),this['_injector'][_0x44c076(0x267)](exports[_0x44c076(0x443)],this[_0x44c076(0x468)],this[_0x44c076(0x46d)],null,this['_pendingMutations'],this[_0x44c076(0x389)],_0x8d992c);}[_0x23172e(0x18f)](_0x38f45d,_0x435508){var _0x5331ce=_0x23172e,_0x478df;_0x38f45d===((_0x478df=this[_0x5331ce(0x28d)])==null?void 0x0:_0x478df[_0x5331ce(0x2e7)])&&(this['resend'](),this[_0x5331ce(0x28f)]=_0x435508===0x0?0x3e8:_0x435508*0x2);}['_clearScheduledTask'](){var _0x3ebd2c=_0x23172e,_0x3825de;(_0x3825de=this[_0x3ebd2c(0x153)])==null||_0x3825de[_0x3ebd2c(0x1ba)](),this[_0x3ebd2c(0x28f)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),A(0x7,a['Inject'](m[_0x23172e(0x291)])),A(0x8,a[_0x23172e(0x430)]),A(0x9,a['ILogService']),A(0xa,m['ITransformService']),A(0xb,a[_0x23172e(0x2ce)]),A(0xc,a[_0x23172e(0x1ef)](J))],exports['AwaitingWithPendingState']),exports[_0x23172e(0x443)]=class extends _e{constructor(_0x220fab,_0x1614db,_0x5bdc3e,_0x53b29f,_0x3b3e27,_0x4cc56=!0x1,_0x47683f,_0x1ce32c,_0x529ffc,_0x4de379,_0xc5e440,_0x5422b5,_0x213145){var _0x5159af=_0x23172e;super(_0x220fab,_0x1614db,_0x5bdc3e,_0x53b29f,_0x3b3e27,_0x1ce32c,_0x529ffc,_0x4de379,_0x213145),D(this,_0x5159af(0x239),'conflict'),(this[_0x5159af(0x317)]=_0x4cc56,this[_0x5159af(0x4b4)]=_0x47683f,this[_0x5159af(0x282)]=_0xc5e440,this[_0x5159af(0x3d9)]=_0x5422b5,this[_0x5159af(0x331)]=_0x213145,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x23172e(0x168)](){return this;}['onRemoteChangeset'](){return this;}[_0x23172e(0x328)](){return this;}[_0x23172e(0x24b)](){return this;}[_0x23172e(0x1fc)](){return this;}[_0x23172e(0x15c)](){return this;}['toggleOnline'](){return this;}[_0x23172e(0x1aa)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1d352d=_0x23172e,_0x4c2379;(_0x4c2379=this['_localCacheService'])==null||_0x4c2379['updateOfflineData'](this[_0x1d352d(0x468)],this[_0x1d352d(0x46d)],null,[]);}[_0x23172e(0x3e4)](){var _0x54df0a=_0x23172e;this[_0x54df0a(0x317)]?this[_0x54df0a(0x3d9)][_0x54df0a(0x195)]({'id':Q[_0x54df0a(0x356)]}):this[_0x54df0a(0x3d9)][_0x54df0a(0x195)]({'id':Q[_0x54df0a(0x448)]});}[_0x23172e(0x19e)](){var _0x486895=_0x23172e;this[_0x486895(0x4b4)][_0x486895(0x290)](new W[(_0x486895(0x247))](this[_0x486895(0x468)])['id'],!0x1);}},exports[_0x23172e(0x443)]=le([A(0x6,a[_0x23172e(0x301)](a[_0x23172e(0x36f)])),A(0x7,a[_0x23172e(0x430)]),A(0x8,a[_0x23172e(0x2ce)]),A(0x9,a[_0x23172e(0x301)](m['RevisionService'])),A(0xa,a[_0x23172e(0x301)](a[_0x23172e(0x23f)])),A(0xb,a[_0x23172e(0x301)](te)),A(0xc,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x443)]),exports[_0x23172e(0x3b2)]=class extends _e{constructor(_0xd6d0a3,_0x9c9442,_0x2c1115,_0x415c7a,_0x56b844,_0x36d40c,_0x13d1d2,_0x29aa8e,_0x23711d,_0x41fefa){var _0xf6e7b8=_0x23172e;super(_0xd6d0a3,_0x9c9442,_0x2c1115,_0x415c7a,_0x56b844,_0x29aa8e,_0x23711d,_0x13d1d2,_0x41fefa),D(this,'status','offline'),this[_0xf6e7b8(0x139)]=_0x36d40c;}[_0x23172e(0x168)](_0x2e4275){var _0x13a993=_0x23172e;return this[_0x13a993(0x306)][_0x13a993(0x289)](_0x2e4275),this[_0x13a993(0x28a)](),this;}['onRemoteChangeset'](_0x51d40c){var _0x407f4e=_0x23172e;throw new Error(_0x407f4e(0x29e));}[_0x23172e(0x328)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3dd253=_0x23172e;throw new Error(_0x3dd253(0x426));}['onRemoteRetry'](){return this;}[_0x23172e(0x15c)](){return this;}[_0x23172e(0x2db)](){var _0x59c15d=_0x23172e;const {_injector:_0x4d411d,_pendingMutations:_0x195198,_awaitingChangeset:_0xa0cef4,unitID:_0x42df09,_handler:_0x2a8a8a,type:_0x42d434}=this,_0x51e3f2=Nt(_0x4d411d,_0x42df09,_0x42d434,_0xa0cef4,_0x195198,_0x2a8a8a);return _0x51e3f2 instanceof exports[_0x59c15d(0x2d7)]?_0x51e3f2[_0x59c15d(0x4a5)]():(_0x51e3f2 instanceof exports['AwaitingWithPendingState']||_0x51e3f2 instanceof exports['AwaitingState'])&&_0x51e3f2[_0x59c15d(0x1aa)](),_0x51e3f2;}[_0x23172e(0x1aa)](){var _0x15c7fa=_0x23172e;throw new Error(_0x15c7fa(0x350));}},exports[_0x23172e(0x3b2)]=le([A(0x5,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),A(0x6,a[_0x23172e(0x301)](m[_0x23172e(0x291)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Optional'](J))],exports[_0x23172e(0x3b2)]),exports[_0x23172e(0x452)]=class extends _e{constructor(_0x250689,_0xc9e9fb,_0xe89b2a,_0xd1740,_0xbb2c86,_0x38eb16,_0x110e2e,_0x572d1e,_0x24c493,_0xbae7c4,_0x314918,_0x44cd7d,_0x2e3ab9,_0x33be6d){var _0x18d472=_0x23172e;super(_0x250689,_0xc9e9fb,_0xe89b2a,_0xd1740,_0x110e2e,_0x314918,_0x44cd7d,_0x24c493,_0x33be6d),D(this,'status',_0x18d472(0x32c)),(this['_acknowledgedAwaitingChangeset']=_0xbb2c86,this['_queuedRemoteChangesets']=_0x38eb16,this[_0x18d472(0x139)]=_0x572d1e,this['_logService']=_0xbae7c4,this[_0x18d472(0x1c9)]=_0x2e3ab9,this[_0x18d472(0x331)]=_0x33be6d);}[_0x23172e(0x2ac)](_0x252793){var _0x53d8c4=_0x23172e;try{const _0x168627=[..._0x252793,...this[_0x53d8c4(0x32b)]],_0x342668=[this[_0x53d8c4(0x28d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x3f62da=>!!_0x3f62da);let _0x37872d,_0x525a3b;if(_0x342668[_0x53d8c4(0x41c)]){const _0x40ef3e=this[_0x53d8c4(0x1c9)][_0x53d8c4(0x38e)](_0x168627,_0x342668,!0x1);if(!m[_0x53d8c4(0x46f)](_0x40ef3e))throw _0x40ef3e['error'];_0x37872d=_0x40ef3e['c1Prime'],_0x525a3b=_0x40ef3e['c2Prime'];}else _0x37872d=_0x168627,_0x525a3b=[];let _0x595de0=this['_pendingMutations'];_0x37872d[_0x53d8c4(0x3cc)](_0x14ffad=>{var _0x326e60=_0x53d8c4;let _0x2dd99f;if(_0x595de0[_0x326e60(0x41c)]){const _0x5528bc=this[_0x326e60(0x1c9)]['transformMutationsWithChangeset'](_0x14ffad,_0x595de0);if(!m[_0x326e60(0x47e)](_0x5528bc))throw _0x5528bc[_0x326e60(0x202)];_0x2dd99f=_0x5528bc['c1Prime'],_0x595de0=_0x5528bc['m2Prime'];}else _0x2dd99f=_0x14ffad;this[_0x326e60(0x1d1)](_0x2dd99f);}),this[_0x53d8c4(0x479)]&&this['_incrementRevisionNumber'](),this[_0x53d8c4(0x28d)]&&_0x525a3b[_0x53d8c4(0x41c)]&&(_0x525a3b[0x0][_0x53d8c4(0x15b)]=this[_0x53d8c4(0x3d7)]());let _0x7a1321;if(this[_0x53d8c4(0x28d)]&&_0x595de0['length']!==0x0)_0x7a1321=this[_0x53d8c4(0x139)][_0x53d8c4(0x267)](exports[_0x53d8c4(0x3ae)],this['unitID'],this['type'],_0x525a3b[0x0],_0x595de0,this[_0x53d8c4(0x389)],void 0x0);else{if(this[_0x53d8c4(0x28d)]&&_0x595de0[_0x53d8c4(0x41c)]===0x0)_0x525a3b[0x0]['baseRev']=this[_0x53d8c4(0x3d7)](),_0x7a1321=this[_0x53d8c4(0x139)]['createInstance'](exports[_0x53d8c4(0x285)],this[_0x53d8c4(0x468)],this[_0x53d8c4(0x46d)],_0x525a3b[0x0],this['_handler']);else{if(_0x595de0[_0x53d8c4(0x41c)]!==0x0){const _0x1b06ae=this[_0x53d8c4(0x139)][_0x53d8c4(0x267)](exports[_0x53d8c4(0x2d7)],this[_0x53d8c4(0x468)],this[_0x53d8c4(0x46d)],_0x595de0,this[_0x53d8c4(0x389)]);_0x1b06ae[_0x53d8c4(0x4a5)](),_0x7a1321=_0x1b06ae;}else _0x7a1321=this[_0x53d8c4(0x139)][_0x53d8c4(0x267)](exports[_0x53d8c4(0x2e8)],this[_0x53d8c4(0x468)],this[_0x53d8c4(0x46d)],this[_0x53d8c4(0x389)]);}}return _0x7a1321[_0x53d8c4(0x28a)](),_0x7a1321;}catch(_0x26c3d1){return this[_0x53d8c4(0x377)][_0x53d8c4(0x202)](_0x53d8c4(0x3de),_0x53d8c4(0x1b0),_0x26c3d1),this[_0x53d8c4(0x139)][_0x53d8c4(0x267)](exports[_0x53d8c4(0x443)],this['unitID'],this[_0x53d8c4(0x46d)],this[_0x53d8c4(0x28d)],this[_0x53d8c4(0x306)],this['_handler'],!0x1);}}[_0x23172e(0x1aa)](){var _0x5eaa20=_0x23172e;throw new Error(_0x5eaa20(0x48a));}[_0x23172e(0x168)](_0x672558){var _0x122f87=_0x23172e;return this['_pendingMutations'][_0x122f87(0x289)](_0x672558),this;}[_0x23172e(0x2d0)](_0x10831f){var _0x28c0e9=_0x23172e;return this[_0x28c0e9(0x32b)][_0x28c0e9(0x289)](_0x10831f),this;}['onRemoteAck'](_0x56c77f){var _0x420ecc=_0x23172e;if(this['_awaitingChangeset'])return this[_0x420ecc(0x479)]=this['_awaitingChangeset'],this[_0x420ecc(0x28d)]=null,this;throw new Error(_0x420ecc(0x3a7));}[_0x23172e(0x24b)](_0x39d11d){var _0x53d1f2=_0x23172e;return this[_0x53d1f2(0x2b8)](!!(_0x39d11d!=null&&_0x39d11d[_0x53d1f2(0x454)]));}[_0x23172e(0x1fc)](){return this;}[_0x23172e(0x15c)](){var _0x5d3d52=_0x23172e;return this[_0x5d3d52(0x139)][_0x5d3d52(0x267)](exports[_0x5d3d52(0x3b2)],this[_0x5d3d52(0x468)],this[_0x5d3d52(0x46d)],this['_awaitingChangeset'],this[_0x5d3d52(0x306)],this[_0x5d3d52(0x389)]);}['toggleOnline'](){return this;}[_0x23172e(0x2b8)](_0x30a5ad){var _0x33d9e8=_0x23172e;return this[_0x33d9e8(0x139)][_0x33d9e8(0x267)](exports['ConflictState'],this[_0x33d9e8(0x468)],this[_0x33d9e8(0x46d)],this[_0x33d9e8(0x28d)],this[_0x33d9e8(0x306)],this[_0x33d9e8(0x389)],_0x30a5ad);}},exports[_0x23172e(0x452)]=le([A(0x7,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),A(0x8,a['Inject'](m[_0x23172e(0x291)])),A(0x9,a[_0x23172e(0x2cc)]),A(0xa,a['ICommandService']),A(0xb,a['IUndoRedoService']),A(0xc,m[_0x23172e(0x16a)]),A(0xd,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x452)]);function Nt(_0x416a51,_0x99659,_0x3c5c16,_0x4e4e46,_0x1d4d1b,_0x38491e){var _0x226438=_0x23172e;return _0x4e4e46&&_0x1d4d1b['length']?_0x416a51[_0x226438(0x267)](exports[_0x226438(0x3ae)],_0x99659,_0x3c5c16,_0x4e4e46,_0x1d4d1b,_0x38491e,void 0x0):_0x4e4e46?_0x416a51[_0x226438(0x267)](exports[_0x226438(0x285)],_0x99659,_0x3c5c16,_0x4e4e46,_0x38491e):_0x1d4d1b['length']?_0x416a51[_0x226438(0x267)](exports[_0x226438(0x2d7)],_0x99659,_0x3c5c16,_0x1d4d1b,_0x38491e):_0x416a51['createInstance'](exports[_0x226438(0x2e8)],_0x99659,_0x3c5c16,_0x38491e);}var Ni=Object[_0x23172e(0x357)],Ui=Object[_0x23172e(0x26f)],Ve=(_0x48646a,_0x1e8f2f,_0x2f27dd,_0x51cba7)=>{var _0x37b69c=_0x23172e;for(var _0x397e15=_0x51cba7>0x1?void 0x0:_0x51cba7?Ui(_0x1e8f2f,_0x2f27dd):_0x1e8f2f,_0x3cca48=_0x48646a[_0x37b69c(0x41c)]-0x1,_0x3eecda;_0x3cca48>=0x0;_0x3cca48--)(_0x3eecda=_0x48646a[_0x3cca48])&&(_0x397e15=(_0x51cba7?_0x3eecda(_0x1e8f2f,_0x2f27dd,_0x397e15):_0x3eecda(_0x397e15))||_0x397e15);return _0x51cba7&&_0x397e15&&Ni(_0x1e8f2f,_0x2f27dd,_0x397e15),_0x397e15;},k=(_0x4aa4c5,_0x524b7a)=>(_0x5a12eb,_0x3e8c4b)=>_0x524b7a(_0x5a12eb,_0x3e8c4b,_0x4aa4c5);exports[_0x23172e(0x14c)]=class extends a[_0x23172e(0x440)]{constructor(_0x21e8f9,_0x2e889c,_0x26926f,_0x498d0c,_0x1bc226,_0x1ee35a,_0x1e3a94,_0x2a022f,_0x38c1a0,_0x24810f,_0x3f2190,_0x2712b3,_0x1dddfb){var _0x5d672b=_0x23172e;super(),D(this,_0x5d672b(0x374),new H[(_0x5d672b(0x420))](null)),D(this,'state$',this[_0x5d672b(0x374)][_0x5d672b(0x1df)]()),D(this,_0x5d672b(0x326)),D(this,_0x5d672b(0x241),!0x1),D(this,_0x5d672b(0x38d),''),D(this,'_changesetReqId',0x0),D(this,_0x5d672b(0x42e),this[_0x5d672b(0x31e)][_0x5d672b(0x428)](H['map'](_0x11f3df=>_0x11f3df?_0x11f3df[_0x5d672b(0x239)]:We['OFFLINE']),H[_0x5d672b(0x325)](0x1))),D(this,_0x5d672b(0x157),!0x1),D(this,_0x5d672b(0x3fe),[]),(this[_0x5d672b(0x468)]=_0x21e8f9,this[_0x5d672b(0x1bf)]=_0x2e889c,this[_0x5d672b(0x2c3)]=_0x26926f,this[_0x5d672b(0x139)]=_0x498d0c,this[_0x5d672b(0x2c6)]=_0x1bc226,this['_localeService']=_0x1ee35a,this['_revisionService']=_0x1e3a94,this['_eventService']=_0x2a022f,this[_0x5d672b(0x377)]=_0x38c1a0,this[_0x5d672b(0x1c5)]=_0x24810f,this['_permissionService']=_0x3f2190,this[_0x5d672b(0x160)]=_0x2712b3,this[_0x5d672b(0x38c)]=_0x1dddfb);}get[_0x23172e(0x2e1)](){var _0x1c74bb=_0x23172e;return this[_0x1c74bb(0x326)];}async[_0x23172e(0x348)](){var _0x2d5180=_0x23172e;if(this['state'])throw new Error(_0x2d5180(0x37e));await this[_0x2d5180(0x2a7)]();}[_0x23172e(0x3f7)](){var _0x3e5608=_0x23172e;return this[_0x3e5608(0x241)]=!0x0,a[_0x3e5608(0x41b)](()=>{var _0x235766=_0x3e5608;this[_0x235766(0x241)]=!0x1,this[_0x235766(0x298)]();});}[_0x23172e(0x2f0)](_0x13fe71){this['_onLocalMutation'](_0x13fe71);}[_0x23172e(0x227)](_0x2fc8c6){var _0x40df81=_0x23172e;this[_0x40df81(0x326)]=_0x2fc8c6,this[_0x40df81(0x374)]['next'](_0x2fc8c6);}async[_0x23172e(0x2a7)](){var _0x56cf01=_0x23172e,_0x584a64;this[_0x56cf01(0x227)](await this['_createInitialState']()),this[_0x56cf01(0x160)]&&((_0x584a64=this[_0x56cf01(0x160)])==null||_0x584a64[_0x56cf01(0x481)](this[_0x56cf01(0x468)]),this[_0x56cf01(0x439)](this[_0x56cf01(0x160)]['getUnitStatus$'](this[_0x56cf01(0x468)])['subscribe'](_0x182505=>{var _0x5cf27c=_0x56cf01;this[_0x5cf27c(0x377)][_0x5cf27c(0x277)](_0x5cf27c(0x259),'editing\x20status\x20changed\x20to',_0x182505),_0x182505===Fe['OTHER_CLIENTS_EDITING']?(this[_0x5cf27c(0x39c)][_0x5cf27c(0x195)]({'id':Q[_0x5cf27c(0x398)]}),this[_0x5cf27c(0x4b4)]['updatePermissionPoint'](new W[(_0x5cf27c(0x247))](this['unitID'])['id'],!0x1),this[_0x5cf27c(0x4b4)]['setShowComponents'](!0x1)):(this[_0x5cf27c(0x4b4)][_0x5cf27c(0x290)](new W[(_0x5cf27c(0x247))](this[_0x5cf27c(0x468)])['id'],!0x0),this[_0x5cf27c(0x4b4)]['setShowComponents'](!0x0));})));let _0x39a0d2=!0x1;return this['disposeWithMe'](this[_0x56cf01(0x1bf)][_0x56cf01(0x2cf)][_0x56cf01(0x2a9)](_0x1d7537=>{var _0x4923e2=_0x56cf01;_0x1d7537===se[_0x4923e2(0x165)]?this[_0x4923e2(0x337)](_0x39a0d2):_0x1d7537===se['OFFLINE']&&(_0x39a0d2=!0x0,this[_0x4923e2(0x2ec)]());})),this[_0x56cf01(0x439)](this[_0x56cf01(0x1bf)][_0x56cf01(0x2dc)][_0x56cf01(0x2a9)](_0x4e378b=>{var _0x29e404=_0x56cf01;try{switch(_0x4e378b[_0x29e404(0x39f)]){case m[_0x29e404(0x466)][_0x29e404(0x2b7)]:{this[_0x29e404(0x221)](m[_0x29e404(0x1d3)](_0x4e378b[_0x29e404(0x25a)]));break;}case m[_0x29e404(0x466)][_0x29e404(0x3ec)]:{this[_0x29e404(0x161)](_0x4e378b[_0x29e404(0x25a)]);break;}case m[_0x29e404(0x466)][_0x29e404(0x3f1)]:{this['_onRemoteRejected']();break;}case m[_0x29e404(0x466)][_0x29e404(0x201)]:{this[_0x29e404(0x425)](_0x4e378b[_0x29e404(0x25a)]);break;}case m['CollaborationEvent'][_0x29e404(0x424)]:{this['_onFetchMissResult'](_0x4e378b[_0x29e404(0x25a)][_0x29e404(0x37b)][_0x29e404(0x3a8)](_0x1fc7b6=>m[_0x29e404(0x1d3)](_0x1fc7b6)));break;}case m[_0x29e404(0x466)]['PERMISSION_REJ']:{this[_0x29e404(0x234)]({'isPermissionRej':!0x0});break;}case m['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x349bf9){throw console[_0x29e404(0x202)]('Error\x20on\x20receiving\x20event',_0x349bf9),_0x349bf9;}})),this[_0x56cf01(0x326)];}[_0x23172e(0x248)](){var _0x3494bc=_0x23172e;this[_0x3494bc(0x157)]=!0x1;}[_0x23172e(0x209)](){var _0x4cf8f0=_0x23172e;if(this[_0x4cf8f0(0x157)])throw new Error(_0x4cf8f0(0x3ea));this['_transitionLocked']=!0x0;}[_0x23172e(0x35d)](_0x1f6bfb){var _0x1bced7=_0x23172e;this[_0x1bced7(0x209)](),this[_0x1bced7(0x227)](this[_0x1bced7(0x326)]['appendMutation'](_0x1f6bfb)),this['_unlockTransition']();}[_0x23172e(0x221)](_0xbd0982){var _0x23a047=_0x23172e;if(!(_0xbd0982[_0x23a047(0x261)]<=this[_0x23a047(0x25f)]['getCurrentRevOfUnit'](this[_0x23a047(0x468)]))){if(this[_0x23a047(0x241)]){this['_remoteChangesetQueue']['push'](_0xbd0982);return;}this[_0x23a047(0x22b)](_0xbd0982);}}['_exhaustRemoteChangesetQueue'](){var _0x4cacb4=_0x23172e;this[_0x4cacb4(0x3fe)][_0x4cacb4(0x3cc)](_0x3e54db=>this[_0x4cacb4(0x22b)](_0x3e54db)),this[_0x4cacb4(0x3fe)]=[];}[_0x23172e(0x22b)](_0x2d0532){var _0x3803cd=_0x23172e;const _0x3cf596=this[_0x3803cd(0x2c6)]['interceptor'][_0x3803cd(0x230)](this[_0x3803cd(0x2c6)][_0x3803cd(0x181)]['getInterceptPoints']()[_0x3803cd(0x3b3)])(_0x2d0532[_0x3803cd(0x475)],null)||_0x2d0532[_0x3803cd(0x475)],_0x2b28ea={..._0x2d0532,'mutations':_0x3cf596};this['_lockTransition'](),this[_0x3803cd(0x227)](this[_0x3803cd(0x326)][_0x3803cd(0x2d0)](_0x2b28ea)),this[_0x3803cd(0x248)]();}[_0x23172e(0x161)](_0x1fbd29){var _0x4fb571=_0x23172e;this[_0x4fb571(0x209)](),this[_0x4fb571(0x227)](this[_0x4fb571(0x326)][_0x4fb571(0x328)](_0x1fbd29)),this[_0x4fb571(0x248)]();}[_0x23172e(0x234)](_0x4c397d){var _0x26e36e=_0x23172e;this[_0x26e36e(0x209)](),this[_0x26e36e(0x227)](this[_0x26e36e(0x326)][_0x26e36e(0x24b)](_0x4c397d)),this[_0x26e36e(0x248)]();}[_0x23172e(0x425)](_0x338dbf){var _0x323bfb=_0x23172e;this[_0x323bfb(0x209)](),this['_updateState'](this[_0x323bfb(0x326)][_0x323bfb(0x1fc)](_0x338dbf)),this[_0x323bfb(0x248)]();}[_0x23172e(0x2ad)](_0x1a5e61){var _0x3d2809=_0x23172e;if(!(this['_state']instanceof exports[_0x3d2809(0x452)]))throw new TypeError(_0x3d2809(0x21d));const _0x59e161=_0x1a5e61[_0x3d2809(0x3a8)](_0x444147=>{var _0x1a1d81=_0x3d2809;const _0x1fd547=this[_0x1a1d81(0x2c6)]['interceptor'][_0x1a1d81(0x230)](this['_compressMutationService']['interceptor'][_0x1a1d81(0x303)]()[_0x1a1d81(0x3b3)])(_0x444147[_0x1a1d81(0x475)],null)||_0x444147[_0x1a1d81(0x475)];return{..._0x444147,'mutations':_0x1fd547};});this[_0x3d2809(0x209)](),this[_0x3d2809(0x227)](this['_state'][_0x3d2809(0x2ac)](_0x59e161)),this['_unlockTransition']();}[_0x23172e(0x2ec)](){var _0x3c7bb3=_0x23172e;this[_0x3c7bb3(0x209)](),this[_0x3c7bb3(0x227)](this[_0x3c7bb3(0x326)][_0x3c7bb3(0x15c)]()),this['_unlockTransition']();}[_0x23172e(0x337)](_0x326b13=!0x1){var _0x206e84=_0x23172e;this[_0x206e84(0x209)](),this[_0x206e84(0x227)](this[_0x206e84(0x326)]['toggleOnline']()),this[_0x206e84(0x248)]();const _0x12e9b2=this[_0x206e84(0x326)];_0x326b13&&_0x12e9b2 instanceof exports[_0x206e84(0x2e8)]&&(this['_lockTransition'](),this[_0x206e84(0x227)](_0x12e9b2['fetchMiss']()),this[_0x206e84(0x248)]());}async['_createInitialState'](){return new Promise(_0x26d095=>{var _0x59e1c7=_0x4477;this['session']['sessionStatus$'][_0x59e1c7(0x428)](H['take'](0x1))['subscribe'](async _0x24e016=>{var _0x464a70=_0x59e1c7;_0x26d095(await this['_createInitialStateImpl'](_0x24e016===se[_0x464a70(0x165)]));});});}[_0x23172e(0x1d2)](){var _0x1b5abf=_0x23172e;const _0x8ddc77=this[_0x1b5abf(0x468)];return{'onStateChange':(_0x4bb14f,_0x11335c)=>{var _0xbd1224=_0x1b5abf;if(_0x4bb14f!==this[_0xbd1224(0x326)])throw new Error(_0xbd1224(0x1ee)+_0x4bb14f[_0xbd1224(0x239)]+'\x0aAfter:\x20'+_0x11335c['status']+'\x0aCurrent:\x20'+this[_0xbd1224(0x326)][_0xbd1224(0x239)]);this[_0xbd1224(0x227)](_0x11335c);},'onSendChangeset':_0x17be83=>{var _0x69acaa=_0x1b5abf;_0x17be83[_0x69acaa(0x38a)]||(_0x17be83[_0x69acaa(0x38a)]=this[_0x69acaa(0x38d)],_0x17be83[_0x69acaa(0x2e7)]=++this['_changesetReqId']);const _0x3b520a={'eventID':m[_0x69acaa(0x466)][_0x69acaa(0x3e0)],'data':{'unitID':_0x17be83[_0x69acaa(0x468)],'unitType':this[_0x69acaa(0x2c3)],'changeset':_0x17be83,'memberID':this[_0x69acaa(0x1bf)][_0x69acaa(0x174)]()}};this[_0x69acaa(0x1bf)][_0x69acaa(0x22a)](_0x3b520a,this[_0x69acaa(0x468)]);},'onMissingChangesets':({from:_0x3aadce,to:_0x4c9819})=>{var _0x324400=_0x1b5abf;this[_0x324400(0x377)]['debug'](_0x324400(0x259),_0x324400(0x49f)+_0x3aadce+_0x324400(0x20f)+_0x4c9819);const _0x33c189={'eventID':m['CollaborationEvent'][_0x324400(0x20b)],'data':{'unitID':_0x8ddc77,'unitType':this['_type'],'from':_0x3aadce,'to':_0x4c9819}};this[_0x324400(0x1bf)]['send'](_0x33c189,this[_0x324400(0x468)]);}};}async[_0x23172e(0x472)](_0x17f612){var _0x4d6eb3=_0x23172e,_0x3b1bc2,_0x928496,_0x19a5fb;const _0x8ab648=await((_0x3b1bc2=this[_0x4d6eb3(0x38c)])==null?void 0x0:_0x3b1bc2[_0x4d6eb3(0x3b1)](this['unitID'])),_0xd020f=(_0x928496=_0x8ab648==null?void 0x0:_0x8ab648[_0x4d6eb3(0x475)])!=null?_0x928496:[],_0x51895e=(_0x19a5fb=_0x8ab648==null?void 0x0:_0x8ab648[_0x4d6eb3(0x24c)])!=null?_0x19a5fb:null,_0x1c1381=!!(_0x51895e!=null&&_0x51895e[_0x4d6eb3(0x38a)])&&!!(_0x51895e!=null&&_0x51895e[_0x4d6eb3(0x2e7)]);this[_0x4d6eb3(0x38d)]=_0x1c1381?_0x51895e[_0x4d6eb3(0x38a)]:gi(),this[_0x4d6eb3(0x249)]=_0x1c1381?_0x51895e[_0x4d6eb3(0x2e7)]:0x0;const _0x390bf4=this['unitID'];try{this[_0x4d6eb3(0x434)](_0x51895e,_0xd020f);}catch(_0x4783c5){this[_0x4d6eb3(0x377)]['error'](_0x4783c5);}const _0x18b463=this[_0x4d6eb3(0x1d2)]();if(_0x17f612){const _0x3b96ec=Nt(this[_0x4d6eb3(0x139)],_0x390bf4,this[_0x4d6eb3(0x2c3)],_0x51895e,_0xd020f,_0x18b463);return _0x3b96ec instanceof exports[_0x4d6eb3(0x2d7)]?_0x3b96ec['_schedule']():(_0x3b96ec instanceof exports['AwaitingWithPendingState']||_0x3b96ec instanceof exports[_0x4d6eb3(0x285)])&&_0x3b96ec[_0x4d6eb3(0x1aa)](),_0x3b96ec;}return this[_0x4d6eb3(0x139)]['createInstance'](exports[_0x4d6eb3(0x3b2)],_0x390bf4,this[_0x4d6eb3(0x2c3)],_0x51895e,_0xd020f,_0x18b463);}[_0x23172e(0x434)](_0x2f9291,_0x4e6c69){var _0x406307=_0x23172e,_0x18ac55,_0xbb2c99;const _0x1e2f46=this[_0x406307(0x2c6)][_0x406307(0x181)][_0x406307(0x230)](this['_compressMutationService'][_0x406307(0x181)][_0x406307(0x303)]()[_0x406307(0x3b3)]);(_0x18ac55=_0x1e2f46((_0x2f9291==null?void 0x0:_0x2f9291[_0x406307(0x475)])||[],null))==null||_0x18ac55[_0x406307(0x3cc)](_0x10ef2c=>this[_0x406307(0x1c5)][_0x406307(0x1f5)](_0x10ef2c['id'],_0x10ef2c[_0x406307(0x26d)])),(_0xbb2c99=_0x1e2f46(_0x4e6c69||[],null))==null||_0xbb2c99[_0x406307(0x3cc)](_0xfd00f7=>this[_0x406307(0x1c5)][_0x406307(0x1f5)](_0xfd00f7['id'],_0xfd00f7['params']));}},exports[_0x23172e(0x14c)]=Ve([k(0x3,a['Inject'](a[_0x23172e(0x36a)])),k(0x4,a[_0x23172e(0x301)](m['CompressMutationService'])),k(0x5,a['Inject'](a[_0x23172e(0x23f)])),k(0x6,a[_0x23172e(0x301)](m[_0x23172e(0x291)])),k(0x7,a[_0x23172e(0x301)](te)),k(0x8,a[_0x23172e(0x2cc)]),k(0x9,a[_0x23172e(0x430)]),k(0xa,a[_0x23172e(0x36f)]),k(0xb,a[_0x23172e(0x1ef)](ve)),k(0xc,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x14c)]),exports[_0x23172e(0x3e8)]=class extends exports[_0x23172e(0x14c)]{constructor(_0xda9d0e,_0x4965b3,_0x53cad7,_0x31312e,_0x3ac57e,_0x47fb4d,_0x3a91d4,_0xb0c2ae,_0x4af6fa,_0x65f236,_0x25d518,_0x46e881,_0x3cd236){var _0x404f03=_0x23172e;super(_0xda9d0e,_0x53cad7,_0x4965b3,_0x31312e,_0x3ac57e,_0x47fb4d,_0x3a91d4,_0xb0c2ae,_0x4af6fa,_0x65f236,_0x25d518,_0x46e881,_0x3cd236),D(this,_0x404f03(0x196),null),(this[_0x404f03(0x468)]=_0xda9d0e,this['type']=_0x4965b3);}[_0x23172e(0x268)](_0x152d69){var _0xadf124=_0x23172e;this[_0xadf124(0x196)]=_0x152d69;}[_0x23172e(0x183)](){var _0x262205=_0x23172e;this['_handlerCallback']=null,super[_0x262205(0x183)]();}['_createHandler'](){var _0x541183=_0x23172e;const _0x355101=super[_0x541183(0x1d2)]();return _0x355101[_0x541183(0x3f3)]=_0xe8ccbc=>{var _0x2ee5e3=_0x541183,_0x398143,_0xc8095f;return(_0xc8095f=(_0x398143=this[_0x2ee5e3(0x196)])==null?void 0x0:_0x398143[_0x2ee5e3(0x3f3)])==null?void 0x0:_0xc8095f[_0x2ee5e3(0x1c7)](_0x398143,_0xe8ccbc);},_0x355101[_0x541183(0x395)]=_0x5f2caf=>{var _0x491565=_0x541183,_0xd62e10,_0x57ae4a;return(_0x57ae4a=(_0xd62e10=this[_0x491565(0x196)])==null?void 0x0:_0xd62e10[_0x491565(0x395)])==null?void 0x0:_0x57ae4a[_0x491565(0x1c7)](_0xd62e10,_0x5f2caf);},_0x355101[_0x541183(0x179)]=_0xd6a96b=>{var _0x5b8e02=_0x541183,_0x1b49da,_0x5ac283;return(_0x5ac283=(_0x1b49da=this[_0x5b8e02(0x196)])==null?void 0x0:_0x1b49da[_0x5b8e02(0x179)])==null?void 0x0:_0x5ac283['call'](_0x1b49da,_0xd6a96b);},_0x355101['onSyncEditingCollabCursor']=_0x2a475b=>{var _0x1fe14a=_0x541183,_0x33f6e8,_0x2bbb99;return(_0x2bbb99=(_0x33f6e8=this[_0x1fe14a(0x196)])==null?void 0x0:_0x33f6e8[_0x1fe14a(0x391)])==null?void 0x0:_0x2bbb99[_0x1fe14a(0x1c7)](_0x33f6e8,_0x2a475b);},_0x355101[_0x541183(0x23e)]=_0x25c35b=>{var _0x59f485=_0x541183,_0x51b7f7,_0xc6a7f8,_0x2d2c33;if(!((_0x51b7f7=this[_0x59f485(0x196)])!=null&&_0x51b7f7['onTransformRemoteChangesetByIMECache']))throw new Error(_0x59f485(0x1e7));return(_0x2d2c33=(_0xc6a7f8=this[_0x59f485(0x196)])==null?void 0x0:_0xc6a7f8[_0x59f485(0x23e)])==null?void 0x0:_0x2d2c33[_0x59f485(0x1c7)](_0xc6a7f8,_0x25c35b);},_0x355101[_0x541183(0x4a1)]=_0x51dd76=>{var _0x2cee30=_0x541183,_0x2a991d,_0x5afe6f,_0xacd04a;if(!((_0x2a991d=this[_0x2cee30(0x196)])!=null&&_0x2a991d['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2cee30(0x35b));return(_0xacd04a=(_0x5afe6f=this[_0x2cee30(0x196)])==null?void 0x0:_0x5afe6f[_0x2cee30(0x4a1)])==null?void 0x0:_0xacd04a[_0x2cee30(0x1c7)](_0x5afe6f,_0x51dd76);},_0x355101;}async[_0x23172e(0x2a7)](){var _0x9e4b35=_0x23172e;const _0x2bbf7a=await super['_init']();return this['disposeWithMe'](this[_0x9e4b35(0x1c5)]['onCommandExecuted']((_0x3167d1,_0x638640)=>{var _0xf71513=_0x9e4b35;if(_0x3167d1[_0xf71513(0x46d)]!==a[_0xf71513(0x2bd)][_0xf71513(0x44e)]||_0x638640!=null&&_0x638640[_0xf71513(0x432)]||_0x638640!=null&&_0x638640['onlyLocal']||_0x3167d1['id']===ut[_0xf71513(0x1a1)]['id'])return;const _0x17da3f=_0x3167d1[_0xf71513(0x26d)];if((_0x17da3f==null?void 0x0:_0x17da3f[_0xf71513(0x1a7)])!==this[_0xf71513(0x468)])return;const _0x2eb822=_0x3167d1,_0x3e3c1c=this['_compressMutationService'][_0xf71513(0x181)]['fetchThroughInterceptors'](this[_0xf71513(0x2c6)][_0xf71513(0x181)]['getInterceptPoints']()[_0xf71513(0x456)])([_0x2eb822],null)||[_0x2eb822];this['_onLocalMutation'](_0x3e3c1c[0x0]);})),_0x2bbf7a;}},exports[_0x23172e(0x3e8)]=Ve([k(0x3,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),k(0x4,a[_0x23172e(0x301)](m[_0x23172e(0x35a)])),k(0x5,a['Inject'](a[_0x23172e(0x23f)])),k(0x6,a[_0x23172e(0x301)](m[_0x23172e(0x291)])),k(0x7,a['Inject'](te)),k(0x8,a[_0x23172e(0x2cc)]),k(0x9,a[_0x23172e(0x430)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x23172e(0x1ef)](ve)),k(0xc,a['Optional'](J))],exports[_0x23172e(0x3e8)]),exports[_0x23172e(0x1d5)]=class extends exports[_0x23172e(0x14c)]{constructor(_0x26ddf0,_0x480dc9,_0x4fc9a6,_0x12df70,_0x143836,_0x3bc41c,_0x59227d,_0x27c2b3,_0x4fabfa,_0x5ca96c,_0xc3a016,_0x24805f,_0x41dccf,_0x587f2d){var _0x4cf0c6=_0x23172e;super(_0x26ddf0,_0x4fc9a6,_0x480dc9,_0x12df70,_0x143836,_0x3bc41c,_0x59227d,_0x4fabfa,_0x5ca96c,_0xc3a016,_0x24805f,_0x41dccf,_0x587f2d),this[_0x4cf0c6(0x468)]=_0x26ddf0,this['type']=_0x480dc9,this[_0x4cf0c6(0x3cf)]=_0x27c2b3;}[_0x23172e(0x1d2)](){var _0x42e943=_0x23172e;const _0x44320d=super[_0x42e943(0x1d2)]();return _0x44320d[_0x42e943(0x179)]=_0x124075=>this[_0x42e943(0x3cf)][_0x42e943(0x2f9)](_0x124075),_0x44320d;}async[_0x23172e(0x2a7)](){var _0x5ef01d=_0x23172e;const _0xf59675=await super[_0x5ef01d(0x2a7)]();return this[_0x5ef01d(0x439)](this['_commandService']['onCommandExecuted']((_0x2266bb,_0x24b04a)=>{var _0x3e196b=_0x5ef01d;if(_0x2266bb[_0x3e196b(0x46d)]!==a[_0x3e196b(0x2bd)]['MUTATION']||_0x24b04a!=null&&_0x24b04a[_0x3e196b(0x432)]||_0x24b04a!=null&&_0x24b04a[_0x3e196b(0x340)])return;const _0x2439fe=_0x2266bb[_0x3e196b(0x26d)];if((_0x2439fe==null?void 0x0:_0x2439fe[_0x3e196b(0x1a7)])!==this[_0x3e196b(0x468)])return;const _0x55af7d=_0x2266bb,_0x2b5c88=this[_0x3e196b(0x2c6)][_0x3e196b(0x181)]['fetchThroughInterceptors'](this[_0x3e196b(0x2c6)][_0x3e196b(0x181)][_0x3e196b(0x303)]()[_0x3e196b(0x456)])([_0x55af7d],null)||[_0x55af7d];this['_onLocalMutation'](_0x2b5c88[0x0]);})),_0xf59675;}},exports[_0x23172e(0x1d5)]=Ve([k(0x3,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),k(0x4,a[_0x23172e(0x301)](m['CompressMutationService'])),k(0x5,a['Inject'](a[_0x23172e(0x23f)])),k(0x6,a[_0x23172e(0x301)](m[_0x23172e(0x291)])),k(0x7,a['Inject'](exports[_0x23172e(0x29d)])),k(0x8,a[_0x23172e(0x301)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x23172e(0x430)]),k(0xb,a[_0x23172e(0x36f)]),k(0xc,a['Optional'](ve)),k(0xd,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x1d5)]);var Di=Object[_0x23172e(0x357)],wi=Object[_0x23172e(0x26f)],Ai=(_0xdb375e,_0x57732e,_0x4d7f27,_0x365a0a)=>{var _0x11dace=_0x23172e;for(var _0x424188=_0x365a0a>0x1?void 0x0:_0x365a0a?wi(_0x57732e,_0x4d7f27):_0x57732e,_0x564ec5=_0xdb375e[_0x11dace(0x41c)]-0x1,_0x4166e7;_0x564ec5>=0x0;_0x564ec5--)(_0x4166e7=_0xdb375e[_0x564ec5])&&(_0x424188=(_0x365a0a?_0x4166e7(_0x57732e,_0x4d7f27,_0x424188):_0x4166e7(_0x424188))||_0x424188);return _0x365a0a&&_0x424188&&Di(_0x57732e,_0x4d7f27,_0x424188),_0x424188;},we=(_0x3bc990,_0x3a15e8)=>(_0x134939,_0x3ff82b)=>_0x3a15e8(_0x134939,_0x3ff82b,_0x3bc990);exports[_0x23172e(0x3b9)]=class extends a[_0x23172e(0x440)]{constructor(_0x4f81b4,_0xfdc2f5,_0x1633f0){var _0x3dc976=_0x23172e;super(),D(this,_0x3dc976(0x17a),new Map()),D(this,_0x3dc976(0x2c5),new H[(_0x3dc976(0x414))]()),D(this,_0x3dc976(0x2c4),this[_0x3dc976(0x2c5)][_0x3dc976(0x1df)]()),(this[_0x3dc976(0x139)]=_0x4f81b4,this[_0x3dc976(0x4a2)]=_0xfdc2f5,this[_0x3dc976(0x3cd)]=_0x1633f0,this[_0x3dc976(0x2a7)]());}[_0x23172e(0x183)](){var _0x306afe=_0x23172e;super[_0x306afe(0x183)](),this[_0x306afe(0x17a)]['forEach'](_0x2f356e=>_0x2f356e[_0x306afe(0x183)]()),this[_0x306afe(0x17a)][_0x306afe(0x254)]();}[_0x23172e(0x458)](_0x409de1){var _0x48631a=_0x23172e,_0x2deb21;return(_0x2deb21=this[_0x48631a(0x17a)][_0x48631a(0x251)](_0x409de1))!=null?_0x2deb21:null;}['getCollabEntity$'](_0x39531b){var _0x36acff=_0x23172e;const _0x24e7cd=this[_0x36acff(0x458)](_0x39531b);return _0x24e7cd?H['of'](_0x24e7cd):this[_0x36acff(0x2c5)][_0x36acff(0x428)](V[_0x36acff(0x319)](_0x2138d3=>_0x2138d3[_0x36acff(0x468)]===_0x39531b));}[_0x23172e(0x316)](_0xd3f21d){var _0x183b61=_0x23172e;return H[_0x183b61(0x2dd)](this['getCollabEntity$'](_0xd3f21d)[_0x183b61(0x428)](V['map'](()=>{})));}[_0x23172e(0x2a7)](){var _0x377822=_0x23172e;this[_0x377822(0x3cd)][_0x377822(0x1f8)](a['UniverInstanceType'][_0x377822(0x3bd)])['pipe'](H[_0x377822(0x164)](this[_0x377822(0x273)]),V['delay'](0x10))[_0x377822(0x2a9)](async _0x22c1b4=>{var _0x1f7210=_0x377822;const _0x64c67c=_0x22c1b4[_0x1f7210(0x3e6)](),_0xc2b656=await this[_0x1f7210(0x345)](_0x64c67c,Z['UNIVER_SHEET']);this[_0x1f7210(0x17a)][_0x1f7210(0x422)](_0x64c67c,_0xc2b656);}),this['_univerInstanceService'][_0x377822(0x1f8)](a[_0x377822(0x3b7)]['UNIVER_DOC'])['pipe'](H[_0x377822(0x164)](this[_0x377822(0x273)]),V[_0x377822(0x490)](0x10))[_0x377822(0x428)](V['filter'](_0x4da720=>!_0x4da720[_0x377822(0x3e6)]()['startsWith']('__')))['subscribe'](async _0x2ae9a0=>{var _0x1b34a6=_0x377822;const _0x52e3f7=_0x2ae9a0[_0x1b34a6(0x3e6)](),_0x4bc6e0=await this[_0x1b34a6(0x345)](_0x52e3f7,Z['UNIVER_DOC']);this[_0x1b34a6(0x17a)][_0x1b34a6(0x422)](_0x52e3f7,_0x4bc6e0);}),H[_0x377822(0x3b5)](this[_0x377822(0x3cd)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x377822(0x3bd)]),this[_0x377822(0x3cd)][_0x377822(0x447)](a[_0x377822(0x3b7)][_0x377822(0x33a)]))['pipe'](H[_0x377822(0x164)](this[_0x377822(0x273)]))[_0x377822(0x2a9)](_0xa2646=>{var _0x3514cb=_0x377822;const _0x1e17c6=_0xa2646[_0x3514cb(0x3e6)](),_0x69d984=this[_0x3514cb(0x17a)][_0x3514cb(0x251)](_0x1e17c6);_0x69d984&&(_0x69d984[_0x3514cb(0x183)](),this[_0x3514cb(0x17a)]['delete'](_0x1e17c6));});}async['_startCollaboration'](_0x224d9d,_0x3c86a8){var _0x3c13cc=_0x23172e;const _0x36ac78=await this[_0x3c13cc(0x4a2)][_0x3c13cc(0x237)](_0x224d9d),_0x7f4df4=this[_0x3c13cc(0x139)][_0x3c13cc(0x267)](this[_0x3c13cc(0x366)](_0x3c86a8),_0x224d9d,_0x3c86a8,_0x36ac78);return await _0x7f4df4['init'](),this['_entityInit$'][_0x3c13cc(0x226)](_0x7f4df4),_0x7f4df4;}[_0x23172e(0x366)](_0x476cb2){var _0x16aabf=_0x23172e;switch(_0x476cb2){case Z[_0x16aabf(0x33a)]:return exports[_0x16aabf(0x3e8)];case Z[_0x16aabf(0x3bd)]:return exports[_0x16aabf(0x1d5)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x476cb2);}}},exports[_0x23172e(0x3b9)]=Ai([we(0x0,a[_0x23172e(0x301)](a['Injector'])),we(0x1,a[_0x23172e(0x301)](exports[_0x23172e(0x2e9)])),we(0x2,a[_0x23172e(0x3b8)])],exports[_0x23172e(0x3b9)]);var Li=Object[_0x23172e(0x357)],Mi=Object[_0x23172e(0x26f)],xi=(_0x9a11e2,_0x316296,_0x59b86a,_0xa06b3d)=>{var _0x21540c=_0x23172e;for(var _0x2aed=_0xa06b3d>0x1?void 0x0:_0xa06b3d?Mi(_0x316296,_0x59b86a):_0x316296,_0x454cd2=_0x9a11e2[_0x21540c(0x41c)]-0x1,_0x45c2bc;_0x454cd2>=0x0;_0x454cd2--)(_0x45c2bc=_0x9a11e2[_0x454cd2])&&(_0x2aed=(_0xa06b3d?_0x45c2bc(_0x316296,_0x59b86a,_0x2aed):_0x45c2bc(_0x2aed))||_0x2aed);return _0xa06b3d&&_0x2aed&&Li(_0x316296,_0x59b86a,_0x2aed),_0x2aed;},Je=(_0x17c564,_0xed5973)=>(_0x5c3f12,_0x50ceca)=>_0xed5973(_0x5c3f12,_0x50ceca,_0x17c564);const ji='DEFAULT_FILE_NAME',$i=_0x23172e(0x437);let $e=class extends a[_0x23172e(0x1d4)]{constructor(_0x3f2e2b,_0x1533cb){var _0x425a9b=_0x23172e;super(),this[_0x425a9b(0x3cd)]=_0x3f2e2b,this[_0x425a9b(0x1d9)]=_0x1533cb,this[_0x425a9b(0x2a7)]();}[_0x23172e(0x2a7)](){var _0xe4dc2b=_0x23172e;this['disposeWithMe'](this[_0xe4dc2b(0x3cd)][_0xe4dc2b(0x24d)][_0xe4dc2b(0x2a9)](()=>{var _0x87e098=_0xe4dc2b,_0x5b863e;const _0x4f9277=this[_0x87e098(0x3cd)][_0x87e098(0x1e2)]();let _0x2b7cf3=(_0x5b863e=this[_0x87e098(0x1d9)]['getConfig'](ji))!=null?_0x5b863e:$i;_0x4f9277 instanceof a[_0x87e098(0x3c9)]&&(_0x2b7cf3=_0x4f9277[_0x87e098(0x1fb)]),document['title']=_0x2b7cf3;}));}};$e=xi([Je(0x0,a[_0x23172e(0x3b8)]),Je(0x1,a[_0x23172e(0x31f)])],$e);var Hi=Object[_0x23172e(0x357)],ki=Object[_0x23172e(0x26f)],Bi=(_0x18adeb,_0x3c2001,_0x57ea80,_0x5def56)=>{for(var _0x3fc86c=_0x5def56>0x1?void 0x0:_0x5def56?ki(_0x3c2001,_0x57ea80):_0x3c2001,_0xb9e1f7=_0x18adeb['length']-0x1,_0x537ab2;_0xb9e1f7>=0x0;_0xb9e1f7--)(_0x537ab2=_0x18adeb[_0xb9e1f7])&&(_0x3fc86c=(_0x5def56?_0x537ab2(_0x3c2001,_0x57ea80,_0x3fc86c):_0x537ab2(_0x3fc86c))||_0x3fc86c);return _0x5def56&&_0x3fc86c&&Hi(_0x3c2001,_0x57ea80,_0x3fc86c),_0x3fc86c;},Ae=(_0x927dfe,_0x5da703)=>(_0x17a55b,_0x5f30e2)=>_0x5da703(_0x17a55b,_0x5f30e2,_0x927dfe);let ye=class{constructor(_0x10c641,_0x5e8022,_0x21bbb7){var _0xc7a255=_0x23172e;this[_0xc7a255(0x1d9)]=_0x10c641,this[_0xc7a255(0x34f)]=_0x5e8022,this['localeService']=_0x21bbb7,this['init']();}[_0x23172e(0x348)](){var _0x1daec8=_0x23172e;this[_0x1daec8(0x34f)][_0x1daec8(0x30e)]({'priority':0x1,'interceptor':(_0x3aea14,_0x374793)=>_0x374793(_0x3aea14)['pipe'](H['concatMap'](async _0x348e6b=>{var _0x25cf73=_0x1daec8;const _0x4f6080=_0x348e6b;if(_0x4f6080[_0x25cf73(0x239)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x25cf73(0x364)](this[_0x25cf73(0x38b)]['t']('auth.needGotoLoginAlert'))){const _0x4a1d7a=window['encodeURIComponent'](window[_0x25cf73(0x200)]['href']);window[_0x25cf73(0x200)]['href']=this[_0x25cf73(0x2f8)]()+_0x25cf73(0x2fb)+_0x4a1d7a;}}return _0x4f6080;}))});}[_0x23172e(0x2f8)](){var _0x825872=_0x23172e,_0x4b62e3,_0xebef9;const _0x2c396a=this['_configService'][_0x825872(0x4a8)](Et),_0x5657a2=this[_0x825872(0x1d9)][_0x825872(0x4a8)](q);return(_0xebef9=(_0x4b62e3=_0x5657a2==null?void 0x0:_0x5657a2[_0x825872(0x2f1)])!=null?_0x4b62e3:_0x2c396a)!=null?_0xebef9:qt;}};ye=Bi([Ae(0x0,a[_0x23172e(0x31f)]),Ae(0x1,a['Inject'](z['HTTPService'])),Ae(0x2,a[_0x23172e(0x301)](a['LocaleService']))],ye);var Fi=Object[_0x23172e(0x357)],Wi=Object[_0x23172e(0x26f)],Vi=(_0x4fe306,_0x59077b,_0x135e2b,_0x22af73)=>{var _0x4cc377=_0x23172e;for(var _0x222224=_0x22af73>0x1?void 0x0:_0x22af73?Wi(_0x59077b,_0x135e2b):_0x59077b,_0x29dfb1=_0x4fe306[_0x4cc377(0x41c)]-0x1,_0x1b9a5f;_0x29dfb1>=0x0;_0x29dfb1--)(_0x1b9a5f=_0x4fe306[_0x29dfb1])&&(_0x222224=(_0x22af73?_0x1b9a5f(_0x59077b,_0x135e2b,_0x222224):_0x1b9a5f(_0x222224))||_0x222224);return _0x22af73&&_0x222224&&Fi(_0x59077b,_0x135e2b,_0x222224),_0x222224;},Xe=(_0x5c56e5,_0x564cc4)=>(_0x4fa32d,_0x3d71d1)=>_0x564cc4(_0x4fa32d,_0x3d71d1,_0x5c56e5);const Ge='AUTHZ_URL_KEY',Gi='/universer-api/authz';exports[_0x23172e(0x2b6)]=class extends a[_0x23172e(0x1d4)]{constructor(_0x4fad73,_0xc7056b){var _0x32c9ad=_0x23172e;super(),this[_0x32c9ad(0x18e)]=_0x4fad73,this[_0x32c9ad(0x1d9)]=_0xc7056b,this[_0x32c9ad(0x13a)]();}['_initMergeInterceptor'](){var _0xa02a27=_0x23172e;const _0x3ff0ba=this;this[_0xa02a27(0x439)](this[_0xa02a27(0x18e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0xa02a27(0x170)]({'isMatch'(_0x165d85){var _0x5c80a1=_0xa02a27,_0x2d295;if(_0x165d85['method']==='POST'&&((_0x2d295=_0x165d85['requestParams'])!=null&&_0x2d295[_0x5c80a1(0x493)])){const {objectID:_0x2ab892,objectType:_0x5c83dc}=_0x165d85['requestParams']['body']||{};if(!_0x2ab892||_0x5c83dc===void 0x0)return!0x1;const _0x4f7283=_0x3ff0ba[_0x5c80a1(0x407)]()+'/'+_0x5c83dc+_0x5c80a1(0x36d)+_0x2ab892+'/allowed';if(_0x165d85['url']===_0x4f7283)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4e60bf){var _0x1621f4=_0xa02a27,_0x4e9ffe;return(_0x4e9ffe=_0x4e60bf[_0x1621f4(0x400)])==null?void 0x0:_0x4e9ffe['body'];},'mergeParamsToRequest'(_0x5afb35,_0x144794){var _0x5f1ac3=_0xa02a27;const _0x4345ab=_0x3ff0ba[_0x5f1ac3(0x407)]()+_0x5f1ac3(0x3a1),_0x38dc15=_0x5afb35[_0x5f1ac3(0x40b)]((_0x22f33b,_0x5cecc2)=>{var _0x580e0e=_0x5f1ac3;const {unitID:_0x5e0c5d,objectID:_0x2e24fe,objectType:_0x1b27ee,actions:_0x376bd1}=_0x5cecc2;return _0x22f33b[_0x5e0c5d]||(_0x22f33b[_0x5e0c5d]={}),_0x22f33b[_0x5e0c5d][_0x2e24fe]||(_0x22f33b[_0x5e0c5d][_0x2e24fe]={'objectID':_0x2e24fe,'objectType':_0x1b27ee,'actions':[]}),_0x22f33b[_0x5e0c5d][_0x2e24fe][_0x580e0e(0x15f)][_0x580e0e(0x289)](..._0x376bd1),_0x22f33b;},{}),_0x5e274a=[];for(const _0x2123ca in _0x38dc15)for(const _0x3a8e33 in _0x38dc15[_0x2123ca]){const {actions:_0x17c562,objectType:_0x2801b6}=_0x38dc15[_0x2123ca][_0x3a8e33],_0x1091f9=[...new Set(_0x17c562)];_0x5e274a['push']({'unitID':_0x2123ca,'objectID':_0x3a8e33,'objectType':_0x2801b6,'actions':_0x1091f9});}return new z[(_0x5f1ac3(0x37f))](_0x5f1ac3(0x297),_0x4345ab,{'headers':_0x144794['headers'],'withCredentials':_0x144794[_0x5f1ac3(0x23b)],'responseType':_0x144794['responseType'],'body':{'requests':_0x5e274a}});}},{'distributeResult'(_0x307623,_0x544a77){var _0x27c037=_0xa02a27;const {objectActions:_0x45699c}=_0x307623;return _0x544a77[_0x27c037(0x3a8)](_0x4a2a53=>{var _0x34a6d6=_0x27c037;const {unitID:_0x10ac22,objectID:_0x4728ea,actions:_0x1705b7}=_0x4a2a53,_0x3ee915=_0x45699c['find'](_0xe4fba9=>_0xe4fba9[_0x34a6d6(0x468)]===_0x10ac22&&_0xe4fba9['objectID']===_0x4728ea),_0x4261d2=_0x1705b7[_0x34a6d6(0x3a8)](_0x3770c7=>_0x3ee915==null?void 0x0:_0x3ee915[_0x34a6d6(0x15f)]['find'](_0x59aa55=>_0x59aa55[_0x34a6d6(0x3f8)]===_0x3770c7))[_0x34a6d6(0x319)](_0x224541=>!!_0x224541);return{'config':_0x4a2a53,'result':{'actions':_0x4261d2,'error':_0x307623[_0x34a6d6(0x202)]}};});}})}));}[_0x23172e(0x407)](){var _0x3cfb88=_0x23172e,_0x196b45,_0x517969;const _0x79f5f1=this[_0x3cfb88(0x1d9)][_0x3cfb88(0x4a8)](Ge),_0x4ce3a2=this[_0x3cfb88(0x1d9)][_0x3cfb88(0x4a8)](q);return(_0x517969=(_0x196b45=_0x4ce3a2==null?void 0x0:_0x4ce3a2[_0x3cfb88(0x293)])!=null?_0x196b45:_0x79f5f1)!=null?_0x517969:Gi;}async[_0x23172e(0x3c1)](_0xd0fe71){var _0x4c29bc=_0x23172e;const _0x30379c=this['_getAPIPrefixPath']()+'/'+_0xd0fe71[_0x4c29bc(0x3c8)]+_0x4c29bc(0x2df);return(await this[_0x4c29bc(0x18e)]['post'](_0x30379c,{'body':_0xd0fe71}))['body'][_0x4c29bc(0x206)]||'';}async[_0x23172e(0x2ae)](_0x3adf7e){var _0x958911=_0x23172e;const _0x3757fc=this[_0x958911(0x407)]()+_0x958911(0x442);return(await this[_0x958911(0x18e)]['post'](_0x3757fc,{'body':_0x3adf7e}))[_0x958911(0x493)][_0x958911(0x473)];}async[_0x23172e(0x41e)](_0x5410b0){var _0x50d664=_0x23172e;const _0x8d26b5=this['_getAPIPrefixPath']()+'/'+_0x5410b0[_0x50d664(0x3c8)]+_0x50d664(0x36d)+_0x5410b0['objectID'];await this[_0x50d664(0x18e)]['put'](_0x8d26b5,{'body':_0x5410b0});}async[_0x23172e(0x288)](_0x4e3f8a){var _0x543661=_0x23172e;const _0x4a6e66=this[_0x543661(0x407)]()+'/'+_0x4e3f8a[_0x543661(0x3c8)]+_0x543661(0x36d)+_0x4e3f8a['objectID']+_0x543661(0x213);return(await this[_0x543661(0x18e)]['post'](_0x4a6e66,{'body':_0x4e3f8a}))[_0x543661(0x493)][_0x543661(0x15f)];}async[_0x23172e(0x136)](_0x101dc0){var _0x5af61d=_0x23172e;const _0x483efa=this[_0x5af61d(0x407)]()+_0x5af61d(0x3a1);return(await this[_0x5af61d(0x18e)][_0x5af61d(0x3a3)](_0x483efa,{'body':{'requests':_0x101dc0}}))[_0x5af61d(0x493)][_0x5af61d(0x3e5)];}async[_0x23172e(0x1da)](_0xd79435){var _0x5c92b0=_0x23172e;const _0x15ab75=this[_0x5c92b0(0x407)]()+'/'+_0xd79435[_0x5c92b0(0x3c8)]+_0x5c92b0(0x463),_0x30eafe=await this['_HTTPService'][_0x5c92b0(0x3a3)](_0x15ab75,{'body':_0xd79435});return{'roles':_0x30eafe[_0x5c92b0(0x493)][_0x5c92b0(0x483)],'actions':_0x30eafe[_0x5c92b0(0x493)][_0x5c92b0(0x15f)]};}async['deleteCollaborator'](_0x33c07a){var _0x43a893=_0x23172e;const _0x138eba=this['_getAPIPrefixPath']()+_0x43a893(0x489);await this[_0x43a893(0x18e)][_0x43a893(0x204)](_0x138eba,{'params':{'collaboratorID':_0x33c07a[_0x43a893(0x32e)],'objectID':_0x33c07a[_0x43a893(0x206)],'unitID':_0x33c07a[_0x43a893(0x468)]}});}async['updateCollaborator'](_0x24f2cc){var _0x9a81cd=_0x23172e;const _0x57e0f0=this[_0x9a81cd(0x407)]()+'/collaborator';await this[_0x9a81cd(0x18e)]['patch'](_0x57e0f0,{'body':_0x24f2cc});}async[_0x23172e(0x16d)](_0x237197){var _0x5b9f41=_0x23172e;const _0x4adc04=this['_getAPIPrefixPath']()+_0x5b9f41(0x489);await this[_0x5b9f41(0x18e)][_0x5b9f41(0x3a3)](_0x4adc04,{'body':_0x237197});}async['listCollaborators'](_0x188b99){var _0x3527fe=_0x23172e;const _0x12ae09=this[_0x3527fe(0x407)]()+_0x3527fe(0x489);return(await this['_HTTPService'][_0x3527fe(0x251)](_0x12ae09,{'params':{'objectID':_0x188b99[_0x3527fe(0x206)],'unitID':_0x188b99[_0x3527fe(0x468)]}}))['body'][_0x3527fe(0x41f)];}async[_0x23172e(0x4ab)](_0x58cc80){var _0x3a33da=_0x23172e;const _0x5139bf=this[_0x3a33da(0x407)]()+'/collaborator';await this[_0x3a33da(0x18e)][_0x3a33da(0x43d)](_0x5139bf,{'body':_0x58cc80});}},exports[_0x23172e(0x2b6)]=Vi([Xe(0x0,a[_0x23172e(0x301)](z[_0x23172e(0x48f)])),Xe(0x1,a[_0x23172e(0x301)](a[_0x23172e(0x31f)]))],exports[_0x23172e(0x2b6)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x3fdad0){var _0x421418=_0x23172e;return _0x3fdad0&&_0x3fdad0[_0x421418(0x304)]&&Object[_0x421418(0x27e)][_0x421418(0x24f)]['call'](_0x3fdad0,_0x421418(0x484))?_0x3fdad0[_0x421418(0x484)]:_0x3fdad0;}var Se={'exports':{}};function Ki(_0x2d49e6){var _0x228023=_0x23172e;throw new Error(_0x228023(0x2a8)+_0x2d49e6+_0x228023(0x48e));}var pe={'exports':{}},Yi=pe[_0x23172e(0x3eb)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x4961e1,_0x19cdd3){(function(_0x3356a0,_0x139ac4){_0x4961e1['exports']=_0x139ac4();}(Yi,function(){var _0x3f9bfc=_0x3f9bfc||function(_0xcc1d97,_0x608f14){var _0x44d368=_0x4477,_0x19e4bc;if(typeof window<'u'&&window['crypto']&&(_0x19e4bc=window[_0x44d368(0x42d)]),typeof self<'u'&&self['crypto']&&(_0x19e4bc=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x19e4bc=globalThis['crypto']),!_0x19e4bc&&typeof window<'u'&&window[_0x44d368(0x433)]&&(_0x19e4bc=window[_0x44d368(0x433)]),!_0x19e4bc&&typeof Le<'u'&&Le['crypto']&&(_0x19e4bc=Le['crypto']),!_0x19e4bc&&typeof Ki==_0x44d368(0x169))try{_0x19e4bc=require(_0x44d368(0x42d));}catch{}var _0x470fc5=function(){var _0x3786b4=_0x44d368;if(_0x19e4bc){if(typeof _0x19e4bc['getRandomValues']=='function')try{return _0x19e4bc[_0x3786b4(0x2af)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x19e4bc[_0x3786b4(0x21c)]=='function')try{return _0x19e4bc[_0x3786b4(0x21c)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3786b4(0x451));},_0x5485f3=Object[_0x44d368(0x3c1)]||(function(){function _0x403e38(){}return function(_0x209cf1){var _0x16d49a=_0x4477,_0x114837;return _0x403e38[_0x16d49a(0x27e)]=_0x209cf1,_0x114837=new _0x403e38(),_0x403e38[_0x16d49a(0x27e)]=null,_0x114837;};}()),_0x50f29b={},_0x318f0b=_0x50f29b[_0x44d368(0x1d7)]={},_0x3be9c0=_0x318f0b['Base']=(function(){return{'extend':function(_0xd681b4){var _0x5ba438=_0x4477,_0x17b945=_0x5485f3(this);return _0xd681b4&&_0x17b945[_0x5ba438(0x1ea)](_0xd681b4),(!_0x17b945[_0x5ba438(0x24f)](_0x5ba438(0x348))||this[_0x5ba438(0x348)]===_0x17b945[_0x5ba438(0x348)])&&(_0x17b945[_0x5ba438(0x348)]=function(){var _0x525675=_0x5ba438;_0x17b945[_0x525675(0x476)][_0x525675(0x348)][_0x525675(0x367)](this,arguments);}),_0x17b945[_0x5ba438(0x348)]['prototype']=_0x17b945,_0x17b945[_0x5ba438(0x476)]=this,_0x17b945;},'create':function(){var _0x25b03f=_0x4477,_0x5c6d1a=this[_0x25b03f(0x46b)]();return _0x5c6d1a[_0x25b03f(0x348)]['apply'](_0x5c6d1a,arguments),_0x5c6d1a;},'init':function(){},'mixIn':function(_0xa25bb5){var _0x21eaae=_0x4477;for(var _0x5d318c in _0xa25bb5)_0xa25bb5[_0x21eaae(0x24f)](_0x5d318c)&&(this[_0x5d318c]=_0xa25bb5[_0x5d318c]);_0xa25bb5['hasOwnProperty'](_0x21eaae(0x459))&&(this['toString']=_0xa25bb5[_0x21eaae(0x459)]);},'clone':function(){var _0x38e509=_0x4477;return this['init'][_0x38e509(0x27e)][_0x38e509(0x46b)](this);}};}()),_0x3e5ad1=_0x318f0b[_0x44d368(0x1a8)]=_0x3be9c0['extend']({'init':function(_0x4cec9a,_0x57eb8c){var _0x532df8=_0x44d368;_0x4cec9a=this[_0x532df8(0x43a)]=_0x4cec9a||[],_0x57eb8c!=_0x608f14?this[_0x532df8(0x1b6)]=_0x57eb8c:this[_0x532df8(0x1b6)]=_0x4cec9a[_0x532df8(0x41c)]*0x4;},'toString':function(_0x1abf45){var _0x45738f=_0x44d368;return(_0x1abf45||_0x49a5bb)[_0x45738f(0x1c1)](this);},'concat':function(_0x27d74d){var _0x1a715a=_0x44d368,_0x1519e3=this[_0x1a715a(0x43a)],_0x46062d=_0x27d74d[_0x1a715a(0x43a)],_0x34d457=this['sigBytes'],_0x349ab7=_0x27d74d[_0x1a715a(0x1b6)];if(this[_0x1a715a(0x3ff)](),_0x34d457%0x4)for(var _0xfcb602=0x0;_0xfcb602<_0x349ab7;_0xfcb602++){var _0x444a4b=_0x46062d[_0xfcb602>>>0x2]>>>0x18-_0xfcb602%0x4*0x8&0xff;_0x1519e3[_0x34d457+_0xfcb602>>>0x2]|=_0x444a4b<<0x18-(_0x34d457+_0xfcb602)%0x4*0x8;}else{for(var _0x3bbd19=0x0;_0x3bbd19<_0x349ab7;_0x3bbd19+=0x4)_0x1519e3[_0x34d457+_0x3bbd19>>>0x2]=_0x46062d[_0x3bbd19>>>0x2];}return this[_0x1a715a(0x1b6)]+=_0x349ab7,this;},'clamp':function(){var _0x1e2201=_0x44d368,_0x470c69=this[_0x1e2201(0x43a)],_0x12ba72=this['sigBytes'];_0x470c69[_0x12ba72>>>0x2]&=0xffffffff<<0x20-_0x12ba72%0x4*0x8,_0x470c69[_0x1e2201(0x41c)]=_0xcc1d97[_0x1e2201(0x2d4)](_0x12ba72/0x4);},'clone':function(){var _0x1c9f14=_0x44d368,_0x410b73=_0x3be9c0[_0x1c9f14(0x1f2)][_0x1c9f14(0x1c7)](this);return _0x410b73[_0x1c9f14(0x43a)]=this[_0x1c9f14(0x43a)]['slice'](0x0),_0x410b73;},'random':function(_0x393517){for(var _0xcec134=[],_0x56714c=0x0;_0x56714c<_0x393517;_0x56714c+=0x4)_0xcec134['push'](_0x470fc5());return new _0x3e5ad1['init'](_0xcec134,_0x393517);}}),_0xe253f6=_0x50f29b[_0x44d368(0x3d2)]={},_0x49a5bb=_0xe253f6[_0x44d368(0x341)]={'stringify':function(_0x5eaeb3){var _0xa0a318=_0x44d368;for(var _0x108f17=_0x5eaeb3[_0xa0a318(0x43a)],_0x5b62e4=_0x5eaeb3[_0xa0a318(0x1b6)],_0x1d47a7=[],_0x2b2b69=0x0;_0x2b2b69<_0x5b62e4;_0x2b2b69++){var _0x4bde56=_0x108f17[_0x2b2b69>>>0x2]>>>0x18-_0x2b2b69%0x4*0x8&0xff;_0x1d47a7[_0xa0a318(0x289)]((_0x4bde56>>>0x4)[_0xa0a318(0x459)](0x10)),_0x1d47a7[_0xa0a318(0x289)]((_0x4bde56&0xf)[_0xa0a318(0x459)](0x10));}return _0x1d47a7[_0xa0a318(0x4a7)]('');},'parse':function(_0x5b9f82){var _0x4428e5=_0x44d368;for(var _0x32c33f=_0x5b9f82[_0x4428e5(0x41c)],_0x21ee1a=[],_0x4dff22=0x0;_0x4dff22<_0x32c33f;_0x4dff22+=0x2)_0x21ee1a[_0x4dff22>>>0x3]|=parseInt(_0x5b9f82['substr'](_0x4dff22,0x2),0x10)<<0x18-_0x4dff22%0x8*0x4;return new _0x3e5ad1[(_0x4428e5(0x348))](_0x21ee1a,_0x32c33f/0x2);}},_0x5c5ef3=_0xe253f6[_0x44d368(0x199)]={'stringify':function(_0x206f13){var _0x102561=_0x44d368;for(var _0x1cdc2d=_0x206f13['words'],_0x1e9f9b=_0x206f13[_0x102561(0x1b6)],_0x2daa3c=[],_0x39d68c=0x0;_0x39d68c<_0x1e9f9b;_0x39d68c++){var _0x2066f9=_0x1cdc2d[_0x39d68c>>>0x2]>>>0x18-_0x39d68c%0x4*0x8&0xff;_0x2daa3c[_0x102561(0x289)](String[_0x102561(0x3c2)](_0x2066f9));}return _0x2daa3c[_0x102561(0x4a7)]('');},'parse':function(_0x1aa67f){var _0x300dd3=_0x44d368;for(var _0x47177f=_0x1aa67f[_0x300dd3(0x41c)],_0x20c6d2=[],_0x57e45d=0x0;_0x57e45d<_0x47177f;_0x57e45d++)_0x20c6d2[_0x57e45d>>>0x2]|=(_0x1aa67f[_0x300dd3(0x42a)](_0x57e45d)&0xff)<<0x18-_0x57e45d%0x4*0x8;return new _0x3e5ad1[(_0x300dd3(0x348))](_0x20c6d2,_0x47177f);}},_0x29ad62=_0xe253f6[_0x44d368(0x35e)]={'stringify':function(_0x1b857a){var _0x54c46a=_0x44d368;try{return decodeURIComponent(escape(_0x5c5ef3[_0x54c46a(0x1c1)](_0x1b857a)));}catch{throw new Error(_0x54c46a(0x299));}},'parse':function(_0xc7ba38){var _0x2fe3c5=_0x44d368;return _0x5c5ef3[_0x2fe3c5(0x444)](unescape(encodeURIComponent(_0xc7ba38)));}},_0xe4733d=_0x318f0b['BufferedBlockAlgorithm']=_0x3be9c0[_0x44d368(0x46b)]({'reset':function(){var _0x382b42=_0x44d368;this[_0x382b42(0x166)]=new _0x3e5ad1[(_0x382b42(0x348))](),this[_0x382b42(0x3bb)]=0x0;},'_append':function(_0x2a673b){var _0x10b34d=_0x44d368;typeof _0x2a673b==_0x10b34d(0x2f2)&&(_0x2a673b=_0x29ad62[_0x10b34d(0x444)](_0x2a673b)),this[_0x10b34d(0x166)]['concat'](_0x2a673b),this[_0x10b34d(0x3bb)]+=_0x2a673b[_0x10b34d(0x1b6)];},'_process':function(_0x29cbd7){var _0x6a341d=_0x44d368,_0x26b59f,_0x19c0e2=this[_0x6a341d(0x166)],_0x5abf0a=_0x19c0e2['words'],_0x350aaf=_0x19c0e2[_0x6a341d(0x1b6)],_0x4a4184=this[_0x6a341d(0x1ae)],_0x4f4dfe=_0x4a4184*0x4,_0x3ba2d2=_0x350aaf/_0x4f4dfe;_0x29cbd7?_0x3ba2d2=_0xcc1d97[_0x6a341d(0x2d4)](_0x3ba2d2):_0x3ba2d2=_0xcc1d97[_0x6a341d(0x3f2)]((_0x3ba2d2|0x0)-this[_0x6a341d(0x1b3)],0x0);var _0x41ed53=_0x3ba2d2*_0x4a4184,_0x571362=_0xcc1d97['min'](_0x41ed53*0x4,_0x350aaf);if(_0x41ed53){for(var _0x577958=0x0;_0x577958<_0x41ed53;_0x577958+=_0x4a4184)this[_0x6a341d(0x393)](_0x5abf0a,_0x577958);_0x26b59f=_0x5abf0a['splice'](0x0,_0x41ed53),_0x19c0e2['sigBytes']-=_0x571362;}return new _0x3e5ad1[(_0x6a341d(0x348))](_0x26b59f,_0x571362);},'clone':function(){var _0x2d2da6=_0x44d368,_0x4b9b10=_0x3be9c0[_0x2d2da6(0x1f2)][_0x2d2da6(0x1c7)](this);return _0x4b9b10['_data']=this['_data'][_0x2d2da6(0x1f2)](),_0x4b9b10;},'_minBufferSize':0x0});_0x318f0b[_0x44d368(0x2a5)]=_0xe4733d[_0x44d368(0x46b)]({'cfg':_0x3be9c0['extend'](),'init':function(_0x1f0bd5){var _0xff4513=_0x44d368;this['cfg']=this[_0xff4513(0x342)][_0xff4513(0x46b)](_0x1f0bd5),this[_0xff4513(0x3fc)]();},'reset':function(){var _0x85113d=_0x44d368;_0xe4733d['reset'][_0x85113d(0x1c7)](this),this[_0x85113d(0x455)]();},'update':function(_0x27b221){var _0x8f0843=_0x44d368;return this[_0x8f0843(0x324)](_0x27b221),this[_0x8f0843(0x1ce)](),this;},'finalize':function(_0xf25ae8){var _0x183a48=_0x44d368;_0xf25ae8&&this[_0x183a48(0x324)](_0xf25ae8);var _0x5bded6=this[_0x183a48(0x45f)]();return _0x5bded6;},'blockSize':0x10,'_createHelper':function(_0x9ad646){return function(_0x36b69a,_0x44e040){var _0x20f547=_0x4477;return new _0x9ad646[(_0x20f547(0x348))](_0x44e040)[_0x20f547(0x1fd)](_0x36b69a);};},'_createHmacHelper':function(_0x5ebbb2){return function(_0x2cc0a7,_0x5c632b){return new _0x4e9b50['HMAC']['init'](_0x5ebbb2,_0x5c632b)['finalize'](_0x2cc0a7);};}});var _0x4e9b50=_0x50f29b['algo']={};return _0x50f29b;}(Math);return _0x3f9bfc;}));}(pe)),pe['exports'];}var ge={'exports':{}},qi=ge['exports'],Qe;function Ut(){var _0x5f4d0a=_0x23172e;return Qe||(Qe=0x1,function(_0x25956e,_0x3123c0){(function(_0x2b1bbf,_0xb79458){var _0x197110=_0x4477;_0x25956e[_0x197110(0x3eb)]=_0xb79458(ee());}(qi,function(_0x4bcc75){var _0x1da8b7=_0x4477;return(function(){var _0x9c3c06=_0x4477,_0x46e5ea=_0x4bcc75,_0x31a271=_0x46e5ea['lib'],_0x4d0b8e=_0x31a271[_0x9c3c06(0x1a8)],_0x2d88d4=_0x46e5ea[_0x9c3c06(0x3d2)];_0x2d88d4[_0x9c3c06(0x217)]={'stringify':function(_0x605dc8){var _0x248793=_0x9c3c06,_0x58888d=_0x605dc8[_0x248793(0x43a)],_0x141664=_0x605dc8[_0x248793(0x1b6)],_0xd4235a=this[_0x248793(0x152)];_0x605dc8[_0x248793(0x3ff)]();for(var _0x3fad60=[],_0x4d7477=0x0;_0x4d7477<_0x141664;_0x4d7477+=0x3)for(var _0x1a638d=_0x58888d[_0x4d7477>>>0x2]>>>0x18-_0x4d7477%0x4*0x8&0xff,_0x46accb=_0x58888d[_0x4d7477+0x1>>>0x2]>>>0x18-(_0x4d7477+0x1)%0x4*0x8&0xff,_0x39899d=_0x58888d[_0x4d7477+0x2>>>0x2]>>>0x18-(_0x4d7477+0x2)%0x4*0x8&0xff,_0x1340fc=_0x1a638d<<0x10|_0x46accb<<0x8|_0x39899d,_0x53fef5=0x0;_0x53fef5<0x4&&_0x4d7477+_0x53fef5*0.75<_0x141664;_0x53fef5++)_0x3fad60[_0x248793(0x289)](_0xd4235a[_0x248793(0x25b)](_0x1340fc>>>0x6*(0x3-_0x53fef5)&0x3f));var _0x5f080b=_0xd4235a[_0x248793(0x25b)](0x40);if(_0x5f080b){for(;_0x3fad60['length']%0x4;)_0x3fad60[_0x248793(0x289)](_0x5f080b);}return _0x3fad60['join']('');},'parse':function(_0x3ac0b7){var _0xacbb59=_0x9c3c06,_0x2e80b2=_0x3ac0b7[_0xacbb59(0x41c)],_0x208d5d=this[_0xacbb59(0x152)],_0x58a18a=this[_0xacbb59(0x446)];if(!_0x58a18a){_0x58a18a=this[_0xacbb59(0x446)]=[];for(var _0xb4d2de=0x0;_0xb4d2de<_0x208d5d[_0xacbb59(0x41c)];_0xb4d2de++)_0x58a18a[_0x208d5d['charCodeAt'](_0xb4d2de)]=_0xb4d2de;}var _0x5b719d=_0x208d5d['charAt'](0x40);if(_0x5b719d){var _0x3c43a9=_0x3ac0b7[_0xacbb59(0x27c)](_0x5b719d);_0x3c43a9!==-0x1&&(_0x2e80b2=_0x3c43a9);}return _0xaab856(_0x3ac0b7,_0x2e80b2,_0x58a18a);},'_map':_0x9c3c06(0x292)};function _0xaab856(_0x5d536f,_0x3a4c77,_0x3838a9){var _0x8b0ace=_0x9c3c06;for(var _0x55ef27=[],_0x578256=0x0,_0x1ea7f0=0x0;_0x1ea7f0<_0x3a4c77;_0x1ea7f0++)if(_0x1ea7f0%0x4){var _0x3b93eb=_0x3838a9[_0x5d536f[_0x8b0ace(0x42a)](_0x1ea7f0-0x1)]<<_0x1ea7f0%0x4*0x2,_0xfe020=_0x3838a9[_0x5d536f['charCodeAt'](_0x1ea7f0)]>>>0x6-_0x1ea7f0%0x4*0x2,_0x233a88=_0x3b93eb|_0xfe020;_0x55ef27[_0x578256>>>0x2]|=_0x233a88<<0x18-_0x578256%0x4*0x8,_0x578256++;}return _0x4d0b8e[_0x8b0ace(0x3c1)](_0x55ef27,_0x578256);}}()),_0x4bcc75[_0x1da8b7(0x3d2)][_0x1da8b7(0x217)];}));}(ge)),ge[_0x5f4d0a(0x3eb)];}var me={'exports':{}},zi=me[_0x23172e(0x3eb)],et;function Ji(){return et||(et=0x1,function(_0xb9f054,_0x55a196){(function(_0x1e902a,_0x4f7864){var _0x395a26=_0x4477;_0xb9f054[_0x395a26(0x3eb)]=_0x4f7864(ee());}(zi,function(_0x2d0402){return function(_0x16e073){var _0x315ca4=_0x4477,_0x12b153=_0x2d0402,_0x5d9cbe=_0x12b153[_0x315ca4(0x1d7)],_0x25dbb2=_0x5d9cbe['WordArray'],_0x12d618=_0x5d9cbe[_0x315ca4(0x2a5)],_0x3c80cc=_0x12b153[_0x315ca4(0x24e)],_0x3503a4=[];(function(){var _0x356b3e=_0x315ca4;for(var _0x3660d1=0x0;_0x3660d1<0x40;_0x3660d1++)_0x3503a4[_0x3660d1]=_0x16e073[_0x356b3e(0x205)](_0x16e073[_0x356b3e(0x2e3)](_0x3660d1+0x1))*0x100000000|0x0;}());var _0x2285b8=_0x3c80cc[_0x315ca4(0x141)]=_0x12d618[_0x315ca4(0x46b)]({'_doReset':function(){this['_hash']=new _0x25dbb2['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fd6f3,_0x3592c5){var _0x22813e=_0x315ca4;for(var _0x38cae=0x0;_0x38cae<0x10;_0x38cae++){var _0x2c18e9=_0x3592c5+_0x38cae,_0x48abb1=_0x3fd6f3[_0x2c18e9];_0x3fd6f3[_0x2c18e9]=(_0x48abb1<<0x8|_0x48abb1>>>0x18)&0xff00ff|(_0x48abb1<<0x18|_0x48abb1>>>0x8)&0xff00ff00;}var _0x36a774=this[_0x22813e(0x187)]['words'],_0x3ad3b9=_0x3fd6f3[_0x3592c5+0x0],_0x519302=_0x3fd6f3[_0x3592c5+0x1],_0x5f04a6=_0x3fd6f3[_0x3592c5+0x2],_0x26a8b1=_0x3fd6f3[_0x3592c5+0x3],_0x2be7ed=_0x3fd6f3[_0x3592c5+0x4],_0x4cdc56=_0x3fd6f3[_0x3592c5+0x5],_0x1cd60a=_0x3fd6f3[_0x3592c5+0x6],_0x5e9e98=_0x3fd6f3[_0x3592c5+0x7],_0x408f6e=_0x3fd6f3[_0x3592c5+0x8],_0x2cec08=_0x3fd6f3[_0x3592c5+0x9],_0x262ebb=_0x3fd6f3[_0x3592c5+0xa],_0x310fce=_0x3fd6f3[_0x3592c5+0xb],_0x358868=_0x3fd6f3[_0x3592c5+0xc],_0x263bc3=_0x3fd6f3[_0x3592c5+0xd],_0x4ae5b7=_0x3fd6f3[_0x3592c5+0xe],_0x24fdf3=_0x3fd6f3[_0x3592c5+0xf],_0x435e76=_0x36a774[0x0],_0x20c03e=_0x36a774[0x1],_0x4027b2=_0x36a774[0x2],_0xd1c9f5=_0x36a774[0x3];_0x435e76=_0x1520ab(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x3ad3b9,0x7,_0x3503a4[0x0]),_0xd1c9f5=_0x1520ab(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x519302,0xc,_0x3503a4[0x1]),_0x4027b2=_0x1520ab(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x5f04a6,0x11,_0x3503a4[0x2]),_0x20c03e=_0x1520ab(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x26a8b1,0x16,_0x3503a4[0x3]),_0x435e76=_0x1520ab(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x2be7ed,0x7,_0x3503a4[0x4]),_0xd1c9f5=_0x1520ab(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x4cdc56,0xc,_0x3503a4[0x5]),_0x4027b2=_0x1520ab(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x1cd60a,0x11,_0x3503a4[0x6]),_0x20c03e=_0x1520ab(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x5e9e98,0x16,_0x3503a4[0x7]),_0x435e76=_0x1520ab(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x408f6e,0x7,_0x3503a4[0x8]),_0xd1c9f5=_0x1520ab(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x2cec08,0xc,_0x3503a4[0x9]),_0x4027b2=_0x1520ab(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x262ebb,0x11,_0x3503a4[0xa]),_0x20c03e=_0x1520ab(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x310fce,0x16,_0x3503a4[0xb]),_0x435e76=_0x1520ab(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x358868,0x7,_0x3503a4[0xc]),_0xd1c9f5=_0x1520ab(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x263bc3,0xc,_0x3503a4[0xd]),_0x4027b2=_0x1520ab(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x4ae5b7,0x11,_0x3503a4[0xe]),_0x20c03e=_0x1520ab(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x24fdf3,0x16,_0x3503a4[0xf]),_0x435e76=_0x14da14(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x519302,0x5,_0x3503a4[0x10]),_0xd1c9f5=_0x14da14(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x1cd60a,0x9,_0x3503a4[0x11]),_0x4027b2=_0x14da14(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x310fce,0xe,_0x3503a4[0x12]),_0x20c03e=_0x14da14(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x3ad3b9,0x14,_0x3503a4[0x13]),_0x435e76=_0x14da14(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x4cdc56,0x5,_0x3503a4[0x14]),_0xd1c9f5=_0x14da14(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x262ebb,0x9,_0x3503a4[0x15]),_0x4027b2=_0x14da14(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x24fdf3,0xe,_0x3503a4[0x16]),_0x20c03e=_0x14da14(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x2be7ed,0x14,_0x3503a4[0x17]),_0x435e76=_0x14da14(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x2cec08,0x5,_0x3503a4[0x18]),_0xd1c9f5=_0x14da14(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x4ae5b7,0x9,_0x3503a4[0x19]),_0x4027b2=_0x14da14(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x26a8b1,0xe,_0x3503a4[0x1a]),_0x20c03e=_0x14da14(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x408f6e,0x14,_0x3503a4[0x1b]),_0x435e76=_0x14da14(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x263bc3,0x5,_0x3503a4[0x1c]),_0xd1c9f5=_0x14da14(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x5f04a6,0x9,_0x3503a4[0x1d]),_0x4027b2=_0x14da14(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x5e9e98,0xe,_0x3503a4[0x1e]),_0x20c03e=_0x14da14(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x358868,0x14,_0x3503a4[0x1f]),_0x435e76=_0x3c129f(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x4cdc56,0x4,_0x3503a4[0x20]),_0xd1c9f5=_0x3c129f(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x408f6e,0xb,_0x3503a4[0x21]),_0x4027b2=_0x3c129f(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x310fce,0x10,_0x3503a4[0x22]),_0x20c03e=_0x3c129f(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x4ae5b7,0x17,_0x3503a4[0x23]),_0x435e76=_0x3c129f(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x519302,0x4,_0x3503a4[0x24]),_0xd1c9f5=_0x3c129f(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x2be7ed,0xb,_0x3503a4[0x25]),_0x4027b2=_0x3c129f(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x5e9e98,0x10,_0x3503a4[0x26]),_0x20c03e=_0x3c129f(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x262ebb,0x17,_0x3503a4[0x27]),_0x435e76=_0x3c129f(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x263bc3,0x4,_0x3503a4[0x28]),_0xd1c9f5=_0x3c129f(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x3ad3b9,0xb,_0x3503a4[0x29]),_0x4027b2=_0x3c129f(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x26a8b1,0x10,_0x3503a4[0x2a]),_0x20c03e=_0x3c129f(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x1cd60a,0x17,_0x3503a4[0x2b]),_0x435e76=_0x3c129f(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x2cec08,0x4,_0x3503a4[0x2c]),_0xd1c9f5=_0x3c129f(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x358868,0xb,_0x3503a4[0x2d]),_0x4027b2=_0x3c129f(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x24fdf3,0x10,_0x3503a4[0x2e]),_0x20c03e=_0x3c129f(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x5f04a6,0x17,_0x3503a4[0x2f]),_0x435e76=_0x299b26(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x3ad3b9,0x6,_0x3503a4[0x30]),_0xd1c9f5=_0x299b26(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x5e9e98,0xa,_0x3503a4[0x31]),_0x4027b2=_0x299b26(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x4ae5b7,0xf,_0x3503a4[0x32]),_0x20c03e=_0x299b26(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x4cdc56,0x15,_0x3503a4[0x33]),_0x435e76=_0x299b26(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x358868,0x6,_0x3503a4[0x34]),_0xd1c9f5=_0x299b26(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x26a8b1,0xa,_0x3503a4[0x35]),_0x4027b2=_0x299b26(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x262ebb,0xf,_0x3503a4[0x36]),_0x20c03e=_0x299b26(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x519302,0x15,_0x3503a4[0x37]),_0x435e76=_0x299b26(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x408f6e,0x6,_0x3503a4[0x38]),_0xd1c9f5=_0x299b26(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x24fdf3,0xa,_0x3503a4[0x39]),_0x4027b2=_0x299b26(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x1cd60a,0xf,_0x3503a4[0x3a]),_0x20c03e=_0x299b26(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x263bc3,0x15,_0x3503a4[0x3b]),_0x435e76=_0x299b26(_0x435e76,_0x20c03e,_0x4027b2,_0xd1c9f5,_0x2be7ed,0x6,_0x3503a4[0x3c]),_0xd1c9f5=_0x299b26(_0xd1c9f5,_0x435e76,_0x20c03e,_0x4027b2,_0x310fce,0xa,_0x3503a4[0x3d]),_0x4027b2=_0x299b26(_0x4027b2,_0xd1c9f5,_0x435e76,_0x20c03e,_0x5f04a6,0xf,_0x3503a4[0x3e]),_0x20c03e=_0x299b26(_0x20c03e,_0x4027b2,_0xd1c9f5,_0x435e76,_0x2cec08,0x15,_0x3503a4[0x3f]),_0x36a774[0x0]=_0x36a774[0x0]+_0x435e76|0x0,_0x36a774[0x1]=_0x36a774[0x1]+_0x20c03e|0x0,_0x36a774[0x2]=_0x36a774[0x2]+_0x4027b2|0x0,_0x36a774[0x3]=_0x36a774[0x3]+_0xd1c9f5|0x0;},'_doFinalize':function(){var _0x9bac12=_0x315ca4,_0x3cc3d5=this['_data'],_0x437b01=_0x3cc3d5[_0x9bac12(0x43a)],_0xc3d809=this[_0x9bac12(0x3bb)]*0x8,_0x180dca=_0x3cc3d5[_0x9bac12(0x1b6)]*0x8;_0x437b01[_0x180dca>>>0x5]|=0x80<<0x18-_0x180dca%0x20;var _0x29a3e8=_0x16e073[_0x9bac12(0x13f)](_0xc3d809/0x100000000),_0x420c0b=_0xc3d809;_0x437b01[(_0x180dca+0x40>>>0x9<<0x4)+0xf]=(_0x29a3e8<<0x8|_0x29a3e8>>>0x18)&0xff00ff|(_0x29a3e8<<0x18|_0x29a3e8>>>0x8)&0xff00ff00,_0x437b01[(_0x180dca+0x40>>>0x9<<0x4)+0xe]=(_0x420c0b<<0x8|_0x420c0b>>>0x18)&0xff00ff|(_0x420c0b<<0x18|_0x420c0b>>>0x8)&0xff00ff00,_0x3cc3d5[_0x9bac12(0x1b6)]=(_0x437b01[_0x9bac12(0x41c)]+0x1)*0x4,this[_0x9bac12(0x1ce)]();for(var _0x4d7729=this[_0x9bac12(0x187)],_0x372c62=_0x4d7729['words'],_0x1782ec=0x0;_0x1782ec<0x4;_0x1782ec++){var _0x333441=_0x372c62[_0x1782ec];_0x372c62[_0x1782ec]=(_0x333441<<0x8|_0x333441>>>0x18)&0xff00ff|(_0x333441<<0x18|_0x333441>>>0x8)&0xff00ff00;}return _0x4d7729;},'clone':function(){var _0x14ca3a=_0x315ca4,_0x855d5d=_0x12d618[_0x14ca3a(0x1f2)][_0x14ca3a(0x1c7)](this);return _0x855d5d['_hash']=this['_hash'][_0x14ca3a(0x1f2)](),_0x855d5d;}});function _0x1520ab(_0x3b5c1d,_0x20270f,_0x3a0d42,_0x4e301d,_0x494a5c,_0x5ba392,_0x527e66){var _0x7494ce=_0x3b5c1d+(_0x20270f&_0x3a0d42|~_0x20270f&_0x4e301d)+_0x494a5c+_0x527e66;return(_0x7494ce<<_0x5ba392|_0x7494ce>>>0x20-_0x5ba392)+_0x20270f;}function _0x14da14(_0x29d13c,_0x2e7481,_0x5d1cab,_0x4cca1b,_0x4ce07e,_0x10ab16,_0xa4ab48){var _0xfc2d01=_0x29d13c+(_0x2e7481&_0x4cca1b|_0x5d1cab&~_0x4cca1b)+_0x4ce07e+_0xa4ab48;return(_0xfc2d01<<_0x10ab16|_0xfc2d01>>>0x20-_0x10ab16)+_0x2e7481;}function _0x3c129f(_0x3c40f8,_0x10b9ee,_0x50ed09,_0x252458,_0xcd8661,_0x7fe7b6,_0x37ba26){var _0x7ff9eb=_0x3c40f8+(_0x10b9ee^_0x50ed09^_0x252458)+_0xcd8661+_0x37ba26;return(_0x7ff9eb<<_0x7fe7b6|_0x7ff9eb>>>0x20-_0x7fe7b6)+_0x10b9ee;}function _0x299b26(_0x46afb9,_0x1cf4be,_0x4db7d3,_0x3e28e6,_0x325c14,_0x1606ea,_0x761a23){var _0x21a0af=_0x46afb9+(_0x4db7d3^(_0x1cf4be|~_0x3e28e6))+_0x325c14+_0x761a23;return(_0x21a0af<<_0x1606ea|_0x21a0af>>>0x20-_0x1606ea)+_0x1cf4be;}_0x12b153[_0x315ca4(0x141)]=_0x12d618[_0x315ca4(0x2e0)](_0x2285b8),_0x12b153[_0x315ca4(0x2a4)]=_0x12d618[_0x315ca4(0x2b4)](_0x2285b8);}(Math),_0x2d0402['MD5'];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee['exports'],tt;function Zi(){var _0x3c2a5e=_0x23172e;return tt||(tt=0x1,function(_0x204cae,_0x4c40a6){(function(_0xd25ab4,_0x2dc296){var _0x3933b6=_0x4477;_0x204cae[_0x3933b6(0x3eb)]=_0x2dc296(ee());}(Xi,function(_0x2810da){return(function(){var _0x3cbb77=_0x4477,_0x4fff7b=_0x2810da,_0x24eafc=_0x4fff7b[_0x3cbb77(0x1d7)],_0xd20ba8=_0x24eafc[_0x3cbb77(0x1a8)],_0x2113d0=_0x24eafc[_0x3cbb77(0x2a5)],_0x358561=_0x4fff7b[_0x3cbb77(0x24e)],_0x5a9894=[],_0x3f3737=_0x358561['SHA1']=_0x2113d0['extend']({'_doReset':function(){var _0x5538fa=_0x3cbb77;this[_0x5538fa(0x187)]=new _0xd20ba8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5f47,_0x17caa8){var _0x4c9260=_0x3cbb77;for(var _0x116179=this['_hash'][_0x4c9260(0x43a)],_0x15eecb=_0x116179[0x0],_0x27862f=_0x116179[0x1],_0x208ed5=_0x116179[0x2],_0x1d1c30=_0x116179[0x3],_0x5ba722=_0x116179[0x4],_0x1b4972=0x0;_0x1b4972<0x50;_0x1b4972++){if(_0x1b4972<0x10)_0x5a9894[_0x1b4972]=_0x5f47[_0x17caa8+_0x1b4972]|0x0;else{var _0x2dbaba=_0x5a9894[_0x1b4972-0x3]^_0x5a9894[_0x1b4972-0x8]^_0x5a9894[_0x1b4972-0xe]^_0x5a9894[_0x1b4972-0x10];_0x5a9894[_0x1b4972]=_0x2dbaba<<0x1|_0x2dbaba>>>0x1f;}var _0x4f663c=(_0x15eecb<<0x5|_0x15eecb>>>0x1b)+_0x5ba722+_0x5a9894[_0x1b4972];_0x1b4972<0x14?_0x4f663c+=(_0x27862f&_0x208ed5|~_0x27862f&_0x1d1c30)+0x5a827999:_0x1b4972<0x28?_0x4f663c+=(_0x27862f^_0x208ed5^_0x1d1c30)+0x6ed9eba1:_0x1b4972<0x3c?_0x4f663c+=(_0x27862f&_0x208ed5|_0x27862f&_0x1d1c30|_0x208ed5&_0x1d1c30)-0x70e44324:_0x4f663c+=(_0x27862f^_0x208ed5^_0x1d1c30)-0x359d3e2a,_0x5ba722=_0x1d1c30,_0x1d1c30=_0x208ed5,_0x208ed5=_0x27862f<<0x1e|_0x27862f>>>0x2,_0x27862f=_0x15eecb,_0x15eecb=_0x4f663c;}_0x116179[0x0]=_0x116179[0x0]+_0x15eecb|0x0,_0x116179[0x1]=_0x116179[0x1]+_0x27862f|0x0,_0x116179[0x2]=_0x116179[0x2]+_0x208ed5|0x0,_0x116179[0x3]=_0x116179[0x3]+_0x1d1c30|0x0,_0x116179[0x4]=_0x116179[0x4]+_0x5ba722|0x0;},'_doFinalize':function(){var _0x115d18=_0x3cbb77,_0x307fe0=this[_0x115d18(0x166)],_0xa5c314=_0x307fe0[_0x115d18(0x43a)],_0x3f97ab=this[_0x115d18(0x3bb)]*0x8,_0x53158a=_0x307fe0[_0x115d18(0x1b6)]*0x8;return _0xa5c314[_0x53158a>>>0x5]|=0x80<<0x18-_0x53158a%0x20,_0xa5c314[(_0x53158a+0x40>>>0x9<<0x4)+0xe]=Math[_0x115d18(0x13f)](_0x3f97ab/0x100000000),_0xa5c314[(_0x53158a+0x40>>>0x9<<0x4)+0xf]=_0x3f97ab,_0x307fe0[_0x115d18(0x1b6)]=_0xa5c314[_0x115d18(0x41c)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x63c125=_0x3cbb77,_0x461ee3=_0x2113d0[_0x63c125(0x1f2)][_0x63c125(0x1c7)](this);return _0x461ee3[_0x63c125(0x187)]=this[_0x63c125(0x187)]['clone'](),_0x461ee3;}});_0x4fff7b['SHA1']=_0x2113d0['_createHelper'](_0x3f3737),_0x4fff7b['HmacSHA1']=_0x2113d0[_0x3cbb77(0x2b4)](_0x3f3737);}()),_0x2810da['SHA1'];}));}(Ee)),Ee[_0x3c2a5e(0x3eb)];}var Ce={'exports':{}},Qi=Ce[_0x23172e(0x3eb)],it;function en(){var _0x24a657=_0x23172e;return it||(it=0x1,function(_0x355f9e,_0x4fb806){(function(_0x244f64,_0x5d662b){var _0x1bef1f=_0x4477;_0x355f9e[_0x1bef1f(0x3eb)]=_0x5d662b(ee());}(Qi,function(_0x1358ff){(function(){var _0x1fe6e9=_0x4477,_0x6a242c=_0x1358ff,_0x3be4e9=_0x6a242c[_0x1fe6e9(0x1d7)],_0x472953=_0x3be4e9[_0x1fe6e9(0x380)],_0x5d8d66=_0x6a242c['enc'],_0x29a396=_0x5d8d66['Utf8'],_0x4905b5=_0x6a242c[_0x1fe6e9(0x24e)];_0x4905b5[_0x1fe6e9(0x487)]=_0x472953[_0x1fe6e9(0x46b)]({'init':function(_0x5117e6,_0x440c02){var _0x47dda3=_0x1fe6e9;_0x5117e6=this['_hasher']=new _0x5117e6['init'](),typeof _0x440c02==_0x47dda3(0x2f2)&&(_0x440c02=_0x29a396['parse'](_0x440c02));var _0x1fc930=_0x5117e6[_0x47dda3(0x1ae)],_0xcba66f=_0x1fc930*0x4;_0x440c02[_0x47dda3(0x1b6)]>_0xcba66f&&(_0x440c02=_0x5117e6[_0x47dda3(0x1fd)](_0x440c02)),_0x440c02[_0x47dda3(0x3ff)]();for(var _0x4dcd22=this[_0x47dda3(0x1fe)]=_0x440c02['clone'](),_0x21c037=this[_0x47dda3(0x16b)]=_0x440c02[_0x47dda3(0x1f2)](),_0x35980d=_0x4dcd22[_0x47dda3(0x43a)],_0x23679b=_0x21c037[_0x47dda3(0x43a)],_0xda4c93=0x0;_0xda4c93<_0x1fc930;_0xda4c93++)_0x35980d[_0xda4c93]^=0x5c5c5c5c,_0x23679b[_0xda4c93]^=0x36363636;_0x4dcd22['sigBytes']=_0x21c037[_0x47dda3(0x1b6)]=_0xcba66f,this[_0x47dda3(0x3fc)]();},'reset':function(){var _0x5a0ac9=_0x1fe6e9,_0x42c9ee=this[_0x5a0ac9(0x3a5)];_0x42c9ee[_0x5a0ac9(0x3fc)](),_0x42c9ee[_0x5a0ac9(0x41e)](this['_iKey']);},'update':function(_0x5b32aa){var _0x1746ce=_0x1fe6e9;return this[_0x1746ce(0x3a5)][_0x1746ce(0x41e)](_0x5b32aa),this;},'finalize':function(_0x2ad4d4){var _0x133be0=_0x1fe6e9,_0x35cf96=this[_0x133be0(0x3a5)],_0x315b10=_0x35cf96[_0x133be0(0x1fd)](_0x2ad4d4);_0x35cf96['reset']();var _0x6772ec=_0x35cf96[_0x133be0(0x1fd)](this[_0x133be0(0x1fe)][_0x133be0(0x1f2)]()[_0x133be0(0x231)](_0x315b10));return _0x6772ec;}});}());}));}(Ce)),Ce[_0x24a657(0x3eb)];}var tn=Ie['exports'],nt;function Dt(){var _0x431100=_0x23172e;return nt||(nt=0x1,function(_0xa08e31,_0x37cdc0){(function(_0x184cd3,_0x2e02f8,_0x280ae2){var _0x521bef=_0x4477;_0xa08e31[_0x521bef(0x3eb)]=_0x2e02f8(ee(),Zi(),en());}(tn,function(_0x83e1){return(function(){var _0x3d1495=_0x4477,_0x479976=_0x83e1,_0x4804af=_0x479976['lib'],_0x1df5c7=_0x4804af[_0x3d1495(0x380)],_0x90bf87=_0x4804af['WordArray'],_0x11d4c1=_0x479976[_0x3d1495(0x24e)],_0x4b044f=_0x11d4c1[_0x3d1495(0x141)],_0x2cd51a=_0x11d4c1[_0x3d1495(0x39b)]=_0x1df5c7[_0x3d1495(0x46b)]({'cfg':_0x1df5c7[_0x3d1495(0x46b)]({'keySize':0x80/0x20,'hasher':_0x4b044f,'iterations':0x1}),'init':function(_0xb64872){var _0x436a86=_0x3d1495;this[_0x436a86(0x342)]=this[_0x436a86(0x342)][_0x436a86(0x46b)](_0xb64872);},'compute':function(_0x421424,_0x31f0b8){var _0x51edec=_0x3d1495;for(var _0xb7e245,_0x3c8e5c=this['cfg'],_0x3d1e68=_0x3c8e5c[_0x51edec(0x40a)][_0x51edec(0x3c1)](),_0x5a286d=_0x90bf87[_0x51edec(0x3c1)](),_0x5d6a5d=_0x5a286d[_0x51edec(0x43a)],_0x5ca3a0=_0x3c8e5c[_0x51edec(0x3ad)],_0x4d78c4=_0x3c8e5c['iterations'];_0x5d6a5d['length']<_0x5ca3a0;){_0xb7e245&&_0x3d1e68['update'](_0xb7e245),_0xb7e245=_0x3d1e68[_0x51edec(0x41e)](_0x421424)['finalize'](_0x31f0b8),_0x3d1e68[_0x51edec(0x3fc)]();for(var _0x29129d=0x1;_0x29129d<_0x4d78c4;_0x29129d++)_0xb7e245=_0x3d1e68[_0x51edec(0x1fd)](_0xb7e245),_0x3d1e68['reset']();_0x5a286d[_0x51edec(0x231)](_0xb7e245);}return _0x5a286d[_0x51edec(0x1b6)]=_0x5ca3a0*0x4,_0x5a286d;}});_0x479976[_0x3d1495(0x39b)]=function(_0x14a07e,_0x2e1d67,_0x38bdbf){var _0x5e9942=_0x3d1495;return _0x2cd51a[_0x5e9942(0x3c1)](_0x38bdbf)[_0x5e9942(0x41a)](_0x14a07e,_0x2e1d67);};}()),_0x83e1['EvpKDF'];}));}(Ie)),Ie[_0x431100(0x3eb)];}var Te={'exports':{}},nn=Te[_0x23172e(0x3eb)],rt;function wt(){var _0x2d313a=_0x23172e;return rt||(rt=0x1,function(_0x2c1978,_0x596461){(function(_0x4c5057,_0x1f2c47,_0x1f7b66){_0x2c1978['exports']=_0x1f2c47(ee(),Dt());}(nn,function(_0xc43969){var _0x3f3b5e=_0x4477;_0xc43969['lib'][_0x3f3b5e(0x355)]||function(_0x186c10){var _0x5d1931=_0x3f3b5e,_0x32ad3a=_0xc43969,_0x47742b=_0x32ad3a[_0x5d1931(0x1d7)],_0x3ea1c7=_0x47742b[_0x5d1931(0x380)],_0x427884=_0x47742b[_0x5d1931(0x1a8)],_0x514dc0=_0x47742b[_0x5d1931(0x2c1)],_0x2f4168=_0x32ad3a[_0x5d1931(0x3d2)];_0x2f4168[_0x5d1931(0x35e)];var _0xfb22a8=_0x2f4168[_0x5d1931(0x217)],_0x2d6698=_0x32ad3a[_0x5d1931(0x24e)],_0x298a73=_0x2d6698[_0x5d1931(0x39b)],_0x5d00cf=_0x47742b[_0x5d1931(0x355)]=_0x514dc0[_0x5d1931(0x46b)]({'cfg':_0x3ea1c7[_0x5d1931(0x46b)](),'createEncryptor':function(_0x47b7c8,_0x34f5f1){var _0x571877=_0x5d1931;return this[_0x571877(0x3c1)](this[_0x571877(0x242)],_0x47b7c8,_0x34f5f1);},'createDecryptor':function(_0x478afc,_0x17e029){var _0x5cfa73=_0x5d1931;return this['create'](this[_0x5cfa73(0x3ab)],_0x478afc,_0x17e029);},'init':function(_0x10f447,_0x36f6d1,_0x10467c){var _0x2bc817=_0x5d1931;this[_0x2bc817(0x342)]=this['cfg']['extend'](_0x10467c),this[_0x2bc817(0x172)]=_0x10f447,this['_key']=_0x36f6d1,this[_0x2bc817(0x3fc)]();},'reset':function(){var _0x46bc42=_0x5d1931;_0x514dc0[_0x46bc42(0x3fc)][_0x46bc42(0x1c7)](this),this[_0x46bc42(0x455)]();},'process':function(_0x398474){var _0x221df1=_0x5d1931;return this['_append'](_0x398474),this[_0x221df1(0x1ce)]();},'finalize':function(_0x2774db){var _0x5c504e=_0x5d1931;_0x2774db&&this['_append'](_0x2774db);var _0xfe5def=this[_0x5c504e(0x45f)]();return _0xfe5def;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x526c66(_0x2b42e7){var _0x4886eb=_0x4477;return typeof _0x2b42e7==_0x4886eb(0x2f2)?_0xb120f2:_0x582088;}return function(_0xac984e){return{'encrypt':function(_0x46edef,_0x5188ce,_0x190962){return _0x526c66(_0x5188ce)['encrypt'](_0xac984e,_0x46edef,_0x5188ce,_0x190962);},'decrypt':function(_0x1537c1,_0x1bcbaf,_0x2f50bc){var _0x508147=_0x4477;return _0x526c66(_0x1bcbaf)[_0x508147(0x34b)](_0xac984e,_0x1537c1,_0x1bcbaf,_0x2f50bc);}};};}())});_0x47742b[_0x5d1931(0x401)]=_0x5d00cf[_0x5d1931(0x46b)]({'_doFinalize':function(){var _0x66fe35=_0x5d1931,_0x245f7b=this[_0x66fe35(0x1ce)](!0x0);return _0x245f7b;},'blockSize':0x1});var _0x1f9805=_0x32ad3a[_0x5d1931(0x37c)]={},_0x57f3a6=_0x47742b[_0x5d1931(0x30b)]=_0x3ea1c7['extend']({'createEncryptor':function(_0x4eef32,_0xd11f22){var _0x3ebce1=_0x5d1931;return this[_0x3ebce1(0x18a)]['create'](_0x4eef32,_0xd11f22);},'createDecryptor':function(_0x36b1a0,_0x2b86a7){var _0x1d2c8a=_0x5d1931;return this['Decryptor'][_0x1d2c8a(0x3c1)](_0x36b1a0,_0x2b86a7);},'init':function(_0x4e87d6,_0x52067d){var _0x26410c=_0x5d1931;this[_0x26410c(0x477)]=_0x4e87d6,this[_0x26410c(0x498)]=_0x52067d;}}),_0x2f5a57=_0x1f9805[_0x5d1931(0x2d8)]=(function(){var _0x28a06d=_0x5d1931,_0x54083b=_0x57f3a6[_0x28a06d(0x46b)]();_0x54083b[_0x28a06d(0x18a)]=_0x54083b['extend']({'processBlock':function(_0x3e794d,_0x4a9dca){var _0x30ff13=_0x28a06d,_0x582585=this[_0x30ff13(0x477)],_0x467633=_0x582585['blockSize'];_0x7fc5fa['call'](this,_0x3e794d,_0x4a9dca,_0x467633),_0x582585['encryptBlock'](_0x3e794d,_0x4a9dca),this[_0x30ff13(0x2e2)]=_0x3e794d['slice'](_0x4a9dca,_0x4a9dca+_0x467633);}}),_0x54083b['Decryptor']=_0x54083b[_0x28a06d(0x46b)]({'processBlock':function(_0x4d59b8,_0x322025){var _0x5f10ba=_0x28a06d,_0x243180=this[_0x5f10ba(0x477)],_0x53d60c=_0x243180[_0x5f10ba(0x1ae)],_0x4bd5a0=_0x4d59b8[_0x5f10ba(0x43c)](_0x322025,_0x322025+_0x53d60c);_0x243180[_0x5f10ba(0x223)](_0x4d59b8,_0x322025),_0x7fc5fa[_0x5f10ba(0x1c7)](this,_0x4d59b8,_0x322025,_0x53d60c),this[_0x5f10ba(0x2e2)]=_0x4bd5a0;}});function _0x7fc5fa(_0x3fd7e2,_0x402618,_0x482b36){var _0x8f7c9f=_0x28a06d,_0x5b937d,_0x754383=this[_0x8f7c9f(0x498)];_0x754383?(_0x5b937d=_0x754383,this['_iv']=_0x186c10):_0x5b937d=this[_0x8f7c9f(0x2e2)];for(var _0x21a8de=0x0;_0x21a8de<_0x482b36;_0x21a8de++)_0x3fd7e2[_0x402618+_0x21a8de]^=_0x5b937d[_0x21a8de];}return _0x54083b;}()),_0x94c5ad=_0x32ad3a[_0x5d1931(0x2b0)]={},_0x1904f0=_0x94c5ad[_0x5d1931(0x347)]={'pad':function(_0x41783e,_0x4e67e0){var _0x4e1e62=_0x5d1931;for(var _0x553485=_0x4e67e0*0x4,_0xf6f365=_0x553485-_0x41783e['sigBytes']%_0x553485,_0x3be470=_0xf6f365<<0x18|_0xf6f365<<0x10|_0xf6f365<<0x8|_0xf6f365,_0x16ee37=[],_0x47f5d9=0x0;_0x47f5d9<_0xf6f365;_0x47f5d9+=0x4)_0x16ee37[_0x4e1e62(0x289)](_0x3be470);var _0x3a467d=_0x427884[_0x4e1e62(0x3c1)](_0x16ee37,_0xf6f365);_0x41783e[_0x4e1e62(0x231)](_0x3a467d);},'unpad':function(_0x36342f){var _0x3ffe7b=_0x5d1931,_0x2ced09=_0x36342f[_0x3ffe7b(0x43a)][_0x36342f[_0x3ffe7b(0x1b6)]-0x1>>>0x2]&0xff;_0x36342f['sigBytes']-=_0x2ced09;}};_0x47742b[_0x5d1931(0x36b)]=_0x5d00cf[_0x5d1931(0x46b)]({'cfg':_0x5d00cf[_0x5d1931(0x342)]['extend']({'mode':_0x2f5a57,'padding':_0x1904f0}),'reset':function(){var _0x4dc5d6=_0x5d1931,_0x1a6003;_0x5d00cf[_0x4dc5d6(0x3fc)][_0x4dc5d6(0x1c7)](this);var _0x36e04a=this[_0x4dc5d6(0x342)],_0x4ccbc3=_0x36e04a['iv'],_0x47f6ae=_0x36e04a[_0x4dc5d6(0x37c)];this['_xformMode']==this[_0x4dc5d6(0x242)]?_0x1a6003=_0x47f6ae['createEncryptor']:(_0x1a6003=_0x47f6ae[_0x4dc5d6(0x14d)],this[_0x4dc5d6(0x1b3)]=0x1),this['_mode']&&this[_0x4dc5d6(0x45b)][_0x4dc5d6(0x320)]==_0x1a6003?this[_0x4dc5d6(0x45b)]['init'](this,_0x4ccbc3&&_0x4ccbc3[_0x4dc5d6(0x43a)]):(this['_mode']=_0x1a6003[_0x4dc5d6(0x1c7)](_0x47f6ae,this,_0x4ccbc3&&_0x4ccbc3[_0x4dc5d6(0x43a)]),this[_0x4dc5d6(0x45b)][_0x4dc5d6(0x320)]=_0x1a6003);},'_doProcessBlock':function(_0x981178,_0x3c1c21){var _0x475ac2=_0x5d1931;this[_0x475ac2(0x45b)][_0x475ac2(0x3a2)](_0x981178,_0x3c1c21);},'_doFinalize':function(){var _0x470d3e=_0x5d1931,_0x1e03c4,_0x5c5063=this['cfg']['padding'];return this[_0x470d3e(0x172)]==this[_0x470d3e(0x242)]?(_0x5c5063[_0x470d3e(0x2b0)](this['_data'],this[_0x470d3e(0x1ae)]),_0x1e03c4=this['_process'](!0x0)):(_0x1e03c4=this[_0x470d3e(0x1ce)](!0x0),_0x5c5063[_0x470d3e(0x281)](_0x1e03c4)),_0x1e03c4;},'blockSize':0x80/0x20});var _0x2fce18=_0x47742b[_0x5d1931(0x158)]=_0x3ea1c7[_0x5d1931(0x46b)]({'init':function(_0x40e225){var _0x4e761e=_0x5d1931;this[_0x4e761e(0x1ea)](_0x40e225);},'toString':function(_0x232fc3){return(_0x232fc3||this['formatter'])['stringify'](this);}}),_0x2fc76c=_0x32ad3a[_0x5d1931(0x150)]={},_0x2c5fb5=_0x2fc76c[_0x5d1931(0x255)]={'stringify':function(_0x240f48){var _0x36ccd2=_0x5d1931,_0xf8f89e,_0x36491a=_0x240f48[_0x36ccd2(0x269)],_0x5d8b8d=_0x240f48[_0x36ccd2(0x373)];return _0x5d8b8d?_0xf8f89e=_0x427884['create']([0x53616c74,0x65645f5f])[_0x36ccd2(0x231)](_0x5d8b8d)[_0x36ccd2(0x231)](_0x36491a):_0xf8f89e=_0x36491a,_0xf8f89e[_0x36ccd2(0x459)](_0xfb22a8);},'parse':function(_0x4e9116){var _0x374430=_0x5d1931,_0x5d7193,_0x9760d8=_0xfb22a8[_0x374430(0x444)](_0x4e9116),_0x5ea545=_0x9760d8[_0x374430(0x43a)];return _0x5ea545[0x0]==0x53616c74&&_0x5ea545[0x1]==0x65645f5f&&(_0x5d7193=_0x427884[_0x374430(0x3c1)](_0x5ea545[_0x374430(0x43c)](0x2,0x4)),_0x5ea545[_0x374430(0x4b2)](0x0,0x4),_0x9760d8['sigBytes']-=0x10),_0x2fce18['create']({'ciphertext':_0x9760d8,'salt':_0x5d7193});}},_0x582088=_0x47742b[_0x5d1931(0x29f)]=_0x3ea1c7[_0x5d1931(0x46b)]({'cfg':_0x3ea1c7[_0x5d1931(0x46b)]({'format':_0x2c5fb5}),'encrypt':function(_0x1d9fa0,_0x50abff,_0x21f1d9,_0x33d777){var _0x2caa42=_0x5d1931;_0x33d777=this['cfg'][_0x2caa42(0x46b)](_0x33d777);var _0x51b31=_0x1d9fa0[_0x2caa42(0x3fb)](_0x21f1d9,_0x33d777),_0x78f351=_0x51b31['finalize'](_0x50abff),_0x45516d=_0x51b31[_0x2caa42(0x342)];return _0x2fce18[_0x2caa42(0x3c1)]({'ciphertext':_0x78f351,'key':_0x21f1d9,'iv':_0x45516d['iv'],'algorithm':_0x1d9fa0,'mode':_0x45516d[_0x2caa42(0x37c)],'padding':_0x45516d[_0x2caa42(0x175)],'blockSize':_0x1d9fa0[_0x2caa42(0x1ae)],'formatter':_0x33d777[_0x2caa42(0x150)]});},'decrypt':function(_0x3ca199,_0x59eda1,_0x345e82,_0x5176da){var _0x15909c=_0x5d1931;_0x5176da=this[_0x15909c(0x342)][_0x15909c(0x46b)](_0x5176da),_0x59eda1=this[_0x15909c(0x418)](_0x59eda1,_0x5176da[_0x15909c(0x150)]);var _0x2b9e23=_0x3ca199['createDecryptor'](_0x345e82,_0x5176da)[_0x15909c(0x1fd)](_0x59eda1['ciphertext']);return _0x2b9e23;},'_parse':function(_0x289262,_0x5e751d){var _0x500d87=_0x5d1931;return typeof _0x289262==_0x500d87(0x2f2)?_0x5e751d[_0x500d87(0x444)](_0x289262,this):_0x289262;}}),_0x4ec733=_0x32ad3a[_0x5d1931(0x2c7)]={},_0x3b1b7b=_0x4ec733['OpenSSL']={'execute':function(_0x3e5430,_0x4a8a18,_0x4fe7df,_0x2e1878,_0x2dd70e){var _0x194dbb=_0x5d1931;if(_0x2e1878||(_0x2e1878=_0x427884[_0x194dbb(0x3c5)](0x40/0x8)),_0x2dd70e)var _0x1f52d5=_0x298a73['create']({'keySize':_0x4a8a18+_0x4fe7df,'hasher':_0x2dd70e})[_0x194dbb(0x41a)](_0x3e5430,_0x2e1878);else var _0x1f52d5=_0x298a73[_0x194dbb(0x3c1)]({'keySize':_0x4a8a18+_0x4fe7df})[_0x194dbb(0x41a)](_0x3e5430,_0x2e1878);var _0x3972a2=_0x427884[_0x194dbb(0x3c1)](_0x1f52d5[_0x194dbb(0x43a)][_0x194dbb(0x43c)](_0x4a8a18),_0x4fe7df*0x4);return _0x1f52d5[_0x194dbb(0x1b6)]=_0x4a8a18*0x4,_0x2fce18['create']({'key':_0x1f52d5,'iv':_0x3972a2,'salt':_0x2e1878});}},_0xb120f2=_0x47742b['PasswordBasedCipher']=_0x582088['extend']({'cfg':_0x582088[_0x5d1931(0x342)][_0x5d1931(0x46b)]({'kdf':_0x3b1b7b}),'encrypt':function(_0x400c1c,_0x58ddd3,_0x4e89db,_0x29bbdb){var _0x16ed5e=_0x5d1931;_0x29bbdb=this[_0x16ed5e(0x342)][_0x16ed5e(0x46b)](_0x29bbdb);var _0x569d6e=_0x29bbdb['kdf'][_0x16ed5e(0x143)](_0x4e89db,_0x400c1c[_0x16ed5e(0x3ad)],_0x400c1c['ivSize'],_0x29bbdb[_0x16ed5e(0x373)],_0x29bbdb[_0x16ed5e(0x40a)]);_0x29bbdb['iv']=_0x569d6e['iv'];var _0x1529e3=_0x582088[_0x16ed5e(0x294)][_0x16ed5e(0x1c7)](this,_0x400c1c,_0x58ddd3,_0x569d6e['key'],_0x29bbdb);return _0x1529e3[_0x16ed5e(0x1ea)](_0x569d6e),_0x1529e3;},'decrypt':function(_0x3c3a93,_0xafd9dc,_0x1a854a,_0x1c847e){var _0x392838=_0x5d1931;_0x1c847e=this[_0x392838(0x342)][_0x392838(0x46b)](_0x1c847e),_0xafd9dc=this[_0x392838(0x418)](_0xafd9dc,_0x1c847e[_0x392838(0x150)]);var _0x154637=_0x1c847e[_0x392838(0x2c7)]['execute'](_0x1a854a,_0x3c3a93['keySize'],_0x3c3a93['ivSize'],_0xafd9dc[_0x392838(0x373)],_0x1c847e[_0x392838(0x40a)]);_0x1c847e['iv']=_0x154637['iv'];var _0x3cc84d=_0x582088[_0x392838(0x34b)][_0x392838(0x1c7)](this,_0x3c3a93,_0xafd9dc,_0x154637[_0x392838(0x295)],_0x1c847e);return _0x3cc84d;}});}();}));}(Te)),Te[_0x2d313a(0x3eb)];}var rn=Se[_0x23172e(0x3eb)],st;function sn(){var _0x4fa18e=_0x23172e;return st||(st=0x1,function(_0x2c2f78,_0x473827){(function(_0x2f4ddc,_0x57afc5,_0x273ef6){_0x2c2f78['exports']=_0x57afc5(ee(),Ut(),Ji(),Dt(),wt());}(rn,function(_0x1295ad){var _0x335c1d=_0x4477;return(function(){var _0x222808=_0x4477,_0x5ed9d1=_0x1295ad,_0x50d751=_0x5ed9d1['lib'],_0x3afdfe=_0x50d751[_0x222808(0x36b)],_0x53a5e8=_0x5ed9d1[_0x222808(0x24e)],_0x20828e=[],_0x5a62b4=[],_0x3164fc=[],_0x303724=[],_0xddd3e1=[],_0x2f18ac=[],_0x740ce2=[],_0x28c6c6=[],_0x5c869c=[],_0x205b15=[];(function(){for(var _0x2dbd10=[],_0x2d39fc=0x0;_0x2d39fc<0x100;_0x2d39fc++)_0x2d39fc<0x80?_0x2dbd10[_0x2d39fc]=_0x2d39fc<<0x1:_0x2dbd10[_0x2d39fc]=_0x2d39fc<<0x1^0x11b;for(var _0x4ca7cd=0x0,_0x2145a8=0x0,_0x2d39fc=0x0;_0x2d39fc<0x100;_0x2d39fc++){var _0x2f5c65=_0x2145a8^_0x2145a8<<0x1^_0x2145a8<<0x2^_0x2145a8<<0x3^_0x2145a8<<0x4;_0x2f5c65=_0x2f5c65>>>0x8^_0x2f5c65&0xff^0x63,_0x20828e[_0x4ca7cd]=_0x2f5c65,_0x5a62b4[_0x2f5c65]=_0x4ca7cd;var _0x234eb4=_0x2dbd10[_0x4ca7cd],_0x13a2a9=_0x2dbd10[_0x234eb4],_0x318309=_0x2dbd10[_0x13a2a9],_0x955549=_0x2dbd10[_0x2f5c65]*0x101^_0x2f5c65*0x1010100;_0x3164fc[_0x4ca7cd]=_0x955549<<0x18|_0x955549>>>0x8,_0x303724[_0x4ca7cd]=_0x955549<<0x10|_0x955549>>>0x10,_0xddd3e1[_0x4ca7cd]=_0x955549<<0x8|_0x955549>>>0x18,_0x2f18ac[_0x4ca7cd]=_0x955549;var _0x955549=_0x318309*0x1010101^_0x13a2a9*0x10001^_0x234eb4*0x101^_0x4ca7cd*0x1010100;_0x740ce2[_0x2f5c65]=_0x955549<<0x18|_0x955549>>>0x8,_0x28c6c6[_0x2f5c65]=_0x955549<<0x10|_0x955549>>>0x10,_0x5c869c[_0x2f5c65]=_0x955549<<0x8|_0x955549>>>0x18,_0x205b15[_0x2f5c65]=_0x955549,_0x4ca7cd?(_0x4ca7cd=_0x234eb4^_0x2dbd10[_0x2dbd10[_0x2dbd10[_0x318309^_0x234eb4]]],_0x2145a8^=_0x2dbd10[_0x2dbd10[_0x2145a8]]):_0x4ca7cd=_0x2145a8=0x1;}}());var _0x104879=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ce6c0=_0x53a5e8[_0x222808(0x2ab)]=_0x3afdfe[_0x222808(0x46b)]({'_doReset':function(){var _0x588050=_0x222808,_0xcc1c39;if(!(this[_0x588050(0x1dd)]&&this[_0x588050(0x48b)]===this['_key'])){for(var _0x5bcd99=this[_0x588050(0x48b)]=this[_0x588050(0x24a)],_0x1337ad=_0x5bcd99[_0x588050(0x43a)],_0x488102=_0x5bcd99[_0x588050(0x1b6)]/0x4,_0x559461=this[_0x588050(0x1dd)]=_0x488102+0x6,_0x3a35d2=(_0x559461+0x1)*0x4,_0xf9e874=this[_0x588050(0x3dd)]=[],_0x4f7687=0x0;_0x4f7687<_0x3a35d2;_0x4f7687++)_0x4f7687<_0x488102?_0xf9e874[_0x4f7687]=_0x1337ad[_0x4f7687]:(_0xcc1c39=_0xf9e874[_0x4f7687-0x1],_0x4f7687%_0x488102?_0x488102>0x6&&_0x4f7687%_0x488102==0x4&&(_0xcc1c39=_0x20828e[_0xcc1c39>>>0x18]<<0x18|_0x20828e[_0xcc1c39>>>0x10&0xff]<<0x10|_0x20828e[_0xcc1c39>>>0x8&0xff]<<0x8|_0x20828e[_0xcc1c39&0xff]):(_0xcc1c39=_0xcc1c39<<0x8|_0xcc1c39>>>0x18,_0xcc1c39=_0x20828e[_0xcc1c39>>>0x18]<<0x18|_0x20828e[_0xcc1c39>>>0x10&0xff]<<0x10|_0x20828e[_0xcc1c39>>>0x8&0xff]<<0x8|_0x20828e[_0xcc1c39&0xff],_0xcc1c39^=_0x104879[_0x4f7687/_0x488102|0x0]<<0x18),_0xf9e874[_0x4f7687]=_0xf9e874[_0x4f7687-_0x488102]^_0xcc1c39);for(var _0x2cb26d=this['_invKeySchedule']=[],_0x54b29a=0x0;_0x54b29a<_0x3a35d2;_0x54b29a++){var _0x4f7687=_0x3a35d2-_0x54b29a;if(_0x54b29a%0x4)var _0xcc1c39=_0xf9e874[_0x4f7687];else var _0xcc1c39=_0xf9e874[_0x4f7687-0x4];_0x54b29a<0x4||_0x4f7687<=0x4?_0x2cb26d[_0x54b29a]=_0xcc1c39:_0x2cb26d[_0x54b29a]=_0x740ce2[_0x20828e[_0xcc1c39>>>0x18]]^_0x28c6c6[_0x20828e[_0xcc1c39>>>0x10&0xff]]^_0x5c869c[_0x20828e[_0xcc1c39>>>0x8&0xff]]^_0x205b15[_0x20828e[_0xcc1c39&0xff]];}}},'encryptBlock':function(_0x11fbcc,_0x5e888c){var _0x18f546=_0x222808;this[_0x18f546(0x244)](_0x11fbcc,_0x5e888c,this['_keySchedule'],_0x3164fc,_0x303724,_0xddd3e1,_0x2f18ac,_0x20828e);},'decryptBlock':function(_0x1044e3,_0xbc1899){var _0x59a260=_0x1044e3[_0xbc1899+0x1];_0x1044e3[_0xbc1899+0x1]=_0x1044e3[_0xbc1899+0x3],_0x1044e3[_0xbc1899+0x3]=_0x59a260,this['_doCryptBlock'](_0x1044e3,_0xbc1899,this['_invKeySchedule'],_0x740ce2,_0x28c6c6,_0x5c869c,_0x205b15,_0x5a62b4);var _0x59a260=_0x1044e3[_0xbc1899+0x1];_0x1044e3[_0xbc1899+0x1]=_0x1044e3[_0xbc1899+0x3],_0x1044e3[_0xbc1899+0x3]=_0x59a260;},'_doCryptBlock':function(_0x26b517,_0x4310c9,_0x16f61e,_0x2467c9,_0x5666e4,_0x2af282,_0x5e224e,_0x178b1d){var _0x19cf71=_0x222808;for(var _0x2d2b83=this[_0x19cf71(0x1dd)],_0x54266c=_0x26b517[_0x4310c9]^_0x16f61e[0x0],_0x522892=_0x26b517[_0x4310c9+0x1]^_0x16f61e[0x1],_0x2bfa47=_0x26b517[_0x4310c9+0x2]^_0x16f61e[0x2],_0x3c4ce3=_0x26b517[_0x4310c9+0x3]^_0x16f61e[0x3],_0x17260a=0x4,_0x6dbff7=0x1;_0x6dbff7<_0x2d2b83;_0x6dbff7++){var _0x562251=_0x2467c9[_0x54266c>>>0x18]^_0x5666e4[_0x522892>>>0x10&0xff]^_0x2af282[_0x2bfa47>>>0x8&0xff]^_0x5e224e[_0x3c4ce3&0xff]^_0x16f61e[_0x17260a++],_0x500877=_0x2467c9[_0x522892>>>0x18]^_0x5666e4[_0x2bfa47>>>0x10&0xff]^_0x2af282[_0x3c4ce3>>>0x8&0xff]^_0x5e224e[_0x54266c&0xff]^_0x16f61e[_0x17260a++],_0x542821=_0x2467c9[_0x2bfa47>>>0x18]^_0x5666e4[_0x3c4ce3>>>0x10&0xff]^_0x2af282[_0x54266c>>>0x8&0xff]^_0x5e224e[_0x522892&0xff]^_0x16f61e[_0x17260a++],_0x5a8655=_0x2467c9[_0x3c4ce3>>>0x18]^_0x5666e4[_0x54266c>>>0x10&0xff]^_0x2af282[_0x522892>>>0x8&0xff]^_0x5e224e[_0x2bfa47&0xff]^_0x16f61e[_0x17260a++];_0x54266c=_0x562251,_0x522892=_0x500877,_0x2bfa47=_0x542821,_0x3c4ce3=_0x5a8655;}var _0x562251=(_0x178b1d[_0x54266c>>>0x18]<<0x18|_0x178b1d[_0x522892>>>0x10&0xff]<<0x10|_0x178b1d[_0x2bfa47>>>0x8&0xff]<<0x8|_0x178b1d[_0x3c4ce3&0xff])^_0x16f61e[_0x17260a++],_0x500877=(_0x178b1d[_0x522892>>>0x18]<<0x18|_0x178b1d[_0x2bfa47>>>0x10&0xff]<<0x10|_0x178b1d[_0x3c4ce3>>>0x8&0xff]<<0x8|_0x178b1d[_0x54266c&0xff])^_0x16f61e[_0x17260a++],_0x542821=(_0x178b1d[_0x2bfa47>>>0x18]<<0x18|_0x178b1d[_0x3c4ce3>>>0x10&0xff]<<0x10|_0x178b1d[_0x54266c>>>0x8&0xff]<<0x8|_0x178b1d[_0x522892&0xff])^_0x16f61e[_0x17260a++],_0x5a8655=(_0x178b1d[_0x3c4ce3>>>0x18]<<0x18|_0x178b1d[_0x54266c>>>0x10&0xff]<<0x10|_0x178b1d[_0x522892>>>0x8&0xff]<<0x8|_0x178b1d[_0x2bfa47&0xff])^_0x16f61e[_0x17260a++];_0x26b517[_0x4310c9]=_0x562251,_0x26b517[_0x4310c9+0x1]=_0x500877,_0x26b517[_0x4310c9+0x2]=_0x542821,_0x26b517[_0x4310c9+0x3]=_0x5a8655;},'keySize':0x100/0x20});_0x5ed9d1[_0x222808(0x2ab)]=_0x3afdfe[_0x222808(0x2e0)](_0x1ce6c0);}()),_0x1295ad[_0x335c1d(0x2ab)];}));}(Se)),Se[_0x4fa18e(0x3eb)];}var on=sn();const an=fe(on);var cn=Ut();const ot=fe(cn);var be={'exports':{}},hn=be['exports'],at;function ln(){return at||(at=0x1,function(_0x4071f0,_0x1340fd){(function(_0x4e46dc,_0x35503d){_0x4071f0['exports']=_0x35503d(ee());}(hn,function(_0x17b2d4){var _0x19e817=_0x4477;return _0x17b2d4[_0x19e817(0x3d2)][_0x19e817(0x35e)];}));}(be)),be['exports'];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re[_0x23172e(0x3eb)],ct;function vn(){return ct||(ct=0x1,function(_0x47d78a,_0x4a2ec1){(function(_0x4d8acf,_0x5d0fe7){var _0x20a644=_0x4477;_0x47d78a[_0x20a644(0x3eb)]=_0x5d0fe7(ee());}(dn,function(_0x1b1514){var _0x3bcf8f=_0x4477;return(function(){var _0x410dfb=_0x4477;if(typeof ArrayBuffer==_0x410dfb(0x169)){var _0x9633a3=_0x1b1514,_0x567681=_0x9633a3[_0x410dfb(0x1d7)],_0x30e6a5=_0x567681[_0x410dfb(0x1a8)],_0x58ef20=_0x30e6a5[_0x410dfb(0x348)],_0x4f56fb=_0x30e6a5[_0x410dfb(0x348)]=function(_0x11703b){var _0x19076a=_0x410dfb;if(_0x11703b instanceof ArrayBuffer&&(_0x11703b=new Uint8Array(_0x11703b)),(_0x11703b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11703b instanceof Uint8ClampedArray||_0x11703b instanceof Int16Array||_0x11703b instanceof Uint16Array||_0x11703b instanceof Int32Array||_0x11703b instanceof Uint32Array||_0x11703b instanceof Float32Array||_0x11703b instanceof Float64Array)&&(_0x11703b=new Uint8Array(_0x11703b[_0x19076a(0x26e)],_0x11703b[_0x19076a(0x409)],_0x11703b[_0x19076a(0x388)])),_0x11703b instanceof Uint8Array){for(var _0xcea795=_0x11703b[_0x19076a(0x388)],_0x135709=[],_0x49bec3=0x0;_0x49bec3<_0xcea795;_0x49bec3++)_0x135709[_0x49bec3>>>0x2]|=_0x11703b[_0x49bec3]<<0x18-_0x49bec3%0x4*0x8;_0x58ef20[_0x19076a(0x1c7)](this,_0x135709,_0xcea795);}else _0x58ef20[_0x19076a(0x367)](this,arguments);};_0x4f56fb[_0x410dfb(0x27e)]=_0x30e6a5;}}()),_0x1b1514['lib'][_0x3bcf8f(0x1a8)];}));}(Re)),Re['exports'];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x23172e(0x3eb)],ht;function gn(){var _0x4e2388=_0x23172e;return ht||(ht=0x1,function(_0x1f8509,_0x5d08c3){(function(_0x5df2f7,_0x2a3a16,_0x1c5354){var _0x47b20a=_0x4477;_0x1f8509[_0x47b20a(0x3eb)]=_0x2a3a16(ee(),wt());}(pn,function(_0x4aa702){var _0x50fc6c=_0x4477;return _0x4aa702[_0x50fc6c(0x2b0)][_0x50fc6c(0x382)]={'pad':function(){},'unpad':function(){}},_0x4aa702[_0x50fc6c(0x2b0)][_0x50fc6c(0x382)];}));}(Oe)),Oe[_0x4e2388(0x3eb)];}var mn=gn();const In=fe(mn);function En(_0x14e174,_0x11c7ff){var _0x3daf7d=_0x23172e;const _0x961a90=_0x11c7ff-_0x14e174[_0x3daf7d(0x41c)]%_0x11c7ff,_0x4ba1a2=String[_0x3daf7d(0x3c2)](_0x961a90)[_0x3daf7d(0x2f6)](_0x961a90);return _0x14e174+_0x4ba1a2;}function Cn(_0x2641ae,_0x343fee){var _0x2a471a=_0x23172e;const _0x170f40=Sn['random'](0x10),_0x1d56cc=En(_0x2641ae,0x10),_0x5eeb31=an['encrypt'](un[_0x2a471a(0x444)](_0x1d56cc),ot['parse'](_0x343fee),{'iv':_0x170f40,'padding':In});return _0x170f40['concat'](_0x5eeb31[_0x2a471a(0x269)])['toString'](ot);}function Tn(){var _0x45e2e4=_0x23172e;const _0x33a6c7=jt[_0x45e2e4(0x3a0)]()[_0x45e2e4(0x392)];if(_0x33a6c7){const _0x21f8c7={'time':Math[_0x45e2e4(0x13f)](Date['now']()/0x3e8),'domain':location['hostname']};return Cn(JSON[_0x45e2e4(0x1c1)](_0x21f8c7),_0x33a6c7);}}var bn=Object[_0x23172e(0x357)],Rn=Object['getOwnPropertyDescriptor'],On=(_0x18abe5,_0x400aaf,_0x168334,_0x51e24c)=>{var _0x200a10=_0x23172e;for(var _0x348722=_0x51e24c>0x1?void 0x0:_0x51e24c?Rn(_0x400aaf,_0x168334):_0x400aaf,_0x46bfa4=_0x18abe5[_0x200a10(0x41c)]-0x1,_0x10495e;_0x46bfa4>=0x0;_0x46bfa4--)(_0x10495e=_0x18abe5[_0x46bfa4])&&(_0x348722=(_0x51e24c?_0x10495e(_0x400aaf,_0x168334,_0x348722):_0x10495e(_0x348722))||_0x348722);return _0x51e24c&&_0x348722&&bn(_0x400aaf,_0x168334,_0x348722),_0x348722;},yn=(_0x35bb56,_0x49b961)=>(_0x46996d,_0x463756)=>_0x49b961(_0x46996d,_0x463756,_0x35bb56);let Pe=class{constructor(_0x44d256){var _0x392d7d=_0x23172e;this[_0x392d7d(0x34f)]=_0x44d256,this[_0x392d7d(0x1ad)]();}[_0x23172e(0x1ad)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x397ba0,_0x3b9be0)=>{var _0x4a81b9=_0x4477;const _0x2acbd5=_0x397ba0['headers'],_0x1df810=Tn();return _0x1df810&&_0x2acbd5['set'](_0x4a81b9(0x264),_0x1df810),_0x3b9be0(_0x397ba0);}});}};Pe=On([yn(0x0,a[_0x23172e(0x301)](z[_0x23172e(0x48f)]))],Pe);var Pn=Object[_0x23172e(0x357)],Nn=Object['getOwnPropertyDescriptor'],Un=(_0x326a8a,_0x46bc02,_0x665374,_0x11fb53)=>{var _0x421132=_0x23172e;for(var _0x3637fc=_0x11fb53>0x1?void 0x0:_0x11fb53?Nn(_0x46bc02,_0x665374):_0x46bc02,_0x5a9b4a=_0x326a8a[_0x421132(0x41c)]-0x1,_0x31023b;_0x5a9b4a>=0x0;_0x5a9b4a--)(_0x31023b=_0x326a8a[_0x5a9b4a])&&(_0x3637fc=(_0x11fb53?_0x31023b(_0x46bc02,_0x665374,_0x3637fc):_0x31023b(_0x3637fc))||_0x3637fc);return _0x11fb53&&_0x3637fc&&Pn(_0x46bc02,_0x665374,_0x3637fc),_0x3637fc;},Me=(_0x4048df,_0x2f8a26)=>(_0x192707,_0x594d1e)=>_0x2f8a26(_0x192707,_0x594d1e,_0x4048df);exports['DataLoaderService']=class extends a[_0x23172e(0x440)]{constructor(_0x481a0b,_0x207ec6,_0x2f887b){var _0x35bc6b=_0x23172e;super(),D(this,_0x35bc6b(0x219),new H[(_0x35bc6b(0x420))](null)),D(this,'unitInfo$',this[_0x35bc6b(0x219)][_0x35bc6b(0x1df)]()),(this[_0x35bc6b(0x377)]=_0x481a0b,this[_0x35bc6b(0x344)]=_0x207ec6,this[_0x35bc6b(0x38c)]=_0x2f887b);}async[_0x23172e(0x3ee)](_0x19afcb,_0x17d4bb,_0x3c731c){var _0x2f8297=_0x23172e;this[_0x2f8297(0x219)][_0x2f8297(0x226)]({'unitId':_0x19afcb,'type':_0x17d4bb,'subUnitId':_0x3c731c});let _0x33d82e=null;switch(_0x17d4bb){case Z['UNIVER_SHEET']:{_0x33d82e=await this['_loadSheet'](_0x19afcb);break;}case Z[_0x2f8297(0x33a)]:{_0x33d82e=await this['_loadDoc'](_0x19afcb);break;}default:{this[_0x2f8297(0x377)][_0x2f8297(0x202)](_0x2f8297(0x1ca),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x33d82e;}async['_loadSheet'](_0x1e6ad7){var _0x1216eb=_0x23172e,_0x28f8b3;let _0x1b91c5=0x0;const _0x1fc59e=await((_0x28f8b3=this[_0x1216eb(0x38c)])==null?void 0x0:_0x28f8b3[_0x1216eb(0x3b1)](_0x1e6ad7));return _0x1fc59e&&(_0x1fc59e[_0x1216eb(0x24c)]||_0x1fc59e[_0x1216eb(0x475)][_0x1216eb(0x41c)]!==0x0)&&(_0x1b91c5=_0x1fc59e[_0x1216eb(0x492)]),_0x1b91c5===0x0&&this[_0x1216eb(0x377)]['debug']('[DataLoaderService]',_0x1216eb(0x1e6)),this[_0x1216eb(0x344)][_0x1216eb(0x228)](_0x1e6ad7,_0x1b91c5);}async[_0x23172e(0x384)](_0x59a30a){var _0x26a5f6=_0x23172e,_0x467148;let _0x2266ac=0x0;const _0x306506=await((_0x467148=this[_0x26a5f6(0x38c)])==null?void 0x0:_0x467148['loadOfflineData'](_0x59a30a));return _0x306506&&(_0x306506['awaitingChangeset']||_0x306506['mutations'][_0x26a5f6(0x41c)]!==0x0)&&(_0x2266ac=_0x306506[_0x26a5f6(0x492)]),_0x2266ac===0x0&&this[_0x26a5f6(0x377)][_0x26a5f6(0x277)]('[DataLoaderService]',_0x26a5f6(0x1e6)),this[_0x26a5f6(0x344)][_0x26a5f6(0x457)](_0x59a30a,_0x2266ac);}},exports[_0x23172e(0x2cb)]=Un([Me(0x0,a[_0x23172e(0x2cc)]),Me(0x1,a[_0x23172e(0x301)](m['SnapshotService'])),Me(0x2,a[_0x23172e(0x1ef)](J))],exports[_0x23172e(0x2cb)]);var Dn=Object[_0x23172e(0x357)],wn=Object[_0x23172e(0x26f)],An=(_0x2c74a6,_0xb0d322,_0x27ddb2,_0x4d6123)=>{var _0x35eb47=_0x23172e;for(var _0x47ce79=_0x4d6123>0x1?void 0x0:_0x4d6123?wn(_0xb0d322,_0x27ddb2):_0xb0d322,_0x4c0614=_0x2c74a6[_0x35eb47(0x41c)]-0x1,_0x1b8452;_0x4c0614>=0x0;_0x4c0614--)(_0x1b8452=_0x2c74a6[_0x4c0614])&&(_0x47ce79=(_0x4d6123?_0x1b8452(_0xb0d322,_0x27ddb2,_0x47ce79):_0x1b8452(_0x47ce79))||_0x47ce79);return _0x4d6123&&_0x47ce79&&Dn(_0xb0d322,_0x27ddb2,_0x47ce79),_0x47ce79;},xe=(_0xe63fd7,_0x49be66)=>(_0x28d70c,_0x2d6300)=>_0x49be66(_0x28d70c,_0x2d6300,_0xe63fd7);const Ln=[_0x23172e(0x1e3),_0x23172e(0x243),_0x23172e(0x3e1),_0x23172e(0x232),_0x23172e(0x353)],Mn=0x5*0x400*0x400,xn=_0x23172e(0x497),jn=_0x23172e(0x368),$n=_0x23172e(0x29b),Hn='/universer-api/file/{fileID}/sign-url';exports[_0x23172e(0x3b6)]=class{constructor(_0x8a5de9,_0x556cc1,_0x3ce160){var _0x3c2844=_0x23172e;D(this,_0x3c2844(0x413),0x0),D(this,_0x3c2844(0x390),new H[(_0x3c2844(0x414))]()),D(this,_0x3c2844(0x461),this[_0x3c2844(0x390)]),D(this,_0x3c2844(0x3ef),new Map()),(this['_httpService']=_0x8a5de9,this[_0x3c2844(0x1d9)]=_0x556cc1,this[_0x3c2844(0x3cd)]=_0x3ce160);}[_0x23172e(0x2be)](_0x341950){var _0x534101=_0x23172e;this[_0x534101(0x413)]=_0x341950,this[_0x534101(0x390)]['next'](_0x341950);}['getImageSourceCache'](_0x137be9,_0x105272){var _0x3ff2ce=_0x23172e;if(_0x105272===X[_0x3ff2ce(0x43e)]['BASE64']){const _0x22bf5b=new Image();return _0x22bf5b[_0x3ff2ce(0x33c)]=_0x137be9,_0x22bf5b;}return this[_0x3ff2ce(0x3ef)][_0x3ff2ce(0x251)](_0x137be9);}[_0x23172e(0x2aa)](_0x45f263,_0x1a910f,_0x50580f){var _0x3cea73=_0x23172e;_0x1a910f===X[_0x3cea73(0x43e)]['BASE64']||_0x50580f==null||this['_imageSourceCache'][_0x3cea73(0x422)](_0x45f263,_0x50580f);}async[_0x23172e(0x177)](_0x217c13){var _0x4b3009=_0x23172e;try{const _0x275c76=this[_0x4b3009(0x1be)](this['_getSignURL'](),''+_0x217c13),_0x4d246b=(await this[_0x4b3009(0x34f)][_0x4b3009(0x251)](_0x275c76))[_0x4b3009(0x493)];if(_0x4d246b[_0x4b3009(0x202)]&&_0x4d246b[_0x4b3009(0x202)][_0x4b3009(0x29a)]===Ct['OK']){const _0x2c6c32=new URL(_0x4d246b[_0x4b3009(0x1cb)],this[_0x4b3009(0x45e)]())[_0x4b3009(0x459)]();return Promise['resolve'](_0x2c6c32);}return Promise[_0x4b3009(0x222)](_0x4d246b[_0x4b3009(0x202)]);}catch(_0x50ff51){return Promise['reject'](_0x50ff51);}}async[_0x23172e(0x1c0)](_0x4dc18d){var _0x4293be=_0x23172e;let _0x3f173f='';if(!Ln['includes'](_0x4dc18d[_0x4293be(0x46d)]))return this['_decreaseWaiting'](),Promise[_0x4293be(0x222)](new Error(X[_0x4293be(0x318)]['ERROR_IMAGE_TYPE']));if(_0x4dc18d[_0x4293be(0x2fa)]>Mn)return this[_0x4293be(0x32a)](),Promise['reject'](new Error(X[_0x4293be(0x318)]['ERROR_EXCEED_SIZE']));try{const _0x3ca020=new FormData();_0x3ca020['append'](_0x4293be(0x2a6),_0x4dc18d);const _0x3fe94b=this['_univerInstanceService']['getFocusedUnit'](),_0x3ccfd9=_0x3fe94b==null?void 0x0:_0x3fe94b['getUnitId']();if(!_0x3ccfd9)throw new Error(_0x4293be(0x49d));const _0x21be9d=this[_0x4293be(0x3d6)]()+_0x4293be(0x462)+_0x4dc18d[_0x4293be(0x2fa)]['toString']()+_0x4293be(0x488)+Tt['UnitEmbedded']+_0x4293be(0x34d)+encodeURIComponent(_0x3ccfd9),_0x4d79cb=await(await fetch(_0x21be9d,{'method':'POST','body':_0x3ca020}))[_0x4293be(0x296)]();if(typeof _0x4d79cb[_0x4293be(0x235)]!=_0x4293be(0x2f2))return this['_decreaseWaiting'](),Promise[_0x4293be(0x222)](new Error(X[_0x4293be(0x318)]['ERROR_IMAGE']));_0x3f173f=_0x4d79cb['FileId'];}catch{return this[_0x4293be(0x32a)](),Promise[_0x4293be(0x222)](new Error(X['ImageUploadStatusType'][_0x4293be(0x1b2)]));}return new Promise((_0x4ec28b,_0x2860c3)=>{var _0x597708=_0x4293be;const _0x11d2ec=new FileReader();_0x11d2ec[_0x597708(0x329)](_0x4dc18d),_0x11d2ec['onload']=_0x5d9e2b=>{var _0x2562b2=_0x597708,_0x59cdde;const _0x1ed251=(_0x59cdde=_0x5d9e2b[_0x2562b2(0x2bb)])==null?void 0x0:_0x59cdde['result'];if(_0x1ed251==null){this['_decreaseWaiting'](),_0x2860c3(new Error(X[_0x2562b2(0x318)][_0x2562b2(0x1b2)]));return;}const _0x1780a2=a['Tools'][_0x2562b2(0x271)](0x6);_0x4ec28b({'imageId':_0x1780a2,'imageSourceType':X['ImageSourceType']['UUID'],'source':_0x3f173f,'base64Cache':_0x1ed251,'status':X['ImageUploadStatusType'][_0x2562b2(0x4b1)]}),this[_0x2562b2(0x32a)]();};});}[_0x23172e(0x3d6)](){var _0x26bf7f=_0x23172e,_0x3e717a,_0x28fb0e;const _0x242a18=this['_configService'][_0x26bf7f(0x4a8)](xn),_0x44cd98=this[_0x26bf7f(0x1d9)][_0x26bf7f(0x4a8)](q);return(_0x28fb0e=(_0x3e717a=_0x44cd98==null?void 0x0:_0x44cd98[_0x26bf7f(0x257)])!=null?_0x3e717a:_0x242a18)!=null?_0x28fb0e:jn;}['_getSignURL'](){var _0xbc8a49=_0x23172e,_0x3e0a87,_0x3f7735;const _0x342e72=this[_0xbc8a49(0x1d9)][_0xbc8a49(0x4a8)]($n),_0x4e3486=this['_configService'][_0xbc8a49(0x4a8)](q);return(_0x3f7735=(_0x3e0a87=_0x4e3486==null?void 0x0:_0x4e3486['signUrlServerUrl'])!=null?_0x3e0a87:_0x342e72)!=null?_0x3f7735:Hn;}[_0x23172e(0x45e)](){var _0x49d10b=_0x23172e,_0x864326;const _0x2e1464=this[_0x49d10b(0x1d9)][_0x49d10b(0x4a8)](q);return(_0x864326=_0x2e1464==null?void 0x0:_0x2e1464[_0x49d10b(0x197)])!=null?_0x864326:location['origin'];}[_0x23172e(0x1be)](_0x37650b,_0x40076b){var _0x1b84aa=_0x23172e;return _0x37650b[_0x1b84aa(0x47a)](_0x1b84aa(0x3d3),_0x40076b);}[_0x23172e(0x32a)](){var _0x25a054=_0x23172e;this[_0x25a054(0x413)]-=0x1,this['_change$']['next'](this[_0x25a054(0x413)]);}},exports[_0x23172e(0x3b6)]=An([xe(0x0,a[_0x23172e(0x301)](z[_0x23172e(0x48f)])),xe(0x1,a[_0x23172e(0x31f)]),xe(0x2,a[_0x23172e(0x301)](a[_0x23172e(0x3b8)]))],exports['CollaborationImageIoService']);var kn=Object[_0x23172e(0x357)],Bn=Object[_0x23172e(0x26f)],Fn=(_0x3b18f3,_0x54e18a,_0x2e97b6,_0x1755a8)=>{for(var _0x5a508e=_0x1755a8>0x1?void 0x0:_0x1755a8?Bn(_0x54e18a,_0x2e97b6):_0x54e18a,_0x935d04=_0x3b18f3['length']-0x1,_0x20cc71;_0x935d04>=0x0;_0x935d04--)(_0x20cc71=_0x3b18f3[_0x935d04])&&(_0x5a508e=(_0x1755a8?_0x20cc71(_0x54e18a,_0x2e97b6,_0x5a508e):_0x20cc71(_0x5a508e))||_0x5a508e);return _0x1755a8&&_0x5a508e&&kn(_0x54e18a,_0x2e97b6,_0x5a508e),_0x5a508e;},lt=(_0x4b4e5c,_0x327597)=>(_0xd63b48,_0x5bc095)=>_0x327597(_0xd63b48,_0x5bc095,_0x4b4e5c);const Wn=_0x23172e(0x421);exports[_0x23172e(0x31c)]=class{constructor(_0x2f26e0,_0x599378){var _0x68af79=_0x23172e;this['_configService']=_0x2f26e0,this[_0x68af79(0x18e)]=_0x599378;}[_0x23172e(0x407)](){var _0x4db5bd=_0x23172e,_0x3f6869,_0xd41b6a;const _0x220774=this[_0x4db5bd(0x1d9)][_0x4db5bd(0x4a8)](Ge),_0x2cc233=this[_0x4db5bd(0x1d9)][_0x4db5bd(0x4a8)](q);return(_0xd41b6a=(_0x3f6869=_0x2cc233==null?void 0x0:_0x2cc233[_0x4db5bd(0x293)])!=null?_0x3f6869:_0x220774)!=null?_0xd41b6a:Wn;}async[_0x23172e(0x2ae)](_0x4a9ed7){var _0x2e967b=_0x23172e;const _0xb78da1=this[_0x2e967b(0x407)]()+_0x2e967b(0x489);return{'list':[{'title':'People','mentions':(await this[_0x2e967b(0x18e)][_0x2e967b(0x251)](_0xb78da1,{'params':{'objectID':_0x4a9ed7[_0x2e967b(0x1a7)],'unitID':_0x4a9ed7['unitId']}}))[_0x2e967b(0x493)][_0x2e967b(0x41f)]['map'](_0x38c5fc=>({'objectId':_0x38c5fc['id'],'name':_0x38c5fc[_0x2e967b(0x369)]['name'],'metadata':{'icon':_0x38c5fc['subject'][_0x2e967b(0x44d)]},'label':_0x38c5fc[_0x2e967b(0x369)][_0x2e967b(0x1fb)],'objectType':a[_0x2e967b(0x2fd)]['PERSON']})),'metadata':{},'type':a['MentionType'][_0x2e967b(0x412)]}]};}},exports[_0x23172e(0x31c)]=Fn([lt(0x0,a['Inject'](a[_0x23172e(0x31f)])),lt(0x1,a['Inject'](z['HTTPService']))],exports[_0x23172e(0x31c)]);var Vn=Object[_0x23172e(0x357)],Gn=Object[_0x23172e(0x26f)],Kn=(_0x4419f6,_0x4b076e,_0x2c018f,_0x557d84)=>{for(var _0x5bcdaf=_0x557d84>0x1?void 0x0:_0x557d84?Gn(_0x4b076e,_0x2c018f):_0x4b076e,_0x319a15=_0x4419f6['length']-0x1,_0xf31676;_0x319a15>=0x0;_0x319a15--)(_0xf31676=_0x4419f6[_0x319a15])&&(_0x5bcdaf=(_0x557d84?_0xf31676(_0x4b076e,_0x2c018f,_0x5bcdaf):_0xf31676(_0x5bcdaf))||_0x5bcdaf);return _0x557d84&&_0x5bcdaf&&Vn(_0x4b076e,_0x2c018f,_0x5bcdaf),_0x5bcdaf;},ce=(_0x3cae90,_0x5be455)=>(_0x51b916,_0x5bdd47)=>_0x5be455(_0x51b916,_0x5bdd47,_0x3cae90);let Ne=class extends a[_0x23172e(0x440)]{constructor(_0x3a0e4a,_0x393d47,_0x16c2a1,_0x806132,_0x432bf4,_0x59be12,_0xc58f13){var _0x46da01=_0x23172e;super(),this[_0x46da01(0x139)]=_0x3a0e4a,this['_univerInstanceService']=_0x393d47,this[_0x46da01(0x4b4)]=_0x16c2a1,this[_0x46da01(0x482)]=_0x806132,this[_0x46da01(0x3d9)]=_0x432bf4,this[_0x46da01(0x2e4)]=_0x59be12,this[_0x46da01(0x408)]=_0xc58f13,this['_initUnitPermissionChange'](),this[_0x46da01(0x2c2)]();}[_0x23172e(0x2c2)](){var _0x17e846=_0x23172e;const _0x234b00=async _0xbeab61=>{var _0x5c6ac9=_0x4477;(await this[_0x5c6ac9(0x482)]['requireSession'](_0xbeab61))['event$'][_0x5c6ac9(0x428)](V[_0x5c6ac9(0x319)](_0x5276a2=>_0x5276a2[_0x5c6ac9(0x39f)]===m['CollaborationEvent'][_0x5c6ac9(0x33d)]),V[_0x5c6ac9(0x164)](this[_0x5c6ac9(0x273)]))['subscribe'](_0x43a0d4=>{var _0x2dab77=_0x5c6ac9;const _0x55f41d=_0x43a0d4,{reason:_0x111953}=_0x55f41d[_0x2dab77(0x25a)];this[_0x2dab77(0x3d9)][_0x2dab77(0x195)]({'id':Q['CLOSE_ROOM'],'data':_0x111953}),this[_0x2dab77(0x4b4)][_0x2dab77(0x290)](new W[(_0x2dab77(0x247))](_0xbeab61)['id'],!0x1),this[_0x2dab77(0x482)][_0x2dab77(0x3e7)](_0xbeab61);});};H['merge'](this[_0x17e846(0x3cd)][_0x17e846(0x1f8)](a['UniverInstanceType'][_0x17e846(0x3bd)]),this[_0x17e846(0x3cd)][_0x17e846(0x1f8)](a['UniverInstanceType'][_0x17e846(0x33a)]))['pipe'](V[_0x17e846(0x3a8)](_0x15c97=>_0x15c97[_0x17e846(0x3e6)]()),V[_0x17e846(0x319)](_0x59dbd6=>!a[_0x17e846(0x17c)](_0x59dbd6)),V['takeUntil'](this[_0x17e846(0x273)]))[_0x17e846(0x2a9)](_0x401b43=>{_0x234b00(_0x401b43);});}[_0x23172e(0x332)](){var _0x242115=_0x23172e;const _0x48de76=async _0x47ff7c=>{var _0x26beb6=_0x4477;(await this['_collaborationSessionService'][_0x26beb6(0x237)](_0x47ff7c))[_0x26beb6(0x2dc)][_0x26beb6(0x428)](V[_0x26beb6(0x319)](_0x241350=>_0x241350[_0x26beb6(0x39f)]===m[_0x26beb6(0x466)][_0x26beb6(0x39d)]),V[_0x26beb6(0x164)](this[_0x26beb6(0x273)]))['subscribe'](_0x5e11b0=>{var _0x181504=_0x26beb6;const _0x353c9d=_0x5e11b0,{objectId:_0xccb568}=_0x353c9d[_0x181504(0x25a)];_0xccb568===_0x47ff7c?this[_0x181504(0x360)](_0x47ff7c):this[_0x181504(0x192)](_0x47ff7c,_0xccb568);});};H['merge'](this[_0x242115(0x3cd)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x242115(0x3bd)]),this[_0x242115(0x3cd)][_0x242115(0x1f8)](a[_0x242115(0x3b7)]['UNIVER_DOC']))[_0x242115(0x428)](V['map'](_0x3b839b=>_0x3b839b[_0x242115(0x3e6)]()),V[_0x242115(0x319)](_0x32cf3b=>!a[_0x242115(0x17c)](_0x32cf3b)),V[_0x242115(0x164)](this[_0x242115(0x273)]))[_0x242115(0x2a9)](_0x48a9c5=>{_0x48de76(_0x48a9c5);});}async['initWorkbookPermissionChange'](_0x5ad1ea){var _0x22f704=_0x23172e,_0x4df9f3;const _0x5eee42=_0x5ad1ea||((_0x4df9f3=this[_0x22f704(0x3cd)][_0x22f704(0x352)](a[_0x22f704(0x3b7)][_0x22f704(0x3bd)]))==null?void 0x0:_0x4df9f3[_0x22f704(0x3e6)]());_0x5eee42&&this['_authzIoService'][_0x22f704(0x288)]({'objectID':_0x5eee42,'objectType':W['UnitObject'][_0x22f704(0x3c9)],'unitID':_0x5eee42,'actions':W['defaultWorkbookPermissionPoints']})[_0x22f704(0x220)](_0x2b4bad=>{var _0xbc6850=_0x22f704;W[_0xbc6850(0x496)]()['forEach'](_0x369e79=>{var _0x8771df=_0xbc6850;const _0x302427=new _0x369e79(_0x5eee42),_0x47e88e=_0x302427[_0x8771df(0x27f)],_0xaf2cfe=_0x2b4bad[_0x8771df(0x1f6)](_0x492408=>_0x492408['action']===_0x47e88e);_0xaf2cfe&&this['_permissionService'][_0x8771df(0x290)](_0x302427['id'],_0xaf2cfe[_0x8771df(0x288)]);});});}[_0x23172e(0x192)](_0x450f51,_0x3f40e1){var _0x1c3b03=_0x23172e;const _0x58dff5=this['_injector'][_0x1c3b03(0x251)](W[_0x1c3b03(0x346)]),_0x1f193b=_0x58dff5[_0x1c3b03(0x2fe)](_0x450f51,_0x3f40e1);let _0x2e28de=!0x1;if(_0x1f193b){const [_0x3b0f4b,_0x58c2ad]=_0x1f193b;this[_0x1c3b03(0x2e4)][_0x1c3b03(0x288)]({'objectID':_0x3f40e1,'unitID':_0x450f51,'objectType':W[_0x1c3b03(0x33e)][_0x1c3b03(0x34e)],'actions':W[_0x1c3b03(0x3ed)]})[_0x1c3b03(0x220)](_0x5c7b36=>{var _0x172593=_0x1c3b03;let _0x1cc4d2='';W['getAllWorksheetPermissionPoint']()[_0x172593(0x3cc)](_0x167fef=>{var _0x2348e4=_0x172593,_0x44be63;const _0xb64522=new _0x167fef(_0x450f51,_0x58c2ad),_0x571777=_0xb64522[_0x2348e4(0x27f)],_0x893b42=_0x5c7b36['find'](_0x5a5b50=>_0x5a5b50[_0x2348e4(0x3f8)]===_0x571777);_0x893b42&&(((_0x44be63=this['_permissionService'][_0x2348e4(0x2f5)](_0xb64522['id']))==null?void 0x0:_0x44be63[_0x2348e4(0x16c)])!==_0x893b42[_0x2348e4(0x288)]&&(_0x2e28de=!0x0),this[_0x2348e4(0x4b4)][_0x2348e4(0x290)](_0xb64522['id'],_0x893b42['allowed']),_0x1cc4d2+=_0x893b42[_0x2348e4(0x3f8)]+'_'+_0x893b42[_0x2348e4(0x288)]);}),_0x58dff5['ruleRefresh'](_0x3f40e1+'_'+_0x1cc4d2),_0x2e28de&&this['_undoRedoService'][_0x172593(0x23c)](_0x450f51);});}const _0x1d1856=this['_injector'][_0x1c3b03(0x251)](W[_0x1c3b03(0x1a0)])['getTargetByPermissionId'](_0x450f51,_0x3f40e1);if(_0x1d1856){const [_0x561dd3,_0x55b9c7]=_0x1d1856;this[_0x1c3b03(0x2e4)][_0x1c3b03(0x288)]({'objectID':_0x3f40e1,'unitID':_0x450f51,'objectType':W[_0x1c3b03(0x33e)][_0x1c3b03(0x34e)],'actions':W[_0x1c3b03(0x19d)]})['then'](_0x1c8f5f=>{var _0xf43a39=_0x1c3b03;W[_0xf43a39(0x435)]()['forEach'](_0x192079=>{var _0xa54dcc=_0xf43a39,_0x3a8e46;const _0x479dd4=new _0x192079(_0x450f51,_0x55b9c7),_0x356389=_0x479dd4[_0xa54dcc(0x27f)],_0x3e08d5=_0x1c8f5f[_0xa54dcc(0x1f6)](_0x1646ab=>_0x1646ab[_0xa54dcc(0x3f8)]===_0x356389);_0x3e08d5&&(((_0x3a8e46=this['_permissionService'][_0xa54dcc(0x2f5)](_0x479dd4['id']))==null?void 0x0:_0x3a8e46[_0xa54dcc(0x16c)])!==_0x3e08d5[_0xa54dcc(0x288)]&&(_0x2e28de=!0x0),this[_0xa54dcc(0x4b4)][_0xa54dcc(0x290)](_0x479dd4['id'],_0x3e08d5[_0xa54dcc(0x288)]));}),_0x2e28de&&this['_undoRedoService'][_0xf43a39(0x23c)](_0x450f51);});}const _0x45993e=this[_0x1c3b03(0x139)][_0x1c3b03(0x251)](W[_0x1c3b03(0x140)]),_0x5af8cc=_0x45993e[_0x1c3b03(0x2fe)](_0x450f51,_0x3f40e1);if(_0x5af8cc){const [_0x27f48c,_0x32644d]=_0x5af8cc;this[_0x1c3b03(0x2e4)]['allowed']({'objectID':_0x3f40e1,'unitID':_0x450f51,'objectType':W[_0x1c3b03(0x33e)][_0x1c3b03(0x1bc)],'actions':W[_0x1c3b03(0x3ed)]})[_0x1c3b03(0x220)](_0x224c36=>{var _0x4f941c=_0x1c3b03;let _0x3cd5b2='';W[_0x4f941c(0x37d)]()[_0x4f941c(0x3cc)](_0x1bd8cb=>{var _0xfce267=_0x4f941c,_0x5072b1;const _0x1378c5=new _0x1bd8cb(_0x450f51,_0x32644d,_0x3f40e1),_0x2d3ead=_0x1378c5[_0xfce267(0x27f)],_0x1a9c6b=_0x224c36['find'](_0x1c6745=>_0x1c6745[_0xfce267(0x3f8)]===_0x2d3ead);_0x1a9c6b&&(((_0x5072b1=this[_0xfce267(0x4b4)][_0xfce267(0x2f5)](_0x1378c5['id']))==null?void 0x0:_0x5072b1[_0xfce267(0x16c)])!==_0x1a9c6b[_0xfce267(0x288)]&&(_0x2e28de=!0x0),this['_permissionService'][_0xfce267(0x290)](_0x1378c5['id'],_0x1a9c6b['allowed']),_0x3cd5b2+=_0x1a9c6b[_0xfce267(0x3f8)]+'_'+_0x1a9c6b['allowed']);}),_0x45993e[_0x4f941c(0x18d)](_0x3f40e1+'_'+_0x3cd5b2),_0x2e28de&&this[_0x4f941c(0x408)][_0x4f941c(0x23c)](_0x450f51);});}}};Ne=Kn([ce(0x0,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),ce(0x1,a[_0x23172e(0x3b8)]),ce(0x2,a[_0x23172e(0x36f)]),ce(0x3,a[_0x23172e(0x301)](exports[_0x23172e(0x2e9)])),ce(0x4,a[_0x23172e(0x301)](te)),ce(0x5,a[_0x23172e(0x336)]),ce(0x6,a[_0x23172e(0x2ce)])],Ne);var Yn=Object[_0x23172e(0x357)],qn=Object[_0x23172e(0x26f)],zn=(_0xcc696,_0x5ec269,_0x187a25,_0x57fb1c)=>{var _0x3dcfdb=_0x23172e;for(var _0x3aca78=_0x57fb1c>0x1?void 0x0:_0x57fb1c?qn(_0x5ec269,_0x187a25):_0x5ec269,_0x237714=_0xcc696[_0x3dcfdb(0x41c)]-0x1,_0xaa83b7;_0x237714>=0x0;_0x237714--)(_0xaa83b7=_0xcc696[_0x237714])&&(_0x3aca78=(_0x57fb1c?_0xaa83b7(_0x5ec269,_0x187a25,_0x3aca78):_0xaa83b7(_0x3aca78))||_0x3aca78);return _0x57fb1c&&_0x3aca78&&Yn(_0x5ec269,_0x187a25,_0x3aca78),_0x3aca78;},_t=(_0x5df135,_0x3dce74)=>(_0x514d87,_0xae158b)=>_0x3dce74(_0x514d87,_0xae158b,_0x5df135);exports[_0x23172e(0x224)]=class{constructor(_0x3ddca9,_0x1b01ec){var _0x4b20c8=_0x23172e;this[_0x4b20c8(0x1d9)]=_0x3ddca9,this[_0x4b20c8(0x34f)]=_0x1b01ec;}async[_0x23172e(0x286)](_0x1f6587,_0x2b6200){var _0x2e9760=_0x23172e,_0x2ae4b8;const {unitID:_0x1d9e01,type:_0x319f60,revision:_0x9d4382=0x0}=_0x2b6200,_0x5588d1=this['getSnapshotAPIPath']()+'/'+_0x319f60+'/unit/'+_0x1d9e01+_0x2e9760(0x210)+_0x9d4382,_0x35a550=(await this['_httpService'][_0x2e9760(0x251)](_0x5588d1))[_0x2e9760(0x493)],_0x4c2f4e=(_0x2ae4b8=_0x35a550[_0x2e9760(0x1b5)])==null?void 0x0:_0x2ae4b8[_0x2e9760(0x46a)];if(_0x4c2f4e){const _0x2ceb41=_0x4c2f4e==null?void 0x0:_0x4c2f4e[_0x2e9760(0x311)],_0x488873=m[_0x2e9760(0x3bc)]['encode'](m[_0x2e9760(0x315)](_0x2ceb41));_0x4c2f4e[_0x2e9760(0x311)]=_0x488873,Object[_0x2e9760(0x4ae)](_0x4c2f4e[_0x2e9760(0x14b)])[_0x2e9760(0x3cc)](([,_0x4ec2d6])=>{var _0x279a82=_0x2e9760;const _0x148644=_0x4ec2d6[_0x279a82(0x311)],_0x41b5ac=m[_0x279a82(0x3bc)][_0x279a82(0x4a9)](m[_0x279a82(0x315)](_0x148644));_0x4ec2d6[_0x279a82(0x311)]=_0x41b5ac;});}return _0x35a550;}async[_0x23172e(0x260)](_0x150370,_0x115e35){var _0x5a1d1c=_0x23172e;const {unitID:_0xe67026,type:_0x3883e8,blockID:_0x5ec812}=_0x115e35,_0x37dfc6=this[_0x5a1d1c(0x3c3)]()+'/'+_0x3883e8+_0x5a1d1c(0x167)+_0xe67026+'/block/'+_0x5ec812;return(await this[_0x5a1d1c(0x34f)][_0x5a1d1c(0x251)](_0x37dfc6))[_0x5a1d1c(0x493)];}async[_0x23172e(0x378)](_0x2fa03e,_0x4a1b7a){var _0x2790cd=_0x23172e;const {unitID:_0x2961fc,type:_0x4f417a,blockID:_0x439876}=_0x4a1b7a,_0x2ba690=this[_0x2790cd(0x3c3)]()+_0x2790cd(0x44b)+_0x4f417a+_0x2790cd(0x167)+_0x2961fc+_0x2790cd(0x44b)+_0x439876;return(await this['_httpService']['get'](_0x2ba690))[_0x2790cd(0x493)];}async[_0x23172e(0x42b)](_0x3a09b1,_0x419ef9){var _0x11691e=_0x23172e;const {unitID:_0x1c1b12,type:_0x1aa167,from:_0x89e12c,to:_0x45b872}=_0x419ef9,_0xea7dc9=this[_0x11691e(0x3c3)]()+'/'+_0x1aa167+_0x11691e(0x167)+_0x1c1b12+_0x11691e(0x40e)+_0x89e12c+'&to='+_0x45b872;return(await this[_0x11691e(0x34f)][_0x11691e(0x251)](_0xea7dc9))['body'];}['getSnapshotAPIPath'](){var _0x2bd584=_0x23172e,_0x4239c0;return(_0x4239c0=this[_0x2bd584(0x1d9)][_0x2bd584(0x4a8)](vt))!=null?_0x4239c0:this['_getAPIPrefix']();}[_0x23172e(0x3c3)](){var _0x4588f5=_0x23172e,_0x306dfe,_0x507f4f;const _0x93faee=this['_configService'][_0x4588f5(0x4a8)](dt),_0x5d3dc9=this['_configService'][_0x4588f5(0x4a8)](q);return(_0x507f4f=(_0x306dfe=_0x5d3dc9==null?void 0x0:_0x5d3dc9[_0x4588f5(0x3d4)])!=null?_0x306dfe:_0x93faee)!=null?_0x507f4f:$t;}async[_0x23172e(0x49a)](_0x3a80ee,_0x16e4b8){var _0x5346ae=_0x23172e;const _0x4a873d=_0x5346ae(0x416)+_0x16e4b8[_0x5346ae(0x46d)]+'/unit/'+_0x16e4b8[_0x5346ae(0x468)]+'/resources';return(await this[_0x5346ae(0x34f)][_0x5346ae(0x251)](_0x4a873d,{'params':{'resourceId':JSON[_0x5346ae(0x1c1)](_0x16e4b8[_0x5346ae(0x33b)])}}))[_0x5346ae(0x493)];}[_0x23172e(0x429)](){var _0x4818fc=_0x23172e;throw new Error(_0x4818fc(0x31d));}[_0x23172e(0x189)](){var _0x548574=_0x23172e;throw new Error(_0x548574(0x31d));}['saveChangeset'](){var _0x1cdf3b=_0x23172e;throw new Error(_0x1cdf3b(0x31d));}[_0x23172e(0x438)](){var _0x1a8cca=_0x23172e;throw new Error(_0x1a8cca(0x31d));}[_0x23172e(0x3e2)](){var _0x4feba0=_0x23172e;throw new Error(_0x4feba0(0x31d));}},exports['SnapshotServerOverHTTPService']=zn([_t(0x0,a[_0x23172e(0x31f)]),_t(0x1,a[_0x23172e(0x301)](z[_0x23172e(0x48f)]))],exports[_0x23172e(0x224)]);var Jn=Object[_0x23172e(0x357)],Xn=Object[_0x23172e(0x26f)],Zn=(_0x331fca,_0x56b909,_0x49891e,_0x3249f3)=>{var _0x3e66db=_0x23172e;for(var _0x16aa64=_0x3249f3>0x1?void 0x0:_0x3249f3?Xn(_0x56b909,_0x49891e):_0x56b909,_0x387367=_0x331fca[_0x3e66db(0x41c)]-0x1,_0x4eccb2;_0x387367>=0x0;_0x387367--)(_0x4eccb2=_0x331fca[_0x387367])&&(_0x16aa64=(_0x3249f3?_0x4eccb2(_0x56b909,_0x49891e,_0x16aa64):_0x4eccb2(_0x16aa64))||_0x16aa64);return _0x3249f3&&_0x16aa64&&Jn(_0x56b909,_0x49891e,_0x16aa64),_0x16aa64;},de=(_0x4a27c8,_0x2477ad)=>(_0x15dbe9,_0x54e9e2)=>_0x2477ad(_0x15dbe9,_0x54e9e2,_0x4a27c8);exports[_0x23172e(0x287)]=class extends a['LocalUndoRedoService']{constructor(_0x28c213,_0x3826f8,_0x315ded,_0x382e4c,_0x538144){var _0x412b8b=_0x23172e;super(_0x28c213,_0x3826f8,_0x315ded),this[_0x412b8b(0x1c9)]=_0x382e4c,this[_0x412b8b(0x377)]=_0x538144;}[_0x23172e(0x29c)](_0x2b545b,_0x389bbc){var _0x2ca540=_0x23172e;const _0x380a54=this[_0x2ca540(0x427)](_0x2b545b);if(_0x380a54)try{const _0x1ba7ed=this[_0x2ca540(0x30d)](_0x380a54,_0x389bbc);this[_0x2ca540(0x460)](_0x2b545b,_0x1ba7ed);}catch(_0x1dce03){this[_0x2ca540(0x377)][_0x2ca540(0x202)](_0x2ca540(0x28e),_0x1dce03),this[_0x2ca540(0x2ca)](_0x2b545b);}const _0xf5cf90=this[_0x2ca540(0x464)](_0x2b545b);if(_0xf5cf90)try{const _0x20a36e=this['_transformStack'](_0xf5cf90,_0x389bbc);this[_0x2ca540(0x1de)](_0x2b545b,_0x20a36e);}catch(_0xd91d1f){this[_0x2ca540(0x377)][_0x2ca540(0x202)](_0xd91d1f),this[_0x2ca540(0x13c)](_0x2b545b);}}[_0x23172e(0x2ca)](_0x315372){var _0x998803=_0x23172e;const _0x3de41f=this[_0x998803(0x427)](_0x315372);_0x3de41f&&(_0x3de41f[_0x998803(0x41c)]=0x0,this[_0x998803(0x15e)]());}[_0x23172e(0x13c)](_0x1097f4){var _0x3e2eb6=_0x23172e;const _0x1313d8=this['_getRedoStack'](_0x1097f4);_0x1313d8&&(_0x1313d8[_0x3e2eb6(0x41c)]=0x0,this[_0x3e2eb6(0x15e)]());}[_0x23172e(0x460)](_0x15512c,_0x39fcca){var _0x2f1126=_0x23172e;this[_0x2f1126(0x351)][_0x2f1126(0x422)](_0x15512c,_0x39fcca),this[_0x2f1126(0x15e)]();}[_0x23172e(0x1de)](_0x2153fd,_0x1ee016){var _0x109ae0=_0x23172e;this[_0x109ae0(0x338)][_0x109ae0(0x422)](_0x2153fd,_0x1ee016),this['_updateStatus']();}[_0x23172e(0x30d)](_0x20d38d,_0x2f9e81){var _0xb23a93=_0x23172e;const _0x5e65fc=[];let _0x3d4e84=_0x2f9e81,_0x38a8bb=_0x2f9e81;for(let _0x3ab745=_0x20d38d['length']-0x1;_0x3ab745>=0x0;_0x3ab745--){const {unitID:_0x51a807,undoMutations:_0x4f49ef,redoMutations:_0x243643}=_0x20d38d[_0x3ab745],_0x3891a6=this['_transformService']['transformMutationsWithChangeset'](_0x3d4e84,_0x4f49ef),_0x17c1bb=this[_0xb23a93(0x1c9)]['transformMutationsWithChangeset'](_0x38a8bb,_0x243643);if(m['isTransformMutationsWithChangesetFailure'](_0x3891a6)||m['isTransformMutationsWithChangesetFailure'](_0x17c1bb)){this['_logService']['error'](_0xb23a93(0x28e),_0xb23a93(0x263),_0x3891a6,_0x17c1bb);break;}_0x3d4e84=_0x3891a6['c1Prime'],_0x38a8bb=_0x17c1bb['c1Prime'],_0x5e65fc[_0xb23a93(0x289)]({'unitID':_0x51a807,'undoMutations':_0x3891a6[_0xb23a93(0x323)],'redoMutations':_0x17c1bb[_0xb23a93(0x323)]});}return _0x5e65fc[_0xb23a93(0x4ac)]();}},exports[_0x23172e(0x287)]=Zn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x23172e(0x430)]),de(0x2,a['IContextService']),de(0x3,m[_0x23172e(0x16a)]),de(0x4,a['ILogService'])],exports[_0x23172e(0x287)]);var At=Object[_0x23172e(0x357)],Qn=Object['getOwnPropertyDescriptor'],er=(_0xb369f,_0x46a90e,_0x2a0a9a)=>_0x46a90e in _0xb369f?At(_0xb369f,_0x46a90e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a0a9a}):_0xb369f[_0x46a90e]=_0x2a0a9a,tr=(_0x57ac24,_0x230610,_0x5561b3,_0x4907af)=>{var _0x24bae8=_0x23172e;for(var _0x31416e=_0x4907af>0x1?void 0x0:_0x4907af?Qn(_0x230610,_0x5561b3):_0x230610,_0x58d2c3=_0x57ac24[_0x24bae8(0x41c)]-0x1,_0x41d561;_0x58d2c3>=0x0;_0x58d2c3--)(_0x41d561=_0x57ac24[_0x58d2c3])&&(_0x31416e=(_0x4907af?_0x41d561(_0x230610,_0x5561b3,_0x31416e):_0x41d561(_0x31416e))||_0x31416e);return _0x4907af&&_0x31416e&&At(_0x230610,_0x5561b3,_0x31416e),_0x31416e;},je=(_0x145b3b,_0x1fccb3)=>(_0x3fb2b8,_0x39b147)=>_0x1fccb3(_0x3fb2b8,_0x39b147,_0x145b3b),ir=(_0x3fb507,_0x3a896e,_0x48a9af)=>er(_0x3fb507,_0x3a896e+'',_0x48a9af);const nr=_0x23172e(0x1e1);exports['UniverCollaborationClientPlugin']=class extends a[_0x23172e(0x480)]{constructor(_0x3b093e=Xt,_0x406046,_0x246d2f,_0x2495dd){var _0x598df6=_0x23172e;super(),this['_config']=_0x3b093e,this[_0x598df6(0x377)]=_0x406046,this[_0x598df6(0x139)]=_0x246d2f,this['_configService']=_0x2495dd;const {..._0x2d3b2a}=this[_0x598df6(0x1ac)];this['_configService'][_0x598df6(0x1cf)](q,_0x2d3b2a);}['onStarting'](){var _0x24d84c=_0x23172e;this['_registerDependencies'](),this[_0x24d84c(0x23a)]();}[_0x23172e(0x214)](){var _0x408609=_0x23172e,_0x5b215b,_0x378874,_0x4775c8,_0x4cad3e;this[_0x408609(0x139)][_0x408609(0x2f4)](a[_0x408609(0x2ce)])&&this[_0x408609(0x377)]['error'](_0x408609(0x327),_0x408609(0x145));const _0x2ed537=a[_0x408609(0x3a9)]([[a[_0x408609(0x2ce)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x408609(0x2e9)]],[exports[_0x408609(0x148)]],[exports[_0x408609(0x29d)]],[ye],[Pe],[Be],[Ne],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x378874=(_0x5b215b=this[_0x408609(0x1ac)])==null?void 0x0:_0x5b215b[_0x408609(0x3a6)])!=null?_0x378874:exports[_0x408609(0x2f7)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x408609(0x224)]}],[a['IAuthzIoService'],{'useClass':exports[_0x408609(0x2b6)]}],[X[_0x408609(0x370)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x408609(0x163)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x408609(0x3b9)]],[$e]],(_0x4775c8=this['_config'])==null?void 0x0:_0x4775c8[_0x408609(0x40f)]);if(!((_0x4cad3e=this[_0x408609(0x1ac)])!=null&&_0x4cad3e[_0x408609(0x402)])){const _0x215568=_0x2ed537[_0x408609(0x47b)](([_0x31cd23])=>_0x31cd23===ve);_0x215568!==-0x1&&_0x2ed537[_0x408609(0x4b2)](_0x215568,0x1);}a[_0x408609(0x486)](this[_0x408609(0x139)],_0x2ed537);}[_0x23172e(0x23a)](){var _0x133d95=_0x23172e,_0x58a048,_0x476bb8,_0xab2db1;this[_0x133d95(0x139)][_0x133d95(0x251)](z[_0x133d95(0x48f)])[_0x133d95(0x30e)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x58a048=this[_0x133d95(0x1ac)])!=null&&_0x58a048['enableOfflineEditing']||(_0x476bb8=this[_0x133d95(0x139)][_0x133d95(0x251)](J,a[_0x133d95(0x3b0)]['OPTIONAL']))==null||_0x476bb8[_0x133d95(0x246)](),(_0xab2db1=this['_config'])!=null&&_0xab2db1[_0x133d95(0x3db)]&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x133d95(0x238)](this[_0x133d95(0x139)],[[Pe],[exports[_0x133d95(0x3b9)]],[Ne]]);}},ir(exports[_0x23172e(0x491)],_0x23172e(0x1b4),nr),exports['UniverCollaborationClientPlugin']=tr([a['DependentOn'](m[_0x23172e(0x397)],W[_0x23172e(0x49c)],z[_0x23172e(0x30f)]),je(0x1,a[_0x23172e(0x2cc)]),je(0x2,a[_0x23172e(0x301)](a[_0x23172e(0x36a)])),je(0x3,a[_0x23172e(0x31f)])],exports['UniverCollaborationClientPlugin']),exports[_0x23172e(0x300)]=Ge,exports[_0x23172e(0x3d8)]=q,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=ft,exports[_0x23172e(0x419)]=We,exports[_0x23172e(0x22e)]=Q,exports[_0x23172e(0x40c)]=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports[_0x23172e(0x386)]=Jt,exports[_0x23172e(0x3a4)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0x23172e(0x15d)]=ke,exports[_0x23172e(0x363)]=J,exports[_0x23172e(0x1a2)]=bt,exports['ISingleActiveUnitService']=ve,exports[_0x23172e(0x1ec)]=Kt,exports[_0x23172e(0x42f)]=Gt,exports[_0x23172e(0x404)]=Et,exports[_0x23172e(0x1fa)]=zt,exports[_0x23172e(0x396)]=mt,exports[_0x23172e(0x2d3)]=Ht,exports[_0x23172e(0x45d)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x23172e(0x4ad)]=se,exports[_0x23172e(0x43b)]=Fe,exports[_0x23172e(0x14a)]=Rt,exports[_0x23172e(0x17d)]=mi,exports[_0x23172e(0x262)]=Ot;