@univerjs-pro/collaboration-client 0.5.1-nightly.202412180637 → 0.5.1-nightly.202412180944

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 _0x473e97=_0x1992;(function(_0x3737f3,_0x107d5b){var _0x5c43ae=_0x1992,_0x518111=_0x3737f3();while(!![]){try{var _0x43578d=-parseInt(_0x5c43ae(0x429))/0x1+parseInt(_0x5c43ae(0x1b9))/0x2*(parseInt(_0x5c43ae(0x19d))/0x3)+parseInt(_0x5c43ae(0x34c))/0x4+parseInt(_0x5c43ae(0x2e5))/0x5*(parseInt(_0x5c43ae(0x37f))/0x6)+-parseInt(_0x5c43ae(0x3c7))/0x7*(parseInt(_0x5c43ae(0x170))/0x8)+-parseInt(_0x5c43ae(0x24b))/0x9*(parseInt(_0x5c43ae(0x47b))/0xa)+parseInt(_0x5c43ae(0x156))/0xb;if(_0x43578d===_0x107d5b)break;else _0x518111['push'](_0x518111['shift']());}catch(_0x4d7634){_0x518111['push'](_0x518111['shift']());}}}(_0x2cc6,0x433fa));var Lt=Object['defineProperty'],Mt=(_0x562afe,_0xe366fa,_0x51aad4)=>_0xe366fa in _0x562afe?Lt(_0x562afe,_0xe366fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51aad4}):_0x562afe[_0xe366fa]=_0x51aad4,D=(_0xcfa6fc,_0x553eaf,_0x466445)=>Mt(_0xcfa6fc,typeof _0x553eaf!=_0x473e97(0x409)?_0x553eaf+'':_0x553eaf,_0x466445);Object[_0x473e97(0x378)](exports,Symbol[_0x473e97(0x2e0)],{'value':_0x473e97(0x33d)});const a=require(_0x473e97(0x2e8)),H=require(_0x473e97(0x4a4)),V=require(_0x473e97(0x33c)),z=require(_0x473e97(0x41c)),m=require(_0x473e97(0x1ef)),xt=require(_0x473e97(0x2d8)),ut=require(_0x473e97(0x364)),W=require(_0x473e97(0x235)),X=require('@univerjs/drawing'),jt=require(_0x473e97(0x3d3)),dt=_0x473e97(0x1f1),$t='/universer-api/snapshot',vt=_0x473e97(0x2fc),Ht=_0x473e97(0x1d8),kt=0x7d0,ft=_0x473e97(0x2dc),St=_0x473e97(0x341),Bt=_0x473e97(0x15d),pt='HEARTBEAT_INTERVAL',Ft=0x7530,He=_0x473e97(0x249),gt=0x4e20,Wt=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Gt=_0x473e97(0x391),Kt=0x3e8,It=_0x473e97(0x35c),Yt='/universer-api/comb',Et=_0x473e97(0x173),qt=_0x473e97(0x3e6),zt=_0x473e97(0x315),Jt='/universer-api/uniscript';var Ct=(_0x301b94=>(_0x301b94[_0x301b94['UNDEFINED']=0x0]=_0x473e97(0x3de),_0x301b94[_0x301b94['OK']=0x1]='OK',_0x301b94[_0x301b94[_0x473e97(0x1e0)]=0x2]=_0x473e97(0x1e0),_0x301b94[_0x301b94['PERMISSION_DENIED']=0x3]=_0x473e97(0x42a),_0x301b94[_0x301b94['NOT_FOUND']=0x4]=_0x473e97(0x2b1),_0x301b94[_0x301b94[_0x473e97(0x263)]=0x5]=_0x473e97(0x263),_0x301b94[_0x301b94['ALREADY_EXISTS']=0x6]=_0x473e97(0x2a6),_0x301b94[_0x301b94[_0x473e97(0x2c2)]=0x7]=_0x473e97(0x2c2),_0x301b94[_0x301b94['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x301b94[_0x301b94[_0x473e97(0x2b7)]=0x9]=_0x473e97(0x2b7),_0x301b94[_0x301b94[_0x473e97(0x3d7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x301b94[_0x301b94['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x473e97(0x4ba),_0x301b94[_0x301b94[_0x473e97(0x22d)]=0x1772]=_0x473e97(0x22d),_0x301b94[_0x301b94[_0x473e97(0x495)]=0x1773]=_0x473e97(0x495),_0x301b94[_0x301b94[_0x473e97(0x426)]=0x1b59]=_0x473e97(0x426),_0x301b94[_0x301b94[_0x473e97(0x3af)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x301b94[_0x301b94[_0x473e97(0x328)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x301b94[_0x301b94['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x473e97(0x4c4),_0x301b94[_0x301b94['APPLY_DUPLICATED']=0x1b5d]=_0x473e97(0x229),_0x301b94[_0x301b94[_0x473e97(0x3fb)]=0x1f41]=_0x473e97(0x3fb),_0x301b94[_0x301b94[_0x473e97(0x368)]=0x2329]=_0x473e97(0x368),_0x301b94[_0x301b94[_0x473e97(0x29c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x301b94[_0x301b94[_0x473e97(0x241)]=0x232b]=_0x473e97(0x241),_0x301b94[_0x301b94[_0x473e97(0x2cc)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x301b94[_0x301b94[_0x473e97(0x282)]=0x232d]=_0x473e97(0x282),_0x301b94[_0x301b94[_0x473e97(0x39c)]=0x2711]=_0x473e97(0x39c),_0x301b94[_0x301b94['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x473e97(0x22f),_0x301b94[_0x301b94['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x301b94[_0x301b94['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x301b94[_0x301b94['UNRECOGNIZED']=-0x1]=_0x473e97(0x35d),_0x301b94))(Ct||{}),Z=(_0xe8a0db=>(_0xe8a0db[_0xe8a0db[_0x473e97(0x1a9)]=0x0]=_0x473e97(0x1a9),_0xe8a0db[_0xe8a0db[_0x473e97(0x3b2)]=0x1]=_0x473e97(0x3b2),_0xe8a0db[_0xe8a0db[_0x473e97(0x224)]=0x2]=_0x473e97(0x224),_0xe8a0db[_0xe8a0db[_0x473e97(0x39a)]=0x3]='UNIVER_SLIDE',_0xe8a0db[_0xe8a0db[_0x473e97(0x3cf)]=0x4]='UNIVER_PROJECT',_0xe8a0db[_0xe8a0db[_0x473e97(0x35d)]=-0x1]=_0x473e97(0x35d),_0xe8a0db))(Z||{}),G=(_0x5d0539=>(_0x5d0539[_0x5d0539[_0x473e97(0x18d)]=0x0]=_0x473e97(0x18d),_0x5d0539[_0x5d0539['HELLO']=0x1]=_0x473e97(0x2f2),_0x5d0539[_0x5d0539[_0x473e97(0x3a6)]=0x2]=_0x473e97(0x3a6),_0x5d0539[_0x5d0539[_0x473e97(0x262)]=0x3]=_0x473e97(0x262),_0x5d0539[_0x5d0539[_0x473e97(0x19c)]=0x4]='INGEST',_0x5d0539[_0x5d0539[_0x473e97(0x181)]=0x5]=_0x473e97(0x181),_0x5d0539[_0x5d0539['RECV']=0x6]=_0x473e97(0x41e),_0x5d0539[_0x5d0539[_0x473e97(0x35d)]=-0x1]=_0x473e97(0x35d),_0x5d0539))(G||{}),he=(_0x1cc204=>(_0x1cc204[_0x1cc204['UNKNOWN_CODE']=0x0]=_0x473e97(0x31c),_0x1cc204[_0x1cc204['OK']=0x1]='OK',_0x1cc204[_0x1cc204[_0x473e97(0x377)]=0x2]='FAIL',_0x1cc204[_0x1cc204['JOIN_ROOM_FULL']=0x3e9]=_0x473e97(0x30e),_0x1cc204[_0x1cc204['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x473e97(0x195),_0x1cc204[_0x1cc204['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1cc204[_0x1cc204[_0x473e97(0x314)]=0x3ec]=_0x473e97(0x314),_0x1cc204[_0x1cc204[_0x473e97(0x35d)]=-0x1]=_0x473e97(0x35d),_0x1cc204))(he||{}),Tt=(_0x5a4014=>(_0x5a4014[_0x5a4014['Undefined']=0x0]=_0x473e97(0x4a2),_0x5a4014[_0x5a4014[_0x473e97(0x404)]=0x1]='HttpImport',_0x5a4014[_0x5a4014[_0x473e97(0x184)]=0x2]=_0x473e97(0x184),_0x5a4014[_0x5a4014[_0x473e97(0x442)]=0x3]='UnitEmbedded',_0x5a4014[_0x5a4014[_0x473e97(0x336)]=0x4]=_0x473e97(0x336),_0x5a4014[_0x5a4014[_0x473e97(0x35d)]=-0x1]='UNRECOGNIZED',_0x5a4014))(Tt||{});const q=_0x473e97(0x3a3),Xt={};var Q=(_0xf4b829=>(_0xf4b829[_0x473e97(0x270)]=_0x473e97(0x270),_0xf4b829[_0x473e97(0x42a)]=_0x473e97(0x42a),_0xf4b829[_0x473e97(0x4be)]=_0x473e97(0x4be),_0xf4b829[_0x473e97(0x441)]=_0x473e97(0x441),_0xf4b829[_0x473e97(0x20d)]=_0x473e97(0x20d),_0xf4b829[_0x473e97(0x1e7)]=_0x473e97(0x1e7),_0xf4b829[_0x473e97(0x44b)]=_0x473e97(0x44b),_0xf4b829[_0x473e97(0x1d3)]=_0x473e97(0x1d3),_0xf4b829))(Q||{});class te{constructor(){var _0xf3f5d2=_0x473e97;D(this,_0xf3f5d2(0x447),new H[(_0xf3f5d2(0x1cb))]()),D(this,_0xf3f5d2(0x1db),this[_0xf3f5d2(0x447)]['asObservable']());}[_0x473e97(0x266)](_0x1c5e08){var _0x42efe3=_0x473e97;this['_event$'][_0x42efe3(0x42d)](_0x1c5e08);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0x15a57c){var _0x55915a=_0x473e97,_0x26a973,_0x9fe798,_0x5083d7,_0xa64004,_0x4ece3b;const _0x2b76ce=_0x15a57c[_0x55915a(0x46d)],_0x4795e0=JSON[_0x55915a(0x3c9)](_0x2b76ce);switch(_0x4795e0['cmd']){case G[_0x55915a(0x181)]:case G['HELLO']:{const _0xe8f97d=_0x4795e0[_0x55915a(0x21f)];return{..._0x4795e0,'data':_0xe8f97d,'cmd':_0x4795e0[_0x55915a(0x48c)]};}case G[_0x55915a(0x3a6)]:{const _0x273bfa=_0x4795e0[_0x55915a(0x14e)];return{..._0x4795e0,'data':_0x273bfa,'cmd':_0x4795e0[_0x55915a(0x48c)]};}case G[_0x55915a(0x41e)]:{const _0x11db25=_0x4795e0[_0x55915a(0x2a3)];switch(_0x11db25[_0x55915a(0x29b)]){case m[_0x55915a(0x47e)][_0x55915a(0x38b)]:return{..._0x4795e0,'data':{..._0x11db25,'data':(_0x26a973=_0x11db25['permissionRejEvent'])==null?void 0x0:_0x26a973['cs']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)]['CHANGESET_ACK']:return{..._0x4795e0,'data':{..._0x11db25,'data':(_0x9fe798=_0x11db25['csAckEvent'])==null?void 0x0:_0x9fe798['cs']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x47f)]:return{..._0x4795e0,'data':{..._0x11db25,'data':(_0x5083d7=_0x11db25[_0x55915a(0x40e)])==null?void 0x0:_0x5083d7['cs']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x4795e0,'data':{..._0x11db25,'data':(_0xa64004=_0x11db25[_0x55915a(0x2bf)])==null?void 0x0:_0xa64004['cs']},'cmd':_0x4795e0['cmd']};case m[_0x55915a(0x47e)][_0x55915a(0x464)]:return{..._0x4795e0,'data':{..._0x11db25,'data':(_0x4ece3b=_0x11db25['csShouldRetryEvent'])==null?void 0x0:_0x4ece3b['cs']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x49f)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25['updateCursorEvent']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x46a)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25[_0x55915a(0x14b)]},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x32e)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25[_0x55915a(0x33e)]},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x361)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25[_0x55915a(0x3a5)]},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x474)]:case m['CollaborationEvent'][_0x55915a(0x230)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25[_0x55915a(0x3bb)]},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x2f4)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25[_0x55915a(0x3a5)]},'cmd':_0x4795e0['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x4795e0,'data':_0x11db25,'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x281)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25['commentUpdateEvent']},'cmd':_0x4795e0['cmd']};case m[_0x55915a(0x47e)]['UPDATE_PERMISSION_OBJ']:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25['updatePermissionObjEvent']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)][_0x55915a(0x199)]:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25['shouldCloseConn']},'cmd':_0x4795e0[_0x55915a(0x48c)]};case m[_0x55915a(0x47e)]['UNISCRIPT_RUN']:return{..._0x4795e0,'data':{..._0x11db25,'data':_0x11db25[_0x55915a(0x366)]},'cmd':_0x4795e0[_0x55915a(0x48c)]};default:return _0x4795e0;}}default:return _0x4795e0;}}function Ot(_0x287bae){var _0xe6ddaa=_0x473e97;switch(_0x287bae[_0xe6ddaa(0x48c)]){case G[_0xe6ddaa(0x181)]:case G[_0xe6ddaa(0x2f2)]:return JSON[_0xe6ddaa(0x30b)]({'cmd':_0x287bae[_0xe6ddaa(0x48c)],'routeKey':_0x287bae[_0xe6ddaa(0x3bc)]});case G[_0xe6ddaa(0x19c)]:{let _0x4b86d2;switch(_0x287bae[_0xe6ddaa(0x46d)][_0xe6ddaa(0x29b)]){case m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x49f)]:{_0x4b86d2={'eventID':m['CollaborationEvent'][_0xe6ddaa(0x49f)],'updateCursorEvent':_0x287bae['data'][_0xe6ddaa(0x46d)]};break;}case m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x32e)]:{_0x4b86d2={'eventID':m[_0xe6ddaa(0x47e)]['USERS_LEAVE'],'leaveEvent':_0x287bae[_0xe6ddaa(0x46d)]['data']};break;}case m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x46a)]:{_0x4b86d2={'eventID':m['CollaborationEvent'][_0xe6ddaa(0x46a)],'joinEvent':_0x287bae[_0xe6ddaa(0x46d)][_0xe6ddaa(0x46d)]};break;}case m['CollaborationEvent'][_0xe6ddaa(0x361)]:{_0x4b86d2={'eventID':m[_0xe6ddaa(0x47e)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x287bae['data'][_0xe6ddaa(0x46d)]};break;}case m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x230)]:{_0x4b86d2={'eventID':m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x230)],'liveShareOperation':_0x287bae[_0xe6ddaa(0x46d)][_0xe6ddaa(0x46d)]};break;}case m[_0xe6ddaa(0x47e)]['LIVESHARE_TERMINATE']:{_0x4b86d2={'eventID':m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x2f4)],'liveShareTerminate':_0x287bae['data']['data']};break;}case m['CollaborationEvent'][_0xe6ddaa(0x3e9)]:{_0x4b86d2={'eventID':m['CollaborationEvent'][_0xe6ddaa(0x3e9)],'liveShareRequestHost':_0x287bae[_0xe6ddaa(0x46d)][_0xe6ddaa(0x46d)]};break;}case m[_0xe6ddaa(0x47e)][_0xe6ddaa(0x474)]:{_0x4b86d2={'eventID':m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4b86d2={'eventID':_0x287bae[_0xe6ddaa(0x46d)][_0xe6ddaa(0x29b)]};}return JSON[_0xe6ddaa(0x30b)]({'cmd':_0x287bae['cmd'],'routeKey':_0x287bae[_0xe6ddaa(0x3bc)],'collaMsg':_0x4b86d2});}case G[_0xe6ddaa(0x3a6)]:return JSON[_0xe6ddaa(0x30b)]({'cmd':_0x287bae[_0xe6ddaa(0x48c)],'routeKey':_0x287bae[_0xe6ddaa(0x3bc)],'joinReq':_0x287bae['data']});case G[_0xe6ddaa(0x262)]:return JSON[_0xe6ddaa(0x30b)]({'cmd':_0x287bae['cmd'],'routeKey':_0x287bae['routeKey'],'leaveReq':_0x287bae['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object['defineProperty'],Qt=Object['getOwnPropertyDescriptor'],ei=(_0x52adba,_0xcf433c,_0x367c7a,_0xf0b751)=>{var _0x2fc261=_0x473e97;for(var _0x1f4c9d=_0xf0b751>0x1?void 0x0:_0xf0b751?Qt(_0xcf433c,_0x367c7a):_0xcf433c,_0x3053cc=_0x52adba[_0x2fc261(0x39e)]-0x1,_0xf9054d;_0x3053cc>=0x0;_0x3053cc--)(_0xf9054d=_0x52adba[_0x3053cc])&&(_0x1f4c9d=(_0xf0b751?_0xf9054d(_0xcf433c,_0x367c7a,_0x1f4c9d):_0xf9054d(_0x1f4c9d))||_0x1f4c9d);return _0xf0b751&&_0x1f4c9d&&Zt(_0xcf433c,_0x367c7a,_0x1f4c9d),_0x1f4c9d;},ue=(_0x62ba2d,_0x349222)=>(_0x69dc55,_0x38ca6f)=>_0x349222(_0x69dc55,_0x38ca6f,_0x62ba2d);const ke=a[_0x473e97(0x1f6)](_0x473e97(0x383));function ti(_0x2ff300,_0xa0e322,_0x2945ee){var _0x4aec00=_0x473e97;return _0x2ff300+'/'+_0xa0e322+'/unit/'+_0x2945ee+_0x4aec00(0x46f);}exports['CollaborationSocketService']=class extends a[_0x473e97(0x463)]{constructor(_0x768c88,_0x38f893,_0x529d0b,_0x3ac0f4,_0x4aee2e){var _0x1549ee=_0x473e97;super(),this[_0x1549ee(0x1cc)]=_0x768c88,this[_0x1549ee(0x298)]=_0x38f893,this[_0x1549ee(0x485)]=_0x529d0b,this[_0x1549ee(0x476)]=_0x3ac0f4,this[_0x1549ee(0x36c)]=_0x4aee2e;}['createSocket'](_0x35ddd3){var _0x830803=_0x473e97;const _0xd6ee4e=this[_0x830803(0x1cc)][_0x830803(0x3eb)](z['ISocketService']);if(!_0xd6ee4e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x185f60=_0xd6ee4e[_0x830803(0x41b)](_0x35ddd3);if(!_0x185f60)throw new Error(_0x830803(0x2a8));const _0x3711d9=new a[(_0x830803(0x203))](),_0x5b9925=new H[(_0x830803(0x1cb))]();_0x3711d9['add'](_0x185f60[_0x830803(0x2ba)][_0x830803(0x1fc)](_0x3c9ebe=>_0x5b9925['next'](_0x3c9ebe))),_0x3711d9[_0x830803(0x43c)](a['toDisposable'](()=>_0x5b9925[_0x830803(0x289)]()));const _0x235d72=new H[(_0x830803(0x1cb))]();_0x3711d9[_0x830803(0x43c)](_0x185f60[_0x830803(0x1fe)][_0x830803(0x1fc)](_0x43ee82=>_0x235d72[_0x830803(0x42d)](_0x43ee82))),_0x3711d9[_0x830803(0x43c)](a[_0x830803(0x28d)](()=>_0x235d72[_0x830803(0x289)]()));const _0xb4df33=new H[(_0x830803(0x1cb))]();_0x3711d9[_0x830803(0x43c)](_0x185f60[_0x830803(0x3a9)][_0x830803(0x1fc)](_0x5cccfa=>{const _0x5abec4=Rt(_0x5cccfa);_0xb4df33['next'](_0x5abec4);})),_0x3711d9[_0x830803(0x43c)](a['toDisposable'](()=>_0xb4df33[_0x830803(0x289)]()));let _0x14fbee;const _0x56d589=()=>{var _0x2c62b4=_0x830803;_0x235d72[_0x2c62b4(0x42d)](new Event('connection\x20error')),_0x5b9925['next'](new CloseEvent(_0x2c62b4(0x284))),_0x14fbee[_0x2c62b4(0x459)]();};return _0x14fbee={'memberID':'','close$':_0x5b9925['asObservable'](),'error$':_0x235d72[_0x830803(0x360)](),'open$':_0x185f60['open$'],'message$':_0xb4df33[_0x830803(0x360)](),'send':_0xae0617=>{var _0x25a3a5=_0x830803;if(_0xae0617[_0x25a3a5(0x48c)]===G[_0x25a3a5(0x19c)]){if(_0xae0617[_0x25a3a5(0x46d)]['eventID']===m['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x25a3a5(0x2a7)](_0x14fbee,_0xae0617[_0x25a3a5(0x46d)])['catch'](_0x57d342=>{var _0x48d1e9=_0x25a3a5;this[_0x48d1e9(0x476)][_0x48d1e9(0x24f)](_0x57d342),_0x56d589();});return;}if(_0xae0617[_0x25a3a5(0x46d)][_0x25a3a5(0x29b)]===m[_0x25a3a5(0x47e)][_0x25a3a5(0x157)]){const _0x3c8a2=_0xae0617['data'];this[_0x25a3a5(0x32b)](_0x3c8a2)[_0x25a3a5(0x408)](_0x1714a8=>{var _0x496836=_0x25a3a5;_0xb4df33['next']({'cmd':G[_0x496836(0x41e)],'code':he['OK'],'routeKey':_0x3c8a2[_0x496836(0x46d)][_0x496836(0x24d)],'routeType':'','data':{'eventID':m[_0x496836(0x47e)][_0x496836(0x2fa)],'data':{'changesets':_0x1714a8}}});})[_0x25a3a5(0x1bb)](_0x26fe5f=>{var _0x372775=_0x25a3a5;this['_logService'][_0x372775(0x24f)](_0x26fe5f),_0x56d589();});return;}}_0x185f60[_0x25a3a5(0x1df)](Ot(_0xae0617));},'close':()=>{var _0x46354a=_0x830803;_0x185f60[_0x46354a(0x459)](),_0x3711d9['dispose']();}},_0x14fbee;}async[_0x473e97(0x2a7)](_0x21677c,_0x5c50f4){var _0x40144b=_0x473e97,_0x1e3bd5,_0x3db53a;const {unitType:_0xd7cab1,unitID:_0x2303e3,changeset:_0x357392}=_0x5c50f4[_0x40144b(0x46d)],_0x54b2c7={'unitID':_0x2303e3,'memberID':_0x21677c['memberID'],'type':_0xd7cab1,'changeset':m[_0x40144b(0x499)](_0x357392)},_0x4ce8e9=this[_0x40144b(0x485)]['getConfig'](It),_0x5b9847=this[_0x40144b(0x485)][_0x40144b(0x4b7)](q),_0x5a5f32=ti((_0x3db53a=(_0x1e3bd5=_0x5b9847==null?void 0x0:_0x5b9847[_0x40144b(0x3a8)])!=null?_0x1e3bd5:_0x4ce8e9)!=null?_0x3db53a:Yt,_0xd7cab1,_0x2303e3);try{await this[_0x40144b(0x298)][_0x40144b(0x48f)](_0x5a5f32,{'body':_0x54b2c7});}catch(_0xdd4279){throw this[_0x40144b(0x476)][_0x40144b(0x24f)](_0x40144b(0x174),_0x40144b(0x2ae)),_0xdd4279;}}async[_0x473e97(0x32b)](_0x16e476){var _0x14ca26=_0x473e97;const {unitID:_0x8f17c2,from:_0x4444d6,to:_0x5643dc,unitType:_0x32fdb5}=_0x16e476[_0x14ca26(0x46d)];return(await this[_0x14ca26(0x36c)][_0x14ca26(0x346)]({'metadata':void 0x0},{'unitID':_0x8f17c2,'type':_0x32fdb5,'from':_0x4444d6,'to':_0x5643dc}))[_0x14ca26(0x2c1)];}},exports[_0x473e97(0x253)]=ei([ue(0x0,a['Inject'](a[_0x473e97(0x319)])),ue(0x1,a[_0x473e97(0x2ef)](z[_0x473e97(0x2a5)])),ue(0x2,a[_0x473e97(0x36a)]),ue(0x3,a['ILogService']),ue(0x4,m[_0x473e97(0x38a)])],exports['CollaborationSocketService']);const ii=_0x473e97(0x401);function _0x2cc6(){var _0x4fbff0=['_change$','transformChangesets','IUndoRedoService','IAuthzIoService','newCsEvent','string','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','searchParams','mergeOverrideWithDependencies','getOwnPropertyDescriptor','onTransformState','_cipher','_collabSessionService','_transformUndoredo','_disableEditing','pad','decryptBlock','createSocket','@univerjs/network','clone','RECV','registerHTTPInterceptor','_syncEditingCollabCursor','isPermissionRej','reject','clamp','IContextService','_onConflict','APPLY_REJECT','rng','delay','473512GLPGec','PERMISSION_DENIED','failed\x20to\x20apply\x20missed\x20changesets!','_compressMutationService','next','format','_removeRoom','getRandomValues','mapDocumentTypeToUniverType','_singleActiveUnitService','CollaborationController','clearUndoRedo','MemberService','getWorkbookSelections','CollaborationImageIoService','_authzIoService','Malformed\x20UTF-8\x20data','compose','concat','add','unitId','join','_getUploadFileURL','\x20in\x20_schedule.','CLOSE_ROOM','UnitEmbedded','getSheetBlock','code','_throwTelemetryCollaborationNewChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_event$','has','Utf8','_onJoinRoomEvent','SOCKET_FAILED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','delete','_substituteUndoStack','OFFLINE','EvpKDF','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UserManagerService','UniverNetworkPlugin','_initMergeInterceptor','Error\x20on\x20receiving\x20event','workbook','?url=','initWorkbookPermissionChange','close','_localCacheService','CollaborativeUndoRedoService','collaborators','/object/','?size=','getUnitStatus$','getInterceptPoints','params','SUCCUSS','Disposable','CHANGESET_SHOULD_RETRY','ICollaborationSocketService','_startTelemetryCollaborationNewChangeset','[CollaborationSessionService]','enableAuthServer','_onOffline','USERS_ENTER','fromCollab','HmacMD5','data','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','body','subUnitId','readAsDataURL','_onRemoteRejected','LIVESHARE_FETCH_OPERATIONS','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_logService','OTHER_CLIENTS_EDITING','subType','put','_hasher','230YoisVf','DependentOn','collaboratorID','CollaborationEvent','NEW_CHANGESETS','filter','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetsSelectionsService','_doProcessBlock','_joinRoom','_configService','ERROR_IMAGE','processBlock','_univerInstanceService','JOIN_ROOM_PERMISSION_DENIED','[OfflineState]:\x20received\x20changeset.','[PendingState]:\x20received\x20rejection.','cmd','_getSendChangesetTimeout','location','post','COLLAB_SUBMIT_CHANGESET_URL_KEY','merge','confirm','append','_getRedoStack','ENSURE_SNAPSHOT_EXECUTION','_data','COMPRESS_MUTATION_SEND','getImageSourceCache','parseChangesetToProtocol','\x0aAfter:\x20','state$','roles','_keySchedule','map','UPDATE_CURSOR','COLLAB_WEB_SOCKET_URL_KEY','BufferedBlockAlgorithm','Undefined','AES','rxjs','_instanceService','CollaborationUIEventService','resolve','_clearTimeoutTimer','updateOfflineData','CollaborationSessionService','enc','_httpService','DocCollaborationEntity','subject','state','_members$','_clearHeartbeatTimer','getDeserializedSheetBlock','/universer-api/snapshot/','_loadDoc','_tryEnsureSocket','_scheduleCollaborationTimeoutTimer','getConfig','awaiting_with_pending','PendingState','SNAPSHOT_INVALID_SNAPSHOT','Encryptor','_transformRemoteChangesetByStateCache','getLocalCacheKey','CONFLICT','WorksheetProtectionRuleModel','[SyncedState]:\x20received\x20rejection.','_initCloseConn','_roomMembers','kdf','APPLY_PERMISSION_DENIED','find','_queuedRemoteChangesets','CollaborationUIEventId','AUTHZ_URL_KEY','_handlerCallback','session','SheetTransformSelectionsService','awaiting','_incrementRevisionNumber','max','_collaborationTimeoutTimer','joinEvent','_resendTimer','baseRev','joinRsp','stopTime','ThresholdInterceptorFactory','__creator','salt','_onUserJoin','includes','Decryptor','918148AoiLxS','FETCH_MISSING','touchDependencies','CommandType','userID','sessionStatus$','[CollaborationSessionService]:\x20socket\x20error','/universer-api/user/session-ticket','ITransformService','debug','_listenToNetworkCondition','localCacheService','pauseCollaboration','url','uploadFileServerUrl','Hex','CompressMutationService','_commentUpdate$','_onRemoteChangeset','/block/','_remoteChangesetQueue','updateCollaborator','_resendWithTimeout','isInternalEditorID','AwaitingState','Worksheet','1384912pgbASn','CBC','_memberService','LOGIN_URL_KEY','[CollaborationSession]','HmacSHA1','ruleRefresh','onSendChangeset','isTransformChangesetsSuccess','retryConnectingInterval','charCodeAt','encode','_telemetryService','/-/object/-/batch_allowed','isArray','updateMember','_resendTimeout','HEARTBEAT','origin','responseType','HttpExport','Latin1','_replayCachedMutations','bind','finalize','ONLINE','call','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','withCredentials','UNKNOWN_CMD','_getCurrentRevision','_permissionService','entityInit$','search','Tools','_unlockTransition','_stopTelemetryCollaborationNewChangeset','JOIN_ROOM_NOT_EXISTS','RangeProtectionRuleModel','setShowComponents','MD5','SHOULD_CLOSE_CONN','/universer-api/file/{fileID}/sign-url','focused$','INGEST','1479129bbrwya','_applyRemoteChangeset','_registerDependencies','_checkMissing','_scheduleTimestamp','onMissedChangesetFetched','FetchingMissState','socket$','init','executeCommand','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefix','UNIVER_UNKNOWN','onMissingChangesets','WorkbookEditablePermission','padding','status','_exhaustRemoteChangesetQueue','AuthzIoHttpService','deleteCollaborator','[CollaborationUndoRedoService]','DEFAULT_COLLAB_WEB_SOCKET_URL','/allowed','parseProtocolChangeset','clear','MergeInterceptorFactory','sessionStatus','AWAITING','2HSATYx','conflict','catch','_hash','_updateLocalCache','objectID','method','revision','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverSheetsPlugin','getCurrentUser','actions','allowed','_emitMembers','_updateStatus','from','_unitID','ciphertext','Subject','_injector','PERSON','_initRequestHeader','not_collab','reset','lib','interceptor','SUBMIT_CHANGESET_TIMEOUT','decrypt','concatMap','snapshot','FETCH_MISS','SEND_CHANGESET_TIMEOUT','MentionIoHttpService','sequenceExecute','event$','getAllWorksheetPermissionPointByPointPanel','MUTATION','UnitObject','send','INTERNAL_ERROR','Optional','formatter','_collaborationUIEventService','Hasher','_lockTransition','/resources','SOCKET_FAILED_RETRY','unitId\x20is\x20not\x20found','saveChangeset','exports','_onRecvEvent','execute','CollaborationSession','WordArray','@univerjs-pro/collaboration','Workbook','SNAPSHOT_SERVER_URL_KEY','loginUrlKey','SHA1','cfg','_sendingTimer','createIdentifier','_entityInit$','COMPRESS_MUTATION_APPLY','originalMeta','size','deepClone','subscribe','session.room-permission-denied','error$','forEach','Univer','SetSelectionsOperation','words','DisposableCollection','extend','sid','_sender','_localeService','synced','_networkConditionService','randomUUID','getPermissionPoint','/unit/','JOIN_ROOM_FAILED','_sheetTransformSelectionsService','requireSession','_pendingMutations','image/jpg','resend','_transformIMECache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NoPadding','objects','_userManagerService','_substituteRedoStack','onTransformIME','encodeURIComponent','byteOffset','hasher','transformStack\x20failed!','fetching\x20missing\x20changesets\x20from\x20','infoRsp','getSnapshotAPIPath','IDLE','msCrypto','StreamCipher','UNIVER_SHEET','/fetchmissing?from=','target','ticket','_ENC_XFORM_MODE','APPLY_DUPLICATED','ERROR_IMAGE_TYPE','pluginName','getTime','SNAPSHOT_HAS_BEEN_REMOVED','_schedule','YUUMI_URL_COL_OUT_OF_RANGE','LIVESHARE_OPERATION','BlockCipherMode','readyForCollab','transformMutationsWithChangeset','_startCollaboration','@univerjs/sheets','_clearUndo','_updateState','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','image/bmp','RETRY_CONNECTING_MAX_COUNT_KEY','onRemoteAck','_transformStack','algo','compute','ReplaySubject','create','LICENSE_IMPORT_SIZE_EXCEEDED','type','_tryReconnect','RxDisposable','_createHmacHelper','EmptyMutation','_state$','getAllMembers','HEARTBEAT_TIMEOUT','removeMember','43002ROuqsA','/role','unitID','_clearLocalCache','error','online$','session.join-failed','_createInitialStateImpl','CollaborationSocketService','socket\x20close','MSG_FOR_ERROR','getCollabEntity','Cipher','avatar','_oKey','_HTTPService','Quantity','People','save\x20fail\x20reason\x20is\x20','localeService','reqId','action','_handler','LEAVE','UNAUTHENTICATED','crypto','unsubscribe','emitEvent','toggleOffline','Base','sendChangesetTimeout','_getAPIPrefixPath','_eventService','_process','m2Prime','waitForRoom$','_sessions','OTHER_CLIENT_EDITING','now','defaultWorkbookPermissionPoints','_transitionLocked','_clearRedo','_iv','getMember','deserializeToCombResponse','getUnitType','UPDATE_PERMISSION_OBJ','transformUndoRedo','_changesetSessionId','editing\x20status\x20changed\x20to','UNISCRIPT_RUN','textRanges','dispose','dispose$','COMMENT_UPDATE','LICENSE_DISTRO_REJECTED','HMAC','connection\x20error','_getSignURL','INetworkConditionService','encryptBlock','CollaborationStatus','complete','wsSessionTicketUrl','/object','_imageSourceCache','toDisposable','_transformRemoteChangesetByIMECache','/collaborator','reconnect','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_reverseMap','_acknowledgedAwaitingChangeset','requestParams','_nRounds','loadSheet','UNIVER_COLLABORATION_CLIENT_PLUGIN','_http','offline','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','eventID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_clearCollaborationTimeoutTimer','_collaborationSessionService','session.room-cnt-exceeds','_getDownloadEndpointURL','[PendingState]:\x20received\x20acknowledgement.','onRemoteChangeset','collaMsg','runId','HTTPService','ALREADY_EXISTS','_submitChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_mode','appendMutation','_socketReady','href','capture','submit\x20changeset\x20error!','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','resourceIDs','NOT_FOUND','SheetCollaborationEntity','BASE64','addHandlerCallback','putCollaborators','unit-cache-','COMPLETION_FINISHED','/-/object/list','SnapshotServerOverHTTPService','close$','addImageSourceCache','[DataLoaderService]','pipe','_candidateSocket','csRejEvent','_awaitingChangeset','changesets','INVALID_ARGUMENT','_shouldReportTelemetry','buffer','RichTextEditingMutation','_createSocket','_waitForHeartbeatResponse','_initDependencies','[CollaborationEntity]','_onUserLeave','list','LICENSE_EXPORT_SIZE_EXCEEDED','mixIn','_unitInfo$','onTransformSelections','fetch_missing','iterations','SnapshotService','/rev/','_showConflictNotification','setConfig','generateRandomId','ICommandService','@univerjs/telemetry','charAt','getAllRangePermissionPoint','_createHandler','COLLAB_WEB_SOCKET_URL','socket\x20open.','_collaborationPaused','onRemoteRetry','toStringTag','createInstance','_xformMode','abs','SessionStatus','5KYeZbd','OpenSSL','ivSize','@univerjs/core','getCurrentUnitForType','_revisionService','apply','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_FILE_NAME','authzUrl','Inject','POST','selections','HELLO','_onCombEvent','LIVESHARE_TERMINATE','key','onCommandExecuted','prototype','LocalUndoRedoService','awaitingChangeset','PSEUDO_FETCH_MISSING_RESULT','_commandService','SNAPSHOT_URL_KEY','_redoStacks','_getSessionTicket','getResourcesRequest','readInt32LE','UniverCollaborationClientPlugin','OfflineState','fromCharCode','_socketMessageSubscription','serializeCombRequest','IPermissionService','UnitStatus','name','HEARTBEAT_TIMEOUT_KEY','_undoStacks','stringify','UniverInstanceType','sessionTicket','JOIN_ROOM_FULL','PasswordBasedCipher','getCurrentRevOfUnit','_state','toggleOnline','update','GLOBAL_ROOMS_CNT_EXCEEDS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','editingUnit','_onFetchMissResult','getCollabEntity$','Injector','_prevBlock','PENDING','UNKNOWN_CODE','_init','/universer-api/stream/file/upload','_createInitialState','[OfflineState]:\x20received\x20acknowledgement.','repeat','_loadSheet','_initUnitPermissionChange','_onLocalMutation','slice','_commentService','function','APPLY_REVISION_CONFILICT','json','_createHelper','_fetchMissChangesets','[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.','setWaitCount','USERS_LEAVE','headers','c1Prime','BehaviorSubject','getUnitOnRev','_decreaseWaiting','_onConnectionFailed','status$','UnitSnapshot','_entities','getTargetByPermissionId','_append','ImageUploadStatusType','_snapshotService','rxjs/operators','Module','leaveEvent','_sessionStatus$','isTransformMutationsWithChangesetSuccess','ws://127.0.0.1:8000/universer-api/comb/connect','BlockCipher','transformSelections','Base64','_changesetReqId','fetchMissingChangesets','value','SyncedState','ImageSourceType','IUniverInstanceService','takeUntil','1822480GivJeH','image/jpeg','disposeWithMe','_map','randomBytes','saveSheetBlock','loadUnit','/universer-api/authz','getFocusedUnit','onTransformRemoteChangesetByStateCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_toggleOffline','_doReset','ConflictState','_toggleOnline','LocaleService','COLLAB_SUBMIT_CHANGESET_URL','UNRECOGNIZED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','toLowerCase','asObservable','LIVESHARE_NEW_HOST','refreshPermission','getUnitId','@univerjs/docs','AwaitingWithPendingState','uniscriptRunEvent','_key','LICENSE_MAX_UNITS_EXCEEDED','MentionType','IConfigService','sheets','_snapshotServerService','ERROR_EXCEED_SIZE','unknown','CollaborationEntity','RevisionService','objectType','updatePermissionPoint','_transformService','saveSnapshot','_retryConnectingTimer','entries','FAIL','defineProperty','collaboration-client.local-cache-service','UniverCollaborationPlugin','every','members$','ceil','_status$','2076402niTgZu','JOINING','onSyncEditingCollabCursor','getActiveSheet','univer-pro.collaboration-client-socket-service','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','floor','downloadEndpointUrl','isTransformMutationsWithChangesetFailure','getAllWorksheetPermissionPoint','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ISnapshotServerService','PERMISSION_REJ','SerializableCipher','findIndex','_onRemoteRetry','_transformSelections','toString','LOCAL_CACHE_INTERVAL','firstValueFrom','reduce','setCurrentUser','_parse','memberID','collabWebSocketUrl','_retryCount','socketService','UNIVER_SLIDE','_getUndoStack','YUUMI_UNABLE_LOAD_URL','b64DecodeUnicode','length','loadOfflineData','_getLoginPath','push','_roomCreated$','collaboration-client.config','ISingleActiveUnitService','liveShareNewHost','JOIN','&source=','collabSubmitChangesetUrl','message$','_executeRemoteChangeset','_replaceFileID','CHANGESET_ACK','saveImage','members','APPLY_NON_SEQUENTIAL_REVISION','take','result','UNIVER_DOC','_isPermissionRej','onlyLocal','getTypeOfUnitDisposed$','random','EXCHANGE_SIGN_URL_SERVER_URL_KEY','sigBytes','blockSize','patch','liveShareOperation','routeKey','DataLoaderService','$super','_type','hasOwnProperty','equals','signUrlServerUrl','_clearScheduledTask','disableLocalCache','createCollaborator','FileId','21OjYBGc','_socket$','parse','_undoRedoService','mode','ITelemetryService','default','auth.needGotoLoginAlert','UNIVER_PROJECT','textEncoder','replace','univer-pro.collaboration-client.single-active-unit-service','@univerjs-pro/license','set','_timeoutTimer','_telemetryInfo','CHANGESET_REVISION_CONFILICT','_config','_rescheduleHeartbeat','encrypt','NOT_COLLAB','defaultWorksheetPermissionPoint','splice','UNDEFINED','ILogService','CommentService','HEARTBEAT_INTERVAL_KEY','&assign=','NO_OTHER_CLIENTS_EDITING','_members','open$','/universer-api/oidc/authpage','mutations','image/gif','LIVESHARE_REQUEST_HOST','x-univer-host','get','baseProtectionActions','_waitCount','SUBMIT_CHANGESET','_socketService','fetchThroughInterceptors','IImageIoService','[OfflineState]:\x20received\x20rejection.','unitInfo$','onRemoteRej','getTypeOfUnitAdded$','[CollaborationState]:\x20apply\x20error!','_sendHeartbeat','_socket','onTransformRemoteChangesetByIMECache','getValue','CONNECTOR_DATA_TOO_LARGE','keySize','_keyPriorReset','fetchMiss','session.room-not-exists','createEncryptor','collaboration_new_changeset','_iKey','_nDataBytes','HttpImport','rev','_sendHeartbeatTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','then','symbol'];_0x2cc6=function(){return _0x4fbff0;};return _0x2cc6();}function ni(_0x497899){return JSON['stringify'](_0x497899)['length'];}class Be{constructor(){var _0x30ba0f=_0x473e97;D(this,_0x30ba0f(0x167),new H['Subject']()),D(this,'commentUpdate$',this[_0x30ba0f(0x167)]['asObservable']());}['onCommentUpdate'](_0x2729b9){var _0x2aa333=_0x473e97;this['_commentUpdate$'][_0x2aa333(0x42d)](_0x2729b9);}}var ri=Object['defineProperty'],si=Object[_0x473e97(0x413)],oi=(_0x5f5579,_0x1c8663,_0x5a2b67,_0x548ac2)=>{var _0x281a43=_0x473e97;for(var _0x5347d9=_0x548ac2>0x1?void 0x0:_0x548ac2?si(_0x1c8663,_0x5a2b67):_0x1c8663,_0x29d472=_0x5f5579[_0x281a43(0x39e)]-0x1,_0x5060dd;_0x29d472>=0x0;_0x29d472--)(_0x5060dd=_0x5f5579[_0x29d472])&&(_0x5347d9=(_0x548ac2?_0x5060dd(_0x1c8663,_0x5a2b67,_0x5347d9):_0x5060dd(_0x5347d9))||_0x5347d9);return _0x548ac2&&_0x5347d9&&ri(_0x1c8663,_0x5a2b67,_0x5347d9),_0x5347d9;},Ke=(_0x3bc502,_0x371d0b)=>(_0x2daa3b,_0x27c813)=>_0x371d0b(_0x2daa3b,_0x27c813,_0x3bc502);exports[_0x473e97(0x435)]=class extends a[_0x473e97(0x463)]{constructor(_0xbd9446,_0x248d6a){var _0x3b4527=_0x473e97;super(),D(this,_0x3b4527(0x4c2),new Map()),D(this,_0x3b4527(0x3a2),new H[(_0x3b4527(0x1cb))]()),(this['_univerInstanceService']=_0xbd9446,this['_userManagerService']=_0x248d6a,this[_0x3b4527(0x34e)](H[_0x3b4527(0x491)](this[_0x3b4527(0x488)][_0x3b4527(0x3b5)](a[_0x3b4527(0x30c)]['UNIVER_SHEET'])['pipe'](V[_0x3b4527(0x49e)](_0x2565c6=>_0x2565c6['getUnitId']())),this[_0x3b4527(0x488)][_0x3b4527(0x3b5)](a[_0x3b4527(0x30c)][_0x3b4527(0x3b2)])[_0x3b4527(0x2bd)](V[_0x3b4527(0x49e)](_0x28b156=>_0x28b156[_0x3b4527(0x363)]())),this[_0x3b4527(0x488)][_0x3b4527(0x3b5)](a['UniverInstanceType'][_0x3b4527(0x39a)])[_0x3b4527(0x2bd)](V['map'](_0x297a2b=>_0x297a2b[_0x3b4527(0x363)]())))[_0x3b4527(0x1fc)](_0x1da16c=>this['_removeRoom'](_0x1da16c))));}[_0x473e97(0x26e)](_0x882eb7){var _0x54065c=_0x473e97;return this[_0x54065c(0x4c2)][_0x54065c(0x448)](_0x882eb7)?H['of'](this[_0x54065c(0x4c2)][_0x54065c(0x3eb)](_0x882eb7)):this[_0x54065c(0x3a2)][_0x54065c(0x2bd)](V[_0x54065c(0x49e)](_0x35597e=>{if(_0x35597e===_0x882eb7)return this['_roomMembers']['get'](_0x35597e);}));}[_0x473e97(0x394)](_0x3234d2){var _0x24fa3e=_0x473e97;this[_0x24fa3e(0x217)][_0x24fa3e(0x394)](_0x3234d2);}[_0x473e97(0x1c3)](){var _0x3bb50b=_0x473e97;return this[_0x3bb50b(0x217)][_0x3bb50b(0x1c3)]();}[_0x473e97(0x17f)](_0x2da301,_0x2dd9e9){var _0x593927=_0x473e97;let _0x40b865=this['_roomMembers'][_0x593927(0x3eb)](_0x2da301);_0x40b865||(_0x40b865=new ai(),this[_0x593927(0x4c2)][_0x593927(0x3d4)](_0x2da301,_0x40b865),this['_roomCreated$'][_0x593927(0x42d)](_0x2da301)),_0x40b865['updateMember'](_0x2dd9e9);}[_0x473e97(0x24a)](_0x582643,_0x1df4ab){var _0x4f2941=_0x473e97;const _0x17b5f3=this[_0x4f2941(0x4c2)][_0x4f2941(0x3eb)](_0x582643);_0x17b5f3&&_0x17b5f3[_0x4f2941(0x24a)](_0x1df4ab);}['getRoom'](_0x3f8bce){var _0x349e21=_0x473e97;return this[_0x349e21(0x4c2)][_0x349e21(0x3eb)](_0x3f8bce);}[_0x473e97(0x276)](_0x57e3c4,_0x18c8ec){var _0x494c41=_0x473e97;const _0x2c9103=this['_roomMembers'][_0x494c41(0x3eb)](_0x57e3c4);if(_0x2c9103)return _0x2c9103[_0x494c41(0x276)](_0x18c8ec);}[_0x473e97(0x42f)](_0x22cc4f){var _0x206c59=_0x473e97;const _0x46cee8=this['_roomMembers'][_0x206c59(0x3eb)](_0x22cc4f);_0x46cee8&&(_0x46cee8[_0x206c59(0x27f)](),this['_roomMembers']['delete'](_0x22cc4f));}[_0x473e97(0x27f)](){var _0x27ab87=_0x473e97;this[_0x27ab87(0x4c2)][_0x27ab87(0x1ff)](_0x3a9ec6=>_0x3a9ec6[_0x27ab87(0x27f)]()),this[_0x27ab87(0x4c2)][_0x27ab87(0x1b5)](),this[_0x27ab87(0x3a2)][_0x27ab87(0x289)]();}},exports['MemberService']=oi([Ke(0x0,a[_0x473e97(0x34a)]),Ke(0x1,a[_0x473e97(0x2ef)](a[_0x473e97(0x452)]))],exports[_0x473e97(0x435)]);class ai extends a['Disposable']{constructor(){var _0x2e2103=_0x473e97;super(...arguments),D(this,_0x2e2103(0x3e4),new Map()),D(this,_0x2e2103(0x4b0),new H[(_0x2e2103(0x331))](this[_0x2e2103(0x3e4)])),D(this,_0x2e2103(0x37c),this[_0x2e2103(0x4b0)][_0x2e2103(0x360)]());}[_0x473e97(0x27f)](){var _0x254611=_0x473e97;this[_0x254611(0x3e4)][_0x254611(0x1b5)]();}[_0x473e97(0x17f)](_0x20074b){var _0x31a185=_0x473e97;this[_0x31a185(0x3e4)][_0x31a185(0x3d4)](_0x20074b[_0x31a185(0x396)],_0x20074b),this[_0x31a185(0x1c6)]();}[_0x473e97(0x24a)](_0x17d184){var _0x3d6bec=_0x473e97;this['_members'][_0x3d6bec(0x44d)](_0x17d184);}[_0x473e97(0x276)](_0x20c7e9){var _0x3e0f05=_0x473e97;return this[_0x3e0f05(0x3e4)][_0x3e0f05(0x3eb)](_0x20c7e9);}[_0x473e97(0x248)](){var _0x443a20=_0x473e97;return Array[_0x443a20(0x1c8)](this[_0x443a20(0x3e4)]['values']());}['_emitMembers'](){var _0x408d01=_0x473e97;this[_0x408d01(0x4b0)][_0x408d01(0x42d)](this[_0x408d01(0x3e4)]);}}var ci=Object[_0x473e97(0x378)],hi=Object[_0x473e97(0x413)],li=(_0x517783,_0xf3934,_0x8358ee,_0x185593)=>{var _0x598795=_0x473e97;for(var _0x3e7007=_0x185593>0x1?void 0x0:_0x185593?hi(_0xf3934,_0x8358ee):_0xf3934,_0x5390f6=_0x517783[_0x598795(0x39e)]-0x1,_0x281f62;_0x5390f6>=0x0;_0x5390f6--)(_0x281f62=_0x517783[_0x5390f6])&&(_0x3e7007=(_0x185593?_0x281f62(_0xf3934,_0x8358ee,_0x3e7007):_0x281f62(_0x3e7007))||_0x3e7007);return _0x185593&&_0x3e7007&&ci(_0xf3934,_0x8358ee,_0x3e7007),_0x3e7007;},oe=(_0x5431ac,_0x3c8653)=>(_0x2aafac,_0x59abc6)=>_0x3c8653(_0x2aafac,_0x59abc6,_0x5431ac),se=(_0x5da64b=>(_0x5da64b[_0x5da64b[_0x473e97(0x221)]=0x0]=_0x473e97(0x221),_0x5da64b[_0x5da64b[_0x473e97(0x380)]=0x1]=_0x473e97(0x380),_0x5da64b[_0x5da64b[_0x473e97(0x44f)]=0x2]=_0x473e97(0x44f),_0x5da64b[_0x5da64b[_0x473e97(0x189)]=0x3]=_0x473e97(0x189),_0x5da64b))(se||{});const Ye={[he['FAIL']]:_0x473e97(0x251),[he[_0x473e97(0x30e)]]:'session.room-full',[he[_0x473e97(0x195)]]:_0x473e97(0x3ff),[he[_0x473e97(0x489)]]:_0x473e97(0x1fd),[he[_0x473e97(0x314)]]:_0x473e97(0x29f)};exports[_0x473e97(0x1ed)]=class extends a['RxDisposable']{constructor(_0x1a82cf,_0x1aa068,_0x167bb2,_0x307434,_0x708ad,_0x17717c,_0x48f659,_0x4212c4,_0x3261ea){var _0x1600cb=_0x473e97;super(),D(this,_0x1600cb(0x33f),new H['BehaviorSubject'](0x0)),D(this,_0x1600cb(0x15b),this[_0x1600cb(0x33f)]['asObservable']()),D(this,'_event$',new H[(_0x1600cb(0x1cb))]()),D(this,'event$',this[_0x1600cb(0x447)][_0x1600cb(0x360)]()),D(this,_0x1600cb(0x3f8)),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x1600cb(0x2c3),!0x1),D(this,_0x1600cb(0x3d6),null),(this['_unitID']=_0x1a82cf,this[_0x1600cb(0x476)]=_0x167bb2,this[_0x1600cb(0x485)]=_0x307434,this['_localeService']=_0x708ad,this[_0x1600cb(0x172)]=_0x17717c,this[_0x1600cb(0x326)]=_0x48f659,this['_collaborationUIEventService']=_0x4212c4,this['_telemetryService']=_0x3261ea,this[_0x1600cb(0x2c3)]=!!this[_0x1600cb(0x17c)],_0x1aa068[_0x1600cb(0x2bd)](H[_0x1600cb(0x34b)](this[_0x1600cb(0x280)]))[_0x1600cb(0x1fc)](_0x30b6d7=>{var _0x5d2f3b=_0x1600cb,_0x1b6180;typeof _0x30b6d7>'u'||(this[_0x5d2f3b(0x3f8)]=_0x30b6d7,_0x30b6d7?(this['_joinRoom'](_0x30b6d7),this[_0x5d2f3b(0x304)]=_0x30b6d7['message$'][_0x5d2f3b(0x1fc)](_0x5d42b2=>{var _0x1714b6=_0x5d2f3b;_0x5d42b2[_0x1714b6(0x3bc)]===this['_unitID']&&this[_0x1714b6(0x2f3)](_0x5d42b2);})):(this[_0x5d2f3b(0x445)](),this[_0x5d2f3b(0x33f)]['next'](0x2),(_0x1b6180=this[_0x5d2f3b(0x304)])==null||_0x1b6180['unsubscribe'](),this[_0x5d2f3b(0x304)]=null));}));}get[_0x473e97(0x1b7)](){var _0x5c6241=_0x473e97;return this[_0x5c6241(0x33f)][_0x5c6241(0x3fa)]();}['getMemberID'](){var _0xcc3243=_0x473e97,_0x2c1af4,_0x2ecaec;return(_0x2ecaec=(_0x2c1af4=this[_0xcc3243(0x3f8)])==null?void 0x0:_0x2c1af4[_0xcc3243(0x396)])!=null?_0x2ecaec:null;}[_0x473e97(0x27f)](){var _0x3550d6=_0x473e97;super['dispose'](),this[_0x3550d6(0x280)][_0x3550d6(0x42d)](),this[_0x3550d6(0x280)][_0x3550d6(0x289)]();}[_0x473e97(0x459)](){var _0x452020=_0x473e97,_0x7266ec,_0x551606;this[_0x452020(0x445)](),(_0x7266ec=this['_socket'])==null||_0x7266ec['send']({'cmd':G[_0x452020(0x262)],'data':{'roomID':this['_unitID']}}),(_0x551606=this[_0x452020(0x3f8)])==null||_0x551606[_0x452020(0x459)](),this['_event$'][_0x452020(0x289)](),this[_0x452020(0x33f)]['complete'](),this[_0x452020(0x27f)]();}['_onCombEvent'](_0x3643){var _0x4fdbd3=_0x473e97;_0x3643[_0x4fdbd3(0x48c)]===G[_0x4fdbd3(0x3a6)]?this[_0x4fdbd3(0x44a)](_0x3643):_0x3643[_0x4fdbd3(0x48c)]===G['RECV']&&this[_0x4fdbd3(0x1eb)](_0x3643);}[_0x473e97(0x484)](_0x2ec7f3){var _0x2ccbda=_0x473e97;this[_0x2ccbda(0x33f)][_0x2ccbda(0x42d)](0x1),_0x2ec7f3[_0x2ccbda(0x1df)]({'cmd':G[_0x2ccbda(0x3a6)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2ccbda(0x1c9)]}]}});}['_onJoinRoomEvent'](_0x3de3b6){var _0x55dd24=_0x473e97,_0x221215;if(_0x3de3b6[_0x55dd24(0x444)]in Ye){this[_0x55dd24(0x1e3)][_0x55dd24(0x266)]({'id':Q[_0x55dd24(0x20d)],'data':Ye[_0x3de3b6[_0x55dd24(0x444)]]}),this['_sessionStatus$'][_0x55dd24(0x42d)](0x2);return;}this[_0x55dd24(0x33f)]['next'](0x3);const _0x3409b7=(_0x221215=_0x3de3b6[_0x55dd24(0x46d)]['roomInfos'][this[_0x55dd24(0x1c9)]])==null?void 0x0:_0x221215[_0x55dd24(0x3ae)];_0x3409b7&&_0x3409b7[_0x55dd24(0x1ff)](_0x1e71ae=>this[_0x55dd24(0x172)][_0x55dd24(0x17f)](this[_0x55dd24(0x1c9)],_0x1e71ae));}[_0x473e97(0x1eb)](_0x2b2492){var _0xe00b2=_0x473e97;try{const _0x3eface=_0x2b2492[_0xe00b2(0x46d)];switch(_0x3eface[_0xe00b2(0x29b)]){case m['CollaborationEvent'][_0xe00b2(0x46a)]:this['_onUserJoin'](_0x3eface),this[_0xe00b2(0x447)][_0xe00b2(0x42d)](_0x3eface);break;case m[_0xe00b2(0x47e)][_0xe00b2(0x32e)]:this[_0xe00b2(0x2ca)](_0x3eface),this['_event$'][_0xe00b2(0x42d)](_0x3eface);break;case m[_0xe00b2(0x47e)][_0xe00b2(0x3ac)]:case m[_0xe00b2(0x47e)]['CHANGESET_SHOULD_RETRY']:this[_0xe00b2(0x194)](),this[_0xe00b2(0x29d)](),this[_0xe00b2(0x447)][_0xe00b2(0x42d)](_0x3eface);break;case m['CollaborationEvent'][_0xe00b2(0x255)]:this[_0xe00b2(0x476)][_0xe00b2(0x24f)](_0xe00b2(0x25d)+JSON[_0xe00b2(0x30b)](_0x3eface)),this[_0xe00b2(0x447)]['next'](_0x3eface);break;case m['CollaborationEvent'][_0xe00b2(0x281)]:this['_commentService']['onCommentUpdate'](_0x3eface['data']),this[_0xe00b2(0x447)][_0xe00b2(0x42d)](_0x3eface);break;default:this[_0xe00b2(0x447)][_0xe00b2(0x42d)](_0x3eface);}}catch(_0x5b585e){this[_0xe00b2(0x476)][_0xe00b2(0x24f)](_0x5b585e,_0x2b2492);}}[_0x473e97(0x153)](_0x48ee55){var _0x54e46e=_0x473e97;this['_memberService'][_0x54e46e(0x17f)](this[_0x54e46e(0x1c9)],_0x48ee55[_0x54e46e(0x46d)]);}[_0x473e97(0x2ca)](_0x12980a){var _0x341677=_0x473e97;this[_0x341677(0x172)][_0x341677(0x24a)](this['_unitID'],_0x12980a[_0x341677(0x46d)][_0x341677(0x396)]);}async[_0x473e97(0x1df)](_0x4127d9,_0x438675){var _0x15bba6=_0x473e97;if(this[_0x15bba6(0x1b7)]!==0x3||!this[_0x15bba6(0x3f8)])throw new Error(_0x15bba6(0x44c));try{_0x4127d9[_0x15bba6(0x29b)]===m['CollaborationEvent'][_0x15bba6(0x3ee)]&&(this[_0x15bba6(0x4b6)](),this['_startTelemetryCollaborationNewChangeset'](_0x4127d9)),this[_0x15bba6(0x3f8)][_0x15bba6(0x1df)]({'cmd':G['INGEST'],'routeKey':_0x438675,'routeType':'','data':_0x4127d9});}catch(_0x2b6f7c){this[_0x15bba6(0x476)][_0x15bba6(0x24f)](_0x2b6f7c);}}[_0x473e97(0x4b6)](){var _0x18f4b7=_0x473e97,_0x3551bb;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4c0df9=_0x1992;this[_0x4c0df9(0x14a)]=null,this[_0x4c0df9(0x1e3)]['emitEvent']({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3551bb=this[_0x18f4b7(0x485)][_0x18f4b7(0x4b7)](He))!=null?_0x3551bb:gt);}[_0x473e97(0x29d)](){var _0xbfbb5f=_0x473e97;this[_0xbfbb5f(0x14a)]&&(clearTimeout(this[_0xbfbb5f(0x14a)]),this[_0xbfbb5f(0x14a)]=null);}[_0x473e97(0x466)](_0x4804de){var _0x26615b=_0x473e97;if(!this['_shouldReportTelemetry'])return;const {data:_0x4de483}=_0x4804de,{unitID:_0x5e6744,changeset:_0x18b80d}=_0x4de483,{mutations:_0x4523ab,type:_0xf71751}=_0x18b80d;this[_0x26615b(0x3d6)]={'unitId':_0x5e6744,'type':_0xf71751,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ni(_0x4523ab)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1e29cc=_0x473e97;if(this[_0x1e29cc(0x2c3)]){if(!this[_0x1e29cc(0x3d6)]){this[_0x1e29cc(0x476)][_0x1e29cc(0x24f)](_0x1e29cc(0x174),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1e29cc(0x3d6)][_0x1e29cc(0x14f)]=performance[_0x1e29cc(0x271)](),this[_0x1e29cc(0x3d6)]['duration']=this[_0x1e29cc(0x3d6)][_0x1e29cc(0x14f)]-this[_0x1e29cc(0x3d6)]['startTime'],this[_0x1e29cc(0x17c)][_0x1e29cc(0x2ad)](ii,this['_telemetryInfo']),this[_0x1e29cc(0x3d6)]=null;}}[_0x473e97(0x445)](){var _0x2241b5=_0x473e97;this[_0x2241b5(0x3d6)]=null;}},exports[_0x473e97(0x1ed)]=li([oe(0x2,a[_0x473e97(0x3df)]),oe(0x3,a['IConfigService']),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a[_0x473e97(0x2ef)](exports[_0x473e97(0x435)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x473e97(0x2ef)](te)),oe(0x8,a['Optional'](xt[_0x473e97(0x3cc)]))],exports[_0x473e97(0x1ed)]);var _i=Object['defineProperty'],ui=Object[_0x473e97(0x413)],di=(_0x699a45,_0x3eeec2,_0x2b3e49,_0x2b5534)=>{var _0x3021ab=_0x473e97;for(var _0x44828d=_0x2b5534>0x1?void 0x0:_0x2b5534?ui(_0x3eeec2,_0x2b3e49):_0x3eeec2,_0xe5937f=_0x699a45[_0x3021ab(0x39e)]-0x1,_0x2be369;_0xe5937f>=0x0;_0xe5937f--)(_0x2be369=_0x699a45[_0xe5937f])&&(_0x44828d=(_0x2b5534?_0x2be369(_0x3eeec2,_0x2b3e49,_0x44828d):_0x2be369(_0x44828d))||_0x44828d);return _0x2b5534&&_0x44828d&&_i(_0x3eeec2,_0x2b3e49,_0x44828d),_0x44828d;},ae=(_0x2856de,_0x137e3a)=>(_0x5aad62,_0x1c13a5)=>_0x137e3a(_0x5aad62,_0x1c13a5,_0x2856de);exports['CollaborationSessionService']=class extends a[_0x473e97(0x463)]{constructor(_0x35a50b,_0x34b8fd,_0x3325d0,_0x46df53,_0x14e563,_0x52f941,_0x1ced70){var _0x50df44=_0x473e97;super(),D(this,_0x50df44(0x3c8),new H[(_0x50df44(0x331))](void 0x0)),D(this,_0x50df44(0x1a4),this[_0x50df44(0x3c8)][_0x50df44(0x360)]()),D(this,_0x50df44(0x2be),null),D(this,_0x50df44(0x26f),new Map()),D(this,'_status$',new H[(_0x50df44(0x331))](se[_0x50df44(0x221)])),D(this,'status$',this[_0x50df44(0x37e)][_0x50df44(0x360)]()),D(this,'_socketReady',!0x1),D(this,'_retryConnectingTimer'),D(this,_0x50df44(0x398),0x0),D(this,_0x50df44(0x406)),D(this,_0x50df44(0x3d5)),(this['_injector']=_0x35a50b,this[_0x50df44(0x476)]=_0x34b8fd,this[_0x50df44(0x485)]=_0x3325d0,this[_0x50df44(0x3ef)]=_0x46df53,this['_httpService']=_0x14e563,this[_0x50df44(0x1e3)]=_0x52f941,this[_0x50df44(0x209)]=_0x1ced70,this['_listenToNetworkCondition']());}get[_0x473e97(0x3f8)](){var _0x3c9853=_0x473e97;return this[_0x3c9853(0x3c8)][_0x3c9853(0x3fa)]();}[_0x473e97(0x160)](){var _0x578572=_0x473e97;this[_0x578572(0x209)]&&this[_0x578572(0x34e)](this[_0x578572(0x209)][_0x578572(0x250)][_0x578572(0x1fc)](_0x460514=>{var _0x55a1d0=_0x578572;_0x460514&&!this['_socket']&&this['reconnect'](),_0x460514||this[_0x55a1d0(0x469)]();}));}[_0x473e97(0x27f)](){var _0x4f371e=_0x473e97;super[_0x4f371e(0x27f)](),this[_0x4f371e(0x26f)][_0x4f371e(0x1ff)](_0x3ca54a=>_0x3ca54a[_0x4f371e(0x27f)]()),this['_sessions'][_0x4f371e(0x1b5)](),this[_0x4f371e(0x37e)][_0x4f371e(0x289)]();}async[_0x473e97(0x20f)](_0x38895e){var _0x589baa=_0x473e97;if(this[_0x589baa(0x26f)]['has'](_0x38895e))return this[_0x589baa(0x26f)][_0x589baa(0x3eb)](_0x38895e);this[_0x589baa(0x4b5)]();const _0xb974bb=this[_0x589baa(0x1cc)][_0x589baa(0x2e1)](exports[_0x589baa(0x1ed)],_0x38895e,this['_socket$'][_0x589baa(0x360)]());return this[_0x589baa(0x26f)][_0x589baa(0x3d4)](_0x38895e,_0xb974bb),_0xb974bb;}['closeSession'](_0x81c074){var _0x3ae7aa=_0x473e97,_0x10ef62;const _0x5d2484=this[_0x3ae7aa(0x26f)][_0x3ae7aa(0x3eb)](_0x81c074);_0x5d2484&&(this[_0x3ae7aa(0x26f)]['delete'](_0x81c074),_0x5d2484[_0x3ae7aa(0x459)]()),this['_sessions'][_0x3ae7aa(0x1fa)]||(_0x10ef62=this[_0x3ae7aa(0x3f8)])==null||_0x10ef62['close']();}[_0x473e97(0x290)](){var _0x5cf7a0=_0x473e97;this[_0x5cf7a0(0x398)]=0x0,this[_0x5cf7a0(0x375)]!=null&&(clearTimeout(this[_0x5cf7a0(0x375)]),this[_0x5cf7a0(0x375)]=null),this[_0x5cf7a0(0x243)]();}async['_getSessionTicket'](){var _0x32261b=_0x473e97,_0x46e905,_0x260fd2,_0x282c1c;const _0x2ce1dc=this[_0x32261b(0x485)][_0x32261b(0x4b7)](q),_0x4cf67a=(_0x46e905=_0x2ce1dc==null?void 0x0:_0x2ce1dc[_0x32261b(0x28a)])!=null?_0x46e905:Bt;return(_0x282c1c=(_0x260fd2=(await this['_httpService']['get'](_0x4cf67a,{'headers':{'Content-Type':'application/json'}}))[_0x32261b(0x470)])==null?void 0x0:_0x260fd2[_0x32261b(0x227)])!=null?_0x282c1c:'';}['_createSocketURL'](_0x4c193f){var _0x4ed303=_0x473e97,_0x12b163,_0x5a3b85;const _0x252e64=this[_0x4ed303(0x485)]['getConfig'](ft),_0xf70758=this['_configService']['getConfig'](q),_0x440078=(_0x5a3b85=(_0x12b163=_0xf70758==null?void 0x0:_0xf70758[_0x4ed303(0x397)])!=null?_0x12b163:_0x252e64)!=null?_0x5a3b85:St,_0x1e1840=typeof window>'u'?new URL(_0x440078):new URL(_0x440078,window[_0x4ed303(0x48e)][_0x4ed303(0x182)]);_0x1e1840[_0x4ed303(0x411)][_0x4ed303(0x3d4)](_0x4ed303(0x30d),_0x4c193f);const _0x1b33bf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4ed303(0x48e)][_0x4ed303(0x191)]);return _0x1b33bf[_0x4ed303(0x3eb)]('runId')&&_0x1e1840[_0x4ed303(0x411)][_0x4ed303(0x3d4)](_0x4ed303(0x2a4),_0x1b33bf[_0x4ed303(0x3eb)](_0x4ed303(0x2a4))),_0x1e1840[_0x4ed303(0x390)]();}async['_createSocket'](){var _0x51d54e=_0x473e97;const _0x54a58a=await this[_0x51d54e(0x2fe)](),_0x2ff5c8=this['_createSocketURL'](_0x54a58a),_0x383fa1=this[_0x51d54e(0x3ef)][_0x51d54e(0x41b)](_0x2ff5c8);return this[_0x51d54e(0x2be)]=_0x383fa1,_0x383fa1;}async[_0x473e97(0x4b5)](){var _0x4dcb84=_0x473e97,_0x498523,_0x1d2fcd;try{const _0x4b1e25=(_0x1d2fcd=(_0x498523=this['_socket'])!=null?_0x498523:this[_0x4dcb84(0x2be)])!=null?_0x1d2fcd:await this[_0x4dcb84(0x2c6)]();if(_0x4b1e25){const _0x21d117=_0x4b1e25[_0x4dcb84(0x1df)];_0x4b1e25[_0x4dcb84(0x1df)]=_0x360c11=>(this[_0x4dcb84(0x3d9)](),_0x21d117['apply'](_0x4b1e25,[_0x360c11])),_0x4b1e25['message$']['subscribe'](_0x1af959=>this['_onMessage'](_0x4b1e25,_0x1af959)),_0x4b1e25[_0x4dcb84(0x1fe)]['pipe'](V[_0x4dcb84(0x3b0)](0x1))[_0x4dcb84(0x1fc)](_0x41cb31=>this[_0x4dcb84(0x476)][_0x4dcb84(0x24f)](_0x4dcb84(0x15c),_0x41cb31)),_0x4b1e25[_0x4dcb84(0x3e5)]['pipe'](V[_0x4dcb84(0x3b0)](0x1))[_0x4dcb84(0x1fc)](()=>{this['_onConnectionOpen'](_0x4b1e25);}),_0x4b1e25[_0x4dcb84(0x2ba)][_0x4dcb84(0x2bd)](V['take'](0x1))[_0x4dcb84(0x1fc)](_0x4762cd=>{var _0x5500db=_0x4dcb84;this[_0x5500db(0x476)][_0x5500db(0x15f)]('[CollaborationSessionService]',_0x5500db(0x254),_0x4762cd),this[_0x5500db(0x334)]();});}}catch(_0x8c3cdc){this[_0x4dcb84(0x476)]['error'](_0x8c3cdc),this[_0x4dcb84(0x334)]();}}['_onConnectionOpen'](_0xc1532f){var _0x508638=_0x473e97;this[_0x508638(0x476)][_0x508638(0x15f)](_0x508638(0x467),_0x508638(0x2dd)),_0xc1532f[_0x508638(0x1df)]({'cmd':G['HELLO']}),this[_0x508638(0x3d9)]();}[_0x473e97(0x469)](){var _0x2105bf=_0x473e97;this[_0x2105bf(0x2ab)]=!0x1,this[_0x2105bf(0x2be)]=null,this['_status$']['next'](se[_0x2105bf(0x44f)]),this[_0x2105bf(0x3c8)][_0x2105bf(0x42d)](null),this[_0x2105bf(0x4a8)](),this[_0x2105bf(0x4b1)]();}[_0x473e97(0x334)](){var _0x4e6821=_0x473e97,_0x3571bb;this[_0x4e6821(0x469)](),this[_0x4e6821(0x398)]<((_0x3571bb=this[_0x4e6821(0x485)][_0x4e6821(0x4b7)](mt))!=null?_0x3571bb:Vt)?(this[_0x4e6821(0x1e3)][_0x4e6821(0x266)]({'id':Q[_0x4e6821(0x1e7)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x4e6821(0x266)]({'id':Q[_0x4e6821(0x44b)]});}[_0x473e97(0x243)](){var _0x333d69=_0x473e97,_0x2b5b12;const _0x48601f=this[_0x333d69(0x398)],_0x201cac=this[_0x333d69(0x485)][_0x333d69(0x4b7)](q),_0x2f2dc3=_0x48601f===0x0?0x0:((_0x2b5b12=_0x201cac==null?void 0x0:_0x201cac[_0x333d69(0x179)])!=null?_0x2b5b12:Wt)*0x2**_0x48601f;this[_0x333d69(0x375)]=setTimeout(()=>{var _0x2c99d0=_0x333d69;clearTimeout(this[_0x2c99d0(0x375)]),this[_0x2c99d0(0x375)]=null,this['_tryEnsureSocket']();},_0x2f2dc3),this['_retryCount']+=0x1;}['_onMessage'](_0x2a2637,_0x58182d){var _0x3357d6=_0x473e97;const {cmd:_0x39c95f}=_0x58182d;_0x39c95f===G[_0x3357d6(0x2f2)]&&!this[_0x3357d6(0x2ab)]&&(_0x2a2637[_0x3357d6(0x396)]=_0x58182d[_0x3357d6(0x46d)][_0x3357d6(0x396)],this[_0x3357d6(0x3c8)][_0x3357d6(0x42d)](_0x2a2637),this[_0x3357d6(0x37e)]['next'](se[_0x3357d6(0x189)]),this[_0x3357d6(0x2ab)]=!0x0,this['_candidateSocket']=null),_0x39c95f===G['HEARTBEAT']&&this[_0x3357d6(0x4a8)](),this[_0x3357d6(0x3d9)]();}[_0x473e97(0x3d9)](){var _0x15508d=_0x473e97,_0x4b09c6;this[_0x15508d(0x4b1)](),this[_0x15508d(0x406)]=setTimeout(()=>this[_0x15508d(0x3f7)](),(_0x4b09c6=this['_configService'][_0x15508d(0x4b7)](pt))!=null?_0x4b09c6:Ft);}[_0x473e97(0x3f7)](){var _0x444132=_0x473e97;this[_0x444132(0x3f8)]['send']({'cmd':G['HEARTBEAT']}),this[_0x444132(0x2c7)]();}['_waitForHeartbeatResponse'](){var _0x3edbab=_0x473e97,_0x4c218d;this['_timeoutTimer']=setTimeout(()=>this[_0x3edbab(0x334)](),(_0x4c218d=this[_0x3edbab(0x485)][_0x3edbab(0x4b7)](He))!=null?_0x4c218d:gt);}[_0x473e97(0x4b1)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x473e97(0x4a8)](){var _0x3a385b=_0x473e97;this[_0x3a385b(0x3d5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x3a385b(0x3d5)]=null);}},exports[_0x473e97(0x4aa)]=di([ae(0x0,a[_0x473e97(0x2ef)](a['Injector'])),ae(0x1,a[_0x473e97(0x3df)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a['Inject'](z[_0x473e97(0x2a5)])),ae(0x5,a['Inject'](te)),ae(0x6,a['Optional'](bt))],exports['CollaborationSessionService']);const K=[];for(let r=0x0;r<0x100;++r)K[_0x473e97(0x3a1)]((r+0x100)[_0x473e97(0x390)](0x10)['slice'](0x1));function vi(_0x241744,_0x424126=0x0){var _0x46ff7f=_0x473e97;return(K[_0x241744[_0x424126+0x0]]+K[_0x241744[_0x424126+0x1]]+K[_0x241744[_0x424126+0x2]]+K[_0x241744[_0x424126+0x3]]+'-'+K[_0x241744[_0x424126+0x4]]+K[_0x241744[_0x424126+0x5]]+'-'+K[_0x241744[_0x424126+0x6]]+K[_0x241744[_0x424126+0x7]]+'-'+K[_0x241744[_0x424126+0x8]]+K[_0x241744[_0x424126+0x9]]+'-'+K[_0x241744[_0x424126+0xa]]+K[_0x241744[_0x424126+0xb]]+K[_0x241744[_0x424126+0xc]]+K[_0x241744[_0x424126+0xd]]+K[_0x241744[_0x424126+0xe]]+K[_0x241744[_0x424126+0xf]])[_0x46ff7f(0x35f)]();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x53ae4b=_0x473e97;if(!Ue){if(typeof crypto>'u'||!crypto[_0x53ae4b(0x430)])throw new Error(_0x53ae4b(0x446));Ue=crypto['getRandomValues'][_0x53ae4b(0x187)](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x473e97(0x20a)]&&crypto[_0x473e97(0x20a)][_0x473e97(0x187)](crypto),qe={'randomUUID':pi};function gi(_0x7db503,_0x31b355,_0xf8167e){var _0x2ce0d0=_0x473e97;if(qe[_0x2ce0d0(0x20a)]&&!_0x31b355&&!_0x7db503)return qe[_0x2ce0d0(0x20a)]();_0x7db503=_0x7db503||{};const _0x24b30d=_0x7db503[_0x2ce0d0(0x3b6)]||(_0x7db503[_0x2ce0d0(0x427)]||Si)();return _0x24b30d[0x6]=_0x24b30d[0x6]&0xf|0x40,_0x24b30d[0x8]=_0x24b30d[0x8]&0x3f|0x80,vi(_0x24b30d);}const J=a[_0x473e97(0x1f6)](_0x473e97(0x379));function mi(_0x52e503){var _0x31b38f=_0x473e97;return _0x31b38f(0x2b6)+_0x52e503;}var Ii=Object['defineProperty'],Ei=Object[_0x473e97(0x413)],Ci=(_0x53f3da,_0x351c87,_0x246d50,_0x264b09)=>{var _0x278640=_0x473e97;for(var _0xb44a77=_0x264b09>0x1?void 0x0:_0x264b09?Ei(_0x351c87,_0x246d50):_0x351c87,_0x433765=_0x53f3da[_0x278640(0x39e)]-0x1,_0x272567;_0x433765>=0x0;_0x433765--)(_0x272567=_0x53f3da[_0x433765])&&(_0xb44a77=(_0x264b09?_0x272567(_0x351c87,_0x246d50,_0xb44a77):_0x272567(_0xb44a77))||_0xb44a77);return _0x264b09&&_0xb44a77&&Ii(_0x351c87,_0x246d50,_0xb44a77),_0xb44a77;},De=(_0x26c297,_0x59e382)=>(_0x1cdc4e,_0x304eff)=>_0x59e382(_0x1cdc4e,_0x304eff,_0x26c297);function Ti(_0x235380){var _0x12a3d8=_0x473e97;const {unitID:_0x27b438,mutations:_0x28abff}=_0x235380;return{'unitId':_0x27b438,'subUnitId':_0x28abff[0x0][_0x12a3d8(0x461)][_0x12a3d8(0x471)]};}exports[_0x473e97(0x4cb)]=class{constructor(_0x3ac853,_0x3a44f4,_0x4d1535){var _0x41539a=_0x473e97;this['_injector']=_0x3ac853,this[_0x41539a(0x373)]=_0x3a44f4,this[_0x41539a(0x4a5)]=_0x4d1535;}[_0x473e97(0x343)](_0x28650b){var _0x3ae9e7=_0x473e97,_0x144259,_0x5ef6cc,_0x2d7815,_0x206bfc;const _0xbce7f7=this['_injector'][_0x3ae9e7(0x3eb)](W[_0x3ae9e7(0x482)]),{unitId:_0x569f37,subUnitId:_0xe5f620}=Ti(_0x28650b),_0xed459d=_0xbce7f7==null?void 0x0:_0xbce7f7[_0x3ae9e7(0x436)](_0x569f37)['getCurrentSelections'](),_0x11fb22=(_0x5ef6cc=(_0x144259=this[_0x3ae9e7(0x4a5)]['getUnit'](_0x569f37))==null?void 0x0:_0x144259[_0x3ae9e7(0x382)]())==null?void 0x0:_0x5ef6cc['getSheetId']();if(_0xed459d[_0x3ae9e7(0x39e)]===0x0||!_0x569f37||!_0xe5f620)return;const _0x43ae30=[{'id':W[_0x3ae9e7(0x201)]['id'],'params':{'unitId':_0x569f37,'subUnitId':_0x11fb22,'selections':a[_0x3ae9e7(0x192)][_0x3ae9e7(0x1fb)](_0xed459d)}}],_0x2ed293=this[_0x3ae9e7(0x373)]['transformMutationsWithChangeset'](_0x28650b,_0x43ae30);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2ed293))throw _0x2ed293[_0x3ae9e7(0x24f)];const _0x3def03=(_0x206bfc=(_0x2d7815=_0x2ed293['m2Prime'][0x0])==null?void 0x0:_0x2d7815[_0x3ae9e7(0x461)])==null?void 0x0:_0x206bfc['selections'];if(Array[_0x3ae9e7(0x17e)](_0x3def03)&&_0x3def03['length']){if(_0x3def03[_0x3ae9e7(0x39e)]===_0x43ae30[0x0][_0x3ae9e7(0x461)]['selections'][_0x3ae9e7(0x39e)]&&_0x3def03[_0x3ae9e7(0x37b)]((_0x24a22c,_0x23ee94)=>a['Rectangle'][_0x3ae9e7(0x3c1)](_0x24a22c['range'],_0x43ae30[0x0]['params'][_0x3ae9e7(0x2f1)][_0x23ee94]['range'])))return;this['_injector'][_0x3ae9e7(0x3eb)](a['ICommandService'])[_0x3ae9e7(0x1a6)](W[_0x3ae9e7(0x201)]['id'],{'unitId':_0x569f37,'subUnitId':_0x11fb22,'selections':_0x3def03});}}},exports[_0x473e97(0x4cb)]=Ci([De(0x0,a[_0x473e97(0x2ef)](a[_0x473e97(0x319)])),De(0x1,m['ITransformService']),De(0x2,a[_0x473e97(0x34a)])],exports[_0x473e97(0x4cb)]);const ve=a[_0x473e97(0x1f6)](_0x473e97(0x3d2));var Fe=(_0x185967=>(_0x185967[_0x185967['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x473e97(0x3e3),_0x185967[_0x185967[_0x473e97(0x477)]=0x1]=_0x473e97(0x477),_0x185967))(Fe||{});const bi=new Set([W['InsertSheetMutation']['id']]);function ze(_0x5272a6,_0x34105e,_0x54b2e7,_0x1d8f29,_0x1f3e2a){var _0x114384=_0x473e97,_0x1efded,_0x3ccd88,_0x88293d,_0x116c27;const _0x393ac7=[];for(const _0x5b013f of _0x5272a6)if(bi[_0x114384(0x448)](_0x5b013f['id'])){if(_0x393ac7[_0x114384(0x39e)]>0x0)break;_0x393ac7[_0x114384(0x3a1)](_0x5b013f);break;}else _0x393ac7[_0x114384(0x3a1)](_0x5b013f);const _0x879835=(_0x3ccd88=(_0x1efded=_0x1f3e2a['getCurrentUser']())==null?void 0x0:_0x1efded[_0x114384(0x15a)])!=null?_0x3ccd88:'unknown',_0x3bf904=(_0x116c27=(_0x88293d=_0x1f3e2a[_0x114384(0x1c3)]())==null?void 0x0:_0x88293d['memberID'])!=null?_0x116c27:'unknown';return{'changeset':{'unitID':_0x34105e,'type':m['mapDocumentTypeToUniverType'](_0x54b2e7[_0x114384(0x278)](_0x34105e)),'baseRev':_0x1d8f29[_0x114384(0x310)](_0x34105e),'revision':0x0,'userID':_0x879835,'memberID':_0x3bf904,'mutations':_0x393ac7},'pendingMutations':_0x5272a6['slice'](_0x393ac7[_0x114384(0x39e)])};}function Ri(_0x13472f,_0x6842fd,_0x5c8d24,_0x487993,_0x200270){var _0x310852=_0x473e97,_0x6c3326,_0x1401b9,_0x356daa,_0x59df83;const _0x184a54=[_0x13472f['reduce']((_0x4e4d52,_0x63ac4c)=>{var _0x104182=_0x1992,_0x3acf3b;const {id:_0x248de8}=_0x4e4d52,{id:_0x53c4ea,type:_0x47d6de}=_0x63ac4c,_0x4387a6=(_0x3acf3b=_0x4e4d52[_0x104182(0x461)])!=null?_0x3acf3b:{'actions':null},_0x517c7e=_0x63ac4c[_0x104182(0x461)];if(_0x248de8&&_0x248de8!==_0x53c4ea)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x248de8+'\x20-\x20'+_0x53c4ea+'.');return{..._0x4e4d52,'id':_0x53c4ea,'type':_0x47d6de,'params':{'unitId':_0x517c7e[_0x104182(0x43d)],'textRanges':_0x517c7e[_0x104182(0x27e)],'actions':a['JSONX'][_0x104182(0x43a)](_0x4387a6[_0x104182(0x1c4)],_0x517c7e[_0x104182(0x1c4)])}};},{})],_0x303206=(_0x1401b9=(_0x6c3326=_0x200270['getCurrentUser']())==null?void 0x0:_0x6c3326[_0x310852(0x15a)])!=null?_0x1401b9:'unknown',_0x30218b=(_0x59df83=(_0x356daa=_0x200270[_0x310852(0x1c3)]())==null?void 0x0:_0x356daa[_0x310852(0x396)])!=null?_0x59df83:_0x310852(0x36e);return{'changeset':{'unitID':_0x6842fd,'type':m[_0x310852(0x431)](_0x5c8d24[_0x310852(0x278)](_0x6842fd)),'baseRev':_0x487993[_0x310852(0x310)](_0x6842fd),'revision':0x0,'userID':_0x303206,'memberID':_0x30218b,'mutations':_0x184a54},'pendingMutations':[]};}function yt(_0x5898a6,_0x370731){var _0x197f13=_0x473e97;const _0x47b116=new H[(_0x197f13(0x23f))](0x1);return setTimeout(()=>_0x47b116['next'](_0x370731),_0x5898a6),_0x47b116[_0x197f13(0x360)]()[_0x197f13(0x2bd)](H[_0x197f13(0x3b0)](0x1));}const Oi={'id':W[_0x473e97(0x246)]['id'],'type':a[_0x473e97(0x159)][_0x473e97(0x1dd)],'params':{}};var yi=Object[_0x473e97(0x378)],Pi=Object[_0x473e97(0x413)],le=(_0x1486e2,_0x2d0b3c,_0x1b00d1,_0x4859ca)=>{var _0x19d84c=_0x473e97;for(var _0x10c1b0=_0x4859ca>0x1?void 0x0:_0x4859ca?Pi(_0x2d0b3c,_0x1b00d1):_0x2d0b3c,_0x43a5ef=_0x1486e2[_0x19d84c(0x39e)]-0x1,_0x2ea902;_0x43a5ef>=0x0;_0x43a5ef--)(_0x2ea902=_0x1486e2[_0x43a5ef])&&(_0x10c1b0=(_0x4859ca?_0x2ea902(_0x2d0b3c,_0x1b00d1,_0x10c1b0):_0x2ea902(_0x10c1b0))||_0x10c1b0);return _0x4859ca&&_0x10c1b0&&yi(_0x2d0b3c,_0x1b00d1,_0x10c1b0),_0x10c1b0;},A=(_0x1941d8,_0x55aef0)=>(_0x2f82a6,_0x5e35e6)=>_0x55aef0(_0x2f82a6,_0x5e35e6,_0x1941d8),We=(_0x8c3108=>(_0x8c3108[_0x473e97(0x3db)]=_0x473e97(0x1cf),_0x8c3108['SYNCED']=_0x473e97(0x208),_0x8c3108[_0x473e97(0x31b)]='pending',_0x8c3108[_0x473e97(0x1b8)]=_0x473e97(0x4cc),_0x8c3108['AWAITING_WITH_PENDING']=_0x473e97(0x4b8),_0x8c3108[_0x473e97(0x1d7)]=_0x473e97(0x2d0),_0x8c3108[_0x473e97(0x4be)]=_0x473e97(0x1ba),_0x8c3108['OFFLINE']=_0x473e97(0x299),_0x8c3108))(We||{});const Pt=0xea60;class _e{constructor(_0xb1c5cc,_0x66006e,_0x42866b,_0x6a1cb6,_0x33bd1d,_0x173869,_0x5a56ce,_0x5a2e91,_0x5b7bc5){var _0x446dad=_0x473e97;D(this,'_awaitingChangeset',null),D(this,_0x446dad(0x210),[]),(this[_0x446dad(0x24d)]=_0xb1c5cc,this[_0x446dad(0x242)]=_0x66006e,this[_0x446dad(0x261)]=_0x33bd1d,this[_0x446dad(0x2fb)]=_0x173869,this['_undoRedoService']=_0x5a56ce,this[_0x446dad(0x2ea)]=_0x5a2e91,this[_0x446dad(0x45a)]=_0x5b7bc5,this[_0x446dad(0x2c0)]=_0x42866b,this[_0x446dad(0x210)]=_0x6a1cb6);}[_0x473e97(0x1a0)](_0xa2f749){var _0x480840=_0x473e97;const _0x18fb47=this['_revisionService'][_0x480840(0x310)](this[_0x480840(0x24d)]);return _0xa2f749['revision']>_0x18fb47+0x1?(this[_0x480840(0x261)][_0x480840(0x1aa)]({'from':_0x18fb47,'to':_0xa2f749['revision']-0x1}),!0x0):!0x1;}[_0x473e97(0x417)](_0x19e057){var _0x58ef6b=_0x473e97;this['_undoRedoService'][_0x58ef6b(0x27a)](this[_0x58ef6b(0x24d)],_0x19e057);}[_0x473e97(0x38f)](_0x3537fc){var _0x4791f8=_0x473e97,_0x38732e,_0x345e1f;(_0x345e1f=(_0x38732e=this[_0x4791f8(0x261)])[_0x4791f8(0x2cf)])==null||_0x345e1f['call'](_0x38732e,_0x3537fc);}['_transformIMECache'](_0x5136e5){var _0x2f3c92=_0x473e97,_0x5158a3,_0x1743a4;return(_0x1743a4=(_0x5158a3=this[_0x2f3c92(0x261)])['onTransformIME'])==null?void 0x0:_0x1743a4[_0x2f3c92(0x18a)](_0x5158a3,_0x5136e5);}['_transformStateCache'](_0x46a204){var _0x28ee7b=_0x473e97,_0x537908,_0x221a2f;return(_0x221a2f=(_0x537908=this[_0x28ee7b(0x261)])[_0x28ee7b(0x414)])==null?void 0x0:_0x221a2f[_0x28ee7b(0x18a)](_0x537908,_0x46a204);}[_0x473e97(0x28e)](_0x26f08e){var _0x3150b1=_0x473e97,_0x456cdc,_0x557418,_0x49df95;return(_0x49df95=(_0x557418=(_0x456cdc=this[_0x3150b1(0x261)])[_0x3150b1(0x3f9)])==null?void 0x0:_0x557418[_0x3150b1(0x18a)](_0x456cdc,_0x26f08e))!=null?_0x49df95:_0x26f08e;}[_0x473e97(0x4bc)](_0x1f2dd6){var _0x30d121=_0x473e97,_0xd8b960,_0xce575e,_0x4857a7;return(_0x4857a7=(_0xce575e=(_0xd8b960=this[_0x30d121(0x261)])[_0x30d121(0x355)])==null?void 0x0:_0xce575e[_0x30d121(0x18a)](_0xd8b960,_0x1f2dd6))!=null?_0x4857a7:_0x1f2dd6;}['_syncEditingCollabCursor'](_0x3a4945){var _0x599f78=_0x473e97,_0x5a4591,_0x49e0e5;if(this[_0x599f78(0x242)]===Z[_0x599f78(0x3b2)]){const {unitID:_0x351109,mutations:_0x2f7c6f,memberID:_0x4c22ef}=_0x3a4945,_0x3e9c2a=_0x2f7c6f[0x0][_0x599f78(0x461)][_0x599f78(0x27e)];Array['isArray'](_0x3e9c2a)&&_0x3e9c2a[_0x599f78(0x39e)]>0x0&&((_0x49e0e5=(_0x5a4591=this['_handler'])[_0x599f78(0x381)])==null||_0x49e0e5['call'](_0x5a4591,{'unitID':_0x351109,'memberID':_0x4c22ef,'textRanges':_0x3e9c2a}));}}[_0x473e97(0x1bd)](){var _0xe7ada5=_0x473e97,_0xc79a3d;(_0xc79a3d=this['_localCacheService'])==null||_0xc79a3d['updateOfflineData'](this[_0xe7ada5(0x24d)],this[_0xe7ada5(0x242)],this['_awaitingChangeset'],this[_0xe7ada5(0x210)]);}['_getCurrentRevision'](){var _0x103491=_0x473e97;return this['_revisionService'][_0x103491(0x310)](this[_0x103491(0x24d)]);}[_0x473e97(0x4cd)](){var _0x512b9c=_0x473e97;this[_0x512b9c(0x2ea)]['incrementRevOfUnit'](this[_0x512b9c(0x24d)]);}['_executeRemoteChangeset'](_0x172f9c){var _0x5e27cd=_0x473e97,_0x40aaab;let _0x2e808d=this[_0x5e27cd(0x28e)](_0x172f9c);_0x2e808d=this[_0x5e27cd(0x4bc)](_0x2e808d);const _0x4d71d8=a[_0x5e27cd(0x1da)](_0x2e808d[_0x5e27cd(0x3e7)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4d71d8[_0x5e27cd(0x3b1)])throw _0x4d71d8['error']instanceof Error?_0x4d71d8[_0x5e27cd(0x24f)]:new Error((_0x40aaab=_0x4d71d8[_0x5e27cd(0x24f)])!=null?_0x40aaab:_0x5e27cd(0x3f6));this[_0x5e27cd(0x213)](_0x2e808d),this['_transformStateCache'](_0x2e808d),this['_transformUndoredo'](_0x172f9c),this[_0x5e27cd(0x38f)](_0x2e808d),this[_0x5e27cd(0x420)](_0x2e808d),this['_incrementRevisionNumber']();}}exports[_0x473e97(0x348)]=class extends _e{constructor(_0x47ab9a,_0x985836,_0xdb8d5b,_0x2d05be,_0x483d5c,_0xe41a0c,_0x16599d,_0x3d6804,_0x11f3d2,_0x129981){var _0x1fbae9=_0x473e97;super(_0x47ab9a,_0x985836,null,[],_0xdb8d5b,_0x16599d,_0xe41a0c,_0x2d05be,_0x129981),D(this,'status',_0x1fbae9(0x208)),(this[_0x1fbae9(0x1cc)]=_0x483d5c,this[_0x1fbae9(0x476)]=_0x3d6804,this['_transformService']=_0x11f3d2,this[_0x1fbae9(0x161)]=_0x129981);}[_0x473e97(0x2aa)](_0x11db73){var _0x1342c8=_0x473e97;const _0x164988=this['_injector']['createInstance'](exports[_0x1342c8(0x4b9)],this['unitID'],this['type'],[_0x11db73],this[_0x1342c8(0x261)]);return _0x164988[_0x1342c8(0x22e)](),_0x164988[_0x1342c8(0x1bd)](),_0x164988;}['onRemoteChangeset'](_0x154d3c){var _0x6ea6f4=_0x473e97;if(this[_0x6ea6f4(0x1a0)](_0x154d3c))return this['_injector'][_0x6ea6f4(0x2e1)](exports[_0x6ea6f4(0x1a3)],this[_0x6ea6f4(0x24d)],this['type'],null,[],null,[_0x154d3c],this[_0x6ea6f4(0x261)]);try{const _0x4d9af0=this[_0x6ea6f4(0x373)]['transformMutationsWithChangeset'](_0x154d3c,[Oi]);if(m[_0x6ea6f4(0x340)](_0x4d9af0)){const {c1Prime:_0x35f849}=_0x4d9af0;return this[_0x6ea6f4(0x3aa)](_0x35f849),this;}throw _0x4d9af0[_0x6ea6f4(0x24f)];}catch(_0x33117c){return this['_logService']['error'](_0x33117c),this['_onConflict'](!0x1);}}[_0x473e97(0x425)](_0x387369){var _0x501c5e=_0x473e97;return this[_0x501c5e(0x1cc)]['createInstance'](exports['ConflictState'],this[_0x501c5e(0x24d)],this['type'],null,[],this['_handler'],_0x387369);}[_0x473e97(0x23b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x48192b=_0x473e97;throw new Error(_0x48192b(0x4c0));}[_0x473e97(0x2df)](){return this;}[_0x473e97(0x267)](){var _0x4d0860=_0x473e97;return this[_0x4d0860(0x1cc)][_0x4d0860(0x2e1)](exports[_0x4d0860(0x302)],this[_0x4d0860(0x24d)],this[_0x4d0860(0x242)],null,[],this[_0x4d0860(0x261)]);}[_0x473e97(0x312)](){return this;}['resend'](){var _0x3b21f7=_0x473e97;throw new Error(_0x3b21f7(0x46e));}[_0x473e97(0x3fe)](){var _0x47de1e=_0x473e97;const _0x3d8586=this[_0x47de1e(0x2ea)][_0x47de1e(0x310)](this[_0x47de1e(0x24d)]);return this[_0x47de1e(0x261)]['onMissingChangesets']({'from':_0x3d8586,'to':0x0}),this[_0x47de1e(0x1cc)][_0x47de1e(0x2e1)](exports[_0x47de1e(0x1a3)],this[_0x47de1e(0x24d)],this[_0x47de1e(0x242)],null,[],null,[],this[_0x47de1e(0x261)]);}},exports[_0x473e97(0x348)]=le([A(0x3,a[_0x473e97(0x2ef)](m[_0x473e97(0x370)])),A(0x4,a[_0x473e97(0x2ef)](a[_0x473e97(0x319)])),A(0x5,a['IUndoRedoService']),A(0x6,a[_0x473e97(0x2d7)]),A(0x7,a[_0x473e97(0x3df)]),A(0x8,m['ITransformService']),A(0x9,a[_0x473e97(0x1e1)](J))],exports[_0x473e97(0x348)]),exports[_0x473e97(0x4b9)]=class extends _e{constructor(_0x2f93e8,_0x1762ab,_0x3c47bd,_0x45bb5c,_0xe22ede,_0x3aab47,_0x4a0e85,_0x4a0af1,_0x2c9f17,_0x309a59,_0x19e8f7,_0x21a901,_0x4ce636,_0x411b65){var _0x2a5f0a=_0x473e97;super(_0x2f93e8,_0x1762ab,null,_0x3c47bd,_0x45bb5c,_0x2c9f17,_0x4ce636,_0x3aab47,_0x411b65),D(this,'status','pending'),D(this,'_scheduleTimestamp',null),D(this,_0x2a5f0a(0x1f5),null),(this[_0x2a5f0a(0x1cc)]=_0xe22ede,this['_memberService']=_0x4a0e85,this['_logService']=_0x4a0af1,this[_0x2a5f0a(0x485)]=_0x309a59,this['_transformService']=_0x19e8f7,this[_0x2a5f0a(0x488)]=_0x21a901);}[_0x473e97(0x2aa)](_0x8446d){return this['_pendingMutations']['push'](_0x8446d),this['_updateLocalCache'](),this;}[_0x473e97(0x2a2)](_0x4bf280){var _0xc30d7f=_0x473e97;if(this[_0xc30d7f(0x1a0)](_0x4bf280))return this[_0xc30d7f(0x3c3)](),this[_0xc30d7f(0x1cc)][_0xc30d7f(0x2e1)](exports['FetchingMissState'],this['unitID'],this[_0xc30d7f(0x242)],null,this[_0xc30d7f(0x210)],null,[_0x4bf280],this['_handler']);try{const _0x17aa1f=this[_0xc30d7f(0x373)][_0xc30d7f(0x233)](_0x4bf280,this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x17aa1f)){const {c1Prime:_0x2fbb74,m2Prime:_0x4e9eb2}=_0x17aa1f;this[_0xc30d7f(0x3aa)](_0x2fbb74);const _0x48c1d5=this[_0xc30d7f(0x1cc)]['createInstance'](exports['PendingState'],this[_0xc30d7f(0x24d)],this['type'],_0x4e9eb2,this['_handler']);return this[_0xc30d7f(0x3c3)](),_0x48c1d5[_0xc30d7f(0x22e)](this['_scheduleTimestamp']?Math[_0xc30d7f(0x149)](0x0,new Date()['getTime']()-this[_0xc30d7f(0x1a1)]):this[_0xc30d7f(0x48d)]()),_0x48c1d5;}throw _0x17aa1f[_0xc30d7f(0x24f)];}catch(_0x5d7120){return this[_0xc30d7f(0x476)][_0xc30d7f(0x24f)](_0x5d7120),this[_0xc30d7f(0x425)](!0x1);}}[_0x473e97(0x23b)](){var _0x249541=_0x473e97;throw new Error(_0x249541(0x2a1));}['onRemoteRej'](){var _0x2e1fae=_0x473e97;throw new Error(_0x2e1fae(0x48b));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2bf8b0=_0x473e97;return this[_0x2bf8b0(0x3c3)](),this['_injector'][_0x2bf8b0(0x2e1)](exports[_0x2bf8b0(0x302)],this[_0x2bf8b0(0x24d)],this['type'],null,this[_0x2bf8b0(0x210)],this[_0x2bf8b0(0x261)]);}[_0x473e97(0x312)](){return this;}[_0x473e97(0x22e)](_0xaba2eb){var _0x8299f2=_0x473e97;const _0x42768b=_0xaba2eb!=null?_0xaba2eb:this[_0x8299f2(0x48d)]();this[_0x8299f2(0x1a1)]=new Date()[_0x8299f2(0x22c)](),this[_0x8299f2(0x1f5)]=setTimeout(()=>{var _0x1b2e71=_0x8299f2;this[_0x1b2e71(0x3c3)]();let _0x15d4be=null;switch(this[_0x1b2e71(0x242)]){case Z['UNIVER_SHEET']:{_0x15d4be=ze(this[_0x1b2e71(0x210)],this[_0x1b2e71(0x24d)],this[_0x1b2e71(0x488)],this[_0x1b2e71(0x2ea)],this[_0x1b2e71(0x172)]);break;}case Z[_0x1b2e71(0x3b2)]:{this['_pendingMutations']['every'](_0x5b5e48=>_0x5b5e48['id']===ut['RichTextEditingMutation']['id'])?_0x15d4be=Ri(this[_0x1b2e71(0x210)],this['unitID'],this[_0x1b2e71(0x488)],this[_0x1b2e71(0x2ea)],this[_0x1b2e71(0x172)]):_0x15d4be=ze(this[_0x1b2e71(0x210)],this['unitID'],this[_0x1b2e71(0x488)],this[_0x1b2e71(0x2ea)],this[_0x1b2e71(0x172)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1b2e71(0x242)]+_0x1b2e71(0x440));}const {changeset:_0x167e69,pendingMutations:_0x3c3a1a}=_0x15d4be;this['_handler'][_0x1b2e71(0x177)](_0x167e69);const _0xace544=_0x3c3a1a[_0x1b2e71(0x39e)]?this[_0x1b2e71(0x1cc)][_0x1b2e71(0x2e1)](exports[_0x1b2e71(0x365)],this[_0x1b2e71(0x24d)],this[_0x1b2e71(0x242)],_0x167e69,_0x3c3a1a,this[_0x1b2e71(0x261)],void 0x0):this[_0x1b2e71(0x1cc)]['createInstance'](exports['AwaitingState'],this[_0x1b2e71(0x24d)],this[_0x1b2e71(0x242)],_0x167e69,this[_0x1b2e71(0x261)]);_0xace544['_updateLocalCache'](),this[_0x1b2e71(0x261)]['onStateChange'](this,_0xace544);},_0x42768b);}[_0x473e97(0x48d)](){var _0x27aab2=_0x473e97,_0xae8401;const _0x4e510f=this[_0x27aab2(0x485)][_0x27aab2(0x4b7)](q);return(_0xae8401=_0x4e510f==null?void 0x0:_0x4e510f[_0x27aab2(0x269)])!=null?_0xae8401:kt;}[_0x473e97(0x212)](){var _0x14215e=_0x473e97;throw new Error(_0x14215e(0x1a7));}['_clearScheduledTask'](){var _0x231425=_0x473e97;this[_0x231425(0x1f5)]!=null&&(clearTimeout(this[_0x231425(0x1f5)]),this[_0x231425(0x1f5)]=null);}['_onConflict'](_0x66fa36){var _0x2f5403=_0x473e97;return this[_0x2f5403(0x3c3)](),this[_0x2f5403(0x1cc)][_0x2f5403(0x2e1)](exports[_0x2f5403(0x359)],this[_0x2f5403(0x24d)],this[_0x2f5403(0x242)],null,this['_pendingMutations'],this['_handler'],_0x66fa36);}},exports['PendingState']=le([A(0x4,a[_0x473e97(0x2ef)](a['Injector'])),A(0x5,a[_0x473e97(0x2ef)](m['RevisionService'])),A(0x6,a[_0x473e97(0x2ef)](exports[_0x473e97(0x435)])),A(0x7,a[_0x473e97(0x3df)]),A(0x8,a['ICommandService']),A(0x9,a['IConfigService']),A(0xa,m[_0x473e97(0x15e)]),A(0xb,a[_0x473e97(0x34a)]),A(0xc,a[_0x473e97(0x40c)]),A(0xd,a[_0x473e97(0x1e1)](J))],exports[_0x473e97(0x4b9)]),exports['AwaitingState']=class extends _e{constructor(_0x435bf7,_0x317518,_0x22c8ca,_0x467464,_0xe4c62e,_0x3bfc12,_0x22867b,_0x2c3d6a,_0x1fe631,_0x554f04,_0x46a88f){var _0x34b73a=_0x473e97;super(_0x435bf7,_0x317518,_0x22c8ca,[],_0x467464,_0x22867b,_0x554f04,_0x3bfc12,_0x46a88f),D(this,_0x34b73a(0x1ad),_0x34b73a(0x4cc)),D(this,_0x34b73a(0x180),0x0),D(this,'_resendTimer'),D(this,_0x34b73a(0x206)),(this[_0x34b73a(0x1cc)]=_0xe4c62e,this[_0x34b73a(0x476)]=_0x2c3d6a,this[_0x34b73a(0x373)]=_0x1fe631);}[_0x473e97(0x2aa)](_0x4933b1){var _0x46bfd1=_0x473e97;this['_clearScheduledTask']();const _0x4885cf=this['_injector']['createInstance'](exports[_0x46bfd1(0x365)],this[_0x46bfd1(0x24d)],this[_0x46bfd1(0x242)],this[_0x46bfd1(0x2c0)],[_0x4933b1],this[_0x46bfd1(0x261)],this['_resendTimer']);return _0x4885cf[_0x46bfd1(0x1bd)](),_0x4885cf;}[_0x473e97(0x2a2)](_0x1d1d14){var _0x3b5dbf=_0x473e97;if(this[_0x3b5dbf(0x1a0)](_0x1d1d14))return this['_clearScheduledTask'](),this['_injector'][_0x3b5dbf(0x2e1)](exports['FetchingMissState'],this[_0x3b5dbf(0x24d)],this[_0x3b5dbf(0x242)],this[_0x3b5dbf(0x2c0)],[],null,[_0x1d1d14],this[_0x3b5dbf(0x261)]);try{const _0x465095=this[_0x3b5dbf(0x373)][_0x3b5dbf(0x40b)]([_0x1d1d14],[this[_0x3b5dbf(0x2c0)]],!0x1);if(m[_0x3b5dbf(0x178)](_0x465095)){const {c1Prime:_0x9f76d7,c2Prime:_0x36903f}=_0x465095;this[_0x3b5dbf(0x3aa)](_0x9f76d7[0x0]),_0x36903f[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x3b5dbf(0x3c3)]();const _0x36166d=this['_injector'][_0x3b5dbf(0x2e1)](exports[_0x3b5dbf(0x16e)],this[_0x3b5dbf(0x24d)],this[_0x3b5dbf(0x242)],_0x36903f[0x0],this[_0x3b5dbf(0x261)]);return _0x36166d[_0x3b5dbf(0x1bd)](),_0x36166d;}return this['_onConflict'](!0x1);}catch(_0x18f29d){return this['_logService'][_0x3b5dbf(0x24f)](_0x18f29d),this[_0x3b5dbf(0x425)](!0x1);}}[_0x473e97(0x23b)](_0x25ad9f){var _0x5e63f2=_0x473e97;this[_0x5e63f2(0x3c3)]();const _0x387685=this[_0x5e63f2(0x2ea)][_0x5e63f2(0x310)](this[_0x5e63f2(0x24d)]);if(_0x25ad9f['revision']<_0x387685-0x1)return this;if(this['_checkMissing'](_0x25ad9f))return this[_0x5e63f2(0x1cc)][_0x5e63f2(0x2e1)](exports[_0x5e63f2(0x1a3)],this[_0x5e63f2(0x24d)],this[_0x5e63f2(0x242)],null,[],this['_awaitingChangeset'],[],this[_0x5e63f2(0x261)]);this[_0x5e63f2(0x4cd)]();const _0x138538=this[_0x5e63f2(0x1cc)]['createInstance'](exports[_0x5e63f2(0x348)],this['unitID'],this[_0x5e63f2(0x242)],this[_0x5e63f2(0x261)]);return _0x138538[_0x5e63f2(0x1bd)](),_0x138538;}[_0x473e97(0x3f4)](_0x2798f5){var _0x49fb89=_0x473e97;return this[_0x49fb89(0x425)](!!(_0x2798f5!=null&&_0x2798f5[_0x49fb89(0x421)]));}[_0x473e97(0x2df)](_0x5a4b4c){var _0x3328ab=_0x473e97;return this[_0x3328ab(0x180)]>Pt?this[_0x3328ab(0x267)]():(this[_0x3328ab(0x14c)]=yt(this['_resendTimeout'],{'timeout':this[_0x3328ab(0x180)],'reqId':_0x5a4b4c[_0x3328ab(0x25f)]}),this[_0x3328ab(0x206)]=this[_0x3328ab(0x14c)][_0x3328ab(0x1fc)](({reqId:_0x4cbefd,timeout:_0x7b4bc6})=>{this['_resendWithTimeout'](_0x4cbefd,_0x7b4bc6);}),this);}[_0x473e97(0x267)](){var _0x4867bd=_0x473e97;return this[_0x4867bd(0x3c3)](),this[_0x4867bd(0x1cc)][_0x4867bd(0x2e1)](exports[_0x4867bd(0x302)],this[_0x4867bd(0x24d)],this[_0x4867bd(0x242)],this[_0x4867bd(0x2c0)],[],this[_0x4867bd(0x261)]);}[_0x473e97(0x312)](){return this;}[_0x473e97(0x212)](){var _0x13faab=_0x473e97;this[_0x13faab(0x261)][_0x13faab(0x177)](this[_0x13faab(0x2c0)]);}[_0x473e97(0x425)](_0x3a2f96){var _0x57980a=_0x473e97;return this['_clearScheduledTask'](),this[_0x57980a(0x1cc)][_0x57980a(0x2e1)](exports[_0x57980a(0x359)],this[_0x57980a(0x24d)],this[_0x57980a(0x242)],this[_0x57980a(0x2c0)],[],this['_handler'],_0x3a2f96);}[_0x473e97(0x16c)](_0x46ab98,_0x1135fa){var _0x45fbe8=_0x473e97,_0x1eb4bd;_0x46ab98===((_0x1eb4bd=this[_0x45fbe8(0x2c0)])==null?void 0x0:_0x1eb4bd['reqId'])&&(this[_0x45fbe8(0x212)](),this['_resendTimeout']=_0x1135fa===0x0?0x3e8:_0x1135fa*0x2);}[_0x473e97(0x3c3)](){var _0x2ab39d=_0x473e97,_0x37b158;(_0x37b158=this[_0x2ab39d(0x206)])==null||_0x37b158[_0x2ab39d(0x265)](),this[_0x2ab39d(0x180)]=0x0;}},exports[_0x473e97(0x16e)]=le([A(0x4,a['Inject'](a[_0x473e97(0x319)])),A(0x5,a['Inject'](m[_0x473e97(0x370)])),A(0x6,a['ICommandService']),A(0x7,a[_0x473e97(0x3df)]),A(0x8,m['ITransformService']),A(0x9,a[_0x473e97(0x40c)]),A(0xa,a[_0x473e97(0x1e1)](J))],exports['AwaitingState']),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x1e6cdb,_0xd1600d,_0x2f637c,_0x846966,_0x54f490,_0x532a9d,_0x21c94d,_0x41d704,_0x50a341,_0x30d0d6,_0x50a87b,_0x70e1c4,_0x84ed30){var _0x36c76e=_0x473e97;super(_0x1e6cdb,_0xd1600d,_0x2f637c,_0x846966,_0x54f490,_0x50a341,_0x70e1c4,_0x41d704,_0x84ed30),D(this,_0x36c76e(0x1ad),_0x36c76e(0x4b8)),D(this,_0x36c76e(0x180),0x0),D(this,_0x36c76e(0x14c)),D(this,_0x36c76e(0x206)),(this[_0x36c76e(0x1cc)]=_0x21c94d,this[_0x36c76e(0x476)]=_0x30d0d6,this[_0x36c76e(0x373)]=_0x50a87b,this['localCacheService']=_0x84ed30,_0x532a9d&&(this[_0x36c76e(0x14c)]=_0x532a9d,this[_0x36c76e(0x206)]=this['_resendTimer'][_0x36c76e(0x1fc)](({reqId:_0x650ac3,timeout:_0x332982})=>{var _0x1a4c05=_0x36c76e;this[_0x1a4c05(0x16c)](_0x650ac3,_0x332982);})));}['appendMutation'](_0xf0c402){var _0x233608=_0x473e97;return this[_0x233608(0x210)]['push'](_0xf0c402),this;}[_0x473e97(0x2a2)](_0x1d3b53){var _0x1a6d79=_0x473e97;if(this[_0x1a6d79(0x1a0)](_0x1d3b53))return this[_0x1a6d79(0x3c3)](),this[_0x1a6d79(0x1cc)][_0x1a6d79(0x2e1)](exports['FetchingMissState'],this[_0x1a6d79(0x24d)],this[_0x1a6d79(0x242)],this['_awaitingChangeset'],this[_0x1a6d79(0x210)],null,[_0x1d3b53],this[_0x1a6d79(0x261)]);try{const _0x6e29c3=this['_transformService'][_0x1a6d79(0x40b)]([_0x1d3b53],[this[_0x1a6d79(0x2c0)]],!0x1);if(m[_0x1a6d79(0x178)](_0x6e29c3)){const {c1Prime:_0x5b4615,c2Prime:_0x38801f}=_0x6e29c3,_0x3aee71=this['_transformService'][_0x1a6d79(0x233)](_0x5b4615[0x0],this['_pendingMutations']);if(m[_0x1a6d79(0x340)](_0x3aee71)){const {c1Prime:_0x39a80d,m2Prime:_0x1dd082}=_0x3aee71;return this[_0x1a6d79(0x3aa)](_0x39a80d),_0x38801f[0x0][_0x1a6d79(0x14d)]=this['_getCurrentRevision'](),this[_0x1a6d79(0x3c3)](),this[_0x1a6d79(0x1cc)][_0x1a6d79(0x2e1)](exports[_0x1a6d79(0x365)],this[_0x1a6d79(0x24d)],this['type'],_0x38801f[0x0],_0x1dd082,this['_handler'],void 0x0);}throw _0x3aee71[_0x1a6d79(0x24f)];}throw _0x6e29c3[_0x1a6d79(0x24f)];}catch(_0x2f4af1){return this[_0x1a6d79(0x476)][_0x1a6d79(0x24f)](_0x2f4af1),this[_0x1a6d79(0x425)](!0x1);}}['onRemoteAck'](_0x499972){var _0x5d8943=_0x473e97;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x499972))return this['_injector']['createInstance'](exports[_0x5d8943(0x1a3)],this['unitID'],this['type'],null,this[_0x5d8943(0x210)],this[_0x5d8943(0x2c0)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5d6d04=this['_injector'][_0x5d8943(0x2e1)](exports[_0x5d8943(0x4b9)],this['unitID'],this[_0x5d8943(0x242)],this[_0x5d8943(0x210)],this[_0x5d8943(0x261)]);return _0x5d6d04['_schedule'](),_0x5d6d04[_0x5d8943(0x1bd)](),_0x5d6d04;}[_0x473e97(0x3f4)](_0x607d89){var _0x1cbcc5=_0x473e97;return this['_onConflict'](!!(_0x607d89!=null&&_0x607d89[_0x1cbcc5(0x421)]));}[_0x473e97(0x2df)](_0x542684){var _0x37d7fd=_0x473e97;return this[_0x37d7fd(0x180)]>Pt?this[_0x37d7fd(0x267)]():(this['_resendTimer']=yt(this[_0x37d7fd(0x180)],{'timeout':this[_0x37d7fd(0x180)],'reqId':_0x542684[_0x37d7fd(0x25f)]}),this[_0x37d7fd(0x206)]=this[_0x37d7fd(0x14c)][_0x37d7fd(0x1fc)](({reqId:_0x1e91e1,timeout:_0x443341})=>{var _0x1787be=_0x37d7fd;this[_0x1787be(0x16c)](_0x1e91e1,_0x443341);}),this);}[_0x473e97(0x267)](){var _0x3c07bf=_0x473e97;return this[_0x3c07bf(0x3c3)](),this[_0x3c07bf(0x1cc)][_0x3c07bf(0x2e1)](exports[_0x3c07bf(0x302)],this[_0x3c07bf(0x24d)],this[_0x3c07bf(0x242)],this[_0x3c07bf(0x2c0)],this[_0x3c07bf(0x210)],this[_0x3c07bf(0x261)]);}[_0x473e97(0x312)](){return this;}[_0x473e97(0x212)](){var _0x362c71=_0x473e97;this[_0x362c71(0x261)][_0x362c71(0x177)](this[_0x362c71(0x2c0)]);}[_0x473e97(0x425)](_0x51a306){var _0x5d94d9=_0x473e97;return this['_clearScheduledTask'](),this[_0x5d94d9(0x1cc)]['createInstance'](exports['ConflictState'],this[_0x5d94d9(0x24d)],this[_0x5d94d9(0x242)],null,this[_0x5d94d9(0x210)],this[_0x5d94d9(0x261)],_0x51a306);}[_0x473e97(0x16c)](_0x54d33b,_0x17c84b){var _0x433554=_0x473e97,_0x2646ab;_0x54d33b===((_0x2646ab=this[_0x433554(0x2c0)])==null?void 0x0:_0x2646ab['reqId'])&&(this[_0x433554(0x212)](),this[_0x433554(0x180)]=_0x17c84b===0x0?0x3e8:_0x17c84b*0x2);}['_clearScheduledTask'](){var _0x23ee3d=_0x473e97,_0x3be0b9;(_0x3be0b9=this[_0x23ee3d(0x206)])==null||_0x3be0b9[_0x23ee3d(0x265)](),this['_resendTimeout']=0x0;}},exports[_0x473e97(0x365)]=le([A(0x6,a[_0x473e97(0x2ef)](a[_0x473e97(0x319)])),A(0x7,a[_0x473e97(0x2ef)](m[_0x473e97(0x370)])),A(0x8,a[_0x473e97(0x2d7)]),A(0x9,a['ILogService']),A(0xa,m[_0x473e97(0x15e)]),A(0xb,a[_0x473e97(0x40c)]),A(0xc,a[_0x473e97(0x1e1)](J))],exports[_0x473e97(0x365)]),exports['ConflictState']=class extends _e{constructor(_0x117f28,_0x40ad46,_0xdf01da,_0x1e2f47,_0x2f80d7,_0x51a053=!0x1,_0x3d4412,_0x2031fe,_0x3329d5,_0x4a6e54,_0x5482d2,_0x116610,_0x3d38b9){var _0x229403=_0x473e97;super(_0x117f28,_0x40ad46,_0xdf01da,_0x1e2f47,_0x2f80d7,_0x2031fe,_0x3329d5,_0x4a6e54,_0x3d38b9),D(this,'status',_0x229403(0x1ba)),(this[_0x229403(0x3b3)]=_0x51a053,this[_0x229403(0x18f)]=_0x3d4412,this['_localeService']=_0x5482d2,this[_0x229403(0x1e3)]=_0x116610,this['localCacheService']=_0x3d38b9,this[_0x229403(0x2d4)](),this[_0x229403(0x24e)](),this['_disableEditing']());}[_0x473e97(0x2aa)](){return this;}[_0x473e97(0x2a2)](){return this;}['onRemoteAck'](){return this;}[_0x473e97(0x3f4)](){return this;}[_0x473e97(0x2df)](){return this;}[_0x473e97(0x267)](){return this;}[_0x473e97(0x312)](){return this;}[_0x473e97(0x212)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x473e97(0x24e)](){var _0x180987=_0x473e97,_0x30455b;(_0x30455b=this['_localCacheService'])==null||_0x30455b[_0x180987(0x4a9)](this[_0x180987(0x24d)],this[_0x180987(0x242)],null,[]);}[_0x473e97(0x2d4)](){var _0x57c045=_0x473e97;this[_0x57c045(0x3b3)]?this[_0x57c045(0x1e3)][_0x57c045(0x266)]({'id':Q['PERMISSION_DENIED']}):this[_0x57c045(0x1e3)][_0x57c045(0x266)]({'id':Q['CONFLICT']});}[_0x473e97(0x418)](){var _0x4709d0=_0x473e97;this[_0x4709d0(0x18f)][_0x4709d0(0x372)](new W['WorkbookEditablePermission'](this[_0x4709d0(0x24d)])['id'],!0x1);}},exports[_0x473e97(0x359)]=le([A(0x6,a[_0x473e97(0x2ef)](a['IPermissionService'])),A(0x7,a[_0x473e97(0x2d7)]),A(0x8,a[_0x473e97(0x40c)]),A(0x9,a[_0x473e97(0x2ef)](m[_0x473e97(0x370)])),A(0xa,a[_0x473e97(0x2ef)](a[_0x473e97(0x35b)])),A(0xb,a[_0x473e97(0x2ef)](te)),A(0xc,a[_0x473e97(0x1e1)](J))],exports[_0x473e97(0x359)]),exports[_0x473e97(0x302)]=class extends _e{constructor(_0x4bfe21,_0x2b44d9,_0x39e9ba,_0x16e256,_0x45cd0d,_0x5e24ca,_0x12c1e2,_0x1070ff,_0x102b7e,_0x61c729){var _0x1a389e=_0x473e97;super(_0x4bfe21,_0x2b44d9,_0x39e9ba,_0x16e256,_0x45cd0d,_0x1070ff,_0x102b7e,_0x12c1e2,_0x61c729),D(this,_0x1a389e(0x1ad),_0x1a389e(0x299)),this[_0x1a389e(0x1cc)]=_0x5e24ca;}['appendMutation'](_0x277ad3){var _0x593c05=_0x473e97;return this[_0x593c05(0x210)][_0x593c05(0x3a1)](_0x277ad3),this[_0x593c05(0x1bd)](),this;}['onRemoteChangeset'](_0x2d298a){var _0x45725d=_0x473e97;throw new Error(_0x45725d(0x48a));}['onRemoteAck'](){var _0x51a378=_0x473e97;throw new Error(_0x51a378(0x320));}[_0x473e97(0x3f4)](){var _0x2c2046=_0x473e97;throw new Error(_0x2c2046(0x3f2));}['onRemoteRetry'](){return this;}[_0x473e97(0x267)](){return this;}[_0x473e97(0x312)](){var _0x3e6cdf=_0x473e97;const {_injector:_0x443f60,_pendingMutations:_0x3b21be,_awaitingChangeset:_0x56c640,unitID:_0x1ee8f0,_handler:_0x13a652,type:_0x5e967a}=this,_0x152412=Nt(_0x443f60,_0x1ee8f0,_0x5e967a,_0x56c640,_0x3b21be,_0x13a652);return _0x152412 instanceof exports[_0x3e6cdf(0x4b9)]?_0x152412[_0x3e6cdf(0x22e)]():(_0x152412 instanceof exports[_0x3e6cdf(0x365)]||_0x152412 instanceof exports[_0x3e6cdf(0x16e)])&&_0x152412[_0x3e6cdf(0x212)](),_0x152412;}[_0x473e97(0x212)](){var _0x195f19=_0x473e97;throw new Error(_0x195f19(0x2ec));}},exports[_0x473e97(0x302)]=le([A(0x5,a['Inject'](a[_0x473e97(0x319)])),A(0x6,a[_0x473e97(0x2ef)](m[_0x473e97(0x370)])),A(0x7,a[_0x473e97(0x2d7)]),A(0x8,a[_0x473e97(0x40c)]),A(0x9,a[_0x473e97(0x1e1)](J))],exports['OfflineState']),exports[_0x473e97(0x1a3)]=class extends _e{constructor(_0x470190,_0x13644a,_0x23d6c2,_0x6e15,_0x1b4eea,_0x2e2386,_0x1e734e,_0x4c46f0,_0x106c82,_0x4f05a6,_0xd8498,_0x205296,_0x31b570,_0x2958c0){var _0x39bced=_0x473e97;super(_0x470190,_0x13644a,_0x23d6c2,_0x6e15,_0x1e734e,_0xd8498,_0x205296,_0x106c82,_0x2958c0),D(this,_0x39bced(0x1ad),_0x39bced(0x2d0)),(this['_acknowledgedAwaitingChangeset']=_0x1b4eea,this[_0x39bced(0x4c6)]=_0x2e2386,this[_0x39bced(0x1cc)]=_0x4c46f0,this[_0x39bced(0x476)]=_0x4f05a6,this[_0x39bced(0x373)]=_0x31b570,this['localCacheService']=_0x2958c0);}[_0x473e97(0x1a2)](_0x5bf6fe){var _0x5ee917=_0x473e97;try{const _0x2b57df=[..._0x5bf6fe,...this[_0x5ee917(0x4c6)]],_0x410cde=[this[_0x5ee917(0x2c0)]||this[_0x5ee917(0x293)]][_0x5ee917(0x480)](_0x2da504=>!!_0x2da504);let _0x9089af,_0x291df8;if(_0x410cde['length']){const _0xc9366=this[_0x5ee917(0x373)][_0x5ee917(0x40b)](_0x2b57df,_0x410cde,!0x1);if(!m['isTransformChangesetsSuccess'](_0xc9366))throw _0xc9366[_0x5ee917(0x24f)];_0x9089af=_0xc9366[_0x5ee917(0x330)],_0x291df8=_0xc9366['c2Prime'];}else _0x9089af=_0x2b57df,_0x291df8=[];let _0x2b2b6b=this[_0x5ee917(0x210)];_0x9089af[_0x5ee917(0x1ff)](_0x27562d=>{var _0x123d30=_0x5ee917;let _0x1a367f;if(_0x2b2b6b['length']){const _0x3e1fd6=this[_0x123d30(0x373)][_0x123d30(0x233)](_0x27562d,_0x2b2b6b);if(!m[_0x123d30(0x340)](_0x3e1fd6))throw _0x3e1fd6['error'];_0x1a367f=_0x3e1fd6[_0x123d30(0x330)],_0x2b2b6b=_0x3e1fd6[_0x123d30(0x26d)];}else _0x1a367f=_0x27562d;this[_0x123d30(0x3aa)](_0x1a367f);}),this[_0x5ee917(0x293)]&&this[_0x5ee917(0x4cd)](),this[_0x5ee917(0x2c0)]&&_0x291df8[_0x5ee917(0x39e)]&&(_0x291df8[0x0]['baseRev']=this[_0x5ee917(0x18e)]());let _0x20c958;if(this['_awaitingChangeset']&&_0x2b2b6b[_0x5ee917(0x39e)]!==0x0)_0x20c958=this[_0x5ee917(0x1cc)][_0x5ee917(0x2e1)](exports[_0x5ee917(0x365)],this[_0x5ee917(0x24d)],this[_0x5ee917(0x242)],_0x291df8[0x0],_0x2b2b6b,this[_0x5ee917(0x261)],void 0x0);else{if(this[_0x5ee917(0x2c0)]&&_0x2b2b6b[_0x5ee917(0x39e)]===0x0)_0x291df8[0x0][_0x5ee917(0x14d)]=this[_0x5ee917(0x18e)](),_0x20c958=this['_injector'][_0x5ee917(0x2e1)](exports[_0x5ee917(0x16e)],this[_0x5ee917(0x24d)],this['type'],_0x291df8[0x0],this[_0x5ee917(0x261)]);else{if(_0x2b2b6b[_0x5ee917(0x39e)]!==0x0){const _0x37d734=this[_0x5ee917(0x1cc)]['createInstance'](exports[_0x5ee917(0x4b9)],this[_0x5ee917(0x24d)],this[_0x5ee917(0x242)],_0x2b2b6b,this[_0x5ee917(0x261)]);_0x37d734['_schedule'](),_0x20c958=_0x37d734;}else _0x20c958=this[_0x5ee917(0x1cc)][_0x5ee917(0x2e1)](exports[_0x5ee917(0x348)],this[_0x5ee917(0x24d)],this[_0x5ee917(0x242)],this[_0x5ee917(0x261)]);}}return _0x20c958['_updateLocalCache'](),_0x20c958;}catch(_0x2cd141){return this[_0x5ee917(0x476)]['error']('[FetchMissState]',_0x5ee917(0x42b),_0x2cd141),this[_0x5ee917(0x1cc)]['createInstance'](exports[_0x5ee917(0x359)],this[_0x5ee917(0x24d)],this[_0x5ee917(0x242)],this[_0x5ee917(0x2c0)],this[_0x5ee917(0x210)],this[_0x5ee917(0x261)],!0x1);}}[_0x473e97(0x212)](){var _0xc9aea6=_0x473e97;throw new Error(_0xc9aea6(0x238));}[_0x473e97(0x2aa)](_0x371b13){var _0x1ed241=_0x473e97;return this[_0x1ed241(0x210)][_0x1ed241(0x3a1)](_0x371b13),this;}[_0x473e97(0x2a2)](_0x41e8b2){return this['_queuedRemoteChangesets']['push'](_0x41e8b2),this;}[_0x473e97(0x23b)](_0x1fa7fa){var _0x3330c1=_0x473e97;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x3330c1(0x2c0)],this['_awaitingChangeset']=null,this;throw new Error(_0x3330c1(0x407));}['onRemoteRej'](_0x111558){var _0x475853=_0x473e97;return this[_0x475853(0x425)](!!(_0x111558!=null&&_0x111558[_0x475853(0x421)]));}['onRemoteRetry'](){return this;}[_0x473e97(0x267)](){var _0x194df6=_0x473e97;return this[_0x194df6(0x1cc)][_0x194df6(0x2e1)](exports[_0x194df6(0x302)],this[_0x194df6(0x24d)],this[_0x194df6(0x242)],this[_0x194df6(0x2c0)],this[_0x194df6(0x210)],this['_handler']);}[_0x473e97(0x312)](){return this;}['_onConflict'](_0x43be88){var _0x5879b7=_0x473e97;return this['_injector'][_0x5879b7(0x2e1)](exports[_0x5879b7(0x359)],this['unitID'],this[_0x5879b7(0x242)],this[_0x5879b7(0x2c0)],this[_0x5879b7(0x210)],this[_0x5879b7(0x261)],_0x43be88);}},exports[_0x473e97(0x1a3)]=le([A(0x7,a['Inject'](a[_0x473e97(0x319)])),A(0x8,a[_0x473e97(0x2ef)](m['RevisionService'])),A(0x9,a['ILogService']),A(0xa,a[_0x473e97(0x2d7)]),A(0xb,a[_0x473e97(0x40c)]),A(0xc,m['ITransformService']),A(0xd,a[_0x473e97(0x1e1)](J))],exports[_0x473e97(0x1a3)]);function Nt(_0xe8cc4e,_0x18914a,_0x2de907,_0x273cdd,_0x490c15,_0x3881fb){var _0x4c91d1=_0x473e97;return _0x273cdd&&_0x490c15[_0x4c91d1(0x39e)]?_0xe8cc4e['createInstance'](exports['AwaitingWithPendingState'],_0x18914a,_0x2de907,_0x273cdd,_0x490c15,_0x3881fb,void 0x0):_0x273cdd?_0xe8cc4e[_0x4c91d1(0x2e1)](exports[_0x4c91d1(0x16e)],_0x18914a,_0x2de907,_0x273cdd,_0x3881fb):_0x490c15[_0x4c91d1(0x39e)]?_0xe8cc4e[_0x4c91d1(0x2e1)](exports[_0x4c91d1(0x4b9)],_0x18914a,_0x2de907,_0x490c15,_0x3881fb):_0xe8cc4e[_0x4c91d1(0x2e1)](exports[_0x4c91d1(0x348)],_0x18914a,_0x2de907,_0x3881fb);}var Ni=Object[_0x473e97(0x378)],Ui=Object[_0x473e97(0x413)],Ve=(_0x5513c1,_0xa8d2f6,_0x3a43a,_0x23d7b0)=>{var _0x4cacf1=_0x473e97;for(var _0x3b3f71=_0x23d7b0>0x1?void 0x0:_0x23d7b0?Ui(_0xa8d2f6,_0x3a43a):_0xa8d2f6,_0x3ee83f=_0x5513c1[_0x4cacf1(0x39e)]-0x1,_0x34d9fd;_0x3ee83f>=0x0;_0x3ee83f--)(_0x34d9fd=_0x5513c1[_0x3ee83f])&&(_0x3b3f71=(_0x23d7b0?_0x34d9fd(_0xa8d2f6,_0x3a43a,_0x3b3f71):_0x34d9fd(_0x3b3f71))||_0x3b3f71);return _0x23d7b0&&_0x3b3f71&&Ni(_0xa8d2f6,_0x3a43a,_0x3b3f71),_0x3b3f71;},k=(_0x4e7202,_0x73cfef)=>(_0x57f06f,_0x303067)=>_0x73cfef(_0x57f06f,_0x303067,_0x4e7202);exports[_0x473e97(0x36f)]=class extends a[_0x473e97(0x244)]{constructor(_0x2e2952,_0x3682db,_0x4fa230,_0x394181,_0x1dbde3,_0x41c418,_0x2d2ca1,_0x17d5da,_0x65f31d,_0x4b90f6,_0xdf22d,_0x1ca3c4,_0x236b6f){var _0x1cf055=_0x473e97;super(),D(this,_0x1cf055(0x247),new H[(_0x1cf055(0x331))](null)),D(this,'state$',this['_state$'][_0x1cf055(0x360)]()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x1cf055(0x27b),''),D(this,'_changesetReqId',0x0),D(this,_0x1cf055(0x335),this[_0x1cf055(0x49b)]['pipe'](H[_0x1cf055(0x49e)](_0x2aabe0=>_0x2aabe0?_0x2aabe0[_0x1cf055(0x1ad)]:We['OFFLINE']),H['shareReplay'](0x1))),D(this,_0x1cf055(0x273),!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x2e2952,this[_0x1cf055(0x4ca)]=_0x3682db,this['_type']=_0x4fa230,this[_0x1cf055(0x1cc)]=_0x394181,this[_0x1cf055(0x42c)]=_0x1dbde3,this[_0x1cf055(0x207)]=_0x41c418,this['_revisionService']=_0x2d2ca1,this['_eventService']=_0x17d5da,this[_0x1cf055(0x476)]=_0x65f31d,this[_0x1cf055(0x2fb)]=_0x4b90f6,this[_0x1cf055(0x18f)]=_0xdf22d,this[_0x1cf055(0x432)]=_0x1ca3c4,this[_0x1cf055(0x45a)]=_0x236b6f);}get[_0x473e97(0x4af)](){var _0x54ae3e=_0x473e97;return this[_0x54ae3e(0x311)];}async[_0x473e97(0x1a5)](){var _0x8575e=_0x473e97;if(this[_0x8575e(0x4af)])throw new Error(_0x8575e(0x389));await this[_0x8575e(0x31d)]();}[_0x473e97(0x162)](){var _0xa27f3a=_0x473e97;return this['_collaborationPaused']=!0x0,a[_0xa27f3a(0x28d)](()=>{var _0x3d6b91=_0xa27f3a;this['_collaborationPaused']=!0x1,this[_0x3d6b91(0x1ae)]();});}['onLocalMutation'](_0x2c91f9){var _0x41b843=_0x473e97;this[_0x41b843(0x324)](_0x2c91f9);}[_0x473e97(0x237)](_0x427554){var _0x25de83=_0x473e97;this[_0x25de83(0x311)]=_0x427554,this[_0x25de83(0x247)][_0x25de83(0x42d)](_0x427554);}async['_init'](){var _0x3bce40=_0x473e97,_0x1051f4;this['_updateState'](await this[_0x3bce40(0x31f)]()),this[_0x3bce40(0x432)]&&((_0x1051f4=this[_0x3bce40(0x432)])==null||_0x1051f4[_0x3bce40(0x316)](this[_0x3bce40(0x24d)]),this[_0x3bce40(0x34e)](this[_0x3bce40(0x432)][_0x3bce40(0x45f)](this['unitID'])[_0x3bce40(0x1fc)](_0x490c3f=>{var _0x5756ea=_0x3bce40;this['_logService'][_0x5756ea(0x15f)]('[CollaborationEntity]',_0x5756ea(0x27c),_0x490c3f),_0x490c3f===Fe[_0x5756ea(0x477)]?(this[_0x5756ea(0x26b)][_0x5756ea(0x266)]({'id':Q[_0x5756ea(0x270)]}),this['_permissionService']['updatePermissionPoint'](new W[(_0x5756ea(0x1ab))](this[_0x5756ea(0x24d)])['id'],!0x1),this[_0x5756ea(0x18f)][_0x5756ea(0x197)](!0x1)):(this[_0x5756ea(0x18f)][_0x5756ea(0x372)](new W[(_0x5756ea(0x1ab))](this['unitID'])['id'],!0x0),this[_0x5756ea(0x18f)]['setShowComponents'](!0x0));})));let _0x233687=!0x1;return this['disposeWithMe'](this[_0x3bce40(0x4ca)][_0x3bce40(0x15b)][_0x3bce40(0x1fc)](_0x376c89=>{var _0x179f40=_0x3bce40;_0x376c89===se['ONLINE']?this[_0x179f40(0x35a)](_0x233687):_0x376c89===se['OFFLINE']&&(_0x233687=!0x0,this[_0x179f40(0x357)]());})),this[_0x3bce40(0x34e)](this[_0x3bce40(0x4ca)][_0x3bce40(0x1db)][_0x3bce40(0x1fc)](_0x49dcb6=>{var _0x35d013=_0x3bce40;try{switch(_0x49dcb6[_0x35d013(0x29b)]){case m[_0x35d013(0x47e)][_0x35d013(0x47f)]:{this[_0x35d013(0x168)](m[_0x35d013(0x1b4)](_0x49dcb6[_0x35d013(0x46d)]));break;}case m[_0x35d013(0x47e)][_0x35d013(0x3ac)]:{this['_onRemoteACK'](_0x49dcb6[_0x35d013(0x46d)]);break;}case m[_0x35d013(0x47e)]['CHANGESET_REJ']:{this[_0x35d013(0x473)]();break;}case m[_0x35d013(0x47e)][_0x35d013(0x464)]:{this['_onRemoteRetry'](_0x49dcb6['data']);break;}case m['CollaborationEvent'][_0x35d013(0x2fa)]:{this['_onFetchMissResult'](_0x49dcb6[_0x35d013(0x46d)][_0x35d013(0x2c1)][_0x35d013(0x49e)](_0x3fdedb=>m['parseProtocolChangeset'](_0x3fdedb)));break;}case m[_0x35d013(0x47e)][_0x35d013(0x38b)]:{this[_0x35d013(0x473)]({'isPermissionRej':!0x0});break;}case m['CollaborationEvent'][_0x35d013(0x27d)]:break;}}catch(_0x53a5d4){throw console[_0x35d013(0x24f)](_0x35d013(0x455),_0x53a5d4),_0x53a5d4;}})),this[_0x3bce40(0x311)];}['_unlockTransition'](){var _0xc72e8e=_0x473e97;this[_0xc72e8e(0x273)]=!0x1;}['_lockTransition'](){var _0x5be30d=_0x473e97;if(this[_0x5be30d(0x273)])throw new Error(_0x5be30d(0x32c));this[_0x5be30d(0x273)]=!0x0;}[_0x473e97(0x324)](_0x4f0a60){var _0x4e421f=_0x473e97;this[_0x4e421f(0x1e5)](),this[_0x4e421f(0x237)](this[_0x4e421f(0x311)]['appendMutation'](_0x4f0a60)),this[_0x4e421f(0x193)]();}[_0x473e97(0x168)](_0xed28b2){var _0x575437=_0x473e97;if(!(_0xed28b2[_0x575437(0x1c0)]<=this['_revisionService'][_0x575437(0x310)](this[_0x575437(0x24d)]))){if(this[_0x575437(0x2de)]){this[_0x575437(0x16a)]['push'](_0xed28b2);return;}this[_0x575437(0x19e)](_0xed28b2);}}[_0x473e97(0x1ae)](){var _0x1b42b8=_0x473e97;this[_0x1b42b8(0x16a)]['forEach'](_0x55ec04=>this[_0x1b42b8(0x19e)](_0x55ec04)),this[_0x1b42b8(0x16a)]=[];}[_0x473e97(0x19e)](_0x52541a){var _0x5536d3=_0x473e97;const _0x38d67e=this[_0x5536d3(0x42c)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x5536d3(0x460)]()[_0x5536d3(0x1f8)])(_0x52541a[_0x5536d3(0x3e7)],null)||_0x52541a['mutations'],_0x2aeae2={..._0x52541a,'mutations':_0x38d67e};this[_0x5536d3(0x1e5)](),this['_updateState'](this[_0x5536d3(0x311)][_0x5536d3(0x2a2)](_0x2aeae2)),this[_0x5536d3(0x193)]();}['_onRemoteACK'](_0x10897e){var _0x580035=_0x473e97;this[_0x580035(0x1e5)](),this[_0x580035(0x237)](this['_state'][_0x580035(0x23b)](_0x10897e)),this['_unlockTransition']();}['_onRemoteRejected'](_0x232d10){var _0x44bef6=_0x473e97;this[_0x44bef6(0x1e5)](),this[_0x44bef6(0x237)](this[_0x44bef6(0x311)][_0x44bef6(0x3f4)](_0x232d10)),this[_0x44bef6(0x193)]();}[_0x473e97(0x38e)](_0x21b125){var _0x87d69f=_0x473e97;this['_lockTransition'](),this[_0x87d69f(0x237)](this[_0x87d69f(0x311)]['onRemoteRetry'](_0x21b125)),this[_0x87d69f(0x193)]();}[_0x473e97(0x317)](_0x2acdc5){var _0x1293c9=_0x473e97;if(!(this[_0x1293c9(0x311)]instanceof exports[_0x1293c9(0x1a3)]))throw new TypeError(_0x1293c9(0x291));const _0x252db9=_0x2acdc5['map'](_0x31aa8f=>{var _0x40a8fc=_0x1293c9;const _0x3ad0f8=this['_compressMutationService'][_0x40a8fc(0x1d2)]['fetchThroughInterceptors'](this[_0x40a8fc(0x42c)][_0x40a8fc(0x1d2)]['getInterceptPoints']()[_0x40a8fc(0x1f8)])(_0x31aa8f[_0x40a8fc(0x3e7)],null)||_0x31aa8f['mutations'];return{..._0x31aa8f,'mutations':_0x3ad0f8};});this[_0x1293c9(0x1e5)](),this[_0x1293c9(0x237)](this[_0x1293c9(0x311)][_0x1293c9(0x1a2)](_0x252db9)),this[_0x1293c9(0x193)]();}[_0x473e97(0x357)](){var _0x55c4f6=_0x473e97;this[_0x55c4f6(0x1e5)](),this['_updateState'](this[_0x55c4f6(0x311)]['toggleOffline']()),this[_0x55c4f6(0x193)]();}[_0x473e97(0x35a)](_0x1c67d1=!0x1){var _0x26285f=_0x473e97;this[_0x26285f(0x1e5)](),this[_0x26285f(0x237)](this[_0x26285f(0x311)][_0x26285f(0x312)]()),this[_0x26285f(0x193)]();const _0x3cff30=this[_0x26285f(0x311)];_0x1c67d1&&_0x3cff30 instanceof exports[_0x26285f(0x348)]&&(this[_0x26285f(0x1e5)](),this[_0x26285f(0x237)](_0x3cff30[_0x26285f(0x3fe)]()),this[_0x26285f(0x193)]());}async[_0x473e97(0x31f)](){return new Promise(_0x37491c=>{var _0x156871=_0x1992;this[_0x156871(0x4ca)][_0x156871(0x15b)][_0x156871(0x2bd)](H['take'](0x1))['subscribe'](async _0x13128c=>{var _0x1de831=_0x156871;_0x37491c(await this['_createInitialStateImpl'](_0x13128c===se[_0x1de831(0x189)]));});});}[_0x473e97(0x2db)](){var _0x10134c=_0x473e97;const _0x1754fc=this[_0x10134c(0x24d)];return{'onStateChange':(_0x518f4a,_0x16a1ad)=>{var _0x4dd4e9=_0x10134c;if(_0x518f4a!==this[_0x4dd4e9(0x311)])throw new Error(_0x4dd4e9(0x384)+_0x518f4a['status']+_0x4dd4e9(0x49a)+_0x16a1ad[_0x4dd4e9(0x1ad)]+'\x0aCurrent:\x20'+this[_0x4dd4e9(0x311)]['status']);this['_updateState'](_0x16a1ad);},'onSendChangeset':_0x14b641=>{var _0x1f708e=_0x10134c;_0x14b641['sid']||(_0x14b641[_0x1f708e(0x205)]=this[_0x1f708e(0x27b)],_0x14b641[_0x1f708e(0x25f)]=++this[_0x1f708e(0x345)]);const _0x42068e={'eventID':m[_0x1f708e(0x47e)][_0x1f708e(0x3ee)],'data':{'unitID':_0x14b641['unitID'],'unitType':this['_type'],'changeset':_0x14b641,'memberID':this[_0x1f708e(0x4ca)]['getMemberID']()}};this['session'][_0x1f708e(0x1df)](_0x42068e,this['unitID']);},'onMissingChangesets':({from:_0x32dee1,to:_0x2c8627})=>{var _0x25dd10=_0x10134c;this[_0x25dd10(0x476)]['debug'](_0x25dd10(0x2c9),_0x25dd10(0x21e)+_0x32dee1+'\x20to\x20'+_0x2c8627);const _0x1db117={'eventID':m[_0x25dd10(0x47e)][_0x25dd10(0x157)],'data':{'unitID':_0x1754fc,'unitType':this[_0x25dd10(0x3bf)],'from':_0x32dee1,'to':_0x2c8627}};this['session'][_0x25dd10(0x1df)](_0x1db117,this[_0x25dd10(0x24d)]);}};}async[_0x473e97(0x252)](_0x1c186c){var _0x107f8d=_0x473e97,_0x2dd779,_0x2c3be0,_0xfc9e88;const _0xc7ade7=await((_0x2dd779=this[_0x107f8d(0x45a)])==null?void 0x0:_0x2dd779[_0x107f8d(0x39f)](this['unitID'])),_0x18803d=(_0x2c3be0=_0xc7ade7==null?void 0x0:_0xc7ade7[_0x107f8d(0x3e7)])!=null?_0x2c3be0:[],_0x23c6c5=(_0xfc9e88=_0xc7ade7==null?void 0x0:_0xc7ade7['awaitingChangeset'])!=null?_0xfc9e88:null,_0x5a6aed=!!(_0x23c6c5!=null&&_0x23c6c5['sid'])&&!!(_0x23c6c5!=null&&_0x23c6c5[_0x107f8d(0x25f)]);this[_0x107f8d(0x27b)]=_0x5a6aed?_0x23c6c5[_0x107f8d(0x205)]:gi(),this[_0x107f8d(0x345)]=_0x5a6aed?_0x23c6c5[_0x107f8d(0x25f)]:0x0;const _0x2f0f89=this[_0x107f8d(0x24d)];try{this[_0x107f8d(0x186)](_0x23c6c5,_0x18803d);}catch(_0x58490c){this['_logService'][_0x107f8d(0x24f)](_0x58490c);}const _0x2db540=this['_createHandler']();if(_0x1c186c){const _0xf59552=Nt(this[_0x107f8d(0x1cc)],_0x2f0f89,this['_type'],_0x23c6c5,_0x18803d,_0x2db540);return _0xf59552 instanceof exports[_0x107f8d(0x4b9)]?_0xf59552[_0x107f8d(0x22e)]():(_0xf59552 instanceof exports[_0x107f8d(0x365)]||_0xf59552 instanceof exports[_0x107f8d(0x16e)])&&_0xf59552[_0x107f8d(0x212)](),_0xf59552;}return this[_0x107f8d(0x1cc)][_0x107f8d(0x2e1)](exports[_0x107f8d(0x302)],_0x2f0f89,this['_type'],_0x23c6c5,_0x18803d,_0x2db540);}[_0x473e97(0x186)](_0x5b9152,_0x1ca7d6){var _0x4dbc43=_0x473e97,_0x2f68b9,_0x293e79;const _0x1f0538=this[_0x4dbc43(0x42c)][_0x4dbc43(0x1d2)]['fetchThroughInterceptors'](this[_0x4dbc43(0x42c)]['interceptor'][_0x4dbc43(0x460)]()['COMPRESS_MUTATION_APPLY']);(_0x2f68b9=_0x1f0538((_0x5b9152==null?void 0x0:_0x5b9152['mutations'])||[],null))==null||_0x2f68b9[_0x4dbc43(0x1ff)](_0x3e4dfa=>this[_0x4dbc43(0x2fb)][_0x4dbc43(0x1a6)](_0x3e4dfa['id'],_0x3e4dfa[_0x4dbc43(0x461)])),(_0x293e79=_0x1f0538(_0x1ca7d6||[],null))==null||_0x293e79[_0x4dbc43(0x1ff)](_0x149c27=>this['_commandService'][_0x4dbc43(0x1a6)](_0x149c27['id'],_0x149c27[_0x4dbc43(0x461)]));}},exports[_0x473e97(0x36f)]=Ve([k(0x3,a[_0x473e97(0x2ef)](a[_0x473e97(0x319)])),k(0x4,a[_0x473e97(0x2ef)](m[_0x473e97(0x166)])),k(0x5,a[_0x473e97(0x2ef)](a[_0x473e97(0x35b)])),k(0x6,a['Inject'](m[_0x473e97(0x370)])),k(0x7,a['Inject'](te)),k(0x8,a['ILogService']),k(0x9,a[_0x473e97(0x2d7)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x473e97(0x1e1)](ve)),k(0xc,a['Optional'](J))],exports[_0x473e97(0x36f)]),exports[_0x473e97(0x4ad)]=class extends exports[_0x473e97(0x36f)]{constructor(_0x42007c,_0x4254a3,_0x332be7,_0x3079cd,_0x2fb9d0,_0x18fb55,_0x9ce93b,_0x5e706,_0x382379,_0x1f5603,_0x238027,_0x3f56b7,_0x2bc23f){var _0x1ea5d1=_0x473e97;super(_0x42007c,_0x332be7,_0x4254a3,_0x3079cd,_0x2fb9d0,_0x18fb55,_0x9ce93b,_0x5e706,_0x382379,_0x1f5603,_0x238027,_0x3f56b7,_0x2bc23f),D(this,_0x1ea5d1(0x4c9),null),(this[_0x1ea5d1(0x24d)]=_0x42007c,this['type']=_0x4254a3);}[_0x473e97(0x2b4)](_0x5dac1a){var _0x57b8f5=_0x473e97;this[_0x57b8f5(0x4c9)]=_0x5dac1a;}['dispose'](){var _0x4094ea=_0x473e97;this[_0x4094ea(0x4c9)]=null,super[_0x4094ea(0x27f)]();}[_0x473e97(0x2db)](){var _0x484f3b=_0x473e97;const _0x5968af=super[_0x484f3b(0x2db)]();return _0x5968af[_0x484f3b(0x219)]=_0x136a4e=>{var _0x199e53=_0x484f3b,_0x462154,_0x3c572a;return(_0x3c572a=(_0x462154=this[_0x199e53(0x4c9)])==null?void 0x0:_0x462154[_0x199e53(0x219)])==null?void 0x0:_0x3c572a[_0x199e53(0x18a)](_0x462154,_0x136a4e);},_0x5968af[_0x484f3b(0x414)]=_0x125777=>{var _0x2b3594=_0x484f3b,_0x239854,_0x16ac2b;return(_0x16ac2b=(_0x239854=this[_0x2b3594(0x4c9)])==null?void 0x0:_0x239854[_0x2b3594(0x414)])==null?void 0x0:_0x16ac2b['call'](_0x239854,_0x125777);},_0x5968af[_0x484f3b(0x2cf)]=_0x4bb599=>{var _0x4b2249=_0x484f3b,_0x459487,_0x473253;return(_0x473253=(_0x459487=this['_handlerCallback'])==null?void 0x0:_0x459487['onTransformSelections'])==null?void 0x0:_0x473253[_0x4b2249(0x18a)](_0x459487,_0x4bb599);},_0x5968af[_0x484f3b(0x381)]=_0x25d3d1=>{var _0x353d0f=_0x484f3b,_0x550b45,_0x1543b3;return(_0x1543b3=(_0x550b45=this[_0x353d0f(0x4c9)])==null?void 0x0:_0x550b45[_0x353d0f(0x381)])==null?void 0x0:_0x1543b3[_0x353d0f(0x18a)](_0x550b45,_0x25d3d1);},_0x5968af['onTransformRemoteChangesetByIMECache']=_0x5cd5c1=>{var _0x540d6f=_0x484f3b,_0x3725fb,_0x2cf2eb,_0x100f5e;if(!((_0x3725fb=this['_handlerCallback'])!=null&&_0x3725fb['onTransformRemoteChangesetByIMECache']))throw new Error(_0x540d6f(0x29a));return(_0x100f5e=(_0x2cf2eb=this[_0x540d6f(0x4c9)])==null?void 0x0:_0x2cf2eb[_0x540d6f(0x3f9)])==null?void 0x0:_0x100f5e[_0x540d6f(0x18a)](_0x2cf2eb,_0x5cd5c1);},_0x5968af[_0x484f3b(0x355)]=_0xcde459=>{var _0xb1b46e=_0x484f3b,_0x5b1819,_0x1994e8,_0x44e6fb;if(!((_0x5b1819=this['_handlerCallback'])!=null&&_0x5b1819[_0xb1b46e(0x355)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x44e6fb=(_0x1994e8=this[_0xb1b46e(0x4c9)])==null?void 0x0:_0x1994e8[_0xb1b46e(0x355)])==null?void 0x0:_0x44e6fb['call'](_0x1994e8,_0xcde459);},_0x5968af;}async['_init'](){var _0x5e2e2d=_0x473e97;const _0x1b0cda=await super['_init']();return this[_0x5e2e2d(0x34e)](this[_0x5e2e2d(0x2fb)][_0x5e2e2d(0x2f6)]((_0x3e9e9a,_0x5928c5)=>{var _0x3b3c1c=_0x5e2e2d;if(_0x3e9e9a[_0x3b3c1c(0x242)]!==a[_0x3b3c1c(0x159)]['MUTATION']||_0x5928c5!=null&&_0x5928c5[_0x3b3c1c(0x46b)]||_0x5928c5!=null&&_0x5928c5['onlyLocal']||_0x3e9e9a['id']===ut[_0x3b3c1c(0x2c5)]['id'])return;const _0x2ebb99=_0x3e9e9a['params'];if((_0x2ebb99==null?void 0x0:_0x2ebb99[_0x3b3c1c(0x43d)])!==this[_0x3b3c1c(0x24d)])return;const _0x4acbd8=_0x3e9e9a,_0x556aba=this['_compressMutationService'][_0x3b3c1c(0x1d2)][_0x3b3c1c(0x3f0)](this[_0x3b3c1c(0x42c)][_0x3b3c1c(0x1d2)][_0x3b3c1c(0x460)]()[_0x3b3c1c(0x497)])([_0x4acbd8],null)||[_0x4acbd8];this['_onLocalMutation'](_0x556aba[0x0]);})),_0x1b0cda;}},exports[_0x473e97(0x4ad)]=Ve([k(0x3,a[_0x473e97(0x2ef)](a[_0x473e97(0x319)])),k(0x4,a[_0x473e97(0x2ef)](m[_0x473e97(0x166)])),k(0x5,a[_0x473e97(0x2ef)](a[_0x473e97(0x35b)])),k(0x6,a[_0x473e97(0x2ef)](m[_0x473e97(0x370)])),k(0x7,a[_0x473e97(0x2ef)](te)),k(0x8,a[_0x473e97(0x3df)]),k(0x9,a[_0x473e97(0x2d7)]),k(0xa,a[_0x473e97(0x306)]),k(0xb,a[_0x473e97(0x1e1)](ve)),k(0xc,a['Optional'](J))],exports[_0x473e97(0x4ad)]),exports[_0x473e97(0x2b2)]=class extends exports['CollaborationEntity']{constructor(_0x20bb61,_0x1f2c45,_0x2db85e,_0x520c67,_0x4290ca,_0x491fab,_0x4a790c,_0x5958df,_0x166b63,_0x4db447,_0x10c78c,_0x3f1b3f,_0x57082e,_0x2c5260){var _0x2a4726=_0x473e97;super(_0x20bb61,_0x2db85e,_0x1f2c45,_0x520c67,_0x4290ca,_0x491fab,_0x4a790c,_0x166b63,_0x4db447,_0x10c78c,_0x3f1b3f,_0x57082e,_0x2c5260),this[_0x2a4726(0x24d)]=_0x20bb61,this[_0x2a4726(0x242)]=_0x1f2c45,this[_0x2a4726(0x20e)]=_0x5958df;}[_0x473e97(0x2db)](){var _0x4bba55=_0x473e97;const _0x4fa4c9=super[_0x4bba55(0x2db)]();return _0x4fa4c9[_0x4bba55(0x2cf)]=_0x350647=>this['_sheetTransformSelectionsService'][_0x4bba55(0x343)](_0x350647),_0x4fa4c9;}async[_0x473e97(0x31d)](){var _0x4ba8b0=_0x473e97;const _0x3622f3=await super[_0x4ba8b0(0x31d)]();return this[_0x4ba8b0(0x34e)](this[_0x4ba8b0(0x2fb)]['onCommandExecuted']((_0x2063e6,_0x4a0a3b)=>{var _0x84fd7a=_0x4ba8b0;if(_0x2063e6[_0x84fd7a(0x242)]!==a[_0x84fd7a(0x159)][_0x84fd7a(0x1dd)]||_0x4a0a3b!=null&&_0x4a0a3b[_0x84fd7a(0x46b)]||_0x4a0a3b!=null&&_0x4a0a3b[_0x84fd7a(0x3b4)])return;const _0x3829ed=_0x2063e6[_0x84fd7a(0x461)];if((_0x3829ed==null?void 0x0:_0x3829ed[_0x84fd7a(0x43d)])!==this['unitID'])return;const _0xf264b2=_0x2063e6,_0x3bc4d8=this[_0x84fd7a(0x42c)]['interceptor'][_0x84fd7a(0x3f0)](this[_0x84fd7a(0x42c)][_0x84fd7a(0x1d2)][_0x84fd7a(0x460)]()[_0x84fd7a(0x497)])([_0xf264b2],null)||[_0xf264b2];this[_0x84fd7a(0x324)](_0x3bc4d8[0x0]);})),_0x3622f3;}},exports[_0x473e97(0x2b2)]=Ve([k(0x3,a['Inject'](a['Injector'])),k(0x4,a[_0x473e97(0x2ef)](m['CompressMutationService'])),k(0x5,a[_0x473e97(0x2ef)](a[_0x473e97(0x35b)])),k(0x6,a['Inject'](m[_0x473e97(0x370)])),k(0x7,a[_0x473e97(0x2ef)](exports[_0x473e97(0x4cb)])),k(0x8,a[_0x473e97(0x2ef)](te)),k(0x9,a['ILogService']),k(0xa,a['ICommandService']),k(0xb,a[_0x473e97(0x306)]),k(0xc,a['Optional'](ve)),k(0xd,a[_0x473e97(0x1e1)](J))],exports[_0x473e97(0x2b2)]);var Di=Object[_0x473e97(0x378)],wi=Object['getOwnPropertyDescriptor'],Ai=(_0x2e9e80,_0x458769,_0x542d33,_0x2ae00b)=>{var _0x54a5e6=_0x473e97;for(var _0x140509=_0x2ae00b>0x1?void 0x0:_0x2ae00b?wi(_0x458769,_0x542d33):_0x458769,_0x4494b2=_0x2e9e80[_0x54a5e6(0x39e)]-0x1,_0xf53598;_0x4494b2>=0x0;_0x4494b2--)(_0xf53598=_0x2e9e80[_0x4494b2])&&(_0x140509=(_0x2ae00b?_0xf53598(_0x458769,_0x542d33,_0x140509):_0xf53598(_0x140509))||_0x140509);return _0x2ae00b&&_0x140509&&Di(_0x458769,_0x542d33,_0x140509),_0x140509;},we=(_0x265043,_0x3598c3)=>(_0x5935e3,_0x5d5975)=>_0x3598c3(_0x5935e3,_0x5d5975,_0x265043);exports[_0x473e97(0x433)]=class extends a['RxDisposable']{constructor(_0x485cb2,_0x25c945,_0x1cefc0){var _0x1ce2a6=_0x473e97;super(),D(this,_0x1ce2a6(0x337),new Map()),D(this,_0x1ce2a6(0x1f7),new H[(_0x1ce2a6(0x1cb))]()),D(this,_0x1ce2a6(0x190),this[_0x1ce2a6(0x1f7)][_0x1ce2a6(0x360)]()),(this[_0x1ce2a6(0x1cc)]=_0x485cb2,this[_0x1ce2a6(0x416)]=_0x25c945,this[_0x1ce2a6(0x488)]=_0x1cefc0,this[_0x1ce2a6(0x31d)]());}[_0x473e97(0x27f)](){var _0x5ea02b=_0x473e97;super[_0x5ea02b(0x27f)](),this[_0x5ea02b(0x337)][_0x5ea02b(0x1ff)](_0x1b9cb9=>_0x1b9cb9['dispose']()),this[_0x5ea02b(0x337)][_0x5ea02b(0x1b5)]();}['getCollabEntity'](_0x2af156){var _0x3c148d=_0x473e97,_0x3817f2;return(_0x3817f2=this[_0x3c148d(0x337)][_0x3c148d(0x3eb)](_0x2af156))!=null?_0x3817f2:null;}[_0x473e97(0x318)](_0x2f811e){var _0x3c395e=_0x473e97;const _0x2a5acc=this[_0x3c395e(0x256)](_0x2f811e);return _0x2a5acc?H['of'](_0x2a5acc):this[_0x3c395e(0x1f7)]['pipe'](V['filter'](_0x471ba9=>_0x471ba9[_0x3c395e(0x24d)]===_0x2f811e));}[_0x473e97(0x232)](_0x14fd5d){var _0x30dfb5=_0x473e97;return H[_0x30dfb5(0x392)](this[_0x30dfb5(0x318)](_0x14fd5d)['pipe'](V[_0x30dfb5(0x49e)](()=>{})));}['_init'](){var _0x182f57=_0x473e97;this[_0x182f57(0x488)][_0x182f57(0x3f5)](a[_0x182f57(0x30c)][_0x182f57(0x224)])['pipe'](H[_0x182f57(0x34b)](this[_0x182f57(0x280)]),V['delay'](0x10))[_0x182f57(0x1fc)](async _0x1a1fdd=>{var _0x5c16d2=_0x182f57;const _0x14b0d8=_0x1a1fdd['getUnitId'](),_0x4c5ddc=await this[_0x5c16d2(0x234)](_0x14b0d8,Z[_0x5c16d2(0x224)]);this[_0x5c16d2(0x337)][_0x5c16d2(0x3d4)](_0x14b0d8,_0x4c5ddc);}),this[_0x182f57(0x488)][_0x182f57(0x3f5)](a[_0x182f57(0x30c)][_0x182f57(0x3b2)])['pipe'](H[_0x182f57(0x34b)](this[_0x182f57(0x280)]),V[_0x182f57(0x428)](0x10))['pipe'](V[_0x182f57(0x480)](_0x2278e7=>!_0x2278e7[_0x182f57(0x363)]()['startsWith']('__')))['subscribe'](async _0x316d62=>{var _0x536d13=_0x182f57;const _0x49719c=_0x316d62[_0x536d13(0x363)](),_0x4fa0a8=await this[_0x536d13(0x234)](_0x49719c,Z['UNIVER_DOC']);this['_entities'][_0x536d13(0x3d4)](_0x49719c,_0x4fa0a8);}),H[_0x182f57(0x491)](this['_univerInstanceService'][_0x182f57(0x3b5)](a['UniverInstanceType'][_0x182f57(0x224)]),this[_0x182f57(0x488)][_0x182f57(0x3b5)](a[_0x182f57(0x30c)][_0x182f57(0x3b2)]))[_0x182f57(0x2bd)](H['takeUntil'](this[_0x182f57(0x280)]))[_0x182f57(0x1fc)](_0xdb1df1=>{var _0x4322a0=_0x182f57;const _0x5b1352=_0xdb1df1[_0x4322a0(0x363)](),_0x385fcc=this[_0x4322a0(0x337)]['get'](_0x5b1352);_0x385fcc&&(_0x385fcc[_0x4322a0(0x27f)](),this[_0x4322a0(0x337)][_0x4322a0(0x44d)](_0x5b1352));});}async[_0x473e97(0x234)](_0x9c125d,_0x267750){var _0x3ac8f7=_0x473e97;const _0x14f4d7=await this[_0x3ac8f7(0x416)][_0x3ac8f7(0x20f)](_0x9c125d),_0x4b856a=this[_0x3ac8f7(0x1cc)][_0x3ac8f7(0x2e1)](this['_getCtorByUniverType'](_0x267750),_0x9c125d,_0x267750,_0x14f4d7);return await _0x4b856a[_0x3ac8f7(0x1a5)](),this[_0x3ac8f7(0x1f7)]['next'](_0x4b856a),_0x4b856a;}['_getCtorByUniverType'](_0x18465b){var _0x2ab0ea=_0x473e97;switch(_0x18465b){case Z[_0x2ab0ea(0x3b2)]:return exports[_0x2ab0ea(0x4ad)];case Z[_0x2ab0ea(0x224)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x18465b);}}},exports[_0x473e97(0x433)]=Ai([we(0x0,a['Inject'](a['Injector'])),we(0x1,a[_0x473e97(0x2ef)](exports[_0x473e97(0x4aa)])),we(0x2,a[_0x473e97(0x34a)])],exports[_0x473e97(0x433)]);var Li=Object[_0x473e97(0x378)],Mi=Object['getOwnPropertyDescriptor'],xi=(_0xe64bf7,_0x1717d9,_0x470a0f,_0x17889d)=>{for(var _0x316293=_0x17889d>0x1?void 0x0:_0x17889d?Mi(_0x1717d9,_0x470a0f):_0x1717d9,_0x5d5ace=_0xe64bf7['length']-0x1,_0x182c0d;_0x5d5ace>=0x0;_0x5d5ace--)(_0x182c0d=_0xe64bf7[_0x5d5ace])&&(_0x316293=(_0x17889d?_0x182c0d(_0x1717d9,_0x470a0f,_0x316293):_0x182c0d(_0x316293))||_0x316293);return _0x17889d&&_0x316293&&Li(_0x1717d9,_0x470a0f,_0x316293),_0x316293;},Je=(_0x2b8497,_0x2b7bb3)=>(_0x12fd9f,_0x17302f)=>_0x2b7bb3(_0x12fd9f,_0x17302f,_0x2b8497);const ji=_0x473e97(0x2ed),$i=_0x473e97(0x200);let $e=class extends a['Disposable']{constructor(_0x59249a,_0x3b6d1f){var _0x118244=_0x473e97;super(),this[_0x118244(0x488)]=_0x59249a,this['_configService']=_0x3b6d1f,this[_0x118244(0x31d)]();}[_0x473e97(0x31d)](){var _0x47ebe0=_0x473e97;this[_0x47ebe0(0x34e)](this[_0x47ebe0(0x488)][_0x47ebe0(0x19b)][_0x47ebe0(0x1fc)](()=>{var _0x2f5863=_0x47ebe0,_0x568100;const _0x2e31f9=this[_0x2f5863(0x488)][_0x2f5863(0x354)]();let _0x5364f7=(_0x568100=this[_0x2f5863(0x485)]['getConfig'](ji))!=null?_0x568100:$i;_0x2e31f9 instanceof a['Workbook']&&(_0x5364f7=_0x2e31f9[_0x2f5863(0x308)]),document['title']=_0x5364f7;}));}};$e=xi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a['IConfigService'])],$e);var Hi=Object[_0x473e97(0x378)],ki=Object[_0x473e97(0x413)],Bi=(_0xce1932,_0x2db474,_0x21ff30,_0x4150d9)=>{var _0x14dbac=_0x473e97;for(var _0x458b2a=_0x4150d9>0x1?void 0x0:_0x4150d9?ki(_0x2db474,_0x21ff30):_0x2db474,_0x284f83=_0xce1932[_0x14dbac(0x39e)]-0x1,_0x1b0718;_0x284f83>=0x0;_0x284f83--)(_0x1b0718=_0xce1932[_0x284f83])&&(_0x458b2a=(_0x4150d9?_0x1b0718(_0x2db474,_0x21ff30,_0x458b2a):_0x1b0718(_0x458b2a))||_0x458b2a);return _0x4150d9&&_0x458b2a&&Hi(_0x2db474,_0x21ff30,_0x458b2a),_0x458b2a;},Ae=(_0x4b9240,_0x5e8d49)=>(_0x532682,_0x38424d)=>_0x5e8d49(_0x532682,_0x38424d,_0x4b9240);let ye=class{constructor(_0x11626a,_0xaebd17,_0x31237e){var _0x2eaad0=_0x473e97;this['_configService']=_0x11626a,this['_httpService']=_0xaebd17,this[_0x2eaad0(0x25e)]=_0x31237e,this[_0x2eaad0(0x1a5)]();}['init'](){var _0xe9dcb7=_0x473e97;this[_0xe9dcb7(0x4ac)][_0xe9dcb7(0x41f)]({'priority':0x1,'interceptor':(_0x5d3f5f,_0x388822)=>_0x388822(_0x5d3f5f)[_0xe9dcb7(0x2bd)](H[_0xe9dcb7(0x1d5)](async _0x10e452=>{var _0xfdd5f4=_0xe9dcb7;const _0x360d89=_0x10e452;if(_0x360d89[_0xfdd5f4(0x1ad)]===0x191){if(typeof window>'u')throw new Error(_0xfdd5f4(0x35e));if(window[_0xfdd5f4(0x492)](this['localeService']['t'](_0xfdd5f4(0x3ce)))){const _0x11ada3=window[_0xfdd5f4(0x21a)](window[_0xfdd5f4(0x48e)][_0xfdd5f4(0x2ac)]);window[_0xfdd5f4(0x48e)][_0xfdd5f4(0x2ac)]=this[_0xfdd5f4(0x3a0)]()+_0xfdd5f4(0x457)+_0x11ada3;}}return _0x360d89;}))});}[_0x473e97(0x3a0)](){var _0x48b88b=_0x473e97,_0x254f07,_0x20f420;const _0x25be8d=this[_0x48b88b(0x485)][_0x48b88b(0x4b7)](Et),_0x16847c=this[_0x48b88b(0x485)][_0x48b88b(0x4b7)](q);return(_0x20f420=(_0x254f07=_0x16847c==null?void 0x0:_0x16847c[_0x48b88b(0x1f2)])!=null?_0x254f07:_0x25be8d)!=null?_0x20f420:qt;}};ye=Bi([Ae(0x0,a[_0x473e97(0x36a)]),Ae(0x1,a[_0x473e97(0x2ef)](z[_0x473e97(0x2a5)])),Ae(0x2,a['Inject'](a[_0x473e97(0x35b)]))],ye);var Fi=Object[_0x473e97(0x378)],Wi=Object[_0x473e97(0x413)],Vi=(_0x20d91b,_0x4e8c49,_0x4c2be0,_0x4ce132)=>{var _0xf06310=_0x473e97;for(var _0x583c05=_0x4ce132>0x1?void 0x0:_0x4ce132?Wi(_0x4e8c49,_0x4c2be0):_0x4e8c49,_0x19133d=_0x20d91b[_0xf06310(0x39e)]-0x1,_0x2a193b;_0x19133d>=0x0;_0x19133d--)(_0x2a193b=_0x20d91b[_0x19133d])&&(_0x583c05=(_0x4ce132?_0x2a193b(_0x4e8c49,_0x4c2be0,_0x583c05):_0x2a193b(_0x583c05))||_0x583c05);return _0x4ce132&&_0x583c05&&Fi(_0x4e8c49,_0x4c2be0,_0x583c05),_0x583c05;},Xe=(_0x5ddc17,_0x23bd88)=>(_0x25a1dd,_0x5a1cb1)=>_0x23bd88(_0x25a1dd,_0x5a1cb1,_0x5ddc17);const Ge=_0x473e97(0x4c8),Gi=_0x473e97(0x353);exports[_0x473e97(0x1af)]=class extends a[_0x473e97(0x463)]{constructor(_0x4ec84f,_0x17b6e4){var _0x5ae38b=_0x473e97;super(),this[_0x5ae38b(0x25a)]=_0x4ec84f,this[_0x5ae38b(0x485)]=_0x17b6e4,this[_0x5ae38b(0x454)]();}[_0x473e97(0x454)](){var _0x547118=_0x473e97;const _0x30ec41=this;this[_0x547118(0x34e)](this['_HTTPService'][_0x547118(0x41f)]({'priority':0x3e7,'interceptor':z[_0x547118(0x1b6)]({'isMatch'(_0x491693){var _0x3ab9c3=_0x547118,_0x187382;if(_0x491693[_0x3ab9c3(0x1bf)]===_0x3ab9c3(0x2f0)&&((_0x187382=_0x491693['requestParams'])!=null&&_0x187382[_0x3ab9c3(0x470)])){const {objectID:_0xd98650,objectType:_0x3e45d0}=_0x491693[_0x3ab9c3(0x294)][_0x3ab9c3(0x470)]||{};if(!_0xd98650||_0x3e45d0===void 0x0)return!0x1;const _0x2a3772=_0x30ec41[_0x3ab9c3(0x26a)]()+'/'+_0x3e45d0+'/object/'+_0xd98650+_0x3ab9c3(0x1b3);if(_0x491693[_0x3ab9c3(0x163)]===_0x2a3772)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x347bab){var _0x5a895a=_0x547118,_0x5c6f61;return(_0x5c6f61=_0x347bab[_0x5a895a(0x294)])==null?void 0x0:_0x5c6f61['body'];},'mergeParamsToRequest'(_0x10cb9f,_0x3f5530){var _0x41db61=_0x547118;const _0x19372a=_0x30ec41[_0x41db61(0x26a)]()+'/-/object/-/batch_allowed',_0x195fe0=_0x10cb9f[_0x41db61(0x393)]((_0x4f350f,_0x586701)=>{var _0x1a0ae2=_0x41db61;const {unitID:_0x204f61,objectID:_0x3407f6,objectType:_0x251668,actions:_0x1ccf09}=_0x586701;return _0x4f350f[_0x204f61]||(_0x4f350f[_0x204f61]={}),_0x4f350f[_0x204f61][_0x3407f6]||(_0x4f350f[_0x204f61][_0x3407f6]={'objectID':_0x3407f6,'objectType':_0x251668,'actions':[]}),_0x4f350f[_0x204f61][_0x3407f6][_0x1a0ae2(0x1c4)][_0x1a0ae2(0x3a1)](..._0x1ccf09),_0x4f350f;},{}),_0xe8da7=[];for(const _0x56421d in _0x195fe0)for(const _0x490199 in _0x195fe0[_0x56421d]){const {actions:_0x8d1caa,objectType:_0x10d8d0}=_0x195fe0[_0x56421d][_0x490199],_0x10e040=[...new Set(_0x8d1caa)];_0xe8da7[_0x41db61(0x3a1)]({'unitID':_0x56421d,'objectID':_0x490199,'objectType':_0x10d8d0,'actions':_0x10e040});}return new z['HTTPRequest'](_0x41db61(0x2f0),_0x19372a,{'headers':_0x3f5530[_0x41db61(0x32f)],'withCredentials':_0x3f5530[_0x41db61(0x18c)],'responseType':_0x3f5530[_0x41db61(0x183)],'body':{'requests':_0xe8da7}});}},{'distributeResult'(_0x53bdb7,_0x551177){var _0x3a0423=_0x547118;const {objectActions:_0x1a99c9}=_0x53bdb7;return _0x551177[_0x3a0423(0x49e)](_0x33e6cd=>{var _0x3cc87a=_0x3a0423;const {unitID:_0x4e261a,objectID:_0x2bcdba,actions:_0x2225d8}=_0x33e6cd,_0x55d9d9=_0x1a99c9[_0x3cc87a(0x4c5)](_0x1207af=>_0x1207af[_0x3cc87a(0x24d)]===_0x4e261a&&_0x1207af[_0x3cc87a(0x1be)]===_0x2bcdba),_0x4e92dc=_0x2225d8[_0x3cc87a(0x49e)](_0x317847=>_0x55d9d9==null?void 0x0:_0x55d9d9[_0x3cc87a(0x1c4)][_0x3cc87a(0x4c5)](_0x2a8467=>_0x2a8467[_0x3cc87a(0x260)]===_0x317847))['filter'](_0x4487d9=>!!_0x4487d9);return{'config':_0x33e6cd,'result':{'actions':_0x4e92dc,'error':_0x53bdb7[_0x3cc87a(0x24f)]}};});}})}));}[_0x473e97(0x26a)](){var _0x1de692=_0x473e97,_0x1c869b,_0x368421;const _0x183812=this['_configService'][_0x1de692(0x4b7)](Ge),_0x48832d=this[_0x1de692(0x485)][_0x1de692(0x4b7)](q);return(_0x368421=(_0x1c869b=_0x48832d==null?void 0x0:_0x48832d[_0x1de692(0x2ee)])!=null?_0x1c869b:_0x183812)!=null?_0x368421:Gi;}async['create'](_0x322623){var _0x43440c=_0x473e97;const _0x47622d=this['_getAPIPrefixPath']()+'/'+_0x322623[_0x43440c(0x371)]+_0x43440c(0x28b);return(await this[_0x43440c(0x25a)][_0x43440c(0x48f)](_0x47622d,{'body':_0x322623}))[_0x43440c(0x470)]['objectID']||'';}async[_0x473e97(0x2cb)](_0x42837f){var _0x584af3=_0x473e97;const _0xf2ea3e=this[_0x584af3(0x26a)]()+_0x584af3(0x2b8);return(await this[_0x584af3(0x25a)][_0x584af3(0x48f)](_0xf2ea3e,{'body':_0x42837f}))[_0x584af3(0x470)][_0x584af3(0x216)];}async['update'](_0x38785c){var _0x2ddfc0=_0x473e97;const _0x5ca22e=this[_0x2ddfc0(0x26a)]()+'/'+_0x38785c[_0x2ddfc0(0x371)]+_0x2ddfc0(0x45d)+_0x38785c[_0x2ddfc0(0x1be)];await this[_0x2ddfc0(0x25a)][_0x2ddfc0(0x479)](_0x5ca22e,{'body':_0x38785c});}async[_0x473e97(0x1c5)](_0x5cdbc8){var _0x194fab=_0x473e97;const _0x747620=this['_getAPIPrefixPath']()+'/'+_0x5cdbc8[_0x194fab(0x371)]+_0x194fab(0x45d)+_0x5cdbc8[_0x194fab(0x1be)]+'/allowed';return(await this[_0x194fab(0x25a)]['post'](_0x747620,{'body':_0x5cdbc8}))[_0x194fab(0x470)][_0x194fab(0x1c4)];}async['batchAllowed'](_0x3d58e5){var _0x424ed6=_0x473e97;const _0xb374d0=this[_0x424ed6(0x26a)]()+_0x424ed6(0x17d);return(await this[_0x424ed6(0x25a)][_0x424ed6(0x48f)](_0xb374d0,{'body':{'requests':_0x3d58e5}}))[_0x424ed6(0x470)]['objectActions'];}async['listRoles'](_0x4827e7){var _0xbef659=_0x473e97;const _0x45e321=this[_0xbef659(0x26a)]()+'/'+_0x4827e7[_0xbef659(0x371)]+_0xbef659(0x24c),_0x2f3774=await this[_0xbef659(0x25a)]['post'](_0x45e321,{'body':_0x4827e7});return{'roles':_0x2f3774[_0xbef659(0x470)][_0xbef659(0x49c)],'actions':_0x2f3774['body']['actions']};}async[_0x473e97(0x1b0)](_0x395942){var _0xf396f7=_0x473e97;const _0x585645=this['_getAPIPrefixPath']()+_0xf396f7(0x28f);await this['_HTTPService'][_0xf396f7(0x44d)](_0x585645,{'params':{'collaboratorID':_0x395942[_0xf396f7(0x47d)],'objectID':_0x395942[_0xf396f7(0x1be)],'unitID':_0x395942[_0xf396f7(0x24d)]}});}async[_0x473e97(0x16b)](_0x532271){var _0x38ac0c=_0x473e97;const _0x1386c4=this[_0x38ac0c(0x26a)]()+_0x38ac0c(0x28f);await this[_0x38ac0c(0x25a)][_0x38ac0c(0x3ba)](_0x1386c4,{'body':_0x532271});}async[_0x473e97(0x3c5)](_0x263e11){var _0x5be3e7=_0x473e97;const _0x28da2e=this[_0x5be3e7(0x26a)]()+_0x5be3e7(0x28f);await this[_0x5be3e7(0x25a)][_0x5be3e7(0x48f)](_0x28da2e,{'body':_0x263e11});}async['listCollaborators'](_0x35486d){var _0x189004=_0x473e97;const _0x54fecc=this['_getAPIPrefixPath']()+_0x189004(0x28f);return(await this['_HTTPService'][_0x189004(0x3eb)](_0x54fecc,{'params':{'objectID':_0x35486d['objectID'],'unitID':_0x35486d[_0x189004(0x24d)]}}))['body'][_0x189004(0x45c)];}async[_0x473e97(0x2b5)](_0x3cdcaa){var _0x249cb9=_0x473e97;const _0x301546=this[_0x249cb9(0x26a)]()+_0x249cb9(0x28f);await this[_0x249cb9(0x25a)]['put'](_0x301546,{'body':_0x3cdcaa});}},exports[_0x473e97(0x1af)]=Vi([Xe(0x0,a[_0x473e97(0x2ef)](z[_0x473e97(0x2a5)])),Xe(0x1,a[_0x473e97(0x2ef)](a[_0x473e97(0x36a)]))],exports['AuthzIoHttpService']);function _0x1992(_0x47a782,_0xf906e){var _0x2cc6c8=_0x2cc6();return _0x1992=function(_0x199269,_0x410b6b){_0x199269=_0x199269-0x149;var _0x12b94f=_0x2cc6c8[_0x199269];return _0x12b94f;},_0x1992(_0x47a782,_0xf906e);}var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x4915a6){var _0x4f8efb=_0x473e97;return _0x4915a6&&_0x4915a6['__esModule']&&Object['prototype'][_0x4f8efb(0x3c0)][_0x4f8efb(0x18a)](_0x4915a6,_0x4f8efb(0x3cd))?_0x4915a6[_0x4f8efb(0x3cd)]:_0x4915a6;}var Se={'exports':{}};function Ki(_0x12e0f2){var _0x2a3af7=_0x473e97;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x12e0f2+_0x2a3af7(0x475));}var pe={'exports':{}},Yi=pe[_0x473e97(0x1ea)],Ze;function ee(){var _0x286eb5=_0x473e97;return Ze||(Ze=0x1,function(_0x5bd600,_0x352fc2){(function(_0x4fb229,_0x3a7ced){var _0x285d4f=_0x1992;_0x5bd600[_0x285d4f(0x1ea)]=_0x3a7ced();}(Yi,function(){var _0x5a5c4c=_0x5a5c4c||function(_0x2ae5ae,_0x1b937f){var _0x547643=_0x1992,_0x43f135;if(typeof window<'u'&&window[_0x547643(0x264)]&&(_0x43f135=window[_0x547643(0x264)]),typeof self<'u'&&self[_0x547643(0x264)]&&(_0x43f135=self[_0x547643(0x264)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x43f135=globalThis['crypto']),!_0x43f135&&typeof window<'u'&&window[_0x547643(0x222)]&&(_0x43f135=window['msCrypto']),!_0x43f135&&typeof Le<'u'&&Le[_0x547643(0x264)]&&(_0x43f135=Le[_0x547643(0x264)]),!_0x43f135&&typeof Ki==_0x547643(0x327))try{_0x43f135=require(_0x547643(0x264));}catch{}var _0x4e5e8b=function(){var _0x2fa7f1=_0x547643;if(_0x43f135){if(typeof _0x43f135[_0x2fa7f1(0x430)]==_0x2fa7f1(0x327))try{return _0x43f135[_0x2fa7f1(0x430)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x43f135[_0x2fa7f1(0x350)]==_0x2fa7f1(0x327))try{return _0x43f135['randomBytes'](0x4)[_0x2fa7f1(0x300)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3b6e1c=Object[_0x547643(0x240)]||(function(){function _0x5d5515(){}return function(_0x3d16d2){var _0x439c4e=_0x1992,_0x2b448c;return _0x5d5515[_0x439c4e(0x2f7)]=_0x3d16d2,_0x2b448c=new _0x5d5515(),_0x5d5515[_0x439c4e(0x2f7)]=null,_0x2b448c;};}()),_0x2ee20c={},_0x19e866=_0x2ee20c[_0x547643(0x1d1)]={},_0x449860=_0x19e866[_0x547643(0x268)]=(function(){return{'extend':function(_0x45062d){var _0x421f04=_0x1992,_0x27967b=_0x3b6e1c(this);return _0x45062d&&_0x27967b[_0x421f04(0x2cd)](_0x45062d),(!_0x27967b[_0x421f04(0x3c0)](_0x421f04(0x1a5))||this[_0x421f04(0x1a5)]===_0x27967b[_0x421f04(0x1a5)])&&(_0x27967b[_0x421f04(0x1a5)]=function(){var _0x1f4d44=_0x421f04;_0x27967b[_0x1f4d44(0x3be)][_0x1f4d44(0x1a5)][_0x1f4d44(0x2eb)](this,arguments);}),_0x27967b[_0x421f04(0x1a5)][_0x421f04(0x2f7)]=_0x27967b,_0x27967b[_0x421f04(0x3be)]=this,_0x27967b;},'create':function(){var _0x1b814a=_0x1992,_0x399f5e=this[_0x1b814a(0x204)]();return _0x399f5e[_0x1b814a(0x1a5)][_0x1b814a(0x2eb)](_0x399f5e,arguments),_0x399f5e;},'init':function(){},'mixIn':function(_0x93f9cb){var _0x251638=_0x1992;for(var _0x247873 in _0x93f9cb)_0x93f9cb['hasOwnProperty'](_0x247873)&&(this[_0x247873]=_0x93f9cb[_0x247873]);_0x93f9cb[_0x251638(0x3c0)](_0x251638(0x390))&&(this[_0x251638(0x390)]=_0x93f9cb['toString']);},'clone':function(){var _0x3d3f3c=_0x1992;return this[_0x3d3f3c(0x1a5)]['prototype'][_0x3d3f3c(0x204)](this);}};}()),_0x1645a5=_0x19e866['WordArray']=_0x449860['extend']({'init':function(_0x664723,_0x3790a2){var _0x49bae3=_0x547643;_0x664723=this[_0x49bae3(0x202)]=_0x664723||[],_0x3790a2!=_0x1b937f?this['sigBytes']=_0x3790a2:this['sigBytes']=_0x664723[_0x49bae3(0x39e)]*0x4;},'toString':function(_0xd3425a){var _0x101bdd=_0x547643;return(_0xd3425a||_0x3987b4)[_0x101bdd(0x30b)](this);},'concat':function(_0x13a6e3){var _0x1722bc=_0x547643,_0x2b9418=this[_0x1722bc(0x202)],_0x4ccf95=_0x13a6e3[_0x1722bc(0x202)],_0x203042=this[_0x1722bc(0x3b8)],_0x3453b3=_0x13a6e3[_0x1722bc(0x3b8)];if(this[_0x1722bc(0x423)](),_0x203042%0x4)for(var _0x50fbce=0x0;_0x50fbce<_0x3453b3;_0x50fbce++){var _0x383a13=_0x4ccf95[_0x50fbce>>>0x2]>>>0x18-_0x50fbce%0x4*0x8&0xff;_0x2b9418[_0x203042+_0x50fbce>>>0x2]|=_0x383a13<<0x18-(_0x203042+_0x50fbce)%0x4*0x8;}else{for(var _0x278f8c=0x0;_0x278f8c<_0x3453b3;_0x278f8c+=0x4)_0x2b9418[_0x203042+_0x278f8c>>>0x2]=_0x4ccf95[_0x278f8c>>>0x2];}return this[_0x1722bc(0x3b8)]+=_0x3453b3,this;},'clamp':function(){var _0x360a55=_0x547643,_0x21f590=this[_0x360a55(0x202)],_0x505262=this[_0x360a55(0x3b8)];_0x21f590[_0x505262>>>0x2]&=0xffffffff<<0x20-_0x505262%0x4*0x8,_0x21f590[_0x360a55(0x39e)]=_0x2ae5ae[_0x360a55(0x37d)](_0x505262/0x4);},'clone':function(){var _0x448c3d=_0x547643,_0x1b160c=_0x449860[_0x448c3d(0x41d)][_0x448c3d(0x18a)](this);return _0x1b160c[_0x448c3d(0x202)]=this['words']['slice'](0x0),_0x1b160c;},'random':function(_0x3620a0){var _0x27e003=_0x547643;for(var _0x51a890=[],_0x563a10=0x0;_0x563a10<_0x3620a0;_0x563a10+=0x4)_0x51a890[_0x27e003(0x3a1)](_0x4e5e8b());return new _0x1645a5[(_0x27e003(0x1a5))](_0x51a890,_0x3620a0);}}),_0x589ae6=_0x2ee20c[_0x547643(0x4ab)]={},_0x3987b4=_0x589ae6[_0x547643(0x165)]={'stringify':function(_0x32e192){var _0x3ce643=_0x547643;for(var _0x5bc1bd=_0x32e192['words'],_0x3d3509=_0x32e192['sigBytes'],_0x320f93=[],_0x5db427=0x0;_0x5db427<_0x3d3509;_0x5db427++){var _0x3dff04=_0x5bc1bd[_0x5db427>>>0x2]>>>0x18-_0x5db427%0x4*0x8&0xff;_0x320f93[_0x3ce643(0x3a1)]((_0x3dff04>>>0x4)[_0x3ce643(0x390)](0x10)),_0x320f93[_0x3ce643(0x3a1)]((_0x3dff04&0xf)[_0x3ce643(0x390)](0x10));}return _0x320f93[_0x3ce643(0x43e)]('');},'parse':function(_0xd6dd12){var _0x3abaaa=_0x547643;for(var _0x54045c=_0xd6dd12[_0x3abaaa(0x39e)],_0x35f9aa=[],_0x618f1a=0x0;_0x618f1a<_0x54045c;_0x618f1a+=0x2)_0x35f9aa[_0x618f1a>>>0x3]|=parseInt(_0xd6dd12['substr'](_0x618f1a,0x2),0x10)<<0x18-_0x618f1a%0x8*0x4;return new _0x1645a5['init'](_0x35f9aa,_0x54045c/0x2);}},_0x67aa01=_0x589ae6[_0x547643(0x185)]={'stringify':function(_0x1f6de2){var _0x150f87=_0x547643;for(var _0x43990e=_0x1f6de2[_0x150f87(0x202)],_0x2adb61=_0x1f6de2[_0x150f87(0x3b8)],_0x11b950=[],_0x33f9f6=0x0;_0x33f9f6<_0x2adb61;_0x33f9f6++){var _0x576160=_0x43990e[_0x33f9f6>>>0x2]>>>0x18-_0x33f9f6%0x4*0x8&0xff;_0x11b950[_0x150f87(0x3a1)](String[_0x150f87(0x303)](_0x576160));}return _0x11b950['join']('');},'parse':function(_0x123e47){var _0x9984b5=_0x547643;for(var _0x3f61de=_0x123e47['length'],_0x4068cc=[],_0x402cf9=0x0;_0x402cf9<_0x3f61de;_0x402cf9++)_0x4068cc[_0x402cf9>>>0x2]|=(_0x123e47[_0x9984b5(0x17a)](_0x402cf9)&0xff)<<0x18-_0x402cf9%0x4*0x8;return new _0x1645a5[(_0x9984b5(0x1a5))](_0x4068cc,_0x3f61de);}},_0x5a81c3=_0x589ae6[_0x547643(0x449)]={'stringify':function(_0x12b85d){var _0x4e3acf=_0x547643;try{return decodeURIComponent(escape(_0x67aa01['stringify'](_0x12b85d)));}catch{throw new Error(_0x4e3acf(0x439));}},'parse':function(_0x66817){var _0x19a75f=_0x547643;return _0x67aa01[_0x19a75f(0x3c9)](unescape(encodeURIComponent(_0x66817)));}},_0xe83285=_0x19e866[_0x547643(0x4a1)]=_0x449860[_0x547643(0x204)]({'reset':function(){var _0x4c0fe6=_0x547643;this[_0x4c0fe6(0x496)]=new _0x1645a5[(_0x4c0fe6(0x1a5))](),this[_0x4c0fe6(0x403)]=0x0;},'_append':function(_0x5ef75f){var _0x273388=_0x547643;typeof _0x5ef75f==_0x273388(0x40f)&&(_0x5ef75f=_0x5a81c3[_0x273388(0x3c9)](_0x5ef75f)),this['_data'][_0x273388(0x43b)](_0x5ef75f),this[_0x273388(0x403)]+=_0x5ef75f[_0x273388(0x3b8)];},'_process':function(_0x55cb9e){var _0x4b3e28=_0x547643,_0x131893,_0x461635=this['_data'],_0x512194=_0x461635['words'],_0x191a09=_0x461635['sigBytes'],_0x758b0f=this['blockSize'],_0x359598=_0x758b0f*0x4,_0x52defc=_0x191a09/_0x359598;_0x55cb9e?_0x52defc=_0x2ae5ae[_0x4b3e28(0x37d)](_0x52defc):_0x52defc=_0x2ae5ae['max']((_0x52defc|0x0)-this['_minBufferSize'],0x0);var _0x52c1bc=_0x52defc*_0x758b0f,_0x53f88c=_0x2ae5ae['min'](_0x52c1bc*0x4,_0x191a09);if(_0x52c1bc){for(var _0x111b37=0x0;_0x111b37<_0x52c1bc;_0x111b37+=_0x758b0f)this[_0x4b3e28(0x483)](_0x512194,_0x111b37);_0x131893=_0x512194[_0x4b3e28(0x3dd)](0x0,_0x52c1bc),_0x461635[_0x4b3e28(0x3b8)]-=_0x53f88c;}return new _0x1645a5[(_0x4b3e28(0x1a5))](_0x131893,_0x53f88c);},'clone':function(){var _0x4eef83=_0x547643,_0x281cbd=_0x449860[_0x4eef83(0x41d)][_0x4eef83(0x18a)](this);return _0x281cbd[_0x4eef83(0x496)]=this[_0x4eef83(0x496)][_0x4eef83(0x41d)](),_0x281cbd;},'_minBufferSize':0x0});_0x19e866[_0x547643(0x1e4)]=_0xe83285[_0x547643(0x204)]({'cfg':_0x449860['extend'](),'init':function(_0xb8bc47){var _0x1a542c=_0x547643;this['cfg']=this[_0x1a542c(0x1f4)][_0x1a542c(0x204)](_0xb8bc47),this['reset']();},'reset':function(){var _0x2c71c0=_0x547643;_0xe83285[_0x2c71c0(0x1d0)][_0x2c71c0(0x18a)](this),this[_0x2c71c0(0x358)]();},'update':function(_0x24e6be){var _0x400d45=_0x547643;return this[_0x400d45(0x339)](_0x24e6be),this[_0x400d45(0x26c)](),this;},'finalize':function(_0x2725c9){var _0x12e1ae=_0x547643;_0x2725c9&&this[_0x12e1ae(0x339)](_0x2725c9);var _0x1c87e5=this['_doFinalize']();return _0x1c87e5;},'blockSize':0x10,'_createHelper':function(_0x5955ae){return function(_0x12ad1f,_0x55bf38){var _0x4b0043=_0x1992;return new _0x5955ae[(_0x4b0043(0x1a5))](_0x55bf38)[_0x4b0043(0x188)](_0x12ad1f);};},'_createHmacHelper':function(_0x2a74fd){return function(_0x5bebe9,_0x8d0fff){var _0x549448=_0x1992;return new _0x473b83[(_0x549448(0x283))]['init'](_0x2a74fd,_0x8d0fff)['finalize'](_0x5bebe9);};}});var _0x473b83=_0x2ee20c[_0x547643(0x23d)]={};return _0x2ee20c;}(Math);return _0x5a5c4c;}));}(pe)),pe[_0x286eb5(0x1ea)];}var ge={'exports':{}},qi=ge[_0x473e97(0x1ea)],Qe;function Ut(){var _0x3b5b92=_0x473e97;return Qe||(Qe=0x1,function(_0x1fb2a2,_0x4cc8b8){(function(_0x4a2443,_0x4ad65b){var _0x2ae51a=_0x1992;_0x1fb2a2[_0x2ae51a(0x1ea)]=_0x4ad65b(ee());}(qi,function(_0x51589e){var _0x2e8137=_0x1992;return(function(){var _0x3045be=_0x1992,_0x4e7792=_0x51589e,_0x13f1c0=_0x4e7792[_0x3045be(0x1d1)],_0x5e9ab3=_0x13f1c0['WordArray'],_0xec2939=_0x4e7792['enc'];_0xec2939[_0x3045be(0x344)]={'stringify':function(_0x10ea88){var _0x77d930=_0x3045be,_0x50e830=_0x10ea88[_0x77d930(0x202)],_0x399492=_0x10ea88[_0x77d930(0x3b8)],_0x1fbf26=this[_0x77d930(0x34f)];_0x10ea88['clamp']();for(var _0x30b473=[],_0x2a94e=0x0;_0x2a94e<_0x399492;_0x2a94e+=0x3)for(var _0x2e278f=_0x50e830[_0x2a94e>>>0x2]>>>0x18-_0x2a94e%0x4*0x8&0xff,_0xb2b742=_0x50e830[_0x2a94e+0x1>>>0x2]>>>0x18-(_0x2a94e+0x1)%0x4*0x8&0xff,_0x2244d2=_0x50e830[_0x2a94e+0x2>>>0x2]>>>0x18-(_0x2a94e+0x2)%0x4*0x8&0xff,_0x24b843=_0x2e278f<<0x10|_0xb2b742<<0x8|_0x2244d2,_0x5abe9c=0x0;_0x5abe9c<0x4&&_0x2a94e+_0x5abe9c*0.75<_0x399492;_0x5abe9c++)_0x30b473[_0x77d930(0x3a1)](_0x1fbf26[_0x77d930(0x2d9)](_0x24b843>>>0x6*(0x3-_0x5abe9c)&0x3f));var _0x69d977=_0x1fbf26['charAt'](0x40);if(_0x69d977){for(;_0x30b473[_0x77d930(0x39e)]%0x4;)_0x30b473[_0x77d930(0x3a1)](_0x69d977);}return _0x30b473['join']('');},'parse':function(_0x31a444){var _0x152cd3=_0x3045be,_0x4c8614=_0x31a444[_0x152cd3(0x39e)],_0x51d684=this['_map'],_0xe3832b=this[_0x152cd3(0x292)];if(!_0xe3832b){_0xe3832b=this[_0x152cd3(0x292)]=[];for(var _0x2ed216=0x0;_0x2ed216<_0x51d684[_0x152cd3(0x39e)];_0x2ed216++)_0xe3832b[_0x51d684[_0x152cd3(0x17a)](_0x2ed216)]=_0x2ed216;}var _0x47fc4f=_0x51d684[_0x152cd3(0x2d9)](0x40);if(_0x47fc4f){var _0x5ae4b3=_0x31a444['indexOf'](_0x47fc4f);_0x5ae4b3!==-0x1&&(_0x4c8614=_0x5ae4b3);}return _0x483672(_0x31a444,_0x4c8614,_0xe3832b);},'_map':_0x3045be(0x451)};function _0x483672(_0x4d578b,_0x399dae,_0x59e619){var _0x3fa494=_0x3045be;for(var _0x2eaf1a=[],_0x18a88f=0x0,_0x57d555=0x0;_0x57d555<_0x399dae;_0x57d555++)if(_0x57d555%0x4){var _0x2fc09d=_0x59e619[_0x4d578b[_0x3fa494(0x17a)](_0x57d555-0x1)]<<_0x57d555%0x4*0x2,_0x5bcf8a=_0x59e619[_0x4d578b['charCodeAt'](_0x57d555)]>>>0x6-_0x57d555%0x4*0x2,_0x5a3a10=_0x2fc09d|_0x5bcf8a;_0x2eaf1a[_0x18a88f>>>0x2]|=_0x5a3a10<<0x18-_0x18a88f%0x4*0x8,_0x18a88f++;}return _0x5e9ab3[_0x3fa494(0x240)](_0x2eaf1a,_0x18a88f);}}()),_0x51589e[_0x2e8137(0x4ab)][_0x2e8137(0x344)];}));}(ge)),ge[_0x3b5b92(0x1ea)];}var me={'exports':{}},zi=me[_0x473e97(0x1ea)],et;function Ji(){var _0x3715e8=_0x473e97;return et||(et=0x1,function(_0x1db6f7,_0x108cce){(function(_0x340044,_0x575c13){var _0x6ec6b5=_0x1992;_0x1db6f7[_0x6ec6b5(0x1ea)]=_0x575c13(ee());}(zi,function(_0x10a19a){var _0x41919f=_0x1992;return function(_0x16c4a9){var _0x206c45=_0x1992,_0x3e928e=_0x10a19a,_0x5112fa=_0x3e928e[_0x206c45(0x1d1)],_0x51f6cb=_0x5112fa['WordArray'],_0x1eaf05=_0x5112fa[_0x206c45(0x1e4)],_0x39e107=_0x3e928e['algo'],_0x395bc7=[];(function(){var _0x3ffd9f=_0x206c45;for(var _0x1287db=0x0;_0x1287db<0x40;_0x1287db++)_0x395bc7[_0x1287db]=_0x16c4a9[_0x3ffd9f(0x2e3)](_0x16c4a9['sin'](_0x1287db+0x1))*0x100000000|0x0;}());var _0x482c7a=_0x39e107[_0x206c45(0x198)]=_0x1eaf05[_0x206c45(0x204)]({'_doReset':function(){var _0x44edea=_0x206c45;this[_0x44edea(0x1bc)]=new _0x51f6cb[(_0x44edea(0x1a5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x501756,_0x326b51){var _0x17942e=_0x206c45;for(var _0x473d3a=0x0;_0x473d3a<0x10;_0x473d3a++){var _0x1e959e=_0x326b51+_0x473d3a,_0xe66d88=_0x501756[_0x1e959e];_0x501756[_0x1e959e]=(_0xe66d88<<0x8|_0xe66d88>>>0x18)&0xff00ff|(_0xe66d88<<0x18|_0xe66d88>>>0x8)&0xff00ff00;}var _0xdee999=this[_0x17942e(0x1bc)][_0x17942e(0x202)],_0x4256ef=_0x501756[_0x326b51+0x0],_0x5622f7=_0x501756[_0x326b51+0x1],_0x23c57d=_0x501756[_0x326b51+0x2],_0x18bdd9=_0x501756[_0x326b51+0x3],_0x21cd96=_0x501756[_0x326b51+0x4],_0x45226a=_0x501756[_0x326b51+0x5],_0x312224=_0x501756[_0x326b51+0x6],_0x315f32=_0x501756[_0x326b51+0x7],_0x5dc9d5=_0x501756[_0x326b51+0x8],_0x413020=_0x501756[_0x326b51+0x9],_0x5c0729=_0x501756[_0x326b51+0xa],_0x4b2a63=_0x501756[_0x326b51+0xb],_0x9e1eb6=_0x501756[_0x326b51+0xc],_0x3227cc=_0x501756[_0x326b51+0xd],_0x113de5=_0x501756[_0x326b51+0xe],_0x14c3ea=_0x501756[_0x326b51+0xf],_0x219305=_0xdee999[0x0],_0x5a4eca=_0xdee999[0x1],_0xd33baa=_0xdee999[0x2],_0x208f48=_0xdee999[0x3];_0x219305=_0x322b47(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x4256ef,0x7,_0x395bc7[0x0]),_0x208f48=_0x322b47(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x5622f7,0xc,_0x395bc7[0x1]),_0xd33baa=_0x322b47(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x23c57d,0x11,_0x395bc7[0x2]),_0x5a4eca=_0x322b47(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x18bdd9,0x16,_0x395bc7[0x3]),_0x219305=_0x322b47(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x21cd96,0x7,_0x395bc7[0x4]),_0x208f48=_0x322b47(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x45226a,0xc,_0x395bc7[0x5]),_0xd33baa=_0x322b47(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x312224,0x11,_0x395bc7[0x6]),_0x5a4eca=_0x322b47(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x315f32,0x16,_0x395bc7[0x7]),_0x219305=_0x322b47(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x5dc9d5,0x7,_0x395bc7[0x8]),_0x208f48=_0x322b47(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x413020,0xc,_0x395bc7[0x9]),_0xd33baa=_0x322b47(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x5c0729,0x11,_0x395bc7[0xa]),_0x5a4eca=_0x322b47(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x4b2a63,0x16,_0x395bc7[0xb]),_0x219305=_0x322b47(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x9e1eb6,0x7,_0x395bc7[0xc]),_0x208f48=_0x322b47(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x3227cc,0xc,_0x395bc7[0xd]),_0xd33baa=_0x322b47(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x113de5,0x11,_0x395bc7[0xe]),_0x5a4eca=_0x322b47(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x14c3ea,0x16,_0x395bc7[0xf]),_0x219305=_0x3a2af4(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x5622f7,0x5,_0x395bc7[0x10]),_0x208f48=_0x3a2af4(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x312224,0x9,_0x395bc7[0x11]),_0xd33baa=_0x3a2af4(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x4b2a63,0xe,_0x395bc7[0x12]),_0x5a4eca=_0x3a2af4(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x4256ef,0x14,_0x395bc7[0x13]),_0x219305=_0x3a2af4(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x45226a,0x5,_0x395bc7[0x14]),_0x208f48=_0x3a2af4(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x5c0729,0x9,_0x395bc7[0x15]),_0xd33baa=_0x3a2af4(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x14c3ea,0xe,_0x395bc7[0x16]),_0x5a4eca=_0x3a2af4(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x21cd96,0x14,_0x395bc7[0x17]),_0x219305=_0x3a2af4(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x413020,0x5,_0x395bc7[0x18]),_0x208f48=_0x3a2af4(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x113de5,0x9,_0x395bc7[0x19]),_0xd33baa=_0x3a2af4(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x18bdd9,0xe,_0x395bc7[0x1a]),_0x5a4eca=_0x3a2af4(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x5dc9d5,0x14,_0x395bc7[0x1b]),_0x219305=_0x3a2af4(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x3227cc,0x5,_0x395bc7[0x1c]),_0x208f48=_0x3a2af4(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x23c57d,0x9,_0x395bc7[0x1d]),_0xd33baa=_0x3a2af4(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x315f32,0xe,_0x395bc7[0x1e]),_0x5a4eca=_0x3a2af4(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x9e1eb6,0x14,_0x395bc7[0x1f]),_0x219305=_0x56e817(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x45226a,0x4,_0x395bc7[0x20]),_0x208f48=_0x56e817(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x5dc9d5,0xb,_0x395bc7[0x21]),_0xd33baa=_0x56e817(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x4b2a63,0x10,_0x395bc7[0x22]),_0x5a4eca=_0x56e817(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x113de5,0x17,_0x395bc7[0x23]),_0x219305=_0x56e817(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x5622f7,0x4,_0x395bc7[0x24]),_0x208f48=_0x56e817(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x21cd96,0xb,_0x395bc7[0x25]),_0xd33baa=_0x56e817(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x315f32,0x10,_0x395bc7[0x26]),_0x5a4eca=_0x56e817(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x5c0729,0x17,_0x395bc7[0x27]),_0x219305=_0x56e817(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x3227cc,0x4,_0x395bc7[0x28]),_0x208f48=_0x56e817(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x4256ef,0xb,_0x395bc7[0x29]),_0xd33baa=_0x56e817(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x18bdd9,0x10,_0x395bc7[0x2a]),_0x5a4eca=_0x56e817(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x312224,0x17,_0x395bc7[0x2b]),_0x219305=_0x56e817(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x413020,0x4,_0x395bc7[0x2c]),_0x208f48=_0x56e817(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x9e1eb6,0xb,_0x395bc7[0x2d]),_0xd33baa=_0x56e817(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x14c3ea,0x10,_0x395bc7[0x2e]),_0x5a4eca=_0x56e817(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x23c57d,0x17,_0x395bc7[0x2f]),_0x219305=_0x3b8a08(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x4256ef,0x6,_0x395bc7[0x30]),_0x208f48=_0x3b8a08(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x315f32,0xa,_0x395bc7[0x31]),_0xd33baa=_0x3b8a08(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x113de5,0xf,_0x395bc7[0x32]),_0x5a4eca=_0x3b8a08(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x45226a,0x15,_0x395bc7[0x33]),_0x219305=_0x3b8a08(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x9e1eb6,0x6,_0x395bc7[0x34]),_0x208f48=_0x3b8a08(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x18bdd9,0xa,_0x395bc7[0x35]),_0xd33baa=_0x3b8a08(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x5c0729,0xf,_0x395bc7[0x36]),_0x5a4eca=_0x3b8a08(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x5622f7,0x15,_0x395bc7[0x37]),_0x219305=_0x3b8a08(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x5dc9d5,0x6,_0x395bc7[0x38]),_0x208f48=_0x3b8a08(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x14c3ea,0xa,_0x395bc7[0x39]),_0xd33baa=_0x3b8a08(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x312224,0xf,_0x395bc7[0x3a]),_0x5a4eca=_0x3b8a08(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x3227cc,0x15,_0x395bc7[0x3b]),_0x219305=_0x3b8a08(_0x219305,_0x5a4eca,_0xd33baa,_0x208f48,_0x21cd96,0x6,_0x395bc7[0x3c]),_0x208f48=_0x3b8a08(_0x208f48,_0x219305,_0x5a4eca,_0xd33baa,_0x4b2a63,0xa,_0x395bc7[0x3d]),_0xd33baa=_0x3b8a08(_0xd33baa,_0x208f48,_0x219305,_0x5a4eca,_0x23c57d,0xf,_0x395bc7[0x3e]),_0x5a4eca=_0x3b8a08(_0x5a4eca,_0xd33baa,_0x208f48,_0x219305,_0x413020,0x15,_0x395bc7[0x3f]),_0xdee999[0x0]=_0xdee999[0x0]+_0x219305|0x0,_0xdee999[0x1]=_0xdee999[0x1]+_0x5a4eca|0x0,_0xdee999[0x2]=_0xdee999[0x2]+_0xd33baa|0x0,_0xdee999[0x3]=_0xdee999[0x3]+_0x208f48|0x0;},'_doFinalize':function(){var _0x8ce813=_0x206c45,_0x35cdf4=this[_0x8ce813(0x496)],_0x454192=_0x35cdf4[_0x8ce813(0x202)],_0x3a9b9b=this['_nDataBytes']*0x8,_0x5d62ec=_0x35cdf4['sigBytes']*0x8;_0x454192[_0x5d62ec>>>0x5]|=0x80<<0x18-_0x5d62ec%0x20;var _0x3933c5=_0x16c4a9[_0x8ce813(0x385)](_0x3a9b9b/0x100000000),_0x5ed5f9=_0x3a9b9b;_0x454192[(_0x5d62ec+0x40>>>0x9<<0x4)+0xf]=(_0x3933c5<<0x8|_0x3933c5>>>0x18)&0xff00ff|(_0x3933c5<<0x18|_0x3933c5>>>0x8)&0xff00ff00,_0x454192[(_0x5d62ec+0x40>>>0x9<<0x4)+0xe]=(_0x5ed5f9<<0x8|_0x5ed5f9>>>0x18)&0xff00ff|(_0x5ed5f9<<0x18|_0x5ed5f9>>>0x8)&0xff00ff00,_0x35cdf4[_0x8ce813(0x3b8)]=(_0x454192['length']+0x1)*0x4,this[_0x8ce813(0x26c)]();for(var _0x30efda=this[_0x8ce813(0x1bc)],_0x53eb44=_0x30efda[_0x8ce813(0x202)],_0x5644a5=0x0;_0x5644a5<0x4;_0x5644a5++){var _0x6a2c4b=_0x53eb44[_0x5644a5];_0x53eb44[_0x5644a5]=(_0x6a2c4b<<0x8|_0x6a2c4b>>>0x18)&0xff00ff|(_0x6a2c4b<<0x18|_0x6a2c4b>>>0x8)&0xff00ff00;}return _0x30efda;},'clone':function(){var _0x48fd06=_0x206c45,_0x4a3e85=_0x1eaf05[_0x48fd06(0x41d)][_0x48fd06(0x18a)](this);return _0x4a3e85[_0x48fd06(0x1bc)]=this[_0x48fd06(0x1bc)][_0x48fd06(0x41d)](),_0x4a3e85;}});function _0x322b47(_0x2af592,_0x4d8f7e,_0x24e54a,_0x5168be,_0x4b2994,_0xed25f1,_0x1936f8){var _0x1d899e=_0x2af592+(_0x4d8f7e&_0x24e54a|~_0x4d8f7e&_0x5168be)+_0x4b2994+_0x1936f8;return(_0x1d899e<<_0xed25f1|_0x1d899e>>>0x20-_0xed25f1)+_0x4d8f7e;}function _0x3a2af4(_0x5ce392,_0x2e488b,_0x29942b,_0x2e3a47,_0x1663b9,_0x4be78d,_0x38f265){var _0x598a09=_0x5ce392+(_0x2e488b&_0x2e3a47|_0x29942b&~_0x2e3a47)+_0x1663b9+_0x38f265;return(_0x598a09<<_0x4be78d|_0x598a09>>>0x20-_0x4be78d)+_0x2e488b;}function _0x56e817(_0x10ee6c,_0x447b2d,_0x2bfeb2,_0x23f619,_0x333666,_0x3c5f4a,_0x109af4){var _0x3deed6=_0x10ee6c+(_0x447b2d^_0x2bfeb2^_0x23f619)+_0x333666+_0x109af4;return(_0x3deed6<<_0x3c5f4a|_0x3deed6>>>0x20-_0x3c5f4a)+_0x447b2d;}function _0x3b8a08(_0x9fcb0e,_0x506768,_0x5edfe2,_0x3da519,_0xa494a2,_0x7ed56a,_0x2c0663){var _0xbdc658=_0x9fcb0e+(_0x5edfe2^(_0x506768|~_0x3da519))+_0xa494a2+_0x2c0663;return(_0xbdc658<<_0x7ed56a|_0xbdc658>>>0x20-_0x7ed56a)+_0x506768;}_0x3e928e[_0x206c45(0x198)]=_0x1eaf05[_0x206c45(0x32a)](_0x482c7a),_0x3e928e[_0x206c45(0x46c)]=_0x1eaf05['_createHmacHelper'](_0x482c7a);}(Math),_0x10a19a[_0x41919f(0x198)];}));}(me)),me[_0x3715e8(0x1ea)];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee['exports'],tt;function Zi(){var _0x28d201=_0x473e97;return tt||(tt=0x1,function(_0x2563dd,_0x3f8179){(function(_0x271a4d,_0x32823a){var _0x29c3d2=_0x1992;_0x2563dd[_0x29c3d2(0x1ea)]=_0x32823a(ee());}(Xi,function(_0x403a9d){var _0x4eb8c2=_0x1992;return(function(){var _0x526690=_0x1992,_0x320041=_0x403a9d,_0x32e118=_0x320041[_0x526690(0x1d1)],_0x1eb6a9=_0x32e118['WordArray'],_0x33c6ae=_0x32e118[_0x526690(0x1e4)],_0x17a2f5=_0x320041[_0x526690(0x23d)],_0x52e0dc=[],_0x267ec1=_0x17a2f5[_0x526690(0x1f3)]=_0x33c6ae['extend']({'_doReset':function(){this['_hash']=new _0x1eb6a9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ef3c0,_0xd6c207){var _0x21778b=_0x526690;for(var _0x528b51=this['_hash'][_0x21778b(0x202)],_0x1f6c93=_0x528b51[0x0],_0x1ff9f8=_0x528b51[0x1],_0x319515=_0x528b51[0x2],_0x59a70d=_0x528b51[0x3],_0xe8c202=_0x528b51[0x4],_0x14abe0=0x0;_0x14abe0<0x50;_0x14abe0++){if(_0x14abe0<0x10)_0x52e0dc[_0x14abe0]=_0x1ef3c0[_0xd6c207+_0x14abe0]|0x0;else{var _0x25c644=_0x52e0dc[_0x14abe0-0x3]^_0x52e0dc[_0x14abe0-0x8]^_0x52e0dc[_0x14abe0-0xe]^_0x52e0dc[_0x14abe0-0x10];_0x52e0dc[_0x14abe0]=_0x25c644<<0x1|_0x25c644>>>0x1f;}var _0x10aa6e=(_0x1f6c93<<0x5|_0x1f6c93>>>0x1b)+_0xe8c202+_0x52e0dc[_0x14abe0];_0x14abe0<0x14?_0x10aa6e+=(_0x1ff9f8&_0x319515|~_0x1ff9f8&_0x59a70d)+0x5a827999:_0x14abe0<0x28?_0x10aa6e+=(_0x1ff9f8^_0x319515^_0x59a70d)+0x6ed9eba1:_0x14abe0<0x3c?_0x10aa6e+=(_0x1ff9f8&_0x319515|_0x1ff9f8&_0x59a70d|_0x319515&_0x59a70d)-0x70e44324:_0x10aa6e+=(_0x1ff9f8^_0x319515^_0x59a70d)-0x359d3e2a,_0xe8c202=_0x59a70d,_0x59a70d=_0x319515,_0x319515=_0x1ff9f8<<0x1e|_0x1ff9f8>>>0x2,_0x1ff9f8=_0x1f6c93,_0x1f6c93=_0x10aa6e;}_0x528b51[0x0]=_0x528b51[0x0]+_0x1f6c93|0x0,_0x528b51[0x1]=_0x528b51[0x1]+_0x1ff9f8|0x0,_0x528b51[0x2]=_0x528b51[0x2]+_0x319515|0x0,_0x528b51[0x3]=_0x528b51[0x3]+_0x59a70d|0x0,_0x528b51[0x4]=_0x528b51[0x4]+_0xe8c202|0x0;},'_doFinalize':function(){var _0x1e35b1=_0x526690,_0x4df116=this['_data'],_0x48e76d=_0x4df116[_0x1e35b1(0x202)],_0x3dabbc=this[_0x1e35b1(0x403)]*0x8,_0x17ada9=_0x4df116[_0x1e35b1(0x3b8)]*0x8;return _0x48e76d[_0x17ada9>>>0x5]|=0x80<<0x18-_0x17ada9%0x20,_0x48e76d[(_0x17ada9+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3dabbc/0x100000000),_0x48e76d[(_0x17ada9+0x40>>>0x9<<0x4)+0xf]=_0x3dabbc,_0x4df116['sigBytes']=_0x48e76d['length']*0x4,this[_0x1e35b1(0x26c)](),this[_0x1e35b1(0x1bc)];},'clone':function(){var _0xd64bea=_0x526690,_0x18f6e2=_0x33c6ae[_0xd64bea(0x41d)]['call'](this);return _0x18f6e2[_0xd64bea(0x1bc)]=this[_0xd64bea(0x1bc)][_0xd64bea(0x41d)](),_0x18f6e2;}});_0x320041['SHA1']=_0x33c6ae[_0x526690(0x32a)](_0x267ec1),_0x320041[_0x526690(0x175)]=_0x33c6ae[_0x526690(0x245)](_0x267ec1);}()),_0x403a9d[_0x4eb8c2(0x1f3)];}));}(Ee)),Ee[_0x28d201(0x1ea)];}var Ce={'exports':{}},Qi=Ce[_0x473e97(0x1ea)],it;function en(){var _0x4c4278=_0x473e97;return it||(it=0x1,function(_0x39f643,_0x1d0984){(function(_0x4bd310,_0x1a8fc1){var _0x303e3f=_0x1992;_0x39f643[_0x303e3f(0x1ea)]=_0x1a8fc1(ee());}(Qi,function(_0x208b6d){(function(){var _0x47a5b9=_0x1992,_0x4bf4fb=_0x208b6d,_0x1f4cf4=_0x4bf4fb[_0x47a5b9(0x1d1)],_0x4f5aa0=_0x1f4cf4[_0x47a5b9(0x268)],_0x1ba0b5=_0x4bf4fb['enc'],_0x50ba2d=_0x1ba0b5[_0x47a5b9(0x449)],_0x3e5b75=_0x4bf4fb[_0x47a5b9(0x23d)];_0x3e5b75['HMAC']=_0x4f5aa0['extend']({'init':function(_0x47caae,_0x4c021b){var _0x3b976d=_0x47a5b9;_0x47caae=this[_0x3b976d(0x47a)]=new _0x47caae[(_0x3b976d(0x1a5))](),typeof _0x4c021b=='string'&&(_0x4c021b=_0x50ba2d['parse'](_0x4c021b));var _0x37dca0=_0x47caae[_0x3b976d(0x3b9)],_0x32c29a=_0x37dca0*0x4;_0x4c021b['sigBytes']>_0x32c29a&&(_0x4c021b=_0x47caae[_0x3b976d(0x188)](_0x4c021b)),_0x4c021b[_0x3b976d(0x423)]();for(var _0x1a5681=this[_0x3b976d(0x259)]=_0x4c021b[_0x3b976d(0x41d)](),_0x207728=this['_iKey']=_0x4c021b['clone'](),_0x3c5271=_0x1a5681[_0x3b976d(0x202)],_0x1a492e=_0x207728[_0x3b976d(0x202)],_0xd68ba6=0x0;_0xd68ba6<_0x37dca0;_0xd68ba6++)_0x3c5271[_0xd68ba6]^=0x5c5c5c5c,_0x1a492e[_0xd68ba6]^=0x36363636;_0x1a5681[_0x3b976d(0x3b8)]=_0x207728[_0x3b976d(0x3b8)]=_0x32c29a,this[_0x3b976d(0x1d0)]();},'reset':function(){var _0x5976e6=_0x47a5b9,_0x174a5f=this[_0x5976e6(0x47a)];_0x174a5f[_0x5976e6(0x1d0)](),_0x174a5f['update'](this[_0x5976e6(0x402)]);},'update':function(_0x305e00){var _0x26bd35=_0x47a5b9;return this['_hasher'][_0x26bd35(0x313)](_0x305e00),this;},'finalize':function(_0x1813d6){var _0x20612d=_0x47a5b9,_0x55ed5c=this[_0x20612d(0x47a)],_0x228253=_0x55ed5c[_0x20612d(0x188)](_0x1813d6);_0x55ed5c['reset']();var _0x51dcd7=_0x55ed5c['finalize'](this[_0x20612d(0x259)][_0x20612d(0x41d)]()[_0x20612d(0x43b)](_0x228253));return _0x51dcd7;}});}());}));}(Ce)),Ce[_0x4c4278(0x1ea)];}var tn=Ie[_0x473e97(0x1ea)],nt;function Dt(){var _0x2a3bdd=_0x473e97;return nt||(nt=0x1,function(_0x26546f,_0x3695){(function(_0x2cc593,_0x4bc726,_0x172003){var _0x470bae=_0x1992;_0x26546f[_0x470bae(0x1ea)]=_0x4bc726(ee(),Zi(),en());}(tn,function(_0xf59b51){return(function(){var _0x1bf899=_0x1992,_0x22bc6d=_0xf59b51,_0x59024e=_0x22bc6d[_0x1bf899(0x1d1)],_0x22f56e=_0x59024e[_0x1bf899(0x268)],_0x256280=_0x59024e['WordArray'],_0x3eedce=_0x22bc6d['algo'],_0x591614=_0x3eedce[_0x1bf899(0x198)],_0x2d3b2a=_0x3eedce[_0x1bf899(0x450)]=_0x22f56e[_0x1bf899(0x204)]({'cfg':_0x22f56e[_0x1bf899(0x204)]({'keySize':0x80/0x20,'hasher':_0x591614,'iterations':0x1}),'init':function(_0x53b7ea){var _0x4c16db=_0x1bf899;this[_0x4c16db(0x1f4)]=this['cfg'][_0x4c16db(0x204)](_0x53b7ea);},'compute':function(_0x3296bb,_0xa1d608){var _0x43bdda=_0x1bf899;for(var _0x46d865,_0x26cb90=this['cfg'],_0x383cce=_0x26cb90[_0x43bdda(0x21c)]['create'](),_0x2cd048=_0x256280['create'](),_0x3e9c9f=_0x2cd048['words'],_0x5392d3=_0x26cb90['keySize'],_0x2c5801=_0x26cb90[_0x43bdda(0x2d1)];_0x3e9c9f[_0x43bdda(0x39e)]<_0x5392d3;){_0x46d865&&_0x383cce['update'](_0x46d865),_0x46d865=_0x383cce[_0x43bdda(0x313)](_0x3296bb)[_0x43bdda(0x188)](_0xa1d608),_0x383cce[_0x43bdda(0x1d0)]();for(var _0x499178=0x1;_0x499178<_0x2c5801;_0x499178++)_0x46d865=_0x383cce['finalize'](_0x46d865),_0x383cce[_0x43bdda(0x1d0)]();_0x2cd048[_0x43bdda(0x43b)](_0x46d865);}return _0x2cd048[_0x43bdda(0x3b8)]=_0x5392d3*0x4,_0x2cd048;}});_0x22bc6d[_0x1bf899(0x450)]=function(_0x37f47f,_0x51beab,_0x5cb896){var _0x4e0494=_0x1bf899;return _0x2d3b2a[_0x4e0494(0x240)](_0x5cb896)['compute'](_0x37f47f,_0x51beab);};}()),_0xf59b51['EvpKDF'];}));}(Ie)),Ie[_0x2a3bdd(0x1ea)];}var Te={'exports':{}},nn=Te['exports'],rt;function wt(){var _0x4b3977=_0x473e97;return rt||(rt=0x1,function(_0x534545,_0x26b1a7){(function(_0x53c988,_0x3a1d1f,_0x8759fb){var _0x3be0bc=_0x1992;_0x534545[_0x3be0bc(0x1ea)]=_0x3a1d1f(ee(),Dt());}(nn,function(_0x31570e){var _0x38d3c8=_0x1992;_0x31570e['lib'][_0x38d3c8(0x257)]||function(_0x2033d5){var _0x144d12=_0x38d3c8,_0x37ce6b=_0x31570e,_0x26b33b=_0x37ce6b[_0x144d12(0x1d1)],_0x462bc2=_0x26b33b[_0x144d12(0x268)],_0xef3498=_0x26b33b[_0x144d12(0x1ee)],_0x5533c4=_0x26b33b[_0x144d12(0x4a1)],_0x311329=_0x37ce6b[_0x144d12(0x4ab)];_0x311329[_0x144d12(0x449)];var _0x2a27ac=_0x311329[_0x144d12(0x344)],_0x412bef=_0x37ce6b['algo'],_0x4ae32a=_0x412bef[_0x144d12(0x450)],_0x31b388=_0x26b33b[_0x144d12(0x257)]=_0x5533c4[_0x144d12(0x204)]({'cfg':_0x462bc2[_0x144d12(0x204)](),'createEncryptor':function(_0x3c6b40,_0x13a094){var _0x53338d=_0x144d12;return this[_0x53338d(0x240)](this['_ENC_XFORM_MODE'],_0x3c6b40,_0x13a094);},'createDecryptor':function(_0x1ff7c1,_0x17a4b3){return this['create'](this['_DEC_XFORM_MODE'],_0x1ff7c1,_0x17a4b3);},'init':function(_0x3c9878,_0x38b560,_0x5e4824){var _0x51407e=_0x144d12;this[_0x51407e(0x1f4)]=this[_0x51407e(0x1f4)][_0x51407e(0x204)](_0x5e4824),this['_xformMode']=_0x3c9878,this['_key']=_0x38b560,this['reset']();},'reset':function(){var _0x42ce1a=_0x144d12;_0x5533c4[_0x42ce1a(0x1d0)][_0x42ce1a(0x18a)](this),this['_doReset']();},'process':function(_0x31f66e){var _0x35cb10=_0x144d12;return this[_0x35cb10(0x339)](_0x31f66e),this[_0x35cb10(0x26c)]();},'finalize':function(_0x35d819){var _0x2ea926=_0x144d12;_0x35d819&&this[_0x2ea926(0x339)](_0x35d819);var _0x48c9bf=this['_doFinalize']();return _0x48c9bf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4f7241(_0x121028){var _0x41a926=_0x1992;return typeof _0x121028==_0x41a926(0x40f)?_0x1d4175:_0x58d23c;}return function(_0x16f40c){return{'encrypt':function(_0x1026fa,_0x47ae4d,_0xa57559){var _0x297341=_0x1992;return _0x4f7241(_0x47ae4d)[_0x297341(0x3da)](_0x16f40c,_0x1026fa,_0x47ae4d,_0xa57559);},'decrypt':function(_0x291842,_0x30d19c,_0x305244){return _0x4f7241(_0x30d19c)['decrypt'](_0x16f40c,_0x291842,_0x30d19c,_0x305244);}};};}())});_0x26b33b[_0x144d12(0x223)]=_0x31b388['extend']({'_doFinalize':function(){var _0x41e0b7=_0x144d12,_0x11890d=this[_0x41e0b7(0x26c)](!0x0);return _0x11890d;},'blockSize':0x1});var _0x3749f0=_0x37ce6b[_0x144d12(0x3cb)]={},_0xba70fd=_0x26b33b[_0x144d12(0x231)]=_0x462bc2['extend']({'createEncryptor':function(_0x43683a,_0x2ae5c4){var _0x256176=_0x144d12;return this['Encryptor'][_0x256176(0x240)](_0x43683a,_0x2ae5c4);},'createDecryptor':function(_0x2b19e7,_0x141b0b){var _0x204baf=_0x144d12;return this[_0x204baf(0x155)][_0x204baf(0x240)](_0x2b19e7,_0x141b0b);},'init':function(_0x350b01,_0x3d96cc){var _0x30d122=_0x144d12;this[_0x30d122(0x415)]=_0x350b01,this[_0x30d122(0x275)]=_0x3d96cc;}}),_0x1b17b4=_0x3749f0[_0x144d12(0x171)]=(function(){var _0x116eac=_0x144d12,_0x50fef8=_0xba70fd[_0x116eac(0x204)]();_0x50fef8[_0x116eac(0x4bb)]=_0x50fef8['extend']({'processBlock':function(_0x50b17a,_0x5f5664){var _0x549303=_0x116eac,_0x47b9e6=this[_0x549303(0x415)],_0x2a4b0b=_0x47b9e6[_0x549303(0x3b9)];_0x2b166f['call'](this,_0x50b17a,_0x5f5664,_0x2a4b0b),_0x47b9e6[_0x549303(0x287)](_0x50b17a,_0x5f5664),this[_0x549303(0x31a)]=_0x50b17a[_0x549303(0x325)](_0x5f5664,_0x5f5664+_0x2a4b0b);}}),_0x50fef8['Decryptor']=_0x50fef8['extend']({'processBlock':function(_0x2e1174,_0x36af1c){var _0x44ae8c=_0x116eac,_0x5271ab=this[_0x44ae8c(0x415)],_0x7ff359=_0x5271ab[_0x44ae8c(0x3b9)],_0x2ba63b=_0x2e1174['slice'](_0x36af1c,_0x36af1c+_0x7ff359);_0x5271ab[_0x44ae8c(0x41a)](_0x2e1174,_0x36af1c),_0x2b166f['call'](this,_0x2e1174,_0x36af1c,_0x7ff359),this['_prevBlock']=_0x2ba63b;}});function _0x2b166f(_0x2f1677,_0x3d78c5,_0x1cc1e8){var _0x28d9ae=_0x116eac,_0x4e6500,_0xf90f44=this['_iv'];_0xf90f44?(_0x4e6500=_0xf90f44,this[_0x28d9ae(0x275)]=_0x2033d5):_0x4e6500=this[_0x28d9ae(0x31a)];for(var _0x3cd93f=0x0;_0x3cd93f<_0x1cc1e8;_0x3cd93f++)_0x2f1677[_0x3d78c5+_0x3cd93f]^=_0x4e6500[_0x3cd93f];}return _0x50fef8;}()),_0x4b7669=_0x37ce6b['pad']={},_0x5a3066=_0x4b7669['Pkcs7']={'pad':function(_0x3aa557,_0x34b9ab){var _0x4874c6=_0x144d12;for(var _0x4c46ae=_0x34b9ab*0x4,_0x275cf5=_0x4c46ae-_0x3aa557[_0x4874c6(0x3b8)]%_0x4c46ae,_0xb0bddc=_0x275cf5<<0x18|_0x275cf5<<0x10|_0x275cf5<<0x8|_0x275cf5,_0x186ee9=[],_0x4fc226=0x0;_0x4fc226<_0x275cf5;_0x4fc226+=0x4)_0x186ee9[_0x4874c6(0x3a1)](_0xb0bddc);var _0x5b38e4=_0xef3498[_0x4874c6(0x240)](_0x186ee9,_0x275cf5);_0x3aa557[_0x4874c6(0x43b)](_0x5b38e4);},'unpad':function(_0x4b721d){var _0x1ab9e1=_0x144d12,_0x562839=_0x4b721d['words'][_0x4b721d['sigBytes']-0x1>>>0x2]&0xff;_0x4b721d[_0x1ab9e1(0x3b8)]-=_0x562839;}};_0x26b33b[_0x144d12(0x342)]=_0x31b388[_0x144d12(0x204)]({'cfg':_0x31b388[_0x144d12(0x1f4)]['extend']({'mode':_0x1b17b4,'padding':_0x5a3066}),'reset':function(){var _0xe1174e=_0x144d12,_0x59cdcf;_0x31b388[_0xe1174e(0x1d0)][_0xe1174e(0x18a)](this);var _0x47d597=this['cfg'],_0xd95160=_0x47d597['iv'],_0x4048a1=_0x47d597['mode'];this['_xformMode']==this[_0xe1174e(0x228)]?_0x59cdcf=_0x4048a1[_0xe1174e(0x400)]:(_0x59cdcf=_0x4048a1['createDecryptor'],this['_minBufferSize']=0x1),this[_0xe1174e(0x2a9)]&&this[_0xe1174e(0x2a9)]['__creator']==_0x59cdcf?this[_0xe1174e(0x2a9)][_0xe1174e(0x1a5)](this,_0xd95160&&_0xd95160[_0xe1174e(0x202)]):(this['_mode']=_0x59cdcf[_0xe1174e(0x18a)](_0x4048a1,this,_0xd95160&&_0xd95160['words']),this['_mode'][_0xe1174e(0x151)]=_0x59cdcf);},'_doProcessBlock':function(_0x8fd6ee,_0x54093c){var _0x408ddd=_0x144d12;this[_0x408ddd(0x2a9)][_0x408ddd(0x487)](_0x8fd6ee,_0x54093c);},'_doFinalize':function(){var _0x360c0e=_0x144d12,_0x2bf1bf,_0x1278b3=this[_0x360c0e(0x1f4)][_0x360c0e(0x1ac)];return this[_0x360c0e(0x2e2)]==this['_ENC_XFORM_MODE']?(_0x1278b3['pad'](this[_0x360c0e(0x496)],this[_0x360c0e(0x3b9)]),_0x2bf1bf=this['_process'](!0x0)):(_0x2bf1bf=this[_0x360c0e(0x26c)](!0x0),_0x1278b3['unpad'](_0x2bf1bf)),_0x2bf1bf;},'blockSize':0x80/0x20});var _0xce35e7=_0x26b33b['CipherParams']=_0x462bc2[_0x144d12(0x204)]({'init':function(_0x50a222){this['mixIn'](_0x50a222);},'toString':function(_0x3d5078){var _0x3c04e6=_0x144d12;return(_0x3d5078||this[_0x3c04e6(0x1e2)])[_0x3c04e6(0x30b)](this);}}),_0x6af97d=_0x37ce6b[_0x144d12(0x42e)]={},_0xbe9f68=_0x6af97d['OpenSSL']={'stringify':function(_0x44114c){var _0x391662=_0x144d12,_0x62c239,_0x156139=_0x44114c[_0x391662(0x1ca)],_0x10e214=_0x44114c[_0x391662(0x152)];return _0x10e214?_0x62c239=_0xef3498[_0x391662(0x240)]([0x53616c74,0x65645f5f])[_0x391662(0x43b)](_0x10e214)[_0x391662(0x43b)](_0x156139):_0x62c239=_0x156139,_0x62c239[_0x391662(0x390)](_0x2a27ac);},'parse':function(_0x11e9bf){var _0x45d5a9=_0x144d12,_0x176d75,_0x513ac6=_0x2a27ac['parse'](_0x11e9bf),_0x33f90b=_0x513ac6[_0x45d5a9(0x202)];return _0x33f90b[0x0]==0x53616c74&&_0x33f90b[0x1]==0x65645f5f&&(_0x176d75=_0xef3498['create'](_0x33f90b['slice'](0x2,0x4)),_0x33f90b['splice'](0x0,0x4),_0x513ac6[_0x45d5a9(0x3b8)]-=0x10),_0xce35e7[_0x45d5a9(0x240)]({'ciphertext':_0x513ac6,'salt':_0x176d75});}},_0x58d23c=_0x26b33b[_0x144d12(0x38c)]=_0x462bc2['extend']({'cfg':_0x462bc2['extend']({'format':_0xbe9f68}),'encrypt':function(_0x29f41c,_0x2b3cfc,_0x5097ad,_0x50d1ac){var _0x25aa2b=_0x144d12;_0x50d1ac=this[_0x25aa2b(0x1f4)][_0x25aa2b(0x204)](_0x50d1ac);var _0x119938=_0x29f41c[_0x25aa2b(0x400)](_0x5097ad,_0x50d1ac),_0x5ed510=_0x119938[_0x25aa2b(0x188)](_0x2b3cfc),_0x2a8a3e=_0x119938[_0x25aa2b(0x1f4)];return _0xce35e7[_0x25aa2b(0x240)]({'ciphertext':_0x5ed510,'key':_0x5097ad,'iv':_0x2a8a3e['iv'],'algorithm':_0x29f41c,'mode':_0x2a8a3e[_0x25aa2b(0x3cb)],'padding':_0x2a8a3e[_0x25aa2b(0x1ac)],'blockSize':_0x29f41c[_0x25aa2b(0x3b9)],'formatter':_0x50d1ac[_0x25aa2b(0x42e)]});},'decrypt':function(_0x18f39b,_0x355249,_0x154323,_0x2c6219){var _0x1cdbce=_0x144d12;_0x2c6219=this['cfg'][_0x1cdbce(0x204)](_0x2c6219),_0x355249=this[_0x1cdbce(0x395)](_0x355249,_0x2c6219[_0x1cdbce(0x42e)]);var _0x960660=_0x18f39b['createDecryptor'](_0x154323,_0x2c6219)[_0x1cdbce(0x188)](_0x355249['ciphertext']);return _0x960660;},'_parse':function(_0x2b31e9,_0x11a7ce){var _0x3e06a9=_0x144d12;return typeof _0x2b31e9=='string'?_0x11a7ce[_0x3e06a9(0x3c9)](_0x2b31e9,this):_0x2b31e9;}}),_0x16b50a=_0x37ce6b[_0x144d12(0x4c3)]={},_0x4a953a=_0x16b50a[_0x144d12(0x2e6)]={'execute':function(_0x3187d2,_0x1d4746,_0x353110,_0x46be2a,_0x3a245d){var _0x4cda04=_0x144d12;if(_0x46be2a||(_0x46be2a=_0xef3498[_0x4cda04(0x3b6)](0x40/0x8)),_0x3a245d)var _0x29e882=_0x4ae32a['create']({'keySize':_0x1d4746+_0x353110,'hasher':_0x3a245d})[_0x4cda04(0x23e)](_0x3187d2,_0x46be2a);else var _0x29e882=_0x4ae32a[_0x4cda04(0x240)]({'keySize':_0x1d4746+_0x353110})[_0x4cda04(0x23e)](_0x3187d2,_0x46be2a);var _0xb52c62=_0xef3498[_0x4cda04(0x240)](_0x29e882['words'][_0x4cda04(0x325)](_0x1d4746),_0x353110*0x4);return _0x29e882[_0x4cda04(0x3b8)]=_0x1d4746*0x4,_0xce35e7[_0x4cda04(0x240)]({'key':_0x29e882,'iv':_0xb52c62,'salt':_0x46be2a});}},_0x1d4175=_0x26b33b[_0x144d12(0x30f)]=_0x58d23c['extend']({'cfg':_0x58d23c[_0x144d12(0x1f4)][_0x144d12(0x204)]({'kdf':_0x4a953a}),'encrypt':function(_0x5e1030,_0x2e31a5,_0xad3f4e,_0x397516){var _0x376f49=_0x144d12;_0x397516=this[_0x376f49(0x1f4)][_0x376f49(0x204)](_0x397516);var _0x4f0ab5=_0x397516[_0x376f49(0x4c3)][_0x376f49(0x1ec)](_0xad3f4e,_0x5e1030[_0x376f49(0x3fc)],_0x5e1030[_0x376f49(0x2e7)],_0x397516[_0x376f49(0x152)],_0x397516[_0x376f49(0x21c)]);_0x397516['iv']=_0x4f0ab5['iv'];var _0x5e178f=_0x58d23c['encrypt'][_0x376f49(0x18a)](this,_0x5e1030,_0x2e31a5,_0x4f0ab5['key'],_0x397516);return _0x5e178f[_0x376f49(0x2cd)](_0x4f0ab5),_0x5e178f;},'decrypt':function(_0x55570a,_0x1f52c0,_0x5752e9,_0x1ffcca){var _0x3c84b4=_0x144d12;_0x1ffcca=this['cfg'][_0x3c84b4(0x204)](_0x1ffcca),_0x1f52c0=this[_0x3c84b4(0x395)](_0x1f52c0,_0x1ffcca[_0x3c84b4(0x42e)]);var _0x86e317=_0x1ffcca[_0x3c84b4(0x4c3)]['execute'](_0x5752e9,_0x55570a['keySize'],_0x55570a[_0x3c84b4(0x2e7)],_0x1f52c0[_0x3c84b4(0x152)],_0x1ffcca[_0x3c84b4(0x21c)]);_0x1ffcca['iv']=_0x86e317['iv'];var _0x16c380=_0x58d23c[_0x3c84b4(0x1d4)][_0x3c84b4(0x18a)](this,_0x55570a,_0x1f52c0,_0x86e317[_0x3c84b4(0x2f5)],_0x1ffcca);return _0x16c380;}});}();}));}(Te)),Te[_0x4b3977(0x1ea)];}var rn=Se['exports'],st;function sn(){var _0x5f46e1=_0x473e97;return st||(st=0x1,function(_0x43dd04,_0x342cf0){(function(_0x2c987c,_0x2b3cbd,_0x3411c2){var _0x4a486d=_0x1992;_0x43dd04[_0x4a486d(0x1ea)]=_0x2b3cbd(ee(),Ut(),Ji(),Dt(),wt());}(rn,function(_0x10b746){var _0x57ecf8=_0x1992;return(function(){var _0x324da1=_0x1992,_0x54e33a=_0x10b746,_0x4eb07f=_0x54e33a[_0x324da1(0x1d1)],_0x11b219=_0x4eb07f[_0x324da1(0x342)],_0x423ba4=_0x54e33a['algo'],_0x3016ae=[],_0x4f3999=[],_0x4ce001=[],_0x4e4673=[],_0x2a6663=[],_0x1afc98=[],_0x42bfef=[],_0x28b97d=[],_0x59485f=[],_0x37df02=[];(function(){for(var _0x3a6f6f=[],_0x24562b=0x0;_0x24562b<0x100;_0x24562b++)_0x24562b<0x80?_0x3a6f6f[_0x24562b]=_0x24562b<<0x1:_0x3a6f6f[_0x24562b]=_0x24562b<<0x1^0x11b;for(var _0x4e8ef8=0x0,_0x402857=0x0,_0x24562b=0x0;_0x24562b<0x100;_0x24562b++){var _0x18b739=_0x402857^_0x402857<<0x1^_0x402857<<0x2^_0x402857<<0x3^_0x402857<<0x4;_0x18b739=_0x18b739>>>0x8^_0x18b739&0xff^0x63,_0x3016ae[_0x4e8ef8]=_0x18b739,_0x4f3999[_0x18b739]=_0x4e8ef8;var _0x313212=_0x3a6f6f[_0x4e8ef8],_0x242254=_0x3a6f6f[_0x313212],_0x2c064e=_0x3a6f6f[_0x242254],_0x5430d5=_0x3a6f6f[_0x18b739]*0x101^_0x18b739*0x1010100;_0x4ce001[_0x4e8ef8]=_0x5430d5<<0x18|_0x5430d5>>>0x8,_0x4e4673[_0x4e8ef8]=_0x5430d5<<0x10|_0x5430d5>>>0x10,_0x2a6663[_0x4e8ef8]=_0x5430d5<<0x8|_0x5430d5>>>0x18,_0x1afc98[_0x4e8ef8]=_0x5430d5;var _0x5430d5=_0x2c064e*0x1010101^_0x242254*0x10001^_0x313212*0x101^_0x4e8ef8*0x1010100;_0x42bfef[_0x18b739]=_0x5430d5<<0x18|_0x5430d5>>>0x8,_0x28b97d[_0x18b739]=_0x5430d5<<0x10|_0x5430d5>>>0x10,_0x59485f[_0x18b739]=_0x5430d5<<0x8|_0x5430d5>>>0x18,_0x37df02[_0x18b739]=_0x5430d5,_0x4e8ef8?(_0x4e8ef8=_0x313212^_0x3a6f6f[_0x3a6f6f[_0x3a6f6f[_0x2c064e^_0x313212]]],_0x402857^=_0x3a6f6f[_0x3a6f6f[_0x402857]]):_0x4e8ef8=_0x402857=0x1;}}());var _0x31335a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x102232=_0x423ba4['AES']=_0x11b219[_0x324da1(0x204)]({'_doReset':function(){var _0x3c3e0a=_0x324da1,_0x574118;if(!(this[_0x3c3e0a(0x295)]&&this['_keyPriorReset']===this['_key'])){for(var _0x11a70a=this[_0x3c3e0a(0x3fd)]=this[_0x3c3e0a(0x367)],_0x38f07c=_0x11a70a['words'],_0x398b1b=_0x11a70a[_0x3c3e0a(0x3b8)]/0x4,_0x442809=this['_nRounds']=_0x398b1b+0x6,_0x5490d0=(_0x442809+0x1)*0x4,_0x3505ea=this[_0x3c3e0a(0x49d)]=[],_0x34054f=0x0;_0x34054f<_0x5490d0;_0x34054f++)_0x34054f<_0x398b1b?_0x3505ea[_0x34054f]=_0x38f07c[_0x34054f]:(_0x574118=_0x3505ea[_0x34054f-0x1],_0x34054f%_0x398b1b?_0x398b1b>0x6&&_0x34054f%_0x398b1b==0x4&&(_0x574118=_0x3016ae[_0x574118>>>0x18]<<0x18|_0x3016ae[_0x574118>>>0x10&0xff]<<0x10|_0x3016ae[_0x574118>>>0x8&0xff]<<0x8|_0x3016ae[_0x574118&0xff]):(_0x574118=_0x574118<<0x8|_0x574118>>>0x18,_0x574118=_0x3016ae[_0x574118>>>0x18]<<0x18|_0x3016ae[_0x574118>>>0x10&0xff]<<0x10|_0x3016ae[_0x574118>>>0x8&0xff]<<0x8|_0x3016ae[_0x574118&0xff],_0x574118^=_0x31335a[_0x34054f/_0x398b1b|0x0]<<0x18),_0x3505ea[_0x34054f]=_0x3505ea[_0x34054f-_0x398b1b]^_0x574118);for(var _0xa515b3=this['_invKeySchedule']=[],_0x4ae953=0x0;_0x4ae953<_0x5490d0;_0x4ae953++){var _0x34054f=_0x5490d0-_0x4ae953;if(_0x4ae953%0x4)var _0x574118=_0x3505ea[_0x34054f];else var _0x574118=_0x3505ea[_0x34054f-0x4];_0x4ae953<0x4||_0x34054f<=0x4?_0xa515b3[_0x4ae953]=_0x574118:_0xa515b3[_0x4ae953]=_0x42bfef[_0x3016ae[_0x574118>>>0x18]]^_0x28b97d[_0x3016ae[_0x574118>>>0x10&0xff]]^_0x59485f[_0x3016ae[_0x574118>>>0x8&0xff]]^_0x37df02[_0x3016ae[_0x574118&0xff]];}}},'encryptBlock':function(_0x4b3a1c,_0x413c73){this['_doCryptBlock'](_0x4b3a1c,_0x413c73,this['_keySchedule'],_0x4ce001,_0x4e4673,_0x2a6663,_0x1afc98,_0x3016ae);},'decryptBlock':function(_0x17afa9,_0x1de1e6){var _0x3a9039=_0x17afa9[_0x1de1e6+0x1];_0x17afa9[_0x1de1e6+0x1]=_0x17afa9[_0x1de1e6+0x3],_0x17afa9[_0x1de1e6+0x3]=_0x3a9039,this['_doCryptBlock'](_0x17afa9,_0x1de1e6,this['_invKeySchedule'],_0x42bfef,_0x28b97d,_0x59485f,_0x37df02,_0x4f3999);var _0x3a9039=_0x17afa9[_0x1de1e6+0x1];_0x17afa9[_0x1de1e6+0x1]=_0x17afa9[_0x1de1e6+0x3],_0x17afa9[_0x1de1e6+0x3]=_0x3a9039;},'_doCryptBlock':function(_0x192094,_0x158ded,_0x119750,_0x1f2510,_0x447040,_0x4a6333,_0x2a68dc,_0x50518f){for(var _0x28eeac=this['_nRounds'],_0x5b3fd0=_0x192094[_0x158ded]^_0x119750[0x0],_0x12be6b=_0x192094[_0x158ded+0x1]^_0x119750[0x1],_0x16bd1e=_0x192094[_0x158ded+0x2]^_0x119750[0x2],_0x3bfa9c=_0x192094[_0x158ded+0x3]^_0x119750[0x3],_0x4cb431=0x4,_0x4e6a36=0x1;_0x4e6a36<_0x28eeac;_0x4e6a36++){var _0x1b075e=_0x1f2510[_0x5b3fd0>>>0x18]^_0x447040[_0x12be6b>>>0x10&0xff]^_0x4a6333[_0x16bd1e>>>0x8&0xff]^_0x2a68dc[_0x3bfa9c&0xff]^_0x119750[_0x4cb431++],_0x3bf753=_0x1f2510[_0x12be6b>>>0x18]^_0x447040[_0x16bd1e>>>0x10&0xff]^_0x4a6333[_0x3bfa9c>>>0x8&0xff]^_0x2a68dc[_0x5b3fd0&0xff]^_0x119750[_0x4cb431++],_0x26a032=_0x1f2510[_0x16bd1e>>>0x18]^_0x447040[_0x3bfa9c>>>0x10&0xff]^_0x4a6333[_0x5b3fd0>>>0x8&0xff]^_0x2a68dc[_0x12be6b&0xff]^_0x119750[_0x4cb431++],_0x97a89d=_0x1f2510[_0x3bfa9c>>>0x18]^_0x447040[_0x5b3fd0>>>0x10&0xff]^_0x4a6333[_0x12be6b>>>0x8&0xff]^_0x2a68dc[_0x16bd1e&0xff]^_0x119750[_0x4cb431++];_0x5b3fd0=_0x1b075e,_0x12be6b=_0x3bf753,_0x16bd1e=_0x26a032,_0x3bfa9c=_0x97a89d;}var _0x1b075e=(_0x50518f[_0x5b3fd0>>>0x18]<<0x18|_0x50518f[_0x12be6b>>>0x10&0xff]<<0x10|_0x50518f[_0x16bd1e>>>0x8&0xff]<<0x8|_0x50518f[_0x3bfa9c&0xff])^_0x119750[_0x4cb431++],_0x3bf753=(_0x50518f[_0x12be6b>>>0x18]<<0x18|_0x50518f[_0x16bd1e>>>0x10&0xff]<<0x10|_0x50518f[_0x3bfa9c>>>0x8&0xff]<<0x8|_0x50518f[_0x5b3fd0&0xff])^_0x119750[_0x4cb431++],_0x26a032=(_0x50518f[_0x16bd1e>>>0x18]<<0x18|_0x50518f[_0x3bfa9c>>>0x10&0xff]<<0x10|_0x50518f[_0x5b3fd0>>>0x8&0xff]<<0x8|_0x50518f[_0x12be6b&0xff])^_0x119750[_0x4cb431++],_0x97a89d=(_0x50518f[_0x3bfa9c>>>0x18]<<0x18|_0x50518f[_0x5b3fd0>>>0x10&0xff]<<0x10|_0x50518f[_0x12be6b>>>0x8&0xff]<<0x8|_0x50518f[_0x16bd1e&0xff])^_0x119750[_0x4cb431++];_0x192094[_0x158ded]=_0x1b075e,_0x192094[_0x158ded+0x1]=_0x3bf753,_0x192094[_0x158ded+0x2]=_0x26a032,_0x192094[_0x158ded+0x3]=_0x97a89d;},'keySize':0x100/0x20});_0x54e33a[_0x324da1(0x4a3)]=_0x11b219['_createHelper'](_0x102232);}()),_0x10b746[_0x57ecf8(0x4a3)];}));}(Se)),Se[_0x5f46e1(0x1ea)];}var on=sn();const an=fe(on);var cn=Ut();const ot=fe(cn);var be={'exports':{}},hn=be['exports'],at;function ln(){var _0x484b6c=_0x473e97;return at||(at=0x1,function(_0x70dd06,_0x214994){(function(_0x53198b,_0x3a3152){_0x70dd06['exports']=_0x3a3152(ee());}(hn,function(_0x2df2f6){var _0x3cda3d=_0x1992;return _0x2df2f6['enc'][_0x3cda3d(0x449)];}));}(be)),be[_0x484b6c(0x1ea)];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re['exports'],ct;function vn(){return ct||(ct=0x1,function(_0x465eb0,_0x38f27b){(function(_0x2531bb,_0x323d98){var _0x1206d7=_0x1992;_0x465eb0[_0x1206d7(0x1ea)]=_0x323d98(ee());}(dn,function(_0x19646c){var _0xb6a6d2=_0x1992;return(function(){var _0x38db43=_0x1992;if(typeof ArrayBuffer==_0x38db43(0x327)){var _0x10e1e4=_0x19646c,_0x51485f=_0x10e1e4['lib'],_0x2778bb=_0x51485f[_0x38db43(0x1ee)],_0x343ad2=_0x2778bb['init'],_0x68435d=_0x2778bb['init']=function(_0xf46375){var _0x284497=_0x38db43;if(_0xf46375 instanceof ArrayBuffer&&(_0xf46375=new Uint8Array(_0xf46375)),(_0xf46375 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf46375 instanceof Uint8ClampedArray||_0xf46375 instanceof Int16Array||_0xf46375 instanceof Uint16Array||_0xf46375 instanceof Int32Array||_0xf46375 instanceof Uint32Array||_0xf46375 instanceof Float32Array||_0xf46375 instanceof Float64Array)&&(_0xf46375=new Uint8Array(_0xf46375[_0x284497(0x2c4)],_0xf46375[_0x284497(0x21b)],_0xf46375['byteLength'])),_0xf46375 instanceof Uint8Array){for(var _0x2b9b3b=_0xf46375['byteLength'],_0x3ce517=[],_0x3b8b22=0x0;_0x3b8b22<_0x2b9b3b;_0x3b8b22++)_0x3ce517[_0x3b8b22>>>0x2]|=_0xf46375[_0x3b8b22]<<0x18-_0x3b8b22%0x4*0x8;_0x343ad2[_0x284497(0x18a)](this,_0x3ce517,_0x2b9b3b);}else _0x343ad2[_0x284497(0x2eb)](this,arguments);};_0x68435d[_0x38db43(0x2f7)]=_0x2778bb;}}()),_0x19646c[_0xb6a6d2(0x1d1)][_0xb6a6d2(0x1ee)];}));}(Re)),Re['exports'];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x473e97(0x1ea)],ht;function gn(){var _0x52c014=_0x473e97;return ht||(ht=0x1,function(_0x4ffd0c,_0x452275){(function(_0x1450b5,_0x2b9bcb,_0x5ec4bf){var _0x54b5d9=_0x1992;_0x4ffd0c[_0x54b5d9(0x1ea)]=_0x2b9bcb(ee(),wt());}(pn,function(_0x2507b8){var _0x20f646=_0x1992;return _0x2507b8['pad'][_0x20f646(0x215)]={'pad':function(){},'unpad':function(){}},_0x2507b8[_0x20f646(0x419)][_0x20f646(0x215)];}));}(Oe)),Oe[_0x52c014(0x1ea)];}var mn=gn();const In=fe(mn);function En(_0x41bc13,_0x44cb2a){var _0x2ba753=_0x473e97;const _0x43e05c=_0x44cb2a-_0x41bc13[_0x2ba753(0x39e)]%_0x44cb2a,_0x290747=String[_0x2ba753(0x303)](_0x43e05c)[_0x2ba753(0x321)](_0x43e05c);return _0x41bc13+_0x290747;}function Cn(_0x1f20ee,_0x4c495b){var _0x1a9cb7=_0x473e97;const _0x5b4063=Sn[_0x1a9cb7(0x3b6)](0x10),_0x284cbc=En(_0x1f20ee,0x10),_0x4fac1b=an[_0x1a9cb7(0x3da)](un[_0x1a9cb7(0x3c9)](_0x284cbc),ot[_0x1a9cb7(0x3c9)](_0x4c495b),{'iv':_0x5b4063,'padding':In});return _0x5b4063[_0x1a9cb7(0x43b)](_0x4fac1b['ciphertext'])['toString'](ot);}function Tn(){var _0x15fa97=_0x473e97;const _0x1e3ebf=jt['getGlobalObject']()['__Key__'];if(_0x1e3ebf){const _0x24fe03={'time':Math[_0x15fa97(0x385)](Date[_0x15fa97(0x271)]()/0x3e8),'domain':location['hostname']};return Cn(JSON[_0x15fa97(0x30b)](_0x24fe03),_0x1e3ebf);}}var bn=Object['defineProperty'],Rn=Object[_0x473e97(0x413)],On=(_0x1548c5,_0x3e26a4,_0x1d79f8,_0x3fbbb5)=>{var _0x332d3c=_0x473e97;for(var _0x3cc414=_0x3fbbb5>0x1?void 0x0:_0x3fbbb5?Rn(_0x3e26a4,_0x1d79f8):_0x3e26a4,_0x5c2e09=_0x1548c5[_0x332d3c(0x39e)]-0x1,_0x106bd2;_0x5c2e09>=0x0;_0x5c2e09--)(_0x106bd2=_0x1548c5[_0x5c2e09])&&(_0x3cc414=(_0x3fbbb5?_0x106bd2(_0x3e26a4,_0x1d79f8,_0x3cc414):_0x106bd2(_0x3cc414))||_0x3cc414);return _0x3fbbb5&&_0x3cc414&&bn(_0x3e26a4,_0x1d79f8,_0x3cc414),_0x3cc414;},yn=(_0x36606d,_0x5ec5f1)=>(_0x22d18b,_0x4ddce2)=>_0x5ec5f1(_0x22d18b,_0x4ddce2,_0x36606d);let Pe=class{constructor(_0xe0f377){var _0x315815=_0x473e97;this[_0x315815(0x4ac)]=_0xe0f377,this[_0x315815(0x1ce)]();}[_0x473e97(0x1ce)](){var _0x2bdfea=_0x473e97;this['_httpService'][_0x2bdfea(0x41f)]({'interceptor':(_0x55b095,_0x19d2c0)=>{var _0x4719d6=_0x2bdfea;const _0x4d0303=_0x55b095[_0x4719d6(0x32f)],_0x291f19=Tn();return _0x291f19&&_0x4d0303['set'](_0x4719d6(0x3ea),_0x291f19),_0x19d2c0(_0x55b095);}});}};Pe=On([yn(0x0,a[_0x473e97(0x2ef)](z[_0x473e97(0x2a5)]))],Pe);var Pn=Object[_0x473e97(0x378)],Nn=Object[_0x473e97(0x413)],Un=(_0x5f406a,_0x5abd88,_0x860f04,_0x3fd07c)=>{var _0x2f385c=_0x473e97;for(var _0x8a78e6=_0x3fd07c>0x1?void 0x0:_0x3fd07c?Nn(_0x5abd88,_0x860f04):_0x5abd88,_0x4fea56=_0x5f406a[_0x2f385c(0x39e)]-0x1,_0x1f0f03;_0x4fea56>=0x0;_0x4fea56--)(_0x1f0f03=_0x5f406a[_0x4fea56])&&(_0x8a78e6=(_0x3fd07c?_0x1f0f03(_0x5abd88,_0x860f04,_0x8a78e6):_0x1f0f03(_0x8a78e6))||_0x8a78e6);return _0x3fd07c&&_0x8a78e6&&Pn(_0x5abd88,_0x860f04,_0x8a78e6),_0x8a78e6;},Me=(_0x463178,_0x8639e2)=>(_0x1a2635,_0x54a244)=>_0x8639e2(_0x1a2635,_0x54a244,_0x463178);exports[_0x473e97(0x3bd)]=class extends a[_0x473e97(0x244)]{constructor(_0x5cd28d,_0x344359,_0x4e5a16){var _0x2ce024=_0x473e97;super(),D(this,'_unitInfo$',new H['BehaviorSubject'](null)),D(this,_0x2ce024(0x3f3),this[_0x2ce024(0x2ce)][_0x2ce024(0x360)]()),(this[_0x2ce024(0x476)]=_0x5cd28d,this[_0x2ce024(0x33b)]=_0x344359,this[_0x2ce024(0x45a)]=_0x4e5a16);}async[_0x473e97(0x352)](_0x3a3e1a,_0x3a68c8,_0x488f75){var _0x5002e7=_0x473e97;this[_0x5002e7(0x2ce)][_0x5002e7(0x42d)]({'unitId':_0x3a3e1a,'type':_0x3a68c8,'subUnitId':_0x488f75});let _0x4ee064=null;switch(_0x3a68c8){case Z[_0x5002e7(0x224)]:{_0x4ee064=await this[_0x5002e7(0x322)](_0x3a3e1a);break;}case Z[_0x5002e7(0x3b2)]:{_0x4ee064=await this[_0x5002e7(0x4b4)](_0x3a3e1a);break;}default:{this[_0x5002e7(0x476)][_0x5002e7(0x24f)](_0x5002e7(0x2bc),_0x5002e7(0x2af));break;}}return _0x4ee064;}async[_0x473e97(0x322)](_0x5269f4){var _0xfa2f36=_0x473e97,_0x55d752;let _0x240e42=0x0;const _0x155b85=await((_0x55d752=this[_0xfa2f36(0x45a)])==null?void 0x0:_0x55d752['loadOfflineData'](_0x5269f4));return _0x155b85&&(_0x155b85[_0xfa2f36(0x2f9)]||_0x155b85[_0xfa2f36(0x3e7)]['length']!==0x0)&&(_0x240e42=_0x155b85['rev']),_0x240e42===0x0&&this['_logService'][_0xfa2f36(0x15f)](_0xfa2f36(0x2bc),_0xfa2f36(0x18b)),this[_0xfa2f36(0x33b)][_0xfa2f36(0x296)](_0x5269f4,_0x240e42);}async[_0x473e97(0x4b4)](_0x512dda){var _0x329f55=_0x473e97,_0x2a4b5a;let _0x5cc122=0x0;const _0x138c77=await((_0x2a4b5a=this[_0x329f55(0x45a)])==null?void 0x0:_0x2a4b5a[_0x329f55(0x39f)](_0x512dda));return _0x138c77&&(_0x138c77[_0x329f55(0x2f9)]||_0x138c77[_0x329f55(0x3e7)][_0x329f55(0x39e)]!==0x0)&&(_0x5cc122=_0x138c77[_0x329f55(0x405)]),_0x5cc122===0x0&&this[_0x329f55(0x476)]['debug'](_0x329f55(0x2bc),_0x329f55(0x18b)),this[_0x329f55(0x33b)]['loadDoc'](_0x512dda,_0x5cc122);}},exports[_0x473e97(0x3bd)]=Un([Me(0x0,a[_0x473e97(0x3df)]),Me(0x1,a[_0x473e97(0x2ef)](m[_0x473e97(0x2d2)])),Me(0x2,a['Optional'](J))],exports['DataLoaderService']);var Dn=Object[_0x473e97(0x378)],wn=Object[_0x473e97(0x413)],An=(_0x5a7b37,_0x14d88e,_0x565fbc,_0x35534e)=>{var _0x3bdb6f=_0x473e97;for(var _0x1b9b9a=_0x35534e>0x1?void 0x0:_0x35534e?wn(_0x14d88e,_0x565fbc):_0x14d88e,_0x13afd4=_0x5a7b37[_0x3bdb6f(0x39e)]-0x1,_0x324c4b;_0x13afd4>=0x0;_0x13afd4--)(_0x324c4b=_0x5a7b37[_0x13afd4])&&(_0x1b9b9a=(_0x35534e?_0x324c4b(_0x14d88e,_0x565fbc,_0x1b9b9a):_0x324c4b(_0x1b9b9a))||_0x1b9b9a);return _0x35534e&&_0x1b9b9a&&Dn(_0x14d88e,_0x565fbc,_0x1b9b9a),_0x1b9b9a;},xe=(_0x184aa1,_0x5e6b81)=>(_0x39d162,_0xe9c206)=>_0x5e6b81(_0x39d162,_0xe9c206,_0x184aa1);const Ln=['image/png',_0x473e97(0x34d),_0x473e97(0x211),_0x473e97(0x3e8),_0x473e97(0x239)],Mn=0x5*0x400*0x400,xn=_0x473e97(0x356),jn=_0x473e97(0x31e),$n=_0x473e97(0x3b7),Hn=_0x473e97(0x19a);exports[_0x473e97(0x437)]=class{constructor(_0x4d27a2,_0xba3307,_0x5987bd){var _0x4918df=_0x473e97;D(this,_0x4918df(0x3ed),0x0),D(this,_0x4918df(0x40a),new H[(_0x4918df(0x1cb))]()),D(this,'change$',this[_0x4918df(0x40a)]),D(this,_0x4918df(0x28c),new Map()),(this[_0x4918df(0x4ac)]=_0x4d27a2,this['_configService']=_0xba3307,this[_0x4918df(0x488)]=_0x5987bd);}[_0x473e97(0x32d)](_0x38cc2e){var _0x4a8547=_0x473e97;this[_0x4a8547(0x3ed)]=_0x38cc2e,this['_change$'][_0x4a8547(0x42d)](_0x38cc2e);}[_0x473e97(0x498)](_0x480098,_0x589bb8){var _0x242ff9=_0x473e97;if(_0x589bb8===X[_0x242ff9(0x349)][_0x242ff9(0x2b3)]){const _0x1b9243=new Image();return _0x1b9243['src']=_0x480098,_0x1b9243;}return this[_0x242ff9(0x28c)][_0x242ff9(0x3eb)](_0x480098);}[_0x473e97(0x2bb)](_0x2f481e,_0x166cc1,_0x34acab){var _0x34ee29=_0x473e97;_0x166cc1===X[_0x34ee29(0x349)][_0x34ee29(0x2b3)]||_0x34acab==null||this[_0x34ee29(0x28c)][_0x34ee29(0x3d4)](_0x2f481e,_0x34acab);}async['getImage'](_0x25cf9f){var _0x9e619b=_0x473e97;try{const _0x140798=this['_replaceFileID'](this['_getSignURL'](),''+_0x25cf9f),_0x2bee94=(await this[_0x9e619b(0x4ac)]['get'](_0x140798))[_0x9e619b(0x470)];if(_0x2bee94[_0x9e619b(0x24f)]&&_0x2bee94[_0x9e619b(0x24f)][_0x9e619b(0x444)]===Ct['OK']){const _0x526faf=new URL(_0x2bee94[_0x9e619b(0x163)],this[_0x9e619b(0x2a0)]())[_0x9e619b(0x390)]();return Promise[_0x9e619b(0x4a7)](_0x526faf);}return Promise[_0x9e619b(0x422)](_0x2bee94['error']);}catch(_0x5767ad){return Promise[_0x9e619b(0x422)](_0x5767ad);}}async[_0x473e97(0x3ad)](_0x21ec4c){var _0x3862dd=_0x473e97;let _0x41b76f='';if(!Ln[_0x3862dd(0x154)](_0x21ec4c[_0x3862dd(0x242)]))return this[_0x3862dd(0x333)](),Promise[_0x3862dd(0x422)](new Error(X[_0x3862dd(0x33a)][_0x3862dd(0x22a)]));if(_0x21ec4c[_0x3862dd(0x1fa)]>Mn)return this['_decreaseWaiting'](),Promise[_0x3862dd(0x422)](new Error(X[_0x3862dd(0x33a)][_0x3862dd(0x36d)]));try{const _0x382e95=new FormData();_0x382e95[_0x3862dd(0x493)]('file',_0x21ec4c);const _0xfe700=this['_univerInstanceService'][_0x3862dd(0x354)](),_0x17b817=_0xfe700==null?void 0x0:_0xfe700['getUnitId']();if(!_0x17b817)throw new Error(_0x3862dd(0x1e8));const _0x1d0726=this[_0x3862dd(0x43f)]()+_0x3862dd(0x45e)+_0x21ec4c[_0x3862dd(0x1fa)]['toString']()+_0x3862dd(0x3a7)+Tt[_0x3862dd(0x442)]+_0x3862dd(0x3e2)+encodeURIComponent(_0x17b817),_0x2e6d01=await(await fetch(_0x1d0726,{'method':'POST','body':_0x382e95}))[_0x3862dd(0x329)]();if(typeof _0x2e6d01[_0x3862dd(0x3c6)]!=_0x3862dd(0x40f))return this['_decreaseWaiting'](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x3862dd(0x486)]));_0x41b76f=_0x2e6d01[_0x3862dd(0x3c6)];}catch{return this[_0x3862dd(0x333)](),Promise[_0x3862dd(0x422)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0xe1b350,_0x56349a)=>{var _0x3ad9e8=_0x3862dd;const _0x2f375a=new FileReader();_0x2f375a[_0x3ad9e8(0x472)](_0x21ec4c),_0x2f375a['onload']=_0x58ef3d=>{var _0x2e47f3=_0x3ad9e8,_0x3e5a47;const _0x457aa7=(_0x3e5a47=_0x58ef3d[_0x2e47f3(0x226)])==null?void 0x0:_0x3e5a47[_0x2e47f3(0x3b1)];if(_0x457aa7==null){this['_decreaseWaiting'](),_0x56349a(new Error(X[_0x2e47f3(0x33a)][_0x2e47f3(0x486)]));return;}const _0x228bf7=a[_0x2e47f3(0x192)][_0x2e47f3(0x2d6)](0x6);_0xe1b350({'imageId':_0x228bf7,'imageSourceType':X[_0x2e47f3(0x349)]['UUID'],'source':_0x41b76f,'base64Cache':_0x457aa7,'status':X['ImageUploadStatusType'][_0x2e47f3(0x462)]}),this[_0x2e47f3(0x333)]();};});}[_0x473e97(0x43f)](){var _0x295ed3=_0x473e97,_0xa12097,_0x35ff54;const _0x502f04=this['_configService'][_0x295ed3(0x4b7)](xn),_0x160f46=this[_0x295ed3(0x485)]['getConfig'](q);return(_0x35ff54=(_0xa12097=_0x160f46==null?void 0x0:_0x160f46[_0x295ed3(0x164)])!=null?_0xa12097:_0x502f04)!=null?_0x35ff54:jn;}[_0x473e97(0x285)](){var _0x33a534=_0x473e97,_0x1f2d72,_0x43a7cb;const _0x117b25=this['_configService']['getConfig']($n),_0x62788a=this[_0x33a534(0x485)][_0x33a534(0x4b7)](q);return(_0x43a7cb=(_0x1f2d72=_0x62788a==null?void 0x0:_0x62788a[_0x33a534(0x3c2)])!=null?_0x1f2d72:_0x117b25)!=null?_0x43a7cb:Hn;}[_0x473e97(0x2a0)](){var _0x2c10b7=_0x473e97,_0x38c0e4;const _0x5ec6b8=this['_configService'][_0x2c10b7(0x4b7)](q);return(_0x38c0e4=_0x5ec6b8==null?void 0x0:_0x5ec6b8[_0x2c10b7(0x386)])!=null?_0x38c0e4:location['origin'];}[_0x473e97(0x3ab)](_0x243136,_0x44b378){var _0x5c6130=_0x473e97;return _0x243136[_0x5c6130(0x3d1)]('{fileID}',_0x44b378);}[_0x473e97(0x333)](){var _0x161ec=_0x473e97;this[_0x161ec(0x3ed)]-=0x1,this[_0x161ec(0x40a)][_0x161ec(0x42d)](this[_0x161ec(0x3ed)]);}},exports[_0x473e97(0x437)]=An([xe(0x0,a['Inject'](z['HTTPService'])),xe(0x1,a[_0x473e97(0x36a)]),xe(0x2,a[_0x473e97(0x2ef)](a['IUniverInstanceService']))],exports['CollaborationImageIoService']);var kn=Object[_0x473e97(0x378)],Bn=Object[_0x473e97(0x413)],Fn=(_0x505921,_0x271894,_0x81b005,_0x21ee83)=>{var _0x3d315c=_0x473e97;for(var _0x530dfa=_0x21ee83>0x1?void 0x0:_0x21ee83?Bn(_0x271894,_0x81b005):_0x271894,_0x58c07e=_0x505921[_0x3d315c(0x39e)]-0x1,_0x37f4b3;_0x58c07e>=0x0;_0x58c07e--)(_0x37f4b3=_0x505921[_0x58c07e])&&(_0x530dfa=(_0x21ee83?_0x37f4b3(_0x271894,_0x81b005,_0x530dfa):_0x37f4b3(_0x530dfa))||_0x530dfa);return _0x21ee83&&_0x530dfa&&kn(_0x271894,_0x81b005,_0x530dfa),_0x530dfa;},lt=(_0x797f4d,_0x4e6efc)=>(_0x4bdcd0,_0x332d3e)=>_0x4e6efc(_0x4bdcd0,_0x332d3e,_0x797f4d);const Wn='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x3c5841,_0xb4d8e7){var _0x368237=_0x473e97;this[_0x368237(0x485)]=_0x3c5841,this[_0x368237(0x25a)]=_0xb4d8e7;}[_0x473e97(0x26a)](){var _0x38cc40=_0x473e97,_0x31d3da,_0x4c31cc;const _0x1cac93=this['_configService'][_0x38cc40(0x4b7)](Ge),_0xe7d50f=this[_0x38cc40(0x485)][_0x38cc40(0x4b7)](q);return(_0x4c31cc=(_0x31d3da=_0xe7d50f==null?void 0x0:_0xe7d50f['authzUrl'])!=null?_0x31d3da:_0x1cac93)!=null?_0x4c31cc:Wn;}async['list'](_0x3791bb){var _0x566415=_0x473e97;const _0x198b3c=this[_0x566415(0x26a)]()+_0x566415(0x28f);return{'list':[{'title':_0x566415(0x25c),'mentions':(await this['_HTTPService'][_0x566415(0x3eb)](_0x198b3c,{'params':{'objectID':_0x3791bb['unitId'],'unitID':_0x3791bb['unitId']}}))[_0x566415(0x470)][_0x566415(0x45c)][_0x566415(0x49e)](_0x2e16b2=>({'objectId':_0x2e16b2['id'],'name':_0x2e16b2[_0x566415(0x4ae)]['name'],'metadata':{'icon':_0x2e16b2[_0x566415(0x4ae)][_0x566415(0x258)]},'label':_0x2e16b2[_0x566415(0x4ae)][_0x566415(0x308)],'objectType':a[_0x566415(0x369)][_0x566415(0x1cd)]})),'metadata':{},'type':a[_0x566415(0x369)][_0x566415(0x1cd)]}]};}},exports[_0x473e97(0x1d9)]=Fn([lt(0x0,a['Inject'](a[_0x473e97(0x36a)])),lt(0x1,a[_0x473e97(0x2ef)](z[_0x473e97(0x2a5)]))],exports['MentionIoHttpService']);var Vn=Object[_0x473e97(0x378)],Gn=Object[_0x473e97(0x413)],Kn=(_0x205a46,_0x388c03,_0x68dc8,_0x5bb6eb)=>{var _0x106c5b=_0x473e97;for(var _0x567a90=_0x5bb6eb>0x1?void 0x0:_0x5bb6eb?Gn(_0x388c03,_0x68dc8):_0x388c03,_0x475d3a=_0x205a46[_0x106c5b(0x39e)]-0x1,_0x50c728;_0x475d3a>=0x0;_0x475d3a--)(_0x50c728=_0x205a46[_0x475d3a])&&(_0x567a90=(_0x5bb6eb?_0x50c728(_0x388c03,_0x68dc8,_0x567a90):_0x50c728(_0x567a90))||_0x567a90);return _0x5bb6eb&&_0x567a90&&Vn(_0x388c03,_0x68dc8,_0x567a90),_0x567a90;},ce=(_0x2e5bb4,_0x294583)=>(_0x274b30,_0x18b113)=>_0x294583(_0x274b30,_0x18b113,_0x2e5bb4);let Ne=class extends a[_0x473e97(0x244)]{constructor(_0x3237ab,_0x1e3bb9,_0x4cc65a,_0x3629ae,_0x4bf07d,_0x4f5129,_0x115e0b){var _0x5e980c=_0x473e97;super(),this[_0x5e980c(0x1cc)]=_0x3237ab,this['_univerInstanceService']=_0x1e3bb9,this[_0x5e980c(0x18f)]=_0x4cc65a,this['_collaborationSessionService']=_0x3629ae,this[_0x5e980c(0x1e3)]=_0x4bf07d,this[_0x5e980c(0x438)]=_0x4f5129,this[_0x5e980c(0x3ca)]=_0x115e0b,this[_0x5e980c(0x323)](),this[_0x5e980c(0x4c1)]();}[_0x473e97(0x4c1)](){var _0x4f25d5=_0x473e97;const _0x30aa8c=async _0x3684dd=>{var _0x282ff4=_0x1992;(await this[_0x282ff4(0x29e)][_0x282ff4(0x20f)](_0x3684dd))['event$']['pipe'](V[_0x282ff4(0x480)](_0x2eac6d=>_0x2eac6d[_0x282ff4(0x29b)]===m[_0x282ff4(0x47e)][_0x282ff4(0x199)]),V[_0x282ff4(0x34b)](this[_0x282ff4(0x280)]))['subscribe'](_0x427373=>{var _0x1f9141=_0x282ff4;const _0x37e150=_0x427373,{reason:_0x315c09}=_0x37e150[_0x1f9141(0x46d)];this[_0x1f9141(0x1e3)][_0x1f9141(0x266)]({'id':Q[_0x1f9141(0x441)],'data':_0x315c09}),this[_0x1f9141(0x18f)][_0x1f9141(0x372)](new W[(_0x1f9141(0x1ab))](_0x3684dd)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x3684dd);});};H[_0x4f25d5(0x491)](this[_0x4f25d5(0x488)][_0x4f25d5(0x3f5)](a[_0x4f25d5(0x30c)][_0x4f25d5(0x224)]),this[_0x4f25d5(0x488)][_0x4f25d5(0x3f5)](a[_0x4f25d5(0x30c)]['UNIVER_DOC']))[_0x4f25d5(0x2bd)](V[_0x4f25d5(0x49e)](_0x3d116c=>_0x3d116c['getUnitId']()),V[_0x4f25d5(0x480)](_0x50feb7=>!a[_0x4f25d5(0x16d)](_0x50feb7)),V[_0x4f25d5(0x34b)](this['dispose$']))['subscribe'](_0x552d03=>{_0x30aa8c(_0x552d03);});}[_0x473e97(0x323)](){var _0x5c37f3=_0x473e97;const _0x37e7ac=async _0x58f8f2=>{var _0x14d6c7=_0x1992;(await this[_0x14d6c7(0x29e)][_0x14d6c7(0x20f)](_0x58f8f2))[_0x14d6c7(0x1db)][_0x14d6c7(0x2bd)](V[_0x14d6c7(0x480)](_0x54de82=>_0x54de82[_0x14d6c7(0x29b)]===m['CollaborationEvent'][_0x14d6c7(0x279)]),V[_0x14d6c7(0x34b)](this['dispose$']))[_0x14d6c7(0x1fc)](_0x46aedf=>{var _0x4d6d14=_0x14d6c7;const _0x146830=_0x46aedf,{objectId:_0x4fb7e1}=_0x146830[_0x4d6d14(0x46d)];_0x4fb7e1===_0x58f8f2?this['initWorkbookPermissionChange'](_0x58f8f2):this[_0x4d6d14(0x362)](_0x58f8f2,_0x4fb7e1);});};H[_0x5c37f3(0x491)](this[_0x5c37f3(0x488)][_0x5c37f3(0x3f5)](a[_0x5c37f3(0x30c)][_0x5c37f3(0x224)]),this[_0x5c37f3(0x488)][_0x5c37f3(0x3f5)](a[_0x5c37f3(0x30c)][_0x5c37f3(0x3b2)]))[_0x5c37f3(0x2bd)](V['map'](_0x137360=>_0x137360[_0x5c37f3(0x363)]()),V[_0x5c37f3(0x480)](_0x5cd7fa=>!a[_0x5c37f3(0x16d)](_0x5cd7fa)),V['takeUntil'](this[_0x5c37f3(0x280)]))[_0x5c37f3(0x1fc)](_0x2407a3=>{_0x37e7ac(_0x2407a3);});}async[_0x473e97(0x458)](_0x371b52){var _0x3ac7aa=_0x473e97,_0x5a140e;const _0x39fdb9=_0x371b52||((_0x5a140e=this[_0x3ac7aa(0x488)][_0x3ac7aa(0x2e9)](a[_0x3ac7aa(0x30c)][_0x3ac7aa(0x224)]))==null?void 0x0:_0x5a140e['getUnitId']());_0x39fdb9&&this[_0x3ac7aa(0x438)]['allowed']({'objectID':_0x39fdb9,'objectType':W['UnitObject'][_0x3ac7aa(0x1f0)],'unitID':_0x39fdb9,'actions':W[_0x3ac7aa(0x272)]})[_0x3ac7aa(0x408)](_0x56f5ca=>{W['getAllWorkbookPermissionPoint']()['forEach'](_0x5ea144=>{var _0x32fe9b=_0x1992;const _0x164340=new _0x5ea144(_0x39fdb9),_0x2ee63a=_0x164340[_0x32fe9b(0x478)],_0x12f2c9=_0x56f5ca[_0x32fe9b(0x4c5)](_0x2c4743=>_0x2c4743['action']===_0x2ee63a);_0x12f2c9&&this[_0x32fe9b(0x18f)][_0x32fe9b(0x372)](_0x164340['id'],_0x12f2c9[_0x32fe9b(0x1c5)]);});});}[_0x473e97(0x362)](_0x2528a6,_0x3a9f7c){var _0x455e84=_0x473e97;const _0x593d20=this[_0x455e84(0x1cc)][_0x455e84(0x3eb)](W[_0x455e84(0x4bf)]),_0x2a46e4=_0x593d20[_0x455e84(0x338)](_0x2528a6,_0x3a9f7c);let _0xa39e3a=!0x1;if(_0x2a46e4){const [_0x4807dc,_0x242005]=_0x2a46e4;this[_0x455e84(0x438)][_0x455e84(0x1c5)]({'objectID':_0x3a9f7c,'unitID':_0x2528a6,'objectType':W[_0x455e84(0x1de)][_0x455e84(0x16f)],'actions':W[_0x455e84(0x3ec)]})[_0x455e84(0x408)](_0xdd0092=>{var _0x3153b3=_0x455e84;let _0x5946fd='';W[_0x3153b3(0x388)]()[_0x3153b3(0x1ff)](_0x229cdb=>{var _0x315c86=_0x3153b3,_0x2a0004;const _0x370b75=new _0x229cdb(_0x2528a6,_0x242005),_0x2abec8=_0x370b75[_0x315c86(0x478)],_0x40ca88=_0xdd0092[_0x315c86(0x4c5)](_0xd848ac=>_0xd848ac[_0x315c86(0x260)]===_0x2abec8);_0x40ca88&&(((_0x2a0004=this[_0x315c86(0x18f)][_0x315c86(0x20b)](_0x370b75['id']))==null?void 0x0:_0x2a0004[_0x315c86(0x347)])!==_0x40ca88['allowed']&&(_0xa39e3a=!0x0),this['_permissionService'][_0x315c86(0x372)](_0x370b75['id'],_0x40ca88[_0x315c86(0x1c5)]),_0x5946fd+=_0x40ca88[_0x315c86(0x260)]+'_'+_0x40ca88['allowed']);}),_0x593d20[_0x3153b3(0x176)](_0x3a9f7c+'_'+_0x5946fd),_0xa39e3a&&this[_0x3153b3(0x3ca)][_0x3153b3(0x434)](_0x2528a6);});}const _0x2c7fc9=this[_0x455e84(0x1cc)]['get'](W['WorksheetProtectionPointModel'])['getTargetByPermissionId'](_0x2528a6,_0x3a9f7c);if(_0x2c7fc9){const [_0x27ae05,_0x37a606]=_0x2c7fc9;this['_authzIoService'][_0x455e84(0x1c5)]({'objectID':_0x3a9f7c,'unitID':_0x2528a6,'objectType':W[_0x455e84(0x1de)][_0x455e84(0x16f)],'actions':W[_0x455e84(0x3dc)]})[_0x455e84(0x408)](_0x2e59cb=>{var _0x129ae0=_0x455e84;W[_0x129ae0(0x1dc)]()[_0x129ae0(0x1ff)](_0x283f70=>{var _0x1f8137=_0x129ae0,_0x302594;const _0x462bdc=new _0x283f70(_0x2528a6,_0x37a606),_0x362100=_0x462bdc[_0x1f8137(0x478)],_0x221aa8=_0x2e59cb[_0x1f8137(0x4c5)](_0x5e176e=>_0x5e176e[_0x1f8137(0x260)]===_0x362100);_0x221aa8&&(((_0x302594=this['_permissionService'][_0x1f8137(0x20b)](_0x462bdc['id']))==null?void 0x0:_0x302594[_0x1f8137(0x347)])!==_0x221aa8[_0x1f8137(0x1c5)]&&(_0xa39e3a=!0x0),this[_0x1f8137(0x18f)][_0x1f8137(0x372)](_0x462bdc['id'],_0x221aa8[_0x1f8137(0x1c5)]));}),_0xa39e3a&&this[_0x129ae0(0x3ca)][_0x129ae0(0x434)](_0x2528a6);});}const _0x4184fc=this[_0x455e84(0x1cc)][_0x455e84(0x3eb)](W[_0x455e84(0x196)]),_0x234bf4=_0x4184fc[_0x455e84(0x338)](_0x2528a6,_0x3a9f7c);if(_0x234bf4){const [_0x5217bd,_0x78595a]=_0x234bf4;this['_authzIoService']['allowed']({'objectID':_0x3a9f7c,'unitID':_0x2528a6,'objectType':W[_0x455e84(0x1de)]['SelectRange'],'actions':W['baseProtectionActions']})[_0x455e84(0x408)](_0x1fc69d=>{var _0x3e5f33=_0x455e84;let _0x5bbaeb='';W[_0x3e5f33(0x2da)]()[_0x3e5f33(0x1ff)](_0xecf1af=>{var _0x17dbd5=_0x3e5f33,_0x48001c;const _0x483210=new _0xecf1af(_0x2528a6,_0x78595a,_0x3a9f7c),_0x47ab50=_0x483210[_0x17dbd5(0x478)],_0x42b174=_0x1fc69d['find'](_0x14c331=>_0x14c331[_0x17dbd5(0x260)]===_0x47ab50);_0x42b174&&(((_0x48001c=this['_permissionService'][_0x17dbd5(0x20b)](_0x483210['id']))==null?void 0x0:_0x48001c[_0x17dbd5(0x347)])!==_0x42b174[_0x17dbd5(0x1c5)]&&(_0xa39e3a=!0x0),this['_permissionService'][_0x17dbd5(0x372)](_0x483210['id'],_0x42b174[_0x17dbd5(0x1c5)]),_0x5bbaeb+=_0x42b174['action']+'_'+_0x42b174['allowed']);}),_0x4184fc['ruleRefresh'](_0x3a9f7c+'_'+_0x5bbaeb),_0xa39e3a&&this[_0x3e5f33(0x3ca)][_0x3e5f33(0x434)](_0x2528a6);});}}};Ne=Kn([ce(0x0,a[_0x473e97(0x2ef)](a[_0x473e97(0x319)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x473e97(0x306)]),ce(0x3,a['Inject'](exports['CollaborationSessionService'])),ce(0x4,a['Inject'](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x473e97(0x40c)])],Ne);var Yn=Object['defineProperty'],qn=Object[_0x473e97(0x413)],zn=(_0x2b2a61,_0x1995f1,_0x1fa814,_0x31d611)=>{var _0x44925c=_0x473e97;for(var _0x4f7957=_0x31d611>0x1?void 0x0:_0x31d611?qn(_0x1995f1,_0x1fa814):_0x1995f1,_0x35bbcd=_0x2b2a61[_0x44925c(0x39e)]-0x1,_0x55db36;_0x35bbcd>=0x0;_0x35bbcd--)(_0x55db36=_0x2b2a61[_0x35bbcd])&&(_0x4f7957=(_0x31d611?_0x55db36(_0x1995f1,_0x1fa814,_0x4f7957):_0x55db36(_0x4f7957))||_0x4f7957);return _0x31d611&&_0x4f7957&&Yn(_0x1995f1,_0x1fa814,_0x4f7957),_0x4f7957;},_t=(_0x42d085,_0x163b82)=>(_0x1207f0,_0xb73d5a)=>_0x163b82(_0x1207f0,_0xb73d5a,_0x42d085);exports['SnapshotServerOverHTTPService']=class{constructor(_0x1e39e2,_0x3170cb){var _0x4c5126=_0x473e97;this[_0x4c5126(0x485)]=_0x1e39e2,this['_httpService']=_0x3170cb;}async[_0x473e97(0x332)](_0x34df4b,_0x32893c){var _0x2543c5=_0x473e97,_0x2da0f5;const {unitID:_0x5965df,type:_0x1a4916,revision:_0x1bcf54=0x0}=_0x32893c,_0x1fa341=this[_0x2543c5(0x220)]()+'/'+_0x1a4916+_0x2543c5(0x20c)+_0x5965df+_0x2543c5(0x2d3)+_0x1bcf54,_0x431d16=(await this[_0x2543c5(0x4ac)]['get'](_0x1fa341))[_0x2543c5(0x470)],_0x1d9757=(_0x2da0f5=_0x431d16[_0x2543c5(0x1d6)])==null?void 0x0:_0x2da0f5[_0x2543c5(0x456)];if(_0x1d9757){const _0x16cebd=_0x1d9757==null?void 0x0:_0x1d9757[_0x2543c5(0x1f9)],_0x34a6cf=m[_0x2543c5(0x3d0)][_0x2543c5(0x17b)](m['b64DecodeUnicode'](_0x16cebd));_0x1d9757[_0x2543c5(0x1f9)]=_0x34a6cf,Object[_0x2543c5(0x376)](_0x1d9757[_0x2543c5(0x36b)])[_0x2543c5(0x1ff)](([,_0x2e0da8])=>{var _0x19d19a=_0x2543c5;const _0x221e8f=_0x2e0da8[_0x19d19a(0x1f9)],_0x34a2e9=m[_0x19d19a(0x3d0)]['encode'](m[_0x19d19a(0x39d)](_0x221e8f));_0x2e0da8['originalMeta']=_0x34a2e9;});}return _0x431d16;}async[_0x473e97(0x443)](_0x2aaa0c,_0x58e424){var _0x45ed62=_0x473e97;const {unitID:_0xb41a17,type:_0x2f4efe,blockID:_0x472771}=_0x58e424,_0x5d3b7a=this[_0x45ed62(0x1a8)]()+'/'+_0x2f4efe+_0x45ed62(0x20c)+_0xb41a17+_0x45ed62(0x169)+_0x472771;return(await this[_0x45ed62(0x4ac)][_0x45ed62(0x3eb)](_0x5d3b7a))[_0x45ed62(0x470)];}async[_0x473e97(0x4b2)](_0x479040,_0x1363d3){var _0x30b909=_0x473e97;const {unitID:_0xfe04eb,type:_0x1ff6e1,blockID:_0x9fb6b5}=_0x1363d3,_0x5cde80=this[_0x30b909(0x1a8)]()+_0x30b909(0x169)+_0x1ff6e1+_0x30b909(0x20c)+_0xfe04eb+_0x30b909(0x169)+_0x9fb6b5;return(await this['_httpService'][_0x30b909(0x3eb)](_0x5cde80))[_0x30b909(0x470)];}async[_0x473e97(0x346)](_0x34a2eb,_0x4037c5){var _0xbbc19b=_0x473e97;const {unitID:_0x2fd3f8,type:_0xdb2584,from:_0x4f830e,to:_0x5c4c99}=_0x4037c5,_0x595acc=this[_0xbbc19b(0x1a8)]()+'/'+_0xdb2584+'/unit/'+_0x2fd3f8+_0xbbc19b(0x225)+_0x4f830e+'&to='+_0x5c4c99;return(await this[_0xbbc19b(0x4ac)][_0xbbc19b(0x3eb)](_0x595acc))['body'];}[_0x473e97(0x220)](){var _0x1962de=_0x473e97,_0x46a70b;return(_0x46a70b=this[_0x1962de(0x485)][_0x1962de(0x4b7)](vt))!=null?_0x46a70b:this[_0x1962de(0x1a8)]();}[_0x473e97(0x1a8)](){var _0x4631e8=_0x473e97,_0x169b0c,_0x170e8a;const _0x47afd0=this['_configService'][_0x4631e8(0x4b7)](dt),_0x7f1ee5=this[_0x4631e8(0x485)][_0x4631e8(0x4b7)](q);return(_0x170e8a=(_0x169b0c=_0x7f1ee5==null?void 0x0:_0x7f1ee5['snapshotServerUrl'])!=null?_0x169b0c:_0x47afd0)!=null?_0x170e8a:$t;}async[_0x473e97(0x2ff)](_0x3167a0,_0x3a023e){var _0x576ba8=_0x473e97;const _0x455661=_0x576ba8(0x4b3)+_0x3a023e[_0x576ba8(0x242)]+_0x576ba8(0x20c)+_0x3a023e[_0x576ba8(0x24d)]+_0x576ba8(0x1e6);return(await this[_0x576ba8(0x4ac)][_0x576ba8(0x3eb)](_0x455661,{'params':{'resourceId':JSON['stringify'](_0x3a023e[_0x576ba8(0x2b0)])}}))['body'];}[_0x473e97(0x374)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x473e97(0x351)](){var _0x2460fc=_0x473e97;throw new Error(_0x2460fc(0x410));}[_0x473e97(0x1e9)](){var _0x4c9e45=_0x473e97;throw new Error(_0x4c9e45(0x410));}['copyFileMeta'](){var _0x282a5a=_0x473e97;throw new Error(_0x282a5a(0x410));}['getLatestCsReqIdBySid'](){var _0x14b161=_0x473e97;throw new Error(_0x14b161(0x410));}},exports[_0x473e97(0x2b9)]=zn([_t(0x0,a[_0x473e97(0x36a)]),_t(0x1,a[_0x473e97(0x2ef)](z[_0x473e97(0x2a5)]))],exports[_0x473e97(0x2b9)]);var Jn=Object[_0x473e97(0x378)],Xn=Object[_0x473e97(0x413)],Zn=(_0x2a7761,_0x4506d6,_0x457e75,_0x2e1b9d)=>{var _0x140ed8=_0x473e97;for(var _0x21da38=_0x2e1b9d>0x1?void 0x0:_0x2e1b9d?Xn(_0x4506d6,_0x457e75):_0x4506d6,_0x43dcf2=_0x2a7761[_0x140ed8(0x39e)]-0x1,_0x316a93;_0x43dcf2>=0x0;_0x43dcf2--)(_0x316a93=_0x2a7761[_0x43dcf2])&&(_0x21da38=(_0x2e1b9d?_0x316a93(_0x4506d6,_0x457e75,_0x21da38):_0x316a93(_0x21da38))||_0x21da38);return _0x2e1b9d&&_0x21da38&&Jn(_0x4506d6,_0x457e75,_0x21da38),_0x21da38;},de=(_0x5cf05f,_0x3dc3ba)=>(_0x23defe,_0x14a207)=>_0x3dc3ba(_0x23defe,_0x14a207,_0x5cf05f);exports[_0x473e97(0x45b)]=class extends a[_0x473e97(0x2f8)]{constructor(_0x29eb3e,_0xebb0c8,_0x45d5cc,_0x397dc9,_0x36e7f3){var _0x46ed4a=_0x473e97;super(_0x29eb3e,_0xebb0c8,_0x45d5cc),this[_0x46ed4a(0x373)]=_0x397dc9,this['_logService']=_0x36e7f3;}[_0x473e97(0x27a)](_0x4163de,_0x1c6860){var _0x9c66ca=_0x473e97;const _0x514c86=this[_0x9c66ca(0x39b)](_0x4163de);if(_0x514c86)try{const _0xc16bfc=this[_0x9c66ca(0x23c)](_0x514c86,_0x1c6860);this[_0x9c66ca(0x44e)](_0x4163de,_0xc16bfc);}catch(_0x53d47b){this[_0x9c66ca(0x476)][_0x9c66ca(0x24f)](_0x9c66ca(0x1b1),_0x53d47b),this[_0x9c66ca(0x236)](_0x4163de);}const _0x1748d8=this[_0x9c66ca(0x494)](_0x4163de);if(_0x1748d8)try{const _0x45e40a=this['_transformStack'](_0x1748d8,_0x1c6860);this[_0x9c66ca(0x218)](_0x4163de,_0x45e40a);}catch(_0x13b8a7){this[_0x9c66ca(0x476)][_0x9c66ca(0x24f)](_0x13b8a7),this[_0x9c66ca(0x274)](_0x4163de);}}['_clearUndo'](_0x91f82e){var _0x2e9c3d=_0x473e97;const _0x3f650c=this[_0x2e9c3d(0x39b)](_0x91f82e);_0x3f650c&&(_0x3f650c[_0x2e9c3d(0x39e)]=0x0,this[_0x2e9c3d(0x1c7)]());}['_clearRedo'](_0x144b77){var _0x570c4f=_0x473e97;const _0x30af85=this[_0x570c4f(0x494)](_0x144b77);_0x30af85&&(_0x30af85['length']=0x0,this[_0x570c4f(0x1c7)]());}[_0x473e97(0x44e)](_0x11fab1,_0x16a360){var _0x443d33=_0x473e97;this[_0x443d33(0x30a)][_0x443d33(0x3d4)](_0x11fab1,_0x16a360),this[_0x443d33(0x1c7)]();}['_substituteRedoStack'](_0xb92196,_0x366bd8){var _0x2e2f4d=_0x473e97;this[_0x2e2f4d(0x2fd)][_0x2e2f4d(0x3d4)](_0xb92196,_0x366bd8),this[_0x2e2f4d(0x1c7)]();}['_transformStack'](_0x18f350,_0x1674cf){var _0x5d149d=_0x473e97;const _0x7e58c2=[];let _0x59b27a=_0x1674cf,_0x1950f0=_0x1674cf;for(let _0x264b5c=_0x18f350['length']-0x1;_0x264b5c>=0x0;_0x264b5c--){const {unitID:_0x4e9482,undoMutations:_0xf06b32,redoMutations:_0x488805}=_0x18f350[_0x264b5c],_0x504a72=this[_0x5d149d(0x373)]['transformMutationsWithChangeset'](_0x59b27a,_0xf06b32),_0x4cddc5=this[_0x5d149d(0x373)][_0x5d149d(0x233)](_0x1950f0,_0x488805);if(m[_0x5d149d(0x387)](_0x504a72)||m['isTransformMutationsWithChangesetFailure'](_0x4cddc5)){this[_0x5d149d(0x476)]['error'](_0x5d149d(0x1b1),_0x5d149d(0x21d),_0x504a72,_0x4cddc5);break;}_0x59b27a=_0x504a72['c1Prime'],_0x1950f0=_0x4cddc5[_0x5d149d(0x330)],_0x7e58c2[_0x5d149d(0x3a1)]({'unitID':_0x4e9482,'undoMutations':_0x504a72[_0x5d149d(0x26d)],'redoMutations':_0x4cddc5[_0x5d149d(0x26d)]});}return _0x7e58c2['reverse']();}},exports['CollaborativeUndoRedoService']=Zn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x473e97(0x2d7)]),de(0x2,a[_0x473e97(0x424)]),de(0x3,m[_0x473e97(0x15e)]),de(0x4,a[_0x473e97(0x3df)])],exports[_0x473e97(0x45b)]);var At=Object['defineProperty'],Qn=Object[_0x473e97(0x413)],er=(_0x55e8f4,_0x498f75,_0x236582)=>_0x498f75 in _0x55e8f4?At(_0x55e8f4,_0x498f75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x236582}):_0x55e8f4[_0x498f75]=_0x236582,tr=(_0x120414,_0xd7417d,_0x5cdbfa,_0x3c1d68)=>{for(var _0x53a477=_0x3c1d68>0x1?void 0x0:_0x3c1d68?Qn(_0xd7417d,_0x5cdbfa):_0xd7417d,_0x2a358b=_0x120414['length']-0x1,_0x5f3e07;_0x2a358b>=0x0;_0x2a358b--)(_0x5f3e07=_0x120414[_0x2a358b])&&(_0x53a477=(_0x3c1d68?_0x5f3e07(_0xd7417d,_0x5cdbfa,_0x53a477):_0x5f3e07(_0x53a477))||_0x53a477);return _0x3c1d68&&_0x53a477&&At(_0xd7417d,_0x5cdbfa,_0x53a477),_0x53a477;},je=(_0x48d6ee,_0x805fdf)=>(_0x2c2cd5,_0x56eceb)=>_0x805fdf(_0x2c2cd5,_0x56eceb,_0x48d6ee),ir=(_0x1456b7,_0x2b639a,_0x97b01f)=>er(_0x1456b7,_0x2b639a+'',_0x97b01f);const nr=_0x473e97(0x297);exports[_0x473e97(0x301)]=class extends a['Plugin']{constructor(_0x497ce0=Xt,_0x1887e6,_0x44dec8,_0x514985){var _0x160dea=_0x473e97;super(),this[_0x160dea(0x3d8)]=_0x497ce0,this[_0x160dea(0x476)]=_0x1887e6,this[_0x160dea(0x1cc)]=_0x44dec8,this[_0x160dea(0x485)]=_0x514985;const {..._0x419edf}=this['_config'];this[_0x160dea(0x485)][_0x160dea(0x2d5)](q,_0x419edf);}['onStarting'](){var _0x366f61=_0x473e97;this[_0x366f61(0x19f)](),this[_0x366f61(0x2c8)]();}[_0x473e97(0x19f)](){var _0x30a087=_0x473e97,_0x38ff9a,_0x302a38,_0x1d0f1a,_0x69db81;this['_injector']['has'](a[_0x30a087(0x40c)])&&this[_0x30a087(0x476)][_0x30a087(0x24f)]('[UniverCollaborationClientPlugin]',_0x30a087(0x1c1));const _0x1d0aae=a[_0x30a087(0x412)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x30a087(0x4aa)]],[exports[_0x30a087(0x435)]],[exports['SheetTransformSelectionsService']],[ye],[Pe],[Be],[Ne],[te],[exports[_0x30a087(0x3bd)]],[ke,{'useClass':(_0x302a38=(_0x38ff9a=this['_config'])==null?void 0x0:_0x38ff9a[_0x30a087(0x399)])!=null?_0x302a38:exports[_0x30a087(0x253)]}],[m[_0x30a087(0x38a)],{'useClass':exports[_0x30a087(0x2b9)]}],[a[_0x30a087(0x40d)],{'useClass':exports['AuthzIoHttpService']}],[X[_0x30a087(0x3f1)],{'useClass':exports[_0x30a087(0x437)]}],[a['IMentionIOService'],{'useClass':exports[_0x30a087(0x1d9)]}],[exports[_0x30a087(0x433)]],[$e]],(_0x1d0f1a=this[_0x30a087(0x3d8)])==null?void 0x0:_0x1d0f1a['override']);if(!((_0x69db81=this[_0x30a087(0x3d8)])!=null&&_0x69db81['enableSingleActiveInstanceLock'])){const _0x4f3544=_0x1d0aae[_0x30a087(0x38d)](([_0x35e610])=>_0x35e610===ve);_0x4f3544!==-0x1&&_0x1d0aae[_0x30a087(0x3dd)](_0x4f3544,0x1);}a['registerDependencies'](this[_0x30a087(0x1cc)],_0x1d0aae);}[_0x473e97(0x2c8)](){var _0xf7e64f=_0x473e97,_0x8e8fe0,_0x42f07b,_0x56fb8f;this[_0xf7e64f(0x1cc)][_0xf7e64f(0x3eb)](z['HTTPService'])[_0xf7e64f(0x41f)]({'priority':0x14,'interceptor':z[_0xf7e64f(0x150)]({'maxParallel':0x6})}),(_0x8e8fe0=this[_0xf7e64f(0x3d8)])!=null&&_0x8e8fe0['enableOfflineEditing']||(_0x42f07b=this[_0xf7e64f(0x1cc)][_0xf7e64f(0x3eb)](J,a[_0xf7e64f(0x25b)]['OPTIONAL']))==null||_0x42f07b[_0xf7e64f(0x3c4)](),(_0x56fb8f=this['_config'])!=null&&_0x56fb8f[_0xf7e64f(0x468)]&&a['touchDependencies'](this[_0xf7e64f(0x1cc)],[[ye]]),a[_0xf7e64f(0x158)](this[_0xf7e64f(0x1cc)],[[Pe],[exports[_0xf7e64f(0x433)]],[Ne]]);}},ir(exports[_0x473e97(0x301)],_0x473e97(0x22b),nr),exports[_0x473e97(0x301)]=tr([a[_0x473e97(0x47c)](m[_0x473e97(0x37a)],W[_0x473e97(0x1c2)],z[_0x473e97(0x453)]),je(0x1,a['ILogService']),je(0x2,a['Inject'](a[_0x473e97(0x319)])),je(0x3,a[_0x473e97(0x36a)])],exports[_0x473e97(0x301)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x473e97(0x214)]=q,exports[_0x473e97(0x490)]=It,exports[_0x473e97(0x4a0)]=ft,exports[_0x473e97(0x288)]=We,exports[_0x473e97(0x4c7)]=Q,exports[_0x473e97(0x4a6)]=te,exports[_0x473e97(0x3e0)]=Be,exports[_0x473e97(0x1b2)]=St,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Jt,exports[_0x473e97(0x3e1)]=pt,exports[_0x473e97(0x309)]=He,exports[_0x473e97(0x465)]=ke,exports['ILocalCacheService']=J,exports[_0x473e97(0x286)]=bt,exports[_0x473e97(0x3a4)]=ve,exports[_0x473e97(0x391)]=Kt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports[_0x473e97(0x173)]=Et,exports[_0x473e97(0x481)]=zt,exports[_0x473e97(0x23a)]=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x473e97(0x1f1)]=dt,exports[_0x473e97(0x2fc)]=vt,exports[_0x473e97(0x2e4)]=se,exports[_0x473e97(0x307)]=Fe,exports[_0x473e97(0x277)]=Rt,exports[_0x473e97(0x4bd)]=mi,exports[_0x473e97(0x305)]=Ot;
1
+ 'use strict';var _0x4cb87c=_0xbd70;(function(_0x347753,_0x57d793){var _0x19ac15=_0xbd70,_0x24029a=_0x347753();while(!![]){try{var _0x8224c5=parseInt(_0x19ac15(0x2bc))/0x1*(-parseInt(_0x19ac15(0x250))/0x2)+-parseInt(_0x19ac15(0x31d))/0x3+parseInt(_0x19ac15(0x234))/0x4+-parseInt(_0x19ac15(0x147))/0x5+parseInt(_0x19ac15(0x3f1))/0x6+-parseInt(_0x19ac15(0x245))/0x7+parseInt(_0x19ac15(0x3fb))/0x8;if(_0x8224c5===_0x57d793)break;else _0x24029a['push'](_0x24029a['shift']());}catch(_0x29f3a3){_0x24029a['push'](_0x24029a['shift']());}}}(_0x2ec3,0x86fd4));var Lt=Object[_0x4cb87c(0x190)],Mt=(_0x3de299,_0x157770,_0x5b5113)=>_0x157770 in _0x3de299?Lt(_0x3de299,_0x157770,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b5113}):_0x3de299[_0x157770]=_0x5b5113,D=(_0x442c7a,_0x2dd5d4,_0xb0d51b)=>Mt(_0x442c7a,typeof _0x2dd5d4!='symbol'?_0x2dd5d4+'':_0x2dd5d4,_0xb0d51b);Object[_0x4cb87c(0x190)](exports,Symbol[_0x4cb87c(0x35a)],{'value':'Module'});const a=require('@univerjs/core'),H=require(_0x4cb87c(0xe3)),V=require(_0x4cb87c(0x33b)),z=require('@univerjs/network'),m=require(_0x4cb87c(0x2c8)),xt=require(_0x4cb87c(0x312)),ut=require(_0x4cb87c(0x44b)),W=require(_0x4cb87c(0x151)),X=require(_0x4cb87c(0x455)),jt=require(_0x4cb87c(0x38a)),dt=_0x4cb87c(0x18d),$t=_0x4cb87c(0x290),vt='SNAPSHOT_URL_KEY',Ht=_0x4cb87c(0x131),kt=0x7d0,ft=_0x4cb87c(0x120),St=_0x4cb87c(0x43b),Bt=_0x4cb87c(0x29b),pt=_0x4cb87c(0x411),Ft=0x7530,He='HEARTBEAT_TIMEOUT',gt=0x4e20,Wt=0x4e20,mt=_0x4cb87c(0x1ee),Vt=0x3,Gt='LOCAL_CACHE_INTERVAL',Kt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Yt=_0x4cb87c(0xf7),Et='LOGIN_URL_KEY',qt=_0x4cb87c(0x3e5),zt=_0x4cb87c(0xeb),Jt=_0x4cb87c(0x1a7);var Ct=(_0x422a2c=>(_0x422a2c[_0x422a2c[_0x4cb87c(0x3d6)]=0x0]=_0x4cb87c(0x3d6),_0x422a2c[_0x422a2c['OK']=0x1]='OK',_0x422a2c[_0x422a2c[_0x4cb87c(0x154)]=0x2]=_0x4cb87c(0x154),_0x422a2c[_0x422a2c['PERMISSION_DENIED']=0x3]=_0x4cb87c(0x381),_0x422a2c[_0x422a2c[_0x4cb87c(0x1d6)]=0x4]='NOT_FOUND',_0x422a2c[_0x422a2c[_0x4cb87c(0x347)]=0x5]=_0x4cb87c(0x347),_0x422a2c[_0x422a2c[_0x4cb87c(0x15a)]=0x6]=_0x4cb87c(0x15a),_0x422a2c[_0x422a2c['INVALID_ARGUMENT']=0x7]=_0x4cb87c(0x39d),_0x422a2c[_0x422a2c[_0x4cb87c(0x27b)]=0x8]=_0x4cb87c(0x27b),_0x422a2c[_0x422a2c[_0x4cb87c(0x2e4)]=0x9]=_0x4cb87c(0x2e4),_0x422a2c[_0x422a2c[_0x4cb87c(0x189)]=0x1389]=_0x4cb87c(0x189),_0x422a2c[_0x422a2c[_0x4cb87c(0x155)]=0x1771]=_0x4cb87c(0x155),_0x422a2c[_0x422a2c[_0x4cb87c(0x3ac)]=0x1772]=_0x4cb87c(0x3ac),_0x422a2c[_0x422a2c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4cb87c(0xf8),_0x422a2c[_0x422a2c[_0x4cb87c(0x212)]=0x1b59]=_0x4cb87c(0x212),_0x422a2c[_0x422a2c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4cb87c(0x14c),_0x422a2c[_0x422a2c[_0x4cb87c(0x237)]=0x1b5b]=_0x4cb87c(0x237),_0x422a2c[_0x422a2c[_0x4cb87c(0x26e)]=0x1b5c]=_0x4cb87c(0x26e),_0x422a2c[_0x422a2c[_0x4cb87c(0x148)]=0x1b5d]='APPLY_DUPLICATED',_0x422a2c[_0x422a2c[_0x4cb87c(0x241)]=0x1f41]=_0x4cb87c(0x241),_0x422a2c[_0x422a2c[_0x4cb87c(0x3b3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x422a2c[_0x422a2c[_0x4cb87c(0x3c9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x422a2c[_0x422a2c[_0x4cb87c(0x32a)]=0x232b]=_0x4cb87c(0x32a),_0x422a2c[_0x422a2c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4cb87c(0x139),_0x422a2c[_0x422a2c[_0x4cb87c(0x2b3)]=0x232d]=_0x4cb87c(0x2b3),_0x422a2c[_0x422a2c[_0x4cb87c(0x255)]=0x2711]=_0x4cb87c(0x255),_0x422a2c[_0x422a2c[_0x4cb87c(0x3c3)]=0x2712]=_0x4cb87c(0x3c3),_0x422a2c[_0x422a2c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x422a2c[_0x422a2c[_0x4cb87c(0x41d)]=0x2714]=_0x4cb87c(0x41d),_0x422a2c[_0x422a2c['UNRECOGNIZED']=-0x1]=_0x4cb87c(0x392),_0x422a2c))(Ct||{}),Z=(_0x427eeb=>(_0x427eeb[_0x427eeb[_0x4cb87c(0x1e9)]=0x0]='UNIVER_UNKNOWN',_0x427eeb[_0x427eeb['UNIVER_DOC']=0x1]=_0x4cb87c(0x104),_0x427eeb[_0x427eeb[_0x4cb87c(0x403)]=0x2]=_0x4cb87c(0x403),_0x427eeb[_0x427eeb['UNIVER_SLIDE']=0x3]=_0x4cb87c(0x289),_0x427eeb[_0x427eeb['UNIVER_PROJECT']=0x4]=_0x4cb87c(0x152),_0x427eeb[_0x427eeb[_0x4cb87c(0x392)]=-0x1]=_0x4cb87c(0x392),_0x427eeb))(Z||{}),G=(_0x575e75=>(_0x575e75[_0x575e75[_0x4cb87c(0x1fa)]=0x0]=_0x4cb87c(0x1fa),_0x575e75[_0x575e75[_0x4cb87c(0x417)]=0x1]=_0x4cb87c(0x417),_0x575e75[_0x575e75[_0x4cb87c(0x436)]=0x2]=_0x4cb87c(0x436),_0x575e75[_0x575e75[_0x4cb87c(0x28c)]=0x3]=_0x4cb87c(0x28c),_0x575e75[_0x575e75[_0x4cb87c(0x268)]=0x4]=_0x4cb87c(0x268),_0x575e75[_0x575e75[_0x4cb87c(0x34d)]=0x5]=_0x4cb87c(0x34d),_0x575e75[_0x575e75['RECV']=0x6]=_0x4cb87c(0x40c),_0x575e75[_0x575e75[_0x4cb87c(0x392)]=-0x1]=_0x4cb87c(0x392),_0x575e75))(G||{}),he=(_0x47b547=>(_0x47b547[_0x47b547[_0x4cb87c(0x191)]=0x0]=_0x4cb87c(0x191),_0x47b547[_0x47b547['OK']=0x1]='OK',_0x47b547[_0x47b547[_0x4cb87c(0x359)]=0x2]=_0x4cb87c(0x359),_0x47b547[_0x47b547[_0x4cb87c(0x332)]=0x3e9]=_0x4cb87c(0x332),_0x47b547[_0x47b547[_0x4cb87c(0x228)]=0x3ea]=_0x4cb87c(0x228),_0x47b547[_0x47b547['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4cb87c(0x16e),_0x47b547[_0x47b547[_0x4cb87c(0x3a4)]=0x3ec]=_0x4cb87c(0x3a4),_0x47b547[_0x47b547[_0x4cb87c(0x392)]=-0x1]='UNRECOGNIZED',_0x47b547))(he||{}),Tt=(_0x4a9e7e=>(_0x4a9e7e[_0x4a9e7e[_0x4cb87c(0x282)]=0x0]=_0x4cb87c(0x282),_0x4a9e7e[_0x4a9e7e[_0x4cb87c(0x1d2)]=0x1]=_0x4cb87c(0x1d2),_0x4a9e7e[_0x4a9e7e[_0x4cb87c(0x1a4)]=0x2]=_0x4cb87c(0x1a4),_0x4a9e7e[_0x4a9e7e[_0x4cb87c(0x427)]=0x3]='UnitEmbedded',_0x4a9e7e[_0x4a9e7e[_0x4cb87c(0x300)]=0x4]=_0x4cb87c(0x300),_0x4a9e7e[_0x4a9e7e[_0x4cb87c(0x392)]=-0x1]=_0x4cb87c(0x392),_0x4a9e7e))(Tt||{});const q=_0x4cb87c(0x291),Xt={};var Q=(_0xedc7eb=>(_0xedc7eb[_0x4cb87c(0x2b6)]=_0x4cb87c(0x2b6),_0xedc7eb[_0x4cb87c(0x381)]='PERMISSION_DENIED',_0xedc7eb['CONFLICT']='CONFLICT',_0xedc7eb[_0x4cb87c(0x3c5)]=_0x4cb87c(0x3c5),_0xedc7eb[_0x4cb87c(0x391)]=_0x4cb87c(0x391),_0xedc7eb[_0x4cb87c(0x1b7)]=_0x4cb87c(0x1b7),_0xedc7eb[_0x4cb87c(0xee)]=_0x4cb87c(0xee),_0xedc7eb[_0x4cb87c(0x264)]=_0x4cb87c(0x264),_0xedc7eb))(Q||{});class te{constructor(){var _0x354665=_0x4cb87c;D(this,_0x354665(0x3aa),new H[(_0x354665(0x276))]()),D(this,_0x354665(0x173),this[_0x354665(0x3aa)]['asObservable']());}['emitEvent'](_0x2bc46a){var _0x505384=_0x4cb87c;this[_0x505384(0x3aa)][_0x505384(0x429)](_0x2bc46a);}}const bt=a[_0x4cb87c(0x169)](_0x4cb87c(0x355));function Rt(_0x517e17){var _0x8b962f=_0x4cb87c,_0x47c550,_0x5e2f75,_0x1ce47,_0x35eb02,_0x3db81f;const _0x146d00=_0x517e17['data'],_0x312764=JSON[_0x8b962f(0x26c)](_0x146d00);switch(_0x312764[_0x8b962f(0x168)]){case G[_0x8b962f(0x34d)]:case G[_0x8b962f(0x417)]:{const _0x376f1a=_0x312764[_0x8b962f(0x331)];return{..._0x312764,'data':_0x376f1a,'cmd':_0x312764['cmd']};}case G[_0x8b962f(0x436)]:{const _0x2825d2=_0x312764[_0x8b962f(0x372)];return{..._0x312764,'data':_0x2825d2,'cmd':_0x312764[_0x8b962f(0x168)]};}case G[_0x8b962f(0x40c)]:{const _0x21d84f=_0x312764[_0x8b962f(0x348)];switch(_0x21d84f['eventID']){case m[_0x8b962f(0x1b4)][_0x8b962f(0x1c8)]:return{..._0x312764,'data':{..._0x21d84f,'data':(_0x47c550=_0x21d84f['permissionRejEvent'])==null?void 0x0:_0x47c550['cs']},'cmd':_0x312764['cmd']};case m['CollaborationEvent'][_0x8b962f(0x158)]:return{..._0x312764,'data':{..._0x21d84f,'data':(_0x5e2f75=_0x21d84f['csAckEvent'])==null?void 0x0:_0x5e2f75['cs']},'cmd':_0x312764['cmd']};case m[_0x8b962f(0x1b4)]['NEW_CHANGESETS']:return{..._0x312764,'data':{..._0x21d84f,'data':(_0x1ce47=_0x21d84f['newCsEvent'])==null?void 0x0:_0x1ce47['cs']},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x325)]:return{..._0x312764,'data':{..._0x21d84f,'data':(_0x35eb02=_0x21d84f[_0x8b962f(0x27f)])==null?void 0x0:_0x35eb02['cs']},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x2da)]:return{..._0x312764,'data':{..._0x21d84f,'data':(_0x3db81f=_0x21d84f[_0x8b962f(0x383)])==null?void 0x0:_0x3db81f['cs']},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x26f)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f[_0x8b962f(0x13d)]},'cmd':_0x312764['cmd']};case m[_0x8b962f(0x1b4)][_0x8b962f(0x16c)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f[_0x8b962f(0x1a2)]},'cmd':_0x312764['cmd']};case m[_0x8b962f(0x1b4)][_0x8b962f(0x22c)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f[_0x8b962f(0x132)]},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x302)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f['liveShareNewHost']},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)]['LIVESHARE_FETCH_OPERATIONS']:case m['CollaborationEvent'][_0x8b962f(0x1ec)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f[_0x8b962f(0x1cb)]},'cmd':_0x312764[_0x8b962f(0x168)]};case m['CollaborationEvent'][_0x8b962f(0x356)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f[_0x8b962f(0x1ba)]},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x1c4)]:return{..._0x312764,'data':_0x21d84f,'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x2c7)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f['commentUpdateEvent']},'cmd':_0x312764[_0x8b962f(0x168)]};case m['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f[_0x8b962f(0x25c)]},'cmd':_0x312764[_0x8b962f(0x168)]};case m['CollaborationEvent'][_0x8b962f(0x12a)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f['shouldCloseConn']},'cmd':_0x312764[_0x8b962f(0x168)]};case m[_0x8b962f(0x1b4)][_0x8b962f(0x119)]:return{..._0x312764,'data':{..._0x21d84f,'data':_0x21d84f['uniscriptRunEvent']},'cmd':_0x312764[_0x8b962f(0x168)]};default:return _0x312764;}}default:return _0x312764;}}function Ot(_0x4b0482){var _0x2b3c87=_0x4cb87c;switch(_0x4b0482[_0x2b3c87(0x168)]){case G[_0x2b3c87(0x34d)]:case G[_0x2b3c87(0x417)]:return JSON['stringify']({'cmd':_0x4b0482[_0x2b3c87(0x168)],'routeKey':_0x4b0482[_0x2b3c87(0x292)]});case G[_0x2b3c87(0x268)]:{let _0x5503d0;switch(_0x4b0482[_0x2b3c87(0x3a5)][_0x2b3c87(0x218)]){case m[_0x2b3c87(0x1b4)][_0x2b3c87(0x26f)]:{_0x5503d0={'eventID':m[_0x2b3c87(0x1b4)][_0x2b3c87(0x26f)],'updateCursorEvent':_0x4b0482[_0x2b3c87(0x3a5)][_0x2b3c87(0x3a5)]};break;}case m['CollaborationEvent'][_0x2b3c87(0x22c)]:{_0x5503d0={'eventID':m[_0x2b3c87(0x1b4)]['USERS_LEAVE'],'leaveEvent':_0x4b0482[_0x2b3c87(0x3a5)][_0x2b3c87(0x3a5)]};break;}case m[_0x2b3c87(0x1b4)][_0x2b3c87(0x16c)]:{_0x5503d0={'eventID':m[_0x2b3c87(0x1b4)]['USERS_ENTER'],'joinEvent':_0x4b0482[_0x2b3c87(0x3a5)][_0x2b3c87(0x3a5)]};break;}case m['CollaborationEvent'][_0x2b3c87(0x302)]:{_0x5503d0={'eventID':m[_0x2b3c87(0x1b4)][_0x2b3c87(0x302)],'liveShareNewHost':_0x4b0482[_0x2b3c87(0x3a5)]['data']};break;}case m[_0x2b3c87(0x1b4)][_0x2b3c87(0x1ec)]:{_0x5503d0={'eventID':m[_0x2b3c87(0x1b4)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4b0482[_0x2b3c87(0x3a5)]['data']};break;}case m['CollaborationEvent'][_0x2b3c87(0x356)]:{_0x5503d0={'eventID':m[_0x2b3c87(0x1b4)][_0x2b3c87(0x356)],'liveShareTerminate':_0x4b0482['data'][_0x2b3c87(0x3a5)]};break;}case m[_0x2b3c87(0x1b4)][_0x2b3c87(0x1f6)]:{_0x5503d0={'eventID':m['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x4b0482[_0x2b3c87(0x3a5)]['data']};break;}case m['CollaborationEvent'][_0x2b3c87(0x34e)]:{_0x5503d0={'eventID':m['CollaborationEvent'][_0x2b3c87(0x34e)]};break;}default:_0x5503d0={'eventID':_0x4b0482[_0x2b3c87(0x3a5)][_0x2b3c87(0x218)]};}return JSON[_0x2b3c87(0x2ae)]({'cmd':_0x4b0482[_0x2b3c87(0x168)],'routeKey':_0x4b0482['routeKey'],'collaMsg':_0x5503d0});}case G[_0x2b3c87(0x436)]:return JSON[_0x2b3c87(0x2ae)]({'cmd':_0x4b0482['cmd'],'routeKey':_0x4b0482[_0x2b3c87(0x292)],'joinReq':_0x4b0482[_0x2b3c87(0x3a5)]});case G[_0x2b3c87(0x28c)]:return JSON[_0x2b3c87(0x2ae)]({'cmd':_0x4b0482[_0x2b3c87(0x168)],'routeKey':_0x4b0482['routeKey'],'leaveReq':_0x4b0482['data']});default:throw new Error(_0x2b3c87(0x261));}}var Zt=Object[_0x4cb87c(0x190)],Qt=Object[_0x4cb87c(0x2f9)],ei=(_0x3224db,_0x2e9ca0,_0x6abe61,_0x560999)=>{var _0x2f0139=_0x4cb87c;for(var _0x55e951=_0x560999>0x1?void 0x0:_0x560999?Qt(_0x2e9ca0,_0x6abe61):_0x2e9ca0,_0x2eebd0=_0x3224db[_0x2f0139(0x1c5)]-0x1,_0x554498;_0x2eebd0>=0x0;_0x2eebd0--)(_0x554498=_0x3224db[_0x2eebd0])&&(_0x55e951=(_0x560999?_0x554498(_0x2e9ca0,_0x6abe61,_0x55e951):_0x554498(_0x55e951))||_0x55e951);return _0x560999&&_0x55e951&&Zt(_0x2e9ca0,_0x6abe61,_0x55e951),_0x55e951;},ue=(_0x4cd0bf,_0x374ac8)=>(_0x3a7cfc,_0x4bee17)=>_0x374ac8(_0x3a7cfc,_0x4bee17,_0x4cd0bf);const ke=a[_0x4cb87c(0x169)](_0x4cb87c(0x1cd));function ti(_0x43e74e,_0x3cecea,_0x28ab36){var _0x35f01b=_0x4cb87c;return _0x43e74e+'/'+_0x3cecea+_0x35f01b(0x3c0)+_0x28ab36+'/new_changes';}exports[_0x4cb87c(0x22b)]=class extends a[_0x4cb87c(0x40a)]{constructor(_0x2ac01,_0x2b28d2,_0x50e48e,_0x391641,_0x1003af){var _0x3cfce6=_0x4cb87c;super(),this[_0x3cfce6(0x36a)]=_0x2ac01,this[_0x3cfce6(0x2fc)]=_0x2b28d2,this[_0x3cfce6(0x1c1)]=_0x50e48e,this[_0x3cfce6(0x3e8)]=_0x391641,this[_0x3cfce6(0x1c6)]=_0x1003af;}[_0x4cb87c(0x3e6)](_0x13aabb){var _0x214a39=_0x4cb87c;const _0x98e34e=this[_0x214a39(0x36a)][_0x214a39(0x2cf)](z[_0x214a39(0x23f)]);if(!_0x98e34e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x17db7c=_0x98e34e['createSocket'](_0x13aabb);if(!_0x17db7c)throw new Error(_0x214a39(0x11f));const _0x201f67=new a[(_0x214a39(0x2d9))](),_0x45bdfc=new H[(_0x214a39(0x276))]();_0x201f67[_0x214a39(0x409)](_0x17db7c[_0x214a39(0x123)]['subscribe'](_0x4f2a28=>_0x45bdfc[_0x214a39(0x429)](_0x4f2a28))),_0x201f67[_0x214a39(0x409)](a[_0x214a39(0x35c)](()=>_0x45bdfc[_0x214a39(0x3cd)]()));const _0x420cc0=new H[(_0x214a39(0x276))]();_0x201f67[_0x214a39(0x409)](_0x17db7c[_0x214a39(0x378)][_0x214a39(0x2a5)](_0x17a7a3=>_0x420cc0[_0x214a39(0x429)](_0x17a7a3))),_0x201f67['add'](a[_0x214a39(0x35c)](()=>_0x420cc0[_0x214a39(0x3cd)]()));const _0x209dfe=new H[(_0x214a39(0x276))]();_0x201f67['add'](_0x17db7c['message$'][_0x214a39(0x2a5)](_0x33c7d9=>{var _0x5bb744=_0x214a39;const _0x17a85a=Rt(_0x33c7d9);_0x209dfe[_0x5bb744(0x429)](_0x17a85a);})),_0x201f67[_0x214a39(0x409)](a['toDisposable'](()=>_0x209dfe['complete']()));let _0x418070;const _0x317eb6=()=>{var _0x311056=_0x214a39;_0x420cc0[_0x311056(0x429)](new Event(_0x311056(0x24f))),_0x45bdfc['next'](new CloseEvent(_0x311056(0x24f))),_0x418070[_0x311056(0x238)]();};return _0x418070={'memberID':'','close$':_0x45bdfc[_0x214a39(0x447)](),'error$':_0x420cc0[_0x214a39(0x447)](),'open$':_0x17db7c[_0x214a39(0x31c)],'message$':_0x209dfe[_0x214a39(0x447)](),'send':_0x38a2c0=>{var _0x1ca3f8=_0x214a39;if(_0x38a2c0['cmd']===G[_0x1ca3f8(0x268)]){if(_0x38a2c0[_0x1ca3f8(0x3a5)][_0x1ca3f8(0x218)]===m[_0x1ca3f8(0x1b4)][_0x1ca3f8(0x44f)]){this[_0x1ca3f8(0x3d7)](_0x418070,_0x38a2c0[_0x1ca3f8(0x3a5)])[_0x1ca3f8(0x10a)](_0x2c8731=>{var _0x3df4a9=_0x1ca3f8;this[_0x3df4a9(0x3e8)][_0x3df4a9(0x3f3)](_0x2c8731),_0x317eb6();});return;}if(_0x38a2c0[_0x1ca3f8(0x3a5)]['eventID']===m[_0x1ca3f8(0x1b4)][_0x1ca3f8(0x3c2)]){const _0xdca63=_0x38a2c0[_0x1ca3f8(0x3a5)];this['_fetchMissChangesets'](_0xdca63)[_0x1ca3f8(0x32d)](_0x594bad=>{var _0x265b95=_0x1ca3f8;_0x209dfe[_0x265b95(0x429)]({'cmd':G[_0x265b95(0x40c)],'code':he['OK'],'routeKey':_0xdca63[_0x265b95(0x3a5)][_0x265b95(0x167)],'routeType':'','data':{'eventID':m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x594bad}}});})[_0x1ca3f8(0x10a)](_0x497f57=>{var _0x18fcb5=_0x1ca3f8;this[_0x18fcb5(0x3e8)][_0x18fcb5(0x3f3)](_0x497f57),_0x317eb6();});return;}}_0x17db7c[_0x1ca3f8(0xf0)](Ot(_0x38a2c0));},'close':()=>{var _0x254f3f=_0x214a39;_0x17db7c[_0x254f3f(0x238)](),_0x201f67[_0x254f3f(0x438)]();}},_0x418070;}async[_0x4cb87c(0x3d7)](_0x4a804d,_0x36f0f3){var _0x1582d9=_0x4cb87c,_0x28fd85,_0x212666;const {unitType:_0x30f725,unitID:_0x1e8cf3,changeset:_0x5680d8}=_0x36f0f3['data'],_0x2f008c={'unitID':_0x1e8cf3,'memberID':_0x4a804d[_0x1582d9(0x1d9)],'type':_0x30f725,'changeset':m['parseChangesetToProtocol'](_0x5680d8)},_0x32bb49=this[_0x1582d9(0x1c1)]['getConfig'](It),_0x11ac13=this['_configService'][_0x1582d9(0x301)](q),_0x4c7c4b=ti((_0x212666=(_0x28fd85=_0x11ac13==null?void 0x0:_0x11ac13[_0x1582d9(0x254)])!=null?_0x28fd85:_0x32bb49)!=null?_0x212666:Yt,_0x30f725,_0x1e8cf3);try{await this[_0x1582d9(0x2fc)][_0x1582d9(0x1cf)](_0x4c7c4b,{'body':_0x2f008c});}catch(_0x442407){throw this[_0x1582d9(0x3e8)][_0x1582d9(0x3f3)](_0x1582d9(0x43f),_0x1582d9(0x2c4)),_0x442407;}}async['_fetchMissChangesets'](_0x1c76e2){var _0x288871=_0x4cb87c;const {unitID:_0xe9cfad,from:_0x3f20d6,to:_0x5f482e,unitType:_0x669b19}=_0x1c76e2[_0x288871(0x3a5)];return(await this[_0x288871(0x1c6)][_0x288871(0x253)]({'metadata':void 0x0},{'unitID':_0xe9cfad,'type':_0x669b19,'from':_0x3f20d6,'to':_0x5f482e}))[_0x288871(0xd7)];}},exports[_0x4cb87c(0x22b)]=ei([ue(0x0,a['Inject'](a[_0x4cb87c(0x45d)])),ue(0x1,a[_0x4cb87c(0x121)](z[_0x4cb87c(0x396)])),ue(0x2,a[_0x4cb87c(0xfe)]),ue(0x3,a[_0x4cb87c(0x1e6)]),ue(0x4,m[_0x4cb87c(0x3c7)])],exports[_0x4cb87c(0x22b)]);const ii='collaboration_new_changeset';function ni(_0x378b29){var _0x1c6f25=_0x4cb87c;return JSON[_0x1c6f25(0x2ae)](_0x378b29)[_0x1c6f25(0x1c5)];}class Be{constructor(){var _0x3ea4bd=_0x4cb87c;D(this,_0x3ea4bd(0x43a),new H[(_0x3ea4bd(0x276))]()),D(this,_0x3ea4bd(0x43e),this[_0x3ea4bd(0x43a)][_0x3ea4bd(0x447)]());}[_0x4cb87c(0x11b)](_0x4141ea){var _0x285991=_0x4cb87c;this['_commentUpdate$'][_0x285991(0x429)](_0x4141ea);}}var ri=Object['defineProperty'],si=Object[_0x4cb87c(0x2f9)],oi=(_0x440b42,_0x3f5a6f,_0xff981b,_0x2acba8)=>{var _0xc6fe7=_0x4cb87c;for(var _0x19fe30=_0x2acba8>0x1?void 0x0:_0x2acba8?si(_0x3f5a6f,_0xff981b):_0x3f5a6f,_0x223ff7=_0x440b42[_0xc6fe7(0x1c5)]-0x1,_0x369fee;_0x223ff7>=0x0;_0x223ff7--)(_0x369fee=_0x440b42[_0x223ff7])&&(_0x19fe30=(_0x2acba8?_0x369fee(_0x3f5a6f,_0xff981b,_0x19fe30):_0x369fee(_0x19fe30))||_0x19fe30);return _0x2acba8&&_0x19fe30&&ri(_0x3f5a6f,_0xff981b,_0x19fe30),_0x19fe30;},Ke=(_0x25ec10,_0x4c2f1f)=>(_0x16e6da,_0x308012)=>_0x4c2f1f(_0x16e6da,_0x308012,_0x25ec10);exports[_0x4cb87c(0x232)]=class extends a[_0x4cb87c(0x40a)]{constructor(_0x2114e4,_0x45d54b){var _0x7fd63f=_0x4cb87c;super(),D(this,_0x7fd63f(0x321),new Map()),D(this,_0x7fd63f(0x215),new H['Subject']()),(this[_0x7fd63f(0x2f2)]=_0x2114e4,this[_0x7fd63f(0x323)]=_0x45d54b,this[_0x7fd63f(0x384)](H[_0x7fd63f(0x454)](this[_0x7fd63f(0x2f2)]['getTypeOfUnitDisposed$'](a[_0x7fd63f(0x23d)]['UNIVER_SHEET'])[_0x7fd63f(0x180)](V[_0x7fd63f(0x3f6)](_0x545414=>_0x545414[_0x7fd63f(0x18f)]())),this[_0x7fd63f(0x2f2)][_0x7fd63f(0x23a)](a[_0x7fd63f(0x23d)][_0x7fd63f(0x104)])['pipe'](V[_0x7fd63f(0x3f6)](_0x556d43=>_0x556d43[_0x7fd63f(0x18f)]())),this[_0x7fd63f(0x2f2)][_0x7fd63f(0x23a)](a[_0x7fd63f(0x23d)][_0x7fd63f(0x289)])[_0x7fd63f(0x180)](V[_0x7fd63f(0x3f6)](_0x5afeed=>_0x5afeed[_0x7fd63f(0x18f)]())))[_0x7fd63f(0x2a5)](_0x13092c=>this[_0x7fd63f(0x277)](_0x13092c))));}[_0x4cb87c(0x153)](_0x3d9e0b){var _0x31ddda=_0x4cb87c;return this['_roomMembers'][_0x31ddda(0x20f)](_0x3d9e0b)?H['of'](this[_0x31ddda(0x321)][_0x31ddda(0x2cf)](_0x3d9e0b)):this['_roomCreated$'][_0x31ddda(0x180)](V[_0x31ddda(0x3f6)](_0x199d0f=>{var _0x343624=_0x31ddda;if(_0x199d0f===_0x3d9e0b)return this[_0x343624(0x321)][_0x343624(0x2cf)](_0x199d0f);}));}[_0x4cb87c(0x16a)](_0x136344){var _0x3036ec=_0x4cb87c;this[_0x3036ec(0x323)][_0x3036ec(0x16a)](_0x136344);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x4cb87c(0x2f3)](_0x4ab859,_0x45c8c0){var _0x1f9279=_0x4cb87c;let _0x38933f=this['_roomMembers'][_0x1f9279(0x2cf)](_0x4ab859);_0x38933f||(_0x38933f=new ai(),this[_0x1f9279(0x321)][_0x1f9279(0x196)](_0x4ab859,_0x38933f),this[_0x1f9279(0x215)][_0x1f9279(0x429)](_0x4ab859)),_0x38933f[_0x1f9279(0x2f3)](_0x45c8c0);}[_0x4cb87c(0x142)](_0x10a0bb,_0x5dc827){var _0x3104d8=_0x4cb87c;const _0x423776=this[_0x3104d8(0x321)][_0x3104d8(0x2cf)](_0x10a0bb);_0x423776&&_0x423776[_0x3104d8(0x142)](_0x5dc827);}[_0x4cb87c(0x36b)](_0x468dfd){var _0x4d923a=_0x4cb87c;return this[_0x4d923a(0x321)][_0x4d923a(0x2cf)](_0x468dfd);}[_0x4cb87c(0x305)](_0x2e8030,_0x4160ca){var _0x477a04=_0x4cb87c;const _0x4d10bd=this[_0x477a04(0x321)]['get'](_0x2e8030);if(_0x4d10bd)return _0x4d10bd[_0x477a04(0x305)](_0x4160ca);}['_removeRoom'](_0xb4a05a){var _0x164c6d=_0x4cb87c;const _0x43b389=this[_0x164c6d(0x321)][_0x164c6d(0x2cf)](_0xb4a05a);_0x43b389&&(_0x43b389['dispose'](),this[_0x164c6d(0x321)]['delete'](_0xb4a05a));}[_0x4cb87c(0x438)](){var _0x2415fd=_0x4cb87c;this[_0x2415fd(0x321)]['forEach'](_0x44073a=>_0x44073a[_0x2415fd(0x438)]()),this[_0x2415fd(0x321)][_0x2415fd(0x12c)](),this[_0x2415fd(0x215)][_0x2415fd(0x3cd)]();}},exports[_0x4cb87c(0x232)]=oi([Ke(0x0,a[_0x4cb87c(0x37b)]),Ke(0x1,a['Inject'](a[_0x4cb87c(0x456)]))],exports['MemberService']);class ai extends a[_0x4cb87c(0x40a)]{constructor(){var _0x17f36c=_0x4cb87c;super(...arguments),D(this,_0x17f36c(0x178),new Map()),D(this,_0x17f36c(0x3df),new H[(_0x17f36c(0x24c))](this[_0x17f36c(0x178)])),D(this,_0x17f36c(0x30b),this[_0x17f36c(0x3df)]['asObservable']());}[_0x4cb87c(0x438)](){var _0x3d76fb=_0x4cb87c;this[_0x3d76fb(0x178)]['clear']();}[_0x4cb87c(0x2f3)](_0x4911b3){var _0x59c01c=_0x4cb87c;this[_0x59c01c(0x178)]['set'](_0x4911b3[_0x59c01c(0x1d9)],_0x4911b3),this[_0x59c01c(0x432)]();}[_0x4cb87c(0x142)](_0x5d22c3){var _0x802114=_0x4cb87c;this[_0x802114(0x178)][_0x802114(0x217)](_0x5d22c3);}[_0x4cb87c(0x305)](_0x7e9480){var _0x3d47a5=_0x4cb87c;return this[_0x3d47a5(0x178)][_0x3d47a5(0x2cf)](_0x7e9480);}[_0x4cb87c(0x150)](){var _0x29cd69=_0x4cb87c;return Array[_0x29cd69(0x3de)](this['_members'][_0x29cd69(0x187)]());}[_0x4cb87c(0x432)](){var _0x4dd549=_0x4cb87c;this[_0x4dd549(0x3df)][_0x4dd549(0x429)](this[_0x4dd549(0x178)]);}}var ci=Object[_0x4cb87c(0x190)],hi=Object[_0x4cb87c(0x2f9)],li=(_0x8367b1,_0x361bd8,_0x3dd049,_0x292709)=>{var _0x4522e0=_0x4cb87c;for(var _0x2b8c2e=_0x292709>0x1?void 0x0:_0x292709?hi(_0x361bd8,_0x3dd049):_0x361bd8,_0x19dd00=_0x8367b1[_0x4522e0(0x1c5)]-0x1,_0x14e682;_0x19dd00>=0x0;_0x19dd00--)(_0x14e682=_0x8367b1[_0x19dd00])&&(_0x2b8c2e=(_0x292709?_0x14e682(_0x361bd8,_0x3dd049,_0x2b8c2e):_0x14e682(_0x2b8c2e))||_0x2b8c2e);return _0x292709&&_0x2b8c2e&&ci(_0x361bd8,_0x3dd049,_0x2b8c2e),_0x2b8c2e;},oe=(_0x20c115,_0x326d7f)=>(_0x249560,_0x27190f)=>_0x326d7f(_0x249560,_0x27190f,_0x20c115),se=(_0x3eae28=>(_0x3eae28[_0x3eae28[_0x4cb87c(0x2fd)]=0x0]='IDLE',_0x3eae28[_0x3eae28[_0x4cb87c(0x192)]=0x1]=_0x4cb87c(0x192),_0x3eae28[_0x3eae28[_0x4cb87c(0x116)]=0x2]=_0x4cb87c(0x116),_0x3eae28[_0x3eae28[_0x4cb87c(0x1d1)]=0x3]=_0x4cb87c(0x1d1),_0x3eae28))(se||{});const Ye={[he[_0x4cb87c(0x359)]]:_0x4cb87c(0x364),[he[_0x4cb87c(0x332)]]:_0x4cb87c(0x3c6),[he[_0x4cb87c(0x228)]]:'session.room-not-exists',[he[_0x4cb87c(0x16e)]]:_0x4cb87c(0x1ff),[he[_0x4cb87c(0x3a4)]]:'session.room-cnt-exceeds'};exports[_0x4cb87c(0x296)]=class extends a[_0x4cb87c(0x379)]{constructor(_0x599ca2,_0x6ddf22,_0x1fef6b,_0x1eb22b,_0x4f4c3d,_0x3fd5da,_0x274358,_0x214a42,_0x4f993d){var _0x5d134c=_0x4cb87c;super(),D(this,'_sessionStatus$',new H[(_0x5d134c(0x24c))](0x0)),D(this,_0x5d134c(0x2b2),this['_sessionStatus$'][_0x5d134c(0x447)]()),D(this,'_event$',new H[(_0x5d134c(0x276))]()),D(this,_0x5d134c(0x173),this[_0x5d134c(0x3aa)]['asObservable']()),D(this,'_socket'),D(this,_0x5d134c(0x308)),D(this,_0x5d134c(0x13a)),D(this,_0x5d134c(0x33a),!0x1),D(this,_0x5d134c(0x110),null),(this['_unitID']=_0x599ca2,this['_logService']=_0x1fef6b,this[_0x5d134c(0x1c1)]=_0x1eb22b,this['_localeService']=_0x4f4c3d,this[_0x5d134c(0x362)]=_0x3fd5da,this['_commentService']=_0x274358,this[_0x5d134c(0x11d)]=_0x214a42,this['_telemetryService']=_0x4f993d,this[_0x5d134c(0x33a)]=!!this[_0x5d134c(0x307)],_0x6ddf22[_0x5d134c(0x180)](H[_0x5d134c(0x30e)](this[_0x5d134c(0x267)]))['subscribe'](_0x4231da=>{var _0x1dd48b=_0x5d134c,_0x11e4c9;typeof _0x4231da>'u'||(this[_0x1dd48b(0x2f6)]=_0x4231da,_0x4231da?(this[_0x1dd48b(0x36f)](_0x4231da),this[_0x1dd48b(0x308)]=_0x4231da[_0x1dd48b(0x166)]['subscribe'](_0x5d070=>{var _0x591cc5=_0x1dd48b;_0x5d070[_0x591cc5(0x292)]===this[_0x591cc5(0x17b)]&&this[_0x591cc5(0x176)](_0x5d070);})):(this[_0x1dd48b(0x3d1)](),this[_0x1dd48b(0x2d2)][_0x1dd48b(0x429)](0x2),(_0x11e4c9=this[_0x1dd48b(0x308)])==null||_0x11e4c9[_0x1dd48b(0x247)](),this[_0x1dd48b(0x308)]=null));}));}get[_0x4cb87c(0x2ab)](){var _0x94739d=_0x4cb87c;return this[_0x94739d(0x2d2)][_0x94739d(0x405)]();}[_0x4cb87c(0x11c)](){var _0x102051=_0x4cb87c,_0x507919,_0xc4f9b6;return(_0xc4f9b6=(_0x507919=this[_0x102051(0x2f6)])==null?void 0x0:_0x507919[_0x102051(0x1d9)])!=null?_0xc4f9b6:null;}[_0x4cb87c(0x438)](){var _0x217685=_0x4cb87c;super['dispose'](),this['dispose$'][_0x217685(0x429)](),this['dispose$'][_0x217685(0x3cd)]();}[_0x4cb87c(0x238)](){var _0x106354=_0x4cb87c,_0x34ce1b,_0x48f2fa;this[_0x106354(0x3d1)](),(_0x34ce1b=this['_socket'])==null||_0x34ce1b['send']({'cmd':G[_0x106354(0x28c)],'data':{'roomID':this[_0x106354(0x17b)]}}),(_0x48f2fa=this['_socket'])==null||_0x48f2fa[_0x106354(0x238)](),this[_0x106354(0x3aa)][_0x106354(0x3cd)](),this[_0x106354(0x2d2)]['complete'](),this[_0x106354(0x438)]();}['_onCombEvent'](_0x1133e9){var _0x3099b0=_0x4cb87c;_0x1133e9[_0x3099b0(0x168)]===G[_0x3099b0(0x436)]?this[_0x3099b0(0xf2)](_0x1133e9):_0x1133e9['cmd']===G['RECV']&&this[_0x3099b0(0x1b1)](_0x1133e9);}['_joinRoom'](_0x1464aa){var _0x3f4734=_0x4cb87c;this['_sessionStatus$'][_0x3f4734(0x429)](0x1),_0x1464aa[_0x3f4734(0xf0)]({'cmd':G[_0x3f4734(0x436)],'routeKey':this[_0x3f4734(0x17b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f4734(0x17b)]}]}});}[_0x4cb87c(0xf2)](_0x1e44c5){var _0x57c891=_0x4cb87c,_0x10c63e;if(_0x1e44c5['code']in Ye){this[_0x57c891(0x11d)][_0x57c891(0x2fe)]({'id':Q[_0x57c891(0x391)],'data':Ye[_0x1e44c5[_0x57c891(0x1ae)]]}),this[_0x57c891(0x2d2)][_0x57c891(0x429)](0x2);return;}this[_0x57c891(0x2d2)][_0x57c891(0x429)](0x3);const _0x5952d7=(_0x10c63e=_0x1e44c5[_0x57c891(0x3a5)][_0x57c891(0x39c)][this[_0x57c891(0x17b)]])==null?void 0x0:_0x10c63e[_0x57c891(0x2fa)];_0x5952d7&&_0x5952d7[_0x57c891(0x1bf)](_0x48ae40=>this[_0x57c891(0x362)][_0x57c891(0x2f3)](this[_0x57c891(0x17b)],_0x48ae40));}['_onRecvEvent'](_0x5949cb){var _0x41b58d=_0x4cb87c;try{const _0x25494d=_0x5949cb['data'];switch(_0x25494d[_0x41b58d(0x218)]){case m[_0x41b58d(0x1b4)]['USERS_ENTER']:this[_0x41b58d(0x12d)](_0x25494d),this[_0x41b58d(0x3aa)][_0x41b58d(0x429)](_0x25494d);break;case m[_0x41b58d(0x1b4)][_0x41b58d(0x22c)]:this[_0x41b58d(0x1dc)](_0x25494d),this[_0x41b58d(0x3aa)][_0x41b58d(0x429)](_0x25494d);break;case m[_0x41b58d(0x1b4)][_0x41b58d(0x158)]:case m['CollaborationEvent'][_0x41b58d(0x2da)]:this[_0x41b58d(0x164)](),this[_0x41b58d(0x201)](),this['_event$'][_0x41b58d(0x429)](_0x25494d);break;case m[_0x41b58d(0x1b4)][_0x41b58d(0x1c4)]:this[_0x41b58d(0x3e8)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x41b58d(0x2ae)](_0x25494d)),this['_event$'][_0x41b58d(0x429)](_0x25494d);break;case m[_0x41b58d(0x1b4)][_0x41b58d(0x2c7)]:this[_0x41b58d(0x200)][_0x41b58d(0x11b)](_0x25494d[_0x41b58d(0x3a5)]),this[_0x41b58d(0x3aa)][_0x41b58d(0x429)](_0x25494d);break;default:this['_event$'][_0x41b58d(0x429)](_0x25494d);}}catch(_0x2cf222){this[_0x41b58d(0x3e8)]['error'](_0x2cf222,_0x5949cb);}}[_0x4cb87c(0x12d)](_0xf265a0){var _0xf5208a=_0x4cb87c;this[_0xf5208a(0x362)]['updateMember'](this[_0xf5208a(0x17b)],_0xf265a0[_0xf5208a(0x3a5)]);}[_0x4cb87c(0x1dc)](_0x4d1df6){var _0x10b1b8=_0x4cb87c;this[_0x10b1b8(0x362)][_0x10b1b8(0x142)](this[_0x10b1b8(0x17b)],_0x4d1df6['data'][_0x10b1b8(0x1d9)]);}async[_0x4cb87c(0xf0)](_0x28a97c,_0x3da81b){var _0x331ef0=_0x4cb87c;if(this['sessionStatus']!==0x3||!this[_0x331ef0(0x2f6)])throw new Error(_0x331ef0(0x246));try{_0x28a97c[_0x331ef0(0x218)]===m['CollaborationEvent'][_0x331ef0(0x44f)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x331ef0(0x3d2)](_0x28a97c)),this[_0x331ef0(0x2f6)][_0x331ef0(0xf0)]({'cmd':G[_0x331ef0(0x268)],'routeKey':_0x3da81b,'routeType':'','data':_0x28a97c});}catch(_0x234861){this[_0x331ef0(0x3e8)][_0x331ef0(0x3f3)](_0x234861);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2bbb41=_0x4cb87c,_0x3543f9;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4efcc3=_0xbd70;this[_0x4efcc3(0x13a)]=null,this[_0x4efcc3(0x11d)]['emitEvent']({'id':Q[_0x4efcc3(0x264)]});},(_0x3543f9=this[_0x2bbb41(0x1c1)]['getConfig'](He))!=null?_0x3543f9:gt);}['_clearCollaborationTimeoutTimer'](){var _0x50bf9c=_0x4cb87c;this[_0x50bf9c(0x13a)]&&(clearTimeout(this[_0x50bf9c(0x13a)]),this['_collaborationTimeoutTimer']=null);}[_0x4cb87c(0x3d2)](_0x34aef7){var _0x555d33=_0x4cb87c;if(!this[_0x555d33(0x33a)])return;const {data:_0x378029}=_0x34aef7,{unitID:_0x4e6d85,changeset:_0x13ab1d}=_0x378029,{mutations:_0x154887,type:_0x3ab5cc}=_0x13ab1d;this[_0x555d33(0x110)]={'unitId':_0x4e6d85,'type':_0x3ab5cc,'startTime':performance[_0x555d33(0x2aa)](),'stopTime':0x0,'duration':0x0,'size':ni(_0x154887)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x538dcf=_0x4cb87c;if(this[_0x538dcf(0x33a)]){if(!this[_0x538dcf(0x110)]){this[_0x538dcf(0x3e8)]['error']('[CollaborationSession]',_0x538dcf(0x162));return;}this[_0x538dcf(0x110)][_0x538dcf(0x117)]=performance[_0x538dcf(0x2aa)](),this['_telemetryInfo'][_0x538dcf(0x341)]=this['_telemetryInfo'][_0x538dcf(0x117)]-this[_0x538dcf(0x110)][_0x538dcf(0x2d6)],this[_0x538dcf(0x307)][_0x538dcf(0x299)](ii,this[_0x538dcf(0x110)]),this[_0x538dcf(0x110)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=li([oe(0x2,a[_0x4cb87c(0x1e6)]),oe(0x3,a[_0x4cb87c(0xfe)]),oe(0x4,a[_0x4cb87c(0x121)](a['LocaleService'])),oe(0x5,a[_0x4cb87c(0x121)](exports[_0x4cb87c(0x232)])),oe(0x6,a[_0x4cb87c(0x121)](Be)),oe(0x7,a[_0x4cb87c(0x121)](te)),oe(0x8,a[_0x4cb87c(0x43c)](xt['ITelemetryService']))],exports[_0x4cb87c(0x296)]);var _i=Object[_0x4cb87c(0x190)],ui=Object[_0x4cb87c(0x2f9)],di=(_0x266912,_0x81c251,_0x51b4b2,_0x11604a)=>{var _0x44cc5=_0x4cb87c;for(var _0x2ebb1f=_0x11604a>0x1?void 0x0:_0x11604a?ui(_0x81c251,_0x51b4b2):_0x81c251,_0x154e07=_0x266912[_0x44cc5(0x1c5)]-0x1,_0x5c7fb0;_0x154e07>=0x0;_0x154e07--)(_0x5c7fb0=_0x266912[_0x154e07])&&(_0x2ebb1f=(_0x11604a?_0x5c7fb0(_0x81c251,_0x51b4b2,_0x2ebb1f):_0x5c7fb0(_0x2ebb1f))||_0x2ebb1f);return _0x11604a&&_0x2ebb1f&&_i(_0x81c251,_0x51b4b2,_0x2ebb1f),_0x2ebb1f;},ae=(_0x43c306,_0x162149)=>(_0x2c5bff,_0xa63028)=>_0x162149(_0x2c5bff,_0xa63028,_0x43c306);exports['CollaborationSessionService']=class extends a[_0x4cb87c(0x40a)]{constructor(_0x574a78,_0x38dbaf,_0x4e0ad7,_0x55a8f8,_0x1528e7,_0x3a7c43,_0x102d1f){var _0x19684e=_0x4cb87c;super(),D(this,_0x19684e(0x35f),new H['BehaviorSubject'](void 0x0)),D(this,'socket$',this['_socket$']['asObservable']()),D(this,'_candidateSocket',null),D(this,'_sessions',new Map()),D(this,_0x19684e(0x27a),new H['BehaviorSubject'](se[_0x19684e(0x2fd)])),D(this,_0x19684e(0x437),this[_0x19684e(0x27a)][_0x19684e(0x447)]()),D(this,_0x19684e(0x1f4),!0x1),D(this,_0x19684e(0x41b)),D(this,'_retryCount',0x0),D(this,_0x19684e(0x1b9)),D(this,_0x19684e(0x410)),(this[_0x19684e(0x36a)]=_0x574a78,this[_0x19684e(0x3e8)]=_0x38dbaf,this[_0x19684e(0x1c1)]=_0x4e0ad7,this[_0x19684e(0x363)]=_0x55a8f8,this[_0x19684e(0x39f)]=_0x1528e7,this['_collaborationUIEventService']=_0x3a7c43,this[_0x19684e(0x33f)]=_0x102d1f,this[_0x19684e(0x21b)]());}get[_0x4cb87c(0x2f6)](){var _0x1e8e22=_0x4cb87c;return this[_0x1e8e22(0x35f)][_0x1e8e22(0x405)]();}[_0x4cb87c(0x21b)](){var _0x3f2e4e=_0x4cb87c;this[_0x3f2e4e(0x33f)]&&this[_0x3f2e4e(0x384)](this[_0x3f2e4e(0x33f)][_0x3f2e4e(0x44d)][_0x3f2e4e(0x2a5)](_0x3f4c04=>{var _0x4560fb=_0x3f2e4e;_0x3f4c04&&!this[_0x4560fb(0x2f6)]&&this[_0x4560fb(0x19e)](),_0x3f4c04||this[_0x4560fb(0x22d)]();}));}[_0x4cb87c(0x438)](){var _0x15927a=_0x4cb87c;super[_0x15927a(0x438)](),this[_0x15927a(0x2a8)][_0x15927a(0x1bf)](_0x2a2414=>_0x2a2414['dispose']()),this['_sessions']['clear'](),this[_0x15927a(0x27a)]['complete']();}async[_0x4cb87c(0x21c)](_0x43816e){var _0x463a46=_0x4cb87c;if(this[_0x463a46(0x2a8)][_0x463a46(0x20f)](_0x43816e))return this[_0x463a46(0x2a8)][_0x463a46(0x2cf)](_0x43816e);this[_0x463a46(0x174)]();const _0x558623=this[_0x463a46(0x36a)][_0x463a46(0x329)](exports[_0x463a46(0x296)],_0x43816e,this[_0x463a46(0x35f)][_0x463a46(0x447)]());return this['_sessions'][_0x463a46(0x196)](_0x43816e,_0x558623),_0x558623;}[_0x4cb87c(0x3b1)](_0x38c266){var _0x4160e5=_0x4cb87c,_0x26f6ac;const _0x2142ad=this['_sessions'][_0x4160e5(0x2cf)](_0x38c266);_0x2142ad&&(this[_0x4160e5(0x2a8)][_0x4160e5(0x217)](_0x38c266),_0x2142ad[_0x4160e5(0x238)]()),this[_0x4160e5(0x2a8)][_0x4160e5(0x13b)]||(_0x26f6ac=this[_0x4160e5(0x2f6)])==null||_0x26f6ac['close']();}[_0x4cb87c(0x19e)](){var _0x46f524=_0x4cb87c;this[_0x46f524(0x34b)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x46f524(0x41b)]),this[_0x46f524(0x41b)]=null),this[_0x46f524(0x1a8)]();}async['_getSessionTicket'](){var _0x3a2570=_0x4cb87c,_0x162ff4,_0x28ee20,_0xbc2524;const _0x45d19f=this['_configService'][_0x3a2570(0x301)](q),_0x3a939f=(_0x162ff4=_0x45d19f==null?void 0x0:_0x45d19f[_0x3a2570(0x1f9)])!=null?_0x162ff4:Bt;return(_0xbc2524=(_0x28ee20=(await this[_0x3a2570(0x39f)]['get'](_0x3a939f,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x28ee20[_0x3a2570(0x259)])!=null?_0xbc2524:'';}['_createSocketURL'](_0x431119){var _0x1aa26f=_0x4cb87c,_0x3a6ccd,_0x174a16;const _0x20be7a=this[_0x1aa26f(0x1c1)][_0x1aa26f(0x301)](ft),_0x380346=this[_0x1aa26f(0x1c1)][_0x1aa26f(0x301)](q),_0x213865=(_0x174a16=(_0x3a6ccd=_0x380346==null?void 0x0:_0x380346[_0x1aa26f(0x345)])!=null?_0x3a6ccd:_0x20be7a)!=null?_0x174a16:St,_0x1139ef=typeof window>'u'?new URL(_0x213865):new URL(_0x213865,window[_0x1aa26f(0x2df)][_0x1aa26f(0x42f)]);_0x1139ef[_0x1aa26f(0x222)]['set']('sessionTicket',_0x431119);const _0x48c0ad=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1aa26f(0x2df)]['search']);return _0x48c0ad[_0x1aa26f(0x2cf)](_0x1aa26f(0x2ef))&&_0x1139ef[_0x1aa26f(0x222)][_0x1aa26f(0x196)](_0x1aa26f(0x2ef),_0x48c0ad[_0x1aa26f(0x2cf)]('runId')),_0x1139ef[_0x1aa26f(0x354)]();}async['_createSocket'](){var _0x306a93=_0x4cb87c;const _0x10b00a=await this[_0x306a93(0x136)](),_0x1e0e53=this[_0x306a93(0x24e)](_0x10b00a),_0x5389be=this[_0x306a93(0x363)][_0x306a93(0x3e6)](_0x1e0e53);return this['_candidateSocket']=_0x5389be,_0x5389be;}async[_0x4cb87c(0x174)](){var _0x5ed9f0=_0x4cb87c,_0x8a5b73,_0x19b1c1;try{const _0x51ebda=(_0x19b1c1=(_0x8a5b73=this[_0x5ed9f0(0x2f6)])!=null?_0x8a5b73:this[_0x5ed9f0(0x10e)])!=null?_0x19b1c1:await this[_0x5ed9f0(0x1e3)]();if(_0x51ebda){const _0x14ef26=_0x51ebda[_0x5ed9f0(0xf0)];_0x51ebda['send']=_0x33c251=>(this[_0x5ed9f0(0x3a0)](),_0x14ef26[_0x5ed9f0(0x1f5)](_0x51ebda,[_0x33c251])),_0x51ebda[_0x5ed9f0(0x166)]['subscribe'](_0x3903bf=>this[_0x5ed9f0(0x265)](_0x51ebda,_0x3903bf)),_0x51ebda[_0x5ed9f0(0x378)][_0x5ed9f0(0x180)](V[_0x5ed9f0(0x3ec)](0x1))[_0x5ed9f0(0x2a5)](_0x32f5b5=>this['_logService'][_0x5ed9f0(0x3f3)](_0x5ed9f0(0x273),_0x32f5b5)),_0x51ebda[_0x5ed9f0(0x31c)]['pipe'](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x51ebda);}),_0x51ebda['close$'][_0x5ed9f0(0x180)](V[_0x5ed9f0(0x3ec)](0x1))[_0x5ed9f0(0x2a5)](_0x407ade=>{var _0x135619=_0x5ed9f0;this[_0x135619(0x3e8)]['debug'](_0x135619(0x428),'socket\x20close',_0x407ade),this[_0x135619(0xf4)]();});}}catch(_0x4dc99){this[_0x5ed9f0(0x3e8)]['error'](_0x4dc99),this[_0x5ed9f0(0xf4)]();}}[_0x4cb87c(0x144)](_0x48d70e){var _0x53c69d=_0x4cb87c;this[_0x53c69d(0x3e8)][_0x53c69d(0x3e7)](_0x53c69d(0x428),_0x53c69d(0x143)),_0x48d70e['send']({'cmd':G['HELLO']}),this[_0x53c69d(0x3a0)]();}[_0x4cb87c(0x22d)](){var _0x5f5491=_0x4cb87c;this[_0x5f5491(0x1f4)]=!0x1,this[_0x5f5491(0x10e)]=null,this['_status$'][_0x5f5491(0x429)](se[_0x5f5491(0x116)]),this['_socket$'][_0x5f5491(0x429)](null),this[_0x5f5491(0x2e8)](),this[_0x5f5491(0x213)]();}['_onConnectionFailed'](){var _0x478f46=_0x4cb87c,_0x5b83ec;this[_0x478f46(0x22d)](),this[_0x478f46(0x34b)]<((_0x5b83ec=this[_0x478f46(0x1c1)]['getConfig'](mt))!=null?_0x5b83ec:Vt)?(this[_0x478f46(0x11d)][_0x478f46(0x2fe)]({'id':Q[_0x478f46(0x1b7)]}),this[_0x478f46(0x1a8)]()):this[_0x478f46(0x11d)][_0x478f46(0x2fe)]({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x481531=_0x4cb87c,_0x43a16c;const _0x3dee14=this[_0x481531(0x34b)],_0x102f17=this[_0x481531(0x1c1)][_0x481531(0x301)](q),_0x38c3fa=_0x3dee14===0x0?0x0:((_0x43a16c=_0x102f17==null?void 0x0:_0x102f17[_0x481531(0x25d)])!=null?_0x43a16c:Wt)*0x2**_0x3dee14;this[_0x481531(0x41b)]=setTimeout(()=>{var _0x1873b1=_0x481531;clearTimeout(this['_retryConnectingTimer']),this[_0x1873b1(0x41b)]=null,this['_tryEnsureSocket']();},_0x38c3fa),this[_0x481531(0x34b)]+=0x1;}[_0x4cb87c(0x265)](_0xdc3664,_0x1d7624){var _0x5da58c=_0x4cb87c;const {cmd:_0x54bf10}=_0x1d7624;_0x54bf10===G['HELLO']&&!this[_0x5da58c(0x1f4)]&&(_0xdc3664[_0x5da58c(0x1d9)]=_0x1d7624[_0x5da58c(0x3a5)][_0x5da58c(0x1d9)],this[_0x5da58c(0x35f)][_0x5da58c(0x429)](_0xdc3664),this[_0x5da58c(0x27a)][_0x5da58c(0x429)](se['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x54bf10===G['HEARTBEAT']&&this[_0x5da58c(0x2e8)](),this[_0x5da58c(0x3a0)]();}[_0x4cb87c(0x3a0)](){var _0x1163a4=_0x4cb87c,_0x14e1c9;this['_clearHeartbeatTimer'](),this[_0x1163a4(0x1b9)]=setTimeout(()=>this[_0x1163a4(0x3a2)](),(_0x14e1c9=this[_0x1163a4(0x1c1)][_0x1163a4(0x301)](pt))!=null?_0x14e1c9:Ft);}[_0x4cb87c(0x3a2)](){var _0x1f5a19=_0x4cb87c;this[_0x1f5a19(0x2f6)]['send']({'cmd':G['HEARTBEAT']}),this[_0x1f5a19(0x304)]();}[_0x4cb87c(0x304)](){var _0x3ef41e=_0x4cb87c,_0x370301;this[_0x3ef41e(0x410)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x370301=this[_0x3ef41e(0x1c1)]['getConfig'](He))!=null?_0x370301:gt);}[_0x4cb87c(0x213)](){var _0x454e4a=_0x4cb87c;this[_0x454e4a(0x1b9)]!=null&&(clearTimeout(this[_0x454e4a(0x1b9)]),this[_0x454e4a(0x1b9)]=null);}[_0x4cb87c(0x2e8)](){var _0x196306=_0x4cb87c;this[_0x196306(0x410)]!=null&&(clearTimeout(this[_0x196306(0x410)]),this[_0x196306(0x410)]=null);}},exports[_0x4cb87c(0x1da)]=di([ae(0x0,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x45d)])),ae(0x1,a[_0x4cb87c(0x1e6)]),ae(0x2,a[_0x4cb87c(0xfe)]),ae(0x3,ke),ae(0x4,a['Inject'](z[_0x4cb87c(0x396)])),ae(0x5,a[_0x4cb87c(0x121)](te)),ae(0x6,a[_0x4cb87c(0x43c)](bt))],exports[_0x4cb87c(0x1da)]);const K=[];for(let r=0x0;r<0x100;++r)K['push']((r+0x100)[_0x4cb87c(0x354)](0x10)[_0x4cb87c(0x3a8)](0x1));function vi(_0x278034,_0x1af1c9=0x0){var _0xf9261=_0x4cb87c;return(K[_0x278034[_0x1af1c9+0x0]]+K[_0x278034[_0x1af1c9+0x1]]+K[_0x278034[_0x1af1c9+0x2]]+K[_0x278034[_0x1af1c9+0x3]]+'-'+K[_0x278034[_0x1af1c9+0x4]]+K[_0x278034[_0x1af1c9+0x5]]+'-'+K[_0x278034[_0x1af1c9+0x6]]+K[_0x278034[_0x1af1c9+0x7]]+'-'+K[_0x278034[_0x1af1c9+0x8]]+K[_0x278034[_0x1af1c9+0x9]]+'-'+K[_0x278034[_0x1af1c9+0xa]]+K[_0x278034[_0x1af1c9+0xb]]+K[_0x278034[_0x1af1c9+0xc]]+K[_0x278034[_0x1af1c9+0xd]]+K[_0x278034[_0x1af1c9+0xe]]+K[_0x278034[_0x1af1c9+0xf]])[_0xf9261(0x2a9)]();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x3ddca5=_0x4cb87c;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3ddca5(0x286)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x3ddca5(0x286)]['bind'](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x4cb87c(0x338)]&&crypto['randomUUID'][_0x4cb87c(0x2d8)](crypto),qe={'randomUUID':pi};function gi(_0x47f6d8,_0x510f73,_0x4fd4a8){var _0x4d33af=_0x4cb87c;if(qe[_0x4d33af(0x338)]&&!_0x510f73&&!_0x47f6d8)return qe[_0x4d33af(0x338)]();_0x47f6d8=_0x47f6d8||{};const _0x26d3ae=_0x47f6d8[_0x4d33af(0x2f7)]||(_0x47f6d8[_0x4d33af(0x1d5)]||Si)();return _0x26d3ae[0x6]=_0x26d3ae[0x6]&0xf|0x40,_0x26d3ae[0x8]=_0x26d3ae[0x8]&0x3f|0x80,vi(_0x26d3ae);}const J=a['createIdentifier'](_0x4cb87c(0x1dd));function mi(_0x3d0462){var _0x13efdb=_0x4cb87c;return _0x13efdb(0x1ca)+_0x3d0462;}var Ii=Object['defineProperty'],Ei=Object[_0x4cb87c(0x2f9)],Ci=(_0x401f5d,_0x20998f,_0x395873,_0x2ef801)=>{var _0x37fe3f=_0x4cb87c;for(var _0x3fbee1=_0x2ef801>0x1?void 0x0:_0x2ef801?Ei(_0x20998f,_0x395873):_0x20998f,_0x1fffea=_0x401f5d[_0x37fe3f(0x1c5)]-0x1,_0x2d2431;_0x1fffea>=0x0;_0x1fffea--)(_0x2d2431=_0x401f5d[_0x1fffea])&&(_0x3fbee1=(_0x2ef801?_0x2d2431(_0x20998f,_0x395873,_0x3fbee1):_0x2d2431(_0x3fbee1))||_0x3fbee1);return _0x2ef801&&_0x3fbee1&&Ii(_0x20998f,_0x395873,_0x3fbee1),_0x3fbee1;},De=(_0x171423,_0x5cf586)=>(_0x5d069e,_0x4253b6)=>_0x5cf586(_0x5d069e,_0x4253b6,_0x171423);function Ti(_0x3df125){var _0x5b2680=_0x4cb87c;const {unitID:_0x40baa1,mutations:_0xb77ac7}=_0x3df125;return{'unitId':_0x40baa1,'subUnitId':_0xb77ac7[0x0][_0x5b2680(0xe2)][_0x5b2680(0x19a)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x22de1d,_0x149dbb,_0x26a4e8){var _0x3b631d=_0x4cb87c;this['_injector']=_0x22de1d,this['_transformService']=_0x149dbb,this[_0x3b631d(0x2e6)]=_0x26a4e8;}[_0x4cb87c(0x353)](_0x1a4a4d){var _0x2fa3c5=_0x4cb87c,_0x8e1747,_0x1d7d16,_0xdd5527,_0x2c3188;const _0x37e981=this[_0x2fa3c5(0x36a)]['get'](W[_0x2fa3c5(0x434)]),{unitId:_0x3760e0,subUnitId:_0x5baeab}=Ti(_0x1a4a4d),_0x2f0fec=_0x37e981==null?void 0x0:_0x37e981[_0x2fa3c5(0x294)](_0x3760e0)[_0x2fa3c5(0x3ee)](),_0x2e899a=(_0x1d7d16=(_0x8e1747=this['_instanceService']['getUnit'](_0x3760e0))==null?void 0x0:_0x8e1747[_0x2fa3c5(0xde)]())==null?void 0x0:_0x1d7d16[_0x2fa3c5(0x3ce)]();if(_0x2f0fec[_0x2fa3c5(0x1c5)]===0x0||!_0x3760e0||!_0x5baeab)return;const _0x83bc65=[{'id':W[_0x2fa3c5(0x1fb)]['id'],'params':{'unitId':_0x3760e0,'subUnitId':_0x2e899a,'selections':a['Tools'][_0x2fa3c5(0x199)](_0x2f0fec)}}],_0x93a159=this[_0x2fa3c5(0x3a3)][_0x2fa3c5(0x2d1)](_0x1a4a4d,_0x83bc65);if(!m[_0x2fa3c5(0x2c6)](_0x93a159))throw _0x93a159['error'];const _0x819161=(_0x2c3188=(_0xdd5527=_0x93a159[_0x2fa3c5(0x368)][0x0])==null?void 0x0:_0xdd5527[_0x2fa3c5(0xe2)])==null?void 0x0:_0x2c3188[_0x2fa3c5(0x2ba)];if(Array[_0x2fa3c5(0x145)](_0x819161)&&_0x819161[_0x2fa3c5(0x1c5)]){if(_0x819161[_0x2fa3c5(0x1c5)]===_0x83bc65[0x0][_0x2fa3c5(0xe2)][_0x2fa3c5(0x2ba)][_0x2fa3c5(0x1c5)]&&_0x819161[_0x2fa3c5(0x385)]((_0x259472,_0x386525)=>a['Rectangle'][_0x2fa3c5(0x373)](_0x259472[_0x2fa3c5(0x231)],_0x83bc65[0x0][_0x2fa3c5(0xe2)][_0x2fa3c5(0x2ba)][_0x386525][_0x2fa3c5(0x231)])))return;this[_0x2fa3c5(0x36a)][_0x2fa3c5(0x2cf)](a[_0x2fa3c5(0x40f)])[_0x2fa3c5(0x3bd)](W[_0x2fa3c5(0x1fb)]['id'],{'unitId':_0x3760e0,'subUnitId':_0x2e899a,'selections':_0x819161});}}},exports[_0x4cb87c(0x324)]=Ci([De(0x0,a[_0x4cb87c(0x121)](a['Injector'])),De(0x1,m['ITransformService']),De(0x2,a[_0x4cb87c(0x37b)])],exports[_0x4cb87c(0x324)]);const ve=a[_0x4cb87c(0x169)](_0x4cb87c(0x446));var Fe=(_0x1124de=>(_0x1124de[_0x1124de[_0x4cb87c(0x32b)]=0x0]=_0x4cb87c(0x32b),_0x1124de[_0x1124de['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x1124de))(Fe||{});const bi=new Set([W[_0x4cb87c(0x463)]['id']]);function ze(_0x279951,_0x51d2f2,_0x2960a0,_0x4c1b02,_0x1d120e){var _0x17bb72=_0x4cb87c,_0x577e2a,_0x416d49,_0x22f56d,_0x147e07;const _0x288d98=[];for(const _0x4ef1d6 of _0x279951)if(bi['has'](_0x4ef1d6['id'])){if(_0x288d98['length']>0x0)break;_0x288d98[_0x17bb72(0x397)](_0x4ef1d6);break;}else _0x288d98['push'](_0x4ef1d6);const _0x3439a4=(_0x416d49=(_0x577e2a=_0x1d120e[_0x17bb72(0x248)]())==null?void 0x0:_0x577e2a[_0x17bb72(0x206)])!=null?_0x416d49:_0x17bb72(0x280),_0xc7d8b8=(_0x147e07=(_0x22f56d=_0x1d120e['getCurrentUser']())==null?void 0x0:_0x22f56d[_0x17bb72(0x1d9)])!=null?_0x147e07:_0x17bb72(0x280);return{'changeset':{'unitID':_0x51d2f2,'type':m[_0x17bb72(0x418)](_0x2960a0[_0x17bb72(0x45e)](_0x51d2f2)),'baseRev':_0x4c1b02[_0x17bb72(0x457)](_0x51d2f2),'revision':0x0,'userID':_0x3439a4,'memberID':_0xc7d8b8,'mutations':_0x288d98},'pendingMutations':_0x279951[_0x17bb72(0x3a8)](_0x288d98[_0x17bb72(0x1c5)])};}function Ri(_0x12d383,_0x276ba3,_0xce1bf,_0x42cb83,_0x23cbed){var _0x3cb7e2=_0x4cb87c,_0x51474e,_0x21e284,_0x5bf945,_0x59972d;const _0xc7262=[_0x12d383[_0x3cb7e2(0x163)]((_0x471bca,_0x2333c3)=>{var _0x2879b5=_0x3cb7e2,_0x3c44f0;const {id:_0x3af224}=_0x471bca,{id:_0x492a41,type:_0x171e32}=_0x2333c3,_0x4bfeb0=(_0x3c44f0=_0x471bca['params'])!=null?_0x3c44f0:{'actions':null},_0x36ca3a=_0x2333c3[_0x2879b5(0xe2)];if(_0x3af224&&_0x3af224!==_0x492a41)throw new Error(_0x2879b5(0x1b2)+_0x3af224+_0x2879b5(0x459)+_0x492a41+'.');return{..._0x471bca,'id':_0x492a41,'type':_0x171e32,'params':{'unitId':_0x36ca3a['unitId'],'textRanges':_0x36ca3a[_0x2879b5(0x204)],'actions':a[_0x2879b5(0x2c1)][_0x2879b5(0x37a)](_0x4bfeb0[_0x2879b5(0x17f)],_0x36ca3a['actions'])}};},{})],_0x31dff1=(_0x21e284=(_0x51474e=_0x23cbed[_0x3cb7e2(0x248)]())==null?void 0x0:_0x51474e[_0x3cb7e2(0x206)])!=null?_0x21e284:_0x3cb7e2(0x280),_0x144061=(_0x59972d=(_0x5bf945=_0x23cbed[_0x3cb7e2(0x248)]())==null?void 0x0:_0x5bf945[_0x3cb7e2(0x1d9)])!=null?_0x59972d:_0x3cb7e2(0x280);return{'changeset':{'unitID':_0x276ba3,'type':m[_0x3cb7e2(0x418)](_0xce1bf[_0x3cb7e2(0x45e)](_0x276ba3)),'baseRev':_0x42cb83[_0x3cb7e2(0x457)](_0x276ba3),'revision':0x0,'userID':_0x31dff1,'memberID':_0x144061,'mutations':_0xc7262},'pendingMutations':[]};}function yt(_0x18a9a0,_0xbe5cca){var _0x1d0874=_0x4cb87c;const _0x3d542e=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x3d542e[_0x1d0874(0x429)](_0xbe5cca),_0x18a9a0),_0x3d542e[_0x1d0874(0x447)]()['pipe'](H['take'](0x1));}const Oi={'id':W[_0x4cb87c(0x2b4)]['id'],'type':a[_0x4cb87c(0x40b)][_0x4cb87c(0x208)],'params':{}};var yi=Object['defineProperty'],Pi=Object[_0x4cb87c(0x2f9)],le=(_0xbb8b75,_0x3de308,_0x3d1786,_0x337cb6)=>{var _0x4bdcc1=_0x4cb87c;for(var _0x3c396f=_0x337cb6>0x1?void 0x0:_0x337cb6?Pi(_0x3de308,_0x3d1786):_0x3de308,_0x4f18b4=_0xbb8b75[_0x4bdcc1(0x1c5)]-0x1,_0x816f2;_0x4f18b4>=0x0;_0x4f18b4--)(_0x816f2=_0xbb8b75[_0x4f18b4])&&(_0x3c396f=(_0x337cb6?_0x816f2(_0x3de308,_0x3d1786,_0x3c396f):_0x816f2(_0x3c396f))||_0x3c396f);return _0x337cb6&&_0x3c396f&&yi(_0x3de308,_0x3d1786,_0x3c396f),_0x3c396f;},A=(_0x4484bb,_0x1854d7)=>(_0x5d09fc,_0x4785d7)=>_0x1854d7(_0x5d09fc,_0x4785d7,_0x4484bb),We=(_0x3cffd0=>(_0x3cffd0['NOT_COLLAB']=_0x4cb87c(0x243),_0x3cffd0[_0x4cb87c(0x3b6)]=_0x4cb87c(0x369),_0x3cffd0[_0x4cb87c(0x263)]=_0x4cb87c(0x309),_0x3cffd0['AWAITING']=_0x4cb87c(0x435),_0x3cffd0[_0x4cb87c(0x3e3)]=_0x4cb87c(0x3f5),_0x3cffd0[_0x4cb87c(0x430)]='fetch_missing',_0x3cffd0['CONFLICT']='conflict',_0x3cffd0['OFFLINE']=_0x4cb87c(0x18e),_0x3cffd0))(We||{});const Pt=0xea60;class _e{constructor(_0x4224cf,_0x34bf38,_0x14b91e,_0x37c74d,_0x163176,_0x26211c,_0x27308e,_0x1499f0,_0x1c24de){var _0x3019ae=_0x4cb87c;D(this,'_awaitingChangeset',null),D(this,_0x3019ae(0x209),[]),(this[_0x3019ae(0x167)]=_0x4224cf,this[_0x3019ae(0x424)]=_0x34bf38,this[_0x3019ae(0xf3)]=_0x163176,this[_0x3019ae(0x220)]=_0x26211c,this['_undoRedoService']=_0x27308e,this[_0x3019ae(0x1e4)]=_0x1499f0,this[_0x3019ae(0x42e)]=_0x1c24de,this[_0x3019ae(0x15f)]=_0x14b91e,this[_0x3019ae(0x209)]=_0x37c74d);}['_checkMissing'](_0x3c7462){var _0x4ab29f=_0x4cb87c;const _0x1e37e1=this[_0x4ab29f(0x1e4)][_0x4ab29f(0x457)](this[_0x4ab29f(0x167)]);return _0x3c7462[_0x4ab29f(0x31f)]>_0x1e37e1+0x1?(this['_handler'][_0x4ab29f(0x425)]({'from':_0x1e37e1,'to':_0x3c7462[_0x4ab29f(0x31f)]-0x1}),!0x0):!0x1;}[_0x4cb87c(0x172)](_0xbda2b7){var _0xa664e3=_0x4cb87c;this[_0xa664e3(0x15b)][_0xa664e3(0x3ba)](this[_0xa664e3(0x167)],_0xbda2b7);}[_0x4cb87c(0x186)](_0x5e776a){var _0x12c196=_0x4cb87c,_0x425767,_0x28ccb1;(_0x28ccb1=(_0x425767=this[_0x12c196(0xf3)])[_0x12c196(0x21e)])==null||_0x28ccb1[_0x12c196(0x1ab)](_0x425767,_0x5e776a);}[_0x4cb87c(0x351)](_0x20c910){var _0xd52376=_0x4cb87c,_0x510228,_0x3c2f84;return(_0x3c2f84=(_0x510228=this[_0xd52376(0xf3)])[_0xd52376(0x318)])==null?void 0x0:_0x3c2f84[_0xd52376(0x1ab)](_0x510228,_0x20c910);}[_0x4cb87c(0xfb)](_0x9f0129){var _0x18717b=_0x4cb87c,_0x18e501,_0x1518f3;return(_0x1518f3=(_0x18e501=this[_0x18717b(0xf3)])[_0x18717b(0x14a)])==null?void 0x0:_0x1518f3[_0x18717b(0x1ab)](_0x18e501,_0x9f0129);}[_0x4cb87c(0x2b0)](_0x433816){var _0x41438f=_0x4cb87c,_0x4a8bf0,_0x34e942,_0x2c9c4c;return(_0x2c9c4c=(_0x34e942=(_0x4a8bf0=this[_0x41438f(0xf3)])[_0x41438f(0x171)])==null?void 0x0:_0x34e942['call'](_0x4a8bf0,_0x433816))!=null?_0x2c9c4c:_0x433816;}[_0x4cb87c(0x2d4)](_0x32c6c0){var _0x24e50e=_0x4cb87c,_0x1734e4,_0x3bf186,_0x24a31d;return(_0x24a31d=(_0x3bf186=(_0x1734e4=this[_0x24e50e(0xf3)])[_0x24e50e(0x15e)])==null?void 0x0:_0x3bf186['call'](_0x1734e4,_0x32c6c0))!=null?_0x24a31d:_0x32c6c0;}['_syncEditingCollabCursor'](_0x3b86c6){var _0x327745=_0x4cb87c,_0x7241b3,_0x1c7fae;if(this[_0x327745(0x424)]===Z['UNIVER_DOC']){const {unitID:_0x4c2a31,mutations:_0x196df6,memberID:_0xe617d8}=_0x3b86c6,_0x67a613=_0x196df6[0x0][_0x327745(0xe2)][_0x327745(0x204)];Array['isArray'](_0x67a613)&&_0x67a613['length']>0x0&&((_0x1c7fae=(_0x7241b3=this[_0x327745(0xf3)])[_0x327745(0x3e2)])==null||_0x1c7fae[_0x327745(0x1ab)](_0x7241b3,{'unitID':_0x4c2a31,'memberID':_0xe617d8,'textRanges':_0x67a613}));}}[_0x4cb87c(0x45b)](){var _0x31c1c3=_0x4cb87c,_0x474eed;(_0x474eed=this['_localCacheService'])==null||_0x474eed[_0x31c1c3(0x12f)](this[_0x31c1c3(0x167)],this[_0x31c1c3(0x424)],this[_0x31c1c3(0x15f)],this['_pendingMutations']);}[_0x4cb87c(0x40e)](){var _0x5ba772=_0x4cb87c;return this[_0x5ba772(0x1e4)]['getCurrentRevOfUnit'](this[_0x5ba772(0x167)]);}[_0x4cb87c(0x257)](){var _0xd9f1b2=_0x4cb87c;this[_0xd9f1b2(0x1e4)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x4d1365){var _0x2f3290=_0x4cb87c,_0x53be7b;let _0x27c41b=this[_0x2f3290(0x2b0)](_0x4d1365);_0x27c41b=this[_0x2f3290(0x2d4)](_0x27c41b);const _0x599f0f=a[_0x2f3290(0x13c)](_0x27c41b['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x599f0f[_0x2f3290(0x177)])throw _0x599f0f[_0x2f3290(0x3f3)]instanceof Error?_0x599f0f[_0x2f3290(0x3f3)]:new Error((_0x53be7b=_0x599f0f[_0x2f3290(0x3f3)])!=null?_0x53be7b:_0x2f3290(0x3a1));this[_0x2f3290(0x351)](_0x27c41b),this[_0x2f3290(0xfb)](_0x27c41b),this['_transformUndoredo'](_0x4d1365),this[_0x2f3290(0x186)](_0x27c41b),this['_syncEditingCollabCursor'](_0x27c41b),this[_0x2f3290(0x257)]();}}exports[_0x4cb87c(0x2b9)]=class extends _e{constructor(_0x32296f,_0x2691ba,_0x5e7ca5,_0x35f2ee,_0x149630,_0x52c600,_0x343201,_0x32829f,_0xa74d41,_0x3da0c9){var _0x13f3dd=_0x4cb87c;super(_0x32296f,_0x2691ba,null,[],_0x5e7ca5,_0x343201,_0x52c600,_0x35f2ee,_0x3da0c9),D(this,_0x13f3dd(0x26b),_0x13f3dd(0x369)),(this[_0x13f3dd(0x36a)]=_0x149630,this[_0x13f3dd(0x3e8)]=_0x32829f,this[_0x13f3dd(0x3a3)]=_0xa74d41,this[_0x13f3dd(0x3d3)]=_0x3da0c9);}[_0x4cb87c(0x203)](_0x9d9836){var _0x68a1e4=_0x4cb87c;const _0x3247ed=this[_0x68a1e4(0x36a)][_0x68a1e4(0x329)](exports[_0x68a1e4(0x37d)],this[_0x68a1e4(0x167)],this[_0x68a1e4(0x424)],[_0x9d9836],this[_0x68a1e4(0xf3)]);return _0x3247ed[_0x68a1e4(0x3bf)](),_0x3247ed[_0x68a1e4(0x45b)](),_0x3247ed;}[_0x4cb87c(0x1c3)](_0x5dd6c3){var _0x2db525=_0x4cb87c;if(this[_0x2db525(0x3fa)](_0x5dd6c3))return this[_0x2db525(0x36a)][_0x2db525(0x329)](exports[_0x2db525(0x1af)],this[_0x2db525(0x167)],this[_0x2db525(0x424)],null,[],null,[_0x5dd6c3],this[_0x2db525(0xf3)]);try{const _0x2e25ac=this['_transformService'][_0x2db525(0x2d1)](_0x5dd6c3,[Oi]);if(m['isTransformMutationsWithChangesetSuccess'](_0x2e25ac)){const {c1Prime:_0x3867fc}=_0x2e25ac;return this[_0x2db525(0x375)](_0x3867fc),this;}throw _0x2e25ac[_0x2db525(0x3f3)];}catch(_0xf0809b){return this[_0x2db525(0x3e8)]['error'](_0xf0809b),this[_0x2db525(0x1d3)](!0x1);}}[_0x4cb87c(0x1d3)](_0x4c5290){var _0x4a145f=_0x4cb87c;return this[_0x4a145f(0x36a)][_0x4a145f(0x329)](exports[_0x4a145f(0x109)],this[_0x4a145f(0x167)],this[_0x4a145f(0x424)],null,[],this[_0x4a145f(0xf3)],_0x4c5290);}[_0x4cb87c(0x2ec)](){var _0x26b004=_0x4cb87c;throw new Error(_0x26b004(0x38e));}[_0x4cb87c(0x421)](){var _0x5e6630=_0x4cb87c;throw new Error(_0x5e6630(0x35b));}['onRemoteRetry'](){return this;}[_0x4cb87c(0x37f)](){var _0x463f72=_0x4cb87c;return this[_0x463f72(0x36a)][_0x463f72(0x329)](exports[_0x463f72(0x452)],this[_0x463f72(0x167)],this[_0x463f72(0x424)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x5ad9ec=_0x4cb87c;throw new Error(_0x5ad9ec(0x15c));}['fetchMiss'](){var _0x2289e4=_0x4cb87c;const _0x4a4bab=this[_0x2289e4(0x1e4)][_0x2289e4(0x457)](this[_0x2289e4(0x167)]);return this[_0x2289e4(0xf3)][_0x2289e4(0x425)]({'from':_0x4a4bab,'to':0x0}),this[_0x2289e4(0x36a)]['createInstance'](exports[_0x2289e4(0x1af)],this[_0x2289e4(0x167)],this['type'],null,[],null,[],this[_0x2289e4(0xf3)]);}},exports[_0x4cb87c(0x2b9)]=le([A(0x3,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),A(0x4,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x45d)])),A(0x5,a[_0x4cb87c(0x100)]),A(0x6,a[_0x4cb87c(0x40f)]),A(0x7,a[_0x4cb87c(0x1e6)]),A(0x8,m[_0x4cb87c(0x249)]),A(0x9,a[_0x4cb87c(0x43c)](J))],exports['SyncedState']),exports[_0x4cb87c(0x37d)]=class extends _e{constructor(_0x1a3f71,_0x319835,_0x284039,_0x2ae819,_0x5586e9,_0xae093a,_0xf095cc,_0x4a520a,_0x4f30ed,_0x5d718c,_0x53b312,_0x5be1a6,_0xd0324,_0x5e0d38){var _0x29231b=_0x4cb87c;super(_0x1a3f71,_0x319835,null,_0x284039,_0x2ae819,_0x4f30ed,_0xd0324,_0xae093a,_0x5e0d38),D(this,_0x29231b(0x26b),'pending'),D(this,_0x29231b(0x389),null),D(this,'_sendingTimer',null),(this[_0x29231b(0x36a)]=_0x5586e9,this[_0x29231b(0x362)]=_0xf095cc,this[_0x29231b(0x3e8)]=_0x4a520a,this[_0x29231b(0x1c1)]=_0x5d718c,this[_0x29231b(0x3a3)]=_0x53b312,this[_0x29231b(0x2f2)]=_0x5be1a6);}[_0x4cb87c(0x203)](_0x46f767){var _0x15c325=_0x4cb87c;return this[_0x15c325(0x209)][_0x15c325(0x397)](_0x46f767),this[_0x15c325(0x45b)](),this;}[_0x4cb87c(0x1c3)](_0x1b1d3b){var _0x30f22d=_0x4cb87c;if(this['_checkMissing'](_0x1b1d3b))return this[_0x30f22d(0x370)](),this[_0x30f22d(0x36a)][_0x30f22d(0x329)](exports[_0x30f22d(0x1af)],this[_0x30f22d(0x167)],this['type'],null,this[_0x30f22d(0x209)],null,[_0x1b1d3b],this[_0x30f22d(0xf3)]);try{const _0x3b8a20=this[_0x30f22d(0x3a3)]['transformMutationsWithChangeset'](_0x1b1d3b,this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x3b8a20)){const {c1Prime:_0x5163ec,m2Prime:_0x2da78a}=_0x3b8a20;this[_0x30f22d(0x375)](_0x5163ec);const _0x49f004=this['_injector']['createInstance'](exports[_0x30f22d(0x37d)],this['unitID'],this[_0x30f22d(0x424)],_0x2da78a,this[_0x30f22d(0xf3)]);return this[_0x30f22d(0x370)](),_0x49f004[_0x30f22d(0x3bf)](this[_0x30f22d(0x389)]?Math[_0x30f22d(0x28d)](0x0,new Date()[_0x30f22d(0x3b5)]()-this[_0x30f22d(0x389)]):this[_0x30f22d(0x3e1)]()),_0x49f004;}throw _0x3b8a20[_0x30f22d(0x3f3)];}catch(_0x44dad3){return this[_0x30f22d(0x3e8)][_0x30f22d(0x3f3)](_0x44dad3),this['_onConflict'](!0x1);}}[_0x4cb87c(0x2ec)](){var _0x4e1227=_0x4cb87c;throw new Error(_0x4e1227(0xf5));}[_0x4cb87c(0x421)](){var _0x4dc351=_0x4cb87c;throw new Error(_0x4dc351(0x156));}[_0x4cb87c(0x333)](){return this;}[_0x4cb87c(0x37f)](){var _0x4a1b18=_0x4cb87c;return this[_0x4a1b18(0x370)](),this[_0x4a1b18(0x36a)][_0x4a1b18(0x329)](exports[_0x4a1b18(0x452)],this[_0x4a1b18(0x167)],this[_0x4a1b18(0x424)],null,this[_0x4a1b18(0x209)],this[_0x4a1b18(0xf3)]);}[_0x4cb87c(0x1e1)](){return this;}['_schedule'](_0x1371e9){var _0x50f6ad=_0x4cb87c;const _0xfa47cc=_0x1371e9!=null?_0x1371e9:this[_0x50f6ad(0x3e1)]();this[_0x50f6ad(0x389)]=new Date()[_0x50f6ad(0x3b5)](),this[_0x50f6ad(0x43d)]=setTimeout(()=>{var _0x11a5b1=_0x50f6ad;this['_clearScheduledTask']();let _0x2a590b=null;switch(this[_0x11a5b1(0x424)]){case Z[_0x11a5b1(0x403)]:{_0x2a590b=ze(this[_0x11a5b1(0x209)],this[_0x11a5b1(0x167)],this[_0x11a5b1(0x2f2)],this['_revisionService'],this[_0x11a5b1(0x362)]);break;}case Z['UNIVER_DOC']:{this['_pendingMutations'][_0x11a5b1(0x385)](_0x324801=>_0x324801['id']===ut[_0x11a5b1(0xf1)]['id'])?_0x2a590b=Ri(this['_pendingMutations'],this[_0x11a5b1(0x167)],this[_0x11a5b1(0x2f2)],this['_revisionService'],this[_0x11a5b1(0x362)]):_0x2a590b=ze(this[_0x11a5b1(0x209)],this[_0x11a5b1(0x167)],this['_univerInstanceService'],this[_0x11a5b1(0x1e4)],this[_0x11a5b1(0x362)]);break;}default:throw new Error(_0x11a5b1(0x1c2)+this[_0x11a5b1(0x424)]+_0x11a5b1(0x3c4));}const {changeset:_0x4e233c,pendingMutations:_0x2222c0}=_0x2a590b;this[_0x11a5b1(0xf3)][_0x11a5b1(0x23e)](_0x4e233c);const _0x379fca=_0x2222c0[_0x11a5b1(0x1c5)]?this[_0x11a5b1(0x36a)][_0x11a5b1(0x329)](exports[_0x11a5b1(0x408)],this[_0x11a5b1(0x167)],this[_0x11a5b1(0x424)],_0x4e233c,_0x2222c0,this[_0x11a5b1(0xf3)],void 0x0):this['_injector'][_0x11a5b1(0x329)](exports['AwaitingState'],this[_0x11a5b1(0x167)],this['type'],_0x4e233c,this['_handler']);_0x379fca[_0x11a5b1(0x45b)](),this[_0x11a5b1(0xf3)][_0x11a5b1(0x16b)](this,_0x379fca);},_0xfa47cc);}['_getSendChangesetTimeout'](){var _0x63d8b1=_0x4cb87c,_0x5b6fb9;const _0x222a44=this[_0x63d8b1(0x1c1)][_0x63d8b1(0x301)](q);return(_0x5b6fb9=_0x222a44==null?void 0x0:_0x222a44[_0x63d8b1(0x423)])!=null?_0x5b6fb9:kt;}[_0x4cb87c(0x101)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4cb87c(0x370)](){var _0x5e11f3=_0x4cb87c;this[_0x5e11f3(0x43d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5e11f3(0x43d)]=null);}[_0x4cb87c(0x1d3)](_0x1fc0f3){var _0x27cb7a=_0x4cb87c;return this[_0x27cb7a(0x370)](),this[_0x27cb7a(0x36a)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x27cb7a(0x424)],null,this[_0x27cb7a(0x209)],this['_handler'],_0x1fc0f3);}},exports[_0x4cb87c(0x37d)]=le([A(0x4,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x45d)])),A(0x5,a['Inject'](m[_0x4cb87c(0x3b9)])),A(0x6,a[_0x4cb87c(0x121)](exports[_0x4cb87c(0x232)])),A(0x7,a['ILogService']),A(0x8,a['ICommandService']),A(0x9,a['IConfigService']),A(0xa,m[_0x4cb87c(0x249)]),A(0xb,a['IUniverInstanceService']),A(0xc,a[_0x4cb87c(0x100)]),A(0xd,a[_0x4cb87c(0x43c)](J))],exports[_0x4cb87c(0x37d)]),exports[_0x4cb87c(0x34f)]=class extends _e{constructor(_0x385e26,_0xe06251,_0x5d542b,_0x17c147,_0x3c3744,_0x455003,_0x220651,_0x70493f,_0x2f167c,_0x29b58,_0x41abd4){var _0x20b19b=_0x4cb87c;super(_0x385e26,_0xe06251,_0x5d542b,[],_0x17c147,_0x220651,_0x29b58,_0x455003,_0x41abd4),D(this,'status',_0x20b19b(0x435)),D(this,_0x20b19b(0x401),0x0),D(this,_0x20b19b(0x2a7)),D(this,_0x20b19b(0x3da)),(this['_injector']=_0x3c3744,this[_0x20b19b(0x3e8)]=_0x70493f,this['_transformService']=_0x2f167c);}[_0x4cb87c(0x203)](_0x5efa0d){var _0x1af8d8=_0x4cb87c;this[_0x1af8d8(0x370)]();const _0x2602e5=this[_0x1af8d8(0x36a)][_0x1af8d8(0x329)](exports[_0x1af8d8(0x408)],this[_0x1af8d8(0x167)],this['type'],this[_0x1af8d8(0x15f)],[_0x5efa0d],this[_0x1af8d8(0xf3)],this['_resendTimer']);return _0x2602e5[_0x1af8d8(0x45b)](),_0x2602e5;}[_0x4cb87c(0x1c3)](_0x510f54){var _0x1e54c9=_0x4cb87c;if(this[_0x1e54c9(0x3fa)](_0x510f54))return this['_clearScheduledTask'](),this['_injector'][_0x1e54c9(0x329)](exports[_0x1e54c9(0x1af)],this[_0x1e54c9(0x167)],this[_0x1e54c9(0x424)],this[_0x1e54c9(0x15f)],[],null,[_0x510f54],this[_0x1e54c9(0xf3)]);try{const _0x47c849=this[_0x1e54c9(0x3a3)]['transformChangesets']([_0x510f54],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x47c849)){const {c1Prime:_0x12dcc3,c2Prime:_0x327f74}=_0x47c849;this[_0x1e54c9(0x375)](_0x12dcc3[0x0]),_0x327f74[0x0]['baseRev']=this[_0x1e54c9(0x40e)](),this['_clearScheduledTask']();const _0x56c477=this[_0x1e54c9(0x36a)][_0x1e54c9(0x329)](exports[_0x1e54c9(0x34f)],this[_0x1e54c9(0x167)],this[_0x1e54c9(0x424)],_0x327f74[0x0],this[_0x1e54c9(0xf3)]);return _0x56c477['_updateLocalCache'](),_0x56c477;}return this[_0x1e54c9(0x1d3)](!0x1);}catch(_0x2f6beb){return this[_0x1e54c9(0x3e8)]['error'](_0x2f6beb),this['_onConflict'](!0x1);}}[_0x4cb87c(0x2ec)](_0x165f94){var _0x1e98e3=_0x4cb87c;this[_0x1e98e3(0x370)]();const _0xc31d41=this[_0x1e98e3(0x1e4)][_0x1e98e3(0x457)](this['unitID']);if(_0x165f94[_0x1e98e3(0x31f)]<_0xc31d41-0x1)return this;if(this['_checkMissing'](_0x165f94))return this['_injector'][_0x1e98e3(0x329)](exports[_0x1e98e3(0x1af)],this[_0x1e98e3(0x167)],this[_0x1e98e3(0x424)],null,[],this['_awaitingChangeset'],[],this[_0x1e98e3(0xf3)]);this[_0x1e98e3(0x257)]();const _0x5aff77=this[_0x1e98e3(0x36a)]['createInstance'](exports[_0x1e98e3(0x2b9)],this[_0x1e98e3(0x167)],this[_0x1e98e3(0x424)],this[_0x1e98e3(0xf3)]);return _0x5aff77[_0x1e98e3(0x45b)](),_0x5aff77;}[_0x4cb87c(0x421)](_0x54a2f9){var _0x2e135b=_0x4cb87c;return this[_0x2e135b(0x1d3)](!!(_0x54a2f9!=null&&_0x54a2f9[_0x2e135b(0x20b)]));}[_0x4cb87c(0x333)](_0x551448){var _0x4397aa=_0x4cb87c;return this[_0x4397aa(0x401)]>Pt?this[_0x4397aa(0x37f)]():(this['_resendTimer']=yt(this['_resendTimeout'],{'timeout':this[_0x4397aa(0x401)],'reqId':_0x551448[_0x4397aa(0x11e)]}),this[_0x4397aa(0x3da)]=this[_0x4397aa(0x2a7)][_0x4397aa(0x2a5)](({reqId:_0x2eed69,timeout:_0xe11353})=>{var _0x14c17a=_0x4397aa;this[_0x14c17a(0x32c)](_0x2eed69,_0xe11353);}),this);}[_0x4cb87c(0x37f)](){var _0x11828e=_0x4cb87c;return this['_clearScheduledTask'](),this[_0x11828e(0x36a)][_0x11828e(0x329)](exports['OfflineState'],this[_0x11828e(0x167)],this[_0x11828e(0x424)],this[_0x11828e(0x15f)],[],this[_0x11828e(0xf3)]);}[_0x4cb87c(0x1e1)](){return this;}['resend'](){var _0x201d63=_0x4cb87c;this['_handler'][_0x201d63(0x23e)](this[_0x201d63(0x15f)]);}['_onConflict'](_0x5cd2e6){var _0x31255d=_0x4cb87c;return this['_clearScheduledTask'](),this[_0x31255d(0x36a)][_0x31255d(0x329)](exports[_0x31255d(0x109)],this[_0x31255d(0x167)],this[_0x31255d(0x424)],this['_awaitingChangeset'],[],this[_0x31255d(0xf3)],_0x5cd2e6);}[_0x4cb87c(0x32c)](_0x311781,_0x3747c0){var _0x56bcd2=_0x4cb87c,_0x49d031;_0x311781===((_0x49d031=this[_0x56bcd2(0x15f)])==null?void 0x0:_0x49d031[_0x56bcd2(0x11e)])&&(this[_0x56bcd2(0x101)](),this[_0x56bcd2(0x401)]=_0x3747c0===0x0?0x3e8:_0x3747c0*0x2);}[_0x4cb87c(0x370)](){var _0x3dfae1=_0x4cb87c,_0x5a04ea;(_0x5a04ea=this[_0x3dfae1(0x3da)])==null||_0x5a04ea['unsubscribe'](),this[_0x3dfae1(0x401)]=0x0;}},exports[_0x4cb87c(0x34f)]=le([A(0x4,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x45d)])),A(0x5,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),A(0x6,a[_0x4cb87c(0x40f)]),A(0x7,a[_0x4cb87c(0x1e6)]),A(0x8,m['ITransformService']),A(0x9,a[_0x4cb87c(0x100)]),A(0xa,a[_0x4cb87c(0x43c)](J))],exports[_0x4cb87c(0x34f)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x59bcb5,_0x1c8213,_0x4a84b9,_0x1de8eb,_0x3bec59,_0x528746,_0x4fea1a,_0x4452bf,_0x583cbb,_0x1a9793,_0x89a34e,_0x585d6b,_0x5df54d){var _0x1f8b1e=_0x4cb87c;super(_0x59bcb5,_0x1c8213,_0x4a84b9,_0x1de8eb,_0x3bec59,_0x583cbb,_0x585d6b,_0x4452bf,_0x5df54d),D(this,_0x1f8b1e(0x26b),_0x1f8b1e(0x3f5)),D(this,_0x1f8b1e(0x401),0x0),D(this,_0x1f8b1e(0x2a7)),D(this,_0x1f8b1e(0x3da)),(this[_0x1f8b1e(0x36a)]=_0x4fea1a,this['_logService']=_0x1a9793,this['_transformService']=_0x89a34e,this['localCacheService']=_0x5df54d,_0x528746&&(this[_0x1f8b1e(0x2a7)]=_0x528746,this['_sender']=this[_0x1f8b1e(0x2a7)]['subscribe'](({reqId:_0x287bb4,timeout:_0x4feda3})=>{var _0x5948de=_0x1f8b1e;this[_0x5948de(0x32c)](_0x287bb4,_0x4feda3);})));}['appendMutation'](_0x4ab896){var _0x548468=_0x4cb87c;return this[_0x548468(0x209)][_0x548468(0x397)](_0x4ab896),this;}['onRemoteChangeset'](_0x5d5cf9){var _0x5b8cf5=_0x4cb87c;if(this[_0x5b8cf5(0x3fa)](_0x5d5cf9))return this[_0x5b8cf5(0x370)](),this[_0x5b8cf5(0x36a)]['createInstance'](exports[_0x5b8cf5(0x1af)],this[_0x5b8cf5(0x167)],this[_0x5b8cf5(0x424)],this[_0x5b8cf5(0x15f)],this[_0x5b8cf5(0x209)],null,[_0x5d5cf9],this[_0x5b8cf5(0xf3)]);try{const _0x76ccb8=this['_transformService'][_0x5b8cf5(0x334)]([_0x5d5cf9],[this[_0x5b8cf5(0x15f)]],!0x1);if(m[_0x5b8cf5(0x1bb)](_0x76ccb8)){const {c1Prime:_0x4fb1c9,c2Prime:_0x2075fe}=_0x76ccb8,_0x1c2ade=this[_0x5b8cf5(0x3a3)][_0x5b8cf5(0x2d1)](_0x4fb1c9[0x0],this[_0x5b8cf5(0x209)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x1c2ade)){const {c1Prime:_0x24d0e9,m2Prime:_0x3034cd}=_0x1c2ade;return this['_executeRemoteChangeset'](_0x24d0e9),_0x2075fe[0x0]['baseRev']=this[_0x5b8cf5(0x40e)](),this[_0x5b8cf5(0x370)](),this[_0x5b8cf5(0x36a)][_0x5b8cf5(0x329)](exports[_0x5b8cf5(0x408)],this[_0x5b8cf5(0x167)],this['type'],_0x2075fe[0x0],_0x3034cd,this['_handler'],void 0x0);}throw _0x1c2ade['error'];}throw _0x76ccb8['error'];}catch(_0x56a8d4){return this['_logService'][_0x5b8cf5(0x3f3)](_0x56a8d4),this[_0x5b8cf5(0x1d3)](!0x1);}}[_0x4cb87c(0x2ec)](_0x53d445){var _0x110fc3=_0x4cb87c;if(this[_0x110fc3(0x370)](),this[_0x110fc3(0x3fa)](_0x53d445))return this[_0x110fc3(0x36a)]['createInstance'](exports['FetchingMissState'],this[_0x110fc3(0x167)],this[_0x110fc3(0x424)],null,this['_pendingMutations'],this[_0x110fc3(0x15f)],[],this[_0x110fc3(0xf3)]);this[_0x110fc3(0x257)]();const _0x1e3695=this['_injector'][_0x110fc3(0x329)](exports['PendingState'],this[_0x110fc3(0x167)],this['type'],this[_0x110fc3(0x209)],this[_0x110fc3(0xf3)]);return _0x1e3695[_0x110fc3(0x3bf)](),_0x1e3695[_0x110fc3(0x45b)](),_0x1e3695;}[_0x4cb87c(0x421)](_0x1cde80){var _0x4b5f45=_0x4cb87c;return this[_0x4b5f45(0x1d3)](!!(_0x1cde80!=null&&_0x1cde80['isPermissionRej']));}['onRemoteRetry'](_0x5543fe){var _0x143744=_0x4cb87c;return this[_0x143744(0x401)]>Pt?this['toggleOffline']():(this[_0x143744(0x2a7)]=yt(this['_resendTimeout'],{'timeout':this[_0x143744(0x401)],'reqId':_0x5543fe['reqId']}),this['_sender']=this['_resendTimer'][_0x143744(0x2a5)](({reqId:_0x5cccf2,timeout:_0x3cbc3a})=>{var _0x557b52=_0x143744;this[_0x557b52(0x32c)](_0x5cccf2,_0x3cbc3a);}),this);}['toggleOffline'](){var _0x160758=_0x4cb87c;return this[_0x160758(0x370)](),this['_injector'][_0x160758(0x329)](exports['OfflineState'],this[_0x160758(0x167)],this[_0x160758(0x424)],this[_0x160758(0x15f)],this[_0x160758(0x209)],this['_handler']);}['toggleOnline'](){return this;}[_0x4cb87c(0x101)](){var _0x29ddbb=_0x4cb87c;this['_handler']['onSendChangeset'](this[_0x29ddbb(0x15f)]);}[_0x4cb87c(0x1d3)](_0x1639e7){var _0x3fe36d=_0x4cb87c;return this[_0x3fe36d(0x370)](),this[_0x3fe36d(0x36a)][_0x3fe36d(0x329)](exports[_0x3fe36d(0x109)],this[_0x3fe36d(0x167)],this[_0x3fe36d(0x424)],null,this[_0x3fe36d(0x209)],this[_0x3fe36d(0xf3)],_0x1639e7);}[_0x4cb87c(0x32c)](_0x4777b5,_0x4b6e5f){var _0x2ed99e=_0x4cb87c,_0x4fb387;_0x4777b5===((_0x4fb387=this[_0x2ed99e(0x15f)])==null?void 0x0:_0x4fb387[_0x2ed99e(0x11e)])&&(this['resend'](),this[_0x2ed99e(0x401)]=_0x4b6e5f===0x0?0x3e8:_0x4b6e5f*0x2);}[_0x4cb87c(0x370)](){var _0x3986ca=_0x4cb87c,_0x3c5ebf;(_0x3c5ebf=this['_sender'])==null||_0x3c5ebf[_0x3986ca(0x247)](),this[_0x3986ca(0x401)]=0x0;}},exports[_0x4cb87c(0x408)]=le([A(0x6,a[_0x4cb87c(0x121)](a['Injector'])),A(0x7,a[_0x4cb87c(0x121)](m['RevisionService'])),A(0x8,a['ICommandService']),A(0x9,a[_0x4cb87c(0x1e6)]),A(0xa,m['ITransformService']),A(0xb,a['IUndoRedoService']),A(0xc,a[_0x4cb87c(0x43c)](J))],exports[_0x4cb87c(0x408)]),exports['ConflictState']=class extends _e{constructor(_0x3a7db2,_0x13617a,_0x203524,_0x4e36fe,_0x1764fb,_0x292625=!0x1,_0x144905,_0xab2907,_0x20859b,_0x2714cd,_0x20ce1b,_0x4b72b3,_0x4090f2){var _0x1a7f68=_0x4cb87c;super(_0x3a7db2,_0x13617a,_0x203524,_0x4e36fe,_0x1764fb,_0xab2907,_0x20859b,_0x2714cd,_0x4090f2),D(this,_0x1a7f68(0x26b),'conflict'),(this[_0x1a7f68(0x2a4)]=_0x292625,this[_0x1a7f68(0x1c9)]=_0x144905,this[_0x1a7f68(0x39b)]=_0x20ce1b,this['_collaborationUIEventService']=_0x4b72b3,this[_0x1a7f68(0x3d3)]=_0x4090f2,this[_0x1a7f68(0x2e0)](),this[_0x1a7f68(0x185)](),this[_0x1a7f68(0x1b5)]());}[_0x4cb87c(0x203)](){return this;}['onRemoteChangeset'](){return this;}[_0x4cb87c(0x2ec)](){return this;}[_0x4cb87c(0x421)](){return this;}['onRemoteRetry'](){return this;}[_0x4cb87c(0x37f)](){return this;}[_0x4cb87c(0x1e1)](){return this;}[_0x4cb87c(0x101)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4cb87c(0x185)](){var _0x1073b6=_0x4cb87c,_0x1fad8d;(_0x1fad8d=this[_0x1073b6(0x42e)])==null||_0x1fad8d[_0x1073b6(0x12f)](this[_0x1073b6(0x167)],this[_0x1073b6(0x424)],null,[]);}[_0x4cb87c(0x2e0)](){var _0xfb2426=_0x4cb87c;this[_0xfb2426(0x2a4)]?this[_0xfb2426(0x11d)][_0xfb2426(0x2fe)]({'id':Q['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0xfb2426(0x2fe)]({'id':Q[_0xfb2426(0x41c)]});}[_0x4cb87c(0x1b5)](){var _0x475500=_0x4cb87c;this[_0x475500(0x1c9)]['updatePermissionPoint'](new W[(_0x475500(0x3db))](this[_0x475500(0x167)])['id'],!0x1);}},exports[_0x4cb87c(0x109)]=le([A(0x6,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x251)])),A(0x7,a['ICommandService']),A(0x8,a[_0x4cb87c(0x100)]),A(0x9,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),A(0xa,a['Inject'](a['LocaleService'])),A(0xb,a['Inject'](te)),A(0xc,a['Optional'](J))],exports[_0x4cb87c(0x109)]),exports['OfflineState']=class extends _e{constructor(_0x2514f0,_0x353ab2,_0x33e1a1,_0x218bdf,_0x45611c,_0x1b100c,_0x39163c,_0x1a7e28,_0x36ac57,_0x50019e){var _0xec34a1=_0x4cb87c;super(_0x2514f0,_0x353ab2,_0x33e1a1,_0x218bdf,_0x45611c,_0x1a7e28,_0x36ac57,_0x39163c,_0x50019e),D(this,_0xec34a1(0x26b),_0xec34a1(0x18e)),this[_0xec34a1(0x36a)]=_0x1b100c;}[_0x4cb87c(0x203)](_0x4f70d2){var _0x2840dd=_0x4cb87c;return this[_0x2840dd(0x209)][_0x2840dd(0x397)](_0x4f70d2),this[_0x2840dd(0x45b)](),this;}[_0x4cb87c(0x1c3)](_0x3ed8d6){var _0x300cc2=_0x4cb87c;throw new Error(_0x300cc2(0x161));}['onRemoteAck'](){var _0x9aa883=_0x4cb87c;throw new Error(_0x9aa883(0x2c5));}[_0x4cb87c(0x421)](){var _0x12780a=_0x4cb87c;throw new Error(_0x12780a(0x22f));}[_0x4cb87c(0x333)](){return this;}[_0x4cb87c(0x37f)](){return this;}[_0x4cb87c(0x1e1)](){var _0x587fcb=_0x4cb87c;const {_injector:_0x160886,_pendingMutations:_0x21dd81,_awaitingChangeset:_0x42347a,unitID:_0x4e040a,_handler:_0x4c813c,type:_0x3f6690}=this,_0x5c02bc=Nt(_0x160886,_0x4e040a,_0x3f6690,_0x42347a,_0x21dd81,_0x4c813c);return _0x5c02bc instanceof exports[_0x587fcb(0x37d)]?_0x5c02bc[_0x587fcb(0x3bf)]():(_0x5c02bc instanceof exports[_0x587fcb(0x408)]||_0x5c02bc instanceof exports[_0x587fcb(0x34f)])&&_0x5c02bc['resend'](),_0x5c02bc;}['resend'](){var _0xea7f5e=_0x4cb87c;throw new Error(_0xea7f5e(0x388));}},exports[_0x4cb87c(0x452)]=le([A(0x5,a[_0x4cb87c(0x121)](a['Injector'])),A(0x6,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),A(0x7,a[_0x4cb87c(0x40f)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x4cb87c(0x43c)](J))],exports[_0x4cb87c(0x452)]),exports[_0x4cb87c(0x1af)]=class extends _e{constructor(_0xa9122b,_0x28bd9a,_0x4c37e2,_0xa05716,_0x268160,_0x34c21e,_0x326f6f,_0xfb4ac9,_0x2c62de,_0x5af2c8,_0x1f3f2b,_0x4eceb7,_0x57ce10,_0x16d983){var _0xcbd5c8=_0x4cb87c;super(_0xa9122b,_0x28bd9a,_0x4c37e2,_0xa05716,_0x326f6f,_0x1f3f2b,_0x4eceb7,_0x2c62de,_0x16d983),D(this,'status','fetch_missing'),(this[_0xcbd5c8(0x30d)]=_0x268160,this[_0xcbd5c8(0x20d)]=_0x34c21e,this['_injector']=_0xfb4ac9,this['_logService']=_0x5af2c8,this[_0xcbd5c8(0x3a3)]=_0x57ce10,this[_0xcbd5c8(0x3d3)]=_0x16d983);}[_0x4cb87c(0x3f2)](_0x2f424a){var _0x3c2a94=_0x4cb87c;try{const _0x302e67=[..._0x2f424a,...this[_0x3c2a94(0x20d)]],_0x16bd2f=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x3c2a94(0x3ea)](_0x4f2959=>!!_0x4f2959);let _0xb41384,_0x1d189;if(_0x16bd2f[_0x3c2a94(0x1c5)]){const _0x39f2bc=this['_transformService']['transformChangesets'](_0x302e67,_0x16bd2f,!0x1);if(!m[_0x3c2a94(0x1bb)](_0x39f2bc))throw _0x39f2bc[_0x3c2a94(0x3f3)];_0xb41384=_0x39f2bc['c1Prime'],_0x1d189=_0x39f2bc[_0x3c2a94(0x2a0)];}else _0xb41384=_0x302e67,_0x1d189=[];let _0x3ddee2=this[_0x3c2a94(0x209)];_0xb41384[_0x3c2a94(0x1bf)](_0x5b3f3a=>{var _0x35f3f3=_0x3c2a94;let _0xa72c39;if(_0x3ddee2[_0x35f3f3(0x1c5)]){const _0x440d0f=this['_transformService']['transformMutationsWithChangeset'](_0x5b3f3a,_0x3ddee2);if(!m[_0x35f3f3(0x2c6)](_0x440d0f))throw _0x440d0f[_0x35f3f3(0x3f3)];_0xa72c39=_0x440d0f[_0x35f3f3(0x1d0)],_0x3ddee2=_0x440d0f[_0x35f3f3(0x368)];}else _0xa72c39=_0x5b3f3a;this[_0x35f3f3(0x375)](_0xa72c39);}),this[_0x3c2a94(0x30d)]&&this[_0x3c2a94(0x257)](),this[_0x3c2a94(0x15f)]&&_0x1d189[_0x3c2a94(0x1c5)]&&(_0x1d189[0x0][_0x3c2a94(0x336)]=this[_0x3c2a94(0x40e)]());let _0x39b9ca;if(this[_0x3c2a94(0x15f)]&&_0x3ddee2[_0x3c2a94(0x1c5)]!==0x0)_0x39b9ca=this['_injector'][_0x3c2a94(0x329)](exports['AwaitingWithPendingState'],this[_0x3c2a94(0x167)],this[_0x3c2a94(0x424)],_0x1d189[0x0],_0x3ddee2,this[_0x3c2a94(0xf3)],void 0x0);else{if(this[_0x3c2a94(0x15f)]&&_0x3ddee2[_0x3c2a94(0x1c5)]===0x0)_0x1d189[0x0][_0x3c2a94(0x336)]=this[_0x3c2a94(0x40e)](),_0x39b9ca=this[_0x3c2a94(0x36a)][_0x3c2a94(0x329)](exports[_0x3c2a94(0x34f)],this[_0x3c2a94(0x167)],this[_0x3c2a94(0x424)],_0x1d189[0x0],this[_0x3c2a94(0xf3)]);else{if(_0x3ddee2[_0x3c2a94(0x1c5)]!==0x0){const _0x31bb7c=this[_0x3c2a94(0x36a)]['createInstance'](exports[_0x3c2a94(0x37d)],this[_0x3c2a94(0x167)],this[_0x3c2a94(0x424)],_0x3ddee2,this[_0x3c2a94(0xf3)]);_0x31bb7c[_0x3c2a94(0x3bf)](),_0x39b9ca=_0x31bb7c;}else _0x39b9ca=this[_0x3c2a94(0x36a)][_0x3c2a94(0x329)](exports[_0x3c2a94(0x2b9)],this[_0x3c2a94(0x167)],this[_0x3c2a94(0x424)],this[_0x3c2a94(0xf3)]);}}return _0x39b9ca[_0x3c2a94(0x45b)](),_0x39b9ca;}catch(_0x27b012){return this[_0x3c2a94(0x3e8)][_0x3c2a94(0x3f3)](_0x3c2a94(0x128),_0x3c2a94(0xf9),_0x27b012),this[_0x3c2a94(0x36a)][_0x3c2a94(0x329)](exports['ConflictState'],this['unitID'],this[_0x3c2a94(0x424)],this['_awaitingChangeset'],this[_0x3c2a94(0x209)],this[_0x3c2a94(0xf3)],!0x1);}}['resend'](){var _0x36c094=_0x4cb87c;throw new Error(_0x36c094(0x233));}[_0x4cb87c(0x203)](_0x2b2419){var _0x1f4b9b=_0x4cb87c;return this[_0x1f4b9b(0x209)]['push'](_0x2b2419),this;}[_0x4cb87c(0x1c3)](_0x2bc38e){var _0x417a92=_0x4cb87c;return this['_queuedRemoteChangesets'][_0x417a92(0x397)](_0x2bc38e),this;}[_0x4cb87c(0x2ec)](_0x3db254){var _0x2edd61=_0x4cb87c;if(this[_0x2edd61(0x15f)])return this[_0x2edd61(0x30d)]=this[_0x2edd61(0x15f)],this[_0x2edd61(0x15f)]=null,this;throw new Error(_0x2edd61(0x141));}[_0x4cb87c(0x421)](_0x79f5f8){var _0x2528dd=_0x4cb87c;return this[_0x2528dd(0x1d3)](!!(_0x79f5f8!=null&&_0x79f5f8[_0x2528dd(0x20b)]));}[_0x4cb87c(0x333)](){return this;}[_0x4cb87c(0x37f)](){var _0x5d9f88=_0x4cb87c;return this[_0x5d9f88(0x36a)][_0x5d9f88(0x329)](exports[_0x5d9f88(0x452)],this[_0x5d9f88(0x167)],this[_0x5d9f88(0x424)],this[_0x5d9f88(0x15f)],this[_0x5d9f88(0x209)],this['_handler']);}['toggleOnline'](){return this;}[_0x4cb87c(0x1d3)](_0x3cd700){var _0x29cc24=_0x4cb87c;return this[_0x29cc24(0x36a)][_0x29cc24(0x329)](exports[_0x29cc24(0x109)],this[_0x29cc24(0x167)],this[_0x29cc24(0x424)],this['_awaitingChangeset'],this[_0x29cc24(0x209)],this[_0x29cc24(0xf3)],_0x3cd700);}},exports[_0x4cb87c(0x1af)]=le([A(0x7,a[_0x4cb87c(0x121)](a['Injector'])),A(0x8,a['Inject'](m[_0x4cb87c(0x3b9)])),A(0x9,a[_0x4cb87c(0x1e6)]),A(0xa,a[_0x4cb87c(0x40f)]),A(0xb,a[_0x4cb87c(0x100)]),A(0xc,m[_0x4cb87c(0x249)]),A(0xd,a[_0x4cb87c(0x43c)](J))],exports['FetchingMissState']);function Nt(_0x1eea4e,_0x492799,_0xe19917,_0x1ee419,_0x342c07,_0x394b04){var _0x2102a4=_0x4cb87c;return _0x1ee419&&_0x342c07[_0x2102a4(0x1c5)]?_0x1eea4e[_0x2102a4(0x329)](exports[_0x2102a4(0x408)],_0x492799,_0xe19917,_0x1ee419,_0x342c07,_0x394b04,void 0x0):_0x1ee419?_0x1eea4e[_0x2102a4(0x329)](exports[_0x2102a4(0x34f)],_0x492799,_0xe19917,_0x1ee419,_0x394b04):_0x342c07[_0x2102a4(0x1c5)]?_0x1eea4e[_0x2102a4(0x329)](exports[_0x2102a4(0x37d)],_0x492799,_0xe19917,_0x342c07,_0x394b04):_0x1eea4e[_0x2102a4(0x329)](exports['SyncedState'],_0x492799,_0xe19917,_0x394b04);}var Ni=Object[_0x4cb87c(0x190)],Ui=Object[_0x4cb87c(0x2f9)],Ve=(_0x156223,_0x2cbd4d,_0x448ca1,_0x5d7162)=>{for(var _0x4bfc5e=_0x5d7162>0x1?void 0x0:_0x5d7162?Ui(_0x2cbd4d,_0x448ca1):_0x2cbd4d,_0x9365f3=_0x156223['length']-0x1,_0x100681;_0x9365f3>=0x0;_0x9365f3--)(_0x100681=_0x156223[_0x9365f3])&&(_0x4bfc5e=(_0x5d7162?_0x100681(_0x2cbd4d,_0x448ca1,_0x4bfc5e):_0x100681(_0x4bfc5e))||_0x4bfc5e);return _0x5d7162&&_0x4bfc5e&&Ni(_0x2cbd4d,_0x448ca1,_0x4bfc5e),_0x4bfc5e;},k=(_0x49c145,_0x3794c2)=>(_0x2a41d4,_0x5c73c9)=>_0x3794c2(_0x2a41d4,_0x5c73c9,_0x49c145);exports['CollaborationEntity']=class extends a[_0x4cb87c(0x379)]{constructor(_0x36345d,_0x396b91,_0x120836,_0x998903,_0x2d2aac,_0x399436,_0xd6a635,_0x156b56,_0x3cd118,_0x16a5b3,_0x504d71,_0x235795,_0x206e4d){var _0x44f5fc=_0x4cb87c;super(),D(this,_0x44f5fc(0x1fe),new H['BehaviorSubject'](null)),D(this,_0x44f5fc(0x42d),this[_0x44f5fc(0x1fe)]['asObservable']()),D(this,_0x44f5fc(0x431)),D(this,_0x44f5fc(0x31a),!0x1),D(this,'_changesetSessionId',''),D(this,_0x44f5fc(0x3ed),0x0),D(this,_0x44f5fc(0x437),this[_0x44f5fc(0x42d)]['pipe'](H[_0x44f5fc(0x3f6)](_0x3fee60=>_0x3fee60?_0x3fee60[_0x44f5fc(0x26b)]:We[_0x44f5fc(0x116)]),H[_0x44f5fc(0x1b8)](0x1))),D(this,_0x44f5fc(0x37e),!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x36345d,this[_0x44f5fc(0x1a5)]=_0x396b91,this['_type']=_0x120836,this[_0x44f5fc(0x36a)]=_0x998903,this[_0x44f5fc(0x37c)]=_0x2d2aac,this[_0x44f5fc(0x39b)]=_0x399436,this[_0x44f5fc(0x1e4)]=_0xd6a635,this[_0x44f5fc(0x17e)]=_0x156b56,this[_0x44f5fc(0x3e8)]=_0x3cd118,this[_0x44f5fc(0x220)]=_0x16a5b3,this[_0x44f5fc(0x1c9)]=_0x504d71,this['_singleActiveUnitService']=_0x235795,this[_0x44f5fc(0x42e)]=_0x206e4d);}get[_0x4cb87c(0x193)](){var _0x24b216=_0x4cb87c;return this[_0x24b216(0x431)];}async['init'](){var _0x555bdf=_0x4cb87c;if(this[_0x555bdf(0x193)])throw new Error(_0x555bdf(0x29a));await this[_0x555bdf(0x1ce)]();}['pauseCollaboration'](){var _0xa881b6=_0x4cb87c;return this['_collaborationPaused']=!0x0,a[_0xa881b6(0x35c)](()=>{var _0x4acb37=_0xa881b6;this['_collaborationPaused']=!0x1,this[_0x4acb37(0x195)]();});}[_0x4cb87c(0x41e)](_0x316955){var _0x2174a8=_0x4cb87c;this[_0x2174a8(0x29f)](_0x316955);}[_0x4cb87c(0x3d4)](_0xba7e6d){var _0x33e2e4=_0x4cb87c;this[_0x33e2e4(0x431)]=_0xba7e6d,this['_state$'][_0x33e2e4(0x429)](_0xba7e6d);}async['_init'](){var _0x267ce5=_0x4cb87c,_0x542074;this[_0x267ce5(0x3d4)](await this[_0x267ce5(0x146)]()),this[_0x267ce5(0xe8)]&&((_0x542074=this['_singleActiveUnitService'])==null||_0x542074[_0x267ce5(0x15d)](this[_0x267ce5(0x167)]),this[_0x267ce5(0x384)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x267ce5(0x167)])[_0x267ce5(0x2a5)](_0x46691e=>{var _0x1fa17c=_0x267ce5;this[_0x1fa17c(0x3e8)][_0x1fa17c(0x3e7)](_0x1fa17c(0x2e2),_0x1fa17c(0x45c),_0x46691e),_0x46691e===Fe[_0x1fa17c(0x10f)]?(this['_eventService'][_0x1fa17c(0x2fe)]({'id':Q[_0x1fa17c(0x2b6)]}),this[_0x1fa17c(0x1c9)][_0x1fa17c(0x358)](new W[(_0x1fa17c(0x3db))](this[_0x1fa17c(0x167)])['id'],!0x1),this[_0x1fa17c(0x1c9)][_0x1fa17c(0x3b0)](!0x1)):(this[_0x1fa17c(0x1c9)][_0x1fa17c(0x358)](new W[(_0x1fa17c(0x3db))](this[_0x1fa17c(0x167)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0xacd63c=!0x1;return this[_0x267ce5(0x384)](this[_0x267ce5(0x1a5)][_0x267ce5(0x2b2)][_0x267ce5(0x2a5)](_0x45ad2f=>{var _0x2724c2=_0x267ce5;_0x45ad2f===se[_0x2724c2(0x1d1)]?this[_0x2724c2(0x3bb)](_0xacd63c):_0x45ad2f===se[_0x2724c2(0x116)]&&(_0xacd63c=!0x0,this[_0x2724c2(0x426)]());})),this['disposeWithMe'](this[_0x267ce5(0x1a5)][_0x267ce5(0x173)][_0x267ce5(0x2a5)](_0x366586=>{var _0x421842=_0x267ce5;try{switch(_0x366586[_0x421842(0x218)]){case m['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x421842(0x2bd)](m['parseProtocolChangeset'](_0x366586[_0x421842(0x3a5)]));break;}case m['CollaborationEvent'][_0x421842(0x158)]:{this[_0x421842(0x3cc)](_0x366586[_0x421842(0x3a5)]);break;}case m[_0x421842(0x1b4)][_0x421842(0x325)]:{this['_onRemoteRejected']();break;}case m[_0x421842(0x1b4)][_0x421842(0x2da)]:{this[_0x421842(0x210)](_0x366586[_0x421842(0x3a5)]);break;}case m[_0x421842(0x1b4)][_0x421842(0x2e5)]:{this[_0x421842(0x327)](_0x366586['data'][_0x421842(0xd7)][_0x421842(0x3f6)](_0x36fb71=>m[_0x421842(0x3e9)](_0x36fb71)));break;}case m[_0x421842(0x1b4)]['PERMISSION_REJ']:{this[_0x421842(0xd8)]({'isPermissionRej':!0x0});break;}case m[_0x421842(0x1b4)]['UNISCRIPT_RUN']:break;}}catch(_0x1fcae8){throw console[_0x421842(0x3f3)](_0x421842(0x140),_0x1fcae8),_0x1fcae8;}})),this[_0x267ce5(0x431)];}[_0x4cb87c(0x25f)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x33ee19=_0x4cb87c;if(this['_transitionLocked'])throw new Error(_0x33ee19(0x1d7));this[_0x33ee19(0x37e)]=!0x0;}[_0x4cb87c(0x29f)](_0x1f3a42){var _0x4a27b9=_0x4cb87c;this[_0x4a27b9(0x450)](),this[_0x4a27b9(0x3d4)](this[_0x4a27b9(0x431)]['appendMutation'](_0x1f3a42)),this[_0x4a27b9(0x25f)]();}[_0x4cb87c(0x2bd)](_0xaa7228){var _0x32553e=_0x4cb87c;if(!(_0xaa7228[_0x32553e(0x31f)]<=this[_0x32553e(0x1e4)][_0x32553e(0x457)](this[_0x32553e(0x167)]))){if(this[_0x32553e(0x31a)]){this[_0x32553e(0x1ac)][_0x32553e(0x397)](_0xaa7228);return;}this[_0x32553e(0x287)](_0xaa7228);}}['_exhaustRemoteChangesetQueue'](){var _0x11767c=_0x4cb87c;this[_0x11767c(0x1ac)][_0x11767c(0x1bf)](_0x51e1b5=>this[_0x11767c(0x287)](_0x51e1b5)),this[_0x11767c(0x1ac)]=[];}[_0x4cb87c(0x287)](_0x5cdd0c){var _0x388294=_0x4cb87c;const _0x489305=this['_compressMutationService']['interceptor'][_0x388294(0x17a)](this[_0x388294(0x37c)][_0x388294(0x16f)][_0x388294(0x2d5)]()[_0x388294(0x458)])(_0x5cdd0c[_0x388294(0x2cd)],null)||_0x5cdd0c['mutations'],_0x264ef0={..._0x5cdd0c,'mutations':_0x489305};this[_0x388294(0x450)](),this[_0x388294(0x3d4)](this[_0x388294(0x431)][_0x388294(0x1c3)](_0x264ef0)),this[_0x388294(0x25f)]();}[_0x4cb87c(0x3cc)](_0x4e4808){var _0x4835dc=_0x4cb87c;this['_lockTransition'](),this[_0x4835dc(0x3d4)](this['_state'][_0x4835dc(0x2ec)](_0x4e4808)),this[_0x4835dc(0x25f)]();}[_0x4cb87c(0xd8)](_0x222a13){var _0x1754e3=_0x4cb87c;this[_0x1754e3(0x450)](),this[_0x1754e3(0x3d4)](this[_0x1754e3(0x431)][_0x1754e3(0x421)](_0x222a13)),this['_unlockTransition']();}[_0x4cb87c(0x210)](_0x2a860e){var _0x326490=_0x4cb87c;this[_0x326490(0x450)](),this[_0x326490(0x3d4)](this[_0x326490(0x431)]['onRemoteRetry'](_0x2a860e)),this[_0x326490(0x25f)]();}[_0x4cb87c(0x327)](_0x54bc67){var _0x34ba2b=_0x4cb87c;if(!(this[_0x34ba2b(0x431)]instanceof exports[_0x34ba2b(0x1af)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x406136=_0x54bc67[_0x34ba2b(0x3f6)](_0x31585f=>{var _0x155194=_0x34ba2b;const _0x58a988=this[_0x155194(0x37c)][_0x155194(0x16f)][_0x155194(0x17a)](this[_0x155194(0x37c)][_0x155194(0x16f)][_0x155194(0x2d5)]()[_0x155194(0x458)])(_0x31585f['mutations'],null)||_0x31585f[_0x155194(0x2cd)];return{..._0x31585f,'mutations':_0x58a988};});this[_0x34ba2b(0x450)](),this['_updateState'](this[_0x34ba2b(0x431)][_0x34ba2b(0x3f2)](_0x406136)),this['_unlockTransition']();}[_0x4cb87c(0x426)](){var _0x3f7dd5=_0x4cb87c;this[_0x3f7dd5(0x450)](),this[_0x3f7dd5(0x3d4)](this[_0x3f7dd5(0x431)][_0x3f7dd5(0x37f)]()),this[_0x3f7dd5(0x25f)]();}[_0x4cb87c(0x3bb)](_0x20402e=!0x1){var _0x365f79=_0x4cb87c;this[_0x365f79(0x450)](),this[_0x365f79(0x3d4)](this['_state'][_0x365f79(0x1e1)]()),this[_0x365f79(0x25f)]();const _0x228314=this[_0x365f79(0x431)];_0x20402e&&_0x228314 instanceof exports[_0x365f79(0x2b9)]&&(this[_0x365f79(0x450)](),this['_updateState'](_0x228314[_0x365f79(0x12e)]()),this[_0x365f79(0x25f)]());}async[_0x4cb87c(0x146)](){return new Promise(_0x40de26=>{var _0x5d52f7=_0xbd70;this[_0x5d52f7(0x1a5)][_0x5d52f7(0x2b2)][_0x5d52f7(0x180)](H['take'](0x1))[_0x5d52f7(0x2a5)](async _0x58389a=>{var _0x11f3f3=_0x5d52f7;_0x40de26(await this[_0x11f3f3(0x3ca)](_0x58389a===se[_0x11f3f3(0x1d1)]));});});}[_0x4cb87c(0xe9)](){const _0x59854e=this['unitID'];return{'onStateChange':(_0x447099,_0x3eb34e)=>{var _0x1596a7=_0xbd70;if(_0x447099!==this['_state'])throw new Error(_0x1596a7(0x207)+_0x447099[_0x1596a7(0x26b)]+'\x0aAfter:\x20'+_0x3eb34e[_0x1596a7(0x26b)]+'\x0aCurrent:\x20'+this[_0x1596a7(0x431)]['status']);this[_0x1596a7(0x3d4)](_0x3eb34e);},'onSendChangeset':_0x1b2bc5=>{var _0x2dfa5c=_0xbd70;_0x1b2bc5[_0x2dfa5c(0x1d8)]||(_0x1b2bc5[_0x2dfa5c(0x1d8)]=this[_0x2dfa5c(0x274)],_0x1b2bc5[_0x2dfa5c(0x11e)]=++this[_0x2dfa5c(0x3ed)]);const _0x351f9d={'eventID':m[_0x2dfa5c(0x1b4)][_0x2dfa5c(0x44f)],'data':{'unitID':_0x1b2bc5[_0x2dfa5c(0x167)],'unitType':this[_0x2dfa5c(0x279)],'changeset':_0x1b2bc5,'memberID':this[_0x2dfa5c(0x1a5)][_0x2dfa5c(0x11c)]()}};this[_0x2dfa5c(0x1a5)][_0x2dfa5c(0xf0)](_0x351f9d,this[_0x2dfa5c(0x167)]);},'onMissingChangesets':({from:_0x3116b0,to:_0x14fed2})=>{var _0x443e74=_0xbd70;this[_0x443e74(0x3e8)]['debug']('[CollaborationEntity]',_0x443e74(0x394)+_0x3116b0+'\x20to\x20'+_0x14fed2);const _0x4ff163={'eventID':m[_0x443e74(0x1b4)][_0x443e74(0x3c2)],'data':{'unitID':_0x59854e,'unitType':this[_0x443e74(0x279)],'from':_0x3116b0,'to':_0x14fed2}};this[_0x443e74(0x1a5)]['send'](_0x4ff163,this[_0x443e74(0x167)]);}};}async[_0x4cb87c(0x3ca)](_0x8df635){var _0x31ed12=_0x4cb87c,_0x53588b,_0x32d0a3,_0x9fa300;const _0x4eac49=await((_0x53588b=this[_0x31ed12(0x42e)])==null?void 0x0:_0x53588b[_0x31ed12(0x12b)](this['unitID'])),_0x4f721e=(_0x32d0a3=_0x4eac49==null?void 0x0:_0x4eac49[_0x31ed12(0x2cd)])!=null?_0x32d0a3:[],_0x2b508d=(_0x9fa300=_0x4eac49==null?void 0x0:_0x4eac49['awaitingChangeset'])!=null?_0x9fa300:null,_0x4640b9=!!(_0x2b508d!=null&&_0x2b508d['sid'])&&!!(_0x2b508d!=null&&_0x2b508d[_0x31ed12(0x11e)]);this[_0x31ed12(0x274)]=_0x4640b9?_0x2b508d[_0x31ed12(0x1d8)]:gi(),this[_0x31ed12(0x3ed)]=_0x4640b9?_0x2b508d[_0x31ed12(0x11e)]:0x0;const _0x528d86=this[_0x31ed12(0x167)];try{this[_0x31ed12(0x30c)](_0x2b508d,_0x4f721e);}catch(_0xe71451){this[_0x31ed12(0x3e8)][_0x31ed12(0x3f3)](_0xe71451);}const _0x1cc79f=this[_0x31ed12(0xe9)]();if(_0x8df635){const _0x231a75=Nt(this['_injector'],_0x528d86,this[_0x31ed12(0x279)],_0x2b508d,_0x4f721e,_0x1cc79f);return _0x231a75 instanceof exports[_0x31ed12(0x37d)]?_0x231a75[_0x31ed12(0x3bf)]():(_0x231a75 instanceof exports[_0x31ed12(0x408)]||_0x231a75 instanceof exports[_0x31ed12(0x34f)])&&_0x231a75[_0x31ed12(0x101)](),_0x231a75;}return this[_0x31ed12(0x36a)][_0x31ed12(0x329)](exports[_0x31ed12(0x452)],_0x528d86,this[_0x31ed12(0x279)],_0x2b508d,_0x4f721e,_0x1cc79f);}[_0x4cb87c(0x30c)](_0x472f52,_0x3d2ffa){var _0x40d7da=_0x4cb87c,_0xc5841c,_0xbbd776;const _0x461aa7=this[_0x40d7da(0x37c)][_0x40d7da(0x16f)][_0x40d7da(0x17a)](this[_0x40d7da(0x37c)]['interceptor'][_0x40d7da(0x2d5)]()[_0x40d7da(0x458)]);(_0xc5841c=_0x461aa7((_0x472f52==null?void 0x0:_0x472f52['mutations'])||[],null))==null||_0xc5841c['forEach'](_0x98527e=>this[_0x40d7da(0x220)][_0x40d7da(0x3bd)](_0x98527e['id'],_0x98527e[_0x40d7da(0xe2)])),(_0xbbd776=_0x461aa7(_0x3d2ffa||[],null))==null||_0xbbd776[_0x40d7da(0x1bf)](_0xd25f13=>this[_0x40d7da(0x220)][_0x40d7da(0x3bd)](_0xd25f13['id'],_0xd25f13[_0x40d7da(0xe2)]));}},exports['CollaborationEntity']=Ve([k(0x3,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x45d)])),k(0x4,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x42a)])),k(0x5,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x1db)])),k(0x6,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),k(0x7,a[_0x4cb87c(0x121)](te)),k(0x8,a[_0x4cb87c(0x1e6)]),k(0x9,a[_0x4cb87c(0x40f)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x4cb87c(0x43c)](ve)),k(0xc,a['Optional'](J))],exports['CollaborationEntity']),exports[_0x4cb87c(0x16d)]=class extends exports[_0x4cb87c(0x149)]{constructor(_0x158779,_0x559f02,_0x307033,_0x114b9f,_0x2bf243,_0x21d30f,_0x358251,_0x2b41b1,_0x375343,_0x5e9ea9,_0x254f41,_0x478daf,_0x4b283e){var _0x342e07=_0x4cb87c;super(_0x158779,_0x307033,_0x559f02,_0x114b9f,_0x2bf243,_0x21d30f,_0x358251,_0x2b41b1,_0x375343,_0x5e9ea9,_0x254f41,_0x478daf,_0x4b283e),D(this,'_handlerCallback',null),(this[_0x342e07(0x167)]=_0x158779,this[_0x342e07(0x424)]=_0x559f02);}[_0x4cb87c(0x1a6)](_0x441f61){var _0x48dbd9=_0x4cb87c;this[_0x48dbd9(0x14f)]=_0x441f61;}[_0x4cb87c(0x438)](){var _0x189593=_0x4cb87c;this[_0x189593(0x14f)]=null,super[_0x189593(0x438)]();}[_0x4cb87c(0xe9)](){var _0x2c276c=_0x4cb87c;const _0x500410=super[_0x2c276c(0xe9)]();return _0x500410['onTransformIME']=_0x1947af=>{var _0x327300=_0x2c276c,_0x5dd9c5,_0x500310;return(_0x500310=(_0x5dd9c5=this[_0x327300(0x14f)])==null?void 0x0:_0x5dd9c5[_0x327300(0x318)])==null?void 0x0:_0x500310['call'](_0x5dd9c5,_0x1947af);},_0x500410[_0x2c276c(0x14a)]=_0x56fa9c=>{var _0x505133=_0x2c276c,_0x55da0f,_0x4c09a0;return(_0x4c09a0=(_0x55da0f=this['_handlerCallback'])==null?void 0x0:_0x55da0f[_0x505133(0x14a)])==null?void 0x0:_0x4c09a0[_0x505133(0x1ab)](_0x55da0f,_0x56fa9c);},_0x500410['onTransformSelections']=_0x3c10ca=>{var _0x28e92b=_0x2c276c,_0x1c0df8,_0x30a425;return(_0x30a425=(_0x1c0df8=this[_0x28e92b(0x14f)])==null?void 0x0:_0x1c0df8[_0x28e92b(0x21e)])==null?void 0x0:_0x30a425[_0x28e92b(0x1ab)](_0x1c0df8,_0x3c10ca);},_0x500410[_0x2c276c(0x3e2)]=_0x495d5c=>{var _0x5f0721=_0x2c276c,_0x3474c4,_0xd5ce2d;return(_0xd5ce2d=(_0x3474c4=this[_0x5f0721(0x14f)])==null?void 0x0:_0x3474c4[_0x5f0721(0x3e2)])==null?void 0x0:_0xd5ce2d[_0x5f0721(0x1ab)](_0x3474c4,_0x495d5c);},_0x500410[_0x2c276c(0x171)]=_0x3ebc53=>{var _0x3543d3=_0x2c276c,_0x150ea3,_0x2f76de,_0xb24136;if(!((_0x150ea3=this['_handlerCallback'])!=null&&_0x150ea3[_0x3543d3(0x171)]))throw new Error(_0x3543d3(0x3a9));return(_0xb24136=(_0x2f76de=this['_handlerCallback'])==null?void 0x0:_0x2f76de['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xb24136[_0x3543d3(0x1ab)](_0x2f76de,_0x3ebc53);},_0x500410[_0x2c276c(0x15e)]=_0x5d2547=>{var _0x4c4c45=_0x2c276c,_0x36b805,_0x212c46,_0x26ad8d;if(!((_0x36b805=this[_0x4c4c45(0x14f)])!=null&&_0x36b805[_0x4c4c45(0x15e)]))throw new Error(_0x4c4c45(0x41f));return(_0x26ad8d=(_0x212c46=this[_0x4c4c45(0x14f)])==null?void 0x0:_0x212c46[_0x4c4c45(0x15e)])==null?void 0x0:_0x26ad8d[_0x4c4c45(0x1ab)](_0x212c46,_0x5d2547);},_0x500410;}async['_init'](){var _0xacfe05=_0x4cb87c;const _0x8c9d27=await super['_init']();return this[_0xacfe05(0x384)](this[_0xacfe05(0x220)][_0xacfe05(0x181)]((_0xa3a7f3,_0x2e56ce)=>{var _0x3277a8=_0xacfe05;if(_0xa3a7f3[_0x3277a8(0x424)]!==a['CommandType'][_0x3277a8(0x208)]||_0x2e56ce!=null&&_0x2e56ce[_0x3277a8(0x1f3)]||_0x2e56ce!=null&&_0x2e56ce[_0x3277a8(0x2be)]||_0xa3a7f3['id']===ut[_0x3277a8(0xf1)]['id'])return;const _0xc4e6c4=_0xa3a7f3['params'];if((_0xc4e6c4==null?void 0x0:_0xc4e6c4[_0x3277a8(0x390)])!==this[_0x3277a8(0x167)])return;const _0x352174=_0xa3a7f3,_0x3a1290=this[_0x3277a8(0x37c)]['interceptor'][_0x3277a8(0x17a)](this[_0x3277a8(0x37c)][_0x3277a8(0x16f)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x352174],null)||[_0x352174];this['_onLocalMutation'](_0x3a1290[0x0]);})),_0x8c9d27;}},exports[_0x4cb87c(0x16d)]=Ve([k(0x3,a['Inject'](a['Injector'])),k(0x4,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x42a)])),k(0x5,a['Inject'](a[_0x4cb87c(0x1db)])),k(0x6,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),k(0x7,a[_0x4cb87c(0x121)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x4cb87c(0x40f)]),k(0xa,a[_0x4cb87c(0x251)]),k(0xb,a[_0x4cb87c(0x43c)](ve)),k(0xc,a[_0x4cb87c(0x43c)](J))],exports['DocCollaborationEntity']),exports[_0x4cb87c(0x1df)]=class extends exports[_0x4cb87c(0x149)]{constructor(_0x561f40,_0x39ff66,_0x465357,_0x3c9c6f,_0x1b013b,_0x48ab70,_0x121c19,_0x50d4de,_0x2b2d7d,_0x1011d7,_0x3eefee,_0x1901bd,_0xf6a14,_0x1c2a53){var _0x1eda4c=_0x4cb87c;super(_0x561f40,_0x465357,_0x39ff66,_0x3c9c6f,_0x1b013b,_0x48ab70,_0x121c19,_0x2b2d7d,_0x1011d7,_0x3eefee,_0x1901bd,_0xf6a14,_0x1c2a53),this['unitID']=_0x561f40,this[_0x1eda4c(0x424)]=_0x39ff66,this[_0x1eda4c(0x45f)]=_0x50d4de;}[_0x4cb87c(0xe9)](){var _0x31f473=_0x4cb87c;const _0x5d1d8b=super[_0x31f473(0xe9)]();return _0x5d1d8b['onTransformSelections']=_0x249e29=>this[_0x31f473(0x45f)][_0x31f473(0x353)](_0x249e29),_0x5d1d8b;}async[_0x4cb87c(0x1ce)](){var _0x17fd6f=_0x4cb87c;const _0x5b1017=await super[_0x17fd6f(0x1ce)]();return this[_0x17fd6f(0x384)](this[_0x17fd6f(0x220)][_0x17fd6f(0x181)]((_0x11b80d,_0x20ecf0)=>{var _0x200dc6=_0x17fd6f;if(_0x11b80d[_0x200dc6(0x424)]!==a[_0x200dc6(0x40b)][_0x200dc6(0x208)]||_0x20ecf0!=null&&_0x20ecf0[_0x200dc6(0x1f3)]||_0x20ecf0!=null&&_0x20ecf0[_0x200dc6(0x2be)])return;const _0x18ba38=_0x11b80d[_0x200dc6(0xe2)];if((_0x18ba38==null?void 0x0:_0x18ba38[_0x200dc6(0x390)])!==this['unitID'])return;const _0x4423da=_0x11b80d,_0x9a45fb=this[_0x200dc6(0x37c)][_0x200dc6(0x16f)][_0x200dc6(0x17a)](this['_compressMutationService'][_0x200dc6(0x16f)]['getInterceptPoints']()[_0x200dc6(0x130)])([_0x4423da],null)||[_0x4423da];this[_0x200dc6(0x29f)](_0x9a45fb[0x0]);})),_0x5b1017;}},exports[_0x4cb87c(0x1df)]=Ve([k(0x3,a['Inject'](a[_0x4cb87c(0x45d)])),k(0x4,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x42a)])),k(0x5,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x1db)])),k(0x6,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3b9)])),k(0x7,a[_0x4cb87c(0x121)](exports['SheetTransformSelectionsService'])),k(0x8,a[_0x4cb87c(0x121)](te)),k(0x9,a[_0x4cb87c(0x1e6)]),k(0xa,a['ICommandService']),k(0xb,a[_0x4cb87c(0x251)]),k(0xc,a[_0x4cb87c(0x43c)](ve)),k(0xd,a[_0x4cb87c(0x43c)](J))],exports[_0x4cb87c(0x1df)]);var Di=Object[_0x4cb87c(0x190)],wi=Object[_0x4cb87c(0x2f9)],Ai=(_0x5bbcd7,_0x3eb834,_0x146180,_0x3d75ca)=>{var _0x38ba3d=_0x4cb87c;for(var _0x2120be=_0x3d75ca>0x1?void 0x0:_0x3d75ca?wi(_0x3eb834,_0x146180):_0x3eb834,_0x3b3b99=_0x5bbcd7[_0x38ba3d(0x1c5)]-0x1,_0x4af73b;_0x3b3b99>=0x0;_0x3b3b99--)(_0x4af73b=_0x5bbcd7[_0x3b3b99])&&(_0x2120be=(_0x3d75ca?_0x4af73b(_0x3eb834,_0x146180,_0x2120be):_0x4af73b(_0x2120be))||_0x2120be);return _0x3d75ca&&_0x2120be&&Di(_0x3eb834,_0x146180,_0x2120be),_0x2120be;},we=(_0x578781,_0x3e7cc1)=>(_0x43b1e3,_0x593570)=>_0x3e7cc1(_0x43b1e3,_0x593570,_0x578781);exports[_0x4cb87c(0x17c)]=class extends a[_0x4cb87c(0x379)]{constructor(_0x3a16c4,_0x5f40fa,_0x23e98d){var _0x5ab864=_0x4cb87c;super(),D(this,'_entities',new Map()),D(this,_0x5ab864(0x19b),new H[(_0x5ab864(0x276))]()),D(this,_0x5ab864(0x2cc),this['_entityInit$'][_0x5ab864(0x447)]()),(this[_0x5ab864(0x36a)]=_0x3a16c4,this[_0x5ab864(0x278)]=_0x5f40fa,this[_0x5ab864(0x2f2)]=_0x23e98d,this[_0x5ab864(0x1ce)]());}[_0x4cb87c(0x438)](){var _0x1bda13=_0x4cb87c;super[_0x1bda13(0x438)](),this[_0x1bda13(0x343)][_0x1bda13(0x1bf)](_0x275f29=>_0x275f29[_0x1bda13(0x438)]()),this['_entities'][_0x1bda13(0x12c)]();}[_0x4cb87c(0x244)](_0xa362a7){var _0x393603=_0x4cb87c,_0x55fb26;return(_0x55fb26=this['_entities'][_0x393603(0x2cf)](_0xa362a7))!=null?_0x55fb26:null;}['getCollabEntity$'](_0x5bf6e5){var _0x121fe9=_0x4cb87c;const _0x2bf34b=this[_0x121fe9(0x244)](_0x5bf6e5);return _0x2bf34b?H['of'](_0x2bf34b):this[_0x121fe9(0x19b)]['pipe'](V[_0x121fe9(0x3ea)](_0x3787d1=>_0x3787d1['unitID']===_0x5bf6e5));}[_0x4cb87c(0x236)](_0x2d6340){var _0x317fff=_0x4cb87c;return H[_0x317fff(0xff)](this['getCollabEntity$'](_0x2d6340)[_0x317fff(0x180)](V['map'](()=>{})));}['_init'](){var _0x4fc67c=_0x4cb87c;this[_0x4fc67c(0x2f2)][_0x4fc67c(0xdc)](a[_0x4fc67c(0x23d)]['UNIVER_SHEET'])[_0x4fc67c(0x180)](H[_0x4fc67c(0x30e)](this[_0x4fc67c(0x267)]),V[_0x4fc67c(0x44e)](0x10))[_0x4fc67c(0x2a5)](async _0x22b9bb=>{var _0x5858a8=_0x4fc67c;const _0x4f70fa=_0x22b9bb['getUnitId'](),_0xa5eab7=await this['_startCollaboration'](_0x4f70fa,Z[_0x5858a8(0x403)]);this['_entities'][_0x5858a8(0x196)](_0x4f70fa,_0xa5eab7);}),this[_0x4fc67c(0x2f2)][_0x4fc67c(0xdc)](a[_0x4fc67c(0x23d)][_0x4fc67c(0x104)])[_0x4fc67c(0x180)](H[_0x4fc67c(0x30e)](this[_0x4fc67c(0x267)]),V['delay'](0x10))[_0x4fc67c(0x180)](V[_0x4fc67c(0x3ea)](_0x431a73=>!_0x431a73[_0x4fc67c(0x18f)]()[_0x4fc67c(0x1e2)]('__')))[_0x4fc67c(0x2a5)](async _0x4e7d13=>{var _0x8bdbdb=_0x4fc67c;const _0x54fce2=_0x4e7d13[_0x8bdbdb(0x18f)](),_0x16cce3=await this['_startCollaboration'](_0x54fce2,Z['UNIVER_DOC']);this[_0x8bdbdb(0x343)][_0x8bdbdb(0x196)](_0x54fce2,_0x16cce3);}),H['merge'](this['_univerInstanceService'][_0x4fc67c(0x23a)](a['UniverInstanceType'][_0x4fc67c(0x403)]),this['_univerInstanceService'][_0x4fc67c(0x23a)](a[_0x4fc67c(0x23d)]['UNIVER_DOC']))[_0x4fc67c(0x180)](H['takeUntil'](this['dispose$']))['subscribe'](_0x1a5125=>{var _0x20fc21=_0x4fc67c;const _0x352fe9=_0x1a5125[_0x20fc21(0x18f)](),_0x16f35d=this[_0x20fc21(0x343)][_0x20fc21(0x2cf)](_0x352fe9);_0x16f35d&&(_0x16f35d['dispose'](),this[_0x20fc21(0x343)][_0x20fc21(0x217)](_0x352fe9));});}async[_0x4cb87c(0x26a)](_0x13daf1,_0x31c5af){var _0x4d78b3=_0x4cb87c;const _0x3611f5=await this[_0x4d78b3(0x278)][_0x4d78b3(0x21c)](_0x13daf1),_0x25819f=this['_injector']['createInstance'](this[_0x4d78b3(0x3b2)](_0x31c5af),_0x13daf1,_0x31c5af,_0x3611f5);return await _0x25819f[_0x4d78b3(0x184)](),this[_0x4d78b3(0x19b)][_0x4d78b3(0x429)](_0x25819f),_0x25819f;}[_0x4cb87c(0x3b2)](_0x13f371){var _0x44b2c8=_0x4cb87c;switch(_0x13f371){case Z[_0x44b2c8(0x104)]:return exports[_0x44b2c8(0x16d)];case Z['UNIVER_SHEET']:return exports[_0x44b2c8(0x1df)];default:throw new Error(_0x44b2c8(0x313)+_0x13f371);}}},exports[_0x4cb87c(0x17c)]=Ai([we(0x0,a['Inject'](a[_0x4cb87c(0x45d)])),we(0x1,a[_0x4cb87c(0x121)](exports[_0x4cb87c(0x1da)])),we(0x2,a[_0x4cb87c(0x37b)])],exports['CollaborationController']);var Li=Object[_0x4cb87c(0x190)],Mi=Object[_0x4cb87c(0x2f9)],xi=(_0xb2044e,_0x56121e,_0x7d2314,_0x1ed452)=>{var _0x3f6858=_0x4cb87c;for(var _0x3eb3d1=_0x1ed452>0x1?void 0x0:_0x1ed452?Mi(_0x56121e,_0x7d2314):_0x56121e,_0x45d2c2=_0xb2044e[_0x3f6858(0x1c5)]-0x1,_0x4474ec;_0x45d2c2>=0x0;_0x45d2c2--)(_0x4474ec=_0xb2044e[_0x45d2c2])&&(_0x3eb3d1=(_0x1ed452?_0x4474ec(_0x56121e,_0x7d2314,_0x3eb3d1):_0x4474ec(_0x3eb3d1))||_0x3eb3d1);return _0x1ed452&&_0x3eb3d1&&Li(_0x56121e,_0x7d2314,_0x3eb3d1),_0x3eb3d1;},Je=(_0x22b204,_0x1e1d1c)=>(_0x7a391f,_0x1a5231)=>_0x1e1d1c(_0x7a391f,_0x1a5231,_0x22b204);const ji=_0x4cb87c(0x25a),$i=_0x4cb87c(0x1bc);let $e=class extends a[_0x4cb87c(0x40a)]{constructor(_0x5208d3,_0x2322fd){var _0x44fa4f=_0x4cb87c;super(),this['_univerInstanceService']=_0x5208d3,this[_0x44fa4f(0x1c1)]=_0x2322fd,this['_init']();}[_0x4cb87c(0x1ce)](){var _0x434f48=_0x4cb87c;this[_0x434f48(0x384)](this[_0x434f48(0x2f2)][_0x434f48(0x20c)][_0x434f48(0x2a5)](()=>{var _0x3ac0b8=_0x434f48,_0x2b7008;const _0xf3afe5=this['_univerInstanceService']['getFocusedUnit']();let _0x1cfffd=(_0x2b7008=this['_configService'][_0x3ac0b8(0x301)](ji))!=null?_0x2b7008:$i;_0xf3afe5 instanceof a['Workbook']&&(_0x1cfffd=_0xf3afe5[_0x3ac0b8(0x1f2)]),document[_0x3ac0b8(0x179)]=_0x1cfffd;}));}};$e=xi([Je(0x0,a[_0x4cb87c(0x37b)]),Je(0x1,a[_0x4cb87c(0xfe)])],$e);var Hi=Object['defineProperty'],ki=Object[_0x4cb87c(0x2f9)],Bi=(_0x14e9d3,_0x564087,_0x3b648b,_0x929629)=>{var _0x4957f9=_0x4cb87c;for(var _0x40b8e4=_0x929629>0x1?void 0x0:_0x929629?ki(_0x564087,_0x3b648b):_0x564087,_0x52d811=_0x14e9d3[_0x4957f9(0x1c5)]-0x1,_0x164c07;_0x52d811>=0x0;_0x52d811--)(_0x164c07=_0x14e9d3[_0x52d811])&&(_0x40b8e4=(_0x929629?_0x164c07(_0x564087,_0x3b648b,_0x40b8e4):_0x164c07(_0x40b8e4))||_0x40b8e4);return _0x929629&&_0x40b8e4&&Hi(_0x564087,_0x3b648b,_0x40b8e4),_0x40b8e4;},Ae=(_0x28b239,_0x31d4f4)=>(_0x1d2d52,_0x53dcd5)=>_0x31d4f4(_0x1d2d52,_0x53dcd5,_0x28b239);let ye=class{constructor(_0x2adbd4,_0x1e267c,_0x23ccfa){var _0x501616=_0x4cb87c;this[_0x501616(0x1c1)]=_0x2adbd4,this[_0x501616(0x39f)]=_0x1e267c,this[_0x501616(0x266)]=_0x23ccfa,this[_0x501616(0x184)]();}[_0x4cb87c(0x184)](){var _0x277a0c=_0x4cb87c;this[_0x277a0c(0x39f)][_0x277a0c(0x3f8)]({'priority':0x1,'interceptor':(_0x3787e1,_0x5a93cd)=>_0x5a93cd(_0x3787e1)['pipe'](H[_0x277a0c(0x285)](async _0x285da7=>{var _0x2f19f6=_0x277a0c;const _0x1a548c=_0x285da7;if(_0x1a548c[_0x2f19f6(0x26b)]===0x191){if(typeof window>'u')throw new Error(_0x2f19f6(0x1a0));if(window['confirm'](this[_0x2f19f6(0x266)]['t']('auth.needGotoLoginAlert'))){const _0x4b06de=window[_0x2f19f6(0x30a)](window['location'][_0x2f19f6(0x451)]);window[_0x2f19f6(0x2df)]['href']=this['_getLoginPath']()+_0x2f19f6(0x2a2)+_0x4b06de;}}return _0x1a548c;}))});}[_0x4cb87c(0x2bf)](){var _0x3fd1af=_0x4cb87c,_0x46a14,_0x542f3e;const _0x1420cc=this[_0x3fd1af(0x1c1)][_0x3fd1af(0x301)](Et),_0x53b633=this[_0x3fd1af(0x1c1)][_0x3fd1af(0x301)](q);return(_0x542f3e=(_0x46a14=_0x53b633==null?void 0x0:_0x53b633[_0x3fd1af(0x19c)])!=null?_0x46a14:_0x1420cc)!=null?_0x542f3e:qt;}};ye=Bi([Ae(0x0,a[_0x4cb87c(0xfe)]),Ae(0x1,a[_0x4cb87c(0x121)](z[_0x4cb87c(0x396)])),Ae(0x2,a['Inject'](a[_0x4cb87c(0x1db)]))],ye);var Fi=Object[_0x4cb87c(0x190)],Wi=Object[_0x4cb87c(0x2f9)],Vi=(_0x190341,_0x391de3,_0x23697a,_0x108302)=>{var _0x3b03e1=_0x4cb87c;for(var _0x366941=_0x108302>0x1?void 0x0:_0x108302?Wi(_0x391de3,_0x23697a):_0x391de3,_0x3e4958=_0x190341[_0x3b03e1(0x1c5)]-0x1,_0xa9d77c;_0x3e4958>=0x0;_0x3e4958--)(_0xa9d77c=_0x190341[_0x3e4958])&&(_0x366941=(_0x108302?_0xa9d77c(_0x391de3,_0x23697a,_0x366941):_0xa9d77c(_0x366941))||_0x366941);return _0x108302&&_0x366941&&Fi(_0x391de3,_0x23697a,_0x366941),_0x366941;},Xe=(_0x492ee4,_0x47ae7a)=>(_0x38aced,_0x35b0de)=>_0x47ae7a(_0x38aced,_0x35b0de,_0x492ee4);const Ge=_0x4cb87c(0x380),Gi=_0x4cb87c(0x170);exports['AuthzIoHttpService']=class extends a[_0x4cb87c(0x40a)]{constructor(_0x235518,_0xc01c2d){var _0x352d48=_0x4cb87c;super(),this[_0x352d48(0x357)]=_0x235518,this['_configService']=_0xc01c2d,this[_0x352d48(0x226)]();}[_0x4cb87c(0x226)](){var _0xa888bc=_0x4cb87c;const _0x587ed0=this;this[_0xa888bc(0x384)](this['_HTTPService'][_0xa888bc(0x3f8)]({'priority':0x3e7,'interceptor':z[_0xa888bc(0x2ff)]({'isMatch'(_0x3829a0){var _0x22433b=_0xa888bc,_0xf15d9a;if(_0x3829a0[_0x22433b(0x3f7)]===_0x22433b(0x269)&&((_0xf15d9a=_0x3829a0['requestParams'])!=null&&_0xf15d9a['body'])){const {objectID:_0x5eb4fe,objectType:_0x36ff4a}=_0x3829a0[_0x22433b(0x3fc)][_0x22433b(0x2f8)]||{};if(!_0x5eb4fe||_0x36ff4a===void 0x0)return!0x1;const _0x147234=_0x587ed0['_getAPIPrefixPath']()+'/'+_0x36ff4a+_0x22433b(0x2eb)+_0x5eb4fe+_0x22433b(0x3b7);if(_0x3829a0[_0x22433b(0x28b)]===_0x147234)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x18c37b){var _0x5db3ab=_0xa888bc,_0x50f038;return(_0x50f038=_0x18c37b[_0x5db3ab(0x3fc)])==null?void 0x0:_0x50f038[_0x5db3ab(0x2f8)];},'mergeParamsToRequest'(_0x517302,_0x5c35d3){var _0x1d0584=_0xa888bc;const _0x97c9c0=_0x587ed0[_0x1d0584(0x21d)]()+_0x1d0584(0x10d),_0x733f0c=_0x517302[_0x1d0584(0x163)]((_0x43f09b,_0x989037)=>{var _0x81bda8=_0x1d0584;const {unitID:_0x4f5227,objectID:_0xd8eda5,objectType:_0x581685,actions:_0x4ac087}=_0x989037;return _0x43f09b[_0x4f5227]||(_0x43f09b[_0x4f5227]={}),_0x43f09b[_0x4f5227][_0xd8eda5]||(_0x43f09b[_0x4f5227][_0xd8eda5]={'objectID':_0xd8eda5,'objectType':_0x581685,'actions':[]}),_0x43f09b[_0x4f5227][_0xd8eda5][_0x81bda8(0x17f)][_0x81bda8(0x397)](..._0x4ac087),_0x43f09b;},{}),_0x47ba4d=[];for(const _0x3933c8 in _0x733f0c)for(const _0x5f3bab in _0x733f0c[_0x3933c8]){const {actions:_0xaf0e55,objectType:_0x7ef240}=_0x733f0c[_0x3933c8][_0x5f3bab],_0x2ba37c=[...new Set(_0xaf0e55)];_0x47ba4d[_0x1d0584(0x397)]({'unitID':_0x3933c8,'objectID':_0x5f3bab,'objectType':_0x7ef240,'actions':_0x2ba37c});}return new z[(_0x1d0584(0x13f))]('POST',_0x97c9c0,{'headers':_0x5c35d3[_0x1d0584(0x252)],'withCredentials':_0x5c35d3['withCredentials'],'responseType':_0x5c35d3[_0x1d0584(0x107)],'body':{'requests':_0x47ba4d}});}},{'distributeResult'(_0x22d164,_0x37de9e){var _0x496b7a=_0xa888bc;const {objectActions:_0x4e413c}=_0x22d164;return _0x37de9e[_0x496b7a(0x3f6)](_0x5c1bf7=>{var _0xe6db7b=_0x496b7a;const {unitID:_0x4df9b1,objectID:_0x240de0,actions:_0x521082}=_0x5c1bf7,_0x5f3c66=_0x4e413c['find'](_0x5137ad=>_0x5137ad[_0xe6db7b(0x167)]===_0x4df9b1&&_0x5137ad[_0xe6db7b(0x13e)]===_0x240de0),_0x46311d=_0x521082[_0xe6db7b(0x3f6)](_0x34b456=>_0x5f3c66==null?void 0x0:_0x5f3c66[_0xe6db7b(0x17f)][_0xe6db7b(0x216)](_0x418941=>_0x418941[_0xe6db7b(0x10b)]===_0x34b456))[_0xe6db7b(0x3ea)](_0x136715=>!!_0x136715);return{'config':_0x5c1bf7,'result':{'actions':_0x46311d,'error':_0x22d164[_0xe6db7b(0x3f3)]}};});}})}));}[_0x4cb87c(0x21d)](){var _0x5ed4ee=_0x4cb87c,_0x2c5101,_0x3dab60;const _0x5f23f8=this[_0x5ed4ee(0x1c1)]['getConfig'](Ge),_0x5d82f0=this[_0x5ed4ee(0x1c1)][_0x5ed4ee(0x301)](q);return(_0x3dab60=(_0x2c5101=_0x5d82f0==null?void 0x0:_0x5d82f0[_0x5ed4ee(0x14d)])!=null?_0x2c5101:_0x5f23f8)!=null?_0x3dab60:Gi;}async['create'](_0x1682e7){var _0xfeba88=_0x4cb87c;const _0x8ef166=this[_0xfeba88(0x21d)]()+'/'+_0x1682e7[_0xfeba88(0x29d)]+_0xfeba88(0x124);return(await this[_0xfeba88(0x357)]['post'](_0x8ef166,{'body':_0x1682e7}))[_0xfeba88(0x2f8)][_0xfeba88(0x13e)]||'';}async['list'](_0x58b897){var _0x26904d=_0x4cb87c;const _0x5499f8=this[_0x26904d(0x21d)]()+_0x26904d(0x2b7);return(await this[_0x26904d(0x357)]['post'](_0x5499f8,{'body':_0x58b897}))[_0x26904d(0x2f8)]['objects'];}async[_0x4cb87c(0x214)](_0x4ef285){var _0x4df709=_0x4cb87c;const _0x32dd53=this[_0x4df709(0x21d)]()+'/'+_0x4ef285[_0x4df709(0x29d)]+'/object/'+_0x4ef285[_0x4df709(0x13e)];await this[_0x4df709(0x357)][_0x4df709(0x38f)](_0x32dd53,{'body':_0x4ef285});}async[_0x4cb87c(0x1ed)](_0x28d09b){var _0xd67541=_0x4cb87c;const _0x1259aa=this[_0xd67541(0x21d)]()+'/'+_0x28d09b[_0xd67541(0x29d)]+_0xd67541(0x2eb)+_0x28d09b['objectID']+_0xd67541(0x3b7);return(await this[_0xd67541(0x357)][_0xd67541(0x1cf)](_0x1259aa,{'body':_0x28d09b}))['body'][_0xd67541(0x17f)];}async['batchAllowed'](_0x53da28){var _0x118589=_0x4cb87c;const _0x336f19=this[_0x118589(0x21d)]()+_0x118589(0x10d);return(await this['_HTTPService'][_0x118589(0x1cf)](_0x336f19,{'body':{'requests':_0x53da28}}))['body'][_0x118589(0x412)];}async[_0x4cb87c(0x361)](_0x5f12e9){var _0x50dc3a=_0x4cb87c;const _0x523f2d=this[_0x50dc3a(0x21d)]()+'/'+_0x5f12e9[_0x50dc3a(0x29d)]+_0x50dc3a(0x2f0),_0x311954=await this[_0x50dc3a(0x357)][_0x50dc3a(0x1cf)](_0x523f2d,{'body':_0x5f12e9});return{'roles':_0x311954['body'][_0x50dc3a(0xef)],'actions':_0x311954[_0x50dc3a(0x2f8)][_0x50dc3a(0x17f)]};}async[_0x4cb87c(0x420)](_0x182b77){var _0x47aa63=_0x4cb87c;const _0x342211=this[_0x47aa63(0x21d)]()+_0x47aa63(0x3b8);await this[_0x47aa63(0x357)]['delete'](_0x342211,{'params':{'collaboratorID':_0x182b77['collaboratorID'],'objectID':_0x182b77[_0x47aa63(0x13e)],'unitID':_0x182b77[_0x47aa63(0x167)]}});}async[_0x4cb87c(0x460)](_0x31ef29){var _0x446c6a=_0x4cb87c;const _0x56173c=this[_0x446c6a(0x21d)]()+_0x446c6a(0x3b8);await this[_0x446c6a(0x357)]['patch'](_0x56173c,{'body':_0x31ef29});}async[_0x4cb87c(0x103)](_0x42127f){var _0x4dcc21=_0x4cb87c;const _0x2070d9=this['_getAPIPrefixPath']()+_0x4dcc21(0x3b8);await this['_HTTPService'][_0x4dcc21(0x1cf)](_0x2070d9,{'body':_0x42127f});}async['listCollaborators'](_0x2892cc){var _0x537686=_0x4cb87c;const _0x1f891a=this[_0x537686(0x21d)]()+_0x537686(0x3b8);return(await this[_0x537686(0x357)][_0x537686(0x2cf)](_0x1f891a,{'params':{'objectID':_0x2892cc[_0x537686(0x13e)],'unitID':_0x2892cc['unitID']}}))[_0x537686(0x2f8)][_0x537686(0x448)];}async[_0x4cb87c(0x42b)](_0x467b65){var _0x50cdcc=_0x4cb87c;const _0x307e3f=this[_0x50cdcc(0x21d)]()+_0x50cdcc(0x3b8);await this[_0x50cdcc(0x357)][_0x50cdcc(0x38f)](_0x307e3f,{'body':_0x467b65});}},exports[_0x4cb87c(0x1ef)]=Vi([Xe(0x0,a[_0x4cb87c(0x121)](z[_0x4cb87c(0x396)])),Xe(0x1,a[_0x4cb87c(0x121)](a['IConfigService']))],exports[_0x4cb87c(0x1ef)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0xbffd98){var _0x171fba=_0x4cb87c;return _0xbffd98&&_0xbffd98[_0x171fba(0x40d)]&&Object['prototype']['hasOwnProperty']['call'](_0xbffd98,_0x171fba(0x3ae))?_0xbffd98['default']:_0xbffd98;}var Se={'exports':{}};function Ki(_0x4761ec){var _0xb1d88=_0x4cb87c;throw new Error(_0xb1d88(0x322)+_0x4761ec+_0xb1d88(0x125));}var pe={'exports':{}},Yi=pe[_0x4cb87c(0x3dc)],Ze;function ee(){var _0x25b720=_0x4cb87c;return Ze||(Ze=0x1,function(_0x38fd69,_0x3d28af){(function(_0x265c2b,_0x424d8e){var _0x5c643c=_0xbd70;_0x38fd69[_0x5c643c(0x3dc)]=_0x424d8e();}(Yi,function(){var _0x26dcc2=_0x26dcc2||function(_0x4f071c,_0x5ac05a){var _0x501528=_0xbd70,_0x2efd9d;if(typeof window<'u'&&window[_0x501528(0x2f4)]&&(_0x2efd9d=window['crypto']),typeof self<'u'&&self[_0x501528(0x2f4)]&&(_0x2efd9d=self[_0x501528(0x2f4)]),typeof globalThis<'u'&&globalThis[_0x501528(0x2f4)]&&(_0x2efd9d=globalThis['crypto']),!_0x2efd9d&&typeof window<'u'&&window[_0x501528(0x41a)]&&(_0x2efd9d=window['msCrypto']),!_0x2efd9d&&typeof Le<'u'&&Le[_0x501528(0x2f4)]&&(_0x2efd9d=Le[_0x501528(0x2f4)]),!_0x2efd9d&&typeof Ki==_0x501528(0x122))try{_0x2efd9d=require(_0x501528(0x2f4));}catch{}var _0x7ebf4a=function(){var _0x5952eb=_0x501528;if(_0x2efd9d){if(typeof _0x2efd9d[_0x5952eb(0x286)]==_0x5952eb(0x122))try{return _0x2efd9d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2efd9d[_0x5952eb(0x298)]=='function')try{return _0x2efd9d[_0x5952eb(0x298)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5952eb(0x288));},_0x1a2caf=Object[_0x501528(0x32e)]||(function(){function _0x3dc425(){}return function(_0x2fe818){var _0x558e5f=_0xbd70,_0x5e7126;return _0x3dc425[_0x558e5f(0x2b5)]=_0x2fe818,_0x5e7126=new _0x3dc425(),_0x3dc425[_0x558e5f(0x2b5)]=null,_0x5e7126;};}()),_0x12c464={},_0x488460=_0x12c464['lib']={},_0x50a11e=_0x488460['Base']=(function(){return{'extend':function(_0x22cf4f){var _0x111516=_0xbd70,_0x489f0a=_0x1a2caf(this);return _0x22cf4f&&_0x489f0a[_0x111516(0x18b)](_0x22cf4f),(!_0x489f0a['hasOwnProperty'](_0x111516(0x184))||this['init']===_0x489f0a[_0x111516(0x184)])&&(_0x489f0a[_0x111516(0x184)]=function(){var _0x1fa726=_0x111516;_0x489f0a[_0x1fa726(0x242)][_0x1fa726(0x184)][_0x1fa726(0x1f5)](this,arguments);}),_0x489f0a['init']['prototype']=_0x489f0a,_0x489f0a[_0x111516(0x242)]=this,_0x489f0a;},'create':function(){var _0x53f131=_0xbd70,_0xa4b469=this[_0x53f131(0x118)]();return _0xa4b469[_0x53f131(0x184)][_0x53f131(0x1f5)](_0xa4b469,arguments),_0xa4b469;},'init':function(){},'mixIn':function(_0x378b40){var _0x15abe2=_0xbd70;for(var _0x1f8067 in _0x378b40)_0x378b40['hasOwnProperty'](_0x1f8067)&&(this[_0x1f8067]=_0x378b40[_0x1f8067]);_0x378b40[_0x15abe2(0x328)]('toString')&&(this['toString']=_0x378b40[_0x15abe2(0x354)]);},'clone':function(){var _0x3b0091=_0xbd70;return this[_0x3b0091(0x184)][_0x3b0091(0x2b5)][_0x3b0091(0x118)](this);}};}()),_0x3e78f5=_0x488460[_0x501528(0x440)]=_0x50a11e[_0x501528(0x118)]({'init':function(_0x47b7f8,_0x3bb6b1){var _0xf8f43b=_0x501528;_0x47b7f8=this[_0xf8f43b(0x413)]=_0x47b7f8||[],_0x3bb6b1!=_0x5ac05a?this[_0xf8f43b(0x1b6)]=_0x3bb6b1:this[_0xf8f43b(0x1b6)]=_0x47b7f8[_0xf8f43b(0x1c5)]*0x4;},'toString':function(_0x4ce086){var _0x1b5203=_0x501528;return(_0x4ce086||_0x5b8845)[_0x1b5203(0x2ae)](this);},'concat':function(_0x4d3423){var _0x385e12=_0x501528,_0x106aa8=this[_0x385e12(0x413)],_0x10337=_0x4d3423[_0x385e12(0x413)],_0x317f0e=this[_0x385e12(0x1b6)],_0x4bb6bc=_0x4d3423['sigBytes'];if(this[_0x385e12(0x29e)](),_0x317f0e%0x4)for(var _0x34627a=0x0;_0x34627a<_0x4bb6bc;_0x34627a++){var _0x5af783=_0x10337[_0x34627a>>>0x2]>>>0x18-_0x34627a%0x4*0x8&0xff;_0x106aa8[_0x317f0e+_0x34627a>>>0x2]|=_0x5af783<<0x18-(_0x317f0e+_0x34627a)%0x4*0x8;}else{for(var _0x32aee3=0x0;_0x32aee3<_0x4bb6bc;_0x32aee3+=0x4)_0x106aa8[_0x317f0e+_0x32aee3>>>0x2]=_0x10337[_0x32aee3>>>0x2];}return this[_0x385e12(0x1b6)]+=_0x4bb6bc,this;},'clamp':function(){var _0x13835c=_0x501528,_0x2acda8=this[_0x13835c(0x413)],_0x39b053=this[_0x13835c(0x1b6)];_0x2acda8[_0x39b053>>>0x2]&=0xffffffff<<0x20-_0x39b053%0x4*0x8,_0x2acda8['length']=_0x4f071c['ceil'](_0x39b053/0x4);},'clone':function(){var _0x14977d=_0x501528,_0x28f5d5=_0x50a11e[_0x14977d(0x3d0)][_0x14977d(0x1ab)](this);return _0x28f5d5[_0x14977d(0x413)]=this[_0x14977d(0x413)][_0x14977d(0x3a8)](0x0),_0x28f5d5;},'random':function(_0x4e61d0){var _0x5dff19=_0x501528;for(var _0x306f17=[],_0x440b54=0x0;_0x440b54<_0x4e61d0;_0x440b54+=0x4)_0x306f17[_0x5dff19(0x397)](_0x7ebf4a());return new _0x3e78f5['init'](_0x306f17,_0x4e61d0);}}),_0x2e31eb=_0x12c464[_0x501528(0x1a1)]={},_0x5b8845=_0x2e31eb[_0x501528(0x105)]={'stringify':function(_0x197ea1){var _0x356808=_0x501528;for(var _0x18d7a3=_0x197ea1[_0x356808(0x413)],_0x4d7cf4=_0x197ea1['sigBytes'],_0x5bed07=[],_0x1ba8c9=0x0;_0x1ba8c9<_0x4d7cf4;_0x1ba8c9++){var _0x50a7ea=_0x18d7a3[_0x1ba8c9>>>0x2]>>>0x18-_0x1ba8c9%0x4*0x8&0xff;_0x5bed07[_0x356808(0x397)]((_0x50a7ea>>>0x4)[_0x356808(0x354)](0x10)),_0x5bed07[_0x356808(0x397)]((_0x50a7ea&0xf)['toString'](0x10));}return _0x5bed07[_0x356808(0x407)]('');},'parse':function(_0x3d21b5){var _0x1da952=_0x501528;for(var _0x365fa2=_0x3d21b5[_0x1da952(0x1c5)],_0x2b9929=[],_0x47ec72=0x0;_0x47ec72<_0x365fa2;_0x47ec72+=0x2)_0x2b9929[_0x47ec72>>>0x3]|=parseInt(_0x3d21b5[_0x1da952(0x2f5)](_0x47ec72,0x2),0x10)<<0x18-_0x47ec72%0x8*0x4;return new _0x3e78f5[(_0x1da952(0x184))](_0x2b9929,_0x365fa2/0x2);}},_0x49739f=_0x2e31eb['Latin1']={'stringify':function(_0x101806){var _0x236486=_0x501528;for(var _0x5a40ab=_0x101806[_0x236486(0x413)],_0x16ae9a=_0x101806[_0x236486(0x1b6)],_0x1efd26=[],_0x5bcc31=0x0;_0x5bcc31<_0x16ae9a;_0x5bcc31++){var _0x149f37=_0x5a40ab[_0x5bcc31>>>0x2]>>>0x18-_0x5bcc31%0x4*0x8&0xff;_0x1efd26['push'](String[_0x236486(0x33e)](_0x149f37));}return _0x1efd26['join']('');},'parse':function(_0x172570){var _0x2de134=_0x501528;for(var _0x106f2c=_0x172570['length'],_0x1f00b3=[],_0x22d786=0x0;_0x22d786<_0x106f2c;_0x22d786++)_0x1f00b3[_0x22d786>>>0x2]|=(_0x172570[_0x2de134(0x3af)](_0x22d786)&0xff)<<0x18-_0x22d786%0x4*0x8;return new _0x3e78f5[(_0x2de134(0x184))](_0x1f00b3,_0x106f2c);}},_0x3a3668=_0x2e31eb[_0x501528(0x2cb)]={'stringify':function(_0x2e7eec){var _0xc7de10=_0x501528;try{return decodeURIComponent(escape(_0x49739f[_0xc7de10(0x2ae)](_0x2e7eec)));}catch{throw new Error(_0xc7de10(0x462));}},'parse':function(_0x577606){var _0xfdba9a=_0x501528;return _0x49739f[_0xfdba9a(0x26c)](unescape(encodeURIComponent(_0x577606)));}},_0x34765d=_0x488460[_0x501528(0x1e7)]=_0x50a11e[_0x501528(0x118)]({'reset':function(){var _0x7c6e19=_0x501528;this[_0x7c6e19(0x2c9)]=new _0x3e78f5[(_0x7c6e19(0x184))](),this[_0x7c6e19(0x349)]=0x0;},'_append':function(_0x474b55){var _0x15c8df=_0x501528;typeof _0x474b55=='string'&&(_0x474b55=_0x3a3668[_0x15c8df(0x26c)](_0x474b55)),this[_0x15c8df(0x2c9)]['concat'](_0x474b55),this['_nDataBytes']+=_0x474b55[_0x15c8df(0x1b6)];},'_process':function(_0x50e55b){var _0x415145=_0x501528,_0xb0c898,_0x4ae9bc=this[_0x415145(0x2c9)],_0x51e5ea=_0x4ae9bc[_0x415145(0x413)],_0x331c37=_0x4ae9bc['sigBytes'],_0xf3d716=this[_0x415145(0x2c0)],_0x4868e3=_0xf3d716*0x4,_0x5ddd26=_0x331c37/_0x4868e3;_0x50e55b?_0x5ddd26=_0x4f071c[_0x415145(0x27e)](_0x5ddd26):_0x5ddd26=_0x4f071c[_0x415145(0x28d)]((_0x5ddd26|0x0)-this[_0x415145(0xdd)],0x0);var _0x4a5992=_0x5ddd26*_0xf3d716,_0x28d4b9=_0x4f071c['min'](_0x4a5992*0x4,_0x331c37);if(_0x4a5992){for(var _0x57a27e=0x0;_0x57a27e<_0x4a5992;_0x57a27e+=_0xf3d716)this[_0x415145(0x31b)](_0x51e5ea,_0x57a27e);_0xb0c898=_0x51e5ea[_0x415145(0x28a)](0x0,_0x4a5992),_0x4ae9bc['sigBytes']-=_0x28d4b9;}return new _0x3e78f5[(_0x415145(0x184))](_0xb0c898,_0x28d4b9);},'clone':function(){var _0x208a0b=_0x501528,_0x378417=_0x50a11e[_0x208a0b(0x3d0)][_0x208a0b(0x1ab)](this);return _0x378417[_0x208a0b(0x2c9)]=this[_0x208a0b(0x2c9)][_0x208a0b(0x3d0)](),_0x378417;},'_minBufferSize':0x0});_0x488460[_0x501528(0xdf)]=_0x34765d[_0x501528(0x118)]({'cfg':_0x50a11e[_0x501528(0x118)](),'init':function(_0x446261){var _0x5a21d4=_0x501528;this[_0x5a21d4(0x303)]=this['cfg'][_0x5a21d4(0x118)](_0x446261),this[_0x5a21d4(0x350)]();},'reset':function(){var _0x5dc7e9=_0x501528;_0x34765d[_0x5dc7e9(0x350)][_0x5dc7e9(0x1ab)](this),this[_0x5dc7e9(0x21a)]();},'update':function(_0xde45ff){var _0x286643=_0x501528;return this['_append'](_0xde45ff),this[_0x286643(0x134)](),this;},'finalize':function(_0x332ed7){var _0x4d4fd6=_0x501528;_0x332ed7&&this[_0x4d4fd6(0x24b)](_0x332ed7);var _0x13a8f1=this[_0x4d4fd6(0x38d)]();return _0x13a8f1;},'blockSize':0x10,'_createHelper':function(_0x585d03){return function(_0x304eda,_0x5b1b7b){var _0x40dc39=_0xbd70;return new _0x585d03['init'](_0x5b1b7b)[_0x40dc39(0x21f)](_0x304eda);};},'_createHmacHelper':function(_0x3e051c){return function(_0x4f1dd9,_0x492ed8){var _0x47173b=_0xbd70;return new _0x381682[(_0x47173b(0x1d4))][(_0x47173b(0x184))](_0x3e051c,_0x492ed8)['finalize'](_0x4f1dd9);};}});var _0x381682=_0x12c464['algo']={};return _0x12c464;}(Math);return _0x26dcc2;}));}(pe)),pe[_0x25b720(0x3dc)];}var ge={'exports':{}},qi=ge['exports'],Qe;function Ut(){var _0x27a302=_0x4cb87c;return Qe||(Qe=0x1,function(_0xf07cdb,_0x177e55){(function(_0x3570bf,_0x3b1cb3){var _0x2384a8=_0xbd70;_0xf07cdb[_0x2384a8(0x3dc)]=_0x3b1cb3(ee());}(qi,function(_0x14be80){var _0x53b796=_0xbd70;return(function(){var _0x2a43a2=_0xbd70,_0x50a886=_0x14be80,_0x41219f=_0x50a886['lib'],_0x26b426=_0x41219f[_0x2a43a2(0x440)],_0x261b9f=_0x50a886[_0x2a43a2(0x1a1)];_0x261b9f['Base64']={'stringify':function(_0x4359bc){var _0x57501a=_0x2a43a2,_0x114ea5=_0x4359bc['words'],_0x2d1375=_0x4359bc[_0x57501a(0x1b6)],_0x59ec1d=this[_0x57501a(0x28f)];_0x4359bc['clamp']();for(var _0x3b527e=[],_0x504353=0x0;_0x504353<_0x2d1375;_0x504353+=0x3)for(var _0x13c0ef=_0x114ea5[_0x504353>>>0x2]>>>0x18-_0x504353%0x4*0x8&0xff,_0x28ccd6=_0x114ea5[_0x504353+0x1>>>0x2]>>>0x18-(_0x504353+0x1)%0x4*0x8&0xff,_0x5a4b99=_0x114ea5[_0x504353+0x2>>>0x2]>>>0x18-(_0x504353+0x2)%0x4*0x8&0xff,_0x295798=_0x13c0ef<<0x10|_0x28ccd6<<0x8|_0x5a4b99,_0x2ea3df=0x0;_0x2ea3df<0x4&&_0x504353+_0x2ea3df*0.75<_0x2d1375;_0x2ea3df++)_0x3b527e[_0x57501a(0x397)](_0x59ec1d[_0x57501a(0x3ff)](_0x295798>>>0x6*(0x3-_0x2ea3df)&0x3f));var _0x4af4ef=_0x59ec1d[_0x57501a(0x3ff)](0x40);if(_0x4af4ef){for(;_0x3b527e[_0x57501a(0x1c5)]%0x4;)_0x3b527e[_0x57501a(0x397)](_0x4af4ef);}return _0x3b527e['join']('');},'parse':function(_0x51b005){var _0x46e573=_0x2a43a2,_0x448781=_0x51b005[_0x46e573(0x1c5)],_0x27a89a=this[_0x46e573(0x28f)],_0x5eb1ea=this[_0x46e573(0x433)];if(!_0x5eb1ea){_0x5eb1ea=this[_0x46e573(0x433)]=[];for(var _0x976cf8=0x0;_0x976cf8<_0x27a89a[_0x46e573(0x1c5)];_0x976cf8++)_0x5eb1ea[_0x27a89a['charCodeAt'](_0x976cf8)]=_0x976cf8;}var _0x199e13=_0x27a89a[_0x46e573(0x3ff)](0x40);if(_0x199e13){var _0x57ae96=_0x51b005['indexOf'](_0x199e13);_0x57ae96!==-0x1&&(_0x448781=_0x57ae96);}return _0x58b72a(_0x51b005,_0x448781,_0x5eb1ea);},'_map':_0x2a43a2(0x24a)};function _0x58b72a(_0xadcd92,_0x16b108,_0x55906c){var _0x5776ab=_0x2a43a2;for(var _0x5bd10d=[],_0x305615=0x0,_0x47a921=0x0;_0x47a921<_0x16b108;_0x47a921++)if(_0x47a921%0x4){var _0x2f9dbd=_0x55906c[_0xadcd92[_0x5776ab(0x3af)](_0x47a921-0x1)]<<_0x47a921%0x4*0x2,_0x40eda5=_0x55906c[_0xadcd92[_0x5776ab(0x3af)](_0x47a921)]>>>0x6-_0x47a921%0x4*0x2,_0x1ac0ce=_0x2f9dbd|_0x40eda5;_0x5bd10d[_0x305615>>>0x2]|=_0x1ac0ce<<0x18-_0x305615%0x4*0x8,_0x305615++;}return _0x26b426[_0x5776ab(0x32e)](_0x5bd10d,_0x305615);}}()),_0x14be80[_0x53b796(0x1a1)][_0x53b796(0x194)];}));}(ge)),ge[_0x27a302(0x3dc)];}var me={'exports':{}},zi=me[_0x4cb87c(0x3dc)],et;function Ji(){var _0x37fab8=_0x4cb87c;return et||(et=0x1,function(_0x540364,_0x338d12){(function(_0xd8ffd4,_0x23a15f){var _0x490558=_0xbd70;_0x540364[_0x490558(0x3dc)]=_0x23a15f(ee());}(zi,function(_0x1ef769){return function(_0x2fc844){var _0x8ce82e=_0xbd70,_0x32994a=_0x1ef769,_0x3408b9=_0x32994a[_0x8ce82e(0xe6)],_0x454dd8=_0x3408b9[_0x8ce82e(0x440)],_0x2bfb4b=_0x3408b9[_0x8ce82e(0xdf)],_0x33a4b8=_0x32994a[_0x8ce82e(0x44a)],_0x306331=[];(function(){var _0x9d7f8d=_0x8ce82e;for(var _0x22d2a4=0x0;_0x22d2a4<0x40;_0x22d2a4++)_0x306331[_0x22d2a4]=_0x2fc844[_0x9d7f8d(0x416)](_0x2fc844['sin'](_0x22d2a4+0x1))*0x100000000|0x0;}());var _0x1f87fa=_0x33a4b8[_0x8ce82e(0x395)]=_0x2bfb4b[_0x8ce82e(0x118)]({'_doReset':function(){var _0x24233e=_0x8ce82e;this['_hash']=new _0x454dd8[(_0x24233e(0x184))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e57c0,_0x2c5a42){var _0x4004fc=_0x8ce82e;for(var _0x509102=0x0;_0x509102<0x10;_0x509102++){var _0x89e0db=_0x2c5a42+_0x509102,_0x3b9073=_0x2e57c0[_0x89e0db];_0x2e57c0[_0x89e0db]=(_0x3b9073<<0x8|_0x3b9073>>>0x18)&0xff00ff|(_0x3b9073<<0x18|_0x3b9073>>>0x8)&0xff00ff00;}var _0x4b7001=this['_hash'][_0x4004fc(0x413)],_0x762b99=_0x2e57c0[_0x2c5a42+0x0],_0x1ad5a9=_0x2e57c0[_0x2c5a42+0x1],_0x448992=_0x2e57c0[_0x2c5a42+0x2],_0x20a673=_0x2e57c0[_0x2c5a42+0x3],_0x3d3fbe=_0x2e57c0[_0x2c5a42+0x4],_0x3af77a=_0x2e57c0[_0x2c5a42+0x5],_0x57049a=_0x2e57c0[_0x2c5a42+0x6],_0x307e76=_0x2e57c0[_0x2c5a42+0x7],_0x13f989=_0x2e57c0[_0x2c5a42+0x8],_0x1170ac=_0x2e57c0[_0x2c5a42+0x9],_0x4c01d8=_0x2e57c0[_0x2c5a42+0xa],_0xe0639c=_0x2e57c0[_0x2c5a42+0xb],_0x34cbd=_0x2e57c0[_0x2c5a42+0xc],_0x5402c9=_0x2e57c0[_0x2c5a42+0xd],_0x50ec80=_0x2e57c0[_0x2c5a42+0xe],_0x2f70e8=_0x2e57c0[_0x2c5a42+0xf],_0x54c777=_0x4b7001[0x0],_0x43fd23=_0x4b7001[0x1],_0x1b9f08=_0x4b7001[0x2],_0xac79df=_0x4b7001[0x3];_0x54c777=_0x21a331(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x762b99,0x7,_0x306331[0x0]),_0xac79df=_0x21a331(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x1ad5a9,0xc,_0x306331[0x1]),_0x1b9f08=_0x21a331(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x448992,0x11,_0x306331[0x2]),_0x43fd23=_0x21a331(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x20a673,0x16,_0x306331[0x3]),_0x54c777=_0x21a331(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x3d3fbe,0x7,_0x306331[0x4]),_0xac79df=_0x21a331(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x3af77a,0xc,_0x306331[0x5]),_0x1b9f08=_0x21a331(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x57049a,0x11,_0x306331[0x6]),_0x43fd23=_0x21a331(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x307e76,0x16,_0x306331[0x7]),_0x54c777=_0x21a331(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x13f989,0x7,_0x306331[0x8]),_0xac79df=_0x21a331(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x1170ac,0xc,_0x306331[0x9]),_0x1b9f08=_0x21a331(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x4c01d8,0x11,_0x306331[0xa]),_0x43fd23=_0x21a331(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0xe0639c,0x16,_0x306331[0xb]),_0x54c777=_0x21a331(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x34cbd,0x7,_0x306331[0xc]),_0xac79df=_0x21a331(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x5402c9,0xc,_0x306331[0xd]),_0x1b9f08=_0x21a331(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x50ec80,0x11,_0x306331[0xe]),_0x43fd23=_0x21a331(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x2f70e8,0x16,_0x306331[0xf]),_0x54c777=_0x42b1d0(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x1ad5a9,0x5,_0x306331[0x10]),_0xac79df=_0x42b1d0(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x57049a,0x9,_0x306331[0x11]),_0x1b9f08=_0x42b1d0(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0xe0639c,0xe,_0x306331[0x12]),_0x43fd23=_0x42b1d0(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x762b99,0x14,_0x306331[0x13]),_0x54c777=_0x42b1d0(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x3af77a,0x5,_0x306331[0x14]),_0xac79df=_0x42b1d0(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x4c01d8,0x9,_0x306331[0x15]),_0x1b9f08=_0x42b1d0(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x2f70e8,0xe,_0x306331[0x16]),_0x43fd23=_0x42b1d0(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x3d3fbe,0x14,_0x306331[0x17]),_0x54c777=_0x42b1d0(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x1170ac,0x5,_0x306331[0x18]),_0xac79df=_0x42b1d0(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x50ec80,0x9,_0x306331[0x19]),_0x1b9f08=_0x42b1d0(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x20a673,0xe,_0x306331[0x1a]),_0x43fd23=_0x42b1d0(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x13f989,0x14,_0x306331[0x1b]),_0x54c777=_0x42b1d0(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x5402c9,0x5,_0x306331[0x1c]),_0xac79df=_0x42b1d0(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x448992,0x9,_0x306331[0x1d]),_0x1b9f08=_0x42b1d0(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x307e76,0xe,_0x306331[0x1e]),_0x43fd23=_0x42b1d0(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x34cbd,0x14,_0x306331[0x1f]),_0x54c777=_0x29b0fa(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x3af77a,0x4,_0x306331[0x20]),_0xac79df=_0x29b0fa(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x13f989,0xb,_0x306331[0x21]),_0x1b9f08=_0x29b0fa(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0xe0639c,0x10,_0x306331[0x22]),_0x43fd23=_0x29b0fa(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x50ec80,0x17,_0x306331[0x23]),_0x54c777=_0x29b0fa(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x1ad5a9,0x4,_0x306331[0x24]),_0xac79df=_0x29b0fa(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x3d3fbe,0xb,_0x306331[0x25]),_0x1b9f08=_0x29b0fa(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x307e76,0x10,_0x306331[0x26]),_0x43fd23=_0x29b0fa(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x4c01d8,0x17,_0x306331[0x27]),_0x54c777=_0x29b0fa(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x5402c9,0x4,_0x306331[0x28]),_0xac79df=_0x29b0fa(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x762b99,0xb,_0x306331[0x29]),_0x1b9f08=_0x29b0fa(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x20a673,0x10,_0x306331[0x2a]),_0x43fd23=_0x29b0fa(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x57049a,0x17,_0x306331[0x2b]),_0x54c777=_0x29b0fa(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x1170ac,0x4,_0x306331[0x2c]),_0xac79df=_0x29b0fa(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x34cbd,0xb,_0x306331[0x2d]),_0x1b9f08=_0x29b0fa(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x2f70e8,0x10,_0x306331[0x2e]),_0x43fd23=_0x29b0fa(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x448992,0x17,_0x306331[0x2f]),_0x54c777=_0x32c48c(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x762b99,0x6,_0x306331[0x30]),_0xac79df=_0x32c48c(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x307e76,0xa,_0x306331[0x31]),_0x1b9f08=_0x32c48c(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x50ec80,0xf,_0x306331[0x32]),_0x43fd23=_0x32c48c(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x3af77a,0x15,_0x306331[0x33]),_0x54c777=_0x32c48c(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x34cbd,0x6,_0x306331[0x34]),_0xac79df=_0x32c48c(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x20a673,0xa,_0x306331[0x35]),_0x1b9f08=_0x32c48c(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x4c01d8,0xf,_0x306331[0x36]),_0x43fd23=_0x32c48c(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x1ad5a9,0x15,_0x306331[0x37]),_0x54c777=_0x32c48c(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x13f989,0x6,_0x306331[0x38]),_0xac79df=_0x32c48c(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0x2f70e8,0xa,_0x306331[0x39]),_0x1b9f08=_0x32c48c(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x57049a,0xf,_0x306331[0x3a]),_0x43fd23=_0x32c48c(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x5402c9,0x15,_0x306331[0x3b]),_0x54c777=_0x32c48c(_0x54c777,_0x43fd23,_0x1b9f08,_0xac79df,_0x3d3fbe,0x6,_0x306331[0x3c]),_0xac79df=_0x32c48c(_0xac79df,_0x54c777,_0x43fd23,_0x1b9f08,_0xe0639c,0xa,_0x306331[0x3d]),_0x1b9f08=_0x32c48c(_0x1b9f08,_0xac79df,_0x54c777,_0x43fd23,_0x448992,0xf,_0x306331[0x3e]),_0x43fd23=_0x32c48c(_0x43fd23,_0x1b9f08,_0xac79df,_0x54c777,_0x1170ac,0x15,_0x306331[0x3f]),_0x4b7001[0x0]=_0x4b7001[0x0]+_0x54c777|0x0,_0x4b7001[0x1]=_0x4b7001[0x1]+_0x43fd23|0x0,_0x4b7001[0x2]=_0x4b7001[0x2]+_0x1b9f08|0x0,_0x4b7001[0x3]=_0x4b7001[0x3]+_0xac79df|0x0;},'_doFinalize':function(){var _0x28fa74=_0x8ce82e,_0x4f4a12=this[_0x28fa74(0x2c9)],_0x4de2b1=_0x4f4a12['words'],_0x1343e8=this[_0x28fa74(0x349)]*0x8,_0xf59197=_0x4f4a12[_0x28fa74(0x1b6)]*0x8;_0x4de2b1[_0xf59197>>>0x5]|=0x80<<0x18-_0xf59197%0x20;var _0xcb4cb7=_0x2fc844[_0x28fa74(0x42c)](_0x1343e8/0x100000000),_0x5ec5f2=_0x1343e8;_0x4de2b1[(_0xf59197+0x40>>>0x9<<0x4)+0xf]=(_0xcb4cb7<<0x8|_0xcb4cb7>>>0x18)&0xff00ff|(_0xcb4cb7<<0x18|_0xcb4cb7>>>0x8)&0xff00ff00,_0x4de2b1[(_0xf59197+0x40>>>0x9<<0x4)+0xe]=(_0x5ec5f2<<0x8|_0x5ec5f2>>>0x18)&0xff00ff|(_0x5ec5f2<<0x18|_0x5ec5f2>>>0x8)&0xff00ff00,_0x4f4a12[_0x28fa74(0x1b6)]=(_0x4de2b1[_0x28fa74(0x1c5)]+0x1)*0x4,this[_0x28fa74(0x134)]();for(var _0x2f9026=this[_0x28fa74(0x275)],_0x68e58f=_0x2f9026[_0x28fa74(0x413)],_0xcca7cf=0x0;_0xcca7cf<0x4;_0xcca7cf++){var _0x374e13=_0x68e58f[_0xcca7cf];_0x68e58f[_0xcca7cf]=(_0x374e13<<0x8|_0x374e13>>>0x18)&0xff00ff|(_0x374e13<<0x18|_0x374e13>>>0x8)&0xff00ff00;}return _0x2f9026;},'clone':function(){var _0x406c04=_0x8ce82e,_0x30ab14=_0x2bfb4b[_0x406c04(0x3d0)][_0x406c04(0x1ab)](this);return _0x30ab14[_0x406c04(0x275)]=this[_0x406c04(0x275)][_0x406c04(0x3d0)](),_0x30ab14;}});function _0x21a331(_0x38661f,_0x584ae3,_0x383ae7,_0x1b8415,_0x113743,_0x2dfd25,_0xaad910){var _0x4cfa07=_0x38661f+(_0x584ae3&_0x383ae7|~_0x584ae3&_0x1b8415)+_0x113743+_0xaad910;return(_0x4cfa07<<_0x2dfd25|_0x4cfa07>>>0x20-_0x2dfd25)+_0x584ae3;}function _0x42b1d0(_0x3c9451,_0x139292,_0x511129,_0x17277b,_0x4dd131,_0x5dbb1f,_0x11863f){var _0x317f3e=_0x3c9451+(_0x139292&_0x17277b|_0x511129&~_0x17277b)+_0x4dd131+_0x11863f;return(_0x317f3e<<_0x5dbb1f|_0x317f3e>>>0x20-_0x5dbb1f)+_0x139292;}function _0x29b0fa(_0x181922,_0x4afdf7,_0x46f24a,_0x460ded,_0x1280d9,_0x5d393b,_0x1e2fea){var _0x23f4f1=_0x181922+(_0x4afdf7^_0x46f24a^_0x460ded)+_0x1280d9+_0x1e2fea;return(_0x23f4f1<<_0x5d393b|_0x23f4f1>>>0x20-_0x5d393b)+_0x4afdf7;}function _0x32c48c(_0x397810,_0x187ea9,_0xc0217f,_0x5b2216,_0x35529c,_0x1cf225,_0x329015){var _0x22ad95=_0x397810+(_0xc0217f^(_0x187ea9|~_0x5b2216))+_0x35529c+_0x329015;return(_0x22ad95<<_0x1cf225|_0x22ad95>>>0x20-_0x1cf225)+_0x187ea9;}_0x32994a[_0x8ce82e(0x395)]=_0x2bfb4b[_0x8ce82e(0x33c)](_0x1f87fa),_0x32994a['HmacMD5']=_0x2bfb4b[_0x8ce82e(0x205)](_0x1f87fa);}(Math),_0x1ef769['MD5'];}));}(me)),me[_0x37fab8(0x3dc)];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee['exports'],tt;function Zi(){var _0x2b203f=_0x4cb87c;return tt||(tt=0x1,function(_0x12b359,_0x3b32b9){(function(_0x11f207,_0x30b998){var _0x5cc6ed=_0xbd70;_0x12b359[_0x5cc6ed(0x3dc)]=_0x30b998(ee());}(Xi,function(_0x2bb91f){return(function(){var _0x11bead=_0xbd70,_0x55ccb5=_0x2bb91f,_0x436934=_0x55ccb5['lib'],_0x3911a0=_0x436934[_0x11bead(0x440)],_0x36ecbb=_0x436934[_0x11bead(0xdf)],_0x25be42=_0x55ccb5[_0x11bead(0x44a)],_0x5d1fa9=[],_0x42f69c=_0x25be42['SHA1']=_0x36ecbb[_0x11bead(0x118)]({'_doReset':function(){var _0x409d9f=_0x11bead;this['_hash']=new _0x3911a0[(_0x409d9f(0x184))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4ca6e6,_0x559c30){var _0x1dd3bf=_0x11bead;for(var _0x47c4ea=this[_0x1dd3bf(0x275)]['words'],_0x25f856=_0x47c4ea[0x0],_0x4f92e0=_0x47c4ea[0x1],_0x4f2e4f=_0x47c4ea[0x2],_0x4b6f5a=_0x47c4ea[0x3],_0x170f5c=_0x47c4ea[0x4],_0x3b0f39=0x0;_0x3b0f39<0x50;_0x3b0f39++){if(_0x3b0f39<0x10)_0x5d1fa9[_0x3b0f39]=_0x4ca6e6[_0x559c30+_0x3b0f39]|0x0;else{var _0x389af8=_0x5d1fa9[_0x3b0f39-0x3]^_0x5d1fa9[_0x3b0f39-0x8]^_0x5d1fa9[_0x3b0f39-0xe]^_0x5d1fa9[_0x3b0f39-0x10];_0x5d1fa9[_0x3b0f39]=_0x389af8<<0x1|_0x389af8>>>0x1f;}var _0x4f3352=(_0x25f856<<0x5|_0x25f856>>>0x1b)+_0x170f5c+_0x5d1fa9[_0x3b0f39];_0x3b0f39<0x14?_0x4f3352+=(_0x4f92e0&_0x4f2e4f|~_0x4f92e0&_0x4b6f5a)+0x5a827999:_0x3b0f39<0x28?_0x4f3352+=(_0x4f92e0^_0x4f2e4f^_0x4b6f5a)+0x6ed9eba1:_0x3b0f39<0x3c?_0x4f3352+=(_0x4f92e0&_0x4f2e4f|_0x4f92e0&_0x4b6f5a|_0x4f2e4f&_0x4b6f5a)-0x70e44324:_0x4f3352+=(_0x4f92e0^_0x4f2e4f^_0x4b6f5a)-0x359d3e2a,_0x170f5c=_0x4b6f5a,_0x4b6f5a=_0x4f2e4f,_0x4f2e4f=_0x4f92e0<<0x1e|_0x4f92e0>>>0x2,_0x4f92e0=_0x25f856,_0x25f856=_0x4f3352;}_0x47c4ea[0x0]=_0x47c4ea[0x0]+_0x25f856|0x0,_0x47c4ea[0x1]=_0x47c4ea[0x1]+_0x4f92e0|0x0,_0x47c4ea[0x2]=_0x47c4ea[0x2]+_0x4f2e4f|0x0,_0x47c4ea[0x3]=_0x47c4ea[0x3]+_0x4b6f5a|0x0,_0x47c4ea[0x4]=_0x47c4ea[0x4]+_0x170f5c|0x0;},'_doFinalize':function(){var _0x347914=_0x11bead,_0x1250f5=this[_0x347914(0x2c9)],_0x47b19b=_0x1250f5[_0x347914(0x413)],_0x3fa58e=this[_0x347914(0x349)]*0x8,_0x24f73a=_0x1250f5[_0x347914(0x1b6)]*0x8;return _0x47b19b[_0x24f73a>>>0x5]|=0x80<<0x18-_0x24f73a%0x20,_0x47b19b[(_0x24f73a+0x40>>>0x9<<0x4)+0xe]=Math[_0x347914(0x42c)](_0x3fa58e/0x100000000),_0x47b19b[(_0x24f73a+0x40>>>0x9<<0x4)+0xf]=_0x3fa58e,_0x1250f5[_0x347914(0x1b6)]=_0x47b19b[_0x347914(0x1c5)]*0x4,this[_0x347914(0x134)](),this[_0x347914(0x275)];},'clone':function(){var _0x5b51fd=_0x11bead,_0x10cdb2=_0x36ecbb[_0x5b51fd(0x3d0)][_0x5b51fd(0x1ab)](this);return _0x10cdb2[_0x5b51fd(0x275)]=this['_hash'][_0x5b51fd(0x3d0)](),_0x10cdb2;}});_0x55ccb5[_0x11bead(0x295)]=_0x36ecbb[_0x11bead(0x33c)](_0x42f69c),_0x55ccb5[_0x11bead(0x3dd)]=_0x36ecbb[_0x11bead(0x205)](_0x42f69c);}()),_0x2bb91f['SHA1'];}));}(Ee)),Ee[_0x2b203f(0x3dc)];}var Ce={'exports':{}},Qi=Ce['exports'],it;function en(){var _0x1277bc=_0x4cb87c;return it||(it=0x1,function(_0x3841d4,_0xae2537){(function(_0x53217c,_0x2674f3){var _0xdede68=_0xbd70;_0x3841d4[_0xdede68(0x3dc)]=_0x2674f3(ee());}(Qi,function(_0x4161b7){(function(){var _0x7b32c2=_0xbd70,_0x3a7d48=_0x4161b7,_0x3dab4f=_0x3a7d48[_0x7b32c2(0xe6)],_0x3189b8=_0x3dab4f[_0x7b32c2(0x374)],_0x4a4794=_0x3a7d48[_0x7b32c2(0x1a1)],_0x5b5980=_0x4a4794[_0x7b32c2(0x2cb)],_0x4132af=_0x3a7d48[_0x7b32c2(0x44a)];_0x4132af[_0x7b32c2(0x1d4)]=_0x3189b8[_0x7b32c2(0x118)]({'init':function(_0x2e8d20,_0x253653){var _0x51fd86=_0x7b32c2;_0x2e8d20=this[_0x51fd86(0x135)]=new _0x2e8d20[(_0x51fd86(0x184))](),typeof _0x253653==_0x51fd86(0x360)&&(_0x253653=_0x5b5980['parse'](_0x253653));var _0x113bf0=_0x2e8d20[_0x51fd86(0x2c0)],_0x2695c3=_0x113bf0*0x4;_0x253653[_0x51fd86(0x1b6)]>_0x2695c3&&(_0x253653=_0x2e8d20[_0x51fd86(0x21f)](_0x253653)),_0x253653['clamp']();for(var _0x1f7e20=this[_0x51fd86(0x415)]=_0x253653['clone'](),_0x52f192=this[_0x51fd86(0x24d)]=_0x253653[_0x51fd86(0x3d0)](),_0x44df87=_0x1f7e20[_0x51fd86(0x413)],_0x27b97d=_0x52f192[_0x51fd86(0x413)],_0x1fe56c=0x0;_0x1fe56c<_0x113bf0;_0x1fe56c++)_0x44df87[_0x1fe56c]^=0x5c5c5c5c,_0x27b97d[_0x1fe56c]^=0x36363636;_0x1f7e20[_0x51fd86(0x1b6)]=_0x52f192[_0x51fd86(0x1b6)]=_0x2695c3,this[_0x51fd86(0x350)]();},'reset':function(){var _0x48b017=_0x7b32c2,_0x58cc8a=this[_0x48b017(0x135)];_0x58cc8a['reset'](),_0x58cc8a['update'](this[_0x48b017(0x24d)]);},'update':function(_0x266949){var _0x477b1a=_0x7b32c2;return this[_0x477b1a(0x135)][_0x477b1a(0x214)](_0x266949),this;},'finalize':function(_0x400e53){var _0x5426bd=_0x7b32c2,_0x425cea=this['_hasher'],_0x4da0a3=_0x425cea[_0x5426bd(0x21f)](_0x400e53);_0x425cea[_0x5426bd(0x350)]();var _0x35f44b=_0x425cea[_0x5426bd(0x21f)](this[_0x5426bd(0x415)][_0x5426bd(0x3d0)]()[_0x5426bd(0x3c8)](_0x4da0a3));return _0x35f44b;}});}());}));}(Ce)),Ce[_0x1277bc(0x3dc)];}var tn=Ie[_0x4cb87c(0x3dc)],nt;function Dt(){var _0x1d29db=_0x4cb87c;return nt||(nt=0x1,function(_0x31e952,_0x2d424f){(function(_0x1ad3d6,_0xbabd03,_0x39c1fc){var _0xe64918=_0xbd70;_0x31e952[_0xe64918(0x3dc)]=_0xbabd03(ee(),Zi(),en());}(tn,function(_0x178d85){var _0x212186=_0xbd70;return(function(){var _0x4b7f05=_0xbd70,_0x3bebb8=_0x178d85,_0x56003f=_0x3bebb8[_0x4b7f05(0xe6)],_0x1a9634=_0x56003f[_0x4b7f05(0x374)],_0x518fcc=_0x56003f[_0x4b7f05(0x440)],_0x392f4b=_0x3bebb8[_0x4b7f05(0x44a)],_0x4ffb1c=_0x392f4b[_0x4b7f05(0x395)],_0xfcda13=_0x392f4b[_0x4b7f05(0x2ce)]=_0x1a9634[_0x4b7f05(0x118)]({'cfg':_0x1a9634[_0x4b7f05(0x118)]({'keySize':0x80/0x20,'hasher':_0x4ffb1c,'iterations':0x1}),'init':function(_0x1a2c14){var _0x2c2477=_0x4b7f05;this['cfg']=this[_0x2c2477(0x303)][_0x2c2477(0x118)](_0x1a2c14);},'compute':function(_0x4b414b,_0x58144a){var _0x37ddc4=_0x4b7f05;for(var _0x455ba3,_0x239f01=this[_0x37ddc4(0x303)],_0x344594=_0x239f01[_0x37ddc4(0x159)][_0x37ddc4(0x32e)](),_0x260cdc=_0x518fcc['create'](),_0x3070ea=_0x260cdc[_0x37ddc4(0x413)],_0x422672=_0x239f01['keySize'],_0x36f8ae=_0x239f01['iterations'];_0x3070ea['length']<_0x422672;){_0x455ba3&&_0x344594[_0x37ddc4(0x214)](_0x455ba3),_0x455ba3=_0x344594[_0x37ddc4(0x214)](_0x4b414b)[_0x37ddc4(0x21f)](_0x58144a),_0x344594[_0x37ddc4(0x350)]();for(var _0x5917c2=0x1;_0x5917c2<_0x36f8ae;_0x5917c2++)_0x455ba3=_0x344594['finalize'](_0x455ba3),_0x344594[_0x37ddc4(0x350)]();_0x260cdc[_0x37ddc4(0x3c8)](_0x455ba3);}return _0x260cdc[_0x37ddc4(0x1b6)]=_0x422672*0x4,_0x260cdc;}});_0x3bebb8[_0x4b7f05(0x2ce)]=function(_0x51d515,_0x48c73c,_0x586c7f){var _0x105aa5=_0x4b7f05;return _0xfcda13[_0x105aa5(0x32e)](_0x586c7f)[_0x105aa5(0x2dc)](_0x51d515,_0x48c73c);};}()),_0x178d85[_0x212186(0x2ce)];}));}(Ie)),Ie[_0x1d29db(0x3dc)];}var Te={'exports':{}},nn=Te['exports'],rt;function wt(){var _0x59c0df=_0x4cb87c;return rt||(rt=0x1,function(_0x1eb92f,_0x503aa2){(function(_0x1f7528,_0x4b2399,_0x4850e9){var _0x2bde4f=_0xbd70;_0x1eb92f[_0x2bde4f(0x3dc)]=_0x4b2399(ee(),Dt());}(nn,function(_0x5a75ef){var _0x4291c1=_0xbd70;_0x5a75ef['lib'][_0x4291c1(0x316)]||function(_0x2195e7){var _0x4900c8=_0x4291c1,_0x1b765b=_0x5a75ef,_0x201e18=_0x1b765b['lib'],_0xc99a06=_0x201e18[_0x4900c8(0x374)],_0x51bfc4=_0x201e18['WordArray'],_0x13e6fe=_0x201e18['BufferedBlockAlgorithm'],_0x5da51d=_0x1b765b[_0x4900c8(0x1a1)];_0x5da51d[_0x4900c8(0x2cb)];var _0x36ef44=_0x5da51d[_0x4900c8(0x194)],_0xc572e2=_0x1b765b[_0x4900c8(0x44a)],_0x29d875=_0xc572e2['EvpKDF'],_0x4d4d7a=_0x201e18[_0x4900c8(0x316)]=_0x13e6fe[_0x4900c8(0x118)]({'cfg':_0xc99a06['extend'](),'createEncryptor':function(_0x1d2abe,_0x4000f0){var _0x5e7d4f=_0x4900c8;return this[_0x5e7d4f(0x32e)](this['_ENC_XFORM_MODE'],_0x1d2abe,_0x4000f0);},'createDecryptor':function(_0x20eb7f,_0x129878){var _0x8e4a2c=_0x4900c8;return this['create'](this[_0x8e4a2c(0x371)],_0x20eb7f,_0x129878);},'init':function(_0x421faa,_0x24e91d,_0x111fd5){var _0x3e5667=_0x4900c8;this[_0x3e5667(0x303)]=this[_0x3e5667(0x303)][_0x3e5667(0x118)](_0x111fd5),this[_0x3e5667(0x182)]=_0x421faa,this[_0x3e5667(0x2ad)]=_0x24e91d,this['reset']();},'reset':function(){var _0x474a80=_0x4900c8;_0x13e6fe[_0x474a80(0x350)]['call'](this),this[_0x474a80(0x21a)]();},'process':function(_0x5ae835){return this['_append'](_0x5ae835),this['_process']();},'finalize':function(_0x331e53){var _0x421538=_0x4900c8;_0x331e53&&this[_0x421538(0x24b)](_0x331e53);var _0x1922b7=this['_doFinalize']();return _0x1922b7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x546979(_0x5827f8){return typeof _0x5827f8=='string'?_0x5c0d51:_0x112d94;}return function(_0x1b4528){return{'encrypt':function(_0x377bc3,_0x123507,_0x781782){return _0x546979(_0x123507)['encrypt'](_0x1b4528,_0x377bc3,_0x123507,_0x781782);},'decrypt':function(_0x20680c,_0x56b1fc,_0x547e24){var _0x49c3b9=_0xbd70;return _0x546979(_0x56b1fc)[_0x49c3b9(0x414)](_0x1b4528,_0x20680c,_0x56b1fc,_0x547e24);}};};}())});_0x201e18['StreamCipher']=_0x4d4d7a[_0x4900c8(0x118)]({'_doFinalize':function(){var _0xd61f6b=_0x4900c8,_0x3ed202=this[_0xd61f6b(0x134)](!0x0);return _0x3ed202;},'blockSize':0x1});var _0xd19d7b=_0x1b765b['mode']={},_0x4f250b=_0x201e18[_0x4900c8(0x22e)]=_0xc99a06['extend']({'createEncryptor':function(_0x530804,_0x368627){var _0x13126c=_0x4900c8;return this[_0x13126c(0x3fe)][_0x13126c(0x32e)](_0x530804,_0x368627);},'createDecryptor':function(_0x2bdebf,_0x2cdf01){var _0x841d06=_0x4900c8;return this[_0x841d06(0xfa)][_0x841d06(0x32e)](_0x2bdebf,_0x2cdf01);},'init':function(_0x1fb7a4,_0x1a229f){var _0x1953ff=_0x4900c8;this['_cipher']=_0x1fb7a4,this[_0x1953ff(0x27d)]=_0x1a229f;}}),_0x311b22=_0xd19d7b[_0x4900c8(0x19d)]=(function(){var _0x10bfc8=_0x4900c8,_0x397dd2=_0x4f250b[_0x10bfc8(0x118)]();_0x397dd2[_0x10bfc8(0x3fe)]=_0x397dd2[_0x10bfc8(0x118)]({'processBlock':function(_0x21b56f,_0x449da8){var _0x9565b4=_0x10bfc8,_0x4c0be1=this[_0x9565b4(0x2af)],_0x52ba4e=_0x4c0be1[_0x9565b4(0x2c0)];_0x29ffcc[_0x9565b4(0x1ab)](this,_0x21b56f,_0x449da8,_0x52ba4e),_0x4c0be1['encryptBlock'](_0x21b56f,_0x449da8),this[_0x9565b4(0x284)]=_0x21b56f[_0x9565b4(0x3a8)](_0x449da8,_0x449da8+_0x52ba4e);}}),_0x397dd2[_0x10bfc8(0xfa)]=_0x397dd2['extend']({'processBlock':function(_0x16bee8,_0x120701){var _0x2476f0=_0x10bfc8,_0x2ec888=this['_cipher'],_0x2194cf=_0x2ec888[_0x2476f0(0x2c0)],_0x1aef26=_0x16bee8[_0x2476f0(0x3a8)](_0x120701,_0x120701+_0x2194cf);_0x2ec888[_0x2476f0(0x1aa)](_0x16bee8,_0x120701),_0x29ffcc[_0x2476f0(0x1ab)](this,_0x16bee8,_0x120701,_0x2194cf),this[_0x2476f0(0x284)]=_0x1aef26;}});function _0x29ffcc(_0x260cba,_0x1b318f,_0x2f78b6){var _0x1f19fc=_0x10bfc8,_0x35d8fe,_0x5459eb=this[_0x1f19fc(0x27d)];_0x5459eb?(_0x35d8fe=_0x5459eb,this[_0x1f19fc(0x27d)]=_0x2195e7):_0x35d8fe=this['_prevBlock'];for(var _0x429168=0x0;_0x429168<_0x2f78b6;_0x429168++)_0x260cba[_0x1b318f+_0x429168]^=_0x35d8fe[_0x429168];}return _0x397dd2;}()),_0x4acc91=_0x1b765b[_0x4900c8(0x23b)]={},_0x56092e=_0x4acc91[_0x4900c8(0x25e)]={'pad':function(_0x5e516e,_0x85642d){var _0x5198d1=_0x4900c8;for(var _0x94de60=_0x85642d*0x4,_0x3a6541=_0x94de60-_0x5e516e[_0x5198d1(0x1b6)]%_0x94de60,_0x4c14a3=_0x3a6541<<0x18|_0x3a6541<<0x10|_0x3a6541<<0x8|_0x3a6541,_0x26bbbe=[],_0x2b24b9=0x0;_0x2b24b9<_0x3a6541;_0x2b24b9+=0x4)_0x26bbbe[_0x5198d1(0x397)](_0x4c14a3);var _0x59f393=_0x51bfc4[_0x5198d1(0x32e)](_0x26bbbe,_0x3a6541);_0x5e516e['concat'](_0x59f393);},'unpad':function(_0x4c02af){var _0xc167c3=_0x4900c8,_0x336d32=_0x4c02af['words'][_0x4c02af[_0xc167c3(0x1b6)]-0x1>>>0x2]&0xff;_0x4c02af[_0xc167c3(0x1b6)]-=_0x336d32;}};_0x201e18['BlockCipher']=_0x4d4d7a[_0x4900c8(0x118)]({'cfg':_0x4d4d7a[_0x4900c8(0x303)][_0x4900c8(0x118)]({'mode':_0x311b22,'padding':_0x56092e}),'reset':function(){var _0xbbfba2=_0x4900c8,_0x32a536;_0x4d4d7a['reset']['call'](this);var _0x41d62a=this[_0xbbfba2(0x303)],_0x25ca2a=_0x41d62a['iv'],_0x432215=_0x41d62a[_0xbbfba2(0x35d)];this[_0xbbfba2(0x182)]==this[_0xbbfba2(0x44c)]?_0x32a536=_0x432215[_0xbbfba2(0x258)]:(_0x32a536=_0x432215['createDecryptor'],this[_0xbbfba2(0xdd)]=0x1),this[_0xbbfba2(0x310)]&&this[_0xbbfba2(0x310)][_0xbbfba2(0x441)]==_0x32a536?this[_0xbbfba2(0x310)][_0xbbfba2(0x184)](this,_0x25ca2a&&_0x25ca2a[_0xbbfba2(0x413)]):(this[_0xbbfba2(0x310)]=_0x32a536[_0xbbfba2(0x1ab)](_0x432215,this,_0x25ca2a&&_0x25ca2a[_0xbbfba2(0x413)]),this['_mode'][_0xbbfba2(0x441)]=_0x32a536);},'_doProcessBlock':function(_0x45de5b,_0x4ff589){var _0x14db0a=_0x4900c8;this[_0x14db0a(0x310)][_0x14db0a(0x2c2)](_0x45de5b,_0x4ff589);},'_doFinalize':function(){var _0x4ab558=_0x4900c8,_0xc3746,_0x587f50=this[_0x4ab558(0x303)][_0x4ab558(0x3f4)];return this['_xformMode']==this[_0x4ab558(0x44c)]?(_0x587f50[_0x4ab558(0x23b)](this['_data'],this[_0x4ab558(0x2c0)]),_0xc3746=this[_0x4ab558(0x134)](!0x0)):(_0xc3746=this[_0x4ab558(0x134)](!0x0),_0x587f50['unpad'](_0xc3746)),_0xc3746;},'blockSize':0x80/0x20});var _0x18b2d2=_0x201e18[_0x4900c8(0x2ed)]=_0xc99a06[_0x4900c8(0x118)]({'init':function(_0x34bab3){var _0x481c78=_0x4900c8;this[_0x481c78(0x18b)](_0x34bab3);},'toString':function(_0x4d6d02){var _0x49cd51=_0x4900c8;return(_0x4d6d02||this[_0x49cd51(0x342)])['stringify'](this);}}),_0x3921f4=_0x1b765b[_0x4900c8(0x3d5)]={},_0x399f54=_0x3921f4[_0x4900c8(0x3bc)]={'stringify':function(_0x26a14c){var _0xeb9110=_0x4900c8,_0x2c5d39,_0x33d6d3=_0x26a14c['ciphertext'],_0x56c653=_0x26a14c[_0xeb9110(0x326)];return _0x56c653?_0x2c5d39=_0x51bfc4[_0xeb9110(0x32e)]([0x53616c74,0x65645f5f])[_0xeb9110(0x3c8)](_0x56c653)[_0xeb9110(0x3c8)](_0x33d6d3):_0x2c5d39=_0x33d6d3,_0x2c5d39[_0xeb9110(0x354)](_0x36ef44);},'parse':function(_0x3d66a7){var _0x341f60=_0x4900c8,_0x3ab8ee,_0x24018f=_0x36ef44[_0x341f60(0x26c)](_0x3d66a7),_0x5b7233=_0x24018f[_0x341f60(0x413)];return _0x5b7233[0x0]==0x53616c74&&_0x5b7233[0x1]==0x65645f5f&&(_0x3ab8ee=_0x51bfc4[_0x341f60(0x32e)](_0x5b7233[_0x341f60(0x3a8)](0x2,0x4)),_0x5b7233[_0x341f60(0x28a)](0x0,0x4),_0x24018f[_0x341f60(0x1b6)]-=0x10),_0x18b2d2[_0x341f60(0x32e)]({'ciphertext':_0x24018f,'salt':_0x3ab8ee});}},_0x112d94=_0x201e18[_0x4900c8(0x198)]=_0xc99a06[_0x4900c8(0x118)]({'cfg':_0xc99a06[_0x4900c8(0x118)]({'format':_0x399f54}),'encrypt':function(_0x1f175b,_0x2e1ab8,_0x142b97,_0x521cc1){var _0x9e61ed=_0x4900c8;_0x521cc1=this[_0x9e61ed(0x303)]['extend'](_0x521cc1);var _0x5a0775=_0x1f175b[_0x9e61ed(0x258)](_0x142b97,_0x521cc1),_0x5f3784=_0x5a0775[_0x9e61ed(0x21f)](_0x2e1ab8),_0x53208e=_0x5a0775[_0x9e61ed(0x303)];return _0x18b2d2['create']({'ciphertext':_0x5f3784,'key':_0x142b97,'iv':_0x53208e['iv'],'algorithm':_0x1f175b,'mode':_0x53208e[_0x9e61ed(0x35d)],'padding':_0x53208e[_0x9e61ed(0x3f4)],'blockSize':_0x1f175b['blockSize'],'formatter':_0x521cc1[_0x9e61ed(0x3d5)]});},'decrypt':function(_0x5b6ddd,_0x221174,_0x2e8380,_0x1e0d6b){var _0x4a58ed=_0x4900c8;_0x1e0d6b=this['cfg'][_0x4a58ed(0x118)](_0x1e0d6b),_0x221174=this['_parse'](_0x221174,_0x1e0d6b[_0x4a58ed(0x3d5)]);var _0x384677=_0x5b6ddd[_0x4a58ed(0x197)](_0x2e8380,_0x1e0d6b)[_0x4a58ed(0x21f)](_0x221174[_0x4a58ed(0x2dd)]);return _0x384677;},'_parse':function(_0x42d6e9,_0x417310){var _0x3459de=_0x4900c8;return typeof _0x42d6e9==_0x3459de(0x360)?_0x417310[_0x3459de(0x26c)](_0x42d6e9,this):_0x42d6e9;}}),_0x4beca5=_0x1b765b[_0x4900c8(0x230)]={},_0x3f65f9=_0x4beca5[_0x4900c8(0x3bc)]={'execute':function(_0x4afd83,_0xbab2db,_0x30f77a,_0x4a46d2,_0x10c954){var _0x560bb8=_0x4900c8;if(_0x4a46d2||(_0x4a46d2=_0x51bfc4[_0x560bb8(0x2f7)](0x40/0x8)),_0x10c954)var _0x40e23d=_0x29d875['create']({'keySize':_0xbab2db+_0x30f77a,'hasher':_0x10c954})[_0x560bb8(0x2dc)](_0x4afd83,_0x4a46d2);else var _0x40e23d=_0x29d875[_0x560bb8(0x32e)]({'keySize':_0xbab2db+_0x30f77a})[_0x560bb8(0x2dc)](_0x4afd83,_0x4a46d2);var _0xfd566b=_0x51bfc4[_0x560bb8(0x32e)](_0x40e23d[_0x560bb8(0x413)]['slice'](_0xbab2db),_0x30f77a*0x4);return _0x40e23d[_0x560bb8(0x1b6)]=_0xbab2db*0x4,_0x18b2d2[_0x560bb8(0x32e)]({'key':_0x40e23d,'iv':_0xfd566b,'salt':_0x4a46d2});}},_0x5c0d51=_0x201e18[_0x4900c8(0x340)]=_0x112d94['extend']({'cfg':_0x112d94['cfg'][_0x4900c8(0x118)]({'kdf':_0x3f65f9}),'encrypt':function(_0x55c08d,_0x17484d,_0x2a1847,_0x5aa4ee){var _0x5ab498=_0x4900c8;_0x5aa4ee=this['cfg'][_0x5ab498(0x118)](_0x5aa4ee);var _0x798c2=_0x5aa4ee[_0x5ab498(0x230)][_0x5ab498(0x1ea)](_0x2a1847,_0x55c08d['keySize'],_0x55c08d['ivSize'],_0x5aa4ee[_0x5ab498(0x326)],_0x5aa4ee[_0x5ab498(0x159)]);_0x5aa4ee['iv']=_0x798c2['iv'];var _0x364b9a=_0x112d94[_0x5ab498(0x2db)][_0x5ab498(0x1ab)](this,_0x55c08d,_0x17484d,_0x798c2[_0x5ab498(0x2fb)],_0x5aa4ee);return _0x364b9a['mixIn'](_0x798c2),_0x364b9a;},'decrypt':function(_0x11ecbe,_0x11958f,_0x323fb1,_0x301986){var _0x3a457b=_0x4900c8;_0x301986=this[_0x3a457b(0x303)]['extend'](_0x301986),_0x11958f=this[_0x3a457b(0x188)](_0x11958f,_0x301986[_0x3a457b(0x3d5)]);var _0x2df978=_0x301986[_0x3a457b(0x230)]['execute'](_0x323fb1,_0x11ecbe[_0x3a457b(0x137)],_0x11ecbe[_0x3a457b(0x311)],_0x11958f[_0x3a457b(0x326)],_0x301986['hasher']);_0x301986['iv']=_0x2df978['iv'];var _0x389c55=_0x112d94[_0x3a457b(0x414)][_0x3a457b(0x1ab)](this,_0x11ecbe,_0x11958f,_0x2df978[_0x3a457b(0x2fb)],_0x301986);return _0x389c55;}});}();}));}(Te)),Te[_0x59c0df(0x3dc)];}var rn=Se[_0x4cb87c(0x3dc)],st;function sn(){var _0x553bbb=_0x4cb87c;return st||(st=0x1,function(_0x29589b,_0x36e24f){(function(_0x1947e1,_0x528d36,_0x21f10e){var _0x3c4e1e=_0xbd70;_0x29589b[_0x3c4e1e(0x3dc)]=_0x528d36(ee(),Ut(),Ji(),Dt(),wt());}(rn,function(_0x18be39){var _0x1383b5=_0xbd70;return(function(){var _0x15cf1c=_0xbd70,_0x12b85d=_0x18be39,_0x5756b5=_0x12b85d[_0x15cf1c(0xe6)],_0x30c473=_0x5756b5[_0x15cf1c(0x1f8)],_0x3b836b=_0x12b85d[_0x15cf1c(0x44a)],_0xfd1261=[],_0x15277d=[],_0x520088=[],_0x17f8cc=[],_0x1c3f72=[],_0x5b069f=[],_0x392690=[],_0x56a5ec=[],_0x5679d9=[],_0x392faa=[];(function(){for(var _0x154e2e=[],_0x31be49=0x0;_0x31be49<0x100;_0x31be49++)_0x31be49<0x80?_0x154e2e[_0x31be49]=_0x31be49<<0x1:_0x154e2e[_0x31be49]=_0x31be49<<0x1^0x11b;for(var _0x1393ee=0x0,_0x2c04a6=0x0,_0x31be49=0x0;_0x31be49<0x100;_0x31be49++){var _0x38fa80=_0x2c04a6^_0x2c04a6<<0x1^_0x2c04a6<<0x2^_0x2c04a6<<0x3^_0x2c04a6<<0x4;_0x38fa80=_0x38fa80>>>0x8^_0x38fa80&0xff^0x63,_0xfd1261[_0x1393ee]=_0x38fa80,_0x15277d[_0x38fa80]=_0x1393ee;var _0xe5a086=_0x154e2e[_0x1393ee],_0x2e7eb3=_0x154e2e[_0xe5a086],_0x2ba32a=_0x154e2e[_0x2e7eb3],_0x554a99=_0x154e2e[_0x38fa80]*0x101^_0x38fa80*0x1010100;_0x520088[_0x1393ee]=_0x554a99<<0x18|_0x554a99>>>0x8,_0x17f8cc[_0x1393ee]=_0x554a99<<0x10|_0x554a99>>>0x10,_0x1c3f72[_0x1393ee]=_0x554a99<<0x8|_0x554a99>>>0x18,_0x5b069f[_0x1393ee]=_0x554a99;var _0x554a99=_0x2ba32a*0x1010101^_0x2e7eb3*0x10001^_0xe5a086*0x101^_0x1393ee*0x1010100;_0x392690[_0x38fa80]=_0x554a99<<0x18|_0x554a99>>>0x8,_0x56a5ec[_0x38fa80]=_0x554a99<<0x10|_0x554a99>>>0x10,_0x5679d9[_0x38fa80]=_0x554a99<<0x8|_0x554a99>>>0x18,_0x392faa[_0x38fa80]=_0x554a99,_0x1393ee?(_0x1393ee=_0xe5a086^_0x154e2e[_0x154e2e[_0x154e2e[_0x2ba32a^_0xe5a086]]],_0x2c04a6^=_0x154e2e[_0x154e2e[_0x2c04a6]]):_0x1393ee=_0x2c04a6=0x1;}}());var _0x443e8b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x445acb=_0x3b836b['AES']=_0x30c473[_0x15cf1c(0x118)]({'_doReset':function(){var _0x1837b9=_0x15cf1c,_0x418747;if(!(this[_0x1837b9(0x314)]&&this[_0x1837b9(0x3c1)]===this[_0x1837b9(0x2ad)])){for(var _0x11663e=this['_keyPriorReset']=this[_0x1837b9(0x2ad)],_0x2f6eb4=_0x11663e[_0x1837b9(0x413)],_0x2240dd=_0x11663e[_0x1837b9(0x1b6)]/0x4,_0x3598c3=this['_nRounds']=_0x2240dd+0x6,_0x514a55=(_0x3598c3+0x1)*0x4,_0x42313a=this[_0x1837b9(0x445)]=[],_0x6e5744=0x0;_0x6e5744<_0x514a55;_0x6e5744++)_0x6e5744<_0x2240dd?_0x42313a[_0x6e5744]=_0x2f6eb4[_0x6e5744]:(_0x418747=_0x42313a[_0x6e5744-0x1],_0x6e5744%_0x2240dd?_0x2240dd>0x6&&_0x6e5744%_0x2240dd==0x4&&(_0x418747=_0xfd1261[_0x418747>>>0x18]<<0x18|_0xfd1261[_0x418747>>>0x10&0xff]<<0x10|_0xfd1261[_0x418747>>>0x8&0xff]<<0x8|_0xfd1261[_0x418747&0xff]):(_0x418747=_0x418747<<0x8|_0x418747>>>0x18,_0x418747=_0xfd1261[_0x418747>>>0x18]<<0x18|_0xfd1261[_0x418747>>>0x10&0xff]<<0x10|_0xfd1261[_0x418747>>>0x8&0xff]<<0x8|_0xfd1261[_0x418747&0xff],_0x418747^=_0x443e8b[_0x6e5744/_0x2240dd|0x0]<<0x18),_0x42313a[_0x6e5744]=_0x42313a[_0x6e5744-_0x2240dd]^_0x418747);for(var _0x545230=this['_invKeySchedule']=[],_0x383c39=0x0;_0x383c39<_0x514a55;_0x383c39++){var _0x6e5744=_0x514a55-_0x383c39;if(_0x383c39%0x4)var _0x418747=_0x42313a[_0x6e5744];else var _0x418747=_0x42313a[_0x6e5744-0x4];_0x383c39<0x4||_0x6e5744<=0x4?_0x545230[_0x383c39]=_0x418747:_0x545230[_0x383c39]=_0x392690[_0xfd1261[_0x418747>>>0x18]]^_0x56a5ec[_0xfd1261[_0x418747>>>0x10&0xff]]^_0x5679d9[_0xfd1261[_0x418747>>>0x8&0xff]]^_0x392faa[_0xfd1261[_0x418747&0xff]];}}},'encryptBlock':function(_0x4de966,_0x1897c8){var _0x248b35=_0x15cf1c;this[_0x248b35(0x444)](_0x4de966,_0x1897c8,this[_0x248b35(0x445)],_0x520088,_0x17f8cc,_0x1c3f72,_0x5b069f,_0xfd1261);},'decryptBlock':function(_0x5605cc,_0x31619a){var _0x37f97f=_0x15cf1c,_0xb2e616=_0x5605cc[_0x31619a+0x1];_0x5605cc[_0x31619a+0x1]=_0x5605cc[_0x31619a+0x3],_0x5605cc[_0x31619a+0x3]=_0xb2e616,this[_0x37f97f(0x444)](_0x5605cc,_0x31619a,this[_0x37f97f(0x115)],_0x392690,_0x56a5ec,_0x5679d9,_0x392faa,_0x15277d);var _0xb2e616=_0x5605cc[_0x31619a+0x1];_0x5605cc[_0x31619a+0x1]=_0x5605cc[_0x31619a+0x3],_0x5605cc[_0x31619a+0x3]=_0xb2e616;},'_doCryptBlock':function(_0x6c19f,_0x2704c5,_0xcb573b,_0x2963c4,_0x4d226d,_0x47700c,_0x1ce022,_0x252cd2){var _0xfb0736=_0x15cf1c;for(var _0x41d7a8=this[_0xfb0736(0x314)],_0x38ae3e=_0x6c19f[_0x2704c5]^_0xcb573b[0x0],_0x4ebbb8=_0x6c19f[_0x2704c5+0x1]^_0xcb573b[0x1],_0x55a99d=_0x6c19f[_0x2704c5+0x2]^_0xcb573b[0x2],_0x446d8d=_0x6c19f[_0x2704c5+0x3]^_0xcb573b[0x3],_0x4f975d=0x4,_0x349625=0x1;_0x349625<_0x41d7a8;_0x349625++){var _0x1dadda=_0x2963c4[_0x38ae3e>>>0x18]^_0x4d226d[_0x4ebbb8>>>0x10&0xff]^_0x47700c[_0x55a99d>>>0x8&0xff]^_0x1ce022[_0x446d8d&0xff]^_0xcb573b[_0x4f975d++],_0x218b60=_0x2963c4[_0x4ebbb8>>>0x18]^_0x4d226d[_0x55a99d>>>0x10&0xff]^_0x47700c[_0x446d8d>>>0x8&0xff]^_0x1ce022[_0x38ae3e&0xff]^_0xcb573b[_0x4f975d++],_0x410d02=_0x2963c4[_0x55a99d>>>0x18]^_0x4d226d[_0x446d8d>>>0x10&0xff]^_0x47700c[_0x38ae3e>>>0x8&0xff]^_0x1ce022[_0x4ebbb8&0xff]^_0xcb573b[_0x4f975d++],_0x55ec80=_0x2963c4[_0x446d8d>>>0x18]^_0x4d226d[_0x38ae3e>>>0x10&0xff]^_0x47700c[_0x4ebbb8>>>0x8&0xff]^_0x1ce022[_0x55a99d&0xff]^_0xcb573b[_0x4f975d++];_0x38ae3e=_0x1dadda,_0x4ebbb8=_0x218b60,_0x55a99d=_0x410d02,_0x446d8d=_0x55ec80;}var _0x1dadda=(_0x252cd2[_0x38ae3e>>>0x18]<<0x18|_0x252cd2[_0x4ebbb8>>>0x10&0xff]<<0x10|_0x252cd2[_0x55a99d>>>0x8&0xff]<<0x8|_0x252cd2[_0x446d8d&0xff])^_0xcb573b[_0x4f975d++],_0x218b60=(_0x252cd2[_0x4ebbb8>>>0x18]<<0x18|_0x252cd2[_0x55a99d>>>0x10&0xff]<<0x10|_0x252cd2[_0x446d8d>>>0x8&0xff]<<0x8|_0x252cd2[_0x38ae3e&0xff])^_0xcb573b[_0x4f975d++],_0x410d02=(_0x252cd2[_0x55a99d>>>0x18]<<0x18|_0x252cd2[_0x446d8d>>>0x10&0xff]<<0x10|_0x252cd2[_0x38ae3e>>>0x8&0xff]<<0x8|_0x252cd2[_0x4ebbb8&0xff])^_0xcb573b[_0x4f975d++],_0x55ec80=(_0x252cd2[_0x446d8d>>>0x18]<<0x18|_0x252cd2[_0x38ae3e>>>0x10&0xff]<<0x10|_0x252cd2[_0x4ebbb8>>>0x8&0xff]<<0x8|_0x252cd2[_0x55a99d&0xff])^_0xcb573b[_0x4f975d++];_0x6c19f[_0x2704c5]=_0x1dadda,_0x6c19f[_0x2704c5+0x1]=_0x218b60,_0x6c19f[_0x2704c5+0x2]=_0x410d02,_0x6c19f[_0x2704c5+0x3]=_0x55ec80;},'keySize':0x100/0x20});_0x12b85d[_0x15cf1c(0x221)]=_0x30c473[_0x15cf1c(0x33c)](_0x445acb);}()),_0x18be39[_0x1383b5(0x221)];}));}(Se)),Se[_0x553bbb(0x3dc)];}var on=sn();const an=fe(on);var cn=Ut();const ot=fe(cn);var be={'exports':{}},hn=be[_0x4cb87c(0x3dc)],at;function ln(){var _0x45c985=_0x4cb87c;return at||(at=0x1,function(_0x4862d6,_0x342b5a){(function(_0x13f002,_0x13115d){var _0x3bd411=_0xbd70;_0x4862d6[_0x3bd411(0x3dc)]=_0x13115d(ee());}(hn,function(_0x5a82f6){var _0x1a1797=_0xbd70;return _0x5a82f6[_0x1a1797(0x1a1)][_0x1a1797(0x2cb)];}));}(be)),be[_0x45c985(0x3dc)];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re[_0x4cb87c(0x3dc)],ct;function vn(){var _0x4cdb37=_0x4cb87c;return ct||(ct=0x1,function(_0x2cf9f6,_0x15c802){(function(_0x372dbd,_0x133a8c){_0x2cf9f6['exports']=_0x133a8c(ee());}(dn,function(_0x429e1b){var _0x456d74=_0xbd70;return(function(){var _0x4b0ace=_0xbd70;if(typeof ArrayBuffer=='function'){var _0x1a2b48=_0x429e1b,_0x473110=_0x1a2b48[_0x4b0ace(0xe6)],_0x115b8b=_0x473110[_0x4b0ace(0x440)],_0x573635=_0x115b8b[_0x4b0ace(0x184)],_0x1e6a2c=_0x115b8b[_0x4b0ace(0x184)]=function(_0x121179){var _0x39ee9e=_0x4b0ace;if(_0x121179 instanceof ArrayBuffer&&(_0x121179=new Uint8Array(_0x121179)),(_0x121179 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x121179 instanceof Uint8ClampedArray||_0x121179 instanceof Int16Array||_0x121179 instanceof Uint16Array||_0x121179 instanceof Int32Array||_0x121179 instanceof Uint32Array||_0x121179 instanceof Float32Array||_0x121179 instanceof Float64Array)&&(_0x121179=new Uint8Array(_0x121179[_0x39ee9e(0x346)],_0x121179['byteOffset'],_0x121179['byteLength'])),_0x121179 instanceof Uint8Array){for(var _0x503937=_0x121179[_0x39ee9e(0x1bd)],_0xbc779b=[],_0x572451=0x0;_0x572451<_0x503937;_0x572451++)_0xbc779b[_0x572451>>>0x2]|=_0x121179[_0x572451]<<0x18-_0x572451%0x4*0x8;_0x573635[_0x39ee9e(0x1ab)](this,_0xbc779b,_0x503937);}else _0x573635[_0x39ee9e(0x1f5)](this,arguments);};_0x1e6a2c[_0x4b0ace(0x2b5)]=_0x115b8b;}}()),_0x429e1b[_0x456d74(0xe6)][_0x456d74(0x440)];}));}(Re)),Re[_0x4cdb37(0x3dc)];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x4cb87c(0x3dc)],ht;function gn(){var _0x10f712=_0x4cb87c;return ht||(ht=0x1,function(_0x2dcd4f,_0x7f9646){(function(_0x3ddd3,_0x3241dd,_0x2f33be){var _0x35802e=_0xbd70;_0x2dcd4f[_0x35802e(0x3dc)]=_0x3241dd(ee(),wt());}(pn,function(_0x17977a){var _0x404efd=_0xbd70;return _0x17977a['pad'][_0x404efd(0x127)]={'pad':function(){},'unpad':function(){}},_0x17977a[_0x404efd(0x23b)][_0x404efd(0x127)];}));}(Oe)),Oe[_0x10f712(0x3dc)];}var mn=gn();const In=fe(mn);function En(_0x195435,_0x2a4dc4){var _0x69962b=_0x4cb87c;const _0x56e526=_0x2a4dc4-_0x195435[_0x69962b(0x1c5)]%_0x2a4dc4,_0x5671f7=String[_0x69962b(0x33e)](_0x56e526)[_0x69962b(0x365)](_0x56e526);return _0x195435+_0x5671f7;}function Cn(_0x571081,_0x4bd6af){var _0x5c084a=_0x4cb87c;const _0x4c5ecd=Sn[_0x5c084a(0x2f7)](0x10),_0x2ea1c3=En(_0x571081,0x10),_0x5ce401=an[_0x5c084a(0x2db)](un['parse'](_0x2ea1c3),ot[_0x5c084a(0x26c)](_0x4bd6af),{'iv':_0x4c5ecd,'padding':In});return _0x4c5ecd[_0x5c084a(0x3c8)](_0x5ce401['ciphertext'])[_0x5c084a(0x354)](ot);}function Tn(){var _0x45d803=_0x4cb87c;const _0x3dcc84=jt['getGlobalObject']()[_0x45d803(0x366)];if(_0x3dcc84){const _0x3278bb={'time':Math['floor'](Date[_0x45d803(0x2aa)]()/0x3e8),'domain':location['hostname']};return Cn(JSON['stringify'](_0x3278bb),_0x3dcc84);}}var bn=Object[_0x4cb87c(0x190)],Rn=Object[_0x4cb87c(0x2f9)],On=(_0x5a5d53,_0x2058d9,_0x55ed27,_0xc69a8b)=>{for(var _0x931f17=_0xc69a8b>0x1?void 0x0:_0xc69a8b?Rn(_0x2058d9,_0x55ed27):_0x2058d9,_0x1a6566=_0x5a5d53['length']-0x1,_0x6354ab;_0x1a6566>=0x0;_0x1a6566--)(_0x6354ab=_0x5a5d53[_0x1a6566])&&(_0x931f17=(_0xc69a8b?_0x6354ab(_0x2058d9,_0x55ed27,_0x931f17):_0x6354ab(_0x931f17))||_0x931f17);return _0xc69a8b&&_0x931f17&&bn(_0x2058d9,_0x55ed27,_0x931f17),_0x931f17;},yn=(_0x2a5b9e,_0xa5928d)=>(_0x2c2b8f,_0x574828)=>_0xa5928d(_0x2c2b8f,_0x574828,_0x2a5b9e);let Pe=class{constructor(_0x2290e8){var _0x4dd1d3=_0x4cb87c;this[_0x4dd1d3(0x39f)]=_0x2290e8,this[_0x4dd1d3(0x1a9)]();}[_0x4cb87c(0x1a9)](){var _0x46d731=_0x4cb87c;this[_0x46d731(0x39f)][_0x46d731(0x3f8)]({'interceptor':(_0x35a623,_0xfba2d9)=>{var _0x5cae38=_0x46d731;const _0xc0a33c=_0x35a623[_0x5cae38(0x252)],_0x81778b=Tn();return _0x81778b&&_0xc0a33c[_0x5cae38(0x196)](_0x5cae38(0x25b),_0x81778b),_0xfba2d9(_0x35a623);}});}};Pe=On([yn(0x0,a[_0x4cb87c(0x121)](z[_0x4cb87c(0x396)]))],Pe);var Pn=Object[_0x4cb87c(0x190)],Nn=Object[_0x4cb87c(0x2f9)],Un=(_0x27a7ab,_0x16570e,_0x19eb2f,_0x4c3f9d)=>{var _0x58f90d=_0x4cb87c;for(var _0x6772d5=_0x4c3f9d>0x1?void 0x0:_0x4c3f9d?Nn(_0x16570e,_0x19eb2f):_0x16570e,_0x1db501=_0x27a7ab[_0x58f90d(0x1c5)]-0x1,_0x36c6c8;_0x1db501>=0x0;_0x1db501--)(_0x36c6c8=_0x27a7ab[_0x1db501])&&(_0x6772d5=(_0x4c3f9d?_0x36c6c8(_0x16570e,_0x19eb2f,_0x6772d5):_0x36c6c8(_0x6772d5))||_0x6772d5);return _0x4c3f9d&&_0x6772d5&&Pn(_0x16570e,_0x19eb2f,_0x6772d5),_0x6772d5;},Me=(_0x366aa8,_0x98e666)=>(_0x78e44e,_0x4c6053)=>_0x98e666(_0x78e44e,_0x4c6053,_0x366aa8);exports[_0x4cb87c(0x175)]=class extends a[_0x4cb87c(0x379)]{constructor(_0xdf9922,_0x40fcb2,_0x4e6bf0){var _0x4c483a=_0x4cb87c;super(),D(this,_0x4c483a(0x114),new H[(_0x4c483a(0x24c))](null)),D(this,'unitInfo$',this[_0x4c483a(0x114)][_0x4c483a(0x447)]()),(this[_0x4c483a(0x3e8)]=_0xdf9922,this[_0x4c483a(0x14b)]=_0x40fcb2,this[_0x4c483a(0x42e)]=_0x4e6bf0);}async[_0x4cb87c(0xe7)](_0x487596,_0xdffc0f,_0x33f9b4){var _0x475345=_0x4cb87c;this[_0x475345(0x114)][_0x475345(0x429)]({'unitId':_0x487596,'type':_0xdffc0f,'subUnitId':_0x33f9b4});let _0x16e72f=null;switch(_0xdffc0f){case Z[_0x475345(0x403)]:{_0x16e72f=await this[_0x475345(0xfc)](_0x487596);break;}case Z[_0x475345(0x104)]:{_0x16e72f=await this[_0x475345(0x165)](_0x487596);break;}default:{this[_0x475345(0x3e8)][_0x475345(0x3f3)](_0x475345(0x344),_0x475345(0x339));break;}}return _0x16e72f;}async[_0x4cb87c(0xfc)](_0x4adf3d){var _0x118820=_0x4cb87c,_0x235d10;let _0x1828e2=0x0;const _0x19ed73=await((_0x235d10=this[_0x118820(0x42e)])==null?void 0x0:_0x235d10[_0x118820(0x12b)](_0x4adf3d));return _0x19ed73&&(_0x19ed73[_0x118820(0xec)]||_0x19ed73['mutations'][_0x118820(0x1c5)]!==0x0)&&(_0x1828e2=_0x19ed73['rev']),_0x1828e2===0x0&&this[_0x118820(0x3e8)]['debug'](_0x118820(0x344),_0x118820(0x283)),this['_snapshotService']['loadSheet'](_0x4adf3d,_0x1828e2);}async['_loadDoc'](_0x170dd6){var _0x5437a4=_0x4cb87c,_0x39698d;let _0x5b44a1=0x0;const _0xfc6dec=await((_0x39698d=this[_0x5437a4(0x42e)])==null?void 0x0:_0x39698d['loadOfflineData'](_0x170dd6));return _0xfc6dec&&(_0xfc6dec['awaitingChangeset']||_0xfc6dec[_0x5437a4(0x2cd)][_0x5437a4(0x1c5)]!==0x0)&&(_0x5b44a1=_0xfc6dec['rev']),_0x5b44a1===0x0&&this[_0x5437a4(0x3e8)][_0x5437a4(0x3e7)](_0x5437a4(0x344),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5437a4(0x14b)][_0x5437a4(0x239)](_0x170dd6,_0x5b44a1);}},exports[_0x4cb87c(0x175)]=Un([Me(0x0,a[_0x4cb87c(0x1e6)]),Me(0x1,a[_0x4cb87c(0x121)](m[_0x4cb87c(0x3e0)])),Me(0x2,a[_0x4cb87c(0x43c)](J))],exports['DataLoaderService']);var Dn=Object[_0x4cb87c(0x190)],wn=Object[_0x4cb87c(0x2f9)],An=(_0x246889,_0x451ebd,_0x5963e4,_0x2b98ac)=>{var _0x1463bb=_0x4cb87c;for(var _0x37bb0e=_0x2b98ac>0x1?void 0x0:_0x2b98ac?wn(_0x451ebd,_0x5963e4):_0x451ebd,_0x1057c6=_0x246889[_0x1463bb(0x1c5)]-0x1,_0x34df2c;_0x1057c6>=0x0;_0x1057c6--)(_0x34df2c=_0x246889[_0x1057c6])&&(_0x37bb0e=(_0x2b98ac?_0x34df2c(_0x451ebd,_0x5963e4,_0x37bb0e):_0x34df2c(_0x37bb0e))||_0x37bb0e);return _0x2b98ac&&_0x37bb0e&&Dn(_0x451ebd,_0x5963e4,_0x37bb0e),_0x37bb0e;},xe=(_0x5a1465,_0x19fdbf)=>(_0x39c705,_0x3faae7)=>_0x19fdbf(_0x39c705,_0x3faae7,_0x5a1465);const Ln=['image/png','image/jpeg','image/jpg',_0x4cb87c(0x183),'image/bmp'],Mn=0x5*0x400*0x400,xn=_0x4cb87c(0x211),jn=_0x4cb87c(0x36c),$n=_0x4cb87c(0x256),Hn=_0x4cb87c(0xe5);exports[_0x4cb87c(0x1f1)]=class{constructor(_0x2a8e2d,_0x408745,_0x192a14){var _0x1bb703=_0x4cb87c;D(this,'_waitCount',0x0),D(this,'_change$',new H[(_0x1bb703(0x276))]()),D(this,'change$',this[_0x1bb703(0x1c0)]),D(this,_0x1bb703(0x30f),new Map()),(this[_0x1bb703(0x39f)]=_0x2a8e2d,this[_0x1bb703(0x1c1)]=_0x408745,this[_0x1bb703(0x2f2)]=_0x192a14);}[_0x4cb87c(0x111)](_0x3344e8){var _0x13413f=_0x4cb87c;this['_waitCount']=_0x3344e8,this[_0x13413f(0x1c0)][_0x13413f(0x429)](_0x3344e8);}['getImageSourceCache'](_0xe7463e,_0x2bb3d3){var _0x291b87=_0x4cb87c;if(_0x2bb3d3===X[_0x291b87(0x2a1)]['BASE64']){const _0x4b4bf6=new Image();return _0x4b4bf6[_0x291b87(0x3fd)]=_0xe7463e,_0x4b4bf6;}return this[_0x291b87(0x30f)]['get'](_0xe7463e);}[_0x4cb87c(0x3a6)](_0x21b047,_0x96dfd1,_0xf7ce21){var _0x4c6f66=_0x4cb87c;_0x96dfd1===X[_0x4c6f66(0x2a1)]['BASE64']||_0xf7ce21==null||this[_0x4c6f66(0x30f)]['set'](_0x21b047,_0xf7ce21);}async[_0x4cb87c(0x272)](_0x2be7df){var _0x344b48=_0x4cb87c;try{const _0x488616=this['_replaceFileID'](this['_getSignURL'](),''+_0x2be7df),_0x1297ca=(await this['_httpService'][_0x344b48(0x2cf)](_0x488616))[_0x344b48(0x2f8)];if(_0x1297ca[_0x344b48(0x3f3)]&&_0x1297ca[_0x344b48(0x3f3)]['code']===Ct['OK']){const _0x218629=new URL(_0x1297ca['url'],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x344b48(0x335)](_0x218629);}return Promise[_0x344b48(0x1f7)](_0x1297ca[_0x344b48(0x3f3)]);}catch(_0x4e855d){return Promise[_0x344b48(0x1f7)](_0x4e855d);}}async['saveImage'](_0x1865f4){var _0x155dea=_0x4cb87c;let _0x425a19='';if(!Ln[_0x155dea(0x1e5)](_0x1865f4[_0x155dea(0x424)]))return this[_0x155dea(0xd6)](),Promise[_0x155dea(0x1f7)](new Error(X['ImageUploadStatusType'][_0x155dea(0x376)]));if(_0x1865f4['size']>Mn)return this[_0x155dea(0xd6)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x155dea(0x106)]));try{const _0x1d270c=new FormData();_0x1d270c[_0x155dea(0x108)](_0x155dea(0x23c),_0x1865f4);const _0x44c7df=this[_0x155dea(0x2f2)][_0x155dea(0x129)](),_0x4b9c81=_0x44c7df==null?void 0x0:_0x44c7df[_0x155dea(0x18f)]();if(!_0x4b9c81)throw new Error(_0x155dea(0x2e9));const _0x5d78f6=this[_0x155dea(0x3cb)]()+'?size='+_0x1865f4[_0x155dea(0x13b)][_0x155dea(0x354)]()+'&source='+Tt['UnitEmbedded']+_0x155dea(0x3f0)+encodeURIComponent(_0x4b9c81),_0x331179=await(await fetch(_0x5d78f6,{'method':_0x155dea(0x269),'body':_0x1d270c}))[_0x155dea(0xdb)]();if(typeof _0x331179[_0x155dea(0x352)]!=_0x155dea(0x360))return this['_decreaseWaiting'](),Promise[_0x155dea(0x1f7)](new Error(X[_0x155dea(0x419)][_0x155dea(0x2ee)]));_0x425a19=_0x331179[_0x155dea(0x352)];}catch{return this[_0x155dea(0xd6)](),Promise[_0x155dea(0x1f7)](new Error(X[_0x155dea(0x419)]['ERROR_IMAGE']));}return new Promise((_0x1de7b8,_0x4417d4)=>{var _0x1574b3=_0x155dea;const _0xa43463=new FileReader();_0xa43463[_0x1574b3(0x1cc)](_0x1865f4),_0xa43463[_0x1574b3(0x34c)]=_0x47399d=>{var _0x139d9a=_0x1574b3,_0x68c2aa;const _0x4309b5=(_0x68c2aa=_0x47399d[_0x139d9a(0x297)])==null?void 0x0:_0x68c2aa['result'];if(_0x4309b5==null){this[_0x139d9a(0xd6)](),_0x4417d4(new Error(X['ImageUploadStatusType'][_0x139d9a(0x2ee)]));return;}const _0x1b06c8=a['Tools'][_0x139d9a(0x271)](0x6);_0x1de7b8({'imageId':_0x1b06c8,'imageSourceType':X[_0x139d9a(0x2a1)]['UUID'],'source':_0x425a19,'base64Cache':_0x4309b5,'status':X[_0x139d9a(0x419)][_0x139d9a(0x2e1)]}),this[_0x139d9a(0xd6)]();};});}[_0x4cb87c(0x3cb)](){var _0x4ecd74=_0x4cb87c,_0x4db846,_0x5402d9;const _0x26029c=this[_0x4ecd74(0x1c1)][_0x4ecd74(0x301)](xn),_0x818edc=this[_0x4ecd74(0x1c1)][_0x4ecd74(0x301)](q);return(_0x5402d9=(_0x4db846=_0x818edc==null?void 0x0:_0x818edc['uploadFileServerUrl'])!=null?_0x4db846:_0x26029c)!=null?_0x5402d9:jn;}[_0x4cb87c(0x330)](){var _0x48e589=_0x4cb87c,_0x106af4,_0x7121a9;const _0x538dad=this[_0x48e589(0x1c1)][_0x48e589(0x301)]($n),_0x2c360a=this['_configService']['getConfig'](q);return(_0x7121a9=(_0x106af4=_0x2c360a==null?void 0x0:_0x2c360a[_0x48e589(0x33d)])!=null?_0x106af4:_0x538dad)!=null?_0x7121a9:Hn;}[_0x4cb87c(0x3ab)](){var _0x1bfa9a=_0x4cb87c,_0x5af6aa;const _0x2b7819=this[_0x1bfa9a(0x1c1)][_0x1bfa9a(0x301)](q);return(_0x5af6aa=_0x2b7819==null?void 0x0:_0x2b7819[_0x1bfa9a(0x229)])!=null?_0x5af6aa:location['origin'];}[_0x4cb87c(0x1ad)](_0x5f7968,_0x18e678){var _0x3b2ac3=_0x4cb87c;return _0x5f7968[_0x3b2ac3(0x1b0)]('{fileID}',_0x18e678);}[_0x4cb87c(0xd6)](){var _0x3f957d=_0x4cb87c;this[_0x3f957d(0x406)]-=0x1,this[_0x3f957d(0x1c0)][_0x3f957d(0x429)](this[_0x3f957d(0x406)]);}},exports['CollaborationImageIoService']=An([xe(0x0,a['Inject'](z[_0x4cb87c(0x396)])),xe(0x1,a[_0x4cb87c(0xfe)]),xe(0x2,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x37b)]))],exports[_0x4cb87c(0x1f1)]);var kn=Object[_0x4cb87c(0x190)],Bn=Object[_0x4cb87c(0x2f9)],Fn=(_0x96a69b,_0x20a3b7,_0x208f22,_0x2fad2e)=>{var _0x69b9f2=_0x4cb87c;for(var _0x13f1b6=_0x2fad2e>0x1?void 0x0:_0x2fad2e?Bn(_0x20a3b7,_0x208f22):_0x20a3b7,_0x33ca04=_0x96a69b[_0x69b9f2(0x1c5)]-0x1,_0x306894;_0x33ca04>=0x0;_0x33ca04--)(_0x306894=_0x96a69b[_0x33ca04])&&(_0x13f1b6=(_0x2fad2e?_0x306894(_0x20a3b7,_0x208f22,_0x13f1b6):_0x306894(_0x13f1b6))||_0x13f1b6);return _0x2fad2e&&_0x13f1b6&&kn(_0x20a3b7,_0x208f22,_0x13f1b6),_0x13f1b6;},lt=(_0x1b2a83,_0x2f065f)=>(_0x5ab986,_0xc8f115)=>_0x2f065f(_0x5ab986,_0xc8f115,_0x1b2a83);const Wn=_0x4cb87c(0x170);exports[_0x4cb87c(0x393)]=class{constructor(_0x142320,_0x54b4da){var _0x248e71=_0x4cb87c;this[_0x248e71(0x1c1)]=_0x142320,this[_0x248e71(0x357)]=_0x54b4da;}[_0x4cb87c(0x21d)](){var _0x2ac9af=_0x4cb87c,_0x57593f,_0x3193ce;const _0x1ca25b=this[_0x2ac9af(0x1c1)]['getConfig'](Ge),_0x52fa3c=this['_configService'][_0x2ac9af(0x301)](q);return(_0x3193ce=(_0x57593f=_0x52fa3c==null?void 0x0:_0x52fa3c['authzUrl'])!=null?_0x57593f:_0x1ca25b)!=null?_0x3193ce:Wn;}async[_0x4cb87c(0x18c)](_0x113a19){var _0x55f6fc=_0x4cb87c;const _0x3cd492=this[_0x55f6fc(0x21d)]()+'/collaborator';return{'list':[{'title':_0x55f6fc(0x2a6),'mentions':(await this['_HTTPService'][_0x55f6fc(0x2cf)](_0x3cd492,{'params':{'objectID':_0x113a19[_0x55f6fc(0x390)],'unitID':_0x113a19[_0x55f6fc(0x390)]}}))[_0x55f6fc(0x2f8)][_0x55f6fc(0x448)][_0x55f6fc(0x3f6)](_0x52266e=>({'objectId':_0x52266e['id'],'name':_0x52266e[_0x55f6fc(0x382)][_0x55f6fc(0x1f2)],'metadata':{'icon':_0x52266e['subject']['avatar']},'label':_0x52266e[_0x55f6fc(0x382)]['name'],'objectType':a[_0x55f6fc(0x1b3)]['PERSON']})),'metadata':{},'type':a[_0x55f6fc(0x1b3)][_0x55f6fc(0x31e)]}]};}},exports[_0x4cb87c(0x393)]=Fn([lt(0x0,a[_0x4cb87c(0x121)](a[_0x4cb87c(0xfe)])),lt(0x1,a['Inject'](z[_0x4cb87c(0x396)]))],exports[_0x4cb87c(0x393)]);var Vn=Object[_0x4cb87c(0x190)],Gn=Object[_0x4cb87c(0x2f9)],Kn=(_0x5d3ae8,_0x5bfca2,_0x336b9c,_0x2b302a)=>{var _0x1b544b=_0x4cb87c;for(var _0xa05c3=_0x2b302a>0x1?void 0x0:_0x2b302a?Gn(_0x5bfca2,_0x336b9c):_0x5bfca2,_0x13aea1=_0x5d3ae8[_0x1b544b(0x1c5)]-0x1,_0x28cdd1;_0x13aea1>=0x0;_0x13aea1--)(_0x28cdd1=_0x5d3ae8[_0x13aea1])&&(_0xa05c3=(_0x2b302a?_0x28cdd1(_0x5bfca2,_0x336b9c,_0xa05c3):_0x28cdd1(_0xa05c3))||_0xa05c3);return _0x2b302a&&_0xa05c3&&Vn(_0x5bfca2,_0x336b9c,_0xa05c3),_0xa05c3;},ce=(_0x5cd6af,_0x581b4f)=>(_0x2631b,_0xc2e473)=>_0x581b4f(_0x2631b,_0xc2e473,_0x5cd6af);let Ne=class extends a[_0x4cb87c(0x379)]{constructor(_0x1e6c1e,_0x3269d1,_0x135d12,_0x4c53dc,_0x4c172c,_0xa40864,_0x2f74d8){var _0x4effde=_0x4cb87c;super(),this[_0x4effde(0x36a)]=_0x1e6c1e,this[_0x4effde(0x2f2)]=_0x3269d1,this[_0x4effde(0x1c9)]=_0x135d12,this[_0x4effde(0x36e)]=_0x4c53dc,this[_0x4effde(0x11d)]=_0x4c172c,this[_0x4effde(0x262)]=_0xa40864,this[_0x4effde(0x15b)]=_0x2f74d8,this[_0x4effde(0x398)](),this[_0x4effde(0x18a)]();}[_0x4cb87c(0x18a)](){var _0x3453bc=_0x4cb87c;const _0x4ff4bd=async _0x13e38a=>{var _0x3ae834=_0xbd70;(await this[_0x3ae834(0x36e)][_0x3ae834(0x21c)](_0x13e38a))[_0x3ae834(0x173)][_0x3ae834(0x180)](V['filter'](_0x2632bd=>_0x2632bd[_0x3ae834(0x218)]===m[_0x3ae834(0x1b4)][_0x3ae834(0x12a)]),V[_0x3ae834(0x30e)](this[_0x3ae834(0x267)]))[_0x3ae834(0x2a5)](_0x38f8e9=>{var _0x261190=_0x3ae834;const _0x4ca1e2=_0x38f8e9,{reason:_0x3bab8f}=_0x4ca1e2[_0x261190(0x3a5)];this[_0x261190(0x11d)][_0x261190(0x2fe)]({'id':Q[_0x261190(0x3c5)],'data':_0x3bab8f}),this[_0x261190(0x1c9)][_0x261190(0x358)](new W[(_0x261190(0x3db))](_0x13e38a)['id'],!0x1),this[_0x261190(0x36e)][_0x261190(0x3b1)](_0x13e38a);});};H['merge'](this[_0x3453bc(0x2f2)][_0x3453bc(0xdc)](a[_0x3453bc(0x23d)]['UNIVER_SHEET']),this[_0x3453bc(0x2f2)][_0x3453bc(0xdc)](a['UniverInstanceType']['UNIVER_DOC']))[_0x3453bc(0x180)](V[_0x3453bc(0x3f6)](_0x2c148d=>_0x2c148d[_0x3453bc(0x18f)]()),V[_0x3453bc(0x3ea)](_0x5ec9a8=>!a[_0x3453bc(0x27c)](_0x5ec9a8)),V['takeUntil'](this[_0x3453bc(0x267)]))[_0x3453bc(0x2a5)](_0x53696a=>{_0x4ff4bd(_0x53696a);});}[_0x4cb87c(0x398)](){var _0x4e6151=_0x4cb87c;const _0x1e2f16=async _0xed8960=>{var _0x10cca3=_0xbd70;(await this[_0x10cca3(0x36e)][_0x10cca3(0x21c)](_0xed8960))[_0x10cca3(0x173)][_0x10cca3(0x180)](V[_0x10cca3(0x3ea)](_0x976c3f=>_0x976c3f[_0x10cca3(0x218)]===m[_0x10cca3(0x1b4)][_0x10cca3(0x2b1)]),V['takeUntil'](this[_0x10cca3(0x267)]))[_0x10cca3(0x2a5)](_0x39bdb8=>{var _0x534e25=_0x10cca3;const _0x230e0c=_0x39bdb8,{objectId:_0x281bc0}=_0x230e0c[_0x534e25(0x3a5)];_0x281bc0===_0xed8960?this[_0x534e25(0x281)](_0xed8960):this[_0x534e25(0x32f)](_0xed8960,_0x281bc0);});};H['merge'](this[_0x4e6151(0x2f2)]['getTypeOfUnitAdded$'](a[_0x4e6151(0x23d)][_0x4e6151(0x403)]),this[_0x4e6151(0x2f2)][_0x4e6151(0xdc)](a[_0x4e6151(0x23d)]['UNIVER_DOC']))[_0x4e6151(0x180)](V[_0x4e6151(0x3f6)](_0x5a6e7f=>_0x5a6e7f[_0x4e6151(0x18f)]()),V[_0x4e6151(0x3ea)](_0x339432=>!a['isInternalEditorID'](_0x339432)),V[_0x4e6151(0x30e)](this[_0x4e6151(0x267)]))[_0x4e6151(0x2a5)](_0x536904=>{_0x1e2f16(_0x536904);});}async[_0x4cb87c(0x281)](_0xef50be){var _0x22f748=_0x4cb87c,_0x564de5;const _0x296652=_0xef50be||((_0x564de5=this[_0x22f748(0x2f2)][_0x22f748(0x112)](a[_0x22f748(0x23d)][_0x22f748(0x403)]))==null?void 0x0:_0x564de5[_0x22f748(0x18f)]());_0x296652&&this[_0x22f748(0x262)][_0x22f748(0x1ed)]({'objectID':_0x296652,'objectType':W['UnitObject'][_0x22f748(0x319)],'unitID':_0x296652,'actions':W[_0x22f748(0x2b8)]})[_0x22f748(0x32d)](_0x3b05ff=>{var _0x100775=_0x22f748;W[_0x100775(0x20a)]()[_0x100775(0x1bf)](_0x499152=>{var _0xe1ce8e=_0x100775;const _0x31b0aa=new _0x499152(_0x296652),_0x243ec0=_0x31b0aa[_0xe1ce8e(0x367)],_0x2a0225=_0x3b05ff[_0xe1ce8e(0x216)](_0x4c81bb=>_0x4c81bb[_0xe1ce8e(0x10b)]===_0x243ec0);_0x2a0225&&this[_0xe1ce8e(0x1c9)]['updatePermissionPoint'](_0x31b0aa['id'],_0x2a0225[_0xe1ce8e(0x1ed)]);});});}['refreshPermission'](_0xe95fdc,_0x893612){var _0x3fb035=_0x4cb87c;const _0xfaf040=this[_0x3fb035(0x36a)][_0x3fb035(0x2cf)](W[_0x3fb035(0x315)]),_0x4bc0f3=_0xfaf040[_0x3fb035(0x2de)](_0xe95fdc,_0x893612);let _0x323399=!0x1;if(_0x4bc0f3){const [_0x3b219d,_0x39e9a4]=_0x4bc0f3;this[_0x3fb035(0x262)][_0x3fb035(0x1ed)]({'objectID':_0x893612,'unitID':_0xe95fdc,'objectType':W[_0x3fb035(0xfd)][_0x3fb035(0x400)],'actions':W[_0x3fb035(0x35e)]})[_0x3fb035(0x32d)](_0x175bed=>{var _0x50e021=_0x3fb035;let _0x1d1653='';W[_0x50e021(0x3d8)]()[_0x50e021(0x1bf)](_0x19500e=>{var _0x285a46=_0x50e021,_0x270d07;const _0x439eab=new _0x19500e(_0xe95fdc,_0x39e9a4),_0x1a727a=_0x439eab[_0x285a46(0x367)],_0x7a42f2=_0x175bed[_0x285a46(0x216)](_0x416311=>_0x416311['action']===_0x1a727a);_0x7a42f2&&(((_0x270d07=this[_0x285a46(0x1c9)]['getPermissionPoint'](_0x439eab['id']))==null?void 0x0:_0x270d07[_0x285a46(0x1fd)])!==_0x7a42f2[_0x285a46(0x1ed)]&&(_0x323399=!0x0),this[_0x285a46(0x1c9)][_0x285a46(0x358)](_0x439eab['id'],_0x7a42f2['allowed']),_0x1d1653+=_0x7a42f2[_0x285a46(0x10b)]+'_'+_0x7a42f2[_0x285a46(0x1ed)]);}),_0xfaf040[_0x50e021(0xf6)](_0x893612+'_'+_0x1d1653),_0x323399&&this[_0x50e021(0x15b)][_0x50e021(0x320)](_0xe95fdc);});}const _0x3208a8=this[_0x3fb035(0x36a)][_0x3fb035(0x2cf)](W['WorksheetProtectionPointModel'])[_0x3fb035(0x2de)](_0xe95fdc,_0x893612);if(_0x3208a8){const [_0x1eddf7,_0x54a9db]=_0x3208a8;this[_0x3fb035(0x262)]['allowed']({'objectID':_0x893612,'unitID':_0xe95fdc,'objectType':W[_0x3fb035(0xfd)][_0x3fb035(0x400)],'actions':W[_0x3fb035(0x235)]})[_0x3fb035(0x32d)](_0x3efe49=>{var _0x3b9e91=_0x3fb035;W['getAllWorksheetPermissionPointByPointPanel']()[_0x3b9e91(0x1bf)](_0x40bae7=>{var _0x3500b9=_0x3b9e91,_0x3064ff;const _0x3e7d54=new _0x40bae7(_0xe95fdc,_0x54a9db),_0x286b19=_0x3e7d54[_0x3500b9(0x367)],_0x4e9f30=_0x3efe49['find'](_0x1fe34d=>_0x1fe34d['action']===_0x286b19);_0x4e9f30&&(((_0x3064ff=this[_0x3500b9(0x1c9)][_0x3500b9(0x402)](_0x3e7d54['id']))==null?void 0x0:_0x3064ff[_0x3500b9(0x1fd)])!==_0x4e9f30['allowed']&&(_0x323399=!0x0),this['_permissionService']['updatePermissionPoint'](_0x3e7d54['id'],_0x4e9f30[_0x3500b9(0x1ed)]));}),_0x323399&&this[_0x3b9e91(0x15b)][_0x3b9e91(0x320)](_0xe95fdc);});}const _0x4d98b7=this[_0x3fb035(0x36a)][_0x3fb035(0x2cf)](W[_0x3fb035(0x102)]),_0xf5ffc9=_0x4d98b7[_0x3fb035(0x2de)](_0xe95fdc,_0x893612);if(_0xf5ffc9){const [_0x56c433,_0x3bc51c]=_0xf5ffc9;this[_0x3fb035(0x262)][_0x3fb035(0x1ed)]({'objectID':_0x893612,'unitID':_0xe95fdc,'objectType':W[_0x3fb035(0xfd)][_0x3fb035(0x26d)],'actions':W['baseProtectionActions']})[_0x3fb035(0x32d)](_0x2dc2c1=>{var _0x40b84f=_0x3fb035;let _0xe7667c='';W[_0x40b84f(0xea)]()[_0x40b84f(0x1bf)](_0x3f7028=>{var _0x3c7e76=_0x40b84f,_0x58e4eb;const _0x5cd944=new _0x3f7028(_0xe95fdc,_0x3bc51c,_0x893612),_0x452ea0=_0x5cd944[_0x3c7e76(0x367)],_0x3b9db1=_0x2dc2c1[_0x3c7e76(0x216)](_0x5c8235=>_0x5c8235['action']===_0x452ea0);_0x3b9db1&&(((_0x58e4eb=this['_permissionService'][_0x3c7e76(0x402)](_0x5cd944['id']))==null?void 0x0:_0x58e4eb[_0x3c7e76(0x1fd)])!==_0x3b9db1[_0x3c7e76(0x1ed)]&&(_0x323399=!0x0),this['_permissionService'][_0x3c7e76(0x358)](_0x5cd944['id'],_0x3b9db1['allowed']),_0xe7667c+=_0x3b9db1['action']+'_'+_0x3b9db1[_0x3c7e76(0x1ed)]);}),_0x4d98b7['ruleRefresh'](_0x893612+'_'+_0xe7667c),_0x323399&&this[_0x40b84f(0x15b)]['clearUndoRedo'](_0xe95fdc);});}}};function _0x2ec3(){var _0x45c1d9=['FETCH_MISSING','YUUMI_URL_COL_OUT_OF_RANGE','\x20in\x20_schedule.','CLOSE_ROOM','session.room-full','ISnapshotServerService','concat','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_createInitialStateImpl','_getUploadFileURL','_onRemoteACK','complete','getSheetId','UniverCollaborationPlugin','clone','_throwTelemetryCollaborationNewChangeset','_startTelemetryCollaborationNewChangeset','localCacheService','_updateState','format','UNDEFINED','_submitChangeset','getAllWorksheetPermissionPoint','findIndex','_sender','WorkbookEditablePermission','exports','HmacSHA1','from','_members$','SnapshotService','_getSendChangesetTimeout','onSyncEditingCollabCursor','AWAITING_WITH_PENDING','_substituteRedoStack','/universer-api/oidc/authpage','createSocket','debug','_logService','parseProtocolChangeset','filter','workbook','take','_changesetReqId','getCurrentSelections','registerDependencies','&assign=','3373416MjdBOT','onMissedChangesetFetched','error','padding','awaiting_with_pending','map','method','registerHTTPInterceptor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_checkMissing','16769960JXJlma','requestParams','src','Encryptor','charAt','Worksheet','_resendTimeout','getPermissionPoint','UNIVER_SHEET','/rev/','getValue','_waitCount','join','AwaitingWithPendingState','add','Disposable','CommandType','RECV','__esModule','_getCurrentRevision','ICommandService','_timeoutTimer','HEARTBEAT_INTERVAL','objectActions','words','decrypt','_oKey','abs','HELLO','mapDocumentTypeToUniverType','ImageUploadStatusType','msCrypto','_retryConnectingTimer','CONFLICT','YUUMI_SUBSCRIPTION_NOT_FOUND','onLocalMutation','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','deleteCollaborator','onRemoteRej','_undoStacks','sendChangesetTimeout','type','onMissingChangesets','_toggleOffline','UnitEmbedded','[CollaborationSessionService]','next','CompressMutationService','putCollaborators','floor','state$','_localCacheService','origin','FETCH_MISS','_state','_emitMembers','_reverseMap','SheetsSelectionsService','awaiting','JOIN','status$','dispose','touchDependencies','_commentUpdate$','ws://127.0.0.1:8000/universer-api/comb/connect','Optional','_sendingTimer','commentUpdate$','[CollaborationSession]','WordArray','__creator','RETRY_CONNECTING_MAX_COUNT_KEY','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_doCryptBlock','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','asObservable','collaborators','_initDependencies','algo','@univerjs/docs','_ENC_XFORM_MODE','online$','delay','SUBMIT_CHANGESET','_lockTransition','href','OfflineState','COLLAB_SUBMIT_CHANGESET_URL_KEY','merge','@univerjs/drawing','UserManagerService','getCurrentRevOfUnit','COMPRESS_MUTATION_APPLY','\x20-\x20','serializeCombRequest','_updateLocalCache','editing\x20status\x20changed\x20to','Injector','getUnitType','_sheetTransformSelectionsService','updateCollaborator','UniverCollaborationClientPlugin','Malformed\x20UTF-8\x20data','InsertSheetMutation','_decreaseWaiting','changesets','_onRemoteRejected','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DependentOn','json','getTypeOfUnitAdded$','_minBufferSize','getActiveSheet','Hasher','SEND_CHANGESET_TIMEOUT_KEY','/fetchmissing?from=','params','rxjs','getSheetBlock','/universer-api/file/{fileID}/sign-url','lib','loadUnit','_singleActiveUnitService','_createHandler','getAllRangePermissionPoint','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','awaitingChangeset','COLLAB_WEB_SOCKET_URL_KEY','SOCKET_FAILED','roles','send','RichTextEditingMutation','_onJoinRoomEvent','_handler','_onConnectionFailed','[PendingState]:\x20received\x20acknowledgement.','ruleRefresh','/universer-api/comb','ENSURE_SNAPSHOT_EXECUTION','failed\x20to\x20apply\x20missed\x20changesets!','Decryptor','_transformStateCache','_loadSheet','UnitObject','IConfigService','firstValueFrom','IUndoRedoService','resend','RangeProtectionRuleModel','createCollaborator','UNIVER_DOC','Hex','ERROR_EXCEED_SIZE','responseType','append','ConflictState','catch','action','[UniverCollaborationClientPlugin]','/-/object/-/batch_allowed','_candidateSocket','OTHER_CLIENTS_EDITING','_telemetryInfo','setWaitCount','getCurrentUnitForType','SessionStatus','_unitInfo$','_invKeySchedule','OFFLINE','stopTime','extend','UNISCRIPT_RUN','[CollaborationUndoRedoService]','onCommentUpdate','getMemberID','_collaborationUIEventService','reqId','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COLLAB_WEB_SOCKET_URL','Inject','function','close$','/object','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','reverse','NoPadding','[FetchMissState]','getFocusedUnit','SHOULD_CLOSE_CONN','loadOfflineData','clear','_onUserJoin','fetchMiss','updateOfflineData','COMPRESS_MUTATION_SEND','SEND_CHANGESET_TIMEOUT','leaveEvent','transformStack\x20failed!','_process','_hasher','_getSessionTicket','keySize','encode','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationTimeoutTimer','size','sequenceExecute','updateCursorEvent','objectID','HTTPRequest','Error\x20on\x20receiving\x20event','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','removeMember','socket\x20open.','_onConnectionOpen','isArray','_createInitialState','1759235cMSxtA','APPLY_DUPLICATED','CollaborationEntity','onTransformState','_snapshotService','APPLY_NON_SEQUENTIAL_REVISION','authzUrl','getLatestCsReqIdBySid','_handlerCallback','getAllMembers','@univerjs/sheets','UNIVER_PROJECT','waitForRoom$','INTERNAL_ERROR','SNAPSHOT_INVALID_SNAPSHOT','[PendingState]:\x20received\x20rejection.','ThresholdInterceptorFactory','CHANGESET_ACK','hasher','ALREADY_EXISTS','_undoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','editingUnit','onTransformRemoteChangesetByStateCache','_awaitingChangeset','INetworkConditionService','[OfflineState]:\x20received\x20changeset.','telemetry\x20info\x20is\x20not\x20initialized','reduce','_stopTelemetryCollaborationNewChangeset','_loadDoc','message$','unitID','cmd','createIdentifier','setCurrentUser','onStateChange','USERS_ENTER','DocCollaborationEntity','JOIN_ROOM_PERMISSION_DENIED','interceptor','/universer-api/authz','onTransformRemoteChangesetByIMECache','_transformUndoredo','event$','_tryEnsureSocket','DataLoaderService','_onCombEvent','result','_members','title','fetchThroughInterceptors','_unitID','CollaborationController','enableSingleActiveInstanceLock','_eventService','actions','pipe','onCommandExecuted','_xformMode','image/gif','init','_clearLocalCache','_transformSelections','values','_parse','CHANGESET_REVISION_CONFILICT','_initCloseConn','mixIn','list','SNAPSHOT_SERVER_URL_KEY','offline','getUnitId','defineProperty','UNKNOWN_CODE','JOINING','state','Base64','_exhaustRemoteChangesetQueue','set','createDecryptor','SerializableCipher','deepClone','subUnitId','_entityInit$','loginUrlKey','CBC','reconnect','_getAPIPrefix','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','enc','joinEvent','getResourcesRequest','HttpExport','session','addHandlerCallback','/universer-api/uniscript','_tryReconnect','_initRequestHeader','decryptBlock','call','_remoteChangesetQueue','_replaceFileID','code','FetchingMissState','replace','_onRecvEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','MentionType','CollaborationEvent','_disableEditing','sigBytes','SOCKET_FAILED_RETRY','shareReplay','_sendHeartbeatTimer','liveShareNewHost','isTransformChangesetsSuccess','Univer','byteLength','saveSheetBlock','forEach','_change$','_configService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onRemoteChangeset','MSG_FOR_ERROR','length','_snapshotServerService','Quantity','PERMISSION_REJ','_permissionService','unit-cache-','liveShareOperation','readAsDataURL','univer-pro.collaboration-client-socket-service','_init','post','c1Prime','ONLINE','HttpImport','_onConflict','HMAC','rng','NOT_FOUND','[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.','sid','memberID','CollaborationSessionService','LocaleService','_onUserLeave','collaboration-client.local-cache-service','_clearUndo','SheetCollaborationEntity','saveSnapshot','toggleOnline','startsWith','_createSocket','_revisionService','includes','ILogService','BufferedBlockAlgorithm','CollaborationUIEventService','UNIVER_UNKNOWN','execute','CollaborativeUndoRedoService','LIVESHARE_OPERATION','allowed','RETRY_CONNECTING_MAX_COUNT','AuthzIoHttpService','/resources','CollaborationImageIoService','name','fromCollab','_socketReady','apply','LIVESHARE_REQUEST_HOST','reject','BlockCipher','wsSessionTicketUrl','UNKNOWN_CMD','SetSelectionsOperation','CollaborationStatus','value','_state$','session.room-permission-denied','_commentService','_clearCollaborationTimeoutTimer','textEncoder','appendMutation','textRanges','_createHmacHelper','userID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MUTATION','_pendingMutations','getAllWorkbookPermissionPoint','isPermissionRej','focused$','_queuedRemoteChangesets','_substituteUndoStack','has','_onRemoteRetry','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_REJECT','_clearHeartbeatTimer','update','_roomCreated$','find','delete','eventID','_transformStack','_doReset','_listenToNetworkCondition','requireSession','_getAPIPrefixPath','onTransformSelections','finalize','_commandService','AES','searchParams','UniverNetworkPlugin','LOCAL_CACHE_INTERVAL_KEY','&to=','_initMergeInterceptor','enableOfflineEditing','JOIN_ROOM_NOT_EXISTS','downloadEndpointUrl','IMentionIOService','CollaborationSocketService','USERS_LEAVE','_onOffline','BlockCipherMode','[OfflineState]:\x20received\x20rejection.','kdf','range','MemberService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','1573060iXNjFJ','defaultWorksheetPermissionPoint','readyForCollab','APPLY_REVISION_CONFILICT','close','loadDoc','getTypeOfUnitDisposed$','pad','file','UniverInstanceType','onSendChangeset','ISocketService','saveChangeset','CONNECTOR_DATA_TOO_LARGE','$super','not_collab','getCollabEntity','4700199VtAgpa','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','unsubscribe','getCurrentUser','ITransformService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_append','BehaviorSubject','_iKey','_createSocketURL','connection\x20error','2VivFIm','IPermissionService','headers','fetchMissingChangesets','collabSubmitChangesetUrl','YUUMI_UNABLE_LOAD_URL','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_incrementRevisionNumber','createEncryptor','ticket','DEFAULT_FILE_NAME','x-univer-host','updatePermissionObjEvent','retryConnectingInterval','Pkcs7','_unlockTransition','isTransformMutationsWithChangesetFailure','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_authzIoService','PENDING','SUBMIT_CHANGESET_TIMEOUT','_onMessage','localeService','dispose$','INGEST','POST','_startCollaboration','status','parse','SelectRange','APPLY_PERMISSION_DENIED','UPDATE_CURSOR','CommentService','generateRandomId','getImage','[CollaborationSessionService]:\x20socket\x20error','_changesetSessionId','_hash','Subject','_removeRoom','_collabSessionService','_type','_status$','TOO_MANY_REQUESTS','isInternalEditorID','_iv','ceil','csRejEvent','unknown','initWorkbookPermissionChange','Undefined','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_prevBlock','concatMap','getRandomValues','_applyRemoteChangeset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_SLIDE','splice','url','LEAVE','max','deserializeToCombResponse','_map','/universer-api/snapshot','collaboration-client.config','routeKey','getSnapshotAPIPath','getWorkbookSelections','SHA1','CollaborationSession','target','randomBytes','capture','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/universer-api/user/session-ticket','HEARTBEAT_INTERVAL_KEY','objectType','clamp','_onLocalMutation','c2Prime','ImageSourceType','?url=','UniverSheetsPlugin','_isPermissionRej','subscribe','People','_resendTimer','_sessions','toLowerCase','now','sessionStatus','pluginName','_key','stringify','_cipher','_transformRemoteChangesetByIMECache','UPDATE_PERMISSION_OBJ','sessionStatus$','LICENSE_DISTRO_REJECTED','EmptyMutation','prototype','OTHER_CLIENT_EDITING','/-/object/list','defaultWorkbookPermissionPoints','SyncedState','selections','ISingleActiveUnitService','919571LPKevY','_onRemoteChangeset','onlyLocal','_getLoginPath','blockSize','JSONX','processBlock','_redoStacks','submit\x20changeset\x20error!','[OfflineState]:\x20received\x20acknowledgement.','isTransformMutationsWithChangesetSuccess','COMMENT_UPDATE','@univerjs-pro/collaboration','_data','LOGIN_URL_KEY','Utf8','entityInit$','mutations','EvpKDF','get','LOCAL_CACHE_INTERVAL','transformMutationsWithChangeset','_sessionStatus$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformRemoteChangesetByStateCache','getInterceptPoints','startTime','IAuthzIoService','bind','DisposableCollection','CHANGESET_SHOULD_RETRY','encrypt','compute','ciphertext','getTargetByPermissionId','location','_showConflictNotification','SUCCUSS','[CollaborationEntity]','_getRedoStack','COMPLETION_FINISHED','PSEUDO_FETCH_MISSING_RESULT','_instanceService','resourceIDs','_clearTimeoutTimer','unitId\x20is\x20not\x20found','ICollaborationSocketService','/object/','onRemoteAck','CipherParams','ERROR_IMAGE','runId','/role','SnapshotServerOverHTTPService','_univerInstanceService','updateMember','crypto','substr','_socket','random','body','getOwnPropertyDescriptor','members','key','_http','IDLE','emitEvent','MergeInterceptorFactory','UnitSnapshot','getConfig','LIVESHARE_NEW_HOST','cfg','_waitForHeartbeatResponse','getMember','_getUndoStack','_telemetryService','_socketMessageSubscription','pending','encodeURIComponent','members$','_replayCachedMutations','_acknowledgedAwaitingChangeset','takeUntil','_imageSourceCache','_mode','ivSize','@univerjs/telemetry','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_nRounds','WorksheetProtectionRuleModel','Cipher','mergeOverrideWithDependencies','onTransformIME','Workbook','_collaborationPaused','_doProcessBlock','open$','1667865xceHuy','PERSON','revision','clearUndoRedo','_roomMembers','Could\x20not\x20dynamically\x20require\x20\x22','_userManagerService','SheetTransformSelectionsService','CHANGESET_REJ','salt','_onFetchMissResult','hasOwnProperty','createInstance','LICENSE_IMPORT_SIZE_EXCEEDED','NO_OTHER_CLIENTS_EDITING','_resendWithTimeout','then','create','refreshPermission','_getSignURL','infoRsp','JOIN_ROOM_FULL','onRemoteRetry','transformChangesets','resolve','baseRev','DEFAULT_COLLAB_WEB_SOCKET_URL','randomUUID','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_shouldReportTelemetry','rxjs/operators','_createHelper','signUrlServerUrl','fromCharCode','_networkConditionService','PasswordBasedCipher','duration','formatter','_entities','[DataLoaderService]','collabWebSocketUrl','buffer','UNAUTHENTICATED','collaMsg','_nDataBytes','disableLocalCache','_retryCount','onload','HEARTBEAT','LIVESHARE_FETCH_OPERATIONS','AwaitingState','reset','_transformIMECache','FileId','transformSelections','toString','univer-pro.collaboration-client.network-condition.service','LIVESHARE_TERMINATE','_HTTPService','updatePermissionPoint','FAIL','toStringTag','[SyncedState]:\x20received\x20rejection.','toDisposable','mode','baseProtectionActions','_socket$','string','listRoles','_memberService','_socketService','session.join-failed','repeat','__Key__','subType','m2Prime','synced','_injector','getRoom','/universer-api/stream/file/upload','_clearRedo','_collaborationSessionService','_joinRoom','_clearScheduledTask','_DEC_XFORM_MODE','joinRsp','equals','Base','_executeRemoteChangeset','ERROR_IMAGE_TYPE','originalMeta','error$','RxDisposable','compose','IUniverInstanceService','_compressMutationService','PendingState','_transitionLocked','toggleOffline','AUTHZ_URL_KEY','PERMISSION_DENIED','subject','csShouldRetryEvent','disposeWithMe','every','HEARTBEAT_TIMEOUT_KEY','getDeserializedSheetBlock','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleTimestamp','@univerjs-pro/license','/block/','sheets','_doFinalize','[SyncedState]:\x20received\x20acknowledgement.','put','unitId','JOIN_ROOM_FAILED','UNRECOGNIZED','MentionIoHttpService','fetching\x20missing\x20changesets\x20from\x20','MD5','HTTPService','push','_initUnitPermissionChange','snapshotServerUrl','_registerDependencies','_localeService','roomInfos','INVALID_ARGUMENT','entries','_httpService','_rescheduleHeartbeat','[CollaborationState]:\x20apply\x20error!','_sendHeartbeat','_transformService','GLOBAL_ROOMS_CNT_EXCEEDS','data','addImageSourceCache','SNAPSHOT_URL_KEY','slice','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_event$','_getDownloadEndpointURL','SNAPSHOT_HAS_BEEN_REMOVED','_updateStatus','default','charCodeAt','setShowComponents','closeSession','_getCtorByUniverType','LICENSE_MAX_UNITS_EXCEEDED','_config','getTime','SYNCED','/allowed','/collaborator','RevisionService','transformUndoRedo','_toggleOnline','OpenSSL','executeCommand','ILocalCacheService','_schedule','/unit/','_keyPriorReset'];_0x2ec3=function(){return _0x45c1d9;};return _0x2ec3();}Ne=Kn([ce(0x0,a[_0x4cb87c(0x121)](a['Injector'])),ce(0x1,a[_0x4cb87c(0x37b)]),ce(0x2,a[_0x4cb87c(0x251)]),ce(0x3,a[_0x4cb87c(0x121)](exports[_0x4cb87c(0x1da)])),ce(0x4,a[_0x4cb87c(0x121)](te)),ce(0x5,a[_0x4cb87c(0x2d7)]),ce(0x6,a[_0x4cb87c(0x100)])],Ne);var Yn=Object[_0x4cb87c(0x190)],qn=Object[_0x4cb87c(0x2f9)],zn=(_0x149f68,_0x2d3540,_0x228f98,_0x42f088)=>{var _0x5ec930=_0x4cb87c;for(var _0x1860d9=_0x42f088>0x1?void 0x0:_0x42f088?qn(_0x2d3540,_0x228f98):_0x2d3540,_0x350628=_0x149f68[_0x5ec930(0x1c5)]-0x1,_0x5bb258;_0x350628>=0x0;_0x350628--)(_0x5bb258=_0x149f68[_0x350628])&&(_0x1860d9=(_0x42f088?_0x5bb258(_0x2d3540,_0x228f98,_0x1860d9):_0x5bb258(_0x1860d9))||_0x1860d9);return _0x42f088&&_0x1860d9&&Yn(_0x2d3540,_0x228f98,_0x1860d9),_0x1860d9;},_t=(_0x4548db,_0x1c4948)=>(_0x2d737a,_0xaeae8)=>_0x1c4948(_0x2d737a,_0xaeae8,_0x4548db);exports['SnapshotServerOverHTTPService']=class{constructor(_0x260e8b,_0x2b41d5){var _0x116232=_0x4cb87c;this['_configService']=_0x260e8b,this[_0x116232(0x39f)]=_0x2b41d5;}async['getUnitOnRev'](_0x4930ac,_0x2caa33){var _0x1d11ac=_0x4cb87c,_0x4af269;const {unitID:_0x33fb0f,type:_0x115088,revision:_0x1597d1=0x0}=_0x2caa33,_0xa9d4b2=this[_0x1d11ac(0x293)]()+'/'+_0x115088+_0x1d11ac(0x3c0)+_0x33fb0f+_0x1d11ac(0x404)+_0x1597d1,_0x4ce2ec=(await this[_0x1d11ac(0x39f)][_0x1d11ac(0x2cf)](_0xa9d4b2))[_0x1d11ac(0x2f8)],_0x5f42c5=(_0x4af269=_0x4ce2ec['snapshot'])==null?void 0x0:_0x4af269[_0x1d11ac(0x3eb)];if(_0x5f42c5){const _0x4bdd8b=_0x5f42c5==null?void 0x0:_0x5f42c5[_0x1d11ac(0x377)],_0x5cf7b1=m[_0x1d11ac(0x202)][_0x1d11ac(0x138)](m['b64DecodeUnicode'](_0x4bdd8b));_0x5f42c5[_0x1d11ac(0x377)]=_0x5cf7b1,Object[_0x1d11ac(0x39e)](_0x5f42c5[_0x1d11ac(0x38c)])[_0x1d11ac(0x1bf)](([,_0x48628a])=>{var _0x44b537=_0x1d11ac;const _0x1b9c1d=_0x48628a[_0x44b537(0x377)],_0xef31df=m[_0x44b537(0x202)][_0x44b537(0x138)](m['b64DecodeUnicode'](_0x1b9c1d));_0x48628a[_0x44b537(0x377)]=_0xef31df;});}return _0x4ce2ec;}async[_0x4cb87c(0xe4)](_0x4c71da,_0x20361a){var _0x277c90=_0x4cb87c;const {unitID:_0x423455,type:_0x4655db,blockID:_0xa294cb}=_0x20361a,_0xfb7c65=this['_getAPIPrefix']()+'/'+_0x4655db+_0x277c90(0x3c0)+_0x423455+'/block/'+_0xa294cb;return(await this[_0x277c90(0x39f)][_0x277c90(0x2cf)](_0xfb7c65))[_0x277c90(0x2f8)];}async[_0x4cb87c(0x387)](_0x5d7671,_0x9a02b4){var _0x29dee3=_0x4cb87c;const {unitID:_0x2f0171,type:_0x35c1cc,blockID:_0x4cad9e}=_0x9a02b4,_0x5a6907=this[_0x29dee3(0x19f)]()+_0x29dee3(0x38b)+_0x35c1cc+_0x29dee3(0x3c0)+_0x2f0171+_0x29dee3(0x38b)+_0x4cad9e;return(await this[_0x29dee3(0x39f)]['get'](_0x5a6907))[_0x29dee3(0x2f8)];}async[_0x4cb87c(0x253)](_0x4aafc8,_0x4c2cd7){var _0x1a338f=_0x4cb87c;const {unitID:_0x2cd86e,type:_0x56fa7d,from:_0x33372e,to:_0x4bc6bc}=_0x4c2cd7,_0x589303=this[_0x1a338f(0x19f)]()+'/'+_0x56fa7d+_0x1a338f(0x3c0)+_0x2cd86e+_0x1a338f(0xe1)+_0x33372e+_0x1a338f(0x225)+_0x4bc6bc;return(await this['_httpService']['get'](_0x589303))['body'];}['getSnapshotAPIPath'](){var _0x352c5b=_0x4cb87c,_0x34b725;return(_0x34b725=this['_configService'][_0x352c5b(0x301)](vt))!=null?_0x34b725:this[_0x352c5b(0x19f)]();}[_0x4cb87c(0x19f)](){var _0x1e748b=_0x4cb87c,_0x1705d8,_0x586440;const _0x3a80eb=this[_0x1e748b(0x1c1)][_0x1e748b(0x301)](dt),_0x39e06b=this[_0x1e748b(0x1c1)][_0x1e748b(0x301)](q);return(_0x586440=(_0x1705d8=_0x39e06b==null?void 0x0:_0x39e06b[_0x1e748b(0x399)])!=null?_0x1705d8:_0x3a80eb)!=null?_0x586440:$t;}async[_0x4cb87c(0x1a3)](_0x3c14ed,_0x4463ae){var _0x8ec44d=_0x4cb87c;const _0x2236de='/universer-api/snapshot/'+_0x4463ae[_0x8ec44d(0x424)]+_0x8ec44d(0x3c0)+_0x4463ae[_0x8ec44d(0x167)]+_0x8ec44d(0x1f0);return(await this[_0x8ec44d(0x39f)]['get'](_0x2236de,{'params':{'resourceId':JSON['stringify'](_0x4463ae[_0x8ec44d(0x2e7)])}}))[_0x8ec44d(0x2f8)];}[_0x4cb87c(0x1e0)](){var _0x2fd36a=_0x4cb87c;throw new Error(_0x2fd36a(0x443));}[_0x4cb87c(0x1be)](){var _0x49e3db=_0x4cb87c;throw new Error(_0x49e3db(0x443));}[_0x4cb87c(0x240)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x2cae4d=_0x4cb87c;throw new Error(_0x2cae4d(0x443));}[_0x4cb87c(0x14e)](){var _0x422bed=_0x4cb87c;throw new Error(_0x422bed(0x443));}},exports[_0x4cb87c(0x2f1)]=zn([_t(0x0,a[_0x4cb87c(0xfe)]),_t(0x1,a[_0x4cb87c(0x121)](z[_0x4cb87c(0x396)]))],exports[_0x4cb87c(0x2f1)]);function _0xbd70(_0x387015,_0xd2541f){var _0x2ec341=_0x2ec3();return _0xbd70=function(_0xbd7083,_0x285c67){_0xbd7083=_0xbd7083-0xd6;var _0x2c92f6=_0x2ec341[_0xbd7083];return _0x2c92f6;},_0xbd70(_0x387015,_0xd2541f);}var Jn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2ee47b,_0x49c8ca,_0x14b001,_0x151aec)=>{var _0x22fe25=_0x4cb87c;for(var _0x74d6dc=_0x151aec>0x1?void 0x0:_0x151aec?Xn(_0x49c8ca,_0x14b001):_0x49c8ca,_0x59c572=_0x2ee47b[_0x22fe25(0x1c5)]-0x1,_0x545bb4;_0x59c572>=0x0;_0x59c572--)(_0x545bb4=_0x2ee47b[_0x59c572])&&(_0x74d6dc=(_0x151aec?_0x545bb4(_0x49c8ca,_0x14b001,_0x74d6dc):_0x545bb4(_0x74d6dc))||_0x74d6dc);return _0x151aec&&_0x74d6dc&&Jn(_0x49c8ca,_0x14b001,_0x74d6dc),_0x74d6dc;},de=(_0x5735d7,_0x4d5e9a)=>(_0x409897,_0xfad68f)=>_0x4d5e9a(_0x409897,_0xfad68f,_0x5735d7);exports[_0x4cb87c(0x1eb)]=class extends a['LocalUndoRedoService']{constructor(_0x456711,_0x10a4f8,_0x47de32,_0x540d2a,_0x1583a0){var _0x5168a7=_0x4cb87c;super(_0x456711,_0x10a4f8,_0x47de32),this[_0x5168a7(0x3a3)]=_0x540d2a,this[_0x5168a7(0x3e8)]=_0x1583a0;}[_0x4cb87c(0x3ba)](_0x175b8b,_0x2c5aff){var _0x2e43c8=_0x4cb87c;const _0x5463dd=this[_0x2e43c8(0x306)](_0x175b8b);if(_0x5463dd)try{const _0x7f13c6=this[_0x2e43c8(0x219)](_0x5463dd,_0x2c5aff);this['_substituteUndoStack'](_0x175b8b,_0x7f13c6);}catch(_0x20fe91){this[_0x2e43c8(0x3e8)]['error'](_0x2e43c8(0x11a),_0x20fe91),this[_0x2e43c8(0x1de)](_0x175b8b);}const _0x38f929=this['_getRedoStack'](_0x175b8b);if(_0x38f929)try{const _0x51b3c3=this[_0x2e43c8(0x219)](_0x38f929,_0x2c5aff);this[_0x2e43c8(0x3e4)](_0x175b8b,_0x51b3c3);}catch(_0x46737c){this[_0x2e43c8(0x3e8)][_0x2e43c8(0x3f3)](_0x46737c),this[_0x2e43c8(0x36d)](_0x175b8b);}}['_clearUndo'](_0x14e0be){var _0x2c0a75=_0x4cb87c;const _0x586e6b=this[_0x2c0a75(0x306)](_0x14e0be);_0x586e6b&&(_0x586e6b[_0x2c0a75(0x1c5)]=0x0,this[_0x2c0a75(0x3ad)]());}['_clearRedo'](_0x403969){var _0x8bb3bf=_0x4cb87c;const _0x1ff902=this[_0x8bb3bf(0x2e3)](_0x403969);_0x1ff902&&(_0x1ff902[_0x8bb3bf(0x1c5)]=0x0,this[_0x8bb3bf(0x3ad)]());}[_0x4cb87c(0x20e)](_0x473fb9,_0x5f210a){var _0x56a734=_0x4cb87c;this[_0x56a734(0x422)][_0x56a734(0x196)](_0x473fb9,_0x5f210a),this[_0x56a734(0x3ad)]();}[_0x4cb87c(0x3e4)](_0x51a528,_0x3ed71b){var _0x5d8e34=_0x4cb87c;this[_0x5d8e34(0x2c3)]['set'](_0x51a528,_0x3ed71b),this['_updateStatus']();}[_0x4cb87c(0x219)](_0x2e8a35,_0x85a6a1){var _0x36eb82=_0x4cb87c;const _0x94425a=[];let _0x115c70=_0x85a6a1,_0x1cb0b7=_0x85a6a1;for(let _0x456787=_0x2e8a35['length']-0x1;_0x456787>=0x0;_0x456787--){const {unitID:_0x1602c3,undoMutations:_0x332faf,redoMutations:_0x4b17cb}=_0x2e8a35[_0x456787],_0x5bc92f=this[_0x36eb82(0x3a3)][_0x36eb82(0x2d1)](_0x115c70,_0x332faf),_0x5ef31b=this['_transformService'][_0x36eb82(0x2d1)](_0x1cb0b7,_0x4b17cb);if(m[_0x36eb82(0x260)](_0x5bc92f)||m[_0x36eb82(0x260)](_0x5ef31b)){this[_0x36eb82(0x3e8)]['error'](_0x36eb82(0x11a),_0x36eb82(0x133),_0x5bc92f,_0x5ef31b);break;}_0x115c70=_0x5bc92f[_0x36eb82(0x1d0)],_0x1cb0b7=_0x5ef31b[_0x36eb82(0x1d0)],_0x94425a['push']({'unitID':_0x1602c3,'undoMutations':_0x5bc92f[_0x36eb82(0x368)],'redoMutations':_0x5ef31b[_0x36eb82(0x368)]});}return _0x94425a[_0x36eb82(0x126)]();}},exports[_0x4cb87c(0x1eb)]=Zn([de(0x0,a[_0x4cb87c(0x37b)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,m[_0x4cb87c(0x249)]),de(0x4,a['ILogService'])],exports[_0x4cb87c(0x1eb)]);var At=Object['defineProperty'],Qn=Object[_0x4cb87c(0x2f9)],er=(_0x567bce,_0x492423,_0x490126)=>_0x492423 in _0x567bce?At(_0x567bce,_0x492423,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x490126}):_0x567bce[_0x492423]=_0x490126,tr=(_0x62d35d,_0x220edf,_0x5379fc,_0x45ca2c)=>{var _0x34af20=_0x4cb87c;for(var _0x39bb95=_0x45ca2c>0x1?void 0x0:_0x45ca2c?Qn(_0x220edf,_0x5379fc):_0x220edf,_0x422358=_0x62d35d[_0x34af20(0x1c5)]-0x1,_0x1cd718;_0x422358>=0x0;_0x422358--)(_0x1cd718=_0x62d35d[_0x422358])&&(_0x39bb95=(_0x45ca2c?_0x1cd718(_0x220edf,_0x5379fc,_0x39bb95):_0x1cd718(_0x39bb95))||_0x39bb95);return _0x45ca2c&&_0x39bb95&&At(_0x220edf,_0x5379fc,_0x39bb95),_0x39bb95;},je=(_0x5cf8f9,_0x329dc7)=>(_0x2b853c,_0x5ebf6d)=>_0x329dc7(_0x2b853c,_0x5ebf6d,_0x5cf8f9),ir=(_0x8a98d7,_0x479cf8,_0xc3728f)=>er(_0x8a98d7,_0x479cf8+'',_0xc3728f);const nr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x1fe578=Xt,_0x583a2b,_0x5921c3,_0x5b6a9d){var _0x96fd7b=_0x4cb87c;super(),this['_config']=_0x1fe578,this[_0x96fd7b(0x3e8)]=_0x583a2b,this[_0x96fd7b(0x36a)]=_0x5921c3,this['_configService']=_0x5b6a9d;const {..._0x2f0596}=this[_0x96fd7b(0x3b4)];this[_0x96fd7b(0x1c1)]['setConfig'](q,_0x2f0596);}['onStarting'](){var _0xea58b4=_0x4cb87c;this[_0xea58b4(0x39a)](),this[_0xea58b4(0x449)]();}[_0x4cb87c(0x39a)](){var _0x9d5eaa=_0x4cb87c,_0x18338f,_0x527a18,_0x50c841,_0x34d280;this['_injector'][_0x9d5eaa(0x20f)](a[_0x9d5eaa(0x100)])&&this[_0x9d5eaa(0x3e8)][_0x9d5eaa(0x3f3)](_0x9d5eaa(0x10c),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4765be=a[_0x9d5eaa(0x317)]([[a[_0x9d5eaa(0x100)],{'useClass':exports[_0x9d5eaa(0x1eb)]}],[exports['CollaborationSessionService']],[exports[_0x9d5eaa(0x232)]],[exports[_0x9d5eaa(0x324)]],[ye],[Pe],[Be],[Ne],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x527a18=(_0x18338f=this[_0x9d5eaa(0x3b4)])==null?void 0x0:_0x18338f['socketService'])!=null?_0x527a18:exports[_0x9d5eaa(0x22b)]}],[m[_0x9d5eaa(0x3c7)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x9d5eaa(0x1ef)]}],[X['IImageIoService'],{'useClass':exports[_0x9d5eaa(0x1f1)]}],[a[_0x9d5eaa(0x22a)],{'useClass':exports[_0x9d5eaa(0x393)]}],[exports['CollaborationController']],[$e]],(_0x50c841=this['_config'])==null?void 0x0:_0x50c841['override']);if(!((_0x34d280=this[_0x9d5eaa(0x3b4)])!=null&&_0x34d280[_0x9d5eaa(0x17d)])){const _0x24bd36=_0x4765be[_0x9d5eaa(0x3d9)](([_0x99109a])=>_0x99109a===ve);_0x24bd36!==-0x1&&_0x4765be['splice'](_0x24bd36,0x1);}a[_0x9d5eaa(0x3ef)](this[_0x9d5eaa(0x36a)],_0x4765be);}[_0x4cb87c(0x449)](){var _0x24d74f=_0x4cb87c,_0x39253a,_0x225747,_0x476cfe;this[_0x24d74f(0x36a)][_0x24d74f(0x2cf)](z[_0x24d74f(0x396)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x24d74f(0x157)]({'maxParallel':0x6})}),(_0x39253a=this['_config'])!=null&&_0x39253a[_0x24d74f(0x227)]||(_0x225747=this['_injector'][_0x24d74f(0x2cf)](J,a[_0x24d74f(0x1c7)]['OPTIONAL']))==null||_0x225747[_0x24d74f(0x34a)](),(_0x476cfe=this[_0x24d74f(0x3b4)])!=null&&_0x476cfe['enableAuthServer']&&a[_0x24d74f(0x439)](this[_0x24d74f(0x36a)],[[ye]]),a[_0x24d74f(0x439)](this[_0x24d74f(0x36a)],[[Pe],[exports[_0x24d74f(0x17c)]],[Ne]]);}},ir(exports[_0x4cb87c(0x461)],_0x4cb87c(0x2ac),nr),exports[_0x4cb87c(0x461)]=tr([a[_0x4cb87c(0xda)](m[_0x4cb87c(0x3cf)],W[_0x4cb87c(0x2a3)],z[_0x4cb87c(0x223)]),je(0x1,a[_0x4cb87c(0x1e6)]),je(0x2,a[_0x4cb87c(0x121)](a[_0x4cb87c(0x45d)])),je(0x3,a[_0x4cb87c(0xfe)])],exports[_0x4cb87c(0x461)]),exports[_0x4cb87c(0x380)]=Ge,exports[_0x4cb87c(0x2d3)]=q,exports[_0x4cb87c(0x453)]=It,exports[_0x4cb87c(0xed)]=ft,exports[_0x4cb87c(0x1fc)]=We,exports['CollaborationUIEventId']=Q,exports[_0x4cb87c(0x1e8)]=te,exports[_0x4cb87c(0x270)]=Be,exports[_0x4cb87c(0x337)]=St,exports[_0x4cb87c(0x3f9)]=Jt,exports[_0x4cb87c(0x29c)]=pt,exports[_0x4cb87c(0x386)]=He,exports[_0x4cb87c(0x2ea)]=ke,exports[_0x4cb87c(0x3be)]=J,exports[_0x4cb87c(0x160)]=bt,exports[_0x4cb87c(0x2bb)]=ve,exports[_0x4cb87c(0x2d0)]=Kt,exports[_0x4cb87c(0x224)]=Gt,exports[_0x4cb87c(0x2ca)]=Et,exports[_0x4cb87c(0xd9)]=zt,exports[_0x4cb87c(0x442)]=mt,exports[_0x4cb87c(0xe0)]=Ht,exports[_0x4cb87c(0x18d)]=dt,exports[_0x4cb87c(0x3a7)]=vt,exports[_0x4cb87c(0x113)]=se,exports['UnitStatus']=Fe,exports[_0x4cb87c(0x28e)]=Rt,exports['getLocalCacheKey']=mi,exports[_0x4cb87c(0x45a)]=Ot;