@univerjs-pro/collaboration-client 0.5.4-nightly.202501191605 → 0.5.4-nightly.202501200849

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 _0x1a7af1=_0x1265;(function(_0x3108f4,_0x16b7bd){var _0x4ebdd3=_0x1265,_0x4cce72=_0x3108f4();while(!![]){try{var _0x3b2534=-parseInt(_0x4ebdd3(0x3ed))/0x1+parseInt(_0x4ebdd3(0x37f))/0x2*(-parseInt(_0x4ebdd3(0x1ed))/0x3)+-parseInt(_0x4ebdd3(0x150))/0x4*(parseInt(_0x4ebdd3(0x350))/0x5)+parseInt(_0x4ebdd3(0x283))/0x6*(-parseInt(_0x4ebdd3(0x380))/0x7)+-parseInt(_0x4ebdd3(0x1da))/0x8*(parseInt(_0x4ebdd3(0x351))/0x9)+-parseInt(_0x4ebdd3(0x193))/0xa*(parseInt(_0x4ebdd3(0x274))/0xb)+-parseInt(_0x4ebdd3(0x339))/0xc*(-parseInt(_0x4ebdd3(0x22f))/0xd);if(_0x3b2534===_0x16b7bd)break;else _0x4cce72['push'](_0x4cce72['shift']());}catch(_0x2772fd){_0x4cce72['push'](_0x4cce72['shift']());}}}(_0x48be,0xb7f8e));var Mt=Object[_0x1a7af1(0x26a)],xt=(_0x4ecbc1,_0x204fe1,_0x2e210b)=>_0x204fe1 in _0x4ecbc1?Mt(_0x4ecbc1,_0x204fe1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e210b}):_0x4ecbc1[_0x204fe1]=_0x2e210b,D=(_0x4d4986,_0x36de61,_0x2f4174)=>xt(_0x4d4986,typeof _0x36de61!='symbol'?_0x36de61+'':_0x36de61,_0x2f4174);Object['defineProperty'](exports,Symbol[_0x1a7af1(0x18e)],{'value':_0x1a7af1(0x17e)});const a=require(_0x1a7af1(0x27b)),H=require(_0x1a7af1(0x449)),W=require('rxjs/operators'),q=require(_0x1a7af1(0x401)),m=require(_0x1a7af1(0x464)),jt=require('@univerjs/telemetry'),dt=require(_0x1a7af1(0x176)),J=require('@univerjs/sheets'),X=require(_0x1a7af1(0x31b)),$t=require(_0x1a7af1(0x436)),vt=_0x1a7af1(0x2d3),Ht='/universer-api/snapshot',ft=_0x1a7af1(0x4a3),kt=_0x1a7af1(0x173),Bt=0x7d0,St=_0x1a7af1(0x23b),pt=_0x1a7af1(0x3d4),Ft=_0x1a7af1(0x408),mt=_0x1a7af1(0x44d),Wt=0x7530,He=_0x1a7af1(0x3c2),gt=0x4e20,Gt=0x4e20,It=_0x1a7af1(0x2b2),Vt=0x3,Kt=_0x1a7af1(0x30b),Yt=0x3e8,Et=_0x1a7af1(0x41c),qt=_0x1a7af1(0x291),Ct=_0x1a7af1(0x1b1),zt=_0x1a7af1(0x414),Jt=_0x1a7af1(0x456),Xt=_0x1a7af1(0x1c8);var Tt=(_0x29d1ad=>(_0x29d1ad[_0x29d1ad[_0x1a7af1(0x21c)]=0x0]=_0x1a7af1(0x21c),_0x29d1ad[_0x29d1ad['OK']=0x1]='OK',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x417)]=0x2]='INTERNAL_ERROR',_0x29d1ad[_0x29d1ad['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x42a)]=0x4]='NOT_FOUND',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x13b)]=0x5]=_0x1a7af1(0x13b),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x32a)]=0x6]=_0x1a7af1(0x32a),_0x29d1ad[_0x29d1ad['INVALID_ARGUMENT']=0x7]=_0x1a7af1(0x3cb),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x3ec)]=0x8]=_0x1a7af1(0x3ec),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x2dc)]=0x9]=_0x1a7af1(0x2dc),_0x29d1ad[_0x29d1ad['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1a7af1(0x2cd),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x19c)]=0x1771]=_0x1a7af1(0x19c),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x47b)]=0x1772]=_0x1a7af1(0x47b),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x48c)]=0x1773]=_0x1a7af1(0x48c),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x157)]=0x1b59]=_0x1a7af1(0x157),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x250)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x1dd)]=0x1b5b]=_0x1a7af1(0x1dd),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x3cf)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x2f5)]=0x1b5d]=_0x1a7af1(0x2f5),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x2e3)]=0x1f41]=_0x1a7af1(0x2e3),_0x29d1ad[_0x29d1ad['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1a7af1(0x495),_0x29d1ad[_0x29d1ad['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x29d1ad[_0x29d1ad['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1a7af1(0x41b),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x323)]=0x232c]=_0x1a7af1(0x323),_0x29d1ad[_0x29d1ad['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x31e)]=0x2711]=_0x1a7af1(0x31e),_0x29d1ad[_0x29d1ad[_0x1a7af1(0x3a8)]=0x2712]=_0x1a7af1(0x3a8),_0x29d1ad[_0x29d1ad['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x197)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x1db)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x29d1ad[_0x29d1ad[_0x1a7af1(0x1cf)]=-0x1]=_0x1a7af1(0x1cf),_0x29d1ad))(Tt||{}),Z=(_0x41e75c=>(_0x41e75c[_0x41e75c[_0x1a7af1(0x181)]=0x0]=_0x1a7af1(0x181),_0x41e75c[_0x41e75c[_0x1a7af1(0x311)]=0x1]='UNIVER_DOC',_0x41e75c[_0x41e75c[_0x1a7af1(0x343)]=0x2]=_0x1a7af1(0x343),_0x41e75c[_0x41e75c[_0x1a7af1(0x28a)]=0x3]=_0x1a7af1(0x28a),_0x41e75c[_0x41e75c[_0x1a7af1(0x218)]=0x4]=_0x1a7af1(0x218),_0x41e75c[_0x41e75c[_0x1a7af1(0x1cf)]=-0x1]=_0x1a7af1(0x1cf),_0x41e75c))(Z||{}),G=(_0x4cdca9=>(_0x4cdca9[_0x4cdca9[_0x1a7af1(0x1bc)]=0x0]=_0x1a7af1(0x1bc),_0x4cdca9[_0x4cdca9[_0x1a7af1(0x472)]=0x1]=_0x1a7af1(0x472),_0x4cdca9[_0x4cdca9[_0x1a7af1(0x269)]=0x2]=_0x1a7af1(0x269),_0x4cdca9[_0x4cdca9[_0x1a7af1(0x328)]=0x3]=_0x1a7af1(0x328),_0x4cdca9[_0x4cdca9[_0x1a7af1(0x40d)]=0x4]=_0x1a7af1(0x40d),_0x4cdca9[_0x4cdca9[_0x1a7af1(0x465)]=0x5]=_0x1a7af1(0x465),_0x4cdca9[_0x4cdca9[_0x1a7af1(0x1e5)]=0x6]=_0x1a7af1(0x1e5),_0x4cdca9[_0x4cdca9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4cdca9))(G||{}),he=(_0x23c0c4=>(_0x23c0c4[_0x23c0c4[_0x1a7af1(0x22c)]=0x0]=_0x1a7af1(0x22c),_0x23c0c4[_0x23c0c4['OK']=0x1]='OK',_0x23c0c4[_0x23c0c4[_0x1a7af1(0x23f)]=0x2]=_0x1a7af1(0x23f),_0x23c0c4[_0x23c0c4[_0x1a7af1(0x158)]=0x3e9]=_0x1a7af1(0x158),_0x23c0c4[_0x23c0c4[_0x1a7af1(0x208)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x23c0c4[_0x23c0c4[_0x1a7af1(0x424)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x23c0c4[_0x23c0c4[_0x1a7af1(0x415)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x23c0c4[_0x23c0c4['UNRECOGNIZED']=-0x1]=_0x1a7af1(0x1cf),_0x23c0c4))(he||{}),bt=(_0x1f5d1e=>(_0x1f5d1e[_0x1f5d1e[_0x1a7af1(0x3f3)]=0x0]=_0x1a7af1(0x3f3),_0x1f5d1e[_0x1f5d1e['HttpImport']=0x1]=_0x1a7af1(0x239),_0x1f5d1e[_0x1f5d1e[_0x1a7af1(0x168)]=0x2]=_0x1a7af1(0x168),_0x1f5d1e[_0x1f5d1e[_0x1a7af1(0x3de)]=0x3]=_0x1a7af1(0x3de),_0x1f5d1e[_0x1f5d1e[_0x1a7af1(0x43a)]=0x4]=_0x1a7af1(0x43a),_0x1f5d1e[_0x1f5d1e[_0x1a7af1(0x1cf)]=-0x1]=_0x1a7af1(0x1cf),_0x1f5d1e))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x322f07=>(_0x322f07[_0x1a7af1(0x279)]=_0x1a7af1(0x279),_0x322f07[_0x1a7af1(0x147)]=_0x1a7af1(0x147),_0x322f07['CONFLICT']=_0x1a7af1(0x462),_0x322f07[_0x1a7af1(0x3af)]=_0x1a7af1(0x3af),_0x322f07[_0x1a7af1(0x47d)]='JOIN_ROOM_FAILED',_0x322f07[_0x1a7af1(0x38d)]='SOCKET_FAILED_RETRY',_0x322f07['SOCKET_FAILED']=_0x1a7af1(0x180),_0x322f07[_0x1a7af1(0x155)]='SUBMIT_CHANGESET_TIMEOUT',_0x322f07))(Q||{});class te{constructor(){var _0x837e71=_0x1a7af1;D(this,_0x837e71(0x334),new H[(_0x837e71(0x378))]()),D(this,'event$',this['_event$'][_0x837e71(0x2fb)]());}[_0x1a7af1(0x187)](_0x383790){var _0x35143d=_0x1a7af1;this[_0x35143d(0x334)][_0x35143d(0x167)](_0x383790);}}const Rt=a[_0x1a7af1(0x144)](_0x1a7af1(0x330));function Ot(_0x1a40e1){var _0x3f0171=_0x1a7af1,_0x44e359,_0x404033,_0x8065f8,_0x19a215,_0x2dd3f4;const _0x24ab73=_0x1a40e1[_0x3f0171(0x2d6)],_0x31c9fc=JSON[_0x3f0171(0x412)](_0x24ab73);switch(_0x31c9fc[_0x3f0171(0x1d8)]){case G[_0x3f0171(0x465)]:case G[_0x3f0171(0x472)]:{const _0xa8481e=_0x31c9fc[_0x3f0171(0x1d2)];return{..._0x31c9fc,'data':_0xa8481e,'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};}case G['JOIN']:{const _0x1d7bfa=_0x31c9fc['joinRsp'];return{..._0x31c9fc,'data':_0x1d7bfa,'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};}case G['RECV']:{const _0x515715=_0x31c9fc[_0x3f0171(0x271)];switch(_0x515715['eventID']){case m[_0x3f0171(0x1bb)][_0x3f0171(0x3f7)]:return{..._0x31c9fc,'data':{..._0x515715,'data':(_0x44e359=_0x515715[_0x3f0171(0x2ee)])==null?void 0x0:_0x44e359['cs']},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x1f2)]:return{..._0x31c9fc,'data':{..._0x515715,'data':(_0x404033=_0x515715[_0x3f0171(0x37c)])==null?void 0x0:_0x404033['cs']},'cmd':_0x31c9fc['cmd']};case m['CollaborationEvent'][_0x3f0171(0x24f)]:return{..._0x31c9fc,'data':{..._0x515715,'data':(_0x8065f8=_0x515715['newCsEvent'])==null?void 0x0:_0x8065f8['cs']},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x2be)]:return{..._0x31c9fc,'data':{..._0x515715,'data':(_0x19a215=_0x515715[_0x3f0171(0x26e)])==null?void 0x0:_0x19a215['cs']},'cmd':_0x31c9fc['cmd']};case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x31c9fc,'data':{..._0x515715,'data':(_0x2dd3f4=_0x515715[_0x3f0171(0x217)])==null?void 0x0:_0x2dd3f4['cs']},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x47f)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x2ca)]},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)]['USERS_ENTER']:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715['joinEvent']},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x202)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x153)]},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)]['LIVESHARE_NEW_HOST']:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715['liveShareNewHost']},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m['CollaborationEvent'][_0x3f0171(0x2a5)]:case m['CollaborationEvent'][_0x3f0171(0x37d)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x302)]},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x1ac)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x1ce)]},'cmd':_0x31c9fc['cmd']};case m['CollaborationEvent'][_0x3f0171(0x346)]:return{..._0x31c9fc,'data':_0x515715,'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x381)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715['commentUpdateEvent']},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};case m[_0x3f0171(0x1bb)][_0x3f0171(0x266)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x1e1)]},'cmd':_0x31c9fc['cmd']};case m[_0x3f0171(0x1bb)]['SHOULD_CLOSE_CONN']:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x25b)]},'cmd':_0x31c9fc['cmd']};case m[_0x3f0171(0x1bb)][_0x3f0171(0x49f)]:return{..._0x31c9fc,'data':{..._0x515715,'data':_0x515715[_0x3f0171(0x394)]},'cmd':_0x31c9fc[_0x3f0171(0x1d8)]};default:return _0x31c9fc;}}default:return _0x31c9fc;}}function yt(_0x2af2e9){var _0x5a8014=_0x1a7af1;switch(_0x2af2e9['cmd']){case G['HEARTBEAT']:case G[_0x5a8014(0x472)]:return JSON[_0x5a8014(0x192)]({'cmd':_0x2af2e9['cmd'],'routeKey':_0x2af2e9[_0x5a8014(0x247)]});case G[_0x5a8014(0x40d)]:{let _0x2b687b;switch(_0x2af2e9[_0x5a8014(0x2d6)][_0x5a8014(0x419)]){case m['CollaborationEvent'][_0x5a8014(0x47f)]:{_0x2b687b={'eventID':m[_0x5a8014(0x1bb)]['UPDATE_CURSOR'],'updateCursorEvent':_0x2af2e9[_0x5a8014(0x2d6)][_0x5a8014(0x2d6)]};break;}case m[_0x5a8014(0x1bb)][_0x5a8014(0x202)]:{_0x2b687b={'eventID':m[_0x5a8014(0x1bb)][_0x5a8014(0x202)],'leaveEvent':_0x2af2e9[_0x5a8014(0x2d6)][_0x5a8014(0x2d6)]};break;}case m[_0x5a8014(0x1bb)][_0x5a8014(0x21a)]:{_0x2b687b={'eventID':m['CollaborationEvent'][_0x5a8014(0x21a)],'joinEvent':_0x2af2e9['data']['data']};break;}case m[_0x5a8014(0x1bb)]['LIVESHARE_NEW_HOST']:{_0x2b687b={'eventID':m['CollaborationEvent'][_0x5a8014(0x3c1)],'liveShareNewHost':_0x2af2e9[_0x5a8014(0x2d6)][_0x5a8014(0x2d6)]};break;}case m[_0x5a8014(0x1bb)]['LIVESHARE_OPERATION']:{_0x2b687b={'eventID':m['CollaborationEvent'][_0x5a8014(0x37d)],'liveShareOperation':_0x2af2e9[_0x5a8014(0x2d6)]['data']};break;}case m[_0x5a8014(0x1bb)][_0x5a8014(0x1ac)]:{_0x2b687b={'eventID':m[_0x5a8014(0x1bb)][_0x5a8014(0x1ac)],'liveShareTerminate':_0x2af2e9[_0x5a8014(0x2d6)][_0x5a8014(0x2d6)]};break;}case m[_0x5a8014(0x1bb)][_0x5a8014(0x383)]:{_0x2b687b={'eventID':m[_0x5a8014(0x1bb)][_0x5a8014(0x383)],'liveShareRequestHost':_0x2af2e9[_0x5a8014(0x2d6)][_0x5a8014(0x2d6)]};break;}case m[_0x5a8014(0x1bb)][_0x5a8014(0x2a5)]:{_0x2b687b={'eventID':m[_0x5a8014(0x1bb)][_0x5a8014(0x2a5)]};break;}default:_0x2b687b={'eventID':_0x2af2e9[_0x5a8014(0x2d6)]['eventID']};}return JSON['stringify']({'cmd':_0x2af2e9['cmd'],'routeKey':_0x2af2e9[_0x5a8014(0x247)],'collaMsg':_0x2b687b});}case G[_0x5a8014(0x269)]:return JSON[_0x5a8014(0x192)]({'cmd':_0x2af2e9[_0x5a8014(0x1d8)],'routeKey':_0x2af2e9[_0x5a8014(0x247)],'joinReq':_0x2af2e9[_0x5a8014(0x2d6)]});case G[_0x5a8014(0x328)]:return JSON[_0x5a8014(0x192)]({'cmd':_0x2af2e9[_0x5a8014(0x1d8)],'routeKey':_0x2af2e9[_0x5a8014(0x247)],'leaveReq':_0x2af2e9[_0x5a8014(0x2d6)]});default:throw new Error(_0x5a8014(0x23d));}}var Zt=Object[_0x1a7af1(0x26a)],Qt=Object[_0x1a7af1(0x42c)],en=(_0x139189,_0x39ee2c,_0x2103a4,_0xb22657)=>{for(var _0x5c243f=_0xb22657>0x1?void 0x0:_0xb22657?Qt(_0x39ee2c,_0x2103a4):_0x39ee2c,_0x85b43f=_0x139189['length']-0x1,_0x5905d7;_0x85b43f>=0x0;_0x85b43f--)(_0x5905d7=_0x139189[_0x85b43f])&&(_0x5c243f=(_0xb22657?_0x5905d7(_0x39ee2c,_0x2103a4,_0x5c243f):_0x5905d7(_0x5c243f))||_0x5c243f);return _0xb22657&&_0x5c243f&&Zt(_0x39ee2c,_0x2103a4,_0x5c243f),_0x5c243f;},ue=(_0x1d5994,_0x2ee54c)=>(_0xeaf5b5,_0x28c1be)=>_0x2ee54c(_0xeaf5b5,_0x28c1be,_0x1d5994);const ke=a['createIdentifier'](_0x1a7af1(0x3b5));function tn(_0x38d272,_0x14c66f,_0x2b4ead){var _0x3668fc=_0x1a7af1;return _0x38d272+'/'+_0x14c66f+_0x3668fc(0x15d)+_0x2b4ead+_0x3668fc(0x14e);}exports[_0x1a7af1(0x27e)]=class extends a[_0x1a7af1(0x1ca)]{constructor(_0x4ec4a6,_0x218054,_0x1084a3,_0x2348f2,_0x424cfc){var _0xb0bdf4=_0x1a7af1;super(),this['_injector']=_0x4ec4a6,this[_0xb0bdf4(0x3a7)]=_0x218054,this[_0xb0bdf4(0x3ae)]=_0x1084a3,this[_0xb0bdf4(0x446)]=_0x2348f2,this[_0xb0bdf4(0x2d0)]=_0x424cfc;}['createSocket'](_0x3138cc){var _0x56dc53=_0x1a7af1;const _0xe905a1=this[_0x56dc53(0x496)]['get'](q[_0x56dc53(0x258)]);if(!_0xe905a1)throw new Error(_0x56dc53(0x263));const _0x351bc1=_0xe905a1[_0x56dc53(0x303)](_0x3138cc);if(!_0x351bc1)throw new Error(_0x56dc53(0x1d9));const _0x3fec9c=new a[(_0x56dc53(0x39f))](),_0x59f799=new H[(_0x56dc53(0x378))]();_0x3fec9c[_0x56dc53(0x49c)](_0x351bc1['close$'][_0x56dc53(0x447)](_0x1e8d3b=>_0x59f799['next'](_0x1e8d3b))),_0x3fec9c['add'](a[_0x56dc53(0x43c)](()=>_0x59f799[_0x56dc53(0x234)]()));const _0xfb9885=new H[(_0x56dc53(0x378))]();_0x3fec9c['add'](_0x351bc1[_0x56dc53(0x27f)][_0x56dc53(0x447)](_0x2a27c4=>_0xfb9885[_0x56dc53(0x167)](_0x2a27c4))),_0x3fec9c[_0x56dc53(0x49c)](a[_0x56dc53(0x43c)](()=>_0xfb9885['complete']()));const _0x4d80f5=new H[(_0x56dc53(0x378))]();_0x3fec9c[_0x56dc53(0x49c)](_0x351bc1[_0x56dc53(0x129)][_0x56dc53(0x447)](_0x18ff18=>{var _0x235c86=_0x56dc53;const _0x4e91cf=Ot(_0x18ff18);_0x4d80f5[_0x235c86(0x167)](_0x4e91cf);})),_0x3fec9c[_0x56dc53(0x49c)](a['toDisposable'](()=>_0x4d80f5[_0x56dc53(0x234)]()));let _0x16fb55;const _0x37955c=()=>{var _0x572dde=_0x56dc53;_0xfb9885[_0x572dde(0x167)](new Event('connection\x20error')),_0x59f799[_0x572dde(0x167)](new CloseEvent(_0x572dde(0x3f9))),_0x16fb55['close']();};return _0x16fb55={'memberID':'','close$':_0x59f799[_0x56dc53(0x2fb)](),'error$':_0xfb9885[_0x56dc53(0x2fb)](),'open$':_0x351bc1[_0x56dc53(0x126)],'message$':_0x4d80f5[_0x56dc53(0x2fb)](),'send':_0x51eee0=>{var _0x8bd7c=_0x56dc53;if(_0x51eee0[_0x8bd7c(0x1d8)]===G[_0x8bd7c(0x40d)]){if(_0x51eee0[_0x8bd7c(0x2d6)]['eventID']===m['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x16fb55,_0x51eee0[_0x8bd7c(0x2d6)])[_0x8bd7c(0x3fe)](_0x4264bd=>{var _0x4d4243=_0x8bd7c;this[_0x4d4243(0x446)]['error'](_0x4264bd),_0x37955c();});return;}if(_0x51eee0[_0x8bd7c(0x2d6)][_0x8bd7c(0x419)]===m[_0x8bd7c(0x1bb)][_0x8bd7c(0x1a9)]){const _0x5f55a5=_0x51eee0[_0x8bd7c(0x2d6)];this[_0x8bd7c(0x34a)](_0x5f55a5)[_0x8bd7c(0x287)](_0x35f661=>{var _0x2b5442=_0x8bd7c;_0x4d80f5['next']({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x5f55a5[_0x2b5442(0x2d6)][_0x2b5442(0x3c7)],'routeType':'','data':{'eventID':m[_0x2b5442(0x1bb)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x35f661}}});})[_0x8bd7c(0x3fe)](_0x53abe0=>{var _0xa2197e=_0x8bd7c;this[_0xa2197e(0x446)]['error'](_0x53abe0),_0x37955c();});return;}}_0x351bc1[_0x8bd7c(0x22e)](yt(_0x51eee0));},'close':()=>{var _0x4b5069=_0x56dc53;_0x351bc1[_0x4b5069(0x3e5)](),_0x3fec9c[_0x4b5069(0x1d5)]();}},_0x16fb55;}async[_0x1a7af1(0x29e)](_0xdff99d,_0x4ddb40){var _0x354809=_0x1a7af1,_0x96dad2,_0x3ca27e;const {unitType:_0x10b20d,unitID:_0x1b653f,changeset:_0xf76255}=_0x4ddb40[_0x354809(0x2d6)],_0x3d3991={'unitID':_0x1b653f,'memberID':_0xdff99d[_0x354809(0x2a4)],'type':_0x10b20d,'changeset':m[_0x354809(0x28b)](_0xf76255)},_0x524084=this[_0x354809(0x3ae)][_0x354809(0x213)](Et),_0x150c51=this[_0x354809(0x3ae)][_0x354809(0x213)](Y),_0x18a3c1=tn((_0x3ca27e=(_0x96dad2=_0x150c51==null?void 0x0:_0x150c51[_0x354809(0x34e)])!=null?_0x96dad2:_0x524084)!=null?_0x3ca27e:qt,_0x10b20d,_0x1b653f);try{await this['_http'][_0x354809(0x425)](_0x18a3c1,{'body':_0x3d3991});}catch(_0x128a98){throw this[_0x354809(0x446)]['error'](_0x354809(0x1fd),'submit\x20changeset\x20error!'),_0x128a98;}}async[_0x1a7af1(0x34a)](_0x2dba19){var _0x359303=_0x1a7af1;const {unitID:_0x234da7,from:_0x3656e9,to:_0x718c6b,unitType:_0x2c36e8}=_0x2dba19[_0x359303(0x2d6)];return(await this[_0x359303(0x2d0)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x234da7,'type':_0x2c36e8,'from':_0x3656e9,'to':_0x718c6b}))[_0x359303(0x41a)];}},exports[_0x1a7af1(0x27e)]=en([ue(0x0,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),ue(0x1,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)])),ue(0x2,a[_0x1a7af1(0x40a)]),ue(0x3,a['ILogService']),ue(0x4,m[_0x1a7af1(0x498)])],exports[_0x1a7af1(0x27e)]);const nn='collaboration_new_changeset';function rn(_0x68fb9a){var _0x7e4a4b=_0x1a7af1;return JSON['stringify'](_0x68fb9a)[_0x7e4a4b(0x3d2)];}class Be{constructor(){var _0x4b15b1=_0x1a7af1;D(this,_0x4b15b1(0x1d3),new H[(_0x4b15b1(0x378))]()),D(this,_0x4b15b1(0x389),this[_0x4b15b1(0x1d3)][_0x4b15b1(0x2fb)]());}[_0x1a7af1(0x268)](_0x53fb35){var _0x3cab87=_0x1a7af1;this[_0x3cab87(0x1d3)][_0x3cab87(0x167)](_0x53fb35);}}var sn=Object['defineProperty'],on=Object[_0x1a7af1(0x42c)],an=(_0x58314a,_0x48f334,_0x4094b9,_0x48dfcf)=>{var _0x138556=_0x1a7af1;for(var _0xee49cd=_0x48dfcf>0x1?void 0x0:_0x48dfcf?on(_0x48f334,_0x4094b9):_0x48f334,_0x547a7c=_0x58314a[_0x138556(0x3d2)]-0x1,_0x563d07;_0x547a7c>=0x0;_0x547a7c--)(_0x563d07=_0x58314a[_0x547a7c])&&(_0xee49cd=(_0x48dfcf?_0x563d07(_0x48f334,_0x4094b9,_0xee49cd):_0x563d07(_0xee49cd))||_0xee49cd);return _0x48dfcf&&_0xee49cd&&sn(_0x48f334,_0x4094b9,_0xee49cd),_0xee49cd;},Ye=(_0x1689c5,_0x2b0959)=>(_0x28665a,_0x44ff47)=>_0x2b0959(_0x28665a,_0x44ff47,_0x1689c5);function _0x48be(){var _0x483225=['code','_onConflict','rev','@univerjs-pro/license','_transformSelections','/universer-api/snapshot/','_toggleOffline','UnitSnapshot','StreamCipher','toDisposable','encryptBlock','apply','_updateState','_updateStatus','salt','padding','SheetCollaborationEntity','_resendWithTimeout','params','_logService','subscribe','Utf8','rxjs','sessionStatus$','call','/universer-api/authz','HEARTBEAT_INTERVAL','executeCommand','_nRounds','encrypt','search','_DEC_XFORM_MODE','function','get','_doFinalize','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SetSelectionsOperation','reset','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CompressMutationService','onSyncEditingCollabCursor','update','_sendHeartbeat','awaiting','iterations','touchDependencies','_initRequestHeader','CONFLICT','updateMember','@univerjs-pro/collaboration','HEARTBEAT','msCrypto','_change$','onTransformSelections','_listenToNetworkCondition','_socketService','IImageIoService','unitId','_univerInstanceService','_imageSourceCache','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/allowed','CollaborationController','HELLO','onCommandExecuted','retryConnectingInterval','exports','MentionIoHttpService','clear','BlockCipherMode','AWAITING','_transformRemoteChangesetByStateCache','SNAPSHOT_HAS_BEEN_REMOVED','clone','JOIN_ROOM_FAILED','getLocalCacheKey','UPDATE_CURSOR','_awaitingChangeset','OTHER_CLIENTS_EDITING','DependentOn','SEND_CHANGESET_TIMEOUT_KEY','_clearUndo','close$','delete','_localeService','_onRemoteRejected','ciphertext','MemberService','_unitID','ENSURE_SNAPSHOT_EXECUTION','_getUploadFileURL','RxDisposable','_oKey','_collaborationPaused','every','saveSheetBlock','isTransformMutationsWithChangesetFailure','UniverSheetsPlugin','LICENSE_MAX_UNITS_EXCEEDED','_injector','reqId','ISnapshotServerService','take','put','_shouldReportTelemetry','add','HEARTBEAT_TIMEOUT_KEY','refreshPermission','UNISCRIPT_RUN','ONLINE','image/jpg','univer-pro.collaboration-client.single-active-unit-service','SNAPSHOT_URL_KEY','result','_nDataBytes','open$','randomBytes','_onLocalMutation','message$','readAsDataURL','_disableEditing','BehaviorSubject','SUBMIT_CHANGESET','type','status','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','avatar','_clearTimeoutTimer','updateOfflineData','MentionType','crypto','_clearCollaborationTimeoutTimer','mergeOverrideWithDependencies','_transformUndoredo','ImageUploadStatusType','ERROR_IMAGE','UNAUTHENTICATED','setShowComponents','repeat','__esModule','ConflictState','_startCollaboration','\x0aCurrent:\x20','waitForRoom$','_eventService','createIdentifier','_initMergeInterceptor','transformSelections','PERMISSION_DENIED','MD5','_initUnitPermissionChange','getTime','AUTHZ_URL_KEY','isTransformChangesetsSuccess','[SyncedState]:\x20received\x20acknowledgement.','/new_changes','SHOULD_CLOSE_CONN','8VGKKxT','_registerDependencies','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','leaveEvent','fromCollab','SUBMIT_CHANGESET_TIMEOUT','socketService','APPLY_REJECT','JOIN_ROOM_FULL','_onJoinRoomEvent','finalize','_commentService','list','/unit/','isInternalEditorID','objects','collabWebSocketUrl','_emitMembers','getMemberID','_retryCount','actions','patch','_sender','next','HttpExport','randomUUID','selections','findIndex','ERROR_IMAGE_TYPE','_hash','_schedule','roomInfos','_httpService','subUnitId','_onMessage','SEND_CHANGESET_TIMEOUT','&assign=','startsWith','@univerjs/docs','_getSendChangesetTimeout','SnapshotServerOverHTTPService','_onUserLeave','_type','_doProcessBlock','_collaborationUIEventService','_loadSheet','Module','from','SOCKET_FAILED','UNIVER_UNKNOWN','objectType','hostname','/block/','filter','runId','emitEvent','name','onLocalMutation','socket\x20open.','_onRemoteChangeset','DEFAULT_FILE_NAME','_lockTransition','toStringTag','_createInitialState','onRemoteRetry','lib','stringify','3020AUInel','href','join','transformMutationsWithChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','/-/object/-/batch_allowed','FetchingMissState','firstValueFrom','enc','SNAPSHOT_INVALID_SNAPSHOT','InsertSheetMutation','SnapshotService','method','decrypt','reverse','compute','stopTime','_getAPIPrefix','editingUnit','DataLoaderService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','IAuthzIoService','FETCH_MISSING','COMPRESS_MUTATION_APPLY','_changesetReqId','LIVESHARE_TERMINATE','toggleOffline','awaiting_with_pending','textEncoder','JOINING','LOGIN_URL_KEY','encodeURIComponent','default','_sheetTransformSelectionsService','duration','\x20in\x20_schedule.','PasswordBasedCipher','&to=','capture','resourceIDs','CollaborationEvent','UNKNOWN_CMD','_snapshotService','Tools','UniverInstanceType','isArray','transformUndoRedo','loadDoc','_doReset','_clearHeartbeatTimer','format','POST','WorkbookEditablePermission','/universer-api/uniscript','responseType','Disposable','getAllMembers','People','onRemoteAck','liveShareNewHost','UNRECOGNIZED','mapDocumentTypeToUniverType','random','infoRsp','_commentUpdate$','onSendChangeset','dispose','DEFAULT_COLLAB_WEB_SOCKET_URL','CollaborationSessionService','cmd','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','5795488wCPqAW','PY_RUNTIME_SCRIPT_ERROR','_queuedRemoteChangesets','APPLY_REVISION_CONFILICT','focused$','ReplaySubject','save\x20fail\x20reason\x20is\x20','updatePermissionObjEvent','takeUntil','_tryReconnect','_sendHeartbeatTimer','RECV','onMissingChangesets','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformState','updateCollaborator','_undoRedoService','_executeRemoteChangeset','forEach','21VsNTXX','createInstance','getCollabEntity$','Base64','getCurrentSelections','CHANGESET_ACK','[DataLoaderService]','saveSnapshot','ceil','_collaborationSessionService','disableLocalCache','_onConnectionOpen','LOCAL_CACHE_INTERVAL_KEY','AwaitingState','_waitCount','_telemetryService','[CollaborationSession]','synced','/resources','not_collab','unpad','USERS_LEAVE','_HTTPService','PendingState','JSONX','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_collaborationTimeoutTimer','JOIN_ROOM_NOT_EXISTS','CommandType','_members$','_xformMode','_removeRoom','_status$','downloadEndpointUrl','pluginName','status$','x-univer-host','fromCharCode','getConfig','Cipher','getCurrentRevOfUnit','_permissionService','csShouldRetryEvent','UNIVER_PROJECT','[CollaborationEntity]','USERS_ENTER','CBC','UNDEFINED','NoPadding','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearScheduledTask','registerDependencies','ITelemetryService','transformStack\x20failed!','byteOffset','hasOwnProperty','_applyRemoteChangeset','_members','_redoStacks','slice','_updateLocalCache','_keySchedule','sendChangesetTimeout','UNKNOWN_CODE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','send','11843rafSHb','replace','transformChangesets','range','kdf','complete','HTTPService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_resendTimer','_socket$','HttpImport','PERSON','COLLAB_WEB_SOCKET_URL','url','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_remoteChangesetQueue','FAIL','pad','_retryConnectingTimer','_process','_getAPIPrefixPath','AuthzIoHttpService','ICommandService','uploadFileServerUrl','routeKey','onlyLocal','requireSession','unit-cache-','conflict','_hasher','UniverNetworkPlugin','byteLength','NEW_CHANGESETS','APPLY_NON_SEQUENTIAL_REVISION','_entities','IContextService','EvpKDF','\x20to\x20','_toggleOnline','reduce','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ISocketService','BlockCipher','origin','shouldCloseConn','abs','_throwTelemetryCollaborationNewChangeset','_data','_changesetSessionId','_transformService','_socketReady','_getSignURL','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','loginUrlKey','getRandomValues','UPDATE_PERMISSION_OBJ','MergeInterceptorFactory','onCommentUpdate','JOIN','defineProperty','CipherParams','NO_OTHER_CLIENTS_EDITING','getWorkbookSelections','csRejEvent','file','splice','collaMsg','onMissedChangesetFetched','CollaborativeUndoRedoService','36861IcaoyN','_onFetchMissResult','indexOf','_isPermissionRej','_checkMissing','OTHER_CLIENT_EDITING','_createSocket','@univerjs/core','_replayCachedMutations','CollaborationImageIoService','CollaborationSocketService','error$','includes','b64DecodeUnicode','Univer','12TPKvkA','confirm','getResourcesRequest','_getDownloadEndpointURL','then','ILogService','error','UNIVER_SLIDE','parseChangesetToProtocol','HmacMD5','requestParams','ivSize','_revisionService','_handler','/universer-api/comb','_transformIMECache','_loadDoc','_createSocketURL','Latin1','_decreaseWaiting','Hasher','getSnapshotAPIPath','/rev/','image/png','readInt32LE','_localCacheService','_onOffline','_submitChangeset','enableSingleActiveInstanceLock','getInterceptPoints','mode','_createHmacHelper','_sessionStatus$','memberID','LIVESHARE_FETCH_OPERATIONS','_minBufferSize','_sendingTimer','offline','entries','subject','HmacSHA1','_getUndoStack','/-/object/list','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','mixIn','map','CollaborationStatus','RETRY_CONNECTING_MAX_COUNT','getCollabEntity','onload','[CollaborationUndoRedoService]','_transformStack','_acknowledgedAwaitingChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','words','userID','IUniverInstanceService','getValue','_getRedoStack','CHANGESET_REJ','OPTIONAL','_pendingMutations','BASE64','createDecryptor','_waitForHeartbeatResponse','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_joinRoom','now','image/gif','_onConnectionFailed','addHandlerCallback','updateCursorEvent','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','hasher','CHANGESET_REVISION_CONFILICT','_unitInfo$','searchParams','_snapshotServerService','buffer','_onRemoteACK','SNAPSHOT_SERVER_URL_KEY','SessionStatus','keySize','data','revision','onTransformIME','m2Prime','sid','Decryptor','COMPLETION_FINISHED','_timeoutTimer','?url=','onRemoteRej','authzUrl','_init','CollaborationEntity','CONNECTOR_DATA_TOO_LARGE','/universer-api/file/{fileID}/sign-url','isPermissionRej','fetchMissingChangesets','PSEUDO_FETCH_MISSING_RESULT','blockSize','loadOfflineData','COLLAB_SUBMIT_CHANGESET_URL_KEY','HMAC','[PendingState]:\x20received\x20rejection.','getDeserializedSheetBlock','permissionRejEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_reverseMap','_tryEnsureSocket','OfflineState','IPermissionService','delay','APPLY_DUPLICATED','collaborators','_getCurrentRevision','listCollaborators','getFocusedUnit','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','asObservable','find','floor','[CollaborationState]:\x20apply\x20error!','saveImage','_substituteRedoStack','getTypeOfUnitAdded$','liveShareOperation','createSocket','cfg','unknown','execute','getGlobalObject','\x0aAfter:\x20','_getLoginPath','headers','LOCAL_CACHE_INTERVAL','_candidateSocket','UnitStatus','telemetry\x20info\x20is\x20not\x20initialized','body','Hex','UNIVER_DOC','_showConflictNotification','event$','Optional','_replaceFileID','[PendingState]:\x20received\x20acknowledgement.','Base','sessionStatus','onTransformRemoteChangesetByIMECache','size','@univerjs/drawing','Quantity','ITransformService','YUUMI_UNABLE_LOAD_URL','create','members','bind','__creator','LICENSE_EXPORT_SIZE_EXCEEDED','CHANGESET_SHOULD_RETRY','getSheetId','_compressMutationService','sequenceExecute','LEAVE','_parse','ALREADY_EXISTS','AwaitingWithPendingState','_memberService','Encryptor','withCredentials','_transformRemoteChangesetByIMECache','univer-pro.collaboration-client.network-condition.service','set','_collabSessionService','IUndoRedoService','_event$','Plugin','setWaitCount','_append','_startTelemetryCollaborationNewChangeset','68268iNlLyX','ImageSourceType','registerHTTPInterceptor','_roomMembers','originalMeta','disposeWithMe','Inject','_resendTimeout','_config','isTransformMutationsWithChangesetSuccess','UNIVER_SHEET','objectActions','_prevBlock','MSG_FOR_ERROR','_cipher','getLatestCsReqIdBySid','createEncryptor','_fetchMissChangesets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','FileId','prototype','collabSubmitChangesetUrl','/object','1186840rVOYlp','18gzQZVr','putCollaborators','push','min','workbook','readyForCollab','fetchThroughInterceptors','_createHelper','LocaleService','online$','CommentService','session.join-failed','_iKey','/role','_scheduleCompleteTimestamp','_commandService','init','equals','c2Prime','_handlerCallback','enableOfflineEditing','OFFLINE','parseProtocolChangeset','[SyncedState]:\x20received\x20rejection.','unsubscribe','_createInitialStateImpl','$super','decryptBlock','localeService','_getCtorByUniverType','location','_mode','getCurrentUser','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','HEARTBEAT_INTERVAL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','&source=','CollaborationSession','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Subject','_transformStateCache','_state','[UniverCollaborationClientPlugin]','csAckEvent','LIVESHARE_OPERATION','getImage','297058eGVzQj','608825CZdjSL','COMMENT_UPDATE','pending','LIVESHARE_REQUEST_HOST','addImageSourceCache','state$','localCacheService','dispose$','WordArray','commentUpdate$','merge','UniverCollaborationPlugin','_onRemoteRetry','SOCKET_FAILED_RETRY','/fetchmissing?from=','enableAuthServer','onTransformRemoteChangesetByStateCache','_entityInit$','_authzIoService','[OfflineState]:\x20received\x20acknowledgement.','uniscriptRunEvent','interceptor','algo','state','_singleActiveUnitService','_socket','SyncedState','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','toggleOnline','wsSessionTicketUrl','clamp','DisposableCollection','_initDependencies','MUTATION','BufferedBlockAlgorithm','incrementRevOfUnit','_telemetryInfo','Rectangle','fetchMiss','_http','YUUMI_URL_COL_OUT_OF_RANGE','_clearLocalCache','_ENC_XFORM_MODE','_map','getMember','_socketMessageSubscription','_configService','CLOSE_ROOM','textRanges','_onRecvEvent','getUnitId','/object/','Pkcs7','univer-pro.collaboration-client-socket-service','reject','sessionTicket','/collaborator','_unlockTransition','setCurrentUser','_incrementRevisionNumber','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveChangeset','UniverCollaborationClientPlugin','concat','LocalUndoRedoService','LIVESHARE_NEW_HOST','HEARTBEAT_TIMEOUT','\x20-\x20','CollaborationUIEventService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_networkConditionService','unitID','startTime','charCodeAt','_scheduleCollaborationTimeoutTimer','INVALID_ARGUMENT','ISingleActiveUnitService','_substituteUndoStack','OpenSSL','APPLY_PERMISSION_DENIED','_initCloseConn','session.room-cnt-exceeds','length','session.room-permission-denied','ws://127.0.0.1:8000/universer-api/comb/connect','_instanceService','closeSession','loadSheet','onRemoteChangeset','_transitionLocked','initWorkbookPermissionChange','pipe','_roomCreated$','roles','UnitEmbedded','SHA1','fetch_missing','UNIVER_COLLABORATION_CLIENT_PLUGIN','_state$','resend','AWAITING_WITH_PENDING','close','has','Injector','DocCollaborationEntity','COMPRESS_MUTATION_SEND','_onCombEvent','_stopTelemetryCollaborationNewChangeset','TOO_MANY_REQUESTS','279866mxlOmr','ILocalCacheService','c1Prime','{fileID}','_rescheduleHeartbeat','_getSessionTicket','Undefined','encode','appendMutation','_createHandler','PERMISSION_REJ','reconnect','connection\x20error','getImageSourceCache','SheetTransformSelectionsService','_keyPriorReset','_key','catch','debug','failed\x20to\x20apply\x20missed\x20changesets!','@univerjs/network','getUnitOnRev','RevisionService','_exhaustRemoteChangesetQueue','sheets','_sessions','key','/universer-api/user/session-ticket','getUnitType','IConfigService','sigBytes','NOT_COLLAB','INGEST','_doCryptBlock','generateRandomId','_syncEditingCollabCursor','_onUserJoin','parse','append','/universer-api/oidc/authpage','GLOBAL_ROOMS_CNT_EXCEEDS','session','INTERNAL_ERROR','removeMember','eventID','changesets','LICENSE_IMPORT_SIZE_EXCEEDED','COLLAB_SUBMIT_CHANGESET_URL','charAt','[CollaborationSessionService]','toString','[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.','serializeCombRequest','UUID','updatePermissionPoint','JOIN_ROOM_PERMISSION_DENIED','post','string','action','SUCCUSS','_userManagerService','NOT_FOUND','mutations','getOwnPropertyDescriptor','extend','awaitingChangeset','_clearRedo','objectID','baseRev','getTypeOfUnitDisposed$'];_0x48be=function(){return _0x483225;};return _0x48be();}exports['MemberService']=class extends a['Disposable']{constructor(_0x343f36,_0x555e49){var _0x47790f=_0x1a7af1;super(),D(this,_0x47790f(0x33c),new Map()),D(this,_0x47790f(0x3dc),new H['Subject']()),(this['_univerInstanceService']=_0x343f36,this['_userManagerService']=_0x555e49,this[_0x47790f(0x33e)](H[_0x47790f(0x38a)](this[_0x47790f(0x46d)]['getTypeOfUnitDisposed$'](a[_0x47790f(0x1bf)]['UNIVER_SHEET'])[_0x47790f(0x3db)](W[_0x47790f(0x2b0)](_0x33d888=>_0x33d888[_0x47790f(0x3b2)]())),this[_0x47790f(0x46d)][_0x47790f(0x432)](a[_0x47790f(0x1bf)][_0x47790f(0x311)])['pipe'](W['map'](_0x45378a=>_0x45378a['getUnitId']())),this[_0x47790f(0x46d)][_0x47790f(0x432)](a[_0x47790f(0x1bf)][_0x47790f(0x28a)])[_0x47790f(0x3db)](W[_0x47790f(0x2b0)](_0x2997df=>_0x2997df['getUnitId']())))[_0x47790f(0x447)](_0xccf106=>this[_0x47790f(0x20c)](_0xccf106))));}[_0x1a7af1(0x142)](_0x2b5638){var _0x7ecf4d=_0x1a7af1;return this[_0x7ecf4d(0x33c)][_0x7ecf4d(0x3e6)](_0x2b5638)?H['of'](this[_0x7ecf4d(0x33c)]['get'](_0x2b5638)):this['_roomCreated$'][_0x7ecf4d(0x3db)](W['map'](_0x5f3ff2=>{var _0x4d322b=_0x7ecf4d;if(_0x5f3ff2===_0x2b5638)return this[_0x4d322b(0x33c)][_0x4d322b(0x454)](_0x5f3ff2);}));}[_0x1a7af1(0x3ba)](_0x598d3c){var _0x1147cb=_0x1a7af1;this[_0x1147cb(0x429)][_0x1147cb(0x3ba)](_0x598d3c);}[_0x1a7af1(0x371)](){var _0x5b964b=_0x1a7af1;return this[_0x5b964b(0x429)]['getCurrentUser']();}[_0x1a7af1(0x463)](_0x129285,_0x3bf589){var _0x410f8e=_0x1a7af1;let _0x1582cb=this[_0x410f8e(0x33c)][_0x410f8e(0x454)](_0x129285);_0x1582cb||(_0x1582cb=new cn(),this[_0x410f8e(0x33c)]['set'](_0x129285,_0x1582cb),this[_0x410f8e(0x3dc)][_0x410f8e(0x167)](_0x129285)),_0x1582cb[_0x410f8e(0x463)](_0x3bf589);}['removeMember'](_0x34c23a,_0x2b4f38){var _0x3f9c8e=_0x1a7af1;const _0x2dce75=this[_0x3f9c8e(0x33c)][_0x3f9c8e(0x454)](_0x34c23a);_0x2dce75&&_0x2dce75[_0x3f9c8e(0x418)](_0x2b4f38);}['getRoom'](_0x1e1cc0){var _0x4cd309=_0x1a7af1;return this[_0x4cd309(0x33c)]['get'](_0x1e1cc0);}[_0x1a7af1(0x3ac)](_0x56c0de,_0x42a828){var _0x4ad1c3=_0x1a7af1;const _0x23c848=this['_roomMembers']['get'](_0x56c0de);if(_0x23c848)return _0x23c848[_0x4ad1c3(0x3ac)](_0x42a828);}[_0x1a7af1(0x20c)](_0x3f806a){var _0x3e88e1=_0x1a7af1;const _0x5b016a=this['_roomMembers'][_0x3e88e1(0x454)](_0x3f806a);_0x5b016a&&(_0x5b016a['dispose'](),this['_roomMembers'][_0x3e88e1(0x486)](_0x3f806a));}[_0x1a7af1(0x1d5)](){var _0xde0f7c=_0x1a7af1;this[_0xde0f7c(0x33c)][_0xde0f7c(0x1ec)](_0x415756=>_0x415756['dispose']()),this[_0xde0f7c(0x33c)][_0xde0f7c(0x477)](),this[_0xde0f7c(0x3dc)]['complete']();}},exports[_0x1a7af1(0x48a)]=an([Ye(0x0,a[_0x1a7af1(0x2bb)]),Ye(0x1,a[_0x1a7af1(0x33f)](a['UserManagerService']))],exports['MemberService']);class cn extends a[_0x1a7af1(0x1ca)]{constructor(){var _0x46a35f=_0x1a7af1;super(...arguments),D(this,'_members',new Map()),D(this,_0x46a35f(0x20a),new H[(_0x46a35f(0x12c))](this[_0x46a35f(0x226)])),D(this,'members$',this['_members$']['asObservable']());}[_0x1a7af1(0x1d5)](){var _0x4ca408=_0x1a7af1;this[_0x4ca408(0x226)][_0x4ca408(0x477)]();}[_0x1a7af1(0x463)](_0x396988){var _0x2d8ba6=_0x1a7af1;this['_members'][_0x2d8ba6(0x331)](_0x396988[_0x2d8ba6(0x2a4)],_0x396988),this[_0x2d8ba6(0x161)]();}[_0x1a7af1(0x418)](_0x448bfb){var _0x240423=_0x1a7af1;this[_0x240423(0x226)][_0x240423(0x486)](_0x448bfb);}['getMember'](_0x29cd13){var _0x5174c=_0x1a7af1;return this['_members'][_0x5174c(0x454)](_0x29cd13);}[_0x1a7af1(0x1cb)](){var _0x4258ae=_0x1a7af1;return Array[_0x4258ae(0x17f)](this['_members']['values']());}[_0x1a7af1(0x161)](){var _0x3d80d6=_0x1a7af1;this[_0x3d80d6(0x20a)][_0x3d80d6(0x167)](this['_members']);}}var hn=Object[_0x1a7af1(0x26a)],ln=Object['getOwnPropertyDescriptor'],_n=(_0x1cd7d0,_0x56dfda,_0x25cd3a,_0x7d3d57)=>{for(var _0x43ac6c=_0x7d3d57>0x1?void 0x0:_0x7d3d57?ln(_0x56dfda,_0x25cd3a):_0x56dfda,_0x15280f=_0x1cd7d0['length']-0x1,_0x321400;_0x15280f>=0x0;_0x15280f--)(_0x321400=_0x1cd7d0[_0x15280f])&&(_0x43ac6c=(_0x7d3d57?_0x321400(_0x56dfda,_0x25cd3a,_0x43ac6c):_0x321400(_0x43ac6c))||_0x43ac6c);return _0x7d3d57&&_0x43ac6c&&hn(_0x56dfda,_0x25cd3a,_0x43ac6c),_0x43ac6c;},oe=(_0x1b4a4c,_0x40ab33)=>(_0x99fb84,_0x4a1a62)=>_0x40ab33(_0x99fb84,_0x4a1a62,_0x1b4a4c),se=(_0x34aed0=>(_0x34aed0[_0x34aed0['IDLE']=0x0]='IDLE',_0x34aed0[_0x34aed0[_0x1a7af1(0x1b0)]=0x1]=_0x1a7af1(0x1b0),_0x34aed0[_0x34aed0[_0x1a7af1(0x366)]=0x2]=_0x1a7af1(0x366),_0x34aed0[_0x34aed0[_0x1a7af1(0x4a0)]=0x3]=_0x1a7af1(0x4a0),_0x34aed0))(se||{});const qe={[he[_0x1a7af1(0x23f)]]:_0x1a7af1(0x35c),[he[_0x1a7af1(0x158)]]:'session.room-full',[he['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[he[_0x1a7af1(0x424)]]:_0x1a7af1(0x3d3),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1a7af1(0x3d1)};exports[_0x1a7af1(0x376)]=class extends a[_0x1a7af1(0x48e)]{constructor(_0x43f484,_0x1a9821,_0x5c2917,_0x423c01,_0x4eb676,_0x33d267,_0x1fb300,_0x3d2172,_0x5263e8){var _0xb5e310=_0x1a7af1;super(),D(this,_0xb5e310(0x2a3),new H[(_0xb5e310(0x12c))](0x0)),D(this,_0xb5e310(0x44a),this[_0xb5e310(0x2a3)][_0xb5e310(0x2fb)]()),D(this,_0xb5e310(0x334),new H[(_0xb5e310(0x378))]()),D(this,_0xb5e310(0x313),this['_event$'][_0xb5e310(0x2fb)]()),D(this,_0xb5e310(0x399)),D(this,_0xb5e310(0x3ad)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x43f484,this[_0xb5e310(0x446)]=_0x5c2917,this[_0xb5e310(0x3ae)]=_0x423c01,this[_0xb5e310(0x487)]=_0x4eb676,this[_0xb5e310(0x32c)]=_0x33d267,this[_0xb5e310(0x15b)]=_0x1fb300,this[_0xb5e310(0x17c)]=_0x3d2172,this[_0xb5e310(0x1fc)]=_0x5263e8,this['_shouldReportTelemetry']=!!this[_0xb5e310(0x1fc)],_0x1a9821[_0xb5e310(0x3db)](H[_0xb5e310(0x1e2)](this['dispose$']))[_0xb5e310(0x447)](_0x2f2b1f=>{var _0x16fb2e=_0xb5e310,_0x2bbdff;typeof _0x2f2b1f>'u'||(this[_0x16fb2e(0x399)]=_0x2f2b1f,_0x2f2b1f?(this['_joinRoom'](_0x2f2b1f),this[_0x16fb2e(0x3ad)]=_0x2f2b1f['message$']['subscribe'](_0x4fcdc8=>{var _0x35d955=_0x16fb2e;_0x4fcdc8[_0x35d955(0x247)]===this[_0x35d955(0x48b)]&&this[_0x35d955(0x3ea)](_0x4fcdc8);})):(this[_0x16fb2e(0x25d)](),this['_sessionStatus$'][_0x16fb2e(0x167)](0x2),(_0x2bbdff=this[_0x16fb2e(0x3ad)])==null||_0x2bbdff[_0x16fb2e(0x369)](),this[_0x16fb2e(0x3ad)]=null));}));}get[_0x1a7af1(0x318)](){var _0x48e97d=_0x1a7af1;return this[_0x48e97d(0x2a3)][_0x48e97d(0x2bc)]();}[_0x1a7af1(0x162)](){var _0x2b1c0b=_0x1a7af1,_0x165633,_0x3017f5;return(_0x3017f5=(_0x165633=this['_socket'])==null?void 0x0:_0x165633[_0x2b1c0b(0x2a4)])!=null?_0x3017f5:null;}[_0x1a7af1(0x1d5)](){var _0x524898=_0x1a7af1;super[_0x524898(0x1d5)](),this[_0x524898(0x387)]['next'](),this[_0x524898(0x387)][_0x524898(0x234)]();}[_0x1a7af1(0x3e5)](){var _0x5c11d7=_0x1a7af1,_0x204d1f,_0x252ca8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x204d1f=this['_socket'])==null||_0x204d1f['send']({'cmd':G[_0x5c11d7(0x328)],'data':{'roomID':this[_0x5c11d7(0x48b)]}}),(_0x252ca8=this['_socket'])==null||_0x252ca8[_0x5c11d7(0x3e5)](),this['_event$'][_0x5c11d7(0x234)](),this[_0x5c11d7(0x2a3)]['complete'](),this[_0x5c11d7(0x1d5)]();}[_0x1a7af1(0x3ea)](_0x3022e3){var _0x3561f3=_0x1a7af1;_0x3022e3[_0x3561f3(0x1d8)]===G[_0x3561f3(0x269)]?this[_0x3561f3(0x159)](_0x3022e3):_0x3022e3[_0x3561f3(0x1d8)]===G[_0x3561f3(0x1e5)]&&this[_0x3561f3(0x3b1)](_0x3022e3);}[_0x1a7af1(0x2c5)](_0x18aad6){var _0xddf59d=_0x1a7af1;this['_sessionStatus$'][_0xddf59d(0x167)](0x1),_0x18aad6[_0xddf59d(0x22e)]({'cmd':G['JOIN'],'routeKey':this[_0xddf59d(0x48b)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1a7af1(0x159)](_0x3896e7){var _0x3eeb47=_0x1a7af1,_0x2b73a6;if(_0x3896e7[_0x3eeb47(0x433)]in qe){this[_0x3eeb47(0x17c)]['emitEvent']({'id':Q[_0x3eeb47(0x47d)],'data':qe[_0x3896e7[_0x3eeb47(0x433)]]}),this[_0x3eeb47(0x2a3)]['next'](0x2);return;}this['_sessionStatus$'][_0x3eeb47(0x167)](0x3);const _0x4e6417=(_0x2b73a6=_0x3896e7[_0x3eeb47(0x2d6)][_0x3eeb47(0x16f)][this[_0x3eeb47(0x48b)]])==null?void 0x0:_0x2b73a6[_0x3eeb47(0x320)];_0x4e6417&&_0x4e6417[_0x3eeb47(0x1ec)](_0x18d5ed=>this[_0x3eeb47(0x32c)][_0x3eeb47(0x463)](this[_0x3eeb47(0x48b)],_0x18d5ed));}[_0x1a7af1(0x3b1)](_0x1bb2aa){var _0x43595c=_0x1a7af1;try{const _0x45c80b=_0x1bb2aa[_0x43595c(0x2d6)];switch(_0x45c80b[_0x43595c(0x419)]){case m[_0x43595c(0x1bb)]['USERS_ENTER']:this[_0x43595c(0x411)](_0x45c80b),this[_0x43595c(0x334)][_0x43595c(0x167)](_0x45c80b);break;case m[_0x43595c(0x1bb)][_0x43595c(0x202)]:this[_0x43595c(0x179)](_0x45c80b),this['_event$'][_0x43595c(0x167)](_0x45c80b);break;case m['CollaborationEvent'][_0x43595c(0x1f2)]:case m[_0x43595c(0x1bb)][_0x43595c(0x324)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x43595c(0x334)][_0x43595c(0x167)](_0x45c80b);break;case m[_0x43595c(0x1bb)][_0x43595c(0x346)]:this[_0x43595c(0x446)][_0x43595c(0x289)](_0x43595c(0x1e0)+JSON[_0x43595c(0x192)](_0x45c80b)),this[_0x43595c(0x334)][_0x43595c(0x167)](_0x45c80b);break;case m[_0x43595c(0x1bb)][_0x43595c(0x381)]:this['_commentService'][_0x43595c(0x268)](_0x45c80b[_0x43595c(0x2d6)]),this['_event$'][_0x43595c(0x167)](_0x45c80b);break;default:this['_event$'][_0x43595c(0x167)](_0x45c80b);}}catch(_0x2a0bee){this[_0x43595c(0x446)][_0x43595c(0x289)](_0x2a0bee,_0x1bb2aa);}}['_onUserJoin'](_0x583e13){var _0x268b48=_0x1a7af1;this[_0x268b48(0x32c)][_0x268b48(0x463)](this[_0x268b48(0x48b)],_0x583e13[_0x268b48(0x2d6)]);}[_0x1a7af1(0x179)](_0x24d6e3){var _0x5aaf00=_0x1a7af1;this[_0x5aaf00(0x32c)][_0x5aaf00(0x418)](this['_unitID'],_0x24d6e3[_0x5aaf00(0x2d6)]['memberID']);}async[_0x1a7af1(0x22e)](_0x2e3f16,_0x284a74){var _0x1741c8=_0x1a7af1;if(this['sessionStatus']!==0x3||!this[_0x1741c8(0x399)])throw new Error(_0x1741c8(0x459));try{_0x2e3f16[_0x1741c8(0x419)]===m['CollaborationEvent'][_0x1741c8(0x12d)]&&(this[_0x1741c8(0x3ca)](),this['_startTelemetryCollaborationNewChangeset'](_0x2e3f16)),this[_0x1741c8(0x399)][_0x1741c8(0x22e)]({'cmd':G[_0x1741c8(0x40d)],'routeKey':_0x284a74,'routeType':'','data':_0x2e3f16});}catch(_0x330bdc){this[_0x1741c8(0x446)][_0x1741c8(0x289)](_0x330bdc);}}[_0x1a7af1(0x3ca)](){var _0x55f880=_0x1a7af1,_0x1e40ab;this[_0x55f880(0x207)]=setTimeout(()=>{var _0x491cd3=_0x55f880;this[_0x491cd3(0x207)]=null,this[_0x491cd3(0x17c)][_0x491cd3(0x187)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1e40ab=this[_0x55f880(0x3ae)]['getConfig'](He))!=null?_0x1e40ab:gt);}[_0x1a7af1(0x136)](){var _0x3be312=_0x1a7af1;this[_0x3be312(0x207)]&&(clearTimeout(this[_0x3be312(0x207)]),this[_0x3be312(0x207)]=null);}[_0x1a7af1(0x338)](_0x146b1a){var _0x1bb9ff=_0x1a7af1;if(!this[_0x1bb9ff(0x49b)])return;const {data:_0x16864a}=_0x146b1a,{unitID:_0x1f8637,changeset:_0x54cf1e}=_0x16864a,{mutations:_0x466248,type:_0x52aa88}=_0x54cf1e;this[_0x1bb9ff(0x3a4)]={'unitId':_0x1f8637,'type':_0x52aa88,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x466248)};}[_0x1a7af1(0x3eb)](){var _0x57768f=_0x1a7af1;if(this[_0x57768f(0x49b)]){if(!this[_0x57768f(0x3a4)]){this['_logService'][_0x57768f(0x289)](_0x57768f(0x1fd),_0x57768f(0x30e));return;}this[_0x57768f(0x3a4)][_0x57768f(0x1a3)]=performance['now'](),this[_0x57768f(0x3a4)][_0x57768f(0x1b5)]=this[_0x57768f(0x3a4)][_0x57768f(0x1a3)]-this[_0x57768f(0x3a4)][_0x57768f(0x3c8)],this['_telemetryService'][_0x57768f(0x1b9)](nn,this['_telemetryInfo']),this[_0x57768f(0x3a4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x26da2f=_0x1a7af1;this[_0x26da2f(0x3a4)]=null;}},exports[_0x1a7af1(0x376)]=_n([oe(0x2,a['ILogService']),oe(0x3,a['IConfigService']),oe(0x4,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x359)])),oe(0x5,a['Inject'](exports[_0x1a7af1(0x48a)])),oe(0x6,a[_0x1a7af1(0x33f)](Be)),oe(0x7,a[_0x1a7af1(0x33f)](te)),oe(0x8,a['Optional'](jt[_0x1a7af1(0x221)]))],exports[_0x1a7af1(0x376)]);var un=Object[_0x1a7af1(0x26a)],dn=Object[_0x1a7af1(0x42c)],vn=(_0x4fa676,_0x4c6830,_0x2e10fd,_0x394663)=>{var _0x55457b=_0x1a7af1;for(var _0x395a56=_0x394663>0x1?void 0x0:_0x394663?dn(_0x4c6830,_0x2e10fd):_0x4c6830,_0x14c65d=_0x4fa676[_0x55457b(0x3d2)]-0x1,_0x4518d0;_0x14c65d>=0x0;_0x14c65d--)(_0x4518d0=_0x4fa676[_0x14c65d])&&(_0x395a56=(_0x394663?_0x4518d0(_0x4c6830,_0x2e10fd,_0x395a56):_0x4518d0(_0x395a56))||_0x395a56);return _0x394663&&_0x395a56&&un(_0x4c6830,_0x2e10fd,_0x395a56),_0x395a56;},ae=(_0x46d73d,_0x2c6da3)=>(_0x22b02e,_0x368e63)=>_0x2c6da3(_0x22b02e,_0x368e63,_0x46d73d);exports[_0x1a7af1(0x1d7)]=class extends a[_0x1a7af1(0x1ca)]{constructor(_0xa713a,_0x4de9cd,_0x1b9e28,_0x1cffed,_0x1fadc6,_0x4ca624,_0xbaa9fc){var _0x209890=_0x1a7af1;super(),D(this,_0x209890(0x238),new H[(_0x209890(0x12c))](void 0x0)),D(this,'socket$',this['_socket$'][_0x209890(0x2fb)]()),D(this,_0x209890(0x30c),null),D(this,_0x209890(0x406),new Map()),D(this,_0x209890(0x20d),new H[(_0x209890(0x12c))](se['IDLE'])),D(this,_0x209890(0x210),this['_status$'][_0x209890(0x2fb)]()),D(this,_0x209890(0x261),!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x209890(0x1e4)),D(this,_0x209890(0x2dd)),(this[_0x209890(0x496)]=_0xa713a,this[_0x209890(0x446)]=_0x4de9cd,this[_0x209890(0x3ae)]=_0x1b9e28,this[_0x209890(0x46a)]=_0x1cffed,this[_0x209890(0x170)]=_0x1fadc6,this[_0x209890(0x17c)]=_0x4ca624,this['_networkConditionService']=_0xbaa9fc,this[_0x209890(0x469)]());}get[_0x1a7af1(0x399)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x2473d3=_0x1a7af1;this[_0x2473d3(0x3c6)]&&this[_0x2473d3(0x33e)](this[_0x2473d3(0x3c6)][_0x2473d3(0x35a)][_0x2473d3(0x447)](_0x52201d=>{var _0x3375e4=_0x2473d3;_0x52201d&&!this[_0x3375e4(0x399)]&&this['reconnect'](),_0x52201d||this[_0x3375e4(0x29d)]();}));}[_0x1a7af1(0x1d5)](){var _0x356fb7=_0x1a7af1;super[_0x356fb7(0x1d5)](),this[_0x356fb7(0x406)][_0x356fb7(0x1ec)](_0x1b5ecf=>_0x1b5ecf[_0x356fb7(0x1d5)]()),this['_sessions']['clear'](),this[_0x356fb7(0x20d)][_0x356fb7(0x234)]();}async[_0x1a7af1(0x249)](_0x44419e){var _0x5875a0=_0x1a7af1;if(this[_0x5875a0(0x406)][_0x5875a0(0x3e6)](_0x44419e))return this[_0x5875a0(0x406)][_0x5875a0(0x454)](_0x44419e);this[_0x5875a0(0x2f1)]();const _0x448f18=this[_0x5875a0(0x496)]['createInstance'](exports[_0x5875a0(0x376)],_0x44419e,this['_socket$']['asObservable']());return this[_0x5875a0(0x406)][_0x5875a0(0x331)](_0x44419e,_0x448f18),_0x448f18;}[_0x1a7af1(0x3d6)](_0x4000a2){var _0x893a53=_0x1a7af1,_0x33e44f;const _0x181b95=this[_0x893a53(0x406)][_0x893a53(0x454)](_0x4000a2);_0x181b95&&(this[_0x893a53(0x406)][_0x893a53(0x486)](_0x4000a2),_0x181b95[_0x893a53(0x3e5)]()),this['_sessions']['size']||(_0x33e44f=this[_0x893a53(0x399)])==null||_0x33e44f[_0x893a53(0x3e5)]();}[_0x1a7af1(0x3f8)](){var _0x215849=_0x1a7af1;this[_0x215849(0x163)]=0x0,this[_0x215849(0x241)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x215849(0x241)]=null),this['_tryReconnect']();}async[_0x1a7af1(0x3f2)](){var _0x2cea94=_0x1a7af1,_0x358b21,_0x4b95d7,_0x4c9a1b;const _0x751b96=this[_0x2cea94(0x3ae)][_0x2cea94(0x213)](Y),_0x34d9d3=(_0x358b21=_0x751b96==null?void 0x0:_0x751b96[_0x2cea94(0x39d)])!=null?_0x358b21:Ft;return(_0x4c9a1b=(_0x4b95d7=(await this['_httpService'][_0x2cea94(0x454)](_0x34d9d3,{'headers':{'Content-Type':'application/json'}}))[_0x2cea94(0x30f)])==null?void 0x0:_0x4b95d7['ticket'])!=null?_0x4c9a1b:'';}[_0x1a7af1(0x294)](_0x24a8e2){var _0x3bfaf3=_0x1a7af1,_0x41a6e8,_0x1dc976;const _0x7a096a=this[_0x3bfaf3(0x3ae)][_0x3bfaf3(0x213)](St),_0x17b2b5=this[_0x3bfaf3(0x3ae)][_0x3bfaf3(0x213)](Y),_0x3243e5=(_0x1dc976=(_0x41a6e8=_0x17b2b5==null?void 0x0:_0x17b2b5[_0x3bfaf3(0x160)])!=null?_0x41a6e8:_0x7a096a)!=null?_0x1dc976:pt,_0x3ae9d8=typeof window>'u'?new URL(_0x3243e5):new URL(_0x3243e5,window[_0x3bfaf3(0x36f)]['origin']);_0x3ae9d8[_0x3bfaf3(0x2cf)][_0x3bfaf3(0x331)](_0x3bfaf3(0x3b7),_0x24a8e2);const _0x3af181=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3bfaf3(0x36f)][_0x3bfaf3(0x451)]);return _0x3af181[_0x3bfaf3(0x454)](_0x3bfaf3(0x186))&&_0x3ae9d8['searchParams']['set'](_0x3bfaf3(0x186),_0x3af181[_0x3bfaf3(0x454)]('runId')),_0x3ae9d8[_0x3bfaf3(0x41f)]();}async['_createSocket'](){var _0x400988=_0x1a7af1;const _0x2aa736=await this[_0x400988(0x3f2)](),_0xc1d544=this['_createSocketURL'](_0x2aa736),_0x4b5b6b=this[_0x400988(0x46a)][_0x400988(0x303)](_0xc1d544);return this[_0x400988(0x30c)]=_0x4b5b6b,_0x4b5b6b;}async[_0x1a7af1(0x2f1)](){var _0x2946a5=_0x1a7af1,_0x5db6f8,_0x98834d;try{const _0x15eb98=(_0x98834d=(_0x5db6f8=this[_0x2946a5(0x399)])!=null?_0x5db6f8:this[_0x2946a5(0x30c)])!=null?_0x98834d:await this[_0x2946a5(0x27a)]();if(_0x15eb98){const _0x3cce8f=_0x15eb98[_0x2946a5(0x22e)];_0x15eb98[_0x2946a5(0x22e)]=_0x559e9d=>(this[_0x2946a5(0x3f1)](),_0x3cce8f[_0x2946a5(0x43e)](_0x15eb98,[_0x559e9d])),_0x15eb98[_0x2946a5(0x129)]['subscribe'](_0x3dc0ee=>this[_0x2946a5(0x172)](_0x15eb98,_0x3dc0ee)),_0x15eb98['error$'][_0x2946a5(0x3db)](W[_0x2946a5(0x499)](0x1))[_0x2946a5(0x447)](_0x31505e=>this[_0x2946a5(0x446)][_0x2946a5(0x289)]('[CollaborationSessionService]:\x20socket\x20error',_0x31505e)),_0x15eb98[_0x2946a5(0x126)][_0x2946a5(0x3db)](W[_0x2946a5(0x499)](0x1))[_0x2946a5(0x447)](()=>{var _0x3eb86e=_0x2946a5;this[_0x3eb86e(0x1f8)](_0x15eb98);}),_0x15eb98[_0x2946a5(0x485)][_0x2946a5(0x3db)](W['take'](0x1))[_0x2946a5(0x447)](_0x2b5c9a=>{var _0x457bcc=_0x2946a5;this['_logService'][_0x457bcc(0x3ff)](_0x457bcc(0x41e),'socket\x20close',_0x2b5c9a),this[_0x457bcc(0x2c8)]();});}}catch(_0x16e6b6){this['_logService'][_0x2946a5(0x289)](_0x16e6b6),this['_onConnectionFailed']();}}[_0x1a7af1(0x1f8)](_0x135884){var _0x14eb34=_0x1a7af1;this['_logService'][_0x14eb34(0x3ff)]('[CollaborationSessionService]',_0x14eb34(0x18a)),_0x135884[_0x14eb34(0x22e)]({'cmd':G[_0x14eb34(0x472)]}),this[_0x14eb34(0x3f1)]();}[_0x1a7af1(0x29d)](){var _0x32ad1a=_0x1a7af1;this[_0x32ad1a(0x261)]=!0x1,this[_0x32ad1a(0x30c)]=null,this['_status$'][_0x32ad1a(0x167)](se[_0x32ad1a(0x366)]),this[_0x32ad1a(0x238)][_0x32ad1a(0x167)](null),this[_0x32ad1a(0x132)](),this[_0x32ad1a(0x1c4)]();}['_onConnectionFailed'](){var _0x2fad41=_0x1a7af1,_0x2fbb29;this[_0x2fad41(0x29d)](),this[_0x2fad41(0x163)]<((_0x2fbb29=this[_0x2fad41(0x3ae)][_0x2fad41(0x213)](It))!=null?_0x2fbb29:Vt)?(this[_0x2fad41(0x17c)][_0x2fad41(0x187)]({'id':Q[_0x2fad41(0x38d)]}),this[_0x2fad41(0x1e3)]()):this[_0x2fad41(0x17c)][_0x2fad41(0x187)]({'id':Q[_0x2fad41(0x180)]});}[_0x1a7af1(0x1e3)](){var _0x223a82=_0x1a7af1,_0x4d2da3;const _0x170e32=this[_0x223a82(0x163)],_0x34935f=this[_0x223a82(0x3ae)]['getConfig'](Y),_0x26ce91=_0x170e32===0x0?0x0:((_0x4d2da3=_0x34935f==null?void 0x0:_0x34935f[_0x223a82(0x474)])!=null?_0x4d2da3:Gt)*0x2**_0x170e32;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3fb959=_0x223a82;clearTimeout(this[_0x3fb959(0x241)]),this[_0x3fb959(0x241)]=null,this[_0x3fb959(0x2f1)]();},_0x26ce91),this['_retryCount']+=0x1;}[_0x1a7af1(0x172)](_0x346736,_0x3a189c){var _0x36e74f=_0x1a7af1;const {cmd:_0x2bd324}=_0x3a189c;_0x2bd324===G[_0x36e74f(0x472)]&&!this[_0x36e74f(0x261)]&&(_0x346736['memberID']=_0x3a189c[_0x36e74f(0x2d6)][_0x36e74f(0x2a4)],this[_0x36e74f(0x238)][_0x36e74f(0x167)](_0x346736),this[_0x36e74f(0x20d)]['next'](se[_0x36e74f(0x4a0)]),this[_0x36e74f(0x261)]=!0x0,this[_0x36e74f(0x30c)]=null),_0x2bd324===G['HEARTBEAT']&&this[_0x36e74f(0x132)](),this[_0x36e74f(0x3f1)]();}['_rescheduleHeartbeat'](){var _0x169244=_0x1a7af1,_0x1db526;this[_0x169244(0x1c4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x169244(0x45d)](),(_0x1db526=this[_0x169244(0x3ae)][_0x169244(0x213)](mt))!=null?_0x1db526:Wt);}[_0x1a7af1(0x45d)](){var _0x5f15a3=_0x1a7af1;this['_socket'][_0x5f15a3(0x22e)]({'cmd':G['HEARTBEAT']}),this[_0x5f15a3(0x2c3)]();}[_0x1a7af1(0x2c3)](){var _0x4fd527=_0x1a7af1,_0x50d946;this[_0x4fd527(0x2dd)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x50d946=this[_0x4fd527(0x3ae)][_0x4fd527(0x213)](He))!=null?_0x50d946:gt);}[_0x1a7af1(0x1c4)](){var _0x4db0c3=_0x1a7af1;this[_0x4db0c3(0x1e4)]!=null&&(clearTimeout(this[_0x4db0c3(0x1e4)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x480614=_0x1a7af1;this[_0x480614(0x2dd)]!=null&&(clearTimeout(this[_0x480614(0x2dd)]),this[_0x480614(0x2dd)]=null);}},exports[_0x1a7af1(0x1d7)]=vn([ae(0x0,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),ae(0x1,a[_0x1a7af1(0x288)]),ae(0x2,a[_0x1a7af1(0x40a)]),ae(0x3,ke),ae(0x4,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)])),ae(0x5,a[_0x1a7af1(0x33f)](te)),ae(0x6,a[_0x1a7af1(0x314)](Rt))],exports['CollaborationSessionService']);const V=[];for(let r=0x0;r<0x100;++r)V[_0x1a7af1(0x353)]((r+0x100)[_0x1a7af1(0x41f)](0x10)[_0x1a7af1(0x228)](0x1));function fn(_0x433831,_0x2125ce=0x0){return(V[_0x433831[_0x2125ce+0x0]]+V[_0x433831[_0x2125ce+0x1]]+V[_0x433831[_0x2125ce+0x2]]+V[_0x433831[_0x2125ce+0x3]]+'-'+V[_0x433831[_0x2125ce+0x4]]+V[_0x433831[_0x2125ce+0x5]]+'-'+V[_0x433831[_0x2125ce+0x6]]+V[_0x433831[_0x2125ce+0x7]]+'-'+V[_0x433831[_0x2125ce+0x8]]+V[_0x433831[_0x2125ce+0x9]]+'-'+V[_0x433831[_0x2125ce+0xa]]+V[_0x433831[_0x2125ce+0xb]]+V[_0x433831[_0x2125ce+0xc]]+V[_0x433831[_0x2125ce+0xd]]+V[_0x433831[_0x2125ce+0xe]]+V[_0x433831[_0x2125ce+0xf]])['toLowerCase']();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x398cc3=_0x1a7af1;if(!Pe){if(typeof crypto>'u'||!crypto[_0x398cc3(0x265)])throw new Error(_0x398cc3(0x2ae));Pe=crypto[_0x398cc3(0x265)][_0x398cc3(0x321)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x1a7af1(0x169)]&&crypto[_0x1a7af1(0x169)][_0x1a7af1(0x321)](crypto),ze={'randomUUID':mn};function gn(_0x2e2a2e,_0x1ac09d,_0x12b628){var _0x683be9=_0x1a7af1,_0x26ce16,_0x344372,_0xe11293;if(ze[_0x683be9(0x169)]&&!_0x2e2a2e)return ze[_0x683be9(0x169)]();_0x2e2a2e=_0x2e2a2e||{};const _0x44020c=(_0xe11293=(_0x344372=_0x2e2a2e[_0x683be9(0x1d1)])!=null?_0x344372:(_0x26ce16=_0x2e2a2e['rng'])==null?void 0x0:_0x26ce16[_0x683be9(0x44b)](_0x2e2a2e))!=null?_0xe11293:pn();if(_0x44020c[_0x683be9(0x3d2)]<0x10)throw new Error(_0x683be9(0x2fa));return _0x44020c[0x6]=_0x44020c[0x6]&0xf|0x40,_0x44020c[0x8]=_0x44020c[0x8]&0x3f|0x80,fn(_0x44020c);}const z=a['createIdentifier']('collaboration-client.local-cache-service');function In(_0xcc447e){var _0x55b023=_0x1a7af1;return _0x55b023(0x24a)+_0xcc447e;}var En=Object[_0x1a7af1(0x26a)],Cn=Object[_0x1a7af1(0x42c)],Tn=(_0x4caab1,_0x4d3833,_0x209be7,_0x2fb924)=>{var _0x219da8=_0x1a7af1;for(var _0x1b21ea=_0x2fb924>0x1?void 0x0:_0x2fb924?Cn(_0x4d3833,_0x209be7):_0x4d3833,_0x34f5fd=_0x4caab1[_0x219da8(0x3d2)]-0x1,_0x43179f;_0x34f5fd>=0x0;_0x34f5fd--)(_0x43179f=_0x4caab1[_0x34f5fd])&&(_0x1b21ea=(_0x2fb924?_0x43179f(_0x4d3833,_0x209be7,_0x1b21ea):_0x43179f(_0x1b21ea))||_0x1b21ea);return _0x2fb924&&_0x1b21ea&&En(_0x4d3833,_0x209be7,_0x1b21ea),_0x1b21ea;},De=(_0x28be14,_0x2341e1)=>(_0x555d38,_0x16dad0)=>_0x2341e1(_0x555d38,_0x16dad0,_0x28be14);function bn(_0x21345e){var _0x2a1350=_0x1a7af1;const {unitID:_0x4bb5a0,mutations:_0x5670a4}=_0x21345e;return{'unitId':_0x4bb5a0,'subUnitId':_0x5670a4[0x0]['params'][_0x2a1350(0x171)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x4be555,_0x216eac,_0x57591f){var _0x16025f=_0x1a7af1;this[_0x16025f(0x496)]=_0x4be555,this[_0x16025f(0x260)]=_0x216eac,this[_0x16025f(0x3d5)]=_0x57591f;}[_0x1a7af1(0x146)](_0x4ca124){var _0x5eb9a3=_0x1a7af1,_0x39fa24,_0x41121d,_0x47ddb5,_0x3dfe2b;const _0x31e989=this[_0x5eb9a3(0x496)][_0x5eb9a3(0x454)](J['SheetsSelectionsService']),{unitId:_0x2d7430,subUnitId:_0xf0f542}=bn(_0x4ca124),_0x3158b3=_0x31e989==null?void 0x0:_0x31e989[_0x5eb9a3(0x26d)](_0x2d7430)[_0x5eb9a3(0x1f1)](),_0x3bb49b=(_0x41121d=(_0x39fa24=this[_0x5eb9a3(0x3d5)]['getUnit'](_0x2d7430))==null?void 0x0:_0x39fa24['getActiveSheet']())==null?void 0x0:_0x41121d[_0x5eb9a3(0x325)]();if(_0x3158b3[_0x5eb9a3(0x3d2)]===0x0||!_0x2d7430||!_0xf0f542)return;const _0x5382c0=[{'id':J['SetSelectionsOperation']['id'],'params':{'unitId':_0x2d7430,'subUnitId':_0x3bb49b,'selections':a['Tools']['deepClone'](_0x3158b3)}}],_0x334651=this['_transformService'][_0x5eb9a3(0x196)](_0x4ca124,_0x5382c0);if(!m[_0x5eb9a3(0x342)](_0x334651))throw _0x334651[_0x5eb9a3(0x289)];const _0x14c935=(_0x3dfe2b=(_0x47ddb5=_0x334651[_0x5eb9a3(0x2d9)][0x0])==null?void 0x0:_0x47ddb5[_0x5eb9a3(0x445)])==null?void 0x0:_0x3dfe2b['selections'];if(Array[_0x5eb9a3(0x1c0)](_0x14c935)&&_0x14c935[_0x5eb9a3(0x3d2)]){if(_0x14c935[_0x5eb9a3(0x3d2)]===_0x5382c0[0x0][_0x5eb9a3(0x445)]['selections'][_0x5eb9a3(0x3d2)]&&_0x14c935['every']((_0x5b42d9,_0x4c332a)=>a[_0x5eb9a3(0x3a5)][_0x5eb9a3(0x362)](_0x5b42d9[_0x5eb9a3(0x232)],_0x5382c0[0x0][_0x5eb9a3(0x445)][_0x5eb9a3(0x16a)][_0x4c332a]['range'])))return;this[_0x5eb9a3(0x496)]['get'](a[_0x5eb9a3(0x245)])[_0x5eb9a3(0x44e)](J[_0x5eb9a3(0x457)]['id'],{'unitId':_0x2d7430,'subUnitId':_0x3bb49b,'selections':_0x14c935});}}},exports['SheetTransformSelectionsService']=Tn([De(0x0,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),De(0x1,m[_0x1a7af1(0x31d)]),De(0x2,a[_0x1a7af1(0x2bb)])],exports[_0x1a7af1(0x3fb)]);const ve=a[_0x1a7af1(0x144)](_0x1a7af1(0x4a2));var Fe=(_0x32d568=>(_0x32d568[_0x32d568[_0x1a7af1(0x26c)]=0x0]=_0x1a7af1(0x26c),_0x32d568[_0x32d568[_0x1a7af1(0x481)]=0x1]=_0x1a7af1(0x481),_0x32d568))(Fe||{});const Rn=new Set([J[_0x1a7af1(0x19d)]['id']]);function Je(_0x118ce7,_0x20885a,_0x22c137,_0x2357d4,_0x47091d){var _0x31dae2=_0x1a7af1,_0x3e9f85,_0x5408d9,_0x4a4137,_0x58dac5;const _0x5a99f5=[];for(const _0x1b756c of _0x118ce7)if(Rn['has'](_0x1b756c['id'])){if(_0x5a99f5[_0x31dae2(0x3d2)]>0x0)break;_0x5a99f5[_0x31dae2(0x353)](_0x1b756c);break;}else _0x5a99f5[_0x31dae2(0x353)](_0x1b756c);const _0x115551=(_0x5408d9=(_0x3e9f85=_0x47091d['getCurrentUser']())==null?void 0x0:_0x3e9f85[_0x31dae2(0x2ba)])!=null?_0x5408d9:_0x31dae2(0x305),_0x2e0457=(_0x58dac5=(_0x4a4137=_0x47091d['getCurrentUser']())==null?void 0x0:_0x4a4137[_0x31dae2(0x2a4)])!=null?_0x58dac5:_0x31dae2(0x305);return{'changeset':{'unitID':_0x20885a,'type':m[_0x31dae2(0x1d0)](_0x22c137['getUnitType'](_0x20885a)),'baseRev':_0x2357d4[_0x31dae2(0x215)](_0x20885a),'revision':0x0,'userID':_0x115551,'memberID':_0x2e0457,'mutations':_0x5a99f5},'pendingMutations':_0x118ce7[_0x31dae2(0x228)](_0x5a99f5['length'])};}function On(_0x49d579,_0xe52b15,_0x4c3394,_0x252871,_0x38a8ef){var _0x50e5ca=_0x1a7af1,_0x80e500,_0x5af44c,_0x281d01,_0x5dcc62;const _0x5dd7c0=[_0x49d579[_0x50e5ca(0x256)]((_0x427b80,_0x42194d)=>{var _0x3e13e0=_0x50e5ca,_0x3a6325;const {id:_0x3fcc24}=_0x427b80,{id:_0x4832e2,type:_0x260b31}=_0x42194d,_0x1f74d5=(_0x3a6325=_0x427b80[_0x3e13e0(0x445)])!=null?_0x3a6325:{'actions':null},_0x51cfe3=_0x42194d[_0x3e13e0(0x445)];if(_0x3fcc24&&_0x3fcc24!==_0x4832e2)throw new Error(_0x3e13e0(0x34b)+_0x3fcc24+_0x3e13e0(0x3c3)+_0x4832e2+'.');return{..._0x427b80,'id':_0x4832e2,'type':_0x260b31,'params':{'unitId':_0x51cfe3[_0x3e13e0(0x46c)],'textRanges':_0x51cfe3['textRanges'],'actions':a[_0x3e13e0(0x205)]['compose'](_0x1f74d5['actions'],_0x51cfe3['actions'])}};},{})],_0xe52aab=(_0x5af44c=(_0x80e500=_0x38a8ef[_0x50e5ca(0x371)]())==null?void 0x0:_0x80e500[_0x50e5ca(0x2ba)])!=null?_0x5af44c:_0x50e5ca(0x305),_0x38d90e=(_0x5dcc62=(_0x281d01=_0x38a8ef[_0x50e5ca(0x371)]())==null?void 0x0:_0x281d01[_0x50e5ca(0x2a4)])!=null?_0x5dcc62:'unknown';return{'changeset':{'unitID':_0xe52b15,'type':m['mapDocumentTypeToUniverType'](_0x4c3394[_0x50e5ca(0x409)](_0xe52b15)),'baseRev':_0x252871['getCurrentRevOfUnit'](_0xe52b15),'revision':0x0,'userID':_0xe52aab,'memberID':_0x38d90e,'mutations':_0x5dd7c0},'pendingMutations':[]};}function Nt(_0x203395,_0x349dac){var _0x34ad82=_0x1a7af1;const _0x5a3f4c=new H[(_0x34ad82(0x1df))](0x1);return setTimeout(()=>_0x5a3f4c[_0x34ad82(0x167)](_0x349dac),_0x203395),_0x5a3f4c[_0x34ad82(0x2fb)]()['pipe'](H[_0x34ad82(0x499)](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x1a7af1(0x209)][_0x1a7af1(0x3a1)],'params':{}};var Nn=Object['defineProperty'],Un=Object[_0x1a7af1(0x42c)],le=(_0x2989cd,_0x42a428,_0x116408,_0x5c5b44)=>{var _0x393f21=_0x1a7af1;for(var _0x36e01b=_0x5c5b44>0x1?void 0x0:_0x5c5b44?Un(_0x42a428,_0x116408):_0x42a428,_0x2a52ff=_0x2989cd[_0x393f21(0x3d2)]-0x1,_0x64d62a;_0x2a52ff>=0x0;_0x2a52ff--)(_0x64d62a=_0x2989cd[_0x2a52ff])&&(_0x36e01b=(_0x5c5b44?_0x64d62a(_0x42a428,_0x116408,_0x36e01b):_0x64d62a(_0x36e01b))||_0x36e01b);return _0x5c5b44&&_0x36e01b&&Nn(_0x42a428,_0x116408,_0x36e01b),_0x36e01b;},A=(_0x1ccbe4,_0x2f5532)=>(_0x464e9a,_0xbc6560)=>_0x2f5532(_0x464e9a,_0xbc6560,_0x1ccbe4),We=(_0x1b1c94=>(_0x1b1c94[_0x1a7af1(0x40c)]=_0x1a7af1(0x200),_0x1b1c94['SYNCED']=_0x1a7af1(0x1fe),_0x1b1c94['PENDING']=_0x1a7af1(0x382),_0x1b1c94[_0x1a7af1(0x479)]=_0x1a7af1(0x45e),_0x1b1c94[_0x1a7af1(0x3e4)]=_0x1a7af1(0x1ae),_0x1b1c94['FETCH_MISS']=_0x1a7af1(0x3e0),_0x1b1c94[_0x1a7af1(0x462)]=_0x1a7af1(0x24b),_0x1b1c94[_0x1a7af1(0x366)]=_0x1a7af1(0x2a8),_0x1b1c94))(We||{});const Ut=0xea60;class _e{constructor(_0xc30ba5,_0x775862,_0x27c6c5,_0xc3c951,_0xcf8b7f,_0x11c93c,_0x1feb52,_0x5be085,_0x1800d5){var _0x118708=_0x1a7af1;D(this,_0x118708(0x480),null),D(this,_0x118708(0x2c0),[]),(this[_0x118708(0x3c7)]=_0xc30ba5,this[_0x118708(0x12e)]=_0x775862,this[_0x118708(0x290)]=_0xcf8b7f,this[_0x118708(0x360)]=_0x11c93c,this['_undoRedoService']=_0x1feb52,this[_0x118708(0x28f)]=_0x5be085,this[_0x118708(0x29c)]=_0x1800d5,this[_0x118708(0x480)]=_0x27c6c5,this[_0x118708(0x2c0)]=_0xc3c951);}['_checkMissing'](_0x3bbbe3){var _0x367f88=_0x1a7af1;const _0x2a189c=this[_0x367f88(0x28f)][_0x367f88(0x215)](this[_0x367f88(0x3c7)]);return _0x3bbbe3[_0x367f88(0x2d7)]>_0x2a189c+0x1?(this[_0x367f88(0x290)][_0x367f88(0x1e6)]({'from':_0x2a189c,'to':_0x3bbbe3[_0x367f88(0x2d7)]-0x1}),!0x0):!0x1;}[_0x1a7af1(0x138)](_0x33d458){var _0x517f87=_0x1a7af1;this[_0x517f87(0x1ea)]['transformUndoRedo'](this[_0x517f87(0x3c7)],_0x33d458);}[_0x1a7af1(0x437)](_0x2e2007){var _0x1bf6c3=_0x1a7af1,_0x20944d,_0x1048a7;(_0x1048a7=(_0x20944d=this[_0x1bf6c3(0x290)])[_0x1bf6c3(0x468)])==null||_0x1048a7[_0x1bf6c3(0x44b)](_0x20944d,_0x2e2007);}[_0x1a7af1(0x292)](_0x34f2fb){var _0x3ca31e=_0x1a7af1,_0x3e3c8d,_0xbb2ac0;return(_0xbb2ac0=(_0x3e3c8d=this[_0x3ca31e(0x290)])['onTransformIME'])==null?void 0x0:_0xbb2ac0[_0x3ca31e(0x44b)](_0x3e3c8d,_0x34f2fb);}[_0x1a7af1(0x379)](_0x66e4cf){var _0xe9cb12=_0x1a7af1,_0x157f44,_0xce0ebe;return(_0xce0ebe=(_0x157f44=this[_0xe9cb12(0x290)])[_0xe9cb12(0x1e8)])==null?void 0x0:_0xce0ebe[_0xe9cb12(0x44b)](_0x157f44,_0x66e4cf);}[_0x1a7af1(0x32f)](_0x239f3b){var _0x58d24f=_0x1a7af1,_0x6fa118,_0x43fe6f,_0x4b29a9;return(_0x4b29a9=(_0x43fe6f=(_0x6fa118=this[_0x58d24f(0x290)])[_0x58d24f(0x319)])==null?void 0x0:_0x43fe6f['call'](_0x6fa118,_0x239f3b))!=null?_0x4b29a9:_0x239f3b;}[_0x1a7af1(0x47a)](_0x5f51f9){var _0x40a561=_0x1a7af1,_0x15029a,_0x5bf3f7,_0x1be1c4;return(_0x1be1c4=(_0x5bf3f7=(_0x15029a=this[_0x40a561(0x290)])[_0x40a561(0x390)])==null?void 0x0:_0x5bf3f7['call'](_0x15029a,_0x5f51f9))!=null?_0x1be1c4:_0x5f51f9;}[_0x1a7af1(0x410)](_0x239ef0){var _0x3c840a=_0x1a7af1,_0x3ba90b,_0x1dea38;if(this[_0x3c840a(0x12e)]===Z[_0x3c840a(0x311)]){const {unitID:_0x54cf74,mutations:_0x2fac4c,memberID:_0xde80d9}=_0x239ef0,_0x56b582=_0x2fac4c[0x0]['params'][_0x3c840a(0x3b0)];Array['isArray'](_0x56b582)&&_0x56b582[_0x3c840a(0x3d2)]>0x0&&((_0x1dea38=(_0x3ba90b=this['_handler'])[_0x3c840a(0x45b)])==null||_0x1dea38[_0x3c840a(0x44b)](_0x3ba90b,{'unitID':_0x54cf74,'memberID':_0xde80d9,'textRanges':_0x56b582}));}}['_updateLocalCache'](){var _0x4afa0d=_0x1a7af1,_0x1eda35;(_0x1eda35=this[_0x4afa0d(0x29c)])==null||_0x1eda35[_0x4afa0d(0x133)](this[_0x4afa0d(0x3c7)],this[_0x4afa0d(0x12e)],this[_0x4afa0d(0x480)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x1fccbe=_0x1a7af1;return this[_0x1fccbe(0x28f)]['getCurrentRevOfUnit'](this[_0x1fccbe(0x3c7)]);}['_incrementRevisionNumber'](){var _0xf14058=_0x1a7af1;this[_0xf14058(0x28f)][_0xf14058(0x3a3)](this[_0xf14058(0x3c7)]);}[_0x1a7af1(0x1eb)](_0x532e32){var _0x27aba4=_0x1a7af1,_0x1632f8;let _0x3669fb=this['_transformRemoteChangesetByIMECache'](_0x532e32);_0x3669fb=this[_0x27aba4(0x47a)](_0x3669fb);const _0x50d5fa=a[_0x27aba4(0x327)](_0x3669fb[_0x27aba4(0x42b)],this[_0x27aba4(0x360)],{'fromCollab':!0x0});if(!_0x50d5fa[_0x27aba4(0x124)])throw _0x50d5fa[_0x27aba4(0x289)]instanceof Error?_0x50d5fa[_0x27aba4(0x289)]:new Error((_0x1632f8=_0x50d5fa['error'])!=null?_0x1632f8:_0x27aba4(0x2fe));this['_transformIMECache'](_0x3669fb),this[_0x27aba4(0x379)](_0x3669fb),this[_0x27aba4(0x138)](_0x532e32),this['_transformSelections'](_0x3669fb),this['_syncEditingCollabCursor'](_0x3669fb),this[_0x27aba4(0x3bb)]();}}exports[_0x1a7af1(0x39a)]=class extends _e{constructor(_0x497ac5,_0x1e5faf,_0x12ca5c,_0x1ab367,_0x3cd51f,_0x38669c,_0x208591,_0xc16d86,_0x5a0f17,_0x14a59b){var _0x2d56a9=_0x1a7af1;super(_0x497ac5,_0x1e5faf,null,[],_0x12ca5c,_0x208591,_0x38669c,_0x1ab367,_0x14a59b),D(this,_0x2d56a9(0x12f),_0x2d56a9(0x1fe)),(this[_0x2d56a9(0x496)]=_0x3cd51f,this[_0x2d56a9(0x446)]=_0xc16d86,this[_0x2d56a9(0x260)]=_0x5a0f17,this[_0x2d56a9(0x386)]=_0x14a59b);}[_0x1a7af1(0x3f5)](_0x4830c2){var _0x28c87c=_0x1a7af1;const _0x51e867=this[_0x28c87c(0x496)][_0x28c87c(0x1ee)](exports[_0x28c87c(0x204)],this[_0x28c87c(0x3c7)],this[_0x28c87c(0x12e)],[_0x4830c2],this[_0x28c87c(0x290)]);return _0x51e867['_schedule'](),_0x51e867[_0x28c87c(0x229)](),_0x51e867;}[_0x1a7af1(0x3d8)](_0x15728a){var _0x39566d=_0x1a7af1;if(this[_0x39566d(0x278)](_0x15728a))return this['_injector'][_0x39566d(0x1ee)](exports[_0x39566d(0x199)],this['unitID'],this[_0x39566d(0x12e)],null,[],null,[_0x15728a],this[_0x39566d(0x290)]);try{const _0x10de0f=this[_0x39566d(0x260)][_0x39566d(0x196)](_0x15728a,[yn]);if(m[_0x39566d(0x342)](_0x10de0f)){const {c1Prime:_0x5e5a1d}=_0x10de0f;return this['_executeRemoteChangeset'](_0x5e5a1d),this;}throw _0x10de0f[_0x39566d(0x289)];}catch(_0x18b73c){return this[_0x39566d(0x446)]['error'](_0x18b73c),this[_0x39566d(0x434)](!0x1);}}[_0x1a7af1(0x434)](_0x2565c8){var _0x5c9b1f=_0x1a7af1;return this[_0x5c9b1f(0x496)][_0x5c9b1f(0x1ee)](exports[_0x5c9b1f(0x13f)],this[_0x5c9b1f(0x3c7)],this[_0x5c9b1f(0x12e)],null,[],this[_0x5c9b1f(0x290)],_0x2565c8);}[_0x1a7af1(0x1cd)](){var _0x19b18c=_0x1a7af1;throw new Error(_0x19b18c(0x14d));}[_0x1a7af1(0x2df)](){var _0x43b232=_0x1a7af1;throw new Error(_0x43b232(0x368));}['onRemoteRetry'](){return this;}[_0x1a7af1(0x1ad)](){var _0x41eeba=_0x1a7af1;return this[_0x41eeba(0x496)][_0x41eeba(0x1ee)](exports['OfflineState'],this['unitID'],this['type'],null,[],this['_handler']);}[_0x1a7af1(0x39c)](){return this;}[_0x1a7af1(0x3e3)](){var _0x1d7cbc=_0x1a7af1;throw new Error(_0x1d7cbc(0x236));}[_0x1a7af1(0x3a6)](){var _0x591896=_0x1a7af1;const _0x424b59=this[_0x591896(0x28f)]['getCurrentRevOfUnit'](this[_0x591896(0x3c7)]);return this[_0x591896(0x290)]['onMissingChangesets']({'from':_0x424b59,'to':0x0}),this[_0x591896(0x496)]['createInstance'](exports[_0x591896(0x199)],this[_0x591896(0x3c7)],this[_0x591896(0x12e)],null,[],null,[],this[_0x591896(0x290)]);}},exports[_0x1a7af1(0x39a)]=le([A(0x3,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),A(0x4,a[_0x1a7af1(0x33f)](a['Injector'])),A(0x5,a[_0x1a7af1(0x333)]),A(0x6,a[_0x1a7af1(0x245)]),A(0x7,a['ILogService']),A(0x8,m[_0x1a7af1(0x31d)]),A(0x9,a['Optional'](z))],exports[_0x1a7af1(0x39a)]),exports[_0x1a7af1(0x204)]=class extends _e{constructor(_0x7fd2c1,_0x26ec38,_0x55ad20,_0x611eed,_0x2c1e3c,_0x1f9cf2,_0x567d1d,_0x34d099,_0x2ed622,_0x109261,_0x2fdb91,_0x509adb,_0x3305a2,_0x33c818){var _0x1b2dd3=_0x1a7af1;super(_0x7fd2c1,_0x26ec38,null,_0x55ad20,_0x611eed,_0x2ed622,_0x3305a2,_0x1f9cf2,_0x33c818),D(this,'status',_0x1b2dd3(0x382)),D(this,_0x1b2dd3(0x35f),null),D(this,'_sendingTimer',null),(this['_injector']=_0x2c1e3c,this['_memberService']=_0x567d1d,this[_0x1b2dd3(0x446)]=_0x34d099,this['_configService']=_0x109261,this[_0x1b2dd3(0x260)]=_0x2fdb91,this[_0x1b2dd3(0x46d)]=_0x509adb);}[_0x1a7af1(0x3f5)](_0x2025e6){var _0x3945ae=_0x1a7af1;return this[_0x3945ae(0x2c0)][_0x3945ae(0x353)](_0x2025e6),this[_0x3945ae(0x229)](),this;}[_0x1a7af1(0x3d8)](_0x5bdb6c){var _0x342f22=_0x1a7af1;if(this['_checkMissing'](_0x5bdb6c))return this[_0x342f22(0x21f)](),this[_0x342f22(0x496)][_0x342f22(0x1ee)](exports[_0x342f22(0x199)],this['unitID'],this['type'],null,this[_0x342f22(0x2c0)],null,[_0x5bdb6c],this[_0x342f22(0x290)]);try{const _0x420ba4=this[_0x342f22(0x260)][_0x342f22(0x196)](_0x5bdb6c,this['_pendingMutations']);if(m[_0x342f22(0x342)](_0x420ba4)){const {c1Prime:_0x2d381d,m2Prime:_0xc1c487}=_0x420ba4;this['_executeRemoteChangeset'](_0x2d381d);const _0x2c83fd=this['_injector']['createInstance'](exports[_0x342f22(0x204)],this['unitID'],this[_0x342f22(0x12e)],_0xc1c487,this[_0x342f22(0x290)]);this[_0x342f22(0x21f)]();const _0x4d0a57=new Date()[_0x342f22(0x14a)](),_0x560ecf=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x342f22(0x35f)]-_0x4d0a57,0x0):this['_getSendChangesetTimeout']();return _0x2c83fd['_schedule'](_0x560ecf),_0x2c83fd;}throw _0x420ba4[_0x342f22(0x289)];}catch(_0x291962){return this[_0x342f22(0x446)][_0x342f22(0x289)](_0x291962),this[_0x342f22(0x434)](!0x1);}}[_0x1a7af1(0x1cd)](){var _0x4b2581=_0x1a7af1;throw new Error(_0x4b2581(0x316));}[_0x1a7af1(0x2df)](){var _0x5357a8=_0x1a7af1;throw new Error(_0x5357a8(0x2ec));}[_0x1a7af1(0x190)](){return this;}['toggleOffline'](){var _0x4ca166=_0x1a7af1;return this[_0x4ca166(0x21f)](),this[_0x4ca166(0x496)][_0x4ca166(0x1ee)](exports[_0x4ca166(0x2f2)],this[_0x4ca166(0x3c7)],this[_0x4ca166(0x12e)],null,this[_0x4ca166(0x2c0)],this[_0x4ca166(0x290)]);}[_0x1a7af1(0x39c)](){return this;}[_0x1a7af1(0x16e)](_0x18e3c0){var _0x42e240=_0x1a7af1;const _0xfcf46d=_0x18e3c0!=null?_0x18e3c0:this[_0x42e240(0x177)]();this['_scheduleCompleteTimestamp']=new Date()[_0x42e240(0x14a)]()+_0xfcf46d,this[_0x42e240(0x2a7)]=setTimeout(()=>{var _0x1c0154=_0x42e240;this['_clearScheduledTask']();let _0x1a609b=null;switch(this[_0x1c0154(0x12e)]){case Z[_0x1c0154(0x343)]:{_0x1a609b=Je(this[_0x1c0154(0x2c0)],this['unitID'],this[_0x1c0154(0x46d)],this[_0x1c0154(0x28f)],this[_0x1c0154(0x32c)]);break;}case Z[_0x1c0154(0x311)]:{this['_pendingMutations'][_0x1c0154(0x491)](_0x193dd8=>_0x193dd8['id']===dt['RichTextEditingMutation']['id'])?_0x1a609b=On(this[_0x1c0154(0x2c0)],this[_0x1c0154(0x3c7)],this[_0x1c0154(0x46d)],this[_0x1c0154(0x28f)],this[_0x1c0154(0x32c)]):_0x1a609b=Je(this[_0x1c0154(0x2c0)],this[_0x1c0154(0x3c7)],this['_univerInstanceService'],this[_0x1c0154(0x28f)],this[_0x1c0154(0x32c)]);break;}default:throw new Error(_0x1c0154(0x1e7)+this['type']+_0x1c0154(0x1b6));}const {changeset:_0x3231f5,pendingMutations:_0x1a3ac2}=_0x1a609b;this[_0x1c0154(0x290)][_0x1c0154(0x1d4)](_0x3231f5);const _0x32292d=_0x1a3ac2[_0x1c0154(0x3d2)]?this[_0x1c0154(0x496)][_0x1c0154(0x1ee)](exports[_0x1c0154(0x32b)],this['unitID'],this[_0x1c0154(0x12e)],_0x3231f5,_0x1a3ac2,this['_handler'],void 0x0):this[_0x1c0154(0x496)][_0x1c0154(0x1ee)](exports['AwaitingState'],this[_0x1c0154(0x3c7)],this[_0x1c0154(0x12e)],_0x3231f5,this[_0x1c0154(0x290)]);_0x32292d['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x32292d);},_0xfcf46d);}[_0x1a7af1(0x177)](){var _0x5bba44=_0x1a7af1,_0x5e67cc;const _0x2863c6=this[_0x5bba44(0x3ae)][_0x5bba44(0x213)](Y);return(_0x5e67cc=_0x2863c6==null?void 0x0:_0x2863c6[_0x5bba44(0x22b)])!=null?_0x5e67cc:Bt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0xb02edd=_0x1a7af1;this[_0xb02edd(0x2a7)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0xb02edd(0x2a7)]=null);}['_onConflict'](_0x2d7373){var _0x16f970=_0x1a7af1;return this[_0x16f970(0x21f)](),this[_0x16f970(0x496)][_0x16f970(0x1ee)](exports[_0x16f970(0x13f)],this[_0x16f970(0x3c7)],this[_0x16f970(0x12e)],null,this['_pendingMutations'],this[_0x16f970(0x290)],_0x2d7373);}},exports[_0x1a7af1(0x204)]=le([A(0x4,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),A(0x5,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),A(0x6,a[_0x1a7af1(0x33f)](exports[_0x1a7af1(0x48a)])),A(0x7,a[_0x1a7af1(0x288)]),A(0x8,a[_0x1a7af1(0x245)]),A(0x9,a[_0x1a7af1(0x40a)]),A(0xa,m[_0x1a7af1(0x31d)]),A(0xb,a['IUniverInstanceService']),A(0xc,a[_0x1a7af1(0x333)]),A(0xd,a[_0x1a7af1(0x314)](z))],exports['PendingState']),exports[_0x1a7af1(0x1fa)]=class extends _e{constructor(_0x5cc900,_0x514430,_0x3bdace,_0x5012d3,_0x1a7187,_0x4dabb8,_0x365475,_0x31f77a,_0x582315,_0x485257,_0x38d7b8){var _0x481231=_0x1a7af1;super(_0x5cc900,_0x514430,_0x3bdace,[],_0x5012d3,_0x365475,_0x485257,_0x4dabb8,_0x38d7b8),D(this,'status',_0x481231(0x45e)),D(this,_0x481231(0x340),0x0),D(this,'_resendTimer'),D(this,_0x481231(0x166)),(this[_0x481231(0x496)]=_0x1a7187,this[_0x481231(0x446)]=_0x31f77a,this[_0x481231(0x260)]=_0x582315);}[_0x1a7af1(0x3f5)](_0x52c34e){var _0x355a49=_0x1a7af1;this[_0x355a49(0x21f)]();const _0x4767a2=this[_0x355a49(0x496)][_0x355a49(0x1ee)](exports[_0x355a49(0x32b)],this[_0x355a49(0x3c7)],this[_0x355a49(0x12e)],this['_awaitingChangeset'],[_0x52c34e],this[_0x355a49(0x290)],this[_0x355a49(0x237)]);return _0x4767a2[_0x355a49(0x229)](),_0x4767a2;}[_0x1a7af1(0x3d8)](_0x348c3d){var _0x3146b4=_0x1a7af1;if(this[_0x3146b4(0x278)](_0x348c3d))return this[_0x3146b4(0x21f)](),this['_injector'][_0x3146b4(0x1ee)](exports[_0x3146b4(0x199)],this['unitID'],this[_0x3146b4(0x12e)],this[_0x3146b4(0x480)],[],null,[_0x348c3d],this[_0x3146b4(0x290)]);try{const _0x5d65a5=this[_0x3146b4(0x260)][_0x3146b4(0x231)]([_0x348c3d],[this[_0x3146b4(0x480)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x5d65a5)){const {c1Prime:_0x7de50e,c2Prime:_0x177bc1}=_0x5d65a5;this[_0x3146b4(0x1eb)](_0x7de50e[0x0]),_0x177bc1[0x0][_0x3146b4(0x431)]=this[_0x3146b4(0x2f7)](),this[_0x3146b4(0x21f)]();const _0x1652f9=this['_injector']['createInstance'](exports[_0x3146b4(0x1fa)],this[_0x3146b4(0x3c7)],this[_0x3146b4(0x12e)],_0x177bc1[0x0],this[_0x3146b4(0x290)]);return _0x1652f9['_updateLocalCache'](),_0x1652f9;}return this[_0x3146b4(0x434)](!0x1);}catch(_0x261b6b){return this[_0x3146b4(0x446)][_0x3146b4(0x289)](_0x261b6b),this[_0x3146b4(0x434)](!0x1);}}[_0x1a7af1(0x1cd)](_0x1222bb){var _0x59dfd0=_0x1a7af1;this[_0x59dfd0(0x21f)]();const _0x536f13=this[_0x59dfd0(0x28f)][_0x59dfd0(0x215)](this[_0x59dfd0(0x3c7)]);if(_0x1222bb[_0x59dfd0(0x2d7)]<_0x536f13-0x1)return this;if(this['_checkMissing'](_0x1222bb))return this[_0x59dfd0(0x496)]['createInstance'](exports[_0x59dfd0(0x199)],this['unitID'],this[_0x59dfd0(0x12e)],null,[],this['_awaitingChangeset'],[],this[_0x59dfd0(0x290)]);this[_0x59dfd0(0x3bb)]();const _0x55c413=this[_0x59dfd0(0x496)][_0x59dfd0(0x1ee)](exports[_0x59dfd0(0x39a)],this[_0x59dfd0(0x3c7)],this[_0x59dfd0(0x12e)],this[_0x59dfd0(0x290)]);return _0x55c413[_0x59dfd0(0x229)](),_0x55c413;}[_0x1a7af1(0x2df)](_0x784dc2){var _0x189067=_0x1a7af1;return this[_0x189067(0x434)](!!(_0x784dc2!=null&&_0x784dc2[_0x189067(0x2e5)]));}[_0x1a7af1(0x190)](_0x338384){var _0x18f699=_0x1a7af1;return this[_0x18f699(0x340)]>Ut?this[_0x18f699(0x1ad)]():(this[_0x18f699(0x237)]=Nt(this[_0x18f699(0x340)],{'timeout':this['_resendTimeout'],'reqId':_0x338384[_0x18f699(0x497)]}),this['_sender']=this[_0x18f699(0x237)][_0x18f699(0x447)](({reqId:_0x446786,timeout:_0x438e55})=>{var _0x216efc=_0x18f699;this[_0x216efc(0x444)](_0x446786,_0x438e55);}),this);}[_0x1a7af1(0x1ad)](){var _0x5281ed=_0x1a7af1;return this[_0x5281ed(0x21f)](),this[_0x5281ed(0x496)][_0x5281ed(0x1ee)](exports['OfflineState'],this['unitID'],this[_0x5281ed(0x12e)],this[_0x5281ed(0x480)],[],this[_0x5281ed(0x290)]);}[_0x1a7af1(0x39c)](){return this;}[_0x1a7af1(0x3e3)](){var _0x47bbff=_0x1a7af1;this['_handler'][_0x47bbff(0x1d4)](this[_0x47bbff(0x480)]);}[_0x1a7af1(0x434)](_0x35730e){var _0xa4fe22=_0x1a7af1;return this['_clearScheduledTask'](),this[_0xa4fe22(0x496)][_0xa4fe22(0x1ee)](exports[_0xa4fe22(0x13f)],this[_0xa4fe22(0x3c7)],this[_0xa4fe22(0x12e)],this[_0xa4fe22(0x480)],[],this[_0xa4fe22(0x290)],_0x35730e);}['_resendWithTimeout'](_0x32cb85,_0x1d26b6){var _0x474d1b=_0x1a7af1,_0xd3e9b5;_0x32cb85===((_0xd3e9b5=this['_awaitingChangeset'])==null?void 0x0:_0xd3e9b5[_0x474d1b(0x497)])&&(this[_0x474d1b(0x3e3)](),this[_0x474d1b(0x340)]=_0x1d26b6===0x0?0x3e8:_0x1d26b6*0x2);}[_0x1a7af1(0x21f)](){var _0x4d4363=_0x1a7af1,_0x462feb;(_0x462feb=this[_0x4d4363(0x166)])==null||_0x462feb[_0x4d4363(0x369)](),this['_resendTimeout']=0x0;}},exports[_0x1a7af1(0x1fa)]=le([A(0x4,a[_0x1a7af1(0x33f)](a['Injector'])),A(0x5,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),A(0x6,a['ICommandService']),A(0x7,a[_0x1a7af1(0x288)]),A(0x8,m[_0x1a7af1(0x31d)]),A(0x9,a[_0x1a7af1(0x333)]),A(0xa,a['Optional'](z))],exports[_0x1a7af1(0x1fa)]),exports[_0x1a7af1(0x32b)]=class extends _e{constructor(_0x481d6a,_0x1c0e2,_0x2b5472,_0x887f06,_0x554f84,_0x414e2c,_0x24b153,_0x32ee03,_0x2bc502,_0x1cee25,_0x4d4e41,_0x48e126,_0x169880){var _0x421612=_0x1a7af1;super(_0x481d6a,_0x1c0e2,_0x2b5472,_0x887f06,_0x554f84,_0x2bc502,_0x48e126,_0x32ee03,_0x169880),D(this,_0x421612(0x12f),_0x421612(0x1ae)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x421612(0x166)),(this['_injector']=_0x24b153,this[_0x421612(0x446)]=_0x1cee25,this[_0x421612(0x260)]=_0x4d4e41,this[_0x421612(0x386)]=_0x169880,_0x414e2c&&(this[_0x421612(0x237)]=_0x414e2c,this[_0x421612(0x166)]=this[_0x421612(0x237)][_0x421612(0x447)](({reqId:_0x4c08b8,timeout:_0x2e3896})=>{var _0x5c8959=_0x421612;this[_0x5c8959(0x444)](_0x4c08b8,_0x2e3896);})));}[_0x1a7af1(0x3f5)](_0xe213af){var _0x1062fe=_0x1a7af1;return this['_pendingMutations'][_0x1062fe(0x353)](_0xe213af),this;}['onRemoteChangeset'](_0x314254){var _0x552c62=_0x1a7af1;if(this[_0x552c62(0x278)](_0x314254))return this['_clearScheduledTask'](),this[_0x552c62(0x496)]['createInstance'](exports[_0x552c62(0x199)],this[_0x552c62(0x3c7)],this[_0x552c62(0x12e)],this['_awaitingChangeset'],this[_0x552c62(0x2c0)],null,[_0x314254],this[_0x552c62(0x290)]);try{const _0x46e6ed=this['_transformService'][_0x552c62(0x231)]([_0x314254],[this[_0x552c62(0x480)]],!0x1);if(m[_0x552c62(0x14c)](_0x46e6ed)){const {c1Prime:_0xac86d8,c2Prime:_0x324e1c}=_0x46e6ed,_0x7b78ec=this[_0x552c62(0x260)][_0x552c62(0x196)](_0xac86d8[0x0],this[_0x552c62(0x2c0)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x7b78ec)){const {c1Prime:_0x12b21b,m2Prime:_0x556ea4}=_0x7b78ec;return this[_0x552c62(0x1eb)](_0x12b21b),_0x324e1c[0x0][_0x552c62(0x431)]=this[_0x552c62(0x2f7)](),this[_0x552c62(0x21f)](),this['_injector'][_0x552c62(0x1ee)](exports[_0x552c62(0x32b)],this[_0x552c62(0x3c7)],this['type'],_0x324e1c[0x0],_0x556ea4,this['_handler'],void 0x0);}throw _0x7b78ec[_0x552c62(0x289)];}throw _0x46e6ed[_0x552c62(0x289)];}catch(_0x11d29f){return this[_0x552c62(0x446)][_0x552c62(0x289)](_0x11d29f),this[_0x552c62(0x434)](!0x1);}}[_0x1a7af1(0x1cd)](_0x574a73){var _0x4921b9=_0x1a7af1;if(this[_0x4921b9(0x21f)](),this[_0x4921b9(0x278)](_0x574a73))return this['_injector'][_0x4921b9(0x1ee)](exports[_0x4921b9(0x199)],this[_0x4921b9(0x3c7)],this[_0x4921b9(0x12e)],null,this['_pendingMutations'],this[_0x4921b9(0x480)],[],this[_0x4921b9(0x290)]);this[_0x4921b9(0x3bb)]();const _0x2c909e=this[_0x4921b9(0x496)][_0x4921b9(0x1ee)](exports[_0x4921b9(0x204)],this['unitID'],this[_0x4921b9(0x12e)],this[_0x4921b9(0x2c0)],this[_0x4921b9(0x290)]);return _0x2c909e[_0x4921b9(0x16e)](),_0x2c909e['_updateLocalCache'](),_0x2c909e;}['onRemoteRej'](_0x2c68c3){var _0x5f2f8b=_0x1a7af1;return this[_0x5f2f8b(0x434)](!!(_0x2c68c3!=null&&_0x2c68c3[_0x5f2f8b(0x2e5)]));}['onRemoteRetry'](_0x1df98f){var _0xb07a39=_0x1a7af1;return this[_0xb07a39(0x340)]>Ut?this['toggleOffline']():(this[_0xb07a39(0x237)]=Nt(this[_0xb07a39(0x340)],{'timeout':this['_resendTimeout'],'reqId':_0x1df98f[_0xb07a39(0x497)]}),this[_0xb07a39(0x166)]=this[_0xb07a39(0x237)][_0xb07a39(0x447)](({reqId:_0x4013f3,timeout:_0x2e7dc4})=>{this['_resendWithTimeout'](_0x4013f3,_0x2e7dc4);}),this);}[_0x1a7af1(0x1ad)](){var _0x25115d=_0x1a7af1;return this[_0x25115d(0x21f)](),this[_0x25115d(0x496)]['createInstance'](exports[_0x25115d(0x2f2)],this['unitID'],this[_0x25115d(0x12e)],this[_0x25115d(0x480)],this[_0x25115d(0x2c0)],this[_0x25115d(0x290)]);}[_0x1a7af1(0x39c)](){return this;}[_0x1a7af1(0x3e3)](){var _0x32f0d0=_0x1a7af1;this[_0x32f0d0(0x290)][_0x32f0d0(0x1d4)](this[_0x32f0d0(0x480)]);}[_0x1a7af1(0x434)](_0x53b856){var _0x19c833=_0x1a7af1;return this[_0x19c833(0x21f)](),this[_0x19c833(0x496)][_0x19c833(0x1ee)](exports[_0x19c833(0x13f)],this[_0x19c833(0x3c7)],this[_0x19c833(0x12e)],null,this[_0x19c833(0x2c0)],this[_0x19c833(0x290)],_0x53b856);}['_resendWithTimeout'](_0x337e7a,_0x541993){var _0x577e19=_0x1a7af1,_0x4fba11;_0x337e7a===((_0x4fba11=this['_awaitingChangeset'])==null?void 0x0:_0x4fba11['reqId'])&&(this[_0x577e19(0x3e3)](),this[_0x577e19(0x340)]=_0x541993===0x0?0x3e8:_0x541993*0x2);}[_0x1a7af1(0x21f)](){var _0x2e000e=_0x1a7af1,_0x3b5588;(_0x3b5588=this[_0x2e000e(0x166)])==null||_0x3b5588[_0x2e000e(0x369)](),this[_0x2e000e(0x340)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),A(0x7,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),A(0x8,a[_0x1a7af1(0x245)]),A(0x9,a[_0x1a7af1(0x288)]),A(0xa,m['ITransformService']),A(0xb,a['IUndoRedoService']),A(0xc,a['Optional'](z))],exports['AwaitingWithPendingState']),exports[_0x1a7af1(0x13f)]=class extends _e{constructor(_0x4cbe10,_0x12e56f,_0x44e118,_0x1cfd24,_0x15b0c3,_0x4e332e=!0x1,_0x44dfd2,_0x276895,_0x5d239e,_0x3ced04,_0x49b86d,_0x479432,_0x1623c4){var _0x5390a4=_0x1a7af1;super(_0x4cbe10,_0x12e56f,_0x44e118,_0x1cfd24,_0x15b0c3,_0x276895,_0x5d239e,_0x3ced04,_0x1623c4),D(this,_0x5390a4(0x12f),'conflict'),(this[_0x5390a4(0x277)]=_0x4e332e,this['_permissionService']=_0x44dfd2,this[_0x5390a4(0x487)]=_0x49b86d,this[_0x5390a4(0x17c)]=_0x479432,this['localCacheService']=_0x1623c4,this[_0x5390a4(0x312)](),this['_clearLocalCache'](),this[_0x5390a4(0x12b)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x1a7af1(0x190)](){return this;}[_0x1a7af1(0x1ad)](){return this;}[_0x1a7af1(0x39c)](){return this;}[_0x1a7af1(0x3e3)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7af1(0x3a9)](){var _0x2b87df=_0x1a7af1,_0x30a0f1;(_0x30a0f1=this[_0x2b87df(0x29c)])==null||_0x30a0f1[_0x2b87df(0x133)](this['unitID'],this[_0x2b87df(0x12e)],null,[]);}[_0x1a7af1(0x312)](){var _0x684b8c=_0x1a7af1;this['_isPermissionRej']?this[_0x684b8c(0x17c)][_0x684b8c(0x187)]({'id':Q[_0x684b8c(0x147)]}):this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x684b8c(0x462)]});}[_0x1a7af1(0x12b)](){var _0x15dd24=_0x1a7af1;this[_0x15dd24(0x216)]['updatePermissionPoint'](new J[(_0x15dd24(0x1c7))](this[_0x15dd24(0x3c7)])['id'],!0x1);}},exports[_0x1a7af1(0x13f)]=le([A(0x6,a[_0x1a7af1(0x33f)](a['IPermissionService'])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),A(0xa,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x359)])),A(0xb,a['Inject'](te)),A(0xc,a[_0x1a7af1(0x314)](z))],exports[_0x1a7af1(0x13f)]),exports[_0x1a7af1(0x2f2)]=class extends _e{constructor(_0x214015,_0x236bdd,_0x130c87,_0x35f03c,_0x312ee2,_0x4f8333,_0x33ad83,_0x10b7ff,_0x5dc143,_0x36decb){var _0x3479eb=_0x1a7af1;super(_0x214015,_0x236bdd,_0x130c87,_0x35f03c,_0x312ee2,_0x10b7ff,_0x5dc143,_0x33ad83,_0x36decb),D(this,_0x3479eb(0x12f),_0x3479eb(0x2a8)),this['_injector']=_0x4f8333;}['appendMutation'](_0x22bab9){return this['_pendingMutations']['push'](_0x22bab9),this['_updateLocalCache'](),this;}[_0x1a7af1(0x3d8)](_0x5c06df){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1a7af1(0x1cd)](){var _0xc4fcec=_0x1a7af1;throw new Error(_0xc4fcec(0x393));}[_0x1a7af1(0x2df)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1a7af1(0x190)](){return this;}[_0x1a7af1(0x1ad)](){return this;}['toggleOnline'](){var _0x2d0d19=_0x1a7af1;const {_injector:_0x3bb586,_pendingMutations:_0x28caff,_awaitingChangeset:_0x3aae08,unitID:_0x4466eb,_handler:_0x43a3f2,type:_0x30f74f}=this,_0x17933c=Pt(_0x3bb586,_0x4466eb,_0x30f74f,_0x3aae08,_0x28caff,_0x43a3f2);return _0x17933c instanceof exports['PendingState']?_0x17933c[_0x2d0d19(0x16e)]():(_0x17933c instanceof exports[_0x2d0d19(0x32b)]||_0x17933c instanceof exports[_0x2d0d19(0x1fa)])&&_0x17933c[_0x2d0d19(0x3e3)](),_0x17933c;}[_0x1a7af1(0x3e3)](){var _0x42a809=_0x1a7af1;throw new Error(_0x42a809(0x152));}},exports[_0x1a7af1(0x2f2)]=le([A(0x5,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),A(0x6,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),A(0x7,a[_0x1a7af1(0x245)]),A(0x8,a[_0x1a7af1(0x333)]),A(0x9,a[_0x1a7af1(0x314)](z))],exports['OfflineState']),exports[_0x1a7af1(0x199)]=class extends _e{constructor(_0x391701,_0x2a4014,_0x45e6b5,_0x3cda20,_0x79e354,_0x2c15f1,_0x119650,_0x29b6fb,_0x284e1c,_0x1544ed,_0x3b1dc4,_0x54cd84,_0x286222,_0x520bc8){var _0x2f96ab=_0x1a7af1;super(_0x391701,_0x2a4014,_0x45e6b5,_0x3cda20,_0x119650,_0x3b1dc4,_0x54cd84,_0x284e1c,_0x520bc8),D(this,_0x2f96ab(0x12f),_0x2f96ab(0x3e0)),(this[_0x2f96ab(0x2b7)]=_0x79e354,this[_0x2f96ab(0x1dc)]=_0x2c15f1,this[_0x2f96ab(0x496)]=_0x29b6fb,this[_0x2f96ab(0x446)]=_0x1544ed,this[_0x2f96ab(0x260)]=_0x286222,this['localCacheService']=_0x520bc8);}[_0x1a7af1(0x272)](_0x369948){var _0x310c6e=_0x1a7af1;try{const _0x310364=[..._0x369948,...this[_0x310c6e(0x1dc)]],_0x1ddfbb=[this[_0x310c6e(0x480)]||this[_0x310c6e(0x2b7)]][_0x310c6e(0x185)](_0x1c85c3=>!!_0x1c85c3);let _0x68a4f9,_0x4dfa9d;if(_0x1ddfbb[_0x310c6e(0x3d2)]){const _0x18fb4e=this[_0x310c6e(0x260)]['transformChangesets'](_0x310364,_0x1ddfbb,!0x1);if(!m[_0x310c6e(0x14c)](_0x18fb4e))throw _0x18fb4e['error'];_0x68a4f9=_0x18fb4e['c1Prime'],_0x4dfa9d=_0x18fb4e[_0x310c6e(0x363)];}else _0x68a4f9=_0x310364,_0x4dfa9d=[];let _0x47863f=this[_0x310c6e(0x2c0)];_0x68a4f9[_0x310c6e(0x1ec)](_0xd3dcc3=>{var _0x45a80e=_0x310c6e;let _0xe0dc14;if(_0x47863f[_0x45a80e(0x3d2)]){const _0x4b8971=this['_transformService'][_0x45a80e(0x196)](_0xd3dcc3,_0x47863f);if(!m[_0x45a80e(0x342)](_0x4b8971))throw _0x4b8971[_0x45a80e(0x289)];_0xe0dc14=_0x4b8971[_0x45a80e(0x3ef)],_0x47863f=_0x4b8971[_0x45a80e(0x2d9)];}else _0xe0dc14=_0xd3dcc3;this[_0x45a80e(0x1eb)](_0xe0dc14);}),this[_0x310c6e(0x2b7)]&&this['_incrementRevisionNumber'](),this[_0x310c6e(0x480)]&&_0x4dfa9d[_0x310c6e(0x3d2)]&&(_0x4dfa9d[0x0][_0x310c6e(0x431)]=this[_0x310c6e(0x2f7)]());let _0x4f720f;if(this[_0x310c6e(0x480)]&&_0x47863f[_0x310c6e(0x3d2)]!==0x0)_0x4f720f=this[_0x310c6e(0x496)][_0x310c6e(0x1ee)](exports[_0x310c6e(0x32b)],this[_0x310c6e(0x3c7)],this['type'],_0x4dfa9d[0x0],_0x47863f,this[_0x310c6e(0x290)],void 0x0);else{if(this[_0x310c6e(0x480)]&&_0x47863f[_0x310c6e(0x3d2)]===0x0)_0x4dfa9d[0x0]['baseRev']=this[_0x310c6e(0x2f7)](),_0x4f720f=this[_0x310c6e(0x496)][_0x310c6e(0x1ee)](exports[_0x310c6e(0x1fa)],this[_0x310c6e(0x3c7)],this['type'],_0x4dfa9d[0x0],this[_0x310c6e(0x290)]);else{if(_0x47863f[_0x310c6e(0x3d2)]!==0x0){const _0x3e6339=this[_0x310c6e(0x496)][_0x310c6e(0x1ee)](exports[_0x310c6e(0x204)],this[_0x310c6e(0x3c7)],this[_0x310c6e(0x12e)],_0x47863f,this[_0x310c6e(0x290)]);_0x3e6339[_0x310c6e(0x16e)](),_0x4f720f=_0x3e6339;}else _0x4f720f=this[_0x310c6e(0x496)][_0x310c6e(0x1ee)](exports[_0x310c6e(0x39a)],this[_0x310c6e(0x3c7)],this[_0x310c6e(0x12e)],this[_0x310c6e(0x290)]);}}return _0x4f720f[_0x310c6e(0x229)](),_0x4f720f;}catch(_0x35fda0){return this[_0x310c6e(0x446)]['error']('[FetchMissState]',_0x310c6e(0x400),_0x35fda0),this[_0x310c6e(0x496)][_0x310c6e(0x1ee)](exports['ConflictState'],this['unitID'],this[_0x310c6e(0x12e)],this[_0x310c6e(0x480)],this[_0x310c6e(0x2c0)],this[_0x310c6e(0x290)],!0x1);}}[_0x1a7af1(0x3e3)](){var _0x19507e=_0x1a7af1;throw new Error(_0x19507e(0x3c5));}[_0x1a7af1(0x3f5)](_0xa8d93f){var _0x17c956=_0x1a7af1;return this[_0x17c956(0x2c0)][_0x17c956(0x353)](_0xa8d93f),this;}[_0x1a7af1(0x3d8)](_0x1ccd7d){var _0x4f73cb=_0x1a7af1;return this[_0x4f73cb(0x1dc)][_0x4f73cb(0x353)](_0x1ccd7d),this;}[_0x1a7af1(0x1cd)](_0x13955a){var _0x4d9f0e=_0x1a7af1;if(this['_awaitingChangeset'])return this[_0x4d9f0e(0x2b7)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1a7af1(0x2df)](_0x5c3317){var _0x25f2f8=_0x1a7af1;return this['_onConflict'](!!(_0x5c3317!=null&&_0x5c3317[_0x25f2f8(0x2e5)]));}[_0x1a7af1(0x190)](){return this;}[_0x1a7af1(0x1ad)](){var _0x1020ba=_0x1a7af1;return this['_injector']['createInstance'](exports['OfflineState'],this['unitID'],this['type'],this[_0x1020ba(0x480)],this['_pendingMutations'],this[_0x1020ba(0x290)]);}[_0x1a7af1(0x39c)](){return this;}[_0x1a7af1(0x434)](_0x3d0c18){var _0x2d348e=_0x1a7af1;return this[_0x2d348e(0x496)]['createInstance'](exports['ConflictState'],this[_0x2d348e(0x3c7)],this[_0x2d348e(0x12e)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2d348e(0x290)],_0x3d0c18);}},exports[_0x1a7af1(0x199)]=le([A(0x7,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),A(0x8,a[_0x1a7af1(0x33f)](m['RevisionService'])),A(0x9,a[_0x1a7af1(0x288)]),A(0xa,a[_0x1a7af1(0x245)]),A(0xb,a['IUndoRedoService']),A(0xc,m['ITransformService']),A(0xd,a[_0x1a7af1(0x314)](z))],exports[_0x1a7af1(0x199)]);function Pt(_0xf83a02,_0x127ea2,_0x400c30,_0x48c1b2,_0x2bb0f8,_0xe1bd73){var _0x4cdfbb=_0x1a7af1;return _0x48c1b2&&_0x2bb0f8[_0x4cdfbb(0x3d2)]?_0xf83a02[_0x4cdfbb(0x1ee)](exports[_0x4cdfbb(0x32b)],_0x127ea2,_0x400c30,_0x48c1b2,_0x2bb0f8,_0xe1bd73,void 0x0):_0x48c1b2?_0xf83a02[_0x4cdfbb(0x1ee)](exports[_0x4cdfbb(0x1fa)],_0x127ea2,_0x400c30,_0x48c1b2,_0xe1bd73):_0x2bb0f8[_0x4cdfbb(0x3d2)]?_0xf83a02[_0x4cdfbb(0x1ee)](exports[_0x4cdfbb(0x204)],_0x127ea2,_0x400c30,_0x2bb0f8,_0xe1bd73):_0xf83a02[_0x4cdfbb(0x1ee)](exports[_0x4cdfbb(0x39a)],_0x127ea2,_0x400c30,_0xe1bd73);}var Pn=Object[_0x1a7af1(0x26a)],Dn=Object[_0x1a7af1(0x42c)],Ge=(_0x592c8b,_0xc037fd,_0xe46586,_0x5991c0)=>{var _0x41d3f2=_0x1a7af1;for(var _0x414caa=_0x5991c0>0x1?void 0x0:_0x5991c0?Dn(_0xc037fd,_0xe46586):_0xc037fd,_0x5b3b8e=_0x592c8b[_0x41d3f2(0x3d2)]-0x1,_0x2416bf;_0x5b3b8e>=0x0;_0x5b3b8e--)(_0x2416bf=_0x592c8b[_0x5b3b8e])&&(_0x414caa=(_0x5991c0?_0x2416bf(_0xc037fd,_0xe46586,_0x414caa):_0x2416bf(_0x414caa))||_0x414caa);return _0x5991c0&&_0x414caa&&Pn(_0xc037fd,_0xe46586,_0x414caa),_0x414caa;},k=(_0x316806,_0x7796c2)=>(_0x557ed4,_0x492957)=>_0x7796c2(_0x557ed4,_0x492957,_0x316806);exports[_0x1a7af1(0x2e2)]=class extends a['RxDisposable']{constructor(_0x3f98ec,_0xcb759f,_0x178ebf,_0x1f6525,_0x4461e4,_0x44b4ea,_0x51d174,_0x5037b3,_0x3ffeff,_0x38f60d,_0x327014,_0xaface3,_0x261adc){var _0x3c4b89=_0x1a7af1;super(),D(this,'_state$',new H[(_0x3c4b89(0x12c))](null)),D(this,_0x3c4b89(0x385),this[_0x3c4b89(0x3e2)][_0x3c4b89(0x2fb)]()),D(this,'_state'),D(this,_0x3c4b89(0x490),!0x1),D(this,'_changesetSessionId',''),D(this,'_changesetReqId',0x0),D(this,_0x3c4b89(0x210),this['state$'][_0x3c4b89(0x3db)](H[_0x3c4b89(0x2b0)](_0x5a4da2=>_0x5a4da2?_0x5a4da2[_0x3c4b89(0x12f)]:We[_0x3c4b89(0x366)]),H['shareReplay'](0x1))),D(this,_0x3c4b89(0x3d9),!0x1),D(this,_0x3c4b89(0x23e),[]),(this[_0x3c4b89(0x3c7)]=_0x3f98ec,this[_0x3c4b89(0x416)]=_0xcb759f,this['_type']=_0x178ebf,this[_0x3c4b89(0x496)]=_0x1f6525,this[_0x3c4b89(0x326)]=_0x4461e4,this[_0x3c4b89(0x487)]=_0x44b4ea,this[_0x3c4b89(0x28f)]=_0x51d174,this['_eventService']=_0x5037b3,this[_0x3c4b89(0x446)]=_0x3ffeff,this[_0x3c4b89(0x360)]=_0x38f60d,this[_0x3c4b89(0x216)]=_0x327014,this[_0x3c4b89(0x398)]=_0xaface3,this['_localCacheService']=_0x261adc);}get[_0x1a7af1(0x397)](){return this['_state'];}async['init'](){var _0x313766=_0x1a7af1;if(this[_0x313766(0x397)])throw new Error(_0x313766(0x2c4));await this[_0x313766(0x2e1)]();}['pauseCollaboration'](){var _0x2e5ae8=_0x1a7af1;return this[_0x2e5ae8(0x490)]=!0x0,a[_0x2e5ae8(0x43c)](()=>{var _0x4f3429=_0x2e5ae8;this[_0x4f3429(0x490)]=!0x1,this[_0x4f3429(0x404)]();});}[_0x1a7af1(0x189)](_0x2204f4){var _0x3ac682=_0x1a7af1;this[_0x3ac682(0x128)](_0x2204f4);}[_0x1a7af1(0x43f)](_0x27613e){var _0x2fbce7=_0x1a7af1;this[_0x2fbce7(0x37a)]=_0x27613e,this['_state$'][_0x2fbce7(0x167)](_0x27613e);}async[_0x1a7af1(0x2e1)](){var _0x3b8fcb=_0x1a7af1,_0xfa3404;this[_0x3b8fcb(0x43f)](await this[_0x3b8fcb(0x18f)]()),this[_0x3b8fcb(0x398)]&&((_0xfa3404=this['_singleActiveUnitService'])==null||_0xfa3404[_0x3b8fcb(0x1a5)](this['unitID']),this[_0x3b8fcb(0x33e)](this[_0x3b8fcb(0x398)]['getUnitStatus$'](this[_0x3b8fcb(0x3c7)])[_0x3b8fcb(0x447)](_0x4f312f=>{var _0x3b8607=_0x3b8fcb;this[_0x3b8607(0x446)][_0x3b8607(0x3ff)](_0x3b8607(0x219),'editing\x20status\x20changed\x20to',_0x4f312f),_0x4f312f===Fe[_0x3b8607(0x481)]?(this[_0x3b8607(0x143)]['emitEvent']({'id':Q[_0x3b8607(0x279)]}),this[_0x3b8607(0x216)][_0x3b8607(0x423)](new J[(_0x3b8607(0x1c7))](this[_0x3b8607(0x3c7)])['id'],!0x1),this[_0x3b8607(0x216)][_0x3b8607(0x13c)](!0x1)):(this[_0x3b8607(0x216)]['updatePermissionPoint'](new J[(_0x3b8607(0x1c7))](this[_0x3b8607(0x3c7)])['id'],!0x0),this[_0x3b8607(0x216)][_0x3b8607(0x13c)](!0x0));})));let _0x10f377=!0x1;return this[_0x3b8fcb(0x33e)](this[_0x3b8fcb(0x416)][_0x3b8fcb(0x44a)][_0x3b8fcb(0x447)](_0xcc1ca5=>{var _0x459e51=_0x3b8fcb;_0xcc1ca5===se[_0x459e51(0x4a0)]?this[_0x459e51(0x255)](_0x10f377):_0xcc1ca5===se[_0x459e51(0x366)]&&(_0x10f377=!0x0,this[_0x459e51(0x439)]());})),this[_0x3b8fcb(0x33e)](this[_0x3b8fcb(0x416)][_0x3b8fcb(0x313)]['subscribe'](_0x32d692=>{var _0x421d32=_0x3b8fcb;try{switch(_0x32d692['eventID']){case m[_0x421d32(0x1bb)][_0x421d32(0x24f)]:{this[_0x421d32(0x18b)](m[_0x421d32(0x367)](_0x32d692[_0x421d32(0x2d6)]));break;}case m['CollaborationEvent'][_0x421d32(0x1f2)]:{this[_0x421d32(0x2d2)](_0x32d692['data']);break;}case m[_0x421d32(0x1bb)][_0x421d32(0x2be)]:{this[_0x421d32(0x488)]();break;}case m[_0x421d32(0x1bb)][_0x421d32(0x324)]:{this['_onRemoteRetry'](_0x32d692[_0x421d32(0x2d6)]);break;}case m[_0x421d32(0x1bb)][_0x421d32(0x2e7)]:{this[_0x421d32(0x275)](_0x32d692[_0x421d32(0x2d6)][_0x421d32(0x41a)]['map'](_0x54ddb9=>m[_0x421d32(0x367)](_0x54ddb9)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:{this[_0x421d32(0x488)]({'isPermissionRej':!0x0});break;}case m[_0x421d32(0x1bb)]['UNISCRIPT_RUN']:break;}}catch(_0x18ede7){throw console[_0x421d32(0x289)]('Error\x20on\x20receiving\x20event',_0x18ede7),_0x18ede7;}})),this[_0x3b8fcb(0x37a)];}[_0x1a7af1(0x3b9)](){var _0xc6a33a=_0x1a7af1;this[_0xc6a33a(0x3d9)]=!0x1;}[_0x1a7af1(0x18d)](){var _0x24a322=_0x1a7af1;if(this[_0x24a322(0x3d9)])throw new Error(_0x24a322(0x420));this[_0x24a322(0x3d9)]=!0x0;}[_0x1a7af1(0x128)](_0x796d1f){var _0x527042=_0x1a7af1;this[_0x527042(0x18d)](),this[_0x527042(0x43f)](this[_0x527042(0x37a)][_0x527042(0x3f5)](_0x796d1f)),this['_unlockTransition']();}[_0x1a7af1(0x18b)](_0x18c225){var _0x524dc9=_0x1a7af1;if(!(_0x18c225[_0x524dc9(0x2d7)]<=this[_0x524dc9(0x28f)]['getCurrentRevOfUnit'](this[_0x524dc9(0x3c7)]))){if(this[_0x524dc9(0x490)]){this[_0x524dc9(0x23e)][_0x524dc9(0x353)](_0x18c225);return;}this[_0x524dc9(0x225)](_0x18c225);}}[_0x1a7af1(0x404)](){var _0x442179=_0x1a7af1;this['_remoteChangesetQueue'][_0x442179(0x1ec)](_0x4867b7=>this['_applyRemoteChangeset'](_0x4867b7)),this[_0x442179(0x23e)]=[];}[_0x1a7af1(0x225)](_0x3926ab){var _0x57816f=_0x1a7af1;const _0x28f4bc=this['_compressMutationService'][_0x57816f(0x395)][_0x57816f(0x357)](this[_0x57816f(0x326)][_0x57816f(0x395)][_0x57816f(0x2a0)]()['COMPRESS_MUTATION_APPLY'])(_0x3926ab[_0x57816f(0x42b)],null)||_0x3926ab[_0x57816f(0x42b)],_0x3dd075={..._0x3926ab,'mutations':_0x28f4bc};this['_lockTransition'](),this[_0x57816f(0x43f)](this[_0x57816f(0x37a)][_0x57816f(0x3d8)](_0x3dd075)),this['_unlockTransition']();}[_0x1a7af1(0x2d2)](_0x436c89){var _0x460608=_0x1a7af1;this[_0x460608(0x18d)](),this[_0x460608(0x43f)](this[_0x460608(0x37a)]['onRemoteAck'](_0x436c89)),this[_0x460608(0x3b9)]();}[_0x1a7af1(0x488)](_0x746e2f){var _0x798839=_0x1a7af1;this[_0x798839(0x18d)](),this[_0x798839(0x43f)](this['_state'][_0x798839(0x2df)](_0x746e2f)),this[_0x798839(0x3b9)]();}[_0x1a7af1(0x38c)](_0x3e2802){var _0x57e1e6=_0x1a7af1;this[_0x57e1e6(0x18d)](),this[_0x57e1e6(0x43f)](this['_state'][_0x57e1e6(0x190)](_0x3e2802)),this[_0x57e1e6(0x3b9)]();}[_0x1a7af1(0x275)](_0x2f8e39){var _0x240ad3=_0x1a7af1;if(!(this[_0x240ad3(0x37a)]instanceof exports[_0x240ad3(0x199)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2e6d67=_0x2f8e39[_0x240ad3(0x2b0)](_0x5b430a=>{var _0x55e005=_0x240ad3;const _0x10417a=this[_0x55e005(0x326)][_0x55e005(0x395)][_0x55e005(0x357)](this[_0x55e005(0x326)][_0x55e005(0x395)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5b430a[_0x55e005(0x42b)],null)||_0x5b430a['mutations'];return{..._0x5b430a,'mutations':_0x10417a};});this[_0x240ad3(0x18d)](),this[_0x240ad3(0x43f)](this[_0x240ad3(0x37a)][_0x240ad3(0x272)](_0x2e6d67)),this[_0x240ad3(0x3b9)]();}[_0x1a7af1(0x439)](){var _0x4e35f5=_0x1a7af1;this['_lockTransition'](),this['_updateState'](this[_0x4e35f5(0x37a)][_0x4e35f5(0x1ad)]()),this[_0x4e35f5(0x3b9)]();}[_0x1a7af1(0x255)](_0x11b8e5=!0x1){var _0x270bd0=_0x1a7af1;this['_lockTransition'](),this[_0x270bd0(0x43f)](this[_0x270bd0(0x37a)][_0x270bd0(0x39c)]()),this[_0x270bd0(0x3b9)]();const _0x373079=this['_state'];_0x11b8e5&&_0x373079 instanceof exports[_0x270bd0(0x39a)]&&(this['_lockTransition'](),this[_0x270bd0(0x43f)](_0x373079[_0x270bd0(0x3a6)]()),this[_0x270bd0(0x3b9)]());}async[_0x1a7af1(0x18f)](){return new Promise(_0x5a8065=>{var _0x210f69=_0x1265;this['session']['sessionStatus$']['pipe'](H['take'](0x1))[_0x210f69(0x447)](async _0x2f390b=>{var _0x396629=_0x210f69;_0x5a8065(await this[_0x396629(0x36a)](_0x2f390b===se['ONLINE']));});});}[_0x1a7af1(0x3f6)](){var _0x3b8218=_0x1a7af1;const _0x4496b0=this[_0x3b8218(0x3c7)];return{'onStateChange':(_0x5a24a2,_0x49feaa)=>{var _0x4ee541=_0x3b8218;if(_0x5a24a2!==this[_0x4ee541(0x37a)])throw new Error(_0x4ee541(0x206)+_0x5a24a2[_0x4ee541(0x12f)]+_0x4ee541(0x308)+_0x49feaa[_0x4ee541(0x12f)]+_0x4ee541(0x141)+this[_0x4ee541(0x37a)][_0x4ee541(0x12f)]);this[_0x4ee541(0x43f)](_0x49feaa);},'onSendChangeset':_0x410af0=>{var _0x5f4135=_0x3b8218;_0x410af0[_0x5f4135(0x2da)]||(_0x410af0[_0x5f4135(0x2da)]=this[_0x5f4135(0x25f)],_0x410af0[_0x5f4135(0x497)]=++this[_0x5f4135(0x1ab)]);const _0x59ff5b={'eventID':m['CollaborationEvent'][_0x5f4135(0x12d)],'data':{'unitID':_0x410af0[_0x5f4135(0x3c7)],'unitType':this['_type'],'changeset':_0x410af0,'memberID':this['session'][_0x5f4135(0x162)]()}};this['session'][_0x5f4135(0x22e)](_0x59ff5b,this[_0x5f4135(0x3c7)]);},'onMissingChangesets':({from:_0x15f7ac,to:_0x435017})=>{var _0x339a89=_0x3b8218;this[_0x339a89(0x446)][_0x339a89(0x3ff)](_0x339a89(0x219),'fetching\x20missing\x20changesets\x20from\x20'+_0x15f7ac+_0x339a89(0x254)+_0x435017);const _0x41f785={'eventID':m[_0x339a89(0x1bb)]['FETCH_MISSING'],'data':{'unitID':_0x4496b0,'unitType':this['_type'],'from':_0x15f7ac,'to':_0x435017}};this['session'][_0x339a89(0x22e)](_0x41f785,this[_0x339a89(0x3c7)]);}};}async[_0x1a7af1(0x36a)](_0x1bc659){var _0x438b31=_0x1a7af1,_0x3846b,_0x196b41,_0x1bb204;const _0x42900a=await((_0x3846b=this[_0x438b31(0x29c)])==null?void 0x0:_0x3846b[_0x438b31(0x2e9)](this[_0x438b31(0x3c7)])),_0x3e5196=(_0x196b41=_0x42900a==null?void 0x0:_0x42900a[_0x438b31(0x42b)])!=null?_0x196b41:[],_0x5768ea=(_0x1bb204=_0x42900a==null?void 0x0:_0x42900a['awaitingChangeset'])!=null?_0x1bb204:null,_0xd90cf7=!!(_0x5768ea!=null&&_0x5768ea['sid'])&&!!(_0x5768ea!=null&&_0x5768ea[_0x438b31(0x497)]);this[_0x438b31(0x25f)]=_0xd90cf7?_0x5768ea[_0x438b31(0x2da)]:gn(),this[_0x438b31(0x1ab)]=_0xd90cf7?_0x5768ea[_0x438b31(0x497)]:0x0;const _0x2d2b99=this[_0x438b31(0x3c7)];try{this[_0x438b31(0x27c)](_0x5768ea,_0x3e5196);}catch(_0x577553){this[_0x438b31(0x446)][_0x438b31(0x289)](_0x577553);}const _0x21c21a=this[_0x438b31(0x3f6)]();if(_0x1bc659){const _0x8b786b=Pt(this[_0x438b31(0x496)],_0x2d2b99,this[_0x438b31(0x17a)],_0x5768ea,_0x3e5196,_0x21c21a);return _0x8b786b instanceof exports[_0x438b31(0x204)]?_0x8b786b[_0x438b31(0x16e)]():(_0x8b786b instanceof exports[_0x438b31(0x32b)]||_0x8b786b instanceof exports[_0x438b31(0x1fa)])&&_0x8b786b[_0x438b31(0x3e3)](),_0x8b786b;}return this[_0x438b31(0x496)]['createInstance'](exports[_0x438b31(0x2f2)],_0x2d2b99,this['_type'],_0x5768ea,_0x3e5196,_0x21c21a);}['_replayCachedMutations'](_0x173f75,_0x3a7939){var _0x2c0f81=_0x1a7af1,_0x38257e,_0x1e701c;const _0x2675f1=this[_0x2c0f81(0x326)]['interceptor'][_0x2c0f81(0x357)](this['_compressMutationService'][_0x2c0f81(0x395)][_0x2c0f81(0x2a0)]()[_0x2c0f81(0x1aa)]);(_0x38257e=_0x2675f1((_0x173f75==null?void 0x0:_0x173f75['mutations'])||[],null))==null||_0x38257e['forEach'](_0x58a5dd=>this[_0x2c0f81(0x360)][_0x2c0f81(0x44e)](_0x58a5dd['id'],_0x58a5dd[_0x2c0f81(0x445)])),(_0x1e701c=_0x2675f1(_0x3a7939||[],null))==null||_0x1e701c[_0x2c0f81(0x1ec)](_0x44c6c1=>this['_commandService'][_0x2c0f81(0x44e)](_0x44c6c1['id'],_0x44c6c1[_0x2c0f81(0x445)]));}},exports[_0x1a7af1(0x2e2)]=Ge([k(0x3,a['Inject'](a[_0x1a7af1(0x3e7)])),k(0x4,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x45a)])),k(0x5,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x359)])),k(0x6,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),k(0x7,a[_0x1a7af1(0x33f)](te)),k(0x8,a[_0x1a7af1(0x288)]),k(0x9,a['ICommandService']),k(0xa,a[_0x1a7af1(0x2f3)]),k(0xb,a[_0x1a7af1(0x314)](ve)),k(0xc,a[_0x1a7af1(0x314)](z))],exports['CollaborationEntity']),exports[_0x1a7af1(0x3e8)]=class extends exports[_0x1a7af1(0x2e2)]{constructor(_0x513aad,_0x528034,_0xbd2412,_0x309066,_0x5921ed,_0x2de683,_0x197e17,_0x4d70ef,_0x149805,_0x26fb4b,_0x4d65b8,_0x579390,_0x4ca3f6){var _0x5ea672=_0x1a7af1;super(_0x513aad,_0xbd2412,_0x528034,_0x309066,_0x5921ed,_0x2de683,_0x197e17,_0x4d70ef,_0x149805,_0x26fb4b,_0x4d65b8,_0x579390,_0x4ca3f6),D(this,_0x5ea672(0x364),null),(this[_0x5ea672(0x3c7)]=_0x513aad,this[_0x5ea672(0x12e)]=_0x528034);}[_0x1a7af1(0x2c9)](_0x16d5c1){var _0x15a659=_0x1a7af1;this[_0x15a659(0x364)]=_0x16d5c1;}[_0x1a7af1(0x1d5)](){var _0x5073bd=_0x1a7af1;this[_0x5073bd(0x364)]=null,super[_0x5073bd(0x1d5)]();}['_createHandler'](){var _0x46505a=_0x1a7af1;const _0x553387=super[_0x46505a(0x3f6)]();return _0x553387[_0x46505a(0x2d8)]=_0x49a4e5=>{var _0x33c138=_0x46505a,_0x5acb3a,_0x533d6b;return(_0x533d6b=(_0x5acb3a=this[_0x33c138(0x364)])==null?void 0x0:_0x5acb3a[_0x33c138(0x2d8)])==null?void 0x0:_0x533d6b[_0x33c138(0x44b)](_0x5acb3a,_0x49a4e5);},_0x553387['onTransformState']=_0x2ff927=>{var _0x1e7257=_0x46505a,_0x5fb868,_0x26a92e;return(_0x26a92e=(_0x5fb868=this[_0x1e7257(0x364)])==null?void 0x0:_0x5fb868[_0x1e7257(0x1e8)])==null?void 0x0:_0x26a92e[_0x1e7257(0x44b)](_0x5fb868,_0x2ff927);},_0x553387[_0x46505a(0x468)]=_0xa1a1a2=>{var _0x490deb=_0x46505a,_0x3006c7,_0x339a66;return(_0x339a66=(_0x3006c7=this[_0x490deb(0x364)])==null?void 0x0:_0x3006c7[_0x490deb(0x468)])==null?void 0x0:_0x339a66[_0x490deb(0x44b)](_0x3006c7,_0xa1a1a2);},_0x553387[_0x46505a(0x45b)]=_0x565ad8=>{var _0x3aed4e=_0x46505a,_0x360255,_0x2ff570;return(_0x2ff570=(_0x360255=this['_handlerCallback'])==null?void 0x0:_0x360255[_0x3aed4e(0x45b)])==null?void 0x0:_0x2ff570[_0x3aed4e(0x44b)](_0x360255,_0x565ad8);},_0x553387['onTransformRemoteChangesetByIMECache']=_0x1250b5=>{var _0x10367a=_0x46505a,_0x3e7c76,_0x50d237,_0x34dd1e;if(!((_0x3e7c76=this[_0x10367a(0x364)])!=null&&_0x3e7c76[_0x10367a(0x319)]))throw new Error(_0x10367a(0x22d));return(_0x34dd1e=(_0x50d237=this[_0x10367a(0x364)])==null?void 0x0:_0x50d237['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x34dd1e[_0x10367a(0x44b)](_0x50d237,_0x1250b5);},_0x553387[_0x46505a(0x390)]=_0x53716a=>{var _0x158756=_0x46505a,_0x2475ea,_0x5cefaf,_0x3be132;if(!((_0x2475ea=this[_0x158756(0x364)])!=null&&_0x2475ea[_0x158756(0x390)]))throw new Error(_0x158756(0x257));return(_0x3be132=(_0x5cefaf=this['_handlerCallback'])==null?void 0x0:_0x5cefaf[_0x158756(0x390)])==null?void 0x0:_0x3be132[_0x158756(0x44b)](_0x5cefaf,_0x53716a);},_0x553387;}async[_0x1a7af1(0x2e1)](){var _0x28492d=_0x1a7af1;const _0xd3909c=await super[_0x28492d(0x2e1)]();return this[_0x28492d(0x33e)](this[_0x28492d(0x360)][_0x28492d(0x473)]((_0x1b694e,_0x5c07a6)=>{var _0x258116=_0x28492d;if(_0x1b694e[_0x258116(0x12e)]!==a[_0x258116(0x209)]['MUTATION']||_0x5c07a6!=null&&_0x5c07a6['fromCollab']||_0x5c07a6!=null&&_0x5c07a6[_0x258116(0x248)]||_0x1b694e['id']===dt['RichTextEditingMutation']['id'])return;const _0x20b54c=_0x1b694e[_0x258116(0x445)];if((_0x20b54c==null?void 0x0:_0x20b54c[_0x258116(0x46c)])!==this[_0x258116(0x3c7)])return;const _0x557460=_0x1b694e,_0x372e2b=this[_0x258116(0x326)]['interceptor'][_0x258116(0x357)](this['_compressMutationService'][_0x258116(0x395)][_0x258116(0x2a0)]()[_0x258116(0x3e9)])([_0x557460],null)||[_0x557460];this[_0x258116(0x128)](_0x372e2b[0x0]);})),_0xd3909c;}},exports[_0x1a7af1(0x3e8)]=Ge([k(0x3,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),k(0x4,a['Inject'](m[_0x1a7af1(0x45a)])),k(0x5,a[_0x1a7af1(0x33f)](a['LocaleService'])),k(0x6,a[_0x1a7af1(0x33f)](m[_0x1a7af1(0x403)])),k(0x7,a['Inject'](te)),k(0x8,a[_0x1a7af1(0x288)]),k(0x9,a[_0x1a7af1(0x245)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x1a7af1(0x314)](ve)),k(0xc,a[_0x1a7af1(0x314)](z))],exports[_0x1a7af1(0x3e8)]),exports[_0x1a7af1(0x443)]=class extends exports['CollaborationEntity']{constructor(_0x91cc15,_0x63122a,_0x37f145,_0x894189,_0x22320b,_0x2ec46e,_0x391675,_0x544b89,_0x28133a,_0x2f7441,_0x1cdf8e,_0x5aecb5,_0x5ab0f9,_0x3c2c62){var _0xcfe5a5=_0x1a7af1;super(_0x91cc15,_0x37f145,_0x63122a,_0x894189,_0x22320b,_0x2ec46e,_0x391675,_0x28133a,_0x2f7441,_0x1cdf8e,_0x5aecb5,_0x5ab0f9,_0x3c2c62),this[_0xcfe5a5(0x3c7)]=_0x91cc15,this[_0xcfe5a5(0x12e)]=_0x63122a,this[_0xcfe5a5(0x1b4)]=_0x544b89;}[_0x1a7af1(0x3f6)](){var _0x1389ff=_0x1a7af1;const _0x580184=super['_createHandler']();return _0x580184[_0x1389ff(0x468)]=_0x34c5bc=>this[_0x1389ff(0x1b4)][_0x1389ff(0x146)](_0x34c5bc),_0x580184;}async[_0x1a7af1(0x2e1)](){var _0x334d0d=_0x1a7af1;const _0x4ab88d=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x334d0d(0x473)]((_0x63ebb4,_0x4b42b1)=>{var _0x4d91fb=_0x334d0d;if(_0x63ebb4[_0x4d91fb(0x12e)]!==a[_0x4d91fb(0x209)][_0x4d91fb(0x3a1)]||_0x4b42b1!=null&&_0x4b42b1[_0x4d91fb(0x154)]||_0x4b42b1!=null&&_0x4b42b1[_0x4d91fb(0x248)])return;const _0x2a8ca2=_0x63ebb4['params'];if((_0x2a8ca2==null?void 0x0:_0x2a8ca2['unitId'])!==this[_0x4d91fb(0x3c7)])return;const _0x1f72a4=_0x63ebb4,_0x351338=this['_compressMutationService'][_0x4d91fb(0x395)][_0x4d91fb(0x357)](this[_0x4d91fb(0x326)][_0x4d91fb(0x395)][_0x4d91fb(0x2a0)]()[_0x4d91fb(0x3e9)])([_0x1f72a4],null)||[_0x1f72a4];this[_0x4d91fb(0x128)](_0x351338[0x0]);})),_0x4ab88d;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),k(0x4,a['Inject'](m[_0x1a7af1(0x45a)])),k(0x5,a[_0x1a7af1(0x33f)](a['LocaleService'])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0x1a7af1(0x33f)](exports[_0x1a7af1(0x3fb)])),k(0x8,a[_0x1a7af1(0x33f)](te)),k(0x9,a[_0x1a7af1(0x288)]),k(0xa,a[_0x1a7af1(0x245)]),k(0xb,a[_0x1a7af1(0x2f3)]),k(0xc,a[_0x1a7af1(0x314)](ve)),k(0xd,a[_0x1a7af1(0x314)](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x1a7af1(0x26a)],An=Object[_0x1a7af1(0x42c)],Ln=(_0x1a0928,_0xafa39c,_0x5f17ad,_0x56ebc9)=>{var _0x7922f4=_0x1a7af1;for(var _0x111ff3=_0x56ebc9>0x1?void 0x0:_0x56ebc9?An(_0xafa39c,_0x5f17ad):_0xafa39c,_0x8cec65=_0x1a0928[_0x7922f4(0x3d2)]-0x1,_0x169051;_0x8cec65>=0x0;_0x8cec65--)(_0x169051=_0x1a0928[_0x8cec65])&&(_0x111ff3=(_0x56ebc9?_0x169051(_0xafa39c,_0x5f17ad,_0x111ff3):_0x169051(_0x111ff3))||_0x111ff3);return _0x56ebc9&&_0x111ff3&&wn(_0xafa39c,_0x5f17ad,_0x111ff3),_0x111ff3;},we=(_0x1dd123,_0x2ac1f7)=>(_0x550a14,_0x27520e)=>_0x2ac1f7(_0x550a14,_0x27520e,_0x1dd123);exports[_0x1a7af1(0x471)]=class extends a[_0x1a7af1(0x48e)]{constructor(_0x2ab142,_0x569cb4,_0x1b1ed5){var _0x3e32c4=_0x1a7af1;super(),D(this,_0x3e32c4(0x251),new Map()),D(this,'_entityInit$',new H[(_0x3e32c4(0x378))]()),D(this,'entityInit$',this['_entityInit$']['asObservable']()),(this[_0x3e32c4(0x496)]=_0x2ab142,this[_0x3e32c4(0x332)]=_0x569cb4,this[_0x3e32c4(0x46d)]=_0x1b1ed5,this['_init']());}[_0x1a7af1(0x1d5)](){var _0x15819e=_0x1a7af1;super[_0x15819e(0x1d5)](),this['_entities'][_0x15819e(0x1ec)](_0x18ecd2=>_0x18ecd2[_0x15819e(0x1d5)]()),this[_0x15819e(0x251)][_0x15819e(0x477)]();}[_0x1a7af1(0x2b3)](_0x29b202){var _0x6211bc=_0x1a7af1,_0x177f51;return(_0x177f51=this['_entities'][_0x6211bc(0x454)](_0x29b202))!=null?_0x177f51:null;}[_0x1a7af1(0x1ef)](_0x375860){var _0x43ed4a=_0x1a7af1;const _0x1737e8=this[_0x43ed4a(0x2b3)](_0x375860);return _0x1737e8?H['of'](_0x1737e8):this[_0x43ed4a(0x391)]['pipe'](W[_0x43ed4a(0x185)](_0x5ae07a=>_0x5ae07a[_0x43ed4a(0x3c7)]===_0x375860));}[_0x1a7af1(0x356)](_0x4acdae){var _0x4acbd8=_0x1a7af1;return H[_0x4acbd8(0x19a)](this[_0x4acbd8(0x1ef)](_0x4acdae)[_0x4acbd8(0x3db)](W[_0x4acbd8(0x2b0)](()=>{})));}[_0x1a7af1(0x2e1)](){var _0x2b7fe9=_0x1a7af1;this[_0x2b7fe9(0x46d)][_0x2b7fe9(0x301)](a[_0x2b7fe9(0x1bf)][_0x2b7fe9(0x343)])[_0x2b7fe9(0x3db)](H['takeUntil'](this[_0x2b7fe9(0x387)]),W[_0x2b7fe9(0x2f4)](0x10))[_0x2b7fe9(0x447)](async _0x56a2dd=>{var _0x42e9c8=_0x2b7fe9;const _0x533508=_0x56a2dd[_0x42e9c8(0x3b2)](),_0x1a56a7=await this['_startCollaboration'](_0x533508,Z[_0x42e9c8(0x343)]);this[_0x42e9c8(0x251)]['set'](_0x533508,_0x1a56a7);}),this['_univerInstanceService'][_0x2b7fe9(0x301)](a[_0x2b7fe9(0x1bf)]['UNIVER_DOC'])[_0x2b7fe9(0x3db)](H[_0x2b7fe9(0x1e2)](this[_0x2b7fe9(0x387)]),W[_0x2b7fe9(0x2f4)](0x10))[_0x2b7fe9(0x3db)](W[_0x2b7fe9(0x185)](_0x3185b8=>!_0x3185b8['getUnitId']()[_0x2b7fe9(0x175)]('__')))[_0x2b7fe9(0x447)](async _0x5568f1=>{var _0x45e5bb=_0x2b7fe9;const _0x4692db=_0x5568f1[_0x45e5bb(0x3b2)](),_0x1a7ae5=await this[_0x45e5bb(0x140)](_0x4692db,Z[_0x45e5bb(0x311)]);this[_0x45e5bb(0x251)][_0x45e5bb(0x331)](_0x4692db,_0x1a7ae5);}),H[_0x2b7fe9(0x38a)](this[_0x2b7fe9(0x46d)][_0x2b7fe9(0x432)](a[_0x2b7fe9(0x1bf)][_0x2b7fe9(0x343)]),this[_0x2b7fe9(0x46d)][_0x2b7fe9(0x432)](a[_0x2b7fe9(0x1bf)][_0x2b7fe9(0x311)]))['pipe'](H[_0x2b7fe9(0x1e2)](this['dispose$']))['subscribe'](_0x1ecb22=>{var _0x3ef973=_0x2b7fe9;const _0x339121=_0x1ecb22[_0x3ef973(0x3b2)](),_0x27e545=this[_0x3ef973(0x251)][_0x3ef973(0x454)](_0x339121);_0x27e545&&(_0x27e545[_0x3ef973(0x1d5)](),this[_0x3ef973(0x251)][_0x3ef973(0x486)](_0x339121));});}async[_0x1a7af1(0x140)](_0x1396c1,_0x28d691){var _0x2cbc90=_0x1a7af1;const _0x4312e4=await this['_collabSessionService'][_0x2cbc90(0x249)](_0x1396c1),_0x5b69b3=this[_0x2cbc90(0x496)][_0x2cbc90(0x1ee)](this[_0x2cbc90(0x36e)](_0x28d691),_0x1396c1,_0x28d691,_0x4312e4);return await _0x5b69b3[_0x2cbc90(0x361)](),this[_0x2cbc90(0x391)][_0x2cbc90(0x167)](_0x5b69b3),_0x5b69b3;}['_getCtorByUniverType'](_0x3eb074){var _0x34b4e1=_0x1a7af1;switch(_0x3eb074){case Z[_0x34b4e1(0x311)]:return exports['DocCollaborationEntity'];case Z[_0x34b4e1(0x343)]:return exports[_0x34b4e1(0x443)];default:throw new Error(_0x34b4e1(0x372)+_0x3eb074);}}},exports['CollaborationController']=Ln([we(0x0,a[_0x1a7af1(0x33f)](a['Injector'])),we(0x1,a['Inject'](exports[_0x1a7af1(0x1d7)])),we(0x2,a['IUniverInstanceService'])],exports[_0x1a7af1(0x471)]);var Mn=Object[_0x1a7af1(0x26a)],xn=Object[_0x1a7af1(0x42c)],jn=(_0xadd7e2,_0x32e376,_0x8aa256,_0x3d7a8a)=>{for(var _0x192de3=_0x3d7a8a>0x1?void 0x0:_0x3d7a8a?xn(_0x32e376,_0x8aa256):_0x32e376,_0x37d346=_0xadd7e2['length']-0x1,_0x23b571;_0x37d346>=0x0;_0x37d346--)(_0x23b571=_0xadd7e2[_0x37d346])&&(_0x192de3=(_0x3d7a8a?_0x23b571(_0x32e376,_0x8aa256,_0x192de3):_0x23b571(_0x192de3))||_0x192de3);return _0x3d7a8a&&_0x192de3&&Mn(_0x32e376,_0x8aa256,_0x192de3),_0x192de3;},Xe=(_0x4cd8c0,_0x52846e)=>(_0x136703,_0x1c2d79)=>_0x52846e(_0x136703,_0x1c2d79,_0x4cd8c0);const $n=_0x1a7af1(0x18c),Hn=_0x1a7af1(0x282);let $e=class extends a[_0x1a7af1(0x1ca)]{constructor(_0x209f5d,_0x10a048){var _0x2231c4=_0x1a7af1;super(),this[_0x2231c4(0x46d)]=_0x209f5d,this['_configService']=_0x10a048,this[_0x2231c4(0x2e1)]();}[_0x1a7af1(0x2e1)](){var _0x5a20d2=_0x1a7af1;this[_0x5a20d2(0x33e)](this[_0x5a20d2(0x46d)][_0x5a20d2(0x1de)][_0x5a20d2(0x447)](()=>{var _0x2aea03=_0x5a20d2,_0x1e5619;const _0x291362=this[_0x2aea03(0x46d)][_0x2aea03(0x2f9)]();let _0x45ff55=(_0x1e5619=this['_configService'][_0x2aea03(0x213)]($n))!=null?_0x1e5619:Hn;_0x291362 instanceof a['Workbook']&&(_0x45ff55=_0x291362['name']),document['title']=_0x45ff55;}));}};$e=jn([Xe(0x0,a[_0x1a7af1(0x2bb)]),Xe(0x1,a['IConfigService'])],$e);var kn=Object[_0x1a7af1(0x26a)],Bn=Object[_0x1a7af1(0x42c)],Fn=(_0x3739ea,_0x59e356,_0x33e8cd,_0x4eac53)=>{var _0x8a4360=_0x1a7af1;for(var _0x531bb3=_0x4eac53>0x1?void 0x0:_0x4eac53?Bn(_0x59e356,_0x33e8cd):_0x59e356,_0x4ffb71=_0x3739ea[_0x8a4360(0x3d2)]-0x1,_0x4a7ba8;_0x4ffb71>=0x0;_0x4ffb71--)(_0x4a7ba8=_0x3739ea[_0x4ffb71])&&(_0x531bb3=(_0x4eac53?_0x4a7ba8(_0x59e356,_0x33e8cd,_0x531bb3):_0x4a7ba8(_0x531bb3))||_0x531bb3);return _0x4eac53&&_0x531bb3&&kn(_0x59e356,_0x33e8cd,_0x531bb3),_0x531bb3;},Ae=(_0x3fa5fa,_0x6d947d)=>(_0x1dc486,_0x456b79)=>_0x6d947d(_0x1dc486,_0x456b79,_0x3fa5fa);let ye=class{constructor(_0x1bd3ea,_0x304af3,_0x4b2c88){var _0x4a2bb2=_0x1a7af1;this[_0x4a2bb2(0x3ae)]=_0x1bd3ea,this[_0x4a2bb2(0x170)]=_0x304af3,this[_0x4a2bb2(0x36d)]=_0x4b2c88,this[_0x4a2bb2(0x361)]();}[_0x1a7af1(0x361)](){var _0xbe863f=_0x1a7af1;this[_0xbe863f(0x170)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x715ba8,_0x347dcf)=>_0x347dcf(_0x715ba8)['pipe'](H['concatMap'](async _0x51f179=>{var _0x57336a=_0xbe863f;const _0x406e43=_0x51f179;if(_0x406e43[_0x57336a(0x12f)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x57336a(0x284)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x1f35de=window[_0x57336a(0x1b2)](window[_0x57336a(0x36f)]['href']);window[_0x57336a(0x36f)][_0x57336a(0x194)]=this[_0x57336a(0x309)]()+_0x57336a(0x2de)+_0x1f35de;}}return _0x406e43;}))});}['_getLoginPath'](){var _0xc126bc=_0x1a7af1,_0x520926,_0xb3be1b;const _0x29cb1e=this[_0xc126bc(0x3ae)]['getConfig'](Ct),_0xc61428=this[_0xc126bc(0x3ae)][_0xc126bc(0x213)](Y);return(_0xb3be1b=(_0x520926=_0xc61428==null?void 0x0:_0xc61428[_0xc126bc(0x264)])!=null?_0x520926:_0x29cb1e)!=null?_0xb3be1b:zt;}};ye=Fn([Ae(0x0,a[_0x1a7af1(0x40a)]),Ae(0x1,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)])),Ae(0x2,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x359)]))],ye);var Wn=Object[_0x1a7af1(0x26a)],Gn=Object[_0x1a7af1(0x42c)],Vn=(_0xc08f64,_0x49aceb,_0x112b27,_0x11bbcd)=>{var _0x47578f=_0x1a7af1;for(var _0x29de1a=_0x11bbcd>0x1?void 0x0:_0x11bbcd?Gn(_0x49aceb,_0x112b27):_0x49aceb,_0x14bb8b=_0xc08f64[_0x47578f(0x3d2)]-0x1,_0x1df0f0;_0x14bb8b>=0x0;_0x14bb8b--)(_0x1df0f0=_0xc08f64[_0x14bb8b])&&(_0x29de1a=(_0x11bbcd?_0x1df0f0(_0x49aceb,_0x112b27,_0x29de1a):_0x1df0f0(_0x29de1a))||_0x29de1a);return _0x11bbcd&&_0x29de1a&&Wn(_0x49aceb,_0x112b27,_0x29de1a),_0x29de1a;},Ze=(_0x56d6dd,_0x277d02)=>(_0x3a0f48,_0xab1c42)=>_0x277d02(_0x3a0f48,_0xab1c42,_0x56d6dd);const Ve=_0x1a7af1(0x14b),Kn=_0x1a7af1(0x44c);exports['AuthzIoHttpService']=class extends a[_0x1a7af1(0x1ca)]{constructor(_0x445dc9,_0x5c8797){var _0x376c88=_0x1a7af1;super(),this[_0x376c88(0x203)]=_0x445dc9,this[_0x376c88(0x3ae)]=_0x5c8797,this[_0x376c88(0x145)]();}[_0x1a7af1(0x145)](){var _0x4ba605=_0x1a7af1;const _0x5b245d=this;this[_0x4ba605(0x33e)](this[_0x4ba605(0x203)][_0x4ba605(0x33b)]({'priority':0x3e7,'interceptor':q[_0x4ba605(0x267)]({'isMatch'(_0x375eee){var _0x37a24c=_0x4ba605,_0x434e28;if(_0x375eee[_0x37a24c(0x19f)]===_0x37a24c(0x1c6)&&((_0x434e28=_0x375eee[_0x37a24c(0x28d)])!=null&&_0x434e28[_0x37a24c(0x30f)])){const {objectID:_0x1eef9b,objectType:_0x31a8e3}=_0x375eee[_0x37a24c(0x28d)][_0x37a24c(0x30f)]||{};if(!_0x1eef9b||_0x31a8e3===void 0x0)return!0x1;const _0x49caf4=_0x5b245d[_0x37a24c(0x243)]()+'/'+_0x31a8e3+_0x37a24c(0x3b3)+_0x1eef9b+_0x37a24c(0x470);if(_0x375eee[_0x37a24c(0x23c)]===_0x49caf4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe625de){var _0x20ea0a=_0x4ba605,_0x361794;return(_0x361794=_0xe625de['requestParams'])==null?void 0x0:_0x361794[_0x20ea0a(0x30f)];},'mergeParamsToRequest'(_0x1833c0,_0xf602b3){var _0x53c65a=_0x4ba605;const _0x1026f2=_0x5b245d[_0x53c65a(0x243)]()+'/-/object/-/batch_allowed',_0x541508=_0x1833c0[_0x53c65a(0x256)]((_0x4dd8f5,_0x17b298)=>{var _0x184e9c=_0x53c65a;const {unitID:_0x21291c,objectID:_0x2c49f1,objectType:_0x4f1d49,actions:_0x2db588}=_0x17b298;return _0x4dd8f5[_0x21291c]||(_0x4dd8f5[_0x21291c]={}),_0x4dd8f5[_0x21291c][_0x2c49f1]||(_0x4dd8f5[_0x21291c][_0x2c49f1]={'objectID':_0x2c49f1,'objectType':_0x4f1d49,'actions':[]}),_0x4dd8f5[_0x21291c][_0x2c49f1][_0x184e9c(0x164)][_0x184e9c(0x353)](..._0x2db588),_0x4dd8f5;},{}),_0xa8e635=[];for(const _0x47e3d in _0x541508)for(const _0x1fd104 in _0x541508[_0x47e3d]){const {actions:_0x516607,objectType:_0x4e4ccd}=_0x541508[_0x47e3d][_0x1fd104],_0x286864=[...new Set(_0x516607)];_0xa8e635[_0x53c65a(0x353)]({'unitID':_0x47e3d,'objectID':_0x1fd104,'objectType':_0x4e4ccd,'actions':_0x286864});}return new q['HTTPRequest'](_0x53c65a(0x1c6),_0x1026f2,{'headers':_0xf602b3[_0x53c65a(0x30a)],'withCredentials':_0xf602b3[_0x53c65a(0x32e)],'responseType':_0xf602b3[_0x53c65a(0x1c9)],'body':{'requests':_0xa8e635}});}},{'distributeResult'(_0x5662ad,_0x424993){var _0x1c069e=_0x4ba605;const {objectActions:_0x4d4a1c}=_0x5662ad;return _0x424993[_0x1c069e(0x2b0)](_0x551d0e=>{var _0x56a83e=_0x1c069e;const {unitID:_0x3bb7d1,objectID:_0x32cdd5,actions:_0x3a0546}=_0x551d0e,_0x4b715e=_0x4d4a1c[_0x56a83e(0x2fc)](_0x4d7467=>_0x4d7467[_0x56a83e(0x3c7)]===_0x3bb7d1&&_0x4d7467[_0x56a83e(0x430)]===_0x32cdd5),_0x3d693f=_0x3a0546['map'](_0x5223e4=>_0x4b715e==null?void 0x0:_0x4b715e['actions']['find'](_0x225151=>_0x225151[_0x56a83e(0x427)]===_0x5223e4))[_0x56a83e(0x185)](_0x543225=>!!_0x543225);return{'config':_0x551d0e,'result':{'actions':_0x3d693f,'error':_0x5662ad[_0x56a83e(0x289)]}};});}})}));}[_0x1a7af1(0x243)](){var _0x258fe8=_0x1a7af1,_0x22f7c1,_0xfc7564;const _0x53006f=this[_0x258fe8(0x3ae)][_0x258fe8(0x213)](Ve),_0x37cc5c=this[_0x258fe8(0x3ae)][_0x258fe8(0x213)](Y);return(_0xfc7564=(_0x22f7c1=_0x37cc5c==null?void 0x0:_0x37cc5c[_0x258fe8(0x2e0)])!=null?_0x22f7c1:_0x53006f)!=null?_0xfc7564:Kn;}async[_0x1a7af1(0x31f)](_0x395a6a){var _0x327854=_0x1a7af1;const _0x3f3961=this[_0x327854(0x243)]()+'/'+_0x395a6a[_0x327854(0x182)]+_0x327854(0x34f);return(await this['_HTTPService'][_0x327854(0x425)](_0x3f3961,{'body':_0x395a6a}))[_0x327854(0x30f)][_0x327854(0x430)]||'';}async['list'](_0x3b990b){var _0x5de864=_0x1a7af1;const _0x5a92d2=this['_getAPIPrefixPath']()+_0x5de864(0x2ad);return(await this['_HTTPService'][_0x5de864(0x425)](_0x5a92d2,{'body':_0x3b990b}))[_0x5de864(0x30f)][_0x5de864(0x15f)];}async[_0x1a7af1(0x45c)](_0x3fe7db){var _0x51842d=_0x1a7af1;const _0x5cc69c=this['_getAPIPrefixPath']()+'/'+_0x3fe7db[_0x51842d(0x182)]+_0x51842d(0x3b3)+_0x3fe7db[_0x51842d(0x430)];await this[_0x51842d(0x203)][_0x51842d(0x49a)](_0x5cc69c,{'body':_0x3fe7db});}async['allowed'](_0x51aa99){var _0x4e037e=_0x1a7af1;const _0x4dd0e0=this['_getAPIPrefixPath']()+'/'+_0x51aa99[_0x4e037e(0x182)]+_0x4e037e(0x3b3)+_0x51aa99[_0x4e037e(0x430)]+'/allowed';return(await this[_0x4e037e(0x203)]['post'](_0x4dd0e0,{'body':_0x51aa99}))[_0x4e037e(0x30f)][_0x4e037e(0x164)];}async['batchAllowed'](_0x530e97){var _0x4b8333=_0x1a7af1;const _0x58d149=this[_0x4b8333(0x243)]()+_0x4b8333(0x198);return(await this[_0x4b8333(0x203)]['post'](_0x58d149,{'body':{'requests':_0x530e97}}))[_0x4b8333(0x30f)][_0x4b8333(0x344)];}async['listRoles'](_0x3d12da){var _0x27ad65=_0x1a7af1;const _0x507b1c=this[_0x27ad65(0x243)]()+'/'+_0x3d12da[_0x27ad65(0x182)]+_0x27ad65(0x35e),_0x28fb87=await this[_0x27ad65(0x203)][_0x27ad65(0x425)](_0x507b1c,{'body':_0x3d12da});return{'roles':_0x28fb87[_0x27ad65(0x30f)][_0x27ad65(0x3dd)],'actions':_0x28fb87['body'][_0x27ad65(0x164)]};}async['deleteCollaborator'](_0x32274f){var _0x47f8ed=_0x1a7af1;const _0x4a8199=this['_getAPIPrefixPath']()+_0x47f8ed(0x3b8);await this[_0x47f8ed(0x203)][_0x47f8ed(0x486)](_0x4a8199,{'params':{'collaboratorID':_0x32274f['collaboratorID'],'objectID':_0x32274f[_0x47f8ed(0x430)],'unitID':_0x32274f[_0x47f8ed(0x3c7)]}});}async[_0x1a7af1(0x1e9)](_0x20dc09){var _0x2728a7=_0x1a7af1;const _0x417991=this[_0x2728a7(0x243)]()+'/collaborator';await this['_HTTPService'][_0x2728a7(0x165)](_0x417991,{'body':_0x20dc09});}async['createCollaborator'](_0x4a6b23){var _0x21fd98=_0x1a7af1;const _0x971fdd=this[_0x21fd98(0x243)]()+_0x21fd98(0x3b8);await this[_0x21fd98(0x203)]['post'](_0x971fdd,{'body':_0x4a6b23});}async[_0x1a7af1(0x2f8)](_0x197337){var _0x3678a4=_0x1a7af1;const _0x221cfc=this[_0x3678a4(0x243)]()+_0x3678a4(0x3b8);return(await this[_0x3678a4(0x203)][_0x3678a4(0x454)](_0x221cfc,{'params':{'objectID':_0x197337[_0x3678a4(0x430)],'unitID':_0x197337['unitID']}}))[_0x3678a4(0x30f)][_0x3678a4(0x2f6)];}async[_0x1a7af1(0x352)](_0x1f1c4f){var _0x4dfbc7=_0x1a7af1;const _0x4e9cff=this[_0x4dfbc7(0x243)]()+_0x4dfbc7(0x3b8);await this[_0x4dfbc7(0x203)]['put'](_0x4e9cff,{'body':_0x1f1c4f});}},exports[_0x1a7af1(0x244)]=Vn([Ze(0x0,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)])),Ze(0x1,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x40a)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x1f12ce){var _0x56823e=_0x1a7af1;return _0x1f12ce&&_0x1f12ce[_0x56823e(0x13e)]&&Object[_0x56823e(0x34d)][_0x56823e(0x224)][_0x56823e(0x44b)](_0x1f12ce,_0x56823e(0x1b3))?_0x1f12ce['default']:_0x1f12ce;}var Se={'exports':{}};function Yn(_0x39ceb1){var _0x5ca23e=_0x1a7af1;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x39ceb1+_0x5ca23e(0x374));}var pe={'exports':{}},qn=pe['exports'],Qe;function ee(){var _0x3959e3=_0x1a7af1;return Qe||(Qe=0x1,function(_0x433db2,_0x5ed28c){(function(_0xcb2428,_0x518aed){var _0x4fa106=_0x1265;_0x433db2[_0x4fa106(0x475)]=_0x518aed();}(qn,function(){var _0x1b36f0=_0x1b36f0||function(_0x4a3c6b,_0x4c578b){var _0x201a00=_0x1265,_0x43ec1b;if(typeof window<'u'&&window['crypto']&&(_0x43ec1b=window['crypto']),typeof self<'u'&&self[_0x201a00(0x135)]&&(_0x43ec1b=self[_0x201a00(0x135)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x43ec1b=globalThis[_0x201a00(0x135)]),!_0x43ec1b&&typeof window<'u'&&window[_0x201a00(0x466)]&&(_0x43ec1b=window[_0x201a00(0x466)]),!_0x43ec1b&&typeof Le<'u'&&Le[_0x201a00(0x135)]&&(_0x43ec1b=Le['crypto']),!_0x43ec1b&&typeof Yn==_0x201a00(0x453))try{_0x43ec1b=require(_0x201a00(0x135));}catch{}var _0x55adca=function(){var _0x90571d=_0x201a00;if(_0x43ec1b){if(typeof _0x43ec1b[_0x90571d(0x265)]==_0x90571d(0x453))try{return _0x43ec1b[_0x90571d(0x265)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x43ec1b[_0x90571d(0x127)]=='function')try{return _0x43ec1b[_0x90571d(0x127)](0x4)[_0x90571d(0x29b)]();}catch{}}throw new Error(_0x90571d(0x1a7));},_0x3a2dc7=Object[_0x201a00(0x31f)]||(function(){function _0x56ce74(){}return function(_0x59acf2){var _0x30fa4d=_0x1265,_0x3b7790;return _0x56ce74['prototype']=_0x59acf2,_0x3b7790=new _0x56ce74(),_0x56ce74[_0x30fa4d(0x34d)]=null,_0x3b7790;};}()),_0x2f392e={},_0x113903=_0x2f392e[_0x201a00(0x191)]={},_0x6dc114=_0x113903['Base']=(function(){return{'extend':function(_0x5dd449){var _0x4e9b44=_0x1265,_0x59764e=_0x3a2dc7(this);return _0x5dd449&&_0x59764e['mixIn'](_0x5dd449),(!_0x59764e[_0x4e9b44(0x224)](_0x4e9b44(0x361))||this[_0x4e9b44(0x361)]===_0x59764e[_0x4e9b44(0x361)])&&(_0x59764e['init']=function(){var _0x9b67da=_0x4e9b44;_0x59764e[_0x9b67da(0x36b)]['init']['apply'](this,arguments);}),_0x59764e[_0x4e9b44(0x361)][_0x4e9b44(0x34d)]=_0x59764e,_0x59764e['$super']=this,_0x59764e;},'create':function(){var _0x2b0f21=_0x1265,_0x3ccb1f=this['extend']();return _0x3ccb1f[_0x2b0f21(0x361)][_0x2b0f21(0x43e)](_0x3ccb1f,arguments),_0x3ccb1f;},'init':function(){},'mixIn':function(_0x35a6c7){var _0x3f0ce5=_0x1265;for(var _0x51c773 in _0x35a6c7)_0x35a6c7[_0x3f0ce5(0x224)](_0x51c773)&&(this[_0x51c773]=_0x35a6c7[_0x51c773]);_0x35a6c7[_0x3f0ce5(0x224)](_0x3f0ce5(0x41f))&&(this[_0x3f0ce5(0x41f)]=_0x35a6c7['toString']);},'clone':function(){var _0x208633=_0x1265;return this[_0x208633(0x361)]['prototype'][_0x208633(0x42d)](this);}};}()),_0x68d441=_0x113903[_0x201a00(0x388)]=_0x6dc114['extend']({'init':function(_0x14fdea,_0x24de57){var _0x3aa05e=_0x201a00;_0x14fdea=this[_0x3aa05e(0x2b9)]=_0x14fdea||[],_0x24de57!=_0x4c578b?this[_0x3aa05e(0x40b)]=_0x24de57:this[_0x3aa05e(0x40b)]=_0x14fdea[_0x3aa05e(0x3d2)]*0x4;},'toString':function(_0x3e2892){var _0x32a3a1=_0x201a00;return(_0x3e2892||_0x17fd20)[_0x32a3a1(0x192)](this);},'concat':function(_0x9e7f31){var _0x32816a=_0x201a00,_0x3152c9=this[_0x32816a(0x2b9)],_0x31bca8=_0x9e7f31[_0x32816a(0x2b9)],_0x17d812=this['sigBytes'],_0x566126=_0x9e7f31['sigBytes'];if(this[_0x32816a(0x39e)](),_0x17d812%0x4)for(var _0x1bfc3d=0x0;_0x1bfc3d<_0x566126;_0x1bfc3d++){var _0x5e444d=_0x31bca8[_0x1bfc3d>>>0x2]>>>0x18-_0x1bfc3d%0x4*0x8&0xff;_0x3152c9[_0x17d812+_0x1bfc3d>>>0x2]|=_0x5e444d<<0x18-(_0x17d812+_0x1bfc3d)%0x4*0x8;}else{for(var _0x3dcc52=0x0;_0x3dcc52<_0x566126;_0x3dcc52+=0x4)_0x3152c9[_0x17d812+_0x3dcc52>>>0x2]=_0x31bca8[_0x3dcc52>>>0x2];}return this[_0x32816a(0x40b)]+=_0x566126,this;},'clamp':function(){var _0x2b3d1e=_0x201a00,_0x44574b=this[_0x2b3d1e(0x2b9)],_0x43d175=this[_0x2b3d1e(0x40b)];_0x44574b[_0x43d175>>>0x2]&=0xffffffff<<0x20-_0x43d175%0x4*0x8,_0x44574b[_0x2b3d1e(0x3d2)]=_0x4a3c6b['ceil'](_0x43d175/0x4);},'clone':function(){var _0x3283aa=_0x201a00,_0x45fa03=_0x6dc114[_0x3283aa(0x47c)][_0x3283aa(0x44b)](this);return _0x45fa03[_0x3283aa(0x2b9)]=this[_0x3283aa(0x2b9)][_0x3283aa(0x228)](0x0),_0x45fa03;},'random':function(_0xdfbc83){var _0xd93bc=_0x201a00;for(var _0x4d24cb=[],_0x4fce22=0x0;_0x4fce22<_0xdfbc83;_0x4fce22+=0x4)_0x4d24cb[_0xd93bc(0x353)](_0x55adca());return new _0x68d441[(_0xd93bc(0x361))](_0x4d24cb,_0xdfbc83);}}),_0x5bb29a=_0x2f392e['enc']={},_0x17fd20=_0x5bb29a[_0x201a00(0x310)]={'stringify':function(_0x175e9c){var _0x507a25=_0x201a00;for(var _0x273ae3=_0x175e9c['words'],_0x2c7a66=_0x175e9c[_0x507a25(0x40b)],_0x303dff=[],_0x2bea05=0x0;_0x2bea05<_0x2c7a66;_0x2bea05++){var _0x723cd5=_0x273ae3[_0x2bea05>>>0x2]>>>0x18-_0x2bea05%0x4*0x8&0xff;_0x303dff[_0x507a25(0x353)]((_0x723cd5>>>0x4)['toString'](0x10)),_0x303dff[_0x507a25(0x353)]((_0x723cd5&0xf)[_0x507a25(0x41f)](0x10));}return _0x303dff[_0x507a25(0x195)]('');},'parse':function(_0x4ea716){var _0x42564a=_0x201a00;for(var _0x942107=_0x4ea716['length'],_0x10dfdf=[],_0x415d18=0x0;_0x415d18<_0x942107;_0x415d18+=0x2)_0x10dfdf[_0x415d18>>>0x3]|=parseInt(_0x4ea716['substr'](_0x415d18,0x2),0x10)<<0x18-_0x415d18%0x8*0x4;return new _0x68d441[(_0x42564a(0x361))](_0x10dfdf,_0x942107/0x2);}},_0x4be70b=_0x5bb29a[_0x201a00(0x295)]={'stringify':function(_0x530bc4){var _0x16eb03=_0x201a00;for(var _0x5c4b66=_0x530bc4[_0x16eb03(0x2b9)],_0x4802b4=_0x530bc4['sigBytes'],_0x2ff28b=[],_0x359ddf=0x0;_0x359ddf<_0x4802b4;_0x359ddf++){var _0x809d7d=_0x5c4b66[_0x359ddf>>>0x2]>>>0x18-_0x359ddf%0x4*0x8&0xff;_0x2ff28b[_0x16eb03(0x353)](String[_0x16eb03(0x212)](_0x809d7d));}return _0x2ff28b[_0x16eb03(0x195)]('');},'parse':function(_0x3b030f){var _0x104a11=_0x201a00;for(var _0x314add=_0x3b030f[_0x104a11(0x3d2)],_0x4e083e=[],_0x51e3eb=0x0;_0x51e3eb<_0x314add;_0x51e3eb++)_0x4e083e[_0x51e3eb>>>0x2]|=(_0x3b030f[_0x104a11(0x3c9)](_0x51e3eb)&0xff)<<0x18-_0x51e3eb%0x4*0x8;return new _0x68d441[(_0x104a11(0x361))](_0x4e083e,_0x314add);}},_0x146d3f=_0x5bb29a[_0x201a00(0x448)]={'stringify':function(_0x29ed9b){var _0x2f626c=_0x201a00;try{return decodeURIComponent(escape(_0x4be70b[_0x2f626c(0x192)](_0x29ed9b)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x31bbb7){var _0x5a6f6e=_0x201a00;return _0x4be70b[_0x5a6f6e(0x412)](unescape(encodeURIComponent(_0x31bbb7)));}},_0x3b617f=_0x113903['BufferedBlockAlgorithm']=_0x6dc114[_0x201a00(0x42d)]({'reset':function(){var _0x3fac3d=_0x201a00;this[_0x3fac3d(0x25e)]=new _0x68d441['init'](),this[_0x3fac3d(0x125)]=0x0;},'_append':function(_0x1387ec){var _0x15f986=_0x201a00;typeof _0x1387ec==_0x15f986(0x426)&&(_0x1387ec=_0x146d3f[_0x15f986(0x412)](_0x1387ec)),this[_0x15f986(0x25e)][_0x15f986(0x3bf)](_0x1387ec),this[_0x15f986(0x125)]+=_0x1387ec[_0x15f986(0x40b)];},'_process':function(_0xc6c273){var _0x445270=_0x201a00,_0x53246d,_0x1696ac=this['_data'],_0x3d024c=_0x1696ac[_0x445270(0x2b9)],_0x2e7583=_0x1696ac['sigBytes'],_0x2fc873=this[_0x445270(0x2e8)],_0x3ee7be=_0x2fc873*0x4,_0x13ff41=_0x2e7583/_0x3ee7be;_0xc6c273?_0x13ff41=_0x4a3c6b[_0x445270(0x1f5)](_0x13ff41):_0x13ff41=_0x4a3c6b['max']((_0x13ff41|0x0)-this['_minBufferSize'],0x0);var _0x287fe0=_0x13ff41*_0x2fc873,_0x38cdeb=_0x4a3c6b[_0x445270(0x354)](_0x287fe0*0x4,_0x2e7583);if(_0x287fe0){for(var _0x951abb=0x0;_0x951abb<_0x287fe0;_0x951abb+=_0x2fc873)this[_0x445270(0x17b)](_0x3d024c,_0x951abb);_0x53246d=_0x3d024c[_0x445270(0x270)](0x0,_0x287fe0),_0x1696ac[_0x445270(0x40b)]-=_0x38cdeb;}return new _0x68d441[(_0x445270(0x361))](_0x53246d,_0x38cdeb);},'clone':function(){var _0x531496=_0x201a00,_0x4ed1fc=_0x6dc114['clone'][_0x531496(0x44b)](this);return _0x4ed1fc['_data']=this[_0x531496(0x25e)][_0x531496(0x47c)](),_0x4ed1fc;},'_minBufferSize':0x0});_0x113903[_0x201a00(0x297)]=_0x3b617f[_0x201a00(0x42d)]({'cfg':_0x6dc114[_0x201a00(0x42d)](),'init':function(_0x2c31ac){var _0x417701=_0x201a00;this[_0x417701(0x304)]=this[_0x417701(0x304)]['extend'](_0x2c31ac),this[_0x417701(0x458)]();},'reset':function(){var _0x3621d6=_0x201a00;_0x3b617f[_0x3621d6(0x458)][_0x3621d6(0x44b)](this),this[_0x3621d6(0x1c3)]();},'update':function(_0x574226){var _0x1e10c7=_0x201a00;return this[_0x1e10c7(0x337)](_0x574226),this[_0x1e10c7(0x242)](),this;},'finalize':function(_0x2041d3){var _0x1a90ed=_0x201a00;_0x2041d3&&this[_0x1a90ed(0x337)](_0x2041d3);var _0x17f39f=this[_0x1a90ed(0x455)]();return _0x17f39f;},'blockSize':0x10,'_createHelper':function(_0x487e2b){return function(_0x5b5bdc,_0x472f95){var _0x525395=_0x1265;return new _0x487e2b[(_0x525395(0x361))](_0x472f95)['finalize'](_0x5b5bdc);};},'_createHmacHelper':function(_0x2eddda){return function(_0x20e806,_0x4fc091){var _0x128f0f=_0x1265;return new _0x46321f[(_0x128f0f(0x2eb))][(_0x128f0f(0x361))](_0x2eddda,_0x4fc091)['finalize'](_0x20e806);};}});var _0x46321f=_0x2f392e[_0x201a00(0x396)]={};return _0x2f392e;}(Math);return _0x1b36f0;}));}(pe)),pe[_0x3959e3(0x475)];}var me={'exports':{}},zn=me[_0x1a7af1(0x475)],et;function Dt(){var _0x18309=_0x1a7af1;return et||(et=0x1,function(_0x128062,_0xca3cda){(function(_0x956fac,_0x3f7739){var _0x445549=_0x1265;_0x128062[_0x445549(0x475)]=_0x3f7739(ee());}(zn,function(_0x1a3e21){return(function(){var _0x359988=_0x1265,_0x2f6840=_0x1a3e21,_0x1699b0=_0x2f6840[_0x359988(0x191)],_0x2ea550=_0x1699b0[_0x359988(0x388)],_0x3e7f27=_0x2f6840[_0x359988(0x19b)];_0x3e7f27[_0x359988(0x1f0)]={'stringify':function(_0x1cdda0){var _0x177bfe=_0x359988,_0x27f014=_0x1cdda0[_0x177bfe(0x2b9)],_0x1fb6da=_0x1cdda0['sigBytes'],_0x470c9e=this['_map'];_0x1cdda0[_0x177bfe(0x39e)]();for(var _0x45316d=[],_0x122d51=0x0;_0x122d51<_0x1fb6da;_0x122d51+=0x3)for(var _0x342ba2=_0x27f014[_0x122d51>>>0x2]>>>0x18-_0x122d51%0x4*0x8&0xff,_0x35e8c5=_0x27f014[_0x122d51+0x1>>>0x2]>>>0x18-(_0x122d51+0x1)%0x4*0x8&0xff,_0x5a1812=_0x27f014[_0x122d51+0x2>>>0x2]>>>0x18-(_0x122d51+0x2)%0x4*0x8&0xff,_0x48108d=_0x342ba2<<0x10|_0x35e8c5<<0x8|_0x5a1812,_0x5b55c9=0x0;_0x5b55c9<0x4&&_0x122d51+_0x5b55c9*0.75<_0x1fb6da;_0x5b55c9++)_0x45316d[_0x177bfe(0x353)](_0x470c9e[_0x177bfe(0x41d)](_0x48108d>>>0x6*(0x3-_0x5b55c9)&0x3f));var _0xc012d8=_0x470c9e[_0x177bfe(0x41d)](0x40);if(_0xc012d8){for(;_0x45316d[_0x177bfe(0x3d2)]%0x4;)_0x45316d[_0x177bfe(0x353)](_0xc012d8);}return _0x45316d['join']('');},'parse':function(_0x1988d4){var _0x46c567=_0x359988,_0x993472=_0x1988d4[_0x46c567(0x3d2)],_0x1a54e4=this[_0x46c567(0x3ab)],_0xddd62a=this[_0x46c567(0x2f0)];if(!_0xddd62a){_0xddd62a=this[_0x46c567(0x2f0)]=[];for(var _0x2b9f8d=0x0;_0x2b9f8d<_0x1a54e4[_0x46c567(0x3d2)];_0x2b9f8d++)_0xddd62a[_0x1a54e4[_0x46c567(0x3c9)](_0x2b9f8d)]=_0x2b9f8d;}var _0x435672=_0x1a54e4['charAt'](0x40);if(_0x435672){var _0x3ee1b2=_0x1988d4[_0x46c567(0x276)](_0x435672);_0x3ee1b2!==-0x1&&(_0x993472=_0x3ee1b2);}return _0x562c9b(_0x1988d4,_0x993472,_0xddd62a);},'_map':_0x359988(0x2b8)};function _0x562c9b(_0x37214b,_0xd43775,_0x8b4286){var _0x20bdce=_0x359988;for(var _0x1b4bd9=[],_0x2cf6b4=0x0,_0x5e0d4e=0x0;_0x5e0d4e<_0xd43775;_0x5e0d4e++)if(_0x5e0d4e%0x4){var _0x45cfe8=_0x8b4286[_0x37214b['charCodeAt'](_0x5e0d4e-0x1)]<<_0x5e0d4e%0x4*0x2,_0xf712bd=_0x8b4286[_0x37214b['charCodeAt'](_0x5e0d4e)]>>>0x6-_0x5e0d4e%0x4*0x2,_0x4ee1f1=_0x45cfe8|_0xf712bd;_0x1b4bd9[_0x2cf6b4>>>0x2]|=_0x4ee1f1<<0x18-_0x2cf6b4%0x4*0x8,_0x2cf6b4++;}return _0x2ea550[_0x20bdce(0x31f)](_0x1b4bd9,_0x2cf6b4);}}()),_0x1a3e21['enc']['Base64'];}));}(me)),me[_0x18309(0x475)];}var ge={'exports':{}},Jn=ge['exports'],tt;function Xn(){return tt||(tt=0x1,function(_0x5783c0,_0x11728a){(function(_0x9c716a,_0x13b643){var _0x3bdeb5=_0x1265;_0x5783c0[_0x3bdeb5(0x475)]=_0x13b643(ee());}(Jn,function(_0x1dd997){var _0x2bbe24=_0x1265;return function(_0x5d3b2e){var _0x69aa24=_0x1265,_0x2ef494=_0x1dd997,_0x1c290e=_0x2ef494[_0x69aa24(0x191)],_0x419b4f=_0x1c290e['WordArray'],_0x477557=_0x1c290e[_0x69aa24(0x297)],_0x180b30=_0x2ef494[_0x69aa24(0x396)],_0x1afffa=[];(function(){var _0x4a0e8c=_0x69aa24;for(var _0x414b99=0x0;_0x414b99<0x40;_0x414b99++)_0x1afffa[_0x414b99]=_0x5d3b2e[_0x4a0e8c(0x25c)](_0x5d3b2e['sin'](_0x414b99+0x1))*0x100000000|0x0;}());var _0x54485a=_0x180b30[_0x69aa24(0x148)]=_0x477557['extend']({'_doReset':function(){var _0x2d4c70=_0x69aa24;this['_hash']=new _0x419b4f[(_0x2d4c70(0x361))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xc5dd13,_0x29a340){var _0x424ff0=_0x69aa24;for(var _0x80b4ac=0x0;_0x80b4ac<0x10;_0x80b4ac++){var _0x599d02=_0x29a340+_0x80b4ac,_0x3d0f90=_0xc5dd13[_0x599d02];_0xc5dd13[_0x599d02]=(_0x3d0f90<<0x8|_0x3d0f90>>>0x18)&0xff00ff|(_0x3d0f90<<0x18|_0x3d0f90>>>0x8)&0xff00ff00;}var _0x111d76=this[_0x424ff0(0x16d)][_0x424ff0(0x2b9)],_0x1e9877=_0xc5dd13[_0x29a340+0x0],_0x7aa8bc=_0xc5dd13[_0x29a340+0x1],_0x12a5f6=_0xc5dd13[_0x29a340+0x2],_0x5a7cc1=_0xc5dd13[_0x29a340+0x3],_0x20e6ad=_0xc5dd13[_0x29a340+0x4],_0x1a3207=_0xc5dd13[_0x29a340+0x5],_0x4b3ae3=_0xc5dd13[_0x29a340+0x6],_0x3f0dd8=_0xc5dd13[_0x29a340+0x7],_0x9da7aa=_0xc5dd13[_0x29a340+0x8],_0x323d76=_0xc5dd13[_0x29a340+0x9],_0x2e3249=_0xc5dd13[_0x29a340+0xa],_0x3360ec=_0xc5dd13[_0x29a340+0xb],_0x3e0bea=_0xc5dd13[_0x29a340+0xc],_0x118fc4=_0xc5dd13[_0x29a340+0xd],_0x235d3f=_0xc5dd13[_0x29a340+0xe],_0x1bed90=_0xc5dd13[_0x29a340+0xf],_0x3b5020=_0x111d76[0x0],_0x3539cc=_0x111d76[0x1],_0x2c03ca=_0x111d76[0x2],_0x36ea8d=_0x111d76[0x3];_0x3b5020=_0x225c73(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x1e9877,0x7,_0x1afffa[0x0]),_0x36ea8d=_0x225c73(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x7aa8bc,0xc,_0x1afffa[0x1]),_0x2c03ca=_0x225c73(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x12a5f6,0x11,_0x1afffa[0x2]),_0x3539cc=_0x225c73(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x5a7cc1,0x16,_0x1afffa[0x3]),_0x3b5020=_0x225c73(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x20e6ad,0x7,_0x1afffa[0x4]),_0x36ea8d=_0x225c73(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x1a3207,0xc,_0x1afffa[0x5]),_0x2c03ca=_0x225c73(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x4b3ae3,0x11,_0x1afffa[0x6]),_0x3539cc=_0x225c73(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3f0dd8,0x16,_0x1afffa[0x7]),_0x3b5020=_0x225c73(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x9da7aa,0x7,_0x1afffa[0x8]),_0x36ea8d=_0x225c73(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x323d76,0xc,_0x1afffa[0x9]),_0x2c03ca=_0x225c73(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x2e3249,0x11,_0x1afffa[0xa]),_0x3539cc=_0x225c73(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3360ec,0x16,_0x1afffa[0xb]),_0x3b5020=_0x225c73(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3e0bea,0x7,_0x1afffa[0xc]),_0x36ea8d=_0x225c73(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x118fc4,0xc,_0x1afffa[0xd]),_0x2c03ca=_0x225c73(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x235d3f,0x11,_0x1afffa[0xe]),_0x3539cc=_0x225c73(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x1bed90,0x16,_0x1afffa[0xf]),_0x3b5020=_0x1d1238(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x7aa8bc,0x5,_0x1afffa[0x10]),_0x36ea8d=_0x1d1238(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x4b3ae3,0x9,_0x1afffa[0x11]),_0x2c03ca=_0x1d1238(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x3360ec,0xe,_0x1afffa[0x12]),_0x3539cc=_0x1d1238(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x1e9877,0x14,_0x1afffa[0x13]),_0x3b5020=_0x1d1238(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x1a3207,0x5,_0x1afffa[0x14]),_0x36ea8d=_0x1d1238(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x2e3249,0x9,_0x1afffa[0x15]),_0x2c03ca=_0x1d1238(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x1bed90,0xe,_0x1afffa[0x16]),_0x3539cc=_0x1d1238(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x20e6ad,0x14,_0x1afffa[0x17]),_0x3b5020=_0x1d1238(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x323d76,0x5,_0x1afffa[0x18]),_0x36ea8d=_0x1d1238(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x235d3f,0x9,_0x1afffa[0x19]),_0x2c03ca=_0x1d1238(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x5a7cc1,0xe,_0x1afffa[0x1a]),_0x3539cc=_0x1d1238(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x9da7aa,0x14,_0x1afffa[0x1b]),_0x3b5020=_0x1d1238(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x118fc4,0x5,_0x1afffa[0x1c]),_0x36ea8d=_0x1d1238(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x12a5f6,0x9,_0x1afffa[0x1d]),_0x2c03ca=_0x1d1238(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x3f0dd8,0xe,_0x1afffa[0x1e]),_0x3539cc=_0x1d1238(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3e0bea,0x14,_0x1afffa[0x1f]),_0x3b5020=_0xae8ab2(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x1a3207,0x4,_0x1afffa[0x20]),_0x36ea8d=_0xae8ab2(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x9da7aa,0xb,_0x1afffa[0x21]),_0x2c03ca=_0xae8ab2(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x3360ec,0x10,_0x1afffa[0x22]),_0x3539cc=_0xae8ab2(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x235d3f,0x17,_0x1afffa[0x23]),_0x3b5020=_0xae8ab2(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x7aa8bc,0x4,_0x1afffa[0x24]),_0x36ea8d=_0xae8ab2(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x20e6ad,0xb,_0x1afffa[0x25]),_0x2c03ca=_0xae8ab2(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x3f0dd8,0x10,_0x1afffa[0x26]),_0x3539cc=_0xae8ab2(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x2e3249,0x17,_0x1afffa[0x27]),_0x3b5020=_0xae8ab2(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x118fc4,0x4,_0x1afffa[0x28]),_0x36ea8d=_0xae8ab2(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x1e9877,0xb,_0x1afffa[0x29]),_0x2c03ca=_0xae8ab2(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x5a7cc1,0x10,_0x1afffa[0x2a]),_0x3539cc=_0xae8ab2(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x4b3ae3,0x17,_0x1afffa[0x2b]),_0x3b5020=_0xae8ab2(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x323d76,0x4,_0x1afffa[0x2c]),_0x36ea8d=_0xae8ab2(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x3e0bea,0xb,_0x1afffa[0x2d]),_0x2c03ca=_0xae8ab2(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x1bed90,0x10,_0x1afffa[0x2e]),_0x3539cc=_0xae8ab2(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x12a5f6,0x17,_0x1afffa[0x2f]),_0x3b5020=_0x71f92(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x1e9877,0x6,_0x1afffa[0x30]),_0x36ea8d=_0x71f92(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x3f0dd8,0xa,_0x1afffa[0x31]),_0x2c03ca=_0x71f92(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x235d3f,0xf,_0x1afffa[0x32]),_0x3539cc=_0x71f92(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x1a3207,0x15,_0x1afffa[0x33]),_0x3b5020=_0x71f92(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3e0bea,0x6,_0x1afffa[0x34]),_0x36ea8d=_0x71f92(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x5a7cc1,0xa,_0x1afffa[0x35]),_0x2c03ca=_0x71f92(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x2e3249,0xf,_0x1afffa[0x36]),_0x3539cc=_0x71f92(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x7aa8bc,0x15,_0x1afffa[0x37]),_0x3b5020=_0x71f92(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x9da7aa,0x6,_0x1afffa[0x38]),_0x36ea8d=_0x71f92(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x1bed90,0xa,_0x1afffa[0x39]),_0x2c03ca=_0x71f92(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x4b3ae3,0xf,_0x1afffa[0x3a]),_0x3539cc=_0x71f92(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x118fc4,0x15,_0x1afffa[0x3b]),_0x3b5020=_0x71f92(_0x3b5020,_0x3539cc,_0x2c03ca,_0x36ea8d,_0x20e6ad,0x6,_0x1afffa[0x3c]),_0x36ea8d=_0x71f92(_0x36ea8d,_0x3b5020,_0x3539cc,_0x2c03ca,_0x3360ec,0xa,_0x1afffa[0x3d]),_0x2c03ca=_0x71f92(_0x2c03ca,_0x36ea8d,_0x3b5020,_0x3539cc,_0x12a5f6,0xf,_0x1afffa[0x3e]),_0x3539cc=_0x71f92(_0x3539cc,_0x2c03ca,_0x36ea8d,_0x3b5020,_0x323d76,0x15,_0x1afffa[0x3f]),_0x111d76[0x0]=_0x111d76[0x0]+_0x3b5020|0x0,_0x111d76[0x1]=_0x111d76[0x1]+_0x3539cc|0x0,_0x111d76[0x2]=_0x111d76[0x2]+_0x2c03ca|0x0,_0x111d76[0x3]=_0x111d76[0x3]+_0x36ea8d|0x0;},'_doFinalize':function(){var _0x11c3b1=_0x69aa24,_0x45a2a9=this[_0x11c3b1(0x25e)],_0x4f955e=_0x45a2a9[_0x11c3b1(0x2b9)],_0x30133b=this['_nDataBytes']*0x8,_0x4398b1=_0x45a2a9[_0x11c3b1(0x40b)]*0x8;_0x4f955e[_0x4398b1>>>0x5]|=0x80<<0x18-_0x4398b1%0x20;var _0x5200b6=_0x5d3b2e[_0x11c3b1(0x2fd)](_0x30133b/0x100000000),_0x1b64a3=_0x30133b;_0x4f955e[(_0x4398b1+0x40>>>0x9<<0x4)+0xf]=(_0x5200b6<<0x8|_0x5200b6>>>0x18)&0xff00ff|(_0x5200b6<<0x18|_0x5200b6>>>0x8)&0xff00ff00,_0x4f955e[(_0x4398b1+0x40>>>0x9<<0x4)+0xe]=(_0x1b64a3<<0x8|_0x1b64a3>>>0x18)&0xff00ff|(_0x1b64a3<<0x18|_0x1b64a3>>>0x8)&0xff00ff00,_0x45a2a9[_0x11c3b1(0x40b)]=(_0x4f955e[_0x11c3b1(0x3d2)]+0x1)*0x4,this[_0x11c3b1(0x242)]();for(var _0x4dba73=this[_0x11c3b1(0x16d)],_0x266a7d=_0x4dba73[_0x11c3b1(0x2b9)],_0x4d9a30=0x0;_0x4d9a30<0x4;_0x4d9a30++){var _0x2393be=_0x266a7d[_0x4d9a30];_0x266a7d[_0x4d9a30]=(_0x2393be<<0x8|_0x2393be>>>0x18)&0xff00ff|(_0x2393be<<0x18|_0x2393be>>>0x8)&0xff00ff00;}return _0x4dba73;},'clone':function(){var _0x3f726c=_0x69aa24,_0x3de507=_0x477557[_0x3f726c(0x47c)][_0x3f726c(0x44b)](this);return _0x3de507[_0x3f726c(0x16d)]=this[_0x3f726c(0x16d)][_0x3f726c(0x47c)](),_0x3de507;}});function _0x225c73(_0xc70cc,_0x30e202,_0x1f8ada,_0x55723e,_0x5c4ed9,_0x530db6,_0x332eba){var _0x3d0360=_0xc70cc+(_0x30e202&_0x1f8ada|~_0x30e202&_0x55723e)+_0x5c4ed9+_0x332eba;return(_0x3d0360<<_0x530db6|_0x3d0360>>>0x20-_0x530db6)+_0x30e202;}function _0x1d1238(_0x537f4f,_0x3b1ae5,_0x505cd4,_0x52922b,_0x34f3e4,_0x3ae17c,_0x816e76){var _0x13b443=_0x537f4f+(_0x3b1ae5&_0x52922b|_0x505cd4&~_0x52922b)+_0x34f3e4+_0x816e76;return(_0x13b443<<_0x3ae17c|_0x13b443>>>0x20-_0x3ae17c)+_0x3b1ae5;}function _0xae8ab2(_0xc1f6b2,_0x51894e,_0xac997c,_0x3729d4,_0x135fe5,_0x168514,_0x23ecc1){var _0x41daa7=_0xc1f6b2+(_0x51894e^_0xac997c^_0x3729d4)+_0x135fe5+_0x23ecc1;return(_0x41daa7<<_0x168514|_0x41daa7>>>0x20-_0x168514)+_0x51894e;}function _0x71f92(_0x1af698,_0x7b0e53,_0x420e4f,_0xf58ce0,_0x3540c5,_0x1f3dfe,_0x1b2d4c){var _0x5c5b08=_0x1af698+(_0x420e4f^(_0x7b0e53|~_0xf58ce0))+_0x3540c5+_0x1b2d4c;return(_0x5c5b08<<_0x1f3dfe|_0x5c5b08>>>0x20-_0x1f3dfe)+_0x7b0e53;}_0x2ef494[_0x69aa24(0x148)]=_0x477557[_0x69aa24(0x358)](_0x54485a),_0x2ef494[_0x69aa24(0x28c)]=_0x477557[_0x69aa24(0x2a2)](_0x54485a);}(Math),_0x1dd997[_0x2bbe24(0x148)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee['exports'],nt;function Qn(){return nt||(nt=0x1,function(_0x2f089d,_0x34fcd1){(function(_0x1b049b,_0x292b1b){var _0x511010=_0x1265;_0x2f089d[_0x511010(0x475)]=_0x292b1b(ee());}(Zn,function(_0xaa28d0){return(function(){var _0x3a6546=_0x1265,_0xea931c=_0xaa28d0,_0x43e028=_0xea931c[_0x3a6546(0x191)],_0x28eff5=_0x43e028[_0x3a6546(0x388)],_0x4bfd58=_0x43e028[_0x3a6546(0x297)],_0x207941=_0xea931c[_0x3a6546(0x396)],_0x7b3eab=[],_0x1a1b74=_0x207941[_0x3a6546(0x3df)]=_0x4bfd58['extend']({'_doReset':function(){var _0x1dcbcc=_0x3a6546;this[_0x1dcbcc(0x16d)]=new _0x28eff5[(_0x1dcbcc(0x361))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4bba4e,_0x51601f){var _0x4b8695=_0x3a6546;for(var _0x4240d8=this[_0x4b8695(0x16d)][_0x4b8695(0x2b9)],_0x3560f5=_0x4240d8[0x0],_0x466f8=_0x4240d8[0x1],_0x4bd98b=_0x4240d8[0x2],_0x38804c=_0x4240d8[0x3],_0x3590ce=_0x4240d8[0x4],_0x49f624=0x0;_0x49f624<0x50;_0x49f624++){if(_0x49f624<0x10)_0x7b3eab[_0x49f624]=_0x4bba4e[_0x51601f+_0x49f624]|0x0;else{var _0x3336ce=_0x7b3eab[_0x49f624-0x3]^_0x7b3eab[_0x49f624-0x8]^_0x7b3eab[_0x49f624-0xe]^_0x7b3eab[_0x49f624-0x10];_0x7b3eab[_0x49f624]=_0x3336ce<<0x1|_0x3336ce>>>0x1f;}var _0xe900eb=(_0x3560f5<<0x5|_0x3560f5>>>0x1b)+_0x3590ce+_0x7b3eab[_0x49f624];_0x49f624<0x14?_0xe900eb+=(_0x466f8&_0x4bd98b|~_0x466f8&_0x38804c)+0x5a827999:_0x49f624<0x28?_0xe900eb+=(_0x466f8^_0x4bd98b^_0x38804c)+0x6ed9eba1:_0x49f624<0x3c?_0xe900eb+=(_0x466f8&_0x4bd98b|_0x466f8&_0x38804c|_0x4bd98b&_0x38804c)-0x70e44324:_0xe900eb+=(_0x466f8^_0x4bd98b^_0x38804c)-0x359d3e2a,_0x3590ce=_0x38804c,_0x38804c=_0x4bd98b,_0x4bd98b=_0x466f8<<0x1e|_0x466f8>>>0x2,_0x466f8=_0x3560f5,_0x3560f5=_0xe900eb;}_0x4240d8[0x0]=_0x4240d8[0x0]+_0x3560f5|0x0,_0x4240d8[0x1]=_0x4240d8[0x1]+_0x466f8|0x0,_0x4240d8[0x2]=_0x4240d8[0x2]+_0x4bd98b|0x0,_0x4240d8[0x3]=_0x4240d8[0x3]+_0x38804c|0x0,_0x4240d8[0x4]=_0x4240d8[0x4]+_0x3590ce|0x0;},'_doFinalize':function(){var _0x4faed6=_0x3a6546,_0x29096c=this[_0x4faed6(0x25e)],_0x1b3444=_0x29096c['words'],_0x3f27e2=this[_0x4faed6(0x125)]*0x8,_0x197679=_0x29096c[_0x4faed6(0x40b)]*0x8;return _0x1b3444[_0x197679>>>0x5]|=0x80<<0x18-_0x197679%0x20,_0x1b3444[(_0x197679+0x40>>>0x9<<0x4)+0xe]=Math[_0x4faed6(0x2fd)](_0x3f27e2/0x100000000),_0x1b3444[(_0x197679+0x40>>>0x9<<0x4)+0xf]=_0x3f27e2,_0x29096c[_0x4faed6(0x40b)]=_0x1b3444[_0x4faed6(0x3d2)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x5b5cca=_0x3a6546,_0x1a59b3=_0x4bfd58[_0x5b5cca(0x47c)][_0x5b5cca(0x44b)](this);return _0x1a59b3[_0x5b5cca(0x16d)]=this[_0x5b5cca(0x16d)][_0x5b5cca(0x47c)](),_0x1a59b3;}});_0xea931c[_0x3a6546(0x3df)]=_0x4bfd58[_0x3a6546(0x358)](_0x1a1b74),_0xea931c[_0x3a6546(0x2ab)]=_0x4bfd58[_0x3a6546(0x2a2)](_0x1a1b74);}()),_0xaa28d0['SHA1'];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},ei=Ce['exports'],it;function ti(){var _0x2659e8=_0x1a7af1;return it||(it=0x1,function(_0x2205fc,_0x570ed1){(function(_0x2d6dba,_0x15bb62){var _0x10bfff=_0x1265;_0x2205fc[_0x10bfff(0x475)]=_0x15bb62(ee());}(ei,function(_0x271f69){(function(){var _0x2a2991=_0x1265,_0x264506=_0x271f69,_0x52126d=_0x264506[_0x2a2991(0x191)],_0x3f688e=_0x52126d['Base'],_0x58fe58=_0x264506[_0x2a2991(0x19b)],_0x44f654=_0x58fe58[_0x2a2991(0x448)],_0x4f4de2=_0x264506[_0x2a2991(0x396)];_0x4f4de2[_0x2a2991(0x2eb)]=_0x3f688e[_0x2a2991(0x42d)]({'init':function(_0x3ec6ef,_0x2dad83){var _0x4f1d90=_0x2a2991;_0x3ec6ef=this[_0x4f1d90(0x24c)]=new _0x3ec6ef[(_0x4f1d90(0x361))](),typeof _0x2dad83==_0x4f1d90(0x426)&&(_0x2dad83=_0x44f654[_0x4f1d90(0x412)](_0x2dad83));var _0x29d498=_0x3ec6ef[_0x4f1d90(0x2e8)],_0x407ba1=_0x29d498*0x4;_0x2dad83['sigBytes']>_0x407ba1&&(_0x2dad83=_0x3ec6ef['finalize'](_0x2dad83)),_0x2dad83[_0x4f1d90(0x39e)]();for(var _0x499127=this[_0x4f1d90(0x48f)]=_0x2dad83['clone'](),_0x564817=this[_0x4f1d90(0x35d)]=_0x2dad83[_0x4f1d90(0x47c)](),_0x4776c7=_0x499127[_0x4f1d90(0x2b9)],_0x42324b=_0x564817['words'],_0x4139b3=0x0;_0x4139b3<_0x29d498;_0x4139b3++)_0x4776c7[_0x4139b3]^=0x5c5c5c5c,_0x42324b[_0x4139b3]^=0x36363636;_0x499127['sigBytes']=_0x564817[_0x4f1d90(0x40b)]=_0x407ba1,this[_0x4f1d90(0x458)]();},'reset':function(){var _0x90cb56=_0x2a2991,_0x2faabc=this[_0x90cb56(0x24c)];_0x2faabc[_0x90cb56(0x458)](),_0x2faabc[_0x90cb56(0x45c)](this[_0x90cb56(0x35d)]);},'update':function(_0x34375e){var _0x66c114=_0x2a2991;return this[_0x66c114(0x24c)][_0x66c114(0x45c)](_0x34375e),this;},'finalize':function(_0x5dfc1e){var _0x3b3a05=_0x2a2991,_0x474b15=this[_0x3b3a05(0x24c)],_0x3632c8=_0x474b15['finalize'](_0x5dfc1e);_0x474b15['reset']();var _0x37df60=_0x474b15[_0x3b3a05(0x15a)](this[_0x3b3a05(0x48f)][_0x3b3a05(0x47c)]()[_0x3b3a05(0x3bf)](_0x3632c8));return _0x37df60;}});}());}));}(Ce)),Ce[_0x2659e8(0x475)];}var ni=Ie[_0x1a7af1(0x475)],rt;function wt(){var _0x54af38=_0x1a7af1;return rt||(rt=0x1,function(_0x5df860,_0x46c526){(function(_0x57467f,_0x1d36e1,_0x10862a){var _0x15445a=_0x1265;_0x5df860[_0x15445a(0x475)]=_0x1d36e1(ee(),Qn(),ti());}(ni,function(_0x507728){var _0x382179=_0x1265;return(function(){var _0x2de759=_0x1265,_0x52c772=_0x507728,_0x4a4234=_0x52c772[_0x2de759(0x191)],_0x29446a=_0x4a4234[_0x2de759(0x317)],_0x56b78c=_0x4a4234[_0x2de759(0x388)],_0x5d518f=_0x52c772[_0x2de759(0x396)],_0x10e927=_0x5d518f[_0x2de759(0x148)],_0x35aa18=_0x5d518f[_0x2de759(0x253)]=_0x29446a['extend']({'cfg':_0x29446a[_0x2de759(0x42d)]({'keySize':0x80/0x20,'hasher':_0x10e927,'iterations':0x1}),'init':function(_0x261787){var _0x6b9361=_0x2de759;this['cfg']=this['cfg'][_0x6b9361(0x42d)](_0x261787);},'compute':function(_0x1f999b,_0x55dbb8){var _0xb60e7b=_0x2de759;for(var _0x4b3b33,_0x1f7281=this[_0xb60e7b(0x304)],_0x528dd6=_0x1f7281['hasher'][_0xb60e7b(0x31f)](),_0x563b63=_0x56b78c[_0xb60e7b(0x31f)](),_0x458979=_0x563b63['words'],_0x36efa5=_0x1f7281[_0xb60e7b(0x2d5)],_0x164e53=_0x1f7281[_0xb60e7b(0x45f)];_0x458979[_0xb60e7b(0x3d2)]<_0x36efa5;){_0x4b3b33&&_0x528dd6[_0xb60e7b(0x45c)](_0x4b3b33),_0x4b3b33=_0x528dd6['update'](_0x1f999b)[_0xb60e7b(0x15a)](_0x55dbb8),_0x528dd6[_0xb60e7b(0x458)]();for(var _0x3d25c9=0x1;_0x3d25c9<_0x164e53;_0x3d25c9++)_0x4b3b33=_0x528dd6[_0xb60e7b(0x15a)](_0x4b3b33),_0x528dd6['reset']();_0x563b63[_0xb60e7b(0x3bf)](_0x4b3b33);}return _0x563b63[_0xb60e7b(0x40b)]=_0x36efa5*0x4,_0x563b63;}});_0x52c772[_0x2de759(0x253)]=function(_0x50bb4a,_0x252a00,_0x5cbb6c){var _0x438028=_0x2de759;return _0x35aa18[_0x438028(0x31f)](_0x5cbb6c)[_0x438028(0x1a2)](_0x50bb4a,_0x252a00);};}()),_0x507728[_0x382179(0x253)];}));}(Ie)),Ie[_0x54af38(0x475)];}var Te={'exports':{}},ii=Te[_0x1a7af1(0x475)],st;function At(){var _0x5acc17=_0x1a7af1;return st||(st=0x1,function(_0x2e0a6f,_0x2939b5){(function(_0x100f9f,_0x20c0d2,_0x121472){var _0x361cf5=_0x1265;_0x2e0a6f[_0x361cf5(0x475)]=_0x20c0d2(ee(),wt());}(ii,function(_0x492519){var _0x48812c=_0x1265;_0x492519[_0x48812c(0x191)][_0x48812c(0x214)]||function(_0x369690){var _0x41a087=_0x48812c,_0x3b40f2=_0x492519,_0x1c0077=_0x3b40f2['lib'],_0x39adc9=_0x1c0077[_0x41a087(0x317)],_0x2ffd07=_0x1c0077['WordArray'],_0x22367d=_0x1c0077[_0x41a087(0x3a2)],_0x6a1c0c=_0x3b40f2[_0x41a087(0x19b)];_0x6a1c0c[_0x41a087(0x448)];var _0x369875=_0x6a1c0c['Base64'],_0x104ed5=_0x3b40f2[_0x41a087(0x396)],_0x459a68=_0x104ed5[_0x41a087(0x253)],_0xd0ad4f=_0x1c0077['Cipher']=_0x22367d['extend']({'cfg':_0x39adc9[_0x41a087(0x42d)](),'createEncryptor':function(_0x454628,_0x49e05c){return this['create'](this['_ENC_XFORM_MODE'],_0x454628,_0x49e05c);},'createDecryptor':function(_0x3497d2,_0x5ba369){var _0x26d252=_0x41a087;return this['create'](this[_0x26d252(0x452)],_0x3497d2,_0x5ba369);},'init':function(_0x11999a,_0x36e628,_0x247088){var _0x1aa32f=_0x41a087;this[_0x1aa32f(0x304)]=this[_0x1aa32f(0x304)][_0x1aa32f(0x42d)](_0x247088),this[_0x1aa32f(0x20b)]=_0x11999a,this['_key']=_0x36e628,this[_0x1aa32f(0x458)]();},'reset':function(){var _0x5045b6=_0x41a087;_0x22367d[_0x5045b6(0x458)][_0x5045b6(0x44b)](this),this[_0x5045b6(0x1c3)]();},'process':function(_0x580ccc){var _0x1bb669=_0x41a087;return this[_0x1bb669(0x337)](_0x580ccc),this['_process']();},'finalize':function(_0x36a236){var _0x40831d=_0x41a087;_0x36a236&&this[_0x40831d(0x337)](_0x36a236);var _0x3dc60e=this[_0x40831d(0x455)]();return _0x3dc60e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3da666(_0x4ab3ed){var _0x297093=_0x1265;return typeof _0x4ab3ed==_0x297093(0x426)?_0x2e5631:_0xdd7367;}return function(_0x36d357){return{'encrypt':function(_0x1cc293,_0x2d693d,_0x49a3c7){var _0x32e74d=_0x1265;return _0x3da666(_0x2d693d)[_0x32e74d(0x450)](_0x36d357,_0x1cc293,_0x2d693d,_0x49a3c7);},'decrypt':function(_0x26c962,_0x52080a,_0x3df913){var _0x28727b=_0x1265;return _0x3da666(_0x52080a)[_0x28727b(0x1a0)](_0x36d357,_0x26c962,_0x52080a,_0x3df913);}};};}())});_0x1c0077[_0x41a087(0x43b)]=_0xd0ad4f[_0x41a087(0x42d)]({'_doFinalize':function(){var _0x582002=this['_process'](!0x0);return _0x582002;},'blockSize':0x1});var _0x4a4b44=_0x3b40f2[_0x41a087(0x2a1)]={},_0xadb395=_0x1c0077[_0x41a087(0x478)]=_0x39adc9[_0x41a087(0x42d)]({'createEncryptor':function(_0x3c1c31,_0x3c7251){var _0x45f727=_0x41a087;return this[_0x45f727(0x32d)][_0x45f727(0x31f)](_0x3c1c31,_0x3c7251);},'createDecryptor':function(_0x165f26,_0x2165eb){var _0x171f44=_0x41a087;return this[_0x171f44(0x2db)]['create'](_0x165f26,_0x2165eb);},'init':function(_0x4ad62a,_0x580d45){var _0x556ac2=_0x41a087;this[_0x556ac2(0x347)]=_0x4ad62a,this['_iv']=_0x580d45;}}),_0x49844a=_0x4a4b44[_0x41a087(0x21b)]=(function(){var _0x12b8a4=_0x41a087,_0xe32bab=_0xadb395[_0x12b8a4(0x42d)]();_0xe32bab[_0x12b8a4(0x32d)]=_0xe32bab[_0x12b8a4(0x42d)]({'processBlock':function(_0x82fff,_0x335b24){var _0x4b6620=_0x12b8a4,_0x331fe=this[_0x4b6620(0x347)],_0x5d8a56=_0x331fe['blockSize'];_0x3b263d[_0x4b6620(0x44b)](this,_0x82fff,_0x335b24,_0x5d8a56),_0x331fe[_0x4b6620(0x43d)](_0x82fff,_0x335b24),this['_prevBlock']=_0x82fff['slice'](_0x335b24,_0x335b24+_0x5d8a56);}}),_0xe32bab[_0x12b8a4(0x2db)]=_0xe32bab['extend']({'processBlock':function(_0x46ff32,_0x1b4dc0){var _0x550df0=_0x12b8a4,_0x541a77=this[_0x550df0(0x347)],_0x287f33=_0x541a77[_0x550df0(0x2e8)],_0x5dc6ab=_0x46ff32[_0x550df0(0x228)](_0x1b4dc0,_0x1b4dc0+_0x287f33);_0x541a77[_0x550df0(0x36c)](_0x46ff32,_0x1b4dc0),_0x3b263d[_0x550df0(0x44b)](this,_0x46ff32,_0x1b4dc0,_0x287f33),this[_0x550df0(0x345)]=_0x5dc6ab;}});function _0x3b263d(_0x1e8cdb,_0x5be732,_0x8d378f){var _0x5864f2,_0x3c90fe=this['_iv'];_0x3c90fe?(_0x5864f2=_0x3c90fe,this['_iv']=_0x369690):_0x5864f2=this['_prevBlock'];for(var _0x4aef98=0x0;_0x4aef98<_0x8d378f;_0x4aef98++)_0x1e8cdb[_0x5be732+_0x4aef98]^=_0x5864f2[_0x4aef98];}return _0xe32bab;}()),_0xc1b172=_0x3b40f2[_0x41a087(0x240)]={},_0x485f77=_0xc1b172[_0x41a087(0x3b4)]={'pad':function(_0x3c2e3f,_0x245d59){var _0xb98edc=_0x41a087;for(var _0x1601b5=_0x245d59*0x4,_0x382c6d=_0x1601b5-_0x3c2e3f[_0xb98edc(0x40b)]%_0x1601b5,_0x56ce6c=_0x382c6d<<0x18|_0x382c6d<<0x10|_0x382c6d<<0x8|_0x382c6d,_0x5b1b73=[],_0x5deff6=0x0;_0x5deff6<_0x382c6d;_0x5deff6+=0x4)_0x5b1b73[_0xb98edc(0x353)](_0x56ce6c);var _0x232233=_0x2ffd07[_0xb98edc(0x31f)](_0x5b1b73,_0x382c6d);_0x3c2e3f[_0xb98edc(0x3bf)](_0x232233);},'unpad':function(_0xff93c1){var _0x4edb6a=_0x41a087,_0x4922f4=_0xff93c1['words'][_0xff93c1[_0x4edb6a(0x40b)]-0x1>>>0x2]&0xff;_0xff93c1[_0x4edb6a(0x40b)]-=_0x4922f4;}};_0x1c0077[_0x41a087(0x259)]=_0xd0ad4f[_0x41a087(0x42d)]({'cfg':_0xd0ad4f['cfg'][_0x41a087(0x42d)]({'mode':_0x49844a,'padding':_0x485f77}),'reset':function(){var _0x3db5bb=_0x41a087,_0x2580d7;_0xd0ad4f['reset'][_0x3db5bb(0x44b)](this);var _0x27d120=this['cfg'],_0x4f6f8a=_0x27d120['iv'],_0xd7a285=_0x27d120[_0x3db5bb(0x2a1)];this[_0x3db5bb(0x20b)]==this['_ENC_XFORM_MODE']?_0x2580d7=_0xd7a285['createEncryptor']:(_0x2580d7=_0xd7a285['createDecryptor'],this[_0x3db5bb(0x2a6)]=0x1),this[_0x3db5bb(0x370)]&&this[_0x3db5bb(0x370)][_0x3db5bb(0x322)]==_0x2580d7?this[_0x3db5bb(0x370)]['init'](this,_0x4f6f8a&&_0x4f6f8a[_0x3db5bb(0x2b9)]):(this[_0x3db5bb(0x370)]=_0x2580d7[_0x3db5bb(0x44b)](_0xd7a285,this,_0x4f6f8a&&_0x4f6f8a[_0x3db5bb(0x2b9)]),this[_0x3db5bb(0x370)]['__creator']=_0x2580d7);},'_doProcessBlock':function(_0x12bc90,_0x276760){var _0x340456=_0x41a087;this[_0x340456(0x370)]['processBlock'](_0x12bc90,_0x276760);},'_doFinalize':function(){var _0x177675=_0x41a087,_0x3a53d2,_0x3e2b5d=this[_0x177675(0x304)]['padding'];return this[_0x177675(0x20b)]==this[_0x177675(0x3aa)]?(_0x3e2b5d[_0x177675(0x240)](this[_0x177675(0x25e)],this[_0x177675(0x2e8)]),_0x3a53d2=this[_0x177675(0x242)](!0x0)):(_0x3a53d2=this[_0x177675(0x242)](!0x0),_0x3e2b5d[_0x177675(0x201)](_0x3a53d2)),_0x3a53d2;},'blockSize':0x80/0x20});var _0x14368f=_0x1c0077[_0x41a087(0x26b)]=_0x39adc9[_0x41a087(0x42d)]({'init':function(_0x4ad4b2){this['mixIn'](_0x4ad4b2);},'toString':function(_0x173920){var _0x33068c=_0x41a087;return(_0x173920||this['formatter'])[_0x33068c(0x192)](this);}}),_0x2eb428=_0x3b40f2['format']={},_0xf57138=_0x2eb428[_0x41a087(0x3ce)]={'stringify':function(_0x27e4df){var _0x2b5e48=_0x41a087,_0x266507,_0x5eeeb3=_0x27e4df[_0x2b5e48(0x489)],_0x3e1765=_0x27e4df[_0x2b5e48(0x441)];return _0x3e1765?_0x266507=_0x2ffd07[_0x2b5e48(0x31f)]([0x53616c74,0x65645f5f])['concat'](_0x3e1765)[_0x2b5e48(0x3bf)](_0x5eeeb3):_0x266507=_0x5eeeb3,_0x266507[_0x2b5e48(0x41f)](_0x369875);},'parse':function(_0x38dc8a){var _0x4c891f=_0x41a087,_0x2a2474,_0x2351bd=_0x369875[_0x4c891f(0x412)](_0x38dc8a),_0x337eca=_0x2351bd[_0x4c891f(0x2b9)];return _0x337eca[0x0]==0x53616c74&&_0x337eca[0x1]==0x65645f5f&&(_0x2a2474=_0x2ffd07['create'](_0x337eca[_0x4c891f(0x228)](0x2,0x4)),_0x337eca[_0x4c891f(0x270)](0x0,0x4),_0x2351bd[_0x4c891f(0x40b)]-=0x10),_0x14368f[_0x4c891f(0x31f)]({'ciphertext':_0x2351bd,'salt':_0x2a2474});}},_0xdd7367=_0x1c0077['SerializableCipher']=_0x39adc9['extend']({'cfg':_0x39adc9[_0x41a087(0x42d)]({'format':_0xf57138}),'encrypt':function(_0x2fcc8c,_0xa63b1d,_0x41cb2e,_0x818b0e){var _0x1b8272=_0x41a087;_0x818b0e=this[_0x1b8272(0x304)]['extend'](_0x818b0e);var _0x26f5b8=_0x2fcc8c[_0x1b8272(0x349)](_0x41cb2e,_0x818b0e),_0xcf0779=_0x26f5b8[_0x1b8272(0x15a)](_0xa63b1d),_0x2dfdec=_0x26f5b8[_0x1b8272(0x304)];return _0x14368f[_0x1b8272(0x31f)]({'ciphertext':_0xcf0779,'key':_0x41cb2e,'iv':_0x2dfdec['iv'],'algorithm':_0x2fcc8c,'mode':_0x2dfdec[_0x1b8272(0x2a1)],'padding':_0x2dfdec[_0x1b8272(0x442)],'blockSize':_0x2fcc8c[_0x1b8272(0x2e8)],'formatter':_0x818b0e[_0x1b8272(0x1c5)]});},'decrypt':function(_0x37352e,_0x2e921d,_0x336f4e,_0x28b62f){var _0x11c63a=_0x41a087;_0x28b62f=this['cfg'][_0x11c63a(0x42d)](_0x28b62f),_0x2e921d=this[_0x11c63a(0x329)](_0x2e921d,_0x28b62f[_0x11c63a(0x1c5)]);var _0x10ad01=_0x37352e[_0x11c63a(0x2c2)](_0x336f4e,_0x28b62f)['finalize'](_0x2e921d['ciphertext']);return _0x10ad01;},'_parse':function(_0x3557c2,_0x231f65){return typeof _0x3557c2=='string'?_0x231f65['parse'](_0x3557c2,this):_0x3557c2;}}),_0xaefe83=_0x3b40f2[_0x41a087(0x233)]={},_0x1da62f=_0xaefe83[_0x41a087(0x3ce)]={'execute':function(_0x4a574a,_0xe7f098,_0x3566cd,_0x49de46,_0x33e97f){var _0x20a37f=_0x41a087;if(_0x49de46||(_0x49de46=_0x2ffd07[_0x20a37f(0x1d1)](0x40/0x8)),_0x33e97f)var _0x42868c=_0x459a68[_0x20a37f(0x31f)]({'keySize':_0xe7f098+_0x3566cd,'hasher':_0x33e97f})[_0x20a37f(0x1a2)](_0x4a574a,_0x49de46);else var _0x42868c=_0x459a68[_0x20a37f(0x31f)]({'keySize':_0xe7f098+_0x3566cd})[_0x20a37f(0x1a2)](_0x4a574a,_0x49de46);var _0x550a32=_0x2ffd07['create'](_0x42868c['words'][_0x20a37f(0x228)](_0xe7f098),_0x3566cd*0x4);return _0x42868c[_0x20a37f(0x40b)]=_0xe7f098*0x4,_0x14368f['create']({'key':_0x42868c,'iv':_0x550a32,'salt':_0x49de46});}},_0x2e5631=_0x1c0077[_0x41a087(0x1b7)]=_0xdd7367[_0x41a087(0x42d)]({'cfg':_0xdd7367[_0x41a087(0x304)][_0x41a087(0x42d)]({'kdf':_0x1da62f}),'encrypt':function(_0x36b815,_0x1b6a4b,_0x5c3a27,_0x5b5204){var _0x3d770c=_0x41a087;_0x5b5204=this[_0x3d770c(0x304)][_0x3d770c(0x42d)](_0x5b5204);var _0x343b85=_0x5b5204['kdf'][_0x3d770c(0x306)](_0x5c3a27,_0x36b815[_0x3d770c(0x2d5)],_0x36b815['ivSize'],_0x5b5204[_0x3d770c(0x441)],_0x5b5204[_0x3d770c(0x2cc)]);_0x5b5204['iv']=_0x343b85['iv'];var _0x3f76d6=_0xdd7367['encrypt'][_0x3d770c(0x44b)](this,_0x36b815,_0x1b6a4b,_0x343b85[_0x3d770c(0x407)],_0x5b5204);return _0x3f76d6[_0x3d770c(0x2af)](_0x343b85),_0x3f76d6;},'decrypt':function(_0x119621,_0x2624fb,_0x4b8818,_0x581d52){var _0x2fc8ff=_0x41a087;_0x581d52=this[_0x2fc8ff(0x304)][_0x2fc8ff(0x42d)](_0x581d52),_0x2624fb=this[_0x2fc8ff(0x329)](_0x2624fb,_0x581d52[_0x2fc8ff(0x1c5)]);var _0x44f2c7=_0x581d52[_0x2fc8ff(0x233)][_0x2fc8ff(0x306)](_0x4b8818,_0x119621[_0x2fc8ff(0x2d5)],_0x119621[_0x2fc8ff(0x28e)],_0x2624fb[_0x2fc8ff(0x441)],_0x581d52[_0x2fc8ff(0x2cc)]);_0x581d52['iv']=_0x44f2c7['iv'];var _0x1160ec=_0xdd7367['decrypt'][_0x2fc8ff(0x44b)](this,_0x119621,_0x2624fb,_0x44f2c7[_0x2fc8ff(0x407)],_0x581d52);return _0x1160ec;}});}();}));}(Te)),Te[_0x5acc17(0x475)];}var ri=Se[_0x1a7af1(0x475)],ot;function si(){return ot||(ot=0x1,function(_0xe76924,_0x299298){(function(_0x44309d,_0x152b3b,_0x2e07c5){var _0x251a5f=_0x1265;_0xe76924[_0x251a5f(0x475)]=_0x152b3b(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4ca216){return(function(){var _0x2a7708=_0x1265,_0xd5845e=_0x4ca216,_0x17ec76=_0xd5845e['lib'],_0x203ca6=_0x17ec76[_0x2a7708(0x259)],_0x331495=_0xd5845e[_0x2a7708(0x396)],_0x496987=[],_0x7f9b4e=[],_0x546bcd=[],_0x2f1a96=[],_0x542f9a=[],_0x49fd2c=[],_0x2f529f=[],_0x483ff6=[],_0x344b3a=[],_0x3a93f0=[];(function(){for(var _0x2796a5=[],_0x2b629c=0x0;_0x2b629c<0x100;_0x2b629c++)_0x2b629c<0x80?_0x2796a5[_0x2b629c]=_0x2b629c<<0x1:_0x2796a5[_0x2b629c]=_0x2b629c<<0x1^0x11b;for(var _0x532357=0x0,_0x4baa7a=0x0,_0x2b629c=0x0;_0x2b629c<0x100;_0x2b629c++){var _0x26d7f5=_0x4baa7a^_0x4baa7a<<0x1^_0x4baa7a<<0x2^_0x4baa7a<<0x3^_0x4baa7a<<0x4;_0x26d7f5=_0x26d7f5>>>0x8^_0x26d7f5&0xff^0x63,_0x496987[_0x532357]=_0x26d7f5,_0x7f9b4e[_0x26d7f5]=_0x532357;var _0x49d3bf=_0x2796a5[_0x532357],_0x204acf=_0x2796a5[_0x49d3bf],_0x468431=_0x2796a5[_0x204acf],_0x468b41=_0x2796a5[_0x26d7f5]*0x101^_0x26d7f5*0x1010100;_0x546bcd[_0x532357]=_0x468b41<<0x18|_0x468b41>>>0x8,_0x2f1a96[_0x532357]=_0x468b41<<0x10|_0x468b41>>>0x10,_0x542f9a[_0x532357]=_0x468b41<<0x8|_0x468b41>>>0x18,_0x49fd2c[_0x532357]=_0x468b41;var _0x468b41=_0x468431*0x1010101^_0x204acf*0x10001^_0x49d3bf*0x101^_0x532357*0x1010100;_0x2f529f[_0x26d7f5]=_0x468b41<<0x18|_0x468b41>>>0x8,_0x483ff6[_0x26d7f5]=_0x468b41<<0x10|_0x468b41>>>0x10,_0x344b3a[_0x26d7f5]=_0x468b41<<0x8|_0x468b41>>>0x18,_0x3a93f0[_0x26d7f5]=_0x468b41,_0x532357?(_0x532357=_0x49d3bf^_0x2796a5[_0x2796a5[_0x2796a5[_0x468431^_0x49d3bf]]],_0x4baa7a^=_0x2796a5[_0x2796a5[_0x4baa7a]]):_0x532357=_0x4baa7a=0x1;}}());var _0x3a5c90=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3b3989=_0x331495['AES']=_0x203ca6[_0x2a7708(0x42d)]({'_doReset':function(){var _0x340664=_0x2a7708,_0x4feebe;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x340664(0x3fd)])){for(var _0x13dd67=this[_0x340664(0x3fc)]=this[_0x340664(0x3fd)],_0x2d2b65=_0x13dd67[_0x340664(0x2b9)],_0x171e3d=_0x13dd67[_0x340664(0x40b)]/0x4,_0x5c5b52=this[_0x340664(0x44f)]=_0x171e3d+0x6,_0xcb476=(_0x5c5b52+0x1)*0x4,_0x4987f2=this[_0x340664(0x22a)]=[],_0x3ad5e7=0x0;_0x3ad5e7<_0xcb476;_0x3ad5e7++)_0x3ad5e7<_0x171e3d?_0x4987f2[_0x3ad5e7]=_0x2d2b65[_0x3ad5e7]:(_0x4feebe=_0x4987f2[_0x3ad5e7-0x1],_0x3ad5e7%_0x171e3d?_0x171e3d>0x6&&_0x3ad5e7%_0x171e3d==0x4&&(_0x4feebe=_0x496987[_0x4feebe>>>0x18]<<0x18|_0x496987[_0x4feebe>>>0x10&0xff]<<0x10|_0x496987[_0x4feebe>>>0x8&0xff]<<0x8|_0x496987[_0x4feebe&0xff]):(_0x4feebe=_0x4feebe<<0x8|_0x4feebe>>>0x18,_0x4feebe=_0x496987[_0x4feebe>>>0x18]<<0x18|_0x496987[_0x4feebe>>>0x10&0xff]<<0x10|_0x496987[_0x4feebe>>>0x8&0xff]<<0x8|_0x496987[_0x4feebe&0xff],_0x4feebe^=_0x3a5c90[_0x3ad5e7/_0x171e3d|0x0]<<0x18),_0x4987f2[_0x3ad5e7]=_0x4987f2[_0x3ad5e7-_0x171e3d]^_0x4feebe);for(var _0xdf9299=this['_invKeySchedule']=[],_0x55713d=0x0;_0x55713d<_0xcb476;_0x55713d++){var _0x3ad5e7=_0xcb476-_0x55713d;if(_0x55713d%0x4)var _0x4feebe=_0x4987f2[_0x3ad5e7];else var _0x4feebe=_0x4987f2[_0x3ad5e7-0x4];_0x55713d<0x4||_0x3ad5e7<=0x4?_0xdf9299[_0x55713d]=_0x4feebe:_0xdf9299[_0x55713d]=_0x2f529f[_0x496987[_0x4feebe>>>0x18]]^_0x483ff6[_0x496987[_0x4feebe>>>0x10&0xff]]^_0x344b3a[_0x496987[_0x4feebe>>>0x8&0xff]]^_0x3a93f0[_0x496987[_0x4feebe&0xff]];}}},'encryptBlock':function(_0x59f139,_0x371991){var _0x225cb0=_0x2a7708;this[_0x225cb0(0x40e)](_0x59f139,_0x371991,this[_0x225cb0(0x22a)],_0x546bcd,_0x2f1a96,_0x542f9a,_0x49fd2c,_0x496987);},'decryptBlock':function(_0x49224a,_0x1cbf33){var _0x42649d=_0x2a7708,_0x3907a8=_0x49224a[_0x1cbf33+0x1];_0x49224a[_0x1cbf33+0x1]=_0x49224a[_0x1cbf33+0x3],_0x49224a[_0x1cbf33+0x3]=_0x3907a8,this[_0x42649d(0x40e)](_0x49224a,_0x1cbf33,this['_invKeySchedule'],_0x2f529f,_0x483ff6,_0x344b3a,_0x3a93f0,_0x7f9b4e);var _0x3907a8=_0x49224a[_0x1cbf33+0x1];_0x49224a[_0x1cbf33+0x1]=_0x49224a[_0x1cbf33+0x3],_0x49224a[_0x1cbf33+0x3]=_0x3907a8;},'_doCryptBlock':function(_0x2900ab,_0x557110,_0x575051,_0x17621c,_0x31187e,_0x5bb557,_0xb72420,_0x3d0ca3){var _0x1f4000=_0x2a7708;for(var _0x1b0b06=this[_0x1f4000(0x44f)],_0x4a2550=_0x2900ab[_0x557110]^_0x575051[0x0],_0x25b020=_0x2900ab[_0x557110+0x1]^_0x575051[0x1],_0x127950=_0x2900ab[_0x557110+0x2]^_0x575051[0x2],_0x4661f0=_0x2900ab[_0x557110+0x3]^_0x575051[0x3],_0x2496b1=0x4,_0x24f172=0x1;_0x24f172<_0x1b0b06;_0x24f172++){var _0x14cef9=_0x17621c[_0x4a2550>>>0x18]^_0x31187e[_0x25b020>>>0x10&0xff]^_0x5bb557[_0x127950>>>0x8&0xff]^_0xb72420[_0x4661f0&0xff]^_0x575051[_0x2496b1++],_0x13cfea=_0x17621c[_0x25b020>>>0x18]^_0x31187e[_0x127950>>>0x10&0xff]^_0x5bb557[_0x4661f0>>>0x8&0xff]^_0xb72420[_0x4a2550&0xff]^_0x575051[_0x2496b1++],_0xcccbe1=_0x17621c[_0x127950>>>0x18]^_0x31187e[_0x4661f0>>>0x10&0xff]^_0x5bb557[_0x4a2550>>>0x8&0xff]^_0xb72420[_0x25b020&0xff]^_0x575051[_0x2496b1++],_0x2c4905=_0x17621c[_0x4661f0>>>0x18]^_0x31187e[_0x4a2550>>>0x10&0xff]^_0x5bb557[_0x25b020>>>0x8&0xff]^_0xb72420[_0x127950&0xff]^_0x575051[_0x2496b1++];_0x4a2550=_0x14cef9,_0x25b020=_0x13cfea,_0x127950=_0xcccbe1,_0x4661f0=_0x2c4905;}var _0x14cef9=(_0x3d0ca3[_0x4a2550>>>0x18]<<0x18|_0x3d0ca3[_0x25b020>>>0x10&0xff]<<0x10|_0x3d0ca3[_0x127950>>>0x8&0xff]<<0x8|_0x3d0ca3[_0x4661f0&0xff])^_0x575051[_0x2496b1++],_0x13cfea=(_0x3d0ca3[_0x25b020>>>0x18]<<0x18|_0x3d0ca3[_0x127950>>>0x10&0xff]<<0x10|_0x3d0ca3[_0x4661f0>>>0x8&0xff]<<0x8|_0x3d0ca3[_0x4a2550&0xff])^_0x575051[_0x2496b1++],_0xcccbe1=(_0x3d0ca3[_0x127950>>>0x18]<<0x18|_0x3d0ca3[_0x4661f0>>>0x10&0xff]<<0x10|_0x3d0ca3[_0x4a2550>>>0x8&0xff]<<0x8|_0x3d0ca3[_0x25b020&0xff])^_0x575051[_0x2496b1++],_0x2c4905=(_0x3d0ca3[_0x4661f0>>>0x18]<<0x18|_0x3d0ca3[_0x4a2550>>>0x10&0xff]<<0x10|_0x3d0ca3[_0x25b020>>>0x8&0xff]<<0x8|_0x3d0ca3[_0x127950&0xff])^_0x575051[_0x2496b1++];_0x2900ab[_0x557110]=_0x14cef9,_0x2900ab[_0x557110+0x1]=_0x13cfea,_0x2900ab[_0x557110+0x2]=_0xcccbe1,_0x2900ab[_0x557110+0x3]=_0x2c4905;},'keySize':0x100/0x20});_0xd5845e['AES']=_0x203ca6[_0x2a7708(0x358)](_0x3b3989);}()),_0x4ca216['AES'];}));}(Se)),Se['exports'];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x1a7af1(0x475)],ct;function li(){var _0x3e82b1=_0x1a7af1;return ct||(ct=0x1,function(_0x2a605c,_0xd3d9e9){(function(_0x5d9e55,_0x841513){var _0x56afbc=_0x1265;_0x2a605c[_0x56afbc(0x475)]=_0x841513(ee());}(hi,function(_0xeb2862){var _0x42208c=_0x1265;return _0xeb2862[_0x42208c(0x19b)][_0x42208c(0x448)];}));}(be)),be[_0x3e82b1(0x475)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x1a7af1(0x475)],ht;function vi(){var _0x2d4ea0=_0x1a7af1;return ht||(ht=0x1,function(_0x5d031a,_0x14b3a6){(function(_0x50dcbb,_0x5223f1){var _0x5ad378=_0x1265;_0x5d031a[_0x5ad378(0x475)]=_0x5223f1(ee());}(di,function(_0x5a33cc){var _0x14296c=_0x1265;return(function(){var _0x5b490f=_0x1265;if(typeof ArrayBuffer==_0x5b490f(0x453)){var _0x1bb7ff=_0x5a33cc,_0x4fda22=_0x1bb7ff[_0x5b490f(0x191)],_0x47ef38=_0x4fda22[_0x5b490f(0x388)],_0x4e08b7=_0x47ef38['init'],_0x5eeea7=_0x47ef38[_0x5b490f(0x361)]=function(_0x41f64b){var _0x5dc288=_0x5b490f;if(_0x41f64b instanceof ArrayBuffer&&(_0x41f64b=new Uint8Array(_0x41f64b)),(_0x41f64b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x41f64b instanceof Uint8ClampedArray||_0x41f64b instanceof Int16Array||_0x41f64b instanceof Uint16Array||_0x41f64b instanceof Int32Array||_0x41f64b instanceof Uint32Array||_0x41f64b instanceof Float32Array||_0x41f64b instanceof Float64Array)&&(_0x41f64b=new Uint8Array(_0x41f64b[_0x5dc288(0x2d1)],_0x41f64b[_0x5dc288(0x223)],_0x41f64b[_0x5dc288(0x24e)])),_0x41f64b instanceof Uint8Array){for(var _0x40fee8=_0x41f64b['byteLength'],_0x2bda6e=[],_0x30ad55=0x0;_0x30ad55<_0x40fee8;_0x30ad55++)_0x2bda6e[_0x30ad55>>>0x2]|=_0x41f64b[_0x30ad55]<<0x18-_0x30ad55%0x4*0x8;_0x4e08b7['call'](this,_0x2bda6e,_0x40fee8);}else _0x4e08b7[_0x5dc288(0x43e)](this,arguments);};_0x5eeea7['prototype']=_0x47ef38;}}()),_0x5a33cc[_0x14296c(0x191)]['WordArray'];}));}(Re)),Re[_0x2d4ea0(0x475)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x1a7af1(0x475)],lt;function mi(){var _0x3cf0a2=_0x1a7af1;return lt||(lt=0x1,function(_0x1ed616,_0x3ec742){(function(_0x21708e,_0x1ee2af,_0x559664){var _0x3e5411=_0x1265;_0x1ed616[_0x3e5411(0x475)]=_0x1ee2af(ee(),At());}(pi,function(_0x1ca435){var _0x3564dd=_0x1265;return _0x1ca435[_0x3564dd(0x240)][_0x3564dd(0x21d)]={'pad':function(){},'unpad':function(){}},_0x1ca435[_0x3564dd(0x240)][_0x3564dd(0x21d)];}));}(Oe)),Oe[_0x3cf0a2(0x475)];}var gi=mi();function _0x1265(_0x3daee9,_0xb93eaf){var _0x48bec0=_0x48be();return _0x1265=function(_0x1265d0,_0x53f23c){_0x1265d0=_0x1265d0-0x124;var _0x5b6cf9=_0x48bec0[_0x1265d0];return _0x5b6cf9;},_0x1265(_0x3daee9,_0xb93eaf);}const Ii=fe(gi);function Ei(_0x40eaca,_0x2b3244){var _0x438914=_0x1a7af1;const _0xba6c35=_0x2b3244-_0x40eaca[_0x438914(0x3d2)]%_0x2b3244,_0x44018d=String[_0x438914(0x212)](_0xba6c35)[_0x438914(0x13d)](_0xba6c35);return _0x40eaca+_0x44018d;}function Ci(_0x992da5,_0x5a9235){var _0x5dd03f=_0x1a7af1;const _0x3378a8=Si[_0x5dd03f(0x1d1)](0x10),_0xf7569f=Ei(_0x992da5,0x10),_0x555004=ai['encrypt'](ui[_0x5dd03f(0x412)](_0xf7569f),at[_0x5dd03f(0x412)](_0x5a9235),{'iv':_0x3378a8,'padding':Ii});return _0x3378a8[_0x5dd03f(0x3bf)](_0x555004['ciphertext'])[_0x5dd03f(0x41f)](at);}function Ti(){var _0x2ad4c5=_0x1a7af1;const _0x2446f6=$t[_0x2ad4c5(0x307)]()['__Key__'];if(_0x2446f6){const _0x42a792={'time':Math[_0x2ad4c5(0x2fd)](Date[_0x2ad4c5(0x2c6)]()/0x3e8),'domain':location[_0x2ad4c5(0x183)]};return Ci(JSON[_0x2ad4c5(0x192)](_0x42a792),_0x2446f6);}}var bi=Object[_0x1a7af1(0x26a)],Ri=Object[_0x1a7af1(0x42c)],Oi=(_0x4b1a69,_0x78ddd3,_0x9192a8,_0x26cb60)=>{var _0x2d760f=_0x1a7af1;for(var _0x2faad1=_0x26cb60>0x1?void 0x0:_0x26cb60?Ri(_0x78ddd3,_0x9192a8):_0x78ddd3,_0x4e16ea=_0x4b1a69[_0x2d760f(0x3d2)]-0x1,_0x248ed9;_0x4e16ea>=0x0;_0x4e16ea--)(_0x248ed9=_0x4b1a69[_0x4e16ea])&&(_0x2faad1=(_0x26cb60?_0x248ed9(_0x78ddd3,_0x9192a8,_0x2faad1):_0x248ed9(_0x2faad1))||_0x2faad1);return _0x26cb60&&_0x2faad1&&bi(_0x78ddd3,_0x9192a8,_0x2faad1),_0x2faad1;},yi=(_0x2f1056,_0x1f49ce)=>(_0x17b076,_0x2c6245)=>_0x1f49ce(_0x17b076,_0x2c6245,_0x2f1056);let Ne=class{constructor(_0x4d27a8){var _0x5058a0=_0x1a7af1;this[_0x5058a0(0x170)]=_0x4d27a8,this[_0x5058a0(0x461)]();}[_0x1a7af1(0x461)](){var _0x5bda02=_0x1a7af1;this[_0x5bda02(0x170)]['registerHTTPInterceptor']({'interceptor':(_0x28a191,_0x3e1e79)=>{var _0x5a3054=_0x5bda02;const _0x35d2f5=_0x28a191['headers'],_0x271b53=Ti();return _0x271b53&&_0x35d2f5[_0x5a3054(0x331)](_0x5a3054(0x211),_0x271b53),_0x3e1e79(_0x28a191);}});}};Ne=Oi([yi(0x0,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)]))],Ne);var Ni=Object[_0x1a7af1(0x26a)],Ui=Object['getOwnPropertyDescriptor'],Pi=(_0x561729,_0x583eca,_0x7030c2,_0xa03992)=>{var _0x5279bc=_0x1a7af1;for(var _0x356005=_0xa03992>0x1?void 0x0:_0xa03992?Ui(_0x583eca,_0x7030c2):_0x583eca,_0x44b598=_0x561729[_0x5279bc(0x3d2)]-0x1,_0x3973fb;_0x44b598>=0x0;_0x44b598--)(_0x3973fb=_0x561729[_0x44b598])&&(_0x356005=(_0xa03992?_0x3973fb(_0x583eca,_0x7030c2,_0x356005):_0x3973fb(_0x356005))||_0x356005);return _0xa03992&&_0x356005&&Ni(_0x583eca,_0x7030c2,_0x356005),_0x356005;},Me=(_0x2d2443,_0x4d9614)=>(_0x28b4be,_0x264a1f)=>_0x4d9614(_0x28b4be,_0x264a1f,_0x2d2443);exports[_0x1a7af1(0x1a6)]=class extends a['RxDisposable']{constructor(_0x40eedd,_0x520631,_0x4933a5){var _0x4e9c32=_0x1a7af1;super(),D(this,_0x4e9c32(0x2ce),new H[(_0x4e9c32(0x12c))](null)),D(this,'unitInfo$',this[_0x4e9c32(0x2ce)]['asObservable']()),(this['_logService']=_0x40eedd,this[_0x4e9c32(0x1bd)]=_0x520631,this[_0x4e9c32(0x29c)]=_0x4933a5);}async['loadUnit'](_0xae71da,_0x37650d,_0x11c1eb){var _0x243952=_0x1a7af1;this[_0x243952(0x2ce)]['next']({'unitId':_0xae71da,'type':_0x37650d,'subUnitId':_0x11c1eb});let _0x3eaa53=null;switch(_0x37650d){case Z[_0x243952(0x343)]:{_0x3eaa53=await this[_0x243952(0x17d)](_0xae71da);break;}case Z[_0x243952(0x311)]:{_0x3eaa53=await this['_loadDoc'](_0xae71da);break;}default:{this[_0x243952(0x446)][_0x243952(0x289)](_0x243952(0x1f3),_0x243952(0x21e));break;}}return _0x3eaa53;}async['_loadSheet'](_0x424af9){var _0x54e3d1=_0x1a7af1,_0x3377d4;let _0x39114b=0x0;const _0x222d04=await((_0x3377d4=this[_0x54e3d1(0x29c)])==null?void 0x0:_0x3377d4[_0x54e3d1(0x2e9)](_0x424af9));return _0x222d04&&(_0x222d04[_0x54e3d1(0x42e)]||_0x222d04[_0x54e3d1(0x42b)][_0x54e3d1(0x3d2)]!==0x0)&&(_0x39114b=_0x222d04['rev']),_0x39114b===0x0&&this[_0x54e3d1(0x446)][_0x54e3d1(0x3ff)](_0x54e3d1(0x1f3),_0x54e3d1(0x39b)),this[_0x54e3d1(0x1bd)][_0x54e3d1(0x3d7)](_0x424af9,_0x39114b);}async[_0x1a7af1(0x293)](_0x252012){var _0x594960=_0x1a7af1,_0x4fb612;let _0x1909b6=0x0;const _0x46165f=await((_0x4fb612=this[_0x594960(0x29c)])==null?void 0x0:_0x4fb612[_0x594960(0x2e9)](_0x252012));return _0x46165f&&(_0x46165f[_0x594960(0x42e)]||_0x46165f[_0x594960(0x42b)][_0x594960(0x3d2)]!==0x0)&&(_0x1909b6=_0x46165f[_0x594960(0x435)]),_0x1909b6===0x0&&this[_0x594960(0x446)][_0x594960(0x3ff)](_0x594960(0x1f3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x594960(0x1c2)](_0x252012,_0x1909b6);}},exports[_0x1a7af1(0x1a6)]=Pi([Me(0x0,a['ILogService']),Me(0x1,a['Inject'](m[_0x1a7af1(0x19e)])),Me(0x2,a[_0x1a7af1(0x314)](z))],exports[_0x1a7af1(0x1a6)]);var Di=Object['defineProperty'],wi=Object[_0x1a7af1(0x42c)],Ai=(_0x6e0ca6,_0x59446d,_0x48ce56,_0x23df4c)=>{var _0x1b72b5=_0x1a7af1;for(var _0x1bdd1b=_0x23df4c>0x1?void 0x0:_0x23df4c?wi(_0x59446d,_0x48ce56):_0x59446d,_0x5a7c21=_0x6e0ca6[_0x1b72b5(0x3d2)]-0x1,_0x3c4a19;_0x5a7c21>=0x0;_0x5a7c21--)(_0x3c4a19=_0x6e0ca6[_0x5a7c21])&&(_0x1bdd1b=(_0x23df4c?_0x3c4a19(_0x59446d,_0x48ce56,_0x1bdd1b):_0x3c4a19(_0x1bdd1b))||_0x1bdd1b);return _0x23df4c&&_0x1bdd1b&&Di(_0x59446d,_0x48ce56,_0x1bdd1b),_0x1bdd1b;},xe=(_0x110dda,_0x5a32ac)=>(_0x4533f0,_0x1a0560)=>_0x5a32ac(_0x4533f0,_0x1a0560,_0x110dda);const Li=[_0x1a7af1(0x29a),'image/jpeg',_0x1a7af1(0x4a1),_0x1a7af1(0x2c7),'image/bmp'],Mi=0x5*0x400*0x400,xi=_0x1a7af1(0x377),ji='/universer-api/stream/file/upload',$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x1a7af1(0x2e4);exports[_0x1a7af1(0x27d)]=class{constructor(_0x3ea0f3,_0x251874,_0x1dea0f){var _0x512785=_0x1a7af1;D(this,_0x512785(0x1fb),0x0),D(this,_0x512785(0x467),new H[(_0x512785(0x378))]()),D(this,'change$',this[_0x512785(0x467)]),D(this,_0x512785(0x46e),new Map()),(this[_0x512785(0x170)]=_0x3ea0f3,this[_0x512785(0x3ae)]=_0x251874,this[_0x512785(0x46d)]=_0x1dea0f);}[_0x1a7af1(0x336)](_0x41b517){var _0x4e26a6=_0x1a7af1;this['_waitCount']=_0x41b517,this[_0x4e26a6(0x467)][_0x4e26a6(0x167)](_0x41b517);}[_0x1a7af1(0x3fa)](_0x2b353c,_0x52abe7){var _0x55e541=_0x1a7af1;if(_0x52abe7===X[_0x55e541(0x33a)][_0x55e541(0x2c1)]){const _0x54df31=new Image();return _0x54df31['src']=_0x2b353c,_0x54df31;}return this[_0x55e541(0x46e)][_0x55e541(0x454)](_0x2b353c);}[_0x1a7af1(0x384)](_0x3e2e0d,_0x28b5e8,_0x189cb0){var _0x332b29=_0x1a7af1;_0x28b5e8===X['ImageSourceType'][_0x332b29(0x2c1)]||_0x189cb0==null||this[_0x332b29(0x46e)][_0x332b29(0x331)](_0x3e2e0d,_0x189cb0);}async[_0x1a7af1(0x37e)](_0x236cd2){var _0x1b1637=_0x1a7af1;try{const _0x32de66=this[_0x1b1637(0x315)](this[_0x1b1637(0x262)](),''+_0x236cd2),_0xf5a684=(await this[_0x1b1637(0x170)][_0x1b1637(0x454)](_0x32de66))[_0x1b1637(0x30f)];if(_0xf5a684[_0x1b1637(0x289)]&&_0xf5a684['error']['code']===Tt['OK']){const _0x5d9142=new URL(_0xf5a684[_0x1b1637(0x23c)],this[_0x1b1637(0x286)]())[_0x1b1637(0x41f)]();return Promise['resolve'](_0x5d9142);}return Promise[_0x1b1637(0x3b6)](_0xf5a684[_0x1b1637(0x289)]);}catch(_0x5012df){return Promise[_0x1b1637(0x3b6)](_0x5012df);}}async[_0x1a7af1(0x2ff)](_0x3c727f){var _0x2626b9=_0x1a7af1;let _0x59f12a='';if(!Li[_0x2626b9(0x280)](_0x3c727f[_0x2626b9(0x12e)]))return this[_0x2626b9(0x296)](),Promise[_0x2626b9(0x3b6)](new Error(X['ImageUploadStatusType'][_0x2626b9(0x16c)]));if(_0x3c727f[_0x2626b9(0x31a)]>Mi)return this['_decreaseWaiting'](),Promise[_0x2626b9(0x3b6)](new Error(X[_0x2626b9(0x139)]['ERROR_EXCEED_SIZE']));try{const _0xe3d2b5=new FormData();_0xe3d2b5[_0x2626b9(0x413)](_0x2626b9(0x26f),_0x3c727f);const _0x378c1c=this[_0x2626b9(0x46d)][_0x2626b9(0x2f9)](),_0x3e7cc0=_0x378c1c==null?void 0x0:_0x378c1c[_0x2626b9(0x3b2)]();if(!_0x3e7cc0)throw new Error('unitId\x20is\x20not\x20found');const _0x17e1bb=this[_0x2626b9(0x48d)]()+'?size='+_0x3c727f[_0x2626b9(0x31a)][_0x2626b9(0x41f)]()+_0x2626b9(0x375)+bt[_0x2626b9(0x3de)]+_0x2626b9(0x174)+encodeURIComponent(_0x3e7cc0),_0x3c4ff5=await(await fetch(_0x17e1bb,{'method':'POST','body':_0xe3d2b5}))['json']();if(typeof _0x3c4ff5[_0x2626b9(0x34c)]!=_0x2626b9(0x426))return this[_0x2626b9(0x296)](),Promise[_0x2626b9(0x3b6)](new Error(X[_0x2626b9(0x139)][_0x2626b9(0x13a)]));_0x59f12a=_0x3c4ff5['FileId'];}catch{return this[_0x2626b9(0x296)](),Promise['reject'](new Error(X[_0x2626b9(0x139)][_0x2626b9(0x13a)]));}return new Promise((_0x4b2a3d,_0x5a00b9)=>{var _0xa5e1ab=_0x2626b9;const _0x332fd7=new FileReader();_0x332fd7[_0xa5e1ab(0x12a)](_0x3c727f),_0x332fd7[_0xa5e1ab(0x2b4)]=_0x5b7fe4=>{var _0xd10aef=_0xa5e1ab,_0x22b1d7;const _0xd4b28c=(_0x22b1d7=_0x5b7fe4['target'])==null?void 0x0:_0x22b1d7[_0xd10aef(0x124)];if(_0xd4b28c==null){this[_0xd10aef(0x296)](),_0x5a00b9(new Error(X[_0xd10aef(0x139)][_0xd10aef(0x13a)]));return;}const _0xc822cb=a[_0xd10aef(0x1be)][_0xd10aef(0x40f)](0x6);_0x4b2a3d({'imageId':_0xc822cb,'imageSourceType':X[_0xd10aef(0x33a)][_0xd10aef(0x422)],'source':_0x59f12a,'base64Cache':_0xd4b28c,'status':X[_0xd10aef(0x139)][_0xd10aef(0x428)]}),this[_0xd10aef(0x296)]();};});}['_getUploadFileURL'](){var _0x2ea7f7=_0x1a7af1,_0x34095f,_0x16f3cc;const _0x59b42e=this[_0x2ea7f7(0x3ae)][_0x2ea7f7(0x213)](xi),_0x319a38=this['_configService'][_0x2ea7f7(0x213)](Y);return(_0x16f3cc=(_0x34095f=_0x319a38==null?void 0x0:_0x319a38[_0x2ea7f7(0x246)])!=null?_0x34095f:_0x59b42e)!=null?_0x16f3cc:ji;}[_0x1a7af1(0x262)](){var _0x5f2e4c=_0x1a7af1,_0x4371bb,_0x29ebec;const _0x47ccb4=this[_0x5f2e4c(0x3ae)][_0x5f2e4c(0x213)]($i),_0x300d18=this[_0x5f2e4c(0x3ae)][_0x5f2e4c(0x213)](Y);return(_0x29ebec=(_0x4371bb=_0x300d18==null?void 0x0:_0x300d18['signUrlServerUrl'])!=null?_0x4371bb:_0x47ccb4)!=null?_0x29ebec:Hi;}[_0x1a7af1(0x286)](){var _0x55de84=_0x1a7af1,_0x436a51;const _0x20eaa5=this[_0x55de84(0x3ae)]['getConfig'](Y);return(_0x436a51=_0x20eaa5==null?void 0x0:_0x20eaa5[_0x55de84(0x20e)])!=null?_0x436a51:location[_0x55de84(0x25a)];}[_0x1a7af1(0x315)](_0x27bc07,_0x31e64f){var _0x34c7b6=_0x1a7af1;return _0x27bc07[_0x34c7b6(0x230)](_0x34c7b6(0x3f0),_0x31e64f);}[_0x1a7af1(0x296)](){var _0x3cf7b0=_0x1a7af1;this[_0x3cf7b0(0x1fb)]-=0x1,this['_change$'][_0x3cf7b0(0x167)](this[_0x3cf7b0(0x1fb)]);}},exports[_0x1a7af1(0x27d)]=Ai([xe(0x0,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)])),xe(0x1,a[_0x1a7af1(0x40a)]),xe(0x2,a[_0x1a7af1(0x33f)](a['IUniverInstanceService']))],exports[_0x1a7af1(0x27d)]);var ki=Object[_0x1a7af1(0x26a)],Bi=Object[_0x1a7af1(0x42c)],Fi=(_0x35a2b9,_0x508e63,_0x5cd038,_0x3911f7)=>{var _0x4fc3bc=_0x1a7af1;for(var _0x42b1b3=_0x3911f7>0x1?void 0x0:_0x3911f7?Bi(_0x508e63,_0x5cd038):_0x508e63,_0x3144c7=_0x35a2b9[_0x4fc3bc(0x3d2)]-0x1,_0x5b0697;_0x3144c7>=0x0;_0x3144c7--)(_0x5b0697=_0x35a2b9[_0x3144c7])&&(_0x42b1b3=(_0x3911f7?_0x5b0697(_0x508e63,_0x5cd038,_0x42b1b3):_0x5b0697(_0x42b1b3))||_0x42b1b3);return _0x3911f7&&_0x42b1b3&&ki(_0x508e63,_0x5cd038,_0x42b1b3),_0x42b1b3;},_t=(_0x27dfa1,_0x372aaa)=>(_0x42ea51,_0x29dc8f)=>_0x372aaa(_0x42ea51,_0x29dc8f,_0x27dfa1);const Wi=_0x1a7af1(0x44c);exports[_0x1a7af1(0x476)]=class{constructor(_0x441d7d,_0x33952d){var _0x2783ce=_0x1a7af1;this[_0x2783ce(0x3ae)]=_0x441d7d,this['_HTTPService']=_0x33952d;}[_0x1a7af1(0x243)](){var _0x3b00d2=_0x1a7af1,_0x239a9f,_0xa9ac47;const _0x2cd117=this[_0x3b00d2(0x3ae)][_0x3b00d2(0x213)](Ve),_0x46e416=this[_0x3b00d2(0x3ae)][_0x3b00d2(0x213)](Y);return(_0xa9ac47=(_0x239a9f=_0x46e416==null?void 0x0:_0x46e416[_0x3b00d2(0x2e0)])!=null?_0x239a9f:_0x2cd117)!=null?_0xa9ac47:Wi;}async[_0x1a7af1(0x15c)](_0x5c1f15){var _0xc68623=_0x1a7af1;const _0x293e23=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0xc68623(0x1cc),'mentions':(await this['_HTTPService'][_0xc68623(0x454)](_0x293e23,{'params':{'objectID':_0x5c1f15['unitId'],'unitID':_0x5c1f15[_0xc68623(0x46c)]}}))[_0xc68623(0x30f)]['collaborators']['map'](_0x1a2a33=>({'objectId':_0x1a2a33['id'],'name':_0x1a2a33[_0xc68623(0x2aa)][_0xc68623(0x188)],'metadata':{'icon':_0x1a2a33['subject'][_0xc68623(0x131)]},'label':_0x1a2a33[_0xc68623(0x2aa)][_0xc68623(0x188)],'objectType':a[_0xc68623(0x134)][_0xc68623(0x23a)]})),'metadata':{},'type':a[_0xc68623(0x134)][_0xc68623(0x23a)]}]};}},exports['MentionIoHttpService']=Fi([_t(0x0,a['Inject'](a[_0x1a7af1(0x40a)])),_t(0x1,a[_0x1a7af1(0x33f)](q[_0x1a7af1(0x235)]))],exports[_0x1a7af1(0x476)]);var Gi=Object['defineProperty'],Vi=Object['getOwnPropertyDescriptor'],Ki=(_0x345fef,_0x46280d,_0x3f4770,_0x467630)=>{var _0x3f5fdd=_0x1a7af1;for(var _0x4e74b2=_0x467630>0x1?void 0x0:_0x467630?Vi(_0x46280d,_0x3f4770):_0x46280d,_0x5332e5=_0x345fef[_0x3f5fdd(0x3d2)]-0x1,_0x42710a;_0x5332e5>=0x0;_0x5332e5--)(_0x42710a=_0x345fef[_0x5332e5])&&(_0x4e74b2=(_0x467630?_0x42710a(_0x46280d,_0x3f4770,_0x4e74b2):_0x42710a(_0x4e74b2))||_0x4e74b2);return _0x467630&&_0x4e74b2&&Gi(_0x46280d,_0x3f4770,_0x4e74b2),_0x4e74b2;},ce=(_0x17d10e,_0x66970a)=>(_0xf6cd40,_0x58a422)=>_0x66970a(_0xf6cd40,_0x58a422,_0x17d10e);let Ue=class extends a['RxDisposable']{constructor(_0x3e9129,_0x1538df,_0x413541,_0x4b37d0,_0x4258f9,_0x1c5c24,_0x1350a9){var _0x19355f=_0x1a7af1;super(),this[_0x19355f(0x496)]=_0x3e9129,this['_univerInstanceService']=_0x1538df,this[_0x19355f(0x216)]=_0x413541,this[_0x19355f(0x1f6)]=_0x4b37d0,this[_0x19355f(0x17c)]=_0x4258f9,this[_0x19355f(0x392)]=_0x1c5c24,this[_0x19355f(0x1ea)]=_0x1350a9,this[_0x19355f(0x149)](),this[_0x19355f(0x3d0)]();}['_initCloseConn'](){var _0x552944=_0x1a7af1;const _0x1a7440=async _0x4c4ccc=>{var _0x3b36fd=_0x1265;(await this[_0x3b36fd(0x1f6)][_0x3b36fd(0x249)](_0x4c4ccc))[_0x3b36fd(0x313)][_0x3b36fd(0x3db)](W[_0x3b36fd(0x185)](_0x1b928b=>_0x1b928b[_0x3b36fd(0x419)]===m['CollaborationEvent'][_0x3b36fd(0x14f)]),W[_0x3b36fd(0x1e2)](this['dispose$']))[_0x3b36fd(0x447)](_0x8521c1=>{var _0x5b7327=_0x3b36fd;const _0x4247c5=_0x8521c1,{reason:_0x3e2398}=_0x4247c5[_0x5b7327(0x2d6)];this[_0x5b7327(0x17c)][_0x5b7327(0x187)]({'id':Q[_0x5b7327(0x3af)],'data':_0x3e2398}),this[_0x5b7327(0x216)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](_0x4c4ccc)['id'],!0x1),this[_0x5b7327(0x1f6)][_0x5b7327(0x3d6)](_0x4c4ccc);});};H[_0x552944(0x38a)](this[_0x552944(0x46d)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x552944(0x343)]),this[_0x552944(0x46d)][_0x552944(0x301)](a[_0x552944(0x1bf)]['UNIVER_DOC']))[_0x552944(0x3db)](W[_0x552944(0x2b0)](_0x227e40=>_0x227e40['getUnitId']()),W[_0x552944(0x185)](_0x8ea1e=>!a[_0x552944(0x15e)](_0x8ea1e)),W['takeUntil'](this[_0x552944(0x387)]))[_0x552944(0x447)](_0x21a3ab=>{_0x1a7440(_0x21a3ab);});}[_0x1a7af1(0x149)](){var _0x2c0a77=_0x1a7af1;const _0x3ceba8=async _0x16c70d=>{var _0xd3b915=_0x1265;const _0x2ec141=await this[_0xd3b915(0x1f6)][_0xd3b915(0x249)](_0x16c70d),_0x3b6c69=this['_injector'][_0xd3b915(0x454)](J['SheetPermissionInitController']);_0x2ec141[_0xd3b915(0x313)]['pipe'](W[_0xd3b915(0x185)](_0x35d2a4=>_0x35d2a4[_0xd3b915(0x419)]===m[_0xd3b915(0x1bb)][_0xd3b915(0x266)]),W[_0xd3b915(0x1e2)](this['dispose$']))[_0xd3b915(0x447)](_0x2b91ce=>{var _0x5d96d8=_0xd3b915;const _0x282ac4=_0x2b91ce,{objectId:_0x28c0a9}=_0x282ac4[_0x5d96d8(0x2d6)];_0x28c0a9===_0x16c70d?_0x3b6c69[_0x5d96d8(0x3da)](_0x16c70d):_0x3b6c69[_0x5d96d8(0x49e)](_0x16c70d,_0x28c0a9);});};H[_0x2c0a77(0x38a)](this[_0x2c0a77(0x46d)][_0x2c0a77(0x301)](a['UniverInstanceType'][_0x2c0a77(0x343)]),this[_0x2c0a77(0x46d)][_0x2c0a77(0x301)](a['UniverInstanceType'][_0x2c0a77(0x311)]))['pipe'](W[_0x2c0a77(0x2b0)](_0x3fce85=>_0x3fce85['getUnitId']()),W[_0x2c0a77(0x185)](_0x8eb482=>!a['isInternalEditorID'](_0x8eb482)),W[_0x2c0a77(0x1e2)](this[_0x2c0a77(0x387)]))[_0x2c0a77(0x447)](_0x3c39a0=>{_0x3ceba8(_0x3c39a0);});}};Ue=Ki([ce(0x0,a[_0x1a7af1(0x33f)](a[_0x1a7af1(0x3e7)])),ce(0x1,a[_0x1a7af1(0x2bb)]),ce(0x2,a[_0x1a7af1(0x2f3)]),ce(0x3,a['Inject'](exports['CollaborationSessionService'])),ce(0x4,a[_0x1a7af1(0x33f)](te)),ce(0x5,a[_0x1a7af1(0x1a8)]),ce(0x6,a[_0x1a7af1(0x333)])],Ue);var Yi=Object[_0x1a7af1(0x26a)],qi=Object[_0x1a7af1(0x42c)],zi=(_0x16e629,_0x6c6ab9,_0x4dece0,_0x3f41d7)=>{var _0x2185c6=_0x1a7af1;for(var _0x531de5=_0x3f41d7>0x1?void 0x0:_0x3f41d7?qi(_0x6c6ab9,_0x4dece0):_0x6c6ab9,_0x374e26=_0x16e629[_0x2185c6(0x3d2)]-0x1,_0x12b502;_0x374e26>=0x0;_0x374e26--)(_0x12b502=_0x16e629[_0x374e26])&&(_0x531de5=(_0x3f41d7?_0x12b502(_0x6c6ab9,_0x4dece0,_0x531de5):_0x12b502(_0x531de5))||_0x531de5);return _0x3f41d7&&_0x531de5&&Yi(_0x6c6ab9,_0x4dece0,_0x531de5),_0x531de5;},ut=(_0x4fa72d,_0x5d213a)=>(_0x11f947,_0x47554d)=>_0x5d213a(_0x11f947,_0x47554d,_0x4fa72d);exports['SnapshotServerOverHTTPService']=class{constructor(_0x49d022,_0x1821d3){this['_configService']=_0x49d022,this['_httpService']=_0x1821d3;}async[_0x1a7af1(0x402)](_0x5b3e1c,_0x2f8b04){var _0x13439d=_0x1a7af1,_0x5b60f4;const {unitID:_0x3b648e,type:_0x1ccc07,revision:_0x4fbd5a=0x0}=_0x2f8b04,_0x3305b6=this[_0x13439d(0x298)]()+'/'+_0x1ccc07+'/unit/'+_0x3b648e+_0x13439d(0x299)+_0x4fbd5a,_0x1f6030=(await this[_0x13439d(0x170)][_0x13439d(0x454)](_0x3305b6))['body'],_0x470fac=(_0x5b60f4=_0x1f6030['snapshot'])==null?void 0x0:_0x5b60f4[_0x13439d(0x355)];if(_0x470fac){const _0xf3a9e8=_0x470fac==null?void 0x0:_0x470fac[_0x13439d(0x33d)],_0x38f80a=m['textEncoder']['encode'](m[_0x13439d(0x281)](_0xf3a9e8));_0x470fac[_0x13439d(0x33d)]=_0x38f80a,Object[_0x13439d(0x2a9)](_0x470fac[_0x13439d(0x405)])[_0x13439d(0x1ec)](([,_0x264d37])=>{var _0x1a2a64=_0x13439d;const _0x1821f3=_0x264d37[_0x1a2a64(0x33d)],_0x240cbd=m[_0x1a2a64(0x1af)][_0x1a2a64(0x3f4)](m[_0x1a2a64(0x281)](_0x1821f3));_0x264d37['originalMeta']=_0x240cbd;});}return _0x1f6030;}async['getSheetBlock'](_0x268acb,_0x4adb68){var _0x5a43a7=_0x1a7af1;const {unitID:_0x5a12e6,type:_0x281820,blockID:_0x6a9943}=_0x4adb68,_0x36d91d=this[_0x5a43a7(0x1a4)]()+'/'+_0x281820+'/unit/'+_0x5a12e6+'/block/'+_0x6a9943;return(await this[_0x5a43a7(0x170)][_0x5a43a7(0x454)](_0x36d91d))[_0x5a43a7(0x30f)];}async[_0x1a7af1(0x2ed)](_0x1f9ff6,_0x5e6250){var _0x1b13f9=_0x1a7af1;const {unitID:_0x3b6d18,type:_0x4f67cd,blockID:_0x2982dc}=_0x5e6250,_0x14f197=this[_0x1b13f9(0x1a4)]()+'/block/'+_0x4f67cd+_0x1b13f9(0x15d)+_0x3b6d18+_0x1b13f9(0x184)+_0x2982dc;return(await this[_0x1b13f9(0x170)]['get'](_0x14f197))[_0x1b13f9(0x30f)];}async[_0x1a7af1(0x2e6)](_0x2c18d9,_0x49eb94){var _0x22b7c1=_0x1a7af1;const {unitID:_0x3b94bf,type:_0x37ed8d,from:_0x1a6469,to:_0x19cf4}=_0x49eb94,_0x578875=this[_0x22b7c1(0x1a4)]()+'/'+_0x37ed8d+_0x22b7c1(0x15d)+_0x3b94bf+_0x22b7c1(0x38e)+_0x1a6469+_0x22b7c1(0x1b8)+_0x19cf4;return(await this['_httpService'][_0x22b7c1(0x454)](_0x578875))[_0x22b7c1(0x30f)];}[_0x1a7af1(0x298)](){var _0x3a1d6b=_0x1a7af1,_0x1218e3;return(_0x1218e3=this[_0x3a1d6b(0x3ae)][_0x3a1d6b(0x213)](ft))!=null?_0x1218e3:this['_getAPIPrefix']();}[_0x1a7af1(0x1a4)](){var _0x30c222=_0x1a7af1,_0x5f43c4,_0x12d484;const _0x3e540f=this[_0x30c222(0x3ae)][_0x30c222(0x213)](vt),_0x3174cc=this['_configService']['getConfig'](Y);return(_0x12d484=(_0x5f43c4=_0x3174cc==null?void 0x0:_0x3174cc['snapshotServerUrl'])!=null?_0x5f43c4:_0x3e540f)!=null?_0x12d484:Ht;}async[_0x1a7af1(0x285)](_0x37627d,_0x140a1c){var _0x880c56=_0x1a7af1;const _0x52e6b3=_0x880c56(0x438)+_0x140a1c['type']+_0x880c56(0x15d)+_0x140a1c['unitID']+_0x880c56(0x1ff);return(await this[_0x880c56(0x170)][_0x880c56(0x454)](_0x52e6b3,{'params':{'resourceId':JSON[_0x880c56(0x192)](_0x140a1c[_0x880c56(0x1ba)])}}))[_0x880c56(0x30f)];}[_0x1a7af1(0x1f4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a7af1(0x492)](){var _0x1f498c=_0x1a7af1;throw new Error(_0x1f498c(0x3bc));}[_0x1a7af1(0x3bd)](){var _0x13bdee=_0x1a7af1;throw new Error(_0x13bdee(0x3bc));}['copyFileMeta'](){var _0x1f2c7a=_0x1a7af1;throw new Error(_0x1f2c7a(0x3bc));}[_0x1a7af1(0x348)](){var _0xcaf365=_0x1a7af1;throw new Error(_0xcaf365(0x3bc));}},exports[_0x1a7af1(0x178)]=zi([ut(0x0,a['IConfigService']),ut(0x1,a[_0x1a7af1(0x33f)](q['HTTPService']))],exports[_0x1a7af1(0x178)]);var Ji=Object[_0x1a7af1(0x26a)],Xi=Object[_0x1a7af1(0x42c)],Zi=(_0x9d11f,_0x572e2e,_0x3e1a3a,_0x1fa2ee)=>{var _0x2daea7=_0x1a7af1;for(var _0x3cf224=_0x1fa2ee>0x1?void 0x0:_0x1fa2ee?Xi(_0x572e2e,_0x3e1a3a):_0x572e2e,_0x58d167=_0x9d11f[_0x2daea7(0x3d2)]-0x1,_0x27c673;_0x58d167>=0x0;_0x58d167--)(_0x27c673=_0x9d11f[_0x58d167])&&(_0x3cf224=(_0x1fa2ee?_0x27c673(_0x572e2e,_0x3e1a3a,_0x3cf224):_0x27c673(_0x3cf224))||_0x3cf224);return _0x1fa2ee&&_0x3cf224&&Ji(_0x572e2e,_0x3e1a3a,_0x3cf224),_0x3cf224;},de=(_0x1a3fcb,_0x1851a1)=>(_0x164eba,_0x27c6ca)=>_0x1851a1(_0x164eba,_0x27c6ca,_0x1a3fcb);exports[_0x1a7af1(0x273)]=class extends a[_0x1a7af1(0x3c0)]{constructor(_0x2fda23,_0x5be07c,_0x15dbfd,_0x40321c,_0x4245e3){var _0x4b1a99=_0x1a7af1;super(_0x2fda23,_0x5be07c,_0x15dbfd),this[_0x4b1a99(0x260)]=_0x40321c,this[_0x4b1a99(0x446)]=_0x4245e3;}[_0x1a7af1(0x1c1)](_0x719336,_0xf3cd26){var _0x3db299=_0x1a7af1;const _0x3f4156=this['_getUndoStack'](_0x719336);if(_0x3f4156)try{const _0xed951c=this['_transformStack'](_0x3f4156,_0xf3cd26);this[_0x3db299(0x3cd)](_0x719336,_0xed951c);}catch(_0xccd391){this['_logService'][_0x3db299(0x289)](_0x3db299(0x2b5),_0xccd391),this[_0x3db299(0x484)](_0x719336);}const _0x144808=this['_getRedoStack'](_0x719336);if(_0x144808)try{const _0x48740e=this[_0x3db299(0x2b6)](_0x144808,_0xf3cd26);this['_substituteRedoStack'](_0x719336,_0x48740e);}catch(_0x4de38d){this[_0x3db299(0x446)][_0x3db299(0x289)](_0x4de38d),this[_0x3db299(0x42f)](_0x719336);}}[_0x1a7af1(0x484)](_0x45217e){var _0x572b7c=_0x1a7af1;const _0x37062c=this[_0x572b7c(0x2ac)](_0x45217e);_0x37062c&&(_0x37062c['length']=0x0,this['_updateStatus']());}[_0x1a7af1(0x42f)](_0x335b15){var _0x419987=_0x1a7af1;const _0x5a65c6=this[_0x419987(0x2bd)](_0x335b15);_0x5a65c6&&(_0x5a65c6[_0x419987(0x3d2)]=0x0,this[_0x419987(0x440)]());}[_0x1a7af1(0x3cd)](_0x5e6e6f,_0x2328fd){var _0x1a23fb=_0x1a7af1;this['_undoStacks'][_0x1a23fb(0x331)](_0x5e6e6f,_0x2328fd),this[_0x1a23fb(0x440)]();}[_0x1a7af1(0x300)](_0x1e4801,_0x519cf4){var _0x158d57=_0x1a7af1;this[_0x158d57(0x227)]['set'](_0x1e4801,_0x519cf4),this[_0x158d57(0x440)]();}[_0x1a7af1(0x2b6)](_0x27cf9c,_0x13b5d3){var _0x496f68=_0x1a7af1;const _0x1722e5=[];let _0x37a0d7=_0x13b5d3,_0x2095dc=_0x13b5d3;for(let _0x3e7627=_0x27cf9c['length']-0x1;_0x3e7627>=0x0;_0x3e7627--){const {unitID:_0x4b5883,undoMutations:_0x6fb866,redoMutations:_0x41fb8b}=_0x27cf9c[_0x3e7627],_0x42164c=this[_0x496f68(0x260)]['transformMutationsWithChangeset'](_0x37a0d7,_0x6fb866),_0x1856ad=this[_0x496f68(0x260)][_0x496f68(0x196)](_0x2095dc,_0x41fb8b);if(m[_0x496f68(0x493)](_0x42164c)||m[_0x496f68(0x493)](_0x1856ad)){this[_0x496f68(0x446)][_0x496f68(0x289)](_0x496f68(0x2b5),_0x496f68(0x222),_0x42164c,_0x1856ad);break;}_0x37a0d7=_0x42164c[_0x496f68(0x3ef)],_0x2095dc=_0x1856ad[_0x496f68(0x3ef)],_0x1722e5[_0x496f68(0x353)]({'unitID':_0x4b5883,'undoMutations':_0x42164c[_0x496f68(0x2d9)],'redoMutations':_0x1856ad[_0x496f68(0x2d9)]});}return _0x1722e5[_0x496f68(0x1a1)]();}},exports[_0x1a7af1(0x273)]=Zi([de(0x0,a['IUniverInstanceService']),de(0x1,a['ICommandService']),de(0x2,a[_0x1a7af1(0x252)]),de(0x3,m[_0x1a7af1(0x31d)]),de(0x4,a[_0x1a7af1(0x288)])],exports[_0x1a7af1(0x273)]);var Lt=Object[_0x1a7af1(0x26a)],Qi=Object[_0x1a7af1(0x42c)],er=(_0x3657ef,_0x4367f4,_0x2ad045)=>_0x4367f4 in _0x3657ef?Lt(_0x3657ef,_0x4367f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ad045}):_0x3657ef[_0x4367f4]=_0x2ad045,tr=(_0x1a9171,_0x1bbb35,_0x40aacd,_0x151504)=>{var _0x39281e=_0x1a7af1;for(var _0x13d703=_0x151504>0x1?void 0x0:_0x151504?Qi(_0x1bbb35,_0x40aacd):_0x1bbb35,_0x1751c2=_0x1a9171[_0x39281e(0x3d2)]-0x1,_0x276217;_0x1751c2>=0x0;_0x1751c2--)(_0x276217=_0x1a9171[_0x1751c2])&&(_0x13d703=(_0x151504?_0x276217(_0x1bbb35,_0x40aacd,_0x13d703):_0x276217(_0x13d703))||_0x13d703);return _0x151504&&_0x13d703&&Lt(_0x1bbb35,_0x40aacd,_0x13d703),_0x13d703;},je=(_0x2da713,_0x36dcea)=>(_0x170c2d,_0x554ca3)=>_0x36dcea(_0x170c2d,_0x554ca3,_0x2da713),nr=(_0x181aef,_0x27a16c,_0xac56d2)=>er(_0x181aef,_0x27a16c+'',_0xac56d2);const ir=_0x1a7af1(0x3e1);exports[_0x1a7af1(0x3be)]=class extends a[_0x1a7af1(0x335)]{constructor(_0x1aa1ae=Ke,_0x59a95c,_0x167dbb,_0x1b861c){var _0x5e84db=_0x1a7af1;super(),this['_config']=_0x1aa1ae,this['_logService']=_0x59a95c,this[_0x5e84db(0x496)]=_0x167dbb,this[_0x5e84db(0x3ae)]=_0x1b861c;const {..._0x55a5e1}=a['merge']({},Ke,this['_config']);this[_0x5e84db(0x3ae)]['setConfig'](Y,_0x55a5e1);}['onStarting'](){var _0x2ae3cf=_0x1a7af1;this[_0x2ae3cf(0x151)](),this[_0x2ae3cf(0x3a0)]();}[_0x1a7af1(0x151)](){var _0x1bf80f=_0x1a7af1,_0x23b76d,_0xc2abbe,_0x3f6e4a,_0x11570a;this[_0x1bf80f(0x496)][_0x1bf80f(0x3e6)](a[_0x1bf80f(0x333)])&&this[_0x1bf80f(0x446)][_0x1bf80f(0x289)](_0x1bf80f(0x37b),_0x1bf80f(0x46f));const _0x9bc5c=a[_0x1bf80f(0x137)]([[a[_0x1bf80f(0x333)],{'useClass':exports[_0x1bf80f(0x273)]}],[exports[_0x1bf80f(0x1d7)]],[exports[_0x1bf80f(0x48a)]],[exports[_0x1bf80f(0x3fb)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x1bf80f(0x1a6)]],[ke,{'useClass':(_0xc2abbe=(_0x23b76d=this[_0x1bf80f(0x341)])==null?void 0x0:_0x23b76d[_0x1bf80f(0x156)])!=null?_0xc2abbe:exports[_0x1bf80f(0x27e)]}],[m[_0x1bf80f(0x498)],{'useClass':exports[_0x1bf80f(0x178)]}],[a[_0x1bf80f(0x1a8)],{'useClass':exports['AuthzIoHttpService']}],[X[_0x1bf80f(0x46b)],{'useClass':exports[_0x1bf80f(0x27d)]}],[a['IMentionIOService'],{'useClass':exports[_0x1bf80f(0x476)]}],[exports[_0x1bf80f(0x471)]],[$e]],(_0x3f6e4a=this['_config'])==null?void 0x0:_0x3f6e4a['override']);if(!((_0x11570a=this[_0x1bf80f(0x341)])!=null&&_0x11570a[_0x1bf80f(0x29f)])){const _0x6cc5e7=_0x9bc5c[_0x1bf80f(0x16b)](([_0x136c79])=>_0x136c79===ve);_0x6cc5e7!==-0x1&&_0x9bc5c[_0x1bf80f(0x270)](_0x6cc5e7,0x1);}a[_0x1bf80f(0x220)](this['_injector'],_0x9bc5c);}[_0x1a7af1(0x3a0)](){var _0x5de2f5=_0x1a7af1,_0x26b4a2,_0x540f60,_0x182990;this[_0x5de2f5(0x496)][_0x5de2f5(0x454)](q[_0x5de2f5(0x235)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x26b4a2=this[_0x5de2f5(0x341)])!=null&&_0x26b4a2[_0x5de2f5(0x365)]||(_0x540f60=this[_0x5de2f5(0x496)][_0x5de2f5(0x454)](z,a[_0x5de2f5(0x31c)][_0x5de2f5(0x2bf)]))==null||_0x540f60[_0x5de2f5(0x1f7)](),(_0x182990=this[_0x5de2f5(0x341)])!=null&&_0x182990[_0x5de2f5(0x38f)]&&a[_0x5de2f5(0x460)](this[_0x5de2f5(0x496)],[[ye]]),a[_0x5de2f5(0x460)](this[_0x5de2f5(0x496)],[[Ne],[exports[_0x5de2f5(0x471)]],[Ue]]);}},nr(exports['UniverCollaborationClientPlugin'],_0x1a7af1(0x20f),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x1a7af1(0x482)](m[_0x1a7af1(0x38b)],J[_0x1a7af1(0x494)],q[_0x1a7af1(0x24d)]),je(0x1,a['ILogService']),je(0x2,a['Inject'](a[_0x1a7af1(0x3e7)])),je(0x3,a[_0x1a7af1(0x40a)])],exports[_0x1a7af1(0x3be)]),exports[_0x1a7af1(0x14b)]=Ve,exports[_0x1a7af1(0x130)]=Y,exports[_0x1a7af1(0x2ea)]=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x1a7af1(0x2b1)]=We,exports['CollaborationUIEventId']=Q,exports[_0x1a7af1(0x3c4)]=te,exports[_0x1a7af1(0x35b)]=Be,exports[_0x1a7af1(0x1d6)]=pt,exports[_0x1a7af1(0x2cb)]=Xt,exports[_0x1a7af1(0x373)]=mt,exports[_0x1a7af1(0x49d)]=He,exports['ICollaborationSocketService']=ke,exports[_0x1a7af1(0x3ee)]=z,exports['INetworkConditionService']=Rt,exports[_0x1a7af1(0x3cc)]=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x1a7af1(0x1f9)]=Kt,exports[_0x1a7af1(0x1b1)]=Ct,exports[_0x1a7af1(0x2ef)]=Jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports[_0x1a7af1(0x483)]=kt,exports[_0x1a7af1(0x2d3)]=vt,exports[_0x1a7af1(0x4a3)]=ft,exports[_0x1a7af1(0x2d4)]=se,exports[_0x1a7af1(0x30d)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x1a7af1(0x47e)]=In,exports[_0x1a7af1(0x421)]=yt;
1
+ 'use strict';var _0x5c4b2d=_0x1ccf;(function(_0x15af3c,_0x232f70){var _0x1d1f27=_0x1ccf,_0x2b20df=_0x15af3c();while(!![]){try{var _0x3bd56e=parseInt(_0x1d1f27(0x250))/0x1*(parseInt(_0x1d1f27(0x345))/0x2)+parseInt(_0x1d1f27(0x42b))/0x3+parseInt(_0x1d1f27(0x238))/0x4*(-parseInt(_0x1d1f27(0x251))/0x5)+parseInt(_0x1d1f27(0x4ae))/0x6+parseInt(_0x1d1f27(0x42e))/0x7*(-parseInt(_0x1d1f27(0x200))/0x8)+-parseInt(_0x1d1f27(0x3c8))/0x9*(-parseInt(_0x1d1f27(0x43d))/0xa)+-parseInt(_0x1d1f27(0x486))/0xb;if(_0x3bd56e===_0x232f70)break;else _0x2b20df['push'](_0x2b20df['shift']());}catch(_0x3075f5){_0x2b20df['push'](_0x2b20df['shift']());}}}(_0x4d50,0xb3686));var Mt=Object['defineProperty'],xt=(_0x47b1b9,_0x181ef3,_0x34ad4d)=>_0x181ef3 in _0x47b1b9?Mt(_0x47b1b9,_0x181ef3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34ad4d}):_0x47b1b9[_0x181ef3]=_0x34ad4d,D=(_0x42644b,_0x5b6d2f,_0x207bbe)=>xt(_0x42644b,typeof _0x5b6d2f!=_0x5c4b2d(0x26f)?_0x5b6d2f+'':_0x5b6d2f,_0x207bbe);Object[_0x5c4b2d(0x1d2)](exports,Symbol[_0x5c4b2d(0x532)],{'value':_0x5c4b2d(0x4b1)});const a=require(_0x5c4b2d(0x2c9)),H=require(_0x5c4b2d(0x469)),W=require('rxjs/operators'),q=require('@univerjs/network'),m=require('@univerjs-pro/collaboration'),jt=require(_0x5c4b2d(0x510)),dt=require(_0x5c4b2d(0x1d4)),J=require(_0x5c4b2d(0x1cb)),X=require(_0x5c4b2d(0x29c)),$t=require(_0x5c4b2d(0x223)),vt=_0x5c4b2d(0x3e1),Ht=_0x5c4b2d(0x398),ft=_0x5c4b2d(0x483),kt=_0x5c4b2d(0x466),Bt=0x7d0,St=_0x5c4b2d(0x404),pt=_0x5c4b2d(0x203),Ft=_0x5c4b2d(0x240),mt=_0x5c4b2d(0x1cc),Wt=0x7530,He='HEARTBEAT_TIMEOUT',gt=0x4e20,Gt=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x5c4b2d(0x35d),qt=_0x5c4b2d(0x50c),Ct=_0x5c4b2d(0x23c),zt=_0x5c4b2d(0x340),Jt=_0x5c4b2d(0x327),Xt='/universer-api/uniscript';var Tt=(_0x5860e0=>(_0x5860e0[_0x5860e0[_0x5c4b2d(0x350)]=0x0]='UNDEFINED',_0x5860e0[_0x5860e0['OK']=0x1]='OK',_0x5860e0[_0x5860e0[_0x5c4b2d(0x4ed)]=0x2]=_0x5c4b2d(0x4ed),_0x5860e0[_0x5860e0[_0x5c4b2d(0x3bb)]=0x3]=_0x5c4b2d(0x3bb),_0x5860e0[_0x5860e0[_0x5c4b2d(0x329)]=0x4]='NOT_FOUND',_0x5860e0[_0x5860e0['UNAUTHENTICATED']=0x5]=_0x5c4b2d(0x23b),_0x5860e0[_0x5860e0['ALREADY_EXISTS']=0x6]=_0x5c4b2d(0x1af),_0x5860e0[_0x5860e0[_0x5c4b2d(0x1ce)]=0x7]=_0x5c4b2d(0x1ce),_0x5860e0[_0x5860e0[_0x5c4b2d(0x3a2)]=0x8]=_0x5c4b2d(0x3a2),_0x5860e0[_0x5860e0[_0x5c4b2d(0x2ee)]=0x9]='COMPLETION_FINISHED',_0x5860e0[_0x5860e0[_0x5c4b2d(0x51b)]=0x1389]=_0x5c4b2d(0x51b),_0x5860e0[_0x5860e0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5860e0[_0x5860e0[_0x5c4b2d(0x3b6)]=0x1772]=_0x5c4b2d(0x3b6),_0x5860e0[_0x5860e0[_0x5c4b2d(0x414)]=0x1773]=_0x5c4b2d(0x414),_0x5860e0[_0x5860e0['APPLY_REJECT']=0x1b59]=_0x5c4b2d(0x280),_0x5860e0[_0x5860e0[_0x5c4b2d(0x326)]=0x1b5a]=_0x5c4b2d(0x326),_0x5860e0[_0x5860e0[_0x5c4b2d(0x28e)]=0x1b5b]=_0x5c4b2d(0x28e),_0x5860e0[_0x5860e0[_0x5c4b2d(0x394)]=0x1b5c]=_0x5c4b2d(0x394),_0x5860e0[_0x5860e0[_0x5c4b2d(0x3cc)]=0x1b5d]=_0x5c4b2d(0x3cc),_0x5860e0[_0x5860e0[_0x5c4b2d(0x39d)]=0x1f41]=_0x5c4b2d(0x39d),_0x5860e0[_0x5860e0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5c4b2d(0x489),_0x5860e0[_0x5860e0[_0x5c4b2d(0x293)]=0x232a]=_0x5c4b2d(0x293),_0x5860e0[_0x5860e0[_0x5c4b2d(0x45a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5860e0[_0x5860e0[_0x5c4b2d(0x39c)]=0x232c]=_0x5c4b2d(0x39c),_0x5860e0[_0x5860e0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5c4b2d(0x502),_0x5860e0[_0x5860e0[_0x5c4b2d(0x353)]=0x2711]=_0x5c4b2d(0x353),_0x5860e0[_0x5860e0[_0x5c4b2d(0x4ce)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5860e0[_0x5860e0[_0x5c4b2d(0x209)]=0x2713]=_0x5c4b2d(0x209),_0x5860e0[_0x5860e0[_0x5c4b2d(0x270)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5860e0[_0x5860e0[_0x5c4b2d(0x4ab)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5860e0[_0x5860e0['UNRECOGNIZED']=-0x1]=_0x5c4b2d(0x474),_0x5860e0))(Tt||{}),Z=(_0xac2cf6=>(_0xac2cf6[_0xac2cf6['UNIVER_UNKNOWN']=0x0]=_0x5c4b2d(0x30d),_0xac2cf6[_0xac2cf6[_0x5c4b2d(0x52e)]=0x1]='UNIVER_DOC',_0xac2cf6[_0xac2cf6[_0x5c4b2d(0x441)]=0x2]=_0x5c4b2d(0x441),_0xac2cf6[_0xac2cf6[_0x5c4b2d(0x356)]=0x3]=_0x5c4b2d(0x356),_0xac2cf6[_0xac2cf6[_0x5c4b2d(0x3fe)]=0x4]=_0x5c4b2d(0x3fe),_0xac2cf6[_0xac2cf6['UNRECOGNIZED']=-0x1]=_0x5c4b2d(0x474),_0xac2cf6))(Z||{}),G=(_0x45c734=>(_0x45c734[_0x45c734[_0x5c4b2d(0x2b5)]=0x0]=_0x5c4b2d(0x2b5),_0x45c734[_0x45c734[_0x5c4b2d(0x413)]=0x1]='HELLO',_0x45c734[_0x45c734[_0x5c4b2d(0x1b2)]=0x2]=_0x5c4b2d(0x1b2),_0x45c734[_0x45c734[_0x5c4b2d(0x34c)]=0x3]=_0x5c4b2d(0x34c),_0x45c734[_0x45c734[_0x5c4b2d(0x3b9)]=0x4]=_0x5c4b2d(0x3b9),_0x45c734[_0x45c734[_0x5c4b2d(0x3d8)]=0x5]=_0x5c4b2d(0x3d8),_0x45c734[_0x45c734['RECV']=0x6]=_0x5c4b2d(0x495),_0x45c734[_0x45c734['UNRECOGNIZED']=-0x1]=_0x5c4b2d(0x474),_0x45c734))(G||{}),he=(_0x33a44b=>(_0x33a44b[_0x33a44b[_0x5c4b2d(0x30c)]=0x0]='UNKNOWN_CODE',_0x33a44b[_0x33a44b['OK']=0x1]='OK',_0x33a44b[_0x33a44b[_0x5c4b2d(0x3e5)]=0x2]=_0x5c4b2d(0x3e5),_0x33a44b[_0x33a44b[_0x5c4b2d(0x1a9)]=0x3e9]=_0x5c4b2d(0x1a9),_0x33a44b[_0x33a44b[_0x5c4b2d(0x37a)]=0x3ea]=_0x5c4b2d(0x37a),_0x33a44b[_0x33a44b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x5c4b2d(0x47f),_0x33a44b[_0x33a44b[_0x5c4b2d(0x44f)]=0x3ec]=_0x5c4b2d(0x44f),_0x33a44b[_0x33a44b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x33a44b))(he||{}),bt=(_0x1f2f87=>(_0x1f2f87[_0x1f2f87[_0x5c4b2d(0x3e9)]=0x0]='Undefined',_0x1f2f87[_0x1f2f87['HttpImport']=0x1]=_0x5c4b2d(0x3ab),_0x1f2f87[_0x1f2f87['HttpExport']=0x2]=_0x5c4b2d(0x409),_0x1f2f87[_0x1f2f87[_0x5c4b2d(0x1fd)]=0x3]=_0x5c4b2d(0x1fd),_0x1f2f87[_0x1f2f87['UnitSnapshot']=0x4]=_0x5c4b2d(0x4b9),_0x1f2f87[_0x1f2f87[_0x5c4b2d(0x474)]=-0x1]='UNRECOGNIZED',_0x1f2f87))(bt||{});const Y=_0x5c4b2d(0x217),Ke={};var Q=(_0x528444=>(_0x528444[_0x5c4b2d(0x206)]='OTHER_CLIENT_EDITING',_0x528444[_0x5c4b2d(0x3bb)]=_0x5c4b2d(0x3bb),_0x528444[_0x5c4b2d(0x4fb)]=_0x5c4b2d(0x4fb),_0x528444[_0x5c4b2d(0x271)]=_0x5c4b2d(0x271),_0x528444[_0x5c4b2d(0x33d)]=_0x5c4b2d(0x33d),_0x528444[_0x5c4b2d(0x52c)]=_0x5c4b2d(0x52c),_0x528444[_0x5c4b2d(0x4f5)]=_0x5c4b2d(0x4f5),_0x528444[_0x5c4b2d(0x2bf)]=_0x5c4b2d(0x2bf),_0x528444))(Q||{});class te{constructor(){var _0x457238=_0x5c4b2d;D(this,'_event$',new H[(_0x457238(0x3d4))]()),D(this,_0x457238(0x503),this[_0x457238(0x1ca)][_0x457238(0x259)]());}['emitEvent'](_0x1ddd6d){var _0x2a5175=_0x5c4b2d;this[_0x2a5175(0x1ca)]['next'](_0x1ddd6d);}}const Rt=a['createIdentifier'](_0x5c4b2d(0x491));function Ot(_0x358311){var _0xb0957b=_0x5c4b2d,_0x8e133b,_0x47b76b,_0xd1c415,_0x1c177a,_0x4afd98;const _0x29f3c9=_0x358311[_0xb0957b(0x3e3)],_0x19bbde=JSON[_0xb0957b(0x52a)](_0x29f3c9);switch(_0x19bbde['cmd']){case G[_0xb0957b(0x3d8)]:case G[_0xb0957b(0x413)]:{const _0x1e70b9=_0x19bbde[_0xb0957b(0x389)];return{..._0x19bbde,'data':_0x1e70b9,'cmd':_0x19bbde[_0xb0957b(0x453)]};}case G[_0xb0957b(0x1b2)]:{const _0x2cacd6=_0x19bbde[_0xb0957b(0x426)];return{..._0x19bbde,'data':_0x2cacd6,'cmd':_0x19bbde[_0xb0957b(0x453)]};}case G[_0xb0957b(0x495)]:{const _0x1c8a78=_0x19bbde[_0xb0957b(0x4bc)];switch(_0x1c8a78[_0xb0957b(0x342)]){case m[_0xb0957b(0x2a5)]['PERMISSION_REJ']:return{..._0x19bbde,'data':{..._0x1c8a78,'data':(_0x8e133b=_0x1c8a78[_0xb0957b(0x2df)])==null?void 0x0:_0x8e133b['cs']},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x455)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':(_0x47b76b=_0x1c8a78['csAckEvent'])==null?void 0x0:_0x47b76b['cs']},'cmd':_0x19bbde['cmd']};case m[_0xb0957b(0x2a5)][_0xb0957b(0x290)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':(_0xd1c415=_0x1c8a78[_0xb0957b(0x285)])==null?void 0x0:_0xd1c415['cs']},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x303)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':(_0x1c177a=_0x1c8a78['csRejEvent'])==null?void 0x0:_0x1c177a['cs']},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m['CollaborationEvent'][_0xb0957b(0x47d)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':(_0x4afd98=_0x1c8a78[_0xb0957b(0x232)])==null?void 0x0:_0x4afd98['cs']},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x4b3)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78['updateCursorEvent']},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x49e)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78['joinEvent']},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x2e8)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x405)]},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x25f)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x485)]},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x48a)]:case m[_0xb0957b(0x2a5)][_0xb0957b(0x1c8)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x3ae)]},'cmd':_0x19bbde['cmd']};case m[_0xb0957b(0x2a5)][_0xb0957b(0x31a)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x485)]},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x38e)]:return{..._0x19bbde,'data':_0x1c8a78,'cmd':_0x19bbde[_0xb0957b(0x453)]};case m['CollaborationEvent'][_0xb0957b(0x504)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x4f4)]},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x3b7)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x32c)]},'cmd':_0x19bbde['cmd']};case m['CollaborationEvent'][_0xb0957b(0x33b)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x35c)]},'cmd':_0x19bbde[_0xb0957b(0x453)]};case m[_0xb0957b(0x2a5)][_0xb0957b(0x52b)]:return{..._0x19bbde,'data':{..._0x1c8a78,'data':_0x1c8a78[_0xb0957b(0x417)]},'cmd':_0x19bbde[_0xb0957b(0x453)]};default:return _0x19bbde;}}default:return _0x19bbde;}}function yt(_0x5e8d3e){var _0x1e8805=_0x5c4b2d;switch(_0x5e8d3e['cmd']){case G[_0x1e8805(0x3d8)]:case G[_0x1e8805(0x413)]:return JSON['stringify']({'cmd':_0x5e8d3e[_0x1e8805(0x453)],'routeKey':_0x5e8d3e[_0x1e8805(0x336)]});case G[_0x1e8805(0x3b9)]:{let _0x2454ed;switch(_0x5e8d3e[_0x1e8805(0x3e3)][_0x1e8805(0x342)]){case m[_0x1e8805(0x2a5)][_0x1e8805(0x4b3)]:{_0x2454ed={'eventID':m['CollaborationEvent'][_0x1e8805(0x4b3)],'updateCursorEvent':_0x5e8d3e['data'][_0x1e8805(0x3e3)]};break;}case m['CollaborationEvent']['USERS_LEAVE']:{_0x2454ed={'eventID':m['CollaborationEvent'][_0x1e8805(0x2e8)],'leaveEvent':_0x5e8d3e[_0x1e8805(0x3e3)][_0x1e8805(0x3e3)]};break;}case m['CollaborationEvent'][_0x1e8805(0x49e)]:{_0x2454ed={'eventID':m[_0x1e8805(0x2a5)][_0x1e8805(0x49e)],'joinEvent':_0x5e8d3e['data'][_0x1e8805(0x3e3)]};break;}case m[_0x1e8805(0x2a5)][_0x1e8805(0x25f)]:{_0x2454ed={'eventID':m[_0x1e8805(0x2a5)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5e8d3e['data'][_0x1e8805(0x3e3)]};break;}case m[_0x1e8805(0x2a5)]['LIVESHARE_OPERATION']:{_0x2454ed={'eventID':m[_0x1e8805(0x2a5)][_0x1e8805(0x1c8)],'liveShareOperation':_0x5e8d3e[_0x1e8805(0x3e3)][_0x1e8805(0x3e3)]};break;}case m[_0x1e8805(0x2a5)]['LIVESHARE_TERMINATE']:{_0x2454ed={'eventID':m[_0x1e8805(0x2a5)][_0x1e8805(0x31a)],'liveShareTerminate':_0x5e8d3e['data'][_0x1e8805(0x3e3)]};break;}case m[_0x1e8805(0x2a5)][_0x1e8805(0x213)]:{_0x2454ed={'eventID':m['CollaborationEvent'][_0x1e8805(0x213)],'liveShareRequestHost':_0x5e8d3e[_0x1e8805(0x3e3)][_0x1e8805(0x3e3)]};break;}case m[_0x1e8805(0x2a5)][_0x1e8805(0x48a)]:{_0x2454ed={'eventID':m['CollaborationEvent'][_0x1e8805(0x48a)]};break;}default:_0x2454ed={'eventID':_0x5e8d3e['data'][_0x1e8805(0x342)]};}return JSON[_0x1e8805(0x49c)]({'cmd':_0x5e8d3e['cmd'],'routeKey':_0x5e8d3e[_0x1e8805(0x336)],'collaMsg':_0x2454ed});}case G['JOIN']:return JSON['stringify']({'cmd':_0x5e8d3e[_0x1e8805(0x453)],'routeKey':_0x5e8d3e[_0x1e8805(0x336)],'joinReq':_0x5e8d3e[_0x1e8805(0x3e3)]});case G[_0x1e8805(0x34c)]:return JSON[_0x1e8805(0x49c)]({'cmd':_0x5e8d3e[_0x1e8805(0x453)],'routeKey':_0x5e8d3e['routeKey'],'leaveReq':_0x5e8d3e[_0x1e8805(0x3e3)]});default:throw new Error(_0x1e8805(0x3ce));}}var Zt=Object[_0x5c4b2d(0x1d2)],Qt=Object[_0x5c4b2d(0x458)],en=(_0x297cec,_0xf7aef3,_0x556fd3,_0x5ac991)=>{for(var _0x51ea90=_0x5ac991>0x1?void 0x0:_0x5ac991?Qt(_0xf7aef3,_0x556fd3):_0xf7aef3,_0x43a2b1=_0x297cec['length']-0x1,_0x20d8d9;_0x43a2b1>=0x0;_0x43a2b1--)(_0x20d8d9=_0x297cec[_0x43a2b1])&&(_0x51ea90=(_0x5ac991?_0x20d8d9(_0xf7aef3,_0x556fd3,_0x51ea90):_0x20d8d9(_0x51ea90))||_0x51ea90);return _0x5ac991&&_0x51ea90&&Zt(_0xf7aef3,_0x556fd3,_0x51ea90),_0x51ea90;},ue=(_0x58d0d5,_0x4ebd92)=>(_0x7468e9,_0x46deba)=>_0x4ebd92(_0x7468e9,_0x46deba,_0x58d0d5);const ke=a[_0x5c4b2d(0x526)](_0x5c4b2d(0x4e4));function tn(_0x251e1f,_0x2e656c,_0x158f91){var _0x20a85d=_0x5c4b2d;return _0x251e1f+'/'+_0x2e656c+_0x20a85d(0x21a)+_0x158f91+_0x20a85d(0x1ae);}exports[_0x5c4b2d(0x3a9)]=class extends a[_0x5c4b2d(0x3d9)]{constructor(_0xd2f836,_0x1e9202,_0x3aef17,_0x25e6ba,_0x511d25){var _0x5830fc=_0x5c4b2d;super(),this[_0x5830fc(0x411)]=_0xd2f836,this[_0x5830fc(0x3e2)]=_0x1e9202,this[_0x5830fc(0x221)]=_0x3aef17,this['_logService']=_0x25e6ba,this[_0x5830fc(0x416)]=_0x511d25;}[_0x5c4b2d(0x3f0)](_0x6db6e6){var _0x430306=_0x5c4b2d;const _0x131bc1=this[_0x430306(0x411)][_0x430306(0x361)](q['ISocketService']);if(!_0x131bc1)throw new Error(_0x430306(0x3db));const _0x31cad6=_0x131bc1[_0x430306(0x3f0)](_0x6db6e6);if(!_0x31cad6)throw new Error(_0x430306(0x1ba));const _0x3ac02f=new a['DisposableCollection'](),_0xb5d759=new H[(_0x430306(0x3d4))]();_0x3ac02f[_0x430306(0x366)](_0x31cad6[_0x430306(0x323)][_0x430306(0x3e6)](_0x5441f5=>_0xb5d759[_0x430306(0x314)](_0x5441f5))),_0x3ac02f[_0x430306(0x366)](a[_0x430306(0x385)](()=>_0xb5d759[_0x430306(0x395)]()));const _0x41313f=new H[(_0x430306(0x3d4))]();_0x3ac02f[_0x430306(0x366)](_0x31cad6[_0x430306(0x304)][_0x430306(0x3e6)](_0x4e5058=>_0x41313f[_0x430306(0x314)](_0x4e5058))),_0x3ac02f[_0x430306(0x366)](a[_0x430306(0x385)](()=>_0x41313f['complete']()));const _0x93a708=new H['Subject']();_0x3ac02f[_0x430306(0x366)](_0x31cad6[_0x430306(0x202)][_0x430306(0x3e6)](_0x36f88c=>{var _0x4c3ff0=_0x430306;const _0x53446e=Ot(_0x36f88c);_0x93a708[_0x4c3ff0(0x314)](_0x53446e);})),_0x3ac02f[_0x430306(0x366)](a[_0x430306(0x385)](()=>_0x93a708['complete']()));let _0x2ad7e7;const _0x950201=()=>{var _0x431f43=_0x430306;_0x41313f[_0x431f43(0x314)](new Event(_0x431f43(0x2cb))),_0xb5d759[_0x431f43(0x314)](new CloseEvent('connection\x20error')),_0x2ad7e7[_0x431f43(0x48d)]();};return _0x2ad7e7={'memberID':'','close$':_0xb5d759[_0x430306(0x259)](),'error$':_0x41313f[_0x430306(0x259)](),'open$':_0x31cad6[_0x430306(0x38a)],'message$':_0x93a708[_0x430306(0x259)](),'send':_0x13466c=>{var _0x4e3536=_0x430306;if(_0x13466c[_0x4e3536(0x453)]===G[_0x4e3536(0x3b9)]){if(_0x13466c[_0x4e3536(0x3e3)][_0x4e3536(0x342)]===m[_0x4e3536(0x2a5)][_0x4e3536(0x367)]){this[_0x4e3536(0x45e)](_0x2ad7e7,_0x13466c[_0x4e3536(0x3e3)])[_0x4e3536(0x1b9)](_0x3587b5=>{var _0x37e69b=_0x4e3536;this[_0x37e69b(0x4bd)][_0x37e69b(0x46c)](_0x3587b5),_0x950201();});return;}if(_0x13466c[_0x4e3536(0x3e3)][_0x4e3536(0x342)]===m[_0x4e3536(0x2a5)][_0x4e3536(0x3b3)]){const _0x2fdcc8=_0x13466c[_0x4e3536(0x3e3)];this['_fetchMissChangesets'](_0x2fdcc8)[_0x4e3536(0x218)](_0xd72154=>{var _0x11bee0=_0x4e3536;_0x93a708[_0x11bee0(0x314)]({'cmd':G[_0x11bee0(0x495)],'code':he['OK'],'routeKey':_0x2fdcc8['data'][_0x11bee0(0x1a8)],'routeType':'','data':{'eventID':m[_0x11bee0(0x2a5)][_0x11bee0(0x4b7)],'data':{'changesets':_0xd72154}}});})[_0x4e3536(0x1b9)](_0x5815bb=>{var _0xa0cd8c=_0x4e3536;this['_logService'][_0xa0cd8c(0x46c)](_0x5815bb),_0x950201();});return;}}_0x31cad6[_0x4e3536(0x443)](yt(_0x13466c));},'close':()=>{var _0x5c09a6=_0x430306;_0x31cad6[_0x5c09a6(0x48d)](),_0x3ac02f[_0x5c09a6(0x3c1)]();}},_0x2ad7e7;}async[_0x5c4b2d(0x45e)](_0x2f7ca8,_0x11bd18){var _0x10a2f9=_0x5c4b2d,_0xccc9c4,_0x308d48;const {unitType:_0x4fe493,unitID:_0x4345fd,changeset:_0x445e00}=_0x11bd18[_0x10a2f9(0x3e3)],_0x35e949={'unitID':_0x4345fd,'memberID':_0x2f7ca8[_0x10a2f9(0x382)],'type':_0x4fe493,'changeset':m[_0x10a2f9(0x316)](_0x445e00)},_0x36912e=this[_0x10a2f9(0x221)][_0x10a2f9(0x477)](Et),_0x2e67ce=this[_0x10a2f9(0x221)]['getConfig'](Y),_0x3a359c=tn((_0x308d48=(_0xccc9c4=_0x2e67ce==null?void 0x0:_0x2e67ce['collabSubmitChangesetUrl'])!=null?_0xccc9c4:_0x36912e)!=null?_0x308d48:qt,_0x4fe493,_0x4345fd);try{await this['_http']['post'](_0x3a359c,{'body':_0x35e949});}catch(_0x59112a){throw this[_0x10a2f9(0x4bd)][_0x10a2f9(0x46c)](_0x10a2f9(0x1aa),_0x10a2f9(0x3c5)),_0x59112a;}}async[_0x5c4b2d(0x1d3)](_0x4bceca){var _0x25a448=_0x5c4b2d;const {unitID:_0x13927f,from:_0x4d5f42,to:_0x37da79,unitType:_0x18f710}=_0x4bceca[_0x25a448(0x3e3)];return(await this[_0x25a448(0x416)][_0x25a448(0x1ad)]({'metadata':void 0x0},{'unitID':_0x13927f,'type':_0x18f710,'from':_0x4d5f42,'to':_0x37da79}))[_0x25a448(0x4c9)];}},exports[_0x5c4b2d(0x3a9)]=en([ue(0x0,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),ue(0x1,a[_0x5c4b2d(0x241)](q['HTTPService'])),ue(0x2,a[_0x5c4b2d(0x3c6)]),ue(0x3,a[_0x5c4b2d(0x425)]),ue(0x4,m[_0x5c4b2d(0x4c4)])],exports[_0x5c4b2d(0x3a9)]);const nn=_0x5c4b2d(0x249);function rn(_0x175bcc){var _0x59d530=_0x5c4b2d;return JSON[_0x59d530(0x49c)](_0x175bcc)[_0x59d530(0x22b)];}class Be{constructor(){var _0x203016=_0x5c4b2d;D(this,_0x203016(0x354),new H[(_0x203016(0x3d4))]()),D(this,'commentUpdate$',this[_0x203016(0x354)][_0x203016(0x259)]());}[_0x5c4b2d(0x1c4)](_0x34448b){var _0x212309=_0x5c4b2d;this[_0x212309(0x354)][_0x212309(0x314)](_0x34448b);}}var sn=Object[_0x5c4b2d(0x1d2)],on=Object[_0x5c4b2d(0x458)],an=(_0xd3ec16,_0x5f306d,_0x43cb7e,_0x507fe0)=>{var _0x1aa624=_0x5c4b2d;for(var _0x2df3d3=_0x507fe0>0x1?void 0x0:_0x507fe0?on(_0x5f306d,_0x43cb7e):_0x5f306d,_0x4c5b29=_0xd3ec16[_0x1aa624(0x22b)]-0x1,_0x2619e1;_0x4c5b29>=0x0;_0x4c5b29--)(_0x2619e1=_0xd3ec16[_0x4c5b29])&&(_0x2df3d3=(_0x507fe0?_0x2619e1(_0x5f306d,_0x43cb7e,_0x2df3d3):_0x2619e1(_0x2df3d3))||_0x2df3d3);return _0x507fe0&&_0x2df3d3&&sn(_0x5f306d,_0x43cb7e,_0x2df3d3),_0x2df3d3;},Ye=(_0x41022e,_0x474da5)=>(_0x47d58e,_0x2a9b14)=>_0x474da5(_0x47d58e,_0x2a9b14,_0x41022e);exports['MemberService']=class extends a[_0x5c4b2d(0x3d9)]{constructor(_0x57c307,_0x999656){var _0x3e097f=_0x5c4b2d;super(),D(this,_0x3e097f(0x446),new Map()),D(this,'_roomCreated$',new H[(_0x3e097f(0x3d4))]()),(this[_0x3e097f(0x36d)]=_0x57c307,this[_0x3e097f(0x3e4)]=_0x999656,this['disposeWithMe'](H[_0x3e097f(0x4f7)](this[_0x3e097f(0x36d)][_0x3e097f(0x300)](a['UniverInstanceType'][_0x3e097f(0x441)])[_0x3e097f(0x4a6)](W['map'](_0x449c97=>_0x449c97[_0x3e097f(0x3df)]())),this[_0x3e097f(0x36d)][_0x3e097f(0x300)](a[_0x3e097f(0x51a)][_0x3e097f(0x52e)])['pipe'](W['map'](_0x38ea89=>_0x38ea89[_0x3e097f(0x3df)]())),this[_0x3e097f(0x36d)][_0x3e097f(0x300)](a['UniverInstanceType'][_0x3e097f(0x356)])[_0x3e097f(0x4a6)](W['map'](_0x2d8256=>_0x2d8256['getUnitId']())))[_0x3e097f(0x3e6)](_0x58b194=>this['_removeRoom'](_0x58b194))));}[_0x5c4b2d(0x29f)](_0xbd2701){var _0x4a7df6=_0x5c4b2d;return this['_roomMembers'][_0x4a7df6(0x23a)](_0xbd2701)?H['of'](this['_roomMembers'][_0x4a7df6(0x361)](_0xbd2701)):this['_roomCreated$'][_0x4a7df6(0x4a6)](W[_0x4a7df6(0x364)](_0x58d636=>{var _0x2788bd=_0x4a7df6;if(_0x58d636===_0xbd2701)return this[_0x2788bd(0x446)][_0x2788bd(0x361)](_0x58d636);}));}[_0x5c4b2d(0x22d)](_0xd3c75e){var _0x14554b=_0x5c4b2d;this[_0x14554b(0x3e4)][_0x14554b(0x22d)](_0xd3c75e);}[_0x5c4b2d(0x34f)](){var _0x393352=_0x5c4b2d;return this[_0x393352(0x3e4)][_0x393352(0x34f)]();}[_0x5c4b2d(0x49d)](_0x477834,_0x5bcfa9){var _0x2fef12=_0x5c4b2d;let _0x4a82da=this[_0x2fef12(0x446)]['get'](_0x477834);_0x4a82da||(_0x4a82da=new cn(),this[_0x2fef12(0x446)][_0x2fef12(0x33f)](_0x477834,_0x4a82da),this[_0x2fef12(0x256)]['next'](_0x477834)),_0x4a82da['updateMember'](_0x5bcfa9);}[_0x5c4b2d(0x262)](_0x58622a,_0x426236){var _0x349665=_0x5c4b2d;const _0x4f5141=this['_roomMembers'][_0x349665(0x361)](_0x58622a);_0x4f5141&&_0x4f5141['removeMember'](_0x426236);}['getRoom'](_0x2b7443){var _0x58b46b=_0x5c4b2d;return this[_0x58b46b(0x446)][_0x58b46b(0x361)](_0x2b7443);}[_0x5c4b2d(0x1ee)](_0x466ced,_0x4194e6){var _0x547f61=_0x5c4b2d;const _0xd6ef0f=this[_0x547f61(0x446)][_0x547f61(0x361)](_0x466ced);if(_0xd6ef0f)return _0xd6ef0f[_0x547f61(0x1ee)](_0x4194e6);}[_0x5c4b2d(0x2ce)](_0x5773c9){var _0x352bed=_0x5c4b2d;const _0x37206b=this[_0x352bed(0x446)][_0x352bed(0x361)](_0x5773c9);_0x37206b&&(_0x37206b[_0x352bed(0x3c1)](),this[_0x352bed(0x446)][_0x352bed(0x517)](_0x5773c9));}[_0x5c4b2d(0x3c1)](){var _0x141775=_0x5c4b2d;this[_0x141775(0x446)][_0x141775(0x332)](_0xfd5495=>_0xfd5495['dispose']()),this[_0x141775(0x446)][_0x141775(0x521)](),this[_0x141775(0x256)]['complete']();}},exports[_0x5c4b2d(0x1db)]=an([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x3ff)]))],exports['MemberService']);class cn extends a['Disposable']{constructor(){var _0x27e372=_0x5c4b2d;super(...arguments),D(this,_0x27e372(0x324),new Map()),D(this,_0x27e372(0x227),new H[(_0x27e372(0x281))](this[_0x27e372(0x324)])),D(this,_0x27e372(0x4f1),this['_members$'][_0x27e372(0x259)]());}[_0x5c4b2d(0x3c1)](){var _0xe8f996=_0x5c4b2d;this[_0xe8f996(0x324)][_0xe8f996(0x521)]();}[_0x5c4b2d(0x49d)](_0x118050){var _0x1c7e01=_0x5c4b2d;this['_members'][_0x1c7e01(0x33f)](_0x118050[_0x1c7e01(0x382)],_0x118050),this['_emitMembers']();}[_0x5c4b2d(0x262)](_0x336743){var _0xc25265=_0x5c4b2d;this[_0xc25265(0x324)][_0xc25265(0x517)](_0x336743);}[_0x5c4b2d(0x1ee)](_0x40deec){var _0x160c67=_0x5c4b2d;return this[_0x160c67(0x324)][_0x160c67(0x361)](_0x40deec);}[_0x5c4b2d(0x476)](){var _0x460506=_0x5c4b2d;return Array['from'](this['_members'][_0x460506(0x1a6)]());}['_emitMembers'](){var _0x579d74=_0x5c4b2d;this['_members$'][_0x579d74(0x314)](this['_members']);}}var hn=Object['defineProperty'],ln=Object[_0x5c4b2d(0x458)],_n=(_0x491b95,_0xa9b98,_0x459e97,_0x43aecd)=>{var _0x42030a=_0x5c4b2d;for(var _0x85664d=_0x43aecd>0x1?void 0x0:_0x43aecd?ln(_0xa9b98,_0x459e97):_0xa9b98,_0x5d6cca=_0x491b95[_0x42030a(0x22b)]-0x1,_0x5f5ace;_0x5d6cca>=0x0;_0x5d6cca--)(_0x5f5ace=_0x491b95[_0x5d6cca])&&(_0x85664d=(_0x43aecd?_0x5f5ace(_0xa9b98,_0x459e97,_0x85664d):_0x5f5ace(_0x85664d))||_0x85664d);return _0x43aecd&&_0x85664d&&hn(_0xa9b98,_0x459e97,_0x85664d),_0x85664d;},oe=(_0x41f0c4,_0x10ebeb)=>(_0x5e5a6b,_0x34a3d8)=>_0x10ebeb(_0x5e5a6b,_0x34a3d8,_0x41f0c4),se=(_0x53494b=>(_0x53494b[_0x53494b[_0x5c4b2d(0x21d)]=0x0]=_0x5c4b2d(0x21d),_0x53494b[_0x53494b[_0x5c4b2d(0x1ef)]=0x1]=_0x5c4b2d(0x1ef),_0x53494b[_0x53494b['OFFLINE']=0x2]=_0x5c4b2d(0x4ff),_0x53494b[_0x53494b['ONLINE']=0x3]='ONLINE',_0x53494b))(se||{});const qe={[he[_0x5c4b2d(0x3e5)]]:_0x5c4b2d(0x3bf),[he[_0x5c4b2d(0x1a9)]]:_0x5c4b2d(0x4a0),[he['JOIN_ROOM_NOT_EXISTS']]:_0x5c4b2d(0x1f5),[he[_0x5c4b2d(0x47f)]]:_0x5c4b2d(0x1bf),[he[_0x5c4b2d(0x44f)]]:_0x5c4b2d(0x2e0)};exports[_0x5c4b2d(0x487)]=class extends a['RxDisposable']{constructor(_0x1b4023,_0x48a60d,_0x5ec0da,_0x27436,_0x33505d,_0x379c1c,_0x4fa448,_0x455676,_0x503024){var _0x1ecc8d=_0x5c4b2d;super(),D(this,_0x1ecc8d(0x226),new H[(_0x1ecc8d(0x281))](0x0)),D(this,_0x1ecc8d(0x50e),this[_0x1ecc8d(0x226)][_0x1ecc8d(0x259)]()),D(this,'_event$',new H['Subject']()),D(this,_0x1ecc8d(0x503),this['_event$'][_0x1ecc8d(0x259)]()),D(this,_0x1ecc8d(0x1a3)),D(this,'_socketMessageSubscription'),D(this,_0x1ecc8d(0x2cc)),D(this,_0x1ecc8d(0x2b4),!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x1b4023,this[_0x1ecc8d(0x4bd)]=_0x5ec0da,this[_0x1ecc8d(0x221)]=_0x27436,this[_0x1ecc8d(0x370)]=_0x33505d,this['_memberService']=_0x379c1c,this[_0x1ecc8d(0x1cd)]=_0x4fa448,this['_collaborationUIEventService']=_0x455676,this[_0x1ecc8d(0x2bd)]=_0x503024,this[_0x1ecc8d(0x2b4)]=!!this['_telemetryService'],_0x48a60d['pipe'](H[_0x1ecc8d(0x4ef)](this[_0x1ecc8d(0x36c)]))[_0x1ecc8d(0x3e6)](_0x271998=>{var _0x27684d=_0x1ecc8d,_0x56796c;typeof _0x271998>'u'||(this[_0x27684d(0x1a3)]=_0x271998,_0x271998?(this[_0x27684d(0x24a)](_0x271998),this[_0x27684d(0x201)]=_0x271998['message$']['subscribe'](_0x22949a=>{var _0x3d91f3=_0x27684d;_0x22949a[_0x3d91f3(0x336)]===this[_0x3d91f3(0x315)]&&this[_0x3d91f3(0x373)](_0x22949a);})):(this[_0x27684d(0x41c)](),this[_0x27684d(0x226)]['next'](0x2),(_0x56796c=this['_socketMessageSubscription'])==null||_0x56796c[_0x27684d(0x2ed)](),this[_0x27684d(0x201)]=null));}));}get[_0x5c4b2d(0x34a)](){var _0x41ba43=_0x5c4b2d;return this[_0x41ba43(0x226)]['getValue']();}[_0x5c4b2d(0x1f8)](){var _0x4a87bd=_0x5c4b2d,_0x584e2b,_0xa8cfa3;return(_0xa8cfa3=(_0x584e2b=this['_socket'])==null?void 0x0:_0x584e2b[_0x4a87bd(0x382)])!=null?_0xa8cfa3:null;}['dispose'](){var _0xbf8aa9=_0x5c4b2d;super['dispose'](),this['dispose$'][_0xbf8aa9(0x314)](),this[_0xbf8aa9(0x36c)][_0xbf8aa9(0x395)]();}[_0x5c4b2d(0x48d)](){var _0x2ed66d=_0x5c4b2d,_0x2f12a7,_0x3bd4a5;this[_0x2ed66d(0x41c)](),(_0x2f12a7=this[_0x2ed66d(0x1a3)])==null||_0x2f12a7[_0x2ed66d(0x443)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3bd4a5=this[_0x2ed66d(0x1a3)])==null||_0x3bd4a5[_0x2ed66d(0x48d)](),this[_0x2ed66d(0x1ca)][_0x2ed66d(0x395)](),this[_0x2ed66d(0x226)]['complete'](),this[_0x2ed66d(0x3c1)]();}[_0x5c4b2d(0x373)](_0x60cb59){var _0x2aad00=_0x5c4b2d;_0x60cb59[_0x2aad00(0x453)]===G[_0x2aad00(0x1b2)]?this[_0x2aad00(0x52f)](_0x60cb59):_0x60cb59[_0x2aad00(0x453)]===G['RECV']&&this[_0x2aad00(0x378)](_0x60cb59);}[_0x5c4b2d(0x24a)](_0x494c1c){var _0x1f6281=_0x5c4b2d;this[_0x1f6281(0x226)][_0x1f6281(0x314)](0x1),_0x494c1c['send']({'cmd':G['JOIN'],'routeKey':this[_0x1f6281(0x315)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5c4b2d(0x52f)](_0x491268){var _0x55093f=_0x5c4b2d,_0x682411;if(_0x491268[_0x55093f(0x22e)]in qe){this[_0x55093f(0x207)]['emitEvent']({'id':Q[_0x55093f(0x33d)],'data':qe[_0x491268[_0x55093f(0x22e)]]}),this[_0x55093f(0x226)]['next'](0x2);return;}this['_sessionStatus$'][_0x55093f(0x314)](0x3);const _0x588694=(_0x682411=_0x491268[_0x55093f(0x3e3)][_0x55093f(0x512)][this[_0x55093f(0x315)]])==null?void 0x0:_0x682411['members'];_0x588694&&_0x588694['forEach'](_0x2f4758=>this[_0x55093f(0x362)][_0x55093f(0x49d)](this[_0x55093f(0x315)],_0x2f4758));}[_0x5c4b2d(0x378)](_0x4c649a){var _0x271b3a=_0x5c4b2d;try{const _0x486c7d=_0x4c649a[_0x271b3a(0x3e3)];switch(_0x486c7d['eventID']){case m[_0x271b3a(0x2a5)][_0x271b3a(0x49e)]:this[_0x271b3a(0x45f)](_0x486c7d),this['_event$'][_0x271b3a(0x314)](_0x486c7d);break;case m['CollaborationEvent']['USERS_LEAVE']:this[_0x271b3a(0x523)](_0x486c7d),this[_0x271b3a(0x1ca)][_0x271b3a(0x314)](_0x486c7d);break;case m[_0x271b3a(0x2a5)][_0x271b3a(0x455)]:case m[_0x271b3a(0x2a5)]['CHANGESET_SHOULD_RETRY']:this[_0x271b3a(0x4c2)](),this[_0x271b3a(0x2e2)](),this[_0x271b3a(0x1ca)][_0x271b3a(0x314)](_0x486c7d);break;case m[_0x271b3a(0x2a5)][_0x271b3a(0x38e)]:this[_0x271b3a(0x4bd)][_0x271b3a(0x46c)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x271b3a(0x49c)](_0x486c7d)),this[_0x271b3a(0x1ca)][_0x271b3a(0x314)](_0x486c7d);break;case m['CollaborationEvent'][_0x271b3a(0x504)]:this[_0x271b3a(0x1cd)][_0x271b3a(0x1c4)](_0x486c7d['data']),this['_event$']['next'](_0x486c7d);break;default:this[_0x271b3a(0x1ca)][_0x271b3a(0x314)](_0x486c7d);}}catch(_0x437dfa){this[_0x271b3a(0x4bd)]['error'](_0x437dfa,_0x4c649a);}}[_0x5c4b2d(0x45f)](_0x4aeb7d){var _0x17e200=_0x5c4b2d;this[_0x17e200(0x362)][_0x17e200(0x49d)](this[_0x17e200(0x315)],_0x4aeb7d[_0x17e200(0x3e3)]);}[_0x5c4b2d(0x523)](_0x143a88){var _0x27e5b2=_0x5c4b2d;this['_memberService']['removeMember'](this['_unitID'],_0x143a88[_0x27e5b2(0x3e3)][_0x27e5b2(0x382)]);}async[_0x5c4b2d(0x443)](_0x37d68e,_0xe8676d){var _0x7c9a52=_0x5c4b2d;if(this[_0x7c9a52(0x34a)]!==0x3||!this[_0x7c9a52(0x1a3)])throw new Error(_0x7c9a52(0x447));try{_0x37d68e[_0x7c9a52(0x342)]===m[_0x7c9a52(0x2a5)]['SUBMIT_CHANGESET']&&(this[_0x7c9a52(0x215)](),this[_0x7c9a52(0x4c5)](_0x37d68e)),this[_0x7c9a52(0x1a3)][_0x7c9a52(0x443)]({'cmd':G[_0x7c9a52(0x3b9)],'routeKey':_0xe8676d,'routeType':'','data':_0x37d68e});}catch(_0x3b0b77){this['_logService'][_0x7c9a52(0x46c)](_0x3b0b77);}}[_0x5c4b2d(0x215)](){var _0xfa879d=_0x5c4b2d,_0x1f5825;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3a12f0=_0x1ccf;this['_collaborationTimeoutTimer']=null,this[_0x3a12f0(0x207)]['emitEvent']({'id':Q[_0x3a12f0(0x2bf)]});},(_0x1f5825=this[_0xfa879d(0x221)][_0xfa879d(0x477)](He))!=null?_0x1f5825:gt);}[_0x5c4b2d(0x2e2)](){var _0x563d94=_0x5c4b2d;this[_0x563d94(0x2cc)]&&(clearTimeout(this[_0x563d94(0x2cc)]),this[_0x563d94(0x2cc)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x47af47){var _0x464291=_0x5c4b2d;if(!this[_0x464291(0x2b4)])return;const {data:_0x1851d3}=_0x47af47,{unitID:_0x42f836,changeset:_0x240a0c}=_0x1851d3,{mutations:_0x15aeb0,type:_0xbc8059}=_0x240a0c;this[_0x464291(0x37b)]={'unitId':_0x42f836,'type':_0xbc8059,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x15aeb0)};}[_0x5c4b2d(0x4c2)](){var _0x1e9562=_0x5c4b2d;if(this[_0x1e9562(0x2b4)]){if(!this['_telemetryInfo']){this[_0x1e9562(0x4bd)][_0x1e9562(0x46c)](_0x1e9562(0x1aa),_0x1e9562(0x3d6));return;}this['_telemetryInfo'][_0x1e9562(0x1a7)]=performance[_0x1e9562(0x459)](),this[_0x1e9562(0x37b)]['duration']=this[_0x1e9562(0x37b)][_0x1e9562(0x1a7)]-this[_0x1e9562(0x37b)][_0x1e9562(0x287)],this[_0x1e9562(0x2bd)][_0x1e9562(0x4b4)](nn,this['_telemetryInfo']),this[_0x1e9562(0x37b)]=null;}}[_0x5c4b2d(0x41c)](){var _0x1b7a2f=_0x5c4b2d;this[_0x1b7a2f(0x37b)]=null;}},exports[_0x5c4b2d(0x487)]=_n([oe(0x2,a['ILogService']),oe(0x3,a[_0x5c4b2d(0x3c6)]),oe(0x4,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x3c9)])),oe(0x5,a['Inject'](exports['MemberService'])),oe(0x6,a[_0x5c4b2d(0x241)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x5c4b2d(0x524)](jt[_0x5c4b2d(0x493)]))],exports[_0x5c4b2d(0x487)]);var un=Object[_0x5c4b2d(0x1d2)],dn=Object[_0x5c4b2d(0x458)],vn=(_0x2b36e7,_0xe10a7e,_0x46bb51,_0x278436)=>{for(var _0x4b242e=_0x278436>0x1?void 0x0:_0x278436?dn(_0xe10a7e,_0x46bb51):_0xe10a7e,_0x39c38d=_0x2b36e7['length']-0x1,_0x4b47f7;_0x39c38d>=0x0;_0x39c38d--)(_0x4b47f7=_0x2b36e7[_0x39c38d])&&(_0x4b242e=(_0x278436?_0x4b47f7(_0xe10a7e,_0x46bb51,_0x4b242e):_0x4b47f7(_0x4b242e))||_0x4b242e);return _0x278436&&_0x4b242e&&un(_0xe10a7e,_0x46bb51,_0x4b242e),_0x4b242e;},ae=(_0xea68b4,_0x38858a)=>(_0x1a6470,_0x3d7f7c)=>_0x38858a(_0x1a6470,_0x3d7f7c,_0xea68b4);exports[_0x5c4b2d(0x2d2)]=class extends a['Disposable']{constructor(_0x3b2796,_0x366894,_0x9297c9,_0x561f4e,_0x16641b,_0x371d0b,_0x3eb983){var _0x260214=_0x5c4b2d;super(),D(this,_0x260214(0x35e),new H[(_0x260214(0x281))](void 0x0)),D(this,_0x260214(0x3e7),this['_socket$'][_0x260214(0x259)]()),D(this,_0x260214(0x2fe),null),D(this,_0x260214(0x41b),new Map()),D(this,'_status$',new H[(_0x260214(0x281))](se['IDLE'])),D(this,_0x260214(0x52d),this['_status$'][_0x260214(0x259)]()),D(this,_0x260214(0x380),!0x1),D(this,_0x260214(0x428)),D(this,'_retryCount',0x0),D(this,_0x260214(0x2a4)),D(this,'_timeoutTimer'),(this['_injector']=_0x3b2796,this[_0x260214(0x4bd)]=_0x366894,this[_0x260214(0x221)]=_0x9297c9,this[_0x260214(0x529)]=_0x561f4e,this[_0x260214(0x4e6)]=_0x16641b,this[_0x260214(0x207)]=_0x371d0b,this['_networkConditionService']=_0x3eb983,this[_0x260214(0x2c2)]());}get[_0x5c4b2d(0x1a3)](){var _0x3840f1=_0x5c4b2d;return this['_socket$'][_0x3840f1(0x4f8)]();}[_0x5c4b2d(0x2c2)](){var _0x2dbae8=_0x5c4b2d;this[_0x2dbae8(0x51f)]&&this[_0x2dbae8(0x46f)](this[_0x2dbae8(0x51f)][_0x2dbae8(0x339)]['subscribe'](_0x1f3bb7=>{var _0x4c0609=_0x2dbae8;_0x1f3bb7&&!this[_0x4c0609(0x1a3)]&&this[_0x4c0609(0x51d)](),_0x1f3bb7||this['_onOffline']();}));}[_0x5c4b2d(0x3c1)](){var _0x27185a=_0x5c4b2d;super[_0x27185a(0x3c1)](),this['_sessions'][_0x27185a(0x332)](_0x17ba12=>_0x17ba12[_0x27185a(0x3c1)]()),this[_0x27185a(0x41b)][_0x27185a(0x521)](),this[_0x27185a(0x37c)][_0x27185a(0x395)]();}async['requireSession'](_0x33abba){var _0x5f331f=_0x5c4b2d;if(this[_0x5f331f(0x41b)][_0x5f331f(0x23a)](_0x33abba))return this['_sessions']['get'](_0x33abba);this['_tryEnsureSocket']();const _0xdcc2de=this[_0x5f331f(0x411)][_0x5f331f(0x210)](exports[_0x5f331f(0x487)],_0x33abba,this[_0x5f331f(0x35e)]['asObservable']());return this[_0x5f331f(0x41b)][_0x5f331f(0x33f)](_0x33abba,_0xdcc2de),_0xdcc2de;}['closeSession'](_0x1947de){var _0x1f7971=_0x5c4b2d,_0x156503;const _0x468aca=this[_0x1f7971(0x41b)][_0x1f7971(0x361)](_0x1947de);_0x468aca&&(this[_0x1f7971(0x41b)]['delete'](_0x1947de),_0x468aca[_0x1f7971(0x48d)]()),this['_sessions'][_0x1f7971(0x317)]||(_0x156503=this[_0x1f7971(0x1a3)])==null||_0x156503['close']();}[_0x5c4b2d(0x51d)](){var _0x35d923=_0x5c4b2d;this[_0x35d923(0x39e)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x5c4b2d(0x267)](){var _0xd0b991=_0x5c4b2d,_0x403ff2,_0x3fd8bf,_0x347a9d;const _0x2e39ad=this['_configService'][_0xd0b991(0x477)](Y),_0x37bd56=(_0x403ff2=_0x2e39ad==null?void 0x0:_0x2e39ad[_0xd0b991(0x1e0)])!=null?_0x403ff2:Ft;return(_0x347a9d=(_0x3fd8bf=(await this[_0xd0b991(0x4e6)]['get'](_0x37bd56,{'headers':{'Content-Type':_0xd0b991(0x49a)}}))['body'])==null?void 0x0:_0x3fd8bf[_0xd0b991(0x49b)])!=null?_0x347a9d:'';}[_0x5c4b2d(0x4ea)](_0x4b9f32){var _0x496401=_0x5c4b2d,_0x150738,_0x15302f;const _0x365da1=this[_0x496401(0x221)]['getConfig'](St),_0x2744f1=this[_0x496401(0x221)][_0x496401(0x477)](Y),_0x4a9043=(_0x15302f=(_0x150738=_0x2744f1==null?void 0x0:_0x2744f1[_0x496401(0x2e5)])!=null?_0x150738:_0x365da1)!=null?_0x15302f:pt,_0x2ef8d2=typeof window>'u'?new URL(_0x4a9043):new URL(_0x4a9043,window[_0x496401(0x20f)]['origin']);_0x2ef8d2['searchParams']['set']('sessionTicket',_0x4b9f32);const _0x122799=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x496401(0x20f)][_0x496401(0x444)]);return _0x122799[_0x496401(0x361)](_0x496401(0x264))&&_0x2ef8d2[_0x496401(0x4fa)][_0x496401(0x33f)]('runId',_0x122799[_0x496401(0x361)](_0x496401(0x264))),_0x2ef8d2[_0x496401(0x337)]();}async['_createSocket'](){var _0x589947=_0x5c4b2d;const _0x65e4f8=await this[_0x589947(0x267)](),_0x4ed54a=this['_createSocketURL'](_0x65e4f8),_0xe03bc8=this[_0x589947(0x529)][_0x589947(0x3f0)](_0x4ed54a);return this['_candidateSocket']=_0xe03bc8,_0xe03bc8;}async[_0x5c4b2d(0x47b)](){var _0x20d895=_0x5c4b2d,_0x2a134b,_0x33f583;try{const _0x3af8be=(_0x33f583=(_0x2a134b=this[_0x20d895(0x1a3)])!=null?_0x2a134b:this[_0x20d895(0x2fe)])!=null?_0x33f583:await this[_0x20d895(0x30a)]();if(_0x3af8be){const _0x1889b9=_0x3af8be['send'];_0x3af8be[_0x20d895(0x443)]=_0x53726e=>(this['_rescheduleHeartbeat'](),_0x1889b9[_0x20d895(0x33e)](_0x3af8be,[_0x53726e])),_0x3af8be['message$'][_0x20d895(0x3e6)](_0x41029f=>this[_0x20d895(0x4c0)](_0x3af8be,_0x41029f)),_0x3af8be[_0x20d895(0x304)][_0x20d895(0x4a6)](W[_0x20d895(0x302)](0x1))[_0x20d895(0x3e6)](_0x320080=>this[_0x20d895(0x4bd)]['error'](_0x20d895(0x1ac),_0x320080)),_0x3af8be[_0x20d895(0x38a)]['pipe'](W[_0x20d895(0x302)](0x1))[_0x20d895(0x3e6)](()=>{var _0x5a7c75=_0x20d895;this[_0x5a7c75(0x299)](_0x3af8be);}),_0x3af8be[_0x20d895(0x323)][_0x20d895(0x4a6)](W['take'](0x1))[_0x20d895(0x3e6)](_0x14ed8b=>{var _0x3a5848=_0x20d895;this[_0x3a5848(0x4bd)]['debug'](_0x3a5848(0x534),_0x3a5848(0x2c4),_0x14ed8b),this[_0x3a5848(0x20b)]();});}}catch(_0x54d488){this['_logService']['error'](_0x54d488),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x1e447){var _0x5f28cc=_0x5c4b2d;this[_0x5f28cc(0x4bd)][_0x5f28cc(0x4e0)](_0x5f28cc(0x534),_0x5f28cc(0x440)),_0x1e447[_0x5f28cc(0x443)]({'cmd':G[_0x5f28cc(0x413)]}),this[_0x5f28cc(0x2ae)]();}[_0x5c4b2d(0x24b)](){var _0xed5ba9=_0x5c4b2d;this[_0xed5ba9(0x380)]=!0x1,this[_0xed5ba9(0x2fe)]=null,this[_0xed5ba9(0x37c)][_0xed5ba9(0x314)](se[_0xed5ba9(0x4ff)]),this[_0xed5ba9(0x35e)][_0xed5ba9(0x314)](null),this[_0xed5ba9(0x467)](),this[_0xed5ba9(0x4a7)]();}[_0x5c4b2d(0x20b)](){var _0x3be5be=_0x5c4b2d,_0x8ede3d;this['_onOffline'](),this['_retryCount']<((_0x8ede3d=this[_0x3be5be(0x221)][_0x3be5be(0x477)](It))!=null?_0x8ede3d:Vt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x3be5be(0x52c)]}),this[_0x3be5be(0x46d)]()):this[_0x3be5be(0x207)]['emitEvent']({'id':Q[_0x3be5be(0x4f5)]});}['_tryReconnect'](){var _0x34bcae=_0x5c4b2d,_0x236b6c;const _0x405a22=this[_0x34bcae(0x39e)],_0x1191c6=this[_0x34bcae(0x221)][_0x34bcae(0x477)](Y),_0x344052=_0x405a22===0x0?0x0:((_0x236b6c=_0x1191c6==null?void 0x0:_0x1191c6[_0x34bcae(0x2d0)])!=null?_0x236b6c:Gt)*0x2**_0x405a22;this['_retryConnectingTimer']=setTimeout(()=>{var _0x340d91=_0x34bcae;clearTimeout(this[_0x340d91(0x428)]),this[_0x340d91(0x428)]=null,this['_tryEnsureSocket']();},_0x344052),this[_0x34bcae(0x39e)]+=0x1;}[_0x5c4b2d(0x4c0)](_0x46a331,_0x1855ce){var _0x278bf2=_0x5c4b2d;const {cmd:_0x287b17}=_0x1855ce;_0x287b17===G[_0x278bf2(0x413)]&&!this[_0x278bf2(0x380)]&&(_0x46a331[_0x278bf2(0x382)]=_0x1855ce[_0x278bf2(0x3e3)][_0x278bf2(0x382)],this[_0x278bf2(0x35e)]['next'](_0x46a331),this[_0x278bf2(0x37c)][_0x278bf2(0x314)](se[_0x278bf2(0x1c1)]),this[_0x278bf2(0x380)]=!0x0,this['_candidateSocket']=null),_0x287b17===G['HEARTBEAT']&&this[_0x278bf2(0x467)](),this[_0x278bf2(0x2ae)]();}[_0x5c4b2d(0x2ae)](){var _0x15eb17=_0x5c4b2d,_0x832117;this['_clearHeartbeatTimer'](),this[_0x15eb17(0x2a4)]=setTimeout(()=>this[_0x15eb17(0x27b)](),(_0x832117=this['_configService']['getConfig'](mt))!=null?_0x832117:Wt);}['_sendHeartbeat'](){var _0x43fb83=_0x5c4b2d;this[_0x43fb83(0x1a3)][_0x43fb83(0x443)]({'cmd':G[_0x43fb83(0x3d8)]}),this[_0x43fb83(0x3bc)]();}['_waitForHeartbeatResponse'](){var _0x32c85b=_0x5c4b2d,_0x1e101e;this[_0x32c85b(0x383)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1e101e=this[_0x32c85b(0x221)][_0x32c85b(0x477)](He))!=null?_0x1e101e:gt);}[_0x5c4b2d(0x4a7)](){var _0x5dab71=_0x5c4b2d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5dab71(0x2a4)]),this[_0x5dab71(0x2a4)]=null);}[_0x5c4b2d(0x467)](){var _0x14c300=_0x5c4b2d;this[_0x14c300(0x383)]!=null&&(clearTimeout(this[_0x14c300(0x383)]),this[_0x14c300(0x383)]=null);}},exports['CollaborationSessionService']=vn([ae(0x0,a[_0x5c4b2d(0x241)](a['Injector'])),ae(0x1,a[_0x5c4b2d(0x425)]),ae(0x2,a[_0x5c4b2d(0x3c6)]),ae(0x3,ke),ae(0x4,a[_0x5c4b2d(0x241)](q[_0x5c4b2d(0x1e4)])),ae(0x5,a['Inject'](te)),ae(0x6,a['Optional'](Rt))],exports['CollaborationSessionService']);const V=[];for(let r=0x0;r<0x100;++r)V[_0x5c4b2d(0x3d2)]((r+0x100)[_0x5c4b2d(0x337)](0x10)[_0x5c4b2d(0x43e)](0x1));function fn(_0x2ba6de,_0x9be8af=0x0){var _0x3f7586=_0x5c4b2d;return(V[_0x2ba6de[_0x9be8af+0x0]]+V[_0x2ba6de[_0x9be8af+0x1]]+V[_0x2ba6de[_0x9be8af+0x2]]+V[_0x2ba6de[_0x9be8af+0x3]]+'-'+V[_0x2ba6de[_0x9be8af+0x4]]+V[_0x2ba6de[_0x9be8af+0x5]]+'-'+V[_0x2ba6de[_0x9be8af+0x6]]+V[_0x2ba6de[_0x9be8af+0x7]]+'-'+V[_0x2ba6de[_0x9be8af+0x8]]+V[_0x2ba6de[_0x9be8af+0x9]]+'-'+V[_0x2ba6de[_0x9be8af+0xa]]+V[_0x2ba6de[_0x9be8af+0xb]]+V[_0x2ba6de[_0x9be8af+0xc]]+V[_0x2ba6de[_0x9be8af+0xd]]+V[_0x2ba6de[_0x9be8af+0xe]]+V[_0x2ba6de[_0x9be8af+0xf]])[_0x3f7586(0x456)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x11b665=_0x5c4b2d;if(!Pe){if(typeof crypto>'u'||!crypto[_0x11b665(0x50d)])throw new Error(_0x11b665(0x454));Pe=crypto[_0x11b665(0x50d)]['bind'](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x5c4b2d(0x3da)]&&crypto[_0x5c4b2d(0x3da)][_0x5c4b2d(0x4ba)](crypto),ze={'randomUUID':mn};function gn(_0x2ef7f0,_0x505174,_0x1c6aaa){var _0x9db908=_0x5c4b2d,_0x32bfcb,_0x53b1f8,_0x22b9d5;if(ze['randomUUID']&&!_0x2ef7f0)return ze[_0x9db908(0x3da)]();_0x2ef7f0=_0x2ef7f0||{};const _0x4c5919=(_0x22b9d5=(_0x53b1f8=_0x2ef7f0[_0x9db908(0x4ca)])!=null?_0x53b1f8:(_0x32bfcb=_0x2ef7f0['rng'])==null?void 0x0:_0x32bfcb[_0x9db908(0x284)](_0x2ef7f0))!=null?_0x22b9d5:pn();if(_0x4c5919[_0x9db908(0x22b)]<0x10)throw new Error(_0x9db908(0x2b2));return _0x4c5919[0x6]=_0x4c5919[0x6]&0xf|0x40,_0x4c5919[0x8]=_0x4c5919[0x8]&0x3f|0x80,fn(_0x4c5919);}const z=a[_0x5c4b2d(0x526)](_0x5c4b2d(0x321));function In(_0x4ea639){return'unit-cache-'+_0x4ea639;}var En=Object[_0x5c4b2d(0x1d2)],Cn=Object[_0x5c4b2d(0x458)],Tn=(_0x11260a,_0x5dd600,_0x11ee23,_0x254ac9)=>{for(var _0x3f50a8=_0x254ac9>0x1?void 0x0:_0x254ac9?Cn(_0x5dd600,_0x11ee23):_0x5dd600,_0x33333e=_0x11260a['length']-0x1,_0x4edfa9;_0x33333e>=0x0;_0x33333e--)(_0x4edfa9=_0x11260a[_0x33333e])&&(_0x3f50a8=(_0x254ac9?_0x4edfa9(_0x5dd600,_0x11ee23,_0x3f50a8):_0x4edfa9(_0x3f50a8))||_0x3f50a8);return _0x254ac9&&_0x3f50a8&&En(_0x5dd600,_0x11ee23,_0x3f50a8),_0x3f50a8;},De=(_0x488257,_0x45f475)=>(_0x2bd86f,_0x3f0df2)=>_0x45f475(_0x2bd86f,_0x3f0df2,_0x488257);function bn(_0x46b3e0){var _0x2aa0c2=_0x5c4b2d;const {unitID:_0x5c3643,mutations:_0xf4d17c}=_0x46b3e0;return{'unitId':_0x5c3643,'subUnitId':_0xf4d17c[0x0][_0x2aa0c2(0x1e7)][_0x2aa0c2(0x4cf)]};}exports[_0x5c4b2d(0x21c)]=class{constructor(_0x10f746,_0x53ff2a,_0xd27587){var _0x49fe89=_0x5c4b2d;this[_0x49fe89(0x411)]=_0x10f746,this['_transformService']=_0x53ff2a,this[_0x49fe89(0x2f0)]=_0xd27587;}[_0x5c4b2d(0x427)](_0x8ec1e7){var _0x5dbc50=_0x5c4b2d,_0x1e4860,_0x5d8f23,_0x5329d8,_0x267349;const _0x40286d=this[_0x5dbc50(0x411)][_0x5dbc50(0x361)](J['SheetsSelectionsService']),{unitId:_0x5de281,subUnitId:_0x132003}=bn(_0x8ec1e7),_0x3aede6=_0x40286d==null?void 0x0:_0x40286d['getWorkbookSelections'](_0x5de281)['getCurrentSelections'](),_0x32cade=(_0x5d8f23=(_0x1e4860=this['_instanceService'][_0x5dbc50(0x465)](_0x5de281))==null?void 0x0:_0x1e4860[_0x5dbc50(0x39b)]())==null?void 0x0:_0x5d8f23[_0x5dbc50(0x51e)]();if(_0x3aede6['length']===0x0||!_0x5de281||!_0x132003)return;const _0x1a50d8=[{'id':J['SetSelectionsOperation']['id'],'params':{'unitId':_0x5de281,'subUnitId':_0x32cade,'selections':a[_0x5dbc50(0x2b8)][_0x5dbc50(0x1fc)](_0x3aede6)}}],_0x3ea2c5=this[_0x5dbc50(0x2f9)][_0x5dbc50(0x4c6)](_0x8ec1e7,_0x1a50d8);if(!m[_0x5dbc50(0x501)](_0x3ea2c5))throw _0x3ea2c5['error'];const _0x4faa46=(_0x267349=(_0x5329d8=_0x3ea2c5[_0x5dbc50(0x482)][0x0])==null?void 0x0:_0x5329d8[_0x5dbc50(0x1e7)])==null?void 0x0:_0x267349[_0x5dbc50(0x499)];if(Array[_0x5dbc50(0x27c)](_0x4faa46)&&_0x4faa46[_0x5dbc50(0x22b)]){if(_0x4faa46[_0x5dbc50(0x22b)]===_0x1a50d8[0x0][_0x5dbc50(0x1e7)]['selections']['length']&&_0x4faa46[_0x5dbc50(0x438)]((_0x3104b1,_0x58107b)=>a[_0x5dbc50(0x528)]['equals'](_0x3104b1[_0x5dbc50(0x4e8)],_0x1a50d8[0x0][_0x5dbc50(0x1e7)]['selections'][_0x58107b][_0x5dbc50(0x4e8)])))return;this[_0x5dbc50(0x411)]['get'](a[_0x5dbc50(0x322)])['executeCommand'](J['SetSelectionsOperation']['id'],{'unitId':_0x5de281,'subUnitId':_0x32cade,'selections':_0x4faa46});}}},exports[_0x5c4b2d(0x21c)]=Tn([De(0x0,a[_0x5c4b2d(0x241)](a['Injector'])),De(0x1,m[_0x5c4b2d(0x313)]),De(0x2,a[_0x5c4b2d(0x2d3)])],exports['SheetTransformSelectionsService']);const ve=a[_0x5c4b2d(0x526)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x37d280=>(_0x37d280[_0x37d280['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x5c4b2d(0x519),_0x37d280[_0x37d280[_0x5c4b2d(0x1f1)]=0x1]='OTHER_CLIENTS_EDITING',_0x37d280))(Fe||{});const Rn=new Set([J[_0x5c4b2d(0x492)]['id']]);function Je(_0x3bd986,_0x2246a3,_0x58ba31,_0x1cfb14,_0x4d844e){var _0x59ca7b=_0x5c4b2d,_0x2b6e52,_0x3f4eb9,_0x4e5bd5,_0x3f5633;const _0x360c8b=[];for(const _0x384deb of _0x3bd986)if(Rn[_0x59ca7b(0x23a)](_0x384deb['id'])){if(_0x360c8b[_0x59ca7b(0x22b)]>0x0)break;_0x360c8b[_0x59ca7b(0x3d2)](_0x384deb);break;}else _0x360c8b['push'](_0x384deb);const _0x28057e=(_0x3f4eb9=(_0x2b6e52=_0x4d844e['getCurrentUser']())==null?void 0x0:_0x2b6e52[_0x59ca7b(0x2d4)])!=null?_0x3f4eb9:_0x59ca7b(0x39a),_0x5ef329=(_0x3f5633=(_0x4e5bd5=_0x4d844e[_0x59ca7b(0x34f)]())==null?void 0x0:_0x4e5bd5['memberID'])!=null?_0x3f5633:_0x59ca7b(0x39a);return{'changeset':{'unitID':_0x2246a3,'type':m['mapDocumentTypeToUniverType'](_0x58ba31[_0x59ca7b(0x328)](_0x2246a3)),'baseRev':_0x1cfb14['getCurrentRevOfUnit'](_0x2246a3),'revision':0x0,'userID':_0x28057e,'memberID':_0x5ef329,'mutations':_0x360c8b},'pendingMutations':_0x3bd986[_0x59ca7b(0x43e)](_0x360c8b[_0x59ca7b(0x22b)])};}function On(_0x5cf259,_0x1d9194,_0x167641,_0x401158,_0x44dd45){var _0x30744e=_0x5c4b2d,_0x15716f,_0x4c97cd,_0x227b82,_0x26c649;const _0x2a73a4=[_0x5cf259[_0x30744e(0x2e3)]((_0x4aab17,_0x47eccc)=>{var _0x15b8ef=_0x30744e,_0x303f88;const {id:_0x42d9d0}=_0x4aab17,{id:_0x327290,type:_0x274cb0}=_0x47eccc,_0x15eb22=(_0x303f88=_0x4aab17[_0x15b8ef(0x1e7)])!=null?_0x303f88:{'actions':null},_0x989c97=_0x47eccc[_0x15b8ef(0x1e7)];if(_0x42d9d0&&_0x42d9d0!==_0x327290)throw new Error(_0x15b8ef(0x4ee)+_0x42d9d0+_0x15b8ef(0x32f)+_0x327290+'.');return{..._0x4aab17,'id':_0x327290,'type':_0x274cb0,'params':{'unitId':_0x989c97['unitId'],'textRanges':_0x989c97[_0x15b8ef(0x442)],'actions':a[_0x15b8ef(0x3dd)][_0x15b8ef(0x1be)](_0x15eb22[_0x15b8ef(0x248)],_0x989c97[_0x15b8ef(0x248)])}};},{})],_0x19ac04=(_0x4c97cd=(_0x15716f=_0x44dd45[_0x30744e(0x34f)]())==null?void 0x0:_0x15716f[_0x30744e(0x2d4)])!=null?_0x4c97cd:_0x30744e(0x39a),_0x47a210=(_0x26c649=(_0x227b82=_0x44dd45[_0x30744e(0x34f)]())==null?void 0x0:_0x227b82[_0x30744e(0x382)])!=null?_0x26c649:_0x30744e(0x39a);return{'changeset':{'unitID':_0x1d9194,'type':m[_0x30744e(0x50a)](_0x167641[_0x30744e(0x328)](_0x1d9194)),'baseRev':_0x401158[_0x30744e(0x2b6)](_0x1d9194),'revision':0x0,'userID':_0x19ac04,'memberID':_0x47a210,'mutations':_0x2a73a4},'pendingMutations':[]};}function Nt(_0x3eb9b8,_0x528eeb){var _0x49a793=_0x5c4b2d;const _0x351343=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x351343['next'](_0x528eeb),_0x3eb9b8),_0x351343[_0x49a793(0x259)]()[_0x49a793(0x4a6)](H[_0x49a793(0x302)](0x1));}const yn={'id':J[_0x5c4b2d(0x235)]['id'],'type':a[_0x5c4b2d(0x3dc)][_0x5c4b2d(0x3a6)],'params':{}};var Nn=Object[_0x5c4b2d(0x1d2)],Un=Object[_0x5c4b2d(0x458)],le=(_0x5051c8,_0x161ad8,_0x3e11dc,_0xc3fb9d)=>{var _0x775e0a=_0x5c4b2d;for(var _0x1e04ef=_0xc3fb9d>0x1?void 0x0:_0xc3fb9d?Un(_0x161ad8,_0x3e11dc):_0x161ad8,_0x10c975=_0x5051c8[_0x775e0a(0x22b)]-0x1,_0x2c58f0;_0x10c975>=0x0;_0x10c975--)(_0x2c58f0=_0x5051c8[_0x10c975])&&(_0x1e04ef=(_0xc3fb9d?_0x2c58f0(_0x161ad8,_0x3e11dc,_0x1e04ef):_0x2c58f0(_0x1e04ef))||_0x1e04ef);return _0xc3fb9d&&_0x1e04ef&&Nn(_0x161ad8,_0x3e11dc,_0x1e04ef),_0x1e04ef;},A=(_0x16732a,_0x1d5b66)=>(_0x1962b7,_0x2265de)=>_0x1d5b66(_0x1962b7,_0x2265de,_0x16732a),We=(_0x2535ac=>(_0x2535ac['NOT_COLLAB']=_0x5c4b2d(0x211),_0x2535ac[_0x5c4b2d(0x212)]='synced',_0x2535ac[_0x5c4b2d(0x38c)]='pending',_0x2535ac[_0x5c4b2d(0x3f5)]='awaiting',_0x2535ac['AWAITING_WITH_PENDING']=_0x5c4b2d(0x21e),_0x2535ac[_0x5c4b2d(0x1b4)]='fetch_missing',_0x2535ac['CONFLICT']=_0x5c4b2d(0x2b3),_0x2535ac['OFFLINE']=_0x5c4b2d(0x43c),_0x2535ac))(We||{});const Ut=0xea60;class _e{constructor(_0x5f47b9,_0xbde4e4,_0x584cd5,_0x905987,_0x4d5faf,_0x315f8e,_0x3e58ae,_0x3b562a,_0xc53e9e){var _0x506d8d=_0x5c4b2d;D(this,_0x506d8d(0x352),null),D(this,'_pendingMutations',[]),(this[_0x506d8d(0x1a8)]=_0x5f47b9,this[_0x506d8d(0x2c3)]=_0xbde4e4,this[_0x506d8d(0x2c5)]=_0x4d5faf,this[_0x506d8d(0x4e2)]=_0x315f8e,this[_0x506d8d(0x36f)]=_0x3e58ae,this[_0x506d8d(0x43b)]=_0x3b562a,this[_0x506d8d(0x44a)]=_0xc53e9e,this[_0x506d8d(0x352)]=_0x584cd5,this[_0x506d8d(0x2ec)]=_0x905987);}[_0x5c4b2d(0x355)](_0x3d8a59){var _0x22348b=_0x5c4b2d;const _0x16398d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x3d8a59[_0x22348b(0x25e)]>_0x16398d+0x1?(this['_handler'][_0x22348b(0x29a)]({'from':_0x16398d,'to':_0x3d8a59[_0x22348b(0x25e)]-0x1}),!0x0):!0x1;}[_0x5c4b2d(0x4a3)](_0x4a15c5){var _0x3ed890=_0x5c4b2d;this[_0x3ed890(0x36f)][_0x3ed890(0x283)](this[_0x3ed890(0x1a8)],_0x4a15c5);}['_transformSelections'](_0x20998a){var _0x572dcb=_0x5c4b2d,_0x322ca6,_0x1efa8c;(_0x1efa8c=(_0x322ca6=this[_0x572dcb(0x2c5)])[_0x572dcb(0x26d)])==null||_0x1efa8c[_0x572dcb(0x284)](_0x322ca6,_0x20998a);}['_transformIMECache'](_0x132608){var _0x1e1050=_0x5c4b2d,_0x5c4678,_0x166aea;return(_0x166aea=(_0x5c4678=this[_0x1e1050(0x2c5)])[_0x1e1050(0x229)])==null?void 0x0:_0x166aea[_0x1e1050(0x284)](_0x5c4678,_0x132608);}[_0x5c4b2d(0x44c)](_0x4fc477){var _0x290140=_0x5c4b2d,_0x4bfc6f,_0x5d621b;return(_0x5d621b=(_0x4bfc6f=this[_0x290140(0x2c5)])[_0x290140(0x24e)])==null?void 0x0:_0x5d621b[_0x290140(0x284)](_0x4bfc6f,_0x4fc477);}[_0x5c4b2d(0x20d)](_0x3dd0f3){var _0x88b44d=_0x5c4b2d,_0x5d2b17,_0x362382,_0x1f7cd1;return(_0x1f7cd1=(_0x362382=(_0x5d2b17=this[_0x88b44d(0x2c5)])[_0x88b44d(0x2a7)])==null?void 0x0:_0x362382[_0x88b44d(0x284)](_0x5d2b17,_0x3dd0f3))!=null?_0x1f7cd1:_0x3dd0f3;}[_0x5c4b2d(0x2be)](_0xd977c2){var _0x343ef1=_0x5c4b2d,_0x20c33b,_0x25bc0f,_0x400e1d;return(_0x400e1d=(_0x25bc0f=(_0x20c33b=this[_0x343ef1(0x2c5)])[_0x343ef1(0x30f)])==null?void 0x0:_0x25bc0f[_0x343ef1(0x284)](_0x20c33b,_0xd977c2))!=null?_0x400e1d:_0xd977c2;}[_0x5c4b2d(0x24d)](_0x3c81d4){var _0x150786=_0x5c4b2d,_0xb6eb76,_0x418d92;if(this[_0x150786(0x2c3)]===Z[_0x150786(0x52e)]){const {unitID:_0x2acb77,mutations:_0x3441e2,memberID:_0x2ed28a}=_0x3c81d4,_0x2a35f8=_0x3441e2[0x0][_0x150786(0x1e7)][_0x150786(0x442)];Array[_0x150786(0x27c)](_0x2a35f8)&&_0x2a35f8[_0x150786(0x22b)]>0x0&&((_0x418d92=(_0xb6eb76=this['_handler'])[_0x150786(0x3be)])==null||_0x418d92[_0x150786(0x284)](_0xb6eb76,{'unitID':_0x2acb77,'memberID':_0x2ed28a,'textRanges':_0x2a35f8}));}}[_0x5c4b2d(0x305)](){var _0x3755d7=_0x5c4b2d,_0x41b16f;(_0x41b16f=this['_localCacheService'])==null||_0x41b16f[_0x3755d7(0x3af)](this[_0x3755d7(0x1a8)],this[_0x3755d7(0x2c3)],this[_0x3755d7(0x352)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x303d3a=_0x5c4b2d;return this[_0x303d3a(0x43b)][_0x303d3a(0x2b6)](this['unitID']);}[_0x5c4b2d(0x4aa)](){var _0x53e1e9=_0x5c4b2d;this['_revisionService'][_0x53e1e9(0x4ac)](this[_0x53e1e9(0x1a8)]);}[_0x5c4b2d(0x3d1)](_0x3338b4){var _0x53835d=_0x5c4b2d,_0x38211e;let _0x137963=this['_transformRemoteChangesetByIMECache'](_0x3338b4);_0x137963=this['_transformRemoteChangesetByStateCache'](_0x137963);const _0x42f038=a[_0x53835d(0x496)](_0x137963[_0x53835d(0x4a5)],this[_0x53835d(0x4e2)],{'fromCollab':!0x0});if(!_0x42f038[_0x53835d(0x349)])throw _0x42f038[_0x53835d(0x46c)]instanceof Error?_0x42f038['error']:new Error((_0x38211e=_0x42f038['error'])!=null?_0x38211e:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x137963),this[_0x53835d(0x44c)](_0x137963),this['_transformUndoredo'](_0x3338b4),this[_0x53835d(0x402)](_0x137963),this['_syncEditingCollabCursor'](_0x137963),this[_0x53835d(0x4aa)]();}}exports[_0x5c4b2d(0x255)]=class extends _e{constructor(_0xb24211,_0x43860d,_0x32decb,_0xd7c09a,_0x536292,_0x3f4cc6,_0x31ab93,_0x146576,_0x2a4d0c,_0x35b5c5){var _0xbc3ea9=_0x5c4b2d;super(_0xb24211,_0x43860d,null,[],_0x32decb,_0x31ab93,_0x3f4cc6,_0xd7c09a,_0x35b5c5),D(this,_0xbc3ea9(0x33c),_0xbc3ea9(0x2bc)),(this['_injector']=_0x536292,this[_0xbc3ea9(0x4bd)]=_0x146576,this['_transformService']=_0x2a4d0c,this['localCacheService']=_0x35b5c5);}[_0x5c4b2d(0x3b0)](_0x989d8){var _0x24dabc=_0x5c4b2d;const _0x1d4391=this[_0x24dabc(0x411)][_0x24dabc(0x210)](exports[_0x24dabc(0x245)],this[_0x24dabc(0x1a8)],this['type'],[_0x989d8],this['_handler']);return _0x1d4391['_schedule'](),_0x1d4391[_0x24dabc(0x305)](),_0x1d4391;}['onRemoteChangeset'](_0x3756a9){var _0x9a633e=_0x5c4b2d;if(this[_0x9a633e(0x355)](_0x3756a9))return this[_0x9a633e(0x411)][_0x9a633e(0x210)](exports[_0x9a633e(0x3c7)],this[_0x9a633e(0x1a8)],this[_0x9a633e(0x2c3)],null,[],null,[_0x3756a9],this['_handler']);try{const _0xaff4f0=this[_0x9a633e(0x2f9)][_0x9a633e(0x4c6)](_0x3756a9,[yn]);if(m[_0x9a633e(0x501)](_0xaff4f0)){const {c1Prime:_0x4f15a3}=_0xaff4f0;return this[_0x9a633e(0x3d1)](_0x4f15a3),this;}throw _0xaff4f0[_0x9a633e(0x46c)];}catch(_0x31df3b){return this['_logService'][_0x9a633e(0x46c)](_0x31df3b),this[_0x9a633e(0x4b5)](!0x1);}}['_onConflict'](_0x5e52bd){var _0x2bb607=_0x5c4b2d;return this['_injector'][_0x2bb607(0x210)](exports[_0x2bb607(0x20e)],this['unitID'],this[_0x2bb607(0x2c3)],null,[],this[_0x2bb607(0x2c5)],_0x5e52bd);}[_0x5c4b2d(0x36b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x1776cc=_0x5c4b2d;throw new Error(_0x1776cc(0x1f3));}[_0x5c4b2d(0x437)](){return this;}[_0x5c4b2d(0x406)](){var _0x57f5b1=_0x5c4b2d;return this[_0x57f5b1(0x411)][_0x57f5b1(0x210)](exports[_0x57f5b1(0x381)],this[_0x57f5b1(0x1a8)],this[_0x57f5b1(0x2c3)],null,[],this[_0x57f5b1(0x2c5)]);}[_0x5c4b2d(0x26e)](){return this;}[_0x5c4b2d(0x33a)](){var _0x4d9e45=_0x5c4b2d;throw new Error(_0x4d9e45(0x311));}[_0x5c4b2d(0x2de)](){var _0x4aa3c3=_0x5c4b2d;const _0x2e8747=this[_0x4aa3c3(0x43b)][_0x4aa3c3(0x2b6)](this[_0x4aa3c3(0x1a8)]);return this[_0x4aa3c3(0x2c5)]['onMissingChangesets']({'from':_0x2e8747,'to':0x0}),this[_0x4aa3c3(0x411)][_0x4aa3c3(0x210)](exports[_0x4aa3c3(0x3c7)],this[_0x4aa3c3(0x1a8)],this['type'],null,[],null,[],this['_handler']);}},exports[_0x5c4b2d(0x255)]=le([A(0x3,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x506)])),A(0x4,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),A(0x5,a[_0x5c4b2d(0x341)]),A(0x6,a[_0x5c4b2d(0x322)]),A(0x7,a[_0x5c4b2d(0x425)]),A(0x8,m[_0x5c4b2d(0x313)]),A(0x9,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x255)]),exports[_0x5c4b2d(0x245)]=class extends _e{constructor(_0x45512e,_0x1240e8,_0x4242c4,_0x4fb6ab,_0x5343a8,_0x4e9bd3,_0x1a0a06,_0x52e5e9,_0x16530b,_0x129f5e,_0x1f165f,_0x23076e,_0x57acdd,_0x5b6b1d){var _0x146d86=_0x5c4b2d;super(_0x45512e,_0x1240e8,null,_0x4242c4,_0x4fb6ab,_0x16530b,_0x57acdd,_0x4e9bd3,_0x5b6b1d),D(this,'status',_0x146d86(0x2b1)),D(this,_0x146d86(0x4cc),null),D(this,'_sendingTimer',null),(this['_injector']=_0x5343a8,this[_0x146d86(0x362)]=_0x1a0a06,this[_0x146d86(0x4bd)]=_0x52e5e9,this[_0x146d86(0x221)]=_0x129f5e,this[_0x146d86(0x2f9)]=_0x1f165f,this[_0x146d86(0x36d)]=_0x23076e);}['appendMutation'](_0xac1e5f){var _0x59881e=_0x5c4b2d;return this[_0x59881e(0x2ec)][_0x59881e(0x3d2)](_0xac1e5f),this[_0x59881e(0x305)](),this;}[_0x5c4b2d(0x478)](_0x2b1a63){var _0x3f792f=_0x5c4b2d;if(this[_0x3f792f(0x355)](_0x2b1a63))return this[_0x3f792f(0x307)](),this[_0x3f792f(0x411)][_0x3f792f(0x210)](exports[_0x3f792f(0x3c7)],this['unitID'],this[_0x3f792f(0x2c3)],null,this[_0x3f792f(0x2ec)],null,[_0x2b1a63],this[_0x3f792f(0x2c5)]);try{const _0x52930d=this[_0x3f792f(0x2f9)][_0x3f792f(0x4c6)](_0x2b1a63,this[_0x3f792f(0x2ec)]);if(m[_0x3f792f(0x501)](_0x52930d)){const {c1Prime:_0xb091c3,m2Prime:_0x598993}=_0x52930d;this[_0x3f792f(0x3d1)](_0xb091c3);const _0x387d31=this[_0x3f792f(0x411)][_0x3f792f(0x210)](exports[_0x3f792f(0x245)],this[_0x3f792f(0x1a8)],this[_0x3f792f(0x2c3)],_0x598993,this[_0x3f792f(0x2c5)]);this['_clearScheduledTask']();const _0x183bf3=new Date()['getTime'](),_0x40d413=this['_scheduleCompleteTimestamp']?Math[_0x3f792f(0x1bb)](this[_0x3f792f(0x4cc)]-_0x183bf3,0x0):this[_0x3f792f(0x377)]();return _0x387d31[_0x3f792f(0x1c7)](_0x40d413),_0x387d31;}throw _0x52930d[_0x3f792f(0x46c)];}catch(_0x48da61){return this[_0x3f792f(0x4bd)]['error'](_0x48da61),this[_0x3f792f(0x4b5)](!0x1);}}[_0x5c4b2d(0x36b)](){var _0x538675=_0x5c4b2d;throw new Error(_0x538675(0x431));}[_0x5c4b2d(0x30b)](){var _0x23abd3=_0x5c4b2d;throw new Error(_0x23abd3(0x432));}[_0x5c4b2d(0x437)](){return this;}[_0x5c4b2d(0x406)](){var _0x124957=_0x5c4b2d;return this[_0x124957(0x307)](),this[_0x124957(0x411)]['createInstance'](exports[_0x124957(0x381)],this[_0x124957(0x1a8)],this[_0x124957(0x2c3)],null,this[_0x124957(0x2ec)],this[_0x124957(0x2c5)]);}['toggleOnline'](){return this;}[_0x5c4b2d(0x1c7)](_0x273501){var _0x2052f5=_0x5c4b2d;const _0x55def3=_0x273501!=null?_0x273501:this[_0x2052f5(0x377)]();this[_0x2052f5(0x4cc)]=new Date()[_0x2052f5(0x2f2)]()+_0x55def3,this[_0x2052f5(0x1cf)]=setTimeout(()=>{var _0x4e10d6=_0x2052f5;this['_clearScheduledTask']();let _0x3b811d=null;switch(this[_0x4e10d6(0x2c3)]){case Z[_0x4e10d6(0x441)]:{_0x3b811d=Je(this[_0x4e10d6(0x2ec)],this['unitID'],this['_univerInstanceService'],this[_0x4e10d6(0x43b)],this[_0x4e10d6(0x362)]);break;}case Z['UNIVER_DOC']:{this[_0x4e10d6(0x2ec)]['every'](_0x44461f=>_0x44461f['id']===dt['RichTextEditingMutation']['id'])?_0x3b811d=On(this[_0x4e10d6(0x2ec)],this[_0x4e10d6(0x1a8)],this[_0x4e10d6(0x36d)],this['_revisionService'],this[_0x4e10d6(0x362)]):_0x3b811d=Je(this['_pendingMutations'],this[_0x4e10d6(0x1a8)],this[_0x4e10d6(0x36d)],this[_0x4e10d6(0x43b)],this[_0x4e10d6(0x362)]);break;}default:throw new Error(_0x4e10d6(0x388)+this['type']+_0x4e10d6(0x260));}const {changeset:_0x8ccb8b,pendingMutations:_0x6e3f6}=_0x3b811d;this['_handler'][_0x4e10d6(0x28f)](_0x8ccb8b);const _0x9254f3=_0x6e3f6[_0x4e10d6(0x22b)]?this['_injector'][_0x4e10d6(0x210)](exports[_0x4e10d6(0x2e9)],this[_0x4e10d6(0x1a8)],this[_0x4e10d6(0x2c3)],_0x8ccb8b,_0x6e3f6,this[_0x4e10d6(0x2c5)],void 0x0):this[_0x4e10d6(0x411)][_0x4e10d6(0x210)](exports['AwaitingState'],this['unitID'],this[_0x4e10d6(0x2c3)],_0x8ccb8b,this['_handler']);_0x9254f3[_0x4e10d6(0x305)](),this[_0x4e10d6(0x2c5)][_0x4e10d6(0x430)](this,_0x9254f3);},_0x55def3);}[_0x5c4b2d(0x377)](){var _0x5677ba=_0x5c4b2d,_0x2f784d;const _0x4f0d53=this['_configService']['getConfig'](Y);return(_0x2f784d=_0x4f0d53==null?void 0x0:_0x4f0d53[_0x5677ba(0x522)])!=null?_0x2f784d:Bt;}[_0x5c4b2d(0x33a)](){var _0x40235c=_0x5c4b2d;throw new Error(_0x40235c(0x527));}[_0x5c4b2d(0x307)](){var _0x54c874=_0x5c4b2d;this['_sendingTimer']!=null&&(clearTimeout(this[_0x54c874(0x1cf)]),this['_sendingTimer']=null);}[_0x5c4b2d(0x4b5)](_0x20b86d){var _0x1aea28=_0x5c4b2d;return this[_0x1aea28(0x307)](),this[_0x1aea28(0x411)]['createInstance'](exports[_0x1aea28(0x20e)],this[_0x1aea28(0x1a8)],this[_0x1aea28(0x2c3)],null,this[_0x1aea28(0x2ec)],this[_0x1aea28(0x2c5)],_0x20b86d);}},exports[_0x5c4b2d(0x245)]=le([A(0x4,a[_0x5c4b2d(0x241)](a['Injector'])),A(0x5,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x506)])),A(0x6,a[_0x5c4b2d(0x241)](exports['MemberService'])),A(0x7,a[_0x5c4b2d(0x425)]),A(0x8,a[_0x5c4b2d(0x322)]),A(0x9,a[_0x5c4b2d(0x3c6)]),A(0xa,m[_0x5c4b2d(0x313)]),A(0xb,a[_0x5c4b2d(0x2d3)]),A(0xc,a[_0x5c4b2d(0x341)]),A(0xd,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x245)]),exports[_0x5c4b2d(0x268)]=class extends _e{constructor(_0x504ede,_0x3f4981,_0x53b7f3,_0x479c09,_0x3efd7a,_0x4a9a9e,_0x285583,_0x5dee6a,_0x3e462f,_0x7f712f,_0x5886e9){var _0x3d5f48=_0x5c4b2d;super(_0x504ede,_0x3f4981,_0x53b7f3,[],_0x479c09,_0x285583,_0x7f712f,_0x4a9a9e,_0x5886e9),D(this,'status',_0x3d5f48(0x3ed)),D(this,_0x3d5f48(0x278),0x0),D(this,_0x3d5f48(0x2e6)),D(this,_0x3d5f48(0x407)),(this[_0x3d5f48(0x411)]=_0x3efd7a,this['_logService']=_0x5dee6a,this[_0x3d5f48(0x2f9)]=_0x3e462f);}[_0x5c4b2d(0x3b0)](_0x3e67fe){var _0x372453=_0x5c4b2d;this[_0x372453(0x307)]();const _0x3b2456=this[_0x372453(0x411)]['createInstance'](exports[_0x372453(0x2e9)],this[_0x372453(0x1a8)],this[_0x372453(0x2c3)],this[_0x372453(0x352)],[_0x3e67fe],this['_handler'],this[_0x372453(0x2e6)]);return _0x3b2456[_0x372453(0x305)](),_0x3b2456;}['onRemoteChangeset'](_0x2cc172){var _0x1a7cc4=_0x5c4b2d;if(this[_0x1a7cc4(0x355)](_0x2cc172))return this[_0x1a7cc4(0x307)](),this[_0x1a7cc4(0x411)][_0x1a7cc4(0x210)](exports['FetchingMissState'],this[_0x1a7cc4(0x1a8)],this[_0x1a7cc4(0x2c3)],this[_0x1a7cc4(0x352)],[],null,[_0x2cc172],this[_0x1a7cc4(0x2c5)]);try{const _0x485b51=this[_0x1a7cc4(0x2f9)][_0x1a7cc4(0x2b7)]([_0x2cc172],[this[_0x1a7cc4(0x352)]],!0x1);if(m[_0x1a7cc4(0x4b2)](_0x485b51)){const {c1Prime:_0x32afb8,c2Prime:_0x3f5d2b}=_0x485b51;this['_executeRemoteChangeset'](_0x32afb8[0x0]),_0x3f5d2b[0x0][_0x1a7cc4(0x274)]=this[_0x1a7cc4(0x4db)](),this[_0x1a7cc4(0x307)]();const _0x47de8e=this[_0x1a7cc4(0x411)][_0x1a7cc4(0x210)](exports['AwaitingState'],this[_0x1a7cc4(0x1a8)],this[_0x1a7cc4(0x2c3)],_0x3f5d2b[0x0],this[_0x1a7cc4(0x2c5)]);return _0x47de8e[_0x1a7cc4(0x305)](),_0x47de8e;}return this['_onConflict'](!0x1);}catch(_0x322744){return this[_0x1a7cc4(0x4bd)][_0x1a7cc4(0x46c)](_0x322744),this['_onConflict'](!0x1);}}[_0x5c4b2d(0x36b)](_0x119298){var _0xe7c10a=_0x5c4b2d;this['_clearScheduledTask']();const _0xd72065=this[_0xe7c10a(0x43b)]['getCurrentRevOfUnit'](this[_0xe7c10a(0x1a8)]);if(_0x119298[_0xe7c10a(0x25e)]<_0xd72065-0x1)return this;if(this[_0xe7c10a(0x355)](_0x119298))return this[_0xe7c10a(0x411)][_0xe7c10a(0x210)](exports['FetchingMissState'],this[_0xe7c10a(0x1a8)],this[_0xe7c10a(0x2c3)],null,[],this[_0xe7c10a(0x352)],[],this[_0xe7c10a(0x2c5)]);this[_0xe7c10a(0x4aa)]();const _0x24e1b3=this[_0xe7c10a(0x411)][_0xe7c10a(0x210)](exports[_0xe7c10a(0x255)],this[_0xe7c10a(0x1a8)],this[_0xe7c10a(0x2c3)],this[_0xe7c10a(0x2c5)]);return _0x24e1b3[_0xe7c10a(0x305)](),_0x24e1b3;}[_0x5c4b2d(0x30b)](_0x557e04){var _0x4672c0=_0x5c4b2d;return this['_onConflict'](!!(_0x557e04!=null&&_0x557e04[_0x4672c0(0x379)]));}['onRemoteRetry'](_0xe93172){var _0x4dfd07=_0x5c4b2d;return this[_0x4dfd07(0x278)]>Ut?this[_0x4dfd07(0x406)]():(this[_0x4dfd07(0x2e6)]=Nt(this['_resendTimeout'],{'timeout':this[_0x4dfd07(0x278)],'reqId':_0xe93172[_0x4dfd07(0x2f7)]}),this['_sender']=this[_0x4dfd07(0x2e6)][_0x4dfd07(0x3e6)](({reqId:_0x7eb36e,timeout:_0x5919c1})=>{var _0x5b2ffd=_0x4dfd07;this[_0x5b2ffd(0x392)](_0x7eb36e,_0x5919c1);}),this);}[_0x5c4b2d(0x406)](){var _0x201c6e=_0x5c4b2d;return this[_0x201c6e(0x307)](),this[_0x201c6e(0x411)]['createInstance'](exports[_0x201c6e(0x381)],this[_0x201c6e(0x1a8)],this[_0x201c6e(0x2c3)],this[_0x201c6e(0x352)],[],this[_0x201c6e(0x2c5)]);}[_0x5c4b2d(0x26e)](){return this;}['resend'](){var _0x303b6d=_0x5c4b2d;this['_handler'][_0x303b6d(0x28f)](this[_0x303b6d(0x352)]);}[_0x5c4b2d(0x4b5)](_0xd14cd5){var _0x587f18=_0x5c4b2d;return this['_clearScheduledTask'](),this[_0x587f18(0x411)]['createInstance'](exports['ConflictState'],this[_0x587f18(0x1a8)],this[_0x587f18(0x2c3)],this[_0x587f18(0x352)],[],this['_handler'],_0xd14cd5);}[_0x5c4b2d(0x392)](_0x5077a2,_0x331f5d){var _0x292aee=_0x5c4b2d,_0x9d1a89;_0x5077a2===((_0x9d1a89=this[_0x292aee(0x352)])==null?void 0x0:_0x9d1a89[_0x292aee(0x2f7)])&&(this['resend'](),this['_resendTimeout']=_0x331f5d===0x0?0x3e8:_0x331f5d*0x2);}[_0x5c4b2d(0x307)](){var _0x43adb9=_0x5c4b2d,_0x4367dd;(_0x4367dd=this[_0x43adb9(0x407)])==null||_0x4367dd['unsubscribe'](),this[_0x43adb9(0x278)]=0x0;}},exports[_0x5c4b2d(0x268)]=le([A(0x4,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),A(0x5,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x506)])),A(0x6,a[_0x5c4b2d(0x322)]),A(0x7,a[_0x5c4b2d(0x425)]),A(0x8,m['ITransformService']),A(0x9,a[_0x5c4b2d(0x341)]),A(0xa,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x268)]),exports[_0x5c4b2d(0x2e9)]=class extends _e{constructor(_0x42500f,_0x2a0693,_0x233e98,_0x3dd19f,_0x4e65d6,_0x65c9a4,_0x5a8e5a,_0x49b8f7,_0x530572,_0x2c6db2,_0x3116e1,_0x5b4a60,_0x59e12b){var _0x2249c8=_0x5c4b2d;super(_0x42500f,_0x2a0693,_0x233e98,_0x3dd19f,_0x4e65d6,_0x530572,_0x5b4a60,_0x49b8f7,_0x59e12b),D(this,_0x2249c8(0x33c),_0x2249c8(0x21e)),D(this,_0x2249c8(0x278),0x0),D(this,_0x2249c8(0x2e6)),D(this,'_sender'),(this[_0x2249c8(0x411)]=_0x5a8e5a,this[_0x2249c8(0x4bd)]=_0x2c6db2,this['_transformService']=_0x3116e1,this[_0x2249c8(0x306)]=_0x59e12b,_0x65c9a4&&(this[_0x2249c8(0x2e6)]=_0x65c9a4,this[_0x2249c8(0x407)]=this['_resendTimer']['subscribe'](({reqId:_0x16962c,timeout:_0x1ebdb9})=>{this['_resendWithTimeout'](_0x16962c,_0x1ebdb9);})));}[_0x5c4b2d(0x3b0)](_0x294d98){var _0x33020f=_0x5c4b2d;return this[_0x33020f(0x2ec)][_0x33020f(0x3d2)](_0x294d98),this;}[_0x5c4b2d(0x478)](_0x3bbce4){var _0x127f7c=_0x5c4b2d;if(this[_0x127f7c(0x355)](_0x3bbce4))return this[_0x127f7c(0x307)](),this[_0x127f7c(0x411)]['createInstance'](exports[_0x127f7c(0x3c7)],this[_0x127f7c(0x1a8)],this[_0x127f7c(0x2c3)],this['_awaitingChangeset'],this[_0x127f7c(0x2ec)],null,[_0x3bbce4],this['_handler']);try{const _0x53bb83=this[_0x127f7c(0x2f9)][_0x127f7c(0x2b7)]([_0x3bbce4],[this['_awaitingChangeset']],!0x1);if(m[_0x127f7c(0x4b2)](_0x53bb83)){const {c1Prime:_0x146906,c2Prime:_0x43e3fc}=_0x53bb83,_0x580c83=this['_transformService'][_0x127f7c(0x4c6)](_0x146906[0x0],this[_0x127f7c(0x2ec)]);if(m[_0x127f7c(0x501)](_0x580c83)){const {c1Prime:_0x12daed,m2Prime:_0x19b3dd}=_0x580c83;return this[_0x127f7c(0x3d1)](_0x12daed),_0x43e3fc[0x0][_0x127f7c(0x274)]=this[_0x127f7c(0x4db)](),this[_0x127f7c(0x307)](),this[_0x127f7c(0x411)][_0x127f7c(0x210)](exports[_0x127f7c(0x2e9)],this[_0x127f7c(0x1a8)],this[_0x127f7c(0x2c3)],_0x43e3fc[0x0],_0x19b3dd,this[_0x127f7c(0x2c5)],void 0x0);}throw _0x580c83[_0x127f7c(0x46c)];}throw _0x53bb83[_0x127f7c(0x46c)];}catch(_0x54e071){return this['_logService']['error'](_0x54e071),this['_onConflict'](!0x1);}}[_0x5c4b2d(0x36b)](_0x2506b){var _0x22e257=_0x5c4b2d;if(this[_0x22e257(0x307)](),this[_0x22e257(0x355)](_0x2506b))return this[_0x22e257(0x411)][_0x22e257(0x210)](exports['FetchingMissState'],this['unitID'],this[_0x22e257(0x2c3)],null,this[_0x22e257(0x2ec)],this[_0x22e257(0x352)],[],this[_0x22e257(0x2c5)]);this[_0x22e257(0x4aa)]();const _0x5d13a6=this[_0x22e257(0x411)][_0x22e257(0x210)](exports[_0x22e257(0x245)],this[_0x22e257(0x1a8)],this[_0x22e257(0x2c3)],this['_pendingMutations'],this['_handler']);return _0x5d13a6[_0x22e257(0x1c7)](),_0x5d13a6[_0x22e257(0x305)](),_0x5d13a6;}['onRemoteRej'](_0x78e5ca){var _0x32c977=_0x5c4b2d;return this[_0x32c977(0x4b5)](!!(_0x78e5ca!=null&&_0x78e5ca['isPermissionRej']));}[_0x5c4b2d(0x437)](_0x1ca2a9){var _0x5a7816=_0x5c4b2d;return this['_resendTimeout']>Ut?this[_0x5a7816(0x406)]():(this[_0x5a7816(0x2e6)]=Nt(this[_0x5a7816(0x278)],{'timeout':this[_0x5a7816(0x278)],'reqId':_0x1ca2a9[_0x5a7816(0x2f7)]}),this[_0x5a7816(0x407)]=this[_0x5a7816(0x2e6)][_0x5a7816(0x3e6)](({reqId:_0x1371d5,timeout:_0x3f0766})=>{var _0x11505e=_0x5a7816;this[_0x11505e(0x392)](_0x1371d5,_0x3f0766);}),this);}[_0x5c4b2d(0x406)](){var _0x2e011d=_0x5c4b2d;return this[_0x2e011d(0x307)](),this[_0x2e011d(0x411)][_0x2e011d(0x210)](exports[_0x2e011d(0x381)],this[_0x2e011d(0x1a8)],this[_0x2e011d(0x2c3)],this[_0x2e011d(0x352)],this[_0x2e011d(0x2ec)],this[_0x2e011d(0x2c5)]);}['toggleOnline'](){return this;}[_0x5c4b2d(0x33a)](){var _0x190909=_0x5c4b2d;this[_0x190909(0x2c5)][_0x190909(0x28f)](this[_0x190909(0x352)]);}[_0x5c4b2d(0x4b5)](_0x484d9e){var _0x15dbcd=_0x5c4b2d;return this[_0x15dbcd(0x307)](),this[_0x15dbcd(0x411)][_0x15dbcd(0x210)](exports[_0x15dbcd(0x20e)],this['unitID'],this[_0x15dbcd(0x2c3)],null,this[_0x15dbcd(0x2ec)],this[_0x15dbcd(0x2c5)],_0x484d9e);}[_0x5c4b2d(0x392)](_0x44cf79,_0x506e23){var _0x5c9fc1=_0x5c4b2d,_0x45d380;_0x44cf79===((_0x45d380=this['_awaitingChangeset'])==null?void 0x0:_0x45d380['reqId'])&&(this[_0x5c9fc1(0x33a)](),this['_resendTimeout']=_0x506e23===0x0?0x3e8:_0x506e23*0x2);}['_clearScheduledTask'](){var _0x1aaac0;(_0x1aaac0=this['_sender'])==null||_0x1aaac0['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x5c4b2d(0x2e9)]=le([A(0x6,a[_0x5c4b2d(0x241)](a['Injector'])),A(0x7,a['Inject'](m['RevisionService'])),A(0x8,a[_0x5c4b2d(0x322)]),A(0x9,a[_0x5c4b2d(0x425)]),A(0xa,m[_0x5c4b2d(0x313)]),A(0xb,a[_0x5c4b2d(0x341)]),A(0xc,a[_0x5c4b2d(0x524)](z))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends _e{constructor(_0x8a66d3,_0xd0bace,_0x3d87c9,_0x2b47a2,_0xf336aa,_0x13e1a5=!0x1,_0x48a3e5,_0x5300a2,_0x48b5a0,_0x19d224,_0x52c619,_0x10a414,_0x400f8f){var _0x47c5df=_0x5c4b2d;super(_0x8a66d3,_0xd0bace,_0x3d87c9,_0x2b47a2,_0xf336aa,_0x5300a2,_0x48b5a0,_0x19d224,_0x400f8f),D(this,_0x47c5df(0x33c),'conflict'),(this[_0x47c5df(0x257)]=_0x13e1a5,this[_0x47c5df(0x2a6)]=_0x48a3e5,this['_localeService']=_0x52c619,this[_0x47c5df(0x207)]=_0x10a414,this[_0x47c5df(0x306)]=_0x400f8f,this[_0x47c5df(0x334)](),this[_0x47c5df(0x2d5)](),this[_0x47c5df(0x31b)]());}['appendMutation'](){return this;}[_0x5c4b2d(0x478)](){return this;}[_0x5c4b2d(0x36b)](){return this;}[_0x5c4b2d(0x30b)](){return this;}[_0x5c4b2d(0x437)](){return this;}[_0x5c4b2d(0x406)](){return this;}[_0x5c4b2d(0x26e)](){return this;}[_0x5c4b2d(0x33a)](){var _0x51a139=_0x5c4b2d;throw new Error(_0x51a139(0x463));}[_0x5c4b2d(0x2d5)](){var _0x587f33=_0x5c4b2d,_0x5933ef;(_0x5933ef=this['_localCacheService'])==null||_0x5933ef[_0x587f33(0x3af)](this[_0x587f33(0x1a8)],this[_0x587f33(0x2c3)],null,[]);}[_0x5c4b2d(0x334)](){var _0x1ec271=_0x5c4b2d;this['_isPermissionRej']?this[_0x1ec271(0x207)][_0x1ec271(0x4cb)]({'id':Q[_0x1ec271(0x3bb)]}):this[_0x1ec271(0x207)]['emitEvent']({'id':Q[_0x1ec271(0x4fb)]});}[_0x5c4b2d(0x31b)](){var _0x3976a3=_0x5c4b2d;this[_0x3976a3(0x2a6)]['updatePermissionPoint'](new J[(_0x3976a3(0x2c1))](this[_0x3976a3(0x1a8)])['id'],!0x1);}},exports[_0x5c4b2d(0x20e)]=le([A(0x6,a['Inject'](a['IPermissionService'])),A(0x7,a[_0x5c4b2d(0x322)]),A(0x8,a[_0x5c4b2d(0x341)]),A(0x9,a[_0x5c4b2d(0x241)](m['RevisionService'])),A(0xa,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x3c9)])),A(0xb,a[_0x5c4b2d(0x241)](te)),A(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x5c4b2d(0x381)]=class extends _e{constructor(_0x44c3c0,_0x3b9550,_0x4c8f40,_0x1af0dc,_0x439c89,_0x27be24,_0x2100f6,_0x22c033,_0xe3bb11,_0xf6d511){var _0x24c1d6=_0x5c4b2d;super(_0x44c3c0,_0x3b9550,_0x4c8f40,_0x1af0dc,_0x439c89,_0x22c033,_0xe3bb11,_0x2100f6,_0xf6d511),D(this,_0x24c1d6(0x33c),_0x24c1d6(0x43c)),this[_0x24c1d6(0x411)]=_0x27be24;}['appendMutation'](_0x4df276){var _0x26ecd1=_0x5c4b2d;return this[_0x26ecd1(0x2ec)][_0x26ecd1(0x3d2)](_0x4df276),this[_0x26ecd1(0x305)](),this;}[_0x5c4b2d(0x478)](_0x34cabb){var _0x4c8dd4=_0x5c4b2d;throw new Error(_0x4c8dd4(0x3fd));}[_0x5c4b2d(0x36b)](){var _0x59045f=_0x5c4b2d;throw new Error(_0x59045f(0x276));}[_0x5c4b2d(0x30b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5c4b2d(0x437)](){return this;}[_0x5c4b2d(0x406)](){return this;}[_0x5c4b2d(0x26e)](){var _0x1a1e18=_0x5c4b2d;const {_injector:_0x41e01a,_pendingMutations:_0x20706c,_awaitingChangeset:_0xd6784c,unitID:_0x2f8ccb,_handler:_0x452501,type:_0x175ec0}=this,_0x3eb392=Pt(_0x41e01a,_0x2f8ccb,_0x175ec0,_0xd6784c,_0x20706c,_0x452501);return _0x3eb392 instanceof exports[_0x1a1e18(0x245)]?_0x3eb392['_schedule']():(_0x3eb392 instanceof exports[_0x1a1e18(0x2e9)]||_0x3eb392 instanceof exports[_0x1a1e18(0x268)])&&_0x3eb392['resend'](),_0x3eb392;}[_0x5c4b2d(0x33a)](){var _0x1ab631=_0x5c4b2d;throw new Error(_0x1ab631(0x2b0));}},exports[_0x5c4b2d(0x381)]=le([A(0x5,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),A(0x6,a['Inject'](m[_0x5c4b2d(0x506)])),A(0x7,a['ICommandService']),A(0x8,a[_0x5c4b2d(0x341)]),A(0x9,a[_0x5c4b2d(0x524)](z))],exports['OfflineState']),exports[_0x5c4b2d(0x3c7)]=class extends _e{constructor(_0x21356e,_0x3b022a,_0x133b68,_0x203b0c,_0x14dbff,_0x555614,_0x1ec37f,_0x5cef66,_0x309d76,_0x2a705d,_0x3ad2c8,_0x410d50,_0x3d1b28,_0x157832){var _0x36edad=_0x5c4b2d;super(_0x21356e,_0x3b022a,_0x133b68,_0x203b0c,_0x1ec37f,_0x3ad2c8,_0x410d50,_0x309d76,_0x157832),D(this,_0x36edad(0x33c),_0x36edad(0x371)),(this[_0x36edad(0x4fe)]=_0x14dbff,this[_0x36edad(0x45c)]=_0x555614,this[_0x36edad(0x411)]=_0x5cef66,this[_0x36edad(0x4bd)]=_0x2a705d,this['_transformService']=_0x3d1b28,this[_0x36edad(0x306)]=_0x157832);}['onMissedChangesetFetched'](_0x12878f){var _0xe8e6c6=_0x5c4b2d;try{const _0x2f0685=[..._0x12878f,...this['_queuedRemoteChangesets']],_0x1eaeef=[this[_0xe8e6c6(0x352)]||this[_0xe8e6c6(0x4fe)]][_0xe8e6c6(0x439)](_0x4b1700=>!!_0x4b1700);let _0x1d7780,_0x394175;if(_0x1eaeef['length']){const _0x1fdc27=this['_transformService'][_0xe8e6c6(0x2b7)](_0x2f0685,_0x1eaeef,!0x1);if(!m[_0xe8e6c6(0x4b2)](_0x1fdc27))throw _0x1fdc27['error'];_0x1d7780=_0x1fdc27[_0xe8e6c6(0x1b6)],_0x394175=_0x1fdc27[_0xe8e6c6(0x2e7)];}else _0x1d7780=_0x2f0685,_0x394175=[];let _0x24d62e=this[_0xe8e6c6(0x2ec)];_0x1d7780[_0xe8e6c6(0x332)](_0x27ef04=>{var _0x12201b=_0xe8e6c6;let _0x149781;if(_0x24d62e['length']){const _0x842e28=this[_0x12201b(0x2f9)]['transformMutationsWithChangeset'](_0x27ef04,_0x24d62e);if(!m[_0x12201b(0x501)](_0x842e28))throw _0x842e28[_0x12201b(0x46c)];_0x149781=_0x842e28['c1Prime'],_0x24d62e=_0x842e28[_0x12201b(0x482)];}else _0x149781=_0x27ef04;this[_0x12201b(0x3d1)](_0x149781);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x394175[_0xe8e6c6(0x22b)]&&(_0x394175[0x0]['baseRev']=this['_getCurrentRevision']());let _0x2228af;if(this[_0xe8e6c6(0x352)]&&_0x24d62e[_0xe8e6c6(0x22b)]!==0x0)_0x2228af=this[_0xe8e6c6(0x411)][_0xe8e6c6(0x210)](exports[_0xe8e6c6(0x2e9)],this[_0xe8e6c6(0x1a8)],this['type'],_0x394175[0x0],_0x24d62e,this[_0xe8e6c6(0x2c5)],void 0x0);else{if(this['_awaitingChangeset']&&_0x24d62e[_0xe8e6c6(0x22b)]===0x0)_0x394175[0x0][_0xe8e6c6(0x274)]=this['_getCurrentRevision'](),_0x2228af=this[_0xe8e6c6(0x411)]['createInstance'](exports[_0xe8e6c6(0x268)],this['unitID'],this[_0xe8e6c6(0x2c3)],_0x394175[0x0],this[_0xe8e6c6(0x2c5)]);else{if(_0x24d62e[_0xe8e6c6(0x22b)]!==0x0){const _0x929c99=this[_0xe8e6c6(0x411)][_0xe8e6c6(0x210)](exports['PendingState'],this['unitID'],this[_0xe8e6c6(0x2c3)],_0x24d62e,this[_0xe8e6c6(0x2c5)]);_0x929c99[_0xe8e6c6(0x1c7)](),_0x2228af=_0x929c99;}else _0x2228af=this[_0xe8e6c6(0x411)][_0xe8e6c6(0x210)](exports[_0xe8e6c6(0x255)],this['unitID'],this[_0xe8e6c6(0x2c3)],this[_0xe8e6c6(0x2c5)]);}}return _0x2228af[_0xe8e6c6(0x305)](),_0x2228af;}catch(_0x455546){return this[_0xe8e6c6(0x4bd)][_0xe8e6c6(0x46c)](_0xe8e6c6(0x2f6),'failed\x20to\x20apply\x20missed\x20changesets!',_0x455546),this[_0xe8e6c6(0x411)][_0xe8e6c6(0x210)](exports['ConflictState'],this[_0xe8e6c6(0x1a8)],this[_0xe8e6c6(0x2c3)],this[_0xe8e6c6(0x352)],this[_0xe8e6c6(0x2ec)],this[_0xe8e6c6(0x2c5)],!0x1);}}[_0x5c4b2d(0x33a)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c4b2d(0x3b0)](_0x3a9dd7){var _0x15c2be=_0x5c4b2d;return this['_pendingMutations'][_0x15c2be(0x3d2)](_0x3a9dd7),this;}['onRemoteChangeset'](_0x589b94){return this['_queuedRemoteChangesets']['push'](_0x589b94),this;}['onRemoteAck'](_0x6b79d3){var _0x4f11c4=_0x5c4b2d;if(this['_awaitingChangeset'])return this[_0x4f11c4(0x4fe)]=this[_0x4f11c4(0x352)],this[_0x4f11c4(0x352)]=null,this;throw new Error(_0x4f11c4(0x472));}[_0x5c4b2d(0x30b)](_0x5c9337){var _0x59b8e6=_0x5c4b2d;return this[_0x59b8e6(0x4b5)](!!(_0x5c9337!=null&&_0x5c9337[_0x59b8e6(0x379)]));}[_0x5c4b2d(0x437)](){return this;}[_0x5c4b2d(0x406)](){var _0x5d7f2d=_0x5c4b2d;return this[_0x5d7f2d(0x411)][_0x5d7f2d(0x210)](exports[_0x5d7f2d(0x381)],this[_0x5d7f2d(0x1a8)],this[_0x5d7f2d(0x2c3)],this['_awaitingChangeset'],this[_0x5d7f2d(0x2ec)],this[_0x5d7f2d(0x2c5)]);}[_0x5c4b2d(0x26e)](){return this;}[_0x5c4b2d(0x4b5)](_0x4e95a9){var _0x3aec69=_0x5c4b2d;return this[_0x3aec69(0x411)][_0x3aec69(0x210)](exports[_0x3aec69(0x20e)],this[_0x3aec69(0x1a8)],this[_0x3aec69(0x2c3)],this[_0x3aec69(0x352)],this[_0x3aec69(0x2ec)],this[_0x3aec69(0x2c5)],_0x4e95a9);}},exports[_0x5c4b2d(0x3c7)]=le([A(0x7,a[_0x5c4b2d(0x241)](a['Injector'])),A(0x8,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x506)])),A(0x9,a[_0x5c4b2d(0x425)]),A(0xa,a[_0x5c4b2d(0x322)]),A(0xb,a['IUndoRedoService']),A(0xc,m['ITransformService']),A(0xd,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x3c7)]);function Pt(_0x401ced,_0x2b683f,_0x2dd13a,_0x41d17f,_0x246d16,_0x1cf720){var _0x471308=_0x5c4b2d;return _0x41d17f&&_0x246d16['length']?_0x401ced[_0x471308(0x210)](exports[_0x471308(0x2e9)],_0x2b683f,_0x2dd13a,_0x41d17f,_0x246d16,_0x1cf720,void 0x0):_0x41d17f?_0x401ced[_0x471308(0x210)](exports['AwaitingState'],_0x2b683f,_0x2dd13a,_0x41d17f,_0x1cf720):_0x246d16['length']?_0x401ced[_0x471308(0x210)](exports[_0x471308(0x245)],_0x2b683f,_0x2dd13a,_0x246d16,_0x1cf720):_0x401ced[_0x471308(0x210)](exports[_0x471308(0x255)],_0x2b683f,_0x2dd13a,_0x1cf720);}var Pn=Object[_0x5c4b2d(0x1d2)],Dn=Object[_0x5c4b2d(0x458)],Ge=(_0x5793c2,_0x40a3ef,_0x1aef76,_0x582856)=>{var _0xfdcec1=_0x5c4b2d;for(var _0xa116b9=_0x582856>0x1?void 0x0:_0x582856?Dn(_0x40a3ef,_0x1aef76):_0x40a3ef,_0x3e8033=_0x5793c2[_0xfdcec1(0x22b)]-0x1,_0x2d736d;_0x3e8033>=0x0;_0x3e8033--)(_0x2d736d=_0x5793c2[_0x3e8033])&&(_0xa116b9=(_0x582856?_0x2d736d(_0x40a3ef,_0x1aef76,_0xa116b9):_0x2d736d(_0xa116b9))||_0xa116b9);return _0x582856&&_0xa116b9&&Pn(_0x40a3ef,_0x1aef76,_0xa116b9),_0xa116b9;},k=(_0x3b0ec9,_0x3e3fb6)=>(_0x624d13,_0x50bcc7)=>_0x3e3fb6(_0x624d13,_0x50bcc7,_0x3b0ec9);exports[_0x5c4b2d(0x254)]=class extends a[_0x5c4b2d(0x4a9)]{constructor(_0x5e00ea,_0x17d174,_0x23821b,_0x1b0fbe,_0x7a69eb,_0x3be41c,_0xa270d5,_0x35d927,_0x40c75c,_0x19911c,_0x52ca8,_0x396cd6,_0x3a54d6){var _0x342177=_0x5c4b2d;super(),D(this,_0x342177(0x36e),new H[(_0x342177(0x281))](null)),D(this,_0x342177(0x2f1),this[_0x342177(0x36e)][_0x342177(0x259)]()),D(this,_0x342177(0x4bf)),D(this,_0x342177(0x359),!0x1),D(this,_0x342177(0x40c),''),D(this,_0x342177(0x47a),0x0),D(this,_0x342177(0x52d),this[_0x342177(0x2f1)][_0x342177(0x4a6)](H['map'](_0x292b14=>_0x292b14?_0x292b14[_0x342177(0x33c)]:We['OFFLINE']),H[_0x342177(0x2a8)](0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x5e00ea,this[_0x342177(0x445)]=_0x17d174,this[_0x342177(0x27e)]=_0x23821b,this[_0x342177(0x411)]=_0x1b0fbe,this['_compressMutationService']=_0x7a69eb,this['_localeService']=_0x3be41c,this[_0x342177(0x43b)]=_0xa270d5,this[_0x342177(0x1d9)]=_0x35d927,this['_logService']=_0x40c75c,this[_0x342177(0x4e2)]=_0x19911c,this[_0x342177(0x2a6)]=_0x52ca8,this[_0x342177(0x2a3)]=_0x396cd6,this[_0x342177(0x44a)]=_0x3a54d6);}get[_0x5c4b2d(0x37d)](){var _0x35d4b4=_0x5c4b2d;return this[_0x35d4b4(0x4bf)];}async[_0x5c4b2d(0x38b)](){var _0xb74bde=_0x5c4b2d;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xb74bde(0x397)]();}[_0x5c4b2d(0x1c0)](){var _0x3b816b=_0x5c4b2d;return this['_collaborationPaused']=!0x0,a[_0x3b816b(0x385)](()=>{var _0x4790ac=_0x3b816b;this[_0x4790ac(0x359)]=!0x1,this[_0x4790ac(0x3c2)]();});}['onLocalMutation'](_0x32c485){var _0x4c1cd4=_0x5c4b2d;this[_0x4c1cd4(0x231)](_0x32c485);}['_updateState'](_0x343185){var _0x393846=_0x5c4b2d;this[_0x393846(0x4bf)]=_0x343185,this['_state$'][_0x393846(0x314)](_0x343185);}async[_0x5c4b2d(0x397)](){var _0x2dc7b2=_0x5c4b2d,_0x457b36;this[_0x2dc7b2(0x46e)](await this[_0x2dc7b2(0x24c)]()),this[_0x2dc7b2(0x2a3)]&&((_0x457b36=this[_0x2dc7b2(0x2a3)])==null||_0x457b36[_0x2dc7b2(0x35b)](this[_0x2dc7b2(0x1a8)]),this[_0x2dc7b2(0x46f)](this[_0x2dc7b2(0x2a3)][_0x2dc7b2(0x1f7)](this[_0x2dc7b2(0x1a8)])[_0x2dc7b2(0x3e6)](_0x3130dd=>{var _0x575810=_0x2dc7b2;this[_0x575810(0x4bd)]['debug'](_0x575810(0x252),_0x575810(0x22f),_0x3130dd),_0x3130dd===Fe[_0x575810(0x1f1)]?(this['_eventService']['emitEvent']({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x575810(0x269)](new J[(_0x575810(0x2c1))](this[_0x575810(0x1a8)])['id'],!0x1),this[_0x575810(0x2a6)][_0x575810(0x3ec)](!0x1)):(this[_0x575810(0x2a6)][_0x575810(0x269)](new J[(_0x575810(0x2c1))](this[_0x575810(0x1a8)])['id'],!0x0),this[_0x575810(0x2a6)][_0x575810(0x3ec)](!0x0));})));let _0x21acc2=!0x1;return this['disposeWithMe'](this[_0x2dc7b2(0x445)]['sessionStatus$'][_0x2dc7b2(0x3e6)](_0x4d2957=>{var _0x5ea0ea=_0x2dc7b2;_0x4d2957===se['ONLINE']?this[_0x5ea0ea(0x234)](_0x21acc2):_0x4d2957===se[_0x5ea0ea(0x4ff)]&&(_0x21acc2=!0x0,this[_0x5ea0ea(0x376)]());})),this[_0x2dc7b2(0x46f)](this['session'][_0x2dc7b2(0x503)][_0x2dc7b2(0x3e6)](_0x20200d=>{var _0x27b107=_0x2dc7b2;try{switch(_0x20200d[_0x27b107(0x342)]){case m[_0x27b107(0x2a5)][_0x27b107(0x290)]:{this[_0x27b107(0x225)](m['parseProtocolChangeset'](_0x20200d[_0x27b107(0x3e3)]));break;}case m[_0x27b107(0x2a5)][_0x27b107(0x455)]:{this[_0x27b107(0x507)](_0x20200d[_0x27b107(0x3e3)]);break;}case m[_0x27b107(0x2a5)][_0x27b107(0x303)]:{this[_0x27b107(0x2d9)]();break;}case m['CollaborationEvent'][_0x27b107(0x47d)]:{this[_0x27b107(0x475)](_0x20200d['data']);break;}case m[_0x27b107(0x2a5)][_0x27b107(0x4b7)]:{this[_0x27b107(0x357)](_0x20200d[_0x27b107(0x3e3)][_0x27b107(0x4c9)][_0x27b107(0x364)](_0x4aeb76=>m[_0x27b107(0x3ad)](_0x4aeb76)));break;}case m[_0x27b107(0x2a5)][_0x27b107(0x2c7)]:{this[_0x27b107(0x2d9)]({'isPermissionRej':!0x0});break;}case m[_0x27b107(0x2a5)]['UNISCRIPT_RUN']:break;}}catch(_0x762b0f){throw console[_0x27b107(0x46c)](_0x27b107(0x457),_0x762b0f),_0x762b0f;}})),this[_0x2dc7b2(0x4bf)];}[_0x5c4b2d(0x3d5)](){var _0x5ed0a7=_0x5c4b2d;this[_0x5ed0a7(0x1fa)]=!0x1;}['_lockTransition'](){var _0x451069=_0x5c4b2d;if(this[_0x451069(0x1fa)])throw new Error(_0x451069(0x511));this['_transitionLocked']=!0x0;}[_0x5c4b2d(0x231)](_0x3884d2){var _0x9ff9ed=_0x5c4b2d;this['_lockTransition'](),this[_0x9ff9ed(0x46e)](this[_0x9ff9ed(0x4bf)][_0x9ff9ed(0x3b0)](_0x3884d2)),this['_unlockTransition']();}[_0x5c4b2d(0x225)](_0xb09b66){var _0x10b3d5=_0x5c4b2d;if(!(_0xb09b66[_0x10b3d5(0x25e)]<=this[_0x10b3d5(0x43b)][_0x10b3d5(0x2b6)](this[_0x10b3d5(0x1a8)]))){if(this[_0x10b3d5(0x359)]){this[_0x10b3d5(0x2b9)][_0x10b3d5(0x3d2)](_0xb09b66);return;}this['_applyRemoteChangeset'](_0xb09b66);}}['_exhaustRemoteChangesetQueue'](){var _0x280ba4=_0x5c4b2d;this['_remoteChangesetQueue'][_0x280ba4(0x332)](_0x1c2723=>this[_0x280ba4(0x4d8)](_0x1c2723)),this[_0x280ba4(0x2b9)]=[];}['_applyRemoteChangeset'](_0x5c7685){var _0x219c99=_0x5c4b2d;const _0x3bff28=this[_0x219c99(0x4f0)][_0x219c99(0x4d3)][_0x219c99(0x344)](this['_compressMutationService'][_0x219c99(0x4d3)][_0x219c99(0x30e)]()[_0x219c99(0x46a)])(_0x5c7685[_0x219c99(0x4a5)],null)||_0x5c7685[_0x219c99(0x4a5)],_0x47bb56={..._0x5c7685,'mutations':_0x3bff28};this[_0x219c99(0x31c)](),this['_updateState'](this[_0x219c99(0x4bf)]['onRemoteChangeset'](_0x47bb56)),this[_0x219c99(0x3d5)]();}[_0x5c4b2d(0x507)](_0x570c00){var _0x3833a8=_0x5c4b2d;this[_0x3833a8(0x31c)](),this[_0x3833a8(0x46e)](this['_state'][_0x3833a8(0x36b)](_0x570c00)),this['_unlockTransition']();}[_0x5c4b2d(0x2d9)](_0x5c91a6){var _0x41f896=_0x5c4b2d;this['_lockTransition'](),this[_0x41f896(0x46e)](this[_0x41f896(0x4bf)]['onRemoteRej'](_0x5c91a6)),this[_0x41f896(0x3d5)]();}[_0x5c4b2d(0x475)](_0x47516e){var _0x3c810b=_0x5c4b2d;this[_0x3c810b(0x31c)](),this[_0x3c810b(0x46e)](this[_0x3c810b(0x4bf)][_0x3c810b(0x437)](_0x47516e)),this[_0x3c810b(0x3d5)]();}[_0x5c4b2d(0x357)](_0x40fda3){var _0x9232e6=_0x5c4b2d;if(!(this[_0x9232e6(0x4bf)]instanceof exports[_0x9232e6(0x3c7)]))throw new TypeError(_0x9232e6(0x2cf));const _0x188647=_0x40fda3[_0x9232e6(0x364)](_0x166a6b=>{var _0x5a2547=_0x9232e6;const _0x47c9e6=this[_0x5a2547(0x4f0)][_0x5a2547(0x4d3)][_0x5a2547(0x344)](this['_compressMutationService'][_0x5a2547(0x4d3)]['getInterceptPoints']()[_0x5a2547(0x46a)])(_0x166a6b['mutations'],null)||_0x166a6b['mutations'];return{..._0x166a6b,'mutations':_0x47c9e6};});this[_0x9232e6(0x31c)](),this[_0x9232e6(0x46e)](this[_0x9232e6(0x4bf)][_0x9232e6(0x2ac)](_0x188647)),this[_0x9232e6(0x3d5)]();}['_toggleOffline'](){var _0x35e561=_0x5c4b2d;this[_0x35e561(0x31c)](),this[_0x35e561(0x46e)](this[_0x35e561(0x4bf)][_0x35e561(0x406)]()),this[_0x35e561(0x3d5)]();}[_0x5c4b2d(0x234)](_0xc49f8=!0x1){var _0x45fd88=_0x5c4b2d;this[_0x45fd88(0x31c)](),this[_0x45fd88(0x46e)](this[_0x45fd88(0x4bf)][_0x45fd88(0x26e)]()),this[_0x45fd88(0x3d5)]();const _0x5acceb=this[_0x45fd88(0x4bf)];_0xc49f8&&_0x5acceb instanceof exports[_0x45fd88(0x255)]&&(this[_0x45fd88(0x31c)](),this['_updateState'](_0x5acceb[_0x45fd88(0x2de)]()),this[_0x45fd88(0x3d5)]());}async[_0x5c4b2d(0x24c)](){return new Promise(_0x5af761=>{var _0x185917=_0x1ccf;this[_0x185917(0x445)][_0x185917(0x50e)]['pipe'](H[_0x185917(0x302)](0x1))['subscribe'](async _0x70ff0d=>{var _0x3956be=_0x185917;_0x5af761(await this[_0x3956be(0x343)](_0x70ff0d===se[_0x3956be(0x1c1)]));});});}[_0x5c4b2d(0x3d0)](){var _0x3fafd2=_0x5c4b2d;const _0x5a9e13=this[_0x3fafd2(0x1a8)];return{'onStateChange':(_0x357036,_0x2805e4)=>{var _0x1e1a02=_0x3fafd2;if(_0x357036!==this['_state'])throw new Error(_0x1e1a02(0x4df)+_0x357036[_0x1e1a02(0x33c)]+_0x1e1a02(0x2c0)+_0x2805e4[_0x1e1a02(0x33c)]+_0x1e1a02(0x4b8)+this[_0x1e1a02(0x4bf)][_0x1e1a02(0x33c)]);this[_0x1e1a02(0x46e)](_0x2805e4);},'onSendChangeset':_0x124426=>{var _0x37785a=_0x3fafd2;_0x124426['sid']||(_0x124426['sid']=this[_0x37785a(0x40c)],_0x124426[_0x37785a(0x2f7)]=++this[_0x37785a(0x47a)]);const _0x5f5a45={'eventID':m['CollaborationEvent'][_0x37785a(0x367)],'data':{'unitID':_0x124426[_0x37785a(0x1a8)],'unitType':this[_0x37785a(0x27e)],'changeset':_0x124426,'memberID':this[_0x37785a(0x445)][_0x37785a(0x1f8)]()}};this[_0x37785a(0x445)][_0x37785a(0x443)](_0x5f5a45,this['unitID']);},'onMissingChangesets':({from:_0x1963e8,to:_0x2d53ac})=>{var _0x59d5e7=_0x3fafd2;this['_logService']['debug']('[CollaborationEntity]',_0x59d5e7(0x51c)+_0x1963e8+_0x59d5e7(0x363)+_0x2d53ac);const _0x51d817={'eventID':m[_0x59d5e7(0x2a5)][_0x59d5e7(0x3b3)],'data':{'unitID':_0x5a9e13,'unitType':this['_type'],'from':_0x1963e8,'to':_0x2d53ac}};this[_0x59d5e7(0x445)]['send'](_0x51d817,this['unitID']);}};}async[_0x5c4b2d(0x343)](_0xc4b069){var _0x238a2a=_0x5c4b2d,_0x2e387d,_0x306051,_0x2ed8a9;const _0x531bff=await((_0x2e387d=this['_localCacheService'])==null?void 0x0:_0x2e387d[_0x238a2a(0x347)](this[_0x238a2a(0x1a8)])),_0x5cb6a7=(_0x306051=_0x531bff==null?void 0x0:_0x531bff[_0x238a2a(0x4a5)])!=null?_0x306051:[],_0x58dfdb=(_0x2ed8a9=_0x531bff==null?void 0x0:_0x531bff['awaitingChangeset'])!=null?_0x2ed8a9:null,_0x214b2b=!!(_0x58dfdb!=null&&_0x58dfdb[_0x238a2a(0x494)])&&!!(_0x58dfdb!=null&&_0x58dfdb[_0x238a2a(0x2f7)]);this['_changesetSessionId']=_0x214b2b?_0x58dfdb[_0x238a2a(0x494)]:gn(),this[_0x238a2a(0x47a)]=_0x214b2b?_0x58dfdb[_0x238a2a(0x2f7)]:0x0;const _0x27d506=this[_0x238a2a(0x1a8)];try{this[_0x238a2a(0x3b4)](_0x58dfdb,_0x5cb6a7);}catch(_0x100d4c){this['_logService'][_0x238a2a(0x46c)](_0x100d4c);}const _0x1c9a27=this[_0x238a2a(0x3d0)]();if(_0xc4b069){const _0x2943d5=Pt(this['_injector'],_0x27d506,this[_0x238a2a(0x27e)],_0x58dfdb,_0x5cb6a7,_0x1c9a27);return _0x2943d5 instanceof exports['PendingState']?_0x2943d5[_0x238a2a(0x1c7)]():(_0x2943d5 instanceof exports[_0x238a2a(0x2e9)]||_0x2943d5 instanceof exports[_0x238a2a(0x268)])&&_0x2943d5[_0x238a2a(0x33a)](),_0x2943d5;}return this[_0x238a2a(0x411)][_0x238a2a(0x210)](exports['OfflineState'],_0x27d506,this[_0x238a2a(0x27e)],_0x58dfdb,_0x5cb6a7,_0x1c9a27);}[_0x5c4b2d(0x3b4)](_0x3cf45b,_0x748ba4){var _0x2d2061=_0x5c4b2d,_0x46fef9,_0x169e5d;const _0x2b0ff4=this[_0x2d2061(0x4f0)][_0x2d2061(0x4d3)]['fetchThroughInterceptors'](this[_0x2d2061(0x4f0)]['interceptor']['getInterceptPoints']()[_0x2d2061(0x46a)]);(_0x46fef9=_0x2b0ff4((_0x3cf45b==null?void 0x0:_0x3cf45b[_0x2d2061(0x4a5)])||[],null))==null||_0x46fef9[_0x2d2061(0x332)](_0x5d4ec5=>this[_0x2d2061(0x4e2)][_0x2d2061(0x399)](_0x5d4ec5['id'],_0x5d4ec5[_0x2d2061(0x1e7)])),(_0x169e5d=_0x2b0ff4(_0x748ba4||[],null))==null||_0x169e5d['forEach'](_0x3a452f=>this[_0x2d2061(0x4e2)][_0x2d2061(0x399)](_0x3a452f['id'],_0x3a452f['params']));}},exports[_0x5c4b2d(0x254)]=Ge([k(0x3,a['Inject'](a[_0x5c4b2d(0x45b)])),k(0x4,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x410)])),k(0x5,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x3c9)])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0x5c4b2d(0x241)](te)),k(0x8,a[_0x5c4b2d(0x425)]),k(0x9,a['ICommandService']),k(0xa,a[_0x5c4b2d(0x484)]),k(0xb,a[_0x5c4b2d(0x524)](ve)),k(0xc,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x254)]),exports[_0x5c4b2d(0x4a4)]=class extends exports[_0x5c4b2d(0x254)]{constructor(_0xf78ae6,_0x7ce853,_0x58c313,_0x1b4436,_0x147ca6,_0x1ed11d,_0x161068,_0x4c9b57,_0x214f4f,_0x120de1,_0x399ddf,_0x30c1fb,_0x32d0fc){var _0x4a73b5=_0x5c4b2d;super(_0xf78ae6,_0x58c313,_0x7ce853,_0x1b4436,_0x147ca6,_0x1ed11d,_0x161068,_0x4c9b57,_0x214f4f,_0x120de1,_0x399ddf,_0x30c1fb,_0x32d0fc),D(this,_0x4a73b5(0x35a),null),(this[_0x4a73b5(0x1a8)]=_0xf78ae6,this[_0x4a73b5(0x2c3)]=_0x7ce853);}[_0x5c4b2d(0x4a1)](_0x379a67){var _0x409e8a=_0x5c4b2d;this[_0x409e8a(0x35a)]=_0x379a67;}[_0x5c4b2d(0x3c1)](){var _0x30e061=_0x5c4b2d;this[_0x30e061(0x35a)]=null,super[_0x30e061(0x3c1)]();}[_0x5c4b2d(0x3d0)](){var _0x51a13b=_0x5c4b2d;const _0x43c0b9=super[_0x51a13b(0x3d0)]();return _0x43c0b9['onTransformIME']=_0x21642a=>{var _0x66bba8=_0x51a13b,_0x14ffdc,_0x416a62;return(_0x416a62=(_0x14ffdc=this[_0x66bba8(0x35a)])==null?void 0x0:_0x14ffdc[_0x66bba8(0x229)])==null?void 0x0:_0x416a62[_0x66bba8(0x284)](_0x14ffdc,_0x21642a);},_0x43c0b9[_0x51a13b(0x24e)]=_0xfe78e=>{var _0x3c2df8=_0x51a13b,_0x28ddea,_0xe3a1ee;return(_0xe3a1ee=(_0x28ddea=this[_0x3c2df8(0x35a)])==null?void 0x0:_0x28ddea[_0x3c2df8(0x24e)])==null?void 0x0:_0xe3a1ee[_0x3c2df8(0x284)](_0x28ddea,_0xfe78e);},_0x43c0b9['onTransformSelections']=_0x202d8c=>{var _0x197450=_0x51a13b,_0x54d8ec,_0x4e0575;return(_0x4e0575=(_0x54d8ec=this['_handlerCallback'])==null?void 0x0:_0x54d8ec[_0x197450(0x26d)])==null?void 0x0:_0x4e0575['call'](_0x54d8ec,_0x202d8c);},_0x43c0b9[_0x51a13b(0x3be)]=_0x5ac220=>{var _0x596df3=_0x51a13b,_0xae3559,_0x45cda5;return(_0x45cda5=(_0xae3559=this['_handlerCallback'])==null?void 0x0:_0xae3559[_0x596df3(0x3be)])==null?void 0x0:_0x45cda5['call'](_0xae3559,_0x5ac220);},_0x43c0b9[_0x51a13b(0x2a7)]=_0x14b12e=>{var _0x806f39=_0x51a13b,_0x867517,_0x3fec0a,_0x582d64;if(!((_0x867517=this[_0x806f39(0x35a)])!=null&&_0x867517[_0x806f39(0x2a7)]))throw new Error(_0x806f39(0x4d7));return(_0x582d64=(_0x3fec0a=this[_0x806f39(0x35a)])==null?void 0x0:_0x3fec0a[_0x806f39(0x2a7)])==null?void 0x0:_0x582d64['call'](_0x3fec0a,_0x14b12e);},_0x43c0b9[_0x51a13b(0x30f)]=_0x1376db=>{var _0xda6ada=_0x51a13b,_0x547195,_0x51cd5b,_0x356c02;if(!((_0x547195=this['_handlerCallback'])!=null&&_0x547195[_0xda6ada(0x30f)]))throw new Error(_0xda6ada(0x320));return(_0x356c02=(_0x51cd5b=this[_0xda6ada(0x35a)])==null?void 0x0:_0x51cd5b[_0xda6ada(0x30f)])==null?void 0x0:_0x356c02[_0xda6ada(0x284)](_0x51cd5b,_0x1376db);},_0x43c0b9;}async[_0x5c4b2d(0x397)](){var _0x446184=_0x5c4b2d;const _0x1250d6=await super[_0x446184(0x397)]();return this[_0x446184(0x46f)](this[_0x446184(0x4e2)]['onCommandExecuted']((_0x5a7af1,_0x134d6a)=>{var _0x1230ba=_0x446184;if(_0x5a7af1['type']!==a[_0x1230ba(0x3dc)][_0x1230ba(0x3a6)]||_0x134d6a!=null&&_0x134d6a[_0x1230ba(0x516)]||_0x134d6a!=null&&_0x134d6a[_0x1230ba(0x1f9)]||_0x5a7af1['id']===dt[_0x1230ba(0x4cd)]['id'])return;const _0x41a47f=_0x5a7af1[_0x1230ba(0x1e7)];if((_0x41a47f==null?void 0x0:_0x41a47f[_0x1230ba(0x41a)])!==this['unitID'])return;const _0xca3ff6=_0x5a7af1,_0x170a76=this['_compressMutationService'][_0x1230ba(0x4d3)][_0x1230ba(0x344)](this['_compressMutationService'][_0x1230ba(0x4d3)][_0x1230ba(0x30e)]()[_0x1230ba(0x418)])([_0xca3ff6],null)||[_0xca3ff6];this['_onLocalMutation'](_0x170a76[0x0]);})),_0x1250d6;}},exports[_0x5c4b2d(0x4a4)]=Ge([k(0x3,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),k(0x4,a['Inject'](m[_0x5c4b2d(0x410)])),k(0x5,a[_0x5c4b2d(0x241)](a['LocaleService'])),k(0x6,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x506)])),k(0x7,a[_0x5c4b2d(0x241)](te)),k(0x8,a[_0x5c4b2d(0x425)]),k(0x9,a['ICommandService']),k(0xa,a[_0x5c4b2d(0x484)]),k(0xb,a[_0x5c4b2d(0x524)](ve)),k(0xc,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x4a4)]),exports[_0x5c4b2d(0x2fa)]=class extends exports[_0x5c4b2d(0x254)]{constructor(_0x320ad4,_0x4d561f,_0x526d62,_0x186ea9,_0x3b0872,_0x4d51b4,_0x1b8488,_0x3c6935,_0x7638d6,_0x56171f,_0x168408,_0x2fa129,_0x5b79bd,_0x3a6828){var _0x57e1e5=_0x5c4b2d;super(_0x320ad4,_0x526d62,_0x4d561f,_0x186ea9,_0x3b0872,_0x4d51b4,_0x1b8488,_0x7638d6,_0x56171f,_0x168408,_0x2fa129,_0x5b79bd,_0x3a6828),this[_0x57e1e5(0x1a8)]=_0x320ad4,this[_0x57e1e5(0x2c3)]=_0x4d561f,this[_0x57e1e5(0x1fe)]=_0x3c6935;}[_0x5c4b2d(0x3d0)](){var _0x1477cf=_0x5c4b2d;const _0x876023=super[_0x1477cf(0x3d0)]();return _0x876023['onTransformSelections']=_0x11cb9f=>this[_0x1477cf(0x1fe)]['transformSelections'](_0x11cb9f),_0x876023;}async[_0x5c4b2d(0x397)](){var _0x319d1d=_0x5c4b2d;const _0x1fadaf=await super[_0x319d1d(0x397)]();return this[_0x319d1d(0x46f)](this[_0x319d1d(0x4e2)][_0x319d1d(0x4f3)]((_0x4d1690,_0xfaf65e)=>{var _0x92084d=_0x319d1d;if(_0x4d1690[_0x92084d(0x2c3)]!==a[_0x92084d(0x3dc)][_0x92084d(0x3a6)]||_0xfaf65e!=null&&_0xfaf65e[_0x92084d(0x516)]||_0xfaf65e!=null&&_0xfaf65e[_0x92084d(0x1f9)])return;const _0x216b4a=_0x4d1690[_0x92084d(0x1e7)];if((_0x216b4a==null?void 0x0:_0x216b4a[_0x92084d(0x41a)])!==this['unitID'])return;const _0x3d45cd=_0x4d1690,_0x1d0025=this['_compressMutationService']['interceptor'][_0x92084d(0x344)](this[_0x92084d(0x4f0)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3d45cd],null)||[_0x3d45cd];this[_0x92084d(0x231)](_0x1d0025[0x0]);})),_0x1fadaf;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),k(0x4,a['Inject'](m[_0x5c4b2d(0x410)])),k(0x5,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x3c9)])),k(0x6,a[_0x5c4b2d(0x241)](m['RevisionService'])),k(0x7,a['Inject'](exports[_0x5c4b2d(0x21c)])),k(0x8,a[_0x5c4b2d(0x241)](te)),k(0x9,a[_0x5c4b2d(0x425)]),k(0xa,a[_0x5c4b2d(0x322)]),k(0xb,a[_0x5c4b2d(0x484)]),k(0xc,a['Optional'](ve)),k(0xd,a['Optional'](z))],exports['SheetCollaborationEntity']);var wn=Object['defineProperty'],An=Object[_0x5c4b2d(0x458)],Ln=(_0xecde11,_0x41c223,_0x39e137,_0x101728)=>{for(var _0x1f8e33=_0x101728>0x1?void 0x0:_0x101728?An(_0x41c223,_0x39e137):_0x41c223,_0x3e7f32=_0xecde11['length']-0x1,_0x331a76;_0x3e7f32>=0x0;_0x3e7f32--)(_0x331a76=_0xecde11[_0x3e7f32])&&(_0x1f8e33=(_0x101728?_0x331a76(_0x41c223,_0x39e137,_0x1f8e33):_0x331a76(_0x1f8e33))||_0x1f8e33);return _0x101728&&_0x1f8e33&&wn(_0x41c223,_0x39e137,_0x1f8e33),_0x1f8e33;},we=(_0xfc54dc,_0x5b3e71)=>(_0xf2ad1e,_0x18bfba)=>_0x5b3e71(_0xf2ad1e,_0x18bfba,_0xfc54dc);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x4fa825,_0x17a8be,_0x4ffaef){var _0x258092=_0x5c4b2d;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new H[(_0x258092(0x3d4))]()),D(this,'entityInit$',this[_0x258092(0x42f)][_0x258092(0x259)]()),(this[_0x258092(0x411)]=_0x4fa825,this[_0x258092(0x2c6)]=_0x17a8be,this['_univerInstanceService']=_0x4ffaef,this['_init']());}['dispose'](){var _0x42464f=_0x5c4b2d;super[_0x42464f(0x3c1)](),this[_0x42464f(0x2d8)][_0x42464f(0x332)](_0x29fc45=>_0x29fc45[_0x42464f(0x3c1)]()),this['_entities']['clear']();}[_0x5c4b2d(0x449)](_0x4dbc21){var _0x26453d=_0x5c4b2d,_0x2d6823;return(_0x2d6823=this['_entities'][_0x26453d(0x361)](_0x4dbc21))!=null?_0x2d6823:null;}[_0x5c4b2d(0x4da)](_0x8c5e42){var _0x3d3df0=_0x5c4b2d;const _0x3f09c9=this[_0x3d3df0(0x449)](_0x8c5e42);return _0x3f09c9?H['of'](_0x3f09c9):this[_0x3d3df0(0x42f)]['pipe'](W[_0x3d3df0(0x439)](_0x441904=>_0x441904[_0x3d3df0(0x1a8)]===_0x8c5e42));}[_0x5c4b2d(0x4bb)](_0x1a03cf){var _0x4dfbf3=_0x5c4b2d;return H[_0x4dfbf3(0x2d1)](this[_0x4dfbf3(0x4da)](_0x1a03cf)[_0x4dfbf3(0x4a6)](W[_0x4dfbf3(0x364)](()=>{})));}['_init'](){var _0x3b8f37=_0x5c4b2d;this[_0x3b8f37(0x36d)][_0x3b8f37(0x224)](a[_0x3b8f37(0x51a)][_0x3b8f37(0x441)])['pipe'](H[_0x3b8f37(0x4ef)](this[_0x3b8f37(0x36c)]),W[_0x3b8f37(0x452)](0x10))[_0x3b8f37(0x3e6)](async _0x3310e3=>{var _0x257def=_0x3b8f37;const _0x451705=_0x3310e3[_0x257def(0x3df)](),_0x408010=await this[_0x257def(0x1f2)](_0x451705,Z[_0x257def(0x441)]);this['_entities'][_0x257def(0x33f)](_0x451705,_0x408010);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3b8f37(0x51a)][_0x3b8f37(0x52e)])[_0x3b8f37(0x4a6)](H[_0x3b8f37(0x4ef)](this['dispose$']),W[_0x3b8f37(0x452)](0x10))[_0x3b8f37(0x4a6)](W['filter'](_0x46b1b0=>!_0x46b1b0['getUnitId']()[_0x3b8f37(0x2e1)]('__')))[_0x3b8f37(0x3e6)](async _0x155f24=>{var _0x5355f3=_0x3b8f37;const _0x524893=_0x155f24[_0x5355f3(0x3df)](),_0x5d3253=await this[_0x5355f3(0x1f2)](_0x524893,Z[_0x5355f3(0x52e)]);this[_0x5355f3(0x2d8)][_0x5355f3(0x33f)](_0x524893,_0x5d3253);}),H['merge'](this[_0x3b8f37(0x36d)][_0x3b8f37(0x300)](a[_0x3b8f37(0x51a)][_0x3b8f37(0x441)]),this[_0x3b8f37(0x36d)][_0x3b8f37(0x300)](a[_0x3b8f37(0x51a)][_0x3b8f37(0x52e)]))['pipe'](H[_0x3b8f37(0x4ef)](this['dispose$']))['subscribe'](_0x4b7ffb=>{var _0x1c66be=_0x3b8f37;const _0x1f55af=_0x4b7ffb[_0x1c66be(0x3df)](),_0x18a94f=this[_0x1c66be(0x2d8)][_0x1c66be(0x361)](_0x1f55af);_0x18a94f&&(_0x18a94f[_0x1c66be(0x3c1)](),this[_0x1c66be(0x2d8)][_0x1c66be(0x517)](_0x1f55af));});}async[_0x5c4b2d(0x1f2)](_0x407d95,_0x9cb86a){var _0x113303=_0x5c4b2d;const _0xbd297a=await this[_0x113303(0x2c6)][_0x113303(0x1c2)](_0x407d95),_0x430e6e=this[_0x113303(0x411)][_0x113303(0x210)](this[_0x113303(0x242)](_0x9cb86a),_0x407d95,_0x9cb86a,_0xbd297a);return await _0x430e6e[_0x113303(0x38b)](),this[_0x113303(0x42f)]['next'](_0x430e6e),_0x430e6e;}['_getCtorByUniverType'](_0x3522ec){var _0x118104=_0x5c4b2d;switch(_0x3522ec){case Z[_0x118104(0x52e)]:return exports[_0x118104(0x4a4)];case Z[_0x118104(0x441)]:return exports[_0x118104(0x2fa)];default:throw new Error(_0x118104(0x3ca)+_0x3522ec);}}},exports[_0x5c4b2d(0x1c3)]=Ln([we(0x0,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),we(0x1,a['Inject'](exports['CollaborationSessionService'])),we(0x2,a[_0x5c4b2d(0x2d3)])],exports[_0x5c4b2d(0x1c3)]);var Mn=Object[_0x5c4b2d(0x1d2)],xn=Object['getOwnPropertyDescriptor'],jn=(_0x2c0196,_0x48af17,_0x4eabdd,_0x26bc64)=>{var _0x471e0b=_0x5c4b2d;for(var _0x10edf1=_0x26bc64>0x1?void 0x0:_0x26bc64?xn(_0x48af17,_0x4eabdd):_0x48af17,_0x1574e1=_0x2c0196[_0x471e0b(0x22b)]-0x1,_0x3676fd;_0x1574e1>=0x0;_0x1574e1--)(_0x3676fd=_0x2c0196[_0x1574e1])&&(_0x10edf1=(_0x26bc64?_0x3676fd(_0x48af17,_0x4eabdd,_0x10edf1):_0x3676fd(_0x10edf1))||_0x10edf1);return _0x26bc64&&_0x10edf1&&Mn(_0x48af17,_0x4eabdd,_0x10edf1),_0x10edf1;},Xe=(_0x2c022a,_0x22f27f)=>(_0x44b8b0,_0xa7f77e)=>_0x22f27f(_0x44b8b0,_0xa7f77e,_0x2c022a);const $n='DEFAULT_FILE_NAME',Hn=_0x5c4b2d(0x38f);let $e=class extends a[_0x5c4b2d(0x3d9)]{constructor(_0x20a082,_0x4536b5){var _0xd640b7=_0x5c4b2d;super(),this[_0xd640b7(0x36d)]=_0x20a082,this[_0xd640b7(0x221)]=_0x4536b5,this[_0xd640b7(0x397)]();}['_init'](){var _0x4cb8e9=_0x5c4b2d;this[_0x4cb8e9(0x46f)](this['_univerInstanceService'][_0x4cb8e9(0x275)][_0x4cb8e9(0x3e6)](()=>{var _0x2f68eb=_0x4cb8e9,_0x379c83;const _0x2ad386=this[_0x2f68eb(0x36d)][_0x2f68eb(0x3c4)]();let _0x1048bc=(_0x379c83=this['_configService']['getConfig']($n))!=null?_0x379c83:Hn;_0x2ad386 instanceof a['Workbook']&&(_0x1048bc=_0x2ad386['name']),document[_0x2f68eb(0x530)]=_0x1048bc;}));}};$e=jn([Xe(0x0,a[_0x5c4b2d(0x2d3)]),Xe(0x1,a[_0x5c4b2d(0x3c6)])],$e);var kn=Object['defineProperty'],Bn=Object[_0x5c4b2d(0x458)],Fn=(_0x4b1591,_0x44427d,_0x22e40b,_0x5010bb)=>{var _0x2c6c4e=_0x5c4b2d;for(var _0x27227c=_0x5010bb>0x1?void 0x0:_0x5010bb?Bn(_0x44427d,_0x22e40b):_0x44427d,_0x14d5f4=_0x4b1591[_0x2c6c4e(0x22b)]-0x1,_0x256464;_0x14d5f4>=0x0;_0x14d5f4--)(_0x256464=_0x4b1591[_0x14d5f4])&&(_0x27227c=(_0x5010bb?_0x256464(_0x44427d,_0x22e40b,_0x27227c):_0x256464(_0x27227c))||_0x27227c);return _0x5010bb&&_0x27227c&&kn(_0x44427d,_0x22e40b,_0x27227c),_0x27227c;},Ae=(_0x189c6f,_0x4c246e)=>(_0x5cdd17,_0x251baf)=>_0x4c246e(_0x5cdd17,_0x251baf,_0x189c6f);let ye=class{constructor(_0x2276a4,_0x2a2d9b,_0x97cdc5){var _0x4a3080=_0x5c4b2d;this[_0x4a3080(0x221)]=_0x2276a4,this[_0x4a3080(0x4e6)]=_0x2a2d9b,this[_0x4a3080(0x490)]=_0x97cdc5,this['init']();}[_0x5c4b2d(0x38b)](){var _0x555e3c=_0x5c4b2d;this[_0x555e3c(0x4e6)][_0x555e3c(0x312)]({'priority':0x1,'interceptor':(_0x86d7bc,_0x469b65)=>_0x469b65(_0x86d7bc)[_0x555e3c(0x4a6)](H[_0x555e3c(0x3b5)](async _0x410040=>{var _0x337eda=_0x555e3c;const _0x138144=_0x410040;if(_0x138144[_0x337eda(0x33c)]===0x191){if(typeof window>'u')throw new Error(_0x337eda(0x22c));if(window[_0x337eda(0x4f2)](this[_0x337eda(0x490)]['t'](_0x337eda(0x32b)))){const _0x46c0a1=window[_0x337eda(0x531)](window[_0x337eda(0x20f)][_0x337eda(0x2f4)]);window[_0x337eda(0x20f)][_0x337eda(0x2f4)]=this['_getLoginPath']()+_0x337eda(0x365)+_0x46c0a1;}}return _0x138144;}))});}[_0x5c4b2d(0x277)](){var _0x468fc4=_0x5c4b2d,_0xc7686e,_0x243c9a;const _0x1f57f8=this[_0x468fc4(0x221)][_0x468fc4(0x477)](Ct),_0x20c2fa=this[_0x468fc4(0x221)][_0x468fc4(0x477)](Y);return(_0x243c9a=(_0xc7686e=_0x20c2fa==null?void 0x0:_0x20c2fa[_0x468fc4(0x4e5)])!=null?_0xc7686e:_0x1f57f8)!=null?_0x243c9a:zt;}};ye=Fn([Ae(0x0,a[_0x5c4b2d(0x3c6)]),Ae(0x1,a['Inject'](q['HTTPService'])),Ae(0x2,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x3c9)]))],ye);var Wn=Object['defineProperty'],Gn=Object[_0x5c4b2d(0x458)],Vn=(_0x2accfe,_0x2c49ca,_0x18ecc1,_0x182a27)=>{var _0x52bc0f=_0x5c4b2d;for(var _0x17b4e9=_0x182a27>0x1?void 0x0:_0x182a27?Gn(_0x2c49ca,_0x18ecc1):_0x2c49ca,_0x1babda=_0x2accfe[_0x52bc0f(0x22b)]-0x1,_0xd008b5;_0x1babda>=0x0;_0x1babda--)(_0xd008b5=_0x2accfe[_0x1babda])&&(_0x17b4e9=(_0x182a27?_0xd008b5(_0x2c49ca,_0x18ecc1,_0x17b4e9):_0xd008b5(_0x17b4e9))||_0x17b4e9);return _0x182a27&&_0x17b4e9&&Wn(_0x2c49ca,_0x18ecc1,_0x17b4e9),_0x17b4e9;},Ze=(_0x250274,_0x42a867)=>(_0xc9295f,_0x301c6c)=>_0x42a867(_0xc9295f,_0x301c6c,_0x250274);const Ve=_0x5c4b2d(0x44d),Kn=_0x5c4b2d(0x4c3);exports[_0x5c4b2d(0x25b)]=class extends a[_0x5c4b2d(0x3d9)]{constructor(_0x19abaf,_0x4ff6e7){var _0x3625b2=_0x5c4b2d;super(),this[_0x3625b2(0x1df)]=_0x19abaf,this[_0x3625b2(0x221)]=_0x4ff6e7,this[_0x3625b2(0x3aa)]();}['_initMergeInterceptor'](){var _0x5cd6b0=_0x5c4b2d;const _0x2e633f=this;this[_0x5cd6b0(0x46f)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x5cd6b0(0x429)]({'isMatch'(_0x199314){var _0x3c87aa=_0x5cd6b0,_0x18ba03;if(_0x199314[_0x3c87aa(0x4eb)]==='POST'&&((_0x18ba03=_0x199314[_0x3c87aa(0x36a)])!=null&&_0x18ba03[_0x3c87aa(0x48c)])){const {objectID:_0x419de5,objectType:_0x325a2d}=_0x199314['requestParams']['body']||{};if(!_0x419de5||_0x325a2d===void 0x0)return!0x1;const _0x3505f0=_0x2e633f[_0x3c87aa(0x4dc)]()+'/'+_0x325a2d+'/object/'+_0x419de5+_0x3c87aa(0x26b);if(_0x199314['url']===_0x3505f0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x560ae8){var _0x5e49d9;return(_0x5e49d9=_0x560ae8['requestParams'])==null?void 0x0:_0x5e49d9['body'];},'mergeParamsToRequest'(_0x42e7f3,_0x1d91c0){var _0x21b8e7=_0x5cd6b0;const _0xfd3fff=_0x2e633f['_getAPIPrefixPath']()+_0x21b8e7(0x3ac),_0x1900ac=_0x42e7f3[_0x21b8e7(0x2e3)]((_0x3f1ce9,_0x54c68f)=>{var _0x527733=_0x21b8e7;const {unitID:_0x34b435,objectID:_0x3b8fd4,objectType:_0x38b5ae,actions:_0x39e09f}=_0x54c68f;return _0x3f1ce9[_0x34b435]||(_0x3f1ce9[_0x34b435]={}),_0x3f1ce9[_0x34b435][_0x3b8fd4]||(_0x3f1ce9[_0x34b435][_0x3b8fd4]={'objectID':_0x3b8fd4,'objectType':_0x38b5ae,'actions':[]}),_0x3f1ce9[_0x34b435][_0x3b8fd4]['actions'][_0x527733(0x3d2)](..._0x39e09f),_0x3f1ce9;},{}),_0xc9bc14=[];for(const _0x33c9f3 in _0x1900ac)for(const _0x3da570 in _0x1900ac[_0x33c9f3]){const {actions:_0x2ba13b,objectType:_0x1fdbde}=_0x1900ac[_0x33c9f3][_0x3da570],_0x3dfc25=[...new Set(_0x2ba13b)];_0xc9bc14['push']({'unitID':_0x33c9f3,'objectID':_0x3da570,'objectType':_0x1fdbde,'actions':_0x3dfc25});}return new q['HTTPRequest']('POST',_0xfd3fff,{'headers':_0x1d91c0[_0x21b8e7(0x471)],'withCredentials':_0x1d91c0[_0x21b8e7(0x514)],'responseType':_0x1d91c0[_0x21b8e7(0x50b)],'body':{'requests':_0xc9bc14}});}},{'distributeResult'(_0x20b8dc,_0x59a978){var _0x156eea=_0x5cd6b0;const {objectActions:_0x2e8a29}=_0x20b8dc;return _0x59a978[_0x156eea(0x364)](_0x4369f6=>{var _0x1fea51=_0x156eea;const {unitID:_0x9de127,objectID:_0x4316d1,actions:_0x304f20}=_0x4369f6,_0x30ece3=_0x2e8a29[_0x1fea51(0x3bd)](_0x22f018=>_0x22f018['unitID']===_0x9de127&&_0x22f018[_0x1fea51(0x23d)]===_0x4316d1),_0x373d2a=_0x304f20['map'](_0x2534db=>_0x30ece3==null?void 0x0:_0x30ece3[_0x1fea51(0x248)][_0x1fea51(0x3bd)](_0x55acb5=>_0x55acb5[_0x1fea51(0x393)]===_0x2534db))[_0x1fea51(0x439)](_0x42f89b=>!!_0x42f89b);return{'config':_0x4369f6,'result':{'actions':_0x373d2a,'error':_0x20b8dc[_0x1fea51(0x46c)]}};});}})}));}[_0x5c4b2d(0x4dc)](){var _0x23dc37=_0x5c4b2d,_0x9c837c,_0x5a546a;const _0x292859=this[_0x23dc37(0x221)][_0x23dc37(0x477)](Ve),_0x142625=this[_0x23dc37(0x221)]['getConfig'](Y);return(_0x5a546a=(_0x9c837c=_0x142625==null?void 0x0:_0x142625[_0x23dc37(0x233)])!=null?_0x9c837c:_0x292859)!=null?_0x5a546a:Kn;}async['create'](_0x2cbc0d){var _0x32e600=_0x5c4b2d;const _0x564b74=this[_0x32e600(0x4dc)]()+'/'+_0x2cbc0d[_0x32e600(0x28b)]+'/object';return(await this[_0x32e600(0x1df)][_0x32e600(0x253)](_0x564b74,{'body':_0x2cbc0d}))['body'][_0x32e600(0x23d)]||'';}async['list'](_0x4bff55){var _0x3967f7=_0x5c4b2d;const _0x27b063=this[_0x3967f7(0x4dc)]()+'/-/object/list';return(await this[_0x3967f7(0x1df)]['post'](_0x27b063,{'body':_0x4bff55}))[_0x3967f7(0x48c)][_0x3967f7(0x505)];}async['update'](_0x2d7c64){var _0x2086b1=_0x5c4b2d;const _0x1cc6d4=this[_0x2086b1(0x4dc)]()+'/'+_0x2d7c64[_0x2086b1(0x28b)]+_0x2086b1(0x44b)+_0x2d7c64['objectID'];await this[_0x2086b1(0x1df)][_0x2086b1(0x396)](_0x1cc6d4,{'body':_0x2d7c64});}async[_0x5c4b2d(0x243)](_0x2309c9){var _0x1737dc=_0x5c4b2d;const _0x3730b1=this[_0x1737dc(0x4dc)]()+'/'+_0x2309c9[_0x1737dc(0x28b)]+_0x1737dc(0x44b)+_0x2309c9[_0x1737dc(0x23d)]+_0x1737dc(0x26b);return(await this[_0x1737dc(0x1df)][_0x1737dc(0x253)](_0x3730b1,{'body':_0x2309c9}))[_0x1737dc(0x48c)][_0x1737dc(0x248)];}async[_0x5c4b2d(0x390)](_0x3b23be){var _0xb76b38=_0x5c4b2d;const _0x38f927=this[_0xb76b38(0x4dc)]()+'/-/object/-/batch_allowed';return(await this[_0xb76b38(0x1df)][_0xb76b38(0x253)](_0x38f927,{'body':{'requests':_0x3b23be}}))[_0xb76b38(0x48c)][_0xb76b38(0x408)];}async[_0x5c4b2d(0x40a)](_0x1a2940){var _0x4ac041=_0x5c4b2d;const _0x4acc10=this['_getAPIPrefixPath']()+'/'+_0x1a2940[_0x4ac041(0x28b)]+_0x4ac041(0x4f9),_0x28b6c6=await this[_0x4ac041(0x1df)][_0x4ac041(0x253)](_0x4acc10,{'body':_0x1a2940});return{'roles':_0x28b6c6['body'][_0x4ac041(0x298)],'actions':_0x28b6c6[_0x4ac041(0x48c)][_0x4ac041(0x248)]};}async[_0x5c4b2d(0x319)](_0x23ee49){var _0x4090e3=_0x5c4b2d;const _0x501f0c=this[_0x4090e3(0x4dc)]()+_0x4090e3(0x41f);await this[_0x4090e3(0x1df)][_0x4090e3(0x517)](_0x501f0c,{'params':{'collaboratorID':_0x23ee49[_0x4090e3(0x1ff)],'objectID':_0x23ee49[_0x4090e3(0x23d)],'unitID':_0x23ee49[_0x4090e3(0x1a8)]}});}async[_0x5c4b2d(0x289)](_0x5e7e6e){var _0x548cc2=_0x5c4b2d;const _0x3ee8b6=this[_0x548cc2(0x4dc)]()+_0x548cc2(0x41f);await this['_HTTPService']['patch'](_0x3ee8b6,{'body':_0x5e7e6e});}async[_0x5c4b2d(0x32a)](_0x26f47f){var _0x501e4e=_0x5c4b2d;const _0x5e0db3=this[_0x501e4e(0x4dc)]()+'/collaborator';await this[_0x501e4e(0x1df)]['post'](_0x5e0db3,{'body':_0x26f47f});}async[_0x5c4b2d(0x3a0)](_0x301db9){var _0x46f84f=_0x5c4b2d;const _0x140042=this[_0x46f84f(0x4dc)]()+'/collaborator';return(await this[_0x46f84f(0x1df)][_0x46f84f(0x361)](_0x140042,{'params':{'objectID':_0x301db9['objectID'],'unitID':_0x301db9[_0x46f84f(0x1a8)]}}))['body']['collaborators'];}async[_0x5c4b2d(0x434)](_0x390ab7){var _0x530921=_0x5c4b2d;const _0x994411=this[_0x530921(0x4dc)]()+'/collaborator';await this[_0x530921(0x1df)][_0x530921(0x396)](_0x994411,{'body':_0x390ab7});}},exports[_0x5c4b2d(0x25b)]=Vn([Ze(0x0,a[_0x5c4b2d(0x241)](q[_0x5c4b2d(0x1e4)])),Ze(0x1,a['Inject'](a[_0x5c4b2d(0x3c6)]))],exports[_0x5c4b2d(0x25b)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x59074d){var _0x2de028=_0x5c4b2d;return _0x59074d&&_0x59074d['__esModule']&&Object[_0x2de028(0x1d8)][_0x2de028(0x27a)]['call'](_0x59074d,_0x2de028(0x272))?_0x59074d['default']:_0x59074d;}var Se={'exports':{}};function Yn(_0x3bb57c){var _0x1721ae=_0x5c4b2d;throw new Error(_0x1721ae(0x3b1)+_0x3bb57c+_0x1721ae(0x3e8));}var pe={'exports':{}},qn=pe[_0x5c4b2d(0x331)],Qe;function ee(){return Qe||(Qe=0x1,function(_0x52a3f1,_0x1b09bf){(function(_0x47d8fe,_0xc864bb){_0x52a3f1['exports']=_0xc864bb();}(qn,function(){var _0x5d0421=_0x5d0421||function(_0x4edb29,_0x4d0db9){var _0x3e6f8c=_0x1ccf,_0x2665e5;if(typeof window<'u'&&window[_0x3e6f8c(0x23f)]&&(_0x2665e5=window[_0x3e6f8c(0x23f)]),typeof self<'u'&&self['crypto']&&(_0x2665e5=self[_0x3e6f8c(0x23f)]),typeof globalThis<'u'&&globalThis[_0x3e6f8c(0x23f)]&&(_0x2665e5=globalThis[_0x3e6f8c(0x23f)]),!_0x2665e5&&typeof window<'u'&&window['msCrypto']&&(_0x2665e5=window[_0x3e6f8c(0x318)]),!_0x2665e5&&typeof Le<'u'&&Le[_0x3e6f8c(0x23f)]&&(_0x2665e5=Le[_0x3e6f8c(0x23f)]),!_0x2665e5&&typeof Yn==_0x3e6f8c(0x2fb))try{_0x2665e5=require(_0x3e6f8c(0x23f));}catch{}var _0x2e05de=function(){var _0x5bb83c=_0x3e6f8c;if(_0x2665e5){if(typeof _0x2665e5[_0x5bb83c(0x50d)]=='function')try{return _0x2665e5[_0x5bb83c(0x50d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2665e5[_0x5bb83c(0x3f6)]==_0x5bb83c(0x2fb))try{return _0x2665e5[_0x5bb83c(0x3f6)](0x4)[_0x5bb83c(0x2ef)]();}catch{}}throw new Error(_0x5bb83c(0x3c3));},_0x54e2c6=Object[_0x3e6f8c(0x424)]||(function(){function _0x251aff(){}return function(_0xc720fb){var _0x3684b3=_0x1ccf,_0x435157;return _0x251aff['prototype']=_0xc720fb,_0x435157=new _0x251aff(),_0x251aff[_0x3684b3(0x1d8)]=null,_0x435157;};}()),_0x223419={},_0x3fcc7f=_0x223419[_0x3e6f8c(0x4e9)]={},_0x14ac3e=_0x3fcc7f[_0x3e6f8c(0x3a1)]=(function(){return{'extend':function(_0x5246c5){var _0x3298b5=_0x1ccf,_0x895e=_0x54e2c6(this);return _0x5246c5&&_0x895e[_0x3298b5(0x513)](_0x5246c5),(!_0x895e[_0x3298b5(0x27a)](_0x3298b5(0x38b))||this[_0x3298b5(0x38b)]===_0x895e[_0x3298b5(0x38b)])&&(_0x895e[_0x3298b5(0x38b)]=function(){var _0x388bf0=_0x3298b5;_0x895e[_0x388bf0(0x375)][_0x388bf0(0x38b)][_0x388bf0(0x33e)](this,arguments);}),_0x895e[_0x3298b5(0x38b)][_0x3298b5(0x1d8)]=_0x895e,_0x895e[_0x3298b5(0x375)]=this,_0x895e;},'create':function(){var _0x72e1ce=_0x1ccf,_0x245680=this[_0x72e1ce(0x1b5)]();return _0x245680[_0x72e1ce(0x38b)][_0x72e1ce(0x33e)](_0x245680,arguments),_0x245680;},'init':function(){},'mixIn':function(_0x42231e){var _0x1042d7=_0x1ccf;for(var _0x41a59d in _0x42231e)_0x42231e['hasOwnProperty'](_0x41a59d)&&(this[_0x41a59d]=_0x42231e[_0x41a59d]);_0x42231e['hasOwnProperty'](_0x1042d7(0x337))&&(this['toString']=_0x42231e[_0x1042d7(0x337)]);},'clone':function(){var _0x54e38d=_0x1ccf;return this[_0x54e38d(0x38b)][_0x54e38d(0x1d8)]['extend'](this);}};}()),_0x53c3a1=_0x3fcc7f['WordArray']=_0x14ac3e[_0x3e6f8c(0x1b5)]({'init':function(_0xa1db84,_0x1a1a20){var _0xcb9ae4=_0x3e6f8c;_0xa1db84=this['words']=_0xa1db84||[],_0x1a1a20!=_0x4d0db9?this[_0xcb9ae4(0x1de)]=_0x1a1a20:this['sigBytes']=_0xa1db84[_0xcb9ae4(0x22b)]*0x4;},'toString':function(_0x433cae){return(_0x433cae||_0x25f79f)['stringify'](this);},'concat':function(_0x51bad4){var _0x14b135=_0x3e6f8c,_0x3e370e=this['words'],_0x417ef4=_0x51bad4[_0x14b135(0x468)],_0x2c5bd8=this[_0x14b135(0x1de)],_0x5c2aff=_0x51bad4[_0x14b135(0x1de)];if(this[_0x14b135(0x24f)](),_0x2c5bd8%0x4)for(var _0x1ba03a=0x0;_0x1ba03a<_0x5c2aff;_0x1ba03a++){var _0x4abe33=_0x417ef4[_0x1ba03a>>>0x2]>>>0x18-_0x1ba03a%0x4*0x8&0xff;_0x3e370e[_0x2c5bd8+_0x1ba03a>>>0x2]|=_0x4abe33<<0x18-(_0x2c5bd8+_0x1ba03a)%0x4*0x8;}else{for(var _0x2b35fe=0x0;_0x2b35fe<_0x5c2aff;_0x2b35fe+=0x4)_0x3e370e[_0x2c5bd8+_0x2b35fe>>>0x2]=_0x417ef4[_0x2b35fe>>>0x2];}return this[_0x14b135(0x1de)]+=_0x5c2aff,this;},'clamp':function(){var _0x1ff78c=_0x3e6f8c,_0x147e1b=this[_0x1ff78c(0x468)],_0x5d89d9=this[_0x1ff78c(0x1de)];_0x147e1b[_0x5d89d9>>>0x2]&=0xffffffff<<0x20-_0x5d89d9%0x4*0x8,_0x147e1b[_0x1ff78c(0x22b)]=_0x4edb29[_0x1ff78c(0x480)](_0x5d89d9/0x4);},'clone':function(){var _0x50bdbd=_0x3e6f8c,_0x381ddc=_0x14ac3e[_0x50bdbd(0x3f2)][_0x50bdbd(0x284)](this);return _0x381ddc[_0x50bdbd(0x468)]=this[_0x50bdbd(0x468)]['slice'](0x0),_0x381ddc;},'random':function(_0x4c6e5d){var _0x1e0c6e=_0x3e6f8c;for(var _0x5d8942=[],_0x5c5fd8=0x0;_0x5c5fd8<_0x4c6e5d;_0x5c5fd8+=0x4)_0x5d8942[_0x1e0c6e(0x3d2)](_0x2e05de());return new _0x53c3a1['init'](_0x5d8942,_0x4c6e5d);}}),_0x31ce33=_0x223419[_0x3e6f8c(0x2d6)]={},_0x25f79f=_0x31ce33[_0x3e6f8c(0x297)]={'stringify':function(_0x43b320){var _0x27db2e=_0x3e6f8c;for(var _0x280ee7=_0x43b320[_0x27db2e(0x468)],_0x2453bc=_0x43b320['sigBytes'],_0x46c616=[],_0x4d21b6=0x0;_0x4d21b6<_0x2453bc;_0x4d21b6++){var _0x5a7f21=_0x280ee7[_0x4d21b6>>>0x2]>>>0x18-_0x4d21b6%0x4*0x8&0xff;_0x46c616[_0x27db2e(0x3d2)]((_0x5a7f21>>>0x4)[_0x27db2e(0x337)](0x10)),_0x46c616['push']((_0x5a7f21&0xf)[_0x27db2e(0x337)](0x10));}return _0x46c616[_0x27db2e(0x208)]('');},'parse':function(_0x140bb5){var _0x21d057=_0x3e6f8c;for(var _0x28b0b4=_0x140bb5[_0x21d057(0x22b)],_0x5117f2=[],_0x59dabd=0x0;_0x59dabd<_0x28b0b4;_0x59dabd+=0x2)_0x5117f2[_0x59dabd>>>0x3]|=parseInt(_0x140bb5[_0x21d057(0x20c)](_0x59dabd,0x2),0x10)<<0x18-_0x59dabd%0x8*0x4;return new _0x53c3a1[(_0x21d057(0x38b))](_0x5117f2,_0x28b0b4/0x2);}},_0x18983d=_0x31ce33['Latin1']={'stringify':function(_0xf21be4){var _0x2dbe82=_0x3e6f8c;for(var _0x1c1888=_0xf21be4[_0x2dbe82(0x468)],_0x374211=_0xf21be4['sigBytes'],_0x31cadc=[],_0x307c38=0x0;_0x307c38<_0x374211;_0x307c38++){var _0x4faa16=_0x1c1888[_0x307c38>>>0x2]>>>0x18-_0x307c38%0x4*0x8&0xff;_0x31cadc[_0x2dbe82(0x3d2)](String[_0x2dbe82(0x29b)](_0x4faa16));}return _0x31cadc['join']('');},'parse':function(_0x4086d3){var _0x4a85a3=_0x3e6f8c;for(var _0xc4f259=_0x4086d3[_0x4a85a3(0x22b)],_0x23a128=[],_0x1708c9=0x0;_0x1708c9<_0xc4f259;_0x1708c9++)_0x23a128[_0x1708c9>>>0x2]|=(_0x4086d3[_0x4a85a3(0x1d6)](_0x1708c9)&0xff)<<0x18-_0x1708c9%0x4*0x8;return new _0x53c3a1['init'](_0x23a128,_0xc4f259);}},_0x552f57=_0x31ce33[_0x3e6f8c(0x470)]={'stringify':function(_0x1311df){var _0x1ed1d8=_0x3e6f8c;try{return decodeURIComponent(escape(_0x18983d[_0x1ed1d8(0x49c)](_0x1311df)));}catch{throw new Error(_0x1ed1d8(0x2ff));}},'parse':function(_0x6deede){var _0x54e33f=_0x3e6f8c;return _0x18983d[_0x54e33f(0x52a)](unescape(encodeURIComponent(_0x6deede)));}},_0x56262f=_0x3fcc7f[_0x3e6f8c(0x261)]=_0x14ac3e['extend']({'reset':function(){var _0x566cfd=_0x3e6f8c;this[_0x566cfd(0x1fb)]=new _0x53c3a1[(_0x566cfd(0x38b))](),this[_0x566cfd(0x2cd)]=0x0;},'_append':function(_0x3b4814){var _0x17347e=_0x3e6f8c;typeof _0x3b4814==_0x17347e(0x44e)&&(_0x3b4814=_0x552f57['parse'](_0x3b4814)),this[_0x17347e(0x1fb)]['concat'](_0x3b4814),this[_0x17347e(0x2cd)]+=_0x3b4814['sigBytes'];},'_process':function(_0xe352ef){var _0x304190=_0x3e6f8c,_0x542672,_0x4f92b7=this['_data'],_0x6a3b63=_0x4f92b7[_0x304190(0x468)],_0x5e52bc=_0x4f92b7[_0x304190(0x1de)],_0x5339a5=this[_0x304190(0x451)],_0x4415aa=_0x5339a5*0x4,_0x1b251d=_0x5e52bc/_0x4415aa;_0xe352ef?_0x1b251d=_0x4edb29['ceil'](_0x1b251d):_0x1b251d=_0x4edb29[_0x304190(0x1bb)]((_0x1b251d|0x0)-this['_minBufferSize'],0x0);var _0x25a282=_0x1b251d*_0x5339a5,_0x575f86=_0x4edb29[_0x304190(0x479)](_0x25a282*0x4,_0x5e52bc);if(_0x25a282){for(var _0x1166d7=0x0;_0x1166d7<_0x25a282;_0x1166d7+=_0x5339a5)this[_0x304190(0x1c9)](_0x6a3b63,_0x1166d7);_0x542672=_0x6a3b63[_0x304190(0x31e)](0x0,_0x25a282),_0x4f92b7[_0x304190(0x1de)]-=_0x575f86;}return new _0x53c3a1['init'](_0x542672,_0x575f86);},'clone':function(){var _0x4a717e=_0x3e6f8c,_0x42bd7f=_0x14ac3e[_0x4a717e(0x3f2)][_0x4a717e(0x284)](this);return _0x42bd7f[_0x4a717e(0x1fb)]=this[_0x4a717e(0x1fb)]['clone'](),_0x42bd7f;},'_minBufferSize':0x0});_0x3fcc7f['Hasher']=_0x56262f[_0x3e6f8c(0x1b5)]({'cfg':_0x14ac3e[_0x3e6f8c(0x1b5)](),'init':function(_0x1c365d){var _0x545f8c=_0x3e6f8c;this[_0x545f8c(0x3f1)]=this[_0x545f8c(0x3f1)][_0x545f8c(0x1b5)](_0x1c365d),this[_0x545f8c(0x3cd)]();},'reset':function(){var _0xebb55b=_0x3e6f8c;_0x56262f[_0xebb55b(0x3cd)][_0xebb55b(0x284)](this),this[_0xebb55b(0x28c)]();},'update':function(_0x5c3d79){var _0x450da2=_0x3e6f8c;return this[_0x450da2(0x4c7)](_0x5c3d79),this[_0x450da2(0x369)](),this;},'finalize':function(_0x158948){var _0x110c17=_0x3e6f8c;_0x158948&&this['_append'](_0x158948);var _0x31f077=this[_0x110c17(0x1ea)]();return _0x31f077;},'blockSize':0x10,'_createHelper':function(_0x8dcafa){return function(_0x28127c,_0x40a573){var _0x5b75cd=_0x1ccf;return new _0x8dcafa['init'](_0x40a573)[_0x5b75cd(0x1e2)](_0x28127c);};},'_createHmacHelper':function(_0x1049c9){return function(_0x42bd6a,_0x1b0fca){var _0x146cda=_0x1ccf;return new _0x35ec3e[(_0x146cda(0x4c8))][(_0x146cda(0x38b))](_0x1049c9,_0x1b0fca)[_0x146cda(0x1e2)](_0x42bd6a);};}});var _0x35ec3e=_0x223419[_0x3e6f8c(0x2ba)]={};return _0x223419;}(Math);return _0x5d0421;}));}(pe)),pe['exports'];}var me={'exports':{}},zn=me[_0x5c4b2d(0x331)],et;function Dt(){var _0x181809=_0x5c4b2d;return et||(et=0x1,function(_0x58bdcb,_0x1e48a1){(function(_0x256fe9,_0x3ba5ac){var _0x306690=_0x1ccf;_0x58bdcb[_0x306690(0x331)]=_0x3ba5ac(ee());}(zn,function(_0x2e3d72){var _0x4c44f8=_0x1ccf;return(function(){var _0x37d9c7=_0x1ccf,_0x25f2b0=_0x2e3d72,_0x5cdbb9=_0x25f2b0[_0x37d9c7(0x4e9)],_0x3421ce=_0x5cdbb9[_0x37d9c7(0x433)],_0x122356=_0x25f2b0['enc'];_0x122356[_0x37d9c7(0x2bb)]={'stringify':function(_0x481928){var _0x1cb68f=_0x37d9c7,_0x2c0826=_0x481928['words'],_0x46d20c=_0x481928['sigBytes'],_0x22c7c4=this[_0x1cb68f(0x3fc)];_0x481928['clamp']();for(var _0x1a1efc=[],_0xe152c0=0x0;_0xe152c0<_0x46d20c;_0xe152c0+=0x3)for(var _0x1ef7be=_0x2c0826[_0xe152c0>>>0x2]>>>0x18-_0xe152c0%0x4*0x8&0xff,_0x3e007a=_0x2c0826[_0xe152c0+0x1>>>0x2]>>>0x18-(_0xe152c0+0x1)%0x4*0x8&0xff,_0x2af85a=_0x2c0826[_0xe152c0+0x2>>>0x2]>>>0x18-(_0xe152c0+0x2)%0x4*0x8&0xff,_0x47a786=_0x1ef7be<<0x10|_0x3e007a<<0x8|_0x2af85a,_0x4ee96b=0x0;_0x4ee96b<0x4&&_0xe152c0+_0x4ee96b*0.75<_0x46d20c;_0x4ee96b++)_0x1a1efc[_0x1cb68f(0x3d2)](_0x22c7c4[_0x1cb68f(0x27f)](_0x47a786>>>0x6*(0x3-_0x4ee96b)&0x3f));var _0x57c400=_0x22c7c4['charAt'](0x40);if(_0x57c400){for(;_0x1a1efc[_0x1cb68f(0x22b)]%0x4;)_0x1a1efc[_0x1cb68f(0x3d2)](_0x57c400);}return _0x1a1efc[_0x1cb68f(0x208)]('');},'parse':function(_0x1d7274){var _0x431324=_0x37d9c7,_0x48a78f=_0x1d7274[_0x431324(0x22b)],_0x5bc1ab=this['_map'],_0x4abe3d=this['_reverseMap'];if(!_0x4abe3d){_0x4abe3d=this[_0x431324(0x387)]=[];for(var _0x21cbee=0x0;_0x21cbee<_0x5bc1ab[_0x431324(0x22b)];_0x21cbee++)_0x4abe3d[_0x5bc1ab[_0x431324(0x1d6)](_0x21cbee)]=_0x21cbee;}var _0x3f9712=_0x5bc1ab[_0x431324(0x27f)](0x40);if(_0x3f9712){var _0x4bdede=_0x1d7274[_0x431324(0x32e)](_0x3f9712);_0x4bdede!==-0x1&&(_0x48a78f=_0x4bdede);}return _0x10beb3(_0x1d7274,_0x48a78f,_0x4abe3d);},'_map':_0x37d9c7(0x368)};function _0x10beb3(_0x2b045b,_0x108f5e,_0x213137){var _0xded9d2=_0x37d9c7;for(var _0x4e0e3c=[],_0x5b1406=0x0,_0x573580=0x0;_0x573580<_0x108f5e;_0x573580++)if(_0x573580%0x4){var _0x2c9114=_0x213137[_0x2b045b['charCodeAt'](_0x573580-0x1)]<<_0x573580%0x4*0x2,_0x5662f8=_0x213137[_0x2b045b[_0xded9d2(0x1d6)](_0x573580)]>>>0x6-_0x573580%0x4*0x2,_0x112bd8=_0x2c9114|_0x5662f8;_0x4e0e3c[_0x5b1406>>>0x2]|=_0x112bd8<<0x18-_0x5b1406%0x4*0x8,_0x5b1406++;}return _0x3421ce[_0xded9d2(0x424)](_0x4e0e3c,_0x5b1406);}}()),_0x2e3d72[_0x4c44f8(0x2d6)]['Base64'];}));}(me)),me[_0x181809(0x331)];}var ge={'exports':{}},Jn=ge[_0x5c4b2d(0x331)],tt;function Xn(){var _0x52fb9f=_0x5c4b2d;return tt||(tt=0x1,function(_0xc9e138,_0x38e739){(function(_0x288b5d,_0x5f2494){var _0x399acb=_0x1ccf;_0xc9e138[_0x399acb(0x331)]=_0x5f2494(ee());}(Jn,function(_0x55ec8e){var _0x36201f=_0x1ccf;return function(_0x322332){var _0x49d1ba=_0x1ccf,_0x39868e=_0x55ec8e,_0x2483bc=_0x39868e[_0x49d1ba(0x4e9)],_0x42c2f2=_0x2483bc[_0x49d1ba(0x433)],_0x46eef4=_0x2483bc[_0x49d1ba(0x3b2)],_0x1b060a=_0x39868e[_0x49d1ba(0x2ba)],_0x45439a=[];(function(){var _0x19afef=_0x49d1ba;for(var _0x135172=0x0;_0x135172<0x40;_0x135172++)_0x45439a[_0x135172]=_0x322332[_0x19afef(0x42a)](_0x322332[_0x19afef(0x460)](_0x135172+0x1))*0x100000000|0x0;}());var _0x1bc7ab=_0x1b060a[_0x49d1ba(0x21f)]=_0x46eef4[_0x49d1ba(0x1b5)]({'_doReset':function(){var _0x1a937e=_0x49d1ba;this[_0x1a937e(0x420)]=new _0x42c2f2['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1c9cff,_0x564a2a){var _0xf790c=_0x49d1ba;for(var _0x3b3fe5=0x0;_0x3b3fe5<0x10;_0x3b3fe5++){var _0x702102=_0x564a2a+_0x3b3fe5,_0x46478e=_0x1c9cff[_0x702102];_0x1c9cff[_0x702102]=(_0x46478e<<0x8|_0x46478e>>>0x18)&0xff00ff|(_0x46478e<<0x18|_0x46478e>>>0x8)&0xff00ff00;}var _0x4e5757=this[_0xf790c(0x420)][_0xf790c(0x468)],_0x126550=_0x1c9cff[_0x564a2a+0x0],_0x14e66b=_0x1c9cff[_0x564a2a+0x1],_0x3a0e98=_0x1c9cff[_0x564a2a+0x2],_0xe0ad1f=_0x1c9cff[_0x564a2a+0x3],_0x515be7=_0x1c9cff[_0x564a2a+0x4],_0xd100fd=_0x1c9cff[_0x564a2a+0x5],_0x253ad7=_0x1c9cff[_0x564a2a+0x6],_0x174c2f=_0x1c9cff[_0x564a2a+0x7],_0x57c278=_0x1c9cff[_0x564a2a+0x8],_0x17c009=_0x1c9cff[_0x564a2a+0x9],_0x28152a=_0x1c9cff[_0x564a2a+0xa],_0x5e268e=_0x1c9cff[_0x564a2a+0xb],_0x2681ab=_0x1c9cff[_0x564a2a+0xc],_0x1deb6c=_0x1c9cff[_0x564a2a+0xd],_0x522115=_0x1c9cff[_0x564a2a+0xe],_0x53de30=_0x1c9cff[_0x564a2a+0xf],_0x81248c=_0x4e5757[0x0],_0x2525d4=_0x4e5757[0x1],_0x5ecf55=_0x4e5757[0x2],_0x61a206=_0x4e5757[0x3];_0x81248c=_0xa4011c(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x126550,0x7,_0x45439a[0x0]),_0x61a206=_0xa4011c(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x14e66b,0xc,_0x45439a[0x1]),_0x5ecf55=_0xa4011c(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x3a0e98,0x11,_0x45439a[0x2]),_0x2525d4=_0xa4011c(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0xe0ad1f,0x16,_0x45439a[0x3]),_0x81248c=_0xa4011c(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x515be7,0x7,_0x45439a[0x4]),_0x61a206=_0xa4011c(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0xd100fd,0xc,_0x45439a[0x5]),_0x5ecf55=_0xa4011c(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x253ad7,0x11,_0x45439a[0x6]),_0x2525d4=_0xa4011c(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x174c2f,0x16,_0x45439a[0x7]),_0x81248c=_0xa4011c(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x57c278,0x7,_0x45439a[0x8]),_0x61a206=_0xa4011c(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x17c009,0xc,_0x45439a[0x9]),_0x5ecf55=_0xa4011c(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x28152a,0x11,_0x45439a[0xa]),_0x2525d4=_0xa4011c(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x5e268e,0x16,_0x45439a[0xb]),_0x81248c=_0xa4011c(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x2681ab,0x7,_0x45439a[0xc]),_0x61a206=_0xa4011c(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x1deb6c,0xc,_0x45439a[0xd]),_0x5ecf55=_0xa4011c(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x522115,0x11,_0x45439a[0xe]),_0x2525d4=_0xa4011c(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x53de30,0x16,_0x45439a[0xf]),_0x81248c=_0xb0b62d(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x14e66b,0x5,_0x45439a[0x10]),_0x61a206=_0xb0b62d(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x253ad7,0x9,_0x45439a[0x11]),_0x5ecf55=_0xb0b62d(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x5e268e,0xe,_0x45439a[0x12]),_0x2525d4=_0xb0b62d(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x126550,0x14,_0x45439a[0x13]),_0x81248c=_0xb0b62d(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0xd100fd,0x5,_0x45439a[0x14]),_0x61a206=_0xb0b62d(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x28152a,0x9,_0x45439a[0x15]),_0x5ecf55=_0xb0b62d(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x53de30,0xe,_0x45439a[0x16]),_0x2525d4=_0xb0b62d(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x515be7,0x14,_0x45439a[0x17]),_0x81248c=_0xb0b62d(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x17c009,0x5,_0x45439a[0x18]),_0x61a206=_0xb0b62d(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x522115,0x9,_0x45439a[0x19]),_0x5ecf55=_0xb0b62d(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0xe0ad1f,0xe,_0x45439a[0x1a]),_0x2525d4=_0xb0b62d(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x57c278,0x14,_0x45439a[0x1b]),_0x81248c=_0xb0b62d(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x1deb6c,0x5,_0x45439a[0x1c]),_0x61a206=_0xb0b62d(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x3a0e98,0x9,_0x45439a[0x1d]),_0x5ecf55=_0xb0b62d(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x174c2f,0xe,_0x45439a[0x1e]),_0x2525d4=_0xb0b62d(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x2681ab,0x14,_0x45439a[0x1f]),_0x81248c=_0x5ab8f7(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0xd100fd,0x4,_0x45439a[0x20]),_0x61a206=_0x5ab8f7(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x57c278,0xb,_0x45439a[0x21]),_0x5ecf55=_0x5ab8f7(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x5e268e,0x10,_0x45439a[0x22]),_0x2525d4=_0x5ab8f7(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x522115,0x17,_0x45439a[0x23]),_0x81248c=_0x5ab8f7(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x14e66b,0x4,_0x45439a[0x24]),_0x61a206=_0x5ab8f7(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x515be7,0xb,_0x45439a[0x25]),_0x5ecf55=_0x5ab8f7(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x174c2f,0x10,_0x45439a[0x26]),_0x2525d4=_0x5ab8f7(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x28152a,0x17,_0x45439a[0x27]),_0x81248c=_0x5ab8f7(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x1deb6c,0x4,_0x45439a[0x28]),_0x61a206=_0x5ab8f7(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x126550,0xb,_0x45439a[0x29]),_0x5ecf55=_0x5ab8f7(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0xe0ad1f,0x10,_0x45439a[0x2a]),_0x2525d4=_0x5ab8f7(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x253ad7,0x17,_0x45439a[0x2b]),_0x81248c=_0x5ab8f7(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x17c009,0x4,_0x45439a[0x2c]),_0x61a206=_0x5ab8f7(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x2681ab,0xb,_0x45439a[0x2d]),_0x5ecf55=_0x5ab8f7(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x53de30,0x10,_0x45439a[0x2e]),_0x2525d4=_0x5ab8f7(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x3a0e98,0x17,_0x45439a[0x2f]),_0x81248c=_0x3e00c8(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x126550,0x6,_0x45439a[0x30]),_0x61a206=_0x3e00c8(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x174c2f,0xa,_0x45439a[0x31]),_0x5ecf55=_0x3e00c8(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x522115,0xf,_0x45439a[0x32]),_0x2525d4=_0x3e00c8(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0xd100fd,0x15,_0x45439a[0x33]),_0x81248c=_0x3e00c8(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x2681ab,0x6,_0x45439a[0x34]),_0x61a206=_0x3e00c8(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0xe0ad1f,0xa,_0x45439a[0x35]),_0x5ecf55=_0x3e00c8(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x28152a,0xf,_0x45439a[0x36]),_0x2525d4=_0x3e00c8(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x14e66b,0x15,_0x45439a[0x37]),_0x81248c=_0x3e00c8(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x57c278,0x6,_0x45439a[0x38]),_0x61a206=_0x3e00c8(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x53de30,0xa,_0x45439a[0x39]),_0x5ecf55=_0x3e00c8(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x253ad7,0xf,_0x45439a[0x3a]),_0x2525d4=_0x3e00c8(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x1deb6c,0x15,_0x45439a[0x3b]),_0x81248c=_0x3e00c8(_0x81248c,_0x2525d4,_0x5ecf55,_0x61a206,_0x515be7,0x6,_0x45439a[0x3c]),_0x61a206=_0x3e00c8(_0x61a206,_0x81248c,_0x2525d4,_0x5ecf55,_0x5e268e,0xa,_0x45439a[0x3d]),_0x5ecf55=_0x3e00c8(_0x5ecf55,_0x61a206,_0x81248c,_0x2525d4,_0x3a0e98,0xf,_0x45439a[0x3e]),_0x2525d4=_0x3e00c8(_0x2525d4,_0x5ecf55,_0x61a206,_0x81248c,_0x17c009,0x15,_0x45439a[0x3f]),_0x4e5757[0x0]=_0x4e5757[0x0]+_0x81248c|0x0,_0x4e5757[0x1]=_0x4e5757[0x1]+_0x2525d4|0x0,_0x4e5757[0x2]=_0x4e5757[0x2]+_0x5ecf55|0x0,_0x4e5757[0x3]=_0x4e5757[0x3]+_0x61a206|0x0;},'_doFinalize':function(){var _0x2e1ebc=_0x49d1ba,_0x50ee59=this[_0x2e1ebc(0x1fb)],_0x495270=_0x50ee59[_0x2e1ebc(0x468)],_0x4710e3=this[_0x2e1ebc(0x2cd)]*0x8,_0x5bec7e=_0x50ee59[_0x2e1ebc(0x1de)]*0x8;_0x495270[_0x5bec7e>>>0x5]|=0x80<<0x18-_0x5bec7e%0x20;var _0x58d17f=_0x322332['floor'](_0x4710e3/0x100000000),_0x3adee2=_0x4710e3;_0x495270[(_0x5bec7e+0x40>>>0x9<<0x4)+0xf]=(_0x58d17f<<0x8|_0x58d17f>>>0x18)&0xff00ff|(_0x58d17f<<0x18|_0x58d17f>>>0x8)&0xff00ff00,_0x495270[(_0x5bec7e+0x40>>>0x9<<0x4)+0xe]=(_0x3adee2<<0x8|_0x3adee2>>>0x18)&0xff00ff|(_0x3adee2<<0x18|_0x3adee2>>>0x8)&0xff00ff00,_0x50ee59['sigBytes']=(_0x495270[_0x2e1ebc(0x22b)]+0x1)*0x4,this[_0x2e1ebc(0x369)]();for(var _0x2dd777=this[_0x2e1ebc(0x420)],_0x3135a8=_0x2dd777[_0x2e1ebc(0x468)],_0x48edfa=0x0;_0x48edfa<0x4;_0x48edfa++){var _0x8d6f90=_0x3135a8[_0x48edfa];_0x3135a8[_0x48edfa]=(_0x8d6f90<<0x8|_0x8d6f90>>>0x18)&0xff00ff|(_0x8d6f90<<0x18|_0x8d6f90>>>0x8)&0xff00ff00;}return _0x2dd777;},'clone':function(){var _0x2e6417=_0x49d1ba,_0x4f7b44=_0x46eef4['clone'][_0x2e6417(0x284)](this);return _0x4f7b44[_0x2e6417(0x420)]=this[_0x2e6417(0x420)][_0x2e6417(0x3f2)](),_0x4f7b44;}});function _0xa4011c(_0x58d7b3,_0x51f09b,_0x57650a,_0x5821c0,_0x479d5c,_0x1f25bb,_0x573bdc){var _0x2c7e4b=_0x58d7b3+(_0x51f09b&_0x57650a|~_0x51f09b&_0x5821c0)+_0x479d5c+_0x573bdc;return(_0x2c7e4b<<_0x1f25bb|_0x2c7e4b>>>0x20-_0x1f25bb)+_0x51f09b;}function _0xb0b62d(_0x26eddb,_0x35f578,_0x28c5db,_0x485217,_0x3dd705,_0x1c3350,_0x486add){var _0x42fe1f=_0x26eddb+(_0x35f578&_0x485217|_0x28c5db&~_0x485217)+_0x3dd705+_0x486add;return(_0x42fe1f<<_0x1c3350|_0x42fe1f>>>0x20-_0x1c3350)+_0x35f578;}function _0x5ab8f7(_0x567b4e,_0x5befbc,_0x11241b,_0x699942,_0x2e6632,_0x5dbdc9,_0x23503a){var _0x405ad2=_0x567b4e+(_0x5befbc^_0x11241b^_0x699942)+_0x2e6632+_0x23503a;return(_0x405ad2<<_0x5dbdc9|_0x405ad2>>>0x20-_0x5dbdc9)+_0x5befbc;}function _0x3e00c8(_0x4aac33,_0x31ac15,_0x370f5a,_0x1c6acc,_0x5a9a21,_0x5bc3d6,_0x4f0e8d){var _0x2b6ccf=_0x4aac33+(_0x370f5a^(_0x31ac15|~_0x1c6acc))+_0x5a9a21+_0x4f0e8d;return(_0x2b6ccf<<_0x5bc3d6|_0x2b6ccf>>>0x20-_0x5bc3d6)+_0x31ac15;}_0x39868e[_0x49d1ba(0x21f)]=_0x46eef4['_createHelper'](_0x1bc7ab),_0x39868e[_0x49d1ba(0x42c)]=_0x46eef4['_createHmacHelper'](_0x1bc7ab);}(Math),_0x55ec8e[_0x36201f(0x21f)];}));}(ge)),ge[_0x52fb9f(0x331)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5c4b2d(0x331)],nt;function Qn(){var _0x468beb=_0x5c4b2d;return nt||(nt=0x1,function(_0x651efd,_0x229ec3){(function(_0xb9cfcf,_0x2c41eb){_0x651efd['exports']=_0x2c41eb(ee());}(Zn,function(_0x36f859){return(function(){var _0x32e517=_0x1ccf,_0x56658d=_0x36f859,_0x2a2772=_0x56658d[_0x32e517(0x4e9)],_0x363ffd=_0x2a2772[_0x32e517(0x433)],_0x33a252=_0x2a2772['Hasher'],_0x4e96a0=_0x56658d[_0x32e517(0x2ba)],_0x18c5d5=[],_0x474ea8=_0x4e96a0['SHA1']=_0x33a252['extend']({'_doReset':function(){var _0x1b492a=_0x32e517;this[_0x1b492a(0x420)]=new _0x363ffd[(_0x1b492a(0x38b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40279b,_0x1c7c19){var _0x2de1a7=_0x32e517;for(var _0x1b56cb=this['_hash'][_0x2de1a7(0x468)],_0xab5489=_0x1b56cb[0x0],_0x45c5df=_0x1b56cb[0x1],_0x3672bc=_0x1b56cb[0x2],_0x47e6de=_0x1b56cb[0x3],_0x492462=_0x1b56cb[0x4],_0x3f297e=0x0;_0x3f297e<0x50;_0x3f297e++){if(_0x3f297e<0x10)_0x18c5d5[_0x3f297e]=_0x40279b[_0x1c7c19+_0x3f297e]|0x0;else{var _0x300d09=_0x18c5d5[_0x3f297e-0x3]^_0x18c5d5[_0x3f297e-0x8]^_0x18c5d5[_0x3f297e-0xe]^_0x18c5d5[_0x3f297e-0x10];_0x18c5d5[_0x3f297e]=_0x300d09<<0x1|_0x300d09>>>0x1f;}var _0x206c9d=(_0xab5489<<0x5|_0xab5489>>>0x1b)+_0x492462+_0x18c5d5[_0x3f297e];_0x3f297e<0x14?_0x206c9d+=(_0x45c5df&_0x3672bc|~_0x45c5df&_0x47e6de)+0x5a827999:_0x3f297e<0x28?_0x206c9d+=(_0x45c5df^_0x3672bc^_0x47e6de)+0x6ed9eba1:_0x3f297e<0x3c?_0x206c9d+=(_0x45c5df&_0x3672bc|_0x45c5df&_0x47e6de|_0x3672bc&_0x47e6de)-0x70e44324:_0x206c9d+=(_0x45c5df^_0x3672bc^_0x47e6de)-0x359d3e2a,_0x492462=_0x47e6de,_0x47e6de=_0x3672bc,_0x3672bc=_0x45c5df<<0x1e|_0x45c5df>>>0x2,_0x45c5df=_0xab5489,_0xab5489=_0x206c9d;}_0x1b56cb[0x0]=_0x1b56cb[0x0]+_0xab5489|0x0,_0x1b56cb[0x1]=_0x1b56cb[0x1]+_0x45c5df|0x0,_0x1b56cb[0x2]=_0x1b56cb[0x2]+_0x3672bc|0x0,_0x1b56cb[0x3]=_0x1b56cb[0x3]+_0x47e6de|0x0,_0x1b56cb[0x4]=_0x1b56cb[0x4]+_0x492462|0x0;},'_doFinalize':function(){var _0x31baec=_0x32e517,_0x2cd8dd=this['_data'],_0x25a959=_0x2cd8dd[_0x31baec(0x468)],_0x3bf6d6=this['_nDataBytes']*0x8,_0x254b29=_0x2cd8dd[_0x31baec(0x1de)]*0x8;return _0x25a959[_0x254b29>>>0x5]|=0x80<<0x18-_0x254b29%0x20,_0x25a959[(_0x254b29+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3bf6d6/0x100000000),_0x25a959[(_0x254b29+0x40>>>0x9<<0x4)+0xf]=_0x3bf6d6,_0x2cd8dd[_0x31baec(0x1de)]=_0x25a959[_0x31baec(0x22b)]*0x4,this[_0x31baec(0x369)](),this[_0x31baec(0x420)];},'clone':function(){var _0x1e5eed=_0x32e517,_0x2a8e7b=_0x33a252[_0x1e5eed(0x3f2)][_0x1e5eed(0x284)](this);return _0x2a8e7b[_0x1e5eed(0x420)]=this[_0x1e5eed(0x420)]['clone'](),_0x2a8e7b;}});_0x56658d['SHA1']=_0x33a252[_0x32e517(0x461)](_0x474ea8),_0x56658d[_0x32e517(0x515)]=_0x33a252[_0x32e517(0x525)](_0x474ea8);}()),_0x36f859['SHA1'];}));}(Ee)),Ee[_0x468beb(0x331)];}var Ce={'exports':{}},ei=Ce[_0x5c4b2d(0x331)],it;function ti(){var _0x5de7ec=_0x5c4b2d;return it||(it=0x1,function(_0x8c1131,_0x54b9ae){(function(_0x3187d8,_0x189a24){var _0x48f935=_0x1ccf;_0x8c1131[_0x48f935(0x331)]=_0x189a24(ee());}(ei,function(_0x4231a0){(function(){var _0x308aaf=_0x1ccf,_0x14b80c=_0x4231a0,_0x2352a5=_0x14b80c[_0x308aaf(0x4e9)],_0x3a6063=_0x2352a5[_0x308aaf(0x3a1)],_0x187b4c=_0x14b80c['enc'],_0x3f7be1=_0x187b4c[_0x308aaf(0x470)],_0x19151b=_0x14b80c['algo'];_0x19151b[_0x308aaf(0x4c8)]=_0x3a6063['extend']({'init':function(_0x1c0bb5,_0x12530d){var _0x59860e=_0x308aaf;_0x1c0bb5=this[_0x59860e(0x34d)]=new _0x1c0bb5[(_0x59860e(0x38b))](),typeof _0x12530d==_0x59860e(0x44e)&&(_0x12530d=_0x3f7be1[_0x59860e(0x52a)](_0x12530d));var _0x1db802=_0x1c0bb5[_0x59860e(0x451)],_0x4d7559=_0x1db802*0x4;_0x12530d['sigBytes']>_0x4d7559&&(_0x12530d=_0x1c0bb5[_0x59860e(0x1e2)](_0x12530d)),_0x12530d[_0x59860e(0x24f)]();for(var _0x2f201f=this[_0x59860e(0x2ea)]=_0x12530d[_0x59860e(0x3f2)](),_0x35d34a=this[_0x59860e(0x4af)]=_0x12530d[_0x59860e(0x3f2)](),_0x214462=_0x2f201f[_0x59860e(0x468)],_0xaedeb4=_0x35d34a['words'],_0x109a51=0x0;_0x109a51<_0x1db802;_0x109a51++)_0x214462[_0x109a51]^=0x5c5c5c5c,_0xaedeb4[_0x109a51]^=0x36363636;_0x2f201f[_0x59860e(0x1de)]=_0x35d34a[_0x59860e(0x1de)]=_0x4d7559,this[_0x59860e(0x3cd)]();},'reset':function(){var _0x50469e=_0x308aaf,_0x2b4c24=this[_0x50469e(0x34d)];_0x2b4c24[_0x50469e(0x3cd)](),_0x2b4c24[_0x50469e(0x247)](this[_0x50469e(0x4af)]);},'update':function(_0x2a9987){var _0x907b59=_0x308aaf;return this['_hasher'][_0x907b59(0x247)](_0x2a9987),this;},'finalize':function(_0x1ff259){var _0x542d5d=_0x308aaf,_0x25add9=this[_0x542d5d(0x34d)],_0xc2625b=_0x25add9['finalize'](_0x1ff259);_0x25add9[_0x542d5d(0x3cd)]();var _0x4d0e3b=_0x25add9[_0x542d5d(0x1e2)](this[_0x542d5d(0x2ea)][_0x542d5d(0x3f2)]()[_0x542d5d(0x1f6)](_0xc2625b));return _0x4d0e3b;}});}());}));}(Ce)),Ce[_0x5de7ec(0x331)];}var ni=Ie['exports'],rt;function wt(){var _0x436bef=_0x5c4b2d;return rt||(rt=0x1,function(_0x1883d9,_0x5e0d61){(function(_0x28894f,_0x3c2c13,_0x55879c){var _0x8d41b1=_0x1ccf;_0x1883d9[_0x8d41b1(0x331)]=_0x3c2c13(ee(),Qn(),ti());}(ni,function(_0x5aafd1){var _0x9f3af=_0x1ccf;return(function(){var _0x3c0ed9=_0x1ccf,_0x33eb23=_0x5aafd1,_0x2b11f2=_0x33eb23[_0x3c0ed9(0x4e9)],_0x29303a=_0x2b11f2[_0x3c0ed9(0x3a1)],_0xd41fb0=_0x2b11f2[_0x3c0ed9(0x433)],_0x25dd9c=_0x33eb23['algo'],_0x47a322=_0x25dd9c[_0x3c0ed9(0x21f)],_0x14bb8c=_0x25dd9c[_0x3c0ed9(0x228)]=_0x29303a[_0x3c0ed9(0x1b5)]({'cfg':_0x29303a[_0x3c0ed9(0x1b5)]({'keySize':0x80/0x20,'hasher':_0x47a322,'iterations':0x1}),'init':function(_0x5aa9e7){var _0x308aed=_0x3c0ed9;this['cfg']=this[_0x308aed(0x3f1)][_0x308aed(0x1b5)](_0x5aa9e7);},'compute':function(_0x2a3dd0,_0x56a431){var _0x10cd42=_0x3c0ed9;for(var _0x1a345d,_0x1285a7=this[_0x10cd42(0x3f1)],_0x45da89=_0x1285a7[_0x10cd42(0x49f)]['create'](),_0x25657a=_0xd41fb0['create'](),_0x1750ab=_0x25657a[_0x10cd42(0x468)],_0xd84a01=_0x1285a7[_0x10cd42(0x295)],_0x513629=_0x1285a7[_0x10cd42(0x48e)];_0x1750ab['length']<_0xd84a01;){_0x1a345d&&_0x45da89[_0x10cd42(0x247)](_0x1a345d),_0x1a345d=_0x45da89['update'](_0x2a3dd0)[_0x10cd42(0x1e2)](_0x56a431),_0x45da89[_0x10cd42(0x3cd)]();for(var _0x618557=0x1;_0x618557<_0x513629;_0x618557++)_0x1a345d=_0x45da89['finalize'](_0x1a345d),_0x45da89['reset']();_0x25657a[_0x10cd42(0x1f6)](_0x1a345d);}return _0x25657a[_0x10cd42(0x1de)]=_0xd84a01*0x4,_0x25657a;}});_0x33eb23[_0x3c0ed9(0x228)]=function(_0xd92002,_0x14e35b,_0x46b75d){var _0xcd6dbd=_0x3c0ed9;return _0x14bb8c['create'](_0x46b75d)[_0xcd6dbd(0x1b7)](_0xd92002,_0x14e35b);};}()),_0x5aafd1[_0x9f3af(0x228)];}));}(Ie)),Ie[_0x436bef(0x331)];}function _0x1ccf(_0x17169d,_0x5c5898){var _0x4d50a0=_0x4d50();return _0x1ccf=function(_0x1ccf12,_0x55f5a3){_0x1ccf12=_0x1ccf12-0x1a3;var _0x4daff8=_0x4d50a0[_0x1ccf12];return _0x4daff8;},_0x1ccf(_0x17169d,_0x5c5898);}var Te={'exports':{}},ii=Te[_0x5c4b2d(0x331)],st;function At(){var _0x177683=_0x5c4b2d;return st||(st=0x1,function(_0x34bbcd,_0x3489b0){(function(_0x4a3f45,_0x5768ea,_0x1a16d8){var _0x23c5b3=_0x1ccf;_0x34bbcd[_0x23c5b3(0x331)]=_0x5768ea(ee(),wt());}(ii,function(_0x104217){var _0x1b21d8=_0x1ccf;_0x104217[_0x1b21d8(0x4e9)][_0x1b21d8(0x2c8)]||function(_0x552e93){var _0x56b7b7=_0x1b21d8,_0x10e51e=_0x104217,_0x376a77=_0x10e51e[_0x56b7b7(0x4e9)],_0x5a9773=_0x376a77[_0x56b7b7(0x3a1)],_0x899d07=_0x376a77['WordArray'],_0x4e23e6=_0x376a77[_0x56b7b7(0x261)],_0x103666=_0x10e51e[_0x56b7b7(0x2d6)];_0x103666['Utf8'];var _0x8a5aa0=_0x103666[_0x56b7b7(0x2bb)],_0x3a92fc=_0x10e51e[_0x56b7b7(0x2ba)],_0x578556=_0x3a92fc[_0x56b7b7(0x228)],_0x40d0cb=_0x376a77[_0x56b7b7(0x2c8)]=_0x4e23e6[_0x56b7b7(0x1b5)]({'cfg':_0x5a9773[_0x56b7b7(0x1b5)](),'createEncryptor':function(_0x4a33fd,_0x28868b){var _0x888fdf=_0x56b7b7;return this[_0x888fdf(0x424)](this['_ENC_XFORM_MODE'],_0x4a33fd,_0x28868b);},'createDecryptor':function(_0x4bea45,_0x2a1a82){var _0xb83d6b=_0x56b7b7;return this[_0xb83d6b(0x424)](this[_0xb83d6b(0x1a4)],_0x4bea45,_0x2a1a82);},'init':function(_0x5e40b9,_0x5bfe7e,_0x4169ca){var _0x310373=_0x56b7b7;this[_0x310373(0x3f1)]=this['cfg'][_0x310373(0x1b5)](_0x4169ca),this[_0x310373(0x286)]=_0x5e40b9,this[_0x310373(0x403)]=_0x5bfe7e,this[_0x310373(0x3cd)]();},'reset':function(){var _0x1faad0=_0x56b7b7;_0x4e23e6[_0x1faad0(0x3cd)][_0x1faad0(0x284)](this),this[_0x1faad0(0x28c)]();},'process':function(_0x44bfc6){var _0x1bad45=_0x56b7b7;return this[_0x1bad45(0x4c7)](_0x44bfc6),this[_0x1bad45(0x369)]();},'finalize':function(_0x44b480){var _0x23bdd9=_0x56b7b7;_0x44b480&&this[_0x23bdd9(0x4c7)](_0x44b480);var _0x4ee78a=this['_doFinalize']();return _0x4ee78a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1be72e(_0x1055f3){var _0xd369b7=_0x1ccf;return typeof _0x1055f3==_0xd369b7(0x44e)?_0x41771a:_0x5e7a63;}return function(_0x259346){return{'encrypt':function(_0x1a3869,_0x141a3d,_0x1098d6){var _0x534753=_0x1ccf;return _0x1be72e(_0x141a3d)[_0x534753(0x2af)](_0x259346,_0x1a3869,_0x141a3d,_0x1098d6);},'decrypt':function(_0x4febb0,_0x44d016,_0x14256a){var _0x157c33=_0x1ccf;return _0x1be72e(_0x44d016)[_0x157c33(0x38d)](_0x259346,_0x4febb0,_0x44d016,_0x14256a);}};};}())});_0x376a77[_0x56b7b7(0x31d)]=_0x40d0cb[_0x56b7b7(0x1b5)]({'_doFinalize':function(){var _0x12b145=_0x56b7b7,_0x58b982=this[_0x12b145(0x369)](!0x0);return _0x58b982;},'blockSize':0x1});var _0x3113b2=_0x10e51e[_0x56b7b7(0x39f)]={},_0x5a32a8=_0x376a77['BlockCipherMode']=_0x5a9773[_0x56b7b7(0x1b5)]({'createEncryptor':function(_0x2450be,_0x2a9d7d){var _0x38a070=_0x56b7b7;return this[_0x38a070(0x3a7)][_0x38a070(0x424)](_0x2450be,_0x2a9d7d);},'createDecryptor':function(_0x56c70e,_0x29371b){var _0x456aa1=_0x56b7b7;return this[_0x456aa1(0x3cf)][_0x456aa1(0x424)](_0x56c70e,_0x29371b);},'init':function(_0x2f1b80,_0x13da19){var _0x4d1725=_0x56b7b7;this[_0x4d1725(0x22a)]=_0x2f1b80,this[_0x4d1725(0x374)]=_0x13da19;}}),_0x13fe33=_0x3113b2[_0x56b7b7(0x348)]=(function(){var _0x2a0117=_0x56b7b7,_0x11cf7d=_0x5a32a8[_0x2a0117(0x1b5)]();_0x11cf7d[_0x2a0117(0x3a7)]=_0x11cf7d[_0x2a0117(0x1b5)]({'processBlock':function(_0x4b2809,_0x52c854){var _0x5475c6=_0x2a0117,_0x395417=this[_0x5475c6(0x22a)],_0x14bb53=_0x395417[_0x5475c6(0x451)];_0x16df9c[_0x5475c6(0x284)](this,_0x4b2809,_0x52c854,_0x14bb53),_0x395417[_0x5475c6(0x41e)](_0x4b2809,_0x52c854),this['_prevBlock']=_0x4b2809['slice'](_0x52c854,_0x52c854+_0x14bb53);}}),_0x11cf7d['Decryptor']=_0x11cf7d[_0x2a0117(0x1b5)]({'processBlock':function(_0x2e6710,_0x2ed50b){var _0x10f4e6=_0x2a0117,_0x186453=this['_cipher'],_0x1dd522=_0x186453[_0x10f4e6(0x451)],_0x477bc4=_0x2e6710['slice'](_0x2ed50b,_0x2ed50b+_0x1dd522);_0x186453[_0x10f4e6(0x421)](_0x2e6710,_0x2ed50b),_0x16df9c[_0x10f4e6(0x284)](this,_0x2e6710,_0x2ed50b,_0x1dd522),this[_0x10f4e6(0x1e9)]=_0x477bc4;}});function _0x16df9c(_0x55c4d6,_0x296dfb,_0x10f498){var _0x31fea6=_0x2a0117,_0xf5f385,_0x520271=this[_0x31fea6(0x374)];_0x520271?(_0xf5f385=_0x520271,this[_0x31fea6(0x374)]=_0x552e93):_0xf5f385=this['_prevBlock'];for(var _0x2d6da0=0x0;_0x2d6da0<_0x10f498;_0x2d6da0++)_0x55c4d6[_0x296dfb+_0x2d6da0]^=_0xf5f385[_0x2d6da0];}return _0x11cf7d;}()),_0x500724=_0x10e51e[_0x56b7b7(0x401)]={},_0xeec885=_0x500724[_0x56b7b7(0x2db)]={'pad':function(_0x115e41,_0x2ba641){var _0x1e38ff=_0x56b7b7;for(var _0x4310b7=_0x2ba641*0x4,_0x5bad37=_0x4310b7-_0x115e41['sigBytes']%_0x4310b7,_0x499beb=_0x5bad37<<0x18|_0x5bad37<<0x10|_0x5bad37<<0x8|_0x5bad37,_0x4b6e44=[],_0x25b1f8=0x0;_0x25b1f8<_0x5bad37;_0x25b1f8+=0x4)_0x4b6e44[_0x1e38ff(0x3d2)](_0x499beb);var _0x392691=_0x899d07[_0x1e38ff(0x424)](_0x4b6e44,_0x5bad37);_0x115e41['concat'](_0x392691);},'unpad':function(_0x1b43a6){var _0x36dc09=_0x56b7b7,_0x3d1075=_0x1b43a6[_0x36dc09(0x468)][_0x1b43a6[_0x36dc09(0x1de)]-0x1>>>0x2]&0xff;_0x1b43a6[_0x36dc09(0x1de)]-=_0x3d1075;}};_0x376a77[_0x56b7b7(0x292)]=_0x40d0cb[_0x56b7b7(0x1b5)]({'cfg':_0x40d0cb['cfg'][_0x56b7b7(0x1b5)]({'mode':_0x13fe33,'padding':_0xeec885}),'reset':function(){var _0x51d9b5=_0x56b7b7,_0x5ef8dc;_0x40d0cb[_0x51d9b5(0x3cd)][_0x51d9b5(0x284)](this);var _0xb333cb=this[_0x51d9b5(0x3f1)],_0x330e29=_0xb333cb['iv'],_0x319eda=_0xb333cb[_0x51d9b5(0x39f)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x5ef8dc=_0x319eda[_0x51d9b5(0x2d7)]:(_0x5ef8dc=_0x319eda['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x51d9b5(0x333)][_0x51d9b5(0x23e)]==_0x5ef8dc?this[_0x51d9b5(0x333)][_0x51d9b5(0x38b)](this,_0x330e29&&_0x330e29[_0x51d9b5(0x468)]):(this[_0x51d9b5(0x333)]=_0x5ef8dc[_0x51d9b5(0x284)](_0x319eda,this,_0x330e29&&_0x330e29[_0x51d9b5(0x468)]),this[_0x51d9b5(0x333)][_0x51d9b5(0x23e)]=_0x5ef8dc);},'_doProcessBlock':function(_0x487011,_0x3b9fbe){var _0x42ca92=_0x56b7b7;this[_0x42ca92(0x333)][_0x42ca92(0x2ad)](_0x487011,_0x3b9fbe);},'_doFinalize':function(){var _0x27cab7=_0x56b7b7,_0x5ad213,_0xb7948c=this[_0x27cab7(0x3f1)]['padding'];return this[_0x27cab7(0x286)]==this[_0x27cab7(0x4a8)]?(_0xb7948c[_0x27cab7(0x401)](this[_0x27cab7(0x1fb)],this[_0x27cab7(0x451)]),_0x5ad213=this[_0x27cab7(0x369)](!0x0)):(_0x5ad213=this[_0x27cab7(0x369)](!0x0),_0xb7948c[_0x27cab7(0x204)](_0x5ad213)),_0x5ad213;},'blockSize':0x80/0x20});var _0x54614f=_0x376a77[_0x56b7b7(0x40b)]=_0x5a9773[_0x56b7b7(0x1b5)]({'init':function(_0x4f63b5){var _0x46db80=_0x56b7b7;this[_0x46db80(0x513)](_0x4f63b5);},'toString':function(_0x1037f6){var _0x4642f4=_0x56b7b7;return(_0x1037f6||this[_0x4642f4(0x1e5)])['stringify'](this);}}),_0x25095d=_0x10e51e[_0x56b7b7(0x415)]={},_0x1fc4a7=_0x25095d[_0x56b7b7(0x1ed)]={'stringify':function(_0x1be3ce){var _0x58c458=_0x56b7b7,_0x30f2d8,_0x437158=_0x1be3ce[_0x58c458(0x4d6)],_0xa1492e=_0x1be3ce[_0x58c458(0x47e)];return _0xa1492e?_0x30f2d8=_0x899d07[_0x58c458(0x424)]([0x53616c74,0x65645f5f])['concat'](_0xa1492e)[_0x58c458(0x1f6)](_0x437158):_0x30f2d8=_0x437158,_0x30f2d8[_0x58c458(0x337)](_0x8a5aa0);},'parse':function(_0x592633){var _0x1a664d=_0x56b7b7,_0xd6657e,_0x587cb9=_0x8a5aa0[_0x1a664d(0x52a)](_0x592633),_0x42ca0d=_0x587cb9[_0x1a664d(0x468)];return _0x42ca0d[0x0]==0x53616c74&&_0x42ca0d[0x1]==0x65645f5f&&(_0xd6657e=_0x899d07[_0x1a664d(0x424)](_0x42ca0d['slice'](0x2,0x4)),_0x42ca0d['splice'](0x0,0x4),_0x587cb9['sigBytes']-=0x10),_0x54614f['create']({'ciphertext':_0x587cb9,'salt':_0xd6657e});}},_0x5e7a63=_0x376a77['SerializableCipher']=_0x5a9773[_0x56b7b7(0x1b5)]({'cfg':_0x5a9773[_0x56b7b7(0x1b5)]({'format':_0x1fc4a7}),'encrypt':function(_0x3f77c8,_0xc7f557,_0x5005f,_0x25dfac){var _0x505b59=_0x56b7b7;_0x25dfac=this[_0x505b59(0x3f1)][_0x505b59(0x1b5)](_0x25dfac);var _0x457b51=_0x3f77c8[_0x505b59(0x2d7)](_0x5005f,_0x25dfac),_0x42b487=_0x457b51[_0x505b59(0x1e2)](_0xc7f557),_0x5ff6f0=_0x457b51[_0x505b59(0x3f1)];return _0x54614f[_0x505b59(0x424)]({'ciphertext':_0x42b487,'key':_0x5005f,'iv':_0x5ff6f0['iv'],'algorithm':_0x3f77c8,'mode':_0x5ff6f0['mode'],'padding':_0x5ff6f0[_0x505b59(0x25a)],'blockSize':_0x3f77c8[_0x505b59(0x451)],'formatter':_0x25dfac[_0x505b59(0x415)]});},'decrypt':function(_0x2a65f0,_0x1dd52e,_0x17f993,_0x2ff571){var _0x2c3f97=_0x56b7b7;_0x2ff571=this[_0x2c3f97(0x3f1)][_0x2c3f97(0x1b5)](_0x2ff571),_0x1dd52e=this['_parse'](_0x1dd52e,_0x2ff571['format']);var _0x419cb8=_0x2a65f0[_0x2c3f97(0x239)](_0x17f993,_0x2ff571)[_0x2c3f97(0x1e2)](_0x1dd52e[_0x2c3f97(0x4d6)]);return _0x419cb8;},'_parse':function(_0x613e1b,_0x410700){return typeof _0x613e1b=='string'?_0x410700['parse'](_0x613e1b,this):_0x613e1b;}}),_0x158900=_0x10e51e[_0x56b7b7(0x391)]={},_0xfe1185=_0x158900['OpenSSL']={'execute':function(_0x1a4881,_0x45862e,_0x44576e,_0x318f35,_0xc5fb72){var _0x11c8be=_0x56b7b7;if(_0x318f35||(_0x318f35=_0x899d07[_0x11c8be(0x4ca)](0x40/0x8)),_0xc5fb72)var _0x201e32=_0x578556[_0x11c8be(0x424)]({'keySize':_0x45862e+_0x44576e,'hasher':_0xc5fb72})[_0x11c8be(0x1b7)](_0x1a4881,_0x318f35);else var _0x201e32=_0x578556[_0x11c8be(0x424)]({'keySize':_0x45862e+_0x44576e})[_0x11c8be(0x1b7)](_0x1a4881,_0x318f35);var _0x3535ce=_0x899d07[_0x11c8be(0x424)](_0x201e32[_0x11c8be(0x468)][_0x11c8be(0x43e)](_0x45862e),_0x44576e*0x4);return _0x201e32[_0x11c8be(0x1de)]=_0x45862e*0x4,_0x54614f['create']({'key':_0x201e32,'iv':_0x3535ce,'salt':_0x318f35});}},_0x41771a=_0x376a77[_0x56b7b7(0x40f)]=_0x5e7a63[_0x56b7b7(0x1b5)]({'cfg':_0x5e7a63['cfg'][_0x56b7b7(0x1b5)]({'kdf':_0xfe1185}),'encrypt':function(_0xd22399,_0x402c33,_0x545b1d,_0xd03a90){var _0x30845e=_0x56b7b7;_0xd03a90=this[_0x30845e(0x3f1)][_0x30845e(0x1b5)](_0xd03a90);var _0x15bea8=_0xd03a90[_0x30845e(0x391)]['execute'](_0x545b1d,_0xd22399[_0x30845e(0x295)],_0xd22399['ivSize'],_0xd03a90[_0x30845e(0x47e)],_0xd03a90['hasher']);_0xd03a90['iv']=_0x15bea8['iv'];var _0x52f804=_0x5e7a63[_0x30845e(0x2af)]['call'](this,_0xd22399,_0x402c33,_0x15bea8[_0x30845e(0x2fc)],_0xd03a90);return _0x52f804[_0x30845e(0x513)](_0x15bea8),_0x52f804;},'decrypt':function(_0xdd7b2d,_0x23b096,_0x2539ed,_0x290edf){var _0x44b3bd=_0x56b7b7;_0x290edf=this[_0x44b3bd(0x3f1)]['extend'](_0x290edf),_0x23b096=this['_parse'](_0x23b096,_0x290edf[_0x44b3bd(0x415)]);var _0x3aae18=_0x290edf[_0x44b3bd(0x391)]['execute'](_0x2539ed,_0xdd7b2d[_0x44b3bd(0x295)],_0xdd7b2d[_0x44b3bd(0x2a0)],_0x23b096['salt'],_0x290edf[_0x44b3bd(0x49f)]);_0x290edf['iv']=_0x3aae18['iv'];var _0x20e0a9=_0x5e7a63[_0x44b3bd(0x38d)]['call'](this,_0xdd7b2d,_0x23b096,_0x3aae18[_0x44b3bd(0x2fc)],_0x290edf);return _0x20e0a9;}});}();}));}(Te)),Te[_0x177683(0x331)];}var ri=Se[_0x5c4b2d(0x331)],ot;function si(){var _0xb21b9e=_0x5c4b2d;return ot||(ot=0x1,function(_0x3e7b06,_0x38d113){(function(_0x5308b1,_0x1762e9,_0x3be109){var _0x3b1a89=_0x1ccf;_0x3e7b06[_0x3b1a89(0x331)]=_0x1762e9(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x166484){var _0x5ec3f2=_0x1ccf;return(function(){var _0x2406d5=_0x1ccf,_0x3b1e8f=_0x166484,_0x1f6544=_0x3b1e8f[_0x2406d5(0x4e9)],_0x58c061=_0x1f6544[_0x2406d5(0x292)],_0x52484a=_0x3b1e8f[_0x2406d5(0x2ba)],_0x67f61d=[],_0xd765f2=[],_0x49a201=[],_0x52e8ce=[],_0x57023f=[],_0xa45ce1=[],_0x2f253e=[],_0x505a8e=[],_0x236d16=[],_0x4a7d8f=[];(function(){for(var _0x326913=[],_0x27644d=0x0;_0x27644d<0x100;_0x27644d++)_0x27644d<0x80?_0x326913[_0x27644d]=_0x27644d<<0x1:_0x326913[_0x27644d]=_0x27644d<<0x1^0x11b;for(var _0x5869a9=0x0,_0x2fd3e8=0x0,_0x27644d=0x0;_0x27644d<0x100;_0x27644d++){var _0x767a2f=_0x2fd3e8^_0x2fd3e8<<0x1^_0x2fd3e8<<0x2^_0x2fd3e8<<0x3^_0x2fd3e8<<0x4;_0x767a2f=_0x767a2f>>>0x8^_0x767a2f&0xff^0x63,_0x67f61d[_0x5869a9]=_0x767a2f,_0xd765f2[_0x767a2f]=_0x5869a9;var _0x3564e5=_0x326913[_0x5869a9],_0x4b4483=_0x326913[_0x3564e5],_0x5a0683=_0x326913[_0x4b4483],_0x255108=_0x326913[_0x767a2f]*0x101^_0x767a2f*0x1010100;_0x49a201[_0x5869a9]=_0x255108<<0x18|_0x255108>>>0x8,_0x52e8ce[_0x5869a9]=_0x255108<<0x10|_0x255108>>>0x10,_0x57023f[_0x5869a9]=_0x255108<<0x8|_0x255108>>>0x18,_0xa45ce1[_0x5869a9]=_0x255108;var _0x255108=_0x5a0683*0x1010101^_0x4b4483*0x10001^_0x3564e5*0x101^_0x5869a9*0x1010100;_0x2f253e[_0x767a2f]=_0x255108<<0x18|_0x255108>>>0x8,_0x505a8e[_0x767a2f]=_0x255108<<0x10|_0x255108>>>0x10,_0x236d16[_0x767a2f]=_0x255108<<0x8|_0x255108>>>0x18,_0x4a7d8f[_0x767a2f]=_0x255108,_0x5869a9?(_0x5869a9=_0x3564e5^_0x326913[_0x326913[_0x326913[_0x5a0683^_0x3564e5]]],_0x2fd3e8^=_0x326913[_0x326913[_0x2fd3e8]]):_0x5869a9=_0x2fd3e8=0x1;}}());var _0x44491f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x104ac5=_0x52484a[_0x2406d5(0x25c)]=_0x58c061[_0x2406d5(0x1b5)]({'_doReset':function(){var _0xa8065e=_0x2406d5,_0xe931f5;if(!(this[_0xa8065e(0x2da)]&&this[_0xa8065e(0x1ab)]===this[_0xa8065e(0x403)])){for(var _0x5afe5c=this[_0xa8065e(0x1ab)]=this['_key'],_0x4c835a=_0x5afe5c[_0xa8065e(0x468)],_0x2aa9f6=_0x5afe5c['sigBytes']/0x4,_0x34a887=this['_nRounds']=_0x2aa9f6+0x6,_0x5e49e4=(_0x34a887+0x1)*0x4,_0x2bf67=this[_0xa8065e(0x3f4)]=[],_0x4e4858=0x0;_0x4e4858<_0x5e49e4;_0x4e4858++)_0x4e4858<_0x2aa9f6?_0x2bf67[_0x4e4858]=_0x4c835a[_0x4e4858]:(_0xe931f5=_0x2bf67[_0x4e4858-0x1],_0x4e4858%_0x2aa9f6?_0x2aa9f6>0x6&&_0x4e4858%_0x2aa9f6==0x4&&(_0xe931f5=_0x67f61d[_0xe931f5>>>0x18]<<0x18|_0x67f61d[_0xe931f5>>>0x10&0xff]<<0x10|_0x67f61d[_0xe931f5>>>0x8&0xff]<<0x8|_0x67f61d[_0xe931f5&0xff]):(_0xe931f5=_0xe931f5<<0x8|_0xe931f5>>>0x18,_0xe931f5=_0x67f61d[_0xe931f5>>>0x18]<<0x18|_0x67f61d[_0xe931f5>>>0x10&0xff]<<0x10|_0x67f61d[_0xe931f5>>>0x8&0xff]<<0x8|_0x67f61d[_0xe931f5&0xff],_0xe931f5^=_0x44491f[_0x4e4858/_0x2aa9f6|0x0]<<0x18),_0x2bf67[_0x4e4858]=_0x2bf67[_0x4e4858-_0x2aa9f6]^_0xe931f5);for(var _0x3e194a=this['_invKeySchedule']=[],_0x43e743=0x0;_0x43e743<_0x5e49e4;_0x43e743++){var _0x4e4858=_0x5e49e4-_0x43e743;if(_0x43e743%0x4)var _0xe931f5=_0x2bf67[_0x4e4858];else var _0xe931f5=_0x2bf67[_0x4e4858-0x4];_0x43e743<0x4||_0x4e4858<=0x4?_0x3e194a[_0x43e743]=_0xe931f5:_0x3e194a[_0x43e743]=_0x2f253e[_0x67f61d[_0xe931f5>>>0x18]]^_0x505a8e[_0x67f61d[_0xe931f5>>>0x10&0xff]]^_0x236d16[_0x67f61d[_0xe931f5>>>0x8&0xff]]^_0x4a7d8f[_0x67f61d[_0xe931f5&0xff]];}}},'encryptBlock':function(_0x2b026d,_0x3d9920){var _0x170e18=_0x2406d5;this[_0x170e18(0x518)](_0x2b026d,_0x3d9920,this[_0x170e18(0x3f4)],_0x49a201,_0x52e8ce,_0x57023f,_0xa45ce1,_0x67f61d);},'decryptBlock':function(_0x2b3a9b,_0x59532e){var _0x5beddf=_0x2406d5,_0x58a941=_0x2b3a9b[_0x59532e+0x1];_0x2b3a9b[_0x59532e+0x1]=_0x2b3a9b[_0x59532e+0x3],_0x2b3a9b[_0x59532e+0x3]=_0x58a941,this[_0x5beddf(0x518)](_0x2b3a9b,_0x59532e,this[_0x5beddf(0x219)],_0x2f253e,_0x505a8e,_0x236d16,_0x4a7d8f,_0xd765f2);var _0x58a941=_0x2b3a9b[_0x59532e+0x1];_0x2b3a9b[_0x59532e+0x1]=_0x2b3a9b[_0x59532e+0x3],_0x2b3a9b[_0x59532e+0x3]=_0x58a941;},'_doCryptBlock':function(_0x1fbcc9,_0xcf00a,_0x3a87b1,_0x568be8,_0xdf0d3f,_0x5a422c,_0x857ca7,_0x35a926){var _0x3c1cde=_0x2406d5;for(var _0x56b993=this[_0x3c1cde(0x2da)],_0x4c147e=_0x1fbcc9[_0xcf00a]^_0x3a87b1[0x0],_0x334339=_0x1fbcc9[_0xcf00a+0x1]^_0x3a87b1[0x1],_0x36142a=_0x1fbcc9[_0xcf00a+0x2]^_0x3a87b1[0x2],_0x4f3059=_0x1fbcc9[_0xcf00a+0x3]^_0x3a87b1[0x3],_0x5a99e9=0x4,_0x46073e=0x1;_0x46073e<_0x56b993;_0x46073e++){var _0x1cc272=_0x568be8[_0x4c147e>>>0x18]^_0xdf0d3f[_0x334339>>>0x10&0xff]^_0x5a422c[_0x36142a>>>0x8&0xff]^_0x857ca7[_0x4f3059&0xff]^_0x3a87b1[_0x5a99e9++],_0x47c7ea=_0x568be8[_0x334339>>>0x18]^_0xdf0d3f[_0x36142a>>>0x10&0xff]^_0x5a422c[_0x4f3059>>>0x8&0xff]^_0x857ca7[_0x4c147e&0xff]^_0x3a87b1[_0x5a99e9++],_0x368cc9=_0x568be8[_0x36142a>>>0x18]^_0xdf0d3f[_0x4f3059>>>0x10&0xff]^_0x5a422c[_0x4c147e>>>0x8&0xff]^_0x857ca7[_0x334339&0xff]^_0x3a87b1[_0x5a99e9++],_0x50c02b=_0x568be8[_0x4f3059>>>0x18]^_0xdf0d3f[_0x4c147e>>>0x10&0xff]^_0x5a422c[_0x334339>>>0x8&0xff]^_0x857ca7[_0x36142a&0xff]^_0x3a87b1[_0x5a99e9++];_0x4c147e=_0x1cc272,_0x334339=_0x47c7ea,_0x36142a=_0x368cc9,_0x4f3059=_0x50c02b;}var _0x1cc272=(_0x35a926[_0x4c147e>>>0x18]<<0x18|_0x35a926[_0x334339>>>0x10&0xff]<<0x10|_0x35a926[_0x36142a>>>0x8&0xff]<<0x8|_0x35a926[_0x4f3059&0xff])^_0x3a87b1[_0x5a99e9++],_0x47c7ea=(_0x35a926[_0x334339>>>0x18]<<0x18|_0x35a926[_0x36142a>>>0x10&0xff]<<0x10|_0x35a926[_0x4f3059>>>0x8&0xff]<<0x8|_0x35a926[_0x4c147e&0xff])^_0x3a87b1[_0x5a99e9++],_0x368cc9=(_0x35a926[_0x36142a>>>0x18]<<0x18|_0x35a926[_0x4f3059>>>0x10&0xff]<<0x10|_0x35a926[_0x4c147e>>>0x8&0xff]<<0x8|_0x35a926[_0x334339&0xff])^_0x3a87b1[_0x5a99e9++],_0x50c02b=(_0x35a926[_0x4f3059>>>0x18]<<0x18|_0x35a926[_0x4c147e>>>0x10&0xff]<<0x10|_0x35a926[_0x334339>>>0x8&0xff]<<0x8|_0x35a926[_0x36142a&0xff])^_0x3a87b1[_0x5a99e9++];_0x1fbcc9[_0xcf00a]=_0x1cc272,_0x1fbcc9[_0xcf00a+0x1]=_0x47c7ea,_0x1fbcc9[_0xcf00a+0x2]=_0x368cc9,_0x1fbcc9[_0xcf00a+0x3]=_0x50c02b;},'keySize':0x100/0x20});_0x3b1e8f[_0x2406d5(0x25c)]=_0x58c061[_0x2406d5(0x461)](_0x104ac5);}()),_0x166484[_0x5ec3f2(0x25c)];}));}(Se)),Se[_0xb21b9e(0x331)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0x29a9fd=_0x5c4b2d;return ct||(ct=0x1,function(_0x1a53cd,_0x54fa8f){(function(_0x242d19,_0x535fba){var _0x370f61=_0x1ccf;_0x1a53cd[_0x370f61(0x331)]=_0x535fba(ee());}(hi,function(_0x52dd57){var _0x2968da=_0x1ccf;return _0x52dd57[_0x2968da(0x2d6)][_0x2968da(0x470)];}));}(be)),be[_0x29a9fd(0x331)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x5c4b2d(0x331)],ht;function vi(){return ht||(ht=0x1,function(_0x404d24,_0x274b53){(function(_0x4e671c,_0x3a7444){var _0xb58cb7=_0x1ccf;_0x404d24[_0xb58cb7(0x331)]=_0x3a7444(ee());}(di,function(_0x4cf606){var _0x487969=_0x1ccf;return(function(){var _0x5b16e4=_0x1ccf;if(typeof ArrayBuffer==_0x5b16e4(0x2fb)){var _0x1ba3de=_0x4cf606,_0x2320ee=_0x1ba3de[_0x5b16e4(0x4e9)],_0x48ce16=_0x2320ee[_0x5b16e4(0x433)],_0x2b8925=_0x48ce16[_0x5b16e4(0x38b)],_0xfaf055=_0x48ce16[_0x5b16e4(0x38b)]=function(_0x39eab2){var _0x44d6c2=_0x5b16e4;if(_0x39eab2 instanceof ArrayBuffer&&(_0x39eab2=new Uint8Array(_0x39eab2)),(_0x39eab2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x39eab2 instanceof Uint8ClampedArray||_0x39eab2 instanceof Int16Array||_0x39eab2 instanceof Uint16Array||_0x39eab2 instanceof Int32Array||_0x39eab2 instanceof Uint32Array||_0x39eab2 instanceof Float32Array||_0x39eab2 instanceof Float64Array)&&(_0x39eab2=new Uint8Array(_0x39eab2[_0x44d6c2(0x43a)],_0x39eab2[_0x44d6c2(0x27d)],_0x39eab2[_0x44d6c2(0x3d7)])),_0x39eab2 instanceof Uint8Array){for(var _0x5a1cb0=_0x39eab2[_0x44d6c2(0x3d7)],_0x222e1f=[],_0x59ca20=0x0;_0x59ca20<_0x5a1cb0;_0x59ca20++)_0x222e1f[_0x59ca20>>>0x2]|=_0x39eab2[_0x59ca20]<<0x18-_0x59ca20%0x4*0x8;_0x2b8925[_0x44d6c2(0x284)](this,_0x222e1f,_0x5a1cb0);}else _0x2b8925['apply'](this,arguments);};_0xfaf055['prototype']=_0x48ce16;}}()),_0x4cf606[_0x487969(0x4e9)]['WordArray'];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x5c4b2d(0x331)],lt;function mi(){return lt||(lt=0x1,function(_0xa819df,_0x183b24){(function(_0x47b7c3,_0x24bcc2,_0x779a29){var _0x4bf695=_0x1ccf;_0xa819df[_0x4bf695(0x331)]=_0x24bcc2(ee(),At());}(pi,function(_0xafa7eb){var _0x5c0af0=_0x1ccf;return _0xafa7eb[_0x5c0af0(0x401)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xafa7eb[_0x5c0af0(0x401)][_0x5c0af0(0x21b)];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0x484d39,_0x382044){var _0x4dcb80=_0x5c4b2d;const _0x231c42=_0x382044-_0x484d39['length']%_0x382044,_0x3507e5=String['fromCharCode'](_0x231c42)[_0x4dcb80(0x4fc)](_0x231c42);return _0x484d39+_0x3507e5;}function Ci(_0x32ecee,_0x43fcd7){var _0x37636a=_0x5c4b2d;const _0x1ed255=Si[_0x37636a(0x4ca)](0x10),_0x5d48c8=Ei(_0x32ecee,0x10),_0x39c1c1=ai['encrypt'](ui[_0x37636a(0x52a)](_0x5d48c8),at['parse'](_0x43fcd7),{'iv':_0x1ed255,'padding':Ii});return _0x1ed255[_0x37636a(0x1f6)](_0x39c1c1[_0x37636a(0x4d6)])[_0x37636a(0x337)](at);}function Ti(){var _0x39f88e=_0x5c4b2d;const _0x33f03b=$t[_0x39f88e(0x4d4)]()[_0x39f88e(0x2f8)];if(_0x33f03b){const _0x3d216a={'time':Math[_0x39f88e(0x205)](Date[_0x39f88e(0x459)]()/0x3e8),'domain':location[_0x39f88e(0x237)]};return Ci(JSON[_0x39f88e(0x49c)](_0x3d216a),_0x33f03b);}}var bi=Object[_0x5c4b2d(0x1d2)],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0xbfd9af,_0xc849ee,_0x14d334,_0x129b51)=>{var _0x405d78=_0x5c4b2d;for(var _0x41262f=_0x129b51>0x1?void 0x0:_0x129b51?Ri(_0xc849ee,_0x14d334):_0xc849ee,_0x5afc1e=_0xbfd9af[_0x405d78(0x22b)]-0x1,_0x586fbc;_0x5afc1e>=0x0;_0x5afc1e--)(_0x586fbc=_0xbfd9af[_0x5afc1e])&&(_0x41262f=(_0x129b51?_0x586fbc(_0xc849ee,_0x14d334,_0x41262f):_0x586fbc(_0x41262f))||_0x41262f);return _0x129b51&&_0x41262f&&bi(_0xc849ee,_0x14d334,_0x41262f),_0x41262f;},yi=(_0xb5105d,_0x135925)=>(_0x7a42c,_0x5ea3a9)=>_0x135925(_0x7a42c,_0x5ea3a9,_0xb5105d);let Ne=class{constructor(_0x4d9476){var _0x1582c9=_0x5c4b2d;this[_0x1582c9(0x4e6)]=_0x4d9476,this[_0x1582c9(0x216)]();}[_0x5c4b2d(0x216)](){var _0x5e0201=_0x5c4b2d;this[_0x5e0201(0x4e6)][_0x5e0201(0x312)]({'interceptor':(_0x1c6e37,_0x22dd35)=>{var _0x79409=_0x5e0201;const _0x430b00=_0x1c6e37['headers'],_0x13659b=Ti();return _0x13659b&&_0x430b00[_0x79409(0x33f)](_0x79409(0x1d0),_0x13659b),_0x22dd35(_0x1c6e37);}});}};Ne=Oi([yi(0x0,a[_0x5c4b2d(0x241)](q[_0x5c4b2d(0x1e4)]))],Ne);var Ni=Object[_0x5c4b2d(0x1d2)],Ui=Object['getOwnPropertyDescriptor'],Pi=(_0x6d46bc,_0x2ad9a2,_0x44f222,_0x18accb)=>{for(var _0x5b07e3=_0x18accb>0x1?void 0x0:_0x18accb?Ui(_0x2ad9a2,_0x44f222):_0x2ad9a2,_0x4fcd2c=_0x6d46bc['length']-0x1,_0x20fe9e;_0x4fcd2c>=0x0;_0x4fcd2c--)(_0x20fe9e=_0x6d46bc[_0x4fcd2c])&&(_0x5b07e3=(_0x18accb?_0x20fe9e(_0x2ad9a2,_0x44f222,_0x5b07e3):_0x20fe9e(_0x5b07e3))||_0x5b07e3);return _0x18accb&&_0x5b07e3&&Ni(_0x2ad9a2,_0x44f222,_0x5b07e3),_0x5b07e3;},Me=(_0x4deb6c,_0x1f9831)=>(_0x4fdc47,_0x418738)=>_0x1f9831(_0x4fdc47,_0x418738,_0x4deb6c);exports['DataLoaderService']=class extends a[_0x5c4b2d(0x4a9)]{constructor(_0x486f12,_0x34ae74,_0xaca45d){var _0x503c5e=_0x5c4b2d;super(),D(this,_0x503c5e(0x3fa),new H[(_0x503c5e(0x281))](null)),D(this,_0x503c5e(0x2dc),this['_unitInfo$'][_0x503c5e(0x259)]()),(this[_0x503c5e(0x4bd)]=_0x486f12,this[_0x503c5e(0x47c)]=_0x34ae74,this[_0x503c5e(0x44a)]=_0xaca45d);}async[_0x5c4b2d(0x2a2)](_0x1c3955,_0x5d431f,_0x29f49a){var _0x37cc6b=_0x5c4b2d;this[_0x37cc6b(0x3fa)][_0x37cc6b(0x314)]({'unitId':_0x1c3955,'type':_0x5d431f,'subUnitId':_0x29f49a});let _0x3640ad=null;switch(_0x5d431f){case Z[_0x37cc6b(0x441)]:{_0x3640ad=await this[_0x37cc6b(0x2f5)](_0x1c3955);break;}case Z[_0x37cc6b(0x52e)]:{_0x3640ad=await this[_0x37cc6b(0x325)](_0x1c3955);break;}default:{this[_0x37cc6b(0x4bd)][_0x37cc6b(0x46c)](_0x37cc6b(0x4b0),_0x37cc6b(0x296));break;}}return _0x3640ad;}async[_0x5c4b2d(0x2f5)](_0x350c35){var _0x3403f3=_0x5c4b2d,_0x35d094;let _0x159027=0x0;const _0x4d3a5c=await((_0x35d094=this[_0x3403f3(0x44a)])==null?void 0x0:_0x35d094[_0x3403f3(0x347)](_0x350c35));return _0x4d3a5c&&(_0x4d3a5c[_0x3403f3(0x310)]||_0x4d3a5c[_0x3403f3(0x4a5)][_0x3403f3(0x22b)]!==0x0)&&(_0x159027=_0x4d3a5c['rev']),_0x159027===0x0&&this[_0x3403f3(0x4bd)]['debug']('[DataLoaderService]',_0x3403f3(0x1e8)),this['_snapshotService'][_0x3403f3(0x308)](_0x350c35,_0x159027);}async[_0x5c4b2d(0x325)](_0x46b026){var _0x2d1cee=_0x5c4b2d,_0x6c7614;let _0xfa9b29=0x0;const _0x2fd3c8=await((_0x6c7614=this['_localCacheService'])==null?void 0x0:_0x6c7614[_0x2d1cee(0x347)](_0x46b026));return _0x2fd3c8&&(_0x2fd3c8[_0x2d1cee(0x310)]||_0x2fd3c8[_0x2d1cee(0x4a5)][_0x2d1cee(0x22b)]!==0x0)&&(_0xfa9b29=_0x2fd3c8[_0x2d1cee(0x412)]),_0xfa9b29===0x0&&this[_0x2d1cee(0x4bd)][_0x2d1cee(0x4e0)](_0x2d1cee(0x4b0),_0x2d1cee(0x1e8)),this['_snapshotService'][_0x2d1cee(0x2aa)](_0x46b026,_0xfa9b29);}},exports[_0x5c4b2d(0x3fb)]=Pi([Me(0x0,a[_0x5c4b2d(0x425)]),Me(0x1,a[_0x5c4b2d(0x241)](m[_0x5c4b2d(0x41d)])),Me(0x2,a[_0x5c4b2d(0x524)](z))],exports[_0x5c4b2d(0x3fb)]);var Di=Object['defineProperty'],wi=Object[_0x5c4b2d(0x458)],Ai=(_0xf8ab71,_0x3623b3,_0x2fe66a,_0x5c6a5d)=>{var _0xe1d5de=_0x5c4b2d;for(var _0x4016e1=_0x5c6a5d>0x1?void 0x0:_0x5c6a5d?wi(_0x3623b3,_0x2fe66a):_0x3623b3,_0x1d9847=_0xf8ab71[_0xe1d5de(0x22b)]-0x1,_0x4261e0;_0x1d9847>=0x0;_0x1d9847--)(_0x4261e0=_0xf8ab71[_0x1d9847])&&(_0x4016e1=(_0x5c6a5d?_0x4261e0(_0x3623b3,_0x2fe66a,_0x4016e1):_0x4261e0(_0x4016e1))||_0x4016e1);return _0x5c6a5d&&_0x4016e1&&Di(_0x3623b3,_0x2fe66a,_0x4016e1),_0x4016e1;},xe=(_0x158525,_0x4057e5)=>(_0x33cf5f,_0x567da0)=>_0x4057e5(_0x33cf5f,_0x567da0,_0x158525);function _0x4d50(){var _0x37d335=['cfg','clone','IImageIoService','_keySchedule','AWAITING','randomBytes','CollaborationImageIoService','_getUndoStack','LOCAL_CACHE_INTERVAL','_unitInfo$','DataLoaderService','_map','[OfflineState]:\x20received\x20changeset.','UNIVER_PROJECT','UserManagerService','_collaborationSessionService','pad','_transformSelections','_key','COLLAB_WEB_SOCKET_URL','leaveEvent','toggleOffline','_sender','objectActions','HttpExport','listRoles','CipherParams','_changesetSessionId','image/jpeg','ISingleActiveUnitService','PasswordBasedCipher','CompressMutationService','_injector','rev','HELLO','ENSURE_SNAPSHOT_EXECUTION','format','_snapshotServerService','uniscriptRunEvent','COMPRESS_MUTATION_SEND','_replaceFileID','unitId','_sessions','_throwTelemetryCollaborationNewChangeset','SnapshotService','encryptBlock','/collaborator','_hash','decryptBlock','downloadEndpointUrl','serializeCombRequest','create','ILogService','joinRsp','transformSelections','_retryConnectingTimer','MergeInterceptorFactory','abs','3269961zoblOl','HmacMD5','_clearRedo','553bjPRZx','_entityInit$','onStateChange','[PendingState]:\x20received\x20acknowledgement.','[PendingState]:\x20received\x20rejection.','WordArray','putCollaborators','reject','getLatestCsReqIdBySid','onRemoteRetry','every','filter','buffer','_revisionService','offline','10vvwyuo','slice','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','socket\x20open.','UNIVER_SHEET','textRanges','send','search','session','_roomMembers','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UUID','getCollabEntity','_localCacheService','/object/','_transformStateCache','AUTHZ_URL_KEY','string','GLOBAL_ROOMS_CNT_EXCEEDS','setConfig','blockSize','delay','cmd','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','CHANGESET_ACK','toLowerCase','Error\x20on\x20receiving\x20event','getOwnPropertyDescriptor','now','LICENSE_IMPORT_SIZE_EXCEEDED','Injector','_queuedRemoteChangesets','BASE64','_submitChangeset','_onUserJoin','sin','_createHelper','/rev/','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','image/jpg','getUnit','SEND_CHANGESET_TIMEOUT','_clearTimeoutTimer','words','rxjs','COMPRESS_MUTATION_APPLY','/resources','error','_tryReconnect','_updateState','disposeWithMe','Utf8','headers','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_substituteRedoStack','UNRECOGNIZED','_onRemoteRetry','getAllMembers','getConfig','onRemoteChangeset','min','_changesetReqId','_tryEnsureSocket','_snapshotService','CHANGESET_SHOULD_RETRY','salt','JOIN_ROOM_PERMISSION_DENIED','ceil','saveSnapshot','m2Prime','SNAPSHOT_URL_KEY','IPermissionService','liveShareNewHost','9195615iDVQOb','CollaborationSession','image/png','LICENSE_MAX_UNITS_EXCEEDED','LIVESHARE_FETCH_OPERATIONS','HEARTBEAT_TIMEOUT_KEY','body','close','iterations','LocalUndoRedoService','localeService','univer-pro.collaboration-client.network-condition.service','InsertSheetMutation','ITelemetryService','sid','RECV','sequenceExecute','_initCloseConn','RETRY_CONNECTING_MAX_COUNT_KEY','selections','application/json','ticket','stringify','updateMember','USERS_ENTER','hasher','session.room-full','addHandlerCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_transformUndoredo','DocCollaborationEntity','mutations','pipe','_clearHeartbeatTimer','_ENC_XFORM_MODE','RxDisposable','_incrementRevisionNumber','PY_RUNTIME_SCRIPT_ERROR','incrementRevOfUnit','generateRandomId','4080126yUzwOV','_iKey','[DataLoaderService]','Module','isTransformChangesetsSuccess','UPDATE_CURSOR','capture','_onConflict','override','PSEUDO_FETCH_MISSING_RESULT','\x0aCurrent:\x20','UnitSnapshot','bind','readyForCollab','collaMsg','_logService','copyFileMeta','_state','_onMessage','sheets','_stopTelemetryCollaborationNewChangeset','/universer-api/authz','ISnapshotServerService','_startTelemetryCollaborationNewChangeset','transformMutationsWithChangeset','_append','HMAC','changesets','random','emitEvent','_scheduleCompleteTimestamp','RichTextEditingMutation','YUUMI_URL_COL_OUT_OF_RANGE','subUnitId','UniverCollaborationClientPlugin','_imageSourceCache','workbook','interceptor','getGlobalObject','isTransformMutationsWithChangesetFailure','ciphertext','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_applyRemoteChangeset','_initUnitPermissionChange','getCollabEntity$','_getCurrentRevision','_getAPIPrefixPath','url','HEARTBEAT_INTERVAL_KEY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','debug','snapshot','_commandService','src','univer-pro.collaboration-client-socket-service','loginUrlKey','_httpService','[CollaborationUndoRedoService]','range','lib','_createSocketURL','method','getSnapshotAPIPath','INTERNAL_ERROR','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','takeUntil','_compressMutationService','members$','confirm','onCommandExecuted','commentUpdateEvent','SOCKET_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','merge','getValue','/role','searchParams','CONFLICT','repeat','collaborators','_acknowledgedAwaitingChangeset','OFFLINE','deserializeToCombResponse','isTransformMutationsWithChangesetSuccess','LICENSE_DISTRO_REJECTED','event$','COMMENT_UPDATE','objects','RevisionService','_onRemoteACK','list','_decreaseWaiting','mapDocumentTypeToUniverType','responseType','/universer-api/comb','getRandomValues','sessionStatus$','CollaborativeUndoRedoService','@univerjs/telemetry','[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.','roomInfos','mixIn','withCredentials','HmacSHA1','fromCollab','delete','_doCryptBlock','NO_OTHER_CLIENTS_EDITING','UniverInstanceType','CHANGESET_REVISION_CONFILICT','fetching\x20missing\x20changesets\x20from\x20','reconnect','getSheetId','_networkConditionService','unitId\x20is\x20not\x20found','clear','sendChangesetTimeout','_onUserLeave','Optional','_createHmacHelper','createIdentifier','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Rectangle','_socketService','parse','UNISCRIPT_RUN','SOCKET_FAILED_RETRY','status$','UNIVER_DOC','_onJoinRoomEvent','title','encodeURIComponent','toStringTag','IAuthzIoService','[CollaborationSessionService]','_socket','_DEC_XFORM_MODE','_getDownloadEndpointURL','values','stopTime','unitID','JOIN_ROOM_FULL','[CollaborationSession]','_keyPriorReset','[CollaborationSessionService]:\x20socket\x20error','fetchMissingChangesets','/new_changes','ALREADY_EXISTS','resolve','uploadFileServerUrl','JOIN','_initDependencies','FETCH_MISS','extend','c1Prime','compute','_config','catch','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','max','_updateStatus','UNIVER_COLLABORATION_CLIENT_PLUGIN','compose','session.room-permission-denied','pauseCollaboration','ONLINE','requireSession','CollaborationController','onCommentUpdate','resourceIDs','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_schedule','LIVESHARE_OPERATION','_doProcessBlock','_event$','@univerjs/sheets','HEARTBEAT_INTERVAL','_commentService','INVALID_ARGUMENT','_sendingTimer','x-univer-host','People','defineProperty','_fetchMissChangesets','@univerjs/docs','_waitCount','charCodeAt','registerDependencies','prototype','_eventService','touchDependencies','MemberService','mergeOverrideWithDependencies','INetworkConditionService','sigBytes','_HTTPService','wsSessionTicketUrl','_transformStack','finalize','getImage','HTTPService','formatter','pluginName','params','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_prevBlock','_doFinalize','_clearUndo','LOCAL_CACHE_INTERVAL_KEY','OpenSSL','getMember','JOINING','_getAPIPrefix','OTHER_CLIENTS_EDITING','_startCollaboration','[SyncedState]:\x20received\x20rejection.','onload','session.room-not-exists','concat','getUnitStatus$','getMemberID','onlyLocal','_transitionLocked','_data','deepClone','UnitEmbedded','_sheetTransformSelectionsService','collaboratorID','7984YUBYTg','_socketMessageSubscription','message$','ws://127.0.0.1:8000/universer-api/comb/connect','unpad','floor','OTHER_CLIENT_EDITING','_collaborationUIEventService','join','YUUMI_RATE_OVER_LIMIT','getUnitOnRev','_onConnectionFailed','substr','_transformRemoteChangesetByIMECache','ConflictState','location','createInstance','not_collab','SYNCED','LIVESHARE_REQUEST_HOST','saveChangeset','_scheduleCollaborationTimeoutTimer','_initRequestHeader','collaboration-client.config','then','_invKeySchedule','/unit/','NoPadding','SheetTransformSelectionsService','IDLE','awaiting_with_pending','MD5','reverse','_configService','enableSingleActiveInstanceLock','@univerjs-pro/license','getTypeOfUnitAdded$','_onRemoteChangeset','_sessionStatus$','_members$','EvpKDF','onTransformIME','_cipher','length','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','setCurrentUser','code','editing\x20status\x20changed\x20to','CommentService','_onLocalMutation','csShouldRetryEvent','authzUrl','_toggleOnline','EmptyMutation','encode','hostname','468MoeNMD','createDecryptor','has','UNAUTHENTICATED','LOGIN_URL_KEY','objectID','__creator','crypto','/universer-api/user/session-ticket','Inject','_getCtorByUniverType','allowed','getDeserializedSheetBlock','PendingState','/universer-api/snapshot/','update','actions','collaboration_new_changeset','_joinRoom','_onOffline','_createInitialState','_syncEditingCollabCursor','onTransformState','clamp','159RXmeXd','53140XPdfSv','[CollaborationEntity]','post','CollaborationEntity','SyncedState','_roomCreated$','_isPermissionRej','OPTIONAL','asObservable','padding','AuthzIoHttpService','AES','snapshotServerUrl','revision','LIVESHARE_NEW_HOST','\x20in\x20_schedule.','BufferedBlockAlgorithm','removeMember','includes','runId','/fetchmissing?from=','b64DecodeUnicode','_getSessionTicket','AwaitingState','updatePermissionPoint','_substituteUndoStack','/allowed','_getUploadFileURL','onTransformSelections','toggleOnline','symbol','YUUMI_SUBSCRIPTION_NOT_FOUND','CLOSE_ROOM','default','closeSession','baseRev','focused$','[OfflineState]:\x20received\x20acknowledgement.','_getLoginPath','_resendTimeout','UnitStatus','hasOwnProperty','_sendHeartbeat','isArray','byteOffset','_type','charAt','APPLY_REJECT','BehaviorSubject','UniverCollaborationPlugin','transformUndoRedo','call','newCsEvent','_xformMode','startTime','_registerDependencies','updateCollaborator','ImageUploadStatusType','objectType','_doReset','{fileID}','APPLY_REVISION_CONFILICT','onSendChangeset','NEW_CHANGESETS','PERSON','BlockCipher','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onStarting','keySize','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Hex','roles','_onConnectionOpen','onMissingChangesets','fromCharCode','@univerjs/drawing','/block/','_change$','waitForRoom$','ivSize','subject','loadUnit','_singleActiveUnitService','_sendHeartbeatTimer','CollaborationEvent','_permissionService','onTransformRemoteChangesetByIMECache','shareReplay','saveSheetBlock','loadDoc','_getRedoStack','onMissedChangesetFetched','processBlock','_rescheduleHeartbeat','encrypt','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','pending','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','conflict','_shouldReportTelemetry','UNKNOWN_CMD','getCurrentRevOfUnit','transformChangesets','Tools','_remoteChangesetQueue','algo','Base64','synced','_telemetryService','_transformRemoteChangesetByStateCache','SUBMIT_CHANGESET_TIMEOUT','\x0aAfter:\x20','WorkbookEditablePermission','_listenToNetworkCondition','type','socket\x20close','_handler','_collabSessionService','PERMISSION_REJ','Cipher','@univerjs/core','getImageSourceCache','connection\x20error','_collaborationTimeoutTimer','_nDataBytes','_removeRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','retryConnectingInterval','firstValueFrom','CollaborationSessionService','IUniverInstanceService','userID','_clearLocalCache','enc','createEncryptor','_entities','_onRemoteRejected','_nRounds','Pkcs7','unitInfo$','POST','fetchMiss','permissionRejEvent','session.room-cnt-exceeds','startsWith','_clearCollaborationTimeoutTimer','reduce','SnapshotServerOverHTTPService','collabWebSocketUrl','_resendTimer','c2Prime','USERS_LEAVE','AwaitingWithPendingState','_oKey','originalMeta','_pendingMutations','unsubscribe','COMPLETION_FINISHED','readInt32LE','_instanceService','state$','getTime','/universer-api/file/{fileID}/sign-url','href','_loadSheet','[FetchMissState]','reqId','__Key__','_transformService','SheetCollaborationEntity','function','key','image/bmp','_candidateSocket','Malformed\x20UTF-8\x20data','getTypeOfUnitDisposed$','addImageSourceCache','take','CHANGESET_REJ','error$','_updateLocalCache','localCacheService','_clearScheduledTask','loadSheet','/universer-api/stream/file/upload','_createSocket','onRemoteRej','UNKNOWN_CODE','UNIVER_UNKNOWN','getInterceptPoints','onTransformRemoteChangesetByStateCache','awaitingChangeset','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','ITransformService','next','_unitID','parseChangesetToProtocol','size','msCrypto','deleteCollaborator','LIVESHARE_TERMINATE','_disableEditing','_lockTransition','StreamCipher','splice','UniverNetworkPlugin','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','collaboration-client.local-cache-service','ICommandService','close$','_members','_loadDoc','APPLY_NON_SEQUENTIAL_REVISION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getUnitType','NOT_FOUND','createCollaborator','auth.needGotoLoginAlert','updatePermissionObjEvent','ERROR_IMAGE','indexOf','\x20-\x20','ERROR_IMAGE_TYPE','exports','forEach','_mode','_showConflictNotification','&source=','routeKey','toString','COLLAB_SUBMIT_CHANGESET_URL_KEY','online$','resend','SHOULD_CLOSE_CONN','status','JOIN_ROOM_FAILED','apply','set','/universer-api/oidc/authpage','IUndoRedoService','eventID','_createInitialStateImpl','fetchThroughInterceptors','11172HKivWT','IContextService','loadOfflineData','CBC','result','sessionStatus','COLLAB_WEB_SOCKET_URL_KEY','LEAVE','_hasher','IMentionIOService','getCurrentUser','UNDEFINED','_redoStacks','_awaitingChangeset','YUUMI_UNABLE_LOAD_URL','_commentUpdate$','_checkMissing','UNIVER_SLIDE','_onFetchMissResult','ImageSourceType','_collaborationPaused','_handlerCallback','editingUnit','shouldCloseConn','COLLAB_SUBMIT_CHANGESET_URL','_socket$','textEncoder','SEND_CHANGESET_TIMEOUT_KEY','get','_memberService','\x20to\x20','map','?url=','add','SUBMIT_CHANGESET','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_process','requestParams','onRemoteAck','dispose$','_univerInstanceService','_state$','_undoRedoService','_localeService','fetch_missing','change$','_onCombEvent','_iv','$super','_toggleOffline','_getSendChangesetTimeout','_onRecvEvent','isPermissionRej','JOIN_ROOM_NOT_EXISTS','_telemetryInfo','_status$','state','CollaborationStatus','enableAuthServer','_socketReady','OfflineState','memberID','_timeoutTimer','refreshPermission','toDisposable','MentionIoHttpService','_reverseMap','[PendingState]:\x20unhandled\x20univer\x20type:\x20','infoRsp','open$','init','PENDING','decrypt','MSG_FOR_ERROR','Univer','batchAllowed','kdf','_resendWithTimeout','action','APPLY_PERMISSION_DENIED','complete','put','_init','/universer-api/snapshot','executeCommand','unknown','getActiveSheet','LICENSE_EXPORT_SIZE_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','_retryCount','mode','listCollaborators','Base','TOO_MANY_REQUESTS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','name','origin','MUTATION','Encryptor','signUrlServerUrl','CollaborationSocketService','_initMergeInterceptor','HttpImport','/-/object/-/batch_allowed','parseProtocolChangeset','liveShareOperation','updateOfflineData','appendMutation','Could\x20not\x20dynamically\x20require\x20\x22','Hasher','FETCH_MISSING','_replayCachedMutations','concatMap','SNAPSHOT_HAS_BEEN_REMOVED','UPDATE_PERMISSION_OBJ','transformStack\x20failed!','INGEST','avatar','PERMISSION_DENIED','_waitForHeartbeatResponse','find','onSyncEditingCollabCursor','session.join-failed','_undoStacks','dispose','_exhaustRemoteChangesetQueue','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getFocusedUnit','submit\x20changeset\x20error!','IConfigService','FetchingMissState','2114595IQJBwT','LocaleService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','target','APPLY_DUPLICATED','reset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Decryptor','_createHandler','_executeRemoteChangeset','push','_authzIoService','Subject','_unlockTransition','telemetry\x20info\x20is\x20not\x20initialized','byteLength','HEARTBEAT','Disposable','randomUUID','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','CommandType','JSONX','MentionType','getUnitId','findIndex','SNAPSHOT_SERVER_URL_KEY','_http','data','_userManagerService','FAIL','subscribe','socket$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Undefined','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getSignURL','setShowComponents','awaiting','[UniverCollaborationClientPlugin]','replace','createSocket'];_0x4d50=function(){return _0x37d335;};return _0x4d50();}const Li=[_0x5c4b2d(0x488),_0x5c4b2d(0x40d),_0x5c4b2d(0x464),'image/gif',_0x5c4b2d(0x2fd)],Mi=0x5*0x400*0x400,xi=_0x5c4b2d(0x3ea),ji=_0x5c4b2d(0x309),$i=_0x5c4b2d(0x3a3),Hi=_0x5c4b2d(0x2f3);exports[_0x5c4b2d(0x3f7)]=class{constructor(_0x1f7aeb,_0x64920f,_0x22bd7){var _0x434a0e=_0x5c4b2d;D(this,_0x434a0e(0x1d5),0x0),D(this,_0x434a0e(0x29e),new H[(_0x434a0e(0x3d4))]()),D(this,_0x434a0e(0x372),this[_0x434a0e(0x29e)]),D(this,_0x434a0e(0x4d1),new Map()),(this[_0x434a0e(0x4e6)]=_0x1f7aeb,this[_0x434a0e(0x221)]=_0x64920f,this[_0x434a0e(0x36d)]=_0x22bd7);}['setWaitCount'](_0x4bad59){var _0x5cdb62=_0x5c4b2d;this[_0x5cdb62(0x1d5)]=_0x4bad59,this[_0x5cdb62(0x29e)][_0x5cdb62(0x314)](_0x4bad59);}[_0x5c4b2d(0x2ca)](_0x3f556d,_0xaeef3){var _0x124a0f=_0x5c4b2d;if(_0xaeef3===X[_0x124a0f(0x358)][_0x124a0f(0x45d)]){const _0x42a946=new Image();return _0x42a946[_0x124a0f(0x4e3)]=_0x3f556d,_0x42a946;}return this[_0x124a0f(0x4d1)][_0x124a0f(0x361)](_0x3f556d);}[_0x5c4b2d(0x301)](_0x4decc7,_0x21df9c,_0x81fdd9){var _0xd15b70=_0x5c4b2d;_0x21df9c===X['ImageSourceType']['BASE64']||_0x81fdd9==null||this[_0xd15b70(0x4d1)]['set'](_0x4decc7,_0x81fdd9);}async[_0x5c4b2d(0x1e3)](_0x479377){var _0xf8ada5=_0x5c4b2d;try{const _0x2dcdc3=this['_replaceFileID'](this['_getSignURL'](),''+_0x479377),_0x4c9d6a=(await this[_0xf8ada5(0x4e6)]['get'](_0x2dcdc3))[_0xf8ada5(0x48c)];if(_0x4c9d6a['error']&&_0x4c9d6a[_0xf8ada5(0x46c)][_0xf8ada5(0x22e)]===Tt['OK']){const _0x1b6304=new URL(_0x4c9d6a[_0xf8ada5(0x4dd)],this[_0xf8ada5(0x1a5)]())[_0xf8ada5(0x337)]();return Promise[_0xf8ada5(0x1b0)](_0x1b6304);}return Promise['reject'](_0x4c9d6a['error']);}catch(_0x25269b){return Promise[_0xf8ada5(0x435)](_0x25269b);}}async['saveImage'](_0x1c5833){var _0x29bbfa=_0x5c4b2d;let _0x1b7391='';if(!Li[_0x29bbfa(0x263)](_0x1c5833[_0x29bbfa(0x2c3)]))return this[_0x29bbfa(0x509)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x29bbfa(0x330)]));if(_0x1c5833[_0x29bbfa(0x317)]>Mi)return this[_0x29bbfa(0x509)](),Promise[_0x29bbfa(0x435)](new Error(X[_0x29bbfa(0x28a)]['ERROR_EXCEED_SIZE']));try{const _0x528b5d=new FormData();_0x528b5d['append']('file',_0x1c5833);const _0x3325d5=this[_0x29bbfa(0x36d)][_0x29bbfa(0x3c4)](),_0x3407e2=_0x3325d5==null?void 0x0:_0x3325d5[_0x29bbfa(0x3df)]();if(!_0x3407e2)throw new Error(_0x29bbfa(0x520));const _0x2d2d=this[_0x29bbfa(0x26c)]()+'?size='+_0x1c5833[_0x29bbfa(0x317)]['toString']()+_0x29bbfa(0x335)+bt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3407e2),_0x5a9ac9=await(await fetch(_0x2d2d,{'method':_0x29bbfa(0x2dd),'body':_0x528b5d}))['json']();if(typeof _0x5a9ac9['FileId']!=_0x29bbfa(0x44e))return this[_0x29bbfa(0x509)](),Promise[_0x29bbfa(0x435)](new Error(X[_0x29bbfa(0x28a)][_0x29bbfa(0x32d)]));_0x1b7391=_0x5a9ac9['FileId'];}catch{return this[_0x29bbfa(0x509)](),Promise['reject'](new Error(X[_0x29bbfa(0x28a)][_0x29bbfa(0x32d)]));}return new Promise((_0x157cfb,_0x25ebb1)=>{var _0x249d7d=_0x29bbfa;const _0x1f9454=new FileReader();_0x1f9454['readAsDataURL'](_0x1c5833),_0x1f9454[_0x249d7d(0x1f4)]=_0x5b8579=>{var _0x1ebd6d=_0x249d7d,_0x34ea2b;const _0x4178f3=(_0x34ea2b=_0x5b8579[_0x1ebd6d(0x3cb)])==null?void 0x0:_0x34ea2b[_0x1ebd6d(0x349)];if(_0x4178f3==null){this[_0x1ebd6d(0x509)](),_0x25ebb1(new Error(X[_0x1ebd6d(0x28a)]['ERROR_IMAGE']));return;}const _0x2b8b80=a[_0x1ebd6d(0x2b8)][_0x1ebd6d(0x4ad)](0x6);_0x157cfb({'imageId':_0x2b8b80,'imageSourceType':X[_0x1ebd6d(0x358)][_0x1ebd6d(0x448)],'source':_0x1b7391,'base64Cache':_0x4178f3,'status':X['ImageUploadStatusType']['SUCCUSS']}),this[_0x1ebd6d(0x509)]();};});}[_0x5c4b2d(0x26c)](){var _0x25392d=_0x5c4b2d,_0x2370be,_0x137fad;const _0x59bd18=this['_configService'][_0x25392d(0x477)](xi),_0x4ff23d=this[_0x25392d(0x221)][_0x25392d(0x477)](Y);return(_0x137fad=(_0x2370be=_0x4ff23d==null?void 0x0:_0x4ff23d[_0x25392d(0x1b1)])!=null?_0x2370be:_0x59bd18)!=null?_0x137fad:ji;}[_0x5c4b2d(0x3eb)](){var _0x5f3183=_0x5c4b2d,_0x1cd179,_0x330c81;const _0x50583e=this[_0x5f3183(0x221)][_0x5f3183(0x477)]($i),_0x3eb4e9=this[_0x5f3183(0x221)][_0x5f3183(0x477)](Y);return(_0x330c81=(_0x1cd179=_0x3eb4e9==null?void 0x0:_0x3eb4e9[_0x5f3183(0x3a8)])!=null?_0x1cd179:_0x50583e)!=null?_0x330c81:Hi;}[_0x5c4b2d(0x1a5)](){var _0x3b8831=_0x5c4b2d,_0x56fc0f;const _0x1ebeee=this[_0x3b8831(0x221)][_0x3b8831(0x477)](Y);return(_0x56fc0f=_0x1ebeee==null?void 0x0:_0x1ebeee[_0x3b8831(0x422)])!=null?_0x56fc0f:location[_0x3b8831(0x3a5)];}[_0x5c4b2d(0x419)](_0x40ee98,_0x529621){var _0x7b725e=_0x5c4b2d;return _0x40ee98[_0x7b725e(0x3ef)](_0x7b725e(0x28d),_0x529621);}['_decreaseWaiting'](){var _0x355214=_0x5c4b2d;this[_0x355214(0x1d5)]-=0x1,this[_0x355214(0x29e)][_0x355214(0x314)](this['_waitCount']);}},exports[_0x5c4b2d(0x3f7)]=Ai([xe(0x0,a['Inject'](q[_0x5c4b2d(0x1e4)])),xe(0x1,a[_0x5c4b2d(0x3c6)]),xe(0x2,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x2d3)]))],exports[_0x5c4b2d(0x3f7)]);var ki=Object['defineProperty'],Bi=Object[_0x5c4b2d(0x458)],Fi=(_0x59713d,_0x36655d,_0x4456bd,_0x2882ef)=>{var _0x1a6560=_0x5c4b2d;for(var _0x2b2c39=_0x2882ef>0x1?void 0x0:_0x2882ef?Bi(_0x36655d,_0x4456bd):_0x36655d,_0x4fa235=_0x59713d[_0x1a6560(0x22b)]-0x1,_0x5efdf4;_0x4fa235>=0x0;_0x4fa235--)(_0x5efdf4=_0x59713d[_0x4fa235])&&(_0x2b2c39=(_0x2882ef?_0x5efdf4(_0x36655d,_0x4456bd,_0x2b2c39):_0x5efdf4(_0x2b2c39))||_0x2b2c39);return _0x2882ef&&_0x2b2c39&&ki(_0x36655d,_0x4456bd,_0x2b2c39),_0x2b2c39;},_t=(_0x4dfd9b,_0x319c1e)=>(_0x20bce8,_0x1a9c3a)=>_0x319c1e(_0x20bce8,_0x1a9c3a,_0x4dfd9b);const Wi='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x4c6a6b,_0x2bd8cd){var _0x732dd1=_0x5c4b2d;this[_0x732dd1(0x221)]=_0x4c6a6b,this['_HTTPService']=_0x2bd8cd;}[_0x5c4b2d(0x4dc)](){var _0x11b0e7=_0x5c4b2d,_0x397e31,_0x462afe;const _0x4b7ac0=this[_0x11b0e7(0x221)]['getConfig'](Ve),_0xed7181=this[_0x11b0e7(0x221)][_0x11b0e7(0x477)](Y);return(_0x462afe=(_0x397e31=_0xed7181==null?void 0x0:_0xed7181['authzUrl'])!=null?_0x397e31:_0x4b7ac0)!=null?_0x462afe:Wi;}async[_0x5c4b2d(0x508)](_0x3d1069){var _0x56d5a1=_0x5c4b2d;const _0x1a9aba=this[_0x56d5a1(0x4dc)]()+'/collaborator';return{'list':[{'title':_0x56d5a1(0x1d1),'mentions':(await this[_0x56d5a1(0x1df)][_0x56d5a1(0x361)](_0x1a9aba,{'params':{'objectID':_0x3d1069[_0x56d5a1(0x41a)],'unitID':_0x3d1069['unitId']}}))[_0x56d5a1(0x48c)][_0x56d5a1(0x4fd)][_0x56d5a1(0x364)](_0x11af21=>({'objectId':_0x11af21['id'],'name':_0x11af21[_0x56d5a1(0x2a1)][_0x56d5a1(0x3a4)],'metadata':{'icon':_0x11af21[_0x56d5a1(0x2a1)][_0x56d5a1(0x3ba)]},'label':_0x11af21[_0x56d5a1(0x2a1)][_0x56d5a1(0x3a4)],'objectType':a[_0x56d5a1(0x3de)][_0x56d5a1(0x291)]})),'metadata':{},'type':a[_0x56d5a1(0x3de)][_0x56d5a1(0x291)]}]};}},exports[_0x5c4b2d(0x386)]=Fi([_t(0x0,a[_0x5c4b2d(0x241)](a['IConfigService'])),_t(0x1,a[_0x5c4b2d(0x241)](q['HTTPService']))],exports[_0x5c4b2d(0x386)]);var Gi=Object['defineProperty'],Vi=Object[_0x5c4b2d(0x458)],Ki=(_0x17e304,_0x2fd830,_0x1e0a27,_0x3ec90b)=>{var _0x38cca9=_0x5c4b2d;for(var _0x27bae8=_0x3ec90b>0x1?void 0x0:_0x3ec90b?Vi(_0x2fd830,_0x1e0a27):_0x2fd830,_0x6352aa=_0x17e304[_0x38cca9(0x22b)]-0x1,_0x42ec30;_0x6352aa>=0x0;_0x6352aa--)(_0x42ec30=_0x17e304[_0x6352aa])&&(_0x27bae8=(_0x3ec90b?_0x42ec30(_0x2fd830,_0x1e0a27,_0x27bae8):_0x42ec30(_0x27bae8))||_0x27bae8);return _0x3ec90b&&_0x27bae8&&Gi(_0x2fd830,_0x1e0a27,_0x27bae8),_0x27bae8;},ce=(_0xc9af05,_0xb1ffb1)=>(_0x8b0da1,_0x56b6c1)=>_0xb1ffb1(_0x8b0da1,_0x56b6c1,_0xc9af05);let Ue=class extends a['RxDisposable']{constructor(_0x23a629,_0x47de7f,_0x45cfa3,_0x449184,_0x2ebe5c,_0x549f9f,_0x1352cd){var _0x9648a4=_0x5c4b2d;super(),this[_0x9648a4(0x411)]=_0x23a629,this[_0x9648a4(0x36d)]=_0x47de7f,this[_0x9648a4(0x2a6)]=_0x45cfa3,this[_0x9648a4(0x400)]=_0x449184,this[_0x9648a4(0x207)]=_0x2ebe5c,this[_0x9648a4(0x3d3)]=_0x549f9f,this[_0x9648a4(0x36f)]=_0x1352cd,this[_0x9648a4(0x4d9)](),this['_initCloseConn']();}[_0x5c4b2d(0x497)](){var _0x1010fa=_0x5c4b2d;const _0x56a84a=async _0x319404=>{var _0x371333=_0x1ccf;(await this['_collaborationSessionService'][_0x371333(0x1c2)](_0x319404))[_0x371333(0x503)][_0x371333(0x4a6)](W[_0x371333(0x439)](_0x3697af=>_0x3697af[_0x371333(0x342)]===m[_0x371333(0x2a5)][_0x371333(0x33b)]),W[_0x371333(0x4ef)](this[_0x371333(0x36c)]))[_0x371333(0x3e6)](_0x378035=>{var _0x22fe6b=_0x371333;const _0x56b8fb=_0x378035,{reason:_0x284e80}=_0x56b8fb[_0x22fe6b(0x3e3)];this[_0x22fe6b(0x207)]['emitEvent']({'id':Q[_0x22fe6b(0x271)],'data':_0x284e80}),this[_0x22fe6b(0x2a6)][_0x22fe6b(0x269)](new J['WorkbookEditablePermission'](_0x319404)['id'],!0x1),this[_0x22fe6b(0x400)][_0x22fe6b(0x273)](_0x319404);});};H[_0x1010fa(0x4f7)](this[_0x1010fa(0x36d)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x1010fa(0x224)](a[_0x1010fa(0x51a)][_0x1010fa(0x52e)]))[_0x1010fa(0x4a6)](W[_0x1010fa(0x364)](_0x28b59e=>_0x28b59e['getUnitId']()),W['filter'](_0x196a4a=>!a['isInternalEditorID'](_0x196a4a)),W['takeUntil'](this[_0x1010fa(0x36c)]))[_0x1010fa(0x3e6)](_0x45e821=>{_0x56a84a(_0x45e821);});}[_0x5c4b2d(0x4d9)](){var _0x23fd5a=_0x5c4b2d;const _0x24b8ef=async _0x4b00aa=>{var _0x2c6e92=_0x1ccf;const _0x3c355f=await this[_0x2c6e92(0x400)][_0x2c6e92(0x1c2)](_0x4b00aa),_0x1c706a=this[_0x2c6e92(0x411)]['get'](J['SheetPermissionInitController']);_0x3c355f[_0x2c6e92(0x503)]['pipe'](W[_0x2c6e92(0x439)](_0x209621=>_0x209621[_0x2c6e92(0x342)]===m[_0x2c6e92(0x2a5)][_0x2c6e92(0x3b7)]),W[_0x2c6e92(0x4ef)](this[_0x2c6e92(0x36c)]))['subscribe'](_0x48f4f6=>{var _0x13296e=_0x2c6e92;const _0xf16a7a=_0x48f4f6,{objectId:_0x5cbe89}=_0xf16a7a[_0x13296e(0x3e3)];_0x5cbe89===_0x4b00aa?_0x1c706a['initWorkbookPermissionChange'](_0x4b00aa):_0x1c706a[_0x13296e(0x384)](_0x4b00aa,_0x5cbe89);});};H['merge'](this[_0x23fd5a(0x36d)][_0x23fd5a(0x224)](a['UniverInstanceType'][_0x23fd5a(0x441)]),this[_0x23fd5a(0x36d)]['getTypeOfUnitAdded$'](a[_0x23fd5a(0x51a)][_0x23fd5a(0x52e)]))[_0x23fd5a(0x4a6)](W['map'](_0x2ddc91=>_0x2ddc91['getUnitId']()),W[_0x23fd5a(0x439)](_0x52e5e2=>!a['isInternalEditorID'](_0x52e5e2)),W[_0x23fd5a(0x4ef)](this['dispose$']))[_0x23fd5a(0x3e6)](_0x43d609=>{_0x24b8ef(_0x43d609);});}};Ue=Ki([ce(0x0,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),ce(0x1,a[_0x5c4b2d(0x2d3)]),ce(0x2,a['IPermissionService']),ce(0x3,a[_0x5c4b2d(0x241)](exports[_0x5c4b2d(0x2d2)])),ce(0x4,a[_0x5c4b2d(0x241)](te)),ce(0x5,a[_0x5c4b2d(0x533)]),ce(0x6,a[_0x5c4b2d(0x341)])],Ue);var Yi=Object[_0x5c4b2d(0x1d2)],qi=Object[_0x5c4b2d(0x458)],zi=(_0x209c7d,_0xdee52b,_0xcfde8b,_0x7b838d)=>{for(var _0x14234b=_0x7b838d>0x1?void 0x0:_0x7b838d?qi(_0xdee52b,_0xcfde8b):_0xdee52b,_0x320ae9=_0x209c7d['length']-0x1,_0xe96456;_0x320ae9>=0x0;_0x320ae9--)(_0xe96456=_0x209c7d[_0x320ae9])&&(_0x14234b=(_0x7b838d?_0xe96456(_0xdee52b,_0xcfde8b,_0x14234b):_0xe96456(_0x14234b))||_0x14234b);return _0x7b838d&&_0x14234b&&Yi(_0xdee52b,_0xcfde8b,_0x14234b),_0x14234b;},ut=(_0x194108,_0x310e6c)=>(_0x50913c,_0x17da6e)=>_0x310e6c(_0x50913c,_0x17da6e,_0x194108);exports[_0x5c4b2d(0x2e4)]=class{constructor(_0x4335bf,_0x4643da){var _0x359126=_0x5c4b2d;this['_configService']=_0x4335bf,this[_0x359126(0x4e6)]=_0x4643da;}async[_0x5c4b2d(0x20a)](_0x2fc0aa,_0x5d8386){var _0x4ed088=_0x5c4b2d,_0x1c51f8;const {unitID:_0x516e75,type:_0x24d1ad,revision:_0x55b3fb=0x0}=_0x5d8386,_0xb4075=this[_0x4ed088(0x4ec)]()+'/'+_0x24d1ad+_0x4ed088(0x21a)+_0x516e75+_0x4ed088(0x462)+_0x55b3fb,_0x229fd9=(await this[_0x4ed088(0x4e6)][_0x4ed088(0x361)](_0xb4075))['body'],_0x26315d=(_0x1c51f8=_0x229fd9[_0x4ed088(0x4e1)])==null?void 0x0:_0x1c51f8[_0x4ed088(0x4d2)];if(_0x26315d){const _0x14c3f6=_0x26315d==null?void 0x0:_0x26315d[_0x4ed088(0x2eb)],_0x295d5b=m[_0x4ed088(0x35f)][_0x4ed088(0x236)](m[_0x4ed088(0x266)](_0x14c3f6));_0x26315d[_0x4ed088(0x2eb)]=_0x295d5b,Object['entries'](_0x26315d[_0x4ed088(0x4c1)])[_0x4ed088(0x332)](([,_0x237a92])=>{var _0x4ce329=_0x4ed088;const _0x4581c0=_0x237a92[_0x4ce329(0x2eb)],_0xe19bc=m['textEncoder'][_0x4ce329(0x236)](m['b64DecodeUnicode'](_0x4581c0));_0x237a92['originalMeta']=_0xe19bc;});}return _0x229fd9;}async['getSheetBlock'](_0x341b8c,_0x3f2370){var _0x14170d=_0x5c4b2d;const {unitID:_0x913bf7,type:_0x217452,blockID:_0x2ac76c}=_0x3f2370,_0x3f2046=this[_0x14170d(0x1f0)]()+'/'+_0x217452+_0x14170d(0x21a)+_0x913bf7+'/block/'+_0x2ac76c;return(await this['_httpService']['get'](_0x3f2046))[_0x14170d(0x48c)];}async[_0x5c4b2d(0x244)](_0x292cc2,_0x34feda){var _0xbcfccd=_0x5c4b2d;const {unitID:_0x135b5c,type:_0x3fb8c8,blockID:_0x5d48d7}=_0x34feda,_0xec0509=this[_0xbcfccd(0x1f0)]()+'/block/'+_0x3fb8c8+_0xbcfccd(0x21a)+_0x135b5c+_0xbcfccd(0x29d)+_0x5d48d7;return(await this[_0xbcfccd(0x4e6)]['get'](_0xec0509))[_0xbcfccd(0x48c)];}async[_0x5c4b2d(0x1ad)](_0x58690f,_0x1a7573){var _0x11cbc8=_0x5c4b2d;const {unitID:_0x9fcb81,type:_0x49a32e,from:_0x25f3b1,to:_0x19eb42}=_0x1a7573,_0x34a74a=this['_getAPIPrefix']()+'/'+_0x49a32e+_0x11cbc8(0x21a)+_0x9fcb81+_0x11cbc8(0x265)+_0x25f3b1+'&to='+_0x19eb42;return(await this[_0x11cbc8(0x4e6)][_0x11cbc8(0x361)](_0x34a74a))['body'];}[_0x5c4b2d(0x4ec)](){var _0x5503ea=_0x5c4b2d,_0x5d654a;return(_0x5d654a=this[_0x5503ea(0x221)][_0x5503ea(0x477)](ft))!=null?_0x5d654a:this['_getAPIPrefix']();}[_0x5c4b2d(0x1f0)](){var _0x523bae=_0x5c4b2d,_0x81c2f5,_0x44d857;const _0xa5819e=this[_0x523bae(0x221)][_0x523bae(0x477)](vt),_0x2e20b1=this[_0x523bae(0x221)][_0x523bae(0x477)](Y);return(_0x44d857=(_0x81c2f5=_0x2e20b1==null?void 0x0:_0x2e20b1[_0x523bae(0x25d)])!=null?_0x81c2f5:_0xa5819e)!=null?_0x44d857:Ht;}async['getResourcesRequest'](_0x4fca17,_0x3a70af){var _0x4241cd=_0x5c4b2d;const _0x16db20=_0x4241cd(0x246)+_0x3a70af[_0x4241cd(0x2c3)]+_0x4241cd(0x21a)+_0x3a70af[_0x4241cd(0x1a8)]+_0x4241cd(0x46b);return(await this[_0x4241cd(0x4e6)][_0x4241cd(0x361)](_0x16db20,{'params':{'resourceId':JSON[_0x4241cd(0x49c)](_0x3a70af[_0x4241cd(0x1c5)])}}))[_0x4241cd(0x48c)];}[_0x5c4b2d(0x481)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c4b2d(0x2a9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c4b2d(0x214)](){var _0x5ddfde=_0x5c4b2d;throw new Error(_0x5ddfde(0x43f));}[_0x5c4b2d(0x4be)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c4b2d(0x436)](){var _0x55af40=_0x5c4b2d;throw new Error(_0x55af40(0x43f));}},exports['SnapshotServerOverHTTPService']=zi([ut(0x0,a['IConfigService']),ut(0x1,a[_0x5c4b2d(0x241)](q[_0x5c4b2d(0x1e4)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object['defineProperty'],Xi=Object[_0x5c4b2d(0x458)],Zi=(_0x4f5dbe,_0x468dc5,_0x428744,_0x5d3efa)=>{var _0x179cd8=_0x5c4b2d;for(var _0x482d35=_0x5d3efa>0x1?void 0x0:_0x5d3efa?Xi(_0x468dc5,_0x428744):_0x468dc5,_0x4754f9=_0x4f5dbe[_0x179cd8(0x22b)]-0x1,_0x3cc297;_0x4754f9>=0x0;_0x4754f9--)(_0x3cc297=_0x4f5dbe[_0x4754f9])&&(_0x482d35=(_0x5d3efa?_0x3cc297(_0x468dc5,_0x428744,_0x482d35):_0x3cc297(_0x482d35))||_0x482d35);return _0x5d3efa&&_0x482d35&&Ji(_0x468dc5,_0x428744,_0x482d35),_0x482d35;},de=(_0x5e6caa,_0x10ffd4)=>(_0x52ef3e,_0x38bf50)=>_0x10ffd4(_0x52ef3e,_0x38bf50,_0x5e6caa);exports[_0x5c4b2d(0x50f)]=class extends a[_0x5c4b2d(0x48f)]{constructor(_0x1b309e,_0x55a35c,_0x222845,_0x29640d,_0x4e2c50){var _0x30f232=_0x5c4b2d;super(_0x1b309e,_0x55a35c,_0x222845),this['_transformService']=_0x29640d,this[_0x30f232(0x4bd)]=_0x4e2c50;}[_0x5c4b2d(0x283)](_0x20c984,_0x3063af){var _0x31e159=_0x5c4b2d;const _0x865eba=this[_0x31e159(0x3f8)](_0x20c984);if(_0x865eba)try{const _0x102bb6=this['_transformStack'](_0x865eba,_0x3063af);this[_0x31e159(0x26a)](_0x20c984,_0x102bb6);}catch(_0x2ce9e3){this[_0x31e159(0x4bd)][_0x31e159(0x46c)]('[CollaborationUndoRedoService]',_0x2ce9e3),this['_clearUndo'](_0x20c984);}const _0x138caf=this['_getRedoStack'](_0x20c984);if(_0x138caf)try{const _0x3e6e8b=this[_0x31e159(0x1e1)](_0x138caf,_0x3063af);this['_substituteRedoStack'](_0x20c984,_0x3e6e8b);}catch(_0x898cfa){this[_0x31e159(0x4bd)][_0x31e159(0x46c)](_0x898cfa),this[_0x31e159(0x42d)](_0x20c984);}}[_0x5c4b2d(0x1eb)](_0xdbf953){var _0x2328f6=_0x5c4b2d;const _0x3ac870=this[_0x2328f6(0x3f8)](_0xdbf953);_0x3ac870&&(_0x3ac870[_0x2328f6(0x22b)]=0x0,this[_0x2328f6(0x1bc)]());}[_0x5c4b2d(0x42d)](_0xa3b8fa){var _0x22bb1c=_0x5c4b2d;const _0x1dceb0=this[_0x22bb1c(0x2ab)](_0xa3b8fa);_0x1dceb0&&(_0x1dceb0[_0x22bb1c(0x22b)]=0x0,this[_0x22bb1c(0x1bc)]());}['_substituteUndoStack'](_0x3ae565,_0x552205){var _0x242ac2=_0x5c4b2d;this[_0x242ac2(0x3c0)][_0x242ac2(0x33f)](_0x3ae565,_0x552205),this[_0x242ac2(0x1bc)]();}[_0x5c4b2d(0x473)](_0x3d1b81,_0x2a895f){var _0x4f23e3=_0x5c4b2d;this[_0x4f23e3(0x351)][_0x4f23e3(0x33f)](_0x3d1b81,_0x2a895f),this[_0x4f23e3(0x1bc)]();}[_0x5c4b2d(0x1e1)](_0xc2f89b,_0x60c170){var _0x56a97c=_0x5c4b2d;const _0x3a0d96=[];let _0x20081f=_0x60c170,_0x5574f7=_0x60c170;for(let _0x4958d3=_0xc2f89b[_0x56a97c(0x22b)]-0x1;_0x4958d3>=0x0;_0x4958d3--){const {unitID:_0x4298cf,undoMutations:_0x20c34e,redoMutations:_0x10741a}=_0xc2f89b[_0x4958d3],_0x5c511a=this[_0x56a97c(0x2f9)][_0x56a97c(0x4c6)](_0x20081f,_0x20c34e),_0x2dc03e=this['_transformService'][_0x56a97c(0x4c6)](_0x5574f7,_0x10741a);if(m[_0x56a97c(0x4d5)](_0x5c511a)||m[_0x56a97c(0x4d5)](_0x2dc03e)){this[_0x56a97c(0x4bd)][_0x56a97c(0x46c)](_0x56a97c(0x4e7),_0x56a97c(0x3b8),_0x5c511a,_0x2dc03e);break;}_0x20081f=_0x5c511a[_0x56a97c(0x1b6)],_0x5574f7=_0x2dc03e[_0x56a97c(0x1b6)],_0x3a0d96[_0x56a97c(0x3d2)]({'unitID':_0x4298cf,'undoMutations':_0x5c511a['m2Prime'],'redoMutations':_0x2dc03e[_0x56a97c(0x482)]});}return _0x3a0d96[_0x56a97c(0x220)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x5c4b2d(0x2d3)]),de(0x1,a['ICommandService']),de(0x2,a[_0x5c4b2d(0x346)]),de(0x3,m[_0x5c4b2d(0x313)]),de(0x4,a[_0x5c4b2d(0x425)])],exports[_0x5c4b2d(0x50f)]);var Lt=Object[_0x5c4b2d(0x1d2)],Qi=Object[_0x5c4b2d(0x458)],er=(_0x1d4444,_0x456925,_0x31a6e7)=>_0x456925 in _0x1d4444?Lt(_0x1d4444,_0x456925,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31a6e7}):_0x1d4444[_0x456925]=_0x31a6e7,tr=(_0x54e09f,_0x23386f,_0x1b8bff,_0x4255c0)=>{for(var _0x4bba0f=_0x4255c0>0x1?void 0x0:_0x4255c0?Qi(_0x23386f,_0x1b8bff):_0x23386f,_0x430cfc=_0x54e09f['length']-0x1,_0x13a82d;_0x430cfc>=0x0;_0x430cfc--)(_0x13a82d=_0x54e09f[_0x430cfc])&&(_0x4bba0f=(_0x4255c0?_0x13a82d(_0x23386f,_0x1b8bff,_0x4bba0f):_0x13a82d(_0x4bba0f))||_0x4bba0f);return _0x4255c0&&_0x4bba0f&&Lt(_0x23386f,_0x1b8bff,_0x4bba0f),_0x4bba0f;},je=(_0x1af2a0,_0x32a0ab)=>(_0x3e03ff,_0x1b4ce3)=>_0x32a0ab(_0x3e03ff,_0x1b4ce3,_0x1af2a0),nr=(_0x1c64be,_0x333b3e,_0x3fb92c)=>er(_0x1c64be,_0x333b3e+'',_0x3fb92c);const ir=_0x5c4b2d(0x1bd);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x3a9494=Ke,_0x6d279f,_0x3c52c6,_0x20441f){var _0x554775=_0x5c4b2d;super(),this[_0x554775(0x1b8)]=_0x3a9494,this['_logService']=_0x6d279f,this[_0x554775(0x411)]=_0x3c52c6,this['_configService']=_0x20441f;const {..._0xa926b9}=a[_0x554775(0x4f7)]({},Ke,this['_config']);this['_configService'][_0x554775(0x450)](Y,_0xa926b9);}[_0x5c4b2d(0x294)](){var _0x1b0fe6=_0x5c4b2d;this[_0x1b0fe6(0x288)](),this[_0x1b0fe6(0x1b3)]();}[_0x5c4b2d(0x288)](){var _0x243d17=_0x5c4b2d,_0x367743,_0x33c82f,_0x327a54,_0x532bdc;this[_0x243d17(0x411)]['has'](a[_0x243d17(0x341)])&&this['_logService'][_0x243d17(0x46c)](_0x243d17(0x3ee),_0x243d17(0x4f6));const _0x41a4c9=a[_0x243d17(0x1dc)]([[a['IUndoRedoService'],{'useClass':exports[_0x243d17(0x50f)]}],[exports[_0x243d17(0x2d2)]],[exports[_0x243d17(0x1db)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x243d17(0x3fb)]],[ke,{'useClass':(_0x33c82f=(_0x367743=this[_0x243d17(0x1b8)])==null?void 0x0:_0x367743['socketService'])!=null?_0x33c82f:exports['CollaborationSocketService']}],[m[_0x243d17(0x4c4)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x243d17(0x533)],{'useClass':exports[_0x243d17(0x25b)]}],[X[_0x243d17(0x3f3)],{'useClass':exports[_0x243d17(0x3f7)]}],[a[_0x243d17(0x34e)],{'useClass':exports[_0x243d17(0x386)]}],[exports[_0x243d17(0x1c3)]],[$e]],(_0x327a54=this[_0x243d17(0x1b8)])==null?void 0x0:_0x327a54[_0x243d17(0x4b6)]);if(!((_0x532bdc=this['_config'])!=null&&_0x532bdc[_0x243d17(0x222)])){const _0xb0399c=_0x41a4c9[_0x243d17(0x3e0)](([_0x268849])=>_0x268849===ve);_0xb0399c!==-0x1&&_0x41a4c9[_0x243d17(0x31e)](_0xb0399c,0x1);}a[_0x243d17(0x1d7)](this[_0x243d17(0x411)],_0x41a4c9);}[_0x5c4b2d(0x1b3)](){var _0x44c448=_0x5c4b2d,_0x2b466a,_0x3dc3f5,_0x1e67dd;this[_0x44c448(0x411)]['get'](q['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x2b466a=this[_0x44c448(0x1b8)])!=null&&_0x2b466a['enableOfflineEditing']||(_0x3dc3f5=this[_0x44c448(0x411)]['get'](z,a['Quantity'][_0x44c448(0x258)]))==null||_0x3dc3f5['disableLocalCache'](),(_0x1e67dd=this[_0x44c448(0x1b8)])!=null&&_0x1e67dd[_0x44c448(0x37f)]&&a[_0x44c448(0x1da)](this[_0x44c448(0x411)],[[ye]]),a['touchDependencies'](this[_0x44c448(0x411)],[[Ne],[exports[_0x44c448(0x1c3)]],[Ue]]);}},nr(exports['UniverCollaborationClientPlugin'],_0x5c4b2d(0x1e6),ir),exports[_0x5c4b2d(0x4d0)]=tr([a['DependentOn'](m[_0x5c4b2d(0x282)],J['UniverSheetsPlugin'],q[_0x5c4b2d(0x31f)]),je(0x1,a['ILogService']),je(0x2,a[_0x5c4b2d(0x241)](a[_0x5c4b2d(0x45b)])),je(0x3,a[_0x5c4b2d(0x3c6)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x5c4b2d(0x338)]=Et,exports[_0x5c4b2d(0x34b)]=St,exports[_0x5c4b2d(0x37e)]=We,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0x5c4b2d(0x230)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=pt,exports[_0x5c4b2d(0x1c6)]=Xt,exports[_0x5c4b2d(0x4de)]=mt,exports[_0x5c4b2d(0x48b)]=He,exports['ICollaborationSocketService']=ke,exports['ILocalCacheService']=z,exports[_0x5c4b2d(0x1dd)]=Rt,exports[_0x5c4b2d(0x40e)]=ve,exports[_0x5c4b2d(0x3f9)]=Yt,exports[_0x5c4b2d(0x1ec)]=Kt,exports['LOGIN_URL_KEY']=Ct,exports[_0x5c4b2d(0x4a2)]=Jt,exports[_0x5c4b2d(0x498)]=It,exports[_0x5c4b2d(0x360)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x5c4b2d(0x483)]=ft,exports['SessionStatus']=se,exports[_0x5c4b2d(0x279)]=Fe,exports[_0x5c4b2d(0x500)]=Ot,exports['getLocalCacheKey']=In,exports[_0x5c4b2d(0x423)]=yt;