@univerjs-pro/collaboration-client 0.15.2 → 0.15.3-insiders.20260131-b9b8805
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -0
- 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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -0
- 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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -0
- 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/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -0
- 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 +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x4216d1=_0x9f6e;(function(_0x175b8b,_0x175586){var _0x4315a5=_0x9f6e,_0x5ba49d=_0x175b8b();while(!![]){try{var _0x1eb589=parseInt(_0x4315a5(0xbd))/0x1*(parseInt(_0x4315a5(0x3e6))/0x2)+parseInt(_0x4315a5(0x11d))/0x3+-parseInt(_0x4315a5(0x2b2))/0x4+-parseInt(_0x4315a5(0x167))/0x5+-parseInt(_0x4315a5(0x1f5))/0x6*(parseInt(_0x4315a5(0x121))/0x7)+-parseInt(_0x4315a5(0x21b))/0x8+-parseInt(_0x4315a5(0x109))/0x9*(-parseInt(_0x4315a5(0x2fc))/0xa);if(_0x1eb589===_0x175586)break;else _0x5ba49d['push'](_0x5ba49d['shift']());}catch(_0x4b86ef){_0x5ba49d['push'](_0x5ba49d['shift']());}}}(_0x5ef4,0x8f7fc));var bt=Object[_0x4216d1(0x1a5)],Rt=(_0x2b8761,_0x1e883e,_0x22aef2)=>_0x1e883e in _0x2b8761?bt(_0x2b8761,_0x1e883e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22aef2}):_0x2b8761[_0x1e883e]=_0x22aef2,A=(_0x43e947,_0x43da8a,_0x36c173)=>Rt(_0x43e947,typeof _0x43da8a!=_0x4216d1(0x7d)?_0x43da8a+'':_0x43da8a,_0x36c173);Object[_0x4216d1(0x1a5)](exports,Symbol['toStringTag'],{'value':_0x4216d1(0x3f6)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt='/universer-api/snapshot',Ut='SNAPSHOT_URL_KEY',At=0x7d0,_t=_0x4216d1(0x240),Pt=_0x4216d1(0x1e7),ht=_0x4216d1(0x245),Lt=0x7530,ke=_0x4216d1(0x266),lt=0x4e20,Mt=0x4e20,ut=_0x4216d1(0x2ce),wt=0x3,xt=_0x4216d1(0x3a3),kt=0x3e8,$t='/universer-api/comb',Ht='/universer-api/oidc/authpage',jt=_0x4216d1(0xce),Bt='/universer-api/uniscript';var vt=(_0x47897e=>(_0x47897e[_0x47897e[_0x4216d1(0xe0)]=0x0]='UNDEFINED',_0x47897e[_0x47897e['OK']=0x1]='OK',_0x47897e[_0x47897e[_0x4216d1(0x34e)]=0x2]=_0x4216d1(0x34e),_0x47897e[_0x47897e['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x47897e[_0x47897e[_0x4216d1(0x1f7)]=0x4]=_0x4216d1(0x1f7),_0x47897e[_0x47897e[_0x4216d1(0x284)]=0x5]='UNAUTHENTICATED',_0x47897e[_0x47897e['ALREADY_EXISTS']=0x6]=_0x4216d1(0xd7),_0x47897e[_0x47897e[_0x4216d1(0x342)]=0x7]=_0x4216d1(0x342),_0x47897e[_0x47897e[_0x4216d1(0x1db)]=0x8]=_0x4216d1(0x1db),_0x47897e[_0x47897e['COMPLETION_FINISHED']=0x9]=_0x4216d1(0x307),_0x47897e[_0x47897e[_0x4216d1(0xf2)]=0xa]='LOGIN_FAILED',_0x47897e[_0x47897e[_0x4216d1(0xf9)]=0xb]=_0x4216d1(0xf9),_0x47897e[_0x47897e[_0x4216d1(0x38a)]=0xc]=_0x4216d1(0x38a),_0x47897e[_0x47897e[_0x4216d1(0x38c)]=0xd]=_0x4216d1(0x38c),_0x47897e[_0x47897e[_0x4216d1(0x3a9)]=0xe]=_0x4216d1(0x3a9),_0x47897e[_0x47897e[_0x4216d1(0x317)]=0xf]=_0x4216d1(0x317),_0x47897e[_0x47897e[_0x4216d1(0x2cc)]=0x10]=_0x4216d1(0x2cc),_0x47897e[_0x47897e[_0x4216d1(0x18d)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x47897e[_0x47897e[_0x4216d1(0x98)]=0x65]='ERROR_AGAIN',_0x47897e[_0x47897e[_0x4216d1(0x372)]=0xc9]=_0x4216d1(0x372),_0x47897e[_0x47897e['USER_IS_ANONYMOUS']=0xca]=_0x4216d1(0x356),_0x47897e[_0x47897e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4216d1(0x2f7),_0x47897e[_0x47897e[_0x4216d1(0xec)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x47897e[_0x47897e[_0x4216d1(0x315)]=0x1772]=_0x4216d1(0x315),_0x47897e[_0x47897e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4216d1(0x2d4),_0x47897e[_0x47897e[_0x4216d1(0x16c)]=0x1b59]=_0x4216d1(0x16c),_0x47897e[_0x47897e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4216d1(0x3f7),_0x47897e[_0x47897e[_0x4216d1(0x390)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x47897e[_0x47897e[_0x4216d1(0xcb)]=0x1b5c]=_0x4216d1(0xcb),_0x47897e[_0x47897e['APPLY_DUPLICATED']=0x1b5d]=_0x4216d1(0x3ad),_0x47897e[_0x47897e[_0x4216d1(0x1f8)]=0x1f41]=_0x4216d1(0x1f8),_0x47897e[_0x47897e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4216d1(0xcd),_0x47897e[_0x47897e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4216d1(0x277),_0x47897e[_0x47897e[_0x4216d1(0xf7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x47897e[_0x47897e[_0x4216d1(0x191)]=0x232c]=_0x4216d1(0x191),_0x47897e[_0x47897e[_0x4216d1(0x385)]=0x232d]=_0x4216d1(0x385),_0x47897e[_0x47897e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x47897e[_0x47897e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4216d1(0x21d),_0x47897e[_0x47897e[_0x4216d1(0x100)]=0x2713]=_0x4216d1(0x100),_0x47897e[_0x47897e[_0x4216d1(0x292)]=0x2714]=_0x4216d1(0x292),_0x47897e[_0x47897e[_0x4216d1(0xaf)]=0x271a]=_0x4216d1(0xaf),_0x47897e[_0x47897e[_0x4216d1(0x83)]=0x271b]=_0x4216d1(0x83),_0x47897e[_0x47897e[_0x4216d1(0xc1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x47897e[_0x47897e[_0x4216d1(0x1f4)]=0x271d]=_0x4216d1(0x1f4),_0x47897e[_0x47897e[_0x4216d1(0x2af)]=0x271e]=_0x4216d1(0x2af),_0x47897e[_0x47897e[_0x4216d1(0x35c)]=0x271f]=_0x4216d1(0x35c),_0x47897e[_0x47897e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4216d1(0x90),_0x47897e[_0x47897e[_0x4216d1(0x1d8)]=0x2af9]=_0x4216d1(0x1d8),_0x47897e[_0x47897e[_0x4216d1(0x40f)]=0x2ee1]=_0x4216d1(0x40f),_0x47897e[_0x47897e[_0x4216d1(0x34a)]=0x2ee2]='INVALID_INVITE_CODE',_0x47897e[_0x47897e[_0x4216d1(0x39f)]=0x2ee3]=_0x4216d1(0x39f),_0x47897e[_0x47897e[_0x4216d1(0x3f9)]=0x2ee4]=_0x4216d1(0x3f9),_0x47897e[_0x47897e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4216d1(0x1de),_0x47897e[_0x47897e[_0x4216d1(0x21f)]=0x32c9]=_0x4216d1(0x21f),_0x47897e[_0x47897e[_0x4216d1(0xa9)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x47897e[_0x47897e[_0x4216d1(0x119)]=0x32cb]=_0x4216d1(0x119),_0x47897e[_0x47897e[_0x4216d1(0x2cd)]=0x36b1]=_0x4216d1(0x2cd),_0x47897e[_0x47897e[_0x4216d1(0x268)]=0x36b2]=_0x4216d1(0x268),_0x47897e[_0x47897e[_0x4216d1(0x20f)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x47897e[_0x47897e[_0x4216d1(0x22e)]=0x36b4]=_0x4216d1(0x22e),_0x47897e[_0x47897e[_0x4216d1(0x222)]=0x36b5]=_0x4216d1(0x222),_0x47897e[_0x47897e[_0x4216d1(0x114)]=0x36b6]=_0x4216d1(0x114),_0x47897e[_0x47897e[_0x4216d1(0x3dc)]=0x36b7]=_0x4216d1(0x3dc),_0x47897e[_0x47897e['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x4216d1(0x24a),_0x47897e[_0x47897e[_0x4216d1(0x23f)]=0x3715]=_0x4216d1(0x23f),_0x47897e[_0x47897e['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x4216d1(0x39b),_0x47897e[_0x47897e[_0x4216d1(0x1be)]=0x3717]=_0x4216d1(0x1be),_0x47897e[_0x47897e[_0x4216d1(0x9c)]=0x37dd]=_0x4216d1(0x9c),_0x47897e[_0x47897e[_0x4216d1(0x380)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x47897e[_0x47897e[_0x4216d1(0x113)]=0x3a9a]=_0x4216d1(0x113),_0x47897e[_0x47897e[_0x4216d1(0x1a7)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x47897e[_0x47897e[_0x4216d1(0x29d)]=0x3a9c]=_0x4216d1(0x29d),_0x47897e[_0x47897e[_0x4216d1(0x3cd)]=0x3a9d]=_0x4216d1(0x3cd),_0x47897e[_0x47897e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x47897e[_0x47897e[_0x4216d1(0x14d)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x47897e[_0x47897e[_0x4216d1(0x1ee)]=0x3e81]=_0x4216d1(0x1ee),_0x47897e[_0x47897e['UNRECOGNIZED']=-0x1]=_0x4216d1(0x337),_0x47897e))(vt||{}),X=(_0x195d2c=>(_0x195d2c[_0x195d2c['UNIVER_UNKNOWN']=0x0]=_0x4216d1(0x230),_0x195d2c[_0x195d2c['UNIVER_DOC']=0x1]=_0x4216d1(0x27d),_0x195d2c[_0x195d2c[_0x4216d1(0xb3)]=0x2]='UNIVER_SHEET',_0x195d2c[_0x195d2c[_0x4216d1(0xeb)]=0x3]=_0x4216d1(0xeb),_0x195d2c[_0x195d2c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x195d2c[_0x195d2c['UNRECOGNIZED']=-0x1]=_0x4216d1(0x337),_0x195d2c))(X||{}),W=(_0xbfd5b0=>(_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x411)]=0x0]='UNKNOWN_CMD',_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x183)]=0x1]=_0x4216d1(0x183),_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x136)]=0x2]=_0x4216d1(0x136),_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x158)]=0x3]=_0x4216d1(0x158),_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x10e)]=0x4]=_0x4216d1(0x10e),_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x214)]=0x5]=_0x4216d1(0x214),_0xbfd5b0[_0xbfd5b0[_0x4216d1(0xf6)]=0x6]='RECV',_0xbfd5b0[_0xbfd5b0[_0x4216d1(0x337)]=-0x1]=_0x4216d1(0x337),_0xbfd5b0))(W||{}),re=(_0x4c6caf=>(_0x4c6caf[_0x4c6caf[_0x4216d1(0x291)]=0x0]=_0x4216d1(0x291),_0x4c6caf[_0x4c6caf['OK']=0x1]='OK',_0x4c6caf[_0x4c6caf[_0x4216d1(0x37c)]=0x2]=_0x4216d1(0x37c),_0x4c6caf[_0x4c6caf[_0x4216d1(0x2a5)]=0x3e9]='JOIN_ROOM_FULL',_0x4c6caf[_0x4c6caf[_0x4216d1(0xa4)]=0x3ea]=_0x4216d1(0xa4),_0x4c6caf[_0x4c6caf['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4c6caf[_0x4c6caf[_0x4216d1(0x1a2)]=0x3ec]=_0x4216d1(0x1a2),_0x4c6caf[_0x4c6caf[_0x4216d1(0x337)]=-0x1]='UNRECOGNIZED',_0x4c6caf))(re||{}),dt=(_0x459541=>(_0x459541[_0x459541[_0x4216d1(0x2c5)]=0x0]=_0x4216d1(0x2c5),_0x459541[_0x459541[_0x4216d1(0x2b3)]=0x1]='HttpImport',_0x459541[_0x459541[_0x4216d1(0x397)]=0x2]=_0x4216d1(0x397),_0x459541[_0x459541[_0x4216d1(0x164)]=0x3]=_0x4216d1(0x164),_0x459541[_0x459541[_0x4216d1(0xb6)]=0x4]=_0x4216d1(0xb6),_0x459541[_0x459541['UserProfileImg']=0x5]=_0x4216d1(0x3d7),_0x459541[_0x459541[_0x4216d1(0x23b)]=0x6]='ClipsheetFragments',_0x459541[_0x459541[_0x4216d1(0x337)]=-0x1]=_0x4216d1(0x337),_0x459541))(dt||{});const Ft=_0x4216d1(0x294);function Vt(_0x1db9da){var _0x55086b=_0x4216d1;return JSON[_0x55086b(0x25d)](_0x1db9da)[_0x55086b(0x189)];}var J=(_0x2148db=>(_0x2148db[_0x4216d1(0x330)]=_0x4216d1(0x330),_0x2148db[_0x4216d1(0x354)]='PERMISSION_DENIED',_0x2148db[_0x4216d1(0x331)]=_0x4216d1(0x331),_0x2148db[_0x4216d1(0x3db)]=_0x4216d1(0x3db),_0x2148db[_0x4216d1(0x2f9)]=_0x4216d1(0x2f9),_0x2148db[_0x4216d1(0x2b7)]=_0x4216d1(0x2b7),_0x2148db['SOCKET_FAILED']='SOCKET_FAILED',_0x2148db['SUBMIT_CHANGESET_TIMEOUT']=_0x4216d1(0x195),_0x2148db))(J||{});class ee{constructor(){var _0x3a2557=_0x4216d1;A(this,_0x3a2557(0x2e1),new j[(_0x3a2557(0x148))]()),A(this,_0x3a2557(0x37f),this[_0x3a2557(0x2e1)][_0x3a2557(0xf4)]());}['emitEvent'](_0x4e9c72){var _0x1c711f=_0x4216d1;this[_0x1c711f(0x2e1)][_0x1c711f(0x219)](_0x4e9c72);}}class $e{constructor(){var _0x18b0e0=_0x4216d1;A(this,_0x18b0e0(0x2e3),new j[(_0x18b0e0(0x148))]()),A(this,_0x18b0e0(0x295),this[_0x18b0e0(0x2e3)][_0x18b0e0(0xf4)]());}[_0x4216d1(0x2e4)](_0x5357c9){var _0x542d1f=_0x4216d1;this[_0x542d1f(0x2e3)][_0x542d1f(0x219)](_0x5357c9);}}var Wt=Object[_0x4216d1(0x367)],Gt=(_0x1816d2,_0x1c5b8d,_0x4ccf73,_0x3955b4)=>{var _0x1152c9=_0x4216d1;for(var _0x570b7a=_0x3955b4>0x1?void 0x0:_0x3955b4?Wt(_0x1c5b8d,_0x4ccf73):_0x1c5b8d,_0x5881b9=_0x1816d2[_0x1152c9(0x189)]-0x1,_0x44e3f0;_0x5881b9>=0x0;_0x5881b9--)(_0x44e3f0=_0x1816d2[_0x5881b9])&&(_0x570b7a=_0x44e3f0(_0x570b7a)||_0x570b7a);return _0x570b7a;},Ve=(_0x1b6b8b,_0x1c6399)=>(_0x3022fb,_0xd3b7f9)=>_0x1c6399(_0x3022fb,_0xd3b7f9,_0x1b6b8b);exports[_0x4216d1(0x3f1)]=class extends o[_0x4216d1(0x1fc)]{constructor(_0x66a3e8,_0x14fdb6){var _0x3d9c0f=_0x4216d1;super(),A(this,'_roomMembers',new Map()),A(this,_0x3d9c0f(0x1dd),new j[(_0x3d9c0f(0x148))]()),(this[_0x3d9c0f(0x215)]=_0x66a3e8,this[_0x3d9c0f(0x11b)]=_0x14fdb6,this[_0x3d9c0f(0x1ab)](j['merge'](this[_0x3d9c0f(0x215)][_0x3d9c0f(0x216)](o[_0x3d9c0f(0x352)][_0x3d9c0f(0xb3)])[_0x3d9c0f(0x91)](V['map'](_0xfcad5f=>_0xfcad5f[_0x3d9c0f(0x3d0)]())),this[_0x3d9c0f(0x215)][_0x3d9c0f(0x216)](o[_0x3d9c0f(0x352)][_0x3d9c0f(0x27d)])[_0x3d9c0f(0x91)](V[_0x3d9c0f(0x131)](_0x37de38=>_0x37de38[_0x3d9c0f(0x3d0)]())),this[_0x3d9c0f(0x215)][_0x3d9c0f(0x216)](o[_0x3d9c0f(0x352)][_0x3d9c0f(0xeb)])[_0x3d9c0f(0x91)](V[_0x3d9c0f(0x131)](_0x6ec72e=>_0x6ec72e[_0x3d9c0f(0x3d0)]())))[_0x3d9c0f(0x19a)](_0x1cb11a=>this[_0x3d9c0f(0x235)](_0x1cb11a))));}[_0x4216d1(0x20e)](_0x1bb6a0){var _0x1d77f3=_0x4216d1;return this[_0x1d77f3(0x2ad)]['has'](_0x1bb6a0)?j['of'](this['_roomMembers'][_0x1d77f3(0x2a1)](_0x1bb6a0)):this[_0x1d77f3(0x1dd)][_0x1d77f3(0x91)](V[_0x1d77f3(0x131)](_0x41cf40=>{var _0x2ecc9c=_0x1d77f3;if(_0x41cf40===_0x1bb6a0)return this[_0x2ecc9c(0x2ad)][_0x2ecc9c(0x2a1)](_0x41cf40);}));}[_0x4216d1(0xa7)](_0x30e091){var _0x1bd871=_0x4216d1;this[_0x1bd871(0x11b)]['setCurrentUser'](_0x30e091);}[_0x4216d1(0x3ef)](){var _0x115c3a=_0x4216d1;return this['_userManagerService'][_0x115c3a(0x3ef)]();}[_0x4216d1(0x1e4)](_0x3bccc8,_0xa2aced){var _0xba2756=_0x4216d1;let _0x818690=this[_0xba2756(0x2ad)]['get'](_0x3bccc8);_0x818690||(_0x818690=new Yt(),this[_0xba2756(0x2ad)][_0xba2756(0x16d)](_0x3bccc8,_0x818690),this[_0xba2756(0x1dd)][_0xba2756(0x219)](_0x3bccc8)),_0x818690[_0xba2756(0x1e4)](_0xa2aced);}[_0x4216d1(0x24e)](_0x568150,_0x29daac){var _0x38e509=_0x4216d1;const _0x5a696e=this[_0x38e509(0x2ad)][_0x38e509(0x2a1)](_0x568150);_0x5a696e&&_0x5a696e[_0x38e509(0x24e)](_0x29daac);}[_0x4216d1(0x1c8)](_0x2552e5){var _0x3c8c4f=_0x4216d1;return this[_0x3c8c4f(0x2ad)]['get'](_0x2552e5);}[_0x4216d1(0x361)](_0x2639ae,_0x14414e){var _0xf0cbae=_0x4216d1;const _0x4dabc1=this[_0xf0cbae(0x2ad)][_0xf0cbae(0x2a1)](_0x2639ae);if(_0x4dabc1)return _0x4dabc1[_0xf0cbae(0x361)](_0x14414e);}[_0x4216d1(0x235)](_0x247277){var _0x4ce620=_0x4216d1;const _0x150bde=this['_roomMembers']['get'](_0x247277);_0x150bde&&(_0x150bde['dispose'](),this[_0x4ce620(0x2ad)][_0x4ce620(0x323)](_0x247277));}[_0x4216d1(0x2da)](){var _0x379280=_0x4216d1;this[_0x379280(0x2ad)]['forEach'](_0x2cdcf7=>_0x2cdcf7[_0x379280(0x2da)]()),this['_roomMembers'][_0x379280(0x37e)](),this[_0x379280(0x1dd)][_0x379280(0x128)]();}},exports['MemberService']=Gt([Ve(0x0,o[_0x4216d1(0xf3)]),Ve(0x1,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x326)]))],exports[_0x4216d1(0x3f1)]);class Yt extends o['Disposable']{constructor(){var _0x35fafa=_0x4216d1;super(...arguments),A(this,_0x35fafa(0x16e),new Map()),A(this,_0x35fafa(0x2e2),new j[(_0x35fafa(0x2c1))](this[_0x35fafa(0x16e)])),A(this,_0x35fafa(0x3ca),this[_0x35fafa(0x2e2)]['asObservable']());}['dispose'](){var _0x1d7433=_0x4216d1;this[_0x1d7433(0x16e)][_0x1d7433(0x37e)]();}['updateMember'](_0x27a0d1){var _0xf2f05f=_0x4216d1;this[_0xf2f05f(0x16e)][_0xf2f05f(0x16d)](_0x27a0d1[_0xf2f05f(0x9f)],_0x27a0d1),this[_0xf2f05f(0x129)]();}[_0x4216d1(0x24e)](_0x415e5b){var _0x2ce627=_0x4216d1;this[_0x2ce627(0x16e)][_0x2ce627(0x323)](_0x415e5b);}[_0x4216d1(0x361)](_0x581dc0){return this['_members']['get'](_0x581dc0);}['getAllMembers'](){var _0x1cc66e=_0x4216d1;return Array[_0x1cc66e(0x3df)](this[_0x1cc66e(0x16e)][_0x1cc66e(0x106)]());}[_0x4216d1(0x129)](){var _0x17bfb2=_0x4216d1;this[_0x17bfb2(0x2e2)][_0x17bfb2(0x219)](this['_members']);}}var Kt=Object[_0x4216d1(0x367)],qt=(_0x3e968d,_0x50d201,_0x8510bb,_0x36eb9a)=>{var _0x1a72a0=_0x4216d1;for(var _0x51222e=_0x36eb9a>0x1?void 0x0:_0x36eb9a?Kt(_0x50d201,_0x8510bb):_0x50d201,_0x471714=_0x3e968d[_0x1a72a0(0x189)]-0x1,_0x1c0fe7;_0x471714>=0x0;_0x471714--)(_0x1c0fe7=_0x3e968d[_0x471714])&&(_0x51222e=_0x1c0fe7(_0x51222e)||_0x51222e);return _0x51222e;},ce=(_0x15f445,_0x59711a)=>(_0x401bfc,_0x53deae)=>_0x59711a(_0x401bfc,_0x53deae,_0x15f445),se=(_0x1f4c57=>(_0x1f4c57[_0x1f4c57[_0x4216d1(0x2e5)]=0x0]=_0x4216d1(0x2e5),_0x1f4c57[_0x1f4c57[_0x4216d1(0xd2)]=0x1]=_0x4216d1(0xd2),_0x1f4c57[_0x1f4c57[_0x4216d1(0xb4)]=0x2]=_0x4216d1(0xb4),_0x1f4c57[_0x1f4c57[_0x4216d1(0x309)]=0x3]=_0x4216d1(0x309),_0x1f4c57))(se||{});const We={[re[_0x4216d1(0x37c)]]:_0x4216d1(0x21c),[re[_0x4216d1(0x2a5)]]:_0x4216d1(0x2ee),[re[_0x4216d1(0xa4)]]:_0x4216d1(0x339),[re[_0x4216d1(0x2c2)]]:_0x4216d1(0x17f),[re[_0x4216d1(0x1a2)]]:'session.room-cnt-exceeds'};exports[_0x4216d1(0x38e)]=class extends o[_0x4216d1(0x1dc)]{constructor(_0x1ebaa5,_0x488b04,_0x6e6b00,_0x318851,_0x5f06f8,_0x23dd29,_0x295162,_0x474180){var _0xb584c=_0x4216d1;super(),A(this,_0xb584c(0x324),new j[(_0xb584c(0x2c1))](0x0)),A(this,'sessionStatus$',this['_sessionStatus$'][_0xb584c(0xf4)]()),A(this,'_event$',new j[(_0xb584c(0x148))]()),A(this,_0xb584c(0x37f),this[_0xb584c(0x2e1)][_0xb584c(0xf4)]()),A(this,_0xb584c(0x329)),A(this,_0xb584c(0x31d)),A(this,_0xb584c(0x207)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0xb584c(0x2c0),null),(this[_0xb584c(0x1fe)]=_0x1ebaa5,this['_logService']=_0x6e6b00,this[_0xb584c(0x241)]=_0x318851,this[_0xb584c(0xda)]=_0x5f06f8,this[_0xb584c(0x166)]=_0x23dd29,this['_collaborationUIEventService']=_0x295162,this[_0xb584c(0x3ee)]=_0x474180,this['_shouldReportTelemetry']=!!this[_0xb584c(0x3ee)],_0x488b04[_0xb584c(0x91)](j[_0xb584c(0x139)](this[_0xb584c(0x286)]))['subscribe'](_0x13cd58=>{var _0x22f6cd=_0xb584c,_0x11d4c6;typeof _0x13cd58>'u'||(this[_0x22f6cd(0x329)]=_0x13cd58,_0x13cd58?(this[_0x22f6cd(0x3bd)](_0x13cd58),this[_0x22f6cd(0x31d)]=_0x13cd58[_0x22f6cd(0x102)][_0x22f6cd(0x19a)](_0xb0c8aa=>{var _0x4dab66=_0x22f6cd;_0xb0c8aa['routeKey']===this[_0x4dab66(0x1fe)]&&this[_0x4dab66(0xb9)](_0xb0c8aa);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x22f6cd(0x219)](0x2),(_0x11d4c6=this[_0x22f6cd(0x31d)])==null||_0x11d4c6[_0x22f6cd(0x137)](),this['_socketMessageSubscription']=null));}));}get[_0x4216d1(0xde)](){var _0x3a915d=_0x4216d1;return this['_sessionStatus$'][_0x3a915d(0xa0)]();}[_0x4216d1(0x2a2)](){var _0x203443=_0x4216d1,_0x420b20,_0x56f5c1;return(_0x56f5c1=(_0x420b20=this['_socket'])==null?void 0x0:_0x420b20[_0x203443(0x9f)])!=null?_0x56f5c1:null;}[_0x4216d1(0x2da)](){var _0x450b54=_0x4216d1;super[_0x450b54(0x2da)](),this[_0x450b54(0x286)][_0x450b54(0x219)](),this[_0x450b54(0x286)][_0x450b54(0x128)]();}[_0x4216d1(0x399)](){var _0x198346=_0x4216d1,_0x2c6953,_0x9b97aa;this[_0x198346(0x40c)](),(_0x2c6953=this[_0x198346(0x329)])==null||_0x2c6953[_0x198346(0x1ca)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x198346(0x1fe)]}}),(_0x9b97aa=this[_0x198346(0x329)])==null||_0x9b97aa[_0x198346(0x399)](),this[_0x198346(0x2e1)][_0x198346(0x128)](),this['_sessionStatus$'][_0x198346(0x128)](),this[_0x198346(0x2da)]();}['_onCombEvent'](_0x20aa99){var _0x591a3e=_0x4216d1;_0x20aa99['cmd']===W[_0x591a3e(0x136)]?this[_0x591a3e(0x212)](_0x20aa99):_0x20aa99[_0x591a3e(0x413)]===W['RECV']&&this[_0x591a3e(0x3f8)](_0x20aa99);}[_0x4216d1(0x3bd)](_0x10ed65){var _0x17b24d=_0x4216d1;this['_sessionStatus$'][_0x17b24d(0x219)](0x1),_0x10ed65['send']({'cmd':W[_0x17b24d(0x136)],'routeKey':this[_0x17b24d(0x1fe)],'routeType':'','data':{'rooms':[{'roomID':this[_0x17b24d(0x1fe)]}]}});}[_0x4216d1(0x212)](_0x28427d){var _0x8687e5=_0x4216d1,_0x4ce465;if(_0x28427d[_0x8687e5(0x340)]in We){this['_collaborationUIEventService']['emitEvent']({'id':J[_0x8687e5(0x2f9)],'data':We[_0x28427d['code']]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x8687e5(0x219)](0x3);const _0x2b058d=(_0x4ce465=_0x28427d[_0x8687e5(0x2ac)][_0x8687e5(0x1c0)][this[_0x8687e5(0x1fe)]])==null?void 0x0:_0x4ce465[_0x8687e5(0x11e)];_0x2b058d&&_0x2b058d[_0x8687e5(0x1d5)](_0x2fed54=>this['_memberService'][_0x8687e5(0x1e4)](this[_0x8687e5(0x1fe)],_0x2fed54));}[_0x4216d1(0x3f8)](_0x98676f){var _0x195692=_0x4216d1;try{const _0x2d7be7=_0x98676f['data'];switch(_0x2d7be7[_0x195692(0x25a)]){case E[_0x195692(0x3ab)][_0x195692(0x220)]:this[_0x195692(0x1d1)](_0x2d7be7),this['_event$'][_0x195692(0x219)](_0x2d7be7);break;case E[_0x195692(0x3ab)][_0x195692(0x2b0)]:this['_onUserLeave'](_0x2d7be7),this[_0x195692(0x2e1)][_0x195692(0x219)](_0x2d7be7);break;case E[_0x195692(0x3ab)][_0x195692(0xd1)]:case E['CollaborationEvent'][_0x195692(0x304)]:this[_0x195692(0xd8)](),this[_0x195692(0x35d)](),this[_0x195692(0x2e1)][_0x195692(0x219)](_0x2d7be7);break;case E[_0x195692(0x3ab)]['MSG_FOR_ERROR']:this[_0x195692(0x403)]['error'](_0x195692(0x388)+JSON[_0x195692(0x25d)](_0x2d7be7)),this[_0x195692(0x2e1)][_0x195692(0x219)](_0x2d7be7);break;case E['CollaborationEvent'][_0x195692(0x13b)]:this[_0x195692(0x166)][_0x195692(0x2e4)](_0x2d7be7[_0x195692(0x2ac)]),this[_0x195692(0x2e1)][_0x195692(0x219)](_0x2d7be7);break;default:this[_0x195692(0x2e1)]['next'](_0x2d7be7);}}catch(_0x5c2168){this[_0x195692(0x403)][_0x195692(0x378)](_0x5c2168,_0x98676f);}}[_0x4216d1(0x1d1)](_0x503362){var _0x1ad6f1=_0x4216d1;this[_0x1ad6f1(0xda)][_0x1ad6f1(0x1e4)](this[_0x1ad6f1(0x1fe)],_0x503362[_0x1ad6f1(0x2ac)]);}[_0x4216d1(0x305)](_0x1c1eec){var _0xe36dc6=_0x4216d1;this[_0xe36dc6(0xda)][_0xe36dc6(0x24e)](this[_0xe36dc6(0x1fe)],_0x1c1eec[_0xe36dc6(0x2ac)][_0xe36dc6(0x9f)]);}async[_0x4216d1(0x1ca)](_0x96ca12,_0x460b60){var _0x56e334=_0x4216d1;if(this[_0x56e334(0xde)]!==0x3||!this['_socket'])throw new Error(_0x56e334(0x2ef));try{_0x96ca12[_0x56e334(0x25a)]===E[_0x56e334(0x3ab)][_0x56e334(0x348)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x56e334(0x1d0)](_0x96ca12)),this[_0x56e334(0x329)][_0x56e334(0x1ca)]({'cmd':W[_0x56e334(0x10e)],'routeKey':_0x460b60,'routeType':'','data':_0x96ca12});}catch(_0x5c8b67){this[_0x56e334(0x403)][_0x56e334(0x378)](_0x5c8b67);}}[_0x4216d1(0x3c5)](){var _0x2452da=_0x4216d1,_0x154c9c;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x15b871=_0x9f6e;this[_0x15b871(0x207)]=null,this[_0x15b871(0x175)]['emitEvent']({'id':J[_0x15b871(0x195)]});},(_0x154c9c=this[_0x2452da(0x241)][_0x2452da(0x159)](ke))!=null?_0x154c9c:lt);}[_0x4216d1(0x35d)](){var _0x28f167=_0x4216d1;this[_0x28f167(0x207)]&&(clearTimeout(this[_0x28f167(0x207)]),this['_collaborationTimeoutTimer']=null);}[_0x4216d1(0x1d0)](_0x3872b4){var _0x52c003=_0x4216d1;if(!this['_shouldReportTelemetry'])return;const {data:_0x4dce00}=_0x3872b4,{unitID:_0x2ab850,changeset:_0x32071b}=_0x4dce00,{mutations:_0x1b0f2f,type:_0x56212e}=_0x32071b;this[_0x52c003(0x2c0)]={'unitId':_0x2ab850,'type':_0x56212e,'startTime':performance[_0x52c003(0x22d)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x1b0f2f)};}[_0x4216d1(0xd8)](){var _0xc78917=_0x4216d1;if(this['_shouldReportTelemetry']){if(!this[_0xc78917(0x2c0)]){this[_0xc78917(0x403)][_0xc78917(0x378)](_0xc78917(0x110),_0xc78917(0x360));return;}this[_0xc78917(0x2c0)]['stopTime']=performance[_0xc78917(0x22d)](),this[_0xc78917(0x2c0)][_0xc78917(0xf0)]=this['_telemetryInfo']['stopTime']-this[_0xc78917(0x2c0)][_0xc78917(0x86)],this['_telemetryService'][_0xc78917(0x26f)](Ft,this[_0xc78917(0x2c0)]),this['_telemetryInfo']=null;}}[_0x4216d1(0x40c)](){var _0x14bbeb=_0x4216d1;this[_0x14bbeb(0x2c0)]=null;}},exports[_0x4216d1(0x38e)]=qt([ce(0x2,o[_0x4216d1(0x23a)]),ce(0x3,o[_0x4216d1(0x301)]),ce(0x4,o[_0x4216d1(0x3cb)](exports['MemberService'])),ce(0x5,o[_0x4216d1(0x3cb)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o[_0x4216d1(0x179)](Nt[_0x4216d1(0x186)]))],exports[_0x4216d1(0x38e)]);const q=o['createIdentifier'](_0x4216d1(0x1a0));function zt(_0x456bf8){var _0x55810a=_0x4216d1;return _0x55810a(0x8b)+_0x456bf8;}var Xt=Object[_0x4216d1(0x367)],Jt=(_0x540a21,_0xf34b10,_0x2a3cb0,_0x135001)=>{for(var _0x308f3d=_0x135001>0x1?void 0x0:_0x135001?Xt(_0xf34b10,_0x2a3cb0):_0xf34b10,_0x234308=_0x540a21['length']-0x1,_0x3b9fae;_0x234308>=0x0;_0x234308--)(_0x3b9fae=_0x540a21[_0x234308])&&(_0x308f3d=_0x3b9fae(_0x308f3d)||_0x308f3d);return _0x308f3d;},Ue=(_0x4c7cad,_0x16c110)=>(_0x4baaf5,_0x4a635e)=>_0x16c110(_0x4baaf5,_0x4a635e,_0x4c7cad);function Zt(_0x27605b){var _0x331e3a=_0x4216d1;const {unitID:_0x165a6a,mutations:_0xae7fe6}=_0x27605b;return{'unitId':_0x165a6a,'subUnitId':_0xae7fe6['length']>0x0?_0xae7fe6[0x0][_0x331e3a(0x1d7)][_0x331e3a(0x17d)]:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x6e5c3c,_0x7b2e64,_0x5eb292){var _0x120ab3=_0x4216d1;this['_injector']=_0x6e5c3c,this[_0x120ab3(0x82)]=_0x7b2e64,this[_0x120ab3(0x377)]=_0x5eb292;}['transformSelections'](_0x250dfb){var _0x555667=_0x4216d1,_0xd82963,_0x289dc6,_0x50b048,_0x42ce20;const _0x17ee12=this[_0x555667(0x187)]['get'](Q[_0x555667(0x35e)]),{unitId:_0x234fe7,subUnitId:_0x4dc27c}=Zt(_0x250dfb),_0x5d0aea=_0x17ee12==null?void 0x0:_0x17ee12[_0x555667(0x297)](_0x234fe7)['getCurrentSelections'](),_0x4d3f37=(_0x289dc6=(_0xd82963=this[_0x555667(0x377)][_0x555667(0x223)](_0x234fe7))==null?void 0x0:_0xd82963[_0x555667(0x8c)]())==null?void 0x0:_0x289dc6[_0x555667(0x3cc)]();if(_0x5d0aea['length']===0x0||!_0x234fe7||!_0x4dc27c)return;const _0x15f703=[{'id':Q[_0x555667(0x123)]['id'],'params':{'unitId':_0x234fe7,'subUnitId':_0x4d3f37,'selections':o[_0x555667(0x88)][_0x555667(0x11c)](_0x5d0aea)}}],_0x3ac6f3=this[_0x555667(0x82)]['transformMutationsWithChangeset'](_0x250dfb,_0x15f703);if(!E[_0x555667(0x3fc)](_0x3ac6f3))throw _0x3ac6f3[_0x555667(0x378)];const _0x3ee3b7=(_0x42ce20=(_0x50b048=_0x3ac6f3[_0x555667(0xdd)][0x0])==null?void 0x0:_0x50b048[_0x555667(0x1d7)])==null?void 0x0:_0x42ce20[_0x555667(0x321)];if(Array[_0x555667(0x234)](_0x3ee3b7)&&_0x3ee3b7['length']){if(_0x3ee3b7['length']===_0x15f703[0x0][_0x555667(0x1d7)][_0x555667(0x321)][_0x555667(0x189)]&&_0x3ee3b7[_0x555667(0x3d4)]((_0x46c06b,_0x155441)=>o['Rectangle'][_0x555667(0xed)](_0x46c06b['range'],_0x15f703[0x0][_0x555667(0x1d7)][_0x555667(0x321)][_0x155441][_0x555667(0x135)])))return;this[_0x555667(0x187)][_0x555667(0x2a1)](o[_0x555667(0x3b9)])[_0x555667(0x10f)](Q[_0x555667(0x123)]['id'],{'unitId':_0x234fe7,'subUnitId':_0x4d3f37,'selections':_0x3ee3b7});}}},exports['SheetTransformSelectionsService']=Jt([Ue(0x0,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),Ue(0x1,E[_0x4216d1(0x122)]),Ue(0x2,o[_0x4216d1(0xf3)])],exports['SheetTransformSelectionsService']);const ve=o[_0x4216d1(0x387)](_0x4216d1(0x162));var He=(_0x4c0a04=>(_0x4c0a04[_0x4c0a04[_0x4216d1(0xdf)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4c0a04[_0x4c0a04['OTHER_CLIENTS_EDITING']=0x1]=_0x4216d1(0x333),_0x4c0a04))(He||{});const Y=_0x4216d1(0x3a6),Qt={};function ei(_0x1773fc){var _0x56222b=_0x4216d1,_0x2e9a19;return!!((_0x2e9a19=_0x1773fc['params'])!=null&&_0x2e9a19[_0x56222b(0x3d1)]);}const ti=new Set([Q['InsertSheetMutation']['id']]);function Ge(_0xe6b25f,_0x3a4511,_0x4b39b6,_0x5cc0f1,_0x13d91b){var _0x25317f=_0x4216d1,_0x37406d,_0x3a9e80,_0x318b54,_0x5e594c;const _0x1f08d9=[];for(const _0x5e4f75 of _0xe6b25f){if(ti[_0x25317f(0x1b4)](_0x5e4f75['id'])){if(_0x1f08d9['length']>0x0)break;_0x1f08d9['push'](_0x5e4f75);break;}if(ei(_0x5e4f75)){if(_0x1f08d9[_0x25317f(0x189)]>0x0)break;_0x1f08d9[_0x25317f(0x188)](_0x5e4f75);break;}_0x1f08d9[_0x25317f(0x188)](_0x5e4f75);}const _0x22b6cc=(_0x3a9e80=(_0x37406d=_0x13d91b[_0x25317f(0x3ef)]())==null?void 0x0:_0x37406d[_0x25317f(0x1ed)])!=null?_0x3a9e80:_0x25317f(0x2c6),_0x4296ff=(_0x5e594c=(_0x318b54=_0x13d91b['getCurrentUser']())==null?void 0x0:_0x318b54[_0x25317f(0x9f)])!=null?_0x5e594c:_0x25317f(0x2c6);return{'changeset':{'unitID':_0x3a4511,'type':E[_0x25317f(0x2dc)](_0x4b39b6['getUnitType'](_0x3a4511)),'baseRev':_0x5cc0f1[_0x25317f(0x3be)](_0x3a4511),'revision':0x0,'userID':_0x22b6cc,'memberID':_0x4296ff,'mutations':_0x1f08d9},'pendingMutations':_0xe6b25f[_0x25317f(0x1e1)](_0x1f08d9[_0x25317f(0x189)])};}function ii(_0x3da438,_0x552914,_0x112690,_0x5e061b,_0x2968c8){var _0x431820=_0x4216d1,_0x1c1618,_0xc09263,_0x570143,_0x3abce3;const _0x4f94f6=[_0x3da438[_0x431820(0x15a)]((_0x372a2c,_0x4ed8fe)=>{var _0x29a30f=_0x431820,_0x9e1351;const {id:_0x4f4ed1}=_0x372a2c,{id:_0x25b824,type:_0x396688}=_0x4ed8fe,_0xe55c0e=(_0x9e1351=_0x372a2c['params'])!=null?_0x9e1351:{'actions':null},_0x48d70b=_0x4ed8fe[_0x29a30f(0x1d7)];if(_0x4f4ed1&&_0x4f4ed1!==_0x25b824)throw new Error(_0x29a30f(0x402)+_0x4f4ed1+_0x29a30f(0xc6)+_0x25b824+'.');return{..._0x372a2c,'id':_0x25b824,'type':_0x396688,'params':{'unitId':_0x48d70b[_0x29a30f(0x3b5)],'textRanges':_0x48d70b[_0x29a30f(0x2c9)],'actions':o[_0x29a30f(0x238)][_0x29a30f(0x149)](_0xe55c0e[_0x29a30f(0x144)],_0x48d70b[_0x29a30f(0x144)])}};},{})],_0x8da78f=(_0xc09263=(_0x1c1618=_0x2968c8[_0x431820(0x3ef)]())==null?void 0x0:_0x1c1618[_0x431820(0x1ed)])!=null?_0xc09263:_0x431820(0x2c6),_0x5f2e96=(_0x3abce3=(_0x570143=_0x2968c8[_0x431820(0x3ef)]())==null?void 0x0:_0x570143[_0x431820(0x9f)])!=null?_0x3abce3:_0x431820(0x2c6);return{'changeset':{'unitID':_0x552914,'type':E[_0x431820(0x2dc)](_0x112690[_0x431820(0x248)](_0x552914)),'baseRev':_0x5e061b[_0x431820(0x3be)](_0x552914),'revision':0x0,'userID':_0x8da78f,'memberID':_0x5f2e96,'mutations':_0x4f94f6},'pendingMutations':[]};}function St(_0x47ff35,_0x1500d9){var _0x5231e5=_0x4216d1;const _0x2e9d61=new j[(_0x5231e5(0x393))](0x1);return setTimeout(()=>_0x2e9d61['next'](_0x1500d9),_0x47ff35),_0x2e9d61[_0x5231e5(0xf4)]()['pipe'](j['take'](0x1));}var ni=Object[_0x4216d1(0x367)],ae=(_0x1d17ab,_0x5996a8,_0x4a480e,_0x24bef9)=>{for(var _0x269b7e=_0x24bef9>0x1?void 0x0:_0x24bef9?ni(_0x5996a8,_0x4a480e):_0x5996a8,_0x591ee1=_0x1d17ab['length']-0x1,_0x5085de;_0x591ee1>=0x0;_0x591ee1--)(_0x5085de=_0x1d17ab[_0x591ee1])&&(_0x269b7e=_0x5085de(_0x269b7e)||_0x269b7e);return _0x269b7e;},L=(_0x232fed,_0x1a6f8a)=>(_0x154080,_0x44bb6c)=>_0x1a6f8a(_0x154080,_0x44bb6c,_0x232fed),je=(_0x17f5b5=>(_0x17f5b5[_0x4216d1(0x2b1)]=_0x4216d1(0x213),_0x17f5b5[_0x4216d1(0x379)]=_0x4216d1(0x10d),_0x17f5b5[_0x4216d1(0x161)]='pending',_0x17f5b5[_0x4216d1(0x2eb)]='awaiting',_0x17f5b5[_0x4216d1(0x3ff)]='awaiting_with_pending',_0x17f5b5[_0x4216d1(0x3c0)]=_0x4216d1(0x147),_0x17f5b5['CONFLICT']=_0x4216d1(0x173),_0x17f5b5[_0x4216d1(0xb4)]='offline',_0x17f5b5))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x480a5e,_0x5e1815,_0x52c47a,_0x2f64a6,_0x4c1fe6,_0x57638a,_0x11da7e,_0x1be300,_0x423c91){var _0x247b0b=_0x4216d1;A(this,_0x247b0b(0xe6),null),A(this,_0x247b0b(0x1c7),[]),(this[_0x247b0b(0x311)]=_0x480a5e,this[_0x247b0b(0x36e)]=_0x5e1815,this[_0x247b0b(0x1cd)]=_0x4c1fe6,this[_0x247b0b(0x332)]=_0x57638a,this[_0x247b0b(0x396)]=_0x11da7e,this[_0x247b0b(0xac)]=_0x1be300,this[_0x247b0b(0x336)]=_0x423c91,this[_0x247b0b(0xe6)]=_0x52c47a,this[_0x247b0b(0x1c7)]=_0x2f64a6);}['_checkMissing'](_0x4f39d4){var _0x518546=_0x4216d1;const _0x3c9b39=this[_0x518546(0xac)][_0x518546(0x3be)](this[_0x518546(0x311)]);return _0x4f39d4[_0x518546(0x15b)]>_0x3c9b39+0x1?(this[_0x518546(0x1cd)][_0x518546(0x9e)]({'from':_0x3c9b39,'to':_0x4f39d4[_0x518546(0x15b)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2d8453){var _0x559b8f=_0x4216d1;this[_0x559b8f(0x396)][_0x559b8f(0x2f2)](this['unitID'],_0x2d8453);}['_transformSelections'](_0x32c07e){var _0x54cc74=_0x4216d1,_0x2e2490,_0x13f9df;(_0x13f9df=(_0x2e2490=this[_0x54cc74(0x1cd)])['onTransformSelections'])==null||_0x13f9df[_0x54cc74(0x1c6)](_0x2e2490,_0x32c07e);}[_0x4216d1(0xe3)](_0x2a3b00){var _0x1c6979=_0x4216d1,_0x1be818,_0x3aae46;return(_0x3aae46=(_0x1be818=this[_0x1c6979(0x1cd)])[_0x1c6979(0x103)])==null?void 0x0:_0x3aae46[_0x1c6979(0x1c6)](_0x1be818,_0x2a3b00);}['_transformStateCache'](_0x26ff61){var _0x52e57f=_0x4216d1,_0x43a981,_0x30268b;return(_0x30268b=(_0x43a981=this['_handler'])[_0x52e57f(0x11a)])==null?void 0x0:_0x30268b[_0x52e57f(0x1c6)](_0x43a981,_0x26ff61);}[_0x4216d1(0x28a)](_0x5b75fc){var _0x415741=_0x4216d1,_0x408524,_0x4cf4e5,_0x35d12f;return(_0x35d12f=(_0x4cf4e5=(_0x408524=this[_0x415741(0x1cd)])[_0x415741(0xf8)])==null?void 0x0:_0x4cf4e5['call'](_0x408524,_0x5b75fc))!=null?_0x35d12f:_0x5b75fc;}[_0x4216d1(0xbf)](_0x60906a){var _0x2812f1=_0x4216d1,_0x5f5590,_0x29ae67,_0x353692;return(_0x353692=(_0x29ae67=(_0x5f5590=this[_0x2812f1(0x1cd)])[_0x2812f1(0x370)])==null?void 0x0:_0x29ae67[_0x2812f1(0x1c6)](_0x5f5590,_0x60906a))!=null?_0x353692:_0x60906a;}[_0x4216d1(0x203)](_0x10afa7){var _0x563a27=_0x4216d1,_0x32cc0b,_0x20e6b4;if(this[_0x563a27(0x36e)]===X[_0x563a27(0x27d)]){const {unitID:_0x4c98df,mutations:_0x4eea30,memberID:_0x4676f6}=_0x10afa7,_0x2ac860=_0x4eea30['length']>0x0?_0x4eea30[0x0][_0x563a27(0x1d7)][_0x563a27(0x2c9)]:[];Array['isArray'](_0x2ac860)&&_0x2ac860[_0x563a27(0x189)]>0x0&&((_0x20e6b4=(_0x32cc0b=this[_0x563a27(0x1cd)])['onSyncEditingCollabCursor'])==null||_0x20e6b4['call'](_0x32cc0b,{'unitID':_0x4c98df,'memberID':_0x4676f6,'textRanges':_0x2ac860}));}}['_updateLocalCache'](){var _0x2d4f09=_0x4216d1,_0x48a4a4;(_0x48a4a4=this[_0x2d4f09(0x336)])==null||_0x48a4a4[_0x2d4f09(0x211)](this[_0x2d4f09(0x311)],this[_0x2d4f09(0x36e)],this[_0x2d4f09(0xe6)],this[_0x2d4f09(0x1c7)]);}['_getCurrentRevision'](){var _0x42d6f3=_0x4216d1;return this[_0x42d6f3(0xac)][_0x42d6f3(0x3be)](this[_0x42d6f3(0x311)]);}['_incrementRevisionNumber'](){var _0x3262f3=_0x4216d1;this[_0x3262f3(0xac)]['incrementRevOfUnit'](this[_0x3262f3(0x311)]);}[_0x4216d1(0x152)](_0x830635){var _0x12f116=_0x4216d1,_0x59daec;let _0x3e3c49=this['_transformRemoteChangesetByIMECache'](_0x830635);_0x3e3c49=this[_0x12f116(0xbf)](_0x3e3c49);const _0x3efa2b=o[_0x12f116(0x2c8)](_0x3e3c49[_0x12f116(0x257)],this[_0x12f116(0x332)],{'fromCollab':!0x0});if(!_0x3efa2b[_0x12f116(0x224)])throw _0x3efa2b[_0x12f116(0x378)]instanceof Error?_0x3efa2b[_0x12f116(0x378)]:new Error((_0x59daec=_0x3efa2b[_0x12f116(0x378)])!=null?_0x59daec:_0x12f116(0x2bc));this[_0x12f116(0xe3)](_0x3e3c49),this[_0x12f116(0x274)](_0x3e3c49),this[_0x12f116(0x34b)](_0x830635),this[_0x12f116(0xa6)](_0x3e3c49),this[_0x12f116(0x203)](_0x3e3c49),this[_0x12f116(0x306)]();}}exports[_0x4216d1(0x2e8)]=class extends oe{constructor(_0x1013a0,_0x23ae21,_0x101aa1,_0x561f59,_0x38ce19,_0x2e6c1e,_0x3a19d4,_0x47b4c8,_0x285b47,_0x2c4a7d){var _0x1ed978=_0x4216d1;super(_0x1013a0,_0x23ae21,null,[],_0x101aa1,_0x3a19d4,_0x2e6c1e,_0x561f59,_0x2c4a7d),A(this,'status','synced'),(this[_0x1ed978(0x187)]=_0x38ce19,this[_0x1ed978(0x403)]=_0x47b4c8,this[_0x1ed978(0x82)]=_0x285b47,this['localCacheService']=_0x2c4a7d);}['appendMutation'](_0x44d553){var _0x521450=_0x4216d1;const _0x5078c6=this[_0x521450(0x187)][_0x521450(0xdb)](exports['PendingState'],this['unitID'],this['type'],[_0x44d553],this[_0x521450(0x1cd)]);return _0x5078c6[_0x521450(0x2d7)](),_0x5078c6[_0x521450(0x2ae)](),_0x5078c6;}[_0x4216d1(0x32d)](_0xbff603){var _0x400ade=_0x4216d1;if(this[_0x400ade(0x19b)](_0xbff603))return this['_injector'][_0x400ade(0xdb)](exports[_0x400ade(0xa8)],this[_0x400ade(0x311)],this[_0x400ade(0x36e)],null,[],null,[_0xbff603],this[_0x400ade(0x1cd)]);try{const _0x57c6bb=this[_0x400ade(0x82)][_0x400ade(0x89)](_0xbff603,[E[_0x400ade(0x3f2)]]);if(E[_0x400ade(0x3fc)](_0x57c6bb)){const {c1Prime:_0x5b4019}=_0x57c6bb;return this[_0x400ade(0x152)](_0x5b4019),this;}throw _0x57c6bb[_0x400ade(0x378)];}catch(_0x363c75){return this[_0x400ade(0x403)]['error'](_0x363c75),this[_0x400ade(0x198)](!0x1);}}['_onConflict'](_0x32bbe6){var _0x2b0411=_0x4216d1;return this[_0x2b0411(0x187)][_0x2b0411(0xdb)](exports[_0x2b0411(0x3ba)],this[_0x2b0411(0x311)],this[_0x2b0411(0x36e)],null,[],this['_handler'],_0x32bbe6);}[_0x4216d1(0x1f2)](){var _0x22b939=_0x4216d1;throw new Error(_0x22b939(0x3b4));}[_0x4216d1(0x112)](){var _0x4d27e9=_0x4216d1;throw new Error(_0x4d27e9(0x269));}['onRemoteRetry'](){return this;}[_0x4216d1(0xd3)](){var _0x4ebbb2=_0x4216d1;return this[_0x4ebbb2(0x187)]['createInstance'](exports[_0x4ebbb2(0x218)],this[_0x4ebbb2(0x311)],this[_0x4ebbb2(0x36e)],null,[],this['_handler']);}[_0x4216d1(0x156)](){return this;}['resend'](){var _0x440543=_0x4216d1;throw new Error(_0x440543(0x19e));}[_0x4216d1(0x1a4)](){var _0xac895d=_0x4216d1;const _0x337e9e=this['_revisionService'][_0xac895d(0x3be)](this[_0xac895d(0x311)]);return this[_0xac895d(0x1cd)][_0xac895d(0x9e)]({'from':_0x337e9e,'to':0x0}),this['_injector']['createInstance'](exports[_0xac895d(0xa8)],this[_0xac895d(0x311)],this[_0xac895d(0x36e)],null,[],null,[],this[_0xac895d(0x1cd)]);}},exports[_0x4216d1(0x2e8)]=ae([L(0x3,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),L(0x4,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),L(0x5,o[_0x4216d1(0x2ff)]),L(0x6,o['ICommandService']),L(0x7,o[_0x4216d1(0x23a)]),L(0x8,E[_0x4216d1(0x122)]),L(0x9,o[_0x4216d1(0x179)](q))],exports['SyncedState']),exports[_0x4216d1(0x2a3)]=class extends oe{constructor(_0x385a81,_0xdf08b2,_0x59213a,_0x53c7b2,_0x1afee4,_0x2213d3,_0x3cc190,_0x5002c9,_0xf73012,_0x35c6e8,_0x5b311f,_0x508f09,_0x37587e,_0x1dec32){var _0x16e242=_0x4216d1;super(_0x385a81,_0xdf08b2,null,_0x59213a,_0x53c7b2,_0xf73012,_0x37587e,_0x2213d3,_0x1dec32),A(this,_0x16e242(0x20d),'pending'),A(this,_0x16e242(0x32c),null),A(this,_0x16e242(0x2d6),null),(this['_injector']=_0x1afee4,this[_0x16e242(0xda)]=_0x3cc190,this[_0x16e242(0x403)]=_0x5002c9,this[_0x16e242(0x241)]=_0x35c6e8,this[_0x16e242(0x82)]=_0x5b311f,this[_0x16e242(0x215)]=_0x508f09);}[_0x4216d1(0x15e)](_0x14ddc5){var _0x2f662f=_0x4216d1;return this['_pendingMutations'][_0x2f662f(0x188)](_0x14ddc5),this[_0x2f662f(0x2ae)](),this;}['onRemoteChangeset'](_0x199af4){var _0x33aa18=_0x4216d1;if(this[_0x33aa18(0x19b)](_0x199af4))return this[_0x33aa18(0x31f)](),this[_0x33aa18(0x187)][_0x33aa18(0xdb)](exports['FetchingMissState'],this[_0x33aa18(0x311)],this[_0x33aa18(0x36e)],null,this['_pendingMutations'],null,[_0x199af4],this[_0x33aa18(0x1cd)]);try{const _0x25e874=this['_transformService'][_0x33aa18(0x89)](_0x199af4,this[_0x33aa18(0x1c7)]);if(E[_0x33aa18(0x3fc)](_0x25e874)){const {c1Prime:_0x3ce012,m2Prime:_0x2eba1e}=_0x25e874;this[_0x33aa18(0x152)](_0x3ce012);const _0xa9add=this[_0x33aa18(0x187)]['createInstance'](exports['PendingState'],this[_0x33aa18(0x311)],this[_0x33aa18(0x36e)],_0x2eba1e,this[_0x33aa18(0x1cd)]);this[_0x33aa18(0x31f)]();const _0x402c87=new Date()[_0x33aa18(0x32a)](),_0x2c842c=this[_0x33aa18(0x32c)]?Math[_0x33aa18(0x3eb)](this[_0x33aa18(0x32c)]-_0x402c87,0x0):this[_0x33aa18(0x140)]();return _0xa9add['_schedule'](_0x2c842c),_0xa9add;}throw _0x25e874[_0x33aa18(0x378)];}catch(_0x393cb6){return this[_0x33aa18(0x403)]['error'](_0x393cb6),this[_0x33aa18(0x198)](!0x1);}}[_0x4216d1(0x1f2)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4216d1(0x112)](){var _0x179ef4=_0x4216d1;throw new Error(_0x179ef4(0x33b));}[_0x4216d1(0x157)](){return this;}['toggleOffline'](){var _0x451c6b=_0x4216d1;return this[_0x451c6b(0x31f)](),this[_0x451c6b(0x187)][_0x451c6b(0xdb)](exports[_0x451c6b(0x218)],this['unitID'],this[_0x451c6b(0x36e)],null,this[_0x451c6b(0x1c7)],this[_0x451c6b(0x1cd)]);}['toggleOnline'](){return this;}[_0x4216d1(0x2d7)](_0x31f1fb){var _0x29c712=_0x4216d1;const _0x273f7f=_0x31f1fb!=null?_0x31f1fb:this[_0x29c712(0x140)]();this[_0x29c712(0x32c)]=new Date()[_0x29c712(0x32a)]()+_0x273f7f,this[_0x29c712(0x2d6)]=setTimeout(()=>{var _0x17e5b1=_0x29c712;this['_clearScheduledTask']();let _0x349817=null;switch(this[_0x17e5b1(0x36e)]){case X[_0x17e5b1(0xb3)]:{_0x349817=Ge(this[_0x17e5b1(0x1c7)],this[_0x17e5b1(0x311)],this[_0x17e5b1(0x215)],this[_0x17e5b1(0xac)],this[_0x17e5b1(0xda)]);break;}case X[_0x17e5b1(0x27d)]:{this[_0x17e5b1(0x1c7)][_0x17e5b1(0x3d4)](_0x5f35c2=>_0x5f35c2['id']===ct[_0x17e5b1(0xf1)]['id'])?_0x349817=ii(this[_0x17e5b1(0x1c7)],this['unitID'],this[_0x17e5b1(0x215)],this['_revisionService'],this['_memberService']):_0x349817=Ge(this[_0x17e5b1(0x1c7)],this['unitID'],this[_0x17e5b1(0x215)],this[_0x17e5b1(0xac)],this[_0x17e5b1(0xda)]);break;}default:throw new Error(_0x17e5b1(0x229)+this[_0x17e5b1(0x36e)]+_0x17e5b1(0x117));}const {changeset:_0x5c9b16,pendingMutations:_0x5d40b0}=_0x349817;this[_0x17e5b1(0x1cd)]['onSendChangeset'](_0x5c9b16);const _0x2b4efc=_0x5d40b0['length']?this[_0x17e5b1(0x187)][_0x17e5b1(0xdb)](exports[_0x17e5b1(0x358)],this[_0x17e5b1(0x311)],this['type'],_0x5c9b16,_0x5d40b0,this[_0x17e5b1(0x1cd)],void 0x0):this['_injector']['createInstance'](exports['AwaitingState'],this[_0x17e5b1(0x311)],this[_0x17e5b1(0x36e)],_0x5c9b16,this['_handler']);_0x2b4efc[_0x17e5b1(0x2ae)](),this['_handler'][_0x17e5b1(0x1c3)](this,_0x2b4efc);},_0x273f7f);}[_0x4216d1(0x140)](){var _0x59fc01=_0x4216d1,_0x34410e;const _0x1b9e2c=this[_0x59fc01(0x241)]['getConfig'](Y);return(_0x34410e=_0x1b9e2c==null?void 0x0:_0x1b9e2c['sendChangesetTimeout'])!=null?_0x34410e:At;}['resend'](){var _0x3f9e89=_0x4216d1;throw new Error(_0x3f9e89(0x3e5));}[_0x4216d1(0x31f)](){var _0x3800f7=_0x4216d1;this[_0x3800f7(0x2d6)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x4e4e32){var _0x4130ce=_0x4216d1;return this[_0x4130ce(0x31f)](),this['_injector'][_0x4130ce(0xdb)](exports[_0x4130ce(0x3ba)],this[_0x4130ce(0x311)],this['type'],null,this[_0x4130ce(0x1c7)],this[_0x4130ce(0x1cd)],_0x4e4e32);}},exports[_0x4216d1(0x2a3)]=ae([L(0x4,o[_0x4216d1(0x3cb)](o['Injector'])),L(0x5,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),L(0x6,o[_0x4216d1(0x3cb)](exports[_0x4216d1(0x3f1)])),L(0x7,o[_0x4216d1(0x23a)]),L(0x8,o[_0x4216d1(0x3b9)]),L(0x9,o[_0x4216d1(0x301)]),L(0xa,E[_0x4216d1(0x122)]),L(0xb,o[_0x4216d1(0xf3)]),L(0xc,o[_0x4216d1(0x2ff)]),L(0xd,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0x2a3)]),exports['AwaitingState']=class extends oe{constructor(_0x49e461,_0x24300b,_0x5252b2,_0x5213f6,_0x56dc45,_0x5ecb77,_0x4a80ed,_0x1ea1d4,_0x1076dc,_0x239905,_0x317a96){var _0x323877=_0x4216d1;super(_0x49e461,_0x24300b,_0x5252b2,[],_0x5213f6,_0x4a80ed,_0x239905,_0x5ecb77,_0x317a96),A(this,'status',_0x323877(0x1e6)),A(this,_0x323877(0x146),0x0),A(this,_0x323877(0x3c9),0x0),A(this,'_resendTimer'),A(this,_0x323877(0x302)),(this[_0x323877(0x187)]=_0x56dc45,this[_0x323877(0x403)]=_0x1ea1d4,this[_0x323877(0x82)]=_0x1076dc);}['appendMutation'](_0x2305d6){var _0x1ceda3=_0x4216d1;this['_clearScheduledTask']();const _0x31e0db=this[_0x1ceda3(0x187)][_0x1ceda3(0xdb)](exports[_0x1ceda3(0x358)],this[_0x1ceda3(0x311)],this[_0x1ceda3(0x36e)],this[_0x1ceda3(0xe6)],[_0x2305d6],this[_0x1ceda3(0x1cd)],this[_0x1ceda3(0x1a6)]);return _0x31e0db['_updateLocalCache'](),_0x31e0db;}[_0x4216d1(0x32d)](_0x4c45d6){var _0x537930=_0x4216d1;if(this['_checkMissing'](_0x4c45d6))return this[_0x537930(0x31f)](),this[_0x537930(0x187)][_0x537930(0xdb)](exports[_0x537930(0xa8)],this[_0x537930(0x311)],this[_0x537930(0x36e)],this['_awaitingChangeset'],[],null,[_0x4c45d6],this[_0x537930(0x1cd)]);try{const _0x1c1fd5=this[_0x537930(0x82)][_0x537930(0xad)]([_0x4c45d6],[this[_0x537930(0xe6)]],!0x1);if(E[_0x537930(0xf5)](_0x1c1fd5)){const {c1Prime:_0x5702e6,c2Prime:_0x15503a}=_0x1c1fd5;this[_0x537930(0x152)](_0x5702e6[0x0]),_0x15503a[0x0][_0x537930(0x226)]=this[_0x537930(0x197)](),this[_0x537930(0x31f)]();const _0x4bf159=this[_0x537930(0x187)][_0x537930(0xdb)](exports[_0x537930(0x10a)],this[_0x537930(0x311)],this[_0x537930(0x36e)],_0x15503a[0x0],this[_0x537930(0x1cd)]);return _0x4bf159[_0x537930(0x2ae)](),_0x4bf159;}return this[_0x537930(0x198)](!0x1);}catch(_0x5e33d2){return this[_0x537930(0x403)][_0x537930(0x378)](_0x5e33d2),this[_0x537930(0x198)](!0x1);}}[_0x4216d1(0x1f2)](_0x2e2a2c){var _0x51780f=_0x4216d1;this[_0x51780f(0x31f)]();const _0x6b6799=this[_0x51780f(0xac)]['getCurrentRevOfUnit'](this[_0x51780f(0x311)]);if(_0x2e2a2c['revision']<_0x6b6799-0x1)return this;if(this[_0x51780f(0x19b)](_0x2e2a2c))return this[_0x51780f(0x187)][_0x51780f(0xdb)](exports[_0x51780f(0xa8)],this[_0x51780f(0x311)],this[_0x51780f(0x36e)],null,[],this[_0x51780f(0xe6)],[],this[_0x51780f(0x1cd)]);this[_0x51780f(0x306)]();const _0x4edb19=this[_0x51780f(0x187)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x51780f(0x36e)],this[_0x51780f(0x1cd)]);return _0x4edb19[_0x51780f(0x2ae)](),_0x4edb19;}[_0x4216d1(0x112)](_0x297728){var _0x393fcb=_0x4216d1;return this[_0x393fcb(0x198)](!!(_0x297728!=null&&_0x297728[_0x393fcb(0x1b2)]));}[_0x4216d1(0x157)](_0x274fc2){var _0x4010ac=_0x4216d1;return this[_0x4010ac(0x3c9)]>ft?this['toggleOffline']():(this[_0x4010ac(0x1a6)]=St(this[_0x4010ac(0x146)],{'timeout':this[_0x4010ac(0x146)],'reqId':_0x274fc2[_0x4010ac(0x335)]}),this['_sender']=this[_0x4010ac(0x1a6)]['subscribe'](({reqId:_0x48fbab,timeout:_0x29c9ab})=>{this['_resendWithTimeout'](_0x48fbab,_0x29c9ab);}),this);}[_0x4216d1(0xd3)](){var _0x454667=_0x4216d1;return this[_0x454667(0x31f)](),this[_0x454667(0x187)][_0x454667(0xdb)](exports['OfflineState'],this['unitID'],this[_0x454667(0x36e)],this[_0x454667(0xe6)],[],this[_0x454667(0x1cd)]);}[_0x4216d1(0x156)](){return this;}[_0x4216d1(0x37d)](){var _0x30e252=_0x4216d1;this[_0x30e252(0x1cd)][_0x30e252(0x270)](this[_0x30e252(0xe6)]);}[_0x4216d1(0x198)](_0x525fdf){var _0x354289=_0x4216d1;return this['_clearScheduledTask'](),this['_injector'][_0x354289(0xdb)](exports[_0x354289(0x3ba)],this[_0x354289(0x311)],this[_0x354289(0x36e)],this[_0x354289(0xe6)],[],this['_handler'],_0x525fdf);}[_0x4216d1(0x28c)](_0x13378d,_0x297a6b){var _0x182548=_0x4216d1,_0x44fa57;_0x13378d===((_0x44fa57=this['_awaitingChangeset'])==null?void 0x0:_0x44fa57['reqId'])&&(this[_0x182548(0x37d)](),this['_resendTimeout']=_0x297a6b===0x0?0x3e8:Math['min'](_0x297a6b*0x2,It),this['_maxTotalRetryTimeout']+=this[_0x182548(0x146)]);}[_0x4216d1(0x31f)](){var _0x5613b6=_0x4216d1,_0x55b442;(_0x55b442=this[_0x5613b6(0x302)])==null||_0x55b442[_0x5613b6(0x137)](),this['_resendTimeout']=0x0,this[_0x5613b6(0x3c9)]=0x0;}},exports[_0x4216d1(0x10a)]=ae([L(0x4,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),L(0x5,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),L(0x6,o[_0x4216d1(0x3b9)]),L(0x7,o[_0x4216d1(0x23a)]),L(0x8,E[_0x4216d1(0x122)]),L(0x9,o[_0x4216d1(0x2ff)]),L(0xa,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0x10a)]),exports[_0x4216d1(0x358)]=class extends oe{constructor(_0x8f1c07,_0x1f560e,_0x12854d,_0x10d321,_0x2d22d5,_0xf23fb1,_0x132f5d,_0x2793c1,_0x43d5ed,_0x3c4a4c,_0x14d0d4,_0x404fa6,_0x1a5db4){var _0x13fac6=_0x4216d1;super(_0x8f1c07,_0x1f560e,_0x12854d,_0x10d321,_0x2d22d5,_0x43d5ed,_0x404fa6,_0x2793c1,_0x1a5db4),A(this,'status',_0x13fac6(0x412)),A(this,_0x13fac6(0x146),0x0),A(this,_0x13fac6(0x3c9),0x0),A(this,_0x13fac6(0x1a6)),A(this,'_sender'),(this[_0x13fac6(0x187)]=_0x132f5d,this['_logService']=_0x3c4a4c,this['_transformService']=_0x14d0d4,this[_0x13fac6(0x87)]=_0x1a5db4,_0xf23fb1&&(this[_0x13fac6(0x1a6)]=_0xf23fb1,this[_0x13fac6(0x302)]=this['_resendTimer'][_0x13fac6(0x19a)](({reqId:_0x49333c,timeout:_0xc69692})=>{var _0x50d10e=_0x13fac6;this[_0x50d10e(0x28c)](_0x49333c,_0xc69692);})));}[_0x4216d1(0x15e)](_0x23f76d){var _0x56de2c=_0x4216d1;return this[_0x56de2c(0x1c7)][_0x56de2c(0x188)](_0x23f76d),this;}[_0x4216d1(0x32d)](_0x1a9579){var _0x1feb30=_0x4216d1;if(this['_checkMissing'](_0x1a9579))return this[_0x1feb30(0x31f)](),this[_0x1feb30(0x187)]['createInstance'](exports[_0x1feb30(0xa8)],this[_0x1feb30(0x311)],this['type'],this[_0x1feb30(0xe6)],this[_0x1feb30(0x1c7)],null,[_0x1a9579],this[_0x1feb30(0x1cd)]);try{const _0x3d29e8=this['_transformService'][_0x1feb30(0xad)]([_0x1a9579],[this[_0x1feb30(0xe6)]],!0x1);if(E[_0x1feb30(0xf5)](_0x3d29e8)){const {c1Prime:_0x27422d,c2Prime:_0x323ad4}=_0x3d29e8,_0x51a36f=this[_0x1feb30(0x82)][_0x1feb30(0x89)](_0x27422d[0x0],this['_pendingMutations']);if(E['isTransformMutationsWithChangesetSuccess'](_0x51a36f)){const {c1Prime:_0x275ed1,m2Prime:_0xe1cda6}=_0x51a36f;return this[_0x1feb30(0x152)](_0x275ed1),_0x323ad4[0x0][_0x1feb30(0x226)]=this['_getCurrentRevision'](),this[_0x1feb30(0x31f)](),this[_0x1feb30(0x187)]['createInstance'](exports[_0x1feb30(0x358)],this[_0x1feb30(0x311)],this[_0x1feb30(0x36e)],_0x323ad4[0x0],_0xe1cda6,this[_0x1feb30(0x1cd)],void 0x0);}throw _0x51a36f[_0x1feb30(0x378)];}throw _0x3d29e8[_0x1feb30(0x378)];}catch(_0x2b76c0){return this[_0x1feb30(0x403)][_0x1feb30(0x378)](_0x2b76c0),this[_0x1feb30(0x198)](!0x1);}}[_0x4216d1(0x1f2)](_0x55ab0a){var _0x469193=_0x4216d1;if(this[_0x469193(0x31f)](),this[_0x469193(0x19b)](_0x55ab0a))return this['_injector']['createInstance'](exports[_0x469193(0xa8)],this[_0x469193(0x311)],this[_0x469193(0x36e)],null,this[_0x469193(0x1c7)],this['_awaitingChangeset'],[],this[_0x469193(0x1cd)]);this['_incrementRevisionNumber']();const _0x4cd154=this['_injector']['createInstance'](exports['PendingState'],this[_0x469193(0x311)],this['type'],this[_0x469193(0x1c7)],this[_0x469193(0x1cd)]);return _0x4cd154[_0x469193(0x2d7)](),_0x4cd154[_0x469193(0x2ae)](),_0x4cd154;}[_0x4216d1(0x112)](_0x195ed0){var _0x3c60bf=_0x4216d1;return this[_0x3c60bf(0x198)](!!(_0x195ed0!=null&&_0x195ed0[_0x3c60bf(0x1b2)]));}[_0x4216d1(0x157)](_0x48412b){var _0x5bb6d2=_0x4216d1;return this[_0x5bb6d2(0x3c9)]>ft?this[_0x5bb6d2(0xd3)]():(this[_0x5bb6d2(0x1a6)]=St(this[_0x5bb6d2(0x146)],{'timeout':this[_0x5bb6d2(0x146)],'reqId':_0x48412b[_0x5bb6d2(0x335)]}),this[_0x5bb6d2(0x302)]=this[_0x5bb6d2(0x1a6)][_0x5bb6d2(0x19a)](({reqId:_0x52ce74,timeout:_0x4402d6})=>{this['_resendWithTimeout'](_0x52ce74,_0x4402d6);}),this);}[_0x4216d1(0xd3)](){var _0x449e92=_0x4216d1;return this[_0x449e92(0x31f)](),this[_0x449e92(0x187)][_0x449e92(0xdb)](exports[_0x449e92(0x218)],this[_0x449e92(0x311)],this[_0x449e92(0x36e)],this[_0x449e92(0xe6)],this['_pendingMutations'],this[_0x449e92(0x1cd)]);}[_0x4216d1(0x156)](){return this;}['resend'](){var _0x27fb24=_0x4216d1;this[_0x27fb24(0x1cd)][_0x27fb24(0x270)](this[_0x27fb24(0xe6)]);}[_0x4216d1(0x198)](_0x3a4dde){var _0x389e6e=_0x4216d1;return this[_0x389e6e(0x31f)](),this['_injector'][_0x389e6e(0xdb)](exports['ConflictState'],this[_0x389e6e(0x311)],this[_0x389e6e(0x36e)],null,this[_0x389e6e(0x1c7)],this[_0x389e6e(0x1cd)],_0x3a4dde);}['_resendWithTimeout'](_0x570761,_0x46c8cc){var _0xcada1c=_0x4216d1,_0x53caab;_0x570761===((_0x53caab=this[_0xcada1c(0xe6)])==null?void 0x0:_0x53caab['reqId'])&&(this['resend'](),this[_0xcada1c(0x146)]=_0x46c8cc===0x0?0x3e8:Math[_0xcada1c(0xd4)](_0x46c8cc*0x2,It),this[_0xcada1c(0x3c9)]+=this['_resendTimeout']);}[_0x4216d1(0x31f)](){var _0x2c2d20=_0x4216d1,_0x5b7b17;(_0x5b7b17=this[_0x2c2d20(0x302)])==null||_0x5b7b17['unsubscribe'](),this[_0x2c2d20(0x146)]=0x0,this[_0x2c2d20(0x3c9)]=0x0;}},exports[_0x4216d1(0x358)]=ae([L(0x6,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),L(0x7,o['Inject'](E[_0x4216d1(0x28e)])),L(0x8,o[_0x4216d1(0x3b9)]),L(0x9,o[_0x4216d1(0x23a)]),L(0xa,E[_0x4216d1(0x122)]),L(0xb,o[_0x4216d1(0x2ff)]),L(0xc,o['Optional'](q))],exports[_0x4216d1(0x358)]),exports[_0x4216d1(0x3ba)]=class extends oe{constructor(_0xc9274f,_0x12bc4f,_0x5dbd12,_0x581818,_0xb24ed7,_0x5822cf=!0x1,_0x25d84c,_0xd96a0,_0xe1f434,_0xb2d3,_0x2256f9,_0x237945,_0x5352fa){var _0x7d2503=_0x4216d1;super(_0xc9274f,_0x12bc4f,_0x5dbd12,_0x581818,_0xb24ed7,_0xd96a0,_0xe1f434,_0xb2d3,_0x5352fa),A(this,_0x7d2503(0x20d),'conflict'),(this[_0x7d2503(0x320)]=_0x5822cf,this['_permissionService']=_0x25d84c,this[_0x7d2503(0x31b)]=_0x2256f9,this[_0x7d2503(0x175)]=_0x237945,this['localCacheService']=_0x5352fa,this['_showConflictNotification'](),this[_0x7d2503(0x349)](),this[_0x7d2503(0x275)]());}[_0x4216d1(0x15e)](){return this;}[_0x4216d1(0x32d)](){return this;}['onRemoteAck'](){return this;}[_0x4216d1(0x112)](){return this;}[_0x4216d1(0x157)](){return this;}[_0x4216d1(0xd3)](){return this;}[_0x4216d1(0x156)](){return this;}['resend'](){var _0x18555a=_0x4216d1;throw new Error(_0x18555a(0x1ef));}[_0x4216d1(0x349)](){var _0x124e0c=_0x4216d1,_0x230885;(_0x230885=this[_0x124e0c(0x336)])==null||_0x230885[_0x124e0c(0x211)](this['unitID'],this[_0x124e0c(0x36e)],null,[]);}[_0x4216d1(0x93)](){var _0x3dc3bd=_0x4216d1;this[_0x3dc3bd(0x320)]?this[_0x3dc3bd(0x175)][_0x3dc3bd(0x1f6)]({'id':J[_0x3dc3bd(0x354)]}):this[_0x3dc3bd(0x175)][_0x3dc3bd(0x1f6)]({'id':J['CONFLICT']});}['_disableEditing'](){var _0x1180ab=_0x4216d1;this[_0x1180ab(0xbb)][_0x1180ab(0x2b8)](new Q['WorkbookEditablePermission'](this[_0x1180ab(0x311)])['id'],!0x1);}},exports[_0x4216d1(0x3ba)]=ae([L(0x6,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x1bd)])),L(0x7,o[_0x4216d1(0x3b9)]),L(0x8,o[_0x4216d1(0x2ff)]),L(0x9,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),L(0xa,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x9a)])),L(0xb,o[_0x4216d1(0x3cb)](ee)),L(0xc,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0x3ba)]),exports[_0x4216d1(0x218)]=class extends oe{constructor(_0x4aa0f3,_0x53e2f7,_0x61b2d3,_0x27c4f1,_0x37eabd,_0x1b5d1e,_0x4dc0a5,_0x4e8887,_0x3eb219,_0x2cb2cd){var _0x4cb4f6=_0x4216d1;super(_0x4aa0f3,_0x53e2f7,_0x61b2d3,_0x27c4f1,_0x37eabd,_0x4e8887,_0x3eb219,_0x4dc0a5,_0x2cb2cd),A(this,_0x4cb4f6(0x20d),_0x4cb4f6(0x2a8)),this[_0x4cb4f6(0x187)]=_0x1b5d1e;}['appendMutation'](_0x87c582){var _0x4a0657=_0x4216d1;return this[_0x4a0657(0x1c7)]['push'](_0x87c582),this['_updateLocalCache'](),this;}[_0x4216d1(0x32d)](_0x44cd82){var _0xf6b388=_0x4216d1;throw new Error(_0xf6b388(0x363));}[_0x4216d1(0x1f2)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4216d1(0x157)](){return this;}[_0x4216d1(0xd3)](){return this;}['toggleOnline'](){var _0x3354a1=_0x4216d1;const {_injector:_0x1b5921,_pendingMutations:_0x127763,_awaitingChangeset:_0x208ed1,unitID:_0x25d7dd,_handler:_0x56b8b5,type:_0x50e418}=this,_0x3dd245=Et(_0x1b5921,_0x25d7dd,_0x50e418,_0x208ed1,_0x127763,_0x56b8b5);return _0x3dd245 instanceof exports[_0x3354a1(0x2a3)]?_0x3dd245['_schedule']():(_0x3dd245 instanceof exports[_0x3354a1(0x358)]||_0x3dd245 instanceof exports[_0x3354a1(0x10a)])&&_0x3dd245[_0x3354a1(0x37d)](),_0x3dd245;}[_0x4216d1(0x37d)](){var _0x569e74=_0x4216d1;throw new Error(_0x569e74(0x3fb));}},exports['OfflineState']=ae([L(0x5,o['Inject'](o[_0x4216d1(0x260)])),L(0x6,o['Inject'](E[_0x4216d1(0x28e)])),L(0x7,o[_0x4216d1(0x3b9)]),L(0x8,o[_0x4216d1(0x2ff)]),L(0x9,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0x218)]),exports[_0x4216d1(0xa8)]=class extends oe{constructor(_0x4bd6b4,_0x566d83,_0x4f28d7,_0x5d07ef,_0x58bd29,_0x5c777c,_0x2095da,_0x57fe7f,_0x141c1d,_0x55f24a,_0x2f64d3,_0x348111,_0x5617f9,_0x4437fa){var _0x91ec03=_0x4216d1;super(_0x4bd6b4,_0x566d83,_0x4f28d7,_0x5d07ef,_0x2095da,_0x2f64d3,_0x348111,_0x141c1d,_0x4437fa),A(this,'status',_0x91ec03(0x147)),(this[_0x91ec03(0x26b)]=_0x58bd29,this[_0x91ec03(0x2fe)]=_0x5c777c,this[_0x91ec03(0x187)]=_0x57fe7f,this[_0x91ec03(0x403)]=_0x55f24a,this['_transformService']=_0x5617f9,this[_0x91ec03(0x87)]=_0x4437fa);}[_0x4216d1(0x316)](_0x2a2968){var _0x13aab3=_0x4216d1;try{const _0x3e2e02=[..._0x2a2968,...this['_queuedRemoteChangesets']],_0x27c650=[this[_0x13aab3(0xe6)]||this['_acknowledgedAwaitingChangeset']][_0x13aab3(0x168)](_0x262cfd=>!!_0x262cfd);let _0x262bf8,_0x1edb28;if(_0x27c650[_0x13aab3(0x189)]){const _0x5da589=this['_transformService'][_0x13aab3(0xad)](_0x3e2e02,_0x27c650,!0x1);if(!E[_0x13aab3(0xf5)](_0x5da589))throw _0x5da589[_0x13aab3(0x378)];_0x262bf8=_0x5da589[_0x13aab3(0x1d9)],_0x1edb28=_0x5da589['c2Prime'];}else _0x262bf8=_0x3e2e02,_0x1edb28=[];let _0x488f04=this[_0x13aab3(0x1c7)];_0x262bf8[_0x13aab3(0x1d5)](_0x1387a6=>{var _0x49d4e3=_0x13aab3;let _0x935447;if(_0x488f04[_0x49d4e3(0x189)]){const _0xd9c2a7=this[_0x49d4e3(0x82)][_0x49d4e3(0x89)](_0x1387a6,_0x488f04);if(!E['isTransformMutationsWithChangesetSuccess'](_0xd9c2a7))throw _0xd9c2a7[_0x49d4e3(0x378)];_0x935447=_0xd9c2a7['c1Prime'],_0x488f04=_0xd9c2a7[_0x49d4e3(0xdd)];}else _0x935447=_0x1387a6;this[_0x49d4e3(0x152)](_0x935447);}),this[_0x13aab3(0x26b)]&&this[_0x13aab3(0x306)](),this[_0x13aab3(0xe6)]&&_0x1edb28[_0x13aab3(0x189)]&&(_0x1edb28[0x0][_0x13aab3(0x226)]=this[_0x13aab3(0x197)]());let _0x4a2857;if(this[_0x13aab3(0xe6)]&&_0x488f04[_0x13aab3(0x189)]!==0x0)_0x4a2857=this[_0x13aab3(0x187)][_0x13aab3(0xdb)](exports[_0x13aab3(0x358)],this[_0x13aab3(0x311)],this[_0x13aab3(0x36e)],_0x1edb28[0x0],_0x488f04,this[_0x13aab3(0x1cd)],void 0x0);else{if(this[_0x13aab3(0xe6)]&&_0x488f04['length']===0x0)_0x1edb28[0x0][_0x13aab3(0x226)]=this['_getCurrentRevision'](),_0x4a2857=this[_0x13aab3(0x187)][_0x13aab3(0xdb)](exports['AwaitingState'],this[_0x13aab3(0x311)],this[_0x13aab3(0x36e)],_0x1edb28[0x0],this['_handler']);else{if(_0x488f04[_0x13aab3(0x189)]!==0x0){const _0x20b6de=this[_0x13aab3(0x187)][_0x13aab3(0xdb)](exports[_0x13aab3(0x2a3)],this[_0x13aab3(0x311)],this[_0x13aab3(0x36e)],_0x488f04,this[_0x13aab3(0x1cd)]);_0x20b6de[_0x13aab3(0x2d7)](),_0x4a2857=_0x20b6de;}else _0x4a2857=this['_injector']['createInstance'](exports['SyncedState'],this['unitID'],this['type'],this[_0x13aab3(0x1cd)]);}}return _0x4a2857[_0x13aab3(0x2ae)](),_0x4a2857;}catch(_0x193684){return this[_0x13aab3(0x403)][_0x13aab3(0x378)](_0x13aab3(0x3cf),_0x13aab3(0x3d3),_0x193684),this[_0x13aab3(0x187)][_0x13aab3(0xdb)](exports[_0x13aab3(0x3ba)],this[_0x13aab3(0x311)],this[_0x13aab3(0x36e)],this[_0x13aab3(0xe6)],this[_0x13aab3(0x1c7)],this[_0x13aab3(0x1cd)],!0x1);}}[_0x4216d1(0x37d)](){var _0x42e4ee=_0x4216d1;throw new Error(_0x42e4ee(0x3d8));}['appendMutation'](_0x1194ea){var _0x4e852a=_0x4216d1;return this[_0x4e852a(0x1c7)][_0x4e852a(0x188)](_0x1194ea),this;}[_0x4216d1(0x32d)](_0x3849d1){var _0x284058=_0x4216d1;return this[_0x284058(0x2fe)][_0x284058(0x188)](_0x3849d1),this;}['onRemoteAck'](_0x48a8ed){var _0x593d49=_0x4216d1;if(this[_0x593d49(0xe6)])return this[_0x593d49(0x26b)]=this['_awaitingChangeset'],this[_0x593d49(0xe6)]=null,this;throw new Error(_0x593d49(0x184));}['onRemoteRej'](_0x330c6f){var _0x44d3a3=_0x4216d1;return this[_0x44d3a3(0x198)](!!(_0x330c6f!=null&&_0x330c6f[_0x44d3a3(0x1b2)]));}[_0x4216d1(0x157)](){return this;}['toggleOffline'](){var _0x2449e9=_0x4216d1;return this['_injector']['createInstance'](exports[_0x2449e9(0x218)],this['unitID'],this[_0x2449e9(0x36e)],this[_0x2449e9(0xe6)],this[_0x2449e9(0x1c7)],this[_0x2449e9(0x1cd)]);}[_0x4216d1(0x156)](){return this;}[_0x4216d1(0x198)](_0x5c6e6f){var _0x12a6de=_0x4216d1;return this[_0x12a6de(0x187)][_0x12a6de(0xdb)](exports[_0x12a6de(0x3ba)],this[_0x12a6de(0x311)],this[_0x12a6de(0x36e)],this[_0x12a6de(0xe6)],this[_0x12a6de(0x1c7)],this[_0x12a6de(0x1cd)],_0x5c6e6f);}},exports['FetchingMissState']=ae([L(0x7,o['Inject'](o[_0x4216d1(0x260)])),L(0x8,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),L(0x9,o[_0x4216d1(0x23a)]),L(0xa,o[_0x4216d1(0x3b9)]),L(0xb,o[_0x4216d1(0x2ff)]),L(0xc,E[_0x4216d1(0x122)]),L(0xd,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0xa8)]);function Et(_0x48277a,_0x2ad2eb,_0x503bc3,_0xaac4e,_0x75109f,_0x2b2af8){var _0x2a0dc6=_0x4216d1;return _0xaac4e&&_0x75109f[_0x2a0dc6(0x189)]?_0x48277a[_0x2a0dc6(0xdb)](exports['AwaitingWithPendingState'],_0x2ad2eb,_0x503bc3,_0xaac4e,_0x75109f,_0x2b2af8,void 0x0):_0xaac4e?_0x48277a[_0x2a0dc6(0xdb)](exports[_0x2a0dc6(0x10a)],_0x2ad2eb,_0x503bc3,_0xaac4e,_0x2b2af8):_0x75109f[_0x2a0dc6(0x189)]?_0x48277a[_0x2a0dc6(0xdb)](exports[_0x2a0dc6(0x2a3)],_0x2ad2eb,_0x503bc3,_0x75109f,_0x2b2af8):_0x48277a[_0x2a0dc6(0xdb)](exports[_0x2a0dc6(0x2e8)],_0x2ad2eb,_0x503bc3,_0x2b2af8);}var si=Object[_0x4216d1(0x367)],Be=(_0x125461,_0x568d24,_0x4f4970,_0x4b7fe4)=>{var _0x53a265=_0x4216d1;for(var _0xccf156=_0x4b7fe4>0x1?void 0x0:_0x4b7fe4?si(_0x568d24,_0x4f4970):_0x568d24,_0x4b64ac=_0x125461[_0x53a265(0x189)]-0x1,_0x599e69;_0x4b64ac>=0x0;_0x4b64ac--)(_0x599e69=_0x125461[_0x4b64ac])&&(_0xccf156=_0x599e69(_0xccf156)||_0xccf156);return _0xccf156;},$=(_0x426318,_0x18bd25)=>(_0x3992a6,_0x5173a9)=>_0x18bd25(_0x3992a6,_0x5173a9,_0x426318);exports[_0x4216d1(0x217)]=class extends o[_0x4216d1(0x1dc)]{constructor(_0x5c13fc,_0x4a3c98,_0x5759f1,_0x271b98,_0x8f1af0,_0x403bc9,_0x513937,_0x5c156d,_0x4c07c2,_0x47c73b,_0x1bc323,_0x44d52f,_0x41035f,_0x2df7a1){var _0x276194=_0x4216d1;super(),A(this,_0x276194(0x34c),new j[(_0x276194(0x2c1))](null)),A(this,_0x276194(0x12b),this[_0x276194(0x34c)][_0x276194(0xf4)]()),A(this,_0x276194(0x17c)),A(this,_0x276194(0x371),!0x1),A(this,_0x276194(0x1ea),''),A(this,_0x276194(0x177),0x0),A(this,_0x276194(0x1cb),this[_0x276194(0x12b)]['pipe'](j['map'](_0x58f93f=>_0x58f93f?_0x58f93f['status']:je[_0x276194(0xb4)]),j['shareReplay'](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x276194(0x34d),[]),(this[_0x276194(0x311)]=_0x5c13fc,this['session']=_0x4a3c98,this[_0x276194(0x375)]=_0x5759f1,this[_0x276194(0x187)]=_0x271b98,this['_compressMutationService']=_0x8f1af0,this[_0x276194(0x31b)]=_0x403bc9,this[_0x276194(0xac)]=_0x513937,this[_0x276194(0x151)]=_0x5c156d,this[_0x276194(0x215)]=_0x4c07c2,this[_0x276194(0x403)]=_0x47c73b,this[_0x276194(0x332)]=_0x1bc323,this['_permissionService']=_0x44d52f,this[_0x276194(0x160)]=_0x41035f,this[_0x276194(0x336)]=_0x2df7a1);}get[_0x4216d1(0x99)](){var _0x3ef751=_0x4216d1;return this[_0x3ef751(0x17c)];}async[_0x4216d1(0x416)](){var _0x375179=_0x4216d1;if(this[_0x375179(0x99)])throw new Error(_0x375179(0x30f));await this[_0x375179(0x2ab)]();}[_0x4216d1(0x299)](){var _0x321df2=_0x4216d1;return this[_0x321df2(0x371)]=!0x0,o['toDisposable'](()=>{var _0x131d97=_0x321df2;this[_0x131d97(0x371)]=!0x1,this[_0x131d97(0x138)]();});}[_0x4216d1(0x296)](_0x33aacd){var _0x17a371=_0x4216d1;this[_0x17a371(0x404)](_0x33aacd);}[_0x4216d1(0x92)](_0x1ce92b){var _0x46d005=_0x4216d1;this[_0x46d005(0x17c)]=_0x1ce92b,this[_0x46d005(0x34c)]['next'](_0x1ce92b);}async[_0x4216d1(0x2ab)](){var _0x3acb79=_0x4216d1,_0x12431d;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x12431d=this[_0x3acb79(0x160)])==null||_0x12431d[_0x3acb79(0x8a)](this[_0x3acb79(0x311)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3acb79(0x25f)](this[_0x3acb79(0x311)])[_0x3acb79(0x19a)](_0x3c1023=>{var _0x4a7b78=_0x3acb79;this[_0x4a7b78(0x403)][_0x4a7b78(0x2b5)]('[CollaborationEntity]',_0x4a7b78(0x1fd),_0x3c1023),_0x3c1023===He['OTHER_CLIENTS_EDITING']?(this[_0x4a7b78(0x151)]['emitEvent']({'id':J[_0x4a7b78(0x330)]}),this['_permissionService'][_0x4a7b78(0x2b8)](new Q['WorkbookEditablePermission'](this[_0x4a7b78(0x311)])['id'],!0x1),this['_permissionService'][_0x4a7b78(0x2ba)](!0x1)):(this['_permissionService'][_0x4a7b78(0x2b8)](new Q[(_0x4a7b78(0x2a7))](this['unitID'])['id'],!0x0),this[_0x4a7b78(0xbb)][_0x4a7b78(0x2ba)](!0x0));})));let _0x1e0739=!0x1;return this[_0x3acb79(0x1ab)](this['session'][_0x3acb79(0x17e)][_0x3acb79(0x19a)](_0x23595a=>{var _0x18feba=_0x3acb79;_0x23595a===se[_0x18feba(0x309)]?this[_0x18feba(0x405)](_0x1e0739):_0x23595a===se[_0x18feba(0xb4)]&&(_0x1e0739=!0x0,this[_0x18feba(0x355)]());})),this[_0x3acb79(0x1ab)](this[_0x3acb79(0x2c7)][_0x3acb79(0x37f)][_0x3acb79(0x19a)](_0x4db7da=>{var _0x295d92=_0x3acb79;try{switch(_0x4db7da[_0x295d92(0x25a)]){case E['CollaborationEvent'][_0x295d92(0x22f)]:{this['_onRemoteChangeset'](E['parseProtocolChangeset'](_0x4db7da[_0x295d92(0x2ac)]));break;}case E[_0x295d92(0x3ab)][_0x295d92(0xd1)]:{this[_0x295d92(0x3da)](_0x4db7da[_0x295d92(0x2ac)]);break;}case E[_0x295d92(0x3ab)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case E['CollaborationEvent'][_0x295d92(0x304)]:{this['_onRemoteRetry'](_0x4db7da['data']);break;}case E[_0x295d92(0x3ab)][_0x295d92(0xc8)]:{this[_0x295d92(0x81)](_0x4db7da[_0x295d92(0x2ac)]['changesets'][_0x295d92(0x131)](_0x17969d=>E[_0x295d92(0x36c)](_0x17969d)));break;}case E['CollaborationEvent'][_0x295d92(0xa1)]:{this[_0x295d92(0xa5)]({'isPermissionRej':!0x0});break;}case E[_0x295d92(0x3ab)]['UNISCRIPT_RUN']:break;}}catch(_0x378076){throw console[_0x295d92(0x378)](_0x295d92(0x1ec),_0x378076),_0x378076;}})),this[_0x3acb79(0x17c)];}[_0x4216d1(0x25e)](){var _0x46cb02=_0x4216d1;this[_0x46cb02(0xdc)]=!0x1;}[_0x4216d1(0x26c)](){var _0x39f8da=_0x4216d1;if(this[_0x39f8da(0xdc)])throw new Error(_0x39f8da(0x9d));this[_0x39f8da(0xdc)]=!0x0;}[_0x4216d1(0x404)](_0x227a7a){var _0x5ab0a2=_0x4216d1;this['_lockTransition'](),this[_0x5ab0a2(0x92)](this[_0x5ab0a2(0x17c)][_0x5ab0a2(0x15e)](_0x227a7a)),this[_0x5ab0a2(0x25e)]();}[_0x4216d1(0x1b1)](_0x406f68){var _0x521027=_0x4216d1;if(!(_0x406f68[_0x521027(0x15b)]<=this[_0x521027(0xac)][_0x521027(0x3be)](this[_0x521027(0x311)]))){if(this[_0x521027(0x371)]){this[_0x521027(0x34d)][_0x521027(0x188)](_0x406f68);return;}this[_0x521027(0x154)](_0x406f68);}}[_0x4216d1(0x138)](){var _0x30fa24=_0x4216d1;this[_0x30fa24(0x34d)][_0x30fa24(0x1d5)](_0x2820f5=>this[_0x30fa24(0x154)](_0x2820f5)),this[_0x30fa24(0x34d)]=[];}[_0x4216d1(0x154)](_0x6ab23e){var _0x10abe8=_0x4216d1;const _0x2f63cf=this[_0x10abe8(0x23e)][_0x10abe8(0x15d)]['fetchThroughInterceptors'](this[_0x10abe8(0x23e)][_0x10abe8(0x15d)][_0x10abe8(0x2e7)]()[_0x10abe8(0x171)])(_0x6ab23e[_0x10abe8(0x257)],null)||_0x6ab23e['mutations'],_0x4a0466={..._0x6ab23e,'mutations':_0x2f63cf};this[_0x10abe8(0x26c)](),this[_0x10abe8(0x92)](this[_0x10abe8(0x17c)]['onRemoteChangeset'](_0x4a0466)),this['_unlockTransition']();}[_0x4216d1(0x3da)](_0x2bc1e4){var _0x341266=_0x4216d1;this[_0x341266(0x26c)](),this[_0x341266(0x92)](this[_0x341266(0x17c)]['onRemoteAck'](_0x2bc1e4)),this[_0x341266(0x25e)]();}[_0x4216d1(0xa5)](_0x103b7c){var _0x187bbf=_0x4216d1;this[_0x187bbf(0x26c)](),this[_0x187bbf(0x92)](this[_0x187bbf(0x17c)][_0x187bbf(0x112)](_0x103b7c)),this[_0x187bbf(0x25e)]();}['_onRemoteRetry'](_0x1b71ea){var _0x505c59=_0x4216d1;this['_lockTransition'](),this['_updateState'](this[_0x505c59(0x17c)][_0x505c59(0x157)](_0x1b71ea)),this[_0x505c59(0x25e)]();}[_0x4216d1(0x81)](_0x5e4f8c){var _0x255ec2=_0x4216d1;if(!(this['_state']instanceof exports[_0x255ec2(0xa8)]))throw new TypeError(_0x255ec2(0x346));const _0x589bae=_0x5e4f8c[_0x255ec2(0x131)](_0x5323d5=>{var _0x6f9a22=_0x255ec2;const _0xb356ae=this[_0x6f9a22(0x23e)][_0x6f9a22(0x15d)][_0x6f9a22(0x3d2)](this[_0x6f9a22(0x23e)][_0x6f9a22(0x15d)][_0x6f9a22(0x2e7)]()[_0x6f9a22(0x171)])(_0x5323d5['mutations'],null)||_0x5323d5[_0x6f9a22(0x257)];return{..._0x5323d5,'mutations':_0xb356ae};});this['_lockTransition'](),this[_0x255ec2(0x92)](this['_state'][_0x255ec2(0x316)](_0x589bae)),this[_0x255ec2(0x25e)]();}['_toggleOffline'](){var _0x409845=_0x4216d1;this[_0x409845(0x26c)](),this[_0x409845(0x92)](this[_0x409845(0x17c)][_0x409845(0xd3)]()),this[_0x409845(0x25e)]();}[_0x4216d1(0x405)](_0x5b8cd4=!0x1){var _0x57093e=_0x4216d1;this[_0x57093e(0x26c)](),this[_0x57093e(0x92)](this['_state'][_0x57093e(0x156)]()),this[_0x57093e(0x25e)]();const _0x420f69=this[_0x57093e(0x17c)];_0x5b8cd4&&_0x420f69 instanceof exports[_0x57093e(0x2e8)]&&(this['_lockTransition'](),this[_0x57093e(0x92)](_0x420f69['fetchMiss']()),this['_unlockTransition']());}async[_0x4216d1(0x1c9)](){return new Promise(_0x1d6394=>{var _0x1c669e=_0x9f6e;this['session'][_0x1c669e(0x17e)][_0x1c669e(0x91)](j[_0x1c669e(0x12e)](0x1))[_0x1c669e(0x19a)](async _0x38b3aa=>{var _0x25cfa8=_0x1c669e;_0x1d6394(await this['_createInitialStateImpl'](_0x38b3aa===se[_0x25cfa8(0x309)]));});});}['_createHandler'](){var _0x238a9c=_0x4216d1;const _0x8a41e5=this[_0x238a9c(0x311)];return{'onStateChange':(_0x3dce57,_0x422e6c)=>{var _0x3fc1e0=_0x238a9c;if(_0x3dce57!==this[_0x3fc1e0(0x17c)])throw new Error(_0x3fc1e0(0x208)+_0x3dce57[_0x3fc1e0(0x20d)]+_0x3fc1e0(0x1c2)+_0x422e6c[_0x3fc1e0(0x20d)]+'\x0aCurrent:\x20'+this[_0x3fc1e0(0x17c)][_0x3fc1e0(0x20d)]);this['_updateState'](_0x422e6c);},'onSendChangeset':_0x1dfc49=>{var _0x4e0233=_0x238a9c;_0x1dfc49[_0x4e0233(0x227)]||(_0x1dfc49[_0x4e0233(0x227)]=this['_changesetSessionId'],_0x1dfc49[_0x4e0233(0x335)]=++this['_changesetReqId']);const _0x43c38c={'eventID':E[_0x4e0233(0x3ab)][_0x4e0233(0x348)],'data':{'unitID':_0x1dfc49[_0x4e0233(0x311)],'unitType':this['_type'],'changeset':_0x1dfc49,'memberID':this[_0x4e0233(0x2c7)]['getMemberID']()}};this[_0x4e0233(0x2c7)][_0x4e0233(0x1ca)](_0x43c38c,this[_0x4e0233(0x311)]);},'onMissingChangesets':({from:_0x30dba9,to:_0xe82860})=>{var _0x5235d4=_0x238a9c;this[_0x5235d4(0x403)][_0x5235d4(0x2b5)](_0x5235d4(0x285),'fetching\x20missing\x20changesets\x20from\x20'+_0x30dba9+'\x20to\x20'+_0xe82860);const _0x407f46={'eventID':E[_0x5235d4(0x3ab)][_0x5235d4(0x13d)],'data':{'unitID':_0x8a41e5,'unitType':this['_type'],'from':_0x30dba9,'to':_0xe82860}};this['session'][_0x5235d4(0x1ca)](_0x407f46,this['unitID']);}};}async['_createInitialStateImpl'](_0x511ef1){var _0x3698b1=_0x4216d1,_0x49a49c,_0x136efd,_0x4da6c5;const _0x5f2602=await((_0x49a49c=this[_0x3698b1(0x336)])==null?void 0x0:_0x49a49c['loadOfflineData'](this[_0x3698b1(0x311)])),_0xe044bd=(_0x136efd=_0x5f2602==null?void 0x0:_0x5f2602[_0x3698b1(0x257)])!=null?_0x136efd:[],_0x5ddc4b=(_0x4da6c5=_0x5f2602==null?void 0x0:_0x5f2602[_0x3698b1(0x2de)])!=null?_0x4da6c5:null,_0x39dfd4=!!(_0x5ddc4b!=null&&_0x5ddc4b[_0x3698b1(0x227)])&&!!(_0x5ddc4b!=null&&_0x5ddc4b['reqId']);this[_0x3698b1(0x1ea)]=_0x39dfd4?_0x5ddc4b[_0x3698b1(0x227)]:E['uuidv4'](),this[_0x3698b1(0x177)]=_0x39dfd4?_0x5ddc4b[_0x3698b1(0x335)]:0x0;const _0x7e5920=this[_0x3698b1(0x311)];try{this[_0x3698b1(0x3f0)](_0x5ddc4b,_0xe044bd);}catch(_0x3e0a57){this[_0x3698b1(0x403)][_0x3698b1(0x378)](_0x3e0a57);}const _0x2905fd=this[_0x3698b1(0x2d1)]();if(_0x511ef1){const _0x2a5a70=Et(this[_0x3698b1(0x187)],_0x7e5920,this[_0x3698b1(0x375)],_0x5ddc4b,_0xe044bd,_0x2905fd);return _0x2a5a70 instanceof exports[_0x3698b1(0x2a3)]?_0x2a5a70[_0x3698b1(0x2d7)]():(_0x2a5a70 instanceof exports['AwaitingWithPendingState']||_0x2a5a70 instanceof exports['AwaitingState'])&&_0x2a5a70[_0x3698b1(0x37d)](),_0x2a5a70;}return this['_injector'][_0x3698b1(0xdb)](exports[_0x3698b1(0x218)],_0x7e5920,this[_0x3698b1(0x375)],_0x5ddc4b,_0xe044bd,_0x2905fd);}['_replayCachedMutations'](_0x344fe1,_0x18cb95){var _0x592206=_0x4216d1,_0x48d55d,_0x468185;const _0x7f5924=this[_0x592206(0x23e)][_0x592206(0x15d)]['fetchThroughInterceptors'](this[_0x592206(0x23e)][_0x592206(0x15d)][_0x592206(0x2e7)]()[_0x592206(0x171)]);(_0x48d55d=_0x7f5924((_0x344fe1==null?void 0x0:_0x344fe1[_0x592206(0x257)])||[],null))==null||_0x48d55d[_0x592206(0x1d5)](_0x32f96d=>this[_0x592206(0x332)][_0x592206(0x10f)](_0x32f96d['id'],_0x32f96d[_0x592206(0x1d7)])),(_0x468185=_0x7f5924(_0x18cb95||[],null))==null||_0x468185['forEach'](_0x248ea2=>this[_0x592206(0x332)][_0x592206(0x10f)](_0x248ea2['id'],_0x248ea2['params']));}},exports['CollaborationEntity']=Be([$(0x3,o[_0x4216d1(0x3cb)](o['Injector'])),$(0x4,o['Inject'](E[_0x4216d1(0x124)])),$(0x5,o[_0x4216d1(0x3cb)](o['LocaleService'])),$(0x6,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x4216d1(0xf3)]),$(0x9,o[_0x4216d1(0x23a)]),$(0xa,o[_0x4216d1(0x3b9)]),$(0xb,o[_0x4216d1(0x1bd)]),$(0xc,o[_0x4216d1(0x179)](ve)),$(0xd,o['Optional'](q))],exports[_0x4216d1(0x217)]),exports[_0x4216d1(0x314)]=class extends exports[_0x4216d1(0x217)]{constructor(_0x4207e9,_0x5862cb,_0x22c58f,_0xaf3e14,_0x5eeb98,_0x398e4e,_0x197c4f,_0x200346,_0x332215,_0x27abe8,_0x4423f4,_0x43b5b4,_0x58244b,_0x4a52c7){var _0x45fa68=_0x4216d1;super(_0x4207e9,_0x22c58f,_0x5862cb,_0xaf3e14,_0x5eeb98,_0x398e4e,_0x197c4f,_0x200346,_0x332215,_0x27abe8,_0x4423f4,_0x43b5b4,_0x58244b,_0x4a52c7),A(this,'_handlerCallback',null),(this[_0x45fa68(0x311)]=_0x4207e9,this[_0x45fa68(0x36e)]=_0x5862cb);}[_0x4216d1(0x409)](_0x2075f4){var _0x29b56c=_0x4216d1;this[_0x29b56c(0x190)]=_0x2075f4;}[_0x4216d1(0x2da)](){var _0x2a5236=_0x4216d1;this[_0x2a5236(0x190)]=null,super['dispose']();}[_0x4216d1(0x2d1)](){var _0x5a0960=_0x4216d1;const _0x4c7ee6=super[_0x5a0960(0x2d1)]();return _0x4c7ee6[_0x5a0960(0x103)]=_0x40d937=>{var _0x1dd73e=_0x5a0960,_0x4be1dc,_0x4aab39;return(_0x4aab39=(_0x4be1dc=this['_handlerCallback'])==null?void 0x0:_0x4be1dc[_0x1dd73e(0x103)])==null?void 0x0:_0x4aab39[_0x1dd73e(0x1c6)](_0x4be1dc,_0x40d937);},_0x4c7ee6[_0x5a0960(0x11a)]=_0x3e8b89=>{var _0x92344=_0x5a0960,_0x1a4c56,_0x5a690a;return(_0x5a690a=(_0x1a4c56=this[_0x92344(0x190)])==null?void 0x0:_0x1a4c56[_0x92344(0x11a)])==null?void 0x0:_0x5a690a[_0x92344(0x1c6)](_0x1a4c56,_0x3e8b89);},_0x4c7ee6['onTransformSelections']=_0x3f7d36=>{var _0x3858c1,_0x25ebb8;return(_0x25ebb8=(_0x3858c1=this['_handlerCallback'])==null?void 0x0:_0x3858c1['onTransformSelections'])==null?void 0x0:_0x25ebb8['call'](_0x3858c1,_0x3f7d36);},_0x4c7ee6[_0x5a0960(0x174)]=_0x432212=>{var _0x4f0b0d=_0x5a0960,_0x5bfaba,_0x145947;return(_0x145947=(_0x5bfaba=this[_0x4f0b0d(0x190)])==null?void 0x0:_0x5bfaba[_0x4f0b0d(0x174)])==null?void 0x0:_0x145947[_0x4f0b0d(0x1c6)](_0x5bfaba,_0x432212);},_0x4c7ee6['onTransformRemoteChangesetByIMECache']=_0xfdeec6=>{var _0x3b057f=_0x5a0960,_0x276f48,_0x4921ae,_0xa0d940;if(!((_0x276f48=this[_0x3b057f(0x190)])!=null&&_0x276f48['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3b057f(0x20c));return(_0xa0d940=(_0x4921ae=this['_handlerCallback'])==null?void 0x0:_0x4921ae['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xa0d940[_0x3b057f(0x1c6)](_0x4921ae,_0xfdeec6);},_0x4c7ee6[_0x5a0960(0x370)]=_0x2f5f99=>{var _0x418e19=_0x5a0960,_0x4c61ff,_0x16350e,_0x595091;if(!((_0x4c61ff=this[_0x418e19(0x190)])!=null&&_0x4c61ff[_0x418e19(0x370)]))throw new Error(_0x418e19(0x389));return(_0x595091=(_0x16350e=this['_handlerCallback'])==null?void 0x0:_0x16350e[_0x418e19(0x370)])==null?void 0x0:_0x595091[_0x418e19(0x1c6)](_0x16350e,_0x2f5f99);},_0x4c7ee6;}async[_0x4216d1(0x2ab)](){var _0x4e924f=_0x4216d1;const _0x49e0dd=await super[_0x4e924f(0x2ab)]();return this['disposeWithMe'](this[_0x4e924f(0x332)][_0x4e924f(0x282)]((_0x351e30,_0x5cc355)=>{var _0xac3bad=_0x4e924f;if(_0x351e30['type']!==o[_0xac3bad(0x116)][_0xac3bad(0x2db)]||_0x5cc355!=null&&_0x5cc355[_0xac3bad(0x3aa)]||_0x5cc355!=null&&_0x5cc355['onlyLocal']||_0x351e30['id']===ct[_0xac3bad(0xf1)]['id'])return;const _0x3b74f2=_0x351e30[_0xac3bad(0x1d7)];if((_0x3b74f2==null?void 0x0:_0x3b74f2[_0xac3bad(0x3b5)])!==this[_0xac3bad(0x311)])return;const _0x34e63a=_0x351e30,_0x5db691=this[_0xac3bad(0x23e)][_0xac3bad(0x15d)][_0xac3bad(0x3d2)](this[_0xac3bad(0x23e)][_0xac3bad(0x15d)][_0xac3bad(0x2e7)]()['COMPRESS_MUTATION_SEND'])([_0x34e63a],this[_0xac3bad(0x215)])||[_0x34e63a];this['_onLocalMutation'](_0x5db691[0x0]);})),_0x49e0dd;}},exports[_0x4216d1(0x314)]=Be([$(0x3,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),$(0x4,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x124)])),$(0x5,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x9a)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o[_0x4216d1(0x3cb)](ee)),$(0x8,o[_0x4216d1(0xf3)]),$(0x9,o[_0x4216d1(0x23a)]),$(0xa,o[_0x4216d1(0x3b9)]),$(0xb,o[_0x4216d1(0x1bd)]),$(0xc,o[_0x4216d1(0x179)](ve)),$(0xd,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0x314)]),exports[_0x4216d1(0x344)]=class extends exports[_0x4216d1(0x217)]{constructor(_0x8400c0,_0x1ccd35,_0x11c692,_0x5ab9f0,_0xd32216,_0x123ccb,_0x3f971b,_0x516ba0,_0x334815,_0x2edc39,_0x2638e9,_0x1ce8bd,_0x518a48,_0x135c58,_0x238cc4){var _0xdfc6c=_0x4216d1;super(_0x8400c0,_0x11c692,_0x1ccd35,_0x5ab9f0,_0xd32216,_0x123ccb,_0x3f971b,_0x334815,_0x2edc39,_0x2638e9,_0x1ce8bd,_0x518a48,_0x135c58,_0x238cc4),this[_0xdfc6c(0x311)]=_0x8400c0,this[_0xdfc6c(0x36e)]=_0x1ccd35,this[_0xdfc6c(0x236)]=_0x516ba0;}[_0x4216d1(0x2d1)](){var _0x23855f=_0x4216d1;const _0x7f517b=super[_0x23855f(0x2d1)]();return _0x7f517b[_0x23855f(0xb2)]=_0x29944b=>this['_sheetTransformSelectionsService']['transformSelections'](_0x29944b),_0x7f517b;}async[_0x4216d1(0x2ab)](){var _0x62498f=_0x4216d1;const _0x51b936=await super[_0x62498f(0x2ab)]();return this[_0x62498f(0x1ab)](this[_0x62498f(0x332)]['onMutationExecutedForCollab']((_0x23072a,_0x4798f6)=>{var _0x55d01b=_0x62498f;if(_0x23072a[_0x55d01b(0x36e)]!==o[_0x55d01b(0x116)][_0x55d01b(0x2db)]||_0x4798f6!=null&&_0x4798f6[_0x55d01b(0x3aa)]||_0x4798f6!=null&&_0x4798f6[_0x55d01b(0x271)])return;const _0x34352c=_0x23072a[_0x55d01b(0x1d7)];if((_0x34352c==null?void 0x0:_0x34352c[_0x55d01b(0x3b5)])!==this[_0x55d01b(0x311)])return;const _0x224203=_0x23072a,_0x2f8557=this[_0x55d01b(0x23e)]['interceptor']['fetchThroughInterceptors'](this[_0x55d01b(0x23e)][_0x55d01b(0x15d)]['getInterceptPoints']()[_0x55d01b(0x27f)])([_0x224203],this[_0x55d01b(0x215)])||[_0x224203];this[_0x55d01b(0x404)](_0x2f8557[0x0]);})),_0x51b936;}},exports[_0x4216d1(0x344)]=Be([$(0x3,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),$(0x4,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x124)])),$(0x5,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x9a)])),$(0x6,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x28e)])),$(0x7,o[_0x4216d1(0x3cb)](exports[_0x4216d1(0x22b)])),$(0x8,o[_0x4216d1(0x3cb)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o['ILogService']),$(0xb,o['ICommandService']),$(0xc,o[_0x4216d1(0x1bd)]),$(0xd,o[_0x4216d1(0x179)](ve)),$(0xe,o['Optional'](q))],exports[_0x4216d1(0x344)]);const pt=o[_0x4216d1(0x387)](_0x4216d1(0x357));function mt(_0x2bcdf6){var _0x2b5dc5=_0x4216d1,_0x48d846,_0xb9c322,_0x3e4b98,_0x349175,_0x3a9ffb;const _0x59d5f0=_0x2bcdf6['data'],_0x276118=JSON[_0x2b5dc5(0x272)](_0x59d5f0);switch(_0x276118[_0x2b5dc5(0x413)]){case W[_0x2b5dc5(0x214)]:case W['HELLO']:{const _0x59e4ad=_0x276118[_0x2b5dc5(0x178)];return{..._0x276118,'data':_0x59e4ad,'cmd':_0x276118[_0x2b5dc5(0x413)]};}case W[_0x2b5dc5(0x136)]:{const _0x38e6ef=_0x276118[_0x2b5dc5(0x1ce)];return{..._0x276118,'data':_0x38e6ef,'cmd':_0x276118[_0x2b5dc5(0x413)]};}case W[_0x2b5dc5(0xf6)]:{const _0x30d1af=_0x276118[_0x2b5dc5(0x19d)];switch(_0x30d1af[_0x2b5dc5(0x25a)]){case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0xa1)]:return{..._0x276118,'data':{..._0x30d1af,'data':(_0x48d846=_0x30d1af[_0x2b5dc5(0xb1)])==null?void 0x0:_0x48d846['cs']},'cmd':_0x276118['cmd']};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0xd1)]:return{..._0x276118,'data':{..._0x30d1af,'data':(_0xb9c322=_0x30d1af['csAckEvent'])==null?void 0x0:_0xb9c322['cs']},'cmd':_0x276118['cmd']};case E[_0x2b5dc5(0x3ab)]['NEW_CHANGESETS']:return{..._0x276118,'data':{..._0x30d1af,'data':(_0x3e4b98=_0x30d1af['newCsEvent'])==null?void 0x0:_0x3e4b98['cs']},'cmd':_0x276118['cmd']};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x3e4)]:return{..._0x276118,'data':{..._0x30d1af,'data':(_0x349175=_0x30d1af[_0x2b5dc5(0xaa)])==null?void 0x0:_0x349175['cs']},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E['CollaborationEvent'][_0x2b5dc5(0x304)]:return{..._0x276118,'data':{..._0x30d1af,'data':(_0x3a9ffb=_0x30d1af[_0x2b5dc5(0xd6)])==null?void 0x0:_0x3a9ffb['cs']},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0xc4)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x276)]},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x220)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x1b9)]},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x2b0)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x7f)]},'cmd':_0x276118['cmd']};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0xfd)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af['liveShareNewHost']},'cmd':_0x276118['cmd']};case E['CollaborationEvent'][_0x2b5dc5(0x368)]:case E['CollaborationEvent'][_0x2b5dc5(0xe7)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x28b)]},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x26d)]},'cmd':_0x276118['cmd']};case E[_0x2b5dc5(0x3ab)]['MSG_FOR_ERROR']:return{..._0x276118,'data':_0x30d1af,'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x13b)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x23c)]},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x126)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af['updatePermissionObjEvent']},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x37b)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x3e8)]},'cmd':_0x276118[_0x2b5dc5(0x413)]};case E[_0x2b5dc5(0x3ab)][_0x2b5dc5(0x2ec)]:return{..._0x276118,'data':{..._0x30d1af,'data':_0x30d1af[_0x2b5dc5(0x104)]},'cmd':_0x276118['cmd']};default:return _0x276118;}}default:return _0x276118;}}function gt(_0x1b8052){var _0x1a38b2=_0x4216d1;switch(_0x1b8052[_0x1a38b2(0x413)]){case W[_0x1a38b2(0x214)]:case W['HELLO']:return JSON[_0x1a38b2(0x25d)]({'cmd':_0x1b8052[_0x1a38b2(0x413)],'routeKey':_0x1b8052[_0x1a38b2(0x153)]});case W[_0x1a38b2(0x10e)]:{let _0x5f45c6;switch(_0x1b8052[_0x1a38b2(0x2ac)]['eventID']){case E['CollaborationEvent'][_0x1a38b2(0xc4)]:{_0x5f45c6={'eventID':E['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x1b8052[_0x1a38b2(0x2ac)][_0x1a38b2(0x2ac)]};break;}case E['CollaborationEvent']['USERS_LEAVE']:{_0x5f45c6={'eventID':E[_0x1a38b2(0x3ab)][_0x1a38b2(0x2b0)],'leaveEvent':_0x1b8052[_0x1a38b2(0x2ac)]['data']};break;}case E[_0x1a38b2(0x3ab)][_0x1a38b2(0x220)]:{_0x5f45c6={'eventID':E['CollaborationEvent'][_0x1a38b2(0x220)],'joinEvent':_0x1b8052[_0x1a38b2(0x2ac)][_0x1a38b2(0x2ac)]};break;}case E[_0x1a38b2(0x3ab)][_0x1a38b2(0xfd)]:{_0x5f45c6={'eventID':E[_0x1a38b2(0x3ab)][_0x1a38b2(0xfd)],'liveShareNewHost':_0x1b8052[_0x1a38b2(0x2ac)][_0x1a38b2(0x2ac)]};break;}case E[_0x1a38b2(0x3ab)][_0x1a38b2(0xe7)]:{_0x5f45c6={'eventID':E[_0x1a38b2(0x3ab)][_0x1a38b2(0xe7)],'liveShareOperation':_0x1b8052['data'][_0x1a38b2(0x2ac)]};break;}case E['CollaborationEvent'][_0x1a38b2(0x84)]:{_0x5f45c6={'eventID':E[_0x1a38b2(0x3ab)][_0x1a38b2(0x84)],'liveShareTerminate':_0x1b8052['data'][_0x1a38b2(0x2ac)]};break;}case E[_0x1a38b2(0x3ab)][_0x1a38b2(0x32e)]:{_0x5f45c6={'eventID':E[_0x1a38b2(0x3ab)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1b8052['data'][_0x1a38b2(0x2ac)]};break;}case E[_0x1a38b2(0x3ab)][_0x1a38b2(0x368)]:{_0x5f45c6={'eventID':E['CollaborationEvent'][_0x1a38b2(0x368)]};break;}default:_0x5f45c6={'eventID':_0x1b8052[_0x1a38b2(0x2ac)][_0x1a38b2(0x25a)]};}return JSON['stringify']({'cmd':_0x1b8052[_0x1a38b2(0x413)],'routeKey':_0x1b8052[_0x1a38b2(0x153)],'collaMsg':_0x5f45c6});}case W['JOIN']:return JSON['stringify']({'cmd':_0x1b8052[_0x1a38b2(0x413)],'routeKey':_0x1b8052[_0x1a38b2(0x153)],'joinReq':_0x1b8052[_0x1a38b2(0x2ac)]});case W[_0x1a38b2(0x158)]:return JSON[_0x1a38b2(0x25d)]({'cmd':_0x1b8052['cmd'],'routeKey':_0x1b8052[_0x1a38b2(0x153)],'leaveReq':_0x1b8052[_0x1a38b2(0x2ac)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object[_0x4216d1(0x367)],ai=(_0x507088,_0xd67aee,_0x3effe9,_0xad7915)=>{for(var _0x484ce0=_0xad7915>0x1?void 0x0:_0xad7915?ri(_0xd67aee,_0x3effe9):_0xd67aee,_0x28ae17=_0x507088['length']-0x1,_0x3ca293;_0x28ae17>=0x0;_0x28ae17--)(_0x3ca293=_0x507088[_0x28ae17])&&(_0x484ce0=_0x3ca293(_0x484ce0)||_0x484ce0);return _0x484ce0;},he=(_0x274ec7,_0x3182ea)=>(_0x1147f5,_0x2be2d3)=>_0x3182ea(_0x1147f5,_0x2be2d3,_0x274ec7);const Fe=o[_0x4216d1(0x387)]('univer-pro.collaboration-client-socket-service');function oi(_0x5b25dd,_0x4a3ae6,_0x122b77){var _0x4ef2e9=_0x4216d1;return _0x5b25dd+'/'+_0x4a3ae6+_0x4ef2e9(0x120)+_0x122b77+_0x4ef2e9(0x37a);}exports[_0x4216d1(0x1e2)]=class extends o[_0x4216d1(0x1fc)]{constructor(_0xc339fd,_0x42ddbc,_0x38debe,_0x387485,_0x48a3a4){var _0x273c5c=_0x4216d1;super(),this[_0x273c5c(0x187)]=_0xc339fd,this[_0x273c5c(0x108)]=_0x42ddbc,this[_0x273c5c(0x241)]=_0x38debe,this[_0x273c5c(0x403)]=_0x387485,this['_snapshotServerService']=_0x48a3a4;}['_doCreateSocket'](_0x41f8d8){var _0x5566cb=_0x4216d1;const _0x3b4df0=this[_0x5566cb(0x187)][_0x5566cb(0x2a1)](K[_0x5566cb(0x118)]);if(!_0x3b4df0)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4f3e50=_0x3b4df0['createSocket'](_0x41f8d8);if(!_0x4f3e50)throw new Error(_0x5566cb(0x107));const _0x4ae6f6=new o[(_0x5566cb(0x1b3))](),_0x46376b=new j[(_0x5566cb(0x148))]();_0x4ae6f6[_0x5566cb(0x3ec)](_0x4f3e50[_0x5566cb(0x362)][_0x5566cb(0x19a)](_0x4c5001=>_0x46376b['next'](_0x4c5001))),_0x4ae6f6[_0x5566cb(0x3ec)](o[_0x5566cb(0x2f0)](()=>_0x46376b[_0x5566cb(0x128)]()));const _0x5b3c9f=new j[(_0x5566cb(0x148))]();_0x4ae6f6['add'](_0x4f3e50['error$'][_0x5566cb(0x19a)](_0x4cb32d=>_0x5b3c9f[_0x5566cb(0x219)](_0x4cb32d))),_0x4ae6f6[_0x5566cb(0x3ec)](o[_0x5566cb(0x2f0)](()=>_0x5b3c9f[_0x5566cb(0x128)]()));const _0x100dd9=new j[(_0x5566cb(0x148))]();_0x4ae6f6['add'](_0x4f3e50[_0x5566cb(0x102)][_0x5566cb(0x19a)](_0x37da51=>{const _0x58a1bb=mt(_0x37da51);_0x100dd9['next'](_0x58a1bb);})),_0x4ae6f6[_0x5566cb(0x3ec)](o['toDisposable'](()=>_0x100dd9[_0x5566cb(0x128)]()));let _0x25ef37;const _0x2bb720=()=>{var _0x52157a=_0x5566cb;_0x5b3c9f['next'](new Event(_0x52157a(0xc3))),_0x46376b['next'](new Event(_0x52157a(0xc3))),_0x25ef37['close']();};return _0x25ef37={'memberID':'','close$':_0x46376b['asObservable'](),'error$':_0x5b3c9f[_0x5566cb(0xf4)](),'open$':_0x4f3e50['open$'],'message$':_0x100dd9[_0x5566cb(0xf4)](),'send':_0x184cb9=>{var _0x103b37=_0x5566cb;if(_0x184cb9[_0x103b37(0x413)]===W[_0x103b37(0x10e)]){if(_0x184cb9[_0x103b37(0x2ac)]['eventID']===E[_0x103b37(0x3ab)][_0x103b37(0x348)]){this['_submitChangeset'](_0x25ef37,_0x184cb9[_0x103b37(0x2ac)])['catch'](_0x29f957=>{var _0x962f5e=_0x103b37;this[_0x962f5e(0x403)][_0x962f5e(0x378)](_0x29f957),_0x2bb720();});return;}if(_0x184cb9[_0x103b37(0x2ac)]['eventID']===E[_0x103b37(0x3ab)][_0x103b37(0x13d)]){const _0x3c479c=_0x184cb9[_0x103b37(0x2ac)];this[_0x103b37(0x35f)](_0x3c479c)[_0x103b37(0x1a8)](_0x1062a3=>{var _0x152dbf=_0x103b37;_0x100dd9['next']({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x3c479c[_0x152dbf(0x2ac)][_0x152dbf(0x311)],'routeType':'','data':{'eventID':E[_0x152dbf(0x3ab)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1062a3}}});})[_0x103b37(0x1ae)](_0x49eeae=>{var _0x2d410b=_0x103b37;this[_0x2d410b(0x403)][_0x2d410b(0x378)](_0x49eeae),_0x2bb720();});return;}}_0x4f3e50[_0x103b37(0x1ca)](gt(_0x184cb9));},'close':()=>{var _0x425d09=_0x5566cb;_0x4f3e50[_0x425d09(0x399)](),_0x4ae6f6[_0x425d09(0x2da)]();}},_0x25ef37;}async[_0x4216d1(0xcf)](_0x107063,_0x2cbd72){var _0x3e4e8a=_0x4216d1,_0x475dec;const {unitType:_0x3ef2d5,unitID:_0x31d1f4,changeset:_0x4f6913}=_0x2cbd72[_0x3e4e8a(0x2ac)],_0x15cba2={'unitID':_0x31d1f4,'memberID':_0x107063[_0x3e4e8a(0x9f)],'type':_0x3ef2d5,'changeset':E['parseChangesetToProtocol'](_0x4f6913)},_0x14b853=this['_configService'][_0x3e4e8a(0x159)](Y),_0x87e81a=oi((_0x475dec=_0x14b853==null?void 0x0:_0x14b853[_0x3e4e8a(0x249)])!=null?_0x475dec:$t,_0x3ef2d5,_0x31d1f4);try{await this[_0x3e4e8a(0x108)]['post'](_0x87e81a,{'body':_0x15cba2});}catch(_0x15472b){throw this[_0x3e4e8a(0x403)][_0x3e4e8a(0x378)]('[CollaborationSession]',_0x3e4e8a(0x2d9)),_0x15472b;}}async[_0x4216d1(0x35f)](_0x3ead30){var _0x7c7cb3=_0x4216d1;const {unitID:_0x3e99c5,from:_0x2db805,to:_0x4ae25b,unitType:_0x47f6e8}=_0x3ead30[_0x7c7cb3(0x2ac)];return(await this[_0x7c7cb3(0x2cb)][_0x7c7cb3(0x27a)]({'metadata':void 0x0},{'unitID':_0x3e99c5,'type':_0x47f6e8,'from':_0x2db805,'to':_0x4ae25b}))[_0x7c7cb3(0x351)][_0x7c7cb3(0x131)](_0x2377a8=>((_0x2377a8[_0x7c7cb3(0x257)]===null||_0x2377a8[_0x7c7cb3(0x257)]===void 0x0)&&(_0x2377a8[_0x7c7cb3(0x257)]=[]),_0x2377a8));}},exports['CollaborationSocketService']=ai([he(0x0,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),he(0x1,o[_0x4216d1(0x3cb)](K['HTTPService'])),he(0x2,o[_0x4216d1(0x301)]),he(0x3,o[_0x4216d1(0x23a)]),he(0x4,E['ISnapshotServerService'])],exports[_0x4216d1(0x1e2)]);var ci=Object['getOwnPropertyDescriptor'],_i=(_0x2813cd,_0x54de57,_0x18293f,_0x21d4fa)=>{var _0x1685f0=_0x4216d1;for(var _0x32e908=_0x21d4fa>0x1?void 0x0:_0x21d4fa?ci(_0x54de57,_0x18293f):_0x54de57,_0x14db2d=_0x2813cd[_0x1685f0(0x189)]-0x1,_0x2af6f3;_0x14db2d>=0x0;_0x14db2d--)(_0x2af6f3=_0x2813cd[_0x14db2d])&&(_0x32e908=_0x2af6f3(_0x32e908)||_0x32e908);return _0x32e908;},_e=(_0x51ae38,_0x858e8e)=>(_0x158961,_0x1fdcff)=>_0x858e8e(_0x158961,_0x1fdcff,_0x51ae38);exports['CollaborationSessionService']=class extends o['Disposable']{constructor(_0x59b79b,_0x4c8c1e,_0x2070a7,_0x1e2ad8,_0x3d5dcc,_0x584307){var _0x2ec6f4=_0x4216d1;super(),A(this,_0x2ec6f4(0x2d8),new j[(_0x2ec6f4(0x2c1))](void 0x0)),A(this,_0x2ec6f4(0x1f9),this['_socket$'][_0x2ec6f4(0xf4)]()),A(this,_0x2ec6f4(0x401),null),A(this,_0x2ec6f4(0xc9),new Map()),A(this,'_status$',new j[(_0x2ec6f4(0x2c1))](se[_0x2ec6f4(0x2e5)])),A(this,_0x2ec6f4(0x1cb),this[_0x2ec6f4(0x125)][_0x2ec6f4(0xf4)]()),A(this,'_socketReady',!0x1),A(this,_0x2ec6f4(0x14c)),A(this,_0x2ec6f4(0x300),0x0),A(this,_0x2ec6f4(0x1a9)),A(this,'_timeoutTimer'),(this[_0x2ec6f4(0x187)]=_0x59b79b,this[_0x2ec6f4(0x403)]=_0x4c8c1e,this[_0x2ec6f4(0x241)]=_0x2070a7,this[_0x2ec6f4(0x1e5)]=_0x1e2ad8,this[_0x2ec6f4(0x175)]=_0x3d5dcc,this['_networkConditionService']=_0x584307,this[_0x2ec6f4(0x1ba)]());}get[_0x4216d1(0x329)](){var _0x29c316=_0x4216d1;return this[_0x29c316(0x2d8)][_0x29c316(0xa0)]();}[_0x4216d1(0x1ba)](){var _0x137bf1=_0x4216d1;this[_0x137bf1(0x410)]&&this[_0x137bf1(0x1ab)](this['_networkConditionService'][_0x137bf1(0x145)][_0x137bf1(0x19a)](_0x1a3299=>{var _0xa701fb=_0x137bf1;_0x1a3299&&!this[_0xa701fb(0x329)]&&this[_0xa701fb(0x2fb)](),_0x1a3299||this[_0xa701fb(0x3a1)]();}));}[_0x4216d1(0x2da)](){var _0x18c42a=_0x4216d1;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x18c42a(0x16f)](),this[_0x18c42a(0x1a3)](),this['_sessions']['forEach'](_0x4d3b07=>_0x4d3b07['dispose']()),this[_0x18c42a(0xc9)][_0x18c42a(0x37e)](),this['_status$'][_0x18c42a(0x128)]();}async[_0x4216d1(0xb8)](_0x2b5d4e){var _0x572694=_0x4216d1;if(this['_sessions'][_0x572694(0x1b4)](_0x2b5d4e))return this[_0x572694(0xc9)][_0x572694(0x2a1)](_0x2b5d4e);this[_0x572694(0x23d)]();const _0x1d4126=this[_0x572694(0x187)][_0x572694(0xdb)](exports['CollaborationSession'],_0x2b5d4e,this[_0x572694(0x2d8)][_0x572694(0xf4)]());return this[_0x572694(0xc9)]['set'](_0x2b5d4e,_0x1d4126),_0x1d4126;}[_0x4216d1(0x2c3)](_0x24b9f7){var _0x2e72a5=_0x4216d1,_0x2c1ae7;const _0x502fb0=this[_0x2e72a5(0xc9)]['get'](_0x24b9f7);_0x502fb0&&(this[_0x2e72a5(0xc9)][_0x2e72a5(0x323)](_0x24b9f7),_0x502fb0[_0x2e72a5(0x399)]()),this['_sessions'][_0x2e72a5(0x101)]||(_0x2c1ae7=this[_0x2e72a5(0x329)])==null||_0x2c1ae7[_0x2e72a5(0x399)]();}[_0x4216d1(0x2fb)](){var _0x542e1f=_0x4216d1;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x542e1f(0x194)]();}[_0x4216d1(0x2a4)](){var _0x240870=_0x4216d1;this[_0x240870(0x14c)]!=null&&(clearTimeout(this[_0x240870(0x14c)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x331846=_0x4216d1,_0x3f92a8;const _0x25d3b2=this[_0x331846(0x241)][_0x331846(0x159)](Y),_0x52949f=(_0x3f92a8=_0x25d3b2==null?void 0x0:_0x25d3b2[_0x331846(0x2ca)])!=null?_0x3f92a8:_t,_0x46e8cd=await this['_socketService']['createSocket'](_0x52949f);return this[_0x331846(0x401)]=_0x46e8cd,_0x46e8cd;}async[_0x4216d1(0x23d)](){var _0x55ea9b=_0x4216d1,_0x2c1ce5,_0xa437c8;try{const _0x57befd=(_0xa437c8=(_0x2c1ce5=this[_0x55ea9b(0x329)])!=null?_0x2c1ce5:this[_0x55ea9b(0x401)])!=null?_0xa437c8:await this[_0x55ea9b(0x2b9)]();if(_0x57befd){const _0x4ca610=_0x57befd[_0x55ea9b(0x1ca)];_0x57befd[_0x55ea9b(0x1ca)]=_0x1c1427=>(this['_rescheduleHeartbeat'](),_0x4ca610['apply'](_0x57befd,[_0x1c1427])),_0x57befd['message$']['subscribe'](_0x4b234e=>this['_onMessage'](_0x57befd,_0x4b234e)),_0x57befd[_0x55ea9b(0x8f)][_0x55ea9b(0x91)](V[_0x55ea9b(0x12e)](0x1))[_0x55ea9b(0x19a)](_0x283a94=>this['_logService'][_0x55ea9b(0x378)](_0x55ea9b(0x3ae),_0x283a94)),_0x57befd['open$'][_0x55ea9b(0x91)](V[_0x55ea9b(0x12e)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x57befd);}),_0x57befd[_0x55ea9b(0x362)][_0x55ea9b(0x91)](V[_0x55ea9b(0x12e)](0x1))['subscribe'](_0x306526=>{var _0x2e628c=_0x55ea9b;this['_logService'][_0x2e628c(0x2b5)](_0x2e628c(0x343),_0x2e628c(0x3d9),_0x306526),this[_0x2e628c(0x408)]();});}}catch(_0x569204){this[_0x55ea9b(0x403)][_0x55ea9b(0x378)](_0x569204),this[_0x55ea9b(0x408)]();}}[_0x4216d1(0x169)](_0xe3edfa){var _0x3dd9bc=_0x4216d1;this[_0x3dd9bc(0x403)][_0x3dd9bc(0x2b5)](_0x3dd9bc(0x343),'socket\x20open.'),_0xe3edfa['send']({'cmd':W[_0x3dd9bc(0x183)]}),this[_0x3dd9bc(0x13e)]();}[_0x4216d1(0x3a1)](){var _0x5ad537=_0x4216d1;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x5ad537(0x125)][_0x5ad537(0x219)](se[_0x5ad537(0xb4)]),this[_0x5ad537(0x2d8)][_0x5ad537(0x219)](null),this['_clearTimeoutTimer'](),this[_0x5ad537(0x1a3)]();}[_0x4216d1(0x408)](){var _0x4d9c87=_0x4216d1,_0x1f0eb7;this[_0x4d9c87(0x3a1)](),this[_0x4d9c87(0x300)]<((_0x1f0eb7=this[_0x4d9c87(0x241)][_0x4d9c87(0x159)](ut))!=null?_0x1f0eb7:wt)?(this['_collaborationUIEventService'][_0x4d9c87(0x1f6)]({'id':J[_0x4d9c87(0x2b7)]}),this[_0x4d9c87(0x194)]()):this['_collaborationUIEventService'][_0x4d9c87(0x1f6)]({'id':J[_0x4d9c87(0x3a7)]});}['_tryReconnect'](){var _0x583bc9=_0x4216d1,_0x4d8dcd;const _0x4d28e4=this[_0x583bc9(0x300)],_0x2dc357=this[_0x583bc9(0x241)]['getConfig'](Y),_0x2515bf=_0x4d28e4===0x0?0x0:((_0x4d8dcd=_0x2dc357==null?void 0x0:_0x2dc357[_0x583bc9(0x26a)])!=null?_0x4d8dcd:Mt)*0x2**_0x4d28e4;this[_0x583bc9(0x14c)]=setTimeout(()=>{var _0x569ed9=_0x583bc9;clearTimeout(this[_0x569ed9(0x14c)]),this[_0x569ed9(0x14c)]=null,this[_0x569ed9(0x23d)]();},_0x2515bf),this[_0x583bc9(0x300)]+=0x1;}['_onMessage'](_0x1837e6,_0x1b67d8){var _0x778f10=_0x4216d1;const {cmd:_0x5c79a5}=_0x1b67d8;_0x5c79a5===W[_0x778f10(0x183)]&&!this[_0x778f10(0x364)]&&(_0x1837e6['memberID']=_0x1b67d8[_0x778f10(0x2ac)][_0x778f10(0x9f)],this[_0x778f10(0x2d8)]['next'](_0x1837e6),this['_status$'][_0x778f10(0x219)](se['ONLINE']),this[_0x778f10(0x364)]=!0x0,this[_0x778f10(0x401)]=null),_0x5c79a5===W[_0x778f10(0x214)]&&this[_0x778f10(0x16f)](),this[_0x778f10(0x13e)]();}[_0x4216d1(0x13e)](){var _0x606a4b=_0x4216d1,_0x2e4fb7;this[_0x606a4b(0x1a3)](),this[_0x606a4b(0x1a9)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2e4fb7=this[_0x606a4b(0x241)][_0x606a4b(0x159)](ht))!=null?_0x2e4fb7:Lt);}['_sendHeartbeat'](){var _0x5ad810=_0x4216d1;this['_socket'][_0x5ad810(0x1ca)]({'cmd':W[_0x5ad810(0x214)]}),this[_0x5ad810(0x21a)]();}[_0x4216d1(0x21a)](){var _0x201bb1=_0x4216d1,_0x4cc481;this[_0x201bb1(0x1df)]=setTimeout(()=>this[_0x201bb1(0x408)](),(_0x4cc481=this[_0x201bb1(0x241)]['getConfig'](ke))!=null?_0x4cc481:lt);}['_clearHeartbeatTimer'](){var _0x308ea1=_0x4216d1;this[_0x308ea1(0x1a9)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x308ea1(0x1a9)]=null);}[_0x4216d1(0x16f)](){var _0x286fe3=_0x4216d1;this[_0x286fe3(0x1df)]!=null&&(clearTimeout(this[_0x286fe3(0x1df)]),this['_timeoutTimer']=null);}},exports[_0x4216d1(0x94)]=_i([_e(0x0,o['Inject'](o['Injector'])),_e(0x1,o[_0x4216d1(0x23a)]),_e(0x2,o[_0x4216d1(0x301)]),_e(0x3,Fe),_e(0x4,o[_0x4216d1(0x3cb)](ee)),_e(0x5,o['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object[_0x4216d1(0x367)],li=(_0x1efb0f,_0x2c9a55,_0x1c9f22,_0x38b888)=>{var _0x5c0409=_0x4216d1;for(var _0x48eb3f=_0x38b888>0x1?void 0x0:_0x38b888?hi(_0x2c9a55,_0x1c9f22):_0x2c9a55,_0x50fcc8=_0x1efb0f[_0x5c0409(0x189)]-0x1,_0x1f805e;_0x50fcc8>=0x0;_0x50fcc8--)(_0x1f805e=_0x1efb0f[_0x50fcc8])&&(_0x48eb3f=_0x1f805e(_0x48eb3f)||_0x48eb3f);return _0x48eb3f;},Se=(_0x3e5dc3,_0x2f61fa)=>(_0x28d57b,_0x5dea25)=>_0x2f61fa(_0x28d57b,_0x5dea25,_0x3e5dc3);exports[_0x4216d1(0x237)]=class extends o[_0x4216d1(0x1dc)]{constructor(_0x3f4b54,_0x495913,_0x3b7cec,_0x1b1aac){var _0x410e55=_0x4216d1,_0x283e8a;super(),A(this,_0x410e55(0x1cf),new Map()),A(this,_0x410e55(0x20b),new j[(_0x410e55(0x148))]()),A(this,'entityInit$',this['_entityInit$'][_0x410e55(0xf4)]()),(this['_injector']=_0x3f4b54,this[_0x410e55(0x3dd)]=_0x495913,this['_configService']=_0x3b7cec,this[_0x410e55(0x215)]=_0x1b1aac,((_0x283e8a=this[_0x410e55(0x241)][_0x410e55(0x159)](Y))==null?void 0x0:_0x283e8a['enableCollaboration'])!==!0x1&&this[_0x410e55(0x2ab)]());}[_0x4216d1(0x2da)](){var _0x2dabda=_0x4216d1;super[_0x2dabda(0x2da)](),this[_0x2dabda(0x1cf)][_0x2dabda(0x1d5)](_0x4d222d=>_0x4d222d['dispose']()),this[_0x2dabda(0x1cf)][_0x2dabda(0x37e)]();}[_0x4216d1(0x1bc)](_0x5d6577){var _0x443ba1=_0x4216d1,_0x5e1eb8;return(_0x5e1eb8=this[_0x443ba1(0x1cf)][_0x443ba1(0x2a1)](_0x5d6577))!=null?_0x5e1eb8:null;}[_0x4216d1(0x2bd)](_0x115538){var _0x520e59=_0x4216d1;const _0x432c2d=this[_0x520e59(0x1bc)](_0x115538);return _0x432c2d?j['of'](_0x432c2d):this[_0x520e59(0x20b)]['pipe'](V['filter'](_0x3dda6a=>_0x3dda6a[_0x520e59(0x311)]===_0x115538));}['readyForCollab'](_0x37f088){var _0x3f6f46=_0x4216d1;return j[_0x3f6f46(0xd0)](this[_0x3f6f46(0x2bd)](_0x37f088)[_0x3f6f46(0x91)](V[_0x3f6f46(0x131)](()=>{})));}[_0x4216d1(0x2ab)](){var _0x2872f4=_0x4216d1;this[_0x2872f4(0x215)][_0x2872f4(0x239)](o['UniverInstanceType'][_0x2872f4(0xb3)])['pipe'](j[_0x2872f4(0x139)](this['dispose$']),V[_0x2872f4(0x3bf)](0x10))[_0x2872f4(0x19a)](async _0x2ffddf=>{var _0x1e0318=_0x2872f4;const _0x10a8eb=_0x2ffddf[_0x1e0318(0x3d0)](),_0x542424=await this[_0x1e0318(0x31e)](_0x10a8eb,X[_0x1e0318(0xb3)]);this[_0x1e0318(0x1cf)][_0x1e0318(0x16d)](_0x10a8eb,_0x542424);}),this[_0x2872f4(0x215)]['getTypeOfUnitAdded$'](o[_0x2872f4(0x352)][_0x2872f4(0x27d)])['pipe'](j['takeUntil'](this['dispose$']),V[_0x2872f4(0x3bf)](0x10))[_0x2872f4(0x91)](V[_0x2872f4(0x168)](_0x4de207=>!_0x4de207['getUnitId']()[_0x2872f4(0x3c3)]('__')))[_0x2872f4(0x19a)](async _0x5997b7=>{var _0x15515d=_0x2872f4;const _0x32d595=_0x5997b7[_0x15515d(0x3d0)](),_0x3818c0=await this['_startCollaboration'](_0x32d595,X[_0x15515d(0x27d)]);this[_0x15515d(0x1cf)]['set'](_0x32d595,_0x3818c0);}),j[_0x2872f4(0xd9)](this['_univerInstanceService'][_0x2872f4(0x216)](o[_0x2872f4(0x352)][_0x2872f4(0xb3)]),this[_0x2872f4(0x215)]['getTypeOfUnitDisposed$'](o[_0x2872f4(0x352)][_0x2872f4(0x27d)]))[_0x2872f4(0x91)](j[_0x2872f4(0x139)](this['dispose$']))['subscribe'](_0x50a338=>{var _0x7906b7=_0x2872f4;const _0x5b6472=_0x50a338[_0x7906b7(0x3d0)](),_0x301c27=this[_0x7906b7(0x1cf)]['get'](_0x5b6472);_0x301c27&&(_0x301c27[_0x7906b7(0x2da)](),this['_entities']['delete'](_0x5b6472));});}async['_startCollaboration'](_0x201aaa,_0x5dabfe){var _0x406034=_0x4216d1;const _0x1e5e94=await this[_0x406034(0x3dd)][_0x406034(0xb8)](_0x201aaa),_0x5e6aca=this[_0x406034(0x187)][_0x406034(0xdb)](this[_0x406034(0x2a6)](_0x5dabfe),_0x201aaa,_0x5dabfe,_0x1e5e94);return await _0x5e6aca['init'](),this[_0x406034(0x20b)][_0x406034(0x219)](_0x5e6aca),_0x5e6aca;}[_0x4216d1(0x2a6)](_0x244cb1){var _0x4b3411=_0x4216d1;switch(_0x244cb1){case X[_0x4b3411(0x27d)]:return exports[_0x4b3411(0x314)];case X[_0x4b3411(0xb3)]:return exports[_0x4b3411(0x344)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x244cb1);}}},exports['CollaborationController']=li([Se(0x0,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),Se(0x1,o[_0x4216d1(0x3cb)](exports['CollaborationSessionService'])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x4216d1(0xf3)])],exports[_0x4216d1(0x237)]);var ui=Object['getOwnPropertyDescriptor'],vi=(_0x4aeb07,_0x18291d,_0x19e4bf,_0x1b4e48)=>{for(var _0x5ea9ab=_0x1b4e48>0x1?void 0x0:_0x1b4e48?ui(_0x18291d,_0x19e4bf):_0x18291d,_0x2d1023=_0x4aeb07['length']-0x1,_0x55da5f;_0x2d1023>=0x0;_0x2d1023--)(_0x55da5f=_0x4aeb07[_0x2d1023])&&(_0x5ea9ab=_0x55da5f(_0x5ea9ab)||_0x5ea9ab);return _0x5ea9ab;},Ye=(_0x2ea679,_0x3c8740)=>(_0xe2160a,_0x381c06)=>_0x3c8740(_0xe2160a,_0x381c06,_0x2ea679);const di=_0x4216d1(0x369),Si='Univer';let xe=class extends o['Disposable']{constructor(_0x28a45a,_0x2be7b9){var _0x38d778=_0x4216d1;super(),this[_0x38d778(0x215)]=_0x28a45a,this[_0x38d778(0x241)]=_0x2be7b9,this[_0x38d778(0x2ab)]();}[_0x4216d1(0x2ab)](){var _0x36541c=_0x4216d1;this[_0x36541c(0x1ab)](this['_univerInstanceService'][_0x36541c(0x22c)][_0x36541c(0x19a)](()=>{var _0x16c9f7=_0x36541c,_0x56269a;const _0x957c02=this[_0x16c9f7(0x215)][_0x16c9f7(0x283)]();let _0x1f9e9c=(_0x56269a=this[_0x16c9f7(0x241)][_0x16c9f7(0x159)](di))!=null?_0x56269a:Si;_0x957c02 instanceof o[_0x16c9f7(0x80)]&&(_0x1f9e9c=_0x957c02[_0x16c9f7(0x13c)]),document['title']=_0x1f9e9c;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o['IConfigService'])],xe);var Ii=Object[_0x4216d1(0x367)],fi=(_0x336f19,_0x19fd7f,_0x2b53cd,_0x4b1274)=>{for(var _0xdaa53f=_0x4b1274>0x1?void 0x0:_0x4b1274?Ii(_0x19fd7f,_0x2b53cd):_0x19fd7f,_0x10cc1b=_0x336f19['length']-0x1,_0x597232;_0x10cc1b>=0x0;_0x10cc1b--)(_0x597232=_0x336f19[_0x10cc1b])&&(_0xdaa53f=_0x597232(_0xdaa53f)||_0xdaa53f);return _0xdaa53f;},Ae=(_0x5cfd7e,_0x4a47be)=>(_0x29e661,_0x5c63d7)=>_0x4a47be(_0x29e661,_0x5c63d7,_0x5cfd7e);let Ne=class{constructor(_0x1d9a2a,_0x6f7a75,_0x52146b){var _0xd00f83=_0x4216d1;this[_0xd00f83(0x241)]=_0x1d9a2a,this['_httpService']=_0x6f7a75,this['localeService']=_0x52146b,this['init']();}[_0x4216d1(0x416)](){var _0x22dd95=_0x4216d1;this[_0x22dd95(0x108)][_0x22dd95(0xe8)]({'priority':0x1,'interceptor':(_0x1fb11f,_0x179d02)=>_0x179d02(_0x1fb11f)[_0x22dd95(0x91)](j['concatMap'](async _0x7678c3=>{var _0x476945=_0x22dd95;const _0x2c822f=_0x7678c3;if(_0x2c822f[_0x476945(0x20d)]===0x191){if(typeof window>'u')throw new Error(_0x476945(0x1c4));if(window[_0x476945(0x11f)](this[_0x476945(0x2f5)]['t'](_0x476945(0x97)))){const _0x2c2581=window['encodeURIComponent'](window[_0x476945(0x35b)]['href']);window['location'][_0x476945(0x3a2)]=this[_0x476945(0x267)]()+_0x476945(0x1d6)+_0x2c2581;}}return _0x2c822f;}))});}['_getLoginPath'](){var _0x2ad7cd=_0x4216d1,_0x4b2fc1;const _0x165bbd=this[_0x2ad7cd(0x241)][_0x2ad7cd(0x159)](Y);return(_0x4b2fc1=_0x165bbd==null?void 0x0:_0x165bbd[_0x2ad7cd(0x199)])!=null?_0x4b2fc1:Ht;}};Ne=fi([Ae(0x0,o['IConfigService']),Ae(0x1,o[_0x4216d1(0x3cb)](K[_0x4216d1(0x3b8)])),Ae(0x2,o[_0x4216d1(0x3cb)](o['LocaleService']))],Ne);var Ei=Object[_0x4216d1(0x367)],pi=(_0x146b39,_0x1096d4,_0x50b3e1,_0x511666)=>{for(var _0x2ac805=_0x511666>0x1?void 0x0:_0x511666?Ei(_0x1096d4,_0x50b3e1):_0x1096d4,_0x4ce77d=_0x146b39['length']-0x1,_0x50b18c;_0x4ce77d>=0x0;_0x4ce77d--)(_0x50b18c=_0x146b39[_0x4ce77d])&&(_0x2ac805=_0x50b18c(_0x2ac805)||_0x2ac805);return _0x2ac805;},Ke=(_0x52e6f8,_0x313fc6)=>(_0x543f9e,_0x3b5e72)=>_0x313fc6(_0x543f9e,_0x3b5e72,_0x52e6f8);const mi=_0x4216d1(0x32f);exports[_0x4216d1(0x415)]=class extends o[_0x4216d1(0x1fc)]{constructor(_0x73eda8,_0x3be122){var _0x2d1c8c=_0x4216d1;super(),this['_HTTPService']=_0x73eda8,this[_0x2d1c8c(0x241)]=_0x3be122,this[_0x2d1c8c(0x2e6)]();}['_initMergeInterceptor'](){var _0x1599b6=_0x4216d1;const _0x5a5536=this;this['disposeWithMe'](this[_0x1599b6(0x347)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K[_0x1599b6(0x1ff)]({'isMatch'(_0x280af9){var _0xa2b975=_0x1599b6,_0x40d29f;if(_0x280af9['method']===_0xa2b975(0x13a)&&((_0x40d29f=_0x280af9[_0xa2b975(0x36b)])!=null&&_0x40d29f['body'])){const {objectID:_0x3cf87f,objectType:_0x5591ae}=_0x280af9[_0xa2b975(0x36b)][_0xa2b975(0xb7)]||{};if(!_0x3cf87f||_0x5591ae===void 0x0)return!0x1;const _0x39fffa=_0x5a5536['_getAPIPrefixPath']()+'/'+_0x5591ae+_0xa2b975(0x10c)+_0x3cf87f+_0xa2b975(0x3ea);if(_0x280af9[_0xa2b975(0x308)]===_0x39fffa)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd9ccd3){var _0x43c68d=_0x1599b6,_0x47c955;return(_0x47c955=_0xd9ccd3[_0x43c68d(0x36b)])==null?void 0x0:_0x47c955[_0x43c68d(0xb7)];},'mergeParamsToRequest'(_0x1f8d92,_0x429e6b){var _0x3d8454=_0x1599b6;const _0x457344=_0x5a5536['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4cac81=_0x1f8d92[_0x3d8454(0x15a)]((_0x1f785,_0x2612c5)=>{var _0x203f22=_0x3d8454;const {unitID:_0x5ae2e9,objectID:_0x4980bc,objectType:_0x13b3e7,actions:_0x359ebb}=_0x2612c5;return _0x1f785[_0x5ae2e9]||(_0x1f785[_0x5ae2e9]={}),_0x1f785[_0x5ae2e9][_0x4980bc]||(_0x1f785[_0x5ae2e9][_0x4980bc]={'objectID':_0x4980bc,'objectType':_0x13b3e7,'actions':[]}),_0x1f785[_0x5ae2e9][_0x4980bc][_0x203f22(0x144)]['push'](..._0x359ebb),_0x1f785;},{}),_0x5a56a6=[];for(const _0x2cbd1f in _0x4cac81)for(const _0x3e985b in _0x4cac81[_0x2cbd1f]){const {actions:_0x5130b4,objectType:_0x5d8028}=_0x4cac81[_0x2cbd1f][_0x3e985b],_0x2d8b1b=[...new Set(_0x5130b4)];_0x5a56a6[_0x3d8454(0x188)]({'unitID':_0x2cbd1f,'objectID':_0x3e985b,'objectType':_0x5d8028,'actions':_0x2d8b1b});}return new K[(_0x3d8454(0x3c8))](_0x3d8454(0x13a),_0x457344,{'headers':_0x429e6b[_0x3d8454(0x1e3)],'withCredentials':_0x429e6b[_0x3d8454(0x3a8)],'responseType':_0x429e6b[_0x3d8454(0x231)],'body':{'requests':_0x5a56a6}});}},{'distributeResult'(_0x572728,_0x455f06){const {objectActions:_0x114a79}=_0x572728;return _0x455f06['map'](_0x4ff780=>{var _0xbe72c0=_0x9f6e;const {unitID:_0x4461b6,objectID:_0x5c8765,actions:_0x14bc5b}=_0x4ff780,_0x5378a4=_0x114a79['find'](_0x29d900=>_0x29d900[_0xbe72c0(0x311)]===_0x4461b6&&_0x29d900[_0xbe72c0(0x2e9)]===_0x5c8765),_0x4f51a8=_0x14bc5b['map'](_0x46b100=>_0x5378a4==null?void 0x0:_0x5378a4['actions'][_0xbe72c0(0x26e)](_0xdb9ac=>_0xdb9ac[_0xbe72c0(0x130)]===_0x46b100))[_0xbe72c0(0x168)](_0x3ee47c=>!!_0x3ee47c);return{'config':_0x4ff780,'result':{'actions':_0x4f51a8,'error':_0x572728[_0xbe72c0(0x378)]}};});}})}));}[_0x4216d1(0x18e)](){var _0x4a91e8=_0x4216d1,_0x27a43c;const _0x2847b2=this[_0x4a91e8(0x241)]['getConfig'](Y);return(_0x27a43c=_0x2847b2==null?void 0x0:_0x2847b2[_0x4a91e8(0x185)])!=null?_0x27a43c:mi;}async[_0x4216d1(0x2c4)](_0x428be9){var _0x56dbad=_0x4216d1;const _0x4410bd=this[_0x56dbad(0x18e)]()+'/'+_0x428be9[_0x56dbad(0x325)]+_0x56dbad(0xc7);return(await this['_HTTPService'][_0x56dbad(0x3b7)](_0x4410bd,{'body':_0x428be9}))[_0x56dbad(0xb7)][_0x56dbad(0x2e9)]||'';}async[_0x4216d1(0x1c1)](_0x3059a9){var _0x176d31=_0x4216d1;const _0x12a78e=this['_getAPIPrefixPath']()+_0x176d31(0xfc);return(await this[_0x176d31(0x347)][_0x176d31(0x3b7)](_0x12a78e,{'body':_0x3059a9}))[_0x176d31(0xb7)][_0x176d31(0x18b)];}async['update'](_0x810450){var _0x4c4e12=_0x4216d1,_0xe6d285,_0x1af50e;const _0x48a33a=this[_0x4c4e12(0x18e)]()+'/'+_0x810450[_0x4c4e12(0x325)]+_0x4c4e12(0x10c)+_0x810450[_0x4c4e12(0x2e9)],_0x35b570=await this[_0x4c4e12(0x347)]['put'](_0x48a33a,{'body':_0x810450});if(((_0x1af50e=(_0xe6d285=_0x35b570==null?void 0x0:_0x35b570[_0x4c4e12(0xb7)])==null?void 0x0:_0xe6d285[_0x4c4e12(0x378)])==null?void 0x0:_0x1af50e[_0x4c4e12(0x340)])!==0x1)throw new Error(_0x4c4e12(0x391));}async[_0x4216d1(0x3b2)](_0x34b2db){var _0x8bb94e=_0x4216d1;const _0x5558f2=this[_0x8bb94e(0x18e)]()+'/'+_0x34b2db[_0x8bb94e(0x325)]+_0x8bb94e(0x10c)+_0x34b2db[_0x8bb94e(0x2e9)]+_0x8bb94e(0x3ea);return(await this[_0x8bb94e(0x347)][_0x8bb94e(0x3b7)](_0x5558f2,{'body':_0x34b2db}))[_0x8bb94e(0xb7)]['actions'];}async[_0x4216d1(0x3f5)](_0x234a4f){var _0x3ac9c4=_0x4216d1;const _0x3c8b15=this['_getAPIPrefixPath']()+_0x3ac9c4(0xba);return(await this[_0x3ac9c4(0x347)][_0x3ac9c4(0x3b7)](_0x3c8b15,{'body':{'requests':_0x234a4f}}))[_0x3ac9c4(0xb7)]['objectActions'];}async[_0x4216d1(0x417)](_0x3772de){var _0x47b5f4=_0x4216d1;const _0x259aa6=this[_0x47b5f4(0x18e)]()+'/'+_0x3772de[_0x47b5f4(0x325)]+_0x47b5f4(0x2d2),_0x26de5a=await this[_0x47b5f4(0x347)]['post'](_0x259aa6,{'body':_0x3772de});return{'roles':_0x26de5a['body'][_0x47b5f4(0x383)],'actions':_0x26de5a[_0x47b5f4(0xb7)][_0x47b5f4(0x144)]};}async[_0x4216d1(0x373)](_0x419b3c){var _0x29f667=_0x4216d1;const _0x18d597=this[_0x29f667(0x18e)]()+'/collaborator';await this[_0x29f667(0x347)][_0x29f667(0x323)](_0x18d597,{'params':{'collaboratorID':_0x419b3c[_0x29f667(0x262)],'objectID':_0x419b3c[_0x29f667(0x2e9)],'unitID':_0x419b3c['unitID']}});}async[_0x4216d1(0xa3)](_0x686e66){var _0x2f1a5c=_0x4216d1;const _0x1faa35=this[_0x2f1a5c(0x18e)]()+_0x2f1a5c(0x17b);await this['_HTTPService'][_0x2f1a5c(0x3d5)](_0x1faa35,{'body':_0x686e66});}async[_0x4216d1(0x201)](_0x3dbe54){var _0x286bae=_0x4216d1;const _0x3c954a=this['_getAPIPrefixPath']()+_0x286bae(0x17b);await this[_0x286bae(0x347)][_0x286bae(0x3b7)](_0x3c954a,{'body':_0x3dbe54});}async[_0x4216d1(0x2ea)](_0x271d36){var _0x77c1c=_0x4216d1;const _0x4d6a8a=this['_getAPIPrefixPath']()+_0x77c1c(0x17b);return(await this[_0x77c1c(0x347)]['get'](_0x4d6a8a,{'params':{'objectID':_0x271d36[_0x77c1c(0x2e9)],'unitID':_0x271d36[_0x77c1c(0x311)]}}))[_0x77c1c(0xb7)]['collaborators'];}async[_0x4216d1(0x376)](_0x6b4a6d){var _0x5ae918=_0x4216d1;const _0x689eaf=this[_0x5ae918(0x18e)]()+_0x5ae918(0x17b);await this[_0x5ae918(0x347)][_0x5ae918(0x14b)](_0x689eaf,{'body':_0x6b4a6d});}},exports[_0x4216d1(0x415)]=pi([Ke(0x0,o[_0x4216d1(0x3cb)](K[_0x4216d1(0x3b8)])),Ke(0x1,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x301)]))],exports[_0x4216d1(0x415)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x35eb9d){var _0x215ca0=_0x4216d1;return _0x35eb9d&&_0x35eb9d[_0x215ca0(0x22a)]&&Object['prototype'][_0x215ca0(0x334)][_0x215ca0(0x1c6)](_0x35eb9d,'default')?_0x35eb9d[_0x215ca0(0x1b0)]:_0x35eb9d;}var Ie={'exports':{}};function gi(_0x4e288f){var _0x4d7b88=_0x4216d1;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4e288f+_0x4d7b88(0x400));}var fe={'exports':{}},Ti=fe[_0x4216d1(0x3ce)],qe;function Z(){var _0x136c8e=_0x4216d1;return qe||(qe=0x1,function(_0x2009b3,_0x28a0f3){(function(_0x12b6ae,_0x35099e){var _0x4311a5=_0x9f6e;_0x2009b3[_0x4311a5(0x3ce)]=_0x35099e();}(Ti,function(){var _0x27d3a3=_0x27d3a3||function(_0x31efb1,_0x2c2334){var _0x389179=_0x9f6e,_0x4a6b00;if(typeof window<'u'&&window[_0x389179(0xd5)]&&(_0x4a6b00=window[_0x389179(0xd5)]),typeof self<'u'&&self['crypto']&&(_0x4a6b00=self[_0x389179(0xd5)]),typeof globalThis<'u'&&globalThis[_0x389179(0xd5)]&&(_0x4a6b00=globalThis['crypto']),!_0x4a6b00&&typeof window<'u'&&window[_0x389179(0x3c1)]&&(_0x4a6b00=window[_0x389179(0x3c1)]),!_0x4a6b00&&typeof Pe<'u'&&Pe['crypto']&&(_0x4a6b00=Pe[_0x389179(0xd5)]),!_0x4a6b00&&typeof gi==_0x389179(0x38b))try{_0x4a6b00=require('crypto');}catch{}var _0x49ff93=function(){var _0x3116cb=_0x389179;if(_0x4a6b00){if(typeof _0x4a6b00[_0x3116cb(0x96)]==_0x3116cb(0x38b))try{return _0x4a6b00[_0x3116cb(0x96)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a6b00[_0x3116cb(0x395)]==_0x3116cb(0x38b))try{return _0x4a6b00['randomBytes'](0x4)[_0x3116cb(0xc2)]();}catch{}}throw new Error(_0x3116cb(0x243));},_0x5ecf3b=Object[_0x389179(0x2c4)]||(function(){function _0x20c60b(){}return function(_0x5108b4){var _0x1575ab=_0x9f6e,_0x2a37e7;return _0x20c60b[_0x1575ab(0x254)]=_0x5108b4,_0x2a37e7=new _0x20c60b(),_0x20c60b['prototype']=null,_0x2a37e7;};}()),_0x24bcaa={},_0x283ea3=_0x24bcaa['lib']={},_0x144fbd=_0x283ea3[_0x389179(0x256)]=(function(){return{'extend':function(_0x2acb38){var _0x3c3c9b=_0x9f6e,_0x192a87=_0x5ecf3b(this);return _0x2acb38&&_0x192a87['mixIn'](_0x2acb38),(!_0x192a87['hasOwnProperty'](_0x3c3c9b(0x416))||this[_0x3c3c9b(0x416)]===_0x192a87[_0x3c3c9b(0x416)])&&(_0x192a87[_0x3c3c9b(0x416)]=function(){var _0x92f16e=_0x3c3c9b;_0x192a87['$super'][_0x92f16e(0x416)][_0x92f16e(0x233)](this,arguments);}),_0x192a87[_0x3c3c9b(0x416)][_0x3c3c9b(0x254)]=_0x192a87,_0x192a87[_0x3c3c9b(0x392)]=this,_0x192a87;},'create':function(){var _0x3f3e35=_0x9f6e,_0x57f107=this[_0x3f3e35(0x281)]();return _0x57f107[_0x3f3e35(0x416)]['apply'](_0x57f107,arguments),_0x57f107;},'init':function(){},'mixIn':function(_0x5dba08){var _0x4cb6e9=_0x9f6e;for(var _0x114b18 in _0x5dba08)_0x5dba08['hasOwnProperty'](_0x114b18)&&(this[_0x114b18]=_0x5dba08[_0x114b18]);_0x5dba08[_0x4cb6e9(0x334)](_0x4cb6e9(0x365))&&(this[_0x4cb6e9(0x365)]=_0x5dba08[_0x4cb6e9(0x365)]);},'clone':function(){var _0x252b29=_0x9f6e;return this[_0x252b29(0x416)][_0x252b29(0x254)][_0x252b29(0x281)](this);}};}()),_0x516377=_0x283ea3['WordArray']=_0x144fbd[_0x389179(0x281)]({'init':function(_0x34ec39,_0x205710){var _0x1fb705=_0x389179;_0x34ec39=this[_0x1fb705(0x1f1)]=_0x34ec39||[],_0x205710!=_0x2c2334?this['sigBytes']=_0x205710:this[_0x1fb705(0x40e)]=_0x34ec39[_0x1fb705(0x189)]*0x4;},'toString':function(_0x414e34){var _0x3a8086=_0x389179;return(_0x414e34||_0x20b55a)[_0x3a8086(0x25d)](this);},'concat':function(_0x4c53b8){var _0x5d1bfb=_0x389179,_0x55c56d=this[_0x5d1bfb(0x1f1)],_0x20fdd5=_0x4c53b8['words'],_0x254e28=this[_0x5d1bfb(0x40e)],_0x98e054=_0x4c53b8[_0x5d1bfb(0x40e)];if(this[_0x5d1bfb(0x1f3)](),_0x254e28%0x4)for(var _0x553e19=0x0;_0x553e19<_0x98e054;_0x553e19++){var _0x5d1e43=_0x20fdd5[_0x553e19>>>0x2]>>>0x18-_0x553e19%0x4*0x8&0xff;_0x55c56d[_0x254e28+_0x553e19>>>0x2]|=_0x5d1e43<<0x18-(_0x254e28+_0x553e19)%0x4*0x8;}else{for(var _0x26d89a=0x0;_0x26d89a<_0x98e054;_0x26d89a+=0x4)_0x55c56d[_0x254e28+_0x26d89a>>>0x2]=_0x20fdd5[_0x26d89a>>>0x2];}return this['sigBytes']+=_0x98e054,this;},'clamp':function(){var _0x156df4=_0x389179,_0x45d111=this[_0x156df4(0x1f1)],_0x1ceaf7=this[_0x156df4(0x40e)];_0x45d111[_0x1ceaf7>>>0x2]&=0xffffffff<<0x20-_0x1ceaf7%0x4*0x8,_0x45d111['length']=_0x31efb1['ceil'](_0x1ceaf7/0x4);},'clone':function(){var _0x3e5f45=_0x389179,_0x16e6eb=_0x144fbd[_0x3e5f45(0x182)]['call'](this);return _0x16e6eb[_0x3e5f45(0x1f1)]=this['words'][_0x3e5f45(0x1e1)](0x0),_0x16e6eb;},'random':function(_0x421d92){var _0x19d41a=_0x389179;for(var _0x295e17=[],_0x749ad6=0x0;_0x749ad6<_0x421d92;_0x749ad6+=0x4)_0x295e17[_0x19d41a(0x188)](_0x49ff93());return new _0x516377[(_0x19d41a(0x416))](_0x295e17,_0x421d92);}}),_0x558216=_0x24bcaa[_0x389179(0x18c)]={},_0x20b55a=_0x558216[_0x389179(0x163)]={'stringify':function(_0x5d76c7){var _0xb6b053=_0x389179;for(var _0x25d86b=_0x5d76c7['words'],_0xd3e317=_0x5d76c7[_0xb6b053(0x40e)],_0x4d958e=[],_0x418ccb=0x0;_0x418ccb<_0xd3e317;_0x418ccb++){var _0x1f0c21=_0x25d86b[_0x418ccb>>>0x2]>>>0x18-_0x418ccb%0x4*0x8&0xff;_0x4d958e[_0xb6b053(0x188)]((_0x1f0c21>>>0x4)['toString'](0x10)),_0x4d958e[_0xb6b053(0x188)]((_0x1f0c21&0xf)['toString'](0x10));}return _0x4d958e[_0xb6b053(0xe9)]('');},'parse':function(_0x40fd95){var _0x275498=_0x389179;for(var _0x18e7a5=_0x40fd95[_0x275498(0x189)],_0x5d06c8=[],_0x4bc886=0x0;_0x4bc886<_0x18e7a5;_0x4bc886+=0x2)_0x5d06c8[_0x4bc886>>>0x3]|=parseInt(_0x40fd95[_0x275498(0x210)](_0x4bc886,0x2),0x10)<<0x18-_0x4bc886%0x8*0x4;return new _0x516377[(_0x275498(0x416))](_0x5d06c8,_0x18e7a5/0x2);}},_0x35f29f=_0x558216[_0x389179(0x24c)]={'stringify':function(_0x4c4877){var _0x333d24=_0x389179;for(var _0xc5c7fe=_0x4c4877['words'],_0x34229a=_0x4c4877['sigBytes'],_0x50cd04=[],_0x365aca=0x0;_0x365aca<_0x34229a;_0x365aca++){var _0x2a0b02=_0xc5c7fe[_0x365aca>>>0x2]>>>0x18-_0x365aca%0x4*0x8&0xff;_0x50cd04[_0x333d24(0x188)](String[_0x333d24(0x258)](_0x2a0b02));}return _0x50cd04['join']('');},'parse':function(_0x57d034){var _0x50d5a3=_0x389179;for(var _0x537b83=_0x57d034[_0x50d5a3(0x189)],_0x33241f=[],_0x367e5b=0x0;_0x367e5b<_0x537b83;_0x367e5b++)_0x33241f[_0x367e5b>>>0x2]|=(_0x57d034[_0x50d5a3(0x3c7)](_0x367e5b)&0xff)<<0x18-_0x367e5b%0x4*0x8;return new _0x516377[(_0x50d5a3(0x416))](_0x33241f,_0x537b83);}},_0x434fed=_0x558216[_0x389179(0x202)]={'stringify':function(_0x50ee66){var _0x55a584=_0x389179;try{return decodeURIComponent(escape(_0x35f29f[_0x55a584(0x25d)](_0x50ee66)));}catch{throw new Error(_0x55a584(0x2f3));}},'parse':function(_0x4ca443){var _0x5b5474=_0x389179;return _0x35f29f[_0x5b5474(0x272)](unescape(encodeURIComponent(_0x4ca443)));}},_0x5ddb52=_0x283ea3['BufferedBlockAlgorithm']=_0x144fbd[_0x389179(0x281)]({'reset':function(){var _0xad322c=_0x389179;this[_0xad322c(0x1d4)]=new _0x516377[(_0xad322c(0x416))](),this[_0xad322c(0x85)]=0x0;},'_append':function(_0xef8a40){var _0x5619fc=_0x389179;typeof _0xef8a40==_0x5619fc(0x2f8)&&(_0xef8a40=_0x434fed[_0x5619fc(0x272)](_0xef8a40)),this[_0x5619fc(0x1d4)][_0x5619fc(0xe4)](_0xef8a40),this['_nDataBytes']+=_0xef8a40[_0x5619fc(0x40e)];},'_process':function(_0x20e180){var _0x3edae7=_0x389179,_0x1c16f1,_0x2c8b38=this[_0x3edae7(0x1d4)],_0x4a01ee=_0x2c8b38['words'],_0x164aa0=_0x2c8b38[_0x3edae7(0x40e)],_0x3b8418=this[_0x3edae7(0xb0)],_0x5ee8c4=_0x3b8418*0x4,_0x1394c3=_0x164aa0/_0x5ee8c4;_0x20e180?_0x1394c3=_0x31efb1[_0x3edae7(0x24f)](_0x1394c3):_0x1394c3=_0x31efb1['max']((_0x1394c3|0x0)-this[_0x3edae7(0xbe)],0x0);var _0x47f5db=_0x1394c3*_0x3b8418,_0x32db42=_0x31efb1[_0x3edae7(0xd4)](_0x47f5db*0x4,_0x164aa0);if(_0x47f5db){for(var _0x24cd59=0x0;_0x24cd59<_0x47f5db;_0x24cd59+=_0x3b8418)this[_0x3edae7(0x3c6)](_0x4a01ee,_0x24cd59);_0x1c16f1=_0x4a01ee['splice'](0x0,_0x47f5db),_0x2c8b38[_0x3edae7(0x40e)]-=_0x32db42;}return new _0x516377[(_0x3edae7(0x416))](_0x1c16f1,_0x32db42);},'clone':function(){var _0x3a82f9=_0x389179,_0x2e3071=_0x144fbd[_0x3a82f9(0x182)][_0x3a82f9(0x1c6)](this);return _0x2e3071[_0x3a82f9(0x1d4)]=this[_0x3a82f9(0x1d4)][_0x3a82f9(0x182)](),_0x2e3071;},'_minBufferSize':0x0});_0x283ea3[_0x389179(0x27c)]=_0x5ddb52[_0x389179(0x281)]({'cfg':_0x144fbd[_0x389179(0x281)](),'init':function(_0xc1cae1){var _0x5f423f=_0x389179;this[_0x5f423f(0x204)]=this['cfg']['extend'](_0xc1cae1),this['reset']();},'reset':function(){var _0x18aeff=_0x389179;_0x5ddb52[_0x18aeff(0x338)][_0x18aeff(0x1c6)](this),this['_doReset']();},'update':function(_0x242d05){var _0x649481=_0x389179;return this[_0x649481(0x141)](_0x242d05),this[_0x649481(0x261)](),this;},'finalize':function(_0x5a44ee){var _0x3711c8=_0x389179;_0x5a44ee&&this[_0x3711c8(0x141)](_0x5a44ee);var _0x30815d=this['_doFinalize']();return _0x30815d;},'blockSize':0x10,'_createHelper':function(_0x57b01d){return function(_0x567e0e,_0x109c9d){var _0xd39ec6=_0x9f6e;return new _0x57b01d[(_0xd39ec6(0x416))](_0x109c9d)[_0xd39ec6(0x206)](_0x567e0e);};},'_createHmacHelper':function(_0x4e59ed){return function(_0x4993f2,_0x569294){var _0x284f4b=_0x9f6e;return new _0x5802ac[(_0x284f4b(0x247))]['init'](_0x4e59ed,_0x569294)[_0x284f4b(0x206)](_0x4993f2);};}});var _0x5802ac=_0x24bcaa[_0x389179(0x176)]={};return _0x24bcaa;}(Math);return _0x27d3a3;}));}(fe)),fe[_0x136c8e(0x3ce)];}var Ee={'exports':{}},Ci=Ee[_0x4216d1(0x3ce)],ze;function Tt(){var _0x4dae24=_0x4216d1;return ze||(ze=0x1,function(_0x320f6f,_0xda21e9){(function(_0x519c07,_0x359768){var _0x4b5710=_0x9f6e;_0x320f6f[_0x4b5710(0x3ce)]=_0x359768(Z());}(Ci,function(_0x223fe2){var _0x50cc81=_0x9f6e;return(function(){var _0x15e85e=_0x9f6e,_0x3f1454=_0x223fe2,_0xb88689=_0x3f1454[_0x15e85e(0x386)],_0x4aaeda=_0xb88689['WordArray'],_0x133164=_0x3f1454[_0x15e85e(0x18c)];_0x133164[_0x15e85e(0x1e0)]={'stringify':function(_0x3d706d){var _0x35c11b=_0x15e85e,_0x2e5f77=_0x3d706d['words'],_0xb20d73=_0x3d706d[_0x35c11b(0x40e)],_0x4aabf6=this[_0x35c11b(0x1ac)];_0x3d706d[_0x35c11b(0x1f3)]();for(var _0x867fef=[],_0x7f64b5=0x0;_0x7f64b5<_0xb20d73;_0x7f64b5+=0x3)for(var _0xef19d=_0x2e5f77[_0x7f64b5>>>0x2]>>>0x18-_0x7f64b5%0x4*0x8&0xff,_0x59637e=_0x2e5f77[_0x7f64b5+0x1>>>0x2]>>>0x18-(_0x7f64b5+0x1)%0x4*0x8&0xff,_0x301cc5=_0x2e5f77[_0x7f64b5+0x2>>>0x2]>>>0x18-(_0x7f64b5+0x2)%0x4*0x8&0xff,_0x2ded6f=_0xef19d<<0x10|_0x59637e<<0x8|_0x301cc5,_0x30743f=0x0;_0x30743f<0x4&&_0x7f64b5+_0x30743f*0.75<_0xb20d73;_0x30743f++)_0x867fef[_0x35c11b(0x188)](_0x4aabf6[_0x35c11b(0x2e0)](_0x2ded6f>>>0x6*(0x3-_0x30743f)&0x3f));var _0x1fcfa6=_0x4aabf6[_0x35c11b(0x2e0)](0x40);if(_0x1fcfa6){for(;_0x867fef['length']%0x4;)_0x867fef[_0x35c11b(0x188)](_0x1fcfa6);}return _0x867fef['join']('');},'parse':function(_0x411098){var _0x2b6b5e=_0x15e85e,_0x1d2e2c=_0x411098[_0x2b6b5e(0x189)],_0x76616e=this[_0x2b6b5e(0x1ac)],_0x292786=this[_0x2b6b5e(0xfe)];if(!_0x292786){_0x292786=this[_0x2b6b5e(0xfe)]=[];for(var _0x5b336b=0x0;_0x5b336b<_0x76616e[_0x2b6b5e(0x189)];_0x5b336b++)_0x292786[_0x76616e[_0x2b6b5e(0x3c7)](_0x5b336b)]=_0x5b336b;}var _0x5d2f39=_0x76616e[_0x2b6b5e(0x2e0)](0x40);if(_0x5d2f39){var _0xdfd4b3=_0x411098[_0x2b6b5e(0x2dd)](_0x5d2f39);_0xdfd4b3!==-0x1&&(_0x1d2e2c=_0xdfd4b3);}return _0x229cc2(_0x411098,_0x1d2e2c,_0x292786);},'_map':_0x15e85e(0x1aa)};function _0x229cc2(_0x2d922c,_0x2e9a04,_0x29eea5){var _0x4e5eb1=_0x15e85e;for(var _0x3364bc=[],_0xd85d18=0x0,_0x4b1ad5=0x0;_0x4b1ad5<_0x2e9a04;_0x4b1ad5++)if(_0x4b1ad5%0x4){var _0x449208=_0x29eea5[_0x2d922c[_0x4e5eb1(0x3c7)](_0x4b1ad5-0x1)]<<_0x4b1ad5%0x4*0x2,_0x546e08=_0x29eea5[_0x2d922c[_0x4e5eb1(0x3c7)](_0x4b1ad5)]>>>0x6-_0x4b1ad5%0x4*0x2,_0x2cb9e8=_0x449208|_0x546e08;_0x3364bc[_0xd85d18>>>0x2]|=_0x2cb9e8<<0x18-_0xd85d18%0x4*0x8,_0xd85d18++;}return _0x4aaeda[_0x4e5eb1(0x2c4)](_0x3364bc,_0xd85d18);}}()),_0x223fe2[_0x50cc81(0x18c)][_0x50cc81(0x1e0)];}));}(Ee)),Ee[_0x4dae24(0x3ce)];}function _0x5ef4(){var _0x36ebe0=['/new_changes','SHOULD_CLOSE_CONN','FAIL','resend','clear','event$','REDEMPTION_INVALID_CODE','splice','entries','roles','loadSheet','LICENSE_DISTRO_REJECTED','lib','createIdentifier','save\x20fail\x20reason\x20is\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','function','EMAIL_VERIFY_CODE_MISMATCH','byteOffset','CollaborationSession','Encryptor','APPLY_REVISION_CONFILICT','Failed\x20to\x20update\x20permission\x20point','$super','ReplaySubject','mixIn','randomBytes','_undoRedoService','HttpExport','image/bmp','close','SerializableCipher','ENTITLE_REPORT_LIMIT_EXCEED','salt','IMentionIOService','processBlock','INVITE_CODE_REQUIRED','saveImage','_onOffline','href','LOCAL_CACHE_INTERVAL','encryptBlock','append','collaboration-client.config','SOCKET_FAILED','withCredentials','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromCollab','CollaborationEvent','loadUnitOfRevision','APPLY_DUPLICATED','[CollaborationSessionService]:\x20socket\x20error','loadDoc','ERROR_IMAGE','_ENC_XFORM_MODE','allowed','getSheetBlock','[SyncedState]:\x20received\x20acknowledgement.','unitId','HEARTBEAT_TIMEOUT_KEY','post','HTTPService','ICommandService','ConflictState','encrypt','collaborators','_joinRoom','getCurrentRevOfUnit','delay','FETCH_MISS','msCrypto','downloadEndpointUrl','startsWith','_xformMode','_scheduleCollaborationTimeoutTimer','_doProcessBlock','charCodeAt','HTTPRequest','_maxTotalRetryTimeout','members$','Inject','getSheetId','REDEMPTION_USER_NOT_ELIGIBLE','exports','[FetchMissState]','getUnitId','__splitChunk__','fetchThroughInterceptors','failed\x20to\x20apply\x20missed\x20changesets!','every','patch','createEncryptor','UserProfileImg','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','_onRemoteACK','CLOSE_ROOM','ENTITLE_COUPON_USED_UP','_collabSessionService','CommentService','from','CollaborationImageIoService','SnapshotServerOverHTTPService','MentionIoHttpService','OpenSSL','CHANGESET_REJ','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','2sEEfFA','[CollaborationUndoRedoService]','shouldCloseConn','CipherParams','/allowed','max','add','buffer','_telemetryService','getCurrentUser','_replayCachedMutations','MemberService','EmptyMutationInfo','UNIVER_COLLABORATION_CLIENT_PLUGIN','uploadFileServerUrl','batchAllowed','Module','APPLY_NON_SEQUENTIAL_REVISION','_onRecvEvent','USER_NOT_INVITED_CODE','/rev/','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','isTransformMutationsWithChangesetSuccess','transformStack\x20failed!','_key','AWAITING_WITH_PENDING','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_candidateSocket','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_logService','_onLocalMutation','_toggleOnline','_nRounds','_iKey','_onConnectionFailed','addHandlerCallback','disableLocalCache','getImageSourceCache','_throwTelemetryCollaborationNewChangeset','BASE64','sigBytes','INVITE_CODE_HAS_BEEN_UES','_networkConditionService','UNKNOWN_CMD','awaiting_with_pending','cmd','DataLoaderService','AuthzIoHttpService','init','listRoles','CollaborationUIEventId','/block/','symbol','__creator','leaveEvent','Workbook','_onFetchMissResult','_transformService','YUUMI_ASYNCIO_CANCELLED','LIVESHARE_TERMINATE','_nDataBytes','startTime','localCacheService','Tools','transformMutationsWithChangeset','editingUnit','unit-cache-','getActiveSheet','&to=','socketService','error$','YUUMI_CONNECTOR_URL_NOT_FOUND','pipe','_updateState','_showConflictNotification','CollaborationSessionService','FileId','getRandomValues','auth.needGotoLoginAlert','ERROR_AGAIN','state','LocaleService','refreshPermission','ENTITLE_NEED_BILLING_ADDRESS','[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.','onMissingChangesets','memberID','getValue','PERMISSION_REJ','NoPadding','updateCollaborator','JOIN_ROOM_NOT_EXISTS','_onRemoteRejected','_transformSelections','setCurrentUser','FetchingMissState','MOBILE_HAS_BEEN_BOUND','csRejEvent','_getSignURL','_revisionService','transformChangesets','decryptBlock','YUUMI_NO_CUBOID_FOR_QUESTION','blockSize','permissionRejEvent','onTransformSelections','UNIVER_SHEET','OFFLINE','_clearUndo','UnitSnapshot','body','requireSession','_onCombEvent','/-/object/-/batch_allowed','_permissionService','pad','531005OESsiJ','_minBufferSize','_transformRemoteChangesetByStateCache','mode','YUUMI_TABLE_NOT_FOUND_IN_UNIT','readInt32LE','connection\x20error','UPDATE_CURSOR','ThresholdInterceptorFactory','\x20-\x20','/object','PSEUDO_FETCH_MISSING_RESULT','_sessions','PERSON','APPLY_PERMISSION_DENIED','CollaborationUIEventService','LICENSE_MAX_UNITS_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_submitChangeset','firstValueFrom','CHANGESET_ACK','JOINING','toggleOffline','min','crypto','csShouldRetryEvent','ALREADY_EXISTS','_stopTelemetryCollaborationNewChangeset','merge','_memberService','createInstance','_transitionLocked','m2Prime','sessionStatus','NO_OTHER_CLIENTS_EDITING','UNDEFINED','initWorkbookPermissionChange','WordArray','_transformIMECache','concat','findIndex','_awaitingChangeset','LIVESHARE_OPERATION','registerHTTPInterceptor','join','reject','UNIVER_SLIDE','SNAPSHOT_INVALID_SNAPSHOT','equals','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','workbook','duration','RichTextEditingMutation','LOGIN_FAILED','IUniverInstanceService','asObservable','isTransformChangesetsSuccess','RECV','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByIMECache','MOBILE_VERIFY_CODE_MISMATCH','HmacMD5','&source=','/-/object/list','LIVESHARE_NEW_HOST','_reverseMap','INetworkConditionService','YUUMI_RATE_OVER_LIMIT','size','message$','onTransformIME','uniscriptRunEvent','Cipher','values','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_httpService','6813tPGcDn','AwaitingState','update','/object/','synced','INGEST','executeCommand','[CollaborationSession]','[UniverCollaborationClientPlugin]','onRemoteRej','REDEMPTION_CODE_INACTIVE','ENTITLE_COUPON_EXPIRED','_hasher','CommandType','\x20in\x20_schedule.','ISocketService','EMAIL_HAS_BEEN_BOUND','onTransformState','_userManagerService','deepClone','2186691SBgCeM','members','confirm','/unit/','8953qZvJfe','ITransformService','SetSelectionsOperation','CompressMutationService','_status$','UPDATE_PERMISSION_OBJ','b64DecodeUnicode','complete','_emitMembers','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','state$','_substituteRedoStack','AES','take','OPTIONAL','action','map','serializeCombRequest','MentionType','getLatestCsReqIdBySid','range','JOIN','unsubscribe','_exhaustRemoteChangesetQueue','takeUntil','POST','COMMENT_UPDATE','name','FETCH_MISSING','_rescheduleHeartbeat','includes','_getSendChangesetTimeout','_append','_iv','readAsDataURL','actions','online$','_resendTimeout','fetch_missing','Subject','compose','ICollaborationSocketService','put','_retryConnectingTimer','REDEMPTION_CODE_HAS_BEEN_CREATED','generateRandomId','_createHmacHelper','reverse','_eventService','_executeRemoteChangeset','routeKey','_applyRemoteChangeset','SHA1','toggleOnline','onRemoteRetry','LEAVE','getConfig','reduce','revision','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','interceptor','appendMutation','originalMeta','_singleActiveUnitService','PENDING','univer-pro.collaboration-client.single-active-unit-service','Hex','UnitEmbedded','_hash','_commentService','3003265bryafL','filter','_onConnectionOpen','saveSheetBlock','getSnapshotAPIPath','APPLY_REJECT','set','_members','_clearTimeoutTimer','_initDependencies','COMPRESS_MUTATION_APPLY','ERROR_IMAGE_TYPE','conflict','onSyncEditingCollabCursor','_collaborationUIEventService','algo','_changesetReqId','infoRsp','Optional','getResourcesRequest','/collaborator','_state','subUnitId','sessionStatus$','session.room-permission-denied','_initCloseConn','[DataLoaderService]','clone','HELLO','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','authzUrl','ITelemetryService','_injector','push','length','_clearRedo','objects','enc','CURRENT_STATUS_CANNOT_OPERATE','_getAPIPrefixPath','pluginName','_handlerCallback','LICENSE_EXPORT_SIZE_EXCEEDED','SessionStatus','registerDependencies','_tryReconnect','SUBMIT_CHANGESET_TIMEOUT','_mode','_getCurrentRevision','_onConflict','loginUrlKey','subscribe','_checkMissing','image/jpg','collaMsg','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','keySize','collaboration-client.local-cache-service','onload','GLOBAL_ROOMS_CNT_EXCEEDS','_clearHeartbeatTimer','fetchMiss','defineProperty','_resendTimer','REDEMPTION_CODE_FULLY_REDEEMED','then','_sendHeartbeatTimer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','disposeWithMe','_map','ivSize','catch','override','default','_onRemoteChangeset','isPermissionRej','DisposableCollection','has','image/gif','Pkcs7','_change$','_collaborationSessionService','joinEvent','_listenToNetworkCondition','isTransformMutationsWithChangesetFailure','getCollabEntity','IPermissionService','ENTITLE_INSUFFICIENT_QUOTA','DEFAULT_COLLAB_WEB_SOCKET_URL','roomInfos','list','\x0aAfter:\x20','onStateChange','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','setConfig','call','_pendingMutations','getRoom','_createInitialState','send','status$','target','_handler','joinRsp','_entities','_startTelemetryCollaborationNewChangeset','_onUserJoin','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','iterations','_data','forEach','?url=','params','PY_RUNTIME_SCRIPT_ERROR','c1Prime','setWaitCount','TOO_MANY_REQUESTS','RxDisposable','_roomCreated$','INVITE_CODE_ALREADY_BOUND','_timeoutTimer','Base64','slice','CollaborationSocketService','headers','updateMember','_socketService','awaiting','/universer-api/user/session-ticket','hostname','_replaceFileID','_changesetSessionId','getLocalCacheKey','Error\x20on\x20receiving\x20event','userID','DATA_SOURCE_TOO_LARGE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_oKey','words','onRemoteAck','clamp','YUUMI_ALL_TABLES_IS_INVALID','4962sPAIDL','emitEvent','NOT_FOUND','CONNECTOR_DATA_TOO_LARGE','socket$','_getDownloadEndpointURL','ciphertext','Disposable','editing\x20status\x20changed\x20to','_unitID','MergeInterceptorFactory','ImageSourceType','createCollaborator','Utf8','_syncEditingCollabCursor','cfg','encode','finalize','_collaborationTimeoutTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','decrypt','SnapshotService','_entityInit$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','status','waitForRoom$','ENTITLE_DUP_SUBSCRIPTION','substr','updateOfflineData','_onJoinRoomEvent','not_collab','HEARTBEAT','_univerInstanceService','getTypeOfUnitDisposed$','CollaborationEntity','OfflineState','next','_waitForHeartbeatResponse','4462472uVIKHi','session.join-failed','YUUMI_URL_COL_OUT_OF_RANGE','_transformStack','WECHAT_HAS_BEEN_BOUND','USERS_ENTER','_prevBlock','ENTITLE_INVALID_COUPON_CODE','getUnit','result','image/png','baseRev','sid','?size=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','__esModule','SheetTransformSelectionsService','focused$','now','PAYMENT_CHANNEL_NOT_SUPPORT','NEW_CHANGESETS','UNIVER_UNKNOWN','responseType','origin','apply','isArray','_removeRoom','_sheetTransformSelectionsService','CollaborationController','JSONX','getTypeOfUnitAdded$','ILogService','ClipsheetFragments','commentUpdateEvent','_tryEnsureSocket','_compressMutationService','ENTITLE_CHAT_LIMIT_EXCEED','ws://127.0.0.1:8000/universer-api/comb/connect','_configService','EvpKDF','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','saveSnapshot','HEARTBEAT_INTERVAL','repeat','HMAC','getUnitType','collabSubmitChangesetUrl','ENTITLE_USE_COUPON_NOT_1ST_TRADE','rev','Latin1','SUCCUSS','removeMember','ceil','BlockCipher','byteLength','formatter','{fileID}','prototype','_invKeySchedule','Base','mutations','fromCharCode','_initRequestHeader','eventID','_getRedoStack','saveChangeset','stringify','_unlockTransition','getUnitStatus$','Injector','_process','collaboratorID','_cipher','UnitStatus','HmacSHA1','HEARTBEAT_TIMEOUT','_getLoginPath','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','[SyncedState]:\x20received\x20rejection.','retryConnectingInterval','_acknowledgedAwaitingChangeset','_lockTransition','liveShareNewHost','find','capture','onSendChangeset','onlyLocal','parse','hasher','_transformStateCache','_disableEditing','updateCursorEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/resources','_updateStatus','fetchMissingChangesets','_imageSourceCache','Hasher','UNIVER_DOC','SheetPermissionInitController','COMPRESS_MUTATION_SEND','_getAPIPrefix','extend','onMutationExecutedForCollab','getFocusedUnit','UNAUTHENTICATED','[CollaborationEntity]','dispose$','StreamCipher','ILocalCacheService','getUnitOnRev','_transformRemoteChangesetByIMECache','liveShareOperation','_resendWithTimeout','mergeOverrideWithDependencies','RevisionService','/universer-api/snapshot/','file','UNKNOWN_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','CollaborativeUndoRedoService','collaboration_new_changeset','commentUpdate$','onLocalMutation','getWorkbookSelections','_doFinalize','pauseCollaboration','_snapshotService','_unitInfo$','padding','REDEMPTION_CODE_NOT_STARTED','snapshotServerUrl','key','PasswordBasedCipher','get','getMemberID','PendingState','_clearRetryConnectingTimer','JOIN_ROOM_FULL','_getCtorByUniverType','WorkbookEditablePermission','offline','_parse','_getUploadFileURL','_init','data','_roomMembers','_updateLocalCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','USERS_LEAVE','NOT_COLLAB','2850208MvafnK','HttpImport','IImageIoService','debug','/universer-api/stream/file/upload','SOCKET_FAILED_RETRY','updatePermissionPoint','_createSocket','setShowComponents','onStarting','[CollaborationState]:\x20apply\x20error!','getCollabEntity$','DEFAULT_WS_SESSION_TICKET_URL','_createHelper','_telemetryInfo','BehaviorSubject','JOIN_ROOM_PERMISSION_DENIED','closeSession','create','Undefined','unknown','session','sequenceExecute','textRanges','collabWebSocketUrl','_snapshotServerService','LOGIN_TOKEN_PROCESSING_FAILED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','RETRY_CONNECTING_MAX_COUNT','_decreaseWaiting','format','_createHandler','/role','abs','ENSURE_SNAPSHOT_EXECUTION','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_sendingTimer','_schedule','_socket$','submit\x20changeset\x20error!','dispose','MUTATION','mapDocumentTypeToUniverType','indexOf','awaitingChangeset','x-univer-host','charAt','_event$','_members$','_commentUpdate$','onCommentUpdate','IDLE','_initMergeInterceptor','getInterceptPoints','SyncedState','objectID','listCollaborators','AWAITING','UNISCRIPT_RUN','LOCAL_CACHE_INTERVAL_KEY','session.room-full','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','toDisposable','image/jpeg','transformUndoRedo','Malformed\x20UTF-8\x20data','_waitCount','localeService','random','CHANGESET_REVISION_CONFILICT','string','JOIN_ROOM_FAILED','getGlobalObject','reconnect','29810NbDjLu','_getUndoStack','_queuedRemoteChangesets','IUndoRedoService','_retryCount','IConfigService','_sender','getDeserializedSheetBlock','CHANGESET_SHOULD_RETRY','_onUserLeave','_incrementRevisionNumber','COMPLETION_FINISHED','url','ONLINE','/fetchmissing?from=','replace','addImageSourceCache','HEARTBEAT_INTERVAL_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','deserializeToCombResponse','unitID','compute','touchDependencies','DocCollaborationEntity','SNAPSHOT_HAS_BEEN_REMOVED','onMissedChangesetFetched','AUTHORIZE_CODE_ILLEGAL','signUrlServerUrl','unitInfo$','_substituteUndoStack','_localeService','_DEC_XFORM_MODE','_socketMessageSubscription','_startCollaboration','_clearScheduledTask','_isPermissionRej','selections','ImageUploadStatusType','delete','_sessionStatus$','objectType','UserManagerService','copyFileMeta','Decryptor','_socket','getTime','textEncoder','_scheduleCompleteTimestamp','onRemoteChangeset','LIVESHARE_REQUEST_HOST','/universer-api/authz','OTHER_CLIENT_EDITING','CONFLICT','_commandService','OTHER_CLIENTS_EDITING','hasOwnProperty','reqId','_localCacheService','UNRECOGNIZED','reset','session.room-not-exists','resolve','[PendingState]:\x20received\x20rejection.','enableAuthServer','_registerDependencies','sin','UniverNetworkPlugin','code','_config','INVALID_ARGUMENT','[CollaborationSessionService]','SheetCollaborationEntity','floor','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_HTTPService','SUBMIT_CHANGESET','_clearLocalCache','INVALID_INVITE_CODE','_transformUndoredo','_state$','_remoteChangesetQueue','INTERNAL_ERROR','CBC','unitId\x20is\x20not\x20found','changesets','UniverInstanceType','UniverCollaborationClientPlugin','PERMISSION_DENIED','_toggleOffline','USER_IS_ANONYMOUS','univer-pro.collaboration-client.network-condition.service','AwaitingWithPendingState','subject','_keySchedule','location','YUUMI_AI_RUN_FAILED','_clearCollaborationTimeoutTimer','SheetsSelectionsService','_fetchMissChangesets','telemetry\x20info\x20is\x20not\x20initialized','getMember','close$','[OfflineState]:\x20received\x20changeset.','_socketReady','toString','MD5','getOwnPropertyDescriptor','LIVESHARE_FETCH_OPERATIONS','DEFAULT_FILE_NAME','src','requestParams','parseProtocolChangeset','BlockCipherMode','type','_doReset','onTransformRemoteChangesetByStateCache','_collaborationPaused','USER_NOT_FOUND','deleteCollaborator','LocalUndoRedoService','_type','putCollaborators','_instanceService','error','SYNCED'];_0x5ef4=function(){return _0x36ebe0;};return _0x5ef4();}var pe={'exports':{}},Oi=pe[_0x4216d1(0x3ce)],Xe;function bi(){return Xe||(Xe=0x1,function(_0x2cf52a,_0x25bee0){(function(_0x46ea26,_0x18f9dd){_0x2cf52a['exports']=_0x18f9dd(Z());}(Oi,function(_0x46240c){var _0x430576=_0x9f6e;return function(_0x31d9c8){var _0x3cfda6=_0x9f6e,_0x1a48ae=_0x46240c,_0x5efc45=_0x1a48ae[_0x3cfda6(0x386)],_0x31dc6d=_0x5efc45[_0x3cfda6(0xe2)],_0xa79869=_0x5efc45['Hasher'],_0x51f6bb=_0x1a48ae[_0x3cfda6(0x176)],_0x31fb58=[];(function(){var _0x1c7936=_0x3cfda6;for(var _0x4e99d6=0x0;_0x4e99d6<0x40;_0x4e99d6++)_0x31fb58[_0x4e99d6]=_0x31d9c8[_0x1c7936(0x2d3)](_0x31d9c8[_0x1c7936(0x33e)](_0x4e99d6+0x1))*0x100000000|0x0;}());var _0x123f99=_0x51f6bb[_0x3cfda6(0x366)]=_0xa79869['extend']({'_doReset':function(){var _0x911f4e=_0x3cfda6;this[_0x911f4e(0x165)]=new _0x31dc6d[(_0x911f4e(0x416))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x239896,_0x1a2010){var _0x4385c1=_0x3cfda6;for(var _0x14deb0=0x0;_0x14deb0<0x10;_0x14deb0++){var _0x11bd46=_0x1a2010+_0x14deb0,_0x1d3e13=_0x239896[_0x11bd46];_0x239896[_0x11bd46]=(_0x1d3e13<<0x8|_0x1d3e13>>>0x18)&0xff00ff|(_0x1d3e13<<0x18|_0x1d3e13>>>0x8)&0xff00ff00;}var _0x582b47=this[_0x4385c1(0x165)]['words'],_0x346f81=_0x239896[_0x1a2010+0x0],_0x5d8b85=_0x239896[_0x1a2010+0x1],_0x35f429=_0x239896[_0x1a2010+0x2],_0x345328=_0x239896[_0x1a2010+0x3],_0xcbac6=_0x239896[_0x1a2010+0x4],_0x4ec44f=_0x239896[_0x1a2010+0x5],_0x36fc52=_0x239896[_0x1a2010+0x6],_0x2a66e9=_0x239896[_0x1a2010+0x7],_0x4e474d=_0x239896[_0x1a2010+0x8],_0x55e8d5=_0x239896[_0x1a2010+0x9],_0x42ef9d=_0x239896[_0x1a2010+0xa],_0x17a16f=_0x239896[_0x1a2010+0xb],_0x441364=_0x239896[_0x1a2010+0xc],_0x13f7ec=_0x239896[_0x1a2010+0xd],_0x2b2c43=_0x239896[_0x1a2010+0xe],_0x1c5ec1=_0x239896[_0x1a2010+0xf],_0x18492f=_0x582b47[0x0],_0x4bff33=_0x582b47[0x1],_0x3aa784=_0x582b47[0x2],_0x44d4e7=_0x582b47[0x3];_0x18492f=_0x24f811(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x346f81,0x7,_0x31fb58[0x0]),_0x44d4e7=_0x24f811(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x5d8b85,0xc,_0x31fb58[0x1]),_0x3aa784=_0x24f811(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x35f429,0x11,_0x31fb58[0x2]),_0x4bff33=_0x24f811(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x345328,0x16,_0x31fb58[0x3]),_0x18492f=_0x24f811(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0xcbac6,0x7,_0x31fb58[0x4]),_0x44d4e7=_0x24f811(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x4ec44f,0xc,_0x31fb58[0x5]),_0x3aa784=_0x24f811(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x36fc52,0x11,_0x31fb58[0x6]),_0x4bff33=_0x24f811(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x2a66e9,0x16,_0x31fb58[0x7]),_0x18492f=_0x24f811(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x4e474d,0x7,_0x31fb58[0x8]),_0x44d4e7=_0x24f811(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x55e8d5,0xc,_0x31fb58[0x9]),_0x3aa784=_0x24f811(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x42ef9d,0x11,_0x31fb58[0xa]),_0x4bff33=_0x24f811(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x17a16f,0x16,_0x31fb58[0xb]),_0x18492f=_0x24f811(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x441364,0x7,_0x31fb58[0xc]),_0x44d4e7=_0x24f811(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x13f7ec,0xc,_0x31fb58[0xd]),_0x3aa784=_0x24f811(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x2b2c43,0x11,_0x31fb58[0xe]),_0x4bff33=_0x24f811(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x1c5ec1,0x16,_0x31fb58[0xf]),_0x18492f=_0x2588d1(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x5d8b85,0x5,_0x31fb58[0x10]),_0x44d4e7=_0x2588d1(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x36fc52,0x9,_0x31fb58[0x11]),_0x3aa784=_0x2588d1(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x17a16f,0xe,_0x31fb58[0x12]),_0x4bff33=_0x2588d1(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x346f81,0x14,_0x31fb58[0x13]),_0x18492f=_0x2588d1(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x4ec44f,0x5,_0x31fb58[0x14]),_0x44d4e7=_0x2588d1(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x42ef9d,0x9,_0x31fb58[0x15]),_0x3aa784=_0x2588d1(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x1c5ec1,0xe,_0x31fb58[0x16]),_0x4bff33=_0x2588d1(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0xcbac6,0x14,_0x31fb58[0x17]),_0x18492f=_0x2588d1(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x55e8d5,0x5,_0x31fb58[0x18]),_0x44d4e7=_0x2588d1(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x2b2c43,0x9,_0x31fb58[0x19]),_0x3aa784=_0x2588d1(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x345328,0xe,_0x31fb58[0x1a]),_0x4bff33=_0x2588d1(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x4e474d,0x14,_0x31fb58[0x1b]),_0x18492f=_0x2588d1(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x13f7ec,0x5,_0x31fb58[0x1c]),_0x44d4e7=_0x2588d1(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x35f429,0x9,_0x31fb58[0x1d]),_0x3aa784=_0x2588d1(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x2a66e9,0xe,_0x31fb58[0x1e]),_0x4bff33=_0x2588d1(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x441364,0x14,_0x31fb58[0x1f]),_0x18492f=_0x4ea9e7(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x4ec44f,0x4,_0x31fb58[0x20]),_0x44d4e7=_0x4ea9e7(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x4e474d,0xb,_0x31fb58[0x21]),_0x3aa784=_0x4ea9e7(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x17a16f,0x10,_0x31fb58[0x22]),_0x4bff33=_0x4ea9e7(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x2b2c43,0x17,_0x31fb58[0x23]),_0x18492f=_0x4ea9e7(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x5d8b85,0x4,_0x31fb58[0x24]),_0x44d4e7=_0x4ea9e7(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0xcbac6,0xb,_0x31fb58[0x25]),_0x3aa784=_0x4ea9e7(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x2a66e9,0x10,_0x31fb58[0x26]),_0x4bff33=_0x4ea9e7(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x42ef9d,0x17,_0x31fb58[0x27]),_0x18492f=_0x4ea9e7(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x13f7ec,0x4,_0x31fb58[0x28]),_0x44d4e7=_0x4ea9e7(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x346f81,0xb,_0x31fb58[0x29]),_0x3aa784=_0x4ea9e7(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x345328,0x10,_0x31fb58[0x2a]),_0x4bff33=_0x4ea9e7(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x36fc52,0x17,_0x31fb58[0x2b]),_0x18492f=_0x4ea9e7(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x55e8d5,0x4,_0x31fb58[0x2c]),_0x44d4e7=_0x4ea9e7(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x441364,0xb,_0x31fb58[0x2d]),_0x3aa784=_0x4ea9e7(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x1c5ec1,0x10,_0x31fb58[0x2e]),_0x4bff33=_0x4ea9e7(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x35f429,0x17,_0x31fb58[0x2f]),_0x18492f=_0x38fbe6(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x346f81,0x6,_0x31fb58[0x30]),_0x44d4e7=_0x38fbe6(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x2a66e9,0xa,_0x31fb58[0x31]),_0x3aa784=_0x38fbe6(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x2b2c43,0xf,_0x31fb58[0x32]),_0x4bff33=_0x38fbe6(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x4ec44f,0x15,_0x31fb58[0x33]),_0x18492f=_0x38fbe6(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x441364,0x6,_0x31fb58[0x34]),_0x44d4e7=_0x38fbe6(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x345328,0xa,_0x31fb58[0x35]),_0x3aa784=_0x38fbe6(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x42ef9d,0xf,_0x31fb58[0x36]),_0x4bff33=_0x38fbe6(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x5d8b85,0x15,_0x31fb58[0x37]),_0x18492f=_0x38fbe6(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0x4e474d,0x6,_0x31fb58[0x38]),_0x44d4e7=_0x38fbe6(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x1c5ec1,0xa,_0x31fb58[0x39]),_0x3aa784=_0x38fbe6(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x36fc52,0xf,_0x31fb58[0x3a]),_0x4bff33=_0x38fbe6(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x13f7ec,0x15,_0x31fb58[0x3b]),_0x18492f=_0x38fbe6(_0x18492f,_0x4bff33,_0x3aa784,_0x44d4e7,_0xcbac6,0x6,_0x31fb58[0x3c]),_0x44d4e7=_0x38fbe6(_0x44d4e7,_0x18492f,_0x4bff33,_0x3aa784,_0x17a16f,0xa,_0x31fb58[0x3d]),_0x3aa784=_0x38fbe6(_0x3aa784,_0x44d4e7,_0x18492f,_0x4bff33,_0x35f429,0xf,_0x31fb58[0x3e]),_0x4bff33=_0x38fbe6(_0x4bff33,_0x3aa784,_0x44d4e7,_0x18492f,_0x55e8d5,0x15,_0x31fb58[0x3f]),_0x582b47[0x0]=_0x582b47[0x0]+_0x18492f|0x0,_0x582b47[0x1]=_0x582b47[0x1]+_0x4bff33|0x0,_0x582b47[0x2]=_0x582b47[0x2]+_0x3aa784|0x0,_0x582b47[0x3]=_0x582b47[0x3]+_0x44d4e7|0x0;},'_doFinalize':function(){var _0x516535=_0x3cfda6,_0x5dddba=this['_data'],_0x2a0751=_0x5dddba[_0x516535(0x1f1)],_0x4a63c7=this[_0x516535(0x85)]*0x8,_0x173845=_0x5dddba['sigBytes']*0x8;_0x2a0751[_0x173845>>>0x5]|=0x80<<0x18-_0x173845%0x20;var _0x425981=_0x31d9c8[_0x516535(0x345)](_0x4a63c7/0x100000000),_0x4ca9a8=_0x4a63c7;_0x2a0751[(_0x173845+0x40>>>0x9<<0x4)+0xf]=(_0x425981<<0x8|_0x425981>>>0x18)&0xff00ff|(_0x425981<<0x18|_0x425981>>>0x8)&0xff00ff00,_0x2a0751[(_0x173845+0x40>>>0x9<<0x4)+0xe]=(_0x4ca9a8<<0x8|_0x4ca9a8>>>0x18)&0xff00ff|(_0x4ca9a8<<0x18|_0x4ca9a8>>>0x8)&0xff00ff00,_0x5dddba[_0x516535(0x40e)]=(_0x2a0751[_0x516535(0x189)]+0x1)*0x4,this['_process']();for(var _0xd08fc4=this['_hash'],_0x59b52e=_0xd08fc4[_0x516535(0x1f1)],_0x5f2643=0x0;_0x5f2643<0x4;_0x5f2643++){var _0x3e1e8c=_0x59b52e[_0x5f2643];_0x59b52e[_0x5f2643]=(_0x3e1e8c<<0x8|_0x3e1e8c>>>0x18)&0xff00ff|(_0x3e1e8c<<0x18|_0x3e1e8c>>>0x8)&0xff00ff00;}return _0xd08fc4;},'clone':function(){var _0x47ae7b=_0x3cfda6,_0x4b26e7=_0xa79869[_0x47ae7b(0x182)][_0x47ae7b(0x1c6)](this);return _0x4b26e7[_0x47ae7b(0x165)]=this[_0x47ae7b(0x165)]['clone'](),_0x4b26e7;}});function _0x24f811(_0x27c357,_0x52daee,_0x32f7a1,_0x104944,_0x476311,_0x5d0457,_0x106f85){var _0x729312=_0x27c357+(_0x52daee&_0x32f7a1|~_0x52daee&_0x104944)+_0x476311+_0x106f85;return(_0x729312<<_0x5d0457|_0x729312>>>0x20-_0x5d0457)+_0x52daee;}function _0x2588d1(_0x488547,_0x24cf71,_0x6070da,_0x29be8a,_0x2278ac,_0xc27b60,_0x5c260){var _0x18e8c1=_0x488547+(_0x24cf71&_0x29be8a|_0x6070da&~_0x29be8a)+_0x2278ac+_0x5c260;return(_0x18e8c1<<_0xc27b60|_0x18e8c1>>>0x20-_0xc27b60)+_0x24cf71;}function _0x4ea9e7(_0x2b2186,_0x316e92,_0x23122a,_0x39813e,_0x13fb74,_0x3b7ccf,_0x2eed6d){var _0x4be02e=_0x2b2186+(_0x316e92^_0x23122a^_0x39813e)+_0x13fb74+_0x2eed6d;return(_0x4be02e<<_0x3b7ccf|_0x4be02e>>>0x20-_0x3b7ccf)+_0x316e92;}function _0x38fbe6(_0x5346fe,_0x3b0727,_0x15cb03,_0x3415a7,_0x3ac657,_0x448d5b,_0x5e5a9c){var _0x5922bc=_0x5346fe+(_0x15cb03^(_0x3b0727|~_0x3415a7))+_0x3ac657+_0x5e5a9c;return(_0x5922bc<<_0x448d5b|_0x5922bc>>>0x20-_0x448d5b)+_0x3b0727;}_0x1a48ae['MD5']=_0xa79869[_0x3cfda6(0x2bf)](_0x123f99),_0x1a48ae[_0x3cfda6(0xfa)]=_0xa79869[_0x3cfda6(0x14f)](_0x123f99);}(Math),_0x46240c[_0x430576(0x366)];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge['exports'],Je;function Ni(){return Je||(Je=0x1,function(_0x450f1a,_0x35f156){(function(_0x4a7ecf,_0x4c3316){_0x450f1a['exports']=_0x4c3316(Z());}(Ri,function(_0x38c5cc){var _0x319a28=_0x9f6e;return(function(){var _0x1ffa9a=_0x9f6e,_0x5426a1=_0x38c5cc,_0x2714f1=_0x5426a1[_0x1ffa9a(0x386)],_0x2c142c=_0x2714f1['WordArray'],_0x1b0c49=_0x2714f1[_0x1ffa9a(0x27c)],_0x3fb47f=_0x5426a1[_0x1ffa9a(0x176)],_0x37c3ac=[],_0x2b0d3a=_0x3fb47f[_0x1ffa9a(0x155)]=_0x1b0c49[_0x1ffa9a(0x281)]({'_doReset':function(){var _0x5c93e5=_0x1ffa9a;this[_0x5c93e5(0x165)]=new _0x2c142c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x41b8c8,_0x29a564){var _0x9e0d29=_0x1ffa9a;for(var _0xe945ef=this[_0x9e0d29(0x165)][_0x9e0d29(0x1f1)],_0x437ccf=_0xe945ef[0x0],_0x3d4e6a=_0xe945ef[0x1],_0xde3e95=_0xe945ef[0x2],_0x404ab7=_0xe945ef[0x3],_0x4ca97d=_0xe945ef[0x4],_0xc189e1=0x0;_0xc189e1<0x50;_0xc189e1++){if(_0xc189e1<0x10)_0x37c3ac[_0xc189e1]=_0x41b8c8[_0x29a564+_0xc189e1]|0x0;else{var _0x29f5ca=_0x37c3ac[_0xc189e1-0x3]^_0x37c3ac[_0xc189e1-0x8]^_0x37c3ac[_0xc189e1-0xe]^_0x37c3ac[_0xc189e1-0x10];_0x37c3ac[_0xc189e1]=_0x29f5ca<<0x1|_0x29f5ca>>>0x1f;}var _0x38044c=(_0x437ccf<<0x5|_0x437ccf>>>0x1b)+_0x4ca97d+_0x37c3ac[_0xc189e1];_0xc189e1<0x14?_0x38044c+=(_0x3d4e6a&_0xde3e95|~_0x3d4e6a&_0x404ab7)+0x5a827999:_0xc189e1<0x28?_0x38044c+=(_0x3d4e6a^_0xde3e95^_0x404ab7)+0x6ed9eba1:_0xc189e1<0x3c?_0x38044c+=(_0x3d4e6a&_0xde3e95|_0x3d4e6a&_0x404ab7|_0xde3e95&_0x404ab7)-0x70e44324:_0x38044c+=(_0x3d4e6a^_0xde3e95^_0x404ab7)-0x359d3e2a,_0x4ca97d=_0x404ab7,_0x404ab7=_0xde3e95,_0xde3e95=_0x3d4e6a<<0x1e|_0x3d4e6a>>>0x2,_0x3d4e6a=_0x437ccf,_0x437ccf=_0x38044c;}_0xe945ef[0x0]=_0xe945ef[0x0]+_0x437ccf|0x0,_0xe945ef[0x1]=_0xe945ef[0x1]+_0x3d4e6a|0x0,_0xe945ef[0x2]=_0xe945ef[0x2]+_0xde3e95|0x0,_0xe945ef[0x3]=_0xe945ef[0x3]+_0x404ab7|0x0,_0xe945ef[0x4]=_0xe945ef[0x4]+_0x4ca97d|0x0;},'_doFinalize':function(){var _0x59ba48=_0x1ffa9a,_0x3ae27c=this[_0x59ba48(0x1d4)],_0x5966a6=_0x3ae27c['words'],_0x51562a=this['_nDataBytes']*0x8,_0x777d4f=_0x3ae27c[_0x59ba48(0x40e)]*0x8;return _0x5966a6[_0x777d4f>>>0x5]|=0x80<<0x18-_0x777d4f%0x20,_0x5966a6[(_0x777d4f+0x40>>>0x9<<0x4)+0xe]=Math[_0x59ba48(0x345)](_0x51562a/0x100000000),_0x5966a6[(_0x777d4f+0x40>>>0x9<<0x4)+0xf]=_0x51562a,_0x3ae27c[_0x59ba48(0x40e)]=_0x5966a6[_0x59ba48(0x189)]*0x4,this[_0x59ba48(0x261)](),this[_0x59ba48(0x165)];},'clone':function(){var _0x182324=_0x1ffa9a,_0x3ace2f=_0x1b0c49[_0x182324(0x182)][_0x182324(0x1c6)](this);return _0x3ace2f[_0x182324(0x165)]=this[_0x182324(0x165)][_0x182324(0x182)](),_0x3ace2f;}});_0x5426a1[_0x1ffa9a(0x155)]=_0x1b0c49[_0x1ffa9a(0x2bf)](_0x2b0d3a),_0x5426a1[_0x1ffa9a(0x265)]=_0x1b0c49[_0x1ffa9a(0x14f)](_0x2b0d3a);}()),_0x38c5cc[_0x319a28(0x155)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te[_0x4216d1(0x3ce)],Ze;function yi(){return Ze||(Ze=0x1,function(_0x5841df,_0x3156ed){(function(_0x5d2946,_0x54a676){var _0x4d4db7=_0x9f6e;_0x5841df[_0x4d4db7(0x3ce)]=_0x54a676(Z());}(Di,function(_0x4cd65b){(function(){var _0x31bb8c=_0x9f6e,_0x322846=_0x4cd65b,_0x5d12ba=_0x322846[_0x31bb8c(0x386)],_0x35eada=_0x5d12ba['Base'],_0x17d551=_0x322846[_0x31bb8c(0x18c)],_0x23f8e8=_0x17d551['Utf8'],_0x57411a=_0x322846[_0x31bb8c(0x176)];_0x57411a[_0x31bb8c(0x247)]=_0x35eada['extend']({'init':function(_0x4c2d8d,_0x514a39){var _0x117f9f=_0x31bb8c;_0x4c2d8d=this['_hasher']=new _0x4c2d8d[(_0x117f9f(0x416))](),typeof _0x514a39==_0x117f9f(0x2f8)&&(_0x514a39=_0x23f8e8[_0x117f9f(0x272)](_0x514a39));var _0xdd5ce2=_0x4c2d8d['blockSize'],_0x2dae5b=_0xdd5ce2*0x4;_0x514a39[_0x117f9f(0x40e)]>_0x2dae5b&&(_0x514a39=_0x4c2d8d['finalize'](_0x514a39)),_0x514a39[_0x117f9f(0x1f3)]();for(var _0x45acb0=this[_0x117f9f(0x1f0)]=_0x514a39[_0x117f9f(0x182)](),_0x18349e=this[_0x117f9f(0x407)]=_0x514a39[_0x117f9f(0x182)](),_0x2607fe=_0x45acb0['words'],_0x30cccb=_0x18349e[_0x117f9f(0x1f1)],_0x297eac=0x0;_0x297eac<_0xdd5ce2;_0x297eac++)_0x2607fe[_0x297eac]^=0x5c5c5c5c,_0x30cccb[_0x297eac]^=0x36363636;_0x45acb0[_0x117f9f(0x40e)]=_0x18349e[_0x117f9f(0x40e)]=_0x2dae5b,this[_0x117f9f(0x338)]();},'reset':function(){var _0x168d0f=_0x31bb8c,_0x329c91=this[_0x168d0f(0x115)];_0x329c91[_0x168d0f(0x338)](),_0x329c91[_0x168d0f(0x10b)](this['_iKey']);},'update':function(_0x47ccfa){var _0x308eec=_0x31bb8c;return this[_0x308eec(0x115)][_0x308eec(0x10b)](_0x47ccfa),this;},'finalize':function(_0x45a628){var _0x589c56=_0x31bb8c,_0x28465f=this[_0x589c56(0x115)],_0x506ef4=_0x28465f[_0x589c56(0x206)](_0x45a628);_0x28465f['reset']();var _0x3cb74a=_0x28465f['finalize'](this[_0x589c56(0x1f0)][_0x589c56(0x182)]()[_0x589c56(0xe4)](_0x506ef4));return _0x3cb74a;}});}());}));}(Te)),Te['exports'];}var Ui=me[_0x4216d1(0x3ce)],Qe;function Ct(){var _0x4fb582=_0x4216d1;return Qe||(Qe=0x1,function(_0x546303,_0x2d949d){(function(_0x1d8892,_0x4043d8,_0x3c985e){var _0x42292e=_0x9f6e;_0x546303[_0x42292e(0x3ce)]=_0x4043d8(Z(),Ni(),yi());}(Ui,function(_0x4286d2){var _0x604ced=_0x9f6e;return(function(){var _0xeefe33=_0x9f6e,_0xce4d5=_0x4286d2,_0x55be5a=_0xce4d5[_0xeefe33(0x386)],_0x298c72=_0x55be5a[_0xeefe33(0x256)],_0x485c6c=_0x55be5a[_0xeefe33(0xe2)],_0x1975d9=_0xce4d5[_0xeefe33(0x176)],_0x2482f0=_0x1975d9[_0xeefe33(0x366)],_0x7607ef=_0x1975d9[_0xeefe33(0x242)]=_0x298c72[_0xeefe33(0x281)]({'cfg':_0x298c72[_0xeefe33(0x281)]({'keySize':0x80/0x20,'hasher':_0x2482f0,'iterations':0x1}),'init':function(_0x512a17){var _0x46d8f9=_0xeefe33;this[_0x46d8f9(0x204)]=this[_0x46d8f9(0x204)]['extend'](_0x512a17);},'compute':function(_0x1ff294,_0x31163f){var _0x13279c=_0xeefe33;for(var _0x5ecaad,_0x34ecdd=this['cfg'],_0x5620d3=_0x34ecdd[_0x13279c(0x273)][_0x13279c(0x2c4)](),_0x47afc5=_0x485c6c['create'](),_0x259923=_0x47afc5[_0x13279c(0x1f1)],_0x3592ab=_0x34ecdd[_0x13279c(0x19f)],_0x50f806=_0x34ecdd[_0x13279c(0x1d3)];_0x259923[_0x13279c(0x189)]<_0x3592ab;){_0x5ecaad&&_0x5620d3[_0x13279c(0x10b)](_0x5ecaad),_0x5ecaad=_0x5620d3[_0x13279c(0x10b)](_0x1ff294)[_0x13279c(0x206)](_0x31163f),_0x5620d3[_0x13279c(0x338)]();for(var _0x4bb2d8=0x1;_0x4bb2d8<_0x50f806;_0x4bb2d8++)_0x5ecaad=_0x5620d3[_0x13279c(0x206)](_0x5ecaad),_0x5620d3[_0x13279c(0x338)]();_0x47afc5[_0x13279c(0xe4)](_0x5ecaad);}return _0x47afc5['sigBytes']=_0x3592ab*0x4,_0x47afc5;}});_0xce4d5[_0xeefe33(0x242)]=function(_0x29ba27,_0x451e41,_0x5eeac7){return _0x7607ef['create'](_0x5eeac7)['compute'](_0x29ba27,_0x451e41);};}()),_0x4286d2[_0x604ced(0x242)];}));}(me)),me[_0x4fb582(0x3ce)];}var Ce={'exports':{}},Ai=Ce[_0x4216d1(0x3ce)],et;function Ot(){var _0x18146c=_0x4216d1;return et||(et=0x1,function(_0x42638b,_0x55d6f0){(function(_0x34ec35,_0x2b13bd,_0x3843ab){var _0x57af1c=_0x9f6e;_0x42638b[_0x57af1c(0x3ce)]=_0x2b13bd(Z(),Ct());}(Ai,function(_0x8604e2){var _0x5a8c63=_0x9f6e;_0x8604e2['lib'][_0x5a8c63(0x105)]||function(_0x1aad02){var _0x5273a1=_0x5a8c63,_0x336836=_0x8604e2,_0x2302c2=_0x336836[_0x5273a1(0x386)],_0x46a7e1=_0x2302c2['Base'],_0x5274e1=_0x2302c2[_0x5273a1(0xe2)],_0x131a5c=_0x2302c2['BufferedBlockAlgorithm'],_0x5a196c=_0x336836['enc'];_0x5a196c[_0x5273a1(0x202)];var _0x1fbcaa=_0x5a196c['Base64'],_0x5bf1b1=_0x336836[_0x5273a1(0x176)],_0x4e9a33=_0x5bf1b1[_0x5273a1(0x242)],_0xf8acb8=_0x2302c2[_0x5273a1(0x105)]=_0x131a5c[_0x5273a1(0x281)]({'cfg':_0x46a7e1[_0x5273a1(0x281)](),'createEncryptor':function(_0x2b4ea9,_0x3bb26b){var _0xc895dc=_0x5273a1;return this['create'](this[_0xc895dc(0x3b1)],_0x2b4ea9,_0x3bb26b);},'createDecryptor':function(_0x52bc61,_0x32c78f){var _0x34bdf1=_0x5273a1;return this[_0x34bdf1(0x2c4)](this[_0x34bdf1(0x31c)],_0x52bc61,_0x32c78f);},'init':function(_0x27a5a1,_0xe5229d,_0x1f9619){var _0x4c3d60=_0x5273a1;this['cfg']=this[_0x4c3d60(0x204)][_0x4c3d60(0x281)](_0x1f9619),this[_0x4c3d60(0x3c4)]=_0x27a5a1,this[_0x4c3d60(0x3fe)]=_0xe5229d,this[_0x4c3d60(0x338)]();},'reset':function(){var _0x261ade=_0x5273a1;_0x131a5c[_0x261ade(0x338)]['call'](this),this[_0x261ade(0x36f)]();},'process':function(_0x104bbe){var _0x189cda=_0x5273a1;return this[_0x189cda(0x141)](_0x104bbe),this[_0x189cda(0x261)]();},'finalize':function(_0x5f29f4){var _0x14620e=_0x5273a1;_0x5f29f4&&this[_0x14620e(0x141)](_0x5f29f4);var _0x16a9ec=this[_0x14620e(0x298)]();return _0x16a9ec;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1abe90(_0x295120){var _0x35beaf=_0x9f6e;return typeof _0x295120==_0x35beaf(0x2f8)?_0x142a83:_0x40834a;}return function(_0x1d4edb){return{'encrypt':function(_0x467c6d,_0x18b337,_0x2cb026){var _0x41562b=_0x9f6e;return _0x1abe90(_0x18b337)[_0x41562b(0x3bb)](_0x1d4edb,_0x467c6d,_0x18b337,_0x2cb026);},'decrypt':function(_0x458fd6,_0x44ad8c,_0x707b36){var _0x354973=_0x9f6e;return _0x1abe90(_0x44ad8c)[_0x354973(0x209)](_0x1d4edb,_0x458fd6,_0x44ad8c,_0x707b36);}};};}())});_0x2302c2[_0x5273a1(0x287)]=_0xf8acb8[_0x5273a1(0x281)]({'_doFinalize':function(){var _0x1620af=_0x5273a1,_0x3d37bb=this[_0x1620af(0x261)](!0x0);return _0x3d37bb;},'blockSize':0x1});var _0xa9c1d6=_0x336836[_0x5273a1(0xc0)]={},_0x1be0d0=_0x2302c2[_0x5273a1(0x36d)]=_0x46a7e1[_0x5273a1(0x281)]({'createEncryptor':function(_0x292da5,_0xf5212e){var _0x32176a=_0x5273a1;return this[_0x32176a(0x38f)][_0x32176a(0x2c4)](_0x292da5,_0xf5212e);},'createDecryptor':function(_0x1cf1af,_0x801a1b){var _0x493478=_0x5273a1;return this[_0x493478(0x328)]['create'](_0x1cf1af,_0x801a1b);},'init':function(_0x3bc574,_0x4aaf39){var _0x67b525=_0x5273a1;this[_0x67b525(0x263)]=_0x3bc574,this[_0x67b525(0x142)]=_0x4aaf39;}}),_0x1b394a=_0xa9c1d6[_0x5273a1(0x34f)]=(function(){var _0x232c10=_0x5273a1,_0x1fee7e=_0x1be0d0['extend']();_0x1fee7e[_0x232c10(0x38f)]=_0x1fee7e[_0x232c10(0x281)]({'processBlock':function(_0x369b89,_0x11d672){var _0x4fa088=_0x232c10,_0x3c22f9=this[_0x4fa088(0x263)],_0x546fd3=_0x3c22f9['blockSize'];_0x3afd10[_0x4fa088(0x1c6)](this,_0x369b89,_0x11d672,_0x546fd3),_0x3c22f9[_0x4fa088(0x3a4)](_0x369b89,_0x11d672),this['_prevBlock']=_0x369b89[_0x4fa088(0x1e1)](_0x11d672,_0x11d672+_0x546fd3);}}),_0x1fee7e[_0x232c10(0x328)]=_0x1fee7e[_0x232c10(0x281)]({'processBlock':function(_0x3c1f41,_0x4a9ea6){var _0x41b9e1=_0x232c10,_0x2257e8=this[_0x41b9e1(0x263)],_0x305447=_0x2257e8['blockSize'],_0x258741=_0x3c1f41[_0x41b9e1(0x1e1)](_0x4a9ea6,_0x4a9ea6+_0x305447);_0x2257e8[_0x41b9e1(0xae)](_0x3c1f41,_0x4a9ea6),_0x3afd10[_0x41b9e1(0x1c6)](this,_0x3c1f41,_0x4a9ea6,_0x305447),this[_0x41b9e1(0x221)]=_0x258741;}});function _0x3afd10(_0x2abc78,_0x1ce02f,_0xe30cc9){var _0x1bccbe=_0x232c10,_0x557517,_0x56ab49=this[_0x1bccbe(0x142)];_0x56ab49?(_0x557517=_0x56ab49,this['_iv']=_0x1aad02):_0x557517=this[_0x1bccbe(0x221)];for(var _0xc9ba6e=0x0;_0xc9ba6e<_0xe30cc9;_0xc9ba6e++)_0x2abc78[_0x1ce02f+_0xc9ba6e]^=_0x557517[_0xc9ba6e];}return _0x1fee7e;}()),_0x1d15f8=_0x336836['pad']={},_0x1498d3=_0x1d15f8[_0x5273a1(0x1b6)]={'pad':function(_0x3ba5c2,_0x224f47){var _0x76f2bc=_0x5273a1;for(var _0x36a0d9=_0x224f47*0x4,_0x17f774=_0x36a0d9-_0x3ba5c2[_0x76f2bc(0x40e)]%_0x36a0d9,_0x3ead46=_0x17f774<<0x18|_0x17f774<<0x10|_0x17f774<<0x8|_0x17f774,_0x227b60=[],_0x5b0e48=0x0;_0x5b0e48<_0x17f774;_0x5b0e48+=0x4)_0x227b60[_0x76f2bc(0x188)](_0x3ead46);var _0x398330=_0x5274e1[_0x76f2bc(0x2c4)](_0x227b60,_0x17f774);_0x3ba5c2[_0x76f2bc(0xe4)](_0x398330);},'unpad':function(_0x3132ab){var _0x167da3=_0x5273a1,_0x428d55=_0x3132ab['words'][_0x3132ab[_0x167da3(0x40e)]-0x1>>>0x2]&0xff;_0x3132ab['sigBytes']-=_0x428d55;}};_0x2302c2['BlockCipher']=_0xf8acb8[_0x5273a1(0x281)]({'cfg':_0xf8acb8[_0x5273a1(0x204)]['extend']({'mode':_0x1b394a,'padding':_0x1498d3}),'reset':function(){var _0x323978=_0x5273a1,_0x26920e;_0xf8acb8[_0x323978(0x338)][_0x323978(0x1c6)](this);var _0xb5be81=this[_0x323978(0x204)],_0x37476f=_0xb5be81['iv'],_0x106cfa=_0xb5be81[_0x323978(0xc0)];this[_0x323978(0x3c4)]==this['_ENC_XFORM_MODE']?_0x26920e=_0x106cfa['createEncryptor']:(_0x26920e=_0x106cfa['createDecryptor'],this[_0x323978(0xbe)]=0x1),this[_0x323978(0x196)]&&this[_0x323978(0x196)][_0x323978(0x7e)]==_0x26920e?this['_mode']['init'](this,_0x37476f&&_0x37476f[_0x323978(0x1f1)]):(this['_mode']=_0x26920e[_0x323978(0x1c6)](_0x106cfa,this,_0x37476f&&_0x37476f['words']),this['_mode']['__creator']=_0x26920e);},'_doProcessBlock':function(_0xc61906,_0x41963f){var _0x39fa40=_0x5273a1;this[_0x39fa40(0x196)][_0x39fa40(0x39e)](_0xc61906,_0x41963f);},'_doFinalize':function(){var _0x3eb89f=_0x5273a1,_0x3af4e8,_0x7fd758=this[_0x3eb89f(0x204)][_0x3eb89f(0x29c)];return this[_0x3eb89f(0x3c4)]==this[_0x3eb89f(0x3b1)]?(_0x7fd758['pad'](this['_data'],this[_0x3eb89f(0xb0)]),_0x3af4e8=this[_0x3eb89f(0x261)](!0x0)):(_0x3af4e8=this[_0x3eb89f(0x261)](!0x0),_0x7fd758['unpad'](_0x3af4e8)),_0x3af4e8;},'blockSize':0x80/0x20});var _0x46745a=_0x2302c2[_0x5273a1(0x3e9)]=_0x46a7e1[_0x5273a1(0x281)]({'init':function(_0x3a1a2b){var _0x2ba49e=_0x5273a1;this[_0x2ba49e(0x394)](_0x3a1a2b);},'toString':function(_0x38fbea){var _0xe3166d=_0x5273a1;return(_0x38fbea||this[_0xe3166d(0x252)])[_0xe3166d(0x25d)](this);}}),_0x30b0db=_0x336836[_0x5273a1(0x2d0)]={},_0x343931=_0x30b0db['OpenSSL']={'stringify':function(_0x4de509){var _0x3fd72d=_0x5273a1,_0x3d3e4a,_0x11cc02=_0x4de509[_0x3fd72d(0x1fb)],_0x1b77ba=_0x4de509[_0x3fd72d(0x39c)];return _0x1b77ba?_0x3d3e4a=_0x5274e1[_0x3fd72d(0x2c4)]([0x53616c74,0x65645f5f])[_0x3fd72d(0xe4)](_0x1b77ba)[_0x3fd72d(0xe4)](_0x11cc02):_0x3d3e4a=_0x11cc02,_0x3d3e4a['toString'](_0x1fbcaa);},'parse':function(_0xbacf6e){var _0x363495=_0x5273a1,_0x2860cf,_0x1cac72=_0x1fbcaa[_0x363495(0x272)](_0xbacf6e),_0x3bce08=_0x1cac72[_0x363495(0x1f1)];return _0x3bce08[0x0]==0x53616c74&&_0x3bce08[0x1]==0x65645f5f&&(_0x2860cf=_0x5274e1[_0x363495(0x2c4)](_0x3bce08[_0x363495(0x1e1)](0x2,0x4)),_0x3bce08[_0x363495(0x381)](0x0,0x4),_0x1cac72['sigBytes']-=0x10),_0x46745a[_0x363495(0x2c4)]({'ciphertext':_0x1cac72,'salt':_0x2860cf});}},_0x40834a=_0x2302c2[_0x5273a1(0x39a)]=_0x46a7e1['extend']({'cfg':_0x46a7e1[_0x5273a1(0x281)]({'format':_0x343931}),'encrypt':function(_0x2abfbd,_0x4a867c,_0x1966cf,_0x48f3fc){var _0x1dc6d0=_0x5273a1;_0x48f3fc=this[_0x1dc6d0(0x204)][_0x1dc6d0(0x281)](_0x48f3fc);var _0x352306=_0x2abfbd[_0x1dc6d0(0x3d6)](_0x1966cf,_0x48f3fc),_0xa4e2e=_0x352306[_0x1dc6d0(0x206)](_0x4a867c),_0x5d5d95=_0x352306[_0x1dc6d0(0x204)];return _0x46745a[_0x1dc6d0(0x2c4)]({'ciphertext':_0xa4e2e,'key':_0x1966cf,'iv':_0x5d5d95['iv'],'algorithm':_0x2abfbd,'mode':_0x5d5d95[_0x1dc6d0(0xc0)],'padding':_0x5d5d95[_0x1dc6d0(0x29c)],'blockSize':_0x2abfbd[_0x1dc6d0(0xb0)],'formatter':_0x48f3fc[_0x1dc6d0(0x2d0)]});},'decrypt':function(_0x5d3038,_0x145313,_0x34c632,_0x50fabe){var _0xfdae51=_0x5273a1;_0x50fabe=this[_0xfdae51(0x204)][_0xfdae51(0x281)](_0x50fabe),_0x145313=this[_0xfdae51(0x2a9)](_0x145313,_0x50fabe[_0xfdae51(0x2d0)]);var _0x34b1a1=_0x5d3038['createDecryptor'](_0x34c632,_0x50fabe)[_0xfdae51(0x206)](_0x145313['ciphertext']);return _0x34b1a1;},'_parse':function(_0x5b9d05,_0x435938){var _0x501515=_0x5273a1;return typeof _0x5b9d05==_0x501515(0x2f8)?_0x435938[_0x501515(0x272)](_0x5b9d05,this):_0x5b9d05;}}),_0x2a27c2=_0x336836['kdf']={},_0x29bb88=_0x2a27c2[_0x5273a1(0x3e3)]={'execute':function(_0x2aecb0,_0xcfe506,_0x32aff1,_0x3009b1,_0x1f941a){var _0x86ab25=_0x5273a1;if(_0x3009b1||(_0x3009b1=_0x5274e1[_0x86ab25(0x2f6)](0x40/0x8)),_0x1f941a)var _0xc25c06=_0x4e9a33[_0x86ab25(0x2c4)]({'keySize':_0xcfe506+_0x32aff1,'hasher':_0x1f941a})[_0x86ab25(0x312)](_0x2aecb0,_0x3009b1);else var _0xc25c06=_0x4e9a33[_0x86ab25(0x2c4)]({'keySize':_0xcfe506+_0x32aff1})[_0x86ab25(0x312)](_0x2aecb0,_0x3009b1);var _0x29be9f=_0x5274e1['create'](_0xc25c06[_0x86ab25(0x1f1)]['slice'](_0xcfe506),_0x32aff1*0x4);return _0xc25c06['sigBytes']=_0xcfe506*0x4,_0x46745a['create']({'key':_0xc25c06,'iv':_0x29be9f,'salt':_0x3009b1});}},_0x142a83=_0x2302c2[_0x5273a1(0x2a0)]=_0x40834a['extend']({'cfg':_0x40834a[_0x5273a1(0x204)][_0x5273a1(0x281)]({'kdf':_0x29bb88}),'encrypt':function(_0x2149a9,_0x2a5fce,_0x20d9da,_0x1b905b){var _0x5d8f07=_0x5273a1;_0x1b905b=this['cfg']['extend'](_0x1b905b);var _0x20efbd=_0x1b905b['kdf']['execute'](_0x20d9da,_0x2149a9[_0x5d8f07(0x19f)],_0x2149a9[_0x5d8f07(0x1ad)],_0x1b905b['salt'],_0x1b905b['hasher']);_0x1b905b['iv']=_0x20efbd['iv'];var _0x590526=_0x40834a[_0x5d8f07(0x3bb)][_0x5d8f07(0x1c6)](this,_0x2149a9,_0x2a5fce,_0x20efbd[_0x5d8f07(0x29f)],_0x1b905b);return _0x590526[_0x5d8f07(0x394)](_0x20efbd),_0x590526;},'decrypt':function(_0x3b78db,_0x51334a,_0xe22bc6,_0x5835f9){var _0x59d00d=_0x5273a1;_0x5835f9=this[_0x59d00d(0x204)][_0x59d00d(0x281)](_0x5835f9),_0x51334a=this[_0x59d00d(0x2a9)](_0x51334a,_0x5835f9['format']);var _0x433c96=_0x5835f9['kdf']['execute'](_0xe22bc6,_0x3b78db[_0x59d00d(0x19f)],_0x3b78db['ivSize'],_0x51334a[_0x59d00d(0x39c)],_0x5835f9[_0x59d00d(0x273)]);_0x5835f9['iv']=_0x433c96['iv'];var _0x32031c=_0x40834a[_0x59d00d(0x209)]['call'](this,_0x3b78db,_0x51334a,_0x433c96[_0x59d00d(0x29f)],_0x5835f9);return _0x32031c;}});}();}));}(Ce)),Ce[_0x18146c(0x3ce)];}var Pi=Ie[_0x4216d1(0x3ce)],tt;function Li(){var _0x67045f=_0x4216d1;return tt||(tt=0x1,function(_0x9c4c08,_0x233441){(function(_0x52e531,_0x2f13f1,_0x3c4122){var _0x157da9=_0x9f6e;_0x9c4c08[_0x157da9(0x3ce)]=_0x2f13f1(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0xfaf379){return(function(){var _0x34121d=_0x9f6e,_0x4944e1=_0xfaf379,_0x51befc=_0x4944e1[_0x34121d(0x386)],_0x293f99=_0x51befc[_0x34121d(0x250)],_0x58447e=_0x4944e1['algo'],_0x1f2943=[],_0x506948=[],_0x1804d3=[],_0x4122fc=[],_0x5fcf8b=[],_0x5e5b81=[],_0x27acbf=[],_0x548a2d=[],_0x112ea2=[],_0x402400=[];(function(){for(var _0x4e3c3c=[],_0x196b9f=0x0;_0x196b9f<0x100;_0x196b9f++)_0x196b9f<0x80?_0x4e3c3c[_0x196b9f]=_0x196b9f<<0x1:_0x4e3c3c[_0x196b9f]=_0x196b9f<<0x1^0x11b;for(var _0x200700=0x0,_0x46492d=0x0,_0x196b9f=0x0;_0x196b9f<0x100;_0x196b9f++){var _0x325b51=_0x46492d^_0x46492d<<0x1^_0x46492d<<0x2^_0x46492d<<0x3^_0x46492d<<0x4;_0x325b51=_0x325b51>>>0x8^_0x325b51&0xff^0x63,_0x1f2943[_0x200700]=_0x325b51,_0x506948[_0x325b51]=_0x200700;var _0x253e23=_0x4e3c3c[_0x200700],_0x4ec2e6=_0x4e3c3c[_0x253e23],_0x440dc5=_0x4e3c3c[_0x4ec2e6],_0x3d4590=_0x4e3c3c[_0x325b51]*0x101^_0x325b51*0x1010100;_0x1804d3[_0x200700]=_0x3d4590<<0x18|_0x3d4590>>>0x8,_0x4122fc[_0x200700]=_0x3d4590<<0x10|_0x3d4590>>>0x10,_0x5fcf8b[_0x200700]=_0x3d4590<<0x8|_0x3d4590>>>0x18,_0x5e5b81[_0x200700]=_0x3d4590;var _0x3d4590=_0x440dc5*0x1010101^_0x4ec2e6*0x10001^_0x253e23*0x101^_0x200700*0x1010100;_0x27acbf[_0x325b51]=_0x3d4590<<0x18|_0x3d4590>>>0x8,_0x548a2d[_0x325b51]=_0x3d4590<<0x10|_0x3d4590>>>0x10,_0x112ea2[_0x325b51]=_0x3d4590<<0x8|_0x3d4590>>>0x18,_0x402400[_0x325b51]=_0x3d4590,_0x200700?(_0x200700=_0x253e23^_0x4e3c3c[_0x4e3c3c[_0x4e3c3c[_0x440dc5^_0x253e23]]],_0x46492d^=_0x4e3c3c[_0x4e3c3c[_0x46492d]]):_0x200700=_0x46492d=0x1;}}());var _0x2fb98e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3475ae=_0x58447e['AES']=_0x293f99[_0x34121d(0x281)]({'_doReset':function(){var _0x5866d8=_0x34121d,_0x3de1a7;if(!(this[_0x5866d8(0x406)]&&this['_keyPriorReset']===this[_0x5866d8(0x3fe)])){for(var _0x1f93d1=this['_keyPriorReset']=this[_0x5866d8(0x3fe)],_0x50ff19=_0x1f93d1['words'],_0x235682=_0x1f93d1[_0x5866d8(0x40e)]/0x4,_0x193114=this['_nRounds']=_0x235682+0x6,_0x29888d=(_0x193114+0x1)*0x4,_0x250430=this[_0x5866d8(0x35a)]=[],_0x3e4ca8=0x0;_0x3e4ca8<_0x29888d;_0x3e4ca8++)_0x3e4ca8<_0x235682?_0x250430[_0x3e4ca8]=_0x50ff19[_0x3e4ca8]:(_0x3de1a7=_0x250430[_0x3e4ca8-0x1],_0x3e4ca8%_0x235682?_0x235682>0x6&&_0x3e4ca8%_0x235682==0x4&&(_0x3de1a7=_0x1f2943[_0x3de1a7>>>0x18]<<0x18|_0x1f2943[_0x3de1a7>>>0x10&0xff]<<0x10|_0x1f2943[_0x3de1a7>>>0x8&0xff]<<0x8|_0x1f2943[_0x3de1a7&0xff]):(_0x3de1a7=_0x3de1a7<<0x8|_0x3de1a7>>>0x18,_0x3de1a7=_0x1f2943[_0x3de1a7>>>0x18]<<0x18|_0x1f2943[_0x3de1a7>>>0x10&0xff]<<0x10|_0x1f2943[_0x3de1a7>>>0x8&0xff]<<0x8|_0x1f2943[_0x3de1a7&0xff],_0x3de1a7^=_0x2fb98e[_0x3e4ca8/_0x235682|0x0]<<0x18),_0x250430[_0x3e4ca8]=_0x250430[_0x3e4ca8-_0x235682]^_0x3de1a7);for(var _0x7b914b=this[_0x5866d8(0x255)]=[],_0x318b6f=0x0;_0x318b6f<_0x29888d;_0x318b6f++){var _0x3e4ca8=_0x29888d-_0x318b6f;if(_0x318b6f%0x4)var _0x3de1a7=_0x250430[_0x3e4ca8];else var _0x3de1a7=_0x250430[_0x3e4ca8-0x4];_0x318b6f<0x4||_0x3e4ca8<=0x4?_0x7b914b[_0x318b6f]=_0x3de1a7:_0x7b914b[_0x318b6f]=_0x27acbf[_0x1f2943[_0x3de1a7>>>0x18]]^_0x548a2d[_0x1f2943[_0x3de1a7>>>0x10&0xff]]^_0x112ea2[_0x1f2943[_0x3de1a7>>>0x8&0xff]]^_0x402400[_0x1f2943[_0x3de1a7&0xff]];}}},'encryptBlock':function(_0x1b8c56,_0x3ad6ca){var _0x3fd6ce=_0x34121d;this['_doCryptBlock'](_0x1b8c56,_0x3ad6ca,this[_0x3fd6ce(0x35a)],_0x1804d3,_0x4122fc,_0x5fcf8b,_0x5e5b81,_0x1f2943);},'decryptBlock':function(_0x14d578,_0x32ecf5){var _0x1c9bcd=_0x34121d,_0x421068=_0x14d578[_0x32ecf5+0x1];_0x14d578[_0x32ecf5+0x1]=_0x14d578[_0x32ecf5+0x3],_0x14d578[_0x32ecf5+0x3]=_0x421068,this['_doCryptBlock'](_0x14d578,_0x32ecf5,this[_0x1c9bcd(0x255)],_0x27acbf,_0x548a2d,_0x112ea2,_0x402400,_0x506948);var _0x421068=_0x14d578[_0x32ecf5+0x1];_0x14d578[_0x32ecf5+0x1]=_0x14d578[_0x32ecf5+0x3],_0x14d578[_0x32ecf5+0x3]=_0x421068;},'_doCryptBlock':function(_0x3cc113,_0x3936c0,_0x5b4037,_0x4e5a50,_0x150e7e,_0x335e17,_0x2ad85a,_0x42dcd3){var _0x3f95de=_0x34121d;for(var _0x15ebe5=this[_0x3f95de(0x406)],_0x4845dc=_0x3cc113[_0x3936c0]^_0x5b4037[0x0],_0x298c14=_0x3cc113[_0x3936c0+0x1]^_0x5b4037[0x1],_0x25206f=_0x3cc113[_0x3936c0+0x2]^_0x5b4037[0x2],_0x238956=_0x3cc113[_0x3936c0+0x3]^_0x5b4037[0x3],_0x54ac9e=0x4,_0x461da8=0x1;_0x461da8<_0x15ebe5;_0x461da8++){var _0x5319c8=_0x4e5a50[_0x4845dc>>>0x18]^_0x150e7e[_0x298c14>>>0x10&0xff]^_0x335e17[_0x25206f>>>0x8&0xff]^_0x2ad85a[_0x238956&0xff]^_0x5b4037[_0x54ac9e++],_0x3626c7=_0x4e5a50[_0x298c14>>>0x18]^_0x150e7e[_0x25206f>>>0x10&0xff]^_0x335e17[_0x238956>>>0x8&0xff]^_0x2ad85a[_0x4845dc&0xff]^_0x5b4037[_0x54ac9e++],_0x9ba1c5=_0x4e5a50[_0x25206f>>>0x18]^_0x150e7e[_0x238956>>>0x10&0xff]^_0x335e17[_0x4845dc>>>0x8&0xff]^_0x2ad85a[_0x298c14&0xff]^_0x5b4037[_0x54ac9e++],_0x15f4aa=_0x4e5a50[_0x238956>>>0x18]^_0x150e7e[_0x4845dc>>>0x10&0xff]^_0x335e17[_0x298c14>>>0x8&0xff]^_0x2ad85a[_0x25206f&0xff]^_0x5b4037[_0x54ac9e++];_0x4845dc=_0x5319c8,_0x298c14=_0x3626c7,_0x25206f=_0x9ba1c5,_0x238956=_0x15f4aa;}var _0x5319c8=(_0x42dcd3[_0x4845dc>>>0x18]<<0x18|_0x42dcd3[_0x298c14>>>0x10&0xff]<<0x10|_0x42dcd3[_0x25206f>>>0x8&0xff]<<0x8|_0x42dcd3[_0x238956&0xff])^_0x5b4037[_0x54ac9e++],_0x3626c7=(_0x42dcd3[_0x298c14>>>0x18]<<0x18|_0x42dcd3[_0x25206f>>>0x10&0xff]<<0x10|_0x42dcd3[_0x238956>>>0x8&0xff]<<0x8|_0x42dcd3[_0x4845dc&0xff])^_0x5b4037[_0x54ac9e++],_0x9ba1c5=(_0x42dcd3[_0x25206f>>>0x18]<<0x18|_0x42dcd3[_0x238956>>>0x10&0xff]<<0x10|_0x42dcd3[_0x4845dc>>>0x8&0xff]<<0x8|_0x42dcd3[_0x298c14&0xff])^_0x5b4037[_0x54ac9e++],_0x15f4aa=(_0x42dcd3[_0x238956>>>0x18]<<0x18|_0x42dcd3[_0x4845dc>>>0x10&0xff]<<0x10|_0x42dcd3[_0x298c14>>>0x8&0xff]<<0x8|_0x42dcd3[_0x25206f&0xff])^_0x5b4037[_0x54ac9e++];_0x3cc113[_0x3936c0]=_0x5319c8,_0x3cc113[_0x3936c0+0x1]=_0x3626c7,_0x3cc113[_0x3936c0+0x2]=_0x9ba1c5,_0x3cc113[_0x3936c0+0x3]=_0x15f4aa;},'keySize':0x100/0x20});_0x4944e1[_0x34121d(0x12d)]=_0x293f99[_0x34121d(0x2bf)](_0x3475ae);}()),_0xfaf379['AES'];}));}(Ie)),Ie[_0x67045f(0x3ce)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x4216d1(0x3ce)],nt;function $i(){return nt||(nt=0x1,function(_0x4dce09,_0x3fbd90){(function(_0x302957,_0x4ea194){var _0x5d3d4e=_0x9f6e;_0x4dce09[_0x5d3d4e(0x3ce)]=_0x4ea194(Z());}(ki,function(_0x6956b5){var _0x6684=_0x9f6e;return _0x6956b5[_0x6684(0x18c)][_0x6684(0x202)];}));}(Oe)),Oe['exports'];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x4216d1(0x3ce)],st;function Fi(){var _0x359749=_0x4216d1;return st||(st=0x1,function(_0x47ab10,_0x1a0a79){(function(_0x5de8ae,_0x5a0a32){_0x47ab10['exports']=_0x5a0a32(Z());}(Bi,function(_0x58e3cd){var _0x56d37e=_0x9f6e;return(function(){var _0x6a3e53=_0x9f6e;if(typeof ArrayBuffer==_0x6a3e53(0x38b)){var _0x568add=_0x58e3cd,_0x7d40f6=_0x568add[_0x6a3e53(0x386)],_0x21cc6f=_0x7d40f6[_0x6a3e53(0xe2)],_0x48b154=_0x21cc6f[_0x6a3e53(0x416)],_0x1b6760=_0x21cc6f[_0x6a3e53(0x416)]=function(_0x2e97a1){var _0x31eb57=_0x6a3e53;if(_0x2e97a1 instanceof ArrayBuffer&&(_0x2e97a1=new Uint8Array(_0x2e97a1)),(_0x2e97a1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2e97a1 instanceof Uint8ClampedArray||_0x2e97a1 instanceof Int16Array||_0x2e97a1 instanceof Uint16Array||_0x2e97a1 instanceof Int32Array||_0x2e97a1 instanceof Uint32Array||_0x2e97a1 instanceof Float32Array||_0x2e97a1 instanceof Float64Array)&&(_0x2e97a1=new Uint8Array(_0x2e97a1[_0x31eb57(0x3ed)],_0x2e97a1[_0x31eb57(0x38d)],_0x2e97a1['byteLength'])),_0x2e97a1 instanceof Uint8Array){for(var _0x4cdbba=_0x2e97a1[_0x31eb57(0x251)],_0x380cf0=[],_0x431931=0x0;_0x431931<_0x4cdbba;_0x431931++)_0x380cf0[_0x431931>>>0x2]|=_0x2e97a1[_0x431931]<<0x18-_0x431931%0x4*0x8;_0x48b154[_0x31eb57(0x1c6)](this,_0x380cf0,_0x4cdbba);}else _0x48b154[_0x31eb57(0x233)](this,arguments);};_0x1b6760['prototype']=_0x21cc6f;}}()),_0x58e3cd[_0x56d37e(0x386)]['WordArray'];}));}(be)),be[_0x359749(0x3ce)];}function _0x9f6e(_0x15df64,_0x13c1ff){_0x15df64=_0x15df64-0x7c;var _0x5ef465=_0x5ef4();var _0x9f6e0e=_0x5ef465[_0x15df64];return _0x9f6e0e;}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x4216d1(0x3ce)],rt;function Yi(){var _0x37ac5a=_0x4216d1;return rt||(rt=0x1,function(_0x2c1ef1,_0x1b7b6e){(function(_0x27f9f1,_0x4e25a2,_0x2c0159){var _0x58a34e=_0x9f6e;_0x2c1ef1[_0x58a34e(0x3ce)]=_0x4e25a2(Z(),Ot());}(Gi,function(_0x3a4473){var _0x32bb08=_0x9f6e;return _0x3a4473[_0x32bb08(0xbc)][_0x32bb08(0xa2)]={'pad':function(){},'unpad':function(){}},_0x3a4473['pad'][_0x32bb08(0xa2)];}));}(Re)),Re[_0x37ac5a(0x3ce)];}var Ki=Yi();const qi=de(Ki);function zi(_0x1aee16,_0x57d615){var _0x1a8f52=_0x4216d1;const _0x5d1ed2=_0x57d615-_0x1aee16[_0x1a8f52(0x189)]%_0x57d615,_0x12bdc4=String[_0x1a8f52(0x258)](_0x5d1ed2)[_0x1a8f52(0x246)](_0x5d1ed2);return _0x1aee16+_0x12bdc4;}function Xi(_0x6117b8,_0x5d8010){var _0x358bb4=_0x4216d1;const _0x35a5b6=Wi['random'](0x10),_0x559d5c=zi(_0x6117b8,0x10),_0x110620=wi[_0x358bb4(0x3bb)](ji[_0x358bb4(0x272)](_0x559d5c),it[_0x358bb4(0x272)](_0x5d8010),{'iv':_0x35a5b6,'padding':qi});return _0x35a5b6['concat'](_0x110620['ciphertext'])[_0x358bb4(0x365)](it);}function Ji(){var _0x4f5679=_0x4216d1;const _0x24caab=Dt[_0x4f5679(0x2fa)]()['__Key__'];if(typeof window<'u'&&typeof window[_0x4f5679(0x35b)]<'u'&&_0x24caab){const _0x11efa6={'time':Math[_0x4f5679(0x345)](Date[_0x4f5679(0x22d)]()/0x3e8),'domain':location[_0x4f5679(0x1e8)]};return Xi(JSON[_0x4f5679(0x25d)](_0x11efa6),_0x24caab);}}var Zi=Object[_0x4216d1(0x367)],Qi=(_0x5aeba4,_0x3fec15,_0xad3d7e,_0xc46fdc)=>{for(var _0x4d4fd4=_0xc46fdc>0x1?void 0x0:_0xc46fdc?Zi(_0x3fec15,_0xad3d7e):_0x3fec15,_0xb48c75=_0x5aeba4['length']-0x1,_0x1aa663;_0xb48c75>=0x0;_0xb48c75--)(_0x1aa663=_0x5aeba4[_0xb48c75])&&(_0x4d4fd4=_0x1aa663(_0x4d4fd4)||_0x4d4fd4);return _0x4d4fd4;},en=(_0x7577bc,_0x215f9f)=>(_0x4bc1f5,_0x4be380)=>_0x215f9f(_0x4bc1f5,_0x4be380,_0x7577bc);let De=class{constructor(_0x1c322a){var _0x54c4d2=_0x4216d1;this[_0x54c4d2(0x108)]=_0x1c322a,this[_0x54c4d2(0x259)]();}[_0x4216d1(0x259)](){var _0x48b122=_0x4216d1;this[_0x48b122(0x108)]['registerHTTPInterceptor']({'interceptor':(_0x2a4c4b,_0x44ef96)=>{var _0x848c79=_0x48b122;const _0x1ea45b=_0x2a4c4b['headers'],_0x54e7ec=Ji();return _0x54e7ec&&_0x1ea45b['set'](_0x848c79(0x2df),_0x54e7ec),_0x44ef96(_0x2a4c4b);}});}};De=Qi([en(0x0,o[_0x4216d1(0x3cb)](K['HTTPService']))],De);var tn=Object[_0x4216d1(0x367)],nn=(_0xce513,_0x4111ba,_0x590124,_0x366f2a)=>{var _0x3c468f=_0x4216d1;for(var _0x4414ac=_0x366f2a>0x1?void 0x0:_0x366f2a?tn(_0x4111ba,_0x590124):_0x4111ba,_0x48a770=_0xce513[_0x3c468f(0x189)]-0x1,_0x29a995;_0x48a770>=0x0;_0x48a770--)(_0x29a995=_0xce513[_0x48a770])&&(_0x4414ac=_0x29a995(_0x4414ac)||_0x4414ac);return _0x4414ac;},Le=(_0x2f20dc,_0x47aad3)=>(_0x2a5dbf,_0x5efdeb)=>_0x47aad3(_0x2a5dbf,_0x5efdeb,_0x2f20dc);exports[_0x4216d1(0x414)]=class extends o['RxDisposable']{constructor(_0x362bef,_0x3fb547,_0x1e25d3){var _0x5d04b0=_0x4216d1;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,_0x5d04b0(0x319),this[_0x5d04b0(0x29b)][_0x5d04b0(0xf4)]()),(this[_0x5d04b0(0x403)]=_0x362bef,this[_0x5d04b0(0x29a)]=_0x3fb547,this[_0x5d04b0(0x336)]=_0x1e25d3);}async['loadUnitOfRevision'](_0x15ce3e,_0x166345,_0x9f847){var _0x53f47d=_0x4216d1;this[_0x53f47d(0x29b)][_0x53f47d(0x219)]({'unitId':_0x15ce3e,'type':_0x166345});let _0x30dbe1=null;switch(_0x166345){case X[_0x53f47d(0xb3)]:{_0x30dbe1=await this[_0x53f47d(0x29a)][_0x53f47d(0x384)](_0x15ce3e,_0x9f847);break;}case X[_0x53f47d(0x27d)]:{_0x30dbe1=await this[_0x53f47d(0x29a)][_0x53f47d(0x3af)](_0x15ce3e,_0x9f847);break;}default:{this[_0x53f47d(0x403)][_0x53f47d(0x378)](_0x53f47d(0x181),_0x53f47d(0x15c));break;}}return _0x30dbe1;}async['loadUnit'](_0x146aaa,_0x44c722,_0x3b9b83){var _0x558f37=_0x4216d1,_0x5e814b;this[_0x558f37(0x29b)]['next']({'unitId':_0x146aaa,'type':_0x44c722,'subUnitId':_0x3b9b83});let _0x377898=0x0;const _0x456492=await((_0x5e814b=this[_0x558f37(0x336)])==null?void 0x0:_0x5e814b['loadOfflineData'](_0x146aaa));return _0x456492&&(_0x456492[_0x558f37(0x2de)]||_0x456492['mutations'][_0x558f37(0x189)]!==0x0)&&(_0x377898=_0x456492[_0x558f37(0x24b)]),_0x377898===0x0&&this['_logService'][_0x558f37(0x2b5)](_0x558f37(0x181),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x558f37(0x3ac)](_0x146aaa,_0x44c722,_0x377898);}},exports[_0x4216d1(0x414)]=nn([Le(0x0,o[_0x4216d1(0x23a)]),Le(0x1,o[_0x4216d1(0x3cb)](E[_0x4216d1(0x20a)])),Le(0x2,o[_0x4216d1(0x179)](q))],exports[_0x4216d1(0x414)]);var sn=Object['getOwnPropertyDescriptor'],rn=(_0x46f5ee,_0x4cacb2,_0xe5275e,_0x1c8a9f)=>{for(var _0x5c53a1=_0x1c8a9f>0x1?void 0x0:_0x1c8a9f?sn(_0x4cacb2,_0xe5275e):_0x4cacb2,_0x44736b=_0x46f5ee['length']-0x1,_0x55b009;_0x44736b>=0x0;_0x44736b--)(_0x55b009=_0x46f5ee[_0x44736b])&&(_0x5c53a1=_0x55b009(_0x5c53a1)||_0x5c53a1);return _0x5c53a1;},Me=(_0x3274b2,_0x550b99)=>(_0x35cab4,_0x2dc47e)=>_0x550b99(_0x35cab4,_0x2dc47e,_0x3274b2);const an=[_0x4216d1(0x225),_0x4216d1(0x2f1),_0x4216d1(0x19c),_0x4216d1(0x1b5),_0x4216d1(0x398)],on=0x5*0x400*0x400,cn=_0x4216d1(0x2b6),_n='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x3f0ff4,_0x235b32,_0x481292){var _0x391d9b=_0x4216d1;A(this,'_waitCount',0x0),A(this,'_change$',new j['Subject']()),A(this,'change$',this[_0x391d9b(0x1b7)]),A(this,_0x391d9b(0x27b),new Map()),(this[_0x391d9b(0x108)]=_0x3f0ff4,this[_0x391d9b(0x241)]=_0x235b32,this['_univerInstanceService']=_0x481292);}[_0x4216d1(0x1da)](_0x19b1e8){var _0x4f1349=_0x4216d1;this['_waitCount']=_0x19b1e8,this[_0x4f1349(0x1b7)][_0x4f1349(0x219)](_0x19b1e8);}[_0x4216d1(0x40b)](_0x20a90c,_0x2df3b7){var _0x86d1cd=_0x4216d1;if(_0x2df3b7===z[_0x86d1cd(0x200)][_0x86d1cd(0x40d)]){const _0x1e0bcd=new Image();return _0x1e0bcd[_0x86d1cd(0x36a)]=_0x20a90c,_0x1e0bcd;}return this[_0x86d1cd(0x27b)][_0x86d1cd(0x2a1)](_0x20a90c);}[_0x4216d1(0x30c)](_0x32b3cd,_0x4d3f73,_0x117463){var _0x5bf27c=_0x4216d1;_0x4d3f73===z[_0x5bf27c(0x200)]['BASE64']||_0x117463==null||this[_0x5bf27c(0x27b)][_0x5bf27c(0x16d)](_0x32b3cd,_0x117463);}async['getImage'](_0x5fc684){var _0x298dda=_0x4216d1;try{const _0x465807=this[_0x298dda(0x1e9)](this['_getSignURL'](),''+_0x5fc684),_0x98868f=(await this[_0x298dda(0x108)][_0x298dda(0x2a1)](_0x465807))[_0x298dda(0xb7)];if(_0x98868f[_0x298dda(0x378)]&&_0x98868f['error']['code']===vt['OK']){const _0x35722c=o['resolveWithBasePath'](_0x98868f[_0x298dda(0x308)],this['_getDownloadEndpointURL']());return Promise[_0x298dda(0x33a)](_0x35722c);}return Promise[_0x298dda(0xea)](_0x98868f['error']);}catch(_0x516fd0){return Promise[_0x298dda(0xea)](_0x516fd0);}}async[_0x4216d1(0x3a0)](_0x11165d){var _0x276c88=_0x4216d1;let _0x45322d='';if(!an[_0x276c88(0x13f)](_0x11165d[_0x276c88(0x36e)]))return this['_decreaseWaiting'](),Promise[_0x276c88(0xea)](new Error(z[_0x276c88(0x322)][_0x276c88(0x172)]));if(_0x11165d[_0x276c88(0x101)]>on)return this[_0x276c88(0x2cf)](),Promise[_0x276c88(0xea)](new Error(z[_0x276c88(0x322)]['ERROR_EXCEED_SIZE']));try{const _0x4fc754=new FormData();_0x4fc754[_0x276c88(0x3a5)](_0x276c88(0x290),_0x11165d);const _0x3fda5d=this[_0x276c88(0x215)]['getFocusedUnit'](),_0x2cf91d=_0x3fda5d==null?void 0x0:_0x3fda5d[_0x276c88(0x3d0)]();if(!_0x2cf91d)throw new Error(_0x276c88(0x350));const _0x564a22=this[_0x276c88(0x2aa)]()+_0x276c88(0x228)+_0x11165d[_0x276c88(0x101)][_0x276c88(0x365)]()+_0x276c88(0xfb)+dt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x2cf91d),_0x18abd2={'body':_0x4fc754},_0x6b51c0=(await this[_0x276c88(0x108)][_0x276c88(0x3b7)](_0x564a22,_0x18abd2))[_0x276c88(0xb7)];if(typeof _0x6b51c0['FileId']!=_0x276c88(0x2f8))return this[_0x276c88(0x2cf)](),Promise[_0x276c88(0xea)](new Error(z[_0x276c88(0x322)][_0x276c88(0x3b0)]));_0x45322d=_0x6b51c0[_0x276c88(0x95)];}catch{return this[_0x276c88(0x2cf)](),Promise[_0x276c88(0xea)](new Error(z[_0x276c88(0x322)][_0x276c88(0x3b0)]));}return new Promise((_0x16ed7f,_0x37d50f)=>{var _0x2c5cb1=_0x276c88;const _0x557ec0=new FileReader();_0x557ec0[_0x2c5cb1(0x143)](_0x11165d),_0x557ec0[_0x2c5cb1(0x1a1)]=_0x29356f=>{var _0x3c7e6=_0x2c5cb1,_0x4b0e64;const _0x26c596=(_0x4b0e64=_0x29356f[_0x3c7e6(0x1cc)])==null?void 0x0:_0x4b0e64[_0x3c7e6(0x224)];if(_0x26c596==null){this[_0x3c7e6(0x2cf)](),_0x37d50f(new Error(z[_0x3c7e6(0x322)][_0x3c7e6(0x3b0)]));return;}const _0x44423c=o[_0x3c7e6(0x14e)](0x6);_0x16ed7f({'imageId':_0x44423c,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x45322d,'base64Cache':_0x26c596,'status':z[_0x3c7e6(0x322)][_0x3c7e6(0x24d)]}),this[_0x3c7e6(0x2cf)]();};});}[_0x4216d1(0x2aa)](){var _0x2148b9=_0x4216d1,_0x38e198;const _0x3c0969=this['_configService']['getConfig'](Y);return(_0x38e198=_0x3c0969==null?void 0x0:_0x3c0969[_0x2148b9(0x3f4)])!=null?_0x38e198:cn;}[_0x4216d1(0xab)](){var _0x395d8f=_0x4216d1,_0x108fc7;const _0x257256=this['_configService']['getConfig'](Y);return(_0x108fc7=_0x257256==null?void 0x0:_0x257256[_0x395d8f(0x318)])!=null?_0x108fc7:_n;}[_0x4216d1(0x1fa)](){var _0x4f2e35=_0x4216d1,_0x852de0;const _0x2e8b4f=this[_0x4f2e35(0x241)]['getConfig'](Y);return(_0x852de0=_0x2e8b4f==null?void 0x0:_0x2e8b4f[_0x4f2e35(0x3c2)])!=null?_0x852de0:location[_0x4f2e35(0x232)];}[_0x4216d1(0x1e9)](_0x11d576,_0x3410d6){var _0x383825=_0x4216d1;return _0x11d576[_0x383825(0x30b)](_0x383825(0x253),_0x3410d6);}[_0x4216d1(0x2cf)](){var _0x48e08d=_0x4216d1;this[_0x48e08d(0x2f4)]-=0x1,this['_change$']['next'](this[_0x48e08d(0x2f4)]);}},exports[_0x4216d1(0x3e0)]=rn([Me(0x0,o[_0x4216d1(0x3cb)](K[_0x4216d1(0x3b8)])),Me(0x1,o[_0x4216d1(0x301)]),Me(0x2,o[_0x4216d1(0x3cb)](o[_0x4216d1(0xf3)]))],exports['CollaborationImageIoService']);var hn=Object['getOwnPropertyDescriptor'],ln=(_0x5c46a0,_0x28cb8f,_0x56723d,_0xa5e874)=>{var _0x140c8f=_0x4216d1;for(var _0x167c82=_0xa5e874>0x1?void 0x0:_0xa5e874?hn(_0x28cb8f,_0x56723d):_0x28cb8f,_0x8bd6e3=_0x5c46a0[_0x140c8f(0x189)]-0x1,_0x2f653e;_0x8bd6e3>=0x0;_0x8bd6e3--)(_0x2f653e=_0x5c46a0[_0x8bd6e3])&&(_0x167c82=_0x2f653e(_0x167c82)||_0x167c82);return _0x167c82;},at=(_0x290e56,_0x498bcc)=>(_0x346c7b,_0x3d717e)=>_0x498bcc(_0x346c7b,_0x3d717e,_0x290e56);const un=_0x4216d1(0x32f);exports[_0x4216d1(0x3e2)]=class{constructor(_0x1b921a,_0x2059f7){var _0x29a74d=_0x4216d1;this[_0x29a74d(0x241)]=_0x1b921a,this[_0x29a74d(0x347)]=_0x2059f7;}[_0x4216d1(0x18e)](){var _0x19f2ee=_0x4216d1,_0x2c0649;const _0x379bd3=this[_0x19f2ee(0x241)][_0x19f2ee(0x159)](Y);return(_0x2c0649=_0x379bd3==null?void 0x0:_0x379bd3[_0x19f2ee(0x185)])!=null?_0x2c0649:un;}async['list'](_0x1f26e2){var _0x4fc4d1=_0x4216d1;const _0x2021a9=this[_0x4fc4d1(0x18e)]()+_0x4fc4d1(0x17b);return{'list':[{'title':'People','mentions':(await this[_0x4fc4d1(0x347)][_0x4fc4d1(0x2a1)](_0x2021a9,{'params':{'objectID':_0x1f26e2[_0x4fc4d1(0x3b5)],'unitID':_0x1f26e2[_0x4fc4d1(0x3b5)]}}))[_0x4fc4d1(0xb7)][_0x4fc4d1(0x3bc)][_0x4fc4d1(0x131)](_0x1b7931=>({'objectId':_0x1b7931['id'],'name':_0x1b7931[_0x4fc4d1(0x359)][_0x4fc4d1(0x13c)],'metadata':{'icon':_0x1b7931[_0x4fc4d1(0x359)]['avatar']},'label':_0x1b7931[_0x4fc4d1(0x359)][_0x4fc4d1(0x13c)],'objectType':o['MentionType']['PERSON']})),'metadata':{},'type':o[_0x4fc4d1(0x133)][_0x4fc4d1(0xca)]}]};}},exports[_0x4216d1(0x3e2)]=ln([at(0x0,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x301)])),at(0x1,o['Inject'](K[_0x4216d1(0x3b8)]))],exports[_0x4216d1(0x3e2)]);var vn=Object['getOwnPropertyDescriptor'],dn=(_0x497304,_0x27b994,_0x43458c,_0x812b70)=>{var _0x25949e=_0x4216d1;for(var _0x20cc05=_0x812b70>0x1?void 0x0:_0x812b70?vn(_0x27b994,_0x43458c):_0x27b994,_0x2b41bd=_0x497304[_0x25949e(0x189)]-0x1,_0x36ca45;_0x2b41bd>=0x0;_0x2b41bd--)(_0x36ca45=_0x497304[_0x2b41bd])&&(_0x20cc05=_0x36ca45(_0x20cc05)||_0x20cc05);return _0x20cc05;},le=(_0x1430e2,_0x2a9f71)=>(_0x333bcf,_0x1eecef)=>_0x2a9f71(_0x333bcf,_0x1eecef,_0x1430e2);let ye=class extends o[_0x4216d1(0x1dc)]{constructor(_0x558b53,_0x34c26c,_0x2c4660,_0x4ba3fd,_0x1eb5e1){var _0x399744=_0x4216d1;super(),this[_0x399744(0x187)]=_0x558b53,this[_0x399744(0x215)]=_0x34c26c,this['_permissionService']=_0x2c4660,this[_0x399744(0x1b8)]=_0x4ba3fd,this[_0x399744(0x175)]=_0x1eb5e1,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4216d1(0x180)](){var _0x3c9cec=_0x4216d1;const _0x1d38cb=async _0x14fa77=>{var _0x3cb3cc=_0x9f6e;(await this[_0x3cb3cc(0x1b8)][_0x3cb3cc(0xb8)](_0x14fa77))[_0x3cb3cc(0x37f)][_0x3cb3cc(0x91)](V[_0x3cb3cc(0x168)](_0xa8568=>_0xa8568[_0x3cb3cc(0x25a)]===E['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x3cb3cc(0x139)](this[_0x3cb3cc(0x286)]))[_0x3cb3cc(0x19a)](_0x45b0fe=>{var _0x5d2884=_0x3cb3cc;const _0x44cf14=_0x45b0fe,{reason:_0x11beb0}=_0x44cf14[_0x5d2884(0x2ac)];this[_0x5d2884(0x175)][_0x5d2884(0x1f6)]({'id':J[_0x5d2884(0x3db)],'data':_0x11beb0}),this[_0x5d2884(0xbb)][_0x5d2884(0x2b8)](new Q[(_0x5d2884(0x2a7))](_0x14fa77)['id'],!0x1),this[_0x5d2884(0x1b8)][_0x5d2884(0x2c3)](_0x14fa77);});};j[_0x3c9cec(0xd9)](this['_univerInstanceService'][_0x3c9cec(0x239)](o['UniverInstanceType'][_0x3c9cec(0xb3)]),this[_0x3c9cec(0x215)][_0x3c9cec(0x239)](o[_0x3c9cec(0x352)][_0x3c9cec(0x27d)]))[_0x3c9cec(0x91)](V['map'](_0x245808=>_0x245808[_0x3c9cec(0x3d0)]()),V['filter'](_0x49d21a=>!o['isInternalEditorID'](_0x49d21a)),V['takeUntil'](this[_0x3c9cec(0x286)]))['subscribe'](_0xb64ad8=>{_0x1d38cb(_0xb64ad8);});}['_initUnitPermissionChange'](){var _0xb06fac=_0x4216d1;const _0x70d702=async _0xcd96ab=>{var _0x22d529=_0x9f6e;const _0x3304bc=await this[_0x22d529(0x1b8)][_0x22d529(0xb8)](_0xcd96ab),_0x44a049=this[_0x22d529(0x187)][_0x22d529(0x2a1)](Q[_0x22d529(0x27e)]);_0x3304bc[_0x22d529(0x37f)][_0x22d529(0x91)](V[_0x22d529(0x168)](_0x324a42=>_0x324a42[_0x22d529(0x25a)]===E['CollaborationEvent'][_0x22d529(0x126)]),V[_0x22d529(0x139)](this['dispose$']))[_0x22d529(0x19a)](_0x1a7daf=>{var _0x23444b=_0x22d529;const _0x4b0fcc=_0x1a7daf,{objectId:_0x1e7e6}=_0x4b0fcc[_0x23444b(0x2ac)];_0x1e7e6===_0xcd96ab?_0x44a049[_0x23444b(0xe1)](_0xcd96ab):_0x44a049[_0x23444b(0x9b)](_0xcd96ab,_0x1e7e6);});};j[_0xb06fac(0xd9)](this[_0xb06fac(0x215)][_0xb06fac(0x239)](o[_0xb06fac(0x352)]['UNIVER_SHEET']))[_0xb06fac(0x91)](V[_0xb06fac(0x131)](_0x1b9329=>_0x1b9329[_0xb06fac(0x3d0)]()),V['filter'](_0x34a464=>!o['isInternalEditorID'](_0x34a464)),V[_0xb06fac(0x139)](this[_0xb06fac(0x286)]))[_0xb06fac(0x19a)](_0x55e587=>{_0x70d702(_0x55e587);});}};ye=dn([le(0x0,o[_0x4216d1(0x3cb)](o[_0x4216d1(0x260)])),le(0x1,o[_0x4216d1(0xf3)]),le(0x2,o[_0x4216d1(0x1bd)]),le(0x3,o[_0x4216d1(0x3cb)](exports['CollaborationSessionService'])),le(0x4,o['Inject'](ee))],ye);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x26f307,_0x62822c,_0x5b5b9c,_0x410491)=>{var _0x2fd660=_0x4216d1;for(var _0x2dbac9=_0x410491>0x1?void 0x0:_0x410491?Sn(_0x62822c,_0x5b5b9c):_0x62822c,_0xcd7ae3=_0x26f307[_0x2fd660(0x189)]-0x1,_0x26b052;_0xcd7ae3>=0x0;_0xcd7ae3--)(_0x26b052=_0x26f307[_0xcd7ae3])&&(_0x2dbac9=_0x26b052(_0x2dbac9)||_0x2dbac9);return _0x2dbac9;},ot=(_0x3809d6,_0x5633a4)=>(_0x486da3,_0x3f4631)=>_0x5633a4(_0x486da3,_0x3f4631,_0x3809d6);exports['SnapshotServerOverHTTPService']=class{constructor(_0x4ab94f,_0x41da0e){var _0x4630b4=_0x4216d1;this['_configService']=_0x4ab94f,this[_0x4630b4(0x108)]=_0x41da0e;}async[_0x4216d1(0x289)](_0x35608b,_0x16d1b2){var _0x4b3327=_0x4216d1,_0x58a955;const {unitID:_0x1a3a64,type:_0x46c6b4,revision:_0x1030b8=0x0}=_0x16d1b2,_0x3d729c=this[_0x4b3327(0x16b)]()+'/'+_0x46c6b4+_0x4b3327(0x120)+_0x1a3a64+_0x4b3327(0x3fa)+_0x1030b8,_0x2b3bc6=(await this[_0x4b3327(0x108)][_0x4b3327(0x2a1)](_0x3d729c))['body'],_0x487952=(_0x58a955=_0x2b3bc6['snapshot'])==null?void 0x0:_0x58a955[_0x4b3327(0xef)];if(_0x487952){const _0x98c9d1=_0x487952==null?void 0x0:_0x487952['originalMeta'],_0x386b93=E[_0x4b3327(0x32b)]['encode'](E[_0x4b3327(0x127)](_0x98c9d1));_0x487952[_0x4b3327(0x15f)]=_0x386b93,Object[_0x4b3327(0x382)](_0x487952['sheets'])[_0x4b3327(0x1d5)](([,_0x48b9c9])=>{var _0x3c5784=_0x4b3327;const _0xd776b2=_0x48b9c9[_0x3c5784(0x15f)],_0x2a6c76=E['textEncoder'][_0x3c5784(0x205)](E[_0x3c5784(0x127)](_0xd776b2));_0x48b9c9[_0x3c5784(0x15f)]=_0x2a6c76;});}return _0x2b3bc6;}async[_0x4216d1(0x3b3)](_0x4a5280,_0x1558b3){var _0x173b35=_0x4216d1;const {unitID:_0x4c7276,type:_0x1e7c8a,blockID:_0x338480}=_0x1558b3,_0x25a5d4=this[_0x173b35(0x280)]()+'/'+_0x1e7c8a+_0x173b35(0x120)+_0x4c7276+_0x173b35(0x7c)+_0x338480;return(await this[_0x173b35(0x108)][_0x173b35(0x2a1)](_0x25a5d4))[_0x173b35(0xb7)];}async[_0x4216d1(0x303)](_0x3622f9,_0x2bb4b1){var _0x4a4144=_0x4216d1;const {unitID:_0x315ea8,type:_0x14f30c,blockID:_0x30748c}=_0x2bb4b1,_0x77501b=this[_0x4a4144(0x280)]()+_0x4a4144(0x7c)+_0x14f30c+_0x4a4144(0x120)+_0x315ea8+_0x4a4144(0x7c)+_0x30748c;return(await this[_0x4a4144(0x108)][_0x4a4144(0x2a1)](_0x77501b))[_0x4a4144(0xb7)];}async[_0x4216d1(0x27a)](_0x16442e,_0x21b7c6){var _0x3afa8e=_0x4216d1;const {unitID:_0x1e793b,type:_0x2c25e2,from:_0x1c06cf,to:_0x5099b7}=_0x21b7c6,_0x1a16e1=this['_getAPIPrefix']()+'/'+_0x2c25e2+_0x3afa8e(0x120)+_0x1e793b+_0x3afa8e(0x30a)+_0x1c06cf+_0x3afa8e(0x8d)+_0x5099b7;return(await this[_0x3afa8e(0x108)][_0x3afa8e(0x2a1)](_0x1a16e1))[_0x3afa8e(0xb7)];}[_0x4216d1(0x16b)](){var _0x3a0c0f=_0x4216d1,_0x77602d;return(_0x77602d=this['_configService']['getConfig'](Ut))!=null?_0x77602d:this[_0x3a0c0f(0x280)]();}[_0x4216d1(0x280)](){var _0x33b479=_0x4216d1,_0x290169;const _0x330569=this[_0x33b479(0x241)][_0x33b479(0x159)](Y);return(_0x290169=_0x330569==null?void 0x0:_0x330569[_0x33b479(0x29e)])!=null?_0x290169:yt;}async[_0x4216d1(0x17a)](_0x11695a,_0x3f1b75){var _0x3d1e64=_0x4216d1;const _0x50f0c6=_0x3d1e64(0x28f)+_0x3f1b75['type']+_0x3d1e64(0x120)+_0x3f1b75[_0x3d1e64(0x311)]+_0x3d1e64(0x278);return(await this[_0x3d1e64(0x108)][_0x3d1e64(0x2a1)](_0x50f0c6,{'params':{'resourceId':JSON[_0x3d1e64(0x25d)](_0x3f1b75['resourceIDs'])}}))['body'];}[_0x4216d1(0x244)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4216d1(0x16a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4216d1(0x25c)](){var _0x4180ee=_0x4216d1;throw new Error(_0x4180ee(0x2d5));}[_0x4216d1(0x327)](){var _0x1ed2bd=_0x4216d1;throw new Error(_0x1ed2bd(0x2d5));}[_0x4216d1(0x134)](){var _0xb477d6=_0x4216d1;throw new Error(_0xb477d6(0x2d5));}},exports['SnapshotServerOverHTTPService']=In([ot(0x0,o['IConfigService']),ot(0x1,o[_0x4216d1(0x3cb)](K['HTTPService']))],exports[_0x4216d1(0x3e1)]);var fn=Object[_0x4216d1(0x367)],En=(_0xf006c3,_0x4faa6a,_0x2da146,_0x47ad18)=>{for(var _0x28d130=_0x47ad18>0x1?void 0x0:_0x47ad18?fn(_0x4faa6a,_0x2da146):_0x4faa6a,_0xabd65f=_0xf006c3['length']-0x1,_0x24fc87;_0xabd65f>=0x0;_0xabd65f--)(_0x24fc87=_0xf006c3[_0xabd65f])&&(_0x28d130=_0x24fc87(_0x28d130)||_0x28d130);return _0x28d130;},ue=(_0x54ce1f,_0x5bd7e8)=>(_0x4a7a97,_0x474257)=>_0x5bd7e8(_0x4a7a97,_0x474257,_0x54ce1f);exports[_0x4216d1(0x293)]=class extends o[_0x4216d1(0x374)]{constructor(_0x20e560,_0x5c3c51,_0x6c7ade,_0xce19b5,_0x39a174){var _0x287f68=_0x4216d1;super(_0x20e560,_0x5c3c51,_0x6c7ade),this[_0x287f68(0x82)]=_0xce19b5,this['_logService']=_0x39a174;}[_0x4216d1(0x2f2)](_0x3da788,_0x16d2f6){var _0x1226b2=_0x4216d1;const _0x531039=this[_0x1226b2(0x2fd)](_0x3da788);if(_0x531039)try{const _0x59e652=this[_0x1226b2(0x21e)](_0x531039,_0x16d2f6);this[_0x1226b2(0x31a)](_0x3da788,_0x59e652);}catch(_0x21d72e){this[_0x1226b2(0x403)][_0x1226b2(0x378)](_0x1226b2(0x3e7),_0x21d72e),this[_0x1226b2(0xb5)](_0x3da788);}const _0x2c91a8=this[_0x1226b2(0x25b)](_0x3da788);if(_0x2c91a8)try{const _0xc883da=this['_transformStack'](_0x2c91a8,_0x16d2f6);this[_0x1226b2(0x12c)](_0x3da788,_0xc883da);}catch(_0x4e0fff){this[_0x1226b2(0x403)][_0x1226b2(0x378)](_0x4e0fff),this['_clearRedo'](_0x3da788);}}[_0x4216d1(0xb5)](_0x4ef09c){var _0x2805f0=_0x4216d1;const _0x5f34d0=this['_getUndoStack'](_0x4ef09c);_0x5f34d0&&(_0x5f34d0[_0x2805f0(0x189)]=0x0,this[_0x2805f0(0x279)]());}[_0x4216d1(0x18a)](_0x43ae2c){var _0x36450d=_0x4216d1;const _0xfffc6d=this[_0x36450d(0x25b)](_0x43ae2c);_0xfffc6d&&(_0xfffc6d[_0x36450d(0x189)]=0x0,this[_0x36450d(0x279)]());}[_0x4216d1(0x31a)](_0x3113d7,_0x4d4b32){var _0x39a534=_0x4216d1;this['_undoStacks'][_0x39a534(0x16d)](_0x3113d7,_0x4d4b32),this['_updateStatus']();}[_0x4216d1(0x12c)](_0x3951f7,_0x5557ba){var _0x745cf5=_0x4216d1;this['_redoStacks'][_0x745cf5(0x16d)](_0x3951f7,_0x5557ba),this[_0x745cf5(0x279)]();}[_0x4216d1(0x21e)](_0x5225f7,_0xdf6280){var _0x33eab7=_0x4216d1;const _0x47e9c8=[];let _0x4a162d=_0xdf6280,_0x548179=_0xdf6280;for(let _0x3f0c95=_0x5225f7[_0x33eab7(0x189)]-0x1;_0x3f0c95>=0x0;_0x3f0c95--){const {unitID:_0x120404,undoMutations:_0x1f0ce2,redoMutations:_0x5bcf2e}=_0x5225f7[_0x3f0c95],_0x11b854=this['_transformService'][_0x33eab7(0x89)](_0x4a162d,_0x1f0ce2),_0x47447b=this[_0x33eab7(0x82)][_0x33eab7(0x89)](_0x548179,_0x5bcf2e);if(E[_0x33eab7(0x1bb)](_0x11b854)||E[_0x33eab7(0x1bb)](_0x47447b)){this[_0x33eab7(0x403)][_0x33eab7(0x378)](_0x33eab7(0x3e7),_0x33eab7(0x3fd),_0x11b854,_0x47447b);break;}_0x4a162d=_0x11b854['c1Prime'],_0x548179=_0x47447b['c1Prime'],_0x47e9c8[_0x33eab7(0x188)]({'unitID':_0x120404,'undoMutations':_0x11b854['m2Prime'],'redoMutations':_0x47447b['m2Prime']});}return _0x47e9c8[_0x33eab7(0x150)]();}},exports[_0x4216d1(0x293)]=En([ue(0x0,o[_0x4216d1(0xf3)]),ue(0x1,o[_0x4216d1(0x3b9)]),ue(0x2,o['IContextService']),ue(0x3,E[_0x4216d1(0x122)]),ue(0x4,o['ILogService'])],exports[_0x4216d1(0x293)]);var pn=Object['defineProperty'],mn=Object['getOwnPropertyDescriptor'],gn=(_0x3e8ecc,_0x1b8d78,_0x2a7165)=>_0x1b8d78 in _0x3e8ecc?pn(_0x3e8ecc,_0x1b8d78,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a7165}):_0x3e8ecc[_0x1b8d78]=_0x2a7165,Tn=(_0xb22ac0,_0x13baca,_0x1b6029,_0x5988f0)=>{var _0x233412=_0x4216d1;for(var _0x387c01=_0x5988f0>0x1?void 0x0:_0x5988f0?mn(_0x13baca,_0x1b6029):_0x13baca,_0x1245e2=_0xb22ac0[_0x233412(0x189)]-0x1,_0x355d51;_0x1245e2>=0x0;_0x1245e2--)(_0x355d51=_0xb22ac0[_0x1245e2])&&(_0x387c01=_0x355d51(_0x387c01)||_0x387c01);return _0x387c01;},we=(_0x1048f3,_0x5352e0)=>(_0x2c2533,_0x56b4de)=>_0x5352e0(_0x2c2533,_0x56b4de,_0x1048f3),Cn=(_0x308de2,_0x5d7c49,_0x3055dc)=>gn(_0x308de2,_0x5d7c49+'',_0x3055dc);const On=_0x4216d1(0x3f3);exports[_0x4216d1(0x353)]=class extends o['Plugin']{constructor(_0x2f895d,_0x40f765,_0x5b4a69,_0x67ad8c){var _0xefe77=_0x4216d1;super(),A(this,_0xefe77(0x341)),(this[_0xefe77(0x403)]=_0x40f765,this['_injector']=_0x5b4a69,this[_0xefe77(0x241)]=_0x67ad8c);const {..._0x48175a}=o['merge']({},Qt,_0x2f895d);if(!_0x48175a[_0xefe77(0x8e)])throw new Error(_0xefe77(0x30e));this[_0xefe77(0x341)]=_0x48175a,this[_0xefe77(0x241)][_0xefe77(0x1c5)](Y,_0x48175a);}[_0x4216d1(0x2bb)](){var _0x45c449=_0x4216d1;this[_0x45c449(0x33d)](),this[_0x45c449(0x170)]();}[_0x4216d1(0x33d)](){var _0x9e1a73=_0x4216d1,_0x349201,_0x33ff35;this['_injector'][_0x9e1a73(0x1b4)](o[_0x9e1a73(0x2ff)])&&this['_logService']['error'](_0x9e1a73(0x111),_0x9e1a73(0x1d2));const _0x17e5fd=o[_0x9e1a73(0x28d)]([[o[_0x9e1a73(0x2ff)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x9e1a73(0x94)]],[exports[_0x9e1a73(0x3f1)]],[exports[_0x9e1a73(0x22b)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x9e1a73(0x414)]],[Fe,{'useClass':this[_0x9e1a73(0x341)][_0x9e1a73(0x8e)]}],[E['ISnapshotServerService'],{'useClass':exports[_0x9e1a73(0x3e1)]}],[o['IAuthzIoService'],{'useClass':exports[_0x9e1a73(0x415)]}],[z[_0x9e1a73(0x2b4)],{'useClass':exports[_0x9e1a73(0x3e0)]}],[o[_0x9e1a73(0x39d)],{'useClass':exports[_0x9e1a73(0x3e2)]}],[exports['CollaborationController']],[xe]],(_0x349201=this[_0x9e1a73(0x341)])==null?void 0x0:_0x349201[_0x9e1a73(0x1af)]);if(!((_0x33ff35=this['_config'])!=null&&_0x33ff35['enableSingleActiveInstanceLock'])){const _0x5e1c74=_0x17e5fd[_0x9e1a73(0xe5)](([_0x357a04])=>_0x357a04===ve);_0x5e1c74!==-0x1&&_0x17e5fd['splice'](_0x5e1c74,0x1);}o[_0x9e1a73(0x193)](this[_0x9e1a73(0x187)],_0x17e5fd);}[_0x4216d1(0x170)](){var _0x4a8510=_0x4216d1,_0x25f396,_0x520009,_0x3b6b4b;this['_injector'][_0x4a8510(0x2a1)](K['HTTPService'])[_0x4a8510(0xe8)]({'priority':0x14,'interceptor':K[_0x4a8510(0xc5)]({'maxParallel':0x6})}),(_0x25f396=this[_0x4a8510(0x341)])!=null&&_0x25f396['enableOfflineEditing']||(_0x520009=this[_0x4a8510(0x187)]['get'](q,o['Quantity'][_0x4a8510(0x12f)]))==null||_0x520009[_0x4a8510(0x40a)](),(_0x3b6b4b=this[_0x4a8510(0x341)])!=null&&_0x3b6b4b[_0x4a8510(0x33c)]&&o[_0x4a8510(0x313)](this[_0x4a8510(0x187)],[[Ne]]),o[_0x4a8510(0x313)](this[_0x4a8510(0x187)],[[De],[exports[_0x4a8510(0x237)]],[ye]]);}},Cn(exports[_0x4216d1(0x353)],_0x4216d1(0x18f),On),exports[_0x4216d1(0x353)]=Tn([o['DependentOn'](E['UniverCollaborationPlugin'],K[_0x4216d1(0x33f)]),we(0x1,o[_0x4216d1(0x23a)]),we(0x2,o[_0x4216d1(0x3cb)](o['Injector'])),we(0x3,o[_0x4216d1(0x301)])],exports[_0x4216d1(0x353)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['CollaborationStatus']=je,exports[_0x4216d1(0x418)]=J,exports[_0x4216d1(0xcc)]=ee,exports[_0x4216d1(0x3de)]=$e,exports[_0x4216d1(0x1bf)]=_t,exports[_0x4216d1(0xee)]=Bt,exports[_0x4216d1(0x2be)]=Pt,exports[_0x4216d1(0x30d)]=ht,exports[_0x4216d1(0x3b6)]=ke,exports[_0x4216d1(0x14a)]=Fe,exports[_0x4216d1(0x288)]=q,exports[_0x4216d1(0xff)]=pt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x4216d1(0x2ed)]=xt,exports[_0x4216d1(0x12a)]=jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x4216d1(0x192)]=se,exports[_0x4216d1(0x264)]=He,exports[_0x4216d1(0x310)]=mt,exports[_0x4216d1(0x1eb)]=zt,exports[_0x4216d1(0x132)]=gt;
|
|
1
|
+
'use strict';function _0x223c(_0x23b75a,_0x2c86ad){_0x23b75a=_0x23b75a-0x182;var _0x2f057f=_0x2f05();var _0x223cc5=_0x2f057f[_0x23b75a];return _0x223cc5;}var _0x2f1e4f=_0x223c;(function(_0xc41d81,_0x45f8de){var _0x2de3c5=_0x223c,_0xa11702=_0xc41d81();while(!![]){try{var _0x2f0517=parseInt(_0x2de3c5(0x41f))/0x1+parseInt(_0x2de3c5(0x1f6))/0x2+parseInt(_0x2de3c5(0x406))/0x3*(-parseInt(_0x2de3c5(0x1c8))/0x4)+-parseInt(_0x2de3c5(0x239))/0x5+parseInt(_0x2de3c5(0x44b))/0x6+parseInt(_0x2de3c5(0x268))/0x7+parseInt(_0x2de3c5(0x4ea))/0x8*(-parseInt(_0x2de3c5(0x223))/0x9);if(_0x2f0517===_0x45f8de)break;else _0xa11702['push'](_0xa11702['shift']());}catch(_0x1a1460){_0xa11702['push'](_0xa11702['shift']());}}}(_0x2f05,0x457db));var Rt=Object[_0x2f1e4f(0x456)],Nt=(_0x43e655,_0x24c8b0,_0x75a118)=>_0x24c8b0 in _0x43e655?Rt(_0x43e655,_0x24c8b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x75a118}):_0x43e655[_0x24c8b0]=_0x75a118,A=(_0x4dd387,_0x31d12a,_0x434e70)=>Nt(_0x4dd387,typeof _0x31d12a!=_0x2f1e4f(0x38d)?_0x31d12a+'':_0x31d12a,_0x434e70);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2f1e4f(0x306)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Dt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),_t=require('@univerjs-pro/license'),z=require('@univerjs/drawing'),yt='/universer-api/snapshot',Ut=_0x2f1e4f(0x359),At=0x7d0,ht=_0x2f1e4f(0x3f2),Pt=_0x2f1e4f(0x3b8),lt=_0x2f1e4f(0x4ef),Lt=0x7530,ke=_0x2f1e4f(0x271),ut=0x4e20,Mt=0x4e20,vt=_0x2f1e4f(0x2a3),wt=0x3,xt=_0x2f1e4f(0x4a0),kt=0x3e8,$t=_0x2f1e4f(0x42e),Ht=_0x2f1e4f(0x3b6),jt=_0x2f1e4f(0x1de),Bt=_0x2f1e4f(0x396);var dt=(_0x2f4095=>(_0x2f4095[_0x2f4095[_0x2f1e4f(0x486)]=0x0]=_0x2f1e4f(0x486),_0x2f4095[_0x2f4095['OK']=0x1]='OK',_0x2f4095[_0x2f4095[_0x2f1e4f(0x47c)]=0x2]='INTERNAL_ERROR',_0x2f4095[_0x2f4095[_0x2f1e4f(0x449)]=0x3]=_0x2f1e4f(0x449),_0x2f4095[_0x2f4095[_0x2f1e4f(0x48d)]=0x4]=_0x2f1e4f(0x48d),_0x2f4095[_0x2f4095[_0x2f1e4f(0x346)]=0x5]=_0x2f1e4f(0x346),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1e0)]=0x6]=_0x2f1e4f(0x1e0),_0x2f4095[_0x2f4095[_0x2f1e4f(0x375)]=0x7]=_0x2f1e4f(0x375),_0x2f4095[_0x2f4095[_0x2f1e4f(0x360)]=0x8]=_0x2f1e4f(0x360),_0x2f4095[_0x2f4095[_0x2f1e4f(0x497)]=0x9]='COMPLETION_FINISHED',_0x2f4095[_0x2f4095['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x28a)]=0xb]=_0x2f1e4f(0x28a),_0x2f4095[_0x2f4095[_0x2f1e4f(0x35e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2f4095[_0x2f4095['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2f4095[_0x2f4095[_0x2f1e4f(0x4e3)]=0xe]=_0x2f1e4f(0x4e3),_0x2f4095[_0x2f4095[_0x2f1e4f(0x402)]=0xf]=_0x2f1e4f(0x402),_0x2f4095[_0x2f4095['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x2f1e4f(0x1ea),_0x2f4095[_0x2f4095[_0x2f1e4f(0x41c)]=0x64]=_0x2f1e4f(0x41c),_0x2f4095[_0x2f4095[_0x2f1e4f(0x467)]=0x65]=_0x2f1e4f(0x467),_0x2f4095[_0x2f4095[_0x2f1e4f(0x20e)]=0xc9]='USER_NOT_FOUND',_0x2f4095[_0x2f4095[_0x2f1e4f(0x32d)]=0xca]=_0x2f1e4f(0x32d),_0x2f4095[_0x2f4095[_0x2f1e4f(0x399)]=0x1389]=_0x2f1e4f(0x399),_0x2f4095[_0x2f4095[_0x2f1e4f(0x4a5)]=0x1771]=_0x2f1e4f(0x4a5),_0x2f4095[_0x2f4095[_0x2f1e4f(0x394)]=0x1772]=_0x2f1e4f(0x394),_0x2f4095[_0x2f4095[_0x2f1e4f(0x440)]=0x1773]=_0x2f1e4f(0x440),_0x2f4095[_0x2f4095[_0x2f1e4f(0x432)]=0x1b59]=_0x2f1e4f(0x432),_0x2f4095[_0x2f4095['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2f1e4f(0x4eb),_0x2f4095[_0x2f4095[_0x2f1e4f(0x492)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2f4095[_0x2f4095[_0x2f1e4f(0x1e5)]=0x1b5c]=_0x2f1e4f(0x1e5),_0x2f4095[_0x2f4095[_0x2f1e4f(0x37a)]=0x1b5d]=_0x2f1e4f(0x37a),_0x2f4095[_0x2f4095[_0x2f1e4f(0x275)]=0x1f41]=_0x2f1e4f(0x275),_0x2f4095[_0x2f4095[_0x2f1e4f(0x19b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x285)]=0x232a]=_0x2f1e4f(0x285),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1f3)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x205)]=0x232c]=_0x2f1e4f(0x205),_0x2f4095[_0x2f4095['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2f1e4f(0x503),_0x2f4095[_0x2f4095[_0x2f1e4f(0x25a)]=0x2711]=_0x2f1e4f(0x25a),_0x2f4095[_0x2f4095[_0x2f1e4f(0x47d)]=0x2712]=_0x2f1e4f(0x47d),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1e4)]=0x2713]=_0x2f1e4f(0x1e4),_0x2f4095[_0x2f4095[_0x2f1e4f(0x349)]=0x2714]=_0x2f1e4f(0x349),_0x2f4095[_0x2f4095[_0x2f1e4f(0x4f2)]=0x271a]=_0x2f1e4f(0x4f2),_0x2f4095[_0x2f4095[_0x2f1e4f(0x498)]=0x271b]=_0x2f1e4f(0x498),_0x2f4095[_0x2f4095[_0x2f1e4f(0x21e)]=0x271c]=_0x2f1e4f(0x21e),_0x2f4095[_0x2f4095['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2f1e4f(0x297),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1cb)]=0x271e]=_0x2f1e4f(0x1cb),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2a8)]=0x271f]=_0x2f1e4f(0x2a8),_0x2f4095[_0x2f4095['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2f1e4f(0x417),_0x2f4095[_0x2f4095['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2f1e4f(0x281),_0x2f4095[_0x2f4095['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2f1e4f(0x195),_0x2f4095[_0x2f4095[_0x2f1e4f(0x218)]=0x2ee2]=_0x2f1e4f(0x218),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2ef)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2f4095[_0x2f4095['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2f1e4f(0x1e3),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2b0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f4095[_0x2f4095[_0x2f1e4f(0x3af)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f4095[_0x2f4095['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f4095[_0x2f4095[_0x2f1e4f(0x290)]=0x32cb]=_0x2f1e4f(0x290),_0x2f4095[_0x2f4095[_0x2f1e4f(0x36f)]=0x36b1]=_0x2f1e4f(0x36f),_0x2f4095[_0x2f4095['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2f4095[_0x2f4095['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x2f1e4f(0x220),_0x2f4095[_0x2f4095[_0x2f1e4f(0x34c)]=0x36b4]=_0x2f1e4f(0x34c),_0x2f4095[_0x2f4095['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2f4095[_0x2f4095['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2f1e4f(0x2f4),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2c9)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2f4095[_0x2f4095[_0x2f1e4f(0x517)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2f4095[_0x2f4095['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x2f1e4f(0x453),_0x2f4095[_0x2f4095['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2f4095[_0x2f4095['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2f4095[_0x2f4095[_0x2f1e4f(0x2d0)]=0x37dd]=_0x2f1e4f(0x2d0),_0x2f4095[_0x2f4095[_0x2f1e4f(0x201)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2f4095[_0x2f4095['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x2f1e4f(0x398),_0x2f4095[_0x2f4095[_0x2f1e4f(0x305)]=0x3a9b]=_0x2f1e4f(0x305),_0x2f4095[_0x2f4095[_0x2f1e4f(0x25e)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x3d9)]=0x3a9d]=_0x2f1e4f(0x3d9),_0x2f4095[_0x2f4095[_0x2f1e4f(0x38c)]=0x3a9e]=_0x2f1e4f(0x38c),_0x2f4095[_0x2f4095[_0x2f1e4f(0x335)]=0x3a9f]=_0x2f1e4f(0x335),_0x2f4095[_0x2f4095[_0x2f1e4f(0x273)]=0x3e81]=_0x2f1e4f(0x273),_0x2f4095[_0x2f4095['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2f4095))(dt||{}),X=(_0x598f81=>(_0x598f81[_0x598f81[_0x2f1e4f(0x3ed)]=0x0]=_0x2f1e4f(0x3ed),_0x598f81[_0x598f81[_0x2f1e4f(0x376)]=0x1]=_0x2f1e4f(0x376),_0x598f81[_0x598f81[_0x2f1e4f(0x1db)]=0x2]=_0x2f1e4f(0x1db),_0x598f81[_0x598f81['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x598f81[_0x598f81[_0x2f1e4f(0x4cb)]=0x4]=_0x2f1e4f(0x4cb),_0x598f81[_0x598f81[_0x2f1e4f(0x224)]=-0x1]='UNRECOGNIZED',_0x598f81))(X||{}),W=(_0x5ed1b1=>(_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x3a0)]=0x0]='UNKNOWN_CMD',_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x358)]=0x1]=_0x2f1e4f(0x358),_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x23d)]=0x2]=_0x2f1e4f(0x23d),_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x479)]=0x3]=_0x2f1e4f(0x479),_0x5ed1b1[_0x5ed1b1['INGEST']=0x4]='INGEST',_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x3ab)]=0x5]=_0x2f1e4f(0x3ab),_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x38b)]=0x6]=_0x2f1e4f(0x38b),_0x5ed1b1[_0x5ed1b1['UNRECOGNIZED']=-0x1]=_0x2f1e4f(0x224),_0x5ed1b1))(W||{}),re=(_0x591313=>(_0x591313[_0x591313[_0x2f1e4f(0x2ea)]=0x0]=_0x2f1e4f(0x2ea),_0x591313[_0x591313['OK']=0x1]='OK',_0x591313[_0x591313[_0x2f1e4f(0x3be)]=0x2]=_0x2f1e4f(0x3be),_0x591313[_0x591313['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x591313[_0x591313[_0x2f1e4f(0x45d)]=0x3ea]=_0x2f1e4f(0x45d),_0x591313[_0x591313[_0x2f1e4f(0x341)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x591313[_0x591313[_0x2f1e4f(0x41b)]=0x3ec]=_0x2f1e4f(0x41b),_0x591313[_0x591313[_0x2f1e4f(0x224)]=-0x1]='UNRECOGNIZED',_0x591313))(re||{}),St=(_0x76e566=>(_0x76e566[_0x76e566['Undefined']=0x0]=_0x2f1e4f(0x47e),_0x76e566[_0x76e566[_0x2f1e4f(0x1ab)]=0x1]=_0x2f1e4f(0x1ab),_0x76e566[_0x76e566[_0x2f1e4f(0x1c1)]=0x2]=_0x2f1e4f(0x1c1),_0x76e566[_0x76e566['UnitEmbedded']=0x3]='UnitEmbedded',_0x76e566[_0x76e566[_0x2f1e4f(0x1c7)]=0x4]=_0x2f1e4f(0x1c7),_0x76e566[_0x76e566[_0x2f1e4f(0x2a2)]=0x5]=_0x2f1e4f(0x2a2),_0x76e566[_0x76e566[_0x2f1e4f(0x36b)]=0x6]=_0x2f1e4f(0x36b),_0x76e566[_0x76e566[_0x2f1e4f(0x224)]=-0x1]=_0x2f1e4f(0x224),_0x76e566))(St||{});const Ft='collaboration_new_changeset';function Vt(_0x2f02d0){var _0x30b864=_0x2f1e4f;return JSON[_0x30b864(0x1dd)](_0x2f02d0)[_0x30b864(0x237)];}var J=(_0x4c929a=>(_0x4c929a[_0x2f1e4f(0x4b8)]=_0x2f1e4f(0x4b8),_0x4c929a[_0x2f1e4f(0x449)]=_0x2f1e4f(0x449),_0x4c929a['CONFLICT']='CONFLICT',_0x4c929a[_0x2f1e4f(0x283)]=_0x2f1e4f(0x283),_0x4c929a['JOIN_ROOM_FAILED']=_0x2f1e4f(0x3b3),_0x4c929a[_0x2f1e4f(0x4ad)]=_0x2f1e4f(0x4ad),_0x4c929a[_0x2f1e4f(0x1c0)]=_0x2f1e4f(0x1c0),_0x4c929a[_0x2f1e4f(0x388)]='SUBMIT_CHANGESET_TIMEOUT',_0x4c929a))(J||{});class ee{constructor(){var _0x26ff4a=_0x2f1e4f;A(this,_0x26ff4a(0x4d7),new j[(_0x26ff4a(0x452))]()),A(this,_0x26ff4a(0x2be),this['_event$']['asObservable']());}[_0x2f1e4f(0x18f)](_0x10c6bf){var _0x3d251a=_0x2f1e4f;this[_0x3d251a(0x4d7)][_0x3d251a(0x352)](_0x10c6bf);}}class $e{constructor(){var _0x425de6=_0x2f1e4f;A(this,_0x425de6(0x3d6),new j[(_0x425de6(0x452))]()),A(this,_0x425de6(0x4b4),this['_commentUpdate$']['asObservable']());}[_0x2f1e4f(0x3cd)](_0x106843){var _0x3f1550=_0x2f1e4f;this[_0x3f1550(0x3d6)]['next'](_0x106843);}}var Wt=Object[_0x2f1e4f(0x4dc)],Gt=(_0x140a55,_0x20503b,_0x277fff,_0x3cfbb8)=>{var _0x29bab0=_0x2f1e4f;for(var _0x16033a=_0x3cfbb8>0x1?void 0x0:_0x3cfbb8?Wt(_0x20503b,_0x277fff):_0x20503b,_0x18fed7=_0x140a55[_0x29bab0(0x237)]-0x1,_0x529df2;_0x18fed7>=0x0;_0x18fed7--)(_0x529df2=_0x140a55[_0x18fed7])&&(_0x16033a=_0x529df2(_0x16033a)||_0x16033a);return _0x16033a;},Ve=(_0x379f27,_0xdcf430)=>(_0x284a9f,_0x37bb24)=>_0xdcf430(_0x284a9f,_0x37bb24,_0x379f27);exports[_0x2f1e4f(0x28d)]=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x47db12,_0x4ef62b){var _0x34005c=_0x2f1e4f;super(),A(this,_0x34005c(0x4fe),new Map()),A(this,_0x34005c(0x4d1),new j[(_0x34005c(0x452))]()),(this[_0x34005c(0x230)]=_0x47db12,this[_0x34005c(0x439)]=_0x4ef62b,this[_0x34005c(0x1b7)](j['merge'](this[_0x34005c(0x230)]['getTypeOfUnitDisposed$'](o[_0x34005c(0x2d1)][_0x34005c(0x1db)])[_0x34005c(0x222)](V['map'](_0x32e514=>_0x32e514['getUnitId']())),this[_0x34005c(0x230)]['getTypeOfUnitDisposed$'](o[_0x34005c(0x2d1)][_0x34005c(0x376)])[_0x34005c(0x222)](V[_0x34005c(0x3c4)](_0x3f3d7f=>_0x3f3d7f[_0x34005c(0x41a)]())),this[_0x34005c(0x230)]['getTypeOfUnitDisposed$'](o['UniverInstanceType'][_0x34005c(0x2e2)])[_0x34005c(0x222)](V['map'](_0x5e403b=>_0x5e403b[_0x34005c(0x41a)]())))['subscribe'](_0x439ae9=>this[_0x34005c(0x43f)](_0x439ae9))));}[_0x2f1e4f(0x199)](_0x562bf8){var _0x4bfa39=_0x2f1e4f;return this[_0x4bfa39(0x4fe)][_0x4bfa39(0x48f)](_0x562bf8)?j['of'](this[_0x4bfa39(0x4fe)][_0x4bfa39(0x389)](_0x562bf8)):this[_0x4bfa39(0x4d1)][_0x4bfa39(0x222)](V[_0x4bfa39(0x3c4)](_0x5b9940=>{if(_0x5b9940===_0x562bf8)return this['_roomMembers']['get'](_0x5b9940);}));}[_0x2f1e4f(0x4fc)](_0x12d282){var _0x410e3c=_0x2f1e4f;this[_0x410e3c(0x439)][_0x410e3c(0x4fc)](_0x12d282);}['getCurrentUser'](){var _0xb5222a=_0x2f1e4f;return this[_0xb5222a(0x439)]['getCurrentUser']();}['updateMember'](_0x38cce6,_0x19d10e){var _0x2a6846=_0x2f1e4f;let _0xc659e6=this[_0x2a6846(0x4fe)][_0x2a6846(0x389)](_0x38cce6);_0xc659e6||(_0xc659e6=new Yt(),this[_0x2a6846(0x4fe)][_0x2a6846(0x3d1)](_0x38cce6,_0xc659e6),this[_0x2a6846(0x4d1)][_0x2a6846(0x352)](_0x38cce6)),_0xc659e6[_0x2a6846(0x50f)](_0x19d10e);}[_0x2f1e4f(0x324)](_0x13a3ea,_0x1750ed){var _0x5e9d7d=_0x2f1e4f;const _0x424046=this[_0x5e9d7d(0x4fe)][_0x5e9d7d(0x389)](_0x13a3ea);_0x424046&&_0x424046[_0x5e9d7d(0x324)](_0x1750ed);}[_0x2f1e4f(0x30b)](_0x345725){var _0x1faa6f=_0x2f1e4f;return this[_0x1faa6f(0x4fe)]['get'](_0x345725);}[_0x2f1e4f(0x29f)](_0x8fc557,_0x41cfa5){var _0x53c702=_0x2f1e4f;const _0x200f44=this[_0x53c702(0x4fe)]['get'](_0x8fc557);if(_0x200f44)return _0x200f44[_0x53c702(0x29f)](_0x41cfa5);}[_0x2f1e4f(0x43f)](_0xfb30b3){var _0x3ff264=_0x2f1e4f;const _0x2447fe=this[_0x3ff264(0x4fe)][_0x3ff264(0x389)](_0xfb30b3);_0x2447fe&&(_0x2447fe[_0x3ff264(0x182)](),this['_roomMembers']['delete'](_0xfb30b3));}[_0x2f1e4f(0x182)](){var _0x35ea36=_0x2f1e4f;this[_0x35ea36(0x4fe)][_0x35ea36(0x1f7)](_0x101e7a=>_0x101e7a[_0x35ea36(0x182)]()),this[_0x35ea36(0x4fe)][_0x35ea36(0x225)](),this[_0x35ea36(0x4d1)][_0x35ea36(0x4ac)]();}},exports[_0x2f1e4f(0x28d)]=Gt([Ve(0x0,o[_0x2f1e4f(0x318)]),Ve(0x1,o['Inject'](o['UserManagerService']))],exports[_0x2f1e4f(0x28d)]);class Yt extends o[_0x2f1e4f(0x4f7)]{constructor(){var _0x4241e4=_0x2f1e4f;super(...arguments),A(this,_0x4241e4(0x351),new Map()),A(this,_0x4241e4(0x209),new j[(_0x4241e4(0x387))](this[_0x4241e4(0x351)])),A(this,_0x4241e4(0x251),this[_0x4241e4(0x209)][_0x4241e4(0x253)]());}[_0x2f1e4f(0x182)](){var _0x31fb5b=_0x2f1e4f;this[_0x31fb5b(0x351)][_0x31fb5b(0x225)]();}[_0x2f1e4f(0x50f)](_0x2d54f2){var _0x47b399=_0x2f1e4f;this[_0x47b399(0x351)][_0x47b399(0x3d1)](_0x2d54f2[_0x47b399(0x193)],_0x2d54f2),this[_0x47b399(0x3db)]();}[_0x2f1e4f(0x324)](_0xf79f33){var _0x22dff1=_0x2f1e4f;this['_members'][_0x22dff1(0x37e)](_0xf79f33);}[_0x2f1e4f(0x29f)](_0x20bea1){return this['_members']['get'](_0x20bea1);}[_0x2f1e4f(0x200)](){var _0xa97b89=_0x2f1e4f;return Array[_0xa97b89(0x322)](this[_0xa97b89(0x351)]['values']());}['_emitMembers'](){var _0xa010dc=_0x2f1e4f;this[_0xa010dc(0x209)]['next'](this[_0xa010dc(0x351)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0x17edfd,_0x40008b,_0x59e6b2,_0x2e8fc1)=>{var _0x1dd76c=_0x2f1e4f;for(var _0x233d9f=_0x2e8fc1>0x1?void 0x0:_0x2e8fc1?Kt(_0x40008b,_0x59e6b2):_0x40008b,_0x52831f=_0x17edfd[_0x1dd76c(0x237)]-0x1,_0x553ade;_0x52831f>=0x0;_0x52831f--)(_0x553ade=_0x17edfd[_0x52831f])&&(_0x233d9f=_0x553ade(_0x233d9f)||_0x233d9f);return _0x233d9f;},ce=(_0x258928,_0x3638a7)=>(_0x135bfa,_0x5ba47e)=>_0x3638a7(_0x135bfa,_0x5ba47e,_0x258928),se=(_0x49c483=>(_0x49c483[_0x49c483[_0x2f1e4f(0x313)]=0x0]=_0x2f1e4f(0x313),_0x49c483[_0x49c483['JOINING']=0x1]=_0x2f1e4f(0x4e0),_0x49c483[_0x49c483[_0x2f1e4f(0x294)]=0x2]=_0x2f1e4f(0x294),_0x49c483[_0x49c483[_0x2f1e4f(0x31d)]=0x3]='ONLINE',_0x49c483))(se||{});const We={[re[_0x2f1e4f(0x3be)]]:_0x2f1e4f(0x476),[re[_0x2f1e4f(0x40b)]]:_0x2f1e4f(0x4de),[re[_0x2f1e4f(0x45d)]]:_0x2f1e4f(0x333),[re['JOIN_ROOM_PERMISSION_DENIED']]:_0x2f1e4f(0x2c0),[re[_0x2f1e4f(0x41b)]]:_0x2f1e4f(0x454)};exports[_0x2f1e4f(0x401)]=class extends o['RxDisposable']{constructor(_0x5091ce,_0x4e3b2d,_0x286aa6,_0xe7995e,_0x3679c0,_0x2d65bc,_0x40b8f7,_0x4c7413){var _0x15be28=_0x2f1e4f;super(),A(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),A(this,_0x15be28(0x2b6),this[_0x15be28(0x1f0)][_0x15be28(0x253)]()),A(this,'_event$',new j['Subject']()),A(this,_0x15be28(0x2be),this[_0x15be28(0x4d7)][_0x15be28(0x253)]()),A(this,'_socket'),A(this,_0x15be28(0x34d)),A(this,_0x15be28(0x24a)),A(this,_0x15be28(0x3e2),!0x1),A(this,_0x15be28(0x250),null),(this[_0x15be28(0x20a)]=_0x5091ce,this['_logService']=_0x286aa6,this[_0x15be28(0x50e)]=_0xe7995e,this[_0x15be28(0x3a5)]=_0x3679c0,this[_0x15be28(0x45a)]=_0x2d65bc,this[_0x15be28(0x1f8)]=_0x40b8f7,this['_telemetryService']=_0x4c7413,this[_0x15be28(0x3e2)]=!!this[_0x15be28(0x2e0)],_0x4e3b2d[_0x15be28(0x222)](j['takeUntil'](this[_0x15be28(0x392)]))[_0x15be28(0x350)](_0x3bc288=>{var _0xf46bd8=_0x15be28,_0x1f857d;typeof _0x3bc288>'u'||(this[_0xf46bd8(0x185)]=_0x3bc288,_0x3bc288?(this['_joinRoom'](_0x3bc288),this['_socketMessageSubscription']=_0x3bc288['message$'][_0xf46bd8(0x350)](_0x13f398=>{var _0x54e088=_0xf46bd8;_0x13f398[_0x54e088(0x3d8)]===this[_0x54e088(0x20a)]&&this['_onCombEvent'](_0x13f398);})):(this[_0xf46bd8(0x4e8)](),this[_0xf46bd8(0x1f0)]['next'](0x2),(_0x1f857d=this[_0xf46bd8(0x34d)])==null||_0x1f857d[_0xf46bd8(0x4e2)](),this[_0xf46bd8(0x34d)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x308e79=_0x2f1e4f,_0x24435c,_0x618941;return(_0x618941=(_0x24435c=this[_0x308e79(0x185)])==null?void 0x0:_0x24435c[_0x308e79(0x193)])!=null?_0x618941:null;}[_0x2f1e4f(0x182)](){var _0xb8a08b=_0x2f1e4f;super[_0xb8a08b(0x182)](),this[_0xb8a08b(0x392)][_0xb8a08b(0x352)](),this[_0xb8a08b(0x392)][_0xb8a08b(0x4ac)]();}['close'](){var _0x43d40c=_0x2f1e4f,_0x70abd0,_0x565936;this[_0x43d40c(0x4e8)](),(_0x70abd0=this[_0x43d40c(0x185)])==null||_0x70abd0[_0x43d40c(0x513)]({'cmd':W[_0x43d40c(0x479)],'data':{'roomID':this['_unitID']}}),(_0x565936=this[_0x43d40c(0x185)])==null||_0x565936['close'](),this[_0x43d40c(0x4d7)][_0x43d40c(0x4ac)](),this[_0x43d40c(0x1f0)][_0x43d40c(0x4ac)](),this[_0x43d40c(0x182)]();}['_onCombEvent'](_0x3b4c35){var _0x13962e=_0x2f1e4f;_0x3b4c35[_0x13962e(0x2d4)]===W['JOIN']?this[_0x13962e(0x26b)](_0x3b4c35):_0x3b4c35[_0x13962e(0x2d4)]===W['RECV']&&this[_0x13962e(0x1fe)](_0x3b4c35);}['_joinRoom'](_0xc11eef){var _0x2f61d5=_0x2f1e4f;this[_0x2f61d5(0x1f0)]['next'](0x1),_0xc11eef[_0x2f61d5(0x513)]({'cmd':W[_0x2f61d5(0x23d)],'routeKey':this[_0x2f61d5(0x20a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2f1e4f(0x26b)](_0x4a4a23){var _0x3ecef9=_0x2f1e4f,_0x17a2a5;if(_0x4a4a23[_0x3ecef9(0x49e)]in We){this[_0x3ecef9(0x1f8)][_0x3ecef9(0x18f)]({'id':J[_0x3ecef9(0x3b3)],'data':We[_0x4a4a23[_0x3ecef9(0x49e)]]}),this['_sessionStatus$'][_0x3ecef9(0x352)](0x2);return;}this[_0x3ecef9(0x1f0)][_0x3ecef9(0x352)](0x3);const _0x539d33=(_0x17a2a5=_0x4a4a23['data'][_0x3ecef9(0x3b0)][this['_unitID']])==null?void 0x0:_0x17a2a5[_0x3ecef9(0x241)];_0x539d33&&_0x539d33[_0x3ecef9(0x1f7)](_0x1e2941=>this[_0x3ecef9(0x3a5)][_0x3ecef9(0x50f)](this[_0x3ecef9(0x20a)],_0x1e2941));}[_0x2f1e4f(0x1fe)](_0x41c649){var _0xb93d20=_0x2f1e4f;try{const _0x15f232=_0x41c649['data'];switch(_0x15f232[_0xb93d20(0x50b)]){case E[_0xb93d20(0x192)][_0xb93d20(0x49d)]:this[_0xb93d20(0x4a6)](_0x15f232),this[_0xb93d20(0x4d7)]['next'](_0x15f232);break;case E['CollaborationEvent'][_0xb93d20(0x38e)]:this[_0xb93d20(0x30a)](_0x15f232),this[_0xb93d20(0x4d7)][_0xb93d20(0x352)](_0x15f232);break;case E[_0xb93d20(0x192)][_0xb93d20(0x480)]:case E['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0xb93d20(0x2fd)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0xb93d20(0x352)](_0x15f232);break;case E['CollaborationEvent'][_0xb93d20(0x4c1)]:this[_0xb93d20(0x263)][_0xb93d20(0x3c3)](_0xb93d20(0x3cc)+JSON[_0xb93d20(0x1dd)](_0x15f232)),this[_0xb93d20(0x4d7)]['next'](_0x15f232);break;case E[_0xb93d20(0x192)][_0xb93d20(0x1a4)]:this[_0xb93d20(0x45a)][_0xb93d20(0x3cd)](_0x15f232['data']),this[_0xb93d20(0x4d7)][_0xb93d20(0x352)](_0x15f232);break;default:this[_0xb93d20(0x4d7)][_0xb93d20(0x352)](_0x15f232);}}catch(_0x3dca93){this['_logService']['error'](_0x3dca93,_0x41c649);}}[_0x2f1e4f(0x4a6)](_0x37d4b8){var _0x3d65fa=_0x2f1e4f;this[_0x3d65fa(0x3a5)][_0x3d65fa(0x50f)](this[_0x3d65fa(0x20a)],_0x37d4b8[_0x3d65fa(0x1a1)]);}[_0x2f1e4f(0x30a)](_0x1bb756){var _0x363a65=_0x2f1e4f;this[_0x363a65(0x3a5)][_0x363a65(0x324)](this[_0x363a65(0x20a)],_0x1bb756[_0x363a65(0x1a1)][_0x363a65(0x193)]);}async[_0x2f1e4f(0x513)](_0x4b9e31,_0x3e6b31){var _0x33bb59=_0x2f1e4f;if(this['sessionStatus']!==0x3||!this[_0x33bb59(0x185)])throw new Error(_0x33bb59(0x246));try{_0x4b9e31[_0x33bb59(0x50b)]===E[_0x33bb59(0x192)]['SUBMIT_CHANGESET']&&(this[_0x33bb59(0x2b9)](),this[_0x33bb59(0x23e)](_0x4b9e31)),this[_0x33bb59(0x185)]['send']({'cmd':W[_0x33bb59(0x423)],'routeKey':_0x3e6b31,'routeType':'','data':_0x4b9e31});}catch(_0x466e0a){this[_0x33bb59(0x263)][_0x33bb59(0x3c3)](_0x466e0a);}}['_scheduleCollaborationTimeoutTimer'](){var _0x136d3b=_0x2f1e4f,_0x1008d1;this[_0x136d3b(0x24a)]=setTimeout(()=>{var _0x5b2768=_0x136d3b;this[_0x5b2768(0x24a)]=null,this[_0x5b2768(0x1f8)][_0x5b2768(0x18f)]({'id':J[_0x5b2768(0x388)]});},(_0x1008d1=this[_0x136d3b(0x50e)][_0x136d3b(0x39d)](ke))!=null?_0x1008d1:ut);}['_clearCollaborationTimeoutTimer'](){var _0x40496d=_0x2f1e4f;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x40496d(0x24a)]=null);}[_0x2f1e4f(0x23e)](_0x5aebba){var _0x46c67a=_0x2f1e4f;if(!this[_0x46c67a(0x3e2)])return;const {data:_0x3182d1}=_0x5aebba,{unitID:_0x572047,changeset:_0x59df86}=_0x3182d1,{mutations:_0x192367,type:_0x4c876e}=_0x59df86;this['_telemetryInfo']={'unitId':_0x572047,'type':_0x4c876e,'startTime':performance[_0x46c67a(0x1f9)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x192367)};}[_0x2f1e4f(0x2fd)](){var _0x441ccb=_0x2f1e4f;if(this[_0x441ccb(0x3e2)]){if(!this[_0x441ccb(0x250)]){this[_0x441ccb(0x263)][_0x441ccb(0x3c3)](_0x441ccb(0x457),_0x441ccb(0x1f1));return;}this[_0x441ccb(0x250)][_0x441ccb(0x23c)]=performance[_0x441ccb(0x1f9)](),this[_0x441ccb(0x250)][_0x441ccb(0x329)]=this[_0x441ccb(0x250)][_0x441ccb(0x23c)]-this[_0x441ccb(0x250)][_0x441ccb(0x1a9)],this[_0x441ccb(0x2e0)][_0x441ccb(0x3f8)](Ft,this[_0x441ccb(0x250)]),this[_0x441ccb(0x250)]=null;}}[_0x2f1e4f(0x4e8)](){var _0x22bdff=_0x2f1e4f;this[_0x22bdff(0x250)]=null;}},exports[_0x2f1e4f(0x401)]=qt([ce(0x2,o[_0x2f1e4f(0x33f)]),ce(0x3,o[_0x2f1e4f(0x2f0)]),ce(0x4,o[_0x2f1e4f(0x408)](exports[_0x2f1e4f(0x28d)])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x2f1e4f(0x408)](ee)),ce(0x7,o[_0x2f1e4f(0x238)](Dt[_0x2f1e4f(0x30e)]))],exports['CollaborationSession']);const q=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x1fb));function zt(_0x5e6375){return'unit-cache-'+_0x5e6375;}var Xt=Object[_0x2f1e4f(0x4dc)],Jt=(_0x1db6dd,_0x97ecdc,_0x502e95,_0x2c612a)=>{var _0x331805=_0x2f1e4f;for(var _0x2fb24=_0x2c612a>0x1?void 0x0:_0x2c612a?Xt(_0x97ecdc,_0x502e95):_0x97ecdc,_0x1724d1=_0x1db6dd[_0x331805(0x237)]-0x1,_0x1e9286;_0x1724d1>=0x0;_0x1724d1--)(_0x1e9286=_0x1db6dd[_0x1724d1])&&(_0x2fb24=_0x1e9286(_0x2fb24)||_0x2fb24);return _0x2fb24;},Ue=(_0x33ab2a,_0x266d74)=>(_0x292fee,_0xde656b)=>_0x266d74(_0x292fee,_0xde656b,_0x33ab2a);function Zt(_0x2c0f24){var _0x259ee5=_0x2f1e4f;const {unitID:_0x386a7a,mutations:_0x50b4c0}=_0x2c0f24;return{'unitId':_0x386a7a,'subUnitId':_0x50b4c0[_0x259ee5(0x237)]>0x0?_0x50b4c0[0x0][_0x259ee5(0x2d3)]['subUnitId']:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x26019a,_0x5e0ad5,_0x116c3b){var _0x55248a=_0x2f1e4f;this[_0x55248a(0x187)]=_0x26019a,this[_0x55248a(0x443)]=_0x5e0ad5,this[_0x55248a(0x227)]=_0x116c3b;}['transformSelections'](_0x17412f){var _0x2d3304=_0x2f1e4f,_0x4fc351,_0x1761b3,_0x3def65,_0x2b1d4c;const _0x1e1b5c=this['_injector']['get'](Q['SheetsSelectionsService']),{unitId:_0x17f7b2,subUnitId:_0x1e88d0}=Zt(_0x17412f),_0x941726=_0x1e1b5c==null?void 0x0:_0x1e1b5c[_0x2d3304(0x2a0)](_0x17f7b2)[_0x2d3304(0x1be)](),_0x3813ca=(_0x1761b3=(_0x4fc351=this['_instanceService']['getUnit'](_0x17f7b2))==null?void 0x0:_0x4fc351[_0x2d3304(0x3a1)]())==null?void 0x0:_0x1761b3['getSheetId']();if(_0x941726[_0x2d3304(0x237)]===0x0||!_0x17f7b2||!_0x1e88d0)return;const _0x5508ae=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x17f7b2,'subUnitId':_0x3813ca,'selections':o[_0x2d3304(0x4be)][_0x2d3304(0x278)](_0x941726)}}],_0x15860f=this['_transformService'][_0x2d3304(0x42b)](_0x17412f,_0x5508ae);if(!E[_0x2d3304(0x4c8)](_0x15860f))throw _0x15860f[_0x2d3304(0x3c3)];const _0x16d650=(_0x2b1d4c=(_0x3def65=_0x15860f[_0x2d3304(0x393)][0x0])==null?void 0x0:_0x3def65['params'])==null?void 0x0:_0x2b1d4c[_0x2d3304(0x1e7)];if(Array[_0x2d3304(0x2f1)](_0x16d650)&&_0x16d650[_0x2d3304(0x237)]){if(_0x16d650[_0x2d3304(0x237)]===_0x5508ae[0x0][_0x2d3304(0x2d3)]['selections'][_0x2d3304(0x237)]&&_0x16d650[_0x2d3304(0x2a5)]((_0x3473c4,_0x4f4ab2)=>o['Rectangle']['equals'](_0x3473c4[_0x2d3304(0x45e)],_0x5508ae[0x0][_0x2d3304(0x2d3)]['selections'][_0x4f4ab2][_0x2d3304(0x45e)])))return;this['_injector'][_0x2d3304(0x389)](o[_0x2d3304(0x1bc)])['executeCommand'](Q[_0x2d3304(0x33b)]['id'],{'unitId':_0x17f7b2,'subUnitId':_0x3813ca,'selections':_0x16d650});}}},exports[_0x2f1e4f(0x42a)]=Jt([Ue(0x0,o[_0x2f1e4f(0x408)](o['Injector'])),Ue(0x1,E[_0x2f1e4f(0x2ac)]),Ue(0x2,o[_0x2f1e4f(0x318)])],exports[_0x2f1e4f(0x42a)]);const ve=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x4cd));var He=(_0x337455=>(_0x337455[_0x337455[_0x2f1e4f(0x3e6)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x337455[_0x337455[_0x2f1e4f(0x194)]=0x1]=_0x2f1e4f(0x194),_0x337455))(He||{});const Y=_0x2f1e4f(0x418),Qt={};function ei(_0x1282df){var _0x5afd52=_0x2f1e4f,_0x5e468d;return!!((_0x5e468d=_0x1282df[_0x5afd52(0x2d3)])!=null&&_0x5e468d[_0x5afd52(0x19d)]);}const ti=new Set([Q[_0x2f1e4f(0x512)]['id']]);function Ge(_0x315f2e,_0xa16504,_0x3ec4e8,_0x27e07b,_0x59e6eb){var _0xf0d11d=_0x2f1e4f,_0x579951,_0x1e7121,_0x3a429d,_0x3a3bf4;const _0x6b15b6=[];for(const _0x1490cd of _0x315f2e){if(ti['has'](_0x1490cd['id'])){if(_0x6b15b6[_0xf0d11d(0x237)]>0x0)break;_0x6b15b6[_0xf0d11d(0x1b2)](_0x1490cd);break;}if(ei(_0x1490cd)){if(_0x6b15b6[_0xf0d11d(0x237)]>0x0)break;_0x6b15b6[_0xf0d11d(0x1b2)](_0x1490cd);break;}_0x6b15b6[_0xf0d11d(0x1b2)](_0x1490cd);}const _0x3ebcbe=(_0x1e7121=(_0x579951=_0x59e6eb[_0xf0d11d(0x260)]())==null?void 0x0:_0x579951[_0xf0d11d(0x46e)])!=null?_0x1e7121:_0xf0d11d(0x43a),_0x201b9a=(_0x3a3bf4=(_0x3a429d=_0x59e6eb['getCurrentUser']())==null?void 0x0:_0x3a429d[_0xf0d11d(0x193)])!=null?_0x3a3bf4:'unknown';return{'changeset':{'unitID':_0xa16504,'type':E['mapDocumentTypeToUniverType'](_0x3ec4e8[_0xf0d11d(0x34f)](_0xa16504)),'baseRev':_0x27e07b[_0xf0d11d(0x4da)](_0xa16504),'revision':0x0,'userID':_0x3ebcbe,'memberID':_0x201b9a,'mutations':_0x6b15b6},'pendingMutations':_0x315f2e['slice'](_0x6b15b6[_0xf0d11d(0x237)])};}function ii(_0x5910ef,_0x1979dd,_0x42bdd0,_0x301f9a,_0x271182){var _0x38a36f=_0x2f1e4f,_0x39cbcf,_0x354123,_0x584f64,_0x531d3c;const _0x5c8827=[_0x5910ef[_0x38a36f(0x249)]((_0x341b53,_0x873efa)=>{var _0x1b6dc5=_0x38a36f,_0x2d51d4;const {id:_0x53595a}=_0x341b53,{id:_0x561547,type:_0x51c6b3}=_0x873efa,_0x24b745=(_0x2d51d4=_0x341b53[_0x1b6dc5(0x2d3)])!=null?_0x2d51d4:{'actions':null},_0x100cce=_0x873efa['params'];if(_0x53595a&&_0x53595a!==_0x561547)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x53595a+_0x1b6dc5(0x506)+_0x561547+'.');return{..._0x341b53,'id':_0x561547,'type':_0x51c6b3,'params':{'unitId':_0x100cce[_0x1b6dc5(0x204)],'textRanges':_0x100cce['textRanges'],'actions':o[_0x1b6dc5(0x49c)][_0x1b6dc5(0x405)](_0x24b745[_0x1b6dc5(0x4a1)],_0x100cce[_0x1b6dc5(0x4a1)])}};},{})],_0x164c1b=(_0x354123=(_0x39cbcf=_0x271182[_0x38a36f(0x260)]())==null?void 0x0:_0x39cbcf['userID'])!=null?_0x354123:'unknown',_0x4e1856=(_0x531d3c=(_0x584f64=_0x271182['getCurrentUser']())==null?void 0x0:_0x584f64['memberID'])!=null?_0x531d3c:'unknown';return{'changeset':{'unitID':_0x1979dd,'type':E[_0x38a36f(0x2ba)](_0x42bdd0[_0x38a36f(0x34f)](_0x1979dd)),'baseRev':_0x301f9a['getCurrentRevOfUnit'](_0x1979dd),'revision':0x0,'userID':_0x164c1b,'memberID':_0x4e1856,'mutations':_0x5c8827},'pendingMutations':[]};}function It(_0x264dbb,_0x24c4c3){var _0x43e6c7=_0x2f1e4f;const _0x352702=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x352702[_0x43e6c7(0x352)](_0x24c4c3),_0x264dbb),_0x352702[_0x43e6c7(0x253)]()['pipe'](j[_0x43e6c7(0x374)](0x1));}var ni=Object[_0x2f1e4f(0x4dc)],ae=(_0x328987,_0x5632b9,_0x4f8734,_0x26982a)=>{for(var _0x50172f=_0x26982a>0x1?void 0x0:_0x26982a?ni(_0x5632b9,_0x4f8734):_0x5632b9,_0x4c7fcb=_0x328987['length']-0x1,_0x206ec4;_0x4c7fcb>=0x0;_0x4c7fcb--)(_0x206ec4=_0x328987[_0x4c7fcb])&&(_0x50172f=_0x206ec4(_0x50172f)||_0x50172f);return _0x50172f;},L=(_0x12b677,_0x42bd3f)=>(_0xae5675,_0x2148b0)=>_0x42bd3f(_0xae5675,_0x2148b0,_0x12b677),je=(_0xa35f5e=>(_0xa35f5e[_0x2f1e4f(0x191)]='not_collab',_0xa35f5e[_0x2f1e4f(0x210)]=_0x2f1e4f(0x2fa),_0xa35f5e[_0x2f1e4f(0x385)]=_0x2f1e4f(0x44c),_0xa35f5e[_0x2f1e4f(0x340)]='awaiting',_0xa35f5e[_0x2f1e4f(0x183)]=_0x2f1e4f(0x2d7),_0xa35f5e[_0x2f1e4f(0x3e7)]=_0x2f1e4f(0x22d),_0xa35f5e['CONFLICT']=_0x2f1e4f(0x3fe),_0xa35f5e[_0x2f1e4f(0x294)]=_0x2f1e4f(0x3fd),_0xa35f5e))(je||{});const ft=0x4e20,Et=0x2bf20;class oe{constructor(_0x537313,_0x26ef4f,_0x28536b,_0x390882,_0x594aa5,_0x17fec8,_0x30bb90,_0x4b9ae0,_0x3d5172){var _0x2e32e0=_0x2f1e4f;A(this,'_awaitingChangeset',null),A(this,_0x2e32e0(0x45b),[]),(this[_0x2e32e0(0x261)]=_0x537313,this[_0x2e32e0(0x4e1)]=_0x26ef4f,this[_0x2e32e0(0x3ee)]=_0x594aa5,this[_0x2e32e0(0x211)]=_0x17fec8,this[_0x2e32e0(0x475)]=_0x30bb90,this[_0x2e32e0(0x484)]=_0x4b9ae0,this[_0x2e32e0(0x438)]=_0x3d5172,this[_0x2e32e0(0x27b)]=_0x28536b,this[_0x2e32e0(0x45b)]=_0x390882);}['_checkMissing'](_0x32da5d){var _0x5bd0ac=_0x2f1e4f;const _0x3d3b52=this[_0x5bd0ac(0x484)][_0x5bd0ac(0x4da)](this[_0x5bd0ac(0x261)]);return _0x32da5d[_0x5bd0ac(0x279)]>_0x3d3b52+0x1?(this['_handler'][_0x5bd0ac(0x272)]({'from':_0x3d3b52,'to':_0x32da5d[_0x5bd0ac(0x279)]-0x1}),!0x0):!0x1;}[_0x2f1e4f(0x216)](_0x52f791){var _0x56fc10=_0x2f1e4f;this['_undoRedoService'][_0x56fc10(0x3c2)](this[_0x56fc10(0x261)],_0x52f791);}[_0x2f1e4f(0x1b1)](_0xa9daca){var _0x1d70c6=_0x2f1e4f,_0xe9dd2b,_0xa5de2d;(_0xa5de2d=(_0xe9dd2b=this[_0x1d70c6(0x3ee)])[_0x1d70c6(0x495)])==null||_0xa5de2d[_0x1d70c6(0x47a)](_0xe9dd2b,_0xa9daca);}['_transformIMECache'](_0x330de2){var _0x3dca94=_0x2f1e4f,_0x4d6526,_0xc2da5c;return(_0xc2da5c=(_0x4d6526=this['_handler'])['onTransformIME'])==null?void 0x0:_0xc2da5c[_0x3dca94(0x47a)](_0x4d6526,_0x330de2);}['_transformStateCache'](_0x525d3b){var _0x2f27ef=_0x2f1e4f,_0x17f1d2,_0xb74e99;return(_0xb74e99=(_0x17f1d2=this[_0x2f27ef(0x3ee)])[_0x2f27ef(0x32c)])==null?void 0x0:_0xb74e99[_0x2f27ef(0x47a)](_0x17f1d2,_0x525d3b);}[_0x2f1e4f(0x3da)](_0x59c5a6){var _0xf10f9a=_0x2f1e4f,_0x2ffcf3,_0x4206fc,_0x635614;return(_0x635614=(_0x4206fc=(_0x2ffcf3=this['_handler'])[_0xf10f9a(0x31e)])==null?void 0x0:_0x4206fc[_0xf10f9a(0x47a)](_0x2ffcf3,_0x59c5a6))!=null?_0x635614:_0x59c5a6;}[_0x2f1e4f(0x431)](_0x396e60){var _0xf62cec=_0x2f1e4f,_0x104220,_0x2974de,_0xab06cf;return(_0xab06cf=(_0x2974de=(_0x104220=this['_handler'])[_0xf62cec(0x4a9)])==null?void 0x0:_0x2974de[_0xf62cec(0x47a)](_0x104220,_0x396e60))!=null?_0xab06cf:_0x396e60;}['_syncEditingCollabCursor'](_0x325c66){var _0x264c7f=_0x2f1e4f,_0x9d42,_0x5b9745;if(this[_0x264c7f(0x4e1)]===X['UNIVER_DOC']){const {unitID:_0x3c888b,mutations:_0x3d75a9,memberID:_0x5b5add}=_0x325c66,_0x35b29c=_0x3d75a9[_0x264c7f(0x237)]>0x0?_0x3d75a9[0x0][_0x264c7f(0x2d3)][_0x264c7f(0x367)]:[];Array[_0x264c7f(0x2f1)](_0x35b29c)&&_0x35b29c[_0x264c7f(0x237)]>0x0&&((_0x5b9745=(_0x9d42=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x5b9745[_0x264c7f(0x47a)](_0x9d42,{'unitID':_0x3c888b,'memberID':_0x5b5add,'textRanges':_0x35b29c}));}}[_0x2f1e4f(0x35c)](){var _0x9f6c19=_0x2f1e4f,_0x2964a3;(_0x2964a3=this[_0x9f6c19(0x438)])==null||_0x2964a3[_0x9f6c19(0x514)](this[_0x9f6c19(0x261)],this[_0x9f6c19(0x4e1)],this[_0x9f6c19(0x27b)],this[_0x9f6c19(0x45b)]);}[_0x2f1e4f(0x4a7)](){var _0x312d8c=_0x2f1e4f;return this[_0x312d8c(0x484)][_0x312d8c(0x4da)](this[_0x312d8c(0x261)]);}[_0x2f1e4f(0x31c)](){var _0x4411fe=_0x2f1e4f;this[_0x4411fe(0x484)]['incrementRevOfUnit'](this['unitID']);}[_0x2f1e4f(0x1b6)](_0x57a755){var _0x52472=_0x2f1e4f,_0x3be425;let _0x17a55b=this[_0x52472(0x3da)](_0x57a755);_0x17a55b=this[_0x52472(0x431)](_0x17a55b);const _0x370b9c=o[_0x52472(0x213)](_0x17a55b[_0x52472(0x2dc)],this[_0x52472(0x211)],{'fromCollab':!0x0});if(!_0x370b9c[_0x52472(0x4c0)])throw _0x370b9c[_0x52472(0x3c3)]instanceof Error?_0x370b9c[_0x52472(0x3c3)]:new Error((_0x3be425=_0x370b9c['error'])!=null?_0x3be425:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x17a55b),this[_0x52472(0x19f)](_0x17a55b),this['_transformUndoredo'](_0x57a755),this[_0x52472(0x1b1)](_0x17a55b),this[_0x52472(0x391)](_0x17a55b),this[_0x52472(0x31c)]();}}exports['SyncedState']=class extends oe{constructor(_0x4b2331,_0x146c4e,_0x511cda,_0xbab48,_0x37245f,_0x5c78b6,_0x3bccca,_0x2879a4,_0x414dbd,_0x86c0e9){var _0x15682c=_0x2f1e4f;super(_0x4b2331,_0x146c4e,null,[],_0x511cda,_0x3bccca,_0x5c78b6,_0xbab48,_0x86c0e9),A(this,_0x15682c(0x1c9),'synced'),(this['_injector']=_0x37245f,this[_0x15682c(0x263)]=_0x2879a4,this[_0x15682c(0x443)]=_0x414dbd,this[_0x15682c(0x31b)]=_0x86c0e9);}['appendMutation'](_0x454be8){var _0x542953=_0x2f1e4f;const _0x460349=this[_0x542953(0x187)]['createInstance'](exports[_0x542953(0x20b)],this[_0x542953(0x261)],this[_0x542953(0x4e1)],[_0x454be8],this['_handler']);return _0x460349[_0x542953(0x469)](),_0x460349[_0x542953(0x35c)](),_0x460349;}[_0x2f1e4f(0x22b)](_0x46b9e1){var _0xbc005a=_0x2f1e4f;if(this[_0xbc005a(0x286)](_0x46b9e1))return this['_injector'][_0xbc005a(0x4fa)](exports[_0xbc005a(0x3ec)],this[_0xbc005a(0x261)],this[_0xbc005a(0x4e1)],null,[],null,[_0x46b9e1],this[_0xbc005a(0x3ee)]);try{const _0x35f628=this[_0xbc005a(0x443)]['transformMutationsWithChangeset'](_0x46b9e1,[E[_0xbc005a(0x197)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x35f628)){const {c1Prime:_0x4dd0c7}=_0x35f628;return this[_0xbc005a(0x1b6)](_0x4dd0c7),this;}throw _0x35f628[_0xbc005a(0x3c3)];}catch(_0xf5295b){return this[_0xbc005a(0x263)][_0xbc005a(0x3c3)](_0xf5295b),this[_0xbc005a(0x471)](!0x1);}}[_0x2f1e4f(0x471)](_0x57bf26){var _0x6dc931=_0x2f1e4f;return this[_0x6dc931(0x187)][_0x6dc931(0x4fa)](exports[_0x6dc931(0x447)],this[_0x6dc931(0x261)],this['type'],null,[],this[_0x6dc931(0x3ee)],_0x57bf26);}[_0x2f1e4f(0x3a3)](){var _0x5afb63=_0x2f1e4f;throw new Error(_0x5afb63(0x3ff));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2f1e4f(0x4c9)](){return this;}[_0x2f1e4f(0x487)](){var _0x46781a=_0x2f1e4f;return this[_0x46781a(0x187)][_0x46781a(0x4fa)](exports[_0x46781a(0x2c5)],this[_0x46781a(0x261)],this[_0x46781a(0x4e1)],null,[],this[_0x46781a(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){var _0x35c5ad=_0x2f1e4f;throw new Error(_0x35c5ad(0x314));}[_0x2f1e4f(0x46a)](){var _0x40a272=_0x2f1e4f;const _0x38a245=this[_0x40a272(0x484)][_0x40a272(0x4da)](this[_0x40a272(0x261)]);return this[_0x40a272(0x3ee)]['onMissingChangesets']({'from':_0x38a245,'to':0x0}),this[_0x40a272(0x187)]['createInstance'](exports[_0x40a272(0x3ec)],this[_0x40a272(0x261)],this[_0x40a272(0x4e1)],null,[],null,[],this[_0x40a272(0x3ee)]);}},exports[_0x2f1e4f(0x29b)]=ae([L(0x3,o['Inject'](E[_0x2f1e4f(0x4ec)])),L(0x4,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),L(0x5,o[_0x2f1e4f(0x2cd)]),L(0x6,o[_0x2f1e4f(0x1bc)]),L(0x7,o['ILogService']),L(0x8,E['ITransformService']),L(0x9,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x29b)]),exports['PendingState']=class extends oe{constructor(_0x519428,_0x24672c,_0x4ba155,_0x5dbb72,_0x4c0e0e,_0x420fb0,_0x47a070,_0x451fbe,_0x2cdd16,_0x3e2372,_0x3e4cdc,_0x377583,_0x1e500e,_0x3bdf82){var _0x5781e2=_0x2f1e4f;super(_0x519428,_0x24672c,null,_0x4ba155,_0x5dbb72,_0x2cdd16,_0x1e500e,_0x420fb0,_0x3bdf82),A(this,_0x5781e2(0x1c9),_0x5781e2(0x44c)),A(this,_0x5781e2(0x325),null),A(this,'_sendingTimer',null),(this[_0x5781e2(0x187)]=_0x4c0e0e,this[_0x5781e2(0x3a5)]=_0x47a070,this['_logService']=_0x451fbe,this[_0x5781e2(0x50e)]=_0x3e2372,this[_0x5781e2(0x443)]=_0x3e4cdc,this[_0x5781e2(0x230)]=_0x377583);}['appendMutation'](_0x1d2e3c){var _0x1a2a2c=_0x2f1e4f;return this[_0x1a2a2c(0x45b)][_0x1a2a2c(0x1b2)](_0x1d2e3c),this[_0x1a2a2c(0x35c)](),this;}[_0x2f1e4f(0x22b)](_0x9c69c1){var _0xbf8b69=_0x2f1e4f;if(this[_0xbf8b69(0x286)](_0x9c69c1))return this[_0xbf8b69(0x22c)](),this[_0xbf8b69(0x187)][_0xbf8b69(0x4fa)](exports[_0xbf8b69(0x3ec)],this[_0xbf8b69(0x261)],this[_0xbf8b69(0x4e1)],null,this[_0xbf8b69(0x45b)],null,[_0x9c69c1],this[_0xbf8b69(0x3ee)]);try{const _0x18b63b=this[_0xbf8b69(0x443)][_0xbf8b69(0x42b)](_0x9c69c1,this[_0xbf8b69(0x45b)]);if(E[_0xbf8b69(0x4c8)](_0x18b63b)){const {c1Prime:_0x173fe4,m2Prime:_0x4328d2}=_0x18b63b;this['_executeRemoteChangeset'](_0x173fe4);const _0x3fa350=this[_0xbf8b69(0x187)][_0xbf8b69(0x4fa)](exports[_0xbf8b69(0x20b)],this[_0xbf8b69(0x261)],this[_0xbf8b69(0x4e1)],_0x4328d2,this[_0xbf8b69(0x3ee)]);this[_0xbf8b69(0x22c)]();const _0x2b732d=new Date()[_0xbf8b69(0x39c)](),_0x3909d1=this[_0xbf8b69(0x325)]?Math[_0xbf8b69(0x395)](this[_0xbf8b69(0x325)]-_0x2b732d,0x0):this[_0xbf8b69(0x29e)]();return _0x3fa350[_0xbf8b69(0x469)](_0x3909d1),_0x3fa350;}throw _0x18b63b[_0xbf8b69(0x3c3)];}catch(_0x54f465){return this[_0xbf8b69(0x263)]['error'](_0x54f465),this[_0xbf8b69(0x471)](!0x1);}}[_0x2f1e4f(0x3a3)](){var _0x855ec6=_0x2f1e4f;throw new Error(_0x855ec6(0x4cc));}[_0x2f1e4f(0x1aa)](){var _0x22afbb=_0x2f1e4f;throw new Error(_0x22afbb(0x4db));}[_0x2f1e4f(0x4c9)](){return this;}['toggleOffline'](){var _0x22fafe=_0x2f1e4f;return this[_0x22fafe(0x22c)](),this[_0x22fafe(0x187)][_0x22fafe(0x4fa)](exports[_0x22fafe(0x2c5)],this[_0x22fafe(0x261)],this[_0x22fafe(0x4e1)],null,this[_0x22fafe(0x45b)],this['_handler']);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x469)](_0x8a98fe){var _0xe5507e=_0x2f1e4f;const _0x288966=_0x8a98fe!=null?_0x8a98fe:this[_0xe5507e(0x29e)]();this[_0xe5507e(0x325)]=new Date()[_0xe5507e(0x39c)]()+_0x288966,this['_sendingTimer']=setTimeout(()=>{var _0x4b1860=_0xe5507e;this['_clearScheduledTask']();let _0x134a53=null;switch(this[_0x4b1860(0x4e1)]){case X[_0x4b1860(0x1db)]:{_0x134a53=Ge(this[_0x4b1860(0x45b)],this[_0x4b1860(0x261)],this[_0x4b1860(0x230)],this['_revisionService'],this[_0x4b1860(0x3a5)]);break;}case X[_0x4b1860(0x376)]:{this[_0x4b1860(0x45b)]['every'](_0xbe8313=>_0xbe8313['id']===ct['RichTextEditingMutation']['id'])?_0x134a53=ii(this['_pendingMutations'],this[_0x4b1860(0x261)],this['_univerInstanceService'],this[_0x4b1860(0x484)],this[_0x4b1860(0x3a5)]):_0x134a53=Ge(this[_0x4b1860(0x45b)],this[_0x4b1860(0x261)],this[_0x4b1860(0x230)],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4b1860(0x4e1)]+_0x4b1860(0x508));}const {changeset:_0x1d93d0,pendingMutations:_0x355b42}=_0x134a53;this[_0x4b1860(0x3ee)][_0x4b1860(0x2bb)](_0x1d93d0);const _0xb73306=_0x355b42[_0x4b1860(0x237)]?this['_injector']['createInstance'](exports[_0x4b1860(0x48e)],this[_0x4b1860(0x261)],this[_0x4b1860(0x4e1)],_0x1d93d0,_0x355b42,this[_0x4b1860(0x3ee)],void 0x0):this[_0x4b1860(0x187)]['createInstance'](exports['AwaitingState'],this['unitID'],this['type'],_0x1d93d0,this[_0x4b1860(0x3ee)]);_0xb73306[_0x4b1860(0x35c)](),this[_0x4b1860(0x3ee)][_0x4b1860(0x3f3)](this,_0xb73306);},_0x288966);}[_0x2f1e4f(0x29e)](){var _0x28dfbe=_0x2f1e4f,_0x1a5baa;const _0x16746c=this['_configService'][_0x28dfbe(0x39d)](Y);return(_0x1a5baa=_0x16746c==null?void 0x0:_0x16746c[_0x28dfbe(0x3c0)])!=null?_0x1a5baa:At;}[_0x2f1e4f(0x190)](){var _0x3390d7=_0x2f1e4f;throw new Error(_0x3390d7(0x4dd));}[_0x2f1e4f(0x22c)](){var _0x26a955=_0x2f1e4f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x26a955(0x2e7)]),this[_0x26a955(0x2e7)]=null);}[_0x2f1e4f(0x471)](_0x253987){var _0x489aa1=_0x2f1e4f;return this[_0x489aa1(0x22c)](),this['_injector'][_0x489aa1(0x4fa)](exports['ConflictState'],this['unitID'],this[_0x489aa1(0x4e1)],null,this['_pendingMutations'],this[_0x489aa1(0x3ee)],_0x253987);}},exports[_0x2f1e4f(0x20b)]=ae([L(0x4,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),L(0x5,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x6,o['Inject'](exports[_0x2f1e4f(0x28d)])),L(0x7,o[_0x2f1e4f(0x33f)]),L(0x8,o[_0x2f1e4f(0x1bc)]),L(0x9,o[_0x2f1e4f(0x2f0)]),L(0xa,E[_0x2f1e4f(0x2ac)]),L(0xb,o[_0x2f1e4f(0x318)]),L(0xc,o['IUndoRedoService']),L(0xd,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x20b)]),exports['AwaitingState']=class extends oe{constructor(_0x2e19be,_0x15a4a0,_0x516a47,_0x250e9b,_0x1717f,_0x5920d9,_0x173650,_0x3bde63,_0x1e8f91,_0x4a8a9e,_0xd31393){var _0x57d13f=_0x2f1e4f;super(_0x2e19be,_0x15a4a0,_0x516a47,[],_0x250e9b,_0x173650,_0x4a8a9e,_0x5920d9,_0xd31393),A(this,_0x57d13f(0x1c9),_0x57d13f(0x2c7)),A(this,_0x57d13f(0x287),0x0),A(this,_0x57d13f(0x1f5),0x0),A(this,_0x57d13f(0x1d0)),A(this,_0x57d13f(0x28c)),(this[_0x57d13f(0x187)]=_0x1717f,this[_0x57d13f(0x263)]=_0x3bde63,this[_0x57d13f(0x443)]=_0x1e8f91);}[_0x2f1e4f(0x27e)](_0x1f7cfb){var _0x1f3060=_0x2f1e4f;this[_0x1f3060(0x22c)]();const _0x52b9dd=this['_injector'][_0x1f3060(0x4fa)](exports[_0x1f3060(0x48e)],this[_0x1f3060(0x261)],this[_0x1f3060(0x4e1)],this['_awaitingChangeset'],[_0x1f7cfb],this[_0x1f3060(0x3ee)],this[_0x1f3060(0x1d0)]);return _0x52b9dd['_updateLocalCache'](),_0x52b9dd;}[_0x2f1e4f(0x22b)](_0x2c6184){var _0x1c54b6=_0x2f1e4f;if(this['_checkMissing'](_0x2c6184))return this[_0x1c54b6(0x22c)](),this[_0x1c54b6(0x187)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x1c54b6(0x4e1)],this[_0x1c54b6(0x27b)],[],null,[_0x2c6184],this[_0x1c54b6(0x3ee)]);try{const _0x3d2a35=this[_0x1c54b6(0x443)][_0x1c54b6(0x4ae)]([_0x2c6184],[this[_0x1c54b6(0x27b)]],!0x1);if(E[_0x1c54b6(0x242)](_0x3d2a35)){const {c1Prime:_0x3eec24,c2Prime:_0x131248}=_0x3d2a35;this[_0x1c54b6(0x1b6)](_0x3eec24[0x0]),_0x131248[0x0][_0x1c54b6(0x434)]=this[_0x1c54b6(0x4a7)](),this[_0x1c54b6(0x22c)]();const _0x5b2b25=this[_0x1c54b6(0x187)][_0x1c54b6(0x4fa)](exports[_0x1c54b6(0x490)],this['unitID'],this['type'],_0x131248[0x0],this[_0x1c54b6(0x3ee)]);return _0x5b2b25['_updateLocalCache'](),_0x5b2b25;}return this[_0x1c54b6(0x471)](!0x1);}catch(_0x3b97ae){return this['_logService'][_0x1c54b6(0x3c3)](_0x3b97ae),this[_0x1c54b6(0x471)](!0x1);}}[_0x2f1e4f(0x3a3)](_0x3f8dae){var _0x316704=_0x2f1e4f;this['_clearScheduledTask']();const _0xe4841e=this[_0x316704(0x484)]['getCurrentRevOfUnit'](this[_0x316704(0x261)]);if(_0x3f8dae[_0x316704(0x279)]<_0xe4841e-0x1)return this;if(this[_0x316704(0x286)](_0x3f8dae))return this['_injector']['createInstance'](exports[_0x316704(0x3ec)],this[_0x316704(0x261)],this[_0x316704(0x4e1)],null,[],this['_awaitingChangeset'],[],this[_0x316704(0x3ee)]);this[_0x316704(0x31c)]();const _0x3fe117=this['_injector'][_0x316704(0x4fa)](exports[_0x316704(0x29b)],this[_0x316704(0x261)],this[_0x316704(0x4e1)],this[_0x316704(0x3ee)]);return _0x3fe117[_0x316704(0x35c)](),_0x3fe117;}['onRemoteRej'](_0x4015f9){var _0x2800c3=_0x2f1e4f;return this[_0x2800c3(0x471)](!!(_0x4015f9!=null&&_0x4015f9['isPermissionRej']));}[_0x2f1e4f(0x4c9)](_0x4d93c5){var _0x15ebd2=_0x2f1e4f;return this['_maxTotalRetryTimeout']>Et?this[_0x15ebd2(0x487)]():(this[_0x15ebd2(0x1d0)]=It(this[_0x15ebd2(0x287)],{'timeout':this[_0x15ebd2(0x287)],'reqId':_0x4d93c5['reqId']}),this[_0x15ebd2(0x28c)]=this[_0x15ebd2(0x1d0)][_0x15ebd2(0x350)](({reqId:_0x31acca,timeout:_0x1ddd21})=>{var _0x3336bf=_0x15ebd2;this[_0x3336bf(0x1b3)](_0x31acca,_0x1ddd21);}),this);}['toggleOffline'](){var _0x5d628a=_0x2f1e4f;return this[_0x5d628a(0x22c)](),this['_injector'][_0x5d628a(0x4fa)](exports[_0x5d628a(0x2c5)],this[_0x5d628a(0x261)],this[_0x5d628a(0x4e1)],this[_0x5d628a(0x27b)],[],this[_0x5d628a(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){var _0x447908=_0x2f1e4f;this[_0x447908(0x3ee)][_0x447908(0x2bb)](this['_awaitingChangeset']);}[_0x2f1e4f(0x471)](_0x80008f){var _0x5026cb=_0x2f1e4f;return this['_clearScheduledTask'](),this[_0x5026cb(0x187)][_0x5026cb(0x4fa)](exports[_0x5026cb(0x447)],this[_0x5026cb(0x261)],this[_0x5026cb(0x4e1)],this[_0x5026cb(0x27b)],[],this[_0x5026cb(0x3ee)],_0x80008f);}[_0x2f1e4f(0x1b3)](_0x2f1a41,_0x49b59d){var _0x53d167=_0x2f1e4f,_0x52745b;_0x2f1a41===((_0x52745b=this[_0x53d167(0x27b)])==null?void 0x0:_0x52745b['reqId'])&&(this[_0x53d167(0x190)](),this[_0x53d167(0x287)]=_0x49b59d===0x0?0x3e8:Math[_0x53d167(0x499)](_0x49b59d*0x2,ft),this[_0x53d167(0x1f5)]+=this[_0x53d167(0x287)]);}['_clearScheduledTask'](){var _0x193d00=_0x2f1e4f,_0x553aa0;(_0x553aa0=this[_0x193d00(0x28c)])==null||_0x553aa0[_0x193d00(0x4e2)](),this[_0x193d00(0x287)]=0x0,this[_0x193d00(0x1f5)]=0x0;}},exports[_0x2f1e4f(0x490)]=ae([L(0x4,o[_0x2f1e4f(0x408)](o['Injector'])),L(0x5,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x6,o[_0x2f1e4f(0x1bc)]),L(0x7,o['ILogService']),L(0x8,E[_0x2f1e4f(0x2ac)]),L(0x9,o[_0x2f1e4f(0x2cd)]),L(0xa,o['Optional'](q))],exports[_0x2f1e4f(0x490)]),exports[_0x2f1e4f(0x48e)]=class extends oe{constructor(_0x1cda28,_0x5f256c,_0xdb4ddb,_0x13d676,_0x3e7233,_0x5efb5e,_0x160179,_0x49cd09,_0x37b06d,_0x1ed626,_0x443672,_0x7ec99d,_0x332cc4){var _0x29e2ea=_0x2f1e4f;super(_0x1cda28,_0x5f256c,_0xdb4ddb,_0x13d676,_0x3e7233,_0x37b06d,_0x7ec99d,_0x49cd09,_0x332cc4),A(this,_0x29e2ea(0x1c9),'awaiting_with_pending'),A(this,_0x29e2ea(0x287),0x0),A(this,_0x29e2ea(0x1f5),0x0),A(this,_0x29e2ea(0x1d0)),A(this,'_sender'),(this[_0x29e2ea(0x187)]=_0x160179,this[_0x29e2ea(0x263)]=_0x1ed626,this['_transformService']=_0x443672,this['localCacheService']=_0x332cc4,_0x5efb5e&&(this[_0x29e2ea(0x1d0)]=_0x5efb5e,this[_0x29e2ea(0x28c)]=this['_resendTimer'][_0x29e2ea(0x350)](({reqId:_0x5dd0a6,timeout:_0x194b9c})=>{var _0x204d80=_0x29e2ea;this[_0x204d80(0x1b3)](_0x5dd0a6,_0x194b9c);})));}[_0x2f1e4f(0x27e)](_0x23e564){var _0x572112=_0x2f1e4f;return this['_pendingMutations'][_0x572112(0x1b2)](_0x23e564),this;}[_0x2f1e4f(0x22b)](_0x1e8b83){var _0x45c9cc=_0x2f1e4f;if(this['_checkMissing'](_0x1e8b83))return this[_0x45c9cc(0x22c)](),this[_0x45c9cc(0x187)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1e8b83],this['_handler']);try{const _0x8e261c=this[_0x45c9cc(0x443)][_0x45c9cc(0x4ae)]([_0x1e8b83],[this['_awaitingChangeset']],!0x1);if(E[_0x45c9cc(0x242)](_0x8e261c)){const {c1Prime:_0xda04cc,c2Prime:_0x537116}=_0x8e261c,_0x459249=this['_transformService']['transformMutationsWithChangeset'](_0xda04cc[0x0],this[_0x45c9cc(0x45b)]);if(E[_0x45c9cc(0x4c8)](_0x459249)){const {c1Prime:_0x5edc5f,m2Prime:_0x57ea00}=_0x459249;return this[_0x45c9cc(0x1b6)](_0x5edc5f),_0x537116[0x0][_0x45c9cc(0x434)]=this[_0x45c9cc(0x4a7)](),this[_0x45c9cc(0x22c)](),this['_injector'][_0x45c9cc(0x4fa)](exports[_0x45c9cc(0x48e)],this['unitID'],this[_0x45c9cc(0x4e1)],_0x537116[0x0],_0x57ea00,this['_handler'],void 0x0);}throw _0x459249[_0x45c9cc(0x3c3)];}throw _0x8e261c[_0x45c9cc(0x3c3)];}catch(_0x2ec991){return this['_logService'][_0x45c9cc(0x3c3)](_0x2ec991),this[_0x45c9cc(0x471)](!0x1);}}[_0x2f1e4f(0x3a3)](_0x464fee){var _0x159364=_0x2f1e4f;if(this[_0x159364(0x22c)](),this[_0x159364(0x286)](_0x464fee))return this[_0x159364(0x187)][_0x159364(0x4fa)](exports[_0x159364(0x3ec)],this['unitID'],this[_0x159364(0x4e1)],null,this[_0x159364(0x45b)],this[_0x159364(0x27b)],[],this[_0x159364(0x3ee)]);this[_0x159364(0x31c)]();const _0x20f76a=this[_0x159364(0x187)][_0x159364(0x4fa)](exports[_0x159364(0x20b)],this[_0x159364(0x261)],this[_0x159364(0x4e1)],this[_0x159364(0x45b)],this[_0x159364(0x3ee)]);return _0x20f76a[_0x159364(0x469)](),_0x20f76a[_0x159364(0x35c)](),_0x20f76a;}[_0x2f1e4f(0x1aa)](_0x1a9989){var _0x950a6c=_0x2f1e4f;return this['_onConflict'](!!(_0x1a9989!=null&&_0x1a9989[_0x950a6c(0x2f8)]));}[_0x2f1e4f(0x4c9)](_0x56ceeb){var _0x443c6f=_0x2f1e4f;return this[_0x443c6f(0x1f5)]>Et?this[_0x443c6f(0x487)]():(this[_0x443c6f(0x1d0)]=It(this[_0x443c6f(0x287)],{'timeout':this[_0x443c6f(0x287)],'reqId':_0x56ceeb[_0x443c6f(0x3a6)]}),this[_0x443c6f(0x28c)]=this['_resendTimer'][_0x443c6f(0x350)](({reqId:_0x34d3d8,timeout:_0x41e874})=>{var _0x5aee46=_0x443c6f;this[_0x5aee46(0x1b3)](_0x34d3d8,_0x41e874);}),this);}[_0x2f1e4f(0x487)](){var _0x46c065=_0x2f1e4f;return this[_0x46c065(0x22c)](),this[_0x46c065(0x187)]['createInstance'](exports[_0x46c065(0x2c5)],this['unitID'],this[_0x46c065(0x4e1)],this[_0x46c065(0x27b)],this[_0x46c065(0x45b)],this[_0x46c065(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){var _0x668719=_0x2f1e4f;this[_0x668719(0x3ee)][_0x668719(0x2bb)](this['_awaitingChangeset']);}[_0x2f1e4f(0x471)](_0x1c76f8){var _0x262646=_0x2f1e4f;return this[_0x262646(0x22c)](),this[_0x262646(0x187)]['createInstance'](exports['ConflictState'],this[_0x262646(0x261)],this['type'],null,this[_0x262646(0x45b)],this[_0x262646(0x3ee)],_0x1c76f8);}[_0x2f1e4f(0x1b3)](_0x4fabbd,_0x2e633b){var _0x16ba65=_0x2f1e4f,_0x28e5d1;_0x4fabbd===((_0x28e5d1=this['_awaitingChangeset'])==null?void 0x0:_0x28e5d1['reqId'])&&(this[_0x16ba65(0x190)](),this['_resendTimeout']=_0x2e633b===0x0?0x3e8:Math['min'](_0x2e633b*0x2,ft),this[_0x16ba65(0x1f5)]+=this[_0x16ba65(0x287)]);}[_0x2f1e4f(0x22c)](){var _0x1bf52b=_0x2f1e4f,_0x4e2b89;(_0x4e2b89=this[_0x1bf52b(0x28c)])==null||_0x4e2b89[_0x1bf52b(0x4e2)](),this[_0x1bf52b(0x287)]=0x0,this[_0x1bf52b(0x1f5)]=0x0;}},exports[_0x2f1e4f(0x48e)]=ae([L(0x6,o[_0x2f1e4f(0x408)](o['Injector'])),L(0x7,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x8,o[_0x2f1e4f(0x1bc)]),L(0x9,o[_0x2f1e4f(0x33f)]),L(0xa,E['ITransformService']),L(0xb,o[_0x2f1e4f(0x2cd)]),L(0xc,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x48e)]),exports[_0x2f1e4f(0x447)]=class extends oe{constructor(_0x3a1001,_0x55f46a,_0xc3dc48,_0xb8ae9c,_0x38db75,_0x19ea73=!0x1,_0x1607e3,_0x4dd742,_0x51f9de,_0x241458,_0x2f03dc,_0x4ae3a9,_0x60801a){var _0x55ff9d=_0x2f1e4f;super(_0x3a1001,_0x55f46a,_0xc3dc48,_0xb8ae9c,_0x38db75,_0x4dd742,_0x51f9de,_0x241458,_0x60801a),A(this,'status',_0x55ff9d(0x3fe)),(this['_isPermissionRej']=_0x19ea73,this[_0x55ff9d(0x38a)]=_0x1607e3,this['_localeService']=_0x2f03dc,this[_0x55ff9d(0x1f8)]=_0x4ae3a9,this['localCacheService']=_0x60801a,this[_0x55ff9d(0x214)](),this[_0x55ff9d(0x3fc)](),this[_0x55ff9d(0x4ba)]());}[_0x2f1e4f(0x27e)](){return this;}[_0x2f1e4f(0x22b)](){return this;}[_0x2f1e4f(0x3a3)](){return this;}[_0x2f1e4f(0x1aa)](){return this;}['onRemoteRetry'](){return this;}[_0x2f1e4f(0x487)](){return this;}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2f1e4f(0x3fc)](){var _0x401fc4=_0x2f1e4f,_0x48a981;(_0x48a981=this[_0x401fc4(0x438)])==null||_0x48a981[_0x401fc4(0x514)](this[_0x401fc4(0x261)],this[_0x401fc4(0x4e1)],null,[]);}[_0x2f1e4f(0x214)](){var _0x1fc440=_0x2f1e4f;this[_0x1fc440(0x386)]?this['_collaborationUIEventService'][_0x1fc440(0x18f)]({'id':J[_0x1fc440(0x449)]}):this[_0x1fc440(0x1f8)]['emitEvent']({'id':J['CONFLICT']});}[_0x2f1e4f(0x4ba)](){var _0x3c14b7=_0x2f1e4f;this[_0x3c14b7(0x38a)][_0x3c14b7(0x3b4)](new Q[(_0x3c14b7(0x3a2))](this['unitID'])['id'],!0x1);}},exports[_0x2f1e4f(0x447)]=ae([L(0x6,o[_0x2f1e4f(0x408)](o['IPermissionService'])),L(0x7,o[_0x2f1e4f(0x1bc)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0xa,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x26c)])),L(0xb,o[_0x2f1e4f(0x408)](ee)),L(0xc,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x447)]),exports[_0x2f1e4f(0x2c5)]=class extends oe{constructor(_0x1daf4e,_0x1863da,_0x14d956,_0x249ae2,_0x93047e,_0x1fb724,_0x50f6a0,_0x24aede,_0x3cecb6,_0x10d450){var _0x46de7a=_0x2f1e4f;super(_0x1daf4e,_0x1863da,_0x14d956,_0x249ae2,_0x93047e,_0x24aede,_0x3cecb6,_0x50f6a0,_0x10d450),A(this,_0x46de7a(0x1c9),_0x46de7a(0x3fd)),this[_0x46de7a(0x187)]=_0x1fb724;}['appendMutation'](_0x680b65){var _0x466f66=_0x2f1e4f;return this['_pendingMutations'][_0x466f66(0x1b2)](_0x680b65),this['_updateLocalCache'](),this;}[_0x2f1e4f(0x22b)](_0x1215ee){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2f1e4f(0x3a3)](){var _0x4be07d=_0x2f1e4f;throw new Error(_0x4be07d(0x3d3));}[_0x2f1e4f(0x1aa)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x2f1e4f(0x4c9)](){return this;}[_0x2f1e4f(0x487)](){return this;}[_0x2f1e4f(0x39e)](){var _0x1f8304=_0x2f1e4f;const {_injector:_0x123401,_pendingMutations:_0x2492a3,_awaitingChangeset:_0x4f2289,unitID:_0x2141c2,_handler:_0x33c483,type:_0x36e456}=this,_0x82eab5=pt(_0x123401,_0x2141c2,_0x36e456,_0x4f2289,_0x2492a3,_0x33c483);return _0x82eab5 instanceof exports[_0x1f8304(0x20b)]?_0x82eab5[_0x1f8304(0x469)]():(_0x82eab5 instanceof exports['AwaitingWithPendingState']||_0x82eab5 instanceof exports[_0x1f8304(0x490)])&&_0x82eab5['resend'](),_0x82eab5;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x2f1e4f(0x2c5)]=ae([L(0x5,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),L(0x6,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x7,o[_0x2f1e4f(0x1bc)]),L(0x8,o[_0x2f1e4f(0x2cd)]),L(0x9,o[_0x2f1e4f(0x238)](q))],exports['OfflineState']),exports[_0x2f1e4f(0x3ec)]=class extends oe{constructor(_0x16f2b6,_0x205547,_0x215f3f,_0x2b7018,_0x58d821,_0x417539,_0xe1ff66,_0x173e3d,_0x4cb858,_0x4f0681,_0x1d193a,_0x42ca5e,_0xd8ec04,_0x23dbb8){var _0x2fcfc5=_0x2f1e4f;super(_0x16f2b6,_0x205547,_0x215f3f,_0x2b7018,_0xe1ff66,_0x1d193a,_0x42ca5e,_0x4cb858,_0x23dbb8),A(this,_0x2fcfc5(0x1c9),_0x2fcfc5(0x22d)),(this[_0x2fcfc5(0x436)]=_0x58d821,this[_0x2fcfc5(0x4a8)]=_0x417539,this['_injector']=_0x173e3d,this[_0x2fcfc5(0x263)]=_0x4f0681,this[_0x2fcfc5(0x443)]=_0xd8ec04,this[_0x2fcfc5(0x31b)]=_0x23dbb8);}['onMissedChangesetFetched'](_0x347e79){var _0x345780=_0x2f1e4f;try{const _0x5e3f22=[..._0x347e79,...this[_0x345780(0x4a8)]],_0x2bc4f1=[this[_0x345780(0x27b)]||this[_0x345780(0x436)]][_0x345780(0x1ee)](_0x17534c=>!!_0x17534c);let _0x7b1750,_0x42d396;if(_0x2bc4f1[_0x345780(0x237)]){const _0x59ad29=this[_0x345780(0x443)][_0x345780(0x4ae)](_0x5e3f22,_0x2bc4f1,!0x1);if(!E[_0x345780(0x242)](_0x59ad29))throw _0x59ad29[_0x345780(0x3c3)];_0x7b1750=_0x59ad29[_0x345780(0x310)],_0x42d396=_0x59ad29[_0x345780(0x4df)];}else _0x7b1750=_0x5e3f22,_0x42d396=[];let _0x445aec=this['_pendingMutations'];_0x7b1750[_0x345780(0x1f7)](_0x1adf06=>{var _0x165413=_0x345780;let _0x11d8d4;if(_0x445aec[_0x165413(0x237)]){const _0x24e0a2=this[_0x165413(0x443)]['transformMutationsWithChangeset'](_0x1adf06,_0x445aec);if(!E[_0x165413(0x4c8)](_0x24e0a2))throw _0x24e0a2[_0x165413(0x3c3)];_0x11d8d4=_0x24e0a2[_0x165413(0x310)],_0x445aec=_0x24e0a2[_0x165413(0x393)];}else _0x11d8d4=_0x1adf06;this[_0x165413(0x1b6)](_0x11d8d4);}),this[_0x345780(0x436)]&&this['_incrementRevisionNumber'](),this[_0x345780(0x27b)]&&_0x42d396['length']&&(_0x42d396[0x0][_0x345780(0x434)]=this[_0x345780(0x4a7)]());let _0x52ad52;if(this[_0x345780(0x27b)]&&_0x445aec[_0x345780(0x237)]!==0x0)_0x52ad52=this[_0x345780(0x187)]['createInstance'](exports[_0x345780(0x48e)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],_0x42d396[0x0],_0x445aec,this[_0x345780(0x3ee)],void 0x0);else{if(this[_0x345780(0x27b)]&&_0x445aec['length']===0x0)_0x42d396[0x0]['baseRev']=this['_getCurrentRevision'](),_0x52ad52=this[_0x345780(0x187)]['createInstance'](exports[_0x345780(0x490)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],_0x42d396[0x0],this[_0x345780(0x3ee)]);else{if(_0x445aec[_0x345780(0x237)]!==0x0){const _0xc5e31=this[_0x345780(0x187)][_0x345780(0x4fa)](exports[_0x345780(0x20b)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],_0x445aec,this[_0x345780(0x3ee)]);_0xc5e31[_0x345780(0x469)](),_0x52ad52=_0xc5e31;}else _0x52ad52=this[_0x345780(0x187)][_0x345780(0x4fa)](exports['SyncedState'],this['unitID'],this[_0x345780(0x4e1)],this[_0x345780(0x3ee)]);}}return _0x52ad52[_0x345780(0x35c)](),_0x52ad52;}catch(_0x3919db){return this[_0x345780(0x263)][_0x345780(0x3c3)](_0x345780(0x383),_0x345780(0x437),_0x3919db),this[_0x345780(0x187)][_0x345780(0x4fa)](exports[_0x345780(0x447)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],this[_0x345780(0x27b)],this['_pendingMutations'],this[_0x345780(0x3ee)],!0x1);}}[_0x2f1e4f(0x190)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x22f88c){return this['_pendingMutations']['push'](_0x22f88c),this;}[_0x2f1e4f(0x22b)](_0x161908){var _0x221f1d=_0x2f1e4f;return this[_0x221f1d(0x4a8)]['push'](_0x161908),this;}['onRemoteAck'](_0x3a72f3){var _0x465f1e=_0x2f1e4f;if(this[_0x465f1e(0x27b)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x465f1e(0x27b)]=null,this;throw new Error(_0x465f1e(0x2f9));}['onRemoteRej'](_0x2a2915){var _0x3c08c2=_0x2f1e4f;return this[_0x3c08c2(0x471)](!!(_0x2a2915!=null&&_0x2a2915[_0x3c08c2(0x2f8)]));}[_0x2f1e4f(0x4c9)](){return this;}[_0x2f1e4f(0x487)](){var _0x5ea24c=_0x2f1e4f;return this[_0x5ea24c(0x187)][_0x5ea24c(0x4fa)](exports[_0x5ea24c(0x2c5)],this[_0x5ea24c(0x261)],this['type'],this[_0x5ea24c(0x27b)],this[_0x5ea24c(0x45b)],this[_0x5ea24c(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x471)](_0x4cf095){var _0xd808af=_0x2f1e4f;return this['_injector']['createInstance'](exports['ConflictState'],this[_0xd808af(0x261)],this[_0xd808af(0x4e1)],this[_0xd808af(0x27b)],this[_0xd808af(0x45b)],this[_0xd808af(0x3ee)],_0x4cf095);}},exports[_0x2f1e4f(0x3ec)]=ae([L(0x7,o['Inject'](o[_0x2f1e4f(0x2ae)])),L(0x8,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x9,o[_0x2f1e4f(0x33f)]),L(0xa,o[_0x2f1e4f(0x1bc)]),L(0xb,o[_0x2f1e4f(0x2cd)]),L(0xc,E[_0x2f1e4f(0x2ac)]),L(0xd,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x3ec)]);function pt(_0x550103,_0x4de5fb,_0x1726f5,_0x6f98ae,_0x49bc04,_0x26434f){var _0xb03b=_0x2f1e4f;return _0x6f98ae&&_0x49bc04['length']?_0x550103[_0xb03b(0x4fa)](exports['AwaitingWithPendingState'],_0x4de5fb,_0x1726f5,_0x6f98ae,_0x49bc04,_0x26434f,void 0x0):_0x6f98ae?_0x550103[_0xb03b(0x4fa)](exports[_0xb03b(0x490)],_0x4de5fb,_0x1726f5,_0x6f98ae,_0x26434f):_0x49bc04[_0xb03b(0x237)]?_0x550103[_0xb03b(0x4fa)](exports[_0xb03b(0x20b)],_0x4de5fb,_0x1726f5,_0x49bc04,_0x26434f):_0x550103['createInstance'](exports[_0xb03b(0x29b)],_0x4de5fb,_0x1726f5,_0x26434f);}var si=Object['getOwnPropertyDescriptor'],Be=(_0x47fceb,_0x108db5,_0x7b6bce,_0x360ba1)=>{var _0x35f9d6=_0x2f1e4f;for(var _0x18d9fb=_0x360ba1>0x1?void 0x0:_0x360ba1?si(_0x108db5,_0x7b6bce):_0x108db5,_0x5c3424=_0x47fceb[_0x35f9d6(0x237)]-0x1,_0x3afb62;_0x5c3424>=0x0;_0x5c3424--)(_0x3afb62=_0x47fceb[_0x5c3424])&&(_0x18d9fb=_0x3afb62(_0x18d9fb)||_0x18d9fb);return _0x18d9fb;},$=(_0x4a0151,_0x1fd1bf)=>(_0x5dc862,_0x44ba2a)=>_0x1fd1bf(_0x5dc862,_0x44ba2a,_0x4a0151);exports[_0x2f1e4f(0x483)]=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0xfe2381,_0x5bc3a2,_0x29daf4,_0x195596,_0x4e3343,_0x4f21be,_0x1ef89c,_0x11ccf8,_0x374814,_0x3b898f,_0x4d9afb,_0x2ca22a,_0x1b43f4,_0x509b0c){var _0x16e233=_0x2f1e4f;super(),A(this,_0x16e233(0x27c),new j[(_0x16e233(0x387))](null)),A(this,_0x16e233(0x234),this['_state$'][_0x16e233(0x253)]()),A(this,_0x16e233(0x435)),A(this,_0x16e233(0x364),!0x1),A(this,_0x16e233(0x3a9),''),A(this,'_changesetReqId',0x0),A(this,_0x16e233(0x472),this['state$'][_0x16e233(0x222)](j['map'](_0x2b3938=>_0x2b3938?_0x2b3938[_0x16e233(0x1c9)]:je['OFFLINE']),j[_0x16e233(0x338)](0x1))),A(this,_0x16e233(0x442),!0x1),A(this,_0x16e233(0x2a6),[]),(this['unitID']=_0xfe2381,this[_0x16e233(0x465)]=_0x5bc3a2,this[_0x16e233(0x2b2)]=_0x29daf4,this[_0x16e233(0x187)]=_0x195596,this[_0x16e233(0x235)]=_0x4e3343,this['_localeService']=_0x4f21be,this[_0x16e233(0x484)]=_0x1ef89c,this['_eventService']=_0x11ccf8,this[_0x16e233(0x230)]=_0x374814,this[_0x16e233(0x263)]=_0x3b898f,this[_0x16e233(0x211)]=_0x4d9afb,this[_0x16e233(0x38a)]=_0x2ca22a,this[_0x16e233(0x46c)]=_0x1b43f4,this[_0x16e233(0x438)]=_0x509b0c);}get[_0x2f1e4f(0x1e2)](){var _0x2fbc27=_0x2f1e4f;return this[_0x2fbc27(0x435)];}async[_0x2f1e4f(0x477)](){var _0x578d2b=_0x2f1e4f;if(this[_0x578d2b(0x1e2)])throw new Error(_0x578d2b(0x35b));await this[_0x578d2b(0x3e0)]();}[_0x2f1e4f(0x343)](){var _0x49b2a6=_0x2f1e4f;return this[_0x49b2a6(0x364)]=!0x0,o[_0x49b2a6(0x2e4)](()=>{var _0x4355b0=_0x49b2a6;this[_0x4355b0(0x364)]=!0x1,this[_0x4355b0(0x1d1)]();});}['onLocalMutation'](_0x257854){var _0x391cae=_0x2f1e4f;this[_0x391cae(0x4b6)](_0x257854);}[_0x2f1e4f(0x3e3)](_0x1b9b6c){var _0x11bf84=_0x2f1e4f;this['_state']=_0x1b9b6c,this['_state$'][_0x11bf84(0x352)](_0x1b9b6c);}async['_init'](){var _0x540f95=_0x2f1e4f,_0x277e72;this[_0x540f95(0x3e3)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x277e72=this[_0x540f95(0x46c)])==null||_0x277e72['editingUnit'](this[_0x540f95(0x261)]),this[_0x540f95(0x1b7)](this['_singleActiveUnitService'][_0x540f95(0x20d)](this[_0x540f95(0x261)])[_0x540f95(0x350)](_0x243a9b=>{var _0x53cf6b=_0x540f95;this[_0x53cf6b(0x263)][_0x53cf6b(0x48b)](_0x53cf6b(0x1e1),_0x53cf6b(0x50a),_0x243a9b),_0x243a9b===He[_0x53cf6b(0x194)]?(this[_0x53cf6b(0x2fe)][_0x53cf6b(0x18f)]({'id':J[_0x53cf6b(0x4b8)]}),this[_0x53cf6b(0x38a)][_0x53cf6b(0x3b4)](new Q[(_0x53cf6b(0x3a2))](this[_0x53cf6b(0x261)])['id'],!0x1),this[_0x53cf6b(0x38a)][_0x53cf6b(0x319)](!0x1)):(this[_0x53cf6b(0x38a)][_0x53cf6b(0x3b4)](new Q['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this['_permissionService'][_0x53cf6b(0x319)](!0x0));})));let _0x1f1b0a=!0x1;return this[_0x540f95(0x1b7)](this[_0x540f95(0x465)][_0x540f95(0x2b6)][_0x540f95(0x350)](_0x41bc43=>{var _0x476d64=_0x540f95;_0x41bc43===se[_0x476d64(0x31d)]?this[_0x476d64(0x1a8)](_0x1f1b0a):_0x41bc43===se['OFFLINE']&&(_0x1f1b0a=!0x0,this[_0x476d64(0x229)]());})),this[_0x540f95(0x1b7)](this[_0x540f95(0x465)][_0x540f95(0x2be)][_0x540f95(0x350)](_0x4bfbc3=>{var _0x5a5b7a=_0x540f95;try{switch(_0x4bfbc3[_0x5a5b7a(0x50b)]){case E[_0x5a5b7a(0x192)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](E[_0x5a5b7a(0x1cd)](_0x4bfbc3[_0x5a5b7a(0x1a1)]));break;}case E['CollaborationEvent'][_0x5a5b7a(0x480)]:{this[_0x5a5b7a(0x446)](_0x4bfbc3[_0x5a5b7a(0x1a1)]);break;}case E['CollaborationEvent'][_0x5a5b7a(0x507)]:{this['_onRemoteRejected']();break;}case E[_0x5a5b7a(0x192)][_0x5a5b7a(0x474)]:{this[_0x5a5b7a(0x482)](_0x4bfbc3[_0x5a5b7a(0x1a1)]);break;}case E[_0x5a5b7a(0x192)][_0x5a5b7a(0x36c)]:{this['_onFetchMissResult'](_0x4bfbc3['data'][_0x5a5b7a(0x4d9)]['map'](_0x347e3b=>E[_0x5a5b7a(0x1cd)](_0x347e3b)));break;}case E[_0x5a5b7a(0x192)][_0x5a5b7a(0x33e)]:{this[_0x5a5b7a(0x354)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x5a5b7a(0x206)]:break;}}catch(_0x2f6c18){throw console['error'](_0x5a5b7a(0x40c),_0x2f6c18),_0x2f6c18;}})),this['_state'];}['_unlockTransition'](){var _0x54e7c3=_0x2f1e4f;this[_0x54e7c3(0x442)]=!0x1;}[_0x2f1e4f(0x2d8)](){var _0x16be63=_0x2f1e4f;if(this[_0x16be63(0x442)])throw new Error(_0x16be63(0x2ee));this[_0x16be63(0x442)]=!0x0;}['_onLocalMutation'](_0x4ef09e){var _0x549783=_0x2f1e4f;this[_0x549783(0x2d8)](),this[_0x549783(0x3e3)](this[_0x549783(0x435)][_0x549783(0x27e)](_0x4ef09e)),this['_unlockTransition']();}[_0x2f1e4f(0x23f)](_0x5303bb){var _0xf05a27=_0x2f1e4f;if(!(_0x5303bb[_0xf05a27(0x279)]<=this[_0xf05a27(0x484)][_0xf05a27(0x4da)](this['unitID']))){if(this[_0xf05a27(0x364)]){this[_0xf05a27(0x2a6)][_0xf05a27(0x1b2)](_0x5303bb);return;}this[_0xf05a27(0x280)](_0x5303bb);}}[_0x2f1e4f(0x1d1)](){var _0x376ccd=_0x2f1e4f;this[_0x376ccd(0x2a6)][_0x376ccd(0x1f7)](_0x4baff1=>this[_0x376ccd(0x280)](_0x4baff1)),this[_0x376ccd(0x2a6)]=[];}[_0x2f1e4f(0x280)](_0x19b462){var _0x338df3=_0x2f1e4f;const _0x3e63ab=this[_0x338df3(0x235)]['interceptor']['fetchThroughInterceptors'](this[_0x338df3(0x235)][_0x338df3(0x372)]['getInterceptPoints']()[_0x338df3(0x3df)])(_0x19b462[_0x338df3(0x2dc)],null)||_0x19b462[_0x338df3(0x2dc)],_0x1e6a33={..._0x19b462,'mutations':_0x3e63ab};this[_0x338df3(0x2d8)](),this[_0x338df3(0x3e3)](this[_0x338df3(0x435)][_0x338df3(0x22b)](_0x1e6a33)),this[_0x338df3(0x277)]();}[_0x2f1e4f(0x446)](_0xe1cce0){var _0x5bd037=_0x2f1e4f;this[_0x5bd037(0x2d8)](),this[_0x5bd037(0x3e3)](this[_0x5bd037(0x435)][_0x5bd037(0x3a3)](_0xe1cce0)),this[_0x5bd037(0x277)]();}[_0x2f1e4f(0x354)](_0x9ab98c){var _0x250684=_0x2f1e4f;this[_0x250684(0x2d8)](),this[_0x250684(0x3e3)](this[_0x250684(0x435)][_0x250684(0x1aa)](_0x9ab98c)),this[_0x250684(0x277)]();}[_0x2f1e4f(0x482)](_0x19a9d6){var _0xf70e6c=_0x2f1e4f;this[_0xf70e6c(0x2d8)](),this[_0xf70e6c(0x3e3)](this[_0xf70e6c(0x435)][_0xf70e6c(0x4c9)](_0x19a9d6)),this[_0xf70e6c(0x277)]();}[_0x2f1e4f(0x43e)](_0x3672d0){var _0x5501b8=_0x2f1e4f;if(!(this[_0x5501b8(0x435)]instanceof exports[_0x5501b8(0x3ec)]))throw new TypeError(_0x5501b8(0x274));const _0x215968=_0x3672d0[_0x5501b8(0x3c4)](_0x5103cc=>{var _0xaa7ae4=_0x5501b8;const _0x5ba2d5=this[_0xaa7ae4(0x235)][_0xaa7ae4(0x372)]['fetchThroughInterceptors'](this[_0xaa7ae4(0x235)]['interceptor'][_0xaa7ae4(0x24c)]()['COMPRESS_MUTATION_APPLY'])(_0x5103cc['mutations'],null)||_0x5103cc['mutations'];return{..._0x5103cc,'mutations':_0x5ba2d5};});this[_0x5501b8(0x2d8)](),this[_0x5501b8(0x3e3)](this['_state'][_0x5501b8(0x1c3)](_0x215968)),this[_0x5501b8(0x277)]();}['_toggleOffline'](){var _0x2f74bc=_0x2f1e4f;this['_lockTransition'](),this[_0x2f74bc(0x3e3)](this[_0x2f74bc(0x435)][_0x2f74bc(0x487)]()),this['_unlockTransition']();}[_0x2f1e4f(0x1a8)](_0x23bbc7=!0x1){var _0xab0b24=_0x2f1e4f;this['_lockTransition'](),this[_0xab0b24(0x3e3)](this[_0xab0b24(0x435)][_0xab0b24(0x39e)]()),this['_unlockTransition']();const _0x4afde8=this['_state'];_0x23bbc7&&_0x4afde8 instanceof exports['SyncedState']&&(this[_0xab0b24(0x2d8)](),this[_0xab0b24(0x3e3)](_0x4afde8[_0xab0b24(0x46a)]()),this['_unlockTransition']());}async[_0x2f1e4f(0x28b)](){return new Promise(_0x1366fe=>{var _0x3766cf=_0x223c;this[_0x3766cf(0x465)][_0x3766cf(0x2b6)][_0x3766cf(0x222)](j['take'](0x1))[_0x3766cf(0x350)](async _0x237edc=>{var _0x19a63a=_0x3766cf;_0x1366fe(await this[_0x19a63a(0x511)](_0x237edc===se[_0x19a63a(0x31d)]));});});}[_0x2f1e4f(0x47b)](){var _0xd8e4c2=_0x2f1e4f;const _0x2882e9=this[_0xd8e4c2(0x261)];return{'onStateChange':(_0x2095e2,_0x354998)=>{var _0x5f0187=_0xd8e4c2;if(_0x2095e2!==this[_0x5f0187(0x435)])throw new Error(_0x5f0187(0x509)+_0x2095e2[_0x5f0187(0x1c9)]+'\x0aAfter:\x20'+_0x354998[_0x5f0187(0x1c9)]+_0x5f0187(0x4b5)+this[_0x5f0187(0x435)]['status']);this[_0x5f0187(0x3e3)](_0x354998);},'onSendChangeset':_0x56628a=>{var _0xac0264=_0xd8e4c2;_0x56628a[_0xac0264(0x29c)]||(_0x56628a['sid']=this['_changesetSessionId'],_0x56628a['reqId']=++this[_0xac0264(0x231)]);const _0x5c1082={'eventID':E[_0xac0264(0x192)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x56628a[_0xac0264(0x261)],'unitType':this[_0xac0264(0x2b2)],'changeset':_0x56628a,'memberID':this[_0xac0264(0x465)][_0xac0264(0x3fb)]()}};this[_0xac0264(0x465)]['send'](_0x5c1082,this['unitID']);},'onMissingChangesets':({from:_0x2822b9,to:_0x3d0b91})=>{var _0x2ae1c2=_0xd8e4c2;this['_logService'][_0x2ae1c2(0x48b)](_0x2ae1c2(0x1e1),'fetching\x20missing\x20changesets\x20from\x20'+_0x2822b9+_0x2ae1c2(0x373)+_0x3d0b91);const _0x5e2bc2={'eventID':E[_0x2ae1c2(0x192)]['FETCH_MISSING'],'data':{'unitID':_0x2882e9,'unitType':this[_0x2ae1c2(0x2b2)],'from':_0x2822b9,'to':_0x3d0b91}};this[_0x2ae1c2(0x465)][_0x2ae1c2(0x513)](_0x5e2bc2,this[_0x2ae1c2(0x261)]);}};}async[_0x2f1e4f(0x511)](_0x15b712){var _0x42e892=_0x2f1e4f,_0x53fbba,_0x330404,_0x14fb84;const _0x133ddd=await((_0x53fbba=this[_0x42e892(0x438)])==null?void 0x0:_0x53fbba[_0x42e892(0x42f)](this[_0x42e892(0x261)])),_0x1f1956=(_0x330404=_0x133ddd==null?void 0x0:_0x133ddd[_0x42e892(0x2dc)])!=null?_0x330404:[],_0x30e52f=(_0x14fb84=_0x133ddd==null?void 0x0:_0x133ddd[_0x42e892(0x382)])!=null?_0x14fb84:null,_0x466bd8=!!(_0x30e52f!=null&&_0x30e52f[_0x42e892(0x29c)])&&!!(_0x30e52f!=null&&_0x30e52f['reqId']);this[_0x42e892(0x3a9)]=_0x466bd8?_0x30e52f[_0x42e892(0x29c)]:E[_0x42e892(0x228)](),this[_0x42e892(0x231)]=_0x466bd8?_0x30e52f[_0x42e892(0x3a6)]:0x0;const _0x289219=this[_0x42e892(0x261)];try{this[_0x42e892(0x4b7)](_0x30e52f,_0x1f1956);}catch(_0x71faaa){this[_0x42e892(0x263)][_0x42e892(0x3c3)](_0x71faaa);}const _0x5263d9=this['_createHandler']();if(_0x15b712){const _0x3f9c83=pt(this[_0x42e892(0x187)],_0x289219,this[_0x42e892(0x2b2)],_0x30e52f,_0x1f1956,_0x5263d9);return _0x3f9c83 instanceof exports['PendingState']?_0x3f9c83['_schedule']():(_0x3f9c83 instanceof exports['AwaitingWithPendingState']||_0x3f9c83 instanceof exports[_0x42e892(0x490)])&&_0x3f9c83['resend'](),_0x3f9c83;}return this[_0x42e892(0x187)][_0x42e892(0x4fa)](exports[_0x42e892(0x2c5)],_0x289219,this[_0x42e892(0x2b2)],_0x30e52f,_0x1f1956,_0x5263d9);}['_replayCachedMutations'](_0x4a7546,_0x4a6002){var _0x54eb67=_0x2f1e4f,_0x5a8f8f,_0x319022;const _0x5e41dd=this[_0x54eb67(0x235)][_0x54eb67(0x372)]['fetchThroughInterceptors'](this[_0x54eb67(0x235)][_0x54eb67(0x372)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5a8f8f=_0x5e41dd((_0x4a7546==null?void 0x0:_0x4a7546[_0x54eb67(0x2dc)])||[],null))==null||_0x5a8f8f[_0x54eb67(0x1f7)](_0x2b4a47=>this['_commandService'][_0x54eb67(0x1a3)](_0x2b4a47['id'],_0x2b4a47[_0x54eb67(0x2d3)])),(_0x319022=_0x5e41dd(_0x4a6002||[],null))==null||_0x319022[_0x54eb67(0x1f7)](_0x6af6f=>this[_0x54eb67(0x211)][_0x54eb67(0x1a3)](_0x6af6f['id'],_0x6af6f[_0x54eb67(0x2d3)]));}},exports[_0x2f1e4f(0x483)]=Be([$(0x3,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),$(0x4,o[_0x2f1e4f(0x408)](E['CompressMutationService'])),$(0x5,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x26c)])),$(0x6,o['Inject'](E[_0x2f1e4f(0x4ec)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x2f1e4f(0x318)]),$(0x9,o[_0x2f1e4f(0x33f)]),$(0xa,o[_0x2f1e4f(0x1bc)]),$(0xb,o[_0x2f1e4f(0x49f)]),$(0xc,o[_0x2f1e4f(0x238)](ve)),$(0xd,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x483)]),exports[_0x2f1e4f(0x28f)]=class extends exports[_0x2f1e4f(0x483)]{constructor(_0x20055d,_0x5b6bd8,_0xfd9f7,_0x19546b,_0x30e31a,_0x875e65,_0x207f1c,_0xc5d490,_0x4a8a41,_0x48ea4e,_0x3c09e2,_0x1261e9,_0x5ef970,_0x51db7b){var _0x555501=_0x2f1e4f;super(_0x20055d,_0xfd9f7,_0x5b6bd8,_0x19546b,_0x30e31a,_0x875e65,_0x207f1c,_0xc5d490,_0x4a8a41,_0x48ea4e,_0x3c09e2,_0x1261e9,_0x5ef970,_0x51db7b),A(this,_0x555501(0x36d),null),(this['unitID']=_0x20055d,this[_0x555501(0x4e1)]=_0x5b6bd8);}[_0x2f1e4f(0x215)](_0x2f21c0){this['_handlerCallback']=_0x2f21c0;}[_0x2f1e4f(0x182)](){var _0x682da6=_0x2f1e4f;this[_0x682da6(0x36d)]=null,super['dispose']();}[_0x2f1e4f(0x47b)](){var _0x997b3f=_0x2f1e4f;const _0x12ba01=super[_0x997b3f(0x47b)]();return _0x12ba01[_0x997b3f(0x1fa)]=_0x5b5229=>{var _0x4a2eaf=_0x997b3f,_0xf99484,_0x35f77b;return(_0x35f77b=(_0xf99484=this[_0x4a2eaf(0x36d)])==null?void 0x0:_0xf99484[_0x4a2eaf(0x1fa)])==null?void 0x0:_0x35f77b[_0x4a2eaf(0x47a)](_0xf99484,_0x5b5229);},_0x12ba01[_0x997b3f(0x32c)]=_0x5800e1=>{var _0x57f8c2=_0x997b3f,_0x7be30e,_0x4e30eb;return(_0x4e30eb=(_0x7be30e=this[_0x57f8c2(0x36d)])==null?void 0x0:_0x7be30e[_0x57f8c2(0x32c)])==null?void 0x0:_0x4e30eb[_0x57f8c2(0x47a)](_0x7be30e,_0x5800e1);},_0x12ba01['onTransformSelections']=_0x5de12c=>{var _0x284c1e=_0x997b3f,_0x1f4987,_0x28db4c;return(_0x28db4c=(_0x1f4987=this[_0x284c1e(0x36d)])==null?void 0x0:_0x1f4987[_0x284c1e(0x495)])==null?void 0x0:_0x28db4c[_0x284c1e(0x47a)](_0x1f4987,_0x5de12c);},_0x12ba01[_0x997b3f(0x3de)]=_0x4bc4fa=>{var _0x153089=_0x997b3f,_0x1f6804,_0x4fb16c;return(_0x4fb16c=(_0x1f6804=this[_0x153089(0x36d)])==null?void 0x0:_0x1f6804[_0x153089(0x3de)])==null?void 0x0:_0x4fb16c[_0x153089(0x47a)](_0x1f6804,_0x4bc4fa);},_0x12ba01[_0x997b3f(0x31e)]=_0x25908c=>{var _0x13fe21=_0x997b3f,_0x23b57f,_0x49da9c,_0x3e31cc;if(!((_0x23b57f=this['_handlerCallback'])!=null&&_0x23b57f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x13fe21(0x2ec));return(_0x3e31cc=(_0x49da9c=this[_0x13fe21(0x36d)])==null?void 0x0:_0x49da9c[_0x13fe21(0x31e)])==null?void 0x0:_0x3e31cc[_0x13fe21(0x47a)](_0x49da9c,_0x25908c);},_0x12ba01[_0x997b3f(0x4a9)]=_0x3b522f=>{var _0x3497be=_0x997b3f,_0x239b8b,_0x4865c3,_0x2d09c5;if(!((_0x239b8b=this['_handlerCallback'])!=null&&_0x239b8b[_0x3497be(0x4a9)]))throw new Error(_0x3497be(0x365));return(_0x2d09c5=(_0x4865c3=this[_0x3497be(0x36d)])==null?void 0x0:_0x4865c3[_0x3497be(0x4a9)])==null?void 0x0:_0x2d09c5['call'](_0x4865c3,_0x3b522f);},_0x12ba01;}async[_0x2f1e4f(0x3e0)](){var _0x1ce2cb=_0x2f1e4f;const _0x4ed042=await super[_0x1ce2cb(0x3e0)]();return this['disposeWithMe'](this['_commandService'][_0x1ce2cb(0x208)]((_0x315078,_0x180221)=>{var _0x5c0b21=_0x1ce2cb;if(_0x315078[_0x5c0b21(0x4e1)]!==o['CommandType']['MUTATION']||_0x180221!=null&&_0x180221['fromCollab']||_0x180221!=null&&_0x180221['onlyLocal']||_0x315078['id']===ct[_0x5c0b21(0x4d4)]['id'])return;const _0x438146=_0x315078[_0x5c0b21(0x2d3)];if((_0x438146==null?void 0x0:_0x438146[_0x5c0b21(0x204)])!==this[_0x5c0b21(0x261)])return;const _0x2819ec=_0x315078,_0xf60c0a=this[_0x5c0b21(0x235)][_0x5c0b21(0x372)][_0x5c0b21(0x30f)](this[_0x5c0b21(0x235)][_0x5c0b21(0x372)][_0x5c0b21(0x24c)]()['COMPRESS_MUTATION_SEND'])([_0x2819ec],this['_univerInstanceService'])||[_0x2819ec];this[_0x5c0b21(0x4b6)](_0xf60c0a[0x0]);})),_0x4ed042;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),$(0x4,o[_0x2f1e4f(0x408)](E['CompressMutationService'])),$(0x5,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x26c)])),$(0x6,o[_0x2f1e4f(0x408)](E['RevisionService'])),$(0x7,o[_0x2f1e4f(0x408)](ee)),$(0x8,o[_0x2f1e4f(0x318)]),$(0x9,o[_0x2f1e4f(0x33f)]),$(0xa,o['ICommandService']),$(0xb,o[_0x2f1e4f(0x49f)]),$(0xc,o[_0x2f1e4f(0x238)](ve)),$(0xd,o[_0x2f1e4f(0x238)](q))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x2f1e4f(0x483)]{constructor(_0x1238cf,_0x20ded6,_0x54e12d,_0x228236,_0x2814c8,_0x4e2105,_0x331c66,_0x29e820,_0x119701,_0x49c110,_0x4a4450,_0x49c842,_0x18e079,_0x5c6e3a,_0xdcc2db){var _0x271504=_0x2f1e4f;super(_0x1238cf,_0x54e12d,_0x20ded6,_0x228236,_0x2814c8,_0x4e2105,_0x331c66,_0x119701,_0x49c110,_0x4a4450,_0x49c842,_0x18e079,_0x5c6e3a,_0xdcc2db),this['unitID']=_0x1238cf,this[_0x271504(0x4e1)]=_0x20ded6,this[_0x271504(0x411)]=_0x29e820;}[_0x2f1e4f(0x47b)](){var _0x23dce5=_0x2f1e4f;const _0x22cb1d=super[_0x23dce5(0x47b)]();return _0x22cb1d[_0x23dce5(0x495)]=_0x1472cf=>this[_0x23dce5(0x411)][_0x23dce5(0x45c)](_0x1472cf),_0x22cb1d;}async[_0x2f1e4f(0x3e0)](){var _0x245a30=_0x2f1e4f;const _0x2ba8ac=await super[_0x245a30(0x3e0)]();return this[_0x245a30(0x1b7)](this['_commandService'][_0x245a30(0x208)]((_0x169915,_0x165168)=>{var _0x48639c=_0x245a30;if(_0x169915[_0x48639c(0x4e1)]!==o[_0x48639c(0x370)][_0x48639c(0x328)]||_0x165168!=null&&_0x165168[_0x48639c(0x3cf)]||_0x165168!=null&&_0x165168[_0x48639c(0x416)])return;const _0x41a8bc=_0x169915[_0x48639c(0x2d3)];if((_0x41a8bc==null?void 0x0:_0x41a8bc[_0x48639c(0x204)])!==this[_0x48639c(0x261)])return;const _0x680b85=_0x169915,_0x161ae5=this['_compressMutationService'][_0x48639c(0x372)][_0x48639c(0x30f)](this[_0x48639c(0x235)]['interceptor'][_0x48639c(0x24c)]()[_0x48639c(0x2aa)])([_0x680b85],this[_0x48639c(0x230)])||[_0x680b85];this['_onLocalMutation'](_0x161ae5[0x0]);})),_0x2ba8ac;}},exports[_0x2f1e4f(0x3c9)]=Be([$(0x3,o['Inject'](o[_0x2f1e4f(0x2ae)])),$(0x4,o[_0x2f1e4f(0x408)](E['CompressMutationService'])),$(0x5,o[_0x2f1e4f(0x408)](o['LocaleService'])),$(0x6,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),$(0x7,o[_0x2f1e4f(0x408)](exports[_0x2f1e4f(0x42a)])),$(0x8,o[_0x2f1e4f(0x408)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x2f1e4f(0x33f)]),$(0xb,o['ICommandService']),$(0xc,o['IPermissionService']),$(0xd,o[_0x2f1e4f(0x238)](ve)),$(0xe,o['Optional'](q))],exports[_0x2f1e4f(0x3c9)]);const mt=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x339));function gt(_0x135d87){var _0x5db594=_0x2f1e4f,_0x214a3c,_0x49db96,_0x3b46c6,_0x19216f,_0x219274;const _0x51ff33=_0x135d87['data'],_0xec60e7=JSON[_0x5db594(0x4b2)](_0x51ff33);switch(_0xec60e7[_0x5db594(0x2d4)]){case W[_0x5db594(0x3ab)]:case W[_0x5db594(0x358)]:{const _0x5b3e3c=_0xec60e7[_0x5db594(0x384)];return{..._0xec60e7,'data':_0x5b3e3c,'cmd':_0xec60e7['cmd']};}case W[_0x5db594(0x23d)]:{const _0xf7c12d=_0xec60e7['joinRsp'];return{..._0xec60e7,'data':_0xf7c12d,'cmd':_0xec60e7[_0x5db594(0x2d4)]};}case W['RECV']:{const _0x5d1679=_0xec60e7[_0x5db594(0x1af)];switch(_0x5d1679['eventID']){case E[_0x5db594(0x192)][_0x5db594(0x33e)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x214a3c=_0x5d1679[_0x5db594(0x4bb)])==null?void 0x0:_0x214a3c['cs']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x480)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x49db96=_0x5d1679[_0x5db594(0x353)])==null?void 0x0:_0x49db96['cs']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)]['NEW_CHANGESETS']:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x3b46c6=_0x5d1679[_0x5db594(0x489)])==null?void 0x0:_0x3b46c6['cs']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x507)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x19216f=_0x5d1679[_0x5db594(0x265)])==null?void 0x0:_0x19216f['cs']},'cmd':_0xec60e7['cmd']};case E[_0x5db594(0x192)][_0x5db594(0x474)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x219274=_0x5d1679[_0x5db594(0x355)])==null?void 0x0:_0x219274['cs']},'cmd':_0xec60e7['cmd']};case E[_0x5db594(0x192)]['UPDATE_CURSOR']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679['updateCursorEvent']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x49d)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x3bb)]},'cmd':_0xec60e7['cmd']};case E[_0x5db594(0x192)][_0x5db594(0x38e)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679['leaveEvent']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E['CollaborationEvent'][_0x5db594(0x38f)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x327)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x321)]:case E[_0x5db594(0x192)]['LIVESHARE_OPERATION']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x311)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)]['LIVESHARE_TERMINATE']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x327)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E['CollaborationEvent'][_0x5db594(0x4c1)]:return{..._0xec60e7,'data':_0x5d1679,'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x1a4)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679['commentUpdateEvent']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x4c4)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x4bd)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)]['SHOULD_CLOSE_CONN']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x336)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x206)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x3aa)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};default:return _0xec60e7;}}default:return _0xec60e7;}}function Tt(_0x53bef8){var _0x5ed007=_0x2f1e4f;switch(_0x53bef8[_0x5ed007(0x2d4)]){case W[_0x5ed007(0x3ab)]:case W[_0x5ed007(0x358)]:return JSON['stringify']({'cmd':_0x53bef8['cmd'],'routeKey':_0x53bef8[_0x5ed007(0x3d8)]});case W['INGEST']:{let _0x385800;switch(_0x53bef8[_0x5ed007(0x1a1)]['eventID']){case E[_0x5ed007(0x192)][_0x5ed007(0x344)]:{_0x385800={'eventID':E['CollaborationEvent'][_0x5ed007(0x344)],'updateCursorEvent':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x38e)]:{_0x385800={'eventID':E[_0x5ed007(0x192)]['USERS_LEAVE'],'leaveEvent':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E['CollaborationEvent'][_0x5ed007(0x49d)]:{_0x385800={'eventID':E['CollaborationEvent'][_0x5ed007(0x49d)],'joinEvent':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x38f)]:{_0x385800={'eventID':E[_0x5ed007(0x192)][_0x5ed007(0x38f)],'liveShareNewHost':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E['CollaborationEvent'][_0x5ed007(0x478)]:{_0x385800={'eventID':E[_0x5ed007(0x192)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E['CollaborationEvent'][_0x5ed007(0x427)]:{_0x385800={'eventID':E[_0x5ed007(0x192)][_0x5ed007(0x427)],'liveShareTerminate':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x27a)]:{_0x385800={'eventID':E[_0x5ed007(0x192)][_0x5ed007(0x27a)],'liveShareRequestHost':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x321)]:{_0x385800={'eventID':E['CollaborationEvent'][_0x5ed007(0x321)]};break;}default:_0x385800={'eventID':_0x53bef8['data'][_0x5ed007(0x50b)]};}return JSON['stringify']({'cmd':_0x53bef8['cmd'],'routeKey':_0x53bef8[_0x5ed007(0x3d8)],'collaMsg':_0x385800});}case W[_0x5ed007(0x23d)]:return JSON[_0x5ed007(0x1dd)]({'cmd':_0x53bef8[_0x5ed007(0x2d4)],'routeKey':_0x53bef8['routeKey'],'joinReq':_0x53bef8[_0x5ed007(0x1a1)]});case W[_0x5ed007(0x479)]:return JSON[_0x5ed007(0x1dd)]({'cmd':_0x53bef8['cmd'],'routeKey':_0x53bef8[_0x5ed007(0x3d8)],'leaveReq':_0x53bef8[_0x5ed007(0x1a1)]});default:throw new Error(_0x5ed007(0x470));}}var ri=Object['getOwnPropertyDescriptor'],ai=(_0x52320b,_0x565036,_0x4c4db2,_0x568da3)=>{var _0x3099db=_0x2f1e4f;for(var _0x21058e=_0x568da3>0x1?void 0x0:_0x568da3?ri(_0x565036,_0x4c4db2):_0x565036,_0x13fcce=_0x52320b[_0x3099db(0x237)]-0x1,_0x3a71cc;_0x13fcce>=0x0;_0x13fcce--)(_0x3a71cc=_0x52320b[_0x13fcce])&&(_0x21058e=_0x3a71cc(_0x21058e)||_0x21058e);return _0x21058e;},he=(_0x4f8951,_0x317ecf)=>(_0x34632b,_0x119ae9)=>_0x317ecf(_0x34632b,_0x119ae9,_0x4f8951);const Fe=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x2e6));function oi(_0x50649a,_0x409a75,_0x3564a7){var _0x5832aa=_0x2f1e4f;return _0x50649a+'/'+_0x409a75+'/unit/'+_0x3564a7+_0x5832aa(0x18e);}exports[_0x2f1e4f(0x463)]=class extends o['Disposable']{constructor(_0x588e6d,_0x29a8ac,_0x502694,_0x5d9702,_0x212e77){var _0x19c0f9=_0x2f1e4f;super(),this[_0x19c0f9(0x187)]=_0x588e6d,this[_0x19c0f9(0x3d7)]=_0x29a8ac,this[_0x19c0f9(0x50e)]=_0x502694,this[_0x19c0f9(0x263)]=_0x5d9702,this[_0x19c0f9(0x2a7)]=_0x212e77;}[_0x2f1e4f(0x1e8)](_0x2ecbe4){var _0x4c76a1=_0x2f1e4f;const _0x153f10=this[_0x4c76a1(0x187)][_0x4c76a1(0x389)](K[_0x4c76a1(0x3e9)]);if(!_0x153f10)throw new Error(_0x4c76a1(0x1a7));const _0x5ba9de=_0x153f10['createSocket'](_0x2ecbe4);if(!_0x5ba9de)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5070c7=new o['DisposableCollection'](),_0x85847c=new j[(_0x4c76a1(0x452))]();_0x5070c7[_0x4c76a1(0x504)](_0x5ba9de[_0x4c76a1(0x25b)][_0x4c76a1(0x350)](_0x4036dd=>_0x85847c['next'](_0x4036dd))),_0x5070c7[_0x4c76a1(0x504)](o[_0x4c76a1(0x2e4)](()=>_0x85847c['complete']()));const _0x47b531=new j['Subject']();_0x5070c7[_0x4c76a1(0x504)](_0x5ba9de[_0x4c76a1(0x4f6)][_0x4c76a1(0x350)](_0x4941b9=>_0x47b531[_0x4c76a1(0x352)](_0x4941b9))),_0x5070c7['add'](o[_0x4c76a1(0x2e4)](()=>_0x47b531[_0x4c76a1(0x4ac)]()));const _0x5f3652=new j[(_0x4c76a1(0x452))]();_0x5070c7[_0x4c76a1(0x504)](_0x5ba9de[_0x4c76a1(0x3f0)][_0x4c76a1(0x350)](_0x4e8597=>{var _0x296253=_0x4c76a1;const _0x1b54c1=gt(_0x4e8597);_0x5f3652[_0x296253(0x352)](_0x1b54c1);})),_0x5070c7[_0x4c76a1(0x504)](o['toDisposable'](()=>_0x5f3652[_0x4c76a1(0x4ac)]()));let _0x291a1c;const _0x34e968=()=>{var _0x42ac26=_0x4c76a1;_0x47b531['next'](new Event(_0x42ac26(0x24d))),_0x85847c[_0x42ac26(0x352)](new Event(_0x42ac26(0x24d))),_0x291a1c[_0x42ac26(0x47f)]();};return _0x291a1c={'memberID':'','close$':_0x85847c[_0x4c76a1(0x253)](),'error$':_0x47b531['asObservable'](),'open$':_0x5ba9de['open$'],'message$':_0x5f3652[_0x4c76a1(0x253)](),'send':_0x298312=>{var _0x50ae8c=_0x4c76a1;if(_0x298312[_0x50ae8c(0x2d4)]===W[_0x50ae8c(0x423)]){if(_0x298312['data'][_0x50ae8c(0x50b)]===E[_0x50ae8c(0x192)][_0x50ae8c(0x4e6)]){this[_0x50ae8c(0x25c)](_0x291a1c,_0x298312[_0x50ae8c(0x1a1)])['catch'](_0x3fd43f=>{this['_logService']['error'](_0x3fd43f),_0x34e968();});return;}if(_0x298312['data']['eventID']===E[_0x50ae8c(0x192)][_0x50ae8c(0x18d)]){const _0x13ec62=_0x298312[_0x50ae8c(0x1a1)];this[_0x50ae8c(0x1bb)](_0x13ec62)[_0x50ae8c(0x3bc)](_0x272773=>{var _0x2ff1cb=_0x50ae8c;_0x5f3652[_0x2ff1cb(0x352)]({'cmd':W[_0x2ff1cb(0x38b)],'code':re['OK'],'routeKey':_0x13ec62[_0x2ff1cb(0x1a1)][_0x2ff1cb(0x261)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x2ff1cb(0x36c)],'data':{'changesets':_0x272773}}});})[_0x50ae8c(0x409)](_0x33aa40=>{var _0x350f55=_0x50ae8c;this[_0x350f55(0x263)][_0x350f55(0x3c3)](_0x33aa40),_0x34e968();});return;}}_0x5ba9de[_0x50ae8c(0x513)](Tt(_0x298312));},'close':()=>{var _0x360e16=_0x4c76a1;_0x5ba9de[_0x360e16(0x47f)](),_0x5070c7[_0x360e16(0x182)]();}},_0x291a1c;}async['_submitChangeset'](_0x2f20e3,_0x3d2f42){var _0x9071b1=_0x2f1e4f,_0x181f29;const {unitType:_0x379c2f,unitID:_0x29ab4e,changeset:_0x2f3955}=_0x3d2f42[_0x9071b1(0x1a1)],_0x2c0338={'unitID':_0x29ab4e,'memberID':_0x2f20e3[_0x9071b1(0x193)],'type':_0x379c2f,'changeset':E[_0x9071b1(0x1c5)](_0x2f3955)},_0x4ef836=this['_configService'][_0x9071b1(0x39d)](Y),_0x3122eb=oi((_0x181f29=_0x4ef836==null?void 0x0:_0x4ef836[_0x9071b1(0x269)])!=null?_0x181f29:$t,_0x379c2f,_0x29ab4e);try{await this[_0x9071b1(0x3d7)][_0x9071b1(0x284)](_0x3122eb,{'body':_0x2c0338});}catch(_0x33d1e1){throw this[_0x9071b1(0x263)][_0x9071b1(0x3c3)]('[CollaborationSession]',_0x9071b1(0x2df)),_0x33d1e1;}}async[_0x2f1e4f(0x1bb)](_0x4a72e2){var _0x4ee531=_0x2f1e4f;const {unitID:_0x3095f1,from:_0x1da043,to:_0x332fd6,unitType:_0x17eba7}=_0x4a72e2[_0x4ee531(0x1a1)];return(await this[_0x4ee531(0x2a7)][_0x4ee531(0x3b9)]({'metadata':void 0x0},{'unitID':_0x3095f1,'type':_0x17eba7,'from':_0x1da043,'to':_0x332fd6}))['changesets'][_0x4ee531(0x3c4)](_0x39846a=>((_0x39846a[_0x4ee531(0x2dc)]===null||_0x39846a[_0x4ee531(0x2dc)]===void 0x0)&&(_0x39846a[_0x4ee531(0x2dc)]=[]),_0x39846a));}},exports['CollaborationSocketService']=ai([he(0x0,o[_0x2f1e4f(0x408)](o['Injector'])),he(0x1,o['Inject'](K['HTTPService'])),he(0x2,o['IConfigService']),he(0x3,o[_0x2f1e4f(0x33f)]),he(0x4,E[_0x2f1e4f(0x420)])],exports['CollaborationSocketService']);var ci=Object[_0x2f1e4f(0x4dc)],_i=(_0x58404c,_0xba16e2,_0x3de21c,_0x406165)=>{var _0x6e9342=_0x2f1e4f;for(var _0x425d74=_0x406165>0x1?void 0x0:_0x406165?ci(_0xba16e2,_0x3de21c):_0xba16e2,_0x7ad4ed=_0x58404c[_0x6e9342(0x237)]-0x1,_0x5f4612;_0x7ad4ed>=0x0;_0x7ad4ed--)(_0x5f4612=_0x58404c[_0x7ad4ed])&&(_0x425d74=_0x5f4612(_0x425d74)||_0x425d74);return _0x425d74;},_e=(_0x152a25,_0x561f2a)=>(_0x585abc,_0xfb7fd2)=>_0x561f2a(_0x585abc,_0xfb7fd2,_0x152a25);exports[_0x2f1e4f(0x323)]=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x2d4db7,_0x57f708,_0x264ca5,_0x51966b,_0x375aab,_0x5efccc){var _0x525e4a=_0x2f1e4f;super(),A(this,'_socket$',new j[(_0x525e4a(0x387))](void 0x0)),A(this,_0x525e4a(0x4b0),this['_socket$'][_0x525e4a(0x253)]()),A(this,_0x525e4a(0x3d4),null),A(this,_0x525e4a(0x233),new Map()),A(this,'_status$',new j[(_0x525e4a(0x387))](se['IDLE'])),A(this,_0x525e4a(0x472),this['_status$'][_0x525e4a(0x253)]()),A(this,_0x525e4a(0x2b4),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,_0x525e4a(0x40d)),A(this,_0x525e4a(0x29d)),(this[_0x525e4a(0x187)]=_0x2d4db7,this['_logService']=_0x57f708,this[_0x525e4a(0x50e)]=_0x264ca5,this[_0x525e4a(0x2d5)]=_0x51966b,this[_0x525e4a(0x1f8)]=_0x375aab,this['_networkConditionService']=_0x5efccc,this[_0x525e4a(0x451)]());}get[_0x2f1e4f(0x185)](){var _0x58955c=_0x2f1e4f;return this[_0x58955c(0x1ca)][_0x58955c(0x302)]();}[_0x2f1e4f(0x451)](){var _0x555f34=_0x2f1e4f;this[_0x555f34(0x1d2)]&&this[_0x555f34(0x1b7)](this[_0x555f34(0x1d2)][_0x555f34(0x37c)][_0x555f34(0x350)](_0x447c56=>{var _0x4c5978=_0x555f34;_0x447c56&&!this['_socket']&&this[_0x4c5978(0x4f4)](),_0x447c56||this[_0x4c5978(0x40a)]();}));}['dispose'](){var _0xeffff3=_0x2f1e4f;super['dispose'](),this[_0xeffff3(0x308)](),this[_0xeffff3(0x468)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x1379a6=>_0x1379a6[_0xeffff3(0x182)]()),this[_0xeffff3(0x233)][_0xeffff3(0x225)](),this['_status$']['complete']();}async['requireSession'](_0x156107){var _0x24de5c=_0x2f1e4f;if(this['_sessions']['has'](_0x156107))return this[_0x24de5c(0x233)][_0x24de5c(0x389)](_0x156107);this[_0x24de5c(0x196)]();const _0x53c0b0=this['_injector'][_0x24de5c(0x4fa)](exports[_0x24de5c(0x401)],_0x156107,this[_0x24de5c(0x1ca)][_0x24de5c(0x253)]());return this[_0x24de5c(0x233)][_0x24de5c(0x3d1)](_0x156107,_0x53c0b0),_0x53c0b0;}[_0x2f1e4f(0x494)](_0x54b8b0){var _0x31a408=_0x2f1e4f,_0x5168ba;const _0x38ad2d=this[_0x31a408(0x233)]['get'](_0x54b8b0);_0x38ad2d&&(this[_0x31a408(0x233)][_0x31a408(0x37e)](_0x54b8b0),_0x38ad2d['close']()),this[_0x31a408(0x233)][_0x31a408(0x3ba)]||(_0x5168ba=this['_socket'])==null||_0x5168ba[_0x31a408(0x47f)]();}[_0x2f1e4f(0x4f4)](){var _0x2f6707=_0x2f1e4f;this[_0x2f6707(0x410)]=0x0,this[_0x2f6707(0x308)](),this[_0x2f6707(0x3ae)]();}[_0x2f1e4f(0x308)](){var _0x55c148=_0x2f1e4f;this[_0x55c148(0x30c)]!=null&&(clearTimeout(this[_0x55c148(0x30c)]),this['_retryConnectingTimer']=null);}async[_0x2f1e4f(0x207)](){var _0x4a76c6=_0x2f1e4f,_0x527ff1;const _0x53de5e=this[_0x4a76c6(0x50e)][_0x4a76c6(0x39d)](Y),_0x4be16e=(_0x527ff1=_0x53de5e==null?void 0x0:_0x53de5e['collabWebSocketUrl'])!=null?_0x527ff1:ht,_0x2ef288=await this[_0x4a76c6(0x2d5)][_0x4a76c6(0x331)](_0x4be16e);return this['_candidateSocket']=_0x2ef288,_0x2ef288;}async[_0x2f1e4f(0x196)](){var _0xaf1b3b=_0x2f1e4f,_0x305c2a,_0x4edcdc;try{const _0x57c4c2=(_0x4edcdc=(_0x305c2a=this[_0xaf1b3b(0x185)])!=null?_0x305c2a:this['_candidateSocket'])!=null?_0x4edcdc:await this[_0xaf1b3b(0x207)]();if(_0x57c4c2){const _0x382eda=_0x57c4c2['send'];_0x57c4c2[_0xaf1b3b(0x513)]=_0x47ba5b=>(this[_0xaf1b3b(0x502)](),_0x382eda[_0xaf1b3b(0x415)](_0x57c4c2,[_0x47ba5b])),_0x57c4c2[_0xaf1b3b(0x3f0)][_0xaf1b3b(0x350)](_0x3ed825=>this[_0xaf1b3b(0x4c7)](_0x57c4c2,_0x3ed825)),_0x57c4c2[_0xaf1b3b(0x4f6)][_0xaf1b3b(0x222)](V['take'](0x1))['subscribe'](_0x391e2b=>this[_0xaf1b3b(0x263)][_0xaf1b3b(0x3c3)](_0xaf1b3b(0x4aa),_0x391e2b)),_0x57c4c2[_0xaf1b3b(0x3d5)][_0xaf1b3b(0x222)](V[_0xaf1b3b(0x374)](0x1))[_0xaf1b3b(0x350)](()=>{var _0x112c2b=_0xaf1b3b;this[_0x112c2b(0x2c8)](_0x57c4c2);}),_0x57c4c2[_0xaf1b3b(0x25b)][_0xaf1b3b(0x222)](V[_0xaf1b3b(0x374)](0x1))[_0xaf1b3b(0x350)](_0x36a277=>{var _0x55e8c9=_0xaf1b3b;this[_0x55e8c9(0x263)][_0x55e8c9(0x48b)](_0x55e8c9(0x516),_0x55e8c9(0x2bc),_0x36a277),this[_0x55e8c9(0x41d)]();});}}catch(_0x19af63){this['_logService'][_0xaf1b3b(0x3c3)](_0x19af63),this[_0xaf1b3b(0x41d)]();}}[_0x2f1e4f(0x2c8)](_0x46be72){var _0x31a800=_0x2f1e4f;this['_logService']['debug'](_0x31a800(0x516),_0x31a800(0x36a)),_0x46be72[_0x31a800(0x513)]({'cmd':W[_0x31a800(0x358)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x34aab8=_0x2f1e4f;this[_0x34aab8(0x2b4)]=!0x1,this['_candidateSocket']=null,this[_0x34aab8(0x450)][_0x34aab8(0x352)](se[_0x34aab8(0x294)]),this[_0x34aab8(0x1ca)][_0x34aab8(0x352)](null),this[_0x34aab8(0x468)](),this['_clearHeartbeatTimer']();}[_0x2f1e4f(0x41d)](){var _0xdccd31=_0x2f1e4f,_0x2c0be1;this['_onOffline'](),this[_0xdccd31(0x410)]<((_0x2c0be1=this['_configService'][_0xdccd31(0x39d)](vt))!=null?_0x2c0be1:wt)?(this[_0xdccd31(0x1f8)][_0xdccd31(0x18f)]({'id':J['SOCKET_FAILED_RETRY']}),this[_0xdccd31(0x3ae)]()):this[_0xdccd31(0x1f8)][_0xdccd31(0x18f)]({'id':J['SOCKET_FAILED']});}[_0x2f1e4f(0x3ae)](){var _0x13704b=_0x2f1e4f,_0x266c9f;const _0x5a3d9d=this['_retryCount'],_0x405b83=this[_0x13704b(0x50e)][_0x13704b(0x39d)](Y),_0x4fbc7f=_0x5a3d9d===0x0?0x0:((_0x266c9f=_0x405b83==null?void 0x0:_0x405b83['retryConnectingInterval'])!=null?_0x266c9f:Mt)*0x2**_0x5a3d9d;this[_0x13704b(0x30c)]=setTimeout(()=>{var _0x5ab523=_0x13704b;clearTimeout(this['_retryConnectingTimer']),this[_0x5ab523(0x30c)]=null,this['_tryEnsureSocket']();},_0x4fbc7f),this[_0x13704b(0x410)]+=0x1;}[_0x2f1e4f(0x4c7)](_0xda22a5,_0x559d24){var _0x46d786=_0x2f1e4f;const {cmd:_0x4da8f5}=_0x559d24;_0x4da8f5===W[_0x46d786(0x358)]&&!this['_socketReady']&&(_0xda22a5[_0x46d786(0x193)]=_0x559d24[_0x46d786(0x1a1)][_0x46d786(0x193)],this['_socket$'][_0x46d786(0x352)](_0xda22a5),this[_0x46d786(0x450)][_0x46d786(0x352)](se[_0x46d786(0x31d)]),this[_0x46d786(0x2b4)]=!0x0,this[_0x46d786(0x3d4)]=null),_0x4da8f5===W[_0x46d786(0x3ab)]&&this[_0x46d786(0x468)](),this[_0x46d786(0x502)]();}[_0x2f1e4f(0x502)](){var _0xce887b=_0x2f1e4f,_0x2601eb;this[_0xce887b(0x1e9)](),this[_0xce887b(0x40d)]=setTimeout(()=>this[_0xce887b(0x264)](),(_0x2601eb=this[_0xce887b(0x50e)]['getConfig'](lt))!=null?_0x2601eb:Lt);}[_0x2f1e4f(0x264)](){var _0x29fe9c=_0x2f1e4f;this[_0x29fe9c(0x185)][_0x29fe9c(0x513)]({'cmd':W[_0x29fe9c(0x3ab)]}),this[_0x29fe9c(0x4d6)]();}[_0x2f1e4f(0x4d6)](){var _0xe7c6de=_0x2f1e4f,_0x576b6a;this[_0xe7c6de(0x29d)]=setTimeout(()=>this[_0xe7c6de(0x41d)](),(_0x576b6a=this[_0xe7c6de(0x50e)][_0xe7c6de(0x39d)](ke))!=null?_0x576b6a:ut);}[_0x2f1e4f(0x1e9)](){var _0x45cc8f=_0x2f1e4f;this[_0x45cc8f(0x40d)]!=null&&(clearTimeout(this[_0x45cc8f(0x40d)]),this[_0x45cc8f(0x40d)]=null);}[_0x2f1e4f(0x468)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([_e(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),_e(0x1,o[_0x2f1e4f(0x33f)]),_e(0x2,o[_0x2f1e4f(0x2f0)]),_e(0x3,Fe),_e(0x4,o[_0x2f1e4f(0x408)](ee)),_e(0x5,o[_0x2f1e4f(0x238)](mt))],exports[_0x2f1e4f(0x323)]);var hi=Object['getOwnPropertyDescriptor'],li=(_0x4093c9,_0x27b7a1,_0x1ec089,_0x3fe043)=>{var _0x4abdab=_0x2f1e4f;for(var _0x46342e=_0x3fe043>0x1?void 0x0:_0x3fe043?hi(_0x27b7a1,_0x1ec089):_0x27b7a1,_0x1bb6c0=_0x4093c9[_0x4abdab(0x237)]-0x1,_0x1a8b42;_0x1bb6c0>=0x0;_0x1bb6c0--)(_0x1a8b42=_0x4093c9[_0x1bb6c0])&&(_0x46342e=_0x1a8b42(_0x46342e)||_0x46342e);return _0x46342e;},Se=(_0x1c5385,_0xf0c3c8)=>(_0x3cff7e,_0xdedbc5)=>_0xf0c3c8(_0x3cff7e,_0xdedbc5,_0x1c5385);exports[_0x2f1e4f(0x2f3)]=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0x135136,_0xf77188,_0x594343,_0x584ca4){var _0x5a1f43=_0x2f1e4f,_0x4e8a83;super(),A(this,_0x5a1f43(0x3b5),new Map()),A(this,_0x5a1f43(0x34e),new j['Subject']()),A(this,_0x5a1f43(0x2eb),this[_0x5a1f43(0x34e)][_0x5a1f43(0x253)]()),(this['_injector']=_0x135136,this['_collabSessionService']=_0xf77188,this['_configService']=_0x594343,this[_0x5a1f43(0x230)]=_0x584ca4,((_0x4e8a83=this[_0x5a1f43(0x50e)][_0x5a1f43(0x39d)](Y))==null?void 0x0:_0x4e8a83[_0x5a1f43(0x296)])!==!0x1&&this['_init']());}[_0x2f1e4f(0x182)](){var _0x44f876=_0x2f1e4f;super['dispose'](),this[_0x44f876(0x3b5)][_0x44f876(0x1f7)](_0x55ea38=>_0x55ea38[_0x44f876(0x182)]()),this['_entities'][_0x44f876(0x225)]();}[_0x2f1e4f(0x21d)](_0x32a9ff){var _0x5bf847=_0x2f1e4f,_0x5d6ffc;return(_0x5d6ffc=this[_0x5bf847(0x3b5)][_0x5bf847(0x389)](_0x32a9ff))!=null?_0x5d6ffc:null;}[_0x2f1e4f(0x243)](_0x374bfc){var _0x4919f3=_0x2f1e4f;const _0x3a4ea5=this[_0x4919f3(0x21d)](_0x374bfc);return _0x3a4ea5?j['of'](_0x3a4ea5):this[_0x4919f3(0x34e)][_0x4919f3(0x222)](V[_0x4919f3(0x1ee)](_0x23fcad=>_0x23fcad[_0x4919f3(0x261)]===_0x374bfc));}[_0x2f1e4f(0x3f5)](_0x730c6f){var _0x4de6c5=_0x2f1e4f;return j[_0x4de6c5(0x3bd)](this[_0x4de6c5(0x243)](_0x730c6f)['pipe'](V[_0x4de6c5(0x3c4)](()=>{})));}[_0x2f1e4f(0x3e0)](){var _0x3c09ac=_0x2f1e4f;this['_univerInstanceService'][_0x3c09ac(0x361)](o['UniverInstanceType'][_0x3c09ac(0x1db)])[_0x3c09ac(0x222)](j['takeUntil'](this['dispose$']),V[_0x3c09ac(0x481)](0x10))[_0x3c09ac(0x350)](async _0x4d9a3f=>{var _0x329cba=_0x3c09ac;const _0x3852bb=_0x4d9a3f[_0x329cba(0x41a)](),_0x671c87=await this['_startCollaboration'](_0x3852bb,X[_0x329cba(0x1db)]);this[_0x329cba(0x3b5)][_0x329cba(0x3d1)](_0x3852bb,_0x671c87);}),this['_univerInstanceService'][_0x3c09ac(0x361)](o[_0x3c09ac(0x2d1)]['UNIVER_DOC'])[_0x3c09ac(0x222)](j[_0x3c09ac(0x44a)](this[_0x3c09ac(0x392)]),V[_0x3c09ac(0x481)](0x10))[_0x3c09ac(0x222)](V[_0x3c09ac(0x1ee)](_0xfcb47e=>!_0xfcb47e[_0x3c09ac(0x41a)]()[_0x3c09ac(0x4c6)]('__')))[_0x3c09ac(0x350)](async _0x50656d=>{var _0x392d4c=_0x3c09ac;const _0x1a7b89=_0x50656d[_0x392d4c(0x41a)](),_0x52c984=await this['_startCollaboration'](_0x1a7b89,X[_0x392d4c(0x376)]);this['_entities']['set'](_0x1a7b89,_0x52c984);}),j[_0x3c09ac(0x3a8)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x3c09ac(0x2d1)][_0x3c09ac(0x1db)]),this['_univerInstanceService'][_0x3c09ac(0x22a)](o[_0x3c09ac(0x2d1)][_0x3c09ac(0x376)]))[_0x3c09ac(0x222)](j[_0x3c09ac(0x44a)](this[_0x3c09ac(0x392)]))[_0x3c09ac(0x350)](_0x552d15=>{var _0x338d42=_0x3c09ac;const _0x2a96b0=_0x552d15[_0x338d42(0x41a)](),_0x2a23ce=this[_0x338d42(0x3b5)][_0x338d42(0x389)](_0x2a96b0);_0x2a23ce&&(_0x2a23ce[_0x338d42(0x182)](),this['_entities'][_0x338d42(0x37e)](_0x2a96b0));});}async['_startCollaboration'](_0x51fea8,_0x4f9d11){var _0xf2628d=_0x2f1e4f;const _0x111ce1=await this[_0xf2628d(0x298)][_0xf2628d(0x49a)](_0x51fea8),_0x380755=this[_0xf2628d(0x187)][_0xf2628d(0x4fa)](this[_0xf2628d(0x34a)](_0x4f9d11),_0x51fea8,_0x4f9d11,_0x111ce1);return await _0x380755[_0xf2628d(0x477)](),this[_0xf2628d(0x34e)][_0xf2628d(0x352)](_0x380755),_0x380755;}[_0x2f1e4f(0x34a)](_0x1d2348){var _0x5e318b=_0x2f1e4f;switch(_0x1d2348){case X[_0x5e318b(0x376)]:return exports[_0x5e318b(0x28f)];case X[_0x5e318b(0x1db)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x5e318b(0x2f5)+_0x1d2348);}}},exports[_0x2f1e4f(0x2f3)]=li([Se(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),Se(0x1,o[_0x2f1e4f(0x408)](exports['CollaborationSessionService'])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x2f1e4f(0x318)])],exports['CollaborationController']);var ui=Object[_0x2f1e4f(0x4dc)],vi=(_0x1557d2,_0x52e7c9,_0x12e29a,_0x87cb44)=>{var _0x136ceb=_0x2f1e4f;for(var _0x3185bd=_0x87cb44>0x1?void 0x0:_0x87cb44?ui(_0x52e7c9,_0x12e29a):_0x52e7c9,_0x3f4d2d=_0x1557d2[_0x136ceb(0x237)]-0x1,_0x430621;_0x3f4d2d>=0x0;_0x3f4d2d--)(_0x430621=_0x1557d2[_0x3f4d2d])&&(_0x3185bd=_0x430621(_0x3185bd)||_0x3185bd);return _0x3185bd;},Ye=(_0x35bd29,_0xa4f25d)=>(_0x5e8b7d,_0x41e453)=>_0xa4f25d(_0x5e8b7d,_0x41e453,_0x35bd29);const di=_0x2f1e4f(0x1d8),Si=_0x2f1e4f(0x26a);let xe=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x3eefa9,_0x59d037){var _0x1a319b=_0x2f1e4f;super(),this[_0x1a319b(0x230)]=_0x3eefa9,this['_configService']=_0x59d037,this[_0x1a319b(0x3e0)]();}['_init'](){var _0x2c0099=_0x2f1e4f;this[_0x2c0099(0x1b7)](this[_0x2c0099(0x230)]['focused$'][_0x2c0099(0x350)](()=>{var _0xf477c9=_0x2c0099,_0x2bd3af;const _0x3ea716=this[_0xf477c9(0x230)][_0xf477c9(0x510)]();let _0x26cf73=(_0x2bd3af=this[_0xf477c9(0x50e)][_0xf477c9(0x39d)](di))!=null?_0x2bd3af:Si;_0x3ea716 instanceof o[_0xf477c9(0x304)]&&(_0x26cf73=_0x3ea716[_0xf477c9(0x3ce)]),document[_0xf477c9(0x1a5)]=_0x26cf73;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x2f1e4f(0x2f0)])],xe);var Ii=Object[_0x2f1e4f(0x4dc)],fi=(_0x4432e3,_0x82deb1,_0x163f03,_0x3697b9)=>{var _0x3cc8dc=_0x2f1e4f;for(var _0x4ae19a=_0x3697b9>0x1?void 0x0:_0x3697b9?Ii(_0x82deb1,_0x163f03):_0x82deb1,_0x4672d9=_0x4432e3[_0x3cc8dc(0x237)]-0x1,_0x14418d;_0x4672d9>=0x0;_0x4672d9--)(_0x14418d=_0x4432e3[_0x4672d9])&&(_0x4ae19a=_0x14418d(_0x4ae19a)||_0x4ae19a);return _0x4ae19a;},Ae=(_0x4a6d93,_0x581907)=>(_0x3a2e66,_0x1fd688)=>_0x581907(_0x3a2e66,_0x1fd688,_0x4a6d93);let Ne=class{constructor(_0x4dce4f,_0x2695ad,_0x175b2e){var _0x1217e7=_0x2f1e4f;this['_configService']=_0x4dce4f,this[_0x1217e7(0x3d7)]=_0x2695ad,this['localeService']=_0x175b2e,this[_0x1217e7(0x477)]();}[_0x2f1e4f(0x477)](){var _0x2fda17=_0x2f1e4f;this[_0x2fda17(0x3d7)][_0x2fda17(0x32e)]({'priority':0x1,'interceptor':(_0xf11072,_0x3eba3f)=>_0x3eba3f(_0xf11072)[_0x2fda17(0x222)](j[_0x2fda17(0x18a)](async _0x36e1eb=>{var _0x19f5b2=_0x2fda17;const _0xfbf072=_0x36e1eb;if(_0xfbf072[_0x19f5b2(0x1c9)]===0x191){if(typeof window>'u')throw new Error(_0x19f5b2(0x356));if(window[_0x19f5b2(0x276)](this[_0x19f5b2(0x292)]['t'](_0x19f5b2(0x1ec)))){const _0x4c5571=window['encodeURIComponent'](window[_0x19f5b2(0x300)][_0x19f5b2(0x1da)]);window[_0x19f5b2(0x300)]['href']=this[_0x19f5b2(0x1f4)]()+_0x19f5b2(0x252)+_0x4c5571;}}return _0xfbf072;}))});}[_0x2f1e4f(0x1f4)](){var _0x1a75fe=_0x2f1e4f,_0xde362;const _0x661348=this[_0x1a75fe(0x50e)][_0x1a75fe(0x39d)](Y);return(_0xde362=_0x661348==null?void 0x0:_0x661348[_0x1a75fe(0x4d3)])!=null?_0xde362:Ht;}};Ne=fi([Ae(0x0,o[_0x2f1e4f(0x2f0)]),Ae(0x1,o[_0x2f1e4f(0x408)](K['HTTPService'])),Ae(0x2,o['Inject'](o['LocaleService']))],Ne);var Ei=Object[_0x2f1e4f(0x4dc)],pi=(_0x23b77c,_0x375ba8,_0x5bf0f0,_0x3db87f)=>{for(var _0x24dba1=_0x3db87f>0x1?void 0x0:_0x3db87f?Ei(_0x375ba8,_0x5bf0f0):_0x375ba8,_0x423baa=_0x23b77c['length']-0x1,_0x22e978;_0x423baa>=0x0;_0x423baa--)(_0x22e978=_0x23b77c[_0x423baa])&&(_0x24dba1=_0x22e978(_0x24dba1)||_0x24dba1);return _0x24dba1;},Ke=(_0x16f35d,_0x185c3e)=>(_0x589f4c,_0x2aa21f)=>_0x185c3e(_0x589f4c,_0x2aa21f,_0x16f35d);const mi=_0x2f1e4f(0x2c3);exports['AuthzIoHttpService']=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x2f0199,_0x590181){var _0x54f417=_0x2f1e4f;super(),this[_0x54f417(0x320)]=_0x2f0199,this[_0x54f417(0x50e)]=_0x590181,this[_0x54f417(0x3ef)]();}[_0x2f1e4f(0x3ef)](){var _0x15a286=_0x2f1e4f;const _0x3a5b33=this;this[_0x15a286(0x1b7)](this[_0x15a286(0x320)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K[_0x15a286(0x240)]({'isMatch'(_0x968e13){var _0x1cf152=_0x15a286,_0x236045;if(_0x968e13[_0x1cf152(0x4ff)]===_0x1cf152(0x368)&&((_0x236045=_0x968e13[_0x1cf152(0x3ad)])!=null&&_0x236045[_0x1cf152(0x412)])){const {objectID:_0x2b2f86,objectType:_0xac8500}=_0x968e13[_0x1cf152(0x3ad)]['body']||{};if(!_0x2b2f86||_0xac8500===void 0x0)return!0x1;const _0x29758b=_0x3a5b33[_0x1cf152(0x2ab)]()+'/'+_0xac8500+_0x1cf152(0x34b)+_0x2b2f86+_0x1cf152(0x1ba);if(_0x968e13[_0x1cf152(0x3cb)]===_0x29758b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4fc8f8){var _0x21ed74=_0x15a286,_0x3f6557;return(_0x3f6557=_0x4fc8f8[_0x21ed74(0x3ad)])==null?void 0x0:_0x3f6557['body'];},'mergeParamsToRequest'(_0x281bdd,_0x5351df){var _0x285e96=_0x15a286;const _0x540e44=_0x3a5b33['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0xf01f5f=_0x281bdd[_0x285e96(0x249)]((_0x33959a,_0x1a3a5b)=>{var _0x6ae1d=_0x285e96;const {unitID:_0xefde56,objectID:_0x24f881,objectType:_0x4b910a,actions:_0x241736}=_0x1a3a5b;return _0x33959a[_0xefde56]||(_0x33959a[_0xefde56]={}),_0x33959a[_0xefde56][_0x24f881]||(_0x33959a[_0xefde56][_0x24f881]={'objectID':_0x24f881,'objectType':_0x4b910a,'actions':[]}),_0x33959a[_0xefde56][_0x24f881][_0x6ae1d(0x4a1)]['push'](..._0x241736),_0x33959a;},{}),_0x7901cc=[];for(const _0x2b5dd6 in _0xf01f5f)for(const _0x752fac in _0xf01f5f[_0x2b5dd6]){const {actions:_0xbd3114,objectType:_0x46490b}=_0xf01f5f[_0x2b5dd6][_0x752fac],_0x2c0748=[...new Set(_0xbd3114)];_0x7901cc[_0x285e96(0x1b2)]({'unitID':_0x2b5dd6,'objectID':_0x752fac,'objectType':_0x46490b,'actions':_0x2c0748});}return new K[(_0x285e96(0x448))](_0x285e96(0x368),_0x540e44,{'headers':_0x5351df['headers'],'withCredentials':_0x5351df[_0x285e96(0x2af)],'responseType':_0x5351df['responseType'],'body':{'requests':_0x7901cc}});}},{'distributeResult'(_0x55f423,_0x28f2ad){var _0x6d6084=_0x15a286;const {objectActions:_0x2bf07a}=_0x55f423;return _0x28f2ad[_0x6d6084(0x3c4)](_0x1cdc92=>{var _0xb8720c=_0x6d6084;const {unitID:_0x5f2d7a,objectID:_0x17580b,actions:_0x1b5ec5}=_0x1cdc92,_0x539e3a=_0x2bf07a[_0xb8720c(0x4d0)](_0x269b14=>_0x269b14[_0xb8720c(0x261)]===_0x5f2d7a&&_0x269b14[_0xb8720c(0x1d9)]===_0x17580b),_0x2c7c37=_0x1b5ec5['map'](_0x3914e5=>_0x539e3a==null?void 0x0:_0x539e3a[_0xb8720c(0x4a1)][_0xb8720c(0x4d0)](_0x41ff91=>_0x41ff91[_0xb8720c(0x259)]===_0x3914e5))['filter'](_0x88b82a=>!!_0x88b82a);return{'config':_0x1cdc92,'result':{'actions':_0x2c7c37,'error':_0x55f423[_0xb8720c(0x3c3)]}};});}})}));}[_0x2f1e4f(0x2ab)](){var _0x2c7457=_0x2f1e4f,_0x516ad1;const _0x2c5b77=this[_0x2c7457(0x50e)][_0x2c7457(0x39d)](Y);return(_0x516ad1=_0x2c5b77==null?void 0x0:_0x2c5b77[_0x2c7457(0x43d)])!=null?_0x516ad1:mi;}async[_0x2f1e4f(0x2a9)](_0x576a30){var _0x1f28f5=_0x2f1e4f;const _0x3b8245=this[_0x1f28f5(0x2ab)]()+'/'+_0x576a30['objectType']+_0x1f28f5(0x2e8);return(await this[_0x1f28f5(0x320)][_0x1f28f5(0x284)](_0x3b8245,{'body':_0x576a30}))['body'][_0x1f28f5(0x1d9)]||'';}async['list'](_0x34685e){var _0x3a58e9=_0x2f1e4f;const _0x2931cf=this[_0x3a58e9(0x2ab)]()+'/-/object/list';return(await this[_0x3a58e9(0x320)][_0x3a58e9(0x284)](_0x2931cf,{'body':_0x34685e}))[_0x3a58e9(0x412)][_0x3a58e9(0x299)];}async[_0x2f1e4f(0x2d6)](_0x3a845a){var _0x2056a3=_0x2f1e4f,_0x4460ca,_0x5b5cb5;const _0x1ea7e0=this[_0x2056a3(0x2ab)]()+'/'+_0x3a845a[_0x2056a3(0x2e1)]+_0x2056a3(0x34b)+_0x3a845a[_0x2056a3(0x1d9)],_0x2bde61=await this[_0x2056a3(0x320)][_0x2056a3(0x4a3)](_0x1ea7e0,{'body':_0x3a845a});if(((_0x5b5cb5=(_0x4460ca=_0x2bde61==null?void 0x0:_0x2bde61[_0x2056a3(0x412)])==null?void 0x0:_0x4460ca[_0x2056a3(0x3c3)])==null?void 0x0:_0x5b5cb5['code'])!==0x1)throw new Error(_0x2056a3(0x4cf));}async['allowed'](_0x40a5c9){var _0x270ee4=_0x2f1e4f;const _0x483b49=this['_getAPIPrefixPath']()+'/'+_0x40a5c9['objectType']+_0x270ee4(0x34b)+_0x40a5c9['objectID']+_0x270ee4(0x1ba);return(await this[_0x270ee4(0x320)][_0x270ee4(0x284)](_0x483b49,{'body':_0x40a5c9}))[_0x270ee4(0x412)][_0x270ee4(0x4a1)];}async['batchAllowed'](_0x2e43e4){var _0x5e4b78=_0x2f1e4f;const _0x9ba097=this[_0x5e4b78(0x2ab)]()+_0x5e4b78(0x3c5);return(await this[_0x5e4b78(0x320)][_0x5e4b78(0x284)](_0x9ba097,{'body':{'requests':_0x2e43e4}}))[_0x5e4b78(0x412)][_0x5e4b78(0x312)];}async[_0x2f1e4f(0x41e)](_0x454851){var _0x53c6c8=_0x2f1e4f;const _0x1a9cb9=this[_0x53c6c8(0x2ab)]()+'/'+_0x454851[_0x53c6c8(0x2e1)]+_0x53c6c8(0x3e5),_0x20ff41=await this[_0x53c6c8(0x320)][_0x53c6c8(0x284)](_0x1a9cb9,{'body':_0x454851});return{'roles':_0x20ff41[_0x53c6c8(0x412)][_0x53c6c8(0x35a)],'actions':_0x20ff41[_0x53c6c8(0x412)][_0x53c6c8(0x4a1)]};}async['deleteCollaborator'](_0x68d6bc){var _0x146ab2=_0x2f1e4f;const _0x3614ff=this[_0x146ab2(0x2ab)]()+_0x146ab2(0x3fa);await this[_0x146ab2(0x320)]['delete'](_0x3614ff,{'params':{'collaboratorID':_0x68d6bc[_0x146ab2(0x18c)],'objectID':_0x68d6bc[_0x146ab2(0x1d9)],'unitID':_0x68d6bc[_0x146ab2(0x261)]}});}async[_0x2f1e4f(0x33d)](_0x396ba2){var _0x29aefd=_0x2f1e4f;const _0x1cec9b=this['_getAPIPrefixPath']()+_0x29aefd(0x3fa);await this['_HTTPService'][_0x29aefd(0x380)](_0x1cec9b,{'body':_0x396ba2});}async[_0x2f1e4f(0x20f)](_0x32531a){var _0x10466e=_0x2f1e4f;const _0x1636d1=this[_0x10466e(0x2ab)]()+'/collaborator';await this[_0x10466e(0x320)][_0x10466e(0x284)](_0x1636d1,{'body':_0x32531a});}async[_0x2f1e4f(0x337)](_0x18f17b){var _0x56c413=_0x2f1e4f;const _0x293bfc=this[_0x56c413(0x2ab)]()+_0x56c413(0x3fa);return(await this[_0x56c413(0x320)]['get'](_0x293bfc,{'params':{'objectID':_0x18f17b[_0x56c413(0x1d9)],'unitID':_0x18f17b[_0x56c413(0x261)]}}))[_0x56c413(0x412)][_0x56c413(0x2b5)];}async['putCollaborators'](_0x2e7c73){var _0x22a4d6=_0x2f1e4f;const _0x2e204d=this[_0x22a4d6(0x2ab)]()+_0x22a4d6(0x3fa);await this[_0x22a4d6(0x320)][_0x22a4d6(0x4a3)](_0x2e204d,{'body':_0x2e7c73});}},exports[_0x2f1e4f(0x1bd)]=pi([Ke(0x0,o['Inject'](K[_0x2f1e4f(0x369)])),Ke(0x1,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2f0)]))],exports[_0x2f1e4f(0x1bd)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x408687){var _0x162993=_0x2f1e4f;return _0x408687&&_0x408687[_0x162993(0x421)]&&Object[_0x162993(0x232)][_0x162993(0x20c)]['call'](_0x408687,'default')?_0x408687[_0x162993(0x422)]:_0x408687;}var Ie={'exports':{}};function gi(_0x26337e){var _0x45807d=_0x2f1e4f;throw new Error(_0x45807d(0x4f9)+_0x26337e+_0x45807d(0x3f7));}var fe={'exports':{}},Ti=fe[_0x2f1e4f(0x3e1)],qe;function Z(){var _0x2d81db=_0x2f1e4f;return qe||(qe=0x1,function(_0x1345a3,_0x130ccb){(function(_0x4dc0f1,_0xb6ee6e){var _0xe338bb=_0x223c;_0x1345a3[_0xe338bb(0x3e1)]=_0xb6ee6e();}(Ti,function(){var _0x581a31=_0x581a31||function(_0x2d6db8,_0x553ee9){var _0x1b9386=_0x223c,_0x246330;if(typeof window<'u'&&window['crypto']&&(_0x246330=window[_0x1b9386(0x4e4)]),typeof self<'u'&&self['crypto']&&(_0x246330=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x246330=globalThis[_0x1b9386(0x4e4)]),!_0x246330&&typeof window<'u'&&window['msCrypto']&&(_0x246330=window['msCrypto']),!_0x246330&&typeof Pe<'u'&&Pe['crypto']&&(_0x246330=Pe[_0x1b9386(0x4e4)]),!_0x246330&&typeof gi==_0x1b9386(0x461))try{_0x246330=require('crypto');}catch{}var _0x5889e8=function(){var _0x156301=_0x1b9386;if(_0x246330){if(typeof _0x246330[_0x156301(0x19a)]==_0x156301(0x461))try{return _0x246330[_0x156301(0x19a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x246330[_0x156301(0x21a)]=='function')try{return _0x246330['randomBytes'](0x4)[_0x156301(0x460)]();}catch{}}throw new Error(_0x156301(0x2d9));},_0x7d45db=Object[_0x1b9386(0x2a9)]||(function(){function _0x1876e5(){}return function(_0x377cee){var _0x35b5cf=_0x223c,_0x17004f;return _0x1876e5[_0x35b5cf(0x232)]=_0x377cee,_0x17004f=new _0x1876e5(),_0x1876e5[_0x35b5cf(0x232)]=null,_0x17004f;};}()),_0x4314d1={},_0x1f321c=_0x4314d1[_0x1b9386(0x19e)]={},_0x25b720=_0x1f321c['Base']=(function(){return{'extend':function(_0x258623){var _0x130ac7=_0x223c,_0x45b2d7=_0x7d45db(this);return _0x258623&&_0x45b2d7[_0x130ac7(0x28e)](_0x258623),(!_0x45b2d7[_0x130ac7(0x20c)](_0x130ac7(0x477))||this[_0x130ac7(0x477)]===_0x45b2d7[_0x130ac7(0x477)])&&(_0x45b2d7[_0x130ac7(0x477)]=function(){var _0xa17593=_0x130ac7;_0x45b2d7['$super'][_0xa17593(0x477)][_0xa17593(0x415)](this,arguments);}),_0x45b2d7['init'][_0x130ac7(0x232)]=_0x45b2d7,_0x45b2d7[_0x130ac7(0x254)]=this,_0x45b2d7;},'create':function(){var _0x57b95d=_0x223c,_0x457824=this[_0x57b95d(0x488)]();return _0x457824[_0x57b95d(0x477)]['apply'](_0x457824,arguments),_0x457824;},'init':function(){},'mixIn':function(_0x3b55c8){var _0x6ebbda=_0x223c;for(var _0x37947e in _0x3b55c8)_0x3b55c8[_0x6ebbda(0x20c)](_0x37947e)&&(this[_0x37947e]=_0x3b55c8[_0x37947e]);_0x3b55c8[_0x6ebbda(0x20c)](_0x6ebbda(0x371))&&(this[_0x6ebbda(0x371)]=_0x3b55c8[_0x6ebbda(0x371)]);},'clone':function(){var _0x2ab980=_0x223c;return this['init'][_0x2ab980(0x232)][_0x2ab980(0x488)](this);}};}()),_0xadc422=_0x1f321c[_0x1b9386(0x39a)]=_0x25b720[_0x1b9386(0x488)]({'init':function(_0x1afff8,_0x2856e8){var _0x1b29ff=_0x1b9386;_0x1afff8=this['words']=_0x1afff8||[],_0x2856e8!=_0x553ee9?this[_0x1b29ff(0x291)]=_0x2856e8:this[_0x1b29ff(0x291)]=_0x1afff8[_0x1b29ff(0x237)]*0x4;},'toString':function(_0xae4848){var _0x277972=_0x1b9386;return(_0xae4848||_0x5dd860)[_0x277972(0x1dd)](this);},'concat':function(_0x1e73b4){var _0x46951c=_0x1b9386,_0x33bcb5=this[_0x46951c(0x3f6)],_0xd7ccb0=_0x1e73b4[_0x46951c(0x3f6)],_0x157dd2=this[_0x46951c(0x291)],_0x3fce3c=_0x1e73b4[_0x46951c(0x291)];if(this[_0x46951c(0x18b)](),_0x157dd2%0x4)for(var _0x22e6c8=0x0;_0x22e6c8<_0x3fce3c;_0x22e6c8++){var _0x35a82c=_0xd7ccb0[_0x22e6c8>>>0x2]>>>0x18-_0x22e6c8%0x4*0x8&0xff;_0x33bcb5[_0x157dd2+_0x22e6c8>>>0x2]|=_0x35a82c<<0x18-(_0x157dd2+_0x22e6c8)%0x4*0x8;}else{for(var _0x4347ea=0x0;_0x4347ea<_0x3fce3c;_0x4347ea+=0x4)_0x33bcb5[_0x157dd2+_0x4347ea>>>0x2]=_0xd7ccb0[_0x4347ea>>>0x2];}return this[_0x46951c(0x291)]+=_0x3fce3c,this;},'clamp':function(){var _0x4a34ab=_0x1b9386,_0x54949f=this[_0x4a34ab(0x3f6)],_0x36daa4=this['sigBytes'];_0x54949f[_0x36daa4>>>0x2]&=0xffffffff<<0x20-_0x36daa4%0x4*0x8,_0x54949f[_0x4a34ab(0x237)]=_0x2d6db8[_0x4a34ab(0x35d)](_0x36daa4/0x4);},'clone':function(){var _0x4c9677=_0x1b9386,_0x20ce81=_0x25b720[_0x4c9677(0x2bf)][_0x4c9677(0x47a)](this);return _0x20ce81[_0x4c9677(0x3f6)]=this[_0x4c9677(0x3f6)]['slice'](0x0),_0x20ce81;},'random':function(_0x376095){var _0x255050=_0x1b9386;for(var _0x1b9425=[],_0x132a19=0x0;_0x132a19<_0x376095;_0x132a19+=0x4)_0x1b9425[_0x255050(0x1b2)](_0x5889e8());return new _0xadc422[(_0x255050(0x477))](_0x1b9425,_0x376095);}}),_0x42bbca=_0x4314d1['enc']={},_0x5dd860=_0x42bbca[_0x1b9386(0x40e)]={'stringify':function(_0x2ea140){var _0x167094=_0x1b9386;for(var _0x40c217=_0x2ea140['words'],_0x456c23=_0x2ea140[_0x167094(0x291)],_0x50c52d=[],_0x17907c=0x0;_0x17907c<_0x456c23;_0x17907c++){var _0x546c91=_0x40c217[_0x17907c>>>0x2]>>>0x18-_0x17907c%0x4*0x8&0xff;_0x50c52d[_0x167094(0x1b2)]((_0x546c91>>>0x4)['toString'](0x10)),_0x50c52d['push']((_0x546c91&0xf)[_0x167094(0x371)](0x10));}return _0x50c52d['join']('');},'parse':function(_0x28314f){var _0x1ee554=_0x1b9386;for(var _0x1796fb=_0x28314f[_0x1ee554(0x237)],_0xe9b761=[],_0x2ee8d9=0x0;_0x2ee8d9<_0x1796fb;_0x2ee8d9+=0x2)_0xe9b761[_0x2ee8d9>>>0x3]|=parseInt(_0x28314f['substr'](_0x2ee8d9,0x2),0x10)<<0x18-_0x2ee8d9%0x8*0x4;return new _0xadc422['init'](_0xe9b761,_0x1796fb/0x2);}},_0x4f0004=_0x42bbca[_0x1b9386(0x309)]={'stringify':function(_0x2c4526){var _0x50ec5a=_0x1b9386;for(var _0x2f8461=_0x2c4526[_0x50ec5a(0x3f6)],_0x459643=_0x2c4526[_0x50ec5a(0x291)],_0x181d3b=[],_0x39de31=0x0;_0x39de31<_0x459643;_0x39de31++){var _0x309e32=_0x2f8461[_0x39de31>>>0x2]>>>0x18-_0x39de31%0x4*0x8&0xff;_0x181d3b[_0x50ec5a(0x1b2)](String['fromCharCode'](_0x309e32));}return _0x181d3b[_0x50ec5a(0x4e5)]('');},'parse':function(_0x1de502){var _0x147012=_0x1b9386;for(var _0xd2e751=_0x1de502[_0x147012(0x237)],_0xf8754f=[],_0x14886f=0x0;_0x14886f<_0xd2e751;_0x14886f++)_0xf8754f[_0x14886f>>>0x2]|=(_0x1de502[_0x147012(0x2e9)](_0x14886f)&0xff)<<0x18-_0x14886f%0x4*0x8;return new _0xadc422[(_0x147012(0x477))](_0xf8754f,_0xd2e751);}},_0x5a9a6d=_0x42bbca[_0x1b9386(0x326)]={'stringify':function(_0x5d7db5){var _0x3f9c3b=_0x1b9386;try{return decodeURIComponent(escape(_0x4f0004[_0x3f9c3b(0x1dd)](_0x5d7db5)));}catch{throw new Error(_0x3f9c3b(0x1c4));}},'parse':function(_0x4b9b08){var _0x43e674=_0x1b9386;return _0x4f0004[_0x43e674(0x4b2)](unescape(encodeURIComponent(_0x4b9b08)));}},_0x465c51=_0x1f321c['BufferedBlockAlgorithm']=_0x25b720['extend']({'reset':function(){var _0x1bac17=_0x1b9386;this[_0x1bac17(0x301)]=new _0xadc422['init'](),this[_0x1bac17(0x455)]=0x0;},'_append':function(_0x137d83){var _0x325518=_0x1b9386;typeof _0x137d83==_0x325518(0x429)&&(_0x137d83=_0x5a9a6d['parse'](_0x137d83)),this[_0x325518(0x301)][_0x325518(0x48c)](_0x137d83),this[_0x325518(0x455)]+=_0x137d83[_0x325518(0x291)];},'_process':function(_0x3ac479){var _0x1aa04b=_0x1b9386,_0x2eefa5,_0x1363c9=this[_0x1aa04b(0x301)],_0x1eae1f=_0x1363c9[_0x1aa04b(0x3f6)],_0x2c1156=_0x1363c9[_0x1aa04b(0x291)],_0x433f6f=this[_0x1aa04b(0x1d4)],_0x4c94f0=_0x433f6f*0x4,_0x45b96f=_0x2c1156/_0x4c94f0;_0x3ac479?_0x45b96f=_0x2d6db8[_0x1aa04b(0x35d)](_0x45b96f):_0x45b96f=_0x2d6db8[_0x1aa04b(0x395)]((_0x45b96f|0x0)-this[_0x1aa04b(0x515)],0x0);var _0x2726c0=_0x45b96f*_0x433f6f,_0x200d06=_0x2d6db8[_0x1aa04b(0x499)](_0x2726c0*0x4,_0x2c1156);if(_0x2726c0){for(var _0x4b5df9=0x0;_0x4b5df9<_0x2726c0;_0x4b5df9+=_0x433f6f)this[_0x1aa04b(0x3b1)](_0x1eae1f,_0x4b5df9);_0x2eefa5=_0x1eae1f[_0x1aa04b(0x445)](0x0,_0x2726c0),_0x1363c9['sigBytes']-=_0x200d06;}return new _0xadc422['init'](_0x2eefa5,_0x200d06);},'clone':function(){var _0x512a45=_0x1b9386,_0x3428fd=_0x25b720['clone']['call'](this);return _0x3428fd[_0x512a45(0x301)]=this['_data'][_0x512a45(0x2bf)](),_0x3428fd;},'_minBufferSize':0x0});_0x1f321c[_0x1b9386(0x377)]=_0x465c51[_0x1b9386(0x488)]({'cfg':_0x25b720[_0x1b9386(0x488)](),'init':function(_0x12edda){var _0xa59042=_0x1b9386;this[_0xa59042(0x2ad)]=this[_0xa59042(0x2ad)][_0xa59042(0x488)](_0x12edda),this[_0xa59042(0x348)]();},'reset':function(){var _0x481787=_0x1b9386;_0x465c51[_0x481787(0x348)][_0x481787(0x47a)](this),this[_0x481787(0x3dc)]();},'update':function(_0x3b5be7){var _0x20fc5c=_0x1b9386;return this[_0x20fc5c(0x3f1)](_0x3b5be7),this['_process'](),this;},'finalize':function(_0x405541){var _0x4593c9=_0x1b9386;_0x405541&&this[_0x4593c9(0x3f1)](_0x405541);var _0x1dc314=this['_doFinalize']();return _0x1dc314;},'blockSize':0x10,'_createHelper':function(_0x205faa){return function(_0x3e6163,_0x55290e){var _0x36f9d3=_0x223c;return new _0x205faa[(_0x36f9d3(0x477))](_0x55290e)['finalize'](_0x3e6163);};},'_createHmacHelper':function(_0x4a2e0c){return function(_0x1a0edd,_0x520f60){var _0x5c944b=_0x223c;return new _0x2a5505[(_0x5c944b(0x48a))][(_0x5c944b(0x477))](_0x4a2e0c,_0x520f60)[_0x5c944b(0x27d)](_0x1a0edd);};}});var _0x2a5505=_0x4314d1[_0x1b9386(0x24e)]={};return _0x4314d1;}(Math);return _0x581a31;}));}(fe)),fe[_0x2d81db(0x3e1)];}var Ee={'exports':{}},Ci=Ee[_0x2f1e4f(0x3e1)],ze;function Ct(){return ze||(ze=0x1,function(_0x619ce4,_0x5b4052){(function(_0x9d51d3,_0x22506e){_0x619ce4['exports']=_0x22506e(Z());}(Ci,function(_0x3f0b80){var _0x523320=_0x223c;return(function(){var _0x353841=_0x223c,_0x2eff10=_0x3f0b80,_0x2dee4b=_0x2eff10['lib'],_0x549509=_0x2dee4b[_0x353841(0x39a)],_0x56e9db=_0x2eff10['enc'];_0x56e9db[_0x353841(0x24f)]={'stringify':function(_0x5852ee){var _0x58a0bd=_0x353841,_0x51a4d7=_0x5852ee['words'],_0x4532fe=_0x5852ee['sigBytes'],_0x2cda0f=this[_0x58a0bd(0x30d)];_0x5852ee[_0x58a0bd(0x18b)]();for(var _0x5d99fb=[],_0x201294=0x0;_0x201294<_0x4532fe;_0x201294+=0x3)for(var _0x26007a=_0x51a4d7[_0x201294>>>0x2]>>>0x18-_0x201294%0x4*0x8&0xff,_0xfa1a4c=_0x51a4d7[_0x201294+0x1>>>0x2]>>>0x18-(_0x201294+0x1)%0x4*0x8&0xff,_0x11014c=_0x51a4d7[_0x201294+0x2>>>0x2]>>>0x18-(_0x201294+0x2)%0x4*0x8&0xff,_0x2e6f3f=_0x26007a<<0x10|_0xfa1a4c<<0x8|_0x11014c,_0x376d26=0x0;_0x376d26<0x4&&_0x201294+_0x376d26*0.75<_0x4532fe;_0x376d26++)_0x5d99fb['push'](_0x2cda0f[_0x58a0bd(0x4ed)](_0x2e6f3f>>>0x6*(0x3-_0x376d26)&0x3f));var _0x3f4038=_0x2cda0f[_0x58a0bd(0x4ed)](0x40);if(_0x3f4038){for(;_0x5d99fb[_0x58a0bd(0x237)]%0x4;)_0x5d99fb[_0x58a0bd(0x1b2)](_0x3f4038);}return _0x5d99fb[_0x58a0bd(0x4e5)]('');},'parse':function(_0x5d7639){var _0x11fcff=_0x353841,_0x5a7c7c=_0x5d7639[_0x11fcff(0x237)],_0x35386f=this[_0x11fcff(0x30d)],_0x52bf92=this['_reverseMap'];if(!_0x52bf92){_0x52bf92=this[_0x11fcff(0x270)]=[];for(var _0xd238ef=0x0;_0xd238ef<_0x35386f[_0x11fcff(0x237)];_0xd238ef++)_0x52bf92[_0x35386f[_0x11fcff(0x2e9)](_0xd238ef)]=_0xd238ef;}var _0x43a59d=_0x35386f['charAt'](0x40);if(_0x43a59d){var _0x1010e2=_0x5d7639[_0x11fcff(0x501)](_0x43a59d);_0x1010e2!==-0x1&&(_0x5a7c7c=_0x1010e2);}return _0x112898(_0x5d7639,_0x5a7c7c,_0x52bf92);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x112898(_0xc61636,_0x46a699,_0x2e45de){var _0xad598=_0x353841;for(var _0x23274a=[],_0x3eeb1=0x0,_0x1fcca6=0x0;_0x1fcca6<_0x46a699;_0x1fcca6++)if(_0x1fcca6%0x4){var _0x478c27=_0x2e45de[_0xc61636[_0xad598(0x2e9)](_0x1fcca6-0x1)]<<_0x1fcca6%0x4*0x2,_0x2d41ea=_0x2e45de[_0xc61636[_0xad598(0x2e9)](_0x1fcca6)]>>>0x6-_0x1fcca6%0x4*0x2,_0x3717c8=_0x478c27|_0x2d41ea;_0x23274a[_0x3eeb1>>>0x2]|=_0x3717c8<<0x18-_0x3eeb1%0x4*0x8,_0x3eeb1++;}return _0x549509[_0xad598(0x2a9)](_0x23274a,_0x3eeb1);}}()),_0x3f0b80[_0x523320(0x3c6)][_0x523320(0x24f)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe[_0x2f1e4f(0x3e1)],Xe;function bi(){var _0x2fa21c=_0x2f1e4f;return Xe||(Xe=0x1,function(_0x14355f,_0x6ac597){(function(_0xebed6d,_0x1c78a2){var _0x20a62a=_0x223c;_0x14355f[_0x20a62a(0x3e1)]=_0x1c78a2(Z());}(Oi,function(_0x3dfd37){return function(_0x529402){var _0x35b9c4=_0x223c,_0x17d6ff=_0x3dfd37,_0x2f8d3f=_0x17d6ff[_0x35b9c4(0x19e)],_0x324543=_0x2f8d3f[_0x35b9c4(0x39a)],_0x327790=_0x2f8d3f[_0x35b9c4(0x377)],_0x11ce2d=_0x17d6ff[_0x35b9c4(0x24e)],_0x6a285=[];(function(){var _0x53dbd7=_0x35b9c4;for(var _0x435b78=0x0;_0x435b78<0x40;_0x435b78++)_0x6a285[_0x435b78]=_0x529402['abs'](_0x529402[_0x53dbd7(0x256)](_0x435b78+0x1))*0x100000000|0x0;}());var _0x2b6a47=_0x11ce2d['MD5']=_0x327790[_0x35b9c4(0x488)]({'_doReset':function(){var _0x357dc9=_0x35b9c4;this[_0x357dc9(0x26e)]=new _0x324543[(_0x357dc9(0x477))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1c1305,_0x3612e6){var _0x57b3cc=_0x35b9c4;for(var _0x45ee0a=0x0;_0x45ee0a<0x10;_0x45ee0a++){var _0x42fb29=_0x3612e6+_0x45ee0a,_0x49caaf=_0x1c1305[_0x42fb29];_0x1c1305[_0x42fb29]=(_0x49caaf<<0x8|_0x49caaf>>>0x18)&0xff00ff|(_0x49caaf<<0x18|_0x49caaf>>>0x8)&0xff00ff00;}var _0x26e428=this[_0x57b3cc(0x26e)][_0x57b3cc(0x3f6)],_0x22a3e3=_0x1c1305[_0x3612e6+0x0],_0x2defe9=_0x1c1305[_0x3612e6+0x1],_0x43b0bd=_0x1c1305[_0x3612e6+0x2],_0x263588=_0x1c1305[_0x3612e6+0x3],_0x53c4ab=_0x1c1305[_0x3612e6+0x4],_0x327e25=_0x1c1305[_0x3612e6+0x5],_0x46942e=_0x1c1305[_0x3612e6+0x6],_0x443ac5=_0x1c1305[_0x3612e6+0x7],_0x2d8281=_0x1c1305[_0x3612e6+0x8],_0x413b59=_0x1c1305[_0x3612e6+0x9],_0x1b311b=_0x1c1305[_0x3612e6+0xa],_0x1bbce8=_0x1c1305[_0x3612e6+0xb],_0x20cd52=_0x1c1305[_0x3612e6+0xc],_0x18f4e7=_0x1c1305[_0x3612e6+0xd],_0x169a16=_0x1c1305[_0x3612e6+0xe],_0x57f985=_0x1c1305[_0x3612e6+0xf],_0x3d5df9=_0x26e428[0x0],_0xee15f0=_0x26e428[0x1],_0x5da429=_0x26e428[0x2],_0x441623=_0x26e428[0x3];_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x22a3e3,0x7,_0x6a285[0x0]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x2defe9,0xc,_0x6a285[0x1]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x43b0bd,0x11,_0x6a285[0x2]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x263588,0x16,_0x6a285[0x3]),_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x53c4ab,0x7,_0x6a285[0x4]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x327e25,0xc,_0x6a285[0x5]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x46942e,0x11,_0x6a285[0x6]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x443ac5,0x16,_0x6a285[0x7]),_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2d8281,0x7,_0x6a285[0x8]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x413b59,0xc,_0x6a285[0x9]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1b311b,0x11,_0x6a285[0xa]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x1bbce8,0x16,_0x6a285[0xb]),_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x20cd52,0x7,_0x6a285[0xc]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x18f4e7,0xc,_0x6a285[0xd]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x169a16,0x11,_0x6a285[0xe]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x57f985,0x16,_0x6a285[0xf]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2defe9,0x5,_0x6a285[0x10]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x46942e,0x9,_0x6a285[0x11]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1bbce8,0xe,_0x6a285[0x12]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x22a3e3,0x14,_0x6a285[0x13]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x327e25,0x5,_0x6a285[0x14]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x1b311b,0x9,_0x6a285[0x15]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x57f985,0xe,_0x6a285[0x16]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x53c4ab,0x14,_0x6a285[0x17]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x413b59,0x5,_0x6a285[0x18]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x169a16,0x9,_0x6a285[0x19]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x263588,0xe,_0x6a285[0x1a]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x2d8281,0x14,_0x6a285[0x1b]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x18f4e7,0x5,_0x6a285[0x1c]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x43b0bd,0x9,_0x6a285[0x1d]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x443ac5,0xe,_0x6a285[0x1e]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x20cd52,0x14,_0x6a285[0x1f]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x327e25,0x4,_0x6a285[0x20]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x2d8281,0xb,_0x6a285[0x21]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1bbce8,0x10,_0x6a285[0x22]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x169a16,0x17,_0x6a285[0x23]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2defe9,0x4,_0x6a285[0x24]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x53c4ab,0xb,_0x6a285[0x25]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x443ac5,0x10,_0x6a285[0x26]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x1b311b,0x17,_0x6a285[0x27]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x18f4e7,0x4,_0x6a285[0x28]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x22a3e3,0xb,_0x6a285[0x29]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x263588,0x10,_0x6a285[0x2a]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x46942e,0x17,_0x6a285[0x2b]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x413b59,0x4,_0x6a285[0x2c]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x20cd52,0xb,_0x6a285[0x2d]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x57f985,0x10,_0x6a285[0x2e]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x43b0bd,0x17,_0x6a285[0x2f]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x22a3e3,0x6,_0x6a285[0x30]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x443ac5,0xa,_0x6a285[0x31]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x169a16,0xf,_0x6a285[0x32]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x327e25,0x15,_0x6a285[0x33]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x20cd52,0x6,_0x6a285[0x34]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x263588,0xa,_0x6a285[0x35]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1b311b,0xf,_0x6a285[0x36]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x2defe9,0x15,_0x6a285[0x37]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2d8281,0x6,_0x6a285[0x38]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x57f985,0xa,_0x6a285[0x39]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x46942e,0xf,_0x6a285[0x3a]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x18f4e7,0x15,_0x6a285[0x3b]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x53c4ab,0x6,_0x6a285[0x3c]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x1bbce8,0xa,_0x6a285[0x3d]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x43b0bd,0xf,_0x6a285[0x3e]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x413b59,0x15,_0x6a285[0x3f]),_0x26e428[0x0]=_0x26e428[0x0]+_0x3d5df9|0x0,_0x26e428[0x1]=_0x26e428[0x1]+_0xee15f0|0x0,_0x26e428[0x2]=_0x26e428[0x2]+_0x5da429|0x0,_0x26e428[0x3]=_0x26e428[0x3]+_0x441623|0x0;},'_doFinalize':function(){var _0x58a216=_0x35b9c4,_0x4fea39=this[_0x58a216(0x301)],_0x482d85=_0x4fea39[_0x58a216(0x3f6)],_0x3410ab=this['_nDataBytes']*0x8,_0x2b21c4=_0x4fea39[_0x58a216(0x291)]*0x8;_0x482d85[_0x2b21c4>>>0x5]|=0x80<<0x18-_0x2b21c4%0x20;var _0x550878=_0x529402[_0x58a216(0x316)](_0x3410ab/0x100000000),_0x2252db=_0x3410ab;_0x482d85[(_0x2b21c4+0x40>>>0x9<<0x4)+0xf]=(_0x550878<<0x8|_0x550878>>>0x18)&0xff00ff|(_0x550878<<0x18|_0x550878>>>0x8)&0xff00ff00,_0x482d85[(_0x2b21c4+0x40>>>0x9<<0x4)+0xe]=(_0x2252db<<0x8|_0x2252db>>>0x18)&0xff00ff|(_0x2252db<<0x18|_0x2252db>>>0x8)&0xff00ff00,_0x4fea39[_0x58a216(0x291)]=(_0x482d85[_0x58a216(0x237)]+0x1)*0x4,this[_0x58a216(0x3a4)]();for(var _0x35b765=this[_0x58a216(0x26e)],_0x3f3779=_0x35b765['words'],_0x1babbb=0x0;_0x1babbb<0x4;_0x1babbb++){var _0x5d313e=_0x3f3779[_0x1babbb];_0x3f3779[_0x1babbb]=(_0x5d313e<<0x8|_0x5d313e>>>0x18)&0xff00ff|(_0x5d313e<<0x18|_0x5d313e>>>0x8)&0xff00ff00;}return _0x35b765;},'clone':function(){var _0xa386ee=_0x35b9c4,_0x2d5909=_0x327790['clone'][_0xa386ee(0x47a)](this);return _0x2d5909['_hash']=this[_0xa386ee(0x26e)]['clone'](),_0x2d5909;}});function _0x629f6e(_0x5d4dbd,_0x26dd34,_0x27147d,_0x2f848a,_0x391960,_0xba87f7,_0x32f970){var _0x3e04fb=_0x5d4dbd+(_0x26dd34&_0x27147d|~_0x26dd34&_0x2f848a)+_0x391960+_0x32f970;return(_0x3e04fb<<_0xba87f7|_0x3e04fb>>>0x20-_0xba87f7)+_0x26dd34;}function _0x2271ad(_0x36ff7f,_0x1346fb,_0x8c626c,_0x5494de,_0x11cc5f,_0x8c1f34,_0x402358){var _0x56862f=_0x36ff7f+(_0x1346fb&_0x5494de|_0x8c626c&~_0x5494de)+_0x11cc5f+_0x402358;return(_0x56862f<<_0x8c1f34|_0x56862f>>>0x20-_0x8c1f34)+_0x1346fb;}function _0x3956b3(_0x1f074c,_0x53a736,_0x4b4b1a,_0x2eedf8,_0x311eb8,_0x67b6c1,_0x10aaef){var _0x3ed78c=_0x1f074c+(_0x53a736^_0x4b4b1a^_0x2eedf8)+_0x311eb8+_0x10aaef;return(_0x3ed78c<<_0x67b6c1|_0x3ed78c>>>0x20-_0x67b6c1)+_0x53a736;}function _0x461b7e(_0xa6d0d,_0xe3ef0a,_0x467d6e,_0x394d22,_0x335aa7,_0x3f557f,_0x3424f1){var _0xa44e8c=_0xa6d0d+(_0x467d6e^(_0xe3ef0a|~_0x394d22))+_0x335aa7+_0x3424f1;return(_0xa44e8c<<_0x3f557f|_0xa44e8c>>>0x20-_0x3f557f)+_0xe3ef0a;}_0x17d6ff[_0x35b9c4(0x258)]=_0x327790['_createHelper'](_0x2b6a47),_0x17d6ff[_0x35b9c4(0x4f8)]=_0x327790[_0x35b9c4(0x33a)](_0x2b6a47);}(Math),_0x3dfd37['MD5'];}));}(pe)),pe[_0x2fa21c(0x3e1)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x2f1e4f(0x3e1)],Je;function Ni(){return Je||(Je=0x1,function(_0x671077,_0x3437bb){(function(_0x4519c1,_0x312f07){_0x671077['exports']=_0x312f07(Z());}(Ri,function(_0x13a029){var _0x2982f3=_0x223c;return(function(){var _0x15f851=_0x223c,_0x8a392d=_0x13a029,_0x5b6d0a=_0x8a392d[_0x15f851(0x19e)],_0x2ad9a4=_0x5b6d0a[_0x15f851(0x39a)],_0x5974b7=_0x5b6d0a[_0x15f851(0x377)],_0x11923f=_0x8a392d[_0x15f851(0x24e)],_0x468223=[],_0x523151=_0x11923f['SHA1']=_0x5974b7[_0x15f851(0x488)]({'_doReset':function(){var _0x2b44fe=_0x15f851;this[_0x2b44fe(0x26e)]=new _0x2ad9a4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x8e7850,_0x5365c6){var _0x4a1b46=_0x15f851;for(var _0xff21f8=this[_0x4a1b46(0x26e)]['words'],_0x5a50e9=_0xff21f8[0x0],_0x5ca2af=_0xff21f8[0x1],_0x271972=_0xff21f8[0x2],_0x24bf71=_0xff21f8[0x3],_0x58b7ce=_0xff21f8[0x4],_0x185f9e=0x0;_0x185f9e<0x50;_0x185f9e++){if(_0x185f9e<0x10)_0x468223[_0x185f9e]=_0x8e7850[_0x5365c6+_0x185f9e]|0x0;else{var _0x277e59=_0x468223[_0x185f9e-0x3]^_0x468223[_0x185f9e-0x8]^_0x468223[_0x185f9e-0xe]^_0x468223[_0x185f9e-0x10];_0x468223[_0x185f9e]=_0x277e59<<0x1|_0x277e59>>>0x1f;}var _0x3a541d=(_0x5a50e9<<0x5|_0x5a50e9>>>0x1b)+_0x58b7ce+_0x468223[_0x185f9e];_0x185f9e<0x14?_0x3a541d+=(_0x5ca2af&_0x271972|~_0x5ca2af&_0x24bf71)+0x5a827999:_0x185f9e<0x28?_0x3a541d+=(_0x5ca2af^_0x271972^_0x24bf71)+0x6ed9eba1:_0x185f9e<0x3c?_0x3a541d+=(_0x5ca2af&_0x271972|_0x5ca2af&_0x24bf71|_0x271972&_0x24bf71)-0x70e44324:_0x3a541d+=(_0x5ca2af^_0x271972^_0x24bf71)-0x359d3e2a,_0x58b7ce=_0x24bf71,_0x24bf71=_0x271972,_0x271972=_0x5ca2af<<0x1e|_0x5ca2af>>>0x2,_0x5ca2af=_0x5a50e9,_0x5a50e9=_0x3a541d;}_0xff21f8[0x0]=_0xff21f8[0x0]+_0x5a50e9|0x0,_0xff21f8[0x1]=_0xff21f8[0x1]+_0x5ca2af|0x0,_0xff21f8[0x2]=_0xff21f8[0x2]+_0x271972|0x0,_0xff21f8[0x3]=_0xff21f8[0x3]+_0x24bf71|0x0,_0xff21f8[0x4]=_0xff21f8[0x4]+_0x58b7ce|0x0;},'_doFinalize':function(){var _0x51c65a=_0x15f851,_0x2be536=this[_0x51c65a(0x301)],_0x33f4e0=_0x2be536[_0x51c65a(0x3f6)],_0x5e9d3c=this['_nDataBytes']*0x8,_0x4598c4=_0x2be536[_0x51c65a(0x291)]*0x8;return _0x33f4e0[_0x4598c4>>>0x5]|=0x80<<0x18-_0x4598c4%0x20,_0x33f4e0[(_0x4598c4+0x40>>>0x9<<0x4)+0xe]=Math[_0x51c65a(0x316)](_0x5e9d3c/0x100000000),_0x33f4e0[(_0x4598c4+0x40>>>0x9<<0x4)+0xf]=_0x5e9d3c,_0x2be536[_0x51c65a(0x291)]=_0x33f4e0[_0x51c65a(0x237)]*0x4,this[_0x51c65a(0x3a4)](),this[_0x51c65a(0x26e)];},'clone':function(){var _0x368fee=_0x15f851,_0xffa0b3=_0x5974b7['clone']['call'](this);return _0xffa0b3['_hash']=this[_0x368fee(0x26e)][_0x368fee(0x2bf)](),_0xffa0b3;}});_0x8a392d[_0x15f851(0x35f)]=_0x5974b7[_0x15f851(0x4ce)](_0x523151),_0x8a392d[_0x15f851(0x1e6)]=_0x5974b7[_0x15f851(0x33a)](_0x523151);}()),_0x13a029[_0x2982f3(0x35f)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x27885e=_0x2f1e4f;return Ze||(Ze=0x1,function(_0x235746,_0x3f3b5b){(function(_0x10733a,_0x8e3e9e){var _0x4df1bd=_0x223c;_0x235746[_0x4df1bd(0x3e1)]=_0x8e3e9e(Z());}(Di,function(_0x3ffe49){(function(){var _0x377b50=_0x223c,_0x38e3e4=_0x3ffe49,_0x48cddc=_0x38e3e4[_0x377b50(0x19e)],_0x211664=_0x48cddc[_0x377b50(0x2f6)],_0x3868bd=_0x38e3e4['enc'],_0x3d09ea=_0x3868bd[_0x377b50(0x326)],_0x34856f=_0x38e3e4[_0x377b50(0x24e)];_0x34856f[_0x377b50(0x48a)]=_0x211664[_0x377b50(0x488)]({'init':function(_0x19f97f,_0x41960a){var _0x1d6aad=_0x377b50;_0x19f97f=this[_0x1d6aad(0x485)]=new _0x19f97f[(_0x1d6aad(0x477))](),typeof _0x41960a==_0x1d6aad(0x429)&&(_0x41960a=_0x3d09ea[_0x1d6aad(0x4b2)](_0x41960a));var _0x5612de=_0x19f97f['blockSize'],_0x3207ac=_0x5612de*0x4;_0x41960a[_0x1d6aad(0x291)]>_0x3207ac&&(_0x41960a=_0x19f97f[_0x1d6aad(0x27d)](_0x41960a)),_0x41960a[_0x1d6aad(0x18b)]();for(var _0x5d8831=this[_0x1d6aad(0x2da)]=_0x41960a[_0x1d6aad(0x2bf)](),_0x18a8a1=this['_iKey']=_0x41960a[_0x1d6aad(0x2bf)](),_0x4a0c08=_0x5d8831['words'],_0x299851=_0x18a8a1['words'],_0x26fafe=0x0;_0x26fafe<_0x5612de;_0x26fafe++)_0x4a0c08[_0x26fafe]^=0x5c5c5c5c,_0x299851[_0x26fafe]^=0x36363636;_0x5d8831[_0x1d6aad(0x291)]=_0x18a8a1['sigBytes']=_0x3207ac,this[_0x1d6aad(0x348)]();},'reset':function(){var _0x33c41e=_0x377b50,_0x409d66=this[_0x33c41e(0x485)];_0x409d66['reset'](),_0x409d66[_0x33c41e(0x2d6)](this['_iKey']);},'update':function(_0x48ee17){var _0x1f9506=_0x377b50;return this[_0x1f9506(0x485)][_0x1f9506(0x2d6)](_0x48ee17),this;},'finalize':function(_0x2ac305){var _0x510eba=_0x377b50,_0x4ccbd9=this[_0x510eba(0x485)],_0x1ea544=_0x4ccbd9[_0x510eba(0x27d)](_0x2ac305);_0x4ccbd9[_0x510eba(0x348)]();var _0xa89a44=_0x4ccbd9[_0x510eba(0x27d)](this[_0x510eba(0x2da)][_0x510eba(0x2bf)]()[_0x510eba(0x48c)](_0x1ea544));return _0xa89a44;}});}());}));}(Te)),Te[_0x27885e(0x3e1)];}var Ui=me[_0x2f1e4f(0x3e1)],Qe;function Ot(){var _0x17b988=_0x2f1e4f;return Qe||(Qe=0x1,function(_0x94be4d,_0x5844bf){(function(_0x4fa157,_0x374fbb,_0x3cf7e2){var _0x36e350=_0x223c;_0x94be4d[_0x36e350(0x3e1)]=_0x374fbb(Z(),Ni(),yi());}(Ui,function(_0x4db133){return(function(){var _0x5ce7ea=_0x223c,_0x12a498=_0x4db133,_0x2f7586=_0x12a498[_0x5ce7ea(0x19e)],_0xf17eb=_0x2f7586[_0x5ce7ea(0x2f6)],_0x175c92=_0x2f7586[_0x5ce7ea(0x39a)],_0x215b63=_0x12a498[_0x5ce7ea(0x24e)],_0x40278c=_0x215b63[_0x5ce7ea(0x258)],_0x10b5bd=_0x215b63[_0x5ce7ea(0x2de)]=_0xf17eb[_0x5ce7ea(0x488)]({'cfg':_0xf17eb[_0x5ce7ea(0x488)]({'keySize':0x80/0x20,'hasher':_0x40278c,'iterations':0x1}),'init':function(_0x2382fc){var _0x1809f1=_0x5ce7ea;this[_0x1809f1(0x2ad)]=this['cfg']['extend'](_0x2382fc);},'compute':function(_0x227321,_0x3762b0){var _0x282670=_0x5ce7ea;for(var _0x4dcfd5,_0x58d463=this[_0x282670(0x2ad)],_0x508e8e=_0x58d463[_0x282670(0x1b8)][_0x282670(0x2a9)](),_0x324ce8=_0x175c92[_0x282670(0x2a9)](),_0x4c7caa=_0x324ce8[_0x282670(0x3f6)],_0x319a02=_0x58d463[_0x282670(0x1ad)],_0x1c895b=_0x58d463[_0x282670(0x37f)];_0x4c7caa[_0x282670(0x237)]<_0x319a02;){_0x4dcfd5&&_0x508e8e['update'](_0x4dcfd5),_0x4dcfd5=_0x508e8e[_0x282670(0x2d6)](_0x227321)[_0x282670(0x27d)](_0x3762b0),_0x508e8e[_0x282670(0x348)]();for(var _0x4a106f=0x1;_0x4a106f<_0x1c895b;_0x4a106f++)_0x4dcfd5=_0x508e8e[_0x282670(0x27d)](_0x4dcfd5),_0x508e8e[_0x282670(0x348)]();_0x324ce8[_0x282670(0x48c)](_0x4dcfd5);}return _0x324ce8[_0x282670(0x291)]=_0x319a02*0x4,_0x324ce8;}});_0x12a498[_0x5ce7ea(0x2de)]=function(_0x3690b2,_0x5c0a47,_0x1581e7){var _0x4984cd=_0x5ce7ea;return _0x10b5bd[_0x4984cd(0x2a9)](_0x1581e7)[_0x4984cd(0x3e4)](_0x3690b2,_0x5c0a47);};}()),_0x4db133['EvpKDF'];}));}(me)),me[_0x17b988(0x3e1)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function bt(){var _0x47656f=_0x2f1e4f;return et||(et=0x1,function(_0x18799a,_0x5189a6){(function(_0x102929,_0x1bacb0,_0x391f8a){_0x18799a['exports']=_0x1bacb0(Z(),Ot());}(Ai,function(_0x1aca85){var _0x18a0c1=_0x223c;_0x1aca85[_0x18a0c1(0x19e)]['Cipher']||function(_0x3a9333){var _0x4cd3f5=_0x18a0c1,_0x2da015=_0x1aca85,_0xbc9c90=_0x2da015[_0x4cd3f5(0x19e)],_0xc96d3d=_0xbc9c90[_0x4cd3f5(0x2f6)],_0x440427=_0xbc9c90[_0x4cd3f5(0x39a)],_0x3dc72f=_0xbc9c90[_0x4cd3f5(0x430)],_0x41b0f5=_0x2da015[_0x4cd3f5(0x3c6)];_0x41b0f5[_0x4cd3f5(0x326)];var _0x4a6a68=_0x41b0f5['Base64'],_0x35efce=_0x2da015[_0x4cd3f5(0x24e)],_0x1416e9=_0x35efce[_0x4cd3f5(0x2de)],_0x344c32=_0xbc9c90[_0x4cd3f5(0x32f)]=_0x3dc72f[_0x4cd3f5(0x488)]({'cfg':_0xc96d3d[_0x4cd3f5(0x488)](),'createEncryptor':function(_0x54eced,_0x5091dc){var _0x222cfc=_0x4cd3f5;return this[_0x222cfc(0x2a9)](this['_ENC_XFORM_MODE'],_0x54eced,_0x5091dc);},'createDecryptor':function(_0x5407a4,_0x9f8a51){var _0x20b091=_0x4cd3f5;return this[_0x20b091(0x2a9)](this[_0x20b091(0x26f)],_0x5407a4,_0x9f8a51);},'init':function(_0xe6c9ac,_0x131d11,_0x5e3da1){var _0x889e85=_0x4cd3f5;this[_0x889e85(0x2ad)]=this[_0x889e85(0x2ad)][_0x889e85(0x488)](_0x5e3da1),this[_0x889e85(0x4e7)]=_0xe6c9ac,this['_key']=_0x131d11,this[_0x889e85(0x348)]();},'reset':function(){var _0x5b9598=_0x4cd3f5;_0x3dc72f[_0x5b9598(0x348)][_0x5b9598(0x47a)](this),this[_0x5b9598(0x3dc)]();},'process':function(_0x3039e8){var _0x52451d=_0x4cd3f5;return this[_0x52451d(0x3f1)](_0x3039e8),this[_0x52451d(0x3a4)]();},'finalize':function(_0x47a033){var _0x5f991a=_0x4cd3f5;_0x47a033&&this[_0x5f991a(0x3f1)](_0x47a033);var _0x25ad4b=this['_doFinalize']();return _0x25ad4b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1603c8(_0xf74256){var _0x1d8c99=_0x223c;return typeof _0xf74256==_0x1d8c99(0x429)?_0x4232fd:_0x52e64a;}return function(_0x40e538){return{'encrypt':function(_0x3422d5,_0x536e8e,_0x122cc9){var _0x4547a7=_0x223c;return _0x1603c8(_0x536e8e)[_0x4547a7(0x26d)](_0x40e538,_0x3422d5,_0x536e8e,_0x122cc9);},'decrypt':function(_0x4a8c1e,_0x4a6804,_0x263ab2){var _0x10943a=_0x223c;return _0x1603c8(_0x4a6804)[_0x10943a(0x289)](_0x40e538,_0x4a8c1e,_0x4a6804,_0x263ab2);}};};}())});_0xbc9c90[_0x4cd3f5(0x4fd)]=_0x344c32[_0x4cd3f5(0x488)]({'_doFinalize':function(){var _0x2196ec=_0x4cd3f5,_0x4a6820=this[_0x2196ec(0x3a4)](!0x0);return _0x4a6820;},'blockSize':0x1});var _0x8251e=_0x2da015['mode']={},_0x2668e8=_0xbc9c90[_0x4cd3f5(0x295)]=_0xc96d3d[_0x4cd3f5(0x488)]({'createEncryptor':function(_0x3263fc,_0xe55aa9){var _0x3867c1=_0x4cd3f5;return this[_0x3867c1(0x4af)][_0x3867c1(0x2a9)](_0x3263fc,_0xe55aa9);},'createDecryptor':function(_0x34180c,_0x330f6d){var _0x3d4f1b=_0x4cd3f5;return this[_0x3d4f1b(0x32a)][_0x3d4f1b(0x2a9)](_0x34180c,_0x330f6d);},'init':function(_0x51ccf8,_0x21a474){var _0x408720=_0x4cd3f5;this[_0x408720(0x217)]=_0x51ccf8,this[_0x408720(0x4e9)]=_0x21a474;}}),_0xe326ad=_0x8251e['CBC']=(function(){var _0x1526a8=_0x4cd3f5,_0x2c2c5f=_0x2668e8[_0x1526a8(0x488)]();_0x2c2c5f['Encryptor']=_0x2c2c5f[_0x1526a8(0x488)]({'processBlock':function(_0x468096,_0x20e532){var _0x3b8549=_0x1526a8,_0x42fc00=this[_0x3b8549(0x217)],_0x4f9c7d=_0x42fc00['blockSize'];_0x1e9625[_0x3b8549(0x47a)](this,_0x468096,_0x20e532,_0x4f9c7d),_0x42fc00['encryptBlock'](_0x468096,_0x20e532),this[_0x3b8549(0x3eb)]=_0x468096[_0x3b8549(0x1fc)](_0x20e532,_0x20e532+_0x4f9c7d);}}),_0x2c2c5f[_0x1526a8(0x32a)]=_0x2c2c5f['extend']({'processBlock':function(_0x26a04f,_0x3c15f9){var _0x4707bc=_0x1526a8,_0x57c5be=this[_0x4707bc(0x217)],_0x599c4f=_0x57c5be[_0x4707bc(0x1d4)],_0x3f4bec=_0x26a04f['slice'](_0x3c15f9,_0x3c15f9+_0x599c4f);_0x57c5be[_0x4707bc(0x4c3)](_0x26a04f,_0x3c15f9),_0x1e9625[_0x4707bc(0x47a)](this,_0x26a04f,_0x3c15f9,_0x599c4f),this[_0x4707bc(0x3eb)]=_0x3f4bec;}});function _0x1e9625(_0xc180f8,_0xafb465,_0x229264){var _0x31d032=_0x1526a8,_0x4dc74d,_0x33ec84=this['_iv'];_0x33ec84?(_0x4dc74d=_0x33ec84,this['_iv']=_0x3a9333):_0x4dc74d=this[_0x31d032(0x3eb)];for(var _0x4401e7=0x0;_0x4401e7<_0x229264;_0x4401e7++)_0xc180f8[_0xafb465+_0x4401e7]^=_0x4dc74d[_0x4401e7];}return _0x2c2c5f;}()),_0x1743d4=_0x2da015[_0x4cd3f5(0x36e)]={},_0x297704=_0x1743d4[_0x4cd3f5(0x2ce)]={'pad':function(_0x2a222a,_0x1dee82){var _0x467c83=_0x4cd3f5;for(var _0x433ebb=_0x1dee82*0x4,_0x2f62e5=_0x433ebb-_0x2a222a[_0x467c83(0x291)]%_0x433ebb,_0x5d76af=_0x2f62e5<<0x18|_0x2f62e5<<0x10|_0x2f62e5<<0x8|_0x2f62e5,_0xf03cfa=[],_0x1d87e7=0x0;_0x1d87e7<_0x2f62e5;_0x1d87e7+=0x4)_0xf03cfa['push'](_0x5d76af);var _0x1053b4=_0x440427[_0x467c83(0x2a9)](_0xf03cfa,_0x2f62e5);_0x2a222a['concat'](_0x1053b4);},'unpad':function(_0x18d273){var _0x804e4=_0x4cd3f5,_0x25a9f3=_0x18d273[_0x804e4(0x3f6)][_0x18d273['sigBytes']-0x1>>>0x2]&0xff;_0x18d273[_0x804e4(0x291)]-=_0x25a9f3;}};_0xbc9c90[_0x4cd3f5(0x1cc)]=_0x344c32[_0x4cd3f5(0x488)]({'cfg':_0x344c32[_0x4cd3f5(0x2ad)][_0x4cd3f5(0x488)]({'mode':_0xe326ad,'padding':_0x297704}),'reset':function(){var _0x620a21=_0x4cd3f5,_0x3de627;_0x344c32[_0x620a21(0x348)][_0x620a21(0x47a)](this);var _0x511886=this[_0x620a21(0x2ad)],_0x2bff6e=_0x511886['iv'],_0x4f4b79=_0x511886[_0x620a21(0x3e8)];this[_0x620a21(0x4e7)]==this[_0x620a21(0x1bf)]?_0x3de627=_0x4f4b79[_0x620a21(0x25f)]:(_0x3de627=_0x4f4b79[_0x620a21(0x22f)],this[_0x620a21(0x515)]=0x1),this['_mode']&&this[_0x620a21(0x1d7)][_0x620a21(0x186)]==_0x3de627?this[_0x620a21(0x1d7)][_0x620a21(0x477)](this,_0x2bff6e&&_0x2bff6e[_0x620a21(0x3f6)]):(this[_0x620a21(0x1d7)]=_0x3de627['call'](_0x4f4b79,this,_0x2bff6e&&_0x2bff6e['words']),this[_0x620a21(0x1d7)][_0x620a21(0x186)]=_0x3de627);},'_doProcessBlock':function(_0x344d71,_0x3c4d0f){var _0xcb744b=_0x4cd3f5;this[_0xcb744b(0x1d7)][_0xcb744b(0x4bc)](_0x344d71,_0x3c4d0f);},'_doFinalize':function(){var _0xe3044=_0x4cd3f5,_0x26f0e6,_0x30984d=this[_0xe3044(0x2ad)][_0xe3044(0x400)];return this[_0xe3044(0x4e7)]==this[_0xe3044(0x1bf)]?(_0x30984d['pad'](this['_data'],this[_0xe3044(0x1d4)]),_0x26f0e6=this[_0xe3044(0x3a4)](!0x0)):(_0x26f0e6=this[_0xe3044(0x3a4)](!0x0),_0x30984d[_0xe3044(0x198)](_0x26f0e6)),_0x26f0e6;},'blockSize':0x80/0x20});var _0x3b31b1=_0xbc9c90[_0x4cd3f5(0x2b3)]=_0xc96d3d[_0x4cd3f5(0x488)]({'init':function(_0x1ac18b){this['mixIn'](_0x1ac18b);},'toString':function(_0x4afb36){var _0x30553a=_0x4cd3f5;return(_0x4afb36||this[_0x30553a(0x2c4)])['stringify'](this);}}),_0x2ae108=_0x2da015[_0x4cd3f5(0x19c)]={},_0x2740a3=_0x2ae108[_0x4cd3f5(0x464)]={'stringify':function(_0x5b42c6){var _0x39f76e=_0x4cd3f5,_0x1dfd75,_0x1fd413=_0x5b42c6['ciphertext'],_0x54c57d=_0x5b42c6['salt'];return _0x54c57d?_0x1dfd75=_0x440427[_0x39f76e(0x2a9)]([0x53616c74,0x65645f5f])[_0x39f76e(0x48c)](_0x54c57d)[_0x39f76e(0x48c)](_0x1fd413):_0x1dfd75=_0x1fd413,_0x1dfd75[_0x39f76e(0x371)](_0x4a6a68);},'parse':function(_0x45e7d6){var _0x5d2659=_0x4cd3f5,_0x493487,_0x478216=_0x4a6a68[_0x5d2659(0x4b2)](_0x45e7d6),_0x18d4e5=_0x478216[_0x5d2659(0x3f6)];return _0x18d4e5[0x0]==0x53616c74&&_0x18d4e5[0x1]==0x65645f5f&&(_0x493487=_0x440427[_0x5d2659(0x2a9)](_0x18d4e5[_0x5d2659(0x1fc)](0x2,0x4)),_0x18d4e5[_0x5d2659(0x445)](0x0,0x4),_0x478216[_0x5d2659(0x291)]-=0x10),_0x3b31b1[_0x5d2659(0x2a9)]({'ciphertext':_0x478216,'salt':_0x493487});}},_0x52e64a=_0xbc9c90[_0x4cd3f5(0x1cf)]=_0xc96d3d[_0x4cd3f5(0x488)]({'cfg':_0xc96d3d['extend']({'format':_0x2740a3}),'encrypt':function(_0x42de67,_0x3177c1,_0x3bf155,_0x2e277d){var _0x25452c=_0x4cd3f5;_0x2e277d=this[_0x25452c(0x2ad)]['extend'](_0x2e277d);var _0x2f8a43=_0x42de67[_0x25452c(0x25f)](_0x3bf155,_0x2e277d),_0xdf821f=_0x2f8a43[_0x25452c(0x27d)](_0x3177c1),_0x473e10=_0x2f8a43['cfg'];return _0x3b31b1[_0x25452c(0x2a9)]({'ciphertext':_0xdf821f,'key':_0x3bf155,'iv':_0x473e10['iv'],'algorithm':_0x42de67,'mode':_0x473e10['mode'],'padding':_0x473e10[_0x25452c(0x400)],'blockSize':_0x42de67['blockSize'],'formatter':_0x2e277d[_0x25452c(0x19c)]});},'decrypt':function(_0x45137f,_0x26268f,_0x5e03e1,_0x1a9620){var _0x274245=_0x4cd3f5;_0x1a9620=this['cfg'][_0x274245(0x488)](_0x1a9620),_0x26268f=this['_parse'](_0x26268f,_0x1a9620[_0x274245(0x19c)]);var _0x496966=_0x45137f[_0x274245(0x22f)](_0x5e03e1,_0x1a9620)['finalize'](_0x26268f[_0x274245(0x414)]);return _0x496966;},'_parse':function(_0x3ad3b5,_0x50d0c7){var _0x4e4e1c=_0x4cd3f5;return typeof _0x3ad3b5==_0x4e4e1c(0x429)?_0x50d0c7['parse'](_0x3ad3b5,this):_0x3ad3b5;}}),_0x5e0178=_0x2da015['kdf']={},_0x207b47=_0x5e0178[_0x4cd3f5(0x464)]={'execute':function(_0xf6b316,_0xce2130,_0x5267e2,_0x38d133,_0x5dbcb4){var _0xc3b3b4=_0x4cd3f5;if(_0x38d133||(_0x38d133=_0x440427[_0xc3b3b4(0x4a2)](0x40/0x8)),_0x5dbcb4)var _0x431b66=_0x1416e9[_0xc3b3b4(0x2a9)]({'keySize':_0xce2130+_0x5267e2,'hasher':_0x5dbcb4})[_0xc3b3b4(0x3e4)](_0xf6b316,_0x38d133);else var _0x431b66=_0x1416e9[_0xc3b3b4(0x2a9)]({'keySize':_0xce2130+_0x5267e2})[_0xc3b3b4(0x3e4)](_0xf6b316,_0x38d133);var _0x923d6c=_0x440427[_0xc3b3b4(0x2a9)](_0x431b66['words'][_0xc3b3b4(0x1fc)](_0xce2130),_0x5267e2*0x4);return _0x431b66[_0xc3b3b4(0x291)]=_0xce2130*0x4,_0x3b31b1[_0xc3b3b4(0x2a9)]({'key':_0x431b66,'iv':_0x923d6c,'salt':_0x38d133});}},_0x4232fd=_0xbc9c90[_0x4cd3f5(0x4f0)]=_0x52e64a[_0x4cd3f5(0x488)]({'cfg':_0x52e64a['cfg'][_0x4cd3f5(0x488)]({'kdf':_0x207b47}),'encrypt':function(_0x2e9c71,_0x35db01,_0x5eac2c,_0x3c1322){var _0x4d8862=_0x4cd3f5;_0x3c1322=this[_0x4d8862(0x2ad)][_0x4d8862(0x488)](_0x3c1322);var _0x1cfafa=_0x3c1322[_0x4d8862(0x500)]['execute'](_0x5eac2c,_0x2e9c71['keySize'],_0x2e9c71[_0x4d8862(0x42c)],_0x3c1322[_0x4d8862(0x381)],_0x3c1322['hasher']);_0x3c1322['iv']=_0x1cfafa['iv'];var _0x4801ca=_0x52e64a[_0x4d8862(0x26d)][_0x4d8862(0x47a)](this,_0x2e9c71,_0x35db01,_0x1cfafa[_0x4d8862(0x366)],_0x3c1322);return _0x4801ca[_0x4d8862(0x28e)](_0x1cfafa),_0x4801ca;},'decrypt':function(_0x40732e,_0x4ff0c8,_0x135b84,_0x57631e){var _0x560b85=_0x4cd3f5;_0x57631e=this[_0x560b85(0x2ad)]['extend'](_0x57631e),_0x4ff0c8=this[_0x560b85(0x458)](_0x4ff0c8,_0x57631e['format']);var _0x3aa264=_0x57631e[_0x560b85(0x500)][_0x560b85(0x3c8)](_0x135b84,_0x40732e[_0x560b85(0x1ad)],_0x40732e['ivSize'],_0x4ff0c8['salt'],_0x57631e[_0x560b85(0x1b8)]);_0x57631e['iv']=_0x3aa264['iv'];var _0x55ecfa=_0x52e64a[_0x560b85(0x289)]['call'](this,_0x40732e,_0x4ff0c8,_0x3aa264[_0x560b85(0x366)],_0x57631e);return _0x55ecfa;}});}();}));}(Ce)),Ce[_0x47656f(0x3e1)];}var Pi=Ie[_0x2f1e4f(0x3e1)],tt;function Li(){return tt||(tt=0x1,function(_0x16d4ac,_0x1422c8){(function(_0x33be2e,_0x3dd7b5,_0x49a60d){var _0xa00020=_0x223c;_0x16d4ac[_0xa00020(0x3e1)]=_0x3dd7b5(Z(),Ct(),bi(),Ot(),bt());}(Pi,function(_0x19933b){var _0xaa88ee=_0x223c;return(function(){var _0x21a863=_0x223c,_0x5c8ff6=_0x19933b,_0xf6a139=_0x5c8ff6['lib'],_0x204c58=_0xf6a139[_0x21a863(0x1cc)],_0x5c7bd8=_0x5c8ff6[_0x21a863(0x24e)],_0x4f6be2=[],_0x562954=[],_0x5344b8=[],_0xcb2d2a=[],_0x536b71=[],_0x496406=[],_0x105391=[],_0x48c8c9=[],_0x71824f=[],_0x2be9f7=[];(function(){for(var _0x4caf22=[],_0xd8ef17=0x0;_0xd8ef17<0x100;_0xd8ef17++)_0xd8ef17<0x80?_0x4caf22[_0xd8ef17]=_0xd8ef17<<0x1:_0x4caf22[_0xd8ef17]=_0xd8ef17<<0x1^0x11b;for(var _0x2b101f=0x0,_0x59a4ff=0x0,_0xd8ef17=0x0;_0xd8ef17<0x100;_0xd8ef17++){var _0x494887=_0x59a4ff^_0x59a4ff<<0x1^_0x59a4ff<<0x2^_0x59a4ff<<0x3^_0x59a4ff<<0x4;_0x494887=_0x494887>>>0x8^_0x494887&0xff^0x63,_0x4f6be2[_0x2b101f]=_0x494887,_0x562954[_0x494887]=_0x2b101f;var _0x344410=_0x4caf22[_0x2b101f],_0x2f1b5d=_0x4caf22[_0x344410],_0x2c01ac=_0x4caf22[_0x2f1b5d],_0x3b5110=_0x4caf22[_0x494887]*0x101^_0x494887*0x1010100;_0x5344b8[_0x2b101f]=_0x3b5110<<0x18|_0x3b5110>>>0x8,_0xcb2d2a[_0x2b101f]=_0x3b5110<<0x10|_0x3b5110>>>0x10,_0x536b71[_0x2b101f]=_0x3b5110<<0x8|_0x3b5110>>>0x18,_0x496406[_0x2b101f]=_0x3b5110;var _0x3b5110=_0x2c01ac*0x1010101^_0x2f1b5d*0x10001^_0x344410*0x101^_0x2b101f*0x1010100;_0x105391[_0x494887]=_0x3b5110<<0x18|_0x3b5110>>>0x8,_0x48c8c9[_0x494887]=_0x3b5110<<0x10|_0x3b5110>>>0x10,_0x71824f[_0x494887]=_0x3b5110<<0x8|_0x3b5110>>>0x18,_0x2be9f7[_0x494887]=_0x3b5110,_0x2b101f?(_0x2b101f=_0x344410^_0x4caf22[_0x4caf22[_0x4caf22[_0x2c01ac^_0x344410]]],_0x59a4ff^=_0x4caf22[_0x4caf22[_0x59a4ff]]):_0x2b101f=_0x59a4ff=0x1;}}());var _0x270361=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa780a7=_0x5c7bd8[_0x21a863(0x33c)]=_0x204c58[_0x21a863(0x488)]({'_doReset':function(){var _0x39bf78=_0x21a863,_0x3c244d;if(!(this['_nRounds']&&this[_0x39bf78(0x441)]===this[_0x39bf78(0x1d6)])){for(var _0x193f24=this[_0x39bf78(0x441)]=this[_0x39bf78(0x1d6)],_0xa1e3=_0x193f24[_0x39bf78(0x3f6)],_0x168868=_0x193f24[_0x39bf78(0x291)]/0x4,_0x525bd4=this[_0x39bf78(0x39f)]=_0x168868+0x6,_0x1efebd=(_0x525bd4+0x1)*0x4,_0x161259=this['_keySchedule']=[],_0x2129b3=0x0;_0x2129b3<_0x1efebd;_0x2129b3++)_0x2129b3<_0x168868?_0x161259[_0x2129b3]=_0xa1e3[_0x2129b3]:(_0x3c244d=_0x161259[_0x2129b3-0x1],_0x2129b3%_0x168868?_0x168868>0x6&&_0x2129b3%_0x168868==0x4&&(_0x3c244d=_0x4f6be2[_0x3c244d>>>0x18]<<0x18|_0x4f6be2[_0x3c244d>>>0x10&0xff]<<0x10|_0x4f6be2[_0x3c244d>>>0x8&0xff]<<0x8|_0x4f6be2[_0x3c244d&0xff]):(_0x3c244d=_0x3c244d<<0x8|_0x3c244d>>>0x18,_0x3c244d=_0x4f6be2[_0x3c244d>>>0x18]<<0x18|_0x4f6be2[_0x3c244d>>>0x10&0xff]<<0x10|_0x4f6be2[_0x3c244d>>>0x8&0xff]<<0x8|_0x4f6be2[_0x3c244d&0xff],_0x3c244d^=_0x270361[_0x2129b3/_0x168868|0x0]<<0x18),_0x161259[_0x2129b3]=_0x161259[_0x2129b3-_0x168868]^_0x3c244d);for(var _0x30437b=this[_0x39bf78(0x1ce)]=[],_0x1c7d57=0x0;_0x1c7d57<_0x1efebd;_0x1c7d57++){var _0x2129b3=_0x1efebd-_0x1c7d57;if(_0x1c7d57%0x4)var _0x3c244d=_0x161259[_0x2129b3];else var _0x3c244d=_0x161259[_0x2129b3-0x4];_0x1c7d57<0x4||_0x2129b3<=0x4?_0x30437b[_0x1c7d57]=_0x3c244d:_0x30437b[_0x1c7d57]=_0x105391[_0x4f6be2[_0x3c244d>>>0x18]]^_0x48c8c9[_0x4f6be2[_0x3c244d>>>0x10&0xff]]^_0x71824f[_0x4f6be2[_0x3c244d>>>0x8&0xff]]^_0x2be9f7[_0x4f6be2[_0x3c244d&0xff]];}}},'encryptBlock':function(_0x3266f8,_0x253e9a){var _0x50a4f7=_0x21a863;this[_0x50a4f7(0x188)](_0x3266f8,_0x253e9a,this['_keySchedule'],_0x5344b8,_0xcb2d2a,_0x536b71,_0x496406,_0x4f6be2);},'decryptBlock':function(_0x2ff230,_0xcc5dd3){var _0x884c83=_0x21a863,_0x23385f=_0x2ff230[_0xcc5dd3+0x1];_0x2ff230[_0xcc5dd3+0x1]=_0x2ff230[_0xcc5dd3+0x3],_0x2ff230[_0xcc5dd3+0x3]=_0x23385f,this[_0x884c83(0x188)](_0x2ff230,_0xcc5dd3,this['_invKeySchedule'],_0x105391,_0x48c8c9,_0x71824f,_0x2be9f7,_0x562954);var _0x23385f=_0x2ff230[_0xcc5dd3+0x1];_0x2ff230[_0xcc5dd3+0x1]=_0x2ff230[_0xcc5dd3+0x3],_0x2ff230[_0xcc5dd3+0x3]=_0x23385f;},'_doCryptBlock':function(_0x38bb07,_0x478545,_0x36ab71,_0x219a41,_0x1635fb,_0x148023,_0x1d36f5,_0x52305b){var _0x474db4=_0x21a863;for(var _0x438c4d=this[_0x474db4(0x39f)],_0x5ddc77=_0x38bb07[_0x478545]^_0x36ab71[0x0],_0x27277c=_0x38bb07[_0x478545+0x1]^_0x36ab71[0x1],_0x489987=_0x38bb07[_0x478545+0x2]^_0x36ab71[0x2],_0x311b7b=_0x38bb07[_0x478545+0x3]^_0x36ab71[0x3],_0x183d2f=0x4,_0x55d7c4=0x1;_0x55d7c4<_0x438c4d;_0x55d7c4++){var _0x75422=_0x219a41[_0x5ddc77>>>0x18]^_0x1635fb[_0x27277c>>>0x10&0xff]^_0x148023[_0x489987>>>0x8&0xff]^_0x1d36f5[_0x311b7b&0xff]^_0x36ab71[_0x183d2f++],_0xb18157=_0x219a41[_0x27277c>>>0x18]^_0x1635fb[_0x489987>>>0x10&0xff]^_0x148023[_0x311b7b>>>0x8&0xff]^_0x1d36f5[_0x5ddc77&0xff]^_0x36ab71[_0x183d2f++],_0x2439a3=_0x219a41[_0x489987>>>0x18]^_0x1635fb[_0x311b7b>>>0x10&0xff]^_0x148023[_0x5ddc77>>>0x8&0xff]^_0x1d36f5[_0x27277c&0xff]^_0x36ab71[_0x183d2f++],_0x150a6e=_0x219a41[_0x311b7b>>>0x18]^_0x1635fb[_0x5ddc77>>>0x10&0xff]^_0x148023[_0x27277c>>>0x8&0xff]^_0x1d36f5[_0x489987&0xff]^_0x36ab71[_0x183d2f++];_0x5ddc77=_0x75422,_0x27277c=_0xb18157,_0x489987=_0x2439a3,_0x311b7b=_0x150a6e;}var _0x75422=(_0x52305b[_0x5ddc77>>>0x18]<<0x18|_0x52305b[_0x27277c>>>0x10&0xff]<<0x10|_0x52305b[_0x489987>>>0x8&0xff]<<0x8|_0x52305b[_0x311b7b&0xff])^_0x36ab71[_0x183d2f++],_0xb18157=(_0x52305b[_0x27277c>>>0x18]<<0x18|_0x52305b[_0x489987>>>0x10&0xff]<<0x10|_0x52305b[_0x311b7b>>>0x8&0xff]<<0x8|_0x52305b[_0x5ddc77&0xff])^_0x36ab71[_0x183d2f++],_0x2439a3=(_0x52305b[_0x489987>>>0x18]<<0x18|_0x52305b[_0x311b7b>>>0x10&0xff]<<0x10|_0x52305b[_0x5ddc77>>>0x8&0xff]<<0x8|_0x52305b[_0x27277c&0xff])^_0x36ab71[_0x183d2f++],_0x150a6e=(_0x52305b[_0x311b7b>>>0x18]<<0x18|_0x52305b[_0x5ddc77>>>0x10&0xff]<<0x10|_0x52305b[_0x27277c>>>0x8&0xff]<<0x8|_0x52305b[_0x489987&0xff])^_0x36ab71[_0x183d2f++];_0x38bb07[_0x478545]=_0x75422,_0x38bb07[_0x478545+0x1]=_0xb18157,_0x38bb07[_0x478545+0x2]=_0x2439a3,_0x38bb07[_0x478545+0x3]=_0x150a6e;},'keySize':0x100/0x20});_0x5c8ff6[_0x21a863(0x33c)]=_0x204c58[_0x21a863(0x4ce)](_0xa780a7);}()),_0x19933b[_0xaa88ee(0x33c)];}));}(Ie)),Ie['exports'];}var Mi=Li();const wi=de(Mi);var xi=Ct();const it=de(xi);var Oe={'exports':{}},ki=Oe['exports'],nt;function $i(){return nt||(nt=0x1,function(_0x1e6ead,_0x220073){(function(_0x3996f1,_0x4672e7){_0x1e6ead['exports']=_0x4672e7(Z());}(ki,function(_0x16eac8){var _0x1aaa64=_0x223c;return _0x16eac8[_0x1aaa64(0x3c6)][_0x1aaa64(0x326)];}));}(Oe)),Oe['exports'];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x2f1e4f(0x3e1)],st;function Fi(){var _0x735de=_0x2f1e4f;return st||(st=0x1,function(_0x53efc0,_0x14669b){(function(_0x5babb4,_0xf446b3){var _0x5576e8=_0x223c;_0x53efc0[_0x5576e8(0x3e1)]=_0xf446b3(Z());}(Bi,function(_0x256e3a){var _0x231f1d=_0x223c;return(function(){var _0x2226af=_0x223c;if(typeof ArrayBuffer==_0x2226af(0x461)){var _0x231c77=_0x256e3a,_0x4da602=_0x231c77[_0x2226af(0x19e)],_0x4c07e6=_0x4da602['WordArray'],_0x359169=_0x4c07e6[_0x2226af(0x477)],_0x5e7e2d=_0x4c07e6[_0x2226af(0x477)]=function(_0x41080e){var _0x527ab5=_0x2226af;if(_0x41080e instanceof ArrayBuffer&&(_0x41080e=new Uint8Array(_0x41080e)),(_0x41080e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x41080e instanceof Uint8ClampedArray||_0x41080e instanceof Int16Array||_0x41080e instanceof Uint16Array||_0x41080e instanceof Int32Array||_0x41080e instanceof Uint32Array||_0x41080e instanceof Float32Array||_0x41080e instanceof Float64Array)&&(_0x41080e=new Uint8Array(_0x41080e[_0x527ab5(0x1f2)],_0x41080e[_0x527ab5(0x24b)],_0x41080e[_0x527ab5(0x3a7)])),_0x41080e instanceof Uint8Array){for(var _0x541a17=_0x41080e[_0x527ab5(0x3a7)],_0x2641aa=[],_0x4a58c5=0x0;_0x4a58c5<_0x541a17;_0x4a58c5++)_0x2641aa[_0x4a58c5>>>0x2]|=_0x41080e[_0x4a58c5]<<0x18-_0x4a58c5%0x4*0x8;_0x359169[_0x527ab5(0x47a)](this,_0x2641aa,_0x541a17);}else _0x359169[_0x527ab5(0x415)](this,arguments);};_0x5e7e2d[_0x2226af(0x232)]=_0x4c07e6;}}()),_0x256e3a[_0x231f1d(0x19e)][_0x231f1d(0x39a)];}));}(be)),be[_0x735de(0x3e1)];}var Vi=Fi();function _0x2f05(){var _0x1c329a=['USER_IS_ANONYMOUS','registerHTTPInterceptor','Cipher','_substituteRedoStack','createSocket','OPTIONAL','session.room-not-exists','subject','REDEMPTION_CODE_HAS_BEEN_CREATED','shouldCloseConn','listCollaborators','shareReplay','univer-pro.collaboration-client.network-condition.service','_createHmacHelper','SetSelectionsOperation','AES','updateCollaborator','PERMISSION_REJ','ILogService','AWAITING','JOIN_ROOM_PERMISSION_DENIED','_redoStacks','pauseCollaboration','UPDATE_CURSOR','createIdentifier','UNAUTHENTICATED','serializeCombRequest','reset','YUUMI_SUBSCRIPTION_NOT_FOUND','_getCtorByUniverType','/object/','PAYMENT_CHANNEL_NOT_SUPPORT','_socketMessageSubscription','_entityInit$','getUnitType','subscribe','_members','next','csAckEvent','_onRemoteRejected','csShouldRetryEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','origin','HELLO','SNAPSHOT_URL_KEY','roles','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_updateLocalCache','ceil','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SHA1','TOO_MANY_REQUESTS','getTypeOfUnitAdded$','loadDoc','_initUnitPermissionChange','_collaborationPaused','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','key','textRanges','POST','HTTPService','socket\x20open.','ClipsheetFragments','PSEUDO_FETCH_MISSING_RESULT','_handlerCallback','pad','ENTITLE_CAN_NOT_BUY_LOWER_OTP','CommandType','toString','interceptor','\x20to\x20','take','INVALID_ARGUMENT','UNIVER_DOC','Hasher','INetworkConditionService','_getAPIPrefix','APPLY_DUPLICATED','socketService','online$','enableOfflineEditing','delete','iterations','patch','salt','awaitingChangeset','[FetchMissState]','infoRsp','PENDING','_isPermissionRej','BehaviorSubject','SUBMIT_CHANGESET_TIMEOUT','get','_permissionService','RECV','REDEMPTION_USER_REDEEM_TIMES_EXCEED','symbol','USERS_LEAVE','LIVESHARE_NEW_HOST','reject','_syncEditingCollabCursor','dispose$','m2Prime','SNAPSHOT_HAS_BEEN_REMOVED','max','/universer-api/uniscript','RETRY_CONNECTING_MAX_COUNT_KEY','REDEMPTION_CODE_INACTIVE','CHANGESET_REVISION_CONFILICT','WordArray','mergeOverrideWithDependencies','getTime','getConfig','toggleOnline','_nRounds','UNKNOWN_CMD','getActiveSheet','WorkbookEditablePermission','onRemoteAck','_process','_memberService','reqId','byteLength','merge','_changesetSessionId','uniscriptRunEvent','HEARTBEAT','unitId\x20is\x20not\x20found','requestParams','_tryReconnect','WECHAT_HAS_BEEN_BOUND','roomInfos','_doProcessBlock','x-univer-host','JOIN_ROOM_FAILED','updatePermissionPoint','_entities','/universer-api/oidc/authpage','_transformStack','/universer-api/user/session-ticket','fetchMissingChangesets','size','joinEvent','then','firstValueFrom','FAIL','/fetchmissing?from=','sendChangesetTimeout','/rev/','transformUndoRedo','error','map','/-/object/-/batch_allowed','enc','Plugin','execute','SheetCollaborationEntity','_change$','url','save\x20fail\x20reason\x20is\x20','onCommentUpdate','name','fromCollab','_getSignURL','set','_getUndoStack','[OfflineState]:\x20received\x20acknowledgement.','_candidateSocket','open$','_commentUpdate$','_httpService','routeKey','REDEMPTION_USER_NOT_ELIGIBLE','_transformRemoteChangesetByIMECache','_emitMembers','_doReset','IAuthzIoService','onSyncEditingCollabCursor','COMPRESS_MUTATION_APPLY','_init','exports','_shouldReportTelemetry','_updateState','compute','/role','NO_OTHER_CLIENTS_EDITING','FETCH_MISS','mode','ISocketService','src','_prevBlock','FetchingMissState','UNIVER_UNKNOWN','_handler','_initMergeInterceptor','message$','_append','ws://127.0.0.1:8000/universer-api/comb/connect','onStateChange','getImage','readyForCollab','words','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','capture','disableLocalCache','/collaborator','getMemberID','_clearLocalCache','offline','conflict','[SyncedState]:\x20received\x20acknowledgement.','padding','CollaborationSession','AUTHORIZE_CODE_ILLEGAL','resolve','downloadEndpointUrl','compose','3kIsoWr','change$','Inject','catch','_onOffline','JOIN_ROOM_FULL','Error\x20on\x20receiving\x20event','_sendHeartbeatTimer','Hex','ERROR_IMAGE_TYPE','_retryCount','_sheetTransformSelectionsService','body','&to=','ciphertext','apply','onlyLocal','YUUMI_CONNECTOR_URL_NOT_FOUND','collaboration-client.config','_clearRedo','getUnitId','GLOBAL_ROOMS_CNT_EXCEEDS','CURRENT_STATUS_CANNOT_OPERATE','_onConnectionFailed','listRoles','395322KLybta','ISnapshotServerService','__esModule','default','INGEST','rev','?size=','_initDependencies','LIVESHARE_TERMINATE','CollaborativeUndoRedoService','string','SheetTransformSelectionsService','transformMutationsWithChangeset','ivSize','loadUnitOfRevision','/universer-api/comb','loadOfflineData','BufferedBlockAlgorithm','_transformRemoteChangesetByStateCache','APPLY_REJECT','MentionIoHttpService','baseRev','_state','_acknowledgedAwaitingChangeset','failed\x20to\x20apply\x20missed\x20changesets!','_localCacheService','_userManagerService','unknown','/block/','HEARTBEAT_TIMEOUT_KEY','authzUrl','_onFetchMissResult','_removeRoom','ENSURE_SNAPSHOT_EXECUTION','_keyPriorReset','_transitionLocked','_transformService','_initRequestHeader','splice','_onRemoteACK','ConflictState','HTTPRequest','PERMISSION_DENIED','takeUntil','1732530jotFpY','pending','UnitEmbedded','resourceIDs','generateRandomId','_status$','_listenToNetworkCondition','Subject','ENTITLE_CHAT_LIMIT_EXCEED','session.room-cnt-exceeds','_nDataBytes','defineProperty','[CollaborationSession]','_parse','append','_commentService','_pendingMutations','transformSelections','JOIN_ROOM_NOT_EXISTS','range','copyFileMeta','readInt32LE','function','getLatestCsReqIdBySid','CollaborationSocketService','OpenSSL','session','refreshPermission','ERROR_AGAIN','_clearTimeoutTimer','_schedule','fetchMiss','saveImage','_singleActiveUnitService','_collaborationSessionService','userID','UniverCollaborationClientPlugin','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onConflict','status$','SnapshotServerOverHTTPService','CHANGESET_SHOULD_RETRY','_undoRedoService','session.join-failed','init','LIVESHARE_OPERATION','LEAVE','call','_createHandler','INTERNAL_ERROR','YUUMI_URL_COL_OUT_OF_RANGE','Undefined','close','CHANGESET_ACK','delay','_onRemoteRetry','CollaborationEntity','_revisionService','_hasher','UNDEFINED','toggleOffline','extend','newCsEvent','HMAC','debug','concat','NOT_FOUND','AwaitingWithPendingState','has','AwaitingState','SUCCUSS','APPLY_REVISION_CONFILICT','override','closeSession','onTransformSelections','getSnapshotAPIPath','COMPLETION_FINISHED','YUUMI_ASYNCIO_CANCELLED','min','requireSession','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','JSONX','USERS_ENTER','code','IPermissionService','LOCAL_CACHE_INTERVAL','actions','random','put','getLocalCacheKey','SNAPSHOT_INVALID_SNAPSHOT','_onUserJoin','_getCurrentRevision','_queuedRemoteChangesets','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]:\x20socket\x20error','/universer-api/file/{fileID}/sign-url','complete','SOCKET_FAILED_RETRY','transformChangesets','Encryptor','socket$','DEFAULT_WS_SESSION_TICKET_URL','parse','UniverLicensePlugin','commentUpdate$','\x0aCurrent:\x20','_onLocalMutation','_replayCachedMutations','OTHER_CLIENT_EDITING','getGlobalObject','_disableEditing','permissionRejEvent','processBlock','updatePermissionObjEvent','Tools','UnitStatus','result','MSG_FOR_ERROR','textEncoder','decryptBlock','UPDATE_PERMISSION_OBJ','CollaborationUIEventService','startsWith','_onMessage','isTransformMutationsWithChangesetSuccess','onRemoteRetry','RxDisposable','UNIVER_PROJECT','[PendingState]:\x20received\x20acknowledgement.','univer-pro.collaboration-client.single-active-unit-service','_createHelper','Failed\x20to\x20update\x20permission\x20point','find','_roomCreated$','/universer-api/stream/file/upload','loginUrlKey','RichTextEditingMutation','LocalUndoRedoService','_waitForHeartbeatResponse','_event$','registerDependencies','changesets','getCurrentRevOfUnit','[PendingState]:\x20received\x20rejection.','getOwnPropertyDescriptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-full','c2Prime','JOINING','type','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','crypto','join','SUBMIT_CHANGESET','_xformMode','_throwTelemetryCollaborationNewChangeset','_iv','6603992PzZPQQ','APPLY_NON_SEQUENTIAL_REVISION','RevisionService','charAt','Quantity','HEARTBEAT_INTERVAL','PasswordBasedCipher','snapshot','YUUMI_NO_CUBOID_FOR_QUESTION','hostname','reconnect','getImageSourceCache','error$','Disposable','HmacMD5','Could\x20not\x20dynamically\x20require\x20\x22','createInstance','_undoStacks','setCurrentUser','StreamCipher','_roomMembers','method','kdf','indexOf','_rescheduleHeartbeat','LICENSE_DISTRO_REJECTED','add','saveSnapshot','\x20-\x20','CHANGESET_REJ','\x20in\x20_schedule.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','editing\x20status\x20changed\x20to','eventID','headers','updateSnapshot','_configService','updateMember','getFocusedUnit','_createInitialStateImpl','InsertSheetMutation','send','updateOfflineData','_minBufferSize','[CollaborationSessionService]','ENTITLE_USE_COUPON_NOT_1ST_TRADE','dispose','AWAITING_WITH_PENDING','isInternalEditorID','_socket','__creator','_injector','_doCryptBlock','ImageSourceType','concatMap','clamp','collaboratorID','FETCH_MISSING','/new_changes','emitEvent','resend','NOT_COLLAB','CollaborationEvent','memberID','OTHER_CLIENTS_EDITING','INVITE_CODE_HAS_BEEN_UES','_tryEnsureSocket','EmptyMutationInfo','unpad','waitForRoom$','getRandomValues','LICENSE_MAX_UNITS_EXCEEDED','format','__splitChunk__','lib','_transformStateCache','IContextService','data','_getUploadFileURL','executeCommand','COMMENT_UPDATE','title','image/png','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_toggleOnline','startTime','onRemoteRej','HttpImport','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','keySize','_unitInfo$','collaMsg','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','push','_resendWithTimeout','pluginName','SheetPermissionInitController','_executeRemoteChangeset','disposeWithMe','hasher','getDeserializedSheetBlock','/allowed','_fetchMissChangesets','ICommandService','AuthzIoHttpService','getCurrentSelections','_ENC_XFORM_MODE','SOCKET_FAILED','HttpExport','_config','onMissedChangesetFetched','Malformed\x20UTF-8\x20data','parseChangesetToProtocol','loadUnit','UnitSnapshot','1253624lIhjJq','status','_socket$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','BlockCipher','parseProtocolChangeset','_invKeySchedule','SerializableCipher','_resendTimer','_exhaustRemoteChangesetQueue','_networkConditionService','UNIVER_COLLABORATION_CLIENT_PLUGIN','blockSize','BASE64','_key','_mode','DEFAULT_FILE_NAME','objectID','href','UNIVER_SHEET','PERSON','stringify','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_snapshotService','ALREADY_EXISTS','[CollaborationEntity]','state','USER_NOT_INVITED_CODE','YUUMI_RATE_OVER_LIMIT','APPLY_PERMISSION_DENIED','HmacSHA1','selections','_doCreateSocket','_clearHeartbeatTimer','LOGIN_TOKEN_PROCESSING_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','auth.needGotoLoginAlert','includes','filter','snapshotServerUrl','_sessionStatus$','telemetry\x20info\x20is\x20not\x20initialized','buffer','LICENSE_IMPORT_SIZE_EXCEEDED','_getLoginPath','_maxTotalRetryTimeout','1083574OhkydQ','forEach','_collaborationUIEventService','now','onTransformIME','collaboration-client.local-cache-service','slice','People','_onRecvEvent','NoPadding','getAllMembers','REDEMPTION_INVALID_CODE','DEFAULT_COLLAB_WEB_SOCKET_URL','[DataLoaderService]','unitId','LICENSE_EXPORT_SIZE_EXCEEDED','UNISCRIPT_RUN','_createSocket','onMutationExecutedForCollab','_members$','_unitID','PendingState','hasOwnProperty','getUnitStatus$','USER_NOT_FOUND','createCollaborator','SYNCED','_commandService','initWorkbookPermissionChange','sequenceExecute','_showConflictNotification','addHandlerCallback','_transformUndoredo','_cipher','INVALID_INVITE_CODE','addImageSourceCache','randomBytes','enableAuthServer','repeat','getCollabEntity','YUUMI_TABLE_NOT_FOUND_IN_UNIT','list','ENTITLE_DUP_SUBSCRIPTION','_getDownloadEndpointURL','pipe','9qtjgsr','UNRECOGNIZED','clear','getUnitOnRev','_instanceService','uuidv4','_toggleOffline','getTypeOfUnitDisposed$','onRemoteChangeset','_clearScheduledTask','fetch_missing','_initCloseConn','createDecryptor','_univerInstanceService','_changesetReqId','prototype','_sessions','state$','_compressMutationService','setConfig','length','Optional','1360485NOoshG','CollaborationImageIoService','replace','stopTime','JOIN','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','MergeInterceptorFactory','members','isTransformChangesetsSuccess','getCollabEntity$','DataLoaderService','/resources','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','transformStack\x20failed!','encode','reduce','_collaborationTimeoutTimer','byteOffset','getInterceptPoints','connection\x20error','algo','Base64','_telemetryInfo','members$','?url=','asObservable','$super','ISingleActiveUnitService','sin','isTransformMutationsWithChangesetFailure','MD5','action','YUUMI_UNABLE_LOAD_URL','close$','_submitChangeset','SHOULD_CLOSE_CONN','REDEMPTION_CODE_NOT_STARTED','createEncryptor','getCurrentUser','unitID','UniverCollaborationPlugin','_logService','_sendHeartbeat','csRejEvent','DependentOn','[UniverCollaborationClientPlugin]','3288411tOLKwY','collabSubmitChangesetUrl','Univer','_onJoinRoomEvent','LocaleService','encrypt','_hash','_DEC_XFORM_MODE','_reverseMap','HEARTBEAT_TIMEOUT','onMissingChangesets','DATA_SOURCE_TOO_LARGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CONNECTOR_DATA_TOO_LARGE','confirm','_unlockTransition','deepClone','revision','LIVESHARE_REQUEST_HOST','_awaitingChangeset','_state$','finalize','appendMutation','CollaborationUIEventId','_applyRemoteChangeset','PY_RUNTIME_SCRIPT_ERROR','ICollaborationSocketService','CLOSE_ROOM','post','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_checkMissing','_resendTimeout','saveChangeset','decrypt','MOBILE_VERIFY_CODE_MISMATCH','_createInitialState','_sender','MemberService','mixIn','DocCollaborationEntity','EMAIL_HAS_BEEN_BOUND','sigBytes','localeService','_decreaseWaiting','OFFLINE','BlockCipherMode','enableCollaboration','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','objects','ERROR_IMAGE','SyncedState','sid','_timeoutTimer','_getSendChangesetTimeout','getMember','getWorkbookSelections','/universer-api/snapshot/','UserProfileImg','RETRY_CONNECTING_MAX_COUNT','/unit/','every','_remoteChangesetQueue','_snapshotServerService','YUUMI_AI_RUN_FAILED','create','COMPRESS_MUTATION_SEND','_getAPIPrefixPath','ITransformService','cfg','Injector','withCredentials','INVITE_CODE_ALREADY_BOUND','IImageIoService','_type','CipherParams','_socketReady','collaborators','sessionStatus$','[CollaborationUndoRedoService]','_substituteUndoStack','_scheduleCollaborationTimeoutTimer','mapDocumentTypeToUniverType','onSendChangeset','socket\x20close','image/jpeg','event$','clone','session.room-permission-denied','_imageSourceCache','workbook','/universer-api/authz','formatter','OfflineState','onStarting','awaiting','_onConnectionOpen','ENTITLE_COUPON_USED_UP','CommentService','__Key__','ImageUploadStatusType','IUndoRedoService','Pkcs7','LOCAL_CACHE_INTERVAL_KEY','ENTITLE_NEED_BILLING_ADDRESS','UniverInstanceType','IMentionIOService','params','cmd','_socketService','update','awaiting_with_pending','_lockTransition','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_oKey','MentionType','mutations','enableSingleActiveInstanceLock','EvpKDF','submit\x20changeset\x20error!','_telemetryService','objectType','UNIVER_SLIDE','FileId','toDisposable','reverse','univer-pro.collaboration-client-socket-service','_sendingTimer','/object','charCodeAt','UNKNOWN_CODE','entityInit$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_replaceFileID','[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.','INVITE_CODE_REQUIRED','IConfigService','isArray','_waitCount','CollaborationController','ENTITLE_COUPON_EXPIRED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Base','_clearUndo','isPermissionRej','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','synced','touchDependencies','findIndex','_stopTelemetryCollaborationNewChangeset','_eventService','_getRedoStack','location','_data','getValue','UUID','Workbook','REDEMPTION_CODE_FULLY_REDEEMED','Module','getSheetBlock','_clearRetryConnectingTimer','Latin1','_onUserLeave','getRoom','_retryConnectingTimer','_map','ITelemetryService','fetchThroughInterceptors','c1Prime','liveShareOperation','objectActions','IDLE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','floor','SnapshotService','IUniverInstanceService','setShowComponents','_registerDependencies','localCacheService','_incrementRevisionNumber','ONLINE','onTransformRemoteChangesetByIMECache','originalMeta','_HTTPService','LIVESHARE_FETCH_OPERATIONS','from','CollaborationSessionService','removeMember','_scheduleCompleteTimestamp','Utf8','liveShareNewHost','MUTATION','duration','Decryptor','resolveWithBasePath','onTransformState'];_0x2f05=function(){return _0x1c329a;};return _0x2f05();}const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x2f1e4f(0x3e1)],rt;function Yi(){var _0x534795=_0x2f1e4f;return rt||(rt=0x1,function(_0x1456cf,_0x1d1d21){(function(_0x19720e,_0x2b1500,_0x1a04df){var _0x3e0b13=_0x223c;_0x1456cf[_0x3e0b13(0x3e1)]=_0x2b1500(Z(),bt());}(Gi,function(_0x12d16a){var _0x1cc711=_0x223c;return _0x12d16a[_0x1cc711(0x36e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x12d16a[_0x1cc711(0x36e)][_0x1cc711(0x1ff)];}));}(Re)),Re[_0x534795(0x3e1)];}var Ki=Yi();const qi=de(Ki);function zi(_0x2cfece,_0x33c73a){var _0x3d8b8a=_0x2f1e4f;const _0x375454=_0x33c73a-_0x2cfece[_0x3d8b8a(0x237)]%_0x33c73a,_0xde69e9=String['fromCharCode'](_0x375454)[_0x3d8b8a(0x21c)](_0x375454);return _0x2cfece+_0xde69e9;}function Xi(_0x53945f,_0x490a2a){var _0x838e4f=_0x2f1e4f;const _0x34ce34=Wi[_0x838e4f(0x4a2)](0x10),_0x26c7d5=zi(_0x53945f,0x10),_0x3f1742=wi[_0x838e4f(0x26d)](ji[_0x838e4f(0x4b2)](_0x26c7d5),it[_0x838e4f(0x4b2)](_0x490a2a),{'iv':_0x34ce34,'padding':qi});return _0x34ce34[_0x838e4f(0x48c)](_0x3f1742['ciphertext'])[_0x838e4f(0x371)](it);}function Ji(){var _0x5e029d=_0x2f1e4f;const _0x5c661c=_t[_0x5e029d(0x4b9)]()[_0x5e029d(0x2cb)];if(typeof window<'u'&&typeof window[_0x5e029d(0x300)]<'u'&&_0x5c661c){const _0x3b445e={'time':Math[_0x5e029d(0x316)](Date[_0x5e029d(0x1f9)]()/0x3e8),'domain':location[_0x5e029d(0x4f3)]};return Xi(JSON['stringify'](_0x3b445e),_0x5c661c);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1a967c,_0x1c9105,_0x3d5d33,_0x55d19b)=>{for(var _0x3c1ac6=_0x55d19b>0x1?void 0x0:_0x55d19b?Zi(_0x1c9105,_0x3d5d33):_0x1c9105,_0x253266=_0x1a967c['length']-0x1,_0x36f812;_0x253266>=0x0;_0x253266--)(_0x36f812=_0x1a967c[_0x253266])&&(_0x3c1ac6=_0x36f812(_0x3c1ac6)||_0x3c1ac6);return _0x3c1ac6;},en=(_0x47718f,_0x5a587d)=>(_0x43dae8,_0x593f61)=>_0x5a587d(_0x43dae8,_0x593f61,_0x47718f);let De=class{constructor(_0x7df9d){var _0x8ea0d3=_0x2f1e4f;this[_0x8ea0d3(0x3d7)]=_0x7df9d,this['_initRequestHeader']();}[_0x2f1e4f(0x444)](){var _0x2058eb=_0x2f1e4f;this[_0x2058eb(0x3d7)][_0x2058eb(0x32e)]({'interceptor':(_0x34538d,_0x584b80)=>{var _0xea1168=_0x2058eb;const _0x4bc4d1=_0x34538d[_0xea1168(0x50c)],_0x2612f2=Ji();return _0x2612f2&&_0x4bc4d1[_0xea1168(0x3d1)](_0xea1168(0x3b2),_0x2612f2),_0x584b80(_0x34538d);}});}};De=Qi([en(0x0,o[_0x2f1e4f(0x408)](K[_0x2f1e4f(0x369)]))],De);var tn=Object[_0x2f1e4f(0x4dc)],nn=(_0x352b73,_0x25c9af,_0x4dd6a2,_0x16d4e7)=>{var _0x1d3ef1=_0x2f1e4f;for(var _0x66e227=_0x16d4e7>0x1?void 0x0:_0x16d4e7?tn(_0x25c9af,_0x4dd6a2):_0x25c9af,_0x1ff36e=_0x352b73[_0x1d3ef1(0x237)]-0x1,_0x58bac1;_0x1ff36e>=0x0;_0x1ff36e--)(_0x58bac1=_0x352b73[_0x1ff36e])&&(_0x66e227=_0x58bac1(_0x66e227)||_0x66e227);return _0x66e227;},Le=(_0x13285c,_0x2ee67b)=>(_0x5c648f,_0x56040a)=>_0x2ee67b(_0x5c648f,_0x56040a,_0x13285c);exports[_0x2f1e4f(0x244)]=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0x5a4110,_0x2400e9,_0xda8e07){var _0x4f481e=_0x2f1e4f;super(),A(this,_0x4f481e(0x1ae),new j[(_0x4f481e(0x387))](null)),A(this,'unitInfo$',this[_0x4f481e(0x1ae)][_0x4f481e(0x253)]()),(this[_0x4f481e(0x263)]=_0x5a4110,this[_0x4f481e(0x1df)]=_0x2400e9,this[_0x4f481e(0x438)]=_0xda8e07);}async[_0x2f1e4f(0x42d)](_0x264c0c,_0x4604d8,_0x398453){var _0x124a7f=_0x2f1e4f;this[_0x124a7f(0x1ae)][_0x124a7f(0x352)]({'unitId':_0x264c0c,'type':_0x4604d8});let _0x3242b7=null;switch(_0x4604d8){case X[_0x124a7f(0x1db)]:{_0x3242b7=await this[_0x124a7f(0x1df)]['loadSheet'](_0x264c0c,_0x398453);break;}case X[_0x124a7f(0x376)]:{_0x3242b7=await this['_snapshotService'][_0x124a7f(0x362)](_0x264c0c,_0x398453);break;}default:{this['_logService'][_0x124a7f(0x3c3)]('[DataLoaderService]',_0x124a7f(0x49b));break;}}return _0x3242b7;}async[_0x2f1e4f(0x1c6)](_0x4b2618,_0x1cdf04,_0x228776){var _0x4b22f2=_0x2f1e4f,_0x2abe9b;this[_0x4b22f2(0x1ae)][_0x4b22f2(0x352)]({'unitId':_0x4b2618,'type':_0x1cdf04,'subUnitId':_0x228776});let _0x143dab=0x0;const _0x3f2258=await((_0x2abe9b=this[_0x4b22f2(0x438)])==null?void 0x0:_0x2abe9b[_0x4b22f2(0x42f)](_0x4b2618));return _0x3f2258&&(_0x3f2258[_0x4b22f2(0x382)]||_0x3f2258[_0x4b22f2(0x2dc)][_0x4b22f2(0x237)]!==0x0)&&(_0x143dab=_0x3f2258[_0x4b22f2(0x424)]),_0x143dab===0x0&&this[_0x4b22f2(0x263)][_0x4b22f2(0x48b)](_0x4b22f2(0x203),_0x4b22f2(0x1ac)),this[_0x4b22f2(0x42d)](_0x4b2618,_0x1cdf04,_0x143dab);}},exports[_0x2f1e4f(0x244)]=nn([Le(0x0,o[_0x2f1e4f(0x33f)]),Le(0x1,o['Inject'](E[_0x2f1e4f(0x317)])),Le(0x2,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x244)]);var sn=Object[_0x2f1e4f(0x4dc)],rn=(_0x1f1696,_0x2f5258,_0x4af12a,_0x237f42)=>{var _0x42588e=_0x2f1e4f;for(var _0x1afcb9=_0x237f42>0x1?void 0x0:_0x237f42?sn(_0x2f5258,_0x4af12a):_0x2f5258,_0x494712=_0x1f1696[_0x42588e(0x237)]-0x1,_0x2839ae;_0x494712>=0x0;_0x494712--)(_0x2839ae=_0x1f1696[_0x494712])&&(_0x1afcb9=_0x2839ae(_0x1afcb9)||_0x1afcb9);return _0x1afcb9;},Me=(_0x357c07,_0x782542)=>(_0x5f44f0,_0x422df8)=>_0x782542(_0x5f44f0,_0x422df8,_0x357c07);const an=[_0x2f1e4f(0x1a6),_0x2f1e4f(0x2bd),'image/jpg','image/gif','image/bmp'],on=0x5*0x400*0x400,cn=_0x2f1e4f(0x4d2),_n=_0x2f1e4f(0x4ab);exports[_0x2f1e4f(0x23a)]=class{constructor(_0x103c7d,_0x4d9949,_0x2e61d7){var _0x225d1b=_0x2f1e4f;A(this,_0x225d1b(0x2f2),0x0),A(this,'_change$',new j[(_0x225d1b(0x452))]()),A(this,_0x225d1b(0x407),this[_0x225d1b(0x3ca)]),A(this,_0x225d1b(0x2c1),new Map()),(this['_httpService']=_0x103c7d,this[_0x225d1b(0x50e)]=_0x4d9949,this[_0x225d1b(0x230)]=_0x2e61d7);}['setWaitCount'](_0x41d34b){var _0x3b4f0a=_0x2f1e4f;this[_0x3b4f0a(0x2f2)]=_0x41d34b,this[_0x3b4f0a(0x3ca)][_0x3b4f0a(0x352)](_0x41d34b);}[_0x2f1e4f(0x4f5)](_0x5dc1f0,_0x243908){var _0x4a62ec=_0x2f1e4f;if(_0x243908===z['ImageSourceType'][_0x4a62ec(0x1d5)]){const _0x321e02=new Image();return _0x321e02[_0x4a62ec(0x3ea)]=_0x5dc1f0,_0x321e02;}return this[_0x4a62ec(0x2c1)][_0x4a62ec(0x389)](_0x5dc1f0);}[_0x2f1e4f(0x219)](_0x265ceb,_0x1b5162,_0x385ea1){var _0x32617f=_0x2f1e4f;_0x1b5162===z[_0x32617f(0x189)]['BASE64']||_0x385ea1==null||this['_imageSourceCache'][_0x32617f(0x3d1)](_0x265ceb,_0x385ea1);}async[_0x2f1e4f(0x3f4)](_0x1fc297){var _0x4a167c=_0x2f1e4f;try{const _0x31d7a6=this[_0x4a167c(0x2ed)](this[_0x4a167c(0x3d0)](),''+_0x1fc297),_0xbe51db=(await this[_0x4a167c(0x3d7)][_0x4a167c(0x389)](_0x31d7a6))['body'];if(_0xbe51db[_0x4a167c(0x3c3)]&&_0xbe51db[_0x4a167c(0x3c3)][_0x4a167c(0x49e)]===dt['OK']){const _0x630da2=o[_0x4a167c(0x32b)](_0xbe51db[_0x4a167c(0x3cb)],this[_0x4a167c(0x221)]());return Promise[_0x4a167c(0x403)](_0x630da2);}return Promise['reject'](_0xbe51db[_0x4a167c(0x3c3)]);}catch(_0x31a996){return Promise['reject'](_0x31a996);}}async[_0x2f1e4f(0x46b)](_0x44da46){var _0x49f6dd=_0x2f1e4f;let _0x574473='';if(!an[_0x49f6dd(0x1ed)](_0x44da46[_0x49f6dd(0x4e1)]))return this[_0x49f6dd(0x293)](),Promise[_0x49f6dd(0x390)](new Error(z[_0x49f6dd(0x2cc)][_0x49f6dd(0x40f)]));if(_0x44da46['size']>on)return this[_0x49f6dd(0x293)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x4b150f=new FormData();_0x4b150f[_0x49f6dd(0x459)]('file',_0x44da46);const _0xd746e=this[_0x49f6dd(0x230)][_0x49f6dd(0x510)](),_0xa349bc=_0xd746e==null?void 0x0:_0xd746e[_0x49f6dd(0x41a)]();if(!_0xa349bc)throw new Error(_0x49f6dd(0x3ac));const _0x41910e=this[_0x49f6dd(0x1a2)]()+_0x49f6dd(0x425)+_0x44da46[_0x49f6dd(0x3ba)]['toString']()+'&source='+St[_0x49f6dd(0x44d)]+'&assign='+encodeURIComponent(_0xa349bc),_0x431d67={'body':_0x4b150f},_0x3cfdc4=(await this['_httpService'][_0x49f6dd(0x284)](_0x41910e,_0x431d67))['body'];if(typeof _0x3cfdc4[_0x49f6dd(0x2e3)]!='string')return this[_0x49f6dd(0x293)](),Promise['reject'](new Error(z[_0x49f6dd(0x2cc)][_0x49f6dd(0x29a)]));_0x574473=_0x3cfdc4[_0x49f6dd(0x2e3)];}catch{return this[_0x49f6dd(0x293)](),Promise[_0x49f6dd(0x390)](new Error(z[_0x49f6dd(0x2cc)][_0x49f6dd(0x29a)]));}return new Promise((_0x3a1151,_0xe0addf)=>{const _0x5cee71=new FileReader();_0x5cee71['readAsDataURL'](_0x44da46),_0x5cee71['onload']=_0x2c572f=>{var _0x46354f=_0x223c,_0x4403bb;const _0x5ef990=(_0x4403bb=_0x2c572f['target'])==null?void 0x0:_0x4403bb[_0x46354f(0x4c0)];if(_0x5ef990==null){this[_0x46354f(0x293)](),_0xe0addf(new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x60ce19=o[_0x46354f(0x44f)](0x6);_0x3a1151({'imageId':_0x60ce19,'imageSourceType':z[_0x46354f(0x189)][_0x46354f(0x303)],'source':_0x574473,'base64Cache':_0x5ef990,'status':z[_0x46354f(0x2cc)][_0x46354f(0x491)]}),this[_0x46354f(0x293)]();};});}['_getUploadFileURL'](){var _0xd17f17=_0x2f1e4f,_0x4708bd;const _0x2af0c8=this[_0xd17f17(0x50e)][_0xd17f17(0x39d)](Y);return(_0x4708bd=_0x2af0c8==null?void 0x0:_0x2af0c8['uploadFileServerUrl'])!=null?_0x4708bd:cn;}[_0x2f1e4f(0x3d0)](){var _0x502256=_0x2f1e4f,_0xd535c8;const _0x1866ba=this[_0x502256(0x50e)][_0x502256(0x39d)](Y);return(_0xd535c8=_0x1866ba==null?void 0x0:_0x1866ba['signUrlServerUrl'])!=null?_0xd535c8:_n;}[_0x2f1e4f(0x221)](){var _0x3d2bf7=_0x2f1e4f,_0x550b38;const _0x526e4a=this['_configService'][_0x3d2bf7(0x39d)](Y);return(_0x550b38=_0x526e4a==null?void 0x0:_0x526e4a[_0x3d2bf7(0x404)])!=null?_0x550b38:location[_0x3d2bf7(0x357)];}['_replaceFileID'](_0x56d317,_0x1d417a){var _0x3b5708=_0x2f1e4f;return _0x56d317[_0x3b5708(0x23b)]('{fileID}',_0x1d417a);}[_0x2f1e4f(0x293)](){var _0x2c9c33=_0x2f1e4f;this['_waitCount']-=0x1,this[_0x2c9c33(0x3ca)][_0x2c9c33(0x352)](this[_0x2c9c33(0x2f2)]);}},exports[_0x2f1e4f(0x23a)]=rn([Me(0x0,o['Inject'](K[_0x2f1e4f(0x369)])),Me(0x1,o[_0x2f1e4f(0x2f0)]),Me(0x2,o[_0x2f1e4f(0x408)](o['IUniverInstanceService']))],exports[_0x2f1e4f(0x23a)]);var hn=Object[_0x2f1e4f(0x4dc)],ln=(_0x5565c6,_0x5e4e33,_0x3f9efe,_0x20515f)=>{var _0x49f402=_0x2f1e4f;for(var _0x10e8e6=_0x20515f>0x1?void 0x0:_0x20515f?hn(_0x5e4e33,_0x3f9efe):_0x5e4e33,_0x429615=_0x5565c6[_0x49f402(0x237)]-0x1,_0x5c35e9;_0x429615>=0x0;_0x429615--)(_0x5c35e9=_0x5565c6[_0x429615])&&(_0x10e8e6=_0x5c35e9(_0x10e8e6)||_0x10e8e6);return _0x10e8e6;},at=(_0x557042,_0x1a8035)=>(_0x363613,_0x47404f)=>_0x1a8035(_0x363613,_0x47404f,_0x557042);const un=_0x2f1e4f(0x2c3);exports[_0x2f1e4f(0x433)]=class{constructor(_0x32c76a,_0x1f3a55){var _0x1aa2a0=_0x2f1e4f;this[_0x1aa2a0(0x50e)]=_0x32c76a,this[_0x1aa2a0(0x320)]=_0x1f3a55;}[_0x2f1e4f(0x2ab)](){var _0x2d47e8=_0x2f1e4f,_0x50df18;const _0xfe9021=this[_0x2d47e8(0x50e)]['getConfig'](Y);return(_0x50df18=_0xfe9021==null?void 0x0:_0xfe9021['authzUrl'])!=null?_0x50df18:un;}async[_0x2f1e4f(0x21f)](_0x2f70cb){var _0x18e017=_0x2f1e4f;const _0x455327=this[_0x18e017(0x2ab)]()+_0x18e017(0x3fa);return{'list':[{'title':_0x18e017(0x1fd),'mentions':(await this['_HTTPService'][_0x18e017(0x389)](_0x455327,{'params':{'objectID':_0x2f70cb[_0x18e017(0x204)],'unitID':_0x2f70cb[_0x18e017(0x204)]}}))[_0x18e017(0x412)][_0x18e017(0x2b5)]['map'](_0x3fde53=>({'objectId':_0x3fde53['id'],'name':_0x3fde53[_0x18e017(0x334)][_0x18e017(0x3ce)],'metadata':{'icon':_0x3fde53[_0x18e017(0x334)]['avatar']},'label':_0x3fde53[_0x18e017(0x334)][_0x18e017(0x3ce)],'objectType':o[_0x18e017(0x2db)][_0x18e017(0x1dc)]})),'metadata':{},'type':o[_0x18e017(0x2db)][_0x18e017(0x1dc)]}]};}},exports['MentionIoHttpService']=ln([at(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2f0)])),at(0x1,o[_0x2f1e4f(0x408)](K[_0x2f1e4f(0x369)]))],exports[_0x2f1e4f(0x433)]);var vn=Object[_0x2f1e4f(0x4dc)],dn=(_0x4f489e,_0x2d742d,_0x3d6d71,_0x1b8634)=>{var _0x1becb1=_0x2f1e4f;for(var _0x5b74f4=_0x1b8634>0x1?void 0x0:_0x1b8634?vn(_0x2d742d,_0x3d6d71):_0x2d742d,_0x37c0bc=_0x4f489e[_0x1becb1(0x237)]-0x1,_0xc8a849;_0x37c0bc>=0x0;_0x37c0bc--)(_0xc8a849=_0x4f489e[_0x37c0bc])&&(_0x5b74f4=_0xc8a849(_0x5b74f4)||_0x5b74f4);return _0x5b74f4;},le=(_0x4be04d,_0x33de5c)=>(_0x3fba31,_0x547062)=>_0x33de5c(_0x3fba31,_0x547062,_0x4be04d);let ye=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0x56ad2,_0x104a08,_0x111037,_0x56f3cd,_0x228d46){var _0x5d7731=_0x2f1e4f;super(),this[_0x5d7731(0x187)]=_0x56ad2,this['_univerInstanceService']=_0x104a08,this['_permissionService']=_0x111037,this[_0x5d7731(0x46d)]=_0x56f3cd,this[_0x5d7731(0x1f8)]=_0x228d46,this[_0x5d7731(0x363)](),this[_0x5d7731(0x22e)]();}[_0x2f1e4f(0x22e)](){var _0x352f23=_0x2f1e4f;const _0x18f0a7=async _0x4c15a6=>{var _0x1734fc=_0x223c;(await this[_0x1734fc(0x46d)][_0x1734fc(0x49a)](_0x4c15a6))['event$'][_0x1734fc(0x222)](V['filter'](_0x242f55=>_0x242f55['eventID']===E['CollaborationEvent'][_0x1734fc(0x25d)]),V['takeUntil'](this[_0x1734fc(0x392)]))[_0x1734fc(0x350)](_0x2ae473=>{var _0x587b81=_0x1734fc;const _0x7afc59=_0x2ae473,{reason:_0x793096}=_0x7afc59[_0x587b81(0x1a1)];this['_collaborationUIEventService'][_0x587b81(0x18f)]({'id':J[_0x587b81(0x283)],'data':_0x793096}),this[_0x587b81(0x38a)][_0x587b81(0x3b4)](new Q[(_0x587b81(0x3a2))](_0x4c15a6)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x4c15a6);});};j['merge'](this[_0x352f23(0x230)][_0x352f23(0x361)](o['UniverInstanceType'][_0x352f23(0x1db)]),this[_0x352f23(0x230)][_0x352f23(0x361)](o[_0x352f23(0x2d1)]['UNIVER_DOC']))[_0x352f23(0x222)](V[_0x352f23(0x3c4)](_0x590b76=>_0x590b76[_0x352f23(0x41a)]()),V[_0x352f23(0x1ee)](_0x59b43d=>!o[_0x352f23(0x184)](_0x59b43d)),V[_0x352f23(0x44a)](this['dispose$']))[_0x352f23(0x350)](_0x1d7e04=>{_0x18f0a7(_0x1d7e04);});}['_initUnitPermissionChange'](){var _0x68ef80=_0x2f1e4f;const _0xb3c056=async _0x15c67d=>{var _0x406151=_0x223c;const _0x356715=await this['_collaborationSessionService'][_0x406151(0x49a)](_0x15c67d),_0x10d3c4=this['_injector'][_0x406151(0x389)](Q[_0x406151(0x1b5)]);_0x356715['event$'][_0x406151(0x222)](V[_0x406151(0x1ee)](_0x4ad876=>_0x4ad876['eventID']===E[_0x406151(0x192)][_0x406151(0x4c4)]),V[_0x406151(0x44a)](this[_0x406151(0x392)]))[_0x406151(0x350)](_0xc1c4bc=>{var _0x368de7=_0x406151;const _0x571715=_0xc1c4bc,{objectId:_0x2fbbe3}=_0x571715['data'];_0x2fbbe3===_0x15c67d?_0x10d3c4[_0x368de7(0x212)](_0x15c67d):_0x10d3c4[_0x368de7(0x466)](_0x15c67d,_0x2fbbe3);});};j[_0x68ef80(0x3a8)](this[_0x68ef80(0x230)][_0x68ef80(0x361)](o[_0x68ef80(0x2d1)][_0x68ef80(0x1db)]))[_0x68ef80(0x222)](V[_0x68ef80(0x3c4)](_0x4ebfe5=>_0x4ebfe5['getUnitId']()),V[_0x68ef80(0x1ee)](_0x280e77=>!o['isInternalEditorID'](_0x280e77)),V[_0x68ef80(0x44a)](this['dispose$']))['subscribe'](_0x13f9a5=>{_0xb3c056(_0x13f9a5);});}};ye=dn([le(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),le(0x1,o[_0x2f1e4f(0x318)]),le(0x2,o[_0x2f1e4f(0x49f)]),le(0x3,o[_0x2f1e4f(0x408)](exports[_0x2f1e4f(0x323)])),le(0x4,o[_0x2f1e4f(0x408)](ee))],ye);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x45623e,_0x3eb9ca,_0x475079,_0x334179)=>{var _0xb65d77=_0x2f1e4f;for(var _0x21558e=_0x334179>0x1?void 0x0:_0x334179?Sn(_0x3eb9ca,_0x475079):_0x3eb9ca,_0x173fd6=_0x45623e[_0xb65d77(0x237)]-0x1,_0x3a6458;_0x173fd6>=0x0;_0x173fd6--)(_0x3a6458=_0x45623e[_0x173fd6])&&(_0x21558e=_0x3a6458(_0x21558e)||_0x21558e);return _0x21558e;},ot=(_0x2a48da,_0x35f0f3)=>(_0x2b8af7,_0xfb917e)=>_0x35f0f3(_0x2b8af7,_0xfb917e,_0x2a48da);exports[_0x2f1e4f(0x473)]=class{constructor(_0xf80e10,_0x129f40){var _0x4ba8f4=_0x2f1e4f;this[_0x4ba8f4(0x50e)]=_0xf80e10,this[_0x4ba8f4(0x3d7)]=_0x129f40;}async[_0x2f1e4f(0x226)](_0xd9667e,_0x7f73c3){var _0x58e574=_0x2f1e4f,_0x301b1f;const {unitID:_0x5e3210,type:_0x4761e0,revision:_0xa92373=0x0}=_0x7f73c3,_0x3216e6=this[_0x58e574(0x496)]()+'/'+_0x4761e0+_0x58e574(0x2a4)+_0x5e3210+_0x58e574(0x3c1)+_0xa92373,_0x269b31=(await this[_0x58e574(0x3d7)][_0x58e574(0x389)](_0x3216e6))[_0x58e574(0x412)],_0x303042=(_0x301b1f=_0x269b31[_0x58e574(0x4f1)])==null?void 0x0:_0x301b1f[_0x58e574(0x2c2)];if(_0x303042){const _0x41fcf2=_0x303042==null?void 0x0:_0x303042[_0x58e574(0x31f)],_0x86ca8d=E[_0x58e574(0x4c2)][_0x58e574(0x248)](E['b64DecodeUnicode'](_0x41fcf2));_0x303042[_0x58e574(0x31f)]=_0x86ca8d,Object['entries'](_0x303042['sheets'])[_0x58e574(0x1f7)](([,_0x213c12])=>{var _0x3a162d=_0x58e574;const _0x4c0eca=_0x213c12[_0x3a162d(0x31f)],_0x389053=E[_0x3a162d(0x4c2)][_0x3a162d(0x248)](E['b64DecodeUnicode'](_0x4c0eca));_0x213c12[_0x3a162d(0x31f)]=_0x389053;});}return _0x269b31;}async[_0x2f1e4f(0x307)](_0x25e22e,_0x4265c2){var _0x4187cf=_0x2f1e4f;const {unitID:_0x56de31,type:_0x13923f,blockID:_0x53e60a}=_0x4265c2,_0x3330a2=this[_0x4187cf(0x379)]()+'/'+_0x13923f+_0x4187cf(0x2a4)+_0x56de31+_0x4187cf(0x43b)+_0x53e60a;return(await this[_0x4187cf(0x3d7)][_0x4187cf(0x389)](_0x3330a2))[_0x4187cf(0x412)];}async[_0x2f1e4f(0x1b9)](_0x584134,_0x147488){var _0x41b047=_0x2f1e4f;const {unitID:_0xb3151d,type:_0x3fe775,blockID:_0x2a0b1f}=_0x147488,_0x4813b0=this[_0x41b047(0x379)]()+_0x41b047(0x43b)+_0x3fe775+_0x41b047(0x2a4)+_0xb3151d+_0x41b047(0x43b)+_0x2a0b1f;return(await this[_0x41b047(0x3d7)]['get'](_0x4813b0))[_0x41b047(0x412)];}async[_0x2f1e4f(0x3b9)](_0x135102,_0x5cc944){var _0x5d0967=_0x2f1e4f;const {unitID:_0x355390,type:_0x13d87c,from:_0xc6f444,to:_0xc7ca20}=_0x5cc944,_0x5e0de6=this['_getAPIPrefix']()+'/'+_0x13d87c+_0x5d0967(0x2a4)+_0x355390+_0x5d0967(0x3bf)+_0xc6f444+_0x5d0967(0x413)+_0xc7ca20;return(await this[_0x5d0967(0x3d7)][_0x5d0967(0x389)](_0x5e0de6))[_0x5d0967(0x412)];}['getSnapshotAPIPath'](){var _0x3d8fe2=_0x2f1e4f,_0x507e21;return(_0x507e21=this[_0x3d8fe2(0x50e)][_0x3d8fe2(0x39d)](Ut))!=null?_0x507e21:this[_0x3d8fe2(0x379)]();}[_0x2f1e4f(0x379)](){var _0x310f8b=_0x2f1e4f,_0x46b2c8;const _0x36a0f1=this['_configService']['getConfig'](Y);return(_0x46b2c8=_0x36a0f1==null?void 0x0:_0x36a0f1[_0x310f8b(0x1ef)])!=null?_0x46b2c8:yt;}async['getResourcesRequest'](_0x40bac0,_0x3c3e8b){var _0xa261e5=_0x2f1e4f;const _0x216c17=_0xa261e5(0x2a1)+_0x3c3e8b[_0xa261e5(0x4e1)]+_0xa261e5(0x2a4)+_0x3c3e8b['unitID']+_0xa261e5(0x245);return(await this[_0xa261e5(0x3d7)][_0xa261e5(0x389)](_0x216c17,{'params':{'resourceId':JSON[_0xa261e5(0x1dd)](_0x3c3e8b[_0xa261e5(0x44e)])}}))['body'];}[_0x2f1e4f(0x505)](){var _0x9c9de9=_0x2f1e4f;throw new Error(_0x9c9de9(0x1b0));}[_0x2f1e4f(0x50d)](){var _0x13dfe4=_0x2f1e4f;throw new Error(_0x13dfe4(0x1b0));}['saveSheetBlock'](){var _0x5a3157=_0x2f1e4f;throw new Error(_0x5a3157(0x1b0));}[_0x2f1e4f(0x288)](){var _0x31b9a6=_0x2f1e4f;throw new Error(_0x31b9a6(0x1b0));}[_0x2f1e4f(0x45f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f1e4f(0x462)](){var _0x533667=_0x2f1e4f;throw new Error(_0x533667(0x1b0));}},exports['SnapshotServerOverHTTPService']=In([ot(0x0,o[_0x2f1e4f(0x2f0)]),ot(0x1,o[_0x2f1e4f(0x408)](K[_0x2f1e4f(0x369)]))],exports[_0x2f1e4f(0x473)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x5bf54e,_0x51b30b,_0x552a8e,_0x1cb3ff)=>{var _0x56c1ac=_0x2f1e4f;for(var _0x187e36=_0x1cb3ff>0x1?void 0x0:_0x1cb3ff?fn(_0x51b30b,_0x552a8e):_0x51b30b,_0x519fc7=_0x5bf54e[_0x56c1ac(0x237)]-0x1,_0x13e23c;_0x519fc7>=0x0;_0x519fc7--)(_0x13e23c=_0x5bf54e[_0x519fc7])&&(_0x187e36=_0x13e23c(_0x187e36)||_0x187e36);return _0x187e36;},ue=(_0xe24eff,_0x80c150)=>(_0x214cad,_0x20b474)=>_0x80c150(_0x214cad,_0x20b474,_0xe24eff);exports[_0x2f1e4f(0x428)]=class extends o[_0x2f1e4f(0x4d5)]{constructor(_0x46e719,_0x40c1b0,_0xe8dcc9,_0x1356d7,_0x200fa6){var _0x5ae3d7=_0x2f1e4f;super(_0x46e719,_0x40c1b0,_0xe8dcc9),this[_0x5ae3d7(0x443)]=_0x1356d7,this['_logService']=_0x200fa6;}[_0x2f1e4f(0x3c2)](_0x5d13bb,_0x17d3b5){var _0x503542=_0x2f1e4f;const _0x6cfc01=this[_0x503542(0x3d2)](_0x5d13bb);if(_0x6cfc01)try{const _0x127619=this[_0x503542(0x3b7)](_0x6cfc01,_0x17d3b5);this[_0x503542(0x2b8)](_0x5d13bb,_0x127619);}catch(_0xca8c88){this[_0x503542(0x263)][_0x503542(0x3c3)](_0x503542(0x2b7),_0xca8c88),this[_0x503542(0x2f7)](_0x5d13bb);}const _0x49fb97=this[_0x503542(0x2ff)](_0x5d13bb);if(_0x49fb97)try{const _0x3093c7=this['_transformStack'](_0x49fb97,_0x17d3b5);this[_0x503542(0x330)](_0x5d13bb,_0x3093c7);}catch(_0xe744c8){this[_0x503542(0x263)][_0x503542(0x3c3)](_0xe744c8),this[_0x503542(0x419)](_0x5d13bb);}}[_0x2f1e4f(0x2f7)](_0x5f53b3){var _0x473f9=_0x2f1e4f;const _0x1a503e=this[_0x473f9(0x3d2)](_0x5f53b3);_0x1a503e&&(_0x1a503e[_0x473f9(0x237)]=0x0,this['_updateStatus']());}[_0x2f1e4f(0x419)](_0xb773c){const _0x2624f1=this['_getRedoStack'](_0xb773c);_0x2624f1&&(_0x2624f1['length']=0x0,this['_updateStatus']());}[_0x2f1e4f(0x2b8)](_0x534d26,_0x5a0398){var _0x5e7d75=_0x2f1e4f;this[_0x5e7d75(0x4fb)][_0x5e7d75(0x3d1)](_0x534d26,_0x5a0398),this['_updateStatus']();}[_0x2f1e4f(0x330)](_0x141da8,_0x2ac129){var _0x22d677=_0x2f1e4f;this[_0x22d677(0x342)]['set'](_0x141da8,_0x2ac129),this['_updateStatus']();}[_0x2f1e4f(0x3b7)](_0x8701b5,_0x2263ac){var _0x507cd9=_0x2f1e4f;const _0x190217=[];let _0x35491a=_0x2263ac,_0x36187c=_0x2263ac;for(let _0x469e2f=_0x8701b5['length']-0x1;_0x469e2f>=0x0;_0x469e2f--){const {unitID:_0x1046c7,undoMutations:_0x4bf187,redoMutations:_0x42903d}=_0x8701b5[_0x469e2f],_0x4b0ee9=this[_0x507cd9(0x443)][_0x507cd9(0x42b)](_0x35491a,_0x4bf187),_0xef0b7f=this[_0x507cd9(0x443)][_0x507cd9(0x42b)](_0x36187c,_0x42903d);if(E[_0x507cd9(0x257)](_0x4b0ee9)||E['isTransformMutationsWithChangesetFailure'](_0xef0b7f)){this[_0x507cd9(0x263)][_0x507cd9(0x3c3)](_0x507cd9(0x2b7),_0x507cd9(0x247),_0x4b0ee9,_0xef0b7f);break;}_0x35491a=_0x4b0ee9[_0x507cd9(0x310)],_0x36187c=_0xef0b7f[_0x507cd9(0x310)],_0x190217['push']({'unitID':_0x1046c7,'undoMutations':_0x4b0ee9[_0x507cd9(0x393)],'redoMutations':_0xef0b7f['m2Prime']});}return _0x190217[_0x507cd9(0x2e5)]();}},exports[_0x2f1e4f(0x428)]=En([ue(0x0,o[_0x2f1e4f(0x318)]),ue(0x1,o[_0x2f1e4f(0x1bc)]),ue(0x2,o[_0x2f1e4f(0x1a0)]),ue(0x3,E[_0x2f1e4f(0x2ac)]),ue(0x4,o['ILogService'])],exports[_0x2f1e4f(0x428)]);var pn=Object['defineProperty'],mn=Object[_0x2f1e4f(0x4dc)],gn=(_0xecef42,_0x24f556,_0x51892b)=>_0x24f556 in _0xecef42?pn(_0xecef42,_0x24f556,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51892b}):_0xecef42[_0x24f556]=_0x51892b,Tn=(_0x15cade,_0x4699a9,_0x309ea8,_0x3ea1c2)=>{for(var _0x36a88b=_0x3ea1c2>0x1?void 0x0:_0x3ea1c2?mn(_0x4699a9,_0x309ea8):_0x4699a9,_0x4e0022=_0x15cade['length']-0x1,_0x857a8;_0x4e0022>=0x0;_0x4e0022--)(_0x857a8=_0x15cade[_0x4e0022])&&(_0x36a88b=_0x857a8(_0x36a88b)||_0x36a88b);return _0x36a88b;},we=(_0x3823a1,_0x5cde64)=>(_0x4fbf04,_0x507581)=>_0x5cde64(_0x4fbf04,_0x507581,_0x3823a1),Cn=(_0xb934aa,_0x4c1553,_0x3a7fac)=>gn(_0xb934aa,_0x4c1553+'',_0x3a7fac);const On=_0x2f1e4f(0x1d3);exports[_0x2f1e4f(0x46f)]=class extends o[_0x2f1e4f(0x3c7)]{constructor(_0x2faa8f,_0x13048f,_0x12033d,_0x252ac3){var _0x299c29=_0x2f1e4f;super(),A(this,_0x299c29(0x1c2)),(this[_0x299c29(0x263)]=_0x13048f,this[_0x299c29(0x187)]=_0x12033d,this[_0x299c29(0x50e)]=_0x252ac3);const {..._0x1b9a63}=o[_0x299c29(0x3a8)]({},Qt,_0x2faa8f);if(!_0x1b9a63[_0x299c29(0x37b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x299c29(0x1c2)]=_0x1b9a63,this[_0x299c29(0x50e)][_0x299c29(0x236)](Y,_0x1b9a63);}[_0x2f1e4f(0x2c6)](){var _0x57c214=_0x2f1e4f;this[_0x57c214(0x31a)](),this[_0x57c214(0x426)]();}[_0x2f1e4f(0x31a)](){var _0x367a6e=_0x2f1e4f,_0x5e2343,_0x27f0aa;this[_0x367a6e(0x187)][_0x367a6e(0x48f)](o['IUndoRedoService'])&&this[_0x367a6e(0x263)][_0x367a6e(0x3c3)](_0x367a6e(0x267),_0x367a6e(0x1eb));const _0x16d9f3=o[_0x367a6e(0x39b)]([[o[_0x367a6e(0x2cd)],{'useClass':exports[_0x367a6e(0x428)]}],[exports[_0x367a6e(0x323)]],[exports[_0x367a6e(0x28d)]],[exports[_0x367a6e(0x42a)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x367a6e(0x244)]],[Fe,{'useClass':this[_0x367a6e(0x1c2)][_0x367a6e(0x37b)]}],[E['ISnapshotServerService'],{'useClass':exports[_0x367a6e(0x473)]}],[o[_0x367a6e(0x3dd)],{'useClass':exports[_0x367a6e(0x1bd)]}],[z[_0x367a6e(0x2b1)],{'useClass':exports[_0x367a6e(0x23a)]}],[o[_0x367a6e(0x2d2)],{'useClass':exports[_0x367a6e(0x433)]}],[exports['CollaborationController']],[xe]],(_0x5e2343=this[_0x367a6e(0x1c2)])==null?void 0x0:_0x5e2343[_0x367a6e(0x493)]);if(!((_0x27f0aa=this[_0x367a6e(0x1c2)])!=null&&_0x27f0aa[_0x367a6e(0x2dd)])){const _0x5cfbb0=_0x16d9f3[_0x367a6e(0x2fc)](([_0x2bf102])=>_0x2bf102===ve);_0x5cfbb0!==-0x1&&_0x16d9f3[_0x367a6e(0x445)](_0x5cfbb0,0x1);}o[_0x367a6e(0x4d8)](this[_0x367a6e(0x187)],_0x16d9f3);}[_0x2f1e4f(0x426)](){var _0xebaaa9=_0x2f1e4f,_0x3dc400,_0x4f70e3,_0x3d35c0;this['_injector'][_0xebaaa9(0x389)](K[_0xebaaa9(0x369)])[_0xebaaa9(0x32e)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3dc400=this[_0xebaaa9(0x1c2)])!=null&&_0x3dc400[_0xebaaa9(0x37d)]||(_0x4f70e3=this[_0xebaaa9(0x187)][_0xebaaa9(0x389)](q,o[_0xebaaa9(0x4ee)][_0xebaaa9(0x332)]))==null||_0x4f70e3[_0xebaaa9(0x3f9)](),(_0x3d35c0=this[_0xebaaa9(0x1c2)])!=null&&_0x3d35c0[_0xebaaa9(0x21b)]&&o['touchDependencies'](this[_0xebaaa9(0x187)],[[Ne]]),o[_0xebaaa9(0x2fb)](this[_0xebaaa9(0x187)],[[De],[exports[_0xebaaa9(0x2f3)]],[ye]]);}},Cn(exports[_0x2f1e4f(0x46f)],_0x2f1e4f(0x1b4),On),exports[_0x2f1e4f(0x46f)]=Tn([o[_0x2f1e4f(0x266)](_t[_0x2f1e4f(0x4b3)],E[_0x2f1e4f(0x262)],K['UniverNetworkPlugin']),we(0x1,o[_0x2f1e4f(0x33f)]),we(0x2,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),we(0x3,o['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['CollaborationStatus']=je,exports[_0x2f1e4f(0x27f)]=J,exports[_0x2f1e4f(0x4c5)]=ee,exports[_0x2f1e4f(0x2ca)]=$e,exports[_0x2f1e4f(0x202)]=ht,exports[_0x2f1e4f(0x315)]=Bt,exports[_0x2f1e4f(0x4b1)]=Pt,exports['HEARTBEAT_INTERVAL_KEY']=lt,exports[_0x2f1e4f(0x43c)]=ke,exports[_0x2f1e4f(0x282)]=Fe,exports['ILocalCacheService']=q,exports[_0x2f1e4f(0x378)]=mt,exports[_0x2f1e4f(0x255)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x2f1e4f(0x2cf)]=xt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=jt,exports[_0x2f1e4f(0x397)]=vt,exports['SessionStatus']=se,exports[_0x2f1e4f(0x4bf)]=He,exports['deserializeToCombResponse']=gt,exports[_0x2f1e4f(0x4a4)]=zt,exports[_0x2f1e4f(0x347)]=Tt;
|