@univerjs-pro/collaboration-client 0.8.0-nightly.202505291607 → 0.8.0-nightly.202505301607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x274a5e=_0x3799;(function(_0xe4b58f,_0x502647){var _0x49ee42=_0x3799,_0x4736f4=_0xe4b58f();while(!![]){try{var _0x20b5ae=-parseInt(_0x49ee42(0x43c))/0x1*(-parseInt(_0x49ee42(0x252))/0x2)+-parseInt(_0x49ee42(0x424))/0x3*(-parseInt(_0x49ee42(0x1d5))/0x4)+-parseInt(_0x49ee42(0x18e))/0x5*(parseInt(_0x49ee42(0x1d3))/0x6)+-parseInt(_0x49ee42(0x2a9))/0x7*(-parseInt(_0x49ee42(0x1ec))/0x8)+-parseInt(_0x49ee42(0x29a))/0x9+parseInt(_0x49ee42(0x3ef))/0xa*(parseInt(_0x49ee42(0x187))/0xb)+parseInt(_0x49ee42(0x3a4))/0xc*(-parseInt(_0x49ee42(0x3a6))/0xd);if(_0x20b5ae===_0x502647)break;else _0x4736f4['push'](_0x4736f4['shift']());}catch(_0x33b415){_0x4736f4['push'](_0x4736f4['shift']());}}}(_0x2eae,0x5cce5));var Dt=Object['defineProperty'],At=(_0x16099b,_0x221415,_0x13cf2e)=>_0x221415 in _0x16099b?Dt(_0x16099b,_0x221415,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13cf2e}):_0x16099b[_0x221415]=_0x13cf2e,A=(_0x20bebf,_0x4d0670,_0x5c4e15)=>At(_0x20bebf,typeof _0x4d0670!=_0x274a5e(0x3f7)?_0x4d0670+'':_0x4d0670,_0x5c4e15);Object[_0x274a5e(0x13e)](exports,Symbol[_0x274a5e(0x332)],{'value':'Module'});const a=require(_0x274a5e(0x46e)),$=require(_0x274a5e(0x421)),V=require(_0x274a5e(0x3f1)),I=require(_0x274a5e(0x2a0)),Y=require(_0x274a5e(0x407)),Pt=require(_0x274a5e(0x360)),ht=require(_0x274a5e(0x410)),X=require(_0x274a5e(0x3a5)),z=require(_0x274a5e(0x2a8)),wt=require(_0x274a5e(0x20f)),_t=_0x274a5e(0x379),Lt=_0x274a5e(0x1c4),lt=_0x274a5e(0x1aa),Mt=_0x274a5e(0x154),xt=0x7d0,ut=_0x274a5e(0x458),dt=_0x274a5e(0x322),kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x274a5e(0x13a),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x274a5e(0x26b),Ft=0x3e8,pt=_0x274a5e(0x219),Vt=_0x274a5e(0x2b2),It=_0x274a5e(0x139),Wt=_0x274a5e(0x2be),Gt=_0x274a5e(0x1b5),Kt=_0x274a5e(0x286);var gt=(_0x4bcc0e=>(_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x21c)]=0x0]=_0x274a5e(0x21c),_0x4bcc0e[_0x4bcc0e['OK']=0x1]='OK',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x36f)]=0x2]=_0x274a5e(0x36f),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x336)]=0x3]='PERMISSION_DENIED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x42a)]=0x4]=_0x274a5e(0x42a),_0x4bcc0e[_0x4bcc0e['UNAUTHENTICATED']=0x5]=_0x274a5e(0x1a3),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x397)]=0x6]=_0x274a5e(0x397),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x302)]=0x7]=_0x274a5e(0x302),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x1fd)]=0x8]='TOO_MANY_REQUESTS',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x31d)]=0x9]='COMPLETION_FINISHED',_0x4bcc0e[_0x4bcc0e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x118)]=0x1389]=_0x274a5e(0x118),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x431)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2ce)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4bcc0e[_0x4bcc0e['APPLY_REJECT']=0x1b59]=_0x274a5e(0x2cc),_0x4bcc0e[_0x4bcc0e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x274a5e(0x2e7),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x391)]=0x1b5b]=_0x274a5e(0x391),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x1bf)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x276)]=0x1b5d]=_0x274a5e(0x276),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x417)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4bcc0e[_0x4bcc0e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x274a5e(0x42d),_0x4bcc0e[_0x4bcc0e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4bcc0e[_0x4bcc0e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x274a5e(0x2c4),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x233)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x455)]=0x232d]=_0x274a5e(0x455),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2e2)]=0x2711]=_0x274a5e(0x2e2),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x125)]=0x2712]=_0x274a5e(0x125),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x416)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x3af)]=0x2714]=_0x274a5e(0x3af),_0x4bcc0e[_0x4bcc0e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x274a5e(0x16f),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x327)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x25e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x14c)]=0x271d]=_0x274a5e(0x14c),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x279)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2fa)]=0x271f]=_0x274a5e(0x2fa),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x25d)]=0x2af9]=_0x274a5e(0x25d),_0x4bcc0e[_0x4bcc0e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x274a5e(0x21e),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x388)]=0x2ee2]=_0x274a5e(0x388),_0x4bcc0e[_0x4bcc0e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x274a5e(0x173),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x435)]=0x2ee4]=_0x274a5e(0x435),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x308)]=0x2ee5]=_0x274a5e(0x308),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x467)]=0x32c9]=_0x274a5e(0x467),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x114)]=0x32ca]=_0x274a5e(0x114),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x3d2)]=0x32cb]=_0x274a5e(0x3d2),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2ee)]=-0x1]=_0x274a5e(0x2ee),_0x4bcc0e))(gt||{}),J=(_0x1e32c1=>(_0x1e32c1[_0x1e32c1[_0x274a5e(0x249)]=0x0]=_0x274a5e(0x249),_0x1e32c1[_0x1e32c1['UNIVER_DOC']=0x1]=_0x274a5e(0x339),_0x1e32c1[_0x1e32c1[_0x274a5e(0x2ad)]=0x2]=_0x274a5e(0x2ad),_0x1e32c1[_0x1e32c1[_0x274a5e(0x47d)]=0x3]=_0x274a5e(0x47d),_0x1e32c1[_0x1e32c1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1e32c1[_0x1e32c1[_0x274a5e(0x2ee)]=-0x1]=_0x274a5e(0x2ee),_0x1e32c1))(J||{}),W=(_0x2b9218=>(_0x2b9218[_0x2b9218[_0x274a5e(0x345)]=0x0]=_0x274a5e(0x345),_0x2b9218[_0x2b9218[_0x274a5e(0x23a)]=0x1]=_0x274a5e(0x23a),_0x2b9218[_0x2b9218['JOIN']=0x2]=_0x274a5e(0x15a),_0x2b9218[_0x2b9218[_0x274a5e(0x1bc)]=0x3]=_0x274a5e(0x1bc),_0x2b9218[_0x2b9218[_0x274a5e(0x47f)]=0x4]=_0x274a5e(0x47f),_0x2b9218[_0x2b9218[_0x274a5e(0x3f8)]=0x5]=_0x274a5e(0x3f8),_0x2b9218[_0x2b9218['RECV']=0x6]=_0x274a5e(0x3d0),_0x2b9218[_0x2b9218['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2b9218))(W||{}),oe=(_0x10fc4b=>(_0x10fc4b[_0x10fc4b['UNKNOWN_CODE']=0x0]=_0x274a5e(0x44f),_0x10fc4b[_0x10fc4b['OK']=0x1]='OK',_0x10fc4b[_0x10fc4b[_0x274a5e(0x346)]=0x2]=_0x274a5e(0x346),_0x10fc4b[_0x10fc4b[_0x274a5e(0x411)]=0x3e9]=_0x274a5e(0x411),_0x10fc4b[_0x10fc4b['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x274a5e(0x34d),_0x10fc4b[_0x10fc4b[_0x274a5e(0x301)]=0x3eb]=_0x274a5e(0x301),_0x10fc4b[_0x10fc4b[_0x274a5e(0x3e9)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x10fc4b[_0x10fc4b[_0x274a5e(0x2ee)]=-0x1]='UNRECOGNIZED',_0x10fc4b))(oe||{}),Et=(_0x104960=>(_0x104960[_0x104960['Undefined']=0x0]=_0x274a5e(0x312),_0x104960[_0x104960[_0x274a5e(0x37b)]=0x1]=_0x274a5e(0x37b),_0x104960[_0x104960[_0x274a5e(0x10d)]=0x2]=_0x274a5e(0x10d),_0x104960[_0x104960['UnitEmbedded']=0x3]=_0x274a5e(0x256),_0x104960[_0x104960[_0x274a5e(0x216)]=0x4]=_0x274a5e(0x216),_0x104960[_0x104960[_0x274a5e(0x147)]=0x5]=_0x274a5e(0x147),_0x104960[_0x104960[_0x274a5e(0x2ee)]=-0x1]='UNRECOGNIZED',_0x104960))(Et||{});const K=_0x274a5e(0x476),Yt={};var Z=(_0x27fee2=>(_0x27fee2['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x27fee2['PERMISSION_DENIED']=_0x274a5e(0x336),_0x27fee2[_0x274a5e(0x246)]=_0x274a5e(0x246),_0x27fee2[_0x274a5e(0x47e)]=_0x274a5e(0x47e),_0x27fee2[_0x274a5e(0x189)]=_0x274a5e(0x189),_0x27fee2[_0x274a5e(0x12b)]=_0x274a5e(0x12b),_0x27fee2[_0x274a5e(0x348)]=_0x274a5e(0x348),_0x27fee2[_0x274a5e(0x444)]='SUBMIT_CHANGESET_TIMEOUT',_0x27fee2))(Z||{});class ee{constructor(){var _0x247f55=_0x274a5e;A(this,_0x247f55(0x119),new $['Subject']()),A(this,_0x247f55(0x11a),this[_0x247f55(0x119)][_0x247f55(0x21d)]());}[_0x274a5e(0x34b)](_0x2a44a2){var _0x14b2d0=_0x274a5e;this['_event$'][_0x14b2d0(0x226)](_0x2a44a2);}}const mt=a[_0x274a5e(0x38f)](_0x274a5e(0x3a3));function Ct(_0x4d498a){var _0x4b5f14=_0x274a5e,_0x193871,_0x11117a,_0x254b07,_0x363b52,_0x6cddea;const _0x1973d9=_0x4d498a[_0x4b5f14(0x24b)],_0x5d0824=JSON[_0x4b5f14(0x437)](_0x1973d9);switch(_0x5d0824[_0x4b5f14(0x18d)]){case W[_0x4b5f14(0x3f8)]:case W[_0x4b5f14(0x23a)]:{const _0x4e262a=_0x5d0824[_0x4b5f14(0x415)];return{..._0x5d0824,'data':_0x4e262a,'cmd':_0x5d0824[_0x4b5f14(0x18d)]};}case W[_0x4b5f14(0x15a)]:{const _0x3bcbe5=_0x5d0824[_0x4b5f14(0x2d8)];return{..._0x5d0824,'data':_0x3bcbe5,'cmd':_0x5d0824[_0x4b5f14(0x18d)]};}case W[_0x4b5f14(0x3d0)]:{const _0x584ba3=_0x5d0824[_0x4b5f14(0x142)];switch(_0x584ba3[_0x4b5f14(0x273)]){case I[_0x4b5f14(0x197)][_0x4b5f14(0x2f5)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x193871=_0x584ba3[_0x4b5f14(0x31c)])==null?void 0x0:_0x193871['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x3d3)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x11117a=_0x584ba3['csAckEvent'])==null?void 0x0:_0x11117a['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)]['NEW_CHANGESETS']:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x254b07=_0x584ba3[_0x4b5f14(0x40d)])==null?void 0x0:_0x254b07['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent'][_0x4b5f14(0x296)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x363b52=_0x584ba3[_0x4b5f14(0x430)])==null?void 0x0:_0x363b52['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x6cddea=_0x584ba3[_0x4b5f14(0x12f)])==null?void 0x0:_0x6cddea['cs']},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)][_0x4b5f14(0x179)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x289)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent'][_0x4b5f14(0x367)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x1c2)]},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)][_0x4b5f14(0x423)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x1e8)]},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)]['LIVESHARE_NEW_HOST']:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x2da)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent'][_0x4b5f14(0x375)]:case I['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x43e)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x3d6)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3['liveShareNewHost']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)]['MSG_FOR_ERROR']:return{..._0x5d0824,'data':_0x584ba3,'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x305)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x33c)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)]['UPDATE_PERMISSION_OBJ']:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3['updatePermissionObjEvent']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x2e0)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x448)]},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)][_0x4b5f14(0x373)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x314)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};default:return _0x5d0824;}}default:return _0x5d0824;}}function _0x3799(_0x90b711,_0x353da8){var _0x2eae76=_0x2eae();return _0x3799=function(_0x3799a2,_0x6a0528){_0x3799a2=_0x3799a2-0x10d;var _0x1c6ccc=_0x2eae76[_0x3799a2];return _0x1c6ccc;},_0x3799(_0x90b711,_0x353da8);}function Tt(_0x43e01d){var _0x4feba7=_0x274a5e;switch(_0x43e01d[_0x4feba7(0x18d)]){case W[_0x4feba7(0x3f8)]:case W[_0x4feba7(0x23a)]:return JSON[_0x4feba7(0x13b)]({'cmd':_0x43e01d[_0x4feba7(0x18d)],'routeKey':_0x43e01d[_0x4feba7(0x29b)]});case W[_0x4feba7(0x47f)]:{let _0xa55017;switch(_0x43e01d[_0x4feba7(0x24b)][_0x4feba7(0x273)]){case I[_0x4feba7(0x197)][_0x4feba7(0x179)]:{_0xa55017={'eventID':I['CollaborationEvent'][_0x4feba7(0x179)],'updateCursorEvent':_0x43e01d['data'][_0x4feba7(0x24b)]};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x423)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x423)],'leaveEvent':_0x43e01d[_0x4feba7(0x24b)]['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x367)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x367)],'joinEvent':_0x43e01d['data']['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x116)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x43e01d['data'][_0x4feba7(0x24b)]};break;}case I['CollaborationEvent']['LIVESHARE_OPERATION']:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x3b4)],'liveShareOperation':_0x43e01d[_0x4feba7(0x24b)][_0x4feba7(0x24b)]};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x3d6)]:{_0xa55017={'eventID':I['CollaborationEvent'][_0x4feba7(0x3d6)],'liveShareTerminate':_0x43e01d['data']['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x352)]:{_0xa55017={'eventID':I['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x43e01d[_0x4feba7(0x24b)]['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x375)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x375)]};break;}default:_0xa55017={'eventID':_0x43e01d[_0x4feba7(0x24b)][_0x4feba7(0x273)]};}return JSON[_0x4feba7(0x13b)]({'cmd':_0x43e01d['cmd'],'routeKey':_0x43e01d[_0x4feba7(0x29b)],'collaMsg':_0xa55017});}case W['JOIN']:return JSON['stringify']({'cmd':_0x43e01d['cmd'],'routeKey':_0x43e01d[_0x4feba7(0x29b)],'joinReq':_0x43e01d[_0x4feba7(0x24b)]});case W[_0x4feba7(0x1bc)]:return JSON[_0x4feba7(0x13b)]({'cmd':_0x43e01d[_0x4feba7(0x18d)],'routeKey':_0x43e01d['routeKey'],'leaveReq':_0x43e01d[_0x4feba7(0x24b)]});default:throw new Error(_0x4feba7(0x3e3));}}var qt=Object[_0x274a5e(0x171)],zt=(_0x2fc10e,_0x35703a,_0x416024,_0x14f4c6)=>{var _0x1a1f3d=_0x274a5e;for(var _0x368015=_0x14f4c6>0x1?void 0x0:_0x14f4c6?qt(_0x35703a,_0x416024):_0x35703a,_0x2a874e=_0x2fc10e[_0x1a1f3d(0x2d6)]-0x1,_0x1085a4;_0x2a874e>=0x0;_0x2a874e--)(_0x1085a4=_0x2fc10e[_0x2a874e])&&(_0x368015=_0x1085a4(_0x368015)||_0x368015);return _0x368015;},_e=(_0x268fcc,_0x451571)=>(_0x190346,_0x2f24b8)=>_0x451571(_0x190346,_0x2f24b8,_0x268fcc);const He=a[_0x274a5e(0x38f)](_0x274a5e(0x356));function Jt(_0x11ad39,_0x5c588c,_0x332f3a){var _0x51c944=_0x274a5e;return _0x11ad39+'/'+_0x5c588c+'/unit/'+_0x332f3a+_0x51c944(0x358);}exports[_0x274a5e(0x32d)]=class extends a[_0x274a5e(0x333)]{constructor(_0x421dc8,_0x1711df,_0x56da61,_0x23bb44,_0x48c4c3){var _0x3adce2=_0x274a5e;super(),this[_0x3adce2(0x267)]=_0x421dc8,this[_0x3adce2(0x15c)]=_0x1711df,this[_0x3adce2(0x317)]=_0x56da61,this['_logService']=_0x23bb44,this['_snapshotServerService']=_0x48c4c3;}['_doCreateSocket'](_0x33b4f3){var _0x3f3d32=_0x274a5e;const _0x3e3294=this[_0x3f3d32(0x267)][_0x3f3d32(0x319)](Y[_0x3f3d32(0x2fe)]);if(!_0x3e3294)throw new Error(_0x3f3d32(0x23d));const _0xc7422=_0x3e3294[_0x3f3d32(0x258)](_0x33b4f3);if(!_0xc7422)throw new Error(_0x3f3d32(0x483));const _0x158dee=new a[(_0x3f3d32(0x349))](),_0x1d6081=new $[(_0x3f3d32(0x42c))]();_0x158dee[_0x3f3d32(0x3bb)](_0xc7422[_0x3f3d32(0x40a)][_0x3f3d32(0x21b)](_0x2306f1=>_0x1d6081[_0x3f3d32(0x226)](_0x2306f1))),_0x158dee['add'](a[_0x3f3d32(0x1ba)](()=>_0x1d6081[_0x3f3d32(0x3a2)]()));const _0x5af73c=new $[(_0x3f3d32(0x42c))]();_0x158dee['add'](_0xc7422[_0x3f3d32(0x2d0)][_0x3f3d32(0x21b)](_0x3ef683=>_0x5af73c[_0x3f3d32(0x226)](_0x3ef683))),_0x158dee['add'](a[_0x3f3d32(0x1ba)](()=>_0x5af73c[_0x3f3d32(0x3a2)]()));const _0x5dcff9=new $[(_0x3f3d32(0x42c))]();_0x158dee['add'](_0xc7422[_0x3f3d32(0x443)][_0x3f3d32(0x21b)](_0x2b426e=>{var _0x5261bf=_0x3f3d32;const _0xdb6091=Ct(_0x2b426e);_0x5dcff9[_0x5261bf(0x226)](_0xdb6091);})),_0x158dee['add'](a['toDisposable'](()=>_0x5dcff9[_0x3f3d32(0x3a2)]()));let _0x4b9f6b;const _0x39d3fa=()=>{var _0x5e508=_0x3f3d32;_0x5af73c['next'](new Event(_0x5e508(0x200))),_0x1d6081[_0x5e508(0x226)](new Event(_0x5e508(0x200))),_0x4b9f6b[_0x5e508(0x28e)]();};return _0x4b9f6b={'memberID':'','close$':_0x1d6081['asObservable'](),'error$':_0x5af73c['asObservable'](),'open$':_0xc7422[_0x3f3d32(0x412)],'message$':_0x5dcff9[_0x3f3d32(0x21d)](),'send':_0x25a280=>{var _0x34474f=_0x3f3d32;if(_0x25a280[_0x34474f(0x18d)]===W[_0x34474f(0x47f)]){if(_0x25a280[_0x34474f(0x24b)][_0x34474f(0x273)]===I[_0x34474f(0x197)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4b9f6b,_0x25a280[_0x34474f(0x24b)])['catch'](_0x5ea840=>{var _0xa5b981=_0x34474f;this[_0xa5b981(0x2e3)][_0xa5b981(0x3c7)](_0x5ea840),_0x39d3fa();});return;}if(_0x25a280['data']['eventID']===I[_0x34474f(0x197)]['FETCH_MISSING']){const _0x5cf5dc=_0x25a280[_0x34474f(0x24b)];this[_0x34474f(0x128)](_0x5cf5dc)[_0x34474f(0x377)](_0x13c266=>{var _0x57cd9a=_0x34474f;_0x5dcff9[_0x57cd9a(0x226)]({'cmd':W[_0x57cd9a(0x3d0)],'code':oe['OK'],'routeKey':_0x5cf5dc[_0x57cd9a(0x24b)][_0x57cd9a(0x3d4)],'routeType':'','data':{'eventID':I[_0x57cd9a(0x197)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x13c266}}});})[_0x34474f(0x3e5)](_0x236146=>{var _0x38f480=_0x34474f;this[_0x38f480(0x2e3)]['error'](_0x236146),_0x39d3fa();});return;}}_0xc7422[_0x34474f(0x1ef)](Tt(_0x25a280));},'close':()=>{var _0x136ef1=_0x3f3d32;_0xc7422['close'](),_0x158dee[_0x136ef1(0x393)]();}},_0x4b9f6b;}async['_submitChangeset'](_0x1399af,_0x57d750){var _0x1226c7=_0x274a5e,_0x1c148d,_0x5790df;const {unitType:_0x4f06bb,unitID:_0x35ccef,changeset:_0xffe94b}=_0x57d750[_0x1226c7(0x24b)],_0x188df9={'unitID':_0x35ccef,'memberID':_0x1399af[_0x1226c7(0x244)],'type':_0x4f06bb,'changeset':I[_0x1226c7(0x2df)](_0xffe94b)},_0x5b9cea=this[_0x1226c7(0x317)][_0x1226c7(0x16d)](pt),_0x3aebdb=this[_0x1226c7(0x317)][_0x1226c7(0x16d)](K),_0x37359d=Jt((_0x5790df=(_0x1c148d=_0x3aebdb==null?void 0x0:_0x3aebdb[_0x1226c7(0x292)])!=null?_0x1c148d:_0x5b9cea)!=null?_0x5790df:Vt,_0x4f06bb,_0x35ccef);try{await this[_0x1226c7(0x15c)][_0x1226c7(0x469)](_0x37359d,{'body':_0x188df9});}catch(_0x4fa6d2){throw this[_0x1226c7(0x2e3)][_0x1226c7(0x3c7)]('[CollaborationSession]',_0x1226c7(0x11f)),_0x4fa6d2;}}async['_fetchMissChangesets'](_0x3ad4f1){var _0x3c5a2b=_0x274a5e;const {unitID:_0xcc9108,from:_0x2ea23e,to:_0x3380e8,unitType:_0x383e71}=_0x3ad4f1[_0x3c5a2b(0x24b)];return(await this['_snapshotServerService'][_0x3c5a2b(0x47c)]({'metadata':void 0x0},{'unitID':_0xcc9108,'type':_0x383e71,'from':_0x2ea23e,'to':_0x3380e8}))[_0x3c5a2b(0x28a)];}},exports[_0x274a5e(0x32d)]=zt([_e(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),_e(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)])),_e(0x2,a[_0x274a5e(0x120)]),_e(0x3,a[_0x274a5e(0x45a)]),_e(0x4,I['ISnapshotServerService'])],exports[_0x274a5e(0x32d)]);const Xt=_0x274a5e(0x1e5);function Zt(_0x825db5){var _0x1681c6=_0x274a5e;return JSON['stringify'](_0x825db5)[_0x1681c6(0x2d6)];}class $e{constructor(){var _0x4a613c=_0x274a5e;A(this,_0x4a613c(0x3c9),new $['Subject']()),A(this,_0x4a613c(0x2c7),this[_0x4a613c(0x3c9)][_0x4a613c(0x21d)]());}[_0x274a5e(0x3c0)](_0x2f44ea){var _0x5c0542=_0x274a5e;this[_0x5c0542(0x3c9)][_0x5c0542(0x226)](_0x2f44ea);}}var Qt=Object[_0x274a5e(0x171)],ei=(_0x4f8394,_0x2b6c97,_0x580f78,_0x4c1291)=>{var _0x5a452a=_0x274a5e;for(var _0x2ae2de=_0x4c1291>0x1?void 0x0:_0x4c1291?Qt(_0x2b6c97,_0x580f78):_0x2b6c97,_0x4a5f82=_0x4f8394[_0x5a452a(0x2d6)]-0x1,_0x3394a7;_0x4a5f82>=0x0;_0x4a5f82--)(_0x3394a7=_0x4f8394[_0x4a5f82])&&(_0x2ae2de=_0x3394a7(_0x2ae2de)||_0x2ae2de);return _0x2ae2de;},We=(_0x36f1f5,_0x284f64)=>(_0x450520,_0x172544)=>_0x284f64(_0x450520,_0x172544,_0x36f1f5);exports[_0x274a5e(0x436)]=class extends a['Disposable']{constructor(_0x368560,_0x16f997){var _0x5dff3e=_0x274a5e;super(),A(this,_0x5dff3e(0x466),new Map()),A(this,_0x5dff3e(0x3e1),new $[(_0x5dff3e(0x42c))]()),(this[_0x5dff3e(0x3eb)]=_0x368560,this[_0x5dff3e(0x341)]=_0x16f997,this[_0x5dff3e(0x36d)]($[_0x5dff3e(0x344)](this[_0x5dff3e(0x3eb)]['getTypeOfUnitDisposed$'](a[_0x5dff3e(0x2a7)][_0x5dff3e(0x2ad)])['pipe'](V['map'](_0x2077fa=>_0x2077fa['getUnitId']())),this['_univerInstanceService'][_0x5dff3e(0x117)](a[_0x5dff3e(0x2a7)]['UNIVER_DOC'])[_0x5dff3e(0x2c6)](V[_0x5dff3e(0x1e6)](_0x468061=>_0x468061[_0x5dff3e(0x398)]())),this[_0x5dff3e(0x3eb)][_0x5dff3e(0x117)](a[_0x5dff3e(0x2a7)]['UNIVER_SLIDE'])['pipe'](V['map'](_0x4c31d8=>_0x4c31d8[_0x5dff3e(0x398)]())))[_0x5dff3e(0x21b)](_0x505226=>this[_0x5dff3e(0x231)](_0x505226))));}[_0x274a5e(0x280)](_0x389c89){var _0x2e8bcf=_0x274a5e;return this[_0x2e8bcf(0x466)][_0x2e8bcf(0x2b0)](_0x389c89)?$['of'](this[_0x2e8bcf(0x466)][_0x2e8bcf(0x319)](_0x389c89)):this['_roomCreated$'][_0x2e8bcf(0x2c6)](V[_0x2e8bcf(0x1e6)](_0x4c75c4=>{var _0x40dddc=_0x2e8bcf;if(_0x4c75c4===_0x389c89)return this['_roomMembers'][_0x40dddc(0x319)](_0x4c75c4);}));}[_0x274a5e(0x406)](_0x33fda1){var _0x359f78=_0x274a5e;this[_0x359f78(0x341)]['setCurrentUser'](_0x33fda1);}[_0x274a5e(0x33f)](){var _0x3ae6a1=_0x274a5e;return this[_0x3ae6a1(0x341)][_0x3ae6a1(0x33f)]();}[_0x274a5e(0x371)](_0x19f9a6,_0x2931d7){var _0x4172ea=_0x274a5e;let _0x534192=this[_0x4172ea(0x466)][_0x4172ea(0x319)](_0x19f9a6);_0x534192||(_0x534192=new ti(),this[_0x4172ea(0x466)][_0x4172ea(0x404)](_0x19f9a6,_0x534192),this[_0x4172ea(0x3e1)][_0x4172ea(0x226)](_0x19f9a6)),_0x534192['updateMember'](_0x2931d7);}[_0x274a5e(0x225)](_0x2335c0,_0x30736d){var _0x89939e=_0x274a5e;const _0x2588f0=this[_0x89939e(0x466)][_0x89939e(0x319)](_0x2335c0);_0x2588f0&&_0x2588f0[_0x89939e(0x225)](_0x30736d);}['getRoom'](_0x2b1c04){var _0x498e15=_0x274a5e;return this[_0x498e15(0x466)][_0x498e15(0x319)](_0x2b1c04);}[_0x274a5e(0x320)](_0xfa0885,_0x2004a5){var _0x2b31f6=_0x274a5e;const _0x29f0a7=this[_0x2b31f6(0x466)][_0x2b31f6(0x319)](_0xfa0885);if(_0x29f0a7)return _0x29f0a7['getMember'](_0x2004a5);}['_removeRoom'](_0x69b8ca){var _0x42258f=_0x274a5e;const _0x344d29=this[_0x42258f(0x466)][_0x42258f(0x319)](_0x69b8ca);_0x344d29&&(_0x344d29[_0x42258f(0x393)](),this[_0x42258f(0x466)][_0x42258f(0x47b)](_0x69b8ca));}[_0x274a5e(0x393)](){var _0x339b1c=_0x274a5e;this[_0x339b1c(0x466)][_0x339b1c(0x442)](_0x3acfee=>_0x3acfee[_0x339b1c(0x393)]()),this[_0x339b1c(0x466)][_0x339b1c(0x293)](),this[_0x339b1c(0x3e1)][_0x339b1c(0x3a2)]();}},exports['MemberService']=ei([We(0x0,a[_0x274a5e(0x3cf)]),We(0x1,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x12a)]))],exports[_0x274a5e(0x436)]);class ti extends a[_0x274a5e(0x333)]{constructor(){var _0x1c8787=_0x274a5e;super(...arguments),A(this,_0x1c8787(0x342),new Map()),A(this,'_members$',new $['BehaviorSubject'](this['_members'])),A(this,_0x1c8787(0x261),this[_0x1c8787(0x141)]['asObservable']());}[_0x274a5e(0x393)](){var _0x362a9e=_0x274a5e;this['_members'][_0x362a9e(0x293)]();}[_0x274a5e(0x371)](_0x1e1292){var _0x211080=_0x274a5e;this[_0x211080(0x342)][_0x211080(0x404)](_0x1e1292[_0x211080(0x244)],_0x1e1292),this['_emitMembers']();}[_0x274a5e(0x225)](_0x26bf42){var _0x3dff8c=_0x274a5e;this[_0x3dff8c(0x342)][_0x3dff8c(0x47b)](_0x26bf42);}[_0x274a5e(0x320)](_0x31a55e){var _0x10a237=_0x274a5e;return this[_0x10a237(0x342)][_0x10a237(0x319)](_0x31a55e);}[_0x274a5e(0x270)](){var _0x14aa61=_0x274a5e;return Array[_0x14aa61(0x1b9)](this[_0x14aa61(0x342)]['values']());}[_0x274a5e(0x178)](){var _0x2044ad=_0x274a5e;this[_0x2044ad(0x141)][_0x2044ad(0x226)](this['_members']);}}var ii=Object[_0x274a5e(0x171)],ni=(_0x3a103d,_0x993627,_0x332510,_0x30f7c4)=>{var _0x282f60=_0x274a5e;for(var _0x3891bd=_0x30f7c4>0x1?void 0x0:_0x30f7c4?ii(_0x993627,_0x332510):_0x993627,_0x242e82=_0x3a103d[_0x282f60(0x2d6)]-0x1,_0x155ab8;_0x242e82>=0x0;_0x242e82--)(_0x155ab8=_0x3a103d[_0x242e82])&&(_0x3891bd=_0x155ab8(_0x3891bd)||_0x3891bd);return _0x3891bd;},se=(_0x2024e1,_0x1cbe51)=>(_0x5c85b4,_0x55723c)=>_0x1cbe51(_0x5c85b4,_0x55723c,_0x2024e1),re=(_0x302915=>(_0x302915[_0x302915[_0x274a5e(0x3e7)]=0x0]=_0x274a5e(0x3e7),_0x302915[_0x302915['JOINING']=0x1]=_0x274a5e(0x202),_0x302915[_0x302915[_0x274a5e(0x275)]=0x2]=_0x274a5e(0x275),_0x302915[_0x302915[_0x274a5e(0x127)]=0x3]=_0x274a5e(0x127),_0x302915))(re||{});const Ge={[oe[_0x274a5e(0x346)]]:'session.join-failed',[oe[_0x274a5e(0x411)]]:_0x274a5e(0x15b),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x274a5e(0x473),[oe[_0x274a5e(0x301)]]:_0x274a5e(0x248),[oe[_0x274a5e(0x3e9)]]:_0x274a5e(0x113)};exports[_0x274a5e(0x445)]=class extends a[_0x274a5e(0x162)]{constructor(_0x1c615f,_0xf46c5,_0xfd3845,_0x5e2f03,_0x56c977,_0x5f4edf,_0xf2cf06,_0x1e0d16,_0x5b02ff){var _0xecf2e1=_0x274a5e;super(),A(this,_0xecf2e1(0x3bf),new $[(_0xecf2e1(0x1f3))](0x0)),A(this,'sessionStatus$',this[_0xecf2e1(0x3bf)]['asObservable']()),A(this,_0xecf2e1(0x119),new $[(_0xecf2e1(0x42c))]()),A(this,_0xecf2e1(0x11a),this['_event$'][_0xecf2e1(0x21d)]()),A(this,'_socket'),A(this,_0xecf2e1(0x35a)),A(this,_0xecf2e1(0x255)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0xecf2e1(0x32b),null),(this[_0xecf2e1(0x463)]=_0x1c615f,this['_logService']=_0xfd3845,this[_0xecf2e1(0x317)]=_0x5e2f03,this['_localeService']=_0x56c977,this[_0xecf2e1(0x41f)]=_0x5f4edf,this[_0xecf2e1(0x414)]=_0xf2cf06,this['_collaborationUIEventService']=_0x1e0d16,this[_0xecf2e1(0x3f2)]=_0x5b02ff,this[_0xecf2e1(0x362)]=!!this[_0xecf2e1(0x3f2)],_0xf46c5[_0xecf2e1(0x2c6)]($[_0xecf2e1(0x482)](this[_0xecf2e1(0x149)]))[_0xecf2e1(0x21b)](_0x577ee3=>{var _0x212fd5=_0xecf2e1,_0x3252a1;typeof _0x577ee3>'u'||(this[_0x212fd5(0x18a)]=_0x577ee3,_0x577ee3?(this[_0x212fd5(0x1fa)](_0x577ee3),this[_0x212fd5(0x35a)]=_0x577ee3[_0x212fd5(0x443)][_0x212fd5(0x21b)](_0x267cfe=>{var _0x17e7ba=_0x212fd5;_0x267cfe['routeKey']===this[_0x17e7ba(0x463)]&&this['_onCombEvent'](_0x267cfe);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x212fd5(0x3bf)][_0x212fd5(0x226)](0x2),(_0x3252a1=this[_0x212fd5(0x35a)])==null||_0x3252a1[_0x212fd5(0x150)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x4c5322=_0x274a5e;return this['_sessionStatus$'][_0x4c5322(0x272)]();}[_0x274a5e(0x1da)](){var _0x3667d4=_0x274a5e,_0x28717f,_0x4efb08;return(_0x4efb08=(_0x28717f=this[_0x3667d4(0x18a)])==null?void 0x0:_0x28717f['memberID'])!=null?_0x4efb08:null;}[_0x274a5e(0x393)](){var _0xebd038=_0x274a5e;super[_0xebd038(0x393)](),this[_0xebd038(0x149)][_0xebd038(0x226)](),this[_0xebd038(0x149)][_0xebd038(0x3a2)]();}[_0x274a5e(0x28e)](){var _0x5842de=_0x274a5e,_0x49a49d,_0x444bf6;this[_0x5842de(0x2b3)](),(_0x49a49d=this[_0x5842de(0x18a)])==null||_0x49a49d[_0x5842de(0x1ef)]({'cmd':W[_0x5842de(0x1bc)],'data':{'roomID':this[_0x5842de(0x463)]}}),(_0x444bf6=this[_0x5842de(0x18a)])==null||_0x444bf6[_0x5842de(0x28e)](),this[_0x5842de(0x119)][_0x5842de(0x3a2)](),this[_0x5842de(0x3bf)][_0x5842de(0x3a2)](),this[_0x5842de(0x393)]();}[_0x274a5e(0x3d9)](_0x3c4ed8){var _0x31dd4d=_0x274a5e;_0x3c4ed8[_0x31dd4d(0x18d)]===W[_0x31dd4d(0x15a)]?this[_0x31dd4d(0x27d)](_0x3c4ed8):_0x3c4ed8[_0x31dd4d(0x18d)]===W[_0x31dd4d(0x3d0)]&&this[_0x31dd4d(0x32e)](_0x3c4ed8);}[_0x274a5e(0x1fa)](_0x23678a){var _0x14f766=_0x274a5e;this[_0x14f766(0x3bf)][_0x14f766(0x226)](0x1),_0x23678a['send']({'cmd':W[_0x14f766(0x15a)],'routeKey':this[_0x14f766(0x463)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14f766(0x463)]}]}});}['_onJoinRoomEvent'](_0x37c065){var _0x45bdb6=_0x274a5e,_0xd67fb4;if(_0x37c065[_0x45bdb6(0x1a8)]in Ge){this[_0x45bdb6(0x1f4)][_0x45bdb6(0x34b)]({'id':Z[_0x45bdb6(0x189)],'data':Ge[_0x37c065['code']]}),this[_0x45bdb6(0x3bf)][_0x45bdb6(0x226)](0x2);return;}this[_0x45bdb6(0x3bf)]['next'](0x3);const _0x1fd9da=(_0xd67fb4=_0x37c065[_0x45bdb6(0x24b)][_0x45bdb6(0x1d7)][this[_0x45bdb6(0x463)]])==null?void 0x0:_0xd67fb4[_0x45bdb6(0x26a)];_0x1fd9da&&_0x1fd9da[_0x45bdb6(0x442)](_0x31485d=>this[_0x45bdb6(0x41f)][_0x45bdb6(0x371)](this[_0x45bdb6(0x463)],_0x31485d));}[_0x274a5e(0x32e)](_0x5d4a74){var _0x34a331=_0x274a5e;try{const _0xc9c279=_0x5d4a74['data'];switch(_0xc9c279[_0x34a331(0x273)]){case I[_0x34a331(0x197)][_0x34a331(0x367)]:this['_onUserJoin'](_0xc9c279),this[_0x34a331(0x119)][_0x34a331(0x226)](_0xc9c279);break;case I[_0x34a331(0x197)][_0x34a331(0x423)]:this[_0x34a331(0x383)](_0xc9c279),this[_0x34a331(0x119)][_0x34a331(0x226)](_0xc9c279);break;case I[_0x34a331(0x197)]['CHANGESET_ACK']:case I['CollaborationEvent'][_0x34a331(0x236)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x34a331(0x226)](_0xc9c279);break;case I[_0x34a331(0x197)][_0x34a331(0x203)]:this['_logService'][_0x34a331(0x3c7)](_0x34a331(0x2b7)+JSON['stringify'](_0xc9c279)),this[_0x34a331(0x119)]['next'](_0xc9c279);break;case I['CollaborationEvent'][_0x34a331(0x305)]:this['_commentService'][_0x34a331(0x3c0)](_0xc9c279[_0x34a331(0x24b)]),this['_event$'][_0x34a331(0x226)](_0xc9c279);break;default:this[_0x34a331(0x119)][_0x34a331(0x226)](_0xc9c279);}}catch(_0x5031b5){this[_0x34a331(0x2e3)]['error'](_0x5031b5,_0x5d4a74);}}[_0x274a5e(0x2bd)](_0x5b2187){var _0x34decd=_0x274a5e;this[_0x34decd(0x41f)]['updateMember'](this[_0x34decd(0x463)],_0x5b2187[_0x34decd(0x24b)]);}[_0x274a5e(0x383)](_0x20ce22){var _0x597f63=_0x274a5e;this['_memberService'][_0x597f63(0x225)](this['_unitID'],_0x20ce22[_0x597f63(0x24b)][_0x597f63(0x244)]);}async[_0x274a5e(0x1ef)](_0x271dfb,_0x4af8bb){var _0x4a5b3e=_0x274a5e;if(this[_0x4a5b3e(0x1ca)]!==0x3||!this['_socket'])throw new Error(_0x4a5b3e(0x18b));try{_0x271dfb[_0x4a5b3e(0x273)]===I['CollaborationEvent'][_0x4a5b3e(0x1fc)]&&(this[_0x4a5b3e(0x170)](),this[_0x4a5b3e(0x489)](_0x271dfb)),this[_0x4a5b3e(0x18a)]['send']({'cmd':W[_0x4a5b3e(0x47f)],'routeKey':_0x4af8bb,'routeType':'','data':_0x271dfb});}catch(_0x5318d5){this[_0x4a5b3e(0x2e3)]['error'](_0x5318d5);}}['_scheduleCollaborationTimeoutTimer'](){var _0x42df7c=_0x274a5e,_0x345e37;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x28b7bc=_0x3799;this[_0x28b7bc(0x255)]=null,this[_0x28b7bc(0x1f4)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x345e37=this[_0x42df7c(0x317)]['getConfig'](ke))!=null?_0x345e37:St);}['_clearCollaborationTimeoutTimer'](){var _0x1167ac=_0x274a5e;this[_0x1167ac(0x255)]&&(clearTimeout(this[_0x1167ac(0x255)]),this[_0x1167ac(0x255)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5a26dc){var _0x52ca00=_0x274a5e;if(!this['_shouldReportTelemetry'])return;const {data:_0x7b7f2f}=_0x5a26dc,{unitID:_0xab318a,changeset:_0x588db2}=_0x7b7f2f,{mutations:_0x4e05a3,type:_0x39c1b9}=_0x588db2;this['_telemetryInfo']={'unitId':_0xab318a,'type':_0x39c1b9,'startTime':performance[_0x52ca00(0x300)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x4e05a3)};}[_0x274a5e(0x16c)](){var _0x3771ec=_0x274a5e;if(this['_shouldReportTelemetry']){if(!this[_0x3771ec(0x32b)]){this[_0x3771ec(0x2e3)]['error'](_0x3771ec(0x168),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3771ec(0x32b)]['stopTime']=performance[_0x3771ec(0x300)](),this[_0x3771ec(0x32b)][_0x3771ec(0x41d)]=this[_0x3771ec(0x32b)][_0x3771ec(0x3c5)]-this['_telemetryInfo']['startTime'],this[_0x3771ec(0x3f2)]['capture'](Xt,this[_0x3771ec(0x32b)]),this[_0x3771ec(0x32b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4773da=_0x274a5e;this[_0x4773da(0x32b)]=null;}},exports[_0x274a5e(0x445)]=ni([se(0x2,a[_0x274a5e(0x45a)]),se(0x3,a[_0x274a5e(0x120)]),se(0x4,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),se(0x5,a[_0x274a5e(0x2bc)](exports['MemberService'])),se(0x6,a[_0x274a5e(0x2bc)]($e)),se(0x7,a[_0x274a5e(0x2bc)](ee)),se(0x8,a[_0x274a5e(0x43b)](Pt[_0x274a5e(0x3fe)]))],exports['CollaborationSession']);var ri=Object['getOwnPropertyDescriptor'],si=(_0x30f87a,_0x1b02cd,_0x1c33d5,_0x27a2e1)=>{var _0x34be09=_0x274a5e;for(var _0x3f27d=_0x27a2e1>0x1?void 0x0:_0x27a2e1?ri(_0x1b02cd,_0x1c33d5):_0x1b02cd,_0x2fcc59=_0x30f87a[_0x34be09(0x2d6)]-0x1,_0x1cb63a;_0x2fcc59>=0x0;_0x2fcc59--)(_0x1cb63a=_0x30f87a[_0x2fcc59])&&(_0x3f27d=_0x1cb63a(_0x3f27d)||_0x3f27d);return _0x3f27d;},he=(_0x5bcbaf,_0x23c1a5)=>(_0x41d774,_0x3f2871)=>_0x23c1a5(_0x41d774,_0x3f2871,_0x5bcbaf);exports['CollaborationSessionService']=class extends a[_0x274a5e(0x333)]{constructor(_0xd643d5,_0x2ca093,_0x43a925,_0x10df8,_0x265bdb,_0x49d075){var _0x33578c=_0x274a5e;super(),A(this,_0x33578c(0x122),new $[(_0x33578c(0x1f3))](void 0x0)),A(this,'socket$',this[_0x33578c(0x122)][_0x33578c(0x21d)]()),A(this,_0x33578c(0x2de),null),A(this,_0x33578c(0x408),new Map()),A(this,'_status$',new $['BehaviorSubject'](re[_0x33578c(0x3e7)])),A(this,_0x33578c(0x30b),this[_0x33578c(0x3c6)]['asObservable']()),A(this,'_socketReady',!0x1),A(this,_0x33578c(0x30e)),A(this,_0x33578c(0x480),0x0),A(this,_0x33578c(0x36c)),A(this,'_timeoutTimer'),(this[_0x33578c(0x267)]=_0xd643d5,this[_0x33578c(0x2e3)]=_0x2ca093,this['_configService']=_0x43a925,this['_socketService']=_0x10df8,this['_collaborationUIEventService']=_0x265bdb,this[_0x33578c(0x1be)]=_0x49d075,this['_listenToNetworkCondition']());}get['_socket'](){var _0x5550ca=_0x274a5e;return this[_0x5550ca(0x122)][_0x5550ca(0x272)]();}[_0x274a5e(0x298)](){var _0x2b4fa0=_0x274a5e;this[_0x2b4fa0(0x1be)]&&this[_0x2b4fa0(0x36d)](this['_networkConditionService'][_0x2b4fa0(0x287)][_0x2b4fa0(0x21b)](_0x3f8569=>{var _0x27ceb6=_0x2b4fa0;_0x3f8569&&!this[_0x27ceb6(0x18a)]&&this[_0x27ceb6(0x457)](),_0x3f8569||this[_0x27ceb6(0x2e6)]();}));}[_0x274a5e(0x393)](){var _0x55beaa=_0x274a5e;super[_0x55beaa(0x393)](),this['_clearRetryConnectingTimer'](),this[_0x55beaa(0x15d)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x55beaa(0x442)](_0x1f6499=>_0x1f6499['dispose']()),this[_0x55beaa(0x408)][_0x55beaa(0x293)](),this[_0x55beaa(0x3c6)][_0x55beaa(0x3a2)]();}async[_0x274a5e(0x1f8)](_0x52ccdf){var _0x27491c=_0x274a5e;if(this[_0x27491c(0x408)]['has'](_0x52ccdf))return this[_0x27491c(0x408)][_0x27491c(0x319)](_0x52ccdf);this[_0x27491c(0x387)]();const _0x3067bf=this[_0x27491c(0x267)][_0x27491c(0x485)](exports[_0x27491c(0x445)],_0x52ccdf,this[_0x27491c(0x122)][_0x27491c(0x21d)]());return this[_0x27491c(0x408)]['set'](_0x52ccdf,_0x3067bf),_0x3067bf;}['closeSession'](_0x533f54){var _0x2d8b0e=_0x274a5e,_0x3fdfef;const _0x8a9aec=this[_0x2d8b0e(0x408)]['get'](_0x533f54);_0x8a9aec&&(this['_sessions'][_0x2d8b0e(0x47b)](_0x533f54),_0x8a9aec['close']()),this[_0x2d8b0e(0x408)][_0x2d8b0e(0x479)]||(_0x3fdfef=this[_0x2d8b0e(0x18a)])==null||_0x3fdfef[_0x2d8b0e(0x28e)]();}[_0x274a5e(0x457)](){var _0x3d06d3=_0x274a5e;this[_0x3d06d3(0x480)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x274a5e(0x31f)](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x274a5e(0x25b)](){var _0x2a2c4d=_0x274a5e,_0x20eb5c,_0x266504;const _0x4e3e8c=this['_configService'][_0x2a2c4d(0x16d)](ut),_0x212931=this['_configService'][_0x2a2c4d(0x16d)](K),_0x267e3d=(_0x266504=(_0x20eb5c=_0x212931==null?void 0x0:_0x212931[_0x2a2c4d(0x2b5)])!=null?_0x20eb5c:_0x4e3e8c)!=null?_0x266504:dt,_0x32286b=await this[_0x2a2c4d(0x1e3)][_0x2a2c4d(0x258)](_0x267e3d);return this[_0x2a2c4d(0x2de)]=_0x32286b,_0x32286b;}async[_0x274a5e(0x387)](){var _0x401805=_0x274a5e,_0x1b5a3a,_0x47701f;try{const _0x2205da=(_0x47701f=(_0x1b5a3a=this[_0x401805(0x18a)])!=null?_0x1b5a3a:this[_0x401805(0x2de)])!=null?_0x47701f:await this['_createSocket']();if(_0x2205da){const _0x3720db=_0x2205da['send'];_0x2205da[_0x401805(0x1ef)]=_0x6b9b4d=>(this[_0x401805(0x38d)](),_0x3720db[_0x401805(0x175)](_0x2205da,[_0x6b9b4d])),_0x2205da[_0x401805(0x443)][_0x401805(0x21b)](_0x220640=>this['_onMessage'](_0x2205da,_0x220640)),_0x2205da['error$']['pipe'](V[_0x401805(0x34a)](0x1))[_0x401805(0x21b)](_0xd90672=>this[_0x401805(0x2e3)]['error'](_0x401805(0x1de),_0xd90672)),_0x2205da[_0x401805(0x412)][_0x401805(0x2c6)](V[_0x401805(0x34a)](0x1))[_0x401805(0x21b)](()=>{var _0x2ea99d=_0x401805;this[_0x2ea99d(0x461)](_0x2205da);}),_0x2205da[_0x401805(0x40a)]['pipe'](V[_0x401805(0x34a)](0x1))[_0x401805(0x21b)](_0x3cc4c1=>{var _0x4048a7=_0x401805;this[_0x4048a7(0x2e3)][_0x4048a7(0x429)]('[CollaborationSessionService]',_0x4048a7(0x35f),_0x3cc4c1),this[_0x4048a7(0x350)]();});}}catch(_0x1b3008){this['_logService']['error'](_0x1b3008),this[_0x401805(0x350)]();}}[_0x274a5e(0x461)](_0x359159){var _0x15ef6b=_0x274a5e;this['_logService'][_0x15ef6b(0x429)](_0x15ef6b(0x165),'socket\x20open.'),_0x359159['send']({'cmd':W['HELLO']}),this[_0x15ef6b(0x38d)]();}['_onOffline'](){var _0x40af9c=_0x274a5e;this[_0x40af9c(0x184)]=!0x1,this[_0x40af9c(0x2de)]=null,this['_status$'][_0x40af9c(0x226)](re[_0x40af9c(0x275)]),this[_0x40af9c(0x122)][_0x40af9c(0x226)](null),this['_clearTimeoutTimer'](),this[_0x40af9c(0x22d)]();}['_onConnectionFailed'](){var _0x1660e2=_0x274a5e,_0x9a94a7;this[_0x1660e2(0x2e6)](),this[_0x1660e2(0x480)]<((_0x9a94a7=this[_0x1660e2(0x317)][_0x1660e2(0x16d)](ft))!=null?_0x9a94a7:jt)?(this[_0x1660e2(0x1f4)]['emitEvent']({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x1660e2(0x186)]()):this[_0x1660e2(0x1f4)][_0x1660e2(0x34b)]({'id':Z[_0x1660e2(0x348)]});}[_0x274a5e(0x186)](){var _0x1e5427=_0x274a5e,_0x2306d5;const _0xcbb86=this[_0x1e5427(0x480)],_0x5dc974=this[_0x1e5427(0x317)]['getConfig'](K),_0x7abe6e=_0xcbb86===0x0?0x0:((_0x2306d5=_0x5dc974==null?void 0x0:_0x5dc974[_0x1e5427(0x220)])!=null?_0x2306d5:$t)*0x2**_0xcbb86;this[_0x1e5427(0x30e)]=setTimeout(()=>{var _0x8963d6=_0x1e5427;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x8963d6(0x387)]();},_0x7abe6e),this[_0x1e5427(0x480)]+=0x1;}[_0x274a5e(0x303)](_0x5e2c1f,_0x21fc8b){var _0x32f07c=_0x274a5e;const {cmd:_0x830cb1}=_0x21fc8b;_0x830cb1===W[_0x32f07c(0x23a)]&&!this[_0x32f07c(0x184)]&&(_0x5e2c1f[_0x32f07c(0x244)]=_0x21fc8b[_0x32f07c(0x24b)][_0x32f07c(0x244)],this[_0x32f07c(0x122)][_0x32f07c(0x226)](_0x5e2c1f),this[_0x32f07c(0x3c6)][_0x32f07c(0x226)](re[_0x32f07c(0x127)]),this['_socketReady']=!0x0,this[_0x32f07c(0x2de)]=null),_0x830cb1===W['HEARTBEAT']&&this[_0x32f07c(0x15d)](),this['_rescheduleHeartbeat']();}[_0x274a5e(0x38d)](){var _0x116864=_0x274a5e,_0x1bcf10;this['_clearHeartbeatTimer'](),this[_0x116864(0x36c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1bcf10=this[_0x116864(0x317)][_0x116864(0x16d)](vt))!=null?_0x1bcf10:Ht);}['_sendHeartbeat'](){var _0x44e3be=_0x274a5e;this['_socket'][_0x44e3be(0x1ef)]({'cmd':W[_0x44e3be(0x3f8)]}),this['_waitForHeartbeatResponse']();}[_0x274a5e(0x2ef)](){var _0x1e6a73=_0x274a5e,_0x17b695;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x17b695=this[_0x1e6a73(0x317)]['getConfig'](ke))!=null?_0x17b695:St);}[_0x274a5e(0x22d)](){var _0x5ab72a=_0x274a5e;this[_0x5ab72a(0x36c)]!=null&&(clearTimeout(this[_0x5ab72a(0x36c)]),this[_0x5ab72a(0x36c)]=null);}[_0x274a5e(0x15d)](){var _0xd71089=_0x274a5e;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xd71089(0x420)]),this[_0xd71089(0x420)]=null);}},exports[_0x274a5e(0x334)]=si([he(0x0,a['Inject'](a[_0x274a5e(0x166)])),he(0x1,a[_0x274a5e(0x45a)]),he(0x2,a[_0x274a5e(0x120)]),he(0x3,He),he(0x4,a[_0x274a5e(0x2bc)](ee)),he(0x5,a[_0x274a5e(0x43b)](mt))],exports[_0x274a5e(0x334)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x1a7d04){var _0x398afb=_0x274a5e;return _0x398afb(0x14b)+_0x1a7d04;}var ai=Object[_0x274a5e(0x171)],ci=(_0x3d469f,_0x20d57f,_0x287582,_0x306251)=>{var _0x2f86e0=_0x274a5e;for(var _0x286576=_0x306251>0x1?void 0x0:_0x306251?ai(_0x20d57f,_0x287582):_0x20d57f,_0x753802=_0x3d469f[_0x2f86e0(0x2d6)]-0x1,_0x5bfadb;_0x753802>=0x0;_0x753802--)(_0x5bfadb=_0x3d469f[_0x753802])&&(_0x286576=_0x5bfadb(_0x286576)||_0x286576);return _0x286576;},De=(_0x39fd4b,_0x24d90e)=>(_0x5973c8,_0x44476f)=>_0x24d90e(_0x5973c8,_0x44476f,_0x39fd4b);function hi(_0x562454){var _0x3248a6=_0x274a5e;const {unitID:_0xcb685,mutations:_0x1659e4}=_0x562454;return{'unitId':_0xcb685,'subUnitId':_0x1659e4[0x0]['params'][_0x3248a6(0x192)]};}exports[_0x274a5e(0x390)]=class{constructor(_0x5c9bac,_0x1c9093,_0x23c80e){var _0x318505=_0x274a5e;this[_0x318505(0x267)]=_0x5c9bac,this[_0x318505(0x39c)]=_0x1c9093,this[_0x318505(0x3b0)]=_0x23c80e;}[_0x274a5e(0x16e)](_0x5847ac){var _0x43cf4c=_0x274a5e,_0x450813,_0x2fc7c0,_0x1b03dc,_0x5928d2;const _0x866d70=this[_0x43cf4c(0x267)]['get'](X[_0x43cf4c(0x304)]),{unitId:_0x58ca9a,subUnitId:_0x48844d}=hi(_0x5847ac),_0x5131ce=_0x866d70==null?void 0x0:_0x866d70['getWorkbookSelections'](_0x58ca9a)['getCurrentSelections'](),_0x59b8e7=(_0x2fc7c0=(_0x450813=this[_0x43cf4c(0x3b0)][_0x43cf4c(0x3ce)](_0x58ca9a))==null?void 0x0:_0x450813[_0x43cf4c(0x3a8)]())==null?void 0x0:_0x2fc7c0[_0x43cf4c(0x425)]();if(_0x5131ce[_0x43cf4c(0x2d6)]===0x0||!_0x58ca9a||!_0x48844d)return;const _0x37cf90=[{'id':X[_0x43cf4c(0x3e6)]['id'],'params':{'unitId':_0x58ca9a,'subUnitId':_0x59b8e7,'selections':a[_0x43cf4c(0x136)]['deepClone'](_0x5131ce)}}],_0x4ed0ea=this['_transformService'][_0x43cf4c(0x46a)](_0x5847ac,_0x37cf90);if(!I[_0x43cf4c(0x22c)](_0x4ed0ea))throw _0x4ed0ea['error'];const _0x1d09e0=(_0x5928d2=(_0x1b03dc=_0x4ed0ea[_0x43cf4c(0x354)][0x0])==null?void 0x0:_0x1b03dc[_0x43cf4c(0x328)])==null?void 0x0:_0x5928d2['selections'];if(Array[_0x43cf4c(0x19a)](_0x1d09e0)&&_0x1d09e0[_0x43cf4c(0x2d6)]){if(_0x1d09e0[_0x43cf4c(0x2d6)]===_0x37cf90[0x0][_0x43cf4c(0x328)][_0x43cf4c(0x3bc)][_0x43cf4c(0x2d6)]&&_0x1d09e0[_0x43cf4c(0x399)]((_0x5a247e,_0x393e93)=>a[_0x43cf4c(0x12e)]['equals'](_0x5a247e[_0x43cf4c(0x313)],_0x37cf90[0x0][_0x43cf4c(0x328)][_0x43cf4c(0x3bc)][_0x393e93]['range'])))return;this[_0x43cf4c(0x267)]['get'](a[_0x43cf4c(0x449)])[_0x43cf4c(0x3ec)](X[_0x43cf4c(0x3e6)]['id'],{'unitId':_0x58ca9a,'subUnitId':_0x59b8e7,'selections':_0x1d09e0});}}},exports[_0x274a5e(0x390)]=ci([De(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),De(0x1,I[_0x274a5e(0x30c)]),De(0x2,a[_0x274a5e(0x3cf)])],exports[_0x274a5e(0x390)]);const de=a['createIdentifier'](_0x274a5e(0x47a));var je=(_0x2084e6=>(_0x2084e6[_0x2084e6[_0x274a5e(0x315)]=0x0]=_0x274a5e(0x315),_0x2084e6[_0x2084e6[_0x274a5e(0x19b)]=0x1]=_0x274a5e(0x19b),_0x2084e6))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x2b7223,_0x29124d,_0x306f06,_0x418e14,_0xc35268){var _0x2a18ab=_0x274a5e,_0x4ec3fc,_0x1376a5,_0xb483e6,_0x578a06;const _0x5f3ca1=[];for(const _0x30cb10 of _0x2b7223)if(_i[_0x2a18ab(0x2b0)](_0x30cb10['id'])){if(_0x5f3ca1[_0x2a18ab(0x2d6)]>0x0)break;_0x5f3ca1[_0x2a18ab(0x427)](_0x30cb10);break;}else _0x5f3ca1[_0x2a18ab(0x427)](_0x30cb10);const _0x1ffe28=(_0x1376a5=(_0x4ec3fc=_0xc35268['getCurrentUser']())==null?void 0x0:_0x4ec3fc[_0x2a18ab(0x351)])!=null?_0x1376a5:'unknown',_0x1f9d13=(_0x578a06=(_0xb483e6=_0xc35268[_0x2a18ab(0x33f)]())==null?void 0x0:_0xb483e6[_0x2a18ab(0x244)])!=null?_0x578a06:_0x2a18ab(0x3ee);return{'changeset':{'unitID':_0x29124d,'type':I[_0x2a18ab(0x39a)](_0x306f06[_0x2a18ab(0x2e1)](_0x29124d)),'baseRev':_0x418e14[_0x2a18ab(0x389)](_0x29124d),'revision':0x0,'userID':_0x1ffe28,'memberID':_0x1f9d13,'mutations':_0x5f3ca1},'pendingMutations':_0x2b7223['slice'](_0x5f3ca1[_0x2a18ab(0x2d6)])};}function li(_0x2fb8b0,_0xeb5133,_0x3dac78,_0x5263fe,_0x400299){var _0x2b7eac=_0x274a5e,_0x5355a7,_0x23e0b1,_0x205b56,_0x2aae00;const _0x1e0dc7=[_0x2fb8b0[_0x2b7eac(0x2e4)]((_0x2d0f16,_0x256f09)=>{var _0x5246ce=_0x2b7eac,_0x1f7ee6;const {id:_0x3f1299}=_0x2d0f16,{id:_0x448f7b,type:_0x2b1e55}=_0x256f09,_0x75aee9=(_0x1f7ee6=_0x2d0f16['params'])!=null?_0x1f7ee6:{'actions':null},_0x195045=_0x256f09[_0x5246ce(0x328)];if(_0x3f1299&&_0x3f1299!==_0x448f7b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f1299+_0x5246ce(0x183)+_0x448f7b+'.');return{..._0x2d0f16,'id':_0x448f7b,'type':_0x2b1e55,'params':{'unitId':_0x195045[_0x5246ce(0x475)],'textRanges':_0x195045[_0x5246ce(0x1b7)],'actions':a[_0x5246ce(0x223)][_0x5246ce(0x28b)](_0x75aee9[_0x5246ce(0x1cd)],_0x195045['actions'])}};},{})],_0x31591e=(_0x23e0b1=(_0x5355a7=_0x400299[_0x2b7eac(0x33f)]())==null?void 0x0:_0x5355a7['userID'])!=null?_0x23e0b1:_0x2b7eac(0x3ee),_0x408c61=(_0x2aae00=(_0x205b56=_0x400299['getCurrentUser']())==null?void 0x0:_0x205b56['memberID'])!=null?_0x2aae00:_0x2b7eac(0x3ee);return{'changeset':{'unitID':_0xeb5133,'type':I[_0x2b7eac(0x39a)](_0x3dac78[_0x2b7eac(0x2e1)](_0xeb5133)),'baseRev':_0x5263fe[_0x2b7eac(0x389)](_0xeb5133),'revision':0x0,'userID':_0x31591e,'memberID':_0x408c61,'mutations':_0x1e0dc7},'pendingMutations':[]};}function bt(_0x5dc14f,_0x419100){var _0xce57e2=_0x274a5e;const _0x5183de=new $[(_0xce57e2(0x176))](0x1);return setTimeout(()=>_0x5183de[_0xce57e2(0x226)](_0x419100),_0x5dc14f),_0x5183de[_0xce57e2(0x21d)]()['pipe']($[_0xce57e2(0x34a)](0x1));}const ui={'id':X[_0x274a5e(0x2c2)]['id'],'type':a[_0x274a5e(0x169)][_0x274a5e(0x2b1)],'params':{}};var di=Object[_0x274a5e(0x171)],ae=(_0xc26a3c,_0x3768c4,_0x26eddd,_0x586395)=>{var _0x271f57=_0x274a5e;for(var _0x19844f=_0x586395>0x1?void 0x0:_0x586395?di(_0x3768c4,_0x26eddd):_0x3768c4,_0xb76992=_0xc26a3c[_0x271f57(0x2d6)]-0x1,_0x2dda05;_0xb76992>=0x0;_0xb76992--)(_0x2dda05=_0xc26a3c[_0xb76992])&&(_0x19844f=_0x2dda05(_0x19844f)||_0x19844f);return _0x19844f;},w=(_0x8a2b36,_0x23f6ba)=>(_0x105b26,_0x47e1ce)=>_0x23f6ba(_0x105b26,_0x47e1ce,_0x8a2b36),Be=(_0x12e605=>(_0x12e605[_0x274a5e(0x152)]=_0x274a5e(0x266),_0x12e605['SYNCED']=_0x274a5e(0x1b4),_0x12e605['PENDING']='pending',_0x12e605['AWAITING']=_0x274a5e(0x2e8),_0x12e605[_0x274a5e(0x268)]=_0x274a5e(0x43f),_0x12e605['FETCH_MISS']='fetch_missing',_0x12e605[_0x274a5e(0x246)]='conflict',_0x12e605['OFFLINE']=_0x274a5e(0x1a5),_0x12e605))(Be||{});const Rt=0xea60;class ce{constructor(_0x1b066e,_0x28cf7c,_0x3b98e4,_0x45482d,_0x256a9b,_0x4d9e32,_0x4ed09f,_0x10de5d,_0x4e5787){var _0x5a3a1f=_0x274a5e;A(this,_0x5a3a1f(0x385),null),A(this,'_pendingMutations',[]),(this[_0x5a3a1f(0x3d4)]=_0x1b066e,this[_0x5a3a1f(0x432)]=_0x28cf7c,this[_0x5a3a1f(0x3f3)]=_0x256a9b,this['_commandService']=_0x4d9e32,this[_0x5a3a1f(0x44e)]=_0x4ed09f,this[_0x5a3a1f(0x27e)]=_0x10de5d,this['_localCacheService']=_0x4e5787,this[_0x5a3a1f(0x385)]=_0x3b98e4,this['_pendingMutations']=_0x45482d);}[_0x274a5e(0x26f)](_0x38c198){var _0x4e3234=_0x274a5e;const _0x1a2d32=this[_0x4e3234(0x27e)][_0x4e3234(0x389)](this[_0x4e3234(0x3d4)]);return _0x38c198['revision']>_0x1a2d32+0x1?(this[_0x4e3234(0x3f3)]['onMissingChangesets']({'from':_0x1a2d32,'to':_0x38c198[_0x4e3234(0x24c)]-0x1}),!0x0):!0x1;}[_0x274a5e(0x218)](_0x52fbc0){var _0x37e43c=_0x274a5e;this['_undoRedoService'][_0x37e43c(0x34f)](this['unitID'],_0x52fbc0);}['_transformSelections'](_0x38093b){var _0x2fc6c3=_0x274a5e,_0x400605,_0x3ddc06;(_0x3ddc06=(_0x400605=this[_0x2fc6c3(0x3f3)])[_0x2fc6c3(0x294)])==null||_0x3ddc06[_0x2fc6c3(0x369)](_0x400605,_0x38093b);}[_0x274a5e(0x462)](_0x545dfd){var _0xec7f73=_0x274a5e,_0x111510,_0x3f6e74;return(_0x3f6e74=(_0x111510=this[_0xec7f73(0x3f3)])[_0xec7f73(0x441)])==null?void 0x0:_0x3f6e74['call'](_0x111510,_0x545dfd);}[_0x274a5e(0x395)](_0x176449){var _0x32d43e=_0x274a5e,_0x4d96be,_0x59c6ed;return(_0x59c6ed=(_0x4d96be=this[_0x32d43e(0x3f3)])[_0x32d43e(0x18f)])==null?void 0x0:_0x59c6ed['call'](_0x4d96be,_0x176449);}['_transformRemoteChangesetByIMECache'](_0x445605){var _0x5003ff=_0x274a5e,_0x590dc6,_0x3a2eb0,_0x5298bb;return(_0x5298bb=(_0x3a2eb0=(_0x590dc6=this['_handler'])[_0x5003ff(0x174)])==null?void 0x0:_0x3a2eb0['call'](_0x590dc6,_0x445605))!=null?_0x5298bb:_0x445605;}['_transformRemoteChangesetByStateCache'](_0x35dc38){var _0x187bc5=_0x274a5e,_0x26f4f2,_0x258d06,_0x52dc2a;return(_0x52dc2a=(_0x258d06=(_0x26f4f2=this[_0x187bc5(0x3f3)])[_0x187bc5(0x250)])==null?void 0x0:_0x258d06[_0x187bc5(0x369)](_0x26f4f2,_0x35dc38))!=null?_0x52dc2a:_0x35dc38;}[_0x274a5e(0x2f8)](_0x4e714a){var _0x355edd=_0x274a5e,_0x7872f1,_0x48edef;if(this[_0x355edd(0x432)]===J[_0x355edd(0x339)]){const {unitID:_0x2cf3de,mutations:_0x5ac1f7,memberID:_0x186b4c}=_0x4e714a,_0x34b60a=_0x5ac1f7[0x0][_0x355edd(0x328)][_0x355edd(0x1b7)];Array[_0x355edd(0x19a)](_0x34b60a)&&_0x34b60a[_0x355edd(0x2d6)]>0x0&&((_0x48edef=(_0x7872f1=this[_0x355edd(0x3f3)])['onSyncEditingCollabCursor'])==null||_0x48edef[_0x355edd(0x369)](_0x7872f1,{'unitID':_0x2cf3de,'memberID':_0x186b4c,'textRanges':_0x34b60a}));}}[_0x274a5e(0x454)](){var _0xf0e465=_0x274a5e,_0x4e9d1b;(_0x4e9d1b=this[_0xf0e465(0x38a)])==null||_0x4e9d1b[_0xf0e465(0x3ae)](this[_0xf0e465(0x3d4)],this[_0xf0e465(0x432)],this[_0xf0e465(0x385)],this[_0xf0e465(0x138)]);}[_0x274a5e(0x1c7)](){var _0x1e53a1=_0x274a5e;return this[_0x1e53a1(0x27e)][_0x1e53a1(0x389)](this[_0x1e53a1(0x3d4)]);}[_0x274a5e(0x1d0)](){var _0x12114e=_0x274a5e;this[_0x12114e(0x27e)][_0x12114e(0x207)](this[_0x12114e(0x3d4)]);}[_0x274a5e(0x265)](_0x15a4bd){var _0x1654b1=_0x274a5e,_0x2826a9;let _0x1255b9=this[_0x1654b1(0x37a)](_0x15a4bd);_0x1255b9=this[_0x1654b1(0x190)](_0x1255b9);const _0x1121b6=a[_0x1654b1(0x1ea)](_0x1255b9['mutations'],this[_0x1654b1(0x24d)],{'fromCollab':!0x0});if(!_0x1121b6[_0x1654b1(0x259)])throw _0x1121b6[_0x1654b1(0x3c7)]instanceof Error?_0x1121b6[_0x1654b1(0x3c7)]:new Error((_0x2826a9=_0x1121b6['error'])!=null?_0x2826a9:'[CollaborationState]:\x20apply\x20error!');this[_0x1654b1(0x462)](_0x1255b9),this['_transformStateCache'](_0x1255b9),this[_0x1654b1(0x218)](_0x15a4bd),this['_transformSelections'](_0x1255b9),this[_0x1654b1(0x2f8)](_0x1255b9),this[_0x1654b1(0x1d0)]();}}exports[_0x274a5e(0x1b1)]=class extends ce{constructor(_0x145d63,_0x2a0a38,_0x3d123c,_0x2409dd,_0xae82b1,_0x2e4247,_0x3fd69f,_0x344e72,_0x7f2d7c,_0x5bd2a8){var _0x2b965d=_0x274a5e;super(_0x145d63,_0x2a0a38,null,[],_0x3d123c,_0x3fd69f,_0x2e4247,_0x2409dd,_0x5bd2a8),A(this,_0x2b965d(0x2fb),'synced'),(this['_injector']=_0xae82b1,this[_0x2b965d(0x2e3)]=_0x344e72,this[_0x2b965d(0x39c)]=_0x7f2d7c,this[_0x2b965d(0x145)]=_0x5bd2a8);}[_0x274a5e(0x271)](_0x4971f7){var _0x5c9389=_0x274a5e;const _0x52b9a9=this[_0x5c9389(0x267)]['createInstance'](exports[_0x5c9389(0x2c5)],this[_0x5c9389(0x3d4)],this[_0x5c9389(0x432)],[_0x4971f7],this['_handler']);return _0x52b9a9[_0x5c9389(0x25f)](),_0x52b9a9[_0x5c9389(0x454)](),_0x52b9a9;}[_0x274a5e(0x288)](_0x20bdff){var _0x5ea580=_0x274a5e;if(this[_0x5ea580(0x26f)](_0x20bdff))return this[_0x5ea580(0x267)][_0x5ea580(0x485)](exports[_0x5ea580(0x299)],this[_0x5ea580(0x3d4)],this[_0x5ea580(0x432)],null,[],null,[_0x20bdff],this[_0x5ea580(0x3f3)]);try{const _0x8ec200=this[_0x5ea580(0x39c)]['transformMutationsWithChangeset'](_0x20bdff,[ui]);if(I[_0x5ea580(0x22c)](_0x8ec200)){const {c1Prime:_0xaf1e29}=_0x8ec200;return this[_0x5ea580(0x265)](_0xaf1e29),this;}throw _0x8ec200[_0x5ea580(0x3c7)];}catch(_0x579385){return this[_0x5ea580(0x2e3)][_0x5ea580(0x3c7)](_0x579385),this[_0x5ea580(0x13c)](!0x1);}}[_0x274a5e(0x13c)](_0xda6dbf){var _0x1dde64=_0x274a5e;return this[_0x1dde64(0x267)][_0x1dde64(0x485)](exports[_0x1dde64(0x39d)],this[_0x1dde64(0x3d4)],this[_0x1dde64(0x432)],null,[],this['_handler'],_0xda6dbf);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x274a5e(0x241)](){var _0x14fe74=_0x274a5e;throw new Error(_0x14fe74(0x3b7));}['onRemoteRetry'](){return this;}[_0x274a5e(0x465)](){var _0x5ab7c2=_0x274a5e;return this[_0x5ab7c2(0x267)][_0x5ab7c2(0x485)](exports[_0x5ab7c2(0x15e)],this[_0x5ab7c2(0x3d4)],this[_0x5ab7c2(0x432)],null,[],this[_0x5ab7c2(0x3f3)]);}[_0x274a5e(0x381)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x274a5e(0x199)](){var _0x332c61=_0x274a5e;const _0x25133b=this[_0x332c61(0x27e)][_0x332c61(0x389)](this[_0x332c61(0x3d4)]);return this[_0x332c61(0x3f3)][_0x332c61(0x157)]({'from':_0x25133b,'to':0x0}),this['_injector'][_0x332c61(0x485)](exports[_0x332c61(0x299)],this[_0x332c61(0x3d4)],this[_0x332c61(0x432)],null,[],null,[],this[_0x332c61(0x3f3)]);}},exports['SyncedState']=ae([w(0x3,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),w(0x4,a['Inject'](a[_0x274a5e(0x166)])),w(0x5,a[_0x274a5e(0x384)]),w(0x6,a[_0x274a5e(0x449)]),w(0x7,a['ILogService']),w(0x8,I[_0x274a5e(0x30c)]),w(0x9,a['Optional'](q))],exports[_0x274a5e(0x1b1)]),exports[_0x274a5e(0x2c5)]=class extends ce{constructor(_0x5cc4ed,_0x2a2d3a,_0xd90fc7,_0x474843,_0x331520,_0xac1950,_0x44235d,_0x536704,_0x7cbe99,_0x44ffe2,_0x15c2dc,_0x12e40,_0x1086bc,_0x19732d){var _0x1b51ec=_0x274a5e;super(_0x5cc4ed,_0x2a2d3a,null,_0xd90fc7,_0x474843,_0x7cbe99,_0x1086bc,_0xac1950,_0x19732d),A(this,'status','pending'),A(this,_0x1b51ec(0x3b2),null),A(this,_0x1b51ec(0x3e0),null),(this['_injector']=_0x331520,this[_0x1b51ec(0x41f)]=_0x44235d,this[_0x1b51ec(0x2e3)]=_0x536704,this[_0x1b51ec(0x317)]=_0x44ffe2,this['_transformService']=_0x15c2dc,this[_0x1b51ec(0x3eb)]=_0x12e40);}['appendMutation'](_0x24cab2){var _0x401894=_0x274a5e;return this[_0x401894(0x138)][_0x401894(0x427)](_0x24cab2),this[_0x401894(0x454)](),this;}[_0x274a5e(0x288)](_0x4a1877){var _0x327d1f=_0x274a5e;if(this['_checkMissing'](_0x4a1877))return this[_0x327d1f(0x3db)](),this[_0x327d1f(0x267)][_0x327d1f(0x485)](exports['FetchingMissState'],this[_0x327d1f(0x3d4)],this['type'],null,this[_0x327d1f(0x138)],null,[_0x4a1877],this['_handler']);try{const _0x2e5296=this[_0x327d1f(0x39c)][_0x327d1f(0x46a)](_0x4a1877,this[_0x327d1f(0x138)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x2e5296)){const {c1Prime:_0x351296,m2Prime:_0xbcc3d9}=_0x2e5296;this[_0x327d1f(0x265)](_0x351296);const _0x393e72=this[_0x327d1f(0x267)][_0x327d1f(0x485)](exports['PendingState'],this[_0x327d1f(0x3d4)],this[_0x327d1f(0x432)],_0xbcc3d9,this[_0x327d1f(0x3f3)]);this['_clearScheduledTask']();const _0xefe5d1=new Date()['getTime'](),_0x4ec169=this[_0x327d1f(0x3b2)]?Math[_0x327d1f(0x204)](this['_scheduleCompleteTimestamp']-_0xefe5d1,0x0):this[_0x327d1f(0x2d4)]();return _0x393e72[_0x327d1f(0x25f)](_0x4ec169),_0x393e72;}throw _0x2e5296[_0x327d1f(0x3c7)];}catch(_0x432f13){return this[_0x327d1f(0x2e3)][_0x327d1f(0x3c7)](_0x432f13),this[_0x327d1f(0x13c)](!0x1);}}[_0x274a5e(0x2fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x274a5e(0x241)](){var _0x5b0a9c=_0x274a5e;throw new Error(_0x5b0a9c(0x211));}[_0x274a5e(0x1c5)](){return this;}[_0x274a5e(0x465)](){var _0x15a9fb=_0x274a5e;return this['_clearScheduledTask'](),this[_0x15a9fb(0x267)][_0x15a9fb(0x485)](exports[_0x15a9fb(0x15e)],this[_0x15a9fb(0x3d4)],this[_0x15a9fb(0x432)],null,this['_pendingMutations'],this[_0x15a9fb(0x3f3)]);}[_0x274a5e(0x381)](){return this;}['_schedule'](_0x415384){var _0x421b56=_0x274a5e;const _0x3b273c=_0x415384!=null?_0x415384:this['_getSendChangesetTimeout']();this[_0x421b56(0x3b2)]=new Date()['getTime']()+_0x3b273c,this[_0x421b56(0x3e0)]=setTimeout(()=>{var _0x552e58=_0x421b56;this[_0x552e58(0x3db)]();let _0x169b3c=null;switch(this[_0x552e58(0x432)]){case J[_0x552e58(0x2ad)]:{_0x169b3c=Ke(this[_0x552e58(0x138)],this[_0x552e58(0x3d4)],this[_0x552e58(0x3eb)],this[_0x552e58(0x27e)],this[_0x552e58(0x41f)]);break;}case J[_0x552e58(0x339)]:{this[_0x552e58(0x138)][_0x552e58(0x399)](_0x493820=>_0x493820['id']===ht['RichTextEditingMutation']['id'])?_0x169b3c=li(this[_0x552e58(0x138)],this[_0x552e58(0x3d4)],this['_univerInstanceService'],this[_0x552e58(0x27e)],this['_memberService']):_0x169b3c=Ke(this['_pendingMutations'],this['unitID'],this[_0x552e58(0x3eb)],this[_0x552e58(0x27e)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x552e58(0x432)]+_0x552e58(0x40c));}const {changeset:_0x40c1a4,pendingMutations:_0x2008b7}=_0x169b3c;this[_0x552e58(0x3f3)]['onSendChangeset'](_0x40c1a4);const _0x5a7948=_0x2008b7[_0x552e58(0x2d6)]?this[_0x552e58(0x267)][_0x552e58(0x485)](exports[_0x552e58(0x2af)],this[_0x552e58(0x3d4)],this['type'],_0x40c1a4,_0x2008b7,this[_0x552e58(0x3f3)],void 0x0):this[_0x552e58(0x267)][_0x552e58(0x485)](exports['AwaitingState'],this['unitID'],this['type'],_0x40c1a4,this[_0x552e58(0x3f3)]);_0x5a7948[_0x552e58(0x454)](),this['_handler']['onStateChange'](this,_0x5a7948);},_0x3b273c);}[_0x274a5e(0x2d4)](){var _0x638a86=_0x274a5e,_0x55334f;const _0x32dc0c=this['_configService'][_0x638a86(0x16d)](K);return(_0x55334f=_0x32dc0c==null?void 0x0:_0x32dc0c[_0x638a86(0x1dd)])!=null?_0x55334f:xt;}[_0x274a5e(0x3c3)](){var _0x296b60=_0x274a5e;throw new Error(_0x296b60(0x17b));}['_clearScheduledTask'](){var _0x541998=_0x274a5e;this['_sendingTimer']!=null&&(clearTimeout(this[_0x541998(0x3e0)]),this[_0x541998(0x3e0)]=null);}[_0x274a5e(0x13c)](_0x24a9ba){var _0x194503=_0x274a5e;return this[_0x194503(0x3db)](),this[_0x194503(0x267)][_0x194503(0x485)](exports['ConflictState'],this['unitID'],this[_0x194503(0x432)],null,this[_0x194503(0x138)],this[_0x194503(0x3f3)],_0x24a9ba);}},exports[_0x274a5e(0x2c5)]=ae([w(0x4,a[_0x274a5e(0x2bc)](a['Injector'])),w(0x5,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),w(0x6,a[_0x274a5e(0x2bc)](exports[_0x274a5e(0x436)])),w(0x7,a[_0x274a5e(0x45a)]),w(0x8,a[_0x274a5e(0x449)]),w(0x9,a['IConfigService']),w(0xa,I[_0x274a5e(0x30c)]),w(0xb,a[_0x274a5e(0x3cf)]),w(0xc,a[_0x274a5e(0x384)]),w(0xd,a[_0x274a5e(0x43b)](q))],exports['PendingState']),exports[_0x274a5e(0x30d)]=class extends ce{constructor(_0x4ccbdb,_0x370364,_0x57e7b1,_0x3736dc,_0x2d99ff,_0x1a3770,_0x3add57,_0x1d8df9,_0x1ed2b0,_0x3d2280,_0x4c65e5){var _0x1a0a2f=_0x274a5e;super(_0x4ccbdb,_0x370364,_0x57e7b1,[],_0x3736dc,_0x3add57,_0x3d2280,_0x1a3770,_0x4c65e5),A(this,_0x1a0a2f(0x2fb),_0x1a0a2f(0x2e8)),A(this,_0x1a0a2f(0x2f4),0x0),A(this,_0x1a0a2f(0x1bd)),A(this,_0x1a0a2f(0x486)),(this['_injector']=_0x2d99ff,this[_0x1a0a2f(0x2e3)]=_0x1d8df9,this[_0x1a0a2f(0x39c)]=_0x1ed2b0);}[_0x274a5e(0x271)](_0x13efcd){var _0x1c22e1=_0x274a5e;this[_0x1c22e1(0x3db)]();const _0x2b64f5=this[_0x1c22e1(0x267)][_0x1c22e1(0x485)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x1c22e1(0x432)],this['_awaitingChangeset'],[_0x13efcd],this[_0x1c22e1(0x3f3)],this['_resendTimer']);return _0x2b64f5[_0x1c22e1(0x454)](),_0x2b64f5;}[_0x274a5e(0x288)](_0x43dbe8){var _0x765879=_0x274a5e;if(this[_0x765879(0x26f)](_0x43dbe8))return this[_0x765879(0x3db)](),this[_0x765879(0x267)][_0x765879(0x485)](exports[_0x765879(0x299)],this[_0x765879(0x3d4)],this['type'],this['_awaitingChangeset'],[],null,[_0x43dbe8],this[_0x765879(0x3f3)]);try{const _0x33992e=this[_0x765879(0x39c)]['transformChangesets']([_0x43dbe8],[this['_awaitingChangeset']],!0x1);if(I[_0x765879(0x2a3)](_0x33992e)){const {c1Prime:_0x221e7a,c2Prime:_0x685634}=_0x33992e;this['_executeRemoteChangeset'](_0x221e7a[0x0]),_0x685634[0x0][_0x765879(0x402)]=this[_0x765879(0x1c7)](),this[_0x765879(0x3db)]();const _0x217ef5=this[_0x765879(0x267)]['createInstance'](exports[_0x765879(0x30d)],this[_0x765879(0x3d4)],this[_0x765879(0x432)],_0x685634[0x0],this['_handler']);return _0x217ef5[_0x765879(0x454)](),_0x217ef5;}return this[_0x765879(0x13c)](!0x1);}catch(_0x12171c){return this[_0x765879(0x2e3)][_0x765879(0x3c7)](_0x12171c),this[_0x765879(0x13c)](!0x1);}}[_0x274a5e(0x2fc)](_0x10ec14){var _0xaec11=_0x274a5e;this[_0xaec11(0x3db)]();const _0x17091c=this[_0xaec11(0x27e)][_0xaec11(0x389)](this['unitID']);if(_0x10ec14[_0xaec11(0x24c)]<_0x17091c-0x1)return this;if(this['_checkMissing'](_0x10ec14))return this['_injector'][_0xaec11(0x485)](exports[_0xaec11(0x299)],this[_0xaec11(0x3d4)],this[_0xaec11(0x432)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1d08c0=this[_0xaec11(0x267)][_0xaec11(0x485)](exports['SyncedState'],this['unitID'],this['type'],this[_0xaec11(0x3f3)]);return _0x1d08c0[_0xaec11(0x454)](),_0x1d08c0;}[_0x274a5e(0x241)](_0x5dcc57){var _0x4dfea7=_0x274a5e;return this[_0x4dfea7(0x13c)](!!(_0x5dcc57!=null&&_0x5dcc57[_0x4dfea7(0x1ed)]));}['onRemoteRetry'](_0x2bdbad){var _0x2bbcd9=_0x274a5e;return this[_0x2bbcd9(0x2f4)]>Rt?this[_0x2bbcd9(0x465)]():(this[_0x2bbcd9(0x1bd)]=bt(this[_0x2bbcd9(0x2f4)],{'timeout':this[_0x2bbcd9(0x2f4)],'reqId':_0x2bdbad['reqId']}),this[_0x2bbcd9(0x486)]=this['_resendTimer'][_0x2bbcd9(0x21b)](({reqId:_0x310c93,timeout:_0x27ea6e})=>{var _0x21c928=_0x2bbcd9;this[_0x21c928(0x1d8)](_0x310c93,_0x27ea6e);}),this);}['toggleOffline'](){var _0x30054a=_0x274a5e;return this['_clearScheduledTask'](),this[_0x30054a(0x267)]['createInstance'](exports[_0x30054a(0x15e)],this[_0x30054a(0x3d4)],this[_0x30054a(0x432)],this[_0x30054a(0x385)],[],this[_0x30054a(0x3f3)]);}[_0x274a5e(0x381)](){return this;}[_0x274a5e(0x3c3)](){var _0x1d1da3=_0x274a5e;this[_0x1d1da3(0x3f3)][_0x1d1da3(0x185)](this[_0x1d1da3(0x385)]);}['_onConflict'](_0x12f32b){var _0xcce436=_0x274a5e;return this[_0xcce436(0x3db)](),this[_0xcce436(0x267)]['createInstance'](exports[_0xcce436(0x39d)],this[_0xcce436(0x3d4)],this[_0xcce436(0x432)],this[_0xcce436(0x385)],[],this[_0xcce436(0x3f3)],_0x12f32b);}[_0x274a5e(0x1d8)](_0x5111e1,_0x4e44fb){var _0x42dc6b=_0x274a5e,_0x31899a;_0x5111e1===((_0x31899a=this[_0x42dc6b(0x385)])==null?void 0x0:_0x31899a[_0x42dc6b(0x144)])&&(this[_0x42dc6b(0x3c3)](),this['_resendTimeout']=_0x4e44fb===0x0?0x3e8:_0x4e44fb*0x2);}[_0x274a5e(0x3db)](){var _0x402d24=_0x274a5e,_0x19867f;(_0x19867f=this[_0x402d24(0x486)])==null||_0x19867f['unsubscribe'](),this[_0x402d24(0x2f4)]=0x0;}},exports[_0x274a5e(0x30d)]=ae([w(0x4,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),w(0x5,a[_0x274a5e(0x2bc)](I['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a[_0x274a5e(0x45a)]),w(0x8,I[_0x274a5e(0x30c)]),w(0x9,a[_0x274a5e(0x384)]),w(0xa,a['Optional'](q))],exports[_0x274a5e(0x30d)]),exports[_0x274a5e(0x2af)]=class extends ce{constructor(_0xfb51c,_0x2f39fc,_0x2a0b58,_0x499921,_0x418dd0,_0x2a2440,_0x2c6994,_0x325e55,_0xaaa786,_0x21b2e2,_0x6e9ba4,_0x14b638,_0xcffecb){var _0x1aafed=_0x274a5e;super(_0xfb51c,_0x2f39fc,_0x2a0b58,_0x499921,_0x418dd0,_0xaaa786,_0x14b638,_0x325e55,_0xcffecb),A(this,_0x1aafed(0x2fb),_0x1aafed(0x43f)),A(this,_0x1aafed(0x2f4),0x0),A(this,'_resendTimer'),A(this,_0x1aafed(0x486)),(this[_0x1aafed(0x267)]=_0x2c6994,this[_0x1aafed(0x2e3)]=_0x21b2e2,this[_0x1aafed(0x39c)]=_0x6e9ba4,this[_0x1aafed(0x145)]=_0xcffecb,_0x2a2440&&(this[_0x1aafed(0x1bd)]=_0x2a2440,this[_0x1aafed(0x486)]=this['_resendTimer'][_0x1aafed(0x21b)](({reqId:_0x4a8c39,timeout:_0xb270ae})=>{var _0x1f62b9=_0x1aafed;this[_0x1f62b9(0x1d8)](_0x4a8c39,_0xb270ae);})));}['appendMutation'](_0x3b1237){var _0x21bea4=_0x274a5e;return this[_0x21bea4(0x138)][_0x21bea4(0x427)](_0x3b1237),this;}[_0x274a5e(0x288)](_0x485f3e){var _0x245fa6=_0x274a5e;if(this[_0x245fa6(0x26f)](_0x485f3e))return this['_clearScheduledTask'](),this[_0x245fa6(0x267)][_0x245fa6(0x485)](exports['FetchingMissState'],this[_0x245fa6(0x3d4)],this[_0x245fa6(0x432)],this[_0x245fa6(0x385)],this[_0x245fa6(0x138)],null,[_0x485f3e],this['_handler']);try{const _0x4febd3=this[_0x245fa6(0x39c)][_0x245fa6(0x1ee)]([_0x485f3e],[this[_0x245fa6(0x385)]],!0x1);if(I[_0x245fa6(0x2a3)](_0x4febd3)){const {c1Prime:_0x1c5835,c2Prime:_0x12db6f}=_0x4febd3,_0x4d9d1e=this[_0x245fa6(0x39c)][_0x245fa6(0x46a)](_0x1c5835[0x0],this['_pendingMutations']);if(I[_0x245fa6(0x22c)](_0x4d9d1e)){const {c1Prime:_0x386a1f,m2Prime:_0x5e3a89}=_0x4d9d1e;return this[_0x245fa6(0x265)](_0x386a1f),_0x12db6f[0x0][_0x245fa6(0x402)]=this[_0x245fa6(0x1c7)](),this['_clearScheduledTask'](),this[_0x245fa6(0x267)][_0x245fa6(0x485)](exports['AwaitingWithPendingState'],this[_0x245fa6(0x3d4)],this[_0x245fa6(0x432)],_0x12db6f[0x0],_0x5e3a89,this[_0x245fa6(0x3f3)],void 0x0);}throw _0x4d9d1e[_0x245fa6(0x3c7)];}throw _0x4febd3[_0x245fa6(0x3c7)];}catch(_0x3187f4){return this[_0x245fa6(0x2e3)][_0x245fa6(0x3c7)](_0x3187f4),this['_onConflict'](!0x1);}}[_0x274a5e(0x2fc)](_0x4212d4){var _0x5e1fcb=_0x274a5e;if(this[_0x5e1fcb(0x3db)](),this[_0x5e1fcb(0x26f)](_0x4212d4))return this[_0x5e1fcb(0x267)][_0x5e1fcb(0x485)](exports[_0x5e1fcb(0x299)],this['unitID'],this[_0x5e1fcb(0x432)],null,this[_0x5e1fcb(0x138)],this['_awaitingChangeset'],[],this[_0x5e1fcb(0x3f3)]);this[_0x5e1fcb(0x1d0)]();const _0x2fb324=this[_0x5e1fcb(0x267)][_0x5e1fcb(0x485)](exports[_0x5e1fcb(0x2c5)],this['unitID'],this[_0x5e1fcb(0x432)],this[_0x5e1fcb(0x138)],this['_handler']);return _0x2fb324['_schedule'](),_0x2fb324[_0x5e1fcb(0x454)](),_0x2fb324;}[_0x274a5e(0x241)](_0x4f44a9){var _0xe7319=_0x274a5e;return this[_0xe7319(0x13c)](!!(_0x4f44a9!=null&&_0x4f44a9['isPermissionRej']));}['onRemoteRetry'](_0x5c928f){var _0x489f9c=_0x274a5e;return this[_0x489f9c(0x2f4)]>Rt?this[_0x489f9c(0x465)]():(this[_0x489f9c(0x1bd)]=bt(this[_0x489f9c(0x2f4)],{'timeout':this[_0x489f9c(0x2f4)],'reqId':_0x5c928f[_0x489f9c(0x144)]}),this['_sender']=this[_0x489f9c(0x1bd)][_0x489f9c(0x21b)](({reqId:_0x1fcc52,timeout:_0x500ed8})=>{var _0x50d324=_0x489f9c;this[_0x50d324(0x1d8)](_0x1fcc52,_0x500ed8);}),this);}[_0x274a5e(0x465)](){var _0x46d73c=_0x274a5e;return this[_0x46d73c(0x3db)](),this[_0x46d73c(0x267)][_0x46d73c(0x485)](exports['OfflineState'],this[_0x46d73c(0x3d4)],this['type'],this[_0x46d73c(0x385)],this[_0x46d73c(0x138)],this['_handler']);}[_0x274a5e(0x381)](){return this;}[_0x274a5e(0x3c3)](){var _0x45925a=_0x274a5e;this[_0x45925a(0x3f3)][_0x45925a(0x185)](this[_0x45925a(0x385)]);}['_onConflict'](_0xd19242){var _0x469ab6=_0x274a5e;return this[_0x469ab6(0x3db)](),this[_0x469ab6(0x267)][_0x469ab6(0x485)](exports[_0x469ab6(0x39d)],this[_0x469ab6(0x3d4)],this[_0x469ab6(0x432)],null,this['_pendingMutations'],this[_0x469ab6(0x3f3)],_0xd19242);}['_resendWithTimeout'](_0x539dc2,_0x28cd06){var _0x2c7929=_0x274a5e,_0x5632d8;_0x539dc2===((_0x5632d8=this[_0x2c7929(0x385)])==null?void 0x0:_0x5632d8['reqId'])&&(this['resend'](),this[_0x2c7929(0x2f4)]=_0x28cd06===0x0?0x3e8:_0x28cd06*0x2);}[_0x274a5e(0x3db)](){var _0x255d67=_0x274a5e,_0x40ddde;(_0x40ddde=this[_0x255d67(0x486)])==null||_0x40ddde[_0x255d67(0x150)](),this[_0x255d67(0x2f4)]=0x0;}},exports[_0x274a5e(0x2af)]=ae([w(0x6,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),w(0x7,a['Inject'](I['RevisionService'])),w(0x8,a[_0x274a5e(0x449)]),w(0x9,a[_0x274a5e(0x45a)]),w(0xa,I[_0x274a5e(0x30c)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x2af)]),exports['ConflictState']=class extends ce{constructor(_0x56da50,_0x4bc30c,_0x46d654,_0x5d959c,_0x5d1759,_0x3a6740=!0x1,_0x558dd9,_0x57e613,_0x201896,_0x49c214,_0x572a33,_0x2eefce,_0x28edc9){var _0x145d1a=_0x274a5e;super(_0x56da50,_0x4bc30c,_0x46d654,_0x5d959c,_0x5d1759,_0x57e613,_0x201896,_0x49c214,_0x28edc9),A(this,'status',_0x145d1a(0x1dc)),(this[_0x145d1a(0x3e2)]=_0x3a6740,this[_0x145d1a(0x131)]=_0x558dd9,this[_0x145d1a(0x37d)]=_0x572a33,this[_0x145d1a(0x1f4)]=_0x2eefce,this[_0x145d1a(0x145)]=_0x28edc9,this['_showConflictNotification'](),this[_0x145d1a(0x3ac)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x274a5e(0x288)](){return this;}[_0x274a5e(0x2fc)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x274a5e(0x465)](){return this;}['toggleOnline'](){return this;}[_0x274a5e(0x3c3)](){var _0x567201=_0x274a5e;throw new Error(_0x567201(0x1a0));}[_0x274a5e(0x3ac)](){var _0x54f668=_0x274a5e,_0x1b10cf;(_0x1b10cf=this[_0x54f668(0x38a)])==null||_0x1b10cf['updateOfflineData'](this[_0x54f668(0x3d4)],this[_0x54f668(0x432)],null,[]);}[_0x274a5e(0x337)](){var _0x56c96a=_0x274a5e;this['_isPermissionRej']?this[_0x56c96a(0x1f4)][_0x56c96a(0x34b)]({'id':Z[_0x56c96a(0x336)]}):this[_0x56c96a(0x1f4)][_0x56c96a(0x34b)]({'id':Z['CONFLICT']});}[_0x274a5e(0x2dd)](){var _0x18a546=_0x274a5e;this['_permissionService'][_0x18a546(0x153)](new X[(_0x18a546(0x3c4))](this[_0x18a546(0x3d4)])['id'],!0x1);}},exports[_0x274a5e(0x39d)]=ae([w(0x6,a['Inject'](a[_0x274a5e(0x32f)])),w(0x7,a['ICommandService']),w(0x8,a[_0x274a5e(0x384)]),w(0x9,a['Inject'](I[_0x274a5e(0x374)])),w(0xa,a[_0x274a5e(0x2bc)](a['LocaleService'])),w(0xb,a[_0x274a5e(0x2bc)](ee)),w(0xc,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x39d)]),exports['OfflineState']=class extends ce{constructor(_0x5be2ce,_0x3f49f3,_0x58e88c,_0x4988db,_0x554cb8,_0x6d6270,_0x47fd99,_0x3ecea0,_0x98919,_0x52c7c3){var _0x4231b5=_0x274a5e;super(_0x5be2ce,_0x3f49f3,_0x58e88c,_0x4988db,_0x554cb8,_0x3ecea0,_0x98919,_0x47fd99,_0x52c7c3),A(this,_0x4231b5(0x2fb),_0x4231b5(0x1a5)),this[_0x4231b5(0x267)]=_0x6d6270;}[_0x274a5e(0x271)](_0x1741e6){var _0x5cd4bf=_0x274a5e;return this[_0x5cd4bf(0x138)][_0x5cd4bf(0x427)](_0x1741e6),this['_updateLocalCache'](),this;}[_0x274a5e(0x288)](_0x34173f){var _0x2846d6=_0x274a5e;throw new Error(_0x2846d6(0x229));}['onRemoteAck'](){var _0x463b2d=_0x274a5e;throw new Error(_0x463b2d(0x115));}[_0x274a5e(0x241)](){var _0x174892=_0x274a5e;throw new Error(_0x174892(0x1f7));}[_0x274a5e(0x1c5)](){return this;}[_0x274a5e(0x465)](){return this;}[_0x274a5e(0x381)](){var _0x5cee10=_0x274a5e;const {_injector:_0x58ff89,_pendingMutations:_0x5e5053,_awaitingChangeset:_0x4808c7,unitID:_0x48a063,_handler:_0x4d8d9f,type:_0x4057cf}=this,_0x40bbf8=Ot(_0x58ff89,_0x48a063,_0x4057cf,_0x4808c7,_0x5e5053,_0x4d8d9f);return _0x40bbf8 instanceof exports[_0x5cee10(0x2c5)]?_0x40bbf8[_0x5cee10(0x25f)]():(_0x40bbf8 instanceof exports['AwaitingWithPendingState']||_0x40bbf8 instanceof exports['AwaitingState'])&&_0x40bbf8['resend'](),_0x40bbf8;}['resend'](){var _0x2efc81=_0x274a5e;throw new Error(_0x2efc81(0x263));}},exports['OfflineState']=ae([w(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),w(0x6,a['Inject'](I['RevisionService'])),w(0x7,a[_0x274a5e(0x449)]),w(0x8,a[_0x274a5e(0x384)]),w(0x9,a[_0x274a5e(0x43b)](q))],exports['OfflineState']),exports[_0x274a5e(0x299)]=class extends ce{constructor(_0x2368fb,_0x128648,_0x3c9c58,_0x2a741f,_0x48bc1a,_0x11e497,_0x905251,_0x51b628,_0x9591bd,_0x38384c,_0x2c855f,_0x44173e,_0x3a297c,_0x227b98){var _0x1e993d=_0x274a5e;super(_0x2368fb,_0x128648,_0x3c9c58,_0x2a741f,_0x905251,_0x2c855f,_0x44173e,_0x9591bd,_0x227b98),A(this,_0x1e993d(0x2fb),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x48bc1a,this[_0x1e993d(0x36a)]=_0x11e497,this[_0x1e993d(0x267)]=_0x51b628,this[_0x1e993d(0x2e3)]=_0x38384c,this[_0x1e993d(0x39c)]=_0x3a297c,this[_0x1e993d(0x145)]=_0x227b98);}[_0x274a5e(0x21f)](_0xaf1dbc){var _0x387075=_0x274a5e;try{const _0x33febc=[..._0xaf1dbc,...this[_0x387075(0x36a)]],_0x12df03=[this[_0x387075(0x385)]||this[_0x387075(0x129)]][_0x387075(0x329)](_0x3e1e1b=>!!_0x3e1e1b);let _0x4cca25,_0x119c59;if(_0x12df03[_0x387075(0x2d6)]){const _0x18b0da=this['_transformService'][_0x387075(0x1ee)](_0x33febc,_0x12df03,!0x1);if(!I[_0x387075(0x2a3)](_0x18b0da))throw _0x18b0da[_0x387075(0x3c7)];_0x4cca25=_0x18b0da[_0x387075(0x121)],_0x119c59=_0x18b0da[_0x387075(0x180)];}else _0x4cca25=_0x33febc,_0x119c59=[];let _0x310639=this['_pendingMutations'];_0x4cca25[_0x387075(0x442)](_0x14ad1e=>{var _0x182d54=_0x387075;let _0x369f1a;if(_0x310639[_0x182d54(0x2d6)]){const _0x3fb70e=this['_transformService'][_0x182d54(0x46a)](_0x14ad1e,_0x310639);if(!I[_0x182d54(0x22c)](_0x3fb70e))throw _0x3fb70e[_0x182d54(0x3c7)];_0x369f1a=_0x3fb70e[_0x182d54(0x121)],_0x310639=_0x3fb70e[_0x182d54(0x354)];}else _0x369f1a=_0x14ad1e;this[_0x182d54(0x265)](_0x369f1a);}),this[_0x387075(0x129)]&&this[_0x387075(0x1d0)](),this[_0x387075(0x385)]&&_0x119c59[_0x387075(0x2d6)]&&(_0x119c59[0x0][_0x387075(0x402)]=this[_0x387075(0x1c7)]());let _0x26c3fe;if(this[_0x387075(0x385)]&&_0x310639[_0x387075(0x2d6)]!==0x0)_0x26c3fe=this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x2af)],this[_0x387075(0x3d4)],this[_0x387075(0x432)],_0x119c59[0x0],_0x310639,this[_0x387075(0x3f3)],void 0x0);else{if(this[_0x387075(0x385)]&&_0x310639[_0x387075(0x2d6)]===0x0)_0x119c59[0x0][_0x387075(0x402)]=this[_0x387075(0x1c7)](),_0x26c3fe=this[_0x387075(0x267)]['createInstance'](exports[_0x387075(0x30d)],this[_0x387075(0x3d4)],this['type'],_0x119c59[0x0],this[_0x387075(0x3f3)]);else{if(_0x310639['length']!==0x0){const _0x1ad62e=this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x2c5)],this[_0x387075(0x3d4)],this[_0x387075(0x432)],_0x310639,this[_0x387075(0x3f3)]);_0x1ad62e[_0x387075(0x25f)](),_0x26c3fe=_0x1ad62e;}else _0x26c3fe=this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x1b1)],this['unitID'],this[_0x387075(0x432)],this[_0x387075(0x3f3)]);}}return _0x26c3fe[_0x387075(0x454)](),_0x26c3fe;}catch(_0xa8ed0c){return this[_0x387075(0x2e3)]['error'](_0x387075(0x1eb),_0x387075(0x2c1),_0xa8ed0c),this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x39d)],this['unitID'],this['type'],this[_0x387075(0x385)],this[_0x387075(0x138)],this['_handler'],!0x1);}}[_0x274a5e(0x3c3)](){var _0x3a4a02=_0x274a5e;throw new Error(_0x3a4a02(0x2a4));}['appendMutation'](_0x1354e8){var _0x4dfe71=_0x274a5e;return this[_0x4dfe71(0x138)][_0x4dfe71(0x427)](_0x1354e8),this;}['onRemoteChangeset'](_0xfd10e9){var _0x1785b7=_0x274a5e;return this[_0x1785b7(0x36a)][_0x1785b7(0x427)](_0xfd10e9),this;}[_0x274a5e(0x2fc)](_0x4f98f6){var _0x3f5938=_0x274a5e;if(this[_0x3f5938(0x385)])return this[_0x3f5938(0x129)]=this[_0x3f5938(0x385)],this[_0x3f5938(0x385)]=null,this;throw new Error(_0x3f5938(0x269));}[_0x274a5e(0x241)](_0x164aae){var _0x1fa2da=_0x274a5e;return this[_0x1fa2da(0x13c)](!!(_0x164aae!=null&&_0x164aae[_0x1fa2da(0x1ed)]));}[_0x274a5e(0x1c5)](){return this;}['toggleOffline'](){var _0x24b687=_0x274a5e;return this[_0x24b687(0x267)][_0x24b687(0x485)](exports['OfflineState'],this[_0x24b687(0x3d4)],this[_0x24b687(0x432)],this[_0x24b687(0x385)],this[_0x24b687(0x138)],this['_handler']);}[_0x274a5e(0x381)](){return this;}[_0x274a5e(0x13c)](_0x399897){var _0x4e5a5f=_0x274a5e;return this[_0x4e5a5f(0x267)][_0x4e5a5f(0x485)](exports[_0x4e5a5f(0x39d)],this['unitID'],this['type'],this[_0x4e5a5f(0x385)],this[_0x4e5a5f(0x138)],this[_0x4e5a5f(0x3f3)],_0x399897);}},exports['FetchingMissState']=ae([w(0x7,a[_0x274a5e(0x2bc)](a['Injector'])),w(0x8,a[_0x274a5e(0x2bc)](I['RevisionService'])),w(0x9,a[_0x274a5e(0x45a)]),w(0xa,a['ICommandService']),w(0xb,a[_0x274a5e(0x384)]),w(0xc,I[_0x274a5e(0x30c)]),w(0xd,a[_0x274a5e(0x43b)](q))],exports['FetchingMissState']);function Ot(_0x52222c,_0xdc261a,_0x949a56,_0x554ad9,_0x925e29,_0x58b7c1){var _0x318210=_0x274a5e;return _0x554ad9&&_0x925e29[_0x318210(0x2d6)]?_0x52222c['createInstance'](exports[_0x318210(0x2af)],_0xdc261a,_0x949a56,_0x554ad9,_0x925e29,_0x58b7c1,void 0x0):_0x554ad9?_0x52222c[_0x318210(0x485)](exports[_0x318210(0x30d)],_0xdc261a,_0x949a56,_0x554ad9,_0x58b7c1):_0x925e29['length']?_0x52222c[_0x318210(0x485)](exports[_0x318210(0x2c5)],_0xdc261a,_0x949a56,_0x925e29,_0x58b7c1):_0x52222c[_0x318210(0x485)](exports[_0x318210(0x1b1)],_0xdc261a,_0x949a56,_0x58b7c1);}var vi=Object[_0x274a5e(0x171)],Fe=(_0x3d56ed,_0x423652,_0x339b96,_0x58bb5b)=>{var _0x59ee88=_0x274a5e;for(var _0x19c4c8=_0x58bb5b>0x1?void 0x0:_0x58bb5b?vi(_0x423652,_0x339b96):_0x423652,_0x524eed=_0x3d56ed[_0x59ee88(0x2d6)]-0x1,_0x4ccfe6;_0x524eed>=0x0;_0x524eed--)(_0x4ccfe6=_0x3d56ed[_0x524eed])&&(_0x19c4c8=_0x4ccfe6(_0x19c4c8)||_0x19c4c8);return _0x19c4c8;},j=(_0x5f2e2b,_0xc43ddd)=>(_0x1b4b8c,_0x2df6a4)=>_0xc43ddd(_0x1b4b8c,_0x2df6a4,_0x5f2e2b);exports['CollaborationEntity']=class extends a[_0x274a5e(0x162)]{constructor(_0x4bb7a0,_0x18dad0,_0x3d12c7,_0x473d54,_0x12e14b,_0xf85a79,_0x3655b0,_0x14cfde,_0x1a478d,_0x8e4738,_0x52fcd7,_0x1862e1,_0x5b8743){var _0x45eb13=_0x274a5e;super(),A(this,_0x45eb13(0x159),new $[(_0x45eb13(0x1f3))](null)),A(this,'state$',this[_0x45eb13(0x159)][_0x45eb13(0x21d)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x45eb13(0x28c),''),A(this,_0x45eb13(0x39f),0x0),A(this,_0x45eb13(0x30b),this[_0x45eb13(0x38e)][_0x45eb13(0x2c6)]($['map'](_0x922b0=>_0x922b0?_0x922b0[_0x45eb13(0x2fb)]:Be[_0x45eb13(0x275)]),$['shareReplay'](0x1))),A(this,_0x45eb13(0x3cb),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x45eb13(0x3d4)]=_0x4bb7a0,this[_0x45eb13(0x45f)]=_0x18dad0,this['_type']=_0x3d12c7,this['_injector']=_0x473d54,this['_compressMutationService']=_0x12e14b,this[_0x45eb13(0x37d)]=_0xf85a79,this[_0x45eb13(0x27e)]=_0x3655b0,this['_eventService']=_0x14cfde,this['_logService']=_0x1a478d,this[_0x45eb13(0x24d)]=_0x8e4738,this[_0x45eb13(0x131)]=_0x52fcd7,this['_singleActiveUnitService']=_0x1862e1,this['_localCacheService']=_0x5b8743);}get['state'](){return this['_state'];}async[_0x274a5e(0x29e)](){var _0x46a1c7=_0x274a5e;if(this['state'])throw new Error(_0x46a1c7(0x3e8));await this[_0x46a1c7(0x3b3)]();}['pauseCollaboration'](){var _0x35439d=_0x274a5e;return this[_0x35439d(0x2e5)]=!0x0,a[_0x35439d(0x1ba)](()=>{var _0xf938d6=_0x35439d;this[_0xf938d6(0x2e5)]=!0x1,this[_0xf938d6(0x396)]();});}['onLocalMutation'](_0x82f642){var _0x505359=_0x274a5e;this[_0x505359(0x1fb)](_0x82f642);}[_0x274a5e(0x254)](_0x3176a9){var _0x3a6103=_0x274a5e;this[_0x3a6103(0x37f)]=_0x3176a9,this['_state$']['next'](_0x3176a9);}async[_0x274a5e(0x3b3)](){var _0x2dce6a=_0x274a5e,_0x44c4da;this[_0x2dce6a(0x254)](await this[_0x2dce6a(0x330)]()),this[_0x2dce6a(0x1b0)]&&((_0x44c4da=this[_0x2dce6a(0x1b0)])==null||_0x44c4da[_0x2dce6a(0x15f)](this[_0x2dce6a(0x3d4)]),this[_0x2dce6a(0x36d)](this[_0x2dce6a(0x1b0)][_0x2dce6a(0x409)](this[_0x2dce6a(0x3d4)])['subscribe'](_0xe0c129=>{var _0x253e82=_0x2dce6a;this[_0x253e82(0x2e3)][_0x253e82(0x429)]('[CollaborationEntity]',_0x253e82(0x1f5),_0xe0c129),_0xe0c129===je[_0x253e82(0x19b)]?(this[_0x253e82(0x438)][_0x253e82(0x34b)]({'id':Z[_0x253e82(0x3c2)]}),this['_permissionService']['updatePermissionPoint'](new X[(_0x253e82(0x3c4))](this['unitID'])['id'],!0x1),this['_permissionService'][_0x253e82(0x1b3)](!0x1)):(this[_0x253e82(0x131)][_0x253e82(0x153)](new X[(_0x253e82(0x3c4))](this[_0x253e82(0x3d4)])['id'],!0x0),this[_0x253e82(0x131)][_0x253e82(0x1b3)](!0x0));})));let _0xe464ed=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$']['subscribe'](_0x1d9fb2=>{var _0x43bb21=_0x2dce6a;_0x1d9fb2===re[_0x43bb21(0x127)]?this['_toggleOnline'](_0xe464ed):_0x1d9fb2===re[_0x43bb21(0x275)]&&(_0xe464ed=!0x0,this[_0x43bb21(0x1e4)]());})),this[_0x2dce6a(0x36d)](this[_0x2dce6a(0x45f)]['event$'][_0x2dce6a(0x21b)](_0x4dc383=>{var _0x3a35c3=_0x2dce6a;try{switch(_0x4dc383[_0x3a35c3(0x273)]){case I[_0x3a35c3(0x197)][_0x3a35c3(0x30a)]:{this[_0x3a35c3(0x247)](I['parseProtocolChangeset'](_0x4dc383[_0x3a35c3(0x24b)]));break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x3d3)]:{this[_0x3a35c3(0x26d)](_0x4dc383['data']);break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x296)]:{this[_0x3a35c3(0x311)]();break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x236)]:{this['_onRemoteRetry'](_0x4dc383[_0x3a35c3(0x24b)]);break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x1e7)]:{this[_0x3a35c3(0x146)](_0x4dc383[_0x3a35c3(0x24b)][_0x3a35c3(0x28a)][_0x3a35c3(0x1e6)](_0x43db4c=>I[_0x3a35c3(0x1d2)](_0x43db4c)));break;}case I['CollaborationEvent'][_0x3a35c3(0x2f5)]:{this[_0x3a35c3(0x311)]({'isPermissionRej':!0x0});break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x373)]:break;}}catch(_0x48edae){throw console[_0x3a35c3(0x3c7)](_0x3a35c3(0x468),_0x48edae),_0x48edae;}})),this[_0x2dce6a(0x37f)];}[_0x274a5e(0x1a9)](){var _0x358741=_0x274a5e;this[_0x358741(0x3cb)]=!0x1;}['_lockTransition'](){var _0x580356=_0x274a5e;if(this[_0x580356(0x3cb)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x580356(0x3cb)]=!0x0;}['_onLocalMutation'](_0x4c91dd){var _0x45eca8=_0x274a5e;this['_lockTransition'](),this[_0x45eca8(0x254)](this[_0x45eca8(0x37f)]['appendMutation'](_0x4c91dd)),this['_unlockTransition']();}[_0x274a5e(0x247)](_0x8172d1){var _0x418217=_0x274a5e;if(!(_0x8172d1[_0x418217(0x24c)]<=this[_0x418217(0x27e)][_0x418217(0x389)](this[_0x418217(0x3d4)]))){if(this[_0x418217(0x2e5)]){this[_0x418217(0x27c)][_0x418217(0x427)](_0x8172d1);return;}this[_0x418217(0x19c)](_0x8172d1);}}[_0x274a5e(0x396)](){var _0x2461e3=_0x274a5e;this[_0x2461e3(0x27c)][_0x2461e3(0x442)](_0x298f7c=>this['_applyRemoteChangeset'](_0x298f7c)),this[_0x2461e3(0x27c)]=[];}[_0x274a5e(0x19c)](_0x50c17c){var _0x13778d=_0x274a5e;const _0x2adf37=this[_0x13778d(0x306)][_0x13778d(0x488)][_0x13778d(0x27a)](this['_compressMutationService'][_0x13778d(0x488)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x50c17c[_0x13778d(0x36e)],null)||_0x50c17c[_0x13778d(0x36e)],_0xcfe93d={..._0x50c17c,'mutations':_0x2adf37};this['_lockTransition'](),this[_0x13778d(0x254)](this[_0x13778d(0x37f)][_0x13778d(0x288)](_0xcfe93d)),this[_0x13778d(0x1a9)]();}[_0x274a5e(0x26d)](_0x552475){var _0x5b3a9a=_0x274a5e;this[_0x5b3a9a(0x24e)](),this[_0x5b3a9a(0x254)](this[_0x5b3a9a(0x37f)]['onRemoteAck'](_0x552475)),this['_unlockTransition']();}[_0x274a5e(0x311)](_0x590137){var _0x25b979=_0x274a5e;this[_0x25b979(0x24e)](),this[_0x25b979(0x254)](this['_state'][_0x25b979(0x241)](_0x590137)),this[_0x25b979(0x1a9)]();}['_onRemoteRetry'](_0x2cc479){var _0x41260b=_0x274a5e;this['_lockTransition'](),this['_updateState'](this[_0x41260b(0x37f)][_0x41260b(0x1c5)](_0x2cc479)),this[_0x41260b(0x1a9)]();}['_onFetchMissResult'](_0x30ce7){var _0x2aec60=_0x274a5e;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x2aec60(0x487));const _0x1c0478=_0x30ce7[_0x2aec60(0x1e6)](_0x2108c3=>{var _0x5997f8=_0x2aec60;const _0x27677c=this[_0x5997f8(0x306)][_0x5997f8(0x488)][_0x5997f8(0x27a)](this['_compressMutationService'][_0x5997f8(0x488)]['getInterceptPoints']()[_0x5997f8(0x3f6)])(_0x2108c3['mutations'],null)||_0x2108c3[_0x5997f8(0x36e)];return{..._0x2108c3,'mutations':_0x27677c};});this[_0x2aec60(0x24e)](),this[_0x2aec60(0x254)](this['_state'][_0x2aec60(0x21f)](_0x1c0478)),this[_0x2aec60(0x1a9)]();}['_toggleOffline'](){var _0x4d4b62=_0x274a5e;this['_lockTransition'](),this[_0x4d4b62(0x254)](this[_0x4d4b62(0x37f)][_0x4d4b62(0x465)]()),this[_0x4d4b62(0x1a9)]();}[_0x274a5e(0x1d4)](_0x95c0dc=!0x1){var _0x2a8b6a=_0x274a5e;this[_0x2a8b6a(0x24e)](),this[_0x2a8b6a(0x254)](this['_state']['toggleOnline']()),this[_0x2a8b6a(0x1a9)]();const _0x1990cb=this['_state'];_0x95c0dc&&_0x1990cb instanceof exports[_0x2a8b6a(0x1b1)]&&(this[_0x2a8b6a(0x24e)](),this[_0x2a8b6a(0x254)](_0x1990cb[_0x2a8b6a(0x199)]()),this[_0x2a8b6a(0x1a9)]());}async[_0x274a5e(0x330)](){return new Promise(_0x52a1e9=>{var _0x5d227d=_0x3799;this[_0x5d227d(0x45f)][_0x5d227d(0x134)]['pipe']($[_0x5d227d(0x34a)](0x1))[_0x5d227d(0x21b)](async _0x250c8c=>{var _0x1a688e=_0x5d227d;_0x52a1e9(await this[_0x1a688e(0x23b)](_0x250c8c===re['ONLINE']));});});}[_0x274a5e(0x240)](){var _0xc258c6=_0x274a5e;const _0x56bbd7=this[_0xc258c6(0x3d4)];return{'onStateChange':(_0x4101af,_0x65acc2)=>{var _0x2f446a=_0xc258c6;if(_0x4101af!==this['_state'])throw new Error(_0x2f446a(0x3f5)+_0x4101af[_0x2f446a(0x2fb)]+_0x2f446a(0x277)+_0x65acc2[_0x2f446a(0x2fb)]+_0x2f446a(0x44b)+this[_0x2f446a(0x37f)]['status']);this[_0x2f446a(0x254)](_0x65acc2);},'onSendChangeset':_0x4c96fc=>{var _0x19b180=_0xc258c6;_0x4c96fc[_0x19b180(0x12c)]||(_0x4c96fc[_0x19b180(0x12c)]=this[_0x19b180(0x28c)],_0x4c96fc[_0x19b180(0x144)]=++this['_changesetReqId']);const _0x25b3d7={'eventID':I[_0x19b180(0x197)][_0x19b180(0x1fc)],'data':{'unitID':_0x4c96fc[_0x19b180(0x3d4)],'unitType':this[_0x19b180(0x321)],'changeset':_0x4c96fc,'memberID':this[_0x19b180(0x45f)][_0x19b180(0x1da)]()}};this[_0x19b180(0x45f)][_0x19b180(0x1ef)](_0x25b3d7,this[_0x19b180(0x3d4)]);},'onMissingChangesets':({from:_0x16c7c7,to:_0x11849e})=>{var _0x29d19b=_0xc258c6;this['_logService'][_0x29d19b(0x429)]('[CollaborationEntity]',_0x29d19b(0x21a)+_0x16c7c7+'\x20to\x20'+_0x11849e);const _0x1c9b2b={'eventID':I[_0x29d19b(0x197)]['FETCH_MISSING'],'data':{'unitID':_0x56bbd7,'unitType':this['_type'],'from':_0x16c7c7,'to':_0x11849e}};this[_0x29d19b(0x45f)]['send'](_0x1c9b2b,this['unitID']);}};}async[_0x274a5e(0x23b)](_0x316a77){var _0x342e98=_0x274a5e,_0x2b5e8b,_0xc06f33,_0x58e255;const _0x308fe3=await((_0x2b5e8b=this[_0x342e98(0x38a)])==null?void 0x0:_0x2b5e8b['loadOfflineData'](this[_0x342e98(0x3d4)])),_0x9fbc30=(_0xc06f33=_0x308fe3==null?void 0x0:_0x308fe3[_0x342e98(0x36e)])!=null?_0xc06f33:[],_0x1a7b56=(_0x58e255=_0x308fe3==null?void 0x0:_0x308fe3[_0x342e98(0x20c)])!=null?_0x58e255:null,_0x4a8a74=!!(_0x1a7b56!=null&&_0x1a7b56[_0x342e98(0x12c)])&&!!(_0x1a7b56!=null&&_0x1a7b56[_0x342e98(0x144)]);this[_0x342e98(0x28c)]=_0x4a8a74?_0x1a7b56['sid']:I[_0x342e98(0x251)](),this[_0x342e98(0x39f)]=_0x4a8a74?_0x1a7b56[_0x342e98(0x144)]:0x0;const _0x1c6c4b=this[_0x342e98(0x3d4)];try{this[_0x342e98(0x32a)](_0x1a7b56,_0x9fbc30);}catch(_0x59baf8){this[_0x342e98(0x2e3)][_0x342e98(0x3c7)](_0x59baf8);}const _0x284b30=this[_0x342e98(0x240)]();if(_0x316a77){const _0x38726a=Ot(this['_injector'],_0x1c6c4b,this[_0x342e98(0x321)],_0x1a7b56,_0x9fbc30,_0x284b30);return _0x38726a instanceof exports[_0x342e98(0x2c5)]?_0x38726a['_schedule']():(_0x38726a instanceof exports[_0x342e98(0x2af)]||_0x38726a instanceof exports['AwaitingState'])&&_0x38726a[_0x342e98(0x3c3)](),_0x38726a;}return this['_injector'][_0x342e98(0x485)](exports[_0x342e98(0x15e)],_0x1c6c4b,this['_type'],_0x1a7b56,_0x9fbc30,_0x284b30);}[_0x274a5e(0x32a)](_0x217ad2,_0x165cbc){var _0xd8c72f=_0x274a5e,_0x5c6f12,_0xb16577;const _0x32431e=this['_compressMutationService'][_0xd8c72f(0x488)][_0xd8c72f(0x27a)](this[_0xd8c72f(0x306)][_0xd8c72f(0x488)][_0xd8c72f(0x364)]()[_0xd8c72f(0x3f6)]);(_0x5c6f12=_0x32431e((_0x217ad2==null?void 0x0:_0x217ad2[_0xd8c72f(0x36e)])||[],null))==null||_0x5c6f12[_0xd8c72f(0x442)](_0x417a2d=>this[_0xd8c72f(0x24d)][_0xd8c72f(0x3ec)](_0x417a2d['id'],_0x417a2d[_0xd8c72f(0x328)])),(_0xb16577=_0x32431e(_0x165cbc||[],null))==null||_0xb16577[_0xd8c72f(0x442)](_0x2bd0d6=>this[_0xd8c72f(0x24d)][_0xd8c72f(0x3ec)](_0x2bd0d6['id'],_0x2bd0d6['params']));}},exports[_0x274a5e(0x1f6)]=Fe([j(0x3,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),j(0x4,a['Inject'](I[_0x274a5e(0x2c9)])),j(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),j(0x6,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x274a5e(0x45a)]),j(0x9,a['ICommandService']),j(0xa,a[_0x274a5e(0x32f)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x274a5e(0x43b)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x274a5e(0x1f6)]{constructor(_0x4c20c6,_0x3959ea,_0x19faf9,_0x7424fa,_0x1c8ac9,_0xa32e5,_0x2f2520,_0x5d114e,_0x1bcc16,_0x20c1e6,_0x1dbcff,_0xe1a25f,_0x36acdc){var _0x18895e=_0x274a5e;super(_0x4c20c6,_0x19faf9,_0x3959ea,_0x7424fa,_0x1c8ac9,_0xa32e5,_0x2f2520,_0x5d114e,_0x1bcc16,_0x20c1e6,_0x1dbcff,_0xe1a25f,_0x36acdc),A(this,_0x18895e(0x194),null),(this[_0x18895e(0x3d4)]=_0x4c20c6,this[_0x18895e(0x432)]=_0x3959ea);}[_0x274a5e(0x151)](_0x1cbd28){var _0x33c3c0=_0x274a5e;this[_0x33c3c0(0x194)]=_0x1cbd28;}[_0x274a5e(0x393)](){var _0x5939f2=_0x274a5e;this[_0x5939f2(0x194)]=null,super[_0x5939f2(0x393)]();}[_0x274a5e(0x240)](){var _0x5431d6=_0x274a5e;const _0x524b36=super[_0x5431d6(0x240)]();return _0x524b36['onTransformIME']=_0x3eadcb=>{var _0x27b9b0=_0x5431d6,_0x4d4ec3,_0x30885d;return(_0x30885d=(_0x4d4ec3=this['_handlerCallback'])==null?void 0x0:_0x4d4ec3['onTransformIME'])==null?void 0x0:_0x30885d[_0x27b9b0(0x369)](_0x4d4ec3,_0x3eadcb);},_0x524b36['onTransformState']=_0x21b602=>{var _0xa6d517=_0x5431d6,_0x353d46,_0x3bc267;return(_0x3bc267=(_0x353d46=this[_0xa6d517(0x194)])==null?void 0x0:_0x353d46[_0xa6d517(0x18f)])==null?void 0x0:_0x3bc267[_0xa6d517(0x369)](_0x353d46,_0x21b602);},_0x524b36[_0x5431d6(0x294)]=_0x363d62=>{var _0x12cd56=_0x5431d6,_0x5a02d6,_0x41f1a5;return(_0x41f1a5=(_0x5a02d6=this[_0x12cd56(0x194)])==null?void 0x0:_0x5a02d6[_0x12cd56(0x294)])==null?void 0x0:_0x41f1a5[_0x12cd56(0x369)](_0x5a02d6,_0x363d62);},_0x524b36[_0x5431d6(0x33d)]=_0x228958=>{var _0xbf3da=_0x5431d6,_0x545481,_0x39ee80;return(_0x39ee80=(_0x545481=this[_0xbf3da(0x194)])==null?void 0x0:_0x545481['onSyncEditingCollabCursor'])==null?void 0x0:_0x39ee80['call'](_0x545481,_0x228958);},_0x524b36['onTransformRemoteChangesetByIMECache']=_0x9c8b8e=>{var _0x35659e=_0x5431d6,_0x304dc9,_0x4ec7e6,_0x3be1b3;if(!((_0x304dc9=this[_0x35659e(0x194)])!=null&&_0x304dc9[_0x35659e(0x174)]))throw new Error(_0x35659e(0x167));return(_0x3be1b3=(_0x4ec7e6=this[_0x35659e(0x194)])==null?void 0x0:_0x4ec7e6[_0x35659e(0x174)])==null?void 0x0:_0x3be1b3['call'](_0x4ec7e6,_0x9c8b8e);},_0x524b36[_0x5431d6(0x250)]=_0x3d48b2=>{var _0x4e27b9=_0x5431d6,_0x16558b,_0x3b785f,_0x6fe6c9;if(!((_0x16558b=this['_handlerCallback'])!=null&&_0x16558b['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x6fe6c9=(_0x3b785f=this['_handlerCallback'])==null?void 0x0:_0x3b785f[_0x4e27b9(0x250)])==null?void 0x0:_0x6fe6c9[_0x4e27b9(0x369)](_0x3b785f,_0x3d48b2);},_0x524b36;}async[_0x274a5e(0x3b3)](){var _0x46a531=_0x274a5e;const _0x44c3f3=await super[_0x46a531(0x3b3)]();return this[_0x46a531(0x36d)](this['_commandService']['onCommandExecuted']((_0x4e4134,_0x1921c4)=>{var _0x2aa4a7=_0x46a531;if(_0x4e4134[_0x2aa4a7(0x432)]!==a[_0x2aa4a7(0x169)]['MUTATION']||_0x1921c4!=null&&_0x1921c4[_0x2aa4a7(0x213)]||_0x1921c4!=null&&_0x1921c4[_0x2aa4a7(0x456)]||_0x4e4134['id']===ht[_0x2aa4a7(0x40f)]['id'])return;const _0x31b005=_0x4e4134[_0x2aa4a7(0x328)];if((_0x31b005==null?void 0x0:_0x31b005['unitId'])!==this[_0x2aa4a7(0x3d4)])return;const _0x2ffb2b=_0x4e4134,_0x2863c4=this[_0x2aa4a7(0x306)][_0x2aa4a7(0x488)][_0x2aa4a7(0x27a)](this[_0x2aa4a7(0x306)][_0x2aa4a7(0x488)][_0x2aa4a7(0x364)]()[_0x2aa4a7(0x361)])([_0x2ffb2b],null)||[_0x2ffb2b];this[_0x2aa4a7(0x1fb)](_0x2863c4[0x0]);})),_0x44c3f3;}},exports[_0x274a5e(0x17c)]=Fe([j(0x3,a[_0x274a5e(0x2bc)](a['Injector'])),j(0x4,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x2c9)])),j(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),j(0x6,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),j(0x7,a[_0x274a5e(0x2bc)](ee)),j(0x8,a[_0x274a5e(0x45a)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x274a5e(0x43b)](de)),j(0xc,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x17c)]),exports['SheetCollaborationEntity']=class extends exports[_0x274a5e(0x1f6)]{constructor(_0x19d7e9,_0x268fcb,_0x31d969,_0x386f98,_0xf54e7a,_0x1b1cc1,_0xc496f8,_0x56e530,_0x580ec9,_0x40525d,_0x1a1695,_0x877ea2,_0x30b547,_0x4021c0){var _0x2ab400=_0x274a5e;super(_0x19d7e9,_0x31d969,_0x268fcb,_0x386f98,_0xf54e7a,_0x1b1cc1,_0xc496f8,_0x580ec9,_0x40525d,_0x1a1695,_0x877ea2,_0x30b547,_0x4021c0),this[_0x2ab400(0x3d4)]=_0x19d7e9,this[_0x2ab400(0x432)]=_0x268fcb,this['_sheetTransformSelectionsService']=_0x56e530;}[_0x274a5e(0x240)](){var _0x1d96ad=_0x274a5e;const _0x155aa4=super[_0x1d96ad(0x240)]();return _0x155aa4[_0x1d96ad(0x294)]=_0x89159f=>this['_sheetTransformSelectionsService'][_0x1d96ad(0x16e)](_0x89159f),_0x155aa4;}async[_0x274a5e(0x3b3)](){var _0x159450=_0x274a5e;const _0x9977b4=await super[_0x159450(0x3b3)]();return this['disposeWithMe'](this[_0x159450(0x24d)]['onCommandExecuted']((_0x14a138,_0x3a5e65)=>{var _0x19e833=_0x159450;if(_0x14a138[_0x19e833(0x432)]!==a[_0x19e833(0x169)][_0x19e833(0x2b1)]||_0x3a5e65!=null&&_0x3a5e65[_0x19e833(0x213)]||_0x3a5e65!=null&&_0x3a5e65[_0x19e833(0x456)])return;const _0x29ed1e=_0x14a138[_0x19e833(0x328)];if((_0x29ed1e==null?void 0x0:_0x29ed1e[_0x19e833(0x475)])!==this[_0x19e833(0x3d4)])return;const _0x46c37d=_0x14a138,_0x496863=this['_compressMutationService'][_0x19e833(0x488)]['fetchThroughInterceptors'](this[_0x19e833(0x306)][_0x19e833(0x488)][_0x19e833(0x364)]()[_0x19e833(0x361)])([_0x46c37d],null)||[_0x46c37d];this[_0x19e833(0x1fb)](_0x496863[0x0]);})),_0x9977b4;}},exports[_0x274a5e(0x27b)]=Fe([j(0x3,a['Inject'](a[_0x274a5e(0x166)])),j(0x4,a['Inject'](I[_0x274a5e(0x2c9)])),j(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),j(0x6,a['Inject'](I[_0x274a5e(0x374)])),j(0x7,a[_0x274a5e(0x2bc)](exports[_0x274a5e(0x390)])),j(0x8,a['Inject'](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x274a5e(0x449)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a['Optional'](q))],exports[_0x274a5e(0x27b)]);var Si=Object[_0x274a5e(0x171)],fi=(_0x3104ec,_0x30cd05,_0x3e287b,_0x2db090)=>{for(var _0x41c329=_0x2db090>0x1?void 0x0:_0x2db090?Si(_0x30cd05,_0x3e287b):_0x30cd05,_0x3bc430=_0x3104ec['length']-0x1,_0x48502f;_0x3bc430>=0x0;_0x3bc430--)(_0x48502f=_0x3104ec[_0x3bc430])&&(_0x41c329=_0x48502f(_0x41c329)||_0x41c329);return _0x41c329;},Se=(_0x3e10da,_0x14a956)=>(_0x449b49,_0x57b754)=>_0x14a956(_0x449b49,_0x57b754,_0x3e10da);exports[_0x274a5e(0x285)]=class extends a[_0x274a5e(0x162)]{constructor(_0x351097,_0x5025c9,_0x2fdaf0,_0x3a2e0e){var _0x55b4e7=_0x274a5e,_0x195960;super(),A(this,_0x55b4e7(0x17f),new Map()),A(this,_0x55b4e7(0x1a7),new $[(_0x55b4e7(0x42c))]()),A(this,_0x55b4e7(0x338),this[_0x55b4e7(0x1a7)][_0x55b4e7(0x21d)]()),(this[_0x55b4e7(0x267)]=_0x351097,this[_0x55b4e7(0x46d)]=_0x5025c9,this['_configService']=_0x2fdaf0,this[_0x55b4e7(0x3eb)]=_0x3a2e0e,((_0x195960=this[_0x55b4e7(0x317)]['getConfig'](K))==null?void 0x0:_0x195960[_0x55b4e7(0x25c)])!==!0x1&&this[_0x55b4e7(0x3b3)]());}['dispose'](){var _0x1ae645=_0x274a5e;super[_0x1ae645(0x393)](),this[_0x1ae645(0x17f)][_0x1ae645(0x442)](_0x776085=>_0x776085[_0x1ae645(0x393)]()),this[_0x1ae645(0x17f)][_0x1ae645(0x293)]();}['getCollabEntity'](_0x134f7a){var _0x278e67=_0x274a5e,_0x15dd97;return(_0x15dd97=this[_0x278e67(0x17f)][_0x278e67(0x319)](_0x134f7a))!=null?_0x15dd97:null;}[_0x274a5e(0x2d3)](_0x2271df){var _0x34800f=_0x274a5e;const _0x4e354b=this['getCollabEntity'](_0x2271df);return _0x4e354b?$['of'](_0x4e354b):this[_0x34800f(0x1a7)]['pipe'](V[_0x34800f(0x329)](_0x40c694=>_0x40c694[_0x34800f(0x3d4)]===_0x2271df));}[_0x274a5e(0x29d)](_0x4123e2){var _0x19e4b0=_0x274a5e;return $[_0x19e4b0(0x1c1)](this[_0x19e4b0(0x2d3)](_0x4123e2)[_0x19e4b0(0x2c6)](V[_0x19e4b0(0x1e6)](()=>{})));}[_0x274a5e(0x3b3)](){var _0x511804=_0x274a5e;this[_0x511804(0x3eb)][_0x511804(0x3c8)](a['UniverInstanceType'][_0x511804(0x2ad)])['pipe']($[_0x511804(0x482)](this[_0x511804(0x149)]),V['delay'](0x10))[_0x511804(0x21b)](async _0x25b8ac=>{var _0xa611cb=_0x511804;const _0x5964a2=_0x25b8ac['getUnitId'](),_0xd85fb0=await this[_0xa611cb(0x297)](_0x5964a2,J[_0xa611cb(0x2ad)]);this[_0xa611cb(0x17f)][_0xa611cb(0x404)](_0x5964a2,_0xd85fb0);}),this[_0x511804(0x3eb)][_0x511804(0x3c8)](a[_0x511804(0x2a7)][_0x511804(0x339)])[_0x511804(0x2c6)]($[_0x511804(0x482)](this[_0x511804(0x149)]),V[_0x511804(0x201)](0x10))[_0x511804(0x2c6)](V[_0x511804(0x329)](_0x2d798f=>!_0x2d798f['getUnitId']()[_0x511804(0x477)]('__')))[_0x511804(0x21b)](async _0x4a17f8=>{var _0x2936ad=_0x511804;const _0x91cfa7=_0x4a17f8[_0x2936ad(0x398)](),_0x92ad67=await this['_startCollaboration'](_0x91cfa7,J[_0x2936ad(0x339)]);this[_0x2936ad(0x17f)][_0x2936ad(0x404)](_0x91cfa7,_0x92ad67);}),$[_0x511804(0x344)](this[_0x511804(0x3eb)][_0x511804(0x117)](a[_0x511804(0x2a7)][_0x511804(0x2ad)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x511804(0x339)]))['pipe']($[_0x511804(0x482)](this[_0x511804(0x149)]))[_0x511804(0x21b)](_0x4c9434=>{var _0x42c996=_0x511804;const _0x1de26a=_0x4c9434['getUnitId'](),_0x176fc6=this[_0x42c996(0x17f)][_0x42c996(0x319)](_0x1de26a);_0x176fc6&&(_0x176fc6[_0x42c996(0x393)](),this['_entities'][_0x42c996(0x47b)](_0x1de26a));});}async[_0x274a5e(0x297)](_0x1837c3,_0x4ea69e){var _0x3f66b8=_0x274a5e;const _0x47d524=await this[_0x3f66b8(0x46d)][_0x3f66b8(0x1f8)](_0x1837c3),_0x1880ed=this[_0x3f66b8(0x267)][_0x3f66b8(0x485)](this[_0x3f66b8(0x34e)](_0x4ea69e),_0x1837c3,_0x4ea69e,_0x47d524);return await _0x1880ed[_0x3f66b8(0x29e)](),this['_entityInit$'][_0x3f66b8(0x226)](_0x1880ed),_0x1880ed;}[_0x274a5e(0x34e)](_0x3d7fe1){var _0x496ebb=_0x274a5e;switch(_0x3d7fe1){case J['UNIVER_DOC']:return exports[_0x496ebb(0x17c)];case J[_0x496ebb(0x2ad)]:return exports[_0x496ebb(0x27b)];default:throw new Error(_0x496ebb(0x46b)+_0x3d7fe1);}}},exports[_0x274a5e(0x285)]=fi([Se(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),Se(0x1,a['Inject'](exports[_0x274a5e(0x334)])),Se(0x2,a[_0x274a5e(0x120)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var pi=Object['getOwnPropertyDescriptor'],Ii=(_0x5999be,_0x1c6d85,_0x20e8b7,_0x48ba9d)=>{var _0x46862b=_0x274a5e;for(var _0x34ea64=_0x48ba9d>0x1?void 0x0:_0x48ba9d?pi(_0x1c6d85,_0x20e8b7):_0x1c6d85,_0x48ef46=_0x5999be[_0x46862b(0x2d6)]-0x1,_0x2e3198;_0x48ef46>=0x0;_0x48ef46--)(_0x2e3198=_0x5999be[_0x48ef46])&&(_0x34ea64=_0x2e3198(_0x34ea64)||_0x34ea64);return _0x34ea64;},Ye=(_0x595eaf,_0x1c7fc0)=>(_0x5be069,_0x9ee411)=>_0x1c7fc0(_0x5be069,_0x9ee411,_0x595eaf);const gi='DEFAULT_FILE_NAME',Ei=_0x274a5e(0x372);let xe=class extends a[_0x274a5e(0x333)]{constructor(_0x3b305f,_0x542150){var _0x4bb388=_0x274a5e;super(),this[_0x4bb388(0x3eb)]=_0x3b305f,this['_configService']=_0x542150,this['_init']();}[_0x274a5e(0x3b3)](){var _0x5e3f46=_0x274a5e;this[_0x5e3f46(0x36d)](this['_univerInstanceService']['focused$'][_0x5e3f46(0x21b)](()=>{var _0x5eeed5=_0x5e3f46,_0x4de74e;const _0x3e6684=this['_univerInstanceService']['getFocusedUnit']();let _0x1394a0=(_0x4de74e=this[_0x5eeed5(0x317)]['getConfig'](gi))!=null?_0x4de74e:Ei;_0x3e6684 instanceof a[_0x5eeed5(0x3dd)]&&(_0x1394a0=_0x3e6684[_0x5eeed5(0x32c)]),document[_0x5eeed5(0x143)]=_0x1394a0;}));}};xe=Ii([Ye(0x0,a[_0x274a5e(0x3cf)]),Ye(0x1,a[_0x274a5e(0x120)])],xe);var mi=Object[_0x274a5e(0x171)],Ci=(_0x3f38e5,_0x240935,_0x34ec2a,_0x582ed5)=>{for(var _0x12ba4c=_0x582ed5>0x1?void 0x0:_0x582ed5?mi(_0x240935,_0x34ec2a):_0x240935,_0x3c53f4=_0x3f38e5['length']-0x1,_0x10d9c2;_0x3c53f4>=0x0;_0x3c53f4--)(_0x10d9c2=_0x3f38e5[_0x3c53f4])&&(_0x12ba4c=_0x10d9c2(_0x12ba4c)||_0x12ba4c);return _0x12ba4c;},Ae=(_0x47d9a7,_0x35baf6)=>(_0x446182,_0x218e2e)=>_0x35baf6(_0x446182,_0x218e2e,_0x47d9a7);let ye=class{constructor(_0x5931e9,_0x4cc2f3,_0x4eb575){var _0x4440fd=_0x274a5e;this[_0x4440fd(0x317)]=_0x5931e9,this[_0x4440fd(0x15c)]=_0x4cc2f3,this[_0x4440fd(0x29f)]=_0x4eb575,this[_0x4440fd(0x29e)]();}[_0x274a5e(0x29e)](){var _0x39e92d=_0x274a5e;this[_0x39e92d(0x15c)][_0x39e92d(0x447)]({'priority':0x1,'interceptor':(_0x29c89c,_0x1dd896)=>_0x1dd896(_0x29c89c)['pipe']($[_0x39e92d(0x44c)](async _0x121518=>{var _0x3c8444=_0x39e92d;const _0x2c8e6d=_0x121518;if(_0x2c8e6d[_0x3c8444(0x2fb)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x3c8444(0x2d5)](this[_0x3c8444(0x29f)]['t'](_0x3c8444(0x1d6)))){const _0x54dff1=window['encodeURIComponent'](window[_0x3c8444(0x19f)][_0x3c8444(0x3ca)]);window[_0x3c8444(0x19f)][_0x3c8444(0x3ca)]=this['_getLoginPath']()+_0x3c8444(0x2a5)+_0x54dff1;}}return _0x2c8e6d;}))});}['_getLoginPath'](){var _0x135fda=_0x274a5e,_0x43c1ac,_0x2338d6;const _0x18c28c=this['_configService']['getConfig'](It),_0x361b1f=this[_0x135fda(0x317)][_0x135fda(0x16d)](K);return(_0x2338d6=(_0x43c1ac=_0x361b1f==null?void 0x0:_0x361b1f['loginUrlKey'])!=null?_0x43c1ac:_0x18c28c)!=null?_0x2338d6:Wt;}};function _0x2eae(){var _0x278925=['_telemetryService','_handler','PERSON','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','COMPRESS_MUTATION_APPLY','symbol','HEARTBEAT','_map','initWorkbookPermissionChange','readAsDataURL','words','floor','ITelemetryService','/universer-api/stream/file/upload','HMAC','objects','baseRev','_nRounds','set','/-/object/-/batch_allowed','setCurrentUser','@univerjs/network','_sessions','getUnitStatus$','close$','keySize','\x20in\x20_schedule.','newCsEvent','_cipher','RichTextEditingMutation','@univerjs/docs','JOIN_ROOM_FULL','open$','_clearUndo','_commentService','infoRsp','YUUMI_RATE_OVER_LIMIT','CONNECTOR_DATA_TOO_LARGE','&source=','getGlobalObject','_doFinalize','createCollaborator','create','duration','Could\x20not\x20dynamically\x20require\x20\x22','_memberService','_timeoutTimer','rxjs','_registerDependencies','USERS_LEAVE','237ABeDMP','getSheetId','_doReset','push','find','debug','NOT_FOUND','_process','Subject','LICENSE_MAX_UNITS_EXCEEDED','registerDependencies','OPTIONAL','csRejEvent','SNAPSHOT_INVALID_SNAPSHOT','type','execute','image/bmp','USER_NOT_INVITED_CODE','MemberService','parse','_eventService','Quantity','_updateStatus','Optional','3FzZjZv','buffer','liveShareOperation','awaiting_with_pending','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onTransformIME','forEach','message$','SUBMIT_CHANGESET_TIMEOUT','CollaborationSession','put','registerHTTPInterceptor','shouldCloseConn','ICommandService','Failed\x20to\x20update\x20permission\x20point','\x0aCurrent:\x20','concatMap','_collaborationSessionService','_undoRedoService','UNKNOWN_CODE','createDecryptor','__Key__','originalMeta','HmacSHA1','_updateLocalCache','LICENSE_DISTRO_REJECTED','onlyLocal','reconnect','COLLAB_WEB_SOCKET_URL','CollaborativeUndoRedoService','ILogService','_mode','abs','objectType','image/png','session','key','_onConnectionOpen','_transformIMECache','_unitID','default','toggleOffline','_roomMembers','WECHAT_HAS_BEEN_BOUND','Error\x20on\x20receiving\x20event','post','transformMutationsWithChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','byteOffset','_collabSessionService','@univerjs/core','getSnapshotAPIPath','/collaborator','image/jpg','resourceIDs','session.room-not-exists','authzUrl','unitId','collaboration-client.config','startsWith','_prevBlock','size','univer-pro.collaboration-client.single-active-unit-service','delete','fetchMissingChangesets','UNIVER_SLIDE','CLOSE_ROOM','INGEST','_retryCount','/role','takeUntil','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_unitInfo$','createInstance','_sender','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','interceptor','_startTelemetryCollaborationNewChangeset','HttpExport','headers','/-/object/list','_iKey','OpenSSL','getImageSourceCache','session.room-cnt-exceeds','MOBILE_HAS_BEEN_BOUND','[OfflineState]:\x20received\x20acknowledgement.','LIVESHARE_NEW_HOST','getTypeOfUnitDisposed$','CHANGESET_REVISION_CONFILICT','_event$','event$','SNAPSHOT_HAS_BEEN_REMOVED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','lib','submit\x20changeset\x20error!','IConfigService','c1Prime','_socket$','clamp','transformStack\x20failed!','YUUMI_URL_COL_OUT_OF_RANGE','random','ONLINE','_fetchMissChangesets','_acknowledgedAwaitingChangeset','UserManagerService','SOCKET_FAILED_RETRY','sid','ISnapshotServerService','Rectangle','csShouldRetryEvent','LocaleService','_permissionService','_getAPIPrefixPath','readInt32LE','sessionStatus$','_getDownloadEndpointURL','Tools','Utf8','_pendingMutations','LOGIN_URL_KEY','HEARTBEAT_TIMEOUT','stringify','_onConflict','salt','defineProperty','HTTPService','Hasher','_members$','collaMsg','title','reqId','localCacheService','_onFetchMissResult','UserProfileImg','ivSize','dispose$','listCollaborators','unit-cache-','YUUMI_ALL_TABLES_IS_INVALID','_getAPIPrefix','exports','_hasher','unsubscribe','addHandlerCallback','NOT_COLLAB','updatePermissionPoint','SEND_CHANGESET_TIMEOUT','Decryptor','mixIn','onMissingChangesets','repeat','_state$','JOIN','session.room-full','_httpService','_clearTimeoutTimer','OfflineState','editingUnit','AUTHZ_URL_KEY','string','RxDisposable','entries','byteLength','[CollaborationSessionService]','Injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationSession]','CommandType','concat','uploadFileServerUrl','_stopTelemetryCollaborationNewChangeset','getConfig','transformSelections','YUUMI_NO_CUBOID_FOR_QUESTION','_scheduleCollaborationTimeoutTimer','getOwnPropertyDescriptor','_transformStack','INVITE_CODE_REQUIRED','onTransformRemoteChangesetByIMECache','apply','ReplaySubject','getLatestCsReqIdBySid','_emitMembers','UPDATE_CURSOR','encrypt','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','DocCollaborationEntity','getLocalCacheKey','_snapshotService','_entities','c2Prime','indexOf','x-univer-host','\x20-\x20','_socketReady','onSendChangeset','_tryReconnect','6514376ZjwdPT','cfg','JOIN_ROOM_FAILED','_socket','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','refreshPermission','cmd','427410JjKKAK','onTransformState','_transformRemoteChangesetByStateCache','DependentOn','subUnitId','HmacMD5','_handlerCallback','_getRedoStack','ImageSourceType','CollaborationEvent','BlockCipherMode','fetchMiss','isArray','OTHER_CLIENTS_EDITING','_applyRemoteChangeset','CipherParams','file','location','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','putCollaborators','BASE64','UNAUTHENTICATED','function','offline','patch','_entityInit$','code','_unlockTransition','SNAPSHOT_URL_KEY','UNIVER_COLLABORATION_CLIENT_PLUGIN','listRoles','CollaborationStatus','AuthzIoHttpService','origin','_singleActiveUnitService','SyncedState','/allowed','setShowComponents','synced','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_nDataBytes','textRanges','BufferedBlockAlgorithm','from','toDisposable','collaboratorID','LEAVE','_resendTimer','_networkConditionService','APPLY_PERMISSION_DENIED','encode','firstValueFrom','joinEvent','hasOwnProperty','/universer-api/snapshot','onRemoteRetry','randomBytes','_getCurrentRevision','SheetPermissionInitController','objectActions','sessionStatus','_oKey','FileId','actions','algo','_waitCount','_incrementRevisionNumber','extend','parseProtocolChangeset','30lxsjTV','_toggleOnline','20912hUytPO','auth.needGotoLoginAlert','roomInfos','_resendWithTimeout','SessionStatus','getMemberID','getUnitOnRev','conflict','sendChangesetTimeout','[CollaborationSessionService]:\x20socket\x20error','_doProcessBlock','onStarting','UnitStatus','Pkcs7','_socketService','_toggleOffline','collaboration_new_changeset','map','PSEUDO_FETCH_MISSING_RESULT','leaveEvent','msCrypto','sequenceExecute','[FetchMissState]','152jDHvMz','isPermissionRej','transformChangesets','send','MentionIoHttpService','signUrlServerUrl','list','BehaviorSubject','_collaborationUIEventService','editing\x20status\x20changed\x20to','CollaborationEntity','[OfflineState]:\x20received\x20rejection.','requireSession','saveSheetBlock','_joinRoom','_onLocalMutation','SUBMIT_CHANGESET','TOO_MANY_REQUESTS','SUCCUSS','isInternalEditorID','connection\x20error','delay','JOINING','MSG_FOR_ERROR','max','_append','SnapshotServerOverHTTPService','incrementRevOfUnit','ERROR_IMAGE_TYPE','_initRequestHeader','_invKeySchedule','ISingleActiveUnitService','awaitingChangeset','CollaborationUIEventService','getDeserializedSheetBlock','@univerjs-pro/license','withCredentials','[PendingState]:\x20received\x20rejection.','_replaceFileID','fromCollab','deserializeToCombResponse','getResourcesRequest','UnitSnapshot','DataLoaderService','_transformUndoredo','COLLAB_SUBMIT_CHANGESET_URL','fetching\x20missing\x20changesets\x20from\x20','subscribe','UNDEFINED','asObservable','INVITE_CODE_HAS_BEEN_UES','onMissedChangesetFetched','retryConnectingInterval','kdf','fromCharCode','JSONX','processBlock','removeMember','next','_hash','_ENC_XFORM_MODE','[OfflineState]:\x20received\x20changeset.','Cipher','update','isTransformMutationsWithChangesetSuccess','_clearHeartbeatTimer','slice','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/object/','_removeRoom','Base','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetBlock','url','CHANGESET_SHOULD_RETRY','__creator','touchDependencies','UniverCollaborationPlugin','HELLO','_createInitialStateImpl','min','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_xformMode','UniverNetworkPlugin','_createHandler','onRemoteRej','UUID','MD5','memberID','_decreaseWaiting','CONFLICT','_onRemoteChangeset','session.room-permission-denied','UNIVER_UNKNOWN','EvpKDF','data','revision','_commandService','_lockTransition','COLLAB_SUBMIT_CHANGESET_URL_KEY','onTransformRemoteChangesetByStateCache','uuidv4','373326zfeOHL','Base64','_updateState','_collaborationTimeoutTimer','UnitEmbedded','getRandomValues','createSocket','result','ThresholdInterceptorFactory','_createSocket','enableCollaboration','PY_RUNTIME_SCRIPT_ERROR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_schedule','{fileID}','members$','resolve','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','responseType','_executeRemoteChangeset','not_collab','_injector','AWAITING_WITH_PENDING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','members','LOCAL_CACHE_INTERVAL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRemoteACK','_getSignURL','_checkMissing','getAllMembers','appendMutation','getValue','eventID','_undoStacks','OFFLINE','APPLY_DUPLICATED','\x0aAfter:\x20','clone','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fetchThroughInterceptors','SheetCollaborationEntity','_remoteChangesetQueue','_onJoinRoomEvent','_revisionService','/block/','waitForRoom$','target','CollaborationImageIoService','?size=','charAt','CollaborationController','/universer-api/uniscript','online$','onRemoteChangeset','updateCursorEvent','changesets','compose','_changesetSessionId','reset','close','setWaitCount','hasher','loadUnit','collabSubmitChangesetUrl','clear','onTransformSelections','_initMergeInterceptor','CHANGESET_REJ','_startCollaboration','_listenToNetworkCondition','FetchingMissState','2079324bSPMiR','routeKey','_reverseMap','readyForCollab','init','localeService','@univerjs-pro/collaboration','[CollaborationUndoRedoService]','IImageIoService','isTransformChangesetsSuccess','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','?url=','sin','UniverInstanceType','@univerjs/drawing','188608MSbpIk','finalize','b64DecodeUnicode','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNIVER_SHEET','loadDoc','AwaitingWithPendingState','has','MUTATION','/universer-api/comb','_throwTelemetryCollaborationNewChangeset','[UniverCollaborationClientPlugin]','collabWebSocketUrl','decrypt','save\x20fail\x20reason\x20is\x20','socketService','encryptBlock','HEARTBEAT_TIMEOUT_KEY','getImage','Inject','_onUserJoin','/universer-api/oidc/authpage','blockSize','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','EmptyMutation','MergeInterceptorFactory','LICENSE_IMPORT_SIZE_EXCEEDED','PendingState','pipe','commentUpdate$','generateRandomId','CompressMutationService','AES','_key','APPLY_REJECT','NoPadding','ENSURE_SNAPSHOT_EXECUTION','getFocusedUnit','error$','Plugin','/universer-api/file/{fileID}/sign-url','getCollabEntity$','_getSendChangesetTimeout','confirm','length','_initUnitPermissionChange','joinRsp','__esModule','liveShareNewHost','/fetchmissing?from=','objectID','_disableEditing','_candidateSocket','parseChangesetToProtocol','SHOULD_CLOSE_CONN','getUnitType','YUUMI_UNABLE_LOAD_URL','_logService','reduce','_collaborationPaused','_onOffline','APPLY_NON_SEQUENTIAL_REVISION','awaiting','SHA1','join','RETRY_CONNECTING_MAX_COUNT_KEY','roles','PasswordBasedCipher','UNRECOGNIZED','_waitForHeartbeatResponse','ImageUploadStatusType','sheets','_iv','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_resendTimeout','PERMISSION_REJ','LOCAL_CACHE_INTERVAL_KEY','pad','_syncEditingCollabCursor','method','YUUMI_AI_RUN_FAILED','status','onRemoteAck','WordArray','ISocketService','Encryptor','now','JOIN_ROOM_PERMISSION_DENIED','INVALID_ARGUMENT','_onMessage','SheetsSelectionsService','COMMENT_UPDATE','_compressMutationService','_doCryptBlock','INVITE_CODE_ALREADY_BOUND','_config','NEW_CHANGESETS','status$','ITransformService','AwaitingState','_retryConnectingTimer','updateSnapshot','ceil','_onRemoteRejected','Undefined','range','uniscriptRunEvent','NO_OTHER_CLIENTS_EDITING','mode','_configService','loadUnitOfRevision','get','_createHmacHelper','avatar','permissionRejEvent','COMPLETION_FINISHED','format','_clearRetryConnectingTimer','getMember','_type','ws://127.0.0.1:8000/universer-api/comb/connect','/rev/','allowed','_change$','deleteCollaborator','YUUMI_ASYNCIO_CANCELLED','params','filter','_replayCachedMutations','_telemetryInfo','name','CollaborationSocketService','_onRecvEvent','IPermissionService','_createInitialState','CBC','toStringTag','Disposable','CollaborationSessionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','PERMISSION_DENIED','_showConflictNotification','entityInit$','UNIVER_DOC','isTransformMutationsWithChangesetFailure','_createHelper','commentUpdateEvent','onSyncEditingCollabCursor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getCurrentUser','_substituteRedoStack','_userManagerService','_members','reject','merge','UNKNOWN_CMD','FAIL','_HTTPService','SOCKET_FAILED','DisposableCollection','take','emitEvent','_imageSourceCache','JOIN_ROOM_NOT_EXISTS','_getCtorByUniverType','transformUndoRedo','_onConnectionFailed','userID','LIVESHARE_REQUEST_HOST','includes','m2Prime','_clearRedo','univer-pro.collaboration-client-socket-service','loadSheet','/new_changes','sigBytes','_socketMessageSubscription','substr','requestParams','SEND_CHANGESET_TIMEOUT_KEY','_substituteUndoStack','socket\x20close','@univerjs/telemetry','COMPRESS_MUTATION_SEND','_shouldReportTelemetry','prototype','getInterceptPoints','saveImage','People','USERS_ENTER','/universer-api/authz','call','_queuedRemoteChangesets','_minBufferSize','_sendHeartbeatTimer','disposeWithMe','mutations','INTERNAL_ERROR','SnapshotService','updateMember','Univer','UNISCRIPT_RUN','RevisionService','LIVESHARE_FETCH_OPERATIONS','SerializableCipher','then','_parse','SNAPSHOT_SERVER_URL_KEY','_transformRemoteChangesetByIMECache','HttpImport','rev','_localeService','INetworkConditionService','_state','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','toggleOnline','UniverCollaborationClientPlugin','_onUserLeave','IUndoRedoService','_awaitingChangeset','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_tryEnsureSocket','INVALID_INVITE_CODE','getCurrentRevOfUnit','_localCacheService','unitInfo$','LocalUndoRedoService','_rescheduleHeartbeat','state$','createIdentifier','SheetTransformSelectionsService','APPLY_REVISION_CONFILICT','$super','dispose','compute','_transformStateCache','_exhaustRemoteChangesetQueue','ALREADY_EXISTS','getUnitId','every','mapDocumentTypeToUniverType','collaborators','_transformService','ConflictState','body','_changesetReqId','_redoStacks','crypto','complete','univer-pro.collaboration-client.network-condition.service','6231444PtkgHG','@univerjs/sheets','26BJvrAo','splice','getActiveSheet','_keySchedule','saveSnapshot','mergeOverrideWithDependencies','_clearLocalCache','reverse','updateOfflineData','YUUMI_SUBSCRIPTION_NOT_FOUND','_instanceService','POST','_scheduleCompleteTimestamp','_init','LIVESHARE_OPERATION','unpad','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','enc','_initCloseConn','IContextService','add','selections','replace','padding','_sessionStatus$','onCommentUpdate','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','OTHER_CLIENT_EDITING','resend','WorkbookEditablePermission','stopTime','_status$','error','getTypeOfUnitAdded$','_commentUpdate$','href','_transitionLocked','findIndex','&assign=','getUnit','IUniverInstanceService','RECV','MentionType','EMAIL_HAS_BEEN_BOUND','CHANGESET_ACK','unitID','_getUndoStack','LIVESHARE_TERMINATE','toString','textEncoder','_onCombEvent','ciphertext','_clearScheduledTask','BlockCipher','Workbook','createEncryptor','[DataLoaderService]','_sendingTimer','_roomCreated$','_isPermissionRej','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ERROR_IMAGE','catch','SetSelectionsOperation','IDLE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','GLOBAL_ROOMS_CNT_EXCEEDS','_data','_univerInstanceService','executeCommand','ILocalCacheService','unknown','10GxCAIS','IAuthzIoService','rxjs/operators'];_0x2eae=function(){return _0x278925;};return _0x2eae();}ye=Ci([Ae(0x0,a[_0x274a5e(0x120)]),Ae(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)])),Ae(0x2,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)]))],ye);var Ti=Object[_0x274a5e(0x171)],bi=(_0x5d547e,_0x2880c1,_0x219e4f,_0x25fd3d)=>{var _0x1ae4f5=_0x274a5e;for(var _0x390528=_0x25fd3d>0x1?void 0x0:_0x25fd3d?Ti(_0x2880c1,_0x219e4f):_0x2880c1,_0x3daba7=_0x5d547e[_0x1ae4f5(0x2d6)]-0x1,_0x59687c;_0x3daba7>=0x0;_0x3daba7--)(_0x59687c=_0x5d547e[_0x3daba7])&&(_0x390528=_0x59687c(_0x390528)||_0x390528);return _0x390528;},qe=(_0x3c42ab,_0x50f393)=>(_0x1fecd1,_0x2c4b4d)=>_0x50f393(_0x1fecd1,_0x2c4b4d,_0x3c42ab);const Ve=_0x274a5e(0x160),Ri=_0x274a5e(0x368);exports[_0x274a5e(0x1ae)]=class extends a[_0x274a5e(0x333)]{constructor(_0x85dfa4,_0xed6f29){var _0x24b573=_0x274a5e;super(),this[_0x24b573(0x347)]=_0x85dfa4,this[_0x24b573(0x317)]=_0xed6f29,this['_initMergeInterceptor']();}[_0x274a5e(0x295)](){var _0x284c86=_0x274a5e;const _0x39c777=this;this['disposeWithMe'](this[_0x284c86(0x347)][_0x284c86(0x447)]({'priority':0x3e7,'interceptor':Y[_0x284c86(0x2c3)]({'isMatch'(_0x43614a){var _0x2cfa91=_0x284c86,_0x2f6a41;if(_0x43614a[_0x2cfa91(0x2f9)]==='POST'&&((_0x2f6a41=_0x43614a[_0x2cfa91(0x35c)])!=null&&_0x2f6a41['body'])){const {objectID:_0x1b5b7e,objectType:_0x40d569}=_0x43614a[_0x2cfa91(0x35c)][_0x2cfa91(0x39e)]||{};if(!_0x1b5b7e||_0x40d569===void 0x0)return!0x1;const _0x2bed2c=_0x39c777[_0x2cfa91(0x132)]()+'/'+_0x40d569+_0x2cfa91(0x230)+_0x1b5b7e+_0x2cfa91(0x1b2);if(_0x43614a[_0x2cfa91(0x235)]===_0x2bed2c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3af64a){var _0x3eb10e=_0x284c86,_0x20677c;return(_0x20677c=_0x3af64a[_0x3eb10e(0x35c)])==null?void 0x0:_0x20677c[_0x3eb10e(0x39e)];},'mergeParamsToRequest'(_0x5cbbfc,_0x4ddd86){var _0x2c03a0=_0x284c86;const _0x29d130=_0x39c777[_0x2c03a0(0x132)]()+'/-/object/-/batch_allowed',_0x1341ca=_0x5cbbfc['reduce']((_0x517b19,_0x41dcc1)=>{const {unitID:_0x385227,objectID:_0x4ff73d,objectType:_0x441e74,actions:_0x3376fb}=_0x41dcc1;return _0x517b19[_0x385227]||(_0x517b19[_0x385227]={}),_0x517b19[_0x385227][_0x4ff73d]||(_0x517b19[_0x385227][_0x4ff73d]={'objectID':_0x4ff73d,'objectType':_0x441e74,'actions':[]}),_0x517b19[_0x385227][_0x4ff73d]['actions']['push'](..._0x3376fb),_0x517b19;},{}),_0x181430=[];for(const _0x44cdc9 in _0x1341ca)for(const _0x13ee35 in _0x1341ca[_0x44cdc9]){const {actions:_0x547209,objectType:_0x30ddaf}=_0x1341ca[_0x44cdc9][_0x13ee35],_0x15a243=[...new Set(_0x547209)];_0x181430[_0x2c03a0(0x427)]({'unitID':_0x44cdc9,'objectID':_0x13ee35,'objectType':_0x30ddaf,'actions':_0x15a243});}return new Y['HTTPRequest'](_0x2c03a0(0x3b1),_0x29d130,{'headers':_0x4ddd86[_0x2c03a0(0x10e)],'withCredentials':_0x4ddd86[_0x2c03a0(0x210)],'responseType':_0x4ddd86[_0x2c03a0(0x264)],'body':{'requests':_0x181430}});}},{'distributeResult'(_0x5243c0,_0x3312c9){const {objectActions:_0x6192b2}=_0x5243c0;return _0x3312c9['map'](_0x45ffee=>{var _0x38c4bf=_0x3799;const {unitID:_0x2f160f,objectID:_0x3d009a,actions:_0x3f17bf}=_0x45ffee,_0x28093c=_0x6192b2[_0x38c4bf(0x428)](_0x40375c=>_0x40375c['unitID']===_0x2f160f&&_0x40375c[_0x38c4bf(0x2dc)]===_0x3d009a),_0x7bac97=_0x3f17bf[_0x38c4bf(0x1e6)](_0x2b65df=>_0x28093c==null?void 0x0:_0x28093c['actions'][_0x38c4bf(0x428)](_0x8ae737=>_0x8ae737['action']===_0x2b65df))['filter'](_0x5ba052=>!!_0x5ba052);return{'config':_0x45ffee,'result':{'actions':_0x7bac97,'error':_0x5243c0[_0x38c4bf(0x3c7)]}};});}})}));}[_0x274a5e(0x132)](){var _0x805f36=_0x274a5e,_0x3727f9,_0x548e26;const _0x4749d2=this[_0x805f36(0x317)][_0x805f36(0x16d)](Ve),_0x1d9a93=this[_0x805f36(0x317)][_0x805f36(0x16d)](K);return(_0x548e26=(_0x3727f9=_0x1d9a93==null?void 0x0:_0x1d9a93['authzUrl'])!=null?_0x3727f9:_0x4749d2)!=null?_0x548e26:Ri;}async[_0x274a5e(0x41c)](_0x3e29da){var _0x4e1761=_0x274a5e;const _0x5234ea=this[_0x4e1761(0x132)]()+'/'+_0x3e29da[_0x4e1761(0x45d)]+'/object';return(await this[_0x4e1761(0x347)][_0x4e1761(0x469)](_0x5234ea,{'body':_0x3e29da}))[_0x4e1761(0x39e)][_0x4e1761(0x2dc)]||'';}async[_0x274a5e(0x1f2)](_0x4d8dfb){var _0x24b366=_0x274a5e;const _0x4723dc=this['_getAPIPrefixPath']()+_0x24b366(0x10f);return(await this[_0x24b366(0x347)][_0x24b366(0x469)](_0x4723dc,{'body':_0x4d8dfb}))['body'][_0x24b366(0x401)];}async['update'](_0x2e10cf){var _0x9b15e=_0x274a5e,_0xb28960,_0x2057d9;const _0x10c7cc=this[_0x9b15e(0x132)]()+'/'+_0x2e10cf['objectType']+'/object/'+_0x2e10cf[_0x9b15e(0x2dc)],_0xf60ab2=await this['_HTTPService'][_0x9b15e(0x446)](_0x10c7cc,{'body':_0x2e10cf});if(((_0x2057d9=(_0xb28960=_0xf60ab2==null?void 0x0:_0xf60ab2[_0x9b15e(0x39e)])==null?void 0x0:_0xb28960['error'])==null?void 0x0:_0x2057d9['code'])!==0x1)throw new Error(_0x9b15e(0x44a));}async[_0x274a5e(0x324)](_0x210394){var _0x4c628f=_0x274a5e;const _0x67fbf9=this['_getAPIPrefixPath']()+'/'+_0x210394[_0x4c628f(0x45d)]+_0x4c628f(0x230)+_0x210394[_0x4c628f(0x2dc)]+_0x4c628f(0x1b2);return(await this[_0x4c628f(0x347)][_0x4c628f(0x469)](_0x67fbf9,{'body':_0x210394}))[_0x4c628f(0x39e)][_0x4c628f(0x1cd)];}async['batchAllowed'](_0xb1b6d8){var _0x5ef2f5=_0x274a5e;const _0x13f8f9=this[_0x5ef2f5(0x132)]()+_0x5ef2f5(0x405);return(await this['_HTTPService'][_0x5ef2f5(0x469)](_0x13f8f9,{'body':{'requests':_0xb1b6d8}}))[_0x5ef2f5(0x39e)][_0x5ef2f5(0x1c9)];}async[_0x274a5e(0x1ac)](_0x457230){var _0x50356d=_0x274a5e;const _0x1940be=this[_0x50356d(0x132)]()+'/'+_0x457230[_0x50356d(0x45d)]+_0x50356d(0x481),_0x4998ff=await this[_0x50356d(0x347)]['post'](_0x1940be,{'body':_0x457230});return{'roles':_0x4998ff['body'][_0x50356d(0x2ec)],'actions':_0x4998ff[_0x50356d(0x39e)][_0x50356d(0x1cd)]};}async[_0x274a5e(0x326)](_0x16d046){var _0x3c1745=_0x274a5e;const _0x45008b=this[_0x3c1745(0x132)]()+'/collaborator';await this[_0x3c1745(0x347)][_0x3c1745(0x47b)](_0x45008b,{'params':{'collaboratorID':_0x16d046[_0x3c1745(0x1bb)],'objectID':_0x16d046[_0x3c1745(0x2dc)],'unitID':_0x16d046['unitID']}});}async['updateCollaborator'](_0x9fba9e){var _0x53b5b0=_0x274a5e;const _0x700a50=this[_0x53b5b0(0x132)]()+_0x53b5b0(0x470);await this[_0x53b5b0(0x347)][_0x53b5b0(0x1a6)](_0x700a50,{'body':_0x9fba9e});}async[_0x274a5e(0x41b)](_0x397a8b){var _0x1cb30f=_0x274a5e;const _0x2c51bf=this[_0x1cb30f(0x132)]()+_0x1cb30f(0x470);await this[_0x1cb30f(0x347)][_0x1cb30f(0x469)](_0x2c51bf,{'body':_0x397a8b});}async[_0x274a5e(0x14a)](_0x245636){var _0x33c083=_0x274a5e;const _0x430897=this[_0x33c083(0x132)]()+_0x33c083(0x470);return(await this[_0x33c083(0x347)][_0x33c083(0x319)](_0x430897,{'params':{'objectID':_0x245636['objectID'],'unitID':_0x245636[_0x33c083(0x3d4)]}}))['body'][_0x33c083(0x39b)];}async[_0x274a5e(0x1a1)](_0x1dd8b9){var _0x2e1a84=_0x274a5e;const _0x12f8ef=this[_0x2e1a84(0x132)]()+_0x2e1a84(0x470);await this[_0x2e1a84(0x347)]['put'](_0x12f8ef,{'body':_0x1dd8b9});}},exports['AuthzIoHttpService']=bi([qe(0x0,a['Inject'](Y[_0x274a5e(0x13f)])),qe(0x1,a['Inject'](a[_0x274a5e(0x120)]))],exports[_0x274a5e(0x1ae)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x399f33){var _0x4c007f=_0x274a5e;return _0x399f33&&_0x399f33[_0x4c007f(0x2d9)]&&Object[_0x4c007f(0x363)][_0x4c007f(0x1c3)]['call'](_0x399f33,_0x4c007f(0x464))?_0x399f33[_0x4c007f(0x464)]:_0x399f33;}var fe={'exports':{}};function Oi(_0x1fc4d1){var _0x2872c6=_0x274a5e;throw new Error(_0x2872c6(0x41e)+_0x1fc4d1+_0x2872c6(0x2ac));}var pe={'exports':{}},yi=pe['exports'],ze;function Q(){var _0x4d010d=_0x274a5e;return ze||(ze=0x1,function(_0x441436,_0x4af8c9){(function(_0x48706b,_0x2cb802){var _0xe73a1e=_0x3799;_0x441436[_0xe73a1e(0x14e)]=_0x2cb802();}(yi,function(){var _0x5b09e3=_0x5b09e3||function(_0x2d3fde,_0x47ea33){var _0x4cb9bc=_0x3799,_0x3f9529;if(typeof window<'u'&&window[_0x4cb9bc(0x3a1)]&&(_0x3f9529=window[_0x4cb9bc(0x3a1)]),typeof self<'u'&&self[_0x4cb9bc(0x3a1)]&&(_0x3f9529=self[_0x4cb9bc(0x3a1)]),typeof globalThis<'u'&&globalThis[_0x4cb9bc(0x3a1)]&&(_0x3f9529=globalThis[_0x4cb9bc(0x3a1)]),!_0x3f9529&&typeof window<'u'&&window['msCrypto']&&(_0x3f9529=window[_0x4cb9bc(0x1e9)]),!_0x3f9529&&typeof Pe<'u'&&Pe[_0x4cb9bc(0x3a1)]&&(_0x3f9529=Pe[_0x4cb9bc(0x3a1)]),!_0x3f9529&&typeof Oi==_0x4cb9bc(0x1a4))try{_0x3f9529=require(_0x4cb9bc(0x3a1));}catch{}var _0x35ab46=function(){var _0x1bd961=_0x4cb9bc;if(_0x3f9529){if(typeof _0x3f9529['getRandomValues']=='function')try{return _0x3f9529[_0x1bd961(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f9529[_0x1bd961(0x1c6)]==_0x1bd961(0x1a4))try{return _0x3f9529[_0x1bd961(0x1c6)](0x4)[_0x1bd961(0x133)]();}catch{}}throw new Error(_0x1bd961(0x3c1));},_0x237b1a=Object['create']||(function(){function _0x5267c5(){}return function(_0x26b712){var _0x50a77a=_0x3799,_0x204c75;return _0x5267c5[_0x50a77a(0x363)]=_0x26b712,_0x204c75=new _0x5267c5(),_0x5267c5['prototype']=null,_0x204c75;};}()),_0x2a0a6e={},_0x3ceb83=_0x2a0a6e[_0x4cb9bc(0x11e)]={},_0x19d81e=_0x3ceb83[_0x4cb9bc(0x232)]=(function(){return{'extend':function(_0x3de071){var _0x506d03=_0x3799,_0x17c3b2=_0x237b1a(this);return _0x3de071&&_0x17c3b2[_0x506d03(0x156)](_0x3de071),(!_0x17c3b2[_0x506d03(0x1c3)](_0x506d03(0x29e))||this[_0x506d03(0x29e)]===_0x17c3b2['init'])&&(_0x17c3b2[_0x506d03(0x29e)]=function(){var _0x2d7f7c=_0x506d03;_0x17c3b2[_0x2d7f7c(0x392)][_0x2d7f7c(0x29e)][_0x2d7f7c(0x175)](this,arguments);}),_0x17c3b2['init'][_0x506d03(0x363)]=_0x17c3b2,_0x17c3b2['$super']=this,_0x17c3b2;},'create':function(){var _0x24f0d4=_0x3799,_0x2b3f99=this[_0x24f0d4(0x1d1)]();return _0x2b3f99['init'][_0x24f0d4(0x175)](_0x2b3f99,arguments),_0x2b3f99;},'init':function(){},'mixIn':function(_0x10a17f){var _0x271922=_0x3799;for(var _0x369fcf in _0x10a17f)_0x10a17f[_0x271922(0x1c3)](_0x369fcf)&&(this[_0x369fcf]=_0x10a17f[_0x369fcf]);_0x10a17f[_0x271922(0x1c3)]('toString')&&(this[_0x271922(0x3d7)]=_0x10a17f[_0x271922(0x3d7)]);},'clone':function(){var _0x50004d=_0x3799;return this['init'][_0x50004d(0x363)][_0x50004d(0x1d1)](this);}};}()),_0x1a2f0b=_0x3ceb83[_0x4cb9bc(0x2fd)]=_0x19d81e[_0x4cb9bc(0x1d1)]({'init':function(_0x52923f,_0x26be63){var _0x3e6f70=_0x4cb9bc;_0x52923f=this['words']=_0x52923f||[],_0x26be63!=_0x47ea33?this['sigBytes']=_0x26be63:this[_0x3e6f70(0x359)]=_0x52923f[_0x3e6f70(0x2d6)]*0x4;},'toString':function(_0x263a0b){return(_0x263a0b||_0x508b9c)['stringify'](this);},'concat':function(_0xf9012e){var _0x21a9be=_0x4cb9bc,_0xa1b061=this['words'],_0x598533=_0xf9012e['words'],_0x394e98=this[_0x21a9be(0x359)],_0x50fc69=_0xf9012e[_0x21a9be(0x359)];if(this['clamp'](),_0x394e98%0x4)for(var _0x4b6f43=0x0;_0x4b6f43<_0x50fc69;_0x4b6f43++){var _0x3c7408=_0x598533[_0x4b6f43>>>0x2]>>>0x18-_0x4b6f43%0x4*0x8&0xff;_0xa1b061[_0x394e98+_0x4b6f43>>>0x2]|=_0x3c7408<<0x18-(_0x394e98+_0x4b6f43)%0x4*0x8;}else{for(var _0xcfa79=0x0;_0xcfa79<_0x50fc69;_0xcfa79+=0x4)_0xa1b061[_0x394e98+_0xcfa79>>>0x2]=_0x598533[_0xcfa79>>>0x2];}return this['sigBytes']+=_0x50fc69,this;},'clamp':function(){var _0xa65e3f=_0x4cb9bc,_0x44fb96=this[_0xa65e3f(0x3fc)],_0x338162=this[_0xa65e3f(0x359)];_0x44fb96[_0x338162>>>0x2]&=0xffffffff<<0x20-_0x338162%0x4*0x8,_0x44fb96['length']=_0x2d3fde[_0xa65e3f(0x310)](_0x338162/0x4);},'clone':function(){var _0x148c33=_0x4cb9bc,_0x5eed8d=_0x19d81e[_0x148c33(0x278)]['call'](this);return _0x5eed8d[_0x148c33(0x3fc)]=this[_0x148c33(0x3fc)]['slice'](0x0),_0x5eed8d;},'random':function(_0x34d524){var _0x353322=_0x4cb9bc;for(var _0xacd1f9=[],_0x3ac710=0x0;_0x3ac710<_0x34d524;_0x3ac710+=0x4)_0xacd1f9['push'](_0x35ab46());return new _0x1a2f0b[(_0x353322(0x29e))](_0xacd1f9,_0x34d524);}}),_0x87c3c1=_0x2a0a6e[_0x4cb9bc(0x3b8)]={},_0x508b9c=_0x87c3c1['Hex']={'stringify':function(_0x3d75f1){var _0x5c8d7a=_0x4cb9bc;for(var _0x12846c=_0x3d75f1['words'],_0x18e50e=_0x3d75f1[_0x5c8d7a(0x359)],_0x3f145d=[],_0x26edb9=0x0;_0x26edb9<_0x18e50e;_0x26edb9++){var _0x1d594d=_0x12846c[_0x26edb9>>>0x2]>>>0x18-_0x26edb9%0x4*0x8&0xff;_0x3f145d[_0x5c8d7a(0x427)]((_0x1d594d>>>0x4)['toString'](0x10)),_0x3f145d[_0x5c8d7a(0x427)]((_0x1d594d&0xf)[_0x5c8d7a(0x3d7)](0x10));}return _0x3f145d[_0x5c8d7a(0x2ea)]('');},'parse':function(_0x40ca9e){var _0x286fd5=_0x4cb9bc;for(var _0x43461d=_0x40ca9e[_0x286fd5(0x2d6)],_0x60b3c0=[],_0x413a9d=0x0;_0x413a9d<_0x43461d;_0x413a9d+=0x2)_0x60b3c0[_0x413a9d>>>0x3]|=parseInt(_0x40ca9e[_0x286fd5(0x35b)](_0x413a9d,0x2),0x10)<<0x18-_0x413a9d%0x8*0x4;return new _0x1a2f0b[(_0x286fd5(0x29e))](_0x60b3c0,_0x43461d/0x2);}},_0xc3bd13=_0x87c3c1['Latin1']={'stringify':function(_0x7f689b){var _0x44fa3b=_0x4cb9bc;for(var _0x41b2e9=_0x7f689b['words'],_0xe4581c=_0x7f689b[_0x44fa3b(0x359)],_0x12efe9=[],_0x56e7a3=0x0;_0x56e7a3<_0xe4581c;_0x56e7a3++){var _0x105402=_0x41b2e9[_0x56e7a3>>>0x2]>>>0x18-_0x56e7a3%0x4*0x8&0xff;_0x12efe9['push'](String[_0x44fa3b(0x222)](_0x105402));}return _0x12efe9[_0x44fa3b(0x2ea)]('');},'parse':function(_0x274f6f){var _0x344fe2=_0x4cb9bc;for(var _0x354373=_0x274f6f[_0x344fe2(0x2d6)],_0x1eba5b=[],_0x53ad0e=0x0;_0x53ad0e<_0x354373;_0x53ad0e++)_0x1eba5b[_0x53ad0e>>>0x2]|=(_0x274f6f[_0x344fe2(0x2c0)](_0x53ad0e)&0xff)<<0x18-_0x53ad0e%0x4*0x8;return new _0x1a2f0b[(_0x344fe2(0x29e))](_0x1eba5b,_0x354373);}},_0x5aab39=_0x87c3c1[_0x4cb9bc(0x137)]={'stringify':function(_0xa56ac6){var _0x371631=_0x4cb9bc;try{return decodeURIComponent(escape(_0xc3bd13[_0x371631(0x13b)](_0xa56ac6)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x569658){var _0x1c1b70=_0x4cb9bc;return _0xc3bd13[_0x1c1b70(0x437)](unescape(encodeURIComponent(_0x569658)));}},_0x399b93=_0x3ceb83[_0x4cb9bc(0x1b8)]=_0x19d81e[_0x4cb9bc(0x1d1)]({'reset':function(){var _0xa8d546=_0x4cb9bc;this[_0xa8d546(0x3ea)]=new _0x1a2f0b[(_0xa8d546(0x29e))](),this[_0xa8d546(0x1b6)]=0x0;},'_append':function(_0x391dd7){var _0x692cdb=_0x4cb9bc;typeof _0x391dd7==_0x692cdb(0x161)&&(_0x391dd7=_0x5aab39[_0x692cdb(0x437)](_0x391dd7)),this[_0x692cdb(0x3ea)][_0x692cdb(0x16a)](_0x391dd7),this[_0x692cdb(0x1b6)]+=_0x391dd7[_0x692cdb(0x359)];},'_process':function(_0x43938c){var _0x540a91=_0x4cb9bc,_0x30a56b,_0x10bd1d=this['_data'],_0x491722=_0x10bd1d[_0x540a91(0x3fc)],_0x31839e=_0x10bd1d['sigBytes'],_0x4a301c=this[_0x540a91(0x2bf)],_0x367dec=_0x4a301c*0x4,_0x4034e3=_0x31839e/_0x367dec;_0x43938c?_0x4034e3=_0x2d3fde['ceil'](_0x4034e3):_0x4034e3=_0x2d3fde[_0x540a91(0x204)]((_0x4034e3|0x0)-this[_0x540a91(0x36b)],0x0);var _0x4e0332=_0x4034e3*_0x4a301c,_0x341c91=_0x2d3fde[_0x540a91(0x23c)](_0x4e0332*0x4,_0x31839e);if(_0x4e0332){for(var _0x2aebfb=0x0;_0x2aebfb<_0x4e0332;_0x2aebfb+=_0x4a301c)this[_0x540a91(0x1df)](_0x491722,_0x2aebfb);_0x30a56b=_0x491722[_0x540a91(0x3a7)](0x0,_0x4e0332),_0x10bd1d[_0x540a91(0x359)]-=_0x341c91;}return new _0x1a2f0b[(_0x540a91(0x29e))](_0x30a56b,_0x341c91);},'clone':function(){var _0x1ad214=_0x4cb9bc,_0x394ed5=_0x19d81e['clone'][_0x1ad214(0x369)](this);return _0x394ed5[_0x1ad214(0x3ea)]=this['_data']['clone'](),_0x394ed5;},'_minBufferSize':0x0});_0x3ceb83[_0x4cb9bc(0x140)]=_0x399b93[_0x4cb9bc(0x1d1)]({'cfg':_0x19d81e[_0x4cb9bc(0x1d1)](),'init':function(_0x41a736){var _0x5486b2=_0x4cb9bc;this[_0x5486b2(0x188)]=this[_0x5486b2(0x188)][_0x5486b2(0x1d1)](_0x41a736),this['reset']();},'reset':function(){var _0x4eec89=_0x4cb9bc;_0x399b93[_0x4eec89(0x28d)]['call'](this),this[_0x4eec89(0x426)]();},'update':function(_0x28b1a9){var _0x38babb=_0x4cb9bc;return this[_0x38babb(0x205)](_0x28b1a9),this[_0x38babb(0x42b)](),this;},'finalize':function(_0x17849f){var _0x399a93=_0x4cb9bc;_0x17849f&&this['_append'](_0x17849f);var _0x4ccdb0=this[_0x399a93(0x41a)]();return _0x4ccdb0;},'blockSize':0x10,'_createHelper':function(_0x50855c){return function(_0x268403,_0x5dc259){var _0x389838=_0x3799;return new _0x50855c[(_0x389838(0x29e))](_0x5dc259)[_0x389838(0x2aa)](_0x268403);};},'_createHmacHelper':function(_0x432ea3){return function(_0x2a3c4a,_0x11ee17){var _0x434b7b=_0x3799;return new _0x37550d[(_0x434b7b(0x400))][(_0x434b7b(0x29e))](_0x432ea3,_0x11ee17)[_0x434b7b(0x2aa)](_0x2a3c4a);};}});var _0x37550d=_0x2a0a6e[_0x4cb9bc(0x1ce)]={};return _0x2a0a6e;}(Math);return _0x5b09e3;}));}(pe)),pe[_0x4d010d(0x14e)];}var Ie={'exports':{}},Ni=Ie[_0x274a5e(0x14e)],Je;function yt(){var _0x283b93=_0x274a5e;return Je||(Je=0x1,function(_0x41e718,_0x54c0df){(function(_0x1ccedb,_0x43b473){var _0x5c6591=_0x3799;_0x41e718[_0x5c6591(0x14e)]=_0x43b473(Q());}(Ni,function(_0x2f4b07){var _0x10986a=_0x3799;return(function(){var _0x3ea65a=_0x3799,_0x411666=_0x2f4b07,_0x10f3d9=_0x411666[_0x3ea65a(0x11e)],_0x271ddd=_0x10f3d9[_0x3ea65a(0x2fd)],_0x6c3321=_0x411666[_0x3ea65a(0x3b8)];_0x6c3321[_0x3ea65a(0x253)]={'stringify':function(_0x3c4409){var _0x13d85e=_0x3ea65a,_0x47b89f=_0x3c4409['words'],_0x542fa4=_0x3c4409['sigBytes'],_0x410572=this[_0x13d85e(0x3f9)];_0x3c4409[_0x13d85e(0x123)]();for(var _0x43397f=[],_0x562f88=0x0;_0x562f88<_0x542fa4;_0x562f88+=0x3)for(var _0x362d50=_0x47b89f[_0x562f88>>>0x2]>>>0x18-_0x562f88%0x4*0x8&0xff,_0x5f14f2=_0x47b89f[_0x562f88+0x1>>>0x2]>>>0x18-(_0x562f88+0x1)%0x4*0x8&0xff,_0x9a6464=_0x47b89f[_0x562f88+0x2>>>0x2]>>>0x18-(_0x562f88+0x2)%0x4*0x8&0xff,_0x4a2120=_0x362d50<<0x10|_0x5f14f2<<0x8|_0x9a6464,_0x3da0f4=0x0;_0x3da0f4<0x4&&_0x562f88+_0x3da0f4*0.75<_0x542fa4;_0x3da0f4++)_0x43397f[_0x13d85e(0x427)](_0x410572[_0x13d85e(0x284)](_0x4a2120>>>0x6*(0x3-_0x3da0f4)&0x3f));var _0x4120bd=_0x410572[_0x13d85e(0x284)](0x40);if(_0x4120bd){for(;_0x43397f[_0x13d85e(0x2d6)]%0x4;)_0x43397f[_0x13d85e(0x427)](_0x4120bd);}return _0x43397f[_0x13d85e(0x2ea)]('');},'parse':function(_0x1993e6){var _0x422993=_0x3ea65a,_0x5acb46=_0x1993e6[_0x422993(0x2d6)],_0x1283b7=this[_0x422993(0x3f9)],_0x46e3f9=this[_0x422993(0x29c)];if(!_0x46e3f9){_0x46e3f9=this[_0x422993(0x29c)]=[];for(var _0x335b07=0x0;_0x335b07<_0x1283b7[_0x422993(0x2d6)];_0x335b07++)_0x46e3f9[_0x1283b7[_0x422993(0x2c0)](_0x335b07)]=_0x335b07;}var _0x78bd98=_0x1283b7[_0x422993(0x284)](0x40);if(_0x78bd98){var _0x4f4630=_0x1993e6[_0x422993(0x181)](_0x78bd98);_0x4f4630!==-0x1&&(_0x5acb46=_0x4f4630);}return _0x832b45(_0x1993e6,_0x5acb46,_0x46e3f9);},'_map':_0x3ea65a(0x380)};function _0x832b45(_0x190a06,_0x5b72fc,_0x1790ee){var _0x5a676b=_0x3ea65a;for(var _0x2ea8e6=[],_0xcba718=0x0,_0x451243=0x0;_0x451243<_0x5b72fc;_0x451243++)if(_0x451243%0x4){var _0x18cd5f=_0x1790ee[_0x190a06[_0x5a676b(0x2c0)](_0x451243-0x1)]<<_0x451243%0x4*0x2,_0x92387c=_0x1790ee[_0x190a06[_0x5a676b(0x2c0)](_0x451243)]>>>0x6-_0x451243%0x4*0x2,_0xabf9db=_0x18cd5f|_0x92387c;_0x2ea8e6[_0xcba718>>>0x2]|=_0xabf9db<<0x18-_0xcba718%0x4*0x8,_0xcba718++;}return _0x271ddd[_0x5a676b(0x41c)](_0x2ea8e6,_0xcba718);}}()),_0x2f4b07['enc'][_0x10986a(0x253)];}));}(Ie)),Ie[_0x283b93(0x14e)];}var ge={'exports':{}},Ui=ge[_0x274a5e(0x14e)],Xe;function Di(){var _0x474e50=_0x274a5e;return Xe||(Xe=0x1,function(_0x3db1f0,_0x17ad05){(function(_0x4ad4b0,_0x3ba9df){_0x3db1f0['exports']=_0x3ba9df(Q());}(Ui,function(_0x5cbd5c){var _0x4d2554=_0x3799;return function(_0x2afa9d){var _0x1043a2=_0x3799,_0x230110=_0x5cbd5c,_0x199d39=_0x230110[_0x1043a2(0x11e)],_0x28d5ee=_0x199d39[_0x1043a2(0x2fd)],_0x2c8358=_0x199d39[_0x1043a2(0x140)],_0x18f627=_0x230110[_0x1043a2(0x1ce)],_0x36aa83=[];(function(){var _0x3724fa=_0x1043a2;for(var _0xfe7bcb=0x0;_0xfe7bcb<0x40;_0xfe7bcb++)_0x36aa83[_0xfe7bcb]=_0x2afa9d[_0x3724fa(0x45c)](_0x2afa9d[_0x3724fa(0x2a6)](_0xfe7bcb+0x1))*0x100000000|0x0;}());var _0x489e35=_0x18f627[_0x1043a2(0x243)]=_0x2c8358[_0x1043a2(0x1d1)]({'_doReset':function(){var _0x4a7916=_0x1043a2;this[_0x4a7916(0x227)]=new _0x28d5ee[(_0x4a7916(0x29e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x13b3d6,_0xd8766a){var _0x4e3da3=_0x1043a2;for(var _0xcffe16=0x0;_0xcffe16<0x10;_0xcffe16++){var _0x383219=_0xd8766a+_0xcffe16,_0x4fafdb=_0x13b3d6[_0x383219];_0x13b3d6[_0x383219]=(_0x4fafdb<<0x8|_0x4fafdb>>>0x18)&0xff00ff|(_0x4fafdb<<0x18|_0x4fafdb>>>0x8)&0xff00ff00;}var _0xc152cf=this['_hash'][_0x4e3da3(0x3fc)],_0x5742e1=_0x13b3d6[_0xd8766a+0x0],_0xbefb9e=_0x13b3d6[_0xd8766a+0x1],_0xb584bc=_0x13b3d6[_0xd8766a+0x2],_0x390ca5=_0x13b3d6[_0xd8766a+0x3],_0x5453be=_0x13b3d6[_0xd8766a+0x4],_0x21e249=_0x13b3d6[_0xd8766a+0x5],_0x3689b0=_0x13b3d6[_0xd8766a+0x6],_0x778a90=_0x13b3d6[_0xd8766a+0x7],_0x1d1dc5=_0x13b3d6[_0xd8766a+0x8],_0x5c6269=_0x13b3d6[_0xd8766a+0x9],_0x1d591f=_0x13b3d6[_0xd8766a+0xa],_0x58c7ce=_0x13b3d6[_0xd8766a+0xb],_0x2a6482=_0x13b3d6[_0xd8766a+0xc],_0x17bf8b=_0x13b3d6[_0xd8766a+0xd],_0x36c0e1=_0x13b3d6[_0xd8766a+0xe],_0x5e2920=_0x13b3d6[_0xd8766a+0xf],_0x38d842=_0xc152cf[0x0],_0x4a7cf5=_0xc152cf[0x1],_0x3a1f68=_0xc152cf[0x2],_0x376555=_0xc152cf[0x3];_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5742e1,0x7,_0x36aa83[0x0]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0xbefb9e,0xc,_0x36aa83[0x1]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0xb584bc,0x11,_0x36aa83[0x2]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x390ca5,0x16,_0x36aa83[0x3]),_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5453be,0x7,_0x36aa83[0x4]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x21e249,0xc,_0x36aa83[0x5]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x3689b0,0x11,_0x36aa83[0x6]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x778a90,0x16,_0x36aa83[0x7]),_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x1d1dc5,0x7,_0x36aa83[0x8]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5c6269,0xc,_0x36aa83[0x9]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x1d591f,0x11,_0x36aa83[0xa]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x58c7ce,0x16,_0x36aa83[0xb]),_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x2a6482,0x7,_0x36aa83[0xc]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x17bf8b,0xc,_0x36aa83[0xd]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x36c0e1,0x11,_0x36aa83[0xe]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5e2920,0x16,_0x36aa83[0xf]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0xbefb9e,0x5,_0x36aa83[0x10]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x3689b0,0x9,_0x36aa83[0x11]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x58c7ce,0xe,_0x36aa83[0x12]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5742e1,0x14,_0x36aa83[0x13]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x21e249,0x5,_0x36aa83[0x14]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x1d591f,0x9,_0x36aa83[0x15]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x5e2920,0xe,_0x36aa83[0x16]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5453be,0x14,_0x36aa83[0x17]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5c6269,0x5,_0x36aa83[0x18]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x36c0e1,0x9,_0x36aa83[0x19]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x390ca5,0xe,_0x36aa83[0x1a]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x1d1dc5,0x14,_0x36aa83[0x1b]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x17bf8b,0x5,_0x36aa83[0x1c]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0xb584bc,0x9,_0x36aa83[0x1d]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x778a90,0xe,_0x36aa83[0x1e]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x2a6482,0x14,_0x36aa83[0x1f]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x21e249,0x4,_0x36aa83[0x20]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x1d1dc5,0xb,_0x36aa83[0x21]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x58c7ce,0x10,_0x36aa83[0x22]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x36c0e1,0x17,_0x36aa83[0x23]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0xbefb9e,0x4,_0x36aa83[0x24]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5453be,0xb,_0x36aa83[0x25]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x778a90,0x10,_0x36aa83[0x26]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x1d591f,0x17,_0x36aa83[0x27]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x17bf8b,0x4,_0x36aa83[0x28]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5742e1,0xb,_0x36aa83[0x29]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x390ca5,0x10,_0x36aa83[0x2a]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x3689b0,0x17,_0x36aa83[0x2b]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5c6269,0x4,_0x36aa83[0x2c]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x2a6482,0xb,_0x36aa83[0x2d]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x5e2920,0x10,_0x36aa83[0x2e]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0xb584bc,0x17,_0x36aa83[0x2f]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5742e1,0x6,_0x36aa83[0x30]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x778a90,0xa,_0x36aa83[0x31]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x36c0e1,0xf,_0x36aa83[0x32]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x21e249,0x15,_0x36aa83[0x33]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x2a6482,0x6,_0x36aa83[0x34]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x390ca5,0xa,_0x36aa83[0x35]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x1d591f,0xf,_0x36aa83[0x36]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0xbefb9e,0x15,_0x36aa83[0x37]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x1d1dc5,0x6,_0x36aa83[0x38]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5e2920,0xa,_0x36aa83[0x39]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x3689b0,0xf,_0x36aa83[0x3a]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x17bf8b,0x15,_0x36aa83[0x3b]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5453be,0x6,_0x36aa83[0x3c]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x58c7ce,0xa,_0x36aa83[0x3d]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0xb584bc,0xf,_0x36aa83[0x3e]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5c6269,0x15,_0x36aa83[0x3f]),_0xc152cf[0x0]=_0xc152cf[0x0]+_0x38d842|0x0,_0xc152cf[0x1]=_0xc152cf[0x1]+_0x4a7cf5|0x0,_0xc152cf[0x2]=_0xc152cf[0x2]+_0x3a1f68|0x0,_0xc152cf[0x3]=_0xc152cf[0x3]+_0x376555|0x0;},'_doFinalize':function(){var _0x58d62b=_0x1043a2,_0x42e29a=this['_data'],_0x49ce49=_0x42e29a[_0x58d62b(0x3fc)],_0x4b1f74=this[_0x58d62b(0x1b6)]*0x8,_0xf8af53=_0x42e29a[_0x58d62b(0x359)]*0x8;_0x49ce49[_0xf8af53>>>0x5]|=0x80<<0x18-_0xf8af53%0x20;var _0x45fe08=_0x2afa9d[_0x58d62b(0x3fd)](_0x4b1f74/0x100000000),_0x148e4d=_0x4b1f74;_0x49ce49[(_0xf8af53+0x40>>>0x9<<0x4)+0xf]=(_0x45fe08<<0x8|_0x45fe08>>>0x18)&0xff00ff|(_0x45fe08<<0x18|_0x45fe08>>>0x8)&0xff00ff00,_0x49ce49[(_0xf8af53+0x40>>>0x9<<0x4)+0xe]=(_0x148e4d<<0x8|_0x148e4d>>>0x18)&0xff00ff|(_0x148e4d<<0x18|_0x148e4d>>>0x8)&0xff00ff00,_0x42e29a[_0x58d62b(0x359)]=(_0x49ce49[_0x58d62b(0x2d6)]+0x1)*0x4,this[_0x58d62b(0x42b)]();for(var _0xa06b9a=this[_0x58d62b(0x227)],_0x25aaa0=_0xa06b9a[_0x58d62b(0x3fc)],_0x3e7951=0x0;_0x3e7951<0x4;_0x3e7951++){var _0x513857=_0x25aaa0[_0x3e7951];_0x25aaa0[_0x3e7951]=(_0x513857<<0x8|_0x513857>>>0x18)&0xff00ff|(_0x513857<<0x18|_0x513857>>>0x8)&0xff00ff00;}return _0xa06b9a;},'clone':function(){var _0x149cbf=_0x1043a2,_0x54d68a=_0x2c8358[_0x149cbf(0x278)]['call'](this);return _0x54d68a[_0x149cbf(0x227)]=this[_0x149cbf(0x227)][_0x149cbf(0x278)](),_0x54d68a;}});function _0x279d08(_0x2a711a,_0x804de2,_0x3e5331,_0x5ec620,_0x488a45,_0x37894f,_0x3cce64){var _0x336bd5=_0x2a711a+(_0x804de2&_0x3e5331|~_0x804de2&_0x5ec620)+_0x488a45+_0x3cce64;return(_0x336bd5<<_0x37894f|_0x336bd5>>>0x20-_0x37894f)+_0x804de2;}function _0x5a8ef5(_0x37fc8f,_0xe9df91,_0x2c9d30,_0x112840,_0x3d9fde,_0x2b95af,_0x1e9d7b){var _0x4dadc1=_0x37fc8f+(_0xe9df91&_0x112840|_0x2c9d30&~_0x112840)+_0x3d9fde+_0x1e9d7b;return(_0x4dadc1<<_0x2b95af|_0x4dadc1>>>0x20-_0x2b95af)+_0xe9df91;}function _0x187077(_0x238e55,_0x42d199,_0x20bb63,_0x2100b3,_0x43af19,_0x3de43a,_0x25427b){var _0x466b81=_0x238e55+(_0x42d199^_0x20bb63^_0x2100b3)+_0x43af19+_0x25427b;return(_0x466b81<<_0x3de43a|_0x466b81>>>0x20-_0x3de43a)+_0x42d199;}function _0x1d4e21(_0x17d562,_0x496ef9,_0x5155b0,_0x4831a8,_0x177603,_0x18e1c3,_0x37471d){var _0xf66023=_0x17d562+(_0x5155b0^(_0x496ef9|~_0x4831a8))+_0x177603+_0x37471d;return(_0xf66023<<_0x18e1c3|_0xf66023>>>0x20-_0x18e1c3)+_0x496ef9;}_0x230110[_0x1043a2(0x243)]=_0x2c8358['_createHelper'](_0x489e35),_0x230110[_0x1043a2(0x193)]=_0x2c8358[_0x1043a2(0x31a)](_0x489e35);}(Math),_0x5cbd5c[_0x4d2554(0x243)];}));}(ge)),ge[_0x474e50(0x14e)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x3190da=_0x274a5e;return Ze||(Ze=0x1,function(_0x2a4e45,_0x178e8d){(function(_0x501bd5,_0x5739ce){var _0x2da2e5=_0x3799;_0x2a4e45[_0x2da2e5(0x14e)]=_0x5739ce(Q());}(Ai,function(_0x5dec2f){var _0x22b13f=_0x3799;return(function(){var _0x2e1527=_0x3799,_0x32bb9e=_0x5dec2f,_0x22d99e=_0x32bb9e[_0x2e1527(0x11e)],_0x38ecb5=_0x22d99e[_0x2e1527(0x2fd)],_0x3eaebe=_0x22d99e[_0x2e1527(0x140)],_0x458f94=_0x32bb9e[_0x2e1527(0x1ce)],_0x221ab4=[],_0x48e33a=_0x458f94['SHA1']=_0x3eaebe['extend']({'_doReset':function(){var _0x749d9b=_0x2e1527;this[_0x749d9b(0x227)]=new _0x38ecb5[(_0x749d9b(0x29e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2878de,_0x13dd6b){for(var _0x546ffb=this['_hash']['words'],_0x50107b=_0x546ffb[0x0],_0x1c05ca=_0x546ffb[0x1],_0x139090=_0x546ffb[0x2],_0x2cf181=_0x546ffb[0x3],_0x46631c=_0x546ffb[0x4],_0x33204b=0x0;_0x33204b<0x50;_0x33204b++){if(_0x33204b<0x10)_0x221ab4[_0x33204b]=_0x2878de[_0x13dd6b+_0x33204b]|0x0;else{var _0x4d0080=_0x221ab4[_0x33204b-0x3]^_0x221ab4[_0x33204b-0x8]^_0x221ab4[_0x33204b-0xe]^_0x221ab4[_0x33204b-0x10];_0x221ab4[_0x33204b]=_0x4d0080<<0x1|_0x4d0080>>>0x1f;}var _0x157caf=(_0x50107b<<0x5|_0x50107b>>>0x1b)+_0x46631c+_0x221ab4[_0x33204b];_0x33204b<0x14?_0x157caf+=(_0x1c05ca&_0x139090|~_0x1c05ca&_0x2cf181)+0x5a827999:_0x33204b<0x28?_0x157caf+=(_0x1c05ca^_0x139090^_0x2cf181)+0x6ed9eba1:_0x33204b<0x3c?_0x157caf+=(_0x1c05ca&_0x139090|_0x1c05ca&_0x2cf181|_0x139090&_0x2cf181)-0x70e44324:_0x157caf+=(_0x1c05ca^_0x139090^_0x2cf181)-0x359d3e2a,_0x46631c=_0x2cf181,_0x2cf181=_0x139090,_0x139090=_0x1c05ca<<0x1e|_0x1c05ca>>>0x2,_0x1c05ca=_0x50107b,_0x50107b=_0x157caf;}_0x546ffb[0x0]=_0x546ffb[0x0]+_0x50107b|0x0,_0x546ffb[0x1]=_0x546ffb[0x1]+_0x1c05ca|0x0,_0x546ffb[0x2]=_0x546ffb[0x2]+_0x139090|0x0,_0x546ffb[0x3]=_0x546ffb[0x3]+_0x2cf181|0x0,_0x546ffb[0x4]=_0x546ffb[0x4]+_0x46631c|0x0;},'_doFinalize':function(){var _0x1b1c4f=_0x2e1527,_0x13a5c5=this['_data'],_0x5186fb=_0x13a5c5[_0x1b1c4f(0x3fc)],_0x5cfa0e=this[_0x1b1c4f(0x1b6)]*0x8,_0x197b1c=_0x13a5c5[_0x1b1c4f(0x359)]*0x8;return _0x5186fb[_0x197b1c>>>0x5]|=0x80<<0x18-_0x197b1c%0x20,_0x5186fb[(_0x197b1c+0x40>>>0x9<<0x4)+0xe]=Math[_0x1b1c4f(0x3fd)](_0x5cfa0e/0x100000000),_0x5186fb[(_0x197b1c+0x40>>>0x9<<0x4)+0xf]=_0x5cfa0e,_0x13a5c5[_0x1b1c4f(0x359)]=_0x5186fb[_0x1b1c4f(0x2d6)]*0x4,this[_0x1b1c4f(0x42b)](),this['_hash'];},'clone':function(){var _0x443560=_0x2e1527,_0x7e435=_0x3eaebe[_0x443560(0x278)]['call'](this);return _0x7e435['_hash']=this[_0x443560(0x227)][_0x443560(0x278)](),_0x7e435;}});_0x32bb9e['SHA1']=_0x3eaebe[_0x2e1527(0x33b)](_0x48e33a),_0x32bb9e[_0x2e1527(0x453)]=_0x3eaebe[_0x2e1527(0x31a)](_0x48e33a);}()),_0x5dec2f[_0x22b13f(0x2e9)];}));}(me)),me[_0x3190da(0x14e)];}var Ce={'exports':{}},wi=Ce['exports'],Qe;function Li(){var _0x3dd52c=_0x274a5e;return Qe||(Qe=0x1,function(_0x2c9756,_0x3f99a4){(function(_0x4d9e17,_0x19a17a){var _0x3f406c=_0x3799;_0x2c9756[_0x3f406c(0x14e)]=_0x19a17a(Q());}(wi,function(_0x12f75d){(function(){var _0x45c74e=_0x3799,_0x278049=_0x12f75d,_0x23230a=_0x278049[_0x45c74e(0x11e)],_0x2b9ec0=_0x23230a[_0x45c74e(0x232)],_0x266556=_0x278049['enc'],_0x178f5f=_0x266556[_0x45c74e(0x137)],_0x37c7a8=_0x278049['algo'];_0x37c7a8['HMAC']=_0x2b9ec0[_0x45c74e(0x1d1)]({'init':function(_0x31e238,_0x3ccbf6){var _0x3de53a=_0x45c74e;_0x31e238=this[_0x3de53a(0x14f)]=new _0x31e238[(_0x3de53a(0x29e))](),typeof _0x3ccbf6==_0x3de53a(0x161)&&(_0x3ccbf6=_0x178f5f[_0x3de53a(0x437)](_0x3ccbf6));var _0x1a26ad=_0x31e238['blockSize'],_0x1032e4=_0x1a26ad*0x4;_0x3ccbf6[_0x3de53a(0x359)]>_0x1032e4&&(_0x3ccbf6=_0x31e238[_0x3de53a(0x2aa)](_0x3ccbf6)),_0x3ccbf6[_0x3de53a(0x123)]();for(var _0x3c5ba9=this[_0x3de53a(0x1cb)]=_0x3ccbf6['clone'](),_0x9217f9=this[_0x3de53a(0x110)]=_0x3ccbf6[_0x3de53a(0x278)](),_0x4fd29e=_0x3c5ba9[_0x3de53a(0x3fc)],_0xc583df=_0x9217f9[_0x3de53a(0x3fc)],_0x400f28=0x0;_0x400f28<_0x1a26ad;_0x400f28++)_0x4fd29e[_0x400f28]^=0x5c5c5c5c,_0xc583df[_0x400f28]^=0x36363636;_0x3c5ba9['sigBytes']=_0x9217f9['sigBytes']=_0x1032e4,this[_0x3de53a(0x28d)]();},'reset':function(){var _0x23f412=_0x45c74e,_0x39a65a=this[_0x23f412(0x14f)];_0x39a65a[_0x23f412(0x28d)](),_0x39a65a[_0x23f412(0x22b)](this['_iKey']);},'update':function(_0x36136b){var _0x4e8e79=_0x45c74e;return this[_0x4e8e79(0x14f)]['update'](_0x36136b),this;},'finalize':function(_0x1d1633){var _0x117c92=_0x45c74e,_0x77327e=this['_hasher'],_0x20a1eb=_0x77327e[_0x117c92(0x2aa)](_0x1d1633);_0x77327e[_0x117c92(0x28d)]();var _0x5eb5d0=_0x77327e[_0x117c92(0x2aa)](this[_0x117c92(0x1cb)][_0x117c92(0x278)]()[_0x117c92(0x16a)](_0x20a1eb));return _0x5eb5d0;}});}());}));}(Ce)),Ce[_0x3dd52c(0x14e)];}var Mi=Ee[_0x274a5e(0x14e)],et;function Nt(){var _0x1d740d=_0x274a5e;return et||(et=0x1,function(_0x4db662,_0x4380a0){(function(_0x1d256f,_0x11e544,_0x3d0755){var _0x61dd15=_0x3799;_0x4db662[_0x61dd15(0x14e)]=_0x11e544(Q(),Pi(),Li());}(Mi,function(_0x5b74db){return(function(){var _0x1e0241=_0x3799,_0x2210be=_0x5b74db,_0x4e4292=_0x2210be[_0x1e0241(0x11e)],_0x2f2c1a=_0x4e4292[_0x1e0241(0x232)],_0x3785c1=_0x4e4292[_0x1e0241(0x2fd)],_0x3e5a35=_0x2210be[_0x1e0241(0x1ce)],_0xc85559=_0x3e5a35[_0x1e0241(0x243)],_0xb6a100=_0x3e5a35[_0x1e0241(0x24a)]=_0x2f2c1a[_0x1e0241(0x1d1)]({'cfg':_0x2f2c1a[_0x1e0241(0x1d1)]({'keySize':0x80/0x20,'hasher':_0xc85559,'iterations':0x1}),'init':function(_0x4ccc93){var _0x3cbab8=_0x1e0241;this['cfg']=this[_0x3cbab8(0x188)][_0x3cbab8(0x1d1)](_0x4ccc93);},'compute':function(_0x1d0af8,_0x4c185d){var _0x14d4d4=_0x1e0241;for(var _0x4edfef,_0x3fff30=this[_0x14d4d4(0x188)],_0xfef18d=_0x3fff30['hasher'][_0x14d4d4(0x41c)](),_0x6d2f3b=_0x3785c1['create'](),_0x19ec64=_0x6d2f3b['words'],_0x5aeb92=_0x3fff30[_0x14d4d4(0x40b)],_0x3c959a=_0x3fff30['iterations'];_0x19ec64[_0x14d4d4(0x2d6)]<_0x5aeb92;){_0x4edfef&&_0xfef18d[_0x14d4d4(0x22b)](_0x4edfef),_0x4edfef=_0xfef18d[_0x14d4d4(0x22b)](_0x1d0af8)[_0x14d4d4(0x2aa)](_0x4c185d),_0xfef18d[_0x14d4d4(0x28d)]();for(var _0x10d29e=0x1;_0x10d29e<_0x3c959a;_0x10d29e++)_0x4edfef=_0xfef18d[_0x14d4d4(0x2aa)](_0x4edfef),_0xfef18d[_0x14d4d4(0x28d)]();_0x6d2f3b['concat'](_0x4edfef);}return _0x6d2f3b[_0x14d4d4(0x359)]=_0x5aeb92*0x4,_0x6d2f3b;}});_0x2210be[_0x1e0241(0x24a)]=function(_0x1da80e,_0x43de6e,_0x40a44e){var _0x2e4d77=_0x1e0241;return _0xb6a100['create'](_0x40a44e)[_0x2e4d77(0x394)](_0x1da80e,_0x43de6e);};}()),_0x5b74db['EvpKDF'];}));}(Ee)),Ee[_0x1d740d(0x14e)];}var Te={'exports':{}},xi=Te[_0x274a5e(0x14e)],tt;function Ut(){var _0x5d46bb=_0x274a5e;return tt||(tt=0x1,function(_0x5e5020,_0x16ec13){(function(_0x29f181,_0x4f49c0,_0x26d4bb){var _0x3d9903=_0x3799;_0x5e5020[_0x3d9903(0x14e)]=_0x4f49c0(Q(),Nt());}(xi,function(_0x21a432){var _0x47ab89=_0x3799;_0x21a432[_0x47ab89(0x11e)][_0x47ab89(0x22a)]||function(_0xbe50c2){var _0x3067cb=_0x47ab89,_0x3f7187=_0x21a432,_0x36eb52=_0x3f7187[_0x3067cb(0x11e)],_0x3db940=_0x36eb52['Base'],_0x201eab=_0x36eb52['WordArray'],_0x2b6b29=_0x36eb52['BufferedBlockAlgorithm'],_0x4ad360=_0x3f7187[_0x3067cb(0x3b8)];_0x4ad360[_0x3067cb(0x137)];var _0x33b5f5=_0x4ad360[_0x3067cb(0x253)],_0x44d99e=_0x3f7187[_0x3067cb(0x1ce)],_0x774c02=_0x44d99e['EvpKDF'],_0xd59a65=_0x36eb52[_0x3067cb(0x22a)]=_0x2b6b29[_0x3067cb(0x1d1)]({'cfg':_0x3db940[_0x3067cb(0x1d1)](),'createEncryptor':function(_0x3f6416,_0x503f2a){var _0x350ffa=_0x3067cb;return this['create'](this[_0x350ffa(0x228)],_0x3f6416,_0x503f2a);},'createDecryptor':function(_0x52c5bd,_0x282e72){var _0x4598a2=_0x3067cb;return this[_0x4598a2(0x41c)](this['_DEC_XFORM_MODE'],_0x52c5bd,_0x282e72);},'init':function(_0x28804b,_0xa30768,_0x1f6034){var _0x7aab2a=_0x3067cb;this[_0x7aab2a(0x188)]=this[_0x7aab2a(0x188)]['extend'](_0x1f6034),this[_0x7aab2a(0x23e)]=_0x28804b,this[_0x7aab2a(0x2cb)]=_0xa30768,this['reset']();},'reset':function(){var _0x174625=_0x3067cb;_0x2b6b29['reset'][_0x174625(0x369)](this),this['_doReset']();},'process':function(_0x4a7cb5){var _0x2a183c=_0x3067cb;return this[_0x2a183c(0x205)](_0x4a7cb5),this[_0x2a183c(0x42b)]();},'finalize':function(_0x5ad490){var _0x76df9a=_0x3067cb;_0x5ad490&&this[_0x76df9a(0x205)](_0x5ad490);var _0x496e02=this[_0x76df9a(0x41a)]();return _0x496e02;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x319d13(_0xfd772f){var _0x56e413=_0x3799;return typeof _0xfd772f==_0x56e413(0x161)?_0x6de7fe:_0x343169;}return function(_0x541b24){return{'encrypt':function(_0x20df36,_0x1e17bf,_0x5dba51){return _0x319d13(_0x1e17bf)['encrypt'](_0x541b24,_0x20df36,_0x1e17bf,_0x5dba51);},'decrypt':function(_0x384d57,_0xa92d80,_0x2e7b0b){return _0x319d13(_0xa92d80)['decrypt'](_0x541b24,_0x384d57,_0xa92d80,_0x2e7b0b);}};};}())});_0x36eb52['StreamCipher']=_0xd59a65[_0x3067cb(0x1d1)]({'_doFinalize':function(){var _0x4dd7b3=_0x3067cb,_0x5647fa=this[_0x4dd7b3(0x42b)](!0x0);return _0x5647fa;},'blockSize':0x1});var _0x1518f0=_0x3f7187[_0x3067cb(0x316)]={},_0x512537=_0x36eb52[_0x3067cb(0x198)]=_0x3db940['extend']({'createEncryptor':function(_0x311d36,_0x5909fa){var _0x4358fe=_0x3067cb;return this[_0x4358fe(0x2ff)]['create'](_0x311d36,_0x5909fa);},'createDecryptor':function(_0x41225f,_0x55513c){var _0x56db33=_0x3067cb;return this['Decryptor'][_0x56db33(0x41c)](_0x41225f,_0x55513c);},'init':function(_0x2d5647,_0x12246c){var _0x1efbda=_0x3067cb;this['_cipher']=_0x2d5647,this[_0x1efbda(0x2f2)]=_0x12246c;}}),_0x13ac21=_0x1518f0[_0x3067cb(0x331)]=(function(){var _0x4a7535=_0x3067cb,_0x47ca39=_0x512537[_0x4a7535(0x1d1)]();_0x47ca39[_0x4a7535(0x2ff)]=_0x47ca39['extend']({'processBlock':function(_0x416e47,_0x157f9a){var _0x3b8b84=_0x4a7535,_0x4cb7e6=this[_0x3b8b84(0x40e)],_0x175f37=_0x4cb7e6[_0x3b8b84(0x2bf)];_0x421254[_0x3b8b84(0x369)](this,_0x416e47,_0x157f9a,_0x175f37),_0x4cb7e6[_0x3b8b84(0x2b9)](_0x416e47,_0x157f9a),this[_0x3b8b84(0x478)]=_0x416e47[_0x3b8b84(0x22e)](_0x157f9a,_0x157f9a+_0x175f37);}}),_0x47ca39[_0x4a7535(0x155)]=_0x47ca39[_0x4a7535(0x1d1)]({'processBlock':function(_0x44c35b,_0x1fd18c){var _0x41e384=_0x4a7535,_0x58b36a=this[_0x41e384(0x40e)],_0x23fbb7=_0x58b36a[_0x41e384(0x2bf)],_0x126214=_0x44c35b[_0x41e384(0x22e)](_0x1fd18c,_0x1fd18c+_0x23fbb7);_0x58b36a['decryptBlock'](_0x44c35b,_0x1fd18c),_0x421254[_0x41e384(0x369)](this,_0x44c35b,_0x1fd18c,_0x23fbb7),this[_0x41e384(0x478)]=_0x126214;}});function _0x421254(_0x49ea51,_0x3d45c2,_0x4ab15f){var _0x379a8b=_0x4a7535,_0x5a7592,_0x2d4e2c=this['_iv'];_0x2d4e2c?(_0x5a7592=_0x2d4e2c,this[_0x379a8b(0x2f2)]=_0xbe50c2):_0x5a7592=this[_0x379a8b(0x478)];for(var _0x420bbe=0x0;_0x420bbe<_0x4ab15f;_0x420bbe++)_0x49ea51[_0x3d45c2+_0x420bbe]^=_0x5a7592[_0x420bbe];}return _0x47ca39;}()),_0x30bb1b=_0x3f7187[_0x3067cb(0x2f7)]={},_0x2247bf=_0x30bb1b[_0x3067cb(0x1e2)]={'pad':function(_0x274946,_0xa54cf2){var _0x441c4e=_0x3067cb;for(var _0x29386d=_0xa54cf2*0x4,_0x2c9be2=_0x29386d-_0x274946['sigBytes']%_0x29386d,_0x339022=_0x2c9be2<<0x18|_0x2c9be2<<0x10|_0x2c9be2<<0x8|_0x2c9be2,_0x46ebc6=[],_0x890df9=0x0;_0x890df9<_0x2c9be2;_0x890df9+=0x4)_0x46ebc6[_0x441c4e(0x427)](_0x339022);var _0x3dcb9e=_0x201eab['create'](_0x46ebc6,_0x2c9be2);_0x274946[_0x441c4e(0x16a)](_0x3dcb9e);},'unpad':function(_0xf23aea){var _0x1f6a43=_0x3067cb,_0x548228=_0xf23aea['words'][_0xf23aea[_0x1f6a43(0x359)]-0x1>>>0x2]&0xff;_0xf23aea[_0x1f6a43(0x359)]-=_0x548228;}};_0x36eb52[_0x3067cb(0x3dc)]=_0xd59a65['extend']({'cfg':_0xd59a65[_0x3067cb(0x188)][_0x3067cb(0x1d1)]({'mode':_0x13ac21,'padding':_0x2247bf}),'reset':function(){var _0x4d6f3d=_0x3067cb,_0x1b67c0;_0xd59a65[_0x4d6f3d(0x28d)][_0x4d6f3d(0x369)](this);var _0x40dac6=this[_0x4d6f3d(0x188)],_0x3c3976=_0x40dac6['iv'],_0x32105f=_0x40dac6[_0x4d6f3d(0x316)];this[_0x4d6f3d(0x23e)]==this[_0x4d6f3d(0x228)]?_0x1b67c0=_0x32105f[_0x4d6f3d(0x3de)]:(_0x1b67c0=_0x32105f[_0x4d6f3d(0x450)],this['_minBufferSize']=0x1),this[_0x4d6f3d(0x45b)]&&this['_mode']['__creator']==_0x1b67c0?this[_0x4d6f3d(0x45b)][_0x4d6f3d(0x29e)](this,_0x3c3976&&_0x3c3976['words']):(this[_0x4d6f3d(0x45b)]=_0x1b67c0[_0x4d6f3d(0x369)](_0x32105f,this,_0x3c3976&&_0x3c3976[_0x4d6f3d(0x3fc)]),this[_0x4d6f3d(0x45b)][_0x4d6f3d(0x237)]=_0x1b67c0);},'_doProcessBlock':function(_0x4b054d,_0x18cf72){var _0x448d2e=_0x3067cb;this[_0x448d2e(0x45b)][_0x448d2e(0x224)](_0x4b054d,_0x18cf72);},'_doFinalize':function(){var _0x528ad1=_0x3067cb,_0x5bd47c,_0x4335bb=this[_0x528ad1(0x188)][_0x528ad1(0x3be)];return this[_0x528ad1(0x23e)]==this[_0x528ad1(0x228)]?(_0x4335bb[_0x528ad1(0x2f7)](this['_data'],this['blockSize']),_0x5bd47c=this[_0x528ad1(0x42b)](!0x0)):(_0x5bd47c=this[_0x528ad1(0x42b)](!0x0),_0x4335bb[_0x528ad1(0x3b5)](_0x5bd47c)),_0x5bd47c;},'blockSize':0x80/0x20});var _0x88c68f=_0x36eb52[_0x3067cb(0x19d)]=_0x3db940[_0x3067cb(0x1d1)]({'init':function(_0x1e9a24){this['mixIn'](_0x1e9a24);},'toString':function(_0x41f073){var _0x4521eb=_0x3067cb;return(_0x41f073||this['formatter'])[_0x4521eb(0x13b)](this);}}),_0x5eaa3a=_0x3f7187[_0x3067cb(0x31e)]={},_0x3ebbd8=_0x5eaa3a[_0x3067cb(0x111)]={'stringify':function(_0x244f03){var _0x1a45d7=_0x3067cb,_0x208460,_0xa25b78=_0x244f03[_0x1a45d7(0x3da)],_0x455358=_0x244f03['salt'];return _0x455358?_0x208460=_0x201eab[_0x1a45d7(0x41c)]([0x53616c74,0x65645f5f])[_0x1a45d7(0x16a)](_0x455358)[_0x1a45d7(0x16a)](_0xa25b78):_0x208460=_0xa25b78,_0x208460[_0x1a45d7(0x3d7)](_0x33b5f5);},'parse':function(_0x17a2f5){var _0x397f81=_0x3067cb,_0x3a5445,_0x52a1ff=_0x33b5f5[_0x397f81(0x437)](_0x17a2f5),_0x644aea=_0x52a1ff[_0x397f81(0x3fc)];return _0x644aea[0x0]==0x53616c74&&_0x644aea[0x1]==0x65645f5f&&(_0x3a5445=_0x201eab[_0x397f81(0x41c)](_0x644aea[_0x397f81(0x22e)](0x2,0x4)),_0x644aea[_0x397f81(0x3a7)](0x0,0x4),_0x52a1ff[_0x397f81(0x359)]-=0x10),_0x88c68f[_0x397f81(0x41c)]({'ciphertext':_0x52a1ff,'salt':_0x3a5445});}},_0x343169=_0x36eb52[_0x3067cb(0x376)]=_0x3db940[_0x3067cb(0x1d1)]({'cfg':_0x3db940[_0x3067cb(0x1d1)]({'format':_0x3ebbd8}),'encrypt':function(_0x567648,_0x5bdc51,_0x473263,_0x10abc6){var _0x4d00ad=_0x3067cb;_0x10abc6=this[_0x4d00ad(0x188)][_0x4d00ad(0x1d1)](_0x10abc6);var _0x136ea1=_0x567648['createEncryptor'](_0x473263,_0x10abc6),_0x4f76ad=_0x136ea1['finalize'](_0x5bdc51),_0x2e7561=_0x136ea1[_0x4d00ad(0x188)];return _0x88c68f['create']({'ciphertext':_0x4f76ad,'key':_0x473263,'iv':_0x2e7561['iv'],'algorithm':_0x567648,'mode':_0x2e7561[_0x4d00ad(0x316)],'padding':_0x2e7561[_0x4d00ad(0x3be)],'blockSize':_0x567648[_0x4d00ad(0x2bf)],'formatter':_0x10abc6['format']});},'decrypt':function(_0x4f9456,_0x373d12,_0x57c87d,_0x1543a3){var _0x13777e=_0x3067cb;_0x1543a3=this[_0x13777e(0x188)][_0x13777e(0x1d1)](_0x1543a3),_0x373d12=this['_parse'](_0x373d12,_0x1543a3['format']);var _0x2fa918=_0x4f9456[_0x13777e(0x450)](_0x57c87d,_0x1543a3)[_0x13777e(0x2aa)](_0x373d12[_0x13777e(0x3da)]);return _0x2fa918;},'_parse':function(_0x280699,_0x409ac1){var _0x155481=_0x3067cb;return typeof _0x280699==_0x155481(0x161)?_0x409ac1[_0x155481(0x437)](_0x280699,this):_0x280699;}}),_0x3a20d4=_0x3f7187[_0x3067cb(0x221)]={},_0x14cad0=_0x3a20d4[_0x3067cb(0x111)]={'execute':function(_0x3ed257,_0x5504c5,_0x5c4ad5,_0x3c8aa2,_0x3b874e){var _0x53a665=_0x3067cb;if(_0x3c8aa2||(_0x3c8aa2=_0x201eab[_0x53a665(0x126)](0x40/0x8)),_0x3b874e)var _0xf9e274=_0x774c02[_0x53a665(0x41c)]({'keySize':_0x5504c5+_0x5c4ad5,'hasher':_0x3b874e})['compute'](_0x3ed257,_0x3c8aa2);else var _0xf9e274=_0x774c02[_0x53a665(0x41c)]({'keySize':_0x5504c5+_0x5c4ad5})[_0x53a665(0x394)](_0x3ed257,_0x3c8aa2);var _0x248f08=_0x201eab['create'](_0xf9e274[_0x53a665(0x3fc)][_0x53a665(0x22e)](_0x5504c5),_0x5c4ad5*0x4);return _0xf9e274[_0x53a665(0x359)]=_0x5504c5*0x4,_0x88c68f[_0x53a665(0x41c)]({'key':_0xf9e274,'iv':_0x248f08,'salt':_0x3c8aa2});}},_0x6de7fe=_0x36eb52[_0x3067cb(0x2ed)]=_0x343169[_0x3067cb(0x1d1)]({'cfg':_0x343169[_0x3067cb(0x188)]['extend']({'kdf':_0x14cad0}),'encrypt':function(_0x28138d,_0x48ce8b,_0x501e48,_0x417754){var _0x48855e=_0x3067cb;_0x417754=this[_0x48855e(0x188)][_0x48855e(0x1d1)](_0x417754);var _0x17a338=_0x417754[_0x48855e(0x221)]['execute'](_0x501e48,_0x28138d['keySize'],_0x28138d[_0x48855e(0x148)],_0x417754[_0x48855e(0x13d)],_0x417754[_0x48855e(0x290)]);_0x417754['iv']=_0x17a338['iv'];var _0x55f23f=_0x343169['encrypt'][_0x48855e(0x369)](this,_0x28138d,_0x48ce8b,_0x17a338[_0x48855e(0x460)],_0x417754);return _0x55f23f[_0x48855e(0x156)](_0x17a338),_0x55f23f;},'decrypt':function(_0x518329,_0x1d1891,_0x2aede4,_0x49d660){var _0x2dc1a9=_0x3067cb;_0x49d660=this[_0x2dc1a9(0x188)][_0x2dc1a9(0x1d1)](_0x49d660),_0x1d1891=this[_0x2dc1a9(0x378)](_0x1d1891,_0x49d660[_0x2dc1a9(0x31e)]);var _0x558381=_0x49d660[_0x2dc1a9(0x221)][_0x2dc1a9(0x433)](_0x2aede4,_0x518329[_0x2dc1a9(0x40b)],_0x518329['ivSize'],_0x1d1891['salt'],_0x49d660['hasher']);_0x49d660['iv']=_0x558381['iv'];var _0x41b1c9=_0x343169[_0x2dc1a9(0x2b6)]['call'](this,_0x518329,_0x1d1891,_0x558381[_0x2dc1a9(0x460)],_0x49d660);return _0x41b1c9;}});}();}));}(Te)),Te[_0x5d46bb(0x14e)];}var ki=fe['exports'],it;function Hi(){var _0x275063=_0x274a5e;return it||(it=0x1,function(_0x4934ec,_0x4a3dbb){(function(_0xbcd598,_0x276947,_0x1a0e23){var _0x10dd59=_0x3799;_0x4934ec[_0x10dd59(0x14e)]=_0x276947(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x27e282){return(function(){var _0x57d579=_0x3799,_0x5305ea=_0x27e282,_0x388298=_0x5305ea['lib'],_0x312bcd=_0x388298[_0x57d579(0x3dc)],_0x28c498=_0x5305ea[_0x57d579(0x1ce)],_0xf45139=[],_0x54ba17=[],_0x2aca07=[],_0x3119df=[],_0x41b9f0=[],_0x37d159=[],_0x1381e1=[],_0x5a4366=[],_0x351424=[],_0x35bf39=[];(function(){for(var _0x446470=[],_0x40808a=0x0;_0x40808a<0x100;_0x40808a++)_0x40808a<0x80?_0x446470[_0x40808a]=_0x40808a<<0x1:_0x446470[_0x40808a]=_0x40808a<<0x1^0x11b;for(var _0x389e87=0x0,_0x148bae=0x0,_0x40808a=0x0;_0x40808a<0x100;_0x40808a++){var _0x1b0948=_0x148bae^_0x148bae<<0x1^_0x148bae<<0x2^_0x148bae<<0x3^_0x148bae<<0x4;_0x1b0948=_0x1b0948>>>0x8^_0x1b0948&0xff^0x63,_0xf45139[_0x389e87]=_0x1b0948,_0x54ba17[_0x1b0948]=_0x389e87;var _0x4ed0e2=_0x446470[_0x389e87],_0x45a5a5=_0x446470[_0x4ed0e2],_0x34d263=_0x446470[_0x45a5a5],_0x3eea57=_0x446470[_0x1b0948]*0x101^_0x1b0948*0x1010100;_0x2aca07[_0x389e87]=_0x3eea57<<0x18|_0x3eea57>>>0x8,_0x3119df[_0x389e87]=_0x3eea57<<0x10|_0x3eea57>>>0x10,_0x41b9f0[_0x389e87]=_0x3eea57<<0x8|_0x3eea57>>>0x18,_0x37d159[_0x389e87]=_0x3eea57;var _0x3eea57=_0x34d263*0x1010101^_0x45a5a5*0x10001^_0x4ed0e2*0x101^_0x389e87*0x1010100;_0x1381e1[_0x1b0948]=_0x3eea57<<0x18|_0x3eea57>>>0x8,_0x5a4366[_0x1b0948]=_0x3eea57<<0x10|_0x3eea57>>>0x10,_0x351424[_0x1b0948]=_0x3eea57<<0x8|_0x3eea57>>>0x18,_0x35bf39[_0x1b0948]=_0x3eea57,_0x389e87?(_0x389e87=_0x4ed0e2^_0x446470[_0x446470[_0x446470[_0x34d263^_0x4ed0e2]]],_0x148bae^=_0x446470[_0x446470[_0x148bae]]):_0x389e87=_0x148bae=0x1;}}());var _0x2c9d5e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45f3ce=_0x28c498[_0x57d579(0x2ca)]=_0x312bcd['extend']({'_doReset':function(){var _0x5296d1=_0x57d579,_0x4748e7;if(!(this[_0x5296d1(0x403)]&&this['_keyPriorReset']===this['_key'])){for(var _0x2fa989=this['_keyPriorReset']=this[_0x5296d1(0x2cb)],_0x1f09cb=_0x2fa989[_0x5296d1(0x3fc)],_0x209689=_0x2fa989[_0x5296d1(0x359)]/0x4,_0x4ba560=this['_nRounds']=_0x209689+0x6,_0x4f10f6=(_0x4ba560+0x1)*0x4,_0x21159d=this['_keySchedule']=[],_0x2f2f0c=0x0;_0x2f2f0c<_0x4f10f6;_0x2f2f0c++)_0x2f2f0c<_0x209689?_0x21159d[_0x2f2f0c]=_0x1f09cb[_0x2f2f0c]:(_0x4748e7=_0x21159d[_0x2f2f0c-0x1],_0x2f2f0c%_0x209689?_0x209689>0x6&&_0x2f2f0c%_0x209689==0x4&&(_0x4748e7=_0xf45139[_0x4748e7>>>0x18]<<0x18|_0xf45139[_0x4748e7>>>0x10&0xff]<<0x10|_0xf45139[_0x4748e7>>>0x8&0xff]<<0x8|_0xf45139[_0x4748e7&0xff]):(_0x4748e7=_0x4748e7<<0x8|_0x4748e7>>>0x18,_0x4748e7=_0xf45139[_0x4748e7>>>0x18]<<0x18|_0xf45139[_0x4748e7>>>0x10&0xff]<<0x10|_0xf45139[_0x4748e7>>>0x8&0xff]<<0x8|_0xf45139[_0x4748e7&0xff],_0x4748e7^=_0x2c9d5e[_0x2f2f0c/_0x209689|0x0]<<0x18),_0x21159d[_0x2f2f0c]=_0x21159d[_0x2f2f0c-_0x209689]^_0x4748e7);for(var _0x3e48dd=this[_0x5296d1(0x20a)]=[],_0x4fa168=0x0;_0x4fa168<_0x4f10f6;_0x4fa168++){var _0x2f2f0c=_0x4f10f6-_0x4fa168;if(_0x4fa168%0x4)var _0x4748e7=_0x21159d[_0x2f2f0c];else var _0x4748e7=_0x21159d[_0x2f2f0c-0x4];_0x4fa168<0x4||_0x2f2f0c<=0x4?_0x3e48dd[_0x4fa168]=_0x4748e7:_0x3e48dd[_0x4fa168]=_0x1381e1[_0xf45139[_0x4748e7>>>0x18]]^_0x5a4366[_0xf45139[_0x4748e7>>>0x10&0xff]]^_0x351424[_0xf45139[_0x4748e7>>>0x8&0xff]]^_0x35bf39[_0xf45139[_0x4748e7&0xff]];}}},'encryptBlock':function(_0x122960,_0xc767d7){var _0xbb7c13=_0x57d579;this[_0xbb7c13(0x307)](_0x122960,_0xc767d7,this[_0xbb7c13(0x3a9)],_0x2aca07,_0x3119df,_0x41b9f0,_0x37d159,_0xf45139);},'decryptBlock':function(_0x1c95ab,_0x53a1f0){var _0x24ec12=_0x57d579,_0x2aa176=_0x1c95ab[_0x53a1f0+0x1];_0x1c95ab[_0x53a1f0+0x1]=_0x1c95ab[_0x53a1f0+0x3],_0x1c95ab[_0x53a1f0+0x3]=_0x2aa176,this[_0x24ec12(0x307)](_0x1c95ab,_0x53a1f0,this[_0x24ec12(0x20a)],_0x1381e1,_0x5a4366,_0x351424,_0x35bf39,_0x54ba17);var _0x2aa176=_0x1c95ab[_0x53a1f0+0x1];_0x1c95ab[_0x53a1f0+0x1]=_0x1c95ab[_0x53a1f0+0x3],_0x1c95ab[_0x53a1f0+0x3]=_0x2aa176;},'_doCryptBlock':function(_0x54a5d8,_0x37f4d5,_0x2a7edc,_0x331389,_0x5e57dc,_0x33fd15,_0x1d6d3d,_0x47e10d){var _0x29b853=_0x57d579;for(var _0x3dcbfb=this[_0x29b853(0x403)],_0x75c032=_0x54a5d8[_0x37f4d5]^_0x2a7edc[0x0],_0x394be2=_0x54a5d8[_0x37f4d5+0x1]^_0x2a7edc[0x1],_0x41d3f9=_0x54a5d8[_0x37f4d5+0x2]^_0x2a7edc[0x2],_0x383acb=_0x54a5d8[_0x37f4d5+0x3]^_0x2a7edc[0x3],_0xab159c=0x4,_0x59545a=0x1;_0x59545a<_0x3dcbfb;_0x59545a++){var _0x241a0f=_0x331389[_0x75c032>>>0x18]^_0x5e57dc[_0x394be2>>>0x10&0xff]^_0x33fd15[_0x41d3f9>>>0x8&0xff]^_0x1d6d3d[_0x383acb&0xff]^_0x2a7edc[_0xab159c++],_0x144810=_0x331389[_0x394be2>>>0x18]^_0x5e57dc[_0x41d3f9>>>0x10&0xff]^_0x33fd15[_0x383acb>>>0x8&0xff]^_0x1d6d3d[_0x75c032&0xff]^_0x2a7edc[_0xab159c++],_0x33dfd8=_0x331389[_0x41d3f9>>>0x18]^_0x5e57dc[_0x383acb>>>0x10&0xff]^_0x33fd15[_0x75c032>>>0x8&0xff]^_0x1d6d3d[_0x394be2&0xff]^_0x2a7edc[_0xab159c++],_0x442d6b=_0x331389[_0x383acb>>>0x18]^_0x5e57dc[_0x75c032>>>0x10&0xff]^_0x33fd15[_0x394be2>>>0x8&0xff]^_0x1d6d3d[_0x41d3f9&0xff]^_0x2a7edc[_0xab159c++];_0x75c032=_0x241a0f,_0x394be2=_0x144810,_0x41d3f9=_0x33dfd8,_0x383acb=_0x442d6b;}var _0x241a0f=(_0x47e10d[_0x75c032>>>0x18]<<0x18|_0x47e10d[_0x394be2>>>0x10&0xff]<<0x10|_0x47e10d[_0x41d3f9>>>0x8&0xff]<<0x8|_0x47e10d[_0x383acb&0xff])^_0x2a7edc[_0xab159c++],_0x144810=(_0x47e10d[_0x394be2>>>0x18]<<0x18|_0x47e10d[_0x41d3f9>>>0x10&0xff]<<0x10|_0x47e10d[_0x383acb>>>0x8&0xff]<<0x8|_0x47e10d[_0x75c032&0xff])^_0x2a7edc[_0xab159c++],_0x33dfd8=(_0x47e10d[_0x41d3f9>>>0x18]<<0x18|_0x47e10d[_0x383acb>>>0x10&0xff]<<0x10|_0x47e10d[_0x75c032>>>0x8&0xff]<<0x8|_0x47e10d[_0x394be2&0xff])^_0x2a7edc[_0xab159c++],_0x442d6b=(_0x47e10d[_0x383acb>>>0x18]<<0x18|_0x47e10d[_0x75c032>>>0x10&0xff]<<0x10|_0x47e10d[_0x394be2>>>0x8&0xff]<<0x8|_0x47e10d[_0x41d3f9&0xff])^_0x2a7edc[_0xab159c++];_0x54a5d8[_0x37f4d5]=_0x241a0f,_0x54a5d8[_0x37f4d5+0x1]=_0x144810,_0x54a5d8[_0x37f4d5+0x2]=_0x33dfd8,_0x54a5d8[_0x37f4d5+0x3]=_0x442d6b;},'keySize':0x100/0x20});_0x5305ea[_0x57d579(0x2ca)]=_0x312bcd[_0x57d579(0x33b)](_0x45f3ce);}()),_0x27e282['AES'];}));}(fe)),fe[_0x275063(0x14e)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x274a5e(0x14e)],rt;function Vi(){var _0x59ee73=_0x274a5e;return rt||(rt=0x1,function(_0x3281e9,_0x1e6e65){(function(_0x1b4d1e,_0x46ad53){var _0x23c6ac=_0x3799;_0x3281e9[_0x23c6ac(0x14e)]=_0x46ad53(Q());}(Fi,function(_0x5bf81b){var _0x5a25d4=_0x3799;return _0x5bf81b[_0x5a25d4(0x3b8)][_0x5a25d4(0x137)];}));}(be)),be[_0x59ee73(0x14e)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x274a5e(0x14e)],st;function Yi(){var _0xa5e946=_0x274a5e;return st||(st=0x1,function(_0x19b3b5,_0x8ca3c2){(function(_0x46e0c1,_0x2f88f5){var _0x1ea6cd=_0x3799;_0x19b3b5[_0x1ea6cd(0x14e)]=_0x2f88f5(Q());}(Ki,function(_0x2fc8e6){var _0x19bfdd=_0x3799;return(function(){var _0x28a077=_0x3799;if(typeof ArrayBuffer==_0x28a077(0x1a4)){var _0x26bfaf=_0x2fc8e6,_0x1e4f56=_0x26bfaf[_0x28a077(0x11e)],_0x32cf70=_0x1e4f56[_0x28a077(0x2fd)],_0x3516b5=_0x32cf70[_0x28a077(0x29e)],_0x4d4397=_0x32cf70['init']=function(_0x58d827){var _0x5711a5=_0x28a077;if(_0x58d827 instanceof ArrayBuffer&&(_0x58d827=new Uint8Array(_0x58d827)),(_0x58d827 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58d827 instanceof Uint8ClampedArray||_0x58d827 instanceof Int16Array||_0x58d827 instanceof Uint16Array||_0x58d827 instanceof Int32Array||_0x58d827 instanceof Uint32Array||_0x58d827 instanceof Float32Array||_0x58d827 instanceof Float64Array)&&(_0x58d827=new Uint8Array(_0x58d827[_0x5711a5(0x43d)],_0x58d827[_0x5711a5(0x46c)],_0x58d827[_0x5711a5(0x164)])),_0x58d827 instanceof Uint8Array){for(var _0x5623d6=_0x58d827[_0x5711a5(0x164)],_0x1e8919=[],_0xc0122c=0x0;_0xc0122c<_0x5623d6;_0xc0122c++)_0x1e8919[_0xc0122c>>>0x2]|=_0x58d827[_0xc0122c]<<0x18-_0xc0122c%0x4*0x8;_0x3516b5[_0x5711a5(0x369)](this,_0x1e8919,_0x5623d6);}else _0x3516b5[_0x5711a5(0x175)](this,arguments);};_0x4d4397['prototype']=_0x32cf70;}}()),_0x2fc8e6[_0x19bfdd(0x11e)][_0x19bfdd(0x2fd)];}));}(Re)),Re[_0xa5e946(0x14e)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x274a5e(0x14e)],ot;function Xi(){var _0xf5171d=_0x274a5e;return ot||(ot=0x1,function(_0x2c4f4c,_0x163dcd){(function(_0x27486b,_0x17f519,_0x26c1ef){var _0x5b0e2b=_0x3799;_0x2c4f4c[_0x5b0e2b(0x14e)]=_0x17f519(Q(),Ut());}(Ji,function(_0x86fb3b){var _0x26f127=_0x3799;return _0x86fb3b['pad'][_0x26f127(0x2cd)]={'pad':function(){},'unpad':function(){}},_0x86fb3b[_0x26f127(0x2f7)][_0x26f127(0x2cd)];}));}(Oe)),Oe[_0xf5171d(0x14e)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5b517f,_0x8b0183){var _0x4605d5=_0x274a5e;const _0x1712f3=_0x8b0183-_0x5b517f[_0x4605d5(0x2d6)]%_0x8b0183,_0x12e117=String['fromCharCode'](_0x1712f3)[_0x4605d5(0x158)](_0x1712f3);return _0x5b517f+_0x12e117;}function tn(_0x128e30,_0x50a347){var _0x347507=_0x274a5e;const _0xd31e1b=zi['random'](0x10),_0x5c0151=en(_0x128e30,0x10),_0x3d260c=ji[_0x347507(0x17a)](Gi['parse'](_0x5c0151),nt[_0x347507(0x437)](_0x50a347),{'iv':_0xd31e1b,'padding':Qi});return _0xd31e1b[_0x347507(0x16a)](_0x3d260c[_0x347507(0x3da)])[_0x347507(0x3d7)](nt);}function nn(){var _0x36e912=_0x274a5e;const _0x48445f=wt[_0x36e912(0x419)]()[_0x36e912(0x451)];if(_0x48445f){const _0x829a26={'time':Math[_0x36e912(0x3fd)](Date[_0x36e912(0x300)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x36e912(0x13b)](_0x829a26),_0x48445f);}}var rn=Object[_0x274a5e(0x171)],sn=(_0x1ac8a6,_0x4640ff,_0x1fcc7a,_0x161571)=>{for(var _0x5de4fc=_0x161571>0x1?void 0x0:_0x161571?rn(_0x4640ff,_0x1fcc7a):_0x4640ff,_0x3d7d58=_0x1ac8a6['length']-0x1,_0xe530e2;_0x3d7d58>=0x0;_0x3d7d58--)(_0xe530e2=_0x1ac8a6[_0x3d7d58])&&(_0x5de4fc=_0xe530e2(_0x5de4fc)||_0x5de4fc);return _0x5de4fc;},on=(_0x3b4956,_0x56cf11)=>(_0x485f17,_0xd3e357)=>_0x56cf11(_0x485f17,_0xd3e357,_0x3b4956);let Ne=class{constructor(_0x1f7de5){var _0x15218f=_0x274a5e;this[_0x15218f(0x15c)]=_0x1f7de5,this[_0x15218f(0x209)]();}['_initRequestHeader'](){var _0x108b92=_0x274a5e;this[_0x108b92(0x15c)]['registerHTTPInterceptor']({'interceptor':(_0x457b19,_0x5abef0)=>{var _0x3007e1=_0x108b92;const _0x46f170=_0x457b19['headers'],_0x45c5b5=nn();return _0x45c5b5&&_0x46f170[_0x3007e1(0x404)](_0x3007e1(0x182),_0x45c5b5),_0x5abef0(_0x457b19);}});}};Ne=sn([on(0x0,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)]))],Ne);var an=Object[_0x274a5e(0x171)],cn=(_0x23305a,_0x179793,_0x3e538f,_0x2dbfd5)=>{var _0x2d122a=_0x274a5e;for(var _0x351bdf=_0x2dbfd5>0x1?void 0x0:_0x2dbfd5?an(_0x179793,_0x3e538f):_0x179793,_0x10641e=_0x23305a[_0x2d122a(0x2d6)]-0x1,_0x4f698c;_0x10641e>=0x0;_0x10641e--)(_0x4f698c=_0x23305a[_0x10641e])&&(_0x351bdf=_0x4f698c(_0x351bdf)||_0x351bdf);return _0x351bdf;},we=(_0xc2d5c5,_0x50c60f)=>(_0x2475cb,_0x1894fd)=>_0x50c60f(_0x2475cb,_0x1894fd,_0xc2d5c5);exports['DataLoaderService']=class extends a[_0x274a5e(0x162)]{constructor(_0x2d0939,_0x27fd41,_0x3b8d94){var _0x4fa726=_0x274a5e;super(),A(this,'_unitInfo$',new $[(_0x4fa726(0x1f3))](null)),A(this,_0x4fa726(0x38b),this[_0x4fa726(0x484)][_0x4fa726(0x21d)]()),(this['_logService']=_0x2d0939,this[_0x4fa726(0x17e)]=_0x27fd41,this[_0x4fa726(0x38a)]=_0x3b8d94);}async[_0x274a5e(0x318)](_0x108953,_0x4b04c6,_0x406ee7){var _0x440c42=_0x274a5e;this[_0x440c42(0x484)]['next']({'unitId':_0x108953,'type':_0x4b04c6});let _0x4a65d7=null;switch(_0x4b04c6){case J[_0x440c42(0x2ad)]:{_0x4a65d7=await this[_0x440c42(0x17e)][_0x440c42(0x357)](_0x108953,_0x406ee7);break;}case J[_0x440c42(0x339)]:{_0x4a65d7=await this[_0x440c42(0x17e)][_0x440c42(0x2ae)](_0x108953,_0x406ee7);break;}default:{this[_0x440c42(0x2e3)][_0x440c42(0x3c7)]('[DataLoaderService]',_0x440c42(0x22f));break;}}return _0x4a65d7;}async[_0x274a5e(0x291)](_0x29b98a,_0x11459f,_0x2e7d3f){var _0x48119f=_0x274a5e,_0x55c336;this[_0x48119f(0x484)][_0x48119f(0x226)]({'unitId':_0x29b98a,'type':_0x11459f,'subUnitId':_0x2e7d3f});let _0x391676=0x0;const _0x57e62b=await((_0x55c336=this[_0x48119f(0x38a)])==null?void 0x0:_0x55c336['loadOfflineData'](_0x29b98a));return _0x57e62b&&(_0x57e62b['awaitingChangeset']||_0x57e62b[_0x48119f(0x36e)][_0x48119f(0x2d6)]!==0x0)&&(_0x391676=_0x57e62b[_0x48119f(0x37c)]),_0x391676===0x0&&this[_0x48119f(0x2e3)][_0x48119f(0x429)](_0x48119f(0x3df),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x48119f(0x318)](_0x29b98a,_0x11459f,_0x391676);}},exports[_0x274a5e(0x217)]=cn([we(0x0,a[_0x274a5e(0x45a)]),we(0x1,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x370)])),we(0x2,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x217)]);var hn=Object[_0x274a5e(0x171)],_n=(_0x28e3d2,_0x5631a4,_0x27677d,_0x1fbfe0)=>{var _0x55b30f=_0x274a5e;for(var _0x456041=_0x1fbfe0>0x1?void 0x0:_0x1fbfe0?hn(_0x5631a4,_0x27677d):_0x5631a4,_0x5890fa=_0x28e3d2[_0x55b30f(0x2d6)]-0x1,_0x458510;_0x5890fa>=0x0;_0x5890fa--)(_0x458510=_0x28e3d2[_0x5890fa])&&(_0x456041=_0x458510(_0x456041)||_0x456041);return _0x456041;},Le=(_0x366982,_0x44ea26)=>(_0x55e3ed,_0x54bd26)=>_0x44ea26(_0x55e3ed,_0x54bd26,_0x366982);const ln=[_0x274a5e(0x45e),'image/jpeg',_0x274a5e(0x471),'image/gif',_0x274a5e(0x434)],un=0x5*0x400*0x400,dn=_0x274a5e(0x2f3),vn=_0x274a5e(0x3ff),Sn=_0x274a5e(0x3b6),fn=_0x274a5e(0x2d2);exports['CollaborationImageIoService']=class{constructor(_0x239978,_0x16491b,_0x24a726){var _0x1e27d1=_0x274a5e;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x1e27d1(0x42c))]()),A(this,'change$',this[_0x1e27d1(0x325)]),A(this,_0x1e27d1(0x34c),new Map()),(this[_0x1e27d1(0x15c)]=_0x239978,this[_0x1e27d1(0x317)]=_0x16491b,this['_univerInstanceService']=_0x24a726);}[_0x274a5e(0x28f)](_0x456a5e){var _0x35ca4f=_0x274a5e;this[_0x35ca4f(0x1cf)]=_0x456a5e,this['_change$'][_0x35ca4f(0x226)](_0x456a5e);}[_0x274a5e(0x112)](_0x176bfa,_0x4b6ad2){var _0x5c2d66=_0x274a5e;if(_0x4b6ad2===z['ImageSourceType']['BASE64']){const _0xf7eb02=new Image();return _0xf7eb02['src']=_0x176bfa,_0xf7eb02;}return this['_imageSourceCache'][_0x5c2d66(0x319)](_0x176bfa);}['addImageSourceCache'](_0x446433,_0x5bf486,_0x159b42){var _0x29dd96=_0x274a5e;_0x5bf486===z['ImageSourceType'][_0x29dd96(0x1a2)]||_0x159b42==null||this['_imageSourceCache']['set'](_0x446433,_0x159b42);}async[_0x274a5e(0x2bb)](_0x546628){var _0x2dac4e=_0x274a5e;try{const _0x3f7edd=this[_0x2dac4e(0x212)](this[_0x2dac4e(0x26e)](),''+_0x546628),_0x3087ac=(await this[_0x2dac4e(0x15c)]['get'](_0x3f7edd))[_0x2dac4e(0x39e)];if(_0x3087ac[_0x2dac4e(0x3c7)]&&_0x3087ac['error'][_0x2dac4e(0x1a8)]===gt['OK']){const _0x17705b=new URL(_0x3087ac[_0x2dac4e(0x235)],this[_0x2dac4e(0x135)]())['toString']();return Promise[_0x2dac4e(0x262)](_0x17705b);}return Promise[_0x2dac4e(0x343)](_0x3087ac['error']);}catch(_0x55b94c){return Promise[_0x2dac4e(0x343)](_0x55b94c);}}async[_0x274a5e(0x365)](_0x45e1d9){var _0x359670=_0x274a5e;let _0x6deb1f='';if(!ln[_0x359670(0x353)](_0x45e1d9['type']))return this[_0x359670(0x245)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x359670(0x208)]));if(_0x45e1d9['size']>un)return this[_0x359670(0x245)](),Promise[_0x359670(0x343)](new Error(z[_0x359670(0x2f0)]['ERROR_EXCEED_SIZE']));try{const _0x2dd8ee=new FormData();_0x2dd8ee['append'](_0x359670(0x19e),_0x45e1d9);const _0x4ee68a=this[_0x359670(0x3eb)][_0x359670(0x2cf)](),_0x187d3c=_0x4ee68a==null?void 0x0:_0x4ee68a[_0x359670(0x398)]();if(!_0x187d3c)throw new Error('unitId\x20is\x20not\x20found');const _0x361cf2=this['_getUploadFileURL']()+_0x359670(0x283)+_0x45e1d9[_0x359670(0x479)][_0x359670(0x3d7)]()+_0x359670(0x418)+Et[_0x359670(0x256)]+_0x359670(0x3cd)+encodeURIComponent(_0x187d3c),_0x132f5f={'body':_0x2dd8ee},_0x1fed72=(await this[_0x359670(0x15c)][_0x359670(0x469)](_0x361cf2,_0x132f5f))[_0x359670(0x39e)];if(typeof _0x1fed72['FileId']!=_0x359670(0x161))return this[_0x359670(0x245)](),Promise[_0x359670(0x343)](new Error(z[_0x359670(0x2f0)][_0x359670(0x3e4)]));_0x6deb1f=_0x1fed72[_0x359670(0x1cc)];}catch{return this[_0x359670(0x245)](),Promise[_0x359670(0x343)](new Error(z[_0x359670(0x2f0)]['ERROR_IMAGE']));}return new Promise((_0x4ef211,_0x5a1c19)=>{var _0x1e0acf=_0x359670;const _0x15cedf=new FileReader();_0x15cedf[_0x1e0acf(0x3fb)](_0x45e1d9),_0x15cedf['onload']=_0xf5e6b7=>{var _0x2c051f=_0x1e0acf,_0x57448f;const _0x2c29c3=(_0x57448f=_0xf5e6b7[_0x2c051f(0x281)])==null?void 0x0:_0x57448f[_0x2c051f(0x259)];if(_0x2c29c3==null){this[_0x2c051f(0x245)](),_0x5a1c19(new Error(z[_0x2c051f(0x2f0)][_0x2c051f(0x3e4)]));return;}const _0x5c7337=a[_0x2c051f(0x136)][_0x2c051f(0x2c8)](0x6);_0x4ef211({'imageId':_0x5c7337,'imageSourceType':z[_0x2c051f(0x196)][_0x2c051f(0x242)],'source':_0x6deb1f,'base64Cache':_0x2c29c3,'status':z[_0x2c051f(0x2f0)][_0x2c051f(0x1fe)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x33eb9b=_0x274a5e,_0x4557f7,_0x3fb96d;const _0x375557=this['_configService'][_0x33eb9b(0x16d)](dn),_0x29521a=this[_0x33eb9b(0x317)][_0x33eb9b(0x16d)](K);return(_0x3fb96d=(_0x4557f7=_0x29521a==null?void 0x0:_0x29521a[_0x33eb9b(0x16b)])!=null?_0x4557f7:_0x375557)!=null?_0x3fb96d:vn;}[_0x274a5e(0x26e)](){var _0x573975=_0x274a5e,_0x3eba08,_0x4e433b;const _0x3b9ac6=this[_0x573975(0x317)]['getConfig'](Sn),_0x58a900=this[_0x573975(0x317)][_0x573975(0x16d)](K);return(_0x4e433b=(_0x3eba08=_0x58a900==null?void 0x0:_0x58a900[_0x573975(0x1f1)])!=null?_0x3eba08:_0x3b9ac6)!=null?_0x4e433b:fn;}[_0x274a5e(0x135)](){var _0x4a7a98=_0x274a5e,_0x1df69b;const _0x2a269b=this[_0x4a7a98(0x317)]['getConfig'](K);return(_0x1df69b=_0x2a269b==null?void 0x0:_0x2a269b['downloadEndpointUrl'])!=null?_0x1df69b:location[_0x4a7a98(0x1af)];}[_0x274a5e(0x212)](_0x430d2a,_0xfeba4e){var _0x2a358b=_0x274a5e;return _0x430d2a[_0x2a358b(0x3bd)](_0x2a358b(0x260),_0xfeba4e);}[_0x274a5e(0x245)](){var _0x426efa=_0x274a5e;this[_0x426efa(0x1cf)]-=0x1,this['_change$'][_0x426efa(0x226)](this[_0x426efa(0x1cf)]);}},exports[_0x274a5e(0x282)]=_n([Le(0x0,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)])),Le(0x1,a[_0x274a5e(0x120)]),Le(0x2,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x3cf)]))],exports[_0x274a5e(0x282)]);var pn=Object[_0x274a5e(0x171)],In=(_0x3d842e,_0x57bf9d,_0x259c12,_0xbb079f)=>{var _0x384aee=_0x274a5e;for(var _0x328f78=_0xbb079f>0x1?void 0x0:_0xbb079f?pn(_0x57bf9d,_0x259c12):_0x57bf9d,_0x52e5bd=_0x3d842e[_0x384aee(0x2d6)]-0x1,_0x15625a;_0x52e5bd>=0x0;_0x52e5bd--)(_0x15625a=_0x3d842e[_0x52e5bd])&&(_0x328f78=_0x15625a(_0x328f78)||_0x328f78);return _0x328f78;},at=(_0x37a5b3,_0x1d2f07)=>(_0x2b720e,_0x3132a1)=>_0x1d2f07(_0x2b720e,_0x3132a1,_0x37a5b3);const gn=_0x274a5e(0x368);exports[_0x274a5e(0x1f0)]=class{constructor(_0x385554,_0xbfb1be){var _0x596c80=_0x274a5e;this['_configService']=_0x385554,this[_0x596c80(0x347)]=_0xbfb1be;}[_0x274a5e(0x132)](){var _0x56fb53=_0x274a5e,_0x5ce99e,_0x4347cc;const _0x1b1b30=this['_configService'][_0x56fb53(0x16d)](Ve),_0x12d05c=this['_configService'][_0x56fb53(0x16d)](K);return(_0x4347cc=(_0x5ce99e=_0x12d05c==null?void 0x0:_0x12d05c[_0x56fb53(0x474)])!=null?_0x5ce99e:_0x1b1b30)!=null?_0x4347cc:gn;}async[_0x274a5e(0x1f2)](_0x1b28d9){var _0x1a8ad4=_0x274a5e;const _0x2d6700=this[_0x1a8ad4(0x132)]()+_0x1a8ad4(0x470);return{'list':[{'title':_0x1a8ad4(0x366),'mentions':(await this[_0x1a8ad4(0x347)]['get'](_0x2d6700,{'params':{'objectID':_0x1b28d9[_0x1a8ad4(0x475)],'unitID':_0x1b28d9[_0x1a8ad4(0x475)]}}))[_0x1a8ad4(0x39e)][_0x1a8ad4(0x39b)][_0x1a8ad4(0x1e6)](_0x378d09=>({'objectId':_0x378d09['id'],'name':_0x378d09['subject'][_0x1a8ad4(0x32c)],'metadata':{'icon':_0x378d09['subject'][_0x1a8ad4(0x31b)]},'label':_0x378d09['subject'][_0x1a8ad4(0x32c)],'objectType':a[_0x1a8ad4(0x3d1)]['PERSON']})),'metadata':{},'type':a[_0x1a8ad4(0x3d1)][_0x1a8ad4(0x3f4)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x274a5e(0x2bc)](a['IConfigService'])),at(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)]))],exports['MentionIoHttpService']);var En=Object[_0x274a5e(0x171)],mn=(_0x129b65,_0x1dd39c,_0x2fbd2e,_0x43e6c9)=>{var _0x268749=_0x274a5e;for(var _0x515daf=_0x43e6c9>0x1?void 0x0:_0x43e6c9?En(_0x1dd39c,_0x2fbd2e):_0x1dd39c,_0x2d2a92=_0x129b65[_0x268749(0x2d6)]-0x1,_0x49aa7b;_0x2d2a92>=0x0;_0x2d2a92--)(_0x49aa7b=_0x129b65[_0x2d2a92])&&(_0x515daf=_0x49aa7b(_0x515daf)||_0x515daf);return _0x515daf;},le=(_0x350311,_0x1dfbc7)=>(_0x50f18b,_0x141737)=>_0x1dfbc7(_0x50f18b,_0x141737,_0x350311);let Ue=class extends a[_0x274a5e(0x162)]{constructor(_0x5aa68a,_0x42e535,_0x1cf029,_0x37338b,_0x34dd52){var _0x4d3475=_0x274a5e;super(),this[_0x4d3475(0x267)]=_0x5aa68a,this['_univerInstanceService']=_0x42e535,this[_0x4d3475(0x131)]=_0x1cf029,this['_collaborationSessionService']=_0x37338b,this[_0x4d3475(0x1f4)]=_0x34dd52,this[_0x4d3475(0x2d7)](),this[_0x4d3475(0x3b9)]();}[_0x274a5e(0x3b9)](){var _0x4504e4=_0x274a5e;const _0x4268b8=async _0x8ed8da=>{var _0x5b8f9f=_0x3799;(await this[_0x5b8f9f(0x44d)]['requireSession'](_0x8ed8da))[_0x5b8f9f(0x11a)]['pipe'](V[_0x5b8f9f(0x329)](_0x69e3b8=>_0x69e3b8['eventID']===I[_0x5b8f9f(0x197)][_0x5b8f9f(0x2e0)]),V[_0x5b8f9f(0x482)](this[_0x5b8f9f(0x149)]))['subscribe'](_0xae8648=>{var _0x359cb3=_0x5b8f9f;const _0x4e4d48=_0xae8648,{reason:_0x7b1b5e}=_0x4e4d48[_0x359cb3(0x24b)];this[_0x359cb3(0x1f4)]['emitEvent']({'id':Z[_0x359cb3(0x47e)],'data':_0x7b1b5e}),this[_0x359cb3(0x131)][_0x359cb3(0x153)](new X[(_0x359cb3(0x3c4))](_0x8ed8da)['id'],!0x1),this[_0x359cb3(0x44d)]['closeSession'](_0x8ed8da);});};$[_0x4504e4(0x344)](this[_0x4504e4(0x3eb)][_0x4504e4(0x3c8)](a[_0x4504e4(0x2a7)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x4504e4(0x3c8)](a[_0x4504e4(0x2a7)]['UNIVER_DOC']))[_0x4504e4(0x2c6)](V['map'](_0x369a95=>_0x369a95[_0x4504e4(0x398)]()),V[_0x4504e4(0x329)](_0x1f38ac=>!a[_0x4504e4(0x1ff)](_0x1f38ac)),V[_0x4504e4(0x482)](this['dispose$']))[_0x4504e4(0x21b)](_0x143268=>{_0x4268b8(_0x143268);});}[_0x274a5e(0x2d7)](){var _0x2e3ceb=_0x274a5e;const _0x5df8d2=async _0x2acf09=>{var _0x3428cb=_0x3799;const _0x586b87=await this[_0x3428cb(0x44d)][_0x3428cb(0x1f8)](_0x2acf09),_0x4cab12=this[_0x3428cb(0x267)][_0x3428cb(0x319)](X[_0x3428cb(0x1c8)]);_0x586b87[_0x3428cb(0x11a)][_0x3428cb(0x2c6)](V[_0x3428cb(0x329)](_0x1e4438=>_0x1e4438[_0x3428cb(0x273)]===I[_0x3428cb(0x197)]['UPDATE_PERMISSION_OBJ']),V[_0x3428cb(0x482)](this['dispose$']))[_0x3428cb(0x21b)](_0x1fe05d=>{var _0x238186=_0x3428cb;const _0x55ee84=_0x1fe05d,{objectId:_0x54cb05}=_0x55ee84[_0x238186(0x24b)];_0x54cb05===_0x2acf09?_0x4cab12[_0x238186(0x3fa)](_0x2acf09):_0x4cab12[_0x238186(0x18c)](_0x2acf09,_0x54cb05);});};$[_0x2e3ceb(0x344)](this['_univerInstanceService'][_0x2e3ceb(0x3c8)](a[_0x2e3ceb(0x2a7)][_0x2e3ceb(0x2ad)]))[_0x2e3ceb(0x2c6)](V[_0x2e3ceb(0x1e6)](_0x1d8e07=>_0x1d8e07[_0x2e3ceb(0x398)]()),V['filter'](_0x4799a7=>!a[_0x2e3ceb(0x1ff)](_0x4799a7)),V[_0x2e3ceb(0x482)](this[_0x2e3ceb(0x149)]))['subscribe'](_0x1f1e6a=>{_0x5df8d2(_0x1f1e6a);});}};Ue=mn([le(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),le(0x1,a[_0x274a5e(0x3cf)]),le(0x2,a[_0x274a5e(0x32f)]),le(0x3,a[_0x274a5e(0x2bc)](exports[_0x274a5e(0x334)])),le(0x4,a[_0x274a5e(0x2bc)](ee))],Ue);var Cn=Object[_0x274a5e(0x171)],Tn=(_0x2541e4,_0x43d260,_0x301826,_0x7a2d7d)=>{var _0x5b4e2e=_0x274a5e;for(var _0x531243=_0x7a2d7d>0x1?void 0x0:_0x7a2d7d?Cn(_0x43d260,_0x301826):_0x43d260,_0x4878f2=_0x2541e4[_0x5b4e2e(0x2d6)]-0x1,_0x229f92;_0x4878f2>=0x0;_0x4878f2--)(_0x229f92=_0x2541e4[_0x4878f2])&&(_0x531243=_0x229f92(_0x531243)||_0x531243);return _0x531243;},ct=(_0x5c980c,_0x558ca2)=>(_0x5c9f6a,_0x3a983a)=>_0x558ca2(_0x5c9f6a,_0x3a983a,_0x5c980c);exports[_0x274a5e(0x206)]=class{constructor(_0x23d15d,_0x59ffb6){var _0x47a8b0=_0x274a5e;this[_0x47a8b0(0x317)]=_0x23d15d,this[_0x47a8b0(0x15c)]=_0x59ffb6;}async[_0x274a5e(0x1db)](_0x5d21f2,_0x2ab2f7){var _0x331a52=_0x274a5e,_0x737803;const {unitID:_0x171046,type:_0x32b940,revision:_0x569c4e=0x0}=_0x2ab2f7,_0x3b41dc=this[_0x331a52(0x46f)]()+'/'+_0x32b940+'/unit/'+_0x171046+_0x331a52(0x323)+_0x569c4e,_0x1a96f0=(await this[_0x331a52(0x15c)][_0x331a52(0x319)](_0x3b41dc))[_0x331a52(0x39e)],_0x2f4d4b=(_0x737803=_0x1a96f0['snapshot'])==null?void 0x0:_0x737803['workbook'];if(_0x2f4d4b){const _0x6a5bdf=_0x2f4d4b==null?void 0x0:_0x2f4d4b['originalMeta'],_0x4af8da=I[_0x331a52(0x3d8)][_0x331a52(0x1c0)](I['b64DecodeUnicode'](_0x6a5bdf));_0x2f4d4b[_0x331a52(0x452)]=_0x4af8da,Object[_0x331a52(0x163)](_0x2f4d4b[_0x331a52(0x2f1)])[_0x331a52(0x442)](([,_0x120330])=>{var _0x495fae=_0x331a52;const _0x4554e7=_0x120330[_0x495fae(0x452)],_0x507fd3=I[_0x495fae(0x3d8)]['encode'](I[_0x495fae(0x2ab)](_0x4554e7));_0x120330[_0x495fae(0x452)]=_0x507fd3;});}return _0x1a96f0;}async[_0x274a5e(0x234)](_0x2d477f,_0x361669){var _0x3c7632=_0x274a5e;const {unitID:_0x517c32,type:_0x559579,blockID:_0xc551b6}=_0x361669,_0x370db1=this['_getAPIPrefix']()+'/'+_0x559579+'/unit/'+_0x517c32+_0x3c7632(0x27f)+_0xc551b6;return(await this[_0x3c7632(0x15c)][_0x3c7632(0x319)](_0x370db1))['body'];}async[_0x274a5e(0x20e)](_0x21a2fb,_0x3fb789){var _0x6211b7=_0x274a5e;const {unitID:_0x246fa0,type:_0x608b7a,blockID:_0x110c88}=_0x3fb789,_0x37923c=this['_getAPIPrefix']()+_0x6211b7(0x27f)+_0x608b7a+'/unit/'+_0x246fa0+_0x6211b7(0x27f)+_0x110c88;return(await this[_0x6211b7(0x15c)]['get'](_0x37923c))['body'];}async[_0x274a5e(0x47c)](_0x16a459,_0x382f87){var _0x4174b5=_0x274a5e;const {unitID:_0x161f2b,type:_0x89ba27,from:_0x33049c,to:_0x1dd226}=_0x382f87,_0x4d9cdd=this[_0x4174b5(0x14d)]()+'/'+_0x89ba27+'/unit/'+_0x161f2b+_0x4174b5(0x2db)+_0x33049c+'&to='+_0x1dd226;return(await this[_0x4174b5(0x15c)][_0x4174b5(0x319)](_0x4d9cdd))[_0x4174b5(0x39e)];}[_0x274a5e(0x46f)](){var _0x456988=_0x274a5e,_0x4dacf3;return(_0x4dacf3=this['_configService'][_0x456988(0x16d)](lt))!=null?_0x4dacf3:this[_0x456988(0x14d)]();}[_0x274a5e(0x14d)](){var _0x203bc0=_0x274a5e,_0x4f4f08,_0x569d32;const _0x8c8d6e=this[_0x203bc0(0x317)][_0x203bc0(0x16d)](_t),_0x2004fd=this[_0x203bc0(0x317)][_0x203bc0(0x16d)](K);return(_0x569d32=(_0x4f4f08=_0x2004fd==null?void 0x0:_0x2004fd['snapshotServerUrl'])!=null?_0x4f4f08:_0x8c8d6e)!=null?_0x569d32:Lt;}async[_0x274a5e(0x215)](_0x500631,_0x46e58f){var _0x5ede1b=_0x274a5e;const _0xf04c57='/universer-api/snapshot/'+_0x46e58f['type']+'/unit/'+_0x46e58f[_0x5ede1b(0x3d4)]+'/resources';return(await this['_httpService']['get'](_0xf04c57,{'params':{'resourceId':JSON['stringify'](_0x46e58f[_0x5ede1b(0x472)])}}))[_0x5ede1b(0x39e)];}[_0x274a5e(0x3aa)](){var _0x1fb9db=_0x274a5e;throw new Error(_0x1fb9db(0x33e));}[_0x274a5e(0x30f)](){var _0x2f97e8=_0x274a5e;throw new Error(_0x2f97e8(0x33e));}[_0x274a5e(0x1f9)](){var _0x2b88cd=_0x274a5e;throw new Error(_0x2b88cd(0x33e));}['saveChangeset'](){var _0x2067bd=_0x274a5e;throw new Error(_0x2067bd(0x33e));}['copyFileMeta'](){var _0x7f2c9f=_0x274a5e;throw new Error(_0x7f2c9f(0x33e));}[_0x274a5e(0x177)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x274a5e(0x206)]=Tn([ct(0x0,a[_0x274a5e(0x120)]),ct(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)]))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x274a5e(0x171)],Rn=(_0x47734b,_0x274e92,_0x337f36,_0x3e463a)=>{var _0x2054c5=_0x274a5e;for(var _0x3ae844=_0x3e463a>0x1?void 0x0:_0x3e463a?bn(_0x274e92,_0x337f36):_0x274e92,_0x4adc59=_0x47734b[_0x2054c5(0x2d6)]-0x1,_0x216f47;_0x4adc59>=0x0;_0x4adc59--)(_0x216f47=_0x47734b[_0x4adc59])&&(_0x3ae844=_0x216f47(_0x3ae844)||_0x3ae844);return _0x3ae844;},ue=(_0x101502,_0x5ba364)=>(_0x5902e5,_0x2fe3a1)=>_0x5ba364(_0x5902e5,_0x2fe3a1,_0x101502);exports[_0x274a5e(0x459)]=class extends a[_0x274a5e(0x38c)]{constructor(_0x11aee3,_0x183f9a,_0x275152,_0x1abcc0,_0xd06787){var _0x146cf5=_0x274a5e;super(_0x11aee3,_0x183f9a,_0x275152),this[_0x146cf5(0x39c)]=_0x1abcc0,this[_0x146cf5(0x2e3)]=_0xd06787;}[_0x274a5e(0x34f)](_0x4ae460,_0x382cb8){var _0x3d7073=_0x274a5e;const _0x1534f3=this[_0x3d7073(0x3d5)](_0x4ae460);if(_0x1534f3)try{const _0x186d93=this[_0x3d7073(0x172)](_0x1534f3,_0x382cb8);this[_0x3d7073(0x35e)](_0x4ae460,_0x186d93);}catch(_0x2013f4){this['_logService']['error']('[CollaborationUndoRedoService]',_0x2013f4),this[_0x3d7073(0x413)](_0x4ae460);}const _0x2b3640=this[_0x3d7073(0x195)](_0x4ae460);if(_0x2b3640)try{const _0x9683fc=this[_0x3d7073(0x172)](_0x2b3640,_0x382cb8);this[_0x3d7073(0x340)](_0x4ae460,_0x9683fc);}catch(_0x4d3332){this[_0x3d7073(0x2e3)][_0x3d7073(0x3c7)](_0x4d3332),this[_0x3d7073(0x355)](_0x4ae460);}}['_clearUndo'](_0x10fc33){var _0x461c35=_0x274a5e;const _0x20bcde=this[_0x461c35(0x3d5)](_0x10fc33);_0x20bcde&&(_0x20bcde[_0x461c35(0x2d6)]=0x0,this[_0x461c35(0x43a)]());}[_0x274a5e(0x355)](_0x296c8c){var _0x222d5c=_0x274a5e;const _0xb9932e=this[_0x222d5c(0x195)](_0x296c8c);_0xb9932e&&(_0xb9932e['length']=0x0,this[_0x222d5c(0x43a)]());}[_0x274a5e(0x35e)](_0x5dd1c5,_0x1f9e6a){var _0x173cfc=_0x274a5e;this[_0x173cfc(0x274)][_0x173cfc(0x404)](_0x5dd1c5,_0x1f9e6a),this['_updateStatus']();}['_substituteRedoStack'](_0x482f33,_0x3a13b4){var _0x3a098d=_0x274a5e;this[_0x3a098d(0x3a0)][_0x3a098d(0x404)](_0x482f33,_0x3a13b4),this[_0x3a098d(0x43a)]();}[_0x274a5e(0x172)](_0x487046,_0x3c5ed0){var _0x23f54f=_0x274a5e;const _0x47b74a=[];let _0x3e3861=_0x3c5ed0,_0x584661=_0x3c5ed0;for(let _0x519020=_0x487046['length']-0x1;_0x519020>=0x0;_0x519020--){const {unitID:_0x59ad3a,undoMutations:_0xc1ca94,redoMutations:_0x4fa078}=_0x487046[_0x519020],_0x137c2f=this[_0x23f54f(0x39c)]['transformMutationsWithChangeset'](_0x3e3861,_0xc1ca94),_0x5dd846=this[_0x23f54f(0x39c)][_0x23f54f(0x46a)](_0x584661,_0x4fa078);if(I[_0x23f54f(0x33a)](_0x137c2f)||I[_0x23f54f(0x33a)](_0x5dd846)){this[_0x23f54f(0x2e3)][_0x23f54f(0x3c7)](_0x23f54f(0x2a1),_0x23f54f(0x124),_0x137c2f,_0x5dd846);break;}_0x3e3861=_0x137c2f[_0x23f54f(0x121)],_0x584661=_0x5dd846['c1Prime'],_0x47b74a[_0x23f54f(0x427)]({'unitID':_0x59ad3a,'undoMutations':_0x137c2f['m2Prime'],'redoMutations':_0x5dd846[_0x23f54f(0x354)]});}return _0x47b74a[_0x23f54f(0x3ad)]();}},exports[_0x274a5e(0x459)]=Rn([ue(0x0,a[_0x274a5e(0x3cf)]),ue(0x1,a[_0x274a5e(0x449)]),ue(0x2,a[_0x274a5e(0x3ba)]),ue(0x3,I['ITransformService']),ue(0x4,a[_0x274a5e(0x45a)])],exports[_0x274a5e(0x459)]);var On=Object[_0x274a5e(0x13e)],yn=Object[_0x274a5e(0x171)],Nn=(_0x575862,_0x7d23c4,_0x51a2ee)=>_0x7d23c4 in _0x575862?On(_0x575862,_0x7d23c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51a2ee}):_0x575862[_0x7d23c4]=_0x51a2ee,Un=(_0x496f09,_0x3e8181,_0x17f286,_0x3573ac)=>{var _0x2cf252=_0x274a5e;for(var _0x36f75a=_0x3573ac>0x1?void 0x0:_0x3573ac?yn(_0x3e8181,_0x17f286):_0x3e8181,_0x32b8d8=_0x496f09[_0x2cf252(0x2d6)]-0x1,_0x246105;_0x32b8d8>=0x0;_0x32b8d8--)(_0x246105=_0x496f09[_0x32b8d8])&&(_0x36f75a=_0x246105(_0x36f75a)||_0x36f75a);return _0x36f75a;},Me=(_0x3ec7a2,_0x3c4477)=>(_0xfc07c9,_0x5e38c)=>_0x3c4477(_0xfc07c9,_0x5e38c,_0x3ec7a2),Dn=(_0x3276b9,_0x52dc75,_0x336cb8)=>Nn(_0x3276b9,_0x52dc75+'',_0x336cb8);const An=_0x274a5e(0x1ab);exports['UniverCollaborationClientPlugin']=class extends a[_0x274a5e(0x2d1)]{constructor(_0x2d7eb5,_0x14972b,_0x29b73b,_0x161c41){var _0x149901=_0x274a5e;super(),A(this,_0x149901(0x309)),(this['_logService']=_0x14972b,this[_0x149901(0x267)]=_0x29b73b,this['_configService']=_0x161c41);const {..._0x4a279c}=a[_0x149901(0x344)]({},Yt,_0x2d7eb5);if(!_0x4a279c[_0x149901(0x2b8)])throw new Error(_0x149901(0x386));this['_config']=_0x4a279c,this[_0x149901(0x317)]['setConfig'](K,_0x4a279c);}[_0x274a5e(0x1e0)](){var _0x44e571=_0x274a5e;this[_0x44e571(0x422)](),this[_0x44e571(0x11d)]();}[_0x274a5e(0x422)](){var _0x3a04ce=_0x274a5e,_0x59ec28,_0x219a0d;this[_0x3a04ce(0x267)][_0x3a04ce(0x2b0)](a[_0x3a04ce(0x384)])&&this[_0x3a04ce(0x2e3)]['error'](_0x3a04ce(0x2b4),_0x3a04ce(0x26c));const _0x547de0=a[_0x3a04ce(0x3ab)]([[a['IUndoRedoService'],{'useClass':exports[_0x3a04ce(0x459)]}],[exports[_0x3a04ce(0x334)]],[exports[_0x3a04ce(0x436)]],[exports[_0x3a04ce(0x390)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x3a04ce(0x217)]],[He,{'useClass':this[_0x3a04ce(0x309)][_0x3a04ce(0x2b8)]}],[I[_0x3a04ce(0x12d)],{'useClass':exports[_0x3a04ce(0x206)]}],[a[_0x3a04ce(0x3f0)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x3a04ce(0x2a2)],{'useClass':exports[_0x3a04ce(0x282)]}],[a['IMentionIOService'],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[xe]],(_0x59ec28=this[_0x3a04ce(0x309)])==null?void 0x0:_0x59ec28['override']);if(!((_0x219a0d=this[_0x3a04ce(0x309)])!=null&&_0x219a0d['enableSingleActiveInstanceLock'])){const _0x4e7667=_0x547de0[_0x3a04ce(0x3cc)](([_0x5ee2db])=>_0x5ee2db===de);_0x4e7667!==-0x1&&_0x547de0[_0x3a04ce(0x3a7)](_0x4e7667,0x1);}a[_0x3a04ce(0x42e)](this['_injector'],_0x547de0);}[_0x274a5e(0x11d)](){var _0x1907cd=_0x274a5e,_0x3e4b7a,_0xb35903,_0x3dc266;this[_0x1907cd(0x267)]['get'](Y[_0x1907cd(0x13f)])[_0x1907cd(0x447)]({'priority':0x14,'interceptor':Y[_0x1907cd(0x25a)]({'maxParallel':0x6})}),(_0x3e4b7a=this['_config'])!=null&&_0x3e4b7a['enableOfflineEditing']||(_0xb35903=this[_0x1907cd(0x267)][_0x1907cd(0x319)](q,a[_0x1907cd(0x439)][_0x1907cd(0x42f)]))==null||_0xb35903['disableLocalCache'](),(_0x3dc266=this[_0x1907cd(0x309)])!=null&&_0x3dc266['enableAuthServer']&&a['touchDependencies'](this[_0x1907cd(0x267)],[[ye]]),a[_0x1907cd(0x238)](this[_0x1907cd(0x267)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x274a5e(0x382)],'pluginName',An),exports[_0x274a5e(0x382)]=Un([a[_0x274a5e(0x191)](I[_0x274a5e(0x239)],Y[_0x274a5e(0x23f)]),Me(0x1,a[_0x274a5e(0x45a)]),Me(0x2,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),Me(0x3,a[_0x274a5e(0x120)])],exports[_0x274a5e(0x382)]),exports[_0x274a5e(0x160)]=Ve,exports[_0x274a5e(0x440)]=K,exports[_0x274a5e(0x24f)]=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x274a5e(0x1ad)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x274a5e(0x20d)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x274a5e(0x11c)]=Kt,exports['DEFAULT_WS_SESSION_TICKET_URL']=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports[_0x274a5e(0x2ba)]=ke,exports['ICollaborationSocketService']=He,exports[_0x274a5e(0x3ed)]=q,exports[_0x274a5e(0x37e)]=mt,exports[_0x274a5e(0x20b)]=de,exports[_0x274a5e(0x26b)]=Ft,exports[_0x274a5e(0x2f6)]=Bt,exports[_0x274a5e(0x139)]=It,exports[_0x274a5e(0x335)]=Gt,exports[_0x274a5e(0x2eb)]=ft,exports[_0x274a5e(0x35d)]=Mt,exports[_0x274a5e(0x379)]=_t,exports[_0x274a5e(0x1aa)]=lt,exports[_0x274a5e(0x1d9)]=re,exports[_0x274a5e(0x1e1)]=je,exports[_0x274a5e(0x214)]=Ct,exports[_0x274a5e(0x17d)]=oi,exports['serializeCombRequest']=Tt;
|
1
|
+
'use strict';var _0x3c6410=_0x5a65;(function(_0x2e4694,_0x4cbfbf){var _0x412829=_0x5a65,_0x2d43e0=_0x2e4694();while(!![]){try{var _0x5a80ee=parseInt(_0x412829(0x467))/0x1*(-parseInt(_0x412829(0x139))/0x2)+-parseInt(_0x412829(0x1d2))/0x3*(-parseInt(_0x412829(0x2d1))/0x4)+-parseInt(_0x412829(0x437))/0x5*(parseInt(_0x412829(0x393))/0x6)+-parseInt(_0x412829(0x47e))/0x7*(parseInt(_0x412829(0x368))/0x8)+parseInt(_0x412829(0x149))/0x9*(parseInt(_0x412829(0x2a6))/0xa)+parseInt(_0x412829(0x3e1))/0xb+-parseInt(_0x412829(0x1db))/0xc*(-parseInt(_0x412829(0x15a))/0xd);if(_0x5a80ee===_0x4cbfbf)break;else _0x2d43e0['push'](_0x2d43e0['shift']());}catch(_0x29136a){_0x2d43e0['push'](_0x2d43e0['shift']());}}}(_0x1566,0x486e2));var Dt=Object[_0x3c6410(0x1c9)],At=(_0x57df4e,_0x488c09,_0x4a2ee4)=>_0x488c09 in _0x57df4e?Dt(_0x57df4e,_0x488c09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a2ee4}):_0x57df4e[_0x488c09]=_0x4a2ee4,A=(_0x545289,_0x2bda17,_0x13fad2)=>At(_0x545289,typeof _0x2bda17!=_0x3c6410(0x222)?_0x2bda17+'':_0x2bda17,_0x13fad2);function _0x5a65(_0x543cc2,_0x5dae0f){var _0x1566fb=_0x1566();return _0x5a65=function(_0x5a65f1,_0x38c7ce){_0x5a65f1=_0x5a65f1-0xfa;var _0x46df2b=_0x1566fb[_0x5a65f1];return _0x46df2b;},_0x5a65(_0x543cc2,_0x5dae0f);}Object[_0x3c6410(0x1c9)](exports,Symbol[_0x3c6410(0x1f2)],{'value':_0x3c6410(0x16a)});const a=require(_0x3c6410(0x3ba)),$=require(_0x3c6410(0x1d5)),V=require(_0x3c6410(0x199)),I=require(_0x3c6410(0x267)),Y=require(_0x3c6410(0x351)),Pt=require(_0x3c6410(0x441)),ht=require('@univerjs/docs'),X=require(_0x3c6410(0x1e0)),z=require(_0x3c6410(0x463)),wt=require(_0x3c6410(0x3bf)),_t=_0x3c6410(0x3c7),Lt=_0x3c6410(0x214),lt=_0x3c6410(0x380),Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x3c6410(0x392),dt=_0x3c6410(0x3d0),kt=_0x3c6410(0x383),vt=_0x3c6410(0x45b),Ht=0x7530,ke=_0x3c6410(0x438),St=0x4e20,$t=0x4e20,ft=_0x3c6410(0x35d),jt=0x3,Bt=_0x3c6410(0x10f),Ft=0x3e8,pt=_0x3c6410(0xfd),Vt=_0x3c6410(0x2d0),It=_0x3c6410(0x16d),Wt=_0x3c6410(0x3d5),Gt=_0x3c6410(0x259),Kt=_0x3c6410(0x250);var gt=(_0x1a62fa=>(_0x1a62fa[_0x1a62fa['UNDEFINED']=0x0]=_0x3c6410(0x301),_0x1a62fa[_0x1a62fa['OK']=0x1]='OK',_0x1a62fa[_0x1a62fa[_0x3c6410(0x400)]=0x2]=_0x3c6410(0x400),_0x1a62fa[_0x1a62fa[_0x3c6410(0x2f9)]=0x3]=_0x3c6410(0x2f9),_0x1a62fa[_0x1a62fa[_0x3c6410(0x1d6)]=0x4]=_0x3c6410(0x1d6),_0x1a62fa[_0x1a62fa[_0x3c6410(0x174)]=0x5]='UNAUTHENTICATED',_0x1a62fa[_0x1a62fa[_0x3c6410(0x3b5)]=0x6]=_0x3c6410(0x3b5),_0x1a62fa[_0x1a62fa[_0x3c6410(0x3f5)]=0x7]=_0x3c6410(0x3f5),_0x1a62fa[_0x1a62fa[_0x3c6410(0x3e4)]=0x8]=_0x3c6410(0x3e4),_0x1a62fa[_0x1a62fa['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1a62fa[_0x1a62fa[_0x3c6410(0x17a)]=0xa]=_0x3c6410(0x17a),_0x1a62fa[_0x1a62fa[_0x3c6410(0x1e3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1a62fa[_0x1a62fa[_0x3c6410(0x46a)]=0x1771]=_0x3c6410(0x46a),_0x1a62fa[_0x1a62fa[_0x3c6410(0x196)]=0x1772]=_0x3c6410(0x196),_0x1a62fa[_0x1a62fa['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3c6410(0x41a),_0x1a62fa[_0x1a62fa[_0x3c6410(0x1ba)]=0x1b59]='APPLY_REJECT',_0x1a62fa[_0x1a62fa[_0x3c6410(0x12e)]=0x1b5a]=_0x3c6410(0x12e),_0x1a62fa[_0x1a62fa[_0x3c6410(0xfb)]=0x1b5b]=_0x3c6410(0xfb),_0x1a62fa[_0x1a62fa['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1a62fa[_0x1a62fa[_0x3c6410(0x375)]=0x1b5d]='APPLY_DUPLICATED',_0x1a62fa[_0x1a62fa[_0x3c6410(0x432)]=0x1f41]=_0x3c6410(0x432),_0x1a62fa[_0x1a62fa['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3c6410(0x452),_0x1a62fa[_0x1a62fa[_0x3c6410(0x3e0)]=0x232a]=_0x3c6410(0x3e0),_0x1a62fa[_0x1a62fa[_0x3c6410(0x41d)]=0x232b]=_0x3c6410(0x41d),_0x1a62fa[_0x1a62fa['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3c6410(0x419),_0x1a62fa[_0x1a62fa[_0x3c6410(0x1a5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1a62fa[_0x1a62fa[_0x3c6410(0x218)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1a62fa[_0x1a62fa['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3c6410(0x1a4),_0x1a62fa[_0x1a62fa[_0x3c6410(0x2c2)]=0x2713]=_0x3c6410(0x2c2),_0x1a62fa[_0x1a62fa[_0x3c6410(0x22d)]=0x2714]=_0x3c6410(0x22d),_0x1a62fa[_0x1a62fa['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3c6410(0x371),_0x1a62fa[_0x1a62fa[_0x3c6410(0x2ef)]=0x271b]=_0x3c6410(0x2ef),_0x1a62fa[_0x1a62fa[_0x3c6410(0x425)]=0x271c]=_0x3c6410(0x425),_0x1a62fa[_0x1a62fa[_0x3c6410(0x43b)]=0x271d]=_0x3c6410(0x43b),_0x1a62fa[_0x1a62fa['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3c6410(0x3f4),_0x1a62fa[_0x1a62fa[_0x3c6410(0x2b4)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1a62fa[_0x1a62fa[_0x3c6410(0x20b)]=0x2af9]=_0x3c6410(0x20b),_0x1a62fa[_0x1a62fa[_0x3c6410(0x2aa)]=0x2ee1]=_0x3c6410(0x2aa),_0x1a62fa[_0x1a62fa[_0x3c6410(0x145)]=0x2ee2]=_0x3c6410(0x145),_0x1a62fa[_0x1a62fa['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x1a62fa[_0x1a62fa['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3c6410(0x48a),_0x1a62fa[_0x1a62fa[_0x3c6410(0x14c)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1a62fa[_0x1a62fa[_0x3c6410(0x2c8)]=0x32c9]=_0x3c6410(0x2c8),_0x1a62fa[_0x1a62fa[_0x3c6410(0x2ad)]=0x32ca]=_0x3c6410(0x2ad),_0x1a62fa[_0x1a62fa[_0x3c6410(0x1c5)]=0x32cb]=_0x3c6410(0x1c5),_0x1a62fa[_0x1a62fa[_0x3c6410(0x450)]=-0x1]=_0x3c6410(0x450),_0x1a62fa))(gt||{}),J=(_0x467525=>(_0x467525[_0x467525['UNIVER_UNKNOWN']=0x0]=_0x3c6410(0x44b),_0x467525[_0x467525[_0x3c6410(0x2ac)]=0x1]=_0x3c6410(0x2ac),_0x467525[_0x467525[_0x3c6410(0x17f)]=0x2]=_0x3c6410(0x17f),_0x467525[_0x467525[_0x3c6410(0x105)]=0x3]=_0x3c6410(0x105),_0x467525[_0x467525[_0x3c6410(0x10b)]=0x4]=_0x3c6410(0x10b),_0x467525[_0x467525['UNRECOGNIZED']=-0x1]=_0x3c6410(0x450),_0x467525))(J||{}),W=(_0x3e5c5c=>(_0x3e5c5c[_0x3e5c5c['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x3e5c5c[_0x3e5c5c[_0x3c6410(0x2bd)]=0x1]='HELLO',_0x3e5c5c[_0x3e5c5c[_0x3c6410(0x2e2)]=0x2]=_0x3c6410(0x2e2),_0x3e5c5c[_0x3e5c5c['LEAVE']=0x3]=_0x3c6410(0x309),_0x3e5c5c[_0x3e5c5c['INGEST']=0x4]='INGEST',_0x3e5c5c[_0x3e5c5c[_0x3c6410(0x420)]=0x5]='HEARTBEAT',_0x3e5c5c[_0x3e5c5c[_0x3c6410(0x229)]=0x6]=_0x3c6410(0x229),_0x3e5c5c[_0x3e5c5c[_0x3c6410(0x450)]=-0x1]=_0x3c6410(0x450),_0x3e5c5c))(W||{}),oe=(_0x11a977=>(_0x11a977[_0x11a977[_0x3c6410(0x334)]=0x0]=_0x3c6410(0x334),_0x11a977[_0x11a977['OK']=0x1]='OK',_0x11a977[_0x11a977[_0x3c6410(0x223)]=0x2]=_0x3c6410(0x223),_0x11a977[_0x11a977[_0x3c6410(0x206)]=0x3e9]='JOIN_ROOM_FULL',_0x11a977[_0x11a977[_0x3c6410(0x366)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x11a977[_0x11a977[_0x3c6410(0x296)]=0x3eb]=_0x3c6410(0x296),_0x11a977[_0x11a977[_0x3c6410(0x335)]=0x3ec]=_0x3c6410(0x335),_0x11a977[_0x11a977[_0x3c6410(0x450)]=-0x1]=_0x3c6410(0x450),_0x11a977))(oe||{}),Et=(_0x344a2c=>(_0x344a2c[_0x344a2c[_0x3c6410(0x3bd)]=0x0]=_0x3c6410(0x3bd),_0x344a2c[_0x344a2c[_0x3c6410(0x424)]=0x1]=_0x3c6410(0x424),_0x344a2c[_0x344a2c[_0x3c6410(0x2b5)]=0x2]=_0x3c6410(0x2b5),_0x344a2c[_0x344a2c['UnitEmbedded']=0x3]=_0x3c6410(0x276),_0x344a2c[_0x344a2c['UnitSnapshot']=0x4]=_0x3c6410(0x2f1),_0x344a2c[_0x344a2c[_0x3c6410(0x3f6)]=0x5]=_0x3c6410(0x3f6),_0x344a2c[_0x344a2c[_0x3c6410(0x450)]=-0x1]=_0x3c6410(0x450),_0x344a2c))(Et||{});const K=_0x3c6410(0x306),Yt={};var Z=(_0xf5abb=>(_0xf5abb['OTHER_CLIENT_EDITING']=_0x3c6410(0x401),_0xf5abb[_0x3c6410(0x2f9)]=_0x3c6410(0x2f9),_0xf5abb[_0x3c6410(0x226)]=_0x3c6410(0x226),_0xf5abb[_0x3c6410(0x3b8)]='CLOSE_ROOM',_0xf5abb[_0x3c6410(0x2bf)]=_0x3c6410(0x2bf),_0xf5abb[_0x3c6410(0x1a9)]='SOCKET_FAILED_RETRY',_0xf5abb['SOCKET_FAILED']=_0x3c6410(0x1f7),_0xf5abb['SUBMIT_CHANGESET_TIMEOUT']=_0x3c6410(0x2be),_0xf5abb))(Z||{});class ee{constructor(){var _0x112afb=_0x3c6410;A(this,'_event$',new $[(_0x112afb(0x1cd))]()),A(this,_0x112afb(0x329),this['_event$'][_0x112afb(0x1f9)]());}[_0x3c6410(0x331)](_0x57d169){var _0x4ff106=_0x3c6410;this[_0x4ff106(0x1ce)]['next'](_0x57d169);}}const mt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Ct(_0x332fac){var _0x1b2361=_0x3c6410,_0x46808d,_0x9b4398,_0x3ebb3c,_0x26c3e4,_0x341234;const _0x338678=_0x332fac['data'],_0x3ba846=JSON[_0x1b2361(0x283)](_0x338678);switch(_0x3ba846[_0x1b2361(0x447)]){case W[_0x1b2361(0x420)]:case W[_0x1b2361(0x2bd)]:{const _0x537369=_0x3ba846[_0x1b2361(0x1ed)];return{..._0x3ba846,'data':_0x537369,'cmd':_0x3ba846[_0x1b2361(0x447)]};}case W[_0x1b2361(0x2e2)]:{const _0x4f8f93=_0x3ba846[_0x1b2361(0x414)];return{..._0x3ba846,'data':_0x4f8f93,'cmd':_0x3ba846[_0x1b2361(0x447)]};}case W[_0x1b2361(0x229)]:{const _0x28dea9=_0x3ba846[_0x1b2361(0x18a)];switch(_0x28dea9[_0x1b2361(0x3d8)]){case I['CollaborationEvent'][_0x1b2361(0x3a2)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':(_0x46808d=_0x28dea9[_0x1b2361(0x2f7)])==null?void 0x0:_0x46808d['cs']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I['CollaborationEvent'][_0x1b2361(0x3c0)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':(_0x9b4398=_0x28dea9[_0x1b2361(0x470)])==null?void 0x0:_0x9b4398['cs']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I[_0x1b2361(0x43f)]['NEW_CHANGESETS']:return{..._0x3ba846,'data':{..._0x28dea9,'data':(_0x3ebb3c=_0x28dea9[_0x1b2361(0x3fa)])==null?void 0x0:_0x3ebb3c['cs']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I[_0x1b2361(0x43f)][_0x1b2361(0x313)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':(_0x26c3e4=_0x28dea9[_0x1b2361(0x2da)])==null?void 0x0:_0x26c3e4['cs']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I['CollaborationEvent'][_0x1b2361(0x289)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':(_0x341234=_0x28dea9[_0x1b2361(0x303)])==null?void 0x0:_0x341234['cs']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I[_0x1b2361(0x43f)][_0x1b2361(0x12c)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9[_0x1b2361(0x24d)]},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I['CollaborationEvent'][_0x1b2361(0x343)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9['joinEvent']},'cmd':_0x3ba846['cmd']};case I['CollaborationEvent'][_0x1b2361(0x471)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9[_0x1b2361(0x34c)]},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I[_0x1b2361(0x43f)]['LIVESHARE_NEW_HOST']:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9['liveShareNewHost']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I[_0x1b2361(0x43f)][_0x1b2361(0x1fb)]:case I[_0x1b2361(0x43f)]['LIVESHARE_OPERATION']:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9[_0x1b2361(0x195)]},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I[_0x1b2361(0x43f)][_0x1b2361(0x311)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9['liveShareNewHost']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I['CollaborationEvent'][_0x1b2361(0x33e)]:return{..._0x3ba846,'data':_0x28dea9,'cmd':_0x3ba846['cmd']};case I[_0x1b2361(0x43f)]['COMMENT_UPDATE']:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9['commentUpdateEvent']},'cmd':_0x3ba846[_0x1b2361(0x447)]};case I['CollaborationEvent'][_0x1b2361(0x28e)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9['updatePermissionObjEvent']},'cmd':_0x3ba846['cmd']};case I['CollaborationEvent'][_0x1b2361(0x2cb)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9[_0x1b2361(0x446)]},'cmd':_0x3ba846['cmd']};case I['CollaborationEvent'][_0x1b2361(0x461)]:return{..._0x3ba846,'data':{..._0x28dea9,'data':_0x28dea9[_0x1b2361(0x39b)]},'cmd':_0x3ba846[_0x1b2361(0x447)]};default:return _0x3ba846;}}default:return _0x3ba846;}}function Tt(_0x24713b){var _0x27bdfa=_0x3c6410;switch(_0x24713b[_0x27bdfa(0x447)]){case W[_0x27bdfa(0x420)]:case W['HELLO']:return JSON[_0x27bdfa(0x244)]({'cmd':_0x24713b[_0x27bdfa(0x447)],'routeKey':_0x24713b[_0x27bdfa(0x274)]});case W[_0x27bdfa(0x1d4)]:{let _0x5128f2;switch(_0x24713b[_0x27bdfa(0x3a0)][_0x27bdfa(0x3d8)]){case I[_0x27bdfa(0x43f)]['UPDATE_CURSOR']:{_0x5128f2={'eventID':I['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x24713b['data'][_0x27bdfa(0x3a0)]};break;}case I[_0x27bdfa(0x43f)]['USERS_LEAVE']:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x471)],'leaveEvent':_0x24713b['data'][_0x27bdfa(0x3a0)]};break;}case I[_0x27bdfa(0x43f)]['USERS_ENTER']:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x343)],'joinEvent':_0x24713b[_0x27bdfa(0x3a0)]['data']};break;}case I[_0x27bdfa(0x43f)]['LIVESHARE_NEW_HOST']:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x362)],'liveShareNewHost':_0x24713b['data']['data']};break;}case I[_0x27bdfa(0x43f)][_0x27bdfa(0x33c)]:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x33c)],'liveShareOperation':_0x24713b[_0x27bdfa(0x3a0)][_0x27bdfa(0x3a0)]};break;}case I['CollaborationEvent'][_0x27bdfa(0x311)]:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x311)],'liveShareTerminate':_0x24713b[_0x27bdfa(0x3a0)][_0x27bdfa(0x3a0)]};break;}case I[_0x27bdfa(0x43f)][_0x27bdfa(0x411)]:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x411)],'liveShareRequestHost':_0x24713b[_0x27bdfa(0x3a0)]['data']};break;}case I[_0x27bdfa(0x43f)][_0x27bdfa(0x1fb)]:{_0x5128f2={'eventID':I[_0x27bdfa(0x43f)][_0x27bdfa(0x1fb)]};break;}default:_0x5128f2={'eventID':_0x24713b[_0x27bdfa(0x3a0)][_0x27bdfa(0x3d8)]};}return JSON[_0x27bdfa(0x244)]({'cmd':_0x24713b[_0x27bdfa(0x447)],'routeKey':_0x24713b['routeKey'],'collaMsg':_0x5128f2});}case W[_0x27bdfa(0x2e2)]:return JSON[_0x27bdfa(0x244)]({'cmd':_0x24713b[_0x27bdfa(0x447)],'routeKey':_0x24713b[_0x27bdfa(0x274)],'joinReq':_0x24713b['data']});case W['LEAVE']:return JSON[_0x27bdfa(0x244)]({'cmd':_0x24713b[_0x27bdfa(0x447)],'routeKey':_0x24713b['routeKey'],'leaveReq':_0x24713b[_0x27bdfa(0x3a0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x3c6410(0x235)],zt=(_0x251adb,_0x39f720,_0x23623c,_0x1be704)=>{var _0x3fc9da=_0x3c6410;for(var _0x2a9381=_0x1be704>0x1?void 0x0:_0x1be704?qt(_0x39f720,_0x23623c):_0x39f720,_0x3e5127=_0x251adb[_0x3fc9da(0x44f)]-0x1,_0x1f3838;_0x3e5127>=0x0;_0x3e5127--)(_0x1f3838=_0x251adb[_0x3e5127])&&(_0x2a9381=_0x1f3838(_0x2a9381)||_0x2a9381);return _0x2a9381;},_e=(_0x34ea18,_0x2be34c)=>(_0x316450,_0x5d72da)=>_0x2be34c(_0x316450,_0x5d72da,_0x34ea18);const He=a['createIdentifier'](_0x3c6410(0x3c4));function Jt(_0x53bc2c,_0x360e52,_0x3cda41){var _0x13d0d9=_0x3c6410;return _0x53bc2c+'/'+_0x360e52+_0x13d0d9(0x1bf)+_0x3cda41+_0x13d0d9(0x30f);}exports[_0x3c6410(0x2d8)]=class extends a['Disposable']{constructor(_0x5715ba,_0x2381e0,_0x2b4b51,_0x88cc61,_0xa543d2){var _0x1966f4=_0x3c6410;super(),this['_injector']=_0x5715ba,this['_httpService']=_0x2381e0,this[_0x1966f4(0x2de)]=_0x2b4b51,this[_0x1966f4(0x315)]=_0x88cc61,this[_0x1966f4(0x16e)]=_0xa543d2;}[_0x3c6410(0x376)](_0x2d5ed7){var _0x37b159=_0x3c6410;const _0x2d217d=this[_0x37b159(0x3ef)]['get'](Y[_0x37b159(0x3cd)]);if(!_0x2d217d)throw new Error(_0x37b159(0x3c2));const _0x279c16=_0x2d217d['createSocket'](_0x2d5ed7);if(!_0x279c16)throw new Error(_0x37b159(0x243));const _0xb1dce1=new a[(_0x37b159(0x1dd))](),_0x4014fd=new $['Subject']();_0xb1dce1[_0x37b159(0x44c)](_0x279c16[_0x37b159(0x312)][_0x37b159(0x16f)](_0x370282=>_0x4014fd[_0x37b159(0x33d)](_0x370282))),_0xb1dce1[_0x37b159(0x44c)](a[_0x37b159(0x340)](()=>_0x4014fd['complete']()));const _0x20b8ce=new $['Subject']();_0xb1dce1[_0x37b159(0x44c)](_0x279c16[_0x37b159(0x38c)][_0x37b159(0x16f)](_0x11345b=>_0x20b8ce[_0x37b159(0x33d)](_0x11345b))),_0xb1dce1[_0x37b159(0x44c)](a[_0x37b159(0x340)](()=>_0x20b8ce[_0x37b159(0x264)]()));const _0xcdc321=new $[(_0x37b159(0x1cd))]();_0xb1dce1[_0x37b159(0x44c)](_0x279c16[_0x37b159(0x433)][_0x37b159(0x16f)](_0x2d1350=>{var _0x55de81=_0x37b159;const _0x55c886=Ct(_0x2d1350);_0xcdc321[_0x55de81(0x33d)](_0x55c886);})),_0xb1dce1['add'](a[_0x37b159(0x340)](()=>_0xcdc321['complete']()));let _0x2b61da;const _0x536908=()=>{var _0x1d54af=_0x37b159;_0x20b8ce[_0x1d54af(0x33d)](new Event('connection\x20error')),_0x4014fd[_0x1d54af(0x33d)](new Event(_0x1d54af(0x3ad))),_0x2b61da[_0x1d54af(0x407)]();};return _0x2b61da={'memberID':'','close$':_0x4014fd[_0x37b159(0x1f9)](),'error$':_0x20b8ce[_0x37b159(0x1f9)](),'open$':_0x279c16['open$'],'message$':_0xcdc321[_0x37b159(0x1f9)](),'send':_0x36fd98=>{var _0x2538f0=_0x37b159;if(_0x36fd98[_0x2538f0(0x447)]===W[_0x2538f0(0x1d4)]){if(_0x36fd98[_0x2538f0(0x3a0)][_0x2538f0(0x3d8)]===I[_0x2538f0(0x43f)][_0x2538f0(0x305)]){this[_0x2538f0(0x359)](_0x2b61da,_0x36fd98['data'])[_0x2538f0(0x3ce)](_0x287993=>{var _0x18cda2=_0x2538f0;this[_0x18cda2(0x315)][_0x18cda2(0x233)](_0x287993),_0x536908();});return;}if(_0x36fd98[_0x2538f0(0x3a0)]['eventID']===I[_0x2538f0(0x43f)][_0x2538f0(0x1b4)]){const _0x5b22a6=_0x36fd98[_0x2538f0(0x3a0)];this[_0x2538f0(0x13b)](_0x5b22a6)[_0x2538f0(0x27d)](_0x3ef2b9=>{var _0x33df13=_0x2538f0;_0xcdc321[_0x33df13(0x33d)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x5b22a6['data'][_0x33df13(0x45e)],'routeType':'','data':{'eventID':I[_0x33df13(0x43f)][_0x33df13(0x12d)],'data':{'changesets':_0x3ef2b9}}});})[_0x2538f0(0x3ce)](_0x1f34d6=>{var _0x310258=_0x2538f0;this[_0x310258(0x315)][_0x310258(0x233)](_0x1f34d6),_0x536908();});return;}}_0x279c16[_0x2538f0(0x2f2)](Tt(_0x36fd98));},'close':()=>{var _0x257e1d=_0x37b159;_0x279c16[_0x257e1d(0x407)](),_0xb1dce1['dispose']();}},_0x2b61da;}async[_0x3c6410(0x359)](_0x1f396e,_0xc30d66){var _0x5df441=_0x3c6410,_0xd4d82c,_0x2188c9;const {unitType:_0xbd4947,unitID:_0x477b9e,changeset:_0x22b526}=_0xc30d66['data'],_0x564680={'unitID':_0x477b9e,'memberID':_0x1f396e[_0x5df441(0x3f1)],'type':_0xbd4947,'changeset':I[_0x5df441(0x13c)](_0x22b526)},_0x449e43=this[_0x5df441(0x2de)][_0x5df441(0x2b7)](pt),_0x5ea3ef=this[_0x5df441(0x2de)][_0x5df441(0x2b7)](K),_0x28abe2=Jt((_0x2188c9=(_0xd4d82c=_0x5ea3ef==null?void 0x0:_0x5ea3ef[_0x5df441(0x369)])!=null?_0xd4d82c:_0x449e43)!=null?_0x2188c9:Vt,_0xbd4947,_0x477b9e);try{await this[_0x5df441(0x31e)][_0x5df441(0x2e0)](_0x28abe2,{'body':_0x564680});}catch(_0x9b4a48){throw this['_logService'][_0x5df441(0x233)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x9b4a48;}}async[_0x3c6410(0x13b)](_0x1441e5){var _0x2d4e4d=_0x3c6410;const {unitID:_0x5af0fd,from:_0x18d1ca,to:_0xb0df9e,unitType:_0x397350}=_0x1441e5[_0x2d4e4d(0x3a0)];return(await this['_snapshotServerService'][_0x2d4e4d(0x14b)]({'metadata':void 0x0},{'unitID':_0x5af0fd,'type':_0x397350,'from':_0x18d1ca,'to':_0xb0df9e}))[_0x2d4e4d(0x273)];}},exports[_0x3c6410(0x2d8)]=zt([_e(0x0,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),_e(0x1,a['Inject'](Y[_0x3c6410(0x2fa)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x3c6410(0x337)]),_e(0x4,I['ISnapshotServerService'])],exports[_0x3c6410(0x2d8)]);const Xt='collaboration_new_changeset';function Zt(_0x390e5c){var _0x3a57cc=_0x3c6410;return JSON[_0x3a57cc(0x244)](_0x390e5c)['length'];}class $e{constructor(){var _0x2fddd8=_0x3c6410;A(this,_0x2fddd8(0x429),new $[(_0x2fddd8(0x1cd))]()),A(this,_0x2fddd8(0x40f),this[_0x2fddd8(0x429)]['asObservable']());}[_0x3c6410(0x46e)](_0x5e65fa){this['_commentUpdate$']['next'](_0x5e65fa);}}var Qt=Object[_0x3c6410(0x235)],ei=(_0x387655,_0x20ff9f,_0x22a4a2,_0x283767)=>{var _0x295246=_0x3c6410;for(var _0x46e8af=_0x283767>0x1?void 0x0:_0x283767?Qt(_0x20ff9f,_0x22a4a2):_0x20ff9f,_0x112306=_0x387655[_0x295246(0x44f)]-0x1,_0x135773;_0x112306>=0x0;_0x112306--)(_0x135773=_0x387655[_0x112306])&&(_0x46e8af=_0x135773(_0x46e8af)||_0x46e8af);return _0x46e8af;},We=(_0x5854ac,_0x5bd016)=>(_0x542e2e,_0x21e86c)=>_0x5bd016(_0x542e2e,_0x21e86c,_0x5854ac);exports[_0x3c6410(0x167)]=class extends a['Disposable']{constructor(_0x525253,_0x535b1b){var _0xfcafe9=_0x3c6410;super(),A(this,'_roomMembers',new Map()),A(this,_0xfcafe9(0x275),new $['Subject']()),(this[_0xfcafe9(0x24e)]=_0x525253,this[_0xfcafe9(0x35b)]=_0x535b1b,this['disposeWithMe']($['merge'](this[_0xfcafe9(0x24e)][_0xfcafe9(0x352)](a[_0xfcafe9(0x464)]['UNIVER_SHEET'])[_0xfcafe9(0x37b)](V['map'](_0x401524=>_0x401524[_0xfcafe9(0x322)]())),this['_univerInstanceService'][_0xfcafe9(0x352)](a[_0xfcafe9(0x464)][_0xfcafe9(0x2ac)])[_0xfcafe9(0x37b)](V[_0xfcafe9(0x123)](_0x2b855e=>_0x2b855e[_0xfcafe9(0x322)]())),this[_0xfcafe9(0x24e)]['getTypeOfUnitDisposed$'](a[_0xfcafe9(0x464)][_0xfcafe9(0x105)])['pipe'](V[_0xfcafe9(0x123)](_0x1960ef=>_0x1960ef[_0xfcafe9(0x322)]())))[_0xfcafe9(0x16f)](_0x8fc50f=>this[_0xfcafe9(0x47f)](_0x8fc50f))));}[_0x3c6410(0x46b)](_0x44bd63){var _0x1de8ea=_0x3c6410;return this[_0x1de8ea(0x232)][_0x1de8ea(0x297)](_0x44bd63)?$['of'](this['_roomMembers'][_0x1de8ea(0x448)](_0x44bd63)):this[_0x1de8ea(0x275)][_0x1de8ea(0x37b)](V[_0x1de8ea(0x123)](_0xa18f08=>{var _0x182551=_0x1de8ea;if(_0xa18f08===_0x44bd63)return this[_0x182551(0x232)][_0x182551(0x448)](_0xa18f08);}));}[_0x3c6410(0x346)](_0x473233){var _0x339bac=_0x3c6410;this[_0x339bac(0x35b)][_0x339bac(0x346)](_0x473233);}[_0x3c6410(0x286)](){var _0x1c70ab=_0x3c6410;return this[_0x1c70ab(0x35b)]['getCurrentUser']();}[_0x3c6410(0x19d)](_0xd3790f,_0x36ef3e){var _0x5897e4=_0x3c6410;let _0x5397ab=this[_0x5897e4(0x232)][_0x5897e4(0x448)](_0xd3790f);_0x5397ab||(_0x5397ab=new ti(),this['_roomMembers'][_0x5897e4(0x1ee)](_0xd3790f,_0x5397ab),this[_0x5897e4(0x275)][_0x5897e4(0x33d)](_0xd3790f)),_0x5397ab['updateMember'](_0x36ef3e);}[_0x3c6410(0x454)](_0xbf6bfd,_0x2763c4){var _0x317c42=_0x3c6410;const _0x7fb875=this[_0x317c42(0x232)]['get'](_0xbf6bfd);_0x7fb875&&_0x7fb875['removeMember'](_0x2763c4);}[_0x3c6410(0x379)](_0x5744a2){var _0x1d091c=_0x3c6410;return this[_0x1d091c(0x232)][_0x1d091c(0x448)](_0x5744a2);}[_0x3c6410(0x1b8)](_0x29f1ab,_0x41e26d){var _0x493dd5=_0x3c6410;const _0x5ae389=this[_0x493dd5(0x232)][_0x493dd5(0x448)](_0x29f1ab);if(_0x5ae389)return _0x5ae389[_0x493dd5(0x1b8)](_0x41e26d);}[_0x3c6410(0x47f)](_0x2c3305){var _0x1cf760=_0x3c6410;const _0x1e467e=this[_0x1cf760(0x232)]['get'](_0x2c3305);_0x1e467e&&(_0x1e467e[_0x1cf760(0x2f8)](),this[_0x1cf760(0x232)]['delete'](_0x2c3305));}[_0x3c6410(0x2f8)](){var _0x5b761e=_0x3c6410;this['_roomMembers'][_0x5b761e(0x10a)](_0x1029c1=>_0x1029c1[_0x5b761e(0x2f8)]()),this[_0x5b761e(0x232)]['clear'](),this[_0x5b761e(0x275)][_0x5b761e(0x264)]();}},exports[_0x3c6410(0x167)]=ei([We(0x0,a[_0x3c6410(0x150)]),We(0x1,a[_0x3c6410(0x1f3)](a['UserManagerService']))],exports[_0x3c6410(0x167)]);class ti extends a['Disposable']{constructor(){var _0x565d35=_0x3c6410;super(...arguments),A(this,_0x565d35(0x456),new Map()),A(this,_0x565d35(0x3d9),new $[(_0x565d35(0x1c6))](this[_0x565d35(0x456)])),A(this,_0x565d35(0x428),this[_0x565d35(0x3d9)][_0x565d35(0x1f9)]());}[_0x3c6410(0x2f8)](){var _0x3c001f=_0x3c6410;this[_0x3c001f(0x456)][_0x3c001f(0x25d)]();}['updateMember'](_0x1e33b2){var _0x4d3f91=_0x3c6410;this['_members']['set'](_0x1e33b2[_0x4d3f91(0x3f1)],_0x1e33b2),this[_0x4d3f91(0x29f)]();}['removeMember'](_0x4c4622){var _0x230fff=_0x3c6410;this[_0x230fff(0x456)][_0x230fff(0x485)](_0x4c4622);}[_0x3c6410(0x1b8)](_0x331680){var _0x4a9fbf=_0x3c6410;return this[_0x4a9fbf(0x456)][_0x4a9fbf(0x448)](_0x331680);}['getAllMembers'](){var _0x326a8f=_0x3c6410;return Array[_0x326a8f(0x42d)](this[_0x326a8f(0x456)][_0x326a8f(0x178)]());}['_emitMembers'](){var _0x2d9269=_0x3c6410;this['_members$'][_0x2d9269(0x33d)](this['_members']);}}var ii=Object[_0x3c6410(0x235)],ni=(_0x3e4b97,_0xf45405,_0x517061,_0x863ed)=>{var _0x5b10e8=_0x3c6410;for(var _0x1e0817=_0x863ed>0x1?void 0x0:_0x863ed?ii(_0xf45405,_0x517061):_0xf45405,_0x4660dc=_0x3e4b97[_0x5b10e8(0x44f)]-0x1,_0x1d4489;_0x4660dc>=0x0;_0x4660dc--)(_0x1d4489=_0x3e4b97[_0x4660dc])&&(_0x1e0817=_0x1d4489(_0x1e0817)||_0x1e0817);return _0x1e0817;},se=(_0x142f54,_0x4b59d6)=>(_0x200a47,_0xe48003)=>_0x4b59d6(_0x200a47,_0xe48003,_0x142f54),re=(_0x13c900=>(_0x13c900[_0x13c900[_0x3c6410(0x118)]=0x0]=_0x3c6410(0x118),_0x13c900[_0x13c900[_0x3c6410(0x108)]=0x1]=_0x3c6410(0x108),_0x13c900[_0x13c900[_0x3c6410(0x481)]=0x2]='OFFLINE',_0x13c900[_0x13c900[_0x3c6410(0x181)]=0x3]=_0x3c6410(0x181),_0x13c900))(re||{});const Ge={[oe[_0x3c6410(0x223)]]:_0x3c6410(0x112),[oe[_0x3c6410(0x206)]]:_0x3c6410(0x13a),[oe[_0x3c6410(0x366)]]:'session.room-not-exists',[oe[_0x3c6410(0x296)]]:'session.room-permission-denied',[oe[_0x3c6410(0x335)]]:_0x3c6410(0x11a)};exports[_0x3c6410(0x378)]=class extends a['RxDisposable']{constructor(_0x1ddbd8,_0x2fc7f0,_0x18f027,_0x111765,_0x5bd48d,_0x74c971,_0x55fea3,_0x29bccf,_0x3bc39f){var _0x5f2b62=_0x3c6410;super(),A(this,_0x5f2b62(0x365),new $['BehaviorSubject'](0x0)),A(this,_0x5f2b62(0x3b2),this[_0x5f2b62(0x365)][_0x5f2b62(0x1f9)]()),A(this,_0x5f2b62(0x1ce),new $[(_0x5f2b62(0x1cd))]()),A(this,'event$',this[_0x5f2b62(0x1ce)][_0x5f2b62(0x1f9)]()),A(this,_0x5f2b62(0x3e8)),A(this,_0x5f2b62(0x468)),A(this,_0x5f2b62(0x134)),A(this,_0x5f2b62(0x21d),!0x1),A(this,_0x5f2b62(0x1f4),null),(this[_0x5f2b62(0x3ed)]=_0x1ddbd8,this[_0x5f2b62(0x315)]=_0x18f027,this['_configService']=_0x111765,this[_0x5f2b62(0x36a)]=_0x5bd48d,this[_0x5f2b62(0x318)]=_0x74c971,this[_0x5f2b62(0x22e)]=_0x55fea3,this[_0x5f2b62(0x20e)]=_0x29bccf,this['_telemetryService']=_0x3bc39f,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x2fc7f0['pipe']($[_0x5f2b62(0x23e)](this[_0x5f2b62(0x37f)]))[_0x5f2b62(0x16f)](_0x10c0d9=>{var _0x3cb982=_0x5f2b62,_0x410bc9;typeof _0x10c0d9>'u'||(this[_0x3cb982(0x3e8)]=_0x10c0d9,_0x10c0d9?(this[_0x3cb982(0x1bb)](_0x10c0d9),this['_socketMessageSubscription']=_0x10c0d9[_0x3cb982(0x433)][_0x3cb982(0x16f)](_0x594b0d=>{var _0x213206=_0x3cb982;_0x594b0d[_0x213206(0x274)]===this['_unitID']&&this['_onCombEvent'](_0x594b0d);})):(this[_0x3cb982(0x165)](),this['_sessionStatus$'][_0x3cb982(0x33d)](0x2),(_0x410bc9=this[_0x3cb982(0x468)])==null||_0x410bc9[_0x3cb982(0x1f1)](),this[_0x3cb982(0x468)]=null));}));}get['sessionStatus'](){var _0x19ba52=_0x3c6410;return this[_0x19ba52(0x365)][_0x19ba52(0x191)]();}['getMemberID'](){var _0x3df38e=_0x3c6410,_0x1212c0,_0x247030;return(_0x247030=(_0x1212c0=this['_socket'])==null?void 0x0:_0x1212c0[_0x3df38e(0x3f1)])!=null?_0x247030:null;}[_0x3c6410(0x2f8)](){var _0x1c2b21=_0x3c6410;super['dispose'](),this[_0x1c2b21(0x37f)][_0x1c2b21(0x33d)](),this[_0x1c2b21(0x37f)][_0x1c2b21(0x264)]();}['close'](){var _0x273149=_0x3c6410,_0x570581,_0x1f9ee4;this[_0x273149(0x165)](),(_0x570581=this['_socket'])==null||_0x570581[_0x273149(0x2f2)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x1f9ee4=this['_socket'])==null||_0x1f9ee4['close'](),this['_event$'][_0x273149(0x264)](),this[_0x273149(0x365)][_0x273149(0x264)](),this[_0x273149(0x2f8)]();}[_0x3c6410(0x42a)](_0x1b74b8){var _0x3cdf60=_0x3c6410;_0x1b74b8[_0x3cdf60(0x447)]===W[_0x3cdf60(0x2e2)]?this['_onJoinRoomEvent'](_0x1b74b8):_0x1b74b8['cmd']===W['RECV']&&this[_0x3cdf60(0x341)](_0x1b74b8);}[_0x3c6410(0x1bb)](_0x42d690){var _0x28ec7f=_0x3c6410;this[_0x28ec7f(0x365)][_0x28ec7f(0x33d)](0x1),_0x42d690[_0x28ec7f(0x2f2)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x28ec7f(0x3ed)]}]}});}[_0x3c6410(0x119)](_0x293345){var _0x3cdcb1=_0x3c6410,_0x4a75d3;if(_0x293345[_0x3cdcb1(0x1f6)]in Ge){this['_collaborationUIEventService'][_0x3cdcb1(0x331)]({'id':Z[_0x3cdcb1(0x2bf)],'data':Ge[_0x293345[_0x3cdcb1(0x1f6)]]}),this[_0x3cdcb1(0x365)][_0x3cdcb1(0x33d)](0x2);return;}this[_0x3cdcb1(0x365)]['next'](0x3);const _0x28410e=(_0x4a75d3=_0x293345[_0x3cdcb1(0x3a0)][_0x3cdcb1(0x43c)][this[_0x3cdcb1(0x3ed)]])==null?void 0x0:_0x4a75d3[_0x3cdcb1(0x355)];_0x28410e&&_0x28410e[_0x3cdcb1(0x10a)](_0x6c1201=>this[_0x3cdcb1(0x318)][_0x3cdcb1(0x19d)](this[_0x3cdcb1(0x3ed)],_0x6c1201));}[_0x3c6410(0x341)](_0x5f021a){var _0x362286=_0x3c6410;try{const _0x54b597=_0x5f021a[_0x362286(0x3a0)];switch(_0x54b597[_0x362286(0x3d8)]){case I[_0x362286(0x43f)]['USERS_ENTER']:this[_0x362286(0x2a3)](_0x54b597),this['_event$'][_0x362286(0x33d)](_0x54b597);break;case I['CollaborationEvent'][_0x362286(0x471)]:this[_0x362286(0x21e)](_0x54b597),this[_0x362286(0x1ce)]['next'](_0x54b597);break;case I[_0x362286(0x43f)][_0x362286(0x3c0)]:case I[_0x362286(0x43f)][_0x362286(0x289)]:this[_0x362286(0x221)](),this[_0x362286(0x156)](),this['_event$']['next'](_0x54b597);break;case I[_0x362286(0x43f)][_0x362286(0x33e)]:this[_0x362286(0x315)][_0x362286(0x233)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x362286(0x244)](_0x54b597)),this[_0x362286(0x1ce)][_0x362286(0x33d)](_0x54b597);break;case I[_0x362286(0x43f)][_0x362286(0x1e8)]:this[_0x362286(0x22e)]['onCommentUpdate'](_0x54b597[_0x362286(0x3a0)]),this[_0x362286(0x1ce)]['next'](_0x54b597);break;default:this[_0x362286(0x1ce)][_0x362286(0x33d)](_0x54b597);}}catch(_0x3d784f){this['_logService'][_0x362286(0x233)](_0x3d784f,_0x5f021a);}}['_onUserJoin'](_0x45623f){var _0x3e0a74=_0x3c6410;this[_0x3e0a74(0x318)]['updateMember'](this[_0x3e0a74(0x3ed)],_0x45623f[_0x3e0a74(0x3a0)]);}[_0x3c6410(0x21e)](_0x1ac4b3){var _0x47202e=_0x3c6410;this['_memberService'][_0x47202e(0x454)](this[_0x47202e(0x3ed)],_0x1ac4b3[_0x47202e(0x3a0)][_0x47202e(0x3f1)]);}async[_0x3c6410(0x2f2)](_0x3d59e0,_0x540e02){var _0x43805e=_0x3c6410;if(this[_0x43805e(0x120)]!==0x3||!this[_0x43805e(0x3e8)])throw new Error(_0x43805e(0x1fd));try{_0x3d59e0[_0x43805e(0x3d8)]===I[_0x43805e(0x43f)]['SUBMIT_CHANGESET']&&(this[_0x43805e(0x2a0)](),this[_0x43805e(0x171)](_0x3d59e0)),this[_0x43805e(0x3e8)][_0x43805e(0x2f2)]({'cmd':W[_0x43805e(0x1d4)],'routeKey':_0x540e02,'routeType':'','data':_0x3d59e0});}catch(_0x445feb){this[_0x43805e(0x315)][_0x43805e(0x233)](_0x445feb);}}['_scheduleCollaborationTimeoutTimer'](){var _0x59c4ef=_0x3c6410,_0x231688;this[_0x59c4ef(0x134)]=setTimeout(()=>{var _0x40541f=_0x59c4ef;this[_0x40541f(0x134)]=null,this[_0x40541f(0x20e)][_0x40541f(0x331)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x231688=this['_configService'][_0x59c4ef(0x2b7)](ke))!=null?_0x231688:St);}[_0x3c6410(0x156)](){var _0xc002c=_0x3c6410;this[_0xc002c(0x134)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x1eedf6){var _0x17f664=_0x3c6410;if(!this[_0x17f664(0x21d)])return;const {data:_0x2f3bfc}=_0x1eedf6,{unitID:_0x2d3b89,changeset:_0xdce28d}=_0x2f3bfc,{mutations:_0xb878ef,type:_0x3a9b7a}=_0xdce28d;this[_0x17f664(0x1f4)]={'unitId':_0x2d3b89,'type':_0x3a9b7a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0xb878ef)};}[_0x3c6410(0x221)](){var _0x5c61c8=_0x3c6410;if(this[_0x5c61c8(0x21d)]){if(!this[_0x5c61c8(0x1f4)]){this[_0x5c61c8(0x315)][_0x5c61c8(0x233)](_0x5c61c8(0x154),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5c61c8(0x1f4)][_0x5c61c8(0x15d)]=performance['now'](),this[_0x5c61c8(0x1f4)]['duration']=this[_0x5c61c8(0x1f4)]['stopTime']-this['_telemetryInfo'][_0x5c61c8(0x36e)],this[_0x5c61c8(0x1ac)][_0x5c61c8(0x430)](Xt,this[_0x5c61c8(0x1f4)]),this[_0x5c61c8(0x1f4)]=null;}}[_0x3c6410(0x165)](){var _0x5c3064=_0x3c6410;this[_0x5c3064(0x1f4)]=null;}},exports[_0x3c6410(0x378)]=ni([se(0x2,a[_0x3c6410(0x337)]),se(0x3,a['IConfigService']),se(0x4,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x483)])),se(0x5,a[_0x3c6410(0x1f3)](exports['MemberService'])),se(0x6,a[_0x3c6410(0x1f3)]($e)),se(0x7,a[_0x3c6410(0x1f3)](ee)),se(0x8,a[_0x3c6410(0x220)](Pt[_0x3c6410(0x45c)]))],exports['CollaborationSession']);var ri=Object[_0x3c6410(0x235)],si=(_0x369e46,_0x57db27,_0x259ea0,_0x32e092)=>{var _0x1a4d30=_0x3c6410;for(var _0x3e230d=_0x32e092>0x1?void 0x0:_0x32e092?ri(_0x57db27,_0x259ea0):_0x57db27,_0x5e649d=_0x369e46[_0x1a4d30(0x44f)]-0x1,_0x88eb01;_0x5e649d>=0x0;_0x5e649d--)(_0x88eb01=_0x369e46[_0x5e649d])&&(_0x3e230d=_0x88eb01(_0x3e230d)||_0x3e230d);return _0x3e230d;},he=(_0x3af3f8,_0x14210f)=>(_0x2fbcec,_0x2c145d)=>_0x14210f(_0x2fbcec,_0x2c145d,_0x3af3f8);exports[_0x3c6410(0x17e)]=class extends a['Disposable']{constructor(_0x440d33,_0x3b5760,_0xad5f3,_0x40db0c,_0x30446e,_0x41efb0){var _0x259ecc=_0x3c6410;super(),A(this,'_socket$',new $['BehaviorSubject'](void 0x0)),A(this,_0x259ecc(0x324),this[_0x259ecc(0x404)][_0x259ecc(0x1f9)]()),A(this,_0x259ecc(0x2ea),null),A(this,_0x259ecc(0x403),new Map()),A(this,_0x259ecc(0x482),new $['BehaviorSubject'](re[_0x259ecc(0x118)])),A(this,'status$',this[_0x259ecc(0x482)][_0x259ecc(0x1f9)]()),A(this,'_socketReady',!0x1),A(this,_0x259ecc(0x47d)),A(this,'_retryCount',0x0),A(this,_0x259ecc(0x114)),A(this,'_timeoutTimer'),(this[_0x259ecc(0x3ef)]=_0x440d33,this['_logService']=_0x3b5760,this[_0x259ecc(0x2de)]=_0xad5f3,this[_0x259ecc(0x3dd)]=_0x40db0c,this[_0x259ecc(0x20e)]=_0x30446e,this['_networkConditionService']=_0x41efb0,this[_0x259ecc(0x1be)]());}get['_socket'](){var _0x531811=_0x3c6410;return this['_socket$'][_0x531811(0x191)]();}[_0x3c6410(0x1be)](){var _0x302915=_0x3c6410;this[_0x302915(0x342)]&&this[_0x302915(0x285)](this[_0x302915(0x342)][_0x302915(0x211)]['subscribe'](_0x52cd59=>{var _0x571293=_0x302915;_0x52cd59&&!this[_0x571293(0x3e8)]&&this['reconnect'](),_0x52cd59||this[_0x571293(0x444)]();}));}[_0x3c6410(0x2f8)](){var _0x5cf7e3=_0x3c6410;super[_0x5cf7e3(0x2f8)](),this[_0x5cf7e3(0x3ea)](),this[_0x5cf7e3(0x308)](),this[_0x5cf7e3(0x2a1)](),this[_0x5cf7e3(0x403)][_0x5cf7e3(0x10a)](_0xf96e4d=>_0xf96e4d['dispose']()),this['_sessions']['clear'](),this['_status$'][_0x5cf7e3(0x264)]();}async[_0x3c6410(0x2e1)](_0x223c61){var _0x43356b=_0x3c6410;if(this['_sessions'][_0x43356b(0x297)](_0x223c61))return this[_0x43356b(0x403)][_0x43356b(0x448)](_0x223c61);this[_0x43356b(0x302)]();const _0x4c012e=this['_injector'][_0x43356b(0x304)](exports['CollaborationSession'],_0x223c61,this['_socket$']['asObservable']());return this[_0x43356b(0x403)][_0x43356b(0x1ee)](_0x223c61,_0x4c012e),_0x4c012e;}[_0x3c6410(0x109)](_0x3dd4d9){var _0x2f8bcd=_0x3c6410,_0x2e22b6;const _0x2e3b03=this[_0x2f8bcd(0x403)][_0x2f8bcd(0x448)](_0x3dd4d9);_0x2e3b03&&(this[_0x2f8bcd(0x403)]['delete'](_0x3dd4d9),_0x2e3b03[_0x2f8bcd(0x407)]()),this['_sessions']['size']||(_0x2e22b6=this[_0x2f8bcd(0x3e8)])==null||_0x2e22b6['close']();}[_0x3c6410(0x338)](){var _0xa92ad8=_0x3c6410;this[_0xa92ad8(0x234)]=0x0,this[_0xa92ad8(0x3ea)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x3e4b3e=_0x3c6410;this[_0x3e4b3e(0x47d)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3e4b3e(0x47d)]=null);}async[_0x3c6410(0x402)](){var _0x4ddd8d=_0x3c6410,_0x972aed,_0x31e251;const _0x4f67c7=this['_configService'][_0x4ddd8d(0x2b7)](ut),_0x44626c=this[_0x4ddd8d(0x2de)][_0x4ddd8d(0x2b7)](K),_0xcdb483=(_0x31e251=(_0x972aed=_0x44626c==null?void 0x0:_0x44626c[_0x4ddd8d(0x116)])!=null?_0x972aed:_0x4f67c7)!=null?_0x31e251:dt,_0x3a1275=await this['_socketService'][_0x4ddd8d(0x31f)](_0xcdb483);return this[_0x4ddd8d(0x2ea)]=_0x3a1275,_0x3a1275;}async[_0x3c6410(0x302)](){var _0x2e3144=_0x3c6410,_0x3267c7,_0x16495;try{const _0xbade95=(_0x16495=(_0x3267c7=this[_0x2e3144(0x3e8)])!=null?_0x3267c7:this['_candidateSocket'])!=null?_0x16495:await this['_createSocket']();if(_0xbade95){const _0x4521f0=_0xbade95[_0x2e3144(0x2f2)];_0xbade95[_0x2e3144(0x2f2)]=_0x1c48b4=>(this[_0x2e3144(0x242)](),_0x4521f0[_0x2e3144(0x173)](_0xbade95,[_0x1c48b4])),_0xbade95[_0x2e3144(0x433)]['subscribe'](_0x2987cc=>this[_0x2e3144(0x460)](_0xbade95,_0x2987cc)),_0xbade95[_0x2e3144(0x38c)]['pipe'](V[_0x2e3144(0x475)](0x1))[_0x2e3144(0x16f)](_0x11540e=>this[_0x2e3144(0x315)]['error'](_0x2e3144(0x477),_0x11540e)),_0xbade95[_0x2e3144(0x17c)][_0x2e3144(0x37b)](V[_0x2e3144(0x475)](0x1))[_0x2e3144(0x16f)](()=>{var _0xd0e81b=_0x2e3144;this[_0xd0e81b(0x3a1)](_0xbade95);}),_0xbade95[_0x2e3144(0x312)][_0x2e3144(0x37b)](V[_0x2e3144(0x475)](0x1))[_0x2e3144(0x16f)](_0x3fe287=>{var _0x22745c=_0x2e3144;this[_0x22745c(0x315)][_0x22745c(0x127)](_0x22745c(0x186),'socket\x20close',_0x3fe287),this[_0x22745c(0x32f)]();});}}catch(_0x126415){this[_0x2e3144(0x315)][_0x2e3144(0x233)](_0x126415),this[_0x2e3144(0x32f)]();}}[_0x3c6410(0x3a1)](_0x490855){var _0x55983d=_0x3c6410;this[_0x55983d(0x315)][_0x55983d(0x127)]('[CollaborationSessionService]',_0x55983d(0x1c3)),_0x490855[_0x55983d(0x2f2)]({'cmd':W[_0x55983d(0x2bd)]}),this[_0x55983d(0x242)]();}[_0x3c6410(0x444)](){var _0xcaf7b5=_0x3c6410;this['_socketReady']=!0x1,this[_0xcaf7b5(0x2ea)]=null,this['_status$'][_0xcaf7b5(0x33d)](re[_0xcaf7b5(0x481)]),this[_0xcaf7b5(0x404)]['next'](null),this[_0xcaf7b5(0x308)](),this[_0xcaf7b5(0x2a1)]();}['_onConnectionFailed'](){var _0xc7c3ff=_0x3c6410,_0x16dc56;this[_0xc7c3ff(0x444)](),this[_0xc7c3ff(0x234)]<((_0x16dc56=this[_0xc7c3ff(0x2de)][_0xc7c3ff(0x2b7)](ft))!=null?_0x16dc56:jt)?(this['_collaborationUIEventService'][_0xc7c3ff(0x331)]({'id':Z[_0xc7c3ff(0x1a9)]}),this[_0xc7c3ff(0x26e)]()):this[_0xc7c3ff(0x20e)][_0xc7c3ff(0x331)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x2874ba=_0x3c6410,_0x3c4895;const _0x520498=this[_0x2874ba(0x234)],_0x43019e=this['_configService']['getConfig'](K),_0x5c763e=_0x520498===0x0?0x0:((_0x3c4895=_0x43019e==null?void 0x0:_0x43019e[_0x2874ba(0x26a)])!=null?_0x3c4895:$t)*0x2**_0x520498;this[_0x2874ba(0x47d)]=setTimeout(()=>{var _0x2c2bb0=_0x2874ba;clearTimeout(this[_0x2c2bb0(0x47d)]),this[_0x2c2bb0(0x47d)]=null,this['_tryEnsureSocket']();},_0x5c763e),this['_retryCount']+=0x1;}[_0x3c6410(0x460)](_0x7ece0,_0x577f94){var _0x271cfc=_0x3c6410;const {cmd:_0x6125d8}=_0x577f94;_0x6125d8===W['HELLO']&&!this[_0x271cfc(0x138)]&&(_0x7ece0['memberID']=_0x577f94['data'][_0x271cfc(0x3f1)],this['_socket$'][_0x271cfc(0x33d)](_0x7ece0),this[_0x271cfc(0x482)][_0x271cfc(0x33d)](re['ONLINE']),this[_0x271cfc(0x138)]=!0x0,this['_candidateSocket']=null),_0x6125d8===W['HEARTBEAT']&&this[_0x271cfc(0x308)](),this[_0x271cfc(0x242)]();}[_0x3c6410(0x242)](){var _0x35c1c8=_0x3c6410,_0x3ec5ee;this[_0x35c1c8(0x2a1)](),this[_0x35c1c8(0x114)]=setTimeout(()=>this[_0x35c1c8(0x35a)](),(_0x3ec5ee=this[_0x35c1c8(0x2de)][_0x35c1c8(0x2b7)](vt))!=null?_0x3ec5ee:Ht);}['_sendHeartbeat'](){var _0x48341a=_0x3c6410;this[_0x48341a(0x3e8)]['send']({'cmd':W[_0x48341a(0x420)]}),this[_0x48341a(0x19b)]();}['_waitForHeartbeatResponse'](){var _0x554cac=_0x3c6410,_0x466d2b;this[_0x554cac(0x291)]=setTimeout(()=>this[_0x554cac(0x32f)](),(_0x466d2b=this[_0x554cac(0x2de)][_0x554cac(0x2b7)](ke))!=null?_0x466d2b:St);}[_0x3c6410(0x2a1)](){var _0x13f0ec=_0x3c6410;this[_0x13f0ec(0x114)]!=null&&(clearTimeout(this[_0x13f0ec(0x114)]),this[_0x13f0ec(0x114)]=null);}[_0x3c6410(0x308)](){var _0x24b0f7=_0x3c6410;this[_0x24b0f7(0x291)]!=null&&(clearTimeout(this[_0x24b0f7(0x291)]),this['_timeoutTimer']=null);}},exports[_0x3c6410(0x17e)]=si([he(0x0,a[_0x3c6410(0x1f3)](a['Injector'])),he(0x1,a[_0x3c6410(0x337)]),he(0x2,a[_0x3c6410(0x2dd)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x3c6410(0x220)](mt))],exports[_0x3c6410(0x17e)]);const q=a[_0x3c6410(0x22a)](_0x3c6410(0x1a3));function oi(_0x22ee07){var _0x32fdb6=_0x3c6410;return _0x32fdb6(0x34a)+_0x22ee07;}var ai=Object[_0x3c6410(0x235)],ci=(_0x68729c,_0x574160,_0x18deae,_0x4cf5e5)=>{var _0x456cac=_0x3c6410;for(var _0x51919d=_0x4cf5e5>0x1?void 0x0:_0x4cf5e5?ai(_0x574160,_0x18deae):_0x574160,_0x3762d0=_0x68729c[_0x456cac(0x44f)]-0x1,_0x1321e9;_0x3762d0>=0x0;_0x3762d0--)(_0x1321e9=_0x68729c[_0x3762d0])&&(_0x51919d=_0x1321e9(_0x51919d)||_0x51919d);return _0x51919d;},De=(_0x182867,_0xe290fa)=>(_0x5cf758,_0x2739e6)=>_0xe290fa(_0x5cf758,_0x2739e6,_0x182867);function hi(_0xa438cc){var _0x8d9174=_0x3c6410;const {unitID:_0x1d8cfa,mutations:_0x245c27}=_0xa438cc;return{'unitId':_0x1d8cfa,'subUnitId':_0x245c27[0x0][_0x8d9174(0x271)][_0x8d9174(0x474)]};}exports[_0x3c6410(0x2c6)]=class{constructor(_0x4f9395,_0x5b71c3,_0x1dfac9){var _0x3d3cde=_0x3c6410;this[_0x3d3cde(0x3ef)]=_0x4f9395,this['_transformService']=_0x5b71c3,this[_0x3d3cde(0x293)]=_0x1dfac9;}[_0x3c6410(0x1b1)](_0x306af5){var _0x5b37a9=_0x3c6410,_0x27b2c0,_0xbf068d,_0x3ae41a,_0x5a8e2c;const _0x2b87d7=this['_injector'][_0x5b37a9(0x448)](X['SheetsSelectionsService']),{unitId:_0x197a0f,subUnitId:_0x24a191}=hi(_0x306af5),_0x3f2dae=_0x2b87d7==null?void 0x0:_0x2b87d7[_0x5b37a9(0x103)](_0x197a0f)[_0x5b37a9(0x46f)](),_0x323610=(_0xbf068d=(_0x27b2c0=this[_0x5b37a9(0x293)]['getUnit'](_0x197a0f))==null?void 0x0:_0x27b2c0[_0x5b37a9(0x29a)]())==null?void 0x0:_0xbf068d['getSheetId']();if(_0x3f2dae[_0x5b37a9(0x44f)]===0x0||!_0x197a0f||!_0x24a191)return;const _0x889d8a=[{'id':X[_0x5b37a9(0x21b)]['id'],'params':{'unitId':_0x197a0f,'subUnitId':_0x323610,'selections':a[_0x5b37a9(0x170)][_0x5b37a9(0x488)](_0x3f2dae)}}],_0x5ccf06=this[_0x5b37a9(0x2f5)][_0x5b37a9(0x1b6)](_0x306af5,_0x889d8a);if(!I[_0x5b37a9(0x1b9)](_0x5ccf06))throw _0x5ccf06[_0x5b37a9(0x233)];const _0x133eff=(_0x5a8e2c=(_0x3ae41a=_0x5ccf06[_0x5b37a9(0x3b6)][0x0])==null?void 0x0:_0x3ae41a[_0x5b37a9(0x271)])==null?void 0x0:_0x5a8e2c[_0x5b37a9(0x34e)];if(Array[_0x5b37a9(0x3d2)](_0x133eff)&&_0x133eff[_0x5b37a9(0x44f)]){if(_0x133eff['length']===_0x889d8a[0x0][_0x5b37a9(0x271)][_0x5b37a9(0x34e)]['length']&&_0x133eff['every']((_0x3138eb,_0x21f299)=>a[_0x5b37a9(0x47a)]['equals'](_0x3138eb[_0x5b37a9(0x38a)],_0x889d8a[0x0][_0x5b37a9(0x271)]['selections'][_0x21f299][_0x5b37a9(0x38a)])))return;this[_0x5b37a9(0x3ef)]['get'](a[_0x5b37a9(0x44d)])['executeCommand'](X[_0x5b37a9(0x21b)]['id'],{'unitId':_0x197a0f,'subUnitId':_0x323610,'selections':_0x133eff});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),De(0x1,I[_0x3c6410(0x40a)]),De(0x2,a[_0x3c6410(0x150)])],exports['SheetTransformSelectionsService']);const de=a[_0x3c6410(0x22a)](_0x3c6410(0x3dc));function _0x1566(){var _0x234c62=['change$','unit-cache-','target','leaveEvent','_schedule','selections','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_exhaustRemoteChangesetQueue','@univerjs/network','getTypeOfUnitDisposed$','updateSnapshot','LOCAL_CACHE_INTERVAL_KEY','members','ReplaySubject','IPermissionService','_HTTPService','_submitChangeset','_sendHeartbeat','_userManagerService','onTransformRemoteChangesetByIMECache','RETRY_CONNECTING_MAX_COUNT','unknown','HTTPRequest','_initDependencies','unitId\x20is\x20not\x20found','LIVESHARE_NEW_HOST','_transformStateCache','enableSingleActiveInstanceLock','_sessionStatus$','JOIN_ROOM_NOT_EXISTS','_resendTimer','1632dNwaCl','collabSubmitChangesetUrl','_localeService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_hash','collaboratorID','startTime','RichTextEditingMutation','snapshotServerUrl','YUUMI_NO_CUBOID_FOR_QUESTION','/resources','_redoStacks','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_DUPLICATED','_doCreateSocket','Hasher','CollaborationSession','getRoom','DocCollaborationEntity','pipe','fromCharCode','AuthzIoHttpService','resourceIDs','dispose$','SNAPSHOT_URL_KEY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','/universer-api/user/session-ticket','toString','MentionType','CompressMutationService','_keySchedule','_remoteChangesetQueue','_pendingMutations','range','entries','error$','crypto','POST','_substituteUndoStack','location','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COLLAB_WEB_SOCKET_URL','606XroIJD','mixIn','setShowComponents','splice','_state','/-/object/-/batch_allowed','_lockTransition','/rev/','uniscriptRunEvent','NEW_CHANGESETS','CollaborationImageIoService','Could\x20not\x20dynamically\x20require\x20\x22','list','data','_onConnectionOpen','PERMISSION_REJ','patch','[CollaborationEntity]','Injector','/allowed','_getSignURL','fromCollab','onlyLocal','session','rev','lib','connection\x20error','image/bmp','override','saveSheetBlock','awaitingChangeset','sessionStatus$','hostname','unpad','ALREADY_EXISTS','m2Prime','MentionIoHttpService','CLOSE_ROOM','/fetchmissing?from=','@univerjs/core','function','isTransformMutationsWithChangesetFailure','Undefined','\x0aAfter:\x20','@univerjs-pro/license','CHANGESET_ACK','WorkbookEditablePermission','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_transitionLocked','univer-pro.collaboration-client-socket-service','ceil','ThresholdInterceptorFactory','SNAPSHOT_SERVER_URL_KEY','mode','push','BlockCipherMode','_getAPIPrefix','_permissionService','ISocketService','catch','_getLoginPath','ws://127.0.0.1:8000/universer-api/comb/connect','?url=','isArray','DEFAULT_COLLAB_WEB_SOCKET_URL','SUCCUSS','/universer-api/oidc/authpage','_updateLocalCache','getLatestCsReqIdBySid','eventID','_members$','BASE64','call','univer-pro.collaboration-client.single-active-unit-service','_socketService','FileId','_clearLocalCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','2683340oVjgCS','loginUrlKey','reverse','TOO_MANY_REQUESTS','randomBytes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SEND_CHANGESET_TIMEOUT_KEY','_socket','_resendWithTimeout','_clearRetryConnectingTimer','_initMergeInterceptor','&to=','_unitID','CollaborationUIEventId','_injector','_undoStacks','memberID','__creator','Cipher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_ARGUMENT','UserProfileImg','CollaborationStatus','_doReset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','newCsEvent','default','loadOfflineData','_onRemoteChangeset','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','padding','INTERNAL_ERROR','OTHER_CLIENT_EDITING','_createSocket','_sessions','_socket$','format','toggleOffline','close','join','href','ITransformService','reject','loadUnitOfRevision','registerHTTPInterceptor','_type','commentUpdate$','_changesetReqId','LIVESHARE_REQUEST_HOST','reqId','msCrypto','joinRsp','SHA1','copyFileMeta','objectType','_resendTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','HEARTBEAT_TIMEOUT_KEY','_singleActiveUnitService','LICENSE_IMPORT_SIZE_EXCEEDED','[OfflineState]:\x20received\x20rejection.','editing\x20status\x20changed\x20to','HEARTBEAT','awaiting_with_pending','_entities','_incrementRevisionNumber','HttpImport','YUUMI_TABLE_NOT_FOUND_IN_UNIT','createEncryptor','indexOf','members$','_commentUpdate$','_onCombEvent','executeCommand','generateRandomId','from','loadUnit','_updateState','capture','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CONNECTOR_DATA_TOO_LARGE','message$','ISingleActiveUnitService','_state$','ConflictState','19020KVHbbo','HEARTBEAT_TIMEOUT','_key','ciphertext','YUUMI_ALL_TABLES_IS_INVALID','roomInfos','onTransformState','_reverseMap','CollaborationEvent','onSendChangeset','@univerjs/telemetry','status$','AES','_onOffline','isPermissionRej','shouldCloseConn','cmd','get','enableAuthServer','CommandType','UNIVER_UNKNOWN','add','ICommandService','registerDependencies','length','UNRECOGNIZED','[PendingState]:\x20received\x20rejection.','LICENSE_MAX_UNITS_EXCEEDED','CollaborationEntity','removeMember','encode','_members','EmptyMutation','pluginName','/object/','transformChangesets','HEARTBEAT_INTERVAL','ITelemetryService','execute','unitID','UniverCollaborationPlugin','_onMessage','UNISCRIPT_RUN','awaiting','@univerjs/drawing','UniverInstanceType','_disableEditing','addHandlerCallback','168ROhgGI','_socketMessageSubscription','startsWith','SNAPSHOT_INVALID_SNAPSHOT','waitForRoom$','status','every','onCommentUpdate','getCurrentSelections','csAckEvent','USERS_LEAVE','image/gif','HmacSHA1','subUnitId','take','AwaitingWithPendingState','[CollaborationSessionService]:\x20socket\x20error','_data','_replaceFileID','Rectangle','hasOwnProperty','DEFAULT_FILE_NAME','_retryConnectingTimer','11550ODDHMT','_removeRoom','transformUndoRedo','OFFLINE','_status$','LocaleService','state$','delete','serializeCombRequest','/universer-api/snapshot/','deepClone','[OfflineState]:\x20received\x20acknowledgement.','USER_NOT_INVITED_CODE','Decryptor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REVISION_CONFILICT','UnitStatus','COLLAB_SUBMIT_CHANGESET_URL','parseProtocolChangeset','setWaitCount','_getAPIPrefixPath','/universer-api/authz','SnapshotServerOverHTTPService','getWorkbookSelections','iterations','UNIVER_SLIDE','getCollabEntity$','PendingState','JOINING','closeSession','forEach','UNIVER_PROJECT','MD5','IUndoRedoService','saveChangeset','LOCAL_CACHE_INTERVAL','onTransformIME','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','session.join-failed','getResourcesRequest','_sendHeartbeatTimer','originalMeta','collabWebSocketUrl','_hasher','IDLE','_onJoinRoomEvent','session.room-cnt-exceeds','_getCurrentRevision','_startCollaboration','_minBufferSize','_process','[DataLoaderService]','sessionStatus','max','ERROR_EXCEED_SIZE','map','ERROR_IMAGE_TYPE','OTHER_CLIENTS_EDITING','pending','debug','getUnitType','encrypt','getSheetBlock','name','UPDATE_CURSOR','PSEUDO_FETCH_MISSING_RESULT','APPLY_NON_SEQUENTIAL_REVISION','onMissedChangesetFetched','_iKey','_clearScheduledTask','random','_append','_collaborationTimeoutTimer','Encryptor','compute','_toggleOnline','_socketReady','5446DIRAhE','session.room-full','_fetchMissChangesets','parseChangesetToProtocol','getCurrentRevOfUnit','_replayCachedMutations','_oKey','formatter','?size=','getLocalCacheKey','headers','_getSendChangesetTimeout','INVALID_INVITE_CODE','firstValueFrom','_keyPriorReset','_collaborationPaused','9zSRVKa','concat','fetchMissingChangesets','INVITE_CODE_ALREADY_BOUND','sendChangesetTimeout','objectID','onMissingChangesets','IUniverInstanceService','shareReplay','FETCH_MISS','putCollaborators','[CollaborationSession]','SerializableCipher','_clearCollaborationTimeoutTimer','_snapshotService','withCredentials','_localCacheService','559kCEBam','/-/object/list','_sheetTransformSelectionsService','stopTime','key','createDecryptor','_undoRedoService','focused$','workbook','failed\x20to\x20apply\x20missed\x20changesets!','_substituteRedoStack','_throwTelemetryCollaborationNewChangeset','_queuedRemoteChangesets','MemberService','Failed\x20to\x20update\x20permission\x20point','refreshPermission','Module','textRanges','finalize','LOGIN_URL_KEY','_snapshotServerService','subscribe','Tools','_startTelemetryCollaborationNewChangeset','find','apply','UNAUTHENTICATED','Utf8','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','\x0aCurrent:\x20','values','BlockCipher','LOGIN_FAILED','_compressMutationService','open$','_showConflictNotification','CollaborationSessionService','UNIVER_SHEET','/block/','ONLINE','toggleOnline','processBlock','image/jpg','SYNCED','[CollaborationSessionService]','signUrlServerUrl','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_transformRemoteChangesetByIMECache','collaMsg','entityInit$','mapDocumentTypeToUniverType','AWAITING','COLLAB_SUBMIT_CHANGESET_URL_KEY','allowed','socketService','getValue','{fileID}','_transformStack','\x20to\x20','liveShareOperation','SNAPSHOT_HAS_BEEN_REMOVED','Base','updatePermissionPoint','rxjs/operators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_waitForHeartbeatResponse','Plugin','updateMember','localCacheService','__esModule','synced','_mode','resend','collaboration-client.local-cache-service','YUUMI_URL_COL_OUT_OF_RANGE','LICENSE_DISTRO_REJECTED','action','ImageSourceType','_acknowledgedAwaitingChangeset','SOCKET_FAILED_RETRY','snapshot','merge','_telemetryService','algo','_transformIMECache','Error\x20on\x20receiving\x20event','CollaborativeUndoRedoService','transformSelections','getRandomValues','replace','FETCH_MISSING','_clearRedo','transformMutationsWithChangeset','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getMember','isTransformMutationsWithChangesetSuccess','APPLY_REJECT','_joinRoom','_nDataBytes','c1Prime','_listenToNetworkCondition','/unit/','_waitCount','ImageUploadStatusType','OfflineState','socket\x20open.','_handler','EMAIL_HAS_BEEN_BOUND','BehaviorSubject','body','touchDependencies','defineProperty','PasswordBasedCipher','CollaborationController','onCommandExecuted','Subject','_event$','_decreaseWaiting','_onRemoteRetry','_getCtorByUniverType','3StiDYu','Workbook','INGEST','rxjs','NOT_FOUND','readyForCollab','_executeRemoteChangeset','onRemoteRej','avatar','56916fdQRYu','unitId','DisposableCollection','NoPadding','initWorkbookPermissionChange','@univerjs/sheets','charCodeAt','/universer-api/file/{fileID}/sign-url','CHANGESET_REVISION_CONFILICT','title','_collaborationSessionService','_getUndoStack','src','COMMENT_UPDATE','[UniverCollaborationClientPlugin]','filter','downloadEndpointUrl','addImageSourceCache','infoRsp','set','encodeURIComponent','mutations','unsubscribe','toStringTag','Inject','_telemetryInfo','_getRedoStack','code','SOCKET_FAILED','_doCryptBlock','asObservable','_DEC_XFORM_MODE','LIVESHARE_FETCH_OPERATIONS','onStateChange','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','OpenSSL','url','salt','listCollaborators','DataLoaderService','_config','floor','confirm','JOIN_ROOM_FULL','localeService','onRemoteAck','_eventService','_entityInit$','PY_RUNTIME_SCRIPT_ERROR','image/jpeg','words','_collaborationUIEventService','abs','_invKeySchedule','online$','clamp','encryptBlock','/universer-api/snapshot','conflict','sid','$super','YUUMI_UNABLE_LOAD_URL','textEncoder','_clearUndo','SetSelectionsOperation','create','_shouldReportTelemetry','_onUserLeave','CollaborationUIEventService','Optional','_stopTelemetryCollaborationNewChangeset','symbol','FAIL','file','_sender','CONFLICT','init','SheetPermissionInitController','RECV','createIdentifier','byteLength','_onRemoteACK','YUUMI_SUBSCRIPTION_NOT_FOUND','_commentService','_createHmacHelper','subject','_createHandler','_roomMembers','error','_retryCount','getOwnPropertyDescriptor','BufferedBlockAlgorithm','_nRounds','Base64','/universer-api/stream/file/upload','RxDisposable','_updateStatus','getTypeOfUnitAdded$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','takeUntil','authzUrl','Disposable','getTime','_rescheduleHeartbeat','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','stringify','_unitInfo$','enc','uploadFileServerUrl','offline','_onRemoteRejected','NOT_COLLAB','MUTATION','DEFAULT_WS_SESSION_TICKET_URL','updateCursorEvent','_univerInstanceService','getImage','/universer-api/uniscript','RevisionService','pauseCollaboration','OPTIONAL','min','_scheduleCompleteTimestamp','sigBytes','SnapshotService','_onLocalMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SyncedState','HEARTBEAT_INTERVAL_KEY','batchAllowed','clear','ivSize','update','delay','_getUploadFileURL','NO_OTHER_CLIENTS_EDITING','Univer','complete','_ENC_XFORM_MODE','CommentService','@univerjs-pro/collaboration','clone','UniverCollaborationClientPlugin','retryConnectingInterval','_initRequestHeader','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','_tryReconnect','kdf','JSONX','params','objects','changesets','routeKey','_roomCreated$','UnitEmbedded','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformSelections','fetchMiss','_map','setConfig','userID','then','SheetCollaborationEntity','deleteCollaborator','requestParams','baseRev','onRemoteChangeset','parse','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','disposeWithMe','getCurrentUser','actions','onTransformRemoteChangesetByStateCache','CHANGESET_SHOULD_RETRY','exports','findIndex','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_commandService','UPDATE_PERMISSION_OBJ','resolve','StreamCipher','_timeoutTimer','_initCloseConn','_instanceService','x-univer-host','reset','JOIN_ROOM_PERMISSION_DENIED','has','cfg','_doProcessBlock','getActiveSheet','[PendingState]:\x20received\x20acknowledgement.','keySize','/collaborator','transformStack\x20failed!','_emitMembers','_scheduleCollaborationTimeoutTimer','_clearHeartbeatTimer','_createInitialState','_onUserJoin','EXCHANGE_SIGN_URL_SERVER_URL_KEY','state','4363840LgGXvU','unitInfo$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCollabEntity','INVITE_CODE_HAS_BEEN_UES','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNIVER_DOC','MOBILE_HAS_BEEN_BOUND','_imageSourceCache','disableLocalCache','[CollaborationState]:\x20apply\x20error!','&assign=','_registerDependencies','collaborators','YUUMI_AI_RUN_FAILED','HttpExport','revision','getConfig','WordArray','getSnapshotAPIPath','ISnapshotServerService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','enableOfflineEditing','HELLO','SUBMIT_CHANGESET_TIMEOUT','JOIN_ROOM_FAILED','[OfflineState]:\x20received\x20changeset.','fetchThroughInterceptors','YUUMI_RATE_OVER_LIMIT','_unlockTransition','_transformRemoteChangesetByStateCache','_toggleOffline','SheetTransformSelectionsService','getGlobalObject','WECHAT_HAS_BEEN_BOUND','string','_parse','SHOULD_CLOSE_CONN','InsertSheetMutation','prototype','b64DecodeUnicode','onLocalMutation','/universer-api/comb','2362676oIrJvq','FetchingMissState','c2Prime','image/png','getInterceptPoints','COMPRESS_MUTATION_APPLY','_checkMissing','CollaborationSocketService','[SyncedState]:\x20received\x20rejection.','csRejEvent','_initUnitPermissionChange','Latin1','IConfigService','_configService','uuidv4','post','requireSession','JOIN','SessionStatus','_xformMode','/object','interceptor','append','AUTHZ_URL_KEY','&source=','_candidateSocket','_syncEditingCollabCursor','compose','pad','appendMutation','YUUMI_ASYNCIO_CANCELLED','onRemoteRetry','UnitSnapshot','send','CBC','_collabSessionService','_transformService','EvpKDF','permissionRejEvent','dispose','PERMISSION_DENIED','HTTPService','_change$','AwaitingState','type','[FetchMissState]','_isPermissionRej','ERROR_IMAGE','UNDEFINED','_tryEnsureSocket','csShouldRetryEvent','createInstance','SUBMIT_CHANGESET','collaboration-client.config','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearTimeoutTimer','LEAVE','extend','blockSize','not_collab','_revisionService','_handlerCallback','/new_changes','slice','LIVESHARE_TERMINATE','close$','CHANGESET_REJ','loadSheet','_logService','saveImage','_onConflict','_memberService','readAsDataURL','isTransformChangesetsSuccess','LocalUndoRedoService','_transformSelections','result','_httpService','createSocket','AWAITING_WITH_PENDING','updateOfflineData','getUnitId','decrypt','socket$','fetch_missing','_sendingTimer','_init','onStarting','event$','_changesetSessionId','[CollaborationUndoRedoService]','size','_createInitialStateImpl','_prevBlock','_onConnectionFailed','saveSnapshot','emitEvent','_iv','ILocalCacheService','UNKNOWN_CODE','GLOBAL_ROOMS_CNT_EXCEEDS','hasher','ILogService','reconnect','HMAC','UniverNetworkPlugin','_transformUndoredo','LIVESHARE_OPERATION','next','MSG_FOR_ERROR','Pkcs7','toDisposable','_onRecvEvent','_networkConditionService','USERS_ENTER','_awaitingChangeset','_applyRemoteChangeset','setCurrentUser','IImageIoService','onSyncEditingCollabCursor'];_0x1566=function(){return _0x234c62;};return _0x1566();}var je=(_0x56b0e2=>(_0x56b0e2[_0x56b0e2[_0x3c6410(0x262)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x56b0e2[_0x56b0e2['OTHER_CLIENTS_EDITING']=0x1]=_0x3c6410(0x125),_0x56b0e2))(je||{});const _i=new Set([X[_0x3c6410(0x2cc)]['id']]);function Ke(_0xfd7c0c,_0x32ede6,_0x46a0bf,_0x5600d2,_0x23939e){var _0x4452fd=_0x3c6410,_0x5cd6e8,_0x86187b,_0x1be8ff,_0x18ed96;const _0x48a606=[];for(const _0x3034bb of _0xfd7c0c)if(_i[_0x4452fd(0x297)](_0x3034bb['id'])){if(_0x48a606[_0x4452fd(0x44f)]>0x0)break;_0x48a606[_0x4452fd(0x3c9)](_0x3034bb);break;}else _0x48a606[_0x4452fd(0x3c9)](_0x3034bb);const _0x3e15d0=(_0x86187b=(_0x5cd6e8=_0x23939e[_0x4452fd(0x286)]())==null?void 0x0:_0x5cd6e8[_0x4452fd(0x27c)])!=null?_0x86187b:_0x4452fd(0x35e),_0x220fed=(_0x18ed96=(_0x1be8ff=_0x23939e[_0x4452fd(0x286)]())==null?void 0x0:_0x1be8ff[_0x4452fd(0x3f1)])!=null?_0x18ed96:_0x4452fd(0x35e);return{'changeset':{'unitID':_0x32ede6,'type':I[_0x4452fd(0x18c)](_0x46a0bf['getUnitType'](_0x32ede6)),'baseRev':_0x5600d2[_0x4452fd(0x13d)](_0x32ede6),'revision':0x0,'userID':_0x3e15d0,'memberID':_0x220fed,'mutations':_0x48a606},'pendingMutations':_0xfd7c0c[_0x4452fd(0x310)](_0x48a606[_0x4452fd(0x44f)])};}function li(_0x3cb922,_0x427509,_0xd20ca3,_0xba1057,_0x4b29f3){var _0x2afc29=_0x3c6410,_0x3fbb18,_0x4143f1,_0xdc6b34,_0x461147;const _0x25709f=[_0x3cb922['reduce']((_0x15f34c,_0x2dfcef)=>{var _0x175e51=_0x5a65,_0x9d5c08;const {id:_0x57ffa2}=_0x15f34c,{id:_0x5b6dab,type:_0x503ef2}=_0x2dfcef,_0x35332f=(_0x9d5c08=_0x15f34c['params'])!=null?_0x9d5c08:{'actions':null},_0x509ab3=_0x2dfcef[_0x175e51(0x271)];if(_0x57ffa2&&_0x57ffa2!==_0x5b6dab)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x57ffa2+'\x20-\x20'+_0x5b6dab+'.');return{..._0x15f34c,'id':_0x5b6dab,'type':_0x503ef2,'params':{'unitId':_0x509ab3[_0x175e51(0x1dc)],'textRanges':_0x509ab3['textRanges'],'actions':a[_0x175e51(0x270)][_0x175e51(0x2ec)](_0x35332f['actions'],_0x509ab3[_0x175e51(0x287)])}};},{})],_0x589746=(_0x4143f1=(_0x3fbb18=_0x4b29f3[_0x2afc29(0x286)]())==null?void 0x0:_0x3fbb18[_0x2afc29(0x27c)])!=null?_0x4143f1:_0x2afc29(0x35e),_0x51876b=(_0x461147=(_0xdc6b34=_0x4b29f3[_0x2afc29(0x286)]())==null?void 0x0:_0xdc6b34['memberID'])!=null?_0x461147:_0x2afc29(0x35e);return{'changeset':{'unitID':_0x427509,'type':I['mapDocumentTypeToUniverType'](_0xd20ca3[_0x2afc29(0x128)](_0x427509)),'baseRev':_0xba1057[_0x2afc29(0x13d)](_0x427509),'revision':0x0,'userID':_0x589746,'memberID':_0x51876b,'mutations':_0x25709f},'pendingMutations':[]};}function bt(_0x63a4d2,_0x4455c1){var _0x2ddd37=_0x3c6410;const _0x230cb5=new $[(_0x2ddd37(0x356))](0x1);return setTimeout(()=>_0x230cb5[_0x2ddd37(0x33d)](_0x4455c1),_0x63a4d2),_0x230cb5[_0x2ddd37(0x1f9)]()['pipe']($[_0x2ddd37(0x475)](0x1));}const ui={'id':X[_0x3c6410(0x457)]['id'],'type':a['CommandType'][_0x3c6410(0x24b)],'params':{}};var di=Object[_0x3c6410(0x235)],ae=(_0x25e323,_0x51fa61,_0xb8af2f,_0x388eda)=>{for(var _0x36f7be=_0x388eda>0x1?void 0x0:_0x388eda?di(_0x51fa61,_0xb8af2f):_0x51fa61,_0x3f3a47=_0x25e323['length']-0x1,_0x2b4e66;_0x3f3a47>=0x0;_0x3f3a47--)(_0x2b4e66=_0x25e323[_0x3f3a47])&&(_0x36f7be=_0x2b4e66(_0x36f7be)||_0x36f7be);return _0x36f7be;},w=(_0x5264a5,_0x4f7c07)=>(_0x5a2803,_0x39b951)=>_0x4f7c07(_0x5a2803,_0x39b951,_0x5264a5),Be=(_0x2bb876=>(_0x2bb876[_0x3c6410(0x24a)]=_0x3c6410(0x30c),_0x2bb876[_0x3c6410(0x185)]=_0x3c6410(0x1a0),_0x2bb876['PENDING']=_0x3c6410(0x126),_0x2bb876[_0x3c6410(0x18d)]=_0x3c6410(0x462),_0x2bb876[_0x3c6410(0x320)]=_0x3c6410(0x421),_0x2bb876[_0x3c6410(0x152)]=_0x3c6410(0x325),_0x2bb876[_0x3c6410(0x226)]=_0x3c6410(0x215),_0x2bb876[_0x3c6410(0x481)]=_0x3c6410(0x248),_0x2bb876))(Be||{});const Rt=0xea60;class ce{constructor(_0x2d076d,_0x393fa3,_0x18d862,_0x2378e9,_0x271b38,_0x1600c0,_0x3d113f,_0x28e57a,_0x3f23ec){var _0x2a84ec=_0x3c6410;A(this,_0x2a84ec(0x344),null),A(this,'_pendingMutations',[]),(this['unitID']=_0x2d076d,this[_0x2a84ec(0x2fd)]=_0x393fa3,this[_0x2a84ec(0x1c4)]=_0x271b38,this['_commandService']=_0x1600c0,this[_0x2a84ec(0x160)]=_0x3d113f,this['_revisionService']=_0x28e57a,this[_0x2a84ec(0x159)]=_0x3f23ec,this[_0x2a84ec(0x344)]=_0x18d862,this[_0x2a84ec(0x389)]=_0x2378e9);}[_0x3c6410(0x2d7)](_0x2aa02c){var _0x1a4a0b=_0x3c6410;const _0x38ddf6=this[_0x1a4a0b(0x30d)]['getCurrentRevOfUnit'](this['unitID']);return _0x2aa02c['revision']>_0x38ddf6+0x1?(this[_0x1a4a0b(0x1c4)][_0x1a4a0b(0x14f)]({'from':_0x38ddf6,'to':_0x2aa02c[_0x1a4a0b(0x2b6)]-0x1}),!0x0):!0x1;}[_0x3c6410(0x33b)](_0x1fae2c){var _0xb6fed8=_0x3c6410;this[_0xb6fed8(0x160)][_0xb6fed8(0x480)](this[_0xb6fed8(0x45e)],_0x1fae2c);}[_0x3c6410(0x31c)](_0xe75c64){var _0x104025=_0x3c6410,_0x2770d8,_0x519d6e;(_0x519d6e=(_0x2770d8=this['_handler'])[_0x104025(0x278)])==null||_0x519d6e[_0x104025(0x3db)](_0x2770d8,_0xe75c64);}[_0x3c6410(0x1ae)](_0x235ebe){var _0x19f059=_0x3c6410,_0x416dd0,_0xb667fb;return(_0xb667fb=(_0x416dd0=this[_0x19f059(0x1c4)])[_0x19f059(0x110)])==null?void 0x0:_0xb667fb[_0x19f059(0x3db)](_0x416dd0,_0x235ebe);}[_0x3c6410(0x363)](_0x1db2d5){var _0x874b14=_0x3c6410,_0x45a67c,_0x1d0d4b;return(_0x1d0d4b=(_0x45a67c=this[_0x874b14(0x1c4)])['onTransformState'])==null?void 0x0:_0x1d0d4b[_0x874b14(0x3db)](_0x45a67c,_0x1db2d5);}[_0x3c6410(0x189)](_0x533d1c){var _0x1085ca=_0x3c6410,_0x5ac6b1,_0x275602,_0x4f0465;return(_0x4f0465=(_0x275602=(_0x5ac6b1=this[_0x1085ca(0x1c4)])[_0x1085ca(0x35c)])==null?void 0x0:_0x275602[_0x1085ca(0x3db)](_0x5ac6b1,_0x533d1c))!=null?_0x4f0465:_0x533d1c;}[_0x3c6410(0x2c4)](_0x1374ac){var _0x259c45=_0x3c6410,_0x292392,_0x43c792,_0x25c1e1;return(_0x25c1e1=(_0x43c792=(_0x292392=this[_0x259c45(0x1c4)])[_0x259c45(0x288)])==null?void 0x0:_0x43c792[_0x259c45(0x3db)](_0x292392,_0x1374ac))!=null?_0x25c1e1:_0x1374ac;}[_0x3c6410(0x2eb)](_0x8b5d39){var _0x17a5f7=_0x3c6410,_0x3e07f7,_0x32ef42;if(this[_0x17a5f7(0x2fd)]===J[_0x17a5f7(0x2ac)]){const {unitID:_0xd68731,mutations:_0x1b8850,memberID:_0x51e4c7}=_0x8b5d39,_0x553f59=_0x1b8850[0x0][_0x17a5f7(0x271)][_0x17a5f7(0x16b)];Array[_0x17a5f7(0x3d2)](_0x553f59)&&_0x553f59['length']>0x0&&((_0x32ef42=(_0x3e07f7=this[_0x17a5f7(0x1c4)])['onSyncEditingCollabCursor'])==null||_0x32ef42[_0x17a5f7(0x3db)](_0x3e07f7,{'unitID':_0xd68731,'memberID':_0x51e4c7,'textRanges':_0x553f59}));}}[_0x3c6410(0x3d6)](){var _0x44727a=_0x3c6410,_0x19140e;(_0x19140e=this[_0x44727a(0x159)])==null||_0x19140e[_0x44727a(0x321)](this['unitID'],this[_0x44727a(0x2fd)],this[_0x44727a(0x344)],this[_0x44727a(0x389)]);}['_getCurrentRevision'](){var _0x5494f3=_0x3c6410;return this[_0x5494f3(0x30d)][_0x5494f3(0x13d)](this[_0x5494f3(0x45e)]);}['_incrementRevisionNumber'](){var _0x5e83d3=_0x3c6410;this['_revisionService']['incrementRevOfUnit'](this[_0x5e83d3(0x45e)]);}[_0x3c6410(0x1d8)](_0x3ef612){var _0x4d0942=_0x3c6410,_0x18c4c4;let _0x2d49c4=this[_0x4d0942(0x189)](_0x3ef612);_0x2d49c4=this[_0x4d0942(0x2c4)](_0x2d49c4);const _0x1e7d32=a['sequenceExecute'](_0x2d49c4[_0x4d0942(0x1f0)],this[_0x4d0942(0x28d)],{'fromCollab':!0x0});if(!_0x1e7d32[_0x4d0942(0x31d)])throw _0x1e7d32[_0x4d0942(0x233)]instanceof Error?_0x1e7d32[_0x4d0942(0x233)]:new Error((_0x18c4c4=_0x1e7d32[_0x4d0942(0x233)])!=null?_0x18c4c4:_0x4d0942(0x2b0));this[_0x4d0942(0x1ae)](_0x2d49c4),this[_0x4d0942(0x363)](_0x2d49c4),this[_0x4d0942(0x33b)](_0x3ef612),this[_0x4d0942(0x31c)](_0x2d49c4),this[_0x4d0942(0x2eb)](_0x2d49c4),this['_incrementRevisionNumber']();}}exports[_0x3c6410(0x25a)]=class extends ce{constructor(_0x2848d2,_0x237d73,_0x3b0fb1,_0x48ed6e,_0x549c21,_0xc94865,_0xa5b0a6,_0x567804,_0x79b3e2,_0x3c61cf){var _0x23a862=_0x3c6410;super(_0x2848d2,_0x237d73,null,[],_0x3b0fb1,_0xa5b0a6,_0xc94865,_0x48ed6e,_0x3c61cf),A(this,'status',_0x23a862(0x1a0)),(this[_0x23a862(0x3ef)]=_0x549c21,this['_logService']=_0x567804,this[_0x23a862(0x2f5)]=_0x79b3e2,this['localCacheService']=_0x3c61cf);}[_0x3c6410(0x2ee)](_0x1f320e){var _0x2b0908=_0x3c6410;const _0x20eccf=this['_injector'][_0x2b0908(0x304)](exports['PendingState'],this['unitID'],this[_0x2b0908(0x2fd)],[_0x1f320e],this[_0x2b0908(0x1c4)]);return _0x20eccf[_0x2b0908(0x34d)](),_0x20eccf[_0x2b0908(0x3d6)](),_0x20eccf;}[_0x3c6410(0x282)](_0x157217){var _0x2b9fa9=_0x3c6410;if(this[_0x2b9fa9(0x2d7)](_0x157217))return this[_0x2b9fa9(0x3ef)]['createInstance'](exports[_0x2b9fa9(0x2d2)],this[_0x2b9fa9(0x45e)],this[_0x2b9fa9(0x2fd)],null,[],null,[_0x157217],this[_0x2b9fa9(0x1c4)]);try{const _0x25ff30=this['_transformService'][_0x2b9fa9(0x1b6)](_0x157217,[ui]);if(I[_0x2b9fa9(0x1b9)](_0x25ff30)){const {c1Prime:_0x537ab3}=_0x25ff30;return this[_0x2b9fa9(0x1d8)](_0x537ab3),this;}throw _0x25ff30[_0x2b9fa9(0x233)];}catch(_0x18cdad){return this[_0x2b9fa9(0x315)][_0x2b9fa9(0x233)](_0x18cdad),this['_onConflict'](!0x1);}}[_0x3c6410(0x317)](_0x2afd05){var _0x2b3cc8=_0x3c6410;return this[_0x2b3cc8(0x3ef)]['createInstance'](exports[_0x2b3cc8(0x436)],this[_0x2b3cc8(0x45e)],this['type'],null,[],this[_0x2b3cc8(0x1c4)],_0x2afd05);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3c6410(0x1d9)](){var _0x59b972=_0x3c6410;throw new Error(_0x59b972(0x2d9));}['onRemoteRetry'](){return this;}[_0x3c6410(0x406)](){var _0x2d647c=_0x3c6410;return this['_injector'][_0x2d647c(0x304)](exports[_0x2d647c(0x1c2)],this[_0x2d647c(0x45e)],this[_0x2d647c(0x2fd)],null,[],this[_0x2d647c(0x1c4)]);}[_0x3c6410(0x182)](){return this;}[_0x3c6410(0x1a2)](){var _0x5a0876=_0x3c6410;throw new Error(_0x5a0876(0x1b7));}[_0x3c6410(0x279)](){var _0x442504=_0x3c6410;const _0x35d696=this[_0x442504(0x30d)][_0x442504(0x13d)](this[_0x442504(0x45e)]);return this['_handler'][_0x442504(0x14f)]({'from':_0x35d696,'to':0x0}),this['_injector'][_0x442504(0x304)](exports[_0x442504(0x2d2)],this[_0x442504(0x45e)],this[_0x442504(0x2fd)],null,[],null,[],this[_0x442504(0x1c4)]);}},exports[_0x3c6410(0x25a)]=ae([w(0x3,a['Inject'](I[_0x3c6410(0x251)])),w(0x4,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),w(0x5,a[_0x3c6410(0x10d)]),w(0x6,a[_0x3c6410(0x44d)]),w(0x7,a[_0x3c6410(0x337)]),w(0x8,I[_0x3c6410(0x40a)]),w(0x9,a[_0x3c6410(0x220)](q))],exports[_0x3c6410(0x25a)]),exports[_0x3c6410(0x107)]=class extends ce{constructor(_0x20f326,_0x2fbd30,_0x3d9021,_0x585282,_0x5e3f08,_0x418181,_0x587ada,_0x5570e4,_0x4a51fd,_0x41724f,_0x2f5223,_0x932991,_0x5b6763,_0x3286ea){var _0x1c8c82=_0x3c6410;super(_0x20f326,_0x2fbd30,null,_0x3d9021,_0x585282,_0x4a51fd,_0x5b6763,_0x418181,_0x3286ea),A(this,_0x1c8c82(0x46c),_0x1c8c82(0x126)),A(this,_0x1c8c82(0x255),null),A(this,_0x1c8c82(0x326),null),(this['_injector']=_0x5e3f08,this[_0x1c8c82(0x318)]=_0x587ada,this[_0x1c8c82(0x315)]=_0x5570e4,this[_0x1c8c82(0x2de)]=_0x41724f,this['_transformService']=_0x2f5223,this[_0x1c8c82(0x24e)]=_0x932991);}['appendMutation'](_0x54b504){var _0x209ce2=_0x3c6410;return this[_0x209ce2(0x389)][_0x209ce2(0x3c9)](_0x54b504),this[_0x209ce2(0x3d6)](),this;}[_0x3c6410(0x282)](_0x4a15c6){var _0x1822bc=_0x3c6410;if(this[_0x1822bc(0x2d7)](_0x4a15c6))return this[_0x1822bc(0x131)](),this['_injector'][_0x1822bc(0x304)](exports['FetchingMissState'],this[_0x1822bc(0x45e)],this[_0x1822bc(0x2fd)],null,this[_0x1822bc(0x389)],null,[_0x4a15c6],this[_0x1822bc(0x1c4)]);try{const _0x256e27=this['_transformService'][_0x1822bc(0x1b6)](_0x4a15c6,this['_pendingMutations']);if(I[_0x1822bc(0x1b9)](_0x256e27)){const {c1Prime:_0x136e47,m2Prime:_0x19846b}=_0x256e27;this[_0x1822bc(0x1d8)](_0x136e47);const _0x2ccfb9=this[_0x1822bc(0x3ef)][_0x1822bc(0x304)](exports[_0x1822bc(0x107)],this[_0x1822bc(0x45e)],this['type'],_0x19846b,this[_0x1822bc(0x1c4)]);this[_0x1822bc(0x131)]();const _0x2d05a7=new Date()['getTime'](),_0x54651f=this['_scheduleCompleteTimestamp']?Math[_0x1822bc(0x121)](this[_0x1822bc(0x255)]-_0x2d05a7,0x0):this['_getSendChangesetTimeout']();return _0x2ccfb9['_schedule'](_0x54651f),_0x2ccfb9;}throw _0x256e27['error'];}catch(_0x21e7e7){return this[_0x1822bc(0x315)][_0x1822bc(0x233)](_0x21e7e7),this['_onConflict'](!0x1);}}[_0x3c6410(0x208)](){var _0x44eb52=_0x3c6410;throw new Error(_0x44eb52(0x29b));}[_0x3c6410(0x1d9)](){var _0x3f2e28=_0x3c6410;throw new Error(_0x3f2e28(0x451));}[_0x3c6410(0x2f0)](){return this;}[_0x3c6410(0x406)](){var _0x105486=_0x3c6410;return this[_0x105486(0x131)](),this[_0x105486(0x3ef)][_0x105486(0x304)](exports[_0x105486(0x1c2)],this['unitID'],this[_0x105486(0x2fd)],null,this['_pendingMutations'],this[_0x105486(0x1c4)]);}['toggleOnline'](){return this;}[_0x3c6410(0x34d)](_0x2038eb){var _0x556ef1=_0x3c6410;const _0x2472ca=_0x2038eb!=null?_0x2038eb:this[_0x556ef1(0x144)]();this['_scheduleCompleteTimestamp']=new Date()[_0x556ef1(0x241)]()+_0x2472ca,this[_0x556ef1(0x326)]=setTimeout(()=>{var _0x4f2518=_0x556ef1;this[_0x4f2518(0x131)]();let _0x2af841=null;switch(this[_0x4f2518(0x2fd)]){case J[_0x4f2518(0x17f)]:{_0x2af841=Ke(this[_0x4f2518(0x389)],this[_0x4f2518(0x45e)],this[_0x4f2518(0x24e)],this[_0x4f2518(0x30d)],this[_0x4f2518(0x318)]);break;}case J[_0x4f2518(0x2ac)]:{this[_0x4f2518(0x389)][_0x4f2518(0x46d)](_0x40878b=>_0x40878b['id']===ht['RichTextEditingMutation']['id'])?_0x2af841=li(this[_0x4f2518(0x389)],this[_0x4f2518(0x45e)],this[_0x4f2518(0x24e)],this[_0x4f2518(0x30d)],this[_0x4f2518(0x318)]):_0x2af841=Ke(this[_0x4f2518(0x389)],this[_0x4f2518(0x45e)],this[_0x4f2518(0x24e)],this[_0x4f2518(0x30d)],this[_0x4f2518(0x318)]);break;}default:throw new Error(_0x4f2518(0x2bb)+this[_0x4f2518(0x2fd)]+'\x20in\x20_schedule.');}const {changeset:_0x208e11,pendingMutations:_0x2f7de1}=_0x2af841;this[_0x4f2518(0x1c4)]['onSendChangeset'](_0x208e11);const _0x539929=_0x2f7de1[_0x4f2518(0x44f)]?this[_0x4f2518(0x3ef)][_0x4f2518(0x304)](exports[_0x4f2518(0x476)],this[_0x4f2518(0x45e)],this['type'],_0x208e11,_0x2f7de1,this[_0x4f2518(0x1c4)],void 0x0):this[_0x4f2518(0x3ef)][_0x4f2518(0x304)](exports[_0x4f2518(0x2fc)],this['unitID'],this[_0x4f2518(0x2fd)],_0x208e11,this[_0x4f2518(0x1c4)]);_0x539929[_0x4f2518(0x3d6)](),this[_0x4f2518(0x1c4)][_0x4f2518(0x1fc)](this,_0x539929);},_0x2472ca);}[_0x3c6410(0x144)](){var _0x41a2aa=_0x3c6410,_0x477bf0;const _0x132e75=this['_configService'][_0x41a2aa(0x2b7)](K);return(_0x477bf0=_0x132e75==null?void 0x0:_0x132e75[_0x41a2aa(0x14d)])!=null?_0x477bf0:xt;}['resend'](){var _0x4fcd8a=_0x3c6410;throw new Error(_0x4fcd8a(0x277));}[_0x3c6410(0x131)](){var _0x3d3f7a=_0x3c6410;this[_0x3d3f7a(0x326)]!=null&&(clearTimeout(this[_0x3d3f7a(0x326)]),this[_0x3d3f7a(0x326)]=null);}['_onConflict'](_0x29018c){var _0x3f343b=_0x3c6410;return this[_0x3f343b(0x131)](),this['_injector'][_0x3f343b(0x304)](exports[_0x3f343b(0x436)],this[_0x3f343b(0x45e)],this['type'],null,this[_0x3f343b(0x389)],this[_0x3f343b(0x1c4)],_0x29018c);}},exports['PendingState']=ae([w(0x4,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),w(0x5,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x251)])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a[_0x3c6410(0x337)]),w(0x8,a[_0x3c6410(0x44d)]),w(0x9,a[_0x3c6410(0x2dd)]),w(0xa,I['ITransformService']),w(0xb,a[_0x3c6410(0x150)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x3c6410(0x220)](q))],exports[_0x3c6410(0x107)]),exports['AwaitingState']=class extends ce{constructor(_0x4c6e47,_0x50432f,_0x4a36a5,_0x8a8fd2,_0xb88727,_0x3ce80a,_0x4e46dc,_0x55cbb9,_0x5ac23b,_0x45d74d,_0x5390ce){var _0x22aed4=_0x3c6410;super(_0x4c6e47,_0x50432f,_0x4a36a5,[],_0x8a8fd2,_0x4e46dc,_0x45d74d,_0x3ce80a,_0x5390ce),A(this,'status',_0x22aed4(0x462)),A(this,'_resendTimeout',0x0),A(this,_0x22aed4(0x367)),A(this,_0x22aed4(0x225)),(this[_0x22aed4(0x3ef)]=_0xb88727,this[_0x22aed4(0x315)]=_0x55cbb9,this['_transformService']=_0x5ac23b);}['appendMutation'](_0x405092){var _0x117bbc=_0x3c6410;this['_clearScheduledTask']();const _0x35eb79=this['_injector']['createInstance'](exports[_0x117bbc(0x476)],this[_0x117bbc(0x45e)],this[_0x117bbc(0x2fd)],this[_0x117bbc(0x344)],[_0x405092],this[_0x117bbc(0x1c4)],this[_0x117bbc(0x367)]);return _0x35eb79[_0x117bbc(0x3d6)](),_0x35eb79;}['onRemoteChangeset'](_0x263fd9){var _0x5542a0=_0x3c6410;if(this[_0x5542a0(0x2d7)](_0x263fd9))return this['_clearScheduledTask'](),this['_injector'][_0x5542a0(0x304)](exports[_0x5542a0(0x2d2)],this[_0x5542a0(0x45e)],this[_0x5542a0(0x2fd)],this[_0x5542a0(0x344)],[],null,[_0x263fd9],this[_0x5542a0(0x1c4)]);try{const _0x2ad744=this[_0x5542a0(0x2f5)]['transformChangesets']([_0x263fd9],[this[_0x5542a0(0x344)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x2ad744)){const {c1Prime:_0x23348c,c2Prime:_0x2313ba}=_0x2ad744;this['_executeRemoteChangeset'](_0x23348c[0x0]),_0x2313ba[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x322e8a=this[_0x5542a0(0x3ef)]['createInstance'](exports[_0x5542a0(0x2fc)],this['unitID'],this[_0x5542a0(0x2fd)],_0x2313ba[0x0],this[_0x5542a0(0x1c4)]);return _0x322e8a[_0x5542a0(0x3d6)](),_0x322e8a;}return this[_0x5542a0(0x317)](!0x1);}catch(_0x1a543c){return this[_0x5542a0(0x315)][_0x5542a0(0x233)](_0x1a543c),this[_0x5542a0(0x317)](!0x1);}}['onRemoteAck'](_0x379780){var _0x4c360c=_0x3c6410;this[_0x4c360c(0x131)]();const _0x478aa1=this[_0x4c360c(0x30d)][_0x4c360c(0x13d)](this[_0x4c360c(0x45e)]);if(_0x379780[_0x4c360c(0x2b6)]<_0x478aa1-0x1)return this;if(this[_0x4c360c(0x2d7)](_0x379780))return this[_0x4c360c(0x3ef)][_0x4c360c(0x304)](exports['FetchingMissState'],this[_0x4c360c(0x45e)],this[_0x4c360c(0x2fd)],null,[],this[_0x4c360c(0x344)],[],this['_handler']);this[_0x4c360c(0x423)]();const _0x4a22d7=this['_injector'][_0x4c360c(0x304)](exports[_0x4c360c(0x25a)],this[_0x4c360c(0x45e)],this[_0x4c360c(0x2fd)],this[_0x4c360c(0x1c4)]);return _0x4a22d7['_updateLocalCache'](),_0x4a22d7;}['onRemoteRej'](_0x120fb5){var _0x18945e=_0x3c6410;return this['_onConflict'](!!(_0x120fb5!=null&&_0x120fb5[_0x18945e(0x445)]));}['onRemoteRetry'](_0x233e61){var _0x26452e=_0x3c6410;return this['_resendTimeout']>Rt?this['toggleOffline']():(this['_resendTimer']=bt(this[_0x26452e(0x418)],{'timeout':this[_0x26452e(0x418)],'reqId':_0x233e61[_0x26452e(0x412)]}),this[_0x26452e(0x225)]=this['_resendTimer'][_0x26452e(0x16f)](({reqId:_0x544d9a,timeout:_0x5e908a})=>{var _0x357054=_0x26452e;this[_0x357054(0x3e9)](_0x544d9a,_0x5e908a);}),this);}[_0x3c6410(0x406)](){var _0x4e87e1=_0x3c6410;return this[_0x4e87e1(0x131)](),this[_0x4e87e1(0x3ef)][_0x4e87e1(0x304)](exports[_0x4e87e1(0x1c2)],this[_0x4e87e1(0x45e)],this[_0x4e87e1(0x2fd)],this[_0x4e87e1(0x344)],[],this[_0x4e87e1(0x1c4)]);}[_0x3c6410(0x182)](){return this;}[_0x3c6410(0x1a2)](){var _0x4056f9=_0x3c6410;this[_0x4056f9(0x1c4)][_0x4056f9(0x440)](this['_awaitingChangeset']);}[_0x3c6410(0x317)](_0x18622f){var _0x20bef3=_0x3c6410;return this['_clearScheduledTask'](),this[_0x20bef3(0x3ef)][_0x20bef3(0x304)](exports[_0x20bef3(0x436)],this[_0x20bef3(0x45e)],this[_0x20bef3(0x2fd)],this[_0x20bef3(0x344)],[],this[_0x20bef3(0x1c4)],_0x18622f);}[_0x3c6410(0x3e9)](_0x44428d,_0x2825e8){var _0xe4b4fc=_0x3c6410,_0xdc176d;_0x44428d===((_0xdc176d=this[_0xe4b4fc(0x344)])==null?void 0x0:_0xdc176d[_0xe4b4fc(0x412)])&&(this[_0xe4b4fc(0x1a2)](),this[_0xe4b4fc(0x418)]=_0x2825e8===0x0?0x3e8:_0x2825e8*0x2);}[_0x3c6410(0x131)](){var _0x11ef6c=_0x3c6410,_0xa7056d;(_0xa7056d=this['_sender'])==null||_0xa7056d[_0x11ef6c(0x1f1)](),this['_resendTimeout']=0x0;}},exports[_0x3c6410(0x2fc)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x251)])),w(0x6,a[_0x3c6410(0x44d)]),w(0x7,a['ILogService']),w(0x8,I['ITransformService']),w(0x9,a[_0x3c6410(0x10d)]),w(0xa,a[_0x3c6410(0x220)](q))],exports[_0x3c6410(0x2fc)]),exports[_0x3c6410(0x476)]=class extends ce{constructor(_0x31e7e2,_0x5344fb,_0x4c3157,_0x48270d,_0x47065f,_0xd3ad9,_0x3dc251,_0x47b6e8,_0x2868dc,_0x3777fc,_0x224a4c,_0x22f8ee,_0x233b6a){var _0x530c22=_0x3c6410;super(_0x31e7e2,_0x5344fb,_0x4c3157,_0x48270d,_0x47065f,_0x2868dc,_0x22f8ee,_0x47b6e8,_0x233b6a),A(this,'status',_0x530c22(0x421)),A(this,'_resendTimeout',0x0),A(this,_0x530c22(0x367)),A(this,'_sender'),(this[_0x530c22(0x3ef)]=_0x3dc251,this[_0x530c22(0x315)]=_0x3777fc,this[_0x530c22(0x2f5)]=_0x224a4c,this[_0x530c22(0x19e)]=_0x233b6a,_0xd3ad9&&(this[_0x530c22(0x367)]=_0xd3ad9,this[_0x530c22(0x225)]=this[_0x530c22(0x367)][_0x530c22(0x16f)](({reqId:_0x2d33aa,timeout:_0x2ca539})=>{var _0x43c806=_0x530c22;this[_0x43c806(0x3e9)](_0x2d33aa,_0x2ca539);})));}[_0x3c6410(0x2ee)](_0x430ac3){var _0x4ae947=_0x3c6410;return this[_0x4ae947(0x389)]['push'](_0x430ac3),this;}['onRemoteChangeset'](_0x10b86c){var _0x2a6201=_0x3c6410;if(this[_0x2a6201(0x2d7)](_0x10b86c))return this[_0x2a6201(0x131)](),this['_injector']['createInstance'](exports[_0x2a6201(0x2d2)],this[_0x2a6201(0x45e)],this[_0x2a6201(0x2fd)],this[_0x2a6201(0x344)],this['_pendingMutations'],null,[_0x10b86c],this[_0x2a6201(0x1c4)]);try{const _0x3ddcd5=this[_0x2a6201(0x2f5)][_0x2a6201(0x45a)]([_0x10b86c],[this[_0x2a6201(0x344)]],!0x1);if(I[_0x2a6201(0x31a)](_0x3ddcd5)){const {c1Prime:_0x5dc395,c2Prime:_0x76f03d}=_0x3ddcd5,_0x1f851a=this[_0x2a6201(0x2f5)][_0x2a6201(0x1b6)](_0x5dc395[0x0],this[_0x2a6201(0x389)]);if(I[_0x2a6201(0x1b9)](_0x1f851a)){const {c1Prime:_0x220d07,m2Prime:_0x157527}=_0x1f851a;return this['_executeRemoteChangeset'](_0x220d07),_0x76f03d[0x0][_0x2a6201(0x281)]=this[_0x2a6201(0x11b)](),this['_clearScheduledTask'](),this['_injector'][_0x2a6201(0x304)](exports[_0x2a6201(0x476)],this[_0x2a6201(0x45e)],this[_0x2a6201(0x2fd)],_0x76f03d[0x0],_0x157527,this[_0x2a6201(0x1c4)],void 0x0);}throw _0x1f851a[_0x2a6201(0x233)];}throw _0x3ddcd5[_0x2a6201(0x233)];}catch(_0x79171c){return this[_0x2a6201(0x315)]['error'](_0x79171c),this[_0x2a6201(0x317)](!0x1);}}[_0x3c6410(0x208)](_0x574af3){var _0x34ebff=_0x3c6410;if(this['_clearScheduledTask'](),this[_0x34ebff(0x2d7)](_0x574af3))return this[_0x34ebff(0x3ef)][_0x34ebff(0x304)](exports['FetchingMissState'],this[_0x34ebff(0x45e)],this['type'],null,this[_0x34ebff(0x389)],this[_0x34ebff(0x344)],[],this[_0x34ebff(0x1c4)]);this['_incrementRevisionNumber']();const _0x3bcc84=this['_injector']['createInstance'](exports[_0x34ebff(0x107)],this[_0x34ebff(0x45e)],this[_0x34ebff(0x2fd)],this[_0x34ebff(0x389)],this[_0x34ebff(0x1c4)]);return _0x3bcc84[_0x34ebff(0x34d)](),_0x3bcc84[_0x34ebff(0x3d6)](),_0x3bcc84;}[_0x3c6410(0x1d9)](_0x17f343){var _0x4e4e6c=_0x3c6410;return this[_0x4e4e6c(0x317)](!!(_0x17f343!=null&&_0x17f343[_0x4e4e6c(0x445)]));}[_0x3c6410(0x2f0)](_0x540f61){var _0x3bbf4c=_0x3c6410;return this[_0x3bbf4c(0x418)]>Rt?this[_0x3bbf4c(0x406)]():(this[_0x3bbf4c(0x367)]=bt(this[_0x3bbf4c(0x418)],{'timeout':this[_0x3bbf4c(0x418)],'reqId':_0x540f61['reqId']}),this[_0x3bbf4c(0x225)]=this[_0x3bbf4c(0x367)]['subscribe'](({reqId:_0x801222,timeout:_0x322643})=>{this['_resendWithTimeout'](_0x801222,_0x322643);}),this);}['toggleOffline'](){var _0x192e36=_0x3c6410;return this[_0x192e36(0x131)](),this[_0x192e36(0x3ef)]['createInstance'](exports['OfflineState'],this[_0x192e36(0x45e)],this['type'],this[_0x192e36(0x344)],this[_0x192e36(0x389)],this[_0x192e36(0x1c4)]);}['toggleOnline'](){return this;}[_0x3c6410(0x1a2)](){var _0x461ede=_0x3c6410;this[_0x461ede(0x1c4)][_0x461ede(0x440)](this[_0x461ede(0x344)]);}[_0x3c6410(0x317)](_0x3a03d3){var _0x1445e5=_0x3c6410;return this[_0x1445e5(0x131)](),this['_injector'][_0x1445e5(0x304)](exports[_0x1445e5(0x436)],this[_0x1445e5(0x45e)],this[_0x1445e5(0x2fd)],null,this[_0x1445e5(0x389)],this[_0x1445e5(0x1c4)],_0x3a03d3);}[_0x3c6410(0x3e9)](_0x54fcb5,_0x2b7ddc){var _0x461ef2=_0x3c6410,_0x2bf02d;_0x54fcb5===((_0x2bf02d=this['_awaitingChangeset'])==null?void 0x0:_0x2bf02d['reqId'])&&(this[_0x461ef2(0x1a2)](),this[_0x461ef2(0x418)]=_0x2b7ddc===0x0?0x3e8:_0x2b7ddc*0x2);}['_clearScheduledTask'](){var _0x16636a=_0x3c6410,_0x32bb6f;(_0x32bb6f=this[_0x16636a(0x225)])==null||_0x32bb6f[_0x16636a(0x1f1)](),this[_0x16636a(0x418)]=0x0;}},exports[_0x3c6410(0x476)]=ae([w(0x6,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),w(0x7,a['Inject'](I[_0x3c6410(0x251)])),w(0x8,a[_0x3c6410(0x44d)]),w(0x9,a[_0x3c6410(0x337)]),w(0xa,I['ITransformService']),w(0xb,a[_0x3c6410(0x10d)]),w(0xc,a[_0x3c6410(0x220)](q))],exports['AwaitingWithPendingState']),exports[_0x3c6410(0x436)]=class extends ce{constructor(_0x3f1396,_0x35454a,_0x5691c0,_0x48247d,_0x504a6c,_0x30b0b2=!0x1,_0x3f9520,_0x5286cb,_0x5d8438,_0xdf4c77,_0x3c98a8,_0x435fd5,_0x283762){var _0x201c3b=_0x3c6410;super(_0x3f1396,_0x35454a,_0x5691c0,_0x48247d,_0x504a6c,_0x5286cb,_0x5d8438,_0xdf4c77,_0x283762),A(this,'status',_0x201c3b(0x215)),(this['_isPermissionRej']=_0x30b0b2,this[_0x201c3b(0x3cc)]=_0x3f9520,this[_0x201c3b(0x36a)]=_0x3c98a8,this['_collaborationUIEventService']=_0x435fd5,this[_0x201c3b(0x19e)]=_0x283762,this[_0x201c3b(0x17d)](),this[_0x201c3b(0x3df)](),this[_0x201c3b(0x465)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3c6410(0x208)](){return this;}[_0x3c6410(0x1d9)](){return this;}[_0x3c6410(0x2f0)](){return this;}[_0x3c6410(0x406)](){return this;}[_0x3c6410(0x182)](){return this;}[_0x3c6410(0x1a2)](){var _0x390967=_0x3c6410;throw new Error(_0x390967(0x381));}[_0x3c6410(0x3df)](){var _0x3a26d9=_0x3c6410,_0x49425c;(_0x49425c=this[_0x3a26d9(0x159)])==null||_0x49425c['updateOfflineData'](this[_0x3a26d9(0x45e)],this[_0x3a26d9(0x2fd)],null,[]);}[_0x3c6410(0x17d)](){var _0x42a6d7=_0x3c6410;this[_0x42a6d7(0x2ff)]?this[_0x42a6d7(0x20e)][_0x42a6d7(0x331)]({'id':Z[_0x42a6d7(0x2f9)]}):this[_0x42a6d7(0x20e)][_0x42a6d7(0x331)]({'id':Z['CONFLICT']});}[_0x3c6410(0x465)](){var _0x518e48=_0x3c6410;this[_0x518e48(0x3cc)][_0x518e48(0x198)](new X[(_0x518e48(0x3c1))](this[_0x518e48(0x45e)])['id'],!0x1);}},exports[_0x3c6410(0x436)]=ae([w(0x6,a['Inject'](a[_0x3c6410(0x357)])),w(0x7,a[_0x3c6410(0x44d)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](I[_0x3c6410(0x251)])),w(0xa,a['Inject'](a[_0x3c6410(0x483)])),w(0xb,a[_0x3c6410(0x1f3)](ee)),w(0xc,a[_0x3c6410(0x220)](q))],exports['ConflictState']),exports[_0x3c6410(0x1c2)]=class extends ce{constructor(_0x3c0229,_0x559bec,_0x4f608b,_0x516732,_0x4c7a81,_0x3c7f71,_0x3ae15d,_0x3bf4f9,_0x4ff423,_0x1603fe){var _0xecb92=_0x3c6410;super(_0x3c0229,_0x559bec,_0x4f608b,_0x516732,_0x4c7a81,_0x3bf4f9,_0x4ff423,_0x3ae15d,_0x1603fe),A(this,_0xecb92(0x46c),_0xecb92(0x248)),this[_0xecb92(0x3ef)]=_0x3c7f71;}['appendMutation'](_0x3026e7){var _0x39e6c9=_0x3c6410;return this['_pendingMutations'][_0x39e6c9(0x3c9)](_0x3026e7),this[_0x39e6c9(0x3d6)](),this;}[_0x3c6410(0x282)](_0x1fe19c){var _0x30f22f=_0x3c6410;throw new Error(_0x30f22f(0x2c0));}['onRemoteAck'](){var _0x27c657=_0x3c6410;throw new Error(_0x27c657(0x489));}[_0x3c6410(0x1d9)](){var _0x7e4af1=_0x3c6410;throw new Error(_0x7e4af1(0x41e));}[_0x3c6410(0x2f0)](){return this;}[_0x3c6410(0x406)](){return this;}['toggleOnline'](){var _0x49d287=_0x3c6410;const {_injector:_0x4d382f,_pendingMutations:_0x268be0,_awaitingChangeset:_0x451b4d,unitID:_0x2ee6ff,_handler:_0x2abe24,type:_0x20b98e}=this,_0x20e72b=Ot(_0x4d382f,_0x2ee6ff,_0x20b98e,_0x451b4d,_0x268be0,_0x2abe24);return _0x20e72b instanceof exports[_0x49d287(0x107)]?_0x20e72b['_schedule']():(_0x20e72b instanceof exports[_0x49d287(0x476)]||_0x20e72b instanceof exports[_0x49d287(0x2fc)])&&_0x20e72b[_0x49d287(0x1a2)](),_0x20e72b;}[_0x3c6410(0x1a2)](){var _0x9d421c=_0x3c6410;throw new Error(_0x9d421c(0x36b));}},exports[_0x3c6410(0x1c2)]=ae([w(0x5,a[_0x3c6410(0x1f3)](a['Injector'])),w(0x6,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x251)])),w(0x7,a['ICommandService']),w(0x8,a[_0x3c6410(0x10d)]),w(0x9,a[_0x3c6410(0x220)](q))],exports['OfflineState']),exports['FetchingMissState']=class extends ce{constructor(_0x47ffec,_0x23813b,_0x48692b,_0x118c63,_0x12bbb4,_0x306dba,_0x53c45a,_0x388b75,_0x3ec092,_0x464577,_0xc3df4e,_0x185cb0,_0x9ea88d,_0x3b66df){var _0x2da5dc=_0x3c6410;super(_0x47ffec,_0x23813b,_0x48692b,_0x118c63,_0x53c45a,_0xc3df4e,_0x185cb0,_0x3ec092,_0x3b66df),A(this,'status',_0x2da5dc(0x325)),(this[_0x2da5dc(0x1a8)]=_0x12bbb4,this[_0x2da5dc(0x166)]=_0x306dba,this[_0x2da5dc(0x3ef)]=_0x388b75,this[_0x2da5dc(0x315)]=_0x464577,this[_0x2da5dc(0x2f5)]=_0x9ea88d,this[_0x2da5dc(0x19e)]=_0x3b66df);}[_0x3c6410(0x12f)](_0x12de05){var _0x1e36b7=_0x3c6410;try{const _0x2441eb=[..._0x12de05,...this[_0x1e36b7(0x166)]],_0x522a6f=[this['_awaitingChangeset']||this[_0x1e36b7(0x1a8)]][_0x1e36b7(0x1ea)](_0x41926a=>!!_0x41926a);let _0x15934c,_0x2334fb;if(_0x522a6f[_0x1e36b7(0x44f)]){const _0x442145=this[_0x1e36b7(0x2f5)][_0x1e36b7(0x45a)](_0x2441eb,_0x522a6f,!0x1);if(!I['isTransformChangesetsSuccess'](_0x442145))throw _0x442145[_0x1e36b7(0x233)];_0x15934c=_0x442145[_0x1e36b7(0x1bd)],_0x2334fb=_0x442145[_0x1e36b7(0x2d3)];}else _0x15934c=_0x2441eb,_0x2334fb=[];let _0x437fd8=this['_pendingMutations'];_0x15934c[_0x1e36b7(0x10a)](_0x1faeca=>{var _0x3ad90a=_0x1e36b7;let _0x35411a;if(_0x437fd8['length']){const _0x4d90f5=this[_0x3ad90a(0x2f5)]['transformMutationsWithChangeset'](_0x1faeca,_0x437fd8);if(!I[_0x3ad90a(0x1b9)](_0x4d90f5))throw _0x4d90f5[_0x3ad90a(0x233)];_0x35411a=_0x4d90f5[_0x3ad90a(0x1bd)],_0x437fd8=_0x4d90f5[_0x3ad90a(0x3b6)];}else _0x35411a=_0x1faeca;this[_0x3ad90a(0x1d8)](_0x35411a);}),this[_0x1e36b7(0x1a8)]&&this['_incrementRevisionNumber'](),this[_0x1e36b7(0x344)]&&_0x2334fb[_0x1e36b7(0x44f)]&&(_0x2334fb[0x0][_0x1e36b7(0x281)]=this[_0x1e36b7(0x11b)]());let _0x3d13de;if(this[_0x1e36b7(0x344)]&&_0x437fd8[_0x1e36b7(0x44f)]!==0x0)_0x3d13de=this['_injector'][_0x1e36b7(0x304)](exports['AwaitingWithPendingState'],this[_0x1e36b7(0x45e)],this['type'],_0x2334fb[0x0],_0x437fd8,this[_0x1e36b7(0x1c4)],void 0x0);else{if(this[_0x1e36b7(0x344)]&&_0x437fd8[_0x1e36b7(0x44f)]===0x0)_0x2334fb[0x0][_0x1e36b7(0x281)]=this['_getCurrentRevision'](),_0x3d13de=this[_0x1e36b7(0x3ef)][_0x1e36b7(0x304)](exports[_0x1e36b7(0x2fc)],this[_0x1e36b7(0x45e)],this[_0x1e36b7(0x2fd)],_0x2334fb[0x0],this['_handler']);else{if(_0x437fd8[_0x1e36b7(0x44f)]!==0x0){const _0x20a73f=this[_0x1e36b7(0x3ef)][_0x1e36b7(0x304)](exports[_0x1e36b7(0x107)],this[_0x1e36b7(0x45e)],this[_0x1e36b7(0x2fd)],_0x437fd8,this[_0x1e36b7(0x1c4)]);_0x20a73f[_0x1e36b7(0x34d)](),_0x3d13de=_0x20a73f;}else _0x3d13de=this[_0x1e36b7(0x3ef)][_0x1e36b7(0x304)](exports['SyncedState'],this[_0x1e36b7(0x45e)],this['type'],this[_0x1e36b7(0x1c4)]);}}return _0x3d13de[_0x1e36b7(0x3d6)](),_0x3d13de;}catch(_0xfdc40b){return this[_0x1e36b7(0x315)]['error'](_0x1e36b7(0x2fe),_0x1e36b7(0x163),_0xfdc40b),this[_0x1e36b7(0x3ef)][_0x1e36b7(0x304)](exports[_0x1e36b7(0x436)],this[_0x1e36b7(0x45e)],this[_0x1e36b7(0x2fd)],this[_0x1e36b7(0x344)],this['_pendingMutations'],this[_0x1e36b7(0x1c4)],!0x1);}}['resend'](){var _0x49a245=_0x3c6410;throw new Error(_0x49a245(0x26c));}[_0x3c6410(0x2ee)](_0x148046){var _0x2c3566=_0x3c6410;return this[_0x2c3566(0x389)][_0x2c3566(0x3c9)](_0x148046),this;}[_0x3c6410(0x282)](_0x2b194f){var _0x302d00=_0x3c6410;return this[_0x302d00(0x166)][_0x302d00(0x3c9)](_0x2b194f),this;}[_0x3c6410(0x208)](_0x1a133a){var _0x55a4ca=_0x3c6410;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x55a4ca(0x344)]=null,this;throw new Error(_0x55a4ca(0x431));}[_0x3c6410(0x1d9)](_0x3df894){var _0x1a64c0=_0x3c6410;return this[_0x1a64c0(0x317)](!!(_0x3df894!=null&&_0x3df894[_0x1a64c0(0x445)]));}[_0x3c6410(0x2f0)](){return this;}[_0x3c6410(0x406)](){var _0x1ae7b0=_0x3c6410;return this['_injector']['createInstance'](exports[_0x1ae7b0(0x1c2)],this[_0x1ae7b0(0x45e)],this[_0x1ae7b0(0x2fd)],this[_0x1ae7b0(0x344)],this['_pendingMutations'],this[_0x1ae7b0(0x1c4)]);}['toggleOnline'](){return this;}['_onConflict'](_0x34cf06){var _0x2a2bc1=_0x3c6410;return this[_0x2a2bc1(0x3ef)][_0x2a2bc1(0x304)](exports['ConflictState'],this['unitID'],this[_0x2a2bc1(0x2fd)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2a2bc1(0x1c4)],_0x34cf06);}},exports[_0x3c6410(0x2d2)]=ae([w(0x7,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),w(0x8,a['Inject'](I[_0x3c6410(0x251)])),w(0x9,a[_0x3c6410(0x337)]),w(0xa,a['ICommandService']),w(0xb,a[_0x3c6410(0x10d)]),w(0xc,I['ITransformService']),w(0xd,a['Optional'](q))],exports['FetchingMissState']);function Ot(_0x5d5059,_0x4ecc32,_0x5b892a,_0x543a68,_0x2b4ccd,_0x3a51d1){var _0x1c718f=_0x3c6410;return _0x543a68&&_0x2b4ccd[_0x1c718f(0x44f)]?_0x5d5059['createInstance'](exports[_0x1c718f(0x476)],_0x4ecc32,_0x5b892a,_0x543a68,_0x2b4ccd,_0x3a51d1,void 0x0):_0x543a68?_0x5d5059[_0x1c718f(0x304)](exports[_0x1c718f(0x2fc)],_0x4ecc32,_0x5b892a,_0x543a68,_0x3a51d1):_0x2b4ccd[_0x1c718f(0x44f)]?_0x5d5059[_0x1c718f(0x304)](exports['PendingState'],_0x4ecc32,_0x5b892a,_0x2b4ccd,_0x3a51d1):_0x5d5059[_0x1c718f(0x304)](exports[_0x1c718f(0x25a)],_0x4ecc32,_0x5b892a,_0x3a51d1);}var vi=Object[_0x3c6410(0x235)],Fe=(_0x818fbb,_0x1bc7bb,_0x3c3f24,_0x3f9d54)=>{var _0x4b1c0d=_0x3c6410;for(var _0x1505fc=_0x3f9d54>0x1?void 0x0:_0x3f9d54?vi(_0x1bc7bb,_0x3c3f24):_0x1bc7bb,_0x583618=_0x818fbb[_0x4b1c0d(0x44f)]-0x1,_0x245ea7;_0x583618>=0x0;_0x583618--)(_0x245ea7=_0x818fbb[_0x583618])&&(_0x1505fc=_0x245ea7(_0x1505fc)||_0x1505fc);return _0x1505fc;},j=(_0x2e4012,_0xae5b1c)=>(_0x1208cb,_0x32cee4)=>_0xae5b1c(_0x1208cb,_0x32cee4,_0x2e4012);exports['CollaborationEntity']=class extends a[_0x3c6410(0x23a)]{constructor(_0x45ced2,_0x352cb6,_0x2a3fa2,_0x205631,_0x42e2b5,_0x16e3bc,_0x398690,_0x315e33,_0x2e1117,_0x6c04ea,_0x535c2b,_0x10b991,_0x558c6a){var _0x4b02dc=_0x3c6410;super(),A(this,_0x4b02dc(0x435),new $[(_0x4b02dc(0x1c6))](null)),A(this,_0x4b02dc(0x484),this[_0x4b02dc(0x435)][_0x4b02dc(0x1f9)]()),A(this,_0x4b02dc(0x397)),A(this,_0x4b02dc(0x148),!0x1),A(this,_0x4b02dc(0x32a),''),A(this,_0x4b02dc(0x410),0x0),A(this,_0x4b02dc(0x442),this[_0x4b02dc(0x484)][_0x4b02dc(0x37b)]($['map'](_0x34a33d=>_0x34a33d?_0x34a33d['status']:Be[_0x4b02dc(0x481)]),$[_0x4b02dc(0x151)](0x1))),A(this,_0x4b02dc(0x3c3),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x4b02dc(0x45e)]=_0x45ced2,this[_0x4b02dc(0x3aa)]=_0x352cb6,this[_0x4b02dc(0x40e)]=_0x2a3fa2,this[_0x4b02dc(0x3ef)]=_0x205631,this[_0x4b02dc(0x17b)]=_0x42e2b5,this[_0x4b02dc(0x36a)]=_0x16e3bc,this[_0x4b02dc(0x30d)]=_0x398690,this[_0x4b02dc(0x209)]=_0x315e33,this['_logService']=_0x2e1117,this[_0x4b02dc(0x28d)]=_0x6c04ea,this[_0x4b02dc(0x3cc)]=_0x535c2b,this[_0x4b02dc(0x41c)]=_0x10b991,this['_localCacheService']=_0x558c6a);}get[_0x3c6410(0x2a5)](){return this['_state'];}async[_0x3c6410(0x227)](){var _0x522e04=_0x3c6410;if(this['state'])throw new Error(_0x522e04(0x374));await this[_0x522e04(0x327)]();}[_0x3c6410(0x252)](){var _0x42ecd4=_0x3c6410;return this[_0x42ecd4(0x148)]=!0x0,a[_0x42ecd4(0x340)](()=>{var _0x1c2d9b=_0x42ecd4;this[_0x1c2d9b(0x148)]=!0x1,this[_0x1c2d9b(0x350)]();});}[_0x3c6410(0x2cf)](_0x54b97e){var _0x1e5e74=_0x3c6410;this[_0x1e5e74(0x258)](_0x54b97e);}['_updateState'](_0x39e146){var _0x475833=_0x3c6410;this[_0x475833(0x397)]=_0x39e146,this[_0x475833(0x435)][_0x475833(0x33d)](_0x39e146);}async[_0x3c6410(0x327)](){var _0x2d1fdc=_0x3c6410,_0x285040;this[_0x2d1fdc(0x42f)](await this[_0x2d1fdc(0x2a2)]()),this[_0x2d1fdc(0x41c)]&&((_0x285040=this['_singleActiveUnitService'])==null||_0x285040['editingUnit'](this[_0x2d1fdc(0x45e)]),this[_0x2d1fdc(0x285)](this[_0x2d1fdc(0x41c)]['getUnitStatus$'](this[_0x2d1fdc(0x45e)])['subscribe'](_0x1f6d30=>{var _0xa7952b=_0x2d1fdc;this[_0xa7952b(0x315)][_0xa7952b(0x127)]('[CollaborationEntity]',_0xa7952b(0x41f),_0x1f6d30),_0x1f6d30===je[_0xa7952b(0x125)]?(this[_0xa7952b(0x209)][_0xa7952b(0x331)]({'id':Z[_0xa7952b(0x401)]}),this[_0xa7952b(0x3cc)][_0xa7952b(0x198)](new X[(_0xa7952b(0x3c1))](this['unitID'])['id'],!0x1),this['_permissionService'][_0xa7952b(0x395)](!0x1)):(this[_0xa7952b(0x3cc)][_0xa7952b(0x198)](new X[(_0xa7952b(0x3c1))](this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x31b974=!0x1;return this['disposeWithMe'](this['session'][_0x2d1fdc(0x3b2)][_0x2d1fdc(0x16f)](_0x5552e0=>{var _0x371e85=_0x2d1fdc;_0x5552e0===re[_0x371e85(0x181)]?this[_0x371e85(0x137)](_0x31b974):_0x5552e0===re[_0x371e85(0x481)]&&(_0x31b974=!0x0,this[_0x371e85(0x2c5)]());})),this[_0x2d1fdc(0x285)](this[_0x2d1fdc(0x3aa)][_0x2d1fdc(0x329)][_0x2d1fdc(0x16f)](_0x399518=>{var _0x1ee023=_0x2d1fdc;try{switch(_0x399518[_0x1ee023(0x3d8)]){case I[_0x1ee023(0x43f)][_0x1ee023(0x39c)]:{this[_0x1ee023(0x3fd)](I['parseProtocolChangeset'](_0x399518['data']));break;}case I['CollaborationEvent'][_0x1ee023(0x3c0)]:{this[_0x1ee023(0x22c)](_0x399518[_0x1ee023(0x3a0)]);break;}case I[_0x1ee023(0x43f)][_0x1ee023(0x313)]:{this['_onRemoteRejected']();break;}case I['CollaborationEvent'][_0x1ee023(0x289)]:{this[_0x1ee023(0x1d0)](_0x399518[_0x1ee023(0x3a0)]);break;}case I[_0x1ee023(0x43f)][_0x1ee023(0x12d)]:{this['_onFetchMissResult'](_0x399518[_0x1ee023(0x3a0)][_0x1ee023(0x273)][_0x1ee023(0x123)](_0x43f229=>I[_0x1ee023(0xfe)](_0x43f229)));break;}case I['CollaborationEvent'][_0x1ee023(0x3a2)]:{this[_0x1ee023(0x249)]({'isPermissionRej':!0x0});break;}case I[_0x1ee023(0x43f)][_0x1ee023(0x461)]:break;}}catch(_0x3dc963){throw console[_0x1ee023(0x233)](_0x1ee023(0x1af),_0x3dc963),_0x3dc963;}})),this[_0x2d1fdc(0x397)];}[_0x3c6410(0x2c3)](){var _0x2d96a6=_0x3c6410;this[_0x2d96a6(0x3c3)]=!0x1;}[_0x3c6410(0x399)](){var _0x5e532e=_0x3c6410;if(this[_0x5e532e(0x3c3)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5e532e(0x3c3)]=!0x0;}[_0x3c6410(0x258)](_0x10a1cf){var _0x5b5822=_0x3c6410;this['_lockTransition'](),this[_0x5b5822(0x42f)](this['_state'][_0x5b5822(0x2ee)](_0x10a1cf)),this[_0x5b5822(0x2c3)]();}['_onRemoteChangeset'](_0x18bea0){var _0x4ca1a8=_0x3c6410;if(!(_0x18bea0[_0x4ca1a8(0x2b6)]<=this['_revisionService'][_0x4ca1a8(0x13d)](this['unitID']))){if(this[_0x4ca1a8(0x148)]){this['_remoteChangesetQueue']['push'](_0x18bea0);return;}this[_0x4ca1a8(0x345)](_0x18bea0);}}['_exhaustRemoteChangesetQueue'](){var _0x21912a=_0x3c6410;this[_0x21912a(0x388)][_0x21912a(0x10a)](_0x19e5f8=>this[_0x21912a(0x345)](_0x19e5f8)),this[_0x21912a(0x388)]=[];}['_applyRemoteChangeset'](_0xc8c4be){var _0x73317a=_0x3c6410;const _0x28922e=this[_0x73317a(0x17b)][_0x73317a(0x2e6)][_0x73317a(0x2c1)](this[_0x73317a(0x17b)][_0x73317a(0x2e6)][_0x73317a(0x2d5)]()[_0x73317a(0x2d6)])(_0xc8c4be[_0x73317a(0x1f0)],null)||_0xc8c4be['mutations'],_0x58d9fc={..._0xc8c4be,'mutations':_0x28922e};this[_0x73317a(0x399)](),this[_0x73317a(0x42f)](this[_0x73317a(0x397)]['onRemoteChangeset'](_0x58d9fc)),this[_0x73317a(0x2c3)]();}[_0x3c6410(0x22c)](_0x47b310){var _0x24ee28=_0x3c6410;this[_0x24ee28(0x399)](),this[_0x24ee28(0x42f)](this[_0x24ee28(0x397)]['onRemoteAck'](_0x47b310)),this[_0x24ee28(0x2c3)]();}[_0x3c6410(0x249)](_0x4c971a){var _0x4e67b1=_0x3c6410;this[_0x4e67b1(0x399)](),this[_0x4e67b1(0x42f)](this[_0x4e67b1(0x397)]['onRemoteRej'](_0x4c971a)),this[_0x4e67b1(0x2c3)]();}[_0x3c6410(0x1d0)](_0x2e92f4){var _0x5d0f29=_0x3c6410;this[_0x5d0f29(0x399)](),this['_updateState'](this[_0x5d0f29(0x397)][_0x5d0f29(0x2f0)](_0x2e92f4)),this[_0x5d0f29(0x2c3)]();}['_onFetchMissResult'](_0x4d12db){var _0x5918b2=_0x3c6410;if(!(this[_0x5918b2(0x397)]instanceof exports[_0x5918b2(0x2d2)]))throw new TypeError(_0x5918b2(0x307));const _0x408080=_0x4d12db[_0x5918b2(0x123)](_0x1224a9=>{var _0x178752=_0x5918b2;const _0x51215f=this[_0x178752(0x17b)]['interceptor'][_0x178752(0x2c1)](this['_compressMutationService'][_0x178752(0x2e6)][_0x178752(0x2d5)]()[_0x178752(0x2d6)])(_0x1224a9[_0x178752(0x1f0)],null)||_0x1224a9['mutations'];return{..._0x1224a9,'mutations':_0x51215f};});this[_0x5918b2(0x399)](),this[_0x5918b2(0x42f)](this[_0x5918b2(0x397)][_0x5918b2(0x12f)](_0x408080)),this[_0x5918b2(0x2c3)]();}[_0x3c6410(0x2c5)](){var _0x1d375d=_0x3c6410;this[_0x1d375d(0x399)](),this[_0x1d375d(0x42f)](this['_state'][_0x1d375d(0x406)]()),this[_0x1d375d(0x2c3)]();}[_0x3c6410(0x137)](_0x27a704=!0x1){var _0x37269f=_0x3c6410;this['_lockTransition'](),this['_updateState'](this['_state'][_0x37269f(0x182)]()),this['_unlockTransition']();const _0x931cdf=this[_0x37269f(0x397)];_0x27a704&&_0x931cdf instanceof exports[_0x37269f(0x25a)]&&(this[_0x37269f(0x399)](),this[_0x37269f(0x42f)](_0x931cdf[_0x37269f(0x279)]()),this[_0x37269f(0x2c3)]());}async[_0x3c6410(0x2a2)](){return new Promise(_0x4a81e5=>{var _0x19cc75=_0x5a65;this['session']['sessionStatus$'][_0x19cc75(0x37b)]($[_0x19cc75(0x475)](0x1))[_0x19cc75(0x16f)](async _0x2c3197=>{var _0x74fc1a=_0x19cc75;_0x4a81e5(await this[_0x74fc1a(0x32d)](_0x2c3197===re[_0x74fc1a(0x181)]));});});}[_0x3c6410(0x231)](){var _0x38ecd5=_0x3c6410;const _0x105c70=this[_0x38ecd5(0x45e)];return{'onStateChange':(_0x3ba5bd,_0x405cc0)=>{var _0x3d6cd4=_0x38ecd5;if(_0x3ba5bd!==this[_0x3d6cd4(0x397)])throw new Error(_0x3d6cd4(0x23d)+_0x3ba5bd[_0x3d6cd4(0x46c)]+_0x3d6cd4(0x3be)+_0x405cc0[_0x3d6cd4(0x46c)]+_0x3d6cd4(0x177)+this['_state'][_0x3d6cd4(0x46c)]);this[_0x3d6cd4(0x42f)](_0x405cc0);},'onSendChangeset':_0x5a08f2=>{var _0x250da1=_0x38ecd5;_0x5a08f2[_0x250da1(0x216)]||(_0x5a08f2[_0x250da1(0x216)]=this[_0x250da1(0x32a)],_0x5a08f2['reqId']=++this[_0x250da1(0x410)]);const _0x58d775={'eventID':I[_0x250da1(0x43f)][_0x250da1(0x305)],'data':{'unitID':_0x5a08f2[_0x250da1(0x45e)],'unitType':this[_0x250da1(0x40e)],'changeset':_0x5a08f2,'memberID':this['session']['getMemberID']()}};this[_0x250da1(0x3aa)]['send'](_0x58d775,this[_0x250da1(0x45e)]);},'onMissingChangesets':({from:_0x361997,to:_0x17b793})=>{var _0x20779f=_0x38ecd5;this[_0x20779f(0x315)][_0x20779f(0x127)](_0x20779f(0x3a4),'fetching\x20missing\x20changesets\x20from\x20'+_0x361997+_0x20779f(0x194)+_0x17b793);const _0x132f66={'eventID':I[_0x20779f(0x43f)]['FETCH_MISSING'],'data':{'unitID':_0x105c70,'unitType':this[_0x20779f(0x40e)],'from':_0x361997,'to':_0x17b793}};this[_0x20779f(0x3aa)]['send'](_0x132f66,this['unitID']);}};}async['_createInitialStateImpl'](_0x349158){var _0x266736=_0x3c6410,_0x150079,_0x272915,_0x19d366;const _0x5cc172=await((_0x150079=this[_0x266736(0x159)])==null?void 0x0:_0x150079[_0x266736(0x3fc)](this[_0x266736(0x45e)])),_0x111627=(_0x272915=_0x5cc172==null?void 0x0:_0x5cc172[_0x266736(0x1f0)])!=null?_0x272915:[],_0x2fa72b=(_0x19d366=_0x5cc172==null?void 0x0:_0x5cc172[_0x266736(0x3b1)])!=null?_0x19d366:null,_0x207d14=!!(_0x2fa72b!=null&&_0x2fa72b[_0x266736(0x216)])&&!!(_0x2fa72b!=null&&_0x2fa72b['reqId']);this[_0x266736(0x32a)]=_0x207d14?_0x2fa72b[_0x266736(0x216)]:I[_0x266736(0x2df)](),this[_0x266736(0x410)]=_0x207d14?_0x2fa72b[_0x266736(0x412)]:0x0;const _0x2d9050=this[_0x266736(0x45e)];try{this[_0x266736(0x13e)](_0x2fa72b,_0x111627);}catch(_0x116291){this[_0x266736(0x315)][_0x266736(0x233)](_0x116291);}const _0x5b940f=this[_0x266736(0x231)]();if(_0x349158){const _0x4315ec=Ot(this[_0x266736(0x3ef)],_0x2d9050,this[_0x266736(0x40e)],_0x2fa72b,_0x111627,_0x5b940f);return _0x4315ec instanceof exports['PendingState']?_0x4315ec[_0x266736(0x34d)]():(_0x4315ec instanceof exports[_0x266736(0x476)]||_0x4315ec instanceof exports['AwaitingState'])&&_0x4315ec['resend'](),_0x4315ec;}return this[_0x266736(0x3ef)]['createInstance'](exports[_0x266736(0x1c2)],_0x2d9050,this[_0x266736(0x40e)],_0x2fa72b,_0x111627,_0x5b940f);}[_0x3c6410(0x13e)](_0x3510b2,_0x41fbfe){var _0x2acb4b=_0x3c6410,_0x4e4bcf,_0x3f6fb8;const _0x38f231=this['_compressMutationService'][_0x2acb4b(0x2e6)][_0x2acb4b(0x2c1)](this[_0x2acb4b(0x17b)]['interceptor'][_0x2acb4b(0x2d5)]()[_0x2acb4b(0x2d6)]);(_0x4e4bcf=_0x38f231((_0x3510b2==null?void 0x0:_0x3510b2[_0x2acb4b(0x1f0)])||[],null))==null||_0x4e4bcf[_0x2acb4b(0x10a)](_0x2227e6=>this[_0x2acb4b(0x28d)][_0x2acb4b(0x42b)](_0x2227e6['id'],_0x2227e6[_0x2acb4b(0x271)])),(_0x3f6fb8=_0x38f231(_0x41fbfe||[],null))==null||_0x3f6fb8[_0x2acb4b(0x10a)](_0x24f243=>this['_commandService']['executeCommand'](_0x24f243['id'],_0x24f243['params']));}},exports[_0x3c6410(0x453)]=Fe([j(0x3,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),j(0x4,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x386)])),j(0x5,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x483)])),j(0x6,a['Inject'](I['RevisionService'])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x3c6410(0x337)]),j(0x9,a[_0x3c6410(0x44d)]),j(0xa,a[_0x3c6410(0x357)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x3c6410(0x220)](q))],exports[_0x3c6410(0x453)]),exports[_0x3c6410(0x37a)]=class extends exports[_0x3c6410(0x453)]{constructor(_0x3494bc,_0x53ee7e,_0x1e25c9,_0x17ff36,_0x536b3a,_0x141d0e,_0xca7fe9,_0x598853,_0x3a3ea4,_0x1cbe37,_0x47c258,_0x3bd865,_0x3609b3){super(_0x3494bc,_0x1e25c9,_0x53ee7e,_0x17ff36,_0x536b3a,_0x141d0e,_0xca7fe9,_0x598853,_0x3a3ea4,_0x1cbe37,_0x47c258,_0x3bd865,_0x3609b3),A(this,'_handlerCallback',null),(this['unitID']=_0x3494bc,this['type']=_0x53ee7e);}[_0x3c6410(0x466)](_0x2eb9ce){var _0x359687=_0x3c6410;this[_0x359687(0x30e)]=_0x2eb9ce;}['dispose'](){var _0x44a059=_0x3c6410;this[_0x44a059(0x30e)]=null,super[_0x44a059(0x2f8)]();}[_0x3c6410(0x231)](){var _0xcc516b=_0x3c6410;const _0x5a4efc=super[_0xcc516b(0x231)]();return _0x5a4efc['onTransformIME']=_0x416ca5=>{var _0x2ef5bd=_0xcc516b,_0x102110,_0x55ea96;return(_0x55ea96=(_0x102110=this['_handlerCallback'])==null?void 0x0:_0x102110[_0x2ef5bd(0x110)])==null?void 0x0:_0x55ea96[_0x2ef5bd(0x3db)](_0x102110,_0x416ca5);},_0x5a4efc[_0xcc516b(0x43d)]=_0x5fa7df=>{var _0x59b412=_0xcc516b,_0x94388e,_0x5b51f6;return(_0x5b51f6=(_0x94388e=this[_0x59b412(0x30e)])==null?void 0x0:_0x94388e[_0x59b412(0x43d)])==null?void 0x0:_0x5b51f6['call'](_0x94388e,_0x5fa7df);},_0x5a4efc[_0xcc516b(0x278)]=_0x2356ec=>{var _0x54922f=_0xcc516b,_0x338c82,_0x4b5923;return(_0x4b5923=(_0x338c82=this['_handlerCallback'])==null?void 0x0:_0x338c82[_0x54922f(0x278)])==null?void 0x0:_0x4b5923[_0x54922f(0x3db)](_0x338c82,_0x2356ec);},_0x5a4efc[_0xcc516b(0x348)]=_0x38d284=>{var _0x58c19c=_0xcc516b,_0x4f9361,_0x3799f2;return(_0x3799f2=(_0x4f9361=this['_handlerCallback'])==null?void 0x0:_0x4f9361[_0x58c19c(0x348)])==null?void 0x0:_0x3799f2[_0x58c19c(0x3db)](_0x4f9361,_0x38d284);},_0x5a4efc[_0xcc516b(0x35c)]=_0x17c2a8=>{var _0x34fdb8=_0xcc516b,_0x1b9afb,_0x47fa68,_0x2bb95c;if(!((_0x1b9afb=this['_handlerCallback'])!=null&&_0x1b9afb['onTransformRemoteChangesetByIMECache']))throw new Error(_0x34fdb8(0x111));return(_0x2bb95c=(_0x47fa68=this[_0x34fdb8(0x30e)])==null?void 0x0:_0x47fa68[_0x34fdb8(0x35c)])==null?void 0x0:_0x2bb95c[_0x34fdb8(0x3db)](_0x47fa68,_0x17c2a8);},_0x5a4efc[_0xcc516b(0x288)]=_0x12ef9e=>{var _0x4466cd=_0xcc516b,_0x10d685,_0x39b762,_0x5a438a;if(!((_0x10d685=this[_0x4466cd(0x30e)])!=null&&_0x10d685[_0x4466cd(0x288)]))throw new Error(_0x4466cd(0x28c));return(_0x5a438a=(_0x39b762=this['_handlerCallback'])==null?void 0x0:_0x39b762['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5a438a['call'](_0x39b762,_0x12ef9e);},_0x5a4efc;}async['_init'](){var _0x761c45=_0x3c6410;const _0x4f6a65=await super[_0x761c45(0x327)]();return this[_0x761c45(0x285)](this[_0x761c45(0x28d)][_0x761c45(0x1cc)]((_0x2201d1,_0x4bb119)=>{var _0xa5b32f=_0x761c45;if(_0x2201d1[_0xa5b32f(0x2fd)]!==a[_0xa5b32f(0x44a)]['MUTATION']||_0x4bb119!=null&&_0x4bb119[_0xa5b32f(0x3a8)]||_0x4bb119!=null&&_0x4bb119[_0xa5b32f(0x3a9)]||_0x2201d1['id']===ht[_0xa5b32f(0x36f)]['id'])return;const _0x4ba7e5=_0x2201d1[_0xa5b32f(0x271)];if((_0x4ba7e5==null?void 0x0:_0x4ba7e5[_0xa5b32f(0x1dc)])!==this[_0xa5b32f(0x45e)])return;const _0x2244fe=_0x2201d1,_0x3b3085=this[_0xa5b32f(0x17b)][_0xa5b32f(0x2e6)][_0xa5b32f(0x2c1)](this[_0xa5b32f(0x17b)][_0xa5b32f(0x2e6)][_0xa5b32f(0x2d5)]()['COMPRESS_MUTATION_SEND'])([_0x2244fe],null)||[_0x2244fe];this['_onLocalMutation'](_0x3b3085[0x0]);})),_0x4f6a65;}},exports[_0x3c6410(0x37a)]=Fe([j(0x3,a['Inject'](a[_0x3c6410(0x3a5)])),j(0x4,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x386)])),j(0x5,a[_0x3c6410(0x1f3)](a['LocaleService'])),j(0x6,a[_0x3c6410(0x1f3)](I['RevisionService'])),j(0x7,a[_0x3c6410(0x1f3)](ee)),j(0x8,a[_0x3c6410(0x337)]),j(0x9,a[_0x3c6410(0x44d)]),j(0xa,a[_0x3c6410(0x357)]),j(0xb,a[_0x3c6410(0x220)](de)),j(0xc,a[_0x3c6410(0x220)](q))],exports[_0x3c6410(0x37a)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x23e1d7,_0x57a741,_0x553297,_0x24b2ec,_0x107ba7,_0x1683f1,_0xa02b80,_0x50dac9,_0x341795,_0x2ee0e2,_0x4dfd8f,_0x53fb1c,_0x266b4c,_0x255495){var _0x5f3ac0=_0x3c6410;super(_0x23e1d7,_0x553297,_0x57a741,_0x24b2ec,_0x107ba7,_0x1683f1,_0xa02b80,_0x341795,_0x2ee0e2,_0x4dfd8f,_0x53fb1c,_0x266b4c,_0x255495),this[_0x5f3ac0(0x45e)]=_0x23e1d7,this[_0x5f3ac0(0x2fd)]=_0x57a741,this[_0x5f3ac0(0x15c)]=_0x50dac9;}['_createHandler'](){var _0x2af488=_0x3c6410;const _0x10056b=super[_0x2af488(0x231)]();return _0x10056b[_0x2af488(0x278)]=_0xd2edb0=>this[_0x2af488(0x15c)][_0x2af488(0x1b1)](_0xd2edb0),_0x10056b;}async[_0x3c6410(0x327)](){var _0x4948c4=_0x3c6410;const _0x43149a=await super[_0x4948c4(0x327)]();return this[_0x4948c4(0x285)](this[_0x4948c4(0x28d)]['onCommandExecuted']((_0x5ca755,_0x3c4855)=>{var _0x5f4d8c=_0x4948c4;if(_0x5ca755[_0x5f4d8c(0x2fd)]!==a[_0x5f4d8c(0x44a)][_0x5f4d8c(0x24b)]||_0x3c4855!=null&&_0x3c4855[_0x5f4d8c(0x3a8)]||_0x3c4855!=null&&_0x3c4855['onlyLocal'])return;const _0x30ed0d=_0x5ca755[_0x5f4d8c(0x271)];if((_0x30ed0d==null?void 0x0:_0x30ed0d[_0x5f4d8c(0x1dc)])!==this[_0x5f4d8c(0x45e)])return;const _0x4d5947=_0x5ca755,_0x340090=this[_0x5f4d8c(0x17b)][_0x5f4d8c(0x2e6)][_0x5f4d8c(0x2c1)](this[_0x5f4d8c(0x17b)][_0x5f4d8c(0x2e6)][_0x5f4d8c(0x2d5)]()['COMPRESS_MUTATION_SEND'])([_0x4d5947],null)||[_0x4d5947];this[_0x5f4d8c(0x258)](_0x340090[0x0]);})),_0x43149a;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),j(0x4,a['Inject'](I[_0x3c6410(0x386)])),j(0x5,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x483)])),j(0x6,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x251)])),j(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x3c6410(0x337)]),j(0xa,a[_0x3c6410(0x44d)]),j(0xb,a[_0x3c6410(0x357)]),j(0xc,a[_0x3c6410(0x220)](de)),j(0xd,a[_0x3c6410(0x220)](q))],exports[_0x3c6410(0x27e)]);var Si=Object[_0x3c6410(0x235)],fi=(_0x5378f9,_0x556cc9,_0x5027af,_0x5f102c)=>{var _0x1a86f9=_0x3c6410;for(var _0x1913f0=_0x5f102c>0x1?void 0x0:_0x5f102c?Si(_0x556cc9,_0x5027af):_0x556cc9,_0x22c0f5=_0x5378f9[_0x1a86f9(0x44f)]-0x1,_0x577873;_0x22c0f5>=0x0;_0x22c0f5--)(_0x577873=_0x5378f9[_0x22c0f5])&&(_0x1913f0=_0x577873(_0x1913f0)||_0x1913f0);return _0x1913f0;},Se=(_0x2f5805,_0x4dd8dc)=>(_0x3bf3f8,_0x1a2be8)=>_0x4dd8dc(_0x3bf3f8,_0x1a2be8,_0x2f5805);exports[_0x3c6410(0x1cb)]=class extends a[_0x3c6410(0x23a)]{constructor(_0x1b3d5b,_0x177593,_0x522dd6,_0x3802d8){var _0x59f8a6=_0x3c6410,_0x482969;super(),A(this,_0x59f8a6(0x422),new Map()),A(this,_0x59f8a6(0x20a),new $[(_0x59f8a6(0x1cd))]()),A(this,_0x59f8a6(0x18b),this[_0x59f8a6(0x20a)][_0x59f8a6(0x1f9)]()),(this[_0x59f8a6(0x3ef)]=_0x1b3d5b,this[_0x59f8a6(0x2f4)]=_0x177593,this['_configService']=_0x522dd6,this[_0x59f8a6(0x24e)]=_0x3802d8,((_0x482969=this['_configService'][_0x59f8a6(0x2b7)](K))==null?void 0x0:_0x482969['enableCollaboration'])!==!0x1&&this[_0x59f8a6(0x327)]());}[_0x3c6410(0x2f8)](){var _0x2501f8=_0x3c6410;super['dispose'](),this[_0x2501f8(0x422)]['forEach'](_0x22e148=>_0x22e148['dispose']()),this[_0x2501f8(0x422)][_0x2501f8(0x25d)]();}[_0x3c6410(0x2a9)](_0x8722fa){var _0x36cabe=_0x3c6410,_0x5fe821;return(_0x5fe821=this[_0x36cabe(0x422)][_0x36cabe(0x448)](_0x8722fa))!=null?_0x5fe821:null;}[_0x3c6410(0x106)](_0x32f9cb){var _0x45ce92=_0x3c6410;const _0x55f886=this[_0x45ce92(0x2a9)](_0x32f9cb);return _0x55f886?$['of'](_0x55f886):this[_0x45ce92(0x20a)][_0x45ce92(0x37b)](V[_0x45ce92(0x1ea)](_0x3c2140=>_0x3c2140[_0x45ce92(0x45e)]===_0x32f9cb));}[_0x3c6410(0x1d7)](_0xa95967){var _0x502163=_0x3c6410;return $[_0x502163(0x146)](this['getCollabEntity$'](_0xa95967)['pipe'](V[_0x502163(0x123)](()=>{})));}[_0x3c6410(0x327)](){var _0x2d8d0f=_0x3c6410;this[_0x2d8d0f(0x24e)][_0x2d8d0f(0x23c)](a[_0x2d8d0f(0x464)]['UNIVER_SHEET'])[_0x2d8d0f(0x37b)]($[_0x2d8d0f(0x23e)](this['dispose$']),V[_0x2d8d0f(0x260)](0x10))[_0x2d8d0f(0x16f)](async _0x12483e=>{var _0xdeb9f6=_0x2d8d0f;const _0x3ee6b1=_0x12483e[_0xdeb9f6(0x322)](),_0xb42243=await this[_0xdeb9f6(0x11c)](_0x3ee6b1,J['UNIVER_SHEET']);this[_0xdeb9f6(0x422)][_0xdeb9f6(0x1ee)](_0x3ee6b1,_0xb42243);}),this[_0x2d8d0f(0x24e)][_0x2d8d0f(0x23c)](a[_0x2d8d0f(0x464)][_0x2d8d0f(0x2ac)])[_0x2d8d0f(0x37b)]($[_0x2d8d0f(0x23e)](this['dispose$']),V['delay'](0x10))['pipe'](V[_0x2d8d0f(0x1ea)](_0x3beeae=>!_0x3beeae[_0x2d8d0f(0x322)]()[_0x2d8d0f(0x469)]('__')))[_0x2d8d0f(0x16f)](async _0x46ac6d=>{var _0x4abbea=_0x2d8d0f;const _0x184985=_0x46ac6d['getUnitId'](),_0x5190f5=await this[_0x4abbea(0x11c)](_0x184985,J[_0x4abbea(0x2ac)]);this[_0x4abbea(0x422)]['set'](_0x184985,_0x5190f5);}),$[_0x2d8d0f(0x1ab)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x2d8d0f(0x464)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x2d8d0f(0x352)](a['UniverInstanceType'][_0x2d8d0f(0x2ac)]))['pipe']($[_0x2d8d0f(0x23e)](this[_0x2d8d0f(0x37f)]))[_0x2d8d0f(0x16f)](_0x4117b4=>{var _0x4b3f68=_0x2d8d0f;const _0x168622=_0x4117b4[_0x4b3f68(0x322)](),_0x4e8637=this[_0x4b3f68(0x422)][_0x4b3f68(0x448)](_0x168622);_0x4e8637&&(_0x4e8637[_0x4b3f68(0x2f8)](),this[_0x4b3f68(0x422)][_0x4b3f68(0x485)](_0x168622));});}async[_0x3c6410(0x11c)](_0x5d38f9,_0x3022f1){var _0x1daf9d=_0x3c6410;const _0x55a14e=await this[_0x1daf9d(0x2f4)][_0x1daf9d(0x2e1)](_0x5d38f9),_0x2ebb89=this[_0x1daf9d(0x3ef)]['createInstance'](this[_0x1daf9d(0x1d1)](_0x3022f1),_0x5d38f9,_0x3022f1,_0x55a14e);return await _0x2ebb89[_0x1daf9d(0x227)](),this['_entityInit$'][_0x1daf9d(0x33d)](_0x2ebb89),_0x2ebb89;}[_0x3c6410(0x1d1)](_0x1cbd69){var _0x4dba39=_0x3c6410;switch(_0x1cbd69){case J[_0x4dba39(0x2ac)]:return exports[_0x4dba39(0x37a)];case J['UNIVER_SHEET']:return exports[_0x4dba39(0x27e)];default:throw new Error(_0x4dba39(0x188)+_0x1cbd69);}}},exports[_0x3c6410(0x1cb)]=fi([Se(0x0,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),Se(0x1,a[_0x3c6410(0x1f3)](exports[_0x3c6410(0x17e)])),Se(0x2,a[_0x3c6410(0x2dd)]),Se(0x3,a[_0x3c6410(0x150)])],exports[_0x3c6410(0x1cb)]);var pi=Object[_0x3c6410(0x235)],Ii=(_0x184337,_0x36bf69,_0x33f9b7,_0xe88165)=>{var _0x4693a7=_0x3c6410;for(var _0x268bfd=_0xe88165>0x1?void 0x0:_0xe88165?pi(_0x36bf69,_0x33f9b7):_0x36bf69,_0x4f244a=_0x184337[_0x4693a7(0x44f)]-0x1,_0x3fe930;_0x4f244a>=0x0;_0x4f244a--)(_0x3fe930=_0x184337[_0x4f244a])&&(_0x268bfd=_0x3fe930(_0x268bfd)||_0x268bfd);return _0x268bfd;},Ye=(_0x345cdc,_0xa817be)=>(_0x3212fc,_0x17f0a2)=>_0xa817be(_0x3212fc,_0x17f0a2,_0x345cdc);const gi=_0x3c6410(0x47c),Ei=_0x3c6410(0x263);let xe=class extends a[_0x3c6410(0x240)]{constructor(_0x2a4ed2,_0x22b82b){var _0x3a3151=_0x3c6410;super(),this[_0x3a3151(0x24e)]=_0x2a4ed2,this[_0x3a3151(0x2de)]=_0x22b82b,this[_0x3a3151(0x327)]();}[_0x3c6410(0x327)](){var _0x526538=_0x3c6410;this[_0x526538(0x285)](this[_0x526538(0x24e)][_0x526538(0x161)]['subscribe'](()=>{var _0x14f815=_0x526538,_0x1afa39;const _0x276140=this[_0x14f815(0x24e)]['getFocusedUnit']();let _0x535b37=(_0x1afa39=this[_0x14f815(0x2de)][_0x14f815(0x2b7)](gi))!=null?_0x1afa39:Ei;_0x276140 instanceof a[_0x14f815(0x1d3)]&&(_0x535b37=_0x276140[_0x14f815(0x12b)]),document[_0x14f815(0x1e4)]=_0x535b37;}));}};xe=Ii([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x3c6410(0x2dd)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x5e24da,_0x3047ee,_0x4b9306,_0x2d85b3)=>{for(var _0x319b7a=_0x2d85b3>0x1?void 0x0:_0x2d85b3?mi(_0x3047ee,_0x4b9306):_0x3047ee,_0x50b46e=_0x5e24da['length']-0x1,_0x228c20;_0x50b46e>=0x0;_0x50b46e--)(_0x228c20=_0x5e24da[_0x50b46e])&&(_0x319b7a=_0x228c20(_0x319b7a)||_0x319b7a);return _0x319b7a;},Ae=(_0x4d44d0,_0x1b6711)=>(_0x300ba0,_0x5e0158)=>_0x1b6711(_0x300ba0,_0x5e0158,_0x4d44d0);let ye=class{constructor(_0x301718,_0x504b16,_0x44223a){var _0xf83096=_0x3c6410;this[_0xf83096(0x2de)]=_0x301718,this[_0xf83096(0x31e)]=_0x504b16,this[_0xf83096(0x207)]=_0x44223a,this[_0xf83096(0x227)]();}[_0x3c6410(0x227)](){var _0x851481=_0x3c6410;this['_httpService'][_0x851481(0x40d)]({'priority':0x1,'interceptor':(_0x4c26d6,_0x440ce8)=>_0x440ce8(_0x4c26d6)[_0x851481(0x37b)]($['concatMap'](async _0x4a1185=>{var _0x522a7f=_0x851481;const _0x229506=_0x4a1185;if(_0x229506[_0x522a7f(0x46c)]===0x191){if(typeof window>'u')throw new Error(_0x522a7f(0x3f9));if(window[_0x522a7f(0x205)](this[_0x522a7f(0x207)]['t']('auth.needGotoLoginAlert'))){const _0x328cb4=window[_0x522a7f(0x1ef)](window[_0x522a7f(0x390)][_0x522a7f(0x409)]);window[_0x522a7f(0x390)][_0x522a7f(0x409)]=this[_0x522a7f(0x3cf)]()+_0x522a7f(0x3d1)+_0x328cb4;}}return _0x229506;}))});}[_0x3c6410(0x3cf)](){var _0x2b1584=_0x3c6410,_0x280ed5,_0x22f352;const _0x319a52=this[_0x2b1584(0x2de)][_0x2b1584(0x2b7)](It),_0x300527=this[_0x2b1584(0x2de)][_0x2b1584(0x2b7)](K);return(_0x22f352=(_0x280ed5=_0x300527==null?void 0x0:_0x300527[_0x2b1584(0x3e2)])!=null?_0x280ed5:_0x319a52)!=null?_0x22f352:Wt;}};ye=Ci([Ae(0x0,a[_0x3c6410(0x2dd)]),Ae(0x1,a['Inject'](Y[_0x3c6410(0x2fa)])),Ae(0x2,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x483)]))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xd763f3,_0x3aba57,_0xb1f09c,_0x2be7ed)=>{var _0x2e849c=_0x3c6410;for(var _0x19d0d9=_0x2be7ed>0x1?void 0x0:_0x2be7ed?Ti(_0x3aba57,_0xb1f09c):_0x3aba57,_0x37318a=_0xd763f3[_0x2e849c(0x44f)]-0x1,_0x46ecc9;_0x37318a>=0x0;_0x37318a--)(_0x46ecc9=_0xd763f3[_0x37318a])&&(_0x19d0d9=_0x46ecc9(_0x19d0d9)||_0x19d0d9);return _0x19d0d9;},qe=(_0x8b879c,_0x4acd4b)=>(_0x282675,_0x3e1401)=>_0x4acd4b(_0x282675,_0x3e1401,_0x8b879c);const Ve=_0x3c6410(0x2e8),Ri=_0x3c6410(0x101);exports[_0x3c6410(0x37d)]=class extends a[_0x3c6410(0x240)]{constructor(_0x593439,_0x222091){var _0x1bb5f8=_0x3c6410;super(),this[_0x1bb5f8(0x358)]=_0x593439,this[_0x1bb5f8(0x2de)]=_0x222091,this[_0x1bb5f8(0x3eb)]();}['_initMergeInterceptor'](){var _0x2cb2e9=_0x3c6410;const _0x3b4e80=this;this[_0x2cb2e9(0x285)](this['_HTTPService'][_0x2cb2e9(0x40d)]({'priority':0x3e7,'interceptor':Y['MergeInterceptorFactory']({'isMatch'(_0x4f5b99){var _0x22b802=_0x2cb2e9,_0x2b2aef;if(_0x4f5b99['method']===_0x22b802(0x38e)&&((_0x2b2aef=_0x4f5b99[_0x22b802(0x280)])!=null&&_0x2b2aef[_0x22b802(0x1c7)])){const {objectID:_0x42c9b8,objectType:_0x5a07ca}=_0x4f5b99[_0x22b802(0x280)][_0x22b802(0x1c7)]||{};if(!_0x42c9b8||_0x5a07ca===void 0x0)return!0x1;const _0x2769ca=_0x3b4e80[_0x22b802(0x100)]()+'/'+_0x5a07ca+_0x22b802(0x459)+_0x42c9b8+_0x22b802(0x3a6);if(_0x4f5b99[_0x22b802(0x1ff)]===_0x2769ca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16c5f4){var _0x1abe86=_0x2cb2e9,_0x29ce5a;return(_0x29ce5a=_0x16c5f4[_0x1abe86(0x280)])==null?void 0x0:_0x29ce5a[_0x1abe86(0x1c7)];},'mergeParamsToRequest'(_0x399632,_0x237c2d){var _0x551111=_0x2cb2e9;const _0x278947=_0x3b4e80['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x14e5d7=_0x399632['reduce']((_0xeb6961,_0xed4ce3)=>{var _0x1e5e5b=_0x5a65;const {unitID:_0x249b34,objectID:_0x261bb6,objectType:_0x3bb1cb,actions:_0x1c1f70}=_0xed4ce3;return _0xeb6961[_0x249b34]||(_0xeb6961[_0x249b34]={}),_0xeb6961[_0x249b34][_0x261bb6]||(_0xeb6961[_0x249b34][_0x261bb6]={'objectID':_0x261bb6,'objectType':_0x3bb1cb,'actions':[]}),_0xeb6961[_0x249b34][_0x261bb6][_0x1e5e5b(0x287)][_0x1e5e5b(0x3c9)](..._0x1c1f70),_0xeb6961;},{}),_0x54986c=[];for(const _0xee056 in _0x14e5d7)for(const _0x889a91 in _0x14e5d7[_0xee056]){const {actions:_0x7ce4c8,objectType:_0x5aeb97}=_0x14e5d7[_0xee056][_0x889a91],_0x5ca975=[...new Set(_0x7ce4c8)];_0x54986c[_0x551111(0x3c9)]({'unitID':_0xee056,'objectID':_0x889a91,'objectType':_0x5aeb97,'actions':_0x5ca975});}return new Y[(_0x551111(0x35f))](_0x551111(0x38e),_0x278947,{'headers':_0x237c2d[_0x551111(0x143)],'withCredentials':_0x237c2d[_0x551111(0x158)],'responseType':_0x237c2d['responseType'],'body':{'requests':_0x54986c}});}},{'distributeResult'(_0x4a332b,_0x57dc83){var _0x580e64=_0x2cb2e9;const {objectActions:_0x1431df}=_0x4a332b;return _0x57dc83[_0x580e64(0x123)](_0x4f59c0=>{var _0x34ab51=_0x580e64;const {unitID:_0x2e8d03,objectID:_0x869e58,actions:_0x1e019a}=_0x4f59c0,_0x1103dd=_0x1431df[_0x34ab51(0x172)](_0x1565e9=>_0x1565e9[_0x34ab51(0x45e)]===_0x2e8d03&&_0x1565e9[_0x34ab51(0x14e)]===_0x869e58),_0x127741=_0x1e019a[_0x34ab51(0x123)](_0x41242c=>_0x1103dd==null?void 0x0:_0x1103dd[_0x34ab51(0x287)]['find'](_0x38e0e3=>_0x38e0e3[_0x34ab51(0x1a6)]===_0x41242c))[_0x34ab51(0x1ea)](_0x57384a=>!!_0x57384a);return{'config':_0x4f59c0,'result':{'actions':_0x127741,'error':_0x4a332b['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x4a105b=_0x3c6410,_0x189d6c,_0x4bb8ca;const _0x30e116=this[_0x4a105b(0x2de)][_0x4a105b(0x2b7)](Ve),_0x289677=this[_0x4a105b(0x2de)][_0x4a105b(0x2b7)](K);return(_0x4bb8ca=(_0x189d6c=_0x289677==null?void 0x0:_0x289677['authzUrl'])!=null?_0x189d6c:_0x30e116)!=null?_0x4bb8ca:Ri;}async[_0x3c6410(0x21c)](_0x2db02d){var _0x35304f=_0x3c6410;const _0x40b89d=this[_0x35304f(0x100)]()+'/'+_0x2db02d[_0x35304f(0x417)]+_0x35304f(0x2e5);return(await this[_0x35304f(0x358)][_0x35304f(0x2e0)](_0x40b89d,{'body':_0x2db02d}))['body'][_0x35304f(0x14e)]||'';}async[_0x3c6410(0x39f)](_0xbe652f){var _0x303146=_0x3c6410;const _0x580614=this[_0x303146(0x100)]()+_0x303146(0x15b);return(await this[_0x303146(0x358)][_0x303146(0x2e0)](_0x580614,{'body':_0xbe652f}))[_0x303146(0x1c7)][_0x303146(0x272)];}async[_0x3c6410(0x25f)](_0x51daa9){var _0x491de4=_0x3c6410,_0x487eda,_0x44a8fc;const _0xfe9e20=this[_0x491de4(0x100)]()+'/'+_0x51daa9[_0x491de4(0x417)]+_0x491de4(0x459)+_0x51daa9[_0x491de4(0x14e)],_0x41c68=await this['_HTTPService']['put'](_0xfe9e20,{'body':_0x51daa9});if(((_0x44a8fc=(_0x487eda=_0x41c68==null?void 0x0:_0x41c68['body'])==null?void 0x0:_0x487eda[_0x491de4(0x233)])==null?void 0x0:_0x44a8fc[_0x491de4(0x1f6)])!==0x1)throw new Error(_0x491de4(0x168));}async[_0x3c6410(0x18f)](_0x19f865){var _0x5167fa=_0x3c6410;const _0x1f20f6=this[_0x5167fa(0x100)]()+'/'+_0x19f865['objectType']+'/object/'+_0x19f865[_0x5167fa(0x14e)]+'/allowed';return(await this[_0x5167fa(0x358)][_0x5167fa(0x2e0)](_0x1f20f6,{'body':_0x19f865}))['body'][_0x5167fa(0x287)];}async[_0x3c6410(0x25c)](_0x5eea99){var _0x45ad09=_0x3c6410;const _0x4b3eb7=this[_0x45ad09(0x100)]()+_0x45ad09(0x398);return(await this[_0x45ad09(0x358)][_0x45ad09(0x2e0)](_0x4b3eb7,{'body':{'requests':_0x5eea99}}))[_0x45ad09(0x1c7)]['objectActions'];}async['listRoles'](_0x5cdf31){var _0x2df722=_0x3c6410;const _0x5dd76d=this[_0x2df722(0x100)]()+'/'+_0x5cdf31[_0x2df722(0x417)]+'/role',_0x5a134f=await this[_0x2df722(0x358)][_0x2df722(0x2e0)](_0x5dd76d,{'body':_0x5cdf31});return{'roles':_0x5a134f[_0x2df722(0x1c7)]['roles'],'actions':_0x5a134f['body'][_0x2df722(0x287)]};}async[_0x3c6410(0x27f)](_0x1f18ea){var _0x2988c5=_0x3c6410;const _0x49852f=this[_0x2988c5(0x100)]()+_0x2988c5(0x29d);await this[_0x2988c5(0x358)][_0x2988c5(0x485)](_0x49852f,{'params':{'collaboratorID':_0x1f18ea[_0x2988c5(0x36d)],'objectID':_0x1f18ea[_0x2988c5(0x14e)],'unitID':_0x1f18ea[_0x2988c5(0x45e)]}});}async[_0x3c6410(0x382)](_0x1a9f6d){var _0x5e8c6b=_0x3c6410;const _0x4cf93c=this[_0x5e8c6b(0x100)]()+'/collaborator';await this['_HTTPService'][_0x5e8c6b(0x3a3)](_0x4cf93c,{'body':_0x1a9f6d});}async['createCollaborator'](_0x1332f3){var _0x1a7745=_0x3c6410;const _0xab2a97=this[_0x1a7745(0x100)]()+'/collaborator';await this[_0x1a7745(0x358)]['post'](_0xab2a97,{'body':_0x1332f3});}async[_0x3c6410(0x201)](_0x3e02af){var _0x3ffb2e=_0x3c6410;const _0x274b9d=this[_0x3ffb2e(0x100)]()+_0x3ffb2e(0x29d);return(await this[_0x3ffb2e(0x358)][_0x3ffb2e(0x448)](_0x274b9d,{'params':{'objectID':_0x3e02af[_0x3ffb2e(0x14e)],'unitID':_0x3e02af['unitID']}}))[_0x3ffb2e(0x1c7)]['collaborators'];}async[_0x3c6410(0x153)](_0x1e0f48){var _0x522a01=_0x3c6410;const _0x242497=this[_0x522a01(0x100)]()+_0x522a01(0x29d);await this[_0x522a01(0x358)]['put'](_0x242497,{'body':_0x1e0f48});}},exports[_0x3c6410(0x37d)]=bi([qe(0x0,a[_0x3c6410(0x1f3)](Y[_0x3c6410(0x2fa)])),qe(0x1,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x2dd)]))],exports[_0x3c6410(0x37d)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x541464){var _0x5a414d=_0x3c6410;return _0x541464&&_0x541464[_0x5a414d(0x19f)]&&Object['prototype'][_0x5a414d(0x47b)][_0x5a414d(0x3db)](_0x541464,_0x5a414d(0x3fb))?_0x541464[_0x5a414d(0x3fb)]:_0x541464;}var fe={'exports':{}};function Oi(_0x776952){var _0x246faa=_0x3c6410;throw new Error(_0x246faa(0x39e)+_0x776952+_0x246faa(0x176));}var pe={'exports':{}},yi=pe[_0x3c6410(0x28a)],ze;function Q(){var _0x5b75cd=_0x3c6410;return ze||(ze=0x1,function(_0x1f8eb9,_0x3be0d5){(function(_0x58e8d4,_0x21f798){_0x1f8eb9['exports']=_0x21f798();}(yi,function(){var _0x4058ff=_0x4058ff||function(_0x5153f7,_0x54deb2){var _0x1169ae=_0x5a65,_0x524dc3;if(typeof window<'u'&&window[_0x1169ae(0x38d)]&&(_0x524dc3=window[_0x1169ae(0x38d)]),typeof self<'u'&&self['crypto']&&(_0x524dc3=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x524dc3=globalThis[_0x1169ae(0x38d)]),!_0x524dc3&&typeof window<'u'&&window[_0x1169ae(0x413)]&&(_0x524dc3=window[_0x1169ae(0x413)]),!_0x524dc3&&typeof Pe<'u'&&Pe[_0x1169ae(0x38d)]&&(_0x524dc3=Pe[_0x1169ae(0x38d)]),!_0x524dc3&&typeof Oi==_0x1169ae(0x3bb))try{_0x524dc3=require('crypto');}catch{}var _0x235ae3=function(){var _0x52404b=_0x1169ae;if(_0x524dc3){if(typeof _0x524dc3['getRandomValues']=='function')try{return _0x524dc3[_0x52404b(0x1b2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x524dc3[_0x52404b(0x3e5)]==_0x52404b(0x3bb))try{return _0x524dc3[_0x52404b(0x3e5)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xc0016e=Object[_0x1169ae(0x21c)]||(function(){function _0x2521ea(){}return function(_0x4389f0){var _0x55f657=_0x5a65,_0x150bdd;return _0x2521ea[_0x55f657(0x2cd)]=_0x4389f0,_0x150bdd=new _0x2521ea(),_0x2521ea[_0x55f657(0x2cd)]=null,_0x150bdd;};}()),_0x1c5918={},_0x32f673=_0x1c5918[_0x1169ae(0x3ac)]={},_0x2a0e9b=_0x32f673[_0x1169ae(0x197)]=(function(){return{'extend':function(_0x1db02a){var _0x373d8a=_0x5a65,_0x4b1770=_0xc0016e(this);return _0x1db02a&&_0x4b1770['mixIn'](_0x1db02a),(!_0x4b1770[_0x373d8a(0x47b)]('init')||this[_0x373d8a(0x227)]===_0x4b1770[_0x373d8a(0x227)])&&(_0x4b1770[_0x373d8a(0x227)]=function(){var _0x3d0a2f=_0x373d8a;_0x4b1770[_0x3d0a2f(0x217)][_0x3d0a2f(0x227)][_0x3d0a2f(0x173)](this,arguments);}),_0x4b1770[_0x373d8a(0x227)][_0x373d8a(0x2cd)]=_0x4b1770,_0x4b1770['$super']=this,_0x4b1770;},'create':function(){var _0x246742=_0x5a65,_0x3eec18=this[_0x246742(0x30a)]();return _0x3eec18[_0x246742(0x227)][_0x246742(0x173)](_0x3eec18,arguments),_0x3eec18;},'init':function(){},'mixIn':function(_0x541b2a){var _0x465225=_0x5a65;for(var _0x48dc00 in _0x541b2a)_0x541b2a[_0x465225(0x47b)](_0x48dc00)&&(this[_0x48dc00]=_0x541b2a[_0x48dc00]);_0x541b2a['hasOwnProperty'](_0x465225(0x384))&&(this['toString']=_0x541b2a[_0x465225(0x384)]);},'clone':function(){var _0x53b658=_0x5a65;return this[_0x53b658(0x227)]['prototype']['extend'](this);}};}()),_0x3f9d3a=_0x32f673[_0x1169ae(0x2b8)]=_0x2a0e9b['extend']({'init':function(_0x16771b,_0x4d32ae){var _0x4f92b6=_0x1169ae;_0x16771b=this['words']=_0x16771b||[],_0x4d32ae!=_0x54deb2?this[_0x4f92b6(0x256)]=_0x4d32ae:this[_0x4f92b6(0x256)]=_0x16771b['length']*0x4;},'toString':function(_0x14f129){var _0xf24b32=_0x1169ae;return(_0x14f129||_0x223a43)[_0xf24b32(0x244)](this);},'concat':function(_0x143247){var _0x36a566=_0x1169ae,_0x51a092=this[_0x36a566(0x20d)],_0x4a8508=_0x143247[_0x36a566(0x20d)],_0x29db2b=this[_0x36a566(0x256)],_0x36bd0d=_0x143247['sigBytes'];if(this[_0x36a566(0x212)](),_0x29db2b%0x4)for(var _0x14ab11=0x0;_0x14ab11<_0x36bd0d;_0x14ab11++){var _0x437e10=_0x4a8508[_0x14ab11>>>0x2]>>>0x18-_0x14ab11%0x4*0x8&0xff;_0x51a092[_0x29db2b+_0x14ab11>>>0x2]|=_0x437e10<<0x18-(_0x29db2b+_0x14ab11)%0x4*0x8;}else{for(var _0x52a980=0x0;_0x52a980<_0x36bd0d;_0x52a980+=0x4)_0x51a092[_0x29db2b+_0x52a980>>>0x2]=_0x4a8508[_0x52a980>>>0x2];}return this['sigBytes']+=_0x36bd0d,this;},'clamp':function(){var _0x3555b6=_0x1169ae,_0x283970=this[_0x3555b6(0x20d)],_0x288641=this[_0x3555b6(0x256)];_0x283970[_0x288641>>>0x2]&=0xffffffff<<0x20-_0x288641%0x4*0x8,_0x283970['length']=_0x5153f7[_0x3555b6(0x3c5)](_0x288641/0x4);},'clone':function(){var _0x342b89=_0x1169ae,_0x489e2b=_0x2a0e9b[_0x342b89(0x268)][_0x342b89(0x3db)](this);return _0x489e2b[_0x342b89(0x20d)]=this[_0x342b89(0x20d)][_0x342b89(0x310)](0x0),_0x489e2b;},'random':function(_0x1ba501){var _0x2a0c40=_0x1169ae;for(var _0x165428=[],_0x57704f=0x0;_0x57704f<_0x1ba501;_0x57704f+=0x4)_0x165428[_0x2a0c40(0x3c9)](_0x235ae3());return new _0x3f9d3a[(_0x2a0c40(0x227))](_0x165428,_0x1ba501);}}),_0x10ced3=_0x1c5918[_0x1169ae(0x246)]={},_0x223a43=_0x10ced3['Hex']={'stringify':function(_0x2cf633){var _0x47097e=_0x1169ae;for(var _0x1e59ab=_0x2cf633[_0x47097e(0x20d)],_0xb0dd93=_0x2cf633[_0x47097e(0x256)],_0x5c55c4=[],_0x2e718d=0x0;_0x2e718d<_0xb0dd93;_0x2e718d++){var _0x3ea877=_0x1e59ab[_0x2e718d>>>0x2]>>>0x18-_0x2e718d%0x4*0x8&0xff;_0x5c55c4[_0x47097e(0x3c9)]((_0x3ea877>>>0x4)[_0x47097e(0x384)](0x10)),_0x5c55c4[_0x47097e(0x3c9)]((_0x3ea877&0xf)[_0x47097e(0x384)](0x10));}return _0x5c55c4[_0x47097e(0x408)]('');},'parse':function(_0xb37fca){var _0xd207b6=_0x1169ae;for(var _0x46ae16=_0xb37fca[_0xd207b6(0x44f)],_0x150b99=[],_0x5386aa=0x0;_0x5386aa<_0x46ae16;_0x5386aa+=0x2)_0x150b99[_0x5386aa>>>0x3]|=parseInt(_0xb37fca['substr'](_0x5386aa,0x2),0x10)<<0x18-_0x5386aa%0x8*0x4;return new _0x3f9d3a[(_0xd207b6(0x227))](_0x150b99,_0x46ae16/0x2);}},_0x1713e0=_0x10ced3[_0x1169ae(0x2dc)]={'stringify':function(_0x579f63){var _0x5e0e07=_0x1169ae;for(var _0x40011c=_0x579f63[_0x5e0e07(0x20d)],_0x1e9308=_0x579f63['sigBytes'],_0xc242a8=[],_0x436a0c=0x0;_0x436a0c<_0x1e9308;_0x436a0c++){var _0x12e2bd=_0x40011c[_0x436a0c>>>0x2]>>>0x18-_0x436a0c%0x4*0x8&0xff;_0xc242a8['push'](String[_0x5e0e07(0x37c)](_0x12e2bd));}return _0xc242a8[_0x5e0e07(0x408)]('');},'parse':function(_0x8098f3){var _0x171ef6=_0x1169ae;for(var _0x21929f=_0x8098f3[_0x171ef6(0x44f)],_0x306a8a=[],_0x31cd6b=0x0;_0x31cd6b<_0x21929f;_0x31cd6b++)_0x306a8a[_0x31cd6b>>>0x2]|=(_0x8098f3[_0x171ef6(0x1e1)](_0x31cd6b)&0xff)<<0x18-_0x31cd6b%0x4*0x8;return new _0x3f9d3a['init'](_0x306a8a,_0x21929f);}},_0x5999d2=_0x10ced3['Utf8']={'stringify':function(_0xc66ce7){var _0x72c1a9=_0x1169ae;try{return decodeURIComponent(escape(_0x1713e0[_0x72c1a9(0x244)](_0xc66ce7)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5c380b){var _0xf8d854=_0x1169ae;return _0x1713e0[_0xf8d854(0x283)](unescape(encodeURIComponent(_0x5c380b)));}},_0x225835=_0x32f673[_0x1169ae(0x236)]=_0x2a0e9b[_0x1169ae(0x30a)]({'reset':function(){var _0x3a45b2=_0x1169ae;this[_0x3a45b2(0x478)]=new _0x3f9d3a[(_0x3a45b2(0x227))](),this[_0x3a45b2(0x1bc)]=0x0;},'_append':function(_0x1b2433){var _0x256e54=_0x1169ae;typeof _0x1b2433=='string'&&(_0x1b2433=_0x5999d2['parse'](_0x1b2433)),this['_data'][_0x256e54(0x14a)](_0x1b2433),this['_nDataBytes']+=_0x1b2433[_0x256e54(0x256)];},'_process':function(_0x1c878e){var _0x51363e=_0x1169ae,_0x1157d4,_0x34f281=this[_0x51363e(0x478)],_0x5c389a=_0x34f281[_0x51363e(0x20d)],_0xb88bbc=_0x34f281[_0x51363e(0x256)],_0x394d49=this[_0x51363e(0x30b)],_0x153c6f=_0x394d49*0x4,_0x209675=_0xb88bbc/_0x153c6f;_0x1c878e?_0x209675=_0x5153f7[_0x51363e(0x3c5)](_0x209675):_0x209675=_0x5153f7[_0x51363e(0x121)]((_0x209675|0x0)-this[_0x51363e(0x11d)],0x0);var _0x1bd63e=_0x209675*_0x394d49,_0x2de197=_0x5153f7[_0x51363e(0x254)](_0x1bd63e*0x4,_0xb88bbc);if(_0x1bd63e){for(var _0x5445da=0x0;_0x5445da<_0x1bd63e;_0x5445da+=_0x394d49)this[_0x51363e(0x299)](_0x5c389a,_0x5445da);_0x1157d4=_0x5c389a[_0x51363e(0x396)](0x0,_0x1bd63e),_0x34f281[_0x51363e(0x256)]-=_0x2de197;}return new _0x3f9d3a['init'](_0x1157d4,_0x2de197);},'clone':function(){var _0x33ca66=_0x1169ae,_0x370229=_0x2a0e9b[_0x33ca66(0x268)]['call'](this);return _0x370229['_data']=this['_data'][_0x33ca66(0x268)](),_0x370229;},'_minBufferSize':0x0});_0x32f673['Hasher']=_0x225835[_0x1169ae(0x30a)]({'cfg':_0x2a0e9b[_0x1169ae(0x30a)](),'init':function(_0x7478a9){var _0x593c62=_0x1169ae;this[_0x593c62(0x298)]=this['cfg'][_0x593c62(0x30a)](_0x7478a9),this[_0x593c62(0x295)]();},'reset':function(){var _0x35a285=_0x1169ae;_0x225835[_0x35a285(0x295)][_0x35a285(0x3db)](this),this[_0x35a285(0x3f8)]();},'update':function(_0x315bea){var _0x2fc2bd=_0x1169ae;return this[_0x2fc2bd(0x133)](_0x315bea),this[_0x2fc2bd(0x11e)](),this;},'finalize':function(_0x311a39){var _0x149d3d=_0x1169ae;_0x311a39&&this[_0x149d3d(0x133)](_0x311a39);var _0xef0228=this['_doFinalize']();return _0xef0228;},'blockSize':0x10,'_createHelper':function(_0xf7bbd8){return function(_0x329a14,_0x2cf814){var _0x492a0e=_0x5a65;return new _0xf7bbd8[(_0x492a0e(0x227))](_0x2cf814)[_0x492a0e(0x16c)](_0x329a14);};},'_createHmacHelper':function(_0x210846){return function(_0x531065,_0x5bb059){var _0x4fac40=_0x5a65;return new _0x1b6782[(_0x4fac40(0x339))][(_0x4fac40(0x227))](_0x210846,_0x5bb059)[_0x4fac40(0x16c)](_0x531065);};}});var _0x1b6782=_0x1c5918[_0x1169ae(0x1ad)]={};return _0x1c5918;}(Math);return _0x4058ff;}));}(pe)),pe[_0x5b75cd(0x28a)];}var Ie={'exports':{}},Ni=Ie[_0x3c6410(0x28a)],Je;function yt(){return Je||(Je=0x1,function(_0x21a740,_0x3e0d6f){(function(_0xdf6b62,_0x6132ed){var _0x39a27b=_0x5a65;_0x21a740[_0x39a27b(0x28a)]=_0x6132ed(Q());}(Ni,function(_0x1c3000){var _0x58afcb=_0x5a65;return(function(){var _0x1c3d04=_0x5a65,_0x3df802=_0x1c3000,_0x4e1921=_0x3df802['lib'],_0x5e09d5=_0x4e1921[_0x1c3d04(0x2b8)],_0x2f9f53=_0x3df802['enc'];_0x2f9f53['Base64']={'stringify':function(_0x296553){var _0x7beb37=_0x1c3d04,_0x1e1af2=_0x296553[_0x7beb37(0x20d)],_0x15db78=_0x296553[_0x7beb37(0x256)],_0xa693e1=this['_map'];_0x296553[_0x7beb37(0x212)]();for(var _0x310de0=[],_0x5d58e6=0x0;_0x5d58e6<_0x15db78;_0x5d58e6+=0x3)for(var _0x4d3a73=_0x1e1af2[_0x5d58e6>>>0x2]>>>0x18-_0x5d58e6%0x4*0x8&0xff,_0xe7ae65=_0x1e1af2[_0x5d58e6+0x1>>>0x2]>>>0x18-(_0x5d58e6+0x1)%0x4*0x8&0xff,_0x5f2716=_0x1e1af2[_0x5d58e6+0x2>>>0x2]>>>0x18-(_0x5d58e6+0x2)%0x4*0x8&0xff,_0xc176cf=_0x4d3a73<<0x10|_0xe7ae65<<0x8|_0x5f2716,_0x3a112f=0x0;_0x3a112f<0x4&&_0x5d58e6+_0x3a112f*0.75<_0x15db78;_0x3a112f++)_0x310de0[_0x7beb37(0x3c9)](_0xa693e1['charAt'](_0xc176cf>>>0x6*(0x3-_0x3a112f)&0x3f));var _0xd0f0e7=_0xa693e1[_0x7beb37(0x26d)](0x40);if(_0xd0f0e7){for(;_0x310de0[_0x7beb37(0x44f)]%0x4;)_0x310de0[_0x7beb37(0x3c9)](_0xd0f0e7);}return _0x310de0[_0x7beb37(0x408)]('');},'parse':function(_0x5cd97a){var _0x5f1142=_0x1c3d04,_0x44d0b9=_0x5cd97a[_0x5f1142(0x44f)],_0x2101cc=this[_0x5f1142(0x27a)],_0x2f223f=this[_0x5f1142(0x43e)];if(!_0x2f223f){_0x2f223f=this[_0x5f1142(0x43e)]=[];for(var _0x3cc92f=0x0;_0x3cc92f<_0x2101cc[_0x5f1142(0x44f)];_0x3cc92f++)_0x2f223f[_0x2101cc['charCodeAt'](_0x3cc92f)]=_0x3cc92f;}var _0x4159e2=_0x2101cc[_0x5f1142(0x26d)](0x40);if(_0x4159e2){var _0xecd593=_0x5cd97a[_0x5f1142(0x427)](_0x4159e2);_0xecd593!==-0x1&&(_0x44d0b9=_0xecd593);}return _0x406398(_0x5cd97a,_0x44d0b9,_0x2f223f);},'_map':_0x1c3d04(0x19a)};function _0x406398(_0x3ed7e3,_0x155c93,_0x3636f6){var _0x13f4c0=_0x1c3d04;for(var _0xcb1347=[],_0x3a26fc=0x0,_0x39755f=0x0;_0x39755f<_0x155c93;_0x39755f++)if(_0x39755f%0x4){var _0xd1dbea=_0x3636f6[_0x3ed7e3['charCodeAt'](_0x39755f-0x1)]<<_0x39755f%0x4*0x2,_0xe2b2d7=_0x3636f6[_0x3ed7e3[_0x13f4c0(0x1e1)](_0x39755f)]>>>0x6-_0x39755f%0x4*0x2,_0x32d8e5=_0xd1dbea|_0xe2b2d7;_0xcb1347[_0x3a26fc>>>0x2]|=_0x32d8e5<<0x18-_0x3a26fc%0x4*0x8,_0x3a26fc++;}return _0x5e09d5[_0x13f4c0(0x21c)](_0xcb1347,_0x3a26fc);}}()),_0x1c3000[_0x58afcb(0x246)]['Base64'];}));}(Ie)),Ie['exports'];}var ge={'exports':{}},Ui=ge[_0x3c6410(0x28a)],Xe;function Di(){var _0x436229=_0x3c6410;return Xe||(Xe=0x1,function(_0x3f0e09,_0x193921){(function(_0x2b6d7d,_0x2139a){var _0x4f71bc=_0x5a65;_0x3f0e09[_0x4f71bc(0x28a)]=_0x2139a(Q());}(Ui,function(_0x4d2cc4){var _0x2a75f4=_0x5a65;return function(_0xb96b84){var _0x32e50c=_0x5a65,_0x377e65=_0x4d2cc4,_0x4141bd=_0x377e65[_0x32e50c(0x3ac)],_0x563715=_0x4141bd[_0x32e50c(0x2b8)],_0x50e88a=_0x4141bd['Hasher'],_0x81c674=_0x377e65[_0x32e50c(0x1ad)],_0x2a4bab=[];(function(){var _0x50873d=_0x32e50c;for(var _0x390307=0x0;_0x390307<0x40;_0x390307++)_0x2a4bab[_0x390307]=_0xb96b84[_0x50873d(0x20f)](_0xb96b84['sin'](_0x390307+0x1))*0x100000000|0x0;}());var _0x4d3011=_0x81c674[_0x32e50c(0x10c)]=_0x50e88a[_0x32e50c(0x30a)]({'_doReset':function(){var _0x3e8288=_0x32e50c;this[_0x3e8288(0x36c)]=new _0x563715[(_0x3e8288(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x7f8a1,_0x53387b){var _0x5c2d2b=_0x32e50c;for(var _0x3592ea=0x0;_0x3592ea<0x10;_0x3592ea++){var _0x48d344=_0x53387b+_0x3592ea,_0x319768=_0x7f8a1[_0x48d344];_0x7f8a1[_0x48d344]=(_0x319768<<0x8|_0x319768>>>0x18)&0xff00ff|(_0x319768<<0x18|_0x319768>>>0x8)&0xff00ff00;}var _0x391166=this[_0x5c2d2b(0x36c)][_0x5c2d2b(0x20d)],_0x181842=_0x7f8a1[_0x53387b+0x0],_0x286e29=_0x7f8a1[_0x53387b+0x1],_0x52bd63=_0x7f8a1[_0x53387b+0x2],_0x24311f=_0x7f8a1[_0x53387b+0x3],_0x434d97=_0x7f8a1[_0x53387b+0x4],_0x24290f=_0x7f8a1[_0x53387b+0x5],_0x3c9c00=_0x7f8a1[_0x53387b+0x6],_0x2d53a3=_0x7f8a1[_0x53387b+0x7],_0x1683eb=_0x7f8a1[_0x53387b+0x8],_0x26beeb=_0x7f8a1[_0x53387b+0x9],_0x2e7105=_0x7f8a1[_0x53387b+0xa],_0x464e10=_0x7f8a1[_0x53387b+0xb],_0x1b9de0=_0x7f8a1[_0x53387b+0xc],_0x46f077=_0x7f8a1[_0x53387b+0xd],_0x33a311=_0x7f8a1[_0x53387b+0xe],_0x55e8e7=_0x7f8a1[_0x53387b+0xf],_0x486f1a=_0x391166[0x0],_0x42e585=_0x391166[0x1],_0x26b1ff=_0x391166[0x2],_0x3c19ea=_0x391166[0x3];_0x486f1a=_0x5d062d(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x181842,0x7,_0x2a4bab[0x0]),_0x3c19ea=_0x5d062d(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x286e29,0xc,_0x2a4bab[0x1]),_0x26b1ff=_0x5d062d(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x52bd63,0x11,_0x2a4bab[0x2]),_0x42e585=_0x5d062d(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x24311f,0x16,_0x2a4bab[0x3]),_0x486f1a=_0x5d062d(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x434d97,0x7,_0x2a4bab[0x4]),_0x3c19ea=_0x5d062d(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x24290f,0xc,_0x2a4bab[0x5]),_0x26b1ff=_0x5d062d(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x3c9c00,0x11,_0x2a4bab[0x6]),_0x42e585=_0x5d062d(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x2d53a3,0x16,_0x2a4bab[0x7]),_0x486f1a=_0x5d062d(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x1683eb,0x7,_0x2a4bab[0x8]),_0x3c19ea=_0x5d062d(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x26beeb,0xc,_0x2a4bab[0x9]),_0x26b1ff=_0x5d062d(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x2e7105,0x11,_0x2a4bab[0xa]),_0x42e585=_0x5d062d(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x464e10,0x16,_0x2a4bab[0xb]),_0x486f1a=_0x5d062d(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x1b9de0,0x7,_0x2a4bab[0xc]),_0x3c19ea=_0x5d062d(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x46f077,0xc,_0x2a4bab[0xd]),_0x26b1ff=_0x5d062d(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x33a311,0x11,_0x2a4bab[0xe]),_0x42e585=_0x5d062d(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x55e8e7,0x16,_0x2a4bab[0xf]),_0x486f1a=_0x49e515(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x286e29,0x5,_0x2a4bab[0x10]),_0x3c19ea=_0x49e515(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x3c9c00,0x9,_0x2a4bab[0x11]),_0x26b1ff=_0x49e515(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x464e10,0xe,_0x2a4bab[0x12]),_0x42e585=_0x49e515(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x181842,0x14,_0x2a4bab[0x13]),_0x486f1a=_0x49e515(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x24290f,0x5,_0x2a4bab[0x14]),_0x3c19ea=_0x49e515(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x2e7105,0x9,_0x2a4bab[0x15]),_0x26b1ff=_0x49e515(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x55e8e7,0xe,_0x2a4bab[0x16]),_0x42e585=_0x49e515(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x434d97,0x14,_0x2a4bab[0x17]),_0x486f1a=_0x49e515(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x26beeb,0x5,_0x2a4bab[0x18]),_0x3c19ea=_0x49e515(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x33a311,0x9,_0x2a4bab[0x19]),_0x26b1ff=_0x49e515(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x24311f,0xe,_0x2a4bab[0x1a]),_0x42e585=_0x49e515(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x1683eb,0x14,_0x2a4bab[0x1b]),_0x486f1a=_0x49e515(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x46f077,0x5,_0x2a4bab[0x1c]),_0x3c19ea=_0x49e515(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x52bd63,0x9,_0x2a4bab[0x1d]),_0x26b1ff=_0x49e515(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x2d53a3,0xe,_0x2a4bab[0x1e]),_0x42e585=_0x49e515(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x1b9de0,0x14,_0x2a4bab[0x1f]),_0x486f1a=_0x25eaa1(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x24290f,0x4,_0x2a4bab[0x20]),_0x3c19ea=_0x25eaa1(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x1683eb,0xb,_0x2a4bab[0x21]),_0x26b1ff=_0x25eaa1(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x464e10,0x10,_0x2a4bab[0x22]),_0x42e585=_0x25eaa1(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x33a311,0x17,_0x2a4bab[0x23]),_0x486f1a=_0x25eaa1(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x286e29,0x4,_0x2a4bab[0x24]),_0x3c19ea=_0x25eaa1(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x434d97,0xb,_0x2a4bab[0x25]),_0x26b1ff=_0x25eaa1(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x2d53a3,0x10,_0x2a4bab[0x26]),_0x42e585=_0x25eaa1(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x2e7105,0x17,_0x2a4bab[0x27]),_0x486f1a=_0x25eaa1(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x46f077,0x4,_0x2a4bab[0x28]),_0x3c19ea=_0x25eaa1(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x181842,0xb,_0x2a4bab[0x29]),_0x26b1ff=_0x25eaa1(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x24311f,0x10,_0x2a4bab[0x2a]),_0x42e585=_0x25eaa1(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x3c9c00,0x17,_0x2a4bab[0x2b]),_0x486f1a=_0x25eaa1(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x26beeb,0x4,_0x2a4bab[0x2c]),_0x3c19ea=_0x25eaa1(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x1b9de0,0xb,_0x2a4bab[0x2d]),_0x26b1ff=_0x25eaa1(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x55e8e7,0x10,_0x2a4bab[0x2e]),_0x42e585=_0x25eaa1(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x52bd63,0x17,_0x2a4bab[0x2f]),_0x486f1a=_0x34b4f3(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x181842,0x6,_0x2a4bab[0x30]),_0x3c19ea=_0x34b4f3(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x2d53a3,0xa,_0x2a4bab[0x31]),_0x26b1ff=_0x34b4f3(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x33a311,0xf,_0x2a4bab[0x32]),_0x42e585=_0x34b4f3(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x24290f,0x15,_0x2a4bab[0x33]),_0x486f1a=_0x34b4f3(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x1b9de0,0x6,_0x2a4bab[0x34]),_0x3c19ea=_0x34b4f3(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x24311f,0xa,_0x2a4bab[0x35]),_0x26b1ff=_0x34b4f3(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x2e7105,0xf,_0x2a4bab[0x36]),_0x42e585=_0x34b4f3(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x286e29,0x15,_0x2a4bab[0x37]),_0x486f1a=_0x34b4f3(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x1683eb,0x6,_0x2a4bab[0x38]),_0x3c19ea=_0x34b4f3(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x55e8e7,0xa,_0x2a4bab[0x39]),_0x26b1ff=_0x34b4f3(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x3c9c00,0xf,_0x2a4bab[0x3a]),_0x42e585=_0x34b4f3(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x46f077,0x15,_0x2a4bab[0x3b]),_0x486f1a=_0x34b4f3(_0x486f1a,_0x42e585,_0x26b1ff,_0x3c19ea,_0x434d97,0x6,_0x2a4bab[0x3c]),_0x3c19ea=_0x34b4f3(_0x3c19ea,_0x486f1a,_0x42e585,_0x26b1ff,_0x464e10,0xa,_0x2a4bab[0x3d]),_0x26b1ff=_0x34b4f3(_0x26b1ff,_0x3c19ea,_0x486f1a,_0x42e585,_0x52bd63,0xf,_0x2a4bab[0x3e]),_0x42e585=_0x34b4f3(_0x42e585,_0x26b1ff,_0x3c19ea,_0x486f1a,_0x26beeb,0x15,_0x2a4bab[0x3f]),_0x391166[0x0]=_0x391166[0x0]+_0x486f1a|0x0,_0x391166[0x1]=_0x391166[0x1]+_0x42e585|0x0,_0x391166[0x2]=_0x391166[0x2]+_0x26b1ff|0x0,_0x391166[0x3]=_0x391166[0x3]+_0x3c19ea|0x0;},'_doFinalize':function(){var _0x567c18=_0x32e50c,_0x2a4d4a=this['_data'],_0x13e1e8=_0x2a4d4a[_0x567c18(0x20d)],_0x44023b=this[_0x567c18(0x1bc)]*0x8,_0x46259e=_0x2a4d4a[_0x567c18(0x256)]*0x8;_0x13e1e8[_0x46259e>>>0x5]|=0x80<<0x18-_0x46259e%0x20;var _0x3e07e1=_0xb96b84[_0x567c18(0x204)](_0x44023b/0x100000000),_0x230e33=_0x44023b;_0x13e1e8[(_0x46259e+0x40>>>0x9<<0x4)+0xf]=(_0x3e07e1<<0x8|_0x3e07e1>>>0x18)&0xff00ff|(_0x3e07e1<<0x18|_0x3e07e1>>>0x8)&0xff00ff00,_0x13e1e8[(_0x46259e+0x40>>>0x9<<0x4)+0xe]=(_0x230e33<<0x8|_0x230e33>>>0x18)&0xff00ff|(_0x230e33<<0x18|_0x230e33>>>0x8)&0xff00ff00,_0x2a4d4a[_0x567c18(0x256)]=(_0x13e1e8['length']+0x1)*0x4,this[_0x567c18(0x11e)]();for(var _0x490514=this[_0x567c18(0x36c)],_0x2bd5d8=_0x490514[_0x567c18(0x20d)],_0x59de9c=0x0;_0x59de9c<0x4;_0x59de9c++){var _0x239371=_0x2bd5d8[_0x59de9c];_0x2bd5d8[_0x59de9c]=(_0x239371<<0x8|_0x239371>>>0x18)&0xff00ff|(_0x239371<<0x18|_0x239371>>>0x8)&0xff00ff00;}return _0x490514;},'clone':function(){var _0x401606=_0x32e50c,_0xbe3494=_0x50e88a['clone']['call'](this);return _0xbe3494['_hash']=this[_0x401606(0x36c)][_0x401606(0x268)](),_0xbe3494;}});function _0x5d062d(_0x48e050,_0x5dec7d,_0x5dc38c,_0x583631,_0x399937,_0x5314cc,_0x523f76){var _0x55f2d8=_0x48e050+(_0x5dec7d&_0x5dc38c|~_0x5dec7d&_0x583631)+_0x399937+_0x523f76;return(_0x55f2d8<<_0x5314cc|_0x55f2d8>>>0x20-_0x5314cc)+_0x5dec7d;}function _0x49e515(_0x2251d4,_0xa5b08a,_0x3e3326,_0x3dbf54,_0x53001a,_0xf38a65,_0x5de159){var _0x13c0f0=_0x2251d4+(_0xa5b08a&_0x3dbf54|_0x3e3326&~_0x3dbf54)+_0x53001a+_0x5de159;return(_0x13c0f0<<_0xf38a65|_0x13c0f0>>>0x20-_0xf38a65)+_0xa5b08a;}function _0x25eaa1(_0x771ffd,_0x56b9cd,_0x52eb39,_0x573d5e,_0xbe0abe,_0x1c1584,_0x506b74){var _0x554ed8=_0x771ffd+(_0x56b9cd^_0x52eb39^_0x573d5e)+_0xbe0abe+_0x506b74;return(_0x554ed8<<_0x1c1584|_0x554ed8>>>0x20-_0x1c1584)+_0x56b9cd;}function _0x34b4f3(_0x5ea759,_0x1a9fc2,_0x183ca4,_0x3d8c6c,_0x3daf56,_0x3b0873,_0x56479a){var _0x38d4e5=_0x5ea759+(_0x183ca4^(_0x1a9fc2|~_0x3d8c6c))+_0x3daf56+_0x56479a;return(_0x38d4e5<<_0x3b0873|_0x38d4e5>>>0x20-_0x3b0873)+_0x1a9fc2;}_0x377e65[_0x32e50c(0x10c)]=_0x50e88a['_createHelper'](_0x4d3011),_0x377e65['HmacMD5']=_0x50e88a[_0x32e50c(0x22f)](_0x4d3011);}(Math),_0x4d2cc4[_0x2a75f4(0x10c)];}));}(ge)),ge[_0x436229(0x28a)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x3c6410(0x28a)],Ze;function Pi(){var _0x3c99d3=_0x3c6410;return Ze||(Ze=0x1,function(_0x1b09d1,_0x485fef){(function(_0x172468,_0x138224){var _0x17263e=_0x5a65;_0x1b09d1[_0x17263e(0x28a)]=_0x138224(Q());}(Ai,function(_0x2e2ed7){var _0x1c75c8=_0x5a65;return(function(){var _0x429395=_0x5a65,_0x4051a=_0x2e2ed7,_0x3b77e9=_0x4051a[_0x429395(0x3ac)],_0x10e92e=_0x3b77e9[_0x429395(0x2b8)],_0x1453af=_0x3b77e9[_0x429395(0x377)],_0x55cdf7=_0x4051a[_0x429395(0x1ad)],_0x480ef2=[],_0x3e162e=_0x55cdf7[_0x429395(0x415)]=_0x1453af[_0x429395(0x30a)]({'_doReset':function(){var _0x107b4c=_0x429395;this[_0x107b4c(0x36c)]=new _0x10e92e[(_0x107b4c(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4e793e,_0x4a3607){var _0x185282=_0x429395;for(var _0x2f5493=this[_0x185282(0x36c)][_0x185282(0x20d)],_0x485c65=_0x2f5493[0x0],_0x2da481=_0x2f5493[0x1],_0x2f8048=_0x2f5493[0x2],_0x20b133=_0x2f5493[0x3],_0x45cfbe=_0x2f5493[0x4],_0x57ad3c=0x0;_0x57ad3c<0x50;_0x57ad3c++){if(_0x57ad3c<0x10)_0x480ef2[_0x57ad3c]=_0x4e793e[_0x4a3607+_0x57ad3c]|0x0;else{var _0x61c820=_0x480ef2[_0x57ad3c-0x3]^_0x480ef2[_0x57ad3c-0x8]^_0x480ef2[_0x57ad3c-0xe]^_0x480ef2[_0x57ad3c-0x10];_0x480ef2[_0x57ad3c]=_0x61c820<<0x1|_0x61c820>>>0x1f;}var _0x2cf64a=(_0x485c65<<0x5|_0x485c65>>>0x1b)+_0x45cfbe+_0x480ef2[_0x57ad3c];_0x57ad3c<0x14?_0x2cf64a+=(_0x2da481&_0x2f8048|~_0x2da481&_0x20b133)+0x5a827999:_0x57ad3c<0x28?_0x2cf64a+=(_0x2da481^_0x2f8048^_0x20b133)+0x6ed9eba1:_0x57ad3c<0x3c?_0x2cf64a+=(_0x2da481&_0x2f8048|_0x2da481&_0x20b133|_0x2f8048&_0x20b133)-0x70e44324:_0x2cf64a+=(_0x2da481^_0x2f8048^_0x20b133)-0x359d3e2a,_0x45cfbe=_0x20b133,_0x20b133=_0x2f8048,_0x2f8048=_0x2da481<<0x1e|_0x2da481>>>0x2,_0x2da481=_0x485c65,_0x485c65=_0x2cf64a;}_0x2f5493[0x0]=_0x2f5493[0x0]+_0x485c65|0x0,_0x2f5493[0x1]=_0x2f5493[0x1]+_0x2da481|0x0,_0x2f5493[0x2]=_0x2f5493[0x2]+_0x2f8048|0x0,_0x2f5493[0x3]=_0x2f5493[0x3]+_0x20b133|0x0,_0x2f5493[0x4]=_0x2f5493[0x4]+_0x45cfbe|0x0;},'_doFinalize':function(){var _0xbc58ee=_0x429395,_0xc0dbba=this[_0xbc58ee(0x478)],_0x2e6659=_0xc0dbba[_0xbc58ee(0x20d)],_0x13e7ef=this[_0xbc58ee(0x1bc)]*0x8,_0x543a3d=_0xc0dbba[_0xbc58ee(0x256)]*0x8;return _0x2e6659[_0x543a3d>>>0x5]|=0x80<<0x18-_0x543a3d%0x20,_0x2e6659[(_0x543a3d+0x40>>>0x9<<0x4)+0xe]=Math[_0xbc58ee(0x204)](_0x13e7ef/0x100000000),_0x2e6659[(_0x543a3d+0x40>>>0x9<<0x4)+0xf]=_0x13e7ef,_0xc0dbba['sigBytes']=_0x2e6659['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x477c25=_0x429395,_0x3ba844=_0x1453af[_0x477c25(0x268)][_0x477c25(0x3db)](this);return _0x3ba844['_hash']=this[_0x477c25(0x36c)][_0x477c25(0x268)](),_0x3ba844;}});_0x4051a[_0x429395(0x415)]=_0x1453af['_createHelper'](_0x3e162e),_0x4051a[_0x429395(0x473)]=_0x1453af['_createHmacHelper'](_0x3e162e);}()),_0x2e2ed7[_0x1c75c8(0x415)];}));}(me)),me[_0x3c99d3(0x28a)];}var Ce={'exports':{}},wi=Ce[_0x3c6410(0x28a)],Qe;function Li(){var _0x418e9e=_0x3c6410;return Qe||(Qe=0x1,function(_0x6eb73,_0x23a75c){(function(_0x4a7dca,_0x11b806){_0x6eb73['exports']=_0x11b806(Q());}(wi,function(_0x2d813d){(function(){var _0x1fbf9e=_0x5a65,_0x4458a3=_0x2d813d,_0x24a2c4=_0x4458a3[_0x1fbf9e(0x3ac)],_0x2285b0=_0x24a2c4[_0x1fbf9e(0x197)],_0x44709a=_0x4458a3['enc'],_0x5aeb63=_0x44709a[_0x1fbf9e(0x175)],_0x387fc3=_0x4458a3[_0x1fbf9e(0x1ad)];_0x387fc3[_0x1fbf9e(0x339)]=_0x2285b0[_0x1fbf9e(0x30a)]({'init':function(_0x4e59cd,_0x58540f){var _0x4dd36a=_0x1fbf9e;_0x4e59cd=this[_0x4dd36a(0x117)]=new _0x4e59cd[(_0x4dd36a(0x227))](),typeof _0x58540f==_0x4dd36a(0x2c9)&&(_0x58540f=_0x5aeb63[_0x4dd36a(0x283)](_0x58540f));var _0x190288=_0x4e59cd[_0x4dd36a(0x30b)],_0x3042f7=_0x190288*0x4;_0x58540f[_0x4dd36a(0x256)]>_0x3042f7&&(_0x58540f=_0x4e59cd[_0x4dd36a(0x16c)](_0x58540f)),_0x58540f['clamp']();for(var _0xccb082=this[_0x4dd36a(0x13f)]=_0x58540f[_0x4dd36a(0x268)](),_0x85acb7=this[_0x4dd36a(0x130)]=_0x58540f['clone'](),_0x3136b4=_0xccb082[_0x4dd36a(0x20d)],_0x4cd05f=_0x85acb7[_0x4dd36a(0x20d)],_0x2b9f46=0x0;_0x2b9f46<_0x190288;_0x2b9f46++)_0x3136b4[_0x2b9f46]^=0x5c5c5c5c,_0x4cd05f[_0x2b9f46]^=0x36363636;_0xccb082[_0x4dd36a(0x256)]=_0x85acb7[_0x4dd36a(0x256)]=_0x3042f7,this[_0x4dd36a(0x295)]();},'reset':function(){var _0x4831e5=_0x1fbf9e,_0x25351e=this['_hasher'];_0x25351e[_0x4831e5(0x295)](),_0x25351e[_0x4831e5(0x25f)](this[_0x4831e5(0x130)]);},'update':function(_0x50412c){var _0x4bb460=_0x1fbf9e;return this[_0x4bb460(0x117)][_0x4bb460(0x25f)](_0x50412c),this;},'finalize':function(_0x160952){var _0x5d588f=_0x1fbf9e,_0x364155=this[_0x5d588f(0x117)],_0x4010c2=_0x364155[_0x5d588f(0x16c)](_0x160952);_0x364155[_0x5d588f(0x295)]();var _0x443488=_0x364155['finalize'](this[_0x5d588f(0x13f)][_0x5d588f(0x268)]()[_0x5d588f(0x14a)](_0x4010c2));return _0x443488;}});}());}));}(Ce)),Ce[_0x418e9e(0x28a)];}var Mi=Ee['exports'],et;function Nt(){var _0x3b3bad=_0x3c6410;return et||(et=0x1,function(_0x900103,_0x304876){(function(_0x587d31,_0x3df611,_0x111c7d){var _0x2090ac=_0x5a65;_0x900103[_0x2090ac(0x28a)]=_0x3df611(Q(),Pi(),Li());}(Mi,function(_0x2c6b1c){var _0x4fa615=_0x5a65;return(function(){var _0x56aca7=_0x5a65,_0x52b3d3=_0x2c6b1c,_0x6ab495=_0x52b3d3[_0x56aca7(0x3ac)],_0x393336=_0x6ab495['Base'],_0x2b1785=_0x6ab495[_0x56aca7(0x2b8)],_0x15a929=_0x52b3d3[_0x56aca7(0x1ad)],_0x21f855=_0x15a929[_0x56aca7(0x10c)],_0x420e2b=_0x15a929[_0x56aca7(0x2f6)]=_0x393336[_0x56aca7(0x30a)]({'cfg':_0x393336['extend']({'keySize':0x80/0x20,'hasher':_0x21f855,'iterations':0x1}),'init':function(_0x4fe436){var _0x3bebce=_0x56aca7;this[_0x3bebce(0x298)]=this[_0x3bebce(0x298)]['extend'](_0x4fe436);},'compute':function(_0x343f72,_0x1f0372){var _0x59c1bf=_0x56aca7;for(var _0x1a5888,_0x27fc9f=this[_0x59c1bf(0x298)],_0x46cf97=_0x27fc9f[_0x59c1bf(0x336)]['create'](),_0x10d828=_0x2b1785['create'](),_0x2c3652=_0x10d828['words'],_0x56f223=_0x27fc9f[_0x59c1bf(0x29c)],_0x1f0c00=_0x27fc9f[_0x59c1bf(0x104)];_0x2c3652[_0x59c1bf(0x44f)]<_0x56f223;){_0x1a5888&&_0x46cf97[_0x59c1bf(0x25f)](_0x1a5888),_0x1a5888=_0x46cf97[_0x59c1bf(0x25f)](_0x343f72)[_0x59c1bf(0x16c)](_0x1f0372),_0x46cf97[_0x59c1bf(0x295)]();for(var _0xe9ae4e=0x1;_0xe9ae4e<_0x1f0c00;_0xe9ae4e++)_0x1a5888=_0x46cf97[_0x59c1bf(0x16c)](_0x1a5888),_0x46cf97[_0x59c1bf(0x295)]();_0x10d828[_0x59c1bf(0x14a)](_0x1a5888);}return _0x10d828['sigBytes']=_0x56f223*0x4,_0x10d828;}});_0x52b3d3[_0x56aca7(0x2f6)]=function(_0x11095f,_0x4e9f64,_0x7129cf){return _0x420e2b['create'](_0x7129cf)['compute'](_0x11095f,_0x4e9f64);};}()),_0x2c6b1c[_0x4fa615(0x2f6)];}));}(Ee)),Ee[_0x3b3bad(0x28a)];}var Te={'exports':{}},xi=Te['exports'],tt;function Ut(){var _0x4451d4=_0x3c6410;return tt||(tt=0x1,function(_0x28de9b,_0x528820){(function(_0x28f6b6,_0x377454,_0xc96576){var _0x379514=_0x5a65;_0x28de9b[_0x379514(0x28a)]=_0x377454(Q(),Nt());}(xi,function(_0x32a256){var _0x5a57cb=_0x5a65;_0x32a256[_0x5a57cb(0x3ac)][_0x5a57cb(0x3f3)]||function(_0x24e6a0){var _0x51a7b8=_0x5a57cb,_0x237928=_0x32a256,_0x35dda3=_0x237928[_0x51a7b8(0x3ac)],_0x1d63d4=_0x35dda3['Base'],_0x50ae0a=_0x35dda3['WordArray'],_0x33238d=_0x35dda3['BufferedBlockAlgorithm'],_0x1ea9f6=_0x237928[_0x51a7b8(0x246)];_0x1ea9f6['Utf8'];var _0x45a05b=_0x1ea9f6[_0x51a7b8(0x238)],_0x4b0199=_0x237928['algo'],_0xf5c2a8=_0x4b0199[_0x51a7b8(0x2f6)],_0x10834c=_0x35dda3[_0x51a7b8(0x3f3)]=_0x33238d[_0x51a7b8(0x30a)]({'cfg':_0x1d63d4[_0x51a7b8(0x30a)](),'createEncryptor':function(_0x5b3bc4,_0x1962f4){var _0x37b6c6=_0x51a7b8;return this[_0x37b6c6(0x21c)](this['_ENC_XFORM_MODE'],_0x5b3bc4,_0x1962f4);},'createDecryptor':function(_0x35f49a,_0x3f2af4){var _0x35f0d6=_0x51a7b8;return this['create'](this[_0x35f0d6(0x1fa)],_0x35f49a,_0x3f2af4);},'init':function(_0xd0b3c,_0x241cfe,_0x188206){var _0x54e3b3=_0x51a7b8;this['cfg']=this[_0x54e3b3(0x298)][_0x54e3b3(0x30a)](_0x188206),this[_0x54e3b3(0x2e4)]=_0xd0b3c,this[_0x54e3b3(0x439)]=_0x241cfe,this[_0x54e3b3(0x295)]();},'reset':function(){var _0x237a1b=_0x51a7b8;_0x33238d[_0x237a1b(0x295)][_0x237a1b(0x3db)](this),this[_0x237a1b(0x3f8)]();},'process':function(_0x24c2c8){var _0x3dffec=_0x51a7b8;return this['_append'](_0x24c2c8),this[_0x3dffec(0x11e)]();},'finalize':function(_0x3fbd93){var _0x13fbca=_0x51a7b8;_0x3fbd93&&this[_0x13fbca(0x133)](_0x3fbd93);var _0x2c4e02=this['_doFinalize']();return _0x2c4e02;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x160989(_0x2ac877){var _0x4d1603=_0x5a65;return typeof _0x2ac877==_0x4d1603(0x2c9)?_0x433d82:_0x49226d;}return function(_0x591c53){return{'encrypt':function(_0x5659b3,_0x10ec04,_0x3ff0f2){var _0x2aefb3=_0x5a65;return _0x160989(_0x10ec04)[_0x2aefb3(0x129)](_0x591c53,_0x5659b3,_0x10ec04,_0x3ff0f2);},'decrypt':function(_0x4929cf,_0x33dd72,_0x45744b){var _0x3687cf=_0x5a65;return _0x160989(_0x33dd72)[_0x3687cf(0x323)](_0x591c53,_0x4929cf,_0x33dd72,_0x45744b);}};};}())});_0x35dda3[_0x51a7b8(0x290)]=_0x10834c[_0x51a7b8(0x30a)]({'_doFinalize':function(){var _0x8ec337=this['_process'](!0x0);return _0x8ec337;},'blockSize':0x1});var _0x396123=_0x237928[_0x51a7b8(0x3c8)]={},_0x509ecf=_0x35dda3[_0x51a7b8(0x3ca)]=_0x1d63d4[_0x51a7b8(0x30a)]({'createEncryptor':function(_0x4a6d4a,_0x4d512e){var _0x445b1c=_0x51a7b8;return this[_0x445b1c(0x135)][_0x445b1c(0x21c)](_0x4a6d4a,_0x4d512e);},'createDecryptor':function(_0x159801,_0x558297){return this['Decryptor']['create'](_0x159801,_0x558297);},'init':function(_0x2226f7,_0x55ae4b){this['_cipher']=_0x2226f7,this['_iv']=_0x55ae4b;}}),_0x398f4a=_0x396123[_0x51a7b8(0x2f3)]=(function(){var _0x4ce177=_0x51a7b8,_0x4f43f8=_0x509ecf[_0x4ce177(0x30a)]();_0x4f43f8['Encryptor']=_0x4f43f8[_0x4ce177(0x30a)]({'processBlock':function(_0x11595e,_0x526f9b){var _0x2b04e6=_0x4ce177,_0x3989bf=this['_cipher'],_0xd63382=_0x3989bf['blockSize'];_0x3d0508[_0x2b04e6(0x3db)](this,_0x11595e,_0x526f9b,_0xd63382),_0x3989bf[_0x2b04e6(0x213)](_0x11595e,_0x526f9b),this['_prevBlock']=_0x11595e['slice'](_0x526f9b,_0x526f9b+_0xd63382);}}),_0x4f43f8[_0x4ce177(0x48b)]=_0x4f43f8[_0x4ce177(0x30a)]({'processBlock':function(_0x2cb80d,_0x1b127b){var _0x3d5306=_0x4ce177,_0x24cf73=this['_cipher'],_0x39ef76=_0x24cf73[_0x3d5306(0x30b)],_0x2d6d8b=_0x2cb80d[_0x3d5306(0x310)](_0x1b127b,_0x1b127b+_0x39ef76);_0x24cf73['decryptBlock'](_0x2cb80d,_0x1b127b),_0x3d0508[_0x3d5306(0x3db)](this,_0x2cb80d,_0x1b127b,_0x39ef76),this[_0x3d5306(0x32e)]=_0x2d6d8b;}});function _0x3d0508(_0x38b8a7,_0x466c31,_0x4733da){var _0x508a01=_0x4ce177,_0x25bc26,_0x28b886=this[_0x508a01(0x332)];_0x28b886?(_0x25bc26=_0x28b886,this[_0x508a01(0x332)]=_0x24e6a0):_0x25bc26=this[_0x508a01(0x32e)];for(var _0x513d16=0x0;_0x513d16<_0x4733da;_0x513d16++)_0x38b8a7[_0x466c31+_0x513d16]^=_0x25bc26[_0x513d16];}return _0x4f43f8;}()),_0x2fa4b8=_0x237928[_0x51a7b8(0x2ed)]={},_0x730c56=_0x2fa4b8[_0x51a7b8(0x33f)]={'pad':function(_0x336e1f,_0x351303){var _0x417921=_0x51a7b8;for(var _0x120c52=_0x351303*0x4,_0x156543=_0x120c52-_0x336e1f[_0x417921(0x256)]%_0x120c52,_0x27fe4a=_0x156543<<0x18|_0x156543<<0x10|_0x156543<<0x8|_0x156543,_0x156580=[],_0x3a2ee6=0x0;_0x3a2ee6<_0x156543;_0x3a2ee6+=0x4)_0x156580['push'](_0x27fe4a);var _0xfcdaaa=_0x50ae0a[_0x417921(0x21c)](_0x156580,_0x156543);_0x336e1f[_0x417921(0x14a)](_0xfcdaaa);},'unpad':function(_0x1f404a){var _0x5579df=_0x51a7b8,_0x3abc1c=_0x1f404a[_0x5579df(0x20d)][_0x1f404a[_0x5579df(0x256)]-0x1>>>0x2]&0xff;_0x1f404a[_0x5579df(0x256)]-=_0x3abc1c;}};_0x35dda3[_0x51a7b8(0x179)]=_0x10834c[_0x51a7b8(0x30a)]({'cfg':_0x10834c['cfg'][_0x51a7b8(0x30a)]({'mode':_0x398f4a,'padding':_0x730c56}),'reset':function(){var _0x2eed31=_0x51a7b8,_0x231280;_0x10834c[_0x2eed31(0x295)][_0x2eed31(0x3db)](this);var _0x3dfd1e=this[_0x2eed31(0x298)],_0x1e675d=_0x3dfd1e['iv'],_0x29a4e4=_0x3dfd1e[_0x2eed31(0x3c8)];this[_0x2eed31(0x2e4)]==this[_0x2eed31(0x265)]?_0x231280=_0x29a4e4[_0x2eed31(0x426)]:(_0x231280=_0x29a4e4[_0x2eed31(0x15f)],this[_0x2eed31(0x11d)]=0x1),this['_mode']&&this[_0x2eed31(0x1a1)]['__creator']==_0x231280?this['_mode'][_0x2eed31(0x227)](this,_0x1e675d&&_0x1e675d[_0x2eed31(0x20d)]):(this[_0x2eed31(0x1a1)]=_0x231280['call'](_0x29a4e4,this,_0x1e675d&&_0x1e675d[_0x2eed31(0x20d)]),this[_0x2eed31(0x1a1)][_0x2eed31(0x3f2)]=_0x231280);},'_doProcessBlock':function(_0x321f82,_0x2ac6d4){var _0x38e41c=_0x51a7b8;this[_0x38e41c(0x1a1)][_0x38e41c(0x183)](_0x321f82,_0x2ac6d4);},'_doFinalize':function(){var _0x535d4c=_0x51a7b8,_0x3f3084,_0x2a7e5b=this[_0x535d4c(0x298)][_0x535d4c(0x3ff)];return this[_0x535d4c(0x2e4)]==this[_0x535d4c(0x265)]?(_0x2a7e5b['pad'](this[_0x535d4c(0x478)],this['blockSize']),_0x3f3084=this[_0x535d4c(0x11e)](!0x0)):(_0x3f3084=this['_process'](!0x0),_0x2a7e5b[_0x535d4c(0x3b4)](_0x3f3084)),_0x3f3084;},'blockSize':0x80/0x20});var _0x4c9bac=_0x35dda3['CipherParams']=_0x1d63d4[_0x51a7b8(0x30a)]({'init':function(_0x3f5e11){var _0x35ecb5=_0x51a7b8;this[_0x35ecb5(0x394)](_0x3f5e11);},'toString':function(_0x5e4bd6){var _0x1fa2f6=_0x51a7b8;return(_0x5e4bd6||this[_0x1fa2f6(0x140)])[_0x1fa2f6(0x244)](this);}}),_0x4d7e7f=_0x237928[_0x51a7b8(0x405)]={},_0x4d51c6=_0x4d7e7f[_0x51a7b8(0x1fe)]={'stringify':function(_0x2668e8){var _0x1116e0=_0x51a7b8,_0x3a888d,_0x40f791=_0x2668e8[_0x1116e0(0x43a)],_0x30aa60=_0x2668e8['salt'];return _0x30aa60?_0x3a888d=_0x50ae0a[_0x1116e0(0x21c)]([0x53616c74,0x65645f5f])[_0x1116e0(0x14a)](_0x30aa60)[_0x1116e0(0x14a)](_0x40f791):_0x3a888d=_0x40f791,_0x3a888d[_0x1116e0(0x384)](_0x45a05b);},'parse':function(_0x20371f){var _0xa4affa=_0x51a7b8,_0x563ab2,_0x279677=_0x45a05b[_0xa4affa(0x283)](_0x20371f),_0x1b9bc0=_0x279677['words'];return _0x1b9bc0[0x0]==0x53616c74&&_0x1b9bc0[0x1]==0x65645f5f&&(_0x563ab2=_0x50ae0a[_0xa4affa(0x21c)](_0x1b9bc0['slice'](0x2,0x4)),_0x1b9bc0[_0xa4affa(0x396)](0x0,0x4),_0x279677[_0xa4affa(0x256)]-=0x10),_0x4c9bac[_0xa4affa(0x21c)]({'ciphertext':_0x279677,'salt':_0x563ab2});}},_0x49226d=_0x35dda3[_0x51a7b8(0x155)]=_0x1d63d4[_0x51a7b8(0x30a)]({'cfg':_0x1d63d4[_0x51a7b8(0x30a)]({'format':_0x4d51c6}),'encrypt':function(_0x336e95,_0x1ecfa3,_0x584850,_0x57066d){var _0x451bd2=_0x51a7b8;_0x57066d=this['cfg'][_0x451bd2(0x30a)](_0x57066d);var _0xcf14f4=_0x336e95[_0x451bd2(0x426)](_0x584850,_0x57066d),_0x454296=_0xcf14f4['finalize'](_0x1ecfa3),_0x5434ca=_0xcf14f4['cfg'];return _0x4c9bac[_0x451bd2(0x21c)]({'ciphertext':_0x454296,'key':_0x584850,'iv':_0x5434ca['iv'],'algorithm':_0x336e95,'mode':_0x5434ca[_0x451bd2(0x3c8)],'padding':_0x5434ca[_0x451bd2(0x3ff)],'blockSize':_0x336e95[_0x451bd2(0x30b)],'formatter':_0x57066d[_0x451bd2(0x405)]});},'decrypt':function(_0x2ab5ec,_0x2ff158,_0x289dcb,_0x53ef96){var _0x1b1c75=_0x51a7b8;_0x53ef96=this['cfg']['extend'](_0x53ef96),_0x2ff158=this['_parse'](_0x2ff158,_0x53ef96[_0x1b1c75(0x405)]);var _0x1041bd=_0x2ab5ec[_0x1b1c75(0x15f)](_0x289dcb,_0x53ef96)[_0x1b1c75(0x16c)](_0x2ff158[_0x1b1c75(0x43a)]);return _0x1041bd;},'_parse':function(_0x34b993,_0x3ef0da){var _0x5761e6=_0x51a7b8;return typeof _0x34b993=='string'?_0x3ef0da[_0x5761e6(0x283)](_0x34b993,this):_0x34b993;}}),_0x723e44=_0x237928[_0x51a7b8(0x26f)]={},_0x2a86f0=_0x723e44[_0x51a7b8(0x1fe)]={'execute':function(_0x52c3e0,_0x28b890,_0x114b66,_0x5c6f47,_0x3255d0){var _0x345587=_0x51a7b8;if(_0x5c6f47||(_0x5c6f47=_0x50ae0a[_0x345587(0x132)](0x40/0x8)),_0x3255d0)var _0x379c6d=_0xf5c2a8[_0x345587(0x21c)]({'keySize':_0x28b890+_0x114b66,'hasher':_0x3255d0})[_0x345587(0x136)](_0x52c3e0,_0x5c6f47);else var _0x379c6d=_0xf5c2a8[_0x345587(0x21c)]({'keySize':_0x28b890+_0x114b66})[_0x345587(0x136)](_0x52c3e0,_0x5c6f47);var _0x154e75=_0x50ae0a['create'](_0x379c6d[_0x345587(0x20d)][_0x345587(0x310)](_0x28b890),_0x114b66*0x4);return _0x379c6d[_0x345587(0x256)]=_0x28b890*0x4,_0x4c9bac[_0x345587(0x21c)]({'key':_0x379c6d,'iv':_0x154e75,'salt':_0x5c6f47});}},_0x433d82=_0x35dda3[_0x51a7b8(0x1ca)]=_0x49226d[_0x51a7b8(0x30a)]({'cfg':_0x49226d['cfg'][_0x51a7b8(0x30a)]({'kdf':_0x2a86f0}),'encrypt':function(_0x21beef,_0xaec264,_0x4b3287,_0x59110c){var _0x21b560=_0x51a7b8;_0x59110c=this[_0x21b560(0x298)][_0x21b560(0x30a)](_0x59110c);var _0x5b8fc8=_0x59110c[_0x21b560(0x26f)][_0x21b560(0x45d)](_0x4b3287,_0x21beef[_0x21b560(0x29c)],_0x21beef[_0x21b560(0x25e)],_0x59110c[_0x21b560(0x200)],_0x59110c['hasher']);_0x59110c['iv']=_0x5b8fc8['iv'];var _0x54d5ac=_0x49226d[_0x21b560(0x129)][_0x21b560(0x3db)](this,_0x21beef,_0xaec264,_0x5b8fc8[_0x21b560(0x15e)],_0x59110c);return _0x54d5ac[_0x21b560(0x394)](_0x5b8fc8),_0x54d5ac;},'decrypt':function(_0x4fa0a9,_0x231866,_0x3d6d7f,_0xfd531e){var _0x102741=_0x51a7b8;_0xfd531e=this[_0x102741(0x298)]['extend'](_0xfd531e),_0x231866=this[_0x102741(0x2ca)](_0x231866,_0xfd531e[_0x102741(0x405)]);var _0x1a85fd=_0xfd531e[_0x102741(0x26f)][_0x102741(0x45d)](_0x3d6d7f,_0x4fa0a9[_0x102741(0x29c)],_0x4fa0a9[_0x102741(0x25e)],_0x231866[_0x102741(0x200)],_0xfd531e[_0x102741(0x336)]);_0xfd531e['iv']=_0x1a85fd['iv'];var _0x47fa81=_0x49226d[_0x102741(0x323)][_0x102741(0x3db)](this,_0x4fa0a9,_0x231866,_0x1a85fd[_0x102741(0x15e)],_0xfd531e);return _0x47fa81;}});}();}));}(Te)),Te[_0x4451d4(0x28a)];}var ki=fe['exports'],it;function Hi(){var _0x1cb8c1=_0x3c6410;return it||(it=0x1,function(_0x78659e,_0x50b30d){(function(_0x8e0b1e,_0x13606b,_0x44501f){var _0x161275=_0x5a65;_0x78659e[_0x161275(0x28a)]=_0x13606b(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3b2658){var _0x27bbfb=_0x5a65;return(function(){var _0x2a2f21=_0x5a65,_0x30e1d3=_0x3b2658,_0x4247e3=_0x30e1d3['lib'],_0x2b9816=_0x4247e3[_0x2a2f21(0x179)],_0x247b0b=_0x30e1d3[_0x2a2f21(0x1ad)],_0x5f3eb8=[],_0x26d476=[],_0x1863fb=[],_0x3ed3ae=[],_0x40ccee=[],_0x3eefa0=[],_0x157389=[],_0x3f22af=[],_0x5255f7=[],_0x3b42fc=[];(function(){for(var _0x548f78=[],_0x20cf73=0x0;_0x20cf73<0x100;_0x20cf73++)_0x20cf73<0x80?_0x548f78[_0x20cf73]=_0x20cf73<<0x1:_0x548f78[_0x20cf73]=_0x20cf73<<0x1^0x11b;for(var _0x1020c6=0x0,_0x10c1d8=0x0,_0x20cf73=0x0;_0x20cf73<0x100;_0x20cf73++){var _0xc3cee4=_0x10c1d8^_0x10c1d8<<0x1^_0x10c1d8<<0x2^_0x10c1d8<<0x3^_0x10c1d8<<0x4;_0xc3cee4=_0xc3cee4>>>0x8^_0xc3cee4&0xff^0x63,_0x5f3eb8[_0x1020c6]=_0xc3cee4,_0x26d476[_0xc3cee4]=_0x1020c6;var _0x3ab710=_0x548f78[_0x1020c6],_0x42e099=_0x548f78[_0x3ab710],_0x3063c6=_0x548f78[_0x42e099],_0x415137=_0x548f78[_0xc3cee4]*0x101^_0xc3cee4*0x1010100;_0x1863fb[_0x1020c6]=_0x415137<<0x18|_0x415137>>>0x8,_0x3ed3ae[_0x1020c6]=_0x415137<<0x10|_0x415137>>>0x10,_0x40ccee[_0x1020c6]=_0x415137<<0x8|_0x415137>>>0x18,_0x3eefa0[_0x1020c6]=_0x415137;var _0x415137=_0x3063c6*0x1010101^_0x42e099*0x10001^_0x3ab710*0x101^_0x1020c6*0x1010100;_0x157389[_0xc3cee4]=_0x415137<<0x18|_0x415137>>>0x8,_0x3f22af[_0xc3cee4]=_0x415137<<0x10|_0x415137>>>0x10,_0x5255f7[_0xc3cee4]=_0x415137<<0x8|_0x415137>>>0x18,_0x3b42fc[_0xc3cee4]=_0x415137,_0x1020c6?(_0x1020c6=_0x3ab710^_0x548f78[_0x548f78[_0x548f78[_0x3063c6^_0x3ab710]]],_0x10c1d8^=_0x548f78[_0x548f78[_0x10c1d8]]):_0x1020c6=_0x10c1d8=0x1;}}());var _0x14149a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x673bc=_0x247b0b[_0x2a2f21(0x443)]=_0x2b9816[_0x2a2f21(0x30a)]({'_doReset':function(){var _0x4b5f34=_0x2a2f21,_0x2d2dfe;if(!(this[_0x4b5f34(0x237)]&&this[_0x4b5f34(0x147)]===this[_0x4b5f34(0x439)])){for(var _0x41d642=this[_0x4b5f34(0x147)]=this[_0x4b5f34(0x439)],_0xd479c4=_0x41d642[_0x4b5f34(0x20d)],_0x4b4c6f=_0x41d642[_0x4b5f34(0x256)]/0x4,_0x2c6aa8=this[_0x4b5f34(0x237)]=_0x4b4c6f+0x6,_0x2d165c=(_0x2c6aa8+0x1)*0x4,_0x19ca91=this[_0x4b5f34(0x387)]=[],_0x29c49d=0x0;_0x29c49d<_0x2d165c;_0x29c49d++)_0x29c49d<_0x4b4c6f?_0x19ca91[_0x29c49d]=_0xd479c4[_0x29c49d]:(_0x2d2dfe=_0x19ca91[_0x29c49d-0x1],_0x29c49d%_0x4b4c6f?_0x4b4c6f>0x6&&_0x29c49d%_0x4b4c6f==0x4&&(_0x2d2dfe=_0x5f3eb8[_0x2d2dfe>>>0x18]<<0x18|_0x5f3eb8[_0x2d2dfe>>>0x10&0xff]<<0x10|_0x5f3eb8[_0x2d2dfe>>>0x8&0xff]<<0x8|_0x5f3eb8[_0x2d2dfe&0xff]):(_0x2d2dfe=_0x2d2dfe<<0x8|_0x2d2dfe>>>0x18,_0x2d2dfe=_0x5f3eb8[_0x2d2dfe>>>0x18]<<0x18|_0x5f3eb8[_0x2d2dfe>>>0x10&0xff]<<0x10|_0x5f3eb8[_0x2d2dfe>>>0x8&0xff]<<0x8|_0x5f3eb8[_0x2d2dfe&0xff],_0x2d2dfe^=_0x14149a[_0x29c49d/_0x4b4c6f|0x0]<<0x18),_0x19ca91[_0x29c49d]=_0x19ca91[_0x29c49d-_0x4b4c6f]^_0x2d2dfe);for(var _0x57a44d=this['_invKeySchedule']=[],_0x26e245=0x0;_0x26e245<_0x2d165c;_0x26e245++){var _0x29c49d=_0x2d165c-_0x26e245;if(_0x26e245%0x4)var _0x2d2dfe=_0x19ca91[_0x29c49d];else var _0x2d2dfe=_0x19ca91[_0x29c49d-0x4];_0x26e245<0x4||_0x29c49d<=0x4?_0x57a44d[_0x26e245]=_0x2d2dfe:_0x57a44d[_0x26e245]=_0x157389[_0x5f3eb8[_0x2d2dfe>>>0x18]]^_0x3f22af[_0x5f3eb8[_0x2d2dfe>>>0x10&0xff]]^_0x5255f7[_0x5f3eb8[_0x2d2dfe>>>0x8&0xff]]^_0x3b42fc[_0x5f3eb8[_0x2d2dfe&0xff]];}}},'encryptBlock':function(_0x18af03,_0x31ce48){var _0x409b59=_0x2a2f21;this[_0x409b59(0x1f8)](_0x18af03,_0x31ce48,this[_0x409b59(0x387)],_0x1863fb,_0x3ed3ae,_0x40ccee,_0x3eefa0,_0x5f3eb8);},'decryptBlock':function(_0xa2f2c5,_0x17bcee){var _0x5e0e51=_0x2a2f21,_0x4cab46=_0xa2f2c5[_0x17bcee+0x1];_0xa2f2c5[_0x17bcee+0x1]=_0xa2f2c5[_0x17bcee+0x3],_0xa2f2c5[_0x17bcee+0x3]=_0x4cab46,this['_doCryptBlock'](_0xa2f2c5,_0x17bcee,this[_0x5e0e51(0x210)],_0x157389,_0x3f22af,_0x5255f7,_0x3b42fc,_0x26d476);var _0x4cab46=_0xa2f2c5[_0x17bcee+0x1];_0xa2f2c5[_0x17bcee+0x1]=_0xa2f2c5[_0x17bcee+0x3],_0xa2f2c5[_0x17bcee+0x3]=_0x4cab46;},'_doCryptBlock':function(_0x373e67,_0x2cb9ce,_0x52d60c,_0x1e446e,_0x5316bc,_0x125211,_0x4568ca,_0x344bc3){var _0x2c1189=_0x2a2f21;for(var _0x45c860=this[_0x2c1189(0x237)],_0x22bdcf=_0x373e67[_0x2cb9ce]^_0x52d60c[0x0],_0x2ad07e=_0x373e67[_0x2cb9ce+0x1]^_0x52d60c[0x1],_0x5d10c7=_0x373e67[_0x2cb9ce+0x2]^_0x52d60c[0x2],_0x4ce3ce=_0x373e67[_0x2cb9ce+0x3]^_0x52d60c[0x3],_0x41ab5a=0x4,_0x352838=0x1;_0x352838<_0x45c860;_0x352838++){var _0x491129=_0x1e446e[_0x22bdcf>>>0x18]^_0x5316bc[_0x2ad07e>>>0x10&0xff]^_0x125211[_0x5d10c7>>>0x8&0xff]^_0x4568ca[_0x4ce3ce&0xff]^_0x52d60c[_0x41ab5a++],_0x59ed47=_0x1e446e[_0x2ad07e>>>0x18]^_0x5316bc[_0x5d10c7>>>0x10&0xff]^_0x125211[_0x4ce3ce>>>0x8&0xff]^_0x4568ca[_0x22bdcf&0xff]^_0x52d60c[_0x41ab5a++],_0x2126fe=_0x1e446e[_0x5d10c7>>>0x18]^_0x5316bc[_0x4ce3ce>>>0x10&0xff]^_0x125211[_0x22bdcf>>>0x8&0xff]^_0x4568ca[_0x2ad07e&0xff]^_0x52d60c[_0x41ab5a++],_0x37f8da=_0x1e446e[_0x4ce3ce>>>0x18]^_0x5316bc[_0x22bdcf>>>0x10&0xff]^_0x125211[_0x2ad07e>>>0x8&0xff]^_0x4568ca[_0x5d10c7&0xff]^_0x52d60c[_0x41ab5a++];_0x22bdcf=_0x491129,_0x2ad07e=_0x59ed47,_0x5d10c7=_0x2126fe,_0x4ce3ce=_0x37f8da;}var _0x491129=(_0x344bc3[_0x22bdcf>>>0x18]<<0x18|_0x344bc3[_0x2ad07e>>>0x10&0xff]<<0x10|_0x344bc3[_0x5d10c7>>>0x8&0xff]<<0x8|_0x344bc3[_0x4ce3ce&0xff])^_0x52d60c[_0x41ab5a++],_0x59ed47=(_0x344bc3[_0x2ad07e>>>0x18]<<0x18|_0x344bc3[_0x5d10c7>>>0x10&0xff]<<0x10|_0x344bc3[_0x4ce3ce>>>0x8&0xff]<<0x8|_0x344bc3[_0x22bdcf&0xff])^_0x52d60c[_0x41ab5a++],_0x2126fe=(_0x344bc3[_0x5d10c7>>>0x18]<<0x18|_0x344bc3[_0x4ce3ce>>>0x10&0xff]<<0x10|_0x344bc3[_0x22bdcf>>>0x8&0xff]<<0x8|_0x344bc3[_0x2ad07e&0xff])^_0x52d60c[_0x41ab5a++],_0x37f8da=(_0x344bc3[_0x4ce3ce>>>0x18]<<0x18|_0x344bc3[_0x22bdcf>>>0x10&0xff]<<0x10|_0x344bc3[_0x2ad07e>>>0x8&0xff]<<0x8|_0x344bc3[_0x5d10c7&0xff])^_0x52d60c[_0x41ab5a++];_0x373e67[_0x2cb9ce]=_0x491129,_0x373e67[_0x2cb9ce+0x1]=_0x59ed47,_0x373e67[_0x2cb9ce+0x2]=_0x2126fe,_0x373e67[_0x2cb9ce+0x3]=_0x37f8da;},'keySize':0x100/0x20});_0x30e1d3[_0x2a2f21(0x443)]=_0x2b9816['_createHelper'](_0x673bc);}()),_0x3b2658[_0x27bbfb(0x443)];}));}(fe)),fe[_0x1cb8c1(0x28a)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x3c6410(0x28a)],rt;function Vi(){var _0x81c82a=_0x3c6410;return rt||(rt=0x1,function(_0x772b9,_0x203354){(function(_0x18090b,_0x24441a){var _0x5c30ff=_0x5a65;_0x772b9[_0x5c30ff(0x28a)]=_0x24441a(Q());}(Fi,function(_0x5f5422){var _0x5df0d5=_0x5a65;return _0x5f5422[_0x5df0d5(0x246)][_0x5df0d5(0x175)];}));}(be)),be[_0x81c82a(0x28a)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){return st||(st=0x1,function(_0x3f1c28,_0x27529e){(function(_0x53d969,_0x2a4e30){var _0x9961f5=_0x5a65;_0x3f1c28[_0x9961f5(0x28a)]=_0x2a4e30(Q());}(Ki,function(_0x5c34dd){var _0x207d58=_0x5a65;return(function(){var _0x17103d=_0x5a65;if(typeof ArrayBuffer==_0x17103d(0x3bb)){var _0x55a18f=_0x5c34dd,_0x4e976c=_0x55a18f[_0x17103d(0x3ac)],_0x44876a=_0x4e976c[_0x17103d(0x2b8)],_0x40a37f=_0x44876a[_0x17103d(0x227)],_0xfd3017=_0x44876a[_0x17103d(0x227)]=function(_0x4a4a10){var _0x343b57=_0x17103d;if(_0x4a4a10 instanceof ArrayBuffer&&(_0x4a4a10=new Uint8Array(_0x4a4a10)),(_0x4a4a10 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4a4a10 instanceof Uint8ClampedArray||_0x4a4a10 instanceof Int16Array||_0x4a4a10 instanceof Uint16Array||_0x4a4a10 instanceof Int32Array||_0x4a4a10 instanceof Uint32Array||_0x4a4a10 instanceof Float32Array||_0x4a4a10 instanceof Float64Array)&&(_0x4a4a10=new Uint8Array(_0x4a4a10['buffer'],_0x4a4a10['byteOffset'],_0x4a4a10[_0x343b57(0x22b)])),_0x4a4a10 instanceof Uint8Array){for(var _0x215de2=_0x4a4a10['byteLength'],_0x475f0b=[],_0x4e4b30=0x0;_0x4e4b30<_0x215de2;_0x4e4b30++)_0x475f0b[_0x4e4b30>>>0x2]|=_0x4a4a10[_0x4e4b30]<<0x18-_0x4e4b30%0x4*0x8;_0x40a37f[_0x343b57(0x3db)](this,_0x475f0b,_0x215de2);}else _0x40a37f[_0x343b57(0x173)](this,arguments);};_0xfd3017[_0x17103d(0x2cd)]=_0x44876a;}}()),_0x5c34dd[_0x207d58(0x3ac)]['WordArray'];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0x4b3e91=_0x3c6410;return ot||(ot=0x1,function(_0x15fa56,_0x509a82){(function(_0x4d8a1b,_0x4a5594,_0x4035af){_0x15fa56['exports']=_0x4a5594(Q(),Ut());}(Ji,function(_0x349576){var _0x4550a7=_0x5a65;return _0x349576[_0x4550a7(0x2ed)][_0x4550a7(0x1de)]={'pad':function(){},'unpad':function(){}},_0x349576[_0x4550a7(0x2ed)]['NoPadding'];}));}(Oe)),Oe[_0x4b3e91(0x28a)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x4c809f,_0x1e1961){var _0x49658d=_0x3c6410;const _0x20158d=_0x1e1961-_0x4c809f[_0x49658d(0x44f)]%_0x1e1961,_0x327856=String[_0x49658d(0x37c)](_0x20158d)['repeat'](_0x20158d);return _0x4c809f+_0x327856;}function tn(_0x4eb8be,_0x29cb18){var _0x33c174=_0x3c6410;const _0x3c02bb=zi['random'](0x10),_0x245a83=en(_0x4eb8be,0x10),_0x1f7cd5=ji[_0x33c174(0x129)](Gi[_0x33c174(0x283)](_0x245a83),nt[_0x33c174(0x283)](_0x29cb18),{'iv':_0x3c02bb,'padding':Qi});return _0x3c02bb['concat'](_0x1f7cd5['ciphertext'])['toString'](nt);}function nn(){var _0x27e5f4=_0x3c6410;const _0x5732b7=wt[_0x27e5f4(0x2c7)]()['__Key__'];if(_0x5732b7){const _0x36a4e7={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x27e5f4(0x3b3)]};return tn(JSON[_0x27e5f4(0x244)](_0x36a4e7),_0x5732b7);}}var rn=Object[_0x3c6410(0x235)],sn=(_0x57a2b6,_0x290acc,_0x4975d7,_0x540740)=>{var _0x349c13=_0x3c6410;for(var _0x4b61d7=_0x540740>0x1?void 0x0:_0x540740?rn(_0x290acc,_0x4975d7):_0x290acc,_0x238fd5=_0x57a2b6[_0x349c13(0x44f)]-0x1,_0x13756c;_0x238fd5>=0x0;_0x238fd5--)(_0x13756c=_0x57a2b6[_0x238fd5])&&(_0x4b61d7=_0x13756c(_0x4b61d7)||_0x4b61d7);return _0x4b61d7;},on=(_0x673796,_0x4001d8)=>(_0x6d90ba,_0x359ff8)=>_0x4001d8(_0x6d90ba,_0x359ff8,_0x673796);let Ne=class{constructor(_0x2d48c1){var _0xb4a228=_0x3c6410;this[_0xb4a228(0x31e)]=_0x2d48c1,this['_initRequestHeader']();}[_0x3c6410(0x26b)](){var _0x595141=_0x3c6410;this[_0x595141(0x31e)][_0x595141(0x40d)]({'interceptor':(_0x27c40b,_0x32dd9a)=>{var _0x5a43e1=_0x595141;const _0x3db6b4=_0x27c40b[_0x5a43e1(0x143)],_0x329c80=nn();return _0x329c80&&_0x3db6b4[_0x5a43e1(0x1ee)](_0x5a43e1(0x294),_0x329c80),_0x32dd9a(_0x27c40b);}});}};Ne=sn([on(0x0,a[_0x3c6410(0x1f3)](Y[_0x3c6410(0x2fa)]))],Ne);var an=Object[_0x3c6410(0x235)],cn=(_0x3515a5,_0x3128ed,_0x4e0738,_0x208b26)=>{var _0x18f67e=_0x3c6410;for(var _0x5a2e83=_0x208b26>0x1?void 0x0:_0x208b26?an(_0x3128ed,_0x4e0738):_0x3128ed,_0x52240f=_0x3515a5[_0x18f67e(0x44f)]-0x1,_0x4f5bd1;_0x52240f>=0x0;_0x52240f--)(_0x4f5bd1=_0x3515a5[_0x52240f])&&(_0x5a2e83=_0x4f5bd1(_0x5a2e83)||_0x5a2e83);return _0x5a2e83;},we=(_0x5691b1,_0x128719)=>(_0x1ee041,_0x273481)=>_0x128719(_0x1ee041,_0x273481,_0x5691b1);exports[_0x3c6410(0x202)]=class extends a[_0x3c6410(0x23a)]{constructor(_0x43cdbe,_0x102cc9,_0x31dfc8){var _0x13da4e=_0x3c6410;super(),A(this,_0x13da4e(0x245),new $[(_0x13da4e(0x1c6))](null)),A(this,_0x13da4e(0x2a7),this['_unitInfo$'][_0x13da4e(0x1f9)]()),(this[_0x13da4e(0x315)]=_0x43cdbe,this['_snapshotService']=_0x102cc9,this[_0x13da4e(0x159)]=_0x31dfc8);}async[_0x3c6410(0x40c)](_0x535a04,_0x1b9b9e,_0x302e55){var _0x31f827=_0x3c6410;this[_0x31f827(0x245)][_0x31f827(0x33d)]({'unitId':_0x535a04,'type':_0x1b9b9e});let _0x472e47=null;switch(_0x1b9b9e){case J[_0x31f827(0x17f)]:{_0x472e47=await this[_0x31f827(0x157)][_0x31f827(0x314)](_0x535a04,_0x302e55);break;}case J[_0x31f827(0x2ac)]:{_0x472e47=await this[_0x31f827(0x157)]['loadDoc'](_0x535a04,_0x302e55);break;}default:{this[_0x31f827(0x315)][_0x31f827(0x233)](_0x31f827(0x11f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x472e47;}async[_0x3c6410(0x42e)](_0x4976b6,_0x835ea9,_0xb45f6f){var _0x11e31e=_0x3c6410,_0x65296b;this[_0x11e31e(0x245)][_0x11e31e(0x33d)]({'unitId':_0x4976b6,'type':_0x835ea9,'subUnitId':_0xb45f6f});let _0x54067f=0x0;const _0x7c1e6e=await((_0x65296b=this[_0x11e31e(0x159)])==null?void 0x0:_0x65296b[_0x11e31e(0x3fc)](_0x4976b6));return _0x7c1e6e&&(_0x7c1e6e['awaitingChangeset']||_0x7c1e6e[_0x11e31e(0x1f0)][_0x11e31e(0x44f)]!==0x0)&&(_0x54067f=_0x7c1e6e[_0x11e31e(0x3ab)]),_0x54067f===0x0&&this[_0x11e31e(0x315)][_0x11e31e(0x127)](_0x11e31e(0x11f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x11e31e(0x40c)](_0x4976b6,_0x835ea9,_0x54067f);}},exports['DataLoaderService']=cn([we(0x0,a[_0x3c6410(0x337)]),we(0x1,a[_0x3c6410(0x1f3)](I[_0x3c6410(0x257)])),we(0x2,a['Optional'](q))],exports[_0x3c6410(0x202)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0xb76c81,_0x364fa7,_0x58901d,_0x47ee62)=>{var _0x5a378f=_0x3c6410;for(var _0x173468=_0x47ee62>0x1?void 0x0:_0x47ee62?hn(_0x364fa7,_0x58901d):_0x364fa7,_0x5498ac=_0xb76c81[_0x5a378f(0x44f)]-0x1,_0x484f62;_0x5498ac>=0x0;_0x5498ac--)(_0x484f62=_0xb76c81[_0x5498ac])&&(_0x173468=_0x484f62(_0x173468)||_0x173468);return _0x173468;},Le=(_0x5b69cf,_0x537393)=>(_0x4bdeba,_0x4fa067)=>_0x537393(_0x4bdeba,_0x4fa067,_0x5b69cf);const ln=[_0x3c6410(0x2d4),_0x3c6410(0x20c),_0x3c6410(0x184),_0x3c6410(0x472),_0x3c6410(0x3ae)],un=0x5*0x400*0x400,dn=_0x3c6410(0x3e6),vn=_0x3c6410(0x239),Sn=_0x3c6410(0x2a4),fn=_0x3c6410(0x1e2);exports[_0x3c6410(0x39d)]=class{constructor(_0x5dc90e,_0x414d3e,_0x5270a9){var _0x526ba4=_0x3c6410;A(this,_0x526ba4(0x1c0),0x0),A(this,'_change$',new $[(_0x526ba4(0x1cd))]()),A(this,_0x526ba4(0x349),this['_change$']),A(this,_0x526ba4(0x2ae),new Map()),(this[_0x526ba4(0x31e)]=_0x5dc90e,this[_0x526ba4(0x2de)]=_0x414d3e,this[_0x526ba4(0x24e)]=_0x5270a9);}[_0x3c6410(0xff)](_0x2a93b1){var _0x547f34=_0x3c6410;this[_0x547f34(0x1c0)]=_0x2a93b1,this['_change$'][_0x547f34(0x33d)](_0x2a93b1);}['getImageSourceCache'](_0x2b6c6c,_0x490594){var _0xc2dd01=_0x3c6410;if(_0x490594===z['ImageSourceType'][_0xc2dd01(0x3da)]){const _0x1d1716=new Image();return _0x1d1716[_0xc2dd01(0x1e7)]=_0x2b6c6c,_0x1d1716;}return this['_imageSourceCache']['get'](_0x2b6c6c);}[_0x3c6410(0x1ec)](_0x54e522,_0x3a79f0,_0x50550c){var _0x4fa74d=_0x3c6410;_0x3a79f0===z[_0x4fa74d(0x1a7)][_0x4fa74d(0x3da)]||_0x50550c==null||this['_imageSourceCache'][_0x4fa74d(0x1ee)](_0x54e522,_0x50550c);}async[_0x3c6410(0x24f)](_0x2a6cfc){var _0x104bea=_0x3c6410;try{const _0x210cee=this[_0x104bea(0x479)](this[_0x104bea(0x3a7)](),''+_0x2a6cfc),_0x11d32f=(await this[_0x104bea(0x31e)]['get'](_0x210cee))[_0x104bea(0x1c7)];if(_0x11d32f[_0x104bea(0x233)]&&_0x11d32f[_0x104bea(0x233)]['code']===gt['OK']){const _0x2f2fee=new URL(_0x11d32f[_0x104bea(0x1ff)],this['_getDownloadEndpointURL']())[_0x104bea(0x384)]();return Promise[_0x104bea(0x28f)](_0x2f2fee);}return Promise[_0x104bea(0x40b)](_0x11d32f[_0x104bea(0x233)]);}catch(_0x500a98){return Promise['reject'](_0x500a98);}}async[_0x3c6410(0x316)](_0x36471a){var _0x306b02=_0x3c6410;let _0x512dfa='';if(!ln['includes'](_0x36471a[_0x306b02(0x2fd)]))return this[_0x306b02(0x1cf)](),Promise[_0x306b02(0x40b)](new Error(z[_0x306b02(0x1c1)][_0x306b02(0x124)]));if(_0x36471a[_0x306b02(0x32c)]>un)return this[_0x306b02(0x1cf)](),Promise[_0x306b02(0x40b)](new Error(z[_0x306b02(0x1c1)][_0x306b02(0x122)]));try{const _0x28c14e=new FormData();_0x28c14e[_0x306b02(0x2e7)](_0x306b02(0x224),_0x36471a);const _0x5585ee=this[_0x306b02(0x24e)]['getFocusedUnit'](),_0x29b2fd=_0x5585ee==null?void 0x0:_0x5585ee[_0x306b02(0x322)]();if(!_0x29b2fd)throw new Error(_0x306b02(0x361));const _0x9c9fdd=this[_0x306b02(0x261)]()+_0x306b02(0x141)+_0x36471a[_0x306b02(0x32c)][_0x306b02(0x384)]()+_0x306b02(0x2e9)+Et[_0x306b02(0x276)]+_0x306b02(0x2b1)+encodeURIComponent(_0x29b2fd),_0x5300ef={'body':_0x28c14e},_0x4be9b7=(await this[_0x306b02(0x31e)][_0x306b02(0x2e0)](_0x9c9fdd,_0x5300ef))[_0x306b02(0x1c7)];if(typeof _0x4be9b7[_0x306b02(0x3de)]!=_0x306b02(0x2c9))return this[_0x306b02(0x1cf)](),Promise[_0x306b02(0x40b)](new Error(z[_0x306b02(0x1c1)][_0x306b02(0x300)]));_0x512dfa=_0x4be9b7[_0x306b02(0x3de)];}catch{return this[_0x306b02(0x1cf)](),Promise['reject'](new Error(z[_0x306b02(0x1c1)]['ERROR_IMAGE']));}return new Promise((_0x58aad9,_0xf0c836)=>{var _0x335813=_0x306b02;const _0x19a38f=new FileReader();_0x19a38f[_0x335813(0x319)](_0x36471a),_0x19a38f['onload']=_0x1b0221=>{var _0x1555df=_0x335813,_0x4d70a0;const _0x415f30=(_0x4d70a0=_0x1b0221[_0x1555df(0x34b)])==null?void 0x0:_0x4d70a0[_0x1555df(0x31d)];if(_0x415f30==null){this['_decreaseWaiting'](),_0xf0c836(new Error(z[_0x1555df(0x1c1)]['ERROR_IMAGE']));return;}const _0x4c737c=a[_0x1555df(0x170)][_0x1555df(0x42c)](0x6);_0x58aad9({'imageId':_0x4c737c,'imageSourceType':z[_0x1555df(0x1a7)]['UUID'],'source':_0x512dfa,'base64Cache':_0x415f30,'status':z[_0x1555df(0x1c1)][_0x1555df(0x3d4)]}),this['_decreaseWaiting']();};});}[_0x3c6410(0x261)](){var _0x26c0d9=_0x3c6410,_0x3e077d,_0x4418ef;const _0x19693f=this[_0x26c0d9(0x2de)][_0x26c0d9(0x2b7)](dn),_0x5accba=this[_0x26c0d9(0x2de)][_0x26c0d9(0x2b7)](K);return(_0x4418ef=(_0x3e077d=_0x5accba==null?void 0x0:_0x5accba[_0x26c0d9(0x247)])!=null?_0x3e077d:_0x19693f)!=null?_0x4418ef:vn;}['_getSignURL'](){var _0x4d7938=_0x3c6410,_0x5abc78,_0x22cb98;const _0x210229=this[_0x4d7938(0x2de)][_0x4d7938(0x2b7)](Sn),_0x5981af=this[_0x4d7938(0x2de)][_0x4d7938(0x2b7)](K);return(_0x22cb98=(_0x5abc78=_0x5981af==null?void 0x0:_0x5981af[_0x4d7938(0x187)])!=null?_0x5abc78:_0x210229)!=null?_0x22cb98:fn;}['_getDownloadEndpointURL'](){var _0x2c04b3=_0x3c6410,_0x2f7147;const _0x432ed2=this['_configService']['getConfig'](K);return(_0x2f7147=_0x432ed2==null?void 0x0:_0x432ed2[_0x2c04b3(0x1eb)])!=null?_0x2f7147:location['origin'];}[_0x3c6410(0x479)](_0x1b9eb9,_0x7adcee){var _0x3701bc=_0x3c6410;return _0x1b9eb9[_0x3701bc(0x1b3)](_0x3701bc(0x192),_0x7adcee);}[_0x3c6410(0x1cf)](){var _0x25eb1e=_0x3c6410;this[_0x25eb1e(0x1c0)]-=0x1,this[_0x25eb1e(0x2fb)][_0x25eb1e(0x33d)](this[_0x25eb1e(0x1c0)]);}},exports[_0x3c6410(0x39d)]=_n([Le(0x0,a[_0x3c6410(0x1f3)](Y[_0x3c6410(0x2fa)])),Le(0x1,a['IConfigService']),Le(0x2,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x150)]))],exports[_0x3c6410(0x39d)]);var pn=Object[_0x3c6410(0x235)],In=(_0x34c906,_0x2e2fa6,_0x37cf76,_0x123fc3)=>{var _0x41a65f=_0x3c6410;for(var _0x246c68=_0x123fc3>0x1?void 0x0:_0x123fc3?pn(_0x2e2fa6,_0x37cf76):_0x2e2fa6,_0x25038a=_0x34c906[_0x41a65f(0x44f)]-0x1,_0x3bc573;_0x25038a>=0x0;_0x25038a--)(_0x3bc573=_0x34c906[_0x25038a])&&(_0x246c68=_0x3bc573(_0x246c68)||_0x246c68);return _0x246c68;},at=(_0x5a8212,_0x17b3eb)=>(_0x227c6f,_0x574633)=>_0x17b3eb(_0x227c6f,_0x574633,_0x5a8212);const gn=_0x3c6410(0x101);exports[_0x3c6410(0x3b7)]=class{constructor(_0x3cd0d1,_0xd3c3c9){var _0x42d3dc=_0x3c6410;this['_configService']=_0x3cd0d1,this[_0x42d3dc(0x358)]=_0xd3c3c9;}[_0x3c6410(0x100)](){var _0x2de41d=_0x3c6410,_0x34b3dd,_0x320a40;const _0x31be39=this['_configService'][_0x2de41d(0x2b7)](Ve),_0x51b47e=this['_configService'][_0x2de41d(0x2b7)](K);return(_0x320a40=(_0x34b3dd=_0x51b47e==null?void 0x0:_0x51b47e[_0x2de41d(0x23f)])!=null?_0x34b3dd:_0x31be39)!=null?_0x320a40:gn;}async[_0x3c6410(0x39f)](_0x130d0b){var _0x1e6a6e=_0x3c6410;const _0x4738c5=this[_0x1e6a6e(0x100)]()+_0x1e6a6e(0x29d);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1e6a6e(0x448)](_0x4738c5,{'params':{'objectID':_0x130d0b[_0x1e6a6e(0x1dc)],'unitID':_0x130d0b[_0x1e6a6e(0x1dc)]}}))['body'][_0x1e6a6e(0x2b3)][_0x1e6a6e(0x123)](_0x12935d=>({'objectId':_0x12935d['id'],'name':_0x12935d[_0x1e6a6e(0x230)][_0x1e6a6e(0x12b)],'metadata':{'icon':_0x12935d[_0x1e6a6e(0x230)][_0x1e6a6e(0x1da)]},'label':_0x12935d['subject']['name'],'objectType':a[_0x1e6a6e(0x385)]['PERSON']})),'metadata':{},'type':a[_0x1e6a6e(0x385)]['PERSON']}]};}},exports[_0x3c6410(0x3b7)]=In([at(0x0,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x2dd)])),at(0x1,a['Inject'](Y[_0x3c6410(0x2fa)]))],exports[_0x3c6410(0x3b7)]);var En=Object[_0x3c6410(0x235)],mn=(_0xa46c46,_0x27a17e,_0x33481c,_0x119cfd)=>{for(var _0x265306=_0x119cfd>0x1?void 0x0:_0x119cfd?En(_0x27a17e,_0x33481c):_0x27a17e,_0x11f468=_0xa46c46['length']-0x1,_0x16f149;_0x11f468>=0x0;_0x11f468--)(_0x16f149=_0xa46c46[_0x11f468])&&(_0x265306=_0x16f149(_0x265306)||_0x265306);return _0x265306;},le=(_0xfda2b7,_0x1e121f)=>(_0x293588,_0x14fd74)=>_0x1e121f(_0x293588,_0x14fd74,_0xfda2b7);let Ue=class extends a[_0x3c6410(0x23a)]{constructor(_0x30dc68,_0x27a1eb,_0x2c8b69,_0x1805e4,_0x500223){var _0x23141a=_0x3c6410;super(),this[_0x23141a(0x3ef)]=_0x30dc68,this[_0x23141a(0x24e)]=_0x27a1eb,this[_0x23141a(0x3cc)]=_0x2c8b69,this[_0x23141a(0x1e5)]=_0x1805e4,this[_0x23141a(0x20e)]=_0x500223,this[_0x23141a(0x2db)](),this[_0x23141a(0x292)]();}[_0x3c6410(0x292)](){var _0x1ea063=_0x3c6410;const _0x327339=async _0x45e68e=>{var _0xc98276=_0x5a65;(await this[_0xc98276(0x1e5)][_0xc98276(0x2e1)](_0x45e68e))[_0xc98276(0x329)]['pipe'](V[_0xc98276(0x1ea)](_0xf3a1c4=>_0xf3a1c4[_0xc98276(0x3d8)]===I[_0xc98276(0x43f)][_0xc98276(0x2cb)]),V[_0xc98276(0x23e)](this[_0xc98276(0x37f)]))['subscribe'](_0x348055=>{var _0x2cf063=_0xc98276;const _0x1cd7dc=_0x348055,{reason:_0xf9a9d4}=_0x1cd7dc['data'];this[_0x2cf063(0x20e)][_0x2cf063(0x331)]({'id':Z[_0x2cf063(0x3b8)],'data':_0xf9a9d4}),this['_permissionService']['updatePermissionPoint'](new X[(_0x2cf063(0x3c1))](_0x45e68e)['id'],!0x1),this[_0x2cf063(0x1e5)]['closeSession'](_0x45e68e);});};$[_0x1ea063(0x1ab)](this['_univerInstanceService'][_0x1ea063(0x23c)](a[_0x1ea063(0x464)]['UNIVER_SHEET']),this[_0x1ea063(0x24e)][_0x1ea063(0x23c)](a[_0x1ea063(0x464)][_0x1ea063(0x2ac)]))[_0x1ea063(0x37b)](V[_0x1ea063(0x123)](_0x20cba4=>_0x20cba4[_0x1ea063(0x322)]()),V['filter'](_0x37e2d9=>!a['isInternalEditorID'](_0x37e2d9)),V[_0x1ea063(0x23e)](this[_0x1ea063(0x37f)]))['subscribe'](_0x3836f3=>{_0x327339(_0x3836f3);});}[_0x3c6410(0x2db)](){var _0x278c98=_0x3c6410;const _0x283a42=async _0x524db0=>{var _0x3a4e11=_0x5a65;const _0x44ca2f=await this[_0x3a4e11(0x1e5)][_0x3a4e11(0x2e1)](_0x524db0),_0x3e5b0e=this[_0x3a4e11(0x3ef)][_0x3a4e11(0x448)](X[_0x3a4e11(0x228)]);_0x44ca2f['event$']['pipe'](V[_0x3a4e11(0x1ea)](_0x1a9706=>_0x1a9706[_0x3a4e11(0x3d8)]===I[_0x3a4e11(0x43f)][_0x3a4e11(0x28e)]),V[_0x3a4e11(0x23e)](this[_0x3a4e11(0x37f)]))['subscribe'](_0x1ab2c5=>{var _0x41cb70=_0x3a4e11;const _0x49732d=_0x1ab2c5,{objectId:_0x3d78c5}=_0x49732d[_0x41cb70(0x3a0)];_0x3d78c5===_0x524db0?_0x3e5b0e[_0x41cb70(0x1df)](_0x524db0):_0x3e5b0e[_0x41cb70(0x169)](_0x524db0,_0x3d78c5);});};$[_0x278c98(0x1ab)](this[_0x278c98(0x24e)][_0x278c98(0x23c)](a[_0x278c98(0x464)][_0x278c98(0x17f)]))[_0x278c98(0x37b)](V[_0x278c98(0x123)](_0x2b8e46=>_0x2b8e46[_0x278c98(0x322)]()),V[_0x278c98(0x1ea)](_0x7ca039=>!a['isInternalEditorID'](_0x7ca039)),V[_0x278c98(0x23e)](this[_0x278c98(0x37f)]))[_0x278c98(0x16f)](_0x888bf5=>{_0x283a42(_0x888bf5);});}};Ue=mn([le(0x0,a[_0x3c6410(0x1f3)](a[_0x3c6410(0x3a5)])),le(0x1,a[_0x3c6410(0x150)]),le(0x2,a[_0x3c6410(0x357)]),le(0x3,a[_0x3c6410(0x1f3)](exports[_0x3c6410(0x17e)])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x3c6410(0x235)],Tn=(_0x5491a4,_0xd9f702,_0x57ef27,_0x25a1e2)=>{for(var _0x3897b3=_0x25a1e2>0x1?void 0x0:_0x25a1e2?Cn(_0xd9f702,_0x57ef27):_0xd9f702,_0x57b14c=_0x5491a4['length']-0x1,_0x111574;_0x57b14c>=0x0;_0x57b14c--)(_0x111574=_0x5491a4[_0x57b14c])&&(_0x3897b3=_0x111574(_0x3897b3)||_0x3897b3);return _0x3897b3;},ct=(_0x33c14e,_0x48e186)=>(_0x364ff3,_0x23cebe)=>_0x48e186(_0x364ff3,_0x23cebe,_0x33c14e);exports[_0x3c6410(0x102)]=class{constructor(_0x3c7ce1,_0x46d37c){var _0x11e6eb=_0x3c6410;this[_0x11e6eb(0x2de)]=_0x3c7ce1,this[_0x11e6eb(0x31e)]=_0x46d37c;}async['getUnitOnRev'](_0x1985da,_0x1fa294){var _0x122f4f=_0x3c6410,_0x50a087;const {unitID:_0x519633,type:_0x2bac0c,revision:_0x20bc8c=0x0}=_0x1fa294,_0x559713=this[_0x122f4f(0x2b9)]()+'/'+_0x2bac0c+_0x122f4f(0x1bf)+_0x519633+_0x122f4f(0x39a)+_0x20bc8c,_0x2fa023=(await this[_0x122f4f(0x31e)]['get'](_0x559713))[_0x122f4f(0x1c7)],_0x5a0f07=(_0x50a087=_0x2fa023[_0x122f4f(0x1aa)])==null?void 0x0:_0x50a087[_0x122f4f(0x162)];if(_0x5a0f07){const _0x4fc172=_0x5a0f07==null?void 0x0:_0x5a0f07[_0x122f4f(0x115)],_0x4db268=I[_0x122f4f(0x219)][_0x122f4f(0x455)](I[_0x122f4f(0x2ce)](_0x4fc172));_0x5a0f07[_0x122f4f(0x115)]=_0x4db268,Object[_0x122f4f(0x38b)](_0x5a0f07['sheets'])['forEach'](([,_0x5dd749])=>{var _0x2fd0d3=_0x122f4f;const _0x541e0d=_0x5dd749['originalMeta'],_0x1075d4=I[_0x2fd0d3(0x219)][_0x2fd0d3(0x455)](I[_0x2fd0d3(0x2ce)](_0x541e0d));_0x5dd749['originalMeta']=_0x1075d4;});}return _0x2fa023;}async[_0x3c6410(0x12a)](_0x16f5eb,_0x3755b3){var _0x432573=_0x3c6410;const {unitID:_0x53786d,type:_0x179f77,blockID:_0x3bac15}=_0x3755b3,_0x2aaad6=this[_0x432573(0x3cb)]()+'/'+_0x179f77+_0x432573(0x1bf)+_0x53786d+_0x432573(0x180)+_0x3bac15;return(await this[_0x432573(0x31e)][_0x432573(0x448)](_0x2aaad6))[_0x432573(0x1c7)];}async['getDeserializedSheetBlock'](_0xca0046,_0x15a0d0){var _0x55dca9=_0x3c6410;const {unitID:_0x545f8e,type:_0x59a3a0,blockID:_0x455151}=_0x15a0d0,_0x5bc285=this[_0x55dca9(0x3cb)]()+'/block/'+_0x59a3a0+'/unit/'+_0x545f8e+_0x55dca9(0x180)+_0x455151;return(await this['_httpService'][_0x55dca9(0x448)](_0x5bc285))[_0x55dca9(0x1c7)];}async[_0x3c6410(0x14b)](_0xaca7ce,_0x3d98db){var _0x588523=_0x3c6410;const {unitID:_0x63d7e3,type:_0x501f46,from:_0x4fb182,to:_0x443051}=_0x3d98db,_0x302a4e=this['_getAPIPrefix']()+'/'+_0x501f46+_0x588523(0x1bf)+_0x63d7e3+_0x588523(0x3b9)+_0x4fb182+_0x588523(0x3ec)+_0x443051;return(await this[_0x588523(0x31e)][_0x588523(0x448)](_0x302a4e))[_0x588523(0x1c7)];}['getSnapshotAPIPath'](){var _0x1d8e9b=_0x3c6410,_0x16c72b;return(_0x16c72b=this['_configService'][_0x1d8e9b(0x2b7)](lt))!=null?_0x16c72b:this[_0x1d8e9b(0x3cb)]();}[_0x3c6410(0x3cb)](){var _0x114aec=_0x3c6410,_0x20709e,_0x4cb6e8;const _0x28d358=this[_0x114aec(0x2de)]['getConfig'](_t),_0x2622c2=this[_0x114aec(0x2de)][_0x114aec(0x2b7)](K);return(_0x4cb6e8=(_0x20709e=_0x2622c2==null?void 0x0:_0x2622c2[_0x114aec(0x370)])!=null?_0x20709e:_0x28d358)!=null?_0x4cb6e8:Lt;}async[_0x3c6410(0x113)](_0x3a8fc4,_0x40543a){var _0x16770c=_0x3c6410;const _0x3e970e=_0x16770c(0x487)+_0x40543a[_0x16770c(0x2fd)]+'/unit/'+_0x40543a[_0x16770c(0x45e)]+_0x16770c(0x372);return(await this[_0x16770c(0x31e)][_0x16770c(0x448)](_0x3e970e,{'params':{'resourceId':JSON[_0x16770c(0x244)](_0x40543a[_0x16770c(0x37e)])}}))[_0x16770c(0x1c7)];}[_0x3c6410(0x330)](){var _0x511e47=_0x3c6410;throw new Error(_0x511e47(0x391));}[_0x3c6410(0x353)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c6410(0x3b0)](){var _0x1671c2=_0x3c6410;throw new Error(_0x1671c2(0x391));}[_0x3c6410(0x10e)](){var _0x2d2914=_0x3c6410;throw new Error(_0x2d2914(0x391));}[_0x3c6410(0x416)](){var _0x5bf609=_0x3c6410;throw new Error(_0x5bf609(0x391));}[_0x3c6410(0x3d7)](){var _0x5ed85a=_0x3c6410;throw new Error(_0x5ed85a(0x391));}},exports[_0x3c6410(0x102)]=Tn([ct(0x0,a[_0x3c6410(0x2dd)]),ct(0x1,a[_0x3c6410(0x1f3)](Y[_0x3c6410(0x2fa)]))],exports[_0x3c6410(0x102)]);var bn=Object[_0x3c6410(0x235)],Rn=(_0x2f75a9,_0x375d1c,_0x4dad5b,_0x2d3c90)=>{var _0x56aa51=_0x3c6410;for(var _0x7a670=_0x2d3c90>0x1?void 0x0:_0x2d3c90?bn(_0x375d1c,_0x4dad5b):_0x375d1c,_0x100f2d=_0x2f75a9[_0x56aa51(0x44f)]-0x1,_0x7536c8;_0x100f2d>=0x0;_0x100f2d--)(_0x7536c8=_0x2f75a9[_0x100f2d])&&(_0x7a670=_0x7536c8(_0x7a670)||_0x7a670);return _0x7a670;},ue=(_0xb7d178,_0x2b1dc0)=>(_0x5bd6fd,_0x3377b7)=>_0x2b1dc0(_0x5bd6fd,_0x3377b7,_0xb7d178);exports[_0x3c6410(0x1b0)]=class extends a[_0x3c6410(0x31b)]{constructor(_0x499971,_0x2695d0,_0x1cec6f,_0x4a8a41,_0x211e67){var _0x1df7e9=_0x3c6410;super(_0x499971,_0x2695d0,_0x1cec6f),this['_transformService']=_0x4a8a41,this[_0x1df7e9(0x315)]=_0x211e67;}['transformUndoRedo'](_0x31b751,_0x4e25da){var _0x262245=_0x3c6410;const _0x51f13e=this[_0x262245(0x1e6)](_0x31b751);if(_0x51f13e)try{const _0x18ece1=this['_transformStack'](_0x51f13e,_0x4e25da);this[_0x262245(0x38f)](_0x31b751,_0x18ece1);}catch(_0xba2254){this[_0x262245(0x315)]['error'](_0x262245(0x32b),_0xba2254),this[_0x262245(0x21a)](_0x31b751);}const _0x59b5bb=this[_0x262245(0x1f5)](_0x31b751);if(_0x59b5bb)try{const _0x21fff2=this[_0x262245(0x193)](_0x59b5bb,_0x4e25da);this[_0x262245(0x164)](_0x31b751,_0x21fff2);}catch(_0x42018c){this[_0x262245(0x315)]['error'](_0x42018c),this[_0x262245(0x1b5)](_0x31b751);}}[_0x3c6410(0x21a)](_0x295337){var _0xc7a52b=_0x3c6410;const _0x1b7245=this[_0xc7a52b(0x1e6)](_0x295337);_0x1b7245&&(_0x1b7245[_0xc7a52b(0x44f)]=0x0,this[_0xc7a52b(0x23b)]());}[_0x3c6410(0x1b5)](_0x56f23e){var _0x924e1f=_0x3c6410;const _0x12019c=this[_0x924e1f(0x1f5)](_0x56f23e);_0x12019c&&(_0x12019c[_0x924e1f(0x44f)]=0x0,this[_0x924e1f(0x23b)]());}[_0x3c6410(0x38f)](_0x130f9b,_0x49ef2c){var _0x7582a5=_0x3c6410;this[_0x7582a5(0x3f0)]['set'](_0x130f9b,_0x49ef2c),this[_0x7582a5(0x23b)]();}['_substituteRedoStack'](_0x2edcc9,_0x5047b7){var _0x3c7953=_0x3c6410;this[_0x3c7953(0x373)][_0x3c7953(0x1ee)](_0x2edcc9,_0x5047b7),this[_0x3c7953(0x23b)]();}[_0x3c6410(0x193)](_0x16d764,_0x212f60){var _0x28eda5=_0x3c6410;const _0x11b9b5=[];let _0x59e936=_0x212f60,_0x1c9363=_0x212f60;for(let _0xa9176a=_0x16d764[_0x28eda5(0x44f)]-0x1;_0xa9176a>=0x0;_0xa9176a--){const {unitID:_0x30cbf7,undoMutations:_0x3252be,redoMutations:_0x391890}=_0x16d764[_0xa9176a],_0x48945c=this['_transformService'][_0x28eda5(0x1b6)](_0x59e936,_0x3252be),_0x49bdab=this['_transformService']['transformMutationsWithChangeset'](_0x1c9363,_0x391890);if(I[_0x28eda5(0x3bc)](_0x48945c)||I[_0x28eda5(0x3bc)](_0x49bdab)){this[_0x28eda5(0x315)][_0x28eda5(0x233)](_0x28eda5(0x32b),_0x28eda5(0x29e),_0x48945c,_0x49bdab);break;}_0x59e936=_0x48945c['c1Prime'],_0x1c9363=_0x49bdab[_0x28eda5(0x1bd)],_0x11b9b5['push']({'unitID':_0x30cbf7,'undoMutations':_0x48945c['m2Prime'],'redoMutations':_0x49bdab['m2Prime']});}return _0x11b9b5[_0x28eda5(0x3e3)]();}},exports[_0x3c6410(0x1b0)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x3c6410(0x44d)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x3c6410(0x40a)]),ue(0x4,a[_0x3c6410(0x337)])],exports[_0x3c6410(0x1b0)]);var On=Object[_0x3c6410(0x1c9)],yn=Object[_0x3c6410(0x235)],Nn=(_0x280062,_0x548cc3,_0xe3c81e)=>_0x548cc3 in _0x280062?On(_0x280062,_0x548cc3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe3c81e}):_0x280062[_0x548cc3]=_0xe3c81e,Un=(_0x3e8998,_0x4446c5,_0x4f9655,_0x3e152f)=>{var _0x4e3c31=_0x3c6410;for(var _0x4692fe=_0x3e152f>0x1?void 0x0:_0x3e152f?yn(_0x4446c5,_0x4f9655):_0x4446c5,_0x1de40a=_0x3e8998[_0x4e3c31(0x44f)]-0x1,_0x58dbe1;_0x1de40a>=0x0;_0x1de40a--)(_0x58dbe1=_0x3e8998[_0x1de40a])&&(_0x4692fe=_0x58dbe1(_0x4692fe)||_0x4692fe);return _0x4692fe;},Me=(_0x640229,_0xf89153)=>(_0x2d204e,_0x302097)=>_0xf89153(_0x2d204e,_0x302097,_0x640229),Dn=(_0x369d9e,_0x553de9,_0x1ee8a3)=>Nn(_0x369d9e,_0x553de9+'',_0x1ee8a3);const An=_0x3c6410(0x2ab);exports[_0x3c6410(0x269)]=class extends a[_0x3c6410(0x19c)]{constructor(_0x261062,_0x1fafad,_0x205cd6,_0x578f0f){var _0x2e3951=_0x3c6410;super(),A(this,'_config'),(this[_0x2e3951(0x315)]=_0x1fafad,this['_injector']=_0x205cd6,this[_0x2e3951(0x2de)]=_0x578f0f);const {..._0x5c55c3}=a['merge']({},Yt,_0x261062);if(!_0x5c55c3[_0x2e3951(0x190)])throw new Error(_0x2e3951(0x34f));this['_config']=_0x5c55c3,this['_configService'][_0x2e3951(0x27b)](K,_0x5c55c3);}[_0x3c6410(0x328)](){var _0x2652f3=_0x3c6410;this[_0x2652f3(0x2b2)](),this[_0x2652f3(0x360)]();}[_0x3c6410(0x2b2)](){var _0x28deec=_0x3c6410,_0x33cf7e,_0x3b5498;this['_injector']['has'](a[_0x28deec(0x10d)])&&this['_logService'][_0x28deec(0x233)](_0x28deec(0x1e9),_0x28deec(0x2a8));const _0x5d38f3=a['mergeOverrideWithDependencies']([[a[_0x28deec(0x10d)],{'useClass':exports[_0x28deec(0x1b0)]}],[exports[_0x28deec(0x17e)]],[exports[_0x28deec(0x167)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x28deec(0x202)]],[He,{'useClass':this[_0x28deec(0x203)][_0x28deec(0x190)]}],[I[_0x28deec(0x2ba)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x28deec(0x37d)]}],[z[_0x28deec(0x347)],{'useClass':exports[_0x28deec(0x39d)]}],[a['IMentionIOService'],{'useClass':exports[_0x28deec(0x3b7)]}],[exports[_0x28deec(0x1cb)]],[xe]],(_0x33cf7e=this['_config'])==null?void 0x0:_0x33cf7e[_0x28deec(0x3af)]);if(!((_0x3b5498=this[_0x28deec(0x203)])!=null&&_0x3b5498[_0x28deec(0x364)])){const _0x1672f2=_0x5d38f3[_0x28deec(0x28b)](([_0x1fb74a])=>_0x1fb74a===de);_0x1672f2!==-0x1&&_0x5d38f3[_0x28deec(0x396)](_0x1672f2,0x1);}a[_0x28deec(0x44e)](this[_0x28deec(0x3ef)],_0x5d38f3);}[_0x3c6410(0x360)](){var _0x785dae=_0x3c6410,_0x1cc6d7,_0x385cfc,_0x32f4b1;this[_0x785dae(0x3ef)][_0x785dae(0x448)](Y['HTTPService'])[_0x785dae(0x40d)]({'priority':0x14,'interceptor':Y[_0x785dae(0x3c6)]({'maxParallel':0x6})}),(_0x1cc6d7=this[_0x785dae(0x203)])!=null&&_0x1cc6d7[_0x785dae(0x2bc)]||(_0x385cfc=this[_0x785dae(0x3ef)]['get'](q,a['Quantity'][_0x785dae(0x253)]))==null||_0x385cfc[_0x785dae(0x2af)](),(_0x32f4b1=this[_0x785dae(0x203)])!=null&&_0x32f4b1[_0x785dae(0x449)]&&a[_0x785dae(0x1c8)](this[_0x785dae(0x3ef)],[[ye]]),a[_0x785dae(0x1c8)](this['_injector'],[[Ne],[exports[_0x785dae(0x1cb)]],[Ue]]);}},Dn(exports[_0x3c6410(0x269)],_0x3c6410(0x458),An),exports[_0x3c6410(0x269)]=Un([a['DependentOn'](I[_0x3c6410(0x45f)],Y[_0x3c6410(0x33a)]),Me(0x1,a[_0x3c6410(0x337)]),Me(0x2,a['Inject'](a[_0x3c6410(0x3a5)])),Me(0x3,a['IConfigService'])],exports[_0x3c6410(0x269)]),exports[_0x3c6410(0x2e8)]=Ve,exports[_0x3c6410(0x3fe)]=K,exports[_0x3c6410(0x18e)]=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x3c6410(0x3f7)]=Be,exports[_0x3c6410(0x3ee)]=Z,exports[_0x3c6410(0x21f)]=ee,exports[_0x3c6410(0x266)]=$e,exports[_0x3c6410(0x3d3)]=dt,exports[_0x3c6410(0x284)]=Kt,exports[_0x3c6410(0x24c)]=kt,exports[_0x3c6410(0x25b)]=vt,exports[_0x3c6410(0x41b)]=ke,exports['ICollaborationSocketService']=He,exports[_0x3c6410(0x333)]=q,exports['INetworkConditionService']=mt,exports[_0x3c6410(0x434)]=de,exports[_0x3c6410(0x10f)]=Ft,exports[_0x3c6410(0x354)]=Bt,exports[_0x3c6410(0x16d)]=It,exports[_0x3c6410(0xfa)]=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports[_0x3c6410(0x3e7)]=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports[_0x3c6410(0x380)]=lt,exports[_0x3c6410(0x2e3)]=re,exports[_0x3c6410(0xfc)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x3c6410(0x142)]=oi,exports[_0x3c6410(0x486)]=Tt;
|