/*
 *             Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 *
 *
 *
 *
 *          +---------------------------------------------------------------------------------+
 *          |                                                                                 |
 *          |                                 Hello stranger!                                 |
 *          |                                                                                 |
 *          |                                                                                 |
 *          |   What you're currently looking at is the source code of a legally protected,   |
 *          |    proprietary software. Any attempts to deobfuscate / disassemble this code    |
 *          |               are forbidden and will result in legal consequences.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
!function(_0x1fb376,_0x4a18e4){'object'==typeof exports&&'undefined'!=typeof module?_0x4a18e4(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x4a18e4):_0x4a18e4((_0x1fb376='undefined'!=typeof globalThis?globalThis:_0x1fb376||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x1fb376['CKEDITOR']);}(this,function(_0x295269,_0x31c75c){'use strict';const _0x5d1a57='_ungrouppedCommands';function _0x3da649(_0x50e94f,_0x57c5bf){const _0x538a15=(0x0,_0x57c5bf['t'])('Other');return _0x50e94f['length']?'groupId'in _0x50e94f[0x0]?_0x50e94f:[{'groupId':_0x5d1a57,'groupLabel':_0x538a15,'order':0x1/0x0,'commands':_0x50e94f}]:[{'groupId':_0x5d1a57,'groupLabel':_0x538a15,'order':0x1/0x0,'commands':[]}];}const _0x5ef3e3=globalThis['DataTransfer'],_0x5bffaf='ai-ui';class AIAssistantEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a92f7}=this,_0x38046a=['ck-fake-ai-selection'];_0x4a92f7['config']['get']('ai.assistant.useTheme')&&_0x38046a['push']('ck-ai-assistant-ui_theme'),_0x4a92f7['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5bffaf,'view':{'classes':_0x38046a,'priority':0xc}}),_0x4a92f7['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x5bffaf,'view':(_0x3674d0,{writer:_0x62fb56})=>{if(!_0x3674d0['markerRange']['isCollapsed'])return null;const _0x28c5fa=_0x62fb56['createUIElement']('span');return _0x62fb56['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x28c5fa),_0x28c5fa;}});}['afterInit'](){!async function(_0x367f45){const _0x3475f1=_0x139e27([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x1bdf6f=0x3dffc4e1,_0x8f601=0x3df84e89^_0x1bdf6f,_0x367068=window[_0x139e27([0x44,0x61,0x74,0x65])][_0x139e27([0x6e,0x6f,0x77])](),_0x5d1a49=_0x367f45[_0x139e27([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5798b0=new window[(_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c4102=>{_0x5d1a49[_0x139e27([0x6f,0x6e,0x63,0x65])](_0x139e27([0x72,0x65,0x61,0x64,0x79]),_0x2c4102);}),_0x4b071a={[_0x139e27([0x6b,0x74,0x79])]:_0x139e27([0x45,0x43]),[_0x139e27([0x75,0x73,0x65])]:_0x139e27([0x73,0x69,0x67]),[_0x139e27([0x63,0x72,0x76])]:_0x139e27([0x50,0x2d,0x32,0x35,0x36]),[_0x139e27([0x78])]:_0x139e27([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x139e27([0x79])]:_0x139e27([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x139e27([0x61,0x6c,0x67])]:_0x139e27([0x45,0x53,0x32,0x35,0x36])},_0x42da08=_0x5d1a49[_0x139e27([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x139e27([0x67,0x65,0x74])](_0x139e27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27d797(){let _0x2c11e6,_0xf88ecc=null,_0x178254=null;try{if(_0x42da08==_0x139e27([0x47,0x50,0x4c]))return _0x139e27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c11e6=_0x51e9dc(),!_0x2c11e6)return _0x139e27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c11e6[_0x139e27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x178254=_0x2a84d8(_0x2c11e6[_0x139e27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c11e6[_0x139e27([0x6a,0x74,0x69])])),await _0x2fc519()?_0x2d32c4()?_0x40c234()?_0x139e27([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a71a5()?(_0x2c11e6[_0x139e27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x139e27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf88ecc=_0x4a0a39(_0x139e27([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x375317()):_0x139e27([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x139e27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x139e27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x139e27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40c234(){const _0x1be07a=[_0x139e27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x139e27([0x74,0x72,0x69,0x61,0x6c])][_0x139e27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c11e6[_0x139e27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x367068/0x3e8:0xe10*_0x8f601;return _0x2c11e6[_0x139e27([0x65,0x78,0x70])]<_0x1be07a;}function _0x2d32c4(){const _0x31b9c9=_0x2c11e6[_0x139e27([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31b9c9&&(!!_0x31b9c9[_0x139e27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x139e27([0x2a]))||!!_0x31b9c9[_0x139e27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x139e27([0x41,0x49])));}function _0x3a71a5(){const _0xdc4c13=_0x2c11e6[_0x139e27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdc4c13||0x0==_0xdc4c13[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7e9dc1}=new URL(window[_0x139e27([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xdc4c13[_0x139e27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7e9dc1))return!0x0;const _0x13f528=_0x7e9dc1[_0x139e27([0x73,0x70,0x6c,0x69,0x74])](_0x139e27([0x2e]));return _0xdc4c13[_0x139e27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c7cf9=>_0x3c7cf9[_0x139e27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x139e27([0x2a])))[_0x139e27([0x6d,0x61,0x70])](_0x10c9ba=>_0x10c9ba[_0x139e27([0x73,0x70,0x6c,0x69,0x74])](_0x139e27([0x2e])))[_0x139e27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb92455=>_0xb92455[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13f528[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x139e27([0x6d,0x61,0x70])](_0x38b14c=>Array(_0x13f528[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38b14c[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x139e27([0x66,0x69,0x6c,0x6c])](_0x38b14c[0x0]===_0x139e27([0x2a])?_0x139e27([0x2a]):'')[_0x139e27([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38b14c))[_0x139e27([0x73,0x6f,0x6d,0x65])](_0x1de195=>_0x13f528[_0x139e27([0x65,0x76,0x65,0x72,0x79])]((_0x3dcc81,_0x4981fe)=>_0x1de195[_0x4981fe]===_0x3dcc81||_0x1de195[_0x4981fe]===_0x139e27([0x2a])));}function _0x375317(){return _0xf88ecc&&_0x178254?new window[(_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18d352,_0x5c728d)=>{_0xf88ecc[_0x139e27([0x74,0x68,0x65,0x6e])](_0x18d352,_0x5c728d),_0x178254[_0x139e27([0x74,0x68,0x65,0x6e])](_0xba3dda=>{_0xba3dda!=_0x139e27([0x56,0x61,0x6c,0x69,0x64])&&_0x18d352(_0xba3dda);},_0x5c728d);}):_0xf88ecc||_0x178254||_0x139e27([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a84d8(_0x1ac7b9,_0x561863){return new window[(_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bba7f=>{if(_0x246136())return _0x1bba7f(_0x139e27([0x56,0x61,0x6c,0x69,0x64]));_0x1ecc3c(),_0x5d1a49[_0x139e27([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x139e27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a4f99=!0x1;const _0x2963c7=_0x31c75c['uid']();function _0x4e7e65(_0x5aadbb){return!!_0x5aadbb&&(typeof _0x5aadbb===_0x139e27([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5aadbb===_0x139e27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5aadbb[_0x139e27([0x74,0x68,0x65,0x6e])]===_0x139e27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5aadbb[_0x139e27([0x63,0x61,0x74,0x63,0x68])]===_0x139e27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x549ae3(_0x2a8521){_0x29782d(_0x2a8521)[_0x139e27([0x74,0x68,0x65,0x6e])](_0x521ae9=>{if(!_0x521ae9||_0x521ae9[_0x139e27([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x139e27([0x6f,0x6b]))return _0x139e27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ec20e(_0x3087ab(_0x2963c7+_0x561863))!=_0x521ae9[_0x139e27([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x139e27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x139e27([0x56,0x61,0x6c,0x69,0x64]);})[_0x139e27([0x74,0x68,0x65,0x6e])](_0x5ae05b=>(_0x36ac42(),_0x5ae05b),()=>{const _0x343db7=_0x4c0df();return null==_0x343db7?(_0x36ac42(),_0x139e27([0x56,0x61,0x6c,0x69,0x64])):_0x139e27(_0x367068-_0x343db7>(0x19f340e1^_0x1bdf6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x139e27([0x74,0x68,0x65,0x6e])](_0x1bba7f)[_0x139e27([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bba7f(_0x139e27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d77f0=0x3dc92a61^_0x1bdf6f;function _0x36ac42(){const _0x57deae=_0x139e27([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ec20e(_0x3087ab(_0x1ac7b9)),_0x326a7e=_0x33f47c(_0x3ec20e(window[_0x139e27([0x4d,0x61,0x74,0x68])][_0x139e27([0x63,0x65,0x69,0x6c])](_0x367068/_0x3d77f0)));window[_0x139e27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x139e27([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57deae,_0x326a7e);}function _0x4c0df(){const _0x4f9d4a=_0x139e27([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ec20e(_0x3087ab(_0x1ac7b9)),_0x115db5=window[_0x139e27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x139e27([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f9d4a);return _0x115db5?window[_0x139e27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f47c(_0x115db5),0x10)*_0x3d77f0:null;}function _0x29782d(_0xa150b5){return new window[(_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x177b28,_0x4476f7)=>{_0xa150b5[_0x139e27([0x74,0x68,0x65,0x6e])](_0x177b28,_0x4476f7),window[_0x139e27([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4476f7,0x3dfe1021^_0x1bdf6f);});}}_0x5d1a49[_0x139e27([0x6f,0x6e])](_0x139e27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc08fe4,_0x5069dd)=>{if(_0x5069dd[0x0]!=_0x1ac7b9)return _0x1bba7f(_0x139e27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5069dd[0x1]={..._0x5069dd[0x1],[_0x139e27([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2963c7};},{[_0x139e27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x139e27([0x68,0x69,0x67,0x68])}),_0x5d1a49[_0x139e27([0x6f,0x6e])](_0x139e27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57e746=>{_0x4e7e65(_0x57e746[_0x139e27([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a4f99=!0x0,_0x549ae3(_0x57e746[_0x139e27([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x139e27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x139e27([0x6c,0x6f,0x77])}),_0x5798b0[_0x139e27([0x74,0x68,0x65,0x6e])](()=>{_0x4a4f99||_0x1bba7f(_0x139e27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x246136(){return _0x5d1a49[_0x139e27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x139e27([0x76,0x69,0x65,0x77])][_0x139e27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x139e27([0x61,0x75,0x74,0x6f]);}function _0x1ecc3c(){_0x5d1a49[_0x139e27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x139e27([0x76,0x69,0x65,0x77])][_0x139e27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x139e27([0x61,0x75,0x74,0x6f]);}}function _0x4a0a39(_0x3ea13d){const _0xc55ed9=[new window[(_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38b73d=>setTimeout(_0x38b73d,0x3df6fa2d^_0x1bdf6f)),_0x5798b0[_0x139e27([0x74,0x68,0x65,0x6e])](()=>new window[(_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58416b=>{let _0x3a5bf2=0x0;_0x5d1a49[_0x139e27([0x6d,0x6f,0x64,0x65,0x6c])][_0x139e27([0x6f,0x6e])](_0x139e27([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2cb370,_0x44c2d7)=>{_0x44c2d7[0x0][_0x139e27([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a5bf2++,_0x3a5bf2==(0x3dffc109^_0x1bdf6f)&&(_0x58416b(),_0x2cb370[_0x139e27([0x6f,0x66,0x66])]());});}))];return window[_0x139e27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x139e27([0x72,0x61,0x63,0x65])](_0xc55ed9)[_0x139e27([0x74,0x68,0x65,0x6e])](()=>_0x3ea13d);}async function _0x3bea6e(){await _0x5798b0,_0x5d1a49[_0x139e27([0x6d,0x6f,0x64,0x65,0x6c])][_0x139e27([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x126027,_0x5d1a49[_0x139e27([0x6d,0x6f,0x64,0x65,0x6c])][_0x139e27([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x126027,_0x5d1a49[_0x139e27([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x139e27([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21d786(_0x231eff){const _0x43089e=_0x1af572();_0x5d1a49[_0x43089e]=_0x139e27([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x231eff,_0x231eff!=_0x139e27([0x56,0x61,0x6c,0x69,0x64])&&_0x3bea6e();}function _0x1af572(){const _0x23c408=window[_0x139e27([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x139e27([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x139e27([0x6e,0x6f,0x77])]())[_0x139e27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x139e27([0x2e]),'');let _0x392ca8=_0x139e27([0x6e]);for(let _0x39a2f9=0x0;_0x39a2f9<_0x23c408[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39a2f9+=0x2){let _0x514aba=window[_0x139e27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23c408[_0x139e27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39a2f9,_0x39a2f9+0x2));_0x514aba>=_0x3475f1[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x514aba-=_0x3475f1[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x392ca8+=_0x3475f1[_0x514aba];}return _0x392ca8;}function _0x51e9dc(){const _0x41602a=_0x42da08[_0x139e27([0x73,0x70,0x6c,0x69,0x74])](_0x139e27([0x2e]));if(0x3!=_0x41602a[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41e0eb(_0x41602a[0x1]);function _0x41e0eb(_0x2cf732){const _0xa992c4=_0x54f193(_0x2cf732);return _0xa992c4&&_0x3450c8()?_0xa992c4:null;function _0x3450c8(){const _0x1380dd=_0xa992c4[_0x139e27([0x6a,0x74,0x69])],_0x159ae3=window[_0x139e27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1380dd[_0x139e27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1380dd[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf90a7c={..._0xa992c4,[_0x139e27([0x6a,0x74,0x69])]:_0x1380dd[_0x139e27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1380dd[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf90a7c[_0x139e27([0x76,0x63])],_0x3087ab(_0xf90a7c)==_0x159ae3;}}}async function _0x2fc519(){let _0x2ea736=!0x0;try{const _0x33fd04=_0x42da08[_0x139e27([0x73,0x70,0x6c,0x69,0x74])](_0x139e27([0x2e])),[_0xb73ce0,_0xadfa0,_0x510540]=_0x33fd04;return _0x559f9(_0xb73ce0),await _0x3c9ce5(_0xb73ce0,_0xadfa0,_0x510540),_0x2ea736;}catch{return!0x1;}function _0x559f9(_0x2a757f){const _0xeddc0a=_0x54f193(_0x2a757f);_0xeddc0a&&_0xeddc0a[_0x139e27([0x61,0x6c,0x67])]==_0x139e27([0x45,0x53,0x32,0x35,0x36])||(_0x2ea736=!0x1);}async function _0x3c9ce5(_0x467f31,_0x336fb1,_0x19db20){const _0x5c0f40=window[_0x139e27([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x139e27([0x66,0x72,0x6f,0x6d])](_0x5a1f66(_0x19db20),_0x44b764=>_0x44b764[_0x139e27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21a81e=new window[(_0x139e27([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x139e27([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x467f31+_0x139e27([0x2e])+_0x336fb1),_0x49fc98=window[_0x139e27([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x139e27([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49fc98)return;const _0x49a1e6=await _0x49fc98[_0x139e27([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x139e27([0x6a,0x77,0x6b]),_0x4b071a,{[_0x139e27([0x6e,0x61,0x6d,0x65])]:_0x139e27([0x45,0x43,0x44,0x53,0x41]),[_0x139e27([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x139e27([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x139e27([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49fc98[_0x139e27([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x139e27([0x6e,0x61,0x6d,0x65])]:_0x139e27([0x45,0x43,0x44,0x53,0x41]),[_0x139e27([0x68,0x61,0x73,0x68])]:{[_0x139e27([0x6e,0x61,0x6d,0x65])]:_0x139e27([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49a1e6,_0x5c0f40,_0x21a81e)||(_0x2ea736=!0x1);}}function _0x54f193(_0x217ba4){return _0x217ba4[_0x139e27([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x139e27([0x65,0x79]))?JSON[_0x139e27([0x70,0x61,0x72,0x73,0x65])](_0x5a1f66(_0x217ba4)):null;}function _0x5a1f66(_0x301db9){return window[_0x139e27([0x61,0x74,0x6f,0x62])](_0x301db9[_0x139e27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x139e27([0x2b]))[_0x139e27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x139e27([0x2f])));}function _0x3087ab(_0x3f9065){let _0x5a2ce8=0x1505;function _0x2f6ebb(_0x2a019e){for(let _0x3cc59c=0x0;_0x3cc59c<_0x2a019e[_0x139e27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cc59c++){const _0x227ab5=_0x2a019e[_0x139e27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cc59c);_0x5a2ce8=(_0x5a2ce8<<0x5)+_0x5a2ce8+_0x227ab5,_0x5a2ce8&=_0x5a2ce8;}}function _0x33d9d4(_0x5f9a7f){Array[_0x139e27([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f9a7f)?_0x5f9a7f[_0x139e27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33d9d4):_0x5f9a7f&&typeof _0x5f9a7f==_0x139e27([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x139e27([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f9a7f)[_0x139e27([0x73,0x6f,0x72,0x74])]()[_0x139e27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a4b42,_0x56dab2])=>{_0x2f6ebb(_0x3a4b42),_0x33d9d4(_0x56dab2);}):_0x2f6ebb(window[_0x139e27([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f9a7f));}return _0x33d9d4(_0x3f9065),_0x5a2ce8>>>0x0;}function _0x3ec20e(_0x2d1587){return _0x2d1587[_0x139e27([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x139e27([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x139e27([0x30]));}function _0x33f47c(_0x416361){return _0x416361[_0x139e27([0x73,0x70,0x6c,0x69,0x74])]('')[_0x139e27([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x139e27([0x6a,0x6f,0x69,0x6e])]('');}function _0x126027(){}function _0x139e27(_0x54f370){return _0x54f370['map'](_0x2b7b33=>String['fromCharCode'](_0x2b7b33))['join']('');}_0x21d786(await _0x27d797());}(this);}['showFakeVisualSelection'](){const _0x994109=this['editor']['model'];_0x994109['change'](_0x23b121=>{const _0x3fd79c=_0x994109['document']['selection']['getRanges']();let _0x4af2f6=0x0;for(const _0x24983f of _0x3fd79c){const _0x3c49df=_0x5bffaf+':'+_0x4af2f6;if(_0x994109['markers']['has'](_0x3c49df))_0x23b121['updateMarker'](_0x3c49df,{'range':_0x24983f});else{if(_0x24983f['start']['isAtEnd']){const _0x3d952b=_0x24983f['start']['getLastMatchingPosition'](({item:_0x1b18c8})=>!_0x994109['schema']['isContent'](_0x1b18c8),{'boundaries':_0x24983f});_0x23b121['addMarker'](_0x3c49df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23b121['createRange'](_0x3d952b,_0x24983f['end'])});}else _0x23b121['addMarker'](_0x3c49df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x24983f});}_0x4af2f6++;}});}['hideFakeVisualSelection'](){const _0x51f5b6=this['editor']['model'],_0x13b0f4=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x5bffaf));_0x13b0f4['length']&&_0x51f5b6['change'](_0x4ecef6=>{_0x13b0f4['forEach'](_0x4bd2ab=>{_0x4ecef6['removeMarker'](_0x4bd2ab);});});}['insertContent'](_0x4e30d6,_0x4e3307){const _0x4872e1=this['_getAISelection'](),_0xa02ee=_0x4e3307||_0x4872e1['getFirstRange']();this['editor']['model']['canEditAt'](_0xa02ee)&&this['editor']['model']['change'](_0x16756d=>{this['hideFakeVisualSelection'](),_0x4e3307||this['_resetContentOfSelectedTableCells'](_0x16756d,_0x4872e1),this['_pasteHTMLUsingClipboard']({'insertAt':_0xa02ee,'writer':_0x16756d,'html':_0x4e30d6});});}['insertContentBelow'](_0x52a915){const {model:_0x51de38}=this['editor'],_0x2f1737=this['_getAISelection']();_0x51de38['change'](()=>{const _0x671ec8=this['_prepareTableInsertBelowPosition'](_0x52a915,_0x2f1737)||this['_getDefaultInsertBelowPosition'](_0x2f1737);this['insertContent'](_0x52a915,_0x671ec8);});}['_getAISelection'](){const _0x22afcd=this['editor']['model'],_0x19dd24=Array['from'](_0x22afcd['markers']['getMarkersGroup'](_0x5bffaf))['map'](_0x1900aa=>_0x1900aa['getRange']());return _0x22afcd['createSelection'](_0x19dd24);}['_pasteHTMLUsingClipboard']({writer:_0x2fc6f8,html:_0xe0283e,insertAt:_0xc9f588}){const {view:_0x4e81db}=this['editor']['editing'],_0x10e659=this['editor']['plugins']['get'](_0x31c75c['ClipboardPipeline']),_0x16dc7d=new _0x5ef3e3();_0x16dc7d['setData']('text/html',_0xe0283e);const _0x5bc465=new ClipboardEvent('paste',{'clipboardData':_0x16dc7d}),_0x3b8359=new _0x31c75c['ViewDocumentDomEventData'](_0x4e81db,_0x5bc465,{'dataTransfer':new _0x31c75c['ViewDataTransfer'](_0x16dc7d)});_0x2fc6f8['setSelection'](_0xc9f588);const _0x59a182=(_0x105be9,_0x5b6afd)=>{_0x5b6afd['resultRange']&&_0x2fc6f8['setSelection'](_0x5b6afd['resultRange']);};_0x10e659['once']('contentInsertion',_0x59a182,{'priority':'lowest'}),_0x4e81db['document']['fire']('paste',_0x3b8359),_0x10e659['off']('contentInsertion',_0x59a182);}['_getDefaultInsertBelowPosition'](_0x152ce4){const {model:_0x4b5b18}=this['editor'],_0x85db06=Array['from'](_0x152ce4['getSelectedBlocks']());return _0x85db06['length']?_0x4b5b18['createPositionAfter'](_0x85db06['pop']()):_0x152ce4['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x53afec,_0x49a322){const {model:_0x49aa93,plugins:_0x3fef5d}=this['editor'];if(_0x3fef5d['has']('TableUtils')){const _0x15be5a=_0x3fef5d['get']('TableUtils')['getSelectedTableCells'](_0x49a322);if(_0x15be5a['length']){const _0x21bd0c=this['_getTableRowCountFromContent'](_0x53afec),_0x18772f=this['_createEmptyTableRows'](_0x15be5a,_0x21bd0c);return _0x49aa93['createPositionAt'](_0x18772f,0x0);}}return null;}['_getTableRowCountFromContent'](_0x31ff0a){const _0x5900b1=this['editor']['plugins']['get']('TableUtils'),_0x1b8487=this['editor']['data']['parse'](_0x31ff0a),_0x51f1a4=Array['from'](_0x1b8487['getChildren']())['filter'](_0x548fd2=>_0x548fd2['is']('element','table'));let _0x1cd735=0x0;return _0x51f1a4['forEach'](_0x272aa2=>{_0x1cd735+=_0x5900b1['getRows'](_0x272aa2);}),_0x1cd735;}['_createEmptyTableRows'](_0x3d2172,_0x4db284){const _0x4710f3=this['editor']['plugins']['get']('TableUtils'),_0x4968fc=_0x4710f3['getRowIndexes'](_0x3d2172),_0xd98ab1=_0x4710f3['getColumnIndexes'](_0x3d2172),_0x3c839f=_0x4968fc['last']+0x1,_0x4b93a8=_0xd98ab1['first'],_0x5d6261=_0x3d2172[0x0]['findAncestor']('table');for(let _0x1de19d=0x0;_0x1de19d<_0x4db284;_0x1de19d++)_0x4710f3['insertRows'](_0x5d6261,{'at':_0x3c839f});return _0x5d6261['getChild'](_0x3c839f)['getChild'](_0x4b93a8);}['_resetContentOfSelectedTableCells'](_0x5bc660,_0x57f85a){const {plugins:_0x1d2eb9}=this['editor'],{model:_0x6fce7c}=_0x5bc660;if(!_0x1d2eb9['has']('TableUtils'))return;_0x1d2eb9['get']('TableUtils')['getSelectedTableCells'](_0x57f85a)['length']&&_0x6fce7c['deleteContent'](_0x57f85a);}}class AIAdapter extends _0x31c75c['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x31c75c['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x358ca4){super(_0x358ca4),this['name']='AIRequestError';}}function _0x1caf81(_0x55eefd,_0x4a2ad3,_0x1975b3){const t=_0x55eefd['t'];switch(_0x4a2ad3){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x1975b3);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1975b3);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x1975b3);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x4a2ad3;}}class ShowAIAssistantCommand extends _0x31c75c['Command']{['_commandDefinitions'];constructor(_0x3da506,_0x56d2c8){super(_0x3da506),this['_commandDefinitions']=_0x56d2c8,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x1cd24a,_0x38321c,_0x156f70)=>{this['isEnabled']&&(this['enabledCommandsIds']=_0x1b000b(this['_commandDefinitions'],_0x156f70));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x578923,_0x5c0c71,_0x401c1c)=>{this['enabledCommandsIds']=_0x401c1c?_0x1b000b(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x31521c=this['editor']['model'];this['_hasContext']=function(_0x3c7861){const _0x134eba=_0x3c7861['document']['selection'];return _0x134eba['isCollapsed']?0x0!==[..._0x134eba['getSelectedBlocks']()]['length']&&![..._0x134eba['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x3c7861['hasContent'](_0x134eba['getFirstRange']());}(_0x31521c);const _0x54b943=_0x31521c['document']['selection'],_0x42e3fc=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x3d06e1 of _0x54b943['getRanges']())for(const _0x7ecfa1 of _0x3d06e1['getItems']())if(_0x7ecfa1['is']('element')&&_0x42e3fc['includes'](_0x7ecfa1['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x3c7e42='',_0x9a0aaf='',_0x30f695='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x3c7e42,_0x9a0aaf,_0x30f695);}}function _0x1b000b(_0x263419,_0x233a78){const _0x462628=new Set();for(const _0x483ab0 of _0x263419['values']())(_0x233a78||!0x1===_0x483ab0['requiresContent'])&&_0x462628['add'](_0x483ab0['id']);return Array['from'](_0x462628);}const _0x5e2317=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x433116,_0x588e2e,_0x1248e9){super(),this['editor']=_0x433116,this['textAdapter']=_0x588e2e,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x1248e9,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x48b995,_0x12c3e0,_0x5ed8c8)=>{this['view']['value']=this['_sanitizeHTML'](_0x5ed8c8);}),this['listenTo'](this['view'],'submitPrompt',(_0x353d88,_0x337ca8)=>{const _0x11bd4d=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x337ca8,_0x11bd4d,'custom');}),this['listenTo'](this['view'],'tryAgainEvent',()=>{this['view']['prompt']=this['previousLabel'],this['_handleQuery'](this['previousQuery'],this['previousContext'],this['previousActionId'],this['previousLabel']);}),this['listenTo'](this['view'],'stopProcessing',()=>{this['stopProcessing']();});}['destroy'](){this['stopListening']();}async['updateView']({actionId:_0x35f329,query:_0x426d9c,htmlContent:_0x25a399,label:_0xd9f571,mainActionLabel:_0x22bdc1}){this['view']['prompt']=_0xd9f571,this['view']['mainAction']=_0x22bdc1,this['initialContext']=_0x25a399,_0x426d9c&&(this['view']['isRendered']?this['_handleQuery'](_0x426d9c,_0x25a399,_0x35f329,_0xd9f571):this['view']['once']('render',()=>{this['_handleQuery'](_0x426d9c,_0x25a399,_0x35f329,_0xd9f571);}));}['stopProcessing'](){this['isProcessing']&&(this['isProcessing']=!0x1,this['view']['finishProcessing'](),this['textAdapter']['abort']());}['reset'](){this['initialContext']='',this['currentContext']='',this['currentResponse']='',this['previousContext']='',this['previousQuery']='',this['previousLabel']='',this['previousActionId']=void 0x0,this['view']['reset'](),this['stopProcessing']();}async['_handleQuery'](_0x26f41f,_0x33737c,_0x21dfd8,_0x197772){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x33737c,this['previousQuery']=_0x26f41f,this['previousLabel']=_0x197772||_0x26f41f,this['previousActionId']=_0x21dfd8,new Promise(_0x6ec687=>{this['textAdapter']['makeRequest']({'query':_0x26f41f,'context':_0x33737c,'onData':_0x4b68e2=>{this['currentResponse']=_0x4b68e2,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x21dfd8})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x27b658=>{_0x27b658 instanceof AIRequestError?this['view']['handleError'](_0x27b658['message']):this['view']['handleError'](),_0x6ec687();})['finally'](()=>{this['stopProcessing'](),_0x6ec687();});});}['_parseAndNormalizeContent'](_0x4584b2,_0x2109cb=!0x1){const _0x2ed849=_0x5e2317['exec'](_0x4584b2);_0x4584b2=_0x2ed849?_0x4584b2['substring'](_0x2ed849[0x1]['length']):_0x4584b2['length']<0x64&&!_0x2109cb?'':this['_stripMarkdownSyntax'](_0x4584b2);const _0x5c4ae6=this['_domParser']['parseFromString'](_0x4584b2,'text/html');if(_0x2ed849){const _0x5e9a22=Array['from'](_0x5c4ae6['body']['childNodes']);_0x5e9a22['reverse']();for(const _0x4c5888 of _0x5e9a22){if(_0x4c5888['nodeType']==Node['ELEMENT_NODE'])break;_0x4c5888['remove']();}}const _0x3ba59c=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x5c4ae6['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x3ba59c);const _0x1071b8=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x574564=this['editor']['data']['toModel'](_0x3ba59c);return _0x1071b8||_0x574564['markers']['clear'](),this['editor']['data']['stringify'](_0x574564);}['_normalizeResponseHeadings'](_0x130723){const _0x30d307=new _0x31c75c['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x2f204a=new _0x31c75c['Matcher']({'name':/^h[1-5]$/}),_0x6f1218=[];let _0x2033b7=!0x1;for(const _0x2da466 of _0x130723)_0x2da466['is']('element')&&_0x2f204a['match'](_0x2da466)&&(_0x6f1218['push'](_0x2da466),'h1'==_0x2da466['name']&&(_0x2033b7=!0x0));if(_0x2033b7){for(const _0x104bc9 of _0x6f1218)_0x30d307['rename']('h'+(parseInt(_0x104bc9['name'][0x1])+0x1),_0x104bc9);}}['_isH1TagSupportEnabled'](){const {data:_0x57a443,editing:_0x3e6807}=this['editor'],_0x11fa21=_0x57a443['htmlProcessor']['toView']('<h1></h1>'),_0x44030c=_0x57a443['toView'](_0x57a443['toModel'](_0x11fa21));return!!_0x3e6807['view']['domConverter']['viewToDom'](_0x44030c)['querySelector']('h1');}['_sanitizeHTML'](_0x104333){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x104333),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x1b6b9e){const _0x4c1f7c=_0x1b6b9e['trim']();return _0x4c1f7c['startsWith']('```html')?_0x4c1f7c['endsWith']('```')?_0x4c1f7c['substring'](0x7,_0x4c1f7c['length']-0x3):_0x4c1f7c['substring'](0x7):_0x1b6b9e;}}const _0x200efb={'REPLACE':'replace','INSERT':'insert'};class _0x5280b1 extends _0x31c75c['ToolbarView']{constructor(_0x9dffa3){super(_0x9dffa3),this['set']('isVisible',!0x1),this['set']('mainAction',_0x200efb['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0xe21f66=>_0x1caf81(_0x9dffa3,'AI_'+_0xe21f66['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](_0x1caf81(_0x9dffa3,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](_0x1caf81(_0x9dffa3,'Try\x20again')),this['stopButton']=this['_createButton'](_0x1caf81(_0x9dffa3,'Stop'));const _0x2fdfb4=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x2fdfb4['if']('isVisible','ck-hidden',_0x588477=>!_0x588477)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x3186ad,_0x1a36ce){const _0x350671=new _0x31c75c['ButtonView'](this['locale']);return _0x350671['set']({'label':_0x3186ad,'class':_0x1a36ce||'','isVisible':!0x0,'withText':!0x0}),_0x350671;}}class AIFormContentArea extends _0x31c75c['View']{['contentFieldView'];['copyButtonView'];constructor(_0x48438f,_0x4b5bba=''){super(_0x48438f),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27c4f7=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x48438f,_0x4b5bba),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x27c4f7['if']('isVisible','ck-hidden',_0x35775d=>!_0x35775d)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x27c4f7['if']('isProcessing','ck-ai-form__content-area--processing')]},'children':[this['contentFieldView'],{'tag':'div','attributes':{'class':['ck','ck-ai-form__copy-button-wrapper']},'children':[this['copyButtonView']]}]}]});}['render'](){super['render'](),this['value']&&this['contentFieldView']['setContent'](this['value']);let _0x3bc81a=!0x1;this['on']('change:value',(_0xe03912,_0x15d0c4,_0x2f953b)=>{const _0x2477eb=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x2f953b),this['isProcessing']&&_0x2477eb&&!_0x3bc81a&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x822094,_0x3bb6cb,_0x1529d1)=>{_0x3bc81a=!0x1,_0x1529d1?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x3bc81a=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x3bc81a=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x27ee72=this['locale'],_0x116d44=new _0x31c75c['ButtonView'](this['locale']),_0x3f2142='ck-ai-form__copy-button';return _0x116d44['set']({'label':_0x1caf81(_0x27ee72,'Copy'),'icon':_0x31c75c['IconCopy'],'class':_0x3f2142,'tooltip':!0x0}),_0x116d44['bind']('isVisible')['to'](this,'value',_0x121d7f=>!!_0x121d7f),_0x116d44['bind']('isEnabled')['to'](this,'isProcessing',_0x155b5b=>!_0x155b5b),_0x116d44['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x116d44['icon']=_0x31c75c['IconCheck'],_0x116d44['class']=_0x3f2142+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x116d44['icon']=_0x31c75c['IconCopy'],_0x116d44['class']=_0x3f2142;},0x3e8);}),_0x116d44;}['_copyHTMLToClipboard'](_0x46a675){const {window:_0x1e4b55,document:_0x1d0aa6}=_0x31c75c['global'];if(_0x1e4b55['ClipboardItem']){const {Blob:_0x4de12b,ClipboardItem:_0x33ae53}=_0x1e4b55,_0x49944e=[new _0x33ae53({'text/html':new _0x4de12b([_0x46a675['innerHTML']],{'type':'text/html'}),'text/plain':new _0x4de12b([_0x46a675['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x49944e);}else{const _0x61a8b=_0x1d0aa6['createElement']('div');_0x61a8b['style']['position']='absolute',_0x61a8b['style']['left']='-9999px',_0x61a8b['innerHTML']='<span>[</span>'+_0x46a675['innerHTML']+'<span>]</span>',_0x1d0aa6['body']['appendChild'](_0x61a8b);const _0x28e8a8=_0x1d0aa6['createRange']();_0x28e8a8['setStartAfter'](_0x61a8b['firstElementChild']),_0x28e8a8['setEndBefore'](_0x61a8b['lastElementChild']);const _0xe74b3=_0x1e4b55['getSelection']();_0xe74b3['removeAllRanges'](),_0xe74b3['addRange'](_0x28e8a8),_0x1d0aa6['execCommand']('copy'),_0x61a8b['remove']();}}}class ContentFieldView extends _0x31c75c['View']{constructor(_0x15b042,_0x161eb7=''){super(_0x15b042),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x161eb7,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x45579e){this['element']['innerHTML']=_0x45579e;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x2a335b=new _0x31c75c['View'](),_0x4e1ee7=this['locale'],_0x4c0481=new _0x31c75c['SpinnerView']();return _0x4c0481['isVisible']=!0x0,_0x2a335b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x4c0481,{'text':_0x1caf81(_0x4e1ee7,'AI\x20is\x20writing...')}]}),_0x2a335b['render'](),_0x2a335b;}}class _0x799ffe extends _0x31c75c['View']{constructor(_0x1715da,_0x3678c3=''){super(_0x1715da);const _0x189fc2=new _0x31c75c['IconView'](),_0x252a19=this['bindTemplate'];this['set']('text',_0x3678c3),_0x189fc2['content']=_0x31c75c['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x189fc2,{'text':_0x252a19['to']('text')}]});}}class AIFormPromptView extends _0x31c75c['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x3ac8c6,_0x4483f1){super(_0x3ac8c6,_0x4483f1),this['queryView']['fieldView']['minRows']=0x1,this['queryView']['fieldView']['maxRows']=0x3,this['submitButtonView']=this['_createSubmitButton'](),this['showHistoryButtonView']=this['_createShowHistoryButton'](),this['focusableChildren']['add'](this['showHistoryButtonView'],0x1),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['showHistoryButtonView']),this['children']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x3ee1f1,_0xdda712)=>{_0x3ee1f1['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0xdda712());});}['_createSubmitButton'](){const _0x156e35=new _0x31c75c['ButtonView'](this['locale']),_0x1502d8=this['locale'];return _0x156e35['set']({'icon':_0x31c75c['IconSubmit'],'label':_0x1caf81(_0x1502d8,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x156e35['on']('execute',()=>{this['submit']();}),_0x156e35['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x361079,_0x490a54)=>!_0x361079&&_0x490a54),_0x156e35;}['_createShowHistoryButton'](){const _0x23102f=new _0x31c75c['ButtonView'](this['locale']),_0x476c9f=this['resultsView'],_0x3889e2=this['locale'];_0x23102f['set']({'label':_0x1caf81(_0x3889e2,'History'),'withText':!0x1,'icon':_0x31c75c['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x23102f['bind']('isOn')['to'](_0x476c9f,'isVisible'),_0x23102f['bind']('isEnabled')['to'](this,'isEnabled'),_0x23102f['on']('execute',()=>{_0x476c9f['isVisible']=!_0x476c9f['isVisible'],_0x476c9f['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x55b737=()=>{_0x31c75c['global']['window']['requestAnimationFrame'](()=>{if(_0x31c75c['isVisible'](this['element'])){const _0x5e0c09=new _0x31c75c['Rect'](this['queryView']['fieldView']['element']),_0x51c87f=_0x5e0c09['width'],_0x3379d5='rtl'===_0x3889e2['uiLanguageDirection']?'left':'right';_0x5e0c09['excludeScrollbarsAndBorders'](),_0x23102f['element']['style'][_0x3379d5]=_0x51c87f-_0x5e0c09['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x55b737),this['on']('render',_0x55b737),_0x23102f;}['submit'](){const _0x215aff=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x215aff);}['focus'](_0x11b1dd){-0x1===_0x11b1dd?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0x31c75c['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x538a03){super(_0x538a03),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x31c75c['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=_0x1caf81(_0x538a03,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0xdc96d=0x0;for(const _0x4eb468 of this['items'])_0xdc96d+=_0x4eb468['items']['length'];return{'resultsCount':_0xdc96d,'totalItemsCount':_0xdc96d};}['_createClearHistoryButton'](){const _0x56725a=this['locale'],_0xe397e9=new _0x31c75c['ButtonView'](this['locale']);return _0xe397e9['set']({'label':'('+_0x1caf81(_0x56725a,'Clear')+')','withText':!0x0}),_0xe397e9['on']('execute',()=>this['fire']('clearHistory')),_0xe397e9;}}function _0x12603e(_0x1b211a){return null!=_0x1b211a&&'function'!=typeof _0x1b211a&&function(_0x5d2f67){return Number['isSafeInteger'](_0x5d2f67)&&_0x5d2f67>=0x0;}(_0x1b211a['length']);}function _0x51dc0d(_0x48a211){return'__proto__'===_0x48a211;}function _0x5bc9c2(_0x19d1c4){switch(typeof _0x19d1c4){case'number':case'symbol':return!0x1;case'string':return _0x19d1c4['includes']('.')||_0x19d1c4['includes']('[')||_0x19d1c4['includes'](']');}}function _0x356e24(_0x3764a6){return'string'==typeof _0x3764a6||'symbol'==typeof _0x3764a6?_0x3764a6:Object['is'](_0x3764a6?.['valueOf']?.(),-0x0)?'-0':String(_0x3764a6);}function _0x1650ea(_0x4eed8c){if(null==_0x4eed8c)return'';if('string'==typeof _0x4eed8c)return _0x4eed8c;if(Array['isArray'](_0x4eed8c))return _0x4eed8c['map'](_0x1650ea)['join'](',');const _0x1765c7=String(_0x4eed8c);return'0'===_0x1765c7&&Object['is'](Number(_0x4eed8c),-0x0)?'-0':_0x1765c7;}function _0x4bfdaf(_0x50bcf2){if(Array['isArray'](_0x50bcf2))return _0x50bcf2['map'](_0x356e24);if('symbol'==typeof _0x50bcf2)return[_0x50bcf2];const _0x9edb47=[],_0x1d99e4=(_0x50bcf2=_0x1650ea(_0x50bcf2))['length'];if(0x0===_0x1d99e4)return _0x9edb47;let _0x4465fe=0x0,_0x1730b2='',_0xcc3912='',_0x2a6135=!0x1;for(0x2e===_0x50bcf2['charCodeAt'](0x0)&&(_0x9edb47['push'](''),_0x4465fe++);_0x4465fe<_0x1d99e4;){const _0x33065f=_0x50bcf2[_0x4465fe];_0xcc3912?'\x5c'===_0x33065f&&_0x4465fe+0x1<_0x1d99e4?(_0x4465fe++,_0x1730b2+=_0x50bcf2[_0x4465fe]):_0x33065f===_0xcc3912?_0xcc3912='':_0x1730b2+=_0x33065f:_0x2a6135?'\x22'===_0x33065f||'\x27'===_0x33065f?_0xcc3912=_0x33065f:']'===_0x33065f?(_0x2a6135=!0x1,_0x9edb47['push'](_0x1730b2),_0x1730b2=''):_0x1730b2+=_0x33065f:'['===_0x33065f?(_0x2a6135=!0x0,_0x1730b2&&(_0x9edb47['push'](_0x1730b2),_0x1730b2='')):'.'===_0x33065f?_0x1730b2&&(_0x9edb47['push'](_0x1730b2),_0x1730b2=''):_0x1730b2+=_0x33065f,_0x4465fe++;}return _0x1730b2&&_0x9edb47['push'](_0x1730b2),_0x9edb47;}function _0x5c852e(_0x37e2af,_0x589bad,_0xbbb2ed){if(null==_0x37e2af)return _0xbbb2ed;switch(typeof _0x589bad){case'string':{if(_0x51dc0d(_0x589bad))return _0xbbb2ed;const _0x5b0c12=_0x37e2af[_0x589bad];return void 0x0===_0x5b0c12?_0x5bc9c2(_0x589bad)?_0x5c852e(_0x37e2af,_0x4bfdaf(_0x589bad),_0xbbb2ed):_0xbbb2ed:_0x5b0c12;}case'number':case'symbol':{'number'==typeof _0x589bad&&(_0x589bad=_0x356e24(_0x589bad));const _0x26da82=_0x37e2af[_0x589bad];return void 0x0===_0x26da82?_0xbbb2ed:_0x26da82;}default:{if(Array['isArray'](_0x589bad))return function(_0x2a41f7,_0x297e08,_0x2cc627){if(0x0===_0x297e08['length'])return _0x2cc627;let _0x3e1f31=_0x2a41f7;for(let _0x3d0764=0x0;_0x3d0764<_0x297e08['length'];_0x3d0764++){if(null==_0x3e1f31)return _0x2cc627;if(_0x51dc0d(_0x297e08[_0x3d0764]))return _0x2cc627;_0x3e1f31=_0x3e1f31[_0x297e08[_0x3d0764]];}if(void 0x0===_0x3e1f31)return _0x2cc627;return _0x3e1f31;}(_0x37e2af,_0x589bad,_0xbbb2ed);if(_0x51dc0d(_0x589bad=Object['is'](_0x589bad?.['valueOf'](),-0x0)?'-0':String(_0x589bad)))return _0xbbb2ed;const _0x52888a=_0x37e2af[_0x589bad];return void 0x0===_0x52888a?_0xbbb2ed:_0x52888a;}}}function _0xece1ee(_0x557322){return null!==_0x557322&&('object'==typeof _0x557322||'function'==typeof _0x557322);}function _0xb6bc62(_0x58982b,_0x4cf406){return _0x58982b===_0x4cf406||Number['isNaN'](_0x58982b)&&Number['isNaN'](_0x4cf406);}function _0x516d5a(_0x523bef){return Object['getOwnPropertySymbols'](_0x523bef)['filter'](_0x235384=>Object['prototype']['propertyIsEnumerable']['call'](_0x523bef,_0x235384));}function _0x399771(_0x5a18bb){return null==_0x5a18bb?void 0x0===_0x5a18bb?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x5a18bb);}const _0x50e983='[object\x20RegExp]',_0x1a685f='[object\x20String]',_0x5a4ab5='[object\x20Number]',_0xf3e5b4='[object\x20Boolean]',_0xc44be9='[object\x20Arguments]',_0x47c360='[object\x20Symbol]',_0x3dc338='[object\x20Date]',_0x319088='[object\x20Map]',_0x31cbb4='[object\x20Set]',_0x21be27='[object\x20Array]',_0x22a8ec='[object\x20ArrayBuffer]',_0xfccf75='[object\x20Object]',_0x22f8ed='[object\x20DataView]',_0x2e432a='[object\x20Uint8Array]',_0x445c61='[object\x20Uint8ClampedArray]',_0x573b73='[object\x20Uint16Array]',_0x586772='[object\x20Uint32Array]',_0x2c345c='[object\x20Int8Array]',_0x5c5710='[object\x20Int16Array]',_0x2a1d3c='[object\x20Int32Array]',_0x3ff6e5='[object\x20Float32Array]',_0x576486='[object\x20Float64Array]';function _0x1d1206(_0x4628b8){return ArrayBuffer['isView'](_0x4628b8)&&!(_0x4628b8 instanceof DataView);}function _0x4b21cd(_0x2fd212,_0x21ee38,_0xaea815,_0x23de70=new Map(),_0x2200c4=void 0x0){const _0x9b9a4=_0x2200c4?.(_0x2fd212,_0x21ee38,_0xaea815,_0x23de70);if(void 0x0!==_0x9b9a4)return _0x9b9a4;if(function(_0x47ec25){return null==_0x47ec25||'object'!=typeof _0x47ec25&&'function'!=typeof _0x47ec25;}(_0x2fd212))return _0x2fd212;if(_0x23de70['has'](_0x2fd212))return _0x23de70['get'](_0x2fd212);if(Array['isArray'](_0x2fd212)){const _0x107c1d=new Array(_0x2fd212['length']);_0x23de70['set'](_0x2fd212,_0x107c1d);for(let _0x18af9a=0x0;_0x18af9a<_0x2fd212['length'];_0x18af9a++)_0x107c1d[_0x18af9a]=_0x4b21cd(_0x2fd212[_0x18af9a],_0x18af9a,_0xaea815,_0x23de70,_0x2200c4);return Object['hasOwn'](_0x2fd212,'index')&&(_0x107c1d['index']=_0x2fd212['index']),Object['hasOwn'](_0x2fd212,'input')&&(_0x107c1d['input']=_0x2fd212['input']),_0x107c1d;}if(_0x2fd212 instanceof Date)return new Date(_0x2fd212['getTime']());if(_0x2fd212 instanceof RegExp){const _0x1d7f6d=new RegExp(_0x2fd212['source'],_0x2fd212['flags']);return _0x1d7f6d['lastIndex']=_0x2fd212['lastIndex'],_0x1d7f6d;}if(_0x2fd212 instanceof Map){const _0x503ee1=new Map();_0x23de70['set'](_0x2fd212,_0x503ee1);for(const [_0x4596ee,_0x3b84d2]of _0x2fd212)_0x503ee1['set'](_0x4596ee,_0x4b21cd(_0x3b84d2,_0x4596ee,_0xaea815,_0x23de70,_0x2200c4));return _0x503ee1;}if(_0x2fd212 instanceof Set){const _0x3829cb=new Set();_0x23de70['set'](_0x2fd212,_0x3829cb);for(const _0x3410cf of _0x2fd212)_0x3829cb['add'](_0x4b21cd(_0x3410cf,void 0x0,_0xaea815,_0x23de70,_0x2200c4));return _0x3829cb;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x2fd212))return _0x2fd212['subarray']();if(_0x1d1206(_0x2fd212)){const _0x1b337a=new(Object['getPrototypeOf'](_0x2fd212))['constructor'](_0x2fd212['length']);_0x23de70['set'](_0x2fd212,_0x1b337a);for(let _0x394e53=0x0;_0x394e53<_0x2fd212['length'];_0x394e53++)_0x1b337a[_0x394e53]=_0x4b21cd(_0x2fd212[_0x394e53],_0x394e53,_0xaea815,_0x23de70,_0x2200c4);return _0x1b337a;}if(_0x2fd212 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x2fd212 instanceof SharedArrayBuffer)return _0x2fd212['slice'](0x0);if(_0x2fd212 instanceof DataView){const _0x3996b1=new DataView(_0x2fd212['buffer']['slice'](0x0),_0x2fd212['byteOffset'],_0x2fd212['byteLength']);return _0x23de70['set'](_0x2fd212,_0x3996b1),_0x55f55b(_0x3996b1,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x3996b1;}if('undefined'!=typeof File&&_0x2fd212 instanceof File){const _0x4b2ef8=new File([_0x2fd212],_0x2fd212['name'],{'type':_0x2fd212['type']});return _0x23de70['set'](_0x2fd212,_0x4b2ef8),_0x55f55b(_0x4b2ef8,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x4b2ef8;}if('undefined'!=typeof Blob&&_0x2fd212 instanceof Blob){const _0x48b05b=new Blob([_0x2fd212],{'type':_0x2fd212['type']});return _0x23de70['set'](_0x2fd212,_0x48b05b),_0x55f55b(_0x48b05b,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x48b05b;}if(_0x2fd212 instanceof Error){const _0x4ac4f5=structuredClone(_0x2fd212);return _0x23de70['set'](_0x2fd212,_0x4ac4f5),_0x4ac4f5['message']=_0x2fd212['message'],_0x4ac4f5['name']=_0x2fd212['name'],_0x4ac4f5['stack']=_0x2fd212['stack'],_0x4ac4f5['cause']=_0x2fd212['cause'],_0x4ac4f5['constructor']=_0x2fd212['constructor'],_0x55f55b(_0x4ac4f5,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x4ac4f5;}if(_0x2fd212 instanceof Boolean){const _0x5adb00=new Boolean(_0x2fd212['valueOf']());return _0x23de70['set'](_0x2fd212,_0x5adb00),_0x55f55b(_0x5adb00,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x5adb00;}if(_0x2fd212 instanceof Number){const _0x5c436a=new Number(_0x2fd212['valueOf']());return _0x23de70['set'](_0x2fd212,_0x5c436a),_0x55f55b(_0x5c436a,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x5c436a;}if(_0x2fd212 instanceof String){const _0xbca5c3=new String(_0x2fd212['valueOf']());return _0x23de70['set'](_0x2fd212,_0xbca5c3),_0x55f55b(_0xbca5c3,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0xbca5c3;}if('object'==typeof _0x2fd212&&function(_0xfdd80){switch(_0x399771(_0xfdd80)){case _0xc44be9:case _0x21be27:case _0x22a8ec:case _0x22f8ed:case _0xf3e5b4:case _0x3dc338:case _0x3ff6e5:case _0x576486:case _0x2c345c:case _0x5c5710:case _0x2a1d3c:case _0x319088:case _0x5a4ab5:case _0xfccf75:case _0x50e983:case _0x31cbb4:case _0x1a685f:case _0x47c360:case _0x2e432a:case _0x445c61:case _0x573b73:case _0x586772:return!0x0;default:return!0x1;}}(_0x2fd212)){const _0x709f28=Object['create'](Object['getPrototypeOf'](_0x2fd212));return _0x23de70['set'](_0x2fd212,_0x709f28),_0x55f55b(_0x709f28,_0x2fd212,_0xaea815,_0x23de70,_0x2200c4),_0x709f28;}return _0x2fd212;}function _0x55f55b(_0x1e59f0,_0x3eea5d,_0x1259fe=_0x1e59f0,_0x1cc24d,_0x24cba2){const _0x5af146=[...Object['keys'](_0x3eea5d),..._0x516d5a(_0x3eea5d)];for(let _0x404a72=0x0;_0x404a72<_0x5af146['length'];_0x404a72++){const _0x195352=_0x5af146[_0x404a72],_0x3ea29c=Object['getOwnPropertyDescriptor'](_0x1e59f0,_0x195352);(null==_0x3ea29c||_0x3ea29c['writable'])&&(_0x1e59f0[_0x195352]=_0x4b21cd(_0x3eea5d[_0x195352],_0x195352,_0x1259fe,_0x1cc24d,_0x24cba2));}}function _0x5054fe(_0x33b810,_0x4e65fd){return function(_0x1bff6d,_0xb40f9e){return _0x4b21cd(_0x1bff6d,void 0x0,_0x1bff6d,new Map(),_0xb40f9e);}(_0x33b810,(_0x589890,_0x5c59f5,_0x8af053,_0x41a37b)=>{const _0x5328c4=_0x4e65fd?.(_0x589890,_0x5c59f5,_0x8af053,_0x41a37b);if(void 0x0!==_0x5328c4)return _0x5328c4;if('object'==typeof _0x33b810){if(_0x399771(_0x33b810)===_0xfccf75&&'function'!=typeof _0x33b810['constructor']){const _0x1afe72={};return _0x41a37b['set'](_0x33b810,_0x1afe72),_0x55f55b(_0x1afe72,_0x33b810,_0x8af053,_0x41a37b),_0x1afe72;}switch(Object['prototype']['toString']['call'](_0x33b810)){case _0x5a4ab5:case _0x1a685f:case _0xf3e5b4:{const _0x36c4b6=new _0x33b810['constructor'](_0x33b810?.['valueOf']());return _0x55f55b(_0x36c4b6,_0x33b810),_0x36c4b6;}case _0xc44be9:{const _0x5294e0={};return _0x55f55b(_0x5294e0,_0x33b810),_0x5294e0['length']=_0x33b810['length'],_0x5294e0[Symbol['iterator']]=_0x33b810[Symbol['iterator']],_0x5294e0;}default:return;}}});}function _0xeda1dc(_0x2850a8){return _0x5054fe(_0x2850a8);}const _0x661074=/^(?:0|[1-9]\d*)$/;function _0x40938c(_0x2d67f8,_0x2f4144=Number['MAX_SAFE_INTEGER']){switch(typeof _0x2d67f8){case'number':return Number['isInteger'](_0x2d67f8)&&_0x2d67f8>=0x0&&_0x2d67f8<_0x2f4144;case'symbol':return!0x1;case'string':return _0x661074['test'](_0x2d67f8);}}function tt(_0x518324){return'symbol'==typeof _0x518324||_0x518324 instanceof Symbol;}function et(_0x18c35f){if(!_0x18c35f)return 0x0===_0x18c35f?_0x18c35f:0x0;if((_0x18c35f=function(_0x4ba4c3){return tt(_0x4ba4c3)?NaN:Number(_0x4ba4c3);}(_0x18c35f))===0x1/0x0||_0x18c35f===-0x1/0x0)return(_0x18c35f<0x0?-0x1:0x1)*Number['MAX_VALUE'];return _0x18c35f==_0x18c35f?_0x18c35f:0x0;}const it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,st=/^\w*$/;function nt(_0x10a449,_0x45d4b8){if(null==_0x10a449)return!0x0;switch(typeof _0x45d4b8){case'symbol':case'number':case'object':if(Array['isArray'](_0x45d4b8))return rt(_0x10a449,_0x45d4b8);if('number'==typeof _0x45d4b8?_0x45d4b8=_0x356e24(_0x45d4b8):'object'==typeof _0x45d4b8&&(_0x45d4b8=Object['is'](_0x45d4b8?.['valueOf'](),-0x0)?'-0':String(_0x45d4b8)),_0x51dc0d(_0x45d4b8))return!0x1;if(void 0x0===_0x10a449?.[_0x45d4b8])return!0x0;try{return delete _0x10a449[_0x45d4b8],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x10a449?.[_0x45d4b8]&&_0x5bc9c2(_0x45d4b8))return rt(_0x10a449,_0x4bfdaf(_0x45d4b8));if(_0x51dc0d(_0x45d4b8))return!0x1;try{return delete _0x10a449[_0x45d4b8],!0x0;}catch{return!0x1;}}}function rt(_0x31071a,_0x44bde0){const _0x298bfe=0x1===_0x44bde0['length']?_0x31071a:_0x5c852e(_0x31071a,_0x44bde0['slice'](0x0,-0x1)),_0x37b97a=_0x44bde0[_0x44bde0['length']-0x1];if(void 0x0===_0x298bfe?.[_0x37b97a])return!0x0;if(_0x51dc0d(_0x37b97a))return!0x1;try{return delete _0x298bfe[_0x37b97a],!0x0;}catch{return!0x1;}}const ot=(_0xd14f6b,_0x4a3910,_0x52dfb8)=>{const _0x183338=_0xd14f6b[_0x4a3910];Object['hasOwn'](_0xd14f6b,_0x4a3910)&&_0xb6bc62(_0x183338,_0x52dfb8)&&(void 0x0!==_0x52dfb8||_0x4a3910 in _0xd14f6b)||(_0xd14f6b[_0x4a3910]=_0x52dfb8);};function at(_0x4fc25f,_0x27d68b,_0x4fe1d2,_0x9e018c){if(null==_0x4fc25f&&!_0xece1ee(_0x4fc25f))return _0x4fc25f;let _0x25534f;_0x25534f=function(_0x466ffe,_0x40ca48){return!Array['isArray'](_0x466ffe)&&(!('number'!=typeof _0x466ffe&&'boolean'!=typeof _0x466ffe&&null!=_0x466ffe&&!tt(_0x466ffe))||'string'==typeof _0x466ffe&&(st['test'](_0x466ffe)||!it['test'](_0x466ffe))||null!=_0x40ca48&&Object['hasOwn'](_0x40ca48,_0x466ffe));}(_0x27d68b,_0x4fc25f)?[_0x27d68b]:Array['isArray'](_0x27d68b)?_0x27d68b:_0x4bfdaf(_0x27d68b);const _0x29493b=_0x4fe1d2(_0x5c852e(_0x4fc25f,_0x25534f));let _0xf87be0=_0x4fc25f;for(let _0x32197b=0x0;_0x32197b<_0x25534f['length']&&null!=_0xf87be0;_0x32197b++){const _0x7916e6=_0x356e24(_0x25534f[_0x32197b]);if(_0x51dc0d(_0x7916e6))continue;let _0x6faa2e;if(_0x32197b===_0x25534f['length']-0x1)_0x6faa2e=_0x29493b;else{const _0x39b679=_0xf87be0[_0x7916e6],_0x4aed70=_0x9e018c?.(_0x39b679,_0x7916e6,_0x4fc25f);_0x6faa2e=void 0x0!==_0x4aed70?_0x4aed70:_0xece1ee(_0x39b679)?_0x39b679:_0x40938c(_0x25534f[_0x32197b+0x1])?[]:{};}ot(_0xf87be0,_0x7916e6,_0x6faa2e),_0xf87be0=_0xf87be0[_0x7916e6];}return _0x4fc25f;}function ct(_0x169eef,_0x23e11d,_0x1c9b57){return at(_0x169eef,_0x23e11d,()=>_0x1c9b57,()=>{});}function lt(_0x2e636d,_0x341fe6,{signal:_0x57b8ca,edges:_0x3164b7}={}){let _0x2bf8e7,_0x1dc6ca=null;const _0x3af173=null!=_0x3164b7&&_0x3164b7['includes']('leading'),_0x25a659=null==_0x3164b7||_0x3164b7['includes']('trailing'),_0x4f1c5e=()=>{null!==_0x1dc6ca&&(_0x2e636d['apply'](_0x2bf8e7,_0x1dc6ca),_0x2bf8e7=void 0x0,_0x1dc6ca=null);};let _0x5b7af1=null;const _0x28813c=()=>{null!=_0x5b7af1&&clearTimeout(_0x5b7af1),_0x5b7af1=setTimeout(()=>{_0x5b7af1=null,_0x25a659&&_0x4f1c5e(),_0x4bbfaa();},_0x341fe6);},_0x4bbfaa=()=>{null!==_0x5b7af1&&(clearTimeout(_0x5b7af1),_0x5b7af1=null),_0x2bf8e7=void 0x0,_0x1dc6ca=null;},_0xd27808=function(..._0x3b4a5d){if(_0x57b8ca?.['aborted'])return;_0x2bf8e7=this,_0x1dc6ca=_0x3b4a5d;const _0x225069=null==_0x5b7af1;_0x28813c(),_0x3af173&&_0x225069&&_0x4f1c5e();};return _0xd27808['schedule']=_0x28813c,_0xd27808['cancel']=_0x4bbfaa,_0xd27808['flush']=()=>{_0x4f1c5e();},_0x57b8ca?.['addEventListener']('abort',_0x4bbfaa,{'once':!0x0}),_0xd27808;}function ht(_0x164a29,_0x4c1b44=0x0,_0x250e82={}){'object'!=typeof _0x250e82&&(_0x250e82={});const {leading:_0x405ac1=!0x1,trailing:_0xfcf472=!0x0,maxWait:_0x25f094}=_0x250e82,_0xdc5ee7=Array(0x2);let _0x4b741f;_0x405ac1&&(_0xdc5ee7[0x0]='leading'),_0xfcf472&&(_0xdc5ee7[0x1]='trailing');let _0x699331=null;const _0x6f0999=lt(function(..._0x10819e){_0x4b741f=_0x164a29['apply'](this,_0x10819e),_0x699331=null;},_0x4c1b44,{'edges':_0xdc5ee7}),_0x1d67c2=function(..._0x1fa13a){return null!=_0x25f094&&(null===_0x699331&&(_0x699331=Date['now']()),Date['now']()-_0x699331>=_0x25f094)?(_0x4b741f=_0x164a29['apply'](this,_0x1fa13a),_0x699331=Date['now'](),_0x6f0999['cancel'](),_0x6f0999['schedule'](),_0x4b741f):(_0x6f0999['apply'](this,_0x1fa13a),_0x4b741f);};return _0x1d67c2['cancel']=_0x6f0999['cancel'],_0x1d67c2['flush']=()=>(_0x6f0999['flush'](),_0x4b741f),_0x1d67c2;}function ut(_0x2a94ca,_0x58dcf4=0x0,_0x414bec={}){const {leading:_0x22ad3b=!0x0,trailing:_0x4f3252=!0x0}=_0x414bec;return ht(_0x2a94ca,_0x58dcf4,{'leading':_0x22ad3b,'maxWait':_0x58dcf4,'trailing':_0x4f3252});}function dt(_0x52b3aa){if(!_0x52b3aa||'object'!=typeof _0x52b3aa)return!0x1;const _0x132585=Object['getPrototypeOf'](_0x52b3aa);return!(null!==_0x132585&&_0x132585!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x132585))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x52b3aa);}function ft(_0x25d3fb,_0xbeca26,_0x303b10,_0x3673af,_0x25249a,_0x5e9f14,_0xb4217a){const _0x5013f4=_0xb4217a(_0x25d3fb,_0xbeca26,_0x303b10,_0x3673af,_0x25249a,_0x5e9f14);if(void 0x0!==_0x5013f4)return _0x5013f4;if(typeof _0x25d3fb==typeof _0xbeca26)switch(typeof _0x25d3fb){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x25d3fb===_0xbeca26;case'number':return _0x25d3fb===_0xbeca26||Object['is'](_0x25d3fb,_0xbeca26);case'object':return mt(_0x25d3fb,_0xbeca26,_0x5e9f14,_0xb4217a);}return mt(_0x25d3fb,_0xbeca26,_0x5e9f14,_0xb4217a);}function mt(_0x4960e5,_0x454acd,_0x55e1ec,_0x18e548){if(Object['is'](_0x4960e5,_0x454acd))return!0x0;let _0x1e10df=_0x399771(_0x4960e5),_0x4dfee9=_0x399771(_0x454acd);if(_0x1e10df===_0xc44be9&&(_0x1e10df=_0xfccf75),_0x4dfee9===_0xc44be9&&(_0x4dfee9=_0xfccf75),_0x1e10df!==_0x4dfee9)return!0x1;switch(_0x1e10df){case _0x1a685f:return _0x4960e5['toString']()===_0x454acd['toString']();case _0x5a4ab5:return _0xb6bc62(_0x4960e5['valueOf'](),_0x454acd['valueOf']());case _0xf3e5b4:case _0x3dc338:case _0x47c360:return Object['is'](_0x4960e5['valueOf'](),_0x454acd['valueOf']());case _0x50e983:return _0x4960e5['source']===_0x454acd['source']&&_0x4960e5['flags']===_0x454acd['flags'];case'[object\x20Function]':return _0x4960e5===_0x454acd;}const _0xde5f8e=(_0x55e1ec=_0x55e1ec??new Map())['get'](_0x4960e5),_0x17af9b=_0x55e1ec['get'](_0x454acd);if(null!=_0xde5f8e&&null!=_0x17af9b)return _0xde5f8e===_0x454acd;_0x55e1ec['set'](_0x4960e5,_0x454acd),_0x55e1ec['set'](_0x454acd,_0x4960e5);try{switch(_0x1e10df){case _0x319088:if(_0x4960e5['size']!==_0x454acd['size'])return!0x1;for(const [_0x1babaf,_0xf982ff]of _0x4960e5['entries']())if(!_0x454acd['has'](_0x1babaf)||!ft(_0xf982ff,_0x454acd['get'](_0x1babaf),_0x1babaf,_0x4960e5,_0x454acd,_0x55e1ec,_0x18e548))return!0x1;return!0x0;case _0x31cbb4:{if(_0x4960e5['size']!==_0x454acd['size'])return!0x1;const _0x476d52=Array['from'](_0x4960e5['values']()),_0xbe0ab3=Array['from'](_0x454acd['values']());for(let _0x445695=0x0;_0x445695<_0x476d52['length'];_0x445695++){const _0x223afc=_0x476d52[_0x445695],_0x10aaf1=_0xbe0ab3['findIndex'](_0x14f375=>ft(_0x223afc,_0x14f375,void 0x0,_0x4960e5,_0x454acd,_0x55e1ec,_0x18e548));if(-0x1===_0x10aaf1)return!0x1;_0xbe0ab3['splice'](_0x10aaf1,0x1);}return!0x0;}case _0x21be27:case _0x2e432a:case _0x445c61:case _0x573b73:case _0x586772:case'[object\x20BigUint64Array]':case _0x2c345c:case _0x5c5710:case _0x2a1d3c:case'[object\x20BigInt64Array]':case _0x3ff6e5:case _0x576486:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x4960e5)!==Buffer['isBuffer'](_0x454acd))return!0x1;if(_0x4960e5['length']!==_0x454acd['length'])return!0x1;for(let _0x5b7b69=0x0;_0x5b7b69<_0x4960e5['length'];_0x5b7b69++)if(!ft(_0x4960e5[_0x5b7b69],_0x454acd[_0x5b7b69],_0x5b7b69,_0x4960e5,_0x454acd,_0x55e1ec,_0x18e548))return!0x1;return!0x0;case _0x22a8ec:return _0x4960e5['byteLength']===_0x454acd['byteLength']&&mt(new Uint8Array(_0x4960e5),new Uint8Array(_0x454acd),_0x55e1ec,_0x18e548);case _0x22f8ed:return _0x4960e5['byteLength']===_0x454acd['byteLength']&&_0x4960e5['byteOffset']===_0x454acd['byteOffset']&&mt(new Uint8Array(_0x4960e5),new Uint8Array(_0x454acd),_0x55e1ec,_0x18e548);case'[object\x20Error]':return _0x4960e5['name']===_0x454acd['name']&&_0x4960e5['message']===_0x454acd['message'];case _0xfccf75:{if(!(mt(_0x4960e5['constructor'],_0x454acd['constructor'],_0x55e1ec,_0x18e548)||dt(_0x4960e5)&&dt(_0x454acd)))return!0x1;const _0x324028=[...Object['keys'](_0x4960e5),..._0x516d5a(_0x4960e5)],_0x4c17f8=[...Object['keys'](_0x454acd),..._0x516d5a(_0x454acd)];if(_0x324028['length']!==_0x4c17f8['length'])return!0x1;for(let _0x4575a1=0x0;_0x4575a1<_0x324028['length'];_0x4575a1++){const _0x5513c3=_0x324028[_0x4575a1],_0x4b82c1=_0x4960e5[_0x5513c3];if(!Object['hasOwn'](_0x454acd,_0x5513c3))return!0x1;if(!ft(_0x4b82c1,_0x454acd[_0x5513c3],_0x5513c3,_0x4960e5,_0x454acd,_0x55e1ec,_0x18e548))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x55e1ec['delete'](_0x4960e5),_0x55e1ec['delete'](_0x454acd);}}function gt(){}function pt(_0x132e6e,_0xe74659){return function(_0x3cef2d,_0x2e1b42,_0xbedcd0){return ft(_0x3cef2d,_0x2e1b42,void 0x0,void 0x0,void 0x0,void 0x0,_0xbedcd0);}(_0x132e6e,_0xe74659,gt);}function Ot(_0xa92aa3,_0x95be02){if(_0xa92aa3=function(_0xb30c9){const _0x5248e0=et(_0xb30c9),_0x140713=_0x5248e0%0x1;return _0x140713?_0x5248e0-_0x140713:_0x5248e0;}(_0xa92aa3),_0xa92aa3<0x1||!Number['isSafeInteger'](_0xa92aa3))return[];const _0x505283=new Array(_0xa92aa3);for(let _0x3ede94=0x0;_0x3ede94<_0xa92aa3;_0x3ede94++)_0x505283[_0x3ede94]='function'==typeof _0x95be02?_0x95be02(_0x3ede94):_0x3ede94;return _0x505283;}function wt(_0x3420b2){if(null==_0x3420b2)return[];switch(typeof _0x3420b2){case'object':case'function':return _0x12603e(_0x3420b2)?function(_0x541c53){const _0x1eac64=Ot(_0x541c53['length'],_0x594e5f=>''+_0x594e5f),_0x552a5e=new Set(_0x1eac64);(function(_0x238178){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x238178);}(_0x541c53)&&(_0x552a5e['add']('offset'),_0x552a5e['add']('parent')),function(_0x4b213d){return _0x1d1206(_0x4b213d);}(_0x541c53)&&(_0x552a5e['add']('buffer'),_0x552a5e['add']('byteLength'),_0x552a5e['add']('byteOffset')));const _0x3474d4=bt(_0x541c53)['filter'](_0x3a26d7=>!_0x552a5e['has'](_0x3a26d7));if(Array['isArray'](_0x541c53))return[..._0x1eac64,..._0x3474d4];return[..._0x1eac64['filter'](_0x37b356=>Object['hasOwn'](_0x541c53,_0x37b356)),..._0x3474d4];}(_0x3420b2):function(_0x56bf1b){const _0x5e3078=_0x56bf1b?.['constructor'];return _0x56bf1b===('function'==typeof _0x5e3078?_0x5e3078['prototype']:Object['prototype']);}(_0x3420b2)?function(_0xa6aae3){const _0xe7bce6=bt(_0xa6aae3);return _0xe7bce6['filter'](_0x474982=>'constructor'!==_0x474982);}(_0x3420b2):bt(_0x3420b2);default:return bt(Object(_0x3420b2));}}function bt(_0x5de74a){const _0x124fb0=[];for(const _0x3f534d in _0x5de74a)_0x124fb0['push'](_0x3f534d);return _0x124fb0;}function yt(_0x1d2e45){if('object'!=typeof _0x1d2e45)return!0x1;if(null==_0x1d2e45)return!0x1;if(null===Object['getPrototypeOf'](_0x1d2e45))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x1d2e45)){const _0x1bc6b0=_0x1d2e45[Symbol['toStringTag']];if(null==_0x1bc6b0)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x1d2e45,Symbol['toStringTag'])?.['writable']&&_0x1d2e45['toString']()==='[object\x20'+_0x1bc6b0+']';}let _0x92232a=_0x1d2e45;for(;null!==Object['getPrototypeOf'](_0x92232a);)_0x92232a=Object['getPrototypeOf'](_0x92232a);return Object['getPrototypeOf'](_0x1d2e45)===_0x92232a;}function vt(_0x139121){const _0x35e7b9=[];for(;_0x139121;)_0x35e7b9['push'](..._0x516d5a(_0x139121)),_0x139121=Object['getPrototypeOf'](_0x139121);return _0x35e7b9;}function _t(_0x3f11d5,..._0xf80d1c){if(null==_0x3f11d5)return{};_0xf80d1c=function(_0x4c3b5d,_0x23581a=0x1){const _0x34fdaa=[],_0x5f5ad0=Math['floor'](_0x23581a);if(!_0x12603e(_0x4c3b5d))return _0x34fdaa;const _0x525bb3=(_0xd9b512,_0x4e024e)=>{for(let _0x14cb68=0x0;_0x14cb68<_0xd9b512['length'];_0x14cb68++){const _0x302907=_0xd9b512[_0x14cb68];_0x4e024e<_0x5f5ad0&&(Array['isArray'](_0x302907)||Boolean(_0x302907?.[Symbol['isConcatSpreadable']])||null!==_0x302907&&'object'==typeof _0x302907&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x302907))?Array['isArray'](_0x302907)?_0x525bb3(_0x302907,_0x4e024e+0x1):_0x525bb3(Array['from'](_0x302907),_0x4e024e+0x1):_0x34fdaa['push'](_0x302907);}};return _0x525bb3(Array['from'](_0x4c3b5d),0x0),_0x34fdaa;}(_0xf80d1c);const _0x3fd840=function(_0x2e0dff,_0x583957){const _0x15f5e9=_0x583957['some'](_0x2113f2=>Array['isArray'](_0x2113f2)||_0x5bc9c2(_0x2113f2));if(_0x15f5e9)return function(_0x503193){const _0x5db148={},_0x85dc7e=[...wt(_0x503193),...vt(_0x503193)];for(let _0x87a4ec=0x0;_0x87a4ec<_0x85dc7e['length'];_0x87a4ec++){const _0x34fbe2=_0x85dc7e[_0x87a4ec];_0x5db148[_0x34fbe2]=_0x5054fe(_0x503193[_0x34fbe2],_0x2a7301=>{if(!yt(_0x2a7301))return _0x2a7301;});}return _0x5db148;}(_0x2e0dff);return function(_0x329aab){const _0x2936ca={},_0x3f02e9=[...wt(_0x329aab),...vt(_0x329aab)];for(let _0x5cc2a5=0x0;_0x5cc2a5<_0x3f02e9['length'];_0x5cc2a5++){const _0x3624dd=_0x3f02e9[_0x5cc2a5];_0x2936ca[_0x3624dd]=_0x329aab[_0x3624dd];}return _0x2936ca;}(_0x2e0dff);}(_0x3f11d5,_0xf80d1c);for(let _0x288531=0x0;_0x288531<_0xf80d1c['length'];_0x288531++){let _0x308e27=_0xf80d1c[_0x288531];switch(typeof _0x308e27){case'object':Array['isArray'](_0x308e27)||(_0x308e27=Array['from'](_0x308e27));for(let _0x5d68df=0x0;_0x5d68df<_0x308e27['length'];_0x5d68df++){nt(_0x3fd840,_0x308e27[_0x5d68df]);}break;case'string':case'symbol':case'number':nt(_0x3fd840,_0x308e27);}}return _0x3fd840;}const Et={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function Tt(_0x3306ac){return _0x1650ea(_0x3306ac)['replace'](/[&<>"']/g,_0x145460=>Et[_0x145460]);}function At(_0x562c47){return function(_0x5ad2e0){return _0x5ad2e0['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(_0x1650ea(_0x562c47));}const St={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function It(_0x2af34e){return function(_0x4d5525){return _0x4d5525['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x6d9621=>St[_0x6d9621]||'\x27');}(_0x1650ea(_0x2af34e));}class AIHistoryListItemView extends _0x31c75c['ListItemView']{constructor(_0xafbe21){super();const _0x295e8d=new _0x31c75c['ButtonLabelView'](),_0x294946=new _0x31c75c['ButtonView'](this['locale'],_0x295e8d);this['children']['add'](_0x294946),_0x294946['set']({'label':_0xafbe21['prompt'],'withText':!0x0}),_0x294946['on']('execute',()=>{this['fire']('execute',{'value':It(_0xafbe21['prompt'])});});}}const Ct='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0x31c75c['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x594f6d,_0x323162)=>{const _0xc4fd05=kt(_0x323162['prompt']);for(const _0x112213 of this)if(_0x112213!=_0x323162&&kt(_0x112213['prompt'])===_0xc4fd05){this['remove'](_0x112213);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x50bc90=sessionStorage['getItem'](Ct)||'[]';this['addMany'](JSON['parse'](_0x50bc90));}['_saveToSessionStorage'](){sessionStorage['setItem'](Ct,JSON['stringify'](this['map'](_0x4e9650=>_0x4e9650)));}}function kt(_0x514a36){return _0x514a36['toLowerCase']()['trim']();}class _0x19c852 extends _0x31c75c['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x54603c,_0x2b9d19,_0xbdb188=''){super(_0x54603c),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',_0x200efb['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x799ffe(_0x54603c),this['contentArea']=new AIFormContentArea(_0x54603c,_0xbdb188),this['contentArea']['bind']('isProcessing')['to'](this),this['contentArea']['bind']('value')['to'](this),this['toolbar']=this['_createToolbar'](),this['toolbar']['bind']('mainAction')['to'](this),this['promptView']=this['_createPromptView'](),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['focusCycler']['chain'](this['promptView']['focusCycler']),this['promptView']['queryView']['fieldView']['bind']('value')['to'](this,'prompt');const _0x2ad2f8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x2b9d19],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x2ad2f8['if']('isError','ck-hidden',_0xa4b185=>!_0xa4b185)]},'children':[this['errorView']]},this['contentArea'],this['toolbar'],this['promptView']]}]});}['render'](){super['render'](),this['focusTracker']['add'](this['contentArea']['element']),this['focusTracker']['add'](this['contentArea']['copyButtonView']['element']),this['focusTracker']['add'](this['toolbar']['element']),this['focusTracker']['add'](this['promptView']['element']),this['keystrokes']['listenTo'](this['element']);}['focus'](_0x2ca011=0x1){-0x1===_0x2ca011?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['reset'](){this['prompt']='',this['value']='',this['isError']=!0x1,this['promptView']['reset'](),this['contentArea']['isVisible']=!0x1,this['toolbar']['isVisible']=!0x1;}['_createPromptView'](){const _0x3a7247=this['locale'],_0x2f0e38=new AIFormPromptView(_0x3a7247,{'queryView':{'label':_0x1caf81(_0x3a7247,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x31c75c['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1caf81(_0x3a7247,'Empty\x20history'),'secondary':_0x1caf81(_0x3a7247,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2f0e38['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x151718,_0x12c6a6)=>_0x151718&&!_0x12c6a6),this['listenTo'](_0x2f0e38,'submit',(_0x245964,_0x384b4e)=>{this['prompt']=_0x384b4e;const _0x1621fb=Tt(_0x384b4e);this['fire']('submitPrompt',_0x1621fb),_0x384b4e['trim']()&&this['_promptHistory']['add']({'prompt':_0x1621fb},0x0);},{'priority':'high'}),_0x2f0e38;}['_createHistoryView'](){const _0x107e92=new AIHistoryListView(this['locale']);return _0x107e92['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x107e92['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x107e92;}['_createToolbar'](){const _0x2f660a=new _0x5280b1(this['locale']);return _0x2f660a['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x4511fe,_0x2c7861,_0x1d45ff)=>_0x4511fe&&!_0x2c7861&&!!_0x1d45ff),_0x2f660a['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x2f660a['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0xb7278,_0x489270,_0x434c72)=>_0xb7278&&!_0x489270&&!!_0x434c72),_0x2f660a['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x2f660a['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x17861d,_0x3dd5a2)=>_0x17861d&&!_0x3dd5a2),_0x2f660a['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x2f660a['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x2f660a['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x2f660a;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x2456b6=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=_0x1caf81(_0x2456b6,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x3d9498){const _0x18441d=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x3d9498||_0x1caf81(_0x18441d,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const xt=globalThis['DataTransfer'];class AIAssistantUI extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_dialog'];['_formView'];['_aiAdapter'];['_aiAssistantController'];['_uiCssClasses']='';static get['pluginName'](){return'AIAssistantUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,_0x31c75c['Dialog']];}constructor(_0xf7e671){super(_0xf7e671),_0xf7e671['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0xf7e671['config']['define']('ai.assistant.contentAreaCssClass',''),_0xf7e671['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0xf7e671['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x547e75}=this;this['_aiAdapter']=_0x547e75['plugins']['get'](AIAdapter),this['_dialog']=_0x547e75['plugins']['get'](_0x31c75c['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x4ce1e6=new ShowAIAssistantCommand(_0x547e75,Array['from'](this['_commandDefinitions']['values']()));_0x547e75['commands']['add']('showAIAssistant',_0x4ce1e6),_0x547e75['ui']['componentFactory']['add']('aiCommands',_0x1908b2=>{const _0x2cd677=_0x31c75c['createDropdown'](_0x1908b2);return _0x2cd677['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x2cd677['buttonView']['set']({'label':_0x1caf81(_0x1908b2,'AI\x20Commands'),'icon':_0x31c75c['IconMagicWand'],'tooltip':!0x0}),_0x2cd677['on']('execute',_0x1992ea=>this['_onExecute'](_0x1992ea['source']['id'])),_0x31c75c['addMenuToDropdown'](_0x2cd677,_0x547e75['ui']['view']['body'],function(_0x517b44){const _0x879166=_0x3da649(_0x517b44['config']['get']('ai.assistant.commands'),_0x517b44['locale']),_0x2d581a=Pt(_0x517b44,_0x879166)['filter'](_0xf5459b=>_0xf5459b['commands']['length']);if(0x1===_0x2d581a['length'])return Pt(_0x517b44,_0x2d581a[0x0]['commands'])['map'](_0x2fd053=>({'id':_0x2fd053['id'],'label':_0x2fd053['label']}));return _0x2d581a['map'](_0x308035=>{const {groupId:_0x1aa5e8,groupLabel:_0x720ad5,commands:_0x12e7ea}=_0x308035,_0x1a05f8=Pt(_0x517b44,_0x12e7ea)['map'](_0x1d1d1b=>({'id':_0x1d1d1b['id'],'label':_0x1d1d1b['label']}));return{'id':_0x1aa5e8,'menu':_0x720ad5||_0x1aa5e8,'children':_0x1a05f8};});}(_0x547e75),{'ariaLabel':_0x1caf81(_0x1908b2,'AI\x20Commands')}),_0x2cd677['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x4ce1e6['on']('change:enabledCommandsIds',_0x2d1939),_0x2cd677['menuView']['once']('render',_0x2d1939),_0x2cd677;function _0x2d1939(){_0x2cd677['isEnabled']=_0x4ce1e6['enabledCommandsIds']['length']>0x0;for(const _0x525907 of _0x2cd677['menuView']['buttons'])_0x525907['isEnabled']=_0x4ce1e6['enabledCommandsIds']['includes'](_0x525907['id']);}}),_0x547e75['ui']['componentFactory']['add']('menuBar:aiCommands',_0x73d654=>{const _0x2ffe8d=new _0x31c75c['MenuBarMenuView'](_0x73d654);_0x2ffe8d['buttonView']['set']({'label':_0x1caf81(_0x73d654,'AI\x20Commands'),'icon':_0x31c75c['IconMagicWand']}),_0x2ffe8d['bind']('isEnabled')['to'](_0x4ce1e6,'enabledCommandsIds',_0x390df2=>_0x390df2['length']>0x0);const _0x28a684=_0x3da649(_0x547e75['config']['get']('ai.assistant.commands'),_0x73d654);return this['_populateMenuBarMenu'](_0x4ce1e6,_0x2ffe8d,_0x28a684,_0x128a12=>this['_onExecute'](_0x128a12)),_0x2ffe8d;}),_0x547e75['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x490e56=this['_createAIAssistantUIButton'](_0x31c75c['ButtonView']);return _0x490e56['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x490e56;}),_0x547e75['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x4dc929=this['_createAIAssistantUIButton'](_0x31c75c['MenuBarMenuListItemButtonView']);return _0x4dc929['set']({'role':'menuitemcheckbox'}),_0x4dc929;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x43a883=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x582b06;for(const _0x29f3a6 in _0x43a883){const _0x5c93d4=_0x29f3a6,_0x1242b4=_0x43a883[_0x5c93d4];if('aiLicenseKeyValid'==_0x1242b4||'aiLicenseKeyInvalid'==_0x1242b4||'aiLicenseKeyExpired'==_0x1242b4||'aiLicenseKeyDomainLimit'==_0x1242b4||'aiLicenseKeyNotAllowed'==_0x1242b4||'aiLicenseKeyEvaluationLimit'==_0x1242b4||'aiLicenseKeyUsageLimit'==_0x1242b4){delete _0x43a883[_0x5c93d4],_0x582b06=_0x1242b4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x582b06&&_0x43a883['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x582b06&&_0x43a883['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x582b06&&_0x43a883['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x582b06&&_0x43a883['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x582b06&&_0x43a883['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x582b06&&_0x43a883['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0xf8b33a='',_0x3dea8f='',_0x2579d7='custom'){const _0x3f4632=this['editor'],_0x383060=_0x3f4632['editing']['view'],_0x51bc41=_0x3f4632['plugins']['get'](AIAssistantEditing),_0x1868be=_0x3f4632['plugins']['get'](_0x31c75c['ClipboardMarkersUtils']);_0x51bc41['showFakeVisualSelection']();const _0x46c1b7=new xt(),_0x50c30e=new ClipboardEvent('copy',{'clipboardData':_0x46c1b7}),_0x43de83=new _0x31c75c['ViewDataTransfer'](_0x46c1b7),_0x5dcd8d=new _0x31c75c['ViewDocumentDomEventData'](_0x383060,_0x50c30e,{'dataTransfer':_0x43de83});_0x1868be['_forceMarkersCopy']('comment',()=>{_0x383060['document']['fire']('copy',_0x5dcd8d);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x3f4632,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x50a2a0=_0x43de83['getData']('text/html');const _0x5dfc24=_0x3f4632['model']['document']['selection'],_0x495e08=Array['from'](_0x5dfc24['getRanges']());0x1===_0x495e08['length']&&_0x495e08[0x0]['isFlat']&&!_0x5dfc24['getSelectedElement']()&&''!==_0x50a2a0['replace'](/&nbsp;/g,'')['trim']()&&(_0x50a2a0='<p>'+_0x50a2a0+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x2579d7,'query':_0xf8b33a,'htmlContent':_0x50a2a0,'label':_0x3dea8f,'mainActionLabel':_0x200efb[_0x3f4632['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x31c75c['IconRobotPencil'],'title':_0x1caf81(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x31c75c['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x51bc41['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x48bca1=new Map(),_0x4e0989=_0x3da649(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x3058ab of _0x4e0989)for(const _0x3dae68 of _0x3058ab['commands'])_0x48bca1['set'](_0x3dae68['id'],{..._0x3dae68,'groupId':_0x3058ab['groupId'],'groupLabel':_0x3058ab['groupLabel']||_0x3058ab['groupId']});return _0x48bca1;}['_createAIAssistantUIButton'](_0x5f348f){const _0x2352b1=this['editor'],_0x141b0c=_0x2352b1['commands']['get']('showAIAssistant'),_0xe741d8=new _0x5f348f(_0x2352b1['locale']);return _0xe741d8['set']({'label':_0x1caf81(_0x2352b1['locale'],'AI\x20Assistant'),'icon':_0x31c75c['IconRobotPencil'],'isToggleable':!0x0}),_0xe741d8['bind']('isEnabled')['to'](_0x141b0c),_0xe741d8['bind']('isOn')['to'](this['_dialog'],'id',_0x32fafa=>'aiAssistant'===_0x32fafa),this['listenTo'](_0xe741d8,'execute',()=>{_0xe741d8['isOn']?this['hideUI']():_0x141b0c['execute']();}),_0xe741d8;}['_initView'](){const _0x16245c=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x19c852(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.assistant.contentAreaCssClass')),this['_formView']['on']('change:value',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['_formView']['promptView']['queryView']['fieldView']['on']('update',()=>{this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}),this['listenTo'](this['_formView'],'replaceContent',()=>{_0x16245c['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x16245c['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x220821,ui:{ariaLiveAnnouncer:_0x1b9fdc}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x2eb512,_0xb2e803,_0x56f88f)=>{const _0x1919ca=this['_aiAssistantController']['currentContext'];_0x56f88f?_0x1b9fdc['announce'](_0x1caf81(_0x220821,'AI\x20is\x20writing')):_0x1919ca&&_0x1b9fdc['announce'](_0x1caf81(_0x220821,'Generated\x20content:\x20%0',_0x1919ca),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x246d67,_0xb8e0f5,_0x127cea)=>{if(_0x127cea){const _0x51ec1b=this['_formView']['errorView']['text'];_0x1b9fdc['announce'](_0x1caf81(_0x220821,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x51ec1b));}});}['_onExecute'](_0x47e0ba){const _0x1a87fa=this['_commandDefinitions']['get'](_0x47e0ba),_0x249cc8=this['editor'],_0x4500df=_0x249cc8['model']['document']['selection'],_0x22b6da=_0x249cc8['commands']['get']('showAIAssistant'),_0x438a32=_0x249cc8['plugins']['get'](AIAssistantEditing),_0x437e03=''+(_0x1a87fa['groupId']!==_0x5d1a57?_0x1a87fa['groupLabel']+':\x20':'')+_0x1a87fa['label'];if(!0x1!==_0x1a87fa['requiresContent']&&_0x4500df['isCollapsed']){const _0x4844b0=_0x31c75c['first'](_0x4500df['getSelectedBlocks']())||_0x249cc8['model']['schema']['getLimitElement'](_0x4500df);_0x249cc8['model']['change'](_0x15c702=>{_0x15c702['setSelection'](_0x4844b0,'in');});}_0x438a32['showFakeVisualSelection'](),_0x22b6da['execute'](_0x1a87fa['prompt'],_0x437e03,'command:'+_0x47e0ba);}['_populateMenuBarMenu'](_0x4cdbd7,_0x3116b7,_0x3a869e,_0x32cbb6){const _0x7cd9cc=this['editor'],_0x5f361b=_0x7cd9cc['locale'],_0x5aa846=new _0x31c75c['MenuBarMenuListView'](_0x5f361b),_0x3d54c2=Pt(_0x7cd9cc,_0x3a869e)['filter'](_0x45c021=>_0x45c021['commands']['length']);0x1===_0x3d54c2['length']?this['_getMenuBarGroupButtons']({'command':_0x4cdbd7,'commands':_0x3d54c2[0x0]['commands'],'parentMenuView':_0x3116b7,'onExecute':_0x32cbb6})['forEach'](_0x4a7394=>_0x5aa846['items']['add'](_0x4a7394)):_0x3d54c2['forEach'](({groupId:_0x5c1724,groupLabel:_0x108f3b,commands:_0x4d5a64})=>{const _0x43dbaa=new _0x31c75c['MenuBarMenuListItemView'](_0x5f361b,_0x3116b7),_0x39c1aa=new _0x31c75c['MenuBarMenuView'](_0x5f361b),_0x25fbab=new _0x31c75c['MenuBarMenuListView'](_0x5f361b),_0x301aaf=this['_getMenuBarGroupButtons']({'command':_0x4cdbd7,'commands':_0x4d5a64,'parentMenuView':_0x39c1aa,'onExecute':_0x32cbb6});_0x39c1aa['buttonView']['set']({'label':_0x108f3b||_0x5c1724}),_0x39c1aa['delegate']('execute')['to'](_0x3116b7),_0x25fbab['items']['addMany'](_0x301aaf),_0x39c1aa['panelView']['children']['add'](_0x25fbab),_0x43dbaa['children']['add'](_0x39c1aa),_0x5aa846['items']['add'](_0x43dbaa);}),_0x3116b7['panelView']['children']['add'](_0x5aa846);}['_getMenuBarGroupButtons']({command:_0x3c1e95,commands:_0x53b526,parentMenuView:_0x8b2ae2,onExecute:_0x19da91}){const _0x1becee=this['editor'],_0x56f0ca=_0x1becee['locale'];return Pt(_0x1becee,_0x53b526)['map'](_0x5d90bb=>{const _0x30b92b=new _0x31c75c['MenuBarMenuListItemView'](_0x56f0ca,_0x8b2ae2),_0x408f08=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x56f0ca);return _0x408f08['set']({'label':_0x5d90bb['label']}),_0x408f08['delegate']('execute')['to'](_0x8b2ae2),_0x408f08['on']('execute',()=>_0x19da91(_0x5d90bb['id'])),_0x408f08['bind']('isEnabled')['to'](_0x3c1e95,'enabledCommandsIds',_0x198010=>_0x198010['includes'](_0x5d90bb['id'])),_0x30b92b['children']['add'](_0x408f08),_0x30b92b;});}}function Rt(_0x15d8ed,_0x37034f){return void 0x0!==_0x15d8ed['order']&&void 0x0===_0x37034f['order']?0x1:void 0x0===_0x15d8ed['order']&&void 0x0!==_0x37034f['order']?-0x1:void 0x0!==_0x15d8ed['order']&&void 0x0!==_0x37034f['order']?_0x15d8ed['order']-_0x37034f['order']:0x0;}function Pt(_0x2621ce,_0x288928){_0x288928['sort'](Rt);const _0x4b5eaa={},_0x5611c7=[];for(const _0x202b37 of _0x288928)if(void 0x0!==_0x202b37['order']){if(_0x202b37['order']in _0x4b5eaa)throw new _0x31c75c['CKEditorError']('ai-commands-config-order-collision',_0x2621ce,{'conflictingDefinitions':[_0x202b37,_0x4b5eaa[_0x202b37['order']]]});_0x4b5eaa[_0x202b37['order']]=_0x202b37,_0x5611c7['splice'](_0x202b37['order'],0x0,_0x202b37);}else _0x5611c7['push'](_0x202b37);return _0x5611c7;}class AIAssistant extends _0x31c75c['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44dc10){super(_0x44dc10);const _0x1029ef=_0x44dc10['config'],_0x136d9d=_0x44dc10['locale'];_0x1029ef['define']('ai.assistant.preserveComments',!0x0),_0x1029ef['define']('ai.assistant.commands',Mt(_0x136d9d)),_0x1029ef['define']('ai.assistant.extraCommandGroups',[]),_0x1029ef['define']('ai.assistant.removeCommands',[]);let _0x27c55e=_0x3da649(_0x1029ef['get']('ai.assistant.commands'),_0x136d9d);const _0x1a7b9d=_0x1029ef['get']('ai.assistant.extraCommandGroups'),_0x3df883=_0x1029ef['get']('ai.assistant.removeCommands');_0x1a7b9d['forEach'](_0xd2cded=>{const _0x44ef84=_0x27c55e['find'](_0x524429=>_0x524429['groupId']===_0xd2cded['groupId']);_0x44ef84?_0x44ef84['commands']=_0x44ef84['commands']['concat'](_0xd2cded['commands']):_0x27c55e['push'](_0xd2cded);}),_0x27c55e=_0x27c55e['filter'](_0xe5cb57=>!_0x3df883['includes'](_0xe5cb57['groupId'])),_0x27c55e['forEach'](_0x1af219=>{_0x1af219['commands']=_0x1af219['commands']['filter'](_0x45b30c=>!_0x3df883['includes'](_0x45b30c['id']));}),_0x1029ef['set']('ai.assistant.commands',_0x27c55e);}}function Mt(_0x5f6357){return[{'groupId':'editOrReview','groupLabel':_0x1caf81(_0x5f6357,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':_0x1caf81(_0x5f6357,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':_0x1caf81(_0x5f6357,'Make\x20shorter'),'prompt':'Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.'},{'id':'makeLonger','label':_0x1caf81(_0x5f6357,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':_0x1caf81(_0x5f6357,'Simplify\x20language'),'prompt':'Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.'}]},{'groupId':'generate','groupLabel':_0x1caf81(_0x5f6357,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':_0x1caf81(_0x5f6357,'Summarize'),'prompt':'Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.'},{'id':'continue','label':_0x1caf81(_0x5f6357,'Continue'),'prompt':'Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.'}]},{'groupId':'changeTone','groupLabel':_0x1caf81(_0x5f6357,'Change\x20tone'),'commands':[{'id':'professional','label':_0x1caf81(_0x5f6357,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':_0x1caf81(_0x5f6357,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':_0x1caf81(_0x5f6357,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':_0x1caf81(_0x5f6357,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':_0x1caf81(_0x5f6357,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':_0x1caf81(_0x5f6357,'Change\x20style'),'commands':[{'id':'business','label':_0x1caf81(_0x5f6357,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':_0x1caf81(_0x5f6357,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':_0x1caf81(_0x5f6357,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':_0x1caf81(_0x5f6357,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':_0x1caf81(_0x5f6357,'Translate'),'commands':[{'id':'translateEnglish','label':_0x1caf81(_0x5f6357,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':_0x1caf81(_0x5f6357,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':_0x1caf81(_0x5f6357,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':_0x1caf81(_0x5f6357,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':_0x1caf81(_0x5f6357,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':_0x1caf81(_0x5f6357,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':_0x1caf81(_0x5f6357,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':_0x1caf81(_0x5f6357,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x31c75c['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x50a526){super(_0x50a526),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](AIAdapter)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x1aed39){return this['sendRequest'](_0x1aed39)['catch'](_0x482712=>{if(_0x482712 instanceof AIRequestError)return Promise['reject'](_0x482712);if('AbortError'==_0x482712['name'])return Promise['resolve']();throw console['error'](_0x482712),new _0x31c75c['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x563766,_0x371910){const _0x17ce34=this['editor']['locale'],_0x175f24={'Content-Type':'application/json'};if('object'==typeof _0x563766)Object['assign'](_0x175f24,_0x563766);else{if(_0x563766)try{const _0x2ac53f=await _0x563766(_0x371910);Object['assign'](_0x175f24,_0x2ac53f);}catch{return Promise['reject'](new AIRequestError(_0x1caf81(_0x17ce34,'AI_ERROR_GET_HEADERS')));}}return _0x175f24;}async['_prepareRequestParameters'](_0x35c350,_0x3c5072){const _0x3264d4=this['editor']['locale'];if('object'==typeof _0x35c350)return _0x35c350;try{return await _0x35c350(_0x3c5072);}catch{return Promise['reject'](new AIRequestError(_0x1caf81(_0x3264d4,'AI_ERROR_GET_PARAMETERS')));}}}class TabButtonView extends _0x31c75c['ButtonView']{constructor(_0x1a4d99,_0x5853f7={}){super(_0x1a4d99),this['isToggleable']=!0x0,this['set']('side',_0x5853f7['side']||'top');const _0x1ab579=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x31c75c['toArray'](_0x5853f7['class']||[]),_0x1ab579['to']('side',_0x44f40d=>'ck-tab-button_'+_0x44f40d),_0x1ab579['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x35bf75 extends _0x31c75c['View']{['children'];constructor(_0x3ed906,_0x3b7d9a={}){super(_0x3ed906);const _0x1eff0d=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',..._0x31c75c['toArray'](_0x3b7d9a['class']||[]),_0x1eff0d['to']('class'),_0x1eff0d['if']('isVisible','ck-hidden',_0x518dfb=>!_0x518dfb)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x59a265 extends _0x31c75c['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x5f4ce1,_0x2baebb={}){super(_0x5f4ce1),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x2baebb['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x2baebb['collapsible']||!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'activeTab',(_0x546062,_0x3a188a)=>_0x546062&&null!==_0x3a188a);const _0x4d9481=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x31c75c['toArray'](_0x2baebb['class']||[]),_0x4d9481['to']('side',_0x476520=>'ck-tabs_'+_0x476520),_0x4d9481['to']('class'),_0x4d9481['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x4d9481['to']('activeTab',_0x490ce5=>null===_0x490ce5?'ck-ai-tabs_collapsed':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x4d9481['to']('side',_0x124279=>'ck-tabs__buttons-container_'+_0x124279)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x4d9481['to']('side',_0x46b219=>'ck-tabs__panels-container_'+_0x46b219)]},'children':this['panelViews']},..._0x31c75c['toArray'](_0x2baebb['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x3244b2){const _0x2abe1a=this['_tabs']['get'](_0x3244b2);return _0x2abe1a||null;}['addTab'](_0x22654a){const _0x2638a4=this['_setupButton']({'id':_0x22654a['id'],'label':_0x22654a['buttonLabel'],'icon':_0x22654a['buttonIcon'],'order':_0x22654a['order']}),_0x313fa7=new _0x35bf75(this['locale']);return _0x313fa7['render'](),_0x22654a['content']&&_0x313fa7['children']['add'](_0x22654a['content']),this['panelViews']['add'](_0x313fa7),this['_tabs']['set'](_0x22654a['id'],{'button':_0x2638a4,'panel':_0x313fa7,'order':void 0x0!==_0x22654a['order']?_0x22654a['order']:null}),this['fire']('addTab:'+_0x22654a['id'],{'id':_0x22654a['id'],'button':_0x2638a4,'panel':_0x313fa7}),null===this['activeTab']?this['activateTab'](_0x22654a['id']):this['_hidePanel'](_0x22654a['id']),{'button':_0x2638a4,'panel':_0x313fa7};}['activateTab'](_0x18edc7){if(null!==_0x18edc7&&!this['getTab'](_0x18edc7))throw new _0x31c75c['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x18edc7});if(this['activeTab']===_0x18edc7)return;const _0xcb0517=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x18edc7,_0x18edc7&&this['_showPanel'](_0x18edc7),this['fire']('activateTab:'+_0x18edc7,{'newTab':_0x18edc7,'oldTab':_0xcb0517});}['toggleTabPanel'](_0x830db4){if(!this['getTab'](_0x830db4))throw new _0x31c75c['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x830db4});this['activeTab']===_0x830db4?this['collapsible']&&(this['activeTab']=null):this['activateTab'](_0x830db4);}['showTab'](_0x2163fa){if(!this['getTab'](_0x2163fa))throw new _0x31c75c['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2163fa});this['_showPanel'](_0x2163fa),this['_showButton'](_0x2163fa),this['fire']('show:'+_0x2163fa,_0x2163fa);}['hideTab'](_0x199a23){if(!this['getTab'](_0x199a23))throw new _0x31c75c['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x199a23});const _0x9729e3=this['activeTab'];this['_hidePanel'](_0x199a23),this['_hideButton'](_0x199a23);const _0x175a27=this['getTabIds']();_0x9729e3===_0x199a23&&_0x175a27['length']>0x1&&this['activateTab'](_0x175a27['find'](_0x48c9e2=>_0x48c9e2!==_0x199a23)),this['fire']('hide:'+_0x199a23,_0x199a23);}['_getPanel'](_0x235d9d){const _0x16044f=this['_tabs']['get'](_0x235d9d);return _0x16044f?_0x16044f['panel']:null;}['_showPanel'](_0x3be389){null!==this['activeTab']&&this['activeTab']!==_0x3be389||this['_getPanel'](_0x3be389)['show']();}['_hidePanel'](_0x42017e){const _0x9eaea=this['_getPanel'](_0x42017e);_0x9eaea['isVisible']&&(this['activeTab']===_0x42017e&&(this['activeTab']=null),_0x9eaea['hide']());}['_getButton'](_0x335229){const _0x4c9cb3=this['_tabs']['get'](_0x335229);return _0x4c9cb3?_0x4c9cb3['button']:null;}['_showButton'](_0x21b2b3){this['_getButton'](_0x21b2b3)['show']();}['_hideButton'](_0x9eb03d){this['_getButton'](_0x9eb03d)['hide']();}['_setupButton'](_0x130032){const _0x1d1e79=new TabButtonView(this['locale'],{'side':this['side']}),_0x5b5917=this['buttonViews'];if(_0x1d1e79['set']({'label':_0x130032['label'],'icon':_0x130032['icon'],'tooltip':!0x0,'withText':!0x0}),_0x1d1e79['bind']('isOn')['to'](this,'activeTab',_0x48ade4=>_0x48ade4===_0x130032['id']),_0x1d1e79['bind']('side')['to'](this,'side'),_0x130032['order']){const _0x243602=[...this['_tabs']]['reduce']((_0x35ec17,_0x36b60c)=>{const _0x5088df=_0x36b60c[0x0],{order:_0x443da3}=_0x36b60c[0x1];return!_0x443da3||_0x443da3>_0x130032['order']?_0x35ec17:_0x443da3>=_0x35ec17['order']?{'id':_0x5088df,'order':_0x443da3}:_0x35ec17;},{'id':'','order':0x0}),_0x3f0774=_0x5b5917['getIndex'](this['_getButton'](_0x243602['id']));_0x5b5917['add'](_0x1d1e79,_0x3f0774+0x1);}else _0x5b5917['add'](_0x1d1e79);return _0x1d1e79['on']('execute',()=>{this['toggleTabPanel'](_0x130032['id']);}),_0x1d1e79;}}const Nt=['overlay','sidebar','custom'],Lt=['left','right'];class _0x1e0811 extends _0x59a265{constructor(_0x23e096,_0x2014e8={}){super(_0x23e096,_0x2014e8),this['set']('type',_0x2014e8['type']||'sidebar'),this['set']('side',_0x2014e8['side']||'right'),this['set']('isVisible',_0x2014e8['visibleByDefault']??!0x0);const _0xf4eec3=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0xf4eec3['if']('type','ck-ai-tabs__overlay',_0xa1dc97=>'overlay'===_0xa1dc97),_0xf4eec3['if']('type','ck-ai-tabs__sidebar',_0x54a14c=>'sidebar'===_0x54a14c),_0xf4eec3['if']('isVisible','ck-hidden',_0x3a781e=>!_0x3a781e)]}}),this['buttonViews']['on']('add',(_0x2a2ff9,_0x5947a8)=>{_0x5947a8['set']('withText',!0x1);});}}class _0x20f71e extends _0x31c75c['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51adcc){if(super(_0x51adcc),!this['context']['config']['get']('ai.container'))throw new _0x31c75c['CKEditorError']('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x4bc55e=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x4bc55e['showResizeButton']&&(this['showResizeButton']=_0x4bc55e['showResizeButton']),'sidebar'!==_0x4bc55e['type']&&'overlay'!==_0x4bc55e['type']||_0x4bc55e['side']&&(this['side']=_0x4bc55e['side']),'sidebar'===_0x4bc55e['type']){if(this['container']=_0x4bc55e['element'],this['set']('type','sidebar'),!this['container'])throw new _0x31c75c['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x4bc55e['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x1e0811(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x4bc55e['visibleByDefault'],'collapsible':_0x4bc55e['collapsible']}),this['view']['render'](),this['view']['bind']('side')['to'](this,'side'),this['view']['bind']('type')['to'](this,'type'),this['container']&&this['container']['appendChild'](this['view']['element']),this['context']instanceof _0x31c75c['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']),this['listenTo'](this,'resizeTabs',()=>{this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);});}['switchType'](_0x245254){if(_0x245254&&this['type']!==_0x245254){if(!Nt['includes'](_0x245254))throw new _0x31c75c['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x245254;}}['switchSide'](_0x1b8b35){if(_0x1b8b35&&this['side']!==_0x1b8b35){if(!Lt['includes'](_0x1b8b35))throw new _0x31c75c['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x1b8b35;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0x53be36 extends Error{constructor(_0x4671b4,_0x29ddb7){super(_0x4671b4),this['name']='ParseError',this['type']=_0x29ddb7['type'],this['field']=_0x29ddb7['field'],this['value']=_0x29ddb7['value'],this['line']=_0x29ddb7['line'];}}function $t(_0x127b36){}function Dt(_0x4911c6){if('function'==typeof _0x4911c6)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x57fb2c=$t,onError:_0x298827=$t,onRetry:_0x3f3691=$t,onComment:_0x292452}=_0x4911c6;let _0x3f5a4f,_0x2558b0='',_0x5ab43c=!0x0,_0x5532ac='',_0x577748='';function _0x23d2ed(_0x1ee834){if(''===_0x1ee834)return _0x5532ac['length']>0x0&&_0x57fb2c({'id':_0x3f5a4f,'event':_0x577748||void 0x0,'data':_0x5532ac['endsWith']('\x0a')?_0x5532ac['slice'](0x0,-0x1):_0x5532ac}),_0x3f5a4f=void 0x0,_0x5532ac='',void(_0x577748='');if(_0x1ee834['startsWith'](':'))return void(_0x292452&&_0x292452(_0x1ee834['slice'](_0x1ee834['startsWith'](':\x20')?0x2:0x1)));const _0x2b052e=_0x1ee834['indexOf'](':');if(-0x1!==_0x2b052e){const _0x8b7716=_0x1ee834['slice'](0x0,_0x2b052e),_0xfb41ae='\x20'===_0x1ee834[_0x2b052e+0x1]?0x2:0x1;return void _0x68da5f(_0x8b7716,_0x1ee834['slice'](_0x2b052e+_0xfb41ae),_0x1ee834);}_0x68da5f(_0x1ee834,'',_0x1ee834);}function _0x68da5f(_0x4ba2f2,_0x2f313e,_0x3eea0b){switch(_0x4ba2f2){case'event':_0x577748=_0x2f313e;break;case'data':_0x5532ac=''+_0x5532ac+_0x2f313e+'\x0a';break;case'id':_0x3f5a4f=_0x2f313e['includes']('\x00')?void 0x0:_0x2f313e;break;case'retry':/^\d+$/['test'](_0x2f313e)?_0x3f3691(parseInt(_0x2f313e,0xa)):_0x298827(new _0x53be36('Invalid\x20`retry`\x20value:\x20\x22'+_0x2f313e+'\x22',{'type':'invalid-retry','value':_0x2f313e,'line':_0x3eea0b}));break;default:_0x298827(new _0x53be36('Unknown\x20field\x20\x22'+(_0x4ba2f2['length']>0x14?_0x4ba2f2['slice'](0x0,0x14)+'…':_0x4ba2f2)+'\x22',{'type':'unknown-field','field':_0x4ba2f2,'value':_0x2f313e,'line':_0x3eea0b}));}}return{'feed':function(_0xffbea2){const _0x57ec6d=_0x5ab43c?_0xffbea2['replace'](/^\xEF\xBB\xBF/,''):_0xffbea2,[_0x5a31e4,_0x4716b9]=function(_0x58f1e6){const _0x3684f7=[];let _0xb45b71='',_0x4ed4dd=0x0;for(;_0x4ed4dd<_0x58f1e6['length'];){const _0x503b32=_0x58f1e6['indexOf']('\x0d',_0x4ed4dd),_0x36a60=_0x58f1e6['indexOf']('\x0a',_0x4ed4dd);let _0x7cee06=-0x1;if(-0x1!==_0x503b32&&-0x1!==_0x36a60?_0x7cee06=Math['min'](_0x503b32,_0x36a60):-0x1!==_0x503b32?_0x7cee06=_0x503b32:-0x1!==_0x36a60&&(_0x7cee06=_0x36a60),-0x1===_0x7cee06){_0xb45b71=_0x58f1e6['slice'](_0x4ed4dd);break;}{const _0x400893=_0x58f1e6['slice'](_0x4ed4dd,_0x7cee06);_0x3684f7['push'](_0x400893),_0x4ed4dd=_0x7cee06+0x1,'\x0d'===_0x58f1e6[_0x4ed4dd-0x1]&&'\x0a'===_0x58f1e6[_0x4ed4dd]&&_0x4ed4dd++;}}return[_0x3684f7,_0xb45b71];}(''+_0x2558b0+_0x57ec6d);for(const _0x381b0b of _0x5a31e4)_0x23d2ed(_0x381b0b);_0x2558b0=_0x4716b9,_0x5ab43c=!0x1;},'reset':function(_0x25593c={}){_0x2558b0&&_0x25593c['consume']&&_0x23d2ed(_0x2558b0),_0x5ab43c=!0x0,_0x3f5a4f=void 0x0,_0x5532ac='',_0x577748='',_0x2558b0='';}};}class AIConnector extends _0x31c75c['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[_0x31c75c['CloudServices']];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x6e6ff4){super(_0x6e6ff4),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl'),this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x19b404=this['context']['plugins']['get'](_0x31c75c['CloudServices']);if(!_0x19b404['token'])throw new _0x31c75c['CKEditorError']('ai-missing-token',this);this['_token']=_0x19b404['token'];}['startConversation'](_0x2b28e3,_0x76b6e8){const _0x122ca4=this['_sendApiRequest']('/conversations','POST',{'id':_0x2b28e3,'group':_0x76b6e8});return{'getConversation':async()=>(await _0x122ca4['request'])['json'](),'abortController':_0x122ca4['abortController']};}['queryAssistant']({message:_0x34e57d,conversationId:_0x2cafd1,parts:_0x1ae43c,capabilities:_0x124fce,model:_0xd3a78a,attributes:_0x1f9221}){const _0x49a5c4={'prompt':_0x34e57d,'content':_0x1ae43c,'model':_0xd3a78a,..._0x124fce&&{'capabilities':_0x124fce},..._0x1f9221&&{'attributes':_0x1f9221}},_0x4c3de1=this['_sendApiRequest']('/conversations/'+_0x2cafd1+'/messages','POST',_0x49a5c4);return{'getStream':async()=>{const _0x2e5fff=(await _0x4c3de1['request'])['body'];return this['_getStreamReader'](_0x2e5fff);},'abortController':_0x4c3de1['abortController']};}['executeCustomAction']({content:_0x5298fa,message:_0x40dc83,model:_0x3d53fc,outputFormat:_0x1ed26f}){const _0x348c8a={'content':[{'type':'text','content':_0x5298fa}],'prompt':_0x40dc83,'model':_0x3d53fc,'outputFormat':_0x1ed26f},_0x235862=this['_sendApiRequest']('/actions/custom/calls','POST',_0x348c8a);return{'getStream':async()=>{const _0x3386c3=(await _0x235862['request'])['body'];return this['_getStreamReader'](_0x3386c3);},'abortController':_0x235862['abortController']};}['executeAction']({actionName:_0x7fb286,content:_0x2551ba,args:_0x2db483}){const _0x247160={'content':[{'type':'text','content':_0x2551ba}],'args':_0x2db483},_0x25376b=this['_sendApiRequest']('/actions/system/'+_0x7fb286+'/calls','POST',_0x247160);return{'getStream':async()=>{const _0x298bb1=(await _0x25376b['request'])['body'];return this['_getStreamReader'](_0x298bb1);},'abortController':_0x25376b['abortController']};}['uploadFile'](_0x4dffae,_0x184083,_0x59bb2e){const _0x1c09a5=new FormData();_0x1c09a5['append']('file',_0x184083,_0x184083['name']),_0x59bb2e&&_0x1c09a5['append']('attributes',JSON['stringify'](_0x59bb2e));const _0x309851=this['_sendApiRequest']('/conversations/'+_0x4dffae+'/files','POST',_0x1c09a5);return{'getId':async()=>(await _0x309851['request'])['json'](),'abortController':_0x309851['abortController']};}['fetchDocument'](_0x4b2576,_0x4f019a){const _0x4f6bc4=this['_sendApiRequest']('/conversations/'+_0x4b2576+'/documents/'+_0x4f019a,'GET');return{'getDocument':async()=>(await _0x4f6bc4['request'])['json'](),'abortController':_0x4f6bc4['abortController']};}['uploadDocument'](_0x1e88e2,_0x3de901,_0x5f1b1f){const _0x87f02a={'content':_0x3de901};_0x5f1b1f&&(_0x87f02a['attributes']=_0x5f1b1f);const _0x4efb8a=this['_sendApiRequest']('/conversations/'+_0x1e88e2+'/documents','POST',_0x87f02a);return{'getId':async()=>(await _0x4efb8a['request'])['json'](),'abortController':_0x4efb8a['abortController']};}['uploadDocuments'](_0x194642,_0xd700e9){const _0x9c2f44={'documents':_0xd700e9['map'](_0x4053d0=>({'content':_0x4053d0['content'],'attributes':{'version':_0x4053d0['version'],'sessionId':_0x4053d0['sessionId'],'channelId':_0x4053d0['channelId'],'rootName':_0x4053d0['rootName'],'selections':_0x4053d0['selections']},...void 0x0!==_0x4053d0['name']?{'name':_0x4053d0['name']}:{},...void 0x0!==_0x4053d0['description']?{'description':_0x4053d0['description']}:{}}))},_0x3afab3=this['_sendApiRequest']('/conversations/'+_0x194642+'/documents/batch','POST',_0x9c2f44);return{'getIds':async()=>(await _0x3afab3['request'])['json'](),'abortController':_0x3afab3['abortController']};}['fetchDocuments'](_0x4bd7a6,_0x3ef3ca){const _0xf97c9=new URLSearchParams();_0xf97c9['append']('documentIds',_0x3ef3ca['join'](','));const _0x2ef99a=this['_sendApiRequest']('/conversations/'+_0x4bd7a6+'/documents/batch?'+_0xf97c9['toString'](),'GET');return{'getDocuments':async()=>(await _0x2ef99a['request'])['json'](),'abortController':_0x2ef99a['abortController']};}['fetchConversations'](_0x37884c,_0x1830b2={}){const _0x5f25c5=new URLSearchParams();_0x5f25c5['append']('group',_0x37884c),_0x5f25c5['append']('excludeEmpty',!0x1!==_0x1830b2['excludeEmpty']?'true':'false'),_0x5f25c5['append']('limit',_0x1830b2['limit']?_0x1830b2['limit']['toString']():'100'),_0x5f25c5['append']('sortBy',_0x1830b2['sortBy']?_0x1830b2['sortBy']:'createdAt'),_0x5f25c5['append']('order',_0x1830b2['order']?_0x1830b2['order']:'desc');const _0x193594=this['_sendApiRequest']('/conversations?'+_0x5f25c5['toString'](),'GET');return{'getConversations':async()=>{const _0x46c3d7=await _0x193594['request'];return(await _0x46c3d7['json']())['items'];},'abortController':_0x193594['abortController']};}['deleteConversation'](_0x113713){const _0x32b1c9=this['_sendApiRequest']('/conversations/'+_0x113713,'DELETE');return{'execute':async()=>{await _0x32b1c9['request'];},'abortController':_0x32b1c9['abortController']};}['updateConversation'](_0x5eb62e,_0x343a34){const _0x5a36e4=this['_sendApiRequest']('/conversations/'+_0x5eb62e,'PATCH',_0x343a34);return{'getResult':async()=>(await _0x5a36e4['request'],_0x343a34),'abortController':_0x5a36e4['abortController']};}['fetchConversation'](_0x17d6ae){const _0xd921f3=this['_sendApiRequest']('/conversations/'+_0x17d6ae,'GET');return{'getConversation':async()=>(await _0xd921f3['request'])['json'](),'abortController':_0xd921f3['abortController']};}['fetchConversationMessages'](_0x156f62){const _0x2ed19d=this['_sendApiRequest']('/conversations/'+_0x156f62+'/messages','GET');return{'getMessages':async()=>{const _0x11130c=await _0x2ed19d['request'];return(await _0x11130c['json']())['items'];},'abortController':_0x2ed19d['abortController']};}['uploadUrl'](_0xaa885a,_0x1438b4,_0x2af88a){const _0x3d9996=this['_sendApiRequest']('/conversations/'+_0xaa885a+'/web-resources','POST',{'url':_0x1438b4,'attributes':_0x2af88a});return{'getId':async()=>(await _0x3d9996['request'])['json'](),'abortController':_0x3d9996['abortController']};}['getModels'](_0x11d1f3='en'){const _0x447de8=new URLSearchParams();_0x447de8['append']('language',_0x11d1f3);const _0x4b7639='/models/1?'+_0x447de8['toString'](),_0x5cc0a8=this['_sendApiRequest'](_0x4b7639,'GET',void 0x0,!0x0);return{'list':async()=>await(await _0x5cc0a8['request'])['json'](),'abortController':_0x5cc0a8['abortController']};}['deleteFile'](_0x51b8b3,_0xe3e81d){const _0x9880b0=this['_sendApiRequest']('/conversations/'+_0x51b8b3+'/files/'+_0xe3e81d,'DELETE');return{'execute':async()=>{await _0x9880b0['request'];},'abortController':_0x9880b0['abortController']};}['deleteDocument'](_0x5901d5,_0xfbc851){const _0x2e21c7=this['_sendApiRequest']('/conversations/'+_0x5901d5+'/documents/'+_0xfbc851,'DELETE');return{'execute':async()=>{await _0x2e21c7['request'];},'abortController':_0x2e21c7['abortController']};}['deleteWebResource'](_0x387773,_0x1dee64){const _0x3fbff0=this['_sendApiRequest']('/conversations/'+_0x387773+'/web-resources/'+_0x1dee64,'DELETE');return{'execute':async()=>{await _0x3fbff0['request'];},'abortController':_0x3fbff0['abortController']};}['callSystemReview']({reviewName:_0x4816a8,content:_0x136958,args:_0x2670fc}){const _0x107682=this['_sendApiRequest']('/reviews/system/'+_0x4816a8+'/calls','POST',{'content':[{'type':'text','content':_0x136958}],'args':_0x2670fc});return{'getStream':async()=>{const _0x3bccb7=(await _0x107682['request'])['body'];return this['_getStreamReader'](_0x3bccb7);},'abortController':_0x107682['abortController']};}['callCustomReview']({content:_0x235d11,prompt:_0x2a7b7e,model:_0x3e0fb9}){const _0x5a77cb=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x235d11}],'prompt':_0x2a7b7e,'model':_0x3e0fb9});return{'getStream':async()=>{const _0x588b0d=(await _0x5a77cb['request'])['body'];return this['_getStreamReader'](_0x588b0d);},'abortController':_0x5a77cb['abortController']};}['upsertAIChatRating'](_0x44803e,_0x138fe8,_0x2ce287){const _0x5df62d=this['_sendApiRequest']('/conversations/'+_0x44803e+'/messages/'+_0x138fe8+'/ratings','PUT',{'positiveCount':_0x2ce287['positiveCount'],'totalCount':_0x2ce287['totalCount'],'modificationId':_0x2ce287['modificationId']});return{'execute':async()=>{await _0x5df62d['request'];},'abortController':_0x5df62d['abortController']};}['upsertAIActionRating'](_0x21d8a4,_0x4dcd60,_0x2d578c){const _0x47c040=this['_sendApiRequest']('/actions/system/'+_0x21d8a4+'/calls/'+_0x4dcd60+'/ratings','PUT',{'positiveCount':_0x2d578c['positiveCount'],'totalCount':_0x2d578c['totalCount']});return{'execute':async()=>{await _0x47c040['request'];},'abortController':_0x47c040['abortController']};}['upsertCustomAIActionRating'](_0x40b528,_0x4ad819){const _0x5e889b=this['_sendApiRequest']('/actions/custom/calls/'+_0x40b528+'/ratings','PUT',{'positiveCount':_0x4ad819['positiveCount'],'totalCount':_0x4ad819['totalCount']});return{'execute':async()=>{await _0x5e889b['request'];},'abortController':_0x5e889b['abortController']};}['upsertAIReviewRating'](_0x115c16,_0x55a33a,_0x54b772,_0x50beb9){const _0x368642=this['_sendApiRequest']('/reviews/system/'+_0x115c16+'/calls/'+_0x55a33a+'/ratings','PUT',{'positiveCount':_0x54b772['positiveCount'],'totalCount':_0x54b772['totalCount'],'dataId':_0x50beb9});return{'execute':async()=>{await _0x368642['request'];},'abortController':_0x368642['abortController']};}['upsertCustomAIReviewRating'](_0xca8334,_0x1f044b,_0x275a95){const _0x2d2c65=this['_sendApiRequest']('/reviews/custom/calls/'+_0xca8334+'/ratings','PUT',{'positiveCount':_0x1f044b['positiveCount'],'totalCount':_0x1f044b['totalCount'],'dataId':_0x275a95});return{'execute':async()=>{await _0x2d2c65['request'];},'abortController':_0x2d2c65['abortController']};}['_sendApiRequest'](_0x5499f5,_0x48d505,_0x481736,_0x491da8=!0x1){const _0x12f609=new AbortController(),_0x7c7839=_0x491da8?_0x48d505+':'+_0x5499f5:null;if(_0x7c7839){const _0x467994=this['_responseCache']['get'](_0x7c7839);if(_0x467994)return{'request':_0x467994['then'](_0x367dfa=>_0x367dfa['clone']()),'abortController':_0x12f609};}const _0x17a05c=_0x481736 instanceof FormData,_0xb50fb1={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0x31c75c['version']};_0x481736&&!_0x17a05c&&(_0xb50fb1['Content-Type']='application/json');const _0x4bbd79={'method':_0x48d505,'headers':_0xb50fb1,'signal':_0x12f609['signal']};_0x481736&&(_0x4bbd79['body']=_0x17a05c?_0x481736:JSON['stringify'](_0x481736));const _0x216d80=fetch(''+this['_apiUrl']+_0x5499f5,_0x4bbd79)['catch'](_0x45dbce=>{_0x7c7839&&this['_responseCache']['delete'](_0x7c7839),this['_handleError'](_0x45dbce);})['then'](_0x23adc0=>_0x23adc0['ok']?_0x23adc0:_0x23adc0['json']()['then'](_0x4377ba=>{throw _0x7c7839&&this['_responseCache']['delete'](_0x7c7839),{'url':this['_apiUrl'],'path':_0x5499f5,'method':_0x48d505,'body':_0x481736,'status':(_0x23adc0||{})['status'],'statusText':(_0x23adc0||{})['statusText'],'code':_0x4377ba['code'],'message':_0x4377ba['message'],'traceId':_0x4377ba['traceId']};}));return _0x7c7839&&this['_responseCache']['set'](_0x7c7839,_0x216d80['then'](_0x44626f=>_0x44626f['clone']())),{'request':_0x216d80,'abortController':_0x12f609};}async*['_getStreamReader'](_0x11d8f3){const _0x9bc4d7=[],_0x5bb163=_0x11d8f3['getReader'](),_0x1ff4b6=Dt({'onError':_0x589fa6=>{this['_handleError'](_0x589fa6);},'onEvent':_0x5e1879=>{_0x5e1879['data']=JSON['parse'](_0x5e1879['data']),_0x9bc4d7['push'](_0x5e1879);}});try{let _0x237951=!0x1;for(;!_0x237951;){const {done:_0x6cf20a,value:_0x56b73e}=await _0x5bb163['read']();_0x6cf20a&&(_0x237951=!0x0),_0x1ff4b6['feed'](this['_decoder']['decode'](_0x56b73e,{'stream':!0x0})),yield*_0x9bc4d7,_0x9bc4d7['length']=0x0;}}catch(_0x594005){this['_handleError'](_0x594005);}finally{_0x5bb163['releaseLock'](),_0x1ff4b6['reset']();}}['_handleError'](_0x52903b){if(_0x52903b instanceof _0x31c75c['CKEditorError'])throw _0x52903b;if(_0x52903b instanceof Error&&'AbortError'===_0x52903b['name'])throw new _0x31c75c['CKEditorError']('ai-request-aborted',this,{'originalError':_0x52903b});throw new _0x31c75c['CKEditorError']('ai-request-failed',this,{'originalError':_0x52903b});}}function Qt(_0x1235d1,_0x23aa86,_0x92d735){const t=_0x1235d1['t'];switch(_0x23aa86){case'AI_SUGGESTION_HEADER_TITLE':return t({'id':'AI_SUGGESTION_HEADER_TITLE','string':'Proposed\x20changes'});case'AI_SUGGESTION_BUTTON_SHOW_CHANGES':return t({'id':'AI_SUGGESTION_BUTTON_SHOW_CHANGES','string':'Show\x20details'});case'AI_MINI_TOOLBAR_LIKE':return t({'id':'AI_MINI_TOOLBAR_LIKE','string':'I\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_DISLIKE':return t({'id':'AI_MINI_TOOLBAR_DISLIKE','string':'I\x20don\x27t\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_COPY':return t({'id':'AI_MINI_TOOLBAR_COPY','string':'Copy\x20to\x20clipboard'});case'AI_SUGGESTION_CONTENT_PART_TITLE':return t({'id':'AI_SUGGESTION_CONTENT_PART_TITLE','string':'Change\x20%0'},_0x92d735);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_OUTDATED','string':'Change\x20is\x20outdated'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_APPLY':return t({'id':'AI_SUGGESTION_CONTENT_PART_APPLY','string':'Apply\x20change'});case'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_REJECT':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECT','string':'Reject\x20change'});case'AI_SUGGESTION_CONTENT_PART_REMOVED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REMOVED','string':'Removed\x20content.\x20Use\x20\x22Show\x20details\x22\x20to\x20learn\x20more.'});case'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','string':'Approved'});case'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','string':'Rejected'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','string':'Outdated'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'Chat'});case'AI_CHAT_SOURCES_HEADER':return t({'id':'AI_CHAT_SOURCES_HEADER','string':'Sources'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi!\x20I\x20can\x20help\x20you\x20draft,\x20rewrite,\x20and\x20improve\x20your\x20text,\x20explore\x20ideas,\x20research\x20topics,\x20and\x20solve\x20problems.\x20How\x20can\x20I\x20help\x20right\x20now?'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'Response\x20stopped.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','string':'Unable\x20to\x20load\x20chosen\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x92d735);case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x92d735);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL':return t({'id':'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','string':'Selected\x20content'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x92d735);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_INVALID_REQUEST':return t({'id':'AI_CHAT_INVALID_REQUEST','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','string':'The\x20file\x20type\x20is\x20not\x20supported.\x20Please\x20upload\x20a\x20different\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_LARGE':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_LARGE','string':'The\x20file\x20is\x20too\x20large.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','string':'The\x20file\x20has\x20too\x20many\x20pages.\x20Please\x20upload\x20a\x20file\x20with\x20fewer\x20pages.'});case'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED':return t({'id':'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','string':'The\x20form\x20data\x20size\x20limits\x20are\x20exceeded.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20using\x20reasoning\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20using\x20reasoning\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'AI\x20used\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'AI\x20used\x20search\x20and\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','string':'Suggest\x20all'},_0x92d735);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x92d735);case'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','string':'Apply\x20all'});case'AI_CHAT_SUGGESTION_ACTION_APPLY':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY','string':'Apply'});case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x92d735);case'AI_CHAT_MODEL_SELECTOR_GROUP':return t({'id':'AI_CHAT_MODEL_SELECTOR_GROUP','string':'Models'});case'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','string':'Select\x20a\x20model'});case'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','string':'Start\x20a\x20new\x20conversation\x20to\x20change\x20the\x20model'});case'AI_CHAT_CAPABILITIES_YES':return t({'id':'AI_CHAT_CAPABILITIES_YES','string':'Yes'});case'AI_CHAT_CAPABILITIES_NO':return t({'id':'AI_CHAT_CAPABILITIES_NO','string':'No'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','string':'The\x20selected\x20model\x20is\x20no\x20longer\x20available,\x20so\x20you\x20cannot\x20continue\x20this\x20conversation.\x20Please\x20'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','string':'start\x20a\x20new\x20one.'});case'AI_CHAT_CONTEXT_SOURCES_LABEL':return t({'id':'AI_CHAT_CONTEXT_SOURCES_LABEL','string':'Sources'});case'AI_CHAT_HISTORY_HEADING':return t({'id':'AI_CHAT_HISTORY_HEADING','string':'Chat\x20History'});case'AI_CHAT_HISTORY_SEARCH_LABEL':return t({'id':'AI_CHAT_HISTORY_SEARCH_LABEL','string':'Search\x20history'});case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','string':'No\x20chats\x20were\x20found\x20matching\x20\x22%0\x22.'},_0x92d735);case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','string':'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.'});case'AI_CHAT_HISTORY_EMPTY_MESSAGE':return t({'id':'AI_CHAT_HISTORY_EMPTY_MESSAGE','string':'Your\x20chat\x20history\x20for\x20current\x20document\x20will\x20appear\x20here.'});case'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON':return t({'id':'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON','string':'Go\x20to\x20chat'});case'AI_CHAT_HISTORY_PIN_BUTTON':return t({'id':'AI_CHAT_HISTORY_PIN_BUTTON','string':'Pin'});case'AI_CHAT_HISTORY_SHOW_MORE_ITEMS':return t({'id':'AI_CHAT_HISTORY_SHOW_MORE_ITEMS','string':'Show\x20more\x20items'});case'AI_CHAT_HISTORY_EDIT_NAME':return t({'id':'AI_CHAT_HISTORY_EDIT_NAME','string':'Edit\x20name'});case'AI_CHAT_HISTORY_REMOVE':return t({'id':'AI_CHAT_HISTORY_REMOVE','string':'Remove'});case'AI_CHAT_HISTORY_REMOVE_CONFIRM':return t({'id':'AI_CHAT_HISTORY_REMOVE_CONFIRM','string':'Do\x20you\x20want\x20to\x20remove\x20this\x20chat?'});case'AI_CHAT_HISTORY_ACCEPT':return t({'id':'AI_CHAT_HISTORY_ACCEPT','string':'Accept'});case'AI_CHAT_HISTORY_CANCEL':return t({'id':'AI_CHAT_HISTORY_CANCEL','string':'Cancel'});case'AI_CHAT_HISTORY_LOADING_REMOVING':return t({'id':'AI_CHAT_HISTORY_LOADING_REMOVING','string':'Removing\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_RENAMING':return t({'id':'AI_CHAT_HISTORY_LOADING_RENAMING','string':'Renaming\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_PINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_PINNING','string':'Pinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_UNPINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_UNPINNING','string':'Unpinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_CATEGORY_PINNED':return t({'id':'AI_CHAT_HISTORY_CATEGORY_PINNED','string':'Pinned'});case'AI_CHAT_HISTORY_CATEGORY_TODAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_TODAY','string':'Today'});case'AI_CHAT_HISTORY_CATEGORY_YESTERDAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_YESTERDAY','string':'Yesterday'});case'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','string':'Last\x2014\x20days'});case'AI_CHAT_HISTORY_CATEGORY_LATER':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LATER','string':'Later'});case'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','string':'Failed\x20to\x20change\x20the\x20\x22%0\x22\x20chat\x20name.\x20Please\x20try\x20again\x20later.'},_0x92d735);case'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','string':'Failed\x20to\x20%0\x20the\x20\x22%1\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x92d735);case'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM':return t({'id':'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','string':'Failed\x20to\x20delete\x20the\x20\x22%0\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x92d735);case'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS':return t({'id':'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','string':'Failed\x20to\x20load\x20the\x20chat\x20history.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_ERROR_GENERIC':return t({'id':'AI_CHAT_HISTORY_ERROR_GENERIC','string':'Something\x20went\x20wrong.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_PIN_ACTION':return t({'id':'AI_CHAT_HISTORY_PIN_ACTION','string':'pin'});case'AI_CHAT_HISTORY_UNPIN_ACTION':return t({'id':'AI_CHAT_HISTORY_UNPIN_ACTION','string':'unpin'});case'AI_BALLOON_HEADER_TITLE':return t({'id':'AI_BALLOON_HEADER_TITLE','string':'Change\x20%0'},_0x92d735);case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_LABEL':return t({'id':'AI_BALLOON_NEXT_LABEL','string':'Next'});case'AI_BALLOON_PREVIOUS_LABEL':return t({'id':'AI_BALLOON_PREVIOUS_LABEL','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'This\x20change\x20is\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20of\x20the\x20changes\x20are\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Retry'});case'AI_ACTIONS_PREVIOUS_INTERACTION':return t({'id':'AI_ACTIONS_PREVIOUS_INTERACTION','string':'Previous'});case'AI_ACTIONS_NEXT_INTERACTION':return t({'id':'AI_ACTIONS_NEXT_INTERACTION','string':'Next'});case'AI_MODEL_NAME_AUTO':return t({'id':'AI_MODEL_NAME_AUTO','string':'Auto'});case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_SEARCH':return t({'id':'AI_QUICK_ACTIONS_SEARCH','string':'Search\x20AI\x20commands'});case'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','string':'No\x20AI\x20commands\x20found'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_TRANSLATE_SPANISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_SPANISH','string':'Spanish'});case'AI_QUICK_ACTIONS_TRANSLATE_GERMAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_GERMAN','string':'German'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x92d735);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});case'AI_ACTIONS_GENERIC_ERROR':return t({'id':'AI_ACTIONS_GENERIC_ERROR','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20response.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_BALLOON_SELECTION_REMOVED_ERROR':return t({'id':'AI_BALLOON_SELECTION_REMOVED_ERROR','string':'Changes\x20cannot\x20be\x20applied.\x20The\x20original\x20content\x20no\x20longer\x20exists.'});case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.'});case'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT':return t({'id':'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20changes\x20to\x20suggest.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE':return t({'id':'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','string':'AI\x20Review\x20initialized\x20with\x20errors.\x20Some\x20features\x20may\x20not\x20be\x20available\x20or\x20work\x20properly.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review'});case'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR':return t({'id':'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR','string':'Prompt\x20must\x20not\x20be\x20empty'});case'AI_REVIEW_CHECK_CUSTOM_TITLE':return t({'id':'AI_REVIEW_CHECK_CUSTOM_TITLE','string':'Custom\x20command'});case'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION','string':'Enter\x20a\x20custom\x20command\x20for\x20a\x20specific\x20review.'});case'AI_REVIEW_CHECK_CORRECTNESS_TITLE':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_TITLE','string':'Proofread'});case'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION','string':'Check\x20the\x20text\x20for\x20errors\x20in\x20grammar,\x20spelling,\x20and\x20punctuation.'});case'AI_REVIEW_CHECK_CLARITY_TITLE':return t({'id':'AI_REVIEW_CHECK_CLARITY_TITLE','string':'Improve\x20clarity'});case'AI_REVIEW_CHECK_CLARITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CLARITY_DESCRIPTION','string':'Improve\x20the\x20logical\x20structure\x20and\x20precision\x20for\x20clearer\x20message.'});case'AI_REVIEW_CHECK_READABILITY_TITLE':return t({'id':'AI_REVIEW_CHECK_READABILITY_TITLE','string':'Improve\x20readability'});case'AI_REVIEW_CHECK_READABILITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_READABILITY_DESCRIPTION','string':'Adjust\x20sentence\x20structure\x20and\x20word\x20choice\x20for\x20an\x20easier\x20read.'});case'AI_REVIEW_CHECK_MAKE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TITLE','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_DESCRIPTION','string':'Shorten\x20or\x20lengthen\x20the\x20text\x20as\x20needed.'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER','string':'Longer'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER','string':'Shorter'});case'AI_REVIEW_CHECK_MAKE_TONE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_TITLE','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION','string':'Modify\x20the\x20text\x20to\x20a\x20desired\x20tone\x20and\x20style.'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL','string':'Casual'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT','string':'Direct'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY','string':'Friendly'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT','string':'Confident'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL','string':'Professional'});case'AI_REVIEW_CHECK_TRANSLATE_TITLE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_TITLE','string':'Translate'});case'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION','string':'Translate\x20the\x20text\x20into\x20another\x20language.'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL','string':'Select\x20language'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH','string':'English'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH','string':'Spanish'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH','string':'French'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN','string':'German'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE','string':'Japanese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN','string':'Russian'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE','string':'Portuguese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN','string':'Korean'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN','string':'Italian'});case'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','string':'Accepted'});case'AI_REVIEW_MODE_CHECK_STATUS_REJECTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_REJECTED','string':'Dismissed'});case'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','string':'Outdated'});case'AI_TOGGLE_BUTTON_LABEL':return t({'id':'AI_TOGGLE_BUTTON_LABEL','string':'AI'});case'AI_TRANSLATE_ACCEPT_ALL':return t({'id':'AI_TRANSLATE_ACCEPT_ALL','string':'Accept\x20translation'});case'AI_TRANSLATE_FINISH_HEADER_TITLE':return t({'id':'AI_TRANSLATE_FINISH_HEADER_TITLE','string':'Translation\x20complete.\x20Finish\x20when\x20ready.'});case'AI_TRANSLATE_EMPTY_RESULTS_TEXT':return t({'id':'AI_TRANSLATE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20translations\x20to\x20review.'});case'AI_TRANSLATE_FINISH_BUTTON_LABEL':return t({'id':'AI_TRANSLATE_FINISH_BUTTON_LABEL','string':'Finish\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','string':'Content\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','string':'A\x20dedicated\x20mode\x20for\x20translating\x20the\x20entire\x20text.'});case'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','string':'Translating\x20to'});case'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','string':'Translated\x20to'});case'AI_TRANSLATE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_TRANSLATE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20translations\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','string':'This\x20conversation\x20is\x20loaded\x20from\x20chat\x20history\x20from\x20a\x20previous\x20session,\x20so\x20you\x20can’t\x20apply,\x20reject,\x20or\x20suggest\x20changes.'});case'AI_SUGGESTION_DISABLED_FEED_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_FEED_MESSAGE','string':'Actions\x20aren’t\x20available\x20for\x20changes\x20from\x20a\x20previous\x20session.'});default:return _0x23aa86;}}const Vt='ck-ai-button-primary',Ut='ck-ai-button-secondary',Bt='ck-ai-button-tertiary';function jt(_0x2c7b2f,_0x1941fc){const _0x422c1c=new _0x31c75c['ButtonView'](_0x2c7b2f),_0x36069f=Qt(_0x2c7b2f,'AI_TABS_LABEL_MINIMIZE'),_0x5bdb25=Qt(_0x2c7b2f,'AI_TABS_LABEL_MAXIMIZE');return _0x422c1c['set']({'withText':!0x1,'icon':_0x31c75c['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+Bt}),_0x422c1c['bind']('label')['to'](_0x1941fc,'isMaximized',_0x48c383=>_0x48c383?_0x36069f:_0x5bdb25),_0x422c1c['bind']('icon')['to'](_0x1941fc,'isMaximized',_0xe291f5=>_0xe291f5?_0x31c75c['IconMinimize']:_0x31c75c['IconMaximize']),_0x422c1c['bind']('isOn')['to'](_0x1941fc,'isMaximized'),_0x422c1c['on']('execute',()=>{_0x1941fc['fire']('resizeTabs');}),_0x422c1c;}const Ft=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\x5cbfms\x7f\u0084\u008b\u0090\u0095\u0098¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp\u009d¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\x00\x00ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\x00ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\x22䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀\u205f\u200aSpace;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\x00ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\x00ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\x00\x00ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ\u2000\x00\u2008⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\x00\x00᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\x00ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻¾䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\x00⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\x00⧣p肻\u00a0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\x00\x00⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'['split']('')['map'](_0x292624=>_0x292624['charCodeAt'](0x0))),Ht=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x3f83cd=>_0x3f83cd['charCodeAt'](0x0)));var Gt;const Zt=new Map([[0x0,0xfffd],[0x80,0x20ac],[0x82,0x201a],[0x83,0x192],[0x84,0x201e],[0x85,0x2026],[0x86,0x2020],[0x87,0x2021],[0x88,0x2c6],[0x89,0x2030],[0x8a,0x160],[0x8b,0x2039],[0x8c,0x152],[0x8e,0x17d],[0x91,0x2018],[0x92,0x2019],[0x93,0x201c],[0x94,0x201d],[0x95,0x2022],[0x96,0x2013],[0x97,0x2014],[0x98,0x2dc],[0x99,0x2122],[0x9a,0x161],[0x9b,0x203a],[0x9c,0x153],[0x9e,0x17e],[0x9f,0x178]]),Xt=null!==(Gt=String['fromCodePoint'])&&void 0x0!==Gt?Gt:function(_0x525403){let _0x48ab2c='';return _0x525403>0xffff&&(_0x525403-=0x10000,_0x48ab2c+=String['fromCharCode'](_0x525403>>>0xa&0x3ff|0xd800),_0x525403=0xdc00|0x3ff&_0x525403),_0x48ab2c+=String['fromCharCode'](_0x525403),_0x48ab2c;};var qt;!function(_0x27792f){_0x27792f[_0x27792f['NUM']=0x23]='NUM',_0x27792f[_0x27792f['SEMI']=0x3b]='SEMI',_0x27792f[_0x27792f['EQUALS']=0x3d]='EQUALS',_0x27792f[_0x27792f['ZERO']=0x30]='ZERO',_0x27792f[_0x27792f['NINE']=0x39]='NINE',_0x27792f[_0x27792f['LOWER_A']=0x61]='LOWER_A',_0x27792f[_0x27792f['LOWER_F']=0x66]='LOWER_F',_0x27792f[_0x27792f['LOWER_X']=0x78]='LOWER_X',_0x27792f[_0x27792f['LOWER_Z']=0x7a]='LOWER_Z',_0x27792f[_0x27792f['UPPER_A']=0x41]='UPPER_A',_0x27792f[_0x27792f['UPPER_F']=0x46]='UPPER_F',_0x27792f[_0x27792f['UPPER_Z']=0x5a]='UPPER_Z';}(qt||(qt={}));var Wt,zt,Yt,Kt,Jt,te;function _0x5ceaeb(_0x4f7952){return _0x4f7952>=qt['ZERO']&&_0x4f7952<=qt['NINE'];}function _0x33c13e(_0x187d24){return _0x187d24>=qt['UPPER_A']&&_0x187d24<=qt['UPPER_F']||_0x187d24>=qt['LOWER_A']&&_0x187d24<=qt['LOWER_F'];}function _0x2a5237(_0xf0bb5c){return _0xf0bb5c===qt['EQUALS']||function(_0x6cf90c){return _0x6cf90c>=qt['UPPER_A']&&_0x6cf90c<=qt['UPPER_Z']||_0x6cf90c>=qt['LOWER_A']&&_0x6cf90c<=qt['LOWER_Z']||_0x5ceaeb(_0x6cf90c);}(_0xf0bb5c);}!function(_0x538753){_0x538753[_0x538753['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x538753[_0x538753['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x538753[_0x538753['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(Wt||(Wt={})),function(_0xe14420){_0xe14420[_0xe14420['EntityStart']=0x0]='EntityStart',_0xe14420[_0xe14420['NumericStart']=0x1]='NumericStart',_0xe14420[_0xe14420['NumericDecimal']=0x2]='NumericDecimal',_0xe14420[_0xe14420['NumericHex']=0x3]='NumericHex',_0xe14420[_0xe14420['NamedEntity']=0x4]='NamedEntity';}(zt||(zt={})),function(_0x393d93){_0x393d93[_0x393d93['Legacy']=0x0]='Legacy',_0x393d93[_0x393d93['Strict']=0x1]='Strict',_0x393d93[_0x393d93['Attribute']=0x2]='Attribute';}(Yt||(Yt={}));class EntityDecoder{constructor(_0x11652e,_0x4ac4f7,_0x24815e){this['decodeTree']=_0x11652e,this['emitCodePoint']=_0x4ac4f7,this['errors']=_0x24815e,this['state']=zt['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=Yt['Strict'];}['startEntity'](_0x5ac1d1){this['decodeMode']=_0x5ac1d1,this['state']=zt['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x1f1fb5,_0x18377d){switch(this['state']){case zt['EntityStart']:return _0x1f1fb5['charCodeAt'](_0x18377d)===qt['NUM']?(this['state']=zt['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x1f1fb5,_0x18377d+0x1)):(this['state']=zt['NamedEntity'],this['stateNamedEntity'](_0x1f1fb5,_0x18377d));case zt['NumericStart']:return this['stateNumericStart'](_0x1f1fb5,_0x18377d);case zt['NumericDecimal']:return this['stateNumericDecimal'](_0x1f1fb5,_0x18377d);case zt['NumericHex']:return this['stateNumericHex'](_0x1f1fb5,_0x18377d);case zt['NamedEntity']:return this['stateNamedEntity'](_0x1f1fb5,_0x18377d);}}['stateNumericStart'](_0x44eac8,_0x27498e){return _0x27498e>=_0x44eac8['length']?-0x1:(0x20|_0x44eac8['charCodeAt'](_0x27498e))===qt['LOWER_X']?(this['state']=zt['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x44eac8,_0x27498e+0x1)):(this['state']=zt['NumericDecimal'],this['stateNumericDecimal'](_0x44eac8,_0x27498e));}['addToNumericResult'](_0x4b0d10,_0x198f01,_0x4734d4,_0x1b13e0){if(_0x198f01!==_0x4734d4){const _0x5b1319=_0x4734d4-_0x198f01;this['result']=this['result']*Math['pow'](_0x1b13e0,_0x5b1319)+Number['parseInt'](_0x4b0d10['substr'](_0x198f01,_0x5b1319),_0x1b13e0),this['consumed']+=_0x5b1319;}}['stateNumericHex'](_0x177104,_0x53cf38){const _0x131b64=_0x53cf38;for(;_0x53cf38<_0x177104['length'];){const _0x54a1ff=_0x177104['charCodeAt'](_0x53cf38);if(!_0x5ceaeb(_0x54a1ff)&&!_0x33c13e(_0x54a1ff))return this['addToNumericResult'](_0x177104,_0x131b64,_0x53cf38,0x10),this['emitNumericEntity'](_0x54a1ff,0x3);_0x53cf38+=0x1;}return this['addToNumericResult'](_0x177104,_0x131b64,_0x53cf38,0x10),-0x1;}['stateNumericDecimal'](_0x4f7b25,_0x511fc4){const _0x2beb45=_0x511fc4;for(;_0x511fc4<_0x4f7b25['length'];){const _0x176af6=_0x4f7b25['charCodeAt'](_0x511fc4);if(!_0x5ceaeb(_0x176af6))return this['addToNumericResult'](_0x4f7b25,_0x2beb45,_0x511fc4,0xa),this['emitNumericEntity'](_0x176af6,0x2);_0x511fc4+=0x1;}return this['addToNumericResult'](_0x4f7b25,_0x2beb45,_0x511fc4,0xa),-0x1;}['emitNumericEntity'](_0x49d231,_0x326ab8){var _0x5679b5;if(this['consumed']<=_0x326ab8)return null===(_0x5679b5=this['errors'])||void 0x0===_0x5679b5||_0x5679b5['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x49d231===qt['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===Yt['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x21edce){var _0x4373b1;return _0x21edce>=0xd800&&_0x21edce<=0xdfff||_0x21edce>0x10ffff?0xfffd:null!==(_0x4373b1=Zt['get'](_0x21edce))&&void 0x0!==_0x4373b1?_0x4373b1:_0x21edce;}(this['result']),this['consumed']),this['errors']&&(_0x49d231!==qt['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x35acaa,_0x48235a){const {decodeTree:_0x550803}=this;let _0x2a9bee=_0x550803[this['treeIndex']],_0x1b2e8f=(_0x2a9bee&Wt['VALUE_LENGTH'])>>0xe;for(;_0x48235a<_0x35acaa['length'];_0x48235a++,this['excess']++){const _0x3a6264=_0x35acaa['charCodeAt'](_0x48235a);if(this['treeIndex']=_0x5842df(_0x550803,_0x2a9bee,this['treeIndex']+Math['max'](0x1,_0x1b2e8f),_0x3a6264),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===Yt['Attribute']&&(0x0===_0x1b2e8f||_0x2a5237(_0x3a6264))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x2a9bee=_0x550803[this['treeIndex']],_0x1b2e8f=(_0x2a9bee&Wt['VALUE_LENGTH'])>>0xe,0x0!==_0x1b2e8f){if(_0x3a6264===qt['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x1b2e8f,this['consumed']+this['excess']);this['decodeMode']!==Yt['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x199370;const {result:_0x1f5b38,decodeTree:_0x3b6059}=this,_0xcb94dc=(_0x3b6059[_0x1f5b38]&Wt['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x1f5b38,_0xcb94dc,this['consumed']),null===(_0x199370=this['errors'])||void 0x0===_0x199370||_0x199370['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x1dee74,_0x293e56,_0x68ef36){const {decodeTree:_0x36daa3}=this;return this['emitCodePoint'](0x1===_0x293e56?_0x36daa3[_0x1dee74]&~Wt['VALUE_LENGTH']:_0x36daa3[_0x1dee74+0x1],_0x68ef36),0x3===_0x293e56&&this['emitCodePoint'](_0x36daa3[_0x1dee74+0x2],_0x68ef36),_0x68ef36;}['end'](){var _0x1c193d;switch(this['state']){case zt['NamedEntity']:return 0x0===this['result']||this['decodeMode']===Yt['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case zt['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case zt['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case zt['NumericStart']:return null===(_0x1c193d=this['errors'])||void 0x0===_0x1c193d||_0x1c193d['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case zt['EntityStart']:return 0x0;}}}function _0x5842df(_0x2d8ffc,_0x545f7e,_0x2aa1ce,_0x4c7c90){const _0x14096e=(_0x545f7e&Wt['BRANCH_LENGTH'])>>0x7,_0x337593=_0x545f7e&Wt['JUMP_TABLE'];if(0x0===_0x14096e)return 0x0!==_0x337593&&_0x4c7c90===_0x337593?_0x2aa1ce:-0x1;if(_0x337593){const _0x576195=_0x4c7c90-_0x337593;return _0x576195<0x0||_0x576195>=_0x14096e?-0x1:_0x2d8ffc[_0x2aa1ce+_0x576195]-0x1;}let _0x43efb6=_0x2aa1ce,_0x2f6b4f=_0x43efb6+_0x14096e-0x1;for(;_0x43efb6<=_0x2f6b4f;){const _0x26f914=_0x43efb6+_0x2f6b4f>>>0x1,_0x13010b=_0x2d8ffc[_0x26f914];if(_0x13010b<_0x4c7c90)_0x43efb6=_0x26f914+0x1;else{if(!(_0x13010b>_0x4c7c90))return _0x2d8ffc[_0x26f914+_0x14096e];_0x2f6b4f=_0x26f914-0x1;}}return-0x1;}function _0x4ef4a4(_0x591b6f){return _0x591b6f===Kt['Space']||_0x591b6f===Kt['NewLine']||_0x591b6f===Kt['Tab']||_0x591b6f===Kt['FormFeed']||_0x591b6f===Kt['CarriageReturn'];}function _0x1a43e4(_0x2ccb8e){return _0x2ccb8e===Kt['Slash']||_0x2ccb8e===Kt['Gt']||_0x4ef4a4(_0x2ccb8e);}!function(_0x3b6b83){_0x3b6b83[_0x3b6b83['Tab']=0x9]='Tab',_0x3b6b83[_0x3b6b83['NewLine']=0xa]='NewLine',_0x3b6b83[_0x3b6b83['FormFeed']=0xc]='FormFeed',_0x3b6b83[_0x3b6b83['CarriageReturn']=0xd]='CarriageReturn',_0x3b6b83[_0x3b6b83['Space']=0x20]='Space',_0x3b6b83[_0x3b6b83['ExclamationMark']=0x21]='ExclamationMark',_0x3b6b83[_0x3b6b83['Number']=0x23]='Number',_0x3b6b83[_0x3b6b83['Amp']=0x26]='Amp',_0x3b6b83[_0x3b6b83['SingleQuote']=0x27]='SingleQuote',_0x3b6b83[_0x3b6b83['DoubleQuote']=0x22]='DoubleQuote',_0x3b6b83[_0x3b6b83['Dash']=0x2d]='Dash',_0x3b6b83[_0x3b6b83['Slash']=0x2f]='Slash',_0x3b6b83[_0x3b6b83['Zero']=0x30]='Zero',_0x3b6b83[_0x3b6b83['Nine']=0x39]='Nine',_0x3b6b83[_0x3b6b83['Semi']=0x3b]='Semi',_0x3b6b83[_0x3b6b83['Lt']=0x3c]='Lt',_0x3b6b83[_0x3b6b83['Eq']=0x3d]='Eq',_0x3b6b83[_0x3b6b83['Gt']=0x3e]='Gt',_0x3b6b83[_0x3b6b83['Questionmark']=0x3f]='Questionmark',_0x3b6b83[_0x3b6b83['UpperA']=0x41]='UpperA',_0x3b6b83[_0x3b6b83['LowerA']=0x61]='LowerA',_0x3b6b83[_0x3b6b83['UpperF']=0x46]='UpperF',_0x3b6b83[_0x3b6b83['LowerF']=0x66]='LowerF',_0x3b6b83[_0x3b6b83['UpperZ']=0x5a]='UpperZ',_0x3b6b83[_0x3b6b83['LowerZ']=0x7a]='LowerZ',_0x3b6b83[_0x3b6b83['LowerX']=0x78]='LowerX',_0x3b6b83[_0x3b6b83['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Kt||(Kt={})),function(_0x120455){_0x120455[_0x120455['Text']=0x1]='Text',_0x120455[_0x120455['BeforeTagName']=0x2]='BeforeTagName',_0x120455[_0x120455['InTagName']=0x3]='InTagName',_0x120455[_0x120455['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x120455[_0x120455['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x120455[_0x120455['InClosingTagName']=0x6]='InClosingTagName',_0x120455[_0x120455['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x120455[_0x120455['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x120455[_0x120455['InAttributeName']=0x9]='InAttributeName',_0x120455[_0x120455['AfterAttributeName']=0xa]='AfterAttributeName',_0x120455[_0x120455['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x120455[_0x120455['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x120455[_0x120455['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x120455[_0x120455['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x120455[_0x120455['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x120455[_0x120455['InDeclaration']=0x10]='InDeclaration',_0x120455[_0x120455['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x120455[_0x120455['BeforeComment']=0x12]='BeforeComment',_0x120455[_0x120455['CDATASequence']=0x13]='CDATASequence',_0x120455[_0x120455['InSpecialComment']=0x14]='InSpecialComment',_0x120455[_0x120455['InCommentLike']=0x15]='InCommentLike',_0x120455[_0x120455['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x120455[_0x120455['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x120455[_0x120455['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x120455[_0x120455['InSpecialTag']=0x19]='InSpecialTag',_0x120455[_0x120455['InEntity']=0x1a]='InEntity';}(Jt||(Jt={})),function(_0x11bc06){_0x11bc06[_0x11bc06['NoValue']=0x0]='NoValue',_0x11bc06[_0x11bc06['Unquoted']=0x1]='Unquoted',_0x11bc06[_0x11bc06['Single']=0x2]='Single',_0x11bc06[_0x11bc06['Double']=0x3]='Double';}(te||(te={}));const _0x32ccca={'Cdata':new Uint8Array([0x43,0x44,0x41,0x54,0x41,0x5b]),'CdataEnd':new Uint8Array([0x5d,0x5d,0x3e]),'CommentEnd':new Uint8Array([0x2d,0x2d,0x3e]),'ScriptEnd':new Uint8Array([0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74]),'StyleEnd':new Uint8Array([0x3c,0x2f,0x73,0x74,0x79,0x6c,0x65]),'TitleEnd':new Uint8Array([0x3c,0x2f,0x74,0x69,0x74,0x6c,0x65]),'TextareaEnd':new Uint8Array([0x3c,0x2f,0x74,0x65,0x78,0x74,0x61,0x72,0x65,0x61]),'XmpEnd':new Uint8Array([0x3c,0x2f,0x78,0x6d,0x70])};class _0x56e778{constructor({xmlMode:_0x3c45da=!0x1,decodeEntities:_0x3227c2=!0x0},_0x2e9008){this['cbs']=_0x2e9008,this['state']=Jt['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=Jt['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x3c45da,this['decodeEntities']=_0x3227c2,this['entityDecoder']=new EntityDecoder(_0x3c45da?Ht:Ft,(_0x255a1d,_0x57814a)=>this['emitCodePoint'](_0x255a1d,_0x57814a));}['reset'](){this['state']=Jt['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=Jt['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x5bef31){this['offset']+=this['buffer']['length'],this['buffer']=_0x5bef31,this['parse']();}['end'](){this['running']&&this['finish']();}['pause'](){this['running']=!0x1;}['resume'](){this['running']=!0x0,this['index']<this['buffer']['length']+this['offset']&&this['parse']();}['stateText'](_0x496037){_0x496037===Kt['Lt']||!this['decodeEntities']&&this['fastForwardTo'](Kt['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=Jt['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x496037===Kt['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x1c38d8){const _0x377c9a=this['sequenceIndex']===this['currentSequence']['length'];if(_0x377c9a?_0x1a43e4(_0x1c38d8):(0x20|_0x1c38d8)===this['currentSequence'][this['sequenceIndex']]){if(!_0x377c9a)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=Jt['InTagName'],this['stateInTagName'](_0x1c38d8);}['stateInSpecialTag'](_0x342007){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x342007===Kt['Gt']||_0x4ef4a4(_0x342007)){const _0x15be0b=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x15be0b){const _0x80a2b1=this['index'];this['index']=_0x15be0b,this['cbs']['ontext'](this['sectionStart'],_0x15be0b),this['index']=_0x80a2b1;}return this['isSpecial']=!0x1,this['sectionStart']=_0x15be0b+0x2,void this['stateInClosingTagName'](_0x342007);}this['sequenceIndex']=0x0;}(0x20|_0x342007)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x32ccca['TitleEnd']?this['decodeEntities']&&_0x342007===Kt['Amp']&&this['startEntity']():this['fastForwardTo'](Kt['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x342007===Kt['Lt']);}['stateCDATASequence'](_0x39257b){_0x39257b===_0x32ccca['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x32ccca['Cdata']['length']&&(this['state']=Jt['InCommentLike'],this['currentSequence']=_0x32ccca['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=Jt['InDeclaration'],this['stateInDeclaration'](_0x39257b));}['fastForwardTo'](_0x36b780){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x36b780)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x2d3ff7){_0x2d3ff7===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x32ccca['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],this['index'],0x2):this['cbs']['oncomment'](this['sectionStart'],this['index'],0x2),this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1,this['state']=Jt['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x2d3ff7!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x5d8a5d){return this['xmlMode']?!_0x1a43e4(_0x5d8a5d):function(_0x5334aa){return _0x5334aa>=Kt['LowerA']&&_0x5334aa<=Kt['LowerZ']||_0x5334aa>=Kt['UpperA']&&_0x5334aa<=Kt['UpperZ'];}(_0x5d8a5d);}['startSpecial'](_0x321b77,_0x29d913){this['isSpecial']=!0x0,this['currentSequence']=_0x321b77,this['sequenceIndex']=_0x29d913,this['state']=Jt['SpecialStartSequence'];}['stateBeforeTagName'](_0x11b252){if(_0x11b252===Kt['ExclamationMark'])this['state']=Jt['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x11b252===Kt['Questionmark'])this['state']=Jt['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x11b252)){const _0x31dd4e=0x20|_0x11b252;this['sectionStart']=this['index'],this['xmlMode']?this['state']=Jt['InTagName']:_0x31dd4e===_0x32ccca['ScriptEnd'][0x2]?this['state']=Jt['BeforeSpecialS']:_0x31dd4e===_0x32ccca['TitleEnd'][0x2]||_0x31dd4e===_0x32ccca['XmpEnd'][0x2]?this['state']=Jt['BeforeSpecialT']:this['state']=Jt['InTagName'];}else _0x11b252===Kt['Slash']?this['state']=Jt['BeforeClosingTagName']:(this['state']=Jt['Text'],this['stateText'](_0x11b252));}}}['stateInTagName'](_0x13968e){_0x1a43e4(_0x13968e)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x13968e));}['stateBeforeClosingTagName'](_0x152136){_0x4ef4a4(_0x152136)||(_0x152136===Kt['Gt']?this['state']=Jt['Text']:(this['state']=this['isTagStartChar'](_0x152136)?Jt['InClosingTagName']:Jt['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x4f239b){(_0x4f239b===Kt['Gt']||_0x4ef4a4(_0x4f239b))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Jt['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x4f239b));}['stateAfterClosingTagName'](_0x1cc63d){(_0x1cc63d===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x221c14){_0x221c14===Kt['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=Jt['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1):_0x221c14===Kt['Slash']?this['state']=Jt['InSelfClosingTag']:_0x4ef4a4(_0x221c14)||(this['state']=Jt['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x466f04){_0x466f04===Kt['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):_0x4ef4a4(_0x466f04)||(this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x466f04));}['stateInAttributeName'](_0x165b96){(_0x165b96===Kt['Eq']||_0x1a43e4(_0x165b96))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=Jt['AfterAttributeName'],this['stateAfterAttributeName'](_0x165b96));}['stateAfterAttributeName'](_0x2fd3fb){_0x2fd3fb===Kt['Eq']?this['state']=Jt['BeforeAttributeValue']:_0x2fd3fb===Kt['Slash']||_0x2fd3fb===Kt['Gt']?(this['cbs']['onattribend'](te['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x2fd3fb)):_0x4ef4a4(_0x2fd3fb)||(this['cbs']['onattribend'](te['NoValue'],this['sectionStart']),this['state']=Jt['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x58525a){_0x58525a===Kt['DoubleQuote']?(this['state']=Jt['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x58525a===Kt['SingleQuote']?(this['state']=Jt['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):_0x4ef4a4(_0x58525a)||(this['sectionStart']=this['index'],this['state']=Jt['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x58525a));}['handleInAttributeValue'](_0x304d05,_0x4857ef){_0x304d05===_0x4857ef||!this['decodeEntities']&&this['fastForwardTo'](_0x4857ef)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x4857ef===Kt['DoubleQuote']?te['Double']:te['Single'],this['index']+0x1),this['state']=Jt['BeforeAttributeName']):this['decodeEntities']&&_0x304d05===Kt['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x4c6280){this['handleInAttributeValue'](_0x4c6280,Kt['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x4479c4){this['handleInAttributeValue'](_0x4479c4,Kt['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x37d050){_0x4ef4a4(_0x37d050)||_0x37d050===Kt['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](te['Unquoted'],this['index']),this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x37d050)):this['decodeEntities']&&_0x37d050===Kt['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x282288){_0x282288===Kt['OpeningSquareBracket']?(this['state']=Jt['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x282288===Kt['Dash']?Jt['BeforeComment']:Jt['InDeclaration'];}['stateInDeclaration'](_0x3ce334){(_0x3ce334===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0xb65dce){(_0xb65dce===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x5a020d){_0x5a020d===Kt['Dash']?(this['state']=Jt['InCommentLike'],this['currentSequence']=_0x32ccca['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=Jt['InDeclaration'];}['stateInSpecialComment'](_0x53d441){(_0x53d441===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x513998){const _0x3f25b2=0x20|_0x513998;_0x3f25b2===_0x32ccca['ScriptEnd'][0x3]?this['startSpecial'](_0x32ccca['ScriptEnd'],0x4):_0x3f25b2===_0x32ccca['StyleEnd'][0x3]?this['startSpecial'](_0x32ccca['StyleEnd'],0x4):(this['state']=Jt['InTagName'],this['stateInTagName'](_0x513998));}['stateBeforeSpecialT'](_0x4f33a3){switch(0x20|_0x4f33a3){case _0x32ccca['TitleEnd'][0x3]:this['startSpecial'](_0x32ccca['TitleEnd'],0x4);break;case _0x32ccca['TextareaEnd'][0x3]:this['startSpecial'](_0x32ccca['TextareaEnd'],0x4);break;case _0x32ccca['XmpEnd'][0x3]:this['startSpecial'](_0x32ccca['XmpEnd'],0x4);break;default:this['state']=Jt['InTagName'],this['stateInTagName'](_0x4f33a3);}}['startEntity'](){this['baseState']=this['state'],this['state']=Jt['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?Yt['Strict']:this['baseState']===Jt['Text']||this['baseState']===Jt['InSpecialTag']?Yt['Legacy']:Yt['Attribute']);}['stateInEntity'](){const _0x590ea1=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x590ea1>=0x0?(this['state']=this['baseState'],0x0===_0x590ea1&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===Jt['Text']||this['state']===Jt['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==Jt['InAttributeValueDq']&&this['state']!==Jt['InAttributeValueSq']&&this['state']!==Jt['InAttributeValueNq']||(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=this['index']));}['shouldContinue'](){return this['index']<this['buffer']['length']+this['offset']&&this['running'];}['parse'](){for(;this['shouldContinue']();){const _0x12c866=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case Jt['Text']:this['stateText'](_0x12c866);break;case Jt['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x12c866);break;case Jt['InSpecialTag']:this['stateInSpecialTag'](_0x12c866);break;case Jt['CDATASequence']:this['stateCDATASequence'](_0x12c866);break;case Jt['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x12c866);break;case Jt['InAttributeName']:this['stateInAttributeName'](_0x12c866);break;case Jt['InCommentLike']:this['stateInCommentLike'](_0x12c866);break;case Jt['InSpecialComment']:this['stateInSpecialComment'](_0x12c866);break;case Jt['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x12c866);break;case Jt['InTagName']:this['stateInTagName'](_0x12c866);break;case Jt['InClosingTagName']:this['stateInClosingTagName'](_0x12c866);break;case Jt['BeforeTagName']:this['stateBeforeTagName'](_0x12c866);break;case Jt['AfterAttributeName']:this['stateAfterAttributeName'](_0x12c866);break;case Jt['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x12c866);break;case Jt['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x12c866);break;case Jt['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x12c866);break;case Jt['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x12c866);break;case Jt['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x12c866);break;case Jt['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x12c866);break;case Jt['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x12c866);break;case Jt['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x12c866);break;case Jt['InDeclaration']:this['stateInDeclaration'](_0x12c866);break;case Jt['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x12c866);break;case Jt['BeforeComment']:this['stateBeforeComment'](_0x12c866);break;case Jt['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x12c866);break;case Jt['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===Jt['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0xd51024=this['buffer']['length']+this['offset'];this['sectionStart']>=_0xd51024||(this['state']===Jt['InCommentLike']?this['currentSequence']===_0x32ccca['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0xd51024,0x0):this['cbs']['oncomment'](this['sectionStart'],_0xd51024,0x0):this['state']===Jt['InTagName']||this['state']===Jt['BeforeAttributeName']||this['state']===Jt['BeforeAttributeValue']||this['state']===Jt['AfterAttributeName']||this['state']===Jt['InAttributeName']||this['state']===Jt['InAttributeValueSq']||this['state']===Jt['InAttributeValueDq']||this['state']===Jt['InAttributeValueNq']||this['state']===Jt['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0xd51024));}['emitCodePoint'](_0x4b3e6c,_0x469c77){this['baseState']!==Jt['Text']&&this['baseState']!==Jt['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x469c77,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x4b3e6c)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x469c77,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x4b3e6c,this['sectionStart']));}}const _0x259dcf=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x285aa5=new Set(['p']),_0x9da980=new Set(['thead','tbody']),_0x41ff13=new Set(['dd','dt']),_0x535d95=new Set(['rt','rp']),_0x4bf343=new Map([['tr',new Set(['tr','th','td'])],['th',new Set(['th'])],['td',new Set(['thead','th','td'])],['body',new Set(['head','link','script'])],['li',new Set(['li'])],['p',_0x285aa5],['h1',_0x285aa5],['h2',_0x285aa5],['h3',_0x285aa5],['h4',_0x285aa5],['h5',_0x285aa5],['h6',_0x285aa5],['select',_0x259dcf],['input',_0x259dcf],['output',_0x259dcf],['button',_0x259dcf],['datalist',_0x259dcf],['textarea',_0x259dcf],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',_0x41ff13],['dt',_0x41ff13],['address',_0x285aa5],['article',_0x285aa5],['aside',_0x285aa5],['blockquote',_0x285aa5],['details',_0x285aa5],['div',_0x285aa5],['dl',_0x285aa5],['fieldset',_0x285aa5],['figcaption',_0x285aa5],['figure',_0x285aa5],['footer',_0x285aa5],['form',_0x285aa5],['header',_0x285aa5],['hr',_0x285aa5],['main',_0x285aa5],['nav',_0x285aa5],['ol',_0x285aa5],['pre',_0x285aa5],['section',_0x285aa5],['table',_0x285aa5],['ul',_0x285aa5],['rt',_0x535d95],['rp',_0x535d95],['tbody',_0x9da980],['tfoot',_0x9da980]]),_0x8ad350=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),_0x594737=new Set(['math','svg']),_0x64ce51=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x236013=/\s|\//;let _0x2547ed=class _0x427505{constructor(_0x198f72,_0x43eec6={}){var _0x4c72d8,_0x5194af,_0x363b63,_0x470559,_0x45aca6,_0xfefbff;this['options']=_0x43eec6,this['startIndex']=0x0,this['endIndex']=0x0,this['openTagStart']=0x0,this['tagname']='',this['attribname']='',this['attribvalue']='',this['attribs']=null,this['stack']=[],this['buffers']=[],this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1,this['cbs']=null!=_0x198f72?_0x198f72:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x4c72d8=_0x43eec6['lowerCaseTags'])&&void 0x0!==_0x4c72d8?_0x4c72d8:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x5194af=_0x43eec6['lowerCaseAttributeNames'])&&void 0x0!==_0x5194af?_0x5194af:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x363b63=_0x43eec6['recognizeSelfClosing'])&&void 0x0!==_0x363b63?_0x363b63:!this['htmlMode'],this['tokenizer']=new(null!==(_0x470559=_0x43eec6['Tokenizer'])&&void 0x0!==_0x470559?_0x470559:_0x56e778)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0xfefbff=(_0x45aca6=this['cbs'])['onparserinit'])||void 0x0===_0xfefbff||_0xfefbff['call'](_0x45aca6,this);}['ontext'](_0x83fd2d,_0xa08734){var _0x44c366,_0x4fa354;const _0x46549d=this['getSlice'](_0x83fd2d,_0xa08734);this['endIndex']=_0xa08734-0x1,null===(_0x4fa354=(_0x44c366=this['cbs'])['ontext'])||void 0x0===_0x4fa354||_0x4fa354['call'](_0x44c366,_0x46549d),this['startIndex']=_0xa08734;}['ontextentity'](_0x21b104,_0x1ad316){var _0xed6ead,_0x4986c0;this['endIndex']=_0x1ad316-0x1,null===(_0x4986c0=(_0xed6ead=this['cbs'])['ontext'])||void 0x0===_0x4986c0||_0x4986c0['call'](_0xed6ead,Xt(_0x21b104)),this['startIndex']=_0x1ad316;}['isVoidElement'](_0x371c27){return this['htmlMode']&&_0x8ad350['has'](_0x371c27);}['onopentagname'](_0x161abf,_0xd6d4e4){this['endIndex']=_0xd6d4e4;let _0x27b661=this['getSlice'](_0x161abf,_0xd6d4e4);this['lowerCaseTagNames']&&(_0x27b661=_0x27b661['toLowerCase']()),this['emitOpenTag'](_0x27b661);}['emitOpenTag'](_0x7eb5f1){var _0x571258,_0xc17c5,_0x8ddcec,_0x132273;this['openTagStart']=this['startIndex'],this['tagname']=_0x7eb5f1;const _0x10f417=this['htmlMode']&&_0x4bf343['get'](_0x7eb5f1);if(_0x10f417)for(;this['stack']['length']>0x0&&_0x10f417['has'](this['stack'][0x0]);){const _0x246c1a=this['stack']['shift']();null===(_0xc17c5=(_0x571258=this['cbs'])['onclosetag'])||void 0x0===_0xc17c5||_0xc17c5['call'](_0x571258,_0x246c1a,!0x0);}this['isVoidElement'](_0x7eb5f1)||(this['stack']['unshift'](_0x7eb5f1),this['htmlMode']&&(_0x594737['has'](_0x7eb5f1)?this['foreignContext']['unshift'](!0x0):_0x64ce51['has'](_0x7eb5f1)&&this['foreignContext']['unshift'](!0x1))),null===(_0x132273=(_0x8ddcec=this['cbs'])['onopentagname'])||void 0x0===_0x132273||_0x132273['call'](_0x8ddcec,_0x7eb5f1),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x1c2f17){var _0x29f540,_0x256c30;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x256c30=(_0x29f540=this['cbs'])['onopentag'])||void 0x0===_0x256c30||_0x256c30['call'](_0x29f540,this['tagname'],this['attribs'],_0x1c2f17),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x44a900){this['endIndex']=_0x44a900,this['endOpenTag'](!0x1),this['startIndex']=_0x44a900+0x1;}['onclosetag'](_0x4962c4,_0x42a866){var _0x1fc313,_0x1a5301,_0x12d88f,_0x317f58,_0x3799fc,_0x5d89cc,_0x43c985,_0x2c9551;this['endIndex']=_0x42a866;let _0x4398aa=this['getSlice'](_0x4962c4,_0x42a866);if(this['lowerCaseTagNames']&&(_0x4398aa=_0x4398aa['toLowerCase']()),this['htmlMode']&&(_0x594737['has'](_0x4398aa)||_0x64ce51['has'](_0x4398aa))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x4398aa))this['htmlMode']&&'br'===_0x4398aa&&(null===(_0x317f58=(_0x12d88f=this['cbs'])['onopentagname'])||void 0x0===_0x317f58||_0x317f58['call'](_0x12d88f,'br'),null===(_0x5d89cc=(_0x3799fc=this['cbs'])['onopentag'])||void 0x0===_0x5d89cc||_0x5d89cc['call'](_0x3799fc,'br',{},!0x0),null===(_0x2c9551=(_0x43c985=this['cbs'])['onclosetag'])||void 0x0===_0x2c9551||_0x2c9551['call'](_0x43c985,'br',!0x1));else{const _0xddc8d=this['stack']['indexOf'](_0x4398aa);if(-0x1!==_0xddc8d)for(let _0x344cc0=0x0;_0x344cc0<=_0xddc8d;_0x344cc0++){const _0x98230c=this['stack']['shift']();null===(_0x1a5301=(_0x1fc313=this['cbs'])['onclosetag'])||void 0x0===_0x1a5301||_0x1a5301['call'](_0x1fc313,_0x98230c,_0x344cc0!==_0xddc8d);}else this['htmlMode']&&'p'===_0x4398aa&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x42a866+0x1;}['onselfclosingtag'](_0x1b95cd){this['endIndex']=_0x1b95cd,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x1b95cd+0x1):this['onopentagend'](_0x1b95cd);}['closeCurrentTag'](_0x4dbd53){var _0x37bf83,_0x20e8f9;const _0x2075db=this['tagname'];this['endOpenTag'](_0x4dbd53),this['stack'][0x0]===_0x2075db&&(null===(_0x20e8f9=(_0x37bf83=this['cbs'])['onclosetag'])||void 0x0===_0x20e8f9||_0x20e8f9['call'](_0x37bf83,_0x2075db,!_0x4dbd53),this['stack']['shift']());}['onattribname'](_0x2cc2af,_0x5a1a46){this['startIndex']=_0x2cc2af;const _0x488f7c=this['getSlice'](_0x2cc2af,_0x5a1a46);this['attribname']=this['lowerCaseAttributeNames']?_0x488f7c['toLowerCase']():_0x488f7c;}['onattribdata'](_0x2f6a66,_0x179b63){this['attribvalue']+=this['getSlice'](_0x2f6a66,_0x179b63);}['onattribentity'](_0x742774){this['attribvalue']+=Xt(_0x742774);}['onattribend'](_0x1bebe1,_0x5de8ce){var _0x15b6e2,_0x535be2;this['endIndex']=_0x5de8ce,null===(_0x535be2=(_0x15b6e2=this['cbs'])['onattribute'])||void 0x0===_0x535be2||_0x535be2['call'](_0x15b6e2,this['attribname'],this['attribvalue'],_0x1bebe1===te['Double']?'\x22':_0x1bebe1===te['Single']?'\x27':_0x1bebe1===te['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x1f8ca4){const _0x536136=_0x1f8ca4['search'](_0x236013);let _0x27ff33=_0x536136<0x0?_0x1f8ca4:_0x1f8ca4['substr'](0x0,_0x536136);return this['lowerCaseTagNames']&&(_0x27ff33=_0x27ff33['toLowerCase']()),_0x27ff33;}['ondeclaration'](_0x55cb63,_0x2b5798){this['endIndex']=_0x2b5798;const _0x705da3=this['getSlice'](_0x55cb63,_0x2b5798);if(this['cbs']['onprocessinginstruction']){const _0x82c688=this['getInstructionName'](_0x705da3);this['cbs']['onprocessinginstruction']('!'+_0x82c688,'!'+_0x705da3);}this['startIndex']=_0x2b5798+0x1;}['onprocessinginstruction'](_0x24f5f1,_0x354299){this['endIndex']=_0x354299;const _0x3ebb09=this['getSlice'](_0x24f5f1,_0x354299);if(this['cbs']['onprocessinginstruction']){const _0xe79de4=this['getInstructionName'](_0x3ebb09);this['cbs']['onprocessinginstruction']('?'+_0xe79de4,'?'+_0x3ebb09);}this['startIndex']=_0x354299+0x1;}['oncomment'](_0x5d97bb,_0x464e56,_0x348d9b){var _0xfad6ed,_0x220137,_0x8c35e9,_0x1b419f;this['endIndex']=_0x464e56,null===(_0x220137=(_0xfad6ed=this['cbs'])['oncomment'])||void 0x0===_0x220137||_0x220137['call'](_0xfad6ed,this['getSlice'](_0x5d97bb,_0x464e56-_0x348d9b)),null===(_0x1b419f=(_0x8c35e9=this['cbs'])['oncommentend'])||void 0x0===_0x1b419f||_0x1b419f['call'](_0x8c35e9),this['startIndex']=_0x464e56+0x1;}['oncdata'](_0x33affb,_0x67d25c,_0x321c59){var _0x21b413,_0x2ef300,_0x38a6a2,_0x44fef1,_0x2bc6ad,_0x1d7597,_0x36b8ff,_0x3da576,_0x4d931c,_0x365d39;this['endIndex']=_0x67d25c;const _0x31b040=this['getSlice'](_0x33affb,_0x67d25c-_0x321c59);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x2ef300=(_0x21b413=this['cbs'])['oncdatastart'])||void 0x0===_0x2ef300||_0x2ef300['call'](_0x21b413),null===(_0x44fef1=(_0x38a6a2=this['cbs'])['ontext'])||void 0x0===_0x44fef1||_0x44fef1['call'](_0x38a6a2,_0x31b040),null===(_0x1d7597=(_0x2bc6ad=this['cbs'])['oncdataend'])||void 0x0===_0x1d7597||_0x1d7597['call'](_0x2bc6ad)):(null===(_0x3da576=(_0x36b8ff=this['cbs'])['oncomment'])||void 0x0===_0x3da576||_0x3da576['call'](_0x36b8ff,'[CDATA['+_0x31b040+']]'),null===(_0x365d39=(_0x4d931c=this['cbs'])['oncommentend'])||void 0x0===_0x365d39||_0x365d39['call'](_0x4d931c)),this['startIndex']=_0x67d25c+0x1;}['onend'](){var _0x17376e,_0x504006;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x25d184=0x0;_0x25d184<this['stack']['length'];_0x25d184++)this['cbs']['onclosetag'](this['stack'][_0x25d184],!0x0);}null===(_0x504006=(_0x17376e=this['cbs'])['onend'])||void 0x0===_0x504006||_0x504006['call'](_0x17376e);}['reset'](){var _0x4dbfde,_0x5ad53a,_0x1c9797,_0x40d815;null===(_0x5ad53a=(_0x4dbfde=this['cbs'])['onreset'])||void 0x0===_0x5ad53a||_0x5ad53a['call'](_0x4dbfde),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x40d815=(_0x1c9797=this['cbs'])['onparserinit'])||void 0x0===_0x40d815||_0x40d815['call'](_0x1c9797,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x18461d){this['reset'](),this['end'](_0x18461d);}['getSlice'](_0x1b2d42,_0x2ab818){for(;_0x1b2d42-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x341a48=this['buffers'][0x0]['slice'](_0x1b2d42-this['bufferOffset'],_0x2ab818-this['bufferOffset']);for(;_0x2ab818-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x341a48+=this['buffers'][0x0]['slice'](0x0,_0x2ab818-this['bufferOffset']);return _0x341a48;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x48ae18){var _0x1f74e8,_0x4bc6be;this['ended']?null===(_0x4bc6be=(_0x1f74e8=this['cbs'])['onerror'])||void 0x0===_0x4bc6be||_0x4bc6be['call'](_0x1f74e8,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x48ae18),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x48ae18),this['writeIndex']++));}['end'](_0x434ec1){var _0x2b030d,_0xa498e8;this['ended']?null===(_0xa498e8=(_0x2b030d=this['cbs'])['onerror'])||void 0x0===_0xa498e8||_0xa498e8['call'](_0x2b030d,new Error('.end()\x20after\x20done!')):(_0x434ec1&&this['write'](_0x434ec1),this['ended']=!0x0,this['tokenizer']['end']());}['pause'](){this['tokenizer']['pause']();}['resume'](){for(this['tokenizer']['resume']();this['tokenizer']['running']&&this['writeIndex']<this['buffers']['length'];)this['tokenizer']['write'](this['buffers'][this['writeIndex']++]);this['ended']&&this['tokenizer']['end']();}['parseChunk'](_0x1ccbf6){this['write'](_0x1ccbf6);}['done'](_0x1da1af){this['end'](_0x1da1af);}};var _0x4e022e;!function(_0x1486d3){_0x1486d3['Root']='root',_0x1486d3['Text']='text',_0x1486d3['Directive']='directive',_0x1486d3['Comment']='comment',_0x1486d3['Script']='script',_0x1486d3['Style']='style',_0x1486d3['Tag']='tag',_0x1486d3['CDATA']='cdata',_0x1486d3['Doctype']='doctype';}(_0x4e022e||(_0x4e022e={}));const _0x57d055=_0x4e022e['Root'],_0x2d965f=_0x4e022e['Text'],_0x4dd0f2=_0x4e022e['Directive'],_0x3aeb5a=_0x4e022e['Comment'],_0x16f5e0=_0x4e022e['Script'],_0x487154=_0x4e022e['Style'],_0x38e1e2=_0x4e022e['Tag'],_0x1c72aa=_0x4e022e['CDATA'],_0x4f1e88=_0x4e022e['Doctype'];let _0x16c6f3=class _0x57a2d8{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x1e0324){this['parent']=_0x1e0324;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x99ceef){this['prev']=_0x99ceef;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x330daf){this['next']=_0x330daf;}['cloneNode'](_0x43b913=!0x1){return _0x50cad9(this,_0x43b913);}};class DataNode extends _0x16c6f3{constructor(_0x2fbed1){super(),this['data']=_0x2fbed1;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x47af0c){this['data']=_0x47af0c;}}let _0x5dd6c2=class Text extends DataNode{constructor(){super(...arguments),this['type']=_0x4e022e['Text'];}get['nodeType'](){return 0x3;}},_0x3e257a=class Comment extends DataNode{constructor(){super(...arguments),this['type']=_0x4e022e['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x58544b,_0x1a6196){super(_0x1a6196),this['name']=_0x58544b,this['type']=_0x4e022e['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x16c6f3{constructor(_0xec1371){super(),this['children']=_0xec1371;}get['firstChild'](){var _0x19df87;return null!==(_0x19df87=this['children'][0x0])&&void 0x0!==_0x19df87?_0x19df87:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x4ec917){this['children']=_0x4ec917;}}class _0x25b69b extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0x4e022e['CDATA'];}get['nodeType'](){return 0x4;}}let _0x444600=class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0x4e022e['Root'];}get['nodeType'](){return 0x9;}},_0x54310e=class Element extends NodeWithChildren{constructor(_0x348a66,_0x1c6e31,_0xabefad=[],_0x4754a9='script'===_0x348a66?_0x4e022e['Script']:'style'===_0x348a66?_0x4e022e['Style']:_0x4e022e['Tag']){super(_0xabefad),this['name']=_0x348a66,this['attribs']=_0x1c6e31,this['type']=_0x4754a9;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x2fea90){this['name']=_0x2fea90;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x5a12c9=>{var _0x3c3280,_0x5d3d96;return{'name':_0x5a12c9,'value':this['attribs'][_0x5a12c9],'namespace':null===(_0x3c3280=this['x-attribsNamespace'])||void 0x0===_0x3c3280?void 0x0:_0x3c3280[_0x5a12c9],'prefix':null===(_0x5d3d96=this['x-attribsPrefix'])||void 0x0===_0x5d3d96?void 0x0:_0x5d3d96[_0x5a12c9]};});}};function _0x48a792(_0x446fa7){return(_0x523855=_0x446fa7)['type']===_0x4e022e['Tag']||_0x523855['type']===_0x4e022e['Script']||_0x523855['type']===_0x4e022e['Style'];var _0x523855;}function _0x25de8a(_0x531eaf){return _0x531eaf['type']===_0x4e022e['Text'];}function _0x32a1db(_0x48190){return _0x48190['type']===_0x4e022e['Comment'];}function _0x47b6c3(_0x5ad88d){return _0x5ad88d['type']===_0x4e022e['Root'];}function _0x4f771e(_0x7a1800){return Object['prototype']['hasOwnProperty']['call'](_0x7a1800,'children');}function _0x50cad9(_0x2a64a0,_0x2bbcb7=!0x1){let _0x3089ba;if(_0x25de8a(_0x2a64a0))_0x3089ba=new _0x5dd6c2(_0x2a64a0['data']);else{if(_0x32a1db(_0x2a64a0))_0x3089ba=new _0x3e257a(_0x2a64a0['data']);else{if(_0x48a792(_0x2a64a0)){const _0x2d9900=_0x2bbcb7?_0x1261be(_0x2a64a0['children']):[],_0x36aad0=new _0x54310e(_0x2a64a0['name'],{..._0x2a64a0['attribs']},_0x2d9900);_0x2d9900['forEach'](_0x563b50=>_0x563b50['parent']=_0x36aad0),null!=_0x2a64a0['namespace']&&(_0x36aad0['namespace']=_0x2a64a0['namespace']),_0x2a64a0['x-attribsNamespace']&&(_0x36aad0['x-attribsNamespace']={..._0x2a64a0['x-attribsNamespace']}),_0x2a64a0['x-attribsPrefix']&&(_0x36aad0['x-attribsPrefix']={..._0x2a64a0['x-attribsPrefix']}),_0x3089ba=_0x36aad0;}else{if(function(_0x2ec425){return _0x2ec425['type']===_0x4e022e['CDATA'];}(_0x2a64a0)){const _0x1209c0=_0x2bbcb7?_0x1261be(_0x2a64a0['children']):[],_0x2717e8=new _0x25b69b(_0x1209c0);_0x1209c0['forEach'](_0x5698e5=>_0x5698e5['parent']=_0x2717e8),_0x3089ba=_0x2717e8;}else{if(_0x47b6c3(_0x2a64a0)){const _0x2d33a3=_0x2bbcb7?_0x1261be(_0x2a64a0['children']):[],_0x4d715f=new _0x444600(_0x2d33a3);_0x2d33a3['forEach'](_0x17ba85=>_0x17ba85['parent']=_0x4d715f),_0x2a64a0['x-mode']&&(_0x4d715f['x-mode']=_0x2a64a0['x-mode']),_0x3089ba=_0x4d715f;}else{if(!function(_0x3253fb){return _0x3253fb['type']===_0x4e022e['Directive'];}(_0x2a64a0))throw new Error('Not\x20implemented\x20yet:\x20'+_0x2a64a0['type']);{const _0x58d3fe=new ProcessingInstruction(_0x2a64a0['name'],_0x2a64a0['data']);null!=_0x2a64a0['x-name']&&(_0x58d3fe['x-name']=_0x2a64a0['x-name'],_0x58d3fe['x-publicId']=_0x2a64a0['x-publicId'],_0x58d3fe['x-systemId']=_0x2a64a0['x-systemId']),_0x3089ba=_0x58d3fe;}}}}}}return _0x3089ba['startIndex']=_0x2a64a0['startIndex'],_0x3089ba['endIndex']=_0x2a64a0['endIndex'],null!=_0x2a64a0['sourceCodeLocation']&&(_0x3089ba['sourceCodeLocation']=_0x2a64a0['sourceCodeLocation']),_0x3089ba;}function _0x1261be(_0x24dcb4){const _0x376347=_0x24dcb4['map'](_0x54473c=>_0x50cad9(_0x54473c,!0x0));for(let _0x3fc087=0x1;_0x3fc087<_0x376347['length'];_0x3fc087++)_0x376347[_0x3fc087]['prev']=_0x376347[_0x3fc087-0x1],_0x376347[_0x3fc087-0x1]['next']=_0x376347[_0x3fc087];return _0x376347;}const _0x1c4624={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x476a1e{constructor(_0x95abf9,_0x490791,_0x387641){this['dom']=[],this['root']=new _0x444600(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x490791&&(_0x387641=_0x490791,_0x490791=_0x1c4624),'object'==typeof _0x95abf9&&(_0x490791=_0x95abf9,_0x95abf9=void 0x0),this['callback']=null!=_0x95abf9?_0x95abf9:null,this['options']=null!=_0x490791?_0x490791:_0x1c4624,this['elementCB']=null!=_0x387641?_0x387641:null;}['onparserinit'](_0x395ec9){this['parser']=_0x395ec9;}['onreset'](){this['dom']=[],this['root']=new _0x444600(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null;}['onend'](){this['done']||(this['done']=!0x0,this['parser']=null,this['handleCallback'](null));}['onerror'](_0x143b5f){this['handleCallback'](_0x143b5f);}['onclosetag'](){this['lastNode']=null;const _0x431af4=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x431af4['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x431af4);}['onopentag'](_0x17da39,_0x5c9be1){const _0x4f7073=this['options']['xmlMode']?_0x4e022e['Tag']:void 0x0,_0xc26c14=new _0x54310e(_0x17da39,_0x5c9be1,void 0x0,_0x4f7073);this['addNode'](_0xc26c14),this['tagStack']['push'](_0xc26c14);}['ontext'](_0x50d78b){const {lastNode:_0x14984b}=this;if(_0x14984b&&_0x14984b['type']===_0x4e022e['Text'])_0x14984b['data']+=_0x50d78b,this['options']['withEndIndices']&&(_0x14984b['endIndex']=this['parser']['endIndex']);else{const _0x14f517=new _0x5dd6c2(_0x50d78b);this['addNode'](_0x14f517),this['lastNode']=_0x14f517;}}['oncomment'](_0x184044){if(this['lastNode']&&this['lastNode']['type']===_0x4e022e['Comment'])return void(this['lastNode']['data']+=_0x184044);const _0x462d50=new _0x3e257a(_0x184044);this['addNode'](_0x462d50),this['lastNode']=_0x462d50;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x52baee=new _0x5dd6c2(''),_0x478d07=new _0x25b69b([_0x52baee]);this['addNode'](_0x478d07),_0x52baee['parent']=_0x478d07,this['lastNode']=_0x52baee;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x220104,_0x43fab0){const _0x3c9906=new ProcessingInstruction(_0x220104,_0x43fab0);this['addNode'](_0x3c9906);}['handleCallback'](_0xcc8db2){if('function'==typeof this['callback'])this['callback'](_0xcc8db2,this['dom']);else{if(_0xcc8db2)throw _0xcc8db2;}}['addNode'](_0x4a35ca){const _0x570572=this['tagStack'][this['tagStack']['length']-0x1],_0x562ddb=_0x570572['children'][_0x570572['children']['length']-0x1];this['options']['withStartIndices']&&(_0x4a35ca['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x4a35ca['endIndex']=this['parser']['endIndex']),_0x570572['children']['push'](_0x4a35ca),_0x562ddb&&(_0x4a35ca['prev']=_0x562ddb,_0x562ddb['next']=_0x4a35ca),_0x4a35ca['parent']=_0x570572,this['lastNode']=null;}}const _0x3947ff=/["&'<>$\x80-\uFFFF]/g,_0x53f9c6=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),_0x248d25=null!=String['prototype']['codePointAt']?(_0x18501a,_0x1e7b0a)=>_0x18501a['codePointAt'](_0x1e7b0a):(_0x883c1d,_0xf6de69)=>0xd800==(0xfc00&_0x883c1d['charCodeAt'](_0xf6de69))?0x400*(_0x883c1d['charCodeAt'](_0xf6de69)-0xd800)+_0x883c1d['charCodeAt'](_0xf6de69+0x1)-0xdc00+0x10000:_0x883c1d['charCodeAt'](_0xf6de69);function _0x3dd55e(_0x2650b4){let _0x51c5c6,_0x3f7fb9='',_0x561ce3=0x0;for(;null!==(_0x51c5c6=_0x3947ff['exec'](_0x2650b4));){const _0x6ca333=_0x51c5c6['index'],_0x298fd6=_0x2650b4['charCodeAt'](_0x6ca333),_0x1866da=_0x53f9c6['get'](_0x298fd6);void 0x0!==_0x1866da?(_0x3f7fb9+=_0x2650b4['substring'](_0x561ce3,_0x6ca333)+_0x1866da,_0x561ce3=_0x6ca333+0x1):(_0x3f7fb9+=_0x2650b4['substring'](_0x561ce3,_0x6ca333)+'&#x'+_0x248d25(_0x2650b4,_0x6ca333)['toString'](0x10)+';',_0x561ce3=_0x3947ff['lastIndex']+=Number(0xd800==(0xfc00&_0x298fd6)));}return _0x3f7fb9+_0x2650b4['substr'](_0x561ce3);}function _0x51056c(_0x4bc3f5,_0x25386c){return function(_0x5dbe9f){let _0x531974,_0x4f2177=0x0,_0x5d0c83='';for(;_0x531974=_0x4bc3f5['exec'](_0x5dbe9f);)_0x4f2177!==_0x531974['index']&&(_0x5d0c83+=_0x5dbe9f['substring'](_0x4f2177,_0x531974['index'])),_0x5d0c83+=_0x25386c['get'](_0x531974[0x0]['charCodeAt'](0x0)),_0x4f2177=_0x531974['index']+0x1;return _0x5d0c83+_0x5dbe9f['substring'](_0x4f2177);};}const _0x19f096=_0x51056c(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),_0x25f32c=_0x51056c(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),_0x18b21c=new Map(['altGlyph','altGlyphDef','altGlyphItem','animateColor','animateMotion','animateTransform','clipPath','feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence','foreignObject','glyphRef','linearGradient','radialGradient','textPath']['map'](_0x33752a=>[_0x33752a['toLowerCase'](),_0x33752a])),_0x5b9299=new Map(['definitionURL','attributeName','attributeType','baseFrequency','baseProfile','calcMode','clipPathUnits','diffuseConstant','edgeMode','filterUnits','glyphRef','gradientTransform','gradientUnits','kernelMatrix','kernelUnitLength','keyPoints','keySplines','keyTimes','lengthAdjust','limitingConeAngle','markerHeight','markerUnits','markerWidth','maskContentUnits','maskUnits','numOctaves','pathLength','patternContentUnits','patternTransform','patternUnits','pointsAtX','pointsAtY','pointsAtZ','preserveAlpha','preserveAspectRatio','primitiveUnits','refX','refY','repeatCount','repeatDur','requiredExtensions','requiredFeatures','specularConstant','specularExponent','spreadMethod','startOffset','stdDeviation','stitchTiles','surfaceScale','systemLanguage','tableValues','targetX','targetY','textLength','viewBox','viewTarget','xChannelSelector','yChannelSelector','zoomAndPan']['map'](_0x9faac4=>[_0x9faac4['toLowerCase'](),_0x9faac4])),_0x3e43d3=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _0x56a5f7(_0x45b034){return _0x45b034['replace'](/"/g,'&quot;');}const _0x51c1da=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function ti(_0x404074,_0x5cc905={}){const _0x35cb3d='length'in _0x404074?_0x404074:[_0x404074];let _0x325c56='';for(let _0x29108e=0x0;_0x29108e<_0x35cb3d['length'];_0x29108e++)_0x325c56+=_0x44a808(_0x35cb3d[_0x29108e],_0x5cc905);return _0x325c56;}function _0x44a808(_0x488114,_0xdff710){switch(_0x488114['type']){case _0x57d055:return ti(_0x488114['children'],_0xdff710);case _0x4f1e88:case _0x4dd0f2:return'<'+_0x488114['data']+'>';case _0x3aeb5a:return function(_0x4bee14){return'<!--'+_0x4bee14['data']+'-->';}(_0x488114);case _0x1c72aa:return function(_0x17c41f){return'<![CDATA['+_0x17c41f['children'][0x0]['data']+']]>';}(_0x488114);case _0x16f5e0:case _0x487154:case _0x38e1e2:return function(_0x484a3e,_0x31ff73){var _0x2428e0;'foreign'===_0x31ff73['xmlMode']&&(_0x484a3e['name']=null!==(_0x2428e0=_0x18b21c['get'](_0x484a3e['name']))&&void 0x0!==_0x2428e0?_0x2428e0:_0x484a3e['name'],_0x484a3e['parent']&&_0x3f669e['has'](_0x484a3e['parent']['name'])&&(_0x31ff73={..._0x31ff73,'xmlMode':!0x1})),!_0x31ff73['xmlMode']&&_0x1488a1['has'](_0x484a3e['name'])&&(_0x31ff73={..._0x31ff73,'xmlMode':'foreign'});let _0x328161='<'+_0x484a3e['name'];const _0x4ff998=function(_0x313b6d,_0x4f81af){var _0x226649;if(!_0x313b6d)return;const _0x155624=!0x1===(null!==(_0x226649=_0x4f81af['encodeEntities'])&&void 0x0!==_0x226649?_0x226649:_0x4f81af['decodeEntities'])?_0x56a5f7:_0x4f81af['xmlMode']||'utf8'!==_0x4f81af['encodeEntities']?_0x3dd55e:_0x19f096;return Object['keys'](_0x313b6d)['map'](_0x3f46d0=>{var _0x463ea3,_0x46470e;const _0x59d06a=null!==(_0x463ea3=_0x313b6d[_0x3f46d0])&&void 0x0!==_0x463ea3?_0x463ea3:'';return'foreign'===_0x4f81af['xmlMode']&&(_0x3f46d0=null!==(_0x46470e=_0x5b9299['get'](_0x3f46d0))&&void 0x0!==_0x46470e?_0x46470e:_0x3f46d0),_0x4f81af['emptyAttrs']||_0x4f81af['xmlMode']||''!==_0x59d06a?_0x3f46d0+'=\x22'+_0x155624(_0x59d06a)+'\x22':_0x3f46d0;})['join']('\x20');}(_0x484a3e['attribs'],_0x31ff73);return _0x4ff998&&(_0x328161+='\x20'+_0x4ff998),0x0===_0x484a3e['children']['length']&&(_0x31ff73['xmlMode']?!0x1!==_0x31ff73['selfClosingTags']:_0x31ff73['selfClosingTags']&&_0x51c1da['has'](_0x484a3e['name']))?(_0x31ff73['xmlMode']||(_0x328161+='\x20'),_0x328161+='/>'):(_0x328161+='>',_0x484a3e['children']['length']>0x0&&(_0x328161+=ti(_0x484a3e['children'],_0x31ff73)),!_0x31ff73['xmlMode']&&_0x51c1da['has'](_0x484a3e['name'])||(_0x328161+='</'+_0x484a3e['name']+'>')),_0x328161;}(_0x488114,_0xdff710);case _0x2d965f:return function(_0x49d5e8,_0x1800e6){var _0x377fd5;let _0x5e3ea2=_0x49d5e8['data']||'';return!0x1===(null!==(_0x377fd5=_0x1800e6['encodeEntities'])&&void 0x0!==_0x377fd5?_0x377fd5:_0x1800e6['decodeEntities'])||!_0x1800e6['xmlMode']&&_0x49d5e8['parent']&&_0x3e43d3['has'](_0x49d5e8['parent']['name'])||(_0x5e3ea2=_0x1800e6['xmlMode']||'utf8'!==_0x1800e6['encodeEntities']?_0x3dd55e(_0x5e3ea2):_0x25f32c(_0x5e3ea2)),_0x5e3ea2;}(_0x488114,_0xdff710);}}const _0x3f669e=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),_0x1488a1=new Set(['svg','math']);function _0x5143fd(_0x5107a6){return Array['isArray'](_0x5107a6)?_0x5107a6['map'](_0x5143fd)['join'](''):_0x4f771e(_0x5107a6)&&!_0x32a1db(_0x5107a6)?_0x5143fd(_0x5107a6['children']):_0x25de8a(_0x5107a6)?_0x5107a6['data']:'';}function _0x3f31b4(_0x31c3eb){return _0x31c3eb['parent']||null;}function _0x407b65(_0x271a79){if(_0x271a79['prev']&&(_0x271a79['prev']['next']=_0x271a79['next']),_0x271a79['next']&&(_0x271a79['next']['prev']=_0x271a79['prev']),_0x271a79['parent']){const _0x266ab6=_0x271a79['parent']['children'],_0x4f2b51=_0x266ab6['lastIndexOf'](_0x271a79);_0x4f2b51>=0x0&&_0x266ab6['splice'](_0x4f2b51,0x1);}_0x271a79['next']=null,_0x271a79['prev']=null,_0x271a79['parent']=null;}function _0x1e2ad4(_0x48535a,_0x1b68a5){const _0xe3c617=_0x1b68a5['prev']=_0x48535a['prev'];_0xe3c617&&(_0xe3c617['next']=_0x1b68a5);const _0x2572bc=_0x1b68a5['next']=_0x48535a['next'];_0x2572bc&&(_0x2572bc['prev']=_0x1b68a5);const _0x5501bb=_0x1b68a5['parent']=_0x48535a['parent'];if(_0x5501bb){const _0x55d2e7=_0x5501bb['children'];_0x55d2e7[_0x55d2e7['lastIndexOf'](_0x48535a)]=_0x1b68a5,_0x48535a['parent']=null;}}function _0x4ad92f(_0x2bfb27,_0x5e04f1){_0x407b65(_0x5e04f1);const {parent:_0x1b9cce}=_0x2bfb27,_0x443e77=_0x2bfb27['next'];if(_0x5e04f1['next']=_0x443e77,_0x5e04f1['prev']=_0x2bfb27,_0x2bfb27['next']=_0x5e04f1,_0x5e04f1['parent']=_0x1b9cce,_0x443e77){if(_0x443e77['prev']=_0x5e04f1,_0x1b9cce){const _0x5cd9b3=_0x1b9cce['children'];_0x5cd9b3['splice'](_0x5cd9b3['lastIndexOf'](_0x443e77),0x0,_0x5e04f1);}}else _0x1b9cce&&_0x1b9cce['children']['push'](_0x5e04f1);}function _0x5652c4(_0x23694b,_0x22f368){if(_0x407b65(_0x22f368),_0x22f368['parent']=_0x23694b,_0x22f368['prev']=null,0x1!==_0x23694b['children']['unshift'](_0x22f368)){const _0x17f388=_0x23694b['children'][0x1];_0x17f388['prev']=_0x22f368,_0x22f368['next']=_0x17f388;}else _0x22f368['next']=null;}function _0xc08a98(_0x3274cc,_0x2d520a){_0x407b65(_0x2d520a);const {parent:_0x35622c}=_0x3274cc;if(_0x35622c){const _0x215925=_0x35622c['children'];_0x215925['splice'](_0x215925['indexOf'](_0x3274cc),0x0,_0x2d520a);}_0x3274cc['prev']&&(_0x3274cc['prev']['next']=_0x2d520a),_0x2d520a['parent']=_0x35622c,_0x2d520a['prev']=_0x3274cc['prev'],_0x2d520a['next']=_0x3274cc,_0x3274cc['prev']=_0x2d520a;}function _0x2023b0(_0x42d4f4,_0x450313,_0x10bb72=!0x0){const _0x397303=Array['isArray'](_0x450313)?_0x450313:[_0x450313];for(let _0x59d739=0x0;_0x59d739<_0x397303['length'];_0x59d739++){const _0xa1428c=_0x397303[_0x59d739];if(_0x48a792(_0xa1428c)&&_0x42d4f4(_0xa1428c))return _0xa1428c;if(_0x10bb72&&_0x4f771e(_0xa1428c)&&_0xa1428c['children']['length']>0x0){const _0x2a5579=_0x2023b0(_0x42d4f4,_0xa1428c['children'],!0x0);if(_0x2a5579)return _0x2a5579;}}return null;}function _0x31eed8(_0x2a5b8b,_0xd0c6a){const _0x200967=[],_0x22a5dd=[Array['isArray'](_0xd0c6a)?_0xd0c6a:[_0xd0c6a]],_0x35dc89=[0x0];for(;;){if(_0x35dc89[0x0]>=_0x22a5dd[0x0]['length']){if(0x1===_0x22a5dd['length'])return _0x200967;_0x22a5dd['shift'](),_0x35dc89['shift']();continue;}const _0x17fa93=_0x22a5dd[0x0][_0x35dc89[0x0]++];_0x48a792(_0x17fa93)&&_0x2a5b8b(_0x17fa93)&&_0x200967['push'](_0x17fa93),_0x4f771e(_0x17fa93)&&_0x17fa93['children']['length']>0x0&&(_0x35dc89['unshift'](0x0),_0x22a5dd['unshift'](_0x17fa93['children']));}}function _0x24a09e(_0x1f0153){return function(_0x55ee26,_0x1043bf){const _0x12fa66=new _0x476a1e(void 0x0,_0x1043bf);return new _0x2547ed(_0x12fa66,_0x1043bf)['end'](_0x55ee26),_0x12fa66['root'];}(_0x1f0153);}function _0xad603d(_0x50b981){return ti(_0x50b981);}function _0x4928e3(_0x101889,_0x2d88ed,_0x2e7a68){const _0x556f93=null!==_0x2d88ed?_0x6f6e06=>_0x6f6e06['attribs'][_0x101889]===_0x2d88ed:_0xcea563=>Boolean(_0xcea563['attribs'][_0x101889]);return _0x2023b0(_0x307288=>_0x48a792(_0x307288)&&_0x556f93(_0x307288),_0x2e7a68);}function _0xbc1c1a(_0x4990f6,_0xa6513b,_0x1c3cec){const _0x5d4393=null!==_0xa6513b?_0x497a2c=>_0x497a2c['attribs'][_0x4990f6]===_0xa6513b:_0x1713e6=>Boolean(_0x1713e6['attribs'][_0x4990f6]);return _0x31eed8(_0x47a443=>_0x48a792(_0x47a443)&&_0x5d4393(_0x47a443),_0x1c3cec);}function _0x3f9ebf(_0x521677){return function(_0x20a968,_0x145edd,_0x5e38a2,_0x4cadfc){const _0xf6f40b=[],_0x27ae34=[Array['isArray'](_0x145edd)?_0x145edd:[_0x145edd]],_0x3c254c=[0x0];for(;;){if(_0x3c254c[0x0]>=_0x27ae34[0x0]['length']){if(0x1===_0x3c254c['length'])return _0xf6f40b;_0x27ae34['shift'](),_0x3c254c['shift']();continue;}const _0x26fee3=_0x27ae34[0x0][_0x3c254c[0x0]++];if(_0x20a968(_0x26fee3)&&(_0xf6f40b['push'](_0x26fee3),--_0x4cadfc<=0x0))return _0xf6f40b;_0x4f771e(_0x26fee3)&&_0x26fee3['children']['length']>0x0&&(_0x3c254c['unshift'](0x0),_0x27ae34['unshift'](_0x26fee3['children']));}}(_0x46dae4=>_0x32a1db(_0x46dae4),_0x521677,0x0,0x1/0x0);}function _0x55051d(_0x320f88,_0x504951){return _0x320f88&&_0x48a792(_0x320f88)?_0x320f88['attribs'][_0x504951]:null;}function _0xe6a20(_0x3a3fc8,_0x4bf5ed,_0x364b02){_0x48a792(_0x3a3fc8)&&(null===_0x364b02?delete _0x3a3fc8['attribs'][_0x4bf5ed]:_0x3a3fc8['attribs'][_0x4bf5ed]=_0x364b02);}function _0x11eb78(_0x5e8c2f,_0x599896,_0x5a0eaf){const _0x33a2c1=_0x599896['cloneNode'](!0x0);'beforebegin'===_0x5a0eaf?_0xc08a98(_0x5e8c2f,_0x33a2c1):'afterbegin'===_0x5a0eaf?_0x5652c4(_0x5e8c2f,_0x33a2c1):'beforeend'===_0x5a0eaf?function(_0x26833d,_0x1891a0){if(_0x407b65(_0x1891a0),_0x1891a0['next']=null,_0x1891a0['parent']=_0x26833d,_0x26833d['children']['push'](_0x1891a0)>0x1){const _0xf9ef1b=_0x26833d['children'][_0x26833d['children']['length']-0x2];_0xf9ef1b['next']=_0x1891a0,_0x1891a0['prev']=_0xf9ef1b;}else _0x1891a0['prev']=null;}(_0x5e8c2f,_0x33a2c1):'afterend'===_0x5a0eaf&&_0x4ad92f(_0x5e8c2f,_0x33a2c1);}function _0x523535(_0x2ed028){const _0x16c9ce=[];let _0xe297b6=_0x2ed028;for(;_0xe297b6;)_0xe297b6=_0x3f31b4(_0xe297b6),_0xe297b6&&_0x16c9ce['push'](_0xe297b6);return _0x16c9ce;}function _0x2d61ff(_0x876c3c){return _0x876c3c['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x2ecb48(_0xb90c7e){let _0xc4dab3=0x0;for(;_0xb90c7e['parentNode'];)_0xb90c7e=_0xb90c7e['parentNode'],_0xc4dab3++;return _0xc4dab3;}function _0x3d6dc3(_0x17e5e0){const _0x36580b=[];let _0x45abb9=_0x17e5e0['nextSibling'];for(;_0x45abb9;)_0x36580b['push'](_0x45abb9),_0x45abb9=_0x45abb9['nextSibling'];_0x36580b['forEach'](_0xbf391c=>{_0x407b65(_0xbf391c);});}const _0x17ad03='object'==typeof self?self:globalThis,_0x523caf=_0x2a3244=>((_0x53eb69,_0x47fb56)=>{const _0x1418f5=(_0x5121c3,_0x249781)=>(_0x53eb69['set'](_0x249781,_0x5121c3),_0x5121c3),_0x37eb7d=_0x295f9a=>{if(_0x53eb69['has'](_0x295f9a))return _0x53eb69['get'](_0x295f9a);const [_0x4b6e55,_0x388f27]=_0x47fb56[_0x295f9a];switch(_0x4b6e55){case 0x0:case-0x1:return _0x1418f5(_0x388f27,_0x295f9a);case 0x1:{const _0x345b78=_0x1418f5([],_0x295f9a);for(const _0x56bf22 of _0x388f27)_0x345b78['push'](_0x37eb7d(_0x56bf22));return _0x345b78;}case 0x2:{const _0x5413a5=_0x1418f5({},_0x295f9a);for(const [_0x4e33c8,_0x45a791]of _0x388f27)_0x5413a5[_0x37eb7d(_0x4e33c8)]=_0x37eb7d(_0x45a791);return _0x5413a5;}case 0x3:return _0x1418f5(new Date(_0x388f27),_0x295f9a);case 0x4:{const {source:_0x450e5d,flags:_0x10475}=_0x388f27;return _0x1418f5(new RegExp(_0x450e5d,_0x10475),_0x295f9a);}case 0x5:{const _0x5ef26c=_0x1418f5(new Map(),_0x295f9a);for(const [_0x423588,_0x5f0e8e]of _0x388f27)_0x5ef26c['set'](_0x37eb7d(_0x423588),_0x37eb7d(_0x5f0e8e));return _0x5ef26c;}case 0x6:{const _0x40b743=_0x1418f5(new Set(),_0x295f9a);for(const _0x388ba0 of _0x388f27)_0x40b743['add'](_0x37eb7d(_0x388ba0));return _0x40b743;}case 0x7:{const {name:_0x2af614,message:_0x2d009d}=_0x388f27;return _0x1418f5(new _0x17ad03[_0x2af614](_0x2d009d),_0x295f9a);}case 0x8:return _0x1418f5(BigInt(_0x388f27),_0x295f9a);case'BigInt':return _0x1418f5(Object(BigInt(_0x388f27)),_0x295f9a);case'ArrayBuffer':return _0x1418f5(new Uint8Array(_0x388f27)['buffer'],_0x388f27);case'DataView':{const {buffer:_0xe2885b}=new Uint8Array(_0x388f27);return _0x1418f5(new DataView(_0xe2885b),_0x388f27);}}return _0x1418f5(new _0x17ad03[_0x4b6e55](_0x388f27),_0x295f9a);};return _0x37eb7d;})(new Map(),_0x2a3244)(0x0),_0x433c9a='',{toString:_0x3ca3be}={},{keys:_0x510758}=Object,_0x281d13=_0x979fd9=>{const _0x299eee=typeof _0x979fd9;if('object'!==_0x299eee||!_0x979fd9)return[0x0,_0x299eee];const _0x46e33e=_0x3ca3be['call'](_0x979fd9)['slice'](0x8,-0x1);switch(_0x46e33e){case'Array':return[0x1,_0x433c9a];case'Object':return[0x2,_0x433c9a];case'Date':return[0x3,_0x433c9a];case'RegExp':return[0x4,_0x433c9a];case'Map':return[0x5,_0x433c9a];case'Set':return[0x6,_0x433c9a];case'DataView':return[0x1,_0x46e33e];}return _0x46e33e['includes']('Array')?[0x1,_0x46e33e]:_0x46e33e['includes']('Error')?[0x7,_0x46e33e]:[0x2,_0x46e33e];},_0x5ccc66=([_0x54831f,_0x1406b4])=>0x0===_0x54831f&&('function'===_0x1406b4||'symbol'===_0x1406b4),_0x56f9f5=(_0x61f3d5,{json:_0x11eb6c,lossy:_0x59ac6d}={})=>{const _0x1289a9=[];return((_0x19aea2,_0xd656d3,_0x140796,_0x4982b8)=>{const _0x54b2d0=(_0x45d6c7,_0x4c7aa0)=>{const _0x4aa37a=_0x4982b8['push'](_0x45d6c7)-0x1;return _0x140796['set'](_0x4c7aa0,_0x4aa37a),_0x4aa37a;},_0x540a78=_0x31df7d=>{if(_0x140796['has'](_0x31df7d))return _0x140796['get'](_0x31df7d);let [_0x491890,_0x5c8125]=_0x281d13(_0x31df7d);switch(_0x491890){case 0x0:{let _0x4603ac=_0x31df7d;switch(_0x5c8125){case'bigint':_0x491890=0x8,_0x4603ac=_0x31df7d['toString']();break;case'function':case'symbol':if(_0x19aea2)throw new TypeError('unable\x20to\x20serialize\x20'+_0x5c8125);_0x4603ac=null;break;case'undefined':return _0x54b2d0([-0x1],_0x31df7d);}return _0x54b2d0([_0x491890,_0x4603ac],_0x31df7d);}case 0x1:{if(_0x5c8125){let _0x562f1b=_0x31df7d;return'DataView'===_0x5c8125?_0x562f1b=new Uint8Array(_0x31df7d['buffer']):'ArrayBuffer'===_0x5c8125&&(_0x562f1b=new Uint8Array(_0x31df7d)),_0x54b2d0([_0x5c8125,[..._0x562f1b]],_0x31df7d);}const _0x45d679=[],_0x51d44c=_0x54b2d0([_0x491890,_0x45d679],_0x31df7d);for(const _0x47540c of _0x31df7d)_0x45d679['push'](_0x540a78(_0x47540c));return _0x51d44c;}case 0x2:{if(_0x5c8125)switch(_0x5c8125){case'BigInt':return _0x54b2d0([_0x5c8125,_0x31df7d['toString']()],_0x31df7d);case'Boolean':case'Number':case'String':return _0x54b2d0([_0x5c8125,_0x31df7d['valueOf']()],_0x31df7d);}if(_0xd656d3&&'toJSON'in _0x31df7d)return _0x540a78(_0x31df7d['toJSON']());const _0x81aab7=[],_0x25bfc2=_0x54b2d0([_0x491890,_0x81aab7],_0x31df7d);for(const _0x194f53 of _0x510758(_0x31df7d))!_0x19aea2&&_0x5ccc66(_0x281d13(_0x31df7d[_0x194f53]))||_0x81aab7['push']([_0x540a78(_0x194f53),_0x540a78(_0x31df7d[_0x194f53])]);return _0x25bfc2;}case 0x3:return _0x54b2d0([_0x491890,_0x31df7d['toISOString']()],_0x31df7d);case 0x4:{const {source:_0x561faa,flags:_0x2912a1}=_0x31df7d;return _0x54b2d0([_0x491890,{'source':_0x561faa,'flags':_0x2912a1}],_0x31df7d);}case 0x5:{const _0xd2016b=[],_0x5077e8=_0x54b2d0([_0x491890,_0xd2016b],_0x31df7d);for(const [_0x244281,_0x2acd56]of _0x31df7d)(_0x19aea2||!_0x5ccc66(_0x281d13(_0x244281))&&!_0x5ccc66(_0x281d13(_0x2acd56)))&&_0xd2016b['push']([_0x540a78(_0x244281),_0x540a78(_0x2acd56)]);return _0x5077e8;}case 0x6:{const _0x42cf7a=[],_0x143861=_0x54b2d0([_0x491890,_0x42cf7a],_0x31df7d);for(const _0x5b7eaa of _0x31df7d)!_0x19aea2&&_0x5ccc66(_0x281d13(_0x5b7eaa))||_0x42cf7a['push'](_0x540a78(_0x5b7eaa));return _0x143861;}}const {message:_0x154cfe}=_0x31df7d;return _0x54b2d0([_0x491890,{'name':_0x5c8125,'message':_0x154cfe}],_0x31df7d);};return _0x540a78;})(!(_0x11eb6c||_0x59ac6d),!!_0x11eb6c,new Map(),_0x1289a9)(_0x61f3d5),_0x1289a9;};var _0xf03bba='function'==typeof structuredClone?(_0x532021,_0x3657b2)=>_0x3657b2&&('json'in _0x3657b2||'lossy'in _0x3657b2)?_0x523caf(_0x56f9f5(_0x532021,_0x3657b2)):structuredClone(_0x532021):(_0x158a19,_0x52e263)=>_0x523caf(_0x56f9f5(_0x158a19,_0x52e263));const _0x377469=_0x51d032('end'),_0x22bb50=_0x51d032('start');function _0x51d032(_0x1aec35){return function(_0x42744a){const _0x182ec5=_0x42744a&&_0x42744a['position']&&_0x42744a['position'][_0x1aec35]||{};if('number'==typeof _0x182ec5['line']&&_0x182ec5['line']>0x0&&'number'==typeof _0x182ec5['column']&&_0x182ec5['column']>0x0)return{'line':_0x182ec5['line'],'column':_0x182ec5['column'],'offset':'number'==typeof _0x182ec5['offset']&&_0x182ec5['offset']>-0x1?_0x182ec5['offset']:void 0x0};};}const _0x3b757b=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],_0x19e357={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[..._0x3b757b,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[..._0x3b757b],'h2':[['className','sr-only']],'img':[..._0x3b757b,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[..._0x3b757b,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[..._0x3b757b],'table':[..._0x3b757b],'ul':[..._0x3b757b,['className','contains-task-list']],'*':['abbr','accept','acceptCharset','accessKey','action','align','alt','axis','border','cellPadding','cellSpacing','char','charOff','charSet','checked','clear','colSpan','color','cols','compact','coords','dateTime','dir','encType','frame','hSpace','headers','height','hrefLang','htmlFor','id','isMap','itemProp','label','lang','maxLength','media','method','multiple','name','noHref','noShade','noWrap','open','prompt','readOnly','rev','rowSpan','rows','rules','scope','selected','shape','size','span','start','summary','tabIndex','title','useMap','vAlign','value','width']},'clobber':['ariaDescribedBy','ariaLabelledBy','id','name'],'clobberPrefix':'user-content-','protocols':{'cite':['http','https'],'href':['http','https','irc','ircs','mailto','xmpp'],'longDesc':['http','https'],'src':['http','https']},'required':{'input':{'disabled':!0x0,'type':'checkbox'}},'strip':['script'],'tagNames':['a','b','blockquote','br','code','dd','del','details','div','dl','dt','em','h1','h2','h3','h4','h5','h6','hr','i','img','input','ins','kbd','li','ol','p','picture','pre','q','rp','rt','ruby','s','samp','section','source','span','strike','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','tr','tt','ul','var']},_0x509bfb={}['hasOwnProperty'];function _0xc035ab(_0x1ea6ce,_0x10538b){if(_0x10538b&&'object'==typeof _0x10538b){const _0x28bfeb=_0x10538b;switch('string'==typeof _0x28bfeb['type']?_0x28bfeb['type']:''){case'comment':return function(_0x4de4f4,_0x336afc){if(_0x4de4f4['schema']['allowComments']){const _0x1fe2b7='string'==typeof _0x336afc['value']?_0x336afc['value']:'',_0x2b0a28=_0x1fe2b7['indexOf']('-->'),_0x4e0a7b={'type':'comment','value':_0x2b0a28<0x0?_0x1fe2b7:_0x1fe2b7['slice'](0x0,_0x2b0a28)};return _0x3731b4(_0x4e0a7b,_0x336afc),_0x4e0a7b;}}(_0x1ea6ce,_0x28bfeb);case'doctype':return function(_0x1eb881,_0x4d0353){if(_0x1eb881['schema']['allowDoctypes']){const _0x7b4d86={'type':'doctype'};return _0x3731b4(_0x7b4d86,_0x4d0353),_0x7b4d86;}}(_0x1ea6ce,_0x28bfeb);case'element':return function(_0x3836fa,_0x324c28){const _0x4f6b5a='string'==typeof _0x324c28['tagName']?_0x324c28['tagName']:'';_0x3836fa['stack']['push'](_0x4f6b5a);const _0x150949=_0x4c4762(_0x3836fa,_0x324c28['children']),_0x1c0539=function(_0x226578,_0x48fb20){const _0x30be35=_0x226578['stack'][_0x226578['stack']['length']-0x1],_0x517877=_0x226578['schema']['attributes'],_0x375640=_0x226578['schema']['required'],_0x2c3557=_0x517877&&_0x509bfb['call'](_0x517877,_0x30be35)?_0x517877[_0x30be35]:void 0x0,_0x2b7f81=_0x517877&&_0x509bfb['call'](_0x517877,'*')?_0x517877['*']:void 0x0,_0x1fa294=_0x48fb20&&'object'==typeof _0x48fb20?_0x48fb20:{},_0x32f2cc={};let _0x3c10d6;for(_0x3c10d6 in _0x1fa294)if(_0x509bfb['call'](_0x1fa294,_0x3c10d6)){const _0x100d46=_0x1fa294[_0x3c10d6];let _0x502ed4=_0x2e0623(_0x226578,_0x3ff97c(_0x2c3557,_0x3c10d6),_0x3c10d6,_0x100d46);null==_0x502ed4&&(_0x502ed4=_0x2e0623(_0x226578,_0x3ff97c(_0x2b7f81,_0x3c10d6),_0x3c10d6,_0x100d46)),null!=_0x502ed4&&(_0x32f2cc[_0x3c10d6]=_0x502ed4);}if(_0x375640&&_0x509bfb['call'](_0x375640,_0x30be35)){const _0x40fcf0=_0x375640[_0x30be35];for(_0x3c10d6 in _0x40fcf0)_0x509bfb['call'](_0x40fcf0,_0x3c10d6)&&!_0x509bfb['call'](_0x32f2cc,_0x3c10d6)&&(_0x32f2cc[_0x3c10d6]=_0x40fcf0[_0x3c10d6]);}return _0x32f2cc;}(_0x3836fa,_0x324c28['properties']);_0x3836fa['stack']['pop']();let _0x1585fd=!0x1;if(_0x4f6b5a&&'*'!==_0x4f6b5a&&(!_0x3836fa['schema']['tagNames']||_0x3836fa['schema']['tagNames']['includes'](_0x4f6b5a))&&(_0x1585fd=!0x0,_0x3836fa['schema']['ancestors']&&_0x509bfb['call'](_0x3836fa['schema']['ancestors'],_0x4f6b5a))){const _0x208434=_0x3836fa['schema']['ancestors'][_0x4f6b5a];let _0x30c419=-0x1;for(_0x1585fd=!0x1;++_0x30c419<_0x208434['length'];)_0x3836fa['stack']['includes'](_0x208434[_0x30c419])&&(_0x1585fd=!0x0);}if(!_0x1585fd)return _0x3836fa['schema']['strip']&&!_0x3836fa['schema']['strip']['includes'](_0x4f6b5a)?_0x150949:void 0x0;const _0x576424={'type':'element','tagName':_0x4f6b5a,'properties':_0x1c0539,'children':_0x150949};return _0x3731b4(_0x576424,_0x324c28),_0x576424;}(_0x1ea6ce,_0x28bfeb);case'root':return function(_0x6b2d57,_0x3dba96){const _0x39a97c=_0x4c4762(_0x6b2d57,_0x3dba96['children']),_0x28b43f={'type':'root','children':_0x39a97c};return _0x3731b4(_0x28b43f,_0x3dba96),_0x28b43f;}(_0x1ea6ce,_0x28bfeb);case'text':return function(_0x11ffaa,_0x457026){const _0x3a3b2f='string'==typeof _0x457026['value']?_0x457026['value']:'',_0x1e2fab={'type':'text','value':_0x3a3b2f};return _0x3731b4(_0x1e2fab,_0x457026),_0x1e2fab;}(0x0,_0x28bfeb);}}}function _0x4c4762(_0xa23e0a,_0x262874){const _0x29d81a=[];if(Array['isArray'](_0x262874)){const _0x40a48b=_0x262874;let _0x474abd=-0x1;for(;++_0x474abd<_0x40a48b['length'];){const _0x1a7691=_0xc035ab(_0xa23e0a,_0x40a48b[_0x474abd]);_0x1a7691&&(Array['isArray'](_0x1a7691)?_0x29d81a['push'](..._0x1a7691):_0x29d81a['push'](_0x1a7691));}}return _0x29d81a;}function _0x2e0623(_0x155d6e,_0x5e9539,_0x42c635,_0x2142de){return _0x5e9539?Array['isArray'](_0x2142de)?function(_0x1bacfe,_0x3bb815,_0x45fbb7,_0x5b7747){let _0x523b0f=-0x1;const _0x3cb67b=[];for(;++_0x523b0f<_0x5b7747['length'];){const _0x285506=_0x45fc6c(_0x1bacfe,_0x3bb815,_0x45fbb7,_0x5b7747[_0x523b0f]);'number'!=typeof _0x285506&&'string'!=typeof _0x285506||_0x3cb67b['push'](_0x285506);}return _0x3cb67b;}(_0x155d6e,_0x5e9539,_0x42c635,_0x2142de):_0x45fc6c(_0x155d6e,_0x5e9539,_0x42c635,_0x2142de):void 0x0;}function _0x45fc6c(_0x32b08a,_0x1fe140,_0x34f17a,_0x44f28c){if(('boolean'==typeof _0x44f28c||'number'==typeof _0x44f28c||'string'==typeof _0x44f28c)&&function(_0x4b857e,_0x10aa1e,_0x504e90){const _0x48e5f6=_0x4b857e['schema']['protocols']&&_0x509bfb['call'](_0x4b857e['schema']['protocols'],_0x10aa1e)?_0x4b857e['schema']['protocols'][_0x10aa1e]:void 0x0;if(!_0x48e5f6||0x0===_0x48e5f6['length'])return!0x0;const _0x37c40=String(_0x504e90),_0x1679ef=_0x37c40['indexOf'](':'),_0x53fa4a=_0x37c40['indexOf']('?'),_0x234a16=_0x37c40['indexOf']('#'),_0x3fb42f=_0x37c40['indexOf']('/');if(_0x1679ef<0x0||_0x3fb42f>-0x1&&_0x1679ef>_0x3fb42f||_0x53fa4a>-0x1&&_0x1679ef>_0x53fa4a||_0x234a16>-0x1&&_0x1679ef>_0x234a16)return!0x0;let _0x1bbfc7=-0x1;for(;++_0x1bbfc7<_0x48e5f6['length'];){const _0x2f7e4d=_0x48e5f6[_0x1bbfc7];if(_0x1679ef===_0x2f7e4d['length']&&_0x37c40['slice'](0x0,_0x2f7e4d['length'])===_0x2f7e4d)return!0x0;}return!0x1;}(_0x32b08a,_0x34f17a,_0x44f28c)){if('object'==typeof _0x1fe140&&_0x1fe140['length']>0x1){let _0x58181d=!0x1,_0x3df2c2=0x0;for(;++_0x3df2c2<_0x1fe140['length'];){const _0x68db6c=_0x1fe140[_0x3df2c2];if(_0x68db6c&&'object'==typeof _0x68db6c&&'flags'in _0x68db6c){if(_0x68db6c['test'](String(_0x44f28c))){_0x58181d=!0x0;break;}}else{if(_0x68db6c===_0x44f28c){_0x58181d=!0x0;break;}}}if(!_0x58181d)return;}return _0x32b08a['schema']['clobber']&&_0x32b08a['schema']['clobberPrefix']&&_0x32b08a['schema']['clobber']['includes'](_0x34f17a)?_0x32b08a['schema']['clobberPrefix']+_0x44f28c:_0x44f28c;}}function _0x3731b4(_0x3bb180,_0x13ae63){const _0x567ad7=function(_0x564f78){const _0x3af4bf=_0x22bb50(_0x564f78),_0x16c9b0=_0x377469(_0x564f78);if(_0x3af4bf&&_0x16c9b0)return{'start':_0x3af4bf,'end':_0x16c9b0};}(_0x13ae63);_0x13ae63['data']&&(_0x3bb180['data']=_0xf03bba(_0x13ae63['data'])),_0x567ad7&&(_0x3bb180['position']=_0x567ad7);}function _0x3ff97c(_0x1a65a7,_0x40b08d){let _0x218bc8,_0x538860=-0x1;if(_0x1a65a7)for(;++_0x538860<_0x1a65a7['length'];){const _0x5ec989=_0x1a65a7[_0x538860],_0x2f501b='string'==typeof _0x5ec989?_0x5ec989:_0x5ec989[0x0];if(_0x2f501b===_0x40b08d)return _0x5ec989;'data*'===_0x2f501b&&(_0x218bc8=_0x5ec989);}if(_0x40b08d['length']>0x4&&'data'===_0x40b08d['slice'](0x0,0x4)['toLowerCase']())return _0x218bc8;}function _0x2254d7(_0x28bd29){return function(_0x1cfd71){const _0xccf213=function(_0x20c506,_0x34757d){let _0x3222f0={'type':'root','children':[]};const _0x1ee5d2=_0xc035ab({'schema':_0x34757d?{..._0x19e357,..._0x34757d}:_0x19e357,'stack':[]},_0x20c506);return _0x1ee5d2&&(Array['isArray'](_0x1ee5d2)?0x1===_0x1ee5d2['length']?_0x3222f0=_0x1ee5d2[0x0]:_0x3222f0['children']=_0x1ee5d2:_0x3222f0=_0x1ee5d2),_0x3222f0;}(_0x1cfd71,_0x28bd29);return _0xccf213;};}class _0x566c2c extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['_m2html'];constructor(){super();const _0x226604=Object['entries'](_0x31c75c['MarkdownGfmMdToHtmlDefaultPlugins']),_0x42124d=_0x226604['findIndex'](([_0x103537])=>'rehypeDomRaw'===_0x103537);if(-0x1===_0x42124d)throw new _0x31c75c['CKEditorError']('ai-response-parser-unable-to-set-up-parser');_0x226604['splice'](_0x42124d+0x1,0x0,['rehypeSanitize',_0x2254d7]),this['_m2html']=new _0x31c75c['MarkdownGfmMdToHtml']({'plugins':Object['fromEntries'](_0x226604)});}['convertMarkdownToHTML'](_0x18d8f4){const _0x1f1300=this['_m2html']['parse'](_0x18d8f4);return this['parseAndNormalizeHTML'](_0x1f1300);}['parseAndNormalizeHTML'](_0x134d2b){return this['_parseHTML'](_0x134d2b);}['_parseHTML'](_0x533005){const _0x3ae781=_0x24a09e('<dummy>'+_0x533005['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x3ae781['children']=_0x3ae781['children'][0x0]['children'],_0x3ae781;}}class _0x5ad5e0 extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x193ac1){super(),this['_generateUid']=_0x193ac1||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x3b9fdf,_0x2597b5,_0x2f03ef){this['_uidCounter']=0x0;const _0xd94edd=_0x3b9fdf['cloneNode'](!0x0),_0x54b8f7=_0xd94edd['childNodes'],_0x540300=Array['from'](_0x54b8f7)['filter'](_0x529467=>!(0x3===_0x529467['nodeType']&&''===_0xad603d(_0x529467)['trim']())),_0x186ab3=_0x540300['length'],_0x961f5f=new Map();for(const _0x524f1c of _0x540300)_0x524f1c&&_0x48a792(_0x524f1c)&&void 0x0===_0x524f1c['attribs']['data-id']&&_0xe6a20(_0x524f1c,'data-id','new-element');if(0x0===_0x2597b5['childNodes']['length']){const _0xb7e4d1=[];return _0xbc1c1a('data-id','new-element',_0xd94edd)['forEach'](_0x2a10b5=>{const _0x5c8990=this['_generateUid']();_0xe6a20(_0x2a10b5,'data-id',_0x5c8990),_0xb7e4d1['push'](_0x5c8990);}),this['_removeSpecialComments'](_0xd94edd),{'parsedContent':_0xd94edd,'newNodeIds':_0xb7e4d1,'modifiedNodeIds':[],'removedNodeIds':[],'newAnchorIds':_0x961f5f};}_0x2f03ef&&_0x2f03ef['markUnstableElements']&&this['_markLastTagElementUnstable'](_0xd94edd),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(_0xbc1c1a('data-id',null,_0x2597b5)['map'](_0x32d9da=>_0x55051d(_0x32d9da,'data-id'))['filter'](_0x5a798f=>!!_0x5a798f));let _0x3a2c86=-0x1,_0xd3b8b7=!0x1;for(let _0x24cf6f=0x0;_0x24cf6f<_0x186ab3;_0x24cf6f++){const _0x8b6366=_0x540300[_0x24cf6f],_0x250ff6=_0x540300[_0x24cf6f+0x1];if(this['_isNewNode'](_0x8b6366)){if(-0x1===_0x3a2c86&&(_0x3a2c86=_0x24cf6f),this['_markWrappedElements'](_0x8b6366),!this['_isNewNode'](_0x250ff6)){const [_0x4ec9df,_0x475af9]=this['_findReferenceNode'](_0x8b6366,_0xd3b8b7,_0x2597b5);if(_0x4ec9df){const _0x518621=Array['from'](_0x540300)['slice'](_0x3a2c86,_0x24cf6f+0x1),_0x45a282=_0x55051d(_0x4ec9df,'data-id');if(this['_insertNodes'](_0x4ec9df,_0x518621,_0x475af9),_0x45a282)for(const _0x1622ba of _0x518621){const _0x55ef8f=_0x55051d(_0x1622ba,'data-id');_0x55ef8f&&_0x961f5f['set'](_0x55ef8f,_0x45a282);}_0x3a2c86=-0x1;}}}else{if(this['_isExistingContentComment'](_0x8b6366))_0xd3b8b7=!0x0;else{if(this['_isExistingNode'](_0x8b6366)){const _0x189abd=_0x55051d(_0x8b6366,'data-id');if(_0x189abd&&this['_existingDataIds']['has'](_0x189abd)){const _0x5b85c7=_0x4928e3('data-id',_0x189abd,_0x2597b5);this['_replaceNode'](_0x5b85c7,_0x8b6366);}}else{if(this['_isDelNode'](_0x8b6366)){const _0xd70045=this['_getNodeDataId'](_0x8b6366);!!_0x4928e3('data-id',_0xd70045,_0xd94edd)||this['_touchedNodesState']['removedIds']['push'](_0xd70045);}}}}}for(const _0x15e47c of this['_touchedNodesState']['removedIds']){const _0x35f319=_0x4928e3('data-id',_0x15e47c,_0x2597b5);_0x35f319&&this['_removeNode'](_0x35f319,_0x15e47c,_0x2f03ef);}if(_0xbc1c1a('data-id','new-element',_0x2597b5)['forEach'](_0x95d59f=>{const _0x283f26=this['_getUid'](_0x95d59f);_0xe6a20(_0x95d59f,'data-id',_0x283f26),this['_touchedNodesState']['newIds']['push'](_0x283f26);}),this['_removeSpecialComments'](_0x2597b5),_0x2f03ef&&_0x2f03ef['markUnstableElements']&&this['_markUnstableElements'](_0x2597b5,_0x2f03ef['markUnstableElementsDepth']||0x0),this['_processWrappedElements'](_0x2597b5,_0x2f03ef),_0x2f03ef&&_0x2f03ef['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){const _0xa2213=_0xbc1c1a('data-id',this['_touchedNodesState']['lastTouchedId'],_0x2597b5);let _0x4b7feb=_0xa2213[_0xa2213['length']-0x1];for(;_0x4b7feb;)_0x3d6dc3(_0x4b7feb),_0x4b7feb=_0x4b7feb['parentNode'];}return{'parsedContent':_0x2597b5,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds'],'newAnchorIds':_0x961f5f};}['_insertNodes'](_0x2f2c75,_0x47fcd5,_0x5dea9b){for(const _0x2a247d of _0x47fcd5){const _0x5c904b=this['_getUid'](_0x2a247d);_0xe6a20(_0x2a247d,'data-id',_0x5c904b),this['_touchedNodesState']['newIds']['push'](_0x5c904b),this['_touchedNodesState']['lastTouchedId']=_0x5c904b;}const _0x701dbe='afterbegin'===_0x5dea9b||'afterend'===_0x5dea9b?_0x47fcd5['reverse']():_0x47fcd5;for(const _0x5ecdbc of _0x701dbe)_0x11eb78(_0x2f2c75,_0x5ecdbc,_0x5dea9b);}['_replaceNode'](_0x3609ef,_0x3e76e4){if(!_0x3609ef)return;if(_0x3ce102=_0x3e76e4,_0x2d61ff(_0xad603d(_0x3609ef))===_0x2d61ff(_0xad603d(_0x3ce102)))return;var _0x3ce102;const _0x305c9b=this['_getUid'](_0x3609ef);_0xe6a20(_0x3e76e4,'data-id',_0x305c9b),this['_touchedNodesState']['modifiedIds']['push'](_0x305c9b),this['_touchedNodesState']['lastTouchedId']=_0x305c9b,_0x1e2ad4(_0x3609ef,_0x3e76e4['cloneNode'](!0x0));}['_removeNode'](_0x145012,_0x2cf865,_0x49c7fb){if(_0x49c7fb&&_0x49c7fb['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x2cf865;const _0x53d3f8=_0x49c7fb['replaceRemovedWith']['cloneNode'](!0x0);_0xe6a20(_0x53d3f8,'data-id',_0x2cf865),_0xe6a20(_0x53d3f8,'data-removed','true'),_0x1e2ad4(_0x145012,_0x53d3f8);}else _0x407b65(_0x145012);}['_findReferenceNode'](_0x62b4a3,_0x29d949,_0x23ab18){const _0x25fec8=this['_findPrevElementWithDataId'](_0x62b4a3,!0x1);if(_0x25fec8){const _0x4389f7=this['_getNodeDataId'](_0x25fec8),_0x11c81c=_0x4928e3('data-id',_0x4389f7,_0x23ab18);if(_0x11c81c)return[_0x11c81c,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x4389f7);}const _0x6826ff=this['_findNextElementWithDataId'](_0x62b4a3,!0x1);if(_0x6826ff){const _0x4eceb7=this['_getNodeDataId'](_0x6826ff),_0x59f92e=_0x4928e3('data-id',_0x4eceb7,_0x23ab18);if(_0x59f92e)return[_0x59f92e,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x4eceb7);}return _0x29d949?_0x62b4a3['nextSibling']?this['_findFallbackReferenceNode'](_0x62b4a3,_0x23ab18):[_0x23ab18['childNodes'][_0x23ab18['childNodes']['length']-0x1],'afterend']:[_0x23ab18['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x58e404,_0x5a9e0a){const _0x219dd5=[],_0x34b11c=this['_findPrevElementWithDataId'](_0x58e404,!0x0);if(_0x34b11c){const _0x4e4078=_0x4928e3('data-id',this['_getNodeDataId'](_0x34b11c),_0x5a9e0a);_0x4e4078&&_0x219dd5['push']([_0x4e4078,'afterend']);}const _0x293546=this['_findNextElementWithDataId'](_0x58e404,!0x0);if(_0x293546){const _0x21ff8b=_0x4928e3('data-id',this['_getNodeDataId'](_0x293546),_0x5a9e0a);_0x21ff8b&&_0x219dd5['push']([_0x21ff8b,'beforebegin']);}if(_0x219dd5['length']>0x1)return _0x2ecb48(_0x219dd5[0x0][0x0])<=_0x2ecb48(_0x219dd5[0x1][0x0])?_0x219dd5[0x0]:_0x219dd5[0x1];return 0x1===_0x219dd5['length']?_0x219dd5[0x0]:[_0x5a9e0a['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x53e08e,_0xde07e3){let _0x5e7d36=_0x53e08e['nextSibling'],_0x5e5697=null,_0x254a7a=!0x1;for(;_0x5e7d36;){if(_0x32a1db(_0x5e7d36)){if(this['_isDelNode'](_0x5e7d36)&&(_0x5e5697=_0x5e7d36),this['_isExistingContentComment'](_0x5e7d36)&&_0xde07e3&&!_0x254a7a){_0x254a7a=!0x0,_0x5e7d36=_0x5e7d36['nextSibling'];continue;}break;}const _0x15bb8b=_0x55051d(_0x5e7d36,'data-id');if(_0x15bb8b&&'new-element'!==_0x15bb8b&&this['_existingDataIds']['has'](_0x15bb8b)){_0x5e5697=_0x5e7d36;break;}_0x5e7d36=_0x5e7d36['nextSibling'];}return _0x5e5697;}['_findPrevElementWithDataId'](_0x183a3d,_0x2dc678){let _0x87f6f4=_0x183a3d['previousSibling'],_0x1a25ea=null,_0x18a597=!0x1;for(;_0x87f6f4;){if(_0x32a1db(_0x87f6f4)){if(this['_isDelNode'](_0x87f6f4)&&(_0x1a25ea=_0x87f6f4),this['_isExistingContentComment'](_0x87f6f4)&&_0x2dc678&&!_0x18a597){_0x18a597=!0x0,_0x87f6f4=_0x87f6f4['previousSibling'];continue;}break;}const _0x2c6954=_0x55051d(_0x87f6f4,'data-id');if(_0x2c6954&&'new-element'!==_0x2c6954&&this['_existingDataIds']['has'](_0x2c6954)){_0x1a25ea=_0x87f6f4;break;}_0x87f6f4=_0x87f6f4['previousSibling'];}return _0x1a25ea;}['_markWrappedElements'](_0xe262f2){_0x48a792(_0xe262f2)&&_0xbc1c1a('data-id',null,_0xe262f2)['forEach'](_0x22f7ef=>{this['_isExistingNode'](_0x22f7ef)&&(_0xe6a20(_0x22f7ef,'data-wrapped-id',_0x55051d(_0x22f7ef,'data-id')),_0xe6a20(_0x22f7ef,'data-id',null));});}['_processWrappedElements'](_0x3c55c9,_0x483a2f){_0xbc1c1a('data-wrapped-id',null,_0x3c55c9)['forEach'](_0x58ecd8=>{const _0x6c4465=_0x55051d(_0x58ecd8,'data-wrapped-id');if(_0x55051d(_0x58ecd8,'data-unstable')||this['_hasUnstableParent'](_0x58ecd8))return;const _0x2390dc=_0x4928e3('data-id',_0x6c4465,_0x3c55c9);_0xe6a20(_0x58ecd8,'data-id',_0x6c4465),_0xe6a20(_0x58ecd8,'data-wrapped-id',null),_0x2390dc&&(this['_removeNode'](_0x2390dc,_0x6c4465,_0x483a2f),this['_touchedNodesState']['removedIds']['push'](_0x6c4465),this['_touchedNodesState']['lastTouchedId']=_0x6c4465);});}['_hasUnstableParent'](_0x19328d){let _0x1e5ffe=_0x19328d['parentNode'];for(;_0x1e5ffe;){if(_0x55051d(_0x1e5ffe,'data-unstable'))return!0x0;_0x1e5ffe=_0x1e5ffe['parentNode'];}return!0x1;}['_getNodeDataId'](_0x37608f){if(!_0x37608f)return null;if(_0x48a792(_0x37608f))return _0x55051d(_0x37608f,'data-id');if(_0x32a1db(_0x37608f)){const _0xa685ef=_0xad603d(_0x37608f)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0xa685ef&&_0xa685ef[0x1])return _0xa685ef[0x1];}return null;}['_getUid'](_0x3cdc5d){return this['_isExistingNode'](_0x3cdc5d)?_0x55051d(_0x3cdc5d,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x2966c8){_0x3f9ebf(_0x2966c8)['filter'](_0x4e9295=>this['_isDelNode'](_0x4e9295)||this['_isExistingContentComment'](_0x4e9295))['forEach'](_0x5e4cad=>{_0x407b65(_0x5e4cad);});}['_markLastTagElementUnstable'](_0x161630){const _0x18a626=_0x161630['childNodes'],_0x32d5d6=_0x18a626[_0x18a626['length']-0x1];_0x32d5d6&&_0x48a792(_0x32d5d6)&&_0xe6a20(_0x32d5d6,'data-unstable','true');}['_markUnstableElements'](_0x181d65,_0x41e55d){const _0x43815f=_0x4928e3('data-unstable','true',_0x181d65);if(!_0x43815f)return;const _0x39f988=_0x523535(_0x43815f)['slice'](0x0,-0x1),_0x4ec262=_0x39f988['length'];let _0x46bcae=_0x43815f;if(_0x4ec262>_0x41e55d){let _0x47dbae=_0x4ec262,_0x38144b=null;for(;_0x47dbae>_0x41e55d&&_0x47dbae>=0x0;)_0x47dbae--,_0x38144b=_0x39f988[_0x47dbae];_0x38144b&&(_0x46bcae=_0x38144b,_0xe6a20(_0x43815f,'data-unstable',null),_0xe6a20(_0x38144b,'data-unstable','true'));}else{if(_0x4ec262<_0x41e55d){let _0x5f544b=_0x4ec262,_0x1e7707=_0x43815f;for(;_0x5f544b<_0x41e55d;){const _0x538c25=_0x1e7707['childNodes']['filter'](_0x3613f8=>_0x48a792(_0x3613f8));if(0x0===_0x538c25['length'])break;_0x5f544b++,_0x1e7707=_0x538c25[_0x538c25['length']-0x1];}_0x1e7707&&(_0x46bcae=_0x1e7707,_0xe6a20(_0x43815f,'data-unstable',null),_0xe6a20(_0x1e7707,'data-unstable','true'));}}let _0x309035=_0x46bcae;for(;_0x309035;){for(;_0x309035['nextSibling'];)_0x309035=_0x309035['nextSibling'],_0x48a792(_0x309035)&&_0xe6a20(_0x309035,'data-unstable','true');_0x309035=_0x309035['parentNode'];}}['_isNewNode'](_0x316c73){return Boolean('new-element'===_0x55051d(_0x316c73,'data-id'));}['_isExistingNode'](_0x5b8cf3){return Boolean((_0x55051d(_0x5b8cf3,'data-id')||'')['length']>0x0&&'new-element'!==_0x55051d(_0x5b8cf3,'data-id'));}['_isDelNode'](_0x5b2ac9){return!!_0x5b2ac9&&Boolean(_0x32a1db(_0x5b2ac9)&&_0xad603d(_0x5b2ac9)['match'](/removed[\s*-]data-id="[^"]+"/));}['_isExistingContentComment'](_0x5e174a){return Boolean(_0x32a1db(_0x5e174a)&&_0xad603d(_0x5e174a)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x418faa extends _0x31c75c['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5cd9a3,_0x5f3540){let _0x401730;if(_0x5f3540||(_0x5f3540=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5f3540?_0x401730=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x401730=this['context']['editors']['find'](_0x1b005b=>_0x1b005b['config']['get']('collaboration.channelId')==_0x5f3540)),!_0x401730)throw new _0x31c75c['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x52ac7d=_0x401730['plugins'],_0xb76b8d=_0x52ac7d['has']('CommentsRepository')?_0x52ac7d['get']('CommentsRepository'):void 0x0,_0x5c031c=_0x52ac7d['has']('CommentsOnly')&&_0x52ac7d['get']('CommentsOnly'),_0x47840c=_0x5cd9a3['includes']('document:write'),_0x521a87=_0x5cd9a3['includes']('comment:modify_all'),_0x487949=_0x5cd9a3['includes']('comment:admin'),_0x23bdb7=_0x5cd9a3['includes']('comment:write'),_0x742511=_0x23bdb7||_0x487949,_0x4a1ac1=_0x742511||_0x521a87,_0xb808a0=_0x47840c||_0x742511;(_0x5c031c&&(_0x5c031c['isEnabled']=!_0x47840c&&_0x4a1ac1),_0x401730 instanceof _0x31c75c['Editor'])&&(!(_0x47840c||_0x4a1ac1&&_0xb76b8d)?_0x401730['enableReadOnlyMode']('no-permissions'):_0x401730['disableReadOnlyMode']('no-permissions'));if(_0xb76b8d){_0xb76b8d['setPermissions']({'admin':_0x487949,'modifyAll':_0x521a87,'write':_0x23bdb7,'resolve':_0xb808a0},_0x5f3540);const _0x4001d1=_0x401730 instanceof _0x31c75c['Editor']&&_0x401730['commands']['get']('addCommentThread');_0x4001d1&&(_0x742511?_0x4001d1['clearForceDisabled']('noPermissions'):_0x4001d1['forceDisabled']('noPermissions'));}}}function _0x1f6a0c(_0x10de8a,_0x204d90){const t=_0x10de8a['t'];switch(_0x204d90){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class _0x1eec90 extends _0x31c75c['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x418faa];}constructor(_0x19a89b){super(_0x19a89b),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x31c75c['Collection'](),this['_locale']=_0x19a89b['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x624c71,name:_0x1a6bb0,..._0x3fe62d}){if(!_0x624c71||'string'!=typeof _0x624c71)throw new _0x31c75c['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x624c71))throw new _0x31c75c['CKEditorError']('users-add-duplicated-id',null,{'id':_0x624c71});const _0x5e5215=this['context']['config']['get']('users.getInitialsCallback'),_0x430e12={..._0x3fe62d,'id':_0x624c71,'name':_0x974f31(this['_locale'],_0x1a6bb0),'color':this['_getNextColor']()};_0x430e12['name']=_0x974f31(this['_locale'],_0x430e12['name']);const _0x17b573=new _0x275adb(_0x430e12,_0x5e5215);return this['users']['add'](_0x17b573),_0x17b573;}['getUser'](_0x328e3c){return this['users']['get'](_0x328e3c);}['useAnonymousUser'](){const _0x320cae=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x320cae);}['defineMe'](_0x50adcb){if(this['_myId'])throw new _0x31c75c['CKEditorError']('users-me-already-defined',null);const _0x257514=this['getUser'](_0x50adcb);if(!_0x257514)throw new _0x31c75c['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x50adcb,_0x257514['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0xeeac12=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xeeac12&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x11a213=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x11a213,'name':_0x1f6a0c(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x275adb=class _0x4a9828{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x5706ad,_0xbd3d00){this['id']=_0x5706ad['id'],this['color']=_0x5706ad['color'],this['name']=_0x5706ad['name'],this['initials']=_0xbd3d00?_0xbd3d00(this['name']):this['_computeInitials'](),this['avatar']=_0x5706ad['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x26417d=this['name']['split']('\x20')['filter'](_0x110e68=>/^[\p{Letter}]/u['test'](_0x110e68));return 0x1===_0x26417d['length']?this['_getInitial'](_0x26417d[0x0]):0x0===_0x26417d['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x26417d[0x0])+this['_getInitial'](_0x26417d[_0x26417d['length']-0x1]);}['_getInitial'](_0x1aa0e2){return String['fromCodePoint'](_0x1aa0e2['codePointAt'](0x0))['toUpperCase']();}};function _0x974f31(_0x1f4a4d,_0x1af187=''){return''==(_0x1af187=_0x1af187['trim']())?_0x1f6a0c(_0x1f4a4d,'Anonymous'):_0x1af187;}class CollaborationUserColor{['_id'];constructor(_0x47c477){this['_id']=_0x47c477;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}}class _0x4a5e55 extends _0x31c75c['View']{['name'];['notificationView'];constructor(_0x2725a6,_0x1e5c31,_0x2c2b18){super(_0x2725a6),this['name']=_0x1e5c31['name'],this['notificationView']=null;const _0x1b30d6=['ck','ck-user'],_0xf1876f=['ck','ck-user__img'];if(_0x1e5c31['isAnonymous']&&_0xf1876f['push']('ck-user__anonymous'),!_0x1e5c31['isAnonymous']&&_0x1e5c31['isMe']&&_0x1b30d6['push']('ck-user_me'),_0x1e5c31['avatar']&&_0xf1876f['push']('ck-user__avatar'),_0x2c2b18){const _0x41441c=new _0x31c75c['IconView']();_0x41441c['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x41441c['content']=_0x31c75c['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2c2b18},'children':[_0x41441c]};}const _0x2ebaea=[{'tag':'div','attributes':{'class':_0xf1876f,'style':{'background-image':_0x1e5c31['avatar']?'url(\x27'+_0x1e5c31['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1e5c31['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x1e5c31['name']},'children':[{'text':_0x1e5c31['initials']}]}];this['notificationView']&&_0x2ebaea['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1b30d6,'data-user-id':_0x1e5c31['id']},'children':_0x2ebaea});}}class AriaDescriptionView extends _0x31c75c['View']{['id'];constructor(_0x2532cb,_0x12609a){super(_0x2532cb),this['id']='ck-aria-description-'+_0x31c75c['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x12609a}]});}}class LateFocusButtonView extends _0x31c75c['ButtonView']{['render'](){super['render'](),_0xb81ffc(this);}}class LateFocusDropdownButtonView extends _0x31c75c['DropdownButtonView']{['render'](){super['render'](),_0xb81ffc(this);}}function _0xb81ffc(_0x362af9){_0x362af9['listenTo'](_0x362af9['element'],'mousedown',(_0x34b7d1,_0x47bfb5)=>{_0x47bfb5['stopPropagation'](),_0x47bfb5['preventDefault']();}),_0x362af9['listenTo'](_0x362af9['element'],'mouseup',()=>{_0x362af9['element']['focus']();});}function _0x518fa7(_0xcdc9b3){const _0x1aaef2=_0xcdc9b3['split'](':');return{'group':_0x1aaef2[0x0],'type':_0x1aaef2[0x1],'subType':_0x1aaef2['length']>=0x5?_0x1aaef2[0x2]:null,'id':_0x1aaef2['length']<0x5?_0x1aaef2[0x2]:_0x1aaef2[0x3],'authorId':_0x1aaef2['length']<0x5?_0x1aaef2[0x3]:_0x1aaef2[0x4],'markerCount':0x6==_0x1aaef2['length']?_0x1aaef2[0x5]:null};}function _0x142cf4(_0x53cee2,_0x47ea16){const _0x163bb5=_0x53cee2['end']['nodeBefore'];if(_0x163bb5&&_0x163bb5['is']('element')&&_0x47ea16['schema']['isBlock'](_0x163bb5)&&!_0x47ea16['schema']['isObject'](_0x163bb5)){const _0x3b2fa6=_0x47ea16['createPositionAt'](_0x163bb5,'end');return _0x47ea16['createRange'](_0x53cee2['start'],_0x3b2fa6);}return _0x53cee2;}class SuggestionsConversionAlignment extends _0x31c75c['Plugin']{['afterInit'](){const _0x54fac1=this['editor'];if(!_0x54fac1['plugins']['has']('AlignmentEditing'))return;_0x54fac1['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const _0xed7aa4=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x31c75c['Plugin']{['afterInit'](){const _0x34ddd6=this['editor'],_0x1118cb=_0x34ddd6['plugins']['get']('SuggestionsConversion');for(const _0xa2aea of _0xed7aa4){if(!_0x34ddd6['plugins']['has'](_0xa2aea))continue;const _0x8c225c=_0xa2aea['slice'](0x0,-0x7)['toLowerCase']();_0x1118cb['registerInlineAttribute'](_0x8c225c);}}}class SuggestionsConversionBookmark extends _0x31c75c['Plugin']{['afterInit'](){const _0x1b3399=this['editor'],_0x3190bf=_0x1b3399['plugins']['get']('SuggestionsConversion');_0x1b3399['plugins']['has']('BookmarkEditing')&&_0x3190bf['registerBlockAttribute']('bookmarkId');}}const ts=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x31c75c['Plugin']{['afterInit'](){const _0x2b6d4a=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x454114,commandName:_0x2d47c7}of ts)this['editor']['plugins']['has'](_0x454114)&&_0x2b6d4a['registerInlineAttribute'](_0x2d47c7);}}class SuggestionsConversionFootnotes extends _0x31c75c['Plugin']{['afterInit'](){const {editor:_0x4e6b1b}=this;if(!_0x4e6b1b['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x39e9c4=_0x4e6b1b['plugins']['get']('SuggestionsConversion');_0x39e9c4['registerBlockAttribute']('footnotesListStyle'),_0x39e9c4['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends _0x31c75c['Plugin']{['afterInit'](){const _0x922c50=this['editor'];if(!_0x922c50['plugins']['has']('HighlightEditing'))return;_0x922c50['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x31c75c['Plugin']{['afterInit'](){const _0x3d0c63=this['editor'];if(!_0x3d0c63['plugins']['has']('HtmlEmbed'))return;_0x3d0c63['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x31c75c['Plugin']{['afterInit'](){const _0x33ece5=this['editor'];if(!_0x33ece5['plugins']['has']('ImageEditing'))return;const _0x2bdce7=_0x33ece5['plugins']['get']('SuggestionsConversion');_0x2bdce7['registerBlockAttribute']('src'),_0x33ece5['plugins']['has']('ImageResize')&&_0x2bdce7['registerBlockAttribute']('resizedWidth'),_0x33ece5['plugins']['has']('ImageTextAlternativeEditing')&&_0x2bdce7['registerBlockAttribute']('alt'),_0x33ece5['plugins']['has']('PictureEditing')&&_0x2bdce7['registerBlockAttribute']('sources'),_0x33ece5['plugins']['has']('ImageSizeAttributes')&&(_0x2bdce7['registerBlockAttribute']('width'),_0x2bdce7['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x31c75c['Plugin']{['afterInit'](){const _0x5c04c4=this['editor'],_0x2c5066=_0x5c04c4['plugins']['get']('SuggestionsConversion');_0x5c04c4['plugins']['has']('IndentBlock')&&(_0x2c5066['registerBlockAttribute']('blockIndent'),_0x5c04c4['plugins']['has']('ListEditing')&&(_0x2c5066['registerBlockAttribute']('blockIndentList'),_0x2c5066['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x31c75c['Plugin']{['afterInit'](){const _0x2eee28=this['editor'];if(!_0x2eee28['plugins']['has']('LineHeight'))return;_0x2eee28['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x31c75c['Plugin']{['afterInit'](){const _0x2bd29b=this['editor'];if(!_0x2bd29b['plugins']['has']('LinkEditing'))return;const _0x3ea233=_0x2bd29b['plugins']['get']('SuggestionsConversion'),_0x3747e4=_0x2bd29b['commands']['get']('link');_0x3ea233['registerInlineAttribute']('linkHref');for(const _0x289483 of _0x3747e4['manualDecorators'])_0x3ea233['registerInlineAttribute'](_0x289483['id']);}}class SuggestionsConversionList extends _0x31c75c['Plugin']{['afterInit'](){const _0x213601=this['editor'];if(!_0x213601['plugins']['has']('ListEditing'))return;const _0x4cebdb=_0x213601['plugins']['get']('SuggestionsConversion'),_0x1f38e0=_0x213601['plugins']['has']('TodoListEditing');_0x4cebdb['registerBlockAttribute']('listItemId'),_0x4cebdb['registerBlockAttribute']('listType'),_0x4cebdb['registerBlockAttribute']('listIndent'),_0x1f38e0&&_0x4cebdb['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x31c75c['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x21de8a=this['editor']['config']['get']('list.properties'),_0x57a254=this['editor']['plugins']['get']('SuggestionsConversion');_0x21de8a['styles']&&_0x57a254['registerBlockAttribute']('listStyle'),_0x21de8a['reversed']&&_0x57a254['registerBlockAttribute']('listReversed'),_0x21de8a['startIndex']&&_0x57a254['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x31c75c['Plugin']{['afterInit'](){const _0x232609=this['editor'],_0x518f40=_0x232609['plugins']['get']('SuggestionsConversion');_0x232609['plugins']['has']('MultiLevelList')&&_0x518f40['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends _0x31c75c['Plugin']{['afterInit'](){const _0x36320b=this['editor'];if(!_0x36320b['plugins']['has']('Style')||!_0x36320b['plugins']['has']('DataSchema')||!_0x36320b['config']['get']('style.definitions'))return;const _0x52dc3c=_0x36320b['plugins']['get']('SuggestionsConversion'),_0x458bb2=_0x36320b['config']['get']('style.definitions'),_0x3fee49=_0x36320b['plugins']['get']('GeneralHtmlSupport'),_0xb25193=_0x36320b['plugins']['get']('StyleUtils')['normalizeConfig'](_0x36320b['plugins']['get']('DataSchema'),_0x458bb2),_0x23b466=new Set();for(const _0x2c1e0d of _0xb25193['block']){const _0x9fbaff=_0x3fee49['getGhsAttributeNameForElement'](_0x2c1e0d['element']);_0x23b466['add'](_0x9fbaff);}const _0x301f14=new Set();for(const _0x1ca280 of _0xb25193['inline']){const _0x43b938=_0x3fee49['getGhsAttributeNameForElement'](_0x1ca280['element']);_0x301f14['add'](_0x43b938);for(const _0x53f375 of _0x1ca280['ghsAttributes'])_0x301f14['add'](_0x53f375);}for(const _0x12c851 of _0x23b466)_0x52dc3c['registerBlockAttribute'](_0x12c851);for(const _0x46c34b of _0x301f14)_0x52dc3c['registerInlineAttribute'](_0x46c34b);}}class SuggestionsConversionTableHeadings extends _0x31c75c['Plugin']{['afterInit'](){const _0x11291f=this['editor'];if(!_0x11291f['plugins']['has']('TableEditing'))return;const _0x15c4b8=_0x11291f['plugins']['get']('SuggestionsConversion');_0x15c4b8['registerBlockAttribute']('headingRows'),_0x15c4b8['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x31c75c['Plugin']{['afterInit'](){const {plugins:_0x130838}=this['editor'];if(!_0x130838['has']('TablePropertiesEditing'))return;const _0x519c60=_0x130838['get']('SuggestionsConversion'),_0x4aecc7=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x5d2e45 of _0x4aecc7)_0x519c60['registerBlockAttribute'](_0x5d2e45);}}class SuggestionsConversionTableLayout extends _0x31c75c['Plugin']{['afterInit'](){const _0x1a6045=this['editor'],_0x3070a1=_0x1a6045['plugins']['get']('SuggestionsConversion');_0x1a6045['plugins']['has']('TableLayout')&&_0x3070a1['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x31c75c['Plugin']{['afterInit'](){const _0x24d027=this['editor'],_0x5c14a1=this['editor']['plugins']['get']('SuggestionsConversion');_0x24d027['plugins']['has']('Uploadcare')&&_0x24d027['plugins']['has']('UploadcareImageEdit')&&_0x5c14a1['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x31c75c['Plugin']{['afterInit'](){const _0x3246a8=this['editor'];if(!_0x3246a8['plugins']['has']('ShiftEnter'))return;const _0x8429c4=_0x3246a8['plugins']['get']('SuggestionsConversion'),_0x354816=(_0x446e77,_0x6fa42,_0x11152d,_0x24497b)=>{if(_0x24497b&&!_0x11152d['options']['showSuggestionHighlights'])return;if(!_0x11152d['consumable']['test'](_0x6fa42['markerRange'],_0x446e77['name']))return;const _0x20c6f=_0x3246a8['model'];for(const _0x2fb146 of _0x6fa42['markerRange']['getItems']()){if(!_0x2fb146['is']('element','softBreak'))continue;const _0x304574='deletion'==_0x6fa42['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x36bbe1,authorId:_0x3b7732}=_0x518fa7(_0x6fa42['markerName']),_0x5b61b7=_0x11152d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x304574,'data-suggestion':_0x36bbe1,'data-author-id':_0x3b7732}),_0x5a423e=_0x11152d['mapper']['toViewPosition'](_0x20c6f['createPositionBefore'](_0x2fb146));!_0x24497b&&_0x8429c4['_activeMarkers']['includes'](_0x6fa42['markerName'])&&_0x11152d['writer']['addClass']('ck-suggestion-marker--active',_0x5b61b7),_0x11152d['writer']['insert'](_0x5a423e,_0x5b61b7),_0x11152d['mapper']['bindElementToMarker'](_0x5b61b7,_0x6fa42['markerName']);}};_0x3246a8['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x445c3c,_0x43dc91,_0x4e6da9)=>{_0x354816(_0x445c3c,_0x43dc91,_0x4e6da9,!0x1);},{'priority':'high'}),_0x3246a8['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x47cc88,_0x5bc887,_0x2981fa)=>{_0x354816(_0x47cc88,_0x5bc887,_0x2981fa,!0x1);},{'priority':'high'}),_0x3246a8['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x19e7fd,_0x56902a,_0x4e9ed4)=>{_0x354816(_0x19e7fd,_0x56902a,_0x4e9ed4,!0x0);},{'priority':'high'}),_0x3246a8['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2afb7c,_0x5955a2,_0x5491bb)=>{_0x354816(_0x2afb7c,_0x5955a2,_0x5491bb,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x31c75c['Plugin']{['afterInit'](){const _0x410c2a=this['editor'];_0x410c2a['plugins']['has']('MediaEmbedEditing')&&(_0x410c2a['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x525966,{writer:_0x2bb5e5,options:_0x33ecfb})=>{if(_0x33ecfb['showSuggestionHighlights'])return _0x2bb5e5['createEmptyElement']('div');},'converterPriority':'high'}),_0x410c2a['data']['downcastDispatcher']['on']('attribute:url:media',(_0x4b957d,_0xbc55b3,_0xe64beb)=>{_0xe64beb['options']['showSuggestionHighlights']&&_0x4b957d['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends _0x31c75c['Plugin']{['afterInit'](){const _0x3637b9=this['editor'];if(!_0x3637b9['plugins']['has']('Table'))return;_0x3637b9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x565478,_0x3825b4,_0x8f20de)=>{((_0x2e312b,_0x57fcd3,_0x209085)=>{if(!_0x209085['options']['showSuggestionHighlights'])return;const _0x5e2e83=_0x57fcd3['item'];if(!_0x5e2e83||!_0x5e2e83['is']('element','tableCell'))return;const _0x3e7fcb=_0x209085['mapper']['toViewElement'](_0x5e2e83);if(_0x3e7fcb){const {id:_0x45358c,authorId:_0x27a429}=_0x518fa7(_0x57fcd3['markerName']);_0x31c75c['setHighlightHandling'](_0x3e7fcb,_0x209085['writer'],(_0x1e8cc6,_0x3cd9e5,_0x57bbb2)=>{_0x57bbb2['addClass'](_0x31c75c['toArray'](_0x3cd9e5['classes']),_0x1e8cc6),_0x57bbb2['setAttribute']('data-suggestion',_0x45358c,_0x1e8cc6),_0x57bbb2['setAttribute']('data-author-id',_0x27a429,_0x1e8cc6);});}})(0x0,_0x3825b4,_0x8f20de);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x31c75c['Plugin']{['afterInit'](){const _0xd1cea9=this['editor'];_0xd1cea9['plugins']['has']('HorizontalLineEditing')&&_0xd1cea9['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x2f28c4,{writer:_0x54824c,options:_0x27c5b6})=>{if(!_0x27c5b6['showSuggestionHighlights'])return null;const _0x30c46d=_0x54824c['createContainerElement']('div'),_0x5f4bbe=_0x54824c['createEmptyElement']('hr');return _0x54824c['addClass']('ck-horizontal-line',_0x30c46d),_0x54824c['insert'](_0x54824c['createPositionAt'](_0x30c46d,0x0),_0x5f4bbe),_0x30c46d;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x31c75c['Plugin']{['afterInit'](){const {plugins:_0x18ccbb,model:_0x148c24}=this['editor'];if(!_0x18ccbb['has']('TableCellPropertiesEditing'))return;const _0x5b0b99=_0x18ccbb['get']('SuggestionsConversion'),_0x2ffb3c=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x4bdef0 of _0x2ffb3c)_0x5b0b99['registerBlockAttribute'](_0x4bdef0);_0x148c24['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5b0b99['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x31c75c['Plugin']{['afterInit'](){const _0x8decb5=this['editor'];if(!_0x8decb5['plugins']['has']('TableEditing')||!_0x8decb5['config']['get']('table.enableFooters'))return;_0x8decb5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x31c75c['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f41b8=this['editor'],_0x24e25f=(_0x3f091a,_0xfe8312,_0x528be4)=>{const {id:_0x3a6c44,authorId:_0x3e4abc,type:_0x1f03b0,subType:_0x53a158}=_0x518fa7(_0x3f091a['markerName']),_0x54cf43=['ck-suggestion-marker',this['_getClassName'](_0x1f03b0,_0x53a158)];let _0x3773e5=0xbb8;return!_0x528be4&&(this['_activeMarkers']['includes'](_0x3f091a['markerName'])&&(_0x54cf43['push']('ck-suggestion-marker--active'),_0x3773e5=0xbc2)),('deletion'==_0x1f03b0&&(_0x3773e5+=0x5),{'classes':_0x54cf43,'attributes':{'data-suggestion':_0x3a6c44,'data-author-id':_0x3e4abc},'priority':_0x3773e5});};_0x1f41b8['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5a7a5f,_0x3b6c62)=>_0x24e25f(_0x5a7a5f,0x0,!0x1)}),_0x1f41b8['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4de8c3,_0x237e2b)=>_0x24e25f(_0x4de8c3,0x0,!0x0)}),_0x1f41b8['conversion']['for']('dataDowncast')['add'](_0x44693b=>{_0x44693b['on']('addMarker:suggestion',(_0xf59057,_0xfc9d4c,_0x20f306)=>{if(!_0x20f306['options']['showSuggestionHighlights'])return;const _0x2146ca=_0xfc9d4c['item'];if(!_0x2146ca)return;const _0x545d7f=_0x20f306['mapper']['toViewElement'](_0x2146ca);_0x1f41b8['model']['schema']['isObject'](_0x2146ca)&&_0x545d7f&&!_0x545d7f['getCustomProperty']('widget')&&_0x545d7f['is']('containerElement')&&_0x31c75c['toWidget'](_0x545d7f,_0x20f306['writer']);},{'priority':'high'});});const _0x56261e=(_0x55b5aa,_0x11ea6d,_0x2a7de8,_0x4d76ad,_0x2b022d)=>{if(_0x4d76ad&&!_0x2a7de8['options']['showSuggestionHighlights'])return;if(!_0x11ea6d['item'])return;const {id:_0x3e1069,authorId:_0x195d16,subType:_0x2cac82}=_0x518fa7(_0x11ea6d['markerName']);if(_0x2b022d){const _0x557b31=_0x2cac82['split']('|')[0x0];if(!this['isBlockAttribute'](_0x557b31))return;}if(_0x11ea6d['item']['is']('selection'))return void _0x2a7de8['consumable']['consume'](_0x11ea6d['item'],_0x55b5aa['name']);const _0x1e1f9a=_0x2a7de8['mapper']['toViewElement'](_0x11ea6d['item']);if(_0x11ea6d['item']['is']('element')&&_0x1f41b8['model']['schema']['isBlock'](_0x11ea6d['item'])&&!_0x1e1f9a['getCustomProperty']('addHighlight')){_0x2a7de8['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x1e1f9a),_0x2a7de8['writer']['setAttribute']('data-suggestion',_0x3e1069,_0x1e1f9a),_0x2a7de8['writer']['setAttribute']('data-author-id',_0x195d16,_0x1e1f9a),_0x2a7de8['mapper']['bindElementToMarker'](_0x1e1f9a,_0x11ea6d['markerName']),_0x4d76ad||(this['_activeMarkers']['includes'](_0x11ea6d['markerName'])?_0x2a7de8['writer']['addClass']('ck-suggestion-marker--active',_0x1e1f9a):_0x2a7de8['writer']['removeClass']('ck-suggestion-marker--active',_0x1e1f9a));for(const _0x3f4f3e of _0x1f41b8['model']['createRangeIn'](_0x11ea6d['item'])['getItems']())_0x2a7de8['consumable']['consume'](_0x3f4f3e,_0x55b5aa['name']);_0x2a7de8['consumable']['consume'](_0x11ea6d['item'],_0x55b5aa['name']);}},_0xea7882=(_0x5727e2,_0x11ee8f,_0x4cbd9f,_0x191cb6)=>{const _0x16d7a4=_0x4cbd9f['mapper']['markerNameToElements'](_0x11ee8f['markerName']);if(_0x16d7a4){if(_0x191cb6){const {subType:_0x1c8747}=_0x518fa7(_0x11ee8f['markerName']),_0x38adc5=_0x1c8747['split']('|')[0x0];if(!this['isBlockAttribute'](_0x38adc5))return;}for(const _0x48c6d3 of _0x16d7a4)_0x48c6d3['getCustomProperty']('addHighlight')||(_0x4cbd9f['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x48c6d3),_0x4cbd9f['writer']['removeAttribute']('data-suggestion',_0x48c6d3),_0x4cbd9f['writer']['removeAttribute']('data-author-id',_0x48c6d3),_0x4cbd9f['mapper']['unbindElementFromMarkerName'](_0x48c6d3,_0x11ee8f['markerName']));}};_0x1f41b8['conversion']['for']('editingDowncast')['add'](_0xaf03e=>{_0xaf03e['on']('addMarker:suggestion:formatBlock',(_0x53d68f,_0x10a9be,_0x5851a2)=>{_0x56261e(_0x53d68f,_0x10a9be,_0x5851a2,!0x1,!0x1);},{'priority':'high'});}),_0x1f41b8['conversion']['for']('editingDowncast')['add'](_0x4ca3f3=>{_0x4ca3f3['on']('addMarker:suggestion:attribute',(_0x5c5d0a,_0x2fe4a6,_0x34a383)=>{_0x56261e(_0x5c5d0a,_0x2fe4a6,_0x34a383,!0x1,!0x0);},{'priority':'high'});}),_0x1f41b8['conversion']['for']('editingDowncast')['add'](_0x3feddb=>{_0x3feddb['on']('removeMarker:suggestion:formatBlock',(_0x497ad3,_0x2e22c8,_0x275244)=>{_0xea7882(0x0,_0x2e22c8,_0x275244,!0x1);},{'priority':'high'});}),_0x1f41b8['conversion']['for']('editingDowncast')['add'](_0x531281=>{_0x531281['on']('removeMarker:suggestion:attribute',(_0x26252c,_0x21429d,_0x54d7fd)=>{_0xea7882(0x0,_0x21429d,_0x54d7fd,!0x0);},{'priority':'high'});}),_0x1f41b8['conversion']['for']('dataDowncast')['add'](_0x14c875=>{_0x14c875['on']('addMarker:suggestion:formatBlock',(_0xc58c42,_0x1ed5c8,_0x25406c)=>{_0x56261e(_0xc58c42,_0x1ed5c8,_0x25406c,!0x0,!0x1);},{'priority':'highest'});}),_0x1f41b8['conversion']['for']('dataDowncast')['add'](_0x195145=>{_0x195145['on']('addMarker:suggestion:attribute',(_0x5eb742,_0x2b796e,_0x10fc0c)=>{_0x56261e(_0x5eb742,_0x2b796e,_0x10fc0c,!0x0,!0x0);},{'priority':'highest'});}),_0x1f41b8['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0xd95e6a,_0x3eebe5)=>_0x3eebe5['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0xd95e6a['substr'](0xb)}});const _0x3db092=(_0x4af50a,_0xb10f95,_0xf035be,_0x44d127,_0x2e9cf8)=>{if(_0x44d127&&!_0xf035be['options']['showSuggestionHighlights'])return;if(!_0xf035be['consumable']['test'](_0xb10f95['markerRange'],_0x4af50a['name']))return;const _0x4a6dca=this['_activeMarkers'],_0x58b509=_0xb10f95['markerRange']['getWalker'](),_0x172672=_0xb10f95['markerRange']['start'],_0x3bab50=_0x1f41b8['model']['schema'];let _0x5eb0cb=null,_0x3e3af9=null,_0x9e6b44=!0x1,_0x584b5f=!0x1;for(const _0x2f776d of _0x58b509){const _0x2db9e8=_0x2f776d['item'];_0x9e6b44=_0x9e6b44||_0x3bab50['isContent'](_0x2db9e8);const _0x3f4a39=_0xf035be['mapper']['toViewElement'](_0x2db9e8);if(_0x3f4a39&&_0x3f4a39['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2f776d['type']&&(_0x3bab50['isBlock'](_0x2db9e8)&&!_0x3bab50['isLimit'](_0x2db9e8)&&(_0x2db9e8['nextSibling']||_0x172672['isAtEnd']?_0x5eb0cb&&_0x5eb0cb['parent']==_0x2db9e8||(_0x5eb0cb=_0x2db9e8,_0x4eba58(_0x2f776d['previousPosition']),_0x584b5f=!0x0):_0x3e3af9=_0x3e3af9||_0x2f776d['previousPosition']));}function _0x4eba58(_0x486545){const {id:_0xbbec27,authorId:_0x64a054}=_0x518fa7(_0xb10f95['markerName']),_0x2f0731=_0xf035be['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e9cf8,'data-suggestion':_0xbbec27,'data-author-id':_0x64a054}),_0xb6b68b=_0xf035be['mapper']['toViewPosition'](_0x486545);!_0x44d127&&_0x4a6dca['includes'](_0xb10f95['markerName'])&&_0xf035be['writer']['addClass']('ck-suggestion-marker--active',_0x2f0731),_0xf035be['writer']['insert'](_0xb6b68b,_0x2f0731),_0xf035be['mapper']['bindElementToMarker'](_0x2f0731,_0xb10f95['markerName']);}_0x9e6b44||_0x584b5f||!_0x3e3af9||_0x4eba58(_0x3e3af9);};_0x1f41b8['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2aa6fc,_0x5f28b3,_0x39d1e1)=>{_0x3db092(_0x2aa6fc,_0x5f28b3,_0x39d1e1,!0x1,'merge');},{'priority':'high'}),_0x1f41b8['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x20148e,_0x45109c,_0x116213)=>{_0x3db092(_0x20148e,_0x45109c,_0x116213,!0x0,'merge');},{'priority':'high'}),_0x1f41b8['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1780ee,_0x718f17,_0x8a7470)=>{_0x3db092(_0x1780ee,_0x718f17,_0x8a7470,!0x1,'split');},{'priority':'high'}),_0x1f41b8['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ae3c8,_0x560685,_0x512764)=>{_0x3db092(_0x1ae3c8,_0x560685,_0x512764,!0x0,'split');},{'priority':'high'}),_0x1f41b8['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x2c10fc,_0x1fc71b,_0x47c682)=>{((_0x497fcd,_0x12f2db,_0x426d88)=>{const _0x2fedcb=_0x426d88['mapper']['markerNameToElements'](_0x12f2db['markerName']);if(_0x2fedcb){for(const _0x57a0e9 of _0x2fedcb)(_0x57a0e9['hasClass']('ck-suggestion-marker-split')||_0x57a0e9['hasClass']('ck-suggestion-marker-merge'))&&(_0x426d88['mapper']['unbindElementFromMarkerName'](_0x57a0e9,_0x12f2db['markerName']),_0x426d88['writer']['remove'](_0x57a0e9));}})(0x0,_0x1fc71b,_0x47c682);},{'priority':'high'});const _0x98834b=(_0x442463,_0x58a0cd,_0x1ea177,_0x4b45dc)=>{if(_0x4b45dc&&!_0x1ea177['options']['showSuggestionHighlights'])return;const _0x448fb8=_0x58a0cd['markerRange']['start'],_0x59df7e=_0x58a0cd['markerRange']['end'],_0x3595bc=_0x1f41b8['model']['schema'];if(!_0x448fb8['isTouching'](_0x59df7e)||!_0x448fb8['nodeAfter'])return;const _0x588d58=_0x448fb8['nodeAfter'];if(_0x3595bc['isBlock'](_0x588d58)&&!_0x3595bc['isLimit'](_0x588d58)&&_0x3595bc['checkChild'](_0x588d58,'$text')){if(!_0x1ea177['consumable']['consume'](_0x58a0cd['markerRange'],_0x442463['name']))return;const {id:_0x4d0456,authorId:_0x265129}=_0x518fa7(_0x58a0cd['markerName']),_0x4605b7=_0x1ea177['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4d0456,'data-author-id':_0x265129}),_0x4b36bb=_0x1ea177['mapper']['toViewPosition'](_0x59df7e);!_0x4b45dc&&this['_activeMarkers']['includes'](_0x58a0cd['markerName'])&&_0x1ea177['writer']['addClass']('ck-suggestion-marker--active',_0x4605b7),_0x1ea177['writer']['insert'](_0x4b36bb,_0x4605b7),_0x1ea177['mapper']['bindElementToMarker'](_0x4605b7,_0x58a0cd['markerName']);}};_0x1f41b8['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x42e739,_0x194bfe,_0x26cf71)=>{_0x98834b(_0x42e739,_0x194bfe,_0x26cf71,!0x1);},{'priority':'high'}),_0x1f41b8['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x50f8b5,_0x12cc89,_0x5d70e8)=>{_0x98834b(_0x50f8b5,_0x12cc89,_0x5d70e8,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x342d3f,_0x27075e,_0x5bf13e)=>{this['_activeMarkers']=_0x5bf13e['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x948906){this['_blockAttributeKeys']['add'](_0x948906);}['registerInlineAttribute'](_0x4ac6ad){this['_inlineAttributeKeys']['add'](_0x4ac6ad);}['isBlockAttribute'](_0x1635d2){return this['_blockAttributeKeys']['has'](_0x1635d2);}['isInlineAttribute'](_0x42c005){return this['_inlineAttributeKeys']['has'](_0x42c005);}['isRegisteredAttribute'](_0x4ea8a2){return this['isInlineAttribute'](_0x4ea8a2)||this['isBlockAttribute'](_0x4ea8a2);}['_getClassName'](_0x2e0f8a,_0x439605){if('attribute'!=_0x2e0f8a)return'ck-suggestion-marker-'+_0x2e0f8a;const _0x3bf040=_0x439605['split']('|')[0x0];return this['isBlockAttribute'](_0x3bf040)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x54ce07 extends Error{}class InvalidDateTimeError extends _0x54ce07{constructor(_0x589406){super('Invalid\x20DateTime:\x20'+_0x589406['toMessage']());}}class InvalidIntervalError extends _0x54ce07{constructor(_0x3c7e5d){super('Invalid\x20Interval:\x20'+_0x3c7e5d['toMessage']());}}class InvalidDurationError extends _0x54ce07{constructor(_0x129764){super('Invalid\x20Duration:\x20'+_0x129764['toMessage']());}}class ConflictingSpecificationError extends _0x54ce07{}class InvalidUnitError extends _0x54ce07{constructor(_0x56bb66){super('Invalid\x20unit\x20'+_0x56bb66);}}class InvalidArgumentError extends _0x54ce07{}class ZoneIsAbstractError extends _0x54ce07{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x4be89a='numeric',_0x2d5b14='short',_0xc4d9eb='long',_0x2b2ed8={'year':_0x4be89a,'month':_0x4be89a,'day':_0x4be89a},_0x31f0f9={'year':_0x4be89a,'month':_0x2d5b14,'day':_0x4be89a},_0x46bf51={'year':_0x4be89a,'month':_0x2d5b14,'day':_0x4be89a,'weekday':_0x2d5b14},_0x41c795={'year':_0x4be89a,'month':_0xc4d9eb,'day':_0x4be89a},_0x5eb954={'year':_0x4be89a,'month':_0xc4d9eb,'day':_0x4be89a,'weekday':_0xc4d9eb},_0x1001de={'hour':_0x4be89a,'minute':_0x4be89a},_0x570db9={'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a},_0x2ee014={'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'timeZoneName':_0x2d5b14},_0x59de05={'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'timeZoneName':_0xc4d9eb},_0x32b769={'hour':_0x4be89a,'minute':_0x4be89a,'hourCycle':'h23'},_0x2868ae={'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'hourCycle':'h23'},_0x38da05={'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'hourCycle':'h23','timeZoneName':_0x2d5b14},_0x56cdcc={'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'hourCycle':'h23','timeZoneName':_0xc4d9eb},_0x3d9282={'year':_0x4be89a,'month':_0x4be89a,'day':_0x4be89a,'hour':_0x4be89a,'minute':_0x4be89a},_0x3fbf5e={'year':_0x4be89a,'month':_0x4be89a,'day':_0x4be89a,'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a},_0x400c3f={'year':_0x4be89a,'month':_0x2d5b14,'day':_0x4be89a,'hour':_0x4be89a,'minute':_0x4be89a},_0x1109a0={'year':_0x4be89a,'month':_0x2d5b14,'day':_0x4be89a,'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a},_0x53b686={'year':_0x4be89a,'month':_0x2d5b14,'day':_0x4be89a,'weekday':_0x2d5b14,'hour':_0x4be89a,'minute':_0x4be89a},_0x3b1757={'year':_0x4be89a,'month':_0xc4d9eb,'day':_0x4be89a,'hour':_0x4be89a,'minute':_0x4be89a,'timeZoneName':_0x2d5b14},_0xc036c2={'year':_0x4be89a,'month':_0xc4d9eb,'day':_0x4be89a,'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'timeZoneName':_0x2d5b14},_0x3af65d={'year':_0x4be89a,'month':_0xc4d9eb,'day':_0x4be89a,'weekday':_0xc4d9eb,'hour':_0x4be89a,'minute':_0x4be89a,'timeZoneName':_0xc4d9eb},_0x1ce10b={'year':_0x4be89a,'month':_0xc4d9eb,'day':_0x4be89a,'weekday':_0xc4d9eb,'hour':_0x4be89a,'minute':_0x4be89a,'second':_0x4be89a,'timeZoneName':_0xc4d9eb};class _0x499e5b{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x406856,_0x1e0f76){throw new ZoneIsAbstractError();}['formatOffset'](_0x50b9bb,_0x11661c){throw new ZoneIsAbstractError();}['offset'](_0x3433b6){throw new ZoneIsAbstractError();}['equals'](_0x585b60){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let _0x41ae16=null;class SystemZone extends _0x499e5b{static get['instance'](){return null===_0x41ae16&&(_0x41ae16=new SystemZone()),_0x41ae16;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x32b334,{format:_0x475d4e,locale:_0x1ca9f5}){return _0x330888(_0x32b334,_0x475d4e,_0x1ca9f5);}['formatOffset'](_0x443995,_0x195bed){return _0x5c007d(this['offset'](_0x443995),_0x195bed);}['offset'](_0x4cf0a7){return-new Date(_0x4cf0a7)['getTimezoneOffset']();}['equals'](_0x5e7c08){return'system'===_0x5e7c08['type'];}get['isValid'](){return!0x0;}}const _0x2c64f3=new Map(),_0x3ab3a8={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},_0x3321bf=new Map();class _0x18c04d extends _0x499e5b{static['create'](_0x49a229){let _0x55a83e=_0x3321bf['get'](_0x49a229);return void 0x0===_0x55a83e&&_0x3321bf['set'](_0x49a229,_0x55a83e=new _0x18c04d(_0x49a229)),_0x55a83e;}static['resetCache'](){_0x3321bf['clear'](),_0x2c64f3['clear']();}static['isValidSpecifier'](_0x3f646e){return this['isValidZone'](_0x3f646e);}static['isValidZone'](_0x5709ea){if(!_0x5709ea)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x5709ea})['format'](),!0x0;}catch(_0x4cbd1e){return!0x1;}}constructor(_0x2d2c94){super(),this['zoneName']=_0x2d2c94,this['valid']=_0x18c04d['isValidZone'](_0x2d2c94);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x3740a3,{format:_0x51970b,locale:_0x293781}){return _0x330888(_0x3740a3,_0x51970b,_0x293781,this['name']);}['formatOffset'](_0x1adef7,_0x38a081){return _0x5c007d(this['offset'](_0x1adef7),_0x38a081);}['offset'](_0x1ad72b){if(!this['valid'])return NaN;const _0x66d2d0=new Date(_0x1ad72b);if(isNaN(_0x66d2d0))return NaN;const _0x5ca663=function(_0x15f9f3){let _0x3e4235=_0x2c64f3['get'](_0x15f9f3);return void 0x0===_0x3e4235&&(_0x3e4235=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x15f9f3,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),_0x2c64f3['set'](_0x15f9f3,_0x3e4235)),_0x3e4235;}(this['name']);let [_0x118738,_0x2e7c3d,_0xa186cc,_0x1546eb,_0x127e4a,_0x4b6d6e,_0x2b3809]=_0x5ca663['formatToParts']?function(_0x2761a1,_0x4d90ee){const _0x37b0d1=_0x2761a1['formatToParts'](_0x4d90ee),_0x12c81b=[];for(let _0xa0eb8b=0x0;_0xa0eb8b<_0x37b0d1['length'];_0xa0eb8b++){const {type:_0xa9f4df,value:_0x544270}=_0x37b0d1[_0xa0eb8b],_0x5a5d49=_0x3ab3a8[_0xa9f4df];'era'===_0xa9f4df?_0x12c81b[_0x5a5d49]=_0x544270:_0x19e0f6(_0x5a5d49)||(_0x12c81b[_0x5a5d49]=parseInt(_0x544270,0xa));}return _0x12c81b;}(_0x5ca663,_0x66d2d0):function(_0x15f935,_0x2d9666){const _0x14260d=_0x15f935['format'](_0x2d9666)['replace'](/\u200E/g,''),_0x465a87=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x14260d),[,_0x5aad75,_0x12d047,_0x3e0626,_0x158d63,_0xa56cf7,_0x4c14fe,_0x190380]=_0x465a87;return[_0x3e0626,_0x5aad75,_0x12d047,_0x158d63,_0xa56cf7,_0x4c14fe,_0x190380];}(_0x5ca663,_0x66d2d0);'BC'===_0x1546eb&&(_0x118738=0x1-Math['abs'](_0x118738));let _0x5b750b=+_0x66d2d0;const _0x5bf86a=_0x5b750b%0x3e8;return _0x5b750b-=_0x5bf86a>=0x0?_0x5bf86a:0x3e8+_0x5bf86a,(_0x1c0b6b({'year':_0x118738,'month':_0x2e7c3d,'day':_0xa186cc,'hour':0x18===_0x127e4a?0x0:_0x127e4a,'minute':_0x4b6d6e,'second':_0x2b3809,'millisecond':0x0})-_0x5b750b)/0xea60;}['equals'](_0x4088b2){return'iana'===_0x4088b2['type']&&_0x4088b2['name']===this['name'];}get['isValid'](){return this['valid'];}}let _0x12d77d={};const _0x35466f=new Map();function _0x268cdf(_0xdf7cef,_0x19907f={}){const _0x142b58=JSON['stringify']([_0xdf7cef,_0x19907f]);let _0x3d77a5=_0x35466f['get'](_0x142b58);return void 0x0===_0x3d77a5&&(_0x3d77a5=new Intl['DateTimeFormat'](_0xdf7cef,_0x19907f),_0x35466f['set'](_0x142b58,_0x3d77a5)),_0x3d77a5;}const _0x1c26e7=new Map(),_0x15d6a1=new Map();let _0x592a46=null;const _0x5c65b4=new Map();function _0x3aa471(_0x1bf440){let _0x453da7=_0x5c65b4['get'](_0x1bf440);return void 0x0===_0x453da7&&(_0x453da7=new Intl['DateTimeFormat'](_0x1bf440)['resolvedOptions'](),_0x5c65b4['set'](_0x1bf440,_0x453da7)),_0x453da7;}const _0x2a5ef3=new Map();function _0x9d6afe(_0x2ca588,_0x420524,_0x1a1308,_0x3a6ef5){const _0x1dd5a8=_0x2ca588['listingMode']();return'error'===_0x1dd5a8?null:'en'===_0x1dd5a8?_0x1a1308(_0x420524):_0x3a6ef5(_0x420524);}class PolyNumberFormatter{constructor(_0x205765,_0x4a9d51,_0x45ac6f){this['padTo']=_0x45ac6f['padTo']||0x0,this['floor']=_0x45ac6f['floor']||!0x1;const {padTo:_0x76e5ab,floor:_0x4034f4,..._0x24e5e4}=_0x45ac6f;if(!_0x4a9d51||Object['keys'](_0x24e5e4)['length']>0x0){const _0x5ae2c9={'useGrouping':!0x1,..._0x45ac6f};_0x45ac6f['padTo']>0x0&&(_0x5ae2c9['minimumIntegerDigits']=_0x45ac6f['padTo']),this['inf']=function(_0xff54ab,_0x41adbc={}){const _0x1eb107=JSON['stringify']([_0xff54ab,_0x41adbc]);let _0x408be1=_0x1c26e7['get'](_0x1eb107);return void 0x0===_0x408be1&&(_0x408be1=new Intl['NumberFormat'](_0xff54ab,_0x41adbc),_0x1c26e7['set'](_0x1eb107,_0x408be1)),_0x408be1;}(_0x205765,_0x5ae2c9);}}['format'](_0x5313de){if(this['inf']){const _0x5e1c13=this['floor']?Math['floor'](_0x5313de):_0x5313de;return this['inf']['format'](_0x5e1c13);}return _0x193144(this['floor']?Math['floor'](_0x5313de):_0x392d47(_0x5313de,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0xcd07a9,_0xd34eb2,_0x1e9421){let _0x5504da;if(this['opts']=_0x1e9421,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0xcd07a9;else{if('fixed'===_0xcd07a9['zone']['type']){const _0x11c0a7=_0xcd07a9['offset']/0x3c*-0x1,_0x31188e=_0x11c0a7>=0x0?'Etc/GMT+'+_0x11c0a7:'Etc/GMT'+_0x11c0a7;0x0!==_0xcd07a9['offset']&&_0x18c04d['create'](_0x31188e)['valid']?(_0x5504da=_0x31188e,this['dt']=_0xcd07a9):(_0x5504da='UTC',this['dt']=0x0===_0xcd07a9['offset']?_0xcd07a9:_0xcd07a9['setZone']('UTC')['plus']({'minutes':_0xcd07a9['offset']}),this['originalZone']=_0xcd07a9['zone']);}else'system'===_0xcd07a9['zone']['type']?this['dt']=_0xcd07a9:'iana'===_0xcd07a9['zone']['type']?(this['dt']=_0xcd07a9,_0x5504da=_0xcd07a9['zone']['name']):(_0x5504da='UTC',this['dt']=_0xcd07a9['setZone']('UTC')['plus']({'minutes':_0xcd07a9['offset']}),this['originalZone']=_0xcd07a9['zone']);}const _0x2602b8={...this['opts']};_0x2602b8['timeZone']=_0x2602b8['timeZone']||_0x5504da,this['dtf']=_0x268cdf(_0xd34eb2,_0x2602b8);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x173b99})=>_0x173b99)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0xd7bef8=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0xd7bef8['map'](_0x104673=>{if('timeZoneName'===_0x104673['type']){const _0x500d29=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x104673,'value':_0x500d29};}return _0x104673;}):_0xd7bef8;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x55c22d,_0x2338e0,_0x41250d){this['opts']={'style':'long',..._0x41250d},!_0x2338e0&&_0x4b1ec4()&&(this['rtf']=function(_0x5dbd7d,_0x43c929={}){const {base:_0x1c3eaf,..._0x1ec4c7}=_0x43c929,_0x6de49c=JSON['stringify']([_0x5dbd7d,_0x1ec4c7]);let _0x50d50b=_0x15d6a1['get'](_0x6de49c);return void 0x0===_0x50d50b&&(_0x50d50b=new Intl['RelativeTimeFormat'](_0x5dbd7d,_0x43c929),_0x15d6a1['set'](_0x6de49c,_0x50d50b)),_0x50d50b;}(_0x55c22d,_0x41250d));}['format'](_0x4ea75f,_0x44ea62){return this['rtf']?this['rtf']['format'](_0x4ea75f,_0x44ea62):function(_0x113ffb,_0x105523,_0x22894b='always',_0x222e18=!0x1){const _0x9ce610={'years':['year','yr.'],'quarters':['quarter','qtr.'],'months':['month','mo.'],'weeks':['week','wk.'],'days':['day','day','days'],'hours':['hour','hr.'],'minutes':['minute','min.'],'seconds':['second','sec.']},_0x24b463=-0x1===['hours','minutes','seconds']['indexOf'](_0x113ffb);if('auto'===_0x22894b&&_0x24b463){const _0x28cade='days'===_0x113ffb;switch(_0x105523){case 0x1:return _0x28cade?'tomorrow':'next\x20'+_0x9ce610[_0x113ffb][0x0];case-0x1:return _0x28cade?'yesterday':'last\x20'+_0x9ce610[_0x113ffb][0x0];case 0x0:return _0x28cade?'today':'this\x20'+_0x9ce610[_0x113ffb][0x0];}}const _0xec1baa=Object['is'](_0x105523,-0x0)||_0x105523<0x0,_0x14e165=Math['abs'](_0x105523),_0x43aaf3=0x1===_0x14e165,_0x729f6f=_0x9ce610[_0x113ffb],_0x6ecf60=_0x222e18?_0x43aaf3?_0x729f6f[0x1]:_0x729f6f[0x2]||_0x729f6f[0x1]:_0x43aaf3?_0x9ce610[_0x113ffb][0x0]:_0x113ffb;return _0xec1baa?_0x14e165+'\x20'+_0x6ecf60+'\x20ago':'in\x20'+_0x14e165+'\x20'+_0x6ecf60;}(_0x44ea62,_0x4ea75f,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x4ff0f8,_0x30df2b){return this['rtf']?this['rtf']['formatToParts'](_0x4ff0f8,_0x30df2b):[];}}const _0x4f6759={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x554150{static['fromOpts'](_0x201763){return _0x554150['create'](_0x201763['locale'],_0x201763['numberingSystem'],_0x201763['outputCalendar'],_0x201763['weekSettings'],_0x201763['defaultToEN']);}static['create'](_0x10c664,_0x7136d5,_0x3e6db0,_0x3b6720,_0x5414f1=!0x1){const _0x3bc26e=_0x10c664||Settings['defaultLocale'],_0x5d9f97=_0x3bc26e||(_0x5414f1?'en-US':_0x592a46||(_0x592a46=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x592a46)),_0xfbd807=_0x7136d5||Settings['defaultNumberingSystem'],_0x312cfa=_0x3e6db0||Settings['defaultOutputCalendar'],_0x4fd772=_0x153e53(_0x3b6720)||Settings['defaultWeekSettings'];return new _0x554150(_0x5d9f97,_0xfbd807,_0x312cfa,_0x4fd772,_0x3bc26e);}static['resetCache'](){_0x592a46=null,_0x35466f['clear'](),_0x1c26e7['clear'](),_0x15d6a1['clear'](),_0x5c65b4['clear'](),_0x2a5ef3['clear']();}static['fromObject']({locale:_0x32dc64,numberingSystem:_0xd44a3f,outputCalendar:_0x4d1900,weekSettings:_0x2a88fc}={}){return _0x554150['create'](_0x32dc64,_0xd44a3f,_0x4d1900,_0x2a88fc);}constructor(_0x543ba5,_0x412f70,_0x147ec7,_0x332924,_0xb74920){const [_0x2313a4,_0x5e5c41,_0x38e3bd]=function(_0x3dd6a5){const _0x4b4922=_0x3dd6a5['indexOf']('-x-');-0x1!==_0x4b4922&&(_0x3dd6a5=_0x3dd6a5['substring'](0x0,_0x4b4922));const _0x26f394=_0x3dd6a5['indexOf']('-u-');if(-0x1===_0x26f394)return[_0x3dd6a5];{let _0x2f8a52,_0x413547;try{_0x2f8a52=_0x268cdf(_0x3dd6a5)['resolvedOptions'](),_0x413547=_0x3dd6a5;}catch(_0x144b02){const _0x38a6fb=_0x3dd6a5['substring'](0x0,_0x26f394);_0x2f8a52=_0x268cdf(_0x38a6fb)['resolvedOptions'](),_0x413547=_0x38a6fb;}const {numberingSystem:_0x37ec2e,calendar:_0x2ad334}=_0x2f8a52;return[_0x413547,_0x37ec2e,_0x2ad334];}}(_0x543ba5);this['locale']=_0x2313a4,this['numberingSystem']=_0x412f70||_0x5e5c41||null,this['outputCalendar']=_0x147ec7||_0x38e3bd||null,this['weekSettings']=_0x332924,this['intl']=function(_0x1d662b,_0x4b3673,_0x931aab){return _0x931aab||_0x4b3673?(_0x1d662b['includes']('-u-')||(_0x1d662b+='-u'),_0x931aab&&(_0x1d662b+='-ca-'+_0x931aab),_0x4b3673&&(_0x1d662b+='-nu-'+_0x4b3673),_0x1d662b):_0x1d662b;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0xb74920,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x5b1e34;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x5b1e34=this)['numberingSystem']||'latn'===_0x5b1e34['numberingSystem'])&&('latn'===_0x5b1e34['numberingSystem']||!_0x5b1e34['locale']||_0x5b1e34['locale']['startsWith']('en')||'latn'===_0x3aa471(_0x5b1e34['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x25c96b=this['isEnglish'](),_0x5260d0=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x25c96b&&_0x5260d0?'en':'intl';}['clone'](_0x2fa238){return _0x2fa238&&0x0!==Object['getOwnPropertyNames'](_0x2fa238)['length']?_0x554150['create'](_0x2fa238['locale']||this['specifiedLocale'],_0x2fa238['numberingSystem']||this['numberingSystem'],_0x2fa238['outputCalendar']||this['outputCalendar'],_0x153e53(_0x2fa238['weekSettings'])||this['weekSettings'],_0x2fa238['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x1c32f8={}){return this['clone']({..._0x1c32f8,'defaultToEN':!0x0});}['redefaultToSystem'](_0x52a2c9={}){return this['clone']({..._0x52a2c9,'defaultToEN':!0x1});}['months'](_0x46c3bf,_0x2d1ddd=!0x1){return _0x9d6afe(this,_0x46c3bf,_0x33cd6a,()=>{const _0x31e198=_0x2d1ddd?{'month':_0x46c3bf,'day':'numeric'}:{'month':_0x46c3bf},_0x1942e6=_0x2d1ddd?'format':'standalone';return this['monthsCache'][_0x1942e6][_0x46c3bf]||(this['monthsCache'][_0x1942e6][_0x46c3bf]=function(_0x1d2f27){const _0x4c7de8=[];for(let _0x2568d5=0x1;_0x2568d5<=0xc;_0x2568d5++){const _0x538eb8=DateTime['utc'](0x7d9,_0x2568d5,0x1);_0x4c7de8['push'](_0x1d2f27(_0x538eb8));}return _0x4c7de8;}(_0x1e7ffe=>this['extract'](_0x1e7ffe,_0x31e198,'month'))),this['monthsCache'][_0x1942e6][_0x46c3bf];});}['weekdays'](_0x390afb,_0x2eded3=!0x1){return _0x9d6afe(this,_0x390afb,_0x2b04b0,()=>{const _0x211b01=_0x2eded3?{'weekday':_0x390afb,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x390afb},_0x320048=_0x2eded3?'format':'standalone';return this['weekdaysCache'][_0x320048][_0x390afb]||(this['weekdaysCache'][_0x320048][_0x390afb]=function(_0x1de391){const _0x11c675=[];for(let _0x507558=0x1;_0x507558<=0x7;_0x507558++){const _0x24bcae=DateTime['utc'](0x7e0,0xb,0xd+_0x507558);_0x11c675['push'](_0x1de391(_0x24bcae));}return _0x11c675;}(_0xf938f6=>this['extract'](_0xf938f6,_0x211b01,'weekday'))),this['weekdaysCache'][_0x320048][_0x390afb];});}['meridiems'](){return _0x9d6afe(this,void 0x0,()=>_0x57b6c9,()=>{if(!this['meridiemCache']){const _0x2b1a32={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x89a6b=>this['extract'](_0x89a6b,_0x2b1a32,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x2123a2){return _0x9d6afe(this,_0x2123a2,_0x16b118,()=>{const _0x50a692={'era':_0x2123a2};return this['eraCache'][_0x2123a2]||(this['eraCache'][_0x2123a2]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x16b6bf=>this['extract'](_0x16b6bf,_0x50a692,'era'))),this['eraCache'][_0x2123a2];});}['extract'](_0xb01bc0,_0x2bcb65,_0x2b4486){const _0x4993e9=this['dtFormatter'](_0xb01bc0,_0x2bcb65)['formatToParts']()['find'](_0x192c92=>_0x192c92['type']['toLowerCase']()===_0x2b4486);return _0x4993e9?_0x4993e9['value']:null;}['numberFormatter'](_0x236947={}){return new PolyNumberFormatter(this['intl'],_0x236947['forceSimple']||this['fastNumbers'],_0x236947);}['dtFormatter'](_0x5b3d88,_0x5e8656={}){return new PolyDateFormatter(_0x5b3d88,this['intl'],_0x5e8656);}['relFormatter'](_0x4a1923={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x4a1923);}['listFormatter'](_0x4d0f2a={}){return function(_0x4e5a6d,_0x5adf63={}){const _0x17a002=JSON['stringify']([_0x4e5a6d,_0x5adf63]);let _0xa244a2=_0x12d77d[_0x17a002];return _0xa244a2||(_0xa244a2=new Intl['ListFormat'](_0x4e5a6d,_0x5adf63),_0x12d77d[_0x17a002]=_0xa244a2),_0xa244a2;}(this['intl'],_0x4d0f2a);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_0x3aa471(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x37fa68()?function(_0x9f9879){let _0x27643c=_0x2a5ef3['get'](_0x9f9879);if(!_0x27643c){const _0x4a6954=new Intl['Locale'](_0x9f9879);_0x27643c='getWeekInfo'in _0x4a6954?_0x4a6954['getWeekInfo']():_0x4a6954['weekInfo'],'minimalDays'in _0x27643c||(_0x27643c={..._0x4f6759,..._0x27643c}),_0x2a5ef3['set'](_0x9f9879,_0x27643c);}return _0x27643c;}(this['locale']):_0x4f6759;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x5bcd1b){return this['locale']===_0x5bcd1b['locale']&&this['numberingSystem']===_0x5bcd1b['numberingSystem']&&this['outputCalendar']===_0x5bcd1b['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let _0x387706=null;class FixedOffsetZone extends _0x499e5b{static get['utcInstance'](){return null===_0x387706&&(_0x387706=new FixedOffsetZone(0x0)),_0x387706;}static['instance'](_0x428faf){return 0x0===_0x428faf?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x428faf);}static['parseSpecifier'](_0x301ab0){if(_0x301ab0){const _0x2694fb=_0x301ab0['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x2694fb)return new FixedOffsetZone(_0x3a0cd3(_0x2694fb[0x1],_0x2694fb[0x2]));}return null;}constructor(_0x12fccc){super(),this['fixed']=_0x12fccc;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+_0x5c007d(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+_0x5c007d(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x655e80,_0x5cb14d){return _0x5c007d(this['fixed'],_0x5cb14d);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x5623a7){return'fixed'===_0x5623a7['type']&&_0x5623a7['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x41e65e extends _0x499e5b{constructor(_0x1a9f28){super(),this['zoneName']=_0x1a9f28;}get['type'](){return'invalid';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](){return null;}['formatOffset'](){return'';}['offset'](){return NaN;}['equals'](){return!0x1;}get['isValid'](){return!0x1;}}function _0x518da6(_0x36186d,_0x59bbf1){if(_0x19e0f6(_0x36186d)||null===_0x36186d)return _0x59bbf1;if(_0x36186d instanceof _0x499e5b)return _0x36186d;if('string'==typeof _0x36186d){const _0x4a5a9f=_0x36186d['toLowerCase']();return'default'===_0x4a5a9f?_0x59bbf1:'local'===_0x4a5a9f||'system'===_0x4a5a9f?SystemZone['instance']:'utc'===_0x4a5a9f||'gmt'===_0x4a5a9f?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x4a5a9f)||_0x18c04d['create'](_0x36186d);}return _0x41a992(_0x36186d)?FixedOffsetZone['instance'](_0x36186d):'object'==typeof _0x36186d&&'offset'in _0x36186d&&'function'==typeof _0x36186d['offset']?_0x36186d:new _0x41e65e(_0x36186d);}const _0x4f3cf3={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},_0x294855={'arab':[0x660,0x669],'arabext':[0x6f0,0x6f9],'bali':[0x1b50,0x1b59],'beng':[0x9e6,0x9ef],'deva':[0x966,0x96f],'fullwide':[0xff10,0xff17],'gujr':[0xae6,0xaef],'khmr':[0x17e0,0x17e9],'knda':[0xce6,0xcef],'laoo':[0xed0,0xed9],'limb':[0x1946,0x194f],'mlym':[0xd66,0xd6f],'mong':[0x1810,0x1819],'mymr':[0x1040,0x1049],'orya':[0xb66,0xb6f],'tamldec':[0xbe6,0xbef],'telu':[0xc66,0xc6f],'thai':[0xe50,0xe59],'tibt':[0xf20,0xf29]},_0x32a890=_0x4f3cf3['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),_0x5c3c13=new Map();function _0x456eda({numberingSystem:_0x5f5e9c},_0x22ba58=''){const _0x5cdb23=_0x5f5e9c||'latn';let _0x21135f=_0x5c3c13['get'](_0x5cdb23);void 0x0===_0x21135f&&(_0x21135f=new Map(),_0x5c3c13['set'](_0x5cdb23,_0x21135f));let _0x1f1afc=_0x21135f['get'](_0x22ba58);return void 0x0===_0x1f1afc&&(_0x1f1afc=new RegExp(''+_0x4f3cf3[_0x5cdb23]+_0x22ba58),_0x21135f['set'](_0x22ba58,_0x1f1afc)),_0x1f1afc;}let _0x2c978b,_0x1e368e=()=>Date['now'](),_0x1af576='system',_0x562060=null,_0x144915=null,_0x26a89b=null,tn=0x3c,_0x62e66a=null;class Settings{static get['now'](){return _0x1e368e;}static set['now'](_0x15a901){_0x1e368e=_0x15a901;}static set['defaultZone'](_0x548b7d){_0x1af576=_0x548b7d;}static get['defaultZone'](){return _0x518da6(_0x1af576,SystemZone['instance']);}static get['defaultLocale'](){return _0x562060;}static set['defaultLocale'](_0x21505e){_0x562060=_0x21505e;}static get['defaultNumberingSystem'](){return _0x144915;}static set['defaultNumberingSystem'](_0x28a3d5){_0x144915=_0x28a3d5;}static get['defaultOutputCalendar'](){return _0x26a89b;}static set['defaultOutputCalendar'](_0x58eb1b){_0x26a89b=_0x58eb1b;}static get['defaultWeekSettings'](){return _0x62e66a;}static set['defaultWeekSettings'](_0x43eb48){_0x62e66a=_0x153e53(_0x43eb48);}static get['twoDigitCutoffYear'](){return tn;}static set['twoDigitCutoffYear'](_0x385eed){tn=_0x385eed%0x64;}static get['throwOnInvalid'](){return _0x2c978b;}static set['throwOnInvalid'](t){_0x2c978b=t;}static['resetCaches'](){_0x554150['resetCache'](),_0x18c04d['resetCache'](),DateTime['resetCache'](),_0x5c3c13['clear']();}}class _0x1767d0{constructor(_0x557442,_0x434655){this['reason']=_0x557442,this['explanation']=_0x434655;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x52aa21=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0xffe3c=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function _0x4f12a0(_0x4e2411,_0x4256ba){return new _0x1767d0('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x4256ba+'\x20(of\x20type\x20'+typeof _0x4256ba+')\x20as\x20a\x20'+_0x4e2411+',\x20which\x20is\x20invalid');}function _0x1fc34e(_0xd8dba4,_0x113c52,_0x1a583e){const _0x29de12=new Date(Date['UTC'](_0xd8dba4,_0x113c52-0x1,_0x1a583e));_0xd8dba4<0x64&&_0xd8dba4>=0x0&&_0x29de12['setUTCFullYear'](_0x29de12['getUTCFullYear']()-0x76c);const _0x2aa2a2=_0x29de12['getUTCDay']();return 0x0===_0x2aa2a2?0x7:_0x2aa2a2;}function _0x1bfea2(_0x266647,_0x3f0973,_0x58bbcb){return _0x58bbcb+(_0x251b88(_0x266647)?_0xffe3c:_0x52aa21)[_0x3f0973-0x1];}function _0x54c074(_0x23d83d,_0x9821af){const _0x5a94f1=_0x251b88(_0x23d83d)?_0xffe3c:_0x52aa21,_0x7c7e47=_0x5a94f1['findIndex'](_0x59b464=>_0x59b464<_0x9821af);return{'month':_0x7c7e47+0x1,'day':_0x9821af-_0x5a94f1[_0x7c7e47]};}function _0x15eb3a(_0x4e3747,_0x5a4d08){return(_0x4e3747-_0x5a4d08+0x7)%0x7+0x1;}function _0x609671(_0x4f4026,_0x45cbac=0x4,_0x5f99f0=0x1){const {year:_0x4c3bff,month:_0x49df2c,day:_0x1f9273}=_0x4f4026,_0x5f5ac2=_0x1bfea2(_0x4c3bff,_0x49df2c,_0x1f9273),_0x50cac0=_0x15eb3a(_0x1fc34e(_0x4c3bff,_0x49df2c,_0x1f9273),_0x5f99f0);let _0x109e3b,_0x4d0a47=Math['floor']((_0x5f5ac2-_0x50cac0+0xe-_0x45cbac)/0x7);return _0x4d0a47<0x1?(_0x109e3b=_0x4c3bff-0x1,_0x4d0a47=_0x978495(_0x109e3b,_0x45cbac,_0x5f99f0)):_0x4d0a47>_0x978495(_0x4c3bff,_0x45cbac,_0x5f99f0)?(_0x109e3b=_0x4c3bff+0x1,_0x4d0a47=0x1):_0x109e3b=_0x4c3bff,{'weekYear':_0x109e3b,'weekNumber':_0x4d0a47,'weekday':_0x50cac0,..._0x593f61(_0x4f4026)};}function _0x3cb9c2(_0x10c6d5,_0x12be12=0x4,_0x8ea7a1=0x1){const {weekYear:_0x2394cf,weekNumber:_0x204c12,weekday:_0xc68884}=_0x10c6d5,_0x16b6bb=_0x15eb3a(_0x1fc34e(_0x2394cf,0x1,_0x12be12),_0x8ea7a1),_0x2f732a=_0x2d372d(_0x2394cf);let _0x4e5b00,_0x5d8c02=0x7*_0x204c12+_0xc68884-_0x16b6bb-0x7+_0x12be12;_0x5d8c02<0x1?(_0x4e5b00=_0x2394cf-0x1,_0x5d8c02+=_0x2d372d(_0x4e5b00)):_0x5d8c02>_0x2f732a?(_0x4e5b00=_0x2394cf+0x1,_0x5d8c02-=_0x2d372d(_0x2394cf)):_0x4e5b00=_0x2394cf;const {month:_0x274b8b,day:_0x1e64aa}=_0x54c074(_0x4e5b00,_0x5d8c02);return{'year':_0x4e5b00,'month':_0x274b8b,'day':_0x1e64aa,..._0x593f61(_0x10c6d5)};}function _0x367fba(_0x428e95){const {year:_0x46ca57,month:_0x495b4e,day:_0x3c205e}=_0x428e95;return{'year':_0x46ca57,'ordinal':_0x1bfea2(_0x46ca57,_0x495b4e,_0x3c205e),..._0x593f61(_0x428e95)};}function _0x4ef63d(_0x43c279){const {year:_0xa4002c,ordinal:_0x17abb1}=_0x43c279,{month:_0x3a4f9d,day:_0x351032}=_0x54c074(_0xa4002c,_0x17abb1);return{'year':_0xa4002c,'month':_0x3a4f9d,'day':_0x351032,..._0x593f61(_0x43c279)};}function _0x3ccfd6(_0x455cdd,_0x129bec){if(!_0x19e0f6(_0x455cdd['localWeekday'])||!_0x19e0f6(_0x455cdd['localWeekNumber'])||!_0x19e0f6(_0x455cdd['localWeekYear'])){if(!_0x19e0f6(_0x455cdd['weekday'])||!_0x19e0f6(_0x455cdd['weekNumber'])||!_0x19e0f6(_0x455cdd['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x19e0f6(_0x455cdd['localWeekday'])||(_0x455cdd['weekday']=_0x455cdd['localWeekday']),_0x19e0f6(_0x455cdd['localWeekNumber'])||(_0x455cdd['weekNumber']=_0x455cdd['localWeekNumber']),_0x19e0f6(_0x455cdd['localWeekYear'])||(_0x455cdd['weekYear']=_0x455cdd['localWeekYear']),delete _0x455cdd['localWeekday'],delete _0x455cdd['localWeekNumber'],delete _0x455cdd['localWeekYear'],{'minDaysInFirstWeek':_0x129bec['getMinDaysInFirstWeek'](),'startOfWeek':_0x129bec['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function _0x2a7bd5(_0x1d44cb){const _0x54e793=_0xc7ae28(_0x1d44cb['year']),_0x2d7fc5=_0x227e0c(_0x1d44cb['month'],0x1,0xc),_0x395aa7=_0x227e0c(_0x1d44cb['day'],0x1,_0x138121(_0x1d44cb['year'],_0x1d44cb['month']));return _0x54e793?_0x2d7fc5?!_0x395aa7&&_0x4f12a0('day',_0x1d44cb['day']):_0x4f12a0('month',_0x1d44cb['month']):_0x4f12a0('year',_0x1d44cb['year']);}function _0x5a1512(_0x4c5238){const {hour:_0x410594,minute:_0x21ba59,second:_0x5d2820,millisecond:_0x32020e}=_0x4c5238,_0x3ecff2=_0x227e0c(_0x410594,0x0,0x17)||0x18===_0x410594&&0x0===_0x21ba59&&0x0===_0x5d2820&&0x0===_0x32020e,_0x3a5395=_0x227e0c(_0x21ba59,0x0,0x3b),_0x2ba9d0=_0x227e0c(_0x5d2820,0x0,0x3b),_0x2db986=_0x227e0c(_0x32020e,0x0,0x3e7);return _0x3ecff2?_0x3a5395?_0x2ba9d0?!_0x2db986&&_0x4f12a0('millisecond',_0x32020e):_0x4f12a0('second',_0x5d2820):_0x4f12a0('minute',_0x21ba59):_0x4f12a0('hour',_0x410594);}function _0x19e0f6(_0x55088f){return void 0x0===_0x55088f;}function _0x41a992(_0x4cb73b){return'number'==typeof _0x4cb73b;}function _0xc7ae28(_0x3b75fa){return'number'==typeof _0x3b75fa&&_0x3b75fa%0x1==0x0;}function _0x4b1ec4(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x3029b8){return!0x1;}}function _0x37fa68(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x24c7e2){return!0x1;}}function _0x10d19b(_0x568f60,_0x1d5460,_0x218edf){if(0x0!==_0x568f60['length'])return _0x568f60['reduce']((_0x1eec7c,_0x3f49d3)=>{const _0x414a49=[_0x1d5460(_0x3f49d3),_0x3f49d3];return _0x1eec7c&&_0x218edf(_0x1eec7c[0x0],_0x414a49[0x0])===_0x1eec7c[0x0]?_0x1eec7c:_0x414a49;},null)[0x1];}function _0x2bc76f(_0xcfb3b1,_0x3a8e06){return Object['prototype']['hasOwnProperty']['call'](_0xcfb3b1,_0x3a8e06);}function _0x153e53(_0x46190d){if(null==_0x46190d)return null;if('object'!=typeof _0x46190d)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!_0x227e0c(_0x46190d['firstDay'],0x1,0x7)||!_0x227e0c(_0x46190d['minimalDays'],0x1,0x7)||!Array['isArray'](_0x46190d['weekend'])||_0x46190d['weekend']['some'](_0x2e12cf=>!_0x227e0c(_0x2e12cf,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x46190d['firstDay'],'minimalDays':_0x46190d['minimalDays'],'weekend':Array['from'](_0x46190d['weekend'])};}function _0x227e0c(_0xe82771,_0x2d40ed,_0x58d2c6){return _0xc7ae28(_0xe82771)&&_0xe82771>=_0x2d40ed&&_0xe82771<=_0x58d2c6;}function _0x193144(_0x17af80,_0x58057b=0x2){let _0x21ba1b;return _0x21ba1b=_0x17af80<0x0?'-'+(''+-_0x17af80)['padStart'](_0x58057b,'0'):(''+_0x17af80)['padStart'](_0x58057b,'0'),_0x21ba1b;}function _0x1e613d(_0x499449){return _0x19e0f6(_0x499449)||null===_0x499449||''===_0x499449?void 0x0:parseInt(_0x499449,0xa);}function _0x42720c(_0x351b31){return _0x19e0f6(_0x351b31)||null===_0x351b31||''===_0x351b31?void 0x0:parseFloat(_0x351b31);}function _0x14d390(_0xcadf6b){if(!_0x19e0f6(_0xcadf6b)&&null!==_0xcadf6b&&''!==_0xcadf6b){const _0x3bc25d=0x3e8*parseFloat('0.'+_0xcadf6b);return Math['floor'](_0x3bc25d);}}function _0x392d47(_0x41091d,_0x33a9d3,_0x23cec8=!0x1){const _0x3c582d=0xa**_0x33a9d3;return(_0x23cec8?Math['trunc']:Math['round'])(_0x41091d*_0x3c582d)/_0x3c582d;}function _0x251b88(_0x336abd){return _0x336abd%0x4==0x0&&(_0x336abd%0x64!=0x0||_0x336abd%0x190==0x0);}function _0x2d372d(_0x404370){return _0x251b88(_0x404370)?0x16e:0x16d;}function _0x138121(_0x3e91c9,_0x261190){const _0xb41b0=function(_0x4e8ada,_0x4ae05e){return _0x4e8ada-_0x4ae05e*Math['floor'](_0x4e8ada/_0x4ae05e);}(_0x261190-0x1,0xc)+0x1;return 0x2===_0xb41b0?_0x251b88(_0x3e91c9+(_0x261190-_0xb41b0)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0xb41b0-0x1];}function _0x1c0b6b(_0x4d48b1){let _0x51d4ce=Date['UTC'](_0x4d48b1['year'],_0x4d48b1['month']-0x1,_0x4d48b1['day'],_0x4d48b1['hour'],_0x4d48b1['minute'],_0x4d48b1['second'],_0x4d48b1['millisecond']);return _0x4d48b1['year']<0x64&&_0x4d48b1['year']>=0x0&&(_0x51d4ce=new Date(_0x51d4ce),_0x51d4ce['setUTCFullYear'](_0x4d48b1['year'],_0x4d48b1['month']-0x1,_0x4d48b1['day'])),+_0x51d4ce;}function _0x529f51(_0x5ca1a7,_0x471853,_0x24cf6d){return-_0x15eb3a(_0x1fc34e(_0x5ca1a7,0x1,_0x471853),_0x24cf6d)+_0x471853-0x1;}function _0x978495(_0x48cc45,_0x434e2a=0x4,_0x5eb4c3=0x1){const _0x5f0d1c=_0x529f51(_0x48cc45,_0x434e2a,_0x5eb4c3),_0x54d6d4=_0x529f51(_0x48cc45+0x1,_0x434e2a,_0x5eb4c3);return(_0x2d372d(_0x48cc45)-_0x5f0d1c+_0x54d6d4)/0x7;}function _0x4b6b58(_0x2cfc97){return _0x2cfc97>0x63?_0x2cfc97:_0x2cfc97>Settings['twoDigitCutoffYear']?0x76c+_0x2cfc97:0x7d0+_0x2cfc97;}function _0x330888(_0x163fa6,_0x1cdd1a,_0x34afec,_0x192d3b=null){const _0x311d2b=new Date(_0x163fa6),_0x36b941={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x192d3b&&(_0x36b941['timeZone']=_0x192d3b);const _0x1274c4={'timeZoneName':_0x1cdd1a,..._0x36b941},_0x411d30=new Intl['DateTimeFormat'](_0x34afec,_0x1274c4)['formatToParts'](_0x311d2b)['find'](_0x2dc501=>'timezonename'===_0x2dc501['type']['toLowerCase']());return _0x411d30?_0x411d30['value']:null;}function _0x3a0cd3(_0x4c6dd1,_0x5dc548){let _0x531948=parseInt(_0x4c6dd1,0xa);Number['isNaN'](_0x531948)&&(_0x531948=0x0);const _0x16faa5=parseInt(_0x5dc548,0xa)||0x0;return 0x3c*_0x531948+(_0x531948<0x0||Object['is'](_0x531948,-0x0)?-_0x16faa5:_0x16faa5);}function _0x2a327a(_0x19ebc7){const _0x7ea306=Number(_0x19ebc7);if('boolean'==typeof _0x19ebc7||''===_0x19ebc7||Number['isNaN'](_0x7ea306))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x19ebc7);return _0x7ea306;}function _0x1c0039(_0x1439fa,_0x30ecba){const _0x393450={};for(const _0xbf47ce in _0x1439fa)if(_0x2bc76f(_0x1439fa,_0xbf47ce)){const _0x32858b=_0x1439fa[_0xbf47ce];if(null==_0x32858b)continue;_0x393450[_0x30ecba(_0xbf47ce)]=_0x2a327a(_0x32858b);}return _0x393450;}function _0x5c007d(_0x12a4ff,_0x1bb46b){const _0x188a22=Math['trunc'](Math['abs'](_0x12a4ff/0x3c)),_0x1c3f60=Math['trunc'](Math['abs'](_0x12a4ff%0x3c)),_0x415f85=_0x12a4ff>=0x0?'+':'-';switch(_0x1bb46b){case'short':return''+_0x415f85+_0x193144(_0x188a22,0x2)+':'+_0x193144(_0x1c3f60,0x2);case'narrow':return''+_0x415f85+_0x188a22+(_0x1c3f60>0x0?':'+_0x1c3f60:'');case'techie':return''+_0x415f85+_0x193144(_0x188a22,0x2)+_0x193144(_0x1c3f60,0x2);default:throw new RangeError('Value\x20format\x20'+_0x1bb46b+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function _0x593f61(_0x11c48c){return function(_0x2abfed,_0x1a2b62){return _0x1a2b62['reduce']((_0x371877,_0x31d75b)=>(_0x371877[_0x31d75b]=_0x2abfed[_0x31d75b],_0x371877),{});}(_0x11c48c,['hour','minute','second','millisecond']);}const _0xebf079=['January','February','March','April','May','June','July','August','September','October','November','December'],_0x4b3e4e=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_0x4570b6=['J','F','M','A','M','J','J','A','S','O','N','D'];function _0x33cd6a(_0x38cbf0){switch(_0x38cbf0){case'narrow':return[..._0x4570b6];case'short':return[..._0x4b3e4e];case'long':return[..._0xebf079];case'numeric':return['1','2','3','4','5','6','7','8','9','10','11','12'];case'2-digit':return['01','02','03','04','05','06','07','08','09','10','11','12'];default:return null;}}const _0x37fb01=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],_0x469cac=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x1382be=['M','T','W','T','F','S','S'];function _0x2b04b0(_0x35d6ea){switch(_0x35d6ea){case'narrow':return[..._0x1382be];case'short':return[..._0x469cac];case'long':return[..._0x37fb01];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x57b6c9=['AM','PM'],_0x2e75a8=['Before\x20Christ','Anno\x20Domini'],tr=['BC','AD'],_0x3698bb=['B','A'];function _0x16b118(_0x57b7d8){switch(_0x57b7d8){case'narrow':return[..._0x3698bb];case'short':return[...tr];case'long':return[..._0x2e75a8];default:return null;}}function _0x300e6f(_0x4f49ee,_0x4d458f){let _0x2b24cc='';for(const _0x128332 of _0x4f49ee)_0x128332['literal']?_0x2b24cc+=_0x128332['val']:_0x2b24cc+=_0x4d458f(_0x128332['val']);return _0x2b24cc;}const _0xcb8e38={'D':_0x2b2ed8,'DD':_0x31f0f9,'DDD':_0x41c795,'DDDD':_0x5eb954,'t':_0x1001de,'tt':_0x570db9,'ttt':_0x2ee014,'tttt':_0x59de05,'T':_0x32b769,'TT':_0x2868ae,'TTT':_0x38da05,'TTTT':_0x56cdcc,'f':_0x3d9282,'ff':_0x400c3f,'fff':_0x3b1757,'ffff':_0x3af65d,'F':_0x3fbf5e,'FF':_0x1109a0,'FFF':_0xc036c2,'FFFF':_0x1ce10b};class Formatter{static['create'](_0x9e595e,_0xfb47fb={}){return new Formatter(_0x9e595e,_0xfb47fb);}static['parseFormat'](_0x3a9b18){let _0x1a17e8=null,_0x46e2c0='',_0x4def3b=!0x1;const _0x13d778=[];for(let _0x51bc3=0x0;_0x51bc3<_0x3a9b18['length'];_0x51bc3++){const _0x28e80=_0x3a9b18['charAt'](_0x51bc3);'\x27'===_0x28e80?(_0x46e2c0['length']>0x0&&_0x13d778['push']({'literal':_0x4def3b||/^\s+$/['test'](_0x46e2c0),'val':_0x46e2c0}),_0x1a17e8=null,_0x46e2c0='',_0x4def3b=!_0x4def3b):_0x4def3b||_0x28e80===_0x1a17e8?_0x46e2c0+=_0x28e80:(_0x46e2c0['length']>0x0&&_0x13d778['push']({'literal':/^\s+$/['test'](_0x46e2c0),'val':_0x46e2c0}),_0x46e2c0=_0x28e80,_0x1a17e8=_0x28e80);}return _0x46e2c0['length']>0x0&&_0x13d778['push']({'literal':_0x4def3b||/^\s+$/['test'](_0x46e2c0),'val':_0x46e2c0}),_0x13d778;}static['macroTokenToFormatOpts'](_0xd3b76a){return _0xcb8e38[_0xd3b76a];}constructor(_0x17889a,_0x274ecb){this['opts']=_0x274ecb,this['loc']=_0x17889a,this['systemLoc']=null;}['formatWithSystemDefault'](_0x5c432d,_0x4b609e){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x5c432d,{...this['opts'],..._0x4b609e})['format']();}['dtFormatter'](_0x3cc735,_0x3cc3c7={}){return this['loc']['dtFormatter'](_0x3cc735,{...this['opts'],..._0x3cc3c7});}['formatDateTime'](_0x59bbc4,_0x137b6f){return this['dtFormatter'](_0x59bbc4,_0x137b6f)['format']();}['formatDateTimeParts'](_0x3f3e65,_0x51dadc){return this['dtFormatter'](_0x3f3e65,_0x51dadc)['formatToParts']();}['formatInterval'](_0xb95720,_0x30e671){return this['dtFormatter'](_0xb95720['start'],_0x30e671)['dtf']['formatRange'](_0xb95720['start']['toJSDate'](),_0xb95720['end']['toJSDate']());}['resolvedOptions'](_0x39ea47,_0x2037a8){return this['dtFormatter'](_0x39ea47,_0x2037a8)['resolvedOptions']();}['num'](_0x4af30d,_0x5ec886=0x0){if(this['opts']['forceSimple'])return _0x193144(_0x4af30d,_0x5ec886);const _0x27e669={...this['opts']};return _0x5ec886>0x0&&(_0x27e669['padTo']=_0x5ec886),this['loc']['numberFormatter'](_0x27e669)['format'](_0x4af30d);}['formatDateTimeFromString'](_0x1d7cb9,_0x320785){const _0x43af4d='en'===this['loc']['listingMode'](),_0xa6e0dc=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x32e4ec=(_0x964213,_0x392618)=>this['loc']['extract'](_0x1d7cb9,_0x964213,_0x392618),_0x5ef312=_0x33dd78=>_0x1d7cb9['isOffsetFixed']&&0x0===_0x1d7cb9['offset']&&_0x33dd78['allowZ']?'Z':_0x1d7cb9['isValid']?_0x1d7cb9['zone']['formatOffset'](_0x1d7cb9['ts'],_0x33dd78['format']):'',_0x1187d3=()=>_0x43af4d?function(_0x26a7c4){return _0x57b6c9[_0x26a7c4['hour']<0xc?0x0:0x1];}(_0x1d7cb9):_0x32e4ec({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x498fb1=(_0x2c8bd1,_0x1f09f6)=>_0x43af4d?function(_0x150d62,_0x14f2fe){return _0x33cd6a(_0x14f2fe)[_0x150d62['month']-0x1];}(_0x1d7cb9,_0x2c8bd1):_0x32e4ec(_0x1f09f6?{'month':_0x2c8bd1}:{'month':_0x2c8bd1,'day':'numeric'},'month'),_0x55e083=(_0x4551a6,_0x345798)=>_0x43af4d?function(_0x30f6d3,_0x243010){return _0x2b04b0(_0x243010)[_0x30f6d3['weekday']-0x1];}(_0x1d7cb9,_0x4551a6):_0x32e4ec(_0x345798?{'weekday':_0x4551a6}:{'weekday':_0x4551a6,'month':'long','day':'numeric'},'weekday'),_0x516040=_0x77f0ea=>{const _0x311ba1=Formatter['macroTokenToFormatOpts'](_0x77f0ea);return _0x311ba1?this['formatWithSystemDefault'](_0x1d7cb9,_0x311ba1):_0x77f0ea;},_0x3ebc26=_0x1b71b7=>_0x43af4d?function(_0x316d1b,_0x292154){return _0x16b118(_0x292154)[_0x316d1b['year']<0x0?0x0:0x1];}(_0x1d7cb9,_0x1b71b7):_0x32e4ec({'era':_0x1b71b7},'era');return _0x300e6f(Formatter['parseFormat'](_0x320785),_0x5824c6=>{switch(_0x5824c6){case'S':return this['num'](_0x1d7cb9['millisecond']);case'u':case'SSS':return this['num'](_0x1d7cb9['millisecond'],0x3);case's':return this['num'](_0x1d7cb9['second']);case'ss':return this['num'](_0x1d7cb9['second'],0x2);case'uu':return this['num'](Math['floor'](_0x1d7cb9['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x1d7cb9['millisecond']/0x64));case'm':return this['num'](_0x1d7cb9['minute']);case'mm':return this['num'](_0x1d7cb9['minute'],0x2);case'h':return this['num'](_0x1d7cb9['hour']%0xc==0x0?0xc:_0x1d7cb9['hour']%0xc);case'hh':return this['num'](_0x1d7cb9['hour']%0xc==0x0?0xc:_0x1d7cb9['hour']%0xc,0x2);case'H':return this['num'](_0x1d7cb9['hour']);case'HH':return this['num'](_0x1d7cb9['hour'],0x2);case'Z':return _0x5ef312({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x5ef312({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x5ef312({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x1d7cb9['zone']['offsetName'](_0x1d7cb9['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x1d7cb9['zone']['offsetName'](_0x1d7cb9['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x1d7cb9['zoneName'];case'a':return _0x1187d3();case'd':return _0xa6e0dc?_0x32e4ec({'day':'numeric'},'day'):this['num'](_0x1d7cb9['day']);case'dd':return _0xa6e0dc?_0x32e4ec({'day':'2-digit'},'day'):this['num'](_0x1d7cb9['day'],0x2);case'c':case'E':return this['num'](_0x1d7cb9['weekday']);case'ccc':return _0x55e083('short',!0x0);case'cccc':return _0x55e083('long',!0x0);case'ccccc':return _0x55e083('narrow',!0x0);case'EEE':return _0x55e083('short',!0x1);case'EEEE':return _0x55e083('long',!0x1);case'EEEEE':return _0x55e083('narrow',!0x1);case'L':return _0xa6e0dc?_0x32e4ec({'month':'numeric','day':'numeric'},'month'):this['num'](_0x1d7cb9['month']);case'LL':return _0xa6e0dc?_0x32e4ec({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x1d7cb9['month'],0x2);case'LLL':return _0x498fb1('short',!0x0);case'LLLL':return _0x498fb1('long',!0x0);case'LLLLL':return _0x498fb1('narrow',!0x0);case'M':return _0xa6e0dc?_0x32e4ec({'month':'numeric'},'month'):this['num'](_0x1d7cb9['month']);case'MM':return _0xa6e0dc?_0x32e4ec({'month':'2-digit'},'month'):this['num'](_0x1d7cb9['month'],0x2);case'MMM':return _0x498fb1('short',!0x1);case'MMMM':return _0x498fb1('long',!0x1);case'MMMMM':return _0x498fb1('narrow',!0x1);case'y':return _0xa6e0dc?_0x32e4ec({'year':'numeric'},'year'):this['num'](_0x1d7cb9['year']);case'yy':return _0xa6e0dc?_0x32e4ec({'year':'2-digit'},'year'):this['num'](_0x1d7cb9['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0xa6e0dc?_0x32e4ec({'year':'numeric'},'year'):this['num'](_0x1d7cb9['year'],0x4);case'yyyyyy':return _0xa6e0dc?_0x32e4ec({'year':'numeric'},'year'):this['num'](_0x1d7cb9['year'],0x6);case'G':return _0x3ebc26('short');case'GG':return _0x3ebc26('long');case'GGGGG':return _0x3ebc26('narrow');case'kk':return this['num'](_0x1d7cb9['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x1d7cb9['weekYear'],0x4);case'W':return this['num'](_0x1d7cb9['weekNumber']);case'WW':return this['num'](_0x1d7cb9['weekNumber'],0x2);case'n':return this['num'](_0x1d7cb9['localWeekNumber']);case'nn':return this['num'](_0x1d7cb9['localWeekNumber'],0x2);case'ii':return this['num'](_0x1d7cb9['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x1d7cb9['localWeekYear'],0x4);case'o':return this['num'](_0x1d7cb9['ordinal']);case'ooo':return this['num'](_0x1d7cb9['ordinal'],0x3);case'q':return this['num'](_0x1d7cb9['quarter']);case'qq':return this['num'](_0x1d7cb9['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x1d7cb9['ts']/0x3e8));case'x':return this['num'](_0x1d7cb9['ts']);default:return _0x516040(_0x5824c6);}});}['formatDurationFromString'](_0x4da3c3,_0x48bea3){const _0x476223=_0x41c3d5=>{switch(_0x41c3d5[0x0]){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':return'hour';case'd':return'day';case'w':return'week';case'M':return'month';case'y':return'year';default:return null;}},_0x2a1117=Formatter['parseFormat'](_0x48bea3),_0x5efa08=_0x2a1117['reduce']((_0x1972f5,{literal:_0x3aed20,val:_0x365338})=>_0x3aed20?_0x1972f5:_0x1972f5['concat'](_0x365338),[]),_0x1aed2a=_0x4da3c3['shiftTo'](..._0x5efa08['map'](_0x476223)['filter'](t=>t));return _0x300e6f(_0x2a1117,(_0x5cca03=>_0x4ce21d=>{const _0x55a545=_0x476223(_0x4ce21d);return _0x55a545?this['num'](_0x5cca03['get'](_0x55a545),_0x4ce21d['length']):_0x4ce21d;})(_0x1aed2a));}}const _0x2df5c4=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x1123c9(..._0xc9f3df){const _0x46bcd6=_0xc9f3df['reduce']((_0x3fa32a,_0x591dba)=>_0x3fa32a+_0x591dba['source'],'');return RegExp('^'+_0x46bcd6+'$');}function _0x1f7752(..._0x11a1bb){return _0x3d9dfc=>_0x11a1bb['reduce'](([_0x5ae247,_0x58062f,_0xabbf1],_0x3b96bd)=>{const [_0x57eddc,_0x38ab90,_0xc752d8]=_0x3b96bd(_0x3d9dfc,_0xabbf1);return[{..._0x5ae247,..._0x57eddc},_0x38ab90||_0x58062f,_0xc752d8];},[{},null,0x1])['slice'](0x0,0x2);}function _0x1140f6(_0x235f27,..._0x149813){if(null==_0x235f27)return[null,null];for(const [_0x1186f8,_0x2df98c]of _0x149813){const _0x50cc40=_0x1186f8['exec'](_0x235f27);if(_0x50cc40)return _0x2df98c(_0x50cc40);}return[null,null];}function _0x48ebd5(..._0x2d6fc9){return(_0x326e31,_0x5983da)=>{const _0x38f7b4={};let _0x281f60;for(_0x281f60=0x0;_0x281f60<_0x2d6fc9['length'];_0x281f60++)_0x38f7b4[_0x2d6fc9[_0x281f60]]=_0x1e613d(_0x326e31[_0x5983da+_0x281f60]);return[_0x38f7b4,null,_0x5983da+_0x281f60];};}const _0x4df80a=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,_0x555d8d=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x5183e8=RegExp(''+_0x555d8d['source']+('(?:'+_0x4df80a['source']+'?(?:\x5c[('+_0x2df5c4['source']+')\x5c])?)?')),_0x34dc02=RegExp('(?:T'+_0x5183e8['source']+')?'),_0xc51297=_0x48ebd5('weekYear','weekNumber','weekDay'),_0x31d1eb=_0x48ebd5('year','ordinal'),_0x43a95e=RegExp(_0x555d8d['source']+'\x20?(?:'+_0x4df80a['source']+'|('+_0x2df5c4['source']+'))?'),_0x4280ed=RegExp('(?:\x20'+_0x43a95e['source']+')?');function _0x523172(_0x1cc65e,_0x5d1a68,_0x2d1519){const _0x553e12=_0x1cc65e[_0x5d1a68];return _0x19e0f6(_0x553e12)?_0x2d1519:_0x1e613d(_0x553e12);}function _0x41a213(_0x55b9f5,_0x54979e){return[{'hours':_0x523172(_0x55b9f5,_0x54979e,0x0),'minutes':_0x523172(_0x55b9f5,_0x54979e+0x1,0x0),'seconds':_0x523172(_0x55b9f5,_0x54979e+0x2,0x0),'milliseconds':_0x14d390(_0x55b9f5[_0x54979e+0x3])},null,_0x54979e+0x4];}function _0x4da721(_0x283802,_0xfaec09){const _0xcdaae3=!_0x283802[_0xfaec09]&&!_0x283802[_0xfaec09+0x1],_0x2519bb=_0x3a0cd3(_0x283802[_0xfaec09+0x1],_0x283802[_0xfaec09+0x2]);return[{},_0xcdaae3?null:FixedOffsetZone['instance'](_0x2519bb),_0xfaec09+0x3];}function _0xf18dcc(_0x265abb,_0x6a4379){return[{},_0x265abb[_0x6a4379]?_0x18c04d['create'](_0x265abb[_0x6a4379]):null,_0x6a4379+0x1];}const _0x50f8c4=RegExp('^T?'+_0x555d8d['source']+'$'),_0x571721=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function _0x4def33(_0x2aa329){const [_0x2eecb8,_0x316442,_0x4a0fc2,_0x33c7da,_0x594058,_0x1cf518,_0x3e6af0,_0x4d35bc,_0x1f2ab6]=_0x2aa329,_0x102baa='-'===_0x2eecb8[0x0],_0x41546e=_0x4d35bc&&'-'===_0x4d35bc[0x0],_0x28a592=(_0x53a467,_0x4264df=!0x1)=>void 0x0!==_0x53a467&&(_0x4264df||_0x53a467&&_0x102baa)?-_0x53a467:_0x53a467;return[{'years':_0x28a592(_0x42720c(_0x316442)),'months':_0x28a592(_0x42720c(_0x4a0fc2)),'weeks':_0x28a592(_0x42720c(_0x33c7da)),'days':_0x28a592(_0x42720c(_0x594058)),'hours':_0x28a592(_0x42720c(_0x1cf518)),'minutes':_0x28a592(_0x42720c(_0x3e6af0)),'seconds':_0x28a592(_0x42720c(_0x4d35bc),'-0'===_0x4d35bc),'milliseconds':_0x28a592(_0x14d390(_0x1f2ab6),_0x41546e)}];}const _0x356c89={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function _0x12e76a(_0x25d28b,_0x1ef80f,_0x2e749e,_0x12196e,_0xac527f,_0x1d3c2d,_0x5e2e29){const _0x4a73fe={'year':0x2===_0x1ef80f['length']?_0x4b6b58(_0x1e613d(_0x1ef80f)):_0x1e613d(_0x1ef80f),'month':_0x4b3e4e['indexOf'](_0x2e749e)+0x1,'day':_0x1e613d(_0x12196e),'hour':_0x1e613d(_0xac527f),'minute':_0x1e613d(_0x1d3c2d)};return _0x5e2e29&&(_0x4a73fe['second']=_0x1e613d(_0x5e2e29)),_0x25d28b&&(_0x4a73fe['weekday']=_0x25d28b['length']>0x3?_0x37fb01['indexOf'](_0x25d28b)+0x1:_0x469cac['indexOf'](_0x25d28b)+0x1),_0x4a73fe;}const _0x2dbf3a=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function _0x2aa3ed(_0x2c68e3){const [,_0x3e7d74,_0x464cc7,_0x39cc4f,_0x382214,_0x247678,_0x6f8009,_0x2c8ac1,_0x5010bc,_0x421bf8,_0x1505c6,_0x56ca06]=_0x2c68e3,_0x141928=_0x12e76a(_0x3e7d74,_0x382214,_0x39cc4f,_0x464cc7,_0x247678,_0x6f8009,_0x2c8ac1);let _0x4932a0;return _0x4932a0=_0x5010bc?_0x356c89[_0x5010bc]:_0x421bf8?0x0:_0x3a0cd3(_0x1505c6,_0x56ca06),[_0x141928,new FixedOffsetZone(_0x4932a0)];}const _0x5103dd=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,_0x3179af=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,_0x29d5f4=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function _0x19d507(_0x13d98d){const [,_0x22f484,_0x3d7633,_0x29875e,_0x4c9317,_0x4e2ea2,_0x14c569,_0x1d2ce3]=_0x13d98d;return[_0x12e76a(_0x22f484,_0x4c9317,_0x29875e,_0x3d7633,_0x4e2ea2,_0x14c569,_0x1d2ce3),FixedOffsetZone['utcInstance']];}function _0x1ce166(_0x31e305){const [,_0x2c867b,_0x2a4cad,_0x1c5635,_0x5ae3ed,_0x18c21c,_0x46bb1b,_0x14e4f7]=_0x31e305;return[_0x12e76a(_0x2c867b,_0x14e4f7,_0x2a4cad,_0x1c5635,_0x5ae3ed,_0x18c21c,_0x46bb1b),FixedOffsetZone['utcInstance']];}const _0x18475f=_0x1123c9(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x34dc02),_0x408119=_0x1123c9(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x34dc02),_0x15a6fa=_0x1123c9(/(\d{4})-?(\d{3})/,_0x34dc02),_0xd0a925=_0x1123c9(_0x5183e8),_0x2f5045=_0x1f7752(function(_0x422c75,_0xb4bd94){return[{'year':_0x523172(_0x422c75,_0xb4bd94),'month':_0x523172(_0x422c75,_0xb4bd94+0x1,0x1),'day':_0x523172(_0x422c75,_0xb4bd94+0x2,0x1)},null,_0xb4bd94+0x3];},_0x41a213,_0x4da721,_0xf18dcc),_0x49d946=_0x1f7752(_0xc51297,_0x41a213,_0x4da721,_0xf18dcc),_0x9bee1=_0x1f7752(_0x31d1eb,_0x41a213,_0x4da721,_0xf18dcc),_0x8736d8=_0x1f7752(_0x41a213,_0x4da721,_0xf18dcc),_0x194cda=_0x1f7752(_0x41a213),_0xbf6ff0=_0x1123c9(/(\d{4})-(\d\d)-(\d\d)/,_0x4280ed),_0x956cc0=_0x1123c9(_0x43a95e),_0x17a5d0=_0x1f7752(_0x41a213,_0x4da721,_0xf18dcc),_0x3a2442='Invalid\x20Duration',_0x1f6be6={'weeks':{'days':0x7,'hours':0xa8,'minutes':0x2760,'seconds':0x93a80,'milliseconds':0x240c8400},'days':{'hours':0x18,'minutes':0x5a0,'seconds':0x15180,'milliseconds':0x5265c00},'hours':{'minutes':0x3c,'seconds':0xe10,'milliseconds':0x36ee80},'minutes':{'seconds':0x3c,'milliseconds':0xea60},'seconds':{'milliseconds':0x3e8}},_0x3ce142={'years':{'quarters':0x4,'months':0xc,'weeks':0x34,'days':0x16d,'hours':0x2238,'minutes':0x80520,'seconds':0x1e13380,'milliseconds':0x757b12c00},'quarters':{'months':0x3,'weeks':0xd,'days':0x5b,'hours':0x888,'minutes':0x1ffe0,'seconds':0x77f880,'milliseconds':0x1d4a2b400},'months':{'weeks':0x4,'days':0x1e,'hours':0x2d0,'minutes':0xa8c0,'seconds':0x278d00,'milliseconds':0x9a7ec800},..._0x1f6be6},_0x2b6552=365.2425,_0x4ac66b=30.436875,_0x4669df={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':_0x2b6552,'hours':8765.82,'minutes':525949.2,'seconds':525949.2*0x3c,'milliseconds':525949.2*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':13.044375,'days':91.310625,'hours':2191.455,'minutes':131487.3,'seconds':525949.2*0x3c/0x4,'milliseconds':7889237999.999999},'months':{'weeks':4.3481250000000005,'days':_0x4ac66b,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},..._0x1f6be6},_0x90d384=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],_0x4d9c81=_0x90d384['slice'](0x0)['reverse']();function to(_0x5d0f76,_0x4eba82,_0x2c5f5a=!0x1){const _0x1ac8c1={'values':_0x2c5f5a?_0x4eba82['values']:{..._0x5d0f76['values'],..._0x4eba82['values']||{}},'loc':_0x5d0f76['loc']['clone'](_0x4eba82['loc']),'conversionAccuracy':_0x4eba82['conversionAccuracy']||_0x5d0f76['conversionAccuracy'],'matrix':_0x4eba82['matrix']||_0x5d0f76['matrix']};return new Duration(_0x1ac8c1);}function _0x423540(_0x3c5ac2,_0x42711f){let _0x4d33f=_0x42711f['milliseconds']??0x0;for(const _0x47616f of _0x4d9c81['slice'](0x1))_0x42711f[_0x47616f]&&(_0x4d33f+=_0x42711f[_0x47616f]*_0x3c5ac2[_0x47616f]['milliseconds']);return _0x4d33f;}function _0x3e3c9a(_0x12da42,_0x1eaaa8){const _0x4d70bf=_0x423540(_0x12da42,_0x1eaaa8)<0x0?-0x1:0x1;_0x90d384['reduceRight']((_0x18244f,_0x3fc9eb)=>{if(_0x19e0f6(_0x1eaaa8[_0x3fc9eb]))return _0x18244f;if(_0x18244f){const _0x1cd0d7=_0x1eaaa8[_0x18244f]*_0x4d70bf,_0xf25c6c=_0x12da42[_0x3fc9eb][_0x18244f],_0xed481b=Math['floor'](_0x1cd0d7/_0xf25c6c);_0x1eaaa8[_0x3fc9eb]+=_0xed481b*_0x4d70bf,_0x1eaaa8[_0x18244f]-=_0xed481b*_0xf25c6c*_0x4d70bf;}return _0x3fc9eb;},null),_0x90d384['reduce']((_0x5d9335,_0x7a627b)=>{if(_0x19e0f6(_0x1eaaa8[_0x7a627b]))return _0x5d9335;if(_0x5d9335){const _0x227bc1=_0x1eaaa8[_0x5d9335]%0x1;_0x1eaaa8[_0x5d9335]-=_0x227bc1,_0x1eaaa8[_0x7a627b]+=_0x227bc1*_0x12da42[_0x5d9335][_0x7a627b];}return _0x7a627b;},null);}class Duration{constructor(_0x959729){const _0x3d5fb6='longterm'===_0x959729['conversionAccuracy']||!0x1;let _0x3fc40c=_0x3d5fb6?_0x4669df:_0x3ce142;_0x959729['matrix']&&(_0x3fc40c=_0x959729['matrix']),this['values']=_0x959729['values'],this['loc']=_0x959729['loc']||_0x554150['create'](),this['conversionAccuracy']=_0x3d5fb6?'longterm':'casual',this['invalid']=_0x959729['invalid']||null,this['matrix']=_0x3fc40c,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x196b73,_0x145c04){return Duration['fromObject']({'milliseconds':_0x196b73},_0x145c04);}static['fromObject'](_0x103a9e,_0x532649={}){if(null==_0x103a9e||'object'!=typeof _0x103a9e)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x103a9e?'null':typeof _0x103a9e));return new Duration({'values':_0x1c0039(_0x103a9e,Duration['normalizeUnit']),'loc':_0x554150['fromObject'](_0x532649),'conversionAccuracy':_0x532649['conversionAccuracy'],'matrix':_0x532649['matrix']});}static['fromDurationLike'](_0x5371df){if(_0x41a992(_0x5371df))return Duration['fromMillis'](_0x5371df);if(Duration['isDuration'](_0x5371df))return _0x5371df;if('object'==typeof _0x5371df)return Duration['fromObject'](_0x5371df);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x5371df+'\x20of\x20type\x20'+typeof _0x5371df);}static['fromISO'](_0x3fc9a6,_0xfd48d7){const [_0x41a0af]=function(_0x40e690){return _0x1140f6(_0x40e690,[_0x571721,_0x4def33]);}(_0x3fc9a6);return _0x41a0af?Duration['fromObject'](_0x41a0af,_0xfd48d7):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x3fc9a6+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x616c1a,_0x58e587){const [_0x32e408]=function(_0x209e7a){return _0x1140f6(_0x209e7a,[_0x50f8c4,_0x194cda]);}(_0x616c1a);return _0x32e408?Duration['fromObject'](_0x32e408,_0x58e587):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x616c1a+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x3702e5,_0x1ef075=null){if(!_0x3702e5)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x36b115=_0x3702e5 instanceof _0x1767d0?_0x3702e5:new _0x1767d0(_0x3702e5,_0x1ef075);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x36b115);return new Duration({'invalid':_0x36b115});}static['normalizeUnit'](_0x102662){const _0x4fa2ab={'year':'years','years':'years','quarter':'quarters','quarters':'quarters','month':'months','months':'months','week':'weeks','weeks':'weeks','day':'days','days':'days','hour':'hours','hours':'hours','minute':'minutes','minutes':'minutes','second':'seconds','seconds':'seconds','millisecond':'milliseconds','milliseconds':'milliseconds'}[_0x102662?_0x102662['toLowerCase']():_0x102662];if(!_0x4fa2ab)throw new InvalidUnitError(_0x102662);return _0x4fa2ab;}static['isDuration'](_0x1179da){return _0x1179da&&_0x1179da['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x4583d6,_0x1134d0={}){const _0xfc439c={..._0x1134d0,'floor':!0x1!==_0x1134d0['round']&&!0x1!==_0x1134d0['floor']};return this['isValid']?Formatter['create'](this['loc'],_0xfc439c)['formatDurationFromString'](this,_0x4583d6):_0x3a2442;}['toHuman'](_0x3a43b5={}){if(!this['isValid'])return _0x3a2442;const _0x5203f6=_0x90d384['map'](_0x369cff=>{const _0x865113=this['values'][_0x369cff];return _0x19e0f6(_0x865113)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x3a43b5,'unit':_0x369cff['slice'](0x0,-0x1)})['format'](_0x865113);})['filter'](_0x137749=>_0x137749);return this['loc']['listFormatter']({'type':'conjunction','style':_0x3a43b5['listStyle']||'narrow',..._0x3a43b5})['format'](_0x5203f6);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x5b89b9='P';return 0x0!==this['years']&&(_0x5b89b9+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x5b89b9+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x5b89b9+=this['weeks']+'W'),0x0!==this['days']&&(_0x5b89b9+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5b89b9+='T'),0x0!==this['hours']&&(_0x5b89b9+=this['hours']+'H'),0x0!==this['minutes']&&(_0x5b89b9+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5b89b9+=_0x392d47(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x5b89b9&&(_0x5b89b9+='T0S'),_0x5b89b9;}['toISOTime'](_0x49c2cb={}){if(!this['isValid'])return null;const _0x1c54ed=this['toMillis']();if(_0x1c54ed<0x0||_0x1c54ed>=0x5265c00)return null;return _0x49c2cb={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x49c2cb,'includeOffset':!0x1},DateTime['fromMillis'](_0x1c54ed,{'zone':'UTC'})['toISOTime'](_0x49c2cb);}['toJSON'](){return this['toISO']();}['toString'](){return this['toISO']();}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Duration\x20{\x20values:\x20'+JSON['stringify'](this['values'])+'\x20}':'Duration\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['toMillis'](){return this['isValid']?_0x423540(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x3d65ac){if(!this['isValid'])return this;const _0x228f6a=Duration['fromDurationLike'](_0x3d65ac),_0x290dc0={};for(const _0x91b011 of _0x90d384)(_0x2bc76f(_0x228f6a['values'],_0x91b011)||_0x2bc76f(this['values'],_0x91b011))&&(_0x290dc0[_0x91b011]=_0x228f6a['get'](_0x91b011)+this['get'](_0x91b011));return to(this,{'values':_0x290dc0},!0x0);}['minus'](_0xd8cd3c){if(!this['isValid'])return this;const _0x4c16d0=Duration['fromDurationLike'](_0xd8cd3c);return this['plus'](_0x4c16d0['negate']());}['mapUnits'](_0x3e327f){if(!this['isValid'])return this;const _0x4e0099={};for(const _0x1985ed of Object['keys'](this['values']))_0x4e0099[_0x1985ed]=_0x2a327a(_0x3e327f(this['values'][_0x1985ed],_0x1985ed));return to(this,{'values':_0x4e0099},!0x0);}['get'](_0x184066){return this[Duration['normalizeUnit'](_0x184066)];}['set'](_0x4e2ccb){if(!this['isValid'])return this;return to(this,{'values':{...this['values'],..._0x1c0039(_0x4e2ccb,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x342215,numberingSystem:_0x55bf0f,conversionAccuracy:_0x23f47b,matrix:_0x146cfc}={}){return to(this,{'loc':this['loc']['clone']({'locale':_0x342215,'numberingSystem':_0x55bf0f}),'matrix':_0x146cfc,'conversionAccuracy':_0x23f47b});}['as'](_0x16a790){return this['isValid']?this['shiftTo'](_0x16a790)['get'](_0x16a790):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x136449=this['toObject']();return _0x3e3c9a(this['matrix'],_0x136449),to(this,{'values':_0x136449},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x5e1f60=function(_0x245fc0){const _0x2f115d={};for(const [_0x2d1f4f,_0x3827f9]of Object['entries'](_0x245fc0))0x0!==_0x3827f9&&(_0x2f115d[_0x2d1f4f]=_0x3827f9);return _0x2f115d;}(this['normalize']()['shiftToAll']()['toObject']());return to(this,{'values':_0x5e1f60},!0x0);}['shiftTo'](..._0x2b886c){if(!this['isValid'])return this;if(0x0===_0x2b886c['length'])return this;_0x2b886c=_0x2b886c['map'](_0xe6878=>Duration['normalizeUnit'](_0xe6878));const _0x20e5d5={},_0x2fef0d={},_0x2b6abe=this['toObject']();let _0x387241;for(const _0x38798e of _0x90d384)if(_0x2b886c['indexOf'](_0x38798e)>=0x0){_0x387241=_0x38798e;let _0x345773=0x0;for(const _0x4ab77a in _0x2fef0d)_0x345773+=this['matrix'][_0x4ab77a][_0x38798e]*_0x2fef0d[_0x4ab77a],_0x2fef0d[_0x4ab77a]=0x0;_0x41a992(_0x2b6abe[_0x38798e])&&(_0x345773+=_0x2b6abe[_0x38798e]);const _0x40908e=Math['trunc'](_0x345773);_0x20e5d5[_0x38798e]=_0x40908e,_0x2fef0d[_0x38798e]=(0x3e8*_0x345773-0x3e8*_0x40908e)/0x3e8;}else _0x41a992(_0x2b6abe[_0x38798e])&&(_0x2fef0d[_0x38798e]=_0x2b6abe[_0x38798e]);for(const _0x526abe in _0x2fef0d)0x0!==_0x2fef0d[_0x526abe]&&(_0x20e5d5[_0x387241]+=_0x526abe===_0x387241?_0x2fef0d[_0x526abe]:_0x2fef0d[_0x526abe]/this['matrix'][_0x387241][_0x526abe]);return _0x3e3c9a(this['matrix'],_0x20e5d5),to(this,{'values':_0x20e5d5},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x5240e3={};for(const _0x4a07b3 of Object['keys'](this['values']))_0x5240e3[_0x4a07b3]=0x0===this['values'][_0x4a07b3]?0x0:-this['values'][_0x4a07b3];return to(this,{'values':_0x5240e3},!0x0);}get['years'](){return this['isValid']?this['values']['years']||0x0:NaN;}get['quarters'](){return this['isValid']?this['values']['quarters']||0x0:NaN;}get['months'](){return this['isValid']?this['values']['months']||0x0:NaN;}get['weeks'](){return this['isValid']?this['values']['weeks']||0x0:NaN;}get['days'](){return this['isValid']?this['values']['days']||0x0:NaN;}get['hours'](){return this['isValid']?this['values']['hours']||0x0:NaN;}get['minutes'](){return this['isValid']?this['values']['minutes']||0x0:NaN;}get['seconds'](){return this['isValid']?this['values']['seconds']||0x0:NaN;}get['milliseconds'](){return this['isValid']?this['values']['milliseconds']||0x0:NaN;}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}['equals'](_0x2279d9){if(!this['isValid']||!_0x2279d9['isValid'])return!0x1;if(!this['loc']['equals'](_0x2279d9['loc']))return!0x1;function _0x69331(_0x12ddbe,_0x2c2640){return void 0x0===_0x12ddbe||0x0===_0x12ddbe?void 0x0===_0x2c2640||0x0===_0x2c2640:_0x12ddbe===_0x2c2640;}for(const _0x218ed4 of _0x90d384)if(!_0x69331(this['values'][_0x218ed4],_0x2279d9['values'][_0x218ed4]))return!0x1;return!0x0;}}const _0x408658='Invalid\x20Interval';class Interval{constructor(_0x19e073){this['s']=_0x19e073['start'],this['e']=_0x19e073['end'],this['invalid']=_0x19e073['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x54555b,_0x4c6463=null){if(!_0x54555b)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x28744a=_0x54555b instanceof _0x1767d0?_0x54555b:new _0x1767d0(_0x54555b,_0x4c6463);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x28744a);return new Interval({'invalid':_0x28744a});}static['fromDateTimes'](_0x21bca8,_0x531d19){const _0x2c3009=_0x2e753d(_0x21bca8),_0x3fe543=_0x2e753d(_0x531d19),_0x371f0b=function(_0x6ca879,_0x4ad841){return _0x6ca879&&_0x6ca879['isValid']?_0x4ad841&&_0x4ad841['isValid']?_0x4ad841<_0x6ca879?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x6ca879['toISO']()+'\x20and\x20end='+_0x4ad841['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x2c3009,_0x3fe543);return null==_0x371f0b?new Interval({'start':_0x2c3009,'end':_0x3fe543}):_0x371f0b;}static['after'](_0xc6100f,_0x3df612){const _0x89efa1=Duration['fromDurationLike'](_0x3df612),_0xb20a8d=_0x2e753d(_0xc6100f);return Interval['fromDateTimes'](_0xb20a8d,_0xb20a8d['plus'](_0x89efa1));}static['before'](_0x560be8,_0x1c356f){const _0x6f2cee=Duration['fromDurationLike'](_0x1c356f),_0x3453cb=_0x2e753d(_0x560be8);return Interval['fromDateTimes'](_0x3453cb['minus'](_0x6f2cee),_0x3453cb);}static['fromISO'](_0x2cd254,_0x31a43a){const [_0xf64873,_0x4425f9]=(_0x2cd254||'')['split']('/',0x2);if(_0xf64873&&_0x4425f9){let _0x3d0457,_0x2d4d2d,_0x1df95c,_0x3f1ba3;try{_0x3d0457=DateTime['fromISO'](_0xf64873,_0x31a43a),_0x2d4d2d=_0x3d0457['isValid'];}catch(_0x136f06){_0x2d4d2d=!0x1;}try{_0x1df95c=DateTime['fromISO'](_0x4425f9,_0x31a43a),_0x3f1ba3=_0x1df95c['isValid'];}catch(_0xab27b0){_0x3f1ba3=!0x1;}if(_0x2d4d2d&&_0x3f1ba3)return Interval['fromDateTimes'](_0x3d0457,_0x1df95c);if(_0x2d4d2d){const _0x2e14a5=Duration['fromISO'](_0x4425f9,_0x31a43a);if(_0x2e14a5['isValid'])return Interval['after'](_0x3d0457,_0x2e14a5);}else{if(_0x3f1ba3){const _0x84232d=Duration['fromISO'](_0xf64873,_0x31a43a);if(_0x84232d['isValid'])return Interval['before'](_0x1df95c,_0x84232d);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x2cd254+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x318bc0){return _0x318bc0&&_0x318bc0['isLuxonInterval']||!0x1;}get['start'](){return this['isValid']?this['s']:null;}get['end'](){return this['isValid']?this['e']:null;}get['lastDateTime'](){return this['isValid']&&this['e']?this['e']['minus'](0x1):null;}get['isValid'](){return null===this['invalidReason'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}['length'](_0x44f299='milliseconds'){return this['isValid']?this['toDuration'](_0x44f299)['get'](_0x44f299):NaN;}['count'](_0x39812d='milliseconds',_0x54fe73){if(!this['isValid'])return NaN;const _0x4f1540=this['start']['startOf'](_0x39812d,_0x54fe73);let _0x19ad69;return _0x19ad69=_0x54fe73?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x4f1540['locale']}):this['end'],_0x19ad69=_0x19ad69['startOf'](_0x39812d,_0x54fe73),Math['floor'](_0x19ad69['diff'](_0x4f1540,_0x39812d)['get'](_0x39812d))+(_0x19ad69['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0xaef5cd){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0xaef5cd));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x2d3f01){return!!this['isValid']&&this['s']>_0x2d3f01;}['isBefore'](_0xdcdc6b){return!!this['isValid']&&this['e']<=_0xdcdc6b;}['contains'](_0x50f172){return!!this['isValid']&&(this['s']<=_0x50f172&&this['e']>_0x50f172);}['set']({start:_0x1f27d8,end:_0x15082a}={}){return this['isValid']?Interval['fromDateTimes'](_0x1f27d8||this['s'],_0x15082a||this['e']):this;}['splitAt'](..._0x1a4b6e){if(!this['isValid'])return[];const _0x1ce90d=_0x1a4b6e['map'](_0x2e753d)['filter'](_0x43ae18=>this['contains'](_0x43ae18))['sort']((_0x4de007,_0x5ce23d)=>_0x4de007['toMillis']()-_0x5ce23d['toMillis']()),_0x186653=[];let {s:_0x9bc989}=this,_0x743e8d=0x0;for(;_0x9bc989<this['e'];){const _0x578b6a=_0x1ce90d[_0x743e8d]||this['e'],_0x1b9e9c=+_0x578b6a>+this['e']?this['e']:_0x578b6a;_0x186653['push'](Interval['fromDateTimes'](_0x9bc989,_0x1b9e9c)),_0x9bc989=_0x1b9e9c,_0x743e8d+=0x1;}return _0x186653;}['splitBy'](_0xd51794){const _0x125b87=Duration['fromDurationLike'](_0xd51794);if(!this['isValid']||!_0x125b87['isValid']||0x0===_0x125b87['as']('milliseconds'))return[];let _0x3f13cd,{s:_0x4acef9}=this,_0x38b159=0x1;const _0x10786c=[];for(;_0x4acef9<this['e'];){const _0x3c0186=this['start']['plus'](_0x125b87['mapUnits'](_0x46369e=>_0x46369e*_0x38b159));_0x3f13cd=+_0x3c0186>+this['e']?this['e']:_0x3c0186,_0x10786c['push'](Interval['fromDateTimes'](_0x4acef9,_0x3f13cd)),_0x4acef9=_0x3f13cd,_0x38b159+=0x1;}return _0x10786c;}['divideEqually'](_0x2f7673){return this['isValid']?this['splitBy'](this['length']()/_0x2f7673)['slice'](0x0,_0x2f7673):[];}['overlaps'](_0x30f4ba){return this['e']>_0x30f4ba['s']&&this['s']<_0x30f4ba['e'];}['abutsStart'](_0x390b1){return!!this['isValid']&&+this['e']===+_0x390b1['s'];}['abutsEnd'](_0x4b0cf6){return!!this['isValid']&&+_0x4b0cf6['e']===+this['s'];}['engulfs'](_0x5d23f7){return!!this['isValid']&&(this['s']<=_0x5d23f7['s']&&this['e']>=_0x5d23f7['e']);}['equals'](_0x5c82bc){return!(!this['isValid']||!_0x5c82bc['isValid'])&&(this['s']['equals'](_0x5c82bc['s'])&&this['e']['equals'](_0x5c82bc['e']));}['intersection'](_0x10ff75){if(!this['isValid'])return this;const _0xd88bd3=this['s']>_0x10ff75['s']?this['s']:_0x10ff75['s'],_0x1c0ba7=this['e']<_0x10ff75['e']?this['e']:_0x10ff75['e'];return _0xd88bd3>=_0x1c0ba7?null:Interval['fromDateTimes'](_0xd88bd3,_0x1c0ba7);}['union'](_0x295e9a){if(!this['isValid'])return this;const _0x33c4d1=this['s']<_0x295e9a['s']?this['s']:_0x295e9a['s'],_0x30e6cd=this['e']>_0x295e9a['e']?this['e']:_0x295e9a['e'];return Interval['fromDateTimes'](_0x33c4d1,_0x30e6cd);}static['merge'](_0x56b38d){const [_0x5f4c68,_0x119ee1]=_0x56b38d['sort']((_0x280114,_0x317b41)=>_0x280114['s']-_0x317b41['s'])['reduce'](([_0x2f2dc5,_0xdd47b1],_0x514319)=>_0xdd47b1?_0xdd47b1['overlaps'](_0x514319)||_0xdd47b1['abutsStart'](_0x514319)?[_0x2f2dc5,_0xdd47b1['union'](_0x514319)]:[_0x2f2dc5['concat']([_0xdd47b1]),_0x514319]:[_0x2f2dc5,_0x514319],[[],null]);return _0x119ee1&&_0x5f4c68['push'](_0x119ee1),_0x5f4c68;}static['xor'](_0x2e1e56){let _0x2c943b=null,_0x15d9f4=0x0;const _0x170d8b=[],_0x3ce092=_0x2e1e56['map'](_0x5bb31e=>[{'time':_0x5bb31e['s'],'type':'s'},{'time':_0x5bb31e['e'],'type':'e'}]),_0x2637ee=Array['prototype']['concat'](..._0x3ce092)['sort']((_0x4ad0f7,_0xf7a88a)=>_0x4ad0f7['time']-_0xf7a88a['time']);for(const _0x2e017c of _0x2637ee)_0x15d9f4+='s'===_0x2e017c['type']?0x1:-0x1,0x1===_0x15d9f4?_0x2c943b=_0x2e017c['time']:(_0x2c943b&&+_0x2c943b!==+_0x2e017c['time']&&_0x170d8b['push'](Interval['fromDateTimes'](_0x2c943b,_0x2e017c['time'])),_0x2c943b=null);return Interval['merge'](_0x170d8b);}['difference'](..._0xb71b56){return Interval['xor']([this]['concat'](_0xb71b56))['map'](_0x3854b8=>this['intersection'](_0x3854b8))['filter'](_0x10080c=>_0x10080c&&!_0x10080c['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x408658;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'Interval\x20{\x20start:\x20'+this['s']['toISO']()+',\x20end:\x20'+this['e']['toISO']()+'\x20}':'Interval\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['toLocaleString'](_0x23d759=_0x2b2ed8,_0x37fbaf={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x37fbaf),_0x23d759)['formatInterval'](this):_0x408658;}['toISO'](_0x1bf687){return this['isValid']?this['s']['toISO'](_0x1bf687)+'/'+this['e']['toISO'](_0x1bf687):_0x408658;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x408658;}['toISOTime'](_0x38590e){return this['isValid']?this['s']['toISOTime'](_0x38590e)+'/'+this['e']['toISOTime'](_0x38590e):_0x408658;}['toFormat'](_0x335d50,{separator:_0x48ecd9='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x335d50)+_0x48ecd9+this['e']['toFormat'](_0x335d50):_0x408658;}['toDuration'](_0x2dda90,_0x1953fc){return this['isValid']?this['e']['diff'](this['s'],_0x2dda90,_0x1953fc):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x7bbb54){return Interval['fromDateTimes'](_0x7bbb54(this['s']),_0x7bbb54(this['e']));}}class _0x487de9{static['hasDST'](_0x56146d=Settings['defaultZone']){const _0x17f8a8=DateTime['now']()['setZone'](_0x56146d)['set']({'month':0xc});return!_0x56146d['isUniversal']&&_0x17f8a8['offset']!==_0x17f8a8['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x4b46a3){return _0x18c04d['isValidZone'](_0x4b46a3);}static['normalizeZone'](_0xe6c6d1){return _0x518da6(_0xe6c6d1,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0xaa1c16=null,locObj:_0xae13df=null}={}){return(_0xae13df||_0x554150['create'](_0xaa1c16))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x2994d7=null,locObj:_0x18a8cc=null}={}){return(_0x18a8cc||_0x554150['create'](_0x2994d7))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x3439ea=null,locObj:_0x452a84=null}={}){return(_0x452a84||_0x554150['create'](_0x3439ea))['getWeekendDays']()['slice']();}static['months'](_0x3641d9='long',{locale:_0x4ac06c=null,numberingSystem:_0x4618be=null,locObj:_0x1c0da9=null,outputCalendar:_0x44f987='gregory'}={}){return(_0x1c0da9||_0x554150['create'](_0x4ac06c,_0x4618be,_0x44f987))['months'](_0x3641d9);}static['monthsFormat'](_0x138352='long',{locale:_0xee8c0b=null,numberingSystem:_0x174d4d=null,locObj:_0x56f2b9=null,outputCalendar:_0x413d1f='gregory'}={}){return(_0x56f2b9||_0x554150['create'](_0xee8c0b,_0x174d4d,_0x413d1f))['months'](_0x138352,!0x0);}static['weekdays'](_0x72b178='long',{locale:_0x25f572=null,numberingSystem:_0x4de424=null,locObj:_0x4cbff0=null}={}){return(_0x4cbff0||_0x554150['create'](_0x25f572,_0x4de424,null))['weekdays'](_0x72b178);}static['weekdaysFormat'](_0xbacec6='long',{locale:_0xb2a6e5=null,numberingSystem:_0x56770c=null,locObj:_0xb2f542=null}={}){return(_0xb2f542||_0x554150['create'](_0xb2a6e5,_0x56770c,null))['weekdays'](_0xbacec6,!0x0);}static['meridiems']({locale:_0x202d1a=null}={}){return _0x554150['create'](_0x202d1a)['meridiems']();}static['eras'](_0x1c0be9='short',{locale:_0x3f53da=null}={}){return _0x554150['create'](_0x3f53da,null,'gregory')['eras'](_0x1c0be9);}static['features'](){return{'relative':_0x4b1ec4(),'localeWeek':_0x37fa68()};}}function _0x4cb19b(_0x42c209,_0x6ce8f1){const _0x594ebb=_0x3982a7=>_0x3982a7['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x4cf339=_0x594ebb(_0x6ce8f1)-_0x594ebb(_0x42c209);return Math['floor'](Duration['fromMillis'](_0x4cf339)['as']('days'));}function _0x252f3b(_0x5da1cf,_0x182793,_0x458c34,_0x3e1876){let [_0x249a39,_0xd64aad,_0x340af9,_0x2d838d]=function(_0x1c5e24,_0x489a83,_0x4581da){const _0x190950=[['years',(_0x360488,_0x2d1a57)=>_0x2d1a57['year']-_0x360488['year']],['quarters',(_0x1ecf18,_0x491c5d)=>_0x491c5d['quarter']-_0x1ecf18['quarter']+0x4*(_0x491c5d['year']-_0x1ecf18['year'])],['months',(_0x21bc96,_0xfd34c6)=>_0xfd34c6['month']-_0x21bc96['month']+0xc*(_0xfd34c6['year']-_0x21bc96['year'])],['weeks',(_0x5a48f4,_0x128f54)=>{const _0x5b0ecd=_0x4cb19b(_0x5a48f4,_0x128f54);return(_0x5b0ecd-_0x5b0ecd%0x7)/0x7;}],['days',_0x4cb19b]],_0xeeba36={},_0x2b6031=_0x1c5e24;let _0x42d29c,_0x2b7a7e;for(const [_0xeeb7d4,_0x4f423f]of _0x190950)_0x4581da['indexOf'](_0xeeb7d4)>=0x0&&(_0x42d29c=_0xeeb7d4,_0xeeba36[_0xeeb7d4]=_0x4f423f(_0x1c5e24,_0x489a83),_0x2b7a7e=_0x2b6031['plus'](_0xeeba36),_0x2b7a7e>_0x489a83?(_0xeeba36[_0xeeb7d4]--,(_0x1c5e24=_0x2b6031['plus'](_0xeeba36))>_0x489a83&&(_0x2b7a7e=_0x1c5e24,_0xeeba36[_0xeeb7d4]--,_0x1c5e24=_0x2b6031['plus'](_0xeeba36))):_0x1c5e24=_0x2b7a7e);return[_0x1c5e24,_0xeeba36,_0x2b7a7e,_0x42d29c];}(_0x5da1cf,_0x182793,_0x458c34);const _0x4ed6b3=_0x182793-_0x249a39,_0x4fb013=_0x458c34['filter'](_0x5c9be8=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x5c9be8)>=0x0);0x0===_0x4fb013['length']&&(_0x340af9<_0x182793&&(_0x340af9=_0x249a39['plus']({[_0x2d838d]:0x1})),_0x340af9!==_0x249a39&&(_0xd64aad[_0x2d838d]=(_0xd64aad[_0x2d838d]||0x0)+_0x4ed6b3/(_0x340af9-_0x249a39)));const _0x387f38=Duration['fromObject'](_0xd64aad,_0x3e1876);return _0x4fb013['length']>0x0?Duration['fromMillis'](_0x4ed6b3,_0x3e1876)['shiftTo'](..._0x4fb013)['plus'](_0x387f38):_0x387f38;}function _0x1ea0a0(_0xa28cd0,_0x3cd569=_0x5acb66=>_0x5acb66){return{'regex':_0xa28cd0,'deser':([_0x565e60])=>_0x3cd569(function(_0x4e2f37){let _0x88569d=parseInt(_0x4e2f37,0xa);if(isNaN(_0x88569d)){_0x88569d='';for(let _0x22cd2c=0x0;_0x22cd2c<_0x4e2f37['length'];_0x22cd2c++){const _0xd952eb=_0x4e2f37['charCodeAt'](_0x22cd2c);if(-0x1!==_0x4e2f37[_0x22cd2c]['search'](_0x4f3cf3['hanidec']))_0x88569d+=_0x32a890['indexOf'](_0x4e2f37[_0x22cd2c]);else for(const _0x2c7da5 in _0x294855){const [_0x55a475,_0x278d72]=_0x294855[_0x2c7da5];_0xd952eb>=_0x55a475&&_0xd952eb<=_0x278d72&&(_0x88569d+=_0xd952eb-_0x55a475);}}return parseInt(_0x88569d,0xa);}return _0x88569d;}(_0x565e60))};}const _0x3056e1='[\x20'+String['fromCharCode'](0xa0)+']',_0x451500=new RegExp(_0x3056e1,'g');function _0x22379c(_0x289576){return _0x289576['replace'](/\./g,'\x5c.?')['replace'](_0x451500,_0x3056e1);}function _0x3dd4ce(_0x34e9a3){return _0x34e9a3['replace'](/\./g,'')['replace'](_0x451500,'\x20')['toLowerCase']();}function _0x277d06(_0x360d46,_0x1cbe32){return null===_0x360d46?null:{'regex':RegExp(_0x360d46['map'](_0x22379c)['join']('|')),'deser':([_0x40bb68])=>_0x360d46['findIndex'](_0x327b92=>_0x3dd4ce(_0x40bb68)===_0x3dd4ce(_0x327b92))+_0x1cbe32};}function _0x52043c(_0x40ca9b,_0x4f5193){return{'regex':_0x40ca9b,'deser':([,_0x30fc70,_0x1958db])=>_0x3a0cd3(_0x30fc70,_0x1958db),'groups':_0x4f5193};}function _0x1bef80(_0x1197b2){return{'regex':_0x1197b2,'deser':([_0x47ef7e])=>_0x47ef7e};}function _0x359563(_0xf6d4d7){return _0xf6d4d7['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const _0x56ae4a={'year':{'2-digit':'yy','numeric':'yyyyy'},'month':{'numeric':'M','2-digit':'MM','short':'MMM','long':'MMMM'},'day':{'numeric':'d','2-digit':'dd'},'weekday':{'short':'EEE','long':'EEEE'},'dayperiod':'a','dayPeriod':'a','hour12':{'numeric':'h','2-digit':'hh'},'hour24':{'numeric':'H','2-digit':'HH'},'minute':{'numeric':'m','2-digit':'mm'},'second':{'numeric':'s','2-digit':'ss'},'timeZoneName':{'long':'ZZZZZ','short':'ZZZ'}};let _0xaa13b=null;function _0x49ead3(_0x16b7a5,_0x30a70e){return Array['prototype']['concat'](..._0x16b7a5['map'](t=>function(_0x4624d0,_0xfe52a1){if(_0x4624d0['literal'])return _0x4624d0;const _0xd08f81=_0x45f972(Formatter['macroTokenToFormatOpts'](_0x4624d0['val']),_0xfe52a1);return null==_0xd08f81||_0xd08f81['includes'](void 0x0)?_0x4624d0:_0xd08f81;}(t,_0x30a70e)));}class _0x2679d5{constructor(_0x1310fc,_0x6c518f){if(this['locale']=_0x1310fc,this['format']=_0x6c518f,this['tokens']=_0x49ead3(Formatter['parseFormat'](_0x6c518f),_0x1310fc),this['units']=this['tokens']['map'](t=>function(_0x5e2670,_0xdbc1e5){const _0x1475d2=_0x456eda(_0xdbc1e5),_0x2201fb=_0x456eda(_0xdbc1e5,'{2}'),_0x7b52ff=_0x456eda(_0xdbc1e5,'{3}'),_0x31bc6e=_0x456eda(_0xdbc1e5,'{4}'),_0x4b3d16=_0x456eda(_0xdbc1e5,'{6}'),_0x532859=_0x456eda(_0xdbc1e5,'{1,2}'),_0x142a1e=_0x456eda(_0xdbc1e5,'{1,3}'),_0x23db32=_0x456eda(_0xdbc1e5,'{1,6}'),_0x197384=_0x456eda(_0xdbc1e5,'{1,9}'),_0x5f0e6d=_0x456eda(_0xdbc1e5,'{2,4}'),_0x5e25b3=_0x456eda(_0xdbc1e5,'{4,6}'),_0x4ec327=t=>({'regex':RegExp(_0x359563(t['val'])),'deser':([_0x4a3c52])=>_0x4a3c52,'literal':!0x0}),_0x52d9c3=(t=>{if(_0x5e2670['literal'])return _0x4ec327(t);switch(t['val']){case'G':return _0x277d06(_0xdbc1e5['eras']('short'),0x0);case'GG':return _0x277d06(_0xdbc1e5['eras']('long'),0x0);case'y':return _0x1ea0a0(_0x23db32);case'yy':case'kk':return _0x1ea0a0(_0x5f0e6d,_0x4b6b58);case'yyyy':case'kkkk':return _0x1ea0a0(_0x31bc6e);case'yyyyy':return _0x1ea0a0(_0x5e25b3);case'yyyyyy':return _0x1ea0a0(_0x4b3d16);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return _0x1ea0a0(_0x532859);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return _0x1ea0a0(_0x2201fb);case'MMM':return _0x277d06(_0xdbc1e5['months']('short',!0x0),0x1);case'MMMM':return _0x277d06(_0xdbc1e5['months']('long',!0x0),0x1);case'LLL':return _0x277d06(_0xdbc1e5['months']('short',!0x1),0x1);case'LLLL':return _0x277d06(_0xdbc1e5['months']('long',!0x1),0x1);case'o':case'S':return _0x1ea0a0(_0x142a1e);case'ooo':case'SSS':return _0x1ea0a0(_0x7b52ff);case'u':return _0x1bef80(_0x197384);case'uu':return _0x1bef80(_0x532859);case'uuu':case'E':case'c':return _0x1ea0a0(_0x1475d2);case'a':return _0x277d06(_0xdbc1e5['meridiems'](),0x0);case'EEE':return _0x277d06(_0xdbc1e5['weekdays']('short',!0x1),0x1);case'EEEE':return _0x277d06(_0xdbc1e5['weekdays']('long',!0x1),0x1);case'ccc':return _0x277d06(_0xdbc1e5['weekdays']('short',!0x0),0x1);case'cccc':return _0x277d06(_0xdbc1e5['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return _0x52043c(new RegExp('([+-]'+_0x532859['source']+')(?::('+_0x2201fb['source']+'))?'),0x2);case'ZZZ':return _0x52043c(new RegExp('([+-]'+_0x532859['source']+')('+_0x2201fb['source']+')?'),0x2);case'z':return _0x1bef80(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x1bef80(/[^\S\n\r]/);default:return _0x4ec327(t);}})(_0x5e2670)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x52d9c3['token']=_0x5e2670,_0x52d9c3;}(t,_0x1310fc)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x3d78d8,_0x454af8]=['^'+(_0x418ee7=this['units'])['map'](_0x4bf93c=>_0x4bf93c['regex'])['reduce']((_0x339c07,_0x2938a7)=>_0x339c07+'('+_0x2938a7['source']+')','')+'$',_0x418ee7];this['regex']=RegExp(_0x3d78d8,'i'),this['handlers']=_0x454af8;}var _0x418ee7;}['explainFromTokens'](_0x37ea41){if(this['isValid']){const [_0x3353a6,_0x1d48f5]=function(_0x523aea,_0x318a85,_0x187856){const _0x3ce26e=_0x523aea['match'](_0x318a85);if(_0x3ce26e){const _0xf23cd7={};let _0x1bd290=0x1;for(const _0x4aeb45 in _0x187856)if(_0x2bc76f(_0x187856,_0x4aeb45)){const _0x732fb8=_0x187856[_0x4aeb45],_0x301694=_0x732fb8['groups']?_0x732fb8['groups']+0x1:0x1;!_0x732fb8['literal']&&_0x732fb8['token']&&(_0xf23cd7[_0x732fb8['token']['val'][0x0]]=_0x732fb8['deser'](_0x3ce26e['slice'](_0x1bd290,_0x1bd290+_0x301694))),_0x1bd290+=_0x301694;}return[_0x3ce26e,_0xf23cd7];}return[_0x3ce26e,{}];}(_0x37ea41,this['regex'],this['handlers']),[_0x42b8e1,_0x3a93e8,_0x3e7d97]=_0x1d48f5?function(_0xaad625){let _0x3533dc,_0x5d9efb=null;_0x19e0f6(_0xaad625['z'])||(_0x5d9efb=_0x18c04d['create'](_0xaad625['z'])),_0x19e0f6(_0xaad625['Z'])||(_0x5d9efb||(_0x5d9efb=new FixedOffsetZone(_0xaad625['Z'])),_0x3533dc=_0xaad625['Z']),_0x19e0f6(_0xaad625['q'])||(_0xaad625['M']=0x3*(_0xaad625['q']-0x1)+0x1),_0x19e0f6(_0xaad625['h'])||(_0xaad625['h']<0xc&&0x1===_0xaad625['a']?_0xaad625['h']+=0xc:0xc===_0xaad625['h']&&0x0===_0xaad625['a']&&(_0xaad625['h']=0x0)),0x0===_0xaad625['G']&&_0xaad625['y']&&(_0xaad625['y']=-_0xaad625['y']),_0x19e0f6(_0xaad625['u'])||(_0xaad625['S']=_0x14d390(_0xaad625['u']));const _0x1b01a9=Object['keys'](_0xaad625)['reduce']((_0x1ef94e,_0x11bc32)=>{const _0x50a1ec=(_0x3e62b4=>{switch(_0x3e62b4){case'S':return'millisecond';case's':return'second';case'm':return'minute';case'h':case'H':return'hour';case'd':return'day';case'o':return'ordinal';case'L':case'M':return'month';case'y':return'year';case'E':case'c':return'weekday';case'W':return'weekNumber';case'k':return'weekYear';case'q':return'quarter';default:return null;}})(_0x11bc32);return _0x50a1ec&&(_0x1ef94e[_0x50a1ec]=_0xaad625[_0x11bc32]),_0x1ef94e;},{});return[_0x1b01a9,_0x5d9efb,_0x3533dc];}(_0x1d48f5):[null,null,void 0x0];if(_0x2bc76f(_0x1d48f5,'a')&&_0x2bc76f(_0x1d48f5,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x37ea41,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x3353a6,'matches':_0x1d48f5,'result':_0x42b8e1,'zone':_0x3a93e8,'specificOffset':_0x3e7d97};}return{'input':_0x37ea41,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x3fe1db(_0x58fda9,_0x4261bf,_0xd1f86e){return new _0x2679d5(_0x58fda9,_0xd1f86e)['explainFromTokens'](_0x4261bf);}function _0x45f972(_0x4fe0e8,_0xabaf4d){if(!_0x4fe0e8)return null;const _0x618e49=Formatter['create'](_0xabaf4d,_0x4fe0e8)['dtFormatter']((_0xaa13b||(_0xaa13b=DateTime['fromMillis'](0x16a2e5618e3)),_0xaa13b)),_0x29cd3e=_0x618e49['formatToParts'](),_0xb22ed7=_0x618e49['resolvedOptions']();return _0x29cd3e['map'](_0x59c583=>function(_0x4f130a,_0x3149f7,_0x2b63f0){const {type:_0x4c61ec,value:_0x138729}=_0x4f130a;if('literal'===_0x4c61ec){const _0x504e46=/^\s+$/['test'](_0x138729);return{'literal':!_0x504e46,'val':_0x504e46?'\x20':_0x138729};}const _0x5b3e0e=_0x3149f7[_0x4c61ec];let _0x3a393b=_0x4c61ec;'hour'===_0x4c61ec&&(_0x3a393b=null!=_0x3149f7['hour12']?_0x3149f7['hour12']?'hour12':'hour24':null!=_0x3149f7['hourCycle']?'h11'===_0x3149f7['hourCycle']||'h12'===_0x3149f7['hourCycle']?'hour12':'hour24':_0x2b63f0['hour12']?'hour12':'hour24');let _0x272f3e=_0x56ae4a[_0x3a393b];if('object'==typeof _0x272f3e&&(_0x272f3e=_0x272f3e[_0x5b3e0e]),_0x272f3e)return{'literal':!0x1,'val':_0x272f3e};}(_0x59c583,_0x4fe0e8,_0xb22ed7));}const _0x158447='Invalid\x20DateTime',_0x67211e=0x1eb208c2dc0000;function _0x4056b2(_0x606405){return new _0x1767d0('unsupported\x20zone','the\x20zone\x20\x22'+_0x606405['name']+'\x22\x20is\x20not\x20supported');}function _0x625c2f(_0x59ceb7){return null===_0x59ceb7['weekData']&&(_0x59ceb7['weekData']=_0x609671(_0x59ceb7['c'])),_0x59ceb7['weekData'];}function _0x4f8801(_0x16ccf6){return null===_0x16ccf6['localWeekData']&&(_0x16ccf6['localWeekData']=_0x609671(_0x16ccf6['c'],_0x16ccf6['loc']['getMinDaysInFirstWeek'](),_0x16ccf6['loc']['getStartOfWeek']())),_0x16ccf6['localWeekData'];}function _0x350c81(_0x55633c,_0x54a010){const _0x31631a={'ts':_0x55633c['ts'],'zone':_0x55633c['zone'],'c':_0x55633c['c'],'o':_0x55633c['o'],'loc':_0x55633c['loc'],'invalid':_0x55633c['invalid']};return new DateTime({..._0x31631a,..._0x54a010,'old':_0x31631a});}function _0x16f28e(_0x5219ca,_0x443a2e,_0x319e00){let _0x2f3407=_0x5219ca-0x3c*_0x443a2e*0x3e8;const _0x2cbc56=_0x319e00['offset'](_0x2f3407);if(_0x443a2e===_0x2cbc56)return[_0x2f3407,_0x443a2e];_0x2f3407-=0x3c*(_0x2cbc56-_0x443a2e)*0x3e8;const _0x107f20=_0x319e00['offset'](_0x2f3407);return _0x2cbc56===_0x107f20?[_0x2f3407,_0x2cbc56]:[_0x5219ca-0x3c*Math['min'](_0x2cbc56,_0x107f20)*0x3e8,Math['max'](_0x2cbc56,_0x107f20)];}function _0x292dec(_0xbd9bc7,_0x688bc){const _0xa200ef=new Date(_0xbd9bc7+=0x3c*_0x688bc*0x3e8);return{'year':_0xa200ef['getUTCFullYear'](),'month':_0xa200ef['getUTCMonth']()+0x1,'day':_0xa200ef['getUTCDate'](),'hour':_0xa200ef['getUTCHours'](),'minute':_0xa200ef['getUTCMinutes'](),'second':_0xa200ef['getUTCSeconds'](),'millisecond':_0xa200ef['getUTCMilliseconds']()};}function _0x492432(_0x56fca5,_0x297923,_0x3696f6){return _0x16f28e(_0x1c0b6b(_0x56fca5),_0x297923,_0x3696f6);}function _0x3a178b(_0x5cefb3,_0x38b4ca){const _0x5ec8f0=_0x5cefb3['o'],_0x3d7ce8=_0x5cefb3['c']['year']+Math['trunc'](_0x38b4ca['years']),_0x6b8025=_0x5cefb3['c']['month']+Math['trunc'](_0x38b4ca['months'])+0x3*Math['trunc'](_0x38b4ca['quarters']),_0x3eccef={..._0x5cefb3['c'],'year':_0x3d7ce8,'month':_0x6b8025,'day':Math['min'](_0x5cefb3['c']['day'],_0x138121(_0x3d7ce8,_0x6b8025))+Math['trunc'](_0x38b4ca['days'])+0x7*Math['trunc'](_0x38b4ca['weeks'])},_0x234c55=Duration['fromObject']({'years':_0x38b4ca['years']-Math['trunc'](_0x38b4ca['years']),'quarters':_0x38b4ca['quarters']-Math['trunc'](_0x38b4ca['quarters']),'months':_0x38b4ca['months']-Math['trunc'](_0x38b4ca['months']),'weeks':_0x38b4ca['weeks']-Math['trunc'](_0x38b4ca['weeks']),'days':_0x38b4ca['days']-Math['trunc'](_0x38b4ca['days']),'hours':_0x38b4ca['hours'],'minutes':_0x38b4ca['minutes'],'seconds':_0x38b4ca['seconds'],'milliseconds':_0x38b4ca['milliseconds']})['as']('milliseconds'),_0x321be0=_0x1c0b6b(_0x3eccef);let [_0x2843a7,_0x48bbff]=_0x16f28e(_0x321be0,_0x5ec8f0,_0x5cefb3['zone']);return 0x0!==_0x234c55&&(_0x2843a7+=_0x234c55,_0x48bbff=_0x5cefb3['zone']['offset'](_0x2843a7)),{'ts':_0x2843a7,'o':_0x48bbff};}function _0x25ca0f(_0x1a1d44,_0x51dd06,_0x5d2119,_0x3ef2f5,_0x12feba,_0x26c4f7){const {setZone:_0x4a435d,zone:_0x44d632}=_0x5d2119;if(_0x1a1d44&&0x0!==Object['keys'](_0x1a1d44)['length']||_0x51dd06){const _0x2af132=_0x51dd06||_0x44d632,_0x1d9d21=DateTime['fromObject'](_0x1a1d44,{..._0x5d2119,'zone':_0x2af132,'specificOffset':_0x26c4f7});return _0x4a435d?_0x1d9d21:_0x1d9d21['setZone'](_0x44d632);}return DateTime['invalid'](new _0x1767d0('unparsable','the\x20input\x20\x22'+_0x12feba+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x3ef2f5));}function _0x52c18a(_0x175913,_0x43bd7a,_0x321ae5=!0x0){return _0x175913['isValid']?Formatter['create'](_0x554150['create']('en-US'),{'allowZ':_0x321ae5,'forceSimple':!0x0})['formatDateTimeFromString'](_0x175913,_0x43bd7a):null;}function _0x1c203e(_0x4e14eb,_0x3bfabc){const _0x6d3710=_0x4e14eb['c']['year']>0x270f||_0x4e14eb['c']['year']<0x0;let _0x36b4e7='';return _0x6d3710&&_0x4e14eb['c']['year']>=0x0&&(_0x36b4e7+='+'),_0x36b4e7+=_0x193144(_0x4e14eb['c']['year'],_0x6d3710?0x6:0x4),_0x3bfabc?(_0x36b4e7+='-',_0x36b4e7+=_0x193144(_0x4e14eb['c']['month']),_0x36b4e7+='-',_0x36b4e7+=_0x193144(_0x4e14eb['c']['day'])):(_0x36b4e7+=_0x193144(_0x4e14eb['c']['month']),_0x36b4e7+=_0x193144(_0x4e14eb['c']['day'])),_0x36b4e7;}function _0x4897ce(_0x57d1db,_0x3ad3ce,_0x30a375,_0x16a35e,_0x121e94,_0x430b67){let _0x40a78e=_0x193144(_0x57d1db['c']['hour']);return _0x3ad3ce?(_0x40a78e+=':',_0x40a78e+=_0x193144(_0x57d1db['c']['minute']),0x0===_0x57d1db['c']['millisecond']&&0x0===_0x57d1db['c']['second']&&_0x30a375||(_0x40a78e+=':')):_0x40a78e+=_0x193144(_0x57d1db['c']['minute']),0x0===_0x57d1db['c']['millisecond']&&0x0===_0x57d1db['c']['second']&&_0x30a375||(_0x40a78e+=_0x193144(_0x57d1db['c']['second']),0x0===_0x57d1db['c']['millisecond']&&_0x16a35e||(_0x40a78e+='.',_0x40a78e+=_0x193144(_0x57d1db['c']['millisecond'],0x3))),_0x121e94&&(_0x57d1db['isOffsetFixed']&&0x0===_0x57d1db['offset']&&!_0x430b67?_0x40a78e+='Z':_0x57d1db['o']<0x0?(_0x40a78e+='-',_0x40a78e+=_0x193144(Math['trunc'](-_0x57d1db['o']/0x3c)),_0x40a78e+=':',_0x40a78e+=_0x193144(Math['trunc'](-_0x57d1db['o']%0x3c))):(_0x40a78e+='+',_0x40a78e+=_0x193144(Math['trunc'](_0x57d1db['o']/0x3c)),_0x40a78e+=':',_0x40a78e+=_0x193144(Math['trunc'](_0x57d1db['o']%0x3c)))),_0x430b67&&(_0x40a78e+='['+_0x57d1db['zone']['ianaName']+']'),_0x40a78e;}const _0x39fc14={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x3887b9={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x4ad38a={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x7f3a40=['year','month','day','hour','minute','second','millisecond'],_0x253753=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],_0x2f7fad=['year','ordinal','hour','minute','second','millisecond'];function _0x4ec731(_0x27ade1){switch(_0x27ade1['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x5360a6){const _0x544dce={'year':'year','years':'year','month':'month','months':'month','day':'day','days':'day','hour':'hour','hours':'hour','minute':'minute','minutes':'minute','quarter':'quarter','quarters':'quarter','second':'second','seconds':'second','millisecond':'millisecond','milliseconds':'millisecond','weekday':'weekday','weekdays':'weekday','weeknumber':'weekNumber','weeksnumber':'weekNumber','weeknumbers':'weekNumber','weekyear':'weekYear','weekyears':'weekYear','ordinal':'ordinal'}[_0x5360a6['toLowerCase']()];if(!_0x544dce)throw new InvalidUnitError(_0x5360a6);return _0x544dce;}(_0x27ade1);}}function _0x211c35(_0x5dc7a5,_0x219d8a){const _0x26466b=_0x518da6(_0x219d8a['zone'],Settings['defaultZone']);if(!_0x26466b['isValid'])return DateTime['invalid'](_0x4056b2(_0x26466b));const _0x1de2e3=_0x554150['fromObject'](_0x219d8a);let _0x8b14e9,_0x3e8dac;if(_0x19e0f6(_0x5dc7a5['year']))_0x8b14e9=Settings['now']();else{for(const _0x263edb of _0x7f3a40)_0x19e0f6(_0x5dc7a5[_0x263edb])&&(_0x5dc7a5[_0x263edb]=_0x39fc14[_0x263edb]);const _0x193e9b=_0x2a7bd5(_0x5dc7a5)||_0x5a1512(_0x5dc7a5);if(_0x193e9b)return DateTime['invalid'](_0x193e9b);const _0x126f8d=function(_0x146e5b){if(void 0x0===_0x3929d8&&(_0x3929d8=Settings['now']()),'iana'!==_0x146e5b['type'])return _0x146e5b['offset'](_0x3929d8);const _0xa9f67b=_0x146e5b['name'];let _0x2430d2=_0x1ff5f3['get'](_0xa9f67b);return void 0x0===_0x2430d2&&(_0x2430d2=_0x146e5b['offset'](_0x3929d8),_0x1ff5f3['set'](_0xa9f67b,_0x2430d2)),_0x2430d2;}(_0x26466b);[_0x8b14e9,_0x3e8dac]=_0x492432(_0x5dc7a5,_0x126f8d,_0x26466b);}return new DateTime({'ts':_0x8b14e9,'zone':_0x26466b,'loc':_0x1de2e3,'o':_0x3e8dac});}function _0x2bc4c1(_0x10498c,_0x1af72f,_0x223f0e){const _0x38527a=!!_0x19e0f6(_0x223f0e['round'])||_0x223f0e['round'],_0x116710=(_0x2eb719,_0x17db51)=>{return _0x2eb719=_0x392d47(_0x2eb719,_0x38527a||_0x223f0e['calendary']?0x0:0x2,!0x0),_0x1af72f['loc']['clone'](_0x223f0e)['relFormatter'](_0x223f0e)['format'](_0x2eb719,_0x17db51);},_0x7fed08=_0x4d8c7f=>_0x223f0e['calendary']?_0x1af72f['hasSame'](_0x10498c,_0x4d8c7f)?0x0:_0x1af72f['startOf'](_0x4d8c7f)['diff'](_0x10498c['startOf'](_0x4d8c7f),_0x4d8c7f)['get'](_0x4d8c7f):_0x1af72f['diff'](_0x10498c,_0x4d8c7f)['get'](_0x4d8c7f);if(_0x223f0e['unit'])return _0x116710(_0x7fed08(_0x223f0e['unit']),_0x223f0e['unit']);for(const _0x11d7ba of _0x223f0e['units']){const _0xbe4dff=_0x7fed08(_0x11d7ba);if(Math['abs'](_0xbe4dff)>=0x1)return _0x116710(_0xbe4dff,_0x11d7ba);}return _0x116710(_0x10498c>_0x1af72f?-0x0:0x0,_0x223f0e['units'][_0x223f0e['units']['length']-0x1]);}function _0x3c85ff(_0x4d171a){let _0x3256c7,_0x46bc29={};return _0x4d171a['length']>0x0&&'object'==typeof _0x4d171a[_0x4d171a['length']-0x1]?(_0x46bc29=_0x4d171a[_0x4d171a['length']-0x1],_0x3256c7=Array['from'](_0x4d171a)['slice'](0x0,_0x4d171a['length']-0x1)):_0x3256c7=Array['from'](_0x4d171a),[_0x46bc29,_0x3256c7];}let _0x3929d8;const _0x1ff5f3=new Map();class DateTime{constructor(_0xf16fec){const _0x4a10f3=_0xf16fec['zone']||Settings['defaultZone'];let _0x5f006d=_0xf16fec['invalid']||(Number['isNaN'](_0xf16fec['ts'])?new _0x1767d0('invalid\x20input'):null)||(_0x4a10f3['isValid']?null:_0x4056b2(_0x4a10f3));this['ts']=_0x19e0f6(_0xf16fec['ts'])?Settings['now']():_0xf16fec['ts'];let _0x50c461=null,_0x1e4955=null;if(!_0x5f006d){if(_0xf16fec['old']&&_0xf16fec['old']['ts']===this['ts']&&_0xf16fec['old']['zone']['equals'](_0x4a10f3))[_0x50c461,_0x1e4955]=[_0xf16fec['old']['c'],_0xf16fec['old']['o']];else{const _0x250d5c=_0x41a992(_0xf16fec['o'])&&!_0xf16fec['old']?_0xf16fec['o']:_0x4a10f3['offset'](this['ts']);_0x50c461=_0x292dec(this['ts'],_0x250d5c),_0x5f006d=Number['isNaN'](_0x50c461['year'])?new _0x1767d0('invalid\x20input'):null,_0x50c461=_0x5f006d?null:_0x50c461,_0x1e4955=_0x5f006d?null:_0x250d5c;}}this['_zone']=_0x4a10f3,this['loc']=_0xf16fec['loc']||_0x554150['create'](),this['invalid']=_0x5f006d,this['weekData']=null,this['localWeekData']=null,this['c']=_0x50c461,this['o']=_0x1e4955,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x5c4cff,_0x25dc21]=_0x3c85ff(arguments),[_0x55d1f4,_0x5ce558,_0x5a41b9,_0x4c182c,_0x1b6fda,_0x54d2fc,_0x3084e9]=_0x25dc21;return _0x211c35({'year':_0x55d1f4,'month':_0x5ce558,'day':_0x5a41b9,'hour':_0x4c182c,'minute':_0x1b6fda,'second':_0x54d2fc,'millisecond':_0x3084e9},_0x5c4cff);}static['utc'](){const [_0x38a84f,_0x505971]=_0x3c85ff(arguments),[_0x4e369a,_0x30a33e,_0x707f72,_0x2bfe20,_0x72e84a,_0x4f803f,_0x2ca189]=_0x505971;return _0x38a84f['zone']=FixedOffsetZone['utcInstance'],_0x211c35({'year':_0x4e369a,'month':_0x30a33e,'day':_0x707f72,'hour':_0x2bfe20,'minute':_0x72e84a,'second':_0x4f803f,'millisecond':_0x2ca189},_0x38a84f);}static['fromJSDate'](_0x70ec93,_0x225860={}){const _0x56dfdc=(_0x16bc80=_0x70ec93,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x16bc80)?_0x70ec93['valueOf']():NaN);var _0x16bc80;if(Number['isNaN'](_0x56dfdc))return DateTime['invalid']('invalid\x20input');const _0x289092=_0x518da6(_0x225860['zone'],Settings['defaultZone']);return _0x289092['isValid']?new DateTime({'ts':_0x56dfdc,'zone':_0x289092,'loc':_0x554150['fromObject'](_0x225860)}):DateTime['invalid'](_0x4056b2(_0x289092));}static['fromMillis'](_0x274395,_0x3bc503={}){if(_0x41a992(_0x274395))return _0x274395<-_0x67211e||_0x274395>_0x67211e?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x274395,'zone':_0x518da6(_0x3bc503['zone'],Settings['defaultZone']),'loc':_0x554150['fromObject'](_0x3bc503)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x274395+'\x20with\x20value\x20'+_0x274395);}static['fromSeconds'](_0x22cac5,_0x2dd223={}){if(_0x41a992(_0x22cac5))return new DateTime({'ts':0x3e8*_0x22cac5,'zone':_0x518da6(_0x2dd223['zone'],Settings['defaultZone']),'loc':_0x554150['fromObject'](_0x2dd223)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x1ad968,_0x58890={}){_0x1ad968=_0x1ad968||{};const _0x5a7bf1=_0x518da6(_0x58890['zone'],Settings['defaultZone']);if(!_0x5a7bf1['isValid'])return DateTime['invalid'](_0x4056b2(_0x5a7bf1));const _0x42085d=_0x554150['fromObject'](_0x58890),_0x56fa2d=_0x1c0039(_0x1ad968,_0x4ec731),{minDaysInFirstWeek:_0x1d6d24,startOfWeek:_0x5daf96}=_0x3ccfd6(_0x56fa2d,_0x42085d),_0x234ff9=Settings['now'](),_0x4a4d73=_0x19e0f6(_0x58890['specificOffset'])?_0x5a7bf1['offset'](_0x234ff9):_0x58890['specificOffset'],_0x5a9904=!_0x19e0f6(_0x56fa2d['ordinal']),_0x17788d=!_0x19e0f6(_0x56fa2d['year']),_0x520878=!_0x19e0f6(_0x56fa2d['month'])||!_0x19e0f6(_0x56fa2d['day']),_0x47f785=_0x17788d||_0x520878,_0x10db33=_0x56fa2d['weekYear']||_0x56fa2d['weekNumber'];if((_0x47f785||_0x5a9904)&&_0x10db33)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x520878&&_0x5a9904)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x11ee7a=_0x10db33||_0x56fa2d['weekday']&&!_0x47f785;let _0x39100b,_0x3da6c9,_0x44605d=_0x292dec(_0x234ff9,_0x4a4d73);_0x11ee7a?(_0x39100b=_0x253753,_0x3da6c9=_0x3887b9,_0x44605d=_0x609671(_0x44605d,_0x1d6d24,_0x5daf96)):_0x5a9904?(_0x39100b=_0x2f7fad,_0x3da6c9=_0x4ad38a,_0x44605d=_0x367fba(_0x44605d)):(_0x39100b=_0x7f3a40,_0x3da6c9=_0x39fc14);let _0x95bb49=!0x1;for(const _0x1f67b7 of _0x39100b){_0x19e0f6(_0x56fa2d[_0x1f67b7])?_0x56fa2d[_0x1f67b7]=_0x95bb49?_0x3da6c9[_0x1f67b7]:_0x44605d[_0x1f67b7]:_0x95bb49=!0x0;}const _0x5ee432=_0x11ee7a?function(_0x3d1ff0,_0x519322=0x4,_0x1005c0=0x1){const _0x4591e2=_0xc7ae28(_0x3d1ff0['weekYear']),_0x2bc77c=_0x227e0c(_0x3d1ff0['weekNumber'],0x1,_0x978495(_0x3d1ff0['weekYear'],_0x519322,_0x1005c0)),_0x3ae294=_0x227e0c(_0x3d1ff0['weekday'],0x1,0x7);return _0x4591e2?_0x2bc77c?!_0x3ae294&&_0x4f12a0('weekday',_0x3d1ff0['weekday']):_0x4f12a0('week',_0x3d1ff0['weekNumber']):_0x4f12a0('weekYear',_0x3d1ff0['weekYear']);}(_0x56fa2d,_0x1d6d24,_0x5daf96):_0x5a9904?function(_0x306fef){const _0xed9d74=_0xc7ae28(_0x306fef['year']),_0xfe6f28=_0x227e0c(_0x306fef['ordinal'],0x1,_0x2d372d(_0x306fef['year']));return _0xed9d74?!_0xfe6f28&&_0x4f12a0('ordinal',_0x306fef['ordinal']):_0x4f12a0('year',_0x306fef['year']);}(_0x56fa2d):_0x2a7bd5(_0x56fa2d),_0x35f920=_0x5ee432||_0x5a1512(_0x56fa2d);if(_0x35f920)return DateTime['invalid'](_0x35f920);const _0x1473f6=_0x11ee7a?_0x3cb9c2(_0x56fa2d,_0x1d6d24,_0x5daf96):_0x5a9904?_0x4ef63d(_0x56fa2d):_0x56fa2d,[_0x58ca82,_0x58682a]=_0x492432(_0x1473f6,_0x4a4d73,_0x5a7bf1),_0x485e98=new DateTime({'ts':_0x58ca82,'zone':_0x5a7bf1,'o':_0x58682a,'loc':_0x42085d});return _0x56fa2d['weekday']&&_0x47f785&&_0x1ad968['weekday']!==_0x485e98['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x56fa2d['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x485e98['toISO']()):_0x485e98['isValid']?_0x485e98:DateTime['invalid'](_0x485e98['invalid']);}static['fromISO'](_0xf4b253,_0x3f7b0d={}){const [_0x563dc9,_0x5107ca]=function(_0x2ea943){return _0x1140f6(_0x2ea943,[_0x18475f,_0x2f5045],[_0x408119,_0x49d946],[_0x15a6fa,_0x9bee1],[_0xd0a925,_0x8736d8]);}(_0xf4b253);return _0x25ca0f(_0x563dc9,_0x5107ca,_0x3f7b0d,'ISO\x208601',_0xf4b253);}static['fromRFC2822'](_0x5c791a,_0x3a545d={}){const [_0x2af7f7,_0x2e8335]=function(_0x302695){return _0x1140f6(function(_0x4b80a2){return _0x4b80a2['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x302695),[_0x2dbf3a,_0x2aa3ed]);}(_0x5c791a);return _0x25ca0f(_0x2af7f7,_0x2e8335,_0x3a545d,'RFC\x202822',_0x5c791a);}static['fromHTTP'](_0x208237,_0x580d2a={}){const [_0x491daa,_0x232585]=function(_0xdefed0){return _0x1140f6(_0xdefed0,[_0x5103dd,_0x19d507],[_0x3179af,_0x19d507],[_0x29d5f4,_0x1ce166]);}(_0x208237);return _0x25ca0f(_0x491daa,_0x232585,_0x580d2a,'HTTP',_0x580d2a);}static['fromFormat'](_0x157178,_0x53655d,_0x440acb={}){if(_0x19e0f6(_0x157178)||_0x19e0f6(_0x53655d))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0xd6d0cf=null,numberingSystem:_0x626f5d=null}=_0x440acb,_0x3c9d0e=_0x554150['fromOpts']({'locale':_0xd6d0cf,'numberingSystem':_0x626f5d,'defaultToEN':!0x0}),[_0x2efe8d,_0x5a9c59,_0x5bb239,_0x3d3e4d]=function(_0x5bf953,_0x30f064,_0x371c33){const {result:_0x3f996e,zone:_0x450897,specificOffset:_0x380a7c,invalidReason:_0x2eb2c1}=_0x3fe1db(_0x5bf953,_0x30f064,_0x371c33);return[_0x3f996e,_0x450897,_0x380a7c,_0x2eb2c1];}(_0x3c9d0e,_0x157178,_0x53655d);return _0x3d3e4d?DateTime['invalid'](_0x3d3e4d):_0x25ca0f(_0x2efe8d,_0x5a9c59,_0x440acb,'format\x20'+_0x53655d,_0x157178,_0x5bb239);}static['fromString'](_0x546e6b,_0x3f51f1,_0x59f50d={}){return DateTime['fromFormat'](_0x546e6b,_0x3f51f1,_0x59f50d);}static['fromSQL'](_0x2064c6,_0x58feb0={}){const [_0x28af19,_0x505fbe]=function(_0x19e647){return _0x1140f6(_0x19e647,[_0xbf6ff0,_0x2f5045],[_0x956cc0,_0x17a5d0]);}(_0x2064c6);return _0x25ca0f(_0x28af19,_0x505fbe,_0x58feb0,'SQL',_0x2064c6);}static['invalid'](_0x53e6c3,_0x179d77=null){if(!_0x53e6c3)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x220a5a=_0x53e6c3 instanceof _0x1767d0?_0x53e6c3:new _0x1767d0(_0x53e6c3,_0x179d77);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x220a5a);return new DateTime({'invalid':_0x220a5a});}static['isDateTime'](_0x371fcc){return _0x371fcc&&_0x371fcc['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x567b79,_0xa69f7={}){const _0x5e78cb=_0x45f972(_0x567b79,_0x554150['fromObject'](_0xa69f7));return _0x5e78cb?_0x5e78cb['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x5e8191,_0x228042={}){return _0x49ead3(Formatter['parseFormat'](_0x5e8191),_0x554150['fromObject'](_0x228042))['map'](t=>t['val'])['join']('');}static['resetCache'](){_0x3929d8=void 0x0,_0x1ff5f3['clear']();}['get'](_0x14d896){return this[_0x14d896];}get['isValid'](){return null===this['invalid'];}get['invalidReason'](){return this['invalid']?this['invalid']['reason']:null;}get['invalidExplanation'](){return this['invalid']?this['invalid']['explanation']:null;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}get['outputCalendar'](){return this['isValid']?this['loc']['outputCalendar']:null;}get['zone'](){return this['_zone'];}get['zoneName'](){return this['isValid']?this['zone']['name']:null;}get['year'](){return this['isValid']?this['c']['year']:NaN;}get['quarter'](){return this['isValid']?Math['ceil'](this['c']['month']/0x3):NaN;}get['month'](){return this['isValid']?this['c']['month']:NaN;}get['day'](){return this['isValid']?this['c']['day']:NaN;}get['hour'](){return this['isValid']?this['c']['hour']:NaN;}get['minute'](){return this['isValid']?this['c']['minute']:NaN;}get['second'](){return this['isValid']?this['c']['second']:NaN;}get['millisecond'](){return this['isValid']?this['c']['millisecond']:NaN;}get['weekYear'](){return this['isValid']?_0x625c2f(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?_0x625c2f(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?_0x625c2f(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?_0x4f8801(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?_0x4f8801(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?_0x4f8801(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x367fba(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x487de9['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x487de9['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x487de9['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x487de9['weekdays']('long',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['offset'](){return this['isValid']?+this['o']:NaN;}get['offsetNameShort'](){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'short','locale':this['locale']}):null;}get['offsetNameLong'](){return this['isValid']?this['zone']['offsetName'](this['ts'],{'format':'long','locale':this['locale']}):null;}get['isOffsetFixed'](){return this['isValid']?this['zone']['isUniversal']:null;}get['isInDST'](){return!this['isOffsetFixed']&&(this['offset']>this['set']({'month':0x1,'day':0x1})['offset']||this['offset']>this['set']({'month':0x5})['offset']);}['getPossibleOffsets'](){if(!this['isValid']||this['isOffsetFixed'])return[this];const _0x535430=0x5265c00,_0x587c82=0xea60,_0x2ab562=_0x1c0b6b(this['c']),_0x2b2f3c=this['zone']['offset'](_0x2ab562-_0x535430),_0x58b8c5=this['zone']['offset'](_0x2ab562+_0x535430),_0x540ed4=this['zone']['offset'](_0x2ab562-_0x2b2f3c*_0x587c82),_0x30f557=this['zone']['offset'](_0x2ab562-_0x58b8c5*_0x587c82);if(_0x540ed4===_0x30f557)return[this];const _0x19a7e8=_0x2ab562-_0x540ed4*_0x587c82,_0x50ea05=_0x2ab562-_0x30f557*_0x587c82,_0x36eced=_0x292dec(_0x19a7e8,_0x540ed4),_0x5bae2=_0x292dec(_0x50ea05,_0x30f557);return _0x36eced['hour']===_0x5bae2['hour']&&_0x36eced['minute']===_0x5bae2['minute']&&_0x36eced['second']===_0x5bae2['second']&&_0x36eced['millisecond']===_0x5bae2['millisecond']?[_0x350c81(this,{'ts':_0x19a7e8}),_0x350c81(this,{'ts':_0x50ea05})]:[this];}get['isInLeapYear'](){return _0x251b88(this['year']);}get['daysInMonth'](){return _0x138121(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x2d372d(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x978495(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x978495(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x47e2d8={}){const {locale:_0x1809e7,numberingSystem:_0x4ccbda,calendar:_0x328920}=Formatter['create'](this['loc']['clone'](_0x47e2d8),_0x47e2d8)['resolvedOptions'](this);return{'locale':_0x1809e7,'numberingSystem':_0x4ccbda,'outputCalendar':_0x328920};}['toUTC'](_0x15307c=0x0,_0x1581cd={}){return this['setZone'](FixedOffsetZone['instance'](_0x15307c),_0x1581cd);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x277f92,{keepLocalTime:_0x59d1ce=!0x1,keepCalendarTime:_0x26ac89=!0x1}={}){if((_0x277f92=_0x518da6(_0x277f92,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x277f92['isValid']){let _0x3f6299=this['ts'];if(_0x59d1ce||_0x26ac89){const _0x12eae5=_0x277f92['offset'](this['ts']),_0x47e804=this['toObject']();[_0x3f6299]=_0x492432(_0x47e804,_0x12eae5,_0x277f92);}return _0x350c81(this,{'ts':_0x3f6299,'zone':_0x277f92});}return DateTime['invalid'](_0x4056b2(_0x277f92));}['reconfigure']({locale:_0x52d47a,numberingSystem:_0xc4c3ad,outputCalendar:_0x2ae6f1}={}){return _0x350c81(this,{'loc':this['loc']['clone']({'locale':_0x52d47a,'numberingSystem':_0xc4c3ad,'outputCalendar':_0x2ae6f1})});}['setLocale'](_0x1a6408){return this['reconfigure']({'locale':_0x1a6408});}['set'](_0x128063){if(!this['isValid'])return this;const _0x17d8aa=_0x1c0039(_0x128063,_0x4ec731),{minDaysInFirstWeek:_0x227ce7,startOfWeek:_0x5566fd}=_0x3ccfd6(_0x17d8aa,this['loc']),_0x3fc28e=!_0x19e0f6(_0x17d8aa['weekYear'])||!_0x19e0f6(_0x17d8aa['weekNumber'])||!_0x19e0f6(_0x17d8aa['weekday']),_0x2f8132=!_0x19e0f6(_0x17d8aa['ordinal']),_0x6bbcc0=!_0x19e0f6(_0x17d8aa['year']),_0x4b07f2=!_0x19e0f6(_0x17d8aa['month'])||!_0x19e0f6(_0x17d8aa['day']),_0x327bd6=_0x6bbcc0||_0x4b07f2,_0x3f3b02=_0x17d8aa['weekYear']||_0x17d8aa['weekNumber'];if((_0x327bd6||_0x2f8132)&&_0x3f3b02)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x4b07f2&&_0x2f8132)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x60ff06;_0x3fc28e?_0x60ff06=_0x3cb9c2({..._0x609671(this['c'],_0x227ce7,_0x5566fd),..._0x17d8aa},_0x227ce7,_0x5566fd):_0x19e0f6(_0x17d8aa['ordinal'])?(_0x60ff06={...this['toObject'](),..._0x17d8aa},_0x19e0f6(_0x17d8aa['day'])&&(_0x60ff06['day']=Math['min'](_0x138121(_0x60ff06['year'],_0x60ff06['month']),_0x60ff06['day']))):_0x60ff06=_0x4ef63d({..._0x367fba(this['c']),..._0x17d8aa});const [_0x2a29e9,_0xc78d0]=_0x492432(_0x60ff06,this['o'],this['zone']);return _0x350c81(this,{'ts':_0x2a29e9,'o':_0xc78d0});}['plus'](_0x28f5be){if(!this['isValid'])return this;return _0x350c81(this,_0x3a178b(this,Duration['fromDurationLike'](_0x28f5be)));}['minus'](_0x397995){if(!this['isValid'])return this;return _0x350c81(this,_0x3a178b(this,Duration['fromDurationLike'](_0x397995)['negate']()));}['startOf'](_0x5a56ea,{useLocaleWeeks:_0x35d76e=!0x1}={}){if(!this['isValid'])return this;const _0x4e37f5={},_0x68b178=Duration['normalizeUnit'](_0x5a56ea);switch(_0x68b178){case'years':_0x4e37f5['month']=0x1;case'quarters':case'months':_0x4e37f5['day']=0x1;case'weeks':case'days':_0x4e37f5['hour']=0x0;case'hours':_0x4e37f5['minute']=0x0;case'minutes':_0x4e37f5['second']=0x0;case'seconds':_0x4e37f5['millisecond']=0x0;}if('weeks'===_0x68b178){if(_0x35d76e){const _0x1d0deb=this['loc']['getStartOfWeek'](),{weekday:_0x5df1fb}=this;_0x5df1fb<_0x1d0deb&&(_0x4e37f5['weekNumber']=this['weekNumber']-0x1),_0x4e37f5['weekday']=_0x1d0deb;}else _0x4e37f5['weekday']=0x1;}if('quarters'===_0x68b178){const _0x12d019=Math['ceil'](this['month']/0x3);_0x4e37f5['month']=0x3*(_0x12d019-0x1)+0x1;}return this['set'](_0x4e37f5);}['endOf'](_0x4d9a2f,_0x40150a){return this['isValid']?this['plus']({[_0x4d9a2f]:0x1})['startOf'](_0x4d9a2f,_0x40150a)['minus'](0x1):this;}['toFormat'](_0x108907,_0x34193f={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x34193f))['formatDateTimeFromString'](this,_0x108907):_0x158447;}['toLocaleString'](_0x54d46e=_0x2b2ed8,_0x39270c={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x39270c),_0x54d46e)['formatDateTime'](this):_0x158447;}['toLocaleParts'](_0x315a19={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x315a19),_0x315a19)['formatDateTimeParts'](this):[];}['toISO']({format:_0x3a9138='extended',suppressSeconds:_0x3777e0=!0x1,suppressMilliseconds:_0x319da3=!0x1,includeOffset:_0x41fdb4=!0x0,extendedZone:_0x478299=!0x1}={}){if(!this['isValid'])return null;const _0x190d6c='extended'===_0x3a9138;let _0x28ba99=_0x1c203e(this,_0x190d6c);return _0x28ba99+='T',_0x28ba99+=_0x4897ce(this,_0x190d6c,_0x3777e0,_0x319da3,_0x41fdb4,_0x478299),_0x28ba99;}['toISODate']({format:_0x229ba5='extended'}={}){return this['isValid']?_0x1c203e(this,'extended'===_0x229ba5):null;}['toISOWeekDate'](){return _0x52c18a(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x45a91f=!0x1,suppressSeconds:_0x333ce0=!0x1,includeOffset:_0x4ada48=!0x0,includePrefix:_0x351c30=!0x1,extendedZone:_0x2c3ffd=!0x1,format:_0x48faf0='extended'}={}){if(!this['isValid'])return null;return(_0x351c30?'T':'')+_0x4897ce(this,'extended'===_0x48faf0,_0x333ce0,_0x45a91f,_0x4ada48,_0x2c3ffd);}['toRFC2822'](){return _0x52c18a(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return _0x52c18a(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?_0x1c203e(this,!0x0):null;}['toSQLTime']({includeOffset:_0x3c40bc=!0x0,includeZone:_0x14d849=!0x1,includeOffsetSpace:_0x27297c=!0x0}={}){let _0x222043='HH:mm:ss.SSS';return(_0x14d849||_0x3c40bc)&&(_0x27297c&&(_0x222043+='\x20'),_0x14d849?_0x222043+='z':_0x3c40bc&&(_0x222043+='ZZ')),_0x52c18a(this,_0x222043,!0x0);}['toSQL'](_0x21bd3b={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x21bd3b):null;}['toString'](){return this['isValid']?this['toISO']():_0x158447;}[Symbol['for']('nodejs.util.inspect.custom')](){return this['isValid']?'DateTime\x20{\x20ts:\x20'+this['toISO']()+',\x20zone:\x20'+this['zone']['name']+',\x20locale:\x20'+this['locale']+'\x20}':'DateTime\x20{\x20Invalid,\x20reason:\x20'+this['invalidReason']+'\x20}';}['valueOf'](){return this['toMillis']();}['toMillis'](){return this['isValid']?this['ts']:NaN;}['toSeconds'](){return this['isValid']?this['ts']/0x3e8:NaN;}['toUnixInteger'](){return this['isValid']?Math['floor'](this['ts']/0x3e8):NaN;}['toJSON'](){return this['toISO']();}['toBSON'](){return this['toJSDate']();}['toObject'](_0x2866cc={}){if(!this['isValid'])return{};const _0x4d46f4={...this['c']};return _0x2866cc['includeConfig']&&(_0x4d46f4['outputCalendar']=this['outputCalendar'],_0x4d46f4['numberingSystem']=this['loc']['numberingSystem'],_0x4d46f4['locale']=this['loc']['locale']),_0x4d46f4;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x45dc60,_0x1e1ba2='milliseconds',_0x872a2a={}){if(!this['isValid']||!_0x45dc60['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x434941={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x872a2a},_0x2764de=(_0x4300b8=_0x1e1ba2,Array['isArray'](_0x4300b8)?_0x4300b8:[_0x4300b8])['map'](Duration['normalizeUnit']),_0x514e16=_0x45dc60['valueOf']()>this['valueOf'](),_0x112b77=_0x252f3b(_0x514e16?this:_0x45dc60,_0x514e16?_0x45dc60:this,_0x2764de,_0x434941);var _0x4300b8;return _0x514e16?_0x112b77['negate']():_0x112b77;}['diffNow'](_0x158487='milliseconds',_0x1093df={}){return this['diff'](DateTime['now'](),_0x158487,_0x1093df);}['until'](_0x8a1915){return this['isValid']?Interval['fromDateTimes'](this,_0x8a1915):this;}['hasSame'](_0x71f104,_0xdcafb1,_0x36c02b){if(!this['isValid'])return!0x1;const _0x1ed085=_0x71f104['valueOf'](),_0x45fa89=this['setZone'](_0x71f104['zone'],{'keepLocalTime':!0x0});return _0x45fa89['startOf'](_0xdcafb1,_0x36c02b)<=_0x1ed085&&_0x1ed085<=_0x45fa89['endOf'](_0xdcafb1,_0x36c02b);}['equals'](_0x792586){return this['isValid']&&_0x792586['isValid']&&this['valueOf']()===_0x792586['valueOf']()&&this['zone']['equals'](_0x792586['zone'])&&this['loc']['equals'](_0x792586['loc']);}['toRelative'](_0x143af8={}){if(!this['isValid'])return null;const _0x3ebf95=_0x143af8['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x52cac6=_0x143af8['padding']?this<_0x3ebf95?-_0x143af8['padding']:_0x143af8['padding']:0x0;let _0x173f9a=['years','months','days','hours','minutes','seconds'],_0x17991c=_0x143af8['unit'];return Array['isArray'](_0x143af8['unit'])&&(_0x173f9a=_0x143af8['unit'],_0x17991c=void 0x0),_0x2bc4c1(_0x3ebf95,this['plus'](_0x52cac6),{..._0x143af8,'numeric':'always','units':_0x173f9a,'unit':_0x17991c});}['toRelativeCalendar'](_0x5e442c={}){return this['isValid']?_0x2bc4c1(_0x5e442c['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x5e442c,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x5d5305){if(!_0x5d5305['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x10d19b(_0x5d5305,_0x3bebf3=>_0x3bebf3['valueOf'](),Math['min']);}static['max'](..._0x4e52bb){if(!_0x4e52bb['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x10d19b(_0x4e52bb,_0x569bb0=>_0x569bb0['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x175fa0,_0x5e9809,_0x1a608f={}){const {locale:_0x5d1de3=null,numberingSystem:_0x181051=null}=_0x1a608f;return _0x3fe1db(_0x554150['fromOpts']({'locale':_0x5d1de3,'numberingSystem':_0x181051,'defaultToEN':!0x0}),_0x175fa0,_0x5e9809);}static['fromStringExplain'](_0x30ee5d,_0x44394b,_0x2bb10e={}){return DateTime['fromFormatExplain'](_0x30ee5d,_0x44394b,_0x2bb10e);}static['buildFormatParser'](_0x39c00d,_0x207f35={}){const {locale:_0x21e4f2=null,numberingSystem:_0x488ad3=null}=_0x207f35,_0x1a6b45=_0x554150['fromOpts']({'locale':_0x21e4f2,'numberingSystem':_0x488ad3,'defaultToEN':!0x0});return new _0x2679d5(_0x1a6b45,_0x39c00d);}static['fromFormatParser'](_0x5ecbc4,_0x757f15,_0x48fb0e={}){if(_0x19e0f6(_0x5ecbc4)||_0x19e0f6(_0x757f15))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0xe1c6b5=null,numberingSystem:_0x34f3d4=null}=_0x48fb0e,_0x32fe4=_0x554150['fromOpts']({'locale':_0xe1c6b5,'numberingSystem':_0x34f3d4,'defaultToEN':!0x0});if(!_0x32fe4['equals'](_0x757f15['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x32fe4+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x757f15['locale']);const {result:_0x45a7b0,zone:_0x1948ac,specificOffset:_0x4f8e73,invalidReason:_0x3e623d}=_0x757f15['explainFromTokens'](_0x5ecbc4);return _0x3e623d?DateTime['invalid'](_0x3e623d):_0x25ca0f(_0x45a7b0,_0x1948ac,_0x48fb0e,'format\x20'+_0x757f15['format'],_0x5ecbc4,_0x4f8e73);}static get['DATE_SHORT'](){return _0x2b2ed8;}static get['DATE_MED'](){return _0x31f0f9;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x46bf51;}static get['DATE_FULL'](){return _0x41c795;}static get['DATE_HUGE'](){return _0x5eb954;}static get['TIME_SIMPLE'](){return _0x1001de;}static get['TIME_WITH_SECONDS'](){return _0x570db9;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x2ee014;}static get['TIME_WITH_LONG_OFFSET'](){return _0x59de05;}static get['TIME_24_SIMPLE'](){return _0x32b769;}static get['TIME_24_WITH_SECONDS'](){return _0x2868ae;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x38da05;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x56cdcc;}static get['DATETIME_SHORT'](){return _0x3d9282;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x3fbf5e;}static get['DATETIME_MED'](){return _0x400c3f;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x1109a0;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x53b686;}static get['DATETIME_FULL'](){return _0x3b1757;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0xc036c2;}static get['DATETIME_HUGE'](){return _0x3af65d;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x1ce10b;}}function _0x2e753d(_0x1c1416){if(DateTime['isDateTime'](_0x1c1416))return _0x1c1416;if(_0x1c1416&&_0x1c1416['valueOf']&&_0x41a992(_0x1c1416['valueOf']()))return DateTime['fromJSDate'](_0x1c1416);if(_0x1c1416&&'object'==typeof _0x1c1416)return DateTime['fromObject'](_0x1c1416);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x1c1416+',\x20of\x20type\x20'+typeof _0x1c1416);}function _0x1e8f2b(_0x3701a5={},_0x2be135){if(void 0x0!==_0x3701a5['dateTimeFormat']&&'function'!=typeof _0x3701a5['dateTimeFormat'])throw new _0x31c75c['CKEditorError']('invalid-date-time-format');return _0x2bb3cf=>{const _0x471a4a='string'==typeof _0x2bb3cf?DateTime['fromISO'](_0x2bb3cf):DateTime['fromJSDate'](_0x2bb3cf),_0x10490d=DateTime['now'](),_0x4144d3=Math['floor'](_0x10490d['diff'](_0x471a4a,'days')['days']);return _0x3701a5['dateTimeFormat']?_0x3701a5['dateTimeFormat'](_0x471a4a['toJSDate'](),_0x2be135&&_0x2be135['t']?_0x2be135['t']:void 0x0):0x0===_0x4144d3?_0x2be135?_0x1f6a0c(_0x2be135,'Today')+'\x20'+_0x471a4a['toFormat']('hh:mma'):_0x471a4a['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x4144d3?_0x2be135?_0x1f6a0c(_0x2be135,'Yesterday')+'\x20'+_0x471a4a['toFormat']('hh:mma'):_0x471a4a['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x4144d3<0x7?_0x2be135?_0x1f6a0c(_0x2be135,'Last')+'\x20'+_0x1f6a0c(_0x2be135,_0x471a4a['toFormat']('EEEE'))+'\x20'+_0x471a4a['toFormat']('hh:mma'):_0x471a4a['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x471a4a['toFormat']('LL-dd-yyyy\x20hh:mma');};}function _0x4c41ff(_0x175f6d,_0x47b162){const _0x38cb29=_0x175f6d['mapper']['markerNameToElements'](_0x47b162['name']);if(!_0x38cb29)return null;const _0x44fdcd=_0x31c75c['first'](_0x38cb29['values']());return _0x175f6d['view']['domConverter']['mapViewToDom'](_0x44fdcd)||null;}function _0x458809(_0x1f0f2f,_0xaef211){if(0x0===_0xaef211['length'])return null;const _0x329729=[],_0x53ba4f=_0x1f0f2f['view']['domConverter'];for(const _0x41bada of _0xaef211){const _0x102445=_0x1f0f2f['mapper']['markerNameToElements'](_0x41bada['name']);if(!_0x102445)continue;const _0x215afe=Array['from'](_0x102445)['map'](_0x500d47=>_0x53ba4f['mapViewToDom'](_0x500d47))['filter'](_0x1932a2=>!!_0x1932a2);_0x329729['push'](..._0x215afe);}if(0x0===_0x329729['length'])return null;const _0x3b79ae=[];for(const _0x34de26 of _0x329729){const _0x240fbf=_0x34de26['getClientRects']()['item'](0x0);_0x240fbf&&_0x3b79ae['push']({'x':_0x240fbf['x'],'y':_0x240fbf['y'],'domElement':_0x34de26});}return 0x0===_0x3b79ae['length']?null:(_0x3b79ae['sort']((_0x35e0e4,_0x484163)=>_0x35e0e4['y']-_0x484163['y']||_0x35e0e4['x']-_0x484163['x']),_0x3b79ae['map'](_0x432417=>_0x432417['domElement']));}function _0x6b65ae(_0x3a99ce,{limit:_0x575895,suffix:_0x4f1af2='...'}){const _0x192e97=[];let _0x1b534d=0x0;const _0x17b962=_0x3a99ce['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x551a30=0x0;_0x551a30<_0x17b962['length'];_0x551a30++){let _0x5b3074=_0x17b962[_0x551a30];const _0x45228f=_0x74e22b(_0x5b3074);if(_0x5b3074['startsWith']('<')){if(_0x1b534d>=_0x575895){const _0x1e00a8=_0x5b3074['match'](/[a-zA-Z]+/);if(!_0x1e00a8){_0x17b962[_0x551a30]='';continue;}const _0x1191ea=_0x1e00a8[0x0];_0x5b3074['startsWith']('</')?(_0x192e97['length']&&(_0x5b3074=''),_0x192e97['pop']()):(_0x192e97['push'](_0x1191ea),_0x5b3074='');}}else{if(_0x1b534d>=_0x575895)_0x5b3074='';else{if(_0x1b534d+_0x45228f['length']>=_0x575895){let _0x23d592=_0x575895-_0x1b534d;if('\x20'===_0x45228f[_0x23d592-0x1])_0x23d592--;else{const _0x4ff334=_0x45228f['slice'](_0x23d592)['indexOf']('\x20');-0x1!==_0x4ff334?_0x23d592+=_0x4ff334:_0x23d592=_0x5b3074['length'];}_0x5b3074=_0x45228f['slice'](0x0,_0x23d592)['join']('')+_0x4f1af2,_0x1b534d=_0x575895;}else _0x1b534d+=_0x45228f['length'];}}_0x17b962[_0x551a30]=_0x5b3074;}return _0x17b962['join']('\x0a')['replace'](/\n/g,'');}function _0x74e22b(_0x2bb0a8){const _0xee707f=[];for(let _0x2bc369=0x0;_0x2bc369<_0x2bb0a8['length'];_0x2bc369++){const _0x47972a=_0x2bb0a8['substring'](_0x2bc369)['match'](/^&[a-z0-9#]+;/);if(_0x47972a){const _0x5c0b44=_0x47972a[0x0];_0xee707f['push'](_0x5c0b44),_0x2bc369+=_0x5c0b44['length']-0x1;}else _0xee707f['push'](_0x2bb0a8[_0x2bc369]);}return _0xee707f;}class _0x37d1f9 extends _0x31c75c['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x49899d){super(_0x49899d);const _0x99a226=this['bindTemplate'];this['set']('message',_0x1f6a0c(_0x49899d,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x49899d,_0x1f6a0c(_0x49899d,'Yes'),_0x31c75c['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x49899d,_0x1f6a0c(_0x49899d,'No'),_0x31c75c['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x99a226['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x3479d7,_0x3dc136,_0x3db6ea,_0x6e78cd){const _0x358208=new _0x31c75c['ButtonView'](_0x3479d7);return _0x358208['label']=_0x3dc136,_0x358208['icon']=_0x3db6ea,_0x358208['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x6e78cd}}),_0x358208['on']('execute',()=>this['fire'](_0x6e78cd)),_0x358208;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x27cc96=>{this['keystrokes']['listenTo'](_0x27cc96['element']),this['focusTracker']['add'](_0x27cc96['element']);}),this['keystrokes']['set']('esc',(_0x57d363,_0x1b7fc5)=>{this['fire']('cancel'),_0x1b7fc5();});}}function _0xca906e(_0x2bc987){return class _0x1741e8 extends _0x2bc987{['showConfirm'](_0x33fc39,_0x51ffda){return this['confirmView']=new _0x37d1f9(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x33fc39,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x51ffda['appendChild'](this['confirmView']['element']),_0x51ffda['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xe99c3c,_0xd0f96f,_0x4cdfab)=>{_0x4cdfab||_0x51ffda['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4f9c0c=>this['confirmView']['on']('submit',_0x4f9c0c));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function ta(_0x5139cd){let _0x572fa8=0x0,_0x2d9277=0x0;for(const _0x336e44 of _0x35a3fb(_0x5139cd))_0x572fa8=(_0x572fa8<<0x5)-_0x572fa8+_0x336e44,_0x572fa8&=_0x572fa8,[_0x572fa8,_0x2d9277]=[_0x2d9277,_0x572fa8];return _0x3ac623(_0x572fa8)+_0x3ac623(_0x2d9277);}function*_0x50f8e7(_0x2c5b3f){null==_0x2c5b3f||null==_0x2c5b3f?yield 0x12b9b0a1:0x0===_0x2c5b3f||!0x1===_0x2c5b3f?yield 0x0:0x1===_0x2c5b3f||0x1==_0x2c5b3f?yield 0x1:Array['isArray'](_0x2c5b3f)?yield*function*(_0x215290){for(const _0x1ecbcc of _0x215290)yield*_0x50f8e7(_0x1ecbcc);}(_0x2c5b3f):'object'==typeof _0x2c5b3f?yield*_0x35a3fb(_0x2c5b3f):'string'==typeof _0x2c5b3f?yield*_0x1c48b5(_0x2c5b3f):'number'==typeof _0x2c5b3f&&(yield _0x2c5b3f);}function*_0x35a3fb(_0x7675ca){if(yield _0x3e45c2('{'),_0x7675ca){const _0x37dda2=Object['keys'](_0x7675ca)['sort']();for(const _0x39062d of _0x37dda2){yield*_0x1c48b5(_0x39062d),yield _0x3e45c2(':');const _0x3eccb7=_0x7675ca[_0x39062d];yield*_0x50f8e7(_0x3eccb7);}}yield _0x3e45c2('}');}function*_0x1c48b5(_0x482350){yield _0x3e45c2('\x22');for(const _0x51ea8f of _0x482350)yield _0x3e45c2(_0x51ea8f);yield _0x3e45c2('\x22');}function _0x3e45c2(_0x23e967){return _0x23e967['charCodeAt'](0x0);}function _0x3ac623(_0x582552){return(_0x582552*=Math['sign'](_0x582552))['toString'](0x24);}const _0x402509=['root','roots','initialData','context','toolbar','rootsAttributes'],_0x184b4b=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function _0x34eaca(_0x3f357a,_0x2ab3d1,_0x4ac5c3,_0x143677=[]){const _0x353038='string'==typeof _0x3f357a?_0x4ac5c3['get'](_0x3f357a)['constructor']:_0x3f357a['prototype']['constructor'];if(_0x2ab3d1['has'](_0x353038))return _0x2ab3d1['get'](_0x353038);_0x2ab3d1['set'](_0x353038,!0x0);const _0x457751=[..._0x184b4b,..._0x143677]['map'](_0x5dc057=>{if(_0x4ac5c3['has'](_0x5dc057))return _0x4ac5c3['get'](_0x5dc057)['constructor'];})['filter'](_0x48ee40=>_0x48ee40);if(_0x353038&&_0x457751['includes'](_0x353038))return _0x2ab3d1['set'](_0x353038,!0x1),!0x1;if(!_0x353038['requires'])return _0x2ab3d1['set'](_0x353038,!0x0),!0x0;const _0x29bffe=_0x353038['requires']['every'](_0x340601=>_0x34eaca(_0x340601,_0x2ab3d1,_0x4ac5c3,_0x143677));return _0x2ab3d1['set'](_0x353038,_0x29bffe),_0x29bffe;}function _0x138900(_0xeb5fb2,_0x564306){const _0x5ea6b3={};for(const _0x4edbc1 of _0xeb5fb2['config']['names']())_0x402509['includes'](_0x4edbc1)||(_0x5ea6b3[_0x4edbc1]=_0xeb5fb2['config']['get'](_0x4edbc1));const _0x2cc606=_0x5ea6b3['plugins']||[],_0x21520e=_0xeb5fb2['constructor']['builtinPlugins']||[],_0x1361da=_0x2cc606['length']?_0x2cc606:_0x21520e,_0x5cbe4c=_0x5ea6b3['extraPlugins']||[];delete _0x5ea6b3['extraPlugins'];const _0x228d54=_0x5ea6b3['removePlugins']||[];delete _0x5ea6b3['removePlugins'];const _0x1833ee=_0xeb5fb2['_context']['config']['get']('plugins')||[],_0x1e40e3=_0x1361da['concat'](_0x5cbe4c)['concat'](_0x1833ee)['map'](_0x29753c=>'string'==typeof _0x29753c?_0x21520e['find'](_0x25e6d8=>_0x25e6d8['pluginName']==_0x29753c):_0x29753c)['filter'](_0x40a43a=>!_0x228d54['includes'](_0x40a43a)&&!_0x228d54['includes'](_0x40a43a['pluginName'])),_0x1a9cde=Array['from'](new Set(_0x1e40e3)),_0x31ec66=new Map();return _0x5ea6b3['plugins']=_0x1a9cde['filter'](_0x2f42ee=>_0x34eaca(_0x2f42ee,_0x31ec66,_0xeb5fb2['plugins'],_0x564306)),_0x5ea6b3;}function _0x2e1ccc(_0x47266f,_0x2109d0){const _0xdc868d=[];_0x47266f['document']['selection']['on']('change:range',()=>{const _0x26ce67=function(_0x19f289,_0x37e02f){const _0x3b3b68=[];for(const _0x45d501 of _0x19f289['markers']){const _0x12c9af=_0x45d501['getRange']();(_0x12c9af['containsPosition'](_0x37e02f)||_0x12c9af['start']['isEqual'](_0x37e02f)||_0x12c9af['end']['isEqual'](_0x37e02f))&&_0x3b3b68['push'](_0x45d501);}return _0x3b3b68;}(_0x47266f,_0x47266f['document']['selection']['focus']),_0x4d82d4=[],_0x19c3c1=[],_0x56638d=[];for(const _0x9acd44 of _0xdc868d)_0x26ce67['includes'](_0x9acd44)||_0x4d82d4['push'](_0x9acd44);for(const _0x57859f of _0x26ce67)_0xdc868d['includes'](_0x57859f)||_0x19c3c1['push'](_0x57859f),_0x56638d['push'](_0x57859f);(_0x4d82d4['length']||_0x19c3c1['length'])&&_0x2109d0({'left':_0x4d82d4,'entered':_0x19c3c1}),_0xdc868d['length']=0x0,_0xdc868d['push'](..._0x56638d);});}const _0x25c247='Ctrl+Shift+E';function _0x56a70a(_0x54392b,_0x18f310){const _0x414ce2=_0x54392b['element'];_0x54392b['keystrokes']['listenTo'](_0x414ce2);for(const _0x21fc54 of _0x18f310)_0x198924(_0x54392b,_0x21fc54);_0x18f310['on']('change',(_0x458068,_0x550663)=>{for(const _0xf7cd61 of _0x550663['removed'])_0x30090e(_0x54392b,_0xf7cd61);for(const _0x2ad98f of Array['from'](_0x550663['added'])['reverse']())_0x198924(_0x54392b,_0x2ad98f);}),_0x54392b['keystrokes']['set']('enter',(_0x18afa1,_0x1cc9f7)=>{_0x414ce2===_0x18afa1['target']&&(_0x54392b['focusCycler']['focusFirst'](),_0x1cc9f7());},{'filter':_0xd0118f=>_0xd0118f['target']===_0x414ce2}),_0x54392b['keystrokes']['set']('esc',(_0x5c4647,_0x5c2f30)=>{_0x414ce2!==_0x5c4647['target']?_0x54392b['focus']():_0x54392b['fire']('escape'),_0x5c2f30();}),_0x54392b['keystrokes']['set']('arrowdown',(_0x4f729b,_0x4555b8)=>{_0x414ce2===_0x4f729b['target']&&(_0x54392b['fire']('arrowdown'),_0x4555b8());}),_0x54392b['keystrokes']['set']('arrowup',(_0x474587,_0x1bbce7)=>{_0x414ce2===_0x474587['target']&&(_0x54392b['fire']('arrowup'),_0x1bbce7());});}function _0x198924(_0x26f303,_0x23cc23){_0x23cc23['isRendered']&&(_0x26f303['focusTracker']['add'](_0x23cc23['element']),_0x26f303['keystrokes']['listenTo'](_0x23cc23['element']),_0x31c75c['isViewWithFocusCycler'](_0x23cc23)&&function(_0x4ab649,_0x2372cb){const _0x589692=_0x4ab649['actions'],_0x1c6da5=_0x2372cb['actions'];for(const _0x29ca71 of Object['keys'](_0x589692))if(_0x29ca71 in _0x1c6da5&&_0x589692[_0x29ca71]!==_0x1c6da5[_0x29ca71])return!0x1;return!0x0;}(_0x26f303['focusCycler'],_0x23cc23['focusCycler'])&&_0x26f303['focusCycler']['chain'](_0x23cc23['focusCycler']));}function _0x30090e(_0x2d8a6e,_0xcf19f9){_0x2d8a6e['focusTracker']['remove'](_0xcf19f9['element']),_0x2d8a6e['keystrokes']['stopListening'](_0xcf19f9['element']),_0x31c75c['isViewWithFocusCycler'](_0xcf19f9)&&_0x2d8a6e['focusCycler']['unchain'](_0xcf19f9['focusCycler']);}class _0x27ee69{['diff'](_0x2dd857,_0x5c1f3d,_0x31a64f={}){let _0x2962da;'function'==typeof _0x31a64f?(_0x2962da=_0x31a64f,_0x31a64f={}):'callback'in _0x31a64f&&(_0x2962da=_0x31a64f['callback']);const _0x5b18ce=this['castInput'](_0x2dd857,_0x31a64f),_0x4d18bf=this['castInput'](_0x5c1f3d,_0x31a64f),_0x2b3910=this['removeEmpty'](this['tokenize'](_0x5b18ce,_0x31a64f)),_0x58cfcc=this['removeEmpty'](this['tokenize'](_0x4d18bf,_0x31a64f));return this['diffWithOptionsObj'](_0x2b3910,_0x58cfcc,_0x31a64f,_0x2962da);}['diffWithOptionsObj'](_0x107ed0,_0x9c1e7,_0x46e3c8,_0x493643){var _0x355056;const _0x3aa45f=_0x532300=>(_0x532300=this['postProcess'](_0x532300,_0x46e3c8),_0x493643?void setTimeout(function(){_0x493643(_0x532300);},0x0):_0x532300),_0x7d089f=_0x9c1e7['length'],_0x363c21=_0x107ed0['length'];let _0x5565b5=0x1,_0x34af3d=_0x7d089f+_0x363c21;null!=_0x46e3c8['maxEditLength']&&(_0x34af3d=Math['min'](_0x34af3d,_0x46e3c8['maxEditLength']));const _0xdda407=null!==(_0x355056=_0x46e3c8['timeout'])&&void 0x0!==_0x355056?_0x355056:0x1/0x0,_0x1ff419=Date['now']()+_0xdda407,_0x22b35f=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x24d963=this['extractCommon'](_0x22b35f[0x0],_0x9c1e7,_0x107ed0,0x0,_0x46e3c8);if(_0x22b35f[0x0]['oldPos']+0x1>=_0x363c21&&_0x24d963+0x1>=_0x7d089f)return _0x3aa45f(this['buildValues'](_0x22b35f[0x0]['lastComponent'],_0x9c1e7,_0x107ed0));let _0x32b1e7=-0x1/0x0,_0x18092a=0x1/0x0;const _0x24c8d5=()=>{for(let _0x4c8cc0=Math['max'](_0x32b1e7,-_0x5565b5);_0x4c8cc0<=Math['min'](_0x18092a,_0x5565b5);_0x4c8cc0+=0x2){let _0x559731;const _0x4e9bef=_0x22b35f[_0x4c8cc0-0x1],_0x407262=_0x22b35f[_0x4c8cc0+0x1];_0x4e9bef&&(_0x22b35f[_0x4c8cc0-0x1]=void 0x0);let _0x2e09cf=!0x1;if(_0x407262){const _0x3af2a3=_0x407262['oldPos']-_0x4c8cc0;_0x2e09cf=_0x407262&&0x0<=_0x3af2a3&&_0x3af2a3<_0x7d089f;}const _0x42269c=_0x4e9bef&&_0x4e9bef['oldPos']+0x1<_0x363c21;if(_0x2e09cf||_0x42269c){if(_0x559731=!_0x42269c||_0x2e09cf&&_0x4e9bef['oldPos']<_0x407262['oldPos']?this['addToPath'](_0x407262,!0x0,!0x1,0x0,_0x46e3c8):this['addToPath'](_0x4e9bef,!0x1,!0x0,0x1,_0x46e3c8),_0x24d963=this['extractCommon'](_0x559731,_0x9c1e7,_0x107ed0,_0x4c8cc0,_0x46e3c8),_0x559731['oldPos']+0x1>=_0x363c21&&_0x24d963+0x1>=_0x7d089f)return _0x3aa45f(this['buildValues'](_0x559731['lastComponent'],_0x9c1e7,_0x107ed0))||!0x0;_0x22b35f[_0x4c8cc0]=_0x559731,_0x559731['oldPos']+0x1>=_0x363c21&&(_0x18092a=Math['min'](_0x18092a,_0x4c8cc0-0x1)),_0x24d963+0x1>=_0x7d089f&&(_0x32b1e7=Math['max'](_0x32b1e7,_0x4c8cc0+0x1));}else _0x22b35f[_0x4c8cc0]=void 0x0;}_0x5565b5++;};if(_0x493643)!function _0x1a6d5d(){setTimeout(function(){if(_0x5565b5>_0x34af3d||Date['now']()>_0x1ff419)return _0x493643(void 0x0);_0x24c8d5()||_0x1a6d5d();},0x0);}();else for(;_0x5565b5<=_0x34af3d&&Date['now']()<=_0x1ff419;){const _0xe4995d=_0x24c8d5();if(_0xe4995d)return _0xe4995d;}}['addToPath'](_0x567f1c,_0x4e86d8,_0x1d0c1d,_0x571d32,_0x263180){const _0x23a3ca=_0x567f1c['lastComponent'];return _0x23a3ca&&!_0x263180['oneChangePerToken']&&_0x23a3ca['added']===_0x4e86d8&&_0x23a3ca['removed']===_0x1d0c1d?{'oldPos':_0x567f1c['oldPos']+_0x571d32,'lastComponent':{'count':_0x23a3ca['count']+0x1,'added':_0x4e86d8,'removed':_0x1d0c1d,'previousComponent':_0x23a3ca['previousComponent']}}:{'oldPos':_0x567f1c['oldPos']+_0x571d32,'lastComponent':{'count':0x1,'added':_0x4e86d8,'removed':_0x1d0c1d,'previousComponent':_0x23a3ca}};}['extractCommon'](_0x2da9c6,_0x5a74a3,_0x21888e,_0x2a86ef,_0x36625a){const _0x264aca=_0x5a74a3['length'],_0x4907b3=_0x21888e['length'];let _0x4db532=_0x2da9c6['oldPos'],_0x55b23e=_0x4db532-_0x2a86ef,_0x3a6fb0=0x0;for(;_0x55b23e+0x1<_0x264aca&&_0x4db532+0x1<_0x4907b3&&this['equals'](_0x21888e[_0x4db532+0x1],_0x5a74a3[_0x55b23e+0x1],_0x36625a);)_0x55b23e++,_0x4db532++,_0x3a6fb0++,_0x36625a['oneChangePerToken']&&(_0x2da9c6['lastComponent']={'count':0x1,'previousComponent':_0x2da9c6['lastComponent'],'added':!0x1,'removed':!0x1});return _0x3a6fb0&&!_0x36625a['oneChangePerToken']&&(_0x2da9c6['lastComponent']={'count':_0x3a6fb0,'previousComponent':_0x2da9c6['lastComponent'],'added':!0x1,'removed':!0x1}),_0x2da9c6['oldPos']=_0x4db532,_0x55b23e;}['equals'](_0x5ef8e6,_0x20355c,_0x27d354){return _0x27d354['comparator']?_0x27d354['comparator'](_0x5ef8e6,_0x20355c):_0x5ef8e6===_0x20355c||!!_0x27d354['ignoreCase']&&_0x5ef8e6['toLowerCase']()===_0x20355c['toLowerCase']();}['removeEmpty'](_0x597112){const _0x5e683d=[];for(let _0x33c23d=0x0;_0x33c23d<_0x597112['length'];_0x33c23d++)_0x597112[_0x33c23d]&&_0x5e683d['push'](_0x597112[_0x33c23d]);return _0x5e683d;}['castInput'](_0x543ad8,_0x1c9f4b){return _0x543ad8;}['tokenize'](_0x2984f1,_0x35c9a0){return Array['from'](_0x2984f1);}['join'](_0x6aefdc){return _0x6aefdc['join']('');}['postProcess'](_0x524110,_0x53d86b){return _0x524110;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x4873a5,_0x4e6d69,_0x1279b9){const _0x2b6269=[];let _0x5d0997;for(;_0x4873a5;)_0x2b6269['push'](_0x4873a5),_0x5d0997=_0x4873a5['previousComponent'],delete _0x4873a5['previousComponent'],_0x4873a5=_0x5d0997;_0x2b6269['reverse']();const _0x1d6203=_0x2b6269['length'];let _0x43af78=0x0,_0xabeb27=0x0,_0x4af406=0x0;for(;_0x43af78<_0x1d6203;_0x43af78++){const _0x5d1e79=_0x2b6269[_0x43af78];if(_0x5d1e79['removed'])_0x5d1e79['value']=this['join'](_0x1279b9['slice'](_0x4af406,_0x4af406+_0x5d1e79['count'])),_0x4af406+=_0x5d1e79['count'];else{if(!_0x5d1e79['added']&&this['useLongestToken']){let _0x10412b=_0x4e6d69['slice'](_0xabeb27,_0xabeb27+_0x5d1e79['count']);_0x10412b=_0x10412b['map'](function(_0x454330,_0x673459){const _0x2ecdfa=_0x1279b9[_0x4af406+_0x673459];return _0x2ecdfa['length']>_0x454330['length']?_0x2ecdfa:_0x454330;}),_0x5d1e79['value']=this['join'](_0x10412b);}else _0x5d1e79['value']=this['join'](_0x4e6d69['slice'](_0xabeb27,_0xabeb27+_0x5d1e79['count']));_0xabeb27+=_0x5d1e79['count'],_0x5d1e79['added']||(_0x4af406+=_0x5d1e79['count']);}}return _0x2b6269;}}const _0x40a0a2=new class _0x3f9123 extends _0x27ee69{['tokenize'](_0x51c3c5){return _0x51c3c5['slice']();}['join'](_0x4f2fdd){return _0x4f2fdd;}['removeEmpty'](_0x18df0a){return _0x18df0a;}}();function _0x9c2579(_0x5bbad6,_0x49c214,_0x207662){return _0x40a0a2['diff'](_0x5bbad6,_0x49c214,_0x207662);}const _0x4367ca='$elementId',_0x2e69e2='data-id';class DocumentCompare extends _0x31c75c['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x31c75c['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5b1f04,_0x244c4f)=>{_0x244c4f['on']('ready',()=>{this['_integrateEditor'](_0x244c4f);});});}get['editor'](){if(this['context']instanceof _0x31c75c['Editor'])return this['context'];{const _0x45f510=this['context']['editors']['first'];if(!_0x45f510)throw new _0x31c75c['CKEditorError']('documentcompare-no-editor',this);return _0x45f510;}}['getDiff'](_0x1fa70d,_0x21453e,_0x506b48={'anchor':'main','markDeletions':!0x1}){const _0x9e02e=_0x506b48['targetEditor']||this['editor'];let _0x4ac0a2,_0x3bb03c;if('string'==typeof _0x506b48['anchor']){const _0x16c8ce=_0x9e02e['model']['document']['getRoot'](_0x506b48['anchor']);if(!_0x16c8ce)throw new _0x31c75c['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x506b48['anchor']});_0x4ac0a2=_0x16c8ce,_0x3bb03c=_0x9e02e['model']['createPositionAt'](_0x16c8ce,0x0);}else _0x4ac0a2=_0x506b48['anchor']['clone'](),_0x3bb03c=_0x506b48['anchor']['clone']();const _0x468902=_0x9e02e['data']['parse'](_0x1fa70d,_0x4ac0a2),_0x5863e6=_0x9e02e['data']['parse'](_0x21453e,_0x4ac0a2);return new DocumentDiff({'editor':_0x9e02e,'before':_0x468902,'after':_0x5863e6,'options':{'anchor':_0x3bb03c,'markDeletions':_0x506b48['markDeletions']}});}['isMarkedRemoveOperation'](_0x2e75da){return'marker'==_0x2e75da['type']&&_0x2e75da['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x2d35f5){_0x2d35f5['conversion']['for']('upcast')['add'](_0x41f506=>{_0x41f506['on']('element',(_0xecd520,_0xc492c9,_0x24f3a9)=>{if(_0xc492c9['modelRange'])for(const _0x27f09e of _0xc492c9['modelRange']['getItems']({'shallow':!0x0})){if(_0x27f09e['is']('$textProxy'))continue;const _0x13a1ad=_0xc492c9['viewItem']['getAttribute'](_0x2e69e2);_0x13a1ad&&_0x24f3a9['writer']['setAttribute'](_0x4367ca,_0x13a1ad,_0x27f09e);}},{'priority':'lowest'});}),_0x2d35f5['model']['schema']['addAttributeCheck'](()=>!0x0,_0x4367ca);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x3267ce,before:_0xd4ee56,after:_0x29c3c2,options:_0x3e6dda}){this['_editor']=_0x3267ce,this['_markDeletions']=!!_0x3e6dda['markDeletions'],this['_anchor']=_0x3e6dda['anchor'];const _0x447aa0=this['_tokenizeModel'](_0xd4ee56),_0x598ed7=this['_tokenizeModel'](_0x29c3c2);this['_diffItems']=this['_diffModelTokens'](_0x447aa0,_0x598ed7),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xd4ee56['markers'],_0x29c3c2['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x26542=this['_editor']['model']['document'],_0x58d912=[];let _0x1c27c2=_0x26542['version'];for(const _0x11cf23 of this['_operationsData'])switch(_0x11cf23['type']){case'attribute':{const _0x220541=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['path']),_0x146e1c=_0x220541['getShiftedBy'](_0x11cf23['howMany']),_0x35e86e=new _0x31c75c['ModelRange'](_0x220541,_0x146e1c),_0x5b1e62=JSON['parse'](_0x11cf23['oldValue']),_0x472b06=JSON['parse'](_0x11cf23['newValue']);_0x58d912['push'](new _0x31c75c['AttributeOperation'](_0x35e86e,_0x11cf23['key'],_0x5b1e62,_0x472b06,_0x1c27c2++));break;}case'insert':{const _0x9c3508=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['path']),_0x177a6c=this['_makeModelFromTokens'](_0x11cf23['tokens']);_0x58d912['push'](new _0x31c75c['InsertOperation'](_0x9c3508,_0x177a6c,_0x1c27c2++));break;}case'remove':{const _0x54b1a9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['path']),_0x370489=new _0x31c75c['ModelPosition'](_0x26542['graveyard'],[0x0]);_0x58d912['push'](new _0x31c75c['MoveOperation'](_0x54b1a9,_0x11cf23['howMany'],_0x370489,_0x1c27c2++));break;}case'rename':{const _0x41231f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['path']);_0x58d912['push'](new _0x31c75c['RenameOperation'](_0x41231f,_0x11cf23['oldName'],_0x11cf23['newName'],_0x1c27c2++));break;}case'split':{const _0x1b2cf6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['path']),_0x33dc8d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['path']['slice'](0x0,-0x1));_0x33dc8d['offset']++,_0x58d912['push'](new _0x31c75c['SplitOperation'](_0x1b2cf6,Number['NEGATIVE_INFINITY'],_0x33dc8d,null,_0x1c27c2++));break;}case'merge':{const _0x1f036e=_0x11cf23['path']['slice'](),_0x4e8203=_0x1f036e['slice'](0x0,-0x1);_0x4e8203[_0x4e8203['length']-0x1]++,_0x4e8203['push'](0x0);const _0x1f9bc7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e8203),_0x559e95=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1f036e),_0x2a726b=new _0x31c75c['ModelPosition'](_0x26542['graveyard'],[0x0]);_0x58d912['push'](new _0x31c75c['MergeOperation'](_0x1f9bc7,Number['NEGATIVE_INFINITY'],_0x559e95,_0x2a726b,_0x1c27c2++));break;}case'marker':case'markedRemove':{let _0x439a73=null;if(_0x11cf23['range']){const _0x43eded=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['range']['start']),_0x8b6bf9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['range']['end']);_0x439a73=new _0x31c75c['ModelRange'](_0x43eded,_0x8b6bf9);}const _0x31de00='marker'==_0x11cf23['type']?_0x11cf23['name']:'$markedRemove:'+_0x31c75c['uid']();_0x58d912['push'](new _0x31c75c['MarkerOperation'](_0x31de00,null,_0x439a73,_0x26542['model']['markers'],!0x0,_0x1c27c2++));break;}case'unwrap':{const _0x344522=_0x11cf23['path']['slice']();_0x344522['push'](0x0);const _0xb389f6=_0x11cf23['path']['slice'](),_0x1828f9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x344522),_0xcaacb4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xb389f6),_0x158949=new _0x31c75c['ModelPosition'](_0x26542['graveyard'],[0x0]);_0x58d912['push'](new _0x31c75c['MoveOperation'](_0x1828f9,_0x11cf23['howMany'],_0xcaacb4,_0x1c27c2++)),_0x58d912['push'](new _0x31c75c['MoveOperation'](_0xcaacb4['getShiftedBy'](_0x11cf23['howMany']),0x1,_0x158949,_0x1c27c2++));break;}case'wrap':{const _0x1a84f0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['range']['start']),_0x24672e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x11cf23['range']['end']),_0x59da74=_0x11cf23['token']['element']['_clone'](!0x1),_0x49a54c=_0x11cf23['range']['end']['slice']();_0x49a54c['push'](0x0);const _0x5c2463=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x49a54c);_0x58d912['push'](new _0x31c75c['InsertOperation'](_0x24672e,_0x59da74,_0x1c27c2++)),_0x58d912['push'](new _0x31c75c['MoveOperation'](_0x1a84f0,_0x24672e['offset']-_0x1a84f0['offset'],_0x5c2463,_0x1c27c2++));break;}}return _0x58d912;}['_tokenizeModel'](_0x568590){const _0x219e62=[],_0x4d8708=_0x31c75c['ModelRange']['_createIn'](_0x568590),_0xd137b9=new _0x31c75c['ModelTreeWalker']({'boundaries':_0x4d8708});let _0x54f84f='',_0x581515=null;const _0x1e9f8c=[''],_0xde5e60=new Map();for(const _0x19e42c of _0xd137b9)if('elementStart'==_0x19e42c['type']||'elementEnd'==_0x19e42c['type']){let _0x42e05d=_0x1e9f8c[0x0];''!==_0x54f84f&&(_0x219e62['push'](...this['_makeTokensFromTextByWords'](_0x54f84f,_0x581515,_0x42e05d)),_0x54f84f='');const _0x5cb832=_0x19e42c['item'];let _0x1845a9;_0x5cb832['getAttribute'](_0x4367ca)?_0x1845a9=_0x5cb832['getAttribute'](_0x4367ca):'elementStart'==_0x19e42c['type']?(_0x1845a9=_0x10c8e7(_0x5cb832),_0xde5e60['set'](_0x5cb832,_0x1845a9)):_0x1845a9=_0xde5e60['get'](_0x5cb832);const _0xa4eba9=this['_getElementCategory'](_0x5cb832);'solid'==_0xa4eba9&&('elementStart'==_0x19e42c['type']?(_0x42e05d=_0x1845a9,_0x1e9f8c['unshift'](_0x42e05d)):_0x1e9f8c['shift']());const _0x2e9619={'type':'element','element':_0x5cb832,'elementId':_0x1845a9,'category':_0xa4eba9,'isStart':'elementStart'==_0x19e42c['type'],'limitId':_0x42e05d};_0x219e62['push'](_0x2e9619);}else''==_0x54f84f&&(_0x581515=_0x19e42c['previousPosition']['clone']()),_0x54f84f+=_0x19e42c['item']['data'];return''!==_0x54f84f&&_0x219e62['push'](...this['_makeTokensFromTextByWords'](_0x54f84f,_0x581515,_0x1e9f8c[0x0])),_0x219e62;}['_makeTokensFromTextByWords'](_0x4e6e78,_0x19862b,_0x4ad063){const _0x5ad242=_0x4e6e78['matchAll'](/(\s)/g),_0x5ec756=Array['from'](_0x5ad242)['map'](_0xe9fd85=>_0xe9fd85['index']);_0x5ec756['push'](_0x4e6e78['length']),0x0==_0x5ec756[0x0]&&_0x5ec756['shift']();const _0x113d1c=[],_0x5d4bb3=_0x19862b['parent'];let _0x3ee8f0=0x0,_0x568c18=_0x19862b['offset'];for(let _0x1052fb=0x0;_0x1052fb<_0x5ec756['length'];_0x1052fb++)_0x113d1c['push']({'type':'text','data':_0x4e6e78['slice'](_0x3ee8f0,_0x5ec756[_0x1052fb]),'parent':_0x5d4bb3,'offset':_0x568c18,'limitId':_0x4ad063}),_0x3ee8f0=_0x5ec756[_0x1052fb],_0x568c18=_0x19862b['offset']+_0x5ec756[_0x1052fb];return _0x113d1c;}['_getElementCategory'](_0x4f4b6d){const _0x24e67b=this['_editor']['model']['schema'];return _0x24e67b['isLimit'](_0x4f4b6d)||_0x24e67b['isContent'](_0x4f4b6d)||_0x24e67b['isInline'](_0x4f4b6d)?'solid':_0x24e67b['isBlock'](_0x4f4b6d)?'block':'container';}['_diffModelTokens'](_0x6b664e,_0x4a9235){const _0x278213=_0x9c2579(_0x6b664e,_0x4a9235,{'comparator':_0x110c01});this['_handleUnclosedBlockOpeningTags'](_0x278213);const _0xe435ff=_0x278213['flatMap'](_0x1f2846=>{const _0x2995b9=_0x1f2846['added']?'added':_0x1f2846['removed']?'removed':'unchanged';return _0x1f2846['value']['map'](_0x477ff1=>({'token':_0x477ff1,'change':_0x2995b9}));});let _0x5826a0=0x0;for(const _0x28f296 of _0xe435ff)'added'!=_0x28f296['change']&&('unchanged'==_0x28f296['change']&&(_0x28f296['before']=_0x6b664e[_0x5826a0]),_0x5826a0++);return _0xe435ff;}['_handleUnclosedBlockOpeningTags'](_0xeb6de2){for(let _0x52bfa8=0x0;_0x52bfa8<_0xeb6de2['length']-0x1;_0x52bfa8++)if(_0xeb6de2[_0x52bfa8]['removed']&&_0xeb6de2[_0x52bfa8+0x1]['added']){const _0x177635=this['_findUnclosedBlockOpeningToken'](_0xeb6de2[_0x52bfa8]['value']);if(null!==_0x177635){const _0x157f64=this['_findUnclosedBlockOpeningToken'](_0xeb6de2[_0x52bfa8+0x1]['value']),_0x113d58=_0xeb6de2[_0x52bfa8]['value']['splice'](_0x177635),_0x51e6e8=_0xeb6de2[_0x52bfa8+0x1]['value']['splice'](_0x157f64),_0x578976=[_0x51e6e8['shift']()];_0x113d58['shift']();const _0x19c92a={'value':_0x113d58,'removed':!0x0},_0x324efa={'value':_0x51e6e8,'added':!0x0},_0x69b975={'value':_0x578976};_0xeb6de2['splice'](_0x52bfa8+0x2,0x0,_0x69b975,_0x19c92a,_0x324efa);}}}['_findUnclosedBlockOpeningToken'](_0x3d53a7){let _0x3ded87=0x0,_0x3066cc=-0x1;for(let _0x8573f3=0x0;_0x8573f3<_0x3d53a7['length'];_0x8573f3++){const _0x38946e=_0x3d53a7[_0x8573f3];'element'==_0x38946e['type']&&'block'==_0x38946e['category']&&(_0x3ded87+=_0x38946e['isStart']?0x1:-0x1,_0x38946e['isStart']&&(_0x3066cc=_0x8573f3));}return 0x0===_0x3ded87?null:_0x3066cc;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x37b39d=0x0;_0x37b39d<this['_diffItems']['length'];_0x37b39d++){const _0x6ad8ca=this['_diffItems'][_0x37b39d]['change'],_0x8daab7=[];_0x8daab7['push'](this['_diffItems'][_0x37b39d]);let _0xe20d5e=_0x37b39d+0x1;for(;this['_diffItems'][_0xe20d5e]&&this['_diffItems'][_0xe20d5e]['change']==_0x6ad8ca;)_0x8daab7['push'](this['_diffItems'][_0xe20d5e]),_0xe20d5e++,_0x37b39d++;const _0x55df41=_0x8daab7['map'](_0x55b6ef=>_0x55b6ef['token']);if('unchanged'==_0x6ad8ca)_0x8daab7['map'](_0x3a4db8=>_0x3a4db8['before'])['forEach'](_0x5e4227=>this['_traverseOverItem'](_0x5e4227));else{if('removed'==_0x6ad8ca){if(this['_markDeletions']){const _0x514a3d=this['_path']['slice']();_0x55df41['forEach'](_0xdb45ab=>this['_traverseOverItem'](_0xdb45ab));const _0x57d7f8=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x514a3d,'end':_0x57d7f8}});}else this['_handleChanged'](_0x55df41,!0x0,this['_path']['slice']());}else{const _0x2008a9=_0x55df41['filter'](_0x5c5e96=>'element'!=_0x5c5e96['type']||'container'!=_0x5c5e96['category']);this['_handleChanged'](_0x2008a9,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x185847=0x0;_0x185847<this['_diffItems']['length'];_0x185847++){const _0x2bafca=this['_diffItems'][_0x185847]['change'],_0x2db23c=[];_0x2db23c['push'](this['_diffItems'][_0x185847]);let _0x4349b9=_0x185847+0x1;for(;this['_diffItems'][_0x4349b9]&&this['_diffItems'][_0x4349b9]['change']==_0x2bafca;)_0x2db23c['push'](this['_diffItems'][_0x4349b9]),_0x4349b9++,_0x185847++;const _0x41e65a=_0x2db23c['map'](_0x447d90=>_0x447d90['token']);if('unchanged'==_0x2bafca){const _0xa15b5c=_0x2db23c['map'](_0x121a4b=>_0x121a4b['before']);this['_handleUnchanged'](_0xa15b5c,_0x41e65a);}else('added'==_0x2bafca||this['_markDeletions'])&&_0x41e65a['forEach'](_0x100bb1=>{'element'==_0x100bb1['type']&&_0x100bb1['isStart']&&this['_splitPostponedData']['has'](_0x100bb1['element'])&&this['_handleSplitPostponedData'](_0x100bb1['element'],this['_path']),this['_traverseOverItem'](_0x100bb1);});}}['_handleSplitPostponedData'](_0x58342b,_0x252e5c){const _0x54870b=this['_splitPostponedData']['get'](_0x58342b);for(const _0x1f4627 of _0x54870b)'rename'==_0x1f4627['type']?this['_operationsData']['push']({'type':'rename','path':_0x252e5c['slice'](),'oldName':_0x1f4627['oldValue'],'newName':_0x58342b['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x252e5c['slice'](),'howMany':0x1,'key':_0x1f4627['key'],'oldValue':_0x1f4627['oldValue'],'newValue':JSON['stringify'](_0x58342b['getAttribute'](_0x1f4627['key'])??null)});}['_calculateMarkersOperationsData'](_0x5ec9ff,_0x4ae59a){const _0x39c741={};for(const [_0xc9dc4b]of _0x5ec9ff)_0x39c741[_0xc9dc4b]=null;for(const [_0xa5719a,_0x390ecb]of _0x4ae59a)_0x39c741[_0xa5719a]=_0x390ecb;const _0x3f46a7=Object['entries'](_0x39c741)['map'](([_0x4efbfb,_0x3cd66f])=>({'type':'marker','name':_0x4efbfb,'range':_0x3cd66f?{'start':_0x3cd66f['start']['path']['slice'](),'end':_0x3cd66f['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3f46a7);}['_handleUnwraps'](){const _0xbfc8e6=new Map(),_0x2dc625=[],_0x23e05d=[0x0];let _0x1968f5=this['_diffItems']['length']+0x1;for(let _0x5a798a=this['_diffItems']['length']-0x1;_0x5a798a>=0x0;_0x5a798a--){const {token:_0x3a6834,before:_0x106fd0,change:_0xb38e1e}=this['_diffItems'][_0x5a798a];if('removed'!=_0xb38e1e&&(_0x1968f5=_0x5a798a),'element'!=_0x3a6834['type']||'container'!=_0x3a6834['category']||'added'==_0xb38e1e)continue;const _0x3bfe1d=_0x106fd0?_0x106fd0['element']:_0x3a6834['element'];if(_0x3a6834['isStart']){const _0x26a393=_0xbfc8e6['get'](_0x3bfe1d),_0x367dfb=this['_diffItems'][_0x26a393];('removed'==_0xb38e1e||'removed'==_0x367dfb['change'])&&_0x1968f5<_0x26a393&&(this['_operationsData']['push']({'type':'unwrap','path':_0x3bfe1d['getPath'](),'howMany':_0x3bfe1d['maxOffset']+_0x23e05d[0x0]}),_0x23e05d['shift'](),_0x23e05d[0x0]+=_0x3bfe1d['maxOffset']-0x1,_0x2dc625['push'](_0x5a798a),_0x2dc625['push'](_0x26a393));}else _0xbfc8e6['set'](_0x3bfe1d,_0x5a798a),_0x23e05d['unshift'](0x0);}_0x2dc625['sort']((_0x4dd886,_0x1df1e6)=>_0x1df1e6-_0x4dd886),_0x2dc625['forEach'](_0x3b2cc7=>{const _0x240b28=this['_diffItems'][_0x3b2cc7];'removed'==_0x240b28['change']?this['_diffItems']['splice'](_0x3b2cc7,0x1):(_0x240b28['change']='added',delete _0x240b28['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x47fa51=[];for(let _0x28ef5e=0x0;_0x28ef5e<this['_diffItems']['length'];_0x28ef5e++){const {change:_0x59a6d5,token:_0x4d75f4}=this['_diffItems'][_0x28ef5e];if('added'==_0x59a6d5&&'element'==_0x4d75f4['type']&&'container'==_0x4d75f4['category']){if(_0x4d75f4['isStart'])_0x47fa51['push'](this['_path']['slice']());else{if(!_0x4d75f4['isStart']){const _0xed5740=_0x47fa51['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0xed5740,'end':this['_path']['slice']()},'token':_0x4d75f4}),this['_path'][this['_path']['length']-0x1]=_0xed5740[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x59a6d5||this['_markDeletions'])&&this['_traverseOverItem'](_0x4d75f4);}}['_handleUnchanged'](_0x5a1c65,_0x16c810){for(let _0x261988=0x0;_0x261988<_0x5a1c65['length'];_0x261988++){const _0x2588fc=_0x5a1c65[_0x261988];if('element'==_0x2588fc['type']&&_0x2588fc['isStart']){const _0x51057d=_0x16c810[_0x261988];'block'==_0x2588fc['category']&&this['_handleElementRename'](_0x2588fc['element'],_0x51057d['element'],this['_path']),this['_handleElementAttributeChanges'](_0x2588fc['element'],_0x51057d['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x51057d);}else{if('element'!=_0x2588fc['type']||_0x2588fc['isStart']){if('text'==_0x2588fc['type']){const _0x389b93=this['_path']['slice'](),_0xe8ea33=[],_0x1b8368=[];for(;_0x5a1c65[_0x261988]&&'text'==_0x5a1c65[_0x261988]['type'];)_0xe8ea33['push'](_0x5a1c65[_0x261988]),_0x1b8368['push'](_0x16c810[_0x261988]),this['_path'][this['_path']['length']-0x1]+=_0x5a1c65[_0x261988]['data']['length'],_0x261988++;_0x261988--,this['_handleTextAttributeChanges'](_0xe8ea33,_0x1b8368,_0x389b93);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x5992a7,_0xe6094d,_0x79a3c9){const _0x5dc962=[],_0x17d2ce=[],_0x222c3f=_0x79a3c9['slice']();let _0x5a21c5=this['_parents']['length']-0x1;for(let _0x4b3c6b=0x0;_0x4b3c6b<_0x5992a7['length'];_0x4b3c6b++){const _0x14b747=_0x5992a7[_0x4b3c6b],_0x3ff598=_0x79a3c9['slice']();'element'!=_0x14b747['type']||_0x14b747['isStart']?'element'==_0x14b747['type']&&_0x14b747['isStart']?(_0x79a3c9['push'](0x0),_0x5a21c5++,_0x17d2ce['push']({'before':_0x3ff598,'after':_0x79a3c9['slice'](),'index':_0x4b3c6b})):_0x79a3c9[_0x79a3c9['length']-0x1]+=_0x14b747['data']['length']:(_0x79a3c9['pop'](),_0x79a3c9[_0x79a3c9['length']-0x1]++,_0x5a21c5--,_0x17d2ce['length']?_0x17d2ce['pop']():_0x5dc962['push']({'before':_0x3ff598,'after':_0x79a3c9['slice'](),'index':_0x4b3c6b}));}if(_0x17d2ce['length']!==_0x5dc962['length'])throw new _0x31c75c['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x5992a7,'isRemove':_0xe6094d});const _0x5481f=[{'after':_0x222c3f['slice'](),'index':-0x1},..._0x5dc962,..._0x17d2ce,{'before':_0x79a3c9['slice'](),'index':_0x5992a7['length']}];if(_0xe6094d){for(let _0x1bd832=_0x5481f['length']-0x1;_0x1bd832>=0x1;_0x1bd832--){const _0x585aba=_0x5481f[_0x1bd832-0x1]['after'],_0x49d77a=_0x5481f[_0x1bd832]['before'],_0x8c8873=_0x49d77a[_0x49d77a['length']-0x1]-_0x585aba[_0x585aba['length']-0x1];_0x8c8873&&(this['_operationsData']['push']({'type':'remove','path':_0x585aba,'howMany':_0x8c8873}),_0x49d77a[_0x49d77a['length']-0x1]-=_0x8c8873);}for(const {before:_0x275e7f}of _0x5dc962)this['_operationsData']['push']({'type':'merge','path':_0x275e7f});}else for(let _0xec076c=0x0;_0xec076c<_0x5481f['length']-0x1;_0xec076c++){const _0x466e08=_0x5481f[_0xec076c]['after'],_0x23d4c0=_0x5481f[_0xec076c+0x1]['before'],_0x4c7302=_0x5481f[_0xec076c]['index']+0x1,_0x8f1e43=_0x5481f[_0xec076c+0x1]['index'];if(_0x4c7302!==_0x8f1e43&&this['_operationsData']['push']({'type':'insert','path':_0x466e08,'tokens':_0x5992a7['slice'](_0x4c7302,_0x8f1e43)}),_0xec076c<_0x5dc962['length']){this['_operationsData']['push']({'type':'split','path':_0x23d4c0});const _0xa87580=_0x5992a7[_0x17d2ce[_0x17d2ce['length']-0x1-_0xec076c]['index']],_0x44e225=this['_parents'][_0x5a21c5]['element'];_0x44e225['name']!=_0xa87580['element']['name']&&this['_addSplitPostponedData'](_0xa87580['element'],{'type':'rename','oldValue':_0x44e225['name']});const _0x3e6303=this['_getAttributeChanges'](_0x44e225['getAttributes'](),_0xa87580['element']['getAttributes']());for(const _0x2ca925 in _0x3e6303){const _0x5b6c24=_0x3e6303[_0x2ca925]['oldValue'];this['_addSplitPostponedData'](_0xa87580['element'],{'type':'attribute','key':_0x2ca925,'oldValue':_0x5b6c24});}}}}['_addSplitPostponedData'](_0xb3b5f,_0x21f0f6){const _0x1e501f=this['_splitPostponedData']['get'](_0xb3b5f)||[];_0x1e501f['push'](_0x21f0f6),this['_splitPostponedData']['set'](_0xb3b5f,_0x1e501f);}['_traverseOverItem'](_0x469aa7){'element'==_0x469aa7['type']&&_0x469aa7['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x469aa7)):'element'!=_0x469aa7['type']||_0x469aa7['isStart']?'text'==_0x469aa7['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x469aa7['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x1df332,_0x43d3b0,_0x12bb34){_0x1df332['name']!=_0x43d3b0['name']&&this['_operationsData']['push']({'type':'rename','path':_0x12bb34['slice'](),'oldName':_0x1df332['name'],'newName':_0x43d3b0['name']});}['_handleElementAttributeChanges'](_0x37ad9c,_0x20ecf7,_0x13d1bb){const _0x17dfa8=this['_getAttributeChanges'](_0x37ad9c['getAttributes'](),_0x20ecf7['getAttributes']());for(const _0x32eae7 in _0x17dfa8){const {oldValue:_0x44bcf7,newValue:_0x482534}=_0x17dfa8[_0x32eae7];this['_operationsData']['push']({'type':'attribute','path':_0x13d1bb['slice'](),'howMany':0x1,'key':_0x32eae7,'oldValue':_0x44bcf7,'newValue':_0x482534});}}['_handleTextAttributeChanges'](_0x85baea,_0x6af8a1,_0x22fe36){const _0x1e5bd4=this['_operationsData'],_0x267bec=_0x85baea[0x0]['parent'],_0x3b0d68=_0x85baea[0x0]['offset'],_0x52eacf=_0x6af8a1[0x0]['parent'],_0x215b5c=_0x6af8a1[0x0]['offset'],_0x3783ee=_0x85baea['reduce']((_0x1ee555,_0x4d3567)=>_0x1ee555+_0x4d3567['data']['length'],0x0),_0x18f046=this['_getAttrsForOffsets'](_0x267bec,_0x3b0d68,_0x3783ee),_0x4532e3=this['_getAttrsForOffsets'](_0x52eacf,_0x215b5c,_0x3783ee),_0x582529={};for(let _0x4e1269=0x0;_0x4e1269<_0x3783ee;_0x4e1269++){const _0x2f291a=_0x18f046[_0x3b0d68+_0x4e1269],_0x227f94=_0x4532e3[_0x215b5c+_0x4e1269],_0x31cbcc=this['_getAttributeChanges'](_0x2f291a,_0x227f94);for(const _0x3dbc06 in _0x582529)_0x31cbcc[_0x3dbc06]||_0x3a013d(_0x3dbc06);for(const _0x457451 in _0x31cbcc){const {oldValue:_0x43df89,newValue:_0x1f90f4}=_0x31cbcc[_0x457451],_0x3397a6=_0x582529[_0x457451];_0x3397a6?_0x3397a6['oldValue']==_0x43df89&&_0x3397a6['newValue']==_0x1f90f4?_0x3397a6['length']++:(_0x3a013d(_0x457451),_0x582529[_0x457451]={'oldValue':_0x43df89,'newValue':_0x1f90f4,'start':_0x4e1269,'length':0x1}):_0x582529[_0x457451]={'oldValue':_0x43df89,'newValue':_0x1f90f4,'start':_0x4e1269,'length':0x1};}}for(const _0x18b3a7 in _0x582529)_0x3a013d(_0x18b3a7);function _0x3a013d(_0x1d517e){const _0x5aa61f=_0x582529[_0x1d517e],_0x3e59c6=_0x22fe36['slice']();_0x3e59c6[_0x3e59c6['length']-0x1]+=_0x5aa61f['start'],_0x1e5bd4['push']({'type':'attribute','path':_0x3e59c6,'howMany':_0x5aa61f['length'],'key':_0x1d517e,'oldValue':_0x5aa61f['oldValue'],'newValue':_0x5aa61f['newValue']}),delete _0x582529[_0x1d517e];}}['_getAttributeChanges'](_0x3a6031,_0x4a02e2){const _0x1fb0b9={};for(const [_0x26558f,_0x50d866]of _0x3a6031)_0x1fb0b9[_0x26558f]={'oldValue':JSON['stringify'](_0x50d866),'newValue':'null'};for(const [_0x3db97a,_0x233326]of _0x4a02e2){const _0x44dcc5=JSON['stringify'](_0x233326);_0x1fb0b9[_0x3db97a]?_0x1fb0b9[_0x3db97a]['oldValue']==_0x44dcc5?delete _0x1fb0b9[_0x3db97a]:_0x1fb0b9[_0x3db97a]['newValue']=_0x44dcc5:_0x1fb0b9[_0x3db97a]={'oldValue':'null','newValue':_0x44dcc5};}return delete _0x1fb0b9[_0x4367ca],_0x1fb0b9;}['_getAttrsForOffsets'](_0x231c2b,_0x5bfdb5,_0x595613){const _0x53ab3a=new Array(_0x5bfdb5+_0x595613);let _0x50c54b=_0x231c2b['getChildAtOffset'](_0x5bfdb5),_0x22a343=_0x50c54b['startOffset'];for(;_0x50c54b&&_0x22a343<_0x5bfdb5+_0x595613;){const _0x50464b=Array['from'](_0x50c54b['getAttributes']());_0x53ab3a['fill'](_0x50464b,_0x22a343,_0x22a343+_0x50c54b['offsetSize']),_0x22a343+=_0x50c54b['offsetSize'],_0x50c54b=_0x50c54b['nextSibling'];}return _0x53ab3a;}['_getPositionFromAnchorAndPath'](_0x50efc0,_0x41733a){const _0x3c0e9d=[..._0x50efc0['path']['slice'](0x0,-0x1),_0x50efc0['offset']+_0x41733a[0x0],..._0x41733a['slice'](0x1)];return new _0x31c75c['ModelPosition'](_0x50efc0['root'],_0x3c0e9d);}['_makeModelFromTokens'](_0x4078c5){const _0x5cb774=[];let _0x281e96=null;for(const _0x4b98d7 of _0x4078c5)if('element'!=_0x4b98d7['type']||_0x4b98d7['isStart']||_0x281e96!=_0x4b98d7['element']){if(!_0x281e96){if('text'==_0x4b98d7['type']){const _0x300c51=_0x31c75c['ModelPosition']['_createAt'](_0x4b98d7['parent'],_0x4b98d7['offset']),_0x33b74f=_0x31c75c['ModelRange']['_createFromPositionAndShift'](_0x300c51,_0x4b98d7['data']['length']),_0x3f09d5=Array['from'](_0x33b74f['getItems']())['map'](_0x511300=>new _0x31c75c['ModelText'](_0x511300['data'],_0x511300['getAttributes']()));_0x5cb774['push'](..._0x3f09d5);}else{_0x281e96=_0x4b98d7['element'];const _0x15adaf=_0x4b98d7['element']['_clone'](!0x0);_0x15adaf['_removeAttribute'](_0x4367ca);for(const _0x541267 of this['_editor']['model']['createRangeIn'](_0x15adaf)['getItems']())_0x541267['is']('element')&&_0x541267['_removeAttribute'](_0x4367ca);_0x5cb774['push'](_0x15adaf);}}}else _0x281e96=null;return _0x5cb774;}}function _0x110c01(_0x44d5f1,_0x571830){return _0x44d5f1['type']===_0x571830['type']&&(_0x44d5f1['limitId']===_0x571830['limitId']&&('text'==_0x44d5f1['type']?_0x44d5f1['data']==_0x571830['data']:function(_0x29db47,_0x58eb13){if(_0x29db47['isStart']!=_0x58eb13['isStart'])return!0x1;if(_0x29db47['isStart']&&_0x29db47['elementId']!=_0x58eb13['elementId'])return!0x1;if(_0x29db47['category']!=_0x58eb13['category'])return!0x1;if('block'==_0x29db47['category'])return!0x0;if('container'==_0x29db47['category']&&_0x29db47['elementId']!=_0x58eb13['elementId'])return!0x1;return _0x29db47['element']['name']==_0x58eb13['element']['name'];}(_0x44d5f1,_0x571830)));}function _0x10c8e7(_0x153fee){return ta({'name':_0x153fee['name'],...Object['fromEntries'](_0x153fee['getAttributes']())});}function _0x30edc5({editor:_0x1c2635,changeGroups:_0x76feca,documentContextContent:_0x278bf4,showDiff:_0x4f88ea,trimUnchanged:_0x54d984=!0x0}){return _0x76feca['map'](_0x3cb73b=>{const _0x694261=new _0x444600([]),_0x3398cb=new _0x444600([]),_0x572f3c=new Set();for(const _0x58e983 of _0x3cb73b['changes'])'new'==_0x58e983['type']&&_0xbc1c1a('data-id',null,_0x58e983['node'])['forEach'](_0xfc50e1=>{_0x572f3c['add'](_0x55051d(_0xfc50e1,'data-id'));});for(const _0x4d9851 of _0x3cb73b['changes'])if('removed'!=_0x4d9851['type']?_0x3398cb['children']['push'](_0x4d9851['node']['cloneNode'](!0x0)):_0x4f88ea||_0x572f3c['has'](_0x4d9851['id'])||_0x3398cb['children']['push'](_0x4d9851['node']['cloneNode'](!0x0)),'new'!=_0x4d9851['type']&&(_0x4f88ea||'removed'!=_0x4d9851['type'])){const _0x5518b1=_0x2023b0(_0xcbdf7=>_0x55051d(_0xcbdf7,'data-id')==_0x4d9851['id'],_0x278bf4,!0x0);_0x5518b1&&_0x694261['children']['push'](_0x5518b1['cloneNode'](!0x0));}const {content:_0x389746,hasChanges:_0x1a1595}=function(_0xf2d5e2,_0x336d23,_0x524ff8,_0x16385c,_0x58babc=!0x0){const _0x20208b=_0xf2d5e2['plugins']['get']('DocumentCompare'),_0x1ab38e=_0xad603d(_0x336d23),_0x1cc92a=_0xad603d(_0x524ff8),_0x278ab4=_0xf2d5e2['data']['parse'](_0x1ab38e,'$root'),_0x4bfd21=_0xf2d5e2['model']['createPositionAt'](_0x278ab4,0x0),_0x16a75d=_0x20208b['getDiff'](_0x1ab38e,_0x1cc92a,{'anchor':_0x4bfd21,'markDeletions':_0x16385c,'targetEditor':_0xf2d5e2}),_0x1819af=_0x16a75d['getOperations']();if(0x0==_0x1819af['length'])return{'content':_0x336d23['cloneNode'](!0x0),'hasChanges':!0x1};_0x16385c?function(_0x3ade60,_0xccf8ef,_0x2e453a){if(0x0==_0x3ade60['length'])return;const _0x3d6ddc=_0x2e453a['plugins']['get']('DocumentCompare'),_0xb4c85=_0x2e453a['plugins']['get']('SuggestionsConversion');_0x2e453a['model']['change'](_0xd90df=>{const _0x379f3d=new Set();for(let _0x19962c=0x0;_0x19962c<_0x3ade60['length'];_0x19962c++){const _0xa96221=_0x3ade60[_0x19962c];if(_0xa96221['baseVersion']=null,_0xa96221['isDocumentOperation']=!0x1,_0x3d6ddc['isMarkedRemoveOperation'](_0xa96221)){const _0x38de42=_0x142cf4(_0xa96221['newRange'],_0x2e453a['model']),_0x471d6d='suggestion:deletion:'+_0x31c75c['uid']()+':$aiSuggestion';_0xccf8ef['markers']['set'](_0x471d6d,_0x38de42);}else switch(_0xa96221['type']){case'rename':{if(_0xa96221['oldName']==_0xa96221['newName'])break;_0xd90df['batch']['addOperation'](_0xa96221),_0x2e453a['model']['applyOperation'](_0xa96221);const _0x1fc46d='$elementName',_0x5cf9ec=_0xa96221['position'],_0x381b2f=_0x2e453a['model']['createRange'](_0x5cf9ec,_0x2e453a['model']['createPositionAt'](_0x5cf9ec['nodeAfter'],'end')),_0x5b4faa='suggestion:attribute:'+_0x1fc46d+':'+_0x31c75c['uid']()+':$aiSuggestion';_0xccf8ef['markers']['set'](_0x5b4faa,_0x381b2f);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0xa96221['oldValue']==_0xa96221['newValue'])break;_0xd90df['batch']['addOperation'](_0xa96221),_0x2e453a['model']['applyOperation'](_0xa96221);const _0x45bba0=_0xa96221['key'];if(!_0xb4c85['isRegisteredAttribute'](_0x45bba0))break;const _0x1485d9=_0x142cf4(_0xa96221['range'],_0x2e453a['model']),_0x2bedd4='suggestion:attribute:'+_0x45bba0+':'+_0x31c75c['uid']()+':$aiSuggestion';_0xccf8ef['markers']['set'](_0x2bedd4,_0x1485d9);break;}case'insert':{_0xd90df['batch']['addOperation'](_0xa96221),_0x2e453a['model']['applyOperation'](_0xa96221);if(_0x3ade60[_0x19962c+0x1]&&'move'==_0x3ade60[_0x19962c+0x1]['type']){_0x529013(_0xccf8ef,_0xa96221);break;}const _0x4fe0f8=_0xa96221['position'],_0x7e47be=_0xa96221['howMany'],_0x4ec81d=_0x142cf4(_0x2e453a['model']['createRange'](_0x4fe0f8,_0x4fe0f8['getShiftedBy'](_0x7e47be)),_0x2e453a['model']),_0x569262='suggestion:insertion:'+_0x31c75c['uid']()+':$aiSuggestion';_0xccf8ef['markers']['set'](_0x569262,_0x4ec81d);break;}case'split':{_0xd90df['batch']['addOperation'](_0xa96221),_0x2e453a['model']['applyOperation'](_0xa96221);const _0x584169=_0xa96221['splitPosition'],_0x20201d=_0xa96221['moveTargetPosition'],_0x423a56=_0x2e453a['model']['createRange'](_0x584169,_0x20201d),_0x4a1768='suggestion:insertion:'+_0x31c75c['uid']()+':$aiSuggestion';_0xccf8ef['markers']['set'](_0x4a1768,_0x423a56);break;}case'move':{_0xd90df['batch']['addOperation'](_0xa96221),_0x2e453a['model']['applyOperation'](_0xa96221),_0x3ade60[_0x19962c-0x1]&&'insert'==_0x3ade60[_0x19962c-0x1]['type']&&_0x529013(_0xccf8ef,_0xa96221);const _0x28b341=_0xa96221['getMovedRangeStart'](),_0x153a11=_0xa96221['howMany'];for(let _0x381e52=0x0;_0x381e52<_0x153a11;_0x381e52++){const _0x548cd6=_0x28b341['getShiftedBy'](_0x381e52)['nodeAfter'];_0x379f3d['add'](_0x548cd6);}break;}case'remove':{const _0x4886ad=_0xa96221['sourcePosition'],_0x295f85=_0xa96221['howMany'],_0x302c73=new _0x31c75c['_DetachOperation'](_0x4886ad,_0x295f85);_0xd90df['batch']['addOperation'](_0x302c73),_0x2e453a['model']['applyOperation'](_0x302c73);break;}}}for(const _0x270ca1 of _0x379f3d){const _0x58fe5f=_0x2e453a['model']['createRangeOn'](_0x270ca1),_0x1f0652='suggestion:formatBlock:$fakeWrap:'+_0x31c75c['uid']()+':$aiSuggestion';_0xccf8ef['markers']['set'](_0x1f0652,_0x142cf4(_0x58fe5f,_0x2e453a['model']));}});}(_0x1819af,_0x278ab4,_0xf2d5e2):_0xf2d5e2['model']['change'](_0x5a1f43=>{for(const _0x113f57 of _0x1819af)if('remove'==_0x113f57['type']){const _0x14db0b=_0x113f57['sourcePosition'],_0x23ce07=_0x113f57['howMany'],_0x43b454=new _0x31c75c['_DetachOperation'](_0x14db0b,_0x23ce07);_0x5a1f43['batch']['addOperation'](_0x43b454),_0xf2d5e2['model']['applyOperation'](_0x43b454);}else{if('marker'==_0x113f57['type']){const _0x26308d=_0x113f57['name'],_0xc622c3=_0x113f57['newRange'];null!==_0xc622c3?_0x278ab4['markers']['set'](_0x26308d,_0xc622c3):_0x278ab4['markers']['delete'](_0x26308d);}else _0x113f57['baseVersion']=null,_0x113f57['isDocumentOperation']=!0x1,_0x5a1f43['batch']['addOperation'](_0x113f57),_0xf2d5e2['model']['applyOperation'](_0x113f57);}});if(_0x58babc){const _0x141831=_0xebb93a(_0xf2d5e2,_0x1819af,_0x278ab4);_0x1a1e27(_0xf2d5e2['model'],_0x141831),function(_0x2ed801,_0x4436b5){const _0x5888bd=_0x4436b5['getFirstRange']()['start'];let _0x2eb9ff=_0x4436b5['getFirstRange']()['end'];const _0x217abc=_0x5888bd['root'];(_0x2eb9ff['textNode']||_0x2eb9ff['nodeAfter']&&_0x2eb9ff['nodeAfter']['is']('$text'))&&(_0x31c75c['_insertIntoModelNodeList'](_0x2eb9ff,'...'),_0x2eb9ff=_0x2eb9ff['getShiftedBy'](0x3)),(_0x5888bd['textNode']||_0x5888bd['nodeBefore']&&_0x5888bd['nodeBefore']['is']('$text'))&&(_0x31c75c['_insertIntoModelNodeList'](_0x5888bd,'...'),function(_0x1fda47,_0x5e0fb3,_0x311ab6){for(let [_0x39cfaa,_0x3b8ce9]of _0x1fda47['markers']){const _0x4a6b07=_0x3b8ce9['_getTransformedByInsertion'](_0x5e0fb3,_0x311ab6,!0x1);_0x3b8ce9=_0x4a6b07[0x0],_0x1fda47['markers']['set'](_0x39cfaa,_0x3b8ce9);}}(_0x217abc,_0x5888bd,0x3),_0x5888bd['parent']==_0x2eb9ff['parent']&&(_0x2eb9ff=_0x2eb9ff['getShiftedBy'](0x3)));const _0x4cbd28=_0x2ed801['createRange'](_0x2ed801['createPositionAt'](_0x217abc,0x0),_0x5888bd),_0x4310d7=_0x2ed801['createRange'](_0x2eb9ff,_0x2ed801['createPositionAt'](_0x217abc,'end')),_0x103fd8=[..._0x4cbd28['getMinimalFlatRanges'](),..._0x4310d7['getMinimalFlatRanges']()];_0x103fd8['reverse']();for(const _0x5dc73f of _0x103fd8)_0x31c75c['_removeFromModelNodeList'](_0x5dc73f),_0x3c8118(_0x217abc,_0x5dc73f);}(_0xf2d5e2['model'],_0x141831);}const _0x12cdea=_0xf2d5e2['data']['stringify'](_0x278ab4,{'showSuggestionHighlights':!0x0});return{'content':_0x24a09e(_0x12cdea),'hasChanges':!0x0};}(_0x1c2635,_0x694261,_0x3398cb,_0x4f88ea,_0x54d984);return{'type':_0x3cb73b['changes'][0x0]['type'],'index':_0x3cb73b['index'],'content':_0x389746,'hasChanges':_0x1a1595};});}function _0x529013(_0x140be9,_0x4654e0){for(const [_0x5e0bea,_0x4d5856]of _0x140be9['markers']){const _0x5a5376=_0x31c75c['ModelRange']['_createFromRanges'](_0x4d5856['getTransformedByOperation'](_0x4654e0));_0x140be9['markers']['set'](_0x5e0bea,_0x5a5376);}}function _0xebb93a(_0x54d69f,_0x5b52af,_0x22417e){const _0x51bc74=_0x54d69f['plugins']['get']('DocumentCompare');let _0x2e2fc8=_0x54d69f['model']['createPositionAt'](_0x22417e,Number['POSITIVE_INFINITY']),_0x4a731d=_0x54d69f['model']['createPositionAt'](_0x22417e,0x0);for(const _0x4865d0 of _0x5b52af){let _0x16e50c,_0x434c02;if(_0x51bc74['isMarkedRemoveOperation'](_0x4865d0))_0x16e50c=_0x4865d0['newRange']['start'],_0x434c02=_0x4865d0['newRange']['end'];else switch(_0x2e2fc8=_0x2e2fc8['getTransformedByOperation'](_0x4865d0),_0x4a731d=_0x4a731d['getTransformedByOperation'](_0x4865d0),_0x4865d0['type']){case'rename':_0x16e50c=_0x4865d0['position'],_0x434c02=_0x16e50c['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x16e50c=_0x4865d0['range']['start'],_0x434c02=_0x4865d0['range']['end'];break;case'insert':_0x16e50c=_0x4865d0['position'],_0x434c02=_0x16e50c['getShiftedBy'](_0x4865d0['howMany']);break;case'split':_0x16e50c=_0x4865d0['splitPosition'],_0x434c02=_0x4865d0['moveTargetPosition'];break;case'merge':{const _0x15ab9b=_0x4865d0['targetPosition']['path']['slice'](0x0,-0x1);_0x16e50c=_0x54d69f['model']['createPositionFromPath'](_0x22417e,_0x15ab9b),_0x434c02=_0x16e50c['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x80dedb=_0x4865d0['howMany'],_0x333982=_0x4865d0['sourcePosition']['_getTransformedByInsertion'](_0x4865d0['targetPosition'],_0x80dedb),_0x34c544=_0x4865d0['getMovedRangeStart']();'remove'==_0x4865d0['type']?(_0x16e50c=_0x333982,_0x434c02=_0x333982):(_0x16e50c=_0x34c544,_0x434c02=_0x34c544['getShiftedBy'](_0x80dedb));break;}}_0x16e50c&&_0x16e50c['isBefore'](_0x2e2fc8)&&(_0x2e2fc8=_0x16e50c['clone'](),_0x2e2fc8['stickiness']='toNone'),_0x434c02&&_0x434c02['isAfter'](_0x4a731d)&&(_0x4a731d=_0x434c02['clone'](),_0x4a731d['stickiness']='toNone');}return _0x54d69f['model']['createSelection'](_0x54d69f['model']['createRange'](_0x2e2fc8,_0x4a731d));}function _0x1a1e27(_0x5487e5,_0xef0f34){_0x3927b4(_0x5487e5,_0xef0f34,'forward');const _0x4c7bc5=_0xef0f34['getFirstRange']();_0xef0f34['setTo']([]),_0xef0f34['setTo'](_0x4c7bc5,{'backward':!0x0}),_0x3927b4(_0x5487e5,_0xef0f34,'backward');}function _0x3927b4(_0x3cf2b2,_0x380820,_0x5770b1){let _0x175e6d=0x14;for(;_0x175e6d;){_0x3cf2b2['modifySelection'](_0x380820,{'unit':'word','direction':_0x5770b1}),_0x175e6d--;const _0x4046c5=_0x380820['focus']['forward'==_0x5770b1?'nodeBefore':'nodeAfter'];if(_0x4046c5&&_0x4046c5['is']('element')&&_0x3cf2b2['schema']['isBlock'](_0x4046c5)&&_0x3cf2b2['schema']['isObject'](_0x4046c5))break;}}function _0x3c8118(_0x386380,_0x28aec9){for(const [_0xab9fd2,_0x56482d]of _0x386380['markers']){const _0x270b67=_0x56482d['_getTransformedByDeletion'](_0x28aec9['start'],_0x28aec9['end']['offset']-_0x28aec9['start']['offset']);null!=_0x270b67?_0x386380['markers']['set'](_0xab9fd2,_0x270b67):_0x386380['markers']['delete'](_0xab9fd2);}}class _0x5786de extends _0x31c75c['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new _0x444600([]);['parsedMergedContent']=new _0x444600([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['isFromHistory']=!0x1;['documentContextContent'];['documentId'];['dataIdDocumentSources'];['newNodeAnchorIds']=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x5964f6,content:_0x31a551='',isDone:_0x15a380=!0x1,isComplete:_0x1ae2bc,interactionId:_0x56de74,areActionsDisabled:_0x461c0a,isFromHistory:_0x47b53c=!0x1,documentContextContent:_0x61b910,dataIdDocumentSources:_0xe6a5ef,documentId:_0x105709,locale:_0x5e1faf,id:_0x510769}){super(),this['id']=_0x510769||_0x31c75c['uid'](),this['interactionId']=_0x56de74,this['type']=_0x5964f6,this['areActionsDisabled']=!!_0x461c0a,this['locale']=_0x5e1faf,this['dataIdDocumentSources']=_0xe6a5ef,this['documentId']=_0x105709,this['isFromHistory']=_0x47b53c,this['aiResponseParser']=new _0x566c2c(),this['aiResponseApplier']=new _0x5ad5e0(),this['documentContextContent']=_0x24a09e(_0x61b910||''),this['set']('isDone',_0x15a380),this['set']('isComplete',_0x1ae2bc??_0x15a380),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x31a551);}['appendContent'](_0x148c87){this['set']('content',this['content']+_0x148c87);}['done'](_0x30fd69=!0x0){this['isComplete']=_0x30fd69,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x5aef38,_0x30abd1){this['changeGroups'][_0x5aef38]['state']=_0x30abd1,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x5aef38,'state':_0x30abd1});}['getContentParts']({showDiff:_0x3ca507,groupIndex:_0x13ae48,editor:_0x36bd0b}){const _0x4ebe11=this['_getCachedContentParts'](_0x3ca507,_0x13ae48);if(_0x4ebe11)return _0x4ebe11;let _0x14317f=[];if(void 0x0===_0x13ae48)_0x14317f=this['changeGroups'];else{const _0x489803=this['changeGroups']['find'](({index:_0x4e1a82})=>_0x4e1a82===_0x13ae48);if(!_0x489803)throw new _0x31c75c['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x13ae48});_0x14317f=[_0x489803];}const _0x5ca300=_0x30edc5({'editor':_0x36bd0b,'showDiff':_0x3ca507,'changeGroups':_0x14317f,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x3ca507,_0x5ca300),_0x5ca300;}['_getCachedContentParts'](_0x121745,_0x403291){const _0x4259e7=_0x121745?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x4259e7]['length'])return null;const _0x3d2f80=this['cachedSuggestionContentParts'][_0x4259e7];if(void 0x0===_0x403291)return _0x3d2f80['length']>0x0&&_0x3d2f80['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x121745,null),null):_0xeda1dc(_0x3d2f80);{const _0x5462a7=_0x3d2f80['find'](({index:_0x510d35})=>_0x510d35===_0x403291);if(_0x5462a7)return[_0xeda1dc(_0x5462a7)];}return null;}['_setCachedContentParts'](_0x314cf2,_0x45b9ce){const _0x3808db=_0x314cf2?'withDiff':'withoutDiff';_0x45b9ce?_0x45b9ce['forEach'](_0x447182=>{const _0x4f3ba8=this['cachedSuggestionContentParts'][_0x3808db],_0x44a1d4=_0x4f3ba8['find'](({index:_0x23eea7})=>_0x23eea7===_0x447182['index']);if(_0x44a1d4){const _0x52ea50=_0x4f3ba8['indexOf'](_0x44a1d4);_0x4f3ba8['splice'](_0x52ea50,0x1,_0x447182);}else _0x4f3ba8['push'](_0x447182);}):this['cachedSuggestionContentParts'][_0x3808db]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x1417a6=this['changeGroups'];this['updateChangeGroups']();const _0x3eae38=this['_getDifferentChangeGroups'](_0x1417a6,this['changeGroups']);(_0x3eae38['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x3eae38),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x5afcec,_0x3a8f5c){const _0x3bd494=[];for(const _0x1c9c94 of _0x3a8f5c){const _0xe66acd=_0x5afcec[_0x1c9c94['index']];_0xe66acd?_0xe66acd['changes']['length']!==_0x1c9c94['changes']['length']?_0x3bd494['push'](_0x1c9c94):_0xe66acd['changes']['forEach']((_0x366866,_0x49da7e)=>{const _0x3caecf=_0x1c9c94['changes'][_0x49da7e];_0x366866['id']!==_0x3caecf['id']&&_0x3bd494['push'](_0x1c9c94);}):_0x3bd494['push'](_0x1c9c94);}return _0x3bd494;}['updateChangeGroups'](){const _0x2695ea=this['locale']?new _0x54310e('p',{},[new _0x54310e('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new _0x5dd6c2(Qt(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]):void 0x0,_0x350308=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x2695ea,'cutAfterLastChange':!this['isDone']||!this['isComplete']});if(!_0x350308['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x350308['parsedContent'],this['newNodeAnchorIds']=_0x350308['newAnchorIds'];let _0x532c04=[];if(_0x31eed8(_0x4d369a=>{const _0x2e9fb9=_0x55051d(_0x4d369a,'data-id');if(!_0x2e9fb9||!_0x510ce3(_0x2e9fb9))return!0x1;const _0x368662=[_0x4d369a,..._0x523535(_0x4d369a)]['at'](-0x2);if(_0x4d369a!=_0x368662){const _0x508d08=_0x55051d(_0x368662,'data-id');_0x510ce3(_0x508d08)||(_0x532c04['push']({'node':_0x368662,'id':_0x508d08,'type':'modified'}),_0x350308['modifiedNodeIds']['push'](_0x508d08));}else _0x350308['modifiedNodeIds']['includes'](_0x2e9fb9)?_0x532c04['push']({'node':_0x4d369a,'type':'modified','id':_0x2e9fb9}):_0x350308['newNodeIds']['includes'](_0x2e9fb9)?_0x532c04['push']({'node':_0x4d369a,'type':'new','id':_0x2e9fb9,'anchorId':_0x55051d(_0x4d369a['previousSibling'],'data-id')}):_0x532c04['push']({'node':_0x4d369a,'type':'removed','id':_0x2e9fb9});return!0x0;},this['parsedMergedContent']),_0x532c04=_0x532c04['filter'](({node:_0x34f0f1})=>[..._0x523535(_0x34f0f1),_0x34f0f1]['every'](_0x4fc263=>!_0x55051d(_0x4fc263,'data-unstable'))),0x0==_0x532c04['length'])return;const _0x5b0f26=[[_0x532c04[0x0]]];for(let _0x4f18cc=0x1;_0x4f18cc<_0x532c04['length'];_0x4f18cc++){const _0x2587e1=_0x5b0f26[_0x5b0f26['length']-0x1],_0x3409d4=_0x2587e1[_0x2587e1['length']-0x1];_0x532c04[_0x4f18cc]['node']['previousSibling']==_0x3409d4['node']&&'modified'!=_0x532c04[_0x4f18cc]['type']&&'modified'!=_0x3409d4['type']&&this['_isSameDocument'](_0x532c04[_0x4f18cc]['node'],_0x3409d4['node'])?_0x2587e1['push'](_0x532c04[_0x4f18cc]):_0x5b0f26['push']([_0x532c04[_0x4f18cc]]);}for(const _0x163689 of _0x5b0f26){const _0x320144=_0x163689[0x0],_0x189b5=_0x163689[_0x163689['length']-0x1],_0x84a8f3=_0x2dc91b(_0x320144['node']['previousSibling']);_0x84a8f3&&this['_isSameDocument'](_0x84a8f3['node'],_0x320144['node'])&&_0x163689['unshift'](_0x84a8f3);const _0x4c812e=_0x2dc91b(_0x189b5['node']['nextSibling']);_0x4c812e&&this['_isSameDocument'](_0x4c812e['node'],_0x189b5['node'])&&_0x163689['push'](_0x4c812e);}function _0x510ce3(_0x30475b){return _0x350308['modifiedNodeIds']['includes'](_0x30475b)||_0x350308['newNodeIds']['includes'](_0x30475b)||_0x350308['removedNodeIds']['includes'](_0x30475b);}function _0x2dc91b(_0x26250e){if(_0x26250e&&_0x55051d(_0x26250e,'data-id')&&!_0x55051d(_0x26250e,'data-unstable')){const _0x390d75=_0x55051d(_0x26250e,'data-id');if(!_0x510ce3(_0x390d75))return{'node':_0x26250e,'type':'context','id':_0x390d75};}return null;}this['changeGroups']=_0x5b0f26['map']((_0x2f2aa4,_0x54a9fc)=>({'changes':_0x2f2aa4,'state':'pending','index':_0x54a9fc}));}['_isSameDocument'](_0x42876c,_0x3c8605){if(!this['dataIdDocumentSources']?.['size'])return!0x0;const _0x41e282=this['_resolveDocumentSource'](_0x42876c),_0x4d4a94=this['_resolveDocumentSource'](_0x3c8605);return!_0x41e282||!_0x4d4a94||_0x41e282['editor']===_0x4d4a94['editor']&&_0x41e282['rootName']===_0x4d4a94['rootName'];}['_resolveDocumentSource'](_0x10b6d9){if(!_0x10b6d9||!this['dataIdDocumentSources'])return;const _0xae34a2=_0x55051d(_0x10b6d9,'data-id');if(_0xae34a2){const _0x3b53e4=this['dataIdDocumentSources']['get'](_0xae34a2);if(_0x3b53e4)return _0x3b53e4;const _0x192652=this['newNodeAnchorIds']['get'](_0xae34a2),_0x16ab32=_0x192652?this['dataIdDocumentSources']['get'](_0x192652):void 0x0;if(_0x16ab32)return _0x16ab32;}for(let _0x58d712=_0x10b6d9['previousSibling'];_0x58d712;_0x58d712=_0x58d712['previousSibling']){const _0x44f7ca=_0x55051d(_0x58d712,'data-id'),_0xd74956=_0x44f7ca?this['dataIdDocumentSources']['get'](_0x44f7ca):void 0x0;if(_0xd74956)return _0xd74956;}for(let _0x11d8f6=_0x10b6d9['nextSibling'];_0x11d8f6;_0x11d8f6=_0x11d8f6['nextSibling']){const _0x111bba=_0x55051d(_0x11d8f6,'data-id'),_0x476fe7=_0x111bba?this['dataIdDocumentSources']['get'](_0x111bba):void 0x0;if(_0x476fe7)return _0x476fe7;}}}const _0x309438=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x31c75c['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x48a105,locale:_0x4daf00}){super(),this['id']=_0x31c75c['uid'](),this['connector']=_0x48a105,this['isStopped']=!0x0,this['locale']=_0x4daf00;}async['start'](){const _0x11e406=[];let _0x3fbc67,_0x19446d,_0x530037,_0x517e0d=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x3765ca=await this['currentRequest']['getStream']();for await(const _0x36464b of _0x3765ca){if(this['isStopped'])return;if('error'==_0x36464b['event'])return void this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x36464b['event']){case'message-metadata':this['messageId']=_0x36464b['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x36464b['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x36464b['data']['conversationTitle'],!0x0);break;case'source':_0x11e406['push'](_0x36464b['data']['source']);break;case'web-search':this['_isWebSearching']||(this['_isWebSearching']=!0x0,this['fire']('webSearchStarted',this));break;case'reasoning':this['_isReasoning']||(this['_isReasoning']=!0x0,this['fire']('reasoningStarted',this));break;case'modification-delta':case'text-delta':this['resetReasoningState'](),this['resetWebSearchState'](),_0x3fbc67='modification-delta'==_0x36464b['event']?'modification':'text',_0x19446d='modification-delta'==_0x36464b['event']?_0x36464b['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x3fbc67&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']?'modification-delta'==_0x36464b['event']&&(this['currentReply']['documentId']=_0x36464b['data']['documentId']):(this['currentReply']=this['createReply']({'type':_0x3fbc67,'interactionId':this['id'],'id':_0x19446d,...'modification-delta'==_0x36464b['event']&&{'documentId':_0x36464b['data']['documentId']}}),'modification'==_0x3fbc67&&(this['currentReply']['sources']=_0x11e406['splice'](0x0))),this['currentReply']['appendContent'](_0x36464b['data']['textDelta']);break;case'mcp-tool-result':_0x530037=JSON['parse'](_0x36464b['data']['result']),this['_handleToolResultData']({'toolName':_0x36464b['data']['toolName'],'data':_0x530037['data'],'attributes':_0x530037['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x36464b['data']['toolName'],'data':_0x36464b['data']['data']});}}_0x517e0d=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x11e406['length']>0x0&&(this['currentReply']['sources']=_0x11e406['splice'](0x0)),this['_finalizeInteraction'](_0x517e0d),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x5abcf9){return this['replies']['find'](_0x32aa03=>_0x32aa03['id']===_0x5abcf9);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x2d7f0e=>_0x2d7f0e['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x1844bf){const _0x2fac4a=new _0x5786de({'locale':this['locale'],'documentContextContent':this['getDocumentContext']()?.['content'],'dataIdDocumentSources':this['getDocumentContext']()?.['dataIdDocumentSources'],..._0x1844bf});return this['replies']['push'](_0x2fac4a),_0x2fac4a['delegate'](..._0x309438)['to'](this),this['fire']('replyCreated',_0x2fac4a),_0x2fac4a;}['setConversationTitle'](_0x3f89eb,_0x1ceed0=!0x1){this['fire']('setConversationTitle',_0x3f89eb,_0x1ceed0);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x1c8091){this['fire']('toolDataReceived',{'type':'result','toolName':_0x1c8091['toolName'],'data':structuredClone(_0x1c8091['data']||{}),'attributes':structuredClone(_0x1c8091['attributes']||{})},this);}['_handleToolNotificationData'](_0x3bbe6b){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x3bbe6b['toolName'],'data':structuredClone(_0x3bbe6b['data'])},this);}['_finalizeInteraction'](_0x42ecdc=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x42ecdc),this['currentRequest']=this['currentReply']=void 0x0;}}const _0x16be36=new Map([['usage-limits-exceeded','ai-usage-limits-exceeded'],['rate-limits-exceeded','ai-rate-limits-exceeded'],['invalid-content-type','ai-invalid-content-type'],['invalid-request-data','ai-chat-invalid-request'],['model-already-set','ai-chat-model-already-set'],['model-not-found','ai-chat-model-not-found'],['unsafe-content-detected','ai-chat-unsafe-content-detected'],['unsupported-content-type','ai-chat-unsupported-content-type'],['content-too-large','ai-chat-content-too-large'],['unsupported-file-type','ai-chat-context-unsupported-file-type'],['file-too-large','ai-chat-context-file-too-large'],['file-too-many-pages','ai-chat-context-file-too-many-pages'],['form-data-size-limits-exceeded','ai-chat-context-form-data-size-limits-exceeded']]),_0xe82537=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0x31c75c['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x16e70d,config:_0x3b7a1c,ownerId:_0x198772}){super(),this['_connector']=_0x16e70d,this['_config']=_0x3b7a1c,this['_ownerId']=_0x198772;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_documentSources']=new Map(),this['_dataIdToSource']=new Map(),this['_setAddContextOptionsDefaultState']();}['_getDocumentSource'](_0x50e029){if(_0x50e029)return this['_documentSources']['get'](_0x50e029);}['getSourceByDataId'](_0x479f98){if(_0x479f98)return this['_dataIdToSource']['get'](_0x479f98);}['_getDocumentContextSlice'](_0x3e8d4d){const _0x3fbdd5=this['_getDocumentSource'](_0x3e8d4d);if(_0x3fbdd5)return{'editor':_0x3fbdd5['editor'],'rootName':_0x3fbdd5['rootName'],'html':_0x3fbdd5['content'],'version':_0x3fbdd5['version']};}['getDocumentContextSliceByDataId'](_0x4cf5bd){const _0x487435=this['getSourceByDataId'](_0x4cf5bd);return _0x487435?this['_getDocumentContextSlice'](_0x487435['documentId']):void 0x0;}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x9f5707){const _0x18f88d=await this['_createContextItemFromContent'](_0x9f5707);return this['_addToConversationContextItem'](_0x18f88d),'current-document'===_0x18f88d['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x18f88d;}async['populateDocumentsFromMessage'](_0xef92d6,_0x1127bd){const _0x319ba2=_0xef92d6['filter'](_0xd409c5=>'document'===_0xd409c5['type']);if(0x0===_0x319ba2['length'])return{'hasUnmatched':!0x1};if(0x1===_0x319ba2['length'])return{'contextItem':await this['populateFromMessage'](_0x319ba2[0x0]),'hasUnmatched':!0x1};const _0x13f9ec=_0x319ba2['map'](_0xb83dd7=>_0xb83dd7['id']),_0x4cf121=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x13f9ec)['getDocuments'](),_0x2a14cc=new Map(_0x4cf121['map'](_0x48527e=>[_0x48527e['id'],_0x48527e]));this['_documentSources']['clear'](),this['_dataIdToSource']['clear']();const _0x20b4d1=[];let _0x11c3ea=!0x1;for(const _0x2e1ce2 of _0x319ba2){const _0x50b785=_0x2a14cc['get'](_0x2e1ce2['id']);if(!_0x50b785)continue;const _0x3f7017=this['_matchDocumentToRoot'](_0x50b785,_0x1127bd),_0x37819c=_0x1127bd[0x0]&&this['_getFirstRoot'](_0x1127bd[0x0]);_0x3f7017||(_0x11c3ea=!0x0);const _0x185b93=_0x3f7017?.['editor']??_0x37819c?.['editor'],_0x259012=_0x3f7017?.['rootName']??_0x37819c?.['rootName'];if(_0x185b93&&_0x259012){const _0x213908={'editor':_0x185b93,'rootName':_0x259012,'content':_0x50b785['content'],'version':_0x50b785['attributes']?.['version']??0x0,'name':_0x50b785['name'],'description':_0x50b785['description']};this['_documentSources']['set'](_0x50b785['id'],_0x213908);const _0x6d6365=_0x24a09e(_0x50b785['content']);for(const _0x12b462 of _0x31eed8(_0x30e239=>!!_0x55051d(_0x30e239,'data-id'),_0x6d6365)){const _0x26b17f=_0x55051d(_0x12b462,'data-id');_0x26b17f&&this['_dataIdToSource']['set'](_0x26b17f,{..._0x213908,'documentId':_0x50b785['id']});}}_0x20b4d1['push']({'id':_0x50b785['id'],'content':_0x50b785['content'],'version':_0x50b785['attributes']?.['version']??0x0,'sessionId':_0x50b785['attributes']?.['sessionId']??null,'selection':[]});}const _0x107910={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0x20b4d1,'dataIdDocumentSources':new Map(this['_dataIdToSource'])};return this['_addToConversationContextItem'](_0x107910),this['_toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x107910,'hasUnmatched':_0x11c3ea};}['_matchDocumentToRoot'](_0x424d6d,_0x532670){const _0x1a24d8=_0x424d6d['attributes']?.['channelId'],_0x3c48aa=_0x424d6d['attributes']?.['rootName'];if(_0x1a24d8&&_0x3c48aa){for(const _0x271859 of _0x532670)if(_0x271859['config']['get']('collaboration.channelId')===_0x1a24d8){for(const _0x183eff of _0x271859['model']['document']['getRoots']())if('$graveyard'!==_0x183eff['rootName']&&_0x183eff['rootName']===_0x3c48aa)return{'editor':_0x271859,'rootName':_0x183eff['rootName']};}}}['_getFirstRoot'](_0x3bfa9e){for(const _0x4236ed of _0x3bfa9e['model']['document']['getRoots']())if('$graveyard'!==_0x4236ed['rootName'])return{'editor':_0x3bfa9e,'rootName':_0x4236ed['rootName']};}async['_createContextItemFromContent'](_0x4583a5){if('document'===_0x4583a5['type']){const _0x4aceab=await this['_connector']['fetchDocument'](this['_ownerId'],_0x4583a5['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x4583a5['type'],'content':_0x4aceab['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x4aceab['attributes']?.['version'],'sessionId':_0x4aceab['attributes']?.['sessionId']};}if('mcp-tool-context'===_0x4583a5['type'])return{'id':_0x4583a5['id'],'uiId':_0x4583a5['id'],'label':_0x4583a5['data']?.['label']||_0x4583a5['id'],'type':'mcp-tool-context','mcpServerName':_0x4583a5['mcpServerName'],'toolName':_0x4583a5['toolName'],'data':_0x4583a5['data']||{}};return{'id':_0x4583a5['id'],'uiId':_0x4583a5['id'],'label':_0x4583a5['attributes']?.['label']||_0x4583a5['name']||_0x4583a5['url']||_0x4583a5['id'],'type':_0x4583a5['type'],..._0x4583a5?.['attributes']?.['resourceId']?{'resourceId':_0x4583a5['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x361fa3){const _0x36d408=this['_pendingContextItems']['get'](_0x361fa3);_0x36d408?.['isReadOnly']||this['_removeContextItem'](_0x361fa3);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x328707 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x328707['uiId']);const _0x10f65b=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x10f65b&&this['_addContextItem']({..._0x10f65b,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x4fa2e9){for(const _0x23a43f of _0x4fa2e9['values']())this['_addToConversationContextItem'](_0x23a43f);this['clearPendingContextItems'](),this['fire']('contextSent',{'contextItems':Array['from'](this['getSentContextItems']()['values']())});}['isCurrentDocumentInContext'](){return this['_pendingContextItems']['has']('current-document');}['isSelectionInContext'](){return this['_pendingContextItems']['has']('selection');}['isCurrentDocumentInConversation'](){return this['_conversationContextItems']['has']('current-document');}static['mapContextItemsToRequestData'](_0x355e40){return Array['from'](_0x355e40['values']())['flatMap'](_0x478675=>this['_mapContextItemToRequestData'](_0x478675));}async['addFilesToContext'](_0x22022c,_0x1fa31c,_0x62bb49='file'){const _0x32e5e6='files-'+_0x31c75c['uid']();this['_startUploadOperation'](_0x32e5e6);try{await Promise['all'](_0x22022c['map'](async _0x137835=>{const _0x502cf2='file-'+_0x31c75c['uid'](),_0x3f7903=Tt(_0x137835['name']);try{this['_addContextItem']({'type':_0x62bb49,'label':_0x1fa31c?.['label']||_0x3f7903,'uiId':_0x502cf2,'resourceId':_0x1fa31c?.['resourceId']},!0x0);const _0x3376ed=this['_connector']['uploadFile'](this['_ownerId'],_0x137835,_0x1fa31c);this['_ongoingUploads']['set'](_0x502cf2,_0x3376ed['abortController']);const {id:_0x5c4ee4}=await _0x3376ed['getId']();this['_ongoingUploads']['delete'](_0x502cf2),this['_finishContextItemLoading']({'type':_0x62bb49,'id':_0x5c4ee4,'label':_0x1fa31c?.['label']||_0x3f7903,'uiId':_0x502cf2,'resourceId':_0x1fa31c?.['resourceId']},!0x1);}catch(_0x42a70b){this['_ongoingUploads']['delete'](_0x502cf2);if(!(_0x42a70b instanceof _0x31c75c['CKEditorError']&&_0x42a70b['message']['startsWith']('ai-request-aborted'))){const _0x3ce6d3=_0x16be36['get'](_0x42a70b['code'])||'ai-chat-file-upload-failed',_0x144c49=new _0x31c75c['CKEditorError'](_0x3ce6d3,null,{'fileName':_0x3f7903,..._0x42a70b});_0x144c49['stack']=_0x42a70b['stack'],this['fire']('error',{'error':_0x144c49});}this['_removeContextItem'](_0x502cf2);}}));}finally{this['_finishUploadOperation'](_0x32e5e6);}}['addCurrentDocumentToContext'](_0xe35fea){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x44a504={'type':'document','uiId':'current-document','label':_0xe35fea,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x44a504);}async['updateCurrentDocument'](_0xd9f22d,_0x4377aa,_0x441717,_0x5e45e1,_0x587dca,_0x253e31){const _0x5605b1=this['_pendingContextItems']['get']('current-document');if(_0x5605b1&&_0xd9f22d){_0x5605b1['selection']=_0x253e31?_0x253e31['map'](_0x327862=>({'start':_0x327862['start'],'end':_0x327862['end']})):[];try{if(_0x5605b1['version']===_0x4377aa)return;const {id:_0x19401d}=await this['_connector']['uploadDocument'](this['_ownerId'],_0xd9f22d,{'version':_0x4377aa,'sessionId':_0x441717,'channelId':_0x5e45e1,'rootName':_0x587dca})['getId']();_0x5605b1['id']=_0x19401d,_0x5605b1['content']=_0xd9f22d,_0x5605b1['version']=_0x4377aa,_0x5605b1['sessionId']=_0x441717;}catch(_0x475d2d){const _0xac0565=new _0x31c75c['CKEditorError']('ai-chat-document-upload-failed',null);_0xac0565['stack']=_0x475d2d['stack'],this['fire']('error',{'error':_0xac0565});}}}async['updateCurrentDocuments'](_0x2fda56){const _0x2a469a=this['_pendingContextItems']['get']('current-document');if(!_0x2a469a||!_0x2fda56['length']||_0x2fda56['every'](_0x2432b3=>!_0x2432b3['content']))return;_0x2fda56['length']>0x1&&_0x2fda56['some'](_0x28770e=>!_0x28770e['description'])&&_0x31c75c['logWarning']('ai-chat-documents-missing-description');const _0x1a1b4d=_0x47eeb5=>_0x47eeb5?_0x47eeb5['map'](_0x29cf90=>({'start':_0x29cf90['start'],'end':_0x29cf90['end']})):[],_0x50eadd=_0x2a469a['documents']??[],_0x4d5090=_0x50eadd['length']===_0x2fda56['length']&&_0x2fda56['every']((_0xbd88fb,_0x309d64)=>_0x50eadd[_0x309d64]?.['version']===_0xbd88fb['version']);if(_0x4d5090)_0x2a469a['documents']=_0x50eadd['map']((_0x54601d,_0x3f3e26)=>({..._0x54601d,'selection':_0x1a1b4d(_0x2fda56[_0x3f3e26]['selections'])}));else try{const _0x3a9a6d=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x2fda56)['getIds']();_0x2a469a['documents']=_0x2fda56['map']((_0x2f4bf2,_0x368875)=>({'id':_0x3a9a6d[_0x368875]?.['id'],'content':_0x2f4bf2['content'],'version':_0x2f4bf2['version'],'sessionId':_0x2f4bf2['sessionId'],'selection':_0x1a1b4d(_0x2f4bf2['selections'])})),this['_documentSources']['clear'](),this['_dataIdToSource']['clear']();for(let _0x31b0c5=0x0;_0x31b0c5<_0x2fda56['length'];_0x31b0c5++){const _0x3b7d22=_0x3a9a6d[_0x31b0c5]?.['id'],_0x3f1005=_0x2fda56[_0x31b0c5];if(!_0x3b7d22)continue;const _0x31b23e={'editor':_0x3f1005['editor'],'rootName':_0x3f1005['rootName'],'content':_0x3f1005['content'],'version':_0x3f1005['version'],'name':_0x3f1005['name'],'description':_0x3f1005['description']};this['_documentSources']['set'](_0x3b7d22,_0x31b23e);const _0x52fe2c=_0x24a09e(_0x3f1005['content']);for(const _0x8de876 of _0x31eed8(_0x1cf508=>!!_0x55051d(_0x1cf508,'data-id'),_0x52fe2c)){const _0x25ecc5=_0x55051d(_0x8de876,'data-id');_0x25ecc5&&this['_dataIdToSource']['set'](_0x25ecc5,{..._0x31b23e,'documentId':_0x3b7d22});}}_0x2a469a['dataIdDocumentSources']=new Map(this['_dataIdToSource']);}catch(_0x2368b4){const _0x3f5e31=new _0x31c75c['CKEditorError']('ai-chat-document-upload-failed',null);_0x3f5e31['stack']=_0x2368b4['stack'],this['fire']('error',{'error':_0x3f5e31});}}['addSelectionToContext'](_0x5823c3){this['_addContextItem']({'type':'selection','label':_0x5823c3,'uiId':'selection','content':_0x5823c3});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x3b12fe,_0x299cab){const _0x2d590c='url-'+_0x31c75c['uid']();this['_startUploadOperation'](_0x2d590c);const _0xbd1717='url-'+_0x31c75c['uid']();try{this['_addContextItem']({'type':'web-resource','label':_0x299cab?.['label']||_0x3b12fe,'uiId':_0xbd1717,'resourceId':_0x299cab?.['resourceId']},!0x0);const _0x28324e=this['_connector']['uploadUrl'](this['_ownerId'],_0x3b12fe,_0x299cab);this['_ongoingUploads']['set'](_0xbd1717,_0x28324e['abortController']);const {id:_0x34d339}=await _0x28324e['getId']();this['_ongoingUploads']['delete'](_0xbd1717),this['_finishContextItemLoading']({'type':'web-resource','id':_0x34d339,'label':_0x299cab?.['label']||_0x3b12fe,'uiId':_0xbd1717,'resourceId':_0x299cab?.['resourceId']},!0x1);}catch(_0x12b595){this['_ongoingUploads']['delete'](_0xbd1717),(_0x12b595['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x3b12fe,'originalError':_0x12b595}),'url':_0x3b12fe}),this['_removeContextItem'](_0xbd1717));}finally{this['_finishUploadOperation'](_0x2d590c);}}['addToolItemToContext'](_0x5334a0){_0x5334a0['id']=_0x5334a0['id']??_0x31c75c['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x5334a0['uiId'],_0x5334a0),this['fire']('contextItemAdded',{'contextItem':_0x5334a0,'isLoading':!0x1});}async['loadSourceResources'](_0x2fc059,_0xb9bb62,_0x1ba878){const _0x478dc2=this['_addContextOptionsState']['sources']['find'](_0x3dd9b6=>_0x3dd9b6['id']===_0x2fc059);if(!_0x478dc2)return this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x2fc059}),'sourceId':_0x2fc059}),[];try{const _0xc5242f=(await _0x478dc2['getResources'](_0xb9bb62))['map'](_0x59de6c=>{const _0x12bed3=this['_isResourceInContext'](_0x59de6c['id']);return{..._0x59de6c,'isInContext':_0x12bed3};});return _0x478dc2['resources']=_0xc5242f,this['fire']('sourceResourcesLoaded',{'sourceId':_0x2fc059,'source':_0x478dc2,'resources':_0xc5242f,'uid':_0x1ba878}),_0xc5242f;}catch(_0x4c719f){return this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x2fc059,'originalError':_0x4c719f}),'sourceId':_0x2fc059,'sourceLabel':_0x478dc2['label']}),[];}}async['addResourceToContext'](_0x47eeea,_0x55a3ea){if(this['_isResourceInContext'](_0x55a3ea['id']))return;let _0x53955f=_0x55a3ea['data'];if(!_0x53955f&&_0x47eeea['getData'])try{_0x53955f=await _0x47eeea['getData'](_0x55a3ea['id']);}catch(_0x408b99){return void this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id'],'originalError':_0x408b99}),'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']});}if(_0x53955f)switch(_0x55a3ea['type']){case'web-resource':if('string'!=typeof _0x53955f)return void this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id'],'expectedType':'string','actualType':typeof _0x53955f}),'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']});await this['addUrlToContext'](_0x53955f,{'label':_0x55a3ea['label'],'resourceId':_0x55a3ea['id']});break;case'file':if(!(_0x53955f instanceof File))return void this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id'],'expectedType':'File','actualType':typeof _0x53955f}),'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']});await this['addFilesToContext']([_0x53955f],{'label':_0x55a3ea['label'],'resourceId':_0x55a3ea['id']});break;case'text':if('object'!=typeof _0x53955f||!('content'in _0x53955f)||!('type'in _0x53955f))return void this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x53955f}),'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']});_0x53955f=AIChatContext['_convertTextResourceToFile'](_0x53955f,_0x55a3ea['label']),await this['addFilesToContext']([_0x53955f],{'label':_0x55a3ea['label'],'resourceId':_0x55a3ea['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id'],'resourceType':_0x55a3ea['type']}),'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']});}else this['fire']('error',{'error':new _0x31c75c['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']}),'resourceId':_0x55a3ea['id'],'sourceId':_0x47eeea['id']});}static['_convertTextResourceToFile'](_0x42c6f0,_0x49e3f6){switch(_0x42c6f0['type']){case'markdown':return new File([_0x42c6f0['content']],_0x49e3f6,{'type':'text/markdown'});case'html':return new File([_0x42c6f0['content']],_0x49e3f6,{'type':'text/html'});default:return new File([_0x42c6f0['content']],_0x49e3f6,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x3ca7c7){switch(_0x3ca7c7['type']){case'file':case'text':return[{'type':'file','id':_0x3ca7c7['id']}];case'web-resource':return[{'type':'web-resource','id':_0x3ca7c7['id']}];case'document':return _0x3ca7c7['documents']?.['length']?_0x3ca7c7['documents']['map'](_0x17c82f=>({'type':'document','id':_0x17c82f['id'],..._0x17c82f['selection']?.['length']&&{'selection':_0x17c82f['selection']}})):[{'type':'document','id':_0x3ca7c7['id'],..._0x3ca7c7['selection']?.['length']&&{'selection':_0x3ca7c7['selection']}}];case'mcp-tool-context':{const _0x5f1dea=_0x3ca7c7;return[{'type':'mcp-tool-context','mcpServerName':_0x5f1dea['mcpServerName'],'toolName':_0x5f1dea['toolName'],'data':{..._0x5f1dea['data'],'label':_0x5f1dea['label']||_0x5f1dea['data']?.['label']||_0x5f1dea['id']},'id':_0x5f1dea['id']}];}default:return[];}}['_addContextItem'](_0x5a8665,_0x34b9d1=!0x1){if(this['_pendingContextItems']['set'](_0x5a8665['uiId'],_0x5a8665),_0x5a8665['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x5a8665,'isLoading':_0x34b9d1}),'current-document'===_0x5a8665['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x5a8665['resourceId']){const _0x35121b=this['_findSourceIdsByResourceId'](_0x5a8665['resourceId']);_0x35121b&&_0x35121b['forEach'](_0x57d7d0=>{this['_updateResourceInContextState'](_0x57d7d0,_0x5a8665['resourceId'],!0x0);});}}['_removeContextItem'](_0x4f5a83){const _0x129462=this['_pendingContextItems']['get'](_0x4f5a83),_0x37a30d=this['_ongoingUploads']['get'](_0x4f5a83);if(_0x37a30d&&(_0x37a30d['abort'](),this['_ongoingUploads']['delete'](_0x4f5a83)),_0x129462?.['resourceId']){const _0x55beeb=this['_findSourceIdsByResourceId'](_0x129462['resourceId']);_0x55beeb&&_0x55beeb['forEach'](_0x4b06e8=>{this['_updateResourceInContextState'](_0x4b06e8,_0x129462['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x4f5a83),this['fire']('contextItemRemoved',{'uiId':_0x4f5a83,'type':_0x129462?.['type']}),'current-document'===_0x4f5a83&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x48f894,_0x1c489f){if(this['_pendingContextItems']['has'](_0x48f894['uiId'])&&(this['_pendingContextItems']['set'](_0x48f894['uiId'],_0x48f894),this['fire']('contextItemLoadingEnded',{'contextItem':_0x48f894,'isLoading':_0x1c489f}),_0x48f894['resourceId'])){const _0x51848d=this['_findSourceIdsByResourceId'](_0x48f894['resourceId']);_0x51848d&&_0x51848d['forEach'](_0x360aea=>{this['_updateResourceInContextState'](_0x360aea,_0x48f894['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x57db06){this['_conversationContextItems']['set'](_0x57db06['uiId'],_0x57db06);}['_setAddContextOptionsDefaultState'](){this['_addContextOptionsState']={'document':{'enabled':!0x1!==this['_config']?.['document']?.['enabled'],'isHidden':!0x1},'urls':{'enabled':!0x1!==this['_config']?.['urls']?.['enabled']},'files':{'enabled':!0x1!==this['_config']?.['files']?.['enabled']},'sources':this['_getCustomSourcesInitialState'](),'customItems':this['_config']?.['customItems']?.['map'](_0x4fe682=>({..._0x4fe682,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x2dce08=>({..._0x2dce08,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x92645f=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x92645f,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0xc54555){for(const _0x5bb510 of this['_pendingContextItems']['values']())if(_0x5bb510['resourceId']===_0xc54555)return!0x0;for(const _0x255646 of this['_conversationContextItems']['values']())if(_0x255646['resourceId']===_0xc54555)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x40f179){const _0x309af4=[];for(const _0x269635 of this['_addContextOptionsState']['sources']){_0x269635['resources']['find'](_0x4a5c58=>_0x4a5c58['id']===_0x40f179)&&_0x309af4['push'](_0x269635['id']);}return 0x0===_0x309af4['length']?null:_0x309af4;}['_updateResourceInContextState'](_0xb153d8,_0x2a209b,_0x1258b6){const _0xc2fed8=this['_addContextOptionsState']['sources']['find'](_0x51700b=>_0x51700b['id']===_0xb153d8);if(!_0xc2fed8)return;const _0x1ec71b=_0xc2fed8['resources']['find'](_0x3c7915=>_0x3c7915['id']===_0x2a209b);_0x1ec71b&&(_0x1ec71b['isInContext']=_0x1258b6,this['fire']('resourceStateChanged',{'sourceId':_0xb153d8,'resourceId':_0x2a209b,'isInContext':_0x1258b6}));}['_startUploadOperation'](_0x2da18d){this['_ongoingUploadOperations']['set'](_0x2da18d,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x6b7847){this['_ongoingUploadOperations']['delete'](_0x6b7847),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x1742a9=['capabilitiesUpdated'];class AICapabilities extends _0x31c75c['EmitterMixin'](){['_isWebSearchEnabled'];['_isReasoningEnabled'];constructor(){super(),this['_isWebSearchEnabled']=!0x1,this['_isReasoningEnabled']=!0x1;}['init'](){this['reset']();}['reset'](){this['setWebSearch'](!0x1),this['setReasoning'](!0x1);}['getCapabilitiesConfig'](){return{'isWebSearchEnabled':this['_isWebSearchEnabled'],'isReasoningEnabled':this['_isReasoningEnabled']};}static['getCapabilitiesRequestData'](_0x5cc07b){const _0x5a368f={};return _0x5cc07b&&_0x5cc07b['isWebSearchEnabled']&&(_0x5a368f['webSearch']={}),_0x5cc07b&&_0x5cc07b['isReasoningEnabled']&&(_0x5a368f['reasoning']={}),_0x5a368f;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x30f211){_0x30f211!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x30f211,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x1c5ae5){_0x1c5ae5!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x1c5ae5,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x5939a0){super(_0x5939a0),this['conversationId']=_0x5939a0['conversationId'],this['contextItems']=_0x5939a0['contextItems'],this['capabilities']=_0x5939a0['capabilities'],this['userMessage']=_0x5939a0['userMessage'],this['model']=_0x5939a0['model'],this['attributes']=_0x5939a0['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}['createReply'](_0x24cba0){const _0x3b53a5=this['getDocumentContext']();if(_0x3b53a5?.['documents']?.['length']){const _0x16c606=_0x3b53a5['documents']['map'](_0x3b8997=>_0x3b8997['content']??'')['join']('');if(_0x16c606)return super['createReply']({'documentContextContent':_0x16c606,..._0x24cba0});}return super['createReply'](_0x24cba0);}}class AIChatConversation extends _0x31c75c['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x49c295){super(),this['options']=_0x49c295,this['connector']=_0x49c295['connector'],this['chatModels']=_0x49c295['chatModels'],this['id']=_0x49c295['conversationId'],this['isFromHistory']=_0x49c295['isFromHistory'];}async['init'](_0x2a40aa){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x2a40aa,'ownerId':this['id']}),this['chatContext']['delegate'](..._0xe82537)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x1742a9)['to'](this),this['chatCapabilities']['init']();const _0x57c7f9=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x57c7f9});const _0x5e48ed=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x5e48ed&&await this['setModel'](_0x5e48ed);}catch(_0x3958bd){const _0x3ad01e=new _0x31c75c['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x3958bd['message']||_0x3958bd});_0x3ad01e['stack']=_0x3958bd['stack'],this['fire']('error',{'error':_0x3ad01e});}}async['start'](){if(this['isStarted'])throw new _0x31c75c['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x31c75c['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x2dd437}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x2dd437,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x32d6d1){const _0x2f885a=new _0x31c75c['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x32d6d1['message'],'conversationId':this['id']});throw _0x2f885a['stack']=_0x32d6d1['stack'],this['fire']('error',{'error':_0x2f885a}),_0x2f885a;}}async['load'](_0xa47430,_0x48eb82){try{const _0x306ae2=await this['connector']['fetchConversation'](_0xa47430)['getConversation'](),_0x2eff65=await this['connector']['fetchConversationMessages'](_0xa47430)['getMessages'](),_0x216e66=_0x2eff65[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x306ae2['id'],'title'in _0x306ae2?this['fire']('setConversationTitle',_0x306ae2['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x2a0657=(await this['chatModels']['getAll']())['find'](_0x4957b3=>_0x4957b3['id']['toLowerCase']()===_0x216e66['toLowerCase']());return this['selectedModel']=_0x2a0657,this['fire']('modelSelected',{'selectedModel':_0x2a0657,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x2eff65,_0x48eb82,_0x216e66),this['currentInteraction']=void 0x0,this;}catch(_0x42ba12){const _0x33977e=new _0x31c75c['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x42ba12['message'],'conversationId':_0xa47430});throw _0x33977e['stack']=_0x42ba12['stack'],this['fire']('error',{'error':_0x33977e}),_0x33977e;}}async['_processMessagesToInteractions'](_0x4c75fc,_0x3cf027,_0x55e419){let _0x3933b1,_0x4f619a=!0x1;for(const _0x3a6a2e of _0x4c75fc)if('user'===_0x3a6a2e['role']){const {contextItems:_0x103f97,hasUnmatched:_0x2a9111}=await this['_extractContextItems'](_0x3a6a2e);_0x4f619a=_0x2a9111;const _0x59ff5b={'isReasoningEnabled':Object['hasOwn'](_0x3a6a2e['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x3a6a2e['capabilities'],'webSearch')};_0x3933b1=this['createInteraction']({'userMessage':_0x3a6a2e['prompt'],'contextItems':_0x103f97,'capabilities':_0x59ff5b,'modelId':_0x55e419,'attributes':_0x3a6a2e['attributes']}),this['currentInteraction']=_0x3933b1,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x3a6a2e['role']&&_0x3933b1){const _0x46bac4=[];for(const _0x388dd9 of _0x3a6a2e['content'])switch(_0x388dd9['type']){case'text':case'modification':{const _0x33e0c8=_0x3933b1['getDocumentContext'](),_0x5e16f6=_0x33e0c8?.['documents']?.['length']?_0x33e0c8['documents']['some'](_0x597bb6=>_0x597bb6['sessionId']!==_0x3cf027):_0x33e0c8?.['sessionId']!==_0x3cf027,_0x30b213=_0x5e16f6||_0x4f619a;_0x3933b1['currentReply']?.['type']!==_0x388dd9['type']&&(_0x3933b1['currentReply']=_0x3933b1['createReply']({'type':_0x388dd9['type'],'isDone':!0x0,'interactionId':_0x3933b1['id'],'areActionsDisabled':_0x30b213,'isFromHistory':!0x0}),_0x46bac4['length']>0x0&&(_0x3933b1['currentReply']['sources']=_0x46bac4['splice'](0x0))),_0x3933b1['currentReply']['appendContent'](_0x388dd9['content']);break;}case'url':_0x46bac4['push'](_0x388dd9);break;case'mcp-tool-result':{const {data:_0x366ec7,attributes:_0x437157}=JSON['parse'](_0x388dd9['content']);_0x3933b1['_handleToolResultData']({'toolName':_0x388dd9['toolName'],'data':_0x366ec7,'attributes':_0x437157});break;}}}}}async['_extractContextItems'](_0x55eed5){const _0x471c9a=new Map();if(!_0x55eed5['content'])return{'contextItems':_0x471c9a,'hasUnmatched':!0x1};const _0x5d068c=this['_resolveEditors'](),{contextItem:_0x3ec011,hasUnmatched:_0x2bedbb}=await this['chatContext']['populateDocumentsFromMessage'](_0x55eed5['content'],_0x5d068c);_0x3ec011&&_0x471c9a['set'](_0x3ec011['id'],_0x3ec011);for(const _0x281dc2 of _0x55eed5['content']){if('document'===_0x281dc2['type'])continue;const _0x3f7e0c=await this['chatContext']['populateFromMessage'](_0x281dc2);_0x3f7e0c&&_0x471c9a['set'](_0x3f7e0c['id'],_0x3f7e0c);}return{'contextItems':_0x471c9a,'hasUnmatched':_0x2bedbb};}['_resolveEditors'](){return this['options']['getEditors']?this['options']['getEditors']():this['options']['getEditor']?[this['options']['getEditor']()]:[];}async['handleUserInteraction']({userMessage:_0x39a5a1,attributes:_0x4fa79d}){if(!this['isStarted'])throw new _0x31c75c['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x31c75c['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x41a8b0=this['chatContext']['getPendingContextItems'](),_0x55db2a=this['chatCapabilities']['getCapabilitiesConfig'](),_0x3af518=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x39a5a1,'contextItems':_0x41a8b0,'capabilities':_0x55db2a,'modelId':_0x3af518,'attributes':_0x4fa79d}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0xd8050b){if(_0xd8050b instanceof _0x31c75c['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0xd8050b});else{const _0x4524bd=_0x16be36['get'](_0xd8050b['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x31c75c['CKEditorError'](_0x4524bd,null,{'error':_0xd8050b})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x343387,contextItems:_0x279115,capabilities:_0x10102d,modelId:_0x5a0fe2,attributes:_0x2e4265}){const _0x317777=new AIChatInteraction({'userMessage':_0x343387,'contextItems':_0x279115,'capabilities':_0x10102d,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x5a0fe2,'attributes':_0x2e4265});return _0x317777['delegate'](..._0x309438)['to'](this),this['interactions']['push'](_0x317777),this['fire']('interactionCreated',_0x317777),_0x317777;}['getInteraction'](_0x5682fe){return this['interactions']['find'](_0xaf5618=>_0xaf5618['id']===_0x5682fe);}['removeInteraction'](_0x5f2687){const _0x45efd8=this['getInteraction'](_0x5f2687);_0x45efd8&&(_0x45efd8['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x45efd8),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x3f4b16){this['chatContext']['addCurrentDocumentToContext'](_0x3f4b16);}async['updateCurrentDocumentInContext']({content:_0x4150c0,version:_0x5f4d1d,sessionId:_0x54c5a8,channelId:_0x44dc60,rootName:_0x1882eb,selections:_0x45d2cb}){await this['chatContext']['updateCurrentDocument'](_0x4150c0,_0x5f4d1d,_0x54c5a8,_0x44dc60,_0x1882eb,_0x45d2cb);}async['updateCurrentDocumentsInContext'](_0x1c536a){await this['chatContext']['updateCurrentDocuments'](_0x1c536a);}['getSourceByDataId'](_0x29eb5e){return this['chatContext']['getSourceByDataId'](_0x29eb5e);}['getDocumentContextSliceByDataId'](_0x4ecbbf){return this['chatContext']['getDocumentContextSliceByDataId'](_0x4ecbbf);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x1ada5a){this['chatContext']['addSelectionToContext'](_0x1ada5a);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x6183c5){this['chatContext']['addFilesToContext'](_0x6183c5);}['addUrlToContext'](_0x74ad50){this['chatContext']['addUrlToContext'](_0x74ad50);}['addToolItemToContext'](_0xc75133){this['chatContext']['addToolItemToContext'](_0xc75133);}['addResourceToContext'](_0x5b55d4,_0xba61b5){this['chatContext']['addResourceToContext'](_0x5b55d4,_0xba61b5);}['loadSourceResources'](_0x2f8117,_0x3d06c8,_0x5660aa){return this['chatContext']['loadSourceResources'](_0x2f8117,_0x3d06c8,_0x5660aa);}['removeFromContext'](_0x3e7e76){this['chatContext']['removeFromContext'](_0x3e7e76);}['setWebSearch'](_0x2e4600){this['chatCapabilities']['setWebSearch'](_0x2e4600);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x42d7da){this['chatCapabilities']['setReasoning'](_0x42d7da);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x36df74){_0x36df74?!0x1===await this['chatModels']['isAvailable'](_0x36df74)&&(_0x31c75c['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x36df74}),_0x36df74=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x31c75c['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x36df74=(await this['chatModels']['getAvailableModels']())[0x0]),_0x36df74['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x36df74,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x36df74}));}}class _0x16c87e extends _0x31c75c['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x25897f,config:_0x585ac4,locale:_0x317fcf}){super(),this['_connector']=_0x25897f,this['_config']=_0x585ac4,this['_locale']=_0x317fcf;}get['_availableModels'](){return this['_config']?.['displayedModels'];}get['_defaultModelId'](){return this['_config']?.['defaultModelId'];}async['getAll'](){return this['_modelsRequest']||(this['_modelsRequest']=this['_retrieveModels']()),this['_modelsRequest'];}async['getAvailableModels'](){const _0x493fea=await this['getAll']();let _0x283f78;return _0x283f78=this['_availableModels']?this['_filterModels'](_0x493fea,this['_availableModels']):_0x493fea['filter'](_0x3b869d=>_0x3b869d['recommended']),_0x283f78;}async['getModel'](_0x27ff16){const _0x1328d1=await this['getAll']();if(!_0x1328d1['length'])return null;if(_0x27ff16){const _0x136299=this['_getModelById'](_0x1328d1,_0x27ff16);if(_0x136299)return _0x136299;_0x31c75c['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x27ff16,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x2d1c28=await this['getAvailableModels']();if(!_0x2d1c28['length'])return null;if(this['_defaultModelId']){const _0x52ad79=this['_getModelById'](_0x2d1c28,this['_defaultModelId']);if(_0x52ad79)return _0x52ad79;_0x31c75c['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x2d1c28[0x0]['id']});}return _0x2d1c28[0x0];}async['isAvailable'](_0x25875d){return(await this['getAvailableModels']())['some'](_0x14296d=>_0x14296d['name']===_0x25875d['name']&&_0x14296d['provider']===_0x25875d['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x21b9f9=this['_locale']['uiLanguage']||'en',_0x36a761=this['_connector']['getModels'](_0x21b9f9),_0x5f3004=await _0x36a761['list']();this['_modelList']=_0x5f3004['items']['map'](_0x26ef70=>_0x52ab14(_0x26ef70)?{..._0x26ef70,'name':Qt(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x26ef70);}catch(_0x27d132){throw _0x31c75c['logError']('ai-models-unable-to-retrieve',{'error':_0x27d132}),_0x27d132;}return[...this['_modelList']];}['_filterModels'](_0x300a4b,_0x1aac4c){let _0x5a5998;if(_0x1aac4c){_0x5a5998=[];const _0x1aa102=new Set(),_0xd39c4e='string'==typeof _0x1aac4c?[_0x1aac4c['toLocaleLowerCase']()]:_0x1aac4c['map'](_0xae1af6=>_0xae1af6['toLocaleLowerCase']());for(const _0x2f68ba of _0xd39c4e)for(const _0x431f11 of _0x300a4b)!_0x1aa102['has'](_0x431f11['id'])&&this['_isMatchingFilter'](_0x431f11,_0x2f68ba)&&(_0x5a5998['push'](_0x431f11),_0x1aa102['add'](_0x431f11['id']));}else _0x5a5998=_0x300a4b;return _0x5a5998;}['_isMatchingFilter'](_0x37ed30,_0x20e9c1){const _0x3c5e95=_0x37ed30['id']['toLocaleLowerCase'](),_0x1581f4=_0x37ed30['name']['toLocaleLowerCase'](),_0x4fa70b=_0x37ed30['provider']['toLocaleLowerCase']();return _0x3c5e95===_0x20e9c1||_0x1581f4===_0x20e9c1||_0x52ab14(_0x37ed30)&&'auto'===_0x20e9c1||_0x4fa70b===_0x20e9c1||_0x3c5e95['startsWith'](_0x20e9c1);}['_getModelById'](_0x445f62,_0x25cc1b){return _0x445f62['find'](_0x52ee9c=>_0x52ab14(_0x52ee9c)&&'auto'===_0x25cc1b?_0x52ee9c:_0x52ee9c['id']===_0x25cc1b)||null;}}function _0x52ab14(_0x2dccf7){return _0x2dccf7['id']['startsWith']('agent');}function _0x593baf(_0x39608e){return _0x39608e?_0x39608e instanceof _0x31c75c['Editor']?[_0x39608e]:_0x39608e['editors']&&0x0!==_0x39608e['editors']['length']?Array['from'](_0x39608e['editors']):[]:[];}function _0x457d54(_0x37f997){const _0x5393a0=_0x593baf(_0x37f997);if(!_0x5393a0['length'])throw new _0x31c75c['CKEditorError']('ai-get-editor-from-context-no-editor');if(0x1===_0x5393a0['length'])return _0x5393a0[0x0];const _0x384c34=_0x5393a0['find'](_0xa1ee7f=>_0xa1ee7f['ui']?.['focusTracker']?.['isFocused']);if(_0x384c34)return _0x384c34;const _0x435c1d=function(_0x3c6993){if(_0x3c6993 instanceof _0x31c75c['Editor'])return;const _0x5b5de4=_0x3c6993;if(!_0x5b5de4['plugins']||!_0x5b5de4['plugins']['has']('AIEditing'))return;const _0x5d98ec=_0x5b5de4['plugins']['get']('AIEditing');return _0x5d98ec['getLastContentFocusedEditor']?.();}(_0x37f997);return _0x435c1d&&_0x5393a0['includes'](_0x435c1d)?_0x435c1d:_0x5393a0[0x0];}function _0x26979b(_0x5e6ddc){return _0x457d54(_0x5e6ddc);}function _0x113953({editor:_0x41217b,interaction:_0x29119f,reply:_0x4fff5e,groups:_0x4713cf,transform:_0x47fcd2,documentCompare:_0x4b6e40,documentCompareOptions:_0x44745f,documentContextSlice:_0x1b79a5}){const _0x25bde5=_0x29119f['getDocumentContext']();if(!_0x25bde5)return[];const _0x755e81=_0x4fff5e['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x36692}of _0x4713cf){const _0x1463b5=_0x36692['filter'](_0x55bea6=>'new'!=_0x55bea6['type'])['map'](_0x2c77df=>_0x4928e3('data-id',_0x2c77df['id'],_0x755e81)),_0x2a0b12=_0x36692['filter'](_0x258713=>'removed'!=_0x258713['type'])['map'](_0x4e11af=>_0x4e11af['node']['cloneNode'](!0x0));let _0x24667a=null;if(_0x1463b5['length']){_0x24667a=_0x1463b5[0x0]['previousSibling'];for(let _0x30089b=0x0;_0x30089b<_0x1463b5['length'];_0x30089b++)_0x407b65(_0x1463b5[_0x30089b]);}if(_0x2a0b12['length']){_0x24667a||(_0x36692[0x0]['anchorId']?_0x24667a=_0x4928e3('data-id',_0x36692[0x0]['anchorId'],_0x755e81):(_0x24667a=_0x2a0b12['shift'](),_0x5652c4(_0x755e81,_0x24667a)));for(let _0x5abe34=0x0;_0x5abe34<_0x2a0b12['length'];_0x5abe34++)_0x4ad92f(_0x24667a,_0x2a0b12[_0x5abe34]),_0x24667a=_0x2a0b12[_0x5abe34];}}let _0x2d9053,_0x36ad92,_0x560c6d,_0x334344=_0x44745f;if(_0x1b79a5){_0x2d9053=_0x1b79a5['html'],_0x560c6d=_0x1b79a5['version'],_0x334344={..._0x44745f,'anchor':_0x1b79a5['rootName']};const _0x5d1a41=new _0x444600([]),_0x43f8db=_0x755e81['children'],_0x690bd9=_0x4fff5e['dataIdDocumentSources'],_0x45a2e1=_0x4fff5e['newNodeAnchorIds'],_0x251999=_0x1b79a5['editor'],_0x102a61=_0x1b79a5['rootName'],_0x471725=new Array(_0x43f8db['length']),_0x346aae=_0x4f4bb5=>_0x4f4bb5?_0x4f4bb5['editor']===_0x251999&&_0x4f4bb5['rootName']===_0x102a61:void 0x0;for(let _0x4dbe82=0x0;_0x4dbe82<_0x43f8db['length'];_0x4dbe82++){const _0xa00db5=_0x55051d(_0x43f8db[_0x4dbe82],'data-id');if(!_0xa00db5)continue;const _0xded111=_0x346aae(_0x690bd9?.['get'](_0xa00db5));if(void 0x0!==_0xded111){_0x471725[_0x4dbe82]=_0xded111;continue;}const _0x98cc8c=_0x45a2e1['get'](_0xa00db5),_0x21b585=_0x98cc8c?_0x346aae(_0x690bd9?.['get'](_0x98cc8c)):void 0x0;void 0x0!==_0x21b585&&(_0x471725[_0x4dbe82]=_0x21b585);}for(let _0x204cda=0x0;_0x204cda<_0x43f8db['length'];_0x204cda++)if(void 0x0===_0x471725[_0x204cda]){for(let _0x41a663=_0x204cda-0x1;_0x41a663>=0x0;_0x41a663--)if(void 0x0!==_0x471725[_0x41a663]){_0x471725[_0x204cda]=_0x471725[_0x41a663];break;}if(void 0x0===_0x471725[_0x204cda]){for(let _0x500d6e=_0x204cda+0x1;_0x500d6e<_0x43f8db['length'];_0x500d6e++)if(void 0x0!==_0x471725[_0x500d6e]){_0x471725[_0x204cda]=_0x471725[_0x500d6e];break;}}}for(let _0x2910c6=0x0;_0x2910c6<_0x43f8db['length'];_0x2910c6++)_0x471725[_0x2910c6]&&_0x5d1a41['children']['push'](_0x50cad9(_0x43f8db[_0x2910c6],!0x0));_0x36ad92=_0xad603d(_0x5d1a41);}else _0x2d9053=_0x25bde5['content'],_0x560c6d=_0x25bde5['version'],_0x36ad92=_0xad603d(_0x755e81);const _0x585f4d=_0x4b6e40['getDiff'](_0x2d9053,_0x36ad92,{..._0x334344,'targetEditor':_0x41217b})['getOperations']();if(_0x47fcd2){const _0x578963=_0x41217b['model']['document']['history']['getOperations'](_0x560c6d),_0x26253b={'document':_0x41217b['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x31c75c['transformOperationSets'](_0x585f4d,_0x578963,_0x26253b)['operationsA'];}return _0x585f4d;}function _0x4effd7(_0x4173c2,_0x145187){if('marker'!=_0x145187['type'])return;const _0x32577e=_0x4173c2['model']['markers']['get'](_0x145187['name']);_0x32577e&&(_0x145187['oldRange']=_0x32577e['getRange']());}class AIChatController extends _0x31c75c['ContextPlugin']{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_activeBalloon'];['_wiredBalloons']=new Set();['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_bodyCollection']=new _0x31c75c['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new _0x16c87e({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x58bfcc=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x5f2d9d,_0x399be3)=>{this['_handleUIUserMessage']({'message':_0x399be3});}),this['listenTo'](_0x58bfcc['view'],'change:activeTab',(_0x3cf08c,_0xb62d21,_0x2068ac)=>{'chat'!==_0x2068ac&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0xd3d7b9,_0x4f1d4f)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x4f1d4f));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x5b42d1,_0x3bad9e)=>{this['activeConversation']?.['addUrlToContext'](_0x3bad9e);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x35d380,_0x4a7742)=>{_0x4a7742['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x506859,_0x2e5ce7)=>{this['activeConversation']?.['addResourceToContext'](_0x2e5ce7['source'],_0x2e5ce7['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x4c2099,_0x189eca)=>{this['_removeFromContext'](_0x189eca);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x6b4332,_0x914514)=>{this['activeConversation']?.['loadSourceResources'](_0x914514['sourceId'],_0x914514['query'],_0x914514['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x30636d,_0x3b9ff3)=>{this['activeConversation']?.['setModel'](_0x3b9ff3);}),this['listenTo'](this['_aiChatUi'],'like',(_0x3087f1,{replyId:_0xe3e0cb})=>{console['log']('Liked\x20response',_0xe3e0cb);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0xff97a3,{replyId:_0x1fe5fb})=>{console['log']('Disliked\x20response',_0x1fe5fb);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x10ae69,_0x45439c)=>{this['_insertSuggestion'](_0x45439c);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x298d05,{replyId:_0x4b5f41,partIndex:_0x4a9a96})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x4b5f41,_0x4a9a96);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x580205,{replyId:_0x54380d,partIndex:_0x4912ae})=>{const _0x538680=this['_getDocumentRangeForReplyChanges'](_0x54380d,_0x4912ae);_0x538680&&'$graveyard'!=_0x538680['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'ranges':[_0x538680['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x5ab2dc,_0x5d5d01)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x5d5d01);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x375e5a,{replyId:_0x52da2c,showDiff:_0x12a410})=>{const {reply:_0x2a24bf}=this['getInteractionAndReplyById'](_0x52da2c),_0x2fbff0=_0x2a24bf['getContentParts']({'showDiff':_0x12a410,'editor':_0x26979b(this['context'])});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x2a24bf['id'],'parts':_0x2fbff0});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x597588,{replyId:_0x52f3f0,partIndex:_0x2a4714})=>{this['_rejectSuggestion']({'replyId':_0x52f3f0,'partIndex':_0x2a4714}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon')),this['on']('interactionCreated',(_0x519c88,_0x469cb1)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x469cb1);}),this['on']('replyCreated',(_0x1bdf8d,_0x536180)=>{this['_addFeedItemReply'](_0x536180);});}async['afterInit'](){this['context']instanceof _0x31c75c['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1ef904,_0x3322d1)=>{_0x3322d1['on']('ready',()=>{this['_integrateEditor'](_0x3322d1);});});const _0x3703b6=this['context']['config']['get']('ai.chat.initialConversation');let _0x469878=_0x3703b6;if('lastCreated'!=_0x3703b6||(_0x469878=await this['_getLastCreatedConversationId'](),_0x469878))return'new'==_0x469878?this['_startConversationSafely']():this['loadConversation'](_0x469878);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x59e9b0){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null,(this['context']['plugins']['get'](_0x20f71e)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x59e9b0)['getConversation'](),await this['_startConversationSafely']({'id':_0x59e9b0}),this['_updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x59e9b0,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x48e697){this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x59e9b0}),this['_logError'](new _0x31c75c['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x48e697}));}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x1a5a5e){let _0x35046c=null,_0x32920f=null;this['on']('toolDataReceived',(_0x42cca2,_0x97bd2,_0x568991)=>{_0x568991['id']!==_0x35046c&&(_0x35046c=_0x568991['id'],_0x32920f=this['_getAIChatFeedAPI'](_0x568991)),_0x1a5a5e(_0x97bd2,_0x32920f);});}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](Qt(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x3e2ee8=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x3e2ee8),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0x15109c){await this['_startConversationSafely']({'modelId':_0x15109c?.['modelId']});}async['sendMessage'](_0x531bcc){await this['_handleUIUserMessage'](_0x531bcc);}['getGroupId'](){const _0x52d5de=this['context']['config']['get']('collaboration.channelId');if(!_0x52d5de)throw new _0x31c75c['CKEditorError']('ai-missing-channel-id',this);return _0x52d5de;}['_handleRemovedConversation'](_0x2ed6b3){this['activeConversation']['id']===_0x2ed6b3&&this['_startConversationSafely']();}['_insertSuggestion'](_0x60043e){const _0x124658=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x3b918f,interaction:_0x1e1065}=this['getInteractionAndReplyById'](_0x60043e['replyId']),_0x1678ba=void 0x0!==_0x60043e['partIndex']?[_0x3b918f['changeGroups'][_0x60043e['partIndex']]]:_0x3b918f['changeGroups']['filter'](_0x5caf06=>'pending'==_0x5caf06['state']);for(const _0x4fd0c4 of this['_groupChangesByTarget'](_0x3b918f,_0x1678ba)){const {target:_0x48746b,groups:_0xf18c16,groupsIndexes:_0x76d49a,slice:_0x1a7369}=_0x4fd0c4;if(!_0x48746b['editor']['plugins']['has']('TrackChanges'))throw new _0x31c75c['CKEditorError']('ai-no-track-changes',null);const _0xcda23e=this['_getDocumentRangeForReplyChanges'](_0x60043e['replyId'],_0x76d49a[0x0]);if(!_0xcda23e||'$graveyard'==_0xcda23e['range']['root']['rootName']){_0x76d49a['forEach'](_0x25b29f=>_0x3b918f['setChangeGroupState'](_0x25b29f,'outdated'));continue;}_0x76d49a['forEach'](_0x1c69c7=>_0x3b918f['setChangeGroupState'](_0x1c69c7,'accepted'));const _0x2a5719=_0x113953({'editor':_0x48746b['editor'],'reply':_0x3b918f,'interaction':_0x1e1065,'groups':_0xf18c16,'transform':!0x0,'documentCompare':_0x124658,'documentCompareOptions':{'anchor':_0x1a7369?.['rootName']??'main','markDeletions':!0x0},'documentContextSlice':_0x1a7369});let _0x483582;this['_scrollToSuggestionRange'](_0xcda23e['range'],!0x1,_0x48746b['editor']),_0x48746b['editor']['model']['change'](_0x2c172a=>{_0x483582=_0x2c172a['batch'],_0x48746b['editor']['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x2a5719),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x483582,{'interactionId':_0x1e1065['id'],'replyId':_0x3b918f['id'],'indexes':_0x76d49a['slice']()});}this['_updateRatings'](_0x3b918f);}['_applySuggestion'](_0x4e9979){const _0x21943c=this['context']['plugins']['get'](DocumentCompare),{reply:_0x53421b,interaction:_0x463ecf}=this['getInteractionAndReplyById'](_0x4e9979['replyId']),_0xc87e11=void 0x0!==_0x4e9979['partIndex']?[_0x53421b['changeGroups'][_0x4e9979['partIndex']]]:_0x53421b['changeGroups']['filter'](_0x31d03f=>'pending'==_0x31d03f['state']);for(const _0x22566a of this['_groupChangesByTarget'](_0x53421b,_0xc87e11)){const {target:_0x5c4359,groups:_0x26a56c,groupsIndexes:_0x1e3dc7,slice:_0x4a446c}=_0x22566a,_0x369dc3=this['_getDocumentRangeForReplyChanges'](_0x4e9979['replyId'],_0x1e3dc7[0x0]);if(!_0x369dc3||'$graveyard'==_0x369dc3['range']['root']['rootName']){_0x1e3dc7['forEach'](_0x13e2ad=>_0x53421b['setChangeGroupState'](_0x13e2ad,'outdated'));continue;}_0x1e3dc7['forEach'](_0x1fba94=>_0x53421b['setChangeGroupState'](_0x1fba94,'accepted'));const _0x5ad504=_0x113953({'editor':_0x5c4359['editor'],'reply':_0x53421b,'interaction':_0x463ecf,'groups':_0x26a56c,'transform':!0x0,'documentCompare':_0x21943c,'documentCompareOptions':{'anchor':_0x4a446c?.['rootName']??'main','markDeletions':!0x1},'documentContextSlice':_0x4a446c});let _0x3d4ace;this['_scrollToSuggestionRange'](_0x369dc3['range'],!0x1,_0x5c4359['editor']),_0x5c4359['editor']['model']['change'](_0x51bf35=>{_0x3d4ace=_0x51bf35['batch'];for(const _0x58b749 of _0x5ad504)_0x58b749['baseVersion']=_0x5c4359['editor']['model']['document']['version'],_0x4effd7(_0x5c4359['editor'],_0x58b749),_0x51bf35['batch']['addOperation'](_0x58b749),_0x5c4359['editor']['model']['applyOperation'](_0x58b749);}),this['_batchToChanges']['set'](_0x3d4ace,{'interactionId':_0x463ecf['id'],'replyId':_0x53421b['id'],'indexes':_0x1e3dc7['slice']()});}this['_updateRatings'](_0x53421b);}['_rejectSuggestion'](_0x49af71){const {reply:_0x3bf641}=this['getInteractionAndReplyById'](_0x49af71['replyId']);_0x3bf641['setChangeGroupState'](_0x49af71['partIndex'],'rejected');}['_openBalloonFor'](_0x3da250,_0x5a768d){if(!this['_aiChatBalloon'])return;const {reply:_0x3e5c2c}=this['getInteractionAndReplyById'](_0x3da250),_0xc5274d=_0x3e5c2c['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'editor':_0x26979b(this['context'])});let _0x1e1b38,_0x4c07c9;if(void 0x0!==_0x5a768d?(_0x4c07c9=_0xc5274d['find'](_0x58f39e=>_0x58f39e['index']==_0x5a768d),_0x1e1b38=_0x4c07c9?.['index']):(_0x4c07c9=_0xc5274d[0x0],_0x1e1b38=_0x4c07c9['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x3da250&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x1e1b38)return;const _0x588c6a=this['_getUserPresentableContentPartDocumentRange'](_0x3da250,_0x3e5c2c,_0x4c07c9),_0x295bfa=_0x3e5c2c['changeGroups']['find'](_0x968daa=>_0x968daa['index']==_0x1e1b38),_0x1c4a9b=_0x295bfa?this['_resolveGroupTarget'](_0x3e5c2c,_0x295bfa):null,_0x184a2c=_0x1c4a9b?.['editor']??_0x26979b(this['context']),_0x496a61=_0x184a2c['plugins']['has']('AIChatBalloon')?_0x184a2c['plugins']['get']('AIChatBalloon'):this['_aiChatBalloon'];if(this['_activeBalloon']&&this['_activeBalloon']!==_0x496a61&&this['_activeBalloon']['close'](),!_0x588c6a)return _0x496a61['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x496a61,this['_currentPreviewedChangeGroup']={'replyId':_0x3da250,'partIndex':_0x1e1b38},this['_scrollToSuggestionRange'](_0x588c6a,!0x0,_0x184a2c);const _0x4ebbff=this['_getPresentableSiblingContentPartIndex'](_0x3da250,_0x1e1b38,'next');_0x496a61['updateContent']({'part':_0x4c07c9,'renderingStrategy':'static'}),_0x496a61['open']({'index':_0x1e1b38,'title':Qt(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x1e1b38+0x1)['toString']()),'showRotator':null!==_0x4ebbff,'ranges':[_0x588c6a],'areActionsDisabled':_0x3e5c2c['areActionsDisabled'],'targetEditor':_0x184a2c}),_0x496a61['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x3da250,_0x1e1b38),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x3da250,'index':_0x1e1b38,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x399cce,_0x45a2d3,_0xbfd15b){const {reply:_0x895133}=this['getInteractionAndReplyById'](_0x399cce),_0x3ac6f6=_0x895133['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'editor':_0x26979b(this['context'])});if(0x1==_0x3ac6f6['length'])return null;const _0x428dfa=_0x3ac6f6['findIndex'](_0x57309b=>_0x57309b['index']==_0x45a2d3),_0x3c73a5='next'==_0xbfd15b?0x1:-0x1;let _0x94ced4=_0x3ac6f6['at']((_0x428dfa+_0x3c73a5)%_0x3ac6f6['length'])['index'],_0x4e509d=_0x3ac6f6[_0x94ced4];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x399cce,_0x895133,_0x4e509d);){if(_0x94ced4=_0x3ac6f6['at']((_0x94ced4+_0x3c73a5)%_0x3ac6f6['length'])['index'],_0x94ced4===_0x428dfa)return null;_0x4e509d=_0x3ac6f6[_0x94ced4];}return _0x94ced4;}['_getUserPresentableContentPartDocumentRange'](_0x41523f,_0x5450d,_0xd3ba40){const _0x10be34=_0x5450d['changeGroups'];if(!_0xd3ba40['hasChanges'])return null;const _0x2877a9=_0x10be34['find'](_0x46b8f3=>_0x46b8f3['index']==_0xd3ba40['index']);if('pending'!==_0x2877a9?.['state'])return null;const _0x1adfa2=this['_getDocumentRangeForReplyChanges'](_0x41523f,_0xd3ba40['index']);if(!_0x1adfa2)return _0x5450d['setChangeGroupState'](_0xd3ba40['index'],'outdated'),null;const {range:_0xf40761,currentIndex:_0x35c897}=_0x1adfa2;return'$graveyard'==_0xf40761['root']['rootName']?(_0x5450d['setChangeGroupState'](_0x35c897,'outdated'),null):_0x1adfa2['range'];}['_getDocumentRangeForReplyChanges'](_0x1541f4,_0x50f51e){const {reply:_0x5af8ac}=this['getInteractionAndReplyById'](_0x1541f4),_0x42e79e=_0x5af8ac['changeGroups']['filter'](_0x2dd549=>'pending'==_0x2dd549['state']),_0x3733ec=_0x42e79e['map'](_0x4033cf=>_0x5af8ac['changeGroups']['indexOf'](_0x4033cf));void 0x0===_0x50f51e&&(_0x50f51e=_0x3733ec[0x0]);const _0x3f5449=_0x3733ec['indexOf'](_0x50f51e);if(-0x1==_0x3f5449)return null;const _0x4670c0=_0x42e79e[_0x3f5449],_0x1b6a48=this['_resolveGroupTarget'](_0x5af8ac,_0x4670c0);if(!_0x1b6a48)return null;const {editor:_0x4a00a4,root:_0x24fae4,parsedDocumentContent:_0xf51042,serializedDocumentContent:_0x5560dc,version:_0x48a6bb}=_0x1b6a48,_0x77bb1a=new _0x444600([]),_0x57d425=new _0x444600([]);for(const _0x1e5ccc of _0x4670c0['changes']){const _0x357d0b=this['activeConversation']?.['getSourceByDataId'](_0x1e5ccc['id']);if((!_0x357d0b||_0x357d0b['editor']===_0x1b6a48['editor']&&_0x357d0b['rootName']===_0x1b6a48['root']['rootName'])&&('removed'!=_0x1e5ccc['type']&&_0x57d425['children']['push'](_0x1e5ccc['node']['cloneNode'](!0x0)),'new'!=_0x1e5ccc['type'])){const _0x4d2f03=_0x2023b0(_0x20d8ea=>_0x55051d(_0x20d8ea,'data-id')==_0x1e5ccc['id'],_0xf51042,!0x0);if(!_0x4d2f03)return null;_0x77bb1a['children']['push'](_0x4d2f03['cloneNode'](!0x0));}}if(0x0==_0x77bb1a['children']['length']){if(_0x4670c0['changes'][0x0]['anchorId']){const _0x103663=_0x4928e3('data-id',_0x4670c0['changes'][0x0]['anchorId'],_0xf51042);_0x77bb1a['children']['unshift'](_0x103663['cloneNode'](!0x0)),_0x57d425['children']['unshift'](_0x103663['cloneNode'](!0x0)),_0x103663['nextSibling']&&(_0x77bb1a['children']['push'](_0x103663['nextSibling']['cloneNode'](!0x0)),_0x57d425['children']['push'](_0x103663['nextSibling']['cloneNode'](!0x0)));}else{const _0x2a06ee=_0xf51042['children'][0x0];if(!_0x2a06ee)return null;_0x77bb1a['children']['push'](_0x2a06ee['cloneNode'](!0x0)),_0x57d425['children']['push'](_0x2a06ee['cloneNode'](!0x0));}}const _0x47d367=_0x4a00a4['data']['parse'](_0x5560dc),_0x49fc80=_0xad603d(_0x77bb1a),_0x2b1221=_0x4a00a4['data']['parse'](_0x49fc80),_0xefa7e5=_0x4a00a4['data']['parse'](_0x49fc80),_0x58e061=_0x4a00a4['model']['createPositionAt'](_0x2b1221,0x0),_0x3ccdef=_0xad603d(_0x57d425),_0x566a24={'targetEditor':_0x4a00a4,'anchor':_0x58e061,'markDeletions':!0x1},_0x351718=_0x4a00a4['plugins']['get'](DocumentCompare)['getDiff'](_0x49fc80,_0x3ccdef,_0x566a24)['getOperations']();if(!_0x351718['length'])return null;_0x4a00a4['model']['change'](_0x13407f=>{for(const _0x7f3761 of _0x351718)if('remove'==_0x7f3761['type']){const _0x1adfa6=_0x7f3761['sourcePosition'],_0xcd0b22=_0x7f3761['howMany'],_0x323607=new _0x31c75c['_DetachOperation'](_0x1adfa6,_0xcd0b22);_0x13407f['batch']['addOperation'](_0x323607),_0x4a00a4['model']['applyOperation'](_0x323607);}else'marker'!==_0x7f3761['type']&&(_0x7f3761['baseVersion']=null,_0x7f3761['isDocumentOperation']=!0x1,_0x13407f['batch']['addOperation'](_0x7f3761),_0x4a00a4['model']['applyOperation'](_0x7f3761));});const _0x1c7fd5=_0xebb93a(_0x4a00a4,_0x351718,_0x2b1221);_0x1a1e27(_0x4a00a4['model'],_0x1c7fd5);const _0x32a64d=_0x1c7fd5['getFirstRange']()['start']['path']['slice'](),_0x313407=_0x1c7fd5['getFirstRange']()['end']['path']['slice'](),_0x9a5b68=[];let _0xef8d07=_0x2b1221,_0x723f56=_0xefa7e5;for(let _0xcdff71=0x0;_0xcdff71<_0x313407['length'];_0xcdff71++){const _0xb94879=_0xef8d07['maxOffset']-_0x313407[_0xcdff71];_0x9a5b68[_0xcdff71]=_0x723f56['maxOffset']-_0xb94879,_0xef8d07=_0xef8d07['getChildAtOffset'](_0x313407[_0xcdff71]),_0x723f56=_0x723f56['getChildAtOffset'](_0x9a5b68[_0xcdff71]);}const _0x2eea0f=_0x4a00a4['model']['createRange'](_0x4a00a4['model']['createPositionFromPath'](_0xefa7e5,_0x32a64d),_0x4a00a4['model']['createPositionFromPath'](_0xefa7e5,_0x9a5b68)),_0x298f10=_0xefa7e5['getChild'](0x0)['getAttribute'](_0x4367ca),_0x107195=Array['from'](_0x47d367['getChildren']())['find'](_0x561f37=>_0x561f37['getAttribute'](_0x4367ca)==_0x298f10),_0x1a0fc7=_0x107195['getPath'](),_0x4602c5=_0x2eea0f['start']['path']['slice'](),_0x528fa6=_0x2eea0f['end']['path']['slice']();_0x4602c5[0x0]=_0x1a0fc7[0x0]+_0x4602c5[0x0],_0x528fa6[0x0]=_0x1a0fc7[0x0]+_0x528fa6[0x0];let _0x2878d1=_0x4a00a4['model']['createRange'](_0x4a00a4['model']['createPositionFromPath'](_0x24fae4,_0x4602c5),_0x4a00a4['model']['createPositionFromPath'](_0x24fae4,_0x528fa6));const _0x2df399=_0x4a00a4['model']['document']['history']['getOperations'](_0x48a6bb);for(const _0x526a89 of _0x2df399)_0x2878d1=_0x31c75c['ModelRange']['_createFromRanges'](_0x2878d1['getTransformedByOperation'](_0x526a89));return{'range':_0x2878d1,'currentIndex':_0x50f51e};}['_integrateEditorBalloon'](_0xa96795){if(!_0xa96795['plugins']['has']('AIChatBalloon'))return;const _0x5cd6e6=_0xa96795['plugins']['get']('AIChatBalloon');this['_wiredBalloons']['has'](_0x5cd6e6)||(this['_wiredBalloons']['add'](_0x5cd6e6),this['_aiChatBalloon']||(this['_aiChatBalloon']=_0x5cd6e6),_0x5cd6e6['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x5cd6e6,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x4ab50c,partIndex:_0x5f01a7}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0xeb6fad}=this['getInteractionAndReplyById'](_0x4ab50c),_0x2102a8=_0xeb6fad['changeGroups']['find'](_0x38f9fe=>_0x38f9fe['index']===_0x5f01a7),_0x1dd788=_0x2102a8?this['_resolveGroupTarget'](_0xeb6fad,_0x2102a8):null,_0x252cf4=_0xeb6fad['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x5f01a7,'editor':_0x1dd788?.['editor']??_0x26979b(this['context'])});(this['_activeBalloon']??_0x5cd6e6)['updateContent']({'part':_0x252cf4[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x5cd6e6,'applySuggestion',()=>{const {replyId:_0x336144,partIndex:_0x10016c}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x336144,'partIndex':_0x10016c}),(this['_activeBalloon']??_0x5cd6e6)['setState']('accepted');}),this['listenTo'](_0x5cd6e6,'insertSuggestion',()=>{const {replyId:_0x291970,partIndex:_0x185d39}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x291970,'partIndex':_0x185d39}),(this['_activeBalloon']??_0x5cd6e6)['setState']('accepted');}),this['listenTo'](_0x5cd6e6,'rejectSuggestion',()=>{const {replyId:_0x35c39f,partIndex:_0x73ca9d}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x35c39f,'partIndex':_0x73ca9d}),(this['_activeBalloon']??_0x5cd6e6)['setState']('rejected');}),this['listenTo'](_0x5cd6e6,'showNext',()=>{const {replyId:_0x43ffb9,partIndex:_0x1628f6}=this['_currentPreviewedChangeGroup'],_0x5e758b=this['_getPresentableSiblingContentPartIndex'](_0x43ffb9,_0x1628f6,'next');null!==_0x5e758b&&this['_openBalloonFor'](_0x43ffb9,_0x5e758b);}),this['listenTo'](_0x5cd6e6,'showPrevious',()=>{const {replyId:_0x325bb2,partIndex:_0xdad2ac}=this['_currentPreviewedChangeGroup'],_0x482900=this['_getPresentableSiblingContentPartIndex'](_0x325bb2,_0xdad2ac,'previous');null!==_0x482900&&this['_openBalloonFor'](_0x325bb2,_0x482900);}),this['listenTo'](_0x5cd6e6,'dialogClosed',(_0x40d70c,{id:_0x409d1e})=>{if('aiChatBalloon'!==_0x409d1e)return;const {replyId:_0xfc25bf,partIndex:_0x60e16d}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0xfc25bf,'index':_0x60e16d,'isActive':!0x1}),this['_activeBalloon']===_0x5cd6e6&&(this['_activeBalloon']=void 0x0);}));}['_integrateEditor'](_0x4468be){if(this['_integrateEditorBalloon'](_0x4468be),_0x4468be['plugins']['has']('Undo')){const _0x467cb7=_0x4468be['commands']['get']('undo'),_0x4042db=_0x4468be['commands']['get']('redo');this['listenTo'](_0x467cb7,'revert',(_0x1afc01,_0x11ba1e,_0xf30859)=>{const _0x9a2a8f=this['_batchToChanges']['get'](_0x11ba1e);if(!_0x9a2a8f)return;const _0x15fde1=this['activeConversation']['getInteraction'](_0x9a2a8f['interactionId']),_0x3de708=_0x15fde1?.['getReply'](_0x9a2a8f['replyId']);this['_batchToChanges']['delete'](_0x11ba1e),_0x15fde1&&_0x3de708&&(_0x9a2a8f['indexes']['forEach'](_0x527d74=>_0x3de708['setChangeGroupState'](_0x527d74,'pending')),this['_batchToChanges']['set'](_0xf30859,_0x9a2a8f));}),this['listenTo'](_0x4042db,'revert',(_0xa53610,_0x1d1280,_0x16ee22)=>{const _0x134744=this['_batchToChanges']['get'](_0x1d1280);if(!_0x134744)return;const _0x3c1ad1=this['activeConversation']['getInteraction'](_0x134744['interactionId']),_0x29f624=_0x3c1ad1?.['getReply'](_0x134744['replyId']);this['_batchToChanges']['delete'](_0x1d1280),_0x3c1ad1&&_0x29f624&&(_0x134744['indexes']['forEach'](_0x1321bf=>_0x29f624['setChangeGroupState'](_0x1321bf,'accepted')),this['_batchToChanges']['set'](_0x16ee22,_0x134744));});}const _0x25f9cd=_0x4468be['config']['get']('ai.chat.context');_0x25f9cd['alwaysAddSelection']&&_0x25f9cd['document']['enabled']&&this['listenTo'](_0x4468be['model']['document']['selection'],'change:range',(_0x128f9c,_0x3de7ca)=>{if(!_0x3de7ca['directChange'])return;'chat'===_0x4468be['plugins']['get']('AITabs')['view']['activeTab']&&(_0x4468be['model']['hasContent'](_0x4468be['model']['document']['selection'])?this['addSelectionToChatContext']():this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x2b91b5=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x2f498b=await _0x2b91b5['getConversations']();return _0x2f498b['length']?_0x2f498b[0x0]['id']:'new';}catch(_0x19e741){return this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x31c75c['uid']()}),this['_logError'](new _0x31c75c['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x19e741})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x52af15={}){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x52af15);}catch(_0x3b258b){this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x52af15['id']||_0x31c75c['uid']()}),console['error'](_0x3b258b),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x46a7d6,modelId:_0x5d66d7}={}){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;let _0x1ef98f=_0x5d66d7;_0x1ef98f||(_0x46a7d6||!this['activeConversation']?_0x1ef98f=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x1ef98f=this['activeConversation']['selectedModel']['id'])),await this['_stopLastInteraction']();const _0x4ab8ba=this['getGroupId'](),_0x74414a=_0x46a7d6||_0x31c75c['uid']();let _0x5f1134;this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x1ef98f,'conversationId':_0x74414a,'group':_0x4ab8ba,'getEditor':()=>_0x26979b(this['context']),'getEditors':()=>_0x593baf(this['context']),'locale':this['context']['locale'],'isFromHistory':!!_0x46a7d6}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x5eb7e0,_0x594489)=>{this['_aiChatUi']['createConversation'](_0x594489),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x46a7d6||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x12cbd4,_0xa7d600)=>{this['_aiChatUi']['setIsUploadInProgress'](_0xa7d600['isUploadInProgress']);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x51aee2=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x51aee2);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x295964=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x295964);}),this['activeConversation']['on']('webSearchFinished',(_0x5e4456,_0x4d6e2b)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x4d6e2b,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x1e565c,_0x3c0354)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x3c0354,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x3bd640,_0x380e42)=>{this['_aiChatUi']['removeFeedInteraction'](_0x380e42['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x185c1b,_0x421385,_0x4b2253)=>{this['_updateConversationTitle'](_0x421385,_0x4b2253);}),this['activeConversation']['on']('replyContentUpdated',async(_0x3aea3f,_0x522d86)=>{void 0x0!==_0x5f1134&&_0x5f1134!==_0x522d86['id']&&this['_updateReplyContentThrottled']['flush'](),_0x5f1134=_0x522d86['id'],_0x522d86['isFromHistory']?await this['_updateReplyContent']({'reply':_0x522d86}):await this['_updateReplyContentThrottled']({'reply':_0x522d86});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x378936,{reply:_0x201f9a,index:_0x438432,state:_0x18b88d})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x201f9a['id'],'index':_0x438432,'state':_0x18b88d}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x201f9a['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x438432&&(this['_activeBalloon']??this['_aiChatBalloon'])?.['setState'](_0x18b88d);}),this['activeConversation']['on']('contextItemAdded',(_0x5bf40a,_0x2d125f)=>{if(this['_aiChatUi']['addContextItem'](_0x2d125f['contextItem'],_0x2d125f['isLoading']),'selection'===_0x2d125f['contextItem']['type']){const _0x2068e9=[..._0x26979b(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'ranges':_0x2068e9,'id':'context','priority':0x1});}}),this['activeConversation']['on']('contextItemRemoved',(_0x591534,_0x59936f)=>{this['_aiChatUi']['removeContextItem'](_0x59936f['uiId']),'current-document'==_0x59936f['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x59936f['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x490a55,_0x7a0c90)=>{this['_aiChatUi']['setContextItemLoading'](_0x7a0c90['contextItem']['uiId'],_0x7a0c90['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x36746a,_0x5cb1c9)=>{this['_aiChatUi']['setConversationContext'](_0x5cb1c9['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x14b465,_0x230a13)=>{this['_aiChatUi']['setAddContextOptions'](_0x230a13['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x52c8a5,_0x2c4c59)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x2c4c59['sourceId'],_0x2c4c59['source'],_0x2c4c59['resources'],_0x2c4c59['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x35b517,_0x2f04b6)=>{this['_aiChatUi']['updateResourceState'](_0x2f04b6['sourceId'],_0x2f04b6['resourceId'],_0x2f04b6['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x595c12,_0x4293a6)=>{this['_aiChatUi']['updateCapabilities'](_0x4293a6);}),this['activeConversation']['on']('modelSelected',async(_0x2075ae,_0x3dade2)=>{const _0x1250ea=(await this['_aiChatModels']['getAll']())['find'](_0x4dd551=>_0x4dd551['id']===_0x3dade2['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x1250ea,_0x3dade2['isDisabled']);}),this['activeConversation']['on']('error',(_0x49a93c,{error:_0x122210,interactionId:_0x5f1501,fileName:_0x4a4d55,url:_0x27b4bc,sourceId:_0x379e3c,sourceLabel:_0x48c8ce})=>{const _0x2504c2=_0x5f1501?_0x5f1501+':'+_0x31c75c['uid']():_0x31c75c['uid']();_0x122210['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':Qt(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x2504c2}):_0x122210['message']['startsWith']('ai-chat-conversation-init-failed')||_0x122210['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x4a4d55),'id':_0x2504c2}):_0x122210['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x27b4bc),'id':_0x2504c2}):_0x122210['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x2504c2}):_0x122210['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x2504c2}):_0x122210['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x379e3c&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x379e3c),this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x48c8ce||'source'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x2504c2}),this['_logError'](_0x122210)):_0x122210['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x2504c2}),this['_logError'](_0x122210)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x2504c2}),this['_logError'](_0x122210));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x46a7d6||await this['activeConversation']['start']();}async['_handleUIUserMessage']({message:_0x5bf57e,attributes:_0x43238a}){if(!this['activeConversation'])throw new _0x31c75c['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x10ac5b=await this['_aiEditing']['getDocumentData']();_0x10ac5b['length']>0x1?await this['activeConversation']['updateCurrentDocumentsInContext'](_0x10ac5b):await this['activeConversation']['updateCurrentDocumentInContext'](_0x10ac5b[0x0]);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x5bf57e,'attributes':_0x43238a});}['_logError'](_0x525007){_0x31c75c['logError'](_0x525007['message']);}['_removeFromContext'](_0x38a924){this['activeConversation']?.['removeFromContext'](_0x38a924);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x40f380){const [_0x5b0d22,_0x17b825]=_0x40f380['split'](':'),_0x59dfe4=this['activeConversation']['getInteraction'](_0x5b0d22),_0x3efe78=_0x59dfe4['getReply'](_0x17b825);return{'interaction':_0x59dfe4,'reply':_0x3efe78};}['_resolveGroupTarget'](_0x337b81,_0xea4730){const _0x1b1fc3=[..._0xea4730['changes']['filter'](_0x15986e=>'context'!==_0x15986e['type']),..._0xea4730['changes']['filter'](_0x5522eb=>'context'===_0x5522eb['type'])];for(const _0x56f333 of _0x1b1fc3){const _0x2378a4=_0x337b81['newNodeAnchorIds']['get'](_0x56f333['id']),_0x151729=this['activeConversation']?.['getSourceByDataId'](_0x56f333['id'])||this['activeConversation']?.['getSourceByDataId'](_0x2378a4)||this['activeConversation']?.['getSourceByDataId'](_0x56f333['anchorId']??void 0x0);if(_0x151729){if('destroyed'===_0x151729['editor']['state'])return null;const _0x4757f6=_0x151729['editor']['model']['document']['getRoot'](_0x151729['rootName']);return _0x4757f6?{'editor':_0x151729['editor'],'root':_0x4757f6,'parsedDocumentContent':_0x24a09e(_0x151729['content']),'serializedDocumentContent':_0x151729['content'],'version':_0x151729['version']}:null;}}const _0x142020=_0x26979b(this['context']),_0x364845=this['activeConversation']['getInteraction'](_0x337b81['interactionId']),_0x3381f=_0x364845?.['getDocumentContext']();return{'editor':_0x142020,'root':_0x142020['model']['document']['getRoot'](),'parsedDocumentContent':_0x337b81['documentContextContent'],'serializedDocumentContent':_0x3381f?.['content'],'version':_0x3381f?.['version']};}['_groupChangesByTarget'](_0x5bf239,_0x3628f7){const _0x4ba911=new Map();for(const _0x39ded7 of _0x3628f7){const _0x1fa1ec=this['_resolveGroupTarget'](_0x5bf239,_0x39ded7);if(!_0x1fa1ec)continue;const _0x29a065=(_0x1fa1ec['editor']['id']||'e')+'|'+_0x1fa1ec['root']['rootName'];let _0x123344=_0x4ba911['get'](_0x29a065);if(!_0x123344){let _0x2254f9;for(const _0x5dfb83 of[..._0x39ded7['changes']['filter'](_0x567070=>'context'!==_0x567070['type']),..._0x39ded7['changes']['filter'](_0x2d7e66=>'context'===_0x2d7e66['type'])])if(_0x2254f9=this['activeConversation']?.['getDocumentContextSliceByDataId'](_0x5dfb83['id'])||this['activeConversation']?.['getDocumentContextSliceByDataId'](_0x5bf239['newNodeAnchorIds']['get'](_0x5dfb83['id'])),_0x2254f9)break;_0x123344={'target':{'editor':_0x1fa1ec['editor'],'root':_0x1fa1ec['root']},'slice':_0x2254f9,'groups':[],'groupsIndexes':[]},_0x4ba911['set'](_0x29a065,_0x123344);}_0x123344['groups']['push'](_0x39ded7),_0x123344['groupsIndexes']['push'](_0x5bf239['changeGroups']['indexOf'](_0x39ded7));}return Array['from'](_0x4ba911['values']());}['_scrollToSuggestionRange'](_0x2dd983,_0x2c0f35=!0x1,_0x17207a){const _0x2de97c={'target':_0x17207a['editing']['view']['domConverter']['viewRangeToDom'](_0x17207a['editing']['mapper']['toViewRange'](_0x2dd983)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x2c0f35};_0x2c0f35&&(_0x2de97c['alignToTop']=!0x0),_0x31c75c['scrollViewportToShowTarget'](_0x2de97c);}['_updateConversationTitle'](_0x2af023,_0x182f73=!0x1){this['_aiChatUi']['setConversationTitle'](_0x2af023||Qt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x182f73);}['_addFeedItemReply'](_0x1bf914){'text'===_0x1bf914['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x1bf914):this['_aiChatUi']['addFeedItemAISuggestion'](_0x1bf914);}async['_updateReplyContent']({reply:_0xf325e3,renderingStrategy:_0x3f493b}){const {id:_0xa344db,interactionId:_0x58c46f,isDone:_0x44d440,type:_0x36ea32,parsedContent:_0x6b3ff3}=_0xf325e3,_0x2fc38f=_0x58c46f+':'+_0xa344db;if('modification'===_0x36ea32){const _0x433c58=_0xf325e3['getContentParts']({'showDiff':this['_aiChatUi']['showDiff'],'editor':_0x26979b(this['context'])});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x2fc38f,'parts':_0x433c58,'isDone':_0x44d440,'skipLoadingEffects':_0xf325e3['isFromHistory']});}else'text'===_0x36ea32&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x2fc38f,'parsedContent':_0x6b3ff3,'renderingStrategy':_0x3f493b,'isDone':_0x44d440});_0x44d440&&_0xf325e3['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x2fc38f,_0xf325e3['sources']);}['_updateReplyContentThrottled']=ut(this['_updateReplyContent']['bind'](this),0xc8);async['_stopLastInteraction'](){const _0x2ed29b=this['activeConversation']?.['lastInteraction'];_0x2ed29b&&(_0x2ed29b['stop'](),this['_aiChatUi']['stopInteraction'](_0x2ed29b)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x105c01=this['activeConversation']?.['lastInteraction'];if(_0x105c01){for await(const _0xfaa965 of _0x105c01['replies'])this['_aiChatUi']['hasFeedItem'](_0xfaa965['id'])||this['_addFeedItemReply'](_0xfaa965),await this['_updateReplyContent']({'reply':_0xfaa965,'renderingStrategy':'static'});}}['_updateRatings'](_0x5e1f7a){const _0x4a3c5f={'positiveCount':_0x5e1f7a['changeGroups']['filter'](_0x3f9bcb=>'accepted'===_0x3f9bcb['state'])['length'],'totalCount':_0x5e1f7a['changeGroups']['length'],'modificationId':_0x5e1f7a['id']},_0x205064=this['activeConversation']['getInteraction'](_0x5e1f7a['interactionId'])['messageId'];_0x205064&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x205064,_0x4a3c5f);}['_getAIChatFeedAPI'](_0x54d4cd){const _0x1ddb9c=this['_aiChatUi'],_0x501f8b=()=>{_0x54d4cd['resetWebSearchState'](),_0x54d4cd['resetReasoningState'](),_0x1ddb9c['clearLoadingMessage']();},_0x1cc4e6=()=>{_0x54d4cd['currentReply']&&(_0x54d4cd['currentReply']['done'](),_0x54d4cd['currentReply']=void 0x0);};return{'insertTextReply':(_0x2f67fc,_0x11a5bb)=>{_0x1cc4e6(),_0x501f8b();const _0x5bc468=_0x54d4cd['currentReply']=_0x54d4cd['createReply']({'type':'text','interactionId':_0x54d4cd['id'],'content':_0x2f67fc,'id':_0x11a5bb||_0x31c75c['uid']()});return _0x1cc4e6(),_0x5bc468;},'insertCustomElement':async(_0x16fac7,_0x3f5e11)=>(_0x1cc4e6(),_0x501f8b(),_0x1ddb9c['addFeedItemCustomElement'](_0x16fac7,_0x3f5e11||_0x31c75c['uid']())),'setLoadingMessage':_0x17d38a=>{_0x1ddb9c['setLoadingMessage'](_0x17d38a);},'clearLoadingMessage':()=>{_0x1ddb9c['clearLoadingMessage']();}};}}const _0x2278f4='ai-selection',_0xea9a8d=['br'];class AIEditing extends _0x31c75c['ContextPlugin']{constructor(_0x2d24a9){super(_0x2d24a9),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionId'];['_lastContentFocusedEditor'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['getLastContentFocusedEditor'](){return this['_lastContentFocusedEditor'];}get['sessionId'](){if(!this['_sessionId']){const _0x1f87da=_0x593baf(this['context']),_0x9d2d10=_0x1f87da['find'](_0x108421=>_0x108421['plugins']['has']('RealTimeCollaborationClient'))||_0x1f87da[0x0],_0x369d6a=_0x9d2d10['plugins']['has']('RealTimeCollaborationClient')&&_0x9d2d10['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x369d6a||_0x31c75c['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x530f6b=_0x593baf(this['context']);if(!_0x530f6b['length'])throw new _0x31c75c['CKEditorError']('ai-get-editor-from-context-no-editor');const _0x5c5191=[],_0x567dca=new Set();for(const _0x3026b4 of _0x530f6b){const _0x2ed462=_0x3026b4['config']['get']('roots')||{};for(const _0x5eb96a of _0x3026b4['model']['document']['getRoots']()){if('$graveyard'===_0x5eb96a['rootName'])continue;const _0x55a18b=await this['_getDocumentDataForEditorRoot'](_0x3026b4,_0x5eb96a,_0x567dca),_0xd65ee1=_0x2ed462[_0x5eb96a['rootName']];let _0x6efe33;_0xd65ee1?.['label']?_0x6efe33=_0xd65ee1['label']:(_0x31c75c['logWarning']('ai-document-root-missing-label',{'editor':_0x3026b4,'rootConfig':_0xd65ee1}),_0x6efe33=_0x5eb96a['rootName']),_0x5c5191['push']({'editor':_0x3026b4,'rootName':_0x5eb96a['rootName'],'content':_0x55a18b['content'],'version':_0x55a18b['version'],'sessionId':this['sessionId'],'channelId':_0x3026b4['config']['get']('collaboration.channelId'),'selections':_0x55a18b['selections'],'name':_0x6efe33,'description':_0xd65ee1?.['description']});}}return _0x5c5191;}async['_getDocumentDataForEditorRoot'](_0x455e23,_0x124b52,_0x5e1187){const _0x4d1571=_0x455e23['data']['toView'](_0x124b52,{'convertAiChatSelectionMarker':!0x0}),_0x2925c3=new _0x31c75c['ViewDowncastWriter'](_0x455e23['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x4d1571,_0x2925c3,_0x5e1187);let _0xe44ba0=await this['_getDocumentDataStringFromView'](_0x4d1571,_0x455e23);const _0x568be9=this['_getMarkersInDocumentOrder'](_0x455e23,_0x124b52),_0x400544=[];for(const _0x3ed812 of _0x568be9){const _0x256524='<'+_0x3ed812['name']+':start></'+_0x3ed812['name']+':start>',_0x4b81a0=_0xe44ba0['indexOf'](_0x256524);_0xe44ba0=_0xe44ba0['substring'](0x0,_0x4b81a0)+_0xe44ba0['substring'](_0x4b81a0+_0x256524['length']);const _0x9539f6='<'+_0x3ed812['name']+':end></'+_0x3ed812['name']+':end>',_0x9e8b5e=_0xe44ba0['indexOf'](_0x9539f6);_0xe44ba0=_0xe44ba0['substring'](0x0,_0x9e8b5e)+_0xe44ba0['substring'](_0x9e8b5e+_0x9539f6['length']),_0x400544['push']({'markerName':_0x3ed812['name'],'start':_0x4b81a0,'end':_0x9e8b5e,'htmlFragment':_0xe44ba0['substring'](_0x4b81a0,_0x9e8b5e)});}return{'content':_0xe44ba0,'version':_0x455e23['model']['document']['version'],'selections':_0x400544};}async['afterInit'](){this['context']instanceof _0x31c75c['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0xe663f6,_0x35ec4b)=>{_0x35ec4b['on']('ready',()=>{this['_integrateEditor'](_0x35ec4b);});});}['_setOutputDataProcessor'](_0x1bea83){this['_outputDataProcessor']=_0x1bea83;}async['_getDocumentDataStringFromView'](_0x3f5c23,_0x24d444){let _0x55db5a;if(this['_outputDataProcessor']){const _0x3f06ef=_0x24d444['data']['processor']['domConverter']['viewToDom'](_0x3f5c23),_0x4f8728=await this['_outputDataProcessor'](_0x3f06ef);_0x55db5a=_0x24d444['data']['processor']['htmlWriter']['getHtml'](_0x4f8728);}else _0x55db5a=_0x24d444['data']['processor']['toData'](_0x3f5c23);return _0x55db5a;}['_integrateEditor'](_0x8e062){if(!_0x8e062['config']['get']('collaboration.channelId'))throw new _0x31c75c['CKEditorError']('ai-missing-channel-id',_0x8e062);_0x8e062['ui']['focusTracker']['on']('change:isFocused',(_0x81e870,_0x8c543a,_0x32429e)=>{_0x32429e&&(this['_lastContentFocusedEditor']=_0x8e062);}),_0x8e062['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x8e062&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x8e062['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2278f4,'view':({markerName:_0x52e0bc})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x52e0bc['split'](':')[0x1]],'priority':0xc})}),_0x8e062['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x2278f4+':context','view':(_0x1ab9de,{writer:_0xc7621c,options:_0x273570})=>_0x273570['convertAiChatSelectionMarker']?_0xc7621c['createUIElement'](_0x1ab9de['markerName']+':'+(_0x1ab9de['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x5dab82){const _0x370003=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x5dab82);const _0x2631f9=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x370003,_0x2631f9);}['hideFakeVisualSelection'](_0x3f4675){const _0x32778e=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x3f4675);const _0x46bb05=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x32778e,_0x46bb05);}async['modelToDataWithIds'](_0x30776a){const _0x303a3a=_0x26979b(this['context']),_0x40cdb4=_0x303a3a['data']['toView'](_0x30776a),_0x1de446=new _0x31c75c['ViewDowncastWriter'](_0x303a3a['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x40cdb4,_0x1de446),this['_getDocumentDataStringFromView'](_0x40cdb4,_0x303a3a);}['_setDataIdsOnChildren'](_0x56b87a,_0xf4a433,_0x20f784=new Set()){let _0x573798=!0x1;for(const _0x59a56e of _0x56b87a['getChildren']()){if(!_0x59a56e['is']('view:element')||_0xea9a8d['includes'](_0x59a56e['name']))continue;const _0x2d814f=_0x59a56e['is']('view:containerElement'),_0x55dd0a=_0x59a56e['is']('view:emptyElement'),_0x3554e1=this['_setDataIdsOnChildren'](_0x59a56e,_0xf4a433,_0x20f784);if(_0x59a56e['hasAttribute']('data-id')){_0x573798=!0x0,_0x20f784['add'](_0x59a56e['getAttribute']('data-id'));continue;}(_0x2d814f||_0x55dd0a||_0x3554e1)&&(_0xf4a433['setAttribute']('data-id',this['_nextDataId'](_0x20f784),_0x59a56e),_0x573798=!0x0);}return _0x573798;}['_nextDataId'](_0x1230c8){let _0x266717;do{_0x266717='';for(let _0x541297=0x0;_0x541297<0x4;_0x541297++)_0x266717+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x1230c8['has'](_0x266717));return _0x1230c8['add'](_0x266717),_0x266717;}['getSelectionText'](){const {model:_0xfc92b2}=_0x26979b(this['context']),_0x14d4b6=_0xfc92b2['document']['selection'],_0x1d4d89=[],_0x389297=Array['from'](_0x14d4b6['getRanges']());_0x389297['sort']((_0x47dbfd,_0x47846b)=>_0x47dbfd['start']['isBefore'](_0x47846b['start'])?-0x1:0x1);for(const _0x10f207 of _0x389297)for(const _0x4771e4 of _0x10f207['getItems']())_0x4771e4['is']('$textProxy')?_0x1d4d89['push'](_0x4771e4['data']):_0x4771e4['is']('element')&&_0x1d4d89['length']>0x0&&'\x20'!==_0x1d4d89[_0x1d4d89['length']-0x1]&&_0x1d4d89['push']('\x20');return _0x1d4d89['length']?'\x22'+_0x1d4d89['join']('')['trim']()+'\x22':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x26f7b9){for(let _0xca0dc7=0x0;_0xca0dc7<this['_fakeSelections']['length'];_0xca0dc7++)if(this['_fakeSelections'][_0xca0dc7]['id']==_0x26f7b9)return void this['_fakeSelections']['splice'](_0xca0dc7,0x1);}['_addFakeSelection'](_0x1255ef){this['_removeFakeSelectionById'](_0x1255ef['id']),_0x31c75c['insertToPriorityArray'](this['_fakeSelections'],_0x1255ef);}['_refreshFakeSelection'](_0x8b5b2b,_0x5be0ec){if(_0x8b5b2b==_0x5be0ec)return;const _0x41cfcb=_0x8b5b2b?this['_getEditorForFakeSelection'](_0x8b5b2b):null,_0x1e682c=_0x5be0ec?this['_getEditorForFakeSelection'](_0x5be0ec):null,_0x28e98f=(_0x1635a1,_0x49317a)=>{const _0x4fff64=_0x49317a['model']['markers']['getMarkersGroup'](_0x2278f4);for(const _0xee389e of _0x4fff64)_0x1635a1['removeMarker'](_0xee389e);},_0x2cd62f=(_0x4493b9,_0x244c72,_0x4958f6)=>{const _0x49abcc=_0x244c72['model'];for(let _0x176063=0x0;_0x176063<_0x4958f6['ranges']['length'];_0x176063++){let _0x4615dc=_0x4958f6['ranges'][_0x176063];const _0x56abce=_0x2278f4+':'+_0x4958f6['id']+':'+_0x176063;if(_0x4615dc['start']['isAtEnd']){const _0x5eea0b=_0x4615dc['start']['getLastMatchingPosition'](({item:_0x52067e})=>!_0x49abcc['schema']['isContent'](_0x52067e),{'boundaries':_0x4615dc});_0x4615dc=_0x4493b9['createRange'](_0x5eea0b,_0x4615dc['end']);}_0x4493b9['addMarker'](_0x56abce,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4615dc});}};_0x41cfcb&&_0x1e682c&&_0x41cfcb===_0x1e682c&&_0x5be0ec?_0x41cfcb['model']['change'](_0x5de202=>{_0x28e98f(_0x5de202,_0x41cfcb),_0x2cd62f(_0x5de202,_0x1e682c,_0x5be0ec);}):(_0x41cfcb&&_0x41cfcb['model']['change'](_0x27ee80=>_0x28e98f(_0x27ee80,_0x41cfcb)),_0x1e682c&&_0x5be0ec&&_0x1e682c['model']['change'](_0x13a280=>_0x2cd62f(_0x13a280,_0x1e682c,_0x5be0ec)));}['_getEditorForFakeSelection'](_0x368c2a){if(!_0x368c2a['ranges']['length'])return _0x26979b(this['context']);const _0x1da73f=_0x368c2a['ranges'][0x0]['root']['document'];return _0x593baf(this['context'])['find'](_0x534104=>_0x534104['model']['document']===_0x1da73f)??_0x26979b(this['context']);}['_getMarkersInDocumentOrder'](_0x46d097,_0x156cd6){const _0x5cf1b6=Array['from'](_0x46d097['model']['markers']['getMarkersGroup'](_0x2278f4+':context')),_0x1930f6=_0x156cd6?_0x5cf1b6['filter'](_0x4d298c=>{const _0x35dbcd=_0x4d298c['getRange']();return _0x35dbcd&&_0x35dbcd['root']['rootName']===_0x156cd6['rootName'];}):_0x5cf1b6;return _0x1930f6['sort']((_0xdb1b29,_0x468232)=>_0xdb1b29['getStart']()['isBefore'](_0x468232['getStart']())?-0x1:_0xdb1b29['getStart']()['isAfter'](_0x468232['getStart']())?0x1:0x0);}}const _0x2dbc56=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x3809bb=[..._0x2dbc56,'startConversation','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x2ba507,_0x3f4cfa='undefined'==typeof document?void 0x0:document,_0x310f26=!!_0x3f4cfa&&'content'in _0x3f4cfa['createElement']('template'),_0x793e32=!!_0x3f4cfa&&_0x3f4cfa['createRange']&&'createContextualFragment'in _0x3f4cfa['createRange']();function _0x1cf534(_0x119c9d){return _0x119c9d=_0x119c9d['trim'](),_0x310f26?function(_0x5b7c66){var _0x3d20c6=_0x3f4cfa['createElement']('template');return _0x3d20c6['innerHTML']=_0x5b7c66,_0x3d20c6['content']['childNodes'][0x0];}(_0x119c9d):_0x793e32?function(_0x5ca695){return _0x2ba507||(_0x2ba507=_0x3f4cfa['createRange']())['selectNode'](_0x3f4cfa['body']),_0x2ba507['createContextualFragment'](_0x5ca695)['childNodes'][0x0];}(_0x119c9d):function(_0x5d3752){var _0x5740de=_0x3f4cfa['createElement']('body');return _0x5740de['innerHTML']=_0x5d3752,_0x5740de['childNodes'][0x0];}(_0x119c9d);}function _0x52af42(_0x5b3ac1,_0x1c9d67){var _0x41a9db,_0x24bf64,_0x3a6662=_0x5b3ac1['nodeName'],_0x5ee2bc=_0x1c9d67['nodeName'];return _0x3a6662===_0x5ee2bc||(_0x41a9db=_0x3a6662['charCodeAt'](0x0),_0x24bf64=_0x5ee2bc['charCodeAt'](0x0),_0x41a9db<=0x5a&&_0x24bf64>=0x61?_0x3a6662===_0x5ee2bc['toUpperCase']():_0x24bf64<=0x5a&&_0x41a9db>=0x61&&_0x5ee2bc===_0x3a6662['toUpperCase']());}function _0x51e202(_0x318b50,_0x17740d,_0x11d6c6){_0x318b50[_0x11d6c6]!==_0x17740d[_0x11d6c6]&&(_0x318b50[_0x11d6c6]=_0x17740d[_0x11d6c6],_0x318b50[_0x11d6c6]?_0x318b50['setAttribute'](_0x11d6c6,''):_0x318b50['removeAttribute'](_0x11d6c6));}var _0x3f6962={'OPTION':function(_0x4ac400,_0x587525){var _0x3d2f74=_0x4ac400['parentNode'];if(_0x3d2f74){var _0xe39b59=_0x3d2f74['nodeName']['toUpperCase']();'OPTGROUP'===_0xe39b59&&(_0xe39b59=(_0x3d2f74=_0x3d2f74['parentNode'])&&_0x3d2f74['nodeName']['toUpperCase']()),'SELECT'!==_0xe39b59||_0x3d2f74['hasAttribute']('multiple')||(_0x4ac400['hasAttribute']('selected')&&!_0x587525['selected']&&(_0x4ac400['setAttribute']('selected','selected'),_0x4ac400['removeAttribute']('selected')),_0x3d2f74['selectedIndex']=-0x1);}_0x51e202(_0x4ac400,_0x587525,'selected');},'INPUT':function(_0x29511e,_0x19546d){_0x51e202(_0x29511e,_0x19546d,'checked'),_0x51e202(_0x29511e,_0x19546d,'disabled'),_0x29511e['value']!==_0x19546d['value']&&(_0x29511e['value']=_0x19546d['value']),_0x19546d['hasAttribute']('value')||_0x29511e['removeAttribute']('value');},'TEXTAREA':function(_0x102bba,_0x423293){var _0x26a8f6=_0x423293['value'];_0x102bba['value']!==_0x26a8f6&&(_0x102bba['value']=_0x26a8f6);var _0x2636f1=_0x102bba['firstChild'];if(_0x2636f1){var _0x564fef=_0x2636f1['nodeValue'];if(_0x564fef==_0x26a8f6||!_0x26a8f6&&_0x564fef==_0x102bba['placeholder'])return;_0x2636f1['nodeValue']=_0x26a8f6;}},'SELECT':function(_0x223e25,_0x2cc134){if(!_0x2cc134['hasAttribute']('multiple')){for(var _0x27a37a,_0x73a097,_0x9e25c6=-0x1,_0xcaa58c=0x0,_0x159772=_0x223e25['firstChild'];_0x159772;)if('OPTGROUP'===(_0x73a097=_0x159772['nodeName']&&_0x159772['nodeName']['toUpperCase']()))(_0x159772=(_0x27a37a=_0x159772)['firstChild'])||(_0x159772=_0x27a37a['nextSibling'],_0x27a37a=null);else{if('OPTION'===_0x73a097){if(_0x159772['hasAttribute']('selected')){_0x9e25c6=_0xcaa58c;break;}_0xcaa58c++;}!(_0x159772=_0x159772['nextSibling'])&&_0x27a37a&&(_0x159772=_0x27a37a['nextSibling'],_0x27a37a=null);}_0x223e25['selectedIndex']=_0x9e25c6;}}};function _0x550454(){}function _0x36d365(_0x10d0df){if(_0x10d0df)return _0x10d0df['getAttribute']&&_0x10d0df['getAttribute']('id')||_0x10d0df['id'];}var _0x3f3dc6=function(_0x46612e){return function(_0x393717,_0x1b625e,_0x9e0107){if(_0x9e0107||(_0x9e0107={}),'string'==typeof _0x1b625e){if('#document'===_0x393717['nodeName']||'HTML'===_0x393717['nodeName']||'BODY'===_0x393717['nodeName']){var _0x47081c=_0x1b625e;(_0x1b625e=_0x3f4cfa['createElement']('html'))['innerHTML']=_0x47081c;}else _0x1b625e=_0x1cf534(_0x1b625e);}else 0xb===_0x1b625e['nodeType']&&(_0x1b625e=_0x1b625e['firstElementChild']);var _0x2009d4=_0x9e0107['getNodeKey']||_0x36d365,_0x1a4221=_0x9e0107['onBeforeNodeAdded']||_0x550454,_0x4e26d6=_0x9e0107['onNodeAdded']||_0x550454,_0x2d61ef=_0x9e0107['onBeforeElUpdated']||_0x550454,_0x192c21=_0x9e0107['onElUpdated']||_0x550454,_0x23d18c=_0x9e0107['onBeforeNodeDiscarded']||_0x550454,_0x585ce3=_0x9e0107['onNodeDiscarded']||_0x550454,_0xc2cdb3=_0x9e0107['onBeforeElChildrenUpdated']||_0x550454,_0x18e9af=_0x9e0107['skipFromChildren']||_0x550454,_0x15747d=_0x9e0107['addChild']||function(_0x3e9afe,_0x140837){return _0x3e9afe['appendChild'](_0x140837);},_0x295ac2=!0x0===_0x9e0107['childrenOnly'],_0x11d17f=Object['create'](null),_0x3f7ed6=[];function _0x24a292(_0x134ce0){_0x3f7ed6['push'](_0x134ce0);}function _0x170f76(_0x424604,_0x58b274){if(0x1===_0x424604['nodeType'])for(var _0x2ac36b=_0x424604['firstChild'];_0x2ac36b;){var _0x59e75f=void 0x0;_0x58b274&&(_0x59e75f=_0x2009d4(_0x2ac36b))?_0x24a292(_0x59e75f):(_0x585ce3(_0x2ac36b),_0x2ac36b['firstChild']&&_0x170f76(_0x2ac36b,_0x58b274)),_0x2ac36b=_0x2ac36b['nextSibling'];}}function _0x54329c(_0x45da5c,_0xcd61b4,_0xc38730){!0x1!==_0x23d18c(_0x45da5c)&&(_0xcd61b4&&_0xcd61b4['removeChild'](_0x45da5c),_0x585ce3(_0x45da5c),_0x170f76(_0x45da5c,_0xc38730));}function _0xd28ed3(_0x4b7650){if(0x1===_0x4b7650['nodeType']||0xb===_0x4b7650['nodeType'])for(var _0x223b02=_0x4b7650['firstChild'];_0x223b02;){var _0x5188c6=_0x2009d4(_0x223b02);_0x5188c6&&(_0x11d17f[_0x5188c6]=_0x223b02),_0xd28ed3(_0x223b02),_0x223b02=_0x223b02['nextSibling'];}}function _0x3dcd4b(_0x402d0c){_0x4e26d6(_0x402d0c);for(var _0x2a471e=_0x402d0c['firstChild'];_0x2a471e;){var _0xebff51=_0x2a471e['nextSibling'],_0x69c4db=_0x2009d4(_0x2a471e);if(_0x69c4db){var _0x50770b=_0x11d17f[_0x69c4db];_0x50770b&&_0x52af42(_0x2a471e,_0x50770b)?(_0x2a471e['parentNode']['replaceChild'](_0x50770b,_0x2a471e),_0x27b94e(_0x50770b,_0x2a471e)):_0x3dcd4b(_0x2a471e);}else _0x3dcd4b(_0x2a471e);_0x2a471e=_0xebff51;}}function _0x27b94e(_0x5c4bb6,_0x3e9877,_0x49ce43){var _0xbf8d85=_0x2009d4(_0x3e9877);if(_0xbf8d85&&delete _0x11d17f[_0xbf8d85],!_0x49ce43){var _0x3362ad=_0x2d61ef(_0x5c4bb6,_0x3e9877);if(!0x1===_0x3362ad)return;if(_0x3362ad instanceof HTMLElement&&_0xd28ed3(_0x5c4bb6=_0x3362ad),_0x46612e(_0x5c4bb6,_0x3e9877),_0x192c21(_0x5c4bb6),!0x1===_0xc2cdb3(_0x5c4bb6,_0x3e9877))return;}'TEXTAREA'!==_0x5c4bb6['nodeName']?function(_0x4e2ab8,_0x3e79ca){var _0x56a724,_0x1f6b82,_0x3ef649,_0x190073,_0x527faa,_0x2cea5e=_0x18e9af(_0x4e2ab8,_0x3e79ca),_0x4d7d83=_0x3e79ca['firstChild'],_0x21abf7=_0x4e2ab8['firstChild'];t:for(;_0x4d7d83;){for(_0x190073=_0x4d7d83['nextSibling'],_0x56a724=_0x2009d4(_0x4d7d83);!_0x2cea5e&&_0x21abf7;){if(_0x3ef649=_0x21abf7['nextSibling'],_0x4d7d83['isSameNode']&&_0x4d7d83['isSameNode'](_0x21abf7)){_0x4d7d83=_0x190073,_0x21abf7=_0x3ef649;continue t;}_0x1f6b82=_0x2009d4(_0x21abf7);var _0x1d4636=_0x21abf7['nodeType'],_0x56b0ce=void 0x0;if(_0x1d4636===_0x4d7d83['nodeType']&&(0x1===_0x1d4636?(_0x56a724?_0x56a724!==_0x1f6b82&&((_0x527faa=_0x11d17f[_0x56a724])?_0x3ef649===_0x527faa?_0x56b0ce=!0x1:(_0x4e2ab8['insertBefore'](_0x527faa,_0x21abf7),_0x1f6b82?_0x24a292(_0x1f6b82):_0x54329c(_0x21abf7,_0x4e2ab8,!0x0),_0x1f6b82=_0x2009d4(_0x21abf7=_0x527faa)):_0x56b0ce=!0x1):_0x1f6b82&&(_0x56b0ce=!0x1),(_0x56b0ce=!0x1!==_0x56b0ce&&_0x52af42(_0x21abf7,_0x4d7d83))&&_0x27b94e(_0x21abf7,_0x4d7d83)):0x3!==_0x1d4636&&0x8!=_0x1d4636||(_0x56b0ce=!0x0,_0x21abf7['nodeValue']!==_0x4d7d83['nodeValue']&&(_0x21abf7['nodeValue']=_0x4d7d83['nodeValue']))),_0x56b0ce){_0x4d7d83=_0x190073,_0x21abf7=_0x3ef649;continue t;}_0x1f6b82?_0x24a292(_0x1f6b82):_0x54329c(_0x21abf7,_0x4e2ab8,!0x0),_0x21abf7=_0x3ef649;}if(_0x56a724&&(_0x527faa=_0x11d17f[_0x56a724])&&_0x52af42(_0x527faa,_0x4d7d83))_0x2cea5e||_0x15747d(_0x4e2ab8,_0x527faa),_0x27b94e(_0x527faa,_0x4d7d83);else{var _0x15c316=_0x1a4221(_0x4d7d83);!0x1!==_0x15c316&&(_0x15c316&&(_0x4d7d83=_0x15c316),_0x4d7d83['actualize']&&(_0x4d7d83=_0x4d7d83['actualize'](_0x4e2ab8['ownerDocument']||_0x3f4cfa)),_0x15747d(_0x4e2ab8,_0x4d7d83),_0x3dcd4b(_0x4d7d83));}_0x4d7d83=_0x190073,_0x21abf7=_0x3ef649;}!function(_0x3882a9,_0x2f3ae1,_0x37913a){for(;_0x2f3ae1;){var _0x4ac8d7=_0x2f3ae1['nextSibling'];(_0x37913a=_0x2009d4(_0x2f3ae1))?_0x24a292(_0x37913a):_0x54329c(_0x2f3ae1,_0x3882a9,!0x0),_0x2f3ae1=_0x4ac8d7;}}(_0x4e2ab8,_0x21abf7,_0x1f6b82);var _0x1da7e0=_0x3f6962[_0x4e2ab8['nodeName']];_0x1da7e0&&_0x1da7e0(_0x4e2ab8,_0x3e79ca);}(_0x5c4bb6,_0x3e9877):_0x3f6962['TEXTAREA'](_0x5c4bb6,_0x3e9877);}_0xd28ed3(_0x393717);var _0x349d8d=_0x393717,_0x3f2c2f=_0x349d8d['nodeType'],_0x48a0ee=_0x1b625e['nodeType'];if(!_0x295ac2){if(0x1===_0x3f2c2f)0x1===_0x48a0ee?_0x52af42(_0x393717,_0x1b625e)||(_0x585ce3(_0x393717),_0x349d8d=function(_0x1a276d,_0x386c91){for(var _0x4f91fe=_0x1a276d['firstChild'];_0x4f91fe;){var _0x1a80f6=_0x4f91fe['nextSibling'];_0x386c91['appendChild'](_0x4f91fe),_0x4f91fe=_0x1a80f6;}return _0x386c91;}(_0x393717,function(_0x3c3ab0,_0x490f5f){return _0x490f5f&&'http://www.w3.org/1999/xhtml'!==_0x490f5f?_0x3f4cfa['createElementNS'](_0x490f5f,_0x3c3ab0):_0x3f4cfa['createElement'](_0x3c3ab0);}(_0x1b625e['nodeName'],_0x1b625e['namespaceURI']))):_0x349d8d=_0x1b625e;else{if(0x3===_0x3f2c2f||0x8===_0x3f2c2f){if(_0x48a0ee===_0x3f2c2f)return _0x349d8d['nodeValue']!==_0x1b625e['nodeValue']&&(_0x349d8d['nodeValue']=_0x1b625e['nodeValue']),_0x349d8d;_0x349d8d=_0x1b625e;}}}if(_0x349d8d===_0x1b625e)_0x585ce3(_0x393717);else{if(_0x1b625e['isSameNode']&&_0x1b625e['isSameNode'](_0x349d8d))return;if(_0x27b94e(_0x349d8d,_0x1b625e,_0x295ac2),_0x3f7ed6)for(var _0x220827=0x0,_0x3187cc=_0x3f7ed6['length'];_0x220827<_0x3187cc;_0x220827++){var _0x58b46c=_0x11d17f[_0x3f7ed6[_0x220827]];_0x58b46c&&_0x54329c(_0x58b46c,_0x58b46c['parentNode'],!0x1);}}return!_0x295ac2&&_0x349d8d!==_0x393717&&_0x393717['parentNode']&&(_0x349d8d['actualize']&&(_0x349d8d=_0x349d8d['actualize'](_0x393717['ownerDocument']||_0x3f4cfa)),_0x393717['parentNode']['replaceChild'](_0x349d8d,_0x393717)),_0x349d8d;};}(function(_0x364e10,_0x5b617b){var _0xa7aeee,_0x399b87,_0x59adbb,_0x5decdc,_0x3618af=_0x5b617b['attributes'];if(0xb!==_0x5b617b['nodeType']&&0xb!==_0x364e10['nodeType']){for(var _0x205ec0=_0x3618af['length']-0x1;_0x205ec0>=0x0;_0x205ec0--)_0x399b87=(_0xa7aeee=_0x3618af[_0x205ec0])['name'],_0x59adbb=_0xa7aeee['namespaceURI'],_0x5decdc=_0xa7aeee['value'],_0x59adbb?(_0x399b87=_0xa7aeee['localName']||_0x399b87,_0x364e10['getAttributeNS'](_0x59adbb,_0x399b87)!==_0x5decdc&&('xmlns'===_0xa7aeee['prefix']&&(_0x399b87=_0xa7aeee['name']),_0x364e10['setAttributeNS'](_0x59adbb,_0x399b87,_0x5decdc))):_0x364e10['getAttribute'](_0x399b87)!==_0x5decdc&&_0x364e10['setAttribute'](_0x399b87,_0x5decdc);for(var _0x597401=_0x364e10['attributes'],_0x347912=_0x597401['length']-0x1;_0x347912>=0x0;_0x347912--)_0x399b87=(_0xa7aeee=_0x597401[_0x347912])['name'],(_0x59adbb=_0xa7aeee['namespaceURI'])?(_0x399b87=_0xa7aeee['localName']||_0x399b87,_0x5b617b['hasAttributeNS'](_0x59adbb,_0x399b87)||_0x364e10['removeAttributeNS'](_0x59adbb,_0x399b87)):_0x5b617b['hasAttribute'](_0x399b87)||_0x364e10['removeAttribute'](_0x399b87);}});function _0x5dddc0(_0x169b70){const _0x2b3c79=new AbortController();return{'promise':new Promise((_0xea6896,_0x7ce6e6)=>{const _0x53dd1c=setTimeout(_0xea6896,_0x169b70);_0x2b3c79['signal']['addEventListener']('abort',()=>{clearTimeout(_0x53dd1c),_0x7ce6e6();});}),'abortController':_0x2b3c79};}class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x45719c){this['options']={'delay':_0x45719c?.['delay']??0xa,'textNodeStyle':_0x45719c?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async['stream']({document:_0x1fc032,targetElement:_0x2b7850,abortSignal:_0x48cb67}){this['isStreaming']&&this['stop'](),_0x48cb67?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x50cad9(_0x1fc032,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x5d114a=0x0;_0x5d114a<this['currentIndex'];_0x5d114a++)this['nodesList'][_0x5d114a]['shouldBeStreamed']=!0x0;do{const _0x26eb30=Date['now'](),_0x455aab=this['nodesList'][this['currentIndex']],_0x4a74f0=_0x26eb30-this['lastUpdateTime'];if(_0x455aab){_0x455aab['shouldBeStreamed']=!0x0;let _0x16a1b2=_0x455aab['parent'];for(;_0x16a1b2;)_0x16a1b2['shouldBeStreamed']=!0x0,_0x16a1b2=_0x16a1b2['parent'];}if(_0x4a74f0<this['options']['delay'])try{const {promise:_0x599277,abortController:_0x3cdd6e}=_0x5dddc0(this['options']['delay']-_0x4a74f0);this['timeoutAbortController']=_0x3cdd6e,await _0x599277;}catch(_0x3836e2){return;}_0x3f3dc6(_0x2b7850,'<'+_0x2b7850['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x2b7850['tagName']+'>',{'childrenOnly':!0x0}),this['currentIndex']++,this['lastUpdateTime']=Date['now']();}while(this['currentIndex']<this['nodesList']['length']);this['currentIndex']=this['nodesList']['length'],this['isStreaming']=!0x1;}['reset'](){this['isStreaming']=!0x1,this['document']=null,this['nodesList']=[],this['currentIndex']=0x0,this['timeoutAbortController']=null;}['cleanUpAnimations']({targetElement:_0x39843e}){Array['from'](_0x39843e['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x2cbd6e=>{_0x2cbd6e['replaceWith'](_0x2cbd6e['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x82d217){let _0x3f826c='';if(function(_0x1e68cd){return _0x47b6c3(_0x1e68cd);}(_0x82d217)){for(const _0x4fa549 of _0x82d217['children'])_0x3f826c+=this['renderNode'](_0x4fa549);}else{if(_0x3f08ab(_0x82d217)){if(!_0x82d217['shouldBeStreamed'])return'';const _0x8cee17=_0x82d217,_0x1fb516=Object['entries'](_0x8cee17['attribs'])['map'](([_0x534434,_0x93c85f])=>_0x534434+'=\x22'+_0x93c85f+'\x22')['join']('\x20');_0x3f826c+='<'+_0x8cee17['tagName']+(_0x1fb516?'\x20'+_0x1fb516:'')+'>';for(const _0x571dcd of _0x4f771e(_0x182cbb=_0x8cee17)?_0x182cbb['children']:[])_0x3f826c+=this['renderNode'](_0x571dcd);_0x3f826c+='</'+_0x8cee17['tagName']+'>';}else{if(!tc(_0x82d217))return'';if(!_0x82d217['shouldBeStreamed'])return'';!function(_0x30cc60){if(!_0x30cc60['parent']||!_0x3f08ab(_0x30cc60['parent']))return!0x1;if(!_0x20705b['includes'](_0x30cc60['parent']['tagName']))return!0x1;return!_0x5143fd(_0x30cc60)['match'](/^\s*[<>]\s*$/);}(_0x82d217)?_0x3f826c+=ti(_0x82d217):_0x3f826c+=ti(new _0x54310e('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x82d217]));}}var _0x182cbb;return _0x3f826c;}['getParsedDocumentNodeList'](){const _0x1d3956=[];return function(_0x4f4024,_0x1984f9){const _0x1cd28e=_0x3504ca=>{if(_0x1984f9(_0x3504ca),_0x3504ca instanceof NodeWithChildren)for(let _0x35e5a9=0x0;_0x35e5a9<_0x3504ca['children']['length'];_0x35e5a9++){const _0x386f87=_0x3504ca['children'][_0x35e5a9];_0x1cd28e(_0x386f87);}};for(let _0x274fb0=0x0;_0x274fb0<_0x4f4024['children']['length'];_0x274fb0++)_0x1cd28e(_0x4f4024['children'][_0x274fb0]);}(this['document'],_0x2a990b=>{if(tc(_0x2a990b)){const _0xe55201=this['splitTextNodeIntoWordNodes'](_0x2a990b);_0xe55201['length']&&_0x1d3956['push'](..._0xe55201);}_0x2a990b['isWordSplitSource']||_0x2a990b['isWordSplitResult']||_0x1d3956['push'](_0x2a990b);}),_0x1d3956;}['splitTextNodeIntoWordNodes'](_0x3da176){if(_0x3da176['isWordSplitSource']||_0x3da176['isWordSplitResult'])return[];const _0x2e0721=_0x5143fd(_0x3da176)['match'](/(?:\s*\S+\s*)/g),_0x453633=[];if(_0x2e0721&&_0x2e0721['length']>0x1){for(const _0x2d533d of _0x2e0721){const _0x46f750=new _0x5dd6c2(_0x2d533d);_0x46f750['isWordSplitResult']=!0x0,_0xc08a98(_0x3da176,_0x46f750),_0x453633['push'](_0x46f750);}_0x3da176['isWordSplitSource']=!0x0,_0x407b65(_0x3da176);}return _0x453633;}}const _0x20705b=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function tc(_0x1f64c6){return _0x25de8a(_0x1f64c6);}function _0x3f08ab(_0x544c89){return _0x48a792(_0x544c89);}class AIChatFeedItemView extends _0x31c75c['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x2cdc0e){super();const _0x3bebe2=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer(),this['options']=_0x2cdc0e,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x3bebe2['if']('isDone','ck-ai-chat__feed__item_done'),_0x3bebe2['if']('isVisible','ck-hidden',_0x5a633f=>!_0x5a633f),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){this['htmlStreamer']['cleanUpAnimations']({'targetElement':this['element']}),this['element']['querySelectorAll']('[data-id]')['forEach'](_0x386582=>{_0x386582['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x587fb1,_0x36cfbc,_0x26bedd){await this['htmlStreamer']['stream']({'document':_0x587fb1,'targetElement':_0x36cfbc,'abortSignal':_0x26bedd});}}class AISuggestionHeaderView extends _0x31c75c['View']{['showChangesToggleView'];constructor(_0x139c97,_0x28cf89){super(_0x139c97),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x505f7a(_0x139c97),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+Bt,'label':Qt(_0x139c97,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x28cf89['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x542097=>_0x542097?_0x31c75c['IconShowChangesOn']:_0x31c75c['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x3326bc=new _0x31c75c['IconView']();_0x3326bc['content']=_0x31c75c['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x28cf89['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x3326bc,{'tag':'span','children':[Qt(_0x139c97,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x505f7a extends _0x31c75c['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x2ea31a={'accepted':_0x31c75c['IconBoxWithCheck'],'rejected':_0x31c75c['IconBoxWithCross'],'outdated':_0x31c75c['IconBoxWithCross']};class AISuggestionContentPartStateView extends _0x31c75c['View']{['stateIconView'];constructor(_0x50c0e9){super(_0x50c0e9);const _0xbac912=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new StateIconView(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0xbac912['to']('state',_0x5ccf53=>'ck-ai-suggestion__content-part-state_'+_0x5ccf53),_0xbac912['if']('isVisible','ck-hidden',_0x4f2e95=>!_0x4f2e95)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xbac912['to']('state',_0xf92530=>{switch(_0xf92530){case'accepted':return Qt(_0x50c0e9,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return Qt(_0x50c0e9,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return Qt(_0x50c0e9,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x194c2d){this['state']=_0x194c2d;}}class StateIconView extends _0x31c75c['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x2ea31a[this['state']],this['on']('change:state',()=>{this['content']=_0x2ea31a[this['state']];});}}class AISuggestionContentPartToolbarView extends _0x31c75c['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x362ea1,_0xa94e48,_0x11da59){super(_0x362ea1);const _0x25fabb=Boolean(_0x11da59);this['set']('isEnabled',!_0x25fabb),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x464da6=[];if(_0x25fabb){const _0x28fea8=new _0x31c75c['ButtonView'](_0x362ea1);_0x28fea8['set']({'label':Qt(_0x362ea1,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x31c75c['IconInfo']}),_0x28fea8['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x464da6['push'](_0x28fea8);}else{_0xa94e48['includes']('applySuggestion')&&(this['_applyButton']=new _0x31c75c['ButtonView'](_0x362ea1),this['_applyButton']['set']({'label':Qt(_0x362ea1,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x31c75c['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x464da6['push'](this['_applyButton'])),_0xa94e48['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x31c75c['ButtonView'](_0x362ea1),this['_suggestButton']['set']({'label':Qt(_0x362ea1,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x31c75c['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x464da6['push'](this['_suggestButton']));const _0x345ff0=new _0x31c75c['ButtonView'](_0x362ea1);_0x345ff0['set']({'label':Qt(_0x362ea1,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x31c75c['IconBoxWithCross']}),_0x345ff0['bind']('isEnabled')['to'](this),_0x345ff0['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x464da6['push'](_0x345ff0);}this['items']['addMany'](_0x464da6);const _0x5f4035=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x5f4035['if']('isVisible','ck-hidden',_0x4e69dd=>!_0x4e69dd)]}});}['setButtonsVisibility']({showApplyButton:_0x1fda50,showSuggestButton:_0xf269b8}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x1fda50),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0xf269b8);}}class AISuggestionContentPartHeaderView extends _0x31c75c['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x10657d,{part:_0x15db80,uiIndex:_0x51bf72,availableActions:_0xf41229,areActionsDisabled:_0x2a98c1}){super(_0x10657d),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x10657d,_0xf41229,_0x2a98c1),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x15db80['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x15db80['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x15db80['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x10657d),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x10657d,_0x51bf72),this['children']=this['createCollection'](),this['children']['addMany']([this['titleLabelView'],this['toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title']},'children':this['children']}),this['on']('change:state',(_0x3e52fa,_0x4829f5,_0x3fa1c4,_0x2cbfb9)=>{'pending'===_0x2cbfb9?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x3fa1c4?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x3fa1c4),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x31c75c['View']{constructor(_0x48fe0c,_0xe536bd){super(_0x48fe0c),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[Qt(_0x48fe0c,'AI_SUGGESTION_CONTENT_PART_TITLE',_0xe536bd['toString']())]});}}class AISuggestionStreamableContentView extends _0x31c75c['View']{['htmlStreamer'];constructor(_0x139cf6){super(_0x139cf6),this['htmlStreamer']=new HTMLStreamer(),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x107f52,renderingStrategy:_0x1d40d7,abortSignal:_0x5261d0}){'streaming'===_0x1d40d7?await this['htmlStreamer']['stream']({'document':_0x107f52['content'],'targetElement':this['element'],'abortSignal':_0x5261d0}):_0x3f3dc6(this['element'],'<'+this['element']['tagName']+'>'+_0xad603d(_0x107f52['content'])+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends _0x31c75c['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x488ec1,{part:_0x360eb9,uiIndex:_0x5914e1,areActionsDisabled:_0x3f6c67,availableActions:_0x2c9b1b}){super(_0x488ec1);const _0x2b9ac7=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x4950cd=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x3f6c67;};this['on']('change:state',_0x4950cd),this['on']('change:isDone',_0x4950cd),_0x4950cd(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x488ec1,{'part':_0x360eb9,'uiIndex':_0x5914e1,'availableActions':_0x2c9b1b,'areActionsDisabled':_0x3f6c67}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x2dbc56)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x488ec1),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x2b9ac7['to']('state',_0x1323ee=>'ck-ai-suggestion__body__content-part_'+_0x1323ee),_0x2b9ac7['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x2b9ac7['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x2b9ac7['if']('isVisible','ck-hidden',_0xa2bc3c=>!_0xa2bc3c)]},'children':this['_children'],'on':{'mouseenter':_0x2b9ac7['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x360eb9['index']});}),'mouseleave':_0x2b9ac7['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x360eb9['index']});}),'click':_0x2b9ac7['to'](_0x61dfac=>{const _0x54a65a=_0x61dfac['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x54a65a)&&this['fire']('showChangeInText',{'index':_0x360eb9['index']});})}});}async['updateContent']({part:_0x328d42,showUnchangedParts:_0x1de157=!0x1,abortSignal:_0x30873c}){this['partDefinition']=_0x328d42,this['isVisible']=this['partDefinition']['hasChanges']||_0x1de157,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x328d42,'renderingStrategy':'static','abortSignal':_0x30873c});}['markAsDone'](){this['isDone']=!0x0;}}class AISkeletonView extends _0x31c75c['View']{constructor(_0x1cb7e0,_0x648391){super(_0x1cb7e0),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x4458c8=>!_0x4458c8)]},'children':this['_createSkeletonItems'](_0x648391)});}['_createSkeletonItems'](_0x365504){const _0x1ade42=['ck','ck-ai-skeleton__item'];return _0x365504['map'](_0x5c05f2=>{let _0x2a861f='';switch(_0x5c05f2['attributes']['align']){case'right':_0x2a861f='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x2a861f='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x2a861f='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x5c05f2['tag'],'attributes':{'class':[..._0x1ade42,_0x5c05f2['attributes']['class']?_0x5c05f2['attributes']['class']:''],'style':'width:\x20'+_0x5c05f2['attributes']['width']+';\x20height:\x20'+_0x5c05f2['attributes']['height']+';'+_0x2a861f}};});}}const _0x256023={'aiSuggestionBody':[{'tag':'div','attributes':{'width':'50%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'85%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'75%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}}],'aiFeed':[{'tag':'div','attributes':{'width':'100%','height':'72px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}},{'tag':'div','attributes':{'width':'150px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'140px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}}],'aiHistory':_0x2b0357(0x5,'100%','44px','right'),'aiChatResources':_0x2b0357(0x8,'100%','24px','right'),'aiReviewChecks':[{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}}]};function _0x2b0357(_0x29c585,_0x14f4ce,_0xb82106,_0xd3a468){return new Array(_0x29c585)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x14f4ce,'height':_0xb82106,'align':_0xd3a468}}));}class _0x4138b2 extends _0x31c75c['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x2b52e1){const _0x5cf60a=this['createTask'](_0x2b52e1);return this['queue']['push'](_0x5cf60a),this['_processQueue'](),_0x5cf60a['completePromise'];}['abort'](){this['isProcessing']&&(this['_abortController']['abort'](),this['_abortController']=void 0x0,this['queue']=[],this['fire']('_queueEmpty'),this['isProcessing']=!0x1);}get['queueEmptyPromise'](){return this['queue']['length']||this['isProcessing']?new Promise(_0x5a22a5=>{this['once']('_queueEmpty',()=>{_0x5a22a5();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x45c547=this['queue']['shift']();try{await _0x45c547['callback'](this['_abortController']['signal']),_0x45c547['resolve']();}catch(_0x54af64){_0x45c547['reject'](_0x54af64);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x49ab1a){let _0x10bd95,_0x5cad08;const _0x19fcd1=new Promise((_0x39cd8e,_0x469c00)=>{_0x10bd95=_0x39cd8e,_0x5cad08=_0x469c00;});return{'callback':_0x49ab1a,'resolve':_0x10bd95,'reject':_0x5cad08,'completePromise':_0x19fcd1};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x49c542){super(_0x49c542),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x49c542['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x1cf478){this['element']['innerHTML']=_0x1cf478;}}const _0x2d963f=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0x31c75c['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x1dfcae,_0x264d5e=[..._0x2d963f],_0x165616){super(_0x1dfcae);const _0x271348=this['bindTemplate'],_0x55d856=Boolean(_0x165616);if(this['set']('isEnabled',!_0x55d856),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x55d856){const _0x46927c=new _0x31c75c['ButtonView'](_0x1dfcae);_0x46927c['set']({'label':Qt(_0x1dfcae,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x31c75c['IconInfo']}),_0x46927c['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x2527f1=new _0x31c75c['View'](_0x1dfcae);_0x2527f1['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[Qt(_0x1dfcae,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x46927c]}]}),this['children']['add'](_0x2527f1);}else this['_applyChangesButton']=new _0x31c75c['ButtonView'](_0x1dfcae),this['_applyChangesButton']['set']({'label':Qt(_0x1dfcae,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x264d5e['includes']('applySuggestion'),'class':Vt}),this['_insertSuggestionsButton']=new _0x31c75c['ButtonView'](_0x1dfcae),this['_insertSuggestionsButton']['set']({'label':Qt(_0x1dfcae,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x264d5e['includes']('insertSuggestion'),'class':Ut}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x1afca9=>{_0x1afca9['bind']('isEnabled')['to'](this);}),this['children']['addMany']([this['_applyChangesButton'],this['_insertSuggestionsButton']]);this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__ai-suggestion__actions',_0x271348['if']('isVisible','ck-hidden',_0x3003f8=>!_0x3003f8)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x2cc526){this['isVisible']=_0x2cc526;}['_switchButtonLabelsPlurality'](_0x7a5662){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x7a5662?(this['_applyChangesButton']['label']=Qt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=Qt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=Qt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=Qt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}class _0x3d9c4f extends _0x31c75c['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x22bb4a,_0xe5705a){super(_0x22bb4a),this['bodyCollection']=_0xe5705a,this['children']=this['createCollection'](),this['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources',this['bindTemplate']['if']('isVisible','ck-hidden',_0x34a74d=>!_0x34a74d)]},'children':this['children']});const _0x450066=new _0x31c75c['View'](this['locale']),_0x5ad723=new _0x31c75c['IconView']();_0x5ad723['content']=_0x31c75c['IconWeb'],_0x450066['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x5ad723,{'tag':'span','children':[{'text':Qt(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x450066),this['_setupBalloonPanel'](_0x22bb4a);}['addSource'](_0x7d697e){this['children']['add'](new _0x5df032(this['locale'],_0x7d697e,this['balloonPanelView']));}['_setupBalloonPanel'](_0x21fee3){this['balloonPanelView']=new _0x31c75c['BalloonPanelView'](_0x21fee3),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x5df032 extends _0x31c75c['ButtonView']{['balloonPanelView'];['source'];constructor(_0x34252c,_0x5b404f,_0x2916ad){super(_0x34252c),this['source']=_0x5b404f,this['balloonPanelView']=_0x2916ad,this['set']({'label':_0x5b404f['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0xea6902=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0xea6902['to'](()=>{window['open'](_0x5b404f['url'],'_blank');}),'mouseenter':_0xea6902['to'](()=>{this['_showTooltip']();}),'mouseleave':_0xea6902['to'](()=>{this['_hideTooltip']();})}}),_0x5b404f['favicon']){const _0x1676a5=new _0x31c75c['View'](_0x34252c);_0x1676a5['setTemplate']({'tag':'img','attributes':{'src':_0x5b404f['favicon']||_0x31c75c['IconWeb'],'alt':_0x5b404f['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x1676a5);}else this['set']('icon',_0x31c75c['IconWeb']);}['_createTooltipContentView'](_0x1646a,_0x470033){const _0x2e12c2=new _0x31c75c['View'](_0x1646a),_0xf34253=[];let _0x44b9f0;_0x470033?.['favicon']?(_0x44b9f0=new _0x31c75c['View'](_0x1646a),_0x44b9f0['setTemplate']({'tag':'img','attributes':{'src':_0x470033['favicon'],'alt':_0x470033['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x44b9f0=new _0x31c75c['IconView'](),_0x44b9f0['content']=_0x31c75c['IconWeb'],_0x44b9f0['extendTemplate']({'attributes':{'alt':_0x470033['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0xf34253['push'](_0x44b9f0);const _0x3b5ad5=new _0x31c75c['View'](_0x1646a);_0x3b5ad5['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x470033['url']},'children':[{'text':new URL(_0x470033['url'])?.['hostname']}]}),_0xf34253['push'](_0x3b5ad5);const _0x2ea618=new _0x31c75c['View'](_0x1646a);_0x2ea618['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0xf34253});const _0x243f14=new _0x31c75c['View'](_0x1646a);return _0x243f14['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x470033['title']['length']>0x190?_0x470033['title']['substring'](0x0,0x190)+'...':_0x470033['title']}]}),_0x2e12c2['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x2ea618,_0x243f14]}),_0x2e12c2;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0x31c75c['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x31c75c['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x31c75c['BalloonPanelView']['defaultPositions']['northArrowSouthEast']],'limiter':document['querySelector']('.ck-ai-chat')}),this['balloonPanelView']['show']();}['_hideTooltip'](){this['balloonPanelView']['hide']();}['_updateTooltipContent'](){this['balloonPanelView']['content']['get'](0x0)?.['destroy'](),this['balloonPanelView']['content']['clear']();const _0x25318c=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x25318c);}}class AISuggestionBodyView extends _0x31c75c['View']{['_actionsView'];['_sourcesView'];['_children'];['_skeletonView'];['_showSkeletonDebounced']=ht(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},0x3e8);['_skeletonShownAt']=null;['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x28808d,_0x3ffcb2){super(_0x28808d);const {areActionsDisabled:_0x511305,showUnchangedParts:_0x293f83,availableActions:_0x5b3fe2}=_0x3ffcb2;this['_areActionsDisabled']=_0x511305,this['_showUnchangedParts']=_0x293f83,this['_availableActions']=_0x5b3fe2,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new AISkeletonView(_0x28808d,_0x256023['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new _0x4138b2(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':Qt(_0x28808d,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x28808d,_0x3ffcb2['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x3d9c4f(this['locale'],_0x3ffcb2['bodyCollection']),_0x3ffcb2['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x2dbc56)['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body']},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-parts']},'children':this['_children']},this['_emptyPartsWarningView'],this['_actionsView'],this['_sourcesView']]});}['destroy'](){this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),super['destroy']();}get['partsCount'](){return this['_contentPartViews']['length'];}get['_contentPartViews'](){return Array['from'](this['_children'])['filter'](_0x48203e=>_0x48203e instanceof AISuggestionBodyViewContentPartView);}async['updateContentParts']({parts:_0x390bdc,abortSignal:_0x610541,skipLoadingEffects:_0x344175}){this['_cachedContentParts']['length']?_0x390bdc['forEach'](_0x1dd3d1=>{const _0x57bb4a=this['_cachedContentParts']['findIndex'](_0x1f3173=>_0x1f3173['index']==_0x1dd3d1['index']);-0x1===_0x57bb4a?this['_cachedContentParts']['push'](_0x1dd3d1):this['_cachedContentParts'][_0x57bb4a]=_0x1dd3d1;}):this['_cachedContentParts']=_0x390bdc;const _0x4c1c6e=this['_showUnchangedParts']?_0x390bdc:_0x390bdc['filter'](_0x27b923=>_0x27b923['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x4c1c6e['length']>0x1),_0x344175&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x53f470 of _0x4c1c6e)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x157e33=>{let _0xa9dc83=this['getPartView'](_0x53f470['index']);if(!_0xa9dc83){if(_0xa9dc83=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x53f470,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0xa9dc83['delegate'](..._0x2dbc56)['to'](this),!_0x344175&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x157e33),_0x157e33['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0xa9dc83,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x344175||this['_showSkeletonDebounced']();}await _0xa9dc83['updateContent']({'part':_0x53f470,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x157e33}),_0xa9dc83['markAsDone']();});return _0x610541?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x113c80,_0x334ecd){const _0x2b6060=this['getPartView'](_0x113c80);_0x2b6060&&(_0x2b6060['state']=_0x334ecd),this['hasPendingParts']='pending'==_0x334ecd||this['_contentPartViews']['some'](_0x244738=>'pending'==_0x244738['state']);}['setPartActive'](_0x4602db,_0x5e1d04){if(!0x1===_0x4602db){for(const _0x3aa1cf of this['_contentPartViews'])_0x3aa1cf['isActive']=!0x1;}else{const _0x335667=this['getPartView'](_0x4602db);_0x335667&&(_0x335667['isActive']=_0x5e1d04);}}['updateSources'](_0x543499){_0x543499['forEach'](_0x332443=>this['_sourcesView']['addSource'](_0x332443)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x248be3){return this['_contentPartViews']['find'](_0x20c374=>_0x20c374['partDefinition']['index']==_0x248be3)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x3244e0=!this['_cachedContentParts']['find'](({hasChanges:_0xfc0c00})=>_0xfc0c00),_0x11e165=!!this['_cachedContentParts']['find'](({hasChanges:_0x28ec43})=>!_0x28ec43);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x11e165,_0x3244e0?this['_emptyPartsWarningView']['setContent'](Qt(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](Qt(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x14b03d=>_0x14b03d['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x141e00){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x441771=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x441771>0x0){const {promise:_0x349a76,abortController:_0x5c6633}=_0x5dddc0(_0x441771);_0x141e00?.['addEventListener']('abort',()=>_0x5c6633['abort']()),await _0x349a76['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0x3d15a6=>_0x3d15a6['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0x31c75c['View']{['bodyView'];['children'];['headerView'];constructor(_0x89d561,_0x3ee11b,_0x3cf845){super(_0x89d561);const {showDiff:_0x57d7b5,areActionsDisabled:_0x91cb80,showUnchangedParts:_0x509e4f,availableActions:_0x30cf79}=_0x3ee11b;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x89d561,{'showDiff':_0x57d7b5}),this['headerView']['on']('toggleShowChanges',(_0x3d4c5c,_0x5e45a7)=>{this['areChangesVisible']=_0x5e45a7['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x5e45a7['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x89d561,{'areActionsDisabled':_0x91cb80,'showUnchangedParts':!!_0x509e4f,'availableActions':_0x30cf79,'bodyCollection':_0x3cf845}),this['bodyView']['delegate'](..._0x2dbc56)['to'](this),this['bodyView']['bind']('isTrackChangesOn')['to'](this),this['children']['add'](this['bodyView']),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__container','ck-rounded-corners']},'children':this['children']});}async['updateContent'](_0x183610){await this['bodyView']['updateContentParts'](_0x183610);}['updateSources'](_0x37b720){this['bodyView']['updateSources'](_0x37b720);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x56342a,_0x358437,_0x41d729){super(_0x358437),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x56342a,{'showDiff':_0x358437['showDiff'],'areActionsDisabled':_0x358437['areActionsDisabled'],'availableActions':_0x358437['availableActions']},_0x41d729),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x1a9607,_0x3a4311)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x3a4311['showDiff']});}),this['containerView']['bind']('isTrackChangesOn')['to'](this),this['containerView']['on']('like',()=>{this['fire']('like',{'replyId':this['options']['id']});}),this['containerView']['on']('dislike',()=>{this['fire']('dislike',{'replyId':this['options']['id']});}),this['containerView']['on']('showChangeInText',(_0x2d55a3,{index:_0x5f54b5})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x5f54b5});}),this['containerView']['on']('applySuggestion',(_0x15937e,{index:_0xf921de}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0xf921de});}),this['containerView']['on']('insertSuggestion',(_0x309314,{index:_0x553430}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x553430});}),this['containerView']['on']('rejectSuggestion',(_0x137ec2,{index:_0x51bc69})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x51bc69});}),this['containerView']['on']('mouseOverSuggestion',(_0x76db05,{index:_0x5f226d})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x5f226d});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x5c3415,{index:_0x5bafd5})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x5bafd5});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x51cf81){await this['containerView']['updateContent'](_0x51cf81);}['updatePartState'](_0x53e5bb,_0x569e8a){this['containerView']['bodyView']['updatePartState'](_0x53e5bb,_0x569e8a);}['setPartActive'](_0xd37381,_0x257745){!0x1===_0xd37381?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0xd37381,_0x257745);}['updateSources'](_0x5d50d5){this['containerView']['updateSources'](_0x5d50d5);}['getPartView'](_0x5376f5){return this['containerView']['bodyView']['getPartView'](_0x5376f5);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x1967c3,_0x3c3efa,_0x5656b0){super(_0x3c3efa),this['_bodyCollection']=_0x5656b0,this['locale']=_0x1967c3,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x31c75c['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0x24a09e(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x2da268,renderingStrategy:_0x5105b5,abortSignal:_0x8a3055}){'streaming'===_0x5105b5?await this['streamIntoElement'](_0x2da268,this['replyContainer']['element'],_0x8a3055):this['replyContainer']['element']['innerHTML']=ti(_0x2da268);}['updateSources'](_0x2d9625){const _0x59e129=new _0x3d9c4f(this['locale'],this['_bodyCollection']);_0x59e129['children']['addMany'](_0x2d9625['map'](_0x568cd7=>new _0x5df032(this['locale'],_0x568cd7,_0x59e129['balloonPanelView']))),_0x59e129['isVisible']=!0x0,this['children']['add'](_0x59e129);}}class _0x31dcda extends _0x31c75c['SpinnerView']{constructor(_0x5c3f70=void 0x0){super();const _0x5e3f09=_0x5c3f70?'ck-ai-spinner_'+_0x5c3f70:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x5e3f09]}});}}const _0x28272b={'file':_0x31c75c['IconFileUpload'],'document':_0x31c75c['IconDocument'],'web-resource':_0x31c75c['IconLink'],'text':_0x31c75c['IconFileUpload'],'selection':_0x31c75c['IconSelection'],'mcp-tool-context':_0x31c75c['IconDocument']},_0x1bd7cc='ck-ai-chat-context-chip',_0x5f514e='ck-ai-chat-context-chip_wide',_0x34b42b='ck-ai-chat-context-chip_document',_0x4b684a='ck-ai-chat-context-chip__label',_0x27d695='ck-ai-chat-context-chip__type-icon',_0x16e2ad='ck-ai-chat-context-controls__chip-tooltip',_0xf284c='n';class AIChatContextItemButtonView extends _0x31c75c['ButtonView']{constructor(_0x41e46b,_0x56d97d,_0xdc664a,_0x5a5055,_0x191bd0=!0x1){super(_0x41e46b),this['_isAnimationOnEnterEnabled']=_0x5a5055,this['_initializeProperties'](_0x56d97d,_0xdc664a,_0x191bd0),this['_setupTemplate']();}['render'](){super['render'](),this['_isAnimationOnEnterEnabled']&&this['element']&&(this['element']['classList']['add']('ck-ai-chat-context-chip_new-chip'),this['_handleAnimationEndOnce'](this['element'],()=>{this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}));}['disableAnimationOnEnter'](){this['_isAnimationOnEnterEnabled']=!0x1,this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}['_initializeProperties'](_0x4027ad,_0x13ce7d,_0x1b1257){this['set']('label',_0x4027ad['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x4027ad['type']),this['set']('id',_0x4027ad['uiId']),this['set']('readonly',_0x13ce7d),this['set']('isLoading',_0x1b1257);}['_setupTemplate'](){const _0x462f14=this['_createIconView'](),_0x198d2e=this['_createRemoveButton'](),_0x338ad0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x338ad0),'children':this['_createTemplateChildren'](_0x462f14,_0x198d2e,_0x338ad0)});}['_createTemplateAttributes'](_0x5c5d32){return{'class':[_0x1bd7cc,_0x5c5d32['if']('itemType',_0x34b42b,_0xda3ade=>'document'==_0xda3ade),_0x5c5d32['if']('itemType',_0x5f514e,_0x363d0e=>'selection'==_0x363d0e)],'data-cke-tooltip-text':_0x5c5d32['to']('label',_0x1ecb23),'data-cke-tooltip-position':_0xf284c,'data-cke-tooltip-class':_0x16e2ad};}['_createTemplateChildren'](_0x2ae284,_0x7dc3e,_0x5e3c37){const _0x541896=this['_createLabelElement'](_0x5e3c37),_0x11fcd3=this['_createLoaderIcon']();return this['readonly']?[_0x2ae284,_0x541896]:[_0x2ae284,_0x11fcd3,_0x541896,_0x7dc3e];}['_createLabelElement'](_0x1091bb){return{'tag':'span','attributes':{'class':_0x4b684a},'children':[{'text':_0x1091bb['to']('label')}]};}['_createRemoveButton'](){const _0x4b9db0=new _0x31c75c['ButtonView'](this['locale']);return _0x4b9db0['set']({'label':Qt(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x31c75c['IconCancel']}),this['_setupRemoveButtonEvent'](_0x4b9db0),_0x4b9db0;}['_setupRemoveButtonEvent'](_0xfd2388){_0xfd2388['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x8eabc7=this['bindTemplate'],_0x310e12=new _0x31c75c['IconView']();return _0x310e12['content']=_0x28272b[this['itemType']],_0x310e12['extendTemplate']({'attributes':{'class':[_0x27d695,_0x8eabc7['if']('isLoading','ck-hidden',_0x397f9f=>_0x397f9f)]}}),_0x310e12;}['_handleAnimationEndOnce'](_0x369b1b,_0x39b8ec){if(!_0x369b1b)return;const _0x11b727=()=>{_0x39b8ec(),_0x369b1b['removeEventListener']('animationend',_0x11b727),_0x369b1b['removeEventListener']('webkitAnimationEnd',_0x11b727);};_0x369b1b['addEventListener']('animationend',_0x11b727),_0x369b1b['addEventListener']('webkitAnimationEnd',_0x11b727);}['_createLoaderIcon'](){const _0x34912f=new _0x31dcda('small');return _0x34912f['bind']('isVisible')['to'](this,'isLoading',_0x4c6836=>_0x4c6836),_0x34912f;}}function _0x1ecb23(_0x3a8f55){if(!_0x3a8f55)return _0x3a8f55;if(_0x3a8f55['length']<=0x78)return _0x3a8f55;const _0xd0cedc=_0x3a8f55['slice'](0x0,0x78),_0x2d153c=_0xd0cedc['lastIndexOf']('\x20');return(_0x2d153c>0x0?_0xd0cedc['slice'](0x0,_0x2d153c):_0xd0cedc)+'…';}const _0x42b837={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x168607='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x3b0fbb,_0x4785d8,_0x42ca95,_0x844ef1,_0xd93397){this['_locale']=_0x3b0fbb,this['_visibleChips']=_0x4785d8,this['_config']={..._0x42b837,..._0x42ca95,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x42ca95['cssClasses']}},this['_overflowChips']=new _0x31c75c['Collection'](),this['_bodyCollection']=_0x844ef1,this['_parentView']=_0xd93397||null;}['setContainerElement'](_0x4d04cd){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x4d04cd,this['_setupVisibilityObserver']();}get['showMoreButtonView'](){return this['_showMoreButtonView'];}get['overflowChips'](){return this['_overflowChips'];}['reorganizeChips'](){requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});}['showBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_updateBalloonContent'](),this['_showMoreButtonView']['isOn']=!0x0,this['_showMoreBalloonPanelView']['show'](),this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')}));}['hideBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_showMoreButtonView']['isOn']=!0x1,this['_showMoreBalloonPanelView']['hide']());}['clear'](){this['_overflowChips']['clear'](),this['hideBalloonPanel'](),this['_updateShowMoreButtonVisibility'](),this['_showMoreButtonView']&&(this['_showMoreButtonView']['label']=''),this['_showMoreBalloonPanelView']&&this['_showMoreBalloonPanelView']['content']['clear']();}['destroy'](){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_showMoreButtonView']&&(this['_showMoreButtonView']['destroy'](),this['_showMoreButtonView']=null),this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['destroy'](),this['_showMoreBalloonPanelView']=null);}['_checkAndHandleOverflow'](){if(!this['_containerElement'])return;if(!this['_isContainerVisible']())return void(this['_pendingCalculation']=!0x0);this['_pendingCalculation']=!0x1;const _0x3ecec9=[...this['_visibleChips'],...this['_overflowChips']],_0x4e45a7=this['_createCalculationContainer'](),_0x1c954e=this['_calculateOverflowInContainer'](_0x4e45a7,_0x3ecec9),_0x1ced60=_0x4e45a7['_ancestorsToRestore'];_0x1ced60&&this['_restoreAncestorVisibility'](_0x1ced60),_0x4e45a7['remove'](),this['_applyOverflowResults'](_0x3ecec9,_0x1c954e);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),_0x31c75c['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x4750f0=new _0x31c75c['ButtonView'](this['_locale']);_0x4750f0['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x935dd8=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x935dd8['push'](this['_config']['cssClasses']['controlsButton']),_0x4750f0['extendTemplate']({'attributes':{'class':_0x935dd8}}),_0x4750f0;}['_createShowMoreBalloonPanelView'](){const _0x1dfb7e=new _0x31c75c['BalloonPanelView'](this['_locale']);return _0x1dfb7e['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x1dfb7e),_0x1dfb7e;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x12da5c=>{_0x12da5c['disableAnimationOnEnter']();});const _0x5b3070=new _0x31c75c['View'](this['_locale']);_0x5b3070['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x5b3070);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x2b25c3=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x2b25c3?'':'none');}['_repinBalloonPanel'](){this['_showMoreButtonView']?.['isOn']&&this['_showMoreBalloonPanelView']?.['isVisible']&&this['_showMoreButtonView']['element']&&this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')});}['_findTargetContainer'](_0x30664c){const _0x120426=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x142ce0=this['_containerElement']?.['classList'];if(_0x142ce0){const _0x23c59c=_0x142ce0[0x0]||'',_0x4f5eb4=_0x30664c['querySelector']('.'+_0x23c59c),_0x2bae84=_0x30664c['querySelector'](_0x120426);return _0x4f5eb4||_0x2bae84||_0x30664c;}return _0x30664c['querySelector'](_0x120426)||_0x30664c;}['_calculateContainerWidth'](){const _0xbd7737=this['_parentView']?.['element']||this['_containerElement'];if(!_0xbd7737)return _0x168607;const _0x9d15a9=window['getComputedStyle'](_0xbd7737)['width'];if('auto'===_0x9d15a9||'0px'===_0x9d15a9||!_0x9d15a9){const _0x5cd87e=_0xbd7737['parentElement'];if(_0x5cd87e){const _0x231902=window['getComputedStyle'](_0x5cd87e);return'auto'!==_0x231902['width']?_0x231902['width']:_0x168607;}return _0x168607;}return _0x9d15a9;}['_applyCalculationStyles'](_0x5d7f3f,_0x148b24){this['_config']['cssClasses']['calculationContainer']&&_0x5d7f3f['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x5d7f3f['style']['width']=_0x148b24,_0x5d7f3f['style']['position']='absolute',_0x5d7f3f['style']['top']='-9999px',_0x5d7f3f['style']['left']='-9999px',_0x5d7f3f['style']['opacity']='0',_0x5d7f3f['style']['pointerEvents']='none',_0x5d7f3f['style']['zIndex']='-1',_0x5d7f3f['style']['visibility']='visible\x20!important',_0x5d7f3f['style']['display']='block\x20!important',_0x5d7f3f['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x843630){_0x843630['forEach'](({element:_0xa24416,originalDisplay:_0x41c2c5,originalVisibility:_0x118b81})=>{_0xa24416['style']['display']=_0x41c2c5,_0xa24416['style']['visibility']=_0x118b81;});}['_makeAncestorsVisible'](_0x4281b6){const _0x4d0437=[];let _0x3ffe1=_0x4281b6;for(;_0x3ffe1&&_0x3ffe1!==document['body'];){const _0x68f665=window['getComputedStyle'](_0x3ffe1);'none'!==_0x68f665['display']&&'hidden'!==_0x68f665['visibility']||(_0x4d0437['push']({'element':_0x3ffe1,'originalDisplay':_0x3ffe1['style']['display'],'originalVisibility':_0x3ffe1['style']['visibility']}),_0x3ffe1['style']['display']='block',_0x3ffe1['style']['visibility']='visible'),_0x3ffe1=_0x3ffe1['parentElement'];}return _0x4d0437;}['_createContainerElements'](){let _0x301ef6,_0xf929cd;return this['_parentView']?.['element']?(_0x301ef6=this['_parentView']['element']['cloneNode'](!0x0),_0xf929cd=this['_findTargetContainer'](_0x301ef6)):(_0x301ef6=document['createElement']('div'),_0xf929cd=_0x301ef6),{'calculationContainer':_0x301ef6,'targetContainer':_0xf929cd};}['_createCalculationContainer'](){const {calculationContainer:_0x53f4b5,targetContainer:_0x393538}=this['_createContainerElements'](),_0x567cd3=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x53f4b5,_0x567cd3);const _0xf13114=this['_parentView']?.['element']||this['_containerElement'],_0x625ec7=_0xf13114?.['parentElement'];_0x625ec7?_0x625ec7['appendChild'](_0x53f4b5):document['body']['appendChild'](_0x53f4b5),_0x53f4b5['_targetContainer']=_0x393538;const _0x244128=this['_makeAncestorsVisible'](_0x625ec7||null);return _0x53f4b5['offsetWidth'],_0x53f4b5['_ancestorsToRestore']=_0x244128,_0x53f4b5;}['_calculateOverflowInContainer'](_0x2725b6,_0x59c07f){const _0x532294=_0x2725b6['_targetContainer']||_0x2725b6,_0x1875e0=[],{rowCount:_0x5df11a}=this['_renderChipsAndCountRows'](_0x532294,_0x59c07f);if(_0x5df11a<=this['_config']['maxVisibleRows'])return _0x1875e0;const _0x4cc48f=_0x59c07f['slice']();for(;_0x4cc48f['length']>0x0;){if(this['_testButtonFit'](_0x2725b6,_0x532294,_0x4cc48f)){const _0x52529d=_0x59c07f['filter'](_0x4cb335=>!_0x4cc48f['includes'](_0x4cb335));_0x1875e0['push'](..._0x52529d);break;}if(!_0x4cc48f['pop']())break;}return _0x1875e0;}['_renderChipsAndCountRows'](_0x371e18,_0xef24a6){_0x371e18['innerHTML']='',_0xef24a6['forEach'](_0x25b86c=>{if(_0x25b86c['element']){const _0x4da65a=_0x25b86c['element']['cloneNode'](!0x0);_0x371e18['appendChild'](_0x4da65a);}}),_0x371e18['offsetWidth'];const _0x23fdac=_0x371e18['children'],_0x1af3a8=[];return Array['from'](_0x23fdac)['forEach'](_0x2ec73f=>{const _0x495ca0=_0x2ec73f['getBoundingClientRect']()['top'];_0x1af3a8['some'](_0x3df398=>Math['abs'](_0x3df398-_0x495ca0)<this['_config']['rowDetectionTolerance'])||_0x1af3a8['push'](_0x495ca0);}),{'rowCount':_0x1af3a8['length']};}['_createMockButton'](){const _0x213d7a=document['createElement']('button');return _0x213d7a['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x213d7a['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x213d7a['textContent']='+\x201',_0x213d7a;}['_testButtonFit'](_0x101ce4,_0x586257,_0x5801b5){this['_renderChipsAndCountRows'](_0x586257,_0x5801b5);const _0x113c12=this['_createMockButton']();_0x101ce4['appendChild'](_0x113c12),_0x101ce4['offsetWidth'];const _0xbcc83e=[..._0x586257['children'],_0x113c12],_0x5993e9=[];_0xbcc83e['forEach'](_0xff93be=>{const _0x38024b=_0xff93be['getBoundingClientRect']()['top'];_0x5993e9['some'](_0x2efe74=>Math['abs'](_0x2efe74-_0x38024b)<this['_config']['rowDetectionTolerance'])||_0x5993e9['push'](_0x38024b);});const _0x552870=_0x5993e9['length'];return _0x113c12['remove'](),_0x552870<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x232179,_0x1da1b7){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x232179['forEach'](_0x3add3f=>{_0x1da1b7['includes'](_0x3add3f)?this['_overflowChips']['add'](_0x3add3f):this['_visibleChips']['add'](_0x3add3f);});}['_updateOverflowUI'](_0x2530c5){if(_0x2530c5>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x2530c5>0x0&&this['_showMoreButtonView']){const _0x1cad57=''+this['_config']['showMoreLabelPrefix']+(_0x2530c5<0x63?_0x2530c5:'99');this['_showMoreButtonView']['label']=_0x1cad57;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x24f4ae,_0x2e079d){this['_distributeChips'](_0x24f4ae,_0x2e079d),this['_updateOverflowUI'](_0x2e079d['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x1bb95d=>{_0x1bb95d[0x0]['isIntersecting']&&this['_pendingCalculation']&&requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});},{'threshold':0.01,'rootMargin':'50px'}),this['_intersectionObserver']['observe'](this['_containerElement']));}['_isContainerVisible'](){if(!this['_containerElement'])return!0x1;if(!this['_containerElement']['isConnected'])return!0x1;const _0x5ec4e9=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x5ec4e9['width']||0x0===_0x5ec4e9['height'])return!0x1;const _0x48a25f=window['innerHeight']||document['documentElement']['clientHeight'],_0x2da7fa=window['innerWidth']||document['documentElement']['clientWidth'],_0xb35ec1=0xc8;return _0x5ec4e9['bottom']>=-0xc8&&_0x5ec4e9['top']<=_0x48a25f+_0xb35ec1&&_0x5ec4e9['right']>=-0xc8&&_0x5ec4e9['left']<=_0x2da7fa+_0xb35ec1;}}const _0x394a8f='ck-ai-chat__feed__context-chips',_0x4094d8='ck-ai-chat-context-chips-wrapper',_0x3c7248='ck-ai-chat-context-chips-wrapper-balloon',_0x4c6dac='ck-ai-chat-controls-button',_0x1be931='ck-ai-chat-controls_context_show-more-button',_0x156ca9='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0x31c75c['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x4e5310,_0x481316,_0x4bd34d){super(_0x4e5310),this['_bodyCollection']=_0x4bd34d,this['_createContextChips'](_0x481316);const _0x3460cf={'cssClasses':{'showMoreButton':_0x1be931+'\x20'+Bt,'showMoreBalloon':_0x156ca9,'overflowContainer':_0x3c7248,'controlsButton':_0x4c6dac}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x4e5310,this['_contextChips'],_0x3460cf,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x394a8f,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x4094d8},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x6656d4=this['element']['querySelector']('.'+_0x4094d8);_0x6656d4&&(this['_overflowManager']['setContainerElement'](_0x6656d4),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x3d421f){for(const _0x24e09e of _0x3d421f){const _0x4d458e=new AIChatContextItemButtonView(this['locale'],_0x24e09e,!0x0,!0x1);this['_contextChips']['add'](_0x4d458e);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x157951,_0x32f25b,_0x1ac122){super(_0x32f25b),this['_locale']=_0x157951,this['_bodyCollection']=_0x1ac122,this['_createContextChipsView'](),this['_createMessageContentView'](),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__user-message']}});}['_createContextChipsView'](){this['options']['contextItems']&&this['options']['contextItems']['length']>0x0&&(this['_contextChipsView']=new AIChatFeedContextChipsView(this['_locale'],this['options']['contextItems']['filter'](_0x176234=>!_0x176234['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x31c75c['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__message-content'}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0x5ed813,_0x39bbad){super(_0x39bbad);const {isWebSearchEnabled:_0x26fd4e,isReasoningEnabled:_0x480112}=_0x39bbad['capabilities'],_0x220042=[];let _0x4455f4='';_0x26fd4e&&_0x480112?(_0x4455f4=Qt(_0x5ed813,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x220042['push'](_0x216da4(_0x31c75c['IconWeb'])),_0x220042['push'](_0x216da4(_0x31c75c['IconBulb']))):_0x26fd4e?(_0x4455f4=Qt(_0x5ed813,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x220042['push'](_0x216da4(_0x31c75c['IconWeb']))):_0x480112&&(_0x4455f4=Qt(_0x5ed813,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x220042['push'](_0x216da4(_0x31c75c['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x4455f4?'':'ck-hidden']}});const _0x4f31c3=new _0x31c75c['View']();_0x4f31c3['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x220042,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x4455f4]}]}),this['children']['add'](_0x4f31c3),this['capabilities']=_0x39bbad['capabilities'];}}function _0x216da4(_0x5a0492){const _0x3d3a00=new _0x31c75c['IconView']();return _0x3d3a00['content']=_0x5a0492,_0x3d3a00;}const _0x52670a=['wheel','touchstart','pointerdown','keydown'],_0x4c0309=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x5e21bc{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x533aaf){this['element']=_0x533aaf,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0xc26a8b of _0x52670a){const _0x28b4df='keydown'!==_0xc26a8b;this['element']['addEventListener'](_0xc26a8b,this['_onUserEvent']['bind'](this),{'passive':_0x28b4df,'signal':this['abortController']['signal']});}}['start']({smooth:_0x3a5b45=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x3a5b45?'smooth':'auto',this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}['stop'](){requestAnimationFrame(()=>{this['_stop']();});}['destroy'](){this['_stop'](),this['abortController']['abort']();}['_stop'](){null!==this['animationFrameId']&&(cancelAnimationFrame(this['animationFrameId']),this['animationFrameId']=null),this['isRunning']&&(this['isRunning']=!0x1),this['isUserPaused']=!0x1;}['_onUserEvent'](_0x3b7403){if(this['isRunning']){if('keydown'===_0x3b7403['type']){const _0x3d29c6=_0x3b7403['key'];if(!_0x4c0309['includes'](_0x3d29c6))return;}_0x3b7403 instanceof WheelEvent?_0x3b7403['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x487909,scrollHeight:_0x336590,clientHeight:_0x48e3c4}=this['element'];return _0x336590-_0x487909-_0x48e3c4<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':this['scrollBehavior']}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x12300d){super(_0x12300d),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__custom-element']}});}async['render'](){super['render'](),'string'==typeof this['options']['content']?this['element']['innerHTML']=this['options']['content']:this['element']['appendChild'](this['options']['content']);}}class AIChatFeedView extends _0x31c75c['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x4c1433,_0x1659d9){super(_0x4c1433),this['_bodyCollection']=_0x1659d9,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x3809bb)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x5e21bc(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x3ac70d,_0x8772c2){let _0x5e9e56;return'ai-reply'===_0x3ac70d?_0x5e9e56=new AIChatFeedReplyItemView(this['locale'],_0x8772c2,this['_bodyCollection']):'ai-suggestion-reply'===_0x3ac70d?(_0x5e9e56=new AIChatFeedSuggestionItemView(this['locale'],_0x8772c2,this['_bodyCollection']),_0x5e9e56['bind']('isTrackChangesOn')['to'](this)):_0x5e9e56='user-message'===_0x3ac70d?new AIChatFeedUserMessageItemView(this['locale'],_0x8772c2,this['_bodyCollection']):'interaction-header'===_0x3ac70d?new AIChatFeedInteractionHeaderView(this['locale'],_0x8772c2):'custom-element'===_0x3ac70d?new AIChatFeedCustomElementView(_0x8772c2):new AIChatFeedErrorItemView(_0x8772c2),this['children']['add'](_0x5e9e56),_0x5e9e56;}async['updateReplyItem']({id:_0x78620d,parsedContent:_0xf641eb,renderingStrategy:_0x1d7628,abortSignal:_0x1e0f32}){const _0x4b61f2=this['getItemById'](_0x78620d);if(!(_0x4b61f2 instanceof AIChatFeedReplyItemView))throw new _0x31c75c['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x4b61f2,'id':_0x78620d,'parsedContent':_0xf641eb});await _0x4b61f2['updateContent']({'parsedContent':_0xf641eb,'renderingStrategy':_0x1d7628,'abortSignal':_0x1e0f32});}async['updateWebSources'](_0x5f0581,_0x9db50b){const _0x204983=this['getItemById'](_0x5f0581);if(_0x204983 instanceof AIChatFeedSuggestionItemView)_0x204983['updateSources'](_0x9db50b);else{if(!(_0x204983 instanceof AIChatFeedReplyItemView))throw new _0x31c75c['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x204983,'id':_0x5f0581,'sources':_0x9db50b});_0x204983['updateSources'](_0x9db50b);}}async['updateSuggestionItem']({id:_0x4adf19,parts:_0x245ac5,abortSignal:_0x357879,skipLoadingEffects:_0x490945}){const _0x1e1a78=this['getItemById'](_0x4adf19);if(!(_0x1e1a78 instanceof AIChatFeedSuggestionItemView))throw new _0x31c75c['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x1e1a78,'id':_0x4adf19,'parts':_0x245ac5});await _0x1e1a78['updateContent']({'parts':_0x245ac5,'abortSignal':_0x357879,'skipLoadingEffects':_0x490945});}['updateSuggestionPartState']({id:_0x3f67fc,index:_0x525601,state:_0x23c937}){const _0x3ce011=this['getItemById'](_0x3f67fc);if(!(_0x3ce011 instanceof AIChatFeedSuggestionItemView))throw new _0x31c75c['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x3f67fc});_0x3ce011['updatePartState'](_0x525601,_0x23c937);}['setSuggestionPartActive']({id:_0x5633c3,index:_0x2787a9,isActive:_0x579afb}){const _0x307c77=this['getItemById'](_0x5633c3);if(!(_0x307c77 instanceof AIChatFeedSuggestionItemView))throw new _0x31c75c['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x5633c3});this['children']['filter'](_0x399c0d=>_0x399c0d instanceof AIChatFeedSuggestionItemView)['forEach'](_0x842c6f=>{_0x842c6f['setPartActive'](!0x1);}),_0x307c77['setPartActive'](_0x2787a9,_0x579afb);}['markItemAsDone'](_0x61a631){this['getItemById'](_0x61a631)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x1f8846=>_0x1f8846['options']['id']);}['removeItem'](_0x17df6e){this['children']['remove'](this['getItemById'](_0x17df6e));}['hasItem'](_0x55fa45){return!!this['children']['find'](_0x2133e1=>_0x2133e1['options']['id']['includes'](_0x55fa45));}['scrollToSuggestion'](_0x5828e0,_0x1b0f24){const _0x3d1014=this['getItemById'](_0x5828e0);if(!(_0x3d1014 instanceof AIChatFeedSuggestionItemView))return void _0x31c75c['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x5828e0,'partIndex':_0x1b0f24});const _0xb4e171=_0x3d1014['getPartView'](_0x1b0f24);_0xb4e171?_0x31c75c['scrollAncestorsToShowTarget'](_0xb4e171['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x31c75c['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x5828e0,'partIndex':_0x1b0f24});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x532daa=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x532daa,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x2bd198=new AISkeletonView(this['locale'],_0x256023['aiFeed']);return _0x2bd198['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x2bd198;}['_createFeedItems'](){const _0x172465=new _0x31c75c['View'](this['locale']);return _0x172465['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x172465;}['_createFeedLoader'](){const _0x2b3f35=new _0x31c75c['View'](this['locale']);return _0x2b3f35['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0x703806=>!_0x703806)]},'children':this['_createLoaderChildren']()}),_0x2b3f35;}['_createLoaderChildren'](){const _0x45786d=new _0x31dcda();return _0x45786d['isVisible']=!0x0,[_0x45786d,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0xb4cbda){const _0x2fba24=this['children']['find'](_0x26ab92=>_0x26ab92['options']['id']['includes'](_0xb4cbda));if(!_0x2fba24)throw new _0x31c75c['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0xb4cbda});return _0x2fba24;}['setLoadingMessage'](_0xd980f3){this['set']('loadingMessage',_0xd980f3);}['toggleLoadingSkeleton'](_0x6e28f6){this['set']('isLoadingSkeletonVisible',_0x6e28f6);}['startAutoScroll'](_0x26cf76={}){this['scrollManager']['start'](_0x26cf76);}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0x31c75c['ListView']{['filter'](){let _0x595976=0x0;for(const _0x12735b of this['items'])_0x595976+=_0x12735b['items']['length'];return{'resultsCount':_0x595976,'totalItemsCount':_0x595976};}}const _0x5bc4c6='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0x31c75c['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x18a7de,_0x320227){super(_0x18a7de,{'queryView':{'label':'','creator':_0x31c75c['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x18a7de),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x320227,this['_queryViewResizeObserver']=null,this['queryView']['fieldView']['minRows']=AIChatPromptInputView['MIN_ROWS'],this['queryView']['fieldView']['maxRows']=AIChatPromptInputView['MAX_ROWS'],this['queryView']['fieldWrapperChildren']['add'](this['_addContextButtonView']),this['_setUpAddContextButtonPositioning'](),this['extendTemplate']({'attributes':{'class':['ck','ck-ai-chat__prompt-input']}}),this['submitButtonView']=this['_createSubmitButton'](),this['submitButtonView']['bind']('isEnabled')['to'](this,'isEmpty',this,'isUploadInProgress',(_0x4f6f6,_0x36d6d4)=>!_0x4f6f6&&!_0x36d6d4),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x4bc643,_0x5a0bd3)=>{this['isUploadInProgress']||this['isEmpty']||_0x4bc643['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x5a0bd3());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x4cff36=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x4cff36)return this['queryView']['errorText']=Qt(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x502735=Tt(_0x4cff36);this['fire']('sendUserMessage',_0x502735),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x4135e9){this['queryView']['fieldView']['set']('placeholder',_0x4135e9);}['focus'](_0xa94ff6=!0x1){super['focus'](),_0xa94ff6&&(this['element']['classList']['contains'](_0x5bc4c6)||(this['element']['classList']['add'](_0x5bc4c6),setTimeout(()=>{this['element']['classList']['remove'](_0x5bc4c6);},0x320)));}['_createSubmitButton'](){const _0x111cfc=new _0x31c75c['ButtonView'](this['locale']);return _0x111cfc['set']({'icon':_0x31c75c['IconSubmit'],'label':Qt(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+Vt,'isEnabled':!0x1}),_0x111cfc['on']('execute',()=>{this['submit']();}),_0x111cfc;}['setIsUploadInProgress'](_0x4466a8){this['isUploadInProgress']=_0x4466a8;}['_setUpAddContextButtonPositioning'](){const _0x3a6b41=this['locale'],_0x3755d4=()=>{_0x31c75c['global']['window']['requestAnimationFrame'](()=>{if(_0x31c75c['isVisible'](this['element'])){const _0x55dff3=new _0x31c75c['Rect'](this['queryView']['fieldView']['element']),_0x195621=new _0x31c75c['Rect'](this['_addContextButtonView']['element']),_0x5aab3a=_0x55dff3['width'],_0x4bcd5d='rtl'===_0x3a6b41['uiLanguageDirection']?'right':'left';_0x55dff3['excludeScrollbarsAndBorders']();const _0x2572dd=_0x5aab3a-_0x55dff3['width']+0x1;this['_addContextButtonView']['element']['style'][_0x4bcd5d]='calc('+(_0x5aab3a-_0x195621['width']-_0x2572dd)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x3755d4),this['on']('render',()=>{_0x3755d4(),this['_queryViewResizeObserver']=new _0x31c75c['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x3755d4();});});}}const _0x6c2e6b='ck-ai-chat__prompt-capabilities',_0x1d3308='ck-ai-chat-controls-button',_0x1383ea='ck-ai-chat-controls-button--commands',_0x248764='ck-ai-chat-controls__model-selection',_0x167484='ck-ai-chat-controls__model-selection__item-name',_0x18bacf='ck-ai-chat-controls__model-selection__item-description',_0x4acdda='ck-ai-chat-controls__model-selection__item-capabilities',_0x1842f0='n';class AIChatPromptCapabilitiesView extends _0x31c75c['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x20ac94){super(_0x20ac94),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelDisplayMode','selector'),this['set']('modelSelectorEnabled',!0x0),this['set']('activeModelId',null),this['set']('activeModelName',null),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelNameView']=this['_createModelNameView'](),this['_webSearchButton']=this['_createWebSearchButton'](),this['_reasoningButton']=this['_createReasoningButton'](),this['_commandsButton']=this['_createCommandsButton'](),this['_modelSelectionDropdown']['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0xeb6e35=>'selector'===_0xeb6e35),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x5019b6=>_0x5019b6?this['_modelSelectionDropdown']['buttonView']['label']:Qt(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x321508=>_0x321508),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0xdc88e=>_0xdc88e),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x459d13=>Qt(this['locale'],_0x459d13?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x377aa2=>_0x377aa2),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0xf8044e=>Qt(this['locale'],_0xf8044e?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x6c2e6b]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x31c75c['Collection'](),_0x31c75c['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x4873d2,_0x3d6bd7){if(_0x3d6bd7)this['set']('modelDisplayMode','hidden');else{const _0x51257a=0x1===_0x4873d2['length'];this['set']('modelDisplayMode',_0x51257a?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x4873d2?.['length'])for(const _0x27e704 of _0x4873d2){const _0x1ee2cb=new _0x31c75c['UIModel']({'label':_0x27e704['name'],'withText':!0x0,'role':'menuitemradio','id':_0x27e704['id'],'model':_0x27e704});_0x1ee2cb['bind']('isOn')['to'](this,'activeModelId',_0x17eaae=>_0x17eaae===_0x27e704['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x1ee2cb,'labelView':new _0x46ad7a(this['locale'],_0x27e704)});}}['setWebSearch'](_0x24709a){this['set']('webSearchActive',_0x24709a);}['setReasoning'](_0x48a9dd){this['set']('reasoningActive',_0x48a9dd);}['setModel'](_0x11c534){if(!_0x11c534)return;this['activeModelId']=_0x11c534['id'],this['activeModelName']=_0x11c534['name']||_0x11c534['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x11c534['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x11c534['name']);const _0x1d8d69=_0x11c534['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x1d8d69),this['_webSearchButton']['set']('isVisible',_0x1d8d69);const _0x4ae9a8=_0x11c534['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x4ae9a8),this['_reasoningButton']['set']('isVisible',_0x4ae9a8);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x402227){this['set']('modelSelectorEnabled',!0x1),_0x402227&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x72eee7=new _0x31c75c['ButtonView']();return _0x72eee7['set']({'label':Qt(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x31c75c['IconWeb'],'class':_0x1d3308+'\x20'+Bt,'isToggleable':!0x0,'tooltipPosition':_0x1842f0}),_0x72eee7['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x72eee7;}['_createReasoningButton'](){const _0xb04228=new _0x31c75c['ButtonView']();return _0xb04228['set']({'label':Qt(this['locale'],'AI_CHAT_REASONING'),'icon':_0x31c75c['IconBulb'],'class':_0x1d3308+'\x20'+Bt,'isToggleable':!0x0,'tooltipPosition':_0x1842f0}),_0xb04228['on']('execute',()=>{this['fire']('toggleReasoning');}),_0xb04228;}['_createCommandsButton'](){const _0x590186=new _0x31c75c['ButtonView']();return _0x590186['set']({'label':Qt(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x31c75c['IconAI'],'withText':!0x0,'class':_0x1d3308+'\x20'+Bt,'isToggleable':!0x0,'tooltip':Qt(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x1842f0}),_0x590186['extendTemplate']({'attributes':{'class':[_0x1383ea]}}),_0x590186['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x590186;}['_createModelSelectionDropdown'](){const _0x1da4d3=_0x31c75c['createDropdown'](this['locale']);return _0x1da4d3['set']({'panelPosition':'ne','class':[_0x248764]}),_0x1da4d3['buttonView']['set']({'label':Qt(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x1842f0,'class':Bt}),this['listenTo'](_0x1da4d3,'execute',_0x109420=>{this['fire']('selectModel',_0x109420['source']['model']);}),_0x1da4d3;}['_createModelNameView'](){const _0x1d6239=new _0x2bf4bc(this['locale']);return _0x1d6239['bind']('text')['to'](this,'activeModelName',_0x1ae91b=>_0x1ae91b??''),_0x1d6239['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3db05a=>'name'===_0x3db05a),_0x1d6239;}}let _0x46ad7a=class ModelButtonLabelView extends _0x31c75c['ButtonLabelView']{constructor(_0x59df7b,_0x5cef60){super();const _0x326ad3=this['bindTemplate'],_0x5cd1f1=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x326ad3['to']('style'),'id':_0x326ad3['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x167484]},'children':[{'text':_0x326ad3['to']('text')}]},{'tag':'div','attributes':{'class':[_0x18bacf]},'children':[{'tag':'span','children':[{'text':_0x5cef60['description']}]}]},{'tag':'div','attributes':{'class':[_0x4acdda]},'children':_0x5cd1f1}]}),_0x5cd1f1['addMany'](this['_getCapabilityParts'](_0x59df7b,_0x31c75c['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x5cef60['capabilities']['webSearch']?.['enabled']??!0x1)),_0x5cd1f1['addMany'](this['_getCapabilityParts'](_0x59df7b,_0x31c75c['IconBulb'],'AI_CHAT_REASONING',_0x5cef60['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x3a6a45,_0x2e6ddf,_0x35dbeb,_0x3815c5){const _0x5ce7f2=new _0x31c75c['IconView']();_0x5ce7f2['content']=_0x2e6ddf;const _0x3f8ac7=new _0x31c75c['View'](_0x3a6a45);_0x3f8ac7['setTemplate']({'tag':'span','children':[{'text':Qt(_0x3a6a45,_0x35dbeb)+':\x20'}]});const _0x331671=new _0x31c75c['View'](_0x3a6a45);return _0x331671['setTemplate']({'tag':'span','children':[{'text':Qt(_0x3a6a45,_0x3815c5?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x5ce7f2,_0x3f8ac7,_0x331671];}},_0x2bf4bc=class _0x27c8c2 extends _0x31c75c['View']{constructor(_0x3b78fd){super(_0x3b78fd),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x252043=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x252043['if']('isVisible','ck-hidden',_0x5b7976=>!_0x5b7976)]},'children':[{'text':_0x252043['to']('text')}]});}};const _0x138f6c='ck-ai-chat-context-controls__url-form',_0x2bb28e='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0x31c75c['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0xeef164){super(_0xeef164),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['backButton']=this['_createBackButton'](),this['urlInputField']=this['_createUrlInputField'](),this['confirmButton']=this['_createConfirmButton'](),this['_focusables']=this['createCollection']([this['backButton'],this['urlInputField'],this['confirmButton']]),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['set']('withBackButton',!0x0),this['_setupTemplate'](),this['_setupEventHandlers'](),this['_setupKeystrokes']();}['render'](){super['render'](),this['_focusables']['forEach'](_0x4e838f=>{this['focusTracker']['add'](_0x4e838f['element']),this['keystrokes']['listenTo'](_0x4e838f['element']);}),_0x31c75c['submitHandler']({'view':this}),this['focus']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['focus'](){this['urlInputField']['focus']();}['getValue'](){return this['urlInputField']['fieldView']['element']?.['value']?.['trim']()||'';}['clear'](){this['urlInputField']['fieldView']['element']['value']='',this['urlInputField']['errorText']=null,this['confirmButton']['isEnabled']=!0x1;}['setError'](_0x304fdc){this['urlInputField']['errorText']=_0x304fdc,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x31dfc7=new _0x31c75c['ButtonView'](this['locale']);return _0x31dfc7['set']({'icon':_0x31c75c['IconPreviousArrow'],'tooltip':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x1f9447,_0x4bf8d8,_0x412e67)=>{_0x31dfc7['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x412e67?'':'\x20ck-hidden')]});}),_0x31dfc7;}['_createUrlInputField'](){const _0x4155a0=new _0x31c75c['LabeledFieldView'](this['locale'],_0x31c75c['createLabeledInputText']);return _0x4155a0['set']({'label':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x4155a0['fieldView']['set']({'placeholder':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x4155a0;}['_createConfirmButton'](){const _0x52d77b=new _0x31c75c['ButtonView'](this['locale']);return _0x52d77b['set']({'icon':_0x31c75c['IconCheck'],'tooltip':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x52d77b;}['_setupTemplate'](){const _0x1ae046=new _0x31c75c['FormHeaderView'](this['locale'],{'label':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x1ae046['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x138f6c,'tabindex':'-1'},'children':[_0x1ae046,{'tag':'div','attributes':{'class':_0x2bb28e},'children':[this['urlInputField'],this['confirmButton']]}]});}['_setupEventHandlers'](){this['backButton']['on']('execute',()=>{this['clear'](),this['fire']('cancel');}),this['urlInputField']['fieldView']['on']('input',()=>{this['clearError'](),this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}),this['on']('submit',_0x54b615=>{_0x54b615['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x29449d,_0x2f1a63)=>{this['clear'](),this['fire']('cancel'),_0x2f1a63();});}['_handleSubmit'](){const _0x295827=this['getValue']()['trim']();_0x295827?this['_isValidUrl'](_0x295827)?(this['clearError'](),this['fire']('submitUrl',_0x295827)):this['setError'](Qt(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](Qt(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x164110=this['getValue']()['trim'](),_0x2e072e=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x164110['length']>0x0&&!_0x2e072e;}['_isValidUrl'](_0x570ecd){try{return!!new URL(_0x570ecd);}catch{return!0x1;}}}const _0xf2a327='ck-ai-chat-resources__item',_0x9cae0c='ck-ai-chat-resources__item--in-context',_0x3f12bd='ck-ai-chat-resources__item-title',_0x4aa6c6='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0x31c75c['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x4f9c01,_0x115daf){super(_0x4f9c01),this['resource']=_0x115daf,this['set']('isInContext',!!_0x115daf['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0xa58a28){if(_0xa58a28['isInContext'])return _0x31c75c['IconCheck'];switch(_0xa58a28['type']){case'document':return _0x31c75c['IconDocument'];case'web-resource':return _0x31c75c['IconLink'];case'file':case'text':return _0x31c75c['IconFileUpload'];default:return _0x31c75c['IconDocumentOutline'];}}['highlightText'](_0x3e6ed7){if(!_0x3e6ed7||''===_0x3e6ed7['trim']())return void this['_titleView']['highlightText'](null);const _0x46ff33=new RegExp(At(_0x3e6ed7),'gi');this['_titleView']['highlightText'](_0x46ff33);}['updateResourceState'](_0x1cb0be){this['resource']['isInContext']=_0x1cb0be,this['isInContext']=_0x1cb0be,this['_updateIcon']();}['_createTitleView'](){const _0x3ec284=new _0x31c75c['HighlightedTextView']();return _0x3ec284['text']=this['resource']['label'],_0x3ec284['extendTemplate']({'tag':'span','attributes':{'class':[_0x3f12bd]}}),_0x3ec284;}['_createIconView'](){const _0x1a604a=new _0x31c75c['IconView']();return _0x1a604a['content']=this['getResourceIcon'](this['resource']),_0x1a604a;}['_setupTemplate'](){const _0x46d0f5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0xf2a327,_0x46d0f5['if']('isVisible','ck-hidden',_0x3508ea=>!_0x3508ea),_0x46d0f5['if']('isInContext',_0x9cae0c)]},'children':[{'tag':'div','attributes':{'class':[_0x4aa6c6]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x46d0f5['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x34b4ed='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0x31c75c['ListView']{['_source'];constructor(_0x442e5b,_0x370f9b){super(_0x442e5b),this['_source']=_0x370f9b,this['extendTemplate']({'attributes':{'class':[_0x34b4ed]}});}['setResources'](_0x415053,_0x4a73ee){this['items']['clear']();let _0x5d66c2=_0x415053;if(this['_source']['useDefaultFiltering']&&_0x4a73ee&&''!==_0x4a73ee['trim']()){const _0x3c6ed8=new RegExp(_0x4a73ee['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x5d66c2=_0x415053['filter'](_0x427bc5=>_0x3c6ed8['test'](_0x427bc5['label']));}for(const _0x407666 of _0x5d66c2){const _0x221e9f=new AIChatResourceListItemView(this['locale'],_0x407666);_0x221e9f['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x407666);}),this['items']['add'](_0x221e9f);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x4a73ee);}['highlightText'](_0x3de697){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x5f5c66=>{_0x5f5c66['highlightText'](_0x3de697);});}['updateResourceState'](_0x2fed1d,_0x2867ea){for(const _0x51c4f2 of this['items']){const _0x2bfe8e=_0x51c4f2;_0x2bfe8e['resource']['id']===_0x2fed1d&&_0x2bfe8e['updateResourceState'](_0x2867ea);}}['_handleResourceSelection'](_0x1e124a,_0x5b6b63){this['fire']('addResourceToContext',{'source':_0x1e124a,'resource':_0x5b6b63});}}class AIChatContextResourcesSearchInputView extends _0x31c75c['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x555ffa){const t=_0x555ffa['t'],_0x1c9224={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x31c75c['createLabeledInputText'],'label':Qt(_0x555ffa,'AI_CHAT_SEARCH_RESOURCES')};super(_0x555ffa,_0x1c9224['creator']),this['label']=_0x1c9224['label'],this['_viewConfig']=_0x1c9224,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x555ffa,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x975669){this['fire']('search',_0x975669);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x31c75c['IconView'](),this['iconView']['content']=_0x31c75c['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2febb4,t){this['resetButtonView']=new _0x31c75c['ButtonView'](_0x2febb4),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x31c75c['IconCancel'],'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x1dc462=>!_0x1dc462),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}class AIChatContextResourcesView extends _0x31c75c['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x25c760,_0x3f2c83){super(_0x25c760),this['_source']=_0x3f2c83['source'],this['_searchInputVisibleFrom']=_0x3f2c83['searchInputVisibleFrom']??0x7,this['set']('isLoading',!0x0),this['_searchView']=this['_createSearchView'](),this['_searchSection']=this['_createSearchSection'](),this['_resourcesListView']=this['_createResourcesListView'](),this['_skeletonLoader']=this['_createSkeletonView'](),this['children']=new _0x31c75c['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new AIChatContextResourcesSearchInputView(this['locale']);}['_createSearchSection'](){const _0x171e3c=new _0x31c75c['View'](this['locale']);return _0x171e3c['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x5720ef,_0x445a55)=>{this['loadResources'](_0x445a55),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x445a55);}),_0x171e3c;}['_createResourcesListView'](){const _0x2813fa=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x2813fa['delegate']('addResourceToContext')['to'](this),_0x2813fa['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x2813fa;}['_createSkeletonView'](){const _0x2a44c7=new AISkeletonView(this['locale'],_0x256023['aiChatResources']);return _0x2a44c7['bind']('isVisible')['to'](this,'isLoading'),_0x2a44c7;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x2a22fd){const _0x3e8a53=_0x31c75c['uid']();this['_latestLoadResourcesUid']=_0x3e8a53,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x2a22fd,'uid':_0x3e8a53}),this['isLoading']=!0x0;}['setResources'](_0x37b845,_0x1344ac){if(_0x1344ac&&_0x1344ac!==this['_latestLoadResourcesUid'])return;const _0x38b578=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x37b845,_0x38b578),_0x37b845['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x4a5564,_0x233c8a){this['_resourcesListView']['updateResourceState'](_0x4a5564,_0x233c8a);}}const _0x2bbf0d='ck-ai-chat-context-controls__source-balloon-panel',_0x51e278='ck-button-icon\x20ck-button-back',_0x4be13c='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0xff2da3,_0x349046,_0x198006){this['_locale']=_0xff2da3,this['_bodyCollection']=_0x349046,this['_config']=_0x198006;}['showSourceResourcesBalloon']({source:_0x156e4f,withBackButton:_0x2c59d7}){let _0x1bb209=this['_sourceResourceBalloons']['get'](_0x156e4f['id']);_0x1bb209||(_0x1bb209=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x156e4f['id'],_0x1bb209),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x1bb209)),this['_addSourceResourceContent']({'balloonPanel':_0x1bb209,'source':_0x156e4f,'withBackButton':_0x2c59d7}),_0x1bb209['show']();const _0x49479c=this['_config']['getTargetElement']();_0x49479c&&_0x1bb209['pin']({'target':_0x49479c,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x5b8a1c,_0xbfcbd8,_0x290e07){const _0x50752d=this['_sourceResourceBalloons']['get'](_0x5b8a1c);if(!_0x50752d)return;const _0x3f37fc=this['_getResourcesViewFromBalloon'](_0x50752d);_0x3f37fc&&(_0x3f37fc['setResources'](_0xbfcbd8,_0x290e07),_0x3f37fc['once']('change:isLoading',()=>{_0x50752d['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x5d39b7){const _0x2d591a=this['_sourceResourceBalloons']['get'](_0x5d39b7);_0x2d591a&&requestAnimationFrame(()=>{_0x2d591a['hide'](),this['_sourceResourceBalloons']['delete'](_0x5d39b7),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x3f3c1a of this['_sourceResourceBalloons']['values']())if(_0x3f3c1a['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x3b3972,_0x26f184,_0x2697cb){const _0xc1396=this['_sourceResourceBalloons']['get'](_0x3b3972);if(!_0xc1396||!_0xc1396['isVisible'])return;const _0x1dfa9a=this['_config']['getTargetElement']();if(!_0x1dfa9a)return;_0xc1396['pin']({'target':_0x1dfa9a,'limiter':this['_config']['getLimiterElement']()});const _0x18b778=this['_getResourcesViewFromBalloon'](_0xc1396);_0x18b778&&_0x18b778['updateResourceState'](_0x26f184,_0x2697cb);}['destroy'](){for(const _0x56fe68 of this['_sourceResourceBalloons']['values']())_0x56fe68['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x210c54=new _0x31c75c['BalloonPanelView'](this['_locale']);return _0x210c54['extendTemplate']({'attributes':{'class':_0x2bbf0d}}),this['_bodyCollection']['add'](_0x210c54),_0x210c54;}['_addSourceResourceContent']({balloonPanel:_0xa3fa99,source:_0x4b5c25,withBackButton:_0x4adcfa}){_0xa3fa99['content']['clear']();const _0x508eb0=this['_createBalloonHeader']({'balloonPanel':_0xa3fa99,'source':_0x4b5c25,'withBackButton':_0x4adcfa});_0xa3fa99['content']['add'](_0x508eb0);const _0x2ba81=this['_createBalloonResourcesView'](_0x4b5c25);_0xa3fa99['content']['add'](_0x2ba81);}['_createBalloonHeader']({balloonPanel:_0x1f71f4,source:_0x264d90,withBackButton:_0x3e4200}){const _0x47695c=new _0x31c75c['FormHeaderView'](this['_locale'],{'label':_0x264d90['label'],'class':_0x4be13c});return _0x3e4200&&_0x47695c['children']['add'](this['_createBackButton'](_0x1f71f4),0x0),_0x47695c;}['_createBackButton'](_0x3889ae){const _0x43a91b=new _0x31c75c['ButtonView'](this['_locale']);return _0x43a91b['set']({'icon':_0x31c75c['IconPreviousArrow'],'tooltip':Qt(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':_0x51e278}),_0x43a91b['on']('execute',()=>{_0x3889ae['hide'](),this['_config']['onBackToContext']();}),_0x43a91b;}['_createBalloonResourcesView'](_0x299ffe){const _0x39421f=new AIChatContextResourcesView(this['_locale'],{'source':_0x299ffe,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x39421f['on']('loadSourceResources',(_0x432acd,_0xd3a174)=>{this['_config']['onLoadSourceResources'](_0xd3a174);}),_0x39421f['on']('addResourceToContext',(_0x25f8ba,_0x3c8407)=>{this['_config']['onResourceSelected'](_0x3c8407['source'],_0x3c8407['resource']),this['closeSourceResourceBalloon'](_0x299ffe['id']);}),_0x39421f;}['_getResourcesViewFromBalloon'](_0x3f75ac){const _0x1bab4a=_0x3f75ac['content']['get'](0x1);return _0x1bab4a instanceof AIChatContextResourcesView?_0x1bab4a:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x31f195){_0x31c75c['clickOutsideHandler']({'emitter':_0x31f195,'contextElements':[_0x31f195['element']],'callback':()=>{_0x31f195['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x31f195['isVisible']});}}const _0x3c7d15=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x9cf54a='ck-ai-chat-context-controls',_0x304c73='ck-ai-chat-context-controls__pending-contexts',_0x2e3542='ck-ai-chat-context-controls__add-context-balloon-panel',_0x300d4c='ck-ai-chat-context-controls__add-context-button',_0x1fd67d='ck-ai-chat-context-controls__url-balloon-panel',_0x1e2867='ck-ai-chat-context-controls__balloon-button',tl='ck-ai-chat-context-controls__balloon-button-source',_0x2932cb='ck-ai-chat-controls-button',_0x2145e9='ck-ai-chat-context-chips-wrapper-balloon',_0x3f0634='ck-ai-chat-controls_context_show-more-button',_0x12e393='ck-ai-chat-context-controls__show-more-balloon-panel',_0x226293='ck-ai-chat',_0x452558=[_0x31c75c['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x31c75c['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x31c75c['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],_0x31c75c['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],_0x31c75c['BalloonPanelView']['defaultPositions']['southArrowNorth'],_0x31c75c['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0x31c75c['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x340de4,_0x24b5b5){super(_0x340de4),this['bodyCollection']=_0x24b5b5['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x340de4),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x340de4),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x340de4),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x340de4,_0x24b5b5);const _0x160eec={'cssClasses':{'showMoreButton':_0x3f0634+'\x20'+Bt,'showMoreBalloon':_0x12e393,'overflowContainer':_0x2145e9,'controlsButton':_0x2932cb}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x340de4,this['_currentContextsChips'],_0x160eec,this['bodyCollection'],this),this['_addContextBalloonConfig']={'buttonView':this['addContextButtonView'],'balloonView':this['_addContextBalloonPanelView'],'hideMethod':this['hideAddContextBalloonPanel']['bind'](this),'showMethod':this['showAddContextBalloonPanel']['bind'](this)},this['_setupTemplate'](),this['_bindEventHandlers']();}['render'](){super['render'](),this['_setupAllBalloonClickOutsideHandlers'](),this['_overflowManager']['setContainerElement'](this['element']),this['_overflowManager']['reorganizeChips']();}['destroy'](){super['destroy'](),this['_overflowManager']['destroy'](),this['_resourcesBalloonView']['destroy']();}['addContextItem'](_0x33984c,_0x3279bf){const _0x2b1fd5=this['_createContextButton'](_0x33984c,'current',!0x0,_0x3279bf);this['_addContextToCollection'](_0x2b1fd5,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x556567){this['_removeContextFromCollection'](_0x556567,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x556567,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x6a3b76,_0x6af344){let _0x6ed06d=this['_currentContextsChips']['find'](_0x2230b2=>_0x2230b2['id']===_0x6a3b76);_0x6ed06d||(_0x6ed06d=this['_overflowManager']['overflowChips']['find'](_0x7a738=>_0x7a738['id']===_0x6a3b76)),_0x6ed06d&&(_0x6ed06d['isLoading']=_0x6af344);}['setConversationContext'](_0x4db3bc){this['_conversationContextsChips']['clear']();for(const _0x45306e of _0x4db3bc){const _0x4d8afa=this['_createContextButton'](_0x45306e,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x4d8afa,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x46f914,_0x535dab,_0x42f6a2){this['_resourcesBalloonView']['updateResourceState'](_0x46f914,_0x535dab,_0x42f6a2);}['hideAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x1);}['showAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['_showSourceResourcesBalloon']({source:_0x361681,withBackButton:_0x40f94b}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x361681,'withBackButton':_0x40f94b}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x1735d7,_0x581bf3,_0x515142,_0x146aa6){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x1735d7,_0x515142,_0x146aa6);}['closeSourceResourceBalloon'](_0x403f88){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x403f88),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x2a10e5){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x2a10e5),this['_setAddContextButtonEnabled'](_0x2a10e5);}['_setAddContextButtonEnabled'](_0x40aa9b){const _0x5e26d0=!_0x40aa9b['document']['isHidden']&&_0x40aa9b['document']['enabled'],_0x5d7a2c=_0x40aa9b['urls']['enabled'],_0x4835b1=_0x40aa9b['files']['enabled'],_0x1f2afc=_0x40aa9b['sources']['length']>0x0,_0x27ef62=_0x40aa9b['customItems']&&_0x40aa9b['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x5e26d0||_0x5d7a2c||_0x4835b1||_0x1f2afc||_0x27ef62;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x9cf54a,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x304c73},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x471812){const _0xb6beb1=new _0x31c75c['ButtonView'](_0x471812);return _0xb6beb1['set']({'label':Qt(_0x471812,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x2932cb+'\x20'+_0x300d4c+'\x20'+Bt,'icon':_0x31c75c['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0xb6beb1;}['_createAddContextBalloonPanelView'](_0x513d7e){return this['_createBaseBalloonPanel'](_0x513d7e,_0x2e3542);}['_createUrlBalloonPanelView'](_0x25fed6){const _0x2833a7=this['_createBaseBalloonPanel'](_0x25fed6,_0x1fd67d);return this['_addUrlContent'](_0x2833a7,_0x25fed6),_0x2833a7;}['_createResourcesBalloonView'](_0x4adb41,_0x39dbe0){const _0x2e46b6={'searchInputVisibleFrom':_0x39dbe0['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x452558});},'onResourceSelected':(_0x2bbc23,_0x486e9d)=>{this['fire']('addResourceToContext',{'source':_0x2bbc23,'resource':_0x486e9d});},'onLoadSourceResources':_0x4f26e9=>{this['fire']('loadSourceResources',_0x4f26e9);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x4adb41,_0x39dbe0['bodyCollection'],_0x2e46b6);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x226293)||document['body'];}['_createBaseBalloonPanel'](_0x317833,_0x2d0937){const _0x46c841=new _0x31c75c['BalloonPanelView'](_0x317833);return _0x46c841['extendTemplate']({'attributes':{'class':_0x2d0937}}),this['bodyCollection']['add'](_0x46c841),_0x46c841;}['_setBalloonPanelContent'](_0xede158,_0x3c81ac,_0x2dfe88){if(_0xede158['content']['clear'](),!_0x2dfe88['document']['isHidden']&&_0x2dfe88['document']['enabled']){const _0x31a186=this['_createBalloonButton'](_0x3c81ac,{'label':Qt(_0x3c81ac,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x31c75c['IconDocument']});_0x31a186['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0xede158['content']['add'](_0x31a186);}if(_0x2dfe88['urls']['enabled']){const _0x876140=this['_createBalloonButton'](_0x3c81ac,{'label':Qt(_0x3c81ac,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x31c75c['IconLink']});_0x876140['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x452558}),this['_urlInputView']['focus']();}),_0xede158['content']['add'](_0x876140);}if(_0x2dfe88['files']['enabled']){const _0x35620e=new _0x31c75c['FileDialogButtonView'](_0x3c81ac);_0x35620e['set']({'label':Qt(_0x3c81ac,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x31c75c['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x1e2867,'allowMultipleFiles':!0x0}),_0x35620e['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x35620e['on']('done',(_0x50cf98,_0x302158)=>{this['fire']('addFileToContext',_0x302158);}),_0x35620e['tooltip']=!0x0,_0xede158['content']['add'](_0x35620e);}for(const _0x253b4a of _0x2dfe88['sources']){const _0x1f4649=this['_createBalloonButton'](_0x3c81ac,{'label':_0x253b4a['label'],'icon':_0x253b4a['icon']||_0x31c75c['IconDocumentOutline'],'type':'source'});_0xede158['content']['add'](_0x1f4649),_0x1f4649['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x253b4a,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x1c2e7c of _0x2dfe88['customItems']||[]){const _0x4887ac=this['_createBalloonButton'](_0x3c81ac,{'label':_0x1c2e7c['label'],'icon':_0x1c2e7c['icon']||_0x31c75c['IconDocumentOutline'],'type':'customItem'});_0xede158['content']['add'](_0x4887ac),_0x4887ac['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x1c2e7c);});}this['_hasExactlyOneSource']=0x1===_0xede158['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x1ffbe2,_0xf1bd8a){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0xf1bd8a),this['_urlInputView']['on']('submitUrl',(_0x33b89b,_0x4c65c4)=>{this['_handleUrlSubmit'](_0x4c65c4);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x452558}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x452558});}),_0x1ffbe2['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x443d31,_0x4d7e71){const _0x31106d='source'===_0x4d7e71['type']?new SourcesBalloonButtonView(_0x443d31):new _0x31c75c['ButtonView'](_0x443d31);return _0x31106d['set']({'label':_0x4d7e71['label'],'icon':_0x4d7e71['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1e2867}),_0x31106d;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){_0x31c75c['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x5db774){const _0x335f8c=this['_addContextBalloonConfig'];_0x335f8c['buttonView']['isOn']=_0x5db774,_0x5db774?_0x335f8c['balloonView']['show']():_0x335f8c['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x419329,buttonView:_0x55ea53,hideMethod:_0x5c1958}=this['_addContextBalloonConfig'];_0x31c75c['clickOutsideHandler']({'emitter':_0x419329,'contextElements':[_0x419329['element'],_0x55ea53['element']],'callback':()=>{_0x5c1958();},'activator':()=>_0x55ea53['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x562faa,_0x5d7cf4,_0x5a3d6e=!0x1,_0x544279=!0x1){const _0x1cca47='conversation'===_0x5d7cf4||!0x0===_0x562faa['isReadOnly'],_0x198456=new AIChatContextItemButtonView(this['locale'],_0x562faa,_0x1cca47,_0x5a3d6e,_0x544279);return _0x1cca47||_0x198456['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x198456['id']);}),_0x198456;}['_addContextToCollection'](_0x126aab,_0x1c2042){_0x1c2042['add'](_0x126aab,0x0);}['_removeContextFromCollection'](_0x21774a,_0x16089b){const _0x2baebc=_0x16089b['find'](_0x1a3a0c=>_0x1a3a0c['id']===_0x21774a);_0x2baebc&&_0x16089b['remove'](_0x2baebc);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x452558}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0xd75fea){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0xd75fea);}}class SourcesBalloonButtonView extends _0x31c75c['ButtonView']{['arrowView'];constructor(_0x36dbef){super(_0x36dbef),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[tl]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x4fb9a7=new _0x31c75c['IconView']();return _0x4fb9a7['content']=_0x31c75c['IconDropdownArrow'],_0x4fb9a7['extendTemplate']({'attributes':{'class':tl+'__arrow'}}),_0x4fb9a7;}}class AIChatControlsLoaderView extends _0x31c75c['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x475376){super(_0x475376),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_loaderView']=this['_createLoaderView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-loader-wrapper','ck-reset_all']},'children':[this['_loaderView'],this['_cancelButtonView']]});}['_createCancelButtonView'](){const _0x553028=new _0x31c75c['ButtonView'](this['locale']);return _0x553028['set']({'label':Qt(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':Ut+'\x20ck-ai-button-stop-generating','icon':_0x31c75c['IconStop']}),_0x553028['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x553028;}['_createLoaderView'](){const _0xbb3911=new _0x31c75c['View'](this['locale']);return _0xbb3911['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}}]},{'text':Qt(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0xbb3911;}}class AIChatControlsView extends _0x31c75c['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x5475cd,_0x936d7a){super(_0x5475cd),this['_contextPanelView']=this['_createContextPanelView'](_0x5475cd,{'bodyCollection':_0x936d7a['bodyCollection'],'searchInputVisibleFrom':_0x936d7a['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x5475cd),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x5475cd),this['_loaderView']=this['_createLoaderView'](_0x5475cd),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x5475cd),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage')['to'](this),this['_loaderView']['delegate']('abortPromptStream')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleWebSearch')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleReasoning')['to'](this),this['_promptCapabilitiesView']['delegate']('selectModel')['to'](this),this['_contextPanelView']['delegate'](..._0x3c7d15)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x49db12=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x49db12['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x49db12['if']('isLoading','ck-hidden',_0x44dcea=>_0x44dcea||!this['isModelAvailable']),_0x49db12['if']('isModelAvailable','ck-hidden',_0x2d8992=>!_0x2d8992||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x49db12['if']('isLoading','ck-hidden',_0x4f0677=>!_0x4f0677)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x49db12['if']('isModelAvailable','ck-hidden',_0x469bc3=>_0x469bc3)]},'children':[this['_modelUnavailableMessageView']]}]}),_0x31c75c['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x3923f8,_0x92a522){return new AIChatContextPanelView(_0x3923f8,_0x92a522);}['_createPromptInputView'](_0x480350){return new AIChatPromptInputView(_0x480350,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x2795f3){return new AIChatPromptCapabilitiesView(_0x2795f3);}['_createLoaderView'](_0x553db1){return new AIChatControlsLoaderView(_0x553db1);}['_createModelUnavailableMessageView'](_0x4f7190){const _0x6832f2=new AIChatModelUnavailableMessageView(_0x4f7190);return _0x6832f2['delegate']('startConversation')['to'](this),_0x6832f2;}['_handlePromptInputFocus'](_0x4863f9,_0x37e918,_0x47dfbf){_0x47dfbf?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x3fe876,_0x52a60f){this['_contextPanelView']['addContextItem'](_0x3fe876,_0x52a60f);}['removeContextItem'](_0x2a8339){this['_contextPanelView']['removeContextItem'](_0x2a8339);}['setContextItemLoading'](_0x292976,_0x36be11){this['_contextPanelView']['setContextItemLoading'](_0x292976,_0x36be11);}['setIsUploadInProgress'](_0x509470){this['_promptInputView']['setIsUploadInProgress'](_0x509470);}['setConversationContext'](_0x79d4e0){this['_contextPanelView']['setConversationContext'](_0x79d4e0);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x2878c5,_0xd2a774,_0xb67a56){this['_contextPanelView']['updateResourceState'](_0x2878c5,_0xd2a774,_0xb67a56);}['setWebSearch'](_0x2820d8){this['_promptCapabilitiesView']['setWebSearch'](_0x2820d8);}['setReasoning'](_0x4ec5cb){this['_promptCapabilitiesView']['setReasoning'](_0x4ec5cb);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x38f6af){this['_contextPanelView']['setAddContextOptions'](_0x38f6af);}['setInputPlaceholder'](_0xea54f){this['_promptInputView']['setPlaceholderText'](_0xea54f);}['setModelList'](_0x1263c2,_0x47b3db){this['_promptCapabilitiesView']['setModelList'](_0x1263c2,_0x47b3db);}['setModel'](_0x27c04f){_0x27c04f?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x27c04f)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x29ccb4){this['_promptCapabilitiesView']['disableModelSelector'](_0x29ccb4);}['populateSourceResourceBalloon'](_0x3c0769,_0x3762c7,_0x46dfd0,_0x14bfb5){this['_contextPanelView']['populateSourceResourceBalloon'](_0x3c0769,_0x3762c7,_0x46dfd0,_0x14bfb5);}['closeSourceResourceBalloon'](_0x4ff39f){this['_contextPanelView']['closeSourceResourceBalloon'](_0x4ff39f);}['focusPromptInput'](_0x583505=!0x1){this['_promptInputView']['focus'](_0x583505);}['setPromptInputValue'](_0x366b75){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x366b75;}}class AIChatModelUnavailableMessageView extends _0x31c75c['View']{constructor(_0x14cc5f){super(_0x14cc5f);const _0x429b3f=new _0x31c75c['ButtonView'](_0x14cc5f);_0x429b3f['set']({'label':Qt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x429b3f['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':Qt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x429b3f]}]});}}class _0x494418 extends _0x31c75c['FormHeaderView']{['resizeButton'];constructor(_0x249e13,_0x384780){super(_0x249e13,{'label':_0x384780['label'],'class':'ck-ai-header\x20'+_0x384780['class'],'icon':_0x384780['icon']}),this['set']('isMaximized',!0x1),_0x384780['content']&&this['children']['add'](_0x384780['content']),_0x384780['showResizeButton']&&(this['resizeButton']=jt(_0x249e13,this),this['children']['add'](this['resizeButton']));}}class _0x12a449 extends _0x31c75c['View']{constructor(_0xc423cb){super(_0xc423cb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':Qt(_0xc423cb,'AI_DISCLAIMER_TEXT')}]}]});}}function _0x317969(_0x276917,_0x1a5444){const _0x4d5cff=new _0x31c75c['ButtonView'](_0x276917);return _0x4d5cff['set']({'label':Qt(_0x276917,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x31c75c['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+Ut}),_0x4d5cff['on']('execute',()=>{_0x1a5444['fire']('startConversation');}),_0x4d5cff;}class AIChatView extends _0x31c75c['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x37c270,_0x5142b8){super(_0x37c270),this['_bodyCollection']=new _0x31c75c['BodyCollection'](_0x37c270),this['_bodyCollection']['attachToDom']();const _0x32edb3=_0x317969(_0x37c270,this);this['chatHeader']=new _0x494418(_0x37c270,{'label':Qt(_0x37c270,'AI_CHAT_HEADING'),'icon':_0x31c75c['IconAIChat'],'class':'ck-ai-header_chat','content':_0x32edb3,'showResizeButton':_0x5142b8['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new AIChatFeedView(_0x37c270,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x3809bb)['to'](this),this['chatControls']=new AIChatControlsView(_0x37c270,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x5142b8['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x3809bb)['to'](this),this['chatDisclaimer']=new _0x12a449(_0x37c270),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x37c270['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x918db6,_0x3a3c0b,_0x5e68c1,_0x3cf6d8){this['chatControls']['populateSourceResourceBalloon'](_0x918db6,_0x3a3c0b,_0x5e68c1,_0x3cf6d8);}['closeSourceResourceBalloon'](_0x40d83f){this['chatControls']['closeSourceResourceBalloon'](_0x40d83f);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x31c75c['ContextPlugin']{static get['requires'](){return[_0x20f71e];}['_view'];static get['pluginName'](){return'AIChatUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['feedItemRenderingStrategy']='streaming';['showDiff']=!0x0;['_promiseQueue'];['_interactionPromiseResolver'];['_titleAnimationInterval']=void 0x0;['_isTrackChangesCommandValueBound']=!0x1;constructor(_0x2cc70a){super(_0x2cc70a);const _0x1ef935=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x4138b2(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x1ef935['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate']('resizeTabs')['to'](_0x1ef935),this['_view']['delegate'](..._0x3809bb)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x1d84ba,{showDiff:_0x15d180})=>{this['showDiff']=_0x15d180;}),_0x1ef935['view']['addTab']({'id':'chat','buttonLabel':Qt(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x31c75c['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x1ef935['view'],'isMaximized',_0x3819c4=>_0x3819c4),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x144fbe=>_0x144fbe),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x1d4a30){const _0x13e9a7=this['context']['config']['get']('ai.chat.welcomeMessage')??Qt(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x1d4a30['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x13e9a7}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x299413,staticMessage:_0x1c90eb}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x299413,'initialContent':'<p>'+_0x1c90eb+'</p>'});});}async['addFeedItemUserMessage'](_0x4de267){const _0x3fc3a3=_0x4de267['attributes']?.['displayedPrompt']||_0x4de267['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x4de267['contextItems']['values']()),'initialContent':'<p>'+_0x3fc3a3+'</p>','id':_0x4de267['id']});});}async['addFeedItemError']({errorMessage:_0x1296e3,id:_0x11377c}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x1296e3+'</p>','id':_0x11377c});});}async['addFeedItemAIReply'](_0xdad9b){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0xdad9b['interactionId']+':'+_0xdad9b['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x5b2cec){const _0x339034=_0x26979b(this['context']);let _0x2f74df=_0x339034['config']['get']('ai.availableReplyActions')||[..._0x2d963f];if(_0x339034['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x3367ee=_0x339034['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x3367ee,'value');}}else _0x2f74df=_0x2f74df['filter'](_0x5f16fe=>'insertSuggestion'!=_0x5f16fe);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x5b2cec['interactionId']+':'+_0x5b2cec['id'],'areActionsDisabled':_0x5b2cec['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x2f74df}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x25ab8f,_0x3a49a5){return this['_promiseQueue']['enqueue'](async()=>{const _0x1bbcb6=this['_view']['chatFeed']['children']['last'];if(_0x1bbcb6 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x1bbcb6),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x25ab8f['id'],'capabilities':{'isWebSearchEnabled':_0x1bbcb6['capabilities']['isWebSearchEnabled']||_0x3a49a5['isWebSearchEnabled'],'isReasoningEnabled':_0x1bbcb6['capabilities']['isReasoningEnabled']||_0x3a49a5['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x25ab8f['id'],'capabilities':_0x3a49a5});});}async['addFeedItemCustomElement'](_0xe005a1,_0x1ff3d1){let _0x170dfc;return await this['_promiseQueue']['enqueue'](async()=>{_0x170dfc=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0xe005a1,'id':_0x1ff3d1});}),_0x170dfc;}['removeFeedItem'](_0x166650){this['_view']['chatFeed']['removeItem'](_0x166650);}['hasFeedItem'](_0x138988){return this['_view']['chatFeed']['hasItem'](_0x138988);}['updateFeedInteractionHeader'](_0x1a6970){const _0x344bcd=this['_view']['chatFeed']['children']['find'](_0x3e5a28=>_0x3e5a28['options']['id']==_0x1a6970['id']&&_0x3e5a28 instanceof AIChatFeedInteractionHeaderView);_0x344bcd&&_0x344bcd['set']('isVisible',_0x1a6970['isVisible']);}async['updateFeedItemAIReplyContent'](_0x4ce34e){const _0x21ed81=_0x4ce34e['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x353284=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x4ce34e,'abortSignal':_0x353284,'renderingStrategy':_0x21ed81}),_0x4ce34e['isDone']&&this['markFeedItemAsDone'](_0x4ce34e['id']);});}['updateFeedItemAIReplySources'](_0x5bc1f0,_0x3de6d3){this['_view']['chatFeed']['updateWebSources'](_0x5bc1f0,_0x3de6d3);}async['updateFeedItemAIReplySuggestionContent'](_0x1fe8f2){return this['_promiseQueue']['enqueue'](async _0x12b045=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x1fe8f2,'abortSignal':_0x12b045}),_0x1fe8f2['isDone']&&this['markFeedItemAsDone'](_0x1fe8f2['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x389682){this['_view']['chatFeed']['updateSuggestionPartState'](_0x389682);}['setFeedItemAIReplySuggestionPartActive'](_0x3783a2){this['_view']['chatFeed']['setSuggestionPartActive'](_0x3783a2);}['markFeedItemAsDone'](_0x999119){this['_view']['chatFeed']['markItemAsDone'](_0x999119);}['removeFeedInteraction'](_0x4eaabd){this['_view']['chatFeed']['getItemIds']()['filter'](_0x2d7c13=>_0x2d7c13['startsWith'](_0x4eaabd))['forEach'](_0xf010f6=>this['_view']['chatFeed']['removeItem'](_0xf010f6));}['startInteraction'](){const _0x50b0cb=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x50b0cb),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x57c788){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x507909=>_0x507909['startsWith'](_0x57c788['id']))['forEach'](_0x3aa799=>this['markFeedItemAsDone'](_0x3aa799)),this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x146b34,_0xc75701){this['_view']['chatControls']['addContextItem'](_0x146b34,_0xc75701);}['removeContextItem'](_0x4321ec){this['_view']['chatControls']['removeContextItem'](_0x4321ec);}['setContextItemLoading'](_0x1b6688,_0x2d9dcf){this['_view']['chatControls']['setContextItemLoading'](_0x1b6688,_0x2d9dcf);}['setIsUploadInProgress'](_0x330263){this['_view']['chatControls']['setIsUploadInProgress'](_0x330263);}['setConversationContext'](_0x5cb09a){this['_view']['chatControls']['setConversationContext'](_0x5cb09a);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x44996b,_0x1e5450,_0x38206c){this['_view']['chatControls']['updateResourceState'](_0x44996b,_0x1e5450,_0x38206c);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x501613){this['_view']['chatControls']['setAddContextOptions'](_0x501613);}['updateCapabilities'](_0x5a4ec4){this['_view']['chatControls']['setWebSearch'](_0x5a4ec4['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x5a4ec4['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x5a4ec4));}['setSelectedModel'](_0x23f11b,_0x1d7d78){this['_view']['chatControls']['setModel'](_0x23f11b),_0x1d7d78&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x20b299){this['feedItemRenderingStrategy']=_0x20b299;}['toggleLoadingSkeleton'](_0x3d8a32){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x3d8a32);}['resetConversationTitle'](){this['setConversationTitle'](Qt(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x322e56,_0x75a64f=!0x1){if(_0x75a64f&&!_0x31c75c['_isMotionReduced']()&&_0x322e56['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x322e56);this['_view']['chatHeader']['label']=_0x322e56;}['setLoadingMessage'](_0x3d765c){this['_view']['chatFeed']['setLoadingMessage'](_0x3d765c);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x59c225){let _0x33403c=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x59c225[_0x33403c],_0x33403c++,_0x33403c===_0x59c225['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x64452a){return _0x64452a['isWebSearchEnabled']&&_0x64452a['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x64452a['isWebSearchEnabled']?Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x64452a['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x33482b){return _0x33482b?_0x33482b['isWebSearchEnabled']&&_0x33482b['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x33482b['isWebSearchEnabled']?Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x33482b['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x9f262c,_0x4e44b3,_0x1b7e83,_0x4d133a){this['_view']['populateSourceResourceBalloon'](_0x9f262c,_0x4e44b3,_0x1b7e83,_0x4d133a);}['closeSourceResourceBalloon'](_0x3feec7){this['_view']['closeSourceResourceBalloon'](_0x3feec7);}['setPromptInputValue'](_0x1c7eb2){this['_view']['chatControls']['setPromptInputValue'](_0x1c7eb2);}['focusPromptInput'](_0x153736=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x153736);}['scrollFeedToSuggestion'](_0x15969b,_0x32def5){this['_view']['chatFeed']['scrollToSuggestion'](_0x15969b,_0x32def5);}['startAutoScroll'](_0x15f704={}){this['_view']['chatFeed']['startAutoScroll'](_0x15f704);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0x31c75c['ListView']{['sections'];constructor(_0x17baa3,_0x57a42b){super(_0x17baa3),this['sections']=_0x57a42b,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x4eef93){let _0x3d3e9c=0x0,_0x21a2f4=0x0;for(const _0x30ea92 of this['sections']){const {resultsCount:_0x5c566a,totalItemsCount:_0x43a53c}=_0x30ea92['filter'](_0x4eef93);_0x3d3e9c+=_0x5c566a,_0x21a2f4+=_0x43a53c;}return{'resultsCount':_0x3d3e9c,'totalItemsCount':_0x21a2f4};}}class AIChatHistoryListView extends _0x31c75c['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x205ee1,{title:_0x4c585f,items:_0x4f4450}){super(_0x205ee1);const _0x142deb=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x4c585f,this['itemsViews']=_0x4f4450;const _0x5c79a1=new _0x31c75c['View'](_0x205ee1);_0x5c79a1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x31c75c['ListView'](_0x205ee1),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x142deb['if']('isVisible','ck-hidden',_0x7fa5a6=>!_0x7fa5a6)]},'children':[_0x5c79a1,this['_itemsListView']]});}['filter'](_0x5cdec6){const _0x588611=this['itemsViews']['length'];let _0x399a3d=0x0;for(const _0xdfc641 of this['itemsViews']){if(_0x5cdec6){const _0x4bcc59=_0xdfc641['isMatching'](_0x5cdec6);_0xdfc641['isVisible']=!!_0x4bcc59,_0xdfc641['highlightText'](_0x5cdec6);}else _0xdfc641['isVisible']=!0x0,_0xdfc641['highlightText'](null);_0xdfc641['isVisible']&&_0x399a3d++;}return this['isVisible']=_0x399a3d>0x0,{'resultsCount':_0x399a3d,'totalItemsCount':_0x588611};}['getItem'](_0x23ceeb){return this['itemsViews']['find'](_0x372ea0=>_0x372ea0['id']===_0x23ceeb);}['removeItem'](_0x4e5110){const _0x33f69a=this['itemsViews']['indexOf'](_0x4e5110);-0x1!==_0x33f69a&&(this['itemsViews']['splice'](_0x33f69a,0x1),this['_itemsListView']['items']['remove'](_0x4e5110));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0xca906e(_0x31c75c['ListItemView']){['id'];static ['LOADING_LABELS']={'remove':'AI_CHAT_HISTORY_LOADING_REMOVING','rename':'AI_CHAT_HISTORY_LOADING_RENAMING','pin':'AI_CHAT_HISTORY_LOADING_PINNING','unpin':'AI_CHAT_HISTORY_LOADING_UNPINNING'};['actions'];['mainContent'];['_titleView'];constructor(_0x1ab161,_0x23720a){super(_0x1ab161);const _0x7292af=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x23720a['pinned']),this['set']('loadingState',null),this['set']('title',_0x23720a['title']),this['id']=_0x23720a['id'];const {createdAt:_0x2a2a60,active:_0x598e8e=!0x1}=_0x23720a;this['_titleView']=new _0x31c75c['HighlightedTextView'](),this['_titleView']['bind']('text')['to'](this,'title',t=>Tt(t||'')),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x54823b=this['_createCheckView'](),_0x4ace19=this['_createPinButtonView'](_0x1ab161),_0x181052=this['_createMenuDropdownView'](),_0x5728f0=this['_createEditInputView'](_0x1ab161),_0x78e6e9=this['_createAcceptEditButtonView'](_0x1ab161,_0x5728f0),_0x3cadf4=this['_createCancelEditButtonView'](_0x1ab161);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x4ace19),this['actions']['add'](_0x181052),this['on']('change:isEdit',(_0x230622,_0x31041e,_0x4d5d77)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x4d5d77?(this['actions']['add'](_0x78e6e9),this['actions']['add'](_0x3cadf4),this['mainContent']['add'](_0x5728f0),_0x5728f0['element']['value']=this['title']||'',_0x5728f0['element']['focus']()):(this['actions']['add'](_0x4ace19),this['actions']['add'](_0x181052),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x598e8e?'ck-ai-chat-history__item--active':'',_0x7292af['if']('isVisible','ck-hidden',_0x415175=>!_0x415175),_0x7292af['if']('isEdit','ck-ai-chat-history__item--edit')],'role':'listitem'},'children':[{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-check-container']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-check',_0x7292af['if']('loadingState','ck-hidden',_0x345383=>!!_0x345383)]},'children':_0x598e8e?[_0x54823b]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x7292af['if']('loadingState','ck-hidden',_0x41cdc0=>!_0x41cdc0)]},'children':[this['_createSpinnerView']()]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-row']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-content']},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-title-container',_0x7292af['if']('loadingState','ck-hidden',_0x3d99b8=>!!_0x3d99b8)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x7292af['if']('loadingState','ck-hidden',_0x76fada=>!_0x76fada)]},'children':[{'text':_0x7292af['to']('loadingState',_0x26a6dc=>_0x26a6dc?Qt(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x26a6dc]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x2a2a60]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-actions']},'children':this['actions']}]}]}),this['on']('click',()=>{this['isEdit']||this['fire']('selectConversation',{'id':this['id']});});}['updateTitle'](_0x551c81){this['set']('title',_0x551c81);}['updateLoadingState'](_0x1e5485,_0x4d000b){this['set']('loadingState',_0x4d000b?_0x1e5485:null);}['_createCheckView'](){const _0x8f1a6a=new _0x31c75c['IconView']();return _0x8f1a6a['set']({'content':_0x31c75c['IconCheck']}),_0x8f1a6a;}['_createPinButtonView'](_0x49295b){const _0x5e380b=new _0x31c75c['ButtonView'](_0x49295b);return _0x5e380b['set']({'label':Qt(_0x49295b,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x31c75c['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x5e380b['bind']('isOn')['to'](this,'pinned'),_0x5e380b['on']('execute',()=>{const _0xc03a26=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0xc03a26});}),_0x5e380b;}['_createMenuDropdownView'](){const _0x56a239=_0x31c75c['createDropdown'](this['locale']),_0x1f271f=_0x56a239['panelView']['children'];_0x56a239['buttonView']['set']({'label':Qt(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x31c75c['IconThreeHorizontalDots']}),_0x56a239['panelPosition']='sw';const _0x5e9136=new _0x31c75c['ButtonView'](this['locale']);_0x5e9136['label']=Qt(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x5e9136['withText']=!0x0,_0x5e9136['on']('execute',()=>{this['isEdit']=!0x0;});const _0x2b2c3e=new _0x31c75c['ButtonView'](this['locale']);_0x2b2c3e['label']=Qt(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x2b2c3e['withText']=!0x0,_0x2b2c3e['on']('execute',()=>{this['showConfirm'](Qt(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x5962ce=new _0x31c75c['ListView'](this['locale']),_0x5c962e=new _0x31c75c['ListItemView'](this['locale']);_0x5c962e['children']['add'](_0x5e9136);const _0x5370a2=new _0x31c75c['ListItemView'](this['locale']);return _0x5370a2['children']['add'](_0x2b2c3e),_0x5962ce['items']['addMany']([_0x5c962e,_0x5370a2]),_0x1f271f['add'](_0x5962ce),_0x56a239;}['_createEditInputView'](_0x1e4ba5){const _0x1db8c1=new _0x31c75c['InputTextView'](_0x1e4ba5),_0x1cdfd3=_0x1db8c1['bindTemplate'];return _0x1db8c1['extendTemplate']({'on':{'keydown':_0x1cdfd3['to'](_0x5450f5=>{'Enter'==_0x5450f5['key']&&this['_commitEditInputValue'](_0x1db8c1);})}}),_0x1db8c1;}['_createAcceptEditButtonView'](_0x3dd150,_0x4258bf){const _0x3f9333=new _0x31c75c['ButtonView'](_0x3dd150);return _0x3f9333['set']({'icon':_0x31c75c['IconCheck'],'withText':!0x1,'tooltip':Qt(_0x3dd150,'AI_CHAT_HISTORY_ACCEPT')}),_0x3f9333['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x3f9333['on']('execute',()=>{this['_commitEditInputValue'](_0x4258bf);}),_0x3f9333;}['_commitEditInputValue'](_0x1dc09d){const _0x490268=_0x1dc09d['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x490268});}['_createCancelEditButtonView'](_0x10ae53){const _0xede12=new _0x31c75c['ButtonView'](_0x10ae53);return _0xede12['set']({'icon':_0x31c75c['IconCancel'],'withText':!0x1,'tooltip':Qt(_0x10ae53,'AI_CHAT_HISTORY_CANCEL')}),_0xede12['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0xede12['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0xede12;}['_createSpinnerView'](){const _0x56b459=new _0x31dcda('tiny');return _0x56b459['isVisible']=!0x0,_0x56b459;}['isMatching'](_0x4d6df2){return'string'==typeof this['title']&&this['title']['match'](_0x4d6df2)?{'title':!0x0}:null;}['highlightText'](_0x596198){this['_titleView']['highlightText'](_0x596198);}}class AIChatHistoryView extends _0x31c75c['View']{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x17d568,_0x2dbfff){super(_0x17d568),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x483615=_0x317969(_0x17d568,this);this['headerView']=new _0x494418(_0x17d568,{'label':Qt(_0x17d568,'AI_CHAT_HISTORY_HEADING'),'icon':_0x31c75c['IconAIHistory'],'class':'ck-ai-header_history','content':_0x483615,'showResizeButton':_0x2dbfff}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new AIChatHistorySectionListView(_0x17d568,[]),this['sectionsView']['delegate'](..._0x3c77cb)['to'](this),this['mainErrorView']=this['_createErrorView'](),this['skeletonView']=this['_createSkeletonView'](),this['emptyView']=this['_createEmptyStateView'](),this['searchView']=this['_createSearchView'](),this['mainErrorView']['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isMainErrorViewVisible','ck-hidden',_0x28385a=>!_0x28385a)]}}),this['on']('change:isLoading',()=>this['_updateViewVisibility']()),this['on']('change:hasItems',()=>this['_updateViewVisibility']()),this['on']('change:errorMessage',()=>this['_updateViewVisibility']()),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat-history','ck-rounded-corners'],'dir':'ltr'},'children':[this['headerView'],{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['mainErrorView'],this['emptyView'],this['searchView']]}]});}['_updateViewVisibility'](){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'],this['isMainErrorViewVisible']=!this['isSearchViewVisible']&&!!this['errorMessage'];}['_createSearchView'](){const _0x310d60=new _0x31c75c['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':Qt(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x274432=>Qt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x274432),'secondary':Qt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x3c213b=this['_createErrorView']();return _0x3c213b['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x1fb1f3=>!_0x1fb1f3)]}}),_0x310d60['on']('render',()=>{_0x310d60['children']['add'](_0x3c213b,0x1);}),_0x310d60['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x4dade0=>!_0x4dade0)]}}),_0x310d60;}['_createSkeletonView'](){const _0x27863e=new AISkeletonView(this['locale'],_0x256023['aiHistory']);return _0x27863e['bind']('isVisible')['to'](this,'isLoading'),_0x27863e;}['_createErrorView'](){const _0x349625=new _0x31c75c['View'](this['locale']),_0x350a86=new _0x31c75c['ButtonView'](this['locale']);_0x350a86['set']({'withText':!0x1,'icon':_0x31c75c['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x350a86['bind']('isVisible')['to'](this,'hasItems',_0x2b324d=>!!_0x2b324d),_0x350a86['on']('execute',()=>{this['errorMessage']='';});const _0x350382=this['bindTemplate'];return _0x349625['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x350382['to']('errorMessage')}]},_0x350a86]}),_0x349625;}['_createEmptyStateView'](){const _0x17136a=new _0x31c75c['View'](this['locale']);return _0x17136a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x419a0e=>!_0x419a0e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[Qt(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x17136a;}['_createListItemViews'](_0x349dde,_0x411ff9){const _0x2c8cf8=[];for(const _0x12ca9f of _0x349dde){const _0x116b67=new AIChatHistoryListItemView(_0x411ff9,_0x12ca9f);_0x116b67['delegate'](..._0x3c77cb)['to'](this),_0x2c8cf8['push'](_0x116b67);}return _0x2c8cf8;}['updateHistoryItemsWithCategories'](_0x52465a){const _0x2b1bf0=this['locale']||'en',_0x3cd5a9=[];for(const _0x3fcead of _0x52465a){const _0x296330=this['_createListItemViews'](_0x3fcead['items'],_0x2b1bf0);_0x3cd5a9['push'](new AIChatHistoryListView(_0x2b1bf0,{'title':_0x3fcead['title'],'items':_0x296330}));}this['sectionsView']['sections']=_0x3cd5a9,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x3cd5a9),this['hasItems']=_0x52465a['some'](_0x3d864a=>_0x3d864a['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x27c0bd){for(const _0x1a5fbc of this['sectionsView']['sections']){const _0x39e49e=_0x1a5fbc['getItem'](_0x27c0bd);if(_0x39e49e){if(_0x1a5fbc['removeItem'](_0x39e49e),0x0===_0x1a5fbc['itemsViews']['length']){const _0x5de979=this['sectionsView']['sections']['indexOf'](_0x1a5fbc);-0x1!==_0x5de979&&(this['sectionsView']['sections']['splice'](_0x5de979,0x1),this['sectionsView']['items']['remove'](_0x1a5fbc));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x37555d,_0x10e24f){for(const _0x5e6779 of this['sectionsView']['sections']){const _0x593f0f=_0x5e6779['getItem'](_0x37555d);if(_0x593f0f){_0x593f0f['updateTitle'](_0x10e24f);break;}}}['updateItemLoadingState'](_0x28b289,_0x9c162a,_0x1add2e){for(const _0x440030 of this['sectionsView']['sections']){const _0x329ad5=_0x440030['getItem'](_0x28b289);if(_0x329ad5){_0x329ad5['updateLoadingState'](_0x9c162a,_0x1add2e);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x3de7a5=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x3de7a5);}}}const _0x3c77cb=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];class AIChatHistoryUI extends _0x31c75c['ContextPlugin']{static get['requires'](){return[_0x20f71e];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3b350b){super(_0x3b350b);const _0x93d510=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x93d510['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x93d510),this['_historyView']['delegate'](..._0x3c77cb)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x93d510['view'],'isMaximized',_0x433d42=>_0x433d42),_0x93d510['view']['addTab']({'id':'history','buttonLabel':Qt(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x31c75c['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x4db255){this['_historyView']['removeHistoryItem'](_0x4db255);}['updateItems'](_0x31fc36){this['_historyView']['updateHistoryItemsWithCategories'](_0x31fc36);}['updateItemTitle'](_0x5088b5,_0x781202){this['_historyView']['updateItemTitle'](_0x5088b5,_0x781202);}['updateItemLoadingState'](_0x416396,_0x233d33,_0x132038){this['_historyView']['updateItemLoadingState'](_0x416396,_0x233d33,_0x132038);}['setLoadingSkeleton'](_0x53c615){this['_historyView']['isLoading']=_0x53c615;}['showError'](_0x15504f){this['_historyView']['errorMessage']=_0x15504f;}['hideError'](){this['_historyView']['errorMessage']='';}}class AIChatHistoryItem extends _0x31c75c['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x14afda,title:_0xb70a67,createdAt:_0x27e9c1,updatedAt:_0x30399d,pinned:_0x2a514c}){super(),this['id']=_0x14afda,this['createdAt']=new Date(_0x27e9c1),this['set']('title',_0xb70a67),this['set']('updatedAt',_0x30399d?new Date(_0x30399d):null),this['set']('pinned',_0x2a514c||!0x1);}['updateTitle'](_0x5147c1){this['set']('title',_0x5147c1),this['updatedAt']=new Date();}['updatePinned'](_0x3e9649){this['set']('pinned',_0x3e9649),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x31c75c['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x582d3a,group:_0xb8dd37}){super(),this['connector']=_0x582d3a,this['group']=_0xb8dd37;}async['init'](){try{const _0x1ec133=this['connector']['fetchConversations'](this['group']),_0x4c090e=await _0x1ec133['getConversations']();this['loadItems'](_0x4c090e);}catch(_0x4512cc){this['fire']('error',{'error':_0x4512cc,'operation':'init'});}}['addItem'](_0x310eb8){this['items']['push'](_0x310eb8);}async['removeItem'](_0x1780d1){const _0xaf67ff=this['items']['findIndex'](_0x458b33=>_0x458b33['id']===_0x1780d1);if(-0x1===_0xaf67ff)return!0x1;try{return await this['connector']['deleteConversation'](_0x1780d1)['execute'](),this['items']['splice'](_0xaf67ff,0x1),this['fire']('itemRemoved',{'itemId':_0x1780d1}),!0x0;}catch(_0x5cbf82){return this['fire']('error',{'error':_0x5cbf82,'operation':'removeItem','itemId':_0x1780d1}),!0x1;}}['getItem'](_0x384ce8){return this['items']['find'](_0x4e749b=>_0x4e749b['id']===_0x384ce8);}async['updateItemTitle'](_0x333d21,_0x19ccbf){const _0x320331=this['getItem'](_0x333d21);if(!_0x320331)return!0x1;try{return await this['connector']['updateConversation'](_0x333d21,{'title':_0x19ccbf})['getResult'](),_0x320331['updateTitle'](_0x19ccbf),this['fire']('itemUpdated',{'itemId':_0x333d21,'updates':{'title':_0x19ccbf}}),!0x0;}catch(_0x14437f){return this['fire']('error',{'error':_0x14437f,'operation':'updateItemTitle','itemId':_0x333d21}),!0x1;}}async['updateItemPinned'](_0x1d4d56,_0x6c70b3){const _0x6693bb=this['getItem'](_0x1d4d56);if(!_0x6693bb)return!0x1;try{return await this['connector']['updateConversation'](_0x1d4d56,{'pinned':_0x6c70b3})['getResult'](),_0x6693bb['updatePinned'](_0x6c70b3),this['fire']('itemUpdated',{'itemId':_0x1d4d56,'updates':{'pinned':_0x6c70b3}}),!0x0;}catch(_0x492101){return this['fire']('error',{'error':_0x492101,'operation':'updateItemPinned','itemId':_0x1d4d56}),!0x1;}}['loadItems'](_0x480c07){try{this['items']=[],_0x480c07['map'](_0x1e3998=>{this['addItem'](new AIChatHistoryItem(_0x1e3998));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x80a0b4){this['fire']('error',{'error':_0x80a0b4,'operation':'loadItems'});}}['getItems'](_0x57ae0d={}){const _0x3a85cd=void 0x0!==_0x57ae0d['pinned']&&_0x57ae0d['pinned'],_0x5e0bc4=_0x57ae0d['from']?new Date(_0x57ae0d['from']['getFullYear'](),_0x57ae0d['from']['getMonth'](),_0x57ae0d['from']['getDate']()):null,_0x525f1c=_0x57ae0d['to']?new Date(_0x57ae0d['to']['getFullYear'](),_0x57ae0d['to']['getMonth'](),_0x57ae0d['to']['getDate']()):null;return this['items']['filter'](_0x8548e0=>{if(_0x8548e0['pinned']!==_0x3a85cd)return!0x1;if(_0x525f1c){const _0x321be1=new Date(_0x8548e0['createdAt']['getFullYear'](),_0x8548e0['createdAt']['getMonth'](),_0x8548e0['createdAt']['getDate']());return _0x5e0bc4?_0x5e0bc4['getTime']()===_0x525f1c['getTime']()?_0x321be1['getTime']()===_0x5e0bc4['getTime']():_0x321be1<_0x525f1c&&_0x321be1>=_0x5e0bc4:_0x321be1<_0x525f1c;}return!0x0;});}}class AIChatHistoryController extends _0x31c75c['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x20f71e];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](AIConnector),this['_aiChatHistoryUi']=this['context']['plugins']['get'](AIChatHistoryUI),this['_aiChatController']=this['context']['plugins']['get'](AIChatController);const _0x468da6=this['context']['plugins']['get'](_0x20f71e);try{const _0x1d1b08=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x1d1b08}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x29e1c2,_0x30eaf9)=>{this['_setItemLoading'](_0x30eaf9['id'],'remove'),this['_handleRemove'](_0x30eaf9['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x3380e5,_0x16d1b0)=>{this['_setItemLoading'](_0x16d1b0['id'],'rename'),this['_handleEditTitle'](_0x16d1b0['id'],_0x16d1b0['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x562d2c,_0x31af17)=>{void 0x0!==_0x31af17['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x31af17['itemId'],_0x31af17['updates']['title']),void 0x0!==_0x31af17['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x31af17['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x5841a7,_0x3a4758)=>{this['_aiChatController']['_handleRemovedConversation'](_0x3a4758['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x3a4758['itemId']),this['_clearItemLoading'](_0x3a4758['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x1fd6eb,_0x310bdd)=>{this['_handleHistoryErrorUI'](_0x310bdd['error'],_0x310bdd['operation'],_0x310bdd['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x270232,_0x543028)=>{this['_handleSelectConversation'](_0x543028['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x2f23b4,_0x1cdb0f)=>{const _0x51bb56=_0x1cdb0f['pinned']?'pin':'unpin';this['_setItemLoading'](_0x1cdb0f['id'],_0x51bb56),this['_handleTogglePin'](_0x1cdb0f['id'],_0x1cdb0f['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x468da6['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x468da6['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x1cf946){this['_handleHistoryErrorUI'](_0x1cf946,'init');}}async['_handleEditTitle'](_0x3268c2,_0x159e46){await this['history']['updateItemTitle'](_0x3268c2,_0x159e46);}async['_handleTogglePin'](_0x563148,_0x51123f){await this['history']['updateItemPinned'](_0x563148,_0x51123f);}async['_handleRemove'](_0x318ccf){await this['history']['removeItem'](_0x318ccf);}async['_handleSelectConversation'](_0x1d0704){await this['_aiChatController']['loadConversation'](_0x1d0704);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x27cd24=this['_aiChatController']['activeConversation']?.['id'],_0x465e6f=this['_getCategorizedItems']()['map'](_0x32780b=>({'title':_0x32780b['title'],'items':_0x32780b['items']['map'](_0x2a4711=>({'id':_0x2a4711['id'],'title':_0x2a4711['title']||Qt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x2a4711['createdAt'])['toLocaleDateString'](),'active':_0x2a4711['id']===_0x27cd24,'pinned':_0x2a4711['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x465e6f);}['_setItemLoading'](_0x248aa4,_0x2c49c6){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x248aa4,_0x2c49c6,!0x0);}['_clearItemLoading'](_0x38db07){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x38db07,null,!0x1);}['_handleHistoryErrorUI'](_0x3683dd,_0x2879b4,_0x3348fb){const _0x3fae64=this['_generateErrorMessage'](_0x2879b4,_0x3348fb);this['_aiChatHistoryUi']['showError'](_0x3fae64),_0x3348fb&&this['_clearItemLoading'](_0x3348fb),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x43c9c9,_0x3a537c){const _0x5bf783=_0x3a537c?this['history']['getItem'](_0x3a537c):null,_0x5ac1a5=_0x5bf783?.['title']||Qt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x43c9c9){case'updateItemTitle':return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x5ac1a5);case'updateItemPinned':{const _0x1b5e06=Qt(this['context']['locale'],_0x5bf783?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x1b5e06,_0x5ac1a5]);}case'removeItem':return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x5ac1a5);case'init':case'loadItems':return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x29da47=new Date(),_0x3cbae6=new Date(_0x29da47['getFullYear'](),_0x29da47['getMonth'](),_0x29da47['getDate']()),_0x1ffc30=new Date(_0x3cbae6);_0x1ffc30['setDate'](_0x1ffc30['getDate']()-0x1);const _0x781a8d=new Date(_0x3cbae6);_0x781a8d['setDate'](_0x781a8d['getDate']()-0xe);const _0x599f0f=this['history']['getItems']({'pinned':!0x0}),_0xc7ef78=this['history']['getItems']({'from':_0x3cbae6,'to':_0x3cbae6}),_0x11c1ce=this['history']['getItems']({'from':_0x1ffc30,'to':_0x1ffc30}),_0x2bc6b3=this['history']['getItems']({'from':_0x781a8d,'to':_0x1ffc30}),_0x170857=this['history']['getItems']({'to':_0x781a8d}),_0x1c8f4c=[];return _0x599f0f['length']>0x0&&_0x1c8f4c['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x599f0f}),_0xc7ef78['length']>0x0&&_0x1c8f4c['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0xc7ef78}),_0x11c1ce['length']>0x0&&_0x1c8f4c['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x11c1ce}),_0x2bc6b3['length']>0x0&&_0x1c8f4c['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x2bc6b3}),_0x170857['length']>0x0&&_0x1c8f4c['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x170857}),_0x1c8f4c;}}class AIChatHistory extends _0x31c75c['ContextPlugin']{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends _0x31c75c['ContextPlugin']{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1cc426){super(_0x1cc426),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1}),this['context']['config']['define']('ai.chat.initialConversation','new');}}class AIChatShortcutView extends _0x31c75c['ButtonView']{['id'];constructor(_0x1027a9,_0x479519){super(_0x1027a9);const {id:_0x4cf15e,type:_0x285b6f,icon:_0x3ab68f}=_0x479519;this['id']=_0x4cf15e,this['set']({'label':_0x479519['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x479519['id']}}),_0x3ab68f?this['icon']=_0x3ab68f:'chat'===_0x285b6f?this['icon']=_0x31c75c['IconAIChat']:'review'===_0x285b6f?this['icon']=_0x31c75c['IconAIReview']:'translate'===_0x285b6f&&(this['icon']=_0x31c75c['IconAITranslate']);}}class AIChatShortcutsView extends _0x31c75c['View']{['listView'];constructor(_0x2c8335,_0x2ea799){super(_0x2c8335);const _0x396f12=_0x2ea799['map'](_0xe79e67=>{const _0x28069e=new _0x31c75c['ListItemView'](this['locale']),_0x8d5840=new AIChatShortcutView(this['locale'],_0xe79e67);return _0x28069e['children']['add'](_0x8d5840),_0x8d5840['delegate']('execute')['to'](this),_0x28069e;});this['listView']=new _0x31c75c['ListView'](this['locale']),this['listView']['items']['addMany'](_0x396f12),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x3e7d35='chat-shortcuts';class AIChatShortcuts extends _0x31c75c['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x2443a9=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x2443a9['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x2443a9,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x346f3e=['chat','review','translate'];this['_shortcuts']['forEach'](_0x1995a6=>{let _0x23d416=!0x0;if(_0x1995a6['id']&&_0x1995a6['label']&&_0x346f3e['includes'](_0x1995a6['type'])?'chat'===_0x1995a6['type']&&(_0x23d416='string'==typeof _0x1995a6['prompt']):_0x23d416=!0x1,!_0x23d416)throw new _0x31c75c['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x1995a6});});}['_injectShortcuts'](){const _0x5d6878=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x5d6878['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x3e7d35),this['_shortcutsView']['on']('execute',_0x507b4c=>{const _0x42bd25=_0x507b4c['source']['id'];this['_executeShortcut'](_0x42bd25);});}['_removeShortcuts'](){const _0x853c5d=this['context']['plugins']['get'](AIChatUI);_0x853c5d['hasFeedItem'](_0x3e7d35)&&_0x853c5d['removeFeedItem'](_0x3e7d35),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0xb4407a){const _0x241eff=this['_shortcuts']['find'](_0x2c44e9=>_0x2c44e9['id']===_0xb4407a),_0x47ab49=_0x241eff['type'];'chat'===_0x47ab49?this['_runChatShortcut'](_0x241eff):'review'===_0x47ab49?_0x241eff['commandId']?this['_runReviewShortcut'](_0x241eff):this['_switchTab']('reviewMode'):'translate'===_0x47ab49&&(_0x241eff['language']?this['_runTranslateShortcut'](_0x241eff):this['_switchTab']('translate'));}['_switchTab'](_0x1cc92b){if(!this['context']['plugins']['has']('AITabs'))throw new _0x31c75c['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x1cc92b});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x1cc92b);}async['_runChatShortcut']({prompt:_0x329f2a,draftMode:_0x532156,useWebSearch:_0x295040=!0x1,useReasoning:_0x544191=!0x1,model:_0x224256}){const _0x3b8724=this['context']['plugins']['get']('AIChatController'),_0x3fd7ee=_0x3b8724['activeConversation'];let _0x478971;_0x478971=_0x224256?await _0x3fd7ee['chatModels']['getModel'](_0x224256):await _0x3fd7ee['chatModels']['getDefault'](),_0x478971&&await _0x3fd7ee['setModel'](_0x478971),_0x3fd7ee['setWebSearch'](_0x295040),_0x3fd7ee['setReasoning'](_0x544191),_0x3b8724['addCurrentDocumentToChatContext'](),_0x532156?(this['_aiChatUI']['setPromptInputValue'](_0x329f2a),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x3b8724['sendMessage']({'message':_0x329f2a});}['_runReviewShortcut']({commandId:_0x23a148,model:_0x1c8bc9,prompt:_0x5049e9,params:_0x4df725}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x31c75c['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x1becf4={'id':_0x23a148,'isCustom':'custom'===_0x23a148};_0x1c8bc9&&_0x5049e9&&(_0x1becf4['args']={'model':_0x1c8bc9,'prompt':_0x5049e9}),_0x4df725&&(_0x1becf4['params']=_0x4df725),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x1becf4);}['_runTranslateShortcut']({language:_0x54d9f9}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x31c75c['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x54d9f9,'args':{'language':_0x54d9f9}});}}class _0x5a829e extends _0x31c75c['Command']{constructor(_0xb58b83){super(_0xb58b83);const _0x372a94=_0xb58b83['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x372a94,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x260366=this['editor']['plugins']['get']('AITabs')['view'];_0x260366['isVisible']=!_0x260366['isVisible'];}}class AIToggleButtonUI extends _0x31c75c['Plugin']{static get['requires'](){return[_0x20f71e];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x272da3=this['editor'];_0x272da3['commands']['add']('toggleAi',new _0x5a829e(_0x272da3)),_0x272da3['ui']['componentFactory']['add']('toggleAi',()=>{const _0x291f98=this['_createAIUIButton'](_0x31c75c['ButtonView']);return _0x291f98['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x291f98;}),_0x272da3['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x2eb8e2=this['_createAIUIButton'](_0x31c75c['MenuBarMenuListItemButtonView']);return _0x2eb8e2['set']({'role':'menuitemcheckbox'}),_0x2eb8e2;});}['_createAIUIButton'](_0x3b8371){const _0x4ad71c=this['editor'],_0x185d77=_0x4ad71c['commands']['get']('toggleAi'),_0x235886=new _0x3b8371(_0x4ad71c['locale']);return _0x235886['set']({'label':Qt(_0x4ad71c['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x31c75c['IconAIAskAI'],'isToggleable':!0x0}),_0x235886['bind']('isEnabled')['to'](_0x185d77),_0x235886['bind']('isOn')['to'](_0x185d77,'value',_0x1c1618=>!!_0x1c1618),this['listenTo'](_0x235886,'execute',()=>{_0x185d77['execute']();}),_0x235886;}}const _0x3240f7=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x3b524e extends _0x31c75c['View']{['_errorView'];constructor(_0x37bcfd){super(_0x37bcfd),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x4748cc){this['showError'](_0x4748cc);}['showError'](_0x5e24d1){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x5e24d1,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x1b68d7=new _0x31c75c['View'](this['locale']),_0xf49fff=new _0x31c75c['View'](this['locale']);return _0xf49fff['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x1b68d7['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x5c552b=>!_0x5c552b)]},'children':[_0xf49fff]}),_0x1b68d7;}}const _0xdf046d=0xa;class _0x5a333d extends _0x31c75c['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_getTargetEditor'](){return this['_currentConfig']?.['targetEditor']??_0x26979b(this['context']);}['_isUpdatingMarkers']=!0x1;['open'](_0x13f8a0){const {id:_0x20d97e}=this['_currentConfig']??{};this['_currentConfig']=_0x13f8a0;const {id:_0x384f37}=this['_currentConfig'];this['isOpen']&&_0x20d97e===_0x384f37?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x192630=this['_getTargetEditor']()['plugins']['get']('Dialog');_0x192630['isOpen']&&this['_currentConfig']&&_0x192630['id']===this['_currentConfig']['id']&&_0x192630['hide']();}['_updateDialog'](){const _0x55ac84=this['_getTargetEditor']()['plugins']['get']('Dialog'),{icon:_0x1721b7,title:_0x2046a2}=this['_currentConfig'];_0x55ac84['view']?.['headerView']&&(_0x55ac84['view']['headerView']['label']=_0x2046a2,_0x55ac84['view']['headerView']['iconView']&&_0x1721b7&&(_0x55ac84['view']['headerView']['iconView']['content']=_0x1721b7)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x55ac84['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection']({'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x341a70=this['_getTargetEditor']()['plugins']['get']('Dialog'),{id:_0x881a29,title:_0x177b93,icon:_0x4d72dd,class:_0x243f1a,mainView:_0x42d715}=this['_currentConfig'];_0x42d715['delegate'](..._0x3240f7)['to'](this),_0x341a70['show']({'title':_0x177b93,'icon':_0x4d72dd,'hasCloseButton':!0x0,'id':_0x881a29,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x243f1a||''),'content':_0x42d715,'onShow':_0x298e78=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x298e78['view']?.['updatePosition']();const _0x20e8c2=this['_getSelectionElements']();_0x20e8c2&&_0x20e8c2[0x0]&&_0x31c75c['scrollViewportToShowTarget']({'target':_0x20e8c2[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x298e78['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x881a29});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x881a29}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x3c1a84,_0x2886e5){if(!_0x2886e5){const _0x584b82=this['_getTargetRootDomRect']();if(!_0x584b82)return null;_0x2886e5=_0x584b82;}const _0x4d4b24=this['_getSelectionElements']();if(!_0x4d4b24||0x0===_0x4d4b24['length'])return{'left':Math['round'](_0x2886e5['left']+_0x2886e5['width']/0x2-_0x3c1a84['width']/0x2),'top':Math['round'](_0x2886e5['top']+_0x2886e5['height']/0x2-_0x3c1a84['height']/0x2)};const _0x4ba844=Math['round'](_0x2886e5['left']+_0x2886e5['width']/0x2-_0x3c1a84['width']/0x2),_0x270454=_0x4d4b24['map'](_0x816b74=>new _0x31c75c['Rect'](_0x816b74)),_0x56b37b=_0x3c1a84['height'];return{'left':_0x4ba844,'top':this['_calculateOptimalTopPosition'](_0x270454,_0x56b37b,_0x2886e5)};}['_calculateOptimalTopPosition'](_0x3f83be,_0x2b0746,_0x416634){const _0x17a703=new _0x31c75c['Rect'](_0x31c75c['global']['window']),_0x3f805=_0x3f83be['map'](_0x2880a3=>_0x2880a3['getVisible']())['filter'](_0x3b2d1a=>_0x3b2d1a),_0x310c12=_0x31c75c['Rect']['getBoundingRect'](_0x3f805);if(!_0x310c12)return Math['round'](_0x416634['top']+_0x416634['height']/0x2);const _0x431b9f=_0x17a703['getIntersection'](_0x310c12);if(!_0x431b9f)return Math['round'](_0x416634['top']+_0x416634['height']/0x2);const _0x3a80fa=_0x416634['getVisible'](),_0x3cf84e=_0x3a80fa&&_0x310c12['height']>_0x3a80fa['height'],_0x53dbdc=_0x431b9f['top'],_0x9aab95=_0x431b9f['bottom'];if(_0x3cf84e){const _0x2764ea=(_0x3a80fa||_0x17a703)['height']/0x2-_0x2b0746/0x2,_0xcc7e43=_0x53dbdc-_0xdf046d-_0x416634['top'],_0x3fc774=_0x416634['bottom']-_0x9aab95-_0xdf046d;return _0xcc7e43>=_0x2b0746?Math['max'](_0xdf046d,_0x53dbdc-_0x2b0746-_0xdf046d):_0x3fc774>=_0x2b0746?_0x9aab95+_0xdf046d:Math['max'](_0xdf046d,_0x2764ea);}const _0x2114c8=_0x53dbdc-_0x2b0746,_0x4bc8b7=_0x416634['bottom']-_0x9aab95-_0xdf046d,_0x136d2d=_0x53dbdc-_0xdf046d-_0x416634['top'];let _0x44d7a0;if(_0x4bc8b7>=_0x2b0746)_0x44d7a0=_0x9aab95+_0xdf046d;else{if(_0x136d2d>=_0x2b0746)_0x44d7a0=_0x2114c8-_0xdf046d;else _0x44d7a0=_0x53dbdc+_0x310c12['height']/0x2-_0x2b0746/0x2;}return _0x44d7a0;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x1fb149=this['_getTargetEditor']();this['listenTo'](_0x1fb149['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x4d2962,data:{newRange:_0x358f4a}}of _0x1fb149['model']['document']['differ']['getChangedMarkers']())if(_0x4d2962['startsWith'](_0x2278f4+':')&&(_0x358f4a&&(_0x358f4a['start']['isEqual'](_0x358f4a['end'])||'$graveyard'==_0x358f4a['root']['rootName'])||null==_0x358f4a)){const _0x106e51=Qt(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x106e51),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x1ee546=this['_getTargetEditor']();this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x1ee546['model']['document']);}['_getSelectionElements'](){const _0x90ba14=this['_getTargetEditor']();return _0x458809(_0x90ba14['editing'],[..._0x90ba14['model']['markers']['getMarkersGroup']('ai-selection'),..._0x90ba14['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getTargetRootDomRect'](){const _0x28ee56=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];if(!_0x28ee56)return null;const _0x4ccc12=this['_getTargetEditor'](),_0x5bb1fd=_0x4ccc12['editing']['view']['document']['getRoot'](_0x28ee56['rootName']);if(!_0x5bb1fd)return null;const _0x3b4d4c=_0x4ccc12['editing']['view']['domConverter']['mapViewToDom'](_0x5bb1fd);return _0x3b4d4c&&_0x3b4d4c instanceof HTMLElement?new _0x31c75c['Rect'](_0x3b4d4c):null;}}class _0x3fcd3f extends _0x31c75c['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0xfb0945,_0xe1408f={}){super(_0xfb0945),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xe1408f};const _0x108aa4=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x108aa4?'ck-ai-mini-toolbar\x20ck-hidden':'ck-ai-mini-toolbar',this['_config']['showCopy']&&(this['_setupCopyButton'](),this['items']['add'](this['copyButton'])),this['_config']['showChanges']&&(this['_setupShowChangesButton'](),this['items']['add'](this['showChangesButton'])),this['_setupRatingButtons'](),this['_config']['showLike']&&this['items']['add'](this['likeButton']),this['_config']['showDislike']&&this['items']['add'](this['dislikeButton']),this['_config']['customView']&&this['items']['addMany'](this['_config']['customView']);}['toggleShowChangesEnabled'](_0x393c13){this['showChangesButton']['isEnabled']=_0x393c13;}['_setupRatingButtons'](){this['likeButton']=new _0x31c75c['ButtonView'](this['locale']),this['likeButton']['set']({'icon':_0x31c75c['IconThumbUp'],'label':Qt(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':Bt,'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x31c75c['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':_0x31c75c['IconThumbDown'],'label':Qt(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':Bt,'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0x31c75c['ButtonView'](this['locale']),this['copyButton']['set']({'icon':_0x31c75c['IconCopy'],'label':Qt(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+Bt,'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x17a8ff=new _0x31c75c['IconView']();_0x17a8ff['set']({'content':_0x31c75c['IconCheck']}),_0x17a8ff['extendTemplate']({'attributes':{'class':['ck-ai-mini-toolbar-copy-button__check-mark']}}),this['copyButton']['on']('execute',()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied\x20'+Bt,setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+Bt;},0x7d0);}),this['copyButton']['children']['add'](_0x17a8ff);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x31c75c['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':_0x31c75c['IconShowChangesOff'],'label':Qt(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':Bt}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x1c5a56=>_0x1c5a56?_0x31c75c['IconShowChangesOn']:_0x31c75c['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x3b524e{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x10f3ab,_0x4fbaac){super(_0x10f3ab);const _0x189141=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x31c75c['FocusTracker'](),this['_keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x4fbaac,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x10f3ab),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x10f3ab,_0x4fbaac['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x4fbaac),this['_stateView']=new AISuggestionContentPartStateView(_0x10f3ab),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x3fcd3f(_0x10f3ab,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x10f3ab,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x3f2bc4,_0xdb3f03,_0x5bfc8c,_0x5a074d)=>{let _0x544193,_0x50699f;'pending'===_0x5a074d?(_0x544193=this['_partToolbarView'],_0x50699f=this['_stateView']):(_0x544193=this['_stateView'],_0x50699f=this['_partToolbarView']),this['_stateView']['setState'](_0x5bfc8c),_0x544193['isVisible']=!0x1,_0x50699f['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x189141['to']('_state',_0x326820=>'ck-ai-chat-balloon-main_state_'+_0x326820)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x4fbaac);});}['render'](){super['render'](),this['nextButtonView']['render'](),this['previousButtonView']['render'](),this['_focusTracker']['add'](this['element']),this['_focusTracker']['add'](this['nextButtonView']),this['_focusTracker']['add'](this['previousButtonView']),this['_focusTracker']['add'](this['_miniToolbarView']),this['_focusTracker']['add'](this['_partToolbarView']),this['_keystrokes']['listenTo'](this['element']),this['_keystrokes']['listenTo'](this['nextButtonView']['element']),this['_keystrokes']['listenTo'](this['previousButtonView']['element']),this['_focusables']['addMany']([this['nextButtonView'],this['previousButtonView'],this['_partToolbarView'],this['_miniToolbarView']]);}['destroy'](){super['destroy'](),this['previousButtonView']['destroy'](),this['nextButtonView']['destroy']();}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}async['updateContent'](_0x44fe0e){_0x44fe0e?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x44fe0e);}['setState'](_0x54f9ca){this['_state']=_0x54f9ca;}['showError'](_0x121f20){super['showError'](_0x121f20),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x59c276){super['showBlockingError'](_0x59c276),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x5a1cc5){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x5a1cc5;}['togglePartToolbarEnabled'](_0x60594e){this['_partToolbarView']['isEnabled']=_0x60594e;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x1d7419,showSuggestButton:_0x3e3be3}){_0x1d7419=_0x1d7419&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3e3be3=_0x3e3be3&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x1d7419,'showSuggestButton':_0x3e3be3});}['_createNextButtonView'](){const _0x589eb4=new _0x31c75c['ButtonView'](this['locale']);return _0x589eb4['set']({'icon':_0x31c75c['IconChevronDown'],'label':Qt(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x589eb4['on']('execute',()=>{this['fire']('showNext');}),_0x589eb4;}['_createPreviousButtonView'](){const _0x331f11=new _0x31c75c['ButtonView'](this['locale']);return _0x331f11['set']({'icon':_0x31c75c['IconChevronUp'],'label':Qt(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x331f11['on']('execute',()=>{this['fire']('showPrevious');}),_0x331f11;}}class AIChatBalloonToolbarContainerView extends _0x31c75c['View']{constructor(_0x3491ab,_0x105ed7){super(_0x3491ab),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x105ed7});}}class AIChatBalloon extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['Dialog'],_0x5a333d];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x30e30c){super(_0x30e30c),this['set']('showDiff',!0x1);}['open'](_0x5e29e1){const _0x2ca096=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x2ca096['plugins']['get']('AIBalloon')['open']({..._0x5e29e1,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x5e29e1['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x5e29e1['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x9347d1){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x9347d1);}['setState'](_0x533106){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x533106);}['_createChatBalloonView'](){const _0xf496f6=this['editor'],_0x112805=_0xf496f6['plugins']['get']('AIBalloon'),_0x1f89f3=_0xf496f6['commands']['get']('trackChanges');let _0x657916=_0xf496f6['config']['get']('ai.availableReplyActions')||[..._0x2d963f];_0xf496f6['plugins']['has']('TrackChanges')||(_0x657916=_0x657916['filter'](_0x18315d=>'insertSuggestion'!=_0x18315d));const _0x4e1809=new AIChatBalloonView(_0xf496f6['locale'],{'availableActions':_0x657916,'showApplyButton':!0x0,'showSuggestButton':!!_0x1f89f3});return _0x4e1809['bind']('showDiff')['to'](this),_0x4e1809['delegate'](..._0x2dbc56)['to'](this),_0x4e1809['delegate']('showPrevious','showNext')['to'](this),_0x112805['delegate']('dialogClosed')['to'](this),_0x4e1809['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4e1809['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4e1809['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x1f89f3&&_0x4e1809['bind']('isTrackChangesOn')['to'](_0x1f89f3,'value'),_0x4e1809['render'](),_0x4e1809;}['_toggleRotatorButtonsInDialogHeader'](_0x3ea78e){const _0x273602=this['editor'],_0x2eb633=_0x273602['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x3ea78e),_0x2eb633['has'](this['_chatBalloonView']['previousButtonView'])||(_0x2eb633['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x273602['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x2eb633['remove'](this['_chatBalloonView']['previousButtonView']),_0x2eb633['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x383a22(_0x51549b){const {editor:_0x4cd37a,action:_0x33ed16,withText:_0x5b2274=!0x1,withIcon:_0xd88d79=!0x0,isInDropdown:_0x4b010c=!0x0,shouldPreventFocus:_0x36a73c=!0x1}=_0x51549b;return()=>{const _0x1d1891=_0x4cd37a['locale'],_0x3aa233=new _0x31c75c['ButtonView'](_0x1d1891),_0x58026b=_0x3aa233['bindTemplate'];_0x4b010c&&_0x3aa233['extendTemplate']({'on':{'mouseenter':_0x58026b['to'](()=>{_0x36a73c&&_0x36a73c()||_0x3aa233['focus']();})}});const _0x418242=_0x33ed16['icon']??_0x33ed16['parent']?.['icon'];return _0x3aa233['set']({'label':_0x33ed16['label'],'withText':_0x5b2274,'role':'menuitem','icon':_0xd88d79?_0x418242??_0x31c75c['IconAIQuickActions']:void 0x0,'tooltip':!_0x5b2274,'class':'ck-ai-quick-actions-button','isEnabled':_0x33ed16['isEnabled']}),_0x3aa233['on']('execute',()=>{_0x4cd37a['editing']['view']['focus'](),_0x4cd37a['commands']['execute']('aiQuickAction',_0x33ed16);}),_0x3aa233;};}class DropdownMenuButtonWithHighlightView extends _0x31c75c['ListItemButtonView']{['arrowView'];constructor(_0x54ebc5,_0x34b2ba){super(_0x54ebc5,_0x34b2ba);const _0xb26579=this['bindTemplate'];this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':['ck-dropdown-menu-list__nested-menu__button'],'aria-haspopup':!0x0,'aria-expanded':this['bindTemplate']['to']('isOn',_0x47acf8=>String(_0x47acf8)),'data-cke-tooltip-disabled':_0xb26579['to']('isOn')},'on':{'mouseenter':_0xb26579['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x29ac49=new _0x31c75c['IconView']();return _0x29ac49['content']=_0x31c75c['IconDropdownArrow'],_0x29ac49['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x29ac49;}}class AIQuickActionsFilteredListView extends _0x31c75c['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x19d6f7,_0x59671b,_0x2b7f0a){super(_0x19d6f7),this['_allListItems']=_0x59671b,this['_allSearchableItems']=_0x2b7f0a;}['filter'](_0x281948){if(!_0x281948)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x5045a4=_0x281948['source']['toLowerCase']()['trim'](),_0x579a97=this['_allSearchableItems']['filter'](_0x5e7ad6=>(_0x5e7ad6['groupLabel']?_0x5e7ad6['label']+'\x20('+_0x5e7ad6['groupLabel']+')':_0x5e7ad6['label'])['toLowerCase']()['includes'](_0x5045a4));return this['items']['clear'](),this['items']['addMany'](_0x579a97['sort']((_0x2778bd,_0x185306)=>{const _0x6df6da=_0x2778bd['groupLabel'],_0x264e8b=_0x185306['groupLabel'];return _0x6df6da||_0x264e8b?_0x6df6da?0x1:-0x1:0x0;})['map'](_0x2681c0=>_0x2681c0['item'])),this['_highlightQuery'](_0x5045a4,_0x579a97),{'resultsCount':_0x579a97['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x278fbe,_0x160a92){if(!_0x278fbe)return;const _0x35cc90=new RegExp(At(_0x278fbe),'gi');_0x160a92['forEach'](_0x4b1d6f=>{_0x4b1d6f['highlightViews']&&_0x4b1d6f['highlightViews']['forEach'](_0x278aef=>{'function'==typeof _0x278aef['highlightText']&&_0x278aef['highlightText'](_0x35cc90);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x3e35d5=>{_0x3e35d5['highlightViews']&&_0x3e35d5['highlightViews']['forEach'](_0x1007c7=>{'function'==typeof _0x1007c7['highlightText']&&_0x1007c7['highlightText'](null);});});}}const _0x4bbc8d='menu',_0xae7af='menuitem';class AIQuickActionsDropdownContentView extends _0x31c75c['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x1624f9,_0x47bf6c,_0x3367bf,_0x1b0be0,_0x33fd11=!0x1){const _0x4ce4bc=_0x1624f9['locale'];super(_0x4ce4bc),this['_bodyCollection']=_0x1b0be0,this['_hasSearch']=_0x33fd11;const _0x2e7995=this['_createListItems'](_0x1624f9,_0x47bf6c,_0x3367bf);this['optionsListView']=new AIQuickActionsFilteredListView(_0x4ce4bc,_0x2e7995,this['_allSearchableItems']),this['optionsListView']['role']=_0x4bbc8d,this['optionsListView']['items']['addMany'](_0x2e7995),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),_0x33fd11&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x2e7995,this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x33fd11&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0xed7f3a=_0x33fd11&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0x31c75c['ViewCollection'](_0xed7f3a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x4ce4bc['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new _0x31c75c['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':Qt(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':Qt(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x8c68ad=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x8c68ad);}['_createListItems'](_0x597c42,_0x3b201c,_0x46b667){const _0x5b663b=new _0x31c75c['ViewCollection']();return _0x3b201c['forEach'](_0x3ed8b2=>{if('actions'in _0x3ed8b2){const {listItem:_0x7de1e7}=this['_createActionGroupButton'](_0x597c42,_0x3ed8b2,_0x46b667);_0x5b663b['add'](_0x7de1e7),_0x3ed8b2['actions']['forEach'](_0x1d8cfe=>{this['_createActionButton'](_0x597c42,_0x1d8cfe,_0x3ed8b2['label'],_0x3ed8b2['icon']);const {listItem:_0x2161a7,highlightViews:_0x3ae262}=this['_createSearchResultActionButton'](_0x597c42,_0x1d8cfe,_0x3ed8b2['label'],_0x3ed8b2['icon']);this['_allSearchableItems']['push']({'item':_0x2161a7,'label':_0x1d8cfe['label'],'groupLabel':_0x3ed8b2['label'],'highlightViews':_0x3ae262});});}else{const {listItem:_0x48cbb4}=this['_createActionButton'](_0x597c42,_0x3ed8b2);_0x5b663b['add'](_0x48cbb4);const _0x2826cb=_0x48cbb4['children']['first'];if(_0x2826cb){const {listItem:_0x397e75,highlightViews:_0xcd7c55}=this['_createSearchResultActionButton'](_0x597c42,_0x3ed8b2);this['_allSearchableItems']['push']({'item':_0x397e75,'label':_0x2826cb['label']||'','highlightViews':_0xcd7c55});}}}),_0x5b663b;}['_createActionButton'](_0x3b269f,_0x4ff5ff,_0x5b1e44,_0x464a64){const _0x4bd9ca=new _0x31c75c['ListItemView'](this['locale']);if(_0x5b1e44&&_0x464a64){const _0x5747b9=new _0x31c75c['ButtonView'](this['locale']),_0x45ffb2=_0x5747b9['bindTemplate'],_0x91abd4=new _0x31c75c['HighlightedTextView']();_0x91abd4['text']=_0x4ff5ff['label'];const _0x43cf8e=new _0x31c75c['HighlightedTextView']();_0x43cf8e['text']=_0x5b1e44;const _0xdc835f=new _0x31c75c['IconView']();_0xdc835f['content']=_0x464a64,_0xdc835f['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x4e800e=new _0x31c75c['View'](this['locale']);_0x4e800e['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x555c6c=new _0x31c75c['View'](this['locale']);return _0x555c6c['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x5747b9['set']({'label':_0x4ff5ff['label']+'\x20('+_0x5b1e44+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x5747b9['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x91abd4,_0x4e800e,_0xdc835f,_0x43cf8e,_0x555c6c],'on':{'mouseenter':_0x45ffb2['to'](()=>{this['_isSearchFocused']()||_0x5747b9['focus']();}),'click':_0x45ffb2['to'](()=>{_0x5747b9['fire']('execute');})}}),_0x5747b9['on']('execute',()=>{_0x3b269f['editing']['view']['focus'](),_0x3b269f['commands']['execute']('aiQuickAction',_0x4ff5ff);}),_0x4bd9ca['children']['add'](_0x5747b9),{'listItem':_0x4bd9ca,'highlightViews':[_0x91abd4,_0x43cf8e]};}{const _0x2f679c=new _0x31c75c['ButtonLabelWithHighlightView'](),_0x4da7c4=new _0x31c75c['ButtonView'](this['locale'],_0x2f679c),_0xdb6615=_0x4da7c4['bindTemplate'],_0x56db4b=_0x4ff5ff['icon']??_0x4ff5ff['parent']?.['icon'],_0xbc67a6=void 0x0!==_0x4ff5ff['icon'];return _0x4da7c4['set']({'label':_0x4ff5ff['label'],'withText':!0x0,'role':'menuitem','icon':_0xbc67a6?_0x56db4b??_0x31c75c['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x4da7c4['extendTemplate']({'on':{'mouseenter':_0xdb6615['to'](()=>{this['_isSearchFocused']()||_0x4da7c4['focus']();})}}),_0x4da7c4['on']('execute',()=>{_0x3b269f['editing']['view']['focus'](),_0x3b269f['commands']['execute']('aiQuickAction',_0x4ff5ff);}),_0x4bd9ca['children']['add'](_0x4da7c4),{'listItem':_0x4bd9ca,'highlightViews':[_0x2f679c]};}}['_createSearchResultActionButton'](_0x359989,_0x4c8c2e,_0x5cae44,_0x57a432){return _0x5cae44&&_0x57a432?this['_createSearchResultGroupedActionButton'](_0x359989,_0x4c8c2e,_0x5cae44,_0x57a432):this['_createSearchResultIndividualActionButton'](_0x359989,_0x4c8c2e);}['_createSearchResultGroupedActionButton'](_0x4b73b3,_0x1c32f9,_0xd03c79,_0x380a51){const _0x171937=new _0x31c75c['ListItemView'](this['locale']),_0x1a7a8e=new _0x31c75c['ButtonView'](this['locale']),_0x471b27=_0x1a7a8e['bindTemplate'],{view:_0x33c7d7,highlightView:_0x4ec0b8}=this['_createSearchResultGroupRow'](_0xd03c79,_0x380a51),{view:_0x52627b,highlightView:_0x239581}=this['_createSearchResultActionRow'](_0x1c32f9['label']),_0x38424e=this['_createSearchResultContentView'](_0x33c7d7,_0x52627b);return _0x1a7a8e['set']({'label':_0x1c32f9['label'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1}),_0x1a7a8e['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x38424e],'on':{'mouseenter':_0x471b27['to'](()=>{this['_isSearchFocused']()||_0x1a7a8e['focus']();}),'click':_0x471b27['to'](()=>{this['_handleSearchResultButtonClick'](_0x1a7a8e);})}}),this['_setupActionButtonExecution'](_0x1a7a8e,_0x4b73b3,_0x1c32f9),_0x171937['children']['add'](_0x1a7a8e),{'listItem':_0x171937,'highlightViews':[_0x4ec0b8,_0x239581]};}['_createSearchResultIndividualActionButton'](_0x50dc8e,_0x1a9a93){const _0x15d17a=new _0x31c75c['ListItemView'](this['locale']),_0x428dca=new _0x31c75c['ButtonLabelWithHighlightView'](),_0x525ec2=new _0x31c75c['ButtonView'](this['locale'],_0x428dca),_0x31b0ed=_0x525ec2['bindTemplate'];return _0x525ec2['set']({'label':_0x1a9a93['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x525ec2['extendTemplate']({'on':{'mouseenter':_0x31b0ed['to'](()=>{this['_isSearchFocused']()||_0x525ec2['focus']();})}}),this['_setupActionButtonExecution'](_0x525ec2,_0x50dc8e,_0x1a9a93),_0x15d17a['children']['add'](_0x525ec2),{'listItem':_0x15d17a,'highlightViews':[_0x428dca]};}['_createSearchResultGroupRow'](_0x4047d1,_0x5bf3d2){const _0x5644a7=new _0x31c75c['View'](this['locale']),_0x29e9b5=new _0x31c75c['IconView']();_0x29e9b5['content']=_0x5bf3d2,_0x29e9b5['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x12bc5b=new _0x31c75c['HighlightedTextView']();return _0x12bc5b['text']=_0x4047d1,_0x5644a7['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x29e9b5,_0x12bc5b]}),{'view':_0x5644a7,'highlightView':_0x12bc5b};}['_createSearchResultActionRow'](_0x8cf902){const _0x2962ee=new _0x31c75c['View'](this['locale']),_0x3fbb0a=new _0x31c75c['HighlightedTextView']();return _0x3fbb0a['text']=_0x8cf902,_0x2962ee['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x3fbb0a]}),{'view':_0x2962ee,'highlightView':_0x3fbb0a};}['_createSearchResultContentView'](_0x3a9037,_0x2b32c9){const _0x561256=new _0x31c75c['View'](this['locale']);return _0x561256['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x3a9037,_0x2b32c9]}),_0x561256;}['_setupActionButtonExecution'](_0x2f5aef,_0x463fca,_0xbd5b63){_0x2f5aef['on']('execute',()=>{_0x463fca['editing']['view']['focus'](),_0x463fca['commands']['execute']('aiQuickAction',_0xbd5b63);});}['_createActionGroupButton'](_0x5d800c,_0x26fefa,_0x2aa2da){const _0x4d3ec6=new _0x31c75c['ListItemView'](this['locale']),_0x2c0347=new _0x31c75c['ButtonLabelWithHighlightView'](),_0x48f796=new DropdownMenuButtonWithHighlightView(this['locale'],_0x2c0347),_0x3a6fee=_0x48f796['bindTemplate'],_0x440657=this['_getPanelKeystroke'](_0x2aa2da),_0x164429=this['_createGroupActionsList'](_0x5d800c,_0x26fefa['actions'],_0x2aa2da);_0x48f796['set']({'label':_0x26fefa['label'],'withText':!0x0,'role':_0xae7af,'icon':_0x26fefa['icon']??_0x31c75c['IconAIQuickActions'],'isEnabled':_0x26fefa['actions']['some'](_0x5c732a=>_0x5c732a['isEnabled'])}),_0x48f796['extendTemplate']({'on':{'mouseenter':_0x3a6fee['to'](()=>{this['_isSearchFocused']()||_0x48f796['focus']();})}});const _0x259ba8=new _0x31c75c['BalloonPanelView'](this['locale']);return _0x259ba8['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x3a6fee['to'](_0x459b17=>{this['_handlePanelKeydown'](_0x459b17,_0x440657,_0x48f796,_0x259ba8);})}}),_0x48f796['bind']('isOn')['to'](_0x259ba8,'isVisible'),this['_bodyCollection']['add'](_0x259ba8),_0x259ba8['content']['add'](_0x164429),this['_setupGroupMenuBehavior'](_0x48f796,_0x259ba8),_0x4d3ec6['children']['add'](_0x48f796),{'listItem':_0x4d3ec6,'highlightView':_0x2c0347};}['_createGroupActionsList'](_0x4d6a93,_0x9128d6,_0x25f4dd){const _0x47a626=new _0x31c75c['ListView'](this['locale']);return _0x47a626['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x9128d6['forEach'](_0x25be21=>{const _0x5251e0=new _0x31c75c['ListItemView'](this['locale']),_0xec6322=_0x383a22({'editor':_0x4d6a93,'action':_0x25be21,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x5251e0['children']['add'](_0xec6322),_0x25f4dd['focusTracker']['add'](_0xec6322),_0x47a626['items']['add'](_0x5251e0);}),_0x47a626;}['_setupGroupMenuBehavior'](_0x1b1c5d,_0x3d44eb){const _0x319f2f=_0x1b1c5d['bindTemplate'],_0x5b379a=this['_getButtonKeystroke'](_0x1b1c5d);_0x1b1c5d['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x319f2f['to'](()=>{this['_showNestedPanel'](_0x3d44eb,_0x1b1c5d);}),'mouseleave':_0x319f2f['to'](_0x40e0dc=>{const _0x2c6a70=_0x40e0dc['relatedTarget'];this['_isMovingToNestedMenu'](_0x2c6a70,_0x3d44eb)||this['_hideNestedPanel'](_0x3d44eb);}),'keydown':_0x319f2f['to'](_0x3be61b=>{_0x3be61b['key']==_0x5b379a&&(this['_showNestedPanel'](_0x3d44eb,_0x1b1c5d),_0x3d44eb['content']['get'](0x0)['focus']());})}}),_0x3d44eb['on']('render',()=>{_0x3d44eb['element']?.['addEventListener']('mouseleave',_0x54446b=>{const _0x2bf56b=_0x54446b['relatedTarget'];_0x1b1c5d['element']?.['contains'](_0x2bf56b)||this['_isMovingToNestedMenu'](_0x2bf56b,_0x3d44eb)||this['_hideNestedPanel'](_0x3d44eb);});});}['_showNestedPanel'](_0x482893,_0x47f81c){this['_openNestedPanels']['forEach'](_0xde09b3=>{_0xde09b3!==_0x482893&&_0xde09b3['isVisible']&&_0xde09b3['hide']();}),_0x482893['show'](),_0x482893['pin']({'positions':[_0x31c75c['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x47f81c['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x482893);}['_hideNestedPanel'](_0x390522){_0x390522['hide'](),this['_openNestedPanels']['delete'](_0x390522);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x3289cc=>_0x3289cc['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x146707,_0x2d6927){if(!_0x146707)return!0x1;if(_0x2d6927['element']?.['contains'](_0x146707))return!0x0;const _0x4ac9ec=_0x146707;return _0x4ac9ec['closest']&&(null!==_0x4ac9ec['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x4ac9ec['closest']('.ck-ai-quick-actions-group-list')||null!==_0x4ac9ec['closest']('.ck-ai-quick-actions-group-button'));}['resetSearch'](){this['_searchTextView']&&this['_searchTextView']['reset']();}['destroy'](){this['_hideAllNestedPanels'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['focus'](){this['_searchTextView']?this['_searchTextView']['focus']():this['optionsListView']['focus']();}['_getPanelKeystroke'](_0x12f06e){return'rtl'===_0x12f06e['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x1c4011){return'rtl'===_0x1c4011['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x6b5142,_0x49d3c6,_0x7c16db,_0x3b7722){_0x6b5142['key']==_0x49d3c6&&(_0x7c16db['focus'](),this['_hideNestedPanel'](_0x3b7722));}['_handleSearchResultButtonClick'](_0x5a9785){_0x5a9785['fire']('execute');}}function _0x2d5f9b(_0x4fac79){const {editor:_0x12880e,content:_0x4db15c,buttonDefinition:_0x2f73b8,bodyCollection:_0x555168,hasSearch:_0x1436da=!0x1}=_0x4fac79;return()=>{const _0x5406dd=_0x12880e['locale'],_0x1bed18=_0x12880e['commands']['get']('aiQuickAction'),_0x2b1b9a=_0x31c75c['createDropdown'](_0x5406dd);_0x2b1b9a['bind']('isEnabled')['to'](_0x1bed18),_0x2b1b9a['buttonView']['set']({'icon':_0x2f73b8['icon']??_0x31c75c['IconAIQuickActions'],'label':_0x2f73b8['label'],'tooltip':!0x0}),_0x2b1b9a['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x3b4d27=new AIQuickActionsDropdownContentView(_0x12880e,_0x4db15c,_0x2b1b9a,_0x555168,_0x1436da);return _0x2b1b9a['panelView']['children']['add'](_0x3b4d27),_0x1436da&&_0x2b1b9a['on']('change:isOpen',(_0x64374d,_0xce48ed,_0x1123e5)=>{if(_0x1123e5){if(_0x12880e['plugins']['has']('AIEditing')){const _0x5c60d8=_0x12880e['plugins']['get'](AIEditing),_0x574183=_0x12880e['model']['document']['selection'],_0x3a4057=Array['from'](_0x574183['getRanges']());_0x3a4057['length']>0x0&&_0x5c60d8['showFakeVisualSelection']({'ranges':_0x3a4057,'id':'quick-action','priority':0x14});}}else _0x12880e['plugins']['has']('AIEditing')&&_0x12880e['plugins']['get'](AIEditing)['hideFakeVisualSelection']('quick-action'),_0x3b4d27['resetSearch']();}),_0x2b1b9a;};}const _0x26c1e9='<task>Explain\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x20plain,\x20simple\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).-\x20Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20explanation,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant,\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x28e090='<task>Summarize\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x202–4\x20clear\x20sentences,\x20capturing\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20summary,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x340ded='<task>Extract\x20and\x20present\x20the\x20key\x20points\x20from\x20the\x20selected\x20part\x20of\x20the\x20document\x20as\x20a\x20concise\x20bulleted\x20list.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20key\x20points\x20list,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x127707=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());class AIQuickActionsUI extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0xce37c5=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0xce37c5),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x1f8d66){return function(_0x103591){const _0x5db8bf=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x103591['uiLanguage']),_0x8225f4=_0x5db8bf||'English',_0x87cf14=[{'id':'ask-ai','label':Qt(_0x103591,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0x31c75c['IconAIChatCommands']},{'id':'chat-commands','label':Qt(_0x103591,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x31c75c['IconAIChatCommands'],'actions':[{'id':'explain','label':Qt(_0x103591,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':Qt(_0x103591,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x26c1e9['replace']('%0',_0x8225f4),'type':'chat'},{'id':'summarize','label':Qt(_0x103591,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':Qt(_0x103591,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x28e090['replace']('%0',_0x8225f4),'type':'chat'},{'id':'highlight-key-points','label':Qt(_0x103591,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':Qt(_0x103591,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x340ded['replace']('%0',_0x8225f4),'type':'chat'}]},{'id':'improve-writing','label':Qt(_0x103591,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x31c75c['IconAIImproveWriting']},{'id':'continue','label':Qt(_0x103591,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x31c75c['IconAIContinueWriting']},{'id':'fix-grammar','label':Qt(_0x103591,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x31c75c['IconAIGrammarCheck']},{'id':'adjust-length','label':Qt(_0x103591,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x31c75c['IconAIAdjustLength'],'actions':[{'id':'make-shorter','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':Qt(_0x103591,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x31c75c['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':Qt(_0x103591,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x31c75c['IconAITranslate'],'actions':[{'id':'translate-to-english','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':Qt(_0x103591,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':Qt(_0x103591,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x31c75c['IconAIOther'],'actions':[]}];return _0x87cf14;}(_0x1f8d66);}async['_getDefaultAndCustomActions'](){const _0x30f7ac=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x51ac29=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x1ce6ca,_0x98b679=[];try{const _0x4b3df5=new _0x16c87e({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']});_0x98b679=await _0x4b3df5['getAll'](),_0x1ce6ca=(await _0x4b3df5['getDefault']())?.['id'];}catch(_0x5db302){const _0x615778=new _0x31c75c['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x5db302});_0x31c75c['logError'](_0x615778['message']);}finally{const _0x5dd165=_0x51ac29['map'](_0x3975ce=>({..._0x3975ce,'type':'chat'===_0x3975ce['type']?'chat':'action','model':'chat'!==_0x3975ce['type']?_0x3975ce['model']||_0x1ce6ca:_0x3975ce['model'],'icon':void 0x0}));_0x30f7ac['find'](_0x437776=>'other'===_0x437776['id'])['actions']['push'](..._0x5dd165),_0x30f7ac['forEach'](_0x4b871d=>{if('actions'in _0x4b871d)_0x4b871d['actions']['forEach'](_0x105fc8=>{if(_0x105fc8['isEnabled']=!!_0x98b679['find'](_0x52cc48=>_0x52cc48['id']===_0x105fc8['model'])||void 0x0===_0x105fc8['model'],!_0x105fc8['isEnabled']){const _0x1e9cd3=new _0x31c75c['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x105fc8['id'],'modelId':_0x105fc8['model']});_0x31c75c['logError'](_0x1e9cd3['message']);}});else{if(_0x4b871d['isEnabled']=!!_0x98b679['find'](_0x5df676=>_0x5df676['id']===_0x4b871d['model'])||void 0x0===_0x4b871d['model'],!_0x4b871d['isEnabled']){const _0x301cbd=new _0x31c75c['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x4b871d['id'],'modelId':_0x4b871d['model']});_0x31c75c['logError'](_0x301cbd['message']);}}});}return _0x30f7ac;}['_initializeQuickActionsComponentsAndCommands'](){const _0x2529a8=new _0x31c75c['BodyCollection'](this['editor']['locale']);_0x2529a8['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x2529a8),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x2529a8);}['_initializeQuickActionsDropdown'](_0x3d9f08){const _0x4b415f=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',_0x2d5f9b({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x31c75c['IconAIQuickActions'],'label':Qt(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x3d9f08,'hasSearch':_0x4b415f}));}['_prepareQuickActionsDefinition'](_0x2d11a0){this['_quickActionsDefinition']=_0x2d11a0['map'](_0xf70fd0=>{if('actions'in _0xf70fd0){const _0x6c3334=_0xf70fd0;return{..._0x6c3334,'actions':_0x6c3334['actions']['map'](_0x4a7c5a=>{const {actions:_0x213582,..._0x12d479}=_0x6c3334;return{..._0x4a7c5a,'parent':_0x12d479};})['filter'](_0x35db28=>this['_shouldIncludeAction'](_0x35db28))};}return _0xf70fd0;})['filter'](_0x1ce1c4=>'actions'in _0x1ce1c4?_0x1ce1c4['actions']['length']>0x0:this['_shouldIncludeAction'](_0x1ce1c4));}['_shouldIncludeAction'](_0x35cc16){const _0x1536e2=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](_0x127707[_0x35cc16['type']])&&!_0x1536e2['includes'](_0x35cc16['id'])&&!('chat'===_0x35cc16['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x42bf67){this['_quickActionsDefinition']['forEach'](_0x16db74=>{if('actions'in _0x16db74){const _0x43e02f=_0x2d5f9b({'editor':this['editor'],'content':_0x16db74['actions'],'buttonDefinition':_0x16db74,'bodyCollection':_0x42bf67});this['editor']['ui']['componentFactory']['add'](_0x16db74['id'],_0x43e02f),_0x16db74['actions']['forEach'](_0x5ee87a=>{const _0x98e688=_0x383a22({'editor':this['editor'],'action':_0x5ee87a});this['editor']['ui']['componentFactory']['add'](_0x5ee87a['id'],_0x98e688);});}else{const _0x2acbdb=_0x383a22({'editor':this['editor'],'action':_0x16db74,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x16db74['id'],_0x2acbdb);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x4cfb2c=>{const _0x396bae=this['editor']['commands']['get']('aiQuickAction'),_0x48322d=new _0x31c75c['MenuBarMenuView'](_0x4cfb2c),_0x4f9da1=Qt(_0x4cfb2c,'AI_QUICK_ACTIONS_HEADING');_0x48322d['buttonView']['set']({'label':_0x4f9da1,'icon':_0x31c75c['IconAIQuickActions']});const _0x247875=new _0x31c75c['MenuBarMenuListView'](_0x4cfb2c);return _0x247875['set']({'ariaLabel':_0x4f9da1,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x16463d=>{if('actions'in _0x16463d){const _0x1b4a0d=_0x16463d,_0x1530b2=new _0x31c75c['MenuBarMenuListItemView'](_0x4cfb2c,_0x48322d),_0x4ce105=new _0x31c75c['MenuBarMenuView'](_0x4cfb2c),_0x3b754e=new _0x31c75c['MenuBarMenuListView'](_0x4cfb2c);_0x4ce105['buttonView']['set']({'label':_0x1b4a0d['label'],'icon':_0x1b4a0d['icon']}),_0x1b4a0d['actions']['forEach'](_0x226011=>{const _0x219c1d=new _0x31c75c['MenuBarMenuListItemView'](_0x4cfb2c,_0x4ce105),_0x3a5130=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x4cfb2c);_0x3a5130['set']({'label':_0x226011['label'],'icon':_0x226011['icon'],'role':'menuitem','isEnabled':_0x226011['isEnabled']}),_0x3a5130['on']('execute',()=>{this['_executeQuickAction'](_0x226011);}),_0x3a5130['delegate']('execute')['to'](_0x4ce105),_0x219c1d['children']['add'](_0x3a5130),_0x3b754e['items']['add'](_0x219c1d);}),_0x4ce105['panelView']['children']['add'](_0x3b754e),_0x1530b2['children']['add'](_0x4ce105),_0x247875['items']['add'](_0x1530b2);}else{const _0x29cfc9=_0x16463d,_0x4c6be5=new _0x31c75c['MenuBarMenuListItemView'](_0x4cfb2c,_0x48322d),_0x59b5e9=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x4cfb2c);_0x59b5e9['set']({'label':_0x29cfc9['label'],'icon':_0x29cfc9['icon'],'role':'menuitem','isEnabled':_0x29cfc9['isEnabled']}),_0x59b5e9['on']('execute',()=>{this['_executeQuickAction'](_0x29cfc9);}),_0x59b5e9['delegate']('execute')['to'](_0x48322d),_0x4c6be5['children']['add'](_0x59b5e9),_0x247875['items']['add'](_0x4c6be5);}}),(Object['values'](_0x127707)['some'](_0x477b56=>this['editor']['plugins']['has'](_0x477b56))?_0x48322d['bind']('isEnabled')['to'](_0x396bae):_0x48322d['set']({'isEnabled':!0x1}),_0x48322d['panelView']['children']['add'](_0x247875),_0x48322d);});}['_executeQuickAction'](_0x9cec7a){const _0x552fea=this['editor'];_0x552fea['editing']['view']['focus'](),_0x552fea['commands']['execute']('aiQuickAction',_0x9cec7a);const _0x3ff1c0=_0x552fea['ui']['view']['menuBarView'];_0x3ff1c0&&_0x3ff1c0['close']&&_0x3ff1c0['close']();}}class AIQuickActionsCommand extends _0x31c75c['Command']{['execute'](_0x23cb2b){switch(this['_expandSelectionIfCollapsed'](),_0x23cb2b['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x54a27f=Qt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x31c75c['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x54a27f});}this['_handleAIChatAction'](_0x23cb2b);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x2a33b1=Qt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x31c75c['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x2a33b1});}this['_handleAIActionsAction'](_0x23cb2b);}}async['_handleAIChatAction'](_0xe86f21){const _0x5af28c=this['editor']['plugins']['get']('AIChatController'),_0x2af25e=this['editor']['plugins']['get']('AITabs')['view'];if(_0x2af25e['isVisible']||(_0x2af25e['isVisible']=!0x0),'chat'!==_0x2af25e['activeTab']&&_0x2af25e['activateTab']('chat'),'ask-ai'===_0xe86f21['id'])_0x5af28c['removeSelectionFromChatContext'](),_0x5af28c['addSelectionToChatContext'](),_0x5af28c['focusPromptInput']();else await _0x5af28c['startConversation']({'modelId':_0xe86f21['model']}),_0x5af28c['removeSelectionFromChatContext'](),_0x5af28c['addSelectionToChatContext'](),_0x5af28c['focusPromptInput'](),await _0x5af28c['sendMessage']({'message':_0xe86f21['prompt']||_0xe86f21['displayedPrompt']||_0xe86f21['label'],'attributes':{'quickActionData':{'id':_0xe86f21['id']},'displayedPrompt':_0xe86f21['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x2cf9b5=this['editor'],_0x51dd43=_0x2cf9b5['model']['document']['selection'];if(!_0x51dd43['isCollapsed'])return;const _0x25b0bf=_0x31c75c['first'](_0x51dd43['getSelectedBlocks']())||_0x2cf9b5['model']['schema']['getLimitElement'](_0x51dd43);_0x2cf9b5['model']['change'](_0x5af630=>{_0x5af630['setSelection'](_0x25b0bf,'in');});}['_handleAIActionsActionLabel'](_0x1e838c){return _0x1e838c['parent']?.['label']&&'other'!==_0x1e838c['parent']?.['id']?_0x1e838c['parent']['label']+':\x20'+_0x1e838c['label']:_0x1e838c['label'];}async['_handleAIActionsAction'](_0x1b4d77){const _0x5eecd4=this['editor']['plugins']['get']('AIActions'),_0x5d95fd=_0x1b4d77['prompt']?{'userMessage':_0x1b4d77['prompt'],'model':_0x1b4d77['model']}:{'actionName':_0x1b4d77['actionName']||_0x1b4d77['id'],'args':_0x1b4d77['args']},_0x31b160=this['_handleAIActionsActionLabel'](_0x1b4d77);await _0x5eecd4['executeAction'](_0x5d95fd,_0x31b160,_0x1b4d77['icon']);}}class AIQuickActionsEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49b515=this['editor'],_0x734b36=new AIQuickActionsCommand(this['editor']);if(_0x49b515['commands']['add']('aiQuickAction',_0x734b36),_0x49b515['plugins']['has']('AIChat')){const _0x4f7f97=this['editor']['plugins']['get']('AIChatController');_0x49b515['model']['document']['selection']['on']('change:range',(_0x1230dd,_0x5e24c1)=>{_0x5e24c1['directChange']&&_0x4f7f97['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x5786de{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x27c182=_0x9c2579(this['documentContextContent']['children']['map'](_0x41412c=>({'node':_0x41412c,'id':_0x55051d(_0x41412c,'data-id')})),this['parsedMergedContent']['children']['map'](_0x12bd00=>({'node':_0x12bd00,'id':_0x55051d(_0x12bd00,'data-id')||_0x31c75c['uid']()})),{'comparator':(_0x44b12a,_0x1de00f)=>_0x44b12a['id']==_0x1de00f['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x27c182['length']&&_0x27c182[_0x27c182['length']-0x1]['removed'];)_0x27c182['pop']();}const _0x2c3652=_0x27c182['map'](_0x1428d5=>{const _0x277dfb=_0x1428d5['added']?'new':_0x1428d5['removed']?'removed':'modified';return{'node':_0x1428d5['value'][0x0]['node'],'type':_0x277dfb,'id':_0x1428d5['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x2c3652,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x3d8e4c,_0x4ddf1e){return _0x4ddf1e;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x2f7415){super(_0x2f7415),this['content']=_0x2f7415['content'],this['version']=_0x2f7415['version'],this['actionName']=_0x2f7415['actionName'],this['args']=_0x2f7415['args'],this['userMessage']=_0x2f7415['userMessage'],this['model']=_0x2f7415['model'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}async['sendRequest'](){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html'});}['getDocumentContext'](){return{'type':'text','content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x262742){const _0x302c3e=new AIActionsReply({'locale':this['locale'],'documentContextContent':this['content'],..._0x262742});return this['replies']['push'](_0x302c3e),_0x302c3e['delegate'](..._0x309438)['to'](this),this['fire']('replyCreated',_0x302c3e),_0x302c3e;}}class AIActionsBalloonToolbarView extends _0x31c75c['ToolbarView']{constructor(_0x138a8b,_0x6181ac=!0x0,_0x387d6a=!0x0){super(_0x138a8b),this['set']('isEnabled',!0x1),_0x6181ac&&(this['applyButton']=this['_createButton'](Qt(_0x138a8b,'AI_BALLOON_APPLY_BUTTON'),Vt),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x387d6a&&(this['suggestButton']=this['_createButton'](Qt(_0x138a8b,'AI_BALLOON_SUGGEST_BUTTON'),_0x6181ac?Ut:Vt),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x6181ac,'showSuggestButton':_0x387d6a}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x5e37a9,showSuggestButton:_0x35cf64}){this['applyButton']&&(this['applyButton']['isVisible']=_0x5e37a9),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x35cf64);}['_createButton'](_0x2c5765,_0xa252e2){const _0xed0cc8=new _0x31c75c['ButtonView'](this['locale']);return _0xed0cc8['set']({'label':_0x2c5765,'class':_0xa252e2,'isVisible':!0x0,'withText':!0x0}),_0xed0cc8;}}class AIActionsBalloonDisclaimerView extends _0x31c75c['View']{constructor(_0x2f6b82){super(_0x2f6b82),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':Qt(_0x2f6b82,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0x31c75c['View']{constructor(_0x434d9b){super(_0x434d9b),this['set']('isVisible',!0x0);const _0x5146d0=new _0x31dcda('small');_0x5146d0['isVisible']=!0x0;const _0x3bf10d=new _0x31c75c['View'](this['locale']);_0x3bf10d['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[Qt(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x2ba902=>!_0x2ba902)]},'children':[_0x5146d0,_0x3bf10d]});}}class AIActionsBalloonView extends _0x3b524e{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x4ab718,_0x25d433){super(_0x4ab718),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x25d433,this['_focusTracker']=new _0x31c75c['FocusTracker'](),this['_keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0x31c75c['ViewCollection'](),this['_addContentWrapper'](_0x25d433),this['_addDisclaimerView'](),this['_addToolbar'](_0x25d433),this['_focusables']['clear'](),this['_focusables']['addMany']([this['_toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-main']},'children':this['_dialogContent']}),this['on']('change:isTrackChangesOn',()=>{this['_toggleToolbarButtonsVisibility'](_0x25d433);});}['render'](){super['render']();for(const _0x189a18 of this['_focusables'])this['_focusTracker']['add'](_0x189a18['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x3da06d){-0x1===_0x3da06d?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x56568e){this['_isLoading']=_0x56568e;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x49063c){super['showError'](_0x49063c),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0xa03298){super['showBlockingError'](_0xa03298),this['setErrorState']();}['addMiniToolbarItem'](_0x1d40b7){this['_miniToolbarView']['items']['has'](_0x1d40b7)||this['_miniToolbarView']['items']['add'](_0x1d40b7);}['removeMiniToolbarItem'](_0x3f5c60){this['_miniToolbarView']['items']['has'](_0x3f5c60)&&this['_miniToolbarView']['items']['remove'](_0x3f5c60);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x4ce91e,showSuggestButton:_0x3fe2f9}){_0x4ce91e=_0x4ce91e&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3fe2f9=_0x3fe2f9&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x4ce91e,'showSuggestButton':_0x3fe2f9});}async['updateContent'](_0x56122f){await this['_streamableContentView']['update'](_0x56122f);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x558495){this['_contentWrapper']=new _0x31c75c['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x558495['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x410b29,showSuggestButton:_0x54ac86}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x410b29,_0x54ac86),this['_toolbarView']['applyButton']?.['on']('execute',()=>{this['fire']('applySuggestion');}),this['_toolbarView']['suggestButton']?.['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_toolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',this,'_hasError',(_0x16522f,_0xafa626,_0x1ce7c3)=>!(_0x16522f||_0xafa626||_0x1ce7c3)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x410b29,'showSuggestButton':_0x54ac86}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x3839b7){return this['_miniToolbarView']=new _0x3fcd3f(this['locale'],_0x3839b7),this['_miniToolbarView']['delegate'](..._0x2dbc56)['to'](this),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['_miniToolbarView']['isShowChangesOn']=!this['_miniToolbarView']['isShowChangesOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':this['_miniToolbarView']['isShowChangesOn']});}),this['_miniToolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',(_0x370f3d,_0x1f0360)=>!(_0x370f3d||_0x1f0360)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new AISuggestionLoaderView(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new AISuggestionStreamableContentView(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x295b59=new _0x31c75c['ButtonView'](this['locale']),_0x3c7a33=new _0x31c75c['ButtonView'](this['locale']),_0x54b0b0=new AIActionsBalloonNavigationCounterView(this['locale']),_0x14a3db=new _0x31c75c['ButtonView'](this['locale']);_0x295b59['set']({'icon':_0x31c75c['IconRefresh'],'label':Qt(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+Bt}),_0x3c7a33['set']({'icon':_0x31c75c['IconPreviousArrow'],'tooltip':Qt(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+Bt}),_0x14a3db['set']({'icon':_0x31c75c['IconNextArrow'],'tooltip':Qt(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+Bt}),_0x295b59['bind']('isEnabled')['to'](this,'isBusy',_0x9bb600=>!_0x9bb600),_0x295b59['on']('execute',()=>{this['fire']('tryAgain');}),_0x3c7a33['bind']('isEnabled')['to'](this,'isBusy',_0x3a6355=>!_0x3a6355),_0x3c7a33['on']('execute',()=>{this['fire']('showPrevious');}),_0x14a3db['bind']('isEnabled')['to'](this,'isBusy',_0x460e01=>!_0x460e01),_0x14a3db['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x3c7a33,this['_navigationCounter']=_0x54b0b0,this['_navigationNextButton']=_0x14a3db,this['_navigationTryAgainButton']=_0x295b59;}['updateMiniToolbarButtons'](_0x2881f2,_0x4d118f){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x41def6=_0x2881f2>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x41def6){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x3eaed7=_0x2881f2-_0x4d118f;this['_navigationCounter']['setInteractionCount'](_0x3eaed7+'/'+_0x2881f2),this['_navigationPreviousButton']['isEnabled']=_0x4d118f<_0x2881f2-0x1,this['_navigationNextButton']['isEnabled']=_0x4d118f>0x0;}else this['removeMiniToolbarItem'](this['_navigationPreviousButton']),this['removeMiniToolbarItem'](this['_navigationCounter']),this['removeMiniToolbarItem'](this['_navigationNextButton']);}['disableMiniToolbarButtons'](){this['_navigationTryAgainButton']['isEnabled']=!0x1,this['_navigationPreviousButton']['isEnabled']=!0x1,this['_navigationNextButton']['isEnabled']=!0x1;}['startAutoScroll'](){this['_initializeScrollManager'](),this['_scrollManager']&&this['_scrollManager']['start']();}['stopAutoScroll'](){this['_scrollManager']&&this['_scrollManager']['stop']();}['toggleIsLoading'](_0x328568){this['_isLoading']=_0x328568;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0xc37b1b=this['_getScrollableElement']();_0xc37b1b&&!this['_scrollManager']&&(this['_scrollManager']=new _0x5e21bc(_0xc37b1b));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0x31c75c['View']{constructor(_0x29940c){super(_0x29940c);const _0xb260d4=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0xb260d4['to']('interactionCount')}]});}['setInteractionCount'](_0x25f31d){this['set']('interactionCount',_0x25f31d);}}class AIActions extends _0x31c75c['Plugin']{static get['requires'](){return[AIConnector,_0x31c75c['Dialog'],AIEditing,_0x5a333d,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];['_bodyCollection'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];constructor(_0x5865f8){super(_0x5865f8),this['_bodyCollection']=new _0x31c75c['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x4138b2();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x5a9eac,_0x4df387,_0x12d363){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x4ec468,anchorData:_0x301dac,root:_0x3bfb91}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x5a9eac,_0x4ec468,_0x301dac,_0x3bfb91,_0x4df387,_0x12d363);}}const {modelFragment:_0x4b0c90,anchorData:_0x489ffa,root:_0x4f1905}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x5a9eac,_0x4b0c90,_0x489ffa,_0x4f1905,_0x4df387,_0x12d363);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x333e73=this['editor']['plugins']['has']('TrackChanges');let _0x489832=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x2d963f];_0x333e73||(_0x489832=_0x489832['filter'](_0x201815=>'insertSuggestion'!=_0x201815));const _0x5a8995=this['editor']['commands']['get']('trackChanges'),_0x452f35=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x333e73,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x489832});return _0x452f35['bind']('isBusy')['to'](this),_0x5a8995&&_0x452f35['bind']('isTrackChangesOn')['to'](_0x5a8995,'value'),_0x452f35['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x452f35['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x452f35['on']('showNext',()=>{this['_navigateToNext']();}),_0x452f35;}['_getExecuteDataRegular'](){const _0x4c9308=this['editor']['model']['document']['selection'],_0x5df82f=_0x4c9308['getFirstRange']()['start']['root'];if(_0x4c9308['isCollapsed']){const _0x5a8173=_0x31c75c['first'](_0x4c9308['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x4c9308);this['editor']['model']['change'](_0x4d719c=>{_0x4d719c['setSelection'](_0x5a8173,'in');});}const _0x5b8b98=_0x4c9308['getFirstRange'](),_0x1c44df=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x4c9308),_0x5b8b98['start'],_0x5b8b98['end']);this['_copyMarkersToFragment'](_0x1c44df,_0x4c9308,{'isTableSelection':!0x1});const _0x4e6c1b=_0x4c9308['getFirstRange']()['start'],_0x46f5c1=new Map();let _0x2813fc=_0x1c44df;for(let _0x5c6bc8=0x0;_0x5c6bc8<_0x4e6c1b['path']['length'];_0x5c6bc8++)_0x46f5c1['set'](_0x2813fc,_0x4e6c1b['path'][_0x5c6bc8]),_0x2813fc=_0x2813fc['getChild'](0x0);return{'modelFragment':_0x1c44df,'anchorData':_0x46f5c1,'root':_0x5df82f};}['_getExecuteDataInTable'](){const _0x2ea436=this['editor']['model']['document']['selection'],_0x1c577d=this['editor']['plugins']['get']('TableSelection'),_0x573590=_0x2ea436['getFirstRange']()['start']['root'],_0x326e43=_0x1c577d['getSelectionAsFragment'](),_0x545110=_0x2ea436['getFirstRange']()['start']['parent']['parent'],_0x228537=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x545110),this['editor']['model']['createPositionAfter'](_0x545110)),_0x4586ea=this['_wrapWithCommonAncestors'](_0x326e43,_0x228537['start'],_0x228537['end']);this['_copyMarkersToFragment'](_0x4586ea,_0x2ea436,{'isTableSelection':!0x0});const _0x913f26=_0x2ea436['getFirstRange']()['start'],_0x40f404=new Map();let _0x4a31f2=_0x4586ea;for(let _0x35b810=0x0;_0x35b810<_0x913f26['path']['length'];_0x35b810++)if(_0x40f404['set'](_0x4a31f2,_0x913f26['path'][_0x35b810]),_0x35b810<_0x913f26['path']['length']-0x1)_0x4a31f2=_0x4a31f2['getChild'](0x0);else{let _0x54a1c5=_0x4a31f2['nextSibling'];for(;_0x54a1c5;)_0x40f404['set'](_0x54a1c5,_0x913f26['path'][_0x35b810]),_0x54a1c5=_0x54a1c5['nextSibling'];}return{'modelFragment':_0x4586ea,'anchorData':_0x40f404,'root':_0x573590};}async['_executeAction'](_0xa6824d,_0x3b0ba9,_0x454fb6,_0x245178,_0x584b76,_0x2f468f){const _0x84537=this['editor']['plugins']['get'](AIEditing),_0x50c22c=this['editor']['plugins']['get'](_0x5a333d),_0x43ab24=this['editor']['model']['document']['selection'],_0x348514=await _0x84537['modelToDataWithIds'](_0x3b0ba9),_0x22bfce=this['editor']['model']['document']['version'],_0x3eb727=[..._0x43ab24['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x50c22c['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x584b76,'icon':_0x2f468f||_0x31c75c['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x3eb727,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x50c22c),this['_interactionParams']={'action':_0xa6824d,'content':_0x348514,'version':_0x22bfce,'aiBalloon':_0x50c22c,'modelFragment':_0x3b0ba9,'anchorData':_0x454fb6,'root':_0x245178},this['_setupApplyListeners'](),this['listenTo'](_0x50c22c,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x50c22c,'dialogClosed',(_0x2a01e9,{id:_0x4e061e})=>{if('aiActionsBalloon'===_0x4e061e){for(const _0x2871b2 of this['_interactions']){if(0x0===_0x2871b2['replies']['length']||_0x2871b2['stoppedExplicitly'])continue;const _0x4bed39=_0x2871b2['replies'][_0x2871b2['replies']['length']-0x1],_0x2d07cb=_0x4bed39['changeGroups'][0x0];_0x2d07cb&&'pending'===_0x2d07cb['state']&&_0x4bed39['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x50c22c);}}),this['_createInteraction'](_0x348514,_0x22bfce,_0x50c22c,_0xa6824d);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x4532de,anchorData:_0x53feca,root:_0x241838}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x4532de,_0x53feca,_0x241838,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x4532de,_0x53feca,_0x241838,!0x0);});}['_wrapWithCommonAncestors'](_0x447dff,_0x51a355,_0x10d755){const _0x567d28=this['editor']['model']['createRange'](_0x51a355,_0x10d755)['getCommonAncestor'](),_0x5909c3=_0x567d28['is']('documentFragment')?[]:_0x567d28['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x5909c3['length']){const _0x49c36a=_0x5909c3['map'](_0x5e1d54=>_0x5e1d54['_clone'](!0x1));for(let _0x3f8962=0x1;_0x3f8962<_0x49c36a['length'];_0x3f8962++)_0x49c36a[_0x3f8962-0x1]['_appendChild'](_0x49c36a[_0x3f8962]);return _0x49c36a[_0x49c36a['length']-0x1]['_appendChild'](_0x447dff),new _0x31c75c['ModelDocumentFragment'](_0x49c36a[0x0]);}return _0x447dff;}['_copyMarkersToFragment'](_0x3d422e,_0xcd7e22,_0x5c4250={'isTableSelection':!0x1}){const _0x17ce5b=this['editor']['model'],_0x2c01c0=Array['from'](_0xcd7e22['getRanges']()),_0x1621c1=_0xcd7e22['getFirstRange']()['start'];for(const _0x2a39cf of _0x17ce5b['markers']){if(_0x2a39cf['name']['startsWith'](_0x2278f4)||!_0x2a39cf['affectsData'])continue;const _0x468d6c=_0x2a39cf['getRange']();if(!_0x2c01c0['some'](_0x528a20=>_0x528a20['containsRange'](_0x468d6c,!0x0)))continue;const _0x20ac9f=this['_regularCalculateMarkerPath'](_0x468d6c['start'],_0x1621c1,_0x5c4250['isTableSelection']),_0x1d64c3=this['_regularCalculateMarkerPath'](_0x468d6c['end'],_0x1621c1,_0x5c4250['isTableSelection']),_0x216d2c=_0x17ce5b['createPositionFromPath'](_0x3d422e,_0x20ac9f),_0x58b0b9=_0x17ce5b['createPositionFromPath'](_0x3d422e,_0x1d64c3);if(!_0x216d2c['isEqual'](_0x58b0b9)){const _0x22cac6=_0x17ce5b['createRange'](_0x216d2c,_0x58b0b9);_0x3d422e['markers']['set'](_0x2a39cf['name'],_0x22cac6);}}}['_regularCalculateMarkerPath'](_0x9c681b,_0xd35e36,_0x58d938=!0x1){const _0x2bae7f=[..._0x9c681b['path']['slice']()];for(let _0x230fd8=0x0;_0x230fd8<Math['max'](_0xd35e36['path']['length'],_0x9c681b['path']['length']);_0x230fd8++){const _0x465209=_0xd35e36['path'][_0x230fd8]||0x0,_0x44c2ef=(_0x9c681b['path'][_0x230fd8]||0x0)-_0x465209;if(_0x2bae7f[_0x230fd8]=_0x44c2ef,0x0!==_0x44c2ef&&!_0x58d938)break;}return _0x2bae7f;}async['_createInteraction'](_0x4fe0b2,_0x29e857,_0xf637db,_0x17bdc4){const _0xe2fbb1=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x17bdc4,'content':_0x4fe0b2,'version':_0x29e857,'aiBalloon':_0xf637db,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':this['editor']['model']['document']['selection']['getFirstRange']()['start']['root']});const _0x298ed9=new AIActionsInteraction({'connector':this['_aiConnector'],'locale':_0xe2fbb1['locale'],'content':_0x4fe0b2,'version':_0x29e857,..._0x17bdc4});this['_interactions']['push'](_0x298ed9);const _0x49692e=(_0x25196f,_0x4cba2e=!0x1,_0x3e4e57='streaming')=>this['_promiseQueue']['enqueue'](async _0x93bcf7=>{try{const _0x1ffc6a=_0x30edc5({'editor':_0xe2fbb1,'changeGroups':_0x25196f['changeGroups'],'documentContextContent':_0x25196f['documentContextContent'],'showDiff':_0x4cba2e,'trimUnchanged':!0x1});_0x1ffc6a['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x1ffc6a[0x0],'renderingStrategy':_0x3e4e57,'abortSignal':_0x93bcf7});}catch(_0x52ab26){if(this['_isAbortError'](_0x52ab26))return;throw _0x52ab26;}});_0x298ed9['on']('replyCreated',(_0x4f456b,_0x38475a)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x49692e(_0x38475a)['catch'](_0x131a9f=>{this['_isAbortError'](_0x131a9f)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x131a9f),this['_setErrorState'](_0x298ed9));});}),_0x298ed9['on']('replyContentUpdated',(_0x122932,_0x39938f)=>{_0x49692e(_0x39938f)['catch'](_0x1fc46f=>{this['_isAbortError'](_0x1fc46f)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x1fc46f),this['_setErrorState'](_0x298ed9));});}),_0x298ed9['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0xe3355d){this['_isAbortError'](_0xe3355d)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0xe3355d),this['_setErrorState'](_0x298ed9));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x5f4cad,{showDiff:_0x429937})=>{try{this['_balloonShowDiff']=_0x429937;const _0x4a9cbf=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x4a9cbf&&await _0x49692e(_0x4a9cbf,_0x429937,'static');}catch(_0x596d82){this['_isAbortError'](_0x596d82)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x596d82),this['_setErrorState'](_0x298ed9));}}),_0x298ed9['on']('replyChangeGroupStateUpdated',()=>{const _0x3892e0={'positiveCount':_0x298ed9['replies']['reduce']((_0xf43ab4,_0x4308b8)=>_0xf43ab4+_0x4308b8['changeGroups']['filter'](_0x1f2450=>'accepted'===_0x1f2450['state'])['length'],0x0),'totalCount':_0x298ed9['replies']['reduce']((_0x428c02,_0x2114b1)=>_0x428c02+_0x2114b1['changeGroups']['length'],0x0)},_0x254b63=_0x298ed9['actionCallId'],_0x11f697=_0x298ed9['actionName'];_0x11f697?this['_aiConnector']['upsertAIActionRating'](_0x11f697,_0x254b63,_0x3892e0):this['_aiConnector']['upsertCustomAIActionRating'](_0x254b63,_0x3892e0);}),this['_setLoadingState']();try{const _0x524bdc=await _0x298ed9['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x524bdc;}catch(_0x596794){if(this['_isAbortError'](_0x596794))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x298ed9);}}['_applyChanges'](_0x3a462a,_0x1863cb,_0x56076e,_0x4dc789){const _0x3d5f40=this['editor'];if(_0x4dc789&&!_0x3d5f40['plugins']['has']('TrackChanges'))throw new _0x31c75c['CKEditorError']('ai-no-track-changes',null);const _0x39d9ba=this['editor']['plugins']['get'](DocumentCompare),_0x5da8f2=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x5da8f2||!_0x5da8f2['replies']['length'])return;const _0x1e69e6=_0x5da8f2['replies'][_0x5da8f2['replies']['length']-0x1],_0x8131a9=_0x1e69e6['changeGroups'];_0x1e69e6['setChangeGroupState'](0x0,'accepted');let _0x322e49=_0x113953({'editor':_0x3d5f40,'reply':_0x1e69e6,'interaction':_0x5da8f2,'groups':_0x8131a9,'transform':!0x1,'documentCompare':_0x39d9ba,'documentCompareOptions':{'anchor':_0x3d5f40['model']['createPositionAt'](_0x3a462a,0x0),'markDeletions':_0x4dc789}});_0x322e49=this['_filterOperationsOutsideRange'](_0x322e49,_0x1863cb);for(const _0x5d72fd of _0x322e49)this['_anchorOperation'](_0x1863cb,_0x5d72fd,_0x56076e);const _0x153429=_0x5da8f2['getDocumentContext']()['version'],_0x252ce3=_0x3d5f40['model']['document']['history']['getOperations'](_0x153429),_0x4cb681={'document':_0x3d5f40['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3778fc=_0x31c75c['transformOperationSets'](_0x322e49,_0x252ce3,_0x4cb681)['operationsA'];_0x3d5f40['model']['change'](_0xfaaed5=>{if(_0xfaaed5['setSelection'](_0x3d5f40['model']['document']['selection']['focus']),_0x4dc789)_0x3d5f40['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x3778fc);else{for(const _0x4cca8c of _0x3778fc)_0x4cca8c['baseVersion']=_0x3d5f40['model']['document']['version'],_0x4effd7(_0x3d5f40,_0x4cca8c),_0xfaaed5['batch']['addOperation'](_0x4cca8c),_0x3d5f40['model']['applyOperation'](_0x4cca8c);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x43466d,_0x29ea88){return _0x43466d['filter'](_0x3d3f48=>{if('rename'==_0x3d3f48['type']){const _0x1c1137=_0x3d3f48['position']['nodeAfter'];return!_0x29ea88['has'](_0x1c1137);}if(_0x3d3f48['type']['indexOf']('Attribute')>-0x1){const _0x183099=_0x3d3f48['range']['start']['nodeAfter'];return!_0x29ea88['has'](_0x183099);}return!0x0;});}['_anchorOperation'](_0x4ffaa4,_0x4c110c,_0x4b3f07){const _0x4fb31b=_0x4c110c['clone']();for(const _0x15b004 in _0x4c110c){const _0x4219e1=_0x4c110c[_0x15b004];_0x4219e1 instanceof _0x31c75c['ModelRange']?_0x4c110c[_0x15b004]=new _0x31c75c['ModelRange'](_0x343ac6(_0x4219e1['start']),_0x343ac6(_0x4219e1['end'])):_0x4219e1 instanceof _0x31c75c['ModelPosition']&&(_0x4c110c[_0x15b004]=_0x343ac6(_0x4219e1));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x4fb31b['type'])){if(_0x4fb31b['isDocumentOperation']=!0x1,_0x4fb31b['baseVersion']=null,'remove'==_0x4fb31b['type']){const _0x54177f=_0x4fb31b['sourcePosition'],_0x279176=_0x4fb31b['howMany'];new _0x31c75c['_DetachOperation'](_0x54177f,_0x279176)['_execute']();}else _0x4fb31b['_execute']();}function _0x343ac6(_0x3fc341){if('$graveyard'==_0x3fc341['root']['rootName'])return _0x3fc341;const _0x32e56d=[];let _0x43b0c0=_0x3fc341['root'];for(let _0x48354d=0x0;_0x48354d<_0x3fc341['path']['length'];_0x48354d++){const _0x16194b=_0x4ffaa4['get'](_0x43b0c0)||0x0;_0x32e56d[_0x48354d]=_0x3fc341['path'][_0x48354d]+_0x16194b,_0x43b0c0=_0x43b0c0['getChildAtOffset'](_0x3fc341['path'][_0x48354d]);}return new _0x31c75c['ModelPosition'](_0x4b3f07,_0x32e56d,_0x3fc341['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x482bc6,content:_0x3ac0da,version:_0x2218ab,aiBalloon:_0x36c387}=this['_interactionParams'];this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),this['_actionsBalloonView']['showLoader'](),this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),this['stopListening'](this['_actionsBalloonView']),this['_setupApplyListeners'](),this['_createInteraction'](_0x3ac0da,_0x2218ab,_0x36c387,_0x482bc6)['catch'](_0x8a969b=>{this['_isAbortError'](_0x8a969b)||console['error']('Error\x20refreshing\x20interaction:',_0x8a969b);});}['_isAbortError'](_0x412638){return!!_0x412638['message']&&_0x412638['message']['startsWith']('ai-request-aborted');}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}['_navigateToPrevious'](){const _0x4e2ea8=this['_interactions']['length'];this['_currentInteractionIndex']<_0x4e2ea8-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x4920ea){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x4920ea;const _0x2f9329=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x2f9329)return;if(_0x2f9329['hasError'])return this['_setErrorState'](_0x2f9329),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x2f9329['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x3ba636=_0x2f9329['replies'][_0x2f9329['replies']['length']-0x1];if(_0x3ba636){const _0xc0113d=this['editor'];try{const _0xe9973c=_0x30edc5({'editor':_0xc0113d,'changeGroups':_0x3ba636['changeGroups'],'documentContextContent':_0x3ba636['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x319870=>setTimeout(_0x319870,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0xe9973c[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x2df76a){this['_isAbortError'](_0x2df76a)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x2df76a);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x2551c2){const _0x38d84b=Qt(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x38d84b),_0x2551c2['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],this['_actionsBalloonView']['setErrorState'](),this['_actionsBalloonView']['toggleIsLoading'](!0x0);}['_clearErrorState'](){this['_actionsBalloonView']['hideError'](),this['_actionsBalloonView']['toggleIsLoading'](!0x1);}async['_clearLoadingState'](){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,this['_actionsBalloonView']['setIsLoading'](!0x1);}}class AIQuickActions extends _0x31c75c['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x430d05){super(_0x430d05),_0x430d05['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0x31c75c['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x54efa4,_0x218d4d){super(_0x54efa4),this['id']=_0x218d4d,this['set']('status','pending'),this['set']('changeId',_0x218d4d),this['resultResponseView']=this['_createResultResponseView'](),this['acceptButtonView']=this['_createAcceptButtonView'](),this['dismissButtonView']=this['_createDismissButtonView'](),this['infoButtonView']=this['_createInfoButtonView'](),this['outdatedButtonView']=this['_createOutdatedButtonView'](),this['set']('isInfoToggleOn',!0x1),this['set']('isActive',!0x1),this['set']('showDiff',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-result',this['bindTemplate']['if']('isActive','ck-ai_review__check-run-result_active')]},'on':{'click':this['bindTemplate']['to']('click'),'mouseover':this['bindTemplate']['to']('mouseover'),'mouseout':this['bindTemplate']['to']('mouseout')},'children':[this['resultResponseView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-footer']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-action-buttons']},'children':[this['acceptButtonView'],this['dismissButtonView'],this['outdatedButtonView']]},this['infoButtonView']]}]}),this['on']('click',(_0x5c056d,_0x240554)=>{_0x240554&&_0x240554['target']&&'A'===_0x240554['target']['tagName']&&_0x240554['preventDefault'](),this['fire']('activateChange',{'id':_0x218d4d,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x218d4d,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x218d4d,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x3be9a8=new _0x31c75c['View'](this['locale']);return _0x3be9a8['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai_review__check-run-result-response',this['bindTemplate']['if']('showDiff','ck-hidden',_0x5513e0=>!_0x5513e0)]}}),_0x3be9a8;}['_createAcceptButtonView'](){const _0x52807a=new _0x31c75c['ButtonView'](this['locale']);return _0x52807a['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x52807a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x456ed1=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x456ed1['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0xd59f08=>'pending'!==_0xd59f08&&'accepted'!==_0xd59f08),this['bindTemplate']['if']('status',Ut,_0x17713f=>'pending'===_0x17713f),this['bindTemplate']['if']('status',Bt,_0xcab4ad=>'pending'!==_0xcab4ad),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x397628=>'accepted'===_0x397628)]}}),this['on']('change:status',(_0x1f574d,_0x4cd0d3,_0x1b564f)=>{_0x52807a['isEnabled']='pending'===_0x1b564f,'accepted'===_0x1b564f&&(_0x52807a['label']=Qt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x52807a['icon']=_0x31c75c['IconCheck']);}),_0x52807a;}['_createDismissButtonView'](){const _0x408b5b=new _0x31c75c['ButtonView'](this['locale']);return _0x408b5b['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x408b5b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5504d8=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x5504d8['stopPropagation']();})},'attributes':{'class':[Bt,this['bindTemplate']['if']('status','ck-hidden',_0x252766=>'pending'!==_0x252766&&'rejected'!==_0x252766),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x4dac2f=>'pending'===_0x4dac2f),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x38ecc2=>'rejected'===_0x38ecc2)]}}),this['on']('change:status',(_0x523f69,_0x26dd6f,_0x39d963)=>{_0x408b5b['isEnabled']='pending'===_0x39d963,'rejected'===_0x39d963&&(_0x408b5b['label']=Qt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x408b5b['icon']=_0x31c75c['IconCancel']);}),_0x408b5b;}['_createInfoButtonView'](){const _0x1ff64f=new _0x31c75c['ButtonView'](this['locale']);return _0x1ff64f['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x31c75c['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':Bt+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x1ff64f['bind']('isOn')['to'](this,'isInfoToggleOn',_0x4dc8ae=>_0x4dc8ae),_0x1ff64f['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x1ff64f;}['_createOutdatedButtonView'](){const _0x277288=new _0x31c75c['ButtonView'](this['locale']);return _0x277288['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x31c75c['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x277288['extendTemplate']({'attributes':{'class':[Bt,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x2a14bc=>'outdated'!==_0x2a14bc)],'disabled':'disabled'}}),_0x277288;}}class AIReviewCoreBalloonSuggestionItemView extends _0x31c75c['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x48ae0f,_0x38f53f){super(_0x48ae0f),this['set']({'isVisible':!0x1,'position':'arrow_se','class':null,'top':0x0,'left':0x0}),this['extendTemplate']({'tag':'div','attributes':{'class':['ck-reset'],'tabindex':'-1'}}),this['set']('isDiffActive',!0x1),this['content']['add'](this['_createContentView']()),_0x38f53f['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x3b1a89){this['resultItemView']['changeId']=_0x3b1a89['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x3b1a89['contentDiffed'];}['showBalloon'](_0x1c2e77,_0x1ead4e,_0x2b134f,_0x57b390,_0x3a6277,_0x208fc3){const _0x36f860=_0x1ead4e();if(!_0x36f860)return;this['updateContent'](_0x1c2e77),this['show']();const _0x20a313=Array['from'](_0x36f860['getClientRects']())['reverse'](),_0x15e81d=this['_getPointedRectIndexFromEvent'](_0x2b134f,_0x20a313),_0x2cd561=_0x20a313[_0x15e81d??0x0];'click'===_0x57b390?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x1ead4e(),_0x15e81d,_0x1c2e77['id'],_0x3a6277,_0x208fc3)||_0x2cd561})):'hover'===_0x57b390&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x1ead4e(),_0x15e81d,_0x1c2e77['id'])||_0x2cd561}));}['hideBalloon'](){this['hide'](),this['unpin'](),this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetElement']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}['hideDiffInBalloon'](){this['resultItemView']['showDiff']=!0x1;}['showDiffInBalloon'](){this['resultItemView']['showDiff']=!0x0;}['deactivateChange'](){this['fire']('deactivateChange',{'origin':'balloon'});}['_setupClickOutsideHandler'](){_0x31c75c['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x3f0c48=[this['element']];return this['_pinnedTargetElement']&&_0x3f0c48['push'](this['_pinnedTargetElement']),_0x3f0c48;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x50fde8=new _0x31c75c['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x50fde8['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-ai_review-balloon-panel-suggestion',this['bindTemplate']['if']('isDiffActive','ck-ai_review-balloon-panel-suggestion_diff-active')]},'children':[{'tag':'p','attributes':{'class':['ck-ai_review__suggestion-text']},'children':[this['resultItemView']]}]}),_0x50fde8;}['_getBestRectPositionOnClick'](_0xde12dc,_0x3e773a,_0x33923a,_0x40dca3,_0x10a67f){if(!_0xde12dc)return null;const _0x4c8720=this['position']['replace']('arrow_',''),_0x2b5b30=Array['from'](_0xde12dc['getClientRects']());let _0x2d09af,_0x518db7=_0x2b5b30['reverse']();return void 0x0!==_0x3e773a&&this['_isPinnedRectVisible'](_0x518db7[_0x3e773a],_0x40dca3,_0x10a67f)?(_0x2d09af=_0x518db7[_0x3e773a],this['_pinnedRectIndex']=_0x3e773a):this['_isPinnedRectVisible'](_0x518db7[0x0],_0x40dca3,_0x10a67f)&&void 0x0===_0x3e773a?_0x2d09af=_0x518db7[0x0]:(_0x518db7='s'==_0x4c8720[0x0]?[..._0x2b5b30]['reverse']():_0x2b5b30,_0x518db7['forEach'](_0x2c9383=>{this['_isPinnedRectVisible'](_0x2c9383,_0x40dca3,_0x10a67f)&&(_0x2d09af=_0x2c9383);})),this['_pinnedTargetChangeId']=_0x33923a,this['_pinnedTargetElement']=_0xde12dc,_0x2d09af||_0xde12dc['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x4cbb63,_0x11716a,_0x271c21){if(!_0x4cbb63)return null;const _0x38cc34=Array['from'](_0x4cbb63['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x11716a&&this['_pinnedTargetChangeId']!==_0x271c21)return this['_pinnedRectIndex']=_0x11716a,this['_pinnedTargetElement']=_0x4cbb63,this['_pinnedTargetChangeId']=_0x271c21,_0x38cc34[_0x11716a];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x271c21){if(_0x4cbb63!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x38cc34[this['_pinnedRectIndex']];}return void 0x0!==_0x11716a&&this['_pinnedTargetChangeId']!==_0x271c21?(this['_pinnedRectIndex']=_0x11716a,this['_pinnedTargetElement']=_0x4cbb63,this['_pinnedTargetChangeId']=_0x271c21,_0x38cc34[_0x11716a]):_0x4cbb63['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x9c12c5,_0x1ad723){if(_0x9c12c5)for(let _0x3e7c6f=0x0;_0x3e7c6f<_0x1ad723['length'];_0x3e7c6f++){const _0x264c04=_0x1ad723[_0x3e7c6f];if(_0x9c12c5['clientX']>=_0x264c04['left']-0x3&&_0x9c12c5['clientX']<=_0x264c04['right']+0x3&&_0x9c12c5['clientY']>=_0x264c04['top']-0x3&&_0x9c12c5['clientY']<=_0x264c04['bottom']+0x3)return _0x3e7c6f;}}['_isPinnedRectVisible'](_0x5b13ea,_0x8e9ee4,_0x4160d7){const _0x26bf81=new _0x31c75c['Rect'](_0x5b13ea),_0x3dbe5d=_0x8e9ee4||document['documentElement'],_0x47bc50=_0x26bf81['getIntersection'](_0x31c75c['getConstrainedViewportRect'](_0x4160d7)),_0x543546=new _0x31c75c['Rect'](_0x3dbe5d)['getIntersection'](_0x26bf81);return!!(_0x47bc50&&_0x543546&&_0x26bf81['width']>0x0);}}const _0xd191c1=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x294442 extends _0x31c75c['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x20f71e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c5b6f){super(_0x2c5b6f),this['_bodyCollection']=new _0x31c75c['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0xd191c1)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x2c6a47=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x2c6a47);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x5527b6){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x542fc8=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x5527b6,_0x542fc8);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x2e8f8e){_0x2e8f8e&&('error-general'!==_0x2e8f8e['status']?'error-chunk'!==_0x2e8f8e['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x15ba38){this['_mainView']['addCheckRunResult'](_0x15ba38);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x56c451){this['_mainView']['showGeneralReviewCoreErrorView'](_0x56c451??Qt(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x4a44f7,_0x413f9e){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x4a44f7,_0x413f9e);}['setActiveStateInResults'](_0x418e42){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x23438c=>{_0x23438c['id']===_0x418e42&&_0x23438c['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x32d23e=>_0x32d23e['setItemAsInactive']());}['updateChangeState'](_0x13d3ba,_0x2fd923){'accepted'===_0x2fd923||'rejected'===_0x2fd923||'outdated'===_0x2fd923?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x13d3ba,_0x2fd923):this['_mainView']['reviewCheckResultsView']['showResult'](_0x13d3ba,_0x2fd923);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x138a20,_0x1ac062,_0x3aedf0,_0xe61a39,_0x156976,_0x51d823){this['_balloonSuggestionView']['showBalloon'](_0x138a20,_0x1ac062,_0x3aedf0,_0xe61a39,_0x156976,_0x51d823);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0xcc51c2){const _0x149aca=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x4a23e5=>_0x4a23e5['id']===_0xcc51c2);return _0x149aca?_0x149aca['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x53cde9 extends _0x31c75c['View']{constructor(_0x1f33e9){super(_0x1f33e9),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x227c82=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x227c82['if']('isVisible','ck-hidden',_0x59847e=>!_0x59847e)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x227c82['to']('errorMessage')}]}]});}}class _0x5efb6c extends _0x31c75c['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x404aae,_0x5d09ae){super(_0x404aae),this['reviewCoreHeader']=_0x5d09ae['header'],this['generalErrorView']=new _0x53cde9(_0x404aae),this['reviewCheckListView']=_0x5d09ae['list'],this['reviewCheckListView']['delegate'](..._0xd191c1)['to'](this),this['reviewCheckResultsView']=_0x5d09ae['results'],this['reviewCheckResultsView']['delegate'](..._0xd191c1)['to'](this),this['reviewCompletedView']=_0x5d09ae['completed'],this['reviewCompletedView']['delegate']('finishReview')['to'](this),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isLoading',!0x1),this['reviewCheckResultsView']['set']('isResultReady',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-review','ck-rounded-corners'],'dir':'ltr'},'children':[this['reviewCoreHeader'],this['generalErrorView'],this['reviewCheckListView'],this['reviewCheckResultsView'],this['reviewCompletedView']]});}['showReviewCheckListView'](){this['reviewCheckListView']['resetAllParameterizedChecks'](),this['reviewCheckListView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1);}['showReviewCheckResultsView'](){this['hideActionsWhenResultIsReady'](),this['reviewCheckResultsView']['resetErrorState'](),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['clearResults'](),this['reviewCheckResultsView']['set']('isLoading',!0x0),this['reviewCheckResultsView']['set']('isCompleted',!0x1);}['addCheckRunResult'](_0x4a32c7){this['reviewCheckResultsView']['addResult'](_0x4a32c7),this['reviewCheckResultsView']['set']('isLoading',!0x1);}['showReviewCompletedView'](){this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isCompleted',!0x0),this['reviewCheckListView']['set']('isVisible',!0x1);}['showActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']?(this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1)):this['reviewCheckResultsView']['isResultReady']=!0x0;}['showNoChangesView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x0);}['hideActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']=!0x1;}['showGeneralReviewCoreErrorView'](_0x42ef58){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x42ef58;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewCoreFinishReviewButtonView extends _0x31c75c['ButtonView']{constructor(_0x1c2cd0,_0x1fb0a5){super(_0x1fb0a5),this['set']({'label':_0x1c2cd0,'withText':!0x0,'class':Vt}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0x31c75c['ListItemView']{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x2d1f24,_0x39804){super(_0x2d1f24),this['_contents']=_0x39804,this['_resultViews']=new _0x31c75c['ViewCollection'](),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_resultsBody']=this['_createResultsBodyView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x12a449(_0x2d1f24),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x56c09a=this['_createCombinedSkeletonLoader'](),_0x1c5e28=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1c5e28['if']('isLoading','ck-ai_review__check-run_loading',_0xf46655=>_0xf46655),_0x1c5e28['if']('isResultReady','ck-ai_review__check-run_ready',_0x2af320=>_0x2af320),_0x1c5e28['if']('isVisible','ck-hidden',_0x580be6=>!_0x580be6)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x56c09a,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x4d5889){const _0x5c8465=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x4d5889['id']);_0x5c8465['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5c8465),_0x5c8465['resultResponseView']['element']['innerHTML']=_0x4d5889['contentDiffed'];}['hideResult'](_0x350220,_0x8d564e){if('pending'===_0x8d564e)return;const _0x1fcf08=this['_resultViews']['find'](_0x3e678c=>_0x3e678c['id']===_0x350220);_0x1fcf08&&(_0x1fcf08['status']=_0x8d564e,_0x1fcf08['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0xa15752,_0x5d8c6c){if('pending'!==_0x5d8c6c)return;const _0x75cd3f=this['_resultViews']['find'](_0xdb64a8=>_0xdb64a8['id']===_0xa15752);_0x75cd3f&&(_0x75cd3f['status']=_0x5d8c6c,_0x75cd3f['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x11a1eb,_0xee40d3){this['headerTitle']=_0x11a1eb,this['headerSubtitle']=_0xee40d3||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new AISkeletonView(this['locale'],_0x256023['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x2970ec=new _0x31c75c['View'](this['locale']),_0x4a76f5=[];for(let _0x556cc3=0x0;_0x556cc3<0x10;_0x556cc3++){const _0x1c9d35=this['_createSkeletonLoader']();_0x1c9d35['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x4a76f5['push'](_0x1c9d35);}return _0x2970ec['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x48b16a=>!_0x48b16a)]},'children':_0x4a76f5}),_0x2970ec;}['_createResultsBodyView'](){const _0x4ebb8f=new _0x31c75c['View'](this['locale']);return _0x4ebb8f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x239472=>_0x239472)]},'children':this['_resultViews']}),_0x4ebb8f;}['_createErrorView'](){const _0x147c12=new _0x31c75c['View'](this['locale']),_0x3d73af=new _0x31c75c['ButtonView'](this['locale']),t=this['locale']['t'];return _0x147c12['delegate']('retryReview')['to'](this),_0x3d73af['set']({'label':t('Try\x20again'),'withText':!0x0,'class':Ut+'\x20ck-ai_review__check-run-error-retry-button'}),_0x3d73af['on']('execute',()=>{this['fire']('retryReview');}),_0x147c12['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x30a6f4=>!_0x30a6f4),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3780f4=>'chunk'===_0x3780f4)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x3d3e1e=>'chunk'===_0x3d3e1e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x47b4a7=>'general'!==_0x47b4a7)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x528d30=>'chunk'!==_0x528d30)]},'children':[{'text':Qt(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3d73af]}),_0x147c12;}['_createCancelButtonView'](){const _0x2686e6=new _0x31c75c['ButtonView'](this['locale']);return _0x2686e6['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[Ut+'\x20ck-ai-button-stop-generating'],'icon':_0x31c75c['IconStop']}),_0x2686e6['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0xaacab9=>_0xaacab9),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x56d9b6=>_0x56d9b6)]}}),_0x2686e6['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2686e6;}['_createToggleDiffButtonView'](){const _0x4d0adf=new _0x31c75c['ButtonView'](this['locale']);_0x4d0adf['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4d0adf['bind']('isEnabled')['to'](this,'isError',_0x5630f6=>!_0x5630f6),_0x4d0adf['extendTemplate']({'attributes':{'class':[Ut,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3f9e4a=>!_0x3f9e4a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x407e12=>_0x407e12)]}});const _0x40ca8d=Qt(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x383e2e=Qt(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4d0adf['bind']('isOn')['to'](this,'isToggleDiffOn',_0x238255=>_0x238255),_0x4d0adf['bind']('icon')['to'](this,'isToggleDiffOn',_0x78d232=>_0x78d232?_0x31c75c['IconEye']:_0x31c75c['IconEyeCrossedOut']),_0x4d0adf['bind']('label')['to'](this,'isToggleDiffOn',_0x476a50=>_0x476a50?_0x40ca8d:_0x383e2e),_0x4d0adf['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4d0adf;}['_createAcceptAllButtonView'](){const _0x33eaf1=new _0x31c75c['ButtonView'](this['locale']);return _0x33eaf1['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x33eaf1['bind']('isEnabled')['to'](this,'isError',_0x2b80a4=>!_0x2b80a4),_0x33eaf1['extendTemplate']({'attributes':{'class':[Vt,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x56778e=>!_0x56778e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x506c72=>_0x506c72)]}}),_0x33eaf1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x33eaf1;}['_createExitReviewButtonView'](){const _0x1b6a3d=new _0x31c75c['ButtonView'](this['locale']);return _0x1b6a3d['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1b6a3d['extendTemplate']({'attributes':{'class':[Bt,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x43cfd8=>!_0x43cfd8),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x23fe1e=>_0x23fe1e)]}}),_0x1b6a3d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x1b6a3d;}['_createResultHeaderView'](){const _0x5e3c34=new _0x31c75c['View'](this['locale']),_0x4f0375=this['_createTitleView']();return _0x5e3c34['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x36cf0e=>_0x36cf0e)]},'children':[_0x4f0375,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5e3c34;}['_createTitleView'](){const _0x11ac75=new _0x31c75c['View'](this['locale']),_0xe94936=new _0x31dcda();return _0xe94936['bind']('isVisible')['to'](this,'isResultReady',_0x463d42=>!_0x463d42),_0x11ac75['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xe94936,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b2b1a=>_0x2b2b1a)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3b6cf1=>!_0x3b6cf1)]},'children':[{'text':Qt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x11ac75;}['_createFinishReviewButtonView'](){const _0x54b218=new AIReviewCoreFinishReviewButtonView(Qt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x54b218['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xcb0dd3=>!_0xcb0dd3)]}}),_0x54b218['delegate']('finishReview')['to'](this),_0x54b218;}}class AIReviewCoreReviewCompletedView extends _0x31c75c['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x47c877,_0x21892a){super(_0x47c877),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x21892a['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x21892a['headerText']);const _0x106459=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x106459['if']('isVisible','ck-hidden',_0x4641ce=>!_0x4641ce)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-content-icon']},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':['ck-ai_review__review-completed-content-text']},'children':[{'text':_0x21892a['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x448a8a){const _0x175458=new AIReviewCoreFinishReviewButtonView(_0x448a8a,this['locale']);return _0x175458['delegate']('finishReview')['to'](this),_0x175458;}['_createResultHeaderView'](_0x4653ef){const _0xa2475d=new _0x31c75c['View'](this['locale']);return _0xa2475d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title']},'children':[{'text':_0x4653ef}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0xa2475d;}}class _0x56f5d1 extends _0x31c75c['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0xcc5138,_0x2acc3b){super(_0xcc5138),this['_defaultValue']=_0x2acc3b['default']||(_0x2acc3b['data']['length']>0x0?_0x2acc3b['data'][0x0]['id']:''),this['_defaultLabel']=_0x2acc3b['data']['find'](_0x72bcc5=>_0x72bcc5['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=_0x31c75c['createDropdown'](this['locale']);const _0x3b4791=this['_prepareListOptions'](_0x2acc3b['data']);_0x31c75c['addListToDropdown'](this['_dropdownView'],_0x3b4791,{'role':'menu','ariaLabel':_0x2acc3b['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x18e29d=>{_0x18e29d['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x5f39da=>{this['formValue']=_0x5f39da['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x5f39da['source']['model']['label'];}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai_review__check-list-item-parameterized-form-element','ck-ai_review__check-list-item-parameterized-form-element_dropdown']},'children':[this['_dropdownView']]});}['resetToDefault'](){this['formValue']=this['_defaultValue'],this['_dropdownView']['buttonView']['label']=this['_defaultLabel'];}['_prepareListOptions'](_0x377232=[]){const _0x2c1a05=new _0x31c75c['Collection']();this['resetToDefault']();for(const _0x1b15a6 of _0x377232){const _0x1bfd1b=new _0x31c75c['UIModel']({'label':_0x1b15a6['label'],'withText':!0x0,'role':'menuitemradio','id':_0x1b15a6['id'],'model':_0x1b15a6});_0x1bfd1b['bind']('isOn')['to'](this,'formValue',_0x42df8c=>_0x42df8c===_0x1bfd1b['id']);const _0x3e01d4={'type':'button','model':_0x1bfd1b};_0x2c1a05['add'](_0x3e01d4);}return _0x2c1a05;}}class _0x2cc279 extends _0x31c75c['ListItemView']{['_formItem']=null;constructor(_0x2a4ef2,_0x53a3e3,_0x1ca816){super(_0x2a4ef2),this['argsKey']=_0x53a3e3?.['argsKey'];if('dropdown'===_0x53a3e3['formType'])this['_formItem']=new _0x56f5d1(this['locale'],_0x53a3e3);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x538aa3=new _0x31c75c['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x1ca816?'ck-form__row_with-submit':'']});_0x1ca816&&_0x538aa3['children']['add'](_0x1ca816),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x538aa3]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends _0x31c75c['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x45f791){super(_0x45f791),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['minRows']=AIReviewCorePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewCorePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-prompt-input','class':['ck','ck-review__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}}class AIReviewCoreCustomCheckView extends _0x31c75c['View']{['focusTracker']=new _0x31c75c['FocusTracker']();['keystrokes']=new _0x31c75c['KeystrokeHandler']();['focusCycler'];['_focusables']=new _0x31c75c['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1bb079,_0x4c3e25,_0x5cee19=!0x1){super(_0x1bb079),this['_check']=_0x4c3e25,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x4c3e25['defaultModel']?_0x4c3e25['defaultModel']['id']:'',this['_defaultLabel']=_0x4c3e25['defaultModel']?_0x4c3e25['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x31c75c['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x1bb079)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x31c75c['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5cee19),_0x31c75c['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x31c75c['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new _0x31c75c['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x49e881,_0x4f1953)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4f1953()):_0x4f1953();}),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x5e5eac=>{this['_focusables']['add'](_0x5e5eac),this['focusTracker']['add'](_0x5e5eac['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x19596d of this['_getFormValidators']()){const _0x146974=_0x19596d();if(_0x146974)return this['promptInputView']['errorText']=_0x146974,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return Qt(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x4ee923=new _0x31c75c['ButtonView'](this['locale']),t=this['locale']['t'];return _0x4ee923['set']({'label':t('Submit'),'withText':!0x0,'class':Vt}),_0x4ee923['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x4ee923;}['_createCancelButtonView'](){const _0x3da149=new _0x31c75c['ButtonView'](this['locale']),t=this['locale']['t'];return _0x3da149['set']({'label':t('Cancel'),'withText':!0x0,'class':Bt}),_0x3da149['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1842d4=>{_0x1842d4['stopPropagation']();})}}),_0x3da149['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3da149;}['_setModelList'](_0x550dcd){this['_modelSelectionDropdownItems']['clear']();const _0x859f9f=this['_check']['models'];if(_0x550dcd)this['set']('modelDisplayMode','hidden');else{const _0x3f8e2e=0x1===_0x859f9f['length'];this['set']('modelDisplayMode',_0x3f8e2e?'name':'selector');}if(this['resetToDefault'](),_0x859f9f?.['length']){0x1===_0x859f9f['length']&&this['set']('activeModelName',_0x859f9f[0x0]['name']||_0x859f9f[0x0]['id']);for(const _0x284a89 of _0x859f9f){const _0x2685d3=new _0x31c75c['UIModel']({'label':_0x284a89['name'],'withText':!0x0,'role':'menuitemradio','id':_0x284a89['id'],'model':_0x284a89});_0x2685d3['bind']('isOn')['to'](this,'modelId',_0xb2ba5c=>_0xb2ba5c===_0x284a89['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2685d3,'labelView':new ModelButtonLabelView(this['locale'],_0x284a89)});}}}['_createModelSelectionDropdown'](){const _0x2937c4=_0x31c75c['createDropdown'](this['locale']);return _0x2937c4['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x2937c4['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':Bt}),_0x2937c4['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x422adc=>'selector'===_0x422adc),this['listenTo'](_0x2937c4,'execute',_0x1dd37c=>{this['modelId']=_0x1dd37c['source']['model']['id'],_0x2937c4['buttonView']['label']=_0x1dd37c['source']['label'];}),_0x2937c4;}['_createModelNameView'](){const _0x6446e3=new _0x208b28(this['locale']);return _0x6446e3['bind']('text')['to'](this,'activeModelName',_0x4ff913=>_0x4ff913??''),_0x6446e3['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4d0247=>'name'===_0x4d0247),_0x6446e3;}['_createActionsFooterView'](){const _0x3793aa=new _0x31c75c['View'](this['locale']);return _0x3793aa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x3793aa;}}class _0x208b28 extends _0x31c75c['View']{constructor(_0x1910ad){super(_0x1910ad),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4b5991=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x4b5991['if']('isVisible','ck-hidden',_0x199e25=>!_0x199e25)]},'children':[{'text':_0x4b5991['to']('text')}]});}}class ModelButtonLabelView extends _0x31c75c['ButtonLabelView']{constructor(_0x323b99,_0x26d884){super();const _0x2b1827=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2b1827['to']('style'),'id':_0x2b1827['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x2b1827['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x26d884['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0x31c75c['ListItemView']{['_formItemsCollection']=new _0x31c75c['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x38c698,_0x161978,_0x5090f9,_0x246d66=!0x1){super(_0x38c698),this['_hideModels']=_0x246d66,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x161978['isParameterized']);const _0xaea807=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x199e8e=>_0x199e8e),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x2866b1=>_0x2866b1)],'style':{'--ck-ai-review-check-list-item-index':_0x5090f9}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x161978['title']}]},_0xaea807]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x161978['description']?[{'text':_0x161978['description']}]:[]}]}]},..._0x161978['isParameterized']?[this['_createParameterizedView'](_0x161978)]:[],...'custom'===_0x161978['id']?[this['_createCustomView'](_0x161978,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x161978['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x161978['id'],'args':_0x161978['useArgs']?_0x161978['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x31c75c['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x431f85=>{_0x431f85['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x58666a=new _0x31c75c['IconView']();return _0x58666a['content']=_0x31c75c['IconChevronRight'],_0x58666a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x58666a;}['_createParameterizedView'](_0x23df6c){const _0x2d2397=new _0x31c75c['View'](),_0xb64e7c=this['_createFormView'](_0x23df6c);return _0x2d2397['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2ea03c=>!_0x2ea03c)]},'children':[_0xb64e7c]}),_0x2d2397;}['_createFormView'](_0xb2c403){const _0x3994fe=new _0x31c75c['View'](),_0x35f43a=Array['isArray'](_0xb2c403['options'])?_0xb2c403['options']:[],_0x4ddaa2=new _0x31c75c['ButtonView'](this['locale']),t=this['locale']['t'];_0x4ddaa2['set']({'label':t('Submit'),'withText':!0x0,'class':Vt}),_0x4ddaa2['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3ebcad=>{_0x3ebcad['stopPropagation']();})}}),_0x4ddaa2['on']('execute',()=>{const _0x2aa990=[],_0x13db75={};this['_formItemsCollection']['forEach'](_0x282029=>{_0x2aa990['push'](_0x282029['value']),_0xb2c403['useArgs']&&_0xb2c403['options']&&(_0x13db75[_0x282029['argsKey']]=_0x282029['value']);}),this['fire']('runReviewCheck',{'id':_0xb2c403['id'],'params':_0x2aa990['length']?_0x2aa990:void 0x0,'args':Object['keys'](_0x13db75)['length']?_0x13db75:void 0x0});});const _0x1d862e=_0x35f43a['length'];return _0x35f43a['forEach']((_0xcfc045,_0x172d2a)=>{const _0x30a9fd=_0x172d2a===_0x1d862e-0x1;this['_formItemsCollection']['add'](new _0x2cc279(this['locale'],_0xcfc045,_0x30a9fd?_0x4ddaa2:null));}),_0x3994fe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3994fe;}['_createCustomView'](_0x558a13,_0x4b8e43=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x558a13,_0x4b8e43),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x540437=>!_0x540437)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x440326,_0x2afa91,_0x46087e)=>{_0x46087e||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0x31c75c['ListItemView']{['_checkViews'];constructor(_0x3c7f4a){super(_0x3c7f4a),this['_checkViews']=new _0x31c75c['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x5e58c2,_0x19aeaa=!0x1){this['_checkViews']['clear']();for(const [_0x43ab26,_0x5721d6]of _0x5e58c2['entries']()){const _0x2ce09e=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x5721d6,_0x43ab26,_0x19aeaa);_0x2ce09e['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x2ce09e);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x13943f of this['_checkViews'])_0x13943f instanceof AIReviewCoreReviewCommandListItemView&&_0x13943f['resetToDefault']();}['_setupTemplate'](){const _0x16611c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x16611c['if']('isVisible','ck-hidden',_0x278a93=>!_0x278a93)]},'children':this['_checkViews']});}}class _0x9ba912 extends _0x294442{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x5681ec=this['context']['plugins']['get']('AITabs'),_0x3d63e0=this['context']['locale'],_0x1cdc39=new _0x494418(_0x3d63e0,{'label':Qt(_0x3d63e0,'AI_REVIEW_MODE'),'icon':_0x31c75c['IconAIReview'],'class':'ck-ai-header_review','showResizeButton':_0x5681ec['showResizeButton']});return _0x1cdc39['delegate']('resizeTabs')['to'](_0x5681ec),_0x1cdc39['bind']('isMaximized')['to'](_0x5681ec['view'],'isMaximized',_0x42091c=>_0x42091c),new _0x5efb6c(this['context']['locale'],{'header':_0x1cdc39,'list':new AIReviewCoreReviewCheckListView(_0x3d63e0),'results':new AIReviewCoreUICheckResultsView(_0x3d63e0,{'generalErrorText':Qt(_0x3d63e0,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x3d63e0,{'headerText':Qt(_0x3d63e0,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':Qt(_0x3d63e0,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':Qt(_0x3d63e0,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x1dc56d=this['context']['plugins']['get']('AITabs');_0x1dc56d['view']['on']('activateTab',(_0x1241fb,{newTab:_0x3fe84f,oldTab:_0x39b99c})=>{'reviewMode'===_0x3fe84f?this['fire']('getReviewCheckList'):'reviewMode'===_0x39b99c&&this['fire']('leaveReview');}),_0x1dc56d['view']['addTab']({'id':'reviewMode','buttonLabel':Qt(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x31c75c['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x22e9be='review-',_0x137bc4=['softBreak'];class AIReviewCoreEditing extends _0x31c75c['ContextPlugin']{static get['requires'](){return[DocumentCompare,AIEditing];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];['_reviewEditingAttachedEditors']=new WeakSet();['_boundEditables']=new WeakMap();constructor(_0x3c6157){super(_0x3c6157),this['_domEmitter']=new(_0x31c75c['DomEmitterMixin']())(),this['_eventEmitter']=new(_0x31c75c['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x53f34c=_0x5bbace=>this['_scheduleAttachReviewEditingToEditor'](_0x5bbace);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x31c75c['Editor'])return void _0x53f34c(this['context']);const _0x5105ed=this['context'];for(const _0x40a361 of _0x5105ed['editors'])_0x53f34c(_0x40a361);this['listenTo'](_0x5105ed['editors'],'add',(_0x17b96f,_0xffabb8)=>{_0x53f34c(_0xffabb8);}),this['listenTo'](_0x5105ed['editors'],'remove',(_0x3a1500,_0x34444c)=>{for(const [_0x449942,_0x124f58]of this['_markers'])_0x124f58['editor']===_0x34444c&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x449942,'changeId':_0x124f58['groupId']}),this['_markers']['delete'](_0x449942));});}['_scheduleAttachReviewEditingToEditor'](_0x791d8a){const _0x51701e=()=>{'destroyed'!==_0x791d8a['state']&&_0x791d8a['conversion']&&this['_attachReviewEditingToEditor'](_0x791d8a);};if('ready'===_0x791d8a['state'])return void _0x51701e();const _0x53734a=()=>{this['stopListening'](_0x791d8a,'ready',_0x53734a),_0x51701e();};this['listenTo'](_0x791d8a,'ready',_0x53734a);}['_attachReviewEditingToEditor'](_0x4ce65f){this['_reviewEditingAttachedEditors']['has'](_0x4ce65f)||(_0x4ce65f['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x22e9be+'insert','view':(_0x203a1b,{writer:_0x4609eb})=>{const _0x2cb0bb=this['_markers']['get'](_0x203a1b['markerName']),_0x1bd730={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x2cb0bb?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x203a1b['markerName']};return _0x4609eb['createUIElement']('span',_0x1bd730,function(_0xe0a5cc){const _0x35b879=this['toDomElement'](_0xe0a5cc);return _0x35b879['innerHTML']=_0x2cb0bb?.['content']?.['asString']||'',_0x35b879;});}}),_0x4ce65f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x22e9be+'remove-only','view':_0x450927=>{const _0x19261e=this['_markers']['get'](_0x450927['markerName']),_0x25d1ae=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x19261e?.['id']||'')&&_0x25d1ae['push']('ck-ai_review__change_active'),{'classes':_0x25d1ae,'attributes':{'data-marker-id':_0x450927['markerName']}};}}),_0x4ce65f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x22e9be+'remove-context','view':_0x35de6d=>{const _0x4faebd=this['_markers']['get'](_0x35de6d['markerName']),_0x5d8945=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x4faebd?.['id']||'')&&_0x5d8945['push']('ck-ai_review__change_active'),{'classes':_0x5d8945,'attributes':{'data-marker-id':_0x35de6d['markerName']}};}}),_0x4ce65f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x22e9be+'remove-text','view':_0x460479=>{const _0x58e9b9=this['_markers']['get'](_0x460479['markerName']),_0x518fde=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x58e9b9?.['id']||'')&&_0x518fde['push']('ck-ai_review__change_active'),{'classes':_0x518fde,'attributes':{'data-marker-id':_0x460479['markerName']}};}}),_0x4ce65f['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x22e9be+'suggestion-context','view':(_0x40c955,{writer:_0x1e331a})=>_0x1e331a['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x40c955['isOpening']?'start':'end')})}),_0x4ce65f['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x4367ca,'view':_0x2e69e2}),this['_updateMouseMarkerInteractionListeners'](_0x4ce65f),this['listenTo'](_0x4ce65f,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x4ce65f),{'priority':'lowest'}),this['listenTo'](_0x4ce65f,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x4ce65f),{'priority':'lowest'}),_0x4ce65f['model']['document']['registerPostFixer'](_0x2bb3a1=>this['_validateMarkers'](_0x4ce65f,_0x2bb3a1)),_0x4ce65f['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x4ce65f)),this['_reviewEditingAttachedEditors']['add'](_0x4ce65f));}['_updateMouseMarkerInteractionListeners'](_0x3b5f2d){let _0x394e45=this['_boundEditables']['get'](_0x3b5f2d);_0x394e45||(_0x394e45=new Map(),this['_boundEditables']['set'](_0x3b5f2d,_0x394e45));const _0x3f6861=new Set(_0x3b5f2d['ui']['getEditableElementsNames']());for(const _0x55e7c6 of _0x3f6861){if(_0x394e45['has'](_0x55e7c6))continue;const _0xd381a8=_0x3b5f2d['ui']['getEditableElement'](_0x55e7c6);_0x394e45['set'](_0x55e7c6,_0xd381a8),this['_attachMouseMarkerInteractionListeners'](_0xd381a8);}for(const [_0x5430a6,_0x155240]of _0x394e45)_0x3f6861['has'](_0x5430a6)||(_0x394e45['delete'](_0x5430a6),this['_domEmitter']['stopListening'](_0x155240));}['_attachMouseMarkerInteractionListeners'](_0x4f2e64){this['_domEmitter']['listenTo'](_0x4f2e64,'mouseup',(_0x3aab0f,_0x67569b)=>{const _0x349cdf=_0x67569b['target'],_0x156e52=this['_findMarkerElement'](_0x349cdf);if(!_0x156e52)return;const _0x421fa6=_0x156e52['getAttribute']('data-marker-id'),_0x136ab2=_0x421fa6['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x421fa6,'changeId':_0x136ab2,'markerElement':()=>this['_findMarkerElementById'](_0x421fa6),'domEvent':_0x67569b});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x4f2e64,'mouseover',(_0x345939,_0x646c3e)=>{const _0x309116=_0x646c3e['target'],_0x36642f=_0x646c3e['relatedTarget'];let _0xfed75f=this['_findMarkerElement'](_0x309116);if(!_0xfed75f&&_0x36642f&&(_0xfed75f=this['_findMarkerElement'](_0x36642f)),!_0xfed75f)return;const _0x3bffdb=_0xfed75f['getAttribute']('data-marker-id'),_0x4c7b56=_0x3bffdb['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x4c7b56,'markerElement':()=>this['_findMarkerElementById'](_0x3bffdb),'domEvent':_0x646c3e});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',ht((_0x21d5bc,_0x333d56)=>{const _0x5253b0=_0x333d56['target'];if(this['_findMarkerElement'](_0x5253b0))return;_0x5253b0['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x5d496d=this['context']['plugins']['get']('AIEditing'),_0x407020=_0x593baf(this['context']);if(!_0x407020['length'])throw new _0x31c75c['CKEditorError']('ai-get-editor-from-context-no-editor',this);const _0x2b0829=new Set(),_0x4bd1b6=[],_0x2a3fa4=new Map();for(const _0xc57835 of _0x407020)for(const _0x119953 of _0xc57835['model']['document']['getRoots']()){if('$graveyard'===_0x119953['rootName'])continue;const _0x30d7bb=this['_buildDocumentDataSliceForRoot'](_0xc57835,_0x119953,_0x5d496d,_0x2b0829);_0x4bd1b6['push'](_0x30d7bb['content']);for(const [_0x179e72,_0x4b61b5]of _0x30d7bb['elements'])_0x2a3fa4['set'](_0x179e72,_0x4b61b5);}return{'elements':_0x2a3fa4,'content':_0x4bd1b6['join']('')};}['_buildDocumentDataSliceForRoot'](_0x2b3dab,_0x3fed22,_0x2d818c,_0x311280){const _0x2bba31=_0x2b3dab['model'],_0x49546b=new _0x31c75c['ModelDocumentFragment']();for(const _0x5c5d02 of _0x3fed22['getChildren']())_0x49546b['_appendChild'](_0x5c5d02['_clone'](!0x0));for(const _0x29c98f of _0x2bba31['markers']){const _0x4b6eec=_0x29c98f['getRange']();_0x4b6eec&&_0x4b6eec['root']['rootName']===_0x3fed22['rootName']&&_0x49546b['markers']['set'](_0x29c98f['name'],this['_changeRangeOwnerDocument'](_0x4b6eec['clone'](),_0x49546b));}const _0x1428f2=new Map(),_0x216bf5=_0x2bba31['document']['version'],_0x4dfff3=new _0x31c75c['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x2bba31['createPositionAt'](_0x49546b,0x0)});for(const {item:_0x397a11}of _0x4dfff3){if(!_0x397a11['is']('$textProxy'))continue;const _0x42bac6=_0x397a11['parent'];if(!_0x42bac6||!_0x42bac6['is']('element'))continue;const _0x1f5c90=this['_upsertDataId'](_0x42bac6,()=>_0x2d818c['_nextDataId'](_0x311280));_0x311280['add'](_0x1f5c90);for(const _0x313607 of _0x42bac6['getChildren']())_0x313607['is']('element')&&(_0x313607['name']&&_0x137bc4['includes'](_0x313607['name'])||_0x311280['add'](this['_upsertDataId'](_0x313607,()=>_0x2d818c['_nextDataId'](_0x311280))));let _0x598316=_0x42bac6;for(;_0x598316['parent']&&!_0x598316['parent']['is']('documentFragment');)_0x598316=_0x598316['parent'],_0x598316['hasAttribute'](_0x4367ca)&&_0x598316['_removeAttribute'](_0x4367ca);_0x1428f2['set'](_0x1f5c90,{'editor':_0x2b3dab,'rootName':_0x3fed22['rootName'],'path':_0x42bac6['getPath'](),'documentVersion':_0x216bf5,'getContent':this['_createGetContentUsingDataIdFn'](_0x598316['_clone'](!0x0),_0x1f5c90,_0x2b3dab['data'])}),_0x4dfff3['jumpTo'](_0x2bba31['createPositionAfter'](_0x42bac6));}return{'content':_0x2b3dab['data']['processor']['toData'](_0x2b3dab['data']['toView'](_0x49546b)),'elements':_0x1428f2};}['diffContent'](_0x2aea3e,_0x82bdcf,_0x3c6b62,_0x21d473=!0x1){const _0x3eacea=[],_0x381ae4=_0x2aea3e['data']['parse'](_0x3c6b62,'$documentFragment'),_0x1a13d2=_0x2aea3e['data']['parse'](_0x82bdcf,'$documentFragment'),_0x3319da=_0x2aea3e['model']['createPositionAt'](_0x1a13d2,0x0);if(this['_haveSingleTopLevelElement'](_0x381ae4)){if(!this['_hasSameTopLevelElement'](_0x1a13d2,_0x381ae4))return _0x3eacea;}else{const _0x4e5dfc=_0x2aea3e['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x1a13d2,_0x4e5dfc)||!this['_haveOnlyInlineContent'](_0x381ae4,_0x4e5dfc))return _0x3eacea;}const _0x2b211a=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x82bdcf,_0x3c6b62,{'targetEditor':_0x2aea3e,'anchor':_0x3319da,'markDeletions':!0x0})['getOperations']()['filter'](_0x46b13f=>'insert'===_0x46b13f['type']||'marker'===_0x46b13f['type']&&_0x46b13f['name']['startsWith']('$markedRemove')),_0x4f9476=this['_groupAdjacentOperations'](_0x2b211a),_0x343d87=[];if(_0x21d473){if(_0x4f9476['length']){const _0x434bbe=_0x4f9476[0x0]['operations'][0x0],_0x557444='insert'===_0x434bbe['type']?_0x434bbe['position']:_0x434bbe['newRange']['start'],_0x575077=this['_getPositionLimitingRange'](_0x557444,_0x2aea3e,'inside'),_0x22a4b5=_0x575077?_0x381ae4['getChild'](0x0)['getChildren']():_0x381ae4['getChildren'](),_0x2f7e4e=_0x575077||_0x2aea3e['model']['createRangeIn'](_0x1a13d2),_0x3e1319=[new _0x31c75c['MarkerOperation']('$markedRemove:synthetic'+_0x31c75c['uid'](),null,_0x2f7e4e,_0x2aea3e['model']['document']['model']['markers'],!0x0,_0x2aea3e['model']['document']['version']+0x1),new _0x31c75c['InsertOperation'](_0x2f7e4e['end'],_0x22a4b5,_0x2aea3e['model']['document']['version']+0x2)];_0x343d87['push']({'operations':_0x3e1319,'operationsIsolated':_0x3e1319,'groupOffset':0x0});}}else _0x343d87['push'](..._0x4f9476);let _0x2c8c98=0x0;return _0x2aea3e['model']['change'](_0x17ecb8=>{for(let _0x2b53bf=0x0;_0x2b53bf<_0x343d87['length'];_0x2b53bf++){const _0x4c8fd3=_0x343d87[_0x2b53bf],_0xa93d22=_0x17ecb8['createDocumentFragment']();for(const _0xc4ba1f of _0x1a13d2['getChildren']())_0x17ecb8['append'](_0xc4ba1f['_clone'](!0x0),_0xa93d22);for(const _0x214cab of _0x4c8fd3['operationsIsolated'])if('insert'===_0x214cab['type']){const _0x2a04a7=_0x214cab;_0x2a04a7['baseVersion']=null,_0x2a04a7['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x2a04a7,_0xa93d22),_0x17ecb8['batch']['addOperation'](_0x214cab),_0x2aea3e['model']['applyOperation'](_0x214cab);const _0x19effa='suggestion:insertion:id:authorId:'+_0x2c8c98++,_0x2cb11d=_0x2aea3e['model']['createRange'](_0x2a04a7['position'],_0x2a04a7['position']['getShiftedBy'](_0x2a04a7['howMany']));_0xa93d22['markers']['set'](_0x19effa,_0x2cb11d);}else{if('marker'===_0x214cab['type']&&_0x214cab['name']['startsWith']('$markedRemove')){const _0x192aaa=_0x214cab,_0x53a4a9='suggestion:deletion:id:authorId:'+_0x2c8c98++;this['_changeOperationOwnerDocument'](_0x192aaa,_0xa93d22),_0xa93d22['markers']['set'](_0x53a4a9,_0x192aaa['newRange']);}}if(_0x21d473)_0x3eacea['push']({..._0x4c8fd3,'context':this['_createGetContentFn'](_0x1a13d2,_0x2aea3e['data']),'content':this['_createGetContentFn'](_0x1a13d2,_0x2aea3e['data'])});else{const _0x4d52e9=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x4c8fd3['operationsIsolated'][0x0]),_0xa93d22),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x4c8fd3['operationsIsolated'][_0x4c8fd3['operationsIsolated']['length']-0x1]),_0xa93d22),_0x2aea3e);_0xa93d22['markers']['set'](_0x22e9be+'suggestion-context',new _0x31c75c['ModelRange'](_0x4d52e9['start'],_0x4d52e9['end'])),_0x3eacea['push']({..._0x4c8fd3,'context':this['_createGetContextFn'](_0xa93d22,_0x2aea3e['data'],{'ellipsisBefore':_0x4d52e9['hasContentBefore'],'ellipsisAfter':_0x4d52e9['hasContentAfter']}),'content':this['_createGetContentFn'](_0xa93d22,_0x2aea3e['data'])});}}}),_0x3eacea;}['markChangePositionInEditorContent'](_0x426c5c,_0x4d5a56){if(!_0x426c5c['length'])return;const _0x487cec=_0x426c5c[0x0]['parent']['id'],_0x4b5bfb=_0x4d5a56['elements']['get'](_0x487cec);if(!_0x4b5bfb)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x487cec);const _0x5e741e=_0x4b5bfb['path'],_0x4530bc=_0x4b5bfb['editor'],_0x201e4f=_0x4530bc['model']['document']['getRoot'](_0x4b5bfb['rootName']);if(!_0x201e4f)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0x4b5bfb['rootName']);const _0x448274=_0x4530bc['model']['document']['history']['getOperations'](_0x4b5bfb['documentVersion']),_0x376092=[];for(const _0x19a4b2 of _0x426c5c){const _0x210c99=_0x19a4b2['operationsIsolated']['map'](_0x466f17=>this['_translateOperationToEditorContent'](_0x466f17,_0x5e741e,_0x201e4f));if(!_0x210c99||!_0x210c99['length'])continue;const _0x541599=_0x210c99['every'](_0x523e99=>'marker'===_0x523e99['type']&&_0x523e99['name']['startsWith']('$markedRemove')),_0x538b8d={'document':_0x4530bc['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2bc980=_0x31c75c['transformOperationSets'](_0x210c99,_0x448274,_0x538b8d)['operationsA'];for(const _0xfa2e8e of _0x2bc980)if('insert'===_0xfa2e8e['type']){const _0x331ee4=_0xfa2e8e,_0x8e69ce=_0x331ee4['nodes'];_0x4530bc['model']['change'](_0xb2d92c=>{const _0x36f641=_0xb2d92c['createDocumentFragment']();for(const _0x396df5 of _0x8e69ce)_0xb2d92c['append'](_0x396df5['_clone'](!0x0),_0x36f641);_0x376092['push']({'start':_0x331ee4['position'],'end':_0x331ee4['position'],'type':'insert','groupId':_0x19a4b2['id'],'content':{'asString':this['_createGetContentFn'](_0x36f641,_0x4530bc['data'])(),'asFragment':_0x36f641}});});}else{if('marker'===_0xfa2e8e['type']&&_0xfa2e8e['name']['startsWith']('$markedRemove')){const _0x134094=_0xfa2e8e;let _0x424f5c='remove-text';if(_0x541599){const _0x4dd633=this['_findAdjacentContextDistance'](_0x134094['newRange']['start'],'backward',_0x4530bc['model']['schema']),_0x51663f=this['_findAdjacentContextDistance'](_0x134094['newRange']['end'],'forward',_0x4530bc['model']['schema']);if(_0x4dd633||_0x51663f){const _0x3cc7ef=_0x134094['newRange']['start']['getShiftedBy'](-_0x4dd633),_0x5e7715=_0x134094['newRange']['end']['getShiftedBy'](_0x51663f);_0x376092['push']({'start':_0x3cc7ef,'end':_0x5e7715,'groupId':_0x19a4b2['id'],'type':'remove-context'});}else _0x424f5c='remove-only';}_0x376092['push']({'start':_0x134094['newRange']['start'],'end':_0x134094['newRange']['end'],'groupId':_0x19a4b2['id'],'type':_0x424f5c});}}}this['_insertMarkers'](_0x376092,_0x4530bc);}['clearAllMarkers'](){const _0x31753a=new Map();for(const _0x5daee5 of this['_markers']['keys']()){const _0x5bd9f7=this['_markers']['get'](_0x5daee5);_0x5bd9f7?.['editor']&&(_0x31753a['has'](_0x5bd9f7['editor'])||_0x31753a['set'](_0x5bd9f7['editor'],[]),_0x31753a['get'](_0x5bd9f7['editor'])['push'](_0x5daee5));}for(const [_0x2831e9,_0xd8f397]of _0x31753a)_0x2831e9['model']['change'](_0x23639d=>{for(const _0x5298a2 of _0xd8f397)_0x2831e9['model']['markers']['get'](_0x5298a2)&&_0x23639d['removeMarker'](_0x5298a2);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x1977e1 of _0x593baf(this['context']))_0x1977e1['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x5e6fd1 of _0x593baf(this['context']))_0x5e6fd1['disableReadOnlyMode']('ai-review');}['applyChange'](_0x50f101){const _0x211dd5=_0x50f101['map'](_0x1a16c5=>this['_getMarkersDataForGroup'](_0x1a16c5))['flat'](),_0x2c7a55=new Map();for(const _0x573e4b of _0x211dd5)_0x2c7a55['has'](_0x573e4b['editor'])||_0x2c7a55['set'](_0x573e4b['editor'],[]),_0x2c7a55['get'](_0x573e4b['editor'])['push'](_0x573e4b);for(const [_0x157ed3,_0xed55e5]of _0x2c7a55){const _0x4dd376=_0x157ed3['model'];_0x4dd376['change'](_0xac23dc=>{for(const _0x2088e0 of _0xed55e5){const _0x1de411=_0x157ed3['model']['markers']['get'](_0x2088e0['id']);if(_0x1de411){if('insert'===_0x2088e0['type']){if(!_0x2088e0['content'])continue;_0x4dd376['insertContent'](_0x2088e0['content']['asFragment']||null,_0x1de411['getRange']()['start']);}else'remove-text'!==_0x2088e0['type']&&'remove-only'!==_0x2088e0['type']||_0x4dd376['deleteContent'](_0x4dd376['createSelection'](_0x1de411['getRange']()));_0xac23dc['removeMarker'](_0x2088e0['id']),this['_markers']['delete'](_0x2088e0['id']);}}});}}['rejectChange'](_0x11c75){const _0x5c1992=this['_getMarkersDataForGroup'](_0x11c75),_0x2a209e=new Map();for(const _0x56bb11 of _0x5c1992)_0x2a209e['has'](_0x56bb11['editor'])||_0x2a209e['set'](_0x56bb11['editor'],[]),_0x2a209e['get'](_0x56bb11['editor'])['push'](_0x56bb11);for(const [_0x43a662,_0x561519]of _0x2a209e)_0x43a662['model']['change'](_0x518cce=>{for(const _0x1cb075 of _0x561519)_0x518cce['removeMarker'](_0x1cb075['id']),this['_markers']['delete'](_0x1cb075['id']);});}['getEditor'](){return _0x26979b(this['context']);}['getEditors'](){return _0x593baf(this['context']);}['getEditorForChange'](_0x131031){const _0xa69b38=this['_getMarkersDataForGroup'](_0x131031);return _0xa69b38[0x0]?.['editor'];}['getMarkerElementForChange'](_0x89bb96){const _0x935f71=Array['from'](this['_markers']['values']())['filter'](_0x58e9a5=>_0x58e9a5['groupId']===_0x89bb96);if(!_0x935f71['length'])return null;const _0x21bcb4=0x1===_0x935f71['length']?_0x935f71[0x0]:this['_sortMarkers'](_0x935f71)[0x0],_0x284943=_0x21bcb4['editor']['model']['markers']['get'](_0x21bcb4['id']);if(!_0x284943)return null;return{'modelRange':_0x284943['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x21bcb4['id'])};}['getContentElementForChange'](_0x200072){const _0x32baea=Array['from'](this['_markers']['values']())['filter'](_0x2b1424=>_0x2b1424['groupId']===_0x200072);if(!_0x32baea['length'])return null;const _0x18a5e6=0x1===_0x32baea['length']?_0x32baea[0x0]:this['_sortMarkers'](_0x32baea)[0x0],_0x1644cc=_0x18a5e6['editor'],_0x1c5441=_0x1644cc['model']['markers']['get'](_0x18a5e6['id']);if(!_0x1c5441)return null;const _0x27b8c7=_0x1c5441['getRange'](),_0x1a69b4=_0x1644cc['editing']['view']['getDomRoot'](_0x27b8c7['root']['rootName'])||_0x1644cc['editing']['view']['getDomRoot']();if(!_0x1a69b4||!_0x27b8c7)return null;let _0x1fefc7=_0x27b8c7['start']['parent'];for(;_0x1fefc7['parent']&&'$root'!==_0x1fefc7['parent']['name'];)_0x1fefc7=_0x1fefc7['parent'];if(!_0x1fefc7||!_0x1fefc7['name'])return null;const _0x4760c8=_0x1a69b4['querySelector']('[data-marker-id=\x22'+_0x18a5e6['id']+'\x22]');if(!_0x4760c8)return null;let _0x1864cd=null;_0x1644cc['model']['change'](_0x46ef40=>{_0x1864cd=_0x46ef40['createDocumentFragment'](),_0x46ef40['append'](_0x1fefc7['_clone'](!0x0),_0x1864cd);});const _0x578cce=_0x1644cc['data']['toView'](_0x1864cd)['getChild'](0x0);return _0x4760c8['closest'](_0x578cce['name']);}['reactivateMarkers'](_0x5bcd90){const _0x4e1ad3=this['_getMarkersDataForGroup'](_0x5bcd90);if(!_0x4e1ad3['length'])return;const _0xb40a01=Array['from'](this['_activeMarkers'])['sort'](),_0x5b9bb5=Array['from'](new Set(_0x4e1ad3['map'](_0x144db3=>_0x144db3['id'])))['sort']();_0xb40a01['join']('|')!==_0x5b9bb5['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x5bcd90));}['setMarkersInElementAsActive'](_0x1fe9a8){const _0x317cfc=this['_getMarkersDataForGroup'](_0x1fe9a8);if(!_0x317cfc['length'])return;const _0x1ce939=_0x317cfc[0x0]['editor'],_0xcd5f00=new Set(_0x317cfc['map'](_0x3ca84e=>_0x3ca84e['id'])),_0x50ebed=Array['from'](_0xcd5f00['values']())['map'](_0x5d6ce1=>_0x1ce939['model']['markers']['get'](_0x5d6ce1))['filter'](_0x2bdafa=>!!_0x2bdafa);_0xcd5f00['forEach'](_0x39ed7c=>{this['_activeMarkers']['add'](_0x39ed7c);}),_0x1ce939['model']['change'](()=>{_0x50ebed['forEach'](_0x3956a8=>{_0x1ce939['editing']['reconvertMarker'](_0x3956a8);});});}['setAllMarkersAsInactive'](){const _0x5a2c56=Array['from'](this['_activeMarkers']);if(!_0x5a2c56['length'])return;this['_activeMarkers']['clear']();const _0x51fbf9=new Map();for(const _0x1b8815 of _0x5a2c56){const _0x57192f=this['_markers']['get'](_0x1b8815);if(!_0x57192f)continue;const _0x5bfbc3=_0x57192f['editor'],_0xaedd12=_0x5bfbc3['model']['markers']['get'](_0x1b8815);_0xaedd12&&(_0x51fbf9['has'](_0x5bfbc3)||_0x51fbf9['set'](_0x5bfbc3,[]),_0x51fbf9['get'](_0x5bfbc3)['push'](_0xaedd12));}for(const [_0x1302f9,_0x3bc804]of _0x51fbf9)_0x1302f9['model']['change'](()=>{_0x3bc804['forEach'](_0x255633=>{_0x1302f9['editing']['reconvertMarker'](_0x255633);});});}['_getPositionLimitingRange'](_0x5aa0fd,_0x5884f4,_0x3c417b='outside'){if(!_0x5aa0fd)return null;let _0x5a3795=_0x5aa0fd['parent'];for(;_0x5a3795&&_0x5a3795['parent']&&'$root'!==_0x5a3795['parent']['name']&&!_0x5884f4['model']['schema']['isLimit'](_0x5a3795)&&!_0x5884f4['model']['schema']['isBlock'](_0x5a3795);)_0x5a3795=_0x5a3795['parent'];if(!_0x5a3795||!_0x5a3795['name']||'$root'===_0x5a3795['name'])return null;let _0x37c316=null;return _0x5884f4['model']['change'](_0x508139=>{_0x37c316='inside'===_0x3c417b?_0x508139['createRangeIn'](_0x5a3795):_0x508139['createRangeOn'](_0x5a3795);}),_0x37c316;}['_validateMarkers'](_0x41f566,_0x996514){const _0x573293=Array['from'](this['_markers']['keys']()),_0x324930=new Map();for(const _0x369894 of _0x573293){const _0x4cefb9=_0x41f566['model']['markers']['get'](_0x369894);if(!_0x4cefb9)continue;const _0x411362=_0x4cefb9['getStart']()['root']['rootName']+':'+_0x4cefb9['getStart']()['path'][0x0];_0x324930['has'](_0x411362)||_0x324930['set'](_0x411362,[]),_0x324930['get'](_0x411362)['push'](_0x4cefb9);}const _0x1791c2=new Set();for(const _0x50fded of _0x41f566['model']['document']['differ']['getChanges']()){let _0x47c5f5='',_0x42031e=null;if('insert'===_0x50fded['type'])_0x42031e=new _0x31c75c['ModelRange'](_0x50fded['position'],_0x50fded['position']['getShiftedBy'](_0x50fded['length'])),_0x47c5f5=_0x50fded['position']['root']['rootName']+':'+_0x50fded['position']['path'][0x0];else{if('remove'!==_0x50fded['type'])continue;_0x42031e=new _0x31c75c['ModelRange'](_0x50fded['position']),_0x47c5f5=_0x50fded['position']['root']['rootName']+':'+_0x50fded['position']['path'][0x0];}const _0x2066fd=_0x324930['get'](_0x47c5f5)||[];if(_0x2066fd['length']){for(const _0x3c4d5d of _0x2066fd)if(_0x42031e['root']['rootName']===_0x3c4d5d['getRange']()['root']['rootName']&&('insert'!==_0x50fded['type']||!_0x42031e['containsRange'](_0x3c4d5d['getRange']()))&&(_0x42031e['isIntersecting'](_0x3c4d5d['getRange']())||_0x42031e['start']['isTouching'](_0x3c4d5d['getRange']()['end'])||_0x42031e['end']['isTouching'](_0x3c4d5d['getRange']()['start']))){const _0x30d3a2=this['_parseMarkerName'](_0x3c4d5d['name']);Array['from'](this['_markers']['values']())['filter'](_0x19424e=>_0x19424e['groupId']===_0x30d3a2['groupId'])['forEach'](_0x4c3679=>_0x1791c2['add'](_0x4c3679['id']));}}}if(_0x1791c2['size']){for(const _0x2f11c4 of _0x1791c2)_0x996514['removeMarker'](_0x2f11c4);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x2df044){for(const {name:_0x33b089,data:_0x21e581}of _0x2df044['model']['document']['differ']['getChangedMarkers']()){if(!_0x33b089['startsWith'](_0x22e9be))continue;const _0xa26fa3=_0x21e581['oldRange'],_0x450ba0=_0x21e581['newRange'],_0xc9aa66=_0xa26fa3&&'$graveyard'===_0xa26fa3['root']['rootName'],_0x452337=_0x450ba0&&'$graveyard'===_0x450ba0['root']['rootName'];if(_0xc9aa66&&_0x452337)continue;const _0x19f801=this['_parseMarkerName'](_0x33b089);this['_markers']['get'](_0x33b089)&&(_0x452337||!_0x450ba0?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x33b089,'changeId':_0x19f801['groupId']}):_0xc9aa66&&_0x450ba0&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x33b089,'changeId':_0x19f801['groupId']}));}}['_parseMarkerName'](_0x24991d){const _0x5a28bf=_0x24991d['split'](':'),_0x4375f3=(_0x5a28bf[0x1]||'')['split']('_');return{'prefix':_0x5a28bf[0x0],'groupId':_0x4375f3[0x0],'suffix':_0x4375f3[0x1]};}['_translateOperationToEditorContent'](_0x297711,_0x183280,_0x31015b){if('insert'===_0x297711['type']){const _0x23e8a3=_0x297711;return new _0x31c75c['InsertOperation'](this['_changePosition'](_0x183280['concat'](_0x23e8a3['position']['offset']),_0x31015b),_0x23e8a3['nodes'],_0x23e8a3['baseVersion']);}if('marker'===_0x297711['type']&&_0x297711['name']['startsWith']('$markedRemove')){const _0x3302f7=_0x297711;return new _0x31c75c['MarkerOperation'](_0x3302f7['name'],_0x3302f7['oldRange'],this['_changeRange'](_0x3302f7['newRange'],_0x183280['concat'](_0x3302f7['newRange']['start']['offset']),_0x183280['concat'](_0x3302f7['newRange']['end']['offset']),_0x31015b),_0x3302f7['_markers'],_0x3302f7['affectsData'],_0x3302f7['baseVersion']);}return _0x297711;}['_groupAdjacentOperations'](_0x2196ef){if(!_0x2196ef['length'])return[];const _0x492c1d=[];let _0xd27bcb=0x0,_0x3d9a38=0x0,_0x4cf348=[];for(let _0x3a4a56=0x0;_0x3a4a56<=_0x2196ef['length'];_0x3a4a56++){const _0x2a32e5=_0x2196ef[_0x3a4a56],_0x155f5f=_0x2196ef[_0x3a4a56-0x1];!_0x2a32e5||_0x155f5f&&!this['_getOperationEnd'](_0x155f5f)['isTouching'](this['_getOperationStart'](_0x2a32e5))?(_0x492c1d['push']({'operations':_0x4cf348,'operationsIsolated':_0x4cf348['map'](_0x985e23=>this['_shiftOperation'](_0x985e23['clone'](),-_0x3d9a38)),'groupOffset':_0xd27bcb}),_0x4cf348=_0x2a32e5?[_0x2a32e5]:[],_0x3d9a38+=_0xd27bcb,_0xd27bcb=0x0):_0x4cf348['push'](_0x2a32e5),_0x2a32e5&&'insert'===_0x2a32e5['type']&&(_0xd27bcb+=_0x2a32e5['howMany']);}return _0x492c1d;}['_findAdjacentContextDistance'](_0x19bef5,_0x416d1d,_0x229838,_0x1bff2a=0x1){const _0x2c840e=new _0x31c75c['ModelTreeWalker']({'startPosition':_0x19bef5,'direction':_0x416d1d});let _0xb36f07=0x0;for(let _0xc01bf1=0x0;_0xc01bf1<_0x1bff2a;_0xc01bf1++){let _0x681c8d=0x0,_0x24dcb7=!0x1,_0x4dc561='forward'===_0x416d1d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x13aa24}of _0x2c840e)if(_0x13aa24['is']('$textProxy')){const _0x3e8e8f=_0x4dc561['exec'](_0x13aa24['data']);if(_0x3e8e8f&&_0x3e8e8f['length']){if(_0x681c8d+='forward'===_0x416d1d?_0x3e8e8f['index']+_0x3e8e8f[0x0]['length']:_0x13aa24['data']['length']-_0x3e8e8f['index'],_0x3e8e8f[0x0]['length']!==_0x13aa24['data']['length'])break;_0x24dcb7=!0x0,_0x4dc561='forward'===_0x416d1d?/^\w+/:/\w+$/;}else{if(_0x24dcb7)break;_0x681c8d+=_0x13aa24['offsetSize'];}}else{if(_0x13aa24['is']('element')){_0x229838['isInline'](_0x13aa24)&&!_0x24dcb7&&(_0x681c8d+=0x1);break;}}_0xb36f07+=_0x681c8d,_0x2c840e['jumpTo'](_0x19bef5['getShiftedBy']('forward'===_0x416d1d?_0xb36f07:-_0xb36f07));}return _0xb36f07;}['_getChangeContext'](_0x3520e7,_0x41e81f,_0x5cfc5b){const _0x21960e=_0x5cfc5b['model']['schema'],_0x1f56ac=this['_findAdjacentContextDistance'](_0x3520e7,'backward',_0x21960e,0x6),_0x372842=this['_findAdjacentContextDistance'](_0x41e81f,'forward',_0x21960e,0x6),_0x56f6ca=_0x3520e7['getShiftedBy'](-_0x1f56ac),_0x2b7fea=_0x41e81f['getShiftedBy'](_0x372842);return{'start':_0x56f6ca,'end':_0x2b7fea,'hasContentBefore':!_0x56f6ca['isAtStart'],'hasContentAfter':!_0x2b7fea['isAtEnd']};}['_insertMarkers'](_0x179a1e,_0x3b6cfd){const _0x164895=this['context']['plugins']['get']('AIEditing'),_0x23160a=new Set();_0x3b6cfd['model']['change'](_0x30b9dc=>{for(const _0x4054d8 of _0x179a1e){const _0x293515=''+_0x22e9be+_0x4054d8['type']+':'+_0x4054d8['groupId']+'_'+_0x164895['_nextDataId'](_0x23160a);this['_markers']['set'](_0x293515,{'id':_0x293515,'groupId':_0x4054d8['groupId'],'type':_0x4054d8['type'],'content':_0x4054d8['content'],'editor':_0x3b6cfd}),_0x30b9dc['addMarker'](_0x293515,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x30b9dc['createRange'](_0x4054d8['start'],_0x4054d8['end'])});}});}['_createGetContextFn'](_0x331369,_0x12d6de,_0x1abafd){let _0x348756='';return()=>{if(!_0x348756){const _0x290f56=_0x12d6de['toView'](_0x331369,{'showSuggestionHighlights':!0x0});let _0x4ba584=_0x290f56['getChild'](0x0);if(_0x4ba584['is']('containerElement')||(_0x4ba584=_0x290f56),!_0x4ba584)return'';let _0x4029bc=!0x1;const _0x1b2be6=[];for(const _0x793fce of _0x4ba584['getChildren']())_0x793fce['is']('element','span')&&_0x793fce['hasClass']('ck-ai_review-marker_context-end')&&(_0x4029bc=!0x1),_0x4029bc&&_0x1b2be6['push'](_0x793fce),_0x793fce['is']('element','span')&&_0x793fce['hasClass']('ck-ai_review-marker_context-start')&&(_0x4029bc=!0x0);_0x4ba584['_removeChildren'](0x0,_0x4ba584['childCount']),_0x1abafd?.['ellipsisBefore']&&_0x4ba584['_appendChild']('…'),_0x4ba584['_appendChild'](_0x1b2be6),_0x1abafd?.['ellipsisAfter']&&_0x4ba584['_appendChild']('…');const _0x387f93=_0x12d6de['htmlProcessor']['domConverter']['viewToDom'](_0x290f56),_0x5274e3=_0x12d6de['htmlProcessor']['htmlWriter']['getHtml'](_0x387f93);_0x348756=_0x5274e3;}return _0x348756;};}['_createGetContentFn'](_0xb5c763,_0x54db23){let _0xe18fcf='';return()=>(_0xe18fcf||(_0xe18fcf=_0x54db23['stringify'](_0xb5c763,{'showSuggestionHighlights':!0x0})),_0xe18fcf);}['_createGetContentUsingDataIdFn'](_0x441755,_0x526402,_0x35b2f9){let _0xf2e7a0='';return()=>{if(!_0xf2e7a0){const _0x4f12b6=_0x35b2f9['toView'](new _0x31c75c['ModelDocumentFragment'](_0x441755)),_0x54eba3=_0x35b2f9['htmlProcessor']['domConverter']['viewToDom'](_0x4f12b6)['querySelector']('[data-id=\x22'+_0x526402+'\x22]');_0xf2e7a0=_0x54eba3?.['outerHTML']||'';}return _0xf2e7a0;};}['_findMarkerElement'](_0x194a99,_0x35268f=0x5){let _0x1326ea=_0x194a99,_0x3bd5c0=null;for(let _0x3b2148=0x0;_0x3b2148<_0x35268f&&_0x1326ea;_0x3b2148++){if(!_0x1326ea['className']){_0x1326ea=_0x1326ea['parentElement'];continue;}if(!(''+_0x1326ea['className'])['includes']('ck-ai_review-marker_')){_0x1326ea=_0x1326ea['parentElement'];continue;}if(!_0x1326ea['getAttribute']('data-marker-id'))break;_0x3bd5c0=_0x1326ea;break;}return _0x3bd5c0;}['_findMarkerElementById'](_0x461f10){const _0x30318c=this['_markers']['get'](_0x461f10),_0x1e8a25=_0x30318c?.['editor']??_0x26979b(this['context']),_0x40dbe8=_0x1e8a25['model']['markers']['get'](_0x461f10);return _0x40dbe8?_0x4c41ff(_0x1e8a25['editing'],_0x40dbe8):null;}['_getMarkersDataForGroup'](_0x2438e8){return Array['from'](this['_markers']['values']())['filter'](_0x1b25e3=>_0x1b25e3['groupId']===_0x2438e8);}['_getOperationStart'](_0x2b27f1){return'insert'===_0x2b27f1['type']?_0x2b27f1['position']:_0x2b27f1['newRange']['start'];}['_getOperationEnd'](_0x428cbf,_0x2e5adb=!0x1){return'insert'===_0x428cbf['type']?_0x2e5adb?_0x428cbf['position']:_0x428cbf['position']['getShiftedBy'](_0x428cbf['howMany']):_0x428cbf['newRange']['end'];}['_shiftOperation'](_0x447550,_0x34ef05){return'insert'===_0x447550['type']?_0x447550['position']=_0x447550['position']['getShiftedBy'](_0x34ef05):'marker'===_0x447550['type']&&_0x447550['newRange']&&(_0x447550['newRange']=new _0x31c75c['ModelRange'](_0x447550['newRange']['start']['getShiftedBy'](_0x34ef05),_0x447550['newRange']['end']['getShiftedBy'](_0x34ef05))),_0x447550;}['_changeOperationOwnerDocument'](_0x416440,_0x4a70d9){'insert'===_0x416440['type']?_0x416440['position']=this['_changePositionOwnerDocument'](_0x416440['position'],_0x4a70d9):'marker'===_0x416440['type']&&_0x416440['newRange']&&(_0x416440['newRange']=this['_changeRangeOwnerDocument'](_0x416440['newRange'],_0x4a70d9));}['_changePositionOwnerDocument'](_0x31ad77,_0x45129f){return new _0x31c75c['ModelPosition'](_0x45129f,_0x31ad77['path']);}['_changeRangeOwnerDocument'](_0x1bcb3d,_0x5d53d8){return new _0x31c75c['ModelRange'](this['_changePositionOwnerDocument'](_0x1bcb3d['start'],_0x5d53d8),this['_changePositionOwnerDocument'](_0x1bcb3d['end'],_0x5d53d8));}['_changePosition'](_0x567976,_0x1817e9){return new _0x31c75c['ModelPosition'](_0x1817e9,[..._0x567976]);}['_changeRange'](_0x17379a,_0x8ecb9,_0x3f6f53,_0x1d7c71){return new _0x31c75c['ModelRange'](this['_changePosition'](_0x8ecb9,_0x1d7c71),this['_changePosition'](_0x3f6f53,_0x1d7c71));}['_sortMarkers'](_0x41fdb9){const _0xc9960d=_0xbd6367=>{switch(_0xbd6367){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x41fdb9['sort']((_0x122768,_0xa52120)=>_0xc9960d(_0x122768['type'])-_0xc9960d(_0xa52120['type']));}['_hasSameTopLevelElement'](_0x23ba5e,_0x33e055){const _0x11326e=_0x23ba5e['getChild'](0x0),_0x77e7aa=_0x33e055['getChild'](0x0);return!(!_0x11326e||!_0x77e7aa)&&((!_0x11326e['is']('element')||!_0x77e7aa['is']('element')||_0x11326e['name']===_0x77e7aa['name'])&&!(_0x11326e['is']('element')&&!_0x77e7aa['is']('element')||!_0x11326e['is']('element')&&_0x77e7aa['is']('element')));}['_haveSingleTopLevelElement'](_0x3f9a7b){return 0x1===_0x3f9a7b['childCount'];}['_haveOnlyInlineContent'](_0x367e18,_0x2a6bfb){for(const _0x4e070d of _0x367e18['getChildren']())if(_0x4e070d['is']('element')&&!_0x2a6bfb['isInline'](_0x4e070d))return!0x1;return!0x0;}['_upsertDataId'](_0x3db65d,_0x282a01){let _0x36047a=_0x3db65d['getAttribute'](_0x4367ca);return _0x36047a||(_0x36047a=_0x282a01(),_0x3db65d['_setAttribute'](_0x4367ca,_0x36047a)),_0x36047a;}}class AIReviewCheckResult extends _0x31c75c['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x429b13,contentNew:_0x39c96d,contentInitial:_0xa2a25d,documentVersion:_0x42cc9e}){super(),this['id']=_0x429b13,this['contentNew']=_0x39c96d,this['contentInitial']=_0xa2a25d,this['documentVersion']=_0x42cc9e;}}class AIReviewCheckResultChange extends _0x31c75c['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x2a3d02,_0x33bad2,_0x5826e4){super(),this['id']=_0x2a3d02,this['parent']=_0x5826e4,this['_data']=_0x33bad2,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','pending'),this['on']('change:status',()=>{'pending'!==this['status']&&this['isActivated']&&(this['isActivated']=!0x1);});}get['contentDiffed'](){return this['_data']['context']();}get['operations'](){return this['_data']['operations'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class _0x3675fd extends _0x31c75c['ObservableMixin'](){['id']=_0x31c75c['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x1373ed,_0x50893d,_0x2fa32c,_0x341dfd,_0x5a9b51){super(),this['_sourceCheck']=_0x50893d,this['_documentData']=_0x1373ed,this['_aiConnector']=_0x2fa32c,this['_reviewParams']=_0x341dfd,this['_reviewArgs']=_0x5a9b51,this['on']('change:status',(_0x3bfc1c,_0x5a9364,_0x388774)=>{'aborted'==_0x388774&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x388774,'run':this,'error':this['_currentError']});}),this['set']('status','initialized');}get['documentData'](){return this['_documentData'];}get['processedResultsCount'](){return this['_results']['size'];}get['title'](){return this['_sourceCheck']['title'];}get['subTitle'](){return'';}get['reviewName'](){return this['_sourceCheck']['id'];}get['hasModifications'](){return!this['_changes']['every'](_0x4935c9=>'pending'===_0x4935c9['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x3c3008){this['_documentData']=_0x3c3008;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x19bb0f=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x4df625 of _0x19bb0f)'unmodified'!==_0x4df625['data']['operation']&&('error'!==_0x4df625['data']['operation']?'review-metadata'!==_0x4df625['event']?this['_addReviewCheckResult'](_0x4df625['data']['dataId'],_0x4df625['data']['textDelta']):this['callId']=_0x4df625['data']['callId']:this['status']='error-chunk');'error-chunk'!==this['status']&&(0x0===this['_results']['size']||0x0===this['_changes']['length']?this['status']='unmodified':this['status']='ready');}catch(_0x448e50){this['_currentError']=_0x448e50,_0x448e50 instanceof Error&&_0x448e50['message']['includes']('ai-request-aborted')?this['status']='aborted':this['status']='error-general';}finally{this['_activeRequest']=null;}}async['restart'](){this['_results']['clear'](),this['_changes']['length']=0x0,this['_currentError']=void 0x0,await this['start']();}['addResultChanges'](_0x348173,_0x490c07){const _0x3dff55=this['_results']['get'](_0x348173);if(!_0x3dff55)return;if(0x0===_0x490c07['length'])return;const _0xb4df22=[];_0x490c07['forEach']((_0x5577fa,_0x16bb38)=>{const _0xef0df1=new AIReviewCheckResultChange(_0x3dff55['id']+'-'+_0x16bb38,_0x5577fa,_0x3dff55);_0xef0df1['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0xef0df1,'status':_0xef0df1['status']});}),_0xef0df1['on']('change:isActivated',()=>{_0xef0df1['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0xef0df1}):this['fire']('reviewCheckResultDeactivated',{'change':_0xef0df1});}),this['_changes']['push'](_0xef0df1),_0xb4df22['push'](_0xef0df1);}),this['fire']('reviewCheckResultReady',{'changes':_0xb4df22,'result':_0x3dff55,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x1e5ad8){const _0x4253ad=this['_changes']['find'](_0x5e9581=>_0x5e9581['id']===_0x1e5ad8);return!(!_0x4253ad||'pending'!==_0x4253ad['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x201b12=>!0x0===_0x201b12['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x41833a=>'pending'===_0x41833a['status']);}['getChangeById'](_0x1cba7f){return this['_changes']['find'](_0x1943b6=>_0x1943b6['id']===_0x1cba7f);}['markAllChangesAsAccepted'](){for(const _0x4de25b of this['_changes'])'pending'===_0x4de25b['status']&&(_0x4de25b['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x181a66){const _0x51ab65=this['_changes']['find'](_0x1aca71=>_0x1aca71['id']===_0x181a66);_0x51ab65&&'pending'===_0x51ab65['status']&&(_0x51ab65['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x3c6a94){const _0x2117d0=this['_changes']['find'](_0x58db71=>_0x58db71['id']===_0x3c6a94);_0x2117d0&&'pending'===_0x2117d0['status']&&(_0x2117d0['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0xd69807){const _0x46cd3f=this['_changes']['find'](_0x4ee37d=>_0x4ee37d['id']===_0xd69807);_0x46cd3f&&'pending'===_0x46cd3f['status']&&(_0x46cd3f['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x459bf4){const _0x32c70f=this['_changes']['find'](_0x3431ce=>_0x3431ce['id']===_0x459bf4);_0x32c70f&&'outdated'===_0x32c70f['status']&&(_0x32c70f['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x2d5b22){this['_changes']['filter'](_0x4ba03b=>_0x4ba03b['isActivated']&&_0x4ba03b['id']!==_0x2d5b22)['forEach'](_0x5d1a84=>{_0x5d1a84['isActivated']=!0x1;});const _0x4a1e15=this['_changes']['find'](_0x9bfe2b=>_0x9bfe2b['id']===_0x2d5b22);_0x4a1e15&&'pending'===_0x4a1e15['status']&&(_0x4a1e15['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x3252d0=>_0x3252d0['isActivated'])['forEach'](_0x3230aa=>{_0x3230aa['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x46dcef){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x13972b;if(_0x46dcef){const _0x32bbdc=this['_changes']['find'](_0x465aef=>_0x465aef['id']===_0x46dcef);if(_0x32bbdc&&_0x32bbdc['isRated'])return;_0x32bbdc&&(_0x13972b=_0x32bbdc['parent']['id'],_0x32bbdc['isRated']=!0x0);}const _0x518d41={'positiveCount':this['_changes']['filter'](_0x197ca3=>'accepted'===_0x197ca3['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x518d41,this['callId'],_0x13972b);}['_addReviewCheckResult'](_0x50cabe,_0x40afeb){const _0x1eb4bd=this['_documentData']['elements']['get'](_0x50cabe);if(!_0x1eb4bd)return;const _0x2ec5d7=_0x1eb4bd['getContent']();if(_0x2ec5d7===_0x40afeb)return;const _0x283173=new AIReviewCheckResult({'id':_0x50cabe,'contentInitial':_0x2ec5d7,'contentNew':_0x40afeb,'documentVersion':_0x1eb4bd['documentVersion']});this['_results']['set'](_0x283173['id'],_0x283173),this['fire']('reviewCheckResultAdded',{'result':_0x283173,'source':this,'editor':_0x1eb4bd['editor']});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x56e8a8=>'pending'===_0x56e8a8['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x3e9d5a=>'pending'===_0x3e9d5a['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x3675fd{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x4d0719=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x1064cf=0x0;_0x1064cf<this['_reviewParams']['length'];_0x1064cf++){if(!this['_reviewParams'][_0x1064cf]||!this['_sourceCheck']['options'][_0x1064cf])continue;const _0x8e0897=this['_sourceCheck']['options'][_0x1064cf],_0x121fde=_0x8e0897['data']?.['find'](_0x47bd6f=>_0x47bd6f['id']===this['_reviewParams'][_0x1064cf]);_0x121fde&&_0x4d0719['push'](_0x121fde['label']);}return _0x4d0719['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x575da2,_0x165340,_0x57f468){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x165340,_0x575da2,_0x57f468);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x31c75c['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_initRequiredPlugins'](),this['_aiReviewCheckList']=await this['_getChecksList'](),this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_aiReviewCoreUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',async(_0x2d515d,_0x5a106f)=>{const _0x1b819a=this['_aiReviewCheckList']['getCheckById'](_0x5a106f['id']);if(_0x1b819a){this['_onReviewCheckRun'](_0x5a106f),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x5a106f,_0x1b819a),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x32aeea,_0x3f442f)=>{switch(_0x3f442f['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x3f442f);break;case'finished':this['_onCheckRunFinished']();break;case'ready':this['_aiReviewCoreUi']['showActionsWhenResultIsReady']();break;case'unmodified':this['_aiReviewCoreUi']['showNoChangesView']();break;case'error-general':this['_aiReviewCoreUi']['showGeneralResultsErrorView'](),this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-check-run-chunk-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'aborted':this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['processedResultsCount']>0x0?setTimeout(()=>{this['_currentReviewCheckRun']?.['forceReadyState']();},0x0):this['_onReviewRunLeave'](!0x0);}'ready'!==_0x3f442f['status']&&'error-chunk'!==_0x3f442f['status']&&'error-general'!==_0x3f442f['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x1d393e,_0x56d6c5)=>{if(!this['_currentReviewCheckRun'])throw new _0x31c75c['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x18d624=this['_diffContent'](_0x56d6c5['editor'],_0x56d6c5['result']['contentInitial'],_0x56d6c5['result']['contentNew']);_0x56d6c5['source']['addResultChanges'](_0x56d6c5['result']['id'],_0x18d624);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x2a18a7,_0x47033a)=>{for(const _0x7d17ef of _0x47033a['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x7d17ef);this['_markChangePositionInEditorContent'](_0x47033a['changes'],_0x47033a['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x204a83,_0x27b97a)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x27b97a['change']['id'],_0x27b97a['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x22c141,_0x31dbdf)=>{this['_onReviewCheckResultActivated'](_0x31dbdf);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x2631b1){_0x2631b1 instanceof Error&&_0x2631b1['message']['includes']('ai-request-aborted')||(_0x2631b1 instanceof _0x31c75c['CKEditorError']?this['_logError'](_0x2631b1):this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x2631b1)));}}else this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x5a106f['id']}));}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x2455b8=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x2455b8['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x2455b8['map'](_0x1566e4=>_0x1566e4['id']));const _0x2b2442=this['_currentReviewCheckRun'];_0x2b2442['markAllChangesAsAccepted'](),_0x2b2442['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x1947ed,_0x101b89)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x101b89['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x101b89['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x101b89['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x101b89['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x1a5486,_0xcbce83)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0xcbce83['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0xcbce83['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0xcbce83['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0xcbce83['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&(this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_currentReviewCheckRun']['updateDocumentData'](this['_aiReviewCoreEditing']['getDocumentData']()),await this['_currentReviewCheckRun']['restart']());}),this['listenTo'](this['_aiReviewCoreUi'],'activateChange',(_0x3cf2a3,_0x23322a)=>{this['_onActivateChange'](_0x23322a);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x31b361,_0x376350)=>{this['_onDeactivateChange'](_0x376350);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x317f51,_0x5bc67e)=>{this['_onChangeMarkerClicked'](_0x317f51,_0x5bc67e);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x579631,_0x48ebf1)=>{this['_onChangeMarkerHovered'](_0x579631,_0x48ebf1);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x592924,_0x38fd94)=>{this['_onChangeMarkerRemoved'](_0x592924,_0x38fd94);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x165434,_0x38f2c1)=>{this['_onChangeMarkerRestored'](_0x165434,_0x38f2c1);});}['_createReviewCheckRun'](_0x4ce5e1,_0x142282){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x142282,this['_aiConnector'],_0x4ce5e1['params'],_0x4ce5e1['args']);}['_onChangeMarkerRemoved'](_0x100570,_0x2f5b4d){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x2f5b4d['changeId']);}['_onChangeMarkerRestored'](_0x6eb51a,_0x4fdf2b){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x4fdf2b['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x2e76ee=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x2e76ee&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x2fb50e of this['_aiReviewCoreEditing']['getEditors']())_0x2fb50e['editing']['view']['change'](_0x881359=>{for(const _0x1283a8 of _0x2fb50e['editing']['view']['document']['getRoots']())_0x881359['removeClass']('ck-ai_review-diff',_0x1283a8),_0x881359['removeClass']('ck-ai_review-highlights',_0x1283a8),_0x881359['removeClass']('ck-ai-translate-mode-content',_0x1283a8);});}['_getTranslationWithDefault'](_0x3e85b6,_0x48d694){const _0xc37b21=Qt(this['context']['locale'],_0x3e85b6);return _0xc37b21===_0x3e85b6?_0x48d694:_0xc37b21;}['_logError'](_0x3909df,_0x3dd22f=!0x1){_0x31c75c['logError'](_0x3909df['message']),_0x3dd22f||(_0x3909df['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x130899){if('content'===this['_changeActivationSource']){const _0x499b39=this['_aiReviewCoreUi']['getChangeElement'](_0x130899);_0x499b39&&_0x31c75c['scrollAncestorsToShowTarget'](_0x499b39['closest']('.ck-ai_review__check-run-result')||_0x499b39);}else{if('panel'===this['_changeActivationSource']){const _0x4e281d=this['_getChangeContentElement'](_0x130899);if(!_0x4e281d)return;const _0x50dfda={'target':_0x4e281d,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x31c75c['scrollViewportToShowTarget'](_0x50dfda);}}}}const _0x31339c=[{'id':'custom','commandId':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','commandId':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','commandId':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','commandId':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'length','commandId':'make','title':'Adjust\x20length','description':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20length','default':'longer','data':[{'label':'Longer','id':'longer'},{'label':'Shorter','id':'shorter'}]}]},{'id':'tone','commandId':'make-tone','title':'Adjust\x20tone\x20and\x20style','description':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20tone\x20and\x20style','default':'casual','data':[{'label':'Casual','id':'casual'},{'label':'Direct','id':'direct'},{'label':'Friendly','id':'friendly'},{'label':'Confident','id':'confident'},{'label':'Professional','id':'professional'}]}]}];class _0x5847ab{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x59fd6c){this['id']=_0x59fd6c['id'],this['commandId']=_0x59fd6c['commandId'],this['title']=_0x59fd6c['title'],this['description']=_0x59fd6c['description'],this['isParameterized']=_0x59fd6c['isParameterized'],this['useArgs']=_0x59fd6c['useArgs'],this['options']=_0x59fd6c['options'],this['args']=_0x59fd6c['args'];}}class AIReviewCheckList extends _0x31c75c['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x528e2e){this['_checks']=_0x528e2e['map'](_0x43badc=>new _0x5847ab(_0x43badc));}get['checks'](){return this['_checks'];}['getCheckById'](_0x3d3cf9){return this['checks']['find'](_0x19145a=>_0x19145a['id']===_0x3d3cf9);}['removeCheckById'](_0x1d6bfe){this['_checks']=this['_checks']['filter'](_0x506502=>_0x506502['id']!==_0x1d6bfe);}}class AIReviewCheckCustom extends _0x5847ab{['_models']=[];['_defaultModel']=null;constructor(_0x1482ea,_0x21eee3,_0x2dfb6b){super(_0x1482ea),this['_models']=_0x21eee3,this['_defaultModel']=_0x2dfb6b;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x5847ab{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x514d14,_0x5e49ee,_0xb7a982){super(_0x514d14),this['prompt']=_0x514d14['prompt'],this['model']=_0x514d14['model'],this['model']?this['_defaultModel']=_0x5e49ee['find'](_0x36cc5c=>_0x36cc5c['id']===this['model'])||null:this['_defaultModel']=_0xb7a982;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x1ebced,_0x3224bd,_0x2c50bf){super(),this['_allModels']=_0x1ebced,this['_recommendedModels']=_0x3224bd,this['_defaultModel']=_0x2c50bf;}['setupChecks'](_0x387552){this['_checks']=_0x387552['map'](_0x3faf11=>!0x0===_0x3faf11['isExtra']?new AIReviewCheckExtra(_0x3faf11,this['_allModels'],this['_defaultModel']):'custom'===_0x3faf11['id']?new AIReviewCheckCustom(_0x3faf11,this['_recommendedModels'],this['_defaultModel']):new _0x5847ab(_0x3faf11));}}class AIReviewCustomCheckRun extends _0x3675fd{['_prompt'];['_model'];constructor(_0x9ae59a,_0x50b1c1,_0xc4ef92,_0x3c64be,_0x5440db){super(_0xc4ef92,_0x3c64be,_0x5440db),this['_prompt']=_0x9ae59a,this['_model']=_0x50b1c1;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x4bbabe,_0x74abf8,_0x3394a3){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x74abf8,_0x4bbabe,_0x3394a3);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x3a1fed){this['_prompt']=_0x3a1fed;}set['model'](_0x263a63){this['_model']=_0x263a63;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x4bcc65){super(_0x4bcc65),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x31339c['map'](_0x4a39f6=>_0x4a39f6['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x2a8980,_0x2d1c78)=>{this['_isDiffOn']=_0x2d1c78['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x2563e2,_0x716e80){return _0x2563e2['isCustom']?new AIReviewCustomCheckRun(_0x2563e2['args']['prompt'],_0x2563e2['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x716e80,this['_aiConnector']):_0x716e80['isExtra']?new AIReviewExtraCheckRun(_0x716e80['prompt'],_0x716e80['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x716e80,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x716e80,this['_aiConnector'],_0x2563e2['params'],_0x2563e2['args']);}['_onReviewCheckResultActivated'](_0x4c3b1c){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x4c3b1c['change']['id']),this['_scrollToChange'](_0x4c3b1c['change']['id']);const _0x19ea8d=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4c3b1c['change']['id']);if(!_0x19ea8d)return;const _0x114afb=this['_aiReviewCoreEditing']['getEditorForChange'](_0x4c3b1c['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4c3b1c['change'],()=>_0x19ea8d['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x114afb,_0x19ea8d['modelRange']['root']['rootName']),_0x114afb?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x4c3b1c['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x2529b4){this['_currentReviewCheckRun']&&'click'===_0x2529b4['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x2529b4['id']));}['_onDeactivateChange'](_0x54995b){this['_currentReviewCheckRun']&&'balloon'===_0x54995b['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x2df414,_0x34141a){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x34141a['changeId']);const _0x1b0649=this['_currentReviewCheckRun']['getChangeById'](_0x34141a['changeId']);if(!_0x1b0649)return;const _0x38bc75=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x34141a['changeId']),_0x493034=this['_aiReviewCoreEditing']['getEditorForChange'](_0x34141a['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x1b0649,_0x34141a['markerElement'],_0x34141a['domEvent'],'click',this['_getBalloonDomRoot'](_0x493034,_0x38bc75?.['modelRange']['root']['rootName']),_0x493034?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x4c68c1,_0x557bf1){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x47d156=this['_currentReviewCheckRun']['getChangeById'](_0x557bf1['changeId']);if(!_0x47d156)return;const _0x593527=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x557bf1['changeId']),_0x104865=this['_aiReviewCoreEditing']['getEditorForChange'](_0x557bf1['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x47d156,_0x557bf1['markerElement'],_0x557bf1['domEvent'],'hover',this['_getBalloonDomRoot'](_0x104865,_0x593527?.['modelRange']['root']['rootName']),_0x104865?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x2a6858){const _0x17a91f=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x2a6858);return _0x17a91f?_0x17a91f['getElement']():null;}['_markChangePositionInEditorContent'](_0x5c8fae,_0x237e87){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x5c8fae,_0x237e87);}['_diffContent'](_0x414355,_0x58e5ed,_0x522411){return this['_aiReviewCoreEditing']['diffContent'](_0x414355,_0x58e5ed,_0x522411,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x2d12bd){_0x2d12bd?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x11eefb of this['_aiReviewCoreEditing']['getEditors']())_0x11eefb['editing']['view']['change'](_0x10207a=>{for(const _0x2cc6c9 of _0x11eefb['editing']['view']['document']['getRoots']()){for(const _0x26e0af of _0x2cc6c9['getClassNames']())_0x26e0af['startsWith']('ck-ai_review-')&&_0x10207a['removeClass'](_0x26e0af,_0x2cc6c9);_0x10207a['addClass'](_0x2d12bd?'ck-ai_review-diff':'ck-ai_review-highlights',_0x2cc6c9);}});}['_getBalloonDomRoot'](_0x522e18,_0x38d9a3){const _0x4b2f45=_0x522e18['editing']['view'];if(_0x38d9a3){const _0x3817d4=_0x4b2f45['getDomRoot'](_0x38d9a3);if(_0x3817d4)return _0x3817d4;}return _0x4b2f45['getDomRoot']()??void 0x0;}async['_getChecksList'](){const _0xdd3101=[..._0x31339c,...this['_getExtraChecks']()],_0x3dc5fa=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x3dc5fa,_0xdd3101);let _0x4ce7be=_0xdd3101;this['_hasDefaultAvailableCommands']||(_0x4ce7be=_0x3dc5fa['map'](_0x3c55a5=>_0xdd3101['find'](_0x3ea76b=>_0x3ea76b['id']===_0x3c55a5))['filter'](_0x446679=>!!_0x446679)),_0x4ce7be=_0x4ce7be['map'](_0x210b0a=>_0x210b0a['isExtra']?_0x210b0a:this['_translateReviewCheck'](_0x210b0a));const _0x51d407=_0x4ce7be['some'](_0x76175f=>_0x76175f['isExtra']||'custom'===_0x76175f['id']);let _0x4ede6a=[],_0x24e317=[],_0x2e671a=null;if(_0x51d407){const _0x103f58=await this['_getModels']();_0x4ede6a=_0x103f58['all'],_0x24e317=_0x103f58['recommended'],_0x2e671a=_0x103f58['default'];}const _0x2a5717=new AIReviewModeCheckList(_0x4ede6a,_0x24e317,_0x2e671a);return _0x2a5717['setupChecks'](_0x4ce7be),_0x51d407&&this['_filterChecksWithMissingModel'](_0x2a5717),_0x2a5717;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x4eefa4=>({'id':_0x4eefa4['id'],'commandId':_0x4eefa4['id'],'title':_0x4eefa4['label'],'description':_0x4eefa4['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x4eefa4['prompt'],'model':_0x4eefa4['model']}));}['_logErrorForNonExistentChecks'](_0x56c3e4,_0x245abb){const _0x3ea6d6=_0x56c3e4['filter'](_0x4d02b0=>!_0x245abb['some'](_0x5e051e=>_0x5e051e['id']===_0x4d02b0));_0x3ea6d6['length']&&this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x3ea6d6['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x372159=new _0x16c87e({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x372159['getAll'](),'recommended':await _0x372159['getAvailableModels'](),'default':await _0x372159['getDefault']()};}catch(_0x4736ae){return this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x4736ae)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x24411f){const _0x431864='AI_REVIEW_CHECK_'+_0x24411f['id']['toUpperCase']()['replaceAll']('-','_'),_0x506698={..._0x24411f,'title':this['_getTranslationWithDefault'](_0x431864+'_TITLE',_0x24411f['title']),'description':this['_getTranslationWithDefault'](_0x431864+'_DESCRIPTION',_0x24411f['description'])};return _0x24411f['options']&&(_0x506698['options']=_0x24411f['options']['map'](_0x3224f9=>({..._0x3224f9,'label':this['_getTranslationWithDefault'](_0x431864+'_OPTIONS_LABEL',_0x3224f9['label']||''),'data':_0x3224f9['data']?_0x3224f9['data']['map'](_0x44235c=>({..._0x44235c,'label':this['_getTranslationWithDefault'](_0x431864+'_OPTIONS_DATA_'+_0x44235c['id']['toUpperCase'](),_0x44235c['label'])})):void 0x0}))),_0x506698;}['_filterChecksWithMissingModel'](_0x1c2d5c){const _0x4e6166=[];_0x1c2d5c['checks']['forEach'](_0x3a83e0=>{(_0x3a83e0 instanceof AIReviewCheckExtra&&!_0x3a83e0['defaultModel']||_0x3a83e0 instanceof AIReviewCheckCustom&&!_0x3a83e0['models']['length'])&&_0x4e6166['push'](_0x3a83e0['id']);}),_0x4e6166['length']&&_0x4e6166['forEach'](_0x3aeb2b=>{_0x1c2d5c['removeCheckById'](_0x3aeb2b),this['_logError'](new _0x31c75c['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x3aeb2b}),!0x0);});}}class _0x402c1c extends _0x31c75c['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x9ba912,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x5847ab{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x3bd0d5){this['_checks']=_0x3bd0d5['map'](_0x18ecec=>new AITranslateCheck(_0x18ecec));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x1c9796,_0x5520f5,_0x1eaeb6,_0x55655e,_0x420786,_0x1ffcd5){super(_0x1c9796,_0x5520f5,_0x1eaeb6,_0x420786,_0x1ffcd5),this['_title']=_0x55655e;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x5ef844){super(_0x5ef844),this['context']['config']['define']('ai.translate.languages',[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}]);}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0xb97683,_0x1bae15){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x1bae15,this['_aiConnector'],Qt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0xb97683['params'],_0xb97683['args']);}['_onReviewCheckResultActivated'](_0x5726ec){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x5726ec['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x5726ec['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x3eff23){this['_currentReviewCheckRun']&&('hover'===_0x3eff23['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x3eff23['id'])),'click'===_0x3eff23['uiInteraction']&&this['_scrollToChange'](_0x3eff23['id']));}['_onDeactivateChange'](_0x2d73ed){this['_currentReviewCheckRun']&&'panel'===_0x2d73ed['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x586d1c,_0xc3bee){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0xc3bee['changeId']),this['_scrollToChange'](_0xc3bee['changeId']));}['_onChangeMarkerHovered'](_0x1956bc,_0x41d75d){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x41d75d['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x41d75d['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x3ca898){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x3ca898);}['_markChangePositionInEditorContent'](_0x4c5248,_0x5a4c70){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x4c5248,_0x5a4c70);}['_diffContent'](_0x4b3816,_0x3ce882,_0x3a3166){return this['_aiReviewCoreEditing']['diffContent'](_0x4b3816,_0x3ce882,_0x3a3166,!0x0);}['_onReviewCheckRun'](){for(const _0x518fd2 of this['_aiReviewCoreEditing']['getEditors']())_0x518fd2['editing']['view']['change'](_0x4e9fc5=>{for(const _0x38d0bc of _0x518fd2['editing']['view']['document']['getRoots']())_0x4e9fc5['addClass']('ck-ai-translate-mode-content',_0x38d0bc);});}async['_getChecksList'](){const _0x1bb31c=[],_0xa5c878=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x7ca4f0 of _0xa5c878)_0x1bb31c['push']({'title':_0x7ca4f0['label'],'id':_0x7ca4f0['id'],'commandId':_0x7ca4f0['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x7ca4f0['id']}});const _0x356132=new AITranslateCheckList();return _0x356132['setupChecks'](this['_translateChecks'](_0x1bb31c)),_0x356132;}['_translateChecks'](_0x2eceef){return _0x2eceef['map'](_0xa09ee1=>{const _0x4e637e='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0xa09ee1['title']['toUpperCase']()['replaceAll']('-','_');return{..._0xa09ee1,'title':this['_getTranslationWithDefault'](_0x4e637e,_0xa09ee1['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0xf578ec,_0x314af8){super(_0xf578ec,_0x314af8),this['on']('set:isLoading',(_0x132175,_0x6c5f86,_0x275da9)=>{_0x275da9&&(this['headerTitle']=Qt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x48d26e,_0x1b2aea,_0x592c9b)=>{_0x592c9b&&(this['headerTitle']=Qt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x3d8b7a=super['_createAcceptAllButtonView']();return _0x3d8b7a['set']('label',Qt(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x3d8b7a;}['_createExitReviewButtonView'](){const _0x466165=super['_createExitReviewButtonView']();return _0x466165['set']('label',Qt(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x466165;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x5dc988=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x5dc988['if']('isVisible','ck-hidden',_0x1bcf15=>!_0x1bcf15)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':Qt(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':Qt(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x5dc988['if']('isVisible','ck-hidden',_0x59a20d=>!_0x59a20d)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x294442{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x2a6076=this['context']['plugins']['get']('AITabs'),_0x1943c9=this['context']['locale'],_0x5d4b76=new _0x494418(_0x1943c9,{'label':Qt(_0x1943c9,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x31c75c['IconAITranslate'],'class':'ck-ai-header_review-translate','showResizeButton':_0x2a6076['showResizeButton']});_0x5d4b76['delegate']('resizeTabs')['to'](_0x2a6076),_0x5d4b76['bind']('isMaximized')['to'](_0x2a6076['view'],'isMaximized',_0xe900f=>_0xe900f);const _0x4572d6=new _0x5efb6c(_0x1943c9,{'header':_0x5d4b76,'list':new AITranslateCheckListView(_0x1943c9),'results':new AITranslateCheckResultsView(_0x1943c9,{'generalErrorText':Qt(_0x1943c9,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x1943c9,{'headerText':Qt(_0x1943c9,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':Qt(_0x1943c9,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':Qt(_0x1943c9,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x4572d6['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x4572d6;}['registerTab'](){const _0x279031=this['context']['plugins']['get']('AITabs');_0x279031['view']['on']('activateTab',(_0x51b1d9,{newTab:_0x3d69cd,oldTab:_0x3a6383})=>{'translate'===_0x3d69cd?this['fire']('getReviewCheckList'):'translate'===_0x3a6383&&this['fire']('leaveReview');}),_0x279031['view']['addTab']({'id':'translate','buttonLabel':Qt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x31c75c['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x31c75c['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x258147 extends _0x31c75c['Command']{['_transformCallback'];constructor(_0x12720c,_0x3a873b){super(_0x12720c),this['_transformCallback']=_0x3a873b;}['execute'](){const _0x2dd11d=this['editor']['model'],_0x4e4e15=Array['from'](this['_getAffectedRanges']()),_0x3a0fe6=Array['from'](_0x2dd11d['document']['selection']['getRanges']());_0x2dd11d['change'](_0x41ee52=>{for(const _0x411dfa of _0x4e4e15)this['_modifyContent'](_0x411dfa,_0x41ee52);_0x41ee52['setSelection'](_0x3a0fe6);});}['refresh'](){for(const _0xb6df7 of this['_getAffectedRanges']())for(const _0x1bd21a of _0xb6df7)if(_0x1bd21a['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x56b00f=this['editor']['model'],_0x3defd6=_0x56b00f['document']['selection'];if(_0x3defd6['isCollapsed']){const _0x3d3dd0=this['_findAncestorTextBlock'](_0x3defd6['getFirstPosition']()['parent']);return _0x3d3dd0?[_0x56b00f['createRangeIn'](_0x3d3dd0)]:[];}return _0x3defd6['getRanges']();}['_modifyContent'](_0x1c60f0,_0x2660f0){for(const _0xb77e52 of this['_getElementsAllowingText'](_0x1c60f0)){const _0x25c69f=this['_getElementTextContent'](_0xb77e52),_0x3a9690=this['_transformCallback'](_0x25c69f);for(const _0x1f7112 of this['_getTextNodesRangeLimited'](_0xb77e52,_0x1c60f0))this['_replaceTextNodeData'](_0x1f7112,_0x3a9690,_0x2660f0);}}['_findAncestorTextBlock'](_0x42f7e4){const _0x1e54aa=this['editor']['model']['schema'];if(_0x42f7e4['is']('element')&&_0x1e54aa['checkChild'](_0x42f7e4,'$text'))return _0x42f7e4;const _0x5e6e94=_0x42f7e4['parent'];return!_0x5e6e94||_0x1e54aa['isLimit'](_0x42f7e4)?null:this['_findAncestorTextBlock'](_0x5e6e94);}*['_getElementsAllowingText'](_0x1d9ab9){const _0x4142b2=new Set();for(const {item:_0xa10574}of _0x1d9ab9['getWalker']()){const _0x10c18c=this['_findAncestorTextBlock'](_0xa10574);_0x10c18c&&!_0x4142b2['has'](_0x10c18c)&&(_0x4142b2['add'](_0x10c18c),yield _0x10c18c);}}['_getElementTextContent'](_0x5a1675){return Array['from'](_0x5a1675['getChildren']())['reduce']((_0x4b09d3,_0x2a72aa)=>_0x4b09d3+(_0x2a72aa['is']('$text')?_0x2a72aa['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x1592ce,_0x366994){const _0xed4d78=_0x366994['getIntersection'](this['editor']['model']['createRangeIn'](_0x1592ce));if(_0xed4d78){for(const _0x39880f of _0xed4d78['getItems']())_0x39880f['is']('$textProxy')&&_0x39880f['parent']==_0x1592ce&&(yield _0x39880f);}}['_replaceTextNodeData'](_0x581cee,_0x237762,_0x2935c8){const _0x229415=_0x237762['substring'](_0x581cee['startOffset'],_0x581cee['endOffset']);if(_0x229415===_0x581cee['data'])return;const _0x227762=_0x581cee['getAttributes']();this['editor']['model']['insertContent'](_0x2935c8['createText'](_0x229415,_0x227762),_0x2935c8['createSelection'](_0x2935c8['createRangeOn'](_0x581cee)));}}function _0xc08d2e(_0x37103e,_0x30b0aa,..._0x20e115){const t=_0x37103e['t'];switch(_0x30b0aa){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x20e115);default:return _0x30b0aa;}}class CaseChangeEditing extends _0x31c75c['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x242dff=this['editor'],_0xa0e5f4=_0x242dff['locale']['contentLanguage'],_0x27b61b=function(_0x461ed1=[]){return'function'==typeof _0x461ed1?_0x461ed1:(_0x15c7ff,{wordIndex:_0x42c4c8})=>_0x42c4c8>0x0&&_0x461ed1['includes'](_0x15c7ff);}(_0x242dff['config']['get']('caseChange.titleCase.excludeWords')),_0x2eca40={'changeCaseUpper':new _0x258147(_0x242dff,_0x3a60f0=>_0x3a60f0['toLocaleUpperCase'](_0xa0e5f4)),'changeCaseLower':new _0x258147(_0x242dff,_0x42e34e=>_0x42e34e['toLocaleLowerCase'](_0xa0e5f4)),'changeCaseTitle':new _0x258147(_0x242dff,_0x41cc3b=>function(_0x3805eb,_0x3190cd,_0x16a0d2){return function(_0x1f05e1,_0x4b9220){let _0x250280='',_0x289f94=0x0,_0x375166=0x0;for(const _0x35d2cd of _0x1f05e1['matchAll'](/ +/g)){const _0x14b523=_0x35d2cd['index'],_0x11ecc4=_0x1f05e1['substring'](_0x289f94,_0x14b523);_0x11ecc4['length']&&(_0x250280+=_0x4b9220(_0x11ecc4,_0x289f94,_0x375166++)),_0x250280+=_0x35d2cd[0x0],_0x289f94=_0x14b523+_0x35d2cd[0x0]['length'];}const _0x3d49f1=_0x1f05e1['substring'](_0x289f94);return _0x3d49f1['length']&&(_0x250280+=_0x4b9220(_0x3d49f1,_0x289f94,_0x375166)),_0x250280;}(_0x3805eb,(_0x3fce40,_0x6ba24d,_0x9e4c6c)=>{const _0x1eea1d=_0x3fce40['toLocaleLowerCase'](_0x16a0d2);return _0x3190cd(_0x1eea1d,{'charOffset':_0x6ba24d,'wordIndex':_0x9e4c6c,'blockText':_0x3805eb})?_0x1eea1d:_0x1eea1d['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0xb7717a=>_0xb7717a['toLocaleUpperCase'](_0x16a0d2));});}(_0x41cc3b,_0x27b61b,_0xa0e5f4))};for(const [_0x3203da,_0x5dc371]of Object['entries'](_0x2eca40))_0x242dff['commands']['add'](_0x3203da,_0x5dc371),_0x5dc371['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x3203da);});this['listenTo'](_0x242dff['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x242dff['keystrokes']['set']('shift+f3',(_0x526899,_0x12fd50)=>{const _0x487689=_0x42381f(this['editor']['locale']),_0x204244=_0x487689[this['_currentCommandIndex']%_0x487689['length']]['commandName'];_0x242dff['execute'](_0x204244),this['_currentCommandIndex']++,_0x12fd50();});}['afterInit'](){!async function(_0x43a8f6){const _0x3d9d03=_0x1699ac([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x13bb93=0x334129cd,_0x1effdb=0x3346a3a5^_0x13bb93,_0x53a75c=window[_0x1699ac([0x44,0x61,0x74,0x65])][_0x1699ac([0x6e,0x6f,0x77])](),_0x464f31=_0x43a8f6[_0x1699ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4331d8=new window[(_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c7a7b=>{_0x464f31[_0x1699ac([0x6f,0x6e,0x63,0x65])](_0x1699ac([0x72,0x65,0x61,0x64,0x79]),_0x3c7a7b);}),_0x5960fc={[_0x1699ac([0x6b,0x74,0x79])]:_0x1699ac([0x45,0x43]),[_0x1699ac([0x75,0x73,0x65])]:_0x1699ac([0x73,0x69,0x67]),[_0x1699ac([0x63,0x72,0x76])]:_0x1699ac([0x50,0x2d,0x32,0x35,0x36]),[_0x1699ac([0x78])]:_0x1699ac([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1699ac([0x79])]:_0x1699ac([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1699ac([0x61,0x6c,0x67])]:_0x1699ac([0x45,0x53,0x32,0x35,0x36])},_0x25800c=_0x464f31[_0x1699ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1699ac([0x67,0x65,0x74])](_0x1699ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38b025(){let _0x2c8722,_0x2005af=null,_0x31e653=null;try{if(_0x25800c==_0x1699ac([0x47,0x50,0x4c]))return _0x1699ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c8722=_0x156ba1(),!_0x2c8722)return _0x1699ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c8722[_0x1699ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31e653=_0x2327ae(_0x2c8722[_0x1699ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c8722[_0x1699ac([0x6a,0x74,0x69])])),await _0x350c6b()?_0x2beab3()?_0x247853()?_0x1699ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ab2f4()?(_0x2c8722[_0x1699ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1699ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2005af=_0x5a89ba(_0x1699ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1487fc()):_0x1699ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1699ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1699ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1699ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x247853(){const _0x1b1e9f=[_0x1699ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1699ac([0x74,0x72,0x69,0x61,0x6c])][_0x1699ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c8722[_0x1699ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53a75c/0x3e8:0xe10*_0x1effdb;return _0x2c8722[_0x1699ac([0x65,0x78,0x70])]<_0x1b1e9f;}function _0x2beab3(){const _0x2ac493=_0x2c8722[_0x1699ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ac493&&(!!_0x2ac493[_0x1699ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1699ac([0x2a]))||(!!_0x2ac493[_0x1699ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1699ac([0x43,0x43]))||!!_0x2ac493[_0x1699ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1699ac([0x50,0x50]))));}function _0x5ab2f4(){const _0x24c611=_0x2c8722[_0x1699ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24c611||0x0==_0x24c611[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcc7144}=new URL(window[_0x1699ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24c611[_0x1699ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcc7144))return!0x0;const _0x5bd356=_0xcc7144[_0x1699ac([0x73,0x70,0x6c,0x69,0x74])](_0x1699ac([0x2e]));return _0x24c611[_0x1699ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37c3b1=>_0x37c3b1[_0x1699ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1699ac([0x2a])))[_0x1699ac([0x6d,0x61,0x70])](_0x53d404=>_0x53d404[_0x1699ac([0x73,0x70,0x6c,0x69,0x74])](_0x1699ac([0x2e])))[_0x1699ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bfe45=>_0x5bfe45[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bd356[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1699ac([0x6d,0x61,0x70])](_0x43fd6e=>Array(_0x5bd356[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43fd6e[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1699ac([0x66,0x69,0x6c,0x6c])](_0x43fd6e[0x0]===_0x1699ac([0x2a])?_0x1699ac([0x2a]):'')[_0x1699ac([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43fd6e))[_0x1699ac([0x73,0x6f,0x6d,0x65])](_0x90490=>_0x5bd356[_0x1699ac([0x65,0x76,0x65,0x72,0x79])]((_0x51bcb4,_0x462631)=>_0x90490[_0x462631]===_0x51bcb4||_0x90490[_0x462631]===_0x1699ac([0x2a])));}function _0x1487fc(){return _0x2005af&&_0x31e653?new window[(_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5307e3,_0x386d42)=>{_0x2005af[_0x1699ac([0x74,0x68,0x65,0x6e])](_0x5307e3,_0x386d42),_0x31e653[_0x1699ac([0x74,0x68,0x65,0x6e])](_0x1eb17e=>{_0x1eb17e!=_0x1699ac([0x56,0x61,0x6c,0x69,0x64])&&_0x5307e3(_0x1eb17e);},_0x386d42);}):_0x2005af||_0x31e653||_0x1699ac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2327ae(_0x274a96,_0x3ccca6){return new window[(_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x456d8c=>{if(_0x1116f9())return _0x456d8c(_0x1699ac([0x56,0x61,0x6c,0x69,0x64]));_0x33c1f2(),_0x464f31[_0x1699ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1699ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26b041=!0x1;const _0x48a9f2=_0x31c75c['uid']();function _0x473b21(_0x3518e4){return!!_0x3518e4&&(typeof _0x3518e4===_0x1699ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3518e4===_0x1699ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3518e4[_0x1699ac([0x74,0x68,0x65,0x6e])]===_0x1699ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3518e4[_0x1699ac([0x63,0x61,0x74,0x63,0x68])]===_0x1699ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x121b18(_0x7e69b9){_0xaa81b5(_0x7e69b9)[_0x1699ac([0x74,0x68,0x65,0x6e])](_0x117dc8=>{if(!_0x117dc8||_0x117dc8[_0x1699ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1699ac([0x6f,0x6b]))return _0x1699ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x439694(_0x391b78(_0x48a9f2+_0x3ccca6))!=_0x117dc8[_0x1699ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1699ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1699ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x1699ac([0x74,0x68,0x65,0x6e])](_0x5bffa9=>(_0x23cfeb(),_0x5bffa9),()=>{const _0x2927ba=_0x59cf1f();return null==_0x2927ba?(_0x23cfeb(),_0x1699ac([0x56,0x61,0x6c,0x69,0x64])):_0x1699ac(_0x53a75c-_0x2927ba>(0x174dadcd^_0x13bb93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1699ac([0x74,0x68,0x65,0x6e])](_0x456d8c)[_0x1699ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x456d8c(_0x1699ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x498802=0x3377c74d^_0x13bb93;function _0x23cfeb(){const _0x3c1021=_0x1699ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x439694(_0x391b78(_0x274a96)),_0x2b1db9=_0xbefdda(_0x439694(window[_0x1699ac([0x4d,0x61,0x74,0x68])][_0x1699ac([0x63,0x65,0x69,0x6c])](_0x53a75c/_0x498802)));window[_0x1699ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1699ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c1021,_0x2b1db9);}function _0x59cf1f(){const _0x1eaff6=_0x1699ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x439694(_0x391b78(_0x274a96)),_0x49f0f0=window[_0x1699ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1699ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1eaff6);return _0x49f0f0?window[_0x1699ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbefdda(_0x49f0f0),0x10)*_0x498802:null;}function _0xaa81b5(_0x385fee){return new window[(_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362dab,_0x573049)=>{_0x385fee[_0x1699ac([0x74,0x68,0x65,0x6e])](_0x362dab,_0x573049),window[_0x1699ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x573049,0x3340fd0d^_0x13bb93);});}}_0x464f31[_0x1699ac([0x6f,0x6e])](_0x1699ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a94d6,_0x5eadce)=>{if(_0x5eadce[0x0]!=_0x274a96)return _0x456d8c(_0x1699ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5eadce[0x1]={..._0x5eadce[0x1],[_0x1699ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48a9f2};},{[_0x1699ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1699ac([0x68,0x69,0x67,0x68])}),_0x464f31[_0x1699ac([0x6f,0x6e])](_0x1699ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc17390=>{_0x473b21(_0xc17390[_0x1699ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26b041=!0x0,_0x121b18(_0xc17390[_0x1699ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1699ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1699ac([0x6c,0x6f,0x77])}),_0x4331d8[_0x1699ac([0x74,0x68,0x65,0x6e])](()=>{_0x26b041||_0x456d8c(_0x1699ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1116f9(){return _0x464f31[_0x1699ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1699ac([0x76,0x69,0x65,0x77])][_0x1699ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1699ac([0x61,0x75,0x74,0x6f]);}function _0x33c1f2(){_0x464f31[_0x1699ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1699ac([0x76,0x69,0x65,0x77])][_0x1699ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1699ac([0x61,0x75,0x74,0x6f]);}}function _0x5a89ba(_0x159e97){const _0x4fa33c=[new window[(_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbb9037=>setTimeout(_0xbb9037,0x33481701^_0x13bb93)),_0x4331d8[_0x1699ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19d5e2=>{let _0x5f5d78=0x0;_0x464f31[_0x1699ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1699ac([0x6f,0x6e])](_0x1699ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d92d1,_0x2c4dc7)=>{_0x2c4dc7[0x0][_0x1699ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f5d78++,_0x5f5d78==(0x33412c25^_0x13bb93)&&(_0x19d5e2(),_0x3d92d1[_0x1699ac([0x6f,0x66,0x66])]());});}))];return window[_0x1699ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1699ac([0x72,0x61,0x63,0x65])](_0x4fa33c)[_0x1699ac([0x74,0x68,0x65,0x6e])](()=>_0x159e97);}async function _0x210df0(){await _0x4331d8,_0x464f31[_0x1699ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1699ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5811eb,_0x464f31[_0x1699ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1699ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5811eb,_0x464f31[_0x1699ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1699ac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2eb834(_0x176f9e){const _0x28476b=_0x14d571();_0x464f31[_0x28476b]=_0x1699ac([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x176f9e,_0x176f9e!=_0x1699ac([0x56,0x61,0x6c,0x69,0x64])&&_0x210df0();}function _0x14d571(){const _0x4273a6=window[_0x1699ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1699ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1699ac([0x6e,0x6f,0x77])]())[_0x1699ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1699ac([0x2e]),'');let _0x560caa=_0x1699ac([0x45]);for(let _0x3bad8b=0x0;_0x3bad8b<_0x4273a6[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bad8b+=0x2){let _0x3c615a=window[_0x1699ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4273a6[_0x1699ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bad8b,_0x3bad8b+0x2));_0x3c615a>=_0x3d9d03[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c615a-=_0x3d9d03[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x560caa+=_0x3d9d03[_0x3c615a];}return _0x560caa;}function _0x156ba1(){const _0x3e3de9=_0x25800c[_0x1699ac([0x73,0x70,0x6c,0x69,0x74])](_0x1699ac([0x2e]));if(0x3!=_0x3e3de9[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5574e4(_0x3e3de9[0x1]);function _0x5574e4(_0x8d8bee){const _0x2fa87a=_0x761848(_0x8d8bee);return _0x2fa87a&&_0x4b51e4()?_0x2fa87a:null;function _0x4b51e4(){const _0x28e400=_0x2fa87a[_0x1699ac([0x6a,0x74,0x69])],_0x3e6e3b=window[_0x1699ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28e400[_0x1699ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28e400[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6cdd54={..._0x2fa87a,[_0x1699ac([0x6a,0x74,0x69])]:_0x28e400[_0x1699ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28e400[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6cdd54[_0x1699ac([0x76,0x63])],_0x391b78(_0x6cdd54)==_0x3e6e3b;}}}async function _0x350c6b(){let _0x134454=!0x0;try{const _0x4daf97=_0x25800c[_0x1699ac([0x73,0x70,0x6c,0x69,0x74])](_0x1699ac([0x2e])),[_0x301881,_0x16c5a9,_0x425c2e]=_0x4daf97;return _0x1f2034(_0x301881),await _0x240e24(_0x301881,_0x16c5a9,_0x425c2e),_0x134454;}catch{return!0x1;}function _0x1f2034(_0x5b82d1){const _0x5e7006=_0x761848(_0x5b82d1);_0x5e7006&&_0x5e7006[_0x1699ac([0x61,0x6c,0x67])]==_0x1699ac([0x45,0x53,0x32,0x35,0x36])||(_0x134454=!0x1);}async function _0x240e24(_0x53033e,_0x2778c6,_0x2af271){const _0x5cc1bd=window[_0x1699ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1699ac([0x66,0x72,0x6f,0x6d])](_0x1d3786(_0x2af271),_0x8badeb=>_0x8badeb[_0x1699ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa8eed3=new window[(_0x1699ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1699ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53033e+_0x1699ac([0x2e])+_0x2778c6),_0x2754f2=window[_0x1699ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1699ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2754f2)return;const _0x87bfed=await _0x2754f2[_0x1699ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1699ac([0x6a,0x77,0x6b]),_0x5960fc,{[_0x1699ac([0x6e,0x61,0x6d,0x65])]:_0x1699ac([0x45,0x43,0x44,0x53,0x41]),[_0x1699ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1699ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1699ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2754f2[_0x1699ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1699ac([0x6e,0x61,0x6d,0x65])]:_0x1699ac([0x45,0x43,0x44,0x53,0x41]),[_0x1699ac([0x68,0x61,0x73,0x68])]:{[_0x1699ac([0x6e,0x61,0x6d,0x65])]:_0x1699ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x87bfed,_0x5cc1bd,_0xa8eed3)||(_0x134454=!0x1);}}function _0x761848(_0x202f5f){return _0x202f5f[_0x1699ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1699ac([0x65,0x79]))?JSON[_0x1699ac([0x70,0x61,0x72,0x73,0x65])](_0x1d3786(_0x202f5f)):null;}function _0x1d3786(_0xf508c0){return window[_0x1699ac([0x61,0x74,0x6f,0x62])](_0xf508c0[_0x1699ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1699ac([0x2b]))[_0x1699ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1699ac([0x2f])));}function _0x391b78(_0x1b1f91){let _0x3de048=0x1505;function _0x257302(_0x21c466){for(let _0x40bce2=0x0;_0x40bce2<_0x21c466[_0x1699ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40bce2++){const _0xec4d3e=_0x21c466[_0x1699ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40bce2);_0x3de048=(_0x3de048<<0x5)+_0x3de048+_0xec4d3e,_0x3de048&=_0x3de048;}}function _0x3a861b(_0xd9403d){Array[_0x1699ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd9403d)?_0xd9403d[_0x1699ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a861b):_0xd9403d&&typeof _0xd9403d==_0x1699ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1699ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd9403d)[_0x1699ac([0x73,0x6f,0x72,0x74])]()[_0x1699ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa157bc,_0x431cf6])=>{_0x257302(_0xa157bc),_0x3a861b(_0x431cf6);}):_0x257302(window[_0x1699ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd9403d));}return _0x3a861b(_0x1b1f91),_0x3de048>>>0x0;}function _0x439694(_0x30acbb){return _0x30acbb[_0x1699ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1699ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1699ac([0x30]));}function _0xbefdda(_0x4e0fbb){return _0x4e0fbb[_0x1699ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1699ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1699ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x5811eb(){}function _0x1699ac(_0x2e52dc){return _0x2e52dc['map'](_0x3be38f=>String['fromCharCode'](_0x3be38f))['join']('');}_0x2eb834(await _0x38b025());}(this);}['_announceCaseChangeOperation'](_0x553483){const {ui:_0x1cbc90,locale:_0x3afae2}=this['editor'],_0xd8396a=_0x42381f(_0x3afae2)['find'](_0x57aabe=>_0x57aabe['commandName']===_0x553483)['label']['toLowerCase']();_0x1cbc90['ariaLiveAnnouncer']['announce'](_0xc08d2e(_0x3afae2,'Changed\x20case\x20to\x20%0',_0xd8396a));}}function _0x42381f(_0x8d458a){return[{'label':_0xc08d2e(_0x8d458a,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':_0xc08d2e(_0x8d458a,'lowercase'),'commandName':'changeCaseLower'},{'label':_0xc08d2e(_0x8d458a,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class _0x5cc63b extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x53ad18=this['editor'];this['_registerComponents'](),_0x53ad18['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0xc08d2e(_0x53ad18['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3406ac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f2405;for(const _0x264bc5 in _0x3406ac){const _0x2a8525=_0x264bc5,_0x485c5b=_0x3406ac[_0x2a8525];if('caseChangeLicenseKeyValid'==_0x485c5b||'caseChangeLicenseKeyInvalid'==_0x485c5b||'caseChangeLicenseKeyExpired'==_0x485c5b||'caseChangeLicenseKeyDomainLimit'==_0x485c5b||'caseChangeLicenseKeyNotAllowed'==_0x485c5b||'caseChangeLicenseKeyEvaluationLimit'==_0x485c5b||'caseChangeLicenseKeyUsageLimit'==_0x485c5b){delete _0x3406ac[_0x2a8525],_0x1f2405=_0x485c5b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x1f2405&&_0x3406ac['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x1f2405&&_0x3406ac['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x1f2405&&_0x3406ac['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x1f2405&&_0x3406ac['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x1f2405&&_0x3406ac['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x1f2405&&_0x3406ac['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x48aed7=this['editor'],{itemDefinitions:_0x44af3e,commands:_0xaadd44}=this['_getListItemDefinitionsAndCommands']();_0x48aed7['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x44af3e,_0xaadd44)),_0x48aed7['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x44af3e,_0xaadd44));}['_createMenuBarMenuView'](_0x44701c,_0x280fd7){const _0x3acc7d=this['editor'],_0x50b55=_0x3acc7d['locale'],_0x4f7fe9=new _0x31c75c['MenuBarMenuView'](_0x50b55),_0x5cde13=new _0x31c75c['MenuBarMenuListView'](_0x50b55);_0x5cde13['set']({'ariaLabel':_0xc08d2e(_0x50b55,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x4f7fe9['buttonView']),_0x4f7fe9['bind']('isEnabled')['toMany'](_0x280fd7,'isEnabled',(..._0x586dfe)=>_0x586dfe['some'](_0x300506=>_0x300506));for(const _0x35f6d6 of _0x44701c){const _0x367165=new _0x31c75c['MenuBarMenuListItemView'](_0x50b55,_0x4f7fe9),_0x34f312=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x50b55);_0x34f312['delegate']('execute')['to'](_0x4f7fe9),_0x34f312['bind'](...Object['keys'](_0x35f6d6['model']))['to'](_0x35f6d6['model']),_0x34f312['on']('execute',()=>{_0x3acc7d['execute'](_0x35f6d6['model']['commandName']),_0x3acc7d['editing']['view']['focus']();}),_0x367165['children']['add'](_0x34f312),_0x5cde13['items']['add'](_0x367165);}return _0x4f7fe9['panelView']['children']['add'](_0x5cde13),_0x4f7fe9;}['_createDropdownView'](_0x391c98,_0x37eade){const _0x369ee7=this['editor'],_0x3a57e4=_0x31c75c['createDropdown'](_0x369ee7['locale']);return this['_setButtonProperties'](_0x3a57e4['buttonView']),_0x3a57e4['buttonView']['set']({'tooltip':!0x0}),_0x3a57e4['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x31c75c['addListToDropdown'](_0x3a57e4,_0x391c98,{'ariaLabel':_0xc08d2e(_0x369ee7['locale'],'Case\x20change'),'role':'menu'}),_0x3a57e4['bind']('isEnabled')['toMany'](_0x37eade,'isEnabled',(..._0x20fe08)=>_0x20fe08['some'](_0x469982=>_0x469982)),this['listenTo'](_0x3a57e4,'execute',_0xc66c93=>{_0x369ee7['execute'](_0xc66c93['source']['commandName']),_0x369ee7['editing']['view']['focus']();}),_0x3a57e4;}['_setButtonProperties'](_0x2876ce){const _0x324e21=this['editor'];_0x2876ce['set']({'label':_0xc08d2e(_0x324e21['locale'],'Case\x20change'),'icon':_0x31c75c['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x1082a8=new _0x31c75c['Collection'](),_0x22d14f=[];for(const _0x1066e4 of _0x42381f(this['editor']['locale'])){const _0x35ba38=this['editor']['commands']['get'](_0x1066e4['commandName']),_0x3a9e14=new _0x31c75c['UIModel']({'commandName':_0x1066e4['commandName'],'label':_0x1066e4['label'],'role':'menuitemradio','withText':!0x0});_0x3a9e14['bind']('isEnabled')['to'](_0x35ba38,'isEnabled'),_0x1082a8['add']({'type':'button','model':_0x3a9e14}),_0x22d14f['push'](_0x35ba38);}return{'itemDefinitions':_0x1082a8,'commands':_0x22d14f};}}class _0x1d51ef extends _0x31c75c['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x5cc63b];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['model'];['view'];constructor(_0x347a38,_0x49e261){super(),this['model']=_0x347a38,this['model']['_isAttached']=!0x0,this['view']=_0x49e261,this['listenTo'](_0x49e261,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x49e261,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x49e261,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x49e261,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x49e261,'addComment',(_0x278df8,_0x3d7a75)=>this['addComment'](_0x3d7a75)),this['listenTo'](_0x49e261,'updateComment',(_0x3eacdc,_0x29b8df,_0x453021)=>this['updateComment'](_0x29b8df,_0x453021)),this['listenTo'](_0x49e261,'removeComment',(_0x4a9b46,_0x28a1e5)=>this['removeComment'](_0x28a1e5));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x455e04){this['model']['addComment']({'content':_0x455e04,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x311235,_0x3e68b3){this['model']['getComment'](_0x311235)['update']({'content':_0x3e68b3});}['removeComment'](_0x288bdd){this['model']['getComment'](_0x288bdd)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function _0x58309f(_0x56f210,_0x424d62,_0x3fd18d){const t=_0x56f210['t'];switch(_0x424d62){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x3fd18d);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x3fd18d);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x3fd18d);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x3fd18d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3fd18d);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x3fd18d);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3fd18d);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3fd18d);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}class CommentEditorUIView extends _0x31c75c['EditorUIView']{['main'];['editable'];constructor(_0x235996,_0x48ce45){super(_0x235996);const _0x1db534=_0x31c75c['uid']();this['main']=this['createCollection'](),this['editable']=new _0x31c75c['InlineEditableUIView'](_0x235996,_0x48ce45,void 0x0,{'label':()=>_0x58309f(_0x235996,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x235996['uiLanguageDirection'],'lang':_0x235996['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x1db534},'children':[{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}}class CommentEditorUI extends _0x31c75c['EditorUI']{['view'];constructor(_0x2b2994){super(_0x2b2994),this['view']=new CommentEditorUIView(_0x2b2994['locale'],_0x2b2994['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x43471e=this['editor']['editing']['view'],_0x5c7dec=this['view']['editable'],_0x29a799=_0x43471e['document']['getRoot']();_0x5c7dec['name']=_0x29a799['rootName'],this['view']['render']();const _0x5cb3e2=_0x5c7dec['element'];this['setEditableElement'](_0x5c7dec['name'],_0x5cb3e2),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x43471e['attachDomRoot'](_0x5cb3e2),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const _0x45084f=[_0x31c75c['Clipboard'],_0x31c75c['Enter'],_0x31c75c['ShiftEnter'],_0x31c75c['SelectAll'],_0x31c75c['Typing'],_0x31c75c['Undo'],_0x31c75c['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](_0x31c75c['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>_0x45084f)());constructor(_0x57e7b1={}){function _0x3bff1b(_0x2424ad){return _0x2424ad['map'](_0x4b37bd=>String['fromCharCode'](_0x4b37bd))['join']('');}(_0x57e7b1=Object['assign']({},_0x57e7b1))['plugins']||(_0x57e7b1['plugins']=CommentEditor['defaultPlugins']),super(_0x57e7b1),this['ui']=new CommentEditorUI(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this[_0x3bff1b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bff1b([0x76,0x69,0x65,0x77])][_0x3bff1b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bff1b([0x61,0x75,0x74,0x6f]),this[_0x3bff1b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3bff1b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bff1b([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3bff1b([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3bff1b([0x6f,0x6b])});}['create'](){const _0x280acc=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x280acc))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x83c6f=>{const _0x2ad48c=this['model']['document']['getRoot'](),_0x431a3e=_0x2ad48c&&_0x2ad48c['getChild'](_0x2ad48c['childCount']-0x1);_0x83c6f['setSelection'](_0x431a3e,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x3f5790=this['editing']['view'],_0x38aa05=_0x3f5790['document']['getRoot'](),_0x58a1e0=_0x38aa05['getChild'](0x0);_0x38aa05['childCount']>0x1||!_0x58a1e0||'p'!=_0x58a1e0['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x31c75c['disableViewPlaceholder'](_0x3f5790,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x58a1e0['placeholder']=this['placeholder']),_0x31c75c['enableViewPlaceholder']({'view':_0x3f5790,'element':_0x58a1e0,'keepOnFocus':!0x0}),this['placeholderElement']=_0x58a1e0);}}class CommentInputView extends _0x31c75c['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x48f31c,_0xeb0624={}){super(_0x48f31c),this['editor']=null,this['_editorConfig']=_0xeb0624,this['set']('value',_0xeb0624['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',_0x58309f(_0x48f31c,'Reply...')),this['set']('submitLabel',_0x58309f(_0x48f31c,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2bfb64=>!_0x2bfb64['defaultPrevented']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x1c67c3,_0x49f41f)=>{this['cancelButtonView']['fire']('execute'),_0x49f41f();}),this['keystrokes']['set']('Ctrl+Enter',(_0x39195f,_0x47f221)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x47f221());}),this['on']('submit',(_0x20953d,_0x6df399)=>{_0x6df399['length']>0xfde8?(alert(_0x58309f(_0x48f31c,'TOO_LONG_COMMENT_ALERT',[_0x6df399['length'],0xfde8])),_0x20953d['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new CommentEditor(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x2768c4=this['editor'];this['element']['insertBefore'](_0x2768c4['ui']['element'],this['element']['firstChild']),_0x2768c4['model']['document']['on']('change',()=>this['value']=_0x2768c4['getData']()),_0x2768c4['bind']('placeholder')['to'](this),this['focusables']['add'](_0x2768c4['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x3e9e7f){-0x1===_0x3e9e7f?(this['focusCycler']['focusFirst'](),this['focusCycler']['focusLast']()):this['focusCycler']['focusFirst']();}async['destroy'](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this['fire']('editorDestroyed',this['editor'])),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x589c24}=this,_0x3385c1=new _0x31c75c['ButtonView'](_0x589c24);return _0x3385c1['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x3385c1['withText']=!0x0,_0x3385c1['bind']('label')['to'](this,'submitLabel'),_0x3385c1['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x3385c1['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x42bd81,_0xd969bf)=>!_0xd969bf&&!!_0x42bd81['trim']()),_0x3385c1;}['_createCancelButton'](){const {locale:_0x5e45e2}=this,_0x37febf=new _0x31c75c['ButtonView'](_0x5e45e2);return _0x37febf['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x37febf['label']=_0x58309f(_0x5e45e2,'Cancel'),_0x37febf['withText']=!0x0,_0x37febf['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x37febf;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x2cdc6e=>{this['focusTracker']['add'](_0x2cdc6e['element']);}),this['focusables']['on']('change',(_0x37d321,_0x73ad4b)=>{for(const _0x420f8f of Array['from'](_0x73ad4b['added'])['reverse']())this['focusTracker']['add'](_0x420f8f['element']);});}}class CommentThreadInputView extends _0x31c75c['View']{constructor(_0x41968f,_0x1dcb3b,_0x2b753f){super(_0x41968f),this['commentInputView']=new CommentInputView(_0x41968f,_0x2b753f),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x2cc41d,_0x1371dd)=>_0x2cc41d||!!_0x1371dd),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView']['editor']&&this['commentInputView']['createEditor']();}),this['commentInputView']['delegate']('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new _0x4a5e55(_0x41968f,_0x1dcb3b),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user','aria-hidden':!0x0}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['render'](){super['render'](),this['_focusOnNonInteractiveMouseDown']();}['destroy'](){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}['focus'](_0x613147){this['commentInputView']['focus'](_0x613147);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x328544,_0x59af7a)=>{const {submitButtonView:_0x429a53,cancelButtonView:_0x4ce8a1,editor:_0x3a980c}=this['commentInputView'],_0x4e5fe9=[_0x429a53['element'],_0x4ce8a1['element'],_0x3a980c?_0x3a980c['editing']['view']['getDomRoot']():null]['filter'](_0x24913d=>_0x24913d)['some'](_0x3c2181=>_0x3c2181['contains'](_0x59af7a['target']));_0x4e5fe9||(this['focus'](),_0x59af7a['preventDefault']());});}}class CollapsedCommentsView extends _0x31c75c['View']{constructor(_0x2b670b){super(_0x2b670b);const _0x5904c0=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x5904c0['to']('count',_0x3e7c1d=>_0x58309f(_0x2b670b,'NUMBER_OF_COMMENTS',_0x3e7c1d))}]});}}class CommentsListView extends _0x31c75c['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x58f75d,_0x4317a8,_0x2d0e80){super(_0x58f75d);const _0x4128fb=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x4317a8['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x4317a8,this['_config']=_0x2d0e80,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x103a87=>this['commentViews']['map'](_0x1bb81e=>_0x1bb81e['element'])['includes'](_0x103a87['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x58f75d),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x916cb9=>_0x916cb9-this['_config']['maxCommentsWhenCollapsed']);for(const _0x40d7c1 of _0x4317a8['comments'])this['_handleNewCommentModel'](_0x40d7c1);this['_handleInfoComment'](),this['listenTo'](_0x4317a8['comments'],'add',(_0x318c86,_0x127c90)=>{const _0x203a33=this['_calculatePosition'](_0x127c90);this['length']++,this['_handleNewCommentModel'](_0x127c90,_0x203a33),this['refreshVisibleViews']();}),this['listenTo'](_0x4317a8['comments'],'remove',(_0x574bc7,_0x24f65d)=>{this['length']--,this['_handleRemoveCommentModel'](_0x24f65d),this['refreshVisibleViews']();}),this['listenTo'](_0x4317a8,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x4317a8,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments',_0x4128fb['if']('length','ck-hidden',_0x27519f=>!_0x27519f)],'aria-label':_0x58309f(_0x58f75d,'Thread\x20comments')},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews'](),this['_setupKeyboardNavigation']();}['focus'](_0x390bc3){-0x1===_0x390bc3?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x36ac28 of this['commentViews'])_0x36ac28['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x1d5a13,_0x2771e3){const _0x17367f=new this['_config']['CommentView'](this['locale'],_0x1d5a13,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x17367f['viewUid']=_0x1d5a13['id'],_0x17367f['delegate']('removeComment')['to'](this),_0x17367f['delegate']('updateComment')['to'](this),_0x17367f['delegate']('resolveCommentThread')['to'](this),_0x17367f['delegate']('editorReady')['to'](this),_0x17367f['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x17367f,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x17367f,_0x2771e3);}['_calculatePosition'](_0x126ea1){const _0x1605e4=this['_model']['_findOptimalIndex'](_0x126ea1);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x126ea1['authoredAt']?_0x1605e4-0x1:_0x1605e4:_0x1605e4-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0xbe3ef3={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':_0x58309f(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0xbe3ef3,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0xbe3ef3));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x4af926){const _0x1c01ad=this['commentViews']['remove'](_0x4af926['id']);this['stopListening'](_0x1c01ad),_0x1c01ad['isEditMode']&&this['_updateHasDirtyComment'](),_0x1c01ad['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x4e409c=>_0x4e409c['isEditMode']);}['_rearrangeCollapse'](){const _0x1e0865=function(_0x24d00c){const _0x50caec=new _0x31c75c['Collection']();for(const _0x3ae203 of _0x24d00c)_0x50caec['add'](_0x3ae203);return _0x50caec;}(this['commentViews']),_0x296e64=this['_collapsedCommentsView']['count'];for(let _0x358351=0x1;_0x358351<=_0x296e64;_0x358351++)_0x1e0865['remove'](0x1);for(const _0x453487 of _0x1e0865)_0x453487['collapse']();_0x296e64>0x0&&_0x1e0865['add'](this['_collapsedCommentsView'],0x1),_0x26c5d0(_0x31c75c['diff'](Array['from'](this['visibleViews']),Array['from'](_0x1e0865)),this['visibleViews'],_0x1e0865);}['_rearrangeExpand'](){_0x26c5d0(_0x31c75c['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x335ee4 of this['visibleViews'])_0x335ee4['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0xccbc56=>{this['focusTracker']['add'](_0xccbc56['element']),this['keystrokes']['listenTo'](_0xccbc56['element']);}),this['commentViews']['on']('change',(_0x5f65ca,_0x4f4ea2)=>{for(const _0x5b06b5 of _0x4f4ea2['removed'])this['focusTracker']['remove'](_0x5b06b5['element']),this['keystrokes']['stopListening'](_0x5b06b5['element']);for(const _0x300d3a of Array['from'](_0x4f4ea2['added'])['reverse']())this['focusTracker']['add'](_0x300d3a['element']),this['keystrokes']['listenTo'](_0x300d3a['element']);});}}function _0x26c5d0(_0x53529f,_0x4cc32b,_0x2bce57){let _0x4122f1=0x0;for(const _0x898e4d of _0x53529f)switch(_0x898e4d){case'insert':_0x4cc32b['add'](_0x2bce57['get'](_0x4122f1),_0x4122f1),_0x4122f1++;break;case'delete':_0x4cc32b['remove'](_0x4122f1);break;case'equal':_0x4122f1++;}}class CommentThreadHeaderContextView extends _0x31c75c['View']{constructor(_0xcd4501){super(_0xcd4501);const _0x25a755=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x25a755['to']('contextValue',_0x31c0c8=>_0x58309f(_0xcd4501,'THREAD_CONTEXT_LABEL',_0x31c0c8)),'tabindex':-0x1},'children':[{'text':_0x25a755['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0x31c75c['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0xb72b41,_0x4786f5){super(_0xb72b41);const _0x4d6b26=this['bindTemplate'];this['_model']=_0x4786f5,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x5a6bf2=>!!_0x5a6bf2),this['bind']('contextValue')['to'](this['_model'],'context',_0x53f4cb=>_0x53f4cb&&_0x53f4cb['value']?this['_trimContextValue'](_0x53f4cb['value']):_0x58309f(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x4d6b26['if']('hasContext','ck-context--quotes')]},'children':[this['contextView']]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_createReopenButton'](){const _0x5338bd=new _0x31c75c['ButtonView'](this['locale']);return _0x5338bd['label']=_0x58309f(this['locale'],'Reopen'),_0x5338bd['tooltip']=_0x58309f(this['locale'],'Reopen'),_0x5338bd['icon']=_0x31c75c['IconUndo'],_0x5338bd['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3f1a72=>!_0x3f1a72),_0x5338bd['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x70f6af,_0x1fd21f)=>_0x70f6af&&_0x1fd21f),_0x5338bd['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x5338bd;}['_trimContextValue'](_0x45de36){if(_0x45de36['length']<0x96)return _0x45de36;const _0xc4577b=_0x45de36['lastIndexOf']('\x20',0x93);return _0x45de36['substring'](0x0,_0xc4577b>-0x1?_0xc4577b:0x93)+'...';}['_attachContextActions'](){const _0xbc3ef6=this['element']['querySelector']('.ck-context'),_0x2f294b=_0xbc3ef6['querySelector']('.ck-context__value');this['listenTo'](_0xbc3ef6,'mouseenter',()=>{_0x2f294b['offsetWidth']<_0x2f294b['scrollWidth']&&_0xbc3ef6['classList']['add']('overlay');}),this['listenTo'](_0xbc3ef6,'mouseleave',()=>{_0xbc3ef6['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x4b292e of this['focusables'])this['focusTracker']['add'](_0x4b292e['element']),this['keystrokes']['listenTo'](_0x4b292e['element']);}['_createContextView'](){const _0x2934ae=new CommentThreadHeaderContextView(this['locale']);return _0x2934ae['bind']('contextValue')['to'](this),_0x2934ae;}}class BaseCommentThreadView extends _0x31c75c['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x1c64f3,_0x58f1e2,_0x5bbe5e,_0x57fbbf){super(_0x1c64f3),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x58f1e2,this['_localUser']=_0x5bbe5e,this['_config']=_0x57fbbf,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x1c64f3,_0x58f1e2),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x1c64f3,_0x58309f(_0x1c64f3,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x1c64f3,_0x58f1e2,Object['assign']({'CommentView':this['_config']['CommentView']},_0x57fbbf)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x42cb7c,_0x308b23)=>_0x42cb7c||!!_0x308b23),this['bind']('isUnlinked')['to'](_0x58f1e2,'unlinkedAt',_0x5cd517=>!!_0x5cd517),this['bind']('ariaLabel')['to'](this,'length',_0xda68d8=>{const _0x4724f7=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return _0x58309f(this['locale'],'COMMENT_THREAD_LABEL',[_0xda68d8,_0x4724f7]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3e43bc=>_0x3e43bc['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x56a70a(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x4fb157=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x1bf73b=_0x4fb157['commentInputView'];return _0x4fb157['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x1bf73b,'value',(_0xa7ea1,_0x5d4100,_0x32e4a0,_0x244a4b,_0x5b063f)=>!!_0x5b063f||!!_0x244a4b&&_0x32e4a0&&!_0x5d4100||_0xa7ea1&&_0x32e4a0&&!_0x5d4100),_0x1bf73b['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x26339c,_0x450eb3,_0x5b4c1)=>{let _0x5ce26e;return _0x5ce26e=_0x5b4c1&&_0x450eb3?'Reply\x20to\x20reopen\x20discussion...':_0x26339c?'Reply...':'Write\x20a\x20comment...',_0x58309f(this['locale'],_0x5ce26e);}),_0x1bf73b['bind']('submitLabel')['to'](this,'length',_0x342949=>_0x58309f(this['locale'],_0x342949?'Reply':'Comment')),_0x1bf73b['on']('submit',(_0x19ff8c,_0x3211bb)=>{this['fire']('addComment',_0x3211bb),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x1bf73b['on']('cancel',()=>{this['focus']();}),_0x1bf73b['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x1bf73b['on']('cancel',_0x1c8af3=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x1c8af3['stop']());}),this['on']('change:isActive',(_0x3a3e48,_0x4e92fe,_0x4bb518)=>{_0x4bb518||this['length']||_0x1bf73b['value']||this['fire']('removeCommentThread');}),_0x4fb157;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0xca906e(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x2106b2,_0x1b1b0c,_0x2dbf29,_0x57882f){super(_0x2106b2,_0x1b1b0c,_0x2dbf29,_0x57882f),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x2106b2,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0xc8a740,_0x9dab51,_0x350deb)=>{_0x350deb||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x5e93a2,_0x531ff4,_0x47871f)=>{_0x47871f&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x4945af=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x4945af['if']('isActive','ck-thread--active'),_0x4945af['if']('isUnlinked','ck-thread--unlinked'),_0x4945af['to']('actionIndicator',_0x46aec8=>_0x46aec8?'ck-thread--'+_0x46aec8:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x4945af['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container'),this['_model']['on']('change:archivedAt',()=>{this['_updateArchivedThreadHeader']();}),this['_updateArchivedThreadHeader']();}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x300a40 of this['commentsListView']['commentViews'])_0x300a40['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x22aea4}=this,_0x58ec26=this['commentsListView']['commentViews']['get'](0x0);_0x58ec26===this['_boundFirstCommentView']||_0x58ec26['isSystemComment']||(this['_boundFirstCommentView']=_0x58ec26,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x58ec26,'actionIndicator',_0x45d0e6=>'remove'===_0x45d0e6?'remove':null),_0x58ec26['placeholder']=_0x58309f(_0x22aea4,'Write\x20a\x20comment...'),_0x58ec26['removeButton']['on']('execute',_0x5095f4=>{_0x5095f4['stop'](),this['showConfirm'](_0x58309f(_0x22aea4,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x58ec26['focus']();}),_0x58ec26['actionBar']['add'](this['resolveButton'],0x0),_0x58ec26['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x2bf1af=new LateFocusButtonView(this['locale']);return _0x2bf1af['label']=_0x58309f(this['locale'],'Resolve'),_0x2bf1af['tooltip']=_0x58309f(this['locale'],'Resolve'),_0x2bf1af['icon']=_0x31c75c['IconCheck'],_0x2bf1af['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x2bf1af['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x240dd2=>!_0x240dd2),_0x2bf1af['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x17ec4b,_0x272dfa)=>_0x17ec4b&&!_0x272dfa),_0x2bf1af['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x2bf1af;}['_updateArchivedThreadHeader'](){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}}class CommentContentView extends _0x31c75c['View']{constructor(_0x515e8e){super(_0x515e8e),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x8e6354,_0x207f6b,_0x1413df)=>{this['element']['innerHTML']=_0x1413df;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0x31c75c['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x5316e2,_0x100bfc,_0x544cb4){super(_0x5316e2),this['_model']=_0x100bfc,this['_config']=_0x544cb4,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x100bfc,'content',_0x100bfc,'authoredAt',(_0x50d6c3,_0x243109)=>_0x58309f(_0x5316e2,'COMMENT_ARIA_LABEL',[_0x100bfc['author']['name'],_0x544cb4['formatDateTime'](_0x243109),new DOMParser()['parseFromString'](_0x50d6c3,'text/html')['body']['textContent'],_0x100bfc['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x5316e2,_0x58309f(_0x5316e2,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0x31c75c['ViewCollection'](),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x1cb752=>_0x1cb752['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['_setupKeyboardNavigation']();}async['destroy'](){await this['visibleView']['get'](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentContentView']()));}['getExternalCommentNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?_0x58309f(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x58309f(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x58309f(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x58309f(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0xf46144=new CommentContentView(this['locale']);return _0xf46144['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x4575f0,_0x1333c1)=>_0x1333c1?_0x6b65ae(_0x4575f0,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x4575f0),_0xf46144;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x3209e3=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x3209e3['value']=this['_model']['content'],_0x3209e3['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3209e3['submitLabel']=_0x58309f(this['locale'],'Save'),_0x3209e3['on']('submit',(_0xdd763a,_0x53e8db)=>{this['fire']('updateComment',this['_model']['id'],_0x53e8db),this['switchToDisplayMode'](),this['focus']();}),_0x3209e3['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x3209e3['once']('editorReady',()=>{_0x3209e3['focus']();}),_0x3209e3['createEditor'](),_0x3209e3['delegate']('editorReady')['to'](this),_0x3209e3['delegate']('editorDestroyed')['to'](this),_0x3209e3;}['_setupKeyboardNavigation'](){const _0x4fcd00=this['element'];this['keystrokes']['listenTo'](_0x4fcd00);for(const _0x1313df of this['focusables'])this['focusTracker']['add'](_0x1313df['element']),this['keystrokes']['listenTo'](_0x1313df['element']);this['focusables']['on']('change',(_0x2389be,_0x18a62d)=>{for(const _0x49c3cd of _0x18a62d['removed'])this['focusTracker']['remove'](_0x49c3cd['element']),this['keystrokes']['stopListening'](_0x49c3cd['element']);for(const _0x392acc of _0x18a62d['added'])this['focusTracker']['add'](_0x392acc['element']),this['keystrokes']['listenTo'](_0x392acc['element']);}),this['keystrokes']['set']('enter',(_0xd20a46,_0x374e4b)=>{_0x4fcd00===_0xd20a46['target']&&(this['focusCycler']['focusFirst'](),_0x374e4b());}),this['keystrokes']['set']('esc',(_0xdca520,_0x5dddb5)=>{_0x4fcd00!==_0xdca520['target']&&(this['focus'](),_0x5dddb5());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0xca906e(BaseCommentView){['actionBar'];['userView'];constructor(_0x4a133e,_0x4d6106,_0x2f8db8){super(_0x4a133e,_0x4d6106,_0x2f8db8),this['set']('actionIndicator',null),this['set']('placeholder',_0x58309f(_0x4a133e,'Reply...')),this['bind']('authoredAt')['to'](_0x4d6106),this['bind']('resolvedAt')['to'](_0x4d6106),this['actionBar']=this['createCollection'](),this['isSystemComment']||(this['editButton']=this['_createEditButton'](),this['removeButton']=this['_createRemoveButton'](),this['items']=this['createCollection'](),this['items']['addMany']([this['editButton'],this['removeButton']]),this['dropdown']=this['_createDropdown'](),this['actionBar']['add'](this['dropdown']),this['focusables']['add'](this['dropdown'])),this['userView']=new _0x4a5e55(_0x4a133e,_0x4d6106['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x4d6106,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0xcedd5d=this['bindTemplate'],_0x52b0b5=[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0xcedd5d['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0xcedd5d['to']('authoredAt',_0x3b7e0a=>this['_config']['formatDateTime'](_0x3b7e0a))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0xcedd5d['if']('isEditMode','ck-comment__actions--hidden'),_0xcedd5d['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']},this['ariaDescriptionView']];return this['_model']['isExternal']&&_0x52b0b5['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0xcedd5d['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0xcedd5d['if']('isEditMode','ck-comment--edit'),_0xcedd5d['if']('isSystemComment','ck-comment--info'),_0xcedd5d['to']('actionIndicator',_0x24dc4d=>_0x24dc4d?'ck-comment--'+_0x24dc4d:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id'],'role':'group'},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x52b0b5}]}]};}['_createEditButton'](){const _0xb8431=new _0x31c75c['ButtonView'](this['locale']);return _0xb8431['label']=_0x58309f(this['locale'],'Edit'),_0xb8431['icon']=_0x31c75c['IconPencil'],_0xb8431['withText']=!0x0,_0xb8431['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0xb8431['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1f2d6f=>!_0x1f2d6f),_0xb8431['bind']('isVisible')['to'](this['_model'],'isEditable'),_0xb8431['on']('execute',()=>this['switchToEditMode']()),_0xb8431;}['_createRemoveButton'](){const _0x3618ef=new _0x31c75c['ButtonView'](this['locale']);return _0x3618ef['label']=_0x58309f(this['locale'],'Remove'),_0x3618ef['icon']=_0x31c75c['IconRemoveComment'],_0x3618ef['withText']=!0x0,_0x3618ef['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x3618ef['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x30c77f=>!_0x30c77f),_0x3618ef['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x3618ef['on']('execute',()=>{this['showConfirm'](_0x58309f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x3618ef;}['_createDropdown'](){const _0x32d7ac=_0x31c75c['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x296afb=_0x32d7ac['panelView']['children'],_0x228027=new _0x31c75c['ListView'](this['locale']),_0x5bf59e=_0x32d7ac['bindTemplate'];_0x31c75c['focusChildOnDropdownOpen'](_0x32d7ac,()=>this['items']['find'](_0x395899=>_0x395899['isVisible'])),_0x32d7ac['extendTemplate']({'attributes':{'class':[_0x5bf59e['if']('isVisible','ck-hidden',_0x4845ea=>!_0x4845ea)]}});const _0x29b587=(_0x3479a3,_0x1eb2d6=-0x1)=>{const _0x2eb563=new _0x31c75c['ListItemView'](this['locale']);_0x2eb563['children']['add'](_0x3479a3);const _0x4a4d27=_0x1eb2d6>-0x1?_0x1eb2d6:_0x228027['items']['length'];_0x228027['items']['add'](_0x2eb563,_0x4a4d27);const _0x46091c=Array['from'](this['items']);_0x32d7ac['unbind']('isEnabled','isVisible'),_0x32d7ac['bind']('isEnabled')['toMany'](_0x46091c,'isEnabled',(..._0x520030)=>_0x520030['some'](_0x301e15=>_0x301e15)),_0x32d7ac['bind']('isVisible')['toMany'](_0x46091c,'isVisible',(..._0x180b00)=>_0x180b00['some'](_0x25b7eb=>_0x25b7eb));};_0x32d7ac['panelPosition']='sw',_0x32d7ac['buttonView']['set']({'label':_0x58309f(this['locale'],'Show\x20more\x20items'),'icon':_0x31c75c['IconThreeVerticalDots']});for(const _0x38942d of this['items'])_0x29b587(_0x38942d);return _0x296afb['add'](_0x228027),_0x32d7ac['listenTo'](this['items'],'add',(_0x425606,_0x23d135,_0x4b5837)=>{_0x29b587(_0x23d135,_0x4b5837);}),_0x32d7ac['listenTo'](this['items'],'remove',(_0x50a0f5,_0x5c7d19,_0x5c2f43)=>{_0x228027['items']['remove'](_0x5c2f43);}),_0x32d7ac;}['_attachActions'](_0x273a03,_0x2a5fad){const _0x4c7568=_0x273a03&&_0x273a03['element'];_0x4c7568&&(this['listenTo'](_0x4c7568,'mouseenter',()=>this['actionIndicator']=_0x2a5fad),this['listenTo'](_0x4c7568,'focus',()=>this['actionIndicator']=_0x2a5fad),this['listenTo'](_0x4c7568,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x4c7568,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x1a6b56=super['_createCommentInputView']();return _0x1a6b56['bind']('placeholder')['to'](this),_0x1a6b56;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function _0x5b55eb(_0x1ff920){const _0x306353=ut(_0x1ff920,0x1e),_0x36b232=new MutationObserver(_0x3256dc=>{for(const _0x5e2344 of _0x3256dc)('attributes'==_0x5e2344['type']&&'class'==_0x5e2344['attributeName']||'childList'==_0x5e2344['type']||'characterData'==_0x5e2344['type'])&&_0x306353();});return{'attach'(_0x36bece){_0x36b232['observe'](_0x36bece,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x36b232['disconnect'](),_0x306353['cancel']();}};}class AnnotationView extends _0x31c75c['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x3ce298,_0x38c0ff){super(_0x3ce298),this['id']=_0x31c75c['uid'](),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x80bd5,_0x308dd8)=>this['fire']('Esc',_0x308dd8)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set']('height',0x0),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['set']('length',0x0),this['set']('type',''),this['_mutationObserver']=_0x5b55eb(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x38c0ff),this['mainView']=_0x38c0ff;const _0x2f48ea=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x2f48ea['if']('isActive','ck-annotation-wrapper--active')],'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['focusTracker']['add'](this['element']),this['keystrokes']['listenTo'](this['element']),this['_mutationObserver']['attach'](this['element']);}['destroy'](){this['content']['clear'](),this['keystrokes']['destroy'](),this['focusTracker']['destroy'](),this['_mutationObserver']['detach'](),super['destroy']();}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['_updateHeight'](){const _0x1893af=this['element']['clientHeight'];_0x1893af&&(this['height']=_0x1893af);}}let _0x3a1f99=class Annotation extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x486e0a,target:_0x2d4c79,type:_0x4045ae,isVisible:_0x3aa098=!0x0}){super(),this['view']=_0x486e0a,this['view']['element']||this['view']['render'](),this['_type']=_0x4045ae,this['_target']=_0x2d4c79,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x31c75c['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x1ecadf,_0x4b5142)=>{this['view']['focusTracker']['add'](_0x4b5142);}),this['focusableElements']['on']('remove',(_0x4e0847,_0xf7777f)=>{this['view']['focusTracker']['remove'](_0xf7777f);}),this['set']('isVisible',_0x3aa098);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x436780=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x436780),_0x436780;}get['targetRect'](){const _0x181790=this['target'];if(null===_0x181790)return null;if(_0x181790 instanceof _0x31c75c['Rect'])return _0x181790;const _0x35433a=_0x181790['filter'](_0x5da4eb=>function(_0xf7e30b){const _0x49fbca=_0xf7e30b['offsetParent'];if(_0x49fbca)return!0x0;const _0xdd56cc=_0xf7e30b['getClientRects']()['item'](0x0);return!!_0xdd56cc;}(_0x5da4eb));return 0x0===_0x35433a['length']?null:_0x31c75c['Rect']['getDomElementRects'](_0x35433a[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x32dab3){this['view']['isActive']=_0x32dab3,this['view']['mainView']['isActive']=_0x32dab3;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0xcc8c41){if(!(null===_0xcc8c41||_0xcc8c41 instanceof _0x31c75c['Rect']||Array['isArray'](_0xcc8c41)&&_0xcc8c41['every'](_0x72105c=>_0xedf32f(_0x72105c))))throw new _0x31c75c['CKEditorError']('annotation-invalid-target',null,{'target':_0xcc8c41});}['_getNormalizedTarget'](){const _0x137a17='function'==typeof this['_target']?this['_target']():this['_target'];return _0xedf32f(_0x137a17)?[_0x137a17]:_0x137a17;}};function _0xedf32f(_0x1b1c2a){return null!==_0x1b1c2a&&'object'==typeof _0x1b1c2a&&'nodeType'in _0x1b1c2a&&0x1===_0x1b1c2a['nodeType'];}class AnnotationCollection extends _0x31c75c['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x34d7c9=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x31c75c['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x490bb9,_0x5903c2,_0x4bf623)=>{_0x4bf623||this['fire']('blur');});for(const _0x5dc332 of _0x34d7c9)this['add'](_0x5dc332);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x3624df){if(this['has'](_0x3624df))throw new _0x31c75c['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x3624df['innerView'],_0x3624df),this['_viewToAnnotation']['set'](_0x3624df['view'],_0x3624df);for(const _0x5e3dee of _0x3624df['focusableElements'])this['_focusTracker']['add'](_0x5e3dee);if(this['listenTo'](_0x3624df['focusableElements'],'add',(_0x44a515,_0x3a04c2)=>{this['_focusTracker']['add'](_0x3a04c2);}),this['listenTo'](_0x3624df['focusableElements'],'remove',(_0xcdc2fb,_0x597b6e)=>{this['_focusTracker']['remove'](_0x597b6e);}),this['listenTo'](_0x3624df['view']['focusTracker'],'change:isFocused',(_0x524c5c,_0x492577,_0x41d780)=>{_0x41d780&&this['fire']('focus',_0x3624df);}),_0x3624df['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x528817 of this)_0x528817['updateTargetRect']();}const _0x3e79aa=this['_getOrderInContent'](_0x3624df['view']['targetRect']);return super['add'](_0x3624df,_0x3e79aa);}['remove'](_0x3ae446){if(!this['has'](_0x3ae446))throw new _0x31c75c['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x3ae446['view']['focusTracker']),this['stopListening'](_0x3ae446['focusableElements']);for(const _0x3a78d1 of _0x3ae446['focusableElements'])this['_focusTracker']['remove'](_0x3a78d1);return this['_viewToAnnotation']['delete'](_0x3ae446['view']),this['_innerViewToAnnotation']['delete'](_0x3ae446['innerView']),super['remove'](_0x3ae446);}['getByInnerView'](_0x265260){return this['_innerViewToAnnotation']['get'](_0x265260);}['getByView'](_0xf266a2){return this['_viewToAnnotation']['get'](_0xf266a2);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x55ee4a of this)_0x55ee4a['updateTargetRect']();this['_sort']();}['_sort'](){const _0x23283a=Array['from'](this)['sort']((_0x19d99f,_0xdf240)=>_0x42a6c6(_0x19d99f['view']['targetRect'],_0xdf240['view']['targetRect']));for(let _0x143784=_0x23283a['length']-0x1;_0x143784>0x0;_0x143784--){const _0x3e31b7=_0x23283a[_0x143784];_0x143784!==this['getIndex'](_0x3e31b7)&&(this['remove'](_0x3e31b7),this['add'](_0x3e31b7));}}['_getOrderInContent'](_0x458b3a){let _0x3a5bf3=0x0;if(!_0x458b3a)return this['length'];for(const _0x162d44 of this){const _0x2aada3=_0x162d44['view']['targetRect'];if(_0x2aada3){if(_0x42a6c6(_0x458b3a,_0x2aada3)<0x0)return _0x3a5bf3;_0x3a5bf3++;}}return _0x3a5bf3;}['_areCachedRectsStale'](){const _0x370a06=this['get'](0x0);if(!_0x370a06)return!0x1;const _0xfd489a=_0x370a06['view']['targetRect'],_0x34825f=_0x370a06['targetRect'];return!(!_0xfd489a||!_0x34825f)&&(_0xfd489a['top']!==_0x34825f['top']||_0xfd489a['left']!==_0x34825f['left']);}}function _0x1cd168({source:_0x3fad7f,target:_0x1a6890,filter:_0x22e724}){for(const _0x35c401 of _0x3fad7f)_0x22e724(_0x35c401)&&_0x1a6890['add'](_0x35c401);_0x1a6890['listenTo'](_0x3fad7f,'add',(_0x221611,_0x3a4c0d)=>{_0x22e724(_0x3a4c0d)&&_0x1a6890['add'](_0x3a4c0d);}),_0x1a6890['listenTo'](_0x3fad7f,'remove',(_0x1885f8,_0x1451e3)=>{_0x1a6890['has'](_0x1451e3)&&_0x1a6890['remove'](_0x1451e3);});}function _0x42a6c6(_0x574a13,_0x49a20c){if(null===_0x574a13&&null===_0x49a20c)return 0x0;if(null===_0x574a13)return-0x1;if(null===_0x49a20c)return 0x1;const _0x3a6e2b=_0x574a13['top']-_0x49a20c['top'];return 0x0==_0x3a6e2b?_0x574a13['left']-_0x49a20c['left']:_0x3a6e2b;}class Annotations extends _0x31c75c['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d7778){if(super(_0x3d7778),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x3d7778 instanceof _0x31c75c['Editor']){const _0x4ddfb2=_0x3d7778['locale'];_0x3d7778['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':_0x58309f(_0x4ddfb2,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x53b2ba){this['collection']['add'](_0x53b2ba);}['remove'](_0xaa33d3){this['collection']['remove'](_0xaa33d3),_0xaa33d3['destroy']();}['refreshVisibility'](){for(const _0xc17eda of this['collection'])_0xc17eda['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x42fcdb){return this['collection']['getByInnerView'](_0x42fcdb);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x47f176 of this['collection'])_0x47f176['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x2054dd){this['fire']('_activateAnnotation',_0x2054dd);}['createAnnotation'](_0xfdcdb7){return new _0x3a1f99(_0xfdcdb7);}['createAnnotationView'](_0x1046da,_0x237558){return new AnnotationView(_0x1046da,_0x237558);}['_addActiveAnnotation'](_0x556596){const _0x3692d3=new Set(this['activeAnnotations']);_0x3692d3['add'](_0x556596),this['activeAnnotations']=_0x3692d3;}['_removeActiveAnnotation'](_0x491dd1){const _0x369b84=new Set(this['activeAnnotations']);_0x369b84['delete'](_0x491dd1),this['activeAnnotations']=_0x369b84;}['_bindAnnotationsToVisibleAnnotations'](){const _0xe55e99=this['collection'],_0x503f1b=this['_visibleAnnotations'];function _0xaa1ccd(_0x5608f8){const _0x51d9d8=_0x5608f8['source'];_0x51d9d8['isVisible']&&!_0x503f1b['has'](_0x51d9d8)?_0x503f1b['add'](_0x51d9d8):!_0x51d9d8['isVisible']&&_0x503f1b['has'](_0x51d9d8)&&_0x503f1b['remove'](_0x51d9d8),_0x51d9d8['view']['focusTracker']['remove'](_0x51d9d8['view']['element']),_0x51d9d8['view']['focusTracker']['add'](_0x51d9d8['view']['element']);}this['listenTo'](_0xe55e99,'add',(_0x428007,_0x4788f7)=>{_0x4788f7['isVisible']&&_0x503f1b['add'](_0x4788f7),this['listenTo'](_0x4788f7,'change:isVisible',_0xaa1ccd);}),this['listenTo'](_0xe55e99,'remove',(_0x3751ec,_0x1fea21)=>{_0x503f1b['has'](_0x1fea21)&&_0x503f1b['remove'](_0x1fea21),this['stopListening'](_0x1fea21,'change:isVisible',_0xaa1ccd);});}['_setupEnterAnnotationKeystroke'](){const _0x13ceca=_0xecbdde=>{_0xecbdde['on']('ready',()=>{_0xecbdde['keystrokes']['set'](_0x25c247,(_0x6774de,_0x2605df)=>{const _0x23b400=_0x31c75c['first'](this['activeAnnotations']['values']());_0x23b400&&(_0x23b400['view']['focus'](),_0x2605df());});});};this['context']instanceof _0x31c75c['Editor']?_0x13ceca(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x51c255,_0x182d28)=>{_0x13ceca(_0x182d28);});}['_setupEscapeAnnotationHandling'](){const _0x5efa32=_0x474942=>{const _0xe0495f=_0x474942['source'],_0x2249c5=[];let _0x1f513c;if(Array['isArray'](_0xe0495f['target'])){_0x1f513c=_0xe0495f['target'][0x0],this['context']instanceof _0x31c75c['Editor']?_0x2249c5['push'](this['context']):this['context']['editors']&&_0x2249c5['push'](...this['context']['editors']);for(const _0x5683a4 of _0x2249c5)for(const _0x25aba7 of _0x5683a4['editing']['view']['domRoots']['values']())if(_0x25aba7['contains'](_0x1f513c))return void _0x5683a4['editing']['view']['focus']();_0x1f513c['focus']();}};this['listenTo'](this['collection'],'add',(_0x1e37ab,_0x2bf712)=>{this['listenTo'](_0x2bf712,'escape',_0x5efa32,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x17bce6,_0x589229)=>{this['stopListening'](_0x589229,'escape',_0x5efa32);});}}const _0x1b3e2c=Symbol('noChannel'),_0x50b8b2={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x31c75c['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0x31c75c['PendingActions'],_0x1eec90];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x48d3c5){super(_0x48d3c5),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x4b69f9=this['context']['config'];_0x4b69f9['define']('comments.maxCommentsWhenCollapsed',0x2),_0x4b69f9['define']('comments.maxThreadTotalWeight',0x1f4),_0x4b69f9['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x4b69f9['define']('comments.CommentThreadView',CommentThreadView),_0x4b69f9['define']('comments.CommentView',CommentView),_0x4b69f9['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x256e5f=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x528b1a,_0xe872d)=>this['_addCommentThread'](_0xe872d)),this['on']('submitCommentThread',(_0x16a4b3,_0x218d78)=>this['_submitCommentThread'](_0x218d78)),this['on']('resolveCommentThread',(_0x6fb7c7,_0x5f19b6)=>this['_resolveCommentThread'](_0x5f19b6)),this['on']('resolveCommentThread',(_0x433634,_0x25112a)=>this['_updateActiveAnnotation'](_0x25112a),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x556615,_0x2f33a6)=>this['_reopenCommentThread'](_0x2f33a6)),this['on']('reopenCommentThread',(_0x5a6c0e,_0x1fd662)=>this['_updateActiveAnnotation'](_0x1fd662),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x30af77,_0x5a00e1)=>this['_removeCommentThread'](_0x5a00e1)),this['on']('updateCommentThread',(_0x1c58cd,_0x135c8d)=>this['_updateCommentThread'](_0x135c8d)),this['on']('updateCommentThread',(_0x30bda8,_0x15f557)=>this['_updateActiveAnnotation'](_0x15f557),{'priority':'lowest'}),this['on']('addComment',(_0x292935,_0x1c364f)=>this['_addComment'](_0x1c364f)),this['on']('updateComment',(_0x3cf4ef,_0x25a431)=>this['_updateComment'](_0x25a431)),this['on']('removeComment',(_0x991335,_0x45dc54)=>this['_removeComment'](_0x45dc54)),this['on']('addComment',(_0xe91a82,{threadId:_0x33421e,isFromAdapter:_0xe631cb})=>{if(_0xe631cb)return;const _0x23ecb0=this['getCommentThread'](_0x33421e),_0x461231=_0x23ecb0&&this['_threadToController']['get'](_0x23ecb0);_0x461231&&_0x461231['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x256e5f,'change:activeAnnotations',(_0x569d83,_0x145d6d,_0x409a05)=>{const _0x5faba7=Array['from'](_0x409a05)['map'](_0x1ab67e=>this['_viewToController']['get'](_0x1ab67e['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x5faba7?_0x5faba7['model']:null;});}set['adapter'](_0xa42bb2){if(this['_adapter'])throw new _0x31c75c['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0xa42bb2;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x3a906b=_0x1b3e2c,threadId:_0x3b7871=_0x31c75c['uid'](),comments:_0x4fda21=[],unlinkedAt:_0x3a25ef=null,resolvedAt:_0x37a5f4=null,resolvedBy:_0x13bea3=null,target:_0x30ca00=null,context:_0xf0ed3f=null,attributes:_0x30f62e={},isResolvable:_0x4f8e18=!0x0,isSubmitted:_0x246b54=!0x1,isFromAdapter:_0x5c3727=!0x1}={}){return this['fire'](_0x1080f1('addCommentThread',_0x3a906b),{'channelId':_0x3a906b,'threadId':_0x3b7871,'comments':_0x4fda21,'unlinkedAt':_0x3a25ef,'resolvedAt':_0x37a5f4,'resolvedBy':_0x13bea3,'target':_0x30ca00,'context':_0xf0ed3f,'attributes':_0x30f62e,'isFromAdapter':_0x5c3727,'isResolvable':_0x4f8e18,'isSubmitted':_0x246b54}),this['getCommentThread'](_0x3b7871);}['openNewCommentThread']({channelId:_0x19d73a=_0x1b3e2c,threadId:_0x2b9312=_0x31c75c['uid'](),target:_0x3b9f9f,context:_0x37c426=null,isResolvable:_0x567102=!0x0}){if(this['_readOnlyChannels']['has'](_0x19d73a)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x3b9f9f)throw new _0x31c75c['CKEditorError']('commentsrepository-missing-target');const _0x155a41=this['addCommentThread']({'channelId':_0x19d73a,'threadId':_0x2b9312,'target':_0x3b9f9f,'context':_0x37c426,'isResolvable':_0x567102});if(!_0x155a41)return null;const _0x1e3e1d=this['_threadToController']['get'](_0x155a41),_0x435d17=_0x1e3e1d['view']['commentThreadInputView']['commentInputView'],_0x575a28=this['context']['plugins']['get'](Annotations),_0x692fff=_0x575a28['getByInnerView'](_0x1e3e1d['view']);return _0x575a28['activate'](_0x692fff),_0x435d17['once']('editorReady',()=>_0x435d17['focus']()),_0x155a41;}['hasCommentThread'](_0xb5b18){if('string'!=typeof _0xb5b18)throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0xb5b18);}['updateCommentThread']({channelId:_0x3ad6a0=_0x1b3e2c,threadId:_0x34565a,context:_0x4a7caa,unlinkedAt:_0x2db07d,attributes:_0x2c1c54,isFromAdapter:_0x35ba50=!0x1}){return this['fire'](_0x1080f1('updateCommentThread',_0x3ad6a0),{'channelId':_0x3ad6a0,'threadId':_0x34565a,'context':_0x4a7caa,'unlinkedAt':_0x2db07d,'attributes':_0x2c1c54,'isFromAdapter':_0x35ba50}),this['getCommentThread'](_0x34565a);}['getCommentThread'](_0x194716){if('string'!=typeof _0x194716)throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x194716);}['fetchCommentThread']({channelId:_0x2ae9d3,threadId:_0x402715}={}){const _0x32aae2=this['getCommentThread'](_0x402715);if(_0x32aae2)return Promise['resolve'](_0x32aae2);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x31c75c['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x2ae9d3,'threadId':_0x402715})['then'](_0x287995=>this['hasCommentThread'](_0x402715)?this['getCommentThread'](_0x402715):_0x287995?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x2ae9d3},_0x287995)):void 0x0)['catch'](_0x41d5bd=>{throw console['error'](_0x41d5bd),new _0x31c75c['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x51b85f,skipNotAttached:_0x11a848=!0x1,skipEmpty:_0x3f20bb=!0x1,toJSON:_0x27e958=!0x1}={}){const _0x21be70=[];for(const _0x1d45f2 of this['_threads']['values']())_0x51b85f&&_0x1d45f2['channelId']!==_0x51b85f||_0x11a848&&!_0x1d45f2['isAttached']||_0x3f20bb&&0x0===_0x1d45f2['length']||_0x21be70['push'](_0x1d45f2);return _0x27e958?_0x21be70['map'](_0x1d8412=>_0x1d8412['toJSON']()):_0x21be70;}['getAnnotationForCommentThread'](_0x4f2f45){const _0xc2fa5d=this['_threadToController']['get'](_0x4f2f45);if(!_0xc2fa5d)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0xc2fa5d['view'])||null;}['getCommentThreadForAnnotation'](_0x24c14c){const _0x23e8d2=this['_viewToController']['get'](_0x24c14c['innerView']);return _0x23e8d2?_0x23e8d2['model']:null;}['setActiveCommentThread'](_0x517a84){const _0x44a284=this['context']['plugins']['get'](Annotations);if(!_0x517a84)return void(this['activeCommentThread']&&_0x44a284['deactivateAll']());const _0x1cb219=this['getCommentThread'](_0x517a84);if(!_0x1cb219)throw new _0x31c75c['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x517a84});if(!this['_threadToController']['has'](_0x1cb219))throw new _0x31c75c['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x517a84});const _0x177910=_0x44a284['getByInnerView'](this['_threadToController']['get'](_0x1cb219)['view']);_0x44a284['activate'](_0x177910);}['switchReadOnly'](_0x32f1bc,_0x4dcc27){_0x32f1bc?this['_readOnlyChannels']['add'](_0x4dcc27):this['_readOnlyChannels']['delete'](_0x4dcc27),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x13a556){return this['_readOnlyChannels']['has'](_0x13a556)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0xf90d2,_0x473c0f){return new CommentThreadController(_0xf90d2,_0x473c0f);}['setPermissions'](_0x22de87,_0x433fa5=_0x1b3e2c){this['_permissions']['set'](_0x433fa5,_0x22de87),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x514fb9=_0x1b3e2c){return this['_permissions']['has'](_0x514fb9)?this['_permissions']['get'](_0x514fb9):_0x50b8b2;}['_addCommentThread']({channelId:_0x3669f4,threadId:_0x104ef9,comments:_0x5934af,unlinkedAt:_0x2c7728,resolvedAt:_0x54e63d,resolvedBy:_0x302a8c,target:_0x40f5a3,context:_0xfff2e8,attributes:_0x14f556,isFromAdapter:_0x29344b,isResolvable:_0x5b74ea,isSubmitted:_0x39ba07}){if('string'!=typeof _0x104ef9)throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x104ef9});if(this['hasCommentThread'](_0x104ef9))throw new _0x31c75c['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x104ef9});const _0x2ac747=new CommentThread(this,{'channelId':_0x3669f4,'id':_0x104ef9,'context':_0xfff2e8,'attributes':_0x14f556,'unlinkedAt':_0x2c7728,'resolvedAt':_0x54e63d,'resolvedBy':_0x302a8c?this['context']['plugins']['get'](_0x1eec90)['getUser'](_0x302a8c):null,'isResolvable':_0x5b74ea,'isSubmitted':_0x39ba07||_0x29344b});this['_threads']['set'](_0x104ef9,_0x2ac747);for(const _0x2783bb of _0x5934af)_0x2ac747['_add'](this['_createNewComment']({'threadId':_0x104ef9,..._0x2783bb}));return _0x40f5a3&&_0x2ac747['attachTo'](_0x40f5a3),_0x29344b||!_0x2ac747['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x3669f4,'threadId':_0x104ef9});}['_submitCommentThread']({channelId:_0x25572e,threadId:_0x48678c}){if(!this['hasCommentThread'](_0x48678c))throw new _0x31c75c['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x9a03e4=this['getCommentThread'](_0x48678c);if(_0x9a03e4['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x256506,comments:_0x18d6e4,resolvedAt:_0x311f7c,resolvedBy:_0x32697a,context:_0x4d2359,attributes:_0xfb7867}=_0x9a03e4,_0x162023=this['context']['plugins']['get']('PendingActions'),_0x347704=_0x162023['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x25572e,'threadId':_0x256506,'comments':_0x18d6e4['map'](_0x442d94=>_0x442d94['toJSON']()),'resolvedAt':_0x311f7c,'resolvedBy':_0x32697a?_0x32697a['id']:_0x32697a,'context':_0x4d2359,'attributes':_0xfb7867})['then'](({comments:_0x443515})=>{_0x162023['remove'](_0x347704);for(const _0x40747a of _0x443515)this['_updateComment']({'channelId':_0x25572e,'threadId':_0x48678c,'commentId':_0x40747a['commentId'],'createdAt':_0x40747a['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x5e2f10=>{throw console['error'](_0x5e2f10),new _0x31c75c['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x2d04f5,target:_0x3049e3}){const _0x1f4c13=this['getCommentThread'](_0x2d04f5);if(!_0x1f4c13)throw new _0x31c75c['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x182f80=this['context']['plugins']['get']('PendingActions'),_0x4c81fb=this['context']['plugins']['get'](Annotations),_0x259c38=this['_createCommentThreadView'](_0x1f4c13),_0x4f288b=new CommentThreadController(_0x1f4c13,_0x259c38);let _0x47d982=null;_0x259c38['on']('change:isDirty',(_0x1c3d4f,_0x4d3c59,_0x52cb41)=>{_0x52cb41?_0x47d982=_0x182f80['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x47d982&&(_0x182f80['remove'](_0x47d982),_0x47d982=null);}),this['_threadToController']['set'](_0x1f4c13,_0x4f288b),this['_viewToController']['set'](_0x259c38,_0x4f288b);const _0x54cd02=new AnnotationView(this['context']['locale'],_0x259c38);_0x54cd02['bind']('length')['to'](_0x259c38),_0x54cd02['bind']('isDirty')['to'](_0x259c38,'isDirty',_0x259c38,'length',(_0x4591cb,_0xb2ee7c)=>_0x4591cb||!_0xb2ee7c),_0x54cd02['bind']('isActive')['to'](_0x259c38),_0x54cd02['type']='comment';const _0x463458=new _0x3a1f99({'view':_0x54cd02,'target':_0x3049e3,'type':'comment','isVisible':!_0x1f4c13['archivedAt']&&!!('function'==typeof _0x3049e3?_0x3049e3():_0x3049e3)});return _0x259c38['on']('escape',()=>{_0x463458['fire']('escape');}),this['_bindAnnotationToEditors'](_0x259c38,_0x463458),_0x4c81fb['add'](_0x463458),_0x463458;}['_bindAnnotationToEditors'](_0x5be73c,_0x2915d2){this['listenTo'](_0x5be73c,'editorReady',(_0x1cfe38,_0x759e85)=>{const _0x4c3cf1=_0x759e85['ui']['view']['body']['bodyCollectionContainer'];_0x2915d2['focusableElements']['add'](_0x4c3cf1),this['context']instanceof _0x31c75c['Editor']&&this['context']['ui']['focusTracker']['add'](_0x4c3cf1);},{'priority':'highest'}),this['listenTo'](_0x5be73c,'editorDestroyed',(_0x1c4a3d,_0x224087)=>{const _0x4f0a04=_0x224087['ui']['view']['body']['bodyCollectionContainer'];_0x2915d2['focusableElements']['has'](_0x4f0a04)&&_0x2915d2['focusableElements']['remove'](_0x4f0a04),this['context']instanceof _0x31c75c['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x4f0a04);});}['_unbindEditors'](_0x3e50ec){this['stopListening'](_0x3e50ec,'editorReady'),this['stopListening'](_0x3e50ec,'editorDestroyed');}['_createCommentThreadView'](_0x5487e9){const _0x537aeb=this['context']['plugins']['get'](_0x1eec90),{config:_0x4a0f31,locale:_0x4f6899}=this['context'],_0x4d50b0=_0x1e8f2b(_0x4a0f31['get']('locale'),_0x4f6899);return new(0x0,(_0x4a0f31['get']('comments'))['CommentThreadView'])(_0x4f6899,_0x5487e9,_0x537aeb['me'],{'editorConfig':{..._0x4a0f31['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x4a0f31['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x4a0f31['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x4a0f31['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x4a0f31['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x4d50b0,'CommentView':_0x4a0f31['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x10e927,channelId:_0x3e37dc,resolvedAt:_0x8b4e4b,resolvedBy:_0x31095b,isFromAdapter:_0xa0b9c9}){if(!this['hasCommentThread'](_0x10e927))throw new _0x31c75c['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x10e927});const _0xe94791=this['getCommentThread'](_0x10e927);if(_0xe94791['isResolved'])throw new _0x31c75c['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x10e927});const _0x311509=this['context']['plugins']['get'](_0x1eec90);if(_0xe94791['resolvedBy']=_0x311509['getUser'](_0x31095b),_0xe94791['resolvedAt']=_0x8b4e4b,_0xa0b9c9||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x531521=this['context']['plugins']['get']('PendingActions'),_0xe86372=_0x531521['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x3e37dc,'threadId':_0x10e927})['then'](({resolvedAt:_0x1204eb,resolvedBy:_0x2bc078})=>{_0x531521['remove'](_0xe86372),_0xe94791['resolvedBy']['id']!==_0x2bc078&&(_0xe94791['resolvedBy']=_0x311509['getUser'](_0x2bc078)),_0xe94791['resolvedAt']=_0x1204eb;})['catch'](_0x433773=>{throw console['error'](_0x433773),new _0x31c75c['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x5e9d89,channelId:_0x354692,isFromAdapter:_0x410c58}){if(!this['hasCommentThread'](_0x5e9d89))throw new _0x31c75c['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x5e9d89});const _0x3dca37=this['getCommentThread'](_0x5e9d89);if(!_0x3dca37['isResolved'])throw new _0x31c75c['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x5e9d89});if(_0x3dca37['resolvedBy']=null,_0x3dca37['resolvedAt']=null,_0x410c58||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x396487=this['context']['plugins']['get']('PendingActions'),_0x5dd3d9=_0x396487['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x354692,'threadId':_0x5e9d89})['then'](()=>_0x396487['remove'](_0x5dd3d9))['catch'](_0x2ea939=>{throw console['error'](_0x2ea939),new _0x31c75c['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x54c890,isFromAdapter:_0x35d2c8}){const _0x101265=this['getCommentThread'](_0x54c890);if(!_0x101265)throw new _0x31c75c['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x54c890),this['_threads']['delete'](_0x54c890),!_0x101265['isSubmitted']||_0x35d2c8||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x2d7baf=this['context']['plugins']['get']('PendingActions'),{channelId:_0x13d1ab}=_0x101265,_0x38730c=_0x2d7baf['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x13d1ab,'threadId':_0x54c890})['then'](()=>_0x2d7baf['remove'](_0x38730c))['catch'](_0x114da1=>{throw console['error'](_0x114da1),new _0x31c75c['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x189931,unlinkedAt:_0x7868ca,context:_0x497e38,attributes:_0x371bb7,isFromAdapter:_0x1e3149}){if('string'!=typeof _0x189931)throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x189931});if(!this['hasCommentThread'](_0x189931))throw new _0x31c75c['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x189931});const _0x38fffa=this['getCommentThread'](_0x189931);let _0x317347=!0x1;if(void 0x0!==_0x497e38&&_0x38fffa['context']!==_0x497e38&&(_0x38fffa['context']=_0x497e38,_0x317347=!0x0),void 0x0!==_0x7868ca&&_0x38fffa['unlinkedAt']!==_0x7868ca&&(_0x38fffa['unlinkedAt']=_0x7868ca,_0x317347=!0x0),_0x371bb7&&!pt(_0x371bb7,_0x38fffa['attributes'])&&(_0x38fffa['attributes']=_0x371bb7,_0x317347=!0x0),!_0x317347)return Promise['resolve']();if(!_0x38fffa['isSubmitted']||_0x1e3149||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x289f06=this['context']['plugins']['get']('PendingActions'),{channelId:_0x239f0d}=_0x38fffa,_0x560a3b=_0x289f06['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x239f0d,'threadId':_0x189931,'context':_0x497e38,'unlinkedAt':_0x7868ca,'attributes':_0x371bb7})['then'](()=>_0x289f06['remove'](_0x560a3b))['catch'](_0x392f9e=>{throw console['error'](_0x392f9e),new _0x31c75c['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x297126){const _0x5e0571=this['context']['plugins']['get'](Annotations),_0x37427e=this['getCommentThread'](_0x297126);if(_0x37427e['_isAttached']=!0x1,this['_threadToController']['has'](_0x37427e)){const _0x5f0cdb=this['_threadToController']['get'](_0x37427e),_0x5a46ed=_0x5f0cdb['view'],_0x414a4e=_0x5e0571['getByInnerView'](_0x5a46ed);this['_threadToController']['delete'](_0x37427e),this['_viewToController']['delete'](_0x5a46ed),_0x414a4e&&_0x5e0571['remove'](_0x414a4e),_0x5f0cdb['destroy'](),_0x5a46ed['destroy']()['then'](()=>{this['_unbindEditors'](_0x5a46ed);});}}['_updateActiveAnnotation']({threadId:_0x512406,resolvedAt:_0x50a7ac,unlinkedAt:_0x1ce598}){const _0x55c9db=!!_0x50a7ac,_0x140e2d=this['context']['plugins']['get'](Annotations),_0x4ed586=this['getCommentThread'](_0x512406);if(this['_threadToController']['has'](_0x4ed586)){const _0x26805d=this['_threadToController']['get'](_0x4ed586)['view'],_0x4d5b1d=_0x140e2d['getByInnerView'](_0x26805d);_0x4d5b1d&&(_0x55c9db&&_0x140e2d['_removeActiveAnnotation'](_0x4d5b1d),_0x1ce598?_0x4d5b1d['isVisible']=!0x1:_0x4d5b1d['refreshVisibility']());}}['_getExternalAuthor'](_0x36e939){const _0xbbab31=this['context']['plugins']['get'](_0x1eec90),_0x545d45=ta('external:'+_0x36e939),_0x5e6e28=_0xbbab31['getUser'](_0x545d45);return _0x5e6e28||_0xbbab31['addUser']({'id':_0x545d45,'name':_0x36e939});}['_createNewComment']({threadId:_0x328b50,commentId:_0x44f6f0=_0x31c75c['uid'](),content:_0x310348,authorId:_0x33b339,createdAt:_0x403751,attributes:_0x17861a}){if('string'!=typeof _0x44f6f0)throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x33b339)throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x310348||!_0x310348['trim']())throw new _0x31c75c['CKEditorError']('commentsrepository-invalid-comment-content');const _0x118921=this['context']['plugins']['get'](_0x1eec90)['getUser'](_0x33b339);if(!_0x118921)throw new _0x31c75c['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x33b339});let _0x475ed2=null,_0x45a1ee=_0x403751;return _0x17861a?.['@external']&&(_0x475ed2=this['_getExternalAuthor'](_0x17861a['@external']['authorName']),_0x45a1ee=new Date(_0x17861a['@external']['createdAt'])),new _0x3cb943(this,{'threadId':_0x328b50,'id':_0x44f6f0,'author':_0x475ed2||_0x118921,'creator':_0x118921,'content':_0x310348,'createdAt':_0x403751,'authoredAt':_0x45a1ee,'attributes':_0x17861a});}['_addComment'](_0xd576c0){let {threadId:_0x5921ef,content:_0x21d359,attributes:_0x8703d6,isFromAdapter:_0x5eabe9}=_0xd576c0;const _0x58a3a8=this['getCommentThread'](_0xd576c0['threadId']);if(!_0x58a3a8)throw new _0x31c75c['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x1292e3=this['_createNewComment'](_0xd576c0),{id:_0x33025b}=_0x1292e3;if(_0x58a3a8['_add'](_0x1292e3),_0x5eabe9||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x58a3a8['isSubmitted'])return Promise['resolve']();const _0x4fe48d=this['context']['plugins']['get']('PendingActions'),{channelId:_0x570aca}=_0x58a3a8,_0x283a8f=_0x4fe48d['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x8703d6||(_0x8703d6={}),this['adapter']['addComment']({'channelId':_0x570aca,'threadId':_0x5921ef,'commentId':_0x33025b,'content':_0x21d359,'attributes':_0x8703d6})['then'](_0x14f5d1=>{_0x4fe48d['remove'](_0x283a8f),_0x14f5d1&&this['_updateComment']({'channelId':_0x570aca,'threadId':_0x5921ef,'commentId':_0x33025b,'createdAt':_0x14f5d1['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1965b6=>{throw console['error'](_0x1965b6),new _0x31c75c['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x4a22be,commentId:_0x5b642b,content:_0x5cbc92,createdAt:_0xca0e6a,attributes:_0x5024dc,isFromAdapter:_0x130154}){if(void 0x0!==_0x5cbc92&&('string'!=typeof _0x5cbc92||!_0x5cbc92['trim']()['length']))throw new _0x31c75c['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x57de37=this['getCommentThread'](_0x4a22be),_0x21d95e=_0x57de37['getComment'](_0x5b642b);if(!_0x21d95e)throw new _0x31c75c['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x25b52a=!0x1;if(_0x5cbc92&&_0x5cbc92!==_0x21d95e['content']&&(_0x21d95e['isEditable']||_0x130154)&&(_0x21d95e['content']=_0x5cbc92,_0x25b52a=!0x0),_0xca0e6a&&_0xca0e6a!==_0x21d95e['createdAt']&&(_0x21d95e['createdAt']=_0xca0e6a,_0x21d95e['attributes']&&_0x21d95e['attributes']['@external']||(_0x21d95e['authoredAt']=_0xca0e6a),_0x25b52a=!0x0),_0x5024dc&&!pt(_0x5024dc,_0x21d95e['attributes'])&&(_0x21d95e['attributes']=_0x5024dc,_0x25b52a=!0x0),!_0x25b52a)return Promise['resolve']();if(_0x57de37['fire']('commentUpdated'),_0x130154||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x3dc530=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4bd62c}=this['getCommentThread'](_0x21d95e['threadId']),_0x3d79dc=_0x3dc530['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x4bd62c,'threadId':_0x4a22be,'commentId':_0x5b642b,'content':_0x5cbc92,'attributes':_0x5024dc})['then'](()=>_0x3dc530['remove'](_0x3d79dc))['catch'](_0x16032a=>{throw console['error'](_0x16032a),new _0x31c75c['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x42e7ad,commentId:_0x28317d,isFromAdapter:_0x4bb736}){const _0xb9b5f4=this['getCommentThread'](_0x42e7ad),_0x51bdef=_0xb9b5f4['getComment'](_0x28317d);if(!_0x51bdef)throw new _0x31c75c['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0xb9b5f4['_remove'](_0x51bdef),_0x4bb736||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x236ab7=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1a5e8e}=_0xb9b5f4,_0x5ca59d=_0x236ab7['add'](_0x58309f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x1a5e8e,'threadId':_0x42e7ad,'commentId':_0x28317d})['then'](()=>_0x236ab7['remove'](_0x5ca59d))['catch'](_0x4c3195=>{throw console['error'](_0x4c3195),new _0x31c75c['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x54683f,_0x50825d){super();const _0x124e37=_0x50825d['isResolvable'];this['channelId']=_0x50825d['channelId'],this['id']=_0x50825d['id'],this['comments']=new _0x31c75c['Collection'](),this['_repository']=_0x54683f,this['_isAttached']=!0x1,this['_isSubmitted']=_0x50825d['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x54683f,'_permissions',_0x54683f,'_readOnlyChannels',()=>_0x54683f['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x54683f,'_permissions',()=>_0x54683f['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x54683f,'_permissions',()=>{const _0x1bf7aa=_0x54683f['getPermissions'](this['channelId']);return _0x1bf7aa['write']||_0x1bf7aa['admin'];}),this['bind']('isResolvable')['to'](_0x54683f,'_permissions',()=>_0x124e37&&_0x54683f['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x50825d['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x1f4201,_0x3c0812)=>_0x1f4201?_0x3c0812?_0x1f4201<_0x3c0812?_0x1f4201:_0x3c0812:_0x1f4201:_0x3c0812),this['set']('unlinkedAt',_0x50825d['unlinkedAt']||null),this['set']('resolvedAt',_0x50825d['resolvedAt']||null),this['set']('resolvedBy',_0x50825d['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x599b19=>!!_0x599b19),this['set']('attributes',_0x50825d['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x14cc1b,_0x40f886)=>_0x14cc1b+_0x40f886['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x5a878c,id:_0x1695c7}=this;this['_repository']['fire'](_0x1080f1('submitCommentThread',_0x5a878c),{'channelId':_0x5a878c,'threadId':_0x1695c7});}['setUnlinkedAt'](_0x34581c){this['_update']({'unlinkedAt':_0x34581c});}['resolve']({resolvedAt:_0x36fe12=new Date(),resolvedBy:_0x123bfd='',isFromAdapter:_0x25d9e9=!0x1}={}){const _0x1ced98=this['_repository']['context']['plugins']['get'](_0x1eec90)['me'],{channelId:_0x5996a0,id:_0x5d3672}=this;this['_repository']['fire'](_0x1080f1('resolveCommentThread',_0x5996a0),{'channelId':_0x5996a0,'threadId':_0x5d3672,'resolvedAt':_0x36fe12,'resolvedBy':_0x123bfd||_0x1ced98['id'],'isFromAdapter':_0x25d9e9});}['reopen']({isFromAdapter:_0xb31c9f=!0x1}={}){const {channelId:_0x36db86,id:_0x42ced5}=this;this['_repository']['fire'](_0x1080f1('reopenCommentThread',_0x36db86),{'channelId':_0x36db86,'threadId':_0x42ced5,'isFromAdapter':_0xb31c9f});}['setContext'](_0x1f3cca){this['context']||this['_update']({'context':_0x1f3cca});}['setAttribute'](_0x47b376,_0x30a95c){const _0x53c7e9=_0xeda1dc(this['attributes']);ct(_0x53c7e9,_0x47b376,_0x30a95c),this['_update']({'attributes':_0x53c7e9});}['removeAttribute'](_0xbb4b15){const _0x5001b4=_0xeda1dc(this['attributes']);nt(_0x5001b4,_0xbb4b15),this['_update']({'attributes':_0x5001b4});}['remove']({isFromAdapter:_0x26d50f=!0x1}={}){const {channelId:_0x1e624f,id:_0x201d3e}=this;this['_repository']['fire'](_0x1080f1('removeCommentThread',_0x1e624f),{'channelId':_0x1e624f,'threadId':_0x201d3e,'isFromAdapter':_0x26d50f});}['attachTo'](_0x1e8408){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x1e8408});}['addComment'](_0x312d46){const {channelId:_0x1de78d,id:_0x2c4208}=this;this['_repository']['fire'](_0x1080f1('addComment',_0x1de78d,_0x2c4208),Object['assign']({'channelId':_0x1de78d,'threadId':_0x2c4208},_0x312d46));}['getComment'](_0x4b157f){if('string'!=typeof _0x4b157f)throw new _0x31c75c['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x4b157f});return this['comments']['get'](_0x4b157f);}['toJSON'](){return{'threadId':this['id'],'context':this['context'],'unlinkedAt':this['unlinkedAt'],'resolvedAt':this['resolvedAt'],'resolvedBy':this['resolvedBy']?this['resolvedBy']['id']:null,'archivedAt':this['archivedAt'],'comments':this['comments']['map'](_0x3546e0=>_0x3546e0['toJSON']()),'attributes':this['attributes']};}['_add'](_0x198792){return this['listenTo'](_0x198792,'change:authoredAt',()=>{const _0x3ce4b0=this['_findOptimalIndex'](_0x198792),_0x5d2dd1=this['comments'];_0x3ce4b0-0x1!=_0x5d2dd1['getIndex'](_0x198792)&&_0x3ce4b0+0x1!=_0x5d2dd1['getIndex'](_0x198792)&&(this['_remove'](_0x198792),this['_add'](_0x198792));}),this['comments']['add'](_0x198792,this['_findOptimalIndex'](_0x198792));}['_update'](_0x122881){const {channelId:_0x5b9fdf,id:_0x20c69b}=this;this['_repository']['fire'](_0x1080f1('updateCommentThread',_0x5b9fdf),{..._0x122881,'channelId':_0x5b9fdf,'threadId':_0x20c69b});}['_remove'](_0x43a255){return this['stopListening'](_0x43a255),_0x43a255['destroy'](),this['comments']['remove'](_0x43a255);}['_findOptimalIndex'](_0x542617){const _0x63646c=this['comments']['find'](_0x5db7e7=>new Date(_0x5db7e7['authoredAt'])['getTime']()>new Date(_0x542617['authoredAt'])['getTime']());return _0x63646c?this['comments']['getIndex'](_0x63646c):this['length'];}}let _0x3cb943=class Comment extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x231483,_0x5302a0){super();const _0x54dad9=_0x231483['context']['plugins']['get'](_0x1eec90)['me'],_0x18e3e2=_0x231483['getCommentThread'](_0x5302a0['threadId']),_0x1cfcc6=0x0===_0x18e3e2['comments']['length'],_0x513743=_0x54dad9===_0x5302a0['author'];this['id']=_0x5302a0['id'],this['threadId']=_0x5302a0['threadId'],this['author']=_0x5302a0['author'],this['creator']=_0x5302a0['creator'],this['isExternal']=Boolean(_0x5302a0['attributes']&&_0x5302a0['attributes']['@external']),this['set']('content',_0x5302a0['content']),this['createdAt']=_0x5302a0['createdAt']||new Date(),this['set']('authoredAt',_0x5302a0['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x18e3e2,'resolvedAt'),this['set']('attributes',_0x5302a0['attributes']||{}),this['bind']('isEditable')['to'](_0x231483,'_permissions',()=>{const _0x58a2e2=_0x231483['getPermissions'](_0x18e3e2['channelId'])['write'],_0x2e063b=_0x231483['getPermissions'](_0x18e3e2['channelId'])['modifyAll'];return _0x513743&&_0x58a2e2||!_0x513743&&_0x2e063b;}),this['bind']('isRemovable')['to'](_0x18e3e2,'isRemovable',_0x231483,'_permissions',_0x58eb96=>{const _0x8bddb3=_0x231483['getPermissions'](_0x18e3e2['channelId'])['write'],_0x2f4793=_0x231483['getPermissions'](_0x18e3e2['channelId'])['modifyAll'];return _0x513743&&_0x8bddb3||_0x58eb96&&_0x1cfcc6||!_0x513743&&_0x2f4793&&!_0x1cfcc6;}),this['bind']('isReadOnly')['to'](_0x18e3e2,'isReadOnly'),this['_repository']=_0x231483;}get['weight'](){return Math['max'](function(_0x3f7213){const _0x15a2f7=document['createElement']('div');return _0x15a2f7['innerHTML']=_0x3f7213,_0x15a2f7['textContent']['length'];}(this['content']),0xc8);}['update'](_0x7aff5){const {threadId:_0x12e2b4,id:_0x20af69}=this;if(!this['_repository']['hasCommentThread'](_0x12e2b4))throw new _0x31c75c['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x3df2d6}=this['_repository']['getCommentThread'](_0x12e2b4);this['_repository']['fire'](_0x1080f1('updateComment',_0x3df2d6,_0x12e2b4),{'channelId':_0x3df2d6,'threadId':_0x12e2b4,'commentId':_0x20af69,..._0x7aff5});}['setAttribute'](_0x39cf38,_0x3ab616){const _0x4d9d7a=_0xeda1dc(this['attributes']);ct(_0x4d9d7a,_0x39cf38,_0x3ab616),this['update']({'attributes':_0x4d9d7a});}['removeAttribute'](_0x3a4bec){const _0x369bfc=_0xeda1dc(this['attributes']);nt(_0x369bfc,_0x3a4bec),this['update']({'attributes':_0x369bfc});}['remove'](_0x4e86af={}){if(!_0x4e86af['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x587338,id:_0xf07c61}=this;if(!this['_repository']['hasCommentThread'](_0x587338))throw new _0x31c75c['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x555195}=this['_repository']['getCommentThread'](_0x587338);this['_repository']['fire'](_0x1080f1('removeComment',_0x555195,_0x587338),{'channelId':_0x555195,'threadId':_0x587338,'commentId':_0xf07c61,..._0x4e86af});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function _0x1080f1(_0x1a6f7f,..._0x24fcb7){for(const _0x5aa6cc of _0x24fcb7)void 0x0!==_0x5aa6cc&&(_0x1a6f7f+=':'+String(_0x5aa6cc));return _0x1a6f7f;}class AddCommentThreadCommand extends _0x31c75c['Command']{constructor(_0x15e5e5){super(_0x15e5e5),this['set']('hasContent',!0x1);}['refresh'](){const _0x5b5b1f=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x17d4ba of _0x5b5b1f['getRanges']())if(this['_hasContent'](_0x17d4ba))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x1e98bb=_0x31c75c['uid'](),ranges:_0x5140fa,comment:_0x57fd00}={}){const _0x1913c0=this['editor']['model'],_0x3d6bb8=_0x5140fa??Array['from'](_0x1913c0['document']['selection']['getRanges']()),_0x490857=[];for(const _0x3c8359 of _0x3d6bb8)this['_hasContent'](_0x3c8359)&&_0x490857['push'](this['_trimToContent'](_0x3c8359));if(!_0x490857['length'])throw new _0x31c75c['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x57fd00&&this['_createCommentThread'](_0x1e98bb,_0x57fd00),this['_createMarkersFromRanges'](_0x1e98bb,_0x490857,!!_0x57fd00);}['_createMarkersFromRanges'](_0x4c1c59,_0x3677fe,_0x4b8f1d){this['editor']['model']['change'](_0x1478ca=>{for(const _0xd61c8a of _0x3677fe){const _0x71c4cb=_0x31c75c['uid']()['substr'](0x1,0x5),_0x240b1b='comment:'+_0x4c1c59+':'+_0x71c4cb;_0x1478ca['addMarker'](_0x240b1b,{'range':_0xd61c8a,'usingOperation':_0x4b8f1d,'affectsData':_0x4b8f1d});}});}['_createCommentThread'](_0x2043aa,_0x565214){const _0x12beac=this['editor']['plugins']['get']('CommentsRepository'),_0x52b621=this['editor']['config']['get']('collaboration.channelId'),_0xa8e210=this['editor']['plugins']['get']('Users')['me'];if(!_0xa8e210)throw new _0x31c75c['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x12beac['addCommentThread']({'threadId':_0x2043aa,'channelId':_0x52b621,'comments':[{'authorId':_0xa8e210['id'],'content':_0x565214,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x184291){for(const _0x3812e3 of _0x184291['getItems']())if(this['_itemIsContent'](_0x3812e3))return!0x0;return!0x1;}['_itemIsContent'](_0x596328){return _0x596328['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x596328)&&!_0x596328['is']('element','tableCell');}['_trimToContent'](_0x166292){const _0x4a23a6=_0x1a31a5=>!this['_itemIsContent'](_0x1a31a5['item']),_0x373570=_0x166292['start']['getLastMatchingPosition'](_0x4a23a6),_0x183e9a=_0x166292['end']['getLastMatchingPosition'](_0x4a23a6,{'direction':'backward'});return this['editor']['model']['createRange'](_0x373570,_0x183e9a);}}class EditorAnnotations extends _0x31c75c['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45da48){super(_0x45da48),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x16e7b2=this['editor'],_0x40ecdd=_0x16e7b2['model']['document']['selection'],_0x5105a2=ht(()=>this['refreshSelectedViews'](),0xa);_0x40ecdd['on']('change:range',(_0x2978f1,_0x1fe9da)=>{_0x1fe9da['directChange']&&(_0x5105a2['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x16e7b2['editing']['view']['document'],'change:isFocused',(_0x3a589d,_0x2d7a8b,_0x32c02f)=>{_0x32c02f&&_0x5105a2();}),this['listenTo'](_0x16e7b2['ui']['focusTracker'],'change:isFocused',(_0x21b034,_0x1d1022,_0x4a2432)=>{_0x4a2432||this['fire']('blur',{'isAnnotationTracked':_0x243714=>this['_editorAnnotationsData']['has'](_0x243714['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x25b421){if(this['_editorAnnotations']['has'](_0x25b421['view']))return;this['_editorAnnotations']['add'](_0x25b421['view']),this['editor']['ui']['focusTracker']['add'](_0x25b421['view']['element']);const _0x42fe0f=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x42fe0f['collection'],'remove',(_0x201750,_0x883085)=>{this['editor']['ui']['focusTracker']['remove'](_0x883085['view']['element']),this['_editorAnnotations']['delete'](_0x883085['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x484ee3){if('function'!=typeof _0x484ee3)throw new _0x31c75c['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x484ee3);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x49d420,annotations:_0x26c9a3}){const _0x396106=[],_0x277146=this['editor']['model']['document']['selection'],_0x47dc25=Array['from'](_0x277146['getRanges']());for(const [_0x3abe98,_0xa960d1]of this['_editorAnnotationsData']){const _0x3c7ab3=_0x22129a(_0xa960d1),_0x4a2cd6=_0x26c9a3['getByInnerView'](_0x3abe98);_0x3c7ab3&&_0x4a2cd6&&_0x396106['push']({'annotation':_0x4a2cd6,'range':_0x3c7ab3});}function _0x22129a(_0x9c68fa){for(const _0x5c6d7f of _0x9c68fa)for(const _0x56fa44 of _0x47dc25)if(_0x5c6d7f['containsRange'](_0x56fa44,!_0x277146['isCollapsed']))return _0x5c6d7f;return null;}return _0x396106['sort']((_0x23fc98,_0x52be54)=>{const _0x1b09af=_0x23fc98['range'],_0x452847=_0x52be54['range'];if(!_0x1b09af['isEqual'](_0x452847)){if(_0x1b09af['containsRange'](_0x452847,!0x0))return 0x1;if(_0x452847['containsRange'](_0x1b09af,!0x0))return-0x1;}return _0x23fc98['annotation']==_0x49d420?-0x1:_0x52be54['annotation']==_0x49d420?0x1:0x0;})['map'](_0x41611e=>_0x41611e['annotation']);}get['_editorAnnotationsData'](){const _0x1fcec6=new Map();for(const _0x4718f2 of Array['from'](this['_dataCollectors']))for(const [_0x2c4d81,_0x1e4cb5]of _0x4718f2())_0x1fcec6['set'](_0x2c4d81,_0x1e4cb5);return _0x1fcec6;}}class CommentsRestrictedEditingMode extends _0x31c75c['Plugin']{['afterInit'](){const _0x578282=this['editor'];if(!_0x578282['plugins']['has']('RestrictedEditingModeEditing'))return;_0x578282['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x31c75c['Plugin']{constructor(_0x597ba6){super(_0x597ba6),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x542998=this['editor'],_0x8b56c1=_0x542998['commands']['get']('importWord'),_0x1688c5=_0x542998['plugins']['get'](_0x1eec90);_0x8b56c1&&(_0x8b56c1['on']('execute',(_0x13ee2d,[,_0x43c7d3])=>{_0x43c7d3['collaboration_features']={'comments':!0x0,'user_id':_0x1688c5['me']['id']};},{'priority':_0x31c75c['priorities']['high']+0xa}),this['listenTo'](_0x8b56c1,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x449d3f,_0x36c721){const {comment_threads:_0x2656d5}=_0x36c721;_0x2656d5&&_0x2656d5['forEach'](({thread_id:_0x594326,comments:_0x49d5d3,is_resolved:_0x1fa617})=>{const _0x6c300d=new Date(),_0x8330b3=_0x49d5d3['map'](({author:_0x52cb32,content:_0x599e77,created_at:_0x37f25d})=>({'content':_0x599e77,'authorId':this['editor']['plugins']['get'](_0x1eec90)['me']['id'],'createdAt':_0x6c300d,'attributes':{'@external':{'authorName':_0x52cb32,'createdAt':_0x37f25d?new Date(_0x37f25d):new Date(),'source':'importWord'}}})),_0x4ca926=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x4ca926,'threadId':_0x594326,'comments':_0x8330b3,'resolvedAt':_0x1fa617?_0x6c300d:null});});}}class CommentsClipboard extends _0x31c75c['Plugin']{constructor(_0x59b160){super(_0x59b160),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x31c75c['ClipboardMarkersUtils'],_0x31c75c['ClipboardPipeline']];}['afterInit'](){const _0x44cf1a=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x44cf1a,'contentInsertion',(_0x524a40,_0x1c34ad)=>this['_removeMarkersWithoutThreads'](_0x1c34ad['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x31e47c){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x31e47c;const _0x5df885=this['editor']['plugins']['get']('CommentsRepository');for(const _0x2a79dd of _0x31e47c['keys']()){const [_0x37b8e9,_0x408427]=_0x2a79dd['split'](':');'comment'!=_0x37b8e9||_0x5df885['hasCommentThread'](_0x408427)||_0x31e47c['delete'](_0x2a79dd);}return _0x31e47c;}['_registerMarkerInClipboardPipeline'](){const _0x15d154=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x552bac=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x552bac&&_0x15d154['_registerMarkerToCopy']('comment',_0x552bac);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x1c6265){switch(_0x1c6265){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function _0x46a35d(_0x5ee31c){const _0x2e7208=_0x5ee31c['split'](':');return{'group':_0x2e7208[0x0],'id':_0x2e7208[0x1],'part':_0x2e7208[0x2]};}class ShowCommentHighlights extends _0x31c75c['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x5b29d9,_0x585442)=>{if(!_0x585442['options']['showCommentHighlights'])return null;if(_0x585442['options']['ignoreResolvedComments']){const {id:_0xd78e75}=_0x46a35d(_0x5b29d9['markerName']),_0xf221de=this['editor']['plugins']['get'](CommentsRepository);if(_0xf221de['getCommentThread'](_0xd78e75)?.['isResolved']&&_0x5b29d9['item'])return _0x585442['consumable']['consume'](_0x5b29d9['item'],'addMarker:'+_0x5b29d9['markerName']),_0x585442['consumable']['consume'](_0x5b29d9['item'],'removeMarker:'+_0x5b29d9['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4cc73f=>{_0x4cc73f['on']('addMarker:comment',(_0x330ef7,_0x469160,_0x2daf49)=>{if(!_0x2daf49['options']['showCommentHighlights'])return;const _0x3e8a8a=_0x469160['item'];if(!_0x3e8a8a)return;const _0x1065ee=_0x2daf49['mapper']['toViewElement'](_0x3e8a8a);this['editor']['model']['schema']['isObject'](_0x3e8a8a)&&_0x1065ee&&!_0x1065ee['getCustomProperty']('widget')&&_0x1065ee['is']('containerElement')&&_0x31c75c['toWidget'](_0x1065ee,_0x2daf49['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4c0905,{writer:_0x40744e,options:_0x361615})=>{if(!_0x361615['showCommentHighlights'])return null;const _0x3a931b=_0x40744e['createContainerElement']('div'),_0x47943e=_0x40744e['createEmptyElement']('hr');return _0x40744e['addClass']('ck-horizontal-line',_0x3a931b),_0x40744e['insert'](_0x40744e['createPositionAt'](_0x3a931b,0x0),_0x47943e),_0x3a931b;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x533bc3,{writer:_0x514f8d,options:_0x1d7f20})=>{if(!_0x1d7f20['showCommentHighlights'])return null;const _0x3e253a=_0x514f8d['createContainerElement']('span'),_0x335286=_0x514f8d['createEmptyElement']('img');return _0x514f8d['addClass']('image-inline',_0x3e253a),_0x514f8d['insert'](_0x514f8d['createPositionAt'](_0x3e253a,0x0),_0x335286),_0x3e253a;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x16f5f2,{writer:_0x341f4a,options:_0x558445})=>{if(_0x558445['showCommentHighlights'])return _0x341f4a['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x17ab8a,_0x391b37,_0x5ba1b8)=>{_0x5ba1b8['options']['showCommentHighlights']&&_0x17ab8a['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x31c75c['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x1eec90,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e577f){super(_0x4e577f),this['set']('isThreadsLoadingPaused',!0x0),_0x4e577f['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x2aecc8,_0x544869,_0x3d7f13,_0x269574)=>{const _0x5f33c2=_0x4e577f['plugins']['get'](CommentsRepository),_0x1dfcd9=_0x3d7f13?_0x46a35d(_0x3d7f13)['id']:null;_0x4e577f['model']['change'](()=>{if(_0x1dfcd9){const _0x45449e=this['getAllMarkersForId'](_0x1dfcd9);for(const _0x4afbbc of _0x45449e)_0x4e577f['editing']['reconvertMarker'](_0x4afbbc);}if(_0x269574){const {id:_0x41b479}=_0x46a35d(_0x269574),_0x2102e6=_0x5f33c2['getCommentThread'](_0x41b479);if(_0x2102e6&&_0x2102e6['unlinkedAt'])return;if(_0x2102e6&&!_0x2102e6['isAttached'])return;const _0x2df20b=this['getAllMarkersForId'](_0x41b479);for(const _0x467bed of _0x2df20b)_0x4e577f['editing']['reconvertMarker'](_0x467bed);}}),_0x1dfcd9&&this['scrollToThreadMarker'](_0x1dfcd9);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x20f2fe=this['editor'],_0x5eec9e=_0x20f2fe['plugins']['get'](CommentsRepository),_0x3683f6=_0x20f2fe['config']['get']('collaboration.channelId'),_0x410ffa=_0x5eec9e['getCommentThreads']()['filter'](_0xe82b9f=>_0xe82b9f['channelId']!==_0x3683f6);_0x20f2fe['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x20f2fe)),this['listenTo'](_0x20f2fe,'change:isReadOnly',(_0x23121a,_0x4ff1d2,_0x14ffe2)=>{_0x5eec9e['switchReadOnly'](_0x14ffe2,_0x20f2fe['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x5eec9e,_0x1c8b1e('addCommentThread',_0x3683f6),(_0x2a330e,{threadId:_0x4bfd90})=>{const _0x558d29=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4bfd90);_0x558d29?.['unlinkedAt']&&this['_attachArchivedThread'](_0x4bfd90);}),this['listenTo'](_0x5eec9e,_0x1c8b1e('removeCommentThread',_0x3683f6),(_0x8f762c,{threadId:_0x1f88d2})=>{_0x20f2fe['model']['enqueueChange']({'isUndoable':!0x1},_0x3879f1=>{const _0x2b4c00=this['getAllMarkersForId'](_0x1f88d2);for(const _0x20ec92 of _0x2b4c00)_0x3879f1['removeMarker'](_0x20ec92);});}),this['listenTo'](_0x5eec9e,_0x1c8b1e('resolveCommentThread',_0x3683f6),(_0x363683,{threadId:_0x2e7b5e})=>{this['_reconvertMarkers'](_0x2e7b5e);const _0x5a218b=this['editor']['plugins']['get'](Annotations);(this['editor']['editing']['view']['hasDomSelection']||_0x5a218b['collection']['isFocused'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x2e7b5e)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x5eec9e,_0x1c8b1e('reopenCommentThread',_0x3683f6),(_0x90a717,{threadId:_0x2ec418})=>{this['_reconvertMarkers'](_0x2ec418);},{'priority':'low'}),this['listenTo'](_0x5eec9e,_0x1c8b1e('addComment',_0x3683f6),(_0x5242f5,{threadId:_0x35abe7,isFromAdapter:_0x5ccd2c})=>{const _0x5648c1=this['getAllMarkersForId'](_0x35abe7);if(_0x5ccd2c||0x0==_0x5648c1['length']||!_0x5eec9e['hasCommentThread'](_0x35abe7))return;0x1===_0x5eec9e['getCommentThread'](_0x35abe7)['length']&&_0x20f2fe['model']['enqueueChange']({'isUndoable':!0x1},_0x543ba7=>{for(const _0x182b96 of _0x5648c1)_0x543ba7['updateMarker'](_0x182b96,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x410ffa);}['afterInit'](){!async function(_0x268276){const _0x2b4144=_0xe9d8d8([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x452878=0x73460ab3,_0x1b2ce5=0x734180db^_0x452878,_0x9c66e0=window[_0xe9d8d8([0x44,0x61,0x74,0x65])][_0xe9d8d8([0x6e,0x6f,0x77])](),_0x314287=_0x268276[_0xe9d8d8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48789b=new window[(_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x577209=>{_0x314287[_0xe9d8d8([0x6f,0x6e,0x63,0x65])](_0xe9d8d8([0x72,0x65,0x61,0x64,0x79]),_0x577209);}),_0x43ef94={[_0xe9d8d8([0x6b,0x74,0x79])]:_0xe9d8d8([0x45,0x43]),[_0xe9d8d8([0x75,0x73,0x65])]:_0xe9d8d8([0x73,0x69,0x67]),[_0xe9d8d8([0x63,0x72,0x76])]:_0xe9d8d8([0x50,0x2d,0x32,0x35,0x36]),[_0xe9d8d8([0x78])]:_0xe9d8d8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xe9d8d8([0x79])]:_0xe9d8d8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xe9d8d8([0x61,0x6c,0x67])]:_0xe9d8d8([0x45,0x53,0x32,0x35,0x36])},_0x217baf=_0x314287[_0xe9d8d8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe9d8d8([0x67,0x65,0x74])](_0xe9d8d8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a7a47(){let _0x1cd5d5,_0x12800b=null,_0xc7363d=null;try{if(_0x217baf==_0xe9d8d8([0x47,0x50,0x4c]))return _0xe9d8d8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cd5d5=_0x4f879f(),!_0x1cd5d5)return _0xe9d8d8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cd5d5[_0xe9d8d8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc7363d=_0x535f3b(_0x1cd5d5[_0xe9d8d8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cd5d5[_0xe9d8d8([0x6a,0x74,0x69])])),await _0x2ccc88()?_0x383933()?_0xf74e2f()?_0xe9d8d8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8f6c2()?(_0x1cd5d5[_0xe9d8d8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe9d8d8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12800b=_0x2b111c(_0xe9d8d8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b920b()):_0xe9d8d8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe9d8d8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe9d8d8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe9d8d8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf74e2f(){const _0x237a49=[_0xe9d8d8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe9d8d8([0x74,0x72,0x69,0x61,0x6c])][_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cd5d5[_0xe9d8d8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9c66e0/0x3e8:0xe10*_0x1b2ce5;return _0x1cd5d5[_0xe9d8d8([0x65,0x78,0x70])]<_0x237a49;}function _0x383933(){const _0x4c617f=_0x1cd5d5[_0xe9d8d8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4c617f)return!0x1;if(_0x4c617f[_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9d8d8([0x2a])))return!0x0;if(_0x4c617f[_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9d8d8([0x43,0x4d,0x54])))return!0x0;if(_0x4c617f[_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9d8d8([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x1167f1())return!0x0;if(_0x4c617f[_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9d8d8([0x52,0x43,0x4d,0x54]))){if(_0x2a552d())return!0x0;if(_0x35d1a5()||_0x50428f())return!0x0;}return!0x1;}function _0x8f6c2(){const _0x3b45c0=_0x1cd5d5[_0xe9d8d8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b45c0||0x0==_0x3b45c0[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e069a}=new URL(window[_0xe9d8d8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b45c0[_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e069a))return!0x0;const _0x3ed6c2=_0x1e069a[_0xe9d8d8([0x73,0x70,0x6c,0x69,0x74])](_0xe9d8d8([0x2e]));return _0x3b45c0[_0xe9d8d8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5834d2=>_0x5834d2[_0xe9d8d8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9d8d8([0x2a])))[_0xe9d8d8([0x6d,0x61,0x70])](_0x14c4ed=>_0x14c4ed[_0xe9d8d8([0x73,0x70,0x6c,0x69,0x74])](_0xe9d8d8([0x2e])))[_0xe9d8d8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3528b3=>_0x3528b3[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ed6c2[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe9d8d8([0x6d,0x61,0x70])](_0x1b4a4e=>Array(_0x3ed6c2[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b4a4e[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe9d8d8([0x66,0x69,0x6c,0x6c])](_0x1b4a4e[0x0]===_0xe9d8d8([0x2a])?_0xe9d8d8([0x2a]):'')[_0xe9d8d8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b4a4e))[_0xe9d8d8([0x73,0x6f,0x6d,0x65])](_0x3be69a=>_0x3ed6c2[_0xe9d8d8([0x65,0x76,0x65,0x72,0x79])]((_0x5b6d02,_0x550d78)=>_0x3be69a[_0x550d78]===_0x5b6d02||_0x3be69a[_0x550d78]===_0xe9d8d8([0x2a])));}function _0x4b920b(){return _0x12800b&&_0xc7363d?new window[(_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30f7f2,_0x34c289)=>{_0x12800b[_0xe9d8d8([0x74,0x68,0x65,0x6e])](_0x30f7f2,_0x34c289),_0xc7363d[_0xe9d8d8([0x74,0x68,0x65,0x6e])](_0x4d764f=>{_0x4d764f!=_0xe9d8d8([0x56,0x61,0x6c,0x69,0x64])&&_0x30f7f2(_0x4d764f);},_0x34c289);}):_0x12800b||_0xc7363d||_0xe9d8d8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x535f3b(_0x477c4d,_0xcd1be9){return new window[(_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189879=>{if(_0x92e92f())return _0x189879(_0xe9d8d8([0x56,0x61,0x6c,0x69,0x64]));_0x52b91e(),_0x314287[_0xe9d8d8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe9d8d8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ac347=!0x1;const _0x41b32b=_0x31c75c['uid']();function _0x2fabab(_0x284178){return!!_0x284178&&(typeof _0x284178===_0xe9d8d8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x284178===_0xe9d8d8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x284178[_0xe9d8d8([0x74,0x68,0x65,0x6e])]===_0xe9d8d8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x284178[_0xe9d8d8([0x63,0x61,0x74,0x63,0x68])]===_0xe9d8d8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36b23e(_0x926394){_0x3cb5e7(_0x926394)[_0xe9d8d8([0x74,0x68,0x65,0x6e])](_0x1f096f=>{if(!_0x1f096f||_0x1f096f[_0xe9d8d8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe9d8d8([0x6f,0x6b]))return _0xe9d8d8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19b011(_0x3e9b7f(_0x41b32b+_0xcd1be9))!=_0x1f096f[_0xe9d8d8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe9d8d8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe9d8d8([0x56,0x61,0x6c,0x69,0x64]);})[_0xe9d8d8([0x74,0x68,0x65,0x6e])](_0x2fb9df=>(_0x8194b2(),_0x2fb9df),()=>{const _0x3459f8=_0x3254a9();return null==_0x3459f8?(_0x8194b2(),_0xe9d8d8([0x56,0x61,0x6c,0x69,0x64])):_0xe9d8d8(_0x9c66e0-_0x3459f8>(0x574a8eb3^_0x452878)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe9d8d8([0x74,0x68,0x65,0x6e])](_0x189879)[_0xe9d8d8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x189879(_0xe9d8d8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x449f55=0x7370e433^_0x452878;function _0x8194b2(){const _0x26c903=_0xe9d8d8([0x6c,0x6c,0x63,0x74,0x2d])+_0x19b011(_0x3e9b7f(_0x477c4d)),_0x1253e3=_0x1495ed(_0x19b011(window[_0xe9d8d8([0x4d,0x61,0x74,0x68])][_0xe9d8d8([0x63,0x65,0x69,0x6c])](_0x9c66e0/_0x449f55)));window[_0xe9d8d8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe9d8d8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c903,_0x1253e3);}function _0x3254a9(){const _0x168927=_0xe9d8d8([0x6c,0x6c,0x63,0x74,0x2d])+_0x19b011(_0x3e9b7f(_0x477c4d)),_0x2e8858=window[_0xe9d8d8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe9d8d8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168927);return _0x2e8858?window[_0xe9d8d8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1495ed(_0x2e8858),0x10)*_0x449f55:null;}function _0x3cb5e7(_0x4bb588){return new window[(_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24c5cc,_0x47a24d)=>{_0x4bb588[_0xe9d8d8([0x74,0x68,0x65,0x6e])](_0x24c5cc,_0x47a24d),window[_0xe9d8d8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47a24d,0x7347de73^_0x452878);});}}_0x314287[_0xe9d8d8([0x6f,0x6e])](_0xe9d8d8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x577002,_0x427b11)=>{if(_0x427b11[0x0]!=_0x477c4d)return _0x189879(_0xe9d8d8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x427b11[0x1]={..._0x427b11[0x1],[_0xe9d8d8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41b32b};},{[_0xe9d8d8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe9d8d8([0x68,0x69,0x67,0x68])}),_0x314287[_0xe9d8d8([0x6f,0x6e])](_0xe9d8d8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b4c2d=>{_0x2fabab(_0x5b4c2d[_0xe9d8d8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ac347=!0x0,_0x36b23e(_0x5b4c2d[_0xe9d8d8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe9d8d8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe9d8d8([0x6c,0x6f,0x77])}),_0x48789b[_0xe9d8d8([0x74,0x68,0x65,0x6e])](()=>{_0x2ac347||_0x189879(_0xe9d8d8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x92e92f(){return _0x314287[_0xe9d8d8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe9d8d8([0x76,0x69,0x65,0x77])][_0xe9d8d8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe9d8d8([0x61,0x75,0x74,0x6f]);}function _0x52b91e(){_0x314287[_0xe9d8d8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe9d8d8([0x76,0x69,0x65,0x77])][_0xe9d8d8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe9d8d8([0x61,0x75,0x74,0x6f]);}}function _0x2b111c(_0x94d6f7){const _0x5f1cb7=[new window[(_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4be7db=>setTimeout(_0x4be7db,0x734f347f^_0x452878)),_0x48789b[_0xe9d8d8([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x138a92=>{let _0x382cd9=0x0;_0x314287[_0xe9d8d8([0x6d,0x6f,0x64,0x65,0x6c])][_0xe9d8d8([0x6f,0x6e])](_0xe9d8d8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd78b10,_0x936177)=>{_0x936177[0x0][_0xe9d8d8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x382cd9++,_0x382cd9==(0x73460f5b^_0x452878)&&(_0x138a92(),_0xd78b10[_0xe9d8d8([0x6f,0x66,0x66])]());});}))];return window[_0xe9d8d8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe9d8d8([0x72,0x61,0x63,0x65])](_0x5f1cb7)[_0xe9d8d8([0x74,0x68,0x65,0x6e])](()=>_0x94d6f7);}async function _0x441ffe(){await _0x48789b,_0x314287[_0xe9d8d8([0x6d,0x6f,0x64,0x65,0x6c])][_0xe9d8d8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1369c6,_0x314287[_0xe9d8d8([0x6d,0x6f,0x64,0x65,0x6c])][_0xe9d8d8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1369c6,_0x314287[_0xe9d8d8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe9d8d8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1167f1(){return window[_0xe9d8d8([0x67,0x6c,0x6f,0x62])]&&window[_0xe9d8d8([0x67,0x6c,0x6f,0x62])][_0xe9d8d8([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2a552d(){return _0x4f7a58(_0xe9d8d8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3b9c45(_0xe9d8d8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xe9d8d8([0x73,0x74,0x61,0x74,0x65])]==_0xe9d8d8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x35d1a5(){return _0x4f7a58(_0xe9d8d8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x50428f(){return _0x4f7a58(_0xe9d8d8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x5bce2e(_0x194717){const _0x86833b=_0x55ac47();_0x314287[_0x86833b]=_0xe9d8d8([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x194717,_0x194717!=_0xe9d8d8([0x56,0x61,0x6c,0x69,0x64])&&_0x441ffe();}function _0x55ac47(){const _0x19beba=window[_0xe9d8d8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe9d8d8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe9d8d8([0x6e,0x6f,0x77])]())[_0xe9d8d8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe9d8d8([0x2e]),'');let _0x5a0566=_0xe9d8d8([0x4b]);for(let _0x23d403=0x0;_0x23d403<_0x19beba[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23d403+=0x2){let _0x580172=window[_0xe9d8d8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19beba[_0xe9d8d8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23d403,_0x23d403+0x2));_0x580172>=_0x2b4144[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x580172-=_0x2b4144[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a0566+=_0x2b4144[_0x580172];}return _0x5a0566;}function _0x4f879f(){const _0x5b5dd7=_0x217baf[_0xe9d8d8([0x73,0x70,0x6c,0x69,0x74])](_0xe9d8d8([0x2e]));if(0x3!=_0x5b5dd7[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b2bf7(_0x5b5dd7[0x1]);function _0x5b2bf7(_0x551281){const _0x4e25d6=_0x4ea6ed(_0x551281);return _0x4e25d6&&_0x4a0f07()?_0x4e25d6:null;function _0x4a0f07(){const _0x171166=_0x4e25d6[_0xe9d8d8([0x6a,0x74,0x69])],_0x11a9a3=window[_0xe9d8d8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x171166[_0xe9d8d8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x171166[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x364d4b={..._0x4e25d6,[_0xe9d8d8([0x6a,0x74,0x69])]:_0x171166[_0xe9d8d8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x171166[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x364d4b[_0xe9d8d8([0x76,0x63])],_0x3e9b7f(_0x364d4b)==_0x11a9a3;}}}async function _0x2ccc88(){let _0x80704e=!0x0;try{const _0x58505e=_0x217baf[_0xe9d8d8([0x73,0x70,0x6c,0x69,0x74])](_0xe9d8d8([0x2e])),[_0x3f404f,_0x184464,_0x27d020]=_0x58505e;return _0x495409(_0x3f404f),await _0x2ca5de(_0x3f404f,_0x184464,_0x27d020),_0x80704e;}catch{return!0x1;}function _0x495409(_0x323968){const _0x1d7224=_0x4ea6ed(_0x323968);_0x1d7224&&_0x1d7224[_0xe9d8d8([0x61,0x6c,0x67])]==_0xe9d8d8([0x45,0x53,0x32,0x35,0x36])||(_0x80704e=!0x1);}async function _0x2ca5de(_0xb980ad,_0x20ec1e,_0x399bda){const _0x8e6306=window[_0xe9d8d8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe9d8d8([0x66,0x72,0x6f,0x6d])](_0x120768(_0x399bda),_0x19896c=>_0x19896c[_0xe9d8d8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f27ea=new window[(_0xe9d8d8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe9d8d8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb980ad+_0xe9d8d8([0x2e])+_0x20ec1e),_0x57684f=window[_0xe9d8d8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe9d8d8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57684f)return;const _0x564992=await _0x57684f[_0xe9d8d8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe9d8d8([0x6a,0x77,0x6b]),_0x43ef94,{[_0xe9d8d8([0x6e,0x61,0x6d,0x65])]:_0xe9d8d8([0x45,0x43,0x44,0x53,0x41]),[_0xe9d8d8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe9d8d8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe9d8d8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57684f[_0xe9d8d8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe9d8d8([0x6e,0x61,0x6d,0x65])]:_0xe9d8d8([0x45,0x43,0x44,0x53,0x41]),[_0xe9d8d8([0x68,0x61,0x73,0x68])]:{[_0xe9d8d8([0x6e,0x61,0x6d,0x65])]:_0xe9d8d8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x564992,_0x8e6306,_0x1f27ea)||(_0x80704e=!0x1);}}function _0x4ea6ed(_0x49beb8){return _0x49beb8[_0xe9d8d8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe9d8d8([0x65,0x79]))?JSON[_0xe9d8d8([0x70,0x61,0x72,0x73,0x65])](_0x120768(_0x49beb8)):null;}function _0x120768(_0x132b8d){return window[_0xe9d8d8([0x61,0x74,0x6f,0x62])](_0x132b8d[_0xe9d8d8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe9d8d8([0x2b]))[_0xe9d8d8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe9d8d8([0x2f])));}function _0x3e9b7f(_0x31566e){let _0x2230a6=0x1505;function _0x378f08(_0x435e55){for(let _0x164ec5=0x0;_0x164ec5<_0x435e55[_0xe9d8d8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x164ec5++){const _0x47836f=_0x435e55[_0xe9d8d8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x164ec5);_0x2230a6=(_0x2230a6<<0x5)+_0x2230a6+_0x47836f,_0x2230a6&=_0x2230a6;}}function _0x3514da(_0x1e87fc){Array[_0xe9d8d8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e87fc)?_0x1e87fc[_0xe9d8d8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3514da):_0x1e87fc&&typeof _0x1e87fc==_0xe9d8d8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe9d8d8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e87fc)[_0xe9d8d8([0x73,0x6f,0x72,0x74])]()[_0xe9d8d8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x507fe0,_0x234cb3])=>{_0x378f08(_0x507fe0),_0x3514da(_0x234cb3);}):_0x378f08(window[_0xe9d8d8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e87fc));}return _0x3514da(_0x31566e),_0x2230a6>>>0x0;}function _0x19b011(_0x1ab503){return _0x1ab503[_0xe9d8d8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe9d8d8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe9d8d8([0x30]));}function _0x1495ed(_0x53e08d){return _0x53e08d[_0xe9d8d8([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe9d8d8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe9d8d8([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f7a58(_0x3de294){return _0x314287[_0xe9d8d8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe9d8d8([0x68,0x61,0x73])](_0x3de294);}function _0x3b9c45(_0x8627cc){return _0x314287[_0xe9d8d8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe9d8d8([0x67,0x65,0x74])](_0x8627cc);}function _0x1369c6(){}function _0xe9d8d8(_0x2c0434){return _0x2c0434['map'](_0x40cf7f=>String['fromCharCode'](_0x40cf7f))['join']('');}_0x5bce2e(await _0x5a7a47());}(this);}['destroy'](){const _0x1b3f69=this['editor']['plugins']['get'](CommentsRepository),_0xdbc238=this['editor']['config']['get']('collaboration.channelId');for(const _0x5fc052 of _0x1b3f69['getCommentThreads']({'channelId':_0xdbc238}))_0x1b3f69['_detachCommentThread'](_0x5fc052['id']),_0x1b3f69['_threads']['delete'](_0x5fc052['id']);super['destroy']();}['hasMarkerForId'](_0x14c3e9){return this['getAllMarkersForId'](_0x14c3e9)['length']>0x0;}['getAllMarkersForId'](_0x43b9cd){const _0x156282=[];for(const _0x12595a of this['editor']['model']['markers'])_0x12595a['name']['startsWith']('comment:'+_0x43b9cd)&&_0x156282['push'](_0x12595a);return _0x156282;}['scrollToThreadMarker'](_0x4c6e97){setTimeout(()=>{const _0x5378e1=this['_getTargetForId'](_0x4c6e97);if(!_0x5378e1)return;this['activeMarker']&&_0x46a35d(this['activeMarker'])['id']===_0x4c6e97&&_0x31c75c['scrollViewportToShowTarget']({'target':_0x5378e1[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x52c8ab){this['editor']['model']['change'](()=>{for(const _0xd2fcad of this['getAllMarkersForId'](_0x52c8ab))this['editor']['editing']['reconvertMarker'](_0xd2fcad);});}['_attachArchivedThread'](_0x27fccf){const _0x1fdb94=this['editor']['plugins']['get'](CommentsRepository),_0x4e32b8=this['editor']['plugins']['get'](EditorAnnotations),_0x5d6fed=_0x1fdb94['getCommentThread'](_0x27fccf);if(!_0x5d6fed['isAttached']){const _0x18b7e0=_0x5d6fed['attachTo'](()=>this['_getTargetForId'](_0x5d6fed['id']));_0x4e32b8['registerAnnotation'](_0x18b7e0),_0x5d6fed['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x34219c=this['editor'],_0x50bfc4=_0x34219c['plugins']['get'](_0x1eec90);_0x34219c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x1ea0b9,_0x27ba96)=>{const {id:_0x4f17c2}=_0x46a35d(_0x1ea0b9['markerName']),_0x49e1d2=_0x34219c['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4f17c2),_0x55868a=this['activeMarker']&&_0x46a35d(this['activeMarker'])['id']===_0x4f17c2;let _0x4cc72e;if(_0x49e1d2&&_0x49e1d2['isResolved']&&!_0x55868a&&_0x1ea0b9['item'])return _0x27ba96['consumable']['consume'](_0x1ea0b9['item'],'addMarker:'+_0x1ea0b9['markerName']),_0x27ba96['consumable']['consume'](_0x1ea0b9['item'],'removeMarker:'+_0x1ea0b9['markerName']),null;const _0x72e09f=['ck-comment-marker'];return _0x55868a&&_0x72e09f['push']('ck-comment-marker--active'),_0x4cc72e=_0x49e1d2?.['length']?_0x49e1d2['comments']['first']['author']['id']:_0x50bfc4['me']['id'],{'classes':_0x72e09f,'attributes':{'data-comment':_0x4f17c2,'data-author-id':_0x4cc72e}};}}),_0x34219c['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x5a8110,{options:_0x1d7af2})=>{if(_0x1d7af2['showCommentHighlights'])return null;const _0x1c5060=_0x34219c['plugins']['get'](CommentsRepository),_0x183f81=_0x34219c['model']['markers']['get'](_0x5a8110),{id:_0x457a1a,part:_0x21dc56}=_0x46a35d(_0x5a8110);return _0x183f81&&!_0x183f81['affectsData']||_0x1d7af2['ignoreResolvedComments']&&_0x1c5060['getCommentThread'](_0x457a1a)?.['isResolved']?null:{'group':'comment','name':_0x21dc56?_0x457a1a+':'+_0x21dc56:_0x457a1a};}}),_0x34219c['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x1806cb,{writer:_0x53e976})=>_0x53e976['createElement']('$marker',{'data-name':'comment:'+_0x1806cb['getAttribute']('id')})}),_0x34219c['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x3953b1=this['editor'],_0x1080d1=_0x3953b1['plugins']['get'](CommentsRepository),_0x25a3d5=new Set(),_0x4fa42c=new Set();_0x3953b1['model']['document']['registerPostFixer'](_0x46c553=>{let _0x262a17=!0x1;for(const {name:_0x4dc402,data:_0x589610}of _0x3953b1['model']['document']['differ']['getChangedMarkers']()){const {group:_0x26c775,id:_0x44200b}=_0x46a35d(_0x4dc402);let _0x456cb1=_0x589610['newRange'];if('comment'!==_0x26c775||!_0x456cb1)continue;const _0x816a9c='$graveyard'===_0x456cb1['root']['rootName'];_0x816a9c||(_0x456cb1=_0x43e046(_0x456cb1,_0x3953b1['model']),!_0x456cb1||_0x456cb1['isCollapsed']||!_0x589610['newRange']||_0x456cb1['isEqual'](_0x589610['newRange']))?_0x3953b1['model']['hasContent'](_0x456cb1)&&!_0x816a9c?this['isThreadsLoadingPaused']?_0x25a3d5['add'](_0x4dc402):this['_handleThreadMarker'](_0x4dc402,_0x44200b):(_0x4fa42c['add'](_0x4dc402),_0x25a3d5['delete'](_0x4dc402),_0x46c553['removeMarker'](_0x4dc402),_0x262a17=!0x0):(_0x46c553['updateMarker'](_0x4dc402,{'range':_0x456cb1}),_0x262a17=!0x0);}return _0x262a17;}),this['on']('change:isThreadsLoadingPaused',(_0x3067a2,_0x37e7fb,_0x259098)=>{if(!_0x259098&&_0x25a3d5['size'])for(const _0x46a18a of _0x25a3d5){const {id:_0x1c6c3a}=_0x46a35d(_0x46a18a);_0x25a3d5['delete'](_0x46a18a),_0x3953b1['model']['markers']['get'](_0x46a18a)&&this['_handleThreadMarker'](_0x46a18a,_0x1c6c3a);}}),this['listenTo'](_0x3953b1['model']['document'],'change',()=>{for(const {name:_0xe37679,data:{newRange:_0x47bd3c}}of _0x3953b1['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4a6b5e,id:_0x51bdba}=_0x46a35d(_0xe37679);if('comment'!==_0x4a6b5e)continue;const _0x41dc7b=_0x1080d1['getCommentThread'](_0x51bdba),_0x5cea75=this['hasMarkerForId'](_0x51bdba);_0x41dc7b&&(!_0x41dc7b['_hasTargetInContent']&&_0x47bd3c&&_0x3953b1['editing']['view']['once']('render',()=>{const _0x2ba30f=_0x3953b1['plugins']['get'](Annotations),_0xaa670b=_0x1080d1['_threadToController']['get'](_0x41dc7b)['view'];_0x2ba30f['getByInnerView'](_0xaa670b)['refreshVisibility']();},{'priority':'low'}),_0x41dc7b['_hasTargetInContent']=_0x5cea75||!!_0x47bd3c),_0x47bd3c||(_0x4fa42c['add'](_0xe37679),_0x25a3d5['delete'](_0xe37679));}for(const _0x2aa685 of _0x4fa42c){const {id:_0x746ca0}=_0x46a35d(_0x2aa685),_0x2731c9=_0x1080d1['getCommentThread'](_0x746ca0);if(_0x25a3d5['delete'](_0x2aa685),!_0x2731c9)continue;const _0x528849=this['hasMarkerForId'](_0x746ca0);_0x528849||_0x2731c9['isSubmitted']?_0x528849||_0x2731c9['unlinkedAt']||_0x2731c9['setUnlinkedAt'](new Date()):_0x2731c9['remove']();}_0x4fa42c['clear']();});}['_handleInitialThreads'](_0x3e8737){_0x3e8737['forEach'](_0x128918=>{_0x128918['unlinkedAt']&&this['_attachArchivedThread'](_0x128918['id']);});}['_getTargetForId'](_0x5d65c7){const _0x11e395=this['editor'],_0x5ee571=this['getAllMarkersForId'](_0x5d65c7);return _0x458809(_0x11e395['editing'],_0x5ee571);}['_getTextContext'](_0x2e4d1a){const _0x49b39c=this['getAllMarkersForId'](_0x2e4d1a);let _0x15b530='',_0x4089ac=!0x1;for(const _0x469e3e of _0x49b39c){const _0x28f48d=_0x469e3e['getRange']();for(const _0x2fa1d6 of Array['from'](_0x28f48d['getItems']()))_0x2fa1d6['is']('$textProxy')?(_0x15b530&&_0x4089ac&&(_0x15b530+='\x20',_0x4089ac=!0x1),_0x15b530+=_0x2fa1d6['data']):_0x4089ac=!0x0;_0x4089ac=!0x0;}return _0x15b530['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x4ce12b,_0x5076f4){const _0x373421=this['editor'],_0xf59461=_0x373421['plugins']['get'](CommentsRepository);let _0x3331ef=_0xf59461['getCommentThread'](_0x5076f4);const _0x337dc4=_0x373421['config']['get']('collaboration.channelId'),_0x3660a6=_0x373421['plugins']['get'](EditorAnnotations);if(_0x3331ef&&(_0x3331ef['unlinkedAt']&&_0x3331ef['setUnlinkedAt'](null),_0x3331ef['isAttached']))return _0x3331ef;return!this['getAllMarkersForId'](_0x5076f4)[0x0]['managedUsingOperations']?_0x373421['editing']['view']['once']('render',()=>{if(_0xf59461['getCommentThread'](_0x5076f4))return;const _0x2c0fdd=_0x373421['plugins']['get'](Annotations);_0x3331ef=_0xf59461['openNewCommentThread']({'channelId':_0x337dc4,'threadId':_0x5076f4,'target':()=>this['_getTargetForId'](_0x5076f4),'context':{'type':'text','value':this['_getTextContext'](_0x5076f4)}});const _0x3fc309=_0xf59461['_threadToController']['get'](_0x3331ef)['view'],_0x533bf2=_0x2c0fdd['getByInnerView'](_0x3fc309);_0x533bf2&&_0x3660a6['registerAnnotation'](_0x533bf2);},{'priority':'low'}):_0xf59461['fetchCommentThread']({'channelId':_0x337dc4,'threadId':_0x5076f4})['then'](_0x153dab=>{if('destroyed'!==_0x373421['state']){if(_0x3331ef=_0x153dab,_0x3331ef&&!_0x3331ef['isAttached']){const _0x2b2a69=_0x3331ef['attachTo'](()=>this['_getTargetForId'](_0x5076f4));_0x3660a6['registerAnnotation'](_0x2b2a69),_0x3331ef['isResolved']&&this['_reconvertMarkers'](_0x5076f4);}else{if(!_0x3331ef){const _0x2a2a44=this['getAllMarkersForId'](_0x5076f4);_0x373421['model']['change'](_0x4d9719=>{for(const _0x17cd37 of _0x2a2a44)_0x4d9719['removeMarker'](_0x17cd37);});}}}}),_0x3331ef;}['_handleThreadMarker'](_0xa28597,_0x85e83e){const _0x4e27ce=this['_attachMarkerToThread'](_0xa28597,_0x85e83e);_0x4e27ce&&!_0x4e27ce['context']&&_0x4e27ce['setContext']({'type':'text','value':this['_getTextContext'](_0x85e83e)});}['_initAriaMarkerChangeAnnouncements'](){const _0x56e6e7=this['editor'];_0x2e1ccc(_0x56e6e7['model'],({left:_0x595e35,entered:_0x5210a5})=>{for(const _0x5eac60 of _0x595e35)if(_0x3d586e(_0x5eac60)){_0x56e6e7['ui']['ariaLiveAnnouncer']['announce'](_0x58309f(_0x56e6e7['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x164b66 of _0x5210a5)if(_0x3d586e(_0x164b66)){_0x56e6e7['ui']['ariaLiveAnnouncer']['announce'](_0x58309f(_0x56e6e7['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x31c75c['getEnvKeystrokeText'](_0x25c247)));break;}});}}function _0x1c8b1e(_0x54bf88,_0x3156d2){return _0x3156d2?_0x54bf88+':'+_0x3156d2:_0x54bf88;}function _0x43e046(_0x46bed1,_0x5ab068){const _0x4ab3de=_0x5ab068['schema'],_0x3cb81b=_0x5ab068['createRange'](_0x46bed1['start']);for(const _0x15008d of _0x46bed1['getWalker']()){const {type:_0x226aa4,item:_0x17c2a4,nextPosition:_0xc87e42}=_0x15008d;if('text'===_0x226aa4||_0x4ab3de['isObject'](_0x17c2a4)){const _0x41c7f5=_0x5ab068['createPositionBefore'](_0x17c2a4);_0x3cb81b['isCollapsed']&&(_0x3cb81b['start']=_0x41c7f5),_0x3cb81b['end']=_0xc87e42;}}return _0x3cb81b;}function _0x3d586e(_0x3cd844){return'comment'===_0x46a35d(_0x3cd844['name'])['group'];}class CommentsUI extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,CommentsEditing,EditorAnnotations,Annotations];}get['CommentsListView'](){return CommentsListView;}get['CommentThreadInputView'](){return CommentThreadInputView;}['init'](){const _0x43bc2d=this['editor'],_0x5d7fbc=_0x43bc2d['plugins']['get'](CommentsRepository),_0x5e8c36=_0x43bc2d['plugins']['get'](CommentsEditing),_0x1ce842=_0x43bc2d['plugins']['get'](Annotations),_0x1712d2=_0x43bc2d['plugins']['get'](EditorAnnotations);_0x43bc2d['ui']['componentFactory']['add']('comment',()=>{const _0x1b10ae=this['_createUIButton'](_0x31c75c['ButtonView']);return _0x1b10ae['tooltip']=!0x0,_0x1b10ae;}),_0x43bc2d['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x31c75c['MenuBarMenuListItemButtonView'])),_0x1712d2['addSourceCollector'](()=>{const _0xe40039=[];for(const [_0x6a0896,_0x1ddbdd]of _0x5d7fbc['_threadToController']){const _0x3c4359=_0x5e8c36['getAllMarkersForId'](_0x6a0896['id']),_0x4224e0=_0x3c4359['map'](_0x50e01a=>_0x50e01a['getRange']());_0x3c4359['length']>0x0&&_0xe40039['push']([_0x1ddbdd['view'],_0x4224e0]);}return _0xe40039;}),this['listenTo'](_0x1ce842,'change:activeAnnotations',(_0x58d3d7,_0x5d389f,_0x7ed3d2)=>{const _0x469b95=Array['from'](_0x7ed3d2)['map'](_0x4fae3a=>_0x4fae3a['innerView'])['find'](_0x3bb5d3=>_0x5d7fbc['_viewToController']['has'](_0x3bb5d3));if(!_0x469b95)return void(_0x5e8c36['activeMarker']=null);const _0x44cc64=_0x5d7fbc['_viewToController']['get'](_0x469b95)['model']['id'],_0x3edd93='comment:'+_0x44cc64;_0x44cc64&&_0x5e8c36['hasMarkerForId'](_0x44cc64)?_0x5e8c36['activeMarker']=_0x3edd93:_0x5e8c36['activeMarker']&&(_0x5e8c36['activeMarker']=null);}),this['listenTo'](_0x5d7fbc,'removeCommentThread',(_0x1c566f,{threadId:_0x4e5930,isFromAdapter:_0x4676bc})=>{!_0x4676bc&&_0x43bc2d['ui']['focusTracker']['isFocused']&&_0x5e8c36['hasMarkerForId'](_0x4e5930)&&_0x43bc2d['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x5d7fbc,'addComment',(_0xa6b283,{threadId:_0x5b36ad,isFromAdapter:_0x17f441})=>{if(_0x17f441||!_0x5e8c36['hasMarkerForId'](_0x5b36ad)||!_0x5d7fbc['hasCommentThread'](_0x5b36ad))return;0x1===_0x5d7fbc['getCommentThread'](_0x5b36ad)['length']&&(_0x43bc2d['editing']['view']['focus'](),_0xa6b283['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b5738=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6e88e2;for(const _0x29c4ca in _0x1b5738){const _0x594777=_0x29c4ca,_0x408abb=_0x1b5738[_0x594777];if('commentsLicenseKeyValid'==_0x408abb||'commentsLicenseKeyInvalid'==_0x408abb||'commentsLicenseKeyExpired'==_0x408abb||'commentsLicenseKeyDomainLimit'==_0x408abb||'commentsLicenseKeyNotAllowed'==_0x408abb||'commentsLicenseKeyEvaluationLimit'==_0x408abb||'commentsLicenseKeyUsageLimit'==_0x408abb){delete _0x1b5738[_0x594777],_0x6e88e2=_0x408abb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x6e88e2&&_0x1b5738['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x6e88e2&&_0x1b5738['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x6e88e2&&_0x1b5738['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x6e88e2&&_0x1b5738['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x6e88e2&&_0x1b5738['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x6e88e2&&_0x1b5738['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x3cc71f){const _0x28b93f=this['editor'],_0x23368c=new _0x3cc71f(_0x28b93f['locale']),_0xd370c0=_0x28b93f['commands']['get']('addCommentThread');return _0x23368c['set']({'label':_0x58309f(_0x28b93f['locale'],'Comment'),'icon':_0x31c75c['IconAddComment']}),_0x23368c['bind']('isEnabled')['to'](_0xd370c0,'isEnabled',_0xd370c0,'hasContent',(_0x1df369,_0x380373)=>_0x1df369&&_0x380373),this['listenTo'](_0x23368c,'execute',()=>{_0xd370c0['execute']();}),_0x23368c;}}class CommentsOnly extends _0x31c75c['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x247ae5){super(_0x247ae5),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x2fdbbc,_0x19dd59,_0x58eb5c)=>{_0x58eb5c?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x1641f1,_0x381bc8]of this['editor']['commands'])_0x381bc8['affectsData']&&'addCommentThread'!==_0x1641f1&&_0x381bc8['forceDisabled']('commentsOnlyMode');(this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('RevisionTracker'))&&this['editor']['plugins']['get']('RevisionTracker')['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode');this['editor']['commands']['get']('editSource')?.['forceDisabled']('commentsOnlyMode');const _0x5373e4=this['editor']['editing']['view']['document'];this['listenTo'](_0x5373e4,'cut',_0x578b47=>_0x578b47['stop'](),{'priority':'highest'}),this['listenTo'](_0x5373e4,'clipboardInput',_0xa92026=>_0xa92026['stop'](),{'priority':'highest'}),this['listenTo'](_0x5373e4,'delete',_0x1cb63a=>_0x1cb63a['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x30a8b4,_0x5778aa]of this['editor']['commands'])_0x5778aa['affectsData']&&'addCommentThread'!==_0x30a8b4&&_0x5778aa['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['clearForceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}}class AnnotationsUIs extends _0x31c75c['ContextPlugin']{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xefaae4){super(_0xefaae4),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x56fb64=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x56fb64,'_activateAnnotation',(_0x4cb7ab,_0x4fefb8)=>{for(const _0x2fe6eb of this['activeUIs']){const _0x588510=this['_uis']['get'](_0x2fe6eb);(0x0,this['uisData']['get'](_0x2fe6eb)['filter'])(_0x4fefb8)&&_0x588510['setActiveAnnotation'](_0x4fefb8);}}),this['listenTo'](_0x56fb64,'_deactivateAllAnnotations',()=>{for(const _0x26042d of this['activeUIs']){this['_uis']['get'](_0x26042d)['setActiveAnnotation'](null);}}),this['listenTo'](_0x56fb64['_visibleAnnotations'],'add',(_0xd538fe,_0x4ac0d2)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4ac0d2);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x36c8e1){return this['activeUIs']['has'](_0x36c8e1);}['activate'](_0x4ba92b,_0xa074bc=this['defaultFilter']){const _0x1024f2=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x4ba92b))throw new _0x31c75c['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x4ba92b});this['isActive'](_0x4ba92b)&&this['deactivate'](_0x4ba92b),this['activeUIs']['add'](_0x4ba92b);const _0x1da42c=new AnnotationCollection();_0x1cd168({'source':_0x1024f2['_visibleAnnotations'],'target':_0x1da42c,'filter':_0xa074bc}),this['uisData']['set'](_0x4ba92b,{'collection':_0x1da42c,'filter':_0xa074bc});const _0x4d28d8=this['_uis']['get'](_0x4ba92b);_0x4d28d8['attach'](_0x1da42c),this['listenTo'](_0x4d28d8,'change:activeAnnotation',(_0x35bdb8,_0x146b4b,_0x4e933b,_0x2c2679)=>{_0x2c2679&&_0x1024f2['_removeActiveAnnotation'](_0x2c2679),_0x4e933b&&_0x1024f2['_addActiveAnnotation'](_0x4e933b);});}['deactivate'](_0x55eb9a){if(this['activeUIs']['delete'](_0x55eb9a),!this['_uis']['has'](_0x55eb9a))throw new _0x31c75c['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x55eb9a});const _0x313a92=this['_uis']['get'](_0x55eb9a);_0x313a92['detach'](),this['stopListening'](_0x313a92),this['uisData']['get'](_0x55eb9a)['collection']['destroy'](),this['uisData']['delete'](_0x55eb9a);}['switchTo'](_0x2d2e7a){if(!this['_uis']['has'](_0x2d2e7a))throw new _0x31c75c['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2d2e7a});const _0x8f9579=this['context']['plugins']['get'](Annotations),_0x4683c0=Array['from'](_0x8f9579['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x2d2e7a);const _0x2f6d33=this['_uis']['get'](_0x2d2e7a);_0x2f6d33['setActiveAnnotation'](_0x4683c0),_0x2f6d33['_setSelectedAnnotations']&&_0x4683c0&&_0x2f6d33['_setSelectedAnnotations']([_0x4683c0]);}['deactivateAll'](){for(const _0x7a18f7 of this['activeUIs'])this['deactivate'](_0x7a18f7);}['register'](_0x2ed143,_0x4aed81){if(this['_uis']['has'](_0x2ed143))throw new _0x31c75c['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x4aed81['attach']||'function'!=typeof _0x4aed81['detach']||'function'!=typeof _0x4aed81['setActiveAnnotation'])throw new _0x31c75c['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x2ed143,_0x4aed81);}['refilterAnnotations'](){const _0x3680f9=this['context']['plugins']['get'](Annotations)['collection'],_0x530fcb=new Map(),_0xd27288=Array['from'](this['activeUIs']);for(const _0x1731fd of this['activeUIs']){const _0x5a6e37=this['uisData']['get'](_0x1731fd)['collection'];for(const _0x101dcb of _0x5a6e37)_0x530fcb['set'](_0x101dcb,_0x1731fd);}for(const _0x11aa35 of _0x3680f9){const _0x8fceb3=_0x530fcb['get'](_0x11aa35);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x11aa35);const _0x5df2f9=_0xd27288['find'](_0x5272c0=>this['uisData']['get'](_0x5272c0)['filter'](_0x11aa35));_0x8fceb3!==_0x5df2f9&&(_0x8fceb3&&this['uisData']['get'](_0x8fceb3)['collection']['remove'](_0x11aa35),_0x5df2f9&&this['uisData']['get'](_0x5df2f9)['collection']['add'](_0x11aa35));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x2dc377){const _0x18c68e=[];for(const _0x97d905 of this['activeUIs']){(0x0,this['uisData']['get'](_0x97d905)['filter'])(_0x2dc377)&&_0x18c68e['push'](_0x97d905);}if(_0x18c68e['length']>0x1)throw new _0x31c75c['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x18c68e,'annotationType':_0x2dc377['type']});}}const _0x3a3898=/* #__PURE__ -- @preserve */
_0x31c75c['toUnit']('px');class AnnotationsSidebarView extends _0x31c75c['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x49f252){super(_0x49f252);const _0x57aedb=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['focusables']=this['createCollection'](),this['list']['delegate']('arrowup','arrowdown')['to'](this),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x57aedb['to']('class')],'style':{'minHeight':_0x57aedb['to']('minHeight',_0x1e2976=>'number'==typeof _0x1e2976?_0x3a3898(_0x1e2976+0xa):null)},'dir':_0x49f252['uiLanguageDirection'],'role':'application','aria-label':_0x58309f(_0x49f252,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':_0x58309f(_0x49f252,'Annotations\x20list')},'children':this['list']}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_setupKeyboardNavigation'](){this['list']['delegate']('change:top')['to'](this),this['on']('change:top',_0x339d72=>{this['_updateItemPositionInFocusables'](_0x339d72['source']);}),this['list']['forEach'](_0x465452=>{this['focusTracker']['add'](_0x465452['element']),this['_updateItemPositionInFocusables'](_0x465452);}),this['list']['on']('change',(_0x382aff,_0x361656)=>{for(const _0x80dcc7 of _0x361656['removed'])this['focusTracker']['remove'](_0x80dcc7['element']),this['focusables']['remove'](_0x80dcc7);for(const _0x8fe9cf of _0x361656['added'])this['focusTracker']['add'](_0x8fe9cf['element']),this['_updateItemPositionInFocusables'](_0x8fe9cf);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x266457){const _0x228924=this['focusables']['getIndex'](_0x266457);let _0x3735d7,_0x33f70b;for(const _0x24dcaf of this['focusables'])if(_0x266457['top']<_0x24dcaf['top']){_0x3735d7=_0x24dcaf;break;}if(_0x33f70b=_0x3735d7?this['focusables']['getIndex'](_0x3735d7):this['focusables']['length'],-0x1!==_0x228924){if(_0x228924===_0x33f70b-0x1)return;this['focusables']['remove'](_0x266457),_0x33f70b=_0x3735d7?this['focusables']['getIndex'](_0x3735d7):this['focusables']['length'];}this['focusables']['add'](_0x266457,_0x33f70b);}}const _0x52048a=/* #__PURE__ -- @preserve */
_0x31c75c['toUnit']('px');class AnnotationsSidebarItemView extends _0x31c75c['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x371740){super(_0x371740),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0xf6dcf6,_0x4b153d)=>_0xf6dcf6+_0x4b153d),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=_0x5b55eb(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x40b44c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x40b44c['to']('isAnimationDisabled',_0x3056f2=>_0x3056f2?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x40b44c['to']('top',_0x46737d=>_0x52048a(_0x46737d))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x3bbc9b=this['element']['clientHeight'];_0x3bbc9b&&(this['height']=_0x3bbc9b);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x3f8c99 extends _0x31c75c['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a87c7){super(_0x2a87c7),this['set']('_lastItem',void 0x0),this['view']=this['_createSidebarView'](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this['_annotationToSidebarItemView']=new Map(),this['context']['config']['define']('sidebar.preventScrollOutOfView',!0x1),this['_annotations']=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}['init'](){const _0x26b0fb=this['context']['config']['get']('sidebar.container');_0x26b0fb&&this['setContainer'](_0x26b0fb);}['setContainer'](_0x33170e){if(!_0x18ca17(_0x33170e))throw new _0x31c75c['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x33170e;}['_attachToContainer']({viewClass:_0x4d5984='',spaceBetweenItems:_0x4dcf12=0x19}={}){if(!_0x18ca17(this['container']))throw new _0x31c75c['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x4d5984,this['_spaceBetweenItems']=_0x4dcf12;}['rearrange']({removedAnnotation:_0x4e73ee,previousAnnotation:_0x5f0129,nextAnnotation:_0x1a31ad}){const _0xd36ed=this['getSidebarItemView'](_0x4e73ee);this['view']['list']['remove'](_0xd36ed),this['_destroySidebarItemView'](_0x4e73ee),_0x5f0129&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x5f0129)),_0x1a31ad&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1a31ad)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x4619e9,activatedAnnotation:_0x36d1c2,disableAnimationOnActivatedAnnotation:_0x1c6285}){if(this['_activeAnnotation']=_0x36d1c2,_0x4619e9){_0x4619e9['isActive']=!0x1;const _0x15ff58=this['getSidebarItemView'](_0x4619e9);_0x15ff58&&_0x1c6285&&(_0x15ff58['isAnimationDisabled']=!0x1);}if(_0x36d1c2){const _0x40c66f=this['getSidebarItemView'](_0x36d1c2);_0x40c66f&&(_0x36d1c2['isActive']=!0x0,_0x1c6285&&(_0x40c66f['isAnimationDisabled']=!0x0,_0x40c66f['top']+=0x1),this['_alignToTargetRect'](_0x40c66f));}}['_detachFromContainer'](_0x4bf58d){if(this['view']['element']['remove'](),_0x4bf58d){for(const _0x32c110 of _0x4bf58d)this['_destroySidebarItemView'](_0x32c110);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x5db21c,_0xb3dcf1){_0xb3dcf1||(_0xb3dcf1=_0x5db21c['view']);const _0x21184d=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x21184d,_0x5db21c),this['_annotationToSidebarItemView']['set'](_0x5db21c,_0x21184d),_0x21184d['content']['add'](_0xb3dcf1),this['listenTo'](_0x5db21c['view'],'change:targetRect',(_0x1a70ff,_0x262f3c,_0x44c4eb)=>{const _0x9ab34d=this['_getTargetTop'](_0x5db21c,_0x44c4eb);_0x21184d['_targetTop']!=_0x9ab34d&&(_0x21184d['_targetTop']=_0x9ab34d,this['_setItemTop'](_0x21184d,_0x9ab34d));}),this['listenTo'](_0x21184d,'change:top',()=>{this['_recalculate'](_0x21184d,'top');}),this['listenTo'](_0x21184d,'change:bottom',()=>{this['_recalculate'](_0x21184d,'bottom');}),this['_alignToTargetRect'](_0x21184d);const _0x14a64c=this['_getItemBefore'](_0x21184d);if(_0x14a64c)this['_alignAfterItem'](_0x14a64c,_0x21184d)||this['_alignToTargetRect'](_0x21184d);else this['_alignToTargetRect'](_0x21184d);return this['_updateLastItem'](),this['view']['list']['add'](_0x21184d),_0x21184d;}['_alignForTopChange'](_0x2f5495){if(!_0x2f5495['content']['length'])return;const _0xdad57b=this['_getItemBefore'](_0x2f5495);if(!_0xdad57b)return;const _0x3bd788=this['_sidebarItemViewToAnnotation']['get'](_0xdad57b),_0x49a4d9=this['_activeAnnotation'];_0x49a4d9&&_0x49a4d9===_0x3bd788?this['_alignAfterItem'](_0xdad57b,_0x2f5495):this['_alignBeforeItem'](_0x2f5495,_0xdad57b);}['_alignForBottomChange'](_0x103940){if(!_0x103940['content']['length'])return;const _0x44b0ad=this['_getItemAfter'](_0x103940);if(!_0x44b0ad)return;const _0x476a10=this['_sidebarItemViewToAnnotation']['get'](_0x44b0ad),_0x7e5de7=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x343a38=this['_activeAnnotation'];_0x343a38&&_0x343a38===_0x476a10&&_0x7e5de7?(this['_alignBeforeItem'](_0x44b0ad,_0x103940),this['_alignAfterItem'](_0x103940,_0x44b0ad)):_0x343a38&&_0x343a38===_0x476a10?this['_alignBeforeItem'](_0x44b0ad,_0x103940):this['_alignAfterItem'](_0x103940,_0x44b0ad);}['_recalculate'](_0x166c26,_0x3cf511){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x46ce37,changedProp:_0x1000cf}of this['_recalculateBuffer'])'top'===_0x1000cf?this['_alignForTopChange'](_0x46ce37):this['_alignForBottomChange'](_0x46ce37);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x166c26,'changedProp':_0x3cf511});}['getSidebarItemView'](_0x41fc57){return this['_annotationToSidebarItemView']['get'](_0x41fc57);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x53a591){const _0x518277=this['getSidebarItemView'](_0x53a591);this['stopListening'](_0x518277),this['stopListening'](_0x53a591['view']),_0x518277['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x53a591),this['_sidebarItemViewToAnnotation']['delete'](_0x518277);}['_createSidebarView'](){const _0x555900=new AnnotationsSidebarView(this['context']['locale']);return _0x555900['render'](),this['on']('change:_lastItem',(_0xd65c9e,_0x115c3b,_0x1fdded,_0x19421)=>{_0x19421&&_0x555900['unbind']('minHeight'),_0x1fdded?_0x555900['bind']('minHeight')['to'](_0x1fdded,'bottom'):_0x555900['minHeight']=null;}),_0x555900;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x324d73){const _0xd0162d=this['_sidebarItemViewToAnnotation']['get'](_0x324d73),_0x535909=_0xd0162d&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0xd0162d)-0x1);return _0x535909&&this['getSidebarItemView'](_0x535909)||null;}['_getItemAfter'](_0x2cddad){const _0x4f8b04=this['_sidebarItemViewToAnnotation']['get'](_0x2cddad),_0x1fd80d=_0x4f8b04&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x4f8b04)+0x1);return _0x1fd80d&&this['getSidebarItemView'](_0x1fd80d)||null;}['_alignBeforeItem'](_0x94e075,_0x4e5478){_0x94e075['updateHeight']();const _0x5245d5=_0xf4c93c(_0x4e5478['bottom']+this['_spaceBetweenItems'],_0x94e075['top']);return!!_0x5245d5&&(this['_setItemTop'](_0x4e5478,_0x4e5478['top']-_0x5245d5),!0x0);}['_alignAfterItem'](_0x341356,_0x24fcd5){_0x341356['updateHeight']();const _0x276a80=_0xf4c93c(_0x341356['bottom']+this['_spaceBetweenItems'],_0x24fcd5['top']);return!!_0x276a80&&(this['_setItemTop'](_0x24fcd5,_0x24fcd5['top']+_0x276a80,!0x1),!0x0);}['_alignToTargetRect'](_0x41756c){const _0x6bebd=this['_sidebarItemViewToAnnotation']['get'](_0x41756c);if(!_0x6bebd||!_0x6bebd['target']||!_0x6bebd['targetRect'])return;const _0x2ac3a6=this['_getTargetTop'](_0x6bebd,_0x6bebd['targetRect']);this['_setItemTop'](_0x41756c,_0x2ac3a6);}['_getTargetTop'](_0x4f3669,_0x455e99){if(null===_0x455e99)return 0x0;if(_0x4f3669['target']instanceof _0x31c75c['Rect'])return _0x455e99['top'];{const _0x50fa79=new _0x31c75c['Rect'](this['view']['element'])['top'];return _0x455e99['top']-_0x50fa79;}}['_setItemTop'](_0x63f026,_0x30c997,_0x4b97c5=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x4b97c5&&(_0x30c997=Math['max'](_0x30c997,this['_getMaxAvailableTop'](_0x63f026))),_0x63f026['top']=_0x30c997;}['_getMaxAvailableTop'](_0x1f0955){let _0x19d4a3=this['_getItemBefore'](_0x1f0955),_0x2b2de2=0x0;for(;_0x19d4a3;)_0x19d4a3['updateHeight'](),_0x2b2de2+=this['_spaceBetweenItems']+_0x19d4a3['height'],_0x19d4a3=this['_getItemBefore'](_0x19d4a3);return _0x2b2de2;}}function _0xf4c93c(_0x4ee374,_0x15a831){return Math['max'](_0x4ee374-_0x15a831,0x0);}function _0x18ca17(_0x2ade10){return null!==_0x2ade10&&'object'==typeof _0x2ade10&&0x1===_0x2ade10['nodeType'];}class _0x5c5859 extends _0x31c75c['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x3f8c99,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f86ca){super(_0x4f86ca),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x31c75c['Collection'](),this['_refreshPositioningDebounced']=ht(()=>{_0x4f86ca['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x23d7aa=this['context']['plugins']['get'](AnnotationsUIs),_0x1899bd=this['context']['plugins']['get'](_0x3f8c99);_0x23d7aa['register']('wideSidebar',this),_0x1899bd['container']&&_0x23d7aa['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x242c3b){if(_0x242c3b===this['activeAnnotation'])return;const _0x53b2db=this['context']['plugins']['get'](_0x3f8c99);_0x53b2db['_activeAnnotation']=_0x242c3b;const _0x24c63d=this['activeAnnotation'];_0x53b2db['refresh']({'blurredAnnotation':_0x24c63d,'activatedAnnotation':_0x242c3b}),this['activeAnnotation']=_0x242c3b;}['attach'](_0x4e9ede){this['annotations']=_0x4e9ede;const _0x500d77=this['context']['plugins']['get'](_0x3f8c99);if(_0x500d77['_annotations']=_0x4e9ede,this['isAttached'])throw new _0x31c75c['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x500d77,'set:container',()=>{this['detach'](),this['listenTo'](_0x500d77,'change:container',_0x5dfff0=>{_0x5dfff0['off'](),this['attach'](_0x4e9ede);});}),_0x500d77['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3676a2=_0x5c1ec1=>{_0x5c1ec1['updateTargetRect'](),_0x500d77['addAnnotation'](_0x5c1ec1);};for(const _0xc575b9 of _0x4e9ede)_0x3676a2(_0xc575b9);this['listenTo'](_0x4e9ede,'add',(_0x50a2a7,_0x36032b)=>{_0x3676a2(_0x36032b);}),this['listenTo'](_0x4e9ede,'remove',(_0x105d56,_0x46080b,_0x3536f0)=>{_0x500d77['rearrange']({'removedAnnotation':_0x46080b,'previousAnnotation':_0x4e9ede['get'](_0x3536f0-0x1),'nextAnnotation':_0x4e9ede['get'](_0x3536f0+0x1)}),_0x46080b===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4e9ede,'focus',(_0x5a2a74,_0x1c5a13)=>{this['setActiveAnnotation'](_0x1c5a13);}),this['listenTo'](_0x4e9ede,'blur',()=>{this['setActiveAnnotation'](null);});const _0x186fbd=this['context']instanceof _0x31c75c['Context']?this['context']['editors']:new _0x31c75c['Collection']([this['context']]);for(const _0x1c8d3a of _0x186fbd)this['_integrateWithEditorAnnotations'](_0x1c8d3a);this['listenTo'](_0x186fbd,'add',(_0x69652f,_0x3c68a3)=>{this['listenTo'](_0x3c68a3,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x3c68a3);});}),this['listenTo'](_0x186fbd,'remove',(_0x1dac0e,_0x448a77)=>{_0x448a77['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x448a77['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x31c75c['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x463c45=this['context']['plugins']['get'](_0x3f8c99);_0x463c45['_detachFromContainer'](this['annotations']),this['stopListening'](_0x463c45),this['stopListening'](this['annotations']),this['context']instanceof _0x31c75c['Context']&&this['stopListening'](this['context']['editors']);for(const _0x56f840 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x56f840);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x43c8ca){if(!_0x43c8ca['plugins']['has']('EditorAnnotations'))return;const _0x213579=_0x43c8ca['plugins']['get']('EditorAnnotations'),_0x321b8e=()=>{const _0x329d52=_0x213579['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x329d52[0x0]||null);};this['listenTo'](_0x213579,'refresh',_0x321b8e),this['listenTo'](_0x213579,'blur',(_0x5b0cce,{isAnnotationTracked:_0xe0a5ba})=>{this['activeAnnotation']&&_0xe0a5ba(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x213579,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x5edd1c=>{_0x213579['hasDomSelection']()&&(_0x321b8e(),_0x5edd1c['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x213579);}['_destroyEditorAnnotationsIntegration'](_0x35bc3f){this['stopListening'](_0x35bc3f),this['_editorAnnotations']['remove'](_0x35bc3f);}}class AnnotationCounterButtonView extends _0x31c75c['ButtonView']{['counterView'];constructor(_0x239ac2){super(_0x239ac2);const _0x428582=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x5820ab,_0x4b0303)=>_0x5820ab?'...':_0x4b0303['toString']()),this['set']('annotationType',''),this['icon']=_0x31c75c['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x31c75c['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x428582['to']('annotationType',_0x17414d=>'ck-annotation-counter__badge--'+_0x17414d),_0x428582['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x428582['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x3afa4c extends _0x31c75c['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x3f8c99,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2fcc07){super(_0x2fcc07),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x31c75c['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x31c75c['Collection'](),this['_refreshPositioningDebounced']=ht(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new _0x31c75c['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new _0x31c75c['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x5658f1){this['annotations']=_0x5658f1;const _0x27594b=this['context']['plugins']['get'](_0x3f8c99),_0x140ea7=this['balloonPanelView'];if(_0x27594b['_annotations']=_0x5658f1,this['isAttached'])throw new _0x31c75c['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x27594b,'set:container',()=>{this['detach'](),this['listenTo'](_0x27594b,'change:container',_0x22109f=>{_0x22109f['off'](),this['attach'](_0x5658f1);});}),_0x27594b['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x253cf0=_0x3397fd=>{const _0x39bfb2=new AnnotationCounterButtonView(this['context']['locale']);_0x27594b['addAnnotation'](_0x3397fd,_0x39bfb2),this['_annotationToNarrowView']['set'](_0x3397fd,_0x39bfb2),_0x39bfb2['bind']('isDirty','annotationType','number')['to'](_0x3397fd['view'],'isDirty','type','length'),_0x39bfb2['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x140ea7['content']['first']!==_0x3397fd['view']?(this['_showBalloon'](_0x3397fd),_0x3397fd['view']['element']['focus'](),this['setActiveAnnotation'](_0x3397fd)):this['setActiveAnnotation'](null);});};for(const _0x14ccb9 of _0x5658f1)_0x253cf0(_0x14ccb9);this['listenTo'](_0x5658f1,'add',(_0x47b0c1,_0x2f8929)=>{_0x253cf0(_0x2f8929);}),this['listenTo'](_0x5658f1,'remove',(_0x5ca762,_0x48d104,_0x5cc9ff)=>{this['_annotationToNarrowView']['get'](_0x48d104)['destroy'](),this['_annotationToNarrowView']['delete'](_0x48d104),_0x27594b['rearrange']({'removedAnnotation':_0x48d104,'previousAnnotation':_0x5658f1['get'](_0x5cc9ff-0x1),'nextAnnotation':_0x5658f1['get'](_0x5cc9ff+0x1)}),_0x48d104===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x5658f1,'focus',(_0x5a32c5,_0xfe9ef)=>{this['setActiveAnnotation'](_0xfe9ef);}),this['listenTo'](_0x5658f1,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x36e3cd,_0x5167ff)=>{_0x5167ff['keyCode']===_0x31c75c['keyCodes']['esc']&&_0x140ea7['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x140ea7['content']['first']),this['_hideBalloon'](),_0x5167ff['stopPropagation'](),_0x5167ff['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x58ff67,_0x20ae8)=>{const _0x1a41ae=_0x20ae8['target'];_0x140ea7['isVisible']&&_0x140ea7['element']['contains'](_0x1a41ae)||_0x27594b['view']['element']['contains'](_0x1a41ae)||_0x58ff67['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x19dcef=>_0x19dcef['contains'](_0x1a41ae))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x566d40=this['context']instanceof _0x31c75c['Context']?this['context']['editors']:new _0x31c75c['Collection']([this['context']]);for(const _0x49e637 of _0x566d40)this['_integrateWithEditorAnnotations'](_0x49e637);this['listenTo'](_0x566d40,'add',(_0x4dbae0,_0x2f4f3d)=>{this['listenTo'](_0x2f4f3d,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x2f4f3d);});}),this['listenTo'](_0x566d40,'remove',(_0x4688b1,_0x142bed)=>{_0x142bed['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x142bed['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x3a8e62){if(_0x3a8e62===this['activeAnnotation'])return;const _0x16db97=this['context']['plugins']['get'](_0x3f8c99);if(_0x16db97['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x3a8e62,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3a8e62)_0x16db97['getSidebarItemView'](_0x3a8e62)?this['_showBalloon'](_0x3a8e62):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x3a8e62;}['detach'](){if(!this['isAttached'])throw new _0x31c75c['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x6281b=this['context']['plugins']['get'](_0x3f8c99);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x3a821c=>_0x3a821c['destroy']()),this['_annotationToNarrowView']['clear'](),_0x6281b['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x31c75c['Context']&&this['stopListening'](this['context']['editors']);for(const _0x58321b of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x58321b);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['bodyCollection']['detachFromDom']();}['_integrateWithEditorAnnotations'](_0x1627e9){if(!_0x1627e9['plugins']['has']('EditorAnnotations'))return;const _0x21535f=_0x1627e9['plugins']['get']('EditorAnnotations'),_0x2b02f9=this['context']['plugins']['get'](_0x3f8c99),_0x2f6a2d=this['annotations'],_0xa91aff=this['balloonPanelView'],_0x4a71cb=()=>{const _0x5f4a97=_0x21535f['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x5f4a97),this['setActiveAnnotation'](_0x5f4a97[0x0]||null);};this['listenTo'](_0x21535f,'refresh',_0x4a71cb),this['listenTo'](_0x21535f,'blur',(_0x214d6e,{isAnnotationTracked:_0x27eb1e})=>{this['activeAnnotation']&&_0x27eb1e(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x21535f,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x2f6a2d,'blur',_0x17dd50=>{_0x21535f['hasDomSelection']()&&_0x17dd50['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x21ba14,_0x2ebcc4)=>{const _0x50fd5a=_0x2ebcc4['target'];_0xa91aff['isVisible']&&_0xa91aff['element']['contains'](_0x50fd5a)||_0x2b02f9['view']['element']['contains'](_0x50fd5a)||this['activeAnnotation']&&_0x21535f['hasDomSelection']()&&(_0x4a71cb(),_0x21ba14['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x21535f);}['_destroyEditorAnnotationsIntegration'](_0x3f56d8){_0x3f56d8&&(this['stopListening'](_0x3f56d8),this['_editorAnnotations']['remove'](_0x3f56d8));}['_setSelectedAnnotations'](_0x112364){for(const _0x357c51 of this['_selectedAnnotations'])_0x112364['includes'](_0x357c51)||this['_manuallyClosedAnnotationViews']['delete'](_0x357c51['view']);this['_selectedAnnotations']=_0x112364;}['_refreshPositioning'](){const _0x43a21a=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x43a21a['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x10c3c7){if(this['_manuallyClosedAnnotationViews']['has'](_0x10c3c7['view']))return;const _0x25ed7f=this['balloonPanelView']['content']['first'];_0x25ed7f!==_0x10c3c7['view']?(_0x25ed7f&&this['_detachListeners'](_0x25ed7f),this['_attachListeners'](_0x10c3c7['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x10c3c7['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x778f56=this['balloonPanelView']['content']['first'],_0x361cf8=_0x778f56&&this['annotations']['getByView'](_0x778f56);if(!_0x361cf8||!this['_annotationToNarrowView']['has'](_0x361cf8))return;const _0x595e3d=this['_annotationToNarrowView']['get'](_0x361cf8)['element'],_0x516efe=(function(){const _0x3246b2=_0x31c75c['BalloonPanelView']['defaultPositions'];return[_0x3246b2['southArrowNorthEast'],_0x3246b2['northArrowSouthEast'],_0x3246b2['southArrowNorth'],_0x3246b2['northArrowSouth'],_0x3246b2['southArrowNorthWest'],_0x3246b2['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x595e3d,'positions':_0x516efe});}['_hideBalloon'](){const _0x2fa2fc=this['balloonPanelView'],_0x1fed39=_0x2fa2fc['content']['first'];_0x1fed39&&(this['_detachListeners'](_0x1fed39),_0x2fa2fc['unpin'](),_0x2fa2fc['content']['clear']());}['_attachListeners'](_0x4e9368){this['listenTo'](_0x4e9368,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x4e9368,'Esc',(_0xba064d,_0x15d530)=>{this['_manuallyClosedAnnotationViews']['add'](_0x4e9368),this['_hideBalloon'](),_0x15d530();});}['_detachListeners'](_0x3dceb0){this['stopListening'](_0x3dceb0);}}class InlineAnnotations extends _0x31c75c['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,_0x31c75c['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x48738c){super(_0x48738c),_0x48738c['editing']['view']['addObserver'](_0x31c75c['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x48738c['plugins']['get'](_0x31c75c['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=ht(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x50be81=this['editor']['plugins']['get'](AnnotationsUIs);_0x50be81['context']===this['editor']&&(_0x50be81['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x44af25,_0x5b75fa)=>{const _0x23352f=this['_balloon'];if(this['isAttached']&&_0x23352f['visibleView']){const _0x324d48=this['annotations']['getByView'](_0x23352f['visibleView']);_0x324d48&&this['_closeAnnotation'](_0x324d48),_0x5b75fa();}}));}['afterInit'](){const _0x182d81=this['editor']['plugins']['get'](AnnotationsUIs);_0x182d81['context']===this['editor']&&(_0x182d81['hasActive']()||_0x182d81['switchTo']('inline'));}['setActiveAnnotation'](_0x44c7fb){_0x44c7fb!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x44c7fb&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x44c7fb)&&this['_addAnnotationToBalloon'](_0x44c7fb,!0x0),_0x44c7fb['isActive']=!0x0),_0x44c7fb||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x44c7fb);}['attach'](_0x179c8b){this['annotations']=_0x179c8b;const _0x19b3a0=this['editor']['plugins']['get'](AnnotationsUIs),_0xf2fa38=this['_balloon'];if(this['isAttached'])throw new _0x31c75c['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x19b3a0['context']!==this['editor'])throw new _0x31c75c['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x54b62b=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x54b62b,'refresh',()=>{const _0xfffa89=_0x54b62b['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x174cf2,_0x264cdc;!this['_forceRefresh']&&(_0x174cf2=_0xfffa89,_0x264cdc=this['_selectedAnnotations'],_0x174cf2['length']===_0x264cdc['length']&&_0x174cf2['every'](_0x2db319=>_0x264cdc['includes'](_0x2db319)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0xfffa89),this['setActiveAnnotation'](_0xfffa89[0x0]||null));}),this['listenTo'](_0x54b62b,'blur',(_0x275971,{isAnnotationTracked:_0x9bf7ac})=>{this['activeAnnotation']&&_0x9bf7ac(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x54b62b,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x18cee7,_0x49f433,_0x418baf)=>{_0x418baf||this['setActiveAnnotation'](null);}),this['listenTo'](_0x179c8b,'remove',(_0x2744cc,_0x2f2faa)=>{this['_removeAnnotationFromBalloon'](_0x2f2faa),_0x2f2faa===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0xf2fa38,'change:visibleView',(_0x5519d2,_0x1ed1ee,_0x3f627c,_0x4512b3)=>{_0x4512b3&&this['stopListening'](_0x4512b3);const _0x4f02a7=_0x179c8b['getByView'](_0x3f627c);_0x3f627c&&_0x4f02a7&&(this['listenTo'](_0x3f627c,'change:height',()=>{_0xf2fa38['updatePosition']();}),this['listenTo'](_0x3f627c,'Esc',()=>{this['_closeAnnotation'](_0x4f02a7),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x4f02a7&&this['setActiveAnnotation'](_0x4f02a7));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0xf2fa38['visibleView']&&(_0x179c8b['getByView'](_0xf2fa38['visibleView'])&&_0xf2fa38['updatePosition']());}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing']['view']['document']['selection']['editableElement']&&this['editor']['editing']['view']['focus'](),this['isAttached']=!0x0;}['detach'](){if(!this['isAttached'])throw new _0x31c75c['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x4e5a64 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4e5a64);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x4f94bb){for(const _0x5b072a of this['_selectedAnnotations'])_0x4f94bb['includes'](_0x5b072a)||this['_manuallyClosed']['delete'](_0x5b072a);for(const _0x1c2b54 of this['annotations'])_0x4f94bb['includes'](_0x1c2b54)||this['_removeAnnotationFromBalloon'](_0x1c2b54);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x30a779 of _0x4f94bb)this['_addAnnotationToBalloon'](_0x30a779);}this['_selectedAnnotations']=_0x4f94bb;}['_addAnnotationToBalloon'](_0x3f1242,_0x384206=!0x1){this['_manuallyClosed']['has'](_0x3f1242)||(this['_addedAnnotations']['has'](_0x3f1242)||this['_balloon']['hasView'](_0x3f1242['view'])||(this['_addedAnnotations']['add'](_0x3f1242),this['_balloon']['add']({'stackId':_0x3f1242['view']['id'],'view':_0x3f1242['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x3f1242)}})),_0x384206&&this['_balloon']['showStack'](_0x3f1242['view']['id']));}['_getBalloonTargetForAnnotation'](_0x176329){const _0x4e70d8=_0x176329['target'],_0x501489=this['editor']['editing']['view'],_0x4b73bd=_0x501489['document']['selection']['getFirstRange'](),_0x10e78c=_0x501489['domConverter']['viewRangeToDom'](_0x4b73bd);if(_0x10e78c['collapse'](!0x0),_0x4e70d8){if(_0x4e70d8 instanceof _0x31c75c['Rect'])return _0x4e70d8;let _0x4f2b1f=[];for(const _0x2af93d of _0x4e70d8)_0x4f2b1f['push'](..._0x31c75c['Rect']['getDomElementRects'](_0x2af93d));_0x4f2b1f=function(_0x765868){const _0x1042ef=[];let _0x545da8=_0x765868[0x0];for(let _0x42738b=0x1;_0x42738b<_0x765868['length'];_0x42738b++)if(_0x1111c5(_0x545da8,_0x765868[_0x42738b])){const _0x5dd8f9=_0x765868[_0x42738b]['width'];_0x545da8['width']+=_0x5dd8f9,_0x545da8['right']+=_0x5dd8f9;}else _0x1042ef['push'](_0x545da8),_0x545da8=_0x765868[_0x42738b];return _0x1042ef['push'](_0x545da8),_0x1042ef;}(_0x4f2b1f);const _0x5aa217=_0x10e78c['getBoundingClientRect']();return _0x4f2b1f['find'](_0x705adb=>_0x705adb['top']<=_0x5aa217['top']&&_0x705adb['bottom']>=_0x5aa217['bottom']&&_0x705adb['left']<=_0x5aa217['left']&&_0x705adb['right']>=_0x5aa217['right'])||_0x4f2b1f[0x0];}return _0x176329['targetRect']||_0x10e78c;}['_removeAnnotationFromBalloon'](_0x35c3a5){this['_addedAnnotations']['has'](_0x35c3a5)&&this['_balloon']['hasView'](_0x35c3a5['view'])&&(this['_addedAnnotations']['delete'](_0x35c3a5),this['_balloon']['remove'](_0x35c3a5['view']));}['_closeAnnotation'](_0x87540c){this['_manuallyClosed']['add'](_0x87540c),this['_removeAnnotationFromBalloon'](_0x87540c);}}function _0x1111c5(_0x526678,_0x37a406){return _0x526678['top']===_0x37a406['top']&&_0x526678['bottom']===_0x37a406['bottom']&&_0x526678['right']===_0x37a406['left'];}class CommentsArchiveView extends _0x31c75c['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x1d0ba5,_0x197ac3){super(_0x1d0ba5),this['set']('isEmpty',!_0x197ac3['length']),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['_annotationViews']=_0x197ac3,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':_0x197ac3,'focusTracker':this['focusTracker']}),this['listenTo'](_0x197ac3,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x197ac3,'remove',(_0x59544a,_0x5866b8)=>{_0x5866b8['isActive']&&this['focus'](),_0x197ac3['length']||(this['isEmpty']=!0x0);});const _0x591a54=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':_0x58309f(_0x1d0ba5,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x197ac3},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x591a54['if']('isEmpty','ck-hidden',_0x5141b2=>!_0x5141b2)]},'children':[{'text':_0x58309f(_0x1d0ba5,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy']();}['focus'](){this['focusCycler']['first']?this['focusCycler']['focusFirst']():this['element']['focus']();}['_setupKeyboardNavigation'](){for(const _0x107bd8 of this['_annotationViews'])this['focusTracker']['add'](_0x107bd8['element']);this['_annotationViews']['on']('change',(_0x633112,{added:_0x36305f,removed:_0x1e0621})=>{for(const _0x26e185 of _0x36305f)this['focusTracker']['add'](_0x26e185['element']);for(const _0x359f68 of _0x1e0621)this['focusTracker']['remove'](_0x359f68['element']);});}}class CommentsArchive extends _0x31c75c['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x18e573){super(_0x18e573),this['archivedThreads']=new _0x31c75c['Collection']();}['init'](){const _0x14d842=this['context'],_0x571b03=_0x14d842['plugins']['get'](CommentsRepository),_0xdaf0b=_0x14d842['plugins']['get'](Annotations);this['listenTo'](_0x571b03,'addCommentThread',(_0x511ece,{threadId:_0x2d6821})=>{const _0x27493d=_0x571b03['getCommentThread'](_0x2d6821);_0x27493d['archivedAt']&&this['archivedThreads']['add'](_0x27493d,this['_calculatePosition'](_0x27493d['archivedAt'])),this['listenTo'](_0x27493d,'change:archivedAt',(_0x37d69b,_0x7151c3,_0x211222)=>{_0x211222?this['archivedThreads']['has'](_0x27493d)||this['archivedThreads']['add'](_0x27493d,this['_calculatePosition'](_0x27493d['archivedAt'])):this['archivedThreads']['has'](_0x27493d)&&this['archivedThreads']['remove'](_0x27493d);});}),this['listenTo'](_0x571b03,'removeCommentThread',(_0x212e9c,{threadId:_0x451a9e})=>{const _0x327f62=_0x571b03['getCommentThread'](_0x451a9e);this['stopListening'](_0x327f62),this['archivedThreads']['has'](_0x327f62)&&this['archivedThreads']['remove'](_0x327f62);},{'priority':'highest'}),this['listenTo'](_0xdaf0b['collection'],'focus',(_0x54bef8,_0x560af1)=>{_0x560af1['isVisible']||(_0x560af1['isActive']=!0x0,_0xdaf0b['activate'](_0x560af1));});}['_calculatePosition'](_0x26d98f){const _0x5a257c=[...this['archivedThreads']]['findIndex'](_0x3e2f99=>_0x3e2f99['archivedAt']<_0x26d98f);return _0x5a257c>-0x1?_0x5a257c:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x31c75c['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,_0x31c75c['Dialog']];}constructor(_0x30c72f){super(_0x30c72f),this['annotationViews']=new _0x31c75c['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x299bd5=this['editor'],_0x302ebe=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x299bd5['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x31c75c['ButtonView'],!0x0)),_0x299bd5['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x46d268=this['_createCommentsArchiveButton'](_0x31c75c['MenuBarMenuListItemButtonView']);return _0x46d268['set']({'role':'menuitemcheckbox'}),_0x46d268;});const _0x2fe1fc=_0x299bd5['plugins']['get'](CommentsArchive),_0x391dcf=_0x299bd5['plugins']['get']('Annotations'),_0x153fa0=_0x299bd5['plugins']['get']('CommentsRepository');_0x2fe1fc['archivedThreads']['forEach'](_0x599bba=>{this['_handleNewThread'](_0x599bba);}),this['listenTo'](_0x2fe1fc['archivedThreads'],'add',(_0x405c9f,_0x3f6698)=>{this['_handleNewThread'](_0x3f6698);}),this['listenTo'](_0x391dcf['collection'],'add',(_0x4d6dec,_0x2127af)=>{const _0xae8f94=this['_pendingThreads']['find'](_0x14dc88=>{const _0x27e465=_0x153fa0['_threadToController']['get'](_0x14dc88);return _0x27e465&&_0x2127af['innerView']===_0x27e465['view'];});if(_0xae8f94){const _0x41ca76=this['_calculatePosition'](_0xae8f94['archivedAt']);this['_addAnnotationToArchive'](_0x2127af,_0x41ca76),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0xae8f94),0x1);}}),this['listenTo'](_0x2fe1fc['archivedThreads'],'remove',(_0x183316,_0x4a9c88)=>{const _0x2a5fa3=_0x299bd5['config']['get']('collaboration.channelId');if(!_0x2a5fa3||_0x4a9c88['channelId']===_0x2a5fa3){if(this['_pendingThreads']['includes'](_0x4a9c88))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x4a9c88),0x1);else{const _0x259718=_0x153fa0['_threadToController']['get'](_0x4a9c88),_0x243ee7=_0x391dcf['getByInnerView'](_0x259718['view']);this['annotationViews']['remove'](_0x243ee7['view']),this['stopListening'](_0x243ee7),this['stopListening'](_0x243ee7['focusableElements']);}}}),this['listenTo'](_0x391dcf['collection'],'add',(_0x1cba46,_0x105f20)=>{this['listenTo'](_0x105f20,'escape',_0x302ebe);}),this['listenTo'](_0x391dcf['collection'],'remove',(_0x1996a4,_0x1e4e71)=>{this['stopListening'](_0x1e4e71,'escape',_0x302ebe);});}['_addAnnotationToArchive'](_0x427bf2,_0x5386ff){this['listenTo'](_0x427bf2,'set:isVisible',_0x4c43bf=>{_0x4c43bf['return']=!0x1,_0x4c43bf['stop']();}),this['annotationViews']['add'](_0x427bf2['view'],_0x5386ff);}['_handleNewThread'](_0xe79350){const _0x24f5af=this['editor']['plugins']['get']('CommentsRepository'),_0x4546a6=this['editor']['plugins']['get']('Annotations'),_0x12e29e=this['editor']['config']['get']('collaboration.channelId');if(!_0x12e29e||_0xe79350['channelId']===_0x12e29e){const _0x495edd=_0x24f5af['_threadToController']['get'](_0xe79350);if(!_0x495edd)return void this['_pendingThreads']['push'](_0xe79350);const _0x4cbd1a=this['_calculatePosition'](_0xe79350['archivedAt']),_0x2b4007=_0x4546a6['getByInnerView'](_0x495edd['view']);_0x2b4007['isVisible']&&_0x4546a6['_visibleAnnotations']['remove'](_0x2b4007),this['_addAnnotationToArchive'](_0x2b4007,_0x4cbd1a);}}['_calculatePosition'](_0xb049bb){const _0x3f5eb1=this['editor']['config']['get']('collaboration.channelId'),_0x2d9c9f=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x2f0a54=>_0x2f0a54['channelId']===_0x3f5eb1)['findIndex'](_0x361358=>_0x361358['archivedAt']<_0xb049bb);return _0x2d9c9f<0x0||_0x2d9c9f>this['annotationViews']['length']?this['annotationViews']['length']:_0x2d9c9f-0x1;}['_toggleDialog'](){const _0x2c13e7=this['editor'],_0x523433=_0x2c13e7['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x2c13e7['locale'],this['annotationViews'])),'commentsArchive'===_0x523433['id']?_0x523433['hide']():_0x523433['show']({'id':'commentsArchive','title':_0x58309f(_0x2c13e7['locale'],'COMMENTS_ARCHIVE'),'icon':_0x31c75c['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x31c75c['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x429810,_0xbef80f=!0x1){const _0x254c03=this['editor']['locale'],_0x5b9487=this['editor']['plugins']['get']('Dialog'),_0x397c5f=new _0x429810(_0x254c03);return _0x397c5f['bind']('isEnabled')['to'](this,'isEnabled'),_0x397c5f['bind']('isOn')['to'](_0x5b9487,'id',_0x1b61d9=>'commentsArchive'===_0x1b61d9),_0x397c5f['set']({'label':_0x58309f(_0x254c03,'COMMENTS_ARCHIVE'),'icon':_0x31c75c['IconCommentsArchive'],'isToggleable':!0x0}),_0xbef80f&&(_0x397c5f['tooltip']=!0x0),this['listenTo'](_0x397c5f,'execute',()=>this['_toggleDialog']()),_0x397c5f;}['_hideDialogOnAnnotationEscape']=_0x5a064d=>{const _0x1dd02f=_0x5a064d['source'];if(!this['annotationViews']['has'](_0x1dd02f['view']))return;const _0x476e32=this['editor']['plugins']['get']('Dialog');_0x476e32['isOpen']&&'commentsArchive'===_0x476e32['id']&&(_0x476e32['hide'](),_0x5a064d['stop']());};}class Comments extends _0x31c75c['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x5c5859,_0x3afa4c,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x333912(_0x53cac1){let _0x3cf333='';for(const _0x496be5 of _0x53cac1['getChildren']())_0x496be5 instanceof _0x31c75c['ModelText']&&(_0x3cf333+=_0x496be5['data']);return _0x3cf333;}class DocumentOutlineUtils extends _0x31c75c['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x29de1d=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x4b10bc=[];_0x29de1d['model']['document']['on']('change',ht(()=>{const _0xebd2e=_0x4b10bc;_0x4b10bc=this['_getOutlineDefinitions']();const _0x39723c=_0x31c75c['diff'](_0xebd2e,_0x4b10bc,(_0x4a8495,_0x24d1dd)=>_0x4a8495['level']===_0x24d1dd['level']&&_0x4a8495['text']===_0x24d1dd['text']&&_0x4a8495['modelElement']===_0x24d1dd['modelElement']),_0x3f9c5c=_0x31c75c['diffToChanges'](_0x39723c,_0x4b10bc),_0x2b8d59=this['_getActiveHeading'](),_0x1087e5=_0x4b10bc['findIndex'](_0x594b48=>_0x594b48['modelElement']===_0x2b8d59);_0x3f9c5c['length']&&this['fire']('change',{'outlineDefinitions':_0x4b10bc,'activeItemIndex':_0x1087e5,'outlineChanges':_0x3f9c5c}),this['fire']('activeItemIndex',{'index':_0x1087e5});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x4ed1b4=this['editor'],_0x31b0bb=[],_0x2d0e78=this['_headingNames'];for(const _0x58f358 of _0x4ed1b4['model']['document']['getRootNames']())_0x43f846(_0x4ed1b4['model']['document']['getRoot'](_0x58f358));function _0x43f846(_0x2ef3af){for(const _0x530474 of _0x2ef3af['getChildren']())_0x530474['is']('element')&&(_0x2d0e78['includes'](_0x530474['name'])&&_0x31b0bb['push']({'level':_0x2d0e78['indexOf'](_0x530474['name'])+0x1,'text':_0x333912(_0x530474),'modelElement':_0x530474}),_0x43f846(_0x530474));}return _0x31b0bb;}['_getActiveHeading'](){const _0x2e2196=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x462fec=new _0x31c75c['ModelTreeWalker']({'direction':'backward','startPosition':_0x2e2196});for(const _0x11e7a0 of _0x462fec)if(_0x11e7a0['item']['is']('element')&&this['_headingNames']['includes'](_0x11e7a0['item']['name']))return _0x11e7a0['item'];}['_getHeadingNames'](){const _0x1839c6=this['editor']['config']['get']('documentOutline.headings');return _0x1839c6||function(_0x5be73f){const _0x3bcc7f=_0x5be73f['config']['get']('heading.options');return _0x3bcc7f?_0x3bcc7f['reduce']((_0x32506d,_0x2daa90)=>('paragraph'!==_0x2daa90['model']&&_0x32506d['push'](_0x2daa90['model']),_0x32506d),[]):_0x5be73f['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x16e3a4=this['editor'],_0x3f0ecd=['h1','h2','h3','h4','h5','h6'],_0x560aea=[];for(const _0x5d0090 of _0x3f0ecd){const _0x23559e=_0x16e3a4['editing']['view']['domConverter']['domToView'](document['createElement'](_0x5d0090)),_0x5a02eb=_0x16e3a4['data']['toModel'](_0x23559e)['getChild'](0x0);_0x5a02eb?.['is']('element')&&_0x560aea['push'](_0x5a02eb['name']);}this['_headingNames']=_0x560aea;}}function _0xed0693(_0x1b062c,_0x326510){const t=_0x1b062c['t'];switch(_0x326510){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x326510;}}class DocumentOutlineItemView extends _0x31c75c['View']{constructor(_0x2ceb37,_0x56f683=!0x1){super(_0x2ceb37);const _0xbae199=this['bindTemplate'],_0x55b0e2=_0x56f683?'['+_0xed0693(_0x2ceb37,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x40d60f=>!_0x40d60f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0xbae199['to']('level',_0x4cd2f1=>'ck-document-outline__item_level-'+_0x4cd2f1),_0xbae199['if']('isActive','ck-document-outline__item_active'),_0xbae199['if']('isEmpty','ck-document-outline__item_empty')],'title':_0xbae199['to']('text')},'children':[{'text':_0xbae199['to']('text',_0x29e833=>_0x29e833||_0x55b0e2)}],'on':{'click':_0xbae199['to']('click')}});}}class DocumentOutlineView extends _0x31c75c['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x36615c,_0x4b3346=!0x1,_0x5c29ef){super(_0x36615c),this['showEmptyHeadingText']=_0x4b3346,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5c29ef,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1ce414,_0x47883b,_0x527a1f,_0xd532f4)=>{this['_setActiveItem'](_0xd532f4,_0x527a1f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x36615c['contentLanguageDirection'],'data-document-outline-empty-placeholder':_0xed0693(_0x36615c,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5e6bac){_0x5e6bac['forEach'](_0x372934=>{'insert'==_0x372934['type']?this['_insertItem'](_0x372934['index'],..._0x372934['values']):'delete'==_0x372934['type']&&this['_deleteItem'](_0x372934['index'],_0x372934['howMany']);});}['_setActiveItem'](_0x251e4e,_0x587fd6){if(-0x1!==_0x251e4e){const _0x45d05d=this['items']['get'](_0x251e4e);_0x45d05d&&(_0x45d05d['isActive']=!0x1);}-0x1!==_0x587fd6&&(this['items']['get'](_0x587fd6)['isActive']=!0x0,this['_scrollToItem'](_0x587fd6));}['_insertItem'](_0x2331c2,..._0x41a491){const _0x3a8707=_0x41a491['map']((_0x326d20,_0xcb83bf)=>{const _0x2ec7b9=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x2ec7b9['text']=_0x326d20['text'],_0x2ec7b9['level']=_0x326d20['level'],_0x2331c2+_0xcb83bf===this['activeItemIndex']&&(_0x2ec7b9['isActive']=!0x0),_0x2ec7b9;});this['items']['addMany'](_0x3a8707,_0x2331c2);}['_deleteItem'](_0x3a1b86,_0x56b93d){do{this['items']['remove'](_0x3a1b86);}while(--_0x56b93d);}['_handleItemClick'](_0x50b2f0){const _0x1e28f4=this['items']['getIndex'](_0x50b2f0['source']);this['fire']('itemSelected',_0x1e28f4);}['_scrollToItem'](_0x3914ff){_0x31c75c['scrollAncestorsToShowTarget'](this['items']['get'](_0x3914ff)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x31c75c['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3005f8){super(_0x3005f8),this['view']=new DocumentOutlineView(_0x3005f8['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=ut(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x45c7ff=this['editor'],_0x1fea75=_0x45c7ff['plugins']['get']('DocumentOutlineUtils');let _0x3afc68=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x45c7ff['config']['get']('documentOutline.container'))throw new _0x31c75c['CKEditorError']('document-outline-container-not-provided',{'editor':_0x45c7ff});_0x45c7ff['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x1fea75['on']('change',this['_handleOutlineChange']['bind'](this)),_0x1fea75['on']('activeItemIndex',(_0x455a7e,{index:_0xbe4cb7})=>this['_setActiveViewItem'](_0xbe4cb7)),this['view']['on']('itemSelected',(_0x23f8e6,_0x2553b5)=>{_0x3afc68=!0x0,this['_handleItemSelected'](_0x2553b5);}),this['view']['listenTo'](_0x31c75c['global']['document'],'scroll',()=>{_0x3afc68?_0x3afc68=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x31c75c['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0xfbbe47){const _0xb4d021=_0x2bb8e5([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x1c13b3=0x1cb264a3,_0x13fea5=0x1cb5eecb^_0x1c13b3,_0x430f06=window[_0x2bb8e5([0x44,0x61,0x74,0x65])][_0x2bb8e5([0x6e,0x6f,0x77])](),_0x3d6fde=_0xfbbe47[_0x2bb8e5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x351f16=new window[(_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x123811=>{_0x3d6fde[_0x2bb8e5([0x6f,0x6e,0x63,0x65])](_0x2bb8e5([0x72,0x65,0x61,0x64,0x79]),_0x123811);}),_0x595014={[_0x2bb8e5([0x6b,0x74,0x79])]:_0x2bb8e5([0x45,0x43]),[_0x2bb8e5([0x75,0x73,0x65])]:_0x2bb8e5([0x73,0x69,0x67]),[_0x2bb8e5([0x63,0x72,0x76])]:_0x2bb8e5([0x50,0x2d,0x32,0x35,0x36]),[_0x2bb8e5([0x78])]:_0x2bb8e5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2bb8e5([0x79])]:_0x2bb8e5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2bb8e5([0x61,0x6c,0x67])]:_0x2bb8e5([0x45,0x53,0x32,0x35,0x36])},_0x53de83=_0x3d6fde[_0x2bb8e5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2bb8e5([0x67,0x65,0x74])](_0x2bb8e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b0408(){let _0x2ce993,_0x5b31df=null,_0x3654a1=null;try{if(_0x53de83==_0x2bb8e5([0x47,0x50,0x4c]))return _0x2bb8e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ce993=_0x1a7c7b(),!_0x2ce993)return _0x2bb8e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ce993[_0x2bb8e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3654a1=_0x309dbd(_0x2ce993[_0x2bb8e5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ce993[_0x2bb8e5([0x6a,0x74,0x69])])),await _0x41308b()?_0x5773a9()?_0x20ac12()?_0x2bb8e5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c8491()?(_0x2ce993[_0x2bb8e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bb8e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b31df=_0x19ebdd(_0x2bb8e5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3eaa7e()):_0x2bb8e5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2bb8e5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2bb8e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2bb8e5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20ac12(){const _0x59595f=[_0x2bb8e5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2bb8e5([0x74,0x72,0x69,0x61,0x6c])][_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ce993[_0x2bb8e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x430f06/0x3e8:0xe10*_0x13fea5;return _0x2ce993[_0x2bb8e5([0x65,0x78,0x70])]<_0x59595f;}function _0x5773a9(){const _0x304c75=_0x2ce993[_0x2bb8e5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x304c75&&(!!_0x304c75[_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb8e5([0x2a]))||(!!_0x304c75[_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb8e5([0x44,0x4f]))||(!!_0x304c75[_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb8e5([0x50,0x50]))||!(!_0x304c75[_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb8e5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4a4b92()))));}function _0x2c8491(){const _0x5b7eab=_0x2ce993[_0x2bb8e5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b7eab||0x0==_0x5b7eab[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c1825}=new URL(window[_0x2bb8e5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b7eab[_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c1825))return!0x0;const _0x441c9e=_0x4c1825[_0x2bb8e5([0x73,0x70,0x6c,0x69,0x74])](_0x2bb8e5([0x2e]));return _0x5b7eab[_0x2bb8e5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4548a7=>_0x4548a7[_0x2bb8e5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb8e5([0x2a])))[_0x2bb8e5([0x6d,0x61,0x70])](_0x265c54=>_0x265c54[_0x2bb8e5([0x73,0x70,0x6c,0x69,0x74])](_0x2bb8e5([0x2e])))[_0x2bb8e5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c5a97=>_0x2c5a97[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x441c9e[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bb8e5([0x6d,0x61,0x70])](_0x35fb6a=>Array(_0x441c9e[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35fb6a[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bb8e5([0x66,0x69,0x6c,0x6c])](_0x35fb6a[0x0]===_0x2bb8e5([0x2a])?_0x2bb8e5([0x2a]):'')[_0x2bb8e5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35fb6a))[_0x2bb8e5([0x73,0x6f,0x6d,0x65])](_0x1e0ad6=>_0x441c9e[_0x2bb8e5([0x65,0x76,0x65,0x72,0x79])]((_0x447228,_0xacb025)=>_0x1e0ad6[_0xacb025]===_0x447228||_0x1e0ad6[_0xacb025]===_0x2bb8e5([0x2a])));}function _0x3eaa7e(){return _0x5b31df&&_0x3654a1?new window[(_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x184cc2,_0xb9ce2)=>{_0x5b31df[_0x2bb8e5([0x74,0x68,0x65,0x6e])](_0x184cc2,_0xb9ce2),_0x3654a1[_0x2bb8e5([0x74,0x68,0x65,0x6e])](_0x52ff26=>{_0x52ff26!=_0x2bb8e5([0x56,0x61,0x6c,0x69,0x64])&&_0x184cc2(_0x52ff26);},_0xb9ce2);}):_0x5b31df||_0x3654a1||_0x2bb8e5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x309dbd(_0x2347d3,_0x50a1dd){return new window[(_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ea8fc=>{if(_0x388fea())return _0x3ea8fc(_0x2bb8e5([0x56,0x61,0x6c,0x69,0x64]));_0x58a4b7(),_0x3d6fde[_0x2bb8e5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2bb8e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51c307=!0x1;const _0x1c13a6=_0x31c75c['uid']();function _0xad1370(_0x519a96){return!!_0x519a96&&(typeof _0x519a96===_0x2bb8e5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x519a96===_0x2bb8e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x519a96[_0x2bb8e5([0x74,0x68,0x65,0x6e])]===_0x2bb8e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x519a96[_0x2bb8e5([0x63,0x61,0x74,0x63,0x68])]===_0x2bb8e5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x156907(_0x2a9434){_0x12d128(_0x2a9434)[_0x2bb8e5([0x74,0x68,0x65,0x6e])](_0x508cea=>{if(!_0x508cea||_0x508cea[_0x2bb8e5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2bb8e5([0x6f,0x6b]))return _0x2bb8e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c8ce4(_0xd9325(_0x1c13a6+_0x50a1dd))!=_0x508cea[_0x2bb8e5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2bb8e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2bb8e5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2bb8e5([0x74,0x68,0x65,0x6e])](_0x1e3e4f=>(_0x174fae(),_0x1e3e4f),()=>{const _0x98fe9d=_0x53c286();return null==_0x98fe9d?(_0x174fae(),_0x2bb8e5([0x56,0x61,0x6c,0x69,0x64])):_0x2bb8e5(_0x430f06-_0x98fe9d>(0x38bee0a3^_0x1c13b3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2bb8e5([0x74,0x68,0x65,0x6e])](_0x3ea8fc)[_0x2bb8e5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ea8fc(_0x2bb8e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x494c01=0x1c848a23^_0x1c13b3;function _0x174fae(){const _0xf1c36c=_0x2bb8e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c8ce4(_0xd9325(_0x2347d3)),_0x80732f=_0x174ac3(_0x2c8ce4(window[_0x2bb8e5([0x4d,0x61,0x74,0x68])][_0x2bb8e5([0x63,0x65,0x69,0x6c])](_0x430f06/_0x494c01)));window[_0x2bb8e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bb8e5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf1c36c,_0x80732f);}function _0x53c286(){const _0x56a599=_0x2bb8e5([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c8ce4(_0xd9325(_0x2347d3)),_0x45a9e9=window[_0x2bb8e5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bb8e5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56a599);return _0x45a9e9?window[_0x2bb8e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x174ac3(_0x45a9e9),0x10)*_0x494c01:null;}function _0x12d128(_0x5a397e){return new window[(_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x456903,_0x545e35)=>{_0x5a397e[_0x2bb8e5([0x74,0x68,0x65,0x6e])](_0x456903,_0x545e35),window[_0x2bb8e5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x545e35,0x1cb3b063^_0x1c13b3);});}}_0x3d6fde[_0x2bb8e5([0x6f,0x6e])](_0x2bb8e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x444fb5,_0x323692)=>{if(_0x323692[0x0]!=_0x2347d3)return _0x3ea8fc(_0x2bb8e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x323692[0x1]={..._0x323692[0x1],[_0x2bb8e5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c13a6};},{[_0x2bb8e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bb8e5([0x68,0x69,0x67,0x68])}),_0x3d6fde[_0x2bb8e5([0x6f,0x6e])](_0x2bb8e5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47495b=>{_0xad1370(_0x47495b[_0x2bb8e5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51c307=!0x0,_0x156907(_0x47495b[_0x2bb8e5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2bb8e5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bb8e5([0x6c,0x6f,0x77])}),_0x351f16[_0x2bb8e5([0x74,0x68,0x65,0x6e])](()=>{_0x51c307||_0x3ea8fc(_0x2bb8e5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x388fea(){return _0x3d6fde[_0x2bb8e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bb8e5([0x76,0x69,0x65,0x77])][_0x2bb8e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2bb8e5([0x61,0x75,0x74,0x6f]);}function _0x58a4b7(){_0x3d6fde[_0x2bb8e5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bb8e5([0x76,0x69,0x65,0x77])][_0x2bb8e5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2bb8e5([0x61,0x75,0x74,0x6f]);}}function _0x19ebdd(_0x4d3447){const _0x3273e3=[new window[(_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3387bc=>setTimeout(_0x3387bc,0x1cbb5a6f^_0x1c13b3)),_0x351f16[_0x2bb8e5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13ce21=>{let _0x2a64b6=0x0;_0x3d6fde[_0x2bb8e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bb8e5([0x6f,0x6e])](_0x2bb8e5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46a360,_0x5c4a79)=>{_0x5c4a79[0x0][_0x2bb8e5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a64b6++,_0x2a64b6==(0x1cb2614b^_0x1c13b3)&&(_0x13ce21(),_0x46a360[_0x2bb8e5([0x6f,0x66,0x66])]());});}))];return window[_0x2bb8e5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2bb8e5([0x72,0x61,0x63,0x65])](_0x3273e3)[_0x2bb8e5([0x74,0x68,0x65,0x6e])](()=>_0x4d3447);}async function _0x5c42c7(){await _0x351f16,_0x3d6fde[_0x2bb8e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bb8e5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a27bf,_0x3d6fde[_0x2bb8e5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bb8e5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a27bf,_0x3d6fde[_0x2bb8e5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2bb8e5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a4b92(){return window[_0x2bb8e5([0x67,0x6c,0x6f,0x62])]&&window[_0x2bb8e5([0x67,0x6c,0x6f,0x62])][_0x2bb8e5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x400917(_0x4dfe60){const _0x2b6ab2=_0x54bbe7();_0x3d6fde[_0x2b6ab2]=_0x2bb8e5([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dfe60,_0x4dfe60!=_0x2bb8e5([0x56,0x61,0x6c,0x69,0x64])&&_0x5c42c7();}function _0x54bbe7(){const _0x482cfc=window[_0x2bb8e5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2bb8e5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2bb8e5([0x6e,0x6f,0x77])]())[_0x2bb8e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2bb8e5([0x2e]),'');let _0x2ef505=_0x2bb8e5([0x61]);for(let _0x34511a=0x0;_0x34511a<_0x482cfc[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34511a+=0x2){let _0x151085=window[_0x2bb8e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x482cfc[_0x2bb8e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34511a,_0x34511a+0x2));_0x151085>=_0xb4d021[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x151085-=_0xb4d021[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ef505+=_0xb4d021[_0x151085];}return _0x2ef505;}function _0x1a7c7b(){const _0x3e5df0=_0x53de83[_0x2bb8e5([0x73,0x70,0x6c,0x69,0x74])](_0x2bb8e5([0x2e]));if(0x3!=_0x3e5df0[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b0326(_0x3e5df0[0x1]);function _0x2b0326(_0x37c12f){const _0x16eb2c=_0x552796(_0x37c12f);return _0x16eb2c&&_0xd25663()?_0x16eb2c:null;function _0xd25663(){const _0x111934=_0x16eb2c[_0x2bb8e5([0x6a,0x74,0x69])],_0x191b97=window[_0x2bb8e5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x111934[_0x2bb8e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x111934[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6e20ac={..._0x16eb2c,[_0x2bb8e5([0x6a,0x74,0x69])]:_0x111934[_0x2bb8e5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x111934[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6e20ac[_0x2bb8e5([0x76,0x63])],_0xd9325(_0x6e20ac)==_0x191b97;}}}async function _0x41308b(){let _0x59b6ea=!0x0;try{const _0x10bbb8=_0x53de83[_0x2bb8e5([0x73,0x70,0x6c,0x69,0x74])](_0x2bb8e5([0x2e])),[_0xe16a55,_0x1b05f1,_0x30a337]=_0x10bbb8;return _0x273135(_0xe16a55),await _0x203416(_0xe16a55,_0x1b05f1,_0x30a337),_0x59b6ea;}catch{return!0x1;}function _0x273135(_0x4825aa){const _0x3a0156=_0x552796(_0x4825aa);_0x3a0156&&_0x3a0156[_0x2bb8e5([0x61,0x6c,0x67])]==_0x2bb8e5([0x45,0x53,0x32,0x35,0x36])||(_0x59b6ea=!0x1);}async function _0x203416(_0x4a772f,_0x36ed66,_0x4f13eb){const _0x445fe4=window[_0x2bb8e5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2bb8e5([0x66,0x72,0x6f,0x6d])](_0x206f78(_0x4f13eb),_0x32d226=>_0x32d226[_0x2bb8e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47272c=new window[(_0x2bb8e5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2bb8e5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a772f+_0x2bb8e5([0x2e])+_0x36ed66),_0x1c8feb=window[_0x2bb8e5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2bb8e5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c8feb)return;const _0x14c534=await _0x1c8feb[_0x2bb8e5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2bb8e5([0x6a,0x77,0x6b]),_0x595014,{[_0x2bb8e5([0x6e,0x61,0x6d,0x65])]:_0x2bb8e5([0x45,0x43,0x44,0x53,0x41]),[_0x2bb8e5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2bb8e5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2bb8e5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c8feb[_0x2bb8e5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2bb8e5([0x6e,0x61,0x6d,0x65])]:_0x2bb8e5([0x45,0x43,0x44,0x53,0x41]),[_0x2bb8e5([0x68,0x61,0x73,0x68])]:{[_0x2bb8e5([0x6e,0x61,0x6d,0x65])]:_0x2bb8e5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14c534,_0x445fe4,_0x47272c)||(_0x59b6ea=!0x1);}}function _0x552796(_0x57fba6){return _0x57fba6[_0x2bb8e5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2bb8e5([0x65,0x79]))?JSON[_0x2bb8e5([0x70,0x61,0x72,0x73,0x65])](_0x206f78(_0x57fba6)):null;}function _0x206f78(_0x177bca){return window[_0x2bb8e5([0x61,0x74,0x6f,0x62])](_0x177bca[_0x2bb8e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2bb8e5([0x2b]))[_0x2bb8e5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2bb8e5([0x2f])));}function _0xd9325(_0x4a7083){let _0x3d0061=0x1505;function _0x188cff(_0x2b018d){for(let _0x28f9b4=0x0;_0x28f9b4<_0x2b018d[_0x2bb8e5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28f9b4++){const _0x1b6e42=_0x2b018d[_0x2bb8e5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x28f9b4);_0x3d0061=(_0x3d0061<<0x5)+_0x3d0061+_0x1b6e42,_0x3d0061&=_0x3d0061;}}function _0x569cc9(_0x22872a){Array[_0x2bb8e5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22872a)?_0x22872a[_0x2bb8e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x569cc9):_0x22872a&&typeof _0x22872a==_0x2bb8e5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2bb8e5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22872a)[_0x2bb8e5([0x73,0x6f,0x72,0x74])]()[_0x2bb8e5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39fb35,_0x3697c8])=>{_0x188cff(_0x39fb35),_0x569cc9(_0x3697c8);}):_0x188cff(window[_0x2bb8e5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22872a));}return _0x569cc9(_0x4a7083),_0x3d0061>>>0x0;}function _0x2c8ce4(_0x172ef1){return _0x172ef1[_0x2bb8e5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2bb8e5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2bb8e5([0x30]));}function _0x174ac3(_0x4f69b0){return _0x4f69b0[_0x2bb8e5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2bb8e5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2bb8e5([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a27bf(){}function _0x2bb8e5(_0x30756e){return _0x30756e['map'](_0x4e6672=>String['fromCharCode'](_0x4e6672))['join']('');}_0x400917(await _0x3b0408());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x2c0e58,{outlineDefinitions:_0xa385e8,outlineChanges:_0x567a29}){this['_currentOutlineDefinitions']=_0xa385e8,this['view']['sync'](_0x567a29);}['_setActiveViewItem'](_0xff2d21){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xff2d21]&&(this['view']['activeItemIndex']=_0xff2d21);}['_handleItemSelected'](_0x1012c4){const _0x338c94=this['_currentOutlineDefinitions'][_0x1012c4]['modelElement'];this['editor']['model']['change'](_0x47e231=>{_0x47e231['setSelection'](_0x338c94,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1012c4);}['_updateActiveDefinitionOnViewportChange'](){const _0x54d8f7=this['editor'];let _0x1c7de4;for(const _0x62fd43 of _0x54d8f7['model']['document']['getRootNames']()){const _0x58ce18=_0x54d8f7['editing']['view']['getDomRoot'](_0x62fd43),_0x315b7f=_0x58ce18&&new _0x31c75c['Rect'](_0x58ce18)['getVisible']();if(_0x315b7f){const _0x36385e=new _0x31c75c['Rect'](_0x31c75c['global']['window'])['getIntersection'](_0x315b7f);_0x36385e&&(_0x1c7de4=_0x36385e['top']+0.25*_0x36385e['height']);}}if(void 0x0===_0x1c7de4)return;const _0x495f9c=_0x30b0a7(_0x54d8f7['editing'],this['_currentOutlineDefinitions'],_0x1c7de4);_0x495f9c?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x495f9c)):this['_setActiveViewItem'](-0x1);}}function _0x30b0a7(_0x264e05,_0x4825bd,_0x2154c4,_0x19f9ab=0x0,_0x5a1f84=_0x4825bd['length']-0x1){const _0x907812=Math['floor'](_0x19f9ab+(_0x5a1f84-_0x19f9ab)/0x2);if(_0x5a1f84>=_0x19f9ab){const _0x3cb7b8=_0x4825bd[_0x907812],_0x3a8cea=_0x264e05['mapper']['toViewElement'](_0x3cb7b8['modelElement']);if(!_0x3a8cea)return null;const _0x472631=_0x264e05['view']['domConverter']['mapViewToDom'](_0x3a8cea);return new _0x31c75c['Rect'](_0x472631)['bottom']>_0x2154c4?_0x30b0a7(_0x264e05,_0x4825bd,_0x2154c4,_0x19f9ab,_0x907812-0x1):_0x30b0a7(_0x264e05,_0x4825bd,_0x2154c4,_0x907812+0x1,_0x5a1f84);}return _0x907812<0x0?null:_0x4825bd[_0x907812];}class DocumentOutline extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3d9eae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x348682;for(const _0x21498b in _0x3d9eae){const _0x307176=_0x21498b,_0x1502d5=_0x3d9eae[_0x307176];if('documentOutlineLicenseKeyValid'==_0x1502d5||'documentOutlineLicenseKeyInvalid'==_0x1502d5||'documentOutlineLicenseKeyExpired'==_0x1502d5||'documentOutlineLicenseKeyDomainLimit'==_0x1502d5||'documentOutlineLicenseKeyNotAllowed'==_0x1502d5||'documentOutlineLicenseKeyEvaluationLimit'==_0x1502d5||'documentOutlineLicenseKeyUsageLimit'==_0x1502d5){delete _0x3d9eae[_0x307176],_0x348682=_0x1502d5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x348682&&_0x3d9eae['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x348682&&_0x3d9eae['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x348682&&_0x3d9eae['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x348682&&_0x3d9eae['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x348682&&_0x3d9eae['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x348682&&_0x3d9eae['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x31c75c['Command']{['execute'](){this['editor']['model']['change'](_0x1db639=>{this['editor']['model']['insertObject'](_0x1db639['createElement']('tableOfContents'));});}['refresh'](){const _0x301c9c=this['editor']['model'],_0xf264f0=_0x301c9c['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0xf264f0&&_0x301c9c['schema']['findAllowedParent'](_0xf264f0,'tableOfContents'));}}class _0x2bdcac extends _0x31c75c['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2682f4=this['editor'];if(_0x2682f4['config']['get']('headingId.modelAttributeName'))return;const _0x3fdf66=function(_0x34288b){const _0x55a3aa=new Map();if(_0x34288b)return _0x34288b['forEach'](_0x2fedc3=>{'paragraph'!==_0x2fedc3['model']&&_0x55a3aa['set'](_0x2fedc3['view'],_0x2fedc3['model']);}),_0x55a3aa['get']('h1')||_0x55a3aa['set']('h1','heading1'),_0x55a3aa;return _0x55a3aa;}(this['editor']['config']['get']('heading.options'));_0x3fdf66['forEach']((_0x40581c,_0x3860aa)=>{this['_customUpcastHeadingsConversion'](_0x3860aa),this['_customDataDowncastHeadingsConversion'](_0x40581c),_0x2682f4['model']['schema']['isRegistered'](_0x40581c)&&_0x2682f4['model']['schema']['extend'](_0x40581c,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x5490f){this['editor']['conversion']['for']('upcast')['add'](_0x45915e=>_0x45915e['on']('element:'+_0x5490f,(_0x406f19,_0x1393a6,_0x25384e)=>{const {consumable:_0xb2d3c2,writer:_0x48af55}=_0x25384e,_0x50b061=_0x1393a6['viewItem']['getAttribute']('id'),_0x289a50=_0x1393a6['modelRange']['getContainedElement']();if(_0x289a50)return _0x50b061&&_0x50b061['length']||_0x289a50['hasAttribute']('headingId')?void(_0xb2d3c2['consume'](_0x1393a6['viewItem'],{'attributes':['id']})&&_0x48af55['setAttribute']('headingId',_0x50b061,_0x289a50)):(_0xb2d3c2['consume'](_0x1393a6['viewItem'],{'attributes':['id']}),void _0x48af55['setAttribute']('headingId',_0x31c75c['uid'](),_0x289a50));},{'priority':_0x31c75c['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x489d38){this['editor']['conversion']['for']('downcast')['add'](_0x103edf=>_0x103edf['on']('attribute:headingId:'+_0x489d38,(_0x4976b5,_0x14cbed,_0x1f996e)=>{if(!_0x1f996e['consumable']['consume'](_0x14cbed['item'],_0x4976b5['name']))return;const _0x2f21f0=_0x14cbed['item']['getAttribute']('headingId'),_0x3c2ab9=_0x1f996e['mapper']['toViewElement'](_0x14cbed['item']);_0x1f996e['writer']['setAttribute']('id',_0x2f21f0,_0x3c2ab9);}));}['_registerHeadingIdAttributePostfixer'](){const _0x4b0422=this['editor'],_0x40344b=new Set(),_0x270cd0=new Set();function _0x1eba4c(_0x1f4ce9,_0x2188f9){const _0x5c9893=_0x31c75c['uid']();return _0x270cd0['add'](_0x5c9893),_0x1f4ce9['setAttribute']('headingId',_0x5c9893,_0x2188f9),_0x5c9893;}function _0x30778e(_0x26c718,_0xfe7f96){_0x26c718['removeAttribute']('headingId',_0xfe7f96);}_0x4b0422['model']['document']['registerPostFixer'](_0x118f6c=>{const _0x5394ad=_0x4b0422['model']['document']['differ']['getChanges']();let _0x48bb7f=!0x1;for(const _0x3f8614 of _0x5394ad)if('insert'==_0x3f8614['type']&&_0x3f8614['name']){if(_0x36fc75(_0x3f8614['name'])){const _0x443b4a=_0x3f8614['attributes']['get']('headingId');'string'==typeof _0x443b4a?_0x40344b['has'](_0x443b4a)?(_0x1eba4c(_0x118f6c,_0x3f8614['position']['nodeAfter']),_0x48bb7f=!0x0):_0x270cd0['add'](_0x443b4a):(_0x1eba4c(_0x118f6c,_0x3f8614['position']['nodeAfter']),_0x48bb7f=!0x0);}else'string'==typeof _0x3f8614['attributes']['get']('headingId')&&(_0x30778e(_0x118f6c,_0x3f8614['position']['nodeAfter']),_0x48bb7f=!0x0);}else{if('remove'==_0x3f8614['type']){const _0x13aa02=_0x3f8614['attributes']['get']('headingId');'string'==typeof _0x13aa02&&_0x40344b['delete'](_0x13aa02);}}return _0x48bb7f;}),_0x4b0422['model']['document']['on']('change',()=>{_0x270cd0['forEach'](_0x3be369=>_0x40344b['add'](_0x3be369)),_0x270cd0['clear']();});}}function _0x36fc75(_0x4a48e7){return!!_0x4a48e7['match'](/heading\d/);}class TableOfContentsEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['Widget'],DocumentOutlineUtils,_0x2bdcac];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x4b8833){super(_0x4b8833),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x518cdd=this['editor'],_0x3bafa1=_0x518cdd['editing']['view']['document'];_0x518cdd['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x518cdd['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3bafa1,'click',(_0x3c9a7f,_0x5ac134)=>{if(!_0x5ac134['target'])return;const _0x54f77a=_0x5ac134['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x54f77a)&&(_0x5ac134['domEvent']['preventDefault'](),_0x3c9a7f['stop'](),this['_handleScrollToHeading'](_0x54f77a));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x518cdd['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x518cdd));const _0x5e9c7e=_0x518cdd['config']['get']('tableOfContents.headings');if(_0x5e9c7e&&_0x5e9c7e['length'])this['listenTo'](_0x518cdd['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x5e9c7e),this['_updateTableOfContentsElements']();});else _0x518cdd['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x382cb8,_0xd9db2f)=>{this['_currentOutlineDefinitions']=_0xd9db2f['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x518cdd['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x46bd18){const _0xc8c321=_0x648e4a([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x502149=0x6b9b05fd,_0x47e8b9=0x6b9c8f95^_0x502149,_0x1473d6=window[_0x648e4a([0x44,0x61,0x74,0x65])][_0x648e4a([0x6e,0x6f,0x77])](),_0x2c4d46=_0x46bd18[_0x648e4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a3549=new window[(_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55050e=>{_0x2c4d46[_0x648e4a([0x6f,0x6e,0x63,0x65])](_0x648e4a([0x72,0x65,0x61,0x64,0x79]),_0x55050e);}),_0x3a8a74={[_0x648e4a([0x6b,0x74,0x79])]:_0x648e4a([0x45,0x43]),[_0x648e4a([0x75,0x73,0x65])]:_0x648e4a([0x73,0x69,0x67]),[_0x648e4a([0x63,0x72,0x76])]:_0x648e4a([0x50,0x2d,0x32,0x35,0x36]),[_0x648e4a([0x78])]:_0x648e4a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x648e4a([0x79])]:_0x648e4a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x648e4a([0x61,0x6c,0x67])]:_0x648e4a([0x45,0x53,0x32,0x35,0x36])},_0x68a7d8=_0x2c4d46[_0x648e4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x648e4a([0x67,0x65,0x74])](_0x648e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x192353(){let _0x5ed141,_0x1016ba=null,_0x106c81=null;try{if(_0x68a7d8==_0x648e4a([0x47,0x50,0x4c]))return _0x648e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ed141=_0x316d38(),!_0x5ed141)return _0x648e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ed141[_0x648e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x106c81=_0x38e829(_0x5ed141[_0x648e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ed141[_0x648e4a([0x6a,0x74,0x69])])),await _0x115fd1()?_0x564416()?_0x2a09fc()?_0x648e4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x435f44()?(_0x5ed141[_0x648e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x648e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1016ba=_0x3e0a71(_0x648e4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4425d8()):_0x648e4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x648e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x648e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x648e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a09fc(){const _0x2d4254=[_0x648e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x648e4a([0x74,0x72,0x69,0x61,0x6c])][_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ed141[_0x648e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1473d6/0x3e8:0xe10*_0x47e8b9;return _0x5ed141[_0x648e4a([0x65,0x78,0x70])]<_0x2d4254;}function _0x564416(){const _0x262f06=_0x5ed141[_0x648e4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x262f06&&(!!_0x262f06[_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648e4a([0x2a]))||(!!_0x262f06[_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648e4a([0x54,0x4f,0x43]))||(!!_0x262f06[_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648e4a([0x50,0x50]))||!(!_0x262f06[_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648e4a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x27d814()))));}function _0x435f44(){const _0x45aa26=_0x5ed141[_0x648e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45aa26||0x0==_0x45aa26[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x582356}=new URL(window[_0x648e4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45aa26[_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582356))return!0x0;const _0x52b824=_0x582356[_0x648e4a([0x73,0x70,0x6c,0x69,0x74])](_0x648e4a([0x2e]));return _0x45aa26[_0x648e4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb329e6=>_0xb329e6[_0x648e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648e4a([0x2a])))[_0x648e4a([0x6d,0x61,0x70])](_0x40eb59=>_0x40eb59[_0x648e4a([0x73,0x70,0x6c,0x69,0x74])](_0x648e4a([0x2e])))[_0x648e4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5df02b=>_0x5df02b[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52b824[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x648e4a([0x6d,0x61,0x70])](_0x4e9416=>Array(_0x52b824[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e9416[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x648e4a([0x66,0x69,0x6c,0x6c])](_0x4e9416[0x0]===_0x648e4a([0x2a])?_0x648e4a([0x2a]):'')[_0x648e4a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e9416))[_0x648e4a([0x73,0x6f,0x6d,0x65])](_0x4799d7=>_0x52b824[_0x648e4a([0x65,0x76,0x65,0x72,0x79])]((_0x551675,_0x19f7ec)=>_0x4799d7[_0x19f7ec]===_0x551675||_0x4799d7[_0x19f7ec]===_0x648e4a([0x2a])));}function _0x4425d8(){return _0x1016ba&&_0x106c81?new window[(_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a107,_0x4f92e7)=>{_0x1016ba[_0x648e4a([0x74,0x68,0x65,0x6e])](_0x54a107,_0x4f92e7),_0x106c81[_0x648e4a([0x74,0x68,0x65,0x6e])](_0x4c8095=>{_0x4c8095!=_0x648e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x54a107(_0x4c8095);},_0x4f92e7);}):_0x1016ba||_0x106c81||_0x648e4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38e829(_0x3ee86a,_0x4c58e4){return new window[(_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8568e9=>{if(_0x26128d())return _0x8568e9(_0x648e4a([0x56,0x61,0x6c,0x69,0x64]));_0x44006a(),_0x2c4d46[_0x648e4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x648e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x558fff=!0x1;const _0x24d4af=_0x31c75c['uid']();function _0x436986(_0xf9797a){return!!_0xf9797a&&(typeof _0xf9797a===_0x648e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf9797a===_0x648e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf9797a[_0x648e4a([0x74,0x68,0x65,0x6e])]===_0x648e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf9797a[_0x648e4a([0x63,0x61,0x74,0x63,0x68])]===_0x648e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31fb92(_0x2af45f){_0x4532f2(_0x2af45f)[_0x648e4a([0x74,0x68,0x65,0x6e])](_0x347f17=>{if(!_0x347f17||_0x347f17[_0x648e4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x648e4a([0x6f,0x6b]))return _0x648e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x91f020(_0x5964c0(_0x24d4af+_0x4c58e4))!=_0x347f17[_0x648e4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x648e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x648e4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x648e4a([0x74,0x68,0x65,0x6e])](_0x3e51ad=>(_0x478d69(),_0x3e51ad),()=>{const _0x13c264=_0x222276();return null==_0x13c264?(_0x478d69(),_0x648e4a([0x56,0x61,0x6c,0x69,0x64])):_0x648e4a(_0x1473d6-_0x13c264>(0x4f9781fd^_0x502149)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x648e4a([0x74,0x68,0x65,0x6e])](_0x8568e9)[_0x648e4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8568e9(_0x648e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x546b4d=0x6badeb7d^_0x502149;function _0x478d69(){const _0x104e3b=_0x648e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x91f020(_0x5964c0(_0x3ee86a)),_0x4960d7=_0x5584ee(_0x91f020(window[_0x648e4a([0x4d,0x61,0x74,0x68])][_0x648e4a([0x63,0x65,0x69,0x6c])](_0x1473d6/_0x546b4d)));window[_0x648e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x648e4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x104e3b,_0x4960d7);}function _0x222276(){const _0x373fba=_0x648e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x91f020(_0x5964c0(_0x3ee86a)),_0x37d1f4=window[_0x648e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x648e4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x373fba);return _0x37d1f4?window[_0x648e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5584ee(_0x37d1f4),0x10)*_0x546b4d:null;}function _0x4532f2(_0x12acf6){return new window[(_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x388b71,_0x5a72ef)=>{_0x12acf6[_0x648e4a([0x74,0x68,0x65,0x6e])](_0x388b71,_0x5a72ef),window[_0x648e4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a72ef,0x6b9ad13d^_0x502149);});}}_0x2c4d46[_0x648e4a([0x6f,0x6e])](_0x648e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x31af8c,_0xa4b57a)=>{if(_0xa4b57a[0x0]!=_0x3ee86a)return _0x8568e9(_0x648e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa4b57a[0x1]={..._0xa4b57a[0x1],[_0x648e4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24d4af};},{[_0x648e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x648e4a([0x68,0x69,0x67,0x68])}),_0x2c4d46[_0x648e4a([0x6f,0x6e])](_0x648e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3061e0=>{_0x436986(_0x3061e0[_0x648e4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x558fff=!0x0,_0x31fb92(_0x3061e0[_0x648e4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x648e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x648e4a([0x6c,0x6f,0x77])}),_0x3a3549[_0x648e4a([0x74,0x68,0x65,0x6e])](()=>{_0x558fff||_0x8568e9(_0x648e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26128d(){return _0x2c4d46[_0x648e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x648e4a([0x76,0x69,0x65,0x77])][_0x648e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x648e4a([0x61,0x75,0x74,0x6f]);}function _0x44006a(){_0x2c4d46[_0x648e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x648e4a([0x76,0x69,0x65,0x77])][_0x648e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x648e4a([0x61,0x75,0x74,0x6f]);}}function _0x3e0a71(_0x5e7870){const _0x3dd283=[new window[(_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43b267=>setTimeout(_0x43b267,0x6b923b31^_0x502149)),_0x3a3549[_0x648e4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x215338=>{let _0x27c71f=0x0;_0x2c4d46[_0x648e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x648e4a([0x6f,0x6e])](_0x648e4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59bf0c,_0x2d82e3)=>{_0x2d82e3[0x0][_0x648e4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27c71f++,_0x27c71f==(0x6b9b0015^_0x502149)&&(_0x215338(),_0x59bf0c[_0x648e4a([0x6f,0x66,0x66])]());});}))];return window[_0x648e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x648e4a([0x72,0x61,0x63,0x65])](_0x3dd283)[_0x648e4a([0x74,0x68,0x65,0x6e])](()=>_0x5e7870);}async function _0x2f2a17(){await _0x3a3549,_0x2c4d46[_0x648e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x648e4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33e51c,_0x2c4d46[_0x648e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x648e4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33e51c,_0x2c4d46[_0x648e4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x648e4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27d814(){return window[_0x648e4a([0x67,0x6c,0x6f,0x62])]&&window[_0x648e4a([0x67,0x6c,0x6f,0x62])][_0x648e4a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x506029(_0xbd7e8b){const _0x3f6bf4=_0x1e7eeb();_0x2c4d46[_0x3f6bf4]=_0x648e4a([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbd7e8b,_0xbd7e8b!=_0x648e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x2f2a17();}function _0x1e7eeb(){const _0x270a48=window[_0x648e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x648e4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x648e4a([0x6e,0x6f,0x77])]())[_0x648e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x648e4a([0x2e]),'');let _0x579157=_0x648e4a([0x6d]);for(let _0x1144b3=0x0;_0x1144b3<_0x270a48[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1144b3+=0x2){let _0x4f7af0=window[_0x648e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x270a48[_0x648e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1144b3,_0x1144b3+0x2));_0x4f7af0>=_0xc8c321[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f7af0-=_0xc8c321[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x579157+=_0xc8c321[_0x4f7af0];}return _0x579157;}function _0x316d38(){const _0x2d120e=_0x68a7d8[_0x648e4a([0x73,0x70,0x6c,0x69,0x74])](_0x648e4a([0x2e]));if(0x3!=_0x2d120e[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe7dca1(_0x2d120e[0x1]);function _0xe7dca1(_0x2ddbb9){const _0x54d376=_0x5b0c3e(_0x2ddbb9);return _0x54d376&&_0x2be522()?_0x54d376:null;function _0x2be522(){const _0x2aac08=_0x54d376[_0x648e4a([0x6a,0x74,0x69])],_0x11a1d3=window[_0x648e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aac08[_0x648e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2aac08[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b53bb={..._0x54d376,[_0x648e4a([0x6a,0x74,0x69])]:_0x2aac08[_0x648e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2aac08[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b53bb[_0x648e4a([0x76,0x63])],_0x5964c0(_0x4b53bb)==_0x11a1d3;}}}async function _0x115fd1(){let _0x29b0ba=!0x0;try{const _0x5112ff=_0x68a7d8[_0x648e4a([0x73,0x70,0x6c,0x69,0x74])](_0x648e4a([0x2e])),[_0x5a815e,_0x281d61,_0x23ecfc]=_0x5112ff;return _0x2d1443(_0x5a815e),await _0x24c7c2(_0x5a815e,_0x281d61,_0x23ecfc),_0x29b0ba;}catch{return!0x1;}function _0x2d1443(_0xd0f8e8){const _0x4db0e5=_0x5b0c3e(_0xd0f8e8);_0x4db0e5&&_0x4db0e5[_0x648e4a([0x61,0x6c,0x67])]==_0x648e4a([0x45,0x53,0x32,0x35,0x36])||(_0x29b0ba=!0x1);}async function _0x24c7c2(_0x2c3ce3,_0x11751f,_0x3c5f56){const _0x1fec31=window[_0x648e4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x648e4a([0x66,0x72,0x6f,0x6d])](_0x41282b(_0x3c5f56),_0xb8692d=>_0xb8692d[_0x648e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x213242=new window[(_0x648e4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x648e4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c3ce3+_0x648e4a([0x2e])+_0x11751f),_0x2d9e6d=window[_0x648e4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x648e4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d9e6d)return;const _0x8ed00f=await _0x2d9e6d[_0x648e4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x648e4a([0x6a,0x77,0x6b]),_0x3a8a74,{[_0x648e4a([0x6e,0x61,0x6d,0x65])]:_0x648e4a([0x45,0x43,0x44,0x53,0x41]),[_0x648e4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x648e4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x648e4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d9e6d[_0x648e4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x648e4a([0x6e,0x61,0x6d,0x65])]:_0x648e4a([0x45,0x43,0x44,0x53,0x41]),[_0x648e4a([0x68,0x61,0x73,0x68])]:{[_0x648e4a([0x6e,0x61,0x6d,0x65])]:_0x648e4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8ed00f,_0x1fec31,_0x213242)||(_0x29b0ba=!0x1);}}function _0x5b0c3e(_0x2a0d35){return _0x2a0d35[_0x648e4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x648e4a([0x65,0x79]))?JSON[_0x648e4a([0x70,0x61,0x72,0x73,0x65])](_0x41282b(_0x2a0d35)):null;}function _0x41282b(_0x1dc536){return window[_0x648e4a([0x61,0x74,0x6f,0x62])](_0x1dc536[_0x648e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x648e4a([0x2b]))[_0x648e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x648e4a([0x2f])));}function _0x5964c0(_0x1950eb){let _0x507d4b=0x1505;function _0x4582e3(_0x5e1f30){for(let _0x2e94f6=0x0;_0x2e94f6<_0x5e1f30[_0x648e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e94f6++){const _0x2e0a4b=_0x5e1f30[_0x648e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e94f6);_0x507d4b=(_0x507d4b<<0x5)+_0x507d4b+_0x2e0a4b,_0x507d4b&=_0x507d4b;}}function _0x42b39f(_0x525bac){Array[_0x648e4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x525bac)?_0x525bac[_0x648e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42b39f):_0x525bac&&typeof _0x525bac==_0x648e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x648e4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x525bac)[_0x648e4a([0x73,0x6f,0x72,0x74])]()[_0x648e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42564b,_0xb35c9])=>{_0x4582e3(_0x42564b),_0x42b39f(_0xb35c9);}):_0x4582e3(window[_0x648e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x525bac));}return _0x42b39f(_0x1950eb),_0x507d4b>>>0x0;}function _0x91f020(_0x5dcc1c){return _0x5dcc1c[_0x648e4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x648e4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x648e4a([0x30]));}function _0x5584ee(_0x190a74){return _0x190a74[_0x648e4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x648e4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x648e4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x33e51c(){}function _0x648e4a(_0x116eda){return _0x116eda['map'](_0x2f4e45=>String['fromCharCode'](_0x2f4e45))['join']('');}_0x506029(await _0x192353());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x3ea9c0=>{'$graveyard'!==_0x3ea9c0['rootName']&&this['editor']['editing']['reconvertItem'](_0x3ea9c0);});}['_trackNewToCElements'](){for(const _0x4fe35f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4fe35f['type']||'tableOfContents'!==_0x4fe35f['name'])return;this['_tableOfContentsElements']['add'](_0x4fe35f['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x5f1aeb){const _0x20e2ee=this['editor'],_0x141f28=[];for(const _0x48e86e of _0x20e2ee['model']['document']['getRootNames']())_0x528245(_0x20e2ee['model']['document']['getRoot'](_0x48e86e));function _0x528245(_0x1f157e){for(const _0xf18e85 of _0x1f157e['getChildren']())_0xf18e85['is']('element')&&(_0x5f1aeb['includes'](_0xf18e85['name'])&&_0x141f28['push']({'level':_0x5f1aeb['indexOf'](_0xf18e85['name'])+0x1,'text':_0x333912(_0xf18e85),'modelElement':_0xf18e85}),_0x528245(_0xf18e85));}return _0x141f28;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x1e294a=this['editor']['conversion'];_0x1e294a['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1e294a['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x57abad,{writer:_0x2d1dde})=>this['_createTableOfContents'](_0x2d1dde,!0x0)}),_0x1e294a['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x89b1ee,{writer:_0x158898})=>{this['_tableOfContentsElements']['add'](_0x89b1ee);const _0x2c670c=this['_createTableOfContents'](_0x158898);return _0x31c75c['toWidget'](_0x2c670c,_0x158898,{'label':_0xed0693(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x15b5c3,_0x20c36d=!0x1){const {locale:_0x41b0c9}=this['editor'],_0x37c070=_0x15b5c3['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x20c36d&&{'data-table-of-contents-label':_0xed0693(_0x41b0c9,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x20c36d&&_0x15b5c3['insert'](_0x15b5c3['createPositionAt'](_0x37c070,'end'),_0x15b5c3['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x15b5c3['createText'](_0xed0693(_0x41b0c9,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x76755=_0x20c36d?'':'['+_0xed0693(_0x41b0c9,'Empty\x20heading')+']';let _0x2149f4=_0x37c070;return this['_currentOutlineDefinitions']['forEach']((_0x4dda87,_0x22a4e0,_0xfb7024)=>{const _0x278b1f=this['editor']['model']['hasContent'](_0x4dda87['modelElement'],{'ignoreWhitespaces':!0x0}),_0xc7757c=_0x278b1f?_0x4dda87['text']:_0x76755,_0x1adb43=_0x4dda87['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2ea8c5=_0x15b5c3['createContainerElement']('a',{'href':'#'+_0x1adb43,...!_0x20c36d&&{'tabindex':'-1'}},[_0x15b5c3['createText'](_0xc7757c)]),_0x51a24f=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x15b5c3['setCustomProperty']('tableOfContentsHeadingIndex',_0x22a4e0,_0x2ea8c5);const _0x17f7dd=_0x15b5c3['createContainerElement']('li',null,[_0x278b1f||!_0x20c36d&&_0x51a24f?_0x2ea8c5:_0x15b5c3['createText']('')]),_0x497efe=_0x22a4e0?_0xfb7024[_0x22a4e0-0x1]['level']:0x0,_0x1fe74c=Math['abs'](_0x4dda87['level']-_0x497efe);if(_0x4dda87['level']>_0x497efe){const _0x4020ce=_0x504ec8(_0x17f7dd,_0x1fe74c,_0x15b5c3);_0x15b5c3['insert'](_0x15b5c3['createPositionAt'](_0x2149f4,'end'),_0x4020ce);}else{const _0x11c41a=function(_0x178900,_0x2cd0e1){return _0x178900['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x2edf67=>_0x2edf67['is']('element','ol'))[_0x2cd0e1];}(_0x2149f4,_0x1fe74c);_0x15b5c3['insert'](_0x15b5c3['createPositionAt'](_0x11c41a,'end'),_0x17f7dd);}_0x2149f4=_0x17f7dd;}),_0x37c070;}['_handleScrollToHeading'](_0x395cc8){const _0xba4e62=this['_currentOutlineDefinitions'][_0x395cc8]['modelElement'];this['editor']['model']['change'](_0x17d266=>{_0x17d266['setSelection'](_0xba4e62,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x6ccbb8,_0x111420)=>{const _0x4299a3=_0x111420['mapper'],_0x493585=_0x4299a3['findMappedViewAncestor'](_0x111420['viewPosition']),_0x1c991a=_0x4299a3['toModelElement'](_0x493585);_0x1c991a['is']('element','tableOfContents')&&(_0x111420['modelPosition']=this['editor']['model']['createPositionAt'](_0x1c991a,0x0),_0x6ccbb8['stop']());};}}function _0x504ec8(_0x13ab9e,_0xd7b982,_0x8ac45c){return 0x1===_0xd7b982?_0x8ac45c['createContainerElement']('ol',null,[_0x13ab9e]):_0x8ac45c['createContainerElement']('ol',null,[_0x8ac45c['createContainerElement']('li',null,[_0x504ec8(_0x13ab9e,_0xd7b982-0x1,_0x8ac45c)])]);}class TableOfContentsUI extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1109e2=this['editor'];_0x1109e2['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x3cebc4=this['_createButton'](_0x31c75c['ButtonView']);return _0x3cebc4['tooltip']=!0x0,_0x3cebc4;}),_0x1109e2['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x31c75c['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x386fdb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a3f46;for(const _0x1caca5 in _0x386fdb){const _0x3aac8f=_0x1caca5,_0x47b28d=_0x386fdb[_0x3aac8f];if('tableOfContentsLicenseKeyValid'==_0x47b28d||'tableOfContentsLicenseKeyInvalid'==_0x47b28d||'tableOfContentsLicenseKeyExpired'==_0x47b28d||'tableOfContentsLicenseKeyDomainLimit'==_0x47b28d||'tableOfContentsLicenseKeyNotAllowed'==_0x47b28d||'tableOfContentsLicenseKeyEvaluationLimit'==_0x47b28d||'tableOfContentsLicenseKeyUsageLimit'==_0x47b28d){delete _0x386fdb[_0x3aac8f],_0x3a3f46=_0x47b28d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3a3f46&&_0x386fdb['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3a3f46&&_0x386fdb['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3a3f46&&_0x386fdb['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3a3f46&&_0x386fdb['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3a3f46&&_0x386fdb['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3a3f46&&_0x386fdb['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x5cdaa6){const _0x4cb099=this['editor'],_0x45fec8=_0x4cb099['locale'],_0x2be2f3=_0x4cb099['commands']['get']('insertTableOfContents'),_0x556b49=new _0x5cdaa6(_0x45fec8);return _0x556b49['set']({'label':_0xed0693(_0x45fec8,'Table\x20of\x20contents'),'icon':_0x31c75c['IconTableOfContents']}),_0x556b49['bind']('isEnabled')['to'](_0x2be2f3,'isEnabled'),this['listenTo'](_0x556b49,'execute',()=>{_0x4cb099['execute']('insertTableOfContents'),_0x4cb099['editing']['view']['focus']();}),_0x556b49;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x31c75c['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x578845='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x31c75c['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xcd93b7){super(_0xcd93b7),_0xcd93b7['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x40d720){const _0x48c025=_0x5aeefe([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x5ba632=0x7780c648,_0x211130=0x77874c20^_0x5ba632,_0x3e7ed2=window[_0x5aeefe([0x44,0x61,0x74,0x65])][_0x5aeefe([0x6e,0x6f,0x77])](),_0x54a8ce=_0x40d720[_0x5aeefe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d281e=new window[(_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x367f84=>{_0x54a8ce[_0x5aeefe([0x6f,0x6e,0x63,0x65])](_0x5aeefe([0x72,0x65,0x61,0x64,0x79]),_0x367f84);}),_0x13adaa={[_0x5aeefe([0x6b,0x74,0x79])]:_0x5aeefe([0x45,0x43]),[_0x5aeefe([0x75,0x73,0x65])]:_0x5aeefe([0x73,0x69,0x67]),[_0x5aeefe([0x63,0x72,0x76])]:_0x5aeefe([0x50,0x2d,0x32,0x35,0x36]),[_0x5aeefe([0x78])]:_0x5aeefe([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5aeefe([0x79])]:_0x5aeefe([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5aeefe([0x61,0x6c,0x67])]:_0x5aeefe([0x45,0x53,0x32,0x35,0x36])},_0x2c9e89=_0x54a8ce[_0x5aeefe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5aeefe([0x67,0x65,0x74])](_0x5aeefe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a7133(){let _0x3b5dc6,_0x2e2422=null,_0x4c0894=null;try{if(_0x2c9e89==_0x5aeefe([0x47,0x50,0x4c]))return _0x5aeefe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b5dc6=_0x3b6a6e(),!_0x3b5dc6)return _0x5aeefe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b5dc6[_0x5aeefe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c0894=_0x22743a(_0x3b5dc6[_0x5aeefe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b5dc6[_0x5aeefe([0x6a,0x74,0x69])])),await _0x100726()?_0x5ac3e8()?_0x6d78f0()?_0x5aeefe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x230329()?(_0x3b5dc6[_0x5aeefe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aeefe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e2422=_0xfec151(_0x5aeefe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cd92a()):_0x5aeefe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5aeefe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5aeefe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5aeefe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6d78f0(){const _0x3f5b16=[_0x5aeefe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5aeefe([0x74,0x72,0x69,0x61,0x6c])][_0x5aeefe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5dc6[_0x5aeefe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e7ed2/0x3e8:0xe10*_0x211130;return _0x3b5dc6[_0x5aeefe([0x65,0x78,0x70])]<_0x3f5b16;}function _0x5ac3e8(){const _0x4bd628=_0x3b5dc6[_0x5aeefe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4bd628&&(!!_0x4bd628[_0x5aeefe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aeefe([0x2a]))||!!_0x4bd628[_0x5aeefe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aeefe([0x45,0x43,0x48])));}function _0x230329(){const _0x3abd43=_0x3b5dc6[_0x5aeefe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3abd43||0x0==_0x3abd43[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3697fb}=new URL(window[_0x5aeefe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3abd43[_0x5aeefe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3697fb))return!0x0;const _0xad9639=_0x3697fb[_0x5aeefe([0x73,0x70,0x6c,0x69,0x74])](_0x5aeefe([0x2e]));return _0x3abd43[_0x5aeefe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53d75f=>_0x53d75f[_0x5aeefe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aeefe([0x2a])))[_0x5aeefe([0x6d,0x61,0x70])](_0xceaca3=>_0xceaca3[_0x5aeefe([0x73,0x70,0x6c,0x69,0x74])](_0x5aeefe([0x2e])))[_0x5aeefe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x380442=>_0x380442[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xad9639[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5aeefe([0x6d,0x61,0x70])](_0x1051ff=>Array(_0xad9639[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1051ff[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5aeefe([0x66,0x69,0x6c,0x6c])](_0x1051ff[0x0]===_0x5aeefe([0x2a])?_0x5aeefe([0x2a]):'')[_0x5aeefe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1051ff))[_0x5aeefe([0x73,0x6f,0x6d,0x65])](_0xe15fdc=>_0xad9639[_0x5aeefe([0x65,0x76,0x65,0x72,0x79])]((_0x5abc7e,_0x171146)=>_0xe15fdc[_0x171146]===_0x5abc7e||_0xe15fdc[_0x171146]===_0x5aeefe([0x2a])));}function _0x2cd92a(){return _0x2e2422&&_0x4c0894?new window[(_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e8156,_0xd44d2c)=>{_0x2e2422[_0x5aeefe([0x74,0x68,0x65,0x6e])](_0x4e8156,_0xd44d2c),_0x4c0894[_0x5aeefe([0x74,0x68,0x65,0x6e])](_0x5ea813=>{_0x5ea813!=_0x5aeefe([0x56,0x61,0x6c,0x69,0x64])&&_0x4e8156(_0x5ea813);},_0xd44d2c);}):_0x2e2422||_0x4c0894||_0x5aeefe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22743a(_0x54602a,_0x39fc75){return new window[(_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17f1c3=>{if(_0x525cf4())return _0x17f1c3(_0x5aeefe([0x56,0x61,0x6c,0x69,0x64]));_0x2f0839(),_0x54a8ce[_0x5aeefe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5aeefe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1cf0c1=!0x1;const _0x4010db=_0x31c75c['uid']();function _0xd69ccb(_0x1fcd04){return!!_0x1fcd04&&(typeof _0x1fcd04===_0x5aeefe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fcd04===_0x5aeefe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fcd04[_0x5aeefe([0x74,0x68,0x65,0x6e])]===_0x5aeefe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fcd04[_0x5aeefe([0x63,0x61,0x74,0x63,0x68])]===_0x5aeefe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2635a9(_0x25f3e8){_0x58b234(_0x25f3e8)[_0x5aeefe([0x74,0x68,0x65,0x6e])](_0x5a7c40=>{if(!_0x5a7c40||_0x5a7c40[_0x5aeefe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5aeefe([0x6f,0x6b]))return _0x5aeefe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x536212(_0x50cbc7(_0x4010db+_0x39fc75))!=_0x5a7c40[_0x5aeefe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5aeefe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5aeefe([0x56,0x61,0x6c,0x69,0x64]);})[_0x5aeefe([0x74,0x68,0x65,0x6e])](_0x1533a6=>(_0x24a60f(),_0x1533a6),()=>{const _0x34c866=_0x5c5fbf();return null==_0x34c866?(_0x24a60f(),_0x5aeefe([0x56,0x61,0x6c,0x69,0x64])):_0x5aeefe(_0x3e7ed2-_0x34c866>(0x538c4248^_0x5ba632)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5aeefe([0x74,0x68,0x65,0x6e])](_0x17f1c3)[_0x5aeefe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17f1c3(_0x5aeefe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30299e=0x77b628c8^_0x5ba632;function _0x24a60f(){const _0x599414=_0x5aeefe([0x6c,0x6c,0x63,0x74,0x2d])+_0x536212(_0x50cbc7(_0x54602a)),_0x59e890=_0x12b481(_0x536212(window[_0x5aeefe([0x4d,0x61,0x74,0x68])][_0x5aeefe([0x63,0x65,0x69,0x6c])](_0x3e7ed2/_0x30299e)));window[_0x5aeefe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aeefe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x599414,_0x59e890);}function _0x5c5fbf(){const _0x1e91e7=_0x5aeefe([0x6c,0x6c,0x63,0x74,0x2d])+_0x536212(_0x50cbc7(_0x54602a)),_0x1602f6=window[_0x5aeefe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aeefe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e91e7);return _0x1602f6?window[_0x5aeefe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12b481(_0x1602f6),0x10)*_0x30299e:null;}function _0x58b234(_0x79de01){return new window[(_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ace91,_0x65405b)=>{_0x79de01[_0x5aeefe([0x74,0x68,0x65,0x6e])](_0x5ace91,_0x65405b),window[_0x5aeefe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x65405b,0x77811288^_0x5ba632);});}}_0x54a8ce[_0x5aeefe([0x6f,0x6e])](_0x5aeefe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ef0f7,_0x143427)=>{if(_0x143427[0x0]!=_0x54602a)return _0x17f1c3(_0x5aeefe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x143427[0x1]={..._0x143427[0x1],[_0x5aeefe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4010db};},{[_0x5aeefe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aeefe([0x68,0x69,0x67,0x68])}),_0x54a8ce[_0x5aeefe([0x6f,0x6e])](_0x5aeefe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x454bc8=>{_0xd69ccb(_0x454bc8[_0x5aeefe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1cf0c1=!0x0,_0x2635a9(_0x454bc8[_0x5aeefe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5aeefe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aeefe([0x6c,0x6f,0x77])}),_0x5d281e[_0x5aeefe([0x74,0x68,0x65,0x6e])](()=>{_0x1cf0c1||_0x17f1c3(_0x5aeefe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x525cf4(){return _0x54a8ce[_0x5aeefe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aeefe([0x76,0x69,0x65,0x77])][_0x5aeefe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5aeefe([0x61,0x75,0x74,0x6f]);}function _0x2f0839(){_0x54a8ce[_0x5aeefe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aeefe([0x76,0x69,0x65,0x77])][_0x5aeefe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5aeefe([0x61,0x75,0x74,0x6f]);}}function _0xfec151(_0x2b4eb1){const _0x55b473=[new window[(_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3365f7=>setTimeout(_0x3365f7,0x7789f884^_0x5ba632)),_0x5d281e[_0x5aeefe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519294=>{let _0x841094=0x0;_0x54a8ce[_0x5aeefe([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aeefe([0x6f,0x6e])](_0x5aeefe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f0c7c,_0x401559)=>{_0x401559[0x0][_0x5aeefe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x841094++,_0x841094==(0x7780c3a0^_0x5ba632)&&(_0x519294(),_0x1f0c7c[_0x5aeefe([0x6f,0x66,0x66])]());});}))];return window[_0x5aeefe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5aeefe([0x72,0x61,0x63,0x65])](_0x55b473)[_0x5aeefe([0x74,0x68,0x65,0x6e])](()=>_0x2b4eb1);}async function _0x87beb6(){await _0x5d281e,_0x54a8ce[_0x5aeefe([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aeefe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a272a,_0x54a8ce[_0x5aeefe([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aeefe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a272a,_0x54a8ce[_0x5aeefe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5aeefe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13d9bb(_0x2e6774){const _0x5e13f6=_0x3f42f8();_0x54a8ce[_0x5e13f6]=_0x5aeefe([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e6774,_0x2e6774!=_0x5aeefe([0x56,0x61,0x6c,0x69,0x64])&&_0x87beb6();}function _0x3f42f8(){const _0xf17411=window[_0x5aeefe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5aeefe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5aeefe([0x6e,0x6f,0x77])]())[_0x5aeefe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5aeefe([0x2e]),'');let _0xa55453=_0x5aeefe([0x75]);for(let _0x5ec74f=0x0;_0x5ec74f<_0xf17411[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ec74f+=0x2){let _0x4fc6ae=window[_0x5aeefe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf17411[_0x5aeefe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ec74f,_0x5ec74f+0x2));_0x4fc6ae>=_0x48c025[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fc6ae-=_0x48c025[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa55453+=_0x48c025[_0x4fc6ae];}return _0xa55453;}function _0x3b6a6e(){const _0x3d473b=_0x2c9e89[_0x5aeefe([0x73,0x70,0x6c,0x69,0x74])](_0x5aeefe([0x2e]));if(0x3!=_0x3d473b[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f7d37(_0x3d473b[0x1]);function _0x1f7d37(_0x756776){const _0x144a21=_0x251df8(_0x756776);return _0x144a21&&_0x5d807e()?_0x144a21:null;function _0x5d807e(){const _0x123155=_0x144a21[_0x5aeefe([0x6a,0x74,0x69])],_0x43399e=window[_0x5aeefe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123155[_0x5aeefe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x123155[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17bd8d={..._0x144a21,[_0x5aeefe([0x6a,0x74,0x69])]:_0x123155[_0x5aeefe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x123155[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17bd8d[_0x5aeefe([0x76,0x63])],_0x50cbc7(_0x17bd8d)==_0x43399e;}}}async function _0x100726(){let _0x2a96c0=!0x0;try{const _0x531dad=_0x2c9e89[_0x5aeefe([0x73,0x70,0x6c,0x69,0x74])](_0x5aeefe([0x2e])),[_0x74562,_0x471b4c,_0xd1eede]=_0x531dad;return _0x231281(_0x74562),await _0x30336c(_0x74562,_0x471b4c,_0xd1eede),_0x2a96c0;}catch{return!0x1;}function _0x231281(_0x2c4991){const _0x1058df=_0x251df8(_0x2c4991);_0x1058df&&_0x1058df[_0x5aeefe([0x61,0x6c,0x67])]==_0x5aeefe([0x45,0x53,0x32,0x35,0x36])||(_0x2a96c0=!0x1);}async function _0x30336c(_0x3f685d,_0x48ab32,_0x3e1334){const _0x3bb068=window[_0x5aeefe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5aeefe([0x66,0x72,0x6f,0x6d])](_0x553248(_0x3e1334),_0x2875ac=>_0x2875ac[_0x5aeefe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1290e0=new window[(_0x5aeefe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5aeefe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f685d+_0x5aeefe([0x2e])+_0x48ab32),_0x133c3d=window[_0x5aeefe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5aeefe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x133c3d)return;const _0x35a23e=await _0x133c3d[_0x5aeefe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5aeefe([0x6a,0x77,0x6b]),_0x13adaa,{[_0x5aeefe([0x6e,0x61,0x6d,0x65])]:_0x5aeefe([0x45,0x43,0x44,0x53,0x41]),[_0x5aeefe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5aeefe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5aeefe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x133c3d[_0x5aeefe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5aeefe([0x6e,0x61,0x6d,0x65])]:_0x5aeefe([0x45,0x43,0x44,0x53,0x41]),[_0x5aeefe([0x68,0x61,0x73,0x68])]:{[_0x5aeefe([0x6e,0x61,0x6d,0x65])]:_0x5aeefe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35a23e,_0x3bb068,_0x1290e0)||(_0x2a96c0=!0x1);}}function _0x251df8(_0x2bf901){return _0x2bf901[_0x5aeefe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5aeefe([0x65,0x79]))?JSON[_0x5aeefe([0x70,0x61,0x72,0x73,0x65])](_0x553248(_0x2bf901)):null;}function _0x553248(_0x42340b){return window[_0x5aeefe([0x61,0x74,0x6f,0x62])](_0x42340b[_0x5aeefe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5aeefe([0x2b]))[_0x5aeefe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5aeefe([0x2f])));}function _0x50cbc7(_0x2aa262){let _0x55922b=0x1505;function _0x3753a4(_0x2e4801){for(let _0x30699=0x0;_0x30699<_0x2e4801[_0x5aeefe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30699++){const _0x1b7b87=_0x2e4801[_0x5aeefe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30699);_0x55922b=(_0x55922b<<0x5)+_0x55922b+_0x1b7b87,_0x55922b&=_0x55922b;}}function _0x14c817(_0x1b5122){Array[_0x5aeefe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b5122)?_0x1b5122[_0x5aeefe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14c817):_0x1b5122&&typeof _0x1b5122==_0x5aeefe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5aeefe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b5122)[_0x5aeefe([0x73,0x6f,0x72,0x74])]()[_0x5aeefe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x11d5c0,_0x4fdb5f])=>{_0x3753a4(_0x11d5c0),_0x14c817(_0x4fdb5f);}):_0x3753a4(window[_0x5aeefe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b5122));}return _0x14c817(_0x2aa262),_0x55922b>>>0x0;}function _0x536212(_0x43d67d){return _0x43d67d[_0x5aeefe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5aeefe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5aeefe([0x30]));}function _0x12b481(_0x57b68d){return _0x57b68d[_0x5aeefe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5aeefe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5aeefe([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a272a(){}function _0x5aeefe(_0x19d706){return _0x19d706['map'](_0x4f1964=>String['fromCharCode'](_0x4f1964))['join']('');}_0x13d9bb(await _0x3a7133());}(this);}['_logSuppressibleWarning'](_0x1103ab,_0x509f5c){if(this['_isSuppressedLog'](_0x1103ab,_0x509f5c))return;const _0x27d12c=_0x578845+'/support/error-codes.html#error-'+_0x1103ab;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x1103ab,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x509f5c?[_0x509f5c]:[],'\x0aRead\x20more:\x20'+_0x27d12c);}['_logSuppressibleInfo'](_0x41a69a,_0x174915,_0x4c6744){if(this['_isSuppressedLog'](_0x41a69a))return;let _0x68a970=_0x174915;_0x4c6744&&(_0x68a970+='\x0aRead\x20more:\x20'+(_0x578845+'/'+_0x4c6744)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x41a69a,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x68a970);}['_checkUnsupportedPlugin'](_0x17b805,_0x1098f7){this['editor']['plugins']['has'](_0x17b805)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x17b805,..._0x1098f7});}['_validateConfigColorValue'](_0x4081ce){const _0x50db9f=this['editor']['config']['get'](_0x4081ce);if(!_0x50db9f)return;const _0x514ded=Array['isArray'](_0x50db9f),_0x5d519d=_0x514ded?_0x50db9f:[_0x50db9f];for(const [_0x45df1e,_0x4e4ca3]of _0x5d519d['entries']()){const _0x8b5fd0='string'==typeof _0x4e4ca3?_0x4e4ca3:_0x4e4ca3['color'];th(_0x8b5fd0)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x514ded?_0x4081ce+'['+_0x45df1e+']':_0x4081ce,'color':_0x8b5fd0});}}['_validateConfigColorFormat'](_0x141afa){const _0x13cfe6=this['editor']['config']['get'](_0x141afa);_0x13cfe6&&_0x3e2781(_0x13cfe6)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x141afa,'format':_0x13cfe6});}['_isSuppressedLog'](_0x3c3987,_0x1eef84){const _0x5094e1=this['editor']['config']['get']('email.logs');return!!_0x5094e1['suppressAll']||(!('function'!=typeof _0x5094e1['suppress']||!_0x5094e1['suppress'](_0x3c3987,_0x1eef84))||!(!Array['isArray'](_0x5094e1['suppress'])||!_0x5094e1['suppress']['includes'](_0x3c3987)));}}const _0x318840=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function th(_0x4da280){return!!_0x4da280&&_0x318840['some'](_0x3eb3c8=>_0x4da280['includes'](_0x3eb3c8+'('));}function _0x3e2781(_0x574a67){return!!_0x574a67&&_0x318840['includes'](_0x574a67);}class HighlightEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}var _0x2c7aff=function(_0x4fc613){var _0x338544,_0x54ae11,_0x2904bc=_0x4fc613,_0xc1228e={'a':0x0,'b':0x0,'c':0x0},_0x1338a5=[];return _0x338544=function(_0x7df5eb,_0x38014f){var _0xaa90bb,_0xc44b75,_0x1cce6c,_0x10ab46,_0x49c067,_0x228365;if(_0x7df5eb['test'](_0x2904bc)){for(_0xc44b75=0x0,_0x1cce6c=(_0xaa90bb=_0x2904bc['match'](_0x7df5eb))['length'];_0xc44b75<_0x1cce6c;_0xc44b75+=0x1)_0xc1228e[_0x38014f]+=0x1,_0x10ab46=_0xaa90bb[_0xc44b75],_0x49c067=_0x2904bc['indexOf'](_0x10ab46),_0x228365=_0x10ab46['length'],_0x1338a5['push']({'selector':_0x4fc613['substr'](_0x49c067,_0x228365),'type':_0x38014f,'index':_0x49c067,'length':_0x228365}),_0x2904bc=_0x2904bc['replace'](_0x10ab46,Array(_0x228365+0x1)['join']('\x20'));}},_0x54ae11=function(_0x373cc9){var _0x51146d,_0x192c91,_0x47ade3,_0x403be1;if(_0x373cc9['test'](_0x2904bc)){for(_0x192c91=0x0,_0x47ade3=(_0x51146d=_0x2904bc['match'](_0x373cc9))['length'];_0x192c91<_0x47ade3;_0x192c91+=0x1)_0x403be1=_0x51146d[_0x192c91],_0x2904bc=_0x2904bc['replace'](_0x403be1,Array(_0x403be1['length']+0x1)['join']('A'));}},_0x54ae11(/\\[0-9A-Fa-f]{6}\s?/g),_0x54ae11(/\\[0-9A-Fa-f]{1,5}\s/g),_0x54ae11(/\\./g),(function(){var _0x104376,_0x53da1e,_0x302acf,_0xe4b044,_0x4542ab=/{[^]*/gm;if(_0x4542ab['test'](_0x2904bc)){for(_0x53da1e=0x0,_0x302acf=(_0x104376=_0x2904bc['match'](_0x4542ab))['length'];_0x53da1e<_0x302acf;_0x53da1e+=0x1)_0xe4b044=_0x104376[_0x53da1e],_0x2904bc=_0x2904bc['replace'](_0xe4b044,Array(_0xe4b044['length']+0x1)['join']('\x20'));}}()),_0x338544(/(\[[^\]]+\])/g,'b'),_0x338544(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x338544(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x338544(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x338544(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x338544(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x2904bc=(_0x2904bc=(_0x2904bc=(_0x2904bc=(_0x2904bc=(_0x2904bc=_0x2904bc['replace'](/[\*\s\+>~]/g,'\x20'))['replace'](/[#\.]/g,'\x20'))['replace'](/:not/g,'\x20\x20\x20\x20'))['replace'](/:local/g,'\x20\x20\x20\x20\x20\x20'))['replace'](/:global/g,'\x20\x20\x20\x20\x20\x20\x20'))['replace'](/[\(\)]/g,'\x20'),_0x338544(/([^\s\+>~\.\[:]+)/g,'c'),_0x1338a5['sort'](function(_0x5b4705,_0x32c380){return _0x5b4705['index']-_0x32c380['index'];}),{'selector':_0x4fc613,'specificity':'0,'+_0xc1228e['a']['toString']()+','+_0xc1228e['b']['toString']()+','+_0xc1228e['c']['toString'](),'specificityArray':[0x0,_0xc1228e['a'],_0xc1228e['b'],_0xc1228e['c']],'parts':_0x1338a5};};function _0x274c83(_0x298670){const _0x2c6936=[];let _0x39022f='',_0x1aff0d=0x0;for(;_0x1aff0d<_0x298670['length'];){const _0x5b7d76=_0x298670[_0x1aff0d];if('('===_0x5b7d76){const _0x37ed87=_0x19a1ce(_0x298670,_0x1aff0d+0x1);if(-0x1===_0x37ed87)return[];_0x39022f+=_0x298670['slice'](_0x1aff0d,_0x37ed87+0x1),_0x1aff0d=_0x37ed87+0x1;}else','!==_0x5b7d76||_0x39022f['endsWith']('\x5c')?(_0x39022f+=_0x5b7d76,_0x1aff0d++):(_0x2c6936['push'](_0x39022f['trim']()),_0x39022f='',_0x1aff0d++);}return _0x39022f['trim']()&&_0x2c6936['push'](_0x39022f['trim']()),_0x2c6936['filter'](Boolean);}function _0x19a1ce(_0xa4d3b8,_0x2efe68){let _0x2bea05=0x1;for(let _0x21ff90=_0x2efe68;_0x21ff90<_0xa4d3b8['length'];_0x21ff90++){const _0x2d119a=_0xa4d3b8[_0x21ff90];if('('===_0x2d119a)_0x2bea05++;else{if(')'===_0x2d119a&&(_0x2bea05--,0x0===_0x2bea05))return _0x21ff90;}}return-0x1;}function _0x2d6d83(_0x1aad3d){return _0x1aad3d['replace'](/!\s*important/i,'')['trim']();}function _0x1b3e61(_0xefcbaa,_0x285b55){const _0x1b41de=new Map(),_0x3331f7=_0xce6408=>_0x1b41de['has'](_0xce6408)?_0x1b41de['get'](_0xce6408):_0xefcbaa(_0xce6408);for(const [_0x58bafc,_0x5c4ba2]of _0x285b55['getStylesEntries']())if(_0x5c4ba2&&_0x58bafc['startsWith']('--')){const _0x58137f=_0x2c0145(_0x3331f7,_0x5c4ba2);_0x1b41de['set'](_0x58bafc,_0x58137f),_0x285b55['remove'](_0x58bafc);}for(const [_0x4b7340,_0x26aee5]of _0x285b55['getStylesEntries']())if(_0x26aee5){const _0x32559b=_0x2c0145(_0x3331f7,_0x26aee5);_0x285b55['set'](_0x4b7340,_0x32559b);}return _0x1b41de;}function _0x2c0145(_0x51818f,_0x2a29aa){return function(_0x111ab6,_0x487059){let _0x8fe9ae='',_0xe754ba=0x0;for(;_0xe754ba<_0x111ab6['length'];){const _0x19a7ce=_0x111ab6['indexOf']('var(',_0xe754ba);if(-0x1===_0x19a7ce){_0x8fe9ae+=_0x111ab6['slice'](_0xe754ba);break;}_0x8fe9ae+=_0x111ab6['slice'](_0xe754ba,_0x19a7ce);const _0x57286e=_0x19a7ce+0x4,_0x5f1b08=_0x19a1ce(_0x111ab6,_0x57286e);_0x8fe9ae+=_0x487059(_0x111ab6['substring'](_0x57286e,_0x5f1b08)),_0xe754ba=_0x5f1b08+0x1;}return _0x8fe9ae;}(_0x2a29aa,_0x26a2de=>{const [_0x4d0fec,_0x16a34e]=_0x274c83(_0x26a2de),_0xc746d6=_0x51818f(_0x4d0fec);return void 0x0!==_0xc746d6?_0xc746d6:_0x16a34e?_0x2c0145(_0x51818f,_0x16a34e):'var('+_0x4d0fec+')';});}async function _0x561741(_0x3cc127){const _0x2bc229=[await _0x31c75c['collectStylesheets'](_0x3cc127['stylesheets']),_0x3cc127['inlineCss']]['filter'](_0x165317=>_0x165317&&_0x165317['length'])['join']('\x0a'),_0x56722c=await async function(_0x179a18,_0x4e9c23){const _0x125400=new CSSStyleSheet();return await _0x125400['replace'](_0x4e9c23),_0x7bc57f(Array['from'](_0x125400['cssRules'])['filter'](_0x388e00=>_0x388e00 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x11fea0,contentCssText:_0x4d9e96})=>{const _0x21173b=_0x274c83(_0x11fea0),_0x20d0c6=new _0x31c75c['StylesMap'](_0x179a18)['setTo'](_0x4d9e96);return _0x21173b['map'](_0x382ed0=>{const _0x2c851a=function(_0x2c0bab){const _0x300675=':where(';let _0x29f3c8=_0x2c0bab,_0x242e2f=0x0;for(let _0x19181b=0x0;_0x19181b<0x64;_0x19181b++){const _0x1a37d8=_0x29f3c8['indexOf'](_0x300675,_0x242e2f);if(-0x1===_0x1a37d8)break;let _0x521484=0x0;for(let _0x21f44c=0x0;_0x21f44c<_0x1a37d8;_0x21f44c++)'('===_0x29f3c8[_0x21f44c]?_0x521484++:')'===_0x29f3c8[_0x21f44c]&&_0x521484--;if(_0x521484>0x0){_0x242e2f=_0x1a37d8+_0x300675['length'];continue;}let _0x5eb9fb=-0x1;for(let _0x4d478d=_0x1a37d8+_0x300675['length'],_0xbae928=0x1;_0x4d478d<_0x29f3c8['length'];_0x4d478d++)if('('===_0x29f3c8[_0x4d478d]?_0xbae928++:')'===_0x29f3c8[_0x4d478d]&&_0xbae928--,!_0xbae928){_0x5eb9fb=_0x4d478d;break;}-0x1!==_0x5eb9fb?(_0x29f3c8=_0x29f3c8['slice'](0x0,_0x1a37d8)+_0x29f3c8['slice'](_0x5eb9fb+0x1),_0x242e2f=_0x1a37d8):_0x242e2f=_0x1a37d8+_0x300675['length'];}return _0x29f3c8['replace'](/\s+/g,'\x20')['trim']();}(_0x382ed0),_0x44197a=_0x2c851a?function(_0x46ccad){var _0x2151f6,_0x4b2de8,_0x471268,_0x48a9d4,_0xde5863=[];for(_0x471268=0x0,_0x48a9d4=(_0x2151f6=_0x46ccad['split'](','))['length'];_0x471268<_0x48a9d4;_0x471268+=0x1)(_0x4b2de8=_0x2151f6[_0x471268])['length']>0x0&&_0xde5863['push'](_0x2c7aff(_0x4b2de8));return _0xde5863;}(_0x2c851a)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x20d0c6,'flatSelector':_0x382ed0,'specificity':_0x44197a};});})['sort']((_0x32216e,_0x426af2)=>function(_0x1ee979,_0x3adbc5){var _0x4e927d,_0x55941d,_0x280dd8;if('string'==typeof _0x1ee979){if(-0x1!==_0x1ee979['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x4e927d=_0x2c7aff(_0x1ee979)['specificityArray'];}else{if(!Array['isArray'](_0x1ee979))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x1ee979['filter'](function(_0x380594){return'number'==typeof _0x380594;})['length'])throw'Invalid\x20specificity\x20array';_0x4e927d=_0x1ee979;}if('string'==typeof _0x3adbc5){if(-0x1!==_0x3adbc5['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x55941d=_0x2c7aff(_0x3adbc5)['specificityArray'];}else{if(!Array['isArray'](_0x3adbc5))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x3adbc5['filter'](function(_0x170d5d){return'number'==typeof _0x170d5d;})['length'])throw'Invalid\x20specificity\x20array';_0x55941d=_0x3adbc5;}for(_0x280dd8=0x0;_0x280dd8<0x4;_0x280dd8+=0x1){if(_0x4e927d[_0x280dd8]<_0x55941d[_0x280dd8])return-0x1;if(_0x4e927d[_0x280dd8]>_0x55941d[_0x280dd8])return 0x1;}return 0x0;}(_0x32216e['specificity'],_0x426af2['specificity']));}(_0x3cc127['stylesProcessor'],_0x2bc229),_0x2669a7=function(_0x278b29){const _0x172a66=new Map();for(const {stylesMap:_0x15e0dd,flatSelector:_0x68ceb9}of _0x278b29){if(':root'!==_0x68ceb9)continue;const _0x498b9d=_0x1b3e61(_0x172a66['get']['bind'](_0x172a66),_0x15e0dd);for(const [_0x634b0a,_0x4ce531]of _0x498b9d)_0x172a66['set'](_0x634b0a,_0x4ce531);}return _0x172a66;}(_0x56722c);return{'parsedCssRules':_0x56722c,'rootCssVariables':_0x2669a7};}function _0x7bc57f(_0x6b7461,_0x1cd88b=''){return _0x6b7461['flatMap'](_0x6dd895=>{const {selectorText:_0x3a56e9,cssText:_0x4cde46,cssRules:_0x39f484}=_0x6dd895;if(!_0x3a56e9)return[];const _0x473dc1=_0x3a56e9['replace'](/&/g,_0x1cd88b);let _0x165d9f=_0x4cde46['replace'](_0x3a56e9,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x39f484||!_0x39f484['length'])return[{'selectorText':_0x473dc1,'contentCssText':_0x165d9f}];for(const _0x11d25a of _0x39f484)_0x165d9f=_0x165d9f['replace'](_0x11d25a['cssText'],'')['trim']();return[{'selectorText':_0x473dc1,'contentCssText':_0x165d9f},..._0x7bc57f(Array['from'](_0x39f484),_0x473dc1)];});}function _0x33340a(_0x39ff7b,_0x18fd79){const _0x572a88=new _0x31c75c['StylesMap'](_0x39ff7b);for(const _0x1523bd of _0x18fd79){let _0x377169=null;if(_0x377169='string'==typeof _0x1523bd?new _0x31c75c['StylesMap'](_0x39ff7b)['setTo'](_0x1523bd):_0x1523bd,_0x377169){for(const [_0x9857f6,_0x50cc6d]of _0x377169['getStylesEntries']())_0x572a88['set'](_0x9857f6,_0x50cc6d);}}return _0x572a88;}class ExportInlineStylesCommand extends _0x31c75c['Command']{['_stylesProcessor'];constructor(_0x527118){super(_0x527118),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x31c75c['addMarginStylesRules'](this['_stylesProcessor']),_0x31c75c['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x525318){const _0x3ce5bc=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x162485}=this['editor']['locale'],{rootName:_0x49d045='main',dataControllerDowncastOptions:_0x33cacd={},transformations:_0x553cb2=_0x3ce5bc['transformations']||[]}=_0x525318||{};this['isBusy']=!0x0,this['refresh']();const _0x1441da=this['_getRootDataHTMLFragment'](_0x49d045,_0x33cacd),_0x4ce401=_0x31c75c['createElement'](_0x1441da['ownerDocument'],'div',{'dir':_0x162485,'class':'ck-content'},[_0x1441da]);return this['_collectAndApplyStyles'](_0x553cb2,_0x4ce401)['then'](()=>{const _0x3d8973=function(_0x3a0c50){const _0x2f202d=_0x3a0c50['ownerDocument']['createDocumentFragment']();for(;_0x3a0c50['firstChild'];)_0x2f202d['appendChild'](_0x3a0c50['firstChild']);return _0x2f202d;}(_0x4ce401),_0x467bf8=_0x4ce401['getAttribute']('style');if(_0x467bf8)for(const _0x3f3b1f of _0x3d8973['children']){const _0x554e87=_0x3f3b1f['getAttribute']('style'),_0x360248=_0x33340a(this['_stylesProcessor'],[_0x467bf8,_0x554e87]);_0x3f3b1f['setAttribute']('style',_0x4e4a82(_0x360248));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3d8973);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x30f75a,_0x4bf99f){const {data:_0x227a37,model:_0xd0e437}=this['editor'],_0x34ce14=_0xd0e437['document']['getRoot'](_0x30f75a),_0x25b20d=_0x227a37['toView'](_0x34ce14,_0x4bf99f);return _0x227a37['htmlProcessor']['domConverter']['viewToDom'](_0x25b20d);}async['_collectAndApplyStyles'](_0x1f339f,_0x5a804f){const {stylesheets:_0x4debbe,inlineCss:_0x39d53b,stripCssClasses:_0x5318f9}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x24d080,rootCssVariables:_0x2cbb68}=await _0x561741({'stylesheets':_0x4debbe||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x39d53b}),_0xa0876d=[];this['_processElementTree']({'transformations':_0x1f339f,'parsedCssRules':_0x24d080,'element':_0x5a804f,'stripCssClasses':_0x5318f9,'parentCSSVariablesLookup':_0x2cbb68['get']['bind'](_0x2cbb68),'runAfterDocumentTransformation':_0x67f840=>{_0xa0876d['unshift'](_0x67f840);}});for(const _0x24787e of _0xa0876d)_0x24787e();}['_processElementTree']({element:_0x5c7460,parsedCssRules:_0x34fc96,parentCSSVariablesLookup:_0xe09b04,runAfterDocumentTransformation:_0xab05f6,stripCssClasses:_0x4d8834,transformations:_0x3eefcc}){const {stylesMap:_0x3d00b0,localCSSVariables:_0x45818f}=function(_0x2c0d70){const _0x63cb5=_0x2c0d70['element']['getAttribute']('style')||'',_0x595f03=_0x2c0d70['parsedCssRules']['filter'](_0x41206f=>_0x2c0d70['element']['matches'](_0x41206f['flatSelector']))['map'](_0x589d1e=>_0x589d1e['stylesMap']),_0x2386f2=_0x33340a(_0x2c0d70['stylesProcessor'],[..._0x595f03,_0x63cb5]);return{'localCSSVariables':_0x1b3e61(_0x2c0d70['fallbackCSSVariablesLookup'],_0x2386f2),'stylesMap':_0x2386f2};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0xe09b04,'parsedCssRules':_0x34fc96,'element':_0x5c7460}),_0x19e9af=[];for(const _0x262e39 of _0x3eefcc){const _0x4cc152=_0x262e39(_0x5c7460,_0x3d00b0,{'runAfterDocumentTransformation':_0xab05f6,'runAfterChildrenTransformation':_0x726349=>{_0x19e9af['unshift'](_0x726349);}});_0x4cc152&&_0x4cc152 instanceof HTMLElement&&(_0x5c7460=_0x4cc152);}_0x3d00b0['size']?_0x5c7460['setAttribute']('style',_0x4e4a82(_0x3d00b0)):_0x5c7460['removeAttribute']('style');const _0x2f0801=_0x3af844=>_0x45818f['has'](_0x3af844)?_0x45818f['get'](_0x3af844):_0xe09b04(_0x3af844);for(const _0x30f184 of _0x5c7460['children'])_0x30f184 instanceof HTMLElement&&this['_processElementTree']({'element':_0x30f184,'parsedCssRules':_0x34fc96,'stripCssClasses':_0x4d8834,'transformations':_0x3eefcc,'parentCSSVariablesLookup':_0x2f0801,'runAfterDocumentTransformation':_0xab05f6});_0x4d8834&&_0x5c7460['removeAttribute']('class');for(const _0x4adab7 of _0x19e9af)_0x4adab7();}}function _0x4e4a82(_0x85577c){return _0x85577c['getStylesEntries']()['map'](_0x21a22c=>_0x21a22c['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new ExportInlineStylesCommand(this['editor']));}['afterInit'](){!async function(_0x1223c8){const _0x4af6ac=_0x21221f([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x2b539c=0x6f40c3fb,_0xebe9f9=0x6f474993^_0x2b539c,_0x4c835d=window[_0x21221f([0x44,0x61,0x74,0x65])][_0x21221f([0x6e,0x6f,0x77])](),_0x48ff22=_0x1223c8[_0x21221f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa531ce=new window[(_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e8bf7=>{_0x48ff22[_0x21221f([0x6f,0x6e,0x63,0x65])](_0x21221f([0x72,0x65,0x61,0x64,0x79]),_0x2e8bf7);}),_0x104bd8={[_0x21221f([0x6b,0x74,0x79])]:_0x21221f([0x45,0x43]),[_0x21221f([0x75,0x73,0x65])]:_0x21221f([0x73,0x69,0x67]),[_0x21221f([0x63,0x72,0x76])]:_0x21221f([0x50,0x2d,0x32,0x35,0x36]),[_0x21221f([0x78])]:_0x21221f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x21221f([0x79])]:_0x21221f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x21221f([0x61,0x6c,0x67])]:_0x21221f([0x45,0x53,0x32,0x35,0x36])},_0x16bcd8=_0x48ff22[_0x21221f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21221f([0x67,0x65,0x74])](_0x21221f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x425329(){let _0x24419b,_0x49ad2d=null,_0x241144=null;try{if(_0x16bcd8==_0x21221f([0x47,0x50,0x4c]))return _0x21221f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24419b=_0x3f5b36(),!_0x24419b)return _0x21221f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24419b[_0x21221f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x241144=_0x3aef9a(_0x24419b[_0x21221f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24419b[_0x21221f([0x6a,0x74,0x69])])),await _0x2eba4c()?_0x1bf704()?_0x44ca3b()?_0x21221f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x576159()?(_0x24419b[_0x21221f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21221f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49ad2d=_0x1b4fad(_0x21221f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x333f01()):_0x21221f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21221f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21221f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21221f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44ca3b(){const _0x5d438d=[_0x21221f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21221f([0x74,0x72,0x69,0x61,0x6c])][_0x21221f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24419b[_0x21221f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c835d/0x3e8:0xe10*_0xebe9f9;return _0x24419b[_0x21221f([0x65,0x78,0x70])]<_0x5d438d;}function _0x1bf704(){const _0x443e8d=_0x24419b[_0x21221f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x443e8d&&(!!_0x443e8d[_0x21221f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21221f([0x2a]))||!!_0x443e8d[_0x21221f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21221f([0x45,0x49,0x53])));}function _0x576159(){const _0x48fc74=_0x24419b[_0x21221f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48fc74||0x0==_0x48fc74[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x233006}=new URL(window[_0x21221f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48fc74[_0x21221f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x233006))return!0x0;const _0x1321cc=_0x233006[_0x21221f([0x73,0x70,0x6c,0x69,0x74])](_0x21221f([0x2e]));return _0x48fc74[_0x21221f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5854e2=>_0x5854e2[_0x21221f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21221f([0x2a])))[_0x21221f([0x6d,0x61,0x70])](_0x59bf2c=>_0x59bf2c[_0x21221f([0x73,0x70,0x6c,0x69,0x74])](_0x21221f([0x2e])))[_0x21221f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27c3a4=>_0x27c3a4[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1321cc[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21221f([0x6d,0x61,0x70])](_0x3305f5=>Array(_0x1321cc[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3305f5[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21221f([0x66,0x69,0x6c,0x6c])](_0x3305f5[0x0]===_0x21221f([0x2a])?_0x21221f([0x2a]):'')[_0x21221f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3305f5))[_0x21221f([0x73,0x6f,0x6d,0x65])](_0x3018a4=>_0x1321cc[_0x21221f([0x65,0x76,0x65,0x72,0x79])]((_0x5be6f3,_0x387333)=>_0x3018a4[_0x387333]===_0x5be6f3||_0x3018a4[_0x387333]===_0x21221f([0x2a])));}function _0x333f01(){return _0x49ad2d&&_0x241144?new window[(_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37ee0b,_0x1b9d1a)=>{_0x49ad2d[_0x21221f([0x74,0x68,0x65,0x6e])](_0x37ee0b,_0x1b9d1a),_0x241144[_0x21221f([0x74,0x68,0x65,0x6e])](_0x8c942d=>{_0x8c942d!=_0x21221f([0x56,0x61,0x6c,0x69,0x64])&&_0x37ee0b(_0x8c942d);},_0x1b9d1a);}):_0x49ad2d||_0x241144||_0x21221f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3aef9a(_0x48861d,_0x3105cf){return new window[(_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e964=>{if(_0x49df00())return _0x37e964(_0x21221f([0x56,0x61,0x6c,0x69,0x64]));_0x3d6623(),_0x48ff22[_0x21221f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21221f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2823e2=!0x1;const _0x46f25b=_0x31c75c['uid']();function _0x4ed6af(_0x54b813){return!!_0x54b813&&(typeof _0x54b813===_0x21221f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54b813===_0x21221f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54b813[_0x21221f([0x74,0x68,0x65,0x6e])]===_0x21221f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54b813[_0x21221f([0x63,0x61,0x74,0x63,0x68])]===_0x21221f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f26c4(_0x3f2011){_0x2b3f17(_0x3f2011)[_0x21221f([0x74,0x68,0x65,0x6e])](_0xce3276=>{if(!_0xce3276||_0xce3276[_0x21221f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21221f([0x6f,0x6b]))return _0x21221f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cca06(_0xa6c9d9(_0x46f25b+_0x3105cf))!=_0xce3276[_0x21221f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21221f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21221f([0x56,0x61,0x6c,0x69,0x64]);})[_0x21221f([0x74,0x68,0x65,0x6e])](_0x40ddce=>(_0x1c3a0e(),_0x40ddce),()=>{const _0x1b2508=_0x1abfa9();return null==_0x1b2508?(_0x1c3a0e(),_0x21221f([0x56,0x61,0x6c,0x69,0x64])):_0x21221f(_0x4c835d-_0x1b2508>(0x4b4c47fb^_0x2b539c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21221f([0x74,0x68,0x65,0x6e])](_0x37e964)[_0x21221f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37e964(_0x21221f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2078a4=0x6f762d7b^_0x2b539c;function _0x1c3a0e(){const _0x1f9889=_0x21221f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cca06(_0xa6c9d9(_0x48861d)),_0x210c0e=_0x5d1e3a(_0x2cca06(window[_0x21221f([0x4d,0x61,0x74,0x68])][_0x21221f([0x63,0x65,0x69,0x6c])](_0x4c835d/_0x2078a4)));window[_0x21221f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21221f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f9889,_0x210c0e);}function _0x1abfa9(){const _0x460b28=_0x21221f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cca06(_0xa6c9d9(_0x48861d)),_0x10f824=window[_0x21221f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21221f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x460b28);return _0x10f824?window[_0x21221f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d1e3a(_0x10f824),0x10)*_0x2078a4:null;}function _0x2b3f17(_0x12baee){return new window[(_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d4a32,_0x10f093)=>{_0x12baee[_0x21221f([0x74,0x68,0x65,0x6e])](_0x5d4a32,_0x10f093),window[_0x21221f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10f093,0x6f41173b^_0x2b539c);});}}_0x48ff22[_0x21221f([0x6f,0x6e])](_0x21221f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c62d5,_0x380f16)=>{if(_0x380f16[0x0]!=_0x48861d)return _0x37e964(_0x21221f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x380f16[0x1]={..._0x380f16[0x1],[_0x21221f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46f25b};},{[_0x21221f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21221f([0x68,0x69,0x67,0x68])}),_0x48ff22[_0x21221f([0x6f,0x6e])](_0x21221f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x236b01=>{_0x4ed6af(_0x236b01[_0x21221f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2823e2=!0x0,_0x3f26c4(_0x236b01[_0x21221f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21221f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21221f([0x6c,0x6f,0x77])}),_0xa531ce[_0x21221f([0x74,0x68,0x65,0x6e])](()=>{_0x2823e2||_0x37e964(_0x21221f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49df00(){return _0x48ff22[_0x21221f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21221f([0x76,0x69,0x65,0x77])][_0x21221f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21221f([0x61,0x75,0x74,0x6f]);}function _0x3d6623(){_0x48ff22[_0x21221f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21221f([0x76,0x69,0x65,0x77])][_0x21221f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21221f([0x61,0x75,0x74,0x6f]);}}function _0x1b4fad(_0x3e70c7){const _0x5f2e5f=[new window[(_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30dff8=>setTimeout(_0x30dff8,0x6f49fd37^_0x2b539c)),_0xa531ce[_0x21221f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53f887=>{let _0x5df964=0x0;_0x48ff22[_0x21221f([0x6d,0x6f,0x64,0x65,0x6c])][_0x21221f([0x6f,0x6e])](_0x21221f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42513f,_0x156c1a)=>{_0x156c1a[0x0][_0x21221f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5df964++,_0x5df964==(0x6f40c613^_0x2b539c)&&(_0x53f887(),_0x42513f[_0x21221f([0x6f,0x66,0x66])]());});}))];return window[_0x21221f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21221f([0x72,0x61,0x63,0x65])](_0x5f2e5f)[_0x21221f([0x74,0x68,0x65,0x6e])](()=>_0x3e70c7);}async function _0x42f811(){await _0xa531ce;const _0x4d81c2=_0x48ff22['commands'][_0x21221f([0x67,0x65,0x74])](_0x21221f([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x4d81c2&&_0x4d81c2[_0x21221f([0x6f,0x6e])](_0x21221f([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x33ec97=>{_0x33ec97['stop']();},{'priority':_0x21221f([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x48ff22[_0x21221f([0x6d,0x6f,0x64,0x65,0x6c])][_0x21221f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e7e9c,_0x48ff22[_0x21221f([0x6d,0x6f,0x64,0x65,0x6c])][_0x21221f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e7e9c,_0x48ff22[_0x21221f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21221f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11d330(_0x457ccb){const _0x49b182=_0x280b2f();_0x48ff22[_0x49b182]=_0x21221f([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x457ccb,_0x457ccb!=_0x21221f([0x56,0x61,0x6c,0x69,0x64])&&_0x42f811();}function _0x280b2f(){const _0x116156=window[_0x21221f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21221f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21221f([0x6e,0x6f,0x77])]())[_0x21221f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21221f([0x2e]),'');let _0x514c8d=_0x21221f([0x44]);for(let _0x179655=0x0;_0x179655<_0x116156[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x179655+=0x2){let _0x34e577=window[_0x21221f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x116156[_0x21221f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x179655,_0x179655+0x2));_0x34e577>=_0x4af6ac[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34e577-=_0x4af6ac[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x514c8d+=_0x4af6ac[_0x34e577];}return _0x514c8d;}function _0x3f5b36(){const _0x5e22c9=_0x16bcd8[_0x21221f([0x73,0x70,0x6c,0x69,0x74])](_0x21221f([0x2e]));if(0x3!=_0x5e22c9[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ef1f7(_0x5e22c9[0x1]);function _0x4ef1f7(_0x5a0ff1){const _0x5b9b1f=_0x2152fe(_0x5a0ff1);return _0x5b9b1f&&_0x43f09d()?_0x5b9b1f:null;function _0x43f09d(){const _0x139deb=_0x5b9b1f[_0x21221f([0x6a,0x74,0x69])],_0x28382d=window[_0x21221f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139deb[_0x21221f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x139deb[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x152054={..._0x5b9b1f,[_0x21221f([0x6a,0x74,0x69])]:_0x139deb[_0x21221f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x139deb[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x152054[_0x21221f([0x76,0x63])],_0xa6c9d9(_0x152054)==_0x28382d;}}}async function _0x2eba4c(){let _0x5914a3=!0x0;try{const _0x5ba710=_0x16bcd8[_0x21221f([0x73,0x70,0x6c,0x69,0x74])](_0x21221f([0x2e])),[_0x2a6a5b,_0x2a6f09,_0xb875c9]=_0x5ba710;return _0x5a465a(_0x2a6a5b),await _0x34026d(_0x2a6a5b,_0x2a6f09,_0xb875c9),_0x5914a3;}catch{return!0x1;}function _0x5a465a(_0x1a5361){const _0x20d30c=_0x2152fe(_0x1a5361);_0x20d30c&&_0x20d30c[_0x21221f([0x61,0x6c,0x67])]==_0x21221f([0x45,0x53,0x32,0x35,0x36])||(_0x5914a3=!0x1);}async function _0x34026d(_0x863c3c,_0x4a6a30,_0x3c8493){const _0xb74443=window[_0x21221f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21221f([0x66,0x72,0x6f,0x6d])](_0xe64c10(_0x3c8493),_0x23d009=>_0x23d009[_0x21221f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x118c87=new window[(_0x21221f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21221f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x863c3c+_0x21221f([0x2e])+_0x4a6a30),_0x1af763=window[_0x21221f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21221f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1af763)return;const _0x25a305=await _0x1af763[_0x21221f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21221f([0x6a,0x77,0x6b]),_0x104bd8,{[_0x21221f([0x6e,0x61,0x6d,0x65])]:_0x21221f([0x45,0x43,0x44,0x53,0x41]),[_0x21221f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21221f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21221f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1af763[_0x21221f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21221f([0x6e,0x61,0x6d,0x65])]:_0x21221f([0x45,0x43,0x44,0x53,0x41]),[_0x21221f([0x68,0x61,0x73,0x68])]:{[_0x21221f([0x6e,0x61,0x6d,0x65])]:_0x21221f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25a305,_0xb74443,_0x118c87)||(_0x5914a3=!0x1);}}function _0x2152fe(_0x1ae6c0){return _0x1ae6c0[_0x21221f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21221f([0x65,0x79]))?JSON[_0x21221f([0x70,0x61,0x72,0x73,0x65])](_0xe64c10(_0x1ae6c0)):null;}function _0xe64c10(_0x2b6a78){return window[_0x21221f([0x61,0x74,0x6f,0x62])](_0x2b6a78[_0x21221f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21221f([0x2b]))[_0x21221f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21221f([0x2f])));}function _0xa6c9d9(_0x183178){let _0x1d7078=0x1505;function _0x25e9f4(_0x148635){for(let _0x1cf570=0x0;_0x1cf570<_0x148635[_0x21221f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cf570++){const _0x5297fa=_0x148635[_0x21221f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cf570);_0x1d7078=(_0x1d7078<<0x5)+_0x1d7078+_0x5297fa,_0x1d7078&=_0x1d7078;}}function _0x3d38da(_0x3baa07){Array[_0x21221f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3baa07)?_0x3baa07[_0x21221f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d38da):_0x3baa07&&typeof _0x3baa07==_0x21221f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21221f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3baa07)[_0x21221f([0x73,0x6f,0x72,0x74])]()[_0x21221f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x583d61,_0x53f508])=>{_0x25e9f4(_0x583d61),_0x3d38da(_0x53f508);}):_0x25e9f4(window[_0x21221f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3baa07));}return _0x3d38da(_0x183178),_0x1d7078>>>0x0;}function _0x2cca06(_0xe07518){return _0xe07518[_0x21221f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21221f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21221f([0x30]));}function _0x5d1e3a(_0x465c10){return _0x465c10[_0x21221f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21221f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21221f([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e7e9c(){}function _0x21221f(_0x4d8485){return _0x4d8485['map'](_0x5350c5=>String['fromCharCode'](_0x5350c5))['join']('');}_0x11d330(await _0x425329());}(this);}}class ExportInlineStyles extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x194197=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xaac822;for(const _0x8c6c65 in _0x194197){const _0x8a9cc8=_0x8c6c65,_0xa88e6b=_0x194197[_0x8a9cc8];if('exportInlineStylesLicenseKeyValid'==_0xa88e6b||'exportInlineStylesLicenseKeyInvalid'==_0xa88e6b||'exportInlineStylesLicenseKeyExpired'==_0xa88e6b||'exportInlineStylesLicenseKeyDomainLimit'==_0xa88e6b||'exportInlineStylesLicenseKeyNotAllowed'==_0xa88e6b||'exportInlineStylesLicenseKeyEvaluationLimit'==_0xa88e6b||'exportInlineStylesLicenseKeyUsageLimit'==_0xa88e6b){delete _0x194197[_0x8a9cc8],_0xaac822=_0xa88e6b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0xaac822&&_0x194197['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0xaac822&&_0x194197['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0xaac822&&_0x194197['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0xaac822&&_0x194197['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0xaac822&&_0x194197['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0xaac822&&_0x194197['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x3b22cd(_0x195117,_0xfa13bc){const _0x98b5a2=_0x195117['ownerDocument'],{table:_0x5b5f23,cell:_0x65cad6}=_0x4a7367(_0x98b5a2,'100%');_0xfa13bc['align']&&_0x65cad6['setAttribute']('align',_0x2d6d83(_0xfa13bc['align']));let _0x1b2c08=_0x65cad6;if(_0xfa13bc['width']){const {table:_0x3e6522,cell:_0x327dc8}=_0x4a7367(_0x98b5a2,_0x2d6d83(_0xfa13bc['width']));_0x65cad6['appendChild'](_0x3e6522),_0x1b2c08=_0x327dc8;}return _0x195117['replaceWith'](_0x5b5f23),_0x195117['removeAttribute']('align'),_0x195117['removeAttribute']('width'),_0x1b2c08['appendChild'](_0x195117),_0x1b2c08;}function _0x4a7367(_0x293357,_0x1b29df){const _0x124bc6=_0x293357['createElement']('table');_0x1b29df&&(_0x124bc6['style']['width']=_0x1b29df,_0x124bc6['setAttribute']('width',_0x57eab3(_0x1b29df))),_0x124bc6['setAttribute']('cellpadding','0'),_0x124bc6['setAttribute']('cellspacing','0'),_0x124bc6['setAttribute']('border','0'),_0x124bc6['setAttribute']('role','presentation');const _0x46d9ec=_0x293357['createElement']('tbody'),_0x395d88=_0x293357['createElement']('tr'),_0x3ba34a=_0x293357['createElement']('td');return _0x124bc6['appendChild'](_0x46d9ec),_0x46d9ec['appendChild'](_0x395d88),_0x395d88['appendChild'](_0x3ba34a),{'table':_0x124bc6,'cell':_0x3ba34a};}function _0x3478fc(_0x41ab64){const _0x294df9=_0x41ab64['getAsString']('margin-left'),_0x166f7d=_0x41ab64['getAsString']('margin-right'),_0x3b9173=_0x294df9&&_0x2d6d83(_0x294df9),_0x47351f=_0x166f7d&&_0x2d6d83(_0x166f7d);return'auto'===_0x3b9173&&'auto'===_0x47351f?'center':'auto'===_0x3b9173?'right':'auto'===_0x47351f?'left':void 0x0;}function _0x4ef8b6(_0x230d0d,_0xff97f9){const _0x2eaa92=_0x230d0d['ownerDocument']['createElement'](_0xff97f9);for(const _0x101bde of Array['from'](_0x230d0d['attributes']))_0x2eaa92['setAttribute'](_0x101bde['name'],_0x101bde['value']);for(;_0x230d0d['firstChild'];)_0x2eaa92['appendChild'](_0x230d0d['firstChild']);return _0x2eaa92;}function _0x4811db(_0x20a16a){if('TABLE'!==_0x20a16a['tagName'])return!0x1;if('presentation'!==_0x20a16a['getAttribute']('role'))return!0x1;const _0x1e4505=_0xbe9b73(_0x20a16a);return null!==_0x1e4505&&_0x1e4505['hasAttribute']('align');}function _0xbe9b73(_0x4cd5f4){let _0x4c0f08=_0x4cd5f4;0x1===_0x4cd5f4['children']['length']&&'TBODY'===_0x4cd5f4['children'][0x0]['tagName']&&(_0x4c0f08=_0x4cd5f4['children'][0x0]);const _0x5dfdaa=_0x4c0f08['children'];if(0x1!==_0x5dfdaa['length']||'TR'!==_0x5dfdaa[0x0]['tagName'])return null;const _0x8b4d63=_0x5dfdaa[0x0]['children'];return 0x1!==_0x8b4d63['length']||'TD'!==_0x8b4d63[0x0]['tagName']?null:_0x8b4d63[0x0];}function _0x57eab3(_0x347a15){return function(_0x1d1ed4){if(_0x1d1ed4['endsWith']('px'))return _0x1d1ed4['slice'](0x0,-0x2);return _0x1d1ed4;}(_0x2d6d83(_0x347a15));}const _0x162950=(_0x4ba817,_0x27d153,{runAfterDocumentTransformation:_0x41e68f,runAfterChildrenTransformation:_0x4bbc5e})=>{if('FIGURE'!==_0x4ba817['tagName'])return;const _0x24c205=_0x27d153['getAsString']('float');if(_0x24c205){if(_0x1a66a2(_0x4ba817))_0x41e68f(()=>{const _0x5f24e3=_0x1a66a2(_0x4ba817);_0x5f24e3&&_0x230afa(_0x4ba817,_0x5f24e3,{'align':_0x24c205});});else{const {table:_0x222802,cell:_0x22752c}=_0x4a7367(_0x4ba817['ownerDocument']);_0x222802['setAttribute']('align',_0x2d6d83(_0x24c205)),_0x222802['setAttribute']('style',function(_0x541e30){return _0x541e30['getStylesEntries']()['map'](_0x41156b=>_0x41156b['join'](':'))['join'](';')+';';}(_0x27d153)),_0x4bbc5e(()=>{for(const _0x490270 of Array['from'](_0x4ba817['childNodes']))_0x22752c['appendChild'](_0x490270);}),_0x41e68f(()=>{_0x4ba817['replaceWith'](_0x222802);});}}else{const _0x5de916=_0x3478fc(_0x27d153),_0x3dc0a3=_0x27d153['getAsString']('width');if(!_0x5de916&&!_0x3dc0a3)return;_0x3b22cd(_0x4ba817,{'align':_0x5de916,'width':_0x3dc0a3}),_0x3dc0a3&&_0x27d153['set']('width','100%'),_0x27d153['remove']('margin-left'),_0x27d153['remove']('margin-right'),_0x27d153['remove']('min-width'),_0x27d153['remove']('max-width'),_0x41e68f(()=>{const _0x562ef7=_0x1a66a2(_0x4ba817);if(_0x562ef7)_0x230afa(_0x4ba817,_0x562ef7);else{const _0x38dc4a=_0x4ef8b6(_0x4ba817,'div');_0x4ba817['replaceWith'](_0x38dc4a);}});}};function _0x230afa(_0x4bc8cf,_0x289001,_0x20d054={}){for(const _0x24f414 of['id','class']){const _0x4aff01=_0x4bc8cf['getAttribute'](_0x24f414);_0x4aff01&&_0x289001['setAttribute'](_0x24f414,_0x4aff01);}for(const _0x16a8c6 of['display','float','width','height'])_0x289001['style']['removeProperty'](_0x16a8c6);const _0x3d42d1=_0x4bc8cf['getAttribute']('style');if(_0x3d42d1){const _0x14292c=_0x289001['getAttribute']('style')||'';_0x289001['setAttribute']('style',_0x3d42d1+_0x14292c);}_0x20d054['align']&&_0x289001['setAttribute']('align',_0x2d6d83(_0x20d054['align'])),_0x4bc8cf['replaceWith'](_0x289001);}function _0x1a66a2(_0x3ce127){const _0x5db9eb=Array['from'](_0x3ce127['children']);return 0x1===_0x5db9eb['length']&&'TABLE'===_0x5db9eb[0x0]['tagName']?_0x5db9eb[0x0]:null;}class ImageEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x5d1cb7,plugins:_0x8c2958}=this['editor'],_0x372609=_0x5d1cb7['get']('exportInlineStyles');if(_0x372609?.['transformations']?.['includes'](_0x162950))return;_0x8c2958['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class MathTypeEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x87602f=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x87602f['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x49758c=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x34e6b9=this['editor']['config']['get']('list');_0x34e6b9&&_0x34e6b9['properties']&&_0x34e6b9['properties']['reversed']&&_0x49758c['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x34e6b9&&_0x34e6b9['enableListItemMarkerFormatting']&&_0x49758c['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x5a390f}=this['editor'],_0x58ce8f=_0x5a390f['get'](EmailConfigurationLogger);_0x5a390f['has']('Table')&&(_0x5a390f['has']('PlainTableOutput')||_0x58ce8f['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x5a390f['has']('TableLayout')||_0x58ce8f['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x8b0e63,plugins:_0xf13016}=this['editor'];_0x8b0e63['get']('table')&&_0xf13016['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x5edd6e){const _0x207dc8=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x207dc8['_validateConfigColorValue']('table.'+_0x5edd6e+'.borderColors'),_0x207dc8['_validateConfigColorValue']('table.'+_0x5edd6e+'.backgroundColors'),_0x207dc8['_validateConfigColorValue']('table.'+_0x5edd6e+'.defaultProperties.borderColor'),_0x207dc8['_validateConfigColorValue']('table.'+_0x5edd6e+'.defaultProperties'),_0x207dc8['_validateConfigColorFormat']('table.'+_0x5edd6e+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x43dc23=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x43dc23['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class FontEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x1e2d69}=this['editor'];_0x1e2d69['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x1e2d69['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x12bcc1){const _0x404534=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x12bcc1)&&(_0x404534['_validateConfigColorValue'](_0x12bcc1+'.colors'),_0x404534['_validateConfigColorValue'](_0x12bcc1+'.documentColors'),_0x404534['_validateConfigColorFormat'](_0x12bcc1+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x19be27}=this['editor'],_0x1184ba=_0x19be27['get'](EmailConfigurationLogger);_0x19be27['has']('SourceEditing')||_0x19be27['has']('SourceEditingEnhanced')||_0x1184ba['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends _0x31c75c['Plugin']{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x193a18}=this['editor'];if(!_0x193a18['has']('DataFilter'))return;const _0x5cae29=_0x193a18['get']('DataFilter'),_0xb386af=_0x193a18['get'](EmailConfigurationLogger);for(const _0x4eaf92 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x5cae29['once']('register:'+_0x4eaf92,(_0x4d7766,_0x3b614d)=>{_0xb386af['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x3b614d['view']});});}}class MergeFieldsEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x523ec7=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x523ec7['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class TemplateEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x54657a=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x54657a['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class UploadEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends _0x31c75c['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x53a836,plugins:_0x1d11cd}=this['editor'],_0xbc3fd8=_0x1d11cd['get'](EmailConfigurationLogger),_0x4c1fe1=_0x53a836['get']('exportInlineStyles');_0x4c1fe1?.['transformations']?.['includes'](_0x162950)||_0xbc3fd8['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class EmailConfigurationHelper extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c988b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c6f90;for(const _0x386b16 in _0x2c988b){const _0xd28ae9=_0x386b16,_0x28b40c=_0x2c988b[_0xd28ae9];if('emailConfigurationHelperLicenseKeyValid'==_0x28b40c||'emailConfigurationHelperLicenseKeyInvalid'==_0x28b40c||'emailConfigurationHelperLicenseKeyExpired'==_0x28b40c||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x28b40c||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x28b40c||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x28b40c||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x28b40c){delete _0x2c988b[_0xd28ae9],_0x4c6f90=_0x28b40c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x4c6f90&&_0x2c988b['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x4c6f90&&_0x2c988b['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x4c6f90&&_0x2c988b['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x4c6f90&&_0x2c988b['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x4c6f90&&_0x2c988b['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x4c6f90&&_0x2c988b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const _0x471034=(_0x15af82,_0x1ba974)=>{if(!['TABLE','IMG']['includes'](_0x15af82['tagName']))return;const _0x325876=_0x1ba974['getAsString']('float');if(_0x325876){const _0x16c2fd=_0x2d6d83(_0x325876);'left'!==_0x16c2fd&&'right'!==_0x16c2fd||_0x15af82['setAttribute']('align',_0x16c2fd);}},_0x556066=(_0x5a12f1,_0x172e68)=>{if('TABLE'!==_0x5a12f1['tagName']||_0x172e68['has']('float'))return;const _0x46bada=_0x3478fc(_0x172e68),_0x2e5c01=_0x172e68['getAsString']('width');_0x46bada&&(_0x3b22cd(_0x5a12f1,{'align':_0x46bada}),_0x2e5c01?_0x5a12f1['setAttribute']('width',_0x57eab3(_0x2e5c01)):_0x172e68['remove']('width'),_0x172e68['remove']('margin-left'),_0x172e68['remove']('margin-right'));},_0x46a3cc=(_0x32493b,_0x36deb4)=>{if('IMG'!==_0x32493b['tagName'])return;const _0x5ba8bb=_0x36deb4['getAsString']('width');_0x5ba8bb&&(_0x32493b['setAttribute']('width',_0x57eab3(_0x5ba8bb)),_0x32493b['setAttribute']('height','auto'));},_0x283b0b=(_0x3a54df,_0x1da5da,{runAfterDocumentTransformation:_0x78cbfc})=>{if('FIGCAPTION'!==_0x3a54df['tagName'])return;const _0x170537=_0x1da5da['getAsString']('display'),_0x19caa3=_0x1da5da['getAsString']('caption-side');_0x1da5da['remove']('caption-side'),_0x170537&&'table-caption'===_0x2d6d83(_0x170537)&&_0x1da5da['remove']('display');const _0x3abc1e=_0x19caa3&&'top'===_0x2d6d83(_0x19caa3);_0x78cbfc(()=>{const _0x5ac6be=_0x4ef8b6(_0x3a54df,'div'),_0x460357=_0x3a54df['previousElementSibling'];_0x3abc1e&&_0x460357&&'TABLE'===_0x460357['tagName']?(_0x460357['before'](_0x5ac6be),_0x3a54df['remove']()):_0x3a54df['replaceWith'](_0x5ac6be);});},_0xf4789d=(_0x3674d1,_0x11e1d6,{runAfterChildrenTransformation:_0x3b5bb3})=>{'TD'===_0x3674d1['tagName']&&_0x3b5bb3(()=>{const _0x34583d=Array['from'](_0x3674d1['children']);if(0x0===_0x34583d['length'])return;const _0x589107=_0x34583d['map'](_0x2eb822),_0x1af7e3=_0x589107[0x0];if(_0x1af7e3&&_0x589107['every'](_0x5b349b=>_0x5b349b===_0x1af7e3)){_0x3674d1['setAttribute']('align',_0x1af7e3);for(const _0x212710 of _0x34583d)if(_0x4811db(_0x212710)){const _0x521daa=_0xbe9b73(_0x212710);_0x212710['replaceWith'](...Array['from'](_0x521daa['childNodes']));}else _0x212710['style']['removeProperty']('text-align'),_0x212710['style']['length']||_0x212710['removeAttribute']('style');}});};function _0x2eb822(_0x433d26){if(_0x4811db(_0x433d26))return _0xbe9b73(_0x433d26)['getAttribute']('align');return _0x433d26['style']['textAlign']||void 0x0;}function _0x171d3a(_0x3558ec,_0x53a8ae){const t=_0x3558ec['t'];switch(_0x53a8ae){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0x53a8ae;}}class ExportPdfCommand extends _0x31c75c['Command']{constructor(_0x577ef2){super(_0x577ef2),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0xd8d94d={}){const {editor:_0x208256}=this,_0x58b122=_0xd8d94d['version']||_0x208256['config']['get']('exportPdf.version'),_0x4691f1=_0xd8d94d['converterUrl']||function(_0x53f498){return 0x2===_0x53f498?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x58b122),_0x5ed290=_0xd8d94d['dataCallback']||(_0xe8fde9=>_0xe8fde9['data']['get']()),_0x322a13=_0x208256['plugins']['get']('ExportPdf'),_0x379963=_0xd8d94d['token']||_0x322a13['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x31c75c['collectStylesheets'](_0xd8d94d['stylesheets']||['EDITOR_STYLES'])['then'](async _0x5c579b=>{if(_0x208256['ui']['ariaLiveAnnouncer']['announce'](_0x171d3a(_0x208256['locale'],'PDF\x20export\x20started')),_0x208256['plugins']['has']('MergeFields')){_0xd8d94d['converterOptions']||(_0xd8d94d['converterOptions']={});const _0xae1534=_0x208256['plugins']['get']('MergeFieldsEditing'),_0x2674a4=_0xae1534['previewMode'],{prefix:_0x4d1d7c,suffix:_0x3bc585}=_0x208256['config']['get']('mergeFields'),_0x1f9795='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x8a9f05={'prefix':_0x4d1d7c,'suffix':_0x3bc585,'data':{}};if('$labels'===_0x2674a4){for(const _0x4d6892 of _0xae1534['getMergeFieldsIds']())'image'===_0xae1534['getMergeFieldType'](_0x4d6892)?_0x8a9f05['data'][_0x4d6892]=_0x1f9795:_0x8a9f05['data'][_0x4d6892]=_0xae1534['wrapInAffixes'](_0xae1534['getLabel'](_0x4d6892)||_0x4d6892);}else{const _0x4b151b='$defaultValues'===_0x2674a4?_0xae1534['getDefaultValues']():_0xae1534['getDataSetValues'](_0x2674a4,!0x0);for(const _0x28b44 of Object['entries'](_0x4b151b)){const [_0x3dbcf1,_0x38c96f]=_0x28b44;'image'===_0xae1534['getMergeFieldType'](_0x3dbcf1)?_0x8a9f05['data'][_0x3dbcf1]=null!==_0x38c96f?_0x38c96f:_0x1f9795:_0x8a9f05['data'][_0x3dbcf1]=null!==_0x38c96f?_0x38c96f:_0xae1534['getLabel'](_0x3dbcf1)||_0x3dbcf1;}}_0xd8d94d['converterOptions']['merge_fields']=_0x8a9f05;}const _0x1ab96d=0x2===_0x58b122?function(_0x1a614c){const _0x22337b=_0x1a614c?.['document']?.['margins'];return _0x240d16({'pageWidth':_0x3b3906(_0x1a614c?.['document']?.['size']||'A4'),'marginLeft':_0x22337b?.['left'],'marginRight':_0x22337b?.['right']});}(_0xd8d94d['converterOptions']):(_0x33a1b5=_0xd8d94d['converterOptions'],_0x240d16({'pageWidth':_0x3b3906(_0x33a1b5?.['format']||'A4'),'marginLeft':_0x33a1b5?.['margin_left'],'marginRight':_0x33a1b5?.['margin_right']}));var _0x33a1b5;const _0x2df5ef={'html':('\x0a\x09\x09\x09\x09\x09<!DOCTYPE\x20html>\x0a\x09\x09\x09\x09\x09<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x208256['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x1ab96d+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x5ed290(_0x208256)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>\x0a\x09\x09\x09\x09')['trim'](),'css':_0x5c579b,[0x2===_0x58b122?'config':'options']:_0xd8d94d['converterOptions']},_0x1759c6={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x379963?{'Authorization':_0x379963['value']}:null,'x-cs-app-id':_0xd8d94d['appID']||'cke5'},'body':JSON['stringify'](_0x2df5ef)};return window['fetch'](_0x4691f1,_0x1759c6)['then'](_0x3ca43d=>{if(0xc8!==_0x3ca43d['status'])throw _0x3ca43d;return _0x3ca43d['blob']();})['then'](_0x41d68c=>{_0x208256['ui']['ariaLiveAnnouncer']['announce'](_0x171d3a(_0x208256['locale'],'PDF\x20export\x20successful'));const _0x5ac4eb='function'==typeof _0xd8d94d['fileName']?_0xd8d94d['fileName']():_0xd8d94d['fileName'];this['_downloadFile'](_0x41d68c,_0x5ac4eb||'document.pdf');});})['catch'](_0x362517=>{const _0x138cd8=_0x208256['plugins']['get']('Notification');throw _0x208256['ui']['ariaLiveAnnouncer']['announce'](_0x171d3a(_0x208256['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x138cd8['showWarning'](_0x171d3a(_0x208256['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x362517;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x52d5f0,_0x363de3){const _0x1cff72=document['createElement']('a');_0x1cff72['href']=window['URL']['createObjectURL'](_0x52d5f0),_0x1cff72['download']=_0x363de3,_0x1cff72['click'](),_0x1cff72['remove']();}}function _0x240d16({pageWidth:_0x6c29b9,marginLeft:_0x293b08,marginRight:_0x535bdc}){return'width:calc('+[_0x6c29b9,_0x293b08,_0x535bdc]['filter'](Boolean)['join']('\x20-\x20')+');';}function _0x3b3906(_0x2eb892){if('object'==typeof _0x2eb892&&'width'in _0x2eb892)return _0x2eb892['width'];return{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0x2eb892['toLowerCase']()][0x0];}class ExportPdfUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x401333=this['editor'];_0x401333['ui']['componentFactory']['add']('exportPdf',()=>{const _0x55810d=this['_createButton'](_0x31c75c['ButtonView']),_0x5bff42=_0x401333['commands']['get']('exportPdf');return _0x55810d['set']({'tooltip':!0x0}),_0x55810d['bind']('isOn')['to'](_0x5bff42,'isBusy'),_0x55810d;}),_0x401333['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x31c75c['MenuBarMenuListItemButtonView']));}['_createButton'](_0x4a360b){const _0x5e7e12=this['editor'],_0x21e072=_0x5e7e12['config']['get']('exportPdf'),_0x2c6b88=_0x5e7e12['commands']['get']('exportPdf'),_0x20782b=new _0x4a360b(_0x5e7e12['locale']),_0x62fd93=new _0x31c75c['SpinnerView']();return _0x20782b['children']['add'](_0x62fd93),_0x62fd93['bind']('isVisible')['to'](_0x2c6b88,'isBusy'),_0x20782b['iconView']['bind']('isVisible')['to'](_0x2c6b88,'isBusy',_0x2803f1=>!_0x2803f1),_0x20782b['set']({'icon':_0x31c75c['IconExportPdf']}),_0x20782b['bind']('isEnabled')['to'](_0x2c6b88,'isEnabled'),_0x20782b['bind']('label')['to'](_0x2c6b88,'isBusy',_0x5645db=>_0x171d3a(_0x5e7e12['locale'],_0x5645db?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x20782b,'execute',()=>{_0x5e7e12['execute']('exportPdf',_0x21e072),_0x5e7e12['editing']['view']['focus']();}),_0x20782b;}}class ExportPdf extends _0x31c75c['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['CloudServices'],_0x31c75c['Notification'],ExportPdfUI];}['init'](){const {editor:_0x3cde78}=this;_0x3cde78['config']['define']('exportPdf.version',0x2),_0x3cde78['commands']['add']('exportPdf',new ExportPdfCommand(_0x3cde78));const _0x340b10=_0x3cde78['plugins']['get'](_0x31c75c['CloudServices']),_0x2a32ae=_0x3cde78['config']['get']('exportPdf');!0x1===_0x2a32ae['tokenUrl']?this['_token']=null:_0x2a32ae['tokenUrl']?_0x340b10['registerTokenUrl'](_0x2a32ae['tokenUrl'])['then'](_0x1ca243=>{this['_token']=_0x1ca243;}):this['_token']=_0x340b10['token'];}}function _0x45ed6e(_0x455ccc,_0xf87081={}){const _0x1576d1=_0x455ccc['plugins']['has']('Users'),_0x3054d2=_0x455ccc['plugins']['has']('CommentsRepository'),_0x2be04c=_0x455ccc['plugins']['has']('TrackChanges'),_0x538dd3=_0xf87081;if(_0x1576d1&&_0x3054d2){const _0x2e1e97=function(_0x3d6d57){const _0x3e49a2={};if(!_0x3d6d57['length'])return _0x3e49a2;for(const _0x3ead3d of _0x3d6d57)_0x3ead3d['comments']['map'](_0x1495b7=>{void 0x0===_0x3e49a2[_0x3ead3d['id']]&&(_0x3e49a2[_0x3ead3d['id']]=[]),_0x3e49a2[_0x3ead3d['id']]['push']({'author':_0x1495b7['author']['name'],'content':_0x1495b7['content'],'created':_0x1495b7['createdAt'],'is_resolved':_0x3ead3d['isResolved']});});return _0x3e49a2;}(_0x455ccc['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x2e1e97)['length']&&(_0x538dd3['comments']=_0x2e1e97);}if(_0x1576d1&&_0x2be04c){const _0x4a6ea6=_0x455ccc['plugins']['get']('TrackChanges'),_0x3a3233=_0x455ccc['plugins']['get']('Users'),_0x20769c=function(_0x3783fb,_0x17a338){const _0xabfe3={};if(!_0x3783fb['length']||!_0x17a338['length'])return _0xabfe3;for(const {id:_0x3d249c,createdAt:_0xb67039,authorId:_0xc81918,attributes:_0x451dc7}of _0x3783fb){const _0x4c0fa7=_0x451dc7&&_0x451dc7['@external'],_0x2f5d85=_0x4c0fa7?_0x4c0fa7['authorName']:_0x17a338['get'](_0xc81918)['name'];_0xabfe3[_0x3d249c]={'author':_0x2f5d85,'created':_0xb67039};}return _0xabfe3;}(_0x4a6ea6['getSuggestions']({'toJSON':!0x0}),_0x3a3233['users']);Object['keys'](_0x20769c)['length']&&(_0x538dd3['suggestions']=_0x20769c);}return(_0x538dd3['suggestions']||_0x538dd3['comments'])&&(_0x538dd3['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x538dd3;}function _0x3a181e(_0x11a368,_0x2e9ba1={}){const _0x353f42=_0x11a368['plugins']['has']('Users'),_0x545d3d=_0x11a368['plugins']['has']('CommentsRepository'),_0xbbc6de=_0x11a368['plugins']['has']('TrackChanges'),_0x4b2cdc=_0x11a368['plugins']['has']('MergeFields'),_0x1bce13=_0x11a368['locale']['contentLanguage'],_0x260d5f=_0x2e9ba1,_0xcca843={};if(_0x260d5f['document']=_0x260d5f['document']||{},_0x260d5f['document']['language']=_0x260d5f['document']['language']||_0x1bce13,_0x353f42&&_0x545d3d){const _0x30e7ad=function(_0x5778f6){const _0x22d2db=[];if(!_0x5778f6['length'])return _0x22d2db;for(const _0x51509b of _0x5778f6){const _0x1f890e=_0x51509b['comments']['map'](_0xfdb1dd=>({'author':_0xfdb1dd['author']['name'],'content':_0xfdb1dd['content'],'created_at':_0xfdb1dd['createdAt']}));_0x22d2db['push']({'thread_id':_0x51509b['id'],'is_resolved':_0x51509b['isResolved'],'comments':_0x1f890e});}return _0x22d2db;}(_0x11a368['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x30e7ad['length']&&(_0xcca843['comment_threads']=_0x30e7ad);}if(_0x353f42&&_0xbbc6de){const _0x2c75ec=_0x11a368['plugins']['get']('TrackChanges'),_0x249f55=_0x11a368['plugins']['get']('Users'),_0x1e1751=function(_0x56e596,_0x3e057f){if(!_0x56e596['length']||!_0x3e057f['length'])return[];return _0x56e596['map'](({id:_0x227191,createdAt:_0x345706,authorId:_0x229a6c,attributes:_0x3bb2f8})=>{const _0x155d28=_0x3bb2f8&&_0x3bb2f8['@external'];return{'id':_0x227191,'author':_0x155d28?_0x155d28['authorName']:_0x3e057f['get'](_0x229a6c)['name'],'created_at':_0x345706};});}(_0x2c75ec['getSuggestions']({'toJSON':!0x0}),_0x249f55['users']);_0x1e1751['length']&&(_0xcca843['suggestions']=_0x1e1751);}if(_0x4b2cdc){const _0x28cf68=_0x11a368['plugins']['get']('MergeFieldsEditing'),_0x284c8f=_0x28cf68['previewMode'],{prefix:_0xca80bb,suffix:_0x47f99b}=_0x11a368['config']['get']('mergeFields');if(_0x260d5f['merge_fields']={'prefix':_0xca80bb,'suffix':_0x47f99b},'$labels'!==_0x284c8f){_0x260d5f['merge_fields']['data']={};const _0xe16d46='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x37306a='$defaultValues'===_0x284c8f?_0x28cf68['getDefaultValues']():_0x28cf68['getDataSetValues'](_0x284c8f,!0x0);for(const _0x9948a2 of Object['entries'](_0x37306a)){const [_0x1f3489,_0x56781d]=_0x9948a2;'image'===_0x28cf68['getMergeFieldType'](_0x1f3489)?_0x260d5f['merge_fields']['data'][_0x1f3489]=null!==_0x56781d?_0x56781d:_0xe16d46:_0x260d5f['merge_fields']['data'][_0x1f3489]=null!==_0x56781d?_0x56781d:_0x28cf68['getLabel'](_0x1f3489)||_0x1f3489;}}}return(_0xcca843['comment_threads']||_0xcca843['suggestions'])&&(_0x260d5f['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x260d5f['collaboration_features']=_0xcca843),_0x260d5f;}function _0xb511e0(_0x2a1651,_0x5ce9a3){const t=_0x2a1651['t'];switch(_0x5ce9a3){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x5ce9a3;}}const _0xab33ad=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x31c75c['Command']{constructor(_0x18c367){super(_0x18c367),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x31c435={}){const _0x1ed3b3=this['editor'],_0x321da3=_0x31c435['version']||0x2,_0x248338=0x1===_0x321da3,_0x5908fb=_0x31c435['converterUrl']||(_0x248338?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x4fc085=_0x31c435['converterOptions']||{},_0x46c9ce=_0x1ed3b3['plugins']['get']('ExportWord'),_0x1a1d98=_0x31c435['token']||_0x46c9ce['_token'],_0x3d21e4=!0x0===_0x4fc085['auto_pagination'],_0x405571=_0x31c435['dataCallback']||(_0x27dc1f=>_0x27dc1f['data']['get']({'pagination':_0x3d21e4}));return 0x2===_0x321da3&&function(_0x41aaad){for(const _0x59dab8 of _0xab33ad)if(void 0x0!==_0x41aaad[_0x59dab8])return!0x0;return!0x1;}(_0x4fc085)&&_0x31c75c['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x31c75c['collectStylesheets'](_0x31c435['stylesheets']||['EDITOR_STYLES'])['then'](async _0x31bba4=>{_0x1ed3b3['ui']['ariaLiveAnnouncer']['announce'](_0xb511e0(_0x1ed3b3['locale'],'Word\x20document\x20export\x20started'));const _0x2450c1=await _0x405571(_0x1ed3b3),_0x30f696={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x1ed3b3['locale']['contentLanguageDirection']+'\x22>'+_0x2450c1+'</div>','css':_0x31bba4,[_0x248338?'options':'config']:{..._0x4fc085,..._0x248338?_0x45ed6e(_0x1ed3b3,_0x4fc085):_0x3a181e(_0x1ed3b3,_0x4fc085)}},_0x35ba3b={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x1a1d98?{'Authorization':_0x1a1d98['value']}:null},'body':JSON['stringify'](_0x30f696)};return window['fetch'](_0x5908fb,_0x35ba3b)['then'](_0xc87dbe=>{if(0xc8!==_0xc87dbe['status'])throw _0xc87dbe;return _0xc87dbe['blob']();})['then'](_0x7ecc55=>{_0x1ed3b3['ui']['ariaLiveAnnouncer']['announce'](_0xb511e0(_0x1ed3b3['locale'],'Word\x20document\x20export\x20successful'));const _0x3315ca='function'==typeof _0x31c435['fileName']?_0x31c435['fileName']():_0x31c435['fileName'];this['_downloadFile'](_0x7ecc55,_0x3315ca||'document.docx');});})['catch'](_0x38ae7c=>{const _0x475309=_0x1ed3b3['plugins']['get']('Notification');throw _0x1ed3b3['ui']['ariaLiveAnnouncer']['announce'](_0xb511e0(_0x1ed3b3['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x475309['showWarning'](_0xb511e0(_0x1ed3b3['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x38ae7c;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x4aad5c,_0x4cd96c){const _0x152a24=document['createElement']('a');_0x152a24['href']=window['URL']['createObjectURL'](_0x4aad5c),_0x152a24['download']=_0x4cd96c,_0x152a24['click'](),_0x152a24['remove']();}}class ExportWordUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f6e24=this['editor'];_0x2f6e24['ui']['componentFactory']['add']('exportWord',()=>{const _0x55c188=_0x2f6e24['commands']['get']('exportWord'),_0x85a8ff=this['_createButton'](_0x31c75c['ButtonView']);return _0x85a8ff['set']({'tooltip':!0x0}),_0x85a8ff['bind']('isOn')['to'](_0x55c188,'isBusy'),_0x85a8ff;}),_0x2f6e24['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x31c75c['MenuBarMenuListItemButtonView']));}['_createButton'](_0x41c593){const _0x73a55d=this['editor'],_0x124565=_0x73a55d['config']['get']('exportWord')||{},_0xec1cf6=_0x73a55d['commands']['get']('exportWord'),_0x34fbb6=new _0x41c593(_0x73a55d['locale']),_0xb0ed0e=new _0x31c75c['SpinnerView']();return _0x34fbb6['children']['add'](_0xb0ed0e),_0xb0ed0e['bind']('isVisible')['to'](_0xec1cf6,'isBusy'),_0x34fbb6['iconView']['bind']('isVisible')['to'](_0xec1cf6,'isBusy',_0x32c27b=>!_0x32c27b),_0x34fbb6['set']({'icon':_0x31c75c['IconExportWord']}),_0x34fbb6['bind']('isEnabled')['to'](_0xec1cf6,'isEnabled'),_0x34fbb6['bind']('label')['to'](_0xec1cf6,'isBusy',_0x18c80c=>_0xb511e0(_0x73a55d['locale'],_0x18c80c?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x34fbb6,'execute',()=>{_0x73a55d['execute']('exportWord',_0x124565),_0x73a55d['editing']['view']['focus']();}),_0x34fbb6;}}class ExportWord extends _0x31c75c['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['CloudServices'],_0x31c75c['Notification'],ExportWordUI];}['init'](){const _0x3025a9=this['editor'],_0x1660ef=_0x3025a9['config']['get']('exportWord')||{};_0x3025a9['commands']['add']('exportWord',new ExportWordCommand(_0x3025a9));const _0x3ecdbd=_0x3025a9['plugins']['get'](_0x31c75c['CloudServices']);!0x1===_0x1660ef['tokenUrl']?this['_token']=null:_0x1660ef['tokenUrl']?_0x3ecdbd['registerTokenUrl'](_0x1660ef['tokenUrl'])['then'](_0x9c3d7=>{this['_token']=_0x9c3d7;}):this['_token']=_0x3ecdbd['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xb2a14c,_0x2a752e){this['_model']=_0xb2a14c,this['_elementName']=_0x2a752e['elementName'],this['_getElementKey']=_0x2a752e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3b4b59){const _0x22f1bc=new Set(),_0x3d7d41=new Map();for(const _0x42c3dc of _0x3b4b59){if('insert'===_0x42c3dc['type']&&'$text'!==_0x42c3dc['name']&&_0x42c3dc['position']['nodeAfter']){const _0xfbc75=this['_model']['createRangeOn'](_0x42c3dc['position']['nodeAfter']);for(const _0xce0584 of _0xfbc75['getItems']()){if(!_0xce0584['is']('element',this['_elementName']))continue;const _0x2bde1a=this['_getElementKey'](_0xce0584);_0x3d7d41['has'](_0x2bde1a)||_0x3d7d41['set'](_0x2bde1a,[]),_0x3d7d41['get'](_0x2bde1a)['push'](_0xce0584);}}if('remove'===_0x42c3dc['type']&&_0x42c3dc['name']===this['_elementName']){const _0x146b5d=this['_getElementKey']({'getAttribute':_0x2073e2=>_0x42c3dc['attributes']['get'](_0x2073e2)});_0x22f1bc['add'](_0x146b5d);}}for(const [_0x15f542,_0x338277]of this['_trackedElements'])'$graveyard'===_0x338277['root']['rootName']&&_0x22f1bc['add'](_0x15f542);for(const _0x182805 of _0x22f1bc)this['_trackedElements']['delete'](_0x182805);for(const [_0x375a2c,_0x54ab5e]of _0x3d7d41)this['_trackedElements']['set'](_0x375a2c,_0x54ab5e[_0x54ab5e['length']-0x1]);const _0x106a39=new Set();for(const [_0x26cf11,_0x5172ae]of _0x3d7d41)_0x22f1bc['has'](_0x26cf11)&&(_0x106a39['add'](_0x5172ae[0x0]),_0x5172ae['length']>0x1?_0x3d7d41['set'](_0x26cf11,_0x5172ae['slice'](0x1)):_0x3d7d41['delete'](_0x26cf11),_0x22f1bc['delete'](_0x26cf11));return{'removed':Array['from'](_0x22f1bc),'inserted':Array['from'](_0x3d7d41['values']())['flat'](),'moved':Array['from'](_0x106a39)};}}class FootnotesTracker extends _0x31c75c['Plugin']{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b62e5){super(_0x1b62e5),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2f3c70=>_0x2f3c70['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x29655a=>_0x29655a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5a3abc}=this,{model:_0x3cc700,data:_0x27efe}=_0x5a3abc;_0x3cc700['document']['registerPostFixer'](_0x262fc1=>{const _0x5325f7=_0x3cc700['document']['differ']['getChanges']();let _0x16158f=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x262fc1,_0x5325f7)&&(_0x16158f=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x262fc1,_0x5325f7)&&(_0x16158f=!0x0),this['_handleFootnoteReferencesChanges'](_0x262fc1,_0x5325f7)&&(_0x16158f=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x262fc1)&&(_0x16158f=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x262fc1)&&(_0x16158f=!0x0),this['_sortFootnoteDefinitions'](_0x262fc1)&&(_0x16158f=!0x0),_0x16158f;}),this['listenTo'](_0x3cc700['document'],'change:data',()=>{_0x3cc700['enqueueChange']({'isUndoable':!0x1},_0x25c124=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x25c124);});},{'priority':'low'}),this['listenTo'](_0x27efe,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5c5175){return this['_footnotes']['find'](_0x370a73=>_0x370a73['id']===_0x5c5175)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xf7320d){this['_footnoteFormatter']=_0xf7320d;}['_updateFootnotesCounters'](_0x1b2259,_0x58bc7e=0x0){let _0x1dda7e=!0x1;for(let _0x3d9734=_0x58bc7e;_0x3d9734<this['_footnotes']['length'];_0x3d9734++)this['_updateFootnoteRefCounter'](_0x1b2259,_0x3d9734)&&(_0x1dda7e=!0x0);return _0x1dda7e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5f9a0a,_0x38d413){const _0x346acb=_0x5f9a0a['createElement']('footnotesDefinitions',{});return _0x5f9a0a['append'](_0x346acb,_0x38d413),this['_footnotesDefinitions']=_0x346acb,_0x346acb;}['_ensureFootnotesDefinitionsContainerExists'](_0x3b0c6a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x14f76b=this['_footnotes'][0x0]['reference']['root'],_0xc236dd=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3b0c6a,_0x14f76b);for(const _0x301b48 of this['_footnotes'])_0x301b48['definition']['parent']||_0x3b0c6a['insert'](_0x301b48['definition'],_0xc236dd,'end');this['_updateFootnotesCounters'](_0x3b0c6a);}['_handleFootnotesDefinitionsObjectChanges'](_0x46070a,_0x4b4684){let _0x5dca5c=!0x1;const {inserted:_0x48d713,removed:_0xde95c3,moved:_0x4685bf}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4b4684);if(_0x4685bf['length']&&(this['_footnotesDefinitions']=_0x4685bf[0x0]),_0x48d713['length']){if(_0x48d713['length']>0x1||this['_footnotesDefinitions']&&_0x48d713['some'](_0x248842=>_0x248842!==this['_footnotesDefinitions'])){const _0xba4ec5=_0x46070a['createElement']('footnotesDefinitions',{}),_0x235a10=[];this['_footnotesDefinitions']&&_0x235a10['push'](this['_footnotesDefinitions']),_0x235a10['push'](..._0x48d713),_0x46070a['insert'](_0xba4ec5,_0x235a10[0x0],'before');for(const _0xefc41d of _0x235a10)_0x46070a['move'](_0x46070a['createRangeIn'](_0xefc41d),_0x46070a['createPositionAt'](_0xba4ec5,'end')),_0x46070a['remove'](_0xefc41d);this['_footnotesDefinitions']=_0xba4ec5,this['_updateFootnotesCounters'](_0x46070a),_0x5dca5c=!0x0;}else this['_footnotesDefinitions']=_0x48d713[0x0];}if(_0xde95c3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xc81c8f of this['_footnotes'])_0x46070a['remove'](_0xc81c8f['reference']),_0x5dca5c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5dca5c;}['_handleFootnoteDefinitionsChanges'](_0x1b806b,_0x1c7adb){let _0x3e0f65=!0x1;const _0x395c8f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3038ce,moved:_0x2aa3c5}=this['_footnoteDefsTracker']['getChanges'](_0x1c7adb);for(const _0x1b4ddd of[..._0x2aa3c5,..._0x3038ce]){const _0x31b6b6=_0x1b4ddd['getAttribute']('footnoteId'),_0x3e8f93=this['getFootnote'](_0x31b6b6);_0x3e8f93&&(_0x3e8f93['definition']=_0x1b4ddd),_0x10a805(_0x1b806b,_0x395c8f,_0x1b4ddd)&&(_0x3e0f65=!0x0);}return _0x3e0f65;}['_handleFootnoteReferencesChanges'](_0x52bbe4,_0x38e105){let _0x5d9fba=!0x1;const {removed:_0x4b9fa8,inserted:_0x300bce,moved:_0x3d5fb8}=this['_footnoteRefsTracker']['getChanges'](_0x38e105);for(const _0x51ec51 of _0x4b9fa8)this['_handleRemoveFootnoteReferenceById'](_0x52bbe4,_0x51ec51)&&(_0x5d9fba=!0x0);for(const _0x2afeb4 of _0x300bce)this['_handleInsertedFootnoteReference'](_0x52bbe4,_0x2afeb4)&&(_0x5d9fba=!0x0);for(const _0x4f7525 of _0x3d5fb8)this['_handleMovedFootnoteReference'](_0x52bbe4,_0x4f7525)&&(_0x5d9fba=!0x0);return _0x5d9fba;}['_handleFootnotesDefinitionsObjectSync'](_0x49aded){if(!this['_footnotesDefinitions'])return!0x1;let _0x43ad4f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5974db=[];for(const _0x1958f7 of this['_footnotesDefinitions']['getChildren']()){const _0x141ead=_0x1958f7['getAttribute']('footnoteId');this['getFootnote'](_0x141ead)||(_0x5974db['unshift'](_0x1958f7),_0x43ad4f=!0x0);}for(const _0x4b90df of _0x5974db)_0x49aded['remove'](_0x4b90df);}const _0x5704e9=new Set(),_0x3a4020=[];for(const _0x2fd287 of this['_footnotesDefinitions']['getChildren']()){const _0x3b0b2f=_0x2fd287['getAttribute']('footnoteId');_0x5704e9['has'](_0x3b0b2f)?(_0x3a4020['unshift'](_0x2fd287),_0x43ad4f=!0x0):_0x5704e9['add'](_0x3b0b2f);}for(const _0x4799aa of _0x3a4020)_0x49aded['remove'](_0x4799aa);return this['_footnotesDefinitions']['childCount']||(_0x49aded['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x43ad4f=!0x0),_0x43ad4f;}['_handleInsertedFootnoteReference'](_0x3f1d9f,_0x46c77a){if(this['_footnotes']['find'](_0x349c2a=>_0x349c2a['reference']===_0x46c77a))return!0x1;let _0x5b8492=!0x1;const _0x40e630=_0x46c77a['getAttribute']('footnoteId'),_0xd61a8b=this['_footnotes']['findIndex'](_0x4dc969=>_0x4dc969['id']===_0x40e630);-0x1!==_0xd61a8b&&(_0x3f1d9f['remove'](this['_footnotes'][_0xd61a8b]['reference']),this['_footnotes']['splice'](_0xd61a8b,0x1),_0x5b8492=!0x0);let _0x44b0a8=this['_footnotesDefinitions']?function(_0x39464c,_0x4738ca){for(const _0x1e3e76 of _0x39464c['getChildren']())if(_0x1e3e76['getAttribute']('footnoteId')===_0x4738ca)return _0x1e3e76;return null;}(this['_footnotesDefinitions'],_0x40e630):null;_0x44b0a8||(_0x44b0a8=_0x3f1d9f['createElement']('footnoteDefinition',{'footnoteId':_0x40e630}),this['_footnotesDefinitions']&&(_0x3f1d9f['insert'](_0x44b0a8,this['_footnotesDefinitions'],'end'),_0x5b8492=!0x0));const _0x1604a9={'id':_0x40e630,'reference':_0x46c77a,'definition':_0x44b0a8},_0x3c4c39=_0x3f03ea(this['editor']['model'],this['_footnotes'],_0x46c77a);this['_footnotes']['splice'](_0x3c4c39,0x0,_0x1604a9);let _0x453601=_0x3c4c39;return-0x1!==_0xd61a8b&&(_0x453601=Math['min'](_0x3c4c39,_0xd61a8b)),this['_updateFootnotesCounters'](_0x3f1d9f,_0x453601)&&(_0x5b8492=!0x0),_0x5b8492;}['_handleRemoveFootnoteReferenceById'](_0x394998,_0x5e47a4){const _0x37f87c=this['_footnotes']['findIndex'](_0x12636a=>_0x12636a['id']===_0x5e47a4);if(-0x1===_0x37f87c)return!0x1;let _0x7d8558=!0x1;const _0x4abd46=this['_footnotes'][_0x37f87c];return'$graveyard'!==_0x4abd46['definition']['root']['rootName']&&(_0x394998['remove'](_0x4abd46['definition']),_0x7d8558=!0x0),this['_footnotes']['splice'](_0x37f87c,0x1),this['_updateFootnotesCounters'](_0x394998,_0x37f87c)&&(_0x7d8558=!0x0),_0x7d8558;}['_handleMovedFootnoteReference'](_0x26e80f,_0x58032e){const _0x274d99=_0x58032e['getAttribute']('footnoteId'),_0x5543ec=this['_footnotes']['findIndex'](_0x5394a6=>_0x5394a6['id']===_0x274d99),_0x31883f=this['_footnotes'][_0x5543ec];let _0x1f178e=!0x1;_0x31883f['reference']=_0x58032e,this['_footnotes']['splice'](_0x5543ec,0x1);const _0x5736c0=_0x3f03ea(this['editor']['model'],this['_footnotes'],_0x58032e);return this['_footnotes']['splice'](_0x5736c0,0x0,_0x31883f),this['_updateFootnotesCounters'](_0x26e80f,Math['min'](_0x5543ec,_0x5736c0))&&(_0x1f178e=!0x0),_0x1f178e;}['_updateFootnoteRefCounter'](_0x29a401,_0x717a1c){if(!this['_footnotesDefinitions'])return!0x1;const _0x1bb2ab=this['_footnotes'][_0x717a1c];let _0x2fbd79;return _0x2fbd79=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1bb2ab,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x717a1c+0x1}):String(_0x717a1c+0x1),_0x1bb2ab['reference']['getAttribute']('footnoteCounter')!=_0x2fbd79&&(_0x29a401['setAttribute']('footnoteCounter',_0x2fbd79,_0x1bb2ab['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5dcdf7){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x286569,_0xb16b3){if(_0x286569['length']!==_0xb16b3['length'])return!0x1;for(let _0x32e6c2=0x0;_0x32e6c2<_0x286569['length'];_0x32e6c2++)if(_0x286569[_0x32e6c2]!==_0xb16b3[_0x32e6c2])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x10c889=>_0x10c889['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x261166=>_0x261166['getAttribute']('footnoteId'))))return!0x1;let _0x39f7b8=!0x1;for(let _0x10fac1=0x0;_0x10fac1<this['_footnotes']['length'];_0x10fac1++){const _0x59f507=this['_footnotes'][_0x10fac1],_0x2194d6=_0x5dcdf7['createPositionBefore'](_0x59f507['definition']),_0x5e7a6a=_0x5dcdf7['createPositionAt'](this['_footnotesDefinitions'],_0x10fac1);_0x2194d6['isEqual'](_0x5e7a6a)||(_0x5dcdf7['move'](_0x5dcdf7['createRangeOn'](_0x59f507['definition']),_0x5e7a6a),_0x39f7b8=!0x0);}return _0x39f7b8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x516217){if(!this['_footnotes']['length'])return!0x1;const {model:_0x33ecdf}=this['editor'];let _0x301d07=!0x1;for(let _0x2dfc77=0x0;_0x2dfc77<this['_footnotes']['length']-0x1;_0x2dfc77++){const _0x466ba2=this['_footnotes'][_0x2dfc77],_0x432ed1=this['_footnotes'][_0x2dfc77+0x1],_0x1ea3a2=_0x33ecdf['createPositionBefore'](_0x466ba2['reference']),_0x6b9680=_0x33ecdf['createPositionBefore'](_0x432ed1['reference']);'after'===_0x1ea3a2['compareWith'](_0x6b9680)&&(this['_handleMovedFootnoteReference'](_0x516217,_0x466ba2['reference']),_0x2dfc77=-0x1,_0x301d07=!0x0);}return _0x301d07;}}function _0x10a805(_0x54a27d,_0x264e2c,_0x4fbdb7){if(_0x4fbdb7['childCount'])return!0x1;const _0x6ff219=_0x264e2c?'paragraph':'footnoteInlineContent';return _0x54a27d['insert'](_0x54a27d['createElement'](_0x6ff219),_0x4fbdb7),!0x0;}function _0x3f03ea(_0x416b6e,_0xbfbd76,_0x2b0621){if(0x0===_0xbfbd76['length'])return 0x0;const _0x27d9bc=_0x416b6e['createPositionBefore'](_0x2b0621);for(let _0x4562d7=0x0;_0x4562d7<_0xbfbd76['length'];_0x4562d7++){const _0x20043d=_0xbfbd76[_0x4562d7],_0x3272ae=_0x416b6e['createPositionBefore'](_0x20043d['reference']);if('before'===_0x27d9bc['compareWith'](_0x3272ae))return _0x4562d7;}const _0x32cc7f=_0x2b0621['root'];let _0x27d83c=-0x1;for(let _0x25ea0e=_0xbfbd76['length']-0x1;_0x25ea0e>=0x0;_0x25ea0e--)if(_0xbfbd76[_0x25ea0e]['reference']['root']===_0x32cc7f){_0x27d83c=_0x25ea0e;break;}if(-0x1!==_0x27d83c)return _0x27d83c+0x1;const _0x3442f6=_0x416b6e['document']['getRootNames'](),_0xd82f9a=_0x3442f6['indexOf'](_0x32cc7f['rootName']),_0x2ada07=_0x3442f6[_0xd82f9a+0x1];if(_0x2ada07){for(let _0x5678d4=0x0;_0x5678d4<_0xbfbd76['length'];_0x5678d4++)if(_0xbfbd76[_0x5678d4]['reference']['root']['rootName']===_0x2ada07)return _0x5678d4;}return _0xbfbd76['length'];}class InsertFootnoteCommand extends _0x31c75c['Command']{['refresh'](){const _0x29f451=this['editor']['model']['document']['selection'],_0x1f2eee=this['_getPositionToInsertFootnote'](_0x29f451);this['isEnabled']=!!_0x1f2eee;}['execute'](_0x4dd03f){const {editor:_0x5a5b2c}=this,{model:_0x4fbcaa}=_0x5a5b2c,{selection:_0x1e02b7}=_0x4fbcaa['document'],_0x1620a3=this['_getPositionToInsertFootnote'](_0x1e02b7);if(!_0x1620a3)return;const _0x1ba4b5=_0x5a5b2c['plugins']['get']('FootnotesEditing'),_0x3381e3=_0x4dd03f?.['footnoteId']??_0x31c75c['uid']();!function(_0x4d5467){return'string'==typeof _0x4d5467&&_0x4d5467['length']>0x0&&!/\s/['test'](_0x4d5467)&&!/^\d/['test'](_0x4d5467);}(_0x3381e3)?_0x31c75c['logWarning']('insert-footnote-command-executed-with-invalid-id'):(_0x4fbcaa['change'](_0x2be2cc=>{const _0x509555=_0x2be2cc['createElement']('footnoteRef',{'footnoteId':_0x3381e3});_0x4fbcaa['insertObject'](_0x509555,_0x1620a3,null);}),_0x1ba4b5['_moveSelectionToFootnoteDefinition'](_0x3381e3));}['_getPositionToInsertFootnote'](_0x49170f){const {model:_0x1b3697}=this['editor'],{schema:_0x533df9}=_0x1b3697,_0x29ee56=_0x49170f['getFirstRange']();for(const _0x585c62 of _0x29ee56['getItems']())if(_0x533df9['isBlock'](_0x585c62)||_0x533df9['isObject'](_0x585c62))return null;const _0x1eba1f=_0x29ee56['end'];return _0x533df9['checkChild'](_0x1eba1f,'footnoteRef')?_0x1eba1f:null;}}class FootnotesEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x343875}=this;_0x343875['config']['define']('footnotes.multiBlock',!0x0),_0x343875['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x343875)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x290202){const _0x53acea=_0x239943([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2304ac=0x47a28506,_0x19ca78=0x47a50f6e^_0x2304ac,_0x492527=window[_0x239943([0x44,0x61,0x74,0x65])][_0x239943([0x6e,0x6f,0x77])](),_0x1df795=_0x290202[_0x239943([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e6a06=new window[(_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8f7ec1=>{_0x1df795[_0x239943([0x6f,0x6e,0x63,0x65])](_0x239943([0x72,0x65,0x61,0x64,0x79]),_0x8f7ec1);}),_0x4a33a5={[_0x239943([0x6b,0x74,0x79])]:_0x239943([0x45,0x43]),[_0x239943([0x75,0x73,0x65])]:_0x239943([0x73,0x69,0x67]),[_0x239943([0x63,0x72,0x76])]:_0x239943([0x50,0x2d,0x32,0x35,0x36]),[_0x239943([0x78])]:_0x239943([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x239943([0x79])]:_0x239943([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x239943([0x61,0x6c,0x67])]:_0x239943([0x45,0x53,0x32,0x35,0x36])},_0x48bdf8=_0x1df795[_0x239943([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x239943([0x67,0x65,0x74])](_0x239943([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f3c31(){let _0x374b69,_0x3c2fc6=null,_0x58abd9=null;try{if(_0x48bdf8==_0x239943([0x47,0x50,0x4c]))return _0x239943([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x374b69=_0x5303bf(),!_0x374b69)return _0x239943([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x374b69[_0x239943([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58abd9=_0x4df0d6(_0x374b69[_0x239943([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x374b69[_0x239943([0x6a,0x74,0x69])])),await _0x4f7a51()?_0x1e15c1()?_0xa8269d()?_0x239943([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39f3cb()?(_0x374b69[_0x239943([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x239943([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c2fc6=_0x2363f7(_0x239943([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x826e52()):_0x239943([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x239943([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x239943([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x239943([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa8269d(){const _0x5c73b1=[_0x239943([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x239943([0x74,0x72,0x69,0x61,0x6c])][_0x239943([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x374b69[_0x239943([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x492527/0x3e8:0xe10*_0x19ca78;return _0x374b69[_0x239943([0x65,0x78,0x70])]<_0x5c73b1;}function _0x1e15c1(){const _0x185179=_0x374b69[_0x239943([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x185179&&(!!_0x185179[_0x239943([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x239943([0x2a]))||!!_0x185179[_0x239943([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x239943([0x46,0x4f,0x4f])));}function _0x39f3cb(){const _0x3f3ddb=_0x374b69[_0x239943([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f3ddb||0x0==_0x3f3ddb[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38a2e6}=new URL(window[_0x239943([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f3ddb[_0x239943([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a2e6))return!0x0;const _0x1144be=_0x38a2e6[_0x239943([0x73,0x70,0x6c,0x69,0x74])](_0x239943([0x2e]));return _0x3f3ddb[_0x239943([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1482e4=>_0x1482e4[_0x239943([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x239943([0x2a])))[_0x239943([0x6d,0x61,0x70])](_0x1c3c51=>_0x1c3c51[_0x239943([0x73,0x70,0x6c,0x69,0x74])](_0x239943([0x2e])))[_0x239943([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f9834=>_0x4f9834[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1144be[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x239943([0x6d,0x61,0x70])](_0x3ab67e=>Array(_0x1144be[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ab67e[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x239943([0x66,0x69,0x6c,0x6c])](_0x3ab67e[0x0]===_0x239943([0x2a])?_0x239943([0x2a]):'')[_0x239943([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ab67e))[_0x239943([0x73,0x6f,0x6d,0x65])](_0x40cb62=>_0x1144be[_0x239943([0x65,0x76,0x65,0x72,0x79])]((_0x449600,_0x38025a)=>_0x40cb62[_0x38025a]===_0x449600||_0x40cb62[_0x38025a]===_0x239943([0x2a])));}function _0x826e52(){return _0x3c2fc6&&_0x58abd9?new window[(_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x799858,_0x570579)=>{_0x3c2fc6[_0x239943([0x74,0x68,0x65,0x6e])](_0x799858,_0x570579),_0x58abd9[_0x239943([0x74,0x68,0x65,0x6e])](_0x334f97=>{_0x334f97!=_0x239943([0x56,0x61,0x6c,0x69,0x64])&&_0x799858(_0x334f97);},_0x570579);}):_0x3c2fc6||_0x58abd9||_0x239943([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4df0d6(_0x5934aa,_0x3c5afa){return new window[(_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x174afb=>{if(_0xa0e09c())return _0x174afb(_0x239943([0x56,0x61,0x6c,0x69,0x64]));_0x540c59(),_0x1df795[_0x239943([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x239943([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ebb0d=!0x1;const _0x49a63d=_0x31c75c['uid']();function _0xb6dd46(_0x11e4d3){return!!_0x11e4d3&&(typeof _0x11e4d3===_0x239943([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11e4d3===_0x239943([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11e4d3[_0x239943([0x74,0x68,0x65,0x6e])]===_0x239943([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11e4d3[_0x239943([0x63,0x61,0x74,0x63,0x68])]===_0x239943([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e4ddf(_0x42b58f){_0x42a5f1(_0x42b58f)[_0x239943([0x74,0x68,0x65,0x6e])](_0x4aa6e5=>{if(!_0x4aa6e5||_0x4aa6e5[_0x239943([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x239943([0x6f,0x6b]))return _0x239943([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4401ee(_0x5937e1(_0x49a63d+_0x3c5afa))!=_0x4aa6e5[_0x239943([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x239943([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x239943([0x56,0x61,0x6c,0x69,0x64]);})[_0x239943([0x74,0x68,0x65,0x6e])](_0x4a6a15=>(_0x14ddbd(),_0x4a6a15),()=>{const _0x781cf3=_0x3d9f1f();return null==_0x781cf3?(_0x14ddbd(),_0x239943([0x56,0x61,0x6c,0x69,0x64])):_0x239943(_0x492527-_0x781cf3>(0x63ae0106^_0x2304ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x239943([0x74,0x68,0x65,0x6e])](_0x174afb)[_0x239943([0x63,0x61,0x74,0x63,0x68])](()=>{_0x174afb(_0x239943([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11a5ec=0x47946b86^_0x2304ac;function _0x14ddbd(){const _0x1ce87d=_0x239943([0x6c,0x6c,0x63,0x74,0x2d])+_0x4401ee(_0x5937e1(_0x5934aa)),_0x23c8ba=_0x76669e(_0x4401ee(window[_0x239943([0x4d,0x61,0x74,0x68])][_0x239943([0x63,0x65,0x69,0x6c])](_0x492527/_0x11a5ec)));window[_0x239943([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x239943([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ce87d,_0x23c8ba);}function _0x3d9f1f(){const _0x51d0f8=_0x239943([0x6c,0x6c,0x63,0x74,0x2d])+_0x4401ee(_0x5937e1(_0x5934aa)),_0x2d307b=window[_0x239943([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x239943([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51d0f8);return _0x2d307b?window[_0x239943([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x76669e(_0x2d307b),0x10)*_0x11a5ec:null;}function _0x42a5f1(_0x3f4554){return new window[(_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11affb,_0x5386ba)=>{_0x3f4554[_0x239943([0x74,0x68,0x65,0x6e])](_0x11affb,_0x5386ba),window[_0x239943([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5386ba,0x47a351c6^_0x2304ac);});}}_0x1df795[_0x239943([0x6f,0x6e])](_0x239943([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1162f5,_0xf9753c)=>{if(_0xf9753c[0x0]!=_0x5934aa)return _0x174afb(_0x239943([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf9753c[0x1]={..._0xf9753c[0x1],[_0x239943([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49a63d};},{[_0x239943([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x239943([0x68,0x69,0x67,0x68])}),_0x1df795[_0x239943([0x6f,0x6e])](_0x239943([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8ca46f=>{_0xb6dd46(_0x8ca46f[_0x239943([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ebb0d=!0x0,_0x2e4ddf(_0x8ca46f[_0x239943([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x239943([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x239943([0x6c,0x6f,0x77])}),_0x1e6a06[_0x239943([0x74,0x68,0x65,0x6e])](()=>{_0x2ebb0d||_0x174afb(_0x239943([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa0e09c(){return _0x1df795[_0x239943([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x239943([0x76,0x69,0x65,0x77])][_0x239943([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x239943([0x61,0x75,0x74,0x6f]);}function _0x540c59(){_0x1df795[_0x239943([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x239943([0x76,0x69,0x65,0x77])][_0x239943([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x239943([0x61,0x75,0x74,0x6f]);}}function _0x2363f7(_0x189f2a){const _0x3ead4f=[new window[(_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x587023=>setTimeout(_0x587023,0x47abbbca^_0x2304ac)),_0x1e6a06[_0x239943([0x74,0x68,0x65,0x6e])](()=>new window[(_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12bf8a=>{let _0x11e18d=0x0;_0x1df795[_0x239943([0x6d,0x6f,0x64,0x65,0x6c])][_0x239943([0x6f,0x6e])](_0x239943([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b8056,_0x5c764a)=>{_0x5c764a[0x0][_0x239943([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11e18d++,_0x11e18d==(0x47a280ee^_0x2304ac)&&(_0x12bf8a(),_0x5b8056[_0x239943([0x6f,0x66,0x66])]());});}))];return window[_0x239943([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x239943([0x72,0x61,0x63,0x65])](_0x3ead4f)[_0x239943([0x74,0x68,0x65,0x6e])](()=>_0x189f2a);}async function _0x40650e(){await _0x1e6a06,_0x1df795[_0x239943([0x6d,0x6f,0x64,0x65,0x6c])][_0x239943([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x848b07,_0x1df795[_0x239943([0x6d,0x6f,0x64,0x65,0x6c])][_0x239943([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x848b07,_0x1df795[_0x239943([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x239943([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x237d96(_0x5a1645){const _0x446290=_0x48ea21();_0x1df795[_0x446290]=_0x239943([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a1645,_0x5a1645!=_0x239943([0x56,0x61,0x6c,0x69,0x64])&&_0x40650e();}function _0x48ea21(){const _0x5c382c=window[_0x239943([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x239943([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x239943([0x6e,0x6f,0x77])]())[_0x239943([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x239943([0x2e]),'');let _0x3550d4=_0x239943([0x75]);for(let _0x46df0=0x0;_0x46df0<_0x5c382c[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46df0+=0x2){let _0xc90f4b=window[_0x239943([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c382c[_0x239943([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46df0,_0x46df0+0x2));_0xc90f4b>=_0x53acea[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc90f4b-=_0x53acea[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3550d4+=_0x53acea[_0xc90f4b];}return _0x3550d4;}function _0x5303bf(){const _0x3d8750=_0x48bdf8[_0x239943([0x73,0x70,0x6c,0x69,0x74])](_0x239943([0x2e]));if(0x3!=_0x3d8750[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf61204(_0x3d8750[0x1]);function _0xf61204(_0x1c882d){const _0xe18f29=_0x20e42f(_0x1c882d);return _0xe18f29&&_0x32d9e2()?_0xe18f29:null;function _0x32d9e2(){const _0x45f84d=_0xe18f29[_0x239943([0x6a,0x74,0x69])],_0x266f7b=window[_0x239943([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45f84d[_0x239943([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45f84d[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51366f={..._0xe18f29,[_0x239943([0x6a,0x74,0x69])]:_0x45f84d[_0x239943([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45f84d[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51366f[_0x239943([0x76,0x63])],_0x5937e1(_0x51366f)==_0x266f7b;}}}async function _0x4f7a51(){let _0xaf30b8=!0x0;try{const _0x1effa6=_0x48bdf8[_0x239943([0x73,0x70,0x6c,0x69,0x74])](_0x239943([0x2e])),[_0x5c7668,_0x3c85a8,_0x504cf4]=_0x1effa6;return _0x58fd92(_0x5c7668),await _0x5844b4(_0x5c7668,_0x3c85a8,_0x504cf4),_0xaf30b8;}catch{return!0x1;}function _0x58fd92(_0x517f5f){const _0x2ad252=_0x20e42f(_0x517f5f);_0x2ad252&&_0x2ad252[_0x239943([0x61,0x6c,0x67])]==_0x239943([0x45,0x53,0x32,0x35,0x36])||(_0xaf30b8=!0x1);}async function _0x5844b4(_0x257da6,_0x226c5e,_0x179e97){const _0x3f246a=window[_0x239943([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x239943([0x66,0x72,0x6f,0x6d])](_0x2b3414(_0x179e97),_0x18a3e1=>_0x18a3e1[_0x239943([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a0fcb=new window[(_0x239943([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x239943([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x257da6+_0x239943([0x2e])+_0x226c5e),_0x15ff28=window[_0x239943([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x239943([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15ff28)return;const _0x5a98b3=await _0x15ff28[_0x239943([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x239943([0x6a,0x77,0x6b]),_0x4a33a5,{[_0x239943([0x6e,0x61,0x6d,0x65])]:_0x239943([0x45,0x43,0x44,0x53,0x41]),[_0x239943([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x239943([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x239943([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15ff28[_0x239943([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x239943([0x6e,0x61,0x6d,0x65])]:_0x239943([0x45,0x43,0x44,0x53,0x41]),[_0x239943([0x68,0x61,0x73,0x68])]:{[_0x239943([0x6e,0x61,0x6d,0x65])]:_0x239943([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a98b3,_0x3f246a,_0x3a0fcb)||(_0xaf30b8=!0x1);}}function _0x20e42f(_0x47adae){return _0x47adae[_0x239943([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x239943([0x65,0x79]))?JSON[_0x239943([0x70,0x61,0x72,0x73,0x65])](_0x2b3414(_0x47adae)):null;}function _0x2b3414(_0x5af85a){return window[_0x239943([0x61,0x74,0x6f,0x62])](_0x5af85a[_0x239943([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x239943([0x2b]))[_0x239943([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x239943([0x2f])));}function _0x5937e1(_0x31171f){let _0x505efb=0x1505;function _0x15e24c(_0x3f8ed4){for(let _0x2dbb16=0x0;_0x2dbb16<_0x3f8ed4[_0x239943([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dbb16++){const _0xd81032=_0x3f8ed4[_0x239943([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2dbb16);_0x505efb=(_0x505efb<<0x5)+_0x505efb+_0xd81032,_0x505efb&=_0x505efb;}}function _0x32dec0(_0x318aec){Array[_0x239943([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x318aec)?_0x318aec[_0x239943([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32dec0):_0x318aec&&typeof _0x318aec==_0x239943([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x239943([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x318aec)[_0x239943([0x73,0x6f,0x72,0x74])]()[_0x239943([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d1a32,_0x595181])=>{_0x15e24c(_0x3d1a32),_0x32dec0(_0x595181);}):_0x15e24c(window[_0x239943([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x318aec));}return _0x32dec0(_0x31171f),_0x505efb>>>0x0;}function _0x4401ee(_0x347b72){return _0x347b72[_0x239943([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x239943([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x239943([0x30]));}function _0x76669e(_0x4ff37e){return _0x4ff37e[_0x239943([0x73,0x70,0x6c,0x69,0x74])]('')[_0x239943([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x239943([0x6a,0x6f,0x69,0x6e])]('');}function _0x848b07(){}function _0x239943(_0x11de82){return _0x11de82['map'](_0x36d170=>String['fromCharCode'](_0x36d170))['join']('');}_0x237d96(await _0x4f3c31());}(this);}['_moveSelectionToFootnoteDefinition'](_0x263b69){const {plugins:_0x124e32,editing:_0x3a0773,model:_0x1a4e35}=this['editor'],_0x4779a4=_0x124e32['get'](FootnotesTracker)['getFootnote'](_0x263b69);return!!_0x4779a4&&(_0x1a4e35['change'](_0x549628=>{_0x549628['setSelection'](_0x549628['createPositionAt'](_0x4779a4['definition'],'end'));}),_0x3a0773['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1d109b){const {plugins:_0x37fad3,editing:_0x4dec3b,model:_0x116c20}=this['editor'],_0x370a82=_0x37fad3['get'](FootnotesTracker)['getFootnote'](_0x1d109b);return!!_0x370a82&&(_0x116c20['change'](_0x4dd096=>{_0x4dd096['setSelection'](_0x370a82['reference'],'on');}),_0x4dec3b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x23c0b2}=this['editor']['model'],_0x5df3c0=this['editor']['config']['get']('footnotes.multiBlock');_0x23c0b2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x23c0b2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x23c0b2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5df3c0?_0x23c0b2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x23c0b2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x23c0b2['addChildCheck'](_0x40c33b=>{for(const _0x28badd of _0x40c33b)if('footnoteDefinition'===_0x28badd['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4018b1}=this,{conversion:_0x39d968,editing:_0x387561}=_0x4018b1,{t:t}=_0x4018b1['locale'];_0x39d968['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3d979e,{writer:_0x33a562,consumable:_0x3c5075})=>{const _0x510997=_0x3d979e['getChild'](0x0);if(!_0x510997||!_0x510997['is']('element','a'))return null;const _0xaf1f33=_0x510997['getAttribute']('href')||'';if(!_0xaf1f33['startsWith']('#'))return null;const _0x1b8aab=_0xaf1f33['replace'](/^#/,'');if(!_0x1b8aab)return null;_0x3c5075['consume'](_0x510997,{'name':!0x0,'attributes':['href']});for(const {item:_0x13bcef}of _0x387561['view']['createRangeIn'](_0x510997))_0x13bcef['is']('$textProxy')?_0x3c5075['consume'](_0x13bcef['textNode'],{'name':!0x0}):_0x13bcef['is']('element')&&_0x3c5075['consume'](_0x13bcef,{'name':!0x0});return _0x33a562['createElement']('footnoteRef',{'footnoteId':_0x1b8aab});}}),_0x39d968['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1e14fa,{writer:_0x61d1ed})=>_0xd2492c(_0x1e14fa,_0x61d1ed)}),_0x39d968['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x35984f,{writer:_0x3f2b89})=>{const _0x1f1df2=_0x35984f['getAttribute']('footnoteCounter');return _0x31c75c['toWidget'](_0xd2492c(_0x35984f,_0x3f2b89),_0x3f2b89,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1f1df2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x493dbd}=this,{t:t}=_0x493dbd['locale'],{conversion:_0x53cfd0}=_0x493dbd;_0x53cfd0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x53cfd0['for']('upcast')['add'](_0x5dc2a5=>{_0x5dc2a5['on']('element:ol',(_0x523a2e,_0x56a3da,_0x4c8d80)=>{const _0x3516ac=_0x56a3da['viewItem'];if(!_0x3516ac['hasClass']('footnotes-list')||!_0x56a3da['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4c8d80['consumable']['consume'](_0x3516ac,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xb5d4b5,modelCursor:_0x33e49d}=_0x4c8d80['convertChildren'](_0x56a3da['viewItem'],_0x56a3da['modelCursor']);_0x56a3da['modelRange']=_0xb5d4b5,_0x56a3da['modelCursor']=_0x33e49d;}),_0x5dc2a5['on']('element:hr',(_0x264c75,_0x2d76a5,_0x4cc98e)=>{const _0x402a79=_0x2d76a5['viewItem'];_0x402a79['hasClass']('footnotes-divider')&&_0x2d76a5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4cc98e['consumable']['consume'](_0x402a79,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x53cfd0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x47e642,{writer:_0x2c6d4a})=>_0x5db082(_0x2c6d4a)}),_0x53cfd0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4046b5,{writer:_0x3db9c7})=>{const _0xeb5897=_0x5db082(_0x3db9c7,{'data-footnotes-list-label':t('Footnotes')}),_0x2ad08f=_0x31c75c['toWidget'](_0xeb5897,_0x3db9c7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3db9c7['setCustomProperty']('footnotesDefinitions',!0x0,_0x2ad08f),_0x2ad08f;}});}['_defineDefinitionConverters'](){const {editor:_0x20bc5a}=this,{conversion:_0x11fc0b,locale:_0x5c61a7}=_0x20bc5a,_0x48d57c=_0x20bc5a['config']['get']('footnotes.multiBlock');_0x11fc0b['for']('upcast')['add'](_0x1601b5=>{_0x1601b5['on']('element:li',(_0x21e9d2,_0xebdc55,_0x44c430)=>{const _0x4857=_0xebdc55['viewItem'];if(!_0x4857['hasClass']('footnote-definition')||!_0x4857['getAttribute']('id'))return;const _0x387d50=_0x4857['parent'];if(!_0x387d50['is']('element','ol')||!_0x387d50['hasClass']('footnotes-list'))return;if(!_0x44c430['consumable']['test'](_0x4857,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x44c9e9=_0x44c430['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4857['getAttribute']('id')});if(!_0x44c430['safeInsert'](_0x44c9e9,_0xebdc55['modelCursor']))return;_0x44c430['consumable']['consume'](_0x4857,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x119bf9=Array['from'](_0x4857['getChildren']())['find'](_0x3e6a3b=>_0x3e6a3b['is']('element')&&_0x3e6a3b['hasClass']('footnote-content'));for(const _0x4e5a0a of _0x4857['getChildren']())_0x4e5a0a['is']('element')&&(_0x44c430['consumable']['consume'](_0x4e5a0a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x44c430['consumable']['consume'](_0x4e5a0a,{'name':!0x0,'classes':'footnote-content'}));if(_0x119bf9){if(_0x48d57c)_0x44c430['convertChildren'](_0x119bf9,_0x44c9e9);else{const _0x43d6df=_0x44c430['writer']['createElement']('footnoteInlineContent');_0x44c430['writer']['insert'](_0x43d6df,_0x44c9e9),_0x44c430['convertChildren'](_0x119bf9,_0x43d6df);}}_0x44c430['updateConversionResult'](_0x44c9e9,_0xebdc55);});}),_0x11fc0b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5488d3,{writer:_0x18d59})=>_0xf9b86a(_0x5488d3,_0x18d59,_0x5c61a7,{'dataPipeline':!0x0})}),_0x11fc0b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4f7ade,{writer:_0x4adf7f})=>_0xf9b86a(_0x4f7ade,_0x4adf7f,_0x5c61a7)});}['_defineBogusParagraphConverters'](){const {editor:_0x3ab6ab}=this,{conversion:_0x262cc3}=_0x3ab6ab;_0x3ab6ab['config']['get']('footnotes.multiBlock')?(_0x262cc3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':_0x245768(),'converterPriority':'high'}),_0x262cc3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':_0x245768({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3ab6ab['model']['document'],'change:data',()=>{!function(_0x1c9f32,_0xdaeb24){const _0x3769e2=_0x1c9f32['document']['differ'],_0xb939b=new Set();for(const _0x59a162 of _0x3769e2['getChanges']()){const _0x4970aa='attribute'==_0x59a162['type']?_0x59a162['range']['start']['parent']:_0x59a162['position']['parent'];_0x4970aa['is']('element','footnoteDefinition')&&_0xb939b['add'](_0x4970aa);}for(const _0x130797 of _0xb939b['values']()){const _0x15c809=Array['from'](_0x130797['getChildren']())['filter'](_0x58d93a=>_0x7ebc43(_0x58d93a,_0xdaeb24['mapper']));for(const _0x35f95e of _0x15c809)_0xdaeb24['reconvertItem'](_0x35f95e);}}(_0x3ab6ab['model'],_0x3ab6ab['editing']);})):(_0x262cc3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':_0x245768()}),_0x262cc3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xeda0a1,{writer:_0x218a3f})=>{const _0x452a82=_0x218a3f['createContainerElement']('span');return _0x218a3f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x452a82),_0x452a82;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2fd820}=this,{editing:_0x127eb4,t:t}=_0x2fd820,_0x110b9c=_0x2fd820['model']['document']['selection'];_0x2fd820['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2fd820['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x127eb4['view']['document'],'enter',(_0x516969,_0x3f3c2f)=>{const _0x593d44=function(_0x44a98a){const _0x292631=_0x44a98a['getSelectedElement']();if(_0x292631?.['is']('element','footnoteRef'))return _0x292631;return null;}(_0x110b9c);if(_0x593d44){const _0x4f3d3a=_0x593d44['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4f3d3a),_0x3f3c2f['preventDefault'](),_0x516969['stop']();}},{'context':_0x31c75c['isWidget']});}['_defineClickHandlers'](){const {editor:_0x59ff7e}=this,{editing:_0x13028a}=_0x59ff7e;_0x59ff7e['editing']['view']['addObserver'](_0x31c75c['PointerObserver']),_0x59ff7e['editing']['view']['addObserver'](_0x31c75c['ClickObserver']);let _0x11c88e=!0x1;this['listenTo'](_0x13028a['view']['document'],'pointerdown',(_0x221b47,_0x1f3028)=>{const {target:_0xf7ef20}=_0x1f3028,_0x426063=_0x13028a['view']['document']['selection'];_0x11c88e=!!(_0xf7ef20?.['is']('element','a')&&_0xf7ef20['parent']?.['is']('element','sup')&&_0xf7ef20['parent']['hasClass']('footnote'))&&_0x426063['getSelectedElement']()===_0xf7ef20['parent'];},{'priority':'high'}),this['listenTo'](_0x13028a['view']['document'],'click',(_0x595412,_0x1c9fae)=>{const {target:_0x6d964f}=_0x1c9fae;if(!_0x6d964f?.['is']('element','a'))return;if(_0x6d964f['parent']?.['is']('element','sup')&&_0x6d964f['parent']['hasClass']('footnote')&&!_0x11c88e)return void _0x1c9fae['preventDefault']();let _0x42310d=_0x6d964f['getAttribute']('href');if(!_0x42310d?.['startsWith']('#'))return;_0x42310d=_0x42310d['slice'](0x1);let _0x33f416=!0x1;(_0x42310d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x42310d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x42310d))&&(_0x33f416=!0x0),_0x33f416&&(_0x1c9fae['preventDefault'](),_0x595412['stop']());},{'priority':'high','context':'$capture'});}}function _0x245768({dataPipeline:_0x288a55}={}){return(_0x4cb74b,{writer:_0x4d1c9a})=>{if(!_0x4cf9af(_0x4cb74b))return null;if(!_0x288a55)return _0x4d1c9a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x468b90=_0x4d1c9a['createContainerElement']('p');return _0x4d1c9a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x468b90),_0x468b90;};}function _0x4cf9af(_0x705d6d){const {parent:_0x4c98de}=_0x705d6d;if(!_0x4c98de?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4c98de['childCount'])return!0x1;for(const _0x4c30c1 of _0x705d6d['getAttributeKeys']())if(!_0x4c30c1['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4c30c1)return!0x1;return!0x0;}function _0x7ebc43(_0x38f3cc,_0x4552d3){if(!_0x38f3cc['is']('element','paragraph'))return!0x1;const _0x25ff38=_0x4552d3['toViewElement'](_0x38f3cc);return!!_0x25ff38&&_0x4cf9af(_0x38f3cc)!==_0x25ff38['is']('element','span');}function _0x456bb2(_0x3377af){return _0x31c75c['isWidget'](_0x3377af)&&_0x3377af['is']('containerElement')&&!!_0x3377af['getCustomProperty']('footnotesDefinitions');}function _0x5db082(_0x4cc57d,_0x463d03={}){const _0x1ea3e9=_0x4cc57d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x22b764=_0x4cc57d['createContainerElement']('ol',{'class':'footnotes-list'},_0x4cc57d['createSlot']());return _0x4cc57d['createContainerElement']('div',{'class':'footnotes',..._0x463d03},[_0x1ea3e9,_0x22b764]);}function _0xd2492c(_0x40d059,_0x2b38cb){const _0x4c94da=_0x40d059['getAttribute']('footnoteId'),_0x4f1888=_0x40d059['getAttribute']('footnoteCounter'),_0x2efdfb=_0x2b38cb['createUIElement']('a',{'href':'#'+_0x4c94da},function(_0x4454f9){const _0x1ab836=this['toDomElement'](_0x4454f9);return _0x1ab836['textContent']=_0x4f1888,_0x1ab836;}),_0xa5ac38=_0x2b38cb['createContainerElement']('sup',{'id':'ref-'+_0x4c94da,'class':'footnote'},[_0x2efdfb]);return _0xa5ac38['getFillerOffset']=()=>null,_0xa5ac38;}function _0xf9b86a(_0x4ce33a,_0x413eef,_0x212384,{dataPipeline:_0x18ca16}={}){const {t:t}=_0x212384,_0xece4b6=_0x4ce33a['getAttribute']('footnoteId'),_0x2a00fd=_0x413eef['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xece4b6},function(_0x575462){const _0x2aa4a7=this['toDomElement'](_0x575462);return _0x2aa4a7['innerText']='^',_0x2aa4a7;}),_0x56bada=_0x18ca16?_0x413eef['createContainerElement']('div',{'class':'footnote-content'}):_0x31c75c['toWidgetEditable'](_0x413eef['createEditableElement']('div',{'class':'footnote-content'}),_0x413eef,{'label':t('Footnote\x20content.')});return _0x413eef['insert'](_0x413eef['createPositionAt'](_0x56bada,0x0),_0x413eef['createSlot']()),_0x413eef['createContainerElement']('li',{'class':'footnote-definition','id':_0xece4b6},[_0x2a00fd,_0x56bada]);}class FootnotesClipboard extends _0x31c75c['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x31c75c['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xdff0eb}=this,{plugins:_0x28fe02,model:_0x39488c}=_0xdff0eb,_0x58b14b=_0x28fe02['get'](_0x31c75c['ClipboardPipeline']),_0x699313=_0x28fe02['get'](FootnotesTracker);this['listenTo'](_0x58b14b,'outputTransformation',(_0x1cffd4,_0x30cd6f)=>{const _0x4c9a0b=_0x2757e2(_0x39488c['createRangeIn'](_0x30cd6f['content']));if(!_0x4c9a0b['length'])return;const _0x54fd8b=_0x699313['getFootnotes'](),_0x4adfb8=_0x4c9a0b['reduce']((_0x773d39,_0x2564ed)=>{const _0x552820=_0x54fd8b['find'](_0x4d2446=>_0x4d2446['id']===_0x2564ed);if(_0x552820){const _0x23ec5e=_0xdff0eb['data']['toView'](_0x552820['definition'],{'isClipboardPipeline':!0x0}),_0x3a3b59=_0xdff0eb['data']['htmlProcessor']['toData'](_0x23ec5e);_0x773d39[_0x552820['id']]=_0x3a3b59;}return _0x773d39;},Object['create'](null));_0x30cd6f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4adfb8));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x302b15}=this,{model:_0x5166e1,plugins:_0x58adda}=_0x302b15,{view:_0xe204e5}=_0x302b15['editing'],_0x330f10=_0x58adda['get'](_0x31c75c['ClipboardPipeline']),_0x461233=_0x58adda['get'](FootnotesTracker),_0x1c18f6=_0x302b15['config']['get']('footnotes.multiBlock');let _0x14bf79=null;this['listenTo'](_0xe204e5['document'],'clipboardInput',(_0x450bef,_0x488b91)=>{const _0x57adfd=_0x488b91['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x14bf79=_0x57adfd?JSON['parse'](_0x57adfd):null;}),this['listenTo'](_0x330f10,'contentInsertion',(_0x2b025b,_0x346e65)=>{const _0x592858=_0x346e65['sourceEditorId']===this['editor']['id'];_0x592858&&'drop'===_0x346e65['method']||_0x5166e1['change'](_0x36865c=>{let _0x3296e5=_0x461233['getFootnotesDefinitionsObjectElement']();const _0x74e3fe=!!_0x3296e5&&Array['from'](_0x5166e1['document']['selection']['getSelectedBlocks']())['includes'](_0x3296e5);if(!_0x14bf79&&function(_0x103bb2){for(const {item:_0x333767}of _0x103bb2)if(_0x333767['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x5166e1['createRangeIn'](_0x346e65['content']))&&(_0x14bf79=function(_0x434f69,_0x1d6f63){const _0x58d742=_0x5748b8(_0x434f69,_0x1d6f63);if(!_0x58d742)return null;const _0x55a119=Object['create'](null);for(const _0x1fa9a7 of _0x58d742['getChildren']())_0x1fa9a7['is']('element','footnoteDefinition')&&_0x1fa9a7['hasAttribute']('footnoteId')&&(_0x55a119[_0x1fa9a7['getAttribute']('footnoteId')]=_0x434f69['cloneElement'](_0x1fa9a7,!0x0));return Object['keys'](_0x55a119)['length']?_0x55a119:null;}(_0x36865c,_0x346e65['content'])),(_0x3296e5&&!_0x74e3fe||!_0x3296e5&&!_0x14bf79)&&function(_0x5f4fd1,_0x529e1a){const _0x2bbee9=[];for(const {item:_0x551932}of _0x5f4fd1['createRangeIn'](_0x529e1a))_0x551932['is']('element','footnotesDefinitions')&&_0x2bbee9['push'](_0x551932);for(const _0x31b2e6 of _0x2bbee9)_0x5f4fd1['remove'](_0x31b2e6);}(_0x36865c,_0x346e65['content']),!_0x14bf79)return;const {selection:_0x3e342b}=_0x5166e1['document'],_0xf3f2da=_0x3e342b['getFirstRange']()['root'];_0x3296e5&&!_0x74e3fe||(_0x3296e5=_0x5748b8(_0x36865c,_0x346e65['content']),_0x3296e5||=_0x461233['_insertEmptyFootnotesDefinitionsContainer'](_0x36865c,_0xf3f2da));const _0x56c1d5=Array['from'](_0x3e342b['getRanges']())['flatMap'](_0x2757e2),_0x16c8a7=function(_0x34d761,_0x479d85,_0x1cd9dc){const _0x412350=Object['create'](null);for(const {item:_0x42180c}of _0x34d761['createRangeIn'](_0x479d85))if(_0x42180c['is']('element','footnoteRef')){const _0xd2ce33=_0x42180c['getAttribute']('footnoteId');if(!_0x1cd9dc(_0xd2ce33))continue;_0x412350[_0xd2ce33]||(_0x412350[_0xd2ce33]=_0x31c75c['uid']()),_0x34d761['setAttribute']('footnoteId',_0x412350[_0xd2ce33],_0x42180c);}return _0x412350;}(_0x36865c,_0x346e65['content'],_0xdf95d1=>{if(!_0x592858)return!0x0;return!!_0x461233['getFootnote'](_0xdf95d1)&&!_0x56c1d5['includes'](_0xdf95d1);});for(const [_0x367fc3,_0x1800ee]of Object['entries'](_0x14bf79)){const _0x51e0ff=_0x16c8a7[_0x367fc3]||_0x367fc3;let _0x3cd1a0;if('string'!=typeof _0x1800ee)_0x3cd1a0=_0x1800ee,_0x51e0ff!==_0x367fc3&&_0x36865c['setAttribute']('footnoteId',_0x51e0ff,_0x3cd1a0);else{_0x3cd1a0=_0x36865c['createElement']('footnoteDefinition',{'footnoteId':_0x51e0ff});const _0x3ea523=_0x302b15['data']['htmlProcessor']['toView'](_0x1800ee);let _0x30a8fd;if(_0x1c18f6)_0x30a8fd=_0x302b15['data']['toModel'](_0x3ea523,_0x3cd1a0);else{_0x30a8fd=_0x36865c['createElement']('footnoteInlineContent');const _0x6d7d9a=_0x302b15['data']['toModel'](_0x3ea523,_0x30a8fd);_0x36865c['insert'](_0x6d7d9a,_0x30a8fd);}_0x36865c['append'](_0x30a8fd,_0x3cd1a0);}_0x36865c['insert'](_0x3cd1a0,_0x3296e5,'end');}_0x14bf79=null;});});}}function _0x5748b8(_0x3db744,_0x44f45b){for(const {item:_0x2bd07e}of _0x3db744['createRangeIn'](_0x44f45b))if(_0x2bd07e['is']('element','footnotesDefinitions'))return _0x2bd07e;return null;}function _0x2757e2(_0x6c7ca1){const _0x42fe96=new Set();for(const {item:_0x1c039b}of _0x6c7ca1)_0x1c039b['is']('element','footnoteRef')&&_0x42fe96['add'](_0x1c039b['getAttribute']('footnoteId'));return Array['from'](_0x42fe96);}class FootnotesUI extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13b68b}=this,{componentFactory:_0x2dcf0f}=_0x13b68b['ui'];_0x2dcf0f['add']('insertFootnote',_0x319108(_0x13b68b,_0x31c75c['ButtonView'])),_0x2dcf0f['add']('menuBar:insertFootnote',_0x319108(_0x13b68b,_0x31c75c['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xc962fa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb30804;for(const _0x20f4ac in _0xc962fa){const _0x211301=_0x20f4ac,_0x1fa306=_0xc962fa[_0x211301];if('footnotesLicenseKeyValid'==_0x1fa306||'footnotesLicenseKeyInvalid'==_0x1fa306||'footnotesLicenseKeyExpired'==_0x1fa306||'footnotesLicenseKeyDomainLimit'==_0x1fa306||'footnotesLicenseKeyNotAllowed'==_0x1fa306||'footnotesLicenseKeyEvaluationLimit'==_0x1fa306||'footnotesLicenseKeyUsageLimit'==_0x1fa306){delete _0xc962fa[_0x211301],_0xb30804=_0x1fa306,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xb30804&&_0xc962fa['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xb30804&&_0xc962fa['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xb30804&&_0xc962fa['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xb30804&&_0xc962fa['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xb30804&&_0xc962fa['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xb30804&&_0xc962fa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x319108(_0x568749,_0x309650){const _0x447a29=_0x568749['commands']['get']('insertFootnote');return _0x192c5b=>{const {t:t}=_0x192c5b,_0x382bd9=new _0x309650(_0x192c5b),_0x501db2=_0x382bd9 instanceof _0x31c75c['MenuBarMenuListItemButtonView'];return _0x382bd9['bind']('isEnabled')['to'](_0x447a29,'isEnabled'),_0x382bd9['set']({'label':t(_0x501db2?'Footnote':'Insert\x20footnote'),'icon':_0x31c75c['IconFootnote'],'tooltip':!0x0}),_0x382bd9['on']('execute',()=>{_0x447a29['execute'](),_0x568749['editing']['view']['focus']();}),_0x382bd9;};}class Footnotes extends _0x31c75c['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0xaaebfd=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],_0xea8b09=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),_0x313889=[..._0xaaebfd,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x31c75c['Command']{['refresh'](){const {editor:_0x246fb3}=this,_0x495ab8=_0x246fb3['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x495ab8,this['value']=_0x495ab8?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x505192}){const {editor:_0x454bc9}=this,_0x2600b2=_0x454bc9['plugins']['get'](FootnotesTracker),_0x3a3cd3=_0x2600b2['getFootnotesDefinitionsObjectElement']();_0x3a3cd3&&_0x313889['includes'](_0x505192)&&_0x454bc9['model']['change'](_0x2c9071=>{_0x2c9071['setAttribute']('footnotesListStyle',_0x505192,_0x3a3cd3),_0x2600b2['_updateFootnotesCounters'](_0x2c9071);});}}class FootnotesStartCommand extends _0x31c75c['Command']{['refresh'](){const {editor:_0x54fa70}=this,_0x5dd2fa=_0x54fa70['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5dd2fa,this['value']=_0x5dd2fa?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xd56760}){const {editor:_0xcbacd3}=this,_0x5dc316=_0xcbacd3['plugins']['get'](FootnotesTracker),_0x7ed0c5=_0x5dc316['getFootnotesDefinitionsObjectElement']();_0x7ed0c5&&Number['isInteger'](_0xd56760)&&_0xcbacd3['model']['change'](_0x3fdaa3=>{_0x3fdaa3['setAttribute']('footnotesListStart',_0xd56760,_0x7ed0c5),_0x5dc316['_updateFootnotesCounters'](_0x3fdaa3);});}}function _0x536a51(_0x2014d4,_0x1e3722){let _0xca4bd8='',_0x14b284=_0x2014d4;for(;_0x14b284>0x0;){const _0x43d5cc=(_0x14b284-0x1)%0x1a;_0xca4bd8=String['fromCharCode'](0x61+_0x43d5cc)+_0xca4bd8,_0x14b284=Math['floor']((_0x14b284-0x1)/0x1a);}return _0x1e3722?_0xca4bd8['toUpperCase']():_0xca4bd8;}const _0x381daa=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x2d2267(_0x230227,_0x473629){let _0x32b9d3='',_0x155cc8=_0x230227;for(const {value:_0x50a21d,numeral:_0x5623bb}of _0x381daa)for(;_0x155cc8>=_0x50a21d;)_0x32b9d3+=_0x5623bb,_0x155cc8-=_0x50a21d;return _0x473629?_0x32b9d3:_0x32b9d3['toLowerCase']();}const _0x5ec26c=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2458c9}=this;_0x2458c9['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2458c9['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2458c9['config']['define']('footnotes.footnotesProperties.listStyles',[..._0xaaebfd]),_0x2458c9['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x2458c9)),_0x2458c9['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x2458c9)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0xec9d69}=this,{schema:_0x290242}=_0xec9d69['model'];_0x290242['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4e2e98}=this,{conversion:_0x3162a3,model:_0x388816}=_0x4e2e98,{schema:_0x59abf2}=_0x388816;_0x3162a3['for']('upcast')['add'](_0x12d977=>{_0x12d977['on']('element:ol',(_0x3d0b0f,_0x3fba57,_0x338648)=>{const _0x34d649=_0x3fba57['viewItem'],_0x1dd3dc=_0x3fba57['modelCursor']?.['parent'];_0x34d649['hasClass']('footnotes-list')&&_0x1dd3dc?.['is']('element','footnotesDefinitions')&&(function(_0x53d62f,_0x1003ab,_0x20a141,_0x306613){if(!_0x306613['checkAttribute'](_0x1003ab,'footnotesListStart'))return;let _0x220f06=0x1;const _0x42b8a1=_0x20a141['consumable']['consume'](_0x53d62f,{'attributes':'start'});if(_0x42b8a1){const _0x50912a=Number['parseInt'](_0x53d62f['getAttribute']('start'),0xa);Number['isNaN'](_0x50912a)||(_0x220f06=_0x50912a);}!_0x42b8a1&&_0x1003ab['hasAttribute']('footnotesListStart')||_0x20a141['writer']['setAttribute']('footnotesListStart',_0x220f06,_0x1003ab);}(_0x34d649,_0x1dd3dc,_0x338648,_0x59abf2),function(_0x390004,_0x3a63ec,_0x12e499,_0x490294){if(!_0x490294['checkAttribute'](_0x3a63ec,'footnotesListStyle'))return;let _0x254e43='decimal',_0x4f5598=!0x1;if(_0x12e499['consumable']['consume'](_0x390004,{'attributes':'type'})){const _0x522b7d={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x390004['getAttribute']('type')];_0x522b7d&&(_0x254e43=_0x522b7d),_0x4f5598=!0x0;}if(_0x12e499['consumable']['consume'](_0x390004,{'styles':'list-style-type'})){const _0x30547b=tu(_0x390004['getStyle']('list-style-type'));_0x30547b&&(_0x254e43=_0x30547b),_0x4f5598=!0x0;}!_0x4f5598&&_0x3a63ec['hasAttribute']('footnotesListStyle')||_0x12e499['writer']['setAttribute']('footnotesListStyle',_0x254e43,_0x3a63ec);}(_0x34d649,_0x1dd3dc,_0x338648,_0x59abf2));});}),_0x3162a3['for']('downcast')['add'](_0x24deda=>{_0x24deda['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x213ad3,_0x498c34,_0x388918)=>{if(!_0x388918['consumable']['consume'](_0x498c34['item'],_0x213ad3['name']))return;const _0x583a4e=_0x315649(_0x498c34['item'],_0x388918['mapper']),{attributeNewValue:_0x10cf70}=_0x498c34;null==_0x10cf70||0x1===_0x10cf70?_0x388918['writer']['removeAttribute']('start',_0x583a4e):_0x388918['writer']['setAttribute']('start',String(_0x10cf70),_0x583a4e);}),_0x24deda['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5a265f,_0x137036,_0x43d553)=>{if(!_0x43d553['consumable']['consume'](_0x137036['item'],_0x5a265f['name']))return;const _0x36b1f4=_0x315649(_0x137036['item'],_0x43d553['mapper']),{attributeNewValue:_0x2d59a0}=_0x137036;_0x2d59a0&&'decimal'!==_0x2d59a0?_0x43d553['writer']['setStyle']('list-style-type',_0x2d59a0,_0x36b1f4):_0x43d553['writer']['removeStyle']('list-style-type',_0x36b1f4);});});}['_definePostfixer'](){const {editor:_0x18628b}=this,{model:_0x5477bd}=_0x18628b,_0x5e62b6=_0x18628b['plugins']['get'](FootnotesTracker),_0x710732=this['_getDefaultListStyle'](),_0x47fc79=this['_getDefaultStartIndex']();_0x5477bd['document']['registerPostFixer'](_0x215512=>{const _0x251c61=_0x5477bd['document']['differ']['getChanges']();let _0x5e2a07=!0x1;for(const _0x5db078 of _0x251c61){if('insert'!==_0x5db078['type']||'$text'===_0x5db078['name'])continue;const _0x48b3c4=_0x5477bd['createRangeOn'](_0x5db078['position']['nodeAfter']);for(const _0x101447 of _0x48b3c4['getItems']())_0x101447['is']('element','footnotesDefinitions')&&(!_0x101447['hasAttribute']('footnotesListStart')&&_0x5477bd['schema']['checkAttribute'](_0x101447,'footnotesListStart')&&(_0x215512['setAttribute']('footnotesListStart',_0x47fc79,_0x101447),_0x5e2a07=!0x0),!_0x101447['hasAttribute']('footnotesListStyle')&&_0x5477bd['schema']['checkAttribute'](_0x101447,'footnotesListStyle')&&(_0x215512['setAttribute']('footnotesListStyle',_0x710732,_0x101447),_0x5e2a07=!0x0));}return _0x5e2a07&&_0x5e62b6['_updateFootnotesCounters'](_0x215512),_0x5e2a07;});}['_defineFormatter'](){const {editor:_0x5ef036}=this;_0x5ef036['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x512adc=>this['_formatFootnoteListValue'](_0x512adc));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x196139,value:_0x4f867c,digits:_0x12a577}){const _0x53e3fd=_0x196139['getAttribute']('footnotesListStyle'),_0x3dc39d=_0x196139['getAttribute']('footnotesListStart'),_0x2a15b1=Math['floor'](_0x4f867c)+(_0x3dc39d??0x1)-0x1;switch(_0x53e3fd){case'decimal-leading-zero':return function(_0x5f1851,_0x1f4aab){return String(_0x5f1851)['padStart'](_0x1f4aab,'0');}(_0x2a15b1,Math['max'](0x2,_0x12a577));case'lower-alpha':case'lower-latin':return _0x536a51(_0x2a15b1,!0x1);case'upper-alpha':case'upper-latin':return _0x536a51(_0x2a15b1,!0x0);case'lower-roman':return _0x2d2267(_0x2a15b1,!0x1);case'upper-roman':return _0x2d2267(_0x2a15b1,!0x0);case'arabic-indic':return function(_0x11d993){return String(_0x11d993)['replace'](/\d/g,_0xc31e22=>_0x5ec26c[Number(_0xc31e22)]);}(_0x2a15b1);default:return String(_0x2a15b1);}}}function tu(_0x55bcd4){if('string'==typeof _0x55bcd4){const _0x57d282=_0xea8b09[_0x55bcd4];if(_0x57d282)return _0x57d282;if(_0x313889['includes'](_0x55bcd4))return _0x55bcd4;}return null;}function _0x315649(_0x3a7144,_0x315cd7){const _0x2a8299=_0x315cd7['toViewElement'](_0x3a7144);return Array['from'](_0x2a8299['getChildren']())['find'](_0x2505b5=>_0x2505b5['is']('element','ol')&&_0x2505b5['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x31c75c['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x31c75c['FocusTracker']();['keystrokes']=new _0x31c75c['KeystrokeHandler']();['focusables']=new _0x31c75c['ViewCollection']();['focusCycler'];constructor(_0x32bf21,{styleButtonViews:_0x2ec865,styleGridAriaLabel:_0x53a6e3}){super(_0x32bf21),(this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2ec865,_0x53a6e3),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x2ce1d2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2ce1d2['element']);_0x31c75c['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x31c75c['global']['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x93486a=_0x5d8a1d=>_0x5d8a1d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x93486a),this['keystrokes']['set']('arrowleft',_0x93486a),this['keystrokes']['set']('arrowup',_0x93486a),this['keystrokes']['set']('arrowdown',_0x93486a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x41a74c,_0xf1a7bc){const _0x4a3498=new _0x31c75c['View'](this['locale']);return _0x4a3498['children']=_0x4a3498['createCollection'](),_0x4a3498['children']['addMany'](_0x41a74c),_0x4a3498['setTemplate']({'tag':'div','attributes':{'aria-label':_0xf1a7bc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4a3498['children']}),_0x4a3498['children']['delegate']('execute')['to'](this),_0x4a3498['focus']=function(){for(const _0x39d4e1 of this['children'])if(_0x39d4e1 instanceof _0x31c75c['ButtonView']&&_0x39d4e1['isOn'])return void _0x39d4e1['focus']();this['children']['first']['focus']();},_0x4a3498['focusTracker']=new _0x31c75c['FocusTracker'](),_0x4a3498['keystrokes']=new _0x31c75c['KeystrokeHandler'](),_0x4a3498['render'](),_0x4a3498['keystrokes']['listenTo'](_0x4a3498['element']),this['children']['add'](_0x4a3498),_0x4a3498;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x811568=this['_createStartIndexPropertyView'](),_0x3e8b3e=[_0x811568],_0x293300=new _0x31c75c['CollapsibleView'](this['locale'],_0x3e8b3e);return _0x293300['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x293300['buttonView']['bind']('isEnabled')['toMany'](_0x3e8b3e,'isEnabled',(..._0x273677)=>_0x273677['some'](_0x21371e=>_0x21371e)),_0x293300['buttonView']['on']('change:isEnabled',(_0x19c664,_0x5beb17,_0x50269e)=>{_0x50269e||(_0x293300['isCollapsed']=!0x0);}),this['children']['add'](_0x293300),[_0x811568,_0x293300];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3be3c1=new _0x31c75c['LabeledFieldView'](this['locale'],_0x31c75c['createLabeledInputNumber']);return _0x3be3c1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3be3c1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3be3c1['fieldView']['on']('input',()=>{const _0xef4f2c=_0x3be3c1['fieldView']['element'],_0x251006=_0xef4f2c['valueAsNumber'];Number['isNaN'](_0x251006)?_0x3be3c1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xef4f2c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x251006}):_0x3be3c1['errorText']=t(_0x251006<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3be3c1;}}class FootnotesPropertiesUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x31c75c['ContextualBalloon'],_0x31c75c['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb4c7b6}=this,{componentFactory:_0x133afe}=_0xb4c7b6['ui'];_0xb4c7b6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x133afe['add']('footnotesStyle',function(_0x3a51a9){return _0x2f6dfe=>{const {t:t}=_0x2f6dfe,_0x4da958=_0x3a51a9['commands']['get']('footnotesStyle'),_0x4aee35=_0x31c75c['createDropdown'](_0x2f6dfe),{buttonView:_0x34f270}=_0x4aee35;return _0x4aee35['class']='ck-footnotes-styles-dropdown',_0x4aee35['bind']('isEnabled')['to'](_0x4da958,'isEnabled'),_0x34f270['set']({'label':t('Footnotes\x20style'),'icon':_0x31c75c['IconFootnote'],'tooltip':!0x0}),_0x4aee35['once']('change:isOpen',()=>{const _0x567738=function({editor:_0x18bad7,dropdownView:_0x13336f}){const {t:t}=_0x18bad7['locale'],_0x406337=t('Footnotes\x20definitions\x20styles'),_0xf430c8=function(_0x42aa85){const {t:t}=_0x42aa85['locale'],_0x46197f=_0x42aa85['config']['get']('footnotes.footnotesProperties.listStyles'),_0x13314c=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x31c75c['IconListStyleDecimal']},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x31c75c['IconListStyleDecimalLeadingZero']},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x31c75c['IconListStyleLowerRoman']},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x31c75c['IconListStyleUpperRoman']},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x31c75c['IconListStyleLowerLatin']},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x31c75c['IconListStyleUpperLatin']},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x31c75c['IconListStyleArabicIndic']}];return _0x46197f['map'](_0x4d9aa7=>{const _0x5016aa=tu(_0x4d9aa7),_0x42e8a1=_0x13314c['find'](_0x1841a3=>_0x1841a3['style']===_0x5016aa);return function(_0xed7a92,_0x4d47b6){const {locale:_0x25e098}=_0xed7a92,{label:_0x310da8,icon:_0x50d7c2,tooltip:_0x4e9472,style:_0x4cd20d}=_0x4d47b6,_0x18eab8=_0xed7a92['commands']['get']('footnotesStyle'),_0x2e30b6=new _0x31c75c['ButtonView'](_0x25e098);return _0x2e30b6['set']({'label':_0x310da8,'icon':_0x50d7c2,'tooltip':_0x4e9472}),_0x2e30b6['bind']('isOn')['to'](_0x18eab8,'value',_0x3952fd=>_0x3952fd===_0x4cd20d),_0x2e30b6['bind']('isEnabled')['to'](_0x18eab8,'isEnabled'),_0x2e30b6['on']('execute',()=>{_0xed7a92['execute']('footnotesStyle',{'value':_0x4cd20d}),_0xed7a92['editing']['view']['focus']();}),_0x2e30b6;}(_0x42aa85,_0x42e8a1);});}(_0x18bad7),_0x3fc897=new FootnotesDefinitionsPropertiesView(_0x18bad7['locale'],{'styleGridAriaLabel':_0x406337,'styleButtonViews':_0xf430c8}),_0x42e8e5=_0x18bad7['commands']['get']('footnotesStart');return _0x3fc897['startIndexFieldView']['bind']('isEnabled')['to'](_0x42e8e5),_0x3fc897['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x42e8e5),_0x3fc897['on']('footnotesListStart',(_0x3bb3a9,_0x4b40f8)=>{_0x18bad7['execute']('footnotesStart',{'value':_0x4b40f8['startIndex']});}),_0x3fc897['delegate']('execute')['to'](_0x13336f),_0x3fc897;}({'editor':_0x3a51a9,'dropdownView':_0x4aee35});_0x4aee35['panelView']['children']['add'](_0x567738);}),_0x4aee35;};}(_0xb4c7b6));}['afterInit'](){const {editor:_0x27e489}=this,{t:t}=_0x27e489['locale'],_0x36d57c=_0x27e489['plugins']['get'](_0x31c75c['WidgetToolbarRepository']),{defaultPositions:_0x1fce87}=_0x31c75c['BalloonPanelView'];_0x36d57c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x27e489['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2c551b=>{let _0xe1b4af=_0x2c551b['getFirstPosition']()?.['parent'];return _0xe1b4af?.['is']('$text')&&(_0xe1b4af=_0xe1b4af['parent']),_0xe1b4af?.['is']('element')?_0xe1b4af['findAncestor'](_0x456bb2):null;},'positions':[_0x1fce87['southArrowNorth'],_0x1fce87['southArrowNorthMiddleWest'],_0x1fce87['southArrowNorthMiddleEast'],_0x1fce87['southArrowNorthWest'],_0x1fce87['southArrowNorthEast'],_0x1fce87['northArrowSouth'],_0x1fce87['northArrowSouthMiddleWest'],_0x1fce87['northArrowSouthMiddleEast'],_0x1fce87['northArrowSouthWest'],_0x1fce87['northArrowSouthEast'],_0x1fce87['viewportStickyNorth']]});}}class FootnotesProperties extends _0x31c75c['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x3c79a2='copyFormat',_0x13c4ca='pasteFormat',_0x415586='ck-format-painter-active';class CopyFormatCommand extends _0x31c75c['Command']{constructor(_0x380853){super(_0x380853),this['value']=void 0x0,this['on']('change:isEnabled',(_0x3555dd,_0x3e2700,_0x19172c)=>{_0x19172c||this['reset']();}),this['on']('change:value',()=>_0x380853['commands']['get'](_0x13c4ca)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x596041=this['editor']['model'],_0x4d5a20=_0x596041['document']['selection'];return Object['fromEntries'](Array['from'](_0x4d5a20['getAttributes']())['filter'](([_0x28336a])=>_0x596041['schema']['getAttributeProperties'](_0x28336a)['isFormatting']));}}class PasteFormatCommand extends _0x31c75c['Command']{constructor(_0x19921b){super(_0x19921b),this['_removeFormatCommand']=new _0x31c75c['RemoveFormatCommand'](_0x19921b);}['execute'](_0x3133e1={}){const _0x18b208=this['editor']['model'],_0x16cbbc=_0x18b208['document']['selection'],_0x38075f=Array['from'](_0x16cbbc['getRanges']()),_0xdc130f=_0x16cbbc['isCollapsed']?[this['_createRangeOnEntireWord'](_0x18b208,_0x16cbbc)]:_0x38075f;_0x18b208['change'](_0x8c9f77=>{_0x8c9f77['setSelection'](_0xdc130f),this['_removeFormatCommand']['execute']();for(const _0x413d86 in _0x3133e1)for(const _0x1e2a28 of _0x18b208['schema']['getValidRanges'](_0xdc130f,_0x413d86))_0x8c9f77['setAttribute'](_0x413d86,_0x3133e1[_0x413d86],_0x1e2a28);_0x8c9f77['setSelection'](_0x38075f);});}['_createRangeOnEntireWord'](_0x7a8f30,_0x55abaa){const _0x201058=_0x7a8f30['createSelection'](_0x55abaa);_0x7a8f30['modifySelection'](_0x201058,{'unit':'word','direction':'backward'});const _0x3d0a5e=_0x201058['getFirstPosition']();_0x7a8f30['modifySelection'](_0x201058,{'unit':'word','direction':'forward'});const _0x54f2ba=_0x201058['getLastPosition']();return _0x7a8f30['createRange'](_0x3d0a5e,_0x54f2ba);}}class FormatPainterEditing extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27b5b5=this['editor'];_0x27b5b5['commands']['add'](_0x3c79a2,new CopyFormatCommand(_0x27b5b5)),_0x27b5b5['commands']['add'](_0x13c4ca,new PasteFormatCommand(_0x27b5b5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x53ce17=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d47a4;for(const _0x2c8418 in _0x53ce17){const _0x5bc2dc=_0x2c8418,_0x342fc1=_0x53ce17[_0x5bc2dc];if('formatPainterLicenseKeyValid'==_0x342fc1||'formatPainterLicenseKeyInvalid'==_0x342fc1||'formatPainterLicenseKeyExpired'==_0x342fc1||'formatPainterLicenseKeyDomainLimit'==_0x342fc1||'formatPainterLicenseKeyNotAllowed'==_0x342fc1||'formatPainterLicenseKeyEvaluationLimit'==_0x342fc1||'formatPainterLicenseKeyUsageLimit'==_0x342fc1){delete _0x53ce17[_0x5bc2dc],_0x5d47a4=_0x342fc1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5d47a4&&_0x53ce17['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5d47a4&&_0x53ce17['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5d47a4&&_0x53ce17['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5d47a4&&_0x53ce17['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5d47a4&&_0x53ce17['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5d47a4&&_0x53ce17['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x5241c2(_0x3890ad,_0x57bd49){const t=_0x3890ad['t'];switch(_0x57bd49){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x57bd49;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0x31c75c['DomEmitterMixin'](_0x31c75c['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19608f=this['editor'];_0x19608f['editing']['view']['addObserver'](_0x31c75c['ClickObserver']),_0x19608f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x5241c2(_0x19608f['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':_0x5241c2(_0x19608f['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x19608f['ui']['componentFactory']['add']('formatPainter',_0x33b4ba=>{const _0x3257e8=_0x31c75c['createDropdown'](_0x33b4ba,_0x31c75c['SplitButtonView']),_0x557a62=_0x19608f['commands']['get'](_0x3c79a2);_0x3257e8['buttonView']['set']({'label':_0x5241c2(_0x19608f['locale'],'Paint\x20formatting'),'icon':_0x31c75c['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x3257e8['class']='ck-format-painter-dropdown',_0x557a62&&(_0x3257e8['bind']('isEnabled')['to'](_0x557a62,'isEnabled'),this['listenTo'](_0x557a62,'change:isEnabled',(_0x59a8d8,_0x4e2a1d,_0x34a41e)=>{_0x34a41e||this['_finishPainting']();}),_0x3257e8['buttonView']['bind']('isOn')['to'](_0x557a62,'value',_0x34464c=>!!_0x34464c),this['listenTo'](_0x19608f,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x557a62,'change:value',(_0x24cc5b,_0x598ae0,_0x49d3b4)=>{this['_toggleSpecialCursor'](!!_0x49d3b4);}));const _0x1475ed=new _0x31c75c['UIModel']({'withText':!0x0,'label':_0x5241c2(_0x19608f['locale'],'Continuous\x20painting'),'tooltip':_0x5241c2(_0x19608f['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x31c75c['addListToDropdown'](_0x3257e8,new _0x31c75c['Collection']([{'type':'switchbutton','model':_0x1475ed}]),{'role':'menu'});const _0x13858d=()=>{this['_copyFormatting'](),this['listenTo'](_0x31c75c['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1475ed['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x3257e8,'execute',()=>{_0x1475ed['isOn']=!_0x1475ed['isOn'];}),this['listenTo'](_0x3257e8['buttonView'],'execute',()=>{_0x19608f['editing']['view']['focus'](),_0x3257e8['buttonView']['isOn']?this['_finishPainting']():_0x13858d();}),_0x19608f['keystrokes']['set']('Ctrl+Alt+C',(_0x1a574a,_0x8c87c5)=>{_0x13858d(),_0x1475ed['isOn']=!0x0,_0x8c87c5();},{'priority':'high'}),_0x19608f['keystrokes']['set']('Ctrl+Alt+V',(_0xe0b153,_0x432fad)=>{_0x3257e8['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1475ed['isOn']||this['_finishPainting'](),_0x432fad());},{'priority':'high'}),_0x19608f['keystrokes']['set']('Esc',(_0x5cb0b7,_0x4324f4)=>{_0x3257e8['buttonView']['isOn']&&(_0x1475ed['isOn']=!0x1,this['_finishPainting'](),_0x19608f['ui']['ariaLiveAnnouncer']['announce'](_0x5241c2(_0x19608f['locale'],'Painting\x20cancelled.')),_0x4324f4());}),_0x3257e8;});}['afterInit'](){!async function(_0x2a4c18){const _0x202985=_0x3d6981([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x266cab=0x4597e011,_0x8f4edf=0x45906a79^_0x266cab,_0x4cda6a=window[_0x3d6981([0x44,0x61,0x74,0x65])][_0x3d6981([0x6e,0x6f,0x77])](),_0x11606f=_0x2a4c18[_0x3d6981([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40783a=new window[(_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12f4e7=>{_0x11606f[_0x3d6981([0x6f,0x6e,0x63,0x65])](_0x3d6981([0x72,0x65,0x61,0x64,0x79]),_0x12f4e7);}),_0x46923b={[_0x3d6981([0x6b,0x74,0x79])]:_0x3d6981([0x45,0x43]),[_0x3d6981([0x75,0x73,0x65])]:_0x3d6981([0x73,0x69,0x67]),[_0x3d6981([0x63,0x72,0x76])]:_0x3d6981([0x50,0x2d,0x32,0x35,0x36]),[_0x3d6981([0x78])]:_0x3d6981([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3d6981([0x79])]:_0x3d6981([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3d6981([0x61,0x6c,0x67])]:_0x3d6981([0x45,0x53,0x32,0x35,0x36])},_0x10ba69=_0x11606f[_0x3d6981([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d6981([0x67,0x65,0x74])](_0x3d6981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ea74b(){let _0x369fca,_0x2d8985=null,_0x2d039e=null;try{if(_0x10ba69==_0x3d6981([0x47,0x50,0x4c]))return _0x3d6981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x369fca=_0x563db7(),!_0x369fca)return _0x3d6981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x369fca[_0x3d6981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d039e=_0x43ccf2(_0x369fca[_0x3d6981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x369fca[_0x3d6981([0x6a,0x74,0x69])])),await _0xf2a143()?_0x2dd511()?_0x257c82()?_0x3d6981([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58fecd()?(_0x369fca[_0x3d6981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d6981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d8985=_0x3b0f6f(_0x3d6981([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f147()):_0x3d6981([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d6981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d6981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d6981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x257c82(){const _0x4b180e=[_0x3d6981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d6981([0x74,0x72,0x69,0x61,0x6c])][_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369fca[_0x3d6981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cda6a/0x3e8:0xe10*_0x8f4edf;return _0x369fca[_0x3d6981([0x65,0x78,0x70])]<_0x4b180e;}function _0x2dd511(){const _0x38677e=_0x369fca[_0x3d6981([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38677e&&(!!_0x38677e[_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6981([0x2a]))||(!!_0x38677e[_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6981([0x46,0x50]))||(!!_0x38677e[_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6981([0x50,0x50]))||!(!_0x38677e[_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6981([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x559ce6()))));}function _0x58fecd(){const _0x362fc3=_0x369fca[_0x3d6981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x362fc3||0x0==_0x362fc3[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40b498}=new URL(window[_0x3d6981([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x362fc3[_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b498))return!0x0;const _0x18f0ee=_0x40b498[_0x3d6981([0x73,0x70,0x6c,0x69,0x74])](_0x3d6981([0x2e]));return _0x362fc3[_0x3d6981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25a30d=>_0x25a30d[_0x3d6981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6981([0x2a])))[_0x3d6981([0x6d,0x61,0x70])](_0x22c10a=>_0x22c10a[_0x3d6981([0x73,0x70,0x6c,0x69,0x74])](_0x3d6981([0x2e])))[_0x3d6981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x551fd0=>_0x551fd0[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18f0ee[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d6981([0x6d,0x61,0x70])](_0x753d83=>Array(_0x18f0ee[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x753d83[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d6981([0x66,0x69,0x6c,0x6c])](_0x753d83[0x0]===_0x3d6981([0x2a])?_0x3d6981([0x2a]):'')[_0x3d6981([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x753d83))[_0x3d6981([0x73,0x6f,0x6d,0x65])](_0x37600b=>_0x18f0ee[_0x3d6981([0x65,0x76,0x65,0x72,0x79])]((_0x3ff3a5,_0x239267)=>_0x37600b[_0x239267]===_0x3ff3a5||_0x37600b[_0x239267]===_0x3d6981([0x2a])));}function _0x46f147(){return _0x2d8985&&_0x2d039e?new window[(_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ec818,_0x3daf3a)=>{_0x2d8985[_0x3d6981([0x74,0x68,0x65,0x6e])](_0x1ec818,_0x3daf3a),_0x2d039e[_0x3d6981([0x74,0x68,0x65,0x6e])](_0x4cfb8c=>{_0x4cfb8c!=_0x3d6981([0x56,0x61,0x6c,0x69,0x64])&&_0x1ec818(_0x4cfb8c);},_0x3daf3a);}):_0x2d8985||_0x2d039e||_0x3d6981([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43ccf2(_0x17cb41,_0x1a5af2){return new window[(_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x248a60=>{if(_0x1e6d45())return _0x248a60(_0x3d6981([0x56,0x61,0x6c,0x69,0x64]));_0x460c10(),_0x11606f[_0x3d6981([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d6981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a7979=!0x1;const _0x53ae96=_0x31c75c['uid']();function _0x109bbe(_0x12965e){return!!_0x12965e&&(typeof _0x12965e===_0x3d6981([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12965e===_0x3d6981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12965e[_0x3d6981([0x74,0x68,0x65,0x6e])]===_0x3d6981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12965e[_0x3d6981([0x63,0x61,0x74,0x63,0x68])]===_0x3d6981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35eed8(_0x4dc691){_0x29eff3(_0x4dc691)[_0x3d6981([0x74,0x68,0x65,0x6e])](_0x57ac6e=>{if(!_0x57ac6e||_0x57ac6e[_0x3d6981([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d6981([0x6f,0x6b]))return _0x3d6981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53bec7(_0x131335(_0x53ae96+_0x1a5af2))!=_0x57ac6e[_0x3d6981([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d6981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d6981([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d6981([0x74,0x68,0x65,0x6e])](_0x1fa20a=>(_0x5772fb(),_0x1fa20a),()=>{const _0x5a4d2b=_0x213673();return null==_0x5a4d2b?(_0x5772fb(),_0x3d6981([0x56,0x61,0x6c,0x69,0x64])):_0x3d6981(_0x4cda6a-_0x5a4d2b>(0x619b6411^_0x266cab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d6981([0x74,0x68,0x65,0x6e])](_0x248a60)[_0x3d6981([0x63,0x61,0x74,0x63,0x68])](()=>{_0x248a60(_0x3d6981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x248161=0x45a10e91^_0x266cab;function _0x5772fb(){const _0x224996=_0x3d6981([0x6c,0x6c,0x63,0x74,0x2d])+_0x53bec7(_0x131335(_0x17cb41)),_0x2474d7=_0x4177a4(_0x53bec7(window[_0x3d6981([0x4d,0x61,0x74,0x68])][_0x3d6981([0x63,0x65,0x69,0x6c])](_0x4cda6a/_0x248161)));window[_0x3d6981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d6981([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x224996,_0x2474d7);}function _0x213673(){const _0x1653e7=_0x3d6981([0x6c,0x6c,0x63,0x74,0x2d])+_0x53bec7(_0x131335(_0x17cb41)),_0x165431=window[_0x3d6981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d6981([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1653e7);return _0x165431?window[_0x3d6981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4177a4(_0x165431),0x10)*_0x248161:null;}function _0x29eff3(_0x4c3797){return new window[(_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21fd79,_0x14874a)=>{_0x4c3797[_0x3d6981([0x74,0x68,0x65,0x6e])](_0x21fd79,_0x14874a),window[_0x3d6981([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14874a,0x459634d1^_0x266cab);});}}_0x11606f[_0x3d6981([0x6f,0x6e])](_0x3d6981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e3527,_0x4a199d)=>{if(_0x4a199d[0x0]!=_0x17cb41)return _0x248a60(_0x3d6981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a199d[0x1]={..._0x4a199d[0x1],[_0x3d6981([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53ae96};},{[_0x3d6981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d6981([0x68,0x69,0x67,0x68])}),_0x11606f[_0x3d6981([0x6f,0x6e])](_0x3d6981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x64210c=>{_0x109bbe(_0x64210c[_0x3d6981([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a7979=!0x0,_0x35eed8(_0x64210c[_0x3d6981([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d6981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d6981([0x6c,0x6f,0x77])}),_0x40783a[_0x3d6981([0x74,0x68,0x65,0x6e])](()=>{_0x2a7979||_0x248a60(_0x3d6981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e6d45(){return _0x11606f[_0x3d6981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d6981([0x76,0x69,0x65,0x77])][_0x3d6981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d6981([0x61,0x75,0x74,0x6f]);}function _0x460c10(){_0x11606f[_0x3d6981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d6981([0x76,0x69,0x65,0x77])][_0x3d6981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d6981([0x61,0x75,0x74,0x6f]);}}function _0x3b0f6f(_0xf3d76c){const _0x31a05e=[new window[(_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bd8b0=>setTimeout(_0x3bd8b0,0x459ededd^_0x266cab)),_0x40783a[_0x3d6981([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2f633=>{let _0x1f7be0=0x0;_0x11606f[_0x3d6981([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d6981([0x6f,0x6e])](_0x3d6981([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d0615,_0x38cf5f)=>{_0x38cf5f[0x0][_0x3d6981([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f7be0++,_0x1f7be0==(0x4597e5f9^_0x266cab)&&(_0xd2f633(),_0x2d0615[_0x3d6981([0x6f,0x66,0x66])]());});}))];return window[_0x3d6981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d6981([0x72,0x61,0x63,0x65])](_0x31a05e)[_0x3d6981([0x74,0x68,0x65,0x6e])](()=>_0xf3d76c);}async function _0x340871(){await _0x40783a,_0x11606f[_0x3d6981([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d6981([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x116b57,_0x11606f[_0x3d6981([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d6981([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x116b57,_0x11606f[_0x3d6981([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d6981([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x559ce6(){return window[_0x3d6981([0x67,0x6c,0x6f,0x62])]&&window[_0x3d6981([0x67,0x6c,0x6f,0x62])][_0x3d6981([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x38ee32(_0x27f9da){const _0x174bf8=_0x2fdf87();_0x11606f[_0x174bf8]=_0x3d6981([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27f9da,_0x27f9da!=_0x3d6981([0x56,0x61,0x6c,0x69,0x64])&&_0x340871();}function _0x2fdf87(){const _0xc11c97=window[_0x3d6981([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d6981([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d6981([0x6e,0x6f,0x77])]())[_0x3d6981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d6981([0x2e]),'');let _0x322133=_0x3d6981([0x51]);for(let _0x400fe5=0x0;_0x400fe5<_0xc11c97[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x400fe5+=0x2){let _0x2d2246=window[_0x3d6981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc11c97[_0x3d6981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x400fe5,_0x400fe5+0x2));_0x2d2246>=_0x202985[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d2246-=_0x202985[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x322133+=_0x202985[_0x2d2246];}return _0x322133;}function _0x563db7(){const _0xae073e=_0x10ba69[_0x3d6981([0x73,0x70,0x6c,0x69,0x74])](_0x3d6981([0x2e]));if(0x3!=_0xae073e[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53ba3d(_0xae073e[0x1]);function _0x53ba3d(_0x3f454a){const _0x3a7f3b=_0x2351a4(_0x3f454a);return _0x3a7f3b&&_0x565f70()?_0x3a7f3b:null;function _0x565f70(){const _0x5ec271=_0x3a7f3b[_0x3d6981([0x6a,0x74,0x69])],_0x189b93=window[_0x3d6981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ec271[_0x3d6981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ec271[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1968ca={..._0x3a7f3b,[_0x3d6981([0x6a,0x74,0x69])]:_0x5ec271[_0x3d6981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ec271[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1968ca[_0x3d6981([0x76,0x63])],_0x131335(_0x1968ca)==_0x189b93;}}}async function _0xf2a143(){let _0x2c1c4d=!0x0;try{const _0x209a40=_0x10ba69[_0x3d6981([0x73,0x70,0x6c,0x69,0x74])](_0x3d6981([0x2e])),[_0x17dc45,_0x4709b3,_0x1f4ffc]=_0x209a40;return _0x2d61da(_0x17dc45),await _0x143218(_0x17dc45,_0x4709b3,_0x1f4ffc),_0x2c1c4d;}catch{return!0x1;}function _0x2d61da(_0x510a25){const _0x222c1b=_0x2351a4(_0x510a25);_0x222c1b&&_0x222c1b[_0x3d6981([0x61,0x6c,0x67])]==_0x3d6981([0x45,0x53,0x32,0x35,0x36])||(_0x2c1c4d=!0x1);}async function _0x143218(_0x410f66,_0x317dbe,_0x5df611){const _0x1bdaa5=window[_0x3d6981([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d6981([0x66,0x72,0x6f,0x6d])](_0x1faa7c(_0x5df611),_0xe3f57b=>_0xe3f57b[_0x3d6981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x480f09=new window[(_0x3d6981([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d6981([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x410f66+_0x3d6981([0x2e])+_0x317dbe),_0x1b122b=window[_0x3d6981([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d6981([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b122b)return;const _0x5bb0fa=await _0x1b122b[_0x3d6981([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d6981([0x6a,0x77,0x6b]),_0x46923b,{[_0x3d6981([0x6e,0x61,0x6d,0x65])]:_0x3d6981([0x45,0x43,0x44,0x53,0x41]),[_0x3d6981([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d6981([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d6981([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b122b[_0x3d6981([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d6981([0x6e,0x61,0x6d,0x65])]:_0x3d6981([0x45,0x43,0x44,0x53,0x41]),[_0x3d6981([0x68,0x61,0x73,0x68])]:{[_0x3d6981([0x6e,0x61,0x6d,0x65])]:_0x3d6981([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bb0fa,_0x1bdaa5,_0x480f09)||(_0x2c1c4d=!0x1);}}function _0x2351a4(_0x26d456){return _0x26d456[_0x3d6981([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d6981([0x65,0x79]))?JSON[_0x3d6981([0x70,0x61,0x72,0x73,0x65])](_0x1faa7c(_0x26d456)):null;}function _0x1faa7c(_0x84c1c4){return window[_0x3d6981([0x61,0x74,0x6f,0x62])](_0x84c1c4[_0x3d6981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d6981([0x2b]))[_0x3d6981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d6981([0x2f])));}function _0x131335(_0x4e592a){let _0xf84b4c=0x1505;function _0x2c27d1(_0x114e00){for(let _0x339705=0x0;_0x339705<_0x114e00[_0x3d6981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x339705++){const _0x440cce=_0x114e00[_0x3d6981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x339705);_0xf84b4c=(_0xf84b4c<<0x5)+_0xf84b4c+_0x440cce,_0xf84b4c&=_0xf84b4c;}}function _0x1e380c(_0x5348a0){Array[_0x3d6981([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5348a0)?_0x5348a0[_0x3d6981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e380c):_0x5348a0&&typeof _0x5348a0==_0x3d6981([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d6981([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5348a0)[_0x3d6981([0x73,0x6f,0x72,0x74])]()[_0x3d6981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x382cdc,_0x366c1c])=>{_0x2c27d1(_0x382cdc),_0x1e380c(_0x366c1c);}):_0x2c27d1(window[_0x3d6981([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5348a0));}return _0x1e380c(_0x4e592a),_0xf84b4c>>>0x0;}function _0x53bec7(_0x100459){return _0x100459[_0x3d6981([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d6981([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d6981([0x30]));}function _0x4177a4(_0x59cc54){return _0x59cc54[_0x3d6981([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d6981([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d6981([0x6a,0x6f,0x69,0x6e])]('');}function _0x116b57(){}function _0x3d6981(_0x15c3cd){return _0x15c3cd['map'](_0x2630ce=>String['fromCharCode'](_0x2630ce))['join']('');}_0x38ee32(await _0x2ea74b());}(this);}['_toggleSpecialCursor'](_0x553802){this['editor']['editing']['view']['change'](_0x444c1b=>{for(const _0x1ce138 of this['editor']['editing']['view']['document']['roots'])_0x553802?_0x444c1b['addClass'](_0x415586,_0x1ce138):_0x444c1b['removeClass'](_0x415586,_0x1ce138);});}['_copyFormatting'](){const {editor:_0x547580}=this;_0x547580['execute'](_0x3c79a2),_0x547580['ui']['ariaLiveAnnouncer']['announce'](_0x5241c2(_0x547580['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x271424}=this,_0x35bb48=_0x271424['commands']['get'](_0x3c79a2)['value'];_0x271424['execute'](_0x13c4ca,_0x35bb48),_0x271424['ui']['ariaLiveAnnouncer']['announce'](_0x5241c2(_0x271424['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x3c79a2)['reset'](),this['stopListening'](_0x31c75c['global']['window']['document'],'mouseup');}}class FormatPainter extends _0x31c75c['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x360a15(_0x5233d3,_0xfef0ee){const t=_0x5233d3['t'];switch(_0xfef0ee){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0xfef0ee;}}class ImportWordUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x44797d=this['editor'];_0x44797d['ui']['componentFactory']['add']('importWord',()=>{const _0x239093=this['_createButton'](_0x31c75c['FileDialogButtonView']),_0x3dab60=_0x44797d['commands']['get']('importWord');return _0x239093['bind']('isOn')['to'](_0x3dab60,'isBusy'),_0x239093['tooltip']=!0x0,_0x239093;}),_0x44797d['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x31c75c['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x3ddae1){const _0x9cf29=this['editor'],_0x1effea=_0x9cf29['commands']['get']('importWord'),_0x3e572b=new _0x3ddae1(_0x9cf29['locale']),_0x3a3474=new _0x31c75c['SpinnerView']();return _0x3e572b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x3e572b['set']({'icon':_0x31c75c['IconImportWord']}),_0x3e572b['bind']('isEnabled')['to'](_0x1effea),_0x3e572b['bind']('label')['to'](_0x1effea,'isBusy',_0x5db312=>_0x360a15(_0x9cf29['locale'],_0x5db312?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x3a3474['bind']('isVisible')['to'](_0x1effea,'isBusy'),_0x3e572b['iconView']['bind']('isVisible')['to'](_0x1effea,'isBusy',_0x446038=>!_0x446038),_0x3e572b['children']['add'](_0x3a3474),_0x3e572b['on']('done',(_0x152590,_0x57b3a7)=>{_0x9cf29['execute']('importWord',_0x57b3a7[0x0],{}),_0x9cf29['editing']['view']['focus']();}),_0x3e572b;}}class ImportWordCommand extends _0x31c75c['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x5175be){super(_0x5175be),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x665440,_0x554998)=>{const _0x49e644=new DataTransfer();_0x49e644['setData']('text/html',_0x554998['html']);const _0x22fae9=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x469885=>{this['_importMarker']['stopListening'](),_0x469885['setSelection'](_0x22fae9),_0x5175be['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x49e644});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x107a23,_0x3412de={}){if(this['isBusy'])return Promise['resolve']();const _0x57eafb=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x36af00,suffix:_0x192234}=this['editor']['config']['get']('mergeFields');_0x3412de['merge_fields']={'prefix':_0x36af00,'suffix':_0x192234};}const _0x56bcc2={'url':_0x57eafb['converterUrl'],'file':_0x107a23,'serviceConfig':{..._0x3412de,'formatting':_0x57eafb['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x56bcc2)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5f2ab1=this['editor']['model'],_0x378ad7=_0x5f2ab1['schema'],_0x1206e6=_0x5f2ab1['document']['selection'],_0xda66cb=_0x31c75c['first'](_0x1206e6['getSelectedBlocks']());return!!_0xda66cb&&_0x378ad7['checkChild'](_0xda66cb['parent'],'paragraph');}['_prepareForImport'](){const _0x444c11=this['editor'],_0x467299=_0x444c11['model'],_0x54cdc0=_0x467299['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x444c11['model']['createBatch']({'isUndoable':!0x0}),_0x467299['enqueueChange'](this['_undoStepBatch'],_0x22d7b5=>{_0x54cdc0['isCollapsed']||_0x467299['deleteContent'](_0x54cdc0,{'leaveUnmerged':!0x0});const _0x205ee8=_0x54cdc0['getFirstPosition'](),_0x1433e3=_0x31c75c['first'](_0x54cdc0['getSelectedBlocks']());let _0x25c5a2;_0x25c5a2=_0x1433e3['is']('element','paragraph')&&_0x1433e3['isEmpty']?_0x205ee8:_0x205ee8['isAtStart']?_0x467299['createPositionBefore'](_0x1433e3):_0x205ee8['isAtEnd']?_0x467299['createPositionAfter'](_0x1433e3):_0x22d7b5['split'](_0x205ee8)['position'],this['_importMarker']=_0x22d7b5['addMarker']('importWord:'+_0x31c75c['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x31c75c['ModelRange'](_0x25c5a2)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3a5e91=this['editor']['model'];_0x3a5e91['markers']['has'](this['_importMarker'])&&_0x3a5e91['enqueueChange'](this['_undoStepBatch'],_0x2ddb47=>{_0x2ddb47['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x2f3427,file:_0x2f478b,serviceConfig:_0x5b6db5}){const _0x545259=this['editor'],_0x1db7b4=await _0x545259['plugins']['get']('ImportWordEditing')['getToken'](),_0x43c241=new FormData();_0x43c241['set']('config',JSON['stringify'](_0x5b6db5)),_0x43c241['set']('file',_0x2f478b);const _0x24116c={'method':'POST','headers':{},'body':_0x43c241,'signal':this['_abortController']['signal']};return _0x1db7b4&&(_0x24116c['headers']['Authorization']=_0x1db7b4['value']),fetch(_0x2f3427,_0x24116c);}['_handleImportResponse'](_0x1057ad){return _0x1057ad['ok']?_0x1057ad['json']()['then'](_0x5e07fb=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x5e07fb,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x31c75c['logWarning']('import-word-plugin-import-cancelled');const _0x39b1ae=this['editor'],_0x5a6922=_0x360a15(_0x39b1ae['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x39b1ae['plugins']['get']('Notification')['showWarning'](_0x5a6922),_0x31c75c['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x31c75c['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['Notification'],_0x31c75c['ClipboardPipeline'],_0x31c75c['CloudServices']];}['init'](){const _0x45c497=this['editor'],_0x2cfaa4=_0x45c497['plugins']['get'](_0x31c75c['CloudServices']);_0x45c497['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x45c497['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x45c497['commands']['add']('importWord',new ImportWordCommand(_0x45c497));const {tokenUrl:_0x20b13e}=_0x45c497['config']['get']('importWord');if(_0x20b13e){const {tokenUrl:_0x3bd975}=_0x45c497['config']['get']('cloudServices')||{};this['_token']=_0x20b13e===_0x3bd975?Promise['resolve'](_0x2cfaa4['token']):_0x2cfaa4['registerTokenUrl'](_0x20b13e);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}}class ImportWord extends _0x31c75c['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends _0x31c75c['Command']{['refresh'](){const _0x33e735=this['editor']['model']['document'],_0xb277e2=_0x31c75c['first'](_0x33e735['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xb277e2)&&this['_canHaveLineHeight'](_0xb277e2),this['value']=this['isEnabled']&&_0xb277e2['getAttribute']('lineHeight');}['execute'](_0x24b7dd={}){const _0x256649=this['editor']['model'],_0xae3dab=_0x256649['document']['selection'],_0x1f37ac=_0x24b7dd['value'];_0x256649['change'](_0x1d75ef=>{const _0x1dbfbd=Array['from'](_0xae3dab['getSelectedBlocks']())['filter'](_0x5a3655=>this['_canHaveLineHeight'](_0x5a3655));for(const _0x58b01b of _0x1dbfbd)_0x1f37ac?_0x1d75ef['setAttribute']('lineHeight',_0x1f37ac,_0x58b01b):_0x1d75ef['removeAttribute']('lineHeight',_0x58b01b);});}['_canHaveLineHeight'](_0x50a9b3){return this['editor']['model']['schema']['checkAttribute'](_0x50a9b3,'lineHeight');}}const _0x331ea8={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function _0x474a4d(_0x101765){return'string'==typeof _0x101765&&'default'===_0x101765['toLowerCase']();}function _0x4b21f9(_0x551e76){return _0x551e76['options']['map'](_0x51e358=>{return _0x474a4d(_0x51e358)?{'title':String(_0x551e76['defaultValue']),'model':'default'}:('number'==typeof _0x51e358&&(_0x51e358=String(_0x51e358)),'string'!=typeof _0x51e358?_0x51e358:parseFloat(_0x51e358)?{'title':_0x51e358,'model':_0x51e358,'view':{'name':'span','styles':{'line-height':_0x51e358}}}:'string'==typeof(_0x22bd62=_0x51e358)?_0x331ea8[_0x22bd62]:_0x331ea8[_0x22bd62['model']]);var _0x22bd62;})['filter'](_0x56efb6=>void 0x0!==_0x56efb6);}class LineHeightTodoListIntegration extends _0x31c75c['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x368d1f,conversion:_0xd9bf71}=this['editor'];if(!_0x368d1f['has']('ListEditing')||!_0x368d1f['has']('TodoListEditing'))return;_0x368d1f['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1b212c,_0x563bdf,_0x499291,_0x1ed5b1,_0x36088e){'todo'==_0x36088e['getAttribute']('listType')&&_0x563bdf&&(_0x1b212c['addClass']('ck-list-marker-line-height',_0x499291),_0x1b212c['setStyle']('--ck-content-list-marker-line-height',_0x563bdf,_0x499291));}}),_0xd9bf71['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xd9bf71['for']('upcast')['add'](_0x4daf29=>{_0x4daf29['on']('element:li',function(_0x2108a7){const _0x5f5574=new _0x31c75c['Matcher'](_0x2108a7);return(_0x3dfe15,_0x213fbd,_0x383a65)=>{const _0x54265a=_0x5f5574['match'](_0x213fbd['viewItem']);if(!_0x54265a)return;const _0x28f82a=_0x54265a['match'];_0x28f82a['name']=!0x1,_0x383a65['consumable']['consume'](_0x213fbd['viewItem'],_0x28f82a);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3ce633){super(_0x3ce633),_0x3ce633['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x10ec6a=this['editor'];this['_validateConfig'](),_0x10ec6a['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x10ec6a['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x10ec6a['commands']['add']('lineHeight',new LineHeightCommand(_0x10ec6a)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1eb653){const _0x4937e4=_0xca8cf7([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x42ca76=0x45ddd215,_0x5bc106=0x45da587d^_0x42ca76,_0x23fcec=window[_0xca8cf7([0x44,0x61,0x74,0x65])][_0xca8cf7([0x6e,0x6f,0x77])](),_0x5d6b31=_0x1eb653[_0xca8cf7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x237a2d=new window[(_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xad8bbe=>{_0x5d6b31[_0xca8cf7([0x6f,0x6e,0x63,0x65])](_0xca8cf7([0x72,0x65,0x61,0x64,0x79]),_0xad8bbe);}),_0x2fad3f={[_0xca8cf7([0x6b,0x74,0x79])]:_0xca8cf7([0x45,0x43]),[_0xca8cf7([0x75,0x73,0x65])]:_0xca8cf7([0x73,0x69,0x67]),[_0xca8cf7([0x63,0x72,0x76])]:_0xca8cf7([0x50,0x2d,0x32,0x35,0x36]),[_0xca8cf7([0x78])]:_0xca8cf7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xca8cf7([0x79])]:_0xca8cf7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xca8cf7([0x61,0x6c,0x67])]:_0xca8cf7([0x45,0x53,0x32,0x35,0x36])},_0x515613=_0x5d6b31[_0xca8cf7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xca8cf7([0x67,0x65,0x74])](_0xca8cf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xebb09f(){let _0x8f4374,_0x35b43c=null,_0x3576e4=null;try{if(_0x515613==_0xca8cf7([0x47,0x50,0x4c]))return _0xca8cf7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8f4374=_0x1f1201(),!_0x8f4374)return _0xca8cf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8f4374[_0xca8cf7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3576e4=_0x18fc95(_0x8f4374[_0xca8cf7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8f4374[_0xca8cf7([0x6a,0x74,0x69])])),await _0x3d39e6()?_0x3a021a()?_0x4f39b0()?_0xca8cf7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b3c17()?(_0x8f4374[_0xca8cf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xca8cf7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35b43c=_0x3d0f06(_0xca8cf7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50ef70()):_0xca8cf7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xca8cf7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xca8cf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xca8cf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f39b0(){const _0x5be4b0=[_0xca8cf7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xca8cf7([0x74,0x72,0x69,0x61,0x6c])][_0xca8cf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f4374[_0xca8cf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23fcec/0x3e8:0xe10*_0x5bc106;return _0x8f4374[_0xca8cf7([0x65,0x78,0x70])]<_0x5be4b0;}function _0x3a021a(){const _0x331a38=_0x8f4374[_0xca8cf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x331a38&&(!!_0x331a38[_0xca8cf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xca8cf7([0x2a]))||!!_0x331a38[_0xca8cf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xca8cf7([0x4c,0x48])));}function _0x1b3c17(){const _0x1008b9=_0x8f4374[_0xca8cf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1008b9||0x0==_0x1008b9[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b9b22}=new URL(window[_0xca8cf7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1008b9[_0xca8cf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9b22))return!0x0;const _0x24f55e=_0x5b9b22[_0xca8cf7([0x73,0x70,0x6c,0x69,0x74])](_0xca8cf7([0x2e]));return _0x1008b9[_0xca8cf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c63c4=>_0x5c63c4[_0xca8cf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xca8cf7([0x2a])))[_0xca8cf7([0x6d,0x61,0x70])](_0x599232=>_0x599232[_0xca8cf7([0x73,0x70,0x6c,0x69,0x74])](_0xca8cf7([0x2e])))[_0xca8cf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32eb82=>_0x32eb82[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24f55e[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xca8cf7([0x6d,0x61,0x70])](_0x36791b=>Array(_0x24f55e[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36791b[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xca8cf7([0x66,0x69,0x6c,0x6c])](_0x36791b[0x0]===_0xca8cf7([0x2a])?_0xca8cf7([0x2a]):'')[_0xca8cf7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36791b))[_0xca8cf7([0x73,0x6f,0x6d,0x65])](_0x3efc43=>_0x24f55e[_0xca8cf7([0x65,0x76,0x65,0x72,0x79])]((_0x4fee8b,_0x2833d8)=>_0x3efc43[_0x2833d8]===_0x4fee8b||_0x3efc43[_0x2833d8]===_0xca8cf7([0x2a])));}function _0x50ef70(){return _0x35b43c&&_0x3576e4?new window[(_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48c9e9,_0x298d4a)=>{_0x35b43c[_0xca8cf7([0x74,0x68,0x65,0x6e])](_0x48c9e9,_0x298d4a),_0x3576e4[_0xca8cf7([0x74,0x68,0x65,0x6e])](_0x9aa5fd=>{_0x9aa5fd!=_0xca8cf7([0x56,0x61,0x6c,0x69,0x64])&&_0x48c9e9(_0x9aa5fd);},_0x298d4a);}):_0x35b43c||_0x3576e4||_0xca8cf7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x18fc95(_0x5e7be4,_0x10dae9){return new window[(_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6c2aff=>{if(_0x11ce1f())return _0x6c2aff(_0xca8cf7([0x56,0x61,0x6c,0x69,0x64]));_0x498463(),_0x5d6b31[_0xca8cf7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xca8cf7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b4977=!0x1;const _0xb7a5f6=_0x31c75c['uid']();function _0x44dd89(_0x3a075e){return!!_0x3a075e&&(typeof _0x3a075e===_0xca8cf7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a075e===_0xca8cf7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a075e[_0xca8cf7([0x74,0x68,0x65,0x6e])]===_0xca8cf7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a075e[_0xca8cf7([0x63,0x61,0x74,0x63,0x68])]===_0xca8cf7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53ed8b(_0x589160){_0x38de87(_0x589160)[_0xca8cf7([0x74,0x68,0x65,0x6e])](_0x22f130=>{if(!_0x22f130||_0x22f130[_0xca8cf7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xca8cf7([0x6f,0x6b]))return _0xca8cf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f8f2b(_0x207095(_0xb7a5f6+_0x10dae9))!=_0x22f130[_0xca8cf7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xca8cf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xca8cf7([0x56,0x61,0x6c,0x69,0x64]);})[_0xca8cf7([0x74,0x68,0x65,0x6e])](_0x434fb9=>(_0xadb1cb(),_0x434fb9),()=>{const _0xcbbb4a=_0x5c3d98();return null==_0xcbbb4a?(_0xadb1cb(),_0xca8cf7([0x56,0x61,0x6c,0x69,0x64])):_0xca8cf7(_0x23fcec-_0xcbbb4a>(0x61d15615^_0x42ca76)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xca8cf7([0x74,0x68,0x65,0x6e])](_0x6c2aff)[_0xca8cf7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6c2aff(_0xca8cf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9f4a92=0x45eb3c95^_0x42ca76;function _0xadb1cb(){const _0x4b26eb=_0xca8cf7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f8f2b(_0x207095(_0x5e7be4)),_0x4e0832=_0x37993d(_0x4f8f2b(window[_0xca8cf7([0x4d,0x61,0x74,0x68])][_0xca8cf7([0x63,0x65,0x69,0x6c])](_0x23fcec/_0x9f4a92)));window[_0xca8cf7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xca8cf7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b26eb,_0x4e0832);}function _0x5c3d98(){const _0x1639aa=_0xca8cf7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f8f2b(_0x207095(_0x5e7be4)),_0x27a550=window[_0xca8cf7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xca8cf7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1639aa);return _0x27a550?window[_0xca8cf7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37993d(_0x27a550),0x10)*_0x9f4a92:null;}function _0x38de87(_0x4b3505){return new window[(_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434e25,_0xa56093)=>{_0x4b3505[_0xca8cf7([0x74,0x68,0x65,0x6e])](_0x434e25,_0xa56093),window[_0xca8cf7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa56093,0x45dc06d5^_0x42ca76);});}}_0x5d6b31[_0xca8cf7([0x6f,0x6e])](_0xca8cf7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6c1ed3,_0x2efb5f)=>{if(_0x2efb5f[0x0]!=_0x5e7be4)return _0x6c2aff(_0xca8cf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2efb5f[0x1]={..._0x2efb5f[0x1],[_0xca8cf7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb7a5f6};},{[_0xca8cf7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xca8cf7([0x68,0x69,0x67,0x68])}),_0x5d6b31[_0xca8cf7([0x6f,0x6e])](_0xca8cf7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1db477=>{_0x44dd89(_0x1db477[_0xca8cf7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b4977=!0x0,_0x53ed8b(_0x1db477[_0xca8cf7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xca8cf7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xca8cf7([0x6c,0x6f,0x77])}),_0x237a2d[_0xca8cf7([0x74,0x68,0x65,0x6e])](()=>{_0x2b4977||_0x6c2aff(_0xca8cf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11ce1f(){return _0x5d6b31[_0xca8cf7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xca8cf7([0x76,0x69,0x65,0x77])][_0xca8cf7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xca8cf7([0x61,0x75,0x74,0x6f]);}function _0x498463(){_0x5d6b31[_0xca8cf7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xca8cf7([0x76,0x69,0x65,0x77])][_0xca8cf7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xca8cf7([0x61,0x75,0x74,0x6f]);}}function _0x3d0f06(_0xbd027c){const _0x64f6b3=[new window[(_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b4ede=>setTimeout(_0x4b4ede,0x45d4ecd9^_0x42ca76)),_0x237a2d[_0xca8cf7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd82c81=>{let _0x4b901c=0x0;_0x5d6b31[_0xca8cf7([0x6d,0x6f,0x64,0x65,0x6c])][_0xca8cf7([0x6f,0x6e])](_0xca8cf7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b6636,_0x566061)=>{_0x566061[0x0][_0xca8cf7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b901c++,_0x4b901c==(0x45ddd7fd^_0x42ca76)&&(_0xd82c81(),_0x5b6636[_0xca8cf7([0x6f,0x66,0x66])]());});}))];return window[_0xca8cf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xca8cf7([0x72,0x61,0x63,0x65])](_0x64f6b3)[_0xca8cf7([0x74,0x68,0x65,0x6e])](()=>_0xbd027c);}async function _0x1d796b(){await _0x237a2d,_0x5d6b31[_0xca8cf7([0x6d,0x6f,0x64,0x65,0x6c])][_0xca8cf7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29e085,_0x5d6b31[_0xca8cf7([0x6d,0x6f,0x64,0x65,0x6c])][_0xca8cf7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29e085,_0x5d6b31[_0xca8cf7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xca8cf7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1682d2(_0x3c4961){const _0x3c033e=_0x3d36de();_0x5d6b31[_0x3c033e]=_0xca8cf7([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3c4961,_0x3c4961!=_0xca8cf7([0x56,0x61,0x6c,0x69,0x64])&&_0x1d796b();}function _0x3d36de(){const _0x3982f8=window[_0xca8cf7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xca8cf7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xca8cf7([0x6e,0x6f,0x77])]())[_0xca8cf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xca8cf7([0x2e]),'');let _0x24183d=_0xca8cf7([0x50]);for(let _0x3249c0=0x0;_0x3249c0<_0x3982f8[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3249c0+=0x2){let _0x5d6302=window[_0xca8cf7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3982f8[_0xca8cf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3249c0,_0x3249c0+0x2));_0x5d6302>=_0x4937e4[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d6302-=_0x4937e4[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24183d+=_0x4937e4[_0x5d6302];}return _0x24183d;}function _0x1f1201(){const _0x3b6f5f=_0x515613[_0xca8cf7([0x73,0x70,0x6c,0x69,0x74])](_0xca8cf7([0x2e]));if(0x3!=_0x3b6f5f[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b1d01(_0x3b6f5f[0x1]);function _0x1b1d01(_0x1c87f3){const _0xf6bbda=_0xd87aac(_0x1c87f3);return _0xf6bbda&&_0x360157()?_0xf6bbda:null;function _0x360157(){const _0x3d8b90=_0xf6bbda[_0xca8cf7([0x6a,0x74,0x69])],_0xc35cdb=window[_0xca8cf7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d8b90[_0xca8cf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d8b90[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b5694={..._0xf6bbda,[_0xca8cf7([0x6a,0x74,0x69])]:_0x3d8b90[_0xca8cf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d8b90[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b5694[_0xca8cf7([0x76,0x63])],_0x207095(_0x3b5694)==_0xc35cdb;}}}async function _0x3d39e6(){let _0x50cbed=!0x0;try{const _0x5375ba=_0x515613[_0xca8cf7([0x73,0x70,0x6c,0x69,0x74])](_0xca8cf7([0x2e])),[_0x1dad2d,_0x53df5a,_0x527f33]=_0x5375ba;return _0x364b2e(_0x1dad2d),await _0x131076(_0x1dad2d,_0x53df5a,_0x527f33),_0x50cbed;}catch{return!0x1;}function _0x364b2e(_0x201297){const _0x35cd4e=_0xd87aac(_0x201297);_0x35cd4e&&_0x35cd4e[_0xca8cf7([0x61,0x6c,0x67])]==_0xca8cf7([0x45,0x53,0x32,0x35,0x36])||(_0x50cbed=!0x1);}async function _0x131076(_0x5f1f82,_0x32a009,_0x509e72){const _0x253044=window[_0xca8cf7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xca8cf7([0x66,0x72,0x6f,0x6d])](_0x1a8fca(_0x509e72),_0x22503b=>_0x22503b[_0xca8cf7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x284ba2=new window[(_0xca8cf7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xca8cf7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f1f82+_0xca8cf7([0x2e])+_0x32a009),_0x1f487c=window[_0xca8cf7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xca8cf7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f487c)return;const _0x28f3f1=await _0x1f487c[_0xca8cf7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xca8cf7([0x6a,0x77,0x6b]),_0x2fad3f,{[_0xca8cf7([0x6e,0x61,0x6d,0x65])]:_0xca8cf7([0x45,0x43,0x44,0x53,0x41]),[_0xca8cf7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xca8cf7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xca8cf7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f487c[_0xca8cf7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xca8cf7([0x6e,0x61,0x6d,0x65])]:_0xca8cf7([0x45,0x43,0x44,0x53,0x41]),[_0xca8cf7([0x68,0x61,0x73,0x68])]:{[_0xca8cf7([0x6e,0x61,0x6d,0x65])]:_0xca8cf7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28f3f1,_0x253044,_0x284ba2)||(_0x50cbed=!0x1);}}function _0xd87aac(_0x3057f2){return _0x3057f2[_0xca8cf7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xca8cf7([0x65,0x79]))?JSON[_0xca8cf7([0x70,0x61,0x72,0x73,0x65])](_0x1a8fca(_0x3057f2)):null;}function _0x1a8fca(_0x291df0){return window[_0xca8cf7([0x61,0x74,0x6f,0x62])](_0x291df0[_0xca8cf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xca8cf7([0x2b]))[_0xca8cf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xca8cf7([0x2f])));}function _0x207095(_0x4e61f6){let _0x1b1871=0x1505;function _0x56af38(_0x2add88){for(let _0x4d5ffc=0x0;_0x4d5ffc<_0x2add88[_0xca8cf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d5ffc++){const _0x333461=_0x2add88[_0xca8cf7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d5ffc);_0x1b1871=(_0x1b1871<<0x5)+_0x1b1871+_0x333461,_0x1b1871&=_0x1b1871;}}function _0xecd3b8(_0x174e64){Array[_0xca8cf7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x174e64)?_0x174e64[_0xca8cf7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xecd3b8):_0x174e64&&typeof _0x174e64==_0xca8cf7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xca8cf7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x174e64)[_0xca8cf7([0x73,0x6f,0x72,0x74])]()[_0xca8cf7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a8472,_0x5b83b0])=>{_0x56af38(_0x1a8472),_0xecd3b8(_0x5b83b0);}):_0x56af38(window[_0xca8cf7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x174e64));}return _0xecd3b8(_0x4e61f6),_0x1b1871>>>0x0;}function _0x4f8f2b(_0x19e114){return _0x19e114[_0xca8cf7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xca8cf7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xca8cf7([0x30]));}function _0x37993d(_0x24dd88){return _0x24dd88[_0xca8cf7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xca8cf7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xca8cf7([0x6a,0x6f,0x69,0x6e])]('');}function _0x29e085(){}function _0xca8cf7(_0x5a1e91){return _0x5a1e91['map'](_0x5d461d=>String['fromCharCode'](_0x5d461d))['join']('');}_0x1682d2(await _0xebb09f());}(this);}['_validateConfig'](){const _0x5c1183=this['editor'];if(!_0x5c1183['config']['get']('lineHeight.supportAllValues'))return;const _0x52ccd2=_0x5c1183['config']['get']('lineHeight.options')['filter'](_0x45cdcc=>'string'==typeof _0x45cdcc&&(!_0x474a4d(_0x45cdcc)&&isNaN(Number(_0x45cdcc))));if(_0x52ccd2['length'])throw new _0x31c75c['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x52ccd2});}['_prepareAnyValueConverters'](){const _0x1d2b81=this['editor'],_0x235af3=this['editor']['config']['get']('lineHeight.defaultValue');_0x1d2b81['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xe1f061=>String(_0xe1f061)===String(_0x235af3)?null:{'key':'style','value':{'line-height':_0xe1f061}}}),_0x1d2b81['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x619f61=>{let _0x1127e7=_0x619f61['getStyle']('line-height');return _0x31c75c['isPercentageStyleValue'](_0x1127e7)&&(_0x1127e7=String(Number(_0x1127e7['slice'](0x0,-0x1))/0x64)),String(_0x1127e7)===String(_0x235af3)?null:_0x1127e7;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x29ec20=this['editor'],_0x18fae1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1be4dc=function(_0x432fec,_0x2f472c){const _0x153fd3={'model':{'key':_0x432fec,'values':[]},'view':{}};for(const _0x1224f2 of _0x2f472c)'class'===_0x1224f2['view']?.['key']?(_0x153fd3['model']['values']['push'](_0x1224f2['model']),_0x153fd3['view'][_0x1224f2['model']]={'key':'class','value':_0x1224f2['view']['value']}):(_0x153fd3['model']['values']['push'](_0x1224f2['model']),_0x153fd3['view'][_0x1224f2['model']]={'key':'style','value':'line-height:'+_0x1224f2['model']+';'});return _0x153fd3;}('lineHeight',_0x4b21f9(this['editor']['config']['get']('lineHeight'))['filter'](_0x59a14e=>_0x59a14e['model']));_0x29ec20['conversion']['attributeToAttribute'](_0x1be4dc),_0x29ec20['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x150052=>{let _0xd514f8=_0x150052['getStyle']('line-height');return _0x31c75c['isPercentageStyleValue'](_0xd514f8)&&(_0xd514f8=String(Number(_0xd514f8['slice'](0x0,-0x1))/0x64)),_0xd514f8===String(_0x18fae1)?null:_0x1be4dc['model']['values']['includes'](_0xd514f8)?_0xd514f8:null;}}});}}class LineHeightUI extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3db8ff={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3db8ff),this['_registerMenuBarComponent'](_0x3db8ff),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x67b281=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x435c53;for(const _0x2b84eb in _0x67b281){const _0x38e8dc=_0x2b84eb,_0x3f72d0=_0x67b281[_0x38e8dc];if('lineHeightLicenseKeyValid'==_0x3f72d0||'lineHeightLicenseKeyInvalid'==_0x3f72d0||'lineHeightLicenseKeyExpired'==_0x3f72d0||'lineHeightLicenseKeyDomainLimit'==_0x3f72d0||'lineHeightLicenseKeyNotAllowed'==_0x3f72d0||'lineHeightLicenseKeyEvaluationLimit'==_0x3f72d0||'lineHeightLicenseKeyUsageLimit'==_0x3f72d0){delete _0x67b281[_0x38e8dc],_0x435c53=_0x3f72d0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x435c53&&_0x67b281['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x435c53&&_0x67b281['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x435c53&&_0x67b281['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x435c53&&_0x67b281['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x435c53&&_0x67b281['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x435c53&&_0x67b281['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x220995=this['editor'],t=_0x220995['t'],_0x381a32=_0x220995['config']['get']('lineHeight'),_0x441f74={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4b21f9(_0x381a32)['map'](_0x51f807=>{const _0x8100d1=_0x441f74[_0x51f807['title']];return _0x8100d1&&_0x8100d1!=_0x51f807['title']&&(_0x51f807=Object['assign']({},_0x51f807,{'title':_0x8100d1})),_0x51f807;});}['_prepareListOptions'](){const _0x1020c2=this['editor']['commands']['get']('lineHeight'),_0x219b4a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x427398=this['_getLocalizedLineHeightOptions'](),_0xbc8432=new _0x31c75c['Collection'](),_0x177834=_0x481343=>'default'===_0x481343||String(_0x219b4a)===_0x481343;for(const _0x5f460c of _0x427398){const _0x3f6d7f={'type':'button','model':new _0x31c75c['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5f460c['title'],'withText':!0x0})};_0x177834(_0x5f460c['model'])?(_0x3f6d7f['model']['bind']('isOn')['to'](_0x1020c2,'value',_0x3460f8=>!_0x3460f8),_0x3f6d7f['model']['commandParam']=void 0x0):(_0x3f6d7f['model']['bind']('isOn')['to'](_0x1020c2,'value',_0x1ba768=>_0x1ba768===_0x5f460c['model']),_0x3f6d7f['model']['commandParam']=_0x5f460c['model']),_0xbc8432['add'](_0x3f6d7f);}if(this['_shouldRenderCustomValueOption']()){const _0x19e97a=this['_getCustomValueOptionDefinition'](_0x427398);_0xbc8432['add'](_0x19e97a);}return _0xbc8432;}['_getCustomValueOptionDefinition'](_0x20a059){const _0x2ece17=this['editor'],t=_0x2ece17['t'],_0x355276=_0x2ece17['commands']['get']('lineHeight'),_0x17cf1e=_0x20a059['map'](_0x586411=>_0x586411['model']),_0x4752be={'type':'button','model':new _0x31c75c['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4752be['model']['bind']('commandParam')['to'](_0x355276,'value'),_0x4752be['model']['bind']('isOn')['to'](_0x355276,'value',_0x44081d=>!!_0x44081d&&!_0x17cf1e['includes'](String(_0x44081d))),_0x4752be['model']['bind']('label')['to'](_0x355276,'value',_0x1c211c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1c211c))),_0x4752be;}['_registerToolbarComponent']({accessibleLabel:_0x2903a7,options:_0x204047}){const _0x26a5f8=this['editor'],_0x3baf03=_0x26a5f8['commands']['get']('lineHeight');_0x26a5f8['ui']['componentFactory']['add']('lineHeight',_0x1486e3=>{const _0x2d9314=_0x31c75c['createDropdown'](_0x1486e3);return _0x31c75c['addListToDropdown'](_0x2d9314,_0x204047,{'role':'menu','ariaLabel':_0x2903a7}),_0x2d9314['buttonView']['set']({'label':_0x2903a7,'tooltip':!0x0,'icon':_0x31c75c['IconLineHeight']}),_0x2d9314['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2d9314['bind']('isEnabled')['to'](_0x3baf03),this['listenTo'](_0x2d9314,'execute',_0x3c6f99=>{_0x26a5f8['execute'](_0x3c6f99['source']['commandName'],{'value':_0x3c6f99['source']['commandParam']}),_0x26a5f8['editing']['view']['focus']();}),_0x2d9314['once']('change:isOpen',()=>{const _0x3d00c8=_0x2d9314['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2d9314,_0x204047,_0x3d00c8);}),_0x2d9314;});}['_registerMenuBarComponent']({accessibleLabel:_0x33df68,options:_0x3a30ca}){const _0x44ebd3=this['editor'],_0x30ebf7=_0x44ebd3['commands']['get']('lineHeight');_0x44ebd3['ui']['componentFactory']['add']('menuBar:lineHeight',_0xefa079=>{const _0x1e0b0a=new _0x31c75c['MenuBarMenuView'](_0xefa079);_0x1e0b0a['buttonView']['set']({'label':_0x33df68,'icon':_0x31c75c['IconLineHeight']}),_0x1e0b0a['bind']('isEnabled')['to'](_0x30ebf7);const _0x5b5357=new _0x31c75c['MenuBarMenuListView'](_0xefa079);for(const _0x42f6ab of _0x3a30ca){const _0x325c79=new _0x31c75c['MenuBarMenuListItemView'](_0xefa079,_0x1e0b0a),_0x2660c8=new _0x31c75c['MenuBarMenuListItemButtonView'](_0xefa079);_0x2660c8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2660c8['bind'](...Object['keys'](_0x42f6ab['model']))['to'](_0x42f6ab['model']),_0x2660c8['delegate']('execute')['to'](_0x1e0b0a),_0x2660c8['on']('execute',()=>{_0x44ebd3['execute'](_0x42f6ab['model']['commandName'],{'value':_0x42f6ab['model']['commandParam']}),_0x44ebd3['editing']['view']['focus']();}),_0x325c79['children']['add'](_0x2660c8),_0x5b5357['items']['add'](_0x325c79);}return _0x1e0b0a['panelView']['children']['add'](_0x5b5357),this['_attachCustomOptionVisibilityHandler'](_0x1e0b0a,_0x3a30ca,_0x5b5357),_0x1e0b0a;});}['_attachCustomOptionVisibilityHandler'](_0x577d7f,_0x257b04,_0x4ee8f8){if(!this['_shouldRenderCustomValueOption']())return;const _0x58f840=()=>{if(!_0x577d7f['isOpen'])return;_0x4ee8f8['items']['last']['isVisible']=Boolean(_0x257b04['last']['model']['isOn']);};_0x58f840(),_0x577d7f['on']('change:isOpen',()=>{_0x58f840();});}}class LineHeight extends _0x31c75c['Plugin']{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends _0x31c75c['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x2e9002,_0xe0de04,_0xc97610){super(_0x2e9002),this['defaultListMarkerStyle']=_0xe0de04,this['_listDefinitions']=_0xc97610,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1fe6c8={}){const _0x41b990=this['editor']['model'],_0x497719=_0x1fe6c8['listMarkerStyle']||this['defaultListMarkerStyle'];_0x41b990['change'](()=>{const _0x1d627e=this['_getListTypeFromListMarkerStyle'](_0x497719);if(!_0x1d627e)return;const _0x591aff=_0x1d627e+'List';this['editor']['execute'](_0x591aff,{'additionalAttributes':{'listMarkerStyle':_0x497719}});});}['_getValue'](){const _0x3538d3=_0x31c75c['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3538d3)?_0x3538d3['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x12aae0=this['editor'],_0x492c2b=_0x12aae0['commands']['get']('customNumberedList'),_0x4cbe5a=_0x12aae0['commands']['get']('customBulletedList');return _0x492c2b['isEnabled']||_0x4cbe5a['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x2f7b13){const _0x5cb8a7=this['_listDefinitions']['find'](_0x57ad18=>_0x57ad18['listMarkerStyle']==_0x2f7b13);return _0x5cb8a7?_0x5cb8a7['listType']:null;}}class MultiLevelListEditing extends _0x31c75c['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['ListEditing']];}constructor(_0x2977e4){super(_0x2977e4);const _0x78589a=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x59d308=>_0x59d308+'.'}]},..._0x78589a];}['init'](){const _0x172e18=this['editor'],_0x56a402=_0x172e18['model'],_0x2b1cc2=_0x172e18['editing']['view'],_0x19f2d1=_0x172e18['plugins']['get'](_0x31c75c['ListEditing']);_0x172e18['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x172e18,'legal',this['_listDefinitions'])),_0x56a402['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x56a402['schema']['addAttributeCheck']((_0x25e4ea,_0x37eb26)=>{const _0x540ea2=_0x25e4ea['last'];if('listMarker'==_0x37eb26||'listMarkerStyle'==_0x37eb26)return!(!_0x540ea2['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4b676e=>_0x4b676e['listType']==_0x540ea2['getAttribute']('listType')))&&void 0x0;});for(const _0x4174f1 of this['_listDefinitions'])_0x172e18['conversion']['for']('upcast')['add'](_0x4494f2=>{_0x4494f2['on']('element:'+('customNumbered'==_0x4174f1['listType']?'ol':'ul'),_0x31b86f(_0x4174f1,_0x56a402['schema']),{'priority':'low'});}),_0x19f2d1['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x243320,_0x27c844,_0xb66184){_0x27c844==_0x4174f1['listMarkerStyle']?(_0x243320['addClass'](['multi-level-list',_0x4174f1['className']],_0xb66184),_0x243320['setStyle']('list-style-type','none',_0xb66184)):(_0x243320['removeClass'](['multi-level-list',_0x4174f1['className']],_0xb66184),_0x243320['removeStyle']('list-style-type',_0xb66184));}}),_0x19f2d1['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x16cf66,_0x2b7042,{dataPipeline:_0x156e7c}){if(!_0x2b7042['hasAttribute']('listMarker'))return null;if(_0x2b7042['getAttribute']('listType')!=_0x4174f1['listType']||_0x2b7042['getAttribute']('listMarkerStyle')!=_0x4174f1['listMarkerStyle'])return null;const _0x35b605=String(_0x2b7042['getAttribute']('listMarker')),_0x39a6e2=this['canInjectMarkerIntoElement'](_0x2b7042);return _0x16cf66['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x156e7c&&{'contenteditable':'false','data-multi-level-list-marker':_0x35b605}},function(_0x5f0093){const _0x53e545=this['toDomElement'](_0x5f0093);return _0x39a6e2?(_0x53e545['appendChild'](_0x31c75c['createElement'](_0x5f0093,'span',{},_0x156e7c?_0x5f0093['createTextNode'](_0x35b605):[])),_0x53e545['appendChild'](_0x5f0093['createTextNode']('\u00a0'))):_0x156e7c&&_0x53e545['appendChild'](_0x5f0093['createTextNode'](_0x35b605)),_0x53e545;});},'canInjectMarkerIntoElement':_0x322be9=>_0x56a402['schema']['checkChild'](_0x322be9,'$text')&&_0x56a402['schema']['checkChild'](_0x322be9,'$inlineObject')&&!_0x56a402['schema']['isLimit'](_0x322be9)&&_0x322be9['getAttribute']('listType')==_0x4174f1['listType']&&_0x322be9['getAttribute']('listMarkerStyle')==_0x4174f1['listMarkerStyle']});_0x172e18['conversion']['for']('upcast')['add'](_0x1482a=>{_0x1482a['on']('element:span',function(_0x3a3066){return(_0x676370,_0x1b956e,{writer:_0x49c927,consumable:_0x3ce725})=>{const _0x1f8f9b=_0x1b956e['modelCursor'],_0x31ac64=_0x1f8f9b['parent'],_0x1f7d9d=_0x1b956e['viewItem'];if(_0x3ce725['consume'](_0x1f7d9d,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1f8f9b['isAtStart']&&_0x31ac64['hasAttribute']('listType')&&_0x1f7d9d['childCount']>0x0){const _0x56031a=_0x3a3066['createRangeIn'](_0x1f7d9d);let _0x2ce8d6='';for(const _0x23eec8 of _0x56031a['getItems']())_0x23eec8['is']('$textProxy')?(_0x2ce8d6+=_0x23eec8['data']['trim'](),_0x3ce725['consume'](_0x23eec8['textNode'])):_0x3ce725['consume'](_0x23eec8,{'name':!0x0});_0x49c927['setAttribute']('listMarker',_0x2ce8d6['trim'](),_0x31ac64);}};}(_0x2b1cc2));}),_0x19f2d1['on']('postFixer',(_0x26d8cb,{listNodes:_0x5d2ce9,writer:_0x21070a})=>{const _0x235d48=[];for(const {node:_0x4a42d9,previousNodeInList:_0x3d53b8}of _0x5d2ce9){const _0x5a4592=_0x4a42d9['getAttribute']('listType'),_0x448eb5=_0x4a42d9['getAttribute']('listMarkerStyle')||('customNumbered'==_0x5a4592?'legal':void 0x0),_0x227de2=this['_listDefinitions']['find'](_0x892ba5=>_0x892ba5['listType']==_0x5a4592&&_0x892ba5['listMarkerStyle']==_0x448eb5);if('customNumbered'!=_0x5a4592&&'customBulleted'!=_0x5a4592&&(_0x4a42d9['hasAttribute']('listMarker')&&(_0x21070a['removeAttribute']('listMarker',_0x4a42d9),_0x26d8cb['return']=!0x0),_0x4a42d9['hasAttribute']('listMarkerStyle')&&(_0x21070a['removeAttribute']('listMarkerStyle',_0x4a42d9),_0x26d8cb['return']=!0x0)),!_0x227de2){'customBulleted'!=_0x5a4592||_0x448eb5||(_0x21070a['setAttribute']('listType','bulleted',_0x4a42d9),_0x26d8cb['return']=!0x0);continue;}_0x4a42d9['hasAttribute']('listMarkerStyle')||(_0x21070a['setAttribute']('listMarkerStyle',_0x448eb5,_0x4a42d9),_0x26d8cb['return']=!0x0);const _0x3e70d0=_0x4a42d9['getAttribute']('listIndent');if(_0x3d53b8&&_0x3d53b8['getAttribute']('listItemId')==_0x4a42d9['getAttribute']('listItemId'))continue;_0x235d48['length']=_0x3e70d0+0x1,_0x3d53b8||_0x235d48[_0x3e70d0]?_0x3d53b8&&_0x3d53b8['getAttribute']('listType')!=_0x227de2['listType']?_0x235d48[_0x3e70d0]=0x1:_0x235d48[_0x3e70d0]++:_0x235d48[_0x3e70d0]=_0x4a42d9['getAttribute']('listStart')||0x1;const _0x467ad8=_0x2fc1b9(_0x3e70d0,_0x227de2,_0x235d48);_0x4a42d9['getAttribute']('listMarker')!=_0x467ad8&&(_0x21070a['setAttribute']('listMarker',_0x467ad8,_0x4a42d9),_0x26d8cb['return']=!0x0);}}),_0x19f2d1['on']('checkElement',(_0x35cae3,{modelElement:_0x49d9d8,viewElement:_0x1dd0f8})=>{const _0x105a7c=_0x49d9d8['getAttribute']('listType');if('customNumbered'!=_0x105a7c&&'customBulleted'!=_0x105a7c)return;if(_0x56a402['schema']['checkChild'](_0x49d9d8,'$text'))return;const _0x421b77=_0x31c75c['_isFirstBlockOfListItem'](_0x49d9d8);let _0x39986b=!0x1;const _0x51b4b5=_0x2b1cc2['createPositionBefore'](_0x1dd0f8)['getWalker']({'direction':'backward'});for(const {item:_0x301946}of _0x51b4b5)if(_0x301946['is']('element')){if(_0x172e18['editing']['mapper']['toModelElement'](_0x301946))break;if(_0x301946['getCustomProperty']('listItemMarker')){_0x39986b=!0x0;break;}}_0x39986b!=_0x421b77&&(_0x35cae3['return']=!0x0,_0x35cae3['stop']());});const _0x3cdad8=_0x172e18['editing']['view']['document'];this['listenTo'](_0x3cdad8,'clipboardOutput',(_0x14ace9,_0x313fe4)=>{const _0x164d35=new _0x31c75c['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x4ece05=new _0x31c75c['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x4ddf5a=new _0x31c75c['ViewUpcastWriter'](_0x313fe4['content']['document']),_0x222624=[];for(const _0x1a1d5d of _0x4ddf5a['createRangeIn'](_0x313fe4['content'])['getItems']())_0x1a1d5d['is']('element')&&_0x164d35['match'](_0x1a1d5d)&&_0x222624['push'](_0x1a1d5d),_0x1a1d5d['is']('element')&&_0x4ece05['match'](_0x1a1d5d)&&_0x4ddf5a['removeStyle']('list-style-type',_0x1a1d5d);for(const _0x51ca48 of _0x222624)_0x4ddf5a['remove'](_0x51ca48);});}['afterInit'](){!async function(_0x19e03f){const _0x541d0c=_0x2fa409([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x4f79f4=0xf46a94a,_0x12744b=0xf412322^_0x4f79f4,_0x294287=window[_0x2fa409([0x44,0x61,0x74,0x65])][_0x2fa409([0x6e,0x6f,0x77])](),_0x27365d=_0x19e03f[_0x2fa409([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x393643=new window[(_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fcc2a=>{_0x27365d[_0x2fa409([0x6f,0x6e,0x63,0x65])](_0x2fa409([0x72,0x65,0x61,0x64,0x79]),_0x2fcc2a);}),_0x5540c2={[_0x2fa409([0x6b,0x74,0x79])]:_0x2fa409([0x45,0x43]),[_0x2fa409([0x75,0x73,0x65])]:_0x2fa409([0x73,0x69,0x67]),[_0x2fa409([0x63,0x72,0x76])]:_0x2fa409([0x50,0x2d,0x32,0x35,0x36]),[_0x2fa409([0x78])]:_0x2fa409([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2fa409([0x79])]:_0x2fa409([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2fa409([0x61,0x6c,0x67])]:_0x2fa409([0x45,0x53,0x32,0x35,0x36])},_0x25b9d3=_0x27365d[_0x2fa409([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fa409([0x67,0x65,0x74])](_0x2fa409([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c421c(){let _0x2b9b70,_0x2231fb=null,_0x49e0ca=null;try{if(_0x25b9d3==_0x2fa409([0x47,0x50,0x4c]))return _0x2fa409([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b9b70=_0x594f1d(),!_0x2b9b70)return _0x2fa409([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b9b70[_0x2fa409([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49e0ca=_0x8723b6(_0x2b9b70[_0x2fa409([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b9b70[_0x2fa409([0x6a,0x74,0x69])])),await _0x125336()?_0x53ddf2()?_0xe963b7()?_0x2fa409([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23ac76()?(_0x2b9b70[_0x2fa409([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fa409([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2231fb=_0x31a5f4(_0x2fa409([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35f1b8()):_0x2fa409([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fa409([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fa409([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fa409([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe963b7(){const _0x4bc69b=[_0x2fa409([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fa409([0x74,0x72,0x69,0x61,0x6c])][_0x2fa409([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b9b70[_0x2fa409([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x294287/0x3e8:0xe10*_0x12744b;return _0x2b9b70[_0x2fa409([0x65,0x78,0x70])]<_0x4bc69b;}function _0x53ddf2(){const _0x376f38=_0x2b9b70[_0x2fa409([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x376f38&&(!!_0x376f38[_0x2fa409([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa409([0x2a]))||!!_0x376f38[_0x2fa409([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa409([0x4d,0x4c,0x4c])));}function _0x23ac76(){const _0x149733=_0x2b9b70[_0x2fa409([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x149733||0x0==_0x149733[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7724e1}=new URL(window[_0x2fa409([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x149733[_0x2fa409([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7724e1))return!0x0;const _0x54b570=_0x7724e1[_0x2fa409([0x73,0x70,0x6c,0x69,0x74])](_0x2fa409([0x2e]));return _0x149733[_0x2fa409([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18cca6=>_0x18cca6[_0x2fa409([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa409([0x2a])))[_0x2fa409([0x6d,0x61,0x70])](_0x104d3f=>_0x104d3f[_0x2fa409([0x73,0x70,0x6c,0x69,0x74])](_0x2fa409([0x2e])))[_0x2fa409([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d1a6f=>_0x4d1a6f[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x54b570[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fa409([0x6d,0x61,0x70])](_0x1abb90=>Array(_0x54b570[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1abb90[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fa409([0x66,0x69,0x6c,0x6c])](_0x1abb90[0x0]===_0x2fa409([0x2a])?_0x2fa409([0x2a]):'')[_0x2fa409([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1abb90))[_0x2fa409([0x73,0x6f,0x6d,0x65])](_0x9736a4=>_0x54b570[_0x2fa409([0x65,0x76,0x65,0x72,0x79])]((_0xd52b59,_0x29e40e)=>_0x9736a4[_0x29e40e]===_0xd52b59||_0x9736a4[_0x29e40e]===_0x2fa409([0x2a])));}function _0x35f1b8(){return _0x2231fb&&_0x49e0ca?new window[(_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b86bc,_0x1bc0f0)=>{_0x2231fb[_0x2fa409([0x74,0x68,0x65,0x6e])](_0x2b86bc,_0x1bc0f0),_0x49e0ca[_0x2fa409([0x74,0x68,0x65,0x6e])](_0x39bdfd=>{_0x39bdfd!=_0x2fa409([0x56,0x61,0x6c,0x69,0x64])&&_0x2b86bc(_0x39bdfd);},_0x1bc0f0);}):_0x2231fb||_0x49e0ca||_0x2fa409([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8723b6(_0x448acc,_0x243f76){return new window[(_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58462d=>{if(_0x70fd9e())return _0x58462d(_0x2fa409([0x56,0x61,0x6c,0x69,0x64]));_0xc7fde5(),_0x27365d[_0x2fa409([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fa409([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35f2ad=!0x1;const _0x24193f=_0x31c75c['uid']();function _0x557b91(_0x3f1f70){return!!_0x3f1f70&&(typeof _0x3f1f70===_0x2fa409([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f1f70===_0x2fa409([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f1f70[_0x2fa409([0x74,0x68,0x65,0x6e])]===_0x2fa409([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f1f70[_0x2fa409([0x63,0x61,0x74,0x63,0x68])]===_0x2fa409([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa0ff10(_0xbe56b2){_0x18f9ce(_0xbe56b2)[_0x2fa409([0x74,0x68,0x65,0x6e])](_0x4050dc=>{if(!_0x4050dc||_0x4050dc[_0x2fa409([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fa409([0x6f,0x6b]))return _0x2fa409([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11f3a4(_0x42a503(_0x24193f+_0x243f76))!=_0x4050dc[_0x2fa409([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fa409([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fa409([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fa409([0x74,0x68,0x65,0x6e])](_0x36639e=>(_0x2aec0e(),_0x36639e),()=>{const _0x4159b1=_0x43421c();return null==_0x4159b1?(_0x2aec0e(),_0x2fa409([0x56,0x61,0x6c,0x69,0x64])):_0x2fa409(_0x294287-_0x4159b1>(0x2b4a2d4a^_0x4f79f4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fa409([0x74,0x68,0x65,0x6e])](_0x58462d)[_0x2fa409([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58462d(_0x2fa409([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51b471=0xf7047ca^_0x4f79f4;function _0x2aec0e(){const _0x505dd3=_0x2fa409([0x6c,0x6c,0x63,0x74,0x2d])+_0x11f3a4(_0x42a503(_0x448acc)),_0x22aa81=_0x2a3642(_0x11f3a4(window[_0x2fa409([0x4d,0x61,0x74,0x68])][_0x2fa409([0x63,0x65,0x69,0x6c])](_0x294287/_0x51b471)));window[_0x2fa409([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fa409([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x505dd3,_0x22aa81);}function _0x43421c(){const _0xb7a6f3=_0x2fa409([0x6c,0x6c,0x63,0x74,0x2d])+_0x11f3a4(_0x42a503(_0x448acc)),_0x28552c=window[_0x2fa409([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fa409([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb7a6f3);return _0x28552c?window[_0x2fa409([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a3642(_0x28552c),0x10)*_0x51b471:null;}function _0x18f9ce(_0x5846ad){return new window[(_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b86ad,_0x5711d7)=>{_0x5846ad[_0x2fa409([0x74,0x68,0x65,0x6e])](_0x4b86ad,_0x5711d7),window[_0x2fa409([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5711d7,0xf477d8a^_0x4f79f4);});}}_0x27365d[_0x2fa409([0x6f,0x6e])](_0x2fa409([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x364fea,_0x4b9e2c)=>{if(_0x4b9e2c[0x0]!=_0x448acc)return _0x58462d(_0x2fa409([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b9e2c[0x1]={..._0x4b9e2c[0x1],[_0x2fa409([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24193f};},{[_0x2fa409([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fa409([0x68,0x69,0x67,0x68])}),_0x27365d[_0x2fa409([0x6f,0x6e])](_0x2fa409([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35568b=>{_0x557b91(_0x35568b[_0x2fa409([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35f2ad=!0x0,_0xa0ff10(_0x35568b[_0x2fa409([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fa409([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fa409([0x6c,0x6f,0x77])}),_0x393643[_0x2fa409([0x74,0x68,0x65,0x6e])](()=>{_0x35f2ad||_0x58462d(_0x2fa409([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x70fd9e(){return _0x27365d[_0x2fa409([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fa409([0x76,0x69,0x65,0x77])][_0x2fa409([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fa409([0x61,0x75,0x74,0x6f]);}function _0xc7fde5(){_0x27365d[_0x2fa409([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fa409([0x76,0x69,0x65,0x77])][_0x2fa409([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fa409([0x61,0x75,0x74,0x6f]);}}function _0x31a5f4(_0x553604){const _0x326978=[new window[(_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301b09=>setTimeout(_0x301b09,0xf4f9786^_0x4f79f4)),_0x393643[_0x2fa409([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229cda=>{let _0x1cb1e6=0x0;_0x27365d[_0x2fa409([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa409([0x6f,0x6e])](_0x2fa409([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x127281,_0x58055a)=>{_0x58055a[0x0][_0x2fa409([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cb1e6++,_0x1cb1e6==(0xf46aca2^_0x4f79f4)&&(_0x229cda(),_0x127281[_0x2fa409([0x6f,0x66,0x66])]());});}))];return window[_0x2fa409([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fa409([0x72,0x61,0x63,0x65])](_0x326978)[_0x2fa409([0x74,0x68,0x65,0x6e])](()=>_0x553604);}async function _0x5b19ea(){await _0x393643,_0x27365d[_0x2fa409([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa409([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2de8ca,_0x27365d[_0x2fa409([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa409([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2de8ca,_0x27365d[_0x2fa409([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fa409([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x487d3b(_0x7c38cf){const _0x5c838a=_0x4ec05d();_0x27365d[_0x5c838a]=_0x2fa409([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7c38cf,_0x7c38cf!=_0x2fa409([0x56,0x61,0x6c,0x69,0x64])&&_0x5b19ea();}function _0x4ec05d(){const _0x4e41d6=window[_0x2fa409([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fa409([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fa409([0x6e,0x6f,0x77])]())[_0x2fa409([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fa409([0x2e]),'');let _0xec8b80=_0x2fa409([0x75]);for(let _0x286088=0x0;_0x286088<_0x4e41d6[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x286088+=0x2){let _0x6f8c2d=window[_0x2fa409([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e41d6[_0x2fa409([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x286088,_0x286088+0x2));_0x6f8c2d>=_0x541d0c[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6f8c2d-=_0x541d0c[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xec8b80+=_0x541d0c[_0x6f8c2d];}return _0xec8b80;}function _0x594f1d(){const _0x3ec165=_0x25b9d3[_0x2fa409([0x73,0x70,0x6c,0x69,0x74])](_0x2fa409([0x2e]));if(0x3!=_0x3ec165[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f4c41(_0x3ec165[0x1]);function _0x4f4c41(_0x255aff){const _0x5e88e0=_0x554780(_0x255aff);return _0x5e88e0&&_0x311c8d()?_0x5e88e0:null;function _0x311c8d(){const _0x4ae302=_0x5e88e0[_0x2fa409([0x6a,0x74,0x69])],_0x3a308a=window[_0x2fa409([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ae302[_0x2fa409([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ae302[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4de779={..._0x5e88e0,[_0x2fa409([0x6a,0x74,0x69])]:_0x4ae302[_0x2fa409([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ae302[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4de779[_0x2fa409([0x76,0x63])],_0x42a503(_0x4de779)==_0x3a308a;}}}async function _0x125336(){let _0x2a6a26=!0x0;try{const _0x220664=_0x25b9d3[_0x2fa409([0x73,0x70,0x6c,0x69,0x74])](_0x2fa409([0x2e])),[_0x46037a,_0x35cbcb,_0x53d893]=_0x220664;return _0x1b33a9(_0x46037a),await _0xe2a39e(_0x46037a,_0x35cbcb,_0x53d893),_0x2a6a26;}catch{return!0x1;}function _0x1b33a9(_0x159719){const _0x303366=_0x554780(_0x159719);_0x303366&&_0x303366[_0x2fa409([0x61,0x6c,0x67])]==_0x2fa409([0x45,0x53,0x32,0x35,0x36])||(_0x2a6a26=!0x1);}async function _0xe2a39e(_0x75c299,_0xa14624,_0x33be37){const _0x37340b=window[_0x2fa409([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fa409([0x66,0x72,0x6f,0x6d])](_0x168b9a(_0x33be37),_0x189549=>_0x189549[_0x2fa409([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19d368=new window[(_0x2fa409([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fa409([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x75c299+_0x2fa409([0x2e])+_0xa14624),_0x595cb9=window[_0x2fa409([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fa409([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x595cb9)return;const _0x41f192=await _0x595cb9[_0x2fa409([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fa409([0x6a,0x77,0x6b]),_0x5540c2,{[_0x2fa409([0x6e,0x61,0x6d,0x65])]:_0x2fa409([0x45,0x43,0x44,0x53,0x41]),[_0x2fa409([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fa409([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fa409([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x595cb9[_0x2fa409([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fa409([0x6e,0x61,0x6d,0x65])]:_0x2fa409([0x45,0x43,0x44,0x53,0x41]),[_0x2fa409([0x68,0x61,0x73,0x68])]:{[_0x2fa409([0x6e,0x61,0x6d,0x65])]:_0x2fa409([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41f192,_0x37340b,_0x19d368)||(_0x2a6a26=!0x1);}}function _0x554780(_0x3b8525){return _0x3b8525[_0x2fa409([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fa409([0x65,0x79]))?JSON[_0x2fa409([0x70,0x61,0x72,0x73,0x65])](_0x168b9a(_0x3b8525)):null;}function _0x168b9a(_0xee5311){return window[_0x2fa409([0x61,0x74,0x6f,0x62])](_0xee5311[_0x2fa409([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fa409([0x2b]))[_0x2fa409([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fa409([0x2f])));}function _0x42a503(_0x130178){let _0x2686dd=0x1505;function _0x3b8a82(_0x2fce46){for(let _0x3864c9=0x0;_0x3864c9<_0x2fce46[_0x2fa409([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3864c9++){const _0x136d64=_0x2fce46[_0x2fa409([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3864c9);_0x2686dd=(_0x2686dd<<0x5)+_0x2686dd+_0x136d64,_0x2686dd&=_0x2686dd;}}function _0x515668(_0xa95734){Array[_0x2fa409([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa95734)?_0xa95734[_0x2fa409([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x515668):_0xa95734&&typeof _0xa95734==_0x2fa409([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fa409([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa95734)[_0x2fa409([0x73,0x6f,0x72,0x74])]()[_0x2fa409([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43e38a,_0x5209ab])=>{_0x3b8a82(_0x43e38a),_0x515668(_0x5209ab);}):_0x3b8a82(window[_0x2fa409([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa95734));}return _0x515668(_0x130178),_0x2686dd>>>0x0;}function _0x11f3a4(_0x306af8){return _0x306af8[_0x2fa409([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fa409([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fa409([0x30]));}function _0x2a3642(_0x330390){return _0x330390[_0x2fa409([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fa409([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fa409([0x6a,0x6f,0x69,0x6e])]('');}function _0x2de8ca(){}function _0x2fa409(_0xb39a97){return _0xb39a97['map'](_0x27864f=>String['fromCharCode'](_0x27864f))['join']('');}_0x487d3b(await _0x1c421c());}(this);}}function _0x2fc1b9(_0x1b5c56,_0x1c59f2,_0x471e51){let _0x1faaaa=_0x1c59f2['listMarkers'][_0x1b5c56%_0x1c59f2['listMarkers']['length']];if(void 0x0===_0x1faaaa['showMarkerPath']||_0x1faaaa['showMarkerPath'])return _0x471e51['slice'](0x0,_0x1b5c56+0x1)['map']((_0x57aec6,_0x2960f3)=>(_0x1faaaa=_0x1c59f2['listMarkers'][_0x2960f3%_0x1c59f2['listMarkers']['length']],_0x2f96e2(_0x1faaaa['marker'],_0x57aec6)))['join']('');{const _0x3afebb=_0x471e51[_0x471e51['length']-0x1];return _0x2f96e2(_0x1faaaa['marker'],_0x3afebb);}}function _0x2f96e2(_0x47c770,_0x16240e){return'function'==typeof _0x47c770?_0x47c770(_0x16240e):_0x47c770;}function _0x31b86f(_0x4b5e31,_0x23a0e3){return(_0x59521a,_0x18ea58,_0x1efe50)=>{const _0x35347c=_0x18ea58['viewItem'];if(_0x18ea58['modelRange']||Object['assign'](_0x18ea58,_0x1efe50['convertChildren'](_0x18ea58['viewItem'],_0x18ea58['modelCursor'])),!_0x1efe50['consumable']['test'](_0x35347c,{'classes':_0x4b5e31['className']}))return;const _0x2edf45=Array['from'](_0x18ea58['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x544649=>_0x23a0e3['checkAttribute'](_0x544649,'listItemId'));if(!_0x2edf45['length'])return;_0x1efe50['consumable']['consume'](_0x35347c,{'classes':_0x4b5e31['className']}),_0x1efe50['consumable']['consume'](_0x35347c,{'classes':'multi-level-list'}),_0x1efe50['consumable']['consume'](_0x35347c,{'styles':'list-style-type'});const _0x4a96e2=_0x2edf45[0x0]['getAttribute']('listIndent');for(const _0x45d951 of _0x2edf45)_0x45d951['getAttribute']('listIndent')==_0x4a96e2&&(_0x1efe50['writer']['setAttribute']('listType',_0x4b5e31['listType'],_0x45d951),_0x1efe50['writer']['setAttribute']('listMarkerStyle',_0x4b5e31['listMarkerStyle'],_0x45d951));};}function _0x351695(_0x19039b,_0x3280ee){const _0x2fda55=_0x19039b['t'],t=_0x19039b['t'];switch(_0x3280ee){case'Start\x20at':return _0x2fda55('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2fda55('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2fda55('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2fda55('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x3280ee;}}class MultiLevelListView extends _0x31c75c['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x31c75c['FocusTracker']();['keystrokes']=new _0x31c75c['KeystrokeHandler']();['focusables']=new _0x31c75c['ViewCollection']();['focusCycler'];constructor(_0x18010a,{enabledProperties:_0x2d1448,styleButtonViews:_0x3a5f5b,styleGridAriaLabel:_0x300564}){super(_0x18010a);const _0x539153=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x2d1448['styles']?(this['stylesView']=this['_createStylesView'](_0x3a5f5b,_0x300564),this['children']['add'](this['stylesView'])):_0x539153['push']('ck-multi-level-list-properties_without-styles'),_0x2d1448['startIndex']&&(this['_addListPropertyViews'](_0x2d1448),_0x539153['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x539153},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x1bdc6d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1bdc6d['element']);_0x31c75c['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x31c75c['global']['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3b1fce=_0x7b1e76=>_0x7b1e76['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b1fce),this['keystrokes']['set']('arrowleft',_0x3b1fce),this['keystrokes']['set']('arrowup',_0x3b1fce),this['keystrokes']['set']('arrowdown',_0x3b1fce);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x2627f4,_0x40936d){const _0x4915fd=new _0x31c75c['View'](this['locale']);return _0x4915fd['children']=_0x4915fd['createCollection'](),_0x4915fd['children']['addMany'](_0x2627f4),_0x4915fd['setTemplate']({'tag':'div','attributes':{'aria-label':_0x40936d,'class':['ck','ck-multi-level-list-styles']},'children':_0x4915fd['children']}),_0x4915fd['children']['delegate']('execute')['to'](this),_0x4915fd['focus']=function(){this['children']['first']['focus']();},_0x4915fd['focusTracker']=new _0x31c75c['FocusTracker'](),_0x4915fd['keystrokes']=new _0x31c75c['KeystrokeHandler'](),_0x4915fd['render'](),_0x4915fd['keystrokes']['listenTo'](_0x4915fd['element']),_0x4915fd;}['_addListPropertyViews'](_0x3a467d){const _0x28173d=[];_0x3a467d['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x28173d['push'](this['startIndexFieldView'])),_0x3a467d['styles']?(this['additionalPropertiesCollapsibleView']=new _0x31c75c['CollapsibleView'](this['locale'],_0x28173d),this['additionalPropertiesCollapsibleView']['set']({'label':_0x351695(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x28173d,'isEnabled',(..._0x518e3c)=>_0x518e3c['some'](_0x137743=>_0x137743)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x3606e0,_0x487133,_0x3750f7)=>{_0x3750f7||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x28173d);}['_createStartIndexField'](){const _0x425c66=new _0x31c75c['LabeledFieldView'](this['locale'],_0x31c75c['createLabeledInputNumber']);return _0x425c66['set']({'label':_0x351695(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x425c66['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x425c66['fieldView']['on']('input',()=>{const _0x2f7f0e=_0x425c66['fieldView']['element'],_0x101412=_0x2f7f0e['valueAsNumber'];Number['isNaN'](_0x101412)?_0x425c66['errorText']=_0x351695(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x2f7f0e['checkValidity']()?this['fire']('listStart',{'startIndex':_0x101412}):_0x425c66['errorText']=_0x351695(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x425c66;}}class MultiLevelListUI extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x23f7e5=this['editor'];_0x23f7e5['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x509a08,parentCommandName:_0x428d26,buttonLabel:_0x195c2b,buttonIcon:_0x47c855,styleGridAriaLabel:_0x5a17be,styleDefinitions:_0x314888}){const _0x451866=_0x509a08['commands']['get'](_0x428d26),_0xfe1d07=_0x509a08['config']['get']('list.properties')||{},_0x5ed548=_0x509a08['plugins']['has']('ListProperties'),_0x5d74de=_0xfe1d07['startIndex'];if(!_0x5ed548||!_0x5d74de)return _0x4ca36b=>{const _0x3bb4d2=new _0x31c75c['ButtonView'](_0x4ca36b);return _0x3bb4d2['set']({'label':_0x195c2b,'icon':_0x47c855,'tooltip':!0x0,'isToggleable':!0x0}),_0x3bb4d2['bind']('isOn')['to'](_0x451866,'value',_0x39ce73=>!!_0x39ce73),_0x3bb4d2['on']('execute',()=>{_0x509a08['execute'](_0x428d26),_0x509a08['editing']['view']['focus']();}),_0x3bb4d2;};return _0x37c711=>{const _0x5a5b80=_0x31c75c['createDropdown'](_0x37c711,_0x31c75c['SplitButtonView']),_0x27c35e=_0x5a5b80['buttonView'];return _0x5a5b80['bind']('isEnabled')['to'](_0x451866),_0x5a5b80['class']='ck-list-styles-dropdown',_0x27c35e['on']('execute',()=>{_0x509a08['execute'](_0x428d26),_0x509a08['editing']['view']['focus']();}),_0x27c35e['set']({'label':_0x195c2b,'icon':_0x47c855,'tooltip':!0x0,'isToggleable':!0x0}),_0x27c35e['bind']('isOn')['to'](_0x451866,'value',_0x4a2f3e=>!!_0x4a2f3e),_0x5a5b80['once']('change:isOpen',()=>{const _0x3cc47f=function({editor:_0x6a123e,dropdownView:_0x115831,styleDefinitions:_0x17cfcc,styleGridAriaLabel:_0x2a9e86}){const _0x1c91c1=_0x6a123e['locale'],_0x4dd1df=_0x6a123e['config']['get']('list.properties'),_0x350078=null;_0x4dd1df['reversed']=!0x1,_0x17cfcc['length']||(_0x4dd1df['styles']=!0x1);const _0x30f54a=new MultiLevelListView(_0x1c91c1,{'styleGridAriaLabel':_0x2a9e86,'enabledProperties':_0x4dd1df,'styleButtonViews':_0x350078});if(_0x4dd1df['startIndex']){const _0x2129f3=_0x6a123e['commands']['get']('listStart');_0x30f54a['startIndexFieldView']['bind']('isEnabled')['to'](_0x2129f3),_0x30f54a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2129f3),_0x30f54a['on']('listStart',(_0x5e6fa8,_0x21caa7)=>_0x6a123e['execute']('listStart',_0x21caa7));}return _0x30f54a['delegate']('execute')['to'](_0x115831),_0x30f54a;}({'editor':_0x509a08,'dropdownView':_0x5a5b80,'styleGridAriaLabel':_0x5a17be,'styleDefinitions':_0x314888});_0x5a5b80['panelView']['children']['add'](_0x3cc47f);}),_0x5a5b80['on']('execute',()=>{_0x509a08['editing']['view']['focus']();}),_0x5a5b80;};}({'editor':_0x23f7e5,'parentCommandName':'multiLevelList','buttonLabel':_0x351695(_0x23f7e5['locale'],'Multi-level\x20List'),'buttonIcon':_0x31c75c['IconMultiLevelList'],'styleGridAriaLabel':_0x351695(_0x23f7e5['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x23f7e5['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x8f7b08=_0x23f7e5['commands']['get']('multiLevelList'),_0x31dec3=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x23f7e5['locale']);return _0x31dec3['set']({'label':_0x351695(_0x23f7e5['locale'],'Multi-level\x20List'),'icon':_0x31c75c['IconMultiLevelList']}),_0x31dec3['bind']('isEnabled')['to'](_0x8f7b08),_0x31dec3['bind']('isOn')['to'](_0x8f7b08,'value',_0x1fd11f=>!!_0x1fd11f),_0x31dec3['on']('execute',()=>{_0x23f7e5['execute']('multiLevelList'),_0x23f7e5['editing']['view']['focus']();}),_0x31dec3;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ddc57=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45977a;for(const _0x13eb08 in _0x5ddc57){const _0x3fe44a=_0x13eb08,_0x3cd6a1=_0x5ddc57[_0x3fe44a];if('multiLevelListLicenseKeyValid'==_0x3cd6a1||'multiLevelListLicenseKeyInvalid'==_0x3cd6a1||'multiLevelListLicenseKeyExpired'==_0x3cd6a1||'multiLevelListLicenseKeyDomainLimit'==_0x3cd6a1||'multiLevelListLicenseKeyNotAllowed'==_0x3cd6a1||'multiLevelListLicenseKeyEvaluationLimit'==_0x3cd6a1||'multiLevelListLicenseKeyUsageLimit'==_0x3cd6a1){delete _0x5ddc57[_0x3fe44a],_0x45977a=_0x3cd6a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x45977a&&_0x5ddc57['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x45977a&&_0x5ddc57['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x45977a&&_0x5ddc57['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x45977a&&_0x5ddc57['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x45977a&&_0x5ddc57['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x45977a&&_0x5ddc57['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x31c75c['Plugin']{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0x31c75c['Command']{['refresh'](){const _0x2851b1=this['editor']['model'],_0x4a859d=_0x2851b1['schema']['checkChild'](_0x2851b1['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x4a859d;}['execute'](_0x1424ba){if(!_0x1424ba||'string'!=typeof _0x1424ba)return;const _0x63e0cf=this['editor']['model'];_0x63e0cf['change'](_0x2c70e7=>{_0x63e0cf['deleteContent'](_0x63e0cf['document']['selection']);const _0x5026fb=_0x2c70e7['createElement']('mergeField',{'id':_0x1424ba});for(const [_0x251b7c,_0x2668a4]of _0x63e0cf['document']['selection']['getAttributes']())_0x63e0cf['schema']['checkAttribute'](_0x5026fb,_0x251b7c)&&_0x2c70e7['setAttribute'](_0x251b7c,_0x2668a4,_0x5026fb);_0x63e0cf['insertContent'](_0x5026fb,_0x63e0cf['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x31c75c['Command']{['refresh'](){const _0x569c14=this['editor']['model'],_0x1ac4e4=_0x569c14['document']['selection'];this['isEnabled']=function(_0x977d72,_0x34ceb2){const _0x45384f=_0x31c75c['findOptimalInsertionRange'](_0x977d72,_0x34ceb2);let _0x52a3b5=_0x45384f['start']['parent'];return _0x52a3b5['isEmpty']&&!_0x34ceb2['schema']['isLimit'](_0x52a3b5)&&(_0x52a3b5=_0x52a3b5['parent']),_0x34ceb2['schema']['checkChild'](_0x52a3b5,'mergeFieldBlock');}(_0x1ac4e4,_0x569c14);}['execute'](_0x52d9cb,_0x590a5b){if(!_0x52d9cb||'string'!=typeof _0x52d9cb)return;const _0x128497=this['editor']['model'];_0x128497['change'](_0x5820c6=>{const _0x417b1b=_0x5820c6['createElement']('mergeFieldBlock',{'id':_0x52d9cb});_0x128497['insertObject'](_0x417b1b,_0x128497['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x590a5b?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x31c75c['Command']{constructor(_0x23bbc0){super(_0x23bbc0),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x436f61,_0x19439e){if(!_0x436f61||'string'!=typeof _0x436f61)return;const _0x2e5637=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x1d1e2a=_0x2e5637['getMergeFieldWidth'](_0x436f61),_0x223d59=_0x2e5637['getMergeFieldHeight'](_0x436f61);this['editor']['execute']('insertImage',{'source':{'src':_0x2e5637['wrapInAffixes'](_0x436f61),'width':_0x1d1e2a,'height':_0x223d59},'breakBlock':_0x19439e&&_0x19439e['breakBlock']});}}class _0x2db90f extends _0x31c75c['Command']{constructor(_0x47bf80){super(_0x47bf80);const _0x12cc49=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x12cc49,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x26ec27){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x26ec27;}}const _0x18036b=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x31c75c['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[_0x31c75c['ImageUtils'],_0x31c75c['ImageEditing']];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8a91cf){super(_0x8a91cf),_0x8a91cf['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x8a91cf['config']['define']('mergeFields.dataSets',[]),_0x8a91cf['config']['define']('mergeFields.definitions',[]),_0x8a91cf['config']['define']('mergeFields.prefix','{{'),_0x8a91cf['config']['define']('mergeFields.suffix','}}'),_0x8a91cf['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x8a91cf['config']['define']('mergeFields.sanitizeHtml',_0x57c6d6=>(_0x31c75c['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x57c6d6,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x8a91cf['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x8a91cf['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x8a91cf['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x48e653='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x10a388='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x48e653+'[^'+(_0x48e653+_0x10a388)+'\x20]+'+_0x10a388+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x1e6f99=_0x8a91cf['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x1e6f99),this['set']('previewMode',_0x1e6f99),this['_mergeFieldElements']=new Set();}['init'](){const _0x3f040d=this['editor'];_0x3f040d['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x3f040d)),_0x3f040d['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x3f040d)),_0x3f040d['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x3f040d)),_0x3f040d['commands']['add']('previewMergeFields',new _0x2db90f(_0x3f040d)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x42cd40,_0x22a9f9,_0x2681f5)=>{this['_validatePreviewMode'](_0x2681f5),this['refreshMergeFields']();}),this['listenTo'](_0x3f040d['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x3f040d['editing']['mapper']['on']('viewToModelPosition',_0x31c75c['viewToModelPositionOutsideModelElement'](_0x3f040d['model'],_0x4d5d2f=>_0x4d5d2f['hasClass']('ck-merge-field'))),_0x3f040d['editing']['mapper']['on']('viewToModelPosition',_0x31c75c['viewToModelPositionOutsideModelElement'](_0x3f040d['model'],_0x14dbdc=>_0x14dbdc['hasClass']('ck-merge-field-block'))),_0x3f040d['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x1f17af){const _0x54312c=_0x17edff([0x63,0x76,0x71,0x43,0x59,0x4d,0x38,0x69,0x61,0x39,0x54,0x44,0x50,0x36,0x6e,0x35,0x64,0x6d,0x72,0x7a,0x62,0x4a,0x74,0x6c,0x6a,0x30,0x33,0x46,0x77,0x4c,0x78,0x49,0x70,0x45,0x57,0x53,0x55,0x47,0x37,0x41,0x52,0x75,0x32,0x31,0x4b,0x66,0x51,0x6f,0x58,0x4e,0x79,0x67,0x34,0x5a,0x42,0x65,0x4f,0x68,0x73,0x6b,0x48,0x56]),_0x57e6f2=0x6bd72268,_0x1a1d90=0x6bd0a800^_0x57e6f2,_0x2975f0=window[_0x17edff([0x44,0x61,0x74,0x65])][_0x17edff([0x6e,0x6f,0x77])](),_0x933b33=_0x1f17af[_0x17edff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x150f37=new window[(_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24ce5c=>{_0x933b33[_0x17edff([0x6f,0x6e,0x63,0x65])](_0x17edff([0x72,0x65,0x61,0x64,0x79]),_0x24ce5c);}),_0xa127c0={[_0x17edff([0x6b,0x74,0x79])]:_0x17edff([0x45,0x43]),[_0x17edff([0x75,0x73,0x65])]:_0x17edff([0x73,0x69,0x67]),[_0x17edff([0x63,0x72,0x76])]:_0x17edff([0x50,0x2d,0x32,0x35,0x36]),[_0x17edff([0x78])]:_0x17edff([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x17edff([0x79])]:_0x17edff([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x17edff([0x61,0x6c,0x67])]:_0x17edff([0x45,0x53,0x32,0x35,0x36])},_0x341612=_0x933b33[_0x17edff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17edff([0x67,0x65,0x74])](_0x17edff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a2864(){let _0xdacf5b,_0x2a63a3=null,_0x2b8a20=null;try{if(_0x341612==_0x17edff([0x47,0x50,0x4c]))return _0x17edff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdacf5b=_0x1db8ea(),!_0xdacf5b)return _0x17edff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdacf5b[_0x17edff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b8a20=_0x4b01bd(_0xdacf5b[_0x17edff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdacf5b[_0x17edff([0x6a,0x74,0x69])])),await _0x569d66()?_0x26484a()?_0x327157()?_0x17edff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x534376()?(_0xdacf5b[_0x17edff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17edff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a63a3=_0x3da3f4(_0x17edff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3636f4()):_0x17edff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17edff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17edff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17edff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x327157(){const _0x5b5d81=[_0x17edff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17edff([0x74,0x72,0x69,0x61,0x6c])][_0x17edff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdacf5b[_0x17edff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2975f0/0x3e8:0xe10*_0x1a1d90;return _0xdacf5b[_0x17edff([0x65,0x78,0x70])]<_0x5b5d81;}function _0x26484a(){const _0x1395fa=_0xdacf5b[_0x17edff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1395fa&&(!!_0x1395fa[_0x17edff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17edff([0x2a]))||!!_0x1395fa[_0x17edff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17edff([0x4d,0x46])));}function _0x534376(){const _0x1d051c=_0xdacf5b[_0x17edff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d051c||0x0==_0x1d051c[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11bf92}=new URL(window[_0x17edff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d051c[_0x17edff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11bf92))return!0x0;const _0x110a5a=_0x11bf92[_0x17edff([0x73,0x70,0x6c,0x69,0x74])](_0x17edff([0x2e]));return _0x1d051c[_0x17edff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13c3ea=>_0x13c3ea[_0x17edff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17edff([0x2a])))[_0x17edff([0x6d,0x61,0x70])](_0x57a0a2=>_0x57a0a2[_0x17edff([0x73,0x70,0x6c,0x69,0x74])](_0x17edff([0x2e])))[_0x17edff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13c5ad=>_0x13c5ad[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x110a5a[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17edff([0x6d,0x61,0x70])](_0x925041=>Array(_0x110a5a[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x925041[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17edff([0x66,0x69,0x6c,0x6c])](_0x925041[0x0]===_0x17edff([0x2a])?_0x17edff([0x2a]):'')[_0x17edff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x925041))[_0x17edff([0x73,0x6f,0x6d,0x65])](_0x3c8f7f=>_0x110a5a[_0x17edff([0x65,0x76,0x65,0x72,0x79])]((_0x1782fe,_0x4cfd6c)=>_0x3c8f7f[_0x4cfd6c]===_0x1782fe||_0x3c8f7f[_0x4cfd6c]===_0x17edff([0x2a])));}function _0x3636f4(){return _0x2a63a3&&_0x2b8a20?new window[(_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28fbb7,_0x4943e0)=>{_0x2a63a3[_0x17edff([0x74,0x68,0x65,0x6e])](_0x28fbb7,_0x4943e0),_0x2b8a20[_0x17edff([0x74,0x68,0x65,0x6e])](_0x3f517e=>{_0x3f517e!=_0x17edff([0x56,0x61,0x6c,0x69,0x64])&&_0x28fbb7(_0x3f517e);},_0x4943e0);}):_0x2a63a3||_0x2b8a20||_0x17edff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b01bd(_0x2c2c5d,_0x5d8a7c){return new window[(_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4192b3=>{if(_0x5bc8de())return _0x4192b3(_0x17edff([0x56,0x61,0x6c,0x69,0x64]));_0x57572e(),_0x933b33[_0x17edff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17edff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x579f8=!0x1;const _0x2ab2cf=_0x31c75c['uid']();function _0x1b5a36(_0x4a800c){return!!_0x4a800c&&(typeof _0x4a800c===_0x17edff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a800c===_0x17edff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a800c[_0x17edff([0x74,0x68,0x65,0x6e])]===_0x17edff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a800c[_0x17edff([0x63,0x61,0x74,0x63,0x68])]===_0x17edff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50110b(_0x4a5a87){_0x2a2d07(_0x4a5a87)[_0x17edff([0x74,0x68,0x65,0x6e])](_0x2e6695=>{if(!_0x2e6695||_0x2e6695[_0x17edff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17edff([0x6f,0x6b]))return _0x17edff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34a968(_0xe0aeff(_0x2ab2cf+_0x5d8a7c))!=_0x2e6695[_0x17edff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17edff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17edff([0x56,0x61,0x6c,0x69,0x64]);})[_0x17edff([0x74,0x68,0x65,0x6e])](_0x33edcf=>(_0x1519bb(),_0x33edcf),()=>{const _0x47031e=_0x2639ce();return null==_0x47031e?(_0x1519bb(),_0x17edff([0x56,0x61,0x6c,0x69,0x64])):_0x17edff(_0x2975f0-_0x47031e>(0x4fdba668^_0x57e6f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17edff([0x74,0x68,0x65,0x6e])](_0x4192b3)[_0x17edff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4192b3(_0x17edff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cd187=0x6be1cce8^_0x57e6f2;function _0x1519bb(){const _0x3c5a80=_0x17edff([0x6c,0x6c,0x63,0x74,0x2d])+_0x34a968(_0xe0aeff(_0x2c2c5d)),_0x5eefce=_0x5ad090(_0x34a968(window[_0x17edff([0x4d,0x61,0x74,0x68])][_0x17edff([0x63,0x65,0x69,0x6c])](_0x2975f0/_0x1cd187)));window[_0x17edff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17edff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c5a80,_0x5eefce);}function _0x2639ce(){const _0x54d239=_0x17edff([0x6c,0x6c,0x63,0x74,0x2d])+_0x34a968(_0xe0aeff(_0x2c2c5d)),_0x4b95c6=window[_0x17edff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17edff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54d239);return _0x4b95c6?window[_0x17edff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ad090(_0x4b95c6),0x10)*_0x1cd187:null;}function _0x2a2d07(_0x41c92b){return new window[(_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a880a,_0x1711d5)=>{_0x41c92b[_0x17edff([0x74,0x68,0x65,0x6e])](_0x1a880a,_0x1711d5),window[_0x17edff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1711d5,0x6bd6f6a8^_0x57e6f2);});}}_0x933b33[_0x17edff([0x6f,0x6e])](_0x17edff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f71d9,_0xdb7f59)=>{if(_0xdb7f59[0x0]!=_0x2c2c5d)return _0x4192b3(_0x17edff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdb7f59[0x1]={..._0xdb7f59[0x1],[_0x17edff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ab2cf};},{[_0x17edff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17edff([0x68,0x69,0x67,0x68])}),_0x933b33[_0x17edff([0x6f,0x6e])](_0x17edff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42f937=>{_0x1b5a36(_0x42f937[_0x17edff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x579f8=!0x0,_0x50110b(_0x42f937[_0x17edff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17edff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17edff([0x6c,0x6f,0x77])}),_0x150f37[_0x17edff([0x74,0x68,0x65,0x6e])](()=>{_0x579f8||_0x4192b3(_0x17edff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bc8de(){return _0x933b33[_0x17edff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17edff([0x76,0x69,0x65,0x77])][_0x17edff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17edff([0x61,0x75,0x74,0x6f]);}function _0x57572e(){_0x933b33[_0x17edff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17edff([0x76,0x69,0x65,0x77])][_0x17edff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17edff([0x61,0x75,0x74,0x6f]);}}function _0x3da3f4(_0x49ec56){const _0x35b23c=[new window[(_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f406c=>setTimeout(_0x2f406c,0x6bde1ca4^_0x57e6f2)),_0x150f37[_0x17edff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22927c=>{let _0x9c016=0x0;_0x933b33[_0x17edff([0x6d,0x6f,0x64,0x65,0x6c])][_0x17edff([0x6f,0x6e])](_0x17edff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x473d92,_0x5930a6)=>{_0x5930a6[0x0][_0x17edff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9c016++,_0x9c016==(0x6bd72780^_0x57e6f2)&&(_0x22927c(),_0x473d92[_0x17edff([0x6f,0x66,0x66])]());});}))];return window[_0x17edff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17edff([0x72,0x61,0x63,0x65])](_0x35b23c)[_0x17edff([0x74,0x68,0x65,0x6e])](()=>_0x49ec56);}async function _0x2e24de(){await _0x150f37,_0x933b33[_0x17edff([0x6d,0x6f,0x64,0x65,0x6c])][_0x17edff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34d12e,_0x933b33[_0x17edff([0x6d,0x6f,0x64,0x65,0x6c])][_0x17edff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34d12e,_0x933b33[_0x17edff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17edff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b0007(_0x19cafa){const _0x25a73f=_0xe24bb3();_0x933b33[_0x25a73f]=_0x17edff([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x19cafa,_0x19cafa!=_0x17edff([0x56,0x61,0x6c,0x69,0x64])&&_0x2e24de();}function _0xe24bb3(){const _0x5ccc4f=window[_0x17edff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17edff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17edff([0x6e,0x6f,0x77])]())[_0x17edff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17edff([0x2e]),'');let _0x51e02c=_0x17edff([0x63]);for(let _0x54e226=0x0;_0x54e226<_0x5ccc4f[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54e226+=0x2){let _0x2295f5=window[_0x17edff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ccc4f[_0x17edff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54e226,_0x54e226+0x2));_0x2295f5>=_0x54312c[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2295f5-=_0x54312c[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51e02c+=_0x54312c[_0x2295f5];}return _0x51e02c;}function _0x1db8ea(){const _0x1e857e=_0x341612[_0x17edff([0x73,0x70,0x6c,0x69,0x74])](_0x17edff([0x2e]));if(0x3!=_0x1e857e[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c16fd(_0x1e857e[0x1]);function _0x5c16fd(_0x6198f6){const _0x221ef7=_0x40e0f1(_0x6198f6);return _0x221ef7&&_0x2cff0d()?_0x221ef7:null;function _0x2cff0d(){const _0x49546c=_0x221ef7[_0x17edff([0x6a,0x74,0x69])],_0x27ebc5=window[_0x17edff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49546c[_0x17edff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49546c[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xff4de={..._0x221ef7,[_0x17edff([0x6a,0x74,0x69])]:_0x49546c[_0x17edff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49546c[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xff4de[_0x17edff([0x76,0x63])],_0xe0aeff(_0xff4de)==_0x27ebc5;}}}async function _0x569d66(){let _0x32069a=!0x0;try{const _0x408805=_0x341612[_0x17edff([0x73,0x70,0x6c,0x69,0x74])](_0x17edff([0x2e])),[_0x187366,_0x3b9f99,_0x4cd059]=_0x408805;return _0x161230(_0x187366),await _0x3d5f63(_0x187366,_0x3b9f99,_0x4cd059),_0x32069a;}catch{return!0x1;}function _0x161230(_0x4d998b){const _0x3d62ea=_0x40e0f1(_0x4d998b);_0x3d62ea&&_0x3d62ea[_0x17edff([0x61,0x6c,0x67])]==_0x17edff([0x45,0x53,0x32,0x35,0x36])||(_0x32069a=!0x1);}async function _0x3d5f63(_0x45dec7,_0x57b1f9,_0x1d8c4d){const _0xe60ab4=window[_0x17edff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17edff([0x66,0x72,0x6f,0x6d])](_0x37756a(_0x1d8c4d),_0x38d34f=>_0x38d34f[_0x17edff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20237b=new window[(_0x17edff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17edff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45dec7+_0x17edff([0x2e])+_0x57b1f9),_0x349b2f=window[_0x17edff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17edff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x349b2f)return;const _0x3d1b17=await _0x349b2f[_0x17edff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17edff([0x6a,0x77,0x6b]),_0xa127c0,{[_0x17edff([0x6e,0x61,0x6d,0x65])]:_0x17edff([0x45,0x43,0x44,0x53,0x41]),[_0x17edff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17edff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17edff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x349b2f[_0x17edff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17edff([0x6e,0x61,0x6d,0x65])]:_0x17edff([0x45,0x43,0x44,0x53,0x41]),[_0x17edff([0x68,0x61,0x73,0x68])]:{[_0x17edff([0x6e,0x61,0x6d,0x65])]:_0x17edff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d1b17,_0xe60ab4,_0x20237b)||(_0x32069a=!0x1);}}function _0x40e0f1(_0x3200ba){return _0x3200ba[_0x17edff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17edff([0x65,0x79]))?JSON[_0x17edff([0x70,0x61,0x72,0x73,0x65])](_0x37756a(_0x3200ba)):null;}function _0x37756a(_0xc8f0db){return window[_0x17edff([0x61,0x74,0x6f,0x62])](_0xc8f0db[_0x17edff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17edff([0x2b]))[_0x17edff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17edff([0x2f])));}function _0xe0aeff(_0x10c3c6){let _0x2da4e0=0x1505;function _0x28ab04(_0x10bcc3){for(let _0x47b0b7=0x0;_0x47b0b7<_0x10bcc3[_0x17edff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47b0b7++){const _0x5e8496=_0x10bcc3[_0x17edff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x47b0b7);_0x2da4e0=(_0x2da4e0<<0x5)+_0x2da4e0+_0x5e8496,_0x2da4e0&=_0x2da4e0;}}function _0x5b4835(_0x4a2ff3){Array[_0x17edff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a2ff3)?_0x4a2ff3[_0x17edff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b4835):_0x4a2ff3&&typeof _0x4a2ff3==_0x17edff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17edff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a2ff3)[_0x17edff([0x73,0x6f,0x72,0x74])]()[_0x17edff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591a4a,_0x45022a])=>{_0x28ab04(_0x591a4a),_0x5b4835(_0x45022a);}):_0x28ab04(window[_0x17edff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a2ff3));}return _0x5b4835(_0x10c3c6),_0x2da4e0>>>0x0;}function _0x34a968(_0x1e6f06){return _0x1e6f06[_0x17edff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17edff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17edff([0x30]));}function _0x5ad090(_0x5a109b){return _0x5a109b[_0x17edff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17edff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17edff([0x6a,0x6f,0x69,0x6e])]('');}function _0x34d12e(){}function _0x17edff(_0x38f34e){return _0x38f34e['map'](_0x47ead1=>String['fromCharCode'](_0x47ead1))['join']('');}_0x5b0007(await _0x5a2864());}(this);}['isMergeField'](_0x34eb12){return'mergeField'===_0x34eb12['name']||'mergeFieldBlock'===_0x34eb12['name']||!!('imageBlock'===_0x34eb12['name']||'imageInline'===_0x34eb12['name']&&_0x34eb12['getAttribute']('src'))&&!!_0x34eb12['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x115185={},_0x56265e=this['getMergeFieldsIds']();for(const _0x2654a8 of _0x56265e)_0x115185[_0x2654a8]=this['getMergeFieldDefaultValue'](_0x2654a8);return _0x115185;}['getDataSetValues'](_0x23cae3,_0x5518da=!0x1){const _0x101d8f={},_0x54d171=this['getMergeFieldsIds']();for(const _0x1fb35a of _0x54d171){let _0x102cc6=this['getMergeFieldValue'](_0x1fb35a,_0x23cae3);null===_0x102cc6&&_0x5518da&&(_0x102cc6=this['getMergeFieldDefaultValue'](_0x1fb35a)),_0x101d8f[_0x1fb35a]=_0x102cc6;}return _0x101d8f;}['getLabel'](_0x501e21){const _0x40247f=this['getDefinition'](_0x501e21);return _0x40247f&&_0x40247f['label']?_0x40247f['label']:null;}['getMergeFieldDefaultValue'](_0x1f1d6b){const _0xd358=this['getDefinition'](_0x1f1d6b);if(!_0xd358||void 0x0===_0xd358['defaultValue'])return null;const _0x471e28='function'==typeof _0xd358['defaultValue']?_0xd358['defaultValue'](this['editor']):_0xd358['defaultValue'];return String(_0x471e28);}['getMergeFieldValue'](_0x54bc0d,_0x41a6cc){const _0x490d42=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x23784f=>_0x23784f['id']===_0x41a6cc);if(!_0x490d42)throw new _0x31c75c['CKEditorError']('merge-fields-data-set-not-found',null);const _0x1a5503=_0x490d42['values'][_0x54bc0d];if(void 0x0===_0x1a5503)return null;const _0x1c4d96='function'==typeof _0x1a5503?_0x1a5503(this['editor']):_0x1a5503;return String(_0x1c4d96);}['getMergeFieldType'](_0x1f76cb){if('string'!=typeof _0x1f76cb){const _0x1dcb33=_0x1f76cb;return'mergeField'===_0x1dcb33['name']?'text':'mergeFieldBlock'===_0x1dcb33['name']?'block':'imageBlock'!==_0x1dcb33['name']&&'imageInline'!==_0x1dcb33['name']||!_0x1dcb33['getAttribute']('src')?null:_0x1dcb33['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x476516=this['getDefinition'](_0x1f76cb);return _0x476516&&_0x476516['type']?_0x476516['type']:'text';}['getMergeFieldHeight'](_0x28d34d){const _0x636167=this['getDefinition'](_0x28d34d);return _0x636167&&'block'===_0x636167['type']?_0x636167['height']||0x78:_0x636167&&'image'===_0x636167['type']?_0x636167['height']||0x190:null;}['getMergeFieldWidth'](_0x2c6ddc){const _0x5d9015=this['getDefinition'](_0x2c6ddc);return _0x5d9015&&'image'===_0x5d9015['type']?_0x5d9015['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x39f64c=new Set();for(const _0x2de328 of this['_mergeFieldElements'])'$graveyard'!==_0x2de328['root']['rootName']&&('image'===this['getMergeFieldType'](_0x2de328)?_0x39f64c['add'](this['unwrapAffixes'](_0x2de328['getAttribute']('src'))):_0x39f64c['add'](_0x2de328['getAttribute']('id')));return Array['from'](_0x39f64c);}['getMergeFieldsIds'](){const _0x2844a2=this['flattenedMergeFieldDefinitions']['map'](_0x599154=>_0x599154['id']),_0x5143ae=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x2844a2,..._0x5143ae]));}['getDefinition'](_0x44b2cf){return this['flattenedMergeFieldDefinitions']['find'](_0x25f2d9=>_0x25f2d9['id']===_0x44b2cf)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x2b304b=>{'$graveyard'!==_0x2b304b['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x2b304b);});}['wrapInAffixes'](_0x1d1a6d){return this['_mergeFieldPrefix']+_0x1d1a6d+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x9ae8fd){return _0x9ae8fd['slice'](this['_mergeFieldPrefix']['length'],_0x9ae8fd['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x5360b9=new Set(),_0x4bf67a=this['editor'];return _0x4bf67a['config']['get']('mergeFields.definitions')['reduce']((_0x532fa4,_0x2e83f4)=>{if('groupId'in _0x2e83f4){if(_0x5360b9['has'](_0x2e83f4['groupId']))throw new _0x31c75c['CKEditorError']('merge-fields-duplicate-group-id',_0x4bf67a,{'duplicateId':_0x2e83f4['groupId']});_0x5360b9['add'](_0x2e83f4['groupId']);}return'groupId'in _0x2e83f4?function(_0x22da64,_0x446f0d){for(const _0x1976bb of _0x446f0d['definitions'])_0x22da64=_0x22da64['concat'](_0x1976bb);return _0x22da64;}['bind'](_0x4bf67a)(_0x532fa4,_0x2e83f4):_0x532fa4['concat'](_0x2e83f4);},new Array());}['_validateConfig'](){const _0x28795b=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x28795b['test'](this['_mergeFieldPrefix'])||!_0x28795b['test'](this['_mergeFieldSuffix']))throw new _0x31c75c['CKEditorError']('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x31c75c['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0xf179a2=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x5a73c4=>{if(!_0x18036b['test'](_0x5a73c4['id']))throw new _0x31c75c['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x5a73c4['id']});if(_0xf179a2['has'](_0x5a73c4['id']))throw new _0x31c75c['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x5a73c4['id']});_0xf179a2['add'](_0x5a73c4['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x31c75c['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x5a332a=this['editor']['config']['get']('mergeFields.previewModes'),_0x1d0d05=['$labels','$defaultValues','$dataSets'];if(!_0x5a332a['length']||!_0x5a332a['every'](_0x515d50=>_0x1d0d05['includes'](_0x515d50)))throw new _0x31c75c['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x5a332a});const _0x482818=new Set(),_0x5aa7f2=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x1c16a9 of _0x5aa7f2){if(_0x482818['has'](_0x1c16a9['id']))throw new _0x31c75c['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x1c16a9['id']});_0x482818['add'](_0x1c16a9['id']);}}['_getAvailablePreviewModes'](){const _0x6dd763=this['editor']['config']['get']('mergeFields.previewModes'),_0x162fd4=[];if(_0x6dd763['includes']('$labels')&&_0x162fd4['push']('$labels'),_0x6dd763['includes']('$defaultValues')&&_0x162fd4['push']('$defaultValues'),_0x6dd763['includes']('$dataSets')){const _0x3e5ea0=this['editor']['config']['get']('mergeFields.dataSets');_0x162fd4['push'](..._0x3e5ea0['map'](_0x1d32b7=>_0x1d32b7['id']));}return _0x162fd4;}['_defineSchema'](){const _0x173c20=this['editor']['model']['schema'];_0x173c20['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x173c20['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x299a0e=this['editor']['conversion'];_0x299a0e['for']('upcast')['add'](_0x436c66=>{_0x436c66['on']('text',(_0x11b785,_0xd7ceb,_0x2068f7)=>{const {writer:_0x29137c,safeInsert:_0x16e4ee}=_0x2068f7,{viewItem:_0x56bf48}=_0xd7ceb,_0xe3988b=_0x56bf48['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x2bfb6d=>_0x2bfb6d);if(0x1===_0xe3988b['length']&&!_0xe3988b[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0xd7ceb['modelRange'])return;const _0x308034=_0x29137c['createElement']('$cursor');_0x29137c['insert'](_0x308034,_0xd7ceb['modelCursor']);const _0x3a2dae=[];for(const _0x2a5ebb of _0xd7ceb['modelRange']['getItems']()){if(!_0x2a5ebb['is']('$textProxy'))continue;const _0x20a991=_0x2a5ebb['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x256048=_0x2a5ebb['parent'],_0x56dcd1=_0x2a5ebb['textNode']['startOffset'];for(const _0x4902e7 of[..._0x20a991]['reverse']()){const _0x40c82=_0x4902e7[0x0],_0x12e5c4=_0x29137c['createPositionAt'](_0x256048,_0x4902e7['index']+_0x56dcd1),_0x5d3a5c=_0x12e5c4['getShiftedBy'](_0x40c82['length']),_0x58f9e3=_0x29137c['createRange'](_0x12e5c4,_0x5d3a5c),_0x317264=this['unwrapAffixes'](_0x40c82),_0x2e6c0d=this['getMergeFieldType'](_0x317264),_0x37fadb='block'==_0x2e6c0d?'mergeFieldBlock':'mergeField',_0xff20ff=_0x29137c['createElement'](_0x37fadb,{'id':_0x317264});_0x29137c['remove'](_0x58f9e3),_0x29137c['insert'](_0xff20ff,_0x12e5c4),'block'==_0x2e6c0d&&_0x3a2dae['push'](_0xff20ff);}}_0x3a2dae['reverse']();for(const _0x300713 of _0x3a2dae){const _0x5d7311=_0x29137c['createPositionBefore'](_0x300713),_0x4d6e75=_0x300713['nextSibling']==_0x308034;_0x29137c['remove'](_0x300713),_0x16e4ee(_0x300713,_0x5d7311)&&_0x4d6e75&&_0x29137c['move'](_0x29137c['createRangeOn'](_0x308034),_0x29137c['createPositionAfter'](_0x300713));}_0xd7ceb['modelCursor']=_0x29137c['createPositionBefore'](_0x308034),_0xd7ceb['modelRange']=_0x29137c['createRange'](_0xd7ceb['modelRange']['start'],_0xd7ceb['modelCursor']),_0x29137c['remove'](_0x308034);},{'priority':_0x31c75c['priorities']['get']('lowest')-0x1});}),_0x299a0e['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x3a8250,{writer:_0x2f77a3})=>_0x2f77a3['createElement']('mergeField',{'id':_0x3a8250['getAttribute']('data-ck-merge-field')})}),_0x299a0e['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x3821e7,{writer:_0x20c0c1})=>_0x20c0c1['createElement']('mergeFieldBlock',{'id':_0x3821e7['getAttribute']('data-ck-merge-field')})}),_0x299a0e['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x299a0e['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x211061,{writer:_0x13104d})=>this['_createMergeFieldWidget'](_0x211061,_0x13104d,'text')}),_0x299a0e['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0xcc90f9,{writer:_0xe6f9c2,options:_0x1e4860})=>this['_createTextualMergeField'](_0xcc90f9,_0xe6f9c2,_0x1e4860)}),_0x299a0e['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x4275c8,{writer:_0x14cc83})=>this['_createMergeFieldWidget'](_0x4275c8,_0x14cc83,'block')}),_0x299a0e['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x38d542,{writer:_0x49e2fa,options:_0x43b1c8})=>this['_createTextualMergeField'](_0x38d542,_0x49e2fa,_0x43b1c8)}),_0x299a0e['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x299a0e['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x59726b=>{_0x59726b['on']('element:img',(_0x53c67a,_0x3e3fe3,_0x48111e)=>{_0x48111e['consumable']['test'](_0x3e3fe3['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x48111e['writer']['setAttribute']('src',this['wrapInAffixes'](_0x3e3fe3['viewItem']['getAttribute']('data-ck-merge-field')),_0x3e3fe3['modelCursor']['nodeBefore']),_0x48111e['consumable']['consume'](_0x3e3fe3['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x31e40d){const _0x1e3e65=this['editor']['plugins']['get'](_0x31c75c['ImageUtils']),_0x32aa80=(_0x2f6eeb,_0x4f9638,_0x563ece)=>{if(!0x1!==_0x563ece['consumable']['test'](_0x4f9638['item'],_0x2f6eeb['name']))return;if(!String(_0x4f9638['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0xa92a76=_0x563ece['writer'],_0x16d553=_0x563ece['mapper']['toViewElement'](_0x4f9638['item']),_0x3278f3=_0x1e3e65['findViewImgElement'](_0x16d553),_0x4d63bb=String(_0x4f9638['attributeNewValue']),_0x1163ec=this['unwrapAffixes'](_0x4d63bb),_0x22c9f2=_0x563ece['options']['mergeFieldsData'];if(_0x563ece['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x25f55c;return _0x25f55c='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x1163ec)||this['getLabel'](_0x1163ec)||this['wrapInAffixes'](_0x1163ec):this['getMergeFieldValue'](_0x1163ec,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x1163ec)||this['getLabel'](_0x1163ec)||this['wrapInAffixes'](_0x1163ec),_0xa92a76['setAttribute']('data-ck-merge-field',_0x1163ec,_0x3278f3),void _0xa92a76['setAttribute'](_0x4f9638['attributeKey'],_0x25f55c,_0x3278f3);}const _0x189538=_0x22c9f2&&_0x22c9f2[_0x1163ec]?_0x22c9f2[_0x1163ec]:_0x4d63bb;_0xa92a76['setAttribute'](_0x4f9638['attributeKey'],_0x189538,_0x3278f3);};return _0x185bb2=>{_0x185bb2['on']('attribute:src:'+_0x31e40d,_0x32aa80,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x577ca2){const _0x2b2bf4=this['editor']['plugins']['get'](_0x31c75c['ImageUtils']),_0xe90253=(_0x4a9513,_0x38af65,_0x15ed34)=>{if(!0x1!==_0x15ed34['consumable']['test'](_0x38af65['item'],_0x4a9513['name']))return;if(!String(_0x38af65['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0xe9e87b=_0x15ed34['writer'],_0x5a0ae2=_0x15ed34['mapper']['toViewElement'](_0x38af65['item']),_0x4ac80b=_0x2b2bf4['findViewImgElement'](_0x5a0ae2),_0x3f19c9=String(_0x38af65['attributeNewValue']),_0x385eea=this['unwrapAffixes'](_0x3f19c9),_0x3db331=this['getMergeFieldDefaultValue'](_0x385eea),_0x285084='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x323ddc,_0x7e3798='',_0x179219='';if('$labels'===this['previewMode'])_0x323ddc=_0x285084;else{if('$defaultValues'===this['previewMode'])_0x3db331?(_0x323ddc=_0x3db331,_0x179219='\x20ck-merge-field-image_with-value'):(_0x323ddc=_0x285084,_0x7e3798='WARNING_MISSING_DEFAULT_VALUE',_0x179219='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x2e2553=this['getMergeFieldValue'](_0x385eea,this['previewMode']);_0x2e2553?(_0x323ddc=_0x2e2553,_0x179219='\x20ck-merge-field-image_with-value'):_0x3db331?(_0x323ddc=_0x3db331,_0x179219='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x7e3798='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x323ddc=_0x285084,_0x179219='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x7e3798='WARNING_MISSING_DATA');}}if(_0xe9e87b['addClass']('ck-merge-field-image'+_0x179219,_0x5a0ae2),_0xe9e87b['setAttribute'](_0x38af65['attributeKey'],_0x323ddc,_0x4ac80b),'$labels'===this['previewMode']){const _0x37c7dc='imageInline'===_0x577ca2?'span':'div',_0x251267=this['_mergeFieldPrefix'],_0x57ead1=this['_mergeFieldSuffix'],_0x55d4ce=_0xe9e87b['createContainerElement'](_0x37c7dc,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0xe9e87b['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x58ce1b){const _0x5f25ac=this['toDomElement'](_0x58ce1b);return _0x5f25ac['innerHTML']=_0x251267,_0x5f25ac;}),_0xe9e87b['createContainerElement']('span',{'class':'ck-merge-field__content'},_0xe9e87b['createText'](this['getLabel'](_0x385eea)||_0x385eea)),_0xe9e87b['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x3094dc){const _0x414f2b=this['toDomElement'](_0x3094dc);return _0x414f2b['innerHTML']=_0x57ead1,_0x414f2b;})]);_0xe9e87b['insert'](_0xe9e87b['createPositionAt'](_0x5a0ae2,'end'),_0x55d4ce),_0xe9e87b['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x385eea)||_0x385eea,_0x55d4ce);}else{if(_0x7e3798&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x7e3798)){const _0x41dffd='imageInline'===_0x577ca2?'span':'div',_0x4455c9=_0x179219['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x3f65ba=_0xe9e87b['createContainerElement'](_0x41dffd,{'class':'ck-merge-field'+_0x4455c9,'data-cke-tooltip-instant':'true'},[_0xe9e87b['createContainerElement']('span',{'class':'ck-merge-field__content'},_0xe9e87b['createText'](this['getLabel'](_0x385eea)||_0x385eea))]),_0x41a9b1=_0xe9e87b['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x5e7605){const _0x35aac2=this['toDomElement'](_0x5e7605),_0x4f79b1=new _0x31c75c['IconView']();return _0x4f79b1['set']({'content':_0x31c75c['IconWarning']}),_0x4f79b1['render'](),_0x35aac2['appendChild'](_0x4f79b1['element']),_0x35aac2;});_0xe9e87b['insert'](_0xe9e87b['createPositionAt'](_0x3f65ba,'end'),_0x41a9b1),_0xe9e87b['insert'](_0xe9e87b['createPositionAt'](_0x5a0ae2,'end'),_0x3f65ba),_0xe9e87b['setCustomProperty']('mergeFieldStatus',_0x7e3798,_0x3f65ba),_0xe9e87b['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x385eea)||_0x385eea,_0x3f65ba);}}_0xe9e87b['setAttribute']('data-merge-field-name',_0x385eea,_0x5a0ae2),_0x7e3798&&_0xe9e87b['setCustomProperty']('mergeFieldStatus',_0x7e3798,_0x5a0ae2);};return _0x300f8d=>{_0x300f8d['on']('attribute:src:'+_0x577ca2,_0xe90253,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x2e07e0,_0x1860c5){if(!_0x1860c5['target'])return null;const _0x58e94d=_0x1860c5['target']['parentElement'];return _0x58e94d&&_0x58e94d['classList']['contains']('ck-merge-field-image')?new _0x31c75c['ResizeObserver'](_0x58e94d,_0x442521=>{const _0x31bb9b=_0x442521['target'],_0x4d1292=_0x31bb9b['querySelector']('.ck-merge-field'),_0x5561e5=_0x31bb9b['querySelector']('.ck-merge-field__content');_0x4d1292&&_0x5561e5&&(_0x5561e5['scrollWidth']>_0x5561e5['getBoundingClientRect']()['width']?_0x4d1292['removeAttribute']('data-cke-tooltip-disabled'):_0x4d1292['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x5b5535,_0x3d64ae,_0xc09272){const {label:_0x5b69fd,classes:_0x2e9419,status:_0x545a0f,height:_0x28dfff}=this['_prepareViewElementData'](_0x5b5535),_0x53896e=this['_mergeFieldPrefix'],_0x5da52d=this['_mergeFieldSuffix'],_0x5a6090=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x1b9012='text'===_0xc09272?'span':'div';let _0x2bc9b1;if('$labels'===this['previewMode'])_0x2bc9b1=_0x3d64ae['createContainerElement'](_0x1b9012,{'class':_0x2e9419},[_0x3d64ae['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x29b7f4){const _0x43b510=this['toDomElement'](_0x29b7f4);return _0x43b510['innerHTML']=_0x53896e,_0x43b510;}),_0x3d64ae['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3d64ae['createText'](String(_0x5b69fd))),_0x3d64ae['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x186bcf){const _0xfa4b31=this['toDomElement'](_0x186bcf);return _0xfa4b31['innerHTML']=_0x5da52d,_0xfa4b31;})]);else{if(_0x545a0f){const _0x57f5fa=this['_shouldPreviewHtmlValues']?_0x3d64ae['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x4240aa,_0xc2b9bd){_0xc2b9bd['setContentOf'](_0x4240aa,_0x5a6090(_0x5b69fd)['html']);}):_0x3d64ae['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x3d64ae['createText'](_0x5b69fd));if(_0x2bc9b1=_0x3d64ae['createContainerElement'](_0x1b9012,{'class':_0x2e9419},[_0x57f5fa]),'text'===_0xc09272||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x545a0f)){const _0x8bfa97=_0x3d64ae['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x5641a0){const _0x5bf532=this['toDomElement'](_0x5641a0),_0xc50e57=new _0x31c75c['IconView']();return _0xc50e57['set']({'content':_0x31c75c['IconWarning']}),_0xc50e57['render'](),_0x5bf532['appendChild'](_0xc50e57['element']),_0x5bf532;});_0x3d64ae['insert'](_0x3d64ae['createPositionAt'](_0x2bc9b1,'end'),_0x8bfa97);}_0x3d64ae['setCustomProperty']('mergeFieldStatus',_0x545a0f,_0x2bc9b1);}else{const _0xeb9be5=this['_shouldPreviewHtmlValues']?_0x3d64ae['createRawElement'](_0x1b9012,{},function(_0x4043ef,_0x2fefd7){_0x2fefd7['setContentOf'](_0x4043ef,_0x5a6090(_0x5b69fd)['html']);}):_0x3d64ae['createText'](_0x5b69fd);_0x2bc9b1=_0x3d64ae['createContainerElement'](_0x1b9012,{'class':_0x2e9419},_0xeb9be5);}}if('block'===_0xc09272){const _0x7f4de4=_0x3d64ae['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x2bc9b1]);if(('$labels'===this['previewMode']||_0x545a0f&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x545a0f))&&_0x3d64ae['setAttribute']('style','height:\x20'+_0x28dfff+'px',_0x7f4de4),_0x2bc9b1['hasClass']('ck-merge-field_with-value'))_0x3d64ae['addClass']('ck-merge-field-block_with-value',_0x7f4de4);else{if(_0x2bc9b1['hasClass']('ck-merge-field_with-warning')){for(const _0x47c89d of _0x2bc9b1['getClassNames']())if('ck-merge-field'!==_0x47c89d){const _0x31039a=_0x47c89d['replace']('ck-merge-field','ck-merge-field-block');_0x3d64ae['addClass'](_0x31039a,_0x7f4de4);}_0x3d64ae['setCustomProperty']('mergeFieldStatus',_0x545a0f,_0x7f4de4);}}return _0x3d64ae['setCustomProperty']('mergeFieldBlock',!0x0,_0x7f4de4),_0x3d64ae['setAttribute']('data-merge-field-name',_0x5b5535['getAttribute']('id'),_0x7f4de4),_0x31c75c['toWidget'](_0x7f4de4,_0x3d64ae,{'hasSelectionHandle':!0x0});}return _0x3d64ae['setCustomProperty']('mergeField',!0x0,_0x2bc9b1),_0x3d64ae['setAttribute']('data-merge-field-name',_0x5b5535['getAttribute']('id'),_0x2bc9b1),_0x31c75c['toWidget'](_0x2bc9b1,_0x3d64ae);}['_prepareViewElementData'](_0x53bb90){const _0x477313=_0x53bb90['getAttribute']('id'),_0xbd0f02=this['getDefinition'](_0x477313);if(!_0xbd0f02)return'$labels'===this['previewMode']?{'label':_0x477313,'classes':'ck-merge-field'}:{'label':_0x477313,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x3336e2=this['getLabel'](_0x477313)||_0x477313,_0x4b08bf=this['getMergeFieldDefaultValue'](_0x477313),_0x546d81=this['getMergeFieldHeight'](_0x477313);if('$labels'===this['previewMode'])return{'label':_0x3336e2,'height':_0x546d81,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x4b08bf?{'label':_0x4b08bf,'height':_0x546d81,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x3336e2,'height':_0x546d81,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x1e0c21=this['getMergeFieldValue'](_0xbd0f02['id'],this['previewMode']);return _0x1e0c21?{'label':_0x1e0c21,'height':_0x546d81,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x4b08bf?{'label':_0x4b08bf,'height':_0x546d81,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','status':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'}:{'label':_0x3336e2,'height':_0x546d81,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x475d02,_0x38dc9a,_0x462f80){const _0x2ee3aa=_0x475d02['getAttribute']('id');let _0x3de82f;if(_0x462f80['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x2ee3aa,_0x38dc9a);const _0x3a112f=_0x462f80['mergeFieldsData'],_0x45a520=_0x3a112f&&_0x3a112f[_0x2ee3aa]?_0x3a112f[_0x2ee3aa]:this['wrapInAffixes'](_0x2ee3aa);if(_0x3a112f)_0x3de82f=_0x38dc9a['createRawElement']('span',{},function(_0x46c5cf,_0x4ac319){_0x4ac319['setContentOf'](_0x46c5cf,String(_0x45a520));});else{_0x3de82f=_0x38dc9a['createContainerElement']('span');const _0x2db5a4=_0x38dc9a['createText'](_0x45a520);_0x38dc9a['insert'](_0x38dc9a['createPositionAt'](_0x3de82f,'end'),_0x2db5a4);}return _0x38dc9a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3de82f),_0x3de82f;}['_downcastForClipboard'](_0x4000ac,_0x463b45){const _0xd7aeac='block'===this['getMergeFieldType'](_0x4000ac)?'div':'span';let _0x58b531,_0x16b8b7;_0x58b531='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x4000ac)||this['getLabel'](_0x4000ac)||this['wrapInAffixes'](_0x4000ac):this['getMergeFieldValue'](_0x4000ac,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x4000ac)||this['getLabel'](_0x4000ac)||this['wrapInAffixes'](_0x4000ac);const _0x86a01e=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x16b8b7=this['_shouldPreviewHtmlValues']?_0x463b45['createRawElement'](_0xd7aeac,{'data-ck-merge-field':_0x4000ac},function(_0x364b61,_0xb546f0){_0xb546f0['setContentOf'](_0x364b61,_0x86a01e(_0x58b531)['html']);}):_0x463b45['createContainerElement'](_0xd7aeac,{'data-ck-merge-field':_0x4000ac},_0x463b45['createText'](_0x58b531)),_0x16b8b7;}['_validatePreviewMode'](_0x1ff9f4){if(!this['availablePreviewModes']['includes'](_0x1ff9f4))throw new _0x31c75c['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x1ff9f4});}['_trackAddedMergeFields'](){for(const _0x538d87 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x538d87['type']||'$text'===_0x538d87['name'])continue;if('mergeField'===_0x538d87['name']||'mergeFieldBlock'===_0x538d87['name']){this['_mergeFieldElements']['add'](_0x538d87['position']['nodeAfter']);continue;}if('imageInline'===_0x538d87['name']||'imageBlock'===_0x538d87['name']&&_0x538d87['attributes']['get']('src')&&String(_0x538d87['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x538d87['position']['nodeAfter']);continue;}const _0x5af897=this['editor']['model']['createRangeIn'](_0x538d87['position']['nodeAfter']);for(const _0x5c4b6f of _0x5af897['getItems']())_0x5c4b6f['is']('element')&&this['isMergeField'](_0x5c4b6f)&&this['_mergeFieldElements']['add'](_0x5c4b6f);}}['_registerConversionPostFixer'](){const _0x1ad30d=this['editor'];_0x1ad30d['model']['document']['registerPostFixer'](_0x56638a=>{if(!_0x56638a['batch']['isLocal'])return!0x1;const _0x454be8=[],_0x1ebd8d=new Set(),_0x51371b=this['_mergeFieldRegExp'];let _0x4b11af=!0x1;for(const _0x9523dd of _0x1ad30d['model']['document']['differ']['getChanges']())if('insert'===_0x9523dd['type']||'remove'===_0x9523dd['type']){let _0x774549='$text'==_0x9523dd['name']?_0x9523dd['position']['parent']:_0x9523dd['position']['nodeAfter'];if(!_0x774549)continue;_0x774549['is']('$text')&&(_0x774549=_0x774549['parent']),_0x33aef4(_0x774549);}for(const _0xe8cb26 of _0x454be8['reverse']()){const {match:_0x2a26e2,item:_0x136b12}=_0xe8cb26,_0x3f362e=_0x56638a['createPositionAt'](_0x136b12,_0x2a26e2['index']),_0x221bc9=_0x3f362e['getShiftedBy'](_0x2a26e2[0x0]['length']),_0x4566fb=_0x56638a['createRange'](_0x3f362e,_0x221bc9),_0x5387ec=_0x2a26e2[0x0],_0x4eb467=this['unwrapAffixes'](_0x5387ec),_0x3a6ea0=_0x3652b0(_0x4566fb),_0x194e3d=this['getMergeFieldType'](_0x4eb467);if(_0x18036b['test'](_0x4eb467)){if(_0x3a6ea0['set']('id',_0x4eb467),'block'===_0x194e3d){const _0x2078dc=_0x56638a['createElement']('mergeFieldBlock',{'id':_0x4eb467});_0x56638a['remove'](_0x4566fb),_0x1ad30d['model']['insertObject'](_0x2078dc,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x194e3d){const _0x9c0305=_0x56638a['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x4eb467)});_0x56638a['remove'](_0x4566fb),_0x1ad30d['model']['insertObject'](_0x9c0305,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x46ec65=_0x56638a['createElement']('mergeField',_0x3a6ea0);_0x1ad30d['model']['schema']['checkChild'](_0x4566fb['start'],'mergeField')?_0x1ad30d['model']['insertObject'](_0x46ec65,_0x4566fb):_0x56638a['remove'](_0x4566fb);}}_0x4b11af=!0x0;}}return _0x4b11af;function _0x33aef4(_0x2e36a4){let _0x205808='',_0x4372c7=0x0;if(!_0x1ebd8d['has'](_0x2e36a4))for(const _0x46c9f1 of _0x2e36a4['getChildren']()){const _0xb281d1=_0x46c9f1['nextSibling'];if(_0x46c9f1['is']('$text')&&(''===_0x205808&&_0x46c9f1['startOffset']&&(_0x4372c7=_0x46c9f1['startOffset']),_0x205808+=_0x46c9f1['data']),!_0xb281d1||_0xb281d1['is']('element')){for(const _0x4ebd51 of _0x205808['matchAll'](_0x51371b))_0x4ebd51['index']=_0x4ebd51['index']+_0x4372c7,_0x454be8['push']({'match':_0x4ebd51,'item':_0x2e36a4});_0x1ebd8d['add'](_0x2e36a4),_0x205808='';}_0x46c9f1['is']('element')&&_0x33aef4(_0x46c9f1);}}function _0x3652b0(_0x5beb90){const _0x17046f=_0x5beb90['getItems'](),_0x45f4c3=_0x17046f['next']()['value'],_0x383399=new Map(_0x45f4c3['getAttributes']());for(const _0x5ea58a of _0x17046f)for(const [_0x46387b,_0x10a1b5]of _0x383399)_0x5ea58a['getAttribute'](_0x46387b)!==_0x10a1b5&&_0x383399['delete'](_0x46387b);return _0x383399;}});}['_disableCommandOnMergeFields'](_0x116504){const _0x324d41=this['editor'],_0x1ee78e=_0x324d41['commands']['get'](_0x116504);_0x1ee78e&&_0x1ee78e['on']('set:isEnabled',(_0x3e42aa,_0x813fe9,_0x2657e4)=>{if(0x1==_0x2657e4){const _0x3da35c=_0x324d41['model']['document']['selection']['getSelectedElement']();_0x3da35c&&this['isMergeField'](_0x3da35c)&&(_0x3e42aa['return']=!0x1,_0x3e42aa['stop']());}});}}class MergeFieldsListView extends _0x31c75c['ListView']{['filter'](_0x1007d5){return _0x31c75c['filterGroupAndItemNames'](_0x1007d5,this['items']);}}class _0x288525 extends _0x31c75c['View']{constructor(_0x1e2ebf){super(_0x1e2ebf),this['set']('text','');const _0x189551=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-merge-fields-form']},'children':[{'tag':'div','attributes':{'class':['ck','ck-merge-fields-form__status']},'children':[{'text':_0x189551['to']('text')}]}]});}}function _0x5cce84(_0x1f6931,_0x17bca9){const t=_0x1f6931['t'];switch(_0x17bca9){case'Search\x20merge\x20field':return t('Search\x20merge\x20field');case'No\x20merge\x20fields\x20found':return t('No\x20merge\x20fields\x20found');case'No\x20merge\x20fields\x20available':return t('No\x20merge\x20fields\x20available');case'Insert\x20merge\x20field':return t('Insert\x20merge\x20field');case'Merge\x20field':return t('Merge\x20field');case'Merge\x20fields\x20preview':return t('Merge\x20fields\x20preview');case'Labels':return t('Labels');case'Default\x20values':return t('Default\x20values');case'WARNING_MISSING_DATA_USED_DEFAULT_VALUE':return t({'string':'Default\x20value\x20is\x20used.','id':'WARNING_MISSING_DATA_USED_DEFAULT_VALUE'});case'WARNING_MISSING_DEFAULT_VALUE':return t({'string':'Default\x20value\x20not\x20available.','id':'WARNING_MISSING_DEFAULT_VALUE'});case'WARNING_MISSING_DATA':return t({'string':'Value\x20not\x20available.','id':'WARNING_MISSING_DATA'});default:return _0x17bca9;}}class _0x3d40ae extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[_0x31c75c['Mention'],MergeFieldsEditing,_0x31c75c['ContextualBalloon'],_0x31c75c['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1da08e){super(_0x1da08e),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x5433c0=this['editor'];_0x5433c0['ui']['componentFactory']['add']('insertMergeField',_0x46531f=>{const _0x40ebe3=function(_0x37d408){const _0x56648f=_0x31c75c['createDropdown'](_0x37d408);return _0x56648f['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x56648f['buttonView']['set']({'label':_0x5cce84(_0x37d408,'Insert\x20merge\x20field'),'icon':_0x31c75c['IconInsertMergeField'],'tooltip':!0x0}),_0x56648f;}(_0x46531f);return _0x40ebe3['bind']('isEnabled')['toMany']([_0x5433c0['commands']['get']('insertMergeField'),_0x5433c0['commands']['get']('insertMergeFieldBlock'),_0x5433c0['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x40e263)=>_0x40e263['some'](_0x29b2cb=>_0x29b2cb)),_0x40ebe3['once']('change:isOpen',()=>{const _0x50068e={'insertInline':_0x5433c0['commands']['get']('insertMergeField'),'insertBlock':_0x5433c0['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x5433c0['commands']['get']('insertMergeFieldImage')},_0x47196d=function(_0x5a4967,_0x4934f9,_0x961034){const _0x2f7503=new MergeFieldsListView(_0x5a4967),_0x1de1a6=[],_0x5898ef=[];for(const _0xc25444 of _0x4934f9)if('groupId'in _0xc25444){const _0x448da5=_0x55eb2f(_0x5a4967,_0xc25444['groupLabel']||_0xc25444['groupId'],_0xc25444['definitions'],_0x961034);_0x448da5['delegate']('execute')['to'](_0x2f7503),_0x5898ef['push'](_0x448da5);}else _0x1de1a6['push'](_0xc25444);if(_0x1de1a6['length']){const _0x4ee7e3=_0x55eb2f(_0x5a4967,'Other',_0x1de1a6,_0x961034);_0x4ee7e3['delegate']('execute')['to'](_0x2f7503),_0x5898ef['push'](_0x4ee7e3);}return _0x2f7503['items']['addMany'](_0x5898ef),_0x2f7503;}(_0x46531f,_0x5433c0['config']['get']('mergeFields.definitions'),_0x50068e);_0x47196d['delegate']('execute')['to'](_0x40ebe3),_0x40ebe3['on']('execute',(_0x3b9ab9,_0x185919)=>{const _0x671a53=_0x5433c0['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x185919);'image'===_0x671a53?_0x5433c0['execute']('insertMergeFieldImage',_0x185919):'block'===_0x671a53?_0x5433c0['execute']('insertMergeFieldBlock',_0x185919):_0x5433c0['execute']('insertMergeField',_0x185919),_0x5433c0['editing']['view']['focus']();});const _0x11841c=function(_0x2a1d24,_0xe1e87c){return new _0x31c75c['SearchTextView'](_0x2a1d24,{'filteredView':_0xe1e87c,'queryView':{'label':_0x5cce84(_0x2a1d24,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':_0x5cce84(_0x2a1d24,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':_0x5cce84(_0x2a1d24,'No\x20merge\x20fields\x20available')}}}});}(_0x46531f,_0x47196d);_0x40ebe3['panelView']['children']['add'](_0x11841c),_0x40ebe3['on']('change:isOpen',(_0x1aae5,_0x47d9c9,_0x10e582)=>{_0x10e582&&_0x11841c['reset']();});}),_0x40ebe3;}),_0x5433c0['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x5e930d=>{const _0x4e590e=new _0x31c75c['MenuBarMenuView'](_0x5e930d),_0x58d688={'insertInline':_0x5433c0['commands']['get']('insertMergeField'),'insertBlock':_0x5433c0['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x5433c0['commands']['get']('insertMergeFieldImage')};_0x4e590e['buttonView']['set']({'label':_0x5cce84(_0x5e930d,'Merge\x20field'),'icon':_0x31c75c['IconInsertMergeField']}),_0x4e590e['bind']('isEnabled')['toMany']([...Object['values'](_0x58d688)],'isEnabled',(..._0x1cc96c)=>_0x1cc96c['some'](_0x20207f=>_0x20207f));const _0x1adbcb=[],_0x542d62=new _0x31c75c['MenuBarMenuListView'](_0x5e930d);for(const _0x52f370 of _0x5433c0['config']['get']('mergeFields.definitions'))if('groupId'in _0x52f370){const _0x5d91fa=new _0x31c75c['MenuBarMenuListItemView'](_0x5e930d,_0x4e590e),_0x14c5f3=_0x4b172a(_0x5e930d,_0x52f370,_0x58d688);_0x5d91fa['children']['add'](_0x14c5f3),_0x14c5f3['delegate']('execute')['to'](_0x4e590e),_0x542d62['items']['add'](_0x5d91fa);}else _0x1adbcb['push'](_0x52f370);if(_0x1adbcb['length']){if(0x0===_0x542d62['items']['length'])for(const _0x5681a6 of _0x1adbcb){let _0x33bf10;_0x33bf10='block'===_0x5681a6['type']?_0x58d688['insertBlock']:'image'===_0x5681a6['type']?_0x58d688['insertImage']:_0x58d688['insertInline'];const _0x45e8cd=_0x231de7(_0x5e930d,_0x5681a6,_0x4e590e,_0x33bf10);_0x542d62['items']['add'](_0x45e8cd);}else{const _0xcd16ae=new _0x31c75c['MenuBarMenuListItemView'](_0x5e930d,_0x4e590e),_0x5e505c=_0x4b172a(_0x5e930d,{'groupId':'Other','definitions':_0x1adbcb},_0x58d688);_0xcd16ae['children']['add'](_0x5e505c),_0x5e505c['delegate']('execute')['to'](_0x4e590e),_0x542d62['items']['add'](_0xcd16ae);}}return _0x4e590e['panelView']['children']['add'](_0x542d62),_0x4e590e['on']('execute',(_0x189e6a,_0x22f04f)=>{const _0x20b57a=_0x5433c0['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x22f04f);'image'===_0x20b57a?_0x5433c0['execute']('insertMergeFieldImage',_0x22f04f):'block'===_0x20b57a?_0x5433c0['execute']('insertMergeFieldBlock',_0x22f04f):_0x5433c0['execute']('insertMergeField',_0x22f04f),_0x5433c0['editing']['view']['focus']();}),_0x4e590e;});const _0x1e72e7=_0x5433c0['config']['get']('mergeFields.previewModes'),_0x1dd1ba=[];if(_0x1e72e7['includes']('$labels')&&_0x1dd1ba['push']({'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x5cce84(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x1e72e7['includes']('$defaultValues')&&_0x1dd1ba['push']({'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x5cce84(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x1e72e7['includes']('$dataSets')){const _0x192afe=_0x5433c0['config']['get']('mergeFields.dataSets');if(_0x192afe['length']){for(const _0x25841b of _0x192afe)_0x1dd1ba['push']({'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x25841b['label']||_0x25841b['id'],'commandValue':_0x25841b['id']})});}}_0x5433c0['ui']['componentFactory']['add']('previewMergeFields',_0x457229=>{const _0x450240=_0x5433c0['commands']['get']('previewMergeFields'),_0xd84bb6=new _0x31c75c['Collection']();for(const _0x4c7acd of _0xeda1dc(_0x1dd1ba))_0x4c7acd['model']['bind']('isOn')['to'](_0x450240,'value',_0x491ae3=>_0x491ae3===_0x4c7acd['model']['commandValue']),_0xd84bb6['add'](_0x4c7acd);const _0x17dd6c=_0x31c75c['createDropdown'](_0x457229),_0x55f73b=_0x5cce84(_0x457229,'Merge\x20fields\x20preview');return _0x17dd6c['bind']('isEnabled')['to'](_0x450240),_0x31c75c['addListToDropdown'](_0x17dd6c,_0xd84bb6,{'ariaLabel':_0x55f73b,'role':'menu'}),_0x17dd6c['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x17dd6c['buttonView']['set']({'label':_0x55f73b,'ariaLabel':_0x55f73b,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x31c75c['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x17dd6c,'execute',_0x58c452=>{const {commandValue:_0x379763}=_0x58c452['source'];_0x5433c0['execute']('previewMergeFields',_0x379763),_0x5433c0['editing']['view']['focus']();}),_0x17dd6c;}),_0x5433c0['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x34b237=>{const _0x5d9db7=new _0x31c75c['MenuBarMenuView'](_0x34b237),_0x520442=_0x5433c0['commands']['get']('previewMergeFields');_0x5d9db7['buttonView']['set']({'label':_0x5cce84(_0x34b237,'Merge\x20fields\x20preview'),'icon':_0x31c75c['IconPreviewMergeFields']}),_0x5d9db7['bind']('isEnabled')['to'](_0x520442);const _0x5c11e9=new _0x31c75c['MenuBarMenuListView'](_0x34b237);_0x5c11e9['set']({'ariaLabel':_0x5cce84(_0x34b237,'Merge\x20fields\x20preview')});for(const _0x5abfff of _0xeda1dc(_0x1dd1ba)){const _0x2109dd=new _0x31c75c['MenuBarMenuListItemView'](_0x34b237,_0x5d9db7),_0x51dfea=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x34b237);_0x5abfff['model']['bind']('isOn')['to'](_0x520442,'value',_0x59ab63=>_0x59ab63===_0x5abfff['model']['commandValue']),_0x51dfea['isToggleable']=!0x0,_0x51dfea['bind'](...Object['keys'](_0x5abfff['model']))['to'](_0x5abfff['model']),_0x51dfea['delegate']('execute')['to'](_0x5d9db7),_0x51dfea['on']('execute',_0x17f07f=>{const {commandValue:_0x4cef4f}=_0x17f07f['source'];_0x5433c0['execute']('previewMergeFields',_0x4cef4f),_0x5433c0['editing']['view']['focus']();}),_0x2109dd['children']['add'](_0x51dfea),_0x5c11e9['items']['add'](_0x2109dd);}return _0x5d9db7['panelView']['children']['add'](_0x5c11e9),_0x5d9db7;}),this['_balloon']=_0x5433c0['plugins']['get'](_0x31c75c['ContextualBalloon']),this['listenTo'](_0x5433c0['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x5433c0['ui']['focusTracker'],'change:isFocused',(_0xbb0ddd,_0x12069a,_0x25cce1)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x25cce1?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x131713=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c8ac3;for(const _0x226629 in _0x131713){const _0x227863=_0x226629,_0x2baa8f=_0x131713[_0x227863];if('mergeFieldsLicenseKeyValid'==_0x2baa8f||'mergeFieldsLicenseKeyInvalid'==_0x2baa8f||'mergeFieldsLicenseKeyExpired'==_0x2baa8f||'mergeFieldsLicenseKeyDomainLimit'==_0x2baa8f||'mergeFieldsLicenseKeyNotAllowed'==_0x2baa8f||'mergeFieldsLicenseKeyEvaluationLimit'==_0x2baa8f||'mergeFieldsLicenseKeyUsageLimit'==_0x2baa8f){delete _0x131713[_0x227863],_0x4c8ac3=_0x2baa8f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x4c8ac3&&_0x131713['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x4c8ac3&&_0x131713['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x4c8ac3&&_0x131713['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x4c8ac3&&_0x131713['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x4c8ac3&&_0x131713['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x4c8ac3&&_0x131713['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x2f09ae=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x15f797=!(!_0x2f09ae||!_0x2f09ae['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x15f797){const _0x4879d2=_0x2f09ae['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=_0x5cce84(this['editor']['locale'],_0x4879d2),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x15f797){const _0x1f4cb1=_0x2f09ae['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](_0x5cce84(this['editor']['locale'],_0x1f4cb1));}}}['_showBalloon'](_0x113abd){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x288525(this['editor']['locale']),this['_balloonPanelView']['text']=_0x113abd),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x58be6e=this['editor']['editing']['view'];return{'target':()=>{const _0x2d8d5c=_0x58be6e['document']['selection']['getFirstRange'](),_0x33d1ae=_0x58be6e['domConverter']['mapViewToDom'](_0x2d8d5c['getContainedElement']());return _0x33d1ae?Array['from'](_0x33d1ae['getClientRects']())[0x0]:_0x58be6e['domConverter']['viewRangeToDom'](_0x2d8d5c);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x206912=>_0x206912))return;const _0x6ed08d=this['editor']['config']['get']('mergeFields.previewModes');_0x6ed08d['indexOf']('$defaultValues')>-0x1&&_0x6ed08d['length']>0x1&&(_0x6ed08d['splice'](_0x6ed08d['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x6ed08d));}['_removeMenuBarButtonIfUnnecessary'](){const _0x24024f=this['editor']['config'];if(_0x24024f['get']('mergeFields.previewModes')){const _0x1d99f3=_0x24024f['get']('mergeFields.previewModes');if(0x1===_0x1d99f3['length']){if(_0x1d99f3['includes']('$dataSets'))0x1===_0x24024f['get']('mergeFields.dataSets')['length']&&_0x32c296();else _0x32c296();}}function _0x32c296(){const _0x185305=_0x24024f['get']('menuBar.removeItems');_0x185305?(_0x185305['push']('menuBar:previewMergeFields'),_0x24024f['set']('menuBar.removeItems',_0x185305)):_0x24024f['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x5bfdb2=this['editor'],_0x46de0d=_0x5bfdb2['config']['get']('mention.feeds'),_0x32cf11=_0x5bfdb2['config']['get']('mergeFields.prefix');_0x46de0d['push']({'marker':_0x32cf11,'dropdownLimit':0xa,'feed':_0x335442=>_0x5bfdb2['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x3553c2=>{const _0x3a06c9=_0x5bfdb2['commands']['get']('insertMergeField')['isEnabled'],_0x280b25=_0x5bfdb2['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x344b49=_0x5bfdb2['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x4ae948=_0x5bfdb2['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3553c2['id']);if('text'===_0x4ae948&&!_0x3a06c9)return!0x1;if('block'===_0x4ae948&&!_0x280b25)return!0x1;if('image'===_0x4ae948&&!_0x344b49)return!0x1;return(_0x5bfdb2['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x3553c2['id'])||_0x3553c2['id'])['toLowerCase']()['includes'](_0x335442['toLowerCase']());}),'itemRenderer':_0x2dcf1a=>{const _0x5e1711=document['createElement']('button');return _0x5e1711['innerHTML']=''+(_0x2dcf1a['label']||_0x2dcf1a['id']),_0x5e1711;}}),_0x5bfdb2['config']['set']('mention.feeds',_0x46de0d);}['_overrideMentionExecuteListener'](){const _0x7feaf=this['editor'];_0x7feaf['commands']['get']('mention')['on']('execute',(_0x185c19,_0x2de271)=>{const _0x1e9c43=_0x2de271[0x0];_0x1e9c43['marker']===_0x7feaf['config']['get']('mergeFields.prefix')&&_0x7feaf['model']['change'](_0x46252e=>{_0x46252e['remove'](_0x1e9c43['range']);const _0x3642e2=_0x1e9c43['mention']['id'],_0x255c37=_0x7feaf['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3642e2);'text'===_0x255c37?_0x7feaf['execute']('insertMergeField',_0x3642e2):'block'===_0x255c37?_0x7feaf['execute']('insertMergeFieldBlock',_0x3642e2,!0x1):_0x7feaf['execute']('insertMergeFieldImage',_0x3642e2,{'breakBlock':!0x0}),_0x185c19['stop']();});},{'priority':'high'});}}function _0x55eb2f(_0x62e516,_0x263163,_0x5dfd51,_0x4f96d2){const _0x4a7607=new _0x31c75c['ListItemGroupView'](_0x62e516,new _0x31c75c['LabelWithHighlightView']());_0x4a7607['label']=_0x263163;for(const _0x4c2ec6 of _0x5dfd51){let _0x1ef817;_0x1ef817='block'===_0x4c2ec6['type']?_0x4f96d2['insertBlock']:'image'===_0x4c2ec6['type']?_0x4f96d2['insertImage']:_0x4f96d2['insertInline'];const _0x437455=_0x51a8de(_0x62e516,_0x4c2ec6,_0x1ef817);_0x437455['delegate']('execute')['to'](_0x4a7607),_0x4a7607['items']['add'](_0x437455);}return _0x4a7607;}function _0x51a8de(_0x502f77,_0x2665fe,_0x315edc){const _0x30040e=new _0x31c75c['ListItemView'](_0x502f77),_0x18fb30=new _0x31c75c['ButtonLabelWithHighlightView'](),_0xcf1136=new _0x31c75c['ButtonView'](_0x502f77,_0x18fb30);return _0x30040e['children']['add'](_0xcf1136),_0xcf1136['set']({'label':_0x2665fe['label']||_0x2665fe['id'],'withText':!0x0}),_0xcf1136['bind']('isEnabled')['to'](_0x315edc),_0xcf1136['on']('execute',()=>{_0x30040e['fire']('execute',_0x2665fe['id']);}),_0x30040e;}function _0x4b172a(_0x19bfc3,_0x2cfd8a,_0x1382ad){const _0x12189a=new _0x31c75c['MenuBarMenuView'](_0x19bfc3),_0x11aec8=new _0x31c75c['MenuBarMenuListView'](_0x19bfc3);for(const _0x6a291d of _0x2cfd8a['definitions']){let _0x5c3eaf;_0x5c3eaf='block'===_0x6a291d['type']?_0x1382ad['insertBlock']:'image'===_0x6a291d['type']?_0x1382ad['insertImage']:_0x1382ad['insertInline'];const _0x2377be=_0x231de7(_0x19bfc3,_0x6a291d,_0x12189a,_0x5c3eaf);_0x11aec8['items']['add'](_0x2377be);}return _0x12189a['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x12189a['buttonView']['set']({'label':_0x2cfd8a['groupLabel']||_0x2cfd8a['groupId']}),_0x12189a['panelView']['children']['add'](_0x11aec8),_0x12189a;}function _0x231de7(_0x561dfe,_0x4c2fc8,_0x2cc9ab,_0x2ecf10){const _0x2f89aa=new _0x31c75c['MenuBarMenuListItemView'](_0x561dfe,_0x2cc9ab),_0x2b692e=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x561dfe);return _0x2b692e['set']({'label':_0x4c2fc8['label']||_0x4c2fc8['id']}),_0x2f89aa['delegate']('execute')['to'](_0x2cc9ab),_0x2f89aa['children']['add'](_0x2b692e),_0x2b692e['bind']('isEnabled')['to'](_0x2ecf10),_0x2b692e['on']('execute',()=>{_0x2f89aa['fire']('execute',_0x4c2fc8['id']);}),_0x2f89aa;}class _0x43477b extends _0x31c75c['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x3d40ae];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x31c75c['Plugin']{['_recalculatePageBreaksDebounced']=ht(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x31c75c['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x259390=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x259390),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x9df8e6,_0xb8dc52,_0x14f743)=>{_0x14f743&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x401269){const _0x151ae1=_0x3dc2f9([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x38c5f8=0xc82cb1e,_0x41173d=0xc854176^_0x38c5f8,_0x3e2cb0=window[_0x3dc2f9([0x44,0x61,0x74,0x65])][_0x3dc2f9([0x6e,0x6f,0x77])](),_0x54d12f=_0x401269[_0x3dc2f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x577a96=new window[(_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a00e=>{_0x54d12f[_0x3dc2f9([0x6f,0x6e,0x63,0x65])](_0x3dc2f9([0x72,0x65,0x61,0x64,0x79]),_0x48a00e);}),_0x4c9756={[_0x3dc2f9([0x6b,0x74,0x79])]:_0x3dc2f9([0x45,0x43]),[_0x3dc2f9([0x75,0x73,0x65])]:_0x3dc2f9([0x73,0x69,0x67]),[_0x3dc2f9([0x63,0x72,0x76])]:_0x3dc2f9([0x50,0x2d,0x32,0x35,0x36]),[_0x3dc2f9([0x78])]:_0x3dc2f9([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3dc2f9([0x79])]:_0x3dc2f9([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3dc2f9([0x61,0x6c,0x67])]:_0x3dc2f9([0x45,0x53,0x32,0x35,0x36])},_0x5228ae=_0x54d12f[_0x3dc2f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3dc2f9([0x67,0x65,0x74])](_0x3dc2f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b7ee3(){let _0x31d45d,_0x76f1ba=null,_0x24208a=null;try{if(_0x5228ae==_0x3dc2f9([0x47,0x50,0x4c]))return _0x3dc2f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31d45d=_0x49bfa1(),!_0x31d45d)return _0x3dc2f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31d45d[_0x3dc2f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24208a=_0x5ca5a4(_0x31d45d[_0x3dc2f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31d45d[_0x3dc2f9([0x6a,0x74,0x69])])),await _0xd7f76e()?_0x5b88a6()?_0xa3b032()?_0x3dc2f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cd661()?(_0x31d45d[_0x3dc2f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3dc2f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x76f1ba=_0x9aaf73(_0x3dc2f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37602b()):_0x3dc2f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3dc2f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3dc2f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3dc2f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa3b032(){const _0x10b689=[_0x3dc2f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3dc2f9([0x74,0x72,0x69,0x61,0x6c])][_0x3dc2f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d45d[_0x3dc2f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e2cb0/0x3e8:0xe10*_0x41173d;return _0x31d45d[_0x3dc2f9([0x65,0x78,0x70])]<_0x10b689;}function _0x5b88a6(){const _0x2a262d=_0x31d45d[_0x3dc2f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a262d&&(!!_0x2a262d[_0x3dc2f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dc2f9([0x2a]))||!!_0x2a262d[_0x3dc2f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dc2f9([0x50,0x41,0x47])));}function _0x4cd661(){const _0x358b27=_0x31d45d[_0x3dc2f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x358b27||0x0==_0x358b27[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43fcdd}=new URL(window[_0x3dc2f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x358b27[_0x3dc2f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43fcdd))return!0x0;const _0x20f468=_0x43fcdd[_0x3dc2f9([0x73,0x70,0x6c,0x69,0x74])](_0x3dc2f9([0x2e]));return _0x358b27[_0x3dc2f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2434f1=>_0x2434f1[_0x3dc2f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dc2f9([0x2a])))[_0x3dc2f9([0x6d,0x61,0x70])](_0x35ad85=>_0x35ad85[_0x3dc2f9([0x73,0x70,0x6c,0x69,0x74])](_0x3dc2f9([0x2e])))[_0x3dc2f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x497869=>_0x497869[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20f468[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3dc2f9([0x6d,0x61,0x70])](_0x37fbce=>Array(_0x20f468[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37fbce[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3dc2f9([0x66,0x69,0x6c,0x6c])](_0x37fbce[0x0]===_0x3dc2f9([0x2a])?_0x3dc2f9([0x2a]):'')[_0x3dc2f9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37fbce))[_0x3dc2f9([0x73,0x6f,0x6d,0x65])](_0x1f985d=>_0x20f468[_0x3dc2f9([0x65,0x76,0x65,0x72,0x79])]((_0x465624,_0x29e782)=>_0x1f985d[_0x29e782]===_0x465624||_0x1f985d[_0x29e782]===_0x3dc2f9([0x2a])));}function _0x37602b(){return _0x76f1ba&&_0x24208a?new window[(_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b040c,_0x390f0d)=>{_0x76f1ba[_0x3dc2f9([0x74,0x68,0x65,0x6e])](_0x4b040c,_0x390f0d),_0x24208a[_0x3dc2f9([0x74,0x68,0x65,0x6e])](_0x3065ec=>{_0x3065ec!=_0x3dc2f9([0x56,0x61,0x6c,0x69,0x64])&&_0x4b040c(_0x3065ec);},_0x390f0d);}):_0x76f1ba||_0x24208a||_0x3dc2f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ca5a4(_0x20878a,_0x5b38bf){return new window[(_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1786b8=>{if(_0x347d97())return _0x1786b8(_0x3dc2f9([0x56,0x61,0x6c,0x69,0x64]));_0x220e03(),_0x54d12f[_0x3dc2f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3dc2f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3fdc73=!0x1;const _0x22d00a=_0x31c75c['uid']();function _0x48ee21(_0x41a100){return!!_0x41a100&&(typeof _0x41a100===_0x3dc2f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41a100===_0x3dc2f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41a100[_0x3dc2f9([0x74,0x68,0x65,0x6e])]===_0x3dc2f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41a100[_0x3dc2f9([0x63,0x61,0x74,0x63,0x68])]===_0x3dc2f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47151c(_0xbbbd7e){_0x4c378b(_0xbbbd7e)[_0x3dc2f9([0x74,0x68,0x65,0x6e])](_0x75aea5=>{if(!_0x75aea5||_0x75aea5[_0x3dc2f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3dc2f9([0x6f,0x6b]))return _0x3dc2f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ff141(_0x323837(_0x22d00a+_0x5b38bf))!=_0x75aea5[_0x3dc2f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3dc2f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3dc2f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3dc2f9([0x74,0x68,0x65,0x6e])](_0x3e21a8=>(_0x3b6d2e(),_0x3e21a8),()=>{const _0x48fe2e=_0x2d0b2f();return null==_0x48fe2e?(_0x3b6d2e(),_0x3dc2f9([0x56,0x61,0x6c,0x69,0x64])):_0x3dc2f9(_0x3e2cb0-_0x48fe2e>(0x288e4f1e^_0x38c5f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3dc2f9([0x74,0x68,0x65,0x6e])](_0x1786b8)[_0x3dc2f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1786b8(_0x3dc2f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x121534=0xcb4259e^_0x38c5f8;function _0x3b6d2e(){const _0x286ae0=_0x3dc2f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ff141(_0x323837(_0x20878a)),_0x4e593e=_0x243c34(_0x1ff141(window[_0x3dc2f9([0x4d,0x61,0x74,0x68])][_0x3dc2f9([0x63,0x65,0x69,0x6c])](_0x3e2cb0/_0x121534)));window[_0x3dc2f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3dc2f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x286ae0,_0x4e593e);}function _0x2d0b2f(){const _0x381fc7=_0x3dc2f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ff141(_0x323837(_0x20878a)),_0x4dc960=window[_0x3dc2f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3dc2f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x381fc7);return _0x4dc960?window[_0x3dc2f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x243c34(_0x4dc960),0x10)*_0x121534:null;}function _0x4c378b(_0x26c467){return new window[(_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x552067,_0x4ef1cb)=>{_0x26c467[_0x3dc2f9([0x74,0x68,0x65,0x6e])](_0x552067,_0x4ef1cb),window[_0x3dc2f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ef1cb,0xc831fde^_0x38c5f8);});}}_0x54d12f[_0x3dc2f9([0x6f,0x6e])](_0x3dc2f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd4112c,_0x5a340c)=>{if(_0x5a340c[0x0]!=_0x20878a)return _0x1786b8(_0x3dc2f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a340c[0x1]={..._0x5a340c[0x1],[_0x3dc2f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22d00a};},{[_0x3dc2f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3dc2f9([0x68,0x69,0x67,0x68])}),_0x54d12f[_0x3dc2f9([0x6f,0x6e])](_0x3dc2f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8afc34=>{_0x48ee21(_0x8afc34[_0x3dc2f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3fdc73=!0x0,_0x47151c(_0x8afc34[_0x3dc2f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3dc2f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3dc2f9([0x6c,0x6f,0x77])}),_0x577a96[_0x3dc2f9([0x74,0x68,0x65,0x6e])](()=>{_0x3fdc73||_0x1786b8(_0x3dc2f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x347d97(){return _0x54d12f[_0x3dc2f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3dc2f9([0x76,0x69,0x65,0x77])][_0x3dc2f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3dc2f9([0x61,0x75,0x74,0x6f]);}function _0x220e03(){_0x54d12f[_0x3dc2f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3dc2f9([0x76,0x69,0x65,0x77])][_0x3dc2f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3dc2f9([0x61,0x75,0x74,0x6f]);}}function _0x9aaf73(_0x44e5fa){const _0x1b7a7e=[new window[(_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52f9ae=>setTimeout(_0x52f9ae,0xc8bf5d2^_0x38c5f8)),_0x577a96[_0x3dc2f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3132b6=>{let _0x66e23c=0x0;_0x54d12f[_0x3dc2f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3dc2f9([0x6f,0x6e])](_0x3dc2f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17f892,_0x4b3863)=>{_0x4b3863[0x0][_0x3dc2f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x66e23c++,_0x66e23c==(0xc82cef6^_0x38c5f8)&&(_0x3132b6(),_0x17f892[_0x3dc2f9([0x6f,0x66,0x66])]());});}))];return window[_0x3dc2f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3dc2f9([0x72,0x61,0x63,0x65])](_0x1b7a7e)[_0x3dc2f9([0x74,0x68,0x65,0x6e])](()=>_0x44e5fa);}async function _0x2ded9c(){await _0x577a96,_0x54d12f[_0x3dc2f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3dc2f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57f003,_0x54d12f[_0x3dc2f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3dc2f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57f003,_0x54d12f[_0x3dc2f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3dc2f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x529a57(_0x1d7105){const _0x52cdc3=_0x38c761();_0x54d12f[_0x52cdc3]=_0x3dc2f9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d7105,_0x1d7105!=_0x3dc2f9([0x56,0x61,0x6c,0x69,0x64])&&_0x2ded9c();}function _0x38c761(){const _0x9370e9=window[_0x3dc2f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3dc2f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3dc2f9([0x6e,0x6f,0x77])]())[_0x3dc2f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3dc2f9([0x2e]),'');let _0x95814=_0x3dc2f9([0x49]);for(let _0x24038d=0x0;_0x24038d<_0x9370e9[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24038d+=0x2){let _0x498af2=window[_0x3dc2f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9370e9[_0x3dc2f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24038d,_0x24038d+0x2));_0x498af2>=_0x151ae1[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x498af2-=_0x151ae1[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x95814+=_0x151ae1[_0x498af2];}return _0x95814;}function _0x49bfa1(){const _0x1a8fd1=_0x5228ae[_0x3dc2f9([0x73,0x70,0x6c,0x69,0x74])](_0x3dc2f9([0x2e]));if(0x3!=_0x1a8fd1[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x243064(_0x1a8fd1[0x1]);function _0x243064(_0x51f5b8){const _0x45c672=_0x497d11(_0x51f5b8);return _0x45c672&&_0x37ae24()?_0x45c672:null;function _0x37ae24(){const _0x344d7b=_0x45c672[_0x3dc2f9([0x6a,0x74,0x69])],_0x33082d=window[_0x3dc2f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344d7b[_0x3dc2f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x344d7b[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x365be8={..._0x45c672,[_0x3dc2f9([0x6a,0x74,0x69])]:_0x344d7b[_0x3dc2f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x344d7b[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x365be8[_0x3dc2f9([0x76,0x63])],_0x323837(_0x365be8)==_0x33082d;}}}async function _0xd7f76e(){let _0x1bf1f7=!0x0;try{const _0x271d91=_0x5228ae[_0x3dc2f9([0x73,0x70,0x6c,0x69,0x74])](_0x3dc2f9([0x2e])),[_0x5b6d78,_0x532818,_0x23e173]=_0x271d91;return _0x3921d1(_0x5b6d78),await _0x4b81dd(_0x5b6d78,_0x532818,_0x23e173),_0x1bf1f7;}catch{return!0x1;}function _0x3921d1(_0x24a396){const _0x6b51d9=_0x497d11(_0x24a396);_0x6b51d9&&_0x6b51d9[_0x3dc2f9([0x61,0x6c,0x67])]==_0x3dc2f9([0x45,0x53,0x32,0x35,0x36])||(_0x1bf1f7=!0x1);}async function _0x4b81dd(_0x647a7f,_0x1dc866,_0x59caf3){const _0x49928c=window[_0x3dc2f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3dc2f9([0x66,0x72,0x6f,0x6d])](_0x15a0a6(_0x59caf3),_0x12f45c=>_0x12f45c[_0x3dc2f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13d65a=new window[(_0x3dc2f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3dc2f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x647a7f+_0x3dc2f9([0x2e])+_0x1dc866),_0x3c7807=window[_0x3dc2f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3dc2f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c7807)return;const _0x121834=await _0x3c7807[_0x3dc2f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3dc2f9([0x6a,0x77,0x6b]),_0x4c9756,{[_0x3dc2f9([0x6e,0x61,0x6d,0x65])]:_0x3dc2f9([0x45,0x43,0x44,0x53,0x41]),[_0x3dc2f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3dc2f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3dc2f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c7807[_0x3dc2f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3dc2f9([0x6e,0x61,0x6d,0x65])]:_0x3dc2f9([0x45,0x43,0x44,0x53,0x41]),[_0x3dc2f9([0x68,0x61,0x73,0x68])]:{[_0x3dc2f9([0x6e,0x61,0x6d,0x65])]:_0x3dc2f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x121834,_0x49928c,_0x13d65a)||(_0x1bf1f7=!0x1);}}function _0x497d11(_0x37169f){return _0x37169f[_0x3dc2f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3dc2f9([0x65,0x79]))?JSON[_0x3dc2f9([0x70,0x61,0x72,0x73,0x65])](_0x15a0a6(_0x37169f)):null;}function _0x15a0a6(_0x4218f2){return window[_0x3dc2f9([0x61,0x74,0x6f,0x62])](_0x4218f2[_0x3dc2f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3dc2f9([0x2b]))[_0x3dc2f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3dc2f9([0x2f])));}function _0x323837(_0x2ef660){let _0x4b042e=0x1505;function _0x35b439(_0x24251e){for(let _0x2f5ccf=0x0;_0x2f5ccf<_0x24251e[_0x3dc2f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f5ccf++){const _0x4fadaf=_0x24251e[_0x3dc2f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f5ccf);_0x4b042e=(_0x4b042e<<0x5)+_0x4b042e+_0x4fadaf,_0x4b042e&=_0x4b042e;}}function _0x1fb80c(_0x1e1602){Array[_0x3dc2f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e1602)?_0x1e1602[_0x3dc2f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fb80c):_0x1e1602&&typeof _0x1e1602==_0x3dc2f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3dc2f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e1602)[_0x3dc2f9([0x73,0x6f,0x72,0x74])]()[_0x3dc2f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5244b5,_0x3a893a])=>{_0x35b439(_0x5244b5),_0x1fb80c(_0x3a893a);}):_0x35b439(window[_0x3dc2f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e1602));}return _0x1fb80c(_0x2ef660),_0x4b042e>>>0x0;}function _0x1ff141(_0x4594d3){return _0x4594d3[_0x3dc2f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3dc2f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3dc2f9([0x30]));}function _0x243c34(_0x2b0fbd){return _0x2b0fbd[_0x3dc2f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3dc2f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3dc2f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x57f003(){}function _0x3dc2f9(_0x3164ed){return _0x3164ed['map'](_0x23078f=>String['fromCharCode'](_0x23078f))['join']('');}_0x529a57(await _0x3b7ee3());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5ca0a8=this['editor'],_0x16e018=_0x5ca0a8['editing']['view'],_0x193cb5=this['_getAttachedDomRoot']();if(!_0x193cb5||0x0===_0x193cb5['childElementCount'])return void _0x5ca0a8['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3a4f0d,pageHeight:_0x519f21}=_0x5ca0a8['config']['get']('pagination'),{top:_0x4439a4,left:_0x96597f,bottom:_0x28fa81,right:_0x5dd814}=this['_configuredPaddings'];this['_pagesContainer']=new _0x31c75c['View'](_0x5ca0a8['locale']);const _0x437450=this['_pagesContainer'];_0x437450['set']('class',''),_0x437450['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x3a4f0d,'width':_0x3a4f0d,'height':'calc(\x20'+_0x519f21+'\x20-\x20'+_0x4439a4+'\x20-\x20'+_0x28fa81+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5dd814+'\x200\x20'+_0x96597f,'columnGap':'calc('+_0x96597f+'\x20+\x20'+_0x5dd814+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x437450['bindTemplate']['to']('class')}}),_0x437450['render'](),_0x193cb5['parentNode']['insertBefore'](_0x437450['element'],_0x193cb5['nextSibling']),this['listenTo'](_0x16e018,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x296bf7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x296bf7['ownerDocument']['body']['contains'](_0x296bf7))return _0x296bf7;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1193f8=this['editor']['editing']['view'],_0x19b251=this['_pagesContainer'],_0x51519a=this['_getAttachedDomRoot']();if(!_0x51519a)return Promise['resolve']();for(_0x19b251['class']=['ck-reset','ck-pagination-view',..._0x51519a['classList']]['join']('\x20');_0x19b251['element']['firstChild'];)_0x19b251['element']['firstChild']['remove']();const _0x349614=Array['from'](_0x1193f8['domRoots']);_0x349614['sort'](([,_0x2c50c8],[,_0x181b5d])=>_0x2c50c8['compareDocumentPosition'](_0x181b5d)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3f32f6,_0x420d89]of _0x349614){const _0x49768b=_0x420d89['cloneNode'](!0x0);'attributeStyleMap'in _0x49768b&&_0x49768b['attributeStyleMap']['clear'](),_0x49768b['dataset']['rootName']=_0x3f32f6,_0x49768b['className']='ck-content\x20ck-pagination_enabled',_0x49768b['removeAttribute']('id'),_0x49768b['tabIndex']=-0x1,_0x19b251['element']['append'](_0x49768b);}const _0x280771=Array['from'](_0x19b251['element']['querySelectorAll']('img'));return function(_0x6f2aa0){return Promise['all'](_0x6f2aa0['map'](_0x56afdf=>Promise['race']([_0x4ccd45(_0x56afdf),_0x374c07(0x3e8)])));}(_0x280771)['then'](()=>{for(const _0x589de2 of _0x280771['filter'](_0x4fe1b4=>!_0x4fe1b4['closest']('table')))if(_0x589de2['offsetParent']){const _0xe9adf=_0x31c75c['global']['window']['getComputedStyle'](_0x589de2),_0x146ccb=_0x31c75c['global']['document']['createElement']('span');for(const _0xee6eeb of _0xe9adf)_0x146ccb['style']['setProperty'](_0xee6eeb,_0xe9adf[_0xee6eeb]);_0x146ccb['style']['backgroundImage']='url(\x20'+_0x589de2['src']+'\x20)',_0x146ccb['style']['breakInside']='avoid','PICTURE'==_0x589de2['parentElement']?.['tagName']?_0x589de2['parentElement']['replaceWith'](_0x146ccb):_0x589de2['replaceWith'](_0x146ccb);}return new Promise(_0x39b0a5=>_0x31c75c['global']['window']['requestAnimationFrame'](()=>_0x39b0a5()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x5e815d=this['_pagesContainer']['element'];if(!_0x5e815d['ownerDocument']['body']['contains'](_0x5e815d))return;const _0xef1697=new _0x31c75c['Rect'](_0x5e815d)['excludeScrollbarsAndBorders'](),_0x143c34=Math['floor'](_0xef1697['width']+0x64),_0x4ababc=_0xf5f198(_0x5e815d,Math['floor'](_0xef1697['left']-_0x5e815d['scrollLeft']),_0x143c34,_0xef1697['height'])['map'](_0x214af7=>this['_mapPageStarterInfoToPageBreakInfo'](_0x214af7))['filter'](_0x3d1075=>!0x1!==_0x3d1075);_0x4ababc['every'](_0x4ea15a=>!!_0x4ea15a)&&(this['pageBreaks']=_0x4ababc);}['_mapPageStarterInfoToPageBreakInfo'](_0x1319bf){const _0xf95552=this['editor']['editing']['view'],_0x39d845=this['editor']['editing']['mapper'],_0x31d4c5=_0xf95552['domConverter'],_0x251a85=_0x1319bf['path']['shift'](),_0x35f5d1=this['_pagesContainer']['element']['childNodes'][_0x251a85]['dataset']['rootName'],_0xe8b7cf=_0xf95552['getDomRoot'](_0x35f5d1);if(!_0xe8b7cf)return null;const _0x414cd7=function(_0x335aeb,_0x3ce0d){let _0x567938=_0x335aeb;for(const _0x5ef7a6 of _0x3ce0d['path']){if(!_0x567938)return null;_0x567938=_0x567938['childNodes'][_0x5ef7a6];}return _0x567938;}(_0xe8b7cf,_0x1319bf);if(!_0x414cd7)return null;const _0x147732=_0x31d4c5['domPositionToView'](_0x414cd7,_0x1319bf['textOffset']||0x0);return _0x147732?'manual'==_0x1319bf['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x147732,_0x414cd7):'text'==_0x1319bf['type']&&_0x39d845['toModelPosition'](_0x147732)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x147732,_0x414cd7,_0x1319bf['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x147732,_0x414cd7,_0x1319bf['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x570073,_0x352c9d){const _0x17f6a2=this['editor']['model'],_0x1f1a37=this['editor']['editing']['mapper']['toModelElement'](_0x570073['parent']),_0x5ed51a=_0x17f6a2['createRangeOn'](_0x1f1a37);return new _0xdd52d5({'type':'manual','modelRange':_0x5ed51a,'domNode':_0x352c9d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5976f7,_0x5aefcc,_0x7d08da){const _0x37ca32=this['editor']['model'],_0x2f604b=this['editor']['editing']['mapper'],_0x34e2a6=this['editor']['editing']['view']['domConverter'];if(_0x7d08da>=_0x5aefcc['length'])return null;const _0x19b8ab=_0x2f604b['toModelPosition'](_0x5976f7),_0x23f07e=_0x37ca32['createRange'](_0x19b8ab),_0x102172=_0x2f604b['findMappedViewAncestor'](_0x5976f7),_0x43d158=_0x34e2a6['mapViewToDom'](_0x102172);return new _0xdd52d5({'type':'text','modelRange':_0x23f07e,'domNode':_0x5aefcc,'offset':_0x5787cf(_0x5aefcc,_0x7d08da,_0x43d158)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2f96d4,_0x50fbaa,_0xbe7ccf){const _0x45e8a5=this['editor']['model'],_0x50af7f=this['editor']['editing'],_0x5d1865=_0x50af7f['mapper'],_0x2d4dc2=_0x50af7f['view']['domConverter'],_0xbd4dde=_0x5d1865['findMappedViewAncestor'](_0x2f96d4),_0x30bd47=_0x5d1865['toModelElement'](_0xbd4dde);if(!_0x30bd47||_0x30bd47['is']('element','$root'))return!0x1;const _0x5eb875=function(_0x534a55){const _0x101007=_0x534a55['parent'],_0x3a6149=_0x101007['root']['document']['model'],_0x3cde93=_0x101007['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x45dfdc=null;for(const _0x5bc300 of _0x3cde93){if(_0x5bc300['is']('rootElement'))return _0x45dfdc;if(!_0x3a6149['createPositionBefore'](_0x5bc300)['isTouching'](_0x534a55))return _0x45dfdc;_0x45dfdc=_0x5bc300;}}(_0x45e8a5['createPositionBefore'](_0x30bd47)),_0x5c24b8=_0x5eb875||_0x30bd47;let _0x1f5666=_0x5d1865['toViewElement'](_0x5c24b8),_0x4e64ae=_0x45e8a5['createRangeOn'](_0x5c24b8);const _0xf6807d=_0x45e8a5['createPositionBefore'](_0x5c24b8)['nodeBefore'];if(_0xf6807d&&_0xf6807d['is']('element','imageBlock')){const _0x48926c=_0x5d1865['toViewElement'](_0xf6807d),_0x459792=_0x2d4dc2['mapViewToDom'](_0x48926c),_0x5dfe2e=_0x31c75c['global']['window']['getComputedStyle'](_0x459792)['float'];'left'!=_0x5dfe2e&&'right'!=_0x5dfe2e||(_0x4e64ae=_0x45e8a5['createRangeOn'](_0xf6807d));}for(;_0x1f5666['parent']!==_0x1f5666['root']&&0x0===_0x1f5666['index'];)_0x1f5666=_0x1f5666['parent'];const _0x2dd102=new _0x31c75c['Rect'](_0xdc5063(_0x50fbaa)?_0x50fbaa:_0x4d7bfa(_0x50fbaa)),_0x401e61=_0xbe7ccf?_0x2dd102['height']-_0xbe7ccf:0x0,_0x4210a8=_0x2d4dc2['mapViewToDom'](_0x1f5666),_0x3cdd93=new _0x31c75c['Rect'](_0x4210a8);return new _0xdd52d5({'type':'element','modelRange':_0x4e64ae,'domNode':_0x4210a8,'offset':Math['round'](_0x401e61)||_0xbd4dde!=_0x4c9d7d(_0x2f96d4)?_0x401e61+_0x2dd102['top']-_0x3cdd93['top']:0x0});}get['_configuredPaddings'](){const _0x5789cc=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5789cc);}static['_findPageStarterInfos'](_0x2e9f71,_0x162c70,_0x10c69c,_0x24eeb4,_0x3357bb){return _0xf5f198(_0x2e9f71,_0x162c70,_0x10c69c,_0x24eeb4,_0x3357bb);}}class _0xdd52d5{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1a53a0,modelRange:_0x50d939,domNode:_0x5bcaa8,offset:_0x10f905}){this['type']=_0x1a53a0,this['modelRange']=_0x50d939,this['_domNode']=_0x5bcaa8,this['_offset']=_0x10f905;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3bf1ea=new _0x31c75c['Rect'](_0xdc5063(this['_domNode'])?this['_domNode']:_0x4d7bfa(this['_domNode']));return'manual'==this['type']?_0x3bf1ea['top']+_0x3bf1ea['height']/0x2:_0x3bf1ea['top']+this['_offset'];}}function _0x5787cf(_0x323283,_0x333203,_0x5b5f4c){const _0x4a0df3=_0x4d7bfa(_0x323283),_0x495cf6=function(_0x4bcf41){const _0x151128=_0x31c75c['global']['document']['createRange']();return _0x151128['selectNodeContents'](_0x4bcf41),_0x151128;}(_0x5b5f4c);let _0x13f2f5;_0x13f2f5=0x0==_0x333203?_0x166c91(_0x495cf6['startContainer'],_0x495cf6['startOffset'],_0x323283['parentNode'],Array['from'](_0x323283['parentNode']['childNodes'])['indexOf'](_0x323283)):_0x166c91(_0x495cf6['startContainer'],_0x495cf6['startOffset'],_0x323283,_0x333203);const _0x1661e1=_0x166c91(_0x323283,_0x333203,_0x495cf6['endContainer'],_0x495cf6['endOffset']),_0x592d6c=new _0x31c75c['Rect'](_0x13f2f5)['bottom'];return(new _0x31c75c['Rect'](_0x1661e1)['top']+_0x592d6c)/0x2-new _0x31c75c['Rect'](_0x4a0df3)['top'];}function _0x4c9d7d(_0x29d60d){let _0x552214=_0x29d60d['parent'];for(;_0x552214['is']('$text')||_0x552214['is']('attributeElement');)_0x552214=_0x552214['parent'];return _0x552214;}function _0x4ccd45(_0x5679de){return _0x5679de['hasAttribute']('width')&&_0x5679de['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2b479a=>{function _0x1322eb(){_0x5679de['removeEventListener']('load',_0x1322eb),_0x5679de['removeEventListener']('error',_0x1322eb),_0x2b479a();}_0x5679de['complete']?_0x2b479a():(_0x5679de['addEventListener']('load',_0x1322eb),_0x5679de['addEventListener']('error',_0x1322eb));});}function _0x374c07(_0x1fab54){return new Promise(_0xc9650d=>setTimeout(_0xc9650d,_0x1fab54));}function _0x4d7bfa(_0x8d76e1){const _0x37a491=_0x31c75c['global']['document']['createRange']();return _0x37a491['selectNode'](_0x8d76e1),_0x37a491;}function _0x44123b(_0x20cd36,_0x4ddd1a,_0x327615){const _0x1147a5=_0x31c75c['global']['document']['createRange']();return _0x1147a5['setStart'](_0x20cd36,_0x4ddd1a),_0x1147a5['setEnd'](_0x20cd36,_0x327615),_0x1147a5;}function _0x166c91(_0x2f57a6,_0x3a6dd3,_0x55e45d,_0x234ffc){const _0x197cc0=_0x31c75c['global']['document']['createRange']();return _0x197cc0['setStart'](_0x2f57a6,_0x3a6dd3),_0x197cc0['setEnd'](_0x55e45d,_0x234ffc),_0x197cc0;}function _0xf5f198(_0x2c4fb7,_0x1ce284,_0x4b87f0,_0x4eab52,_0x5cd6f5){const _0x2a4c61=[];for(const [_0x37332f,_0xb8385]of _0x2c4fb7['childNodes']['entries']()){let _0x3be337=[];_0xdc5063(_0xb8385)&&_0xb8385['offsetParent']&&['static','relative']['includes'](_0x31c75c['global']['window']['getComputedStyle'](_0xb8385)['position'])?_0x3be337=_0x5508a7(_0xb8385,_0x37332f,_0x1ce284,_0x4b87f0,_0x4eab52,_0x5cd6f5):_0x5bbbf9(_0xb8385)&&(_0x3be337=_0x179e9d(_0xb8385,_0x37332f,_0x1ce284,_0x4b87f0,_0x5cd6f5)),_0x3be337['length']&&(_0x2a4c61['push'](..._0x3be337),_0x1ce284+=_0x3be337['length']*_0x4b87f0,_0x5cd6f5=!0x1);}return _0x2a4c61;}function _0x5508a7(_0x52d8f8,_0x3af9aa,_0x469fb7,_0x1c4739,_0x5b3e81,_0x3581d1){const _0x2212db=[];var _0xa50d8b;if((_0xa50d8b=_0x52d8f8['previousSibling'])&&_0xdc5063(_0xa50d8b)&&Boolean(_0xa50d8b['classList']['contains']('page-break')||_0xa50d8b['closest']('.page-break'))&&(_0x2212db['push']({'type':'manual','offset':0x0,'path':[_0x3af9aa-0x1]}),_0x3581d1=!0x0),'table-row'==_0x31c75c['global']['window']['getComputedStyle'](_0x52d8f8)['display']){let _0xa50c1a=0x0,_0x3837a6=!0x1;for(const _0x35be55 of _0x52d8f8['getClientRects']())_0xa50c1a+=_0x35be55['height'],_0x35be55['left']>=_0x469fb7&&(_0x3837a6=!0x0);if(_0xa50c1a<_0x5b3e81&&_0x3837a6)return _0x3581d1||_0x2212db['push']({'type':'element','offset':0x0,'path':[_0x3af9aa]}),_0x2212db;}const _0x4860a7=_0x52d8f8['closest']('figure.image');if(_0x4860a7&&function(_0x58eade){let _0x27ce88=!0x1;const _0x27b1b2=_0x58eade['parentElement'],_0x46bc9b=_0x27b1b2['dataset']['rootName'],_0x193b67=_0x58eade['nextElementSibling'],_0x4d8980=_0x58eade['previousElementSibling'],_0x1b9eee=_0x193b67&&_0x31c75c['global']['window']['getComputedStyle'](_0x193b67)['float'],_0x1613db=_0x193b67&&'ck-fake-selection-container'===_0x193b67['className'];!_0x46bc9b||_0x193b67||_0x4d8980||(_0x27ce88=!0x0),_0x46bc9b&&!_0x4d8980&&_0x1613db&&(_0x27ce88=!0x0),_0x46bc9b&&!_0x4d8980&&'none'!==_0x1b9eee&&(_0x27ce88=!0x0);if(_0x27ce88)return!0x1;return!0x0;}(_0x4860a7)){const _0x4e48b6=_0x31c75c['global']['window']['getComputedStyle'](_0x4860a7)['float'];if('left'==_0x4e48b6||'right'==_0x4e48b6)return _0x2212db;}const _0x518563=_0xf5f198(_0x52d8f8,_0x469fb7,_0x1c4739,_0x5b3e81,_0x3581d1);if(_0x518563['length']){for(const _0x560a41 of _0x518563)_0x2212db['push']({'type':_0x560a41['type'],'offset':_0x560a41['offset'],'textOffset':_0x560a41['textOffset'],'path':[_0x3af9aa,..._0x560a41['path']]}),_0x469fb7+=_0x1c4739,_0x3581d1=!0x1;return _0x2212db;}return _0x2212db['push'](...function(_0x4f88ad,_0x3afe93,_0x1a6689,_0x296a11,_0x401020){const _0x4ee25f=[];if('table-cell'==_0x31c75c['global']['window']['getComputedStyle'](_0x4f88ad)['display'])return[];const _0x3c7c9a=[];for(const _0x4d9985 of _0x4f88ad['getClientRects']())if(_0x4d9985['left']>=_0x1a6689){for(const _0x21c47f of _0x3c7c9a)_0x21c47f['height']+=_0x4d9985['height'];_0x3c7c9a['push']({'height':_0x4d9985['height']}),_0x1a6689+=_0x296a11;}for(const _0x4609e5 of _0x3c7c9a)_0x401020||_0x4ee25f['push']({'type':'element','offset':_0x4609e5['height'],'textOffset':0x0,'path':[_0x3afe93]}),_0x401020=!0x1;return _0x4ee25f;}(_0x52d8f8,_0x3af9aa,_0x469fb7,_0x1c4739,_0x3581d1)),_0x2212db;}function _0x179e9d(_0x135f94,_0x5c5147,_0x15744b,_0x5e9fcb,_0x1d55fa){const _0x3f20c8=_0x4d7bfa(_0x135f94),_0x1de39c=[];let _0x11c54c=0x0;for(const _0x5a4847 of _0x3f20c8['getClientRects']())if(_0x5a4847['left']>=_0x15744b){const _0xb5b531=_0x399a12(_0x135f94,_0x11c54c,_0x15744b,_0x5e9fcb);_0x1d55fa||_0x1de39c['push']({'type':'text','path':[_0x5c5147],'textOffset':_0xb5b531}),_0x11c54c=_0xb5b531,_0x15744b+=_0x5e9fcb,_0x1d55fa=!0x1;}return _0x1de39c;}function _0x399a12(_0x17c381,_0x3c8695,_0xbce380,_0x23fe0f){let _0x15e2e8=_0x3c8695,_0x27803c=_0x17c381['length'];for(;_0x27803c-_0x15e2e8>0x1;){const _0x49b3b4=Math['ceil']((_0x15e2e8+_0x27803c)/0x2);_0x2d445c(_0x44123b(_0x17c381,_0x15e2e8,_0x49b3b4),_0xbce380,_0x23fe0f)?_0x27803c=_0x49b3b4:_0x15e2e8=_0x49b3b4;}return _0x15e2e8;}function _0x2d445c(_0x1e8638,_0x44a72a,_0x42f85a){for(const _0x59f944 of _0x1e8638['getClientRects']())if(_0x59f944['left']>=_0x44a72a&&_0x59f944['left']<_0x44a72a+_0x42f85a)return!0x0;return!0x1;}function _0xdc5063(_0x47abb8){return _0x47abb8['nodeType']==Node['ELEMENT_NODE'];}function _0x5bbbf9(_0x496384){return _0x496384['nodeType']==Node['TEXT_NODE'];}const _0x2adbd8=/* #__PURE__ -- @preserve */
_0x31c75c['toUnit']('px');let _0x47cf7c=class _0x590aec extends _0x31c75c['View']{constructor(){super();const _0x5b9a39=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5b9a39['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5b9a39['if']('isVisible','ck-hidden',_0x5e0e78=>!_0x5e0e78)],'style':{'left':_0x5b9a39['to']('left',_0x41ba43=>_0x2adbd8(_0x41ba43)),'top':_0x5b9a39['to']('top',_0x49b3ff=>_0x2adbd8(_0x49b3ff)),'width':_0x5b9a39['to']('width',_0x3332b1=>_0x2adbd8(_0x3332b1))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x29c350){this['_viewCollection']=_0x29c350['ui']['view']['body'];}['destroy'](){for(const _0x41e112 of this['_hiddenLines'])_0x41e112['destroy']();}['cleanLines'](){for(const _0x4bb7f6 of this['_visibleLines'])_0x4bb7f6['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4bb7f6);this['_visibleLines']['clear']();}['showLine'](_0x53ffc3,_0x47ba74,_0xec3124,_0x452ae3){let _0xe14394;this['_hiddenLines']['size']?(_0xe14394=_0x31c75c['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xe14394)):_0xe14394=new _0x47cf7c(),_0xe14394['set']({'pageNumber':_0x452ae3,'left':_0x53ffc3,'top':_0x47ba74,'width':_0xec3124}),_0xe14394['isVisible']=!0x0,this['_viewCollection']['has'](_0xe14394)||this['_viewCollection']['add'](_0xe14394),this['_visibleLines']['add'](_0xe14394);}['setViewCollection'](_0x109645){for(const _0x2881b5 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2881b5)&&this['_viewCollection']['remove'](_0x2881b5);this['_viewCollection']=_0x109645;}}const _0x3a9398='ck-pagination_enabled';class PaginationRenderer extends _0x31c75c['Plugin']{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new LinesRepository(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](_0x3a9398),this['on']('change:isEnabled',(_0x2185a2,_0x15c811,_0x1d7f24)=>{_0x1d7f24||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x3a9398,_0x1d7f24);});}['destroy'](){this['_toggleEditingRootsClass'](_0x3a9398,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x281211){if(!this['isEnabled'])return;const _0x459aa4=_0x281211>0x1?this['_getPageBreakLineOffset'](_0x281211-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x459aa4-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x31c75c['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3b372a=this['editor'],_0x3cb735=this['_getAttachedDomRoot']();_0x3cb735?(this['_scrollableEditingRootDomAncestor']&&_0x3b372a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x25cd5d){let _0x1cd10e=_0x25cd5d;do{_0x1cd10e=_0x1cd10e['parentElement'];const _0x2e3607=_0x31c75c['global']['window']['getComputedStyle'](_0x1cd10e)['overflowY'];if('auto'==_0x2e3607||'scroll'==_0x2e3607)break;}while('BODY'!=_0x1cd10e['tagName']);return _0x1cd10e;}(_0x3cb735),_0x3b372a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x31c75c['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3b372a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x7a66a2=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x7a66a2['ui']['view']['listenTo'](_0x31c75c['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x7a66a2['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0xf8adda of this['editor']['editing']['view']['domRoots']['values']())if(_0xf8adda['ownerDocument']['body']['contains'](_0xf8adda))return _0xf8adda;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x319629=this['_getAttachedDomRoot'](),_0x5207e8=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x319629||0x1==_0x5207e8['length'])return void(this['pageNumber']=0x1);const _0x1865c9=new _0x31c75c['Rect'](_0x319629)['excludeScrollbarsAndBorders'](),_0x2977cc=new _0x31c75c['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x9b220e=_0x2977cc['top']+_0x2977cc['height']/0x3;let _0x44845e=!0x1;const _0x39438f=[];for(let _0x41066e=0x1;_0x41066e<_0x5207e8['length'];_0x41066e++){const _0x2d22e6=this['_getPageBreakLineOffset'](_0x41066e,_0x2977cc);if(!_0x2d22e6)continue;const _0x19a79f=_0x2977cc['top']+_0x2d22e6-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x39438f['push']({'pageOffsetTop':_0x19a79f,'domRootRect':_0x1865c9,'domScrollableRect':_0x2977cc,'pageNumber':_0x41066e}),_0x19a79f>_0x9b220e&&!_0x44845e&&(this['pageNumber']=_0x41066e,_0x44845e=!0x0);}this['_renderPageBreakLines'](_0x39438f),_0x44845e||(this['pageNumber']=_0x5207e8['length']);}['_renderPageBreakLines'](_0x5793b8){const {scrollX:_0x41ab71,scrollY:_0x19db22}=_0x31c75c['global']['window'];if(_0x5793b8['length']){for(const {domScrollableRect:_0x2ddfd0,pageOffsetTop:_0x4bb357,domRootRect:_0x10067b,pageNumber:_0x2051a7}of _0x5793b8)_0x2ddfd0['top']<_0x4bb357&&_0x4bb357<_0x2ddfd0['bottom']&&this['linesRepository']['showLine'](_0x10067b['left']+_0x41ab71,_0x4bb357+_0x19db22,_0x10067b['width'],_0x2051a7+0x1);}}['_getPageBreakLineOffset'](_0x456d54,_0x555d87=null){const _0x445ccd=this['_paginationLookupPlugin']['pageBreaks'][_0x456d54]['offset'];return _0x445ccd?(_0x555d87||(_0x555d87=new _0x31c75c['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x445ccd-_0x555d87['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x5d6750,_0x579edf=!0x0){const _0x5ba2a1=this['editor']['editing']['view'];_0x5ba2a1['change'](_0x4a72c5=>{for(const _0x2ed98f of _0x5ba2a1['document']['roots'])_0x579edf?_0x4a72c5['addClass'](_0x5d6750,_0x2ed98f):_0x4a72c5['removeClass'](_0x5d6750,_0x2ed98f);});}}function _0x8129e8(_0x1104e7,_0x57343d,..._0x154945){const t=_0x1104e7['t'];switch(_0x57343d){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x154945);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x57343d;}}class PaginationEditing extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationLookup,PaginationRenderer];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1464e0=this['editor']['plugins']['get']('Pagination'),_0x3c85c6=this['editor']['plugins']['get'](PaginationLookup),_0x2e62ec=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x1464e0),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2e62ec),this['listenTo'](_0x3c85c6,'change:pageBreaks',(_0x508877,_0x197c96,_0x28a706,_0x2ddfe5)=>{this['totalPages']=_0x28a706['length'],this['_updatePageBreakMarkers'](_0x28a706,_0x2ddfe5);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8e832=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe0d78c;for(const _0x4e062c in _0x8e832){const _0x451f1c=_0x4e062c,_0x2afa3f=_0x8e832[_0x451f1c];if('paginationLicenseKeyValid'==_0x2afa3f||'paginationLicenseKeyInvalid'==_0x2afa3f||'paginationLicenseKeyExpired'==_0x2afa3f||'paginationLicenseKeyDomainLimit'==_0x2afa3f||'paginationLicenseKeyNotAllowed'==_0x2afa3f||'paginationLicenseKeyEvaluationLimit'==_0x2afa3f||'paginationLicenseKeyUsageLimit'==_0x2afa3f){delete _0x8e832[_0x451f1c],_0xe0d78c=_0x2afa3f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xe0d78c&&_0x8e832['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xe0d78c&&_0x8e832['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xe0d78c&&_0x8e832['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xe0d78c&&_0x8e832['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xe0d78c&&_0x8e832['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xe0d78c&&_0x8e832['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x556529){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x556529));}['moveSelectionToPage'](_0x5155bd){if(!this['isEnabled'])return;const _0x20ead3=this['editor'],_0x42ce88=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x5155bd-0x1];_0x42ce88&&_0x20ead3['model']['change'](_0x18251f=>{switch(_0x42ce88['type']){case'manual':{const _0x673d7=_0x20ead3['model']['schema']['getNearestSelectionRange'](_0x42ce88['modelRange']['end'],'forward');_0x18251f['setSelection'](_0x673d7);break;}case'element':{const _0x58a84f=_0x20ead3['model']['schema']['getNearestSelectionRange'](_0x42ce88['modelRange']['start'],'forward');_0x18251f['setSelection'](_0x58a84f);break;}case'text':{const _0x3b3455=_0x42ce88['modelRange']['start'];if(_0x3b3455['textNode']&&'\x20'===_0x3b3455['textNode']['data'][_0x3b3455['offset']]){const _0x39ff3d=_0x18251f['createPositionAt'](_0x3b3455['parent'],_0x3b3455['offset']+0x1);_0x18251f['setSelection'](_0x39ff3d);}else _0x18251f['setSelection'](_0x42ce88['modelRange']);}}_0x20ead3['editing']['view']['focus']();});}['goToNextPage'](){const _0x3b371e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3b371e),this['scrollToPage'](_0x3b371e);}['goToPreviousPage'](){const _0x13dc94=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x13dc94),this['scrollToPage'](_0x13dc94);}['_updatePageBreakMarkers'](_0x3eb91c,_0x47cdb4){const _0x190fd0=this['editor']['model'];this['isEnabled']&&_0x190fd0['change'](_0x17db48=>{for(let _0x35ceca=0x1;_0x35ceca<_0x3eb91c['length'];_0x35ceca++){const _0x2aeb9e=_0x3eb91c[_0x35ceca]['modelRange'],_0x20e2c3='pagination:'+(_0x35ceca+0x1);_0x190fd0['markers']['has'](_0x20e2c3)?_0x17db48['updateMarker'](_0x20e2c3,{'range':_0x2aeb9e}):_0x17db48['addMarker'](_0x20e2c3,{'range':_0x2aeb9e,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x830eaa=_0x3eb91c['length'];_0x830eaa<_0x47cdb4['length'];_0x830eaa++){const _0x3edd24='pagination:'+(_0x830eaa+0x1);_0x190fd0['markers']['has'](_0x3edd24)&&_0x17db48['removeMarker'](_0x3edd24);}});}['_setUpDataDowncastConversion'](){const _0x250b92='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x14b260=>{_0x14b260['on']('addMarker:'+_0x250b92,(_0x13857e,{markerRange:_0xd3f164,markerName:_0x138310},_0x51d89c)=>{if(!_0x51d89c['options']['pagination'])return;if(!_0x51d89c['consumable']['consume'](_0xd3f164,_0x13857e['name']))return;const _0x4829f6=_0xd3f164['getContainedElement']();let _0x5ccd0c=_0x4829f6?_0x51d89c['mapper']['toViewElement'](_0x4829f6):null;if(!_0x5ccd0c){const _0xd236aa=_0xd3f164['start'];if(_0x51d89c['schema']['checkChild'](_0xd236aa,'$text')){const _0x414d17=_0x51d89c['mapper']['toViewPosition'](_0xd236aa);_0x5ccd0c=_0x51d89c['writer']['createContainerElement']('span'),_0x5ccd0c['getFillerOffset']=()=>null,_0x51d89c['writer']['insert'](_0x414d17,_0x5ccd0c);}else{const _0x5b66f9=_0xd236aa['nodeAfter'];_0x5ccd0c=_0x51d89c['mapper']['toViewElement'](_0x5b66f9);}}for(;_0x5ccd0c['parent']!==_0x5ccd0c['root']&&0x0===_0x5ccd0c['index'];)_0x5ccd0c=_0x5ccd0c['parent'];const _0x141509=_0x138310['substring'](0xb);_0x5ccd0c['hasClass']('page-break')||(_0x51d89c['writer']['setStyle']('page-break-before','always',_0x5ccd0c),_0x51d89c['writer']['setAttribute']('data-pagination-page',_0x141509,_0x5ccd0c),_0x51d89c['mapper']['bindElementToMarker'](_0x5ccd0c,_0x138310)),_0x13857e['stop']();});});}['_setupKeystrokes'](){const _0x15447d=this['editor'];_0x15447d['keystrokes']['set']('Shift+Pageup',(_0x217d7e,_0x5b03f5)=>{this['goToPreviousPage'](),_0x5b03f5();}),_0x15447d['keystrokes']['set']('Shift+Pagedown',(_0x2eee6d,_0x2af661)=>{this['goToNextPage'](),_0x2af661();}),_0x15447d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':_0x8129e8(_0x15447d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':_0x8129e8(_0x15447d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':_0x8129e8(_0x15447d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x531158){return _0x531158<0x1&&(_0x531158=0x1),_0x531158>this['totalPages']&&(_0x531158=this['totalPages']),_0x531158;}}class PageNavigatorView extends _0x31c75c['View']{['pageNumberView'];constructor(_0x3f9162){super(_0x3f9162);const _0x15a753=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x31c75c['InputNumberView'](_0x3f9162,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x32c2ec=>_0x8129e8(_0x3f9162,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x32c2ec)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5357df=>!_0x5357df),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x15a753['if']('isEnabled','ck-disabled',_0x491c7f=>!_0x491c7f)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x15a753['to']('totalPages')}]}]});}['render'](){super['render']();const _0x316d7f=this['pageNumberView']['element'],_0x3db8cb=_0xcfb0fc=>{this['pageNumberView']['element']['value']=String(_0xcfb0fc);};_0x3db8cb(this['pageNumber']),this['on']('change:pageNumber',(_0x4d067a,_0x5647cf,_0x258a7c)=>{_0x3db8cb(_0x258a7c);}),this['listenTo'](_0x316d7f,'keydown',(_0x9f21df,_0x31f6cc)=>{if('ArrowUp'===_0x31f6cc['key']||'ArrowDown'===_0x31f6cc['key'])return void _0x31f6cc['stopPropagation']();if(_0x31f6cc['keyCode']!==_0x31c75c['keyCodes']['enter'])return;_0x31f6cc['preventDefault']();const _0x4f81cc=_0x316d7f['valueAsNumber'];Number['isNaN'](_0x4f81cc)?_0x316d7f['value']=String(this['pageNumber']):(_0x316d7f['checkValidity']()?this['pageNumber']=_0x4f81cc:_0x4f81cc>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x316d7f['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x316d7f['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x316d7f,'blur',()=>{_0x316d7f['value']=String(this['pageNumber']);}),this['listenTo'](_0x316d7f,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a3ed5=this['editor'],_0x34b0c3=_0x1a3ed5['plugins']['get']('PaginationEditing');_0x1a3ed5['ui']['componentFactory']['add']('pageNavigation',_0x16f9e5=>{const _0x4da37c=new PageNavigatorView(_0x16f9e5);return _0x4da37c['bind']('pageNumber')['to'](_0x34b0c3),_0x4da37c['bind']('totalPages')['to'](_0x34b0c3),_0x4da37c['bind']('isEnabled')['to'](_0x34b0c3),_0x4da37c['on']('navigation',(_0x1d3b3c,_0x29390a)=>{_0x34b0c3['moveSelectionToPage'](_0x29390a),_0x34b0c3['scrollToPage'](_0x29390a);}),_0x4da37c;}),_0x1a3ed5['ui']['componentFactory']['add']('nextPage',_0x42cbf8=>{const _0x201176=new _0x31c75c['ButtonView'](_0x42cbf8);return _0x201176['isEnabled']=!0x0,_0x201176['label']=_0x8129e8(_0x1a3ed5['locale'],'Go\x20to\x20next\x20page'),_0x201176['icon']=_0x31c75c['IconArrowDown'],_0x201176['tooltip']=!0x0,_0x201176['keystroke']='Shift+PageDown',_0x201176['bind']('isEnabled')['to'](_0x34b0c3),this['listenTo'](_0x201176,'execute',()=>{_0x34b0c3['goToNextPage']();}),_0x201176;}),_0x1a3ed5['ui']['componentFactory']['add']('previousPage',_0x20a27d=>{const _0x329593=new _0x31c75c['ButtonView'](_0x20a27d);return _0x329593['isEnabled']=!0x0,_0x329593['label']=_0x8129e8(_0x1a3ed5['locale'],'Go\x20to\x20previous\x20page'),_0x329593['icon']=_0x31c75c['IconArrowUp'],_0x329593['tooltip']=!0x0,_0x329593['keystroke']='Shift+PageUp',_0x329593['bind']('isEnabled')['to'](_0x34b0c3),this['listenTo'](_0x329593,'execute',()=>{_0x34b0c3['goToPreviousPage']();}),_0x329593;});}}class Pagination extends _0x31c75c['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x59eaf9){super(_0x59eaf9),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x211d83=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x211d83),this['bind']('totalPages')['to'](_0x211d83),_0x31c75c['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2d66af){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x2d66af);}}const _0x32693b=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x1d228b(_0x1188df){return _0x32693b['test'](_0x1188df);}const _0x4820ef=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function _0x581444(_0x4645d5,_0x58a996){const _0x16f80b=new Map();for(const [_0x22aea8,_0x2d5292]of _0x58a996){if(!_0x22aea8['tagName']&&!_0x22aea8['className'])continue;const _0x4118eb=!_0x22aea8['tagName']||_0x4645d5['name']===_0x22aea8['tagName'],_0x4a95f6=!_0x22aea8['className']||_0x4645d5['hasClass'](_0x22aea8['className']);_0x4118eb&&_0x4a95f6&&_0x16f80b['set'](_0x22aea8,_0x2d5292);}return _0x16f80b;}function _0x1376a5(_0x288ab6){const _0x5ababb={};for(let _0x49b29c=0x0;_0x49b29c<_0x288ab6['length'];_0x49b29c++){const _0x45fc79=_0x288ab6[_0x49b29c],_0x54f324=_0x288ab6['getPropertyValue'](_0x45fc79);'initial'!==_0x54f324&&(_0x5ababb[_0x45fc79]=_0x54f324);}return _0x5ababb;}function _0x2ad549(_0x141493){const _0x4b69c7=_0x141493['split'](',')['map'](_0x10d690=>_0x10d690['trim']()),_0xd038=[];for(const _0x2dc292 of _0x4b69c7){const _0x23687c=_0x4820ef['exec'](_0x2dc292);_0x23687c&&_0xd038['push'](_0x23687c['groups']);}return _0xd038;}function _0x445aed(_0x26cdf8){const _0x3e6bec={};for(const _0x21aa05 of _0x26cdf8)Object['assign'](_0x3e6bec,_0x21aa05);return _0x3e6bec;}class MSOfficeStylesInliner extends _0x31c75c['PasteFromOfficeMSWordNormalizer']{['execute'](_0x5c521e){const {body:_0x13f4f6,styles:_0x3c7272,stylesString:_0x649c96}=_0x5c521e['_parsedData'],_0x4d4207=new _0x31c75c['ViewUpcastWriter'](_0x13f4f6['document']),_0x29faa5=_0x4d4207['createRangeIn'](_0x13f4f6),_0x305653=function(_0xaf3b33){const _0x25beab={};for(const _0x5897ed of _0xaf3b33)for(const _0x2bc072 of _0x5897ed['cssRules'])if(_0x2bc072 instanceof CSSStyleRule){const _0x3eee8e=_0x1376a5(_0x2bc072['style']);_0x25beab[_0x2bc072['selectorText']]=Object['assign']({},_0x25beab[_0x2bc072['selectorText']]||{},_0x3eee8e);}return _0x25beab;}(_0x3c7272),_0x4bb9b2=function(_0x32c0b5){const _0xcdc8b5=new Map();for(const _0x4fa75f in _0x32c0b5){const _0x21b1cf=_0x2ad549(_0x4fa75f),_0x13283f=_0x32c0b5[_0x4fa75f];for(const _0x54d82a of _0x21b1cf)_0xcdc8b5['set'](_0x54d82a,_0x13283f);}return _0xcdc8b5;}(_0x305653),_0x4cf6d3=function(_0x1668c1){const _0x96bbac={},_0x3499f1=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x1c9642=/\.(?<className>[\w-]+)/g;let _0x4a05e5;for(;null!==(_0x4a05e5=_0x3499f1['exec'](_0x1668c1));){const {selector:_0x1efaaf,color:_0x56b946,patternType:_0x1f1425}=_0x4a05e5['groups'];if('auto'!==_0x56b946['toLowerCase']()&&'none'!==_0x1f1425['toLowerCase']()&&'auto'!==_0x1f1425['toLowerCase']()){for(const _0xd5536a of _0x1efaaf['matchAll'](_0x1c9642))_0x96bbac[_0xd5536a['groups']['className']]=_0x56b946;}}return _0x96bbac;}(_0x649c96);for(const _0x905081 of _0x29faa5){if('elementStart'!==_0x905081['type'])continue;const _0x3d0952=_0x905081['item'],_0x420b4d=_0x581444(_0x3d0952,_0x4bb9b2),_0x1b9822=_0x420b4d['size']?_0x445aed(Array['from'](_0x420b4d['values']())):{};if(!('background-color'in _0x1b9822)&&!('background'in _0x1b9822)){for(const [_0x2459a4,_0x2bac0f]of Object['entries'](_0x4cf6d3))if(_0x3d0952['hasClass'](_0x2459a4)){_0x1b9822['background-color']=_0x2bac0f;break;}}for(const _0x4c17ca in _0x1b9822)_0x3d0952['hasStyle'](_0x4c17ca)||_0x4d4207['setStyle'](_0x4c17ca,_0x1b9822[_0x4c17ca],_0x3d0952);}_0x5c521e['content']=_0x13f4f6;}['isActive'](_0x3b1a21){return super['isActive'](_0x3b1a21)||_0x1d228b(_0x3b1a21);}}class PasteFromOfficeEnhancedInliner extends _0x31c75c['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['PasteFromOffice']];}['init'](){const _0x9c524f=this['editor'],_0x5a620b=_0x9c524f['plugins']['get']('ClipboardPipeline'),_0x24eeb9=_0x9c524f['editing']['view']['document'],_0x244cbc=new MSOfficeStylesInliner(_0x24eeb9);_0x5a620b['on']('inputTransformation',(_0x3714bc,_0x1d9ca8)=>{const _0x3db996=_0x1d9ca8['dataTransfer']['getData']('text/html');_0x244cbc['isActive'](_0x3db996)&&(_0x1d9ca8['_parsedData']||(_0x1d9ca8['_parsedData']=_0x31c75c['parsePasteOfficeHtml'](_0x3db996,_0x24eeb9['stylesProcessor'])),_0x244cbc['execute'](_0x1d9ca8));},{'priority':_0x31c75c['priorities']['get']('high')+0xb});}['afterInit'](){!async function(_0x550162){const _0x34903c=_0x4ef0e3([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x2c4be5=0x7374585f,_0x3c11fa=0x7373d237^_0x2c4be5,_0x5f1a63=window[_0x4ef0e3([0x44,0x61,0x74,0x65])][_0x4ef0e3([0x6e,0x6f,0x77])](),_0x41c3e5=_0x550162[_0x4ef0e3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfe2f11=new window[(_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a3989=>{_0x41c3e5[_0x4ef0e3([0x6f,0x6e,0x63,0x65])](_0x4ef0e3([0x72,0x65,0x61,0x64,0x79]),_0x3a3989);}),_0x296ec8={[_0x4ef0e3([0x6b,0x74,0x79])]:_0x4ef0e3([0x45,0x43]),[_0x4ef0e3([0x75,0x73,0x65])]:_0x4ef0e3([0x73,0x69,0x67]),[_0x4ef0e3([0x63,0x72,0x76])]:_0x4ef0e3([0x50,0x2d,0x32,0x35,0x36]),[_0x4ef0e3([0x78])]:_0x4ef0e3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4ef0e3([0x79])]:_0x4ef0e3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4ef0e3([0x61,0x6c,0x67])]:_0x4ef0e3([0x45,0x53,0x32,0x35,0x36])},_0x30ae73=_0x41c3e5[_0x4ef0e3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ef0e3([0x67,0x65,0x74])](_0x4ef0e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57be01(){let _0x111e1b,_0x10796f=null,_0x28ce24=null;try{if(_0x30ae73==_0x4ef0e3([0x47,0x50,0x4c]))return _0x4ef0e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x111e1b=_0x43c924(),!_0x111e1b)return _0x4ef0e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x111e1b[_0x4ef0e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28ce24=_0x219bd2(_0x111e1b[_0x4ef0e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x111e1b[_0x4ef0e3([0x6a,0x74,0x69])])),await _0x31b493()?_0x574111()?_0x1d23d6()?_0x4ef0e3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4074ed()?(_0x111e1b[_0x4ef0e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef0e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10796f=_0x2f2e62(_0x4ef0e3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49bb0d()):_0x4ef0e3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef0e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ef0e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ef0e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d23d6(){const _0x161ff5=[_0x4ef0e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ef0e3([0x74,0x72,0x69,0x61,0x6c])][_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111e1b[_0x4ef0e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f1a63/0x3e8:0xe10*_0x3c11fa;return _0x111e1b[_0x4ef0e3([0x65,0x78,0x70])]<_0x161ff5;}function _0x574111(){const _0x569ea6=_0x111e1b[_0x4ef0e3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x569ea6&&(!!_0x569ea6[_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef0e3([0x2a]))||(!!_0x569ea6[_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef0e3([0x50,0x4f,0x45]))||(!!_0x569ea6[_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef0e3([0x50,0x50]))||!(!_0x569ea6[_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef0e3([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x350e38()))));}function _0x4074ed(){const _0x222ad9=_0x111e1b[_0x4ef0e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x222ad9||0x0==_0x222ad9[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4deefa}=new URL(window[_0x4ef0e3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x222ad9[_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4deefa))return!0x0;const _0x428943=_0x4deefa[_0x4ef0e3([0x73,0x70,0x6c,0x69,0x74])](_0x4ef0e3([0x2e]));return _0x222ad9[_0x4ef0e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f7dcd=>_0x2f7dcd[_0x4ef0e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef0e3([0x2a])))[_0x4ef0e3([0x6d,0x61,0x70])](_0x14ecab=>_0x14ecab[_0x4ef0e3([0x73,0x70,0x6c,0x69,0x74])](_0x4ef0e3([0x2e])))[_0x4ef0e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x385ad4=>_0x385ad4[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x428943[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef0e3([0x6d,0x61,0x70])](_0x4fbe9d=>Array(_0x428943[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4fbe9d[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef0e3([0x66,0x69,0x6c,0x6c])](_0x4fbe9d[0x0]===_0x4ef0e3([0x2a])?_0x4ef0e3([0x2a]):'')[_0x4ef0e3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4fbe9d))[_0x4ef0e3([0x73,0x6f,0x6d,0x65])](_0x1e5dd6=>_0x428943[_0x4ef0e3([0x65,0x76,0x65,0x72,0x79])]((_0x3ea431,_0x211b87)=>_0x1e5dd6[_0x211b87]===_0x3ea431||_0x1e5dd6[_0x211b87]===_0x4ef0e3([0x2a])));}function _0x49bb0d(){return _0x10796f&&_0x28ce24?new window[(_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7557cd,_0x2a2410)=>{_0x10796f[_0x4ef0e3([0x74,0x68,0x65,0x6e])](_0x7557cd,_0x2a2410),_0x28ce24[_0x4ef0e3([0x74,0x68,0x65,0x6e])](_0x49e9cb=>{_0x49e9cb!=_0x4ef0e3([0x56,0x61,0x6c,0x69,0x64])&&_0x7557cd(_0x49e9cb);},_0x2a2410);}):_0x10796f||_0x28ce24||_0x4ef0e3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x219bd2(_0x1a24d3,_0x35596e){return new window[(_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37de1d=>{if(_0x2bcd99())return _0x37de1d(_0x4ef0e3([0x56,0x61,0x6c,0x69,0x64]));_0x1a594b(),_0x41c3e5[_0x4ef0e3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ef0e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48846c=!0x1;const _0x54c20c=_0x31c75c['uid']();function _0x2ff425(_0x39c1ef){return!!_0x39c1ef&&(typeof _0x39c1ef===_0x4ef0e3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39c1ef===_0x4ef0e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39c1ef[_0x4ef0e3([0x74,0x68,0x65,0x6e])]===_0x4ef0e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39c1ef[_0x4ef0e3([0x63,0x61,0x74,0x63,0x68])]===_0x4ef0e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cbc52(_0x83a009){_0x57bda1(_0x83a009)[_0x4ef0e3([0x74,0x68,0x65,0x6e])](_0x1c4cfa=>{if(!_0x1c4cfa||_0x1c4cfa[_0x4ef0e3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ef0e3([0x6f,0x6b]))return _0x4ef0e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32e60b(_0x217a2f(_0x54c20c+_0x35596e))!=_0x1c4cfa[_0x4ef0e3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ef0e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef0e3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef0e3([0x74,0x68,0x65,0x6e])](_0x248634=>(_0x12a236(),_0x248634),()=>{const _0x40714a=_0x249969();return null==_0x40714a?(_0x12a236(),_0x4ef0e3([0x56,0x61,0x6c,0x69,0x64])):_0x4ef0e3(_0x5f1a63-_0x40714a>(0x5778dc5f^_0x2c4be5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef0e3([0x74,0x68,0x65,0x6e])](_0x37de1d)[_0x4ef0e3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37de1d(_0x4ef0e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x126fad=0x7342b6df^_0x2c4be5;function _0x12a236(){const _0x4363c9=_0x4ef0e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x32e60b(_0x217a2f(_0x1a24d3)),_0x5f4b68=_0x13ca3c(_0x32e60b(window[_0x4ef0e3([0x4d,0x61,0x74,0x68])][_0x4ef0e3([0x63,0x65,0x69,0x6c])](_0x5f1a63/_0x126fad)));window[_0x4ef0e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef0e3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4363c9,_0x5f4b68);}function _0x249969(){const _0x3c44f9=_0x4ef0e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x32e60b(_0x217a2f(_0x1a24d3)),_0x5c1d78=window[_0x4ef0e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef0e3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c44f9);return _0x5c1d78?window[_0x4ef0e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ca3c(_0x5c1d78),0x10)*_0x126fad:null;}function _0x57bda1(_0x500909){return new window[(_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49491e,_0xb03c63)=>{_0x500909[_0x4ef0e3([0x74,0x68,0x65,0x6e])](_0x49491e,_0xb03c63),window[_0x4ef0e3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb03c63,0x73758c9f^_0x2c4be5);});}}_0x41c3e5[_0x4ef0e3([0x6f,0x6e])](_0x4ef0e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb6c26f,_0xde9b4f)=>{if(_0xde9b4f[0x0]!=_0x1a24d3)return _0x37de1d(_0x4ef0e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xde9b4f[0x1]={..._0xde9b4f[0x1],[_0x4ef0e3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54c20c};},{[_0x4ef0e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef0e3([0x68,0x69,0x67,0x68])}),_0x41c3e5[_0x4ef0e3([0x6f,0x6e])](_0x4ef0e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2fbd7c=>{_0x2ff425(_0x2fbd7c[_0x4ef0e3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48846c=!0x0,_0x2cbc52(_0x2fbd7c[_0x4ef0e3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ef0e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef0e3([0x6c,0x6f,0x77])}),_0xfe2f11[_0x4ef0e3([0x74,0x68,0x65,0x6e])](()=>{_0x48846c||_0x37de1d(_0x4ef0e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bcd99(){return _0x41c3e5[_0x4ef0e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef0e3([0x76,0x69,0x65,0x77])][_0x4ef0e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ef0e3([0x61,0x75,0x74,0x6f]);}function _0x1a594b(){_0x41c3e5[_0x4ef0e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef0e3([0x76,0x69,0x65,0x77])][_0x4ef0e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ef0e3([0x61,0x75,0x74,0x6f]);}}function _0x2f2e62(_0x4f04e4){const _0x14629a=[new window[(_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f7b65=>setTimeout(_0x4f7b65,0x737d6693^_0x2c4be5)),_0xfe2f11[_0x4ef0e3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28ac59=>{let _0x1fabc3=0x0;_0x41c3e5[_0x4ef0e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef0e3([0x6f,0x6e])](_0x4ef0e3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2fa6a2,_0x1dfe8f)=>{_0x1dfe8f[0x0][_0x4ef0e3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fabc3++,_0x1fabc3==(0x73745db7^_0x2c4be5)&&(_0x28ac59(),_0x2fa6a2[_0x4ef0e3([0x6f,0x66,0x66])]());});}))];return window[_0x4ef0e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ef0e3([0x72,0x61,0x63,0x65])](_0x14629a)[_0x4ef0e3([0x74,0x68,0x65,0x6e])](()=>_0x4f04e4);}async function _0x30bc8b(){await _0xfe2f11,_0x41c3e5[_0x4ef0e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef0e3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x334e8e,_0x41c3e5[_0x4ef0e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef0e3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x334e8e,_0x41c3e5[_0x4ef0e3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ef0e3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x350e38(){return window[_0x4ef0e3([0x67,0x6c,0x6f,0x62])]&&window[_0x4ef0e3([0x67,0x6c,0x6f,0x62])][_0x4ef0e3([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5c3f97(_0xadca73){const _0x32f8b4=_0x487380();_0x41c3e5[_0x32f8b4]=_0x4ef0e3([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xadca73,_0xadca73!=_0x4ef0e3([0x56,0x61,0x6c,0x69,0x64])&&_0x30bc8b();}function _0x487380(){const _0x3cfa24=window[_0x4ef0e3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ef0e3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ef0e3([0x6e,0x6f,0x77])]())[_0x4ef0e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ef0e3([0x2e]),'');let _0x85a4c9=_0x4ef0e3([0x73]);for(let _0x446cf0=0x0;_0x446cf0<_0x3cfa24[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x446cf0+=0x2){let _0x4cd57a=window[_0x4ef0e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cfa24[_0x4ef0e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x446cf0,_0x446cf0+0x2));_0x4cd57a>=_0x34903c[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cd57a-=_0x34903c[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x85a4c9+=_0x34903c[_0x4cd57a];}return _0x85a4c9;}function _0x43c924(){const _0x346539=_0x30ae73[_0x4ef0e3([0x73,0x70,0x6c,0x69,0x74])](_0x4ef0e3([0x2e]));if(0x3!=_0x346539[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29307a(_0x346539[0x1]);function _0x29307a(_0x115110){const _0x36151d=_0x482cfa(_0x115110);return _0x36151d&&_0x18e4b8()?_0x36151d:null;function _0x18e4b8(){const _0x56449f=_0x36151d[_0x4ef0e3([0x6a,0x74,0x69])],_0xa626da=window[_0x4ef0e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56449f[_0x4ef0e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56449f[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x516f2f={..._0x36151d,[_0x4ef0e3([0x6a,0x74,0x69])]:_0x56449f[_0x4ef0e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56449f[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x516f2f[_0x4ef0e3([0x76,0x63])],_0x217a2f(_0x516f2f)==_0xa626da;}}}async function _0x31b493(){let _0xf56b4e=!0x0;try{const _0x144bdd=_0x30ae73[_0x4ef0e3([0x73,0x70,0x6c,0x69,0x74])](_0x4ef0e3([0x2e])),[_0x2a8da0,_0x144717,_0x3ccadf]=_0x144bdd;return _0x1adbed(_0x2a8da0),await _0x26d27a(_0x2a8da0,_0x144717,_0x3ccadf),_0xf56b4e;}catch{return!0x1;}function _0x1adbed(_0x4f1ae8){const _0x3d7365=_0x482cfa(_0x4f1ae8);_0x3d7365&&_0x3d7365[_0x4ef0e3([0x61,0x6c,0x67])]==_0x4ef0e3([0x45,0x53,0x32,0x35,0x36])||(_0xf56b4e=!0x1);}async function _0x26d27a(_0x4c2952,_0x51e08c,_0x778149){const _0x24bb8d=window[_0x4ef0e3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ef0e3([0x66,0x72,0x6f,0x6d])](_0xedd5d9(_0x778149),_0x1f1059=>_0x1f1059[_0x4ef0e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34f5e6=new window[(_0x4ef0e3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ef0e3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c2952+_0x4ef0e3([0x2e])+_0x51e08c),_0x1ef07a=window[_0x4ef0e3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ef0e3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ef07a)return;const _0x182bad=await _0x1ef07a[_0x4ef0e3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ef0e3([0x6a,0x77,0x6b]),_0x296ec8,{[_0x4ef0e3([0x6e,0x61,0x6d,0x65])]:_0x4ef0e3([0x45,0x43,0x44,0x53,0x41]),[_0x4ef0e3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ef0e3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ef0e3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ef07a[_0x4ef0e3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ef0e3([0x6e,0x61,0x6d,0x65])]:_0x4ef0e3([0x45,0x43,0x44,0x53,0x41]),[_0x4ef0e3([0x68,0x61,0x73,0x68])]:{[_0x4ef0e3([0x6e,0x61,0x6d,0x65])]:_0x4ef0e3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x182bad,_0x24bb8d,_0x34f5e6)||(_0xf56b4e=!0x1);}}function _0x482cfa(_0x359735){return _0x359735[_0x4ef0e3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ef0e3([0x65,0x79]))?JSON[_0x4ef0e3([0x70,0x61,0x72,0x73,0x65])](_0xedd5d9(_0x359735)):null;}function _0xedd5d9(_0x5c5743){return window[_0x4ef0e3([0x61,0x74,0x6f,0x62])](_0x5c5743[_0x4ef0e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ef0e3([0x2b]))[_0x4ef0e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ef0e3([0x2f])));}function _0x217a2f(_0x10c116){let _0x554749=0x1505;function _0x1e0293(_0x29e250){for(let _0x88973c=0x0;_0x88973c<_0x29e250[_0x4ef0e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x88973c++){const _0x5083bc=_0x29e250[_0x4ef0e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x88973c);_0x554749=(_0x554749<<0x5)+_0x554749+_0x5083bc,_0x554749&=_0x554749;}}function _0x5b7290(_0x5af1fe){Array[_0x4ef0e3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5af1fe)?_0x5af1fe[_0x4ef0e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b7290):_0x5af1fe&&typeof _0x5af1fe==_0x4ef0e3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ef0e3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5af1fe)[_0x4ef0e3([0x73,0x6f,0x72,0x74])]()[_0x4ef0e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3df8b6,_0x1670fe])=>{_0x1e0293(_0x3df8b6),_0x5b7290(_0x1670fe);}):_0x1e0293(window[_0x4ef0e3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5af1fe));}return _0x5b7290(_0x10c116),_0x554749>>>0x0;}function _0x32e60b(_0x48d082){return _0x48d082[_0x4ef0e3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ef0e3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ef0e3([0x30]));}function _0x13ca3c(_0x1602f2){return _0x1602f2[_0x4ef0e3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ef0e3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ef0e3([0x6a,0x6f,0x69,0x6e])]('');}function _0x334e8e(){}function _0x4ef0e3(_0x56c578){return _0x56c578['map'](_0x384913=>String['fromCharCode'](_0x384913))['join']('');}_0x5c3f97(await _0x57be01());}(this);}}const _0x18b388=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x1afa2f=['color','font-family','font-size'],_0x3d01f3={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x328ec4=>Number(_0x328ec4)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function _0x569d62(_0x3dd41a){return _0x18b388['includes'](_0x3dd41a);}function _0x708a1(_0x5cb715){return Array['from'](_0x5cb715['getStyleNames']())['filter'](_0x569d62);}function _0x1fcd4a(_0x393e1e,_0x976401,_0x439b34){const {spanStyles:_0x167e79,stylesToBeHtmlElements:_0x33f0f0}=_0x371511(_0x393e1e,_0x439b34);!function(_0x14a726,_0xcb21c3,_0x3efb8b){for(const _0x3a91b2 in _0x3efb8b){_0x3efb8b[_0x3a91b2]['forEach'](([,_0x17426a])=>{const _0x3d7009=_0xcb21c3['createElement'](_0x17426a,[],_0x14a726['getChildren']());_0xcb21c3['insertChild'](0x0,_0x3d7009,_0x14a726);}),_0xcb21c3['removeStyle'](_0x3a91b2,_0x14a726);}}(_0x393e1e,_0x976401,_0x33f0f0),function(_0x2ebfb8,_0x5394c9,_0x1b6325){if(!Object['keys'](_0x1b6325)['length'])return;const _0x48063c=_0x5394c9['createElement']('span',[],_0x2ebfb8['getChildren']());_0x5394c9['setStyle'](_0x1b6325,_0x48063c),_0x5394c9['insertChild'](0x0,_0x48063c,_0x2ebfb8),_0x5394c9['removeStyle'](Object['keys'](_0x1b6325),_0x2ebfb8);}(_0x393e1e,_0x976401,_0x167e79);}function _0x591f3b(_0x402e90,_0x477fcb,_0x6f675d){const {spanStyles:_0x191edd}=_0x371511(_0x402e90,_0x6f675d),_0x3f69e4=Object['keys'](_0x191edd);if(!_0x3f69e4['length'])return;let _0x3a011b=!0x1;for(const _0x3ffec9 of _0x402e90['getChildren']())if(_0x3ffec9['is']('element','span')){_0x3a011b=!0x0;for(const [_0x369344,_0xe4867]of Object['entries'](_0x191edd))_0x3ffec9['hasStyle'](_0x369344)||_0x477fcb['setStyle']({[_0x369344]:_0xe4867},_0x3ffec9);}_0x3a011b&&_0x477fcb['removeStyle'](_0x3f69e4,_0x402e90);}function _0x371511(_0x2fec1e,_0x55bf27){const _0x4fc67c={},_0x428890={};return _0x55bf27['forEach'](_0x54f7ca=>{const _0x323842=_0x2fec1e['getStyle'](_0x54f7ca);if(_0x323842){if(function(_0x2044d7){return _0x1afa2f['includes'](_0x2044d7);}(_0x54f7ca))_0x4fc67c[_0x54f7ca]=_0x323842;else{if(function(_0x2e9ad3){return _0x2e9ad3 in _0x3d01f3;}(_0x54f7ca)){const _0x43ea58=_0x323842['split']('\x20');_0x3d01f3[_0x54f7ca]['forEach'](([_0x37afcd,_0x486c61])=>{for(const _0x409e82 of _0x43ea58){('function'==typeof _0x37afcd&&_0x37afcd(_0x409e82)||_0x37afcd===_0x409e82)&&(_0x428890[_0x54f7ca]=[..._0x428890[_0x54f7ca]||[],[_0x37afcd,_0x486c61]]);}});}}}}),{'spanStyles':_0x4fc67c,'stylesToBeHtmlElements':_0x428890};}class MSOfficeInlineStylePropagator extends _0x31c75c['PasteFromOfficeMSWordNormalizer']{['execute'](_0x323061){const {body:_0x593417}=_0x323061['_parsedData'],_0x49880e=new _0x31c75c['ViewUpcastWriter'](_0x593417['document']),_0x1ccc90=_0x49880e['createRangeIn'](_0x593417),_0x311bd6=new _0x31c75c['ViewDocument'](_0x49880e['document']['stylesProcessor']),_0x4c5574=[...new _0x31c75c['ViewDomConverter'](_0x311bd6)['blockElements'],'font'],_0x5f390a=_0x1ccc90['getItems']();for(const _0x1df5d0 of _0x5f390a)if(_0x1df5d0['is']('element')&&_0x4c5574['includes'](_0x1df5d0['name'])){if(_0x1df5d0['hasStyle']('mso-list')&&'none'!==_0x1df5d0['getStyle']('mso-list')){_0x591f3b(_0x1df5d0,_0x49880e,_0x708a1(_0x1df5d0));continue;}_0x1fcd4a(_0x1df5d0,_0x49880e,_0x708a1(_0x1df5d0));}_0x323061['content']=_0x593417;}['isActive'](_0x336a99){return super['isActive'](_0x336a99)||_0x1d228b(_0x336a99);}}class PasteFromOfficeEnhancedPropagator extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['PasteFromOffice']];}['init'](){const _0x34a34b=this['editor'],_0x58d28c=_0x34a34b['plugins']['get']('ClipboardPipeline'),_0xb8bd06=_0x34a34b['editing']['view']['document'],_0x58e6bb=new MSOfficeInlineStylePropagator(_0xb8bd06);_0x58d28c['on']('inputTransformation',(_0x485112,_0x5e0690)=>{const _0x5eca78=_0x5e0690['dataTransfer']['getData']('text/html');_0x58e6bb['isActive'](_0x5eca78)&&(_0x5e0690['_parsedData']||(_0x5e0690['_parsedData']=_0x31c75c['parsePasteOfficeHtml'](_0x5eca78,_0xb8bd06['stylesProcessor'])),_0x58e6bb['execute'](_0x5e0690));},{'priority':_0x31c75c['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3dd217=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29a004;for(const _0x57cbc2 in _0x3dd217){const _0xa1431f=_0x57cbc2,_0xf18901=_0x3dd217[_0xa1431f];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0xf18901||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xf18901||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xf18901||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xf18901||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xf18901||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xf18901||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xf18901){delete _0x3dd217[_0xa1431f],_0x29a004=_0xf18901,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x29a004&&_0x3dd217['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x29a004&&_0x3dd217['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x29a004&&_0x3dd217['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x29a004&&_0x3dd217['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x29a004&&_0x3dd217['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x29a004&&_0x3dd217['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x31c75c['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31c75c['PasteFromOffice'],PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x4c0f8d,td,_0xf4f7de='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x4f7214={},_0x1e00cc={},_0x389c5e,_0xd148dc,_0x17513f,_0x40883a,_0xc85ea9,_0x5d9152,_0x3528e0,_0x91030f={};function _0x333b57(_0x3aac97){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3aac97+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x14715f,_0x2faba9,_0x496dfb,_0x4839ac,_0x1a94e1,_0x12a1fa,_0x4528b8,_0x1afec2,_0x186729,_0x562396,_0x43d364,_0x175703,_0x20a6b5,_0x39e530,_0x4fc86d={};function _0x3935a0(){return _0x12a1fa||(_0x12a1fa=0x1,function(_0x5b994b){var _0x35e4d9=_0x5b994b;function _0x397275(_0x4914b7,_0x38df03,_0x338583){for(var _0x2664f2=Object['keys'](_0x38df03),_0x2ffaea=0x0;_0x2ffaea<_0x2664f2['length'];++_0x2ffaea)void 0x0!==_0x4914b7[_0x2664f2[_0x2ffaea]]&&_0x338583||'__proto__'!==_0x2664f2[_0x2ffaea]&&(_0x4914b7[_0x2664f2[_0x2ffaea]]=_0x38df03[_0x2664f2[_0x2ffaea]]);return _0x4914b7;}function _0x42d326(_0x51cb2f){function _0x345d8f(_0x2c89d4,_0x3b37ed){if(!(this instanceof _0x345d8f))return new _0x345d8f(_0x2c89d4,_0x3b37ed);Object['defineProperty'](this,'message',{'get':function(){return _0x2c89d4;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x345d8f):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x3b37ed&&_0x397275(this,_0x3b37ed);}return _0x345d8f['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x345d8f,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x51cb2f;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x345d8f;}_0x35e4d9['asPromise']=(td||(td=0x1,_0x4c0f8d=function(_0x10c69a,_0x3bc2f2){for(var _0x2e91b7=new Array(arguments['length']-0x1),_0x191bfd=0x0,_0x4fb112=0x2,_0x5b2ea9=!0x0;_0x4fb112<arguments['length'];)_0x2e91b7[_0x191bfd++]=arguments[_0x4fb112++];return new Promise(function(_0x507be2,_0x492050){_0x2e91b7[_0x191bfd]=function(_0x2d2c62){if(_0x5b2ea9){if(_0x5b2ea9=!0x1,_0x2d2c62)_0x492050(_0x2d2c62);else{for(var _0x1ddbef=new Array(arguments['length']-0x1),_0x38caa9=0x0;_0x38caa9<_0x1ddbef['length'];)_0x1ddbef[_0x38caa9++]=arguments[_0x38caa9];_0x507be2['apply'](null,_0x1ddbef);}}};try{_0x10c69a['apply'](_0x3bc2f2||null,_0x2e91b7);}catch(_0x183738){_0x5b2ea9&&(_0x5b2ea9=!0x1,_0x492050(_0x183738));}});}),_0x4c0f8d),_0x35e4d9['base64']=(_0x389c5e||(_0x389c5e=0x1,function(_0x11c03d){var _0x1a9686=_0x11c03d;_0x1a9686['length']=function(_0x3d6698){var _0x2d30da=_0x3d6698['length'];if(!_0x2d30da)return 0x0;for(var _0x306ff6=0x0;--_0x2d30da%0x4>0x1&&'='===_0x3d6698['charAt'](_0x2d30da);)++_0x306ff6;return Math['ceil'](0x3*_0x3d6698['length'])/0x4-_0x306ff6;};for(var _0x1cf642=new Array(0x40),_0x2e85da=new Array(0x7b),_0x3eec94=0x0;_0x3eec94<0x40;)_0x2e85da[_0x1cf642[_0x3eec94]=_0x3eec94<0x1a?_0x3eec94+0x41:_0x3eec94<0x34?_0x3eec94+0x47:_0x3eec94<0x3e?_0x3eec94-0x4:_0x3eec94-0x3b|0x2b]=_0x3eec94++;_0x1a9686['encode']=function(_0x33fda9,_0x3f9fb8,_0x211842){for(var t,_0x48cf1a=null,_0x549be3=[],_0x4d07f7=0x0,_0x407989=0x0;_0x3f9fb8<_0x211842;){var _0x18a462=_0x33fda9[_0x3f9fb8++];switch(_0x407989){case 0x0:_0x549be3[_0x4d07f7++]=_0x1cf642[_0x18a462>>0x2],t=(0x3&_0x18a462)<<0x4,_0x407989=0x1;break;case 0x1:_0x549be3[_0x4d07f7++]=_0x1cf642[t|_0x18a462>>0x4],t=(0xf&_0x18a462)<<0x2,_0x407989=0x2;break;case 0x2:_0x549be3[_0x4d07f7++]=_0x1cf642[t|_0x18a462>>0x6],_0x549be3[_0x4d07f7++]=_0x1cf642[0x3f&_0x18a462],_0x407989=0x0;}_0x4d07f7>0x1fff&&((_0x48cf1a||(_0x48cf1a=[]))['push'](String['fromCharCode']['apply'](String,_0x549be3)),_0x4d07f7=0x0);}return _0x407989&&(_0x549be3[_0x4d07f7++]=_0x1cf642[t],_0x549be3[_0x4d07f7++]=0x3d,0x1===_0x407989&&(_0x549be3[_0x4d07f7++]=0x3d)),_0x48cf1a?(_0x4d07f7&&_0x48cf1a['push'](String['fromCharCode']['apply'](String,_0x549be3['slice'](0x0,_0x4d07f7))),_0x48cf1a['join']('')):String['fromCharCode']['apply'](String,_0x549be3['slice'](0x0,_0x4d07f7));};var _0x158c51='invalid\x20encoding';_0x1a9686['decode']=function(_0x12d167,_0x3cf6e5,_0x5e5d9e){for(var t,_0x1ccb89=_0x5e5d9e,_0xb4d46c=0x0,_0x8a6123=0x0;_0x8a6123<_0x12d167['length'];){var _0x4819a=_0x12d167['charCodeAt'](_0x8a6123++);if(0x3d===_0x4819a&&_0xb4d46c>0x1)break;if(void 0x0===(_0x4819a=_0x2e85da[_0x4819a]))throw Error(_0x158c51);switch(_0xb4d46c){case 0x0:t=_0x4819a,_0xb4d46c=0x1;break;case 0x1:_0x3cf6e5[_0x5e5d9e++]=t<<0x2|(0x30&_0x4819a)>>0x4,t=_0x4819a,_0xb4d46c=0x2;break;case 0x2:_0x3cf6e5[_0x5e5d9e++]=(0xf&t)<<0x4|(0x3c&_0x4819a)>>0x2,t=_0x4819a,_0xb4d46c=0x3;break;case 0x3:_0x3cf6e5[_0x5e5d9e++]=(0x3&t)<<0x6|_0x4819a,_0xb4d46c=0x0;}}if(0x1===_0xb4d46c)throw Error(_0x158c51);return _0x5e5d9e-_0x1ccb89;},_0x1a9686['test']=function(_0x274234){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x274234);};}(_0x91030f)),_0x91030f),_0x35e4d9['EventEmitter']=(function(){if(_0x17513f)return _0xd148dc;function _0x5010ec(){this['_listeners']={};}return _0x17513f=0x1,_0xd148dc=_0x5010ec,_0x5010ec['prototype']['on']=function(_0x389dfc,_0x98a5a1,_0x3dc236){return(this['_listeners'][_0x389dfc]||(this['_listeners'][_0x389dfc]=[]))['push']({'fn':_0x98a5a1,'ctx':_0x3dc236||this}),this;},_0x5010ec['prototype']['off']=function(_0x5d32af,_0x10fe62){if(void 0x0===_0x5d32af)this['_listeners']={};else{if(void 0x0===_0x10fe62)this['_listeners'][_0x5d32af]=[];else{for(var _0x288a53=this['_listeners'][_0x5d32af],_0x545942=0x0;_0x545942<_0x288a53['length'];)_0x288a53[_0x545942]['fn']===_0x10fe62?_0x288a53['splice'](_0x545942,0x1):++_0x545942;}}return this;},_0x5010ec['prototype']['emit']=function(_0x1fc612){var _0x2b86a2=this['_listeners'][_0x1fc612];if(_0x2b86a2){for(var _0x5a19bb=[],_0x1fd050=0x1;_0x1fd050<arguments['length'];)_0x5a19bb['push'](arguments[_0x1fd050++]);for(_0x1fd050=0x0;_0x1fd050<_0x2b86a2['length'];)_0x2b86a2[_0x1fd050]['fn']['apply'](_0x2b86a2[_0x1fd050++]['ctx'],_0x5a19bb);}return this;},_0xd148dc;}()),_0x35e4d9['float']=(function(){if(_0xc85ea9)return _0x40883a;function _0x3513d4(_0x52644a){return'undefined'!=typeof Float32Array?(function(){var _0x3517aa=new Float32Array([-0x0]),_0xc119c4=new Uint8Array(_0x3517aa['buffer']),_0x1b5666=0x80===_0xc119c4[0x3];function _0x153f3f(_0x42e90c,_0x26398e,_0x40f4a2){_0x3517aa[0x0]=_0x42e90c,_0x26398e[_0x40f4a2]=_0xc119c4[0x0],_0x26398e[_0x40f4a2+0x1]=_0xc119c4[0x1],_0x26398e[_0x40f4a2+0x2]=_0xc119c4[0x2],_0x26398e[_0x40f4a2+0x3]=_0xc119c4[0x3];}function _0x226396(_0x59cabd,_0x18aa42,_0x302aa2){_0x3517aa[0x0]=_0x59cabd,_0x18aa42[_0x302aa2]=_0xc119c4[0x3],_0x18aa42[_0x302aa2+0x1]=_0xc119c4[0x2],_0x18aa42[_0x302aa2+0x2]=_0xc119c4[0x1],_0x18aa42[_0x302aa2+0x3]=_0xc119c4[0x0];}function _0x3bef22(_0x5a3da8,_0x517868){return _0xc119c4[0x0]=_0x5a3da8[_0x517868],_0xc119c4[0x1]=_0x5a3da8[_0x517868+0x1],_0xc119c4[0x2]=_0x5a3da8[_0x517868+0x2],_0xc119c4[0x3]=_0x5a3da8[_0x517868+0x3],_0x3517aa[0x0];}function _0x387c03(_0x3fe3a3,_0x5fdf76){return _0xc119c4[0x3]=_0x3fe3a3[_0x5fdf76],_0xc119c4[0x2]=_0x3fe3a3[_0x5fdf76+0x1],_0xc119c4[0x1]=_0x3fe3a3[_0x5fdf76+0x2],_0xc119c4[0x0]=_0x3fe3a3[_0x5fdf76+0x3],_0x3517aa[0x0];}_0x52644a['writeFloatLE']=_0x1b5666?_0x153f3f:_0x226396,_0x52644a['writeFloatBE']=_0x1b5666?_0x226396:_0x153f3f,_0x52644a['readFloatLE']=_0x1b5666?_0x3bef22:_0x387c03,_0x52644a['readFloatBE']=_0x1b5666?_0x387c03:_0x3bef22;}()):(function(){function _0x4d55db(_0x3fb647,_0x8c23b2,_0x3cbe1f,_0x107a0d){var _0x3bfeb5=_0x8c23b2<0x0?0x1:0x0;if(_0x3bfeb5&&(_0x8c23b2=-_0x8c23b2),0x0===_0x8c23b2)_0x3fb647(0x1/_0x8c23b2>0x0?0x0:0x80000000,_0x3cbe1f,_0x107a0d);else{if(isNaN(_0x8c23b2))_0x3fb647(0x7fc00000,_0x3cbe1f,_0x107a0d);else{if(_0x8c23b2>0xffffff00000000000000000000000000)_0x3fb647((_0x3bfeb5<<0x1f|0x7f800000)>>>0x0,_0x3cbe1f,_0x107a0d);else{if(_0x8c23b2<1.1754943508222875e-38)_0x3fb647((_0x3bfeb5<<0x1f|Math['round'](_0x8c23b2/1.401298464324817e-45))>>>0x0,_0x3cbe1f,_0x107a0d);else{var _0x55eac5=Math['floor'](Math['log'](_0x8c23b2)/Math['LN2']);_0x3fb647((_0x3bfeb5<<0x1f|_0x55eac5+0x7f<<0x17|0x7fffff&Math['round'](_0x8c23b2*Math['pow'](0x2,-_0x55eac5)*0x800000))>>>0x0,_0x3cbe1f,_0x107a0d);}}}}}function _0x35048e(_0x13a639,_0x4be1bc,_0x51445d){var _0x2c9ee7=_0x13a639(_0x4be1bc,_0x51445d),_0x4af0df=0x2*(_0x2c9ee7>>0x1f)+0x1,_0x4ecd92=_0x2c9ee7>>>0x17&0xff,_0x4adb83=0x7fffff&_0x2c9ee7;return 0xff===_0x4ecd92?_0x4adb83?NaN:_0x4af0df*(0x1/0x0):0x0===_0x4ecd92?1.401298464324817e-45*_0x4af0df*_0x4adb83:_0x4af0df*Math['pow'](0x2,_0x4ecd92-0x96)*(_0x4adb83+0x800000);}_0x52644a['writeFloatLE']=_0x4d55db['bind'](null,_0x5d2728),_0x52644a['writeFloatBE']=_0x4d55db['bind'](null,_0x13afaa),_0x52644a['readFloatLE']=_0x35048e['bind'](null,_0x2ec620),_0x52644a['readFloatBE']=_0x35048e['bind'](null,_0x5e7556);}()),'undefined'!=typeof Float64Array?(function(){var _0x1278fc=new Float64Array([-0x0]),_0x25b5b1=new Uint8Array(_0x1278fc['buffer']),_0x445d34=0x80===_0x25b5b1[0x7];function _0x1a0b67(_0x1f16be,_0x41c786,_0x5c0b39){_0x1278fc[0x0]=_0x1f16be,_0x41c786[_0x5c0b39]=_0x25b5b1[0x0],_0x41c786[_0x5c0b39+0x1]=_0x25b5b1[0x1],_0x41c786[_0x5c0b39+0x2]=_0x25b5b1[0x2],_0x41c786[_0x5c0b39+0x3]=_0x25b5b1[0x3],_0x41c786[_0x5c0b39+0x4]=_0x25b5b1[0x4],_0x41c786[_0x5c0b39+0x5]=_0x25b5b1[0x5],_0x41c786[_0x5c0b39+0x6]=_0x25b5b1[0x6],_0x41c786[_0x5c0b39+0x7]=_0x25b5b1[0x7];}function _0x41c226(_0x2dfa6d,_0x1ab443,_0x257c9f){_0x1278fc[0x0]=_0x2dfa6d,_0x1ab443[_0x257c9f]=_0x25b5b1[0x7],_0x1ab443[_0x257c9f+0x1]=_0x25b5b1[0x6],_0x1ab443[_0x257c9f+0x2]=_0x25b5b1[0x5],_0x1ab443[_0x257c9f+0x3]=_0x25b5b1[0x4],_0x1ab443[_0x257c9f+0x4]=_0x25b5b1[0x3],_0x1ab443[_0x257c9f+0x5]=_0x25b5b1[0x2],_0x1ab443[_0x257c9f+0x6]=_0x25b5b1[0x1],_0x1ab443[_0x257c9f+0x7]=_0x25b5b1[0x0];}function _0x46f73f(_0x4ef86e,_0x398d39){return _0x25b5b1[0x0]=_0x4ef86e[_0x398d39],_0x25b5b1[0x1]=_0x4ef86e[_0x398d39+0x1],_0x25b5b1[0x2]=_0x4ef86e[_0x398d39+0x2],_0x25b5b1[0x3]=_0x4ef86e[_0x398d39+0x3],_0x25b5b1[0x4]=_0x4ef86e[_0x398d39+0x4],_0x25b5b1[0x5]=_0x4ef86e[_0x398d39+0x5],_0x25b5b1[0x6]=_0x4ef86e[_0x398d39+0x6],_0x25b5b1[0x7]=_0x4ef86e[_0x398d39+0x7],_0x1278fc[0x0];}function _0x26636d(_0x3c238c,_0x274a23){return _0x25b5b1[0x7]=_0x3c238c[_0x274a23],_0x25b5b1[0x6]=_0x3c238c[_0x274a23+0x1],_0x25b5b1[0x5]=_0x3c238c[_0x274a23+0x2],_0x25b5b1[0x4]=_0x3c238c[_0x274a23+0x3],_0x25b5b1[0x3]=_0x3c238c[_0x274a23+0x4],_0x25b5b1[0x2]=_0x3c238c[_0x274a23+0x5],_0x25b5b1[0x1]=_0x3c238c[_0x274a23+0x6],_0x25b5b1[0x0]=_0x3c238c[_0x274a23+0x7],_0x1278fc[0x0];}_0x52644a['writeDoubleLE']=_0x445d34?_0x1a0b67:_0x41c226,_0x52644a['writeDoubleBE']=_0x445d34?_0x41c226:_0x1a0b67,_0x52644a['readDoubleLE']=_0x445d34?_0x46f73f:_0x26636d,_0x52644a['readDoubleBE']=_0x445d34?_0x26636d:_0x46f73f;}()):(function(){function _0x14fa93(_0x3e4562,_0x53fe8f,_0x4b28f2,_0x3739f1,_0x54cfc2,_0x29af47){var _0x1f26b8=_0x3739f1<0x0?0x1:0x0;if(_0x1f26b8&&(_0x3739f1=-_0x3739f1),0x0===_0x3739f1)_0x3e4562(0x0,_0x54cfc2,_0x29af47+_0x53fe8f),_0x3e4562(0x1/_0x3739f1>0x0?0x0:0x80000000,_0x54cfc2,_0x29af47+_0x4b28f2);else{if(isNaN(_0x3739f1))_0x3e4562(0x0,_0x54cfc2,_0x29af47+_0x53fe8f),_0x3e4562(0x7ff80000,_0x54cfc2,_0x29af47+_0x4b28f2);else{if(_0x3739f1>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x3e4562(0x0,_0x54cfc2,_0x29af47+_0x53fe8f),_0x3e4562((_0x1f26b8<<0x1f|0x7ff00000)>>>0x0,_0x54cfc2,_0x29af47+_0x4b28f2);else{var _0x50321e;if(_0x3739f1<2.2250738585072014e-308)_0x3e4562((_0x50321e=_0x3739f1/5e-324)>>>0x0,_0x54cfc2,_0x29af47+_0x53fe8f),_0x3e4562((_0x1f26b8<<0x1f|_0x50321e/0x100000000)>>>0x0,_0x54cfc2,_0x29af47+_0x4b28f2);else{var _0x1c63f1=Math['floor'](Math['log'](_0x3739f1)/Math['LN2']);0x400===_0x1c63f1&&(_0x1c63f1=0x3ff),_0x3e4562(0x10000000000000*(_0x50321e=_0x3739f1*Math['pow'](0x2,-_0x1c63f1))>>>0x0,_0x54cfc2,_0x29af47+_0x53fe8f),_0x3e4562((_0x1f26b8<<0x1f|_0x1c63f1+0x3ff<<0x14|0x100000*_0x50321e&0xfffff)>>>0x0,_0x54cfc2,_0x29af47+_0x4b28f2);}}}}}function _0x35ca04(_0x459b02,_0x36465e,_0x196de0,_0x19dde5,_0x55a464){var _0x34973d=_0x459b02(_0x19dde5,_0x55a464+_0x36465e),_0x15e8a7=_0x459b02(_0x19dde5,_0x55a464+_0x196de0),_0x4e7a25=0x2*(_0x15e8a7>>0x1f)+0x1,_0x179723=_0x15e8a7>>>0x14&0x7ff,_0x317e53=0x100000000*(0xfffff&_0x15e8a7)+_0x34973d;return 0x7ff===_0x179723?_0x317e53?NaN:_0x4e7a25*(0x1/0x0):0x0===_0x179723?5e-324*_0x4e7a25*_0x317e53:_0x4e7a25*Math['pow'](0x2,_0x179723-0x433)*(_0x317e53+0x10000000000000);}_0x52644a['writeDoubleLE']=_0x14fa93['bind'](null,_0x5d2728,0x0,0x4),_0x52644a['writeDoubleBE']=_0x14fa93['bind'](null,_0x13afaa,0x4,0x0),_0x52644a['readDoubleLE']=_0x35ca04['bind'](null,_0x2ec620,0x0,0x4),_0x52644a['readDoubleBE']=_0x35ca04['bind'](null,_0x5e7556,0x4,0x0);}()),_0x52644a;}function _0x5d2728(_0x2a06a5,_0xcfda5e,_0x4b5f1c){_0xcfda5e[_0x4b5f1c]=0xff&_0x2a06a5,_0xcfda5e[_0x4b5f1c+0x1]=_0x2a06a5>>>0x8&0xff,_0xcfda5e[_0x4b5f1c+0x2]=_0x2a06a5>>>0x10&0xff,_0xcfda5e[_0x4b5f1c+0x3]=_0x2a06a5>>>0x18;}function _0x13afaa(_0x1658d3,_0x127f35,_0x23f137){_0x127f35[_0x23f137]=_0x1658d3>>>0x18,_0x127f35[_0x23f137+0x1]=_0x1658d3>>>0x10&0xff,_0x127f35[_0x23f137+0x2]=_0x1658d3>>>0x8&0xff,_0x127f35[_0x23f137+0x3]=0xff&_0x1658d3;}function _0x2ec620(_0x159536,_0x337173){return(_0x159536[_0x337173]|_0x159536[_0x337173+0x1]<<0x8|_0x159536[_0x337173+0x2]<<0x10|_0x159536[_0x337173+0x3]<<0x18)>>>0x0;}function _0x5e7556(_0xb4bd76,_0x4ea52c){return(_0xb4bd76[_0x4ea52c]<<0x18|_0xb4bd76[_0x4ea52c+0x1]<<0x10|_0xb4bd76[_0x4ea52c+0x2]<<0x8|_0xb4bd76[_0x4ea52c+0x3])>>>0x0;}return _0xc85ea9=0x1,_0x40883a=_0x3513d4(_0x3513d4);}()),_0x35e4d9['inquire']=_0x3528e0?_0x5d9152:(_0x3528e0=0x1,_0x5d9152=function(_0x3f1412){try{var _0x1f1e3e=_0x333b57(_0x3f1412);return _0x1f1e3e&&(_0x1f1e3e['length']||Object['keys'](_0x1f1e3e)['length'])?_0x1f1e3e:null;}catch(_0x347aa1){return null;}}),_0x35e4d9['utf8']=(_0x14715f||(_0x14715f=0x1,function(_0x4110e3){var _0x4d3953=_0x4110e3;_0x4d3953['length']=function(_0x3c75d9){for(var _0x55937d=0x0,_0x306645=0x0,_0x219759=0x0;_0x219759<_0x3c75d9['length'];++_0x219759)(_0x306645=_0x3c75d9['charCodeAt'](_0x219759))<0x80?_0x55937d+=0x1:_0x306645<0x800?_0x55937d+=0x2:0xd800==(0xfc00&_0x306645)&&0xdc00==(0xfc00&_0x3c75d9['charCodeAt'](_0x219759+0x1))?(++_0x219759,_0x55937d+=0x4):_0x55937d+=0x3;return _0x55937d;},_0x4d3953['read']=function(_0x38ab36,_0x4e10d0,_0x3c81a1){if(_0x3c81a1-_0x4e10d0<0x1)return'';for(var _0x1a1e47='',_0x454472=_0x4e10d0;_0x454472<_0x3c81a1;){var t=_0x38ab36[_0x454472++];if(t<=0x7f)_0x1a1e47+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x475947=(0x1f&t)<<0x6|0x3f&_0x38ab36[_0x454472++];_0x1a1e47+=_0x475947>=0x80?String['fromCharCode'](_0x475947):'�';}else{if(t>=0xe0&&t<0xf0){var _0x187254=(0xf&t)<<0xc|(0x3f&_0x38ab36[_0x454472++])<<0x6|0x3f&_0x38ab36[_0x454472++];_0x1a1e47+=_0x187254>=0x800?String['fromCharCode'](_0x187254):'�';}else{if(t>=0xf0){var _0x1096e0=(0x7&t)<<0x12|(0x3f&_0x38ab36[_0x454472++])<<0xc|(0x3f&_0x38ab36[_0x454472++])<<0x6|0x3f&_0x38ab36[_0x454472++];_0x1096e0<0x10000||_0x1096e0>0x10ffff?_0x1a1e47+='�':(_0x1096e0-=0x10000,_0x1a1e47+=String['fromCharCode'](0xd800+(_0x1096e0>>0xa)),_0x1a1e47+=String['fromCharCode'](0xdc00+(0x3ff&_0x1096e0)));}}}}}return _0x1a1e47;},_0x4d3953['write']=function(_0x279e5c,_0x5b3191,_0x5dd956){for(var _0x3a5362,_0x31553d,_0x4177a7=_0x5dd956,_0x35b401=0x0;_0x35b401<_0x279e5c['length'];++_0x35b401)(_0x3a5362=_0x279e5c['charCodeAt'](_0x35b401))<0x80?_0x5b3191[_0x5dd956++]=_0x3a5362:_0x3a5362<0x800?(_0x5b3191[_0x5dd956++]=_0x3a5362>>0x6|0xc0,_0x5b3191[_0x5dd956++]=0x3f&_0x3a5362|0x80):0xd800==(0xfc00&_0x3a5362)&&0xdc00==(0xfc00&(_0x31553d=_0x279e5c['charCodeAt'](_0x35b401+0x1)))?(_0x3a5362=0x10000+((0x3ff&_0x3a5362)<<0xa)+(0x3ff&_0x31553d),++_0x35b401,_0x5b3191[_0x5dd956++]=_0x3a5362>>0x12|0xf0,_0x5b3191[_0x5dd956++]=_0x3a5362>>0xc&0x3f|0x80,_0x5b3191[_0x5dd956++]=_0x3a5362>>0x6&0x3f|0x80,_0x5b3191[_0x5dd956++]=0x3f&_0x3a5362|0x80):(_0x5b3191[_0x5dd956++]=_0x3a5362>>0xc|0xe0,_0x5b3191[_0x5dd956++]=_0x3a5362>>0x6&0x3f|0x80,_0x5b3191[_0x5dd956++]=0x3f&_0x3a5362|0x80);return _0x5dd956-_0x4177a7;};}(_0x4fc86d)),_0x4fc86d),_0x35e4d9['pool']=(_0x496dfb||(_0x496dfb=0x1,_0x2faba9=function(_0x59ac16,_0x1dc50d,_0x47b9a7){var _0x5bf0d8=_0x47b9a7||0x2000,_0xb19b6f=_0x5bf0d8>>>0x1,_0x15b1f5=null,_0x419ddc=_0x5bf0d8;return function(_0x46f46f){if(_0x46f46f<0x1||_0x46f46f>_0xb19b6f)return _0x59ac16(_0x46f46f);_0x419ddc+_0x46f46f>_0x5bf0d8&&(_0x15b1f5=_0x59ac16(_0x5bf0d8),_0x419ddc=0x0);var _0x794e14=_0x1dc50d['call'](_0x15b1f5,_0x419ddc,_0x419ddc+=_0x46f46f);return 0x7&_0x419ddc&&(_0x419ddc=0x1+(0x7|_0x419ddc)),_0x794e14;};}),_0x2faba9),_0x35e4d9['LongBits']=(function(){if(_0x1a94e1)return _0x4839ac;_0x1a94e1=0x1,_0x4839ac=_0x802e50;var _0x440584=_0x3935a0();function _0x802e50(_0x580415,_0x30543d){this['lo']=_0x580415>>>0x0,this['hi']=_0x30543d>>>0x0;}var _0x21e205=_0x802e50['zero']=new _0x802e50(0x0,0x0);_0x21e205['toNumber']=function(){return 0x0;},_0x21e205['zzEncode']=_0x21e205['zzDecode']=function(){return this;},_0x21e205['length']=function(){return 0x1;};var _0x4134cb=_0x802e50['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x802e50['fromNumber']=function(_0x105d09){if(0x0===_0x105d09)return _0x21e205;var _0x47c658=_0x105d09<0x0;_0x47c658&&(_0x105d09=-_0x105d09);var _0x56451c=_0x105d09>>>0x0,_0xb3e5a7=(_0x105d09-_0x56451c)/0x100000000>>>0x0;return _0x47c658&&(_0xb3e5a7=~_0xb3e5a7>>>0x0,_0x56451c=~_0x56451c>>>0x0,++_0x56451c>0xffffffff&&(_0x56451c=0x0,++_0xb3e5a7>0xffffffff&&(_0xb3e5a7=0x0))),new _0x802e50(_0x56451c,_0xb3e5a7);},_0x802e50['from']=function(_0x415101){if('number'==typeof _0x415101)return _0x802e50['fromNumber'](_0x415101);if(_0x440584['isString'](_0x415101)){if(!_0x440584['Long'])return _0x802e50['fromNumber'](parseInt(_0x415101,0xa));_0x415101=_0x440584['Long']['fromString'](_0x415101);}return _0x415101['low']||_0x415101['high']?new _0x802e50(_0x415101['low']>>>0x0,_0x415101['high']>>>0x0):_0x21e205;},_0x802e50['prototype']['toNumber']=function(_0x32a6bc){if(!_0x32a6bc&&this['hi']>>>0x1f){var _0x5c3189=0x1+~this['lo']>>>0x0,_0x3fc38b=~this['hi']>>>0x0;return _0x5c3189||(_0x3fc38b=_0x3fc38b+0x1>>>0x0),-(_0x5c3189+0x100000000*_0x3fc38b);}return this['lo']+0x100000000*this['hi'];},_0x802e50['prototype']['toLong']=function(_0xcf04a9){return _0x440584['Long']?new _0x440584['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0xcf04a9)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0xcf04a9)};};var _0x47d271=String['prototype']['charCodeAt'];return _0x802e50['fromHash']=function(_0x324efb){return _0x324efb===_0x4134cb?_0x21e205:new _0x802e50((_0x47d271['call'](_0x324efb,0x0)|_0x47d271['call'](_0x324efb,0x1)<<0x8|_0x47d271['call'](_0x324efb,0x2)<<0x10|_0x47d271['call'](_0x324efb,0x3)<<0x18)>>>0x0,(_0x47d271['call'](_0x324efb,0x4)|_0x47d271['call'](_0x324efb,0x5)<<0x8|_0x47d271['call'](_0x324efb,0x6)<<0x10|_0x47d271['call'](_0x324efb,0x7)<<0x18)>>>0x0);},_0x802e50['prototype']['toHash']=function(){return String['fromCharCode'](0xff&this['lo'],this['lo']>>>0x8&0xff,this['lo']>>>0x10&0xff,this['lo']>>>0x18,0xff&this['hi'],this['hi']>>>0x8&0xff,this['hi']>>>0x10&0xff,this['hi']>>>0x18);},_0x802e50['prototype']['zzEncode']=function(){var _0x200dea=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x200dea)>>>0x0,this['lo']=(this['lo']<<0x1^_0x200dea)>>>0x0,this;},_0x802e50['prototype']['zzDecode']=function(){var _0x551a54=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x551a54)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x551a54)>>>0x0,this;},_0x802e50['prototype']['length']=function(){var _0x4e92d4=this['lo'],_0x31b34b=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x2b8a4e=this['hi']>>>0x18;return 0x0===_0x2b8a4e?0x0===_0x31b34b?_0x4e92d4<0x4000?_0x4e92d4<0x80?0x1:0x2:_0x4e92d4<0x200000?0x3:0x4:_0x31b34b<0x4000?_0x31b34b<0x80?0x5:0x6:_0x31b34b<0x200000?0x7:0x8:_0x2b8a4e<0x80?0x9:0xa;},_0x4839ac;}()),_0x35e4d9['isNode']=Boolean(void 0x0!==_0xf4f7de&&_0xf4f7de&&_0xf4f7de['process']&&_0xf4f7de['process']['versions']&&_0xf4f7de['process']['versions']['node']),_0x35e4d9['global']=_0x35e4d9['isNode']&&_0xf4f7de||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x1e00cc,_0x35e4d9['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x35e4d9['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x35e4d9['isInteger']=Number['isInteger']||function(_0x4cd341){return'number'==typeof _0x4cd341&&isFinite(_0x4cd341)&&Math['floor'](_0x4cd341)===_0x4cd341;},_0x35e4d9['isString']=function(_0x15a2b3){return'string'==typeof _0x15a2b3||_0x15a2b3 instanceof String;},_0x35e4d9['isObject']=function(_0x27a491){return _0x27a491&&'object'==typeof _0x27a491;},_0x35e4d9['isset']=_0x35e4d9['isSet']=function(_0x231f7e,_0x3f8d47){var _0x1bf53b=_0x231f7e[_0x3f8d47];return!(null==_0x1bf53b||!_0x231f7e['hasOwnProperty'](_0x3f8d47))&&('object'!=typeof _0x1bf53b||(Array['isArray'](_0x1bf53b)?_0x1bf53b['length']:Object['keys'](_0x1bf53b)['length'])>0x0);},_0x35e4d9['Buffer']=(function(){try{var _0x383a91=_0x35e4d9['inquire']('buffer')['Buffer'];return _0x383a91['prototype']['utf8Write']?_0x383a91:null;}catch(_0x49f0c9){return null;}}()),_0x35e4d9['_Buffer_from']=null,_0x35e4d9['_Buffer_allocUnsafe']=null,_0x35e4d9['newBuffer']=function(_0x430d06){return'number'==typeof _0x430d06?_0x35e4d9['Buffer']?_0x35e4d9['_Buffer_allocUnsafe'](_0x430d06):new _0x35e4d9['Array'](_0x430d06):_0x35e4d9['Buffer']?_0x35e4d9['_Buffer_from'](_0x430d06):'undefined'==typeof Uint8Array?_0x430d06:new Uint8Array(_0x430d06);},_0x35e4d9['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x35e4d9['Long']=_0x35e4d9['global']['dcodeIO']&&_0x35e4d9['global']['dcodeIO']['Long']||_0x35e4d9['global']['Long']||_0x35e4d9['inquire']('long'),_0x35e4d9['key2Re']=/^true|false|0|1$/,_0x35e4d9['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x35e4d9['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x35e4d9['longToHash']=function(_0x3bc52b){return _0x3bc52b?_0x35e4d9['LongBits']['from'](_0x3bc52b)['toHash']():_0x35e4d9['LongBits']['zeroHash'];},_0x35e4d9['longFromHash']=function(_0x1fc810,_0x2b468c){var _0x4fe601=_0x35e4d9['LongBits']['fromHash'](_0x1fc810);return _0x35e4d9['Long']?_0x35e4d9['Long']['fromBits'](_0x4fe601['lo'],_0x4fe601['hi'],_0x2b468c):_0x4fe601['toNumber'](Boolean(_0x2b468c));},_0x35e4d9['merge']=_0x397275,_0x35e4d9['recursionLimit']=0x64,_0x35e4d9['makeProp']=function(_0x3ac34b,_0x1061b8){Object['defineProperty'](_0x3ac34b,_0x1061b8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x35e4d9['lcFirst']=function(_0x523e3a){return _0x523e3a['charAt'](0x0)['toLowerCase']()+_0x523e3a['substring'](0x1);},_0x35e4d9['newError']=_0x42d326,_0x35e4d9['ProtocolError']=_0x42d326('ProtocolError'),_0x35e4d9['oneOfGetter']=function(_0x486b49){for(var _0x250350={},_0x3e545c=0x0;_0x3e545c<_0x486b49['length'];++_0x3e545c)_0x250350[_0x486b49[_0x3e545c]]=0x1;return function(){for(var _0xa6a7b3=Object['keys'](this),_0x56c816=_0xa6a7b3['length']-0x1;_0x56c816>-0x1;--_0x56c816)if(0x1===_0x250350[_0xa6a7b3[_0x56c816]]&&void 0x0!==this[_0xa6a7b3[_0x56c816]]&&null!==this[_0xa6a7b3[_0x56c816]])return _0xa6a7b3[_0x56c816];};},_0x35e4d9['oneOfSetter']=function(_0x31a687){return function(_0x5cd998){for(var _0xb1a47b=0x0;_0xb1a47b<_0x31a687['length'];++_0xb1a47b)_0x31a687[_0xb1a47b]!==_0x5cd998&&delete this[_0x31a687[_0xb1a47b]];};},_0x35e4d9['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x35e4d9['_configure']=function(){var _0x5d5b7d=_0x35e4d9['Buffer'];_0x5d5b7d?(_0x35e4d9['_Buffer_from']=_0x5d5b7d['from']!==Uint8Array['from']&&_0x5d5b7d['from']||function(_0x3ca625,_0x303342){return new _0x5d5b7d(_0x3ca625,_0x303342);},_0x35e4d9['_Buffer_allocUnsafe']=_0x5d5b7d['allocUnsafe']||function(_0x1a5942){return new _0x5d5b7d(_0x1a5942);}):_0x35e4d9['_Buffer_from']=_0x35e4d9['_Buffer_allocUnsafe']=null;};}(_0x1e00cc)),_0x1e00cc;}function _0x4498c6(){if(_0x1afec2)return _0x4528b8;_0x1afec2=0x1,_0x4528b8=_0x3b1623;var _0x5db31b,_0x434f62=_0x3935a0(),_0x4ef3b2=_0x434f62['LongBits'],_0x449de5=_0x434f62['base64'],_0x50f5fc=_0x434f62['utf8'];function _0x23e257(_0x366326,_0x3aef54,_0x32c7fa){this['fn']=_0x366326,this['len']=_0x3aef54,this['next']=void 0x0,this['val']=_0x32c7fa;}function _0x5eb78c(){}function _0x337abf(_0x46d9d3){this['head']=_0x46d9d3['head'],this['tail']=_0x46d9d3['tail'],this['len']=_0x46d9d3['len'],this['next']=_0x46d9d3['states'];}function _0x3b1623(){this['len']=0x0,this['head']=new _0x23e257(_0x5eb78c,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x4a8c20=function(){return _0x434f62['Buffer']?function(){return(_0x3b1623['create']=function(){return new _0x5db31b();})();}:function(){return new _0x3b1623();};};function _0x1fdee7(_0x430dbb,_0x4859d6,_0x38225a){_0x4859d6[_0x38225a]=0xff&_0x430dbb;}function _0x285740(_0x33a345,_0xa575ed){this['len']=_0x33a345,this['next']=void 0x0,this['val']=_0xa575ed;}function _0xb65cc5(_0x157f77,_0x723f0,_0x2bd09f){for(;_0x157f77['hi'];)_0x723f0[_0x2bd09f++]=0x7f&_0x157f77['lo']|0x80,_0x157f77['lo']=(_0x157f77['lo']>>>0x7|_0x157f77['hi']<<0x19)>>>0x0,_0x157f77['hi']>>>=0x7;for(;_0x157f77['lo']>0x7f;)_0x723f0[_0x2bd09f++]=0x7f&_0x157f77['lo']|0x80,_0x157f77['lo']=_0x157f77['lo']>>>0x7;_0x723f0[_0x2bd09f++]=_0x157f77['lo'];}function _0x32a266(_0x44a73d,_0x3905bf,_0x22c418){_0x3905bf[_0x22c418]=0xff&_0x44a73d,_0x3905bf[_0x22c418+0x1]=_0x44a73d>>>0x8&0xff,_0x3905bf[_0x22c418+0x2]=_0x44a73d>>>0x10&0xff,_0x3905bf[_0x22c418+0x3]=_0x44a73d>>>0x18;}_0x3b1623['create']=_0x4a8c20(),_0x3b1623['alloc']=function(_0x663536){return new _0x434f62['Array'](_0x663536);},_0x434f62['Array']!==Array&&(_0x3b1623['alloc']=_0x434f62['pool'](_0x3b1623['alloc'],_0x434f62['Array']['prototype']['subarray'])),_0x3b1623['prototype']['_push']=function(_0x18ceeb,_0x144a81,_0x4c6e12){return this['tail']=this['tail']['next']=new _0x23e257(_0x18ceeb,_0x144a81,_0x4c6e12),this['len']+=_0x144a81,this;},_0x285740['prototype']=Object['create'](_0x23e257['prototype']),_0x285740['prototype']['fn']=function(_0x5c6dc3,_0x2cb603,_0x1a7555){for(;_0x5c6dc3>0x7f;)_0x2cb603[_0x1a7555++]=0x7f&_0x5c6dc3|0x80,_0x5c6dc3>>>=0x7;_0x2cb603[_0x1a7555]=_0x5c6dc3;},_0x3b1623['prototype']['uint32']=function(_0x1a5973){return this['len']+=(this['tail']=this['tail']['next']=new _0x285740((_0x1a5973>>>=0x0)<0x80?0x1:_0x1a5973<0x4000?0x2:_0x1a5973<0x200000?0x3:_0x1a5973<0x10000000?0x4:0x5,_0x1a5973))['len'],this;},_0x3b1623['prototype']['int32']=function(_0x140421){return _0x140421<0x0?this['_push'](_0xb65cc5,0xa,_0x4ef3b2['fromNumber'](_0x140421)):this['uint32'](_0x140421);},_0x3b1623['prototype']['sint32']=function(_0xbbbfd1){return this['uint32']((_0xbbbfd1<<0x1^_0xbbbfd1>>0x1f)>>>0x0);},_0x3b1623['prototype']['uint64']=function(_0x3a0f45){var _0x350c5d=_0x4ef3b2['from'](_0x3a0f45);return this['_push'](_0xb65cc5,_0x350c5d['length'](),_0x350c5d);},_0x3b1623['prototype']['int64']=_0x3b1623['prototype']['uint64'],_0x3b1623['prototype']['sint64']=function(_0x17367){var _0x5bc9b7=_0x4ef3b2['from'](_0x17367)['zzEncode']();return this['_push'](_0xb65cc5,_0x5bc9b7['length'](),_0x5bc9b7);},_0x3b1623['prototype']['bool']=function(_0x120c7a){return this['_push'](_0x1fdee7,0x1,_0x120c7a?0x1:0x0);},_0x3b1623['prototype']['fixed32']=function(_0x1850bf){return this['_push'](_0x32a266,0x4,_0x1850bf>>>0x0);},_0x3b1623['prototype']['sfixed32']=_0x3b1623['prototype']['fixed32'],_0x3b1623['prototype']['fixed64']=function(_0x4d53aa){var _0x78e981=_0x4ef3b2['from'](_0x4d53aa);return this['_push'](_0x32a266,0x4,_0x78e981['lo'])['_push'](_0x32a266,0x4,_0x78e981['hi']);},_0x3b1623['prototype']['sfixed64']=_0x3b1623['prototype']['fixed64'],_0x3b1623['prototype']['float']=function(_0x241e40){return this['_push'](_0x434f62['float']['writeFloatLE'],0x4,_0x241e40);},_0x3b1623['prototype']['double']=function(_0x47be74){return this['_push'](_0x434f62['float']['writeDoubleLE'],0x8,_0x47be74);};var _0x1ba52b=_0x434f62['Array']['prototype']['set']?function(_0x10072a,_0x546a83,_0x4d98be){_0x546a83['set'](_0x10072a,_0x4d98be);}:function(_0x1b290f,_0x363173,_0x550fa1){for(var _0x3b5144=0x0;_0x3b5144<_0x1b290f['length'];++_0x3b5144)_0x363173[_0x550fa1+_0x3b5144]=_0x1b290f[_0x3b5144];};return _0x3b1623['prototype']['bytes']=function(_0x130c19){var _0xcb7567=_0x130c19['length']>>>0x0;if(!_0xcb7567)return this['_push'](_0x1fdee7,0x1,0x0);if(_0x434f62['isString'](_0x130c19)){var _0x532b3e=_0x3b1623['alloc'](_0xcb7567=_0x449de5['length'](_0x130c19));_0x449de5['decode'](_0x130c19,_0x532b3e,0x0),_0x130c19=_0x532b3e;}return this['uint32'](_0xcb7567)['_push'](_0x1ba52b,_0xcb7567,_0x130c19);},_0x3b1623['prototype']['string']=function(_0x12af57){var _0x610e0e=_0x50f5fc['length'](_0x12af57);return _0x610e0e?this['uint32'](_0x610e0e)['_push'](_0x50f5fc['write'],_0x610e0e,_0x12af57):this['_push'](_0x1fdee7,0x1,0x0);},_0x3b1623['prototype']['fork']=function(){return this['states']=new _0x337abf(this),this['head']=this['tail']=new _0x23e257(_0x5eb78c,0x0,0x0),this['len']=0x0,this;},_0x3b1623['prototype']['reset']=function(){return this['states']?(this['head']=this['states']['head'],this['tail']=this['states']['tail'],this['len']=this['states']['len'],this['states']=this['states']['next']):(this['head']=this['tail']=new _0x23e257(_0x5eb78c,0x0,0x0),this['len']=0x0),this;},_0x3b1623['prototype']['ldelim']=function(){var _0x57182e=this['head'],_0x5bd274=this['tail'],_0x80ad7d=this['len'];return this['reset']()['uint32'](_0x80ad7d),_0x80ad7d&&(this['tail']['next']=_0x57182e['next'],this['tail']=_0x5bd274,this['len']+=_0x80ad7d),this;},_0x3b1623['prototype']['finish']=function(){for(var _0xe4a333=this['head']['next'],_0x34cd45=this['constructor']['alloc'](this['len']),_0x520035=0x0;_0xe4a333;)_0xe4a333['fn'](_0xe4a333['val'],_0x34cd45,_0x520035),_0x520035+=_0xe4a333['len'],_0xe4a333=_0xe4a333['next'];return _0x34cd45;},_0x3b1623['_configure']=function(_0x5ae0be){_0x5db31b=_0x5ae0be,_0x3b1623['create']=_0x4a8c20(),_0x5db31b['_configure']();},_0x4528b8;}function _0xb2e0fa(){if(_0x175703)return _0x43d364;_0x175703=0x1,_0x43d364=_0x2ea319;var _0x4b70a4,_0xfd73bc=_0x3935a0(),_0x360320=_0xfd73bc['LongBits'],_0x319976=_0xfd73bc['utf8'];function _0x58a93b(_0x45fc81,_0x36da05){return RangeError('index\x20out\x20of\x20range:\x20'+_0x45fc81['pos']+'\x20+\x20'+(_0x36da05||0x1)+'\x20>\x20'+_0x45fc81['len']);}function _0x2ea319(_0x3eb0e5){this['buf']=_0x3eb0e5,this['pos']=0x0,this['len']=_0x3eb0e5['length'];}var _0x3d317b='undefined'!=typeof Uint8Array?function(_0x163edb){if(_0x163edb instanceof Uint8Array||Array['isArray'](_0x163edb))return new _0x2ea319(_0x163edb);throw Error('illegal\x20buffer');}:function(_0x110f98){if(Array['isArray'](_0x110f98))return new _0x2ea319(_0x110f98);throw Error('illegal\x20buffer');},_0x5b11b4=function(){return _0xfd73bc['Buffer']?function(_0x38b152){return(_0x2ea319['create']=function(_0x490d13){return _0xfd73bc['Buffer']['isBuffer'](_0x490d13)?new _0x4b70a4(_0x490d13):_0x3d317b(_0x490d13);})(_0x38b152);}:_0x3d317b;};function _0x288b86(){var _0x86da35=new _0x360320(0x0,0x0),_0x25053e=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x25053e<0x3;++_0x25053e){if(this['pos']>=this['len'])throw _0x58a93b(this);if(_0x86da35['lo']=(_0x86da35['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x25053e)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x86da35;}return _0x86da35['lo']=(_0x86da35['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x25053e)>>>0x0,_0x86da35;}for(;_0x25053e<0x4;++_0x25053e)if(_0x86da35['lo']=(_0x86da35['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x25053e)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x86da35;if(_0x86da35['lo']=(_0x86da35['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x86da35['hi']=(_0x86da35['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x86da35;if(_0x25053e=0x0,this['len']-this['pos']>0x4){for(;_0x25053e<0x5;++_0x25053e)if(_0x86da35['hi']=(_0x86da35['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x25053e+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x86da35;}else for(;_0x25053e<0x5;++_0x25053e){if(this['pos']>=this['len'])throw _0x58a93b(this);if(_0x86da35['hi']=(_0x86da35['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x25053e+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x86da35;}throw Error('invalid\x20varint\x20encoding');}function _0x3ecd72(_0x43d060,_0x4a0cb8){return(_0x43d060[_0x4a0cb8-0x4]|_0x43d060[_0x4a0cb8-0x3]<<0x8|_0x43d060[_0x4a0cb8-0x2]<<0x10|_0x43d060[_0x4a0cb8-0x1]<<0x18)>>>0x0;}function _0x4493f3(){if(this['pos']+0x8>this['len'])throw _0x58a93b(this,0x8);return new _0x360320(_0x3ecd72(this['buf'],this['pos']+=0x4),_0x3ecd72(this['buf'],this['pos']+=0x4));}return _0x2ea319['create']=_0x5b11b4(),_0x2ea319['prototype']['_slice']=_0xfd73bc['Array']['prototype']['subarray']||_0xfd73bc['Array']['prototype']['slice'],_0x2ea319['prototype']['uint32']=(function(){var _0x16e332=0xffffffff;return function(){if(_0x16e332=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x16e332;if(_0x16e332=(_0x16e332|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x16e332;if(_0x16e332=(_0x16e332|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x16e332;if(_0x16e332=(_0x16e332|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x16e332;if(_0x16e332=(_0x16e332|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x16e332;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x58a93b(this,0xa);return _0x16e332;};}()),_0x2ea319['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x2ea319['prototype']['sint32']=function(){var _0x3d6d0a=this['uint32']();return _0x3d6d0a>>>0x1^-(0x1&_0x3d6d0a);},_0x2ea319['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x2ea319['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x58a93b(this,0x4);return _0x3ecd72(this['buf'],this['pos']+=0x4);},_0x2ea319['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x58a93b(this,0x4);return 0x0|_0x3ecd72(this['buf'],this['pos']+=0x4);},_0x2ea319['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x58a93b(this,0x4);var _0x1d9c47=_0xfd73bc['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x1d9c47;},_0x2ea319['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x58a93b(this,0x4);var _0x2a58f9=_0xfd73bc['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x2a58f9;},_0x2ea319['prototype']['bytes']=function(){var _0x47a781=this['uint32'](),_0x5f3396=this['pos'],_0x59339c=this['pos']+_0x47a781;if(_0x59339c>this['len'])throw _0x58a93b(this,_0x47a781);if(this['pos']+=_0x47a781,Array['isArray'](this['buf']))return this['buf']['slice'](_0x5f3396,_0x59339c);if(_0x5f3396===_0x59339c){var _0x32274b=_0xfd73bc['Buffer'];return _0x32274b?_0x32274b['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x5f3396,_0x59339c);},_0x2ea319['prototype']['string']=function(){var _0x3eca42=this['bytes']();return _0x319976['read'](_0x3eca42,0x0,_0x3eca42['length']);},_0x2ea319['prototype']['skip']=function(_0x40af16){if('number'==typeof _0x40af16){if(this['pos']+_0x40af16>this['len'])throw _0x58a93b(this,_0x40af16);this['pos']+=_0x40af16;}else do{if(this['pos']>=this['len'])throw _0x58a93b(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x2ea319['recursionLimit']=_0xfd73bc['recursionLimit'],_0x2ea319['prototype']['skipType']=function(_0x59b675,_0x1e2934){if(void 0x0===_0x1e2934&&(_0x1e2934=0x0),_0x1e2934>_0x2ea319['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x59b675){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x59b675=0x7&this['uint32']());)this['skipType'](_0x59b675,_0x1e2934+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x59b675+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x2ea319['_configure']=function(_0x273c23){_0x4b70a4=_0x273c23,_0x2ea319['create']=_0x5b11b4(),_0x4b70a4['_configure']();var _0x2f98c3=_0xfd73bc['Long']?'toLong':'toNumber';_0xfd73bc['merge'](_0x2ea319['prototype'],{'int64':function(){return _0x288b86['call'](this)[_0x2f98c3](!0x1);},'uint64':function(){return _0x288b86['call'](this)[_0x2f98c3](!0x0);},'sint64':function(){return _0x288b86['call'](this)['zzDecode']()[_0x2f98c3](!0x1);},'fixed64':function(){return _0x4493f3['call'](this)[_0x2f98c3](!0x0);},'sfixed64':function(){return _0x4493f3['call'](this)[_0x2f98c3](!0x1);}});},_0x43d364;}var _0x1f5485,_0x41d515,_0x24264f,_0x34594f,_0x4e2bae,_0x449105,_0x2000ac,_0x4f3ea9,_0x4ebbf0={};function _0x3ccbe9(){return _0x24264f||(_0x24264f=0x1,function(_0x25cc23){_0x25cc23['Service']=(function(){if(_0x41d515)return _0x1f5485;_0x41d515=0x1,_0x1f5485=_0x2814d1;var _0x37ab03=_0x3935a0();function _0x2814d1(_0x59262c,_0x28b281,_0xce0ee5){if('function'!=typeof _0x59262c)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x37ab03['EventEmitter']['call'](this),this['rpcImpl']=_0x59262c,this['requestDelimited']=Boolean(_0x28b281),this['responseDelimited']=Boolean(_0xce0ee5);}return(_0x2814d1['prototype']=Object['create'](_0x37ab03['EventEmitter']['prototype']))['constructor']=_0x2814d1,_0x2814d1['prototype']['rpcCall']=function _0x4a7267(_0x4e4eef,_0x3dc94d,_0x39f8ba,_0xb5e0ee,_0x50602b){if(!_0xb5e0ee)throw TypeError('request\x20must\x20be\x20specified');var _0x132887=this;if(!_0x50602b)return _0x37ab03['asPromise'](_0x4a7267,_0x132887,_0x4e4eef,_0x3dc94d,_0x39f8ba,_0xb5e0ee);if(_0x132887['rpcImpl'])try{return _0x132887['rpcImpl'](_0x4e4eef,_0x3dc94d[_0x132887['requestDelimited']?'encodeDelimited':'encode'](_0xb5e0ee)['finish'](),function(_0x362689,_0x2efc56){if(_0x362689)return _0x132887['emit']('error',_0x362689,_0x4e4eef),_0x50602b(_0x362689);if(null!==_0x2efc56){if(!(_0x2efc56 instanceof _0x39f8ba))try{_0x2efc56=_0x39f8ba[_0x132887['responseDelimited']?'decodeDelimited':'decode'](_0x2efc56);}catch(_0x577e4b){return _0x132887['emit']('error',_0x577e4b,_0x4e4eef),_0x50602b(_0x577e4b);}return _0x132887['emit']('data',_0x2efc56,_0x4e4eef),_0x50602b(null,_0x2efc56);}_0x132887['end'](!0x0);});}catch(_0x69cc78){return _0x132887['emit']('error',_0x69cc78,_0x4e4eef),void setTimeout(function(){_0x50602b(_0x69cc78);},0x0);}else setTimeout(function(){_0x50602b(Error('already\x20ended'));},0x0);},_0x2814d1['prototype']['end']=function(_0x3c2f56){return this['rpcImpl']&&(_0x3c2f56||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x1f5485;}());}(_0x4ebbf0)),_0x4ebbf0;}function _0x235584(){return _0x449105||(_0x449105=0x1,function(_0x544fad){var _0x2e499d=_0x544fad;function _0xcbe294(){_0x2e499d['util']['_configure'](),_0x2e499d['Writer']['_configure'](_0x2e499d['BufferWriter']),_0x2e499d['Reader']['_configure'](_0x2e499d['BufferReader']);}_0x2e499d['build']='minimal',_0x2e499d['Writer']=_0x4498c6(),_0x2e499d['BufferWriter']=(function(){if(_0x562396)return _0x186729;_0x562396=0x1,_0x186729=_0x56df1a;var _0x1f36c6=_0x4498c6();(_0x56df1a['prototype']=Object['create'](_0x1f36c6['prototype']))['constructor']=_0x56df1a;var _0x2e3034=_0x3935a0();function _0x56df1a(){_0x1f36c6['call'](this);}function _0x11f411(_0x51386e,_0x42bbcf,_0x342285){_0x51386e['length']<0x28?_0x2e3034['utf8']['write'](_0x51386e,_0x42bbcf,_0x342285):_0x42bbcf['utf8Write']?_0x42bbcf['utf8Write'](_0x51386e,_0x342285):_0x42bbcf['write'](_0x51386e,_0x342285);}return _0x56df1a['_configure']=function(){_0x56df1a['alloc']=_0x2e3034['_Buffer_allocUnsafe'],_0x56df1a['writeBytesBuffer']=_0x2e3034['Buffer']&&_0x2e3034['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x2e3034['Buffer']['prototype']['set']['name']?function(_0xd0c687,_0x57438d,_0x4686a6){_0x57438d['set'](_0xd0c687,_0x4686a6);}:function(_0x584462,_0x1a4800,_0x4dfb44){if(_0x584462['copy'])_0x584462['copy'](_0x1a4800,_0x4dfb44,0x0,_0x584462['length']);else{for(var _0x83a005=0x0;_0x83a005<_0x584462['length'];)_0x1a4800[_0x4dfb44++]=_0x584462[_0x83a005++];}};},_0x56df1a['prototype']['bytes']=function(_0x389d43){_0x2e3034['isString'](_0x389d43)&&(_0x389d43=_0x2e3034['_Buffer_from'](_0x389d43,'base64'));var _0xd96133=_0x389d43['length']>>>0x0;return this['uint32'](_0xd96133),_0xd96133&&this['_push'](_0x56df1a['writeBytesBuffer'],_0xd96133,_0x389d43),this;},_0x56df1a['prototype']['string']=function(_0x4c6972){var _0x2ecb0f=_0x2e3034['Buffer']['byteLength'](_0x4c6972);return this['uint32'](_0x2ecb0f),_0x2ecb0f&&this['_push'](_0x11f411,_0x2ecb0f,_0x4c6972),this;},_0x56df1a['_configure'](),_0x186729;}()),_0x2e499d['Reader']=_0xb2e0fa(),_0x2e499d['BufferReader']=(function(){if(_0x39e530)return _0x20a6b5;_0x39e530=0x1,_0x20a6b5=_0x14486b;var _0x2f326a=_0xb2e0fa();(_0x14486b['prototype']=Object['create'](_0x2f326a['prototype']))['constructor']=_0x14486b;var _0x44333e=_0x3935a0();function _0x14486b(_0x5cc2c4){_0x2f326a['call'](this,_0x5cc2c4);}return _0x14486b['_configure']=function(){_0x44333e['Buffer']&&(_0x14486b['prototype']['_slice']=_0x44333e['Buffer']['prototype']['slice']);},_0x14486b['prototype']['string']=function(){var _0x5f4231=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x5f4231,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x5f4231,this['len']));},_0x14486b['_configure'](),_0x20a6b5;}()),_0x2e499d['util']=_0x3935a0(),_0x2e499d['rpc']=_0x3ccbe9(),_0x2e499d['roots']=_0x4e2bae?_0x34594f:(_0x4e2bae=0x1,_0x34594f={}),_0x2e499d['configure']=_0xcbe294,_0xcbe294();}(_0x4f7214)),_0x4f7214;}var _0x5be20d=_0x4f3ea9?_0x2000ac:(_0x4f3ea9=0x1,_0x2000ac=_0x235584());const _0xdc1c0f=Object['create'](null);_0xdc1c0f['open']='0',_0xdc1c0f['close']='1',_0xdc1c0f['ping']='2',_0xdc1c0f['pong']='3',_0xdc1c0f['message']='4',_0xdc1c0f['upgrade']='5',_0xdc1c0f['noop']='6';const _0x27c666=Object['create'](null);Object['keys'](_0xdc1c0f)['forEach'](_0x4c7495=>{_0x27c666[_0xdc1c0f[_0x4c7495]]=_0x4c7495;});const _0x394e70={'type':'error','data':'parser\x20error'},_0x1eb77d='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),_0x9116fd='function'==typeof ArrayBuffer,_0x28365b=_0x371fc3=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x371fc3):_0x371fc3&&_0x371fc3['buffer']instanceof ArrayBuffer,_0x217481=({type:_0x3e63d1,data:_0x43e3a9},_0x4cf694,_0x18a192)=>_0x1eb77d&&_0x43e3a9 instanceof Blob?_0x4cf694?_0x18a192(_0x43e3a9):_0x1c2bc5(_0x43e3a9,_0x18a192):_0x9116fd&&(_0x43e3a9 instanceof ArrayBuffer||_0x28365b(_0x43e3a9))?_0x4cf694?_0x18a192(_0x43e3a9):_0x1c2bc5(new Blob([_0x43e3a9]),_0x18a192):_0x18a192(_0xdc1c0f[_0x3e63d1]+(_0x43e3a9||'')),_0x1c2bc5=(_0x2bd9aa,_0x1ba5c5)=>{const _0x21f881=new FileReader();return _0x21f881['onload']=function(){const _0xd1694c=_0x21f881['result']['split'](',')[0x1];_0x1ba5c5('b'+(_0xd1694c||''));},_0x21f881['readAsDataURL'](_0x2bd9aa);};function _0xdacf9(_0x3b4af3){return _0x3b4af3 instanceof Uint8Array?_0x3b4af3:_0x3b4af3 instanceof ArrayBuffer?new Uint8Array(_0x3b4af3):new Uint8Array(_0x3b4af3['buffer'],_0x3b4af3['byteOffset'],_0x3b4af3['byteLength']);}let _0x7c6f5a;const _0x13c091='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',tf='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x17764e=0x0;_0x17764e<0x40;_0x17764e++)tf[_0x13c091['charCodeAt'](_0x17764e)]=_0x17764e;const _0x198959='function'==typeof ArrayBuffer,_0x21530b=(_0x4b7060,_0x2b1a27)=>{if('string'!=typeof _0x4b7060)return{'type':'message','data':_0x13fbc2(_0x4b7060,_0x2b1a27)};const _0x4e2bf3=_0x4b7060['charAt'](0x0);if('b'===_0x4e2bf3)return{'type':'message','data':_0x2974a6(_0x4b7060['substring'](0x1),_0x2b1a27)};return _0x27c666[_0x4e2bf3]?_0x4b7060['length']>0x1?{'type':_0x27c666[_0x4e2bf3],'data':_0x4b7060['substring'](0x1)}:{'type':_0x27c666[_0x4e2bf3]}:_0x394e70;},_0x2974a6=(_0x45aa29,_0x109eab)=>{if(_0x198959){const _0x23a676=(_0x5d605c=>{let _0x2943dc,_0xe7c096,_0x126c60,_0x36aec8,_0x2b719e,_0x117f0f=0.75*_0x5d605c['length'],_0x14c488=_0x5d605c['length'],_0x1aeae9=0x0;'='===_0x5d605c[_0x5d605c['length']-0x1]&&(_0x117f0f--,'='===_0x5d605c[_0x5d605c['length']-0x2]&&_0x117f0f--);const _0x45f3a3=new ArrayBuffer(_0x117f0f),_0x5d37cf=new Uint8Array(_0x45f3a3);for(_0x2943dc=0x0;_0x2943dc<_0x14c488;_0x2943dc+=0x4)_0xe7c096=tf[_0x5d605c['charCodeAt'](_0x2943dc)],_0x126c60=tf[_0x5d605c['charCodeAt'](_0x2943dc+0x1)],_0x36aec8=tf[_0x5d605c['charCodeAt'](_0x2943dc+0x2)],_0x2b719e=tf[_0x5d605c['charCodeAt'](_0x2943dc+0x3)],_0x5d37cf[_0x1aeae9++]=_0xe7c096<<0x2|_0x126c60>>0x4,_0x5d37cf[_0x1aeae9++]=(0xf&_0x126c60)<<0x4|_0x36aec8>>0x2,_0x5d37cf[_0x1aeae9++]=(0x3&_0x36aec8)<<0x6|0x3f&_0x2b719e;return _0x45f3a3;})(_0x45aa29);return _0x13fbc2(_0x23a676,_0x109eab);}return{'base64':!0x0,'data':_0x45aa29};},_0x13fbc2=(_0x1937bd,_0x5c7196)=>'blob'===_0x5c7196?_0x1937bd instanceof Blob?_0x1937bd:new Blob([_0x1937bd]):_0x1937bd instanceof ArrayBuffer?_0x1937bd:_0x1937bd['buffer'],_0x11b7f7=String['fromCharCode'](0x1e);function _0x4872d4(){return new TransformStream({'transform'(_0x3fbe37,_0xde4b96){!function(_0x21badb,_0x2ae18f){_0x1eb77d&&_0x21badb['data']instanceof Blob?_0x21badb['data']['arrayBuffer']()['then'](_0xdacf9)['then'](_0x2ae18f):_0x9116fd&&(_0x21badb['data']instanceof ArrayBuffer||_0x28365b(_0x21badb['data']))?_0x2ae18f(_0xdacf9(_0x21badb['data'])):_0x217481(_0x21badb,!0x1,_0x829268=>{_0x7c6f5a||(_0x7c6f5a=new TextEncoder()),_0x2ae18f(_0x7c6f5a['encode'](_0x829268));});}(_0x3fbe37,_0x2ecbbe=>{const _0x4261e7=_0x2ecbbe['length'];let _0x289c9b;if(_0x4261e7<0x7e)_0x289c9b=new Uint8Array(0x1),new DataView(_0x289c9b['buffer'])['setUint8'](0x0,_0x4261e7);else{if(_0x4261e7<0x10000){_0x289c9b=new Uint8Array(0x3);const _0x81d081=new DataView(_0x289c9b['buffer']);_0x81d081['setUint8'](0x0,0x7e),_0x81d081['setUint16'](0x1,_0x4261e7);}else{_0x289c9b=new Uint8Array(0x9);const _0x14935a=new DataView(_0x289c9b['buffer']);_0x14935a['setUint8'](0x0,0x7f),_0x14935a['setBigUint64'](0x1,BigInt(_0x4261e7));}}_0x3fbe37['data']&&'string'!=typeof _0x3fbe37['data']&&(_0x289c9b[0x0]|=0x80),_0xde4b96['enqueue'](_0x289c9b),_0xde4b96['enqueue'](_0x2ecbbe);});}});}let _0x442854;function _0x517d50(_0xd97684){return _0xd97684['reduce']((_0x291eb8,_0x70455a)=>_0x291eb8+_0x70455a['length'],0x0);}function _0x45a2a0(_0xcff928,_0x247ab2){if(_0xcff928[0x0]['length']===_0x247ab2)return _0xcff928['shift']();const _0x1ad992=new Uint8Array(_0x247ab2);let _0x2bb2ca=0x0;for(let _0x3781ed=0x0;_0x3781ed<_0x247ab2;_0x3781ed++)_0x1ad992[_0x3781ed]=_0xcff928[0x0][_0x2bb2ca++],_0x2bb2ca===_0xcff928[0x0]['length']&&(_0xcff928['shift'](),_0x2bb2ca=0x0);return _0xcff928['length']&&_0x2bb2ca<_0xcff928[0x0]['length']&&(_0xcff928[0x0]=_0xcff928[0x0]['slice'](_0x2bb2ca)),_0x1ad992;}function _0x1fe8e0(_0x327cfe){if(_0x327cfe)return function(_0x49097c){for(var _0x5d51b7 in _0x1fe8e0['prototype'])_0x49097c[_0x5d51b7]=_0x1fe8e0['prototype'][_0x5d51b7];return _0x49097c;}(_0x327cfe);}_0x1fe8e0['prototype']['on']=_0x1fe8e0['prototype']['addEventListener']=function(_0x28e34d,_0x578b32){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x28e34d]=this['_callbacks']['$'+_0x28e34d]||[])['push'](_0x578b32),this;},_0x1fe8e0['prototype']['once']=function(_0x50b67d,_0x19a87c){function _0x55903a(){this['off'](_0x50b67d,_0x55903a),_0x19a87c['apply'](this,arguments);}return _0x55903a['fn']=_0x19a87c,this['on'](_0x50b67d,_0x55903a),this;},_0x1fe8e0['prototype']['off']=_0x1fe8e0['prototype']['removeListener']=_0x1fe8e0['prototype']['removeAllListeners']=_0x1fe8e0['prototype']['removeEventListener']=function(_0x578197,_0x4eb4c2){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x37d9bb,_0x5c20b8=this['_callbacks']['$'+_0x578197];if(!_0x5c20b8)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x578197],this;for(var _0x36bc1b=0x0;_0x36bc1b<_0x5c20b8['length'];_0x36bc1b++)if((_0x37d9bb=_0x5c20b8[_0x36bc1b])===_0x4eb4c2||_0x37d9bb['fn']===_0x4eb4c2){_0x5c20b8['splice'](_0x36bc1b,0x1);break;}return 0x0===_0x5c20b8['length']&&delete this['_callbacks']['$'+_0x578197],this;},_0x1fe8e0['prototype']['emit']=function(_0x1078c2){this['_callbacks']=this['_callbacks']||{};for(var _0x55723d=new Array(arguments['length']-0x1),_0x134447=this['_callbacks']['$'+_0x1078c2],_0x1208fd=0x1;_0x1208fd<arguments['length'];_0x1208fd++)_0x55723d[_0x1208fd-0x1]=arguments[_0x1208fd];if(_0x134447){_0x1208fd=0x0;for(var _0x3cec17=(_0x134447=_0x134447['slice'](0x0))['length'];_0x1208fd<_0x3cec17;++_0x1208fd)_0x134447[_0x1208fd]['apply'](this,_0x55723d);}return this;},_0x1fe8e0['prototype']['emitReserved']=_0x1fe8e0['prototype']['emit'],_0x1fe8e0['prototype']['listeners']=function(_0x499d30){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x499d30]||[];},_0x1fe8e0['prototype']['hasListeners']=function(_0x4485d5){return!!this['listeners'](_0x4485d5)['length'];};const _0x4f9852='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x50b70(_0xecf9f6,..._0x56840c){return _0x56840c['reduce']((_0xb6ea1f,_0x508d8c)=>(_0xecf9f6['hasOwnProperty'](_0x508d8c)&&(_0xb6ea1f[_0x508d8c]=_0xecf9f6[_0x508d8c]),_0xb6ea1f),{});}const _0x2a15cb=_0x4f9852['setTimeout'],_0x96512f=_0x4f9852['clearTimeout'];function _0x32405e(_0x3306f1,_0x194710){_0x194710['useNativeTimers']?(_0x3306f1['setTimeoutFn']=_0x2a15cb['bind'](_0x4f9852),_0x3306f1['clearTimeoutFn']=_0x96512f['bind'](_0x4f9852)):(_0x3306f1['setTimeoutFn']=_0x4f9852['setTimeout']['bind'](_0x4f9852),_0x3306f1['clearTimeoutFn']=_0x4f9852['clearTimeout']['bind'](_0x4f9852));}function _0x18258f(_0x3dc715){return'string'==typeof _0x3dc715?function(_0x46f5bf){let _0x2106df=0x0,_0x5c5b45=0x0;for(let _0x24a561=0x0,_0x273d6d=_0x46f5bf['length'];_0x24a561<_0x273d6d;_0x24a561++)_0x2106df=_0x46f5bf['charCodeAt'](_0x24a561),_0x2106df<0x80?_0x5c5b45+=0x1:_0x2106df<0x800?_0x5c5b45+=0x2:_0x2106df<0xd800||_0x2106df>=0xe000?_0x5c5b45+=0x3:(_0x24a561++,_0x5c5b45+=0x4);return _0x5c5b45;}(_0x3dc715):Math['ceil'](1.33*(_0x3dc715['byteLength']||_0x3dc715['size']));}class TransportError extends Error{constructor(_0x3bf783,_0x41a5ca,_0x30f9bb){super(_0x3bf783),this['description']=_0x41a5ca,this['context']=_0x30f9bb,this['type']='TransportError';}}class Transport extends _0x1fe8e0{constructor(_0x597c46){super(),this['writable']=!0x1,_0x32405e(this,_0x597c46),this['opts']=_0x597c46,this['query']=_0x597c46['query'],this['socket']=_0x597c46['socket'];}['onError'](_0x31313e,_0x72e542,_0x5e7682){return super['emitReserved']('error',new TransportError(_0x31313e,_0x72e542,_0x5e7682)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x1da1d3){'open'===this['readyState']&&this['write'](_0x1da1d3);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0xed92ec){const _0x4978aa=_0x21530b(_0xed92ec,this['socket']['binaryType']);this['onPacket'](_0x4978aa);}['onPacket'](_0x5d633f){super['emitReserved']('packet',_0x5d633f);}['onClose'](_0x1a0b49){this['readyState']='closed',super['emitReserved']('close',_0x1a0b49);}['pause'](_0x1b0fa7){}['createUri'](_0x499f85,_0x40a203={}){return _0x499f85+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x40a203);}['_hostname'](){const _0x584a6a=this['opts']['hostname'];return-0x1===_0x584a6a['indexOf'](':')?_0x584a6a:'['+_0x584a6a+']';}['_port'](){return this['opts']['port']&&(this['opts']['secure']&&Number(0x1bb!==this['opts']['port'])||!this['opts']['secure']&&0x50!==Number(this['opts']['port']))?':'+this['opts']['port']:'';}['_query'](_0x32803a){const _0x1e9976=function(_0x20e6b7){let _0x5bf68c='';for(let _0x4c025e in _0x20e6b7)_0x20e6b7['hasOwnProperty'](_0x4c025e)&&(_0x5bf68c['length']&&(_0x5bf68c+='&'),_0x5bf68c+=encodeURIComponent(_0x4c025e)+'='+encodeURIComponent(_0x20e6b7[_0x4c025e]));return _0x5bf68c;}(_0x32803a);return _0x1e9976['length']?'?'+_0x1e9976:'';}}const _0x1388ff='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),_0x3f1887={};let _0x3ba521,_0x276860=0x0,_0x2a6460=0x0;function _0x2eef12(_0x48e53f){let _0x4b6134='';do{_0x4b6134=_0x1388ff[_0x48e53f%0x40]+_0x4b6134,_0x48e53f=Math['floor'](_0x48e53f/0x40);}while(_0x48e53f>0x0);return _0x4b6134;}function _0x4e0e40(){const _0x4c3668=_0x2eef12(+new Date());return _0x4c3668!==_0x3ba521?(_0x276860=0x0,_0x3ba521=_0x4c3668):_0x4c3668+'.'+_0x2eef12(_0x276860++);}for(;_0x2a6460<0x40;_0x2a6460++)_0x3f1887[_0x1388ff[_0x2a6460]]=_0x2a6460;let _0x4cb5b1=!0x1;try{_0x4cb5b1='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x1c5f4c){}const _0x55e672=_0x4cb5b1;function _0x16c104(_0x51c874){const _0x4287d8=_0x51c874['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x4287d8||_0x55e672))return new XMLHttpRequest();}catch(_0xf913d6){}if(!_0x4287d8)try{return new _0x4f9852[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x563255){}}function _0x47c4d5(){}const _0xbc4695=null!=new _0x16c104({'xdomain':!0x1})['responseType'];class Request extends _0x1fe8e0{constructor(_0x523d8e,_0x154192){super(),_0x32405e(this,_0x154192),this['opts']=_0x154192,this['method']=_0x154192['method']||'GET',this['uri']=_0x523d8e,this['data']=void 0x0!==_0x154192['data']?_0x154192['data']:null,this['create']();}['create'](){var _0x793f3f;const _0x345267=_0x50b70(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x345267['xdomain']=!!this['opts']['xd'];const _0x494607=this['xhr']=new _0x16c104(_0x345267);try{_0x494607['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x494607['setDisableHeaderCheck']&&_0x494607['setDisableHeaderCheck'](!0x0);for(let _0x35c571 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x35c571)&&_0x494607['setRequestHeader'](_0x35c571,this['opts']['extraHeaders'][_0x35c571]);}}catch(_0x151e6c){}if('POST'===this['method'])try{_0x494607['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x1858d2){}try{_0x494607['setRequestHeader']('Accept','*/*');}catch(_0xc301b6){}null===(_0x793f3f=this['opts']['cookieJar'])||void 0x0===_0x793f3f||_0x793f3f['addCookies'](_0x494607),'withCredentials'in _0x494607&&(_0x494607['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x494607['timeout']=this['opts']['requestTimeout']),_0x494607['onreadystatechange']=()=>{var _0x5256d8;0x3===_0x494607['readyState']&&(null===(_0x5256d8=this['opts']['cookieJar'])||void 0x0===_0x5256d8||_0x5256d8['parseCookies'](_0x494607)),0x4===_0x494607['readyState']&&(0xc8===_0x494607['status']||0x4c7===_0x494607['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x494607['status']?_0x494607['status']:0x0);},0x0));},_0x494607['send'](this['data']);}catch(_0x4be138){return void this['setTimeoutFn'](()=>{this['onError'](_0x4be138);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x321a38){this['emitReserved']('error',_0x321a38,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x1200c0){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=_0x47c4d5,_0x1200c0)try{this['xhr']['abort']();}catch(_0x371388){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x23abd4=this['xhr']['responseText'];null!==_0x23abd4&&(this['emitReserved']('data',_0x23abd4),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0xcd96a1);else'function'==typeof addEventListener&&addEventListener('onpagehide'in _0x4f9852?'pagehide':'unload',_0xcd96a1,!0x1);}function _0xcd96a1(){for(let _0x16408c in Request['requests'])Request['requests']['hasOwnProperty'](_0x16408c)&&Request['requests'][_0x16408c]['abort']();}const _0x2b08e9='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x21c503=>Promise['resolve']()['then'](_0x21c503):(_0x19bdee,_0x5c1fb9)=>_0x5c1fb9(_0x19bdee,0x0),_0x5b053=_0x4f9852['WebSocket']||_0x4f9852['MozWebSocket'],_0x584be7='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),_0x4b08f8={'websocket':class _0x46e291 extends Transport{constructor(_0xdbc981){super(_0xdbc981),this['supportsBinary']=!_0xdbc981['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x1989ab=this['uri'](),_0xfc8b99=this['opts']['protocols'],_0xf1741c=_0x584be7?{}:_0x50b70(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0xf1741c['headers']=this['opts']['extraHeaders']);try{this['ws']=_0x584be7?new _0x5b053(_0x1989ab,_0xfc8b99,_0xf1741c):_0xfc8b99?new _0x5b053(_0x1989ab,_0xfc8b99):new _0x5b053(_0x1989ab);}catch(_0xb6e55a){return this['emitReserved']('error',_0xb6e55a);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x5c4723=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x5c4723}),this['ws']['onmessage']=_0x144992=>this['onData'](_0x144992['data']),this['ws']['onerror']=_0x16ab6b=>this['onError']('websocket\x20error',_0x16ab6b);}['write'](_0x12f025){this['writable']=!0x1;for(let _0x4e1cfb=0x0;_0x4e1cfb<_0x12f025['length'];_0x4e1cfb++){const _0xa8a495=_0x12f025[_0x4e1cfb],_0x1cdbc5=_0x4e1cfb===_0x12f025['length']-0x1;_0x217481(_0xa8a495,this['supportsBinary'],_0x483255=>{try{this['ws']['send'](_0x483255);}catch(_0x523d28){}_0x1cdbc5&&_0x2b08e9(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x52eb2c=this['opts']['secure']?'wss':'ws',_0xf46038=this['query']||{};return this['opts']['timestampRequests']&&(_0xf46038[this['opts']['timestampParam']]=_0x4e0e40()),this['supportsBinary']||(_0xf46038['b64']=0x1),this['createUri'](_0x52eb2c,_0xf46038);}['check'](){return!!_0x5b053;}},'webtransport':class _0xbd504 extends Transport{get['name'](){return'webtransport';}['doOpen'](){'function'==typeof WebTransport&&(this['transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]),this['transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0x3f18e5=>{this['onError']('webtransport\x20error',_0x3f18e5);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x29eb66=>{const _0x27e5b2=function(_0x2ec9e8,_0x523cd2){_0x442854||(_0x442854=new TextDecoder());const _0x495a64=[];let _0x4c7433=0x0,_0x19962e=-0x1,_0xe9b0a3=!0x1;return new TransformStream({'transform'(_0x24a607,_0x41db51){for(_0x495a64['push'](_0x24a607);;){if(0x0===_0x4c7433){if(_0x517d50(_0x495a64)<0x1)break;const _0xb4fe06=_0x45a2a0(_0x495a64,0x1);_0xe9b0a3=!(0x80&~_0xb4fe06[0x0]),_0x19962e=0x7f&_0xb4fe06[0x0],_0x4c7433=_0x19962e<0x7e?0x3:0x7e===_0x19962e?0x1:0x2;}else{if(0x1===_0x4c7433){if(_0x517d50(_0x495a64)<0x2)break;const _0x2a2592=_0x45a2a0(_0x495a64,0x2);_0x19962e=new DataView(_0x2a2592['buffer'],_0x2a2592['byteOffset'],_0x2a2592['length'])['getUint16'](0x0),_0x4c7433=0x3;}else{if(0x2===_0x4c7433){if(_0x517d50(_0x495a64)<0x8)break;const _0x142c83=_0x45a2a0(_0x495a64,0x8),_0x42b5dd=new DataView(_0x142c83['buffer'],_0x142c83['byteOffset'],_0x142c83['length']),_0x53514d=_0x42b5dd['getUint32'](0x0);if(_0x53514d>Math['pow'](0x2,0x15)-0x1){_0x41db51['enqueue'](_0x394e70);break;}_0x19962e=_0x53514d*Math['pow'](0x2,0x20)+_0x42b5dd['getUint32'](0x4),_0x4c7433=0x3;}else{if(_0x517d50(_0x495a64)<_0x19962e)break;const _0x1b2124=_0x45a2a0(_0x495a64,_0x19962e);_0x41db51['enqueue'](_0x21530b(_0xe9b0a3?_0x1b2124:_0x442854['decode'](_0x1b2124),_0x523cd2)),_0x4c7433=0x0;}}}if(0x0===_0x19962e||_0x19962e>_0x2ec9e8){_0x41db51['enqueue'](_0x394e70);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x1a406c=_0x29eb66['readable']['pipeThrough'](_0x27e5b2)['getReader'](),_0x4a531f=_0x4872d4();_0x4a531f['readable']['pipeTo'](_0x29eb66['writable']),this['writer']=_0x4a531f['writable']['getWriter']();const _0x91fb42=()=>{_0x1a406c['read']()['then'](({done:_0x59868f,value:_0x21647b})=>{_0x59868f||(this['onPacket'](_0x21647b),_0x91fb42());})['catch'](_0x22bb53=>{});};_0x91fb42();const _0x51af52={'type':'open'};this['query']['sid']&&(_0x51af52['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x51af52)['then'](()=>this['onOpen']());});}));}['write'](_0x374a14){this['writable']=!0x1;for(let _0x1342f9=0x0;_0x1342f9<_0x374a14['length'];_0x1342f9++){const _0x3ae0a0=_0x374a14[_0x1342f9],_0x4badec=_0x1342f9===_0x374a14['length']-0x1;this['writer']['write'](_0x3ae0a0)['then'](()=>{_0x4badec&&_0x2b08e9(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x2fad16;null===(_0x2fad16=this['transport'])||void 0x0===_0x2fad16||_0x2fad16['close']();}},'polling':class _0x32c843 extends Transport{constructor(_0x8f908d){if(super(_0x8f908d),this['polling']=!0x1,'undefined'!=typeof location){const _0x3251a9='https:'===location['protocol'];let _0x46ea4a=location['port'];_0x46ea4a||(_0x46ea4a=_0x3251a9?'443':'80'),this['xd']='undefined'!=typeof location&&_0x8f908d['hostname']!==location['hostname']||_0x46ea4a!==_0x8f908d['port'];}const _0x34a2ae=_0x8f908d&&_0x8f908d['forceBase64'];this['supportsBinary']=_0xbc4695&&!_0x34a2ae,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x2e0b4e){this['readyState']='pausing';const _0x1b2474=()=>{this['readyState']='paused',_0x2e0b4e();};if(this['polling']||!this['writable']){let _0x4ede4a=0x0;this['polling']&&(_0x4ede4a++,this['once']('pollComplete',function(){--_0x4ede4a||_0x1b2474();})),this['writable']||(_0x4ede4a++,this['once']('drain',function(){--_0x4ede4a||_0x1b2474();}));}else _0x1b2474();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x3c1b72){((_0x1a3fde,_0x32fd67)=>{const _0x1443b4=_0x1a3fde['split'](_0x11b7f7),_0x321386=[];for(let _0xad710e=0x0;_0xad710e<_0x1443b4['length'];_0xad710e++){const _0x169815=_0x21530b(_0x1443b4[_0xad710e],_0x32fd67);if(_0x321386['push'](_0x169815),'error'===_0x169815['type'])break;}return _0x321386;})(_0x3c1b72,this['socket']['binaryType'])['forEach'](_0x98387c=>{if('opening'===this['readyState']&&'open'===_0x98387c['type']&&this['onOpen'](),'close'===_0x98387c['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x98387c);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x2e4160=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x2e4160():this['once']('open',_0x2e4160);}['write'](_0x1d437b){this['writable']=!0x1,((_0x190191,_0x5b7c33)=>{const _0x67ff62=_0x190191['length'],_0x5907e7=new Array(_0x67ff62);let _0x35eb21=0x0;_0x190191['forEach']((_0x40021f,_0x438739)=>{_0x217481(_0x40021f,!0x1,_0x3ec994=>{_0x5907e7[_0x438739]=_0x3ec994,++_0x35eb21===_0x67ff62&&_0x5b7c33(_0x5907e7['join'](_0x11b7f7));});});})(_0x1d437b,_0x492b1c=>{this['doWrite'](_0x492b1c,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x190e38=this['opts']['secure']?'https':'http',_0x6a8c3f=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x6a8c3f[this['opts']['timestampParam']]=_0x4e0e40()),this['supportsBinary']||_0x6a8c3f['sid']||(_0x6a8c3f['b64']=0x1),this['createUri'](_0x190e38,_0x6a8c3f);}['request'](_0x510897={}){return Object['assign'](_0x510897,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x510897);}['doWrite'](_0x8239c0,_0x1e4a07){const _0x14a47b=this['request']({'method':'POST','data':_0x8239c0});_0x14a47b['on']('success',_0x1e4a07),_0x14a47b['on']('error',(_0x2fc9ab,_0x1a68e6)=>{this['onError']('xhr\x20post\x20error',_0x2fc9ab,_0x1a68e6);});}['doPoll'](){const _0x396b47=this['request']();_0x396b47['on']('data',this['onData']['bind'](this)),_0x396b47['on']('error',(_0x73324f,_0xd8f678)=>{this['onError']('xhr\x20poll\x20error',_0x73324f,_0xd8f678);}),this['pollXhr']=_0x396b47;}}},_0x4745fc=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,_0x29b91c=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x1e1454(_0x5c8069){if(_0x5c8069['length']>0x7d0)throw'URI\x20too\x20long';const _0x3e9d9b=_0x5c8069,_0x4c0011=_0x5c8069['indexOf']('['),_0x2abb1c=_0x5c8069['indexOf'](']');-0x1!=_0x4c0011&&-0x1!=_0x2abb1c&&(_0x5c8069=_0x5c8069['substring'](0x0,_0x4c0011)+_0x5c8069['substring'](_0x4c0011,_0x2abb1c)['replace'](/:/g,';')+_0x5c8069['substring'](_0x2abb1c,_0x5c8069['length']));let _0x26c329=_0x4745fc['exec'](_0x5c8069||''),_0x30b9cf={},_0x2bab2f=0xe;for(;_0x2bab2f--;)_0x30b9cf[_0x29b91c[_0x2bab2f]]=_0x26c329[_0x2bab2f]||'';return-0x1!=_0x4c0011&&-0x1!=_0x2abb1c&&(_0x30b9cf['source']=_0x3e9d9b,_0x30b9cf['host']=_0x30b9cf['host']['substring'](0x1,_0x30b9cf['host']['length']-0x1)['replace'](/;/g,':'),_0x30b9cf['authority']=_0x30b9cf['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x30b9cf['ipv6uri']=!0x0),_0x30b9cf['pathNames']=function(_0x59c33b,_0x6be953){const _0x3431e6=/\/{2,9}/g,_0xa6bcd1=_0x6be953['replace'](_0x3431e6,'/')['split']('/');return'/'!=_0x6be953['slice'](0x0,0x1)&&0x0!==_0x6be953['length']||_0xa6bcd1['splice'](0x0,0x1),'/'==_0x6be953['slice'](-0x1)&&_0xa6bcd1['splice'](_0xa6bcd1['length']-0x1,0x1),_0xa6bcd1;}(0x0,_0x30b9cf['path']),_0x30b9cf['queryKey']=function(_0x590ae8,_0x29894a){const _0x4963bb={};return _0x29894a['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x1be330,_0x56a9e0,_0x2cd3fa){_0x56a9e0&&(_0x4963bb[_0x56a9e0]=_0x2cd3fa);}),_0x4963bb;}(0x0,_0x30b9cf['query']),_0x30b9cf;}let _0x5da725=class Socket extends _0x1fe8e0{constructor(_0x3c5ed6,_0x58849a={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x3c5ed6&&'object'==typeof _0x3c5ed6&&(_0x58849a=_0x3c5ed6,_0x3c5ed6=null),_0x3c5ed6?(_0x3c5ed6=_0x1e1454(_0x3c5ed6),_0x58849a['hostname']=_0x3c5ed6['host'],_0x58849a['secure']='https'===_0x3c5ed6['protocol']||'wss'===_0x3c5ed6['protocol'],_0x58849a['port']=_0x3c5ed6['port'],_0x3c5ed6['query']&&(_0x58849a['query']=_0x3c5ed6['query'])):_0x58849a['host']&&(_0x58849a['hostname']=_0x1e1454(_0x58849a['host'])['host']),_0x32405e(this,_0x58849a),this['secure']=null!=_0x58849a['secure']?_0x58849a['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x58849a['hostname']&&!_0x58849a['port']&&(_0x58849a['port']=this['secure']?'443':'80'),this['hostname']=_0x58849a['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x58849a['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x58849a['transports']||['polling','websocket','webtransport'],this['writeBuffer']=[],this['prevBufferLen']=0x0,this['opts']=Object['assign']({'path':'/engine.io','agent':!0x1,'withCredentials':!0x1,'upgrade':!0x0,'timestampParam':'t','rememberUpgrade':!0x1,'addTrailingSlash':!0x0,'rejectUnauthorized':!0x0,'perMessageDeflate':{'threshold':0x400},'transportOptions':{},'closeOnBeforeunload':!0x1},_0x58849a),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x184094){let _0x2c317f={},_0x2a0369=_0x184094['split']('&');for(let _0x590b33=0x0,_0x1e9717=_0x2a0369['length'];_0x590b33<_0x1e9717;_0x590b33++){let _0x3283f0=_0x2a0369[_0x590b33]['split']('=');_0x2c317f[decodeURIComponent(_0x3283f0[0x0])]=decodeURIComponent(_0x3283f0[0x1]);}return _0x2c317f;}(this['opts']['query'])),this['id']=null,this['upgrades']=null,this['pingInterval']=null,this['pingTimeout']=null,this['pingTimeoutTimer']=null,'function'==typeof addEventListener&&(this['opts']['closeOnBeforeunload']&&(this['beforeunloadEventListener']=()=>{this['transport']&&(this['transport']['removeAllListeners'](),this['transport']['close']());},addEventListener('beforeunload',this['beforeunloadEventListener'],!0x1)),'localhost'!==this['hostname']&&(this['offlineEventListener']=()=>{this['onClose']('transport\x20close',{'description':'network\x20connection\x20lost'});},addEventListener('offline',this['offlineEventListener'],!0x1))),this['open']();}['createTransport'](_0x3f6be7){const _0xf406e=Object['assign']({},this['opts']['query']);_0xf406e['EIO']=0x4,_0xf406e['transport']=_0x3f6be7,this['id']&&(_0xf406e['sid']=this['id']);const _0x1f016a=Object['assign']({},this['opts'],{'query':_0xf406e,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x3f6be7]);return new _0x4b08f8[_0x3f6be7](_0x1f016a);}['open'](){let _0x252dc1;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x252dc1='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x252dc1=this['transports'][0x0];}this['readyState']='opening';try{_0x252dc1=this['createTransport'](_0x252dc1);}catch(_0x45b10e){return this['transports']['shift'](),void this['open']();}_0x252dc1['open'](),this['setTransport'](_0x252dc1);}['setTransport'](_0x5523e0){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x5523e0,_0x5523e0['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x1ae14e=>this['onClose']('transport\x20close',_0x1ae14e));}['probe'](_0x212b34){let _0x4b3468=this['createTransport'](_0x212b34),_0x4567ac=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0x47f28d=()=>{_0x4567ac||(_0x4b3468['send']([{'type':'ping','data':'probe'}]),_0x4b3468['once']('packet',_0x49a1d3=>{if(!_0x4567ac){if('pong'===_0x49a1d3['type']&&'probe'===_0x49a1d3['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x4b3468),!_0x4b3468)return;Socket['priorWebsocketSuccess']='websocket'===_0x4b3468['name'],this['transport']['pause'](()=>{_0x4567ac||'closed'!==this['readyState']&&(_0x588aa9(),this['setTransport'](_0x4b3468),_0x4b3468['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x4b3468),_0x4b3468=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x264845=new Error('probe\x20error');_0x264845['transport']=_0x4b3468['name'],this['emitReserved']('upgradeError',_0x264845);}}}));};function _0x19c4fa(){_0x4567ac||(_0x4567ac=!0x0,_0x588aa9(),_0x4b3468['close'](),_0x4b3468=null);}const _0x5f491b=_0x347b63=>{const _0x170f9d=new Error('probe\x20error:\x20'+_0x347b63);_0x170f9d['transport']=_0x4b3468['name'],_0x19c4fa(),this['emitReserved']('upgradeError',_0x170f9d);};function _0x266b2d(){_0x5f491b('transport\x20closed');}function _0x4c370f(){_0x5f491b('socket\x20closed');}function _0x10ec76(_0x2133d0){_0x4b3468&&_0x2133d0['name']!==_0x4b3468['name']&&_0x19c4fa();}const _0x588aa9=()=>{_0x4b3468['removeListener']('open',_0x47f28d),_0x4b3468['removeListener']('error',_0x5f491b),_0x4b3468['removeListener']('close',_0x266b2d),this['off']('close',_0x4c370f),this['off']('upgrading',_0x10ec76);};_0x4b3468['once']('open',_0x47f28d),_0x4b3468['once']('error',_0x5f491b),_0x4b3468['once']('close',_0x266b2d),this['once']('close',_0x4c370f),this['once']('upgrading',_0x10ec76),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x212b34?this['setTimeoutFn'](()=>{_0x4567ac||_0x4b3468['open']();},0xc8):_0x4b3468['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x497496=0x0;const _0xca02a5=this['upgrades']['length'];for(;_0x497496<_0xca02a5;_0x497496++)this['probe'](this['upgrades'][_0x497496]);}}['onPacket'](_0x35a879){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x35a879),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x35a879['type']){case'open':this['onHandshake'](JSON['parse'](_0x35a879['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x4ad2fa=new Error('server\x20error');_0x4ad2fa['code']=_0x35a879['data'],this['onError'](_0x4ad2fa);break;case'message':this['emitReserved']('data',_0x35a879['data']),this['emitReserved']('message',_0x35a879['data']);}}['onHandshake'](_0x39d772){this['emitReserved']('handshake',_0x39d772),this['id']=_0x39d772['sid'],this['transport']['query']['sid']=_0x39d772['sid'],this['upgrades']=this['filterUpgrades'](_0x39d772['upgrades']),this['pingInterval']=_0x39d772['pingInterval'],this['pingTimeout']=_0x39d772['pingTimeout'],this['maxPayload']=_0x39d772['maxPayload'],this['onOpen'](),'closed'!==this['readyState']&&this['resetPingTimeout']();}['resetPingTimeout'](){this['clearTimeoutFn'](this['pingTimeoutTimer']),this['pingTimeoutTimer']=this['setTimeoutFn'](()=>{this['onClose']('ping\x20timeout');},this['pingInterval']+this['pingTimeout']),this['opts']['autoUnref']&&this['pingTimeoutTimer']['unref']();}['onDrain'](){this['writeBuffer']['splice'](0x0,this['prevBufferLen']),this['prevBufferLen']=0x0,0x0===this['writeBuffer']['length']?this['emitReserved']('drain'):this['flush']();}['flush'](){if('closed'!==this['readyState']&&this['transport']['writable']&&!this['upgrading']&&this['writeBuffer']['length']){const _0x36af52=this['getWritablePackets']();this['transport']['send'](_0x36af52),this['prevBufferLen']=_0x36af52['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x430af4=0x1;for(let _0xa493af=0x0;_0xa493af<this['writeBuffer']['length'];_0xa493af++){const _0x943180=this['writeBuffer'][_0xa493af]['data'];if(_0x943180&&(_0x430af4+=_0x18258f(_0x943180)),_0xa493af>0x0&&_0x430af4>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0xa493af);_0x430af4+=0x2;}return this['writeBuffer'];}['write'](_0x55ae30,_0x211581,_0x3ffa60){return this['sendPacket']('message',_0x55ae30,_0x211581,_0x3ffa60),this;}['send'](_0x2fb241,_0x4c98dc,_0x582697){return this['sendPacket']('message',_0x2fb241,_0x4c98dc,_0x582697),this;}['sendPacket'](_0x1ff321,_0x6e9a4a,_0x8067f3,_0x19c544){if('function'==typeof _0x6e9a4a&&(_0x19c544=_0x6e9a4a,_0x6e9a4a=void 0x0),'function'==typeof _0x8067f3&&(_0x19c544=_0x8067f3,_0x8067f3=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x8067f3=_0x8067f3||{})['compress']=!0x1!==_0x8067f3['compress'];const _0x48118f={'type':_0x1ff321,'data':_0x6e9a4a,'options':_0x8067f3};this['emitReserved']('packetCreate',_0x48118f),this['writeBuffer']['push'](_0x48118f),_0x19c544&&this['once']('flush',_0x19c544),this['flush']();}['close'](){const _0x11c918=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x55144b=()=>{this['off']('upgrade',_0x55144b),this['off']('upgradeError',_0x55144b),_0x11c918();},_0x5ef54b=()=>{this['once']('upgrade',_0x55144b),this['once']('upgradeError',_0x55144b);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x5ef54b():_0x11c918();}):this['upgrading']?_0x5ef54b():_0x11c918()),this;}['onError'](_0xda146a){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0xda146a),this['onClose']('transport\x20error',_0xda146a);}['onClose'](_0x34514e,_0x304b1e){'opening'!==this['readyState']&&'open'!==this['readyState']&&'closing'!==this['readyState']||(this['clearTimeoutFn'](this['pingTimeoutTimer']),this['transport']['removeAllListeners']('close'),this['transport']['close'](),this['transport']['removeAllListeners'](),'function'==typeof removeEventListener&&(removeEventListener('beforeunload',this['beforeunloadEventListener'],!0x1),removeEventListener('offline',this['offlineEventListener'],!0x1)),this['readyState']='closed',this['id']=null,this['emitReserved']('close',_0x34514e,_0x304b1e),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x14a296){const _0x2778f6=[];let _0x347965=0x0;const _0xb0d0d6=_0x14a296['length'];for(;_0x347965<_0xb0d0d6;_0x347965++)~this['transports']['indexOf'](_0x14a296[_0x347965])&&_0x2778f6['push'](_0x14a296[_0x347965]);return _0x2778f6;}};_0x5da725['protocol']=0x4;const _0x933e2a='function'==typeof ArrayBuffer,_0x4032a9=Object['prototype']['toString'],_0x43bbb9='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===_0x4032a9['call'](Blob),_0x142196='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===_0x4032a9['call'](File);function _0x274253(_0x3e7faa){return _0x933e2a&&(_0x3e7faa instanceof ArrayBuffer||(_0x17dc29=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x17dc29):_0x17dc29['buffer']instanceof ArrayBuffer)(_0x3e7faa))||_0x43bbb9&&_0x3e7faa instanceof Blob||_0x142196&&_0x3e7faa instanceof File;}function _0x1131af(_0x15f730,_0x36f709){if(!_0x15f730||'object'!=typeof _0x15f730)return!0x1;if(Array['isArray'](_0x15f730)){for(let _0x20e521=0x0,_0x48935b=_0x15f730['length'];_0x20e521<_0x48935b;_0x20e521++)if(_0x1131af(_0x15f730[_0x20e521]))return!0x0;return!0x1;}if(_0x274253(_0x15f730))return!0x0;if(_0x15f730['toJSON']&&'function'==typeof _0x15f730['toJSON']&&0x1===arguments['length'])return _0x1131af(_0x15f730['toJSON'](),!0x0);for(const _0x5d6c68 in _0x15f730)if(Object['prototype']['hasOwnProperty']['call'](_0x15f730,_0x5d6c68)&&_0x1131af(_0x15f730[_0x5d6c68]))return!0x0;return!0x1;}function _0x13199b(_0x4a9bf6){const _0x13e6f7=[],_0x1c1aa8=_0x4a9bf6['data'],_0x280620=_0x4a9bf6;return _0x280620['data']=_0x459188(_0x1c1aa8,_0x13e6f7),_0x280620['attachments']=_0x13e6f7['length'],{'packet':_0x280620,'buffers':_0x13e6f7};}function _0x459188(_0x403af7,_0x31581e){if(!_0x403af7)return _0x403af7;if(_0x274253(_0x403af7)){const _0x339c16={'_placeholder':!0x0,'num':_0x31581e['length']};return _0x31581e['push'](_0x403af7),_0x339c16;}if(Array['isArray'](_0x403af7)){const _0x4781b9=new Array(_0x403af7['length']);for(let _0x451c42=0x0;_0x451c42<_0x403af7['length'];_0x451c42++)_0x4781b9[_0x451c42]=_0x459188(_0x403af7[_0x451c42],_0x31581e);return _0x4781b9;}if('object'==typeof _0x403af7&&!(_0x403af7 instanceof Date)){const _0x461c76={};for(const _0x57262e in _0x403af7)Object['prototype']['hasOwnProperty']['call'](_0x403af7,_0x57262e)&&(_0x461c76[_0x57262e]=_0x459188(_0x403af7[_0x57262e],_0x31581e));return _0x461c76;}return _0x403af7;}function _0x17315f(_0x5a848d,_0x1cd956){return _0x5a848d['data']=_0x48088e(_0x5a848d['data'],_0x1cd956),delete _0x5a848d['attachments'],_0x5a848d;}function _0x48088e(_0x5f31eb,_0x5bf45c){if(!_0x5f31eb)return _0x5f31eb;if(_0x5f31eb&&!0x0===_0x5f31eb['_placeholder']){if('number'==typeof _0x5f31eb['num']&&_0x5f31eb['num']>=0x0&&_0x5f31eb['num']<_0x5bf45c['length'])return _0x5bf45c[_0x5f31eb['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x5f31eb)){for(let _0x28a042=0x0;_0x28a042<_0x5f31eb['length'];_0x28a042++)_0x5f31eb[_0x28a042]=_0x48088e(_0x5f31eb[_0x28a042],_0x5bf45c);}else{if('object'==typeof _0x5f31eb){for(const _0x15f6b9 in _0x5f31eb)Object['prototype']['hasOwnProperty']['call'](_0x5f31eb,_0x15f6b9)&&(_0x5f31eb[_0x15f6b9]=_0x48088e(_0x5f31eb[_0x15f6b9],_0x5bf45c));}}return _0x5f31eb;}const _0x61dfad=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var _0x31b728;!function(_0x3ecc0f){_0x3ecc0f[_0x3ecc0f['CONNECT']=0x0]='CONNECT',_0x3ecc0f[_0x3ecc0f['DISCONNECT']=0x1]='DISCONNECT',_0x3ecc0f[_0x3ecc0f['EVENT']=0x2]='EVENT',_0x3ecc0f[_0x3ecc0f['ACK']=0x3]='ACK',_0x3ecc0f[_0x3ecc0f['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x3ecc0f[_0x3ecc0f['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x3ecc0f[_0x3ecc0f['BINARY_ACK']=0x6]='BINARY_ACK';}(_0x31b728||(_0x31b728={}));let _0x291806=class _0x3829dd{constructor(_0x5ad9f2){this['replacer']=_0x5ad9f2;}['encode'](_0x519520){return _0x519520['type']!==_0x31b728['EVENT']&&_0x519520['type']!==_0x31b728['ACK']||!_0x1131af(_0x519520)?[this['encodeAsString'](_0x519520)]:this['encodeAsBinary']({'type':_0x519520['type']===_0x31b728['EVENT']?_0x31b728['BINARY_EVENT']:_0x31b728['BINARY_ACK'],'nsp':_0x519520['nsp'],'data':_0x519520['data'],'id':_0x519520['id']});}['encodeAsString'](_0x2e7b54){let _0x49552e=''+_0x2e7b54['type'];return _0x2e7b54['type']!==_0x31b728['BINARY_EVENT']&&_0x2e7b54['type']!==_0x31b728['BINARY_ACK']||(_0x49552e+=_0x2e7b54['attachments']+'-'),_0x2e7b54['nsp']&&'/'!==_0x2e7b54['nsp']&&(_0x49552e+=_0x2e7b54['nsp']+','),null!=_0x2e7b54['id']&&(_0x49552e+=_0x2e7b54['id']),null!=_0x2e7b54['data']&&(_0x49552e+=JSON['stringify'](_0x2e7b54['data'],this['replacer'])),_0x49552e;}['encodeAsBinary'](_0x2e97d7){const _0x454a46=_0x13199b(_0x2e97d7),_0x22f771=this['encodeAsString'](_0x454a46['packet']),_0x2909ec=_0x454a46['buffers'];return _0x2909ec['unshift'](_0x22f771),_0x2909ec;}},_0x157fc1=class _0x3e3717 extends _0x1fe8e0{constructor(_0x42a549){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x42a549?{'reviver':_0x42a549}:_0x42a549);}['add'](_0x2f8245){let _0x3d7641;if('string'==typeof _0x2f8245){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x3d7641=this['decodeString'](_0x2f8245);const _0x417a09=_0x3d7641['type']===_0x31b728['BINARY_EVENT'];_0x417a09||_0x3d7641['type']===_0x31b728['BINARY_ACK']?(_0x3d7641['type']=_0x417a09?_0x31b728['EVENT']:_0x31b728['ACK'],this['reconstructor']=new BinaryReconstructor(_0x3d7641),0x0===_0x3d7641['attachments']&&super['emitReserved']('decoded',_0x3d7641)):super['emitReserved']('decoded',_0x3d7641);}else{if(!_0x274253(_0x2f8245)&&!_0x2f8245['base64'])throw new Error('Unknown\x20type:\x20'+_0x2f8245);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x3d7641=this['reconstructor']['takeBinaryData'](_0x2f8245),_0x3d7641&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x3d7641));}}['decodeString'](_0x2e55ae){let _0x119043=0x0;const _0x3b4613={'type':Number(_0x2e55ae['charAt'](0x0))};if(void 0x0===_0x31b728[_0x3b4613['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x3b4613['type']);if(_0x3b4613['type']===_0x31b728['BINARY_EVENT']||_0x3b4613['type']===_0x31b728['BINARY_ACK']){const _0x4b2dbe=_0x119043+0x1;for(;'-'!==_0x2e55ae['charAt'](++_0x119043)&&_0x119043!=_0x2e55ae['length'];);const _0x1da375=_0x2e55ae['substring'](_0x4b2dbe,_0x119043);if(_0x1da375!=Number(_0x1da375)||'-'!==_0x2e55ae['charAt'](_0x119043))throw new Error('Illegal\x20attachments');const _0x347e40=Number(_0x1da375);if(!_0x3ac3f7(_0x347e40)||_0x347e40<0x0)throw new Error('Illegal\x20attachments');if(_0x347e40>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x3b4613['attachments']=_0x347e40;}if('/'===_0x2e55ae['charAt'](_0x119043+0x1)){const _0x534396=_0x119043+0x1;for(;++_0x119043;){if(','===_0x2e55ae['charAt'](_0x119043))break;if(_0x119043===_0x2e55ae['length'])break;}_0x3b4613['nsp']=_0x2e55ae['substring'](_0x534396,_0x119043);}else _0x3b4613['nsp']='/';const _0x477605=_0x2e55ae['charAt'](_0x119043+0x1);if(''!==_0x477605&&Number(_0x477605)==_0x477605){const _0x228855=_0x119043+0x1;for(;++_0x119043;){const _0x12a49a=_0x2e55ae['charAt'](_0x119043);if(null==_0x12a49a||Number(_0x12a49a)!=_0x12a49a){--_0x119043;break;}if(_0x119043===_0x2e55ae['length'])break;}_0x3b4613['id']=Number(_0x2e55ae['substring'](_0x228855,_0x119043+0x1));}if(_0x2e55ae['charAt'](++_0x119043)){const _0x186a63=this['tryParse'](_0x2e55ae['substr'](_0x119043));if(!_0x3e3717['isPayloadValid'](_0x3b4613['type'],_0x186a63))throw new Error('invalid\x20payload');_0x3b4613['data']=_0x186a63;}return _0x3b4613;}['tryParse'](_0x3bd437){try{return JSON['parse'](_0x3bd437,this['opts']['reviver']);}catch(_0x6f5e63){return!0x1;}}static['isPayloadValid'](_0x53bc90,_0xcdfdd6){switch(_0x53bc90){case _0x31b728['CONNECT']:return tm(_0xcdfdd6);case _0x31b728['DISCONNECT']:return void 0x0===_0xcdfdd6;case _0x31b728['CONNECT_ERROR']:return'string'==typeof _0xcdfdd6||tm(_0xcdfdd6);case _0x31b728['EVENT']:case _0x31b728['BINARY_EVENT']:return Array['isArray'](_0xcdfdd6)&&('number'==typeof _0xcdfdd6[0x0]||'string'==typeof _0xcdfdd6[0x0]&&-0x1===_0x61dfad['indexOf'](_0xcdfdd6[0x0]));case _0x31b728['ACK']:case _0x31b728['BINARY_ACK']:return Array['isArray'](_0xcdfdd6);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x3f0b1b){this['packet']=_0x3f0b1b,this['buffers']=[],this['reconPack']=_0x3f0b1b;}['takeBinaryData'](_0x23ab3f){if(this['buffers']['push'](_0x23ab3f),this['buffers']['length']===this['reconPack']['attachments']){const _0x39f1a5=_0x17315f(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x39f1a5;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const _0x3ac3f7=Number['isInteger']||function(_0x13fbaa){return'number'==typeof _0x13fbaa&&isFinite(_0x13fbaa)&&Math['floor'](_0x13fbaa)===_0x13fbaa;};function tm(_0x3d2366){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3d2366);}var _0x36a6cd=Object['freeze']({'__proto__':null,'Decoder':_0x157fc1,'Encoder':_0x291806,get 'PacketType'(){return _0x31b728;}});function _0x403c54(_0x16082a,_0x3f3ba0,_0x482d17){return _0x16082a['on'](_0x3f3ba0,_0x482d17),function(){_0x16082a['off'](_0x3f3ba0,_0x482d17);};}const _0x342c6e=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends _0x1fe8e0{constructor(_0xebc1e0,_0x3e6302,_0x1a28b9){super(),this['connected']=!0x1,this['recovered']=!0x1,this['receiveBuffer']=[],this['sendBuffer']=[],this['_queue']=[],this['_queueSeq']=0x0,this['ids']=0x0,this['acks']={},this['flags']={},this['io']=_0xebc1e0,this['nsp']=_0x3e6302,_0x1a28b9&&_0x1a28b9['auth']&&(this['auth']=_0x1a28b9['auth']),this['_opts']=Object['assign']({},_0x1a28b9),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x3ee730=this['io'];this['subs']=[_0x403c54(_0x3ee730,'open',this['onopen']['bind'](this)),_0x403c54(_0x3ee730,'packet',this['onpacket']['bind'](this)),_0x403c54(_0x3ee730,'error',this['onerror']['bind'](this)),_0x403c54(_0x3ee730,'close',this['onclose']['bind'](this))];}get['active'](){return!!this['subs'];}['connect'](){return this['connected']||(this['subEvents'](),this['io']['_reconnecting']||this['io']['open'](),'open'===this['io']['_readyState']&&this['onopen']()),this;}['open'](){return this['connect']();}['send'](..._0x4c646a){return _0x4c646a['unshift']('message'),this['emit']['apply'](this,_0x4c646a),this;}['emit'](_0xe8e3b6,..._0x337cde){if(_0x342c6e['hasOwnProperty'](_0xe8e3b6))throw new Error('\x22'+_0xe8e3b6['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x337cde['unshift'](_0xe8e3b6),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x337cde),this;const _0x546342={'type':_0x31b728['EVENT'],'data':_0x337cde,'options':{}};if(_0x546342['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x337cde[_0x337cde['length']-0x1]){const _0xcddd06=this['ids']++,_0x14f8e6=_0x337cde['pop']();this['_registerAckCallback'](_0xcddd06,_0x14f8e6),_0x546342['id']=_0xcddd06;}const _0x238f9c=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x238f9c||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x546342),this['packet'](_0x546342)):this['sendBuffer']['push'](_0x546342)),this['flags']={},this;}['_registerAckCallback'](_0x5b3dcc,_0x200996){var _0x3baf7b;const _0x1bf741=null!==(_0x3baf7b=this['flags']['timeout'])&&void 0x0!==_0x3baf7b?_0x3baf7b:this['_opts']['ackTimeout'];if(void 0x0===_0x1bf741)return void(this['acks'][_0x5b3dcc]=_0x200996);const _0x4ecf26=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x5b3dcc];for(let _0x1dbe1f=0x0;_0x1dbe1f<this['sendBuffer']['length'];_0x1dbe1f++)this['sendBuffer'][_0x1dbe1f]['id']===_0x5b3dcc&&this['sendBuffer']['splice'](_0x1dbe1f,0x1);_0x200996['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x1bf741);this['acks'][_0x5b3dcc]=(..._0x3b7496)=>{this['io']['clearTimeoutFn'](_0x4ecf26),_0x200996['apply'](this,[null,..._0x3b7496]);};}['emitWithAck'](_0x96f51b,..._0x500f88){const _0x31f8bc=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x5854c6,_0x4b75bb)=>{_0x500f88['push']((_0x6b224f,_0x259701)=>_0x31f8bc?_0x6b224f?_0x4b75bb(_0x6b224f):_0x5854c6(_0x259701):_0x5854c6(_0x6b224f)),this['emit'](_0x96f51b,..._0x500f88);});}['_addToQueue'](_0x3e2640){let _0x422f09;'function'==typeof _0x3e2640[_0x3e2640['length']-0x1]&&(_0x422f09=_0x3e2640['pop']());const _0xb845d5={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x3e2640,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x3e2640['push']((_0x16a86d,..._0x48cafe)=>{if(_0xb845d5!==this['_queue'][0x0])return;return null!==_0x16a86d?_0xb845d5['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x422f09&&_0x422f09(_0x16a86d)):(this['_queue']['shift'](),_0x422f09&&_0x422f09(null,..._0x48cafe)),_0xb845d5['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0xb845d5),this['_drainQueue']();}['_drainQueue'](_0x460e93=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x4b9e11=this['_queue'][0x0];_0x4b9e11['pending']&&!_0x460e93||(_0x4b9e11['pending']=!0x0,_0x4b9e11['tryCount']++,this['flags']=_0x4b9e11['flags'],this['emit']['apply'](this,_0x4b9e11['args']));}['packet'](_0x4ecb83){_0x4ecb83['nsp']=this['nsp'],this['io']['_packet'](_0x4ecb83);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x3a1e36=>{this['_sendConnectPacket'](_0x3a1e36);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x42b263){this['packet']({'type':_0x31b728['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x42b263):_0x42b263});}['onerror'](_0x3aa578){this['connected']||this['emitReserved']('connect_error',_0x3aa578);}['onclose'](_0x1e7cee,_0x14a8ce){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x1e7cee,_0x14a8ce);}['onpacket'](_0x37ccae){if(_0x37ccae['nsp']===this['nsp'])switch(_0x37ccae['type']){case _0x31b728['CONNECT']:_0x37ccae['data']&&_0x37ccae['data']['sid']?this['onconnect'](_0x37ccae['data']['sid'],_0x37ccae['data']['pid']):this['emitReserved']('connect_error',new Error('It\x20seems\x20you\x20are\x20trying\x20to\x20reach\x20a\x20Socket.IO\x20server\x20in\x20v2.x\x20with\x20a\x20v3.x\x20client,\x20but\x20they\x20are\x20not\x20compatible\x20(more\x20information\x20here:\x20https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)'));break;case _0x31b728['EVENT']:case _0x31b728['BINARY_EVENT']:this['onevent'](_0x37ccae);break;case _0x31b728['ACK']:case _0x31b728['BINARY_ACK']:this['onack'](_0x37ccae);break;case _0x31b728['DISCONNECT']:this['ondisconnect']();break;case _0x31b728['CONNECT_ERROR']:this['destroy']();const _0x283a93=new Error(_0x37ccae['data']['message']);_0x283a93['data']=_0x37ccae['data']['data'],this['emitReserved']('connect_error',_0x283a93);}}['onevent'](_0x5033e9){const _0x39c235=_0x5033e9['data']||[];null!=_0x5033e9['id']&&_0x39c235['push'](this['ack'](_0x5033e9['id'])),this['connected']?this['emitEvent'](_0x39c235):this['receiveBuffer']['push'](Object['freeze'](_0x39c235));}['emitEvent'](_0x2eed8f){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x1ed185=this['_anyListeners']['slice']();for(const _0x35dcbe of _0x1ed185)_0x35dcbe['apply'](this,_0x2eed8f);}super['emit']['apply'](this,_0x2eed8f),this['_pid']&&_0x2eed8f['length']&&'string'==typeof _0x2eed8f[_0x2eed8f['length']-0x1]&&(this['_lastOffset']=_0x2eed8f[_0x2eed8f['length']-0x1]);}['ack'](_0x3d6fb1){const _0x3073ff=this;let _0x4a841d=!0x1;return function(..._0x4e6f55){_0x4a841d||(_0x4a841d=!0x0,_0x3073ff['packet']({'type':_0x31b728['ACK'],'id':_0x3d6fb1,'data':_0x4e6f55}));};}['onack'](_0x46c66f){const _0x43409b=this['acks'][_0x46c66f['id']];'function'==typeof _0x43409b&&(_0x43409b['apply'](this,_0x46c66f['data']),delete this['acks'][_0x46c66f['id']]);}['onconnect'](_0x1ba64b,_0x510c86){this['id']=_0x1ba64b,this['recovered']=_0x510c86&&this['_pid']===_0x510c86,this['_pid']=_0x510c86,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x3b5c61=>this['emitEvent'](_0x3b5c61)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0xd8943c=>{this['notifyOutgoingListeners'](_0xd8943c),this['packet'](_0xd8943c);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x311e66=>_0x311e66()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':_0x31b728['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x12b348){return this['flags']['compress']=_0x12b348,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x1df2b7){return this['flags']['timeout']=_0x1df2b7,this;}['onAny'](_0x412436){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x412436),this;}['prependAny'](_0x5e2f08){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x5e2f08),this;}['offAny'](_0x3ace7e){if(!this['_anyListeners'])return this;if(_0x3ace7e){const _0x2c3c18=this['_anyListeners'];for(let _0x569c84=0x0;_0x569c84<_0x2c3c18['length'];_0x569c84++)if(_0x3ace7e===_0x2c3c18[_0x569c84])return _0x2c3c18['splice'](_0x569c84,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x323ea1){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x323ea1),this;}['prependAnyOutgoing'](_0x1269c6){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x1269c6),this;}['offAnyOutgoing'](_0xf1a30f){if(!this['_anyOutgoingListeners'])return this;if(_0xf1a30f){const _0x15c0c5=this['_anyOutgoingListeners'];for(let _0x43cc60=0x0;_0x43cc60<_0x15c0c5['length'];_0x43cc60++)if(_0xf1a30f===_0x15c0c5[_0x43cc60])return _0x15c0c5['splice'](_0x43cc60,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x5e55f4){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x201da9=this['_anyOutgoingListeners']['slice']();for(const _0x2b7c2e of _0x201da9)_0x2b7c2e['apply'](this,_0x5e55f4['data']);}}}function _0x1d7dde(_0x9c6698){_0x9c6698=_0x9c6698||{},this['ms']=_0x9c6698['min']||0x64,this['max']=_0x9c6698['max']||0x2710,this['factor']=_0x9c6698['factor']||0x2,this['jitter']=_0x9c6698['jitter']>0x0&&_0x9c6698['jitter']<=0x1?_0x9c6698['jitter']:0x0,this['attempts']=0x0;}_0x1d7dde['prototype']['duration']=function(){var _0x382e34=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x823b44=Math['random'](),_0x4d0e65=Math['floor'](_0x823b44*this['jitter']*_0x382e34);_0x382e34=0x1&Math['floor'](0xa*_0x823b44)?_0x382e34+_0x4d0e65:_0x382e34-_0x4d0e65;}return 0x0|Math['min'](_0x382e34,this['max']);},_0x1d7dde['prototype']['reset']=function(){this['attempts']=0x0;},_0x1d7dde['prototype']['setMin']=function(_0x595fc8){this['ms']=_0x595fc8;},_0x1d7dde['prototype']['setMax']=function(_0x14f4d9){this['max']=_0x14f4d9;},_0x1d7dde['prototype']['setJitter']=function(_0x944437){this['jitter']=_0x944437;};class _0x4d015b extends _0x1fe8e0{constructor(_0x361ecb,_0x2d329f){var _0x4d75ae;super(),this['nsps']={},this['subs']=[],_0x361ecb&&'object'==typeof _0x361ecb&&(_0x2d329f=_0x361ecb,_0x361ecb=void 0x0),(_0x2d329f=_0x2d329f||{})['path']=_0x2d329f['path']||'/socket.io',this['opts']=_0x2d329f,_0x32405e(this,_0x2d329f),this['reconnection'](!0x1!==_0x2d329f['reconnection']),this['reconnectionAttempts'](_0x2d329f['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x2d329f['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x2d329f['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x4d75ae=_0x2d329f['randomizationFactor'])&&void 0x0!==_0x4d75ae?_0x4d75ae:0.5),this['backoff']=new _0x1d7dde({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x2d329f['timeout']?0x4e20:_0x2d329f['timeout']),this['_readyState']='closed',this['uri']=_0x361ecb;const _0x4bbc86=_0x2d329f['parser']||_0x36a6cd;this['encoder']=new _0x4bbc86['Encoder'](),this['decoder']=new _0x4bbc86['Decoder'](),this['_autoConnect']=!0x1!==_0x2d329f['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x564923){return arguments['length']?(this['_reconnection']=!!_0x564923,this):this['_reconnection'];}['reconnectionAttempts'](_0x164193){return void 0x0===_0x164193?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x164193,this);}['reconnectionDelay'](_0x28ef56){var _0x2d98fb;return void 0x0===_0x28ef56?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x28ef56,null===(_0x2d98fb=this['backoff'])||void 0x0===_0x2d98fb||_0x2d98fb['setMin'](_0x28ef56),this);}['randomizationFactor'](_0x155b97){var _0x575a74;return void 0x0===_0x155b97?this['_randomizationFactor']:(this['_randomizationFactor']=_0x155b97,null===(_0x575a74=this['backoff'])||void 0x0===_0x575a74||_0x575a74['setJitter'](_0x155b97),this);}['reconnectionDelayMax'](_0x46dc3e){var _0x2ebe59;return void 0x0===_0x46dc3e?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x46dc3e,null===(_0x2ebe59=this['backoff'])||void 0x0===_0x2ebe59||_0x2ebe59['setMax'](_0x46dc3e),this);}['timeout'](_0x18966e){return arguments['length']?(this['_timeout']=_0x18966e,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x367897){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new _0x5da725(this['uri'],this['opts']);const _0x2fbe59=this['engine'],_0x399344=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x56696e=_0x403c54(_0x2fbe59,'open',function(){_0x399344['onopen'](),_0x367897&&_0x367897();}),_0x8078fa=_0x3715de=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x3715de),_0x367897?_0x367897(_0x3715de):this['maybeReconnectOnOpen']();},_0x428b4e=_0x403c54(_0x2fbe59,'error',_0x8078fa);if(!0x1!==this['_timeout']){const _0x8f50f1=this['_timeout'],_0x481a12=this['setTimeoutFn'](()=>{_0x56696e(),_0x8078fa(new Error('timeout')),_0x2fbe59['close']();},_0x8f50f1);this['opts']['autoUnref']&&_0x481a12['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x481a12);});}return this['subs']['push'](_0x56696e),this['subs']['push'](_0x428b4e),this;}['connect'](_0x99a35a){return this['open'](_0x99a35a);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x33b510=this['engine'];this['subs']['push'](_0x403c54(_0x33b510,'ping',this['onping']['bind'](this)),_0x403c54(_0x33b510,'data',this['ondata']['bind'](this)),_0x403c54(_0x33b510,'error',this['onerror']['bind'](this)),_0x403c54(_0x33b510,'close',this['onclose']['bind'](this)),_0x403c54(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x2ac726){try{this['decoder']['add'](_0x2ac726);}catch(_0x4b2fec){this['onclose']('parse\x20error',_0x4b2fec);}}['ondecoded'](_0x23828f){_0x2b08e9(()=>{this['emitReserved']('packet',_0x23828f);},this['setTimeoutFn']);}['onerror'](_0x45b39d){this['emitReserved']('error',_0x45b39d);}['socket'](_0x2c31f0,_0x40d8a2){let _0x3d2165=this['nsps'][_0x2c31f0];return _0x3d2165?this['_autoConnect']&&!_0x3d2165['active']&&_0x3d2165['connect']():(_0x3d2165=new Socket(this,_0x2c31f0,_0x40d8a2),this['nsps'][_0x2c31f0]=_0x3d2165),_0x3d2165;}['_destroy'](_0x1b266d){const _0x4b502d=Object['keys'](this['nsps']);for(const _0x493999 of _0x4b502d){if(this['nsps'][_0x493999]['active'])return;}this['_close']();}['_packet'](_0x3c948b){const _0x139c0c=this['encoder']['encode'](_0x3c948b);for(let _0x1b018b=0x0;_0x1b018b<_0x139c0c['length'];_0x1b018b++)this['engine']['write'](_0x139c0c[_0x1b018b],_0x3c948b['options']);}['cleanup'](){this['subs']['forEach'](_0x1496a5=>_0x1496a5()),this['subs']['length']=0x0,this['decoder']['destroy']();}['_close'](){this['skipReconnect']=!0x0,this['_reconnecting']=!0x1,this['onclose']('forced\x20close'),this['engine']&&this['engine']['close']();}['disconnect'](){return this['_close']();}['onclose'](_0x44ca7b,_0x2d97fd){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x44ca7b,_0x2d97fd),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0xb0299d=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x30a6e3=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x26269f=this['setTimeoutFn'](()=>{_0xb0299d['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0xb0299d['backoff']['attempts']),_0xb0299d['skipReconnect']||_0xb0299d['open'](_0x9d5f02=>{_0x9d5f02?(_0xb0299d['_reconnecting']=!0x1,_0xb0299d['reconnect'](),this['emitReserved']('reconnect_error',_0x9d5f02)):_0xb0299d['onreconnect']();}));},_0x30a6e3);this['opts']['autoUnref']&&_0x26269f['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x26269f);});}}['onreconnect'](){const _0x1736c7=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x1736c7);}}const _0x5b80fb={};function _0x193c39(_0xf514ec,_0x13ac7f){'object'==typeof _0xf514ec&&(_0x13ac7f=_0xf514ec,_0xf514ec=void 0x0);const _0x54df99=function(_0x9cb7fb,_0x5e362e='',_0x437175){let _0x46d456=_0x9cb7fb;_0x437175=_0x437175||'undefined'!=typeof location&&location,null==_0x9cb7fb&&(_0x9cb7fb=_0x437175['protocol']+'//'+_0x437175['host']),'string'==typeof _0x9cb7fb&&('/'===_0x9cb7fb['charAt'](0x0)&&(_0x9cb7fb='/'===_0x9cb7fb['charAt'](0x1)?_0x437175['protocol']+_0x9cb7fb:_0x437175['host']+_0x9cb7fb),/^(https?|wss?):\/\//['test'](_0x9cb7fb)||(_0x9cb7fb=void 0x0!==_0x437175?_0x437175['protocol']+'//'+_0x9cb7fb:'https://'+_0x9cb7fb),_0x46d456=_0x1e1454(_0x9cb7fb)),_0x46d456['port']||(/^(http|ws)$/['test'](_0x46d456['protocol'])?_0x46d456['port']='80':/^(http|ws)s$/['test'](_0x46d456['protocol'])&&(_0x46d456['port']='443')),_0x46d456['path']=_0x46d456['path']||'/';const _0x5bc7dc=-0x1!==_0x46d456['host']['indexOf'](':')?'['+_0x46d456['host']+']':_0x46d456['host'];return _0x46d456['id']=_0x46d456['protocol']+'://'+_0x5bc7dc+':'+_0x46d456['port']+_0x5e362e,_0x46d456['href']=_0x46d456['protocol']+'://'+_0x5bc7dc+(_0x437175&&_0x437175['port']===_0x46d456['port']?'':':'+_0x46d456['port']),_0x46d456;}(_0xf514ec,(_0x13ac7f=_0x13ac7f||{})['path']||'/socket.io'),_0x2d4ef2=_0x54df99['source'],_0x3af092=_0x54df99['id'],_0x492d61=_0x54df99['path'],_0x98e7a2=_0x5b80fb[_0x3af092]&&_0x492d61 in _0x5b80fb[_0x3af092]['nsps'];let _0x36e5e2;return _0x13ac7f['forceNew']||_0x13ac7f['force\x20new\x20connection']||!0x1===_0x13ac7f['multiplex']||_0x98e7a2?_0x36e5e2=new _0x4d015b(_0x2d4ef2,_0x13ac7f):(_0x5b80fb[_0x3af092]||(_0x5b80fb[_0x3af092]=new _0x4d015b(_0x2d4ef2,_0x13ac7f)),_0x36e5e2=_0x5b80fb[_0x3af092]),_0x54df99['query']&&!_0x13ac7f['query']&&(_0x13ac7f['query']=_0x54df99['queryKey']),_0x36e5e2['socket'](_0x54df99['path'],_0x13ac7f);}var _0x26f26a,_0x1566b0;Object['assign'](_0x193c39,{'Manager':_0x4d015b,'Socket':Socket,'io':_0x193c39,'connect':_0x193c39});var _0x29866f,_0xeff5e5,_0x83adf3,_0x55d6ea={},_0x3aa753=(function(){if(_0x83adf3)return _0xeff5e5;_0x83adf3=0x1;var _0x33ed5c=(_0x1566b0||(_0x1566b0=0x1,_0x26f26a=function(_0x5eb1c4,_0x484b38){if(_0x484b38=_0x484b38['split'](':')[0x0],!(_0x5eb1c4=+_0x5eb1c4))return!0x1;switch(_0x484b38){case'http':case'ws':return 0x50!==_0x5eb1c4;case'https':case'wss':return 0x1bb!==_0x5eb1c4;case'ftp':return 0x15!==_0x5eb1c4;case'gopher':return 0x46!==_0x5eb1c4;case'file':return!0x1;}return 0x0!==_0x5eb1c4;}),_0x26f26a),_0x15870c=(function(){if(_0x29866f)return _0x55d6ea;_0x29866f=0x1;var _0x75f83e=Object['prototype']['hasOwnProperty'];function _0x51e1b8(_0x32d0c9){try{return decodeURIComponent(_0x32d0c9['replace'](/\+/g,'\x20'));}catch(_0x2d09aa){return null;}}function _0x1de72b(_0x384ec1){try{return encodeURIComponent(_0x384ec1);}catch(_0x3c6f4e){return null;}}return _0x55d6ea['stringify']=function(_0x26e069,_0x176eb8){_0x176eb8=_0x176eb8||'';var _0x5f259f,_0x12f7b3,_0x4caae3=[];for(_0x12f7b3 in('string'!=typeof _0x176eb8&&(_0x176eb8='?'),_0x26e069))if(_0x75f83e['call'](_0x26e069,_0x12f7b3)){if((_0x5f259f=_0x26e069[_0x12f7b3])||null!=_0x5f259f&&!isNaN(_0x5f259f)||(_0x5f259f=''),_0x12f7b3=_0x1de72b(_0x12f7b3),_0x5f259f=_0x1de72b(_0x5f259f),null===_0x12f7b3||null===_0x5f259f)continue;_0x4caae3['push'](_0x12f7b3+'='+_0x5f259f);}return _0x4caae3['length']?_0x176eb8+_0x4caae3['join']('&'):'';},_0x55d6ea['parse']=function(_0x37ad09){for(var _0x431a91,_0x27a5ee=/([^=?#&]+)=?([^&]*)/g,_0x5c16ea={};_0x431a91=_0x27a5ee['exec'](_0x37ad09);){var _0x555472=_0x51e1b8(_0x431a91[0x1]),_0x21155a=_0x51e1b8(_0x431a91[0x2]);null===_0x555472||null===_0x21155a||_0x555472 in _0x5c16ea||(_0x5c16ea[_0x555472]=_0x21155a);}return _0x5c16ea;},_0x55d6ea;}()),_0x48112d=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x31ad18=/[\n\r\t]/g,_0x457a29=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x39629e=/:\d+$/,_0x1ada9c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x531f57=/^[a-zA-Z]:/;function _0x52db29(_0x7048e7){return(_0x7048e7||'')['toString']()['replace'](_0x48112d,'');}var _0x5dbf4e=[['#','hash'],['?','query'],function(_0x16b0a,_0x1c0d41){return _0x143547(_0x1c0d41['protocol'])?_0x16b0a['replace'](/\\/g,'/'):_0x16b0a;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x451b75={'hash':0x1,'query':0x1};function _0x3e4927(_0x316f10){var _0x17dee9,_0x488bd2=('undefined'!=typeof window?window:void 0x0!==_0xf4f7de?_0xf4f7de:'undefined'!=typeof self?self:{})['location']||{},_0x37b6f7={},_0x1c6cc6=typeof(_0x316f10=_0x316f10||_0x488bd2);if('blob:'===_0x316f10['protocol'])_0x37b6f7=new _0x508063(unescape(_0x316f10['pathname']),{});else{if('string'===_0x1c6cc6){for(_0x17dee9 in(_0x37b6f7=new _0x508063(_0x316f10,{}),_0x451b75))delete _0x37b6f7[_0x17dee9];}else{if('object'===_0x1c6cc6){for(_0x17dee9 in _0x316f10)_0x17dee9 in _0x451b75||(_0x37b6f7[_0x17dee9]=_0x316f10[_0x17dee9]);void 0x0===_0x37b6f7['slashes']&&(_0x37b6f7['slashes']=_0x457a29['test'](_0x316f10['href']));}}}return _0x37b6f7;}function _0x143547(_0x126ea6){return'file:'===_0x126ea6||'ftp:'===_0x126ea6||'http:'===_0x126ea6||'https:'===_0x126ea6||'ws:'===_0x126ea6||'wss:'===_0x126ea6;}function _0x5bc16b(_0x116c18,_0x546815){_0x116c18=(_0x116c18=_0x52db29(_0x116c18))['replace'](_0x31ad18,''),_0x546815=_0x546815||{};var _0x47afb9,_0x1d7978=_0x1ada9c['exec'](_0x116c18),_0xfb19b7=_0x1d7978[0x1]?_0x1d7978[0x1]['toLowerCase']():'',_0x493902=!!_0x1d7978[0x2],_0x2f3d0e=!!_0x1d7978[0x3],_0x2775ce=0x0;return _0x493902?_0x2f3d0e?(_0x47afb9=_0x1d7978[0x2]+_0x1d7978[0x3]+_0x1d7978[0x4],_0x2775ce=_0x1d7978[0x2]['length']+_0x1d7978[0x3]['length']):(_0x47afb9=_0x1d7978[0x2]+_0x1d7978[0x4],_0x2775ce=_0x1d7978[0x2]['length']):_0x2f3d0e?(_0x47afb9=_0x1d7978[0x3]+_0x1d7978[0x4],_0x2775ce=_0x1d7978[0x3]['length']):_0x47afb9=_0x1d7978[0x4],'file:'===_0xfb19b7?_0x2775ce>=0x2&&(_0x47afb9=_0x47afb9['slice'](0x2)):_0x143547(_0xfb19b7)?_0x47afb9=_0x1d7978[0x4]:_0xfb19b7?_0x493902&&(_0x47afb9=_0x47afb9['slice'](0x2)):_0x2775ce>=0x2&&_0x143547(_0x546815['protocol'])&&(_0x47afb9=_0x1d7978[0x4]),{'protocol':_0xfb19b7,'slashes':_0x493902||_0x143547(_0xfb19b7),'slashesCount':_0x2775ce,'rest':_0x47afb9};}function _0x508063(_0x107c2c,_0x1262d2,_0x5d5510){if(_0x107c2c=(_0x107c2c=_0x52db29(_0x107c2c))['replace'](_0x31ad18,''),!(this instanceof _0x508063))return new _0x508063(_0x107c2c,_0x1262d2,_0x5d5510);var _0xf8cf3e,_0x5d12e3,_0x1af790,_0x3e16c5,_0xbd4259,_0x41f79d,_0x85b724=_0x5dbf4e['slice'](),_0xa589c3=typeof _0x1262d2,_0x12d541=this,_0x57bc73=0x0;for('object'!==_0xa589c3&&'string'!==_0xa589c3&&(_0x5d5510=_0x1262d2,_0x1262d2=null),_0x5d5510&&'function'!=typeof _0x5d5510&&(_0x5d5510=_0x15870c['parse']),_0xf8cf3e=!(_0x5d12e3=_0x5bc16b(_0x107c2c||'',_0x1262d2=_0x3e4927(_0x1262d2)))['protocol']&&!_0x5d12e3['slashes'],_0x12d541['slashes']=_0x5d12e3['slashes']||_0xf8cf3e&&_0x1262d2['slashes'],_0x12d541['protocol']=_0x5d12e3['protocol']||_0x1262d2['protocol']||'',_0x107c2c=_0x5d12e3['rest'],('file:'===_0x5d12e3['protocol']&&(0x2!==_0x5d12e3['slashesCount']||_0x531f57['test'](_0x107c2c))||!_0x5d12e3['slashes']&&(_0x5d12e3['protocol']||_0x5d12e3['slashesCount']<0x2||!_0x143547(_0x12d541['protocol'])))&&(_0x85b724[0x3]=[/(.*)/,'pathname']);_0x57bc73<_0x85b724['length'];_0x57bc73++)'function'!=typeof(_0x3e16c5=_0x85b724[_0x57bc73])?(_0x1af790=_0x3e16c5[0x0],_0x41f79d=_0x3e16c5[0x1],_0x1af790!=_0x1af790?_0x12d541[_0x41f79d]=_0x107c2c:'string'==typeof _0x1af790?~(_0xbd4259='@'===_0x1af790?_0x107c2c['lastIndexOf'](_0x1af790):_0x107c2c['indexOf'](_0x1af790))&&('number'==typeof _0x3e16c5[0x2]?(_0x12d541[_0x41f79d]=_0x107c2c['slice'](0x0,_0xbd4259),_0x107c2c=_0x107c2c['slice'](_0xbd4259+_0x3e16c5[0x2])):(_0x12d541[_0x41f79d]=_0x107c2c['slice'](_0xbd4259),_0x107c2c=_0x107c2c['slice'](0x0,_0xbd4259))):(_0xbd4259=_0x1af790['exec'](_0x107c2c))&&(_0x12d541[_0x41f79d]=_0xbd4259[0x1],_0x107c2c=_0x107c2c['slice'](0x0,_0xbd4259['index'])),_0x12d541[_0x41f79d]=_0x12d541[_0x41f79d]||_0xf8cf3e&&_0x3e16c5[0x3]&&_0x1262d2[_0x41f79d]||'',_0x3e16c5[0x4]&&(_0x12d541[_0x41f79d]=_0x12d541[_0x41f79d]['toLowerCase']())):_0x107c2c=_0x3e16c5(_0x107c2c,_0x12d541);_0x5d5510&&(_0x12d541['query']=_0x5d5510(_0x12d541['query'])),_0xf8cf3e&&_0x1262d2['slashes']&&'/'!==_0x12d541['pathname']['charAt'](0x0)&&(''!==_0x12d541['pathname']||''!==_0x1262d2['pathname'])&&(_0x12d541['pathname']=function(_0x414bcf,_0x22b9c7){if(''===_0x414bcf)return _0x22b9c7;for(var _0x4c39f3=(_0x22b9c7||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x414bcf['split']('/')),_0x388b1d=_0x4c39f3['length'],_0x4e5ea9=_0x4c39f3[_0x388b1d-0x1],_0x236b43=!0x1,_0x28b226=0x0;_0x388b1d--;)'.'===_0x4c39f3[_0x388b1d]?_0x4c39f3['splice'](_0x388b1d,0x1):'..'===_0x4c39f3[_0x388b1d]?(_0x4c39f3['splice'](_0x388b1d,0x1),_0x28b226++):_0x28b226&&(0x0===_0x388b1d&&(_0x236b43=!0x0),_0x4c39f3['splice'](_0x388b1d,0x1),_0x28b226--);return _0x236b43&&_0x4c39f3['unshift'](''),'.'!==_0x4e5ea9&&'..'!==_0x4e5ea9||_0x4c39f3['push'](''),_0x4c39f3['join']('/');}(_0x12d541['pathname'],_0x1262d2['pathname'])),'/'!==_0x12d541['pathname']['charAt'](0x0)&&_0x143547(_0x12d541['protocol'])&&(_0x12d541['pathname']='/'+_0x12d541['pathname']),_0x33ed5c(_0x12d541['port'],_0x12d541['protocol'])||(_0x12d541['host']=_0x12d541['hostname'],_0x12d541['port']=''),_0x12d541['username']=_0x12d541['password']='',_0x12d541['auth']&&(~(_0xbd4259=_0x12d541['auth']['indexOf'](':'))?(_0x12d541['username']=_0x12d541['auth']['slice'](0x0,_0xbd4259),_0x12d541['username']=encodeURIComponent(decodeURIComponent(_0x12d541['username'])),_0x12d541['password']=_0x12d541['auth']['slice'](_0xbd4259+0x1),_0x12d541['password']=encodeURIComponent(decodeURIComponent(_0x12d541['password']))):_0x12d541['username']=encodeURIComponent(decodeURIComponent(_0x12d541['auth'])),_0x12d541['auth']=_0x12d541['password']?_0x12d541['username']+':'+_0x12d541['password']:_0x12d541['username']),_0x12d541['origin']='file:'!==_0x12d541['protocol']&&_0x143547(_0x12d541['protocol'])&&_0x12d541['host']?_0x12d541['protocol']+'//'+_0x12d541['host']:'null',_0x12d541['href']=_0x12d541['toString']();}return _0x508063['prototype']={'set':function(_0x1b5547,_0x553d8a,_0x5ac98){var _0x146841=this;switch(_0x1b5547){case'query':'string'==typeof _0x553d8a&&_0x553d8a['length']&&(_0x553d8a=(_0x5ac98||_0x15870c['parse'])(_0x553d8a)),_0x146841[_0x1b5547]=_0x553d8a;break;case'port':_0x146841[_0x1b5547]=_0x553d8a,_0x33ed5c(_0x553d8a,_0x146841['protocol'])?_0x553d8a&&(_0x146841['host']=_0x146841['hostname']+':'+_0x553d8a):(_0x146841['host']=_0x146841['hostname'],_0x146841[_0x1b5547]='');break;case'hostname':_0x146841[_0x1b5547]=_0x553d8a,_0x146841['port']&&(_0x553d8a+=':'+_0x146841['port']),_0x146841['host']=_0x553d8a;break;case'host':_0x146841[_0x1b5547]=_0x553d8a,_0x39629e['test'](_0x553d8a)?(_0x553d8a=_0x553d8a['split'](':'),_0x146841['port']=_0x553d8a['pop'](),_0x146841['hostname']=_0x553d8a['join'](':')):(_0x146841['hostname']=_0x553d8a,_0x146841['port']='');break;case'protocol':_0x146841['protocol']=_0x553d8a['toLowerCase'](),_0x146841['slashes']=!_0x5ac98;break;case'pathname':case'hash':if(_0x553d8a){var _0x4f144f='pathname'===_0x1b5547?'/':'#';_0x146841[_0x1b5547]=_0x553d8a['charAt'](0x0)!==_0x4f144f?_0x4f144f+_0x553d8a:_0x553d8a;}else _0x146841[_0x1b5547]=_0x553d8a;break;case'username':case'password':_0x146841[_0x1b5547]=encodeURIComponent(_0x553d8a);break;case'auth':var _0xd6fdec=_0x553d8a['indexOf'](':');~_0xd6fdec?(_0x146841['username']=_0x553d8a['slice'](0x0,_0xd6fdec),_0x146841['username']=encodeURIComponent(decodeURIComponent(_0x146841['username'])),_0x146841['password']=_0x553d8a['slice'](_0xd6fdec+0x1),_0x146841['password']=encodeURIComponent(decodeURIComponent(_0x146841['password']))):_0x146841['username']=encodeURIComponent(decodeURIComponent(_0x553d8a));}for(var _0x3438e0=0x0;_0x3438e0<_0x5dbf4e['length'];_0x3438e0++){var _0x26ca90=_0x5dbf4e[_0x3438e0];_0x26ca90[0x4]&&(_0x146841[_0x26ca90[0x1]]=_0x146841[_0x26ca90[0x1]]['toLowerCase']());}return _0x146841['auth']=_0x146841['password']?_0x146841['username']+':'+_0x146841['password']:_0x146841['username'],_0x146841['origin']='file:'!==_0x146841['protocol']&&_0x143547(_0x146841['protocol'])&&_0x146841['host']?_0x146841['protocol']+'//'+_0x146841['host']:'null',_0x146841['href']=_0x146841['toString'](),_0x146841;},'toString':function(_0x454606){_0x454606&&'function'==typeof _0x454606||(_0x454606=_0x15870c['stringify']);var _0x4328bc,_0x79d84f=this,_0x449a79=_0x79d84f['host'],_0x47bad3=_0x79d84f['protocol'];_0x47bad3&&':'!==_0x47bad3['charAt'](_0x47bad3['length']-0x1)&&(_0x47bad3+=':');var _0xb53d5e=_0x47bad3+(_0x79d84f['protocol']&&_0x79d84f['slashes']||_0x143547(_0x79d84f['protocol'])?'//':'');return _0x79d84f['username']?(_0xb53d5e+=_0x79d84f['username'],_0x79d84f['password']&&(_0xb53d5e+=':'+_0x79d84f['password']),_0xb53d5e+='@'):_0x79d84f['password']?(_0xb53d5e+=':'+_0x79d84f['password'],_0xb53d5e+='@'):'file:'!==_0x79d84f['protocol']&&_0x143547(_0x79d84f['protocol'])&&!_0x449a79&&'/'!==_0x79d84f['pathname']&&(_0xb53d5e+='@'),(':'===_0x449a79[_0x449a79['length']-0x1]||_0x39629e['test'](_0x79d84f['hostname'])&&!_0x79d84f['port'])&&(_0x449a79+=':'),_0xb53d5e+=_0x449a79+_0x79d84f['pathname'],(_0x4328bc='object'==typeof _0x79d84f['query']?_0x454606(_0x79d84f['query']):_0x79d84f['query'])&&(_0xb53d5e+='?'!==_0x4328bc['charAt'](0x0)?'?'+_0x4328bc:_0x4328bc),_0x79d84f['hash']&&(_0xb53d5e+=_0x79d84f['hash']),_0xb53d5e;}},_0x508063['extractProtocol']=_0x5bc16b,_0x508063['location']=_0x3e4927,_0x508063['trimLeft']=_0x52db29,_0x508063['qs']=_0x15870c,_0xeff5e5=_0x508063;}());const _0x22ea99=[];for(let _0x291478=0x0;_0x291478<0x100;++_0x291478)_0x22ea99['push']((_0x291478+0x100)['toString'](0x10)['slice'](0x1));const _0x476ac0=new Uint8Array(0x10);function _0x14d431(_0x3e8d92,_0x2d818a,_0x3abf97){return crypto['randomUUID']?crypto['randomUUID']():function(_0x594bea){_0x594bea=_0x594bea||{};const _0x215749=_0x594bea['random']??_0x594bea['rng']?.()??crypto['getRandomValues'](_0x476ac0);if(_0x215749['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x215749[0x6]=0xf&_0x215749[0x6]|0x40,_0x215749[0x8]=0x3f&_0x215749[0x8]|0x80,function(_0x733999,_0x138dc5=0x0){return(_0x22ea99[_0x733999[_0x138dc5+0x0]]+_0x22ea99[_0x733999[_0x138dc5+0x1]]+_0x22ea99[_0x733999[_0x138dc5+0x2]]+_0x22ea99[_0x733999[_0x138dc5+0x3]]+'-'+_0x22ea99[_0x733999[_0x138dc5+0x4]]+_0x22ea99[_0x733999[_0x138dc5+0x5]]+'-'+_0x22ea99[_0x733999[_0x138dc5+0x6]]+_0x22ea99[_0x733999[_0x138dc5+0x7]]+'-'+_0x22ea99[_0x733999[_0x138dc5+0x8]]+_0x22ea99[_0x733999[_0x138dc5+0x9]]+'-'+_0x22ea99[_0x733999[_0x138dc5+0xa]]+_0x22ea99[_0x733999[_0x138dc5+0xb]]+_0x22ea99[_0x733999[_0x138dc5+0xc]]+_0x22ea99[_0x733999[_0x138dc5+0xd]]+_0x22ea99[_0x733999[_0x138dc5+0xe]]+_0x22ea99[_0x733999[_0x138dc5+0xf]])['toLowerCase']();}(_0x215749);}(_0x3e8d92);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x214f5a){}}class _0x533a19 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x58a6ac){super();}static['fromJSON'](_0x3dddee){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x533a19{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x3ebb8b){super(),this['id']=_0x3ebb8b;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x2b8947){return new GetUserMessage(_0x2b8947['id']);}}class GetUserResponse extends _0x533a19{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x19ff67){super(),this['attributes']=_0x19ff67;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x28ecd1=>({'key':_0x28ecd1,'value':JSON['stringify'](this['attributes'][_0x28ecd1])}))};}static['fromJSON'](_0xcca2af){const _0x4051cc=_0xcca2af['attributes']['reduce']((_0x1ddf36,_0x45f28e)=>(_0x1ddf36[_0x45f28e['key']]=_0x45f28e['value']?JSON['parse'](_0x45f28e['value']):null,_0x1ddf36),{});return new GetUserResponse(_0x4051cc);}}const _0x3b7a03=/* #__PURE__ -- @preserve */
((()=>{var _0x15a427=_0x5be20d['Reader'],_0x5cad89=_0x5be20d['Writer'],_0x6b5d1=_0x5be20d['util'],_0x59f061=_0x5be20d['roots']['default']||(_0x5be20d['roots']['default']={});return _0x59f061['StringStringPacketDataMessage']=(function(){function _0x4a5b47(_0x25c63e){if(_0x25c63e){for(var _0x266357=Object['keys'](_0x25c63e),_0x333706=0x0;_0x333706<_0x266357['length'];++_0x333706)null!=_0x25c63e[_0x266357[_0x333706]]&&'__proto__'!==_0x266357[_0x333706]&&(this[_0x266357[_0x333706]]=_0x25c63e[_0x266357[_0x333706]]);}}return _0x4a5b47['prototype']['data']='',_0x4a5b47['prototype']['data1']='',_0x4a5b47['create']=function(_0x48f933){return new _0x4a5b47(_0x48f933);},_0x4a5b47['encode']=function(_0x2addc4,_0x10a9a6){return _0x10a9a6||(_0x10a9a6=_0x5cad89['create']()),null!=_0x2addc4['data']&&Object['hasOwnProperty']['call'](_0x2addc4,'data')&&_0x10a9a6['uint32'](0xa)['string'](_0x2addc4['data']),null!=_0x2addc4['data1']&&Object['hasOwnProperty']['call'](_0x2addc4,'data1')&&_0x10a9a6['uint32'](0x12)['string'](_0x2addc4['data1']),_0x10a9a6;},_0x4a5b47['encodeDelimited']=function(_0x360e2a,_0x4af229){return this['encode'](_0x360e2a,_0x4af229)['ldelim']();},_0x4a5b47['decode']=function(_0x483912,_0x206ba2,_0x1807ae,_0x477ad5){if(_0x483912 instanceof _0x15a427||(_0x483912=_0x15a427['create'](_0x483912)),void 0x0===_0x477ad5&&(_0x477ad5=0x0),_0x477ad5>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2bf45d=void 0x0===_0x206ba2?_0x483912['len']:_0x483912['pos']+_0x206ba2,_0x4c26bd=new _0x59f061['StringStringPacketDataMessage']();_0x483912['pos']<_0x2bf45d;){var _0x309015=_0x483912['uint32']();if(_0x309015===_0x1807ae)break;switch(_0x309015>>>0x3){case 0x1:_0x4c26bd['data']=_0x483912['string']();break;case 0x2:_0x4c26bd['data1']=_0x483912['string']();break;default:_0x483912['skipType'](0x7&_0x309015,_0x477ad5);}}return _0x4c26bd;},_0x4a5b47['decodeDelimited']=function(_0x412b4d){return _0x412b4d instanceof _0x15a427||(_0x412b4d=new _0x15a427(_0x412b4d)),this['decode'](_0x412b4d,_0x412b4d['uint32']());},_0x4a5b47['verify']=function(_0x402cf2,_0x56c3ba){return'object'!=typeof _0x402cf2||null===_0x402cf2?'object\x20expected':(void 0x0===_0x56c3ba&&(_0x56c3ba=0x0),_0x56c3ba>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x402cf2['data']&&_0x402cf2['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x402cf2['data'])?'data:\x20string\x20expected':null!=_0x402cf2['data1']&&_0x402cf2['hasOwnProperty']('data1')&&!_0x6b5d1['isString'](_0x402cf2['data1'])?'data1:\x20string\x20expected':null);},_0x4a5b47['fromObject']=function(_0x3e1dd3,_0x24c036){if(_0x3e1dd3 instanceof _0x59f061['StringStringPacketDataMessage'])return _0x3e1dd3;if(void 0x0===_0x24c036&&(_0x24c036=0x0),_0x24c036>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d85fc=new _0x59f061['StringStringPacketDataMessage']();return null!=_0x3e1dd3['data']&&(_0x2d85fc['data']=String(_0x3e1dd3['data'])),null!=_0x3e1dd3['data1']&&(_0x2d85fc['data1']=String(_0x3e1dd3['data1'])),_0x2d85fc;},_0x4a5b47['toObject']=function(_0x2ac926,_0x4d0637){_0x4d0637||(_0x4d0637={});var _0x1978b6={};return _0x4d0637['defaults']&&(_0x1978b6['data']='',_0x1978b6['data1']=''),null!=_0x2ac926['data']&&_0x2ac926['hasOwnProperty']('data')&&(_0x1978b6['data']=_0x2ac926['data']),null!=_0x2ac926['data1']&&_0x2ac926['hasOwnProperty']('data1')&&(_0x1978b6['data1']=_0x2ac926['data1']),_0x1978b6;},_0x4a5b47['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4a5b47['getTypeUrl']=function(_0x426315){return void 0x0===_0x426315&&(_0x426315='type.googleapis.com'),_0x426315+'/StringStringPacketDataMessage';},_0x4a5b47;}()),_0x59f061['StringObjectPacketDataMessage']=(function(){function _0x1ece36(_0x3556d3){if(_0x3556d3){for(var _0x4cddc8=Object['keys'](_0x3556d3),_0x1f8672=0x0;_0x1f8672<_0x4cddc8['length'];++_0x1f8672)null!=_0x3556d3[_0x4cddc8[_0x1f8672]]&&'__proto__'!==_0x4cddc8[_0x1f8672]&&(this[_0x4cddc8[_0x1f8672]]=_0x3556d3[_0x4cddc8[_0x1f8672]]);}}return _0x1ece36['prototype']['data']='',_0x1ece36['prototype']['data1']='',_0x1ece36['create']=function(_0x506678){return new _0x1ece36(_0x506678);},_0x1ece36['encode']=function(_0x1a6a3a,_0xb6f246){return _0xb6f246||(_0xb6f246=_0x5cad89['create']()),null!=_0x1a6a3a['data']&&Object['hasOwnProperty']['call'](_0x1a6a3a,'data')&&_0xb6f246['uint32'](0xa)['string'](_0x1a6a3a['data']),null!=_0x1a6a3a['data1']&&Object['hasOwnProperty']['call'](_0x1a6a3a,'data1')&&_0xb6f246['uint32'](0x12)['string'](_0x1a6a3a['data1']),_0xb6f246;},_0x1ece36['encodeDelimited']=function(_0x436b1b,_0x1e24c6){return this['encode'](_0x436b1b,_0x1e24c6)['ldelim']();},_0x1ece36['decode']=function(_0x3c0156,_0x503dcb,_0x309593,_0x16e2b7){if(_0x3c0156 instanceof _0x15a427||(_0x3c0156=_0x15a427['create'](_0x3c0156)),void 0x0===_0x16e2b7&&(_0x16e2b7=0x0),_0x16e2b7>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x504768=void 0x0===_0x503dcb?_0x3c0156['len']:_0x3c0156['pos']+_0x503dcb,_0x3e7ecf=new _0x59f061['StringObjectPacketDataMessage']();_0x3c0156['pos']<_0x504768;){var _0x36e5ca=_0x3c0156['uint32']();if(_0x36e5ca===_0x309593)break;switch(_0x36e5ca>>>0x3){case 0x1:_0x3e7ecf['data']=_0x3c0156['string']();break;case 0x2:_0x3e7ecf['data1']=_0x3c0156['string']();break;default:_0x3c0156['skipType'](0x7&_0x36e5ca,_0x16e2b7);}}return _0x3e7ecf;},_0x1ece36['decodeDelimited']=function(_0x537cf4){return _0x537cf4 instanceof _0x15a427||(_0x537cf4=new _0x15a427(_0x537cf4)),this['decode'](_0x537cf4,_0x537cf4['uint32']());},_0x1ece36['verify']=function(_0x19cafd,_0x3ddabb){return'object'!=typeof _0x19cafd||null===_0x19cafd?'object\x20expected':(void 0x0===_0x3ddabb&&(_0x3ddabb=0x0),_0x3ddabb>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x19cafd['data']&&_0x19cafd['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x19cafd['data'])?'data:\x20string\x20expected':null!=_0x19cafd['data1']&&_0x19cafd['hasOwnProperty']('data1')&&!_0x6b5d1['isString'](_0x19cafd['data1'])?'data1:\x20string\x20expected':null);},_0x1ece36['fromObject']=function(_0x46e6ce,_0x44d86d){if(_0x46e6ce instanceof _0x59f061['StringObjectPacketDataMessage'])return _0x46e6ce;if(void 0x0===_0x44d86d&&(_0x44d86d=0x0),_0x44d86d>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x10b06d=new _0x59f061['StringObjectPacketDataMessage']();return null!=_0x46e6ce['data']&&(_0x10b06d['data']=String(_0x46e6ce['data'])),null!=_0x46e6ce['data1']&&(_0x10b06d['data1']=String(_0x46e6ce['data1'])),_0x10b06d;},_0x1ece36['toObject']=function(_0x2289bc,_0x2b48ab){_0x2b48ab||(_0x2b48ab={});var _0x397260={};return _0x2b48ab['defaults']&&(_0x397260['data']='',_0x397260['data1']=''),null!=_0x2289bc['data']&&_0x2289bc['hasOwnProperty']('data')&&(_0x397260['data']=_0x2289bc['data']),null!=_0x2289bc['data1']&&_0x2289bc['hasOwnProperty']('data1')&&(_0x397260['data1']=_0x2289bc['data1']),_0x397260;},_0x1ece36['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x1ece36['getTypeUrl']=function(_0x22950c){return void 0x0===_0x22950c&&(_0x22950c='type.googleapis.com'),_0x22950c+'/StringObjectPacketDataMessage';},_0x1ece36;}()),_0x59f061['StringNumberPacketDataMessage']=(function(){function _0x3208af(_0x29b307){if(_0x29b307){for(var _0x290ff6=Object['keys'](_0x29b307),_0x3bdb8f=0x0;_0x3bdb8f<_0x290ff6['length'];++_0x3bdb8f)null!=_0x29b307[_0x290ff6[_0x3bdb8f]]&&'__proto__'!==_0x290ff6[_0x3bdb8f]&&(this[_0x290ff6[_0x3bdb8f]]=_0x29b307[_0x290ff6[_0x3bdb8f]]);}}return _0x3208af['prototype']['data']='',_0x3208af['prototype']['data1']=0x0,_0x3208af['create']=function(_0x196f9f){return new _0x3208af(_0x196f9f);},_0x3208af['encode']=function(_0x2ad0dc,_0x5340df){return _0x5340df||(_0x5340df=_0x5cad89['create']()),null!=_0x2ad0dc['data']&&Object['hasOwnProperty']['call'](_0x2ad0dc,'data')&&_0x5340df['uint32'](0xa)['string'](_0x2ad0dc['data']),null!=_0x2ad0dc['data1']&&Object['hasOwnProperty']['call'](_0x2ad0dc,'data1')&&_0x5340df['uint32'](0x10)['uint32'](_0x2ad0dc['data1']),_0x5340df;},_0x3208af['encodeDelimited']=function(_0x396cad,_0x23c577){return this['encode'](_0x396cad,_0x23c577)['ldelim']();},_0x3208af['decode']=function(_0x2f34d8,_0x2869c9,_0x4a8fa7,_0x505b1a){if(_0x2f34d8 instanceof _0x15a427||(_0x2f34d8=_0x15a427['create'](_0x2f34d8)),void 0x0===_0x505b1a&&(_0x505b1a=0x0),_0x505b1a>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3d395f=void 0x0===_0x2869c9?_0x2f34d8['len']:_0x2f34d8['pos']+_0x2869c9,_0xa60f37=new _0x59f061['StringNumberPacketDataMessage']();_0x2f34d8['pos']<_0x3d395f;){var _0x4bfe36=_0x2f34d8['uint32']();if(_0x4bfe36===_0x4a8fa7)break;switch(_0x4bfe36>>>0x3){case 0x1:_0xa60f37['data']=_0x2f34d8['string']();break;case 0x2:_0xa60f37['data1']=_0x2f34d8['uint32']();break;default:_0x2f34d8['skipType'](0x7&_0x4bfe36,_0x505b1a);}}return _0xa60f37;},_0x3208af['decodeDelimited']=function(_0x113e83){return _0x113e83 instanceof _0x15a427||(_0x113e83=new _0x15a427(_0x113e83)),this['decode'](_0x113e83,_0x113e83['uint32']());},_0x3208af['verify']=function(_0x5253d4,_0x1b29c9){return'object'!=typeof _0x5253d4||null===_0x5253d4?'object\x20expected':(void 0x0===_0x1b29c9&&(_0x1b29c9=0x0),_0x1b29c9>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5253d4['data']&&_0x5253d4['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x5253d4['data'])?'data:\x20string\x20expected':null!=_0x5253d4['data1']&&_0x5253d4['hasOwnProperty']('data1')&&!_0x6b5d1['isInteger'](_0x5253d4['data1'])?'data1:\x20integer\x20expected':null);},_0x3208af['fromObject']=function(_0x4ba4f6,_0x27b079){if(_0x4ba4f6 instanceof _0x59f061['StringNumberPacketDataMessage'])return _0x4ba4f6;if(void 0x0===_0x27b079&&(_0x27b079=0x0),_0x27b079>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xaa7df0=new _0x59f061['StringNumberPacketDataMessage']();return null!=_0x4ba4f6['data']&&(_0xaa7df0['data']=String(_0x4ba4f6['data'])),null!=_0x4ba4f6['data1']&&(_0xaa7df0['data1']=_0x4ba4f6['data1']>>>0x0),_0xaa7df0;},_0x3208af['toObject']=function(_0x59450c,_0x3dd742){_0x3dd742||(_0x3dd742={});var _0x30354f={};return _0x3dd742['defaults']&&(_0x30354f['data']='',_0x30354f['data1']=0x0),null!=_0x59450c['data']&&_0x59450c['hasOwnProperty']('data')&&(_0x30354f['data']=_0x59450c['data']),null!=_0x59450c['data1']&&_0x59450c['hasOwnProperty']('data1')&&(_0x30354f['data1']=_0x59450c['data1']),_0x30354f;},_0x3208af['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3208af['getTypeUrl']=function(_0x3eaa19){return void 0x0===_0x3eaa19&&(_0x3eaa19='type.googleapis.com'),_0x3eaa19+'/StringNumberPacketDataMessage';},_0x3208af;}()),_0x59f061['StringBytesPacketDataMessage']=(function(){function _0x480a2e(_0xc5fa91){if(_0xc5fa91){for(var _0x261c1a=Object['keys'](_0xc5fa91),_0x105a6d=0x0;_0x105a6d<_0x261c1a['length'];++_0x105a6d)null!=_0xc5fa91[_0x261c1a[_0x105a6d]]&&'__proto__'!==_0x261c1a[_0x105a6d]&&(this[_0x261c1a[_0x105a6d]]=_0xc5fa91[_0x261c1a[_0x105a6d]]);}}return _0x480a2e['prototype']['data']='',_0x480a2e['prototype']['data1']=_0x6b5d1['newBuffer']([]),_0x480a2e['create']=function(_0x581111){return new _0x480a2e(_0x581111);},_0x480a2e['encode']=function(_0x59b085,_0x348812){return _0x348812||(_0x348812=_0x5cad89['create']()),null!=_0x59b085['data']&&Object['hasOwnProperty']['call'](_0x59b085,'data')&&_0x348812['uint32'](0xa)['string'](_0x59b085['data']),null!=_0x59b085['data1']&&Object['hasOwnProperty']['call'](_0x59b085,'data1')&&_0x348812['uint32'](0x12)['bytes'](_0x59b085['data1']),_0x348812;},_0x480a2e['encodeDelimited']=function(_0x5a2e62,_0xa052f4){return this['encode'](_0x5a2e62,_0xa052f4)['ldelim']();},_0x480a2e['decode']=function(_0x5d34cb,_0x335932,_0x13f93e,_0x1cceb3){if(_0x5d34cb instanceof _0x15a427||(_0x5d34cb=_0x15a427['create'](_0x5d34cb)),void 0x0===_0x1cceb3&&(_0x1cceb3=0x0),_0x1cceb3>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x530aad=void 0x0===_0x335932?_0x5d34cb['len']:_0x5d34cb['pos']+_0x335932,_0x389c09=new _0x59f061['StringBytesPacketDataMessage']();_0x5d34cb['pos']<_0x530aad;){var _0xdacc45=_0x5d34cb['uint32']();if(_0xdacc45===_0x13f93e)break;switch(_0xdacc45>>>0x3){case 0x1:_0x389c09['data']=_0x5d34cb['string']();break;case 0x2:_0x389c09['data1']=_0x5d34cb['bytes']();break;default:_0x5d34cb['skipType'](0x7&_0xdacc45,_0x1cceb3);}}return _0x389c09;},_0x480a2e['decodeDelimited']=function(_0x478a09){return _0x478a09 instanceof _0x15a427||(_0x478a09=new _0x15a427(_0x478a09)),this['decode'](_0x478a09,_0x478a09['uint32']());},_0x480a2e['verify']=function(_0x55009b,_0x5bd4ed){return'object'!=typeof _0x55009b||null===_0x55009b?'object\x20expected':(void 0x0===_0x5bd4ed&&(_0x5bd4ed=0x0),_0x5bd4ed>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55009b['data']&&_0x55009b['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x55009b['data'])?'data:\x20string\x20expected':null!=_0x55009b['data1']&&_0x55009b['hasOwnProperty']('data1')&&!(_0x55009b['data1']&&'number'==typeof _0x55009b['data1']['length']||_0x6b5d1['isString'](_0x55009b['data1']))?'data1:\x20buffer\x20expected':null);},_0x480a2e['fromObject']=function(_0x2c20c1,_0x26105c){if(_0x2c20c1 instanceof _0x59f061['StringBytesPacketDataMessage'])return _0x2c20c1;if(void 0x0===_0x26105c&&(_0x26105c=0x0),_0x26105c>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xcd465a=new _0x59f061['StringBytesPacketDataMessage']();return null!=_0x2c20c1['data']&&(_0xcd465a['data']=String(_0x2c20c1['data'])),null!=_0x2c20c1['data1']&&('string'==typeof _0x2c20c1['data1']?_0x6b5d1['base64']['decode'](_0x2c20c1['data1'],_0xcd465a['data1']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x2c20c1['data1'])),0x0):_0x2c20c1['data1']['length']>=0x0&&(_0xcd465a['data1']=_0x2c20c1['data1'])),_0xcd465a;},_0x480a2e['toObject']=function(_0x118a61,_0x1a8391){_0x1a8391||(_0x1a8391={});var _0x28035f={};return _0x1a8391['defaults']&&(_0x28035f['data']='',_0x1a8391['bytes']===String?_0x28035f['data1']='':(_0x28035f['data1']=[],_0x1a8391['bytes']!==Array&&(_0x28035f['data1']=_0x6b5d1['newBuffer'](_0x28035f['data1'])))),null!=_0x118a61['data']&&_0x118a61['hasOwnProperty']('data')&&(_0x28035f['data']=_0x118a61['data']),null!=_0x118a61['data1']&&_0x118a61['hasOwnProperty']('data1')&&(_0x28035f['data1']=_0x1a8391['bytes']===String?_0x6b5d1['base64']['encode'](_0x118a61['data1'],0x0,_0x118a61['data1']['length']):_0x1a8391['bytes']===Array?Array['prototype']['slice']['call'](_0x118a61['data1']):_0x118a61['data1']),_0x28035f;},_0x480a2e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x480a2e['getTypeUrl']=function(_0x5c7395){return void 0x0===_0x5c7395&&(_0x5c7395='type.googleapis.com'),_0x5c7395+'/StringBytesPacketDataMessage';},_0x480a2e;}()),_0x59f061['PacketOptionsMessage']=(function(){function _0x189316(_0x573b89){if(this['rooms']=[],this['except']=[],_0x573b89){for(var _0x3d52a2=Object['keys'](_0x573b89),_0x2bf98b=0x0;_0x2bf98b<_0x3d52a2['length'];++_0x2bf98b)null!=_0x573b89[_0x3d52a2[_0x2bf98b]]&&'__proto__'!==_0x3d52a2[_0x2bf98b]&&(this[_0x3d52a2[_0x2bf98b]]=_0x573b89[_0x3d52a2[_0x2bf98b]]);}}return _0x189316['prototype']['flags']='',_0x189316['prototype']['rooms']=_0x6b5d1['emptyArray'],_0x189316['prototype']['except']=_0x6b5d1['emptyArray'],_0x189316['create']=function(_0xa5a17a){return new _0x189316(_0xa5a17a);},_0x189316['encode']=function(_0x1bc470,_0x177b81){if(_0x177b81||(_0x177b81=_0x5cad89['create']()),null!=_0x1bc470['flags']&&Object['hasOwnProperty']['call'](_0x1bc470,'flags')&&_0x177b81['uint32'](0xa)['string'](_0x1bc470['flags']),null!=_0x1bc470['rooms']&&_0x1bc470['rooms']['length']){for(var _0x3d69b8=0x0;_0x3d69b8<_0x1bc470['rooms']['length'];++_0x3d69b8)_0x177b81['uint32'](0x12)['string'](_0x1bc470['rooms'][_0x3d69b8]);}if(null!=_0x1bc470['except']&&_0x1bc470['except']['length']){for(_0x3d69b8=0x0;_0x3d69b8<_0x1bc470['except']['length'];++_0x3d69b8)_0x177b81['uint32'](0x1a)['string'](_0x1bc470['except'][_0x3d69b8]);}return _0x177b81;},_0x189316['encodeDelimited']=function(_0x4a271a,_0x363962){return this['encode'](_0x4a271a,_0x363962)['ldelim']();},_0x189316['decode']=function(_0x105ab8,_0x5d7286,_0x14d69c,_0x5d4599){if(_0x105ab8 instanceof _0x15a427||(_0x105ab8=_0x15a427['create'](_0x105ab8)),void 0x0===_0x5d4599&&(_0x5d4599=0x0),_0x5d4599>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4e7803=void 0x0===_0x5d7286?_0x105ab8['len']:_0x105ab8['pos']+_0x5d7286,_0x3702a0=new _0x59f061['PacketOptionsMessage']();_0x105ab8['pos']<_0x4e7803;){var _0x13e61a=_0x105ab8['uint32']();if(_0x13e61a===_0x14d69c)break;switch(_0x13e61a>>>0x3){case 0x1:_0x3702a0['flags']=_0x105ab8['string']();break;case 0x2:_0x3702a0['rooms']&&_0x3702a0['rooms']['length']||(_0x3702a0['rooms']=[]),_0x3702a0['rooms']['push'](_0x105ab8['string']());break;case 0x3:_0x3702a0['except']&&_0x3702a0['except']['length']||(_0x3702a0['except']=[]),_0x3702a0['except']['push'](_0x105ab8['string']());break;default:_0x105ab8['skipType'](0x7&_0x13e61a,_0x5d4599);}}return _0x3702a0;},_0x189316['decodeDelimited']=function(_0x478375){return _0x478375 instanceof _0x15a427||(_0x478375=new _0x15a427(_0x478375)),this['decode'](_0x478375,_0x478375['uint32']());},_0x189316['verify']=function(_0x2df855,_0x4dc7da){if('object'!=typeof _0x2df855||null===_0x2df855)return'object\x20expected';if(void 0x0===_0x4dc7da&&(_0x4dc7da=0x0),_0x4dc7da>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2df855['flags']&&_0x2df855['hasOwnProperty']('flags')&&!_0x6b5d1['isString'](_0x2df855['flags']))return'flags:\x20string\x20expected';if(null!=_0x2df855['rooms']&&_0x2df855['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x2df855['rooms']))return'rooms:\x20array\x20expected';for(var _0x2fe9b0=0x0;_0x2fe9b0<_0x2df855['rooms']['length'];++_0x2fe9b0)if(!_0x6b5d1['isString'](_0x2df855['rooms'][_0x2fe9b0]))return'rooms:\x20string[]\x20expected';}if(null!=_0x2df855['except']&&_0x2df855['hasOwnProperty']('except')){if(!Array['isArray'](_0x2df855['except']))return'except:\x20array\x20expected';for(_0x2fe9b0=0x0;_0x2fe9b0<_0x2df855['except']['length'];++_0x2fe9b0)if(!_0x6b5d1['isString'](_0x2df855['except'][_0x2fe9b0]))return'except:\x20string[]\x20expected';}return null;},_0x189316['fromObject']=function(_0x3d2e73,_0x4bab0b){if(_0x3d2e73 instanceof _0x59f061['PacketOptionsMessage'])return _0x3d2e73;if(void 0x0===_0x4bab0b&&(_0x4bab0b=0x0),_0x4bab0b>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x53ee0b=new _0x59f061['PacketOptionsMessage']();if(null!=_0x3d2e73['flags']&&(_0x53ee0b['flags']=String(_0x3d2e73['flags'])),_0x3d2e73['rooms']){if(!Array['isArray'](_0x3d2e73['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x53ee0b['rooms']=[];for(var _0x44f378=0x0;_0x44f378<_0x3d2e73['rooms']['length'];++_0x44f378)_0x53ee0b['rooms'][_0x44f378]=String(_0x3d2e73['rooms'][_0x44f378]);}if(_0x3d2e73['except']){if(!Array['isArray'](_0x3d2e73['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x53ee0b['except']=[],_0x44f378=0x0;_0x44f378<_0x3d2e73['except']['length'];++_0x44f378)_0x53ee0b['except'][_0x44f378]=String(_0x3d2e73['except'][_0x44f378]);}return _0x53ee0b;},_0x189316['toObject']=function(_0x1adf2c,_0x2298d6){_0x2298d6||(_0x2298d6={});var _0x2cbab4={};if((_0x2298d6['arrays']||_0x2298d6['defaults'])&&(_0x2cbab4['rooms']=[],_0x2cbab4['except']=[]),_0x2298d6['defaults']&&(_0x2cbab4['flags']=''),null!=_0x1adf2c['flags']&&_0x1adf2c['hasOwnProperty']('flags')&&(_0x2cbab4['flags']=_0x1adf2c['flags']),_0x1adf2c['rooms']&&_0x1adf2c['rooms']['length']){_0x2cbab4['rooms']=[];for(var _0x44de65=0x0;_0x44de65<_0x1adf2c['rooms']['length'];++_0x44de65)_0x2cbab4['rooms'][_0x44de65]=_0x1adf2c['rooms'][_0x44de65];}if(_0x1adf2c['except']&&_0x1adf2c['except']['length']){for(_0x2cbab4['except']=[],_0x44de65=0x0;_0x44de65<_0x1adf2c['except']['length'];++_0x44de65)_0x2cbab4['except'][_0x44de65]=_0x1adf2c['except'][_0x44de65];}return _0x2cbab4;},_0x189316['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x189316['getTypeUrl']=function(_0x30cd86){return void 0x0===_0x30cd86&&(_0x30cd86='type.googleapis.com'),_0x30cd86+'/PacketOptionsMessage';},_0x189316;}()),_0x59f061['PacketMessage']=(function(){function _0x156af5(_0x21e7d5){if(_0x21e7d5){for(var _0x3bd1cc=Object['keys'](_0x21e7d5),_0x599c95=0x0;_0x599c95<_0x3bd1cc['length'];++_0x599c95)null!=_0x21e7d5[_0x3bd1cc[_0x599c95]]&&'__proto__'!==_0x3bd1cc[_0x599c95]&&(this[_0x3bd1cc[_0x599c95]]=_0x21e7d5[_0x3bd1cc[_0x599c95]]);}}return _0x156af5['prototype']['type']=0x0,_0x156af5['prototype']['id']=0x0,_0x156af5['prototype']['nsp']='',_0x156af5['prototype']['data']=_0x6b5d1['newBuffer']([]),_0x156af5['prototype']['options']=_0x6b5d1['newBuffer']([]),_0x156af5['create']=function(_0xdf12bd){return new _0x156af5(_0xdf12bd);},_0x156af5['encode']=function(_0x27c40a,_0x150ae0){return _0x150ae0||(_0x150ae0=_0x5cad89['create']()),null!=_0x27c40a['type']&&Object['hasOwnProperty']['call'](_0x27c40a,'type')&&_0x150ae0['uint32'](0x8)['uint32'](_0x27c40a['type']),null!=_0x27c40a['id']&&Object['hasOwnProperty']['call'](_0x27c40a,'id')&&_0x150ae0['uint32'](0x10)['uint32'](_0x27c40a['id']),null!=_0x27c40a['nsp']&&Object['hasOwnProperty']['call'](_0x27c40a,'nsp')&&_0x150ae0['uint32'](0x1a)['string'](_0x27c40a['nsp']),null!=_0x27c40a['data']&&Object['hasOwnProperty']['call'](_0x27c40a,'data')&&_0x150ae0['uint32'](0x22)['bytes'](_0x27c40a['data']),null!=_0x27c40a['options']&&Object['hasOwnProperty']['call'](_0x27c40a,'options')&&_0x150ae0['uint32'](0x2a)['bytes'](_0x27c40a['options']),_0x150ae0;},_0x156af5['encodeDelimited']=function(_0x2dceec,_0x4e3d37){return this['encode'](_0x2dceec,_0x4e3d37)['ldelim']();},_0x156af5['decode']=function(_0x63944e,_0x22deb9,_0x410f17,_0xd56708){if(_0x63944e instanceof _0x15a427||(_0x63944e=_0x15a427['create'](_0x63944e)),void 0x0===_0xd56708&&(_0xd56708=0x0),_0xd56708>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x14928c=void 0x0===_0x22deb9?_0x63944e['len']:_0x63944e['pos']+_0x22deb9,_0x5cad7f=new _0x59f061['PacketMessage']();_0x63944e['pos']<_0x14928c;){var _0x2c0fbd=_0x63944e['uint32']();if(_0x2c0fbd===_0x410f17)break;switch(_0x2c0fbd>>>0x3){case 0x1:_0x5cad7f['type']=_0x63944e['uint32']();break;case 0x2:_0x5cad7f['id']=_0x63944e['uint32']();break;case 0x3:_0x5cad7f['nsp']=_0x63944e['string']();break;case 0x4:_0x5cad7f['data']=_0x63944e['bytes']();break;case 0x5:_0x5cad7f['options']=_0x63944e['bytes']();break;default:_0x63944e['skipType'](0x7&_0x2c0fbd,_0xd56708);}}return _0x5cad7f;},_0x156af5['decodeDelimited']=function(_0x41b351){return _0x41b351 instanceof _0x15a427||(_0x41b351=new _0x15a427(_0x41b351)),this['decode'](_0x41b351,_0x41b351['uint32']());},_0x156af5['verify']=function(_0x2e9307,_0xb6d315){return'object'!=typeof _0x2e9307||null===_0x2e9307?'object\x20expected':(void 0x0===_0xb6d315&&(_0xb6d315=0x0),_0xb6d315>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2e9307['type']&&_0x2e9307['hasOwnProperty']('type')&&!_0x6b5d1['isInteger'](_0x2e9307['type'])?'type:\x20integer\x20expected':null!=_0x2e9307['id']&&_0x2e9307['hasOwnProperty']('id')&&!_0x6b5d1['isInteger'](_0x2e9307['id'])?'id:\x20integer\x20expected':null!=_0x2e9307['nsp']&&_0x2e9307['hasOwnProperty']('nsp')&&!_0x6b5d1['isString'](_0x2e9307['nsp'])?'nsp:\x20string\x20expected':null!=_0x2e9307['data']&&_0x2e9307['hasOwnProperty']('data')&&!(_0x2e9307['data']&&'number'==typeof _0x2e9307['data']['length']||_0x6b5d1['isString'](_0x2e9307['data']))?'data:\x20buffer\x20expected':null!=_0x2e9307['options']&&_0x2e9307['hasOwnProperty']('options')&&!(_0x2e9307['options']&&'number'==typeof _0x2e9307['options']['length']||_0x6b5d1['isString'](_0x2e9307['options']))?'options:\x20buffer\x20expected':null);},_0x156af5['fromObject']=function(_0x5f7788,_0x43c3f0){if(_0x5f7788 instanceof _0x59f061['PacketMessage'])return _0x5f7788;if(void 0x0===_0x43c3f0&&(_0x43c3f0=0x0),_0x43c3f0>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x262644=new _0x59f061['PacketMessage']();return null!=_0x5f7788['type']&&(_0x262644['type']=_0x5f7788['type']>>>0x0),null!=_0x5f7788['id']&&(_0x262644['id']=_0x5f7788['id']>>>0x0),null!=_0x5f7788['nsp']&&(_0x262644['nsp']=String(_0x5f7788['nsp'])),null!=_0x5f7788['data']&&('string'==typeof _0x5f7788['data']?_0x6b5d1['base64']['decode'](_0x5f7788['data'],_0x262644['data']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x5f7788['data'])),0x0):_0x5f7788['data']['length']>=0x0&&(_0x262644['data']=_0x5f7788['data'])),null!=_0x5f7788['options']&&('string'==typeof _0x5f7788['options']?_0x6b5d1['base64']['decode'](_0x5f7788['options'],_0x262644['options']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x5f7788['options'])),0x0):_0x5f7788['options']['length']>=0x0&&(_0x262644['options']=_0x5f7788['options'])),_0x262644;},_0x156af5['toObject']=function(_0xc5448c,_0xb0edb1){_0xb0edb1||(_0xb0edb1={});var _0x23faed={};return _0xb0edb1['defaults']&&(_0x23faed['type']=0x0,_0x23faed['id']=0x0,_0x23faed['nsp']='',_0xb0edb1['bytes']===String?_0x23faed['data']='':(_0x23faed['data']=[],_0xb0edb1['bytes']!==Array&&(_0x23faed['data']=_0x6b5d1['newBuffer'](_0x23faed['data']))),_0xb0edb1['bytes']===String?_0x23faed['options']='':(_0x23faed['options']=[],_0xb0edb1['bytes']!==Array&&(_0x23faed['options']=_0x6b5d1['newBuffer'](_0x23faed['options'])))),null!=_0xc5448c['type']&&_0xc5448c['hasOwnProperty']('type')&&(_0x23faed['type']=_0xc5448c['type']),null!=_0xc5448c['id']&&_0xc5448c['hasOwnProperty']('id')&&(_0x23faed['id']=_0xc5448c['id']),null!=_0xc5448c['nsp']&&_0xc5448c['hasOwnProperty']('nsp')&&(_0x23faed['nsp']=_0xc5448c['nsp']),null!=_0xc5448c['data']&&_0xc5448c['hasOwnProperty']('data')&&(_0x23faed['data']=_0xb0edb1['bytes']===String?_0x6b5d1['base64']['encode'](_0xc5448c['data'],0x0,_0xc5448c['data']['length']):_0xb0edb1['bytes']===Array?Array['prototype']['slice']['call'](_0xc5448c['data']):_0xc5448c['data']),null!=_0xc5448c['options']&&_0xc5448c['hasOwnProperty']('options')&&(_0x23faed['options']=_0xb0edb1['bytes']===String?_0x6b5d1['base64']['encode'](_0xc5448c['options'],0x0,_0xc5448c['options']['length']):_0xb0edb1['bytes']===Array?Array['prototype']['slice']['call'](_0xc5448c['options']):_0xc5448c['options']),_0x23faed;},_0x156af5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x156af5['getTypeUrl']=function(_0x5e2282){return void 0x0===_0x5e2282&&(_0x5e2282='type.googleapis.com'),_0x5e2282+'/PacketMessage';},_0x156af5;}()),_0x59f061['ObjectObjectPacketDataMessage']=(function(){function _0x4df93d(_0x2ccb9d){if(_0x2ccb9d){for(var _0x6b7d9a=Object['keys'](_0x2ccb9d),_0x25f80b=0x0;_0x25f80b<_0x6b7d9a['length'];++_0x25f80b)null!=_0x2ccb9d[_0x6b7d9a[_0x25f80b]]&&'__proto__'!==_0x6b7d9a[_0x25f80b]&&(this[_0x6b7d9a[_0x25f80b]]=_0x2ccb9d[_0x6b7d9a[_0x25f80b]]);}}return _0x4df93d['prototype']['data']='',_0x4df93d['prototype']['data1']='',_0x4df93d['create']=function(_0x79a362){return new _0x4df93d(_0x79a362);},_0x4df93d['encode']=function(_0x31f1a5,_0xda62ea){return _0xda62ea||(_0xda62ea=_0x5cad89['create']()),null!=_0x31f1a5['data']&&Object['hasOwnProperty']['call'](_0x31f1a5,'data')&&_0xda62ea['uint32'](0xa)['string'](_0x31f1a5['data']),null!=_0x31f1a5['data1']&&Object['hasOwnProperty']['call'](_0x31f1a5,'data1')&&_0xda62ea['uint32'](0x12)['string'](_0x31f1a5['data1']),_0xda62ea;},_0x4df93d['encodeDelimited']=function(_0x46c8a5,_0x474677){return this['encode'](_0x46c8a5,_0x474677)['ldelim']();},_0x4df93d['decode']=function(_0x44e871,_0x49e8ec,_0x50f448,_0x27e91d){if(_0x44e871 instanceof _0x15a427||(_0x44e871=_0x15a427['create'](_0x44e871)),void 0x0===_0x27e91d&&(_0x27e91d=0x0),_0x27e91d>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1cbdd6=void 0x0===_0x49e8ec?_0x44e871['len']:_0x44e871['pos']+_0x49e8ec,_0x1c9255=new _0x59f061['ObjectObjectPacketDataMessage']();_0x44e871['pos']<_0x1cbdd6;){var _0x25bd16=_0x44e871['uint32']();if(_0x25bd16===_0x50f448)break;switch(_0x25bd16>>>0x3){case 0x1:_0x1c9255['data']=_0x44e871['string']();break;case 0x2:_0x1c9255['data1']=_0x44e871['string']();break;default:_0x44e871['skipType'](0x7&_0x25bd16,_0x27e91d);}}return _0x1c9255;},_0x4df93d['decodeDelimited']=function(_0x54c5d0){return _0x54c5d0 instanceof _0x15a427||(_0x54c5d0=new _0x15a427(_0x54c5d0)),this['decode'](_0x54c5d0,_0x54c5d0['uint32']());},_0x4df93d['verify']=function(_0xf807d8,_0x57e9b6){return'object'!=typeof _0xf807d8||null===_0xf807d8?'object\x20expected':(void 0x0===_0x57e9b6&&(_0x57e9b6=0x0),_0x57e9b6>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xf807d8['data']&&_0xf807d8['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0xf807d8['data'])?'data:\x20string\x20expected':null!=_0xf807d8['data1']&&_0xf807d8['hasOwnProperty']('data1')&&!_0x6b5d1['isString'](_0xf807d8['data1'])?'data1:\x20string\x20expected':null);},_0x4df93d['fromObject']=function(_0x5a0736,_0x491bf2){if(_0x5a0736 instanceof _0x59f061['ObjectObjectPacketDataMessage'])return _0x5a0736;if(void 0x0===_0x491bf2&&(_0x491bf2=0x0),_0x491bf2>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x443845=new _0x59f061['ObjectObjectPacketDataMessage']();return null!=_0x5a0736['data']&&(_0x443845['data']=String(_0x5a0736['data'])),null!=_0x5a0736['data1']&&(_0x443845['data1']=String(_0x5a0736['data1'])),_0x443845;},_0x4df93d['toObject']=function(_0x1fc383,_0x53d47b){_0x53d47b||(_0x53d47b={});var _0x5e0666={};return _0x53d47b['defaults']&&(_0x5e0666['data']='',_0x5e0666['data1']=''),null!=_0x1fc383['data']&&_0x1fc383['hasOwnProperty']('data')&&(_0x5e0666['data']=_0x1fc383['data']),null!=_0x1fc383['data1']&&_0x1fc383['hasOwnProperty']('data1')&&(_0x5e0666['data1']=_0x1fc383['data1']),_0x5e0666;},_0x4df93d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4df93d['getTypeUrl']=function(_0x2ce183){return void 0x0===_0x2ce183&&(_0x2ce183='type.googleapis.com'),_0x2ce183+'/ObjectObjectPacketDataMessage';},_0x4df93d;}()),_0x59f061['ObjectBufferPacketDataMessage']=(function(){function _0x55dd56(_0x166452){if(_0x166452){for(var _0x3c8ad7=Object['keys'](_0x166452),_0x1f4188=0x0;_0x1f4188<_0x3c8ad7['length'];++_0x1f4188)null!=_0x166452[_0x3c8ad7[_0x1f4188]]&&'__proto__'!==_0x3c8ad7[_0x1f4188]&&(this[_0x3c8ad7[_0x1f4188]]=_0x166452[_0x3c8ad7[_0x1f4188]]);}}return _0x55dd56['prototype']['data']='',_0x55dd56['prototype']['data1']=_0x6b5d1['newBuffer']([]),_0x55dd56['create']=function(_0x55250c){return new _0x55dd56(_0x55250c);},_0x55dd56['encode']=function(_0x230e13,_0x2e11f2){return _0x2e11f2||(_0x2e11f2=_0x5cad89['create']()),null!=_0x230e13['data']&&Object['hasOwnProperty']['call'](_0x230e13,'data')&&_0x2e11f2['uint32'](0xa)['string'](_0x230e13['data']),null!=_0x230e13['data1']&&Object['hasOwnProperty']['call'](_0x230e13,'data1')&&_0x2e11f2['uint32'](0x12)['bytes'](_0x230e13['data1']),_0x2e11f2;},_0x55dd56['encodeDelimited']=function(_0x4c660a,_0x9dd0b6){return this['encode'](_0x4c660a,_0x9dd0b6)['ldelim']();},_0x55dd56['decode']=function(_0x1c685e,_0x5d0388,_0xaba4ff,_0x489f80){if(_0x1c685e instanceof _0x15a427||(_0x1c685e=_0x15a427['create'](_0x1c685e)),void 0x0===_0x489f80&&(_0x489f80=0x0),_0x489f80>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x173468=void 0x0===_0x5d0388?_0x1c685e['len']:_0x1c685e['pos']+_0x5d0388,_0x423ce2=new _0x59f061['ObjectBufferPacketDataMessage']();_0x1c685e['pos']<_0x173468;){var _0x4542b9=_0x1c685e['uint32']();if(_0x4542b9===_0xaba4ff)break;switch(_0x4542b9>>>0x3){case 0x1:_0x423ce2['data']=_0x1c685e['string']();break;case 0x2:_0x423ce2['data1']=_0x1c685e['bytes']();break;default:_0x1c685e['skipType'](0x7&_0x4542b9,_0x489f80);}}return _0x423ce2;},_0x55dd56['decodeDelimited']=function(_0x994585){return _0x994585 instanceof _0x15a427||(_0x994585=new _0x15a427(_0x994585)),this['decode'](_0x994585,_0x994585['uint32']());},_0x55dd56['verify']=function(_0x57c8cd,_0x44f7ed){return'object'!=typeof _0x57c8cd||null===_0x57c8cd?'object\x20expected':(void 0x0===_0x44f7ed&&(_0x44f7ed=0x0),_0x44f7ed>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x57c8cd['data']&&_0x57c8cd['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x57c8cd['data'])?'data:\x20string\x20expected':null!=_0x57c8cd['data1']&&_0x57c8cd['hasOwnProperty']('data1')&&!(_0x57c8cd['data1']&&'number'==typeof _0x57c8cd['data1']['length']||_0x6b5d1['isString'](_0x57c8cd['data1']))?'data1:\x20buffer\x20expected':null);},_0x55dd56['fromObject']=function(_0x18a285,_0x4a1ce5){if(_0x18a285 instanceof _0x59f061['ObjectBufferPacketDataMessage'])return _0x18a285;if(void 0x0===_0x4a1ce5&&(_0x4a1ce5=0x0),_0x4a1ce5>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5bcf19=new _0x59f061['ObjectBufferPacketDataMessage']();return null!=_0x18a285['data']&&(_0x5bcf19['data']=String(_0x18a285['data'])),null!=_0x18a285['data1']&&('string'==typeof _0x18a285['data1']?_0x6b5d1['base64']['decode'](_0x18a285['data1'],_0x5bcf19['data1']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x18a285['data1'])),0x0):_0x18a285['data1']['length']>=0x0&&(_0x5bcf19['data1']=_0x18a285['data1'])),_0x5bcf19;},_0x55dd56['toObject']=function(_0x76dac1,_0x387331){_0x387331||(_0x387331={});var _0x4b1e32={};return _0x387331['defaults']&&(_0x4b1e32['data']='',_0x387331['bytes']===String?_0x4b1e32['data1']='':(_0x4b1e32['data1']=[],_0x387331['bytes']!==Array&&(_0x4b1e32['data1']=_0x6b5d1['newBuffer'](_0x4b1e32['data1'])))),null!=_0x76dac1['data']&&_0x76dac1['hasOwnProperty']('data')&&(_0x4b1e32['data']=_0x76dac1['data']),null!=_0x76dac1['data1']&&_0x76dac1['hasOwnProperty']('data1')&&(_0x4b1e32['data1']=_0x387331['bytes']===String?_0x6b5d1['base64']['encode'](_0x76dac1['data1'],0x0,_0x76dac1['data1']['length']):_0x387331['bytes']===Array?Array['prototype']['slice']['call'](_0x76dac1['data1']):_0x76dac1['data1']),_0x4b1e32;},_0x55dd56['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x55dd56['getTypeUrl']=function(_0x14cc1e){return void 0x0===_0x14cc1e&&(_0x14cc1e='type.googleapis.com'),_0x14cc1e+'/ObjectBufferPacketDataMessage';},_0x55dd56;}()),_0x59f061['NumberStringPacketDataMessage']=(function(){function _0x106ce0(_0x28e42c){if(_0x28e42c){for(var _0x31e68d=Object['keys'](_0x28e42c),_0xc7f2fa=0x0;_0xc7f2fa<_0x31e68d['length'];++_0xc7f2fa)null!=_0x28e42c[_0x31e68d[_0xc7f2fa]]&&'__proto__'!==_0x31e68d[_0xc7f2fa]&&(this[_0x31e68d[_0xc7f2fa]]=_0x28e42c[_0x31e68d[_0xc7f2fa]]);}}return _0x106ce0['prototype']['data']=0x0,_0x106ce0['prototype']['data1']='',_0x106ce0['create']=function(_0x37716d){return new _0x106ce0(_0x37716d);},_0x106ce0['encode']=function(_0x3a5414,_0x1051c8){return _0x1051c8||(_0x1051c8=_0x5cad89['create']()),null!=_0x3a5414['data']&&Object['hasOwnProperty']['call'](_0x3a5414,'data')&&_0x1051c8['uint32'](0x8)['uint32'](_0x3a5414['data']),null!=_0x3a5414['data1']&&Object['hasOwnProperty']['call'](_0x3a5414,'data1')&&_0x1051c8['uint32'](0x12)['string'](_0x3a5414['data1']),_0x1051c8;},_0x106ce0['encodeDelimited']=function(_0x5b8bb5,_0x306bb6){return this['encode'](_0x5b8bb5,_0x306bb6)['ldelim']();},_0x106ce0['decode']=function(_0x1b9f75,_0x36e34c,_0x540c48,_0x24f024){if(_0x1b9f75 instanceof _0x15a427||(_0x1b9f75=_0x15a427['create'](_0x1b9f75)),void 0x0===_0x24f024&&(_0x24f024=0x0),_0x24f024>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a29c3=void 0x0===_0x36e34c?_0x1b9f75['len']:_0x1b9f75['pos']+_0x36e34c,_0x43b7e3=new _0x59f061['NumberStringPacketDataMessage']();_0x1b9f75['pos']<_0x3a29c3;){var _0xa44c51=_0x1b9f75['uint32']();if(_0xa44c51===_0x540c48)break;switch(_0xa44c51>>>0x3){case 0x1:_0x43b7e3['data']=_0x1b9f75['uint32']();break;case 0x2:_0x43b7e3['data1']=_0x1b9f75['string']();break;default:_0x1b9f75['skipType'](0x7&_0xa44c51,_0x24f024);}}return _0x43b7e3;},_0x106ce0['decodeDelimited']=function(_0xd565fc){return _0xd565fc instanceof _0x15a427||(_0xd565fc=new _0x15a427(_0xd565fc)),this['decode'](_0xd565fc,_0xd565fc['uint32']());},_0x106ce0['verify']=function(_0x250af1,_0x585a71){return'object'!=typeof _0x250af1||null===_0x250af1?'object\x20expected':(void 0x0===_0x585a71&&(_0x585a71=0x0),_0x585a71>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x250af1['data']&&_0x250af1['hasOwnProperty']('data')&&!_0x6b5d1['isInteger'](_0x250af1['data'])?'data:\x20integer\x20expected':null!=_0x250af1['data1']&&_0x250af1['hasOwnProperty']('data1')&&!_0x6b5d1['isString'](_0x250af1['data1'])?'data1:\x20string\x20expected':null);},_0x106ce0['fromObject']=function(_0x232eec,_0x11f8f7){if(_0x232eec instanceof _0x59f061['NumberStringPacketDataMessage'])return _0x232eec;if(void 0x0===_0x11f8f7&&(_0x11f8f7=0x0),_0x11f8f7>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ef709=new _0x59f061['NumberStringPacketDataMessage']();return null!=_0x232eec['data']&&(_0x2ef709['data']=_0x232eec['data']>>>0x0),null!=_0x232eec['data1']&&(_0x2ef709['data1']=String(_0x232eec['data1'])),_0x2ef709;},_0x106ce0['toObject']=function(_0x3eec56,_0x22a695){_0x22a695||(_0x22a695={});var _0x3085d7={};return _0x22a695['defaults']&&(_0x3085d7['data']=0x0,_0x3085d7['data1']=''),null!=_0x3eec56['data']&&_0x3eec56['hasOwnProperty']('data')&&(_0x3085d7['data']=_0x3eec56['data']),null!=_0x3eec56['data1']&&_0x3eec56['hasOwnProperty']('data1')&&(_0x3085d7['data1']=_0x3eec56['data1']),_0x3085d7;},_0x106ce0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x106ce0['getTypeUrl']=function(_0x3f9bd2){return void 0x0===_0x3f9bd2&&(_0x3f9bd2='type.googleapis.com'),_0x3f9bd2+'/NumberStringPacketDataMessage';},_0x106ce0;}()),_0x59f061['NumberObjectPacketDataMessage']=(function(){function _0xbc01c(_0x25253b){if(_0x25253b){for(var _0x158ceb=Object['keys'](_0x25253b),_0x2104c0=0x0;_0x2104c0<_0x158ceb['length'];++_0x2104c0)null!=_0x25253b[_0x158ceb[_0x2104c0]]&&'__proto__'!==_0x158ceb[_0x2104c0]&&(this[_0x158ceb[_0x2104c0]]=_0x25253b[_0x158ceb[_0x2104c0]]);}}return _0xbc01c['prototype']['data']=0x0,_0xbc01c['prototype']['data1']='',_0xbc01c['create']=function(_0x691dfa){return new _0xbc01c(_0x691dfa);},_0xbc01c['encode']=function(_0x625058,_0x1a3ec4){return _0x1a3ec4||(_0x1a3ec4=_0x5cad89['create']()),null!=_0x625058['data']&&Object['hasOwnProperty']['call'](_0x625058,'data')&&_0x1a3ec4['uint32'](0x8)['uint32'](_0x625058['data']),null!=_0x625058['data1']&&Object['hasOwnProperty']['call'](_0x625058,'data1')&&_0x1a3ec4['uint32'](0x12)['string'](_0x625058['data1']),_0x1a3ec4;},_0xbc01c['encodeDelimited']=function(_0xd45b2c,_0x214681){return this['encode'](_0xd45b2c,_0x214681)['ldelim']();},_0xbc01c['decode']=function(_0x510340,_0x3f2392,_0x1b9d62,_0x3b4908){if(_0x510340 instanceof _0x15a427||(_0x510340=_0x15a427['create'](_0x510340)),void 0x0===_0x3b4908&&(_0x3b4908=0x0),_0x3b4908>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x59f654=void 0x0===_0x3f2392?_0x510340['len']:_0x510340['pos']+_0x3f2392,_0x339bfb=new _0x59f061['NumberObjectPacketDataMessage']();_0x510340['pos']<_0x59f654;){var _0x3ae686=_0x510340['uint32']();if(_0x3ae686===_0x1b9d62)break;switch(_0x3ae686>>>0x3){case 0x1:_0x339bfb['data']=_0x510340['uint32']();break;case 0x2:_0x339bfb['data1']=_0x510340['string']();break;default:_0x510340['skipType'](0x7&_0x3ae686,_0x3b4908);}}return _0x339bfb;},_0xbc01c['decodeDelimited']=function(_0x50d595){return _0x50d595 instanceof _0x15a427||(_0x50d595=new _0x15a427(_0x50d595)),this['decode'](_0x50d595,_0x50d595['uint32']());},_0xbc01c['verify']=function(_0x2c087e,_0x3b8085){return'object'!=typeof _0x2c087e||null===_0x2c087e?'object\x20expected':(void 0x0===_0x3b8085&&(_0x3b8085=0x0),_0x3b8085>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2c087e['data']&&_0x2c087e['hasOwnProperty']('data')&&!_0x6b5d1['isInteger'](_0x2c087e['data'])?'data:\x20integer\x20expected':null!=_0x2c087e['data1']&&_0x2c087e['hasOwnProperty']('data1')&&!_0x6b5d1['isString'](_0x2c087e['data1'])?'data1:\x20string\x20expected':null);},_0xbc01c['fromObject']=function(_0x3ac276,_0x44739a){if(_0x3ac276 instanceof _0x59f061['NumberObjectPacketDataMessage'])return _0x3ac276;if(void 0x0===_0x44739a&&(_0x44739a=0x0),_0x44739a>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3c7dfb=new _0x59f061['NumberObjectPacketDataMessage']();return null!=_0x3ac276['data']&&(_0x3c7dfb['data']=_0x3ac276['data']>>>0x0),null!=_0x3ac276['data1']&&(_0x3c7dfb['data1']=String(_0x3ac276['data1'])),_0x3c7dfb;},_0xbc01c['toObject']=function(_0x3f2da7,_0x4504e5){_0x4504e5||(_0x4504e5={});var _0x4d5c99={};return _0x4504e5['defaults']&&(_0x4d5c99['data']=0x0,_0x4d5c99['data1']=''),null!=_0x3f2da7['data']&&_0x3f2da7['hasOwnProperty']('data')&&(_0x4d5c99['data']=_0x3f2da7['data']),null!=_0x3f2da7['data1']&&_0x3f2da7['hasOwnProperty']('data1')&&(_0x4d5c99['data1']=_0x3f2da7['data1']),_0x4d5c99;},_0xbc01c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0xbc01c['getTypeUrl']=function(_0x4e3cc3){return void 0x0===_0x4e3cc3&&(_0x4e3cc3='type.googleapis.com'),_0x4e3cc3+'/NumberObjectPacketDataMessage';},_0xbc01c;}()),_0x59f061['NumberNumberPacketDataMessage']=(function(){function _0x13f202(_0xb2bf16){if(_0xb2bf16){for(var _0x1df2f6=Object['keys'](_0xb2bf16),_0x1884c3=0x0;_0x1884c3<_0x1df2f6['length'];++_0x1884c3)null!=_0xb2bf16[_0x1df2f6[_0x1884c3]]&&'__proto__'!==_0x1df2f6[_0x1884c3]&&(this[_0x1df2f6[_0x1884c3]]=_0xb2bf16[_0x1df2f6[_0x1884c3]]);}}return _0x13f202['prototype']['data']=0x0,_0x13f202['prototype']['data1']=0x0,_0x13f202['create']=function(_0x11100e){return new _0x13f202(_0x11100e);},_0x13f202['encode']=function(_0x2290ca,_0x4be686){return _0x4be686||(_0x4be686=_0x5cad89['create']()),null!=_0x2290ca['data']&&Object['hasOwnProperty']['call'](_0x2290ca,'data')&&_0x4be686['uint32'](0x8)['uint32'](_0x2290ca['data']),null!=_0x2290ca['data1']&&Object['hasOwnProperty']['call'](_0x2290ca,'data1')&&_0x4be686['uint32'](0x10)['uint32'](_0x2290ca['data1']),_0x4be686;},_0x13f202['encodeDelimited']=function(_0xcac7d9,_0x535d04){return this['encode'](_0xcac7d9,_0x535d04)['ldelim']();},_0x13f202['decode']=function(_0x15ae05,_0x2d93f3,_0x3addc0,_0xc8894){if(_0x15ae05 instanceof _0x15a427||(_0x15ae05=_0x15a427['create'](_0x15ae05)),void 0x0===_0xc8894&&(_0xc8894=0x0),_0xc8894>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x305ef1=void 0x0===_0x2d93f3?_0x15ae05['len']:_0x15ae05['pos']+_0x2d93f3,_0x551900=new _0x59f061['NumberNumberPacketDataMessage']();_0x15ae05['pos']<_0x305ef1;){var _0x484c4f=_0x15ae05['uint32']();if(_0x484c4f===_0x3addc0)break;switch(_0x484c4f>>>0x3){case 0x1:_0x551900['data']=_0x15ae05['uint32']();break;case 0x2:_0x551900['data1']=_0x15ae05['uint32']();break;default:_0x15ae05['skipType'](0x7&_0x484c4f,_0xc8894);}}return _0x551900;},_0x13f202['decodeDelimited']=function(_0x93e9bb){return _0x93e9bb instanceof _0x15a427||(_0x93e9bb=new _0x15a427(_0x93e9bb)),this['decode'](_0x93e9bb,_0x93e9bb['uint32']());},_0x13f202['verify']=function(_0x23ac0e,_0x26b6b5){return'object'!=typeof _0x23ac0e||null===_0x23ac0e?'object\x20expected':(void 0x0===_0x26b6b5&&(_0x26b6b5=0x0),_0x26b6b5>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x23ac0e['data']&&_0x23ac0e['hasOwnProperty']('data')&&!_0x6b5d1['isInteger'](_0x23ac0e['data'])?'data:\x20integer\x20expected':null!=_0x23ac0e['data1']&&_0x23ac0e['hasOwnProperty']('data1')&&!_0x6b5d1['isInteger'](_0x23ac0e['data1'])?'data1:\x20integer\x20expected':null);},_0x13f202['fromObject']=function(_0x989852,_0x16141f){if(_0x989852 instanceof _0x59f061['NumberNumberPacketDataMessage'])return _0x989852;if(void 0x0===_0x16141f&&(_0x16141f=0x0),_0x16141f>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x297da6=new _0x59f061['NumberNumberPacketDataMessage']();return null!=_0x989852['data']&&(_0x297da6['data']=_0x989852['data']>>>0x0),null!=_0x989852['data1']&&(_0x297da6['data1']=_0x989852['data1']>>>0x0),_0x297da6;},_0x13f202['toObject']=function(_0x177a6a,_0x316f36){_0x316f36||(_0x316f36={});var _0x2621a2={};return _0x316f36['defaults']&&(_0x2621a2['data']=0x0,_0x2621a2['data1']=0x0),null!=_0x177a6a['data']&&_0x177a6a['hasOwnProperty']('data')&&(_0x2621a2['data']=_0x177a6a['data']),null!=_0x177a6a['data1']&&_0x177a6a['hasOwnProperty']('data1')&&(_0x2621a2['data1']=_0x177a6a['data1']),_0x2621a2;},_0x13f202['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x13f202['getTypeUrl']=function(_0x3ff575){return void 0x0===_0x3ff575&&(_0x3ff575='type.googleapis.com'),_0x3ff575+'/NumberNumberPacketDataMessage';},_0x13f202;}()),_0x59f061['NumberBytesPacketDataMessage']=(function(){function _0x26ca04(_0x209bd7){if(_0x209bd7){for(var _0x2515af=Object['keys'](_0x209bd7),_0xfde915=0x0;_0xfde915<_0x2515af['length'];++_0xfde915)null!=_0x209bd7[_0x2515af[_0xfde915]]&&'__proto__'!==_0x2515af[_0xfde915]&&(this[_0x2515af[_0xfde915]]=_0x209bd7[_0x2515af[_0xfde915]]);}}return _0x26ca04['prototype']['data']=0x0,_0x26ca04['prototype']['data1']=_0x6b5d1['newBuffer']([]),_0x26ca04['create']=function(_0x4af950){return new _0x26ca04(_0x4af950);},_0x26ca04['encode']=function(_0x23d6ed,_0x624944){return _0x624944||(_0x624944=_0x5cad89['create']()),null!=_0x23d6ed['data']&&Object['hasOwnProperty']['call'](_0x23d6ed,'data')&&_0x624944['uint32'](0x8)['uint32'](_0x23d6ed['data']),null!=_0x23d6ed['data1']&&Object['hasOwnProperty']['call'](_0x23d6ed,'data1')&&_0x624944['uint32'](0x12)['bytes'](_0x23d6ed['data1']),_0x624944;},_0x26ca04['encodeDelimited']=function(_0x45ba59,_0x4f2eee){return this['encode'](_0x45ba59,_0x4f2eee)['ldelim']();},_0x26ca04['decode']=function(_0x2810f4,_0x2570ba,_0x2bb692,_0x491a55){if(_0x2810f4 instanceof _0x15a427||(_0x2810f4=_0x15a427['create'](_0x2810f4)),void 0x0===_0x491a55&&(_0x491a55=0x0),_0x491a55>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb3c89=void 0x0===_0x2570ba?_0x2810f4['len']:_0x2810f4['pos']+_0x2570ba,_0x5df0ff=new _0x59f061['NumberBytesPacketDataMessage']();_0x2810f4['pos']<_0xb3c89;){var _0x5450ba=_0x2810f4['uint32']();if(_0x5450ba===_0x2bb692)break;switch(_0x5450ba>>>0x3){case 0x1:_0x5df0ff['data']=_0x2810f4['uint32']();break;case 0x2:_0x5df0ff['data1']=_0x2810f4['bytes']();break;default:_0x2810f4['skipType'](0x7&_0x5450ba,_0x491a55);}}return _0x5df0ff;},_0x26ca04['decodeDelimited']=function(_0x2b79f6){return _0x2b79f6 instanceof _0x15a427||(_0x2b79f6=new _0x15a427(_0x2b79f6)),this['decode'](_0x2b79f6,_0x2b79f6['uint32']());},_0x26ca04['verify']=function(_0x46c8f2,_0x12468f){return'object'!=typeof _0x46c8f2||null===_0x46c8f2?'object\x20expected':(void 0x0===_0x12468f&&(_0x12468f=0x0),_0x12468f>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x46c8f2['data']&&_0x46c8f2['hasOwnProperty']('data')&&!_0x6b5d1['isInteger'](_0x46c8f2['data'])?'data:\x20integer\x20expected':null!=_0x46c8f2['data1']&&_0x46c8f2['hasOwnProperty']('data1')&&!(_0x46c8f2['data1']&&'number'==typeof _0x46c8f2['data1']['length']||_0x6b5d1['isString'](_0x46c8f2['data1']))?'data1:\x20buffer\x20expected':null);},_0x26ca04['fromObject']=function(_0x152915,_0x2727af){if(_0x152915 instanceof _0x59f061['NumberBytesPacketDataMessage'])return _0x152915;if(void 0x0===_0x2727af&&(_0x2727af=0x0),_0x2727af>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3895cb=new _0x59f061['NumberBytesPacketDataMessage']();return null!=_0x152915['data']&&(_0x3895cb['data']=_0x152915['data']>>>0x0),null!=_0x152915['data1']&&('string'==typeof _0x152915['data1']?_0x6b5d1['base64']['decode'](_0x152915['data1'],_0x3895cb['data1']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x152915['data1'])),0x0):_0x152915['data1']['length']>=0x0&&(_0x3895cb['data1']=_0x152915['data1'])),_0x3895cb;},_0x26ca04['toObject']=function(_0x116ce5,_0x5302f7){_0x5302f7||(_0x5302f7={});var _0x57f687={};return _0x5302f7['defaults']&&(_0x57f687['data']=0x0,_0x5302f7['bytes']===String?_0x57f687['data1']='':(_0x57f687['data1']=[],_0x5302f7['bytes']!==Array&&(_0x57f687['data1']=_0x6b5d1['newBuffer'](_0x57f687['data1'])))),null!=_0x116ce5['data']&&_0x116ce5['hasOwnProperty']('data')&&(_0x57f687['data']=_0x116ce5['data']),null!=_0x116ce5['data1']&&_0x116ce5['hasOwnProperty']('data1')&&(_0x57f687['data1']=_0x5302f7['bytes']===String?_0x6b5d1['base64']['encode'](_0x116ce5['data1'],0x0,_0x116ce5['data1']['length']):_0x5302f7['bytes']===Array?Array['prototype']['slice']['call'](_0x116ce5['data1']):_0x116ce5['data1']),_0x57f687;},_0x26ca04['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x26ca04['getTypeUrl']=function(_0x3fe450){return void 0x0===_0x3fe450&&(_0x3fe450='type.googleapis.com'),_0x3fe450+'/NumberBytesPacketDataMessage';},_0x26ca04;}()),_0x59f061['BytesBytesPacketDataMessage']=(function(){function _0x11ac2d(_0x16ceb7){if(_0x16ceb7){for(var _0x58ac91=Object['keys'](_0x16ceb7),_0x2106f0=0x0;_0x2106f0<_0x58ac91['length'];++_0x2106f0)null!=_0x16ceb7[_0x58ac91[_0x2106f0]]&&'__proto__'!==_0x58ac91[_0x2106f0]&&(this[_0x58ac91[_0x2106f0]]=_0x16ceb7[_0x58ac91[_0x2106f0]]);}}return _0x11ac2d['prototype']['data']=_0x6b5d1['newBuffer']([]),_0x11ac2d['prototype']['data1']=_0x6b5d1['newBuffer']([]),_0x11ac2d['create']=function(_0x44c7e2){return new _0x11ac2d(_0x44c7e2);},_0x11ac2d['encode']=function(_0xcebb04,_0x25ad20){return _0x25ad20||(_0x25ad20=_0x5cad89['create']()),null!=_0xcebb04['data']&&Object['hasOwnProperty']['call'](_0xcebb04,'data')&&_0x25ad20['uint32'](0xa)['bytes'](_0xcebb04['data']),null!=_0xcebb04['data1']&&Object['hasOwnProperty']['call'](_0xcebb04,'data1')&&_0x25ad20['uint32'](0x12)['bytes'](_0xcebb04['data1']),_0x25ad20;},_0x11ac2d['encodeDelimited']=function(_0x23b565,_0x14a1e1){return this['encode'](_0x23b565,_0x14a1e1)['ldelim']();},_0x11ac2d['decode']=function(_0x310eef,_0x1c2275,_0x300ba6,_0x20efbb){if(_0x310eef instanceof _0x15a427||(_0x310eef=_0x15a427['create'](_0x310eef)),void 0x0===_0x20efbb&&(_0x20efbb=0x0),_0x20efbb>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x325710=void 0x0===_0x1c2275?_0x310eef['len']:_0x310eef['pos']+_0x1c2275,_0x3b6a64=new _0x59f061['BytesBytesPacketDataMessage']();_0x310eef['pos']<_0x325710;){var _0x5c7f7c=_0x310eef['uint32']();if(_0x5c7f7c===_0x300ba6)break;switch(_0x5c7f7c>>>0x3){case 0x1:_0x3b6a64['data']=_0x310eef['bytes']();break;case 0x2:_0x3b6a64['data1']=_0x310eef['bytes']();break;default:_0x310eef['skipType'](0x7&_0x5c7f7c,_0x20efbb);}}return _0x3b6a64;},_0x11ac2d['decodeDelimited']=function(_0x411d82){return _0x411d82 instanceof _0x15a427||(_0x411d82=new _0x15a427(_0x411d82)),this['decode'](_0x411d82,_0x411d82['uint32']());},_0x11ac2d['verify']=function(_0x155bd5,_0x56b614){return'object'!=typeof _0x155bd5||null===_0x155bd5?'object\x20expected':(void 0x0===_0x56b614&&(_0x56b614=0x0),_0x56b614>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x155bd5['data']&&_0x155bd5['hasOwnProperty']('data')&&!(_0x155bd5['data']&&'number'==typeof _0x155bd5['data']['length']||_0x6b5d1['isString'](_0x155bd5['data']))?'data:\x20buffer\x20expected':null!=_0x155bd5['data1']&&_0x155bd5['hasOwnProperty']('data1')&&!(_0x155bd5['data1']&&'number'==typeof _0x155bd5['data1']['length']||_0x6b5d1['isString'](_0x155bd5['data1']))?'data1:\x20buffer\x20expected':null);},_0x11ac2d['fromObject']=function(_0x56243c,_0x32b1b0){if(_0x56243c instanceof _0x59f061['BytesBytesPacketDataMessage'])return _0x56243c;if(void 0x0===_0x32b1b0&&(_0x32b1b0=0x0),_0x32b1b0>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa7f630=new _0x59f061['BytesBytesPacketDataMessage']();return null!=_0x56243c['data']&&('string'==typeof _0x56243c['data']?_0x6b5d1['base64']['decode'](_0x56243c['data'],_0xa7f630['data']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x56243c['data'])),0x0):_0x56243c['data']['length']>=0x0&&(_0xa7f630['data']=_0x56243c['data'])),null!=_0x56243c['data1']&&('string'==typeof _0x56243c['data1']?_0x6b5d1['base64']['decode'](_0x56243c['data1'],_0xa7f630['data1']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x56243c['data1'])),0x0):_0x56243c['data1']['length']>=0x0&&(_0xa7f630['data1']=_0x56243c['data1'])),_0xa7f630;},_0x11ac2d['toObject']=function(_0x17b79f,_0x376095){_0x376095||(_0x376095={});var _0x4ea117={};return _0x376095['defaults']&&(_0x376095['bytes']===String?_0x4ea117['data']='':(_0x4ea117['data']=[],_0x376095['bytes']!==Array&&(_0x4ea117['data']=_0x6b5d1['newBuffer'](_0x4ea117['data']))),_0x376095['bytes']===String?_0x4ea117['data1']='':(_0x4ea117['data1']=[],_0x376095['bytes']!==Array&&(_0x4ea117['data1']=_0x6b5d1['newBuffer'](_0x4ea117['data1'])))),null!=_0x17b79f['data']&&_0x17b79f['hasOwnProperty']('data')&&(_0x4ea117['data']=_0x376095['bytes']===String?_0x6b5d1['base64']['encode'](_0x17b79f['data'],0x0,_0x17b79f['data']['length']):_0x376095['bytes']===Array?Array['prototype']['slice']['call'](_0x17b79f['data']):_0x17b79f['data']),null!=_0x17b79f['data1']&&_0x17b79f['hasOwnProperty']('data1')&&(_0x4ea117['data1']=_0x376095['bytes']===String?_0x6b5d1['base64']['encode'](_0x17b79f['data1'],0x0,_0x17b79f['data1']['length']):_0x376095['bytes']===Array?Array['prototype']['slice']['call'](_0x17b79f['data1']):_0x17b79f['data1']),_0x4ea117;},_0x11ac2d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x11ac2d['getTypeUrl']=function(_0xcd19ab){return void 0x0===_0xcd19ab&&(_0xcd19ab='type.googleapis.com'),_0xcd19ab+'/BytesBytesPacketDataMessage';},_0x11ac2d;}()),_0x59f061['ChannelMessage']=(function(){function _0x380249(_0x5d34d3){if(_0x5d34d3){for(var _0x35ca13=Object['keys'](_0x5d34d3),_0x2bc16b=0x0;_0x2bc16b<_0x35ca13['length'];++_0x2bc16b)null!=_0x5d34d3[_0x35ca13[_0x2bc16b]]&&'__proto__'!==_0x35ca13[_0x2bc16b]&&(this[_0x35ca13[_0x2bc16b]]=_0x5d34d3[_0x35ca13[_0x2bc16b]]);}}return _0x380249['prototype']['type']=0x0,_0x380249['prototype']['socketId']='',_0x380249['prototype']['data']=_0x6b5d1['newBuffer']([]),_0x380249['create']=function(_0x24da5){return new _0x380249(_0x24da5);},_0x380249['encode']=function(_0x330985,_0x3932cf){return _0x3932cf||(_0x3932cf=_0x5cad89['create']()),null!=_0x330985['type']&&Object['hasOwnProperty']['call'](_0x330985,'type')&&_0x3932cf['uint32'](0x8)['uint32'](_0x330985['type']),null!=_0x330985['socketId']&&Object['hasOwnProperty']['call'](_0x330985,'socketId')&&_0x3932cf['uint32'](0x12)['string'](_0x330985['socketId']),null!=_0x330985['data']&&Object['hasOwnProperty']['call'](_0x330985,'data')&&_0x3932cf['uint32'](0x1a)['bytes'](_0x330985['data']),_0x3932cf;},_0x380249['encodeDelimited']=function(_0x2f5662,_0x492ec8){return this['encode'](_0x2f5662,_0x492ec8)['ldelim']();},_0x380249['decode']=function(_0x59b7fb,_0x2e6549,_0x41398d,_0x51ddc8){if(_0x59b7fb instanceof _0x15a427||(_0x59b7fb=_0x15a427['create'](_0x59b7fb)),void 0x0===_0x51ddc8&&(_0x51ddc8=0x0),_0x51ddc8>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d2b01=void 0x0===_0x2e6549?_0x59b7fb['len']:_0x59b7fb['pos']+_0x2e6549,_0x22b387=new _0x59f061['ChannelMessage']();_0x59b7fb['pos']<_0x5d2b01;){var _0x2e60b1=_0x59b7fb['uint32']();if(_0x2e60b1===_0x41398d)break;switch(_0x2e60b1>>>0x3){case 0x1:_0x22b387['type']=_0x59b7fb['uint32']();break;case 0x2:_0x22b387['socketId']=_0x59b7fb['string']();break;case 0x3:_0x22b387['data']=_0x59b7fb['bytes']();break;default:_0x59b7fb['skipType'](0x7&_0x2e60b1,_0x51ddc8);}}return _0x22b387;},_0x380249['decodeDelimited']=function(_0x53f510){return _0x53f510 instanceof _0x15a427||(_0x53f510=new _0x15a427(_0x53f510)),this['decode'](_0x53f510,_0x53f510['uint32']());},_0x380249['verify']=function(_0x7eb93e,_0xb98e35){return'object'!=typeof _0x7eb93e||null===_0x7eb93e?'object\x20expected':(void 0x0===_0xb98e35&&(_0xb98e35=0x0),_0xb98e35>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x7eb93e['type']&&_0x7eb93e['hasOwnProperty']('type')&&!_0x6b5d1['isInteger'](_0x7eb93e['type'])?'type:\x20integer\x20expected':null!=_0x7eb93e['socketId']&&_0x7eb93e['hasOwnProperty']('socketId')&&!_0x6b5d1['isString'](_0x7eb93e['socketId'])?'socketId:\x20string\x20expected':null!=_0x7eb93e['data']&&_0x7eb93e['hasOwnProperty']('data')&&!(_0x7eb93e['data']&&'number'==typeof _0x7eb93e['data']['length']||_0x6b5d1['isString'](_0x7eb93e['data']))?'data:\x20buffer\x20expected':null);},_0x380249['fromObject']=function(_0xab8a5,_0x45abba){if(_0xab8a5 instanceof _0x59f061['ChannelMessage'])return _0xab8a5;if(void 0x0===_0x45abba&&(_0x45abba=0x0),_0x45abba>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbe7e00=new _0x59f061['ChannelMessage']();return null!=_0xab8a5['type']&&(_0xbe7e00['type']=_0xab8a5['type']>>>0x0),null!=_0xab8a5['socketId']&&(_0xbe7e00['socketId']=String(_0xab8a5['socketId'])),null!=_0xab8a5['data']&&('string'==typeof _0xab8a5['data']?_0x6b5d1['base64']['decode'](_0xab8a5['data'],_0xbe7e00['data']=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0xab8a5['data'])),0x0):_0xab8a5['data']['length']>=0x0&&(_0xbe7e00['data']=_0xab8a5['data'])),_0xbe7e00;},_0x380249['toObject']=function(_0x3b6b9e,_0x47a6fa){_0x47a6fa||(_0x47a6fa={});var _0x4c7f64={};return _0x47a6fa['defaults']&&(_0x4c7f64['type']=0x0,_0x4c7f64['socketId']='',_0x47a6fa['bytes']===String?_0x4c7f64['data']='':(_0x4c7f64['data']=[],_0x47a6fa['bytes']!==Array&&(_0x4c7f64['data']=_0x6b5d1['newBuffer'](_0x4c7f64['data'])))),null!=_0x3b6b9e['type']&&_0x3b6b9e['hasOwnProperty']('type')&&(_0x4c7f64['type']=_0x3b6b9e['type']),null!=_0x3b6b9e['socketId']&&_0x3b6b9e['hasOwnProperty']('socketId')&&(_0x4c7f64['socketId']=_0x3b6b9e['socketId']),null!=_0x3b6b9e['data']&&_0x3b6b9e['hasOwnProperty']('data')&&(_0x4c7f64['data']=_0x47a6fa['bytes']===String?_0x6b5d1['base64']['encode'](_0x3b6b9e['data'],0x0,_0x3b6b9e['data']['length']):_0x47a6fa['bytes']===Array?Array['prototype']['slice']['call'](_0x3b6b9e['data']):_0x3b6b9e['data']),_0x4c7f64;},_0x380249['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x380249['getTypeUrl']=function(_0x1a9a0f){return void 0x0===_0x1a9a0f&&(_0x1a9a0f='type.googleapis.com'),_0x1a9a0f+'/ChannelMessage';},_0x380249;}()),_0x59f061['GetUserResponse']=(function(){function _0x4ab8f0(_0x229c07){if(this['attributes']=[],_0x229c07){for(var _0x2c8878=Object['keys'](_0x229c07),_0x3686bc=0x0;_0x3686bc<_0x2c8878['length'];++_0x3686bc)null!=_0x229c07[_0x2c8878[_0x3686bc]]&&'__proto__'!==_0x2c8878[_0x3686bc]&&(this[_0x2c8878[_0x3686bc]]=_0x229c07[_0x2c8878[_0x3686bc]]);}}return _0x4ab8f0['prototype']['attributes']=_0x6b5d1['emptyArray'],_0x4ab8f0['create']=function(_0x31f31c){return new _0x4ab8f0(_0x31f31c);},_0x4ab8f0['encode']=function(_0x5b48b6,_0x105452){if(_0x105452||(_0x105452=_0x5cad89['create']()),null!=_0x5b48b6['attributes']&&_0x5b48b6['attributes']['length']){for(var _0x285102=0x0;_0x285102<_0x5b48b6['attributes']['length'];++_0x285102)_0x59f061['KeyValueDescriptor']['encode'](_0x5b48b6['attributes'][_0x285102],_0x105452['uint32'](0xa)['fork']())['ldelim']();}return _0x105452;},_0x4ab8f0['encodeDelimited']=function(_0x48cbc0,_0x18889c){return this['encode'](_0x48cbc0,_0x18889c)['ldelim']();},_0x4ab8f0['decode']=function(_0x5430ec,_0x1e8852,_0x3f7181,_0x46d17a){if(_0x5430ec instanceof _0x15a427||(_0x5430ec=_0x15a427['create'](_0x5430ec)),void 0x0===_0x46d17a&&(_0x46d17a=0x0),_0x46d17a>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d65dc=void 0x0===_0x1e8852?_0x5430ec['len']:_0x5430ec['pos']+_0x1e8852,_0x54a3a0=new _0x59f061['GetUserResponse']();_0x5430ec['pos']<_0x5d65dc;){var _0xda00bb=_0x5430ec['uint32']();if(_0xda00bb===_0x3f7181)break;_0xda00bb>>>0x3==0x1?(_0x54a3a0['attributes']&&_0x54a3a0['attributes']['length']||(_0x54a3a0['attributes']=[]),_0x54a3a0['attributes']['push'](_0x59f061['KeyValueDescriptor']['decode'](_0x5430ec,_0x5430ec['uint32'](),void 0x0,_0x46d17a+0x1))):_0x5430ec['skipType'](0x7&_0xda00bb,_0x46d17a);}return _0x54a3a0;},_0x4ab8f0['decodeDelimited']=function(_0x162980){return _0x162980 instanceof _0x15a427||(_0x162980=new _0x15a427(_0x162980)),this['decode'](_0x162980,_0x162980['uint32']());},_0x4ab8f0['verify']=function(_0x1411fb,_0x1540ef){if('object'!=typeof _0x1411fb||null===_0x1411fb)return'object\x20expected';if(void 0x0===_0x1540ef&&(_0x1540ef=0x0),_0x1540ef>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1411fb['attributes']&&_0x1411fb['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x1411fb['attributes']))return'attributes:\x20array\x20expected';for(var _0x55928e=0x0;_0x55928e<_0x1411fb['attributes']['length'];++_0x55928e){var _0x10e378=_0x59f061['KeyValueDescriptor']['verify'](_0x1411fb['attributes'][_0x55928e],_0x1540ef+0x1);if(_0x10e378)return'attributes.'+_0x10e378;}}return null;},_0x4ab8f0['fromObject']=function(_0x5ea543,_0x125265){if(_0x5ea543 instanceof _0x59f061['GetUserResponse'])return _0x5ea543;if(void 0x0===_0x125265&&(_0x125265=0x0),_0x125265>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x15605f=new _0x59f061['GetUserResponse']();if(_0x5ea543['attributes']){if(!Array['isArray'](_0x5ea543['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x15605f['attributes']=[];for(var _0x128c24=0x0;_0x128c24<_0x5ea543['attributes']['length'];++_0x128c24){if('object'!=typeof _0x5ea543['attributes'][_0x128c24])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x15605f['attributes'][_0x128c24]=_0x59f061['KeyValueDescriptor']['fromObject'](_0x5ea543['attributes'][_0x128c24],_0x125265+0x1);}}return _0x15605f;},_0x4ab8f0['toObject']=function(_0x2804cf,_0x1925b5){_0x1925b5||(_0x1925b5={});var _0x4814b5={};if((_0x1925b5['arrays']||_0x1925b5['defaults'])&&(_0x4814b5['attributes']=[]),_0x2804cf['attributes']&&_0x2804cf['attributes']['length']){_0x4814b5['attributes']=[];for(var _0x5f1cd0=0x0;_0x5f1cd0<_0x2804cf['attributes']['length'];++_0x5f1cd0)_0x4814b5['attributes'][_0x5f1cd0]=_0x59f061['KeyValueDescriptor']['toObject'](_0x2804cf['attributes'][_0x5f1cd0],_0x1925b5);}return _0x4814b5;},_0x4ab8f0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4ab8f0['getTypeUrl']=function(_0x18e003){return void 0x0===_0x18e003&&(_0x18e003='type.googleapis.com'),_0x18e003+'/GetUserResponse';},_0x4ab8f0;}()),_0x59f061['GetManyUsersResponse']=(function(){function _0x22d99f(_0x4eafc1){if(this['users']=[],_0x4eafc1){for(var _0x39e0d7=Object['keys'](_0x4eafc1),_0x3ea832=0x0;_0x3ea832<_0x39e0d7['length'];++_0x3ea832)null!=_0x4eafc1[_0x39e0d7[_0x3ea832]]&&'__proto__'!==_0x39e0d7[_0x3ea832]&&(this[_0x39e0d7[_0x3ea832]]=_0x4eafc1[_0x39e0d7[_0x3ea832]]);}}return _0x22d99f['prototype']['users']=_0x6b5d1['emptyArray'],_0x22d99f['create']=function(_0x1bd96e){return new _0x22d99f(_0x1bd96e);},_0x22d99f['encode']=function(_0xc3162e,_0x32b4ad){if(_0x32b4ad||(_0x32b4ad=_0x5cad89['create']()),null!=_0xc3162e['users']&&_0xc3162e['users']['length']){for(var _0x349d27=0x0;_0x349d27<_0xc3162e['users']['length'];++_0x349d27)_0x59f061['UserDescriptor']['encode'](_0xc3162e['users'][_0x349d27],_0x32b4ad['uint32'](0xa)['fork']())['ldelim']();}return _0x32b4ad;},_0x22d99f['encodeDelimited']=function(_0x5fab6,_0x48babb){return this['encode'](_0x5fab6,_0x48babb)['ldelim']();},_0x22d99f['decode']=function(_0x2e9bad,_0x28432d,_0x32a3c8,_0x3c3a3f){if(_0x2e9bad instanceof _0x15a427||(_0x2e9bad=_0x15a427['create'](_0x2e9bad)),void 0x0===_0x3c3a3f&&(_0x3c3a3f=0x0),_0x3c3a3f>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5dd3d8=void 0x0===_0x28432d?_0x2e9bad['len']:_0x2e9bad['pos']+_0x28432d,_0x1dc9bc=new _0x59f061['GetManyUsersResponse']();_0x2e9bad['pos']<_0x5dd3d8;){var _0x539330=_0x2e9bad['uint32']();if(_0x539330===_0x32a3c8)break;_0x539330>>>0x3==0x1?(_0x1dc9bc['users']&&_0x1dc9bc['users']['length']||(_0x1dc9bc['users']=[]),_0x1dc9bc['users']['push'](_0x59f061['UserDescriptor']['decode'](_0x2e9bad,_0x2e9bad['uint32'](),void 0x0,_0x3c3a3f+0x1))):_0x2e9bad['skipType'](0x7&_0x539330,_0x3c3a3f);}return _0x1dc9bc;},_0x22d99f['decodeDelimited']=function(_0xd320c9){return _0xd320c9 instanceof _0x15a427||(_0xd320c9=new _0x15a427(_0xd320c9)),this['decode'](_0xd320c9,_0xd320c9['uint32']());},_0x22d99f['verify']=function(_0x39100e,_0x4d75db){if('object'!=typeof _0x39100e||null===_0x39100e)return'object\x20expected';if(void 0x0===_0x4d75db&&(_0x4d75db=0x0),_0x4d75db>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x39100e['users']&&_0x39100e['hasOwnProperty']('users')){if(!Array['isArray'](_0x39100e['users']))return'users:\x20array\x20expected';for(var _0x686942=0x0;_0x686942<_0x39100e['users']['length'];++_0x686942){var _0x48c4d2=_0x59f061['UserDescriptor']['verify'](_0x39100e['users'][_0x686942],_0x4d75db+0x1);if(_0x48c4d2)return'users.'+_0x48c4d2;}}return null;},_0x22d99f['fromObject']=function(_0x3f6ce3,_0x3f2087){if(_0x3f6ce3 instanceof _0x59f061['GetManyUsersResponse'])return _0x3f6ce3;if(void 0x0===_0x3f2087&&(_0x3f2087=0x0),_0x3f2087>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2c673b=new _0x59f061['GetManyUsersResponse']();if(_0x3f6ce3['users']){if(!Array['isArray'](_0x3f6ce3['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x2c673b['users']=[];for(var _0x42a736=0x0;_0x42a736<_0x3f6ce3['users']['length'];++_0x42a736){if('object'!=typeof _0x3f6ce3['users'][_0x42a736])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x2c673b['users'][_0x42a736]=_0x59f061['UserDescriptor']['fromObject'](_0x3f6ce3['users'][_0x42a736],_0x3f2087+0x1);}}return _0x2c673b;},_0x22d99f['toObject']=function(_0x12495e,_0x52bc06){_0x52bc06||(_0x52bc06={});var _0x359f8f={};if((_0x52bc06['arrays']||_0x52bc06['defaults'])&&(_0x359f8f['users']=[]),_0x12495e['users']&&_0x12495e['users']['length']){_0x359f8f['users']=[];for(var _0x13aed6=0x0;_0x13aed6<_0x12495e['users']['length'];++_0x13aed6)_0x359f8f['users'][_0x13aed6]=_0x59f061['UserDescriptor']['toObject'](_0x12495e['users'][_0x13aed6],_0x52bc06);}return _0x359f8f;},_0x22d99f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x22d99f['getTypeUrl']=function(_0x4ba74f){return void 0x0===_0x4ba74f&&(_0x4ba74f='type.googleapis.com'),_0x4ba74f+'/GetManyUsersResponse';},_0x22d99f;}()),_0x59f061['GetUserMessage']=(function(){function _0x272720(_0x15ee26){if(_0x15ee26){for(var _0x5d8d33=Object['keys'](_0x15ee26),_0x394ee2=0x0;_0x394ee2<_0x5d8d33['length'];++_0x394ee2)null!=_0x15ee26[_0x5d8d33[_0x394ee2]]&&'__proto__'!==_0x5d8d33[_0x394ee2]&&(this[_0x5d8d33[_0x394ee2]]=_0x15ee26[_0x5d8d33[_0x394ee2]]);}}return _0x272720['prototype']['id']='',_0x272720['create']=function(_0x3c15a6){return new _0x272720(_0x3c15a6);},_0x272720['encode']=function(_0x122299,_0x4bc567){return _0x4bc567||(_0x4bc567=_0x5cad89['create']()),null!=_0x122299['id']&&Object['hasOwnProperty']['call'](_0x122299,'id')&&_0x4bc567['uint32'](0xa)['string'](_0x122299['id']),_0x4bc567;},_0x272720['encodeDelimited']=function(_0x1f5d28,_0x1091d9){return this['encode'](_0x1f5d28,_0x1091d9)['ldelim']();},_0x272720['decode']=function(_0x21c554,_0xc2375f,_0x49a203,_0x2a19b1){if(_0x21c554 instanceof _0x15a427||(_0x21c554=_0x15a427['create'](_0x21c554)),void 0x0===_0x2a19b1&&(_0x2a19b1=0x0),_0x2a19b1>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e3b87=void 0x0===_0xc2375f?_0x21c554['len']:_0x21c554['pos']+_0xc2375f,_0x4f0f32=new _0x59f061['GetUserMessage']();_0x21c554['pos']<_0x5e3b87;){var _0x469daa=_0x21c554['uint32']();if(_0x469daa===_0x49a203)break;_0x469daa>>>0x3==0x1?_0x4f0f32['id']=_0x21c554['string']():_0x21c554['skipType'](0x7&_0x469daa,_0x2a19b1);}return _0x4f0f32;},_0x272720['decodeDelimited']=function(_0x1d0626){return _0x1d0626 instanceof _0x15a427||(_0x1d0626=new _0x15a427(_0x1d0626)),this['decode'](_0x1d0626,_0x1d0626['uint32']());},_0x272720['verify']=function(_0x97843e,_0xc650a4){return'object'!=typeof _0x97843e||null===_0x97843e?'object\x20expected':(void 0x0===_0xc650a4&&(_0xc650a4=0x0),_0xc650a4>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x97843e['id']&&_0x97843e['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x97843e['id'])?'id:\x20string\x20expected':null);},_0x272720['fromObject']=function(_0x1fa966,_0x5bc822){if(_0x1fa966 instanceof _0x59f061['GetUserMessage'])return _0x1fa966;if(void 0x0===_0x5bc822&&(_0x5bc822=0x0),_0x5bc822>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x12a663=new _0x59f061['GetUserMessage']();return null!=_0x1fa966['id']&&(_0x12a663['id']=String(_0x1fa966['id'])),_0x12a663;},_0x272720['toObject']=function(_0x20294b,_0x24bbbc){_0x24bbbc||(_0x24bbbc={});var _0x326085={};return _0x24bbbc['defaults']&&(_0x326085['id']=''),null!=_0x20294b['id']&&_0x20294b['hasOwnProperty']('id')&&(_0x326085['id']=_0x20294b['id']),_0x326085;},_0x272720['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x272720['getTypeUrl']=function(_0x1edd75){return void 0x0===_0x1edd75&&(_0x1edd75='type.googleapis.com'),_0x1edd75+'/GetUserMessage';},_0x272720;}()),_0x59f061['GetManyUsersMessage']=(function(){function _0x3e8894(_0x3245b6){if(this['ids']=[],_0x3245b6){for(var _0x266031=Object['keys'](_0x3245b6),_0x2ac322=0x0;_0x2ac322<_0x266031['length'];++_0x2ac322)null!=_0x3245b6[_0x266031[_0x2ac322]]&&'__proto__'!==_0x266031[_0x2ac322]&&(this[_0x266031[_0x2ac322]]=_0x3245b6[_0x266031[_0x2ac322]]);}}return _0x3e8894['prototype']['ids']=_0x6b5d1['emptyArray'],_0x3e8894['create']=function(_0x504c2b){return new _0x3e8894(_0x504c2b);},_0x3e8894['encode']=function(_0xb0e639,_0x570500){if(_0x570500||(_0x570500=_0x5cad89['create']()),null!=_0xb0e639['ids']&&_0xb0e639['ids']['length']){for(var _0x495116=0x0;_0x495116<_0xb0e639['ids']['length'];++_0x495116)_0x570500['uint32'](0xa)['string'](_0xb0e639['ids'][_0x495116]);}return _0x570500;},_0x3e8894['encodeDelimited']=function(_0x2ece23,_0x42f9a2){return this['encode'](_0x2ece23,_0x42f9a2)['ldelim']();},_0x3e8894['decode']=function(_0x51d3ec,_0x1bdafb,_0x185316,_0x583478){if(_0x51d3ec instanceof _0x15a427||(_0x51d3ec=_0x15a427['create'](_0x51d3ec)),void 0x0===_0x583478&&(_0x583478=0x0),_0x583478>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x39dec5=void 0x0===_0x1bdafb?_0x51d3ec['len']:_0x51d3ec['pos']+_0x1bdafb,_0x285402=new _0x59f061['GetManyUsersMessage']();_0x51d3ec['pos']<_0x39dec5;){var _0x5bc4d2=_0x51d3ec['uint32']();if(_0x5bc4d2===_0x185316)break;_0x5bc4d2>>>0x3==0x1?(_0x285402['ids']&&_0x285402['ids']['length']||(_0x285402['ids']=[]),_0x285402['ids']['push'](_0x51d3ec['string']())):_0x51d3ec['skipType'](0x7&_0x5bc4d2,_0x583478);}return _0x285402;},_0x3e8894['decodeDelimited']=function(_0x153dea){return _0x153dea instanceof _0x15a427||(_0x153dea=new _0x15a427(_0x153dea)),this['decode'](_0x153dea,_0x153dea['uint32']());},_0x3e8894['verify']=function(_0x324c49,_0xea087d){if('object'!=typeof _0x324c49||null===_0x324c49)return'object\x20expected';if(void 0x0===_0xea087d&&(_0xea087d=0x0),_0xea087d>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x324c49['ids']&&_0x324c49['hasOwnProperty']('ids')){if(!Array['isArray'](_0x324c49['ids']))return'ids:\x20array\x20expected';for(var _0x5aed90=0x0;_0x5aed90<_0x324c49['ids']['length'];++_0x5aed90)if(!_0x6b5d1['isString'](_0x324c49['ids'][_0x5aed90]))return'ids:\x20string[]\x20expected';}return null;},_0x3e8894['fromObject']=function(_0x5bd5d4,_0x3b22df){if(_0x5bd5d4 instanceof _0x59f061['GetManyUsersMessage'])return _0x5bd5d4;if(void 0x0===_0x3b22df&&(_0x3b22df=0x0),_0x3b22df>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x143903=new _0x59f061['GetManyUsersMessage']();if(_0x5bd5d4['ids']){if(!Array['isArray'](_0x5bd5d4['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x143903['ids']=[];for(var _0x212f55=0x0;_0x212f55<_0x5bd5d4['ids']['length'];++_0x212f55)_0x143903['ids'][_0x212f55]=String(_0x5bd5d4['ids'][_0x212f55]);}return _0x143903;},_0x3e8894['toObject']=function(_0x4f0715,_0x5aca11){_0x5aca11||(_0x5aca11={});var _0x103d80={};if((_0x5aca11['arrays']||_0x5aca11['defaults'])&&(_0x103d80['ids']=[]),_0x4f0715['ids']&&_0x4f0715['ids']['length']){_0x103d80['ids']=[];for(var _0xbd39a6=0x0;_0xbd39a6<_0x4f0715['ids']['length'];++_0xbd39a6)_0x103d80['ids'][_0xbd39a6]=_0x4f0715['ids'][_0xbd39a6];}return _0x103d80;},_0x3e8894['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3e8894['getTypeUrl']=function(_0x5ba3a7){return void 0x0===_0x5ba3a7&&(_0x5ba3a7='type.googleapis.com'),_0x5ba3a7+'/GetManyUsersMessage';},_0x3e8894;}()),_0x59f061['UserDescriptor']=(function(){function _0x215ef3(_0x42f333){if(this['attributes']=[],_0x42f333){for(var _0x56cf6e=Object['keys'](_0x42f333),_0x329b84=0x0;_0x329b84<_0x56cf6e['length'];++_0x329b84)null!=_0x42f333[_0x56cf6e[_0x329b84]]&&'__proto__'!==_0x56cf6e[_0x329b84]&&(this[_0x56cf6e[_0x329b84]]=_0x42f333[_0x56cf6e[_0x329b84]]);}}return _0x215ef3['prototype']['attributes']=_0x6b5d1['emptyArray'],_0x215ef3['create']=function(_0x14140d){return new _0x215ef3(_0x14140d);},_0x215ef3['encode']=function(_0x1c7111,_0x1e5afd){if(_0x1e5afd||(_0x1e5afd=_0x5cad89['create']()),null!=_0x1c7111['attributes']&&_0x1c7111['attributes']['length']){for(var _0x2ef22f=0x0;_0x2ef22f<_0x1c7111['attributes']['length'];++_0x2ef22f)_0x59f061['KeyValueDescriptor']['encode'](_0x1c7111['attributes'][_0x2ef22f],_0x1e5afd['uint32'](0xa)['fork']())['ldelim']();}return _0x1e5afd;},_0x215ef3['encodeDelimited']=function(_0x1bb15d,_0x548f2f){return this['encode'](_0x1bb15d,_0x548f2f)['ldelim']();},_0x215ef3['decode']=function(_0xc3d8c0,_0x27c72a,_0x31d34c,_0x4315bf){if(_0xc3d8c0 instanceof _0x15a427||(_0xc3d8c0=_0x15a427['create'](_0xc3d8c0)),void 0x0===_0x4315bf&&(_0x4315bf=0x0),_0x4315bf>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xfafdf6=void 0x0===_0x27c72a?_0xc3d8c0['len']:_0xc3d8c0['pos']+_0x27c72a,_0xa4c164=new _0x59f061['UserDescriptor']();_0xc3d8c0['pos']<_0xfafdf6;){var _0x308694=_0xc3d8c0['uint32']();if(_0x308694===_0x31d34c)break;_0x308694>>>0x3==0x1?(_0xa4c164['attributes']&&_0xa4c164['attributes']['length']||(_0xa4c164['attributes']=[]),_0xa4c164['attributes']['push'](_0x59f061['KeyValueDescriptor']['decode'](_0xc3d8c0,_0xc3d8c0['uint32'](),void 0x0,_0x4315bf+0x1))):_0xc3d8c0['skipType'](0x7&_0x308694,_0x4315bf);}return _0xa4c164;},_0x215ef3['decodeDelimited']=function(_0xd38987){return _0xd38987 instanceof _0x15a427||(_0xd38987=new _0x15a427(_0xd38987)),this['decode'](_0xd38987,_0xd38987['uint32']());},_0x215ef3['verify']=function(_0x1d33b1,_0x402a38){if('object'!=typeof _0x1d33b1||null===_0x1d33b1)return'object\x20expected';if(void 0x0===_0x402a38&&(_0x402a38=0x0),_0x402a38>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1d33b1['attributes']&&_0x1d33b1['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x1d33b1['attributes']))return'attributes:\x20array\x20expected';for(var _0x51a2a5=0x0;_0x51a2a5<_0x1d33b1['attributes']['length'];++_0x51a2a5){var _0x1554fb=_0x59f061['KeyValueDescriptor']['verify'](_0x1d33b1['attributes'][_0x51a2a5],_0x402a38+0x1);if(_0x1554fb)return'attributes.'+_0x1554fb;}}return null;},_0x215ef3['fromObject']=function(_0x42416a,_0x166e4e){if(_0x42416a instanceof _0x59f061['UserDescriptor'])return _0x42416a;if(void 0x0===_0x166e4e&&(_0x166e4e=0x0),_0x166e4e>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x25b175=new _0x59f061['UserDescriptor']();if(_0x42416a['attributes']){if(!Array['isArray'](_0x42416a['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x25b175['attributes']=[];for(var _0xc8d1a0=0x0;_0xc8d1a0<_0x42416a['attributes']['length'];++_0xc8d1a0){if('object'!=typeof _0x42416a['attributes'][_0xc8d1a0])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x25b175['attributes'][_0xc8d1a0]=_0x59f061['KeyValueDescriptor']['fromObject'](_0x42416a['attributes'][_0xc8d1a0],_0x166e4e+0x1);}}return _0x25b175;},_0x215ef3['toObject']=function(_0x533c8a,_0x5697a1){_0x5697a1||(_0x5697a1={});var _0x109059={};if((_0x5697a1['arrays']||_0x5697a1['defaults'])&&(_0x109059['attributes']=[]),_0x533c8a['attributes']&&_0x533c8a['attributes']['length']){_0x109059['attributes']=[];for(var _0x25b942=0x0;_0x25b942<_0x533c8a['attributes']['length'];++_0x25b942)_0x109059['attributes'][_0x25b942]=_0x59f061['KeyValueDescriptor']['toObject'](_0x533c8a['attributes'][_0x25b942],_0x5697a1);}return _0x109059;},_0x215ef3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x215ef3['getTypeUrl']=function(_0x1d3394){return void 0x0===_0x1d3394&&(_0x1d3394='type.googleapis.com'),_0x1d3394+'/UserDescriptor';},_0x215ef3;}()),_0x59f061['TrackChangesGetSuggestionResponse']=(function(){function _0x268d7e(_0x5579cc){if(_0x5579cc){for(var _0x156c38=Object['keys'](_0x5579cc),_0x4ea82f=0x0;_0x4ea82f<_0x156c38['length'];++_0x4ea82f)null!=_0x5579cc[_0x156c38[_0x4ea82f]]&&'__proto__'!==_0x156c38[_0x4ea82f]&&(this[_0x156c38[_0x4ea82f]]=_0x5579cc[_0x156c38[_0x4ea82f]]);}}return _0x268d7e['prototype']['id']='',_0x268d7e['prototype']['authorId']='',_0x268d7e['prototype']['type']='',_0x268d7e['prototype']['createdAt']='',_0x268d7e['prototype']['data']='',_0x268d7e['prototype']['hasComments']=!0x1,_0x268d7e['prototype']['state']='',_0x268d7e['prototype']['attributes']='',_0x268d7e['create']=function(_0x16f89b){return new _0x268d7e(_0x16f89b);},_0x268d7e['encode']=function(_0x368b74,_0x228e85){return _0x228e85||(_0x228e85=_0x5cad89['create']()),null!=_0x368b74['id']&&Object['hasOwnProperty']['call'](_0x368b74,'id')&&_0x228e85['uint32'](0xa)['string'](_0x368b74['id']),null!=_0x368b74['authorId']&&Object['hasOwnProperty']['call'](_0x368b74,'authorId')&&_0x228e85['uint32'](0x12)['string'](_0x368b74['authorId']),null!=_0x368b74['type']&&Object['hasOwnProperty']['call'](_0x368b74,'type')&&_0x228e85['uint32'](0x1a)['string'](_0x368b74['type']),null!=_0x368b74['createdAt']&&Object['hasOwnProperty']['call'](_0x368b74,'createdAt')&&_0x228e85['uint32'](0x22)['string'](_0x368b74['createdAt']),null!=_0x368b74['data']&&Object['hasOwnProperty']['call'](_0x368b74,'data')&&_0x228e85['uint32'](0x2a)['string'](_0x368b74['data']),null!=_0x368b74['hasComments']&&Object['hasOwnProperty']['call'](_0x368b74,'hasComments')&&_0x228e85['uint32'](0x30)['bool'](_0x368b74['hasComments']),null!=_0x368b74['state']&&Object['hasOwnProperty']['call'](_0x368b74,'state')&&_0x228e85['uint32'](0x3a)['string'](_0x368b74['state']),null!=_0x368b74['attributes']&&Object['hasOwnProperty']['call'](_0x368b74,'attributes')&&_0x228e85['uint32'](0x42)['string'](_0x368b74['attributes']),_0x228e85;},_0x268d7e['encodeDelimited']=function(_0x28979b,_0xb924e2){return this['encode'](_0x28979b,_0xb924e2)['ldelim']();},_0x268d7e['decode']=function(_0x11ffba,_0x184432,_0x3f6192,_0x4fb773){if(_0x11ffba instanceof _0x15a427||(_0x11ffba=_0x15a427['create'](_0x11ffba)),void 0x0===_0x4fb773&&(_0x4fb773=0x0),_0x4fb773>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x475da8=void 0x0===_0x184432?_0x11ffba['len']:_0x11ffba['pos']+_0x184432,_0x4cc750=new _0x59f061['TrackChangesGetSuggestionResponse']();_0x11ffba['pos']<_0x475da8;){var _0x1c1244=_0x11ffba['uint32']();if(_0x1c1244===_0x3f6192)break;switch(_0x1c1244>>>0x3){case 0x1:_0x4cc750['id']=_0x11ffba['string']();break;case 0x2:_0x4cc750['authorId']=_0x11ffba['string']();break;case 0x3:_0x4cc750['type']=_0x11ffba['string']();break;case 0x4:_0x4cc750['createdAt']=_0x11ffba['string']();break;case 0x5:_0x4cc750['data']=_0x11ffba['string']();break;case 0x6:_0x4cc750['hasComments']=_0x11ffba['bool']();break;case 0x7:_0x4cc750['state']=_0x11ffba['string']();break;case 0x8:_0x4cc750['attributes']=_0x11ffba['string']();break;default:_0x11ffba['skipType'](0x7&_0x1c1244,_0x4fb773);}}return _0x4cc750;},_0x268d7e['decodeDelimited']=function(_0x3899c8){return _0x3899c8 instanceof _0x15a427||(_0x3899c8=new _0x15a427(_0x3899c8)),this['decode'](_0x3899c8,_0x3899c8['uint32']());},_0x268d7e['verify']=function(_0x2dccb9,_0x883da){return'object'!=typeof _0x2dccb9||null===_0x2dccb9?'object\x20expected':(void 0x0===_0x883da&&(_0x883da=0x0),_0x883da>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2dccb9['id']&&_0x2dccb9['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x2dccb9['id'])?'id:\x20string\x20expected':null!=_0x2dccb9['authorId']&&_0x2dccb9['hasOwnProperty']('authorId')&&!_0x6b5d1['isString'](_0x2dccb9['authorId'])?'authorId:\x20string\x20expected':null!=_0x2dccb9['type']&&_0x2dccb9['hasOwnProperty']('type')&&!_0x6b5d1['isString'](_0x2dccb9['type'])?'type:\x20string\x20expected':null!=_0x2dccb9['createdAt']&&_0x2dccb9['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x2dccb9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2dccb9['data']&&_0x2dccb9['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x2dccb9['data'])?'data:\x20string\x20expected':null!=_0x2dccb9['hasComments']&&_0x2dccb9['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2dccb9['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2dccb9['state']&&_0x2dccb9['hasOwnProperty']('state')&&!_0x6b5d1['isString'](_0x2dccb9['state'])?'state:\x20string\x20expected':null!=_0x2dccb9['attributes']&&_0x2dccb9['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x2dccb9['attributes'])?'attributes:\x20string\x20expected':null);},_0x268d7e['fromObject']=function(_0xe3c11a,_0xa2ca0f){if(_0xe3c11a instanceof _0x59f061['TrackChangesGetSuggestionResponse'])return _0xe3c11a;if(void 0x0===_0xa2ca0f&&(_0xa2ca0f=0x0),_0xa2ca0f>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x51e15a=new _0x59f061['TrackChangesGetSuggestionResponse']();return null!=_0xe3c11a['id']&&(_0x51e15a['id']=String(_0xe3c11a['id'])),null!=_0xe3c11a['authorId']&&(_0x51e15a['authorId']=String(_0xe3c11a['authorId'])),null!=_0xe3c11a['type']&&(_0x51e15a['type']=String(_0xe3c11a['type'])),null!=_0xe3c11a['createdAt']&&(_0x51e15a['createdAt']=String(_0xe3c11a['createdAt'])),null!=_0xe3c11a['data']&&(_0x51e15a['data']=String(_0xe3c11a['data'])),null!=_0xe3c11a['hasComments']&&(_0x51e15a['hasComments']=Boolean(_0xe3c11a['hasComments'])),null!=_0xe3c11a['state']&&(_0x51e15a['state']=String(_0xe3c11a['state'])),null!=_0xe3c11a['attributes']&&(_0x51e15a['attributes']=String(_0xe3c11a['attributes'])),_0x51e15a;},_0x268d7e['toObject']=function(_0x18d7b2,_0x37a25a){_0x37a25a||(_0x37a25a={});var _0x42fdf9={};return _0x37a25a['defaults']&&(_0x42fdf9['id']='',_0x42fdf9['authorId']='',_0x42fdf9['type']='',_0x42fdf9['createdAt']='',_0x42fdf9['data']='',_0x42fdf9['hasComments']=!0x1,_0x42fdf9['state']='',_0x42fdf9['attributes']=''),null!=_0x18d7b2['id']&&_0x18d7b2['hasOwnProperty']('id')&&(_0x42fdf9['id']=_0x18d7b2['id']),null!=_0x18d7b2['authorId']&&_0x18d7b2['hasOwnProperty']('authorId')&&(_0x42fdf9['authorId']=_0x18d7b2['authorId']),null!=_0x18d7b2['type']&&_0x18d7b2['hasOwnProperty']('type')&&(_0x42fdf9['type']=_0x18d7b2['type']),null!=_0x18d7b2['createdAt']&&_0x18d7b2['hasOwnProperty']('createdAt')&&(_0x42fdf9['createdAt']=_0x18d7b2['createdAt']),null!=_0x18d7b2['data']&&_0x18d7b2['hasOwnProperty']('data')&&(_0x42fdf9['data']=_0x18d7b2['data']),null!=_0x18d7b2['hasComments']&&_0x18d7b2['hasOwnProperty']('hasComments')&&(_0x42fdf9['hasComments']=_0x18d7b2['hasComments']),null!=_0x18d7b2['state']&&_0x18d7b2['hasOwnProperty']('state')&&(_0x42fdf9['state']=_0x18d7b2['state']),null!=_0x18d7b2['attributes']&&_0x18d7b2['hasOwnProperty']('attributes')&&(_0x42fdf9['attributes']=_0x18d7b2['attributes']),_0x42fdf9;},_0x268d7e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x268d7e['getTypeUrl']=function(_0x28ada3){return void 0x0===_0x28ada3&&(_0x28ada3='type.googleapis.com'),_0x28ada3+'/TrackChangesGetSuggestionResponse';},_0x268d7e;}()),_0x59f061['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x3555fc(_0xaf82d7){if(this['suggestions']=[],this['suggestionsV2']=[],_0xaf82d7){for(var _0x128f26=Object['keys'](_0xaf82d7),_0x3f48ec=0x0;_0x3f48ec<_0x128f26['length'];++_0x3f48ec)null!=_0xaf82d7[_0x128f26[_0x3f48ec]]&&'__proto__'!==_0x128f26[_0x3f48ec]&&(this[_0x128f26[_0x3f48ec]]=_0xaf82d7[_0x128f26[_0x3f48ec]]);}}return _0x3555fc['prototype']['suggestions']=_0x6b5d1['emptyArray'],_0x3555fc['prototype']['suggestionsV2']=_0x6b5d1['emptyArray'],_0x3555fc['create']=function(_0x34c909){return new _0x3555fc(_0x34c909);},_0x3555fc['encode']=function(_0xf32327,_0x140b65){if(_0x140b65||(_0x140b65=_0x5cad89['create']()),null!=_0xf32327['suggestions']&&_0xf32327['suggestions']['length']){for(var _0x5980d1=0x0;_0x5980d1<_0xf32327['suggestions']['length'];++_0x5980d1)_0x140b65['uint32'](0xa)['string'](_0xf32327['suggestions'][_0x5980d1]);}if(null!=_0xf32327['suggestionsV2']&&_0xf32327['suggestionsV2']['length']){for(_0x5980d1=0x0;_0x5980d1<_0xf32327['suggestionsV2']['length'];++_0x5980d1)_0x59f061['SuggestionDescriptor']['encode'](_0xf32327['suggestionsV2'][_0x5980d1],_0x140b65['uint32'](0x12)['fork']())['ldelim']();}return _0x140b65;},_0x3555fc['encodeDelimited']=function(_0x39982d,_0x144ab1){return this['encode'](_0x39982d,_0x144ab1)['ldelim']();},_0x3555fc['decode']=function(_0x4f7586,_0x405f40,_0x41c390,_0x2ab07a){if(_0x4f7586 instanceof _0x15a427||(_0x4f7586=_0x15a427['create'](_0x4f7586)),void 0x0===_0x2ab07a&&(_0x2ab07a=0x0),_0x2ab07a>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41d204=void 0x0===_0x405f40?_0x4f7586['len']:_0x4f7586['pos']+_0x405f40,_0x4da069=new _0x59f061['TrackChangesGetAllSuggestionsResponse']();_0x4f7586['pos']<_0x41d204;){var _0x46d075=_0x4f7586['uint32']();if(_0x46d075===_0x41c390)break;switch(_0x46d075>>>0x3){case 0x1:_0x4da069['suggestions']&&_0x4da069['suggestions']['length']||(_0x4da069['suggestions']=[]),_0x4da069['suggestions']['push'](_0x4f7586['string']());break;case 0x2:_0x4da069['suggestionsV2']&&_0x4da069['suggestionsV2']['length']||(_0x4da069['suggestionsV2']=[]),_0x4da069['suggestionsV2']['push'](_0x59f061['SuggestionDescriptor']['decode'](_0x4f7586,_0x4f7586['uint32'](),void 0x0,_0x2ab07a+0x1));break;default:_0x4f7586['skipType'](0x7&_0x46d075,_0x2ab07a);}}return _0x4da069;},_0x3555fc['decodeDelimited']=function(_0x177d0e){return _0x177d0e instanceof _0x15a427||(_0x177d0e=new _0x15a427(_0x177d0e)),this['decode'](_0x177d0e,_0x177d0e['uint32']());},_0x3555fc['verify']=function(_0x3379e9,_0x2431e7){if('object'!=typeof _0x3379e9||null===_0x3379e9)return'object\x20expected';if(void 0x0===_0x2431e7&&(_0x2431e7=0x0),_0x2431e7>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3379e9['suggestions']&&_0x3379e9['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3379e9['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x20bc69=0x0;_0x20bc69<_0x3379e9['suggestions']['length'];++_0x20bc69)if(!_0x6b5d1['isString'](_0x3379e9['suggestions'][_0x20bc69]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3379e9['suggestionsV2']&&_0x3379e9['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3379e9['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x20bc69=0x0;_0x20bc69<_0x3379e9['suggestionsV2']['length'];++_0x20bc69){var _0x28d010=_0x59f061['SuggestionDescriptor']['verify'](_0x3379e9['suggestionsV2'][_0x20bc69],_0x2431e7+0x1);if(_0x28d010)return'suggestionsV2.'+_0x28d010;}}return null;},_0x3555fc['fromObject']=function(_0x5df9e6,_0x398962){if(_0x5df9e6 instanceof _0x59f061['TrackChangesGetAllSuggestionsResponse'])return _0x5df9e6;if(void 0x0===_0x398962&&(_0x398962=0x0),_0x398962>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4a57af=new _0x59f061['TrackChangesGetAllSuggestionsResponse']();if(_0x5df9e6['suggestions']){if(!Array['isArray'](_0x5df9e6['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x4a57af['suggestions']=[];for(var _0x270f81=0x0;_0x270f81<_0x5df9e6['suggestions']['length'];++_0x270f81)_0x4a57af['suggestions'][_0x270f81]=String(_0x5df9e6['suggestions'][_0x270f81]);}if(_0x5df9e6['suggestionsV2']){if(!Array['isArray'](_0x5df9e6['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x4a57af['suggestionsV2']=[],_0x270f81=0x0;_0x270f81<_0x5df9e6['suggestionsV2']['length'];++_0x270f81){if('object'!=typeof _0x5df9e6['suggestionsV2'][_0x270f81])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x4a57af['suggestionsV2'][_0x270f81]=_0x59f061['SuggestionDescriptor']['fromObject'](_0x5df9e6['suggestionsV2'][_0x270f81],_0x398962+0x1);}}return _0x4a57af;},_0x3555fc['toObject']=function(_0x2ba495,_0x1e389e){_0x1e389e||(_0x1e389e={});var _0x4f9c9a={};if((_0x1e389e['arrays']||_0x1e389e['defaults'])&&(_0x4f9c9a['suggestions']=[],_0x4f9c9a['suggestionsV2']=[]),_0x2ba495['suggestions']&&_0x2ba495['suggestions']['length']){_0x4f9c9a['suggestions']=[];for(var _0x2a2be0=0x0;_0x2a2be0<_0x2ba495['suggestions']['length'];++_0x2a2be0)_0x4f9c9a['suggestions'][_0x2a2be0]=_0x2ba495['suggestions'][_0x2a2be0];}if(_0x2ba495['suggestionsV2']&&_0x2ba495['suggestionsV2']['length']){for(_0x4f9c9a['suggestionsV2']=[],_0x2a2be0=0x0;_0x2a2be0<_0x2ba495['suggestionsV2']['length'];++_0x2a2be0)_0x4f9c9a['suggestionsV2'][_0x2a2be0]=_0x59f061['SuggestionDescriptor']['toObject'](_0x2ba495['suggestionsV2'][_0x2a2be0],_0x1e389e);}return _0x4f9c9a;},_0x3555fc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3555fc['getTypeUrl']=function(_0x5df498){return void 0x0===_0x5df498&&(_0x5df498='type.googleapis.com'),_0x5df498+'/TrackChangesGetAllSuggestionsResponse';},_0x3555fc;}()),_0x59f061['TrackChangesConnectResponse']=(function(){function _0x53f23f(_0x3d06ce){if(this['suggestions']=[],this['suggestionsV2']=[],_0x3d06ce){for(var _0x314d85=Object['keys'](_0x3d06ce),_0x4117ab=0x0;_0x4117ab<_0x314d85['length'];++_0x4117ab)null!=_0x3d06ce[_0x314d85[_0x4117ab]]&&'__proto__'!==_0x314d85[_0x4117ab]&&(this[_0x314d85[_0x4117ab]]=_0x3d06ce[_0x314d85[_0x4117ab]]);}}return _0x53f23f['prototype']['channel']='',_0x53f23f['prototype']['suggestions']=_0x6b5d1['emptyArray'],_0x53f23f['prototype']['suggestionsV2']=_0x6b5d1['emptyArray'],_0x53f23f['create']=function(_0x1a72af){return new _0x53f23f(_0x1a72af);},_0x53f23f['encode']=function(_0x5d8f01,_0x1e42a8){if(_0x1e42a8||(_0x1e42a8=_0x5cad89['create']()),null!=_0x5d8f01['channel']&&Object['hasOwnProperty']['call'](_0x5d8f01,'channel')&&_0x1e42a8['uint32'](0xa)['string'](_0x5d8f01['channel']),null!=_0x5d8f01['suggestions']&&_0x5d8f01['suggestions']['length']){for(var _0x5a8efc=0x0;_0x5a8efc<_0x5d8f01['suggestions']['length'];++_0x5a8efc)_0x1e42a8['uint32'](0x12)['string'](_0x5d8f01['suggestions'][_0x5a8efc]);}if(null!=_0x5d8f01['suggestionsV2']&&_0x5d8f01['suggestionsV2']['length']){for(_0x5a8efc=0x0;_0x5a8efc<_0x5d8f01['suggestionsV2']['length'];++_0x5a8efc)_0x59f061['SuggestionDescriptor']['encode'](_0x5d8f01['suggestionsV2'][_0x5a8efc],_0x1e42a8['uint32'](0x1a)['fork']())['ldelim']();}return _0x1e42a8;},_0x53f23f['encodeDelimited']=function(_0xfe1bf2,_0x4cde89){return this['encode'](_0xfe1bf2,_0x4cde89)['ldelim']();},_0x53f23f['decode']=function(_0x1654d2,_0x368c6d,_0x19ad37,_0x179a36){if(_0x1654d2 instanceof _0x15a427||(_0x1654d2=_0x15a427['create'](_0x1654d2)),void 0x0===_0x179a36&&(_0x179a36=0x0),_0x179a36>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x149119=void 0x0===_0x368c6d?_0x1654d2['len']:_0x1654d2['pos']+_0x368c6d,_0x587797=new _0x59f061['TrackChangesConnectResponse']();_0x1654d2['pos']<_0x149119;){var _0x5ac38d=_0x1654d2['uint32']();if(_0x5ac38d===_0x19ad37)break;switch(_0x5ac38d>>>0x3){case 0x1:_0x587797['channel']=_0x1654d2['string']();break;case 0x2:_0x587797['suggestions']&&_0x587797['suggestions']['length']||(_0x587797['suggestions']=[]),_0x587797['suggestions']['push'](_0x1654d2['string']());break;case 0x3:_0x587797['suggestionsV2']&&_0x587797['suggestionsV2']['length']||(_0x587797['suggestionsV2']=[]),_0x587797['suggestionsV2']['push'](_0x59f061['SuggestionDescriptor']['decode'](_0x1654d2,_0x1654d2['uint32'](),void 0x0,_0x179a36+0x1));break;default:_0x1654d2['skipType'](0x7&_0x5ac38d,_0x179a36);}}return _0x587797;},_0x53f23f['decodeDelimited']=function(_0x13bb84){return _0x13bb84 instanceof _0x15a427||(_0x13bb84=new _0x15a427(_0x13bb84)),this['decode'](_0x13bb84,_0x13bb84['uint32']());},_0x53f23f['verify']=function(_0x3f37f7,_0x212a9d){if('object'!=typeof _0x3f37f7||null===_0x3f37f7)return'object\x20expected';if(void 0x0===_0x212a9d&&(_0x212a9d=0x0),_0x212a9d>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3f37f7['channel']&&_0x3f37f7['hasOwnProperty']('channel')&&!_0x6b5d1['isString'](_0x3f37f7['channel']))return'channel:\x20string\x20expected';if(null!=_0x3f37f7['suggestions']&&_0x3f37f7['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3f37f7['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x2cb6e6=0x0;_0x2cb6e6<_0x3f37f7['suggestions']['length'];++_0x2cb6e6)if(!_0x6b5d1['isString'](_0x3f37f7['suggestions'][_0x2cb6e6]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3f37f7['suggestionsV2']&&_0x3f37f7['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3f37f7['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x2cb6e6=0x0;_0x2cb6e6<_0x3f37f7['suggestionsV2']['length'];++_0x2cb6e6){var _0x4718ff=_0x59f061['SuggestionDescriptor']['verify'](_0x3f37f7['suggestionsV2'][_0x2cb6e6],_0x212a9d+0x1);if(_0x4718ff)return'suggestionsV2.'+_0x4718ff;}}return null;},_0x53f23f['fromObject']=function(_0x426ed1,_0x5a8443){if(_0x426ed1 instanceof _0x59f061['TrackChangesConnectResponse'])return _0x426ed1;if(void 0x0===_0x5a8443&&(_0x5a8443=0x0),_0x5a8443>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x51887b=new _0x59f061['TrackChangesConnectResponse']();if(null!=_0x426ed1['channel']&&(_0x51887b['channel']=String(_0x426ed1['channel'])),_0x426ed1['suggestions']){if(!Array['isArray'](_0x426ed1['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x51887b['suggestions']=[];for(var _0x148f0e=0x0;_0x148f0e<_0x426ed1['suggestions']['length'];++_0x148f0e)_0x51887b['suggestions'][_0x148f0e]=String(_0x426ed1['suggestions'][_0x148f0e]);}if(_0x426ed1['suggestionsV2']){if(!Array['isArray'](_0x426ed1['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x51887b['suggestionsV2']=[],_0x148f0e=0x0;_0x148f0e<_0x426ed1['suggestionsV2']['length'];++_0x148f0e){if('object'!=typeof _0x426ed1['suggestionsV2'][_0x148f0e])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x51887b['suggestionsV2'][_0x148f0e]=_0x59f061['SuggestionDescriptor']['fromObject'](_0x426ed1['suggestionsV2'][_0x148f0e],_0x5a8443+0x1);}}return _0x51887b;},_0x53f23f['toObject']=function(_0xc07c4c,_0x23597b){_0x23597b||(_0x23597b={});var _0xe6f85b={};if((_0x23597b['arrays']||_0x23597b['defaults'])&&(_0xe6f85b['suggestions']=[],_0xe6f85b['suggestionsV2']=[]),_0x23597b['defaults']&&(_0xe6f85b['channel']=''),null!=_0xc07c4c['channel']&&_0xc07c4c['hasOwnProperty']('channel')&&(_0xe6f85b['channel']=_0xc07c4c['channel']),_0xc07c4c['suggestions']&&_0xc07c4c['suggestions']['length']){_0xe6f85b['suggestions']=[];for(var _0x38026c=0x0;_0x38026c<_0xc07c4c['suggestions']['length'];++_0x38026c)_0xe6f85b['suggestions'][_0x38026c]=_0xc07c4c['suggestions'][_0x38026c];}if(_0xc07c4c['suggestionsV2']&&_0xc07c4c['suggestionsV2']['length']){for(_0xe6f85b['suggestionsV2']=[],_0x38026c=0x0;_0x38026c<_0xc07c4c['suggestionsV2']['length'];++_0x38026c)_0xe6f85b['suggestionsV2'][_0x38026c]=_0x59f061['SuggestionDescriptor']['toObject'](_0xc07c4c['suggestionsV2'][_0x38026c],_0x23597b);}return _0xe6f85b;},_0x53f23f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x53f23f['getTypeUrl']=function(_0x2bfd9c){return void 0x0===_0x2bfd9c&&(_0x2bfd9c='type.googleapis.com'),_0x2bfd9c+'/TrackChangesConnectResponse';},_0x53f23f;}()),_0x59f061['TrackChangesAddSuggestionResponse']=(function(){function _0x525c35(_0x39faea){if(_0x39faea){for(var _0x51398d=Object['keys'](_0x39faea),_0x440bf9=0x0;_0x440bf9<_0x51398d['length'];++_0x440bf9)null!=_0x39faea[_0x51398d[_0x440bf9]]&&'__proto__'!==_0x51398d[_0x440bf9]&&(this[_0x51398d[_0x440bf9]]=_0x39faea[_0x51398d[_0x440bf9]]);}}return _0x525c35['prototype']['id']='',_0x525c35['prototype']['authorId']='',_0x525c35['prototype']['type']='',_0x525c35['prototype']['createdAt']='',_0x525c35['prototype']['data']='',_0x525c35['prototype']['hasComments']=!0x1,_0x525c35['prototype']['state']='',_0x525c35['prototype']['attributes']='',_0x525c35['create']=function(_0x771e00){return new _0x525c35(_0x771e00);},_0x525c35['encode']=function(_0x4281ed,_0x3abbb8){return _0x3abbb8||(_0x3abbb8=_0x5cad89['create']()),null!=_0x4281ed['id']&&Object['hasOwnProperty']['call'](_0x4281ed,'id')&&_0x3abbb8['uint32'](0xa)['string'](_0x4281ed['id']),null!=_0x4281ed['authorId']&&Object['hasOwnProperty']['call'](_0x4281ed,'authorId')&&_0x3abbb8['uint32'](0x12)['string'](_0x4281ed['authorId']),null!=_0x4281ed['type']&&Object['hasOwnProperty']['call'](_0x4281ed,'type')&&_0x3abbb8['uint32'](0x1a)['string'](_0x4281ed['type']),null!=_0x4281ed['createdAt']&&Object['hasOwnProperty']['call'](_0x4281ed,'createdAt')&&_0x3abbb8['uint32'](0x22)['string'](_0x4281ed['createdAt']),null!=_0x4281ed['data']&&Object['hasOwnProperty']['call'](_0x4281ed,'data')&&_0x3abbb8['uint32'](0x2a)['string'](_0x4281ed['data']),null!=_0x4281ed['hasComments']&&Object['hasOwnProperty']['call'](_0x4281ed,'hasComments')&&_0x3abbb8['uint32'](0x30)['bool'](_0x4281ed['hasComments']),null!=_0x4281ed['state']&&Object['hasOwnProperty']['call'](_0x4281ed,'state')&&_0x3abbb8['uint32'](0x3a)['string'](_0x4281ed['state']),null!=_0x4281ed['attributes']&&Object['hasOwnProperty']['call'](_0x4281ed,'attributes')&&_0x3abbb8['uint32'](0x42)['string'](_0x4281ed['attributes']),_0x3abbb8;},_0x525c35['encodeDelimited']=function(_0x783395,_0x3a6fe9){return this['encode'](_0x783395,_0x3a6fe9)['ldelim']();},_0x525c35['decode']=function(_0x54a3f9,_0x577b97,_0x2fdc9d,_0x108046){if(_0x54a3f9 instanceof _0x15a427||(_0x54a3f9=_0x15a427['create'](_0x54a3f9)),void 0x0===_0x108046&&(_0x108046=0x0),_0x108046>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x50a722=void 0x0===_0x577b97?_0x54a3f9['len']:_0x54a3f9['pos']+_0x577b97,_0xe5f6cf=new _0x59f061['TrackChangesAddSuggestionResponse']();_0x54a3f9['pos']<_0x50a722;){var _0x2f7248=_0x54a3f9['uint32']();if(_0x2f7248===_0x2fdc9d)break;switch(_0x2f7248>>>0x3){case 0x1:_0xe5f6cf['id']=_0x54a3f9['string']();break;case 0x2:_0xe5f6cf['authorId']=_0x54a3f9['string']();break;case 0x3:_0xe5f6cf['type']=_0x54a3f9['string']();break;case 0x4:_0xe5f6cf['createdAt']=_0x54a3f9['string']();break;case 0x5:_0xe5f6cf['data']=_0x54a3f9['string']();break;case 0x6:_0xe5f6cf['hasComments']=_0x54a3f9['bool']();break;case 0x7:_0xe5f6cf['state']=_0x54a3f9['string']();break;case 0x8:_0xe5f6cf['attributes']=_0x54a3f9['string']();break;default:_0x54a3f9['skipType'](0x7&_0x2f7248,_0x108046);}}return _0xe5f6cf;},_0x525c35['decodeDelimited']=function(_0x82fb5c){return _0x82fb5c instanceof _0x15a427||(_0x82fb5c=new _0x15a427(_0x82fb5c)),this['decode'](_0x82fb5c,_0x82fb5c['uint32']());},_0x525c35['verify']=function(_0x2785eb,_0x492fc6){return'object'!=typeof _0x2785eb||null===_0x2785eb?'object\x20expected':(void 0x0===_0x492fc6&&(_0x492fc6=0x0),_0x492fc6>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2785eb['id']&&_0x2785eb['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x2785eb['id'])?'id:\x20string\x20expected':null!=_0x2785eb['authorId']&&_0x2785eb['hasOwnProperty']('authorId')&&!_0x6b5d1['isString'](_0x2785eb['authorId'])?'authorId:\x20string\x20expected':null!=_0x2785eb['type']&&_0x2785eb['hasOwnProperty']('type')&&!_0x6b5d1['isString'](_0x2785eb['type'])?'type:\x20string\x20expected':null!=_0x2785eb['createdAt']&&_0x2785eb['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x2785eb['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2785eb['data']&&_0x2785eb['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x2785eb['data'])?'data:\x20string\x20expected':null!=_0x2785eb['hasComments']&&_0x2785eb['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2785eb['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2785eb['state']&&_0x2785eb['hasOwnProperty']('state')&&!_0x6b5d1['isString'](_0x2785eb['state'])?'state:\x20string\x20expected':null!=_0x2785eb['attributes']&&_0x2785eb['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x2785eb['attributes'])?'attributes:\x20string\x20expected':null);},_0x525c35['fromObject']=function(_0x199198,_0x4379a2){if(_0x199198 instanceof _0x59f061['TrackChangesAddSuggestionResponse'])return _0x199198;if(void 0x0===_0x4379a2&&(_0x4379a2=0x0),_0x4379a2>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3975c2=new _0x59f061['TrackChangesAddSuggestionResponse']();return null!=_0x199198['id']&&(_0x3975c2['id']=String(_0x199198['id'])),null!=_0x199198['authorId']&&(_0x3975c2['authorId']=String(_0x199198['authorId'])),null!=_0x199198['type']&&(_0x3975c2['type']=String(_0x199198['type'])),null!=_0x199198['createdAt']&&(_0x3975c2['createdAt']=String(_0x199198['createdAt'])),null!=_0x199198['data']&&(_0x3975c2['data']=String(_0x199198['data'])),null!=_0x199198['hasComments']&&(_0x3975c2['hasComments']=Boolean(_0x199198['hasComments'])),null!=_0x199198['state']&&(_0x3975c2['state']=String(_0x199198['state'])),null!=_0x199198['attributes']&&(_0x3975c2['attributes']=String(_0x199198['attributes'])),_0x3975c2;},_0x525c35['toObject']=function(_0x2c9d24,_0x4ace71){_0x4ace71||(_0x4ace71={});var _0x30269a={};return _0x4ace71['defaults']&&(_0x30269a['id']='',_0x30269a['authorId']='',_0x30269a['type']='',_0x30269a['createdAt']='',_0x30269a['data']='',_0x30269a['hasComments']=!0x1,_0x30269a['state']='',_0x30269a['attributes']=''),null!=_0x2c9d24['id']&&_0x2c9d24['hasOwnProperty']('id')&&(_0x30269a['id']=_0x2c9d24['id']),null!=_0x2c9d24['authorId']&&_0x2c9d24['hasOwnProperty']('authorId')&&(_0x30269a['authorId']=_0x2c9d24['authorId']),null!=_0x2c9d24['type']&&_0x2c9d24['hasOwnProperty']('type')&&(_0x30269a['type']=_0x2c9d24['type']),null!=_0x2c9d24['createdAt']&&_0x2c9d24['hasOwnProperty']('createdAt')&&(_0x30269a['createdAt']=_0x2c9d24['createdAt']),null!=_0x2c9d24['data']&&_0x2c9d24['hasOwnProperty']('data')&&(_0x30269a['data']=_0x2c9d24['data']),null!=_0x2c9d24['hasComments']&&_0x2c9d24['hasOwnProperty']('hasComments')&&(_0x30269a['hasComments']=_0x2c9d24['hasComments']),null!=_0x2c9d24['state']&&_0x2c9d24['hasOwnProperty']('state')&&(_0x30269a['state']=_0x2c9d24['state']),null!=_0x2c9d24['attributes']&&_0x2c9d24['hasOwnProperty']('attributes')&&(_0x30269a['attributes']=_0x2c9d24['attributes']),_0x30269a;},_0x525c35['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x525c35['getTypeUrl']=function(_0x515c5a){return void 0x0===_0x515c5a&&(_0x515c5a='type.googleapis.com'),_0x515c5a+'/TrackChangesAddSuggestionResponse';},_0x525c35;}()),_0x59f061['TrackChangesUpdateSuggestionMessage']=(function(){function _0x32e5ca(_0x12dfe6){if(_0x12dfe6){for(var _0x4ed292=Object['keys'](_0x12dfe6),_0x1c2294=0x0;_0x1c2294<_0x4ed292['length'];++_0x1c2294)null!=_0x12dfe6[_0x4ed292[_0x1c2294]]&&'__proto__'!==_0x4ed292[_0x1c2294]&&(this[_0x4ed292[_0x1c2294]]=_0x12dfe6[_0x4ed292[_0x1c2294]]);}}return _0x32e5ca['prototype']['id']='',_0x32e5ca['prototype']['documentId']='',_0x32e5ca['prototype']['hasComments']=!0x1,_0x32e5ca['prototype']['isHasCommentsModified']=!0x1,_0x32e5ca['prototype']['state']='',_0x32e5ca['prototype']['attributes']='',_0x32e5ca['create']=function(_0x458e7e){return new _0x32e5ca(_0x458e7e);},_0x32e5ca['encode']=function(_0x9d9ce9,_0x15a19c){return _0x15a19c||(_0x15a19c=_0x5cad89['create']()),null!=_0x9d9ce9['id']&&Object['hasOwnProperty']['call'](_0x9d9ce9,'id')&&_0x15a19c['uint32'](0xa)['string'](_0x9d9ce9['id']),null!=_0x9d9ce9['documentId']&&Object['hasOwnProperty']['call'](_0x9d9ce9,'documentId')&&_0x15a19c['uint32'](0x12)['string'](_0x9d9ce9['documentId']),null!=_0x9d9ce9['hasComments']&&Object['hasOwnProperty']['call'](_0x9d9ce9,'hasComments')&&_0x15a19c['uint32'](0x18)['bool'](_0x9d9ce9['hasComments']),null!=_0x9d9ce9['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x9d9ce9,'isHasCommentsModified')&&_0x15a19c['uint32'](0x20)['bool'](_0x9d9ce9['isHasCommentsModified']),null!=_0x9d9ce9['state']&&Object['hasOwnProperty']['call'](_0x9d9ce9,'state')&&_0x15a19c['uint32'](0x2a)['string'](_0x9d9ce9['state']),null!=_0x9d9ce9['attributes']&&Object['hasOwnProperty']['call'](_0x9d9ce9,'attributes')&&_0x15a19c['uint32'](0x32)['string'](_0x9d9ce9['attributes']),_0x15a19c;},_0x32e5ca['encodeDelimited']=function(_0x3738e4,_0x134516){return this['encode'](_0x3738e4,_0x134516)['ldelim']();},_0x32e5ca['decode']=function(_0x4e0a9a,_0x4dd9ba,_0x585386,_0x526df4){if(_0x4e0a9a instanceof _0x15a427||(_0x4e0a9a=_0x15a427['create'](_0x4e0a9a)),void 0x0===_0x526df4&&(_0x526df4=0x0),_0x526df4>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5bbf95=void 0x0===_0x4dd9ba?_0x4e0a9a['len']:_0x4e0a9a['pos']+_0x4dd9ba,_0x1d3c27=new _0x59f061['TrackChangesUpdateSuggestionMessage']();_0x4e0a9a['pos']<_0x5bbf95;){var _0x2fd689=_0x4e0a9a['uint32']();if(_0x2fd689===_0x585386)break;switch(_0x2fd689>>>0x3){case 0x1:_0x1d3c27['id']=_0x4e0a9a['string']();break;case 0x2:_0x1d3c27['documentId']=_0x4e0a9a['string']();break;case 0x3:_0x1d3c27['hasComments']=_0x4e0a9a['bool']();break;case 0x4:_0x1d3c27['isHasCommentsModified']=_0x4e0a9a['bool']();break;case 0x5:_0x1d3c27['state']=_0x4e0a9a['string']();break;case 0x6:_0x1d3c27['attributes']=_0x4e0a9a['string']();break;default:_0x4e0a9a['skipType'](0x7&_0x2fd689,_0x526df4);}}return _0x1d3c27;},_0x32e5ca['decodeDelimited']=function(_0x4ddc11){return _0x4ddc11 instanceof _0x15a427||(_0x4ddc11=new _0x15a427(_0x4ddc11)),this['decode'](_0x4ddc11,_0x4ddc11['uint32']());},_0x32e5ca['verify']=function(_0x27b601,_0x452cb4){return'object'!=typeof _0x27b601||null===_0x27b601?'object\x20expected':(void 0x0===_0x452cb4&&(_0x452cb4=0x0),_0x452cb4>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x27b601['id']&&_0x27b601['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x27b601['id'])?'id:\x20string\x20expected':null!=_0x27b601['documentId']&&_0x27b601['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x27b601['documentId'])?'documentId:\x20string\x20expected':null!=_0x27b601['hasComments']&&_0x27b601['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x27b601['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x27b601['isHasCommentsModified']&&_0x27b601['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x27b601['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x27b601['state']&&_0x27b601['hasOwnProperty']('state')&&!_0x6b5d1['isString'](_0x27b601['state'])?'state:\x20string\x20expected':null!=_0x27b601['attributes']&&_0x27b601['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x27b601['attributes'])?'attributes:\x20string\x20expected':null);},_0x32e5ca['fromObject']=function(_0x45eb6d,_0xd948be){if(_0x45eb6d instanceof _0x59f061['TrackChangesUpdateSuggestionMessage'])return _0x45eb6d;if(void 0x0===_0xd948be&&(_0xd948be=0x0),_0xd948be>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x55495c=new _0x59f061['TrackChangesUpdateSuggestionMessage']();return null!=_0x45eb6d['id']&&(_0x55495c['id']=String(_0x45eb6d['id'])),null!=_0x45eb6d['documentId']&&(_0x55495c['documentId']=String(_0x45eb6d['documentId'])),null!=_0x45eb6d['hasComments']&&(_0x55495c['hasComments']=Boolean(_0x45eb6d['hasComments'])),null!=_0x45eb6d['isHasCommentsModified']&&(_0x55495c['isHasCommentsModified']=Boolean(_0x45eb6d['isHasCommentsModified'])),null!=_0x45eb6d['state']&&(_0x55495c['state']=String(_0x45eb6d['state'])),null!=_0x45eb6d['attributes']&&(_0x55495c['attributes']=String(_0x45eb6d['attributes'])),_0x55495c;},_0x32e5ca['toObject']=function(_0x478fdc,_0xb470d0){_0xb470d0||(_0xb470d0={});var _0x35c450={};return _0xb470d0['defaults']&&(_0x35c450['id']='',_0x35c450['documentId']='',_0x35c450['hasComments']=!0x1,_0x35c450['isHasCommentsModified']=!0x1,_0x35c450['state']='',_0x35c450['attributes']=''),null!=_0x478fdc['id']&&_0x478fdc['hasOwnProperty']('id')&&(_0x35c450['id']=_0x478fdc['id']),null!=_0x478fdc['documentId']&&_0x478fdc['hasOwnProperty']('documentId')&&(_0x35c450['documentId']=_0x478fdc['documentId']),null!=_0x478fdc['hasComments']&&_0x478fdc['hasOwnProperty']('hasComments')&&(_0x35c450['hasComments']=_0x478fdc['hasComments']),null!=_0x478fdc['isHasCommentsModified']&&_0x478fdc['hasOwnProperty']('isHasCommentsModified')&&(_0x35c450['isHasCommentsModified']=_0x478fdc['isHasCommentsModified']),null!=_0x478fdc['state']&&_0x478fdc['hasOwnProperty']('state')&&(_0x35c450['state']=_0x478fdc['state']),null!=_0x478fdc['attributes']&&_0x478fdc['hasOwnProperty']('attributes')&&(_0x35c450['attributes']=_0x478fdc['attributes']),_0x35c450;},_0x32e5ca['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x32e5ca['getTypeUrl']=function(_0x29eb8c){return void 0x0===_0x29eb8c&&(_0x29eb8c='type.googleapis.com'),_0x29eb8c+'/TrackChangesUpdateSuggestionMessage';},_0x32e5ca;}()),_0x59f061['TrackChangesGetSuggestionMessage']=(function(){function _0x4ae6ce(_0xf8d6c6){if(_0xf8d6c6){for(var _0x11c07c=Object['keys'](_0xf8d6c6),_0x5aa83f=0x0;_0x5aa83f<_0x11c07c['length'];++_0x5aa83f)null!=_0xf8d6c6[_0x11c07c[_0x5aa83f]]&&'__proto__'!==_0x11c07c[_0x5aa83f]&&(this[_0x11c07c[_0x5aa83f]]=_0xf8d6c6[_0x11c07c[_0x5aa83f]]);}}return _0x4ae6ce['prototype']['id']='',_0x4ae6ce['prototype']['documentId']='',_0x4ae6ce['create']=function(_0x3c9207){return new _0x4ae6ce(_0x3c9207);},_0x4ae6ce['encode']=function(_0x26f800,_0x46a9b2){return _0x46a9b2||(_0x46a9b2=_0x5cad89['create']()),null!=_0x26f800['id']&&Object['hasOwnProperty']['call'](_0x26f800,'id')&&_0x46a9b2['uint32'](0xa)['string'](_0x26f800['id']),null!=_0x26f800['documentId']&&Object['hasOwnProperty']['call'](_0x26f800,'documentId')&&_0x46a9b2['uint32'](0x12)['string'](_0x26f800['documentId']),_0x46a9b2;},_0x4ae6ce['encodeDelimited']=function(_0x25330b,_0x545632){return this['encode'](_0x25330b,_0x545632)['ldelim']();},_0x4ae6ce['decode']=function(_0x2f40aa,_0x549ebf,_0x320ab1,_0x3d5468){if(_0x2f40aa instanceof _0x15a427||(_0x2f40aa=_0x15a427['create'](_0x2f40aa)),void 0x0===_0x3d5468&&(_0x3d5468=0x0),_0x3d5468>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4dbe35=void 0x0===_0x549ebf?_0x2f40aa['len']:_0x2f40aa['pos']+_0x549ebf,_0x500763=new _0x59f061['TrackChangesGetSuggestionMessage']();_0x2f40aa['pos']<_0x4dbe35;){var _0x123729=_0x2f40aa['uint32']();if(_0x123729===_0x320ab1)break;switch(_0x123729>>>0x3){case 0x1:_0x500763['id']=_0x2f40aa['string']();break;case 0x2:_0x500763['documentId']=_0x2f40aa['string']();break;default:_0x2f40aa['skipType'](0x7&_0x123729,_0x3d5468);}}return _0x500763;},_0x4ae6ce['decodeDelimited']=function(_0x210070){return _0x210070 instanceof _0x15a427||(_0x210070=new _0x15a427(_0x210070)),this['decode'](_0x210070,_0x210070['uint32']());},_0x4ae6ce['verify']=function(_0x28f207,_0x7c1c62){return'object'!=typeof _0x28f207||null===_0x28f207?'object\x20expected':(void 0x0===_0x7c1c62&&(_0x7c1c62=0x0),_0x7c1c62>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x28f207['id']&&_0x28f207['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x28f207['id'])?'id:\x20string\x20expected':null!=_0x28f207['documentId']&&_0x28f207['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x28f207['documentId'])?'documentId:\x20string\x20expected':null);},_0x4ae6ce['fromObject']=function(_0x2df7ee,_0x1c23a9){if(_0x2df7ee instanceof _0x59f061['TrackChangesGetSuggestionMessage'])return _0x2df7ee;if(void 0x0===_0x1c23a9&&(_0x1c23a9=0x0),_0x1c23a9>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x218f77=new _0x59f061['TrackChangesGetSuggestionMessage']();return null!=_0x2df7ee['id']&&(_0x218f77['id']=String(_0x2df7ee['id'])),null!=_0x2df7ee['documentId']&&(_0x218f77['documentId']=String(_0x2df7ee['documentId'])),_0x218f77;},_0x4ae6ce['toObject']=function(_0xa9d847,_0xca45ad){_0xca45ad||(_0xca45ad={});var _0x35b9be={};return _0xca45ad['defaults']&&(_0x35b9be['id']='',_0x35b9be['documentId']=''),null!=_0xa9d847['id']&&_0xa9d847['hasOwnProperty']('id')&&(_0x35b9be['id']=_0xa9d847['id']),null!=_0xa9d847['documentId']&&_0xa9d847['hasOwnProperty']('documentId')&&(_0x35b9be['documentId']=_0xa9d847['documentId']),_0x35b9be;},_0x4ae6ce['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4ae6ce['getTypeUrl']=function(_0x50bb8d){return void 0x0===_0x50bb8d&&(_0x50bb8d='type.googleapis.com'),_0x50bb8d+'/TrackChangesGetSuggestionMessage';},_0x4ae6ce;}()),_0x59f061['TrackChangesGetAllSuggestionMessage']=(function(){function _0x5e6b95(_0xd5c3e1){if(_0xd5c3e1){for(var _0x542787=Object['keys'](_0xd5c3e1),_0x2ef10e=0x0;_0x2ef10e<_0x542787['length'];++_0x2ef10e)null!=_0xd5c3e1[_0x542787[_0x2ef10e]]&&'__proto__'!==_0x542787[_0x2ef10e]&&(this[_0x542787[_0x2ef10e]]=_0xd5c3e1[_0x542787[_0x2ef10e]]);}}return _0x5e6b95['prototype']['documentId']='',_0x5e6b95['create']=function(_0x301a2a){return new _0x5e6b95(_0x301a2a);},_0x5e6b95['encode']=function(_0xf55239,_0x2a5185){return _0x2a5185||(_0x2a5185=_0x5cad89['create']()),null!=_0xf55239['documentId']&&Object['hasOwnProperty']['call'](_0xf55239,'documentId')&&_0x2a5185['uint32'](0xa)['string'](_0xf55239['documentId']),_0x2a5185;},_0x5e6b95['encodeDelimited']=function(_0x3446ab,_0x13bd4f){return this['encode'](_0x3446ab,_0x13bd4f)['ldelim']();},_0x5e6b95['decode']=function(_0x5d52ef,_0x3b0900,_0x5a3ab7,_0x440638){if(_0x5d52ef instanceof _0x15a427||(_0x5d52ef=_0x15a427['create'](_0x5d52ef)),void 0x0===_0x440638&&(_0x440638=0x0),_0x440638>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x464a52=void 0x0===_0x3b0900?_0x5d52ef['len']:_0x5d52ef['pos']+_0x3b0900,_0x2177aa=new _0x59f061['TrackChangesGetAllSuggestionMessage']();_0x5d52ef['pos']<_0x464a52;){var _0xa0ef23=_0x5d52ef['uint32']();if(_0xa0ef23===_0x5a3ab7)break;_0xa0ef23>>>0x3==0x1?_0x2177aa['documentId']=_0x5d52ef['string']():_0x5d52ef['skipType'](0x7&_0xa0ef23,_0x440638);}return _0x2177aa;},_0x5e6b95['decodeDelimited']=function(_0x1a3d54){return _0x1a3d54 instanceof _0x15a427||(_0x1a3d54=new _0x15a427(_0x1a3d54)),this['decode'](_0x1a3d54,_0x1a3d54['uint32']());},_0x5e6b95['verify']=function(_0x12f8fe,_0x36d076){return'object'!=typeof _0x12f8fe||null===_0x12f8fe?'object\x20expected':(void 0x0===_0x36d076&&(_0x36d076=0x0),_0x36d076>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x12f8fe['documentId']&&_0x12f8fe['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x12f8fe['documentId'])?'documentId:\x20string\x20expected':null);},_0x5e6b95['fromObject']=function(_0x13e9f1,_0xf35b75){if(_0x13e9f1 instanceof _0x59f061['TrackChangesGetAllSuggestionMessage'])return _0x13e9f1;if(void 0x0===_0xf35b75&&(_0xf35b75=0x0),_0xf35b75>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34a4c0=new _0x59f061['TrackChangesGetAllSuggestionMessage']();return null!=_0x13e9f1['documentId']&&(_0x34a4c0['documentId']=String(_0x13e9f1['documentId'])),_0x34a4c0;},_0x5e6b95['toObject']=function(_0x1df1bd,_0x1bd697){_0x1bd697||(_0x1bd697={});var _0x4872fb={};return _0x1bd697['defaults']&&(_0x4872fb['documentId']=''),null!=_0x1df1bd['documentId']&&_0x1df1bd['hasOwnProperty']('documentId')&&(_0x4872fb['documentId']=_0x1df1bd['documentId']),_0x4872fb;},_0x5e6b95['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5e6b95['getTypeUrl']=function(_0x4df3ec){return void 0x0===_0x4df3ec&&(_0x4df3ec='type.googleapis.com'),_0x4df3ec+'/TrackChangesGetAllSuggestionMessage';},_0x5e6b95;}()),_0x59f061['TrackChangesConnectMessage']=(function(){function _0x52dd7f(_0x11f4de){if(_0x11f4de){for(var _0x3f742c=Object['keys'](_0x11f4de),_0x330a1c=0x0;_0x330a1c<_0x3f742c['length'];++_0x330a1c)null!=_0x11f4de[_0x3f742c[_0x330a1c]]&&'__proto__'!==_0x3f742c[_0x330a1c]&&(this[_0x3f742c[_0x330a1c]]=_0x11f4de[_0x3f742c[_0x330a1c]]);}}return _0x52dd7f['prototype']['documentId']='',_0x52dd7f['create']=function(_0x5b3d62){return new _0x52dd7f(_0x5b3d62);},_0x52dd7f['encode']=function(_0x2e8c42,_0x20e4a1){return _0x20e4a1||(_0x20e4a1=_0x5cad89['create']()),null!=_0x2e8c42['documentId']&&Object['hasOwnProperty']['call'](_0x2e8c42,'documentId')&&_0x20e4a1['uint32'](0xa)['string'](_0x2e8c42['documentId']),_0x20e4a1;},_0x52dd7f['encodeDelimited']=function(_0x32353a,_0x3efcee){return this['encode'](_0x32353a,_0x3efcee)['ldelim']();},_0x52dd7f['decode']=function(_0x165939,_0x5e0ac3,_0x8519b1,_0x388d2d){if(_0x165939 instanceof _0x15a427||(_0x165939=_0x15a427['create'](_0x165939)),void 0x0===_0x388d2d&&(_0x388d2d=0x0),_0x388d2d>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3199aa=void 0x0===_0x5e0ac3?_0x165939['len']:_0x165939['pos']+_0x5e0ac3,_0x4a9fdf=new _0x59f061['TrackChangesConnectMessage']();_0x165939['pos']<_0x3199aa;){var _0x34e1eb=_0x165939['uint32']();if(_0x34e1eb===_0x8519b1)break;_0x34e1eb>>>0x3==0x1?_0x4a9fdf['documentId']=_0x165939['string']():_0x165939['skipType'](0x7&_0x34e1eb,_0x388d2d);}return _0x4a9fdf;},_0x52dd7f['decodeDelimited']=function(_0xcbea77){return _0xcbea77 instanceof _0x15a427||(_0xcbea77=new _0x15a427(_0xcbea77)),this['decode'](_0xcbea77,_0xcbea77['uint32']());},_0x52dd7f['verify']=function(_0x30a076,_0x2173c5){return'object'!=typeof _0x30a076||null===_0x30a076?'object\x20expected':(void 0x0===_0x2173c5&&(_0x2173c5=0x0),_0x2173c5>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x30a076['documentId']&&_0x30a076['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x30a076['documentId'])?'documentId:\x20string\x20expected':null);},_0x52dd7f['fromObject']=function(_0x16a114,_0x3b2f6c){if(_0x16a114 instanceof _0x59f061['TrackChangesConnectMessage'])return _0x16a114;if(void 0x0===_0x3b2f6c&&(_0x3b2f6c=0x0),_0x3b2f6c>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x32bc0e=new _0x59f061['TrackChangesConnectMessage']();return null!=_0x16a114['documentId']&&(_0x32bc0e['documentId']=String(_0x16a114['documentId'])),_0x32bc0e;},_0x52dd7f['toObject']=function(_0x3aa7db,_0x41bbc5){_0x41bbc5||(_0x41bbc5={});var _0x1b6454={};return _0x41bbc5['defaults']&&(_0x1b6454['documentId']=''),null!=_0x3aa7db['documentId']&&_0x3aa7db['hasOwnProperty']('documentId')&&(_0x1b6454['documentId']=_0x3aa7db['documentId']),_0x1b6454;},_0x52dd7f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x52dd7f['getTypeUrl']=function(_0x24fb42){return void 0x0===_0x24fb42&&(_0x24fb42='type.googleapis.com'),_0x24fb42+'/TrackChangesConnectMessage';},_0x52dd7f;}()),_0x59f061['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x21899f(_0x3596d1){if(this['ids']=[],_0x3596d1){for(var _0x3d1ef8=Object['keys'](_0x3596d1),_0x254351=0x0;_0x254351<_0x3d1ef8['length'];++_0x254351)null!=_0x3596d1[_0x3d1ef8[_0x254351]]&&'__proto__'!==_0x3d1ef8[_0x254351]&&(this[_0x3d1ef8[_0x254351]]=_0x3596d1[_0x3d1ef8[_0x254351]]);}}return _0x21899f['prototype']['ids']=_0x6b5d1['emptyArray'],_0x21899f['prototype']['documentId']='',_0x21899f['prototype']['state']='',_0x21899f['create']=function(_0x264acc){return new _0x21899f(_0x264acc);},_0x21899f['encode']=function(_0x3d84fe,_0x55f6c0){if(_0x55f6c0||(_0x55f6c0=_0x5cad89['create']()),null!=_0x3d84fe['ids']&&_0x3d84fe['ids']['length']){for(var _0x53d3fa=0x0;_0x53d3fa<_0x3d84fe['ids']['length'];++_0x53d3fa)_0x55f6c0['uint32'](0xa)['string'](_0x3d84fe['ids'][_0x53d3fa]);}return null!=_0x3d84fe['documentId']&&Object['hasOwnProperty']['call'](_0x3d84fe,'documentId')&&_0x55f6c0['uint32'](0x12)['string'](_0x3d84fe['documentId']),null!=_0x3d84fe['state']&&Object['hasOwnProperty']['call'](_0x3d84fe,'state')&&_0x55f6c0['uint32'](0x1a)['string'](_0x3d84fe['state']),_0x55f6c0;},_0x21899f['encodeDelimited']=function(_0x558e48,_0x12ad99){return this['encode'](_0x558e48,_0x12ad99)['ldelim']();},_0x21899f['decode']=function(_0x1ed403,_0x1dd746,_0xae093c,_0x452b36){if(_0x1ed403 instanceof _0x15a427||(_0x1ed403=_0x15a427['create'](_0x1ed403)),void 0x0===_0x452b36&&(_0x452b36=0x0),_0x452b36>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x43776e=void 0x0===_0x1dd746?_0x1ed403['len']:_0x1ed403['pos']+_0x1dd746,_0x23d6f7=new _0x59f061['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x1ed403['pos']<_0x43776e;){var _0x18d4f2=_0x1ed403['uint32']();if(_0x18d4f2===_0xae093c)break;switch(_0x18d4f2>>>0x3){case 0x1:_0x23d6f7['ids']&&_0x23d6f7['ids']['length']||(_0x23d6f7['ids']=[]),_0x23d6f7['ids']['push'](_0x1ed403['string']());break;case 0x2:_0x23d6f7['documentId']=_0x1ed403['string']();break;case 0x3:_0x23d6f7['state']=_0x1ed403['string']();break;default:_0x1ed403['skipType'](0x7&_0x18d4f2,_0x452b36);}}return _0x23d6f7;},_0x21899f['decodeDelimited']=function(_0x17ca23){return _0x17ca23 instanceof _0x15a427||(_0x17ca23=new _0x15a427(_0x17ca23)),this['decode'](_0x17ca23,_0x17ca23['uint32']());},_0x21899f['verify']=function(_0x109b58,_0x13e36d){if('object'!=typeof _0x109b58||null===_0x109b58)return'object\x20expected';if(void 0x0===_0x13e36d&&(_0x13e36d=0x0),_0x13e36d>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x109b58['ids']&&_0x109b58['hasOwnProperty']('ids')){if(!Array['isArray'](_0x109b58['ids']))return'ids:\x20array\x20expected';for(var _0xa284e1=0x0;_0xa284e1<_0x109b58['ids']['length'];++_0xa284e1)if(!_0x6b5d1['isString'](_0x109b58['ids'][_0xa284e1]))return'ids:\x20string[]\x20expected';}return null!=_0x109b58['documentId']&&_0x109b58['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x109b58['documentId'])?'documentId:\x20string\x20expected':null!=_0x109b58['state']&&_0x109b58['hasOwnProperty']('state')&&!_0x6b5d1['isString'](_0x109b58['state'])?'state:\x20string\x20expected':null;},_0x21899f['fromObject']=function(_0x1e4e2f,_0x59a1d3){if(_0x1e4e2f instanceof _0x59f061['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x1e4e2f;if(void 0x0===_0x59a1d3&&(_0x59a1d3=0x0),_0x59a1d3>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ac22a=new _0x59f061['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x1e4e2f['ids']){if(!Array['isArray'](_0x1e4e2f['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x4ac22a['ids']=[];for(var _0x730c8c=0x0;_0x730c8c<_0x1e4e2f['ids']['length'];++_0x730c8c)_0x4ac22a['ids'][_0x730c8c]=String(_0x1e4e2f['ids'][_0x730c8c]);}return null!=_0x1e4e2f['documentId']&&(_0x4ac22a['documentId']=String(_0x1e4e2f['documentId'])),null!=_0x1e4e2f['state']&&(_0x4ac22a['state']=String(_0x1e4e2f['state'])),_0x4ac22a;},_0x21899f['toObject']=function(_0xdd7df0,_0x222d85){_0x222d85||(_0x222d85={});var _0x23963e={};if((_0x222d85['arrays']||_0x222d85['defaults'])&&(_0x23963e['ids']=[]),_0x222d85['defaults']&&(_0x23963e['documentId']='',_0x23963e['state']=''),_0xdd7df0['ids']&&_0xdd7df0['ids']['length']){_0x23963e['ids']=[];for(var _0x2ccde8=0x0;_0x2ccde8<_0xdd7df0['ids']['length'];++_0x2ccde8)_0x23963e['ids'][_0x2ccde8]=_0xdd7df0['ids'][_0x2ccde8];}return null!=_0xdd7df0['documentId']&&_0xdd7df0['hasOwnProperty']('documentId')&&(_0x23963e['documentId']=_0xdd7df0['documentId']),null!=_0xdd7df0['state']&&_0xdd7df0['hasOwnProperty']('state')&&(_0x23963e['state']=_0xdd7df0['state']),_0x23963e;},_0x21899f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x21899f['getTypeUrl']=function(_0x508362){return void 0x0===_0x508362&&(_0x508362='type.googleapis.com'),_0x508362+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x21899f;}()),_0x59f061['TrackChangesAddSuggestionMessage']=(function(){function _0x19dac6(_0x322217){if(_0x322217){for(var _0xa89059=Object['keys'](_0x322217),_0x5f26cb=0x0;_0x5f26cb<_0xa89059['length'];++_0x5f26cb)null!=_0x322217[_0xa89059[_0x5f26cb]]&&'__proto__'!==_0xa89059[_0x5f26cb]&&(this[_0xa89059[_0x5f26cb]]=_0x322217[_0xa89059[_0x5f26cb]]);}}return _0x19dac6['prototype']['id']='',_0x19dac6['prototype']['documentId']='',_0x19dac6['prototype']['type']='',_0x19dac6['prototype']['data']='',_0x19dac6['prototype']['originalSuggestionId']='',_0x19dac6['prototype']['attributes']='',_0x19dac6['create']=function(_0x3c6a32){return new _0x19dac6(_0x3c6a32);},_0x19dac6['encode']=function(_0x271763,_0x1ed848){return _0x1ed848||(_0x1ed848=_0x5cad89['create']()),null!=_0x271763['id']&&Object['hasOwnProperty']['call'](_0x271763,'id')&&_0x1ed848['uint32'](0xa)['string'](_0x271763['id']),null!=_0x271763['documentId']&&Object['hasOwnProperty']['call'](_0x271763,'documentId')&&_0x1ed848['uint32'](0x12)['string'](_0x271763['documentId']),null!=_0x271763['type']&&Object['hasOwnProperty']['call'](_0x271763,'type')&&_0x1ed848['uint32'](0x1a)['string'](_0x271763['type']),null!=_0x271763['data']&&Object['hasOwnProperty']['call'](_0x271763,'data')&&_0x1ed848['uint32'](0x22)['string'](_0x271763['data']),null!=_0x271763['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x271763,'originalSuggestionId')&&_0x1ed848['uint32'](0x2a)['string'](_0x271763['originalSuggestionId']),null!=_0x271763['attributes']&&Object['hasOwnProperty']['call'](_0x271763,'attributes')&&_0x1ed848['uint32'](0x32)['string'](_0x271763['attributes']),_0x1ed848;},_0x19dac6['encodeDelimited']=function(_0x5572fd,_0x4e9e9c){return this['encode'](_0x5572fd,_0x4e9e9c)['ldelim']();},_0x19dac6['decode']=function(_0x4becde,_0x3cb923,_0x48d3c4,_0x9729a3){if(_0x4becde instanceof _0x15a427||(_0x4becde=_0x15a427['create'](_0x4becde)),void 0x0===_0x9729a3&&(_0x9729a3=0x0),_0x9729a3>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4c50ff=void 0x0===_0x3cb923?_0x4becde['len']:_0x4becde['pos']+_0x3cb923,_0x204037=new _0x59f061['TrackChangesAddSuggestionMessage']();_0x4becde['pos']<_0x4c50ff;){var _0x3ad7ae=_0x4becde['uint32']();if(_0x3ad7ae===_0x48d3c4)break;switch(_0x3ad7ae>>>0x3){case 0x1:_0x204037['id']=_0x4becde['string']();break;case 0x2:_0x204037['documentId']=_0x4becde['string']();break;case 0x3:_0x204037['type']=_0x4becde['string']();break;case 0x4:_0x204037['data']=_0x4becde['string']();break;case 0x5:_0x204037['originalSuggestionId']=_0x4becde['string']();break;case 0x6:_0x204037['attributes']=_0x4becde['string']();break;default:_0x4becde['skipType'](0x7&_0x3ad7ae,_0x9729a3);}}return _0x204037;},_0x19dac6['decodeDelimited']=function(_0x2180e1){return _0x2180e1 instanceof _0x15a427||(_0x2180e1=new _0x15a427(_0x2180e1)),this['decode'](_0x2180e1,_0x2180e1['uint32']());},_0x19dac6['verify']=function(_0x25595f,_0x499142){return'object'!=typeof _0x25595f||null===_0x25595f?'object\x20expected':(void 0x0===_0x499142&&(_0x499142=0x0),_0x499142>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x25595f['id']&&_0x25595f['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x25595f['id'])?'id:\x20string\x20expected':null!=_0x25595f['documentId']&&_0x25595f['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x25595f['documentId'])?'documentId:\x20string\x20expected':null!=_0x25595f['type']&&_0x25595f['hasOwnProperty']('type')&&!_0x6b5d1['isString'](_0x25595f['type'])?'type:\x20string\x20expected':null!=_0x25595f['data']&&_0x25595f['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x25595f['data'])?'data:\x20string\x20expected':null!=_0x25595f['originalSuggestionId']&&_0x25595f['hasOwnProperty']('originalSuggestionId')&&!_0x6b5d1['isString'](_0x25595f['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x25595f['attributes']&&_0x25595f['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x25595f['attributes'])?'attributes:\x20string\x20expected':null);},_0x19dac6['fromObject']=function(_0x51f349,_0x1165cd){if(_0x51f349 instanceof _0x59f061['TrackChangesAddSuggestionMessage'])return _0x51f349;if(void 0x0===_0x1165cd&&(_0x1165cd=0x0),_0x1165cd>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x499db2=new _0x59f061['TrackChangesAddSuggestionMessage']();return null!=_0x51f349['id']&&(_0x499db2['id']=String(_0x51f349['id'])),null!=_0x51f349['documentId']&&(_0x499db2['documentId']=String(_0x51f349['documentId'])),null!=_0x51f349['type']&&(_0x499db2['type']=String(_0x51f349['type'])),null!=_0x51f349['data']&&(_0x499db2['data']=String(_0x51f349['data'])),null!=_0x51f349['originalSuggestionId']&&(_0x499db2['originalSuggestionId']=String(_0x51f349['originalSuggestionId'])),null!=_0x51f349['attributes']&&(_0x499db2['attributes']=String(_0x51f349['attributes'])),_0x499db2;},_0x19dac6['toObject']=function(_0xda0984,_0x5e7e57){_0x5e7e57||(_0x5e7e57={});var _0x586a6d={};return _0x5e7e57['defaults']&&(_0x586a6d['id']='',_0x586a6d['documentId']='',_0x586a6d['type']='',_0x586a6d['data']='',_0x586a6d['originalSuggestionId']='',_0x586a6d['attributes']=''),null!=_0xda0984['id']&&_0xda0984['hasOwnProperty']('id')&&(_0x586a6d['id']=_0xda0984['id']),null!=_0xda0984['documentId']&&_0xda0984['hasOwnProperty']('documentId')&&(_0x586a6d['documentId']=_0xda0984['documentId']),null!=_0xda0984['type']&&_0xda0984['hasOwnProperty']('type')&&(_0x586a6d['type']=_0xda0984['type']),null!=_0xda0984['data']&&_0xda0984['hasOwnProperty']('data')&&(_0x586a6d['data']=_0xda0984['data']),null!=_0xda0984['originalSuggestionId']&&_0xda0984['hasOwnProperty']('originalSuggestionId')&&(_0x586a6d['originalSuggestionId']=_0xda0984['originalSuggestionId']),null!=_0xda0984['attributes']&&_0xda0984['hasOwnProperty']('attributes')&&(_0x586a6d['attributes']=_0xda0984['attributes']),_0x586a6d;},_0x19dac6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x19dac6['getTypeUrl']=function(_0x3ae385){return void 0x0===_0x3ae385&&(_0x3ae385='type.googleapis.com'),_0x3ae385+'/TrackChangesAddSuggestionMessage';},_0x19dac6;}()),_0x59f061['SuggestionDescriptor']=(function(){function _0x44961d(_0x472d4b){if(_0x472d4b){for(var _0x1167a3=Object['keys'](_0x472d4b),_0x1e3382=0x0;_0x1e3382<_0x1167a3['length'];++_0x1e3382)null!=_0x472d4b[_0x1167a3[_0x1e3382]]&&'__proto__'!==_0x1167a3[_0x1e3382]&&(this[_0x1167a3[_0x1e3382]]=_0x472d4b[_0x1167a3[_0x1e3382]]);}}return _0x44961d['prototype']['id']='',_0x44961d['prototype']['authorId']='',_0x44961d['prototype']['type']='',_0x44961d['prototype']['createdAt']='',_0x44961d['prototype']['data']='',_0x44961d['prototype']['hasComments']=!0x1,_0x44961d['prototype']['state']='',_0x44961d['prototype']['attributes']='',_0x44961d['create']=function(_0x35c1af){return new _0x44961d(_0x35c1af);},_0x44961d['encode']=function(_0x3fa0d2,_0x101fbe){return _0x101fbe||(_0x101fbe=_0x5cad89['create']()),null!=_0x3fa0d2['id']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'id')&&_0x101fbe['uint32'](0xa)['string'](_0x3fa0d2['id']),null!=_0x3fa0d2['authorId']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'authorId')&&_0x101fbe['uint32'](0x12)['string'](_0x3fa0d2['authorId']),null!=_0x3fa0d2['type']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'type')&&_0x101fbe['uint32'](0x1a)['string'](_0x3fa0d2['type']),null!=_0x3fa0d2['createdAt']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'createdAt')&&_0x101fbe['uint32'](0x22)['string'](_0x3fa0d2['createdAt']),null!=_0x3fa0d2['data']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'data')&&_0x101fbe['uint32'](0x2a)['string'](_0x3fa0d2['data']),null!=_0x3fa0d2['hasComments']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'hasComments')&&_0x101fbe['uint32'](0x30)['bool'](_0x3fa0d2['hasComments']),null!=_0x3fa0d2['state']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'state')&&_0x101fbe['uint32'](0x3a)['string'](_0x3fa0d2['state']),null!=_0x3fa0d2['attributes']&&Object['hasOwnProperty']['call'](_0x3fa0d2,'attributes')&&_0x101fbe['uint32'](0x42)['string'](_0x3fa0d2['attributes']),_0x101fbe;},_0x44961d['encodeDelimited']=function(_0xb5fee9,_0x4338c4){return this['encode'](_0xb5fee9,_0x4338c4)['ldelim']();},_0x44961d['decode']=function(_0x1204bb,_0x4c62a4,_0x92edd6,_0x1bd966){if(_0x1204bb instanceof _0x15a427||(_0x1204bb=_0x15a427['create'](_0x1204bb)),void 0x0===_0x1bd966&&(_0x1bd966=0x0),_0x1bd966>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ef781=void 0x0===_0x4c62a4?_0x1204bb['len']:_0x1204bb['pos']+_0x4c62a4,_0x39c585=new _0x59f061['SuggestionDescriptor']();_0x1204bb['pos']<_0x3ef781;){var _0x239ee4=_0x1204bb['uint32']();if(_0x239ee4===_0x92edd6)break;switch(_0x239ee4>>>0x3){case 0x1:_0x39c585['id']=_0x1204bb['string']();break;case 0x2:_0x39c585['authorId']=_0x1204bb['string']();break;case 0x3:_0x39c585['type']=_0x1204bb['string']();break;case 0x4:_0x39c585['createdAt']=_0x1204bb['string']();break;case 0x5:_0x39c585['data']=_0x1204bb['string']();break;case 0x6:_0x39c585['hasComments']=_0x1204bb['bool']();break;case 0x7:_0x39c585['state']=_0x1204bb['string']();break;case 0x8:_0x39c585['attributes']=_0x1204bb['string']();break;default:_0x1204bb['skipType'](0x7&_0x239ee4,_0x1bd966);}}return _0x39c585;},_0x44961d['decodeDelimited']=function(_0x55c826){return _0x55c826 instanceof _0x15a427||(_0x55c826=new _0x15a427(_0x55c826)),this['decode'](_0x55c826,_0x55c826['uint32']());},_0x44961d['verify']=function(_0x459510,_0x2ff327){return'object'!=typeof _0x459510||null===_0x459510?'object\x20expected':(void 0x0===_0x2ff327&&(_0x2ff327=0x0),_0x2ff327>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x459510['id']&&_0x459510['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x459510['id'])?'id:\x20string\x20expected':null!=_0x459510['authorId']&&_0x459510['hasOwnProperty']('authorId')&&!_0x6b5d1['isString'](_0x459510['authorId'])?'authorId:\x20string\x20expected':null!=_0x459510['type']&&_0x459510['hasOwnProperty']('type')&&!_0x6b5d1['isString'](_0x459510['type'])?'type:\x20string\x20expected':null!=_0x459510['createdAt']&&_0x459510['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x459510['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x459510['data']&&_0x459510['hasOwnProperty']('data')&&!_0x6b5d1['isString'](_0x459510['data'])?'data:\x20string\x20expected':null!=_0x459510['hasComments']&&_0x459510['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x459510['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x459510['state']&&_0x459510['hasOwnProperty']('state')&&!_0x6b5d1['isString'](_0x459510['state'])?'state:\x20string\x20expected':null!=_0x459510['attributes']&&_0x459510['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x459510['attributes'])?'attributes:\x20string\x20expected':null);},_0x44961d['fromObject']=function(_0x3d9957,_0x536db0){if(_0x3d9957 instanceof _0x59f061['SuggestionDescriptor'])return _0x3d9957;if(void 0x0===_0x536db0&&(_0x536db0=0x0),_0x536db0>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x477c36=new _0x59f061['SuggestionDescriptor']();return null!=_0x3d9957['id']&&(_0x477c36['id']=String(_0x3d9957['id'])),null!=_0x3d9957['authorId']&&(_0x477c36['authorId']=String(_0x3d9957['authorId'])),null!=_0x3d9957['type']&&(_0x477c36['type']=String(_0x3d9957['type'])),null!=_0x3d9957['createdAt']&&(_0x477c36['createdAt']=String(_0x3d9957['createdAt'])),null!=_0x3d9957['data']&&(_0x477c36['data']=String(_0x3d9957['data'])),null!=_0x3d9957['hasComments']&&(_0x477c36['hasComments']=Boolean(_0x3d9957['hasComments'])),null!=_0x3d9957['state']&&(_0x477c36['state']=String(_0x3d9957['state'])),null!=_0x3d9957['attributes']&&(_0x477c36['attributes']=String(_0x3d9957['attributes'])),_0x477c36;},_0x44961d['toObject']=function(_0x5a6906,_0x4aaa93){_0x4aaa93||(_0x4aaa93={});var _0x290fbc={};return _0x4aaa93['defaults']&&(_0x290fbc['id']='',_0x290fbc['authorId']='',_0x290fbc['type']='',_0x290fbc['createdAt']='',_0x290fbc['data']='',_0x290fbc['hasComments']=!0x1,_0x290fbc['state']='',_0x290fbc['attributes']=''),null!=_0x5a6906['id']&&_0x5a6906['hasOwnProperty']('id')&&(_0x290fbc['id']=_0x5a6906['id']),null!=_0x5a6906['authorId']&&_0x5a6906['hasOwnProperty']('authorId')&&(_0x290fbc['authorId']=_0x5a6906['authorId']),null!=_0x5a6906['type']&&_0x5a6906['hasOwnProperty']('type')&&(_0x290fbc['type']=_0x5a6906['type']),null!=_0x5a6906['createdAt']&&_0x5a6906['hasOwnProperty']('createdAt')&&(_0x290fbc['createdAt']=_0x5a6906['createdAt']),null!=_0x5a6906['data']&&_0x5a6906['hasOwnProperty']('data')&&(_0x290fbc['data']=_0x5a6906['data']),null!=_0x5a6906['hasComments']&&_0x5a6906['hasOwnProperty']('hasComments')&&(_0x290fbc['hasComments']=_0x5a6906['hasComments']),null!=_0x5a6906['state']&&_0x5a6906['hasOwnProperty']('state')&&(_0x290fbc['state']=_0x5a6906['state']),null!=_0x5a6906['attributes']&&_0x5a6906['hasOwnProperty']('attributes')&&(_0x290fbc['attributes']=_0x5a6906['attributes']),_0x290fbc;},_0x44961d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x44961d['getTypeUrl']=function(_0x4ed924){return void 0x0===_0x4ed924&&(_0x4ed924='type.googleapis.com'),_0x4ed924+'/SuggestionDescriptor';},_0x44961d;}()),_0x59f061['SessionsConnectResponse']=(function(){function _0x4ae81a(_0x221ed1){if(this['sockets']=[],_0x221ed1){for(var _0x1b6457=Object['keys'](_0x221ed1),_0x476b95=0x0;_0x476b95<_0x1b6457['length'];++_0x476b95)null!=_0x221ed1[_0x1b6457[_0x476b95]]&&'__proto__'!==_0x1b6457[_0x476b95]&&(this[_0x1b6457[_0x476b95]]=_0x221ed1[_0x1b6457[_0x476b95]]);}}return _0x4ae81a['prototype']['channel']='',_0x4ae81a['prototype']['sockets']=_0x6b5d1['emptyArray'],_0x4ae81a['create']=function(_0x58173d){return new _0x4ae81a(_0x58173d);},_0x4ae81a['encode']=function(_0x3a8b02,_0x53301a){if(_0x53301a||(_0x53301a=_0x5cad89['create']()),null!=_0x3a8b02['channel']&&Object['hasOwnProperty']['call'](_0x3a8b02,'channel')&&_0x53301a['uint32'](0xa)['string'](_0x3a8b02['channel']),null!=_0x3a8b02['sockets']&&_0x3a8b02['sockets']['length']){for(var _0x1708f3=0x0;_0x1708f3<_0x3a8b02['sockets']['length'];++_0x1708f3)_0x59f061['SessionsSocketDescriptor']['encode'](_0x3a8b02['sockets'][_0x1708f3],_0x53301a['uint32'](0x12)['fork']())['ldelim']();}return _0x53301a;},_0x4ae81a['encodeDelimited']=function(_0x4afeef,_0x1b4774){return this['encode'](_0x4afeef,_0x1b4774)['ldelim']();},_0x4ae81a['decode']=function(_0x975440,_0x3d0f77,_0xb2545c,_0x405fb7){if(_0x975440 instanceof _0x15a427||(_0x975440=_0x15a427['create'](_0x975440)),void 0x0===_0x405fb7&&(_0x405fb7=0x0),_0x405fb7>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3be818=void 0x0===_0x3d0f77?_0x975440['len']:_0x975440['pos']+_0x3d0f77,_0xea54ee=new _0x59f061['SessionsConnectResponse']();_0x975440['pos']<_0x3be818;){var _0x10e62c=_0x975440['uint32']();if(_0x10e62c===_0xb2545c)break;switch(_0x10e62c>>>0x3){case 0x1:_0xea54ee['channel']=_0x975440['string']();break;case 0x2:_0xea54ee['sockets']&&_0xea54ee['sockets']['length']||(_0xea54ee['sockets']=[]),_0xea54ee['sockets']['push'](_0x59f061['SessionsSocketDescriptor']['decode'](_0x975440,_0x975440['uint32'](),void 0x0,_0x405fb7+0x1));break;default:_0x975440['skipType'](0x7&_0x10e62c,_0x405fb7);}}return _0xea54ee;},_0x4ae81a['decodeDelimited']=function(_0x58249a){return _0x58249a instanceof _0x15a427||(_0x58249a=new _0x15a427(_0x58249a)),this['decode'](_0x58249a,_0x58249a['uint32']());},_0x4ae81a['verify']=function(_0x716c2e,_0x4cc2da){if('object'!=typeof _0x716c2e||null===_0x716c2e)return'object\x20expected';if(void 0x0===_0x4cc2da&&(_0x4cc2da=0x0),_0x4cc2da>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x716c2e['channel']&&_0x716c2e['hasOwnProperty']('channel')&&!_0x6b5d1['isString'](_0x716c2e['channel']))return'channel:\x20string\x20expected';if(null!=_0x716c2e['sockets']&&_0x716c2e['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x716c2e['sockets']))return'sockets:\x20array\x20expected';for(var _0x24af18=0x0;_0x24af18<_0x716c2e['sockets']['length'];++_0x24af18){var _0x244539=_0x59f061['SessionsSocketDescriptor']['verify'](_0x716c2e['sockets'][_0x24af18],_0x4cc2da+0x1);if(_0x244539)return'sockets.'+_0x244539;}}return null;},_0x4ae81a['fromObject']=function(_0x235527,_0x1f5896){if(_0x235527 instanceof _0x59f061['SessionsConnectResponse'])return _0x235527;if(void 0x0===_0x1f5896&&(_0x1f5896=0x0),_0x1f5896>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xf9ea5c=new _0x59f061['SessionsConnectResponse']();if(null!=_0x235527['channel']&&(_0xf9ea5c['channel']=String(_0x235527['channel'])),_0x235527['sockets']){if(!Array['isArray'](_0x235527['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0xf9ea5c['sockets']=[];for(var _0x478a05=0x0;_0x478a05<_0x235527['sockets']['length'];++_0x478a05){if('object'!=typeof _0x235527['sockets'][_0x478a05])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0xf9ea5c['sockets'][_0x478a05]=_0x59f061['SessionsSocketDescriptor']['fromObject'](_0x235527['sockets'][_0x478a05],_0x1f5896+0x1);}}return _0xf9ea5c;},_0x4ae81a['toObject']=function(_0x4799f9,_0x319ef7){_0x319ef7||(_0x319ef7={});var _0x42e1c4={};if((_0x319ef7['arrays']||_0x319ef7['defaults'])&&(_0x42e1c4['sockets']=[]),_0x319ef7['defaults']&&(_0x42e1c4['channel']=''),null!=_0x4799f9['channel']&&_0x4799f9['hasOwnProperty']('channel')&&(_0x42e1c4['channel']=_0x4799f9['channel']),_0x4799f9['sockets']&&_0x4799f9['sockets']['length']){_0x42e1c4['sockets']=[];for(var _0x5750c6=0x0;_0x5750c6<_0x4799f9['sockets']['length'];++_0x5750c6)_0x42e1c4['sockets'][_0x5750c6]=_0x59f061['SessionsSocketDescriptor']['toObject'](_0x4799f9['sockets'][_0x5750c6],_0x319ef7);}return _0x42e1c4;},_0x4ae81a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4ae81a['getTypeUrl']=function(_0x386cf8){return void 0x0===_0x386cf8&&(_0x386cf8='type.googleapis.com'),_0x386cf8+'/SessionsConnectResponse';},_0x4ae81a;}()),_0x59f061['SocketDisconnectMessage']=(function(){function _0x1fd542(_0x2b52f8){if(_0x2b52f8){for(var _0x460057=Object['keys'](_0x2b52f8),_0x26b0b8=0x0;_0x26b0b8<_0x460057['length'];++_0x26b0b8)null!=_0x2b52f8[_0x460057[_0x26b0b8]]&&'__proto__'!==_0x460057[_0x26b0b8]&&(this[_0x460057[_0x26b0b8]]=_0x2b52f8[_0x460057[_0x26b0b8]]);}}return _0x1fd542['prototype']['id']='',_0x1fd542['create']=function(_0x378c4a){return new _0x1fd542(_0x378c4a);},_0x1fd542['encode']=function(_0x405e0c,_0x2ce213){return _0x2ce213||(_0x2ce213=_0x5cad89['create']()),null!=_0x405e0c['id']&&Object['hasOwnProperty']['call'](_0x405e0c,'id')&&_0x2ce213['uint32'](0xa)['string'](_0x405e0c['id']),_0x2ce213;},_0x1fd542['encodeDelimited']=function(_0x2dd608,_0x17191a){return this['encode'](_0x2dd608,_0x17191a)['ldelim']();},_0x1fd542['decode']=function(_0x341244,_0x577c6c,_0x1ba80b,_0x81dfff){if(_0x341244 instanceof _0x15a427||(_0x341244=_0x15a427['create'](_0x341244)),void 0x0===_0x81dfff&&(_0x81dfff=0x0),_0x81dfff>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40a75a=void 0x0===_0x577c6c?_0x341244['len']:_0x341244['pos']+_0x577c6c,_0x5e6481=new _0x59f061['SocketDisconnectMessage']();_0x341244['pos']<_0x40a75a;){var _0x2afe30=_0x341244['uint32']();if(_0x2afe30===_0x1ba80b)break;_0x2afe30>>>0x3==0x1?_0x5e6481['id']=_0x341244['string']():_0x341244['skipType'](0x7&_0x2afe30,_0x81dfff);}return _0x5e6481;},_0x1fd542['decodeDelimited']=function(_0x562443){return _0x562443 instanceof _0x15a427||(_0x562443=new _0x15a427(_0x562443)),this['decode'](_0x562443,_0x562443['uint32']());},_0x1fd542['verify']=function(_0x20d6bf,_0x526135){return'object'!=typeof _0x20d6bf||null===_0x20d6bf?'object\x20expected':(void 0x0===_0x526135&&(_0x526135=0x0),_0x526135>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x20d6bf['id']&&_0x20d6bf['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x20d6bf['id'])?'id:\x20string\x20expected':null);},_0x1fd542['fromObject']=function(_0x5c8d7d,_0x5872cb){if(_0x5c8d7d instanceof _0x59f061['SocketDisconnectMessage'])return _0x5c8d7d;if(void 0x0===_0x5872cb&&(_0x5872cb=0x0),_0x5872cb>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2b3bb4=new _0x59f061['SocketDisconnectMessage']();return null!=_0x5c8d7d['id']&&(_0x2b3bb4['id']=String(_0x5c8d7d['id'])),_0x2b3bb4;},_0x1fd542['toObject']=function(_0x2c93be,_0x2cd135){_0x2cd135||(_0x2cd135={});var _0x434d50={};return _0x2cd135['defaults']&&(_0x434d50['id']=''),null!=_0x2c93be['id']&&_0x2c93be['hasOwnProperty']('id')&&(_0x434d50['id']=_0x2c93be['id']),_0x434d50;},_0x1fd542['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x1fd542['getTypeUrl']=function(_0x2d8400){return void 0x0===_0x2d8400&&(_0x2d8400='type.googleapis.com'),_0x2d8400+'/SocketDisconnectMessage';},_0x1fd542;}()),_0x59f061['SocketConnectMessage']=(function(){function _0x319869(_0x296a81){if(this['permissions']=[],_0x296a81){for(var _0x4ad300=Object['keys'](_0x296a81),_0x15d806=0x0;_0x15d806<_0x4ad300['length'];++_0x15d806)null!=_0x296a81[_0x4ad300[_0x15d806]]&&'__proto__'!==_0x4ad300[_0x15d806]&&(this[_0x4ad300[_0x15d806]]=_0x296a81[_0x4ad300[_0x15d806]]);}}return _0x319869['prototype']['id']='',_0x319869['prototype']['userId']='',_0x319869['prototype']['role']='',_0x319869['prototype']['permissions']=_0x6b5d1['emptyArray'],_0x319869['create']=function(_0x263946){return new _0x319869(_0x263946);},_0x319869['encode']=function(_0x40c110,_0x17637e){if(_0x17637e||(_0x17637e=_0x5cad89['create']()),null!=_0x40c110['id']&&Object['hasOwnProperty']['call'](_0x40c110,'id')&&_0x17637e['uint32'](0xa)['string'](_0x40c110['id']),null!=_0x40c110['userId']&&Object['hasOwnProperty']['call'](_0x40c110,'userId')&&_0x17637e['uint32'](0x12)['string'](_0x40c110['userId']),null!=_0x40c110['role']&&Object['hasOwnProperty']['call'](_0x40c110,'role')&&_0x17637e['uint32'](0x1a)['string'](_0x40c110['role']),null!=_0x40c110['permissions']&&_0x40c110['permissions']['length']){for(var _0x302d3e=0x0;_0x302d3e<_0x40c110['permissions']['length'];++_0x302d3e)_0x17637e['uint32'](0x22)['string'](_0x40c110['permissions'][_0x302d3e]);}return _0x17637e;},_0x319869['encodeDelimited']=function(_0x1a8f04,_0x2d286c){return this['encode'](_0x1a8f04,_0x2d286c)['ldelim']();},_0x319869['decode']=function(_0x55c967,_0x14e627,_0x308efb,_0x552f37){if(_0x55c967 instanceof _0x15a427||(_0x55c967=_0x15a427['create'](_0x55c967)),void 0x0===_0x552f37&&(_0x552f37=0x0),_0x552f37>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x38dcb9=void 0x0===_0x14e627?_0x55c967['len']:_0x55c967['pos']+_0x14e627,_0x8af1b=new _0x59f061['SocketConnectMessage']();_0x55c967['pos']<_0x38dcb9;){var _0x463243=_0x55c967['uint32']();if(_0x463243===_0x308efb)break;switch(_0x463243>>>0x3){case 0x1:_0x8af1b['id']=_0x55c967['string']();break;case 0x2:_0x8af1b['userId']=_0x55c967['string']();break;case 0x3:_0x8af1b['role']=_0x55c967['string']();break;case 0x4:_0x8af1b['permissions']&&_0x8af1b['permissions']['length']||(_0x8af1b['permissions']=[]),_0x8af1b['permissions']['push'](_0x55c967['string']());break;default:_0x55c967['skipType'](0x7&_0x463243,_0x552f37);}}return _0x8af1b;},_0x319869['decodeDelimited']=function(_0x5381e8){return _0x5381e8 instanceof _0x15a427||(_0x5381e8=new _0x15a427(_0x5381e8)),this['decode'](_0x5381e8,_0x5381e8['uint32']());},_0x319869['verify']=function(_0x172ba3,_0xe4d341){if('object'!=typeof _0x172ba3||null===_0x172ba3)return'object\x20expected';if(void 0x0===_0xe4d341&&(_0xe4d341=0x0),_0xe4d341>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x172ba3['id']&&_0x172ba3['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x172ba3['id']))return'id:\x20string\x20expected';if(null!=_0x172ba3['userId']&&_0x172ba3['hasOwnProperty']('userId')&&!_0x6b5d1['isString'](_0x172ba3['userId']))return'userId:\x20string\x20expected';if(null!=_0x172ba3['role']&&_0x172ba3['hasOwnProperty']('role')&&!_0x6b5d1['isString'](_0x172ba3['role']))return'role:\x20string\x20expected';if(null!=_0x172ba3['permissions']&&_0x172ba3['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x172ba3['permissions']))return'permissions:\x20array\x20expected';for(var _0x340eb6=0x0;_0x340eb6<_0x172ba3['permissions']['length'];++_0x340eb6)if(!_0x6b5d1['isString'](_0x172ba3['permissions'][_0x340eb6]))return'permissions:\x20string[]\x20expected';}return null;},_0x319869['fromObject']=function(_0x4e26b2,_0x1815b7){if(_0x4e26b2 instanceof _0x59f061['SocketConnectMessage'])return _0x4e26b2;if(void 0x0===_0x1815b7&&(_0x1815b7=0x0),_0x1815b7>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2203f7=new _0x59f061['SocketConnectMessage']();if(null!=_0x4e26b2['id']&&(_0x2203f7['id']=String(_0x4e26b2['id'])),null!=_0x4e26b2['userId']&&(_0x2203f7['userId']=String(_0x4e26b2['userId'])),null!=_0x4e26b2['role']&&(_0x2203f7['role']=String(_0x4e26b2['role'])),_0x4e26b2['permissions']){if(!Array['isArray'](_0x4e26b2['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x2203f7['permissions']=[];for(var _0x4f420d=0x0;_0x4f420d<_0x4e26b2['permissions']['length'];++_0x4f420d)_0x2203f7['permissions'][_0x4f420d]=String(_0x4e26b2['permissions'][_0x4f420d]);}return _0x2203f7;},_0x319869['toObject']=function(_0x28c8f3,_0x526f8f){_0x526f8f||(_0x526f8f={});var _0x3b6c64={};if((_0x526f8f['arrays']||_0x526f8f['defaults'])&&(_0x3b6c64['permissions']=[]),_0x526f8f['defaults']&&(_0x3b6c64['id']='',_0x3b6c64['userId']='',_0x3b6c64['role']=''),null!=_0x28c8f3['id']&&_0x28c8f3['hasOwnProperty']('id')&&(_0x3b6c64['id']=_0x28c8f3['id']),null!=_0x28c8f3['userId']&&_0x28c8f3['hasOwnProperty']('userId')&&(_0x3b6c64['userId']=_0x28c8f3['userId']),null!=_0x28c8f3['role']&&_0x28c8f3['hasOwnProperty']('role')&&(_0x3b6c64['role']=_0x28c8f3['role']),_0x28c8f3['permissions']&&_0x28c8f3['permissions']['length']){_0x3b6c64['permissions']=[];for(var _0x42ef1f=0x0;_0x42ef1f<_0x28c8f3['permissions']['length'];++_0x42ef1f)_0x3b6c64['permissions'][_0x42ef1f]=_0x28c8f3['permissions'][_0x42ef1f];}return _0x3b6c64;},_0x319869['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x319869['getTypeUrl']=function(_0x1a5305){return void 0x0===_0x1a5305&&(_0x1a5305='type.googleapis.com'),_0x1a5305+'/SocketConnectMessage';},_0x319869;}()),_0x59f061['SessionsConnectMessage']=(function(){function _0x5cbb24(_0x383eca){if(_0x383eca){for(var _0x252af7=Object['keys'](_0x383eca),_0x4b5100=0x0;_0x4b5100<_0x252af7['length'];++_0x4b5100)null!=_0x383eca[_0x252af7[_0x4b5100]]&&'__proto__'!==_0x252af7[_0x4b5100]&&(this[_0x252af7[_0x4b5100]]=_0x383eca[_0x252af7[_0x4b5100]]);}}return _0x5cbb24['prototype']['id']='',_0x5cbb24['prototype']['sessionType']=0x0,_0x5cbb24['create']=function(_0x40a020){return new _0x5cbb24(_0x40a020);},_0x5cbb24['encode']=function(_0x54942e,_0x506ac6){return _0x506ac6||(_0x506ac6=_0x5cad89['create']()),null!=_0x54942e['id']&&Object['hasOwnProperty']['call'](_0x54942e,'id')&&_0x506ac6['uint32'](0xa)['string'](_0x54942e['id']),null!=_0x54942e['sessionType']&&Object['hasOwnProperty']['call'](_0x54942e,'sessionType')&&_0x506ac6['uint32'](0x10)['uint32'](_0x54942e['sessionType']),_0x506ac6;},_0x5cbb24['encodeDelimited']=function(_0x1f7193,_0x1d6702){return this['encode'](_0x1f7193,_0x1d6702)['ldelim']();},_0x5cbb24['decode']=function(_0x3531b4,_0x3e6f7,_0x7b45d1,_0x2faa72){if(_0x3531b4 instanceof _0x15a427||(_0x3531b4=_0x15a427['create'](_0x3531b4)),void 0x0===_0x2faa72&&(_0x2faa72=0x0),_0x2faa72>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x26f014=void 0x0===_0x3e6f7?_0x3531b4['len']:_0x3531b4['pos']+_0x3e6f7,_0x56cb19=new _0x59f061['SessionsConnectMessage']();_0x3531b4['pos']<_0x26f014;){var _0x237077=_0x3531b4['uint32']();if(_0x237077===_0x7b45d1)break;switch(_0x237077>>>0x3){case 0x1:_0x56cb19['id']=_0x3531b4['string']();break;case 0x2:_0x56cb19['sessionType']=_0x3531b4['uint32']();break;default:_0x3531b4['skipType'](0x7&_0x237077,_0x2faa72);}}return _0x56cb19;},_0x5cbb24['decodeDelimited']=function(_0x3da65e){return _0x3da65e instanceof _0x15a427||(_0x3da65e=new _0x15a427(_0x3da65e)),this['decode'](_0x3da65e,_0x3da65e['uint32']());},_0x5cbb24['verify']=function(_0x1aa88d,_0x38a80b){return'object'!=typeof _0x1aa88d||null===_0x1aa88d?'object\x20expected':(void 0x0===_0x38a80b&&(_0x38a80b=0x0),_0x38a80b>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1aa88d['id']&&_0x1aa88d['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x1aa88d['id'])?'id:\x20string\x20expected':null!=_0x1aa88d['sessionType']&&_0x1aa88d['hasOwnProperty']('sessionType')&&!_0x6b5d1['isInteger'](_0x1aa88d['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0x5cbb24['fromObject']=function(_0x3f4152,_0xebce9a){if(_0x3f4152 instanceof _0x59f061['SessionsConnectMessage'])return _0x3f4152;if(void 0x0===_0xebce9a&&(_0xebce9a=0x0),_0xebce9a>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23386a=new _0x59f061['SessionsConnectMessage']();return null!=_0x3f4152['id']&&(_0x23386a['id']=String(_0x3f4152['id'])),null!=_0x3f4152['sessionType']&&(_0x23386a['sessionType']=_0x3f4152['sessionType']>>>0x0),_0x23386a;},_0x5cbb24['toObject']=function(_0x5789b1,_0x37da3b){_0x37da3b||(_0x37da3b={});var _0x3f08fa={};return _0x37da3b['defaults']&&(_0x3f08fa['id']='',_0x3f08fa['sessionType']=0x0),null!=_0x5789b1['id']&&_0x5789b1['hasOwnProperty']('id')&&(_0x3f08fa['id']=_0x5789b1['id']),null!=_0x5789b1['sessionType']&&_0x5789b1['hasOwnProperty']('sessionType')&&(_0x3f08fa['sessionType']=_0x5789b1['sessionType']),_0x3f08fa;},_0x5cbb24['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5cbb24['getTypeUrl']=function(_0x556978){return void 0x0===_0x556978&&(_0x556978='type.googleapis.com'),_0x556978+'/SessionsConnectMessage';},_0x5cbb24;}()),_0x59f061['SessionsSocketDescriptor']=(function(){function _0x21949d(_0x310db4){if(this['permissions']=[],_0x310db4){for(var _0x15cc8d=Object['keys'](_0x310db4),_0x561885=0x0;_0x561885<_0x15cc8d['length'];++_0x561885)null!=_0x310db4[_0x15cc8d[_0x561885]]&&'__proto__'!==_0x15cc8d[_0x561885]&&(this[_0x15cc8d[_0x561885]]=_0x310db4[_0x15cc8d[_0x561885]]);}}return _0x21949d['prototype']['session']='',_0x21949d['prototype']['user']='',_0x21949d['prototype']['role']='',_0x21949d['prototype']['permissions']=_0x6b5d1['emptyArray'],_0x21949d['create']=function(_0x48f6bb){return new _0x21949d(_0x48f6bb);},_0x21949d['encode']=function(_0x11e811,_0x5854d6){if(_0x5854d6||(_0x5854d6=_0x5cad89['create']()),null!=_0x11e811['session']&&Object['hasOwnProperty']['call'](_0x11e811,'session')&&_0x5854d6['uint32'](0xa)['string'](_0x11e811['session']),null!=_0x11e811['user']&&Object['hasOwnProperty']['call'](_0x11e811,'user')&&_0x5854d6['uint32'](0x12)['string'](_0x11e811['user']),null!=_0x11e811['role']&&Object['hasOwnProperty']['call'](_0x11e811,'role')&&_0x5854d6['uint32'](0x1a)['string'](_0x11e811['role']),null!=_0x11e811['permissions']&&_0x11e811['permissions']['length']){for(var _0x5c3460=0x0;_0x5c3460<_0x11e811['permissions']['length'];++_0x5c3460)_0x5854d6['uint32'](0x22)['string'](_0x11e811['permissions'][_0x5c3460]);}return _0x5854d6;},_0x21949d['encodeDelimited']=function(_0x4b7cdf,_0x3f2742){return this['encode'](_0x4b7cdf,_0x3f2742)['ldelim']();},_0x21949d['decode']=function(_0x14fcd6,_0x2d3f5f,_0x4ab753,_0x4844b1){if(_0x14fcd6 instanceof _0x15a427||(_0x14fcd6=_0x15a427['create'](_0x14fcd6)),void 0x0===_0x4844b1&&(_0x4844b1=0x0),_0x4844b1>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x21a747=void 0x0===_0x2d3f5f?_0x14fcd6['len']:_0x14fcd6['pos']+_0x2d3f5f,_0x1bd1ba=new _0x59f061['SessionsSocketDescriptor']();_0x14fcd6['pos']<_0x21a747;){var _0x33a8a4=_0x14fcd6['uint32']();if(_0x33a8a4===_0x4ab753)break;switch(_0x33a8a4>>>0x3){case 0x1:_0x1bd1ba['session']=_0x14fcd6['string']();break;case 0x2:_0x1bd1ba['user']=_0x14fcd6['string']();break;case 0x3:_0x1bd1ba['role']=_0x14fcd6['string']();break;case 0x4:_0x1bd1ba['permissions']&&_0x1bd1ba['permissions']['length']||(_0x1bd1ba['permissions']=[]),_0x1bd1ba['permissions']['push'](_0x14fcd6['string']());break;default:_0x14fcd6['skipType'](0x7&_0x33a8a4,_0x4844b1);}}return _0x1bd1ba;},_0x21949d['decodeDelimited']=function(_0x5ef6b5){return _0x5ef6b5 instanceof _0x15a427||(_0x5ef6b5=new _0x15a427(_0x5ef6b5)),this['decode'](_0x5ef6b5,_0x5ef6b5['uint32']());},_0x21949d['verify']=function(_0x31e2cf,_0x6ab248){if('object'!=typeof _0x31e2cf||null===_0x31e2cf)return'object\x20expected';if(void 0x0===_0x6ab248&&(_0x6ab248=0x0),_0x6ab248>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x31e2cf['session']&&_0x31e2cf['hasOwnProperty']('session')&&!_0x6b5d1['isString'](_0x31e2cf['session']))return'session:\x20string\x20expected';if(null!=_0x31e2cf['user']&&_0x31e2cf['hasOwnProperty']('user')&&!_0x6b5d1['isString'](_0x31e2cf['user']))return'user:\x20string\x20expected';if(null!=_0x31e2cf['role']&&_0x31e2cf['hasOwnProperty']('role')&&!_0x6b5d1['isString'](_0x31e2cf['role']))return'role:\x20string\x20expected';if(null!=_0x31e2cf['permissions']&&_0x31e2cf['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x31e2cf['permissions']))return'permissions:\x20array\x20expected';for(var _0x24b839=0x0;_0x24b839<_0x31e2cf['permissions']['length'];++_0x24b839)if(!_0x6b5d1['isString'](_0x31e2cf['permissions'][_0x24b839]))return'permissions:\x20string[]\x20expected';}return null;},_0x21949d['fromObject']=function(_0x21b40a,_0x1a0e1c){if(_0x21b40a instanceof _0x59f061['SessionsSocketDescriptor'])return _0x21b40a;if(void 0x0===_0x1a0e1c&&(_0x1a0e1c=0x0),_0x1a0e1c>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xbbe51a=new _0x59f061['SessionsSocketDescriptor']();if(null!=_0x21b40a['session']&&(_0xbbe51a['session']=String(_0x21b40a['session'])),null!=_0x21b40a['user']&&(_0xbbe51a['user']=String(_0x21b40a['user'])),null!=_0x21b40a['role']&&(_0xbbe51a['role']=String(_0x21b40a['role'])),_0x21b40a['permissions']){if(!Array['isArray'](_0x21b40a['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0xbbe51a['permissions']=[];for(var _0x1ecdbc=0x0;_0x1ecdbc<_0x21b40a['permissions']['length'];++_0x1ecdbc)_0xbbe51a['permissions'][_0x1ecdbc]=String(_0x21b40a['permissions'][_0x1ecdbc]);}return _0xbbe51a;},_0x21949d['toObject']=function(_0x11edcc,_0x19e4ca){_0x19e4ca||(_0x19e4ca={});var _0x29d7f6={};if((_0x19e4ca['arrays']||_0x19e4ca['defaults'])&&(_0x29d7f6['permissions']=[]),_0x19e4ca['defaults']&&(_0x29d7f6['session']='',_0x29d7f6['user']='',_0x29d7f6['role']=''),null!=_0x11edcc['session']&&_0x11edcc['hasOwnProperty']('session')&&(_0x29d7f6['session']=_0x11edcc['session']),null!=_0x11edcc['user']&&_0x11edcc['hasOwnProperty']('user')&&(_0x29d7f6['user']=_0x11edcc['user']),null!=_0x11edcc['role']&&_0x11edcc['hasOwnProperty']('role')&&(_0x29d7f6['role']=_0x11edcc['role']),_0x11edcc['permissions']&&_0x11edcc['permissions']['length']){_0x29d7f6['permissions']=[];for(var _0x2c84d3=0x0;_0x2c84d3<_0x11edcc['permissions']['length'];++_0x2c84d3)_0x29d7f6['permissions'][_0x2c84d3]=_0x11edcc['permissions'][_0x2c84d3];}return _0x29d7f6;},_0x21949d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x21949d['getTypeUrl']=function(_0x1ae362){return void 0x0===_0x1ae362&&(_0x1ae362='type.googleapis.com'),_0x1ae362+'/SessionsSocketDescriptor';},_0x21949d;}()),_0x59f061['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x176f1f(_0xb9485f){if(_0xb9485f){for(var _0x2e72b6=Object['keys'](_0xb9485f),_0x28ff87=0x0;_0x28ff87<_0x2e72b6['length'];++_0x28ff87)null!=_0xb9485f[_0x2e72b6[_0x28ff87]]&&'__proto__'!==_0x2e72b6[_0x28ff87]&&(this[_0x2e72b6[_0x28ff87]]=_0xb9485f[_0x2e72b6[_0x28ff87]]);}}return _0x176f1f['prototype']['requestId']=0x0,_0x176f1f['create']=function(_0x5e2a72){return new _0x176f1f(_0x5e2a72);},_0x176f1f['encode']=function(_0x3f0f29,_0x4a41b6){return _0x4a41b6||(_0x4a41b6=_0x5cad89['create']()),null!=_0x3f0f29['requestId']&&Object['hasOwnProperty']['call'](_0x3f0f29,'requestId')&&_0x4a41b6['uint32'](0x8)['uint32'](_0x3f0f29['requestId']),_0x4a41b6;},_0x176f1f['encodeDelimited']=function(_0x23a2db,_0x30c299){return this['encode'](_0x23a2db,_0x30c299)['ldelim']();},_0x176f1f['decode']=function(_0x34f4dc,_0x5f56a3,_0x26fe70,_0x30a268){if(_0x34f4dc instanceof _0x15a427||(_0x34f4dc=_0x15a427['create'](_0x34f4dc)),void 0x0===_0x30a268&&(_0x30a268=0x0),_0x30a268>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x489543=void 0x0===_0x5f56a3?_0x34f4dc['len']:_0x34f4dc['pos']+_0x5f56a3,_0x50d044=new _0x59f061['RevisionHistoryUpdateRevisionsResponse']();_0x34f4dc['pos']<_0x489543;){var _0x542881=_0x34f4dc['uint32']();if(_0x542881===_0x26fe70)break;_0x542881>>>0x3==0x1?_0x50d044['requestId']=_0x34f4dc['uint32']():_0x34f4dc['skipType'](0x7&_0x542881,_0x30a268);}return _0x50d044;},_0x176f1f['decodeDelimited']=function(_0x5440d0){return _0x5440d0 instanceof _0x15a427||(_0x5440d0=new _0x15a427(_0x5440d0)),this['decode'](_0x5440d0,_0x5440d0['uint32']());},_0x176f1f['verify']=function(_0x3882ae,_0x3d1554){return'object'!=typeof _0x3882ae||null===_0x3882ae?'object\x20expected':(void 0x0===_0x3d1554&&(_0x3d1554=0x0),_0x3d1554>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3882ae['requestId']&&_0x3882ae['hasOwnProperty']('requestId')&&!_0x6b5d1['isInteger'](_0x3882ae['requestId'])?'requestId:\x20integer\x20expected':null);},_0x176f1f['fromObject']=function(_0x1154af,_0x4a6778){if(_0x1154af instanceof _0x59f061['RevisionHistoryUpdateRevisionsResponse'])return _0x1154af;if(void 0x0===_0x4a6778&&(_0x4a6778=0x0),_0x4a6778>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x27c48e=new _0x59f061['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x1154af['requestId']&&(_0x27c48e['requestId']=_0x1154af['requestId']>>>0x0),_0x27c48e;},_0x176f1f['toObject']=function(_0x4bb06a,_0x48c899){_0x48c899||(_0x48c899={});var _0x3df9ad={};return _0x48c899['defaults']&&(_0x3df9ad['requestId']=0x0),null!=_0x4bb06a['requestId']&&_0x4bb06a['hasOwnProperty']('requestId')&&(_0x3df9ad['requestId']=_0x4bb06a['requestId']),_0x3df9ad;},_0x176f1f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x176f1f['getTypeUrl']=function(_0x2415c4){return void 0x0===_0x2415c4&&(_0x2415c4='type.googleapis.com'),_0x2415c4+'/RevisionHistoryUpdateRevisionsResponse';},_0x176f1f;}()),_0x59f061['RevisionHistoryGetRevisionResponse']=(function(){function _0x213b46(_0x4dde32){if(_0x4dde32){for(var _0x42ce0d=Object['keys'](_0x4dde32),_0x1bce58=0x0;_0x1bce58<_0x42ce0d['length'];++_0x1bce58)null!=_0x4dde32[_0x42ce0d[_0x1bce58]]&&'__proto__'!==_0x42ce0d[_0x1bce58]&&(this[_0x42ce0d[_0x1bce58]]=_0x4dde32[_0x42ce0d[_0x1bce58]]);}}return _0x213b46['prototype']['revisionId']='',_0x213b46['prototype']['name']='',_0x213b46['prototype']['creatorId']='',_0x213b46['prototype']['authorsIds']='',_0x213b46['prototype']['diffData']='',_0x213b46['prototype']['createdAt']='',_0x213b46['prototype']['attributes']='',_0x213b46['prototype']['toVersion']=0x0,_0x213b46['prototype']['fromVersion']=0x0,_0x213b46['prototype']['isEmptyCurrent']=!0x1,_0x213b46['create']=function(_0x51080c){return new _0x213b46(_0x51080c);},_0x213b46['encode']=function(_0x290632,_0x2eb3c8){return _0x2eb3c8||(_0x2eb3c8=_0x5cad89['create']()),null!=_0x290632['revisionId']&&Object['hasOwnProperty']['call'](_0x290632,'revisionId')&&_0x2eb3c8['uint32'](0xa)['string'](_0x290632['revisionId']),null!=_0x290632['name']&&Object['hasOwnProperty']['call'](_0x290632,'name')&&_0x2eb3c8['uint32'](0x12)['string'](_0x290632['name']),null!=_0x290632['creatorId']&&Object['hasOwnProperty']['call'](_0x290632,'creatorId')&&_0x2eb3c8['uint32'](0x1a)['string'](_0x290632['creatorId']),null!=_0x290632['authorsIds']&&Object['hasOwnProperty']['call'](_0x290632,'authorsIds')&&_0x2eb3c8['uint32'](0x22)['string'](_0x290632['authorsIds']),null!=_0x290632['diffData']&&Object['hasOwnProperty']['call'](_0x290632,'diffData')&&_0x2eb3c8['uint32'](0x2a)['string'](_0x290632['diffData']),null!=_0x290632['createdAt']&&Object['hasOwnProperty']['call'](_0x290632,'createdAt')&&_0x2eb3c8['uint32'](0x32)['string'](_0x290632['createdAt']),null!=_0x290632['attributes']&&Object['hasOwnProperty']['call'](_0x290632,'attributes')&&_0x2eb3c8['uint32'](0x3a)['string'](_0x290632['attributes']),null!=_0x290632['toVersion']&&Object['hasOwnProperty']['call'](_0x290632,'toVersion')&&_0x2eb3c8['uint32'](0x40)['uint32'](_0x290632['toVersion']),null!=_0x290632['fromVersion']&&Object['hasOwnProperty']['call'](_0x290632,'fromVersion')&&_0x2eb3c8['uint32'](0x48)['uint32'](_0x290632['fromVersion']),null!=_0x290632['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x290632,'isEmptyCurrent')&&_0x2eb3c8['uint32'](0x50)['bool'](_0x290632['isEmptyCurrent']),_0x2eb3c8;},_0x213b46['encodeDelimited']=function(_0x6205bb,_0x3a8f78){return this['encode'](_0x6205bb,_0x3a8f78)['ldelim']();},_0x213b46['decode']=function(_0x3e0f8c,_0x2c7617,_0x50fe17,_0x4614d0){if(_0x3e0f8c instanceof _0x15a427||(_0x3e0f8c=_0x15a427['create'](_0x3e0f8c)),void 0x0===_0x4614d0&&(_0x4614d0=0x0),_0x4614d0>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x419285=void 0x0===_0x2c7617?_0x3e0f8c['len']:_0x3e0f8c['pos']+_0x2c7617,_0x3bd547=new _0x59f061['RevisionHistoryGetRevisionResponse']();_0x3e0f8c['pos']<_0x419285;){var _0x2cc967=_0x3e0f8c['uint32']();if(_0x2cc967===_0x50fe17)break;switch(_0x2cc967>>>0x3){case 0x1:_0x3bd547['revisionId']=_0x3e0f8c['string']();break;case 0x2:_0x3bd547['name']=_0x3e0f8c['string']();break;case 0x3:_0x3bd547['creatorId']=_0x3e0f8c['string']();break;case 0x4:_0x3bd547['authorsIds']=_0x3e0f8c['string']();break;case 0x5:_0x3bd547['diffData']=_0x3e0f8c['string']();break;case 0x6:_0x3bd547['createdAt']=_0x3e0f8c['string']();break;case 0x7:_0x3bd547['attributes']=_0x3e0f8c['string']();break;case 0x8:_0x3bd547['toVersion']=_0x3e0f8c['uint32']();break;case 0x9:_0x3bd547['fromVersion']=_0x3e0f8c['uint32']();break;case 0xa:_0x3bd547['isEmptyCurrent']=_0x3e0f8c['bool']();break;default:_0x3e0f8c['skipType'](0x7&_0x2cc967,_0x4614d0);}}return _0x3bd547;},_0x213b46['decodeDelimited']=function(_0x450e9d){return _0x450e9d instanceof _0x15a427||(_0x450e9d=new _0x15a427(_0x450e9d)),this['decode'](_0x450e9d,_0x450e9d['uint32']());},_0x213b46['verify']=function(_0x211cc9,_0x4928f1){return'object'!=typeof _0x211cc9||null===_0x211cc9?'object\x20expected':(void 0x0===_0x4928f1&&(_0x4928f1=0x0),_0x4928f1>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x211cc9['revisionId']&&_0x211cc9['hasOwnProperty']('revisionId')&&!_0x6b5d1['isString'](_0x211cc9['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x211cc9['name']&&_0x211cc9['hasOwnProperty']('name')&&!_0x6b5d1['isString'](_0x211cc9['name'])?'name:\x20string\x20expected':null!=_0x211cc9['creatorId']&&_0x211cc9['hasOwnProperty']('creatorId')&&!_0x6b5d1['isString'](_0x211cc9['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x211cc9['authorsIds']&&_0x211cc9['hasOwnProperty']('authorsIds')&&!_0x6b5d1['isString'](_0x211cc9['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x211cc9['diffData']&&_0x211cc9['hasOwnProperty']('diffData')&&!_0x6b5d1['isString'](_0x211cc9['diffData'])?'diffData:\x20string\x20expected':null!=_0x211cc9['createdAt']&&_0x211cc9['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x211cc9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x211cc9['attributes']&&_0x211cc9['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x211cc9['attributes'])?'attributes:\x20string\x20expected':null!=_0x211cc9['toVersion']&&_0x211cc9['hasOwnProperty']('toVersion')&&!_0x6b5d1['isInteger'](_0x211cc9['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x211cc9['fromVersion']&&_0x211cc9['hasOwnProperty']('fromVersion')&&!_0x6b5d1['isInteger'](_0x211cc9['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x211cc9['isEmptyCurrent']&&_0x211cc9['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x211cc9['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x213b46['fromObject']=function(_0xaf55dc,_0xc66f74){if(_0xaf55dc instanceof _0x59f061['RevisionHistoryGetRevisionResponse'])return _0xaf55dc;if(void 0x0===_0xc66f74&&(_0xc66f74=0x0),_0xc66f74>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x13892c=new _0x59f061['RevisionHistoryGetRevisionResponse']();return null!=_0xaf55dc['revisionId']&&(_0x13892c['revisionId']=String(_0xaf55dc['revisionId'])),null!=_0xaf55dc['name']&&(_0x13892c['name']=String(_0xaf55dc['name'])),null!=_0xaf55dc['creatorId']&&(_0x13892c['creatorId']=String(_0xaf55dc['creatorId'])),null!=_0xaf55dc['authorsIds']&&(_0x13892c['authorsIds']=String(_0xaf55dc['authorsIds'])),null!=_0xaf55dc['diffData']&&(_0x13892c['diffData']=String(_0xaf55dc['diffData'])),null!=_0xaf55dc['createdAt']&&(_0x13892c['createdAt']=String(_0xaf55dc['createdAt'])),null!=_0xaf55dc['attributes']&&(_0x13892c['attributes']=String(_0xaf55dc['attributes'])),null!=_0xaf55dc['toVersion']&&(_0x13892c['toVersion']=_0xaf55dc['toVersion']>>>0x0),null!=_0xaf55dc['fromVersion']&&(_0x13892c['fromVersion']=_0xaf55dc['fromVersion']>>>0x0),null!=_0xaf55dc['isEmptyCurrent']&&(_0x13892c['isEmptyCurrent']=Boolean(_0xaf55dc['isEmptyCurrent'])),_0x13892c;},_0x213b46['toObject']=function(_0x264a54,_0x310cd7){_0x310cd7||(_0x310cd7={});var _0x1bb95c={};return _0x310cd7['defaults']&&(_0x1bb95c['revisionId']='',_0x1bb95c['name']='',_0x1bb95c['creatorId']='',_0x1bb95c['authorsIds']='',_0x1bb95c['diffData']='',_0x1bb95c['createdAt']='',_0x1bb95c['attributes']='',_0x1bb95c['toVersion']=0x0,_0x1bb95c['fromVersion']=0x0,_0x1bb95c['isEmptyCurrent']=!0x1),null!=_0x264a54['revisionId']&&_0x264a54['hasOwnProperty']('revisionId')&&(_0x1bb95c['revisionId']=_0x264a54['revisionId']),null!=_0x264a54['name']&&_0x264a54['hasOwnProperty']('name')&&(_0x1bb95c['name']=_0x264a54['name']),null!=_0x264a54['creatorId']&&_0x264a54['hasOwnProperty']('creatorId')&&(_0x1bb95c['creatorId']=_0x264a54['creatorId']),null!=_0x264a54['authorsIds']&&_0x264a54['hasOwnProperty']('authorsIds')&&(_0x1bb95c['authorsIds']=_0x264a54['authorsIds']),null!=_0x264a54['diffData']&&_0x264a54['hasOwnProperty']('diffData')&&(_0x1bb95c['diffData']=_0x264a54['diffData']),null!=_0x264a54['createdAt']&&_0x264a54['hasOwnProperty']('createdAt')&&(_0x1bb95c['createdAt']=_0x264a54['createdAt']),null!=_0x264a54['attributes']&&_0x264a54['hasOwnProperty']('attributes')&&(_0x1bb95c['attributes']=_0x264a54['attributes']),null!=_0x264a54['toVersion']&&_0x264a54['hasOwnProperty']('toVersion')&&(_0x1bb95c['toVersion']=_0x264a54['toVersion']),null!=_0x264a54['fromVersion']&&_0x264a54['hasOwnProperty']('fromVersion')&&(_0x1bb95c['fromVersion']=_0x264a54['fromVersion']),null!=_0x264a54['isEmptyCurrent']&&_0x264a54['hasOwnProperty']('isEmptyCurrent')&&(_0x1bb95c['isEmptyCurrent']=_0x264a54['isEmptyCurrent']),_0x1bb95c;},_0x213b46['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x213b46['getTypeUrl']=function(_0x31e8ea){return void 0x0===_0x31e8ea&&(_0x31e8ea='type.googleapis.com'),_0x31e8ea+'/RevisionHistoryGetRevisionResponse';},_0x213b46;}()),_0x59f061['RevisionHistoryConnectResponse']=(function(){function _0x494d36(_0x14c32a){if(this['revisions']=[],_0x14c32a){for(var _0x360168=Object['keys'](_0x14c32a),_0x45c6cc=0x0;_0x45c6cc<_0x360168['length'];++_0x45c6cc)null!=_0x14c32a[_0x360168[_0x45c6cc]]&&'__proto__'!==_0x360168[_0x45c6cc]&&(this[_0x360168[_0x45c6cc]]=_0x14c32a[_0x360168[_0x45c6cc]]);}}return _0x494d36['prototype']['channel']='',_0x494d36['prototype']['requestId']=0x0,_0x494d36['prototype']['revisions']=_0x6b5d1['emptyArray'],_0x494d36['create']=function(_0x4eb972){return new _0x494d36(_0x4eb972);},_0x494d36['encode']=function(_0x53e13e,_0xbe0cc5){if(_0xbe0cc5||(_0xbe0cc5=_0x5cad89['create']()),null!=_0x53e13e['channel']&&Object['hasOwnProperty']['call'](_0x53e13e,'channel')&&_0xbe0cc5['uint32'](0xa)['string'](_0x53e13e['channel']),null!=_0x53e13e['requestId']&&Object['hasOwnProperty']['call'](_0x53e13e,'requestId')&&_0xbe0cc5['uint32'](0x10)['uint32'](_0x53e13e['requestId']),null!=_0x53e13e['revisions']&&_0x53e13e['revisions']['length']){for(var _0x4e3817=0x0;_0x4e3817<_0x53e13e['revisions']['length'];++_0x4e3817)_0x59f061['RevisionDescriptor']['encode'](_0x53e13e['revisions'][_0x4e3817],_0xbe0cc5['uint32'](0x1a)['fork']())['ldelim']();}return _0xbe0cc5;},_0x494d36['encodeDelimited']=function(_0x34cdea,_0x4138a7){return this['encode'](_0x34cdea,_0x4138a7)['ldelim']();},_0x494d36['decode']=function(_0x4048cd,_0x59e807,_0x2bf1de,_0x17bc9b){if(_0x4048cd instanceof _0x15a427||(_0x4048cd=_0x15a427['create'](_0x4048cd)),void 0x0===_0x17bc9b&&(_0x17bc9b=0x0),_0x17bc9b>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d824f=void 0x0===_0x59e807?_0x4048cd['len']:_0x4048cd['pos']+_0x59e807,_0x3acc8c=new _0x59f061['RevisionHistoryConnectResponse']();_0x4048cd['pos']<_0x2d824f;){var _0x35ba13=_0x4048cd['uint32']();if(_0x35ba13===_0x2bf1de)break;switch(_0x35ba13>>>0x3){case 0x1:_0x3acc8c['channel']=_0x4048cd['string']();break;case 0x2:_0x3acc8c['requestId']=_0x4048cd['uint32']();break;case 0x3:_0x3acc8c['revisions']&&_0x3acc8c['revisions']['length']||(_0x3acc8c['revisions']=[]),_0x3acc8c['revisions']['push'](_0x59f061['RevisionDescriptor']['decode'](_0x4048cd,_0x4048cd['uint32'](),void 0x0,_0x17bc9b+0x1));break;default:_0x4048cd['skipType'](0x7&_0x35ba13,_0x17bc9b);}}return _0x3acc8c;},_0x494d36['decodeDelimited']=function(_0x4174d4){return _0x4174d4 instanceof _0x15a427||(_0x4174d4=new _0x15a427(_0x4174d4)),this['decode'](_0x4174d4,_0x4174d4['uint32']());},_0x494d36['verify']=function(_0x3d5bd4,_0x51b0e2){if('object'!=typeof _0x3d5bd4||null===_0x3d5bd4)return'object\x20expected';if(void 0x0===_0x51b0e2&&(_0x51b0e2=0x0),_0x51b0e2>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3d5bd4['channel']&&_0x3d5bd4['hasOwnProperty']('channel')&&!_0x6b5d1['isString'](_0x3d5bd4['channel']))return'channel:\x20string\x20expected';if(null!=_0x3d5bd4['requestId']&&_0x3d5bd4['hasOwnProperty']('requestId')&&!_0x6b5d1['isInteger'](_0x3d5bd4['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x3d5bd4['revisions']&&_0x3d5bd4['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x3d5bd4['revisions']))return'revisions:\x20array\x20expected';for(var _0x40b8e1=0x0;_0x40b8e1<_0x3d5bd4['revisions']['length'];++_0x40b8e1){var _0xefe5fb=_0x59f061['RevisionDescriptor']['verify'](_0x3d5bd4['revisions'][_0x40b8e1],_0x51b0e2+0x1);if(_0xefe5fb)return'revisions.'+_0xefe5fb;}}return null;},_0x494d36['fromObject']=function(_0x10dccd,_0x4c4bf6){if(_0x10dccd instanceof _0x59f061['RevisionHistoryConnectResponse'])return _0x10dccd;if(void 0x0===_0x4c4bf6&&(_0x4c4bf6=0x0),_0x4c4bf6>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xf8fa1c=new _0x59f061['RevisionHistoryConnectResponse']();if(null!=_0x10dccd['channel']&&(_0xf8fa1c['channel']=String(_0x10dccd['channel'])),null!=_0x10dccd['requestId']&&(_0xf8fa1c['requestId']=_0x10dccd['requestId']>>>0x0),_0x10dccd['revisions']){if(!Array['isArray'](_0x10dccd['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0xf8fa1c['revisions']=[];for(var _0x5ceef9=0x0;_0x5ceef9<_0x10dccd['revisions']['length'];++_0x5ceef9){if('object'!=typeof _0x10dccd['revisions'][_0x5ceef9])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0xf8fa1c['revisions'][_0x5ceef9]=_0x59f061['RevisionDescriptor']['fromObject'](_0x10dccd['revisions'][_0x5ceef9],_0x4c4bf6+0x1);}}return _0xf8fa1c;},_0x494d36['toObject']=function(_0x50c3a7,_0xbc8c79){_0xbc8c79||(_0xbc8c79={});var _0x5ef441={};if((_0xbc8c79['arrays']||_0xbc8c79['defaults'])&&(_0x5ef441['revisions']=[]),_0xbc8c79['defaults']&&(_0x5ef441['channel']='',_0x5ef441['requestId']=0x0),null!=_0x50c3a7['channel']&&_0x50c3a7['hasOwnProperty']('channel')&&(_0x5ef441['channel']=_0x50c3a7['channel']),null!=_0x50c3a7['requestId']&&_0x50c3a7['hasOwnProperty']('requestId')&&(_0x5ef441['requestId']=_0x50c3a7['requestId']),_0x50c3a7['revisions']&&_0x50c3a7['revisions']['length']){_0x5ef441['revisions']=[];for(var _0x4a4196=0x0;_0x4a4196<_0x50c3a7['revisions']['length'];++_0x4a4196)_0x5ef441['revisions'][_0x4a4196]=_0x59f061['RevisionDescriptor']['toObject'](_0x50c3a7['revisions'][_0x4a4196],_0xbc8c79);}return _0x5ef441;},_0x494d36['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x494d36['getTypeUrl']=function(_0x40f4dc){return void 0x0===_0x40f4dc&&(_0x40f4dc='type.googleapis.com'),_0x40f4dc+'/RevisionHistoryConnectResponse';},_0x494d36;}()),_0x59f061['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x3fbc54(_0x57fdc2){if(this['revisions']=[],_0x57fdc2){for(var _0x3ad409=Object['keys'](_0x57fdc2),_0x3004e3=0x0;_0x3004e3<_0x3ad409['length'];++_0x3004e3)null!=_0x57fdc2[_0x3ad409[_0x3004e3]]&&'__proto__'!==_0x3ad409[_0x3004e3]&&(this[_0x3ad409[_0x3004e3]]=_0x57fdc2[_0x3ad409[_0x3004e3]]);}}return _0x3fbc54['prototype']['documentId']='',_0x3fbc54['prototype']['requestId']=0x0,_0x3fbc54['prototype']['revisions']=_0x6b5d1['emptyArray'],_0x3fbc54['create']=function(_0x3900a2){return new _0x3fbc54(_0x3900a2);},_0x3fbc54['encode']=function(_0x26a985,_0x5d4648){if(_0x5d4648||(_0x5d4648=_0x5cad89['create']()),null!=_0x26a985['documentId']&&Object['hasOwnProperty']['call'](_0x26a985,'documentId')&&_0x5d4648['uint32'](0xa)['string'](_0x26a985['documentId']),null!=_0x26a985['requestId']&&Object['hasOwnProperty']['call'](_0x26a985,'requestId')&&_0x5d4648['uint32'](0x10)['uint32'](_0x26a985['requestId']),null!=_0x26a985['revisions']&&_0x26a985['revisions']['length']){for(var _0x209da7=0x0;_0x209da7<_0x26a985['revisions']['length'];++_0x209da7)_0x59f061['RevisionDescriptor']['encode'](_0x26a985['revisions'][_0x209da7],_0x5d4648['uint32'](0x1a)['fork']())['ldelim']();}return _0x5d4648;},_0x3fbc54['encodeDelimited']=function(_0x47f96e,_0x15f68e){return this['encode'](_0x47f96e,_0x15f68e)['ldelim']();},_0x3fbc54['decode']=function(_0x83a138,_0x453d90,_0x3a0e47,_0x258f33){if(_0x83a138 instanceof _0x15a427||(_0x83a138=_0x15a427['create'](_0x83a138)),void 0x0===_0x258f33&&(_0x258f33=0x0),_0x258f33>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x13dd45=void 0x0===_0x453d90?_0x83a138['len']:_0x83a138['pos']+_0x453d90,_0x2b8361=new _0x59f061['RevisionHistoryUpdateRevisionsMessage']();_0x83a138['pos']<_0x13dd45;){var _0x28e2c3=_0x83a138['uint32']();if(_0x28e2c3===_0x3a0e47)break;switch(_0x28e2c3>>>0x3){case 0x1:_0x2b8361['documentId']=_0x83a138['string']();break;case 0x2:_0x2b8361['requestId']=_0x83a138['uint32']();break;case 0x3:_0x2b8361['revisions']&&_0x2b8361['revisions']['length']||(_0x2b8361['revisions']=[]),_0x2b8361['revisions']['push'](_0x59f061['RevisionDescriptor']['decode'](_0x83a138,_0x83a138['uint32'](),void 0x0,_0x258f33+0x1));break;default:_0x83a138['skipType'](0x7&_0x28e2c3,_0x258f33);}}return _0x2b8361;},_0x3fbc54['decodeDelimited']=function(_0x11bef9){return _0x11bef9 instanceof _0x15a427||(_0x11bef9=new _0x15a427(_0x11bef9)),this['decode'](_0x11bef9,_0x11bef9['uint32']());},_0x3fbc54['verify']=function(_0x5e9bb0,_0x317baa){if('object'!=typeof _0x5e9bb0||null===_0x5e9bb0)return'object\x20expected';if(void 0x0===_0x317baa&&(_0x317baa=0x0),_0x317baa>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5e9bb0['documentId']&&_0x5e9bb0['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x5e9bb0['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5e9bb0['requestId']&&_0x5e9bb0['hasOwnProperty']('requestId')&&!_0x6b5d1['isInteger'](_0x5e9bb0['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5e9bb0['revisions']&&_0x5e9bb0['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x5e9bb0['revisions']))return'revisions:\x20array\x20expected';for(var _0x5c1607=0x0;_0x5c1607<_0x5e9bb0['revisions']['length'];++_0x5c1607){var _0x10828a=_0x59f061['RevisionDescriptor']['verify'](_0x5e9bb0['revisions'][_0x5c1607],_0x317baa+0x1);if(_0x10828a)return'revisions.'+_0x10828a;}}return null;},_0x3fbc54['fromObject']=function(_0x4e0b9b,_0x2fa8b1){if(_0x4e0b9b instanceof _0x59f061['RevisionHistoryUpdateRevisionsMessage'])return _0x4e0b9b;if(void 0x0===_0x2fa8b1&&(_0x2fa8b1=0x0),_0x2fa8b1>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x25718c=new _0x59f061['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x4e0b9b['documentId']&&(_0x25718c['documentId']=String(_0x4e0b9b['documentId'])),null!=_0x4e0b9b['requestId']&&(_0x25718c['requestId']=_0x4e0b9b['requestId']>>>0x0),_0x4e0b9b['revisions']){if(!Array['isArray'](_0x4e0b9b['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x25718c['revisions']=[];for(var _0x4d6d9b=0x0;_0x4d6d9b<_0x4e0b9b['revisions']['length'];++_0x4d6d9b){if('object'!=typeof _0x4e0b9b['revisions'][_0x4d6d9b])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x25718c['revisions'][_0x4d6d9b]=_0x59f061['RevisionDescriptor']['fromObject'](_0x4e0b9b['revisions'][_0x4d6d9b],_0x2fa8b1+0x1);}}return _0x25718c;},_0x3fbc54['toObject']=function(_0x3fdea3,_0x1ba2a3){_0x1ba2a3||(_0x1ba2a3={});var _0x464cca={};if((_0x1ba2a3['arrays']||_0x1ba2a3['defaults'])&&(_0x464cca['revisions']=[]),_0x1ba2a3['defaults']&&(_0x464cca['documentId']='',_0x464cca['requestId']=0x0),null!=_0x3fdea3['documentId']&&_0x3fdea3['hasOwnProperty']('documentId')&&(_0x464cca['documentId']=_0x3fdea3['documentId']),null!=_0x3fdea3['requestId']&&_0x3fdea3['hasOwnProperty']('requestId')&&(_0x464cca['requestId']=_0x3fdea3['requestId']),_0x3fdea3['revisions']&&_0x3fdea3['revisions']['length']){_0x464cca['revisions']=[];for(var _0x315a73=0x0;_0x315a73<_0x3fdea3['revisions']['length'];++_0x315a73)_0x464cca['revisions'][_0x315a73]=_0x59f061['RevisionDescriptor']['toObject'](_0x3fdea3['revisions'][_0x315a73],_0x1ba2a3);}return _0x464cca;},_0x3fbc54['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3fbc54['getTypeUrl']=function(_0x4659e7){return void 0x0===_0x4659e7&&(_0x4659e7='type.googleapis.com'),_0x4659e7+'/RevisionHistoryUpdateRevisionsMessage';},_0x3fbc54;}()),_0x59f061['RevisionHistoryReconnectMessage']=(function(){function _0x5c1d90(_0x42b9aa){if(_0x42b9aa){for(var _0x19143f=Object['keys'](_0x42b9aa),_0x30c741=0x0;_0x30c741<_0x19143f['length'];++_0x30c741)null!=_0x42b9aa[_0x19143f[_0x30c741]]&&'__proto__'!==_0x19143f[_0x30c741]&&(this[_0x19143f[_0x30c741]]=_0x42b9aa[_0x19143f[_0x30c741]]);}}return _0x5c1d90['prototype']['documentId']='',_0x5c1d90['prototype']['requestId']=0x0,_0x5c1d90['create']=function(_0x1d7b8f){return new _0x5c1d90(_0x1d7b8f);},_0x5c1d90['encode']=function(_0xc925e1,_0x3b7fb9){return _0x3b7fb9||(_0x3b7fb9=_0x5cad89['create']()),null!=_0xc925e1['documentId']&&Object['hasOwnProperty']['call'](_0xc925e1,'documentId')&&_0x3b7fb9['uint32'](0xa)['string'](_0xc925e1['documentId']),null!=_0xc925e1['requestId']&&Object['hasOwnProperty']['call'](_0xc925e1,'requestId')&&_0x3b7fb9['uint32'](0x10)['uint32'](_0xc925e1['requestId']),_0x3b7fb9;},_0x5c1d90['encodeDelimited']=function(_0x5f2652,_0x22de30){return this['encode'](_0x5f2652,_0x22de30)['ldelim']();},_0x5c1d90['decode']=function(_0x1e7508,_0x417992,_0x5c80f8,_0x24e80a){if(_0x1e7508 instanceof _0x15a427||(_0x1e7508=_0x15a427['create'](_0x1e7508)),void 0x0===_0x24e80a&&(_0x24e80a=0x0),_0x24e80a>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4a9bd5=void 0x0===_0x417992?_0x1e7508['len']:_0x1e7508['pos']+_0x417992,_0x402e18=new _0x59f061['RevisionHistoryReconnectMessage']();_0x1e7508['pos']<_0x4a9bd5;){var _0x501ac4=_0x1e7508['uint32']();if(_0x501ac4===_0x5c80f8)break;switch(_0x501ac4>>>0x3){case 0x1:_0x402e18['documentId']=_0x1e7508['string']();break;case 0x2:_0x402e18['requestId']=_0x1e7508['uint32']();break;default:_0x1e7508['skipType'](0x7&_0x501ac4,_0x24e80a);}}return _0x402e18;},_0x5c1d90['decodeDelimited']=function(_0x22b70b){return _0x22b70b instanceof _0x15a427||(_0x22b70b=new _0x15a427(_0x22b70b)),this['decode'](_0x22b70b,_0x22b70b['uint32']());},_0x5c1d90['verify']=function(_0x4df14c,_0x4be144){return'object'!=typeof _0x4df14c||null===_0x4df14c?'object\x20expected':(void 0x0===_0x4be144&&(_0x4be144=0x0),_0x4be144>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4df14c['documentId']&&_0x4df14c['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x4df14c['documentId'])?'documentId:\x20string\x20expected':null!=_0x4df14c['requestId']&&_0x4df14c['hasOwnProperty']('requestId')&&!_0x6b5d1['isInteger'](_0x4df14c['requestId'])?'requestId:\x20integer\x20expected':null);},_0x5c1d90['fromObject']=function(_0xfdb075,_0x2b4a36){if(_0xfdb075 instanceof _0x59f061['RevisionHistoryReconnectMessage'])return _0xfdb075;if(void 0x0===_0x2b4a36&&(_0x2b4a36=0x0),_0x2b4a36>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x53664b=new _0x59f061['RevisionHistoryReconnectMessage']();return null!=_0xfdb075['documentId']&&(_0x53664b['documentId']=String(_0xfdb075['documentId'])),null!=_0xfdb075['requestId']&&(_0x53664b['requestId']=_0xfdb075['requestId']>>>0x0),_0x53664b;},_0x5c1d90['toObject']=function(_0xb1230c,_0x46cbe4){_0x46cbe4||(_0x46cbe4={});var _0x428a71={};return _0x46cbe4['defaults']&&(_0x428a71['documentId']='',_0x428a71['requestId']=0x0),null!=_0xb1230c['documentId']&&_0xb1230c['hasOwnProperty']('documentId')&&(_0x428a71['documentId']=_0xb1230c['documentId']),null!=_0xb1230c['requestId']&&_0xb1230c['hasOwnProperty']('requestId')&&(_0x428a71['requestId']=_0xb1230c['requestId']),_0x428a71;},_0x5c1d90['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5c1d90['getTypeUrl']=function(_0x1d243b){return void 0x0===_0x1d243b&&(_0x1d243b='type.googleapis.com'),_0x1d243b+'/RevisionHistoryReconnectMessage';},_0x5c1d90;}()),_0x59f061['RevisionHistoryGetRevisionMessage']=(function(){function _0x2ada0c(_0x5bd1c0){if(_0x5bd1c0){for(var _0x23f35d=Object['keys'](_0x5bd1c0),_0x2b56ec=0x0;_0x2b56ec<_0x23f35d['length'];++_0x2b56ec)null!=_0x5bd1c0[_0x23f35d[_0x2b56ec]]&&'__proto__'!==_0x23f35d[_0x2b56ec]&&(this[_0x23f35d[_0x2b56ec]]=_0x5bd1c0[_0x23f35d[_0x2b56ec]]);}}return _0x2ada0c['prototype']['documentId']='',_0x2ada0c['prototype']['revisionId']='',_0x2ada0c['create']=function(_0x660f87){return new _0x2ada0c(_0x660f87);},_0x2ada0c['encode']=function(_0x204d86,_0x4eb9d9){return _0x4eb9d9||(_0x4eb9d9=_0x5cad89['create']()),null!=_0x204d86['documentId']&&Object['hasOwnProperty']['call'](_0x204d86,'documentId')&&_0x4eb9d9['uint32'](0xa)['string'](_0x204d86['documentId']),null!=_0x204d86['revisionId']&&Object['hasOwnProperty']['call'](_0x204d86,'revisionId')&&_0x4eb9d9['uint32'](0x12)['string'](_0x204d86['revisionId']),_0x4eb9d9;},_0x2ada0c['encodeDelimited']=function(_0x4cb211,_0x4e4cf1){return this['encode'](_0x4cb211,_0x4e4cf1)['ldelim']();},_0x2ada0c['decode']=function(_0x30f277,_0x1241af,_0xb75e3c,_0x2c9f76){if(_0x30f277 instanceof _0x15a427||(_0x30f277=_0x15a427['create'](_0x30f277)),void 0x0===_0x2c9f76&&(_0x2c9f76=0x0),_0x2c9f76>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4c1aff=void 0x0===_0x1241af?_0x30f277['len']:_0x30f277['pos']+_0x1241af,_0x3c8735=new _0x59f061['RevisionHistoryGetRevisionMessage']();_0x30f277['pos']<_0x4c1aff;){var _0x48f721=_0x30f277['uint32']();if(_0x48f721===_0xb75e3c)break;switch(_0x48f721>>>0x3){case 0x1:_0x3c8735['documentId']=_0x30f277['string']();break;case 0x2:_0x3c8735['revisionId']=_0x30f277['string']();break;default:_0x30f277['skipType'](0x7&_0x48f721,_0x2c9f76);}}return _0x3c8735;},_0x2ada0c['decodeDelimited']=function(_0xd08860){return _0xd08860 instanceof _0x15a427||(_0xd08860=new _0x15a427(_0xd08860)),this['decode'](_0xd08860,_0xd08860['uint32']());},_0x2ada0c['verify']=function(_0x5b0f37,_0x3c2d26){return'object'!=typeof _0x5b0f37||null===_0x5b0f37?'object\x20expected':(void 0x0===_0x3c2d26&&(_0x3c2d26=0x0),_0x3c2d26>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5b0f37['documentId']&&_0x5b0f37['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x5b0f37['documentId'])?'documentId:\x20string\x20expected':null!=_0x5b0f37['revisionId']&&_0x5b0f37['hasOwnProperty']('revisionId')&&!_0x6b5d1['isString'](_0x5b0f37['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x2ada0c['fromObject']=function(_0x36e52e,_0x25ad94){if(_0x36e52e instanceof _0x59f061['RevisionHistoryGetRevisionMessage'])return _0x36e52e;if(void 0x0===_0x25ad94&&(_0x25ad94=0x0),_0x25ad94>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x53600a=new _0x59f061['RevisionHistoryGetRevisionMessage']();return null!=_0x36e52e['documentId']&&(_0x53600a['documentId']=String(_0x36e52e['documentId'])),null!=_0x36e52e['revisionId']&&(_0x53600a['revisionId']=String(_0x36e52e['revisionId'])),_0x53600a;},_0x2ada0c['toObject']=function(_0x1b8e3a,_0x416b91){_0x416b91||(_0x416b91={});var _0x2e4880={};return _0x416b91['defaults']&&(_0x2e4880['documentId']='',_0x2e4880['revisionId']=''),null!=_0x1b8e3a['documentId']&&_0x1b8e3a['hasOwnProperty']('documentId')&&(_0x2e4880['documentId']=_0x1b8e3a['documentId']),null!=_0x1b8e3a['revisionId']&&_0x1b8e3a['hasOwnProperty']('revisionId')&&(_0x2e4880['revisionId']=_0x1b8e3a['revisionId']),_0x2e4880;},_0x2ada0c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2ada0c['getTypeUrl']=function(_0x2aee74){return void 0x0===_0x2aee74&&(_0x2aee74='type.googleapis.com'),_0x2aee74+'/RevisionHistoryGetRevisionMessage';},_0x2ada0c;}()),_0x59f061['RevisionHistoryConnectMessage']=(function(){function _0x4d4bd5(_0x5b20bc){if(_0x5b20bc){for(var _0x3d942a=Object['keys'](_0x5b20bc),_0xe04e28=0x0;_0xe04e28<_0x3d942a['length'];++_0xe04e28)null!=_0x5b20bc[_0x3d942a[_0xe04e28]]&&'__proto__'!==_0x3d942a[_0xe04e28]&&(this[_0x3d942a[_0xe04e28]]=_0x5b20bc[_0x3d942a[_0xe04e28]]);}}return _0x4d4bd5['prototype']['documentId']='',_0x4d4bd5['create']=function(_0xe02336){return new _0x4d4bd5(_0xe02336);},_0x4d4bd5['encode']=function(_0xf1d892,_0x2462b3){return _0x2462b3||(_0x2462b3=_0x5cad89['create']()),null!=_0xf1d892['documentId']&&Object['hasOwnProperty']['call'](_0xf1d892,'documentId')&&_0x2462b3['uint32'](0xa)['string'](_0xf1d892['documentId']),_0x2462b3;},_0x4d4bd5['encodeDelimited']=function(_0x562df0,_0x2084f6){return this['encode'](_0x562df0,_0x2084f6)['ldelim']();},_0x4d4bd5['decode']=function(_0x29839a,_0x2c61d4,_0x3c9923,_0x6d9d0e){if(_0x29839a instanceof _0x15a427||(_0x29839a=_0x15a427['create'](_0x29839a)),void 0x0===_0x6d9d0e&&(_0x6d9d0e=0x0),_0x6d9d0e>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5bdddc=void 0x0===_0x2c61d4?_0x29839a['len']:_0x29839a['pos']+_0x2c61d4,_0xd36769=new _0x59f061['RevisionHistoryConnectMessage']();_0x29839a['pos']<_0x5bdddc;){var _0x3627ef=_0x29839a['uint32']();if(_0x3627ef===_0x3c9923)break;_0x3627ef>>>0x3==0x1?_0xd36769['documentId']=_0x29839a['string']():_0x29839a['skipType'](0x7&_0x3627ef,_0x6d9d0e);}return _0xd36769;},_0x4d4bd5['decodeDelimited']=function(_0xc06bf4){return _0xc06bf4 instanceof _0x15a427||(_0xc06bf4=new _0x15a427(_0xc06bf4)),this['decode'](_0xc06bf4,_0xc06bf4['uint32']());},_0x4d4bd5['verify']=function(_0x34b3ad,_0x58c57a){return'object'!=typeof _0x34b3ad||null===_0x34b3ad?'object\x20expected':(void 0x0===_0x58c57a&&(_0x58c57a=0x0),_0x58c57a>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x34b3ad['documentId']&&_0x34b3ad['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x34b3ad['documentId'])?'documentId:\x20string\x20expected':null);},_0x4d4bd5['fromObject']=function(_0x4396ca,_0x5ae362){if(_0x4396ca instanceof _0x59f061['RevisionHistoryConnectMessage'])return _0x4396ca;if(void 0x0===_0x5ae362&&(_0x5ae362=0x0),_0x5ae362>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19b920=new _0x59f061['RevisionHistoryConnectMessage']();return null!=_0x4396ca['documentId']&&(_0x19b920['documentId']=String(_0x4396ca['documentId'])),_0x19b920;},_0x4d4bd5['toObject']=function(_0x3d86df,_0x17f26f){_0x17f26f||(_0x17f26f={});var _0x5df86d={};return _0x17f26f['defaults']&&(_0x5df86d['documentId']=''),null!=_0x3d86df['documentId']&&_0x3d86df['hasOwnProperty']('documentId')&&(_0x5df86d['documentId']=_0x3d86df['documentId']),_0x5df86d;},_0x4d4bd5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4d4bd5['getTypeUrl']=function(_0x2eef0d){return void 0x0===_0x2eef0d&&(_0x2eef0d='type.googleapis.com'),_0x2eef0d+'/RevisionHistoryConnectMessage';},_0x4d4bd5;}()),_0x59f061['RevisionDescriptor']=(function(){function _0x3c68c9(_0x548f31){if(_0x548f31){for(var _0x5a81a0=Object['keys'](_0x548f31),_0x5792f5=0x0;_0x5792f5<_0x5a81a0['length'];++_0x5792f5)null!=_0x548f31[_0x5a81a0[_0x5792f5]]&&'__proto__'!==_0x5a81a0[_0x5792f5]&&(this[_0x5a81a0[_0x5792f5]]=_0x548f31[_0x5a81a0[_0x5792f5]]);}}return _0x3c68c9['prototype']['revisionId']='',_0x3c68c9['prototype']['name']='',_0x3c68c9['prototype']['creatorId']='',_0x3c68c9['prototype']['authorsIds']='',_0x3c68c9['prototype']['diffData']='',_0x3c68c9['prototype']['createdAt']='',_0x3c68c9['prototype']['attributes']='',_0x3c68c9['prototype']['toVersion']=0x0,_0x3c68c9['prototype']['fromVersion']=0x0,_0x3c68c9['prototype']['isEmptyCurrent']=!0x1,_0x3c68c9['create']=function(_0x5a2acd){return new _0x3c68c9(_0x5a2acd);},_0x3c68c9['encode']=function(_0x46b657,_0x419799){return _0x419799||(_0x419799=_0x5cad89['create']()),null!=_0x46b657['revisionId']&&Object['hasOwnProperty']['call'](_0x46b657,'revisionId')&&_0x419799['uint32'](0xa)['string'](_0x46b657['revisionId']),null!=_0x46b657['name']&&Object['hasOwnProperty']['call'](_0x46b657,'name')&&_0x419799['uint32'](0x12)['string'](_0x46b657['name']),null!=_0x46b657['creatorId']&&Object['hasOwnProperty']['call'](_0x46b657,'creatorId')&&_0x419799['uint32'](0x1a)['string'](_0x46b657['creatorId']),null!=_0x46b657['authorsIds']&&Object['hasOwnProperty']['call'](_0x46b657,'authorsIds')&&_0x419799['uint32'](0x22)['string'](_0x46b657['authorsIds']),null!=_0x46b657['diffData']&&Object['hasOwnProperty']['call'](_0x46b657,'diffData')&&_0x419799['uint32'](0x2a)['string'](_0x46b657['diffData']),null!=_0x46b657['createdAt']&&Object['hasOwnProperty']['call'](_0x46b657,'createdAt')&&_0x419799['uint32'](0x32)['string'](_0x46b657['createdAt']),null!=_0x46b657['attributes']&&Object['hasOwnProperty']['call'](_0x46b657,'attributes')&&_0x419799['uint32'](0x3a)['string'](_0x46b657['attributes']),null!=_0x46b657['toVersion']&&Object['hasOwnProperty']['call'](_0x46b657,'toVersion')&&_0x419799['uint32'](0x40)['uint32'](_0x46b657['toVersion']),null!=_0x46b657['fromVersion']&&Object['hasOwnProperty']['call'](_0x46b657,'fromVersion')&&_0x419799['uint32'](0x48)['uint32'](_0x46b657['fromVersion']),null!=_0x46b657['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x46b657,'isEmptyCurrent')&&_0x419799['uint32'](0x50)['bool'](_0x46b657['isEmptyCurrent']),_0x419799;},_0x3c68c9['encodeDelimited']=function(_0x890c4,_0x51eeb7){return this['encode'](_0x890c4,_0x51eeb7)['ldelim']();},_0x3c68c9['decode']=function(_0x1a186d,_0x3c0544,_0x1045c4,_0x14fa12){if(_0x1a186d instanceof _0x15a427||(_0x1a186d=_0x15a427['create'](_0x1a186d)),void 0x0===_0x14fa12&&(_0x14fa12=0x0),_0x14fa12>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x265c4a=void 0x0===_0x3c0544?_0x1a186d['len']:_0x1a186d['pos']+_0x3c0544,_0x4ccf0b=new _0x59f061['RevisionDescriptor']();_0x1a186d['pos']<_0x265c4a;){var _0x5440f2=_0x1a186d['uint32']();if(_0x5440f2===_0x1045c4)break;switch(_0x5440f2>>>0x3){case 0x1:_0x4ccf0b['revisionId']=_0x1a186d['string']();break;case 0x2:_0x4ccf0b['name']=_0x1a186d['string']();break;case 0x3:_0x4ccf0b['creatorId']=_0x1a186d['string']();break;case 0x4:_0x4ccf0b['authorsIds']=_0x1a186d['string']();break;case 0x5:_0x4ccf0b['diffData']=_0x1a186d['string']();break;case 0x6:_0x4ccf0b['createdAt']=_0x1a186d['string']();break;case 0x7:_0x4ccf0b['attributes']=_0x1a186d['string']();break;case 0x8:_0x4ccf0b['toVersion']=_0x1a186d['uint32']();break;case 0x9:_0x4ccf0b['fromVersion']=_0x1a186d['uint32']();break;case 0xa:_0x4ccf0b['isEmptyCurrent']=_0x1a186d['bool']();break;default:_0x1a186d['skipType'](0x7&_0x5440f2,_0x14fa12);}}return _0x4ccf0b;},_0x3c68c9['decodeDelimited']=function(_0x29e0e4){return _0x29e0e4 instanceof _0x15a427||(_0x29e0e4=new _0x15a427(_0x29e0e4)),this['decode'](_0x29e0e4,_0x29e0e4['uint32']());},_0x3c68c9['verify']=function(_0x47e969,_0x3d1b61){return'object'!=typeof _0x47e969||null===_0x47e969?'object\x20expected':(void 0x0===_0x3d1b61&&(_0x3d1b61=0x0),_0x3d1b61>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x47e969['revisionId']&&_0x47e969['hasOwnProperty']('revisionId')&&!_0x6b5d1['isString'](_0x47e969['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x47e969['name']&&_0x47e969['hasOwnProperty']('name')&&!_0x6b5d1['isString'](_0x47e969['name'])?'name:\x20string\x20expected':null!=_0x47e969['creatorId']&&_0x47e969['hasOwnProperty']('creatorId')&&!_0x6b5d1['isString'](_0x47e969['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x47e969['authorsIds']&&_0x47e969['hasOwnProperty']('authorsIds')&&!_0x6b5d1['isString'](_0x47e969['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x47e969['diffData']&&_0x47e969['hasOwnProperty']('diffData')&&!_0x6b5d1['isString'](_0x47e969['diffData'])?'diffData:\x20string\x20expected':null!=_0x47e969['createdAt']&&_0x47e969['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x47e969['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x47e969['attributes']&&_0x47e969['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x47e969['attributes'])?'attributes:\x20string\x20expected':null!=_0x47e969['toVersion']&&_0x47e969['hasOwnProperty']('toVersion')&&!_0x6b5d1['isInteger'](_0x47e969['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x47e969['fromVersion']&&_0x47e969['hasOwnProperty']('fromVersion')&&!_0x6b5d1['isInteger'](_0x47e969['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x47e969['isEmptyCurrent']&&_0x47e969['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x47e969['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x3c68c9['fromObject']=function(_0x1950ac,_0x597525){if(_0x1950ac instanceof _0x59f061['RevisionDescriptor'])return _0x1950ac;if(void 0x0===_0x597525&&(_0x597525=0x0),_0x597525>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4bce3d=new _0x59f061['RevisionDescriptor']();return null!=_0x1950ac['revisionId']&&(_0x4bce3d['revisionId']=String(_0x1950ac['revisionId'])),null!=_0x1950ac['name']&&(_0x4bce3d['name']=String(_0x1950ac['name'])),null!=_0x1950ac['creatorId']&&(_0x4bce3d['creatorId']=String(_0x1950ac['creatorId'])),null!=_0x1950ac['authorsIds']&&(_0x4bce3d['authorsIds']=String(_0x1950ac['authorsIds'])),null!=_0x1950ac['diffData']&&(_0x4bce3d['diffData']=String(_0x1950ac['diffData'])),null!=_0x1950ac['createdAt']&&(_0x4bce3d['createdAt']=String(_0x1950ac['createdAt'])),null!=_0x1950ac['attributes']&&(_0x4bce3d['attributes']=String(_0x1950ac['attributes'])),null!=_0x1950ac['toVersion']&&(_0x4bce3d['toVersion']=_0x1950ac['toVersion']>>>0x0),null!=_0x1950ac['fromVersion']&&(_0x4bce3d['fromVersion']=_0x1950ac['fromVersion']>>>0x0),null!=_0x1950ac['isEmptyCurrent']&&(_0x4bce3d['isEmptyCurrent']=Boolean(_0x1950ac['isEmptyCurrent'])),_0x4bce3d;},_0x3c68c9['toObject']=function(_0x17bdbd,_0xc9b934){_0xc9b934||(_0xc9b934={});var _0x499e98={};return _0xc9b934['defaults']&&(_0x499e98['revisionId']='',_0x499e98['name']='',_0x499e98['creatorId']='',_0x499e98['authorsIds']='',_0x499e98['diffData']='',_0x499e98['createdAt']='',_0x499e98['attributes']='',_0x499e98['toVersion']=0x0,_0x499e98['fromVersion']=0x0,_0x499e98['isEmptyCurrent']=!0x1),null!=_0x17bdbd['revisionId']&&_0x17bdbd['hasOwnProperty']('revisionId')&&(_0x499e98['revisionId']=_0x17bdbd['revisionId']),null!=_0x17bdbd['name']&&_0x17bdbd['hasOwnProperty']('name')&&(_0x499e98['name']=_0x17bdbd['name']),null!=_0x17bdbd['creatorId']&&_0x17bdbd['hasOwnProperty']('creatorId')&&(_0x499e98['creatorId']=_0x17bdbd['creatorId']),null!=_0x17bdbd['authorsIds']&&_0x17bdbd['hasOwnProperty']('authorsIds')&&(_0x499e98['authorsIds']=_0x17bdbd['authorsIds']),null!=_0x17bdbd['diffData']&&_0x17bdbd['hasOwnProperty']('diffData')&&(_0x499e98['diffData']=_0x17bdbd['diffData']),null!=_0x17bdbd['createdAt']&&_0x17bdbd['hasOwnProperty']('createdAt')&&(_0x499e98['createdAt']=_0x17bdbd['createdAt']),null!=_0x17bdbd['attributes']&&_0x17bdbd['hasOwnProperty']('attributes')&&(_0x499e98['attributes']=_0x17bdbd['attributes']),null!=_0x17bdbd['toVersion']&&_0x17bdbd['hasOwnProperty']('toVersion')&&(_0x499e98['toVersion']=_0x17bdbd['toVersion']),null!=_0x17bdbd['fromVersion']&&_0x17bdbd['hasOwnProperty']('fromVersion')&&(_0x499e98['fromVersion']=_0x17bdbd['fromVersion']),null!=_0x17bdbd['isEmptyCurrent']&&_0x17bdbd['hasOwnProperty']('isEmptyCurrent')&&(_0x499e98['isEmptyCurrent']=_0x17bdbd['isEmptyCurrent']),_0x499e98;},_0x3c68c9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3c68c9['getTypeUrl']=function(_0x28f8cd){return void 0x0===_0x28f8cd&&(_0x28f8cd='type.googleapis.com'),_0x28f8cd+'/RevisionDescriptor';},_0x3c68c9;}()),_0x59f061['IsEditorBundleUploadedResponse']=(function(){function _0x2da1fa(_0x5886d0){if(_0x5886d0){for(var _0x1043b3=Object['keys'](_0x5886d0),_0x3fc915=0x0;_0x3fc915<_0x1043b3['length'];++_0x3fc915)null!=_0x5886d0[_0x1043b3[_0x3fc915]]&&'__proto__'!==_0x1043b3[_0x3fc915]&&(this[_0x1043b3[_0x3fc915]]=_0x5886d0[_0x1043b3[_0x3fc915]]);}}return _0x2da1fa['prototype']['isUploaded']=!0x1,_0x2da1fa['create']=function(_0x2e0141){return new _0x2da1fa(_0x2e0141);},_0x2da1fa['encode']=function(_0x38616c,_0xe076af){return _0xe076af||(_0xe076af=_0x5cad89['create']()),null!=_0x38616c['isUploaded']&&Object['hasOwnProperty']['call'](_0x38616c,'isUploaded')&&_0xe076af['uint32'](0x8)['bool'](_0x38616c['isUploaded']),_0xe076af;},_0x2da1fa['encodeDelimited']=function(_0x31e0de,_0x1fe4d7){return this['encode'](_0x31e0de,_0x1fe4d7)['ldelim']();},_0x2da1fa['decode']=function(_0x5b876c,_0x428694,_0x53fb5c,_0x2ef2af){if(_0x5b876c instanceof _0x15a427||(_0x5b876c=_0x15a427['create'](_0x5b876c)),void 0x0===_0x2ef2af&&(_0x2ef2af=0x0),_0x2ef2af>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x71663e=void 0x0===_0x428694?_0x5b876c['len']:_0x5b876c['pos']+_0x428694,_0x414a1d=new _0x59f061['IsEditorBundleUploadedResponse']();_0x5b876c['pos']<_0x71663e;){var _0x8f9290=_0x5b876c['uint32']();if(_0x8f9290===_0x53fb5c)break;_0x8f9290>>>0x3==0x1?_0x414a1d['isUploaded']=_0x5b876c['bool']():_0x5b876c['skipType'](0x7&_0x8f9290,_0x2ef2af);}return _0x414a1d;},_0x2da1fa['decodeDelimited']=function(_0x488ff3){return _0x488ff3 instanceof _0x15a427||(_0x488ff3=new _0x15a427(_0x488ff3)),this['decode'](_0x488ff3,_0x488ff3['uint32']());},_0x2da1fa['verify']=function(_0x393843,_0x5dd372){return'object'!=typeof _0x393843||null===_0x393843?'object\x20expected':(void 0x0===_0x5dd372&&(_0x5dd372=0x0),_0x5dd372>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x393843['isUploaded']&&_0x393843['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x393843['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x2da1fa['fromObject']=function(_0x40e790,_0xae9304){if(_0x40e790 instanceof _0x59f061['IsEditorBundleUploadedResponse'])return _0x40e790;if(void 0x0===_0xae9304&&(_0xae9304=0x0),_0xae9304>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x55561b=new _0x59f061['IsEditorBundleUploadedResponse']();return null!=_0x40e790['isUploaded']&&(_0x55561b['isUploaded']=Boolean(_0x40e790['isUploaded'])),_0x55561b;},_0x2da1fa['toObject']=function(_0xa5641,_0x295c35){_0x295c35||(_0x295c35={});var _0x1f0d8c={};return _0x295c35['defaults']&&(_0x1f0d8c['isUploaded']=!0x1),null!=_0xa5641['isUploaded']&&_0xa5641['hasOwnProperty']('isUploaded')&&(_0x1f0d8c['isUploaded']=_0xa5641['isUploaded']),_0x1f0d8c;},_0x2da1fa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2da1fa['getTypeUrl']=function(_0x2886c0){return void 0x0===_0x2886c0&&(_0x2886c0='type.googleapis.com'),_0x2886c0+'/IsEditorBundleUploadedResponse';},_0x2da1fa;}()),_0x59f061['IsEditorBundleUploadedMessage']=(function(){function _0x25229a(_0x558756){if(_0x558756){for(var _0x1c51c1=Object['keys'](_0x558756),_0x520e28=0x0;_0x520e28<_0x1c51c1['length'];++_0x520e28)null!=_0x558756[_0x1c51c1[_0x520e28]]&&'__proto__'!==_0x1c51c1[_0x520e28]&&(this[_0x1c51c1[_0x520e28]]=_0x558756[_0x1c51c1[_0x520e28]]);}}return _0x25229a['prototype']['bundleVersion']='',_0x25229a['create']=function(_0x5ab478){return new _0x25229a(_0x5ab478);},_0x25229a['encode']=function(_0x49ffdf,_0xf029ca){return _0xf029ca||(_0xf029ca=_0x5cad89['create']()),null!=_0x49ffdf['bundleVersion']&&Object['hasOwnProperty']['call'](_0x49ffdf,'bundleVersion')&&_0xf029ca['uint32'](0xa)['string'](_0x49ffdf['bundleVersion']),_0xf029ca;},_0x25229a['encodeDelimited']=function(_0x2cb4c4,_0x4af9a9){return this['encode'](_0x2cb4c4,_0x4af9a9)['ldelim']();},_0x25229a['decode']=function(_0x1b8aeb,_0x25d902,_0x50bfce,_0x38c4ea){if(_0x1b8aeb instanceof _0x15a427||(_0x1b8aeb=_0x15a427['create'](_0x1b8aeb)),void 0x0===_0x38c4ea&&(_0x38c4ea=0x0),_0x38c4ea>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x98004f=void 0x0===_0x25d902?_0x1b8aeb['len']:_0x1b8aeb['pos']+_0x25d902,_0x93d6a=new _0x59f061['IsEditorBundleUploadedMessage']();_0x1b8aeb['pos']<_0x98004f;){var _0x2a93e2=_0x1b8aeb['uint32']();if(_0x2a93e2===_0x50bfce)break;_0x2a93e2>>>0x3==0x1?_0x93d6a['bundleVersion']=_0x1b8aeb['string']():_0x1b8aeb['skipType'](0x7&_0x2a93e2,_0x38c4ea);}return _0x93d6a;},_0x25229a['decodeDelimited']=function(_0x28c12d){return _0x28c12d instanceof _0x15a427||(_0x28c12d=new _0x15a427(_0x28c12d)),this['decode'](_0x28c12d,_0x28c12d['uint32']());},_0x25229a['verify']=function(_0x321fa8,_0x2cf914){return'object'!=typeof _0x321fa8||null===_0x321fa8?'object\x20expected':(void 0x0===_0x2cf914&&(_0x2cf914=0x0),_0x2cf914>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x321fa8['bundleVersion']&&_0x321fa8['hasOwnProperty']('bundleVersion')&&!_0x6b5d1['isString'](_0x321fa8['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0x25229a['fromObject']=function(_0x112b79,_0x556ff4){if(_0x112b79 instanceof _0x59f061['IsEditorBundleUploadedMessage'])return _0x112b79;if(void 0x0===_0x556ff4&&(_0x556ff4=0x0),_0x556ff4>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x594929=new _0x59f061['IsEditorBundleUploadedMessage']();return null!=_0x112b79['bundleVersion']&&(_0x594929['bundleVersion']=String(_0x112b79['bundleVersion'])),_0x594929;},_0x25229a['toObject']=function(_0x16eebf,_0x2955e9){_0x2955e9||(_0x2955e9={});var _0x3f14ba={};return _0x2955e9['defaults']&&(_0x3f14ba['bundleVersion']=''),null!=_0x16eebf['bundleVersion']&&_0x16eebf['hasOwnProperty']('bundleVersion')&&(_0x3f14ba['bundleVersion']=_0x16eebf['bundleVersion']),_0x3f14ba;},_0x25229a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x25229a['getTypeUrl']=function(_0x170fb2){return void 0x0===_0x170fb2&&(_0x170fb2='type.googleapis.com'),_0x170fb2+'/IsEditorBundleUploadedMessage';},_0x25229a;}()),_0x59f061['KeyValueDescriptor']=(function(){function _0x2689ee(_0x3a4d7f){if(_0x3a4d7f){for(var _0x56b8c3=Object['keys'](_0x3a4d7f),_0x2b9914=0x0;_0x2b9914<_0x56b8c3['length'];++_0x2b9914)null!=_0x3a4d7f[_0x56b8c3[_0x2b9914]]&&'__proto__'!==_0x56b8c3[_0x2b9914]&&(this[_0x56b8c3[_0x2b9914]]=_0x3a4d7f[_0x56b8c3[_0x2b9914]]);}}return _0x2689ee['prototype']['key']='',_0x2689ee['prototype']['value']='',_0x2689ee['create']=function(_0x56993c){return new _0x2689ee(_0x56993c);},_0x2689ee['encode']=function(_0x131728,_0x300de0){return _0x300de0||(_0x300de0=_0x5cad89['create']()),null!=_0x131728['key']&&Object['hasOwnProperty']['call'](_0x131728,'key')&&_0x300de0['uint32'](0xa)['string'](_0x131728['key']),null!=_0x131728['value']&&Object['hasOwnProperty']['call'](_0x131728,'value')&&_0x300de0['uint32'](0x12)['string'](_0x131728['value']),_0x300de0;},_0x2689ee['encodeDelimited']=function(_0x285aea,_0x10f19f){return this['encode'](_0x285aea,_0x10f19f)['ldelim']();},_0x2689ee['decode']=function(_0x3289e8,_0x3ff894,_0x188dbe,_0x1185ed){if(_0x3289e8 instanceof _0x15a427||(_0x3289e8=_0x15a427['create'](_0x3289e8)),void 0x0===_0x1185ed&&(_0x1185ed=0x0),_0x1185ed>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2e2a81=void 0x0===_0x3ff894?_0x3289e8['len']:_0x3289e8['pos']+_0x3ff894,_0x1a68d2=new _0x59f061['KeyValueDescriptor']();_0x3289e8['pos']<_0x2e2a81;){var _0x4bc027=_0x3289e8['uint32']();if(_0x4bc027===_0x188dbe)break;switch(_0x4bc027>>>0x3){case 0x1:_0x1a68d2['key']=_0x3289e8['string']();break;case 0x2:_0x1a68d2['value']=_0x3289e8['string']();break;default:_0x3289e8['skipType'](0x7&_0x4bc027,_0x1185ed);}}return _0x1a68d2;},_0x2689ee['decodeDelimited']=function(_0x22b42e){return _0x22b42e instanceof _0x15a427||(_0x22b42e=new _0x15a427(_0x22b42e)),this['decode'](_0x22b42e,_0x22b42e['uint32']());},_0x2689ee['verify']=function(_0x10c372,_0x44d459){return'object'!=typeof _0x10c372||null===_0x10c372?'object\x20expected':(void 0x0===_0x44d459&&(_0x44d459=0x0),_0x44d459>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x10c372['key']&&_0x10c372['hasOwnProperty']('key')&&!_0x6b5d1['isString'](_0x10c372['key'])?'key:\x20string\x20expected':null!=_0x10c372['value']&&_0x10c372['hasOwnProperty']('value')&&!_0x6b5d1['isString'](_0x10c372['value'])?'value:\x20string\x20expected':null);},_0x2689ee['fromObject']=function(_0x5ca023,_0x4cec5d){if(_0x5ca023 instanceof _0x59f061['KeyValueDescriptor'])return _0x5ca023;if(void 0x0===_0x4cec5d&&(_0x4cec5d=0x0),_0x4cec5d>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1fb621=new _0x59f061['KeyValueDescriptor']();return null!=_0x5ca023['key']&&(_0x1fb621['key']=String(_0x5ca023['key'])),null!=_0x5ca023['value']&&(_0x1fb621['value']=String(_0x5ca023['value'])),_0x1fb621;},_0x2689ee['toObject']=function(_0x2e3806,_0x5990b9){_0x5990b9||(_0x5990b9={});var _0x27d7fa={};return _0x5990b9['defaults']&&(_0x27d7fa['key']='',_0x27d7fa['value']=''),null!=_0x2e3806['key']&&_0x2e3806['hasOwnProperty']('key')&&(_0x27d7fa['key']=_0x2e3806['key']),null!=_0x2e3806['value']&&_0x2e3806['hasOwnProperty']('value')&&(_0x27d7fa['value']=_0x2e3806['value']),_0x27d7fa;},_0x2689ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2689ee['getTypeUrl']=function(_0x42446c){return void 0x0===_0x42446c&&(_0x42446c='type.googleapis.com'),_0x42446c+'/KeyValueDescriptor';},_0x2689ee;}()),_0x59f061['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x5123e2(_0x47ee2c){if(this['threads']=[],this['threadsV2']=[],_0x47ee2c){for(var _0x299878=Object['keys'](_0x47ee2c),_0x301a9a=0x0;_0x301a9a<_0x299878['length'];++_0x301a9a)null!=_0x47ee2c[_0x299878[_0x301a9a]]&&'__proto__'!==_0x299878[_0x301a9a]&&(this[_0x299878[_0x301a9a]]=_0x47ee2c[_0x299878[_0x301a9a]]);}}return _0x5123e2['prototype']['threads']=_0x6b5d1['emptyArray'],_0x5123e2['prototype']['threadsV2']=_0x6b5d1['emptyArray'],_0x5123e2['create']=function(_0x35e1ff){return new _0x5123e2(_0x35e1ff);},_0x5123e2['encode']=function(_0x128c61,_0x41459e){if(_0x41459e||(_0x41459e=_0x5cad89['create']()),null!=_0x128c61['threads']&&_0x128c61['threads']['length']){for(var _0x2bddb9=0x0;_0x2bddb9<_0x128c61['threads']['length'];++_0x2bddb9)_0x41459e['uint32'](0xa)['string'](_0x128c61['threads'][_0x2bddb9]);}if(null!=_0x128c61['threadsV2']&&_0x128c61['threadsV2']['length']){for(_0x2bddb9=0x0;_0x2bddb9<_0x128c61['threadsV2']['length'];++_0x2bddb9)_0x59f061['CommentsThreadDescriptor']['encode'](_0x128c61['threadsV2'][_0x2bddb9],_0x41459e['uint32'](0x12)['fork']())['ldelim']();}return _0x41459e;},_0x5123e2['encodeDelimited']=function(_0x57b12f,_0x3ebd25){return this['encode'](_0x57b12f,_0x3ebd25)['ldelim']();},_0x5123e2['decode']=function(_0x37325,_0xa8f69a,_0x59fd82,_0x106531){if(_0x37325 instanceof _0x15a427||(_0x37325=_0x15a427['create'](_0x37325)),void 0x0===_0x106531&&(_0x106531=0x0),_0x106531>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x168877=void 0x0===_0xa8f69a?_0x37325['len']:_0x37325['pos']+_0xa8f69a,_0x29f251=new _0x59f061['CommentsV2GetDocumentThreadsResponse']();_0x37325['pos']<_0x168877;){var _0x115028=_0x37325['uint32']();if(_0x115028===_0x59fd82)break;switch(_0x115028>>>0x3){case 0x1:_0x29f251['threads']&&_0x29f251['threads']['length']||(_0x29f251['threads']=[]),_0x29f251['threads']['push'](_0x37325['string']());break;case 0x2:_0x29f251['threadsV2']&&_0x29f251['threadsV2']['length']||(_0x29f251['threadsV2']=[]),_0x29f251['threadsV2']['push'](_0x59f061['CommentsThreadDescriptor']['decode'](_0x37325,_0x37325['uint32'](),void 0x0,_0x106531+0x1));break;default:_0x37325['skipType'](0x7&_0x115028,_0x106531);}}return _0x29f251;},_0x5123e2['decodeDelimited']=function(_0x5ab657){return _0x5ab657 instanceof _0x15a427||(_0x5ab657=new _0x15a427(_0x5ab657)),this['decode'](_0x5ab657,_0x5ab657['uint32']());},_0x5123e2['verify']=function(_0x27ad19,_0x117bb8){if('object'!=typeof _0x27ad19||null===_0x27ad19)return'object\x20expected';if(void 0x0===_0x117bb8&&(_0x117bb8=0x0),_0x117bb8>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x27ad19['threads']&&_0x27ad19['hasOwnProperty']('threads')){if(!Array['isArray'](_0x27ad19['threads']))return'threads:\x20array\x20expected';for(var _0x236b63=0x0;_0x236b63<_0x27ad19['threads']['length'];++_0x236b63)if(!_0x6b5d1['isString'](_0x27ad19['threads'][_0x236b63]))return'threads:\x20string[]\x20expected';}if(null!=_0x27ad19['threadsV2']&&_0x27ad19['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x27ad19['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x236b63=0x0;_0x236b63<_0x27ad19['threadsV2']['length'];++_0x236b63){var _0x5317ea=_0x59f061['CommentsThreadDescriptor']['verify'](_0x27ad19['threadsV2'][_0x236b63],_0x117bb8+0x1);if(_0x5317ea)return'threadsV2.'+_0x5317ea;}}return null;},_0x5123e2['fromObject']=function(_0x2ebc7d,_0x1a5ab3){if(_0x2ebc7d instanceof _0x59f061['CommentsV2GetDocumentThreadsResponse'])return _0x2ebc7d;if(void 0x0===_0x1a5ab3&&(_0x1a5ab3=0x0),_0x1a5ab3>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e933f=new _0x59f061['CommentsV2GetDocumentThreadsResponse']();if(_0x2ebc7d['threads']){if(!Array['isArray'](_0x2ebc7d['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x5e933f['threads']=[];for(var _0x560547=0x0;_0x560547<_0x2ebc7d['threads']['length'];++_0x560547)_0x5e933f['threads'][_0x560547]=String(_0x2ebc7d['threads'][_0x560547]);}if(_0x2ebc7d['threadsV2']){if(!Array['isArray'](_0x2ebc7d['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x5e933f['threadsV2']=[],_0x560547=0x0;_0x560547<_0x2ebc7d['threadsV2']['length'];++_0x560547){if('object'!=typeof _0x2ebc7d['threadsV2'][_0x560547])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x5e933f['threadsV2'][_0x560547]=_0x59f061['CommentsThreadDescriptor']['fromObject'](_0x2ebc7d['threadsV2'][_0x560547],_0x1a5ab3+0x1);}}return _0x5e933f;},_0x5123e2['toObject']=function(_0x306da2,_0xdc4ebe){_0xdc4ebe||(_0xdc4ebe={});var _0x221744={};if((_0xdc4ebe['arrays']||_0xdc4ebe['defaults'])&&(_0x221744['threads']=[],_0x221744['threadsV2']=[]),_0x306da2['threads']&&_0x306da2['threads']['length']){_0x221744['threads']=[];for(var _0x45e17a=0x0;_0x45e17a<_0x306da2['threads']['length'];++_0x45e17a)_0x221744['threads'][_0x45e17a]=_0x306da2['threads'][_0x45e17a];}if(_0x306da2['threadsV2']&&_0x306da2['threadsV2']['length']){for(_0x221744['threadsV2']=[],_0x45e17a=0x0;_0x45e17a<_0x306da2['threadsV2']['length'];++_0x45e17a)_0x221744['threadsV2'][_0x45e17a]=_0x59f061['CommentsThreadDescriptor']['toObject'](_0x306da2['threadsV2'][_0x45e17a],_0xdc4ebe);}return _0x221744;},_0x5123e2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5123e2['getTypeUrl']=function(_0xd16d70){return void 0x0===_0xd16d70&&(_0xd16d70='type.googleapis.com'),_0xd16d70+'/CommentsV2GetDocumentThreadsResponse';},_0x5123e2;}()),_0x59f061['CommentsV2GetCommentThreadResponse']=(function(){function _0x5087cf(_0x334e7b){if(this['comments']=[],this['commentsV2']=[],_0x334e7b){for(var _0x3ef93e=Object['keys'](_0x334e7b),_0x370bb4=0x0;_0x370bb4<_0x3ef93e['length'];++_0x370bb4)null!=_0x334e7b[_0x3ef93e[_0x370bb4]]&&'__proto__'!==_0x3ef93e[_0x370bb4]&&(this[_0x3ef93e[_0x370bb4]]=_0x334e7b[_0x3ef93e[_0x370bb4]]);}}return _0x5087cf['prototype']['commentThreadId']='',_0x5087cf['prototype']['comments']=_0x6b5d1['emptyArray'],_0x5087cf['prototype']['commentsV2']=_0x6b5d1['emptyArray'],_0x5087cf['prototype']['resolvedAt']='',_0x5087cf['prototype']['resolvedBy']='',_0x5087cf['prototype']['context']='',_0x5087cf['prototype']['createdAt']='',_0x5087cf['prototype']['deletedAt']='',_0x5087cf['prototype']['attributes']='',_0x5087cf['prototype']['unlinkedAt']='',_0x5087cf['create']=function(_0x536659){return new _0x5087cf(_0x536659);},_0x5087cf['encode']=function(_0x2e85cd,_0x5a6a9a){if(_0x5a6a9a||(_0x5a6a9a=_0x5cad89['create']()),null!=_0x2e85cd['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2e85cd,'commentThreadId')&&_0x5a6a9a['uint32'](0xa)['string'](_0x2e85cd['commentThreadId']),null!=_0x2e85cd['comments']&&_0x2e85cd['comments']['length']){for(var _0x5ad772=0x0;_0x5ad772<_0x2e85cd['comments']['length'];++_0x5ad772)_0x5a6a9a['uint32'](0x12)['string'](_0x2e85cd['comments'][_0x5ad772]);}if(null!=_0x2e85cd['commentsV2']&&_0x2e85cd['commentsV2']['length']){for(_0x5ad772=0x0;_0x5ad772<_0x2e85cd['commentsV2']['length'];++_0x5ad772)_0x59f061['CommentDescriptor']['encode'](_0x2e85cd['commentsV2'][_0x5ad772],_0x5a6a9a['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x2e85cd['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2e85cd,'resolvedAt')&&_0x5a6a9a['uint32'](0x22)['string'](_0x2e85cd['resolvedAt']),null!=_0x2e85cd['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2e85cd,'resolvedBy')&&_0x5a6a9a['uint32'](0x2a)['string'](_0x2e85cd['resolvedBy']),null!=_0x2e85cd['context']&&Object['hasOwnProperty']['call'](_0x2e85cd,'context')&&_0x5a6a9a['uint32'](0x32)['string'](_0x2e85cd['context']),null!=_0x2e85cd['createdAt']&&Object['hasOwnProperty']['call'](_0x2e85cd,'createdAt')&&_0x5a6a9a['uint32'](0x3a)['string'](_0x2e85cd['createdAt']),null!=_0x2e85cd['deletedAt']&&Object['hasOwnProperty']['call'](_0x2e85cd,'deletedAt')&&_0x5a6a9a['uint32'](0x42)['string'](_0x2e85cd['deletedAt']),null!=_0x2e85cd['attributes']&&Object['hasOwnProperty']['call'](_0x2e85cd,'attributes')&&_0x5a6a9a['uint32'](0x4a)['string'](_0x2e85cd['attributes']),null!=_0x2e85cd['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x2e85cd,'unlinkedAt')&&_0x5a6a9a['uint32'](0x52)['string'](_0x2e85cd['unlinkedAt']),_0x5a6a9a;},_0x5087cf['encodeDelimited']=function(_0x5c5086,_0x39bd28){return this['encode'](_0x5c5086,_0x39bd28)['ldelim']();},_0x5087cf['decode']=function(_0x57a291,_0x3a7aeb,_0x4c6ae0,_0x307b79){if(_0x57a291 instanceof _0x15a427||(_0x57a291=_0x15a427['create'](_0x57a291)),void 0x0===_0x307b79&&(_0x307b79=0x0),_0x307b79>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f6d9d=void 0x0===_0x3a7aeb?_0x57a291['len']:_0x57a291['pos']+_0x3a7aeb,_0x1a8f36=new _0x59f061['CommentsV2GetCommentThreadResponse']();_0x57a291['pos']<_0x1f6d9d;){var _0x24daff=_0x57a291['uint32']();if(_0x24daff===_0x4c6ae0)break;switch(_0x24daff>>>0x3){case 0x1:_0x1a8f36['commentThreadId']=_0x57a291['string']();break;case 0x2:_0x1a8f36['comments']&&_0x1a8f36['comments']['length']||(_0x1a8f36['comments']=[]),_0x1a8f36['comments']['push'](_0x57a291['string']());break;case 0x3:_0x1a8f36['commentsV2']&&_0x1a8f36['commentsV2']['length']||(_0x1a8f36['commentsV2']=[]),_0x1a8f36['commentsV2']['push'](_0x59f061['CommentDescriptor']['decode'](_0x57a291,_0x57a291['uint32'](),void 0x0,_0x307b79+0x1));break;case 0x4:_0x1a8f36['resolvedAt']=_0x57a291['string']();break;case 0x5:_0x1a8f36['resolvedBy']=_0x57a291['string']();break;case 0x6:_0x1a8f36['context']=_0x57a291['string']();break;case 0x7:_0x1a8f36['createdAt']=_0x57a291['string']();break;case 0x8:_0x1a8f36['deletedAt']=_0x57a291['string']();break;case 0x9:_0x1a8f36['attributes']=_0x57a291['string']();break;case 0xa:_0x1a8f36['unlinkedAt']=_0x57a291['string']();break;default:_0x57a291['skipType'](0x7&_0x24daff,_0x307b79);}}return _0x1a8f36;},_0x5087cf['decodeDelimited']=function(_0x22b3dc){return _0x22b3dc instanceof _0x15a427||(_0x22b3dc=new _0x15a427(_0x22b3dc)),this['decode'](_0x22b3dc,_0x22b3dc['uint32']());},_0x5087cf['verify']=function(_0xf6f7d4,_0x20fbca){if('object'!=typeof _0xf6f7d4||null===_0xf6f7d4)return'object\x20expected';if(void 0x0===_0x20fbca&&(_0x20fbca=0x0),_0x20fbca>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xf6f7d4['commentThreadId']&&_0xf6f7d4['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0xf6f7d4['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xf6f7d4['comments']&&_0xf6f7d4['hasOwnProperty']('comments')){if(!Array['isArray'](_0xf6f7d4['comments']))return'comments:\x20array\x20expected';for(var _0x5acd32=0x0;_0x5acd32<_0xf6f7d4['comments']['length'];++_0x5acd32)if(!_0x6b5d1['isString'](_0xf6f7d4['comments'][_0x5acd32]))return'comments:\x20string[]\x20expected';}if(null!=_0xf6f7d4['commentsV2']&&_0xf6f7d4['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0xf6f7d4['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x5acd32=0x0;_0x5acd32<_0xf6f7d4['commentsV2']['length'];++_0x5acd32){var _0x216ee5=_0x59f061['CommentDescriptor']['verify'](_0xf6f7d4['commentsV2'][_0x5acd32],_0x20fbca+0x1);if(_0x216ee5)return'commentsV2.'+_0x216ee5;}}return null!=_0xf6f7d4['resolvedAt']&&_0xf6f7d4['hasOwnProperty']('resolvedAt')&&!_0x6b5d1['isString'](_0xf6f7d4['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0xf6f7d4['resolvedBy']&&_0xf6f7d4['hasOwnProperty']('resolvedBy')&&!_0x6b5d1['isString'](_0xf6f7d4['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0xf6f7d4['context']&&_0xf6f7d4['hasOwnProperty']('context')&&!_0x6b5d1['isString'](_0xf6f7d4['context'])?'context:\x20string\x20expected':null!=_0xf6f7d4['createdAt']&&_0xf6f7d4['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0xf6f7d4['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xf6f7d4['deletedAt']&&_0xf6f7d4['hasOwnProperty']('deletedAt')&&!_0x6b5d1['isString'](_0xf6f7d4['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0xf6f7d4['attributes']&&_0xf6f7d4['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0xf6f7d4['attributes'])?'attributes:\x20string\x20expected':null!=_0xf6f7d4['unlinkedAt']&&_0xf6f7d4['hasOwnProperty']('unlinkedAt')&&!_0x6b5d1['isString'](_0xf6f7d4['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x5087cf['fromObject']=function(_0x500d07,_0x24aa45){if(_0x500d07 instanceof _0x59f061['CommentsV2GetCommentThreadResponse'])return _0x500d07;if(void 0x0===_0x24aa45&&(_0x24aa45=0x0),_0x24aa45>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x582368=new _0x59f061['CommentsV2GetCommentThreadResponse']();if(null!=_0x500d07['commentThreadId']&&(_0x582368['commentThreadId']=String(_0x500d07['commentThreadId'])),_0x500d07['comments']){if(!Array['isArray'](_0x500d07['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x582368['comments']=[];for(var _0x234f01=0x0;_0x234f01<_0x500d07['comments']['length'];++_0x234f01)_0x582368['comments'][_0x234f01]=String(_0x500d07['comments'][_0x234f01]);}if(_0x500d07['commentsV2']){if(!Array['isArray'](_0x500d07['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x582368['commentsV2']=[],_0x234f01=0x0;_0x234f01<_0x500d07['commentsV2']['length'];++_0x234f01){if('object'!=typeof _0x500d07['commentsV2'][_0x234f01])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x582368['commentsV2'][_0x234f01]=_0x59f061['CommentDescriptor']['fromObject'](_0x500d07['commentsV2'][_0x234f01],_0x24aa45+0x1);}}return null!=_0x500d07['resolvedAt']&&(_0x582368['resolvedAt']=String(_0x500d07['resolvedAt'])),null!=_0x500d07['resolvedBy']&&(_0x582368['resolvedBy']=String(_0x500d07['resolvedBy'])),null!=_0x500d07['context']&&(_0x582368['context']=String(_0x500d07['context'])),null!=_0x500d07['createdAt']&&(_0x582368['createdAt']=String(_0x500d07['createdAt'])),null!=_0x500d07['deletedAt']&&(_0x582368['deletedAt']=String(_0x500d07['deletedAt'])),null!=_0x500d07['attributes']&&(_0x582368['attributes']=String(_0x500d07['attributes'])),null!=_0x500d07['unlinkedAt']&&(_0x582368['unlinkedAt']=String(_0x500d07['unlinkedAt'])),_0x582368;},_0x5087cf['toObject']=function(_0x46e894,_0x4aa711){_0x4aa711||(_0x4aa711={});var _0x194ad8={};if((_0x4aa711['arrays']||_0x4aa711['defaults'])&&(_0x194ad8['comments']=[],_0x194ad8['commentsV2']=[]),_0x4aa711['defaults']&&(_0x194ad8['commentThreadId']='',_0x194ad8['resolvedAt']='',_0x194ad8['resolvedBy']='',_0x194ad8['context']='',_0x194ad8['createdAt']='',_0x194ad8['deletedAt']='',_0x194ad8['attributes']='',_0x194ad8['unlinkedAt']=''),null!=_0x46e894['commentThreadId']&&_0x46e894['hasOwnProperty']('commentThreadId')&&(_0x194ad8['commentThreadId']=_0x46e894['commentThreadId']),_0x46e894['comments']&&_0x46e894['comments']['length']){_0x194ad8['comments']=[];for(var _0x365e81=0x0;_0x365e81<_0x46e894['comments']['length'];++_0x365e81)_0x194ad8['comments'][_0x365e81]=_0x46e894['comments'][_0x365e81];}if(_0x46e894['commentsV2']&&_0x46e894['commentsV2']['length']){for(_0x194ad8['commentsV2']=[],_0x365e81=0x0;_0x365e81<_0x46e894['commentsV2']['length'];++_0x365e81)_0x194ad8['commentsV2'][_0x365e81]=_0x59f061['CommentDescriptor']['toObject'](_0x46e894['commentsV2'][_0x365e81],_0x4aa711);}return null!=_0x46e894['resolvedAt']&&_0x46e894['hasOwnProperty']('resolvedAt')&&(_0x194ad8['resolvedAt']=_0x46e894['resolvedAt']),null!=_0x46e894['resolvedBy']&&_0x46e894['hasOwnProperty']('resolvedBy')&&(_0x194ad8['resolvedBy']=_0x46e894['resolvedBy']),null!=_0x46e894['context']&&_0x46e894['hasOwnProperty']('context')&&(_0x194ad8['context']=_0x46e894['context']),null!=_0x46e894['createdAt']&&_0x46e894['hasOwnProperty']('createdAt')&&(_0x194ad8['createdAt']=_0x46e894['createdAt']),null!=_0x46e894['deletedAt']&&_0x46e894['hasOwnProperty']('deletedAt')&&(_0x194ad8['deletedAt']=_0x46e894['deletedAt']),null!=_0x46e894['attributes']&&_0x46e894['hasOwnProperty']('attributes')&&(_0x194ad8['attributes']=_0x46e894['attributes']),null!=_0x46e894['unlinkedAt']&&_0x46e894['hasOwnProperty']('unlinkedAt')&&(_0x194ad8['unlinkedAt']=_0x46e894['unlinkedAt']),_0x194ad8;},_0x5087cf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5087cf['getTypeUrl']=function(_0x39fa85){return void 0x0===_0x39fa85&&(_0x39fa85='type.googleapis.com'),_0x39fa85+'/CommentsV2GetCommentThreadResponse';},_0x5087cf;}()),_0x59f061['CommentsV2ConnectResponse']=(function(){function _0x5deaca(_0x1607ed){if(this['threads']=[],this['threadsV2']=[],_0x1607ed){for(var _0x16566a=Object['keys'](_0x1607ed),_0x12940b=0x0;_0x12940b<_0x16566a['length'];++_0x12940b)null!=_0x1607ed[_0x16566a[_0x12940b]]&&'__proto__'!==_0x16566a[_0x12940b]&&(this[_0x16566a[_0x12940b]]=_0x1607ed[_0x16566a[_0x12940b]]);}}return _0x5deaca['prototype']['channel']='',_0x5deaca['prototype']['threads']=_0x6b5d1['emptyArray'],_0x5deaca['prototype']['threadsV2']=_0x6b5d1['emptyArray'],_0x5deaca['create']=function(_0x296108){return new _0x5deaca(_0x296108);},_0x5deaca['encode']=function(_0x32a51a,_0x55fc25){if(_0x55fc25||(_0x55fc25=_0x5cad89['create']()),null!=_0x32a51a['channel']&&Object['hasOwnProperty']['call'](_0x32a51a,'channel')&&_0x55fc25['uint32'](0xa)['string'](_0x32a51a['channel']),null!=_0x32a51a['threads']&&_0x32a51a['threads']['length']){for(var _0x50c526=0x0;_0x50c526<_0x32a51a['threads']['length'];++_0x50c526)_0x55fc25['uint32'](0x12)['string'](_0x32a51a['threads'][_0x50c526]);}if(null!=_0x32a51a['threadsV2']&&_0x32a51a['threadsV2']['length']){for(_0x50c526=0x0;_0x50c526<_0x32a51a['threadsV2']['length'];++_0x50c526)_0x59f061['CommentsThreadDescriptor']['encode'](_0x32a51a['threadsV2'][_0x50c526],_0x55fc25['uint32'](0x1a)['fork']())['ldelim']();}return _0x55fc25;},_0x5deaca['encodeDelimited']=function(_0x17f414,_0x442cd7){return this['encode'](_0x17f414,_0x442cd7)['ldelim']();},_0x5deaca['decode']=function(_0x2f0d15,_0x394748,_0x37b082,_0x5779d9){if(_0x2f0d15 instanceof _0x15a427||(_0x2f0d15=_0x15a427['create'](_0x2f0d15)),void 0x0===_0x5779d9&&(_0x5779d9=0x0),_0x5779d9>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x469abd=void 0x0===_0x394748?_0x2f0d15['len']:_0x2f0d15['pos']+_0x394748,_0x7179a5=new _0x59f061['CommentsV2ConnectResponse']();_0x2f0d15['pos']<_0x469abd;){var _0x13b27c=_0x2f0d15['uint32']();if(_0x13b27c===_0x37b082)break;switch(_0x13b27c>>>0x3){case 0x1:_0x7179a5['channel']=_0x2f0d15['string']();break;case 0x2:_0x7179a5['threads']&&_0x7179a5['threads']['length']||(_0x7179a5['threads']=[]),_0x7179a5['threads']['push'](_0x2f0d15['string']());break;case 0x3:_0x7179a5['threadsV2']&&_0x7179a5['threadsV2']['length']||(_0x7179a5['threadsV2']=[]),_0x7179a5['threadsV2']['push'](_0x59f061['CommentsThreadDescriptor']['decode'](_0x2f0d15,_0x2f0d15['uint32'](),void 0x0,_0x5779d9+0x1));break;default:_0x2f0d15['skipType'](0x7&_0x13b27c,_0x5779d9);}}return _0x7179a5;},_0x5deaca['decodeDelimited']=function(_0x3c4fb6){return _0x3c4fb6 instanceof _0x15a427||(_0x3c4fb6=new _0x15a427(_0x3c4fb6)),this['decode'](_0x3c4fb6,_0x3c4fb6['uint32']());},_0x5deaca['verify']=function(_0x83fa2d,_0x5edc7d){if('object'!=typeof _0x83fa2d||null===_0x83fa2d)return'object\x20expected';if(void 0x0===_0x5edc7d&&(_0x5edc7d=0x0),_0x5edc7d>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x83fa2d['channel']&&_0x83fa2d['hasOwnProperty']('channel')&&!_0x6b5d1['isString'](_0x83fa2d['channel']))return'channel:\x20string\x20expected';if(null!=_0x83fa2d['threads']&&_0x83fa2d['hasOwnProperty']('threads')){if(!Array['isArray'](_0x83fa2d['threads']))return'threads:\x20array\x20expected';for(var _0x572d9a=0x0;_0x572d9a<_0x83fa2d['threads']['length'];++_0x572d9a)if(!_0x6b5d1['isString'](_0x83fa2d['threads'][_0x572d9a]))return'threads:\x20string[]\x20expected';}if(null!=_0x83fa2d['threadsV2']&&_0x83fa2d['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x83fa2d['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x572d9a=0x0;_0x572d9a<_0x83fa2d['threadsV2']['length'];++_0x572d9a){var _0x33c0d4=_0x59f061['CommentsThreadDescriptor']['verify'](_0x83fa2d['threadsV2'][_0x572d9a],_0x5edc7d+0x1);if(_0x33c0d4)return'threadsV2.'+_0x33c0d4;}}return null;},_0x5deaca['fromObject']=function(_0x25d251,_0x4d65cd){if(_0x25d251 instanceof _0x59f061['CommentsV2ConnectResponse'])return _0x25d251;if(void 0x0===_0x4d65cd&&(_0x4d65cd=0x0),_0x4d65cd>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x27b0b1=new _0x59f061['CommentsV2ConnectResponse']();if(null!=_0x25d251['channel']&&(_0x27b0b1['channel']=String(_0x25d251['channel'])),_0x25d251['threads']){if(!Array['isArray'](_0x25d251['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x27b0b1['threads']=[];for(var _0x1eace2=0x0;_0x1eace2<_0x25d251['threads']['length'];++_0x1eace2)_0x27b0b1['threads'][_0x1eace2]=String(_0x25d251['threads'][_0x1eace2]);}if(_0x25d251['threadsV2']){if(!Array['isArray'](_0x25d251['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x27b0b1['threadsV2']=[],_0x1eace2=0x0;_0x1eace2<_0x25d251['threadsV2']['length'];++_0x1eace2){if('object'!=typeof _0x25d251['threadsV2'][_0x1eace2])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x27b0b1['threadsV2'][_0x1eace2]=_0x59f061['CommentsThreadDescriptor']['fromObject'](_0x25d251['threadsV2'][_0x1eace2],_0x4d65cd+0x1);}}return _0x27b0b1;},_0x5deaca['toObject']=function(_0x2f048f,_0x3b3271){_0x3b3271||(_0x3b3271={});var _0x585c0b={};if((_0x3b3271['arrays']||_0x3b3271['defaults'])&&(_0x585c0b['threads']=[],_0x585c0b['threadsV2']=[]),_0x3b3271['defaults']&&(_0x585c0b['channel']=''),null!=_0x2f048f['channel']&&_0x2f048f['hasOwnProperty']('channel')&&(_0x585c0b['channel']=_0x2f048f['channel']),_0x2f048f['threads']&&_0x2f048f['threads']['length']){_0x585c0b['threads']=[];for(var _0x303b9e=0x0;_0x303b9e<_0x2f048f['threads']['length'];++_0x303b9e)_0x585c0b['threads'][_0x303b9e]=_0x2f048f['threads'][_0x303b9e];}if(_0x2f048f['threadsV2']&&_0x2f048f['threadsV2']['length']){for(_0x585c0b['threadsV2']=[],_0x303b9e=0x0;_0x303b9e<_0x2f048f['threadsV2']['length'];++_0x303b9e)_0x585c0b['threadsV2'][_0x303b9e]=_0x59f061['CommentsThreadDescriptor']['toObject'](_0x2f048f['threadsV2'][_0x303b9e],_0x3b3271);}return _0x585c0b;},_0x5deaca['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5deaca['getTypeUrl']=function(_0x16cc8d){return void 0x0===_0x16cc8d&&(_0x16cc8d='type.googleapis.com'),_0x16cc8d+'/CommentsV2ConnectResponse';},_0x5deaca;}()),_0x59f061['CommentsV2AddCommentResponse']=(function(){function _0x17503c(_0x35da05){if(_0x35da05){for(var _0x5cc7ff=Object['keys'](_0x35da05),_0x391380=0x0;_0x391380<_0x5cc7ff['length'];++_0x391380)null!=_0x35da05[_0x5cc7ff[_0x391380]]&&'__proto__'!==_0x5cc7ff[_0x391380]&&(this[_0x5cc7ff[_0x391380]]=_0x35da05[_0x5cc7ff[_0x391380]]);}}return _0x17503c['prototype']['commentThreadId']='',_0x17503c['prototype']['commentId']='',_0x17503c['prototype']['createdAt']='',_0x17503c['create']=function(_0x1a4bf7){return new _0x17503c(_0x1a4bf7);},_0x17503c['encode']=function(_0x40f494,_0x47b638){return _0x47b638||(_0x47b638=_0x5cad89['create']()),null!=_0x40f494['commentThreadId']&&Object['hasOwnProperty']['call'](_0x40f494,'commentThreadId')&&_0x47b638['uint32'](0xa)['string'](_0x40f494['commentThreadId']),null!=_0x40f494['commentId']&&Object['hasOwnProperty']['call'](_0x40f494,'commentId')&&_0x47b638['uint32'](0x12)['string'](_0x40f494['commentId']),null!=_0x40f494['createdAt']&&Object['hasOwnProperty']['call'](_0x40f494,'createdAt')&&_0x47b638['uint32'](0x1a)['string'](_0x40f494['createdAt']),_0x47b638;},_0x17503c['encodeDelimited']=function(_0x26a9f2,_0x1fb8a7){return this['encode'](_0x26a9f2,_0x1fb8a7)['ldelim']();},_0x17503c['decode']=function(_0x4557cf,_0x580d2b,_0x2e13f7,_0x1e6834){if(_0x4557cf instanceof _0x15a427||(_0x4557cf=_0x15a427['create'](_0x4557cf)),void 0x0===_0x1e6834&&(_0x1e6834=0x0),_0x1e6834>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x58027a=void 0x0===_0x580d2b?_0x4557cf['len']:_0x4557cf['pos']+_0x580d2b,_0x342a28=new _0x59f061['CommentsV2AddCommentResponse']();_0x4557cf['pos']<_0x58027a;){var _0xab3864=_0x4557cf['uint32']();if(_0xab3864===_0x2e13f7)break;switch(_0xab3864>>>0x3){case 0x1:_0x342a28['commentThreadId']=_0x4557cf['string']();break;case 0x2:_0x342a28['commentId']=_0x4557cf['string']();break;case 0x3:_0x342a28['createdAt']=_0x4557cf['string']();break;default:_0x4557cf['skipType'](0x7&_0xab3864,_0x1e6834);}}return _0x342a28;},_0x17503c['decodeDelimited']=function(_0x25f2fe){return _0x25f2fe instanceof _0x15a427||(_0x25f2fe=new _0x15a427(_0x25f2fe)),this['decode'](_0x25f2fe,_0x25f2fe['uint32']());},_0x17503c['verify']=function(_0x422e43,_0x5e9275){return'object'!=typeof _0x422e43||null===_0x422e43?'object\x20expected':(void 0x0===_0x5e9275&&(_0x5e9275=0x0),_0x5e9275>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x422e43['commentThreadId']&&_0x422e43['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x422e43['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x422e43['commentId']&&_0x422e43['hasOwnProperty']('commentId')&&!_0x6b5d1['isString'](_0x422e43['commentId'])?'commentId:\x20string\x20expected':null!=_0x422e43['createdAt']&&_0x422e43['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x422e43['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x17503c['fromObject']=function(_0x91af0b,_0x3381f0){if(_0x91af0b instanceof _0x59f061['CommentsV2AddCommentResponse'])return _0x91af0b;if(void 0x0===_0x3381f0&&(_0x3381f0=0x0),_0x3381f0>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x690d87=new _0x59f061['CommentsV2AddCommentResponse']();return null!=_0x91af0b['commentThreadId']&&(_0x690d87['commentThreadId']=String(_0x91af0b['commentThreadId'])),null!=_0x91af0b['commentId']&&(_0x690d87['commentId']=String(_0x91af0b['commentId'])),null!=_0x91af0b['createdAt']&&(_0x690d87['createdAt']=String(_0x91af0b['createdAt'])),_0x690d87;},_0x17503c['toObject']=function(_0x406443,_0x342a06){_0x342a06||(_0x342a06={});var _0x3e191e={};return _0x342a06['defaults']&&(_0x3e191e['commentThreadId']='',_0x3e191e['commentId']='',_0x3e191e['createdAt']=''),null!=_0x406443['commentThreadId']&&_0x406443['hasOwnProperty']('commentThreadId')&&(_0x3e191e['commentThreadId']=_0x406443['commentThreadId']),null!=_0x406443['commentId']&&_0x406443['hasOwnProperty']('commentId')&&(_0x3e191e['commentId']=_0x406443['commentId']),null!=_0x406443['createdAt']&&_0x406443['hasOwnProperty']('createdAt')&&(_0x3e191e['createdAt']=_0x406443['createdAt']),_0x3e191e;},_0x17503c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x17503c['getTypeUrl']=function(_0xd7cb7e){return void 0x0===_0xd7cb7e&&(_0xd7cb7e='type.googleapis.com'),_0xd7cb7e+'/CommentsV2AddCommentResponse';},_0x17503c;}()),_0x59f061['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x32ac8b(_0x54de5c){if(_0x54de5c){for(var _0xcff569=Object['keys'](_0x54de5c),_0x50a25e=0x0;_0x50a25e<_0xcff569['length'];++_0x50a25e)null!=_0x54de5c[_0xcff569[_0x50a25e]]&&'__proto__'!==_0xcff569[_0x50a25e]&&(this[_0xcff569[_0x50a25e]]=_0x54de5c[_0xcff569[_0x50a25e]]);}}return _0x32ac8b['prototype']['commentThreadId']='',_0x32ac8b['prototype']['documentId']='',_0x32ac8b['prototype']['resolvedAt']='',_0x32ac8b['prototype']['resolvedBy']='',_0x32ac8b['create']=function(_0x42433a){return new _0x32ac8b(_0x42433a);},_0x32ac8b['encode']=function(_0x436932,_0x2f30b4){return _0x2f30b4||(_0x2f30b4=_0x5cad89['create']()),null!=_0x436932['commentThreadId']&&Object['hasOwnProperty']['call'](_0x436932,'commentThreadId')&&_0x2f30b4['uint32'](0xa)['string'](_0x436932['commentThreadId']),null!=_0x436932['documentId']&&Object['hasOwnProperty']['call'](_0x436932,'documentId')&&_0x2f30b4['uint32'](0x12)['string'](_0x436932['documentId']),null!=_0x436932['resolvedAt']&&Object['hasOwnProperty']['call'](_0x436932,'resolvedAt')&&_0x2f30b4['uint32'](0x1a)['string'](_0x436932['resolvedAt']),null!=_0x436932['resolvedBy']&&Object['hasOwnProperty']['call'](_0x436932,'resolvedBy')&&_0x2f30b4['uint32'](0x22)['string'](_0x436932['resolvedBy']),_0x2f30b4;},_0x32ac8b['encodeDelimited']=function(_0x7f362b,_0x575d86){return this['encode'](_0x7f362b,_0x575d86)['ldelim']();},_0x32ac8b['decode']=function(_0xa0ec20,_0x4fe0b9,_0x21fe78,_0x42ec30){if(_0xa0ec20 instanceof _0x15a427||(_0xa0ec20=_0x15a427['create'](_0xa0ec20)),void 0x0===_0x42ec30&&(_0x42ec30=0x0),_0x42ec30>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a3a89=void 0x0===_0x4fe0b9?_0xa0ec20['len']:_0xa0ec20['pos']+_0x4fe0b9,_0x20949c=new _0x59f061['CommentsV2ResolveCommentThreadResponse']();_0xa0ec20['pos']<_0x5a3a89;){var _0x2224cb=_0xa0ec20['uint32']();if(_0x2224cb===_0x21fe78)break;switch(_0x2224cb>>>0x3){case 0x1:_0x20949c['commentThreadId']=_0xa0ec20['string']();break;case 0x2:_0x20949c['documentId']=_0xa0ec20['string']();break;case 0x3:_0x20949c['resolvedAt']=_0xa0ec20['string']();break;case 0x4:_0x20949c['resolvedBy']=_0xa0ec20['string']();break;default:_0xa0ec20['skipType'](0x7&_0x2224cb,_0x42ec30);}}return _0x20949c;},_0x32ac8b['decodeDelimited']=function(_0xb5e4b1){return _0xb5e4b1 instanceof _0x15a427||(_0xb5e4b1=new _0x15a427(_0xb5e4b1)),this['decode'](_0xb5e4b1,_0xb5e4b1['uint32']());},_0x32ac8b['verify']=function(_0x2f904c,_0x4b18fd){return'object'!=typeof _0x2f904c||null===_0x2f904c?'object\x20expected':(void 0x0===_0x4b18fd&&(_0x4b18fd=0x0),_0x4b18fd>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2f904c['commentThreadId']&&_0x2f904c['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x2f904c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2f904c['documentId']&&_0x2f904c['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x2f904c['documentId'])?'documentId:\x20string\x20expected':null!=_0x2f904c['resolvedAt']&&_0x2f904c['hasOwnProperty']('resolvedAt')&&!_0x6b5d1['isString'](_0x2f904c['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x2f904c['resolvedBy']&&_0x2f904c['hasOwnProperty']('resolvedBy')&&!_0x6b5d1['isString'](_0x2f904c['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x32ac8b['fromObject']=function(_0x4260d9,_0x490a7a){if(_0x4260d9 instanceof _0x59f061['CommentsV2ResolveCommentThreadResponse'])return _0x4260d9;if(void 0x0===_0x490a7a&&(_0x490a7a=0x0),_0x490a7a>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7d69ce=new _0x59f061['CommentsV2ResolveCommentThreadResponse']();return null!=_0x4260d9['commentThreadId']&&(_0x7d69ce['commentThreadId']=String(_0x4260d9['commentThreadId'])),null!=_0x4260d9['documentId']&&(_0x7d69ce['documentId']=String(_0x4260d9['documentId'])),null!=_0x4260d9['resolvedAt']&&(_0x7d69ce['resolvedAt']=String(_0x4260d9['resolvedAt'])),null!=_0x4260d9['resolvedBy']&&(_0x7d69ce['resolvedBy']=String(_0x4260d9['resolvedBy'])),_0x7d69ce;},_0x32ac8b['toObject']=function(_0x69264e,_0x1fb4d1){_0x1fb4d1||(_0x1fb4d1={});var _0x31a501={};return _0x1fb4d1['defaults']&&(_0x31a501['commentThreadId']='',_0x31a501['documentId']='',_0x31a501['resolvedAt']='',_0x31a501['resolvedBy']=''),null!=_0x69264e['commentThreadId']&&_0x69264e['hasOwnProperty']('commentThreadId')&&(_0x31a501['commentThreadId']=_0x69264e['commentThreadId']),null!=_0x69264e['documentId']&&_0x69264e['hasOwnProperty']('documentId')&&(_0x31a501['documentId']=_0x69264e['documentId']),null!=_0x69264e['resolvedAt']&&_0x69264e['hasOwnProperty']('resolvedAt')&&(_0x31a501['resolvedAt']=_0x69264e['resolvedAt']),null!=_0x69264e['resolvedBy']&&_0x69264e['hasOwnProperty']('resolvedBy')&&(_0x31a501['resolvedBy']=_0x69264e['resolvedBy']),_0x31a501;},_0x32ac8b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x32ac8b['getTypeUrl']=function(_0x19df7f){return void 0x0===_0x19df7f&&(_0x19df7f='type.googleapis.com'),_0x19df7f+'/CommentsV2ResolveCommentThreadResponse';},_0x32ac8b;}()),_0x59f061['CommentsV2AddCommentThreadResponse']=(function(){function _0xb07cba(_0x2ae06c){if(this['comments']=[],_0x2ae06c){for(var _0x21a682=Object['keys'](_0x2ae06c),_0x31d226=0x0;_0x31d226<_0x21a682['length'];++_0x31d226)null!=_0x2ae06c[_0x21a682[_0x31d226]]&&'__proto__'!==_0x21a682[_0x31d226]&&(this[_0x21a682[_0x31d226]]=_0x2ae06c[_0x21a682[_0x31d226]]);}}return _0xb07cba['prototype']['commentThreadId']='',_0xb07cba['prototype']['createdAt']='',_0xb07cba['prototype']['comments']=_0x6b5d1['emptyArray'],_0xb07cba['create']=function(_0x528e96){return new _0xb07cba(_0x528e96);},_0xb07cba['encode']=function(_0x12da35,_0x8cb7a2){if(_0x8cb7a2||(_0x8cb7a2=_0x5cad89['create']()),null!=_0x12da35['commentThreadId']&&Object['hasOwnProperty']['call'](_0x12da35,'commentThreadId')&&_0x8cb7a2['uint32'](0xa)['string'](_0x12da35['commentThreadId']),null!=_0x12da35['createdAt']&&Object['hasOwnProperty']['call'](_0x12da35,'createdAt')&&_0x8cb7a2['uint32'](0x12)['string'](_0x12da35['createdAt']),null!=_0x12da35['comments']&&_0x12da35['comments']['length']){for(var _0xe17f51=0x0;_0xe17f51<_0x12da35['comments']['length'];++_0xe17f51)_0x59f061['CommentThreadAddedCommentDescriptor']['encode'](_0x12da35['comments'][_0xe17f51],_0x8cb7a2['uint32'](0x1a)['fork']())['ldelim']();}return _0x8cb7a2;},_0xb07cba['encodeDelimited']=function(_0x203b36,_0x563c2c){return this['encode'](_0x203b36,_0x563c2c)['ldelim']();},_0xb07cba['decode']=function(_0x1828ee,_0x2b3610,_0x358a9c,_0x4be2ec){if(_0x1828ee instanceof _0x15a427||(_0x1828ee=_0x15a427['create'](_0x1828ee)),void 0x0===_0x4be2ec&&(_0x4be2ec=0x0),_0x4be2ec>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x36b4e5=void 0x0===_0x2b3610?_0x1828ee['len']:_0x1828ee['pos']+_0x2b3610,_0x596b8c=new _0x59f061['CommentsV2AddCommentThreadResponse']();_0x1828ee['pos']<_0x36b4e5;){var _0x244b3e=_0x1828ee['uint32']();if(_0x244b3e===_0x358a9c)break;switch(_0x244b3e>>>0x3){case 0x1:_0x596b8c['commentThreadId']=_0x1828ee['string']();break;case 0x2:_0x596b8c['createdAt']=_0x1828ee['string']();break;case 0x3:_0x596b8c['comments']&&_0x596b8c['comments']['length']||(_0x596b8c['comments']=[]),_0x596b8c['comments']['push'](_0x59f061['CommentThreadAddedCommentDescriptor']['decode'](_0x1828ee,_0x1828ee['uint32'](),void 0x0,_0x4be2ec+0x1));break;default:_0x1828ee['skipType'](0x7&_0x244b3e,_0x4be2ec);}}return _0x596b8c;},_0xb07cba['decodeDelimited']=function(_0x988ab7){return _0x988ab7 instanceof _0x15a427||(_0x988ab7=new _0x15a427(_0x988ab7)),this['decode'](_0x988ab7,_0x988ab7['uint32']());},_0xb07cba['verify']=function(_0x3a1d0a,_0x20c310){if('object'!=typeof _0x3a1d0a||null===_0x3a1d0a)return'object\x20expected';if(void 0x0===_0x20c310&&(_0x20c310=0x0),_0x20c310>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3a1d0a['commentThreadId']&&_0x3a1d0a['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x3a1d0a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3a1d0a['createdAt']&&_0x3a1d0a['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x3a1d0a['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3a1d0a['comments']&&_0x3a1d0a['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3a1d0a['comments']))return'comments:\x20array\x20expected';for(var _0x453e50=0x0;_0x453e50<_0x3a1d0a['comments']['length'];++_0x453e50){var _0xbd249c=_0x59f061['CommentThreadAddedCommentDescriptor']['verify'](_0x3a1d0a['comments'][_0x453e50],_0x20c310+0x1);if(_0xbd249c)return'comments.'+_0xbd249c;}}return null;},_0xb07cba['fromObject']=function(_0x521e0c,_0x269457){if(_0x521e0c instanceof _0x59f061['CommentsV2AddCommentThreadResponse'])return _0x521e0c;if(void 0x0===_0x269457&&(_0x269457=0x0),_0x269457>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21e8a1=new _0x59f061['CommentsV2AddCommentThreadResponse']();if(null!=_0x521e0c['commentThreadId']&&(_0x21e8a1['commentThreadId']=String(_0x521e0c['commentThreadId'])),null!=_0x521e0c['createdAt']&&(_0x21e8a1['createdAt']=String(_0x521e0c['createdAt'])),_0x521e0c['comments']){if(!Array['isArray'](_0x521e0c['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x21e8a1['comments']=[];for(var _0x1cf5f1=0x0;_0x1cf5f1<_0x521e0c['comments']['length'];++_0x1cf5f1){if('object'!=typeof _0x521e0c['comments'][_0x1cf5f1])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x21e8a1['comments'][_0x1cf5f1]=_0x59f061['CommentThreadAddedCommentDescriptor']['fromObject'](_0x521e0c['comments'][_0x1cf5f1],_0x269457+0x1);}}return _0x21e8a1;},_0xb07cba['toObject']=function(_0x4ed04b,_0x653e8b){_0x653e8b||(_0x653e8b={});var _0x427354={};if((_0x653e8b['arrays']||_0x653e8b['defaults'])&&(_0x427354['comments']=[]),_0x653e8b['defaults']&&(_0x427354['commentThreadId']='',_0x427354['createdAt']=''),null!=_0x4ed04b['commentThreadId']&&_0x4ed04b['hasOwnProperty']('commentThreadId')&&(_0x427354['commentThreadId']=_0x4ed04b['commentThreadId']),null!=_0x4ed04b['createdAt']&&_0x4ed04b['hasOwnProperty']('createdAt')&&(_0x427354['createdAt']=_0x4ed04b['createdAt']),_0x4ed04b['comments']&&_0x4ed04b['comments']['length']){_0x427354['comments']=[];for(var _0x37243d=0x0;_0x37243d<_0x4ed04b['comments']['length'];++_0x37243d)_0x427354['comments'][_0x37243d]=_0x59f061['CommentThreadAddedCommentDescriptor']['toObject'](_0x4ed04b['comments'][_0x37243d],_0x653e8b);}return _0x427354;},_0xb07cba['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0xb07cba['getTypeUrl']=function(_0x447564){return void 0x0===_0x447564&&(_0x447564='type.googleapis.com'),_0x447564+'/CommentsV2AddCommentThreadResponse';},_0xb07cba;}()),_0x59f061['CommentsV2UpdateCommentMessage']=(function(){function _0x13caab(_0x2e821f){if(_0x2e821f){for(var _0x5f1306=Object['keys'](_0x2e821f),_0x52ffa3=0x0;_0x52ffa3<_0x5f1306['length'];++_0x52ffa3)null!=_0x2e821f[_0x5f1306[_0x52ffa3]]&&'__proto__'!==_0x5f1306[_0x52ffa3]&&(this[_0x5f1306[_0x52ffa3]]=_0x2e821f[_0x5f1306[_0x52ffa3]]);}}return _0x13caab['prototype']['commentThreadId']='',_0x13caab['prototype']['commentId']='',_0x13caab['prototype']['content']='',_0x13caab['prototype']['documentId']='',_0x13caab['prototype']['attributes']='',_0x13caab['prototype']['isAttributesUpdated']=!0x1,_0x13caab['prototype']['commentThread']=null,_0x13caab['create']=function(_0x5acf7d){return new _0x13caab(_0x5acf7d);},_0x13caab['encode']=function(_0x50281b,_0x4b15a0){return _0x4b15a0||(_0x4b15a0=_0x5cad89['create']()),null!=_0x50281b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x50281b,'commentThreadId')&&_0x4b15a0['uint32'](0xa)['string'](_0x50281b['commentThreadId']),null!=_0x50281b['commentId']&&Object['hasOwnProperty']['call'](_0x50281b,'commentId')&&_0x4b15a0['uint32'](0x12)['string'](_0x50281b['commentId']),null!=_0x50281b['content']&&Object['hasOwnProperty']['call'](_0x50281b,'content')&&_0x4b15a0['uint32'](0x1a)['string'](_0x50281b['content']),null!=_0x50281b['documentId']&&Object['hasOwnProperty']['call'](_0x50281b,'documentId')&&_0x4b15a0['uint32'](0x22)['string'](_0x50281b['documentId']),null!=_0x50281b['attributes']&&Object['hasOwnProperty']['call'](_0x50281b,'attributes')&&_0x4b15a0['uint32'](0x2a)['string'](_0x50281b['attributes']),null!=_0x50281b['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x50281b,'isAttributesUpdated')&&_0x4b15a0['uint32'](0x30)['bool'](_0x50281b['isAttributesUpdated']),null!=_0x50281b['commentThread']&&Object['hasOwnProperty']['call'](_0x50281b,'commentThread')&&_0x59f061['CommentsThreadDescriptor']['encode'](_0x50281b['commentThread'],_0x4b15a0['uint32'](0x3a)['fork']())['ldelim'](),_0x4b15a0;},_0x13caab['encodeDelimited']=function(_0x235059,_0x20b2b0){return this['encode'](_0x235059,_0x20b2b0)['ldelim']();},_0x13caab['decode']=function(_0x4fa072,_0x4f8799,_0x3764d4,_0x5e7a28){if(_0x4fa072 instanceof _0x15a427||(_0x4fa072=_0x15a427['create'](_0x4fa072)),void 0x0===_0x5e7a28&&(_0x5e7a28=0x0),_0x5e7a28>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e1ea3=void 0x0===_0x4f8799?_0x4fa072['len']:_0x4fa072['pos']+_0x4f8799,_0x58ccc0=new _0x59f061['CommentsV2UpdateCommentMessage']();_0x4fa072['pos']<_0x1e1ea3;){var _0x2c2ab2=_0x4fa072['uint32']();if(_0x2c2ab2===_0x3764d4)break;switch(_0x2c2ab2>>>0x3){case 0x1:_0x58ccc0['commentThreadId']=_0x4fa072['string']();break;case 0x2:_0x58ccc0['commentId']=_0x4fa072['string']();break;case 0x3:_0x58ccc0['content']=_0x4fa072['string']();break;case 0x4:_0x58ccc0['documentId']=_0x4fa072['string']();break;case 0x5:_0x58ccc0['attributes']=_0x4fa072['string']();break;case 0x6:_0x58ccc0['isAttributesUpdated']=_0x4fa072['bool']();break;case 0x7:_0x58ccc0['commentThread']=_0x59f061['CommentsThreadDescriptor']['decode'](_0x4fa072,_0x4fa072['uint32'](),void 0x0,_0x5e7a28+0x1);break;default:_0x4fa072['skipType'](0x7&_0x2c2ab2,_0x5e7a28);}}return _0x58ccc0;},_0x13caab['decodeDelimited']=function(_0x11b39c){return _0x11b39c instanceof _0x15a427||(_0x11b39c=new _0x15a427(_0x11b39c)),this['decode'](_0x11b39c,_0x11b39c['uint32']());},_0x13caab['verify']=function(_0x5d0fd4,_0x306c85){if('object'!=typeof _0x5d0fd4||null===_0x5d0fd4)return'object\x20expected';if(void 0x0===_0x306c85&&(_0x306c85=0x0),_0x306c85>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5d0fd4['commentThreadId']&&_0x5d0fd4['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x5d0fd4['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5d0fd4['commentId']&&_0x5d0fd4['hasOwnProperty']('commentId')&&!_0x6b5d1['isString'](_0x5d0fd4['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x5d0fd4['content']&&_0x5d0fd4['hasOwnProperty']('content')&&!_0x6b5d1['isString'](_0x5d0fd4['content']))return'content:\x20string\x20expected';if(null!=_0x5d0fd4['documentId']&&_0x5d0fd4['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x5d0fd4['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x5d0fd4['attributes']&&_0x5d0fd4['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x5d0fd4['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x5d0fd4['isAttributesUpdated']&&_0x5d0fd4['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x5d0fd4['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x5d0fd4['commentThread']&&_0x5d0fd4['hasOwnProperty']('commentThread')){var _0x331ba9=_0x59f061['CommentsThreadDescriptor']['verify'](_0x5d0fd4['commentThread'],_0x306c85+0x1);if(_0x331ba9)return'commentThread.'+_0x331ba9;}return null;},_0x13caab['fromObject']=function(_0xba8a2e,_0x1c2448){if(_0xba8a2e instanceof _0x59f061['CommentsV2UpdateCommentMessage'])return _0xba8a2e;if(void 0x0===_0x1c2448&&(_0x1c2448=0x0),_0x1c2448>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x33ecf2=new _0x59f061['CommentsV2UpdateCommentMessage']();if(null!=_0xba8a2e['commentThreadId']&&(_0x33ecf2['commentThreadId']=String(_0xba8a2e['commentThreadId'])),null!=_0xba8a2e['commentId']&&(_0x33ecf2['commentId']=String(_0xba8a2e['commentId'])),null!=_0xba8a2e['content']&&(_0x33ecf2['content']=String(_0xba8a2e['content'])),null!=_0xba8a2e['documentId']&&(_0x33ecf2['documentId']=String(_0xba8a2e['documentId'])),null!=_0xba8a2e['attributes']&&(_0x33ecf2['attributes']=String(_0xba8a2e['attributes'])),null!=_0xba8a2e['isAttributesUpdated']&&(_0x33ecf2['isAttributesUpdated']=Boolean(_0xba8a2e['isAttributesUpdated'])),null!=_0xba8a2e['commentThread']){if('object'!=typeof _0xba8a2e['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x33ecf2['commentThread']=_0x59f061['CommentsThreadDescriptor']['fromObject'](_0xba8a2e['commentThread'],_0x1c2448+0x1);}return _0x33ecf2;},_0x13caab['toObject']=function(_0x150c05,_0x257880){_0x257880||(_0x257880={});var _0x42f963={};return _0x257880['defaults']&&(_0x42f963['commentThreadId']='',_0x42f963['commentId']='',_0x42f963['content']='',_0x42f963['documentId']='',_0x42f963['attributes']='',_0x42f963['isAttributesUpdated']=!0x1,_0x42f963['commentThread']=null),null!=_0x150c05['commentThreadId']&&_0x150c05['hasOwnProperty']('commentThreadId')&&(_0x42f963['commentThreadId']=_0x150c05['commentThreadId']),null!=_0x150c05['commentId']&&_0x150c05['hasOwnProperty']('commentId')&&(_0x42f963['commentId']=_0x150c05['commentId']),null!=_0x150c05['content']&&_0x150c05['hasOwnProperty']('content')&&(_0x42f963['content']=_0x150c05['content']),null!=_0x150c05['documentId']&&_0x150c05['hasOwnProperty']('documentId')&&(_0x42f963['documentId']=_0x150c05['documentId']),null!=_0x150c05['attributes']&&_0x150c05['hasOwnProperty']('attributes')&&(_0x42f963['attributes']=_0x150c05['attributes']),null!=_0x150c05['isAttributesUpdated']&&_0x150c05['hasOwnProperty']('isAttributesUpdated')&&(_0x42f963['isAttributesUpdated']=_0x150c05['isAttributesUpdated']),null!=_0x150c05['commentThread']&&_0x150c05['hasOwnProperty']('commentThread')&&(_0x42f963['commentThread']=_0x59f061['CommentsThreadDescriptor']['toObject'](_0x150c05['commentThread'],_0x257880)),_0x42f963;},_0x13caab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x13caab['getTypeUrl']=function(_0x208330){return void 0x0===_0x208330&&(_0x208330='type.googleapis.com'),_0x208330+'/CommentsV2UpdateCommentMessage';},_0x13caab;}()),_0x59f061['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x40645c(_0x152976){if(_0x152976){for(var _0x4bbe00=Object['keys'](_0x152976),_0x30dcfb=0x0;_0x30dcfb<_0x4bbe00['length'];++_0x30dcfb)null!=_0x152976[_0x4bbe00[_0x30dcfb]]&&'__proto__'!==_0x4bbe00[_0x30dcfb]&&(this[_0x4bbe00[_0x30dcfb]]=_0x152976[_0x4bbe00[_0x30dcfb]]);}}return _0x40645c['prototype']['commentThreadId']='',_0x40645c['prototype']['documentId']='',_0x40645c['create']=function(_0x3a38a2){return new _0x40645c(_0x3a38a2);},_0x40645c['encode']=function(_0x18ed7c,_0x152c80){return _0x152c80||(_0x152c80=_0x5cad89['create']()),null!=_0x18ed7c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x18ed7c,'commentThreadId')&&_0x152c80['uint32'](0xa)['string'](_0x18ed7c['commentThreadId']),null!=_0x18ed7c['documentId']&&Object['hasOwnProperty']['call'](_0x18ed7c,'documentId')&&_0x152c80['uint32'](0x12)['string'](_0x18ed7c['documentId']),_0x152c80;},_0x40645c['encodeDelimited']=function(_0x2d377d,_0x151450){return this['encode'](_0x2d377d,_0x151450)['ldelim']();},_0x40645c['decode']=function(_0x18e5cc,_0xbef392,_0x1493e4,_0x445b2b){if(_0x18e5cc instanceof _0x15a427||(_0x18e5cc=_0x15a427['create'](_0x18e5cc)),void 0x0===_0x445b2b&&(_0x445b2b=0x0),_0x445b2b>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x14765e=void 0x0===_0xbef392?_0x18e5cc['len']:_0x18e5cc['pos']+_0xbef392,_0x51cc50=new _0x59f061['CommentsV2RemoveCommentThreadMessage']();_0x18e5cc['pos']<_0x14765e;){var _0x247e91=_0x18e5cc['uint32']();if(_0x247e91===_0x1493e4)break;switch(_0x247e91>>>0x3){case 0x1:_0x51cc50['commentThreadId']=_0x18e5cc['string']();break;case 0x2:_0x51cc50['documentId']=_0x18e5cc['string']();break;default:_0x18e5cc['skipType'](0x7&_0x247e91,_0x445b2b);}}return _0x51cc50;},_0x40645c['decodeDelimited']=function(_0x1f182c){return _0x1f182c instanceof _0x15a427||(_0x1f182c=new _0x15a427(_0x1f182c)),this['decode'](_0x1f182c,_0x1f182c['uint32']());},_0x40645c['verify']=function(_0x344387,_0x57169e){return'object'!=typeof _0x344387||null===_0x344387?'object\x20expected':(void 0x0===_0x57169e&&(_0x57169e=0x0),_0x57169e>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x344387['commentThreadId']&&_0x344387['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x344387['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x344387['documentId']&&_0x344387['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x344387['documentId'])?'documentId:\x20string\x20expected':null);},_0x40645c['fromObject']=function(_0x130e74,_0x23b7e6){if(_0x130e74 instanceof _0x59f061['CommentsV2RemoveCommentThreadMessage'])return _0x130e74;if(void 0x0===_0x23b7e6&&(_0x23b7e6=0x0),_0x23b7e6>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ac37e=new _0x59f061['CommentsV2RemoveCommentThreadMessage']();return null!=_0x130e74['commentThreadId']&&(_0x3ac37e['commentThreadId']=String(_0x130e74['commentThreadId'])),null!=_0x130e74['documentId']&&(_0x3ac37e['documentId']=String(_0x130e74['documentId'])),_0x3ac37e;},_0x40645c['toObject']=function(_0x5755c4,_0x3ef23d){_0x3ef23d||(_0x3ef23d={});var _0x54fc8d={};return _0x3ef23d['defaults']&&(_0x54fc8d['commentThreadId']='',_0x54fc8d['documentId']=''),null!=_0x5755c4['commentThreadId']&&_0x5755c4['hasOwnProperty']('commentThreadId')&&(_0x54fc8d['commentThreadId']=_0x5755c4['commentThreadId']),null!=_0x5755c4['documentId']&&_0x5755c4['hasOwnProperty']('documentId')&&(_0x54fc8d['documentId']=_0x5755c4['documentId']),_0x54fc8d;},_0x40645c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x40645c['getTypeUrl']=function(_0x33be3d){return void 0x0===_0x33be3d&&(_0x33be3d='type.googleapis.com'),_0x33be3d+'/CommentsV2RemoveCommentThreadMessage';},_0x40645c;}()),_0x59f061['CommentsV2RemoveCommentMessage']=(function(){function _0x54b0a4(_0x6822ae){if(_0x6822ae){for(var _0x45c97b=Object['keys'](_0x6822ae),_0x4394ad=0x0;_0x4394ad<_0x45c97b['length'];++_0x4394ad)null!=_0x6822ae[_0x45c97b[_0x4394ad]]&&'__proto__'!==_0x45c97b[_0x4394ad]&&(this[_0x45c97b[_0x4394ad]]=_0x6822ae[_0x45c97b[_0x4394ad]]);}}return _0x54b0a4['prototype']['commentThreadId']='',_0x54b0a4['prototype']['commentId']='',_0x54b0a4['prototype']['documentId']='',_0x54b0a4['create']=function(_0x1bbdf4){return new _0x54b0a4(_0x1bbdf4);},_0x54b0a4['encode']=function(_0x2ed6af,_0x11e202){return _0x11e202||(_0x11e202=_0x5cad89['create']()),null!=_0x2ed6af['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2ed6af,'commentThreadId')&&_0x11e202['uint32'](0xa)['string'](_0x2ed6af['commentThreadId']),null!=_0x2ed6af['commentId']&&Object['hasOwnProperty']['call'](_0x2ed6af,'commentId')&&_0x11e202['uint32'](0x12)['string'](_0x2ed6af['commentId']),null!=_0x2ed6af['documentId']&&Object['hasOwnProperty']['call'](_0x2ed6af,'documentId')&&_0x11e202['uint32'](0x1a)['string'](_0x2ed6af['documentId']),_0x11e202;},_0x54b0a4['encodeDelimited']=function(_0x21b701,_0x158ffb){return this['encode'](_0x21b701,_0x158ffb)['ldelim']();},_0x54b0a4['decode']=function(_0x2d2284,_0xc24c99,_0x51c7d6,_0x3a1e51){if(_0x2d2284 instanceof _0x15a427||(_0x2d2284=_0x15a427['create'](_0x2d2284)),void 0x0===_0x3a1e51&&(_0x3a1e51=0x0),_0x3a1e51>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4e40cf=void 0x0===_0xc24c99?_0x2d2284['len']:_0x2d2284['pos']+_0xc24c99,_0x3f5bdd=new _0x59f061['CommentsV2RemoveCommentMessage']();_0x2d2284['pos']<_0x4e40cf;){var _0x347bae=_0x2d2284['uint32']();if(_0x347bae===_0x51c7d6)break;switch(_0x347bae>>>0x3){case 0x1:_0x3f5bdd['commentThreadId']=_0x2d2284['string']();break;case 0x2:_0x3f5bdd['commentId']=_0x2d2284['string']();break;case 0x3:_0x3f5bdd['documentId']=_0x2d2284['string']();break;default:_0x2d2284['skipType'](0x7&_0x347bae,_0x3a1e51);}}return _0x3f5bdd;},_0x54b0a4['decodeDelimited']=function(_0x130e73){return _0x130e73 instanceof _0x15a427||(_0x130e73=new _0x15a427(_0x130e73)),this['decode'](_0x130e73,_0x130e73['uint32']());},_0x54b0a4['verify']=function(_0xfb44d5,_0xb2819f){return'object'!=typeof _0xfb44d5||null===_0xfb44d5?'object\x20expected':(void 0x0===_0xb2819f&&(_0xb2819f=0x0),_0xb2819f>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xfb44d5['commentThreadId']&&_0xfb44d5['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0xfb44d5['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xfb44d5['commentId']&&_0xfb44d5['hasOwnProperty']('commentId')&&!_0x6b5d1['isString'](_0xfb44d5['commentId'])?'commentId:\x20string\x20expected':null!=_0xfb44d5['documentId']&&_0xfb44d5['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0xfb44d5['documentId'])?'documentId:\x20string\x20expected':null);},_0x54b0a4['fromObject']=function(_0x1d9d91,_0x422d8b){if(_0x1d9d91 instanceof _0x59f061['CommentsV2RemoveCommentMessage'])return _0x1d9d91;if(void 0x0===_0x422d8b&&(_0x422d8b=0x0),_0x422d8b>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3eea52=new _0x59f061['CommentsV2RemoveCommentMessage']();return null!=_0x1d9d91['commentThreadId']&&(_0x3eea52['commentThreadId']=String(_0x1d9d91['commentThreadId'])),null!=_0x1d9d91['commentId']&&(_0x3eea52['commentId']=String(_0x1d9d91['commentId'])),null!=_0x1d9d91['documentId']&&(_0x3eea52['documentId']=String(_0x1d9d91['documentId'])),_0x3eea52;},_0x54b0a4['toObject']=function(_0x217a2b,_0x27e7ec){_0x27e7ec||(_0x27e7ec={});var _0x4e8c74={};return _0x27e7ec['defaults']&&(_0x4e8c74['commentThreadId']='',_0x4e8c74['commentId']='',_0x4e8c74['documentId']=''),null!=_0x217a2b['commentThreadId']&&_0x217a2b['hasOwnProperty']('commentThreadId')&&(_0x4e8c74['commentThreadId']=_0x217a2b['commentThreadId']),null!=_0x217a2b['commentId']&&_0x217a2b['hasOwnProperty']('commentId')&&(_0x4e8c74['commentId']=_0x217a2b['commentId']),null!=_0x217a2b['documentId']&&_0x217a2b['hasOwnProperty']('documentId')&&(_0x4e8c74['documentId']=_0x217a2b['documentId']),_0x4e8c74;},_0x54b0a4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x54b0a4['getTypeUrl']=function(_0x2c567e){return void 0x0===_0x2c567e&&(_0x2c567e='type.googleapis.com'),_0x2c567e+'/CommentsV2RemoveCommentMessage';},_0x54b0a4;}()),_0x59f061['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x4aa4f7(_0x2416d1){if(_0x2416d1){for(var _0x5c7a41=Object['keys'](_0x2416d1),_0x2dd9c7=0x0;_0x2dd9c7<_0x5c7a41['length'];++_0x2dd9c7)null!=_0x2416d1[_0x5c7a41[_0x2dd9c7]]&&'__proto__'!==_0x5c7a41[_0x2dd9c7]&&(this[_0x5c7a41[_0x2dd9c7]]=_0x2416d1[_0x5c7a41[_0x2dd9c7]]);}}return _0x4aa4f7['prototype']['documentId']='',_0x4aa4f7['create']=function(_0x2862bb){return new _0x4aa4f7(_0x2862bb);},_0x4aa4f7['encode']=function(_0x1713d0,_0xe7d6d6){return _0xe7d6d6||(_0xe7d6d6=_0x5cad89['create']()),null!=_0x1713d0['documentId']&&Object['hasOwnProperty']['call'](_0x1713d0,'documentId')&&_0xe7d6d6['uint32'](0xa)['string'](_0x1713d0['documentId']),_0xe7d6d6;},_0x4aa4f7['encodeDelimited']=function(_0xd081e3,_0x2e7f7d){return this['encode'](_0xd081e3,_0x2e7f7d)['ldelim']();},_0x4aa4f7['decode']=function(_0x35afc5,_0x1ea2a1,_0x4de043,_0x492476){if(_0x35afc5 instanceof _0x15a427||(_0x35afc5=_0x15a427['create'](_0x35afc5)),void 0x0===_0x492476&&(_0x492476=0x0),_0x492476>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x18cecd=void 0x0===_0x1ea2a1?_0x35afc5['len']:_0x35afc5['pos']+_0x1ea2a1,_0x5e0528=new _0x59f061['CommentsV2GetDocumentThreadsMessage']();_0x35afc5['pos']<_0x18cecd;){var _0x115d21=_0x35afc5['uint32']();if(_0x115d21===_0x4de043)break;_0x115d21>>>0x3==0x1?_0x5e0528['documentId']=_0x35afc5['string']():_0x35afc5['skipType'](0x7&_0x115d21,_0x492476);}return _0x5e0528;},_0x4aa4f7['decodeDelimited']=function(_0x17e346){return _0x17e346 instanceof _0x15a427||(_0x17e346=new _0x15a427(_0x17e346)),this['decode'](_0x17e346,_0x17e346['uint32']());},_0x4aa4f7['verify']=function(_0x42a5fd,_0x31a77c){return'object'!=typeof _0x42a5fd||null===_0x42a5fd?'object\x20expected':(void 0x0===_0x31a77c&&(_0x31a77c=0x0),_0x31a77c>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x42a5fd['documentId']&&_0x42a5fd['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x42a5fd['documentId'])?'documentId:\x20string\x20expected':null);},_0x4aa4f7['fromObject']=function(_0x48ffc9,_0x27818f){if(_0x48ffc9 instanceof _0x59f061['CommentsV2GetDocumentThreadsMessage'])return _0x48ffc9;if(void 0x0===_0x27818f&&(_0x27818f=0x0),_0x27818f>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4e6530=new _0x59f061['CommentsV2GetDocumentThreadsMessage']();return null!=_0x48ffc9['documentId']&&(_0x4e6530['documentId']=String(_0x48ffc9['documentId'])),_0x4e6530;},_0x4aa4f7['toObject']=function(_0x5c3485,_0x1c8dca){_0x1c8dca||(_0x1c8dca={});var _0x5ec6f5={};return _0x1c8dca['defaults']&&(_0x5ec6f5['documentId']=''),null!=_0x5c3485['documentId']&&_0x5c3485['hasOwnProperty']('documentId')&&(_0x5ec6f5['documentId']=_0x5c3485['documentId']),_0x5ec6f5;},_0x4aa4f7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4aa4f7['getTypeUrl']=function(_0x40478a){return void 0x0===_0x40478a&&(_0x40478a='type.googleapis.com'),_0x40478a+'/CommentsV2GetDocumentThreadsMessage';},_0x4aa4f7;}()),_0x59f061['CommentsV2GetCommentThreadMessage']=(function(){function _0xdd1681(_0x1fdd1b){if(_0x1fdd1b){for(var _0x3106cd=Object['keys'](_0x1fdd1b),_0x3d9067=0x0;_0x3d9067<_0x3106cd['length'];++_0x3d9067)null!=_0x1fdd1b[_0x3106cd[_0x3d9067]]&&'__proto__'!==_0x3106cd[_0x3d9067]&&(this[_0x3106cd[_0x3d9067]]=_0x1fdd1b[_0x3106cd[_0x3d9067]]);}}return _0xdd1681['prototype']['commentThreadId']='',_0xdd1681['prototype']['documentId']='',_0xdd1681['create']=function(_0x5de9fe){return new _0xdd1681(_0x5de9fe);},_0xdd1681['encode']=function(_0x26791c,_0x323471){return _0x323471||(_0x323471=_0x5cad89['create']()),null!=_0x26791c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x26791c,'commentThreadId')&&_0x323471['uint32'](0xa)['string'](_0x26791c['commentThreadId']),null!=_0x26791c['documentId']&&Object['hasOwnProperty']['call'](_0x26791c,'documentId')&&_0x323471['uint32'](0x12)['string'](_0x26791c['documentId']),_0x323471;},_0xdd1681['encodeDelimited']=function(_0x1367ab,_0x1da58c){return this['encode'](_0x1367ab,_0x1da58c)['ldelim']();},_0xdd1681['decode']=function(_0x50559e,_0x5a72c4,_0xc89831,_0x5f488e){if(_0x50559e instanceof _0x15a427||(_0x50559e=_0x15a427['create'](_0x50559e)),void 0x0===_0x5f488e&&(_0x5f488e=0x0),_0x5f488e>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d9a16=void 0x0===_0x5a72c4?_0x50559e['len']:_0x50559e['pos']+_0x5a72c4,_0x24a7cb=new _0x59f061['CommentsV2GetCommentThreadMessage']();_0x50559e['pos']<_0x5d9a16;){var _0x1bcf20=_0x50559e['uint32']();if(_0x1bcf20===_0xc89831)break;switch(_0x1bcf20>>>0x3){case 0x1:_0x24a7cb['commentThreadId']=_0x50559e['string']();break;case 0x2:_0x24a7cb['documentId']=_0x50559e['string']();break;default:_0x50559e['skipType'](0x7&_0x1bcf20,_0x5f488e);}}return _0x24a7cb;},_0xdd1681['decodeDelimited']=function(_0x138c19){return _0x138c19 instanceof _0x15a427||(_0x138c19=new _0x15a427(_0x138c19)),this['decode'](_0x138c19,_0x138c19['uint32']());},_0xdd1681['verify']=function(_0x1f2a97,_0x3c171f){return'object'!=typeof _0x1f2a97||null===_0x1f2a97?'object\x20expected':(void 0x0===_0x3c171f&&(_0x3c171f=0x0),_0x3c171f>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1f2a97['commentThreadId']&&_0x1f2a97['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x1f2a97['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1f2a97['documentId']&&_0x1f2a97['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x1f2a97['documentId'])?'documentId:\x20string\x20expected':null);},_0xdd1681['fromObject']=function(_0x6d2f5e,_0x503c56){if(_0x6d2f5e instanceof _0x59f061['CommentsV2GetCommentThreadMessage'])return _0x6d2f5e;if(void 0x0===_0x503c56&&(_0x503c56=0x0),_0x503c56>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x332a49=new _0x59f061['CommentsV2GetCommentThreadMessage']();return null!=_0x6d2f5e['commentThreadId']&&(_0x332a49['commentThreadId']=String(_0x6d2f5e['commentThreadId'])),null!=_0x6d2f5e['documentId']&&(_0x332a49['documentId']=String(_0x6d2f5e['documentId'])),_0x332a49;},_0xdd1681['toObject']=function(_0x56910c,_0x3949e2){_0x3949e2||(_0x3949e2={});var _0x438ee4={};return _0x3949e2['defaults']&&(_0x438ee4['commentThreadId']='',_0x438ee4['documentId']=''),null!=_0x56910c['commentThreadId']&&_0x56910c['hasOwnProperty']('commentThreadId')&&(_0x438ee4['commentThreadId']=_0x56910c['commentThreadId']),null!=_0x56910c['documentId']&&_0x56910c['hasOwnProperty']('documentId')&&(_0x438ee4['documentId']=_0x56910c['documentId']),_0x438ee4;},_0xdd1681['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0xdd1681['getTypeUrl']=function(_0x3b1275){return void 0x0===_0x3b1275&&(_0x3b1275='type.googleapis.com'),_0x3b1275+'/CommentsV2GetCommentThreadMessage';},_0xdd1681;}()),_0x59f061['CommentsV2ConnectMessage']=(function(){function _0x52a89b(_0x11c6b4){if(_0x11c6b4){for(var _0x378b04=Object['keys'](_0x11c6b4),_0xbfdcd8=0x0;_0xbfdcd8<_0x378b04['length'];++_0xbfdcd8)null!=_0x11c6b4[_0x378b04[_0xbfdcd8]]&&'__proto__'!==_0x378b04[_0xbfdcd8]&&(this[_0x378b04[_0xbfdcd8]]=_0x11c6b4[_0x378b04[_0xbfdcd8]]);}}return _0x52a89b['prototype']['documentId']='',_0x52a89b['create']=function(_0x3502e6){return new _0x52a89b(_0x3502e6);},_0x52a89b['encode']=function(_0x52e062,_0x5e4fa6){return _0x5e4fa6||(_0x5e4fa6=_0x5cad89['create']()),null!=_0x52e062['documentId']&&Object['hasOwnProperty']['call'](_0x52e062,'documentId')&&_0x5e4fa6['uint32'](0xa)['string'](_0x52e062['documentId']),_0x5e4fa6;},_0x52a89b['encodeDelimited']=function(_0x105d16,_0x58b3e9){return this['encode'](_0x105d16,_0x58b3e9)['ldelim']();},_0x52a89b['decode']=function(_0xa0d596,_0x19c0ff,_0x1b87d8,_0x1adaca){if(_0xa0d596 instanceof _0x15a427||(_0xa0d596=_0x15a427['create'](_0xa0d596)),void 0x0===_0x1adaca&&(_0x1adaca=0x0),_0x1adaca>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x261efc=void 0x0===_0x19c0ff?_0xa0d596['len']:_0xa0d596['pos']+_0x19c0ff,_0x2a79bc=new _0x59f061['CommentsV2ConnectMessage']();_0xa0d596['pos']<_0x261efc;){var _0x175faf=_0xa0d596['uint32']();if(_0x175faf===_0x1b87d8)break;_0x175faf>>>0x3==0x1?_0x2a79bc['documentId']=_0xa0d596['string']():_0xa0d596['skipType'](0x7&_0x175faf,_0x1adaca);}return _0x2a79bc;},_0x52a89b['decodeDelimited']=function(_0x17c9dd){return _0x17c9dd instanceof _0x15a427||(_0x17c9dd=new _0x15a427(_0x17c9dd)),this['decode'](_0x17c9dd,_0x17c9dd['uint32']());},_0x52a89b['verify']=function(_0x24418d,_0x315c76){return'object'!=typeof _0x24418d||null===_0x24418d?'object\x20expected':(void 0x0===_0x315c76&&(_0x315c76=0x0),_0x315c76>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x24418d['documentId']&&_0x24418d['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x24418d['documentId'])?'documentId:\x20string\x20expected':null);},_0x52a89b['fromObject']=function(_0x19ca7d,_0x4a854f){if(_0x19ca7d instanceof _0x59f061['CommentsV2ConnectMessage'])return _0x19ca7d;if(void 0x0===_0x4a854f&&(_0x4a854f=0x0),_0x4a854f>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e0820=new _0x59f061['CommentsV2ConnectMessage']();return null!=_0x19ca7d['documentId']&&(_0x3e0820['documentId']=String(_0x19ca7d['documentId'])),_0x3e0820;},_0x52a89b['toObject']=function(_0x4de810,_0x595ff9){_0x595ff9||(_0x595ff9={});var _0x127b82={};return _0x595ff9['defaults']&&(_0x127b82['documentId']=''),null!=_0x4de810['documentId']&&_0x4de810['hasOwnProperty']('documentId')&&(_0x127b82['documentId']=_0x4de810['documentId']),_0x127b82;},_0x52a89b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x52a89b['getTypeUrl']=function(_0x551500){return void 0x0===_0x551500&&(_0x551500='type.googleapis.com'),_0x551500+'/CommentsV2ConnectMessage';},_0x52a89b;}()),_0x59f061['CommentsV2AddCommentMessage']=(function(){function _0x18b9d6(_0x4b432e){if(_0x4b432e){for(var _0x149025=Object['keys'](_0x4b432e),_0x10d701=0x0;_0x10d701<_0x149025['length'];++_0x10d701)null!=_0x4b432e[_0x149025[_0x10d701]]&&'__proto__'!==_0x149025[_0x10d701]&&(this[_0x149025[_0x10d701]]=_0x4b432e[_0x149025[_0x10d701]]);}}return _0x18b9d6['prototype']['commentThreadId']='',_0x18b9d6['prototype']['content']='',_0x18b9d6['prototype']['documentId']='',_0x18b9d6['prototype']['commentId']='',_0x18b9d6['prototype']['createdAt']='',_0x18b9d6['prototype']['userId']='',_0x18b9d6['prototype']['attributes']='',_0x18b9d6['prototype']['commentThread']=null,_0x18b9d6['create']=function(_0x4fb957){return new _0x18b9d6(_0x4fb957);},_0x18b9d6['encode']=function(_0x43ad23,_0x3632c4){return _0x3632c4||(_0x3632c4=_0x5cad89['create']()),null!=_0x43ad23['commentThreadId']&&Object['hasOwnProperty']['call'](_0x43ad23,'commentThreadId')&&_0x3632c4['uint32'](0xa)['string'](_0x43ad23['commentThreadId']),null!=_0x43ad23['content']&&Object['hasOwnProperty']['call'](_0x43ad23,'content')&&_0x3632c4['uint32'](0x12)['string'](_0x43ad23['content']),null!=_0x43ad23['documentId']&&Object['hasOwnProperty']['call'](_0x43ad23,'documentId')&&_0x3632c4['uint32'](0x1a)['string'](_0x43ad23['documentId']),null!=_0x43ad23['commentId']&&Object['hasOwnProperty']['call'](_0x43ad23,'commentId')&&_0x3632c4['uint32'](0x22)['string'](_0x43ad23['commentId']),null!=_0x43ad23['createdAt']&&Object['hasOwnProperty']['call'](_0x43ad23,'createdAt')&&_0x3632c4['uint32'](0x2a)['string'](_0x43ad23['createdAt']),null!=_0x43ad23['userId']&&Object['hasOwnProperty']['call'](_0x43ad23,'userId')&&_0x3632c4['uint32'](0x32)['string'](_0x43ad23['userId']),null!=_0x43ad23['attributes']&&Object['hasOwnProperty']['call'](_0x43ad23,'attributes')&&_0x3632c4['uint32'](0x3a)['string'](_0x43ad23['attributes']),null!=_0x43ad23['commentThread']&&Object['hasOwnProperty']['call'](_0x43ad23,'commentThread')&&_0x59f061['CommentsThreadDescriptor']['encode'](_0x43ad23['commentThread'],_0x3632c4['uint32'](0x42)['fork']())['ldelim'](),_0x3632c4;},_0x18b9d6['encodeDelimited']=function(_0x5de181,_0x2877b7){return this['encode'](_0x5de181,_0x2877b7)['ldelim']();},_0x18b9d6['decode']=function(_0x4b51a7,_0x51c7b6,_0x416fb1,_0x1f0552){if(_0x4b51a7 instanceof _0x15a427||(_0x4b51a7=_0x15a427['create'](_0x4b51a7)),void 0x0===_0x1f0552&&(_0x1f0552=0x0),_0x1f0552>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41d92e=void 0x0===_0x51c7b6?_0x4b51a7['len']:_0x4b51a7['pos']+_0x51c7b6,_0x32f15f=new _0x59f061['CommentsV2AddCommentMessage']();_0x4b51a7['pos']<_0x41d92e;){var _0x3b99c5=_0x4b51a7['uint32']();if(_0x3b99c5===_0x416fb1)break;switch(_0x3b99c5>>>0x3){case 0x1:_0x32f15f['commentThreadId']=_0x4b51a7['string']();break;case 0x2:_0x32f15f['content']=_0x4b51a7['string']();break;case 0x3:_0x32f15f['documentId']=_0x4b51a7['string']();break;case 0x4:_0x32f15f['commentId']=_0x4b51a7['string']();break;case 0x5:_0x32f15f['createdAt']=_0x4b51a7['string']();break;case 0x6:_0x32f15f['userId']=_0x4b51a7['string']();break;case 0x7:_0x32f15f['attributes']=_0x4b51a7['string']();break;case 0x8:_0x32f15f['commentThread']=_0x59f061['CommentsThreadDescriptor']['decode'](_0x4b51a7,_0x4b51a7['uint32'](),void 0x0,_0x1f0552+0x1);break;default:_0x4b51a7['skipType'](0x7&_0x3b99c5,_0x1f0552);}}return _0x32f15f;},_0x18b9d6['decodeDelimited']=function(_0x23c677){return _0x23c677 instanceof _0x15a427||(_0x23c677=new _0x15a427(_0x23c677)),this['decode'](_0x23c677,_0x23c677['uint32']());},_0x18b9d6['verify']=function(_0xfeec53,_0x202a69){if('object'!=typeof _0xfeec53||null===_0xfeec53)return'object\x20expected';if(void 0x0===_0x202a69&&(_0x202a69=0x0),_0x202a69>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xfeec53['commentThreadId']&&_0xfeec53['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0xfeec53['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0xfeec53['content']&&_0xfeec53['hasOwnProperty']('content')&&!_0x6b5d1['isString'](_0xfeec53['content']))return'content:\x20string\x20expected';if(null!=_0xfeec53['documentId']&&_0xfeec53['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0xfeec53['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xfeec53['commentId']&&_0xfeec53['hasOwnProperty']('commentId')&&!_0x6b5d1['isString'](_0xfeec53['commentId']))return'commentId:\x20string\x20expected';if(null!=_0xfeec53['createdAt']&&_0xfeec53['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0xfeec53['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0xfeec53['userId']&&_0xfeec53['hasOwnProperty']('userId')&&!_0x6b5d1['isString'](_0xfeec53['userId']))return'userId:\x20string\x20expected';if(null!=_0xfeec53['attributes']&&_0xfeec53['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0xfeec53['attributes']))return'attributes:\x20string\x20expected';if(null!=_0xfeec53['commentThread']&&_0xfeec53['hasOwnProperty']('commentThread')){var _0x331aaf=_0x59f061['CommentsThreadDescriptor']['verify'](_0xfeec53['commentThread'],_0x202a69+0x1);if(_0x331aaf)return'commentThread.'+_0x331aaf;}return null;},_0x18b9d6['fromObject']=function(_0x5c7ac1,_0x2d3f14){if(_0x5c7ac1 instanceof _0x59f061['CommentsV2AddCommentMessage'])return _0x5c7ac1;if(void 0x0===_0x2d3f14&&(_0x2d3f14=0x0),_0x2d3f14>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x457956=new _0x59f061['CommentsV2AddCommentMessage']();if(null!=_0x5c7ac1['commentThreadId']&&(_0x457956['commentThreadId']=String(_0x5c7ac1['commentThreadId'])),null!=_0x5c7ac1['content']&&(_0x457956['content']=String(_0x5c7ac1['content'])),null!=_0x5c7ac1['documentId']&&(_0x457956['documentId']=String(_0x5c7ac1['documentId'])),null!=_0x5c7ac1['commentId']&&(_0x457956['commentId']=String(_0x5c7ac1['commentId'])),null!=_0x5c7ac1['createdAt']&&(_0x457956['createdAt']=String(_0x5c7ac1['createdAt'])),null!=_0x5c7ac1['userId']&&(_0x457956['userId']=String(_0x5c7ac1['userId'])),null!=_0x5c7ac1['attributes']&&(_0x457956['attributes']=String(_0x5c7ac1['attributes'])),null!=_0x5c7ac1['commentThread']){if('object'!=typeof _0x5c7ac1['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x457956['commentThread']=_0x59f061['CommentsThreadDescriptor']['fromObject'](_0x5c7ac1['commentThread'],_0x2d3f14+0x1);}return _0x457956;},_0x18b9d6['toObject']=function(_0x570886,_0x4cd598){_0x4cd598||(_0x4cd598={});var _0xaeaaa1={};return _0x4cd598['defaults']&&(_0xaeaaa1['commentThreadId']='',_0xaeaaa1['content']='',_0xaeaaa1['documentId']='',_0xaeaaa1['commentId']='',_0xaeaaa1['createdAt']='',_0xaeaaa1['userId']='',_0xaeaaa1['attributes']='',_0xaeaaa1['commentThread']=null),null!=_0x570886['commentThreadId']&&_0x570886['hasOwnProperty']('commentThreadId')&&(_0xaeaaa1['commentThreadId']=_0x570886['commentThreadId']),null!=_0x570886['content']&&_0x570886['hasOwnProperty']('content')&&(_0xaeaaa1['content']=_0x570886['content']),null!=_0x570886['documentId']&&_0x570886['hasOwnProperty']('documentId')&&(_0xaeaaa1['documentId']=_0x570886['documentId']),null!=_0x570886['commentId']&&_0x570886['hasOwnProperty']('commentId')&&(_0xaeaaa1['commentId']=_0x570886['commentId']),null!=_0x570886['createdAt']&&_0x570886['hasOwnProperty']('createdAt')&&(_0xaeaaa1['createdAt']=_0x570886['createdAt']),null!=_0x570886['userId']&&_0x570886['hasOwnProperty']('userId')&&(_0xaeaaa1['userId']=_0x570886['userId']),null!=_0x570886['attributes']&&_0x570886['hasOwnProperty']('attributes')&&(_0xaeaaa1['attributes']=_0x570886['attributes']),null!=_0x570886['commentThread']&&_0x570886['hasOwnProperty']('commentThread')&&(_0xaeaaa1['commentThread']=_0x59f061['CommentsThreadDescriptor']['toObject'](_0x570886['commentThread'],_0x4cd598)),_0xaeaaa1;},_0x18b9d6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x18b9d6['getTypeUrl']=function(_0x1baa32){return void 0x0===_0x1baa32&&(_0x1baa32='type.googleapis.com'),_0x1baa32+'/CommentsV2AddCommentMessage';},_0x18b9d6;}()),_0x59f061['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x264b8a(_0x3ae251){if(_0x3ae251){for(var _0x162f63=Object['keys'](_0x3ae251),_0x3d9405=0x0;_0x3d9405<_0x162f63['length'];++_0x3d9405)null!=_0x3ae251[_0x162f63[_0x3d9405]]&&'__proto__'!==_0x162f63[_0x3d9405]&&(this[_0x162f63[_0x3d9405]]=_0x3ae251[_0x162f63[_0x3d9405]]);}}return _0x264b8a['prototype']['commentThreadId']='',_0x264b8a['prototype']['documentId']='',_0x264b8a['prototype']['context']='',_0x264b8a['prototype']['attributes']='',_0x264b8a['prototype']['unlinkedAt']='',_0x264b8a['create']=function(_0x101865){return new _0x264b8a(_0x101865);},_0x264b8a['encode']=function(_0x58b768,_0x191840){return _0x191840||(_0x191840=_0x5cad89['create']()),null!=_0x58b768['commentThreadId']&&Object['hasOwnProperty']['call'](_0x58b768,'commentThreadId')&&_0x191840['uint32'](0xa)['string'](_0x58b768['commentThreadId']),null!=_0x58b768['documentId']&&Object['hasOwnProperty']['call'](_0x58b768,'documentId')&&_0x191840['uint32'](0x12)['string'](_0x58b768['documentId']),null!=_0x58b768['context']&&Object['hasOwnProperty']['call'](_0x58b768,'context')&&_0x191840['uint32'](0x1a)['string'](_0x58b768['context']),null!=_0x58b768['attributes']&&Object['hasOwnProperty']['call'](_0x58b768,'attributes')&&_0x191840['uint32'](0x22)['string'](_0x58b768['attributes']),null!=_0x58b768['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x58b768,'unlinkedAt')&&_0x191840['uint32'](0x2a)['string'](_0x58b768['unlinkedAt']),_0x191840;},_0x264b8a['encodeDelimited']=function(_0x3ba257,_0x32e9ee){return this['encode'](_0x3ba257,_0x32e9ee)['ldelim']();},_0x264b8a['decode']=function(_0x42ba4f,_0x42082b,_0x5b3596,_0x30fbc8){if(_0x42ba4f instanceof _0x15a427||(_0x42ba4f=_0x15a427['create'](_0x42ba4f)),void 0x0===_0x30fbc8&&(_0x30fbc8=0x0),_0x30fbc8>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x325ad2=void 0x0===_0x42082b?_0x42ba4f['len']:_0x42ba4f['pos']+_0x42082b,_0x549593=new _0x59f061['CommentsV2UpdateCommentThreadMessage']();_0x42ba4f['pos']<_0x325ad2;){var _0x3eac6d=_0x42ba4f['uint32']();if(_0x3eac6d===_0x5b3596)break;switch(_0x3eac6d>>>0x3){case 0x1:_0x549593['commentThreadId']=_0x42ba4f['string']();break;case 0x2:_0x549593['documentId']=_0x42ba4f['string']();break;case 0x3:_0x549593['context']=_0x42ba4f['string']();break;case 0x4:_0x549593['attributes']=_0x42ba4f['string']();break;case 0x5:_0x549593['unlinkedAt']=_0x42ba4f['string']();break;default:_0x42ba4f['skipType'](0x7&_0x3eac6d,_0x30fbc8);}}return _0x549593;},_0x264b8a['decodeDelimited']=function(_0x1a3742){return _0x1a3742 instanceof _0x15a427||(_0x1a3742=new _0x15a427(_0x1a3742)),this['decode'](_0x1a3742,_0x1a3742['uint32']());},_0x264b8a['verify']=function(_0x56a6fb,_0x1bc990){return'object'!=typeof _0x56a6fb||null===_0x56a6fb?'object\x20expected':(void 0x0===_0x1bc990&&(_0x1bc990=0x0),_0x1bc990>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x56a6fb['commentThreadId']&&_0x56a6fb['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x56a6fb['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x56a6fb['documentId']&&_0x56a6fb['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x56a6fb['documentId'])?'documentId:\x20string\x20expected':null!=_0x56a6fb['context']&&_0x56a6fb['hasOwnProperty']('context')&&!_0x6b5d1['isString'](_0x56a6fb['context'])?'context:\x20string\x20expected':null!=_0x56a6fb['attributes']&&_0x56a6fb['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x56a6fb['attributes'])?'attributes:\x20string\x20expected':null!=_0x56a6fb['unlinkedAt']&&_0x56a6fb['hasOwnProperty']('unlinkedAt')&&!_0x6b5d1['isString'](_0x56a6fb['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x264b8a['fromObject']=function(_0x95f1dc,_0x285e0d){if(_0x95f1dc instanceof _0x59f061['CommentsV2UpdateCommentThreadMessage'])return _0x95f1dc;if(void 0x0===_0x285e0d&&(_0x285e0d=0x0),_0x285e0d>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34408f=new _0x59f061['CommentsV2UpdateCommentThreadMessage']();return null!=_0x95f1dc['commentThreadId']&&(_0x34408f['commentThreadId']=String(_0x95f1dc['commentThreadId'])),null!=_0x95f1dc['documentId']&&(_0x34408f['documentId']=String(_0x95f1dc['documentId'])),null!=_0x95f1dc['context']&&(_0x34408f['context']=String(_0x95f1dc['context'])),null!=_0x95f1dc['attributes']&&(_0x34408f['attributes']=String(_0x95f1dc['attributes'])),null!=_0x95f1dc['unlinkedAt']&&(_0x34408f['unlinkedAt']=String(_0x95f1dc['unlinkedAt'])),_0x34408f;},_0x264b8a['toObject']=function(_0x1043b9,_0x31ce6b){_0x31ce6b||(_0x31ce6b={});var _0x24807f={};return _0x31ce6b['defaults']&&(_0x24807f['commentThreadId']='',_0x24807f['documentId']='',_0x24807f['context']='',_0x24807f['attributes']='',_0x24807f['unlinkedAt']=''),null!=_0x1043b9['commentThreadId']&&_0x1043b9['hasOwnProperty']('commentThreadId')&&(_0x24807f['commentThreadId']=_0x1043b9['commentThreadId']),null!=_0x1043b9['documentId']&&_0x1043b9['hasOwnProperty']('documentId')&&(_0x24807f['documentId']=_0x1043b9['documentId']),null!=_0x1043b9['context']&&_0x1043b9['hasOwnProperty']('context')&&(_0x24807f['context']=_0x1043b9['context']),null!=_0x1043b9['attributes']&&_0x1043b9['hasOwnProperty']('attributes')&&(_0x24807f['attributes']=_0x1043b9['attributes']),null!=_0x1043b9['unlinkedAt']&&_0x1043b9['hasOwnProperty']('unlinkedAt')&&(_0x24807f['unlinkedAt']=_0x1043b9['unlinkedAt']),_0x24807f;},_0x264b8a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x264b8a['getTypeUrl']=function(_0x32d65f){return void 0x0===_0x32d65f&&(_0x32d65f='type.googleapis.com'),_0x32d65f+'/CommentsV2UpdateCommentThreadMessage';},_0x264b8a;}()),_0x59f061['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x37c657(_0x460ea9){if(_0x460ea9){for(var _0x474f87=Object['keys'](_0x460ea9),_0x1a6500=0x0;_0x1a6500<_0x474f87['length'];++_0x1a6500)null!=_0x460ea9[_0x474f87[_0x1a6500]]&&'__proto__'!==_0x474f87[_0x1a6500]&&(this[_0x474f87[_0x1a6500]]=_0x460ea9[_0x474f87[_0x1a6500]]);}}return _0x37c657['prototype']['commentThreadId']='',_0x37c657['prototype']['documentId']='',_0x37c657['prototype']['resolvedBy']='',_0x37c657['prototype']['resolvedAt']='',_0x37c657['create']=function(_0x5ad7f2){return new _0x37c657(_0x5ad7f2);},_0x37c657['encode']=function(_0x263c9f,_0x5d20fc){return _0x5d20fc||(_0x5d20fc=_0x5cad89['create']()),null!=_0x263c9f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x263c9f,'commentThreadId')&&_0x5d20fc['uint32'](0xa)['string'](_0x263c9f['commentThreadId']),null!=_0x263c9f['documentId']&&Object['hasOwnProperty']['call'](_0x263c9f,'documentId')&&_0x5d20fc['uint32'](0x12)['string'](_0x263c9f['documentId']),null!=_0x263c9f['resolvedBy']&&Object['hasOwnProperty']['call'](_0x263c9f,'resolvedBy')&&_0x5d20fc['uint32'](0x1a)['string'](_0x263c9f['resolvedBy']),null!=_0x263c9f['resolvedAt']&&Object['hasOwnProperty']['call'](_0x263c9f,'resolvedAt')&&_0x5d20fc['uint32'](0x22)['string'](_0x263c9f['resolvedAt']),_0x5d20fc;},_0x37c657['encodeDelimited']=function(_0x448ad9,_0x4210ac){return this['encode'](_0x448ad9,_0x4210ac)['ldelim']();},_0x37c657['decode']=function(_0x34bc7e,_0x515b04,_0x8a1af1,_0xd834c1){if(_0x34bc7e instanceof _0x15a427||(_0x34bc7e=_0x15a427['create'](_0x34bc7e)),void 0x0===_0xd834c1&&(_0xd834c1=0x0),_0xd834c1>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x831c5e=void 0x0===_0x515b04?_0x34bc7e['len']:_0x34bc7e['pos']+_0x515b04,_0x4d94ed=new _0x59f061['CommentsV2ResolveCommentThreadMessage']();_0x34bc7e['pos']<_0x831c5e;){var _0xc742bd=_0x34bc7e['uint32']();if(_0xc742bd===_0x8a1af1)break;switch(_0xc742bd>>>0x3){case 0x1:_0x4d94ed['commentThreadId']=_0x34bc7e['string']();break;case 0x2:_0x4d94ed['documentId']=_0x34bc7e['string']();break;case 0x3:_0x4d94ed['resolvedBy']=_0x34bc7e['string']();break;case 0x4:_0x4d94ed['resolvedAt']=_0x34bc7e['string']();break;default:_0x34bc7e['skipType'](0x7&_0xc742bd,_0xd834c1);}}return _0x4d94ed;},_0x37c657['decodeDelimited']=function(_0xb22f62){return _0xb22f62 instanceof _0x15a427||(_0xb22f62=new _0x15a427(_0xb22f62)),this['decode'](_0xb22f62,_0xb22f62['uint32']());},_0x37c657['verify']=function(_0x1ec465,_0x146696){return'object'!=typeof _0x1ec465||null===_0x1ec465?'object\x20expected':(void 0x0===_0x146696&&(_0x146696=0x0),_0x146696>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1ec465['commentThreadId']&&_0x1ec465['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x1ec465['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1ec465['documentId']&&_0x1ec465['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x1ec465['documentId'])?'documentId:\x20string\x20expected':null!=_0x1ec465['resolvedBy']&&_0x1ec465['hasOwnProperty']('resolvedBy')&&!_0x6b5d1['isString'](_0x1ec465['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x1ec465['resolvedAt']&&_0x1ec465['hasOwnProperty']('resolvedAt')&&!_0x6b5d1['isString'](_0x1ec465['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x37c657['fromObject']=function(_0x41074c,_0x880f9d){if(_0x41074c instanceof _0x59f061['CommentsV2ResolveCommentThreadMessage'])return _0x41074c;if(void 0x0===_0x880f9d&&(_0x880f9d=0x0),_0x880f9d>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5da957=new _0x59f061['CommentsV2ResolveCommentThreadMessage']();return null!=_0x41074c['commentThreadId']&&(_0x5da957['commentThreadId']=String(_0x41074c['commentThreadId'])),null!=_0x41074c['documentId']&&(_0x5da957['documentId']=String(_0x41074c['documentId'])),null!=_0x41074c['resolvedBy']&&(_0x5da957['resolvedBy']=String(_0x41074c['resolvedBy'])),null!=_0x41074c['resolvedAt']&&(_0x5da957['resolvedAt']=String(_0x41074c['resolvedAt'])),_0x5da957;},_0x37c657['toObject']=function(_0xafb019,_0x38dc1c){_0x38dc1c||(_0x38dc1c={});var _0x222b88={};return _0x38dc1c['defaults']&&(_0x222b88['commentThreadId']='',_0x222b88['documentId']='',_0x222b88['resolvedBy']='',_0x222b88['resolvedAt']=''),null!=_0xafb019['commentThreadId']&&_0xafb019['hasOwnProperty']('commentThreadId')&&(_0x222b88['commentThreadId']=_0xafb019['commentThreadId']),null!=_0xafb019['documentId']&&_0xafb019['hasOwnProperty']('documentId')&&(_0x222b88['documentId']=_0xafb019['documentId']),null!=_0xafb019['resolvedBy']&&_0xafb019['hasOwnProperty']('resolvedBy')&&(_0x222b88['resolvedBy']=_0xafb019['resolvedBy']),null!=_0xafb019['resolvedAt']&&_0xafb019['hasOwnProperty']('resolvedAt')&&(_0x222b88['resolvedAt']=_0xafb019['resolvedAt']),_0x222b88;},_0x37c657['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x37c657['getTypeUrl']=function(_0x18e65d){return void 0x0===_0x18e65d&&(_0x18e65d='type.googleapis.com'),_0x18e65d+'/CommentsV2ResolveCommentThreadMessage';},_0x37c657;}()),_0x59f061['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x4741c9(_0x31edbc){if(_0x31edbc){for(var _0x51ab14=Object['keys'](_0x31edbc),_0x5cde24=0x0;_0x5cde24<_0x51ab14['length'];++_0x5cde24)null!=_0x31edbc[_0x51ab14[_0x5cde24]]&&'__proto__'!==_0x51ab14[_0x5cde24]&&(this[_0x51ab14[_0x5cde24]]=_0x31edbc[_0x51ab14[_0x5cde24]]);}}return _0x4741c9['prototype']['commentThreadId']='',_0x4741c9['prototype']['documentId']='',_0x4741c9['create']=function(_0x39a7e1){return new _0x4741c9(_0x39a7e1);},_0x4741c9['encode']=function(_0xb0bb90,_0x49ef23){return _0x49ef23||(_0x49ef23=_0x5cad89['create']()),null!=_0xb0bb90['commentThreadId']&&Object['hasOwnProperty']['call'](_0xb0bb90,'commentThreadId')&&_0x49ef23['uint32'](0xa)['string'](_0xb0bb90['commentThreadId']),null!=_0xb0bb90['documentId']&&Object['hasOwnProperty']['call'](_0xb0bb90,'documentId')&&_0x49ef23['uint32'](0x12)['string'](_0xb0bb90['documentId']),_0x49ef23;},_0x4741c9['encodeDelimited']=function(_0x3e2b3e,_0x144baf){return this['encode'](_0x3e2b3e,_0x144baf)['ldelim']();},_0x4741c9['decode']=function(_0x474675,_0x205956,_0x39e7bd,_0x38e98d){if(_0x474675 instanceof _0x15a427||(_0x474675=_0x15a427['create'](_0x474675)),void 0x0===_0x38e98d&&(_0x38e98d=0x0),_0x38e98d>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4bd50b=void 0x0===_0x205956?_0x474675['len']:_0x474675['pos']+_0x205956,_0x497f80=new _0x59f061['CommentsV2ReopenCommentThreadMessage']();_0x474675['pos']<_0x4bd50b;){var _0x58b4a1=_0x474675['uint32']();if(_0x58b4a1===_0x39e7bd)break;switch(_0x58b4a1>>>0x3){case 0x1:_0x497f80['commentThreadId']=_0x474675['string']();break;case 0x2:_0x497f80['documentId']=_0x474675['string']();break;default:_0x474675['skipType'](0x7&_0x58b4a1,_0x38e98d);}}return _0x497f80;},_0x4741c9['decodeDelimited']=function(_0x32f2ce){return _0x32f2ce instanceof _0x15a427||(_0x32f2ce=new _0x15a427(_0x32f2ce)),this['decode'](_0x32f2ce,_0x32f2ce['uint32']());},_0x4741c9['verify']=function(_0x4ca3ac,_0x5ae603){return'object'!=typeof _0x4ca3ac||null===_0x4ca3ac?'object\x20expected':(void 0x0===_0x5ae603&&(_0x5ae603=0x0),_0x5ae603>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ca3ac['commentThreadId']&&_0x4ca3ac['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x4ca3ac['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4ca3ac['documentId']&&_0x4ca3ac['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x4ca3ac['documentId'])?'documentId:\x20string\x20expected':null);},_0x4741c9['fromObject']=function(_0xfd17bc,_0x30eb3a){if(_0xfd17bc instanceof _0x59f061['CommentsV2ReopenCommentThreadMessage'])return _0xfd17bc;if(void 0x0===_0x30eb3a&&(_0x30eb3a=0x0),_0x30eb3a>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5d2c8d=new _0x59f061['CommentsV2ReopenCommentThreadMessage']();return null!=_0xfd17bc['commentThreadId']&&(_0x5d2c8d['commentThreadId']=String(_0xfd17bc['commentThreadId'])),null!=_0xfd17bc['documentId']&&(_0x5d2c8d['documentId']=String(_0xfd17bc['documentId'])),_0x5d2c8d;},_0x4741c9['toObject']=function(_0xffcee8,_0x291fef){_0x291fef||(_0x291fef={});var _0x2a295f={};return _0x291fef['defaults']&&(_0x2a295f['commentThreadId']='',_0x2a295f['documentId']=''),null!=_0xffcee8['commentThreadId']&&_0xffcee8['hasOwnProperty']('commentThreadId')&&(_0x2a295f['commentThreadId']=_0xffcee8['commentThreadId']),null!=_0xffcee8['documentId']&&_0xffcee8['hasOwnProperty']('documentId')&&(_0x2a295f['documentId']=_0xffcee8['documentId']),_0x2a295f;},_0x4741c9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4741c9['getTypeUrl']=function(_0x1ae3a0){return void 0x0===_0x1ae3a0&&(_0x1ae3a0='type.googleapis.com'),_0x1ae3a0+'/CommentsV2ReopenCommentThreadMessage';},_0x4741c9;}()),_0x59f061['CommentsV2AddCommentThreadMessage']=(function(){function _0x214bfd(_0xc03f37){if(this['comments']=[],_0xc03f37){for(var _0x483555=Object['keys'](_0xc03f37),_0x2215ca=0x0;_0x2215ca<_0x483555['length'];++_0x2215ca)null!=_0xc03f37[_0x483555[_0x2215ca]]&&'__proto__'!==_0x483555[_0x2215ca]&&(this[_0x483555[_0x2215ca]]=_0xc03f37[_0x483555[_0x2215ca]]);}}return _0x214bfd['prototype']['documentId']='',_0x214bfd['prototype']['commentThreadId']='',_0x214bfd['prototype']['context']='',_0x214bfd['prototype']['createdAt']='',_0x214bfd['prototype']['resolvedAt']='',_0x214bfd['prototype']['resolvedBy']='',_0x214bfd['prototype']['attributes']='',_0x214bfd['prototype']['deletedAt']='',_0x214bfd['prototype']['comments']=_0x6b5d1['emptyArray'],_0x214bfd['create']=function(_0x371989){return new _0x214bfd(_0x371989);},_0x214bfd['encode']=function(_0x343467,_0x196186){if(_0x196186||(_0x196186=_0x5cad89['create']()),null!=_0x343467['documentId']&&Object['hasOwnProperty']['call'](_0x343467,'documentId')&&_0x196186['uint32'](0xa)['string'](_0x343467['documentId']),null!=_0x343467['commentThreadId']&&Object['hasOwnProperty']['call'](_0x343467,'commentThreadId')&&_0x196186['uint32'](0x12)['string'](_0x343467['commentThreadId']),null!=_0x343467['context']&&Object['hasOwnProperty']['call'](_0x343467,'context')&&_0x196186['uint32'](0x1a)['string'](_0x343467['context']),null!=_0x343467['createdAt']&&Object['hasOwnProperty']['call'](_0x343467,'createdAt')&&_0x196186['uint32'](0x22)['string'](_0x343467['createdAt']),null!=_0x343467['resolvedAt']&&Object['hasOwnProperty']['call'](_0x343467,'resolvedAt')&&_0x196186['uint32'](0x2a)['string'](_0x343467['resolvedAt']),null!=_0x343467['resolvedBy']&&Object['hasOwnProperty']['call'](_0x343467,'resolvedBy')&&_0x196186['uint32'](0x32)['string'](_0x343467['resolvedBy']),null!=_0x343467['attributes']&&Object['hasOwnProperty']['call'](_0x343467,'attributes')&&_0x196186['uint32'](0x3a)['string'](_0x343467['attributes']),null!=_0x343467['deletedAt']&&Object['hasOwnProperty']['call'](_0x343467,'deletedAt')&&_0x196186['uint32'](0x42)['string'](_0x343467['deletedAt']),null!=_0x343467['comments']&&_0x343467['comments']['length']){for(var _0x98ed8f=0x0;_0x98ed8f<_0x343467['comments']['length'];++_0x98ed8f)_0x59f061['CommentDescriptor']['encode'](_0x343467['comments'][_0x98ed8f],_0x196186['uint32'](0x4a)['fork']())['ldelim']();}return _0x196186;},_0x214bfd['encodeDelimited']=function(_0x3b546e,_0x16b934){return this['encode'](_0x3b546e,_0x16b934)['ldelim']();},_0x214bfd['decode']=function(_0x31a050,_0xfa3c8e,_0x28b4e3,_0x240e40){if(_0x31a050 instanceof _0x15a427||(_0x31a050=_0x15a427['create'](_0x31a050)),void 0x0===_0x240e40&&(_0x240e40=0x0),_0x240e40>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x10b8ae=void 0x0===_0xfa3c8e?_0x31a050['len']:_0x31a050['pos']+_0xfa3c8e,_0xccc00f=new _0x59f061['CommentsV2AddCommentThreadMessage']();_0x31a050['pos']<_0x10b8ae;){var _0x4bd1fa=_0x31a050['uint32']();if(_0x4bd1fa===_0x28b4e3)break;switch(_0x4bd1fa>>>0x3){case 0x1:_0xccc00f['documentId']=_0x31a050['string']();break;case 0x2:_0xccc00f['commentThreadId']=_0x31a050['string']();break;case 0x3:_0xccc00f['context']=_0x31a050['string']();break;case 0x4:_0xccc00f['createdAt']=_0x31a050['string']();break;case 0x5:_0xccc00f['resolvedAt']=_0x31a050['string']();break;case 0x6:_0xccc00f['resolvedBy']=_0x31a050['string']();break;case 0x7:_0xccc00f['attributes']=_0x31a050['string']();break;case 0x8:_0xccc00f['deletedAt']=_0x31a050['string']();break;case 0x9:_0xccc00f['comments']&&_0xccc00f['comments']['length']||(_0xccc00f['comments']=[]),_0xccc00f['comments']['push'](_0x59f061['CommentDescriptor']['decode'](_0x31a050,_0x31a050['uint32'](),void 0x0,_0x240e40+0x1));break;default:_0x31a050['skipType'](0x7&_0x4bd1fa,_0x240e40);}}return _0xccc00f;},_0x214bfd['decodeDelimited']=function(_0x3b1a36){return _0x3b1a36 instanceof _0x15a427||(_0x3b1a36=new _0x15a427(_0x3b1a36)),this['decode'](_0x3b1a36,_0x3b1a36['uint32']());},_0x214bfd['verify']=function(_0x8204bf,_0x1308d4){if('object'!=typeof _0x8204bf||null===_0x8204bf)return'object\x20expected';if(void 0x0===_0x1308d4&&(_0x1308d4=0x0),_0x1308d4>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x8204bf['documentId']&&_0x8204bf['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x8204bf['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x8204bf['commentThreadId']&&_0x8204bf['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x8204bf['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x8204bf['context']&&_0x8204bf['hasOwnProperty']('context')&&!_0x6b5d1['isString'](_0x8204bf['context']))return'context:\x20string\x20expected';if(null!=_0x8204bf['createdAt']&&_0x8204bf['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x8204bf['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x8204bf['resolvedAt']&&_0x8204bf['hasOwnProperty']('resolvedAt')&&!_0x6b5d1['isString'](_0x8204bf['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x8204bf['resolvedBy']&&_0x8204bf['hasOwnProperty']('resolvedBy')&&!_0x6b5d1['isString'](_0x8204bf['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x8204bf['attributes']&&_0x8204bf['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x8204bf['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x8204bf['deletedAt']&&_0x8204bf['hasOwnProperty']('deletedAt')&&!_0x6b5d1['isString'](_0x8204bf['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x8204bf['comments']&&_0x8204bf['hasOwnProperty']('comments')){if(!Array['isArray'](_0x8204bf['comments']))return'comments:\x20array\x20expected';for(var _0x592676=0x0;_0x592676<_0x8204bf['comments']['length'];++_0x592676){var _0xea158e=_0x59f061['CommentDescriptor']['verify'](_0x8204bf['comments'][_0x592676],_0x1308d4+0x1);if(_0xea158e)return'comments.'+_0xea158e;}}return null;},_0x214bfd['fromObject']=function(_0x4b24f9,_0x316abb){if(_0x4b24f9 instanceof _0x59f061['CommentsV2AddCommentThreadMessage'])return _0x4b24f9;if(void 0x0===_0x316abb&&(_0x316abb=0x0),_0x316abb>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x170a84=new _0x59f061['CommentsV2AddCommentThreadMessage']();if(null!=_0x4b24f9['documentId']&&(_0x170a84['documentId']=String(_0x4b24f9['documentId'])),null!=_0x4b24f9['commentThreadId']&&(_0x170a84['commentThreadId']=String(_0x4b24f9['commentThreadId'])),null!=_0x4b24f9['context']&&(_0x170a84['context']=String(_0x4b24f9['context'])),null!=_0x4b24f9['createdAt']&&(_0x170a84['createdAt']=String(_0x4b24f9['createdAt'])),null!=_0x4b24f9['resolvedAt']&&(_0x170a84['resolvedAt']=String(_0x4b24f9['resolvedAt'])),null!=_0x4b24f9['resolvedBy']&&(_0x170a84['resolvedBy']=String(_0x4b24f9['resolvedBy'])),null!=_0x4b24f9['attributes']&&(_0x170a84['attributes']=String(_0x4b24f9['attributes'])),null!=_0x4b24f9['deletedAt']&&(_0x170a84['deletedAt']=String(_0x4b24f9['deletedAt'])),_0x4b24f9['comments']){if(!Array['isArray'](_0x4b24f9['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x170a84['comments']=[];for(var _0xa4c76f=0x0;_0xa4c76f<_0x4b24f9['comments']['length'];++_0xa4c76f){if('object'!=typeof _0x4b24f9['comments'][_0xa4c76f])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x170a84['comments'][_0xa4c76f]=_0x59f061['CommentDescriptor']['fromObject'](_0x4b24f9['comments'][_0xa4c76f],_0x316abb+0x1);}}return _0x170a84;},_0x214bfd['toObject']=function(_0x3bf535,_0x502468){_0x502468||(_0x502468={});var _0x5bc01b={};if((_0x502468['arrays']||_0x502468['defaults'])&&(_0x5bc01b['comments']=[]),_0x502468['defaults']&&(_0x5bc01b['documentId']='',_0x5bc01b['commentThreadId']='',_0x5bc01b['context']='',_0x5bc01b['createdAt']='',_0x5bc01b['resolvedAt']='',_0x5bc01b['resolvedBy']='',_0x5bc01b['attributes']='',_0x5bc01b['deletedAt']=''),null!=_0x3bf535['documentId']&&_0x3bf535['hasOwnProperty']('documentId')&&(_0x5bc01b['documentId']=_0x3bf535['documentId']),null!=_0x3bf535['commentThreadId']&&_0x3bf535['hasOwnProperty']('commentThreadId')&&(_0x5bc01b['commentThreadId']=_0x3bf535['commentThreadId']),null!=_0x3bf535['context']&&_0x3bf535['hasOwnProperty']('context')&&(_0x5bc01b['context']=_0x3bf535['context']),null!=_0x3bf535['createdAt']&&_0x3bf535['hasOwnProperty']('createdAt')&&(_0x5bc01b['createdAt']=_0x3bf535['createdAt']),null!=_0x3bf535['resolvedAt']&&_0x3bf535['hasOwnProperty']('resolvedAt')&&(_0x5bc01b['resolvedAt']=_0x3bf535['resolvedAt']),null!=_0x3bf535['resolvedBy']&&_0x3bf535['hasOwnProperty']('resolvedBy')&&(_0x5bc01b['resolvedBy']=_0x3bf535['resolvedBy']),null!=_0x3bf535['attributes']&&_0x3bf535['hasOwnProperty']('attributes')&&(_0x5bc01b['attributes']=_0x3bf535['attributes']),null!=_0x3bf535['deletedAt']&&_0x3bf535['hasOwnProperty']('deletedAt')&&(_0x5bc01b['deletedAt']=_0x3bf535['deletedAt']),_0x3bf535['comments']&&_0x3bf535['comments']['length']){_0x5bc01b['comments']=[];for(var _0x151b59=0x0;_0x151b59<_0x3bf535['comments']['length'];++_0x151b59)_0x5bc01b['comments'][_0x151b59]=_0x59f061['CommentDescriptor']['toObject'](_0x3bf535['comments'][_0x151b59],_0x502468);}return _0x5bc01b;},_0x214bfd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x214bfd['getTypeUrl']=function(_0x1b2efa){return void 0x0===_0x1b2efa&&(_0x1b2efa='type.googleapis.com'),_0x1b2efa+'/CommentsV2AddCommentThreadMessage';},_0x214bfd;}()),_0x59f061['CommentThreadAddedCommentDescriptor']=(function(){function _0x109d3d(_0x499bdd){if(_0x499bdd){for(var _0x4ad51b=Object['keys'](_0x499bdd),_0x17191b=0x0;_0x17191b<_0x4ad51b['length'];++_0x17191b)null!=_0x499bdd[_0x4ad51b[_0x17191b]]&&'__proto__'!==_0x4ad51b[_0x17191b]&&(this[_0x4ad51b[_0x17191b]]=_0x499bdd[_0x4ad51b[_0x17191b]]);}}return _0x109d3d['prototype']['commentId']='',_0x109d3d['prototype']['createdAt']='',_0x109d3d['create']=function(_0x213cb5){return new _0x109d3d(_0x213cb5);},_0x109d3d['encode']=function(_0x4a136c,_0x11c465){return _0x11c465||(_0x11c465=_0x5cad89['create']()),null!=_0x4a136c['commentId']&&Object['hasOwnProperty']['call'](_0x4a136c,'commentId')&&_0x11c465['uint32'](0xa)['string'](_0x4a136c['commentId']),null!=_0x4a136c['createdAt']&&Object['hasOwnProperty']['call'](_0x4a136c,'createdAt')&&_0x11c465['uint32'](0x12)['string'](_0x4a136c['createdAt']),_0x11c465;},_0x109d3d['encodeDelimited']=function(_0x406a4e,_0x239da1){return this['encode'](_0x406a4e,_0x239da1)['ldelim']();},_0x109d3d['decode']=function(_0x1a71cd,_0x25e676,_0x18ecfa,_0x3ee917){if(_0x1a71cd instanceof _0x15a427||(_0x1a71cd=_0x15a427['create'](_0x1a71cd)),void 0x0===_0x3ee917&&(_0x3ee917=0x0),_0x3ee917>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2fdcff=void 0x0===_0x25e676?_0x1a71cd['len']:_0x1a71cd['pos']+_0x25e676,_0x48d1e5=new _0x59f061['CommentThreadAddedCommentDescriptor']();_0x1a71cd['pos']<_0x2fdcff;){var _0x28b08c=_0x1a71cd['uint32']();if(_0x28b08c===_0x18ecfa)break;switch(_0x28b08c>>>0x3){case 0x1:_0x48d1e5['commentId']=_0x1a71cd['string']();break;case 0x2:_0x48d1e5['createdAt']=_0x1a71cd['string']();break;default:_0x1a71cd['skipType'](0x7&_0x28b08c,_0x3ee917);}}return _0x48d1e5;},_0x109d3d['decodeDelimited']=function(_0x5944c0){return _0x5944c0 instanceof _0x15a427||(_0x5944c0=new _0x15a427(_0x5944c0)),this['decode'](_0x5944c0,_0x5944c0['uint32']());},_0x109d3d['verify']=function(_0x331e61,_0x135560){return'object'!=typeof _0x331e61||null===_0x331e61?'object\x20expected':(void 0x0===_0x135560&&(_0x135560=0x0),_0x135560>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x331e61['commentId']&&_0x331e61['hasOwnProperty']('commentId')&&!_0x6b5d1['isString'](_0x331e61['commentId'])?'commentId:\x20string\x20expected':null!=_0x331e61['createdAt']&&_0x331e61['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x331e61['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x109d3d['fromObject']=function(_0x5918f4,_0x5ebec4){if(_0x5918f4 instanceof _0x59f061['CommentThreadAddedCommentDescriptor'])return _0x5918f4;if(void 0x0===_0x5ebec4&&(_0x5ebec4=0x0),_0x5ebec4>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x335980=new _0x59f061['CommentThreadAddedCommentDescriptor']();return null!=_0x5918f4['commentId']&&(_0x335980['commentId']=String(_0x5918f4['commentId'])),null!=_0x5918f4['createdAt']&&(_0x335980['createdAt']=String(_0x5918f4['createdAt'])),_0x335980;},_0x109d3d['toObject']=function(_0x360b8d,_0x2518d8){_0x2518d8||(_0x2518d8={});var _0x5c6516={};return _0x2518d8['defaults']&&(_0x5c6516['commentId']='',_0x5c6516['createdAt']=''),null!=_0x360b8d['commentId']&&_0x360b8d['hasOwnProperty']('commentId')&&(_0x5c6516['commentId']=_0x360b8d['commentId']),null!=_0x360b8d['createdAt']&&_0x360b8d['hasOwnProperty']('createdAt')&&(_0x5c6516['createdAt']=_0x360b8d['createdAt']),_0x5c6516;},_0x109d3d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x109d3d['getTypeUrl']=function(_0x833e88){return void 0x0===_0x833e88&&(_0x833e88='type.googleapis.com'),_0x833e88+'/CommentThreadAddedCommentDescriptor';},_0x109d3d;}()),_0x59f061['CommentsThreadDescriptor']=(function(){function _0x174d58(_0x1aff7a){if(this['comments']=[],_0x1aff7a){for(var _0x1a9204=Object['keys'](_0x1aff7a),_0x2be10a=0x0;_0x2be10a<_0x1a9204['length'];++_0x2be10a)null!=_0x1aff7a[_0x1a9204[_0x2be10a]]&&'__proto__'!==_0x1a9204[_0x2be10a]&&(this[_0x1a9204[_0x2be10a]]=_0x1aff7a[_0x1a9204[_0x2be10a]]);}}return _0x174d58['prototype']['commentThreadId']='',_0x174d58['prototype']['comments']=_0x6b5d1['emptyArray'],_0x174d58['prototype']['resolvedAt']='',_0x174d58['prototype']['resolvedBy']='',_0x174d58['prototype']['context']='',_0x174d58['prototype']['createdAt']='',_0x174d58['prototype']['deletedAt']='',_0x174d58['prototype']['attributes']='',_0x174d58['prototype']['unlinkedAt']='',_0x174d58['create']=function(_0x5aa963){return new _0x174d58(_0x5aa963);},_0x174d58['encode']=function(_0x8c9c3d,_0x4587ef){if(_0x4587ef||(_0x4587ef=_0x5cad89['create']()),null!=_0x8c9c3d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'commentThreadId')&&_0x4587ef['uint32'](0xa)['string'](_0x8c9c3d['commentThreadId']),null!=_0x8c9c3d['comments']&&_0x8c9c3d['comments']['length']){for(var _0x5c390a=0x0;_0x5c390a<_0x8c9c3d['comments']['length'];++_0x5c390a)_0x59f061['CommentDescriptor']['encode'](_0x8c9c3d['comments'][_0x5c390a],_0x4587ef['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x8c9c3d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'resolvedAt')&&_0x4587ef['uint32'](0x1a)['string'](_0x8c9c3d['resolvedAt']),null!=_0x8c9c3d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'resolvedBy')&&_0x4587ef['uint32'](0x22)['string'](_0x8c9c3d['resolvedBy']),null!=_0x8c9c3d['context']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'context')&&_0x4587ef['uint32'](0x2a)['string'](_0x8c9c3d['context']),null!=_0x8c9c3d['createdAt']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'createdAt')&&_0x4587ef['uint32'](0x32)['string'](_0x8c9c3d['createdAt']),null!=_0x8c9c3d['deletedAt']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'deletedAt')&&_0x4587ef['uint32'](0x3a)['string'](_0x8c9c3d['deletedAt']),null!=_0x8c9c3d['attributes']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'attributes')&&_0x4587ef['uint32'](0x42)['string'](_0x8c9c3d['attributes']),null!=_0x8c9c3d['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x8c9c3d,'unlinkedAt')&&_0x4587ef['uint32'](0x4a)['string'](_0x8c9c3d['unlinkedAt']),_0x4587ef;},_0x174d58['encodeDelimited']=function(_0x4827a7,_0x4dea1a){return this['encode'](_0x4827a7,_0x4dea1a)['ldelim']();},_0x174d58['decode']=function(_0x1215f9,_0x31e982,_0x2dcf7e,_0x4b54a2){if(_0x1215f9 instanceof _0x15a427||(_0x1215f9=_0x15a427['create'](_0x1215f9)),void 0x0===_0x4b54a2&&(_0x4b54a2=0x0),_0x4b54a2>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4a7428=void 0x0===_0x31e982?_0x1215f9['len']:_0x1215f9['pos']+_0x31e982,_0x23dda2=new _0x59f061['CommentsThreadDescriptor']();_0x1215f9['pos']<_0x4a7428;){var _0x134302=_0x1215f9['uint32']();if(_0x134302===_0x2dcf7e)break;switch(_0x134302>>>0x3){case 0x1:_0x23dda2['commentThreadId']=_0x1215f9['string']();break;case 0x2:_0x23dda2['comments']&&_0x23dda2['comments']['length']||(_0x23dda2['comments']=[]),_0x23dda2['comments']['push'](_0x59f061['CommentDescriptor']['decode'](_0x1215f9,_0x1215f9['uint32'](),void 0x0,_0x4b54a2+0x1));break;case 0x3:_0x23dda2['resolvedAt']=_0x1215f9['string']();break;case 0x4:_0x23dda2['resolvedBy']=_0x1215f9['string']();break;case 0x5:_0x23dda2['context']=_0x1215f9['string']();break;case 0x6:_0x23dda2['createdAt']=_0x1215f9['string']();break;case 0x7:_0x23dda2['deletedAt']=_0x1215f9['string']();break;case 0x8:_0x23dda2['attributes']=_0x1215f9['string']();break;case 0x9:_0x23dda2['unlinkedAt']=_0x1215f9['string']();break;default:_0x1215f9['skipType'](0x7&_0x134302,_0x4b54a2);}}return _0x23dda2;},_0x174d58['decodeDelimited']=function(_0x10724d){return _0x10724d instanceof _0x15a427||(_0x10724d=new _0x15a427(_0x10724d)),this['decode'](_0x10724d,_0x10724d['uint32']());},_0x174d58['verify']=function(_0x3361dd,_0x1074ef){if('object'!=typeof _0x3361dd||null===_0x3361dd)return'object\x20expected';if(void 0x0===_0x1074ef&&(_0x1074ef=0x0),_0x1074ef>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3361dd['commentThreadId']&&_0x3361dd['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x3361dd['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3361dd['comments']&&_0x3361dd['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3361dd['comments']))return'comments:\x20array\x20expected';for(var _0x34bcc9=0x0;_0x34bcc9<_0x3361dd['comments']['length'];++_0x34bcc9){var _0x5312fc=_0x59f061['CommentDescriptor']['verify'](_0x3361dd['comments'][_0x34bcc9],_0x1074ef+0x1);if(_0x5312fc)return'comments.'+_0x5312fc;}}return null!=_0x3361dd['resolvedAt']&&_0x3361dd['hasOwnProperty']('resolvedAt')&&!_0x6b5d1['isString'](_0x3361dd['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3361dd['resolvedBy']&&_0x3361dd['hasOwnProperty']('resolvedBy')&&!_0x6b5d1['isString'](_0x3361dd['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3361dd['context']&&_0x3361dd['hasOwnProperty']('context')&&!_0x6b5d1['isString'](_0x3361dd['context'])?'context:\x20string\x20expected':null!=_0x3361dd['createdAt']&&_0x3361dd['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x3361dd['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3361dd['deletedAt']&&_0x3361dd['hasOwnProperty']('deletedAt')&&!_0x6b5d1['isString'](_0x3361dd['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3361dd['attributes']&&_0x3361dd['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x3361dd['attributes'])?'attributes:\x20string\x20expected':null!=_0x3361dd['unlinkedAt']&&_0x3361dd['hasOwnProperty']('unlinkedAt')&&!_0x6b5d1['isString'](_0x3361dd['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x174d58['fromObject']=function(_0x419505,_0x5151f0){if(_0x419505 instanceof _0x59f061['CommentsThreadDescriptor'])return _0x419505;if(void 0x0===_0x5151f0&&(_0x5151f0=0x0),_0x5151f0>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x525b37=new _0x59f061['CommentsThreadDescriptor']();if(null!=_0x419505['commentThreadId']&&(_0x525b37['commentThreadId']=String(_0x419505['commentThreadId'])),_0x419505['comments']){if(!Array['isArray'](_0x419505['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x525b37['comments']=[];for(var _0x1303e3=0x0;_0x1303e3<_0x419505['comments']['length'];++_0x1303e3){if('object'!=typeof _0x419505['comments'][_0x1303e3])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x525b37['comments'][_0x1303e3]=_0x59f061['CommentDescriptor']['fromObject'](_0x419505['comments'][_0x1303e3],_0x5151f0+0x1);}}return null!=_0x419505['resolvedAt']&&(_0x525b37['resolvedAt']=String(_0x419505['resolvedAt'])),null!=_0x419505['resolvedBy']&&(_0x525b37['resolvedBy']=String(_0x419505['resolvedBy'])),null!=_0x419505['context']&&(_0x525b37['context']=String(_0x419505['context'])),null!=_0x419505['createdAt']&&(_0x525b37['createdAt']=String(_0x419505['createdAt'])),null!=_0x419505['deletedAt']&&(_0x525b37['deletedAt']=String(_0x419505['deletedAt'])),null!=_0x419505['attributes']&&(_0x525b37['attributes']=String(_0x419505['attributes'])),null!=_0x419505['unlinkedAt']&&(_0x525b37['unlinkedAt']=String(_0x419505['unlinkedAt'])),_0x525b37;},_0x174d58['toObject']=function(_0x402fdb,_0x37bd09){_0x37bd09||(_0x37bd09={});var _0x3ef5c5={};if((_0x37bd09['arrays']||_0x37bd09['defaults'])&&(_0x3ef5c5['comments']=[]),_0x37bd09['defaults']&&(_0x3ef5c5['commentThreadId']='',_0x3ef5c5['resolvedAt']='',_0x3ef5c5['resolvedBy']='',_0x3ef5c5['context']='',_0x3ef5c5['createdAt']='',_0x3ef5c5['deletedAt']='',_0x3ef5c5['attributes']='',_0x3ef5c5['unlinkedAt']=''),null!=_0x402fdb['commentThreadId']&&_0x402fdb['hasOwnProperty']('commentThreadId')&&(_0x3ef5c5['commentThreadId']=_0x402fdb['commentThreadId']),_0x402fdb['comments']&&_0x402fdb['comments']['length']){_0x3ef5c5['comments']=[];for(var _0x261357=0x0;_0x261357<_0x402fdb['comments']['length'];++_0x261357)_0x3ef5c5['comments'][_0x261357]=_0x59f061['CommentDescriptor']['toObject'](_0x402fdb['comments'][_0x261357],_0x37bd09);}return null!=_0x402fdb['resolvedAt']&&_0x402fdb['hasOwnProperty']('resolvedAt')&&(_0x3ef5c5['resolvedAt']=_0x402fdb['resolvedAt']),null!=_0x402fdb['resolvedBy']&&_0x402fdb['hasOwnProperty']('resolvedBy')&&(_0x3ef5c5['resolvedBy']=_0x402fdb['resolvedBy']),null!=_0x402fdb['context']&&_0x402fdb['hasOwnProperty']('context')&&(_0x3ef5c5['context']=_0x402fdb['context']),null!=_0x402fdb['createdAt']&&_0x402fdb['hasOwnProperty']('createdAt')&&(_0x3ef5c5['createdAt']=_0x402fdb['createdAt']),null!=_0x402fdb['deletedAt']&&_0x402fdb['hasOwnProperty']('deletedAt')&&(_0x3ef5c5['deletedAt']=_0x402fdb['deletedAt']),null!=_0x402fdb['attributes']&&_0x402fdb['hasOwnProperty']('attributes')&&(_0x3ef5c5['attributes']=_0x402fdb['attributes']),null!=_0x402fdb['unlinkedAt']&&_0x402fdb['hasOwnProperty']('unlinkedAt')&&(_0x3ef5c5['unlinkedAt']=_0x402fdb['unlinkedAt']),_0x3ef5c5;},_0x174d58['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x174d58['getTypeUrl']=function(_0x3f31da){return void 0x0===_0x3f31da&&(_0x3f31da='type.googleapis.com'),_0x3f31da+'/CommentsThreadDescriptor';},_0x174d58;}()),_0x59f061['CommentDescriptor']=(function(){function _0x107f8a(_0x2b7416){if(_0x2b7416){for(var _0x3aab67=Object['keys'](_0x2b7416),_0x3949cf=0x0;_0x3949cf<_0x3aab67['length'];++_0x3949cf)null!=_0x2b7416[_0x3aab67[_0x3949cf]]&&'__proto__'!==_0x3aab67[_0x3949cf]&&(this[_0x3aab67[_0x3949cf]]=_0x2b7416[_0x3aab67[_0x3949cf]]);}}return _0x107f8a['prototype']['commentId']='',_0x107f8a['prototype']['commentThreadId']='',_0x107f8a['prototype']['userId']='',_0x107f8a['prototype']['content']='',_0x107f8a['prototype']['documentId']='',_0x107f8a['prototype']['createdAt']='',_0x107f8a['prototype']['attributes']='',_0x107f8a['create']=function(_0x4a8610){return new _0x107f8a(_0x4a8610);},_0x107f8a['encode']=function(_0x215673,_0x26d4be){return _0x26d4be||(_0x26d4be=_0x5cad89['create']()),null!=_0x215673['commentId']&&Object['hasOwnProperty']['call'](_0x215673,'commentId')&&_0x26d4be['uint32'](0xa)['string'](_0x215673['commentId']),null!=_0x215673['commentThreadId']&&Object['hasOwnProperty']['call'](_0x215673,'commentThreadId')&&_0x26d4be['uint32'](0x12)['string'](_0x215673['commentThreadId']),null!=_0x215673['userId']&&Object['hasOwnProperty']['call'](_0x215673,'userId')&&_0x26d4be['uint32'](0x1a)['string'](_0x215673['userId']),null!=_0x215673['content']&&Object['hasOwnProperty']['call'](_0x215673,'content')&&_0x26d4be['uint32'](0x22)['string'](_0x215673['content']),null!=_0x215673['documentId']&&Object['hasOwnProperty']['call'](_0x215673,'documentId')&&_0x26d4be['uint32'](0x2a)['string'](_0x215673['documentId']),null!=_0x215673['createdAt']&&Object['hasOwnProperty']['call'](_0x215673,'createdAt')&&_0x26d4be['uint32'](0x32)['string'](_0x215673['createdAt']),null!=_0x215673['attributes']&&Object['hasOwnProperty']['call'](_0x215673,'attributes')&&_0x26d4be['uint32'](0x3a)['string'](_0x215673['attributes']),_0x26d4be;},_0x107f8a['encodeDelimited']=function(_0x1af71f,_0x490506){return this['encode'](_0x1af71f,_0x490506)['ldelim']();},_0x107f8a['decode']=function(_0xe73e3f,_0xf61211,_0x53ffc4,_0x130bde){if(_0xe73e3f instanceof _0x15a427||(_0xe73e3f=_0x15a427['create'](_0xe73e3f)),void 0x0===_0x130bde&&(_0x130bde=0x0),_0x130bde>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8865b8=void 0x0===_0xf61211?_0xe73e3f['len']:_0xe73e3f['pos']+_0xf61211,_0x1c5a40=new _0x59f061['CommentDescriptor']();_0xe73e3f['pos']<_0x8865b8;){var _0x3a5359=_0xe73e3f['uint32']();if(_0x3a5359===_0x53ffc4)break;switch(_0x3a5359>>>0x3){case 0x1:_0x1c5a40['commentId']=_0xe73e3f['string']();break;case 0x2:_0x1c5a40['commentThreadId']=_0xe73e3f['string']();break;case 0x3:_0x1c5a40['userId']=_0xe73e3f['string']();break;case 0x4:_0x1c5a40['content']=_0xe73e3f['string']();break;case 0x5:_0x1c5a40['documentId']=_0xe73e3f['string']();break;case 0x6:_0x1c5a40['createdAt']=_0xe73e3f['string']();break;case 0x7:_0x1c5a40['attributes']=_0xe73e3f['string']();break;default:_0xe73e3f['skipType'](0x7&_0x3a5359,_0x130bde);}}return _0x1c5a40;},_0x107f8a['decodeDelimited']=function(_0x42cb3c){return _0x42cb3c instanceof _0x15a427||(_0x42cb3c=new _0x15a427(_0x42cb3c)),this['decode'](_0x42cb3c,_0x42cb3c['uint32']());},_0x107f8a['verify']=function(_0x5541fc,_0x59d506){return'object'!=typeof _0x5541fc||null===_0x5541fc?'object\x20expected':(void 0x0===_0x59d506&&(_0x59d506=0x0),_0x59d506>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5541fc['commentId']&&_0x5541fc['hasOwnProperty']('commentId')&&!_0x6b5d1['isString'](_0x5541fc['commentId'])?'commentId:\x20string\x20expected':null!=_0x5541fc['commentThreadId']&&_0x5541fc['hasOwnProperty']('commentThreadId')&&!_0x6b5d1['isString'](_0x5541fc['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5541fc['userId']&&_0x5541fc['hasOwnProperty']('userId')&&!_0x6b5d1['isString'](_0x5541fc['userId'])?'userId:\x20string\x20expected':null!=_0x5541fc['content']&&_0x5541fc['hasOwnProperty']('content')&&!_0x6b5d1['isString'](_0x5541fc['content'])?'content:\x20string\x20expected':null!=_0x5541fc['documentId']&&_0x5541fc['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x5541fc['documentId'])?'documentId:\x20string\x20expected':null!=_0x5541fc['createdAt']&&_0x5541fc['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x5541fc['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5541fc['attributes']&&_0x5541fc['hasOwnProperty']('attributes')&&!_0x6b5d1['isString'](_0x5541fc['attributes'])?'attributes:\x20string\x20expected':null);},_0x107f8a['fromObject']=function(_0x31a6f1,_0x205d23){if(_0x31a6f1 instanceof _0x59f061['CommentDescriptor'])return _0x31a6f1;if(void 0x0===_0x205d23&&(_0x205d23=0x0),_0x205d23>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x164a27=new _0x59f061['CommentDescriptor']();return null!=_0x31a6f1['commentId']&&(_0x164a27['commentId']=String(_0x31a6f1['commentId'])),null!=_0x31a6f1['commentThreadId']&&(_0x164a27['commentThreadId']=String(_0x31a6f1['commentThreadId'])),null!=_0x31a6f1['userId']&&(_0x164a27['userId']=String(_0x31a6f1['userId'])),null!=_0x31a6f1['content']&&(_0x164a27['content']=String(_0x31a6f1['content'])),null!=_0x31a6f1['documentId']&&(_0x164a27['documentId']=String(_0x31a6f1['documentId'])),null!=_0x31a6f1['createdAt']&&(_0x164a27['createdAt']=String(_0x31a6f1['createdAt'])),null!=_0x31a6f1['attributes']&&(_0x164a27['attributes']=String(_0x31a6f1['attributes'])),_0x164a27;},_0x107f8a['toObject']=function(_0x505352,_0x1c93ae){_0x1c93ae||(_0x1c93ae={});var _0x29369b={};return _0x1c93ae['defaults']&&(_0x29369b['commentId']='',_0x29369b['commentThreadId']='',_0x29369b['userId']='',_0x29369b['content']='',_0x29369b['documentId']='',_0x29369b['createdAt']='',_0x29369b['attributes']=''),null!=_0x505352['commentId']&&_0x505352['hasOwnProperty']('commentId')&&(_0x29369b['commentId']=_0x505352['commentId']),null!=_0x505352['commentThreadId']&&_0x505352['hasOwnProperty']('commentThreadId')&&(_0x29369b['commentThreadId']=_0x505352['commentThreadId']),null!=_0x505352['userId']&&_0x505352['hasOwnProperty']('userId')&&(_0x29369b['userId']=_0x505352['userId']),null!=_0x505352['content']&&_0x505352['hasOwnProperty']('content')&&(_0x29369b['content']=_0x505352['content']),null!=_0x505352['documentId']&&_0x505352['hasOwnProperty']('documentId')&&(_0x29369b['documentId']=_0x505352['documentId']),null!=_0x505352['createdAt']&&_0x505352['hasOwnProperty']('createdAt')&&(_0x29369b['createdAt']=_0x505352['createdAt']),null!=_0x505352['attributes']&&_0x505352['hasOwnProperty']('attributes')&&(_0x29369b['attributes']=_0x505352['attributes']),_0x29369b;},_0x107f8a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x107f8a['getTypeUrl']=function(_0x2a86){return void 0x0===_0x2a86&&(_0x2a86='type.googleapis.com'),_0x2a86+'/CommentDescriptor';},_0x107f8a;}()),_0x59f061['GetDocumentDetailsResponse']=(function(){function _0x2042fb(_0x35c668){if(_0x35c668){for(var _0x1b4979=Object['keys'](_0x35c668),_0x1dfc50=0x0;_0x1dfc50<_0x1b4979['length'];++_0x1dfc50)null!=_0x35c668[_0x1b4979[_0x1dfc50]]&&'__proto__'!==_0x1b4979[_0x1dfc50]&&(this[_0x1b4979[_0x1dfc50]]=_0x35c668[_0x1b4979[_0x1dfc50]]);}}return _0x2042fb['prototype']['lastDocumentSessionId']='',_0x2042fb['prototype']['lastDocumentSessionOperationId']='',_0x2042fb['prototype']['currentDocumentSessionId']='',_0x2042fb['prototype']['currentDocumentSessionVersion']=0x0,_0x2042fb['prototype']['currentDocumentSessionOperationId']='',_0x2042fb['create']=function(_0x1cad2d){return new _0x2042fb(_0x1cad2d);},_0x2042fb['encode']=function(_0x2a2b5a,_0x33c6fa){return _0x33c6fa||(_0x33c6fa=_0x5cad89['create']()),null!=_0x2a2b5a['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x2a2b5a,'lastDocumentSessionId')&&_0x33c6fa['uint32'](0xa)['string'](_0x2a2b5a['lastDocumentSessionId']),null!=_0x2a2b5a['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x2a2b5a,'lastDocumentSessionOperationId')&&_0x33c6fa['uint32'](0x12)['string'](_0x2a2b5a['lastDocumentSessionOperationId']),null!=_0x2a2b5a['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x2a2b5a,'currentDocumentSessionId')&&_0x33c6fa['uint32'](0x1a)['string'](_0x2a2b5a['currentDocumentSessionId']),null!=_0x2a2b5a['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x2a2b5a,'currentDocumentSessionVersion')&&_0x33c6fa['uint32'](0x20)['uint32'](_0x2a2b5a['currentDocumentSessionVersion']),null!=_0x2a2b5a['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x2a2b5a,'currentDocumentSessionOperationId')&&_0x33c6fa['uint32'](0x2a)['string'](_0x2a2b5a['currentDocumentSessionOperationId']),_0x33c6fa;},_0x2042fb['encodeDelimited']=function(_0x96fac9,_0x176256){return this['encode'](_0x96fac9,_0x176256)['ldelim']();},_0x2042fb['decode']=function(_0x2cda02,_0x57aeba,_0x262809,_0x58e677){if(_0x2cda02 instanceof _0x15a427||(_0x2cda02=_0x15a427['create'](_0x2cda02)),void 0x0===_0x58e677&&(_0x58e677=0x0),_0x58e677>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d6782=void 0x0===_0x57aeba?_0x2cda02['len']:_0x2cda02['pos']+_0x57aeba,_0x1989a1=new _0x59f061['GetDocumentDetailsResponse']();_0x2cda02['pos']<_0x4d6782;){var _0x4320ab=_0x2cda02['uint32']();if(_0x4320ab===_0x262809)break;switch(_0x4320ab>>>0x3){case 0x1:_0x1989a1['lastDocumentSessionId']=_0x2cda02['string']();break;case 0x2:_0x1989a1['lastDocumentSessionOperationId']=_0x2cda02['string']();break;case 0x3:_0x1989a1['currentDocumentSessionId']=_0x2cda02['string']();break;case 0x4:_0x1989a1['currentDocumentSessionVersion']=_0x2cda02['uint32']();break;case 0x5:_0x1989a1['currentDocumentSessionOperationId']=_0x2cda02['string']();break;default:_0x2cda02['skipType'](0x7&_0x4320ab,_0x58e677);}}return _0x1989a1;},_0x2042fb['decodeDelimited']=function(_0x696b4f){return _0x696b4f instanceof _0x15a427||(_0x696b4f=new _0x15a427(_0x696b4f)),this['decode'](_0x696b4f,_0x696b4f['uint32']());},_0x2042fb['verify']=function(_0xb1e937,_0x56fbca){return'object'!=typeof _0xb1e937||null===_0xb1e937?'object\x20expected':(void 0x0===_0x56fbca&&(_0x56fbca=0x0),_0x56fbca>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xb1e937['lastDocumentSessionId']&&_0xb1e937['hasOwnProperty']('lastDocumentSessionId')&&!_0x6b5d1['isString'](_0xb1e937['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0xb1e937['lastDocumentSessionOperationId']&&_0xb1e937['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x6b5d1['isString'](_0xb1e937['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0xb1e937['currentDocumentSessionId']&&_0xb1e937['hasOwnProperty']('currentDocumentSessionId')&&!_0x6b5d1['isString'](_0xb1e937['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0xb1e937['currentDocumentSessionVersion']&&_0xb1e937['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x6b5d1['isInteger'](_0xb1e937['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0xb1e937['currentDocumentSessionOperationId']&&_0xb1e937['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x6b5d1['isString'](_0xb1e937['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0x2042fb['fromObject']=function(_0x59d97c,_0x5e76e6){if(_0x59d97c instanceof _0x59f061['GetDocumentDetailsResponse'])return _0x59d97c;if(void 0x0===_0x5e76e6&&(_0x5e76e6=0x0),_0x5e76e6>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x283c9a=new _0x59f061['GetDocumentDetailsResponse']();return null!=_0x59d97c['lastDocumentSessionId']&&(_0x283c9a['lastDocumentSessionId']=String(_0x59d97c['lastDocumentSessionId'])),null!=_0x59d97c['lastDocumentSessionOperationId']&&(_0x283c9a['lastDocumentSessionOperationId']=String(_0x59d97c['lastDocumentSessionOperationId'])),null!=_0x59d97c['currentDocumentSessionId']&&(_0x283c9a['currentDocumentSessionId']=String(_0x59d97c['currentDocumentSessionId'])),null!=_0x59d97c['currentDocumentSessionVersion']&&(_0x283c9a['currentDocumentSessionVersion']=_0x59d97c['currentDocumentSessionVersion']>>>0x0),null!=_0x59d97c['currentDocumentSessionOperationId']&&(_0x283c9a['currentDocumentSessionOperationId']=String(_0x59d97c['currentDocumentSessionOperationId'])),_0x283c9a;},_0x2042fb['toObject']=function(_0x36a0c7,_0x3f33ed){_0x3f33ed||(_0x3f33ed={});var _0x3e9d6e={};return _0x3f33ed['defaults']&&(_0x3e9d6e['lastDocumentSessionId']='',_0x3e9d6e['lastDocumentSessionOperationId']='',_0x3e9d6e['currentDocumentSessionId']='',_0x3e9d6e['currentDocumentSessionVersion']=0x0,_0x3e9d6e['currentDocumentSessionOperationId']=''),null!=_0x36a0c7['lastDocumentSessionId']&&_0x36a0c7['hasOwnProperty']('lastDocumentSessionId')&&(_0x3e9d6e['lastDocumentSessionId']=_0x36a0c7['lastDocumentSessionId']),null!=_0x36a0c7['lastDocumentSessionOperationId']&&_0x36a0c7['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x3e9d6e['lastDocumentSessionOperationId']=_0x36a0c7['lastDocumentSessionOperationId']),null!=_0x36a0c7['currentDocumentSessionId']&&_0x36a0c7['hasOwnProperty']('currentDocumentSessionId')&&(_0x3e9d6e['currentDocumentSessionId']=_0x36a0c7['currentDocumentSessionId']),null!=_0x36a0c7['currentDocumentSessionVersion']&&_0x36a0c7['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x3e9d6e['currentDocumentSessionVersion']=_0x36a0c7['currentDocumentSessionVersion']),null!=_0x36a0c7['currentDocumentSessionOperationId']&&_0x36a0c7['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x3e9d6e['currentDocumentSessionOperationId']=_0x36a0c7['currentDocumentSessionOperationId']),_0x3e9d6e;},_0x2042fb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2042fb['getTypeUrl']=function(_0xa52d01){return void 0x0===_0xa52d01&&(_0xa52d01='type.googleapis.com'),_0xa52d01+'/GetDocumentDetailsResponse';},_0x2042fb;}()),_0x59f061['CollaborativeEditingResponse']=(function(){function _0x47a898(_0xf17c1e){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0xf17c1e){for(var _0x36ad4d=Object['keys'](_0xf17c1e),_0x1b6c8f=0x0;_0x1b6c8f<_0x36ad4d['length'];++_0x1b6c8f)null!=_0xf17c1e[_0x36ad4d[_0x1b6c8f]]&&'__proto__'!==_0x36ad4d[_0x1b6c8f]&&(this[_0x36ad4d[_0x1b6c8f]]=_0xf17c1e[_0x36ad4d[_0x1b6c8f]]);}}return _0x47a898['prototype']['version']=0x0,_0x47a898['prototype']['buffers']=_0x6b5d1['emptyArray'],_0x47a898['prototype']['types']=_0x6b5d1['emptyArray'],_0x47a898['prototype']['metadata']=_0x6b5d1['emptyArray'],_0x47a898['prototype']['lastOperationId']='',_0x47a898['prototype']['lastOperationAcceptedAt']='',_0x47a898['create']=function(_0xbb3954){return new _0x47a898(_0xbb3954);},_0x47a898['encode']=function(_0x56ca68,_0xc84d2){if(_0xc84d2||(_0xc84d2=_0x5cad89['create']()),null!=_0x56ca68['version']&&Object['hasOwnProperty']['call'](_0x56ca68,'version')&&_0xc84d2['uint32'](0x8)['uint32'](_0x56ca68['version']),null!=_0x56ca68['buffers']&&_0x56ca68['buffers']['length']){for(var _0x5dd48c=0x0;_0x5dd48c<_0x56ca68['buffers']['length'];++_0x5dd48c)_0xc84d2['uint32'](0x12)['bytes'](_0x56ca68['buffers'][_0x5dd48c]);}if(null!=_0x56ca68['types']&&_0x56ca68['types']['length']){for(_0xc84d2['uint32'](0x1a)['fork'](),_0x5dd48c=0x0;_0x5dd48c<_0x56ca68['types']['length'];++_0x5dd48c)_0xc84d2['uint32'](_0x56ca68['types'][_0x5dd48c]);_0xc84d2['ldelim']();}if(null!=_0x56ca68['metadata']&&_0x56ca68['metadata']['length']){for(_0x5dd48c=0x0;_0x5dd48c<_0x56ca68['metadata']['length'];++_0x5dd48c)_0x59f061['OperationMetadataDescriptor']['encode'](_0x56ca68['metadata'][_0x5dd48c],_0xc84d2['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x56ca68['lastOperationId']&&Object['hasOwnProperty']['call'](_0x56ca68,'lastOperationId')&&_0xc84d2['uint32'](0x32)['string'](_0x56ca68['lastOperationId']),null!=_0x56ca68['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x56ca68,'lastOperationAcceptedAt')&&_0xc84d2['uint32'](0x3a)['string'](_0x56ca68['lastOperationAcceptedAt']),_0xc84d2;},_0x47a898['encodeDelimited']=function(_0x53e423,_0x573281){return this['encode'](_0x53e423,_0x573281)['ldelim']();},_0x47a898['decode']=function(_0x3c4795,_0x2ee03b,_0x2e9c2d,_0x5a36a0){if(_0x3c4795 instanceof _0x15a427||(_0x3c4795=_0x15a427['create'](_0x3c4795)),void 0x0===_0x5a36a0&&(_0x5a36a0=0x0),_0x5a36a0>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x331fbb=void 0x0===_0x2ee03b?_0x3c4795['len']:_0x3c4795['pos']+_0x2ee03b,_0x5bc50d=new _0x59f061['CollaborativeEditingResponse']();_0x3c4795['pos']<_0x331fbb;){var _0x3f94d9=_0x3c4795['uint32']();if(_0x3f94d9===_0x2e9c2d)break;switch(_0x3f94d9>>>0x3){case 0x1:_0x5bc50d['version']=_0x3c4795['uint32']();break;case 0x2:_0x5bc50d['buffers']&&_0x5bc50d['buffers']['length']||(_0x5bc50d['buffers']=[]),_0x5bc50d['buffers']['push'](_0x3c4795['bytes']());break;case 0x3:if(_0x5bc50d['types']&&_0x5bc50d['types']['length']||(_0x5bc50d['types']=[]),0x2==(0x7&_0x3f94d9)){for(var _0x5bc206=_0x3c4795['uint32']()+_0x3c4795['pos'];_0x3c4795['pos']<_0x5bc206;)_0x5bc50d['types']['push'](_0x3c4795['uint32']());}else _0x5bc50d['types']['push'](_0x3c4795['uint32']());break;case 0x5:_0x5bc50d['metadata']&&_0x5bc50d['metadata']['length']||(_0x5bc50d['metadata']=[]),_0x5bc50d['metadata']['push'](_0x59f061['OperationMetadataDescriptor']['decode'](_0x3c4795,_0x3c4795['uint32'](),void 0x0,_0x5a36a0+0x1));break;case 0x6:_0x5bc50d['lastOperationId']=_0x3c4795['string']();break;case 0x7:_0x5bc50d['lastOperationAcceptedAt']=_0x3c4795['string']();break;default:_0x3c4795['skipType'](0x7&_0x3f94d9,_0x5a36a0);}}return _0x5bc50d;},_0x47a898['decodeDelimited']=function(_0x5096b9){return _0x5096b9 instanceof _0x15a427||(_0x5096b9=new _0x15a427(_0x5096b9)),this['decode'](_0x5096b9,_0x5096b9['uint32']());},_0x47a898['verify']=function(_0x5e8694,_0x58bdfd){if('object'!=typeof _0x5e8694||null===_0x5e8694)return'object\x20expected';if(void 0x0===_0x58bdfd&&(_0x58bdfd=0x0),_0x58bdfd>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5e8694['version']&&_0x5e8694['hasOwnProperty']('version')&&!_0x6b5d1['isInteger'](_0x5e8694['version']))return'version:\x20integer\x20expected';if(null!=_0x5e8694['buffers']&&_0x5e8694['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x5e8694['buffers']))return'buffers:\x20array\x20expected';for(var _0x31904d=0x0;_0x31904d<_0x5e8694['buffers']['length'];++_0x31904d)if(!(_0x5e8694['buffers'][_0x31904d]&&'number'==typeof _0x5e8694['buffers'][_0x31904d]['length']||_0x6b5d1['isString'](_0x5e8694['buffers'][_0x31904d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5e8694['types']&&_0x5e8694['hasOwnProperty']('types')){if(!Array['isArray'](_0x5e8694['types']))return'types:\x20array\x20expected';for(_0x31904d=0x0;_0x31904d<_0x5e8694['types']['length'];++_0x31904d)if(!_0x6b5d1['isInteger'](_0x5e8694['types'][_0x31904d]))return'types:\x20integer[]\x20expected';}if(null!=_0x5e8694['metadata']&&_0x5e8694['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x5e8694['metadata']))return'metadata:\x20array\x20expected';for(_0x31904d=0x0;_0x31904d<_0x5e8694['metadata']['length'];++_0x31904d){var _0x253e45=_0x59f061['OperationMetadataDescriptor']['verify'](_0x5e8694['metadata'][_0x31904d],_0x58bdfd+0x1);if(_0x253e45)return'metadata.'+_0x253e45;}}return null!=_0x5e8694['lastOperationId']&&_0x5e8694['hasOwnProperty']('lastOperationId')&&!_0x6b5d1['isString'](_0x5e8694['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x5e8694['lastOperationAcceptedAt']&&_0x5e8694['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x6b5d1['isString'](_0x5e8694['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x47a898['fromObject']=function(_0xfa94a7,_0x4a2cea){if(_0xfa94a7 instanceof _0x59f061['CollaborativeEditingResponse'])return _0xfa94a7;if(void 0x0===_0x4a2cea&&(_0x4a2cea=0x0),_0x4a2cea>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x398587=new _0x59f061['CollaborativeEditingResponse']();if(null!=_0xfa94a7['version']&&(_0x398587['version']=_0xfa94a7['version']>>>0x0),_0xfa94a7['buffers']){if(!Array['isArray'](_0xfa94a7['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x398587['buffers']=[];for(var _0x5dc86a=0x0;_0x5dc86a<_0xfa94a7['buffers']['length'];++_0x5dc86a)'string'==typeof _0xfa94a7['buffers'][_0x5dc86a]?_0x6b5d1['base64']['decode'](_0xfa94a7['buffers'][_0x5dc86a],_0x398587['buffers'][_0x5dc86a]=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0xfa94a7['buffers'][_0x5dc86a])),0x0):_0xfa94a7['buffers'][_0x5dc86a]['length']>=0x0&&(_0x398587['buffers'][_0x5dc86a]=_0xfa94a7['buffers'][_0x5dc86a]);}if(_0xfa94a7['types']){if(!Array['isArray'](_0xfa94a7['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x398587['types']=[],_0x5dc86a=0x0;_0x5dc86a<_0xfa94a7['types']['length'];++_0x5dc86a)_0x398587['types'][_0x5dc86a]=_0xfa94a7['types'][_0x5dc86a]>>>0x0;}if(_0xfa94a7['metadata']){if(!Array['isArray'](_0xfa94a7['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x398587['metadata']=[],_0x5dc86a=0x0;_0x5dc86a<_0xfa94a7['metadata']['length'];++_0x5dc86a){if('object'!=typeof _0xfa94a7['metadata'][_0x5dc86a])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x398587['metadata'][_0x5dc86a]=_0x59f061['OperationMetadataDescriptor']['fromObject'](_0xfa94a7['metadata'][_0x5dc86a],_0x4a2cea+0x1);}}return null!=_0xfa94a7['lastOperationId']&&(_0x398587['lastOperationId']=String(_0xfa94a7['lastOperationId'])),null!=_0xfa94a7['lastOperationAcceptedAt']&&(_0x398587['lastOperationAcceptedAt']=String(_0xfa94a7['lastOperationAcceptedAt'])),_0x398587;},_0x47a898['toObject']=function(_0x2ab26d,_0x56266e){_0x56266e||(_0x56266e={});var _0x51a78f={};if((_0x56266e['arrays']||_0x56266e['defaults'])&&(_0x51a78f['buffers']=[],_0x51a78f['types']=[],_0x51a78f['metadata']=[]),_0x56266e['defaults']&&(_0x51a78f['version']=0x0,_0x51a78f['lastOperationId']='',_0x51a78f['lastOperationAcceptedAt']=''),null!=_0x2ab26d['version']&&_0x2ab26d['hasOwnProperty']('version')&&(_0x51a78f['version']=_0x2ab26d['version']),_0x2ab26d['buffers']&&_0x2ab26d['buffers']['length']){_0x51a78f['buffers']=[];for(var _0x59e784=0x0;_0x59e784<_0x2ab26d['buffers']['length'];++_0x59e784)_0x51a78f['buffers'][_0x59e784]=_0x56266e['bytes']===String?_0x6b5d1['base64']['encode'](_0x2ab26d['buffers'][_0x59e784],0x0,_0x2ab26d['buffers'][_0x59e784]['length']):_0x56266e['bytes']===Array?Array['prototype']['slice']['call'](_0x2ab26d['buffers'][_0x59e784]):_0x2ab26d['buffers'][_0x59e784];}if(_0x2ab26d['types']&&_0x2ab26d['types']['length']){for(_0x51a78f['types']=[],_0x59e784=0x0;_0x59e784<_0x2ab26d['types']['length'];++_0x59e784)_0x51a78f['types'][_0x59e784]=_0x2ab26d['types'][_0x59e784];}if(_0x2ab26d['metadata']&&_0x2ab26d['metadata']['length']){for(_0x51a78f['metadata']=[],_0x59e784=0x0;_0x59e784<_0x2ab26d['metadata']['length'];++_0x59e784)_0x51a78f['metadata'][_0x59e784]=_0x59f061['OperationMetadataDescriptor']['toObject'](_0x2ab26d['metadata'][_0x59e784],_0x56266e);}return null!=_0x2ab26d['lastOperationId']&&_0x2ab26d['hasOwnProperty']('lastOperationId')&&(_0x51a78f['lastOperationId']=_0x2ab26d['lastOperationId']),null!=_0x2ab26d['lastOperationAcceptedAt']&&_0x2ab26d['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x51a78f['lastOperationAcceptedAt']=_0x2ab26d['lastOperationAcceptedAt']),_0x51a78f;},_0x47a898['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x47a898['getTypeUrl']=function(_0x592dab){return void 0x0===_0x592dab&&(_0x592dab='type.googleapis.com'),_0x592dab+'/CollaborativeEditingResponse';},_0x47a898;}()),_0x59f061['CollaborativeEditingConnectResponse']=(function(){function _0xfc4284(_0x142098){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x142098){for(var _0x2f2b37=Object['keys'](_0x142098),_0x3f14ce=0x0;_0x3f14ce<_0x2f2b37['length'];++_0x3f14ce)null!=_0x142098[_0x2f2b37[_0x3f14ce]]&&'__proto__'!==_0x2f2b37[_0x3f14ce]&&(this[_0x2f2b37[_0x3f14ce]]=_0x142098[_0x2f2b37[_0x3f14ce]]);}}return _0xfc4284['prototype']['channel']='',_0xfc4284['prototype']['offset']=0x0,_0xfc4284['prototype']['version']=0x0,_0xfc4284['prototype']['buffers']=_0x6b5d1['emptyArray'],_0xfc4284['prototype']['types']=_0x6b5d1['emptyArray'],_0xfc4284['prototype']['metadata']=_0x6b5d1['emptyArray'],_0xfc4284['prototype']['initData']='',_0xfc4284['prototype']['isInitialized']=!0x1,_0xfc4284['prototype']['sessionId']='',_0xfc4284['prototype']['lastOperationId']='',_0xfc4284['prototype']['sessionCreatedAt']='',_0xfc4284['create']=function(_0x3df904){return new _0xfc4284(_0x3df904);},_0xfc4284['encode']=function(_0x3c4fb4,_0x4fbe8c){if(_0x4fbe8c||(_0x4fbe8c=_0x5cad89['create']()),null!=_0x3c4fb4['channel']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'channel')&&_0x4fbe8c['uint32'](0xa)['string'](_0x3c4fb4['channel']),null!=_0x3c4fb4['offset']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'offset')&&_0x4fbe8c['uint32'](0x10)['uint32'](_0x3c4fb4['offset']),null!=_0x3c4fb4['version']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'version')&&_0x4fbe8c['uint32'](0x18)['uint32'](_0x3c4fb4['version']),null!=_0x3c4fb4['buffers']&&_0x3c4fb4['buffers']['length']){for(var _0xe14569=0x0;_0xe14569<_0x3c4fb4['buffers']['length'];++_0xe14569)_0x4fbe8c['uint32'](0x22)['bytes'](_0x3c4fb4['buffers'][_0xe14569]);}if(null!=_0x3c4fb4['types']&&_0x3c4fb4['types']['length']){for(_0x4fbe8c['uint32'](0x2a)['fork'](),_0xe14569=0x0;_0xe14569<_0x3c4fb4['types']['length'];++_0xe14569)_0x4fbe8c['uint32'](_0x3c4fb4['types'][_0xe14569]);_0x4fbe8c['ldelim']();}if(null!=_0x3c4fb4['metadata']&&_0x3c4fb4['metadata']['length']){for(_0xe14569=0x0;_0xe14569<_0x3c4fb4['metadata']['length'];++_0xe14569)_0x59f061['OperationMetadataDescriptor']['encode'](_0x3c4fb4['metadata'][_0xe14569],_0x4fbe8c['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x3c4fb4['initData']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'initData')&&_0x4fbe8c['uint32'](0x42)['string'](_0x3c4fb4['initData']),null!=_0x3c4fb4['isInitialized']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'isInitialized')&&_0x4fbe8c['uint32'](0x48)['bool'](_0x3c4fb4['isInitialized']),null!=_0x3c4fb4['sessionId']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'sessionId')&&_0x4fbe8c['uint32'](0x52)['string'](_0x3c4fb4['sessionId']),null!=_0x3c4fb4['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'lastOperationId')&&_0x4fbe8c['uint32'](0x5a)['string'](_0x3c4fb4['lastOperationId']),null!=_0x3c4fb4['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x3c4fb4,'sessionCreatedAt')&&_0x4fbe8c['uint32'](0x62)['string'](_0x3c4fb4['sessionCreatedAt']),_0x4fbe8c;},_0xfc4284['encodeDelimited']=function(_0x5225c7,_0x3297df){return this['encode'](_0x5225c7,_0x3297df)['ldelim']();},_0xfc4284['decode']=function(_0x59ea35,_0x300d49,_0x1b4e22,_0x56682e){if(_0x59ea35 instanceof _0x15a427||(_0x59ea35=_0x15a427['create'](_0x59ea35)),void 0x0===_0x56682e&&(_0x56682e=0x0),_0x56682e>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x551fd2=void 0x0===_0x300d49?_0x59ea35['len']:_0x59ea35['pos']+_0x300d49,_0x11af60=new _0x59f061['CollaborativeEditingConnectResponse']();_0x59ea35['pos']<_0x551fd2;){var _0x25f01e=_0x59ea35['uint32']();if(_0x25f01e===_0x1b4e22)break;switch(_0x25f01e>>>0x3){case 0x1:_0x11af60['channel']=_0x59ea35['string']();break;case 0x2:_0x11af60['offset']=_0x59ea35['uint32']();break;case 0x3:_0x11af60['version']=_0x59ea35['uint32']();break;case 0x4:_0x11af60['buffers']&&_0x11af60['buffers']['length']||(_0x11af60['buffers']=[]),_0x11af60['buffers']['push'](_0x59ea35['bytes']());break;case 0x5:if(_0x11af60['types']&&_0x11af60['types']['length']||(_0x11af60['types']=[]),0x2==(0x7&_0x25f01e)){for(var _0x5370ff=_0x59ea35['uint32']()+_0x59ea35['pos'];_0x59ea35['pos']<_0x5370ff;)_0x11af60['types']['push'](_0x59ea35['uint32']());}else _0x11af60['types']['push'](_0x59ea35['uint32']());break;case 0x7:_0x11af60['metadata']&&_0x11af60['metadata']['length']||(_0x11af60['metadata']=[]),_0x11af60['metadata']['push'](_0x59f061['OperationMetadataDescriptor']['decode'](_0x59ea35,_0x59ea35['uint32'](),void 0x0,_0x56682e+0x1));break;case 0x8:_0x11af60['initData']=_0x59ea35['string']();break;case 0x9:_0x11af60['isInitialized']=_0x59ea35['bool']();break;case 0xa:_0x11af60['sessionId']=_0x59ea35['string']();break;case 0xb:_0x11af60['lastOperationId']=_0x59ea35['string']();break;case 0xc:_0x11af60['sessionCreatedAt']=_0x59ea35['string']();break;default:_0x59ea35['skipType'](0x7&_0x25f01e,_0x56682e);}}return _0x11af60;},_0xfc4284['decodeDelimited']=function(_0x2eefa6){return _0x2eefa6 instanceof _0x15a427||(_0x2eefa6=new _0x15a427(_0x2eefa6)),this['decode'](_0x2eefa6,_0x2eefa6['uint32']());},_0xfc4284['verify']=function(_0xd0ab15,_0x5017b3){if('object'!=typeof _0xd0ab15||null===_0xd0ab15)return'object\x20expected';if(void 0x0===_0x5017b3&&(_0x5017b3=0x0),_0x5017b3>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xd0ab15['channel']&&_0xd0ab15['hasOwnProperty']('channel')&&!_0x6b5d1['isString'](_0xd0ab15['channel']))return'channel:\x20string\x20expected';if(null!=_0xd0ab15['offset']&&_0xd0ab15['hasOwnProperty']('offset')&&!_0x6b5d1['isInteger'](_0xd0ab15['offset']))return'offset:\x20integer\x20expected';if(null!=_0xd0ab15['version']&&_0xd0ab15['hasOwnProperty']('version')&&!_0x6b5d1['isInteger'](_0xd0ab15['version']))return'version:\x20integer\x20expected';if(null!=_0xd0ab15['buffers']&&_0xd0ab15['hasOwnProperty']('buffers')){if(!Array['isArray'](_0xd0ab15['buffers']))return'buffers:\x20array\x20expected';for(var _0x296469=0x0;_0x296469<_0xd0ab15['buffers']['length'];++_0x296469)if(!(_0xd0ab15['buffers'][_0x296469]&&'number'==typeof _0xd0ab15['buffers'][_0x296469]['length']||_0x6b5d1['isString'](_0xd0ab15['buffers'][_0x296469])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0xd0ab15['types']&&_0xd0ab15['hasOwnProperty']('types')){if(!Array['isArray'](_0xd0ab15['types']))return'types:\x20array\x20expected';for(_0x296469=0x0;_0x296469<_0xd0ab15['types']['length'];++_0x296469)if(!_0x6b5d1['isInteger'](_0xd0ab15['types'][_0x296469]))return'types:\x20integer[]\x20expected';}if(null!=_0xd0ab15['metadata']&&_0xd0ab15['hasOwnProperty']('metadata')){if(!Array['isArray'](_0xd0ab15['metadata']))return'metadata:\x20array\x20expected';for(_0x296469=0x0;_0x296469<_0xd0ab15['metadata']['length'];++_0x296469){var _0x32de99=_0x59f061['OperationMetadataDescriptor']['verify'](_0xd0ab15['metadata'][_0x296469],_0x5017b3+0x1);if(_0x32de99)return'metadata.'+_0x32de99;}}return null!=_0xd0ab15['initData']&&_0xd0ab15['hasOwnProperty']('initData')&&!_0x6b5d1['isString'](_0xd0ab15['initData'])?'initData:\x20string\x20expected':null!=_0xd0ab15['isInitialized']&&_0xd0ab15['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0xd0ab15['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0xd0ab15['sessionId']&&_0xd0ab15['hasOwnProperty']('sessionId')&&!_0x6b5d1['isString'](_0xd0ab15['sessionId'])?'sessionId:\x20string\x20expected':null!=_0xd0ab15['lastOperationId']&&_0xd0ab15['hasOwnProperty']('lastOperationId')&&!_0x6b5d1['isString'](_0xd0ab15['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0xd0ab15['sessionCreatedAt']&&_0xd0ab15['hasOwnProperty']('sessionCreatedAt')&&!_0x6b5d1['isString'](_0xd0ab15['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0xfc4284['fromObject']=function(_0x5154eb,_0x414e60){if(_0x5154eb instanceof _0x59f061['CollaborativeEditingConnectResponse'])return _0x5154eb;if(void 0x0===_0x414e60&&(_0x414e60=0x0),_0x414e60>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x333712=new _0x59f061['CollaborativeEditingConnectResponse']();if(null!=_0x5154eb['channel']&&(_0x333712['channel']=String(_0x5154eb['channel'])),null!=_0x5154eb['offset']&&(_0x333712['offset']=_0x5154eb['offset']>>>0x0),null!=_0x5154eb['version']&&(_0x333712['version']=_0x5154eb['version']>>>0x0),_0x5154eb['buffers']){if(!Array['isArray'](_0x5154eb['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x333712['buffers']=[];for(var _0x3a5457=0x0;_0x3a5457<_0x5154eb['buffers']['length'];++_0x3a5457)'string'==typeof _0x5154eb['buffers'][_0x3a5457]?_0x6b5d1['base64']['decode'](_0x5154eb['buffers'][_0x3a5457],_0x333712['buffers'][_0x3a5457]=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x5154eb['buffers'][_0x3a5457])),0x0):_0x5154eb['buffers'][_0x3a5457]['length']>=0x0&&(_0x333712['buffers'][_0x3a5457]=_0x5154eb['buffers'][_0x3a5457]);}if(_0x5154eb['types']){if(!Array['isArray'](_0x5154eb['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x333712['types']=[],_0x3a5457=0x0;_0x3a5457<_0x5154eb['types']['length'];++_0x3a5457)_0x333712['types'][_0x3a5457]=_0x5154eb['types'][_0x3a5457]>>>0x0;}if(_0x5154eb['metadata']){if(!Array['isArray'](_0x5154eb['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x333712['metadata']=[],_0x3a5457=0x0;_0x3a5457<_0x5154eb['metadata']['length'];++_0x3a5457){if('object'!=typeof _0x5154eb['metadata'][_0x3a5457])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x333712['metadata'][_0x3a5457]=_0x59f061['OperationMetadataDescriptor']['fromObject'](_0x5154eb['metadata'][_0x3a5457],_0x414e60+0x1);}}return null!=_0x5154eb['initData']&&(_0x333712['initData']=String(_0x5154eb['initData'])),null!=_0x5154eb['isInitialized']&&(_0x333712['isInitialized']=Boolean(_0x5154eb['isInitialized'])),null!=_0x5154eb['sessionId']&&(_0x333712['sessionId']=String(_0x5154eb['sessionId'])),null!=_0x5154eb['lastOperationId']&&(_0x333712['lastOperationId']=String(_0x5154eb['lastOperationId'])),null!=_0x5154eb['sessionCreatedAt']&&(_0x333712['sessionCreatedAt']=String(_0x5154eb['sessionCreatedAt'])),_0x333712;},_0xfc4284['toObject']=function(_0x1d118e,_0xca0dee){_0xca0dee||(_0xca0dee={});var _0x19dbc8={};if((_0xca0dee['arrays']||_0xca0dee['defaults'])&&(_0x19dbc8['buffers']=[],_0x19dbc8['types']=[],_0x19dbc8['metadata']=[]),_0xca0dee['defaults']&&(_0x19dbc8['channel']='',_0x19dbc8['offset']=0x0,_0x19dbc8['version']=0x0,_0x19dbc8['initData']='',_0x19dbc8['isInitialized']=!0x1,_0x19dbc8['sessionId']='',_0x19dbc8['lastOperationId']='',_0x19dbc8['sessionCreatedAt']=''),null!=_0x1d118e['channel']&&_0x1d118e['hasOwnProperty']('channel')&&(_0x19dbc8['channel']=_0x1d118e['channel']),null!=_0x1d118e['offset']&&_0x1d118e['hasOwnProperty']('offset')&&(_0x19dbc8['offset']=_0x1d118e['offset']),null!=_0x1d118e['version']&&_0x1d118e['hasOwnProperty']('version')&&(_0x19dbc8['version']=_0x1d118e['version']),_0x1d118e['buffers']&&_0x1d118e['buffers']['length']){_0x19dbc8['buffers']=[];for(var _0x1f80c0=0x0;_0x1f80c0<_0x1d118e['buffers']['length'];++_0x1f80c0)_0x19dbc8['buffers'][_0x1f80c0]=_0xca0dee['bytes']===String?_0x6b5d1['base64']['encode'](_0x1d118e['buffers'][_0x1f80c0],0x0,_0x1d118e['buffers'][_0x1f80c0]['length']):_0xca0dee['bytes']===Array?Array['prototype']['slice']['call'](_0x1d118e['buffers'][_0x1f80c0]):_0x1d118e['buffers'][_0x1f80c0];}if(_0x1d118e['types']&&_0x1d118e['types']['length']){for(_0x19dbc8['types']=[],_0x1f80c0=0x0;_0x1f80c0<_0x1d118e['types']['length'];++_0x1f80c0)_0x19dbc8['types'][_0x1f80c0]=_0x1d118e['types'][_0x1f80c0];}if(_0x1d118e['metadata']&&_0x1d118e['metadata']['length']){for(_0x19dbc8['metadata']=[],_0x1f80c0=0x0;_0x1f80c0<_0x1d118e['metadata']['length'];++_0x1f80c0)_0x19dbc8['metadata'][_0x1f80c0]=_0x59f061['OperationMetadataDescriptor']['toObject'](_0x1d118e['metadata'][_0x1f80c0],_0xca0dee);}return null!=_0x1d118e['initData']&&_0x1d118e['hasOwnProperty']('initData')&&(_0x19dbc8['initData']=_0x1d118e['initData']),null!=_0x1d118e['isInitialized']&&_0x1d118e['hasOwnProperty']('isInitialized')&&(_0x19dbc8['isInitialized']=_0x1d118e['isInitialized']),null!=_0x1d118e['sessionId']&&_0x1d118e['hasOwnProperty']('sessionId')&&(_0x19dbc8['sessionId']=_0x1d118e['sessionId']),null!=_0x1d118e['lastOperationId']&&_0x1d118e['hasOwnProperty']('lastOperationId')&&(_0x19dbc8['lastOperationId']=_0x1d118e['lastOperationId']),null!=_0x1d118e['sessionCreatedAt']&&_0x1d118e['hasOwnProperty']('sessionCreatedAt')&&(_0x19dbc8['sessionCreatedAt']=_0x1d118e['sessionCreatedAt']),_0x19dbc8;},_0xfc4284['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0xfc4284['getTypeUrl']=function(_0x289bba){return void 0x0===_0x289bba&&(_0x289bba='type.googleapis.com'),_0x289bba+'/CollaborativeEditingConnectResponse';},_0xfc4284;}()),_0x59f061['GetDocumentDetailsMessage']=(function(){function _0x52a410(_0x25674b){if(_0x25674b){for(var _0xffd475=Object['keys'](_0x25674b),_0x3f2794=0x0;_0x3f2794<_0xffd475['length'];++_0x3f2794)null!=_0x25674b[_0xffd475[_0x3f2794]]&&'__proto__'!==_0xffd475[_0x3f2794]&&(this[_0xffd475[_0x3f2794]]=_0x25674b[_0xffd475[_0x3f2794]]);}}return _0x52a410['prototype']['documentId']='',_0x52a410['prototype']['environmentId']='',_0x52a410['create']=function(_0x34ed3d){return new _0x52a410(_0x34ed3d);},_0x52a410['encode']=function(_0x4c70da,_0x4c81b2){return _0x4c81b2||(_0x4c81b2=_0x5cad89['create']()),null!=_0x4c70da['documentId']&&Object['hasOwnProperty']['call'](_0x4c70da,'documentId')&&_0x4c81b2['uint32'](0xa)['string'](_0x4c70da['documentId']),null!=_0x4c70da['environmentId']&&Object['hasOwnProperty']['call'](_0x4c70da,'environmentId')&&_0x4c81b2['uint32'](0x12)['string'](_0x4c70da['environmentId']),_0x4c81b2;},_0x52a410['encodeDelimited']=function(_0x2e6a55,_0x4461f6){return this['encode'](_0x2e6a55,_0x4461f6)['ldelim']();},_0x52a410['decode']=function(_0x4b419d,_0x2e2fff,_0x1bb137,_0x3541d9){if(_0x4b419d instanceof _0x15a427||(_0x4b419d=_0x15a427['create'](_0x4b419d)),void 0x0===_0x3541d9&&(_0x3541d9=0x0),_0x3541d9>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5b59d1=void 0x0===_0x2e2fff?_0x4b419d['len']:_0x4b419d['pos']+_0x2e2fff,_0x1797d2=new _0x59f061['GetDocumentDetailsMessage']();_0x4b419d['pos']<_0x5b59d1;){var _0x2e129a=_0x4b419d['uint32']();if(_0x2e129a===_0x1bb137)break;switch(_0x2e129a>>>0x3){case 0x1:_0x1797d2['documentId']=_0x4b419d['string']();break;case 0x2:_0x1797d2['environmentId']=_0x4b419d['string']();break;default:_0x4b419d['skipType'](0x7&_0x2e129a,_0x3541d9);}}return _0x1797d2;},_0x52a410['decodeDelimited']=function(_0x53dda6){return _0x53dda6 instanceof _0x15a427||(_0x53dda6=new _0x15a427(_0x53dda6)),this['decode'](_0x53dda6,_0x53dda6['uint32']());},_0x52a410['verify']=function(_0x3a62ff,_0x48f6d9){return'object'!=typeof _0x3a62ff||null===_0x3a62ff?'object\x20expected':(void 0x0===_0x48f6d9&&(_0x48f6d9=0x0),_0x48f6d9>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3a62ff['documentId']&&_0x3a62ff['hasOwnProperty']('documentId')&&!_0x6b5d1['isString'](_0x3a62ff['documentId'])?'documentId:\x20string\x20expected':null!=_0x3a62ff['environmentId']&&_0x3a62ff['hasOwnProperty']('environmentId')&&!_0x6b5d1['isString'](_0x3a62ff['environmentId'])?'environmentId:\x20string\x20expected':null);},_0x52a410['fromObject']=function(_0x46dd22,_0x518d9c){if(_0x46dd22 instanceof _0x59f061['GetDocumentDetailsMessage'])return _0x46dd22;if(void 0x0===_0x518d9c&&(_0x518d9c=0x0),_0x518d9c>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x6c6707=new _0x59f061['GetDocumentDetailsMessage']();return null!=_0x46dd22['documentId']&&(_0x6c6707['documentId']=String(_0x46dd22['documentId'])),null!=_0x46dd22['environmentId']&&(_0x6c6707['environmentId']=String(_0x46dd22['environmentId'])),_0x6c6707;},_0x52a410['toObject']=function(_0x21639d,_0x44bdbd){_0x44bdbd||(_0x44bdbd={});var _0x1c6a80={};return _0x44bdbd['defaults']&&(_0x1c6a80['documentId']='',_0x1c6a80['environmentId']=''),null!=_0x21639d['documentId']&&_0x21639d['hasOwnProperty']('documentId')&&(_0x1c6a80['documentId']=_0x21639d['documentId']),null!=_0x21639d['environmentId']&&_0x21639d['hasOwnProperty']('environmentId')&&(_0x1c6a80['environmentId']=_0x21639d['environmentId']),_0x1c6a80;},_0x52a410['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x52a410['getTypeUrl']=function(_0x95a3bd){return void 0x0===_0x95a3bd&&(_0x95a3bd='type.googleapis.com'),_0x95a3bd+'/GetDocumentDetailsMessage';},_0x52a410;}()),_0x59f061['CollaborativeEditingUpdateMessage']=(function(){function _0x49c9f2(_0xcfff12){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0xcfff12){for(var _0x539d3a=Object['keys'](_0xcfff12),_0x4e7983=0x0;_0x4e7983<_0x539d3a['length'];++_0x4e7983)null!=_0xcfff12[_0x539d3a[_0x4e7983]]&&'__proto__'!==_0x539d3a[_0x4e7983]&&(this[_0x539d3a[_0x4e7983]]=_0xcfff12[_0x539d3a[_0x4e7983]]);}}return _0x49c9f2['prototype']['id']='',_0x49c9f2['prototype']['baseVersion']=0x0,_0x49c9f2['prototype']['buffers']=_0x6b5d1['emptyArray'],_0x49c9f2['prototype']['types']=_0x6b5d1['emptyArray'],_0x49c9f2['prototype']['metadata']=_0x6b5d1['emptyArray'],_0x49c9f2['prototype']['lastOperationId']='',_0x49c9f2['create']=function(_0x115c4c){return new _0x49c9f2(_0x115c4c);},_0x49c9f2['encode']=function(_0x4f7120,_0x555c66){if(_0x555c66||(_0x555c66=_0x5cad89['create']()),null!=_0x4f7120['id']&&Object['hasOwnProperty']['call'](_0x4f7120,'id')&&_0x555c66['uint32'](0xa)['string'](_0x4f7120['id']),null!=_0x4f7120['baseVersion']&&Object['hasOwnProperty']['call'](_0x4f7120,'baseVersion')&&_0x555c66['uint32'](0x10)['uint32'](_0x4f7120['baseVersion']),null!=_0x4f7120['buffers']&&_0x4f7120['buffers']['length']){for(var _0x121c89=0x0;_0x121c89<_0x4f7120['buffers']['length'];++_0x121c89)_0x555c66['uint32'](0x1a)['bytes'](_0x4f7120['buffers'][_0x121c89]);}if(null!=_0x4f7120['types']&&_0x4f7120['types']['length']){for(_0x555c66['uint32'](0x22)['fork'](),_0x121c89=0x0;_0x121c89<_0x4f7120['types']['length'];++_0x121c89)_0x555c66['uint32'](_0x4f7120['types'][_0x121c89]);_0x555c66['ldelim']();}if(null!=_0x4f7120['metadata']&&_0x4f7120['metadata']['length']){for(_0x121c89=0x0;_0x121c89<_0x4f7120['metadata']['length'];++_0x121c89)_0x59f061['OperationMetadataDescriptor']['encode'](_0x4f7120['metadata'][_0x121c89],_0x555c66['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x4f7120['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4f7120,'lastOperationId')&&_0x555c66['uint32'](0x3a)['string'](_0x4f7120['lastOperationId']),_0x555c66;},_0x49c9f2['encodeDelimited']=function(_0x994c90,_0x18afd2){return this['encode'](_0x994c90,_0x18afd2)['ldelim']();},_0x49c9f2['decode']=function(_0x5b228e,_0x23adf7,_0x39eef4,_0x11684e){if(_0x5b228e instanceof _0x15a427||(_0x5b228e=_0x15a427['create'](_0x5b228e)),void 0x0===_0x11684e&&(_0x11684e=0x0),_0x11684e>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3b74e3=void 0x0===_0x23adf7?_0x5b228e['len']:_0x5b228e['pos']+_0x23adf7,_0x141eea=new _0x59f061['CollaborativeEditingUpdateMessage']();_0x5b228e['pos']<_0x3b74e3;){var _0x2cebc3=_0x5b228e['uint32']();if(_0x2cebc3===_0x39eef4)break;switch(_0x2cebc3>>>0x3){case 0x1:_0x141eea['id']=_0x5b228e['string']();break;case 0x2:_0x141eea['baseVersion']=_0x5b228e['uint32']();break;case 0x3:_0x141eea['buffers']&&_0x141eea['buffers']['length']||(_0x141eea['buffers']=[]),_0x141eea['buffers']['push'](_0x5b228e['bytes']());break;case 0x4:if(_0x141eea['types']&&_0x141eea['types']['length']||(_0x141eea['types']=[]),0x2==(0x7&_0x2cebc3)){for(var _0x477a86=_0x5b228e['uint32']()+_0x5b228e['pos'];_0x5b228e['pos']<_0x477a86;)_0x141eea['types']['push'](_0x5b228e['uint32']());}else _0x141eea['types']['push'](_0x5b228e['uint32']());break;case 0x6:_0x141eea['metadata']&&_0x141eea['metadata']['length']||(_0x141eea['metadata']=[]),_0x141eea['metadata']['push'](_0x59f061['OperationMetadataDescriptor']['decode'](_0x5b228e,_0x5b228e['uint32'](),void 0x0,_0x11684e+0x1));break;case 0x7:_0x141eea['lastOperationId']=_0x5b228e['string']();break;default:_0x5b228e['skipType'](0x7&_0x2cebc3,_0x11684e);}}return _0x141eea;},_0x49c9f2['decodeDelimited']=function(_0x5e72f5){return _0x5e72f5 instanceof _0x15a427||(_0x5e72f5=new _0x15a427(_0x5e72f5)),this['decode'](_0x5e72f5,_0x5e72f5['uint32']());},_0x49c9f2['verify']=function(_0x3419b1,_0x45123e){if('object'!=typeof _0x3419b1||null===_0x3419b1)return'object\x20expected';if(void 0x0===_0x45123e&&(_0x45123e=0x0),_0x45123e>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3419b1['id']&&_0x3419b1['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x3419b1['id']))return'id:\x20string\x20expected';if(null!=_0x3419b1['baseVersion']&&_0x3419b1['hasOwnProperty']('baseVersion')&&!_0x6b5d1['isInteger'](_0x3419b1['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x3419b1['buffers']&&_0x3419b1['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x3419b1['buffers']))return'buffers:\x20array\x20expected';for(var _0x4285ed=0x0;_0x4285ed<_0x3419b1['buffers']['length'];++_0x4285ed)if(!(_0x3419b1['buffers'][_0x4285ed]&&'number'==typeof _0x3419b1['buffers'][_0x4285ed]['length']||_0x6b5d1['isString'](_0x3419b1['buffers'][_0x4285ed])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3419b1['types']&&_0x3419b1['hasOwnProperty']('types')){if(!Array['isArray'](_0x3419b1['types']))return'types:\x20array\x20expected';for(_0x4285ed=0x0;_0x4285ed<_0x3419b1['types']['length'];++_0x4285ed)if(!_0x6b5d1['isInteger'](_0x3419b1['types'][_0x4285ed]))return'types:\x20integer[]\x20expected';}if(null!=_0x3419b1['metadata']&&_0x3419b1['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x3419b1['metadata']))return'metadata:\x20array\x20expected';for(_0x4285ed=0x0;_0x4285ed<_0x3419b1['metadata']['length'];++_0x4285ed){var _0x2fedde=_0x59f061['OperationMetadataDescriptor']['verify'](_0x3419b1['metadata'][_0x4285ed],_0x45123e+0x1);if(_0x2fedde)return'metadata.'+_0x2fedde;}}return null!=_0x3419b1['lastOperationId']&&_0x3419b1['hasOwnProperty']('lastOperationId')&&!_0x6b5d1['isString'](_0x3419b1['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x49c9f2['fromObject']=function(_0x581c61,_0x5177f6){if(_0x581c61 instanceof _0x59f061['CollaborativeEditingUpdateMessage'])return _0x581c61;if(void 0x0===_0x5177f6&&(_0x5177f6=0x0),_0x5177f6>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x162f94=new _0x59f061['CollaborativeEditingUpdateMessage']();if(null!=_0x581c61['id']&&(_0x162f94['id']=String(_0x581c61['id'])),null!=_0x581c61['baseVersion']&&(_0x162f94['baseVersion']=_0x581c61['baseVersion']>>>0x0),_0x581c61['buffers']){if(!Array['isArray'](_0x581c61['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x162f94['buffers']=[];for(var _0x1ddeed=0x0;_0x1ddeed<_0x581c61['buffers']['length'];++_0x1ddeed)'string'==typeof _0x581c61['buffers'][_0x1ddeed]?_0x6b5d1['base64']['decode'](_0x581c61['buffers'][_0x1ddeed],_0x162f94['buffers'][_0x1ddeed]=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x581c61['buffers'][_0x1ddeed])),0x0):_0x581c61['buffers'][_0x1ddeed]['length']>=0x0&&(_0x162f94['buffers'][_0x1ddeed]=_0x581c61['buffers'][_0x1ddeed]);}if(_0x581c61['types']){if(!Array['isArray'](_0x581c61['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x162f94['types']=[],_0x1ddeed=0x0;_0x1ddeed<_0x581c61['types']['length'];++_0x1ddeed)_0x162f94['types'][_0x1ddeed]=_0x581c61['types'][_0x1ddeed]>>>0x0;}if(_0x581c61['metadata']){if(!Array['isArray'](_0x581c61['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x162f94['metadata']=[],_0x1ddeed=0x0;_0x1ddeed<_0x581c61['metadata']['length'];++_0x1ddeed){if('object'!=typeof _0x581c61['metadata'][_0x1ddeed])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x162f94['metadata'][_0x1ddeed]=_0x59f061['OperationMetadataDescriptor']['fromObject'](_0x581c61['metadata'][_0x1ddeed],_0x5177f6+0x1);}}return null!=_0x581c61['lastOperationId']&&(_0x162f94['lastOperationId']=String(_0x581c61['lastOperationId'])),_0x162f94;},_0x49c9f2['toObject']=function(_0x20f7ef,_0x129cfc){_0x129cfc||(_0x129cfc={});var _0x5be6d1={};if((_0x129cfc['arrays']||_0x129cfc['defaults'])&&(_0x5be6d1['buffers']=[],_0x5be6d1['types']=[],_0x5be6d1['metadata']=[]),_0x129cfc['defaults']&&(_0x5be6d1['id']='',_0x5be6d1['baseVersion']=0x0,_0x5be6d1['lastOperationId']=''),null!=_0x20f7ef['id']&&_0x20f7ef['hasOwnProperty']('id')&&(_0x5be6d1['id']=_0x20f7ef['id']),null!=_0x20f7ef['baseVersion']&&_0x20f7ef['hasOwnProperty']('baseVersion')&&(_0x5be6d1['baseVersion']=_0x20f7ef['baseVersion']),_0x20f7ef['buffers']&&_0x20f7ef['buffers']['length']){_0x5be6d1['buffers']=[];for(var _0x365277=0x0;_0x365277<_0x20f7ef['buffers']['length'];++_0x365277)_0x5be6d1['buffers'][_0x365277]=_0x129cfc['bytes']===String?_0x6b5d1['base64']['encode'](_0x20f7ef['buffers'][_0x365277],0x0,_0x20f7ef['buffers'][_0x365277]['length']):_0x129cfc['bytes']===Array?Array['prototype']['slice']['call'](_0x20f7ef['buffers'][_0x365277]):_0x20f7ef['buffers'][_0x365277];}if(_0x20f7ef['types']&&_0x20f7ef['types']['length']){for(_0x5be6d1['types']=[],_0x365277=0x0;_0x365277<_0x20f7ef['types']['length'];++_0x365277)_0x5be6d1['types'][_0x365277]=_0x20f7ef['types'][_0x365277];}if(_0x20f7ef['metadata']&&_0x20f7ef['metadata']['length']){for(_0x5be6d1['metadata']=[],_0x365277=0x0;_0x365277<_0x20f7ef['metadata']['length'];++_0x365277)_0x5be6d1['metadata'][_0x365277]=_0x59f061['OperationMetadataDescriptor']['toObject'](_0x20f7ef['metadata'][_0x365277],_0x129cfc);}return null!=_0x20f7ef['lastOperationId']&&_0x20f7ef['hasOwnProperty']('lastOperationId')&&(_0x5be6d1['lastOperationId']=_0x20f7ef['lastOperationId']),_0x5be6d1;},_0x49c9f2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x49c9f2['getTypeUrl']=function(_0x2295bb){return void 0x0===_0x2295bb&&(_0x2295bb='type.googleapis.com'),_0x2295bb+'/CollaborativeEditingUpdateMessage';},_0x49c9f2;}()),_0x59f061['CollaborativeEditingReconnectMessage']=(function(){function _0x13c5d3(_0x514204){if(_0x514204){for(var _0xa3c0ed=Object['keys'](_0x514204),_0x420d46=0x0;_0x420d46<_0xa3c0ed['length'];++_0x420d46)null!=_0x514204[_0xa3c0ed[_0x420d46]]&&'__proto__'!==_0xa3c0ed[_0x420d46]&&(this[_0xa3c0ed[_0x420d46]]=_0x514204[_0xa3c0ed[_0x420d46]]);}}return _0x13c5d3['prototype']['id']='',_0x13c5d3['prototype']['bundleVersion']='',_0x13c5d3['prototype']['lastKnowVersion']=0x0,_0x13c5d3['create']=function(_0x35b73c){return new _0x13c5d3(_0x35b73c);},_0x13c5d3['encode']=function(_0x171c74,_0x535923){return _0x535923||(_0x535923=_0x5cad89['create']()),null!=_0x171c74['id']&&Object['hasOwnProperty']['call'](_0x171c74,'id')&&_0x535923['uint32'](0xa)['string'](_0x171c74['id']),null!=_0x171c74['bundleVersion']&&Object['hasOwnProperty']['call'](_0x171c74,'bundleVersion')&&_0x535923['uint32'](0x12)['string'](_0x171c74['bundleVersion']),null!=_0x171c74['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x171c74,'lastKnowVersion')&&_0x535923['uint32'](0x18)['uint32'](_0x171c74['lastKnowVersion']),_0x535923;},_0x13c5d3['encodeDelimited']=function(_0x36d423,_0x397833){return this['encode'](_0x36d423,_0x397833)['ldelim']();},_0x13c5d3['decode']=function(_0x231e6c,_0x50e2e5,_0x39747e,_0x2f8795){if(_0x231e6c instanceof _0x15a427||(_0x231e6c=_0x15a427['create'](_0x231e6c)),void 0x0===_0x2f8795&&(_0x2f8795=0x0),_0x2f8795>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d7b16=void 0x0===_0x50e2e5?_0x231e6c['len']:_0x231e6c['pos']+_0x50e2e5,_0x1b8d90=new _0x59f061['CollaborativeEditingReconnectMessage']();_0x231e6c['pos']<_0x5d7b16;){var _0x3c43c7=_0x231e6c['uint32']();if(_0x3c43c7===_0x39747e)break;switch(_0x3c43c7>>>0x3){case 0x1:_0x1b8d90['id']=_0x231e6c['string']();break;case 0x2:_0x1b8d90['bundleVersion']=_0x231e6c['string']();break;case 0x3:_0x1b8d90['lastKnowVersion']=_0x231e6c['uint32']();break;default:_0x231e6c['skipType'](0x7&_0x3c43c7,_0x2f8795);}}return _0x1b8d90;},_0x13c5d3['decodeDelimited']=function(_0x994ac4){return _0x994ac4 instanceof _0x15a427||(_0x994ac4=new _0x15a427(_0x994ac4)),this['decode'](_0x994ac4,_0x994ac4['uint32']());},_0x13c5d3['verify']=function(_0x196a6c,_0x1cf031){return'object'!=typeof _0x196a6c||null===_0x196a6c?'object\x20expected':(void 0x0===_0x1cf031&&(_0x1cf031=0x0),_0x1cf031>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x196a6c['id']&&_0x196a6c['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x196a6c['id'])?'id:\x20string\x20expected':null!=_0x196a6c['bundleVersion']&&_0x196a6c['hasOwnProperty']('bundleVersion')&&!_0x6b5d1['isString'](_0x196a6c['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x196a6c['lastKnowVersion']&&_0x196a6c['hasOwnProperty']('lastKnowVersion')&&!_0x6b5d1['isInteger'](_0x196a6c['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x13c5d3['fromObject']=function(_0x15ad0c,_0x472bdd){if(_0x15ad0c instanceof _0x59f061['CollaborativeEditingReconnectMessage'])return _0x15ad0c;if(void 0x0===_0x472bdd&&(_0x472bdd=0x0),_0x472bdd>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2eeeb8=new _0x59f061['CollaborativeEditingReconnectMessage']();return null!=_0x15ad0c['id']&&(_0x2eeeb8['id']=String(_0x15ad0c['id'])),null!=_0x15ad0c['bundleVersion']&&(_0x2eeeb8['bundleVersion']=String(_0x15ad0c['bundleVersion'])),null!=_0x15ad0c['lastKnowVersion']&&(_0x2eeeb8['lastKnowVersion']=_0x15ad0c['lastKnowVersion']>>>0x0),_0x2eeeb8;},_0x13c5d3['toObject']=function(_0x332aaf,_0x56b358){_0x56b358||(_0x56b358={});var _0x1466f4={};return _0x56b358['defaults']&&(_0x1466f4['id']='',_0x1466f4['bundleVersion']='',_0x1466f4['lastKnowVersion']=0x0),null!=_0x332aaf['id']&&_0x332aaf['hasOwnProperty']('id')&&(_0x1466f4['id']=_0x332aaf['id']),null!=_0x332aaf['bundleVersion']&&_0x332aaf['hasOwnProperty']('bundleVersion')&&(_0x1466f4['bundleVersion']=_0x332aaf['bundleVersion']),null!=_0x332aaf['lastKnowVersion']&&_0x332aaf['hasOwnProperty']('lastKnowVersion')&&(_0x1466f4['lastKnowVersion']=_0x332aaf['lastKnowVersion']),_0x1466f4;},_0x13c5d3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x13c5d3['getTypeUrl']=function(_0x3500f8){return void 0x0===_0x3500f8&&(_0x3500f8='type.googleapis.com'),_0x3500f8+'/CollaborativeEditingReconnectMessage';},_0x13c5d3;}()),_0x59f061['CollaborativeEditingConnectMessage']=(function(){function _0x27c824(_0x388d6e){if(this['buffers']=[],this['types']=[],_0x388d6e){for(var _0x14a773=Object['keys'](_0x388d6e),_0x311ed6=0x0;_0x311ed6<_0x14a773['length'];++_0x311ed6)null!=_0x388d6e[_0x14a773[_0x311ed6]]&&'__proto__'!==_0x14a773[_0x311ed6]&&(this[_0x14a773[_0x311ed6]]=_0x388d6e[_0x14a773[_0x311ed6]]);}}return _0x27c824['prototype']['id']='',_0x27c824['prototype']['bundleVersion']='',_0x27c824['prototype']['buffers']=_0x6b5d1['emptyArray'],_0x27c824['prototype']['types']=_0x6b5d1['emptyArray'],_0x27c824['prototype']['lastOperationId']='',_0x27c824['create']=function(_0x48e247){return new _0x27c824(_0x48e247);},_0x27c824['encode']=function(_0x1af20e,_0x4a079f){if(_0x4a079f||(_0x4a079f=_0x5cad89['create']()),null!=_0x1af20e['id']&&Object['hasOwnProperty']['call'](_0x1af20e,'id')&&_0x4a079f['uint32'](0xa)['string'](_0x1af20e['id']),null!=_0x1af20e['bundleVersion']&&Object['hasOwnProperty']['call'](_0x1af20e,'bundleVersion')&&_0x4a079f['uint32'](0x12)['string'](_0x1af20e['bundleVersion']),null!=_0x1af20e['buffers']&&_0x1af20e['buffers']['length']){for(var _0x171454=0x0;_0x171454<_0x1af20e['buffers']['length'];++_0x171454)_0x4a079f['uint32'](0x1a)['bytes'](_0x1af20e['buffers'][_0x171454]);}if(null!=_0x1af20e['types']&&_0x1af20e['types']['length']){for(_0x4a079f['uint32'](0x22)['fork'](),_0x171454=0x0;_0x171454<_0x1af20e['types']['length'];++_0x171454)_0x4a079f['uint32'](_0x1af20e['types'][_0x171454]);_0x4a079f['ldelim']();}return null!=_0x1af20e['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1af20e,'lastOperationId')&&_0x4a079f['uint32'](0x2a)['string'](_0x1af20e['lastOperationId']),_0x4a079f;},_0x27c824['encodeDelimited']=function(_0x55b981,_0x3df68c){return this['encode'](_0x55b981,_0x3df68c)['ldelim']();},_0x27c824['decode']=function(_0x249c3a,_0x933400,_0x497f1d,_0x19f17a){if(_0x249c3a instanceof _0x15a427||(_0x249c3a=_0x15a427['create'](_0x249c3a)),void 0x0===_0x19f17a&&(_0x19f17a=0x0),_0x19f17a>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3e803c=void 0x0===_0x933400?_0x249c3a['len']:_0x249c3a['pos']+_0x933400,_0x5cd99b=new _0x59f061['CollaborativeEditingConnectMessage']();_0x249c3a['pos']<_0x3e803c;){var _0xfeea6b=_0x249c3a['uint32']();if(_0xfeea6b===_0x497f1d)break;switch(_0xfeea6b>>>0x3){case 0x1:_0x5cd99b['id']=_0x249c3a['string']();break;case 0x2:_0x5cd99b['bundleVersion']=_0x249c3a['string']();break;case 0x3:_0x5cd99b['buffers']&&_0x5cd99b['buffers']['length']||(_0x5cd99b['buffers']=[]),_0x5cd99b['buffers']['push'](_0x249c3a['bytes']());break;case 0x4:if(_0x5cd99b['types']&&_0x5cd99b['types']['length']||(_0x5cd99b['types']=[]),0x2==(0x7&_0xfeea6b)){for(var _0x2aed10=_0x249c3a['uint32']()+_0x249c3a['pos'];_0x249c3a['pos']<_0x2aed10;)_0x5cd99b['types']['push'](_0x249c3a['uint32']());}else _0x5cd99b['types']['push'](_0x249c3a['uint32']());break;case 0x5:_0x5cd99b['lastOperationId']=_0x249c3a['string']();break;default:_0x249c3a['skipType'](0x7&_0xfeea6b,_0x19f17a);}}return _0x5cd99b;},_0x27c824['decodeDelimited']=function(_0x993702){return _0x993702 instanceof _0x15a427||(_0x993702=new _0x15a427(_0x993702)),this['decode'](_0x993702,_0x993702['uint32']());},_0x27c824['verify']=function(_0x40343d,_0xb3e825){if('object'!=typeof _0x40343d||null===_0x40343d)return'object\x20expected';if(void 0x0===_0xb3e825&&(_0xb3e825=0x0),_0xb3e825>_0x6b5d1['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40343d['id']&&_0x40343d['hasOwnProperty']('id')&&!_0x6b5d1['isString'](_0x40343d['id']))return'id:\x20string\x20expected';if(null!=_0x40343d['bundleVersion']&&_0x40343d['hasOwnProperty']('bundleVersion')&&!_0x6b5d1['isString'](_0x40343d['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x40343d['buffers']&&_0x40343d['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x40343d['buffers']))return'buffers:\x20array\x20expected';for(var _0x2c3596=0x0;_0x2c3596<_0x40343d['buffers']['length'];++_0x2c3596)if(!(_0x40343d['buffers'][_0x2c3596]&&'number'==typeof _0x40343d['buffers'][_0x2c3596]['length']||_0x6b5d1['isString'](_0x40343d['buffers'][_0x2c3596])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x40343d['types']&&_0x40343d['hasOwnProperty']('types')){if(!Array['isArray'](_0x40343d['types']))return'types:\x20array\x20expected';for(_0x2c3596=0x0;_0x2c3596<_0x40343d['types']['length'];++_0x2c3596)if(!_0x6b5d1['isInteger'](_0x40343d['types'][_0x2c3596]))return'types:\x20integer[]\x20expected';}return null!=_0x40343d['lastOperationId']&&_0x40343d['hasOwnProperty']('lastOperationId')&&!_0x6b5d1['isString'](_0x40343d['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x27c824['fromObject']=function(_0x23a067,_0x705db7){if(_0x23a067 instanceof _0x59f061['CollaborativeEditingConnectMessage'])return _0x23a067;if(void 0x0===_0x705db7&&(_0x705db7=0x0),_0x705db7>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2f7206=new _0x59f061['CollaborativeEditingConnectMessage']();if(null!=_0x23a067['id']&&(_0x2f7206['id']=String(_0x23a067['id'])),null!=_0x23a067['bundleVersion']&&(_0x2f7206['bundleVersion']=String(_0x23a067['bundleVersion'])),_0x23a067['buffers']){if(!Array['isArray'](_0x23a067['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x2f7206['buffers']=[];for(var _0x230ee7=0x0;_0x230ee7<_0x23a067['buffers']['length'];++_0x230ee7)'string'==typeof _0x23a067['buffers'][_0x230ee7]?_0x6b5d1['base64']['decode'](_0x23a067['buffers'][_0x230ee7],_0x2f7206['buffers'][_0x230ee7]=_0x6b5d1['newBuffer'](_0x6b5d1['base64']['length'](_0x23a067['buffers'][_0x230ee7])),0x0):_0x23a067['buffers'][_0x230ee7]['length']>=0x0&&(_0x2f7206['buffers'][_0x230ee7]=_0x23a067['buffers'][_0x230ee7]);}if(_0x23a067['types']){if(!Array['isArray'](_0x23a067['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x2f7206['types']=[],_0x230ee7=0x0;_0x230ee7<_0x23a067['types']['length'];++_0x230ee7)_0x2f7206['types'][_0x230ee7]=_0x23a067['types'][_0x230ee7]>>>0x0;}return null!=_0x23a067['lastOperationId']&&(_0x2f7206['lastOperationId']=String(_0x23a067['lastOperationId'])),_0x2f7206;},_0x27c824['toObject']=function(_0x2ba648,_0x2b5177){_0x2b5177||(_0x2b5177={});var _0x139ee3={};if((_0x2b5177['arrays']||_0x2b5177['defaults'])&&(_0x139ee3['buffers']=[],_0x139ee3['types']=[]),_0x2b5177['defaults']&&(_0x139ee3['id']='',_0x139ee3['bundleVersion']='',_0x139ee3['lastOperationId']=''),null!=_0x2ba648['id']&&_0x2ba648['hasOwnProperty']('id')&&(_0x139ee3['id']=_0x2ba648['id']),null!=_0x2ba648['bundleVersion']&&_0x2ba648['hasOwnProperty']('bundleVersion')&&(_0x139ee3['bundleVersion']=_0x2ba648['bundleVersion']),_0x2ba648['buffers']&&_0x2ba648['buffers']['length']){_0x139ee3['buffers']=[];for(var _0x27123b=0x0;_0x27123b<_0x2ba648['buffers']['length'];++_0x27123b)_0x139ee3['buffers'][_0x27123b]=_0x2b5177['bytes']===String?_0x6b5d1['base64']['encode'](_0x2ba648['buffers'][_0x27123b],0x0,_0x2ba648['buffers'][_0x27123b]['length']):_0x2b5177['bytes']===Array?Array['prototype']['slice']['call'](_0x2ba648['buffers'][_0x27123b]):_0x2ba648['buffers'][_0x27123b];}if(_0x2ba648['types']&&_0x2ba648['types']['length']){for(_0x139ee3['types']=[],_0x27123b=0x0;_0x27123b<_0x2ba648['types']['length'];++_0x27123b)_0x139ee3['types'][_0x27123b]=_0x2ba648['types'][_0x27123b];}return null!=_0x2ba648['lastOperationId']&&_0x2ba648['hasOwnProperty']('lastOperationId')&&(_0x139ee3['lastOperationId']=_0x2ba648['lastOperationId']),_0x139ee3;},_0x27c824['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x27c824['getTypeUrl']=function(_0x3b4b8c){return void 0x0===_0x3b4b8c&&(_0x3b4b8c='type.googleapis.com'),_0x3b4b8c+'/CollaborativeEditingConnectMessage';},_0x27c824;}()),_0x59f061['OperationMetadataDescriptor']=(function(){function _0x2c9e82(_0x5be99b){if(_0x5be99b){for(var _0xff50d4=Object['keys'](_0x5be99b),_0x2a76ba=0x0;_0x2a76ba<_0xff50d4['length'];++_0x2a76ba)null!=_0x5be99b[_0xff50d4[_0x2a76ba]]&&'__proto__'!==_0xff50d4[_0x2a76ba]&&(this[_0xff50d4[_0x2a76ba]]=_0x5be99b[_0xff50d4[_0x2a76ba]]);}}return _0x2c9e82['prototype']['userId']='',_0x2c9e82['prototype']['type']='',_0x2c9e82['prototype']['createdAt']='',_0x2c9e82['create']=function(_0x2d7d2b){return new _0x2c9e82(_0x2d7d2b);},_0x2c9e82['encode']=function(_0x519556,_0x3eb88b){return _0x3eb88b||(_0x3eb88b=_0x5cad89['create']()),null!=_0x519556['userId']&&Object['hasOwnProperty']['call'](_0x519556,'userId')&&_0x3eb88b['uint32'](0xa)['string'](_0x519556['userId']),null!=_0x519556['type']&&Object['hasOwnProperty']['call'](_0x519556,'type')&&_0x3eb88b['uint32'](0x12)['string'](_0x519556['type']),null!=_0x519556['createdAt']&&Object['hasOwnProperty']['call'](_0x519556,'createdAt')&&_0x3eb88b['uint32'](0x1a)['string'](_0x519556['createdAt']),_0x3eb88b;},_0x2c9e82['encodeDelimited']=function(_0xf63b1e,_0x796a65){return this['encode'](_0xf63b1e,_0x796a65)['ldelim']();},_0x2c9e82['decode']=function(_0xa7d385,_0x33921a,_0x4ac822,_0x298db4){if(_0xa7d385 instanceof _0x15a427||(_0xa7d385=_0x15a427['create'](_0xa7d385)),void 0x0===_0x298db4&&(_0x298db4=0x0),_0x298db4>_0x15a427['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2432b9=void 0x0===_0x33921a?_0xa7d385['len']:_0xa7d385['pos']+_0x33921a,_0x2fdc42=new _0x59f061['OperationMetadataDescriptor']();_0xa7d385['pos']<_0x2432b9;){var _0x5b59b5=_0xa7d385['uint32']();if(_0x5b59b5===_0x4ac822)break;switch(_0x5b59b5>>>0x3){case 0x1:_0x2fdc42['userId']=_0xa7d385['string']();break;case 0x2:_0x2fdc42['type']=_0xa7d385['string']();break;case 0x3:_0x2fdc42['createdAt']=_0xa7d385['string']();break;default:_0xa7d385['skipType'](0x7&_0x5b59b5,_0x298db4);}}return _0x2fdc42;},_0x2c9e82['decodeDelimited']=function(_0x34bd03){return _0x34bd03 instanceof _0x15a427||(_0x34bd03=new _0x15a427(_0x34bd03)),this['decode'](_0x34bd03,_0x34bd03['uint32']());},_0x2c9e82['verify']=function(_0x228fbd,_0x3f4c13){return'object'!=typeof _0x228fbd||null===_0x228fbd?'object\x20expected':(void 0x0===_0x3f4c13&&(_0x3f4c13=0x0),_0x3f4c13>_0x6b5d1['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x228fbd['userId']&&_0x228fbd['hasOwnProperty']('userId')&&!_0x6b5d1['isString'](_0x228fbd['userId'])?'userId:\x20string\x20expected':null!=_0x228fbd['type']&&_0x228fbd['hasOwnProperty']('type')&&!_0x6b5d1['isString'](_0x228fbd['type'])?'type:\x20string\x20expected':null!=_0x228fbd['createdAt']&&_0x228fbd['hasOwnProperty']('createdAt')&&!_0x6b5d1['isString'](_0x228fbd['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x2c9e82['fromObject']=function(_0x590bf5,_0x185537){if(_0x590bf5 instanceof _0x59f061['OperationMetadataDescriptor'])return _0x590bf5;if(void 0x0===_0x185537&&(_0x185537=0x0),_0x185537>_0x6b5d1['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x28d5f8=new _0x59f061['OperationMetadataDescriptor']();return null!=_0x590bf5['userId']&&(_0x28d5f8['userId']=String(_0x590bf5['userId'])),null!=_0x590bf5['type']&&(_0x28d5f8['type']=String(_0x590bf5['type'])),null!=_0x590bf5['createdAt']&&(_0x28d5f8['createdAt']=String(_0x590bf5['createdAt'])),_0x28d5f8;},_0x2c9e82['toObject']=function(_0x539aed,_0x485f7e){_0x485f7e||(_0x485f7e={});var _0x2f3321={};return _0x485f7e['defaults']&&(_0x2f3321['userId']='',_0x2f3321['type']='',_0x2f3321['createdAt']=''),null!=_0x539aed['userId']&&_0x539aed['hasOwnProperty']('userId')&&(_0x2f3321['userId']=_0x539aed['userId']),null!=_0x539aed['type']&&_0x539aed['hasOwnProperty']('type')&&(_0x2f3321['type']=_0x539aed['type']),null!=_0x539aed['createdAt']&&_0x539aed['hasOwnProperty']('createdAt')&&(_0x2f3321['createdAt']=_0x539aed['createdAt']),_0x2f3321;},_0x2c9e82['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2c9e82['getTypeUrl']=function(_0x4afa7f){return void 0x0===_0x4afa7f&&(_0x4afa7f='type.googleapis.com'),_0x4afa7f+'/OperationMetadataDescriptor';},_0x2c9e82;}()),_0x59f061;})());class _0x4341e0{static['decode'](_0x2b687d,_0x5855a1){const _0x289adb=_0x16c7fa(_0x5855a1)['decode']('undefined'==typeof window?_0x2b687d:new Uint8Array(_0x2b687d));return _0x5855a1['fromJSON']({..._0x289adb});}static['encode'](_0x32e190){const _0x105aff=_0x16c7fa(_0x32e190['constructor']),_0x2a3853=_0x32e190['toJSON'](),_0x4ac05b=_0x105aff['verify'](_0x2a3853);if(_0x4ac05b)throw Error(_0x4ac05b);return _0x105aff['encode'](_0x105aff['create'](_0x2a3853))['finish']();}}function _0x16c7fa(_0x2db95c){return _0x3b7a03[_0x2db95c['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x533a19{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x4f0c77){super(),this['ids']=_0x4f0c77;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x3c1a05){return new GetManyUsersMessage(_0x3c1a05['ids']);}}class GetManyUsersResponse extends _0x533a19{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x15b54d){super(),this['users']=_0x15b54d;}['toJSON'](){return{'users':this['users']['map'](_0x589095)};}static['fromJSON'](_0x4c03f3){return new GetManyUsersResponse(_0x4c03f3['users']['map'](_0xc4a2b8));}}function _0x589095(_0x139908){return{'attributes':Object['keys'](_0x139908)['map'](_0x176f13=>({'key':_0x176f13,'value':JSON['stringify'](_0x139908[_0x176f13])}))};}function _0xc4a2b8(_0x2ed4c4){return _0x2ed4c4['attributes']['reduce']((_0x423a6c,_0x352fe6)=>(_0x423a6c[_0x352fe6['key']]=_0x352fe6['value']?JSON['parse'](_0x352fe6['value']):null,_0x423a6c),{});}class _0x49d5ab{static ['_SERVICE']=0x2;constructor(_0x37cd96={}){this['_attributes']=new Map();for(const _0x109271 of Object['keys'](_0x37cd96))'id'!==_0x109271?(this['_attributes']['set'](_0x109271,_0x37cd96[_0x109271]),Object['defineProperty'](this,_0x109271,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x109271)})):this['id']=_0x37cd96['id'];}static['fromData'](_0x1d4cb2){return new _0x49d5ab(_0x1d4cb2);}static async['get'](_0x3011fd,_0x27aecc){const _0x5bf630=new GetUserMessage(_0x27aecc);try{const _0x5d6409=await _0x3011fd['_sendRequest'](_0x49d5ab['_SERVICE'],GetUserMessage['TYPE'],_0x4341e0['encode'](_0x5bf630)),_0x138479=_0x4341e0['decode'](_0x5d6409,GetUserResponse);return new _0x49d5ab(_0x138479['attributes']);}catch{return new _0x49d5ab({'id':_0x27aecc});}}static async['getMany'](_0x5ae593,_0x1a3882){const _0x57aa26=new GetManyUsersMessage(_0x1a3882);try{const _0x1b036b=await _0x5ae593['_sendRequest'](_0x49d5ab['_SERVICE'],GetManyUsersMessage['TYPE'],_0x4341e0['encode'](_0x57aa26));return _0x4341e0['decode'](_0x1b036b,GetManyUsersResponse)['users']['map'](_0x50d99b=>new _0x49d5ab(_0x50d99b));}catch{return _0x1a3882['map'](_0x461d56=>new _0x49d5ab({'id':_0x461d56}));}}}class _0x2f9eb2 extends _0x533a19{['type'];['socketId'];['data'];static ['DESCRIPTOR_NAME']='ChannelMessage';static ['DESCRIPTOR']={'fields':{'type':{'type':'uint32','id':0x1},'socketId':{'type':'string','id':0x2},'data':{'type':'bytes','id':0x3}}};constructor(_0x317cea,_0x571c07,_0x57cd02){super(),this['type']=_0x317cea,this['socketId']=_0x571c07,this['data']=_0x57cd02;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x16c35a){return new _0x2f9eb2(_0x16c35a['type'],_0x16c35a['socketId'],_0x16c35a['data']);}}class _0x3d278e extends/* #__PURE__ -- @preserve */
_0x31c75c['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0xbc8b5f,_0xcd8fc,_0x1a5e98){super(),this['_channelName']=_0xbc8b5f,this['_wsGateway']=_0xcd8fc,this['_socket']=_0x1a5e98,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x4f08c8,_0x4e1ef0=!0x1){let _0x735939='';return _0x4e1ef0&&(_0x735939+='all:'),_0x735939+='event',_0x4f08c8&&(_0x735939+=':'+_0x4f08c8),_0x735939;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x90553a=>{const _0x53efc3=_0x4341e0['decode'](_0x90553a,_0x2f9eb2);this['fire'](this['getEventName'](_0x53efc3['type'],!0x0),_0x53efc3['data'],_0x53efc3['socketId']),_0x53efc3['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x53efc3['type']),_0x53efc3['data'],_0x53efc3['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x32a0ae,_0x3c1893,_0x12fd2d=null,_0x13c70d={}){super('cloud-services-internal-error:\x20'+_0x32a0ae),this['context']=_0x3c1893,this['code']=_0x12fd2d,this['data']=_0x13c70d,this['name']='CKEditorError';}static['fromPublicError'](_0x57ddcb){return new CKEditorCloudServicesError(function(_0x316239){let _0x1fad2f='cloud-services-error:\x20'+_0x316239['message'];return _0x316239['data']&&(_0x1fad2f+='\x0aError\x20data:\x20'+JSON['stringify'](_0x316239['data'])),_0x316239['explanation']&&(_0x1fad2f+='\x0aExplanation:\x20'+_0x316239['explanation']),_0x316239['action']&&(_0x1fad2f+='\x0aAction:\x20'+_0x316239['action']),_0x316239['traceId']&&(_0x1fad2f+='\x0aTraceId:\x20'+_0x316239['traceId']),_0x316239['code']&&(_0x1fad2f+='\x0aCode:\x20'+_0x316239['code']),_0x1fad2f;}(_0x57ddcb),_0x57ddcb);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0xbd08b,_0x4315de){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0xbd08b,this['code']=_0x4315de['code'],this['traceId']=_0x4315de['traceId'],this['data']=_0x4315de['data'];}static['fromPublicError'](_0x5762ae){return new CKEditorCloudServicesServerError(function(_0x35eacb){let _0x5bd84b='cloud-services-server-error:\x20'+_0x35eacb['message'];return _0x35eacb['explanation']&&(_0x5bd84b+='\x0aExplanation:\x20'+_0x35eacb['explanation']),_0x35eacb['action']&&(_0x5bd84b+='\x0aAction:\x20'+_0x35eacb['action']),_0x35eacb['traceId']&&(_0x5bd84b+='\x0aTraceId:\x20'+_0x35eacb['traceId']),_0x35eacb['code']&&(_0x5bd84b+='\x0aCode:\x20'+_0x35eacb['code']),_0x5bd84b;}(_0x5762ae),_0x5762ae);}}class PacketOptionsMessage extends _0x533a19{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x249b12,_0x1bb085=[],_0x1fbaf8=[]){super(),this['flags']=_0x249b12,this['rooms']=_0x1bb085,this['except']=_0x1fbaf8;}['toJSON'](){return{'flags':this['flags']?JSON['stringify'](this['flags']):void 0x0,'rooms':this['rooms']?.['length']?this['rooms']:void 0x0,'except':this['except']?.['length']?this['except']:void 0x0};}static['fromJSON'](_0x1116cc){return new PacketOptionsMessage(_0x1116cc['flags']&&JSON['parse'](_0x1116cc['flags']),_0x1116cc['rooms'],_0x1116cc['except']);}}const _0x1f7245=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x24cbca){let _0x621669=0x0;for(let _0x3a6260=0x0;_0x3a6260<_0x24cbca['length'];_0x3a6260++)_0x621669+=_0x24cbca[_0x3a6260]*Math['pow'](0xa,_0x24cbca['length']-_0x3a6260-0x1);return _0x621669;}static['getType'](_0x37af4c){if(ParserUtils['isBuffer'](_0x37af4c))return 0x1;const _0x5025d6=typeof _0x37af4c;return'string'===_0x5025d6?0x2:'number'===_0x5025d6?0x3:0x4;}static['isBuffer'](_0xcac52f){return _0x1f7245&&Buffer['isBuffer'](_0xcac52f)||_0xcac52f instanceof ArrayBuffer||_0xcac52f instanceof Uint8Array||this['_isBufferView'](_0xcac52f);}static['_isBufferView'](_0x2ae944){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2ae944):_0x2ae944['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x533a19{['data'];['data1'];static['create'](_0x4a1c7a,_0x1bac3d){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x32f60d,_0x4f342a){super(),this['data']=_0x32f60d,this['data1']=_0x4f342a;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5402c3){return new NumberBytesPacketDataMessage(_0x5402c3['data'],_0x5402c3['data1']);}static['create'](_0x132f76,_0x1df0a1){return new NumberBytesPacketDataMessage(_0x132f76,_0x1df0a1);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x3d30cc,_0x406564){super(),this['data']=_0x3d30cc,this['data1']=_0x406564;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3d0627){return new StringBytesPacketDataMessage(_0x3d0627['data'],_0x3d0627['data1']);}static['create'](_0x570d20,_0x25b13c){return new StringBytesPacketDataMessage(_0x570d20,_0x25b13c);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x50f99d,_0x15acb5){super(),this['data']=_0x50f99d,this['data1']=_0x15acb5;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x504140){return new BytesBytesPacketDataMessage(_0x504140['data'],_0x504140['data1']);}static['create'](_0x253672,_0x253155){return new BytesBytesPacketDataMessage(_0x253672,_0x253155);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0xaa05a9,_0x14da63){super(),this['data']=_0xaa05a9,this['data1']=_0x14da63;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x40f691){return new StringObjectPacketDataMessage(_0x40f691['data'],_0x40f691['data1']&&JSON['parse'](_0x40f691['data1']));}static['create'](_0x54a66f,_0x27b51c){return new StringObjectPacketDataMessage(_0x54a66f,_0x27b51c);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x4b0e7b,_0xa87d6e){super(),this['data']=_0x4b0e7b,this['data1']=_0xa87d6e;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x17106a){return new NumberObjectPacketDataMessage(_0x17106a['data'],_0x17106a['data1']&&JSON['parse'](_0x17106a['data1']));}static['create'](_0x3abd5f,_0x4def05){return new NumberObjectPacketDataMessage(_0x3abd5f,_0x4def05);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x560adb,_0x34efc1){super(),this['data']=_0x560adb,this['data1']=_0x34efc1;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0xed19a0){return new ObjectObjectPacketDataMessage(_0xed19a0['data']&&JSON['parse'](_0xed19a0['data']),_0xed19a0['data1']&&JSON['parse'](_0xed19a0['data1']));}static['create'](_0x2fa4fb,_0x43e302){return new ObjectObjectPacketDataMessage(_0x2fa4fb,_0x43e302);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x31db2b,_0x307b24){super(),this['data']=_0x31db2b,this['data1']=_0x307b24;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x51f50e){return new ObjectBufferPacketDataMessage(_0x51f50e['data']&&JSON['parse'](_0x51f50e['data']),_0x51f50e['data1']);}static['create'](_0x1e319f,_0x45a7a4){return new ObjectBufferPacketDataMessage(_0x1e319f,_0x45a7a4);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x23d7ca,_0x36d98d){super(),this['data']=_0x23d7ca,this['data1']=_0x36d98d;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x588e7a){return new StringStringPacketDataMessage(_0x588e7a['data'],_0x588e7a['data1']);}static['create'](_0x46daee,_0x56fa54){return new StringStringPacketDataMessage(_0x46daee,_0x56fa54);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x44611a,_0x550b98){super(),this['data']=_0x44611a,this['data1']=_0x550b98;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5c9e0c){return new StringNumberPacketDataMessage(_0x5c9e0c['data'],_0x5c9e0c['data1']);}static['create'](_0x21d92d,_0x4da0e8){return new StringNumberPacketDataMessage(_0x21d92d,_0x4da0e8);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x3b5589,_0x50d4b5){super(),this['data']=_0x3b5589,this['data1']=_0x50d4b5;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1b7bdb){return new NumberNumberPacketDataMessage(_0x1b7bdb['data'],_0x1b7bdb['data1']);}static['create'](_0x532d13,_0x234486){return new NumberNumberPacketDataMessage(_0x532d13,_0x234486);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x13daac,_0x739770){super(),this['data']=_0x13daac,this['data1']=_0x739770;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4d3e8d){return new NumberStringPacketDataMessage(_0x4d3e8d['data'],_0x4d3e8d['data1']);}static['create'](_0x27dcea,_0x137782){return new NumberStringPacketDataMessage(_0x27dcea,_0x137782);}}const _0x39f0cb=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x232a1e,_0x1ed49d)=>(_0x232a1e[_0x1ed49d['TYPE']]=_0x1ed49d,_0x232a1e),{}))());class PacketMessage extends _0x533a19{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x526134,_0x5dd7c4,_0x1cba82,_0x26c65a='/',_0x5d358e){super(),this['type']=_0x526134,this['data']=_0x5dd7c4,this['id']=_0x1cba82,this['nsp']=_0x26c65a,this['options']=_0x5d358e??new PacketOptionsMessage();}get['packetData'](){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}['toJSON'](){const _0x286aea=_0x4341e0['encode'](this['options']),_0x3ec82f=_0x4341e0['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x3ec82f,'options':_0x286aea};}static['fromJSON'](_0x151447){const _0x38ea3e=Math['floor'](_0x151447['type']/0xa);return new PacketMessage(_0x151447['type']-0xa*_0x38ea3e,_0x4341e0['decode'](_0x151447['data'],_0x39f0cb[_0x38ea3e]),_0x151447['id'],_0x151447['nsp'],_0x151447['options']?_0x4341e0['decode'](_0x151447['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x99c6a1,_0x35640d={}){const _0x2f7f9e=ParserUtils['getPacketType'](ParserUtils['getType'](_0x99c6a1['data'][0x0]),ParserUtils['getType'](_0x99c6a1['data'][0x1]??_0x99c6a1['data'][0x0]));return new PacketMessage(_0x99c6a1['type'],_0x39f0cb[_0x2f7f9e]['create'](_0x99c6a1['data'][0x0],_0x99c6a1['data'][0x1]),_0x99c6a1['id'],_0x99c6a1['nsp'],new PacketOptionsMessage(_0x35640d['flags'],_0x35640d['rooms'],_0x35640d['except']));}}class PacketParser{['encode'](_0x177ce1,_0x620979,_0x46f3ba,_0x14c65b='/',_0x321f2b={}){if(_0x620979['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x3b4222={'type':_0x177ce1,'data':_0x620979,'id':_0x46f3ba,'nsp':_0x14c65b};return _0x4341e0['encode'](PacketMessage['create'](_0x3b4222,_0x321f2b));}['decode'](_0x21aa13){const _0x8f8442=_0x4341e0['decode'](_0x21aa13,PacketMessage);return{'packet':{'id':_0x8f8442['id'],'type':_0x8f8442['type'],'data':_0x8f8442['packetData'],'nsp':_0x8f8442['nsp']},'options':{'flags':_0x8f8442['options']['flags'],'rooms':_0x8f8442['options']['rooms'],'except':_0x8f8442['options']['except']}};}}const _0x531ab3=/* #__PURE__ -- @preserve */
((()=>[_0x31b728['EVENT'],_0x31b728['ACK'],_0x31b728['BINARY_ACK'],_0x31b728['BINARY_EVENT']])());class _0x2f0bf2 extends _0x291806{['_packetParser'];constructor(_0x2c6f69){super(),this['_packetParser']=_0x2c6f69??new PacketParser();}['encode'](_0x233e50){if(_0x531ab3['includes'](_0x233e50['type']))try{return[this['_packetParser']['encode'](_0x233e50['type'],_0x233e50['data'],_0x233e50['id'],_0x233e50['nsp'])];}catch(_0x1d5c32){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x1d5c32['message']}});}return super['encode'](_0x233e50);}}class _0x327ce3 extends _0x157fc1{['_packetParser'];constructor(_0x4f6737){super(),this['_packetParser']=_0x4f6737??new PacketParser();}['add'](_0x5a3bfd){if(!ParserUtils['isBuffer'](_0x5a3bfd))return super['add'](_0x5a3bfd);let _0x1d11b0;try{_0x1d11b0=this['_packetParser']['decode'](_0x5a3bfd)['packet'];}catch{return super['add'](_0x5a3bfd);}super['emitReserved']('decoded',_0x1d11b0);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x2825a1();['timeout'];constructor(_0x476065,_0x480284){this['_context']=_0x476065,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x480284);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x54456a){this['_deferredPromise']['resolve'](_0x54456a);}['error'](_0x4134aa){this['_deferredPromise']['reject'](_0x4134aa);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x20468f){this['_context']=_0x20468f;}async['send'](_0x5bbae3,_0x25026b=0xafc8){const _0x36e822=this['_createRequest'](_0x25026b);try{return _0x5bbae3(_0x36e822),await _0x36e822['promise'];}finally{this['_finishRequest'](_0x36e822);}}['errorAll'](_0x3499b6){for(const _0x1886fa of this['_requests'])_0x1886fa['error'](_0x3499b6);}['waitForAllRequests'](_0x48927d=0xafc8){return this['_waitForRequests'](_0x48927d);}['_createRequest'](_0x312613){const _0x23ed3a=new WebSocketRequest(this['_context'],_0x312613);return this['_requests']['add'](_0x23ed3a),_0x23ed3a;}['_finishRequest'](_0x3b2a6c){this['_requests']['delete'](_0x3b2a6c),clearTimeout(_0x3b2a6c['timeout']);}async['_waitForRequests'](_0xd98f2=0x1388,_0x59ab05=0x0){return!this['_requests']['size']||_0x59ab05>=_0xd98f2/0x1f4?Promise['resolve']():(await new Promise(_0x14354e=>{setTimeout(_0x14354e,0x1f4);}),this['_waitForRequests'](_0xd98f2,_0x59ab05++));}}function _0x2825a1(){let _0x2c0bf8,_0x3a38ba;const _0x1310c5=new Promise((_0x9179da,_0x463ab1)=>{_0x2c0bf8=_0x9179da,_0x3a38ba=_0x463ab1;});return{'resolve':_0x2c0bf8,'reject':_0x3a38ba,'promise':_0x1310c5};}const _0x5e5616='disconnected',_0x3eddf5='connecting',_0x507a0d='connected';let _0xb2d773=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x5e5616)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x3eddf5)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x507a0d)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0x31c75c['priorities']['get']('highest')+0xf423f)());constructor(_0x14c09b,_0x182294,_0x3e03da,_0x2d9b68,_0x10f581){if(super(),this['_token']=_0x182294,this['_options']=_0x3e03da??{},this['_connectionProvider']=_0x2d9b68??_0x193c39,this['_userFactory']=_0x10f581??_0x49d5ab['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x14c09b)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=_0x3aa753(_0x14c09b['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x5e5616),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x4e58fc,_0x5b8650,_0x31c920)=>{if(this['_debugEvent']('ws-gw:change:state',_0x31c920),_0x31c920!==WebSocketGateway['STATE_CONNECTED']){if(_0x31c920===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x49d5ab,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x178633,_0x1c7d81)=>{this['_options']['onError']?this['_options']['onError'](_0x1c7d81):console['error'](_0x1c7d81);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x233207){return this['_requestsManager']['waitForAllRequests'](_0x233207);}['disconnect'](){this['state']!==_0x5e5616&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x5e5616);}async['reconnect'](){this['_socket']||this['state']!==_0x5e5616||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x362b18,_0x4ff1c1='local.cs.dev:443/ws-v2',_0x17d52e={},_0xe5b875=_0x193c39,_0x4ced9b=_0x49d5ab['get']){const _0x14c3b3=new this(_0x4ff1c1,_0x362b18,_0x17d52e,_0xe5b875,_0x4ced9b);return await _0x14c3b3['_connect'](),_0x14c3b3;}['_sendRequest'](_0x58a09b,_0x5bdba1,_0x271f55){if(!_0x58a09b)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x3a2121=new ArrayBuffer(_0x271f55['length']+0x2),_0xa22be1=new Uint8Array(_0x3a2121);return _0xa22be1[0x0]=_0x58a09b,_0xa22be1[0x1]=parseInt(_0x5bdba1),_0xa22be1['set'](_0x271f55,0x2),this['_emit'](0x1,_0xa22be1);}['_getChannel'](_0x1da044,_0x398d34){const _0x7b8e42=''+_0x1da044+_0x398d34;return!this['_channels']['has'](_0x7b8e42)&&this['_socket']&&this['_channels']['set'](_0x7b8e42,new _0x3d278e(_0x7b8e42,this,this['_socket'])),this['_channels']['get'](_0x7b8e42);}['_connect'](){return new Promise((_0x26563d,_0x52dbe6)=>{const _0xcb91ca=this['_setupSocket']();!this['socketId']&&_0xcb91ca['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x52dbe6);}),_0xcb91ca['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x26563d();}catch(_0x27c69e){_0x52dbe6(_0x27c69e);}}),_0xcb91ca['connect']();});}['_getPortByProtocol'](_0x2bbe96){return['http:','ws:']['includes'](_0x2bbe96)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x55f3a9=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x2f99fd=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x55f3a9,_0x3d2488=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x2b522a=this['_connectionProvider'](_0x2f99fd,{'parser':{'Encoder':_0x2f0bf2,'Decoder':_0x327ce3},'path':_0x3d2488+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'54.0.5'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x3eddf5,_0x2b522a['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x2b522a['id'];}),_0x2b522a['on']('connect_error',_0x1dcd2d=>{this['_debugEvent']('connect_error',_0x1dcd2d);}),_0x2b522a['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x2b522a['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x2b522a['io']['on']('reconnect_attempt',_0x299900=>{this['_debugEvent']('reconnect_attempt',_0x299900),this['state']=_0x3eddf5,this['_connectionAttempt']=_0x299900;}),_0x2b522a['on']('unauthorized',_0x21686a=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x21686a);}),_0x2b522a['on']('authenticationRequest',async _0x3afd6f=>{this['_debugEvent']('authenticationRequest',_0x3afd6f['attempt']),await this['_onReconnect']();}),this['_socket']=_0x2b522a,_0x2b522a;}['_emit'](_0x529006,_0x27774c){const _0x2a0c27=this['_socket'];return this['_requestsManager']['send'](_0x570e8b=>{_0x2a0c27['emit'](_0x529006,_0x27774c,(_0x34c6e4,_0x21205e)=>{if(_0x34c6e4)return _0x570e8b['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x34c6e4));_0x570e8b['response'](_0x21205e);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x4f4d3f,_0x2b8049){this['_socketAuth']={'environmentId':_0x4f4d3f,'userId':_0x2b8049,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x507a0d;const _0x264aea=async(_0x4c56e1,_0x2464dd,_0x203b14)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x203b14);}catch{}};this['_token']['on']('change:value',_0x264aea),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x264aea);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x5e5616,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x22cd67 of this['_channels']['values']())_0x22cd67['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x37d70d,_0x979101){if(!this['_isDebugModeEnabled']())return;const _0x584c60=void 0x0!==_0x979101?',\x20data:\x20'+_0x979101:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x37d70d+_0x584c60);}['_reconnectionAttemptError'](_0x42932b){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x42932b(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}['_onUnauthorized']({error:_0x53540a}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x53540a));}async['_authenticate'](_0x3f1633){try{this['_debugEvent']('authenticate:start');const _0x28b2f8=await this['_emit'](0x2,{'token':_0x3f1633});this['_debugEvent']('authenticate:success','envId:\x20'+_0x28b2f8['environmentId']+',\x20userId:\x20'+_0x28b2f8['userId']),this['_addAuthData'](_0x28b2f8['environmentId'],_0x28b2f8['userId']);}catch(_0x1ea398){throw this['_debugEvent']('authenticate:error',_0x1ea398['message']),this['_removeAuthData'](),_0x1ea398;}}['_isDebugModeEnabled'](){return!!_0x31c75c['global']['window']['localStorage']&&'true'===(_0x31c75c['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x533a19{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x5e9eb4){super(),this['bundleVersion']=_0x5e9eb4;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x4ec228){return new IsEditorBundleUploadedMessage(_0x4ec228['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x533a19{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x17bf26){super(),this['isUploaded']=_0x17bf26;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x5ba08d){return new IsEditorBundleUploadedResponse(_0x5ba08d['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0x31c75c['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x4eff77,_0x4f5fb6){const _0x4a58ba=new IsEditorBundleUploadedMessage(_0x4f5fb6);if(_0x4eff77['state']!==_0x507a0d)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4eff77);const _0x36d8d1=await _0x4eff77['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x4341e0['encode'](_0x4a58ba));return _0x4341e0['decode'](_0x36d8d1,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x533a19{['documentId'];['revisionId'];static ['TYPE']='123';static ['READABLE_TYPE_NAME']='getRevision';static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'revisionId':{'type':'string','id':0x2}}};constructor(_0x2ae30f,_0x4db608){super(),this['documentId']=_0x2ae30f,this['revisionId']=_0x4db608;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x54e0c3){return new RevisionHistoryGetRevisionMessage(_0x54e0c3['documentId'],_0x54e0c3['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](_0x200e7e){return{'revisionId':_0x200e7e['id'],'name':_0x200e7e['name'],'creatorId':_0x200e7e['creatorId'],'createdAt':_0x200e7e['createdAt'],'fromVersion':_0x200e7e['fromVersion'],'toVersion':_0x200e7e['toVersion'],'isEmptyCurrent':_0x200e7e['isEmptyCurrent'],'diffData':_0x200e7e['diffData']?JSON['stringify'](_0x200e7e['diffData']):void 0x0,'attributes':_0x200e7e['attributes'],'authorsIds':_0x200e7e['authorsIds']};}static['toJSON'](_0x8ae439){return{'revisionId':_0x8ae439['revisionId'],'name':_0x8ae439['name'],'creatorId':_0x8ae439['creatorId'],'authorsIds':_0x8ae439['authorsIds']?JSON['stringify'](_0x8ae439['authorsIds']):void 0x0,'diffData':_0x8ae439['diffData'],'createdAt':_0x8ae439['createdAt']?.['toISOString'](),'attributes':_0x8ae439['attributes']?JSON['stringify'](_0x8ae439['attributes']):void 0x0,'toVersion':_0x8ae439['toVersion'],'fromVersion':_0x8ae439['fromVersion'],'isEmptyCurrent':_0x8ae439['isEmptyCurrent']};}static['fromJSON'](_0x5e8fb5){return{'revisionId':(_0x5e8fb5={..._0x5e8fb5})['revisionId'],'name':_0x5e8fb5['name'],'creatorId':_0x5e8fb5['creatorId'],'authorsIds':_0x5e8fb5['authorsIds']?JSON['parse'](_0x5e8fb5['authorsIds']):void 0x0,'diffData':_0x5e8fb5['diffData'],'createdAt':_0x5e8fb5['createdAt']?new Date(_0x5e8fb5['createdAt']):void 0x0,'attributes':_0x5e8fb5['attributes']?JSON['parse'](_0x5e8fb5['attributes']):void 0x0,'toVersion':_0x5e8fb5['toVersion'],'fromVersion':_0x5e8fb5['fromVersion'],'isEmptyCurrent':_0x5e8fb5['isEmptyCurrent']};}static['toObject'](_0x591068){return function(_0x31aae8){for(const [_0x2bea72,_0xf4b6ab]of Object['entries'](_0x31aae8))void 0x0===_0xf4b6ab&&delete _0x31aae8[_0x2bea72];return _0x31aae8;}({'id':_0x591068['revisionId'],'name':_0x591068['name'],'creatorId':_0x591068['creatorId'],'createdAt':_0x591068['createdAt'],'fromVersion':_0x591068['fromVersion'],'toVersion':_0x591068['toVersion'],'isEmptyCurrent':_0x591068['isEmptyCurrent'],'diffData':_0x591068['diffData']?JSON['parse'](_0x591068['diffData']):void 0x0,'attributes':_0x591068['attributes'],'authorsIds':_0x591068['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x533a19{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x4e192b,_0x1931b5,_0x8f333a,_0x4a932d,_0x33eb2d,_0x5bd9f6,_0xb32a1a,_0x540acb,_0x3368cc,_0x35d093){super(),this['revisionId']=_0x4e192b,this['name']=_0x1931b5,this['creatorId']=_0x8f333a,this['authorsIds']=_0x4a932d,this['createdAt']=_0x33eb2d,this['diffData']=_0x5bd9f6,this['attributes']=_0xb32a1a,this['fromVersion']=_0x540acb,this['toVersion']=_0x3368cc,this['isEmptyCurrent']=_0x35d093;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x47010d){return new RevisionHistoryGetRevisionResponse(_0x47010d['revisionId'],_0x47010d['name'],_0x47010d['creatorId'],_0x47010d['authorsIds'],_0x47010d['createdAt'],_0x47010d['diffData'],_0x47010d['attributes'],_0x47010d['fromVersion'],_0x47010d['toVersion'],_0x47010d['isEmptyCurrent']);}static['fromJSON'](_0x5923c7){return new RevisionHistoryGetRevisionResponse(_0x5923c7['revisionId'],_0x5923c7['name'],_0x5923c7['creatorId'],_0x5923c7['authorsIds']?JSON['parse'](_0x5923c7['authorsIds']):void 0x0,_0x5923c7['createdAt']?new Date(_0x5923c7['createdAt']):void 0x0,_0x5923c7['diffData'],_0x5923c7['attributes']?JSON['parse'](_0x5923c7['attributes']):void 0x0,_0x5923c7['fromVersion'],_0x5923c7['toVersion'],_0x5923c7['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x533a19{['documentId'];['requestId'];['revisions'];static ['TYPE']='124';static ['READABLE_TYPE_NAME']='updateRevisions';static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}};constructor(_0x7abf5e,_0x5d9cc6,_0x20d5d0){super(),this['documentId']=_0x7abf5e,this['requestId']=_0x5d9cc6,this['revisions']=_0x20d5d0;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x486f2d){return new RevisionHistoryUpdateRevisionsMessage(_0x486f2d['documentId'],_0x486f2d['requestId'],_0x486f2d['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x58e770){return new RevisionHistoryUpdateRevisionsMessage(_0x58e770['documentId'],_0x58e770['requestId'],_0x58e770['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x533a19{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x557850){super(),this['requestId']=_0x557850;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x2ce718){return new RevisionHistoryUpdateRevisionsResponse(_0x2ce718['requestId']);}}class RevisionHistoryConnectMessage extends _0x533a19{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2c7752){super(),this['documentId']=_0x2c7752;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x48407e){return new RevisionHistoryConnectMessage(_0x48407e['documentId']);}}class RevisionHistoryConnectResponse extends _0x533a19{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x352084,_0x4ef016,_0x3ea7bd){super(),this['channel']=_0x352084,this['requestId']=_0x4ef016,this['revisions']=_0x3ea7bd;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x7c45af){return new RevisionHistoryConnectResponse(_0x7c45af['channel'],_0x7c45af['requestId'],_0x7c45af['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x533a19{['documentId'];['requestId'];static ['TYPE']='122';static ['READABLE_TYPE_NAME']='reconnectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryReconnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2}}};constructor(_0x3e9c26,_0x1429c8){super(),this['documentId']=_0x3e9c26,this['requestId']=_0x1429c8;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x2e5bcf){return new RevisionHistoryReconnectMessage(_0x2e5bcf['documentId'],_0x2e5bcf['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x4ba040,_0x299f73){super(_0x4ba040+'\x20Service\x20is\x20not\x20connected.',_0x299f73);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0x31c75c['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x62af39){super(),this['_documentId']=_0x62af39;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x107822){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x107822,new RevisionHistoryConnectMessage(this['_documentId']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}['reconnect'](_0xf3afff,_0x1020d4){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0xf3afff);return this['_connect'](_0xf3afff,new RevisionHistoryReconnectMessage(this['_documentId'],_0x1020d4));}async['updateRevisions'](_0x3c18bd,_0x461505){const _0x1d991d=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x461505,'revisions':_0x3c18bd}),_0x1cab0b=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x1d991d),{requestId:_0x983ce}=_0x4341e0['decode'](_0x1cab0b,RevisionHistoryUpdateRevisionsResponse);return _0x983ce;}async['getRevision'](_0x81b8fc){const _0x33b83e=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x81b8fc),_0x4cc8c0=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x33b83e);return _0x4341e0['decode'](_0x4cc8c0,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x484f87,_0xe50801){if(_0x484f87['state']!==_0x507a0d)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x484f87);this['_wsGateway']=_0x484f87,this['stopListening'](_0x484f87,'change:state');const _0x1cbb4a=await _0x484f87['_sendRequest'](0xc,_0xe50801['constructor']['TYPE'],_0x4341e0['encode'](_0xe50801)),{channel:_0x4c7285,requestId:_0x3f93b5,revisions:_0x4125fd}=_0x4341e0['decode'](_0x1cbb4a,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x484f87,'change:state',(_0x35b98a,_0xed45d8,_0x375c9e)=>this['_onWsGatewayStateChange'](_0x375c9e),{'priority':_0xb2d773['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x484f87,_0x4c7285),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x4125fd,'requestId':_0x3f93b5};}['_connectToChannel'](_0x3eb5a1,_0x37fb6b){this['_channel']=_0x3eb5a1['_getChannel'](RevisionHistoryService['_SERVICE'],_0x37fb6b),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x1fa63f,_0xd6e5b)=>{const {documentId:_0x227b05,requestId:_0x524a25,revisions:_0x38d686}=_0x4341e0['decode'](_0xd6e5b,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x227b05,'requestId':_0x524a25,'revisionsData':_0x38d686});});}['_onWsGatewayStateChange'](_0x41060a){_0x41060a===_0x5e5616&&this['disconnect']();}['_sendRequest'](_0x32ccd0,_0x2f1e89){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x32ccd0,_0x4341e0['encode'](_0x2f1e89));}}class AddSuggestionMessage extends _0x533a19{['id'];['documentId'];['type'];['data'];['originalSuggestionId'];['attributes'];static ['TYPE']='101';static ['READABLE_TYPE_NAME']='addSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'data':{'type':'string','id':0x4},'originalSuggestionId':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x2e85ad,_0x162b57,_0x41dbc7,_0x2f6c08={},_0x23a64a=null,_0x329581=null){super(),this['id']=_0x2e85ad,this['documentId']=_0x162b57,this['type']=_0x41dbc7,this['data']=_0x2f6c08,this['originalSuggestionId']=_0x23a64a,this['attributes']=_0x329581;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'type':this['type'],'data':JSON['stringify'](this['data']),'originalSuggestionId':this['originalSuggestionId'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x7420dc){return new AddSuggestionMessage(_0x7420dc['id'],_0x7420dc['documentId'],_0x7420dc['type'],JSON['parse'](_0x7420dc['data']),_0x7420dc['originalSuggestionId']??null,_0x7420dc['attributes']?JSON['parse'](_0x7420dc['attributes']):null);}}class AddSuggestionResponse extends _0x533a19{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesAddSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x4dec8c,_0x2f8f9a,_0x398aa2,_0x7d79a5,_0x2a1c5e,_0x5f284d,_0x35416e={},_0x2a11af=null){super(),this['id']=_0x4dec8c,this['authorId']=_0x2f8f9a,this['type']=_0x398aa2,this['hasComments']=_0x2a1c5e,this['state']=_0x5f284d,this['data']=_0x35416e,this['attributes']=_0x2a11af,this['createdAt']=_0x7d79a5?new Date(_0x7d79a5):void 0x0;}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']?.['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5188f7){return new AddSuggestionResponse(_0x5188f7['id'],_0x5188f7['authorId'],_0x5188f7['type'],_0x5188f7['createdAt'],_0x5188f7['hasComments'],_0x5188f7['state'],JSON['parse'](_0x5188f7['data']),_0x5188f7['attributes']?JSON['parse'](_0x5188f7['attributes']):null);}}class GetSuggestionMessage extends _0x533a19{['id'];['documentId'];static ['TYPE']='103';static ['READABLE_TYPE_NAME']='getSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x23cbd0,_0x391f7f){super(),this['id']=_0x23cbd0,this['documentId']=_0x391f7f;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x4e17b0){return new GetSuggestionMessage(_0x4e17b0['id'],_0x4e17b0['documentId']);}}class GetSuggestionResponse extends _0x533a19{['id'];['authorId'];['type'];['hasComments'];['state'];['data'];['attributes'];['createdAt'];static ['DESCRIPTOR_NAME']='TrackChangesGetSuggestionResponse';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'authorId':{'type':'string','id':0x2},'type':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'data':{'type':'string','id':0x5},'hasComments':{'type':'bool','id':0x6},'state':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8}}};constructor(_0x4a787c,_0x419818,_0x47d2aa,_0x2b3248,_0x424e5a,_0x1627ff,_0x78e4d3={},_0x2baebf=null){super(),this['id']=_0x4a787c,this['authorId']=_0x419818,this['type']=_0x47d2aa,this['hasComments']=_0x424e5a,this['state']=_0x1627ff,this['data']=_0x78e4d3,this['attributes']=_0x2baebf,this['createdAt']=new Date(_0x2b3248);}['toJSON'](){return{'id':this['id'],'authorId':this['authorId'],'type':this['type'],'createdAt':this['createdAt']['toISOString'](),'data':JSON['stringify'](this['data']),'hasComments':this['hasComments'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x34cb58){return new GetSuggestionResponse(_0x34cb58['id'],_0x34cb58['authorId'],_0x34cb58['type'],_0x34cb58['createdAt'],_0x34cb58['hasComments'],_0x34cb58['state'],JSON['parse'](_0x34cb58['data']),_0x34cb58['attributes']?JSON['parse'](_0x34cb58['attributes']):null);}}class GetAllSuggestionsMessage extends _0x533a19{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x518567){super(),this['documentId']=_0x518567;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x459d8d){return new GetAllSuggestionsMessage(_0x459d8d['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static['toJSON'](_0x32ad32){return{..._0x32ad32,'data':_0x32ad32['data']?JSON['stringify'](_0x32ad32['data']):_0x32ad32['data'],'attributes':_0x32ad32['attributes']?JSON['stringify'](_0x32ad32['attributes']):_0x32ad32['attributes'],'createdAt':_0x32ad32['createdAt']?.['toISOString']()};}static['fromJSON'](_0x41976d){return{..._0x41976d,'data':_0x41976d['data']?JSON['parse'](_0x41976d['data']):_0x41976d['data'],'attributes':_0x41976d['attributes']?JSON['parse'](_0x41976d['attributes']):_0x41976d['attributes'],'createdAt':_0x41976d['createdAt']?new Date(_0x41976d['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x533a19{['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionsResponse';static ['DESCRIPTOR']={'fields':{'suggestions':{'type':'string','rule':'repeated','id':0x1},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x2}}};constructor(_0x31979b,_0x10bccf){super(),this['_suggestions']=_0x31979b,this['_suggestionsV2']=_0x10bccf,this['suggestions']=_0x10bccf?.['length']?_0x10bccf:_0x31979b;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x30c421=>JSON['stringify'](_0x30c421)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x3613aa){return new GetAllSuggestionResponse(_0x3613aa['suggestions']?.['map'](_0x138492),_0x3613aa['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _0x138492(_0x539ab0){const _0x260536=JSON['parse'](_0x539ab0);return _0x260536['createdAt']=_0x260536['createdAt']?new Date(_0x260536['createdAt']):void 0x0,_0x260536;}class UpdateSuggestionMessage extends _0x533a19{['id'];['documentId'];['hasComments'];['isHasCommentsModified'];['state'];['attributes'];static ['TYPE']='104';static ['READABLE_TYPE_NAME']='updateSuggestion';static ['DESCRIPTOR_NAME']='TrackChangesUpdateSuggestionMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'hasComments':{'type':'bool','id':0x3},'isHasCommentsModified':{'type':'bool','id':0x4},'state':{'type':'string','id':0x5},'attributes':{'type':'string','id':0x6}}};constructor(_0x171852,_0x167aa3,_0x1c0eb4,_0x2ea766,_0x58607e,_0x5030e6=null){super(),this['id']=_0x171852,this['documentId']=_0x167aa3,this['hasComments']=_0x1c0eb4,this['isHasCommentsModified']=_0x2ea766,this['state']=_0x58607e,this['attributes']=_0x5030e6;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5b599a){return new UpdateSuggestionMessage(_0x5b599a['id'],_0x5b599a['documentId'],_0x5b599a['hasComments'],_0x5b599a['isHasCommentsModified'],_0x5b599a['state'],_0x5b599a['attributes']?JSON['parse'](_0x5b599a['attributes']):null);}}let _0x30b33a=class ConnectMessage extends _0x533a19{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0xdf1c69){super(),this['documentId']=_0xdf1c69;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2d68c7){return new ConnectMessage(_0x2d68c7['documentId']);}},_0x19b03a=class ConnectResponse extends _0x533a19{['channel'];['_suggestions'];['_suggestionsV2'];['suggestions'];static ['DESCRIPTOR_NAME']='TrackChangesConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'suggestions':{'type':'string','rule':'repeated','id':0x2},'suggestionsV2':{'type':'SuggestionDescriptor','rule':'repeated','id':0x3}}};constructor(_0x154961,_0x566440,_0x166bd1){super(),this['channel']=_0x154961,this['_suggestions']=_0x566440,this['_suggestionsV2']=_0x166bd1,this['suggestions']=_0x166bd1?.['length']?_0x166bd1:_0x566440;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0xc2a625=>JSON['stringify'](_0xc2a625)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x6ab4af){return new ConnectResponse(_0x6ab4af['channel'],_0x6ab4af['suggestions']?.['map'](_0x4a48cb=>JSON['parse'](_0x4a48cb)),_0x6ab4af['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x533a19{['ids'];['documentId'];['state'];static ['TYPE']='106';static ['READABLE_TYPE_NAME']='batchUpdateSuggestionsState';static ['DESCRIPTOR_NAME']='TrackChangesBatchUpdateSuggestionsStateMessage';static ['DESCRIPTOR']={'fields':{'ids':{'type':'string','rule':'repeated','id':0x1},'documentId':{'type':'string','id':0x2},'state':{'type':'string','id':0x3}}};constructor(_0x5c55b1,_0x286685,_0x3e100f){super(),this['ids']=_0x5c55b1,this['documentId']=_0x286685,this['state']=_0x3e100f;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x5763d0){return new BatchUpdateSuggestionsStateMessage(_0x5763d0['ids'],_0x5763d0['documentId'],_0x5763d0['state']);}}class _0xf7355b extends/* #__PURE__ -- @preserve */
_0x31c75c['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x20ca3b){super(),this['_documentId']=_0x20ca3b;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x6ef64b){if(this['_isConnected'])return;if(_0x6ef64b['state']!==_0x507a0d)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x6ef64b);const _0x74c8c0=new _0x30b33a(this['_documentId']);this['_wsGateway']=_0x6ef64b,this['stopListening'](_0x6ef64b,'change:state');const _0x28078a=await _0x6ef64b['_sendRequest'](0xa,_0x30b33a['TYPE'],_0x4341e0['encode'](_0x74c8c0)),_0x20c4df=_0x4341e0['decode'](_0x28078a,_0x19b03a);return this['listenTo'](_0x6ef64b,'change:state',(_0x1931ae,_0x4cccda,_0x257c68)=>this['_onWsGatewayStateChange'](_0x257c68),{'priority':_0xb2d773['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x6ef64b,_0x20c4df['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x20c4df['suggestions'];}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['add'](_0x5b3d13,_0x3e7acc,_0x5633ec,_0xd4806d=null,_0x227b5c){const _0x7e3c5d=new AddSuggestionMessage(_0x5b3d13,this['_documentId'],_0x3e7acc,_0x5633ec,_0xd4806d,_0x227b5c),_0x1a3120=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x7e3c5d);return _0x4341e0['decode'](_0x1a3120,AddSuggestionResponse);}async['get'](_0x1548aa,_0xdbd47=0x1){const _0xbe48f=new GetSuggestionMessage(_0x1548aa,this['_documentId']);try{const _0x145e2e=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0xbe48f);return _0x4341e0['decode'](_0x145e2e,GetSuggestionResponse);}catch(_0x497bc2){if('CKEditorCloudServicesServerError'===_0x497bc2['name']&&'404'===_0x497bc2['code']&&_0xdbd47<0x5)return await(_0x3164fe=0x64*_0xdbd47,new Promise(_0x1b7a4a=>{setTimeout(_0x1b7a4a,_0x3164fe);})),this['get'](_0x1548aa,_0xdbd47+0x1);if('CKEditorCloudServicesServerError'===_0x497bc2['name'])throw _0x497bc2;throw CKEditorCloudServicesServerError['fromPublicError'](_0x497bc2);}var _0x3164fe;}async['getAll'](){const _0x4b1509=new GetAllSuggestionsMessage(this['_documentId']),_0x3d9ea8=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x4b1509),{suggestions:_0x457e75}=_0x4341e0['decode'](_0x3d9ea8,GetAllSuggestionResponse);return _0x457e75;}async['update'](_0x578020,_0x2d560c={}){const {hasComments:_0x2f1cba,state:_0x4a1524,attributes:_0x114c60}=_0x2d560c,_0x442533=void 0x0!==_0x2f1cba,_0x356e35=new UpdateSuggestionMessage(_0x578020,this['_documentId'],_0x2f1cba,_0x442533,_0x4a1524,_0x114c60);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x356e35);}async['batchUpdateState'](_0x4a02a9){const _0x57beed=new BatchUpdateSuggestionsStateMessage(_0x4a02a9['ids'],this['_documentId'],_0x4a02a9['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x57beed);}['_connectToChannel'](_0x25b003,_0x117b27){this['_channel']=_0x25b003['_getChannel'](_0xf7355b['_SERVICE'],_0x117b27),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x3fcef4,_0x23172b)=>{const _0x275acb=_0x4341e0['decode'](_0x23172b,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x275acb);});}['_onWsGatewayStateChange'](_0x599209){_0x599209===_0x5e5616&&this['disconnect']();}['_sendRequest'](_0xaf7d3f,_0x4e77fe){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0xaf7d3f,_0x4341e0['encode'](_0x4e77fe));}}class SessionsConnectResponse extends _0x533a19{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x303c98,_0x73c4da=[]){super(),this['channel']=_0x303c98,this['sockets']=_0x73c4da;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0xbb0d97=>({'user':_0xbb0d97['userId'],'session':_0xbb0d97['id'],'role':_0xbb0d97['role'],'permissions':_0xbb0d97['permissions']}))};}static['fromJSON'](_0x13781a){return new SessionsConnectResponse(_0x13781a['channel'],_0x13781a['sockets']['map'](_0x46458f=>({'id':_0x46458f['session'],'userId':_0x46458f['user'],'role':_0x46458f['role'],'permissions':_0x46458f['permissions']})));}}class SessionsConnectMessage extends _0x533a19{['id'];['sessionType'];static ['TYPE']='31';static ['READABLE_TYPE_NAME']='getConnectedSockets';static ['DESCRIPTOR_NAME']='SessionsConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'sessionType':{'type':'uint32','id':0x2}}};constructor(_0x2ddfd6,_0x18d710){super(),this['id']=_0x2ddfd6,this['sessionType']=_0x18d710;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0xf4266f){return new SessionsConnectMessage(_0xf4266f['id'],_0xf4266f['sessionType']);}}class SocketConnectMessage extends _0x533a19{['id'];['userId'];['role'];['permissions'];static ['TYPE']='32';static ['READABLE_TYPE_NAME']='connectSocket';static ['DESCRIPTOR_NAME']='SocketConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'userId':{'type':'string','id':0x2},'role':{'type':'string','id':0x3},'permissions':{'rule':'repeated','type':'string','id':0x4}}};constructor(_0x4db07e,_0x1b8daa,_0x230f44,_0x44f474){super(),this['id']=_0x4db07e,this['userId']=_0x1b8daa,this['role']=_0x230f44,this['permissions']=_0x44f474;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x1ceaf5){return new SocketConnectMessage(_0x1ceaf5['id'],_0x1ceaf5['userId'],_0x1ceaf5['role'],_0x1ceaf5['permissions']);}}class SocketDisconnectMessage extends _0x533a19{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x180170){super(),this['id']=_0x180170;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x2fe7c7){return new SocketDisconnectMessage(_0x2fe7c7['id']);}}class SessionCollection extends _0x31c75c['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x2b361f,_0x8f4a50){super({'idProperty':'id'}),this['_id']=_0x2b361f,this['_sessionType']=_0x8f4a50;}async['connect'](_0x1349fb){this['_wsGateway']=_0x1349fb,this['stopListening'](_0x1349fb,'change:state');const _0x56d472=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x405ed9;try{const _0x429465=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x4341e0['encode'](_0x56d472));_0x405ed9=_0x4341e0['decode'](_0x429465,SessionsConnectResponse);}catch{_0x405ed9=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x405ed9['channel'],this['_sessionType']);const _0x2fbde0=await async function(_0xc3b841,_0x3ed58b){const _0x3cfd25=_0x3ed58b['map'](_0x2e59c1=>_0x2e59c1['userId']),_0x1465d7=_0x3cfd25['length']?await _0x49d5ab['getMany'](_0xc3b841,_0x3cfd25):[];return _0x3ed58b['map'](_0x2b7fa9=>{const _0x2dec4f={'id':_0x2b7fa9['id'],'role':_0x2b7fa9['role'],'permissions':_0x2b7fa9['permissions']};return _0x2dec4f['user']=_0x2b7fa9['userId']&&_0x1465d7['find'](_0x39f59d=>_0x39f59d['id']===_0x2b7fa9['userId'])||new _0x49d5ab(),_0x2dec4f;});}(this['_wsGateway'],_0x405ed9['sockets']);for(const _0x3412b3 of _0x2fbde0)super['add'](_0x3412b3);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x5b63ca,_0x2a716a,_0x3e8e80)=>this['_onWsGatewayStateChange'](_0x3e8e80),{'priority':_0xb2d773['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x1a974e=!0x0){if(this['_connected']){for(this['_connected']=!0x1,this['_eventsQueue']=[];this['length'];)super['remove'](0x0);this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_wsGateway']&&_0x1a974e&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x1a974e&&this['stopListening']();}}['add'](_0x282c24,_0xe31061){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x310629){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x53da54,_0x129a05,_0x49670d){this['_channel']=_0x53da54['_getChannel'](_0x49670d,_0x129a05),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x1d27f3=>{const _0x9f5954=_0x4341e0['decode'](_0x1d27f3,SocketConnectMessage);if(-0x1===this['getIndex'](_0x9f5954['id'])){const _0x1a68dd={'id':_0x9f5954['id'],'role':_0x9f5954['role'],'permissions':_0x9f5954['permissions']};_0x9f5954['userId']&&(_0x1a68dd['user']=await _0x49d5ab['get'](_0x53da54,_0x9f5954['userId'])),super['add'](_0x1a68dd);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x49cb07=>{const _0xcc9834=_0x4341e0['decode'](_0x49cb07,SocketDisconnectMessage);-0x1!==this['getIndex'](_0xcc9834['id'])&&super['remove'](_0xcc9834['id']);}));}async['_onWsGatewayStateChange'](_0x19e8da){_0x19e8da===_0xb2d773['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x19e8da===_0xb2d773['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0xb35d10;for(this['_isRunning']=!0x0;_0xb35d10=this['_eventsQueue']['shift']();){const _0x5ab2d6=this['_handlers']['get'](_0xb35d10['eventName']);_0x5ab2d6&&await _0x5ab2d6(_0xb35d10['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x427473,_0x191763,_0x432594){const _0x40d400=_0x427473['getEventName'](_0x191763,!0x0);this['listenTo'](_0x427473,_0x40d400,async(_0x5640f2,_0x54e373)=>{const _0x5eaef9=_0x5640f2['name'];this['_eventsQueue']['push']({'eventName':_0x5eaef9,'data':_0x54e373}),await this['_runQueue']();}),this['_handlers']['set'](_0x40d400,_0x432594);}}let _0x2df152=class _0x37fe90{static async['getConnectedSessions'](_0x24ed3e,_0x168c11,_0x9c3f58){const _0x50b8eb=new SessionCollection(_0x168c11,_0x9c3f58);return await _0x50b8eb['connect'](_0x24ed3e),_0x50b8eb;}};class CollaborativeEditingConnectMessage extends _0x533a19{['id'];['buffers'];['types'];['bundleVersion'];['lastOperationId'];static ['TYPE']='11';static ['READABLE_TYPE_NAME']='connectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'lastOperationId':{'type':'string','id':0x5}}};constructor(_0x172de4,_0x252748,_0xb8d64c,_0x3dc540,_0x1d5195=''){super(),this['id']=_0x172de4,this['buffers']=_0x252748,this['types']=_0xb8d64c,this['bundleVersion']=_0x3dc540,this['lastOperationId']=_0x1d5195;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x1b204b){return new CollaborativeEditingConnectMessage(_0x1b204b['id'],_0x1b204b['buffers'],_0x1b204b['types'],_0x1b204b['bundleVersion'],_0x1b204b['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x5ed81b,_0xfe9337){if(!_0x5ed81b?.['length']||!_0xfe9337?.['length'])return[];const _0x3ea1e5=[];let _0x405d6f=0x0;for(const _0x5c2880 of _0x5ed81b)if(0x0!==_0x5c2880){if(!_0xfe9337[_0x405d6f])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3ea1e5['push'](_0xfe9337[_0x405d6f]),_0x405d6f++;}else _0x3ea1e5['push'](_0x3ea1e5[_0x3ea1e5['length']-0x1]);return _0x3ea1e5;}static['removeUnnecessaryMetadata'](_0x130935,_0x3256e2){if(!_0x130935?.['length']||!_0x3256e2?.['length'])return[];const _0x591b05=[];for(let _0x58c3a7=0x0;_0x58c3a7<_0x130935['length'];_0x58c3a7++)if(0x0!==_0x130935[_0x58c3a7]){if(!_0x3256e2[_0x58c3a7])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x591b05['push'](_0x3256e2[_0x58c3a7]);}return _0x591b05;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x5b20c3,..._0x3612bf}){const _0x77b96f={..._0x3612bf};return _0x5b20c3?.['toISOString']&&(_0x77b96f['createdAt']=_0x5b20c3['toISOString']()),_0x77b96f;}static['fromJSON']({createdAt:_0x5af1b8,..._0x50c59a}){const _0x444fc8={..._0x50c59a};return _0x5af1b8&&(_0x444fc8['createdAt']=new Date(_0x5af1b8)),_0x444fc8;}}class CollaborativeEditingUpdateMessage extends _0x533a19{['id'];['buffers'];['types'];['baseVersion'];['metadata'];['lastOperationId'];static ['TYPE']='13';static ['READABLE_TYPE_NAME']='updateDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingUpdateMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'baseVersion':{'type':'uint32','id':0x2},'buffers':{'rule':'repeated','type':'bytes','id':0x3},'types':{'rule':'repeated','type':'uint32','id':0x4},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x6},'lastOperationId':{'type':'string','id':0x7}}};constructor(_0x10a51c,_0x383d26,_0x2f4b41,_0x1878fc,_0x2ee588=[],_0xbb47fa=''){super(),this['id']=_0x10a51c,this['buffers']=_0x383d26,this['types']=_0x2f4b41,this['baseVersion']=_0x1878fc,this['metadata']=_0x2ee588,this['lastOperationId']=_0xbb47fa;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x1a0a3a){return new CollaborativeEditingUpdateMessage(_0x1a0a3a['id'],_0x1a0a3a['buffers'],_0x1a0a3a['types'],_0x1a0a3a['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x1a0a3a['types'],_0x1a0a3a['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x1a0a3a['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x533a19{['id'];['lastKnowVersion'];['bundleVersion'];static ['TYPE']='12';static ['READABLE_TYPE_NAME']='reconnectToDocument';static ['DESCRIPTOR_NAME']='CollaborativeEditingReconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1},'bundleVersion':{'type':'string','id':0x2},'lastKnowVersion':{'type':'uint32','id':0x3}}};constructor(_0xe165fe,_0x537b52,_0x2aab66){super(),this['id']=_0xe165fe,this['lastKnowVersion']=_0x537b52,this['bundleVersion']=_0x2aab66;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x2d9a8c){return new CollaborativeEditingReconnectMessage(_0x2d9a8c['id'],_0x2d9a8c['lastKnowVersion'],_0x2d9a8c['bundleVersion']);}}class CollaborativeEditingResponse extends _0x533a19{['version'];['buffers'];['types'];['metadata'];['lastOperationId'];['lastOperationAcceptedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingResponse';static ['DESCRIPTOR']={'fields':{'version':{'type':'uint32','id':0x1},'buffers':{'rule':'repeated','type':'bytes','id':0x2},'types':{'rule':'repeated','type':'uint32','id':0x3},'metadata':{'rule':'repeated','type':'OperationMetadataDescriptor','id':0x5},'lastOperationId':{'type':'string','id':0x6},'lastOperationAcceptedAt':{'type':'string','id':0x7}}};constructor(_0x35acc2,_0xb55ed5=[],_0x41275b=[],_0xa16f5f=[],_0x16cde7='',_0x27e491=null){super(),this['version']=_0x35acc2,this['buffers']=_0xb55ed5,this['types']=_0x41275b,this['metadata']=_0xa16f5f,this['lastOperationId']=_0x16cde7,this['lastOperationAcceptedAt']=_0x27e491;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}['toJSON'](){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x590c37){return new CollaborativeEditingResponse(_0x590c37['version'],_0x590c37['buffers'],_0x590c37['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x590c37['types'],_0x590c37['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x590c37['lastOperationId'],_0x590c37['lastOperationAcceptedAt']?new Date(_0x590c37['lastOperationAcceptedAt']):null);}static['create'](_0x793ec0){return new CollaborativeEditingResponse(_0x793ec0['version'],_0x793ec0['buffers'],_0x793ec0['types'],_0x793ec0['metadata'],_0x793ec0['lastOperationId'],_0x793ec0['lastOperationAcceptedAt']?new Date(_0x793ec0['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x533a19{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x459c03,_0x29c3ee,_0x51ca13=[],_0x4a48fc=[],_0x1b5fcc=0x0,_0x2372da=[],_0x15bb22=null,_0xa2deed='',_0x3620f2='',_0x1f8258=null){super(),this['channel']=_0x459c03,this['version']=_0x29c3ee,this['buffers']=_0x51ca13,this['types']=_0x4a48fc,this['offset']=_0x1b5fcc,this['metadata']=_0x2372da,this['initData']=_0x15bb22,this['sessionId']=_0xa2deed,this['lastOperationId']=_0x3620f2,this['sessionCreatedAt']=_0x1f8258;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}['toJSON'](){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x5b92d6){return new CollaborativeEditingConnectResponse(_0x5b92d6['channel'],_0x5b92d6['version'],_0x5b92d6['buffers'],_0x5b92d6['types'],_0x5b92d6['offset'],_0x5b92d6['metadata'],_0x5b92d6['initData'],_0x5b92d6['sessionId'],_0x5b92d6['lastOperationId'],_0x5b92d6['sessionCreatedAt']);}static['fromJSON'](_0x118733){let _0x1ef6ca=null;return!0x0===_0x118733['isInitialized']?_0x1ef6ca=_0x118733['initData']??'':'boolean'!=typeof _0x118733['isInitialized']&&_0x118733['initData']&&(_0x1ef6ca=_0x118733['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x118733['channel'],'version':_0x118733['version'],'buffers':_0x118733['buffers'],'types':_0x118733['types'],'offset':_0x118733['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x118733['types'],_0x118733['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x1ef6ca,'sessionId':_0x118733['sessionId'],'lastOperationId':_0x118733['lastOperationId'],'sessionCreatedAt':_0x118733['sessionCreatedAt']?new Date(_0x118733['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x533a19{['lastDocumentSession'];['currentDocumentSession'];static ['DESCRIPTOR_NAME']='GetDocumentDetailsResponse';static ['DESCRIPTOR']={'fields':{'lastDocumentSessionId':{'type':'string','id':0x1},'lastDocumentSessionOperationId':{'type':'string','id':0x2},'currentDocumentSessionId':{'type':'string','id':0x3},'currentDocumentSessionVersion':{'type':'uint32','id':0x4},'currentDocumentSessionOperationId':{'type':'string','id':0x5}}};constructor(_0x2659c1,_0x1adc13){super(),this['lastDocumentSession']=_0x2659c1,this['currentDocumentSession']=_0x1adc13;}get['data'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}['toJSON'](){return{'lastDocumentSessionId':this['lastDocumentSession']?.['id'],'lastDocumentSessionOperationId':this['lastDocumentSession']?.['lastOperationId'],'currentDocumentSessionId':this['currentDocumentSession']?.['id'],'currentDocumentSessionVersion':this['currentDocumentSession']?.['version'],'currentDocumentSessionOperationId':this['currentDocumentSession']?.['lastOperationId']};}static['fromJSON'](_0x1165b6){const _0x3c3ee8=_0x1165b6['lastDocumentSessionId']?{'id':_0x1165b6['lastDocumentSessionId'],'lastOperationId':_0x1165b6['lastDocumentSessionOperationId']}:void 0x0,_0x573723=_0x1165b6['currentDocumentSessionId']?{'lastOperationId':_0x1165b6['currentDocumentSessionOperationId'],'version':_0x1165b6['currentDocumentSessionVersion'],'id':_0x1165b6['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x3c3ee8,_0x573723);}}class GetDocumentDetailsMessage extends _0x533a19{['documentId'];static ['TYPE']='14';static ['READABLE_TYPE_NAME']='getDocumentDetails';static ['DESCRIPTOR_NAME']='GetDocumentDetailsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'environmentId':{'type':'string','id':0x2}}};constructor(_0x4252fb){super(),this['documentId']=_0x4252fb;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5df4f7){return new GetDocumentDetailsMessage(_0x5df4f7['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0x31c75c['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x490516,_0x3a319d){if(super(),!_0x490516)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x3a319d??_0x14d431(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x490516;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x27837b,_0x2dad2f={'buffers':[],'types':[]},_0x37ba9a){const _0xae2a21=new CollaborativeEditingConnectMessage(this['getId'](),_0x2dad2f['buffers'],_0x2dad2f['types'],this['_bundleVersion'],_0x37ba9a);return this['_connect'](_0x27837b,_0xae2a21);}['reconnect'](_0x546ebe,_0x1f7a80){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x546ebe);return this['_connect'](_0x546ebe,new CollaborativeEditingReconnectMessage(this['getId'](),_0x1f7a80,this['_bundleVersion']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['getDocumentDetails'](){const _0x4ca53c=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x5df891=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x4341e0['encode'](_0x4ca53c));return _0x4341e0['decode'](_0x5df891,GetDocumentDetailsResponse);}async['sendOperations'](_0x233e34,_0x220c29,_0x5635d2){if(!_0x233e34?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x238b88='number'==typeof _0x220c29?_0x220c29:parseInt(_0x220c29);if(!Number['isInteger'](_0x238b88)||_0x238b88<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x2fe0f8=new CollaborativeEditingUpdateMessage(this['getId'](),_0x233e34['buffers'],_0x233e34['types'],_0x238b88,[],_0x5635d2);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x17b88d=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x4341e0['encode'](_0x2fe0f8));return _0x4341e0['decode'](_0x17b88d,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await _0x2df152['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x17f066,_0x15779a){return _0x2df152['getConnectedSessions'](_0x17f066,_0x15779a,0x1);}async['_connect'](_0x595130,_0x13b1f7){if(this['isConnected']())return;if(_0x595130['state']!==_0xb2d773['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x595130);this['_wsGateway']=_0x595130,this['stopListening'](_0x595130,'change:state');const _0x1785d5=await _0x595130['_sendRequest'](0x1,_0x13b1f7['constructor']['TYPE'],_0x4341e0['encode'](_0x13b1f7)),_0x55ca00=_0x4341e0['decode'](_0x1785d5,CollaborativeEditingConnectResponse);return this['listenTo'](_0x595130,'change:state',(_0x4ae261,_0x49b55f,_0x58b52b)=>this['_onWsGatewayStateChange'](_0x58b52b),{'priority':_0xb2d773['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x595130,_0x55ca00['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x55ca00;}['_connectToChannel'](_0x57da1d,_0x14b94f){this['_channel']=_0x57da1d['_getChannel'](0x1,_0x14b94f),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x146059,_0xbe29a)=>{const _0x1fd2ec=_0x4341e0['decode'](_0xbe29a,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x1fd2ec['baseVersion'],_0x1fd2ec['data'],_0x1fd2ec['metadata']);});}['_onWsGatewayStateChange'](_0x4b13d6){_0x4b13d6===_0xb2d773['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static['toJSON'](_0x15be90){return{..._0x15be90,'createdAt':_0x15be90['createdAt']?.['toISOString'](),'attributes':_0x15be90['attributes']?JSON['stringify'](_0x15be90['attributes']):null};}static['fromJSON'](_0x58c67b){return{..._0x58c67b,'createdAt':new Date(_0x58c67b['createdAt']),'attributes':_0x58c67b['attributes']?JSON['parse'](_0x58c67b['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static['toJSON'](_0x46ecb8){return{..._0x46ecb8,'createdAt':_0x46ecb8['createdAt']?.['toISOString'](),'deletedAt':_0x46ecb8['deletedAt']?.['toISOString'](),'resolvedAt':_0x46ecb8['resolvedAt']?.['toISOString'](),'attributes':_0x46ecb8['attributes']?JSON['stringify'](_0x46ecb8['attributes']):null,'context':_0x46ecb8['context']?JSON['stringify'](_0x46ecb8['context']):_0x46ecb8['context'],'comments':_0x46ecb8['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x46ecb8['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x4fad15){return{..._0x4fad15,'createdAt':_0x4fad15['createdAt']?new Date(_0x4fad15['createdAt']):void 0x0,'deletedAt':_0x4fad15['deletedAt']?new Date(_0x4fad15['deletedAt']):void 0x0,'resolvedAt':_0x4fad15['resolvedAt']?new Date(_0x4fad15['resolvedAt']):void 0x0,'attributes':_0x4fad15['attributes']?JSON['parse'](_0x4fad15['attributes']):null,'context':_0x4fad15['context']?JSON['parse'](_0x4fad15['context']):void 0x0,'comments':_0x4fad15['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x4fad15['unlinkedAt']?new Date(_0x4fad15['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x533a19{['documentId'];['commentThreadId'];['content'];['commentId'];['userId'];['attributes'];['commentThread'];['createdAt'];static ['TYPE']='91';static ['READABLE_TYPE_NAME']='addComment';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'content':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3},'commentId':{'type':'string','id':0x4},'createdAt':{'type':'string','id':0x5},'userId':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'commentThread':{'type':'CommentsThreadDescriptor','id':0x8}}};constructor(_0x32e9a7,_0x1402ca,_0x1712b6,_0x423321='',_0x437a53,_0x131415='',_0xff5705=null,_0x3b22f9){super(),this['documentId']=_0x32e9a7,this['commentThreadId']=_0x1402ca,this['content']=_0x1712b6,this['commentId']=_0x423321,this['userId']=_0x131415,this['attributes']=_0xff5705,this['commentThread']=_0x3b22f9,this['createdAt']=_0x437a53?new Date(_0x437a53):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x2c8a15){return new AddCommentMessage(_0x2c8a15['documentId'],_0x2c8a15['commentThreadId'],_0x2c8a15['content'],_0x2c8a15['commentId']?_0x2c8a15['commentId']:void 0x0,_0x2c8a15['createdAt']?new Date(_0x2c8a15['createdAt']):void 0x0,_0x2c8a15['userId']?_0x2c8a15['userId']:void 0x0,_0x2c8a15['attributes']?JSON['parse'](_0x2c8a15['attributes']):{},_0x2c8a15['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x2c8a15['commentThread']):void 0x0);}}class AddCommentResponse extends _0x533a19{['commentThreadId'];['commentId'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}};constructor(_0x4dff93,_0x530251,_0x2952b6){super(),this['commentThreadId']=_0x4dff93,this['commentId']=_0x530251,this['createdAt']=new Date(_0x2952b6);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x18e53e){return new AddCommentResponse(_0x18e53e['commentThreadId'],_0x18e53e['commentId'],_0x18e53e['createdAt']);}}class ConnectMessage extends _0x533a19{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x1a2f41){super(),this['documentId']=_0x1a2f41;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2aa9c4){return new ConnectMessage(_0x2aa9c4['documentId']);}}class ConnectResponse extends _0x533a19{['channel'];['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2ConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'threads':{'type':'string','rule':'repeated','id':0x2},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x3}}};constructor(_0x524da2,_0x51cb22,_0x299e98){super(),this['channel']=_0x524da2,this['_threads']=_0x51cb22,this['_threadsV2']=_0x299e98,this['threads']=_0x299e98?.['length']?_0x299e98:_0x51cb22;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x405614=>JSON['stringify'](_0x405614)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x1a883b){return new ConnectResponse(_0x1a883b['channel'],_0x1a883b['threads']?.['map'](_0x22ea44=>JSON['parse'](_0x22ea44)),_0x1a883b['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x533a19{['documentId'];['commentThreadId'];['commentId'];static ['TYPE']='95';static ['READABLE_TYPE_NAME']='removeComment';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'documentId':{'type':'string','id':0x3}}};constructor(_0x38f53c,_0x27ffa1,_0x119718){super(),this['documentId']=_0x38f53c,this['commentThreadId']=_0x27ffa1,this['commentId']=_0x119718;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x1bc4ce){return new RemoveCommentMessage(_0x1bc4ce['documentId'],_0x1bc4ce['commentThreadId'],_0x1bc4ce['commentId']);}}class RemoveCommentThreadMessage extends _0x533a19{['documentId'];['commentThreadId'];static ['TYPE']='97';static ['READABLE_TYPE_NAME']='removeCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2RemoveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x3c9afe,_0x9b6a88){super(),this['documentId']=_0x3c9afe,this['commentThreadId']=_0x9b6a88;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x2267ae){return new RemoveCommentThreadMessage(_0x2267ae['documentId'],_0x2267ae['commentThreadId']);}}class UpdateCommentMessage extends _0x533a19{['documentId'];['commentThreadId'];['commentId'];['content'];['attributes'];['isAttributesUpdated'];['commentThread'];static ['TYPE']='96';static ['READABLE_TYPE_NAME']='updateComment';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'commentId':{'type':'string','id':0x2},'content':{'type':'string','id':0x3},'documentId':{'type':'string','id':0x4},'attributes':{'type':'string','id':0x5},'isAttributesUpdated':{'type':'bool','id':0x6},'commentThread':{'type':'CommentsThreadDescriptor','id':0x7}}};constructor(_0x47b7d5,_0x1f604f,_0x35443a,_0x521f43,_0x5a0857=null,_0x49db08=!0x1,_0x4ffcdd){super(),this['documentId']=_0x47b7d5,this['commentThreadId']=_0x1f604f,this['commentId']=_0x35443a,this['content']=_0x521f43,this['attributes']=_0x5a0857,this['isAttributesUpdated']=_0x49db08,this['commentThread']=_0x4ffcdd;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x15006f){return new UpdateCommentMessage(_0x15006f['documentId'],_0x15006f['commentThreadId'],_0x15006f['commentId'],_0x15006f['content'],_0x15006f['attributes']?JSON['parse'](_0x15006f['attributes']):null,_0x15006f['isAttributesUpdated'],_0x15006f['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x15006f['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x533a19{['commentThreadId'];['documentId'];static ['TYPE']='93';static ['READABLE_TYPE_NAME']='getComment';static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0xc9c988,_0x4da6db){super(),this['commentThreadId']=_0xc9c988,this['documentId']=_0x4da6db;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0xb74f85){return new GetCommentThreadMessage(_0xb74f85['commentThreadId'],_0xb74f85['documentId']);}}class GetCommentThreadResponse extends _0x533a19{['commentThreadId'];['_comments'];['_commentsV2'];['resolvedBy'];['comments'];['createdAt'];['deletedAt'];['resolvedAt'];['attributes'];['context'];['unlinkedAt'];static ['DESCRIPTOR_NAME']='CommentsV2GetCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'string','rule':'repeated','id':0x2},'commentsV2':{'type':'CommentDescriptor','rule':'repeated','id':0x3},'resolvedAt':{'type':'string','id':0x4},'resolvedBy':{'type':'string','id':0x5},'context':{'type':'string','id':0x6},'createdAt':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'attributes':{'type':'string','id':0x9},'unlinkedAt':{'type':'string','id':0xa}}};constructor(_0x484978,_0x319891,_0x4a3c82,_0x3aa310,_0x57b418,_0x10f6bc,_0x238f51,_0x8d779e,_0x41959f,_0x1b4b5f){super(),this['commentThreadId']=_0x484978,this['_comments']=_0x319891,this['_commentsV2']=_0x4a3c82,this['resolvedBy']=_0x57b418,this['comments']=_0x4a3c82?.['length']?_0x4a3c82:_0x319891,this['createdAt']=_0x238f51?new Date(_0x238f51):void 0x0,this['deletedAt']='string'==typeof _0x8d779e?new Date(_0x8d779e):_0x8d779e,this['resolvedAt']='string'==typeof _0x41959f?new Date(_0x41959f):_0x41959f,this['unlinkedAt']='string'==typeof _0x1b4b5f?new Date(_0x1b4b5f):_0x1b4b5f,this['attributes']='string'==typeof _0x3aa310?JSON['parse'](_0x3aa310):_0x3aa310,this['context']='string'==typeof _0x10f6bc?JSON['parse'](_0x10f6bc):_0x10f6bc;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x5cdb50=>JSON['stringify'](_0x5cdb50)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x577006){return new GetCommentThreadResponse(_0x577006['commentThreadId'],_0x577006['comments']?.['map'](_0x5d098f=>function(_0x30e825){const _0x254874=JSON['parse'](_0x30e825);return{..._0x254874,'createdAt':new Date(_0x254874['createdAt'])};}(_0x5d098f)),_0x577006['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x577006['attributes']?JSON['parse'](_0x577006['attributes']):_0x577006['attributes'],_0x577006['resolvedBy'],_0x577006['context']?JSON['parse'](_0x577006['context']):_0x577006['context'],_0x577006['createdAt'],_0x577006['deletedAt'],_0x577006['resolvedAt'],_0x577006['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x533a19{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x372f4a){super(),this['documentId']=_0x372f4a;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x80a82d){return new GetDocumentThreadsMessage(_0x80a82d['documentId']);}}class GetDocumentThreadsResponse extends _0x533a19{['_threads'];['_threadsV2'];['threads'];static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsResponse';static ['DESCRIPTOR']={'fields':{'threads':{'type':'string','rule':'repeated','id':0x1},'threadsV2':{'type':'CommentsThreadDescriptor','rule':'repeated','id':0x2}}};constructor(_0x182663,_0x1a9a80){super(),this['_threads']=_0x182663,this['_threadsV2']=_0x1a9a80,this['threads']=_0x1a9a80?.['length']?_0x1a9a80:_0x182663;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x126cfb=>JSON['stringify'](_0x126cfb)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x2bc174){return new GetDocumentThreadsResponse(_0x2bc174['threads']?.['map'](_0x4b524a=>function(_0x4822a6){const _0x4e388d=JSON['parse'](_0x4822a6),_0x59b307={..._0x4e388d};return _0x4e388d['comments']&&(_0x59b307['comments']=_0x4e388d['comments']?.['map'](_0x22e721=>({..._0x22e721,'createdAt':new Date(_0x22e721['createdAt'])}))),_0x59b307;}(_0x4b524a)),_0x2bc174['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x5899de){return{'commentId':_0x5899de['commentId'],'createdAt':_0x5899de['createdAt']?.['toISOString']()};}static['fromJSON'](_0x53cb06){return{'commentId':_0x53cb06['commentId'],'createdAt':new Date(_0x53cb06['createdAt'])};}}class AddCommentThreadResponse extends _0x533a19{['commentThreadId'];['comments'];['createdAt'];static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'createdAt':{'type':'string','id':0x2},'comments':{'type':'CommentThreadAddedCommentDescriptor','rule':'repeated','id':0x3}}};constructor(_0x247a42,_0x16dded,_0x45b5e5=[]){super(),this['commentThreadId']=_0x247a42,this['comments']=_0x45b5e5,this['createdAt']=new Date(_0x16dded);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x4f3483=>CommentThreadAddedCommentDescriptor['toJSON'](_0x4f3483))};}static['fromJSON'](_0x51cacb){return new AddCommentThreadResponse(_0x51cacb['commentThreadId'],_0x51cacb['createdAt'],_0x51cacb['comments']['map'](_0x5e82a1=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x5e82a1)));}}class AddCommentThreadMessage extends _0x533a19{['documentId'];['commentThreadId'];['comments'];['context'];['resolvedBy'];['attributes'];['createdAt'];['resolvedAt'];['deletedAt'];static ['TYPE']='140';static ['READABLE_TYPE_NAME']='addCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2AddCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1},'commentThreadId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'createdAt':{'type':'string','id':0x4},'resolvedAt':{'type':'string','id':0x5},'resolvedBy':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'deletedAt':{'type':'string','id':0x8},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x9}}};constructor(_0x275e6f,_0x497c55,_0x36e6a0=[],_0x1a430a,_0x6d5e0f=null,_0x41fa31=null,_0x51a42f=null,_0x16ee2b=null,_0x34bc62=null){super(),this['documentId']=_0x275e6f,this['commentThreadId']=_0x497c55,this['comments']=_0x36e6a0,this['context']=_0x1a430a,this['resolvedBy']=_0x6d5e0f,this['attributes']=_0x34bc62,this['createdAt']=_0x41fa31?new Date(_0x41fa31):'',this['resolvedAt']=_0x51a42f?new Date(_0x51a42f):'',this['deletedAt']=_0x16ee2b?new Date(_0x16ee2b):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']instanceof Date?this['resolvedAt']['toISOString']():this['resolvedAt'],'deletedAt':this['deletedAt']instanceof Date?this['deletedAt']['toISOString']():this['deletedAt'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'comments':this['comments']?.['map'](_0xffe9cd=>CommentDescriptor['toJSON'](_0xffe9cd))};}static['fromJSON'](_0xc51c3f){return new AddCommentThreadMessage(_0xc51c3f['documentId'],_0xc51c3f['commentThreadId'],_0xc51c3f['comments']?.['map'](_0x22b132=>CommentDescriptor['fromJSON']({..._0x22b132,'documentId':_0xc51c3f['documentId'],'commentThreadId':_0xc51c3f['commentThreadId']})),_0xc51c3f['context']?JSON['parse'](_0xc51c3f['context']):_0xc51c3f['context'],_0xc51c3f['resolvedBy'],_0xc51c3f['createdAt']?new Date(_0xc51c3f['createdAt']):void 0x0,_0xc51c3f['resolvedAt']?new Date(_0xc51c3f['resolvedAt']):void 0x0,_0xc51c3f['deletedAt']?new Date(_0xc51c3f['deletedAt']):void 0x0,_0xc51c3f['attributes']?JSON['parse'](_0xc51c3f['attributes']):_0xc51c3f['attributes']);}}class ResolveCommentThreadMessage extends _0x533a19{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['TYPE']='142';static ['READABLE_TYPE_NAME']='resolveCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedBy':{'type':'string','id':0x3},'resolvedAt':{'type':'string','id':0x4}}};constructor(_0x380852,_0x3b20f0,_0x334dcb,_0x4a5c5f){super(),this['commentThreadId']=_0x380852,this['documentId']=_0x3b20f0,this['resolvedBy']=_0x334dcb,this['resolvedAt']=_0x4a5c5f?new Date(_0x4a5c5f):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x626298){return new ResolveCommentThreadMessage(_0x626298['commentThreadId'],_0x626298['documentId'],_0x626298['resolvedBy'],_0x626298['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x533a19{['commentThreadId'];['documentId'];static ['TYPE']='141';static ['READABLE_TYPE_NAME']='reopenCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2ReopenCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2}}};constructor(_0x10b731,_0x6ecb93){super(),this['commentThreadId']=_0x10b731,this['documentId']=_0x6ecb93;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x10cacf){return new ReopenCommentThreadMessage(_0x10cacf['commentThreadId'],_0x10cacf['documentId']);}}class UpdateCommentThreadMessage extends _0x533a19{['commentThreadId'];['documentId'];['context'];['attributes'];['unlinkedAt'];static ['TYPE']='143';static ['READABLE_TYPE_NAME']='updateCommentThread';static ['DESCRIPTOR_NAME']='CommentsV2UpdateCommentThreadMessage';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'context':{'type':'string','id':0x3},'attributes':{'type':'string','id':0x4},'unlinkedAt':{'type':'string','id':0x5}}};constructor(_0x12b9ba,_0x206607,_0x53ffac,_0x2aac37=null,_0x33bf79=null){super(),this['commentThreadId']=_0x12b9ba,this['documentId']=_0x206607,this['context']=_0x53ffac,this['attributes']=_0x2aac37,this['unlinkedAt']=_0x33bf79?new Date(_0x33bf79):'';}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'unlinkedAt':this['unlinkedAt']instanceof Date?this['unlinkedAt']['toISOString']():this['unlinkedAt']};}static['fromJSON'](_0x44ebd4){return new UpdateCommentThreadMessage(_0x44ebd4['commentThreadId'],_0x44ebd4['documentId'],_0x44ebd4['context']?JSON['parse'](_0x44ebd4['context']):_0x44ebd4['context'],_0x44ebd4['attributes']?JSON['parse'](_0x44ebd4['attributes']):null,_0x44ebd4['unlinkedAt']?new Date(_0x44ebd4['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x533a19{['commentThreadId'];['documentId'];['resolvedBy'];['resolvedAt'];static ['DESCRIPTOR_NAME']='CommentsV2ResolveCommentThreadResponse';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'documentId':{'type':'string','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4}}};constructor(_0x2f0afd,_0x58d031,_0x21cfd8,_0x403e85){super(),this['commentThreadId']=_0x2f0afd,this['documentId']=_0x58d031,this['resolvedBy']=_0x21cfd8,this['resolvedAt']=new Date(_0x403e85);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x596c02){return new ResolveCommentThreadResponse(_0x596c02['commentThreadId'],_0x596c02['documentId'],_0x596c02['resolvedBy'],_0x596c02['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0x31c75c['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x522c32){super(),this['_documentId']=_0x522c32;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x5f3c35){if(this['_isConnected'])return;if(_0x5f3c35['state']!==_0x507a0d)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x5f3c35);const _0x3cc508=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x5f3c35,this['stopListening'](_0x5f3c35,'change:state');const _0x1fbad5=await _0x5f3c35['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x4341e0['encode'](_0x3cc508)),{channel:_0x3db90b,threads:_0x351290}=_0x4341e0['decode'](_0x1fbad5,ConnectResponse);return this['listenTo'](_0x5f3c35,'change:state',(_0xd5cca1,_0x343311,_0x2187bf)=>this['_onWsGatewayStateChange'](_0x2187bf),{'priority':_0xb2d773['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x5f3c35,_0x3db90b),this['_isConnected']=!0x0,this['fire']('connected'),_0x351290;}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['_connectedSessions']&&(this['_connectedSessions']['disconnect'](),this['_connectedSessions']=void 0x0),this['fire']('disconnected'),this['stopListening']());}async['addComment'](_0xad7562,_0x30d99b,_0xa998e7,_0x14a777){const _0x2ebb28=new AddCommentMessage(this['_documentId'],_0xad7562,_0xa998e7,_0x30d99b,void 0x0,void 0x0,_0x14a777),_0x41c6a1=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x2ebb28);return _0x4341e0['decode'](_0x41c6a1,AddCommentResponse);}async['updateComment'](_0x487048,_0x151d2a,_0xdffcc4,_0x3ed5f3){const _0x16bf5f=void 0x0!==_0x3ed5f3,_0x2286e0=new UpdateCommentMessage(this['_documentId'],_0x487048,_0x151d2a,_0xdffcc4,_0x3ed5f3,_0x16bf5f);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x2286e0);}async['removeComment'](_0x19e06a,_0x349f7a){const _0x2f0809=new RemoveCommentMessage(this['_documentId'],_0x19e06a,_0x349f7a);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x2f0809);}async['removeCommentThread'](_0x192d06){const _0x6884fb=new RemoveCommentThreadMessage(this['_documentId'],_0x192d06);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x6884fb);}async['addCommentThread'](_0x458df8){const _0x5cbdfb=new AddCommentThreadMessage(this['_documentId'],_0x458df8['commentThreadId'],_0x458df8['comments']?.['map'](_0x48f471=>({..._0x48f471,'documentId':this['_documentId'],'commentThreadId':_0x458df8['commentThreadId']})),_0x458df8['context'],_0x458df8['resolvedBy'],_0x458df8['createdAt'],_0x458df8['resolvedAt'],_0x458df8['deletedAt'],_0x458df8['attributes']),_0x531781=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x5cbdfb);return _0x4341e0['decode'](_0x531781,AddCommentThreadResponse);}async['resolveCommentThread'](_0x350f79){const _0xab117f=new ResolveCommentThreadMessage(_0x350f79,this['_documentId']),_0x4d3995=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0xab117f);return _0x4341e0['decode'](_0x4d3995,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x265cee){const _0x2340f0=new ReopenCommentThreadMessage(_0x265cee,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x2340f0);}async['updateCommentThread'](_0x2ffddd){const _0x142f30=new UpdateCommentThreadMessage(_0x2ffddd['commentThreadId'],this['_documentId'],_0x2ffddd['context'],_0x2ffddd['attributes'],_0x2ffddd['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x142f30);}async['getCommentThread'](_0x564b96,_0x457646=0x1){const _0x571df5=new GetCommentThreadMessage(_0x564b96,this['_documentId']);try{const _0x13de21=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x571df5),_0xa54d07=_0x4341e0['decode'](_0x13de21,GetCommentThreadResponse);return{'commentThreadId':_0xa54d07['commentThreadId'],'comments':_0xa54d07['comments'],'attributes':_0xa54d07['attributes'],'context':_0xa54d07['context'],'resolvedAt':_0xa54d07['resolvedAt'],'resolvedBy':_0xa54d07['resolvedBy'],'deletedAt':_0xa54d07['deletedAt'],'unlinkedAt':_0xa54d07['unlinkedAt']};}catch(_0x44512d){if('CKEditorCloudServicesServerError'===_0x44512d['name']&&'404'===_0x44512d['code']&&_0x457646<0x5)return await(_0x529aa5=0x64*_0x457646,new Promise(_0x2364a6=>{setTimeout(_0x2364a6,_0x529aa5);})),this['getCommentThread'](_0x564b96,_0x457646+0x1);if('CKEditorCloudServicesServerError'===_0x44512d['name'])throw _0x44512d;throw CKEditorCloudServicesServerError['fromPublicError'](_0x44512d);}var _0x529aa5;}async['getDocumentThreads'](){const _0x3b539a=new GetDocumentThreadsMessage(this['_documentId']),_0x51f7ab=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x3b539a),{threads:_0x21cfb2}=_0x4341e0['decode'](_0x51f7ab,GetDocumentThreadsResponse);return{'threads':_0x21cfb2};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await _0x2df152['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x4a6758,_0x3d5f8e){this['_channel']=_0x4a6758['_getChannel'](CommentsService['_SERVICE'],_0x3d5f8e),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x207937,_0x3df795)=>{const _0x159ab0=_0x4341e0['decode'](_0x3df795,AddCommentMessage);this['fire']('commentAdded',_0x159ab0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x450078,_0x5a1853)=>{const _0x2da6c5=_0x4341e0['decode'](_0x5a1853,RemoveCommentMessage);this['fire']('commentRemoved',_0x2da6c5);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x244d14,_0xc9f3ef)=>{const _0x4d7401=_0x4341e0['decode'](_0xc9f3ef,UpdateCommentMessage);this['fire']('commentUpdated',_0x4d7401);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x309917,_0x50e15c)=>{const _0xf1ab9=_0x4341e0['decode'](_0x50e15c,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0xf1ab9);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x22e8c6,_0x28885c)=>{const _0x3b4686=_0x4341e0['decode'](_0x28885c,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x3b4686);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x19df76,_0x3b3df6)=>{const _0x18a75f=_0x4341e0['decode'](_0x3b3df6,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x18a75f);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x3009c7,_0x186164)=>{const _0x32cb11=_0x4341e0['decode'](_0x186164,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x32cb11);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x2eb9f4,_0x5838b0)=>{const _0x1dee34=_0x4341e0['decode'](_0x5838b0,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x1dee34);}));}['_onWsGatewayStateChange'](_0x1054e1){_0x1054e1===_0x5e5616&&this['disconnect']();}['_sendRequest'](_0x2be503,_0x98cf9c){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x2be503,_0x4341e0['encode'](_0x98cf9c));}}class WebSocketGateway extends _0x31c75c['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>_0xb2d773)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[_0x31c75c['CloudServices'],_0x31c75c['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b11f7){super(_0x1b11f7),this['set']('state',_0x507a0d),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x31c75c['DomEmitterMixin']())();}['init'](){const _0x483b78=this['context'],_0x2aed6e=_0x483b78['plugins']['get'](_0x31c75c['CloudServices']),_0x26be5c=_0x483b78['plugins']['get'](_0x31c75c['Notification']);if(!_0x2aed6e['token'])throw new _0x31c75c['CKEditorError']('websocketgateway-missing-token',this);if(!_0x2aed6e['webSocketUrl'])throw new _0x31c75c['CKEditorError']('websocketgateway-missing-websocket-url',this);return this['_domEmitter']['listenTo'](window,'offline',()=>this['_isBrowserOffline']=!0x0),this['_domEmitter']['listenTo'](window,'online',()=>this['_isBrowserOffline']=!0x1),this['context']['config']['define']('cloudServices.connectionTimeout',0xa),this['context']['config']['define']('cloudServices.requestTimeout',0x14),WebSocketGateway['WebSocketGateway']['connect'](_0x2aed6e['token'],_0x2aed6e['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x57e6ea=>{if(this['connection']=_0x57e6ea,this['bind']('state')['to'](_0x57e6ea,'state',this,'_isBrowserOffline',(_0x53e9cf,_0x55db66)=>('connected'!==_0x53e9cf&&(this['_shouldPluginsReconnect']=!0x0),_0x55db66||_0x53e9cf!==_0x507a0d?_0x5e5616:this['state']==_0x5e5616&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x3eddf5):_0x507a0d)),this['connection']['on']('error',(_0x6e8f6a,_0x4e2f50)=>{if('limitExceeded'!==_0x4e2f50['code'])throw console['error'](_0x4e2f50),new _0x31c75c['CKEditorError']('cloudservices-init',null,{'originalError':_0x4e2f50});_0x26be5c['showWarning']('The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.',{'title':'Connected\x20users\x20limit\x20exceeded','namespace':'real-time-collaboration'});}),!_0x57e6ea['me'])return new Promise(_0x2a84e2=>_0x57e6ea['on']('change:me',_0x2a84e2));})['catch'](_0x41357d=>{throw console['error'](_0x41357d),new _0x31c75c['CKEditorError']('cloudservices-init',null,{'originalError':_0x41357d});});}['addToReconnectionStack'](_0x476eda){if('function'!=typeof _0x476eda['reconnect'])throw new _0x31c75c['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x476eda))throw new _0x31c75c['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x476eda['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x476eda);}['removeFromReconnectionStack'](_0x13c798){this['_reconnectionStack']['delete'](_0x13c798);}['isInReconnectionStack'](_0x1868d6){return this['_reconnectionStack']['has'](_0x1868d6);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x4890e1=>_0x4890e1['reconnect']())))['then'](()=>this['state']=_0x507a0d)['catch'](_0xac7ba5=>{throw console['error'](_0xac7ba5),new _0x31c75c['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x5e5616,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0xcad824 extends _0x31c75c['ContextPlugin']{['channelSessions'];['channelConnectedUsers'];['allConnectedUsers'];['_registeredSessions'];['_uniqueUsersCount'];['_users'];static get['pluginName'](){return'Sessions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[WebSocketGateway,_0x1eec90];}constructor(_0x15a374){super(_0x15a374),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x31c75c['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x1eec90);}['init'](){const _0x1e89df=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x1e89df,'change:state',(_0x1b2766,_0x169d18,_0x313b12)=>{if('connected'!==_0x313b12)this['channelSessions']['forEach'](_0x2ee9e5=>_0x2ee9e5['clear']()),this['channelConnectedUsers']['forEach'](_0x3e75c0=>_0x3e75c0['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x3968ed,_0x3afe12]of this['_registeredSessions'])for(const _0x319cc7 of _0x3afe12)this['_handleSessionAdd'](_0x3968ed,_0x319cc7);}}),this['_createUser'](_0x1e89df['connection']['me'],!0x0);}['register'](_0x4355e9,_0x9c20d){if(this['_registeredSessions']['has'](_0x4355e9))throw new _0x31c75c['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x4355e9});this['_registeredSessions']['set'](_0x4355e9,_0x9c20d),this['channelSessions']['set'](_0x4355e9,new _0x31c75c['Collection']()),this['channelConnectedUsers']['set'](_0x4355e9,new _0x31c75c['Collection']()),this['listenTo'](_0x9c20d,'add',(_0x13bb0f,_0x3c2729)=>this['_handleSessionAdd'](_0x4355e9,_0x3c2729)),this['listenTo'](_0x9c20d,'remove',(_0x78c305,_0x5f5114)=>this['_handleSessionRemove'](_0x4355e9,_0x5f5114));for(const _0x551639 of _0x9c20d)this['_handleSessionAdd'](_0x4355e9,_0x551639);}['unregister'](_0x19a027){if(!this['_registeredSessions']['has'](_0x19a027))throw new _0x31c75c['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x19a027});const _0x552556=this['_registeredSessions']['get'](_0x19a027);this['stopListening'](_0x552556);for(const _0x3934ef of _0x552556)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x19a027,_0x3934ef);this['_registeredSessions']['delete'](_0x19a027),this['channelSessions']['delete'](_0x19a027),this['channelConnectedUsers']['delete'](_0x19a027);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x4d3d04){for(const _0x257b22 of this['channelSessions']['values']())for(const _0x46cd40 of _0x257b22)if(_0x46cd40['id']===_0x4d3d04)return _0x46cd40['user'];}['getUserSessions'](_0x472f63,_0x47b0ea){const _0x10eb29=_0x47b0ea?[this['channelSessions']['get'](_0x47b0ea)]:this['channelSessions']['values'](),_0x412674=new Set();for(const _0x2f3740 of _0x10eb29)for(const _0x4688ec of _0x2f3740)_0x4688ec['user']['id']===_0x472f63['id']&&_0x412674['add'](_0x4688ec['id']);return _0x412674;}['getUserRole'](_0x501770){for(const _0x500e82 of this['channelSessions']['values']())for(const _0x58321a of _0x500e82)if(_0x58321a['user']===_0x501770)return _0x58321a['role'];}['_handleSessionAdd'](_0x1e7e4b,_0x16cdba){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x1bf0d4=_0x16cdba['user'],_0x27d553=this['_users']['getUser'](_0x1bf0d4['id'])||this['_createUser'](_0x1bf0d4),_0x49b336=Object['assign']({},_0x16cdba,{'user':_0x27d553});if(this['channelSessions']['get'](_0x1e7e4b)['add'](_0x49b336),!_0x1bf0d4['hiddenInPresenceList']){const _0x5786b7=this['channelConnectedUsers']['get'](_0x1e7e4b);_0x5786b7['has'](_0x27d553['id'])||_0x5786b7['add'](_0x27d553),this['allConnectedUsers']['has'](_0x27d553['id'])||_0x1bf0d4['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x27d553,_0x27d553['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x1e7e4b,{'channelId':_0x1e7e4b,'session':_0x49b336});}['_handleSessionRemove'](_0x1c9c4a,_0x4f2038){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x5f6885=this['channelConnectedUsers']['get'](_0x1c9c4a),_0x18cd88=_0x4f2038['user'];_0x18cd88['id']&&(this['channelSessions']['get'](_0x1c9c4a)['remove'](_0x4f2038['id']),_0x5f6885['has'](_0x18cd88['id'])&&!this['getUserSessions'](_0x18cd88,_0x1c9c4a)['size']&&_0x5f6885['remove'](_0x18cd88['id']),this['allConnectedUsers']['get'](_0x18cd88['id'])&&!this['getUserSessions'](_0x18cd88)['size']&&this['allConnectedUsers']['remove'](_0x18cd88['id']));}['_createUser'](_0x48e594,_0x5ec89c){const _0x3cede6=this['_users']['addUser'](_0x48e594);return _0x5ec89c&&this['_users']['defineMe'](_0x48e594['id']),_0x3cede6['orderNumber']=this['_uniqueUsersCount']++,_0x3cede6;}}class _0x196810 extends _0x31c75c['Plugin']{['_domEmitter']=new(_0x31c75c['DomEmitterMixin']())();static get['requires'](){return[_0xcad824];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1406df=this['editor'],_0x24e990=_0x1406df['plugins']['get'](_0xcad824);_0x1406df['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x208e62,{writer:_0x42c0fd})=>function(_0x118d8d,_0x3bcd2e,_0x4113fd,_0x3c95f4){const _0x11f855=_0x118d8d['markerName']['split'](':')[0x2],_0x13237c=_0x4113fd['getUserBySessionId'](_0x11f855);if(!_0x13237c||_0x11f855===_0x4113fd['mySessionId'])return;if(!_0x3c95f4['model']['schema']['checkChild'](_0x118d8d['markerRange']['start'],'$text'))return;const _0x370b56={'class':'ck-user__marker\x20'+_0x13237c['color']['getMarkerClass'](),'style':_0x2d43cc(_0x13237c),'data-name':_0x13237c['name'],'data-session-id':_0x11f855},_0x20d92d=_0x3c95f4['model']['markers']['get'](_0x118d8d['markerName']),_0x19e0a7=_0x20d92d['getStart'](),_0x58c71a=_0x19e0a7['nodeAfter'],_0x5d97d1=_0x3c95f4['model']['schema'];if(_0x58c71a&&_0x5d97d1['isObject'](_0x58c71a)&&_0x5d97d1['isInline'](_0x58c71a)&&!_0x3c95f4['model']['markers']['get']('user:range:'+_0x11f855)['getRange']()['isCollapsed'])return;const _0x4604b5=_0x19e0a7['parent'];return _0x3c95f4['model']['schema']['isLimit'](_0x4604b5)&&!_0x3c95f4['model']['hasContent'](_0x4604b5)&&(_0x370b56['contenteditable']=!0x1),function(_0x25def7,_0x225bb9,_0x46039a){const _0x1c6cb8=_0x25def7['createUIElement']('span',_0x225bb9);return _0x25def7['setCustomProperty']('userPositionMarker',!0x0,_0x1c6cb8),_0x1c6cb8['render']=function(_0x37514f){const _0x5654ad=this['toDomElement'](_0x37514f),_0x46bac7=document['createElement']('span');return _0x46bac7['classList']['add']('ck-user__marker-tooltip'),_0x46bac7['setAttribute']('contenteditable','false'),_0x46bac7['setAttribute']('spellcheck','false'),_0x46bac7['textContent']=_0x46039a['name'],_0x5654ad['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x46bac7['outerHTML']+'⁠',_0x5654ad['addEventListener']('mouseenter',()=>{_0x5654ad['classList']['add']('ck-user__marker_hovered');}),_0x5654ad['addEventListener']('mouseleave',()=>{_0x5654ad['classList']['remove']('ck-user__marker_hovered');}),_0x5654ad;},_0x1c6cb8['isSimilar']=function(_0x20d9e1){return!(!this['getCustomProperty']('userPositionMarker')||!_0x20d9e1['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x20d9e1['getAttribute']('data-session-id'));},_0x1c6cb8;}(_0x3bcd2e,_0x370b56,_0x13237c);}(_0x208e62,_0x42c0fd,_0x24e990,_0x1406df)}),_0x1406df['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x580173=>function(_0x5d24c4,_0x4a5d6a){const _0x2d435a=_0x5d24c4['markerName']['split'](':')[0x2];if(_0x2d435a===_0x4a5d6a['mySessionId'])return null;const _0x25b992=_0x4a5d6a['getUserBySessionId'](_0x2d435a);if(!_0x25b992)return{'id':_0x2d435a,'classes':[]};return{'id':_0x2d435a,'classes':['ck-user__selection',_0x25b992['color']['getSelectionClass']()],'attributes':{'style':_0x2d43cc(_0x25b992),'data-session-id':_0x2d435a},'priority':0x7d0+_0x25b992['orderNumber']};}(_0x580173,_0x24e990)}),function(_0xb0d9aa){const _0x4b688b=_0xb0d9aa['model'],_0x1ce365=new Map(),_0x1b7f69=_0xb0d9aa['plugins']['get'](_0xcad824);_0x4b688b['markers']['on']('update:user:range',(_0x3f3568,_0x4f2849,_0x4a8520,_0x1e2496)=>{if(!_0x1e2496&&_0x1ce365['get'](_0x4f2849['name']))return _0x1ce365['get'](_0x4f2849['name'])['detach'](),void _0x1ce365['delete'](_0x4f2849['name']);const _0x1aeff2=_0x4f2849['name']['split'](':')[0x2];if(_0x1aeff2===_0x1b7f69['mySessionId'])return;const _0x5287af='user:position:'+_0x1aeff2;_0x4b688b['markers']['has'](_0x5287af)&&_0xb0d9aa['editing']['reconvertMarker'](_0x5287af),_0x4f2849['on']('change:range',(_0x470016,_0x39271c,_0x2849cd)=>{if('$graveyard'!=_0x39271c['root']['rootName']&&'$graveyard'==_0x4f2849['getRange']()['root']['rootName']&&!_0x1ce365['has'](_0x4f2849['name'])){const _0x309ebc=_0x4b688b['schema']['getNearestSelectionRange'](_0x2849cd['deletionPosition']);if(_0x309ebc){const _0x5b3631=_0x31c75c['ModelLiveRange']['fromRange'](_0x309ebc);_0x1ce365['set'](_0x4f2849['name'],_0x5b3631),_0x5b3631['on']('change:range',(_0x3fd5a7,_0x152da4,_0x525ae7)=>{if('$graveyard'==_0x5b3631['root']['rootName']){const _0x22c9ca=_0x4b688b['schema']['getNearestSelectionRange'](_0x525ae7['deletionPosition']);_0x22c9ca?(_0x5b3631['start']=_0x22c9ca['start'],_0x5b3631['end']=_0x22c9ca['end']):(_0x1ce365['delete'](_0x4f2849['name']),_0x5b3631['detach']());}});}}});}),_0x4b688b['document']['on']('change',()=>{_0x1ce365['size']>0x0&&_0x4b688b['enqueueChange']({'isUndoable':!0x1},_0xe71237=>{for(const [_0x1ad7ba,_0x3a6e3d]of _0x1ce365)'$graveyard'==_0x4b688b['markers']['get'](_0x1ad7ba)['getRange']()['root']['rootName']&&(_0x482dae(_0x1ad7ba['split'](':')[0x2],_0x3a6e3d['toRange'](),_0x4b688b,_0xe71237),_0x3a6e3d['detach']());_0x1ce365['clear']();});});}(_0x1406df),this['_domEmitter']['listenTo'](_0x31c75c['global']['document'],'keydown',(_0x575545,{key:_0xe49f2})=>{'Escape'===_0xe49f2&&function(_0x1799b5){_0x1799b5['editing']['view']['change'](_0x51fcc6=>{for(const _0x27c677 of _0x1799b5['model']['markers']){if(!_0x27c677['name']['startsWith']('user:position'))continue;const _0x2c0af9=_0x1799b5['editing']['mapper']['markerNameToElements'](_0x27c677['name']);if(_0x2c0af9){for(const _0x5b1b41 of _0x2c0af9)_0x51fcc6['removeClass']('ck-user__marker_hovered',_0x5b1b41);}}});}(_0x1406df);},{'useCapture':!0x0});}['afterInit'](){const _0x21a18e=this['editor'],_0x3085d5=_0x21a18e['commands']['get']('undo');_0x3085d5&&_0x21a18e['model']['on']('applyOperation',(_0x131724,_0x5e926f)=>{const _0x1f1ff7=_0x5e926f[0x0];if(!_0x1f1ff7['isDocumentOperation'])return;if('marker'!=_0x1f1ff7['type']||!_0x1f1ff7['name']['startsWith']('user:'))return;const _0x1bb0dd=_0x1f1ff7['batch'];_0x3085d5['_createdBatches']['has'](_0x1bb0dd)&&(_0x1f1ff7['newRange']=_0x1f1ff7['oldRange']?_0x21a18e['model']['createRange'](_0x1f1ff7['oldRange']['start'],_0x1f1ff7['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x190c3a=this['editor'],_0x4f7698=_0x190c3a['model']['document'],_0x1cff0f=_0x190c3a['plugins']['get'](_0xcad824);_0x190c3a['model']['enqueueChange']({'isUndoable':!0x1},_0x49b415=>{const _0x5d17cf='user:range:'+_0x1cff0f['mySessionId'],_0x25d873='user:position:'+_0x1cff0f['mySessionId'],_0x3a07de=_0x190c3a['model']['markers']['has'](_0x5d17cf);_0x190c3a['editing']['view']['hasDomSelection']?_0x482dae(_0x1cff0f['mySessionId'],_0x4f7698['selection']['getFirstRange'](),_0x190c3a['model'],_0x49b415):_0x3a07de&&(_0x49b415['removeMarker'](_0x5d17cf),_0x49b415['removeMarker'](_0x25d873));});}}function _0x482dae(_0x476c18,_0xaa0d7e,_0x4e29e7,_0x405be9){const _0x52a748='user:range:'+_0x476c18,_0x37f7f7='user:position:'+_0x476c18,_0x4cf0f1=_0xaa0d7e['getContainedElement']();let _0x4b762f=_0xaa0d7e['start'];if(_0x4cf0f1&&_0x4cf0f1['is']('element','tableCell')){const _0x5d04a5=function(_0x27e12a,_0x4bc791){for(const _0x510156 of _0x27e12a['getPositions']())if(_0x4bc791['schema']['checkChild'](_0x510156,'$text'))return _0x510156;}(_0xaa0d7e,_0x4e29e7);_0x5d04a5&&(_0x4b762f=_0x5d04a5,_0xaa0d7e=_0x405be9['createRange'](_0x4b762f));}const _0x312573=_0x405be9['createRange'](_0x4b762f);_0x4e29e7['markers']['has'](_0x52a748)?(_0x405be9['updateMarker'](_0x52a748,{'range':_0xaa0d7e}),_0x405be9['updateMarker'](_0x37f7f7,{'range':_0x312573})):(_0x405be9['addMarker'](_0x52a748,{'range':_0xaa0d7e,'usingOperation':!0x0}),_0x405be9['addMarker'](_0x37f7f7,{'range':_0x312573,'usingOperation':!0x0}));}function _0x2d43cc(_0x220bae){return'--ck-user-color:'+_0x220bae['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x220bae['color']['getColorAlphaVariable']()+';';}function _0x289de6(_0x2e81a5,_0x307e2a,_0x32e691){const _0x4a1b1b=_0x2e81a5['t'],t=_0x2e81a5['t'];switch(_0x307e2a){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return _0x4a1b1b({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x32e691);default:return'';}}const _0x2b6e6d=/* #__PURE__ -- @preserve */
((()=>{var _0xf760a6=_0x5be20d['Reader'],_0x239201=_0x5be20d['Writer'],_0x99e1ea=_0x5be20d['util'],_0xdaa17a=_0x5be20d['roots']['default']||(_0x5be20d['roots']['default']={});return _0xdaa17a['AttributeOperation']=(function(){function _0x46c91c(_0x3241f2){if(_0x3241f2){for(var _0xc1ea59=Object['keys'](_0x3241f2),_0x44b786=0x0;_0x44b786<_0xc1ea59['length'];++_0x44b786)null!=_0x3241f2[_0xc1ea59[_0x44b786]]&&'__proto__'!==_0xc1ea59[_0x44b786]&&(this[_0xc1ea59[_0x44b786]]=_0x3241f2[_0xc1ea59[_0x44b786]]);}}return _0x46c91c['prototype']['range']=null,_0x46c91c['prototype']['key']='',_0x46c91c['prototype']['oldValueBoolean']=!0x1,_0x46c91c['prototype']['oldValueJson']='',_0x46c91c['prototype']['newValueBoolean']=!0x1,_0x46c91c['prototype']['newValueJson']='',_0x46c91c['prototype']['wasUndone']=!0x1,_0x46c91c['create']=function(_0x127395){return new _0x46c91c(_0x127395);},_0x46c91c['encode']=function(_0x162576,_0x1678d4){return _0x1678d4||(_0x1678d4=_0x239201['create']()),null!=_0x162576['range']&&Object['hasOwnProperty']['call'](_0x162576,'range')&&_0xdaa17a['Range']['encode'](_0x162576['range'],_0x1678d4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x162576['key']&&Object['hasOwnProperty']['call'](_0x162576,'key')&&_0x1678d4['uint32'](0x12)['string'](_0x162576['key']),null!=_0x162576['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x162576,'oldValueBoolean')&&_0x1678d4['uint32'](0x18)['bool'](_0x162576['oldValueBoolean']),null!=_0x162576['oldValueJson']&&Object['hasOwnProperty']['call'](_0x162576,'oldValueJson')&&_0x1678d4['uint32'](0x22)['string'](_0x162576['oldValueJson']),null!=_0x162576['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x162576,'newValueBoolean')&&_0x1678d4['uint32'](0x28)['bool'](_0x162576['newValueBoolean']),null!=_0x162576['newValueJson']&&Object['hasOwnProperty']['call'](_0x162576,'newValueJson')&&_0x1678d4['uint32'](0x32)['string'](_0x162576['newValueJson']),null!=_0x162576['wasUndone']&&Object['hasOwnProperty']['call'](_0x162576,'wasUndone')&&_0x1678d4['uint32'](0x38)['bool'](_0x162576['wasUndone']),_0x1678d4;},_0x46c91c['encodeDelimited']=function(_0x4b7cdb,_0x55a68a){return this['encode'](_0x4b7cdb,_0x55a68a)['ldelim']();},_0x46c91c['decode']=function(_0x2f5fea,_0x39bd7c,_0x5c47e3,_0x4a7897){if(_0x2f5fea instanceof _0xf760a6||(_0x2f5fea=_0xf760a6['create'](_0x2f5fea)),void 0x0===_0x4a7897&&(_0x4a7897=0x0),_0x4a7897>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x328ab2=void 0x0===_0x39bd7c?_0x2f5fea['len']:_0x2f5fea['pos']+_0x39bd7c,_0x3ec7b7=new _0xdaa17a['AttributeOperation']();_0x2f5fea['pos']<_0x328ab2;){var _0x3bdb8b=_0x2f5fea['uint32']();if(_0x3bdb8b===_0x5c47e3)break;switch(_0x3bdb8b>>>0x3){case 0x1:_0x3ec7b7['range']=_0xdaa17a['Range']['decode'](_0x2f5fea,_0x2f5fea['uint32'](),void 0x0,_0x4a7897+0x1);break;case 0x2:_0x3ec7b7['key']=_0x2f5fea['string']();break;case 0x3:_0x3ec7b7['oldValueBoolean']=_0x2f5fea['bool']();break;case 0x4:_0x3ec7b7['oldValueJson']=_0x2f5fea['string']();break;case 0x5:_0x3ec7b7['newValueBoolean']=_0x2f5fea['bool']();break;case 0x6:_0x3ec7b7['newValueJson']=_0x2f5fea['string']();break;case 0x7:_0x3ec7b7['wasUndone']=_0x2f5fea['bool']();break;default:_0x2f5fea['skipType'](0x7&_0x3bdb8b,_0x4a7897);}}return _0x3ec7b7;},_0x46c91c['decodeDelimited']=function(_0x4b9470){return _0x4b9470 instanceof _0xf760a6||(_0x4b9470=new _0xf760a6(_0x4b9470)),this['decode'](_0x4b9470,_0x4b9470['uint32']());},_0x46c91c['verify']=function(_0x453a98,_0x2bd55d){if('object'!=typeof _0x453a98||null===_0x453a98)return'object\x20expected';if(void 0x0===_0x2bd55d&&(_0x2bd55d=0x0),_0x2bd55d>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x453a98['range']&&_0x453a98['hasOwnProperty']('range')){var _0x4fba93=_0xdaa17a['Range']['verify'](_0x453a98['range'],_0x2bd55d+0x1);if(_0x4fba93)return'range.'+_0x4fba93;}return null!=_0x453a98['key']&&_0x453a98['hasOwnProperty']('key')&&!_0x99e1ea['isString'](_0x453a98['key'])?'key:\x20string\x20expected':null!=_0x453a98['oldValueBoolean']&&_0x453a98['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x453a98['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x453a98['oldValueJson']&&_0x453a98['hasOwnProperty']('oldValueJson')&&!_0x99e1ea['isString'](_0x453a98['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x453a98['newValueBoolean']&&_0x453a98['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x453a98['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x453a98['newValueJson']&&_0x453a98['hasOwnProperty']('newValueJson')&&!_0x99e1ea['isString'](_0x453a98['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x453a98['wasUndone']&&_0x453a98['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x453a98['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x46c91c['fromObject']=function(_0x4dfbb0,_0x10e68b){if(_0x4dfbb0 instanceof _0xdaa17a['AttributeOperation'])return _0x4dfbb0;if(void 0x0===_0x10e68b&&(_0x10e68b=0x0),_0x10e68b>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x544aa8=new _0xdaa17a['AttributeOperation']();if(null!=_0x4dfbb0['range']){if('object'!=typeof _0x4dfbb0['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x544aa8['range']=_0xdaa17a['Range']['fromObject'](_0x4dfbb0['range'],_0x10e68b+0x1);}return null!=_0x4dfbb0['key']&&(_0x544aa8['key']=String(_0x4dfbb0['key'])),null!=_0x4dfbb0['oldValueBoolean']&&(_0x544aa8['oldValueBoolean']=Boolean(_0x4dfbb0['oldValueBoolean'])),null!=_0x4dfbb0['oldValueJson']&&(_0x544aa8['oldValueJson']=String(_0x4dfbb0['oldValueJson'])),null!=_0x4dfbb0['newValueBoolean']&&(_0x544aa8['newValueBoolean']=Boolean(_0x4dfbb0['newValueBoolean'])),null!=_0x4dfbb0['newValueJson']&&(_0x544aa8['newValueJson']=String(_0x4dfbb0['newValueJson'])),null!=_0x4dfbb0['wasUndone']&&(_0x544aa8['wasUndone']=Boolean(_0x4dfbb0['wasUndone'])),_0x544aa8;},_0x46c91c['toObject']=function(_0x54316f,_0x1580e3){_0x1580e3||(_0x1580e3={});var _0xa7a549={};return _0x1580e3['defaults']&&(_0xa7a549['range']=null,_0xa7a549['key']='',_0xa7a549['oldValueBoolean']=!0x1,_0xa7a549['oldValueJson']='',_0xa7a549['newValueBoolean']=!0x1,_0xa7a549['newValueJson']='',_0xa7a549['wasUndone']=!0x1),null!=_0x54316f['range']&&_0x54316f['hasOwnProperty']('range')&&(_0xa7a549['range']=_0xdaa17a['Range']['toObject'](_0x54316f['range'],_0x1580e3)),null!=_0x54316f['key']&&_0x54316f['hasOwnProperty']('key')&&(_0xa7a549['key']=_0x54316f['key']),null!=_0x54316f['oldValueBoolean']&&_0x54316f['hasOwnProperty']('oldValueBoolean')&&(_0xa7a549['oldValueBoolean']=_0x54316f['oldValueBoolean']),null!=_0x54316f['oldValueJson']&&_0x54316f['hasOwnProperty']('oldValueJson')&&(_0xa7a549['oldValueJson']=_0x54316f['oldValueJson']),null!=_0x54316f['newValueBoolean']&&_0x54316f['hasOwnProperty']('newValueBoolean')&&(_0xa7a549['newValueBoolean']=_0x54316f['newValueBoolean']),null!=_0x54316f['newValueJson']&&_0x54316f['hasOwnProperty']('newValueJson')&&(_0xa7a549['newValueJson']=_0x54316f['newValueJson']),null!=_0x54316f['wasUndone']&&_0x54316f['hasOwnProperty']('wasUndone')&&(_0xa7a549['wasUndone']=_0x54316f['wasUndone']),_0xa7a549;},_0x46c91c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x46c91c['getTypeUrl']=function(_0x437599){return void 0x0===_0x437599&&(_0x437599='type.googleapis.com'),_0x437599+'/AttributeOperation';},_0x46c91c;}()),_0xdaa17a['InsertOperation']=(function(){function _0x2ff506(_0x285759){if(this['nodes']=[],_0x285759){for(var _0x4be8a5=Object['keys'](_0x285759),_0x3899b6=0x0;_0x3899b6<_0x4be8a5['length'];++_0x3899b6)null!=_0x285759[_0x4be8a5[_0x3899b6]]&&'__proto__'!==_0x4be8a5[_0x3899b6]&&(this[_0x4be8a5[_0x3899b6]]=_0x285759[_0x4be8a5[_0x3899b6]]);}}return _0x2ff506['prototype']['position']=null,_0x2ff506['prototype']['nodes']=_0x99e1ea['emptyArray'],_0x2ff506['prototype']['shouldReceiveAttributes']=!0x1,_0x2ff506['prototype']['wasUndone']=!0x1,_0x2ff506['create']=function(_0x38fb9a){return new _0x2ff506(_0x38fb9a);},_0x2ff506['encode']=function(_0x2817cd,_0x38beba){if(_0x38beba||(_0x38beba=_0x239201['create']()),null!=_0x2817cd['position']&&Object['hasOwnProperty']['call'](_0x2817cd,'position')&&_0xdaa17a['Position']['encode'](_0x2817cd['position'],_0x38beba['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2817cd['nodes']&&_0x2817cd['nodes']['length']){for(var _0x4d7694=0x0;_0x4d7694<_0x2817cd['nodes']['length'];++_0x4d7694)_0xdaa17a['Element']['encode'](_0x2817cd['nodes'][_0x4d7694],_0x38beba['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x2817cd['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x2817cd,'shouldReceiveAttributes')&&_0x38beba['uint32'](0x18)['bool'](_0x2817cd['shouldReceiveAttributes']),null!=_0x2817cd['wasUndone']&&Object['hasOwnProperty']['call'](_0x2817cd,'wasUndone')&&_0x38beba['uint32'](0x20)['bool'](_0x2817cd['wasUndone']),_0x38beba;},_0x2ff506['encodeDelimited']=function(_0x28176e,_0x4b0ece){return this['encode'](_0x28176e,_0x4b0ece)['ldelim']();},_0x2ff506['decode']=function(_0xa366a7,_0x3bdd7a,_0x1a8b22,_0x4ef69e){if(_0xa366a7 instanceof _0xf760a6||(_0xa366a7=_0xf760a6['create'](_0xa366a7)),void 0x0===_0x4ef69e&&(_0x4ef69e=0x0),_0x4ef69e>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x26873c=void 0x0===_0x3bdd7a?_0xa366a7['len']:_0xa366a7['pos']+_0x3bdd7a,_0x1c004d=new _0xdaa17a['InsertOperation']();_0xa366a7['pos']<_0x26873c;){var _0x123532=_0xa366a7['uint32']();if(_0x123532===_0x1a8b22)break;switch(_0x123532>>>0x3){case 0x1:_0x1c004d['position']=_0xdaa17a['Position']['decode'](_0xa366a7,_0xa366a7['uint32'](),void 0x0,_0x4ef69e+0x1);break;case 0x2:_0x1c004d['nodes']&&_0x1c004d['nodes']['length']||(_0x1c004d['nodes']=[]),_0x1c004d['nodes']['push'](_0xdaa17a['Element']['decode'](_0xa366a7,_0xa366a7['uint32'](),void 0x0,_0x4ef69e+0x1));break;case 0x3:_0x1c004d['shouldReceiveAttributes']=_0xa366a7['bool']();break;case 0x4:_0x1c004d['wasUndone']=_0xa366a7['bool']();break;default:_0xa366a7['skipType'](0x7&_0x123532,_0x4ef69e);}}return _0x1c004d;},_0x2ff506['decodeDelimited']=function(_0x1caf12){return _0x1caf12 instanceof _0xf760a6||(_0x1caf12=new _0xf760a6(_0x1caf12)),this['decode'](_0x1caf12,_0x1caf12['uint32']());},_0x2ff506['verify']=function(_0x59c15d,_0x71981e){if('object'!=typeof _0x59c15d||null===_0x59c15d)return'object\x20expected';if(void 0x0===_0x71981e&&(_0x71981e=0x0),_0x71981e>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x59c15d['position']&&_0x59c15d['hasOwnProperty']('position')&&(_0x496f23=_0xdaa17a['Position']['verify'](_0x59c15d['position'],_0x71981e+0x1)))return'position.'+_0x496f23;if(null!=_0x59c15d['nodes']&&_0x59c15d['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x59c15d['nodes']))return'nodes:\x20array\x20expected';for(var _0x3aca4e=0x0;_0x3aca4e<_0x59c15d['nodes']['length'];++_0x3aca4e){var _0x496f23;if(_0x496f23=_0xdaa17a['Element']['verify'](_0x59c15d['nodes'][_0x3aca4e],_0x71981e+0x1))return'nodes.'+_0x496f23;}}return null!=_0x59c15d['shouldReceiveAttributes']&&_0x59c15d['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x59c15d['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x59c15d['wasUndone']&&_0x59c15d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x59c15d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2ff506['fromObject']=function(_0x24492d,_0x4aaedd){if(_0x24492d instanceof _0xdaa17a['InsertOperation'])return _0x24492d;if(void 0x0===_0x4aaedd&&(_0x4aaedd=0x0),_0x4aaedd>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x57ad4e=new _0xdaa17a['InsertOperation']();if(null!=_0x24492d['position']){if('object'!=typeof _0x24492d['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x57ad4e['position']=_0xdaa17a['Position']['fromObject'](_0x24492d['position'],_0x4aaedd+0x1);}if(_0x24492d['nodes']){if(!Array['isArray'](_0x24492d['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x57ad4e['nodes']=[];for(var _0xae5dcf=0x0;_0xae5dcf<_0x24492d['nodes']['length'];++_0xae5dcf){if('object'!=typeof _0x24492d['nodes'][_0xae5dcf])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x57ad4e['nodes'][_0xae5dcf]=_0xdaa17a['Element']['fromObject'](_0x24492d['nodes'][_0xae5dcf],_0x4aaedd+0x1);}}return null!=_0x24492d['shouldReceiveAttributes']&&(_0x57ad4e['shouldReceiveAttributes']=Boolean(_0x24492d['shouldReceiveAttributes'])),null!=_0x24492d['wasUndone']&&(_0x57ad4e['wasUndone']=Boolean(_0x24492d['wasUndone'])),_0x57ad4e;},_0x2ff506['toObject']=function(_0x4f28eb,_0x1b644f){_0x1b644f||(_0x1b644f={});var _0xee2bb5={};if((_0x1b644f['arrays']||_0x1b644f['defaults'])&&(_0xee2bb5['nodes']=[]),_0x1b644f['defaults']&&(_0xee2bb5['position']=null,_0xee2bb5['shouldReceiveAttributes']=!0x1,_0xee2bb5['wasUndone']=!0x1),null!=_0x4f28eb['position']&&_0x4f28eb['hasOwnProperty']('position')&&(_0xee2bb5['position']=_0xdaa17a['Position']['toObject'](_0x4f28eb['position'],_0x1b644f)),_0x4f28eb['nodes']&&_0x4f28eb['nodes']['length']){_0xee2bb5['nodes']=[];for(var _0x348992=0x0;_0x348992<_0x4f28eb['nodes']['length'];++_0x348992)_0xee2bb5['nodes'][_0x348992]=_0xdaa17a['Element']['toObject'](_0x4f28eb['nodes'][_0x348992],_0x1b644f);}return null!=_0x4f28eb['shouldReceiveAttributes']&&_0x4f28eb['hasOwnProperty']('shouldReceiveAttributes')&&(_0xee2bb5['shouldReceiveAttributes']=_0x4f28eb['shouldReceiveAttributes']),null!=_0x4f28eb['wasUndone']&&_0x4f28eb['hasOwnProperty']('wasUndone')&&(_0xee2bb5['wasUndone']=_0x4f28eb['wasUndone']),_0xee2bb5;},_0x2ff506['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2ff506['getTypeUrl']=function(_0x424c7a){return void 0x0===_0x424c7a&&(_0x424c7a='type.googleapis.com'),_0x424c7a+'/InsertOperation';},_0x2ff506;}()),_0xdaa17a['MarkerOperation']=(function(){function _0x4a3d16(_0x13d434){if(_0x13d434){for(var _0x4df55f=Object['keys'](_0x13d434),_0x220724=0x0;_0x220724<_0x4df55f['length'];++_0x220724)null!=_0x13d434[_0x4df55f[_0x220724]]&&'__proto__'!==_0x4df55f[_0x220724]&&(this[_0x4df55f[_0x220724]]=_0x13d434[_0x4df55f[_0x220724]]);}}return _0x4a3d16['prototype']['name']='',_0x4a3d16['prototype']['oldRange']=null,_0x4a3d16['prototype']['newRange']=null,_0x4a3d16['prototype']['affectsData']=!0x1,_0x4a3d16['prototype']['wasUndone']=!0x1,_0x4a3d16['create']=function(_0x7da53){return new _0x4a3d16(_0x7da53);},_0x4a3d16['encode']=function(_0x525383,_0xa716ea){return _0xa716ea||(_0xa716ea=_0x239201['create']()),null!=_0x525383['name']&&Object['hasOwnProperty']['call'](_0x525383,'name')&&_0xa716ea['uint32'](0xa)['string'](_0x525383['name']),null!=_0x525383['oldRange']&&Object['hasOwnProperty']['call'](_0x525383,'oldRange')&&_0xdaa17a['Range']['encode'](_0x525383['oldRange'],_0xa716ea['uint32'](0x12)['fork']())['ldelim'](),null!=_0x525383['newRange']&&Object['hasOwnProperty']['call'](_0x525383,'newRange')&&_0xdaa17a['Range']['encode'](_0x525383['newRange'],_0xa716ea['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x525383['affectsData']&&Object['hasOwnProperty']['call'](_0x525383,'affectsData')&&_0xa716ea['uint32'](0x20)['bool'](_0x525383['affectsData']),null!=_0x525383['wasUndone']&&Object['hasOwnProperty']['call'](_0x525383,'wasUndone')&&_0xa716ea['uint32'](0x28)['bool'](_0x525383['wasUndone']),_0xa716ea;},_0x4a3d16['encodeDelimited']=function(_0x2a817b,_0x3ceebc){return this['encode'](_0x2a817b,_0x3ceebc)['ldelim']();},_0x4a3d16['decode']=function(_0x52403f,_0x11faa0,_0x3ba471,_0x301489){if(_0x52403f instanceof _0xf760a6||(_0x52403f=_0xf760a6['create'](_0x52403f)),void 0x0===_0x301489&&(_0x301489=0x0),_0x301489>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xddc90a=void 0x0===_0x11faa0?_0x52403f['len']:_0x52403f['pos']+_0x11faa0,_0x3f5b8d=new _0xdaa17a['MarkerOperation']();_0x52403f['pos']<_0xddc90a;){var _0x576c30=_0x52403f['uint32']();if(_0x576c30===_0x3ba471)break;switch(_0x576c30>>>0x3){case 0x1:_0x3f5b8d['name']=_0x52403f['string']();break;case 0x2:_0x3f5b8d['oldRange']=_0xdaa17a['Range']['decode'](_0x52403f,_0x52403f['uint32'](),void 0x0,_0x301489+0x1);break;case 0x3:_0x3f5b8d['newRange']=_0xdaa17a['Range']['decode'](_0x52403f,_0x52403f['uint32'](),void 0x0,_0x301489+0x1);break;case 0x4:_0x3f5b8d['affectsData']=_0x52403f['bool']();break;case 0x5:_0x3f5b8d['wasUndone']=_0x52403f['bool']();break;default:_0x52403f['skipType'](0x7&_0x576c30,_0x301489);}}return _0x3f5b8d;},_0x4a3d16['decodeDelimited']=function(_0x1e006e){return _0x1e006e instanceof _0xf760a6||(_0x1e006e=new _0xf760a6(_0x1e006e)),this['decode'](_0x1e006e,_0x1e006e['uint32']());},_0x4a3d16['verify']=function(_0xb25702,_0x5217a9){if('object'!=typeof _0xb25702||null===_0xb25702)return'object\x20expected';if(void 0x0===_0x5217a9&&(_0x5217a9=0x0),_0x5217a9>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xb25702['name']&&_0xb25702['hasOwnProperty']('name')&&!_0x99e1ea['isString'](_0xb25702['name']))return'name:\x20string\x20expected';var _0x5ceb17;if(null!=_0xb25702['oldRange']&&_0xb25702['hasOwnProperty']('oldRange')&&(_0x5ceb17=_0xdaa17a['Range']['verify'](_0xb25702['oldRange'],_0x5217a9+0x1)))return'oldRange.'+_0x5ceb17;if(null!=_0xb25702['newRange']&&_0xb25702['hasOwnProperty']('newRange')&&(_0x5ceb17=_0xdaa17a['Range']['verify'](_0xb25702['newRange'],_0x5217a9+0x1)))return'newRange.'+_0x5ceb17;return null!=_0xb25702['affectsData']&&_0xb25702['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0xb25702['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0xb25702['wasUndone']&&_0xb25702['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xb25702['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4a3d16['fromObject']=function(_0x488b39,_0x48cfec){if(_0x488b39 instanceof _0xdaa17a['MarkerOperation'])return _0x488b39;if(void 0x0===_0x48cfec&&(_0x48cfec=0x0),_0x48cfec>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2a9ad1=new _0xdaa17a['MarkerOperation']();if(null!=_0x488b39['name']&&(_0x2a9ad1['name']=String(_0x488b39['name'])),null!=_0x488b39['oldRange']){if('object'!=typeof _0x488b39['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x2a9ad1['oldRange']=_0xdaa17a['Range']['fromObject'](_0x488b39['oldRange'],_0x48cfec+0x1);}if(null!=_0x488b39['newRange']){if('object'!=typeof _0x488b39['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x2a9ad1['newRange']=_0xdaa17a['Range']['fromObject'](_0x488b39['newRange'],_0x48cfec+0x1);}return null!=_0x488b39['affectsData']&&(_0x2a9ad1['affectsData']=Boolean(_0x488b39['affectsData'])),null!=_0x488b39['wasUndone']&&(_0x2a9ad1['wasUndone']=Boolean(_0x488b39['wasUndone'])),_0x2a9ad1;},_0x4a3d16['toObject']=function(_0x47cab7,_0x4c7103){_0x4c7103||(_0x4c7103={});var _0x1d6861={};return _0x4c7103['defaults']&&(_0x1d6861['name']='',_0x1d6861['oldRange']=null,_0x1d6861['newRange']=null,_0x1d6861['affectsData']=!0x1,_0x1d6861['wasUndone']=!0x1),null!=_0x47cab7['name']&&_0x47cab7['hasOwnProperty']('name')&&(_0x1d6861['name']=_0x47cab7['name']),null!=_0x47cab7['oldRange']&&_0x47cab7['hasOwnProperty']('oldRange')&&(_0x1d6861['oldRange']=_0xdaa17a['Range']['toObject'](_0x47cab7['oldRange'],_0x4c7103)),null!=_0x47cab7['newRange']&&_0x47cab7['hasOwnProperty']('newRange')&&(_0x1d6861['newRange']=_0xdaa17a['Range']['toObject'](_0x47cab7['newRange'],_0x4c7103)),null!=_0x47cab7['affectsData']&&_0x47cab7['hasOwnProperty']('affectsData')&&(_0x1d6861['affectsData']=_0x47cab7['affectsData']),null!=_0x47cab7['wasUndone']&&_0x47cab7['hasOwnProperty']('wasUndone')&&(_0x1d6861['wasUndone']=_0x47cab7['wasUndone']),_0x1d6861;},_0x4a3d16['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4a3d16['getTypeUrl']=function(_0x1baede){return void 0x0===_0x1baede&&(_0x1baede='type.googleapis.com'),_0x1baede+'/MarkerOperation';},_0x4a3d16;}()),_0xdaa17a['MergeOperation']=(function(){function _0x4d53d0(_0x320353){if(_0x320353){for(var _0x26fdd=Object['keys'](_0x320353),_0x352147=0x0;_0x352147<_0x26fdd['length'];++_0x352147)null!=_0x320353[_0x26fdd[_0x352147]]&&'__proto__'!==_0x26fdd[_0x352147]&&(this[_0x26fdd[_0x352147]]=_0x320353[_0x26fdd[_0x352147]]);}}return _0x4d53d0['prototype']['sourcePosition']=null,_0x4d53d0['prototype']['targetPosition']=null,_0x4d53d0['prototype']['graveyardPosition']=null,_0x4d53d0['prototype']['howMany']=0x0,_0x4d53d0['prototype']['wasUndone']=!0x1,_0x4d53d0['create']=function(_0x1581ae){return new _0x4d53d0(_0x1581ae);},_0x4d53d0['encode']=function(_0x29da22,_0x5a9431){return _0x5a9431||(_0x5a9431=_0x239201['create']()),null!=_0x29da22['sourcePosition']&&Object['hasOwnProperty']['call'](_0x29da22,'sourcePosition')&&_0xdaa17a['Position']['encode'](_0x29da22['sourcePosition'],_0x5a9431['uint32'](0xa)['fork']())['ldelim'](),null!=_0x29da22['targetPosition']&&Object['hasOwnProperty']['call'](_0x29da22,'targetPosition')&&_0xdaa17a['Position']['encode'](_0x29da22['targetPosition'],_0x5a9431['uint32'](0x12)['fork']())['ldelim'](),null!=_0x29da22['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x29da22,'graveyardPosition')&&_0xdaa17a['Position']['encode'](_0x29da22['graveyardPosition'],_0x5a9431['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x29da22['howMany']&&Object['hasOwnProperty']['call'](_0x29da22,'howMany')&&_0x5a9431['uint32'](0x20)['uint32'](_0x29da22['howMany']),null!=_0x29da22['wasUndone']&&Object['hasOwnProperty']['call'](_0x29da22,'wasUndone')&&_0x5a9431['uint32'](0x28)['bool'](_0x29da22['wasUndone']),_0x5a9431;},_0x4d53d0['encodeDelimited']=function(_0x492ce2,_0x434019){return this['encode'](_0x492ce2,_0x434019)['ldelim']();},_0x4d53d0['decode']=function(_0x45b8c7,_0x2c477a,_0x12d346,_0x475802){if(_0x45b8c7 instanceof _0xf760a6||(_0x45b8c7=_0xf760a6['create'](_0x45b8c7)),void 0x0===_0x475802&&(_0x475802=0x0),_0x475802>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x521704=void 0x0===_0x2c477a?_0x45b8c7['len']:_0x45b8c7['pos']+_0x2c477a,_0x1db024=new _0xdaa17a['MergeOperation']();_0x45b8c7['pos']<_0x521704;){var _0x1aaa6e=_0x45b8c7['uint32']();if(_0x1aaa6e===_0x12d346)break;switch(_0x1aaa6e>>>0x3){case 0x1:_0x1db024['sourcePosition']=_0xdaa17a['Position']['decode'](_0x45b8c7,_0x45b8c7['uint32'](),void 0x0,_0x475802+0x1);break;case 0x2:_0x1db024['targetPosition']=_0xdaa17a['Position']['decode'](_0x45b8c7,_0x45b8c7['uint32'](),void 0x0,_0x475802+0x1);break;case 0x3:_0x1db024['graveyardPosition']=_0xdaa17a['Position']['decode'](_0x45b8c7,_0x45b8c7['uint32'](),void 0x0,_0x475802+0x1);break;case 0x4:_0x1db024['howMany']=_0x45b8c7['uint32']();break;case 0x5:_0x1db024['wasUndone']=_0x45b8c7['bool']();break;default:_0x45b8c7['skipType'](0x7&_0x1aaa6e,_0x475802);}}return _0x1db024;},_0x4d53d0['decodeDelimited']=function(_0x56ded6){return _0x56ded6 instanceof _0xf760a6||(_0x56ded6=new _0xf760a6(_0x56ded6)),this['decode'](_0x56ded6,_0x56ded6['uint32']());},_0x4d53d0['verify']=function(_0x534c90,_0x1184b6){if('object'!=typeof _0x534c90||null===_0x534c90)return'object\x20expected';if(void 0x0===_0x1184b6&&(_0x1184b6=0x0),_0x1184b6>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x405e88;if(null!=_0x534c90['sourcePosition']&&_0x534c90['hasOwnProperty']('sourcePosition')&&(_0x405e88=_0xdaa17a['Position']['verify'](_0x534c90['sourcePosition'],_0x1184b6+0x1)))return'sourcePosition.'+_0x405e88;if(null!=_0x534c90['targetPosition']&&_0x534c90['hasOwnProperty']('targetPosition')&&(_0x405e88=_0xdaa17a['Position']['verify'](_0x534c90['targetPosition'],_0x1184b6+0x1)))return'targetPosition.'+_0x405e88;if(null!=_0x534c90['graveyardPosition']&&_0x534c90['hasOwnProperty']('graveyardPosition')&&(_0x405e88=_0xdaa17a['Position']['verify'](_0x534c90['graveyardPosition'],_0x1184b6+0x1)))return'graveyardPosition.'+_0x405e88;return null!=_0x534c90['howMany']&&_0x534c90['hasOwnProperty']('howMany')&&!_0x99e1ea['isInteger'](_0x534c90['howMany'])?'howMany:\x20integer\x20expected':null!=_0x534c90['wasUndone']&&_0x534c90['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x534c90['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4d53d0['fromObject']=function(_0x407f68,_0x573a09){if(_0x407f68 instanceof _0xdaa17a['MergeOperation'])return _0x407f68;if(void 0x0===_0x573a09&&(_0x573a09=0x0),_0x573a09>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x244929=new _0xdaa17a['MergeOperation']();if(null!=_0x407f68['sourcePosition']){if('object'!=typeof _0x407f68['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x244929['sourcePosition']=_0xdaa17a['Position']['fromObject'](_0x407f68['sourcePosition'],_0x573a09+0x1);}if(null!=_0x407f68['targetPosition']){if('object'!=typeof _0x407f68['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x244929['targetPosition']=_0xdaa17a['Position']['fromObject'](_0x407f68['targetPosition'],_0x573a09+0x1);}if(null!=_0x407f68['graveyardPosition']){if('object'!=typeof _0x407f68['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x244929['graveyardPosition']=_0xdaa17a['Position']['fromObject'](_0x407f68['graveyardPosition'],_0x573a09+0x1);}return null!=_0x407f68['howMany']&&(_0x244929['howMany']=_0x407f68['howMany']>>>0x0),null!=_0x407f68['wasUndone']&&(_0x244929['wasUndone']=Boolean(_0x407f68['wasUndone'])),_0x244929;},_0x4d53d0['toObject']=function(_0x497092,_0x56d9d0){_0x56d9d0||(_0x56d9d0={});var _0x6e19f6={};return _0x56d9d0['defaults']&&(_0x6e19f6['sourcePosition']=null,_0x6e19f6['targetPosition']=null,_0x6e19f6['graveyardPosition']=null,_0x6e19f6['howMany']=0x0,_0x6e19f6['wasUndone']=!0x1),null!=_0x497092['sourcePosition']&&_0x497092['hasOwnProperty']('sourcePosition')&&(_0x6e19f6['sourcePosition']=_0xdaa17a['Position']['toObject'](_0x497092['sourcePosition'],_0x56d9d0)),null!=_0x497092['targetPosition']&&_0x497092['hasOwnProperty']('targetPosition')&&(_0x6e19f6['targetPosition']=_0xdaa17a['Position']['toObject'](_0x497092['targetPosition'],_0x56d9d0)),null!=_0x497092['graveyardPosition']&&_0x497092['hasOwnProperty']('graveyardPosition')&&(_0x6e19f6['graveyardPosition']=_0xdaa17a['Position']['toObject'](_0x497092['graveyardPosition'],_0x56d9d0)),null!=_0x497092['howMany']&&_0x497092['hasOwnProperty']('howMany')&&(_0x6e19f6['howMany']=_0x497092['howMany']),null!=_0x497092['wasUndone']&&_0x497092['hasOwnProperty']('wasUndone')&&(_0x6e19f6['wasUndone']=_0x497092['wasUndone']),_0x6e19f6;},_0x4d53d0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x4d53d0['getTypeUrl']=function(_0x24cafb){return void 0x0===_0x24cafb&&(_0x24cafb='type.googleapis.com'),_0x24cafb+'/MergeOperation';},_0x4d53d0;}()),_0xdaa17a['MoveOperation']=(function(){function _0x5d0882(_0x1cd766){if(_0x1cd766){for(var _0x5c12f2=Object['keys'](_0x1cd766),_0x4a13ff=0x0;_0x4a13ff<_0x5c12f2['length'];++_0x4a13ff)null!=_0x1cd766[_0x5c12f2[_0x4a13ff]]&&'__proto__'!==_0x5c12f2[_0x4a13ff]&&(this[_0x5c12f2[_0x4a13ff]]=_0x1cd766[_0x5c12f2[_0x4a13ff]]);}}return _0x5d0882['prototype']['sourcePosition']=null,_0x5d0882['prototype']['howMany']=0x0,_0x5d0882['prototype']['targetPosition']=null,_0x5d0882['prototype']['wasUndone']=!0x1,_0x5d0882['create']=function(_0x360056){return new _0x5d0882(_0x360056);},_0x5d0882['encode']=function(_0x1ea77c,_0x450ff7){return _0x450ff7||(_0x450ff7=_0x239201['create']()),null!=_0x1ea77c['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1ea77c,'sourcePosition')&&_0xdaa17a['Position']['encode'](_0x1ea77c['sourcePosition'],_0x450ff7['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1ea77c['howMany']&&Object['hasOwnProperty']['call'](_0x1ea77c,'howMany')&&_0x450ff7['uint32'](0x10)['uint32'](_0x1ea77c['howMany']),null!=_0x1ea77c['targetPosition']&&Object['hasOwnProperty']['call'](_0x1ea77c,'targetPosition')&&_0xdaa17a['Position']['encode'](_0x1ea77c['targetPosition'],_0x450ff7['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1ea77c['wasUndone']&&Object['hasOwnProperty']['call'](_0x1ea77c,'wasUndone')&&_0x450ff7['uint32'](0x20)['bool'](_0x1ea77c['wasUndone']),_0x450ff7;},_0x5d0882['encodeDelimited']=function(_0x4a2154,_0x19e9b3){return this['encode'](_0x4a2154,_0x19e9b3)['ldelim']();},_0x5d0882['decode']=function(_0x5e5bac,_0x2f85e8,_0x5244e8,_0x12b873){if(_0x5e5bac instanceof _0xf760a6||(_0x5e5bac=_0xf760a6['create'](_0x5e5bac)),void 0x0===_0x12b873&&(_0x12b873=0x0),_0x12b873>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a0eab=void 0x0===_0x2f85e8?_0x5e5bac['len']:_0x5e5bac['pos']+_0x2f85e8,_0x2f9852=new _0xdaa17a['MoveOperation']();_0x5e5bac['pos']<_0x3a0eab;){var _0x5552eb=_0x5e5bac['uint32']();if(_0x5552eb===_0x5244e8)break;switch(_0x5552eb>>>0x3){case 0x1:_0x2f9852['sourcePosition']=_0xdaa17a['Position']['decode'](_0x5e5bac,_0x5e5bac['uint32'](),void 0x0,_0x12b873+0x1);break;case 0x2:_0x2f9852['howMany']=_0x5e5bac['uint32']();break;case 0x3:_0x2f9852['targetPosition']=_0xdaa17a['Position']['decode'](_0x5e5bac,_0x5e5bac['uint32'](),void 0x0,_0x12b873+0x1);break;case 0x4:_0x2f9852['wasUndone']=_0x5e5bac['bool']();break;default:_0x5e5bac['skipType'](0x7&_0x5552eb,_0x12b873);}}return _0x2f9852;},_0x5d0882['decodeDelimited']=function(_0x47f27d){return _0x47f27d instanceof _0xf760a6||(_0x47f27d=new _0xf760a6(_0x47f27d)),this['decode'](_0x47f27d,_0x47f27d['uint32']());},_0x5d0882['verify']=function(_0x399d73,_0x47e289){if('object'!=typeof _0x399d73||null===_0x399d73)return'object\x20expected';if(void 0x0===_0x47e289&&(_0x47e289=0x0),_0x47e289>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x5a457e;if(null!=_0x399d73['sourcePosition']&&_0x399d73['hasOwnProperty']('sourcePosition')&&(_0x5a457e=_0xdaa17a['Position']['verify'](_0x399d73['sourcePosition'],_0x47e289+0x1)))return'sourcePosition.'+_0x5a457e;if(null!=_0x399d73['howMany']&&_0x399d73['hasOwnProperty']('howMany')&&!_0x99e1ea['isInteger'](_0x399d73['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x399d73['targetPosition']&&_0x399d73['hasOwnProperty']('targetPosition')&&(_0x5a457e=_0xdaa17a['Position']['verify'](_0x399d73['targetPosition'],_0x47e289+0x1)))return'targetPosition.'+_0x5a457e;return null!=_0x399d73['wasUndone']&&_0x399d73['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x399d73['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5d0882['fromObject']=function(_0x3cd902,_0x13f519){if(_0x3cd902 instanceof _0xdaa17a['MoveOperation'])return _0x3cd902;if(void 0x0===_0x13f519&&(_0x13f519=0x0),_0x13f519>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3783af=new _0xdaa17a['MoveOperation']();if(null!=_0x3cd902['sourcePosition']){if('object'!=typeof _0x3cd902['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x3783af['sourcePosition']=_0xdaa17a['Position']['fromObject'](_0x3cd902['sourcePosition'],_0x13f519+0x1);}if(null!=_0x3cd902['howMany']&&(_0x3783af['howMany']=_0x3cd902['howMany']>>>0x0),null!=_0x3cd902['targetPosition']){if('object'!=typeof _0x3cd902['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x3783af['targetPosition']=_0xdaa17a['Position']['fromObject'](_0x3cd902['targetPosition'],_0x13f519+0x1);}return null!=_0x3cd902['wasUndone']&&(_0x3783af['wasUndone']=Boolean(_0x3cd902['wasUndone'])),_0x3783af;},_0x5d0882['toObject']=function(_0x29ced6,_0x3bfa35){_0x3bfa35||(_0x3bfa35={});var _0x4fe6fd={};return _0x3bfa35['defaults']&&(_0x4fe6fd['sourcePosition']=null,_0x4fe6fd['howMany']=0x0,_0x4fe6fd['targetPosition']=null,_0x4fe6fd['wasUndone']=!0x1),null!=_0x29ced6['sourcePosition']&&_0x29ced6['hasOwnProperty']('sourcePosition')&&(_0x4fe6fd['sourcePosition']=_0xdaa17a['Position']['toObject'](_0x29ced6['sourcePosition'],_0x3bfa35)),null!=_0x29ced6['howMany']&&_0x29ced6['hasOwnProperty']('howMany')&&(_0x4fe6fd['howMany']=_0x29ced6['howMany']),null!=_0x29ced6['targetPosition']&&_0x29ced6['hasOwnProperty']('targetPosition')&&(_0x4fe6fd['targetPosition']=_0xdaa17a['Position']['toObject'](_0x29ced6['targetPosition'],_0x3bfa35)),null!=_0x29ced6['wasUndone']&&_0x29ced6['hasOwnProperty']('wasUndone')&&(_0x4fe6fd['wasUndone']=_0x29ced6['wasUndone']),_0x4fe6fd;},_0x5d0882['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x5d0882['getTypeUrl']=function(_0x4177c0){return void 0x0===_0x4177c0&&(_0x4177c0='type.googleapis.com'),_0x4177c0+'/MoveOperation';},_0x5d0882;}()),_0xdaa17a['RenameOperation']=(function(){function _0x573f24(_0x292af3){if(_0x292af3){for(var _0x20f587=Object['keys'](_0x292af3),_0x414e23=0x0;_0x414e23<_0x20f587['length'];++_0x414e23)null!=_0x292af3[_0x20f587[_0x414e23]]&&'__proto__'!==_0x20f587[_0x414e23]&&(this[_0x20f587[_0x414e23]]=_0x292af3[_0x20f587[_0x414e23]]);}}return _0x573f24['prototype']['position']=null,_0x573f24['prototype']['oldName']='',_0x573f24['prototype']['newName']='',_0x573f24['prototype']['wasUndone']=!0x1,_0x573f24['create']=function(_0x51e042){return new _0x573f24(_0x51e042);},_0x573f24['encode']=function(_0x36c2ab,_0x5ef8a3){return _0x5ef8a3||(_0x5ef8a3=_0x239201['create']()),null!=_0x36c2ab['position']&&Object['hasOwnProperty']['call'](_0x36c2ab,'position')&&_0xdaa17a['Position']['encode'](_0x36c2ab['position'],_0x5ef8a3['uint32'](0xa)['fork']())['ldelim'](),null!=_0x36c2ab['oldName']&&Object['hasOwnProperty']['call'](_0x36c2ab,'oldName')&&_0x5ef8a3['uint32'](0x12)['string'](_0x36c2ab['oldName']),null!=_0x36c2ab['newName']&&Object['hasOwnProperty']['call'](_0x36c2ab,'newName')&&_0x5ef8a3['uint32'](0x1a)['string'](_0x36c2ab['newName']),null!=_0x36c2ab['wasUndone']&&Object['hasOwnProperty']['call'](_0x36c2ab,'wasUndone')&&_0x5ef8a3['uint32'](0x20)['bool'](_0x36c2ab['wasUndone']),_0x5ef8a3;},_0x573f24['encodeDelimited']=function(_0x255dcc,_0x27706f){return this['encode'](_0x255dcc,_0x27706f)['ldelim']();},_0x573f24['decode']=function(_0xc7cd60,_0x55cf15,_0x3a81e9,_0x4253b3){if(_0xc7cd60 instanceof _0xf760a6||(_0xc7cd60=_0xf760a6['create'](_0xc7cd60)),void 0x0===_0x4253b3&&(_0x4253b3=0x0),_0x4253b3>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41f89f=void 0x0===_0x55cf15?_0xc7cd60['len']:_0xc7cd60['pos']+_0x55cf15,_0x2ac6dc=new _0xdaa17a['RenameOperation']();_0xc7cd60['pos']<_0x41f89f;){var _0x1c08e7=_0xc7cd60['uint32']();if(_0x1c08e7===_0x3a81e9)break;switch(_0x1c08e7>>>0x3){case 0x1:_0x2ac6dc['position']=_0xdaa17a['Position']['decode'](_0xc7cd60,_0xc7cd60['uint32'](),void 0x0,_0x4253b3+0x1);break;case 0x2:_0x2ac6dc['oldName']=_0xc7cd60['string']();break;case 0x3:_0x2ac6dc['newName']=_0xc7cd60['string']();break;case 0x4:_0x2ac6dc['wasUndone']=_0xc7cd60['bool']();break;default:_0xc7cd60['skipType'](0x7&_0x1c08e7,_0x4253b3);}}return _0x2ac6dc;},_0x573f24['decodeDelimited']=function(_0x3912df){return _0x3912df instanceof _0xf760a6||(_0x3912df=new _0xf760a6(_0x3912df)),this['decode'](_0x3912df,_0x3912df['uint32']());},_0x573f24['verify']=function(_0x7c0358,_0x6ed741){if('object'!=typeof _0x7c0358||null===_0x7c0358)return'object\x20expected';if(void 0x0===_0x6ed741&&(_0x6ed741=0x0),_0x6ed741>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x7c0358['position']&&_0x7c0358['hasOwnProperty']('position')){var _0x39dce9=_0xdaa17a['Position']['verify'](_0x7c0358['position'],_0x6ed741+0x1);if(_0x39dce9)return'position.'+_0x39dce9;}return null!=_0x7c0358['oldName']&&_0x7c0358['hasOwnProperty']('oldName')&&!_0x99e1ea['isString'](_0x7c0358['oldName'])?'oldName:\x20string\x20expected':null!=_0x7c0358['newName']&&_0x7c0358['hasOwnProperty']('newName')&&!_0x99e1ea['isString'](_0x7c0358['newName'])?'newName:\x20string\x20expected':null!=_0x7c0358['wasUndone']&&_0x7c0358['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x7c0358['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x573f24['fromObject']=function(_0x5b39f5,_0x28d606){if(_0x5b39f5 instanceof _0xdaa17a['RenameOperation'])return _0x5b39f5;if(void 0x0===_0x28d606&&(_0x28d606=0x0),_0x28d606>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c28c8=new _0xdaa17a['RenameOperation']();if(null!=_0x5b39f5['position']){if('object'!=typeof _0x5b39f5['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x5c28c8['position']=_0xdaa17a['Position']['fromObject'](_0x5b39f5['position'],_0x28d606+0x1);}return null!=_0x5b39f5['oldName']&&(_0x5c28c8['oldName']=String(_0x5b39f5['oldName'])),null!=_0x5b39f5['newName']&&(_0x5c28c8['newName']=String(_0x5b39f5['newName'])),null!=_0x5b39f5['wasUndone']&&(_0x5c28c8['wasUndone']=Boolean(_0x5b39f5['wasUndone'])),_0x5c28c8;},_0x573f24['toObject']=function(_0x12940e,_0x4a1e87){_0x4a1e87||(_0x4a1e87={});var _0x5e043d={};return _0x4a1e87['defaults']&&(_0x5e043d['position']=null,_0x5e043d['oldName']='',_0x5e043d['newName']='',_0x5e043d['wasUndone']=!0x1),null!=_0x12940e['position']&&_0x12940e['hasOwnProperty']('position')&&(_0x5e043d['position']=_0xdaa17a['Position']['toObject'](_0x12940e['position'],_0x4a1e87)),null!=_0x12940e['oldName']&&_0x12940e['hasOwnProperty']('oldName')&&(_0x5e043d['oldName']=_0x12940e['oldName']),null!=_0x12940e['newName']&&_0x12940e['hasOwnProperty']('newName')&&(_0x5e043d['newName']=_0x12940e['newName']),null!=_0x12940e['wasUndone']&&_0x12940e['hasOwnProperty']('wasUndone')&&(_0x5e043d['wasUndone']=_0x12940e['wasUndone']),_0x5e043d;},_0x573f24['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x573f24['getTypeUrl']=function(_0x5c6211){return void 0x0===_0x5c6211&&(_0x5c6211='type.googleapis.com'),_0x5c6211+'/RenameOperation';},_0x573f24;}()),_0xdaa17a['RootAttributeOperation']=(function(){function _0x3e4c6b(_0x28ce43){if(_0x28ce43){for(var _0x2d53ad=Object['keys'](_0x28ce43),_0x58ae35=0x0;_0x58ae35<_0x2d53ad['length'];++_0x58ae35)null!=_0x28ce43[_0x2d53ad[_0x58ae35]]&&'__proto__'!==_0x2d53ad[_0x58ae35]&&(this[_0x2d53ad[_0x58ae35]]=_0x28ce43[_0x2d53ad[_0x58ae35]]);}}return _0x3e4c6b['prototype']['root']='',_0x3e4c6b['prototype']['key']='',_0x3e4c6b['prototype']['oldValueBoolean']=!0x1,_0x3e4c6b['prototype']['oldValueJson']='',_0x3e4c6b['prototype']['newValueBoolean']=!0x1,_0x3e4c6b['prototype']['newValueJson']='',_0x3e4c6b['prototype']['wasUndone']=!0x1,_0x3e4c6b['create']=function(_0x4b43d6){return new _0x3e4c6b(_0x4b43d6);},_0x3e4c6b['encode']=function(_0x279e65,_0x4bbe1c){return _0x4bbe1c||(_0x4bbe1c=_0x239201['create']()),null!=_0x279e65['root']&&Object['hasOwnProperty']['call'](_0x279e65,'root')&&_0x4bbe1c['uint32'](0xa)['string'](_0x279e65['root']),null!=_0x279e65['key']&&Object['hasOwnProperty']['call'](_0x279e65,'key')&&_0x4bbe1c['uint32'](0x12)['string'](_0x279e65['key']),null!=_0x279e65['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x279e65,'oldValueBoolean')&&_0x4bbe1c['uint32'](0x18)['bool'](_0x279e65['oldValueBoolean']),null!=_0x279e65['oldValueJson']&&Object['hasOwnProperty']['call'](_0x279e65,'oldValueJson')&&_0x4bbe1c['uint32'](0x22)['string'](_0x279e65['oldValueJson']),null!=_0x279e65['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x279e65,'newValueBoolean')&&_0x4bbe1c['uint32'](0x28)['bool'](_0x279e65['newValueBoolean']),null!=_0x279e65['newValueJson']&&Object['hasOwnProperty']['call'](_0x279e65,'newValueJson')&&_0x4bbe1c['uint32'](0x32)['string'](_0x279e65['newValueJson']),null!=_0x279e65['wasUndone']&&Object['hasOwnProperty']['call'](_0x279e65,'wasUndone')&&_0x4bbe1c['uint32'](0x38)['bool'](_0x279e65['wasUndone']),_0x4bbe1c;},_0x3e4c6b['encodeDelimited']=function(_0x1fb543,_0x33b2d2){return this['encode'](_0x1fb543,_0x33b2d2)['ldelim']();},_0x3e4c6b['decode']=function(_0x2ac865,_0x200952,_0x481773,_0x4b5b8f){if(_0x2ac865 instanceof _0xf760a6||(_0x2ac865=_0xf760a6['create'](_0x2ac865)),void 0x0===_0x4b5b8f&&(_0x4b5b8f=0x0),_0x4b5b8f>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3ab646=void 0x0===_0x200952?_0x2ac865['len']:_0x2ac865['pos']+_0x200952,_0x16dd7d=new _0xdaa17a['RootAttributeOperation']();_0x2ac865['pos']<_0x3ab646;){var _0x31dbec=_0x2ac865['uint32']();if(_0x31dbec===_0x481773)break;switch(_0x31dbec>>>0x3){case 0x1:_0x16dd7d['root']=_0x2ac865['string']();break;case 0x2:_0x16dd7d['key']=_0x2ac865['string']();break;case 0x3:_0x16dd7d['oldValueBoolean']=_0x2ac865['bool']();break;case 0x4:_0x16dd7d['oldValueJson']=_0x2ac865['string']();break;case 0x5:_0x16dd7d['newValueBoolean']=_0x2ac865['bool']();break;case 0x6:_0x16dd7d['newValueJson']=_0x2ac865['string']();break;case 0x7:_0x16dd7d['wasUndone']=_0x2ac865['bool']();break;default:_0x2ac865['skipType'](0x7&_0x31dbec,_0x4b5b8f);}}return _0x16dd7d;},_0x3e4c6b['decodeDelimited']=function(_0x59ad75){return _0x59ad75 instanceof _0xf760a6||(_0x59ad75=new _0xf760a6(_0x59ad75)),this['decode'](_0x59ad75,_0x59ad75['uint32']());},_0x3e4c6b['verify']=function(_0x56a358,_0x3222e8){return'object'!=typeof _0x56a358||null===_0x56a358?'object\x20expected':(void 0x0===_0x3222e8&&(_0x3222e8=0x0),_0x3222e8>_0x99e1ea['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x56a358['root']&&_0x56a358['hasOwnProperty']('root')&&!_0x99e1ea['isString'](_0x56a358['root'])?'root:\x20string\x20expected':null!=_0x56a358['key']&&_0x56a358['hasOwnProperty']('key')&&!_0x99e1ea['isString'](_0x56a358['key'])?'key:\x20string\x20expected':null!=_0x56a358['oldValueBoolean']&&_0x56a358['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x56a358['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x56a358['oldValueJson']&&_0x56a358['hasOwnProperty']('oldValueJson')&&!_0x99e1ea['isString'](_0x56a358['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x56a358['newValueBoolean']&&_0x56a358['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x56a358['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x56a358['newValueJson']&&_0x56a358['hasOwnProperty']('newValueJson')&&!_0x99e1ea['isString'](_0x56a358['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x56a358['wasUndone']&&_0x56a358['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x56a358['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x3e4c6b['fromObject']=function(_0x59464f,_0x486ed7){if(_0x59464f instanceof _0xdaa17a['RootAttributeOperation'])return _0x59464f;if(void 0x0===_0x486ed7&&(_0x486ed7=0x0),_0x486ed7>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x25e309=new _0xdaa17a['RootAttributeOperation']();return null!=_0x59464f['root']&&(_0x25e309['root']=String(_0x59464f['root'])),null!=_0x59464f['key']&&(_0x25e309['key']=String(_0x59464f['key'])),null!=_0x59464f['oldValueBoolean']&&(_0x25e309['oldValueBoolean']=Boolean(_0x59464f['oldValueBoolean'])),null!=_0x59464f['oldValueJson']&&(_0x25e309['oldValueJson']=String(_0x59464f['oldValueJson'])),null!=_0x59464f['newValueBoolean']&&(_0x25e309['newValueBoolean']=Boolean(_0x59464f['newValueBoolean'])),null!=_0x59464f['newValueJson']&&(_0x25e309['newValueJson']=String(_0x59464f['newValueJson'])),null!=_0x59464f['wasUndone']&&(_0x25e309['wasUndone']=Boolean(_0x59464f['wasUndone'])),_0x25e309;},_0x3e4c6b['toObject']=function(_0x42747c,_0x43cdce){_0x43cdce||(_0x43cdce={});var _0x107043={};return _0x43cdce['defaults']&&(_0x107043['root']='',_0x107043['key']='',_0x107043['oldValueBoolean']=!0x1,_0x107043['oldValueJson']='',_0x107043['newValueBoolean']=!0x1,_0x107043['newValueJson']='',_0x107043['wasUndone']=!0x1),null!=_0x42747c['root']&&_0x42747c['hasOwnProperty']('root')&&(_0x107043['root']=_0x42747c['root']),null!=_0x42747c['key']&&_0x42747c['hasOwnProperty']('key')&&(_0x107043['key']=_0x42747c['key']),null!=_0x42747c['oldValueBoolean']&&_0x42747c['hasOwnProperty']('oldValueBoolean')&&(_0x107043['oldValueBoolean']=_0x42747c['oldValueBoolean']),null!=_0x42747c['oldValueJson']&&_0x42747c['hasOwnProperty']('oldValueJson')&&(_0x107043['oldValueJson']=_0x42747c['oldValueJson']),null!=_0x42747c['newValueBoolean']&&_0x42747c['hasOwnProperty']('newValueBoolean')&&(_0x107043['newValueBoolean']=_0x42747c['newValueBoolean']),null!=_0x42747c['newValueJson']&&_0x42747c['hasOwnProperty']('newValueJson')&&(_0x107043['newValueJson']=_0x42747c['newValueJson']),null!=_0x42747c['wasUndone']&&_0x42747c['hasOwnProperty']('wasUndone')&&(_0x107043['wasUndone']=_0x42747c['wasUndone']),_0x107043;},_0x3e4c6b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3e4c6b['getTypeUrl']=function(_0x5985d3){return void 0x0===_0x5985d3&&(_0x5985d3='type.googleapis.com'),_0x5985d3+'/RootAttributeOperation';},_0x3e4c6b;}()),_0xdaa17a['RootOperation']=(function(){function _0x3c157a(_0x21592c){if(_0x21592c){for(var _0x3aaaee=Object['keys'](_0x21592c),_0x593b10=0x0;_0x593b10<_0x3aaaee['length'];++_0x593b10)null!=_0x21592c[_0x3aaaee[_0x593b10]]&&'__proto__'!==_0x3aaaee[_0x593b10]&&(this[_0x3aaaee[_0x593b10]]=_0x21592c[_0x3aaaee[_0x593b10]]);}}return _0x3c157a['prototype']['rootName']='',_0x3c157a['prototype']['elementName']='',_0x3c157a['prototype']['isAdd']=!0x1,_0x3c157a['prototype']['wasUndone']=!0x1,_0x3c157a['create']=function(_0x38c58b){return new _0x3c157a(_0x38c58b);},_0x3c157a['encode']=function(_0x42b6b0,_0x4b194a){return _0x4b194a||(_0x4b194a=_0x239201['create']()),null!=_0x42b6b0['rootName']&&Object['hasOwnProperty']['call'](_0x42b6b0,'rootName')&&_0x4b194a['uint32'](0xa)['string'](_0x42b6b0['rootName']),null!=_0x42b6b0['elementName']&&Object['hasOwnProperty']['call'](_0x42b6b0,'elementName')&&_0x4b194a['uint32'](0x12)['string'](_0x42b6b0['elementName']),null!=_0x42b6b0['isAdd']&&Object['hasOwnProperty']['call'](_0x42b6b0,'isAdd')&&_0x4b194a['uint32'](0x18)['bool'](_0x42b6b0['isAdd']),null!=_0x42b6b0['wasUndone']&&Object['hasOwnProperty']['call'](_0x42b6b0,'wasUndone')&&_0x4b194a['uint32'](0x20)['bool'](_0x42b6b0['wasUndone']),_0x4b194a;},_0x3c157a['encodeDelimited']=function(_0x186659,_0x1c0b7a){return this['encode'](_0x186659,_0x1c0b7a)['ldelim']();},_0x3c157a['decode']=function(_0x4840e4,_0x18cc64,_0x30e0a3,_0x1c2522){if(_0x4840e4 instanceof _0xf760a6||(_0x4840e4=_0xf760a6['create'](_0x4840e4)),void 0x0===_0x1c2522&&(_0x1c2522=0x0),_0x1c2522>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d3f35=void 0x0===_0x18cc64?_0x4840e4['len']:_0x4840e4['pos']+_0x18cc64,_0x59a9f3=new _0xdaa17a['RootOperation']();_0x4840e4['pos']<_0x5d3f35;){var _0x12e7f9=_0x4840e4['uint32']();if(_0x12e7f9===_0x30e0a3)break;switch(_0x12e7f9>>>0x3){case 0x1:_0x59a9f3['rootName']=_0x4840e4['string']();break;case 0x2:_0x59a9f3['elementName']=_0x4840e4['string']();break;case 0x3:_0x59a9f3['isAdd']=_0x4840e4['bool']();break;case 0x4:_0x59a9f3['wasUndone']=_0x4840e4['bool']();break;default:_0x4840e4['skipType'](0x7&_0x12e7f9,_0x1c2522);}}return _0x59a9f3;},_0x3c157a['decodeDelimited']=function(_0x4c5da8){return _0x4c5da8 instanceof _0xf760a6||(_0x4c5da8=new _0xf760a6(_0x4c5da8)),this['decode'](_0x4c5da8,_0x4c5da8['uint32']());},_0x3c157a['verify']=function(_0x56aff5,_0x44f349){return'object'!=typeof _0x56aff5||null===_0x56aff5?'object\x20expected':(void 0x0===_0x44f349&&(_0x44f349=0x0),_0x44f349>_0x99e1ea['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x56aff5['rootName']&&_0x56aff5['hasOwnProperty']('rootName')&&!_0x99e1ea['isString'](_0x56aff5['rootName'])?'rootName:\x20string\x20expected':null!=_0x56aff5['elementName']&&_0x56aff5['hasOwnProperty']('elementName')&&!_0x99e1ea['isString'](_0x56aff5['elementName'])?'elementName:\x20string\x20expected':null!=_0x56aff5['isAdd']&&_0x56aff5['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x56aff5['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x56aff5['wasUndone']&&_0x56aff5['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x56aff5['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x3c157a['fromObject']=function(_0x58c3ac,_0x53ac4e){if(_0x58c3ac instanceof _0xdaa17a['RootOperation'])return _0x58c3ac;if(void 0x0===_0x53ac4e&&(_0x53ac4e=0x0),_0x53ac4e>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d8ea9=new _0xdaa17a['RootOperation']();return null!=_0x58c3ac['rootName']&&(_0x2d8ea9['rootName']=String(_0x58c3ac['rootName'])),null!=_0x58c3ac['elementName']&&(_0x2d8ea9['elementName']=String(_0x58c3ac['elementName'])),null!=_0x58c3ac['isAdd']&&(_0x2d8ea9['isAdd']=Boolean(_0x58c3ac['isAdd'])),null!=_0x58c3ac['wasUndone']&&(_0x2d8ea9['wasUndone']=Boolean(_0x58c3ac['wasUndone'])),_0x2d8ea9;},_0x3c157a['toObject']=function(_0x4ac7ba,_0x4aaf34){_0x4aaf34||(_0x4aaf34={});var _0x38e855={};return _0x4aaf34['defaults']&&(_0x38e855['rootName']='',_0x38e855['elementName']='',_0x38e855['isAdd']=!0x1,_0x38e855['wasUndone']=!0x1),null!=_0x4ac7ba['rootName']&&_0x4ac7ba['hasOwnProperty']('rootName')&&(_0x38e855['rootName']=_0x4ac7ba['rootName']),null!=_0x4ac7ba['elementName']&&_0x4ac7ba['hasOwnProperty']('elementName')&&(_0x38e855['elementName']=_0x4ac7ba['elementName']),null!=_0x4ac7ba['isAdd']&&_0x4ac7ba['hasOwnProperty']('isAdd')&&(_0x38e855['isAdd']=_0x4ac7ba['isAdd']),null!=_0x4ac7ba['wasUndone']&&_0x4ac7ba['hasOwnProperty']('wasUndone')&&(_0x38e855['wasUndone']=_0x4ac7ba['wasUndone']),_0x38e855;},_0x3c157a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x3c157a['getTypeUrl']=function(_0x249129){return void 0x0===_0x249129&&(_0x249129='type.googleapis.com'),_0x249129+'/RootOperation';},_0x3c157a;}()),_0xdaa17a['SplitOperation']=(function(){function _0x1167bc(_0x23f993){if(_0x23f993){for(var _0x24d906=Object['keys'](_0x23f993),_0x26bb6b=0x0;_0x26bb6b<_0x24d906['length'];++_0x26bb6b)null!=_0x23f993[_0x24d906[_0x26bb6b]]&&'__proto__'!==_0x24d906[_0x26bb6b]&&(this[_0x24d906[_0x26bb6b]]=_0x23f993[_0x24d906[_0x26bb6b]]);}}return _0x1167bc['prototype']['splitPosition']=null,_0x1167bc['prototype']['graveyardPosition']=null,_0x1167bc['prototype']['howMany']=0x0,_0x1167bc['prototype']['insertionPosition']=null,_0x1167bc['prototype']['wasUndone']=!0x1,_0x1167bc['create']=function(_0x913ac2){return new _0x1167bc(_0x913ac2);},_0x1167bc['encode']=function(_0x4090f2,_0x59c5c1){return _0x59c5c1||(_0x59c5c1=_0x239201['create']()),null!=_0x4090f2['splitPosition']&&Object['hasOwnProperty']['call'](_0x4090f2,'splitPosition')&&_0xdaa17a['Position']['encode'](_0x4090f2['splitPosition'],_0x59c5c1['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4090f2['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4090f2,'graveyardPosition')&&_0xdaa17a['Position']['encode'](_0x4090f2['graveyardPosition'],_0x59c5c1['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4090f2['howMany']&&Object['hasOwnProperty']['call'](_0x4090f2,'howMany')&&_0x59c5c1['uint32'](0x18)['uint32'](_0x4090f2['howMany']),null!=_0x4090f2['insertionPosition']&&Object['hasOwnProperty']['call'](_0x4090f2,'insertionPosition')&&_0xdaa17a['Position']['encode'](_0x4090f2['insertionPosition'],_0x59c5c1['uint32'](0x22)['fork']())['ldelim'](),null!=_0x4090f2['wasUndone']&&Object['hasOwnProperty']['call'](_0x4090f2,'wasUndone')&&_0x59c5c1['uint32'](0x28)['bool'](_0x4090f2['wasUndone']),_0x59c5c1;},_0x1167bc['encodeDelimited']=function(_0x50845e,_0x5488bf){return this['encode'](_0x50845e,_0x5488bf)['ldelim']();},_0x1167bc['decode']=function(_0x4c43e8,_0x1bbb30,_0x38cb67,_0x46f02a){if(_0x4c43e8 instanceof _0xf760a6||(_0x4c43e8=_0xf760a6['create'](_0x4c43e8)),void 0x0===_0x46f02a&&(_0x46f02a=0x0),_0x46f02a>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3d620d=void 0x0===_0x1bbb30?_0x4c43e8['len']:_0x4c43e8['pos']+_0x1bbb30,_0x2763dc=new _0xdaa17a['SplitOperation']();_0x4c43e8['pos']<_0x3d620d;){var _0x5cde9c=_0x4c43e8['uint32']();if(_0x5cde9c===_0x38cb67)break;switch(_0x5cde9c>>>0x3){case 0x1:_0x2763dc['splitPosition']=_0xdaa17a['Position']['decode'](_0x4c43e8,_0x4c43e8['uint32'](),void 0x0,_0x46f02a+0x1);break;case 0x2:_0x2763dc['graveyardPosition']=_0xdaa17a['Position']['decode'](_0x4c43e8,_0x4c43e8['uint32'](),void 0x0,_0x46f02a+0x1);break;case 0x3:_0x2763dc['howMany']=_0x4c43e8['uint32']();break;case 0x4:_0x2763dc['insertionPosition']=_0xdaa17a['Position']['decode'](_0x4c43e8,_0x4c43e8['uint32'](),void 0x0,_0x46f02a+0x1);break;case 0x5:_0x2763dc['wasUndone']=_0x4c43e8['bool']();break;default:_0x4c43e8['skipType'](0x7&_0x5cde9c,_0x46f02a);}}return _0x2763dc;},_0x1167bc['decodeDelimited']=function(_0x335444){return _0x335444 instanceof _0xf760a6||(_0x335444=new _0xf760a6(_0x335444)),this['decode'](_0x335444,_0x335444['uint32']());},_0x1167bc['verify']=function(_0x3565f1,_0x2ef185){if('object'!=typeof _0x3565f1||null===_0x3565f1)return'object\x20expected';if(void 0x0===_0x2ef185&&(_0x2ef185=0x0),_0x2ef185>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x5e4e31;if(null!=_0x3565f1['splitPosition']&&_0x3565f1['hasOwnProperty']('splitPosition')&&(_0x5e4e31=_0xdaa17a['Position']['verify'](_0x3565f1['splitPosition'],_0x2ef185+0x1)))return'splitPosition.'+_0x5e4e31;if(null!=_0x3565f1['graveyardPosition']&&_0x3565f1['hasOwnProperty']('graveyardPosition')&&(_0x5e4e31=_0xdaa17a['Position']['verify'](_0x3565f1['graveyardPosition'],_0x2ef185+0x1)))return'graveyardPosition.'+_0x5e4e31;if(null!=_0x3565f1['howMany']&&_0x3565f1['hasOwnProperty']('howMany')&&!_0x99e1ea['isInteger'](_0x3565f1['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3565f1['insertionPosition']&&_0x3565f1['hasOwnProperty']('insertionPosition')&&(_0x5e4e31=_0xdaa17a['Position']['verify'](_0x3565f1['insertionPosition'],_0x2ef185+0x1)))return'insertionPosition.'+_0x5e4e31;return null!=_0x3565f1['wasUndone']&&_0x3565f1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3565f1['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1167bc['fromObject']=function(_0x777df9,_0x5b1861){if(_0x777df9 instanceof _0xdaa17a['SplitOperation'])return _0x777df9;if(void 0x0===_0x5b1861&&(_0x5b1861=0x0),_0x5b1861>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5bddb0=new _0xdaa17a['SplitOperation']();if(null!=_0x777df9['splitPosition']){if('object'!=typeof _0x777df9['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x5bddb0['splitPosition']=_0xdaa17a['Position']['fromObject'](_0x777df9['splitPosition'],_0x5b1861+0x1);}if(null!=_0x777df9['graveyardPosition']){if('object'!=typeof _0x777df9['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x5bddb0['graveyardPosition']=_0xdaa17a['Position']['fromObject'](_0x777df9['graveyardPosition'],_0x5b1861+0x1);}if(null!=_0x777df9['howMany']&&(_0x5bddb0['howMany']=_0x777df9['howMany']>>>0x0),null!=_0x777df9['insertionPosition']){if('object'!=typeof _0x777df9['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x5bddb0['insertionPosition']=_0xdaa17a['Position']['fromObject'](_0x777df9['insertionPosition'],_0x5b1861+0x1);}return null!=_0x777df9['wasUndone']&&(_0x5bddb0['wasUndone']=Boolean(_0x777df9['wasUndone'])),_0x5bddb0;},_0x1167bc['toObject']=function(_0x2bd221,_0x11b6e4){_0x11b6e4||(_0x11b6e4={});var _0x379c08={};return _0x11b6e4['defaults']&&(_0x379c08['splitPosition']=null,_0x379c08['graveyardPosition']=null,_0x379c08['howMany']=0x0,_0x379c08['insertionPosition']=null,_0x379c08['wasUndone']=!0x1),null!=_0x2bd221['splitPosition']&&_0x2bd221['hasOwnProperty']('splitPosition')&&(_0x379c08['splitPosition']=_0xdaa17a['Position']['toObject'](_0x2bd221['splitPosition'],_0x11b6e4)),null!=_0x2bd221['graveyardPosition']&&_0x2bd221['hasOwnProperty']('graveyardPosition')&&(_0x379c08['graveyardPosition']=_0xdaa17a['Position']['toObject'](_0x2bd221['graveyardPosition'],_0x11b6e4)),null!=_0x2bd221['howMany']&&_0x2bd221['hasOwnProperty']('howMany')&&(_0x379c08['howMany']=_0x2bd221['howMany']),null!=_0x2bd221['insertionPosition']&&_0x2bd221['hasOwnProperty']('insertionPosition')&&(_0x379c08['insertionPosition']=_0xdaa17a['Position']['toObject'](_0x2bd221['insertionPosition'],_0x11b6e4)),null!=_0x2bd221['wasUndone']&&_0x2bd221['hasOwnProperty']('wasUndone')&&(_0x379c08['wasUndone']=_0x2bd221['wasUndone']),_0x379c08;},_0x1167bc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x1167bc['getTypeUrl']=function(_0x3b18db){return void 0x0===_0x3b18db&&(_0x3b18db='type.googleapis.com'),_0x3b18db+'/SplitOperation';},_0x1167bc;}()),_0xdaa17a['Position']=(function(){function _0x2f070f(_0x451e64){if(this['path']=[],_0x451e64){for(var _0x215762=Object['keys'](_0x451e64),_0x37c6b3=0x0;_0x37c6b3<_0x215762['length'];++_0x37c6b3)null!=_0x451e64[_0x215762[_0x37c6b3]]&&'__proto__'!==_0x215762[_0x37c6b3]&&(this[_0x215762[_0x37c6b3]]=_0x451e64[_0x215762[_0x37c6b3]]);}}return _0x2f070f['prototype']['root']='',_0x2f070f['prototype']['rootMain']=!0x1,_0x2f070f['prototype']['rootGraveyard']=!0x1,_0x2f070f['prototype']['path']=_0x99e1ea['emptyArray'],_0x2f070f['prototype']['stickiness']='',_0x2f070f['create']=function(_0x158693){return new _0x2f070f(_0x158693);},_0x2f070f['encode']=function(_0x2a3828,_0x19d6bb){if(_0x19d6bb||(_0x19d6bb=_0x239201['create']()),null!=_0x2a3828['root']&&Object['hasOwnProperty']['call'](_0x2a3828,'root')&&_0x19d6bb['uint32'](0xa)['string'](_0x2a3828['root']),null!=_0x2a3828['rootMain']&&Object['hasOwnProperty']['call'](_0x2a3828,'rootMain')&&_0x19d6bb['uint32'](0x10)['bool'](_0x2a3828['rootMain']),null!=_0x2a3828['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x2a3828,'rootGraveyard')&&_0x19d6bb['uint32'](0x18)['bool'](_0x2a3828['rootGraveyard']),null!=_0x2a3828['path']&&_0x2a3828['path']['length']){_0x19d6bb['uint32'](0x22)['fork']();for(var _0x22d6d5=0x0;_0x22d6d5<_0x2a3828['path']['length'];++_0x22d6d5)_0x19d6bb['uint32'](_0x2a3828['path'][_0x22d6d5]);_0x19d6bb['ldelim']();}return null!=_0x2a3828['stickiness']&&Object['hasOwnProperty']['call'](_0x2a3828,'stickiness')&&_0x19d6bb['uint32'](0x2a)['string'](_0x2a3828['stickiness']),_0x19d6bb;},_0x2f070f['encodeDelimited']=function(_0x1332f1,_0x4dc8fa){return this['encode'](_0x1332f1,_0x4dc8fa)['ldelim']();},_0x2f070f['decode']=function(_0x3a7eb1,_0x26bfa1,_0x9a1a19,_0x4e60dd){if(_0x3a7eb1 instanceof _0xf760a6||(_0x3a7eb1=_0xf760a6['create'](_0x3a7eb1)),void 0x0===_0x4e60dd&&(_0x4e60dd=0x0),_0x4e60dd>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c4436=void 0x0===_0x26bfa1?_0x3a7eb1['len']:_0x3a7eb1['pos']+_0x26bfa1,_0x1126d9=new _0xdaa17a['Position']();_0x3a7eb1['pos']<_0x1c4436;){var _0x338d29=_0x3a7eb1['uint32']();if(_0x338d29===_0x9a1a19)break;switch(_0x338d29>>>0x3){case 0x1:_0x1126d9['root']=_0x3a7eb1['string']();break;case 0x2:_0x1126d9['rootMain']=_0x3a7eb1['bool']();break;case 0x3:_0x1126d9['rootGraveyard']=_0x3a7eb1['bool']();break;case 0x4:if(_0x1126d9['path']&&_0x1126d9['path']['length']||(_0x1126d9['path']=[]),0x2==(0x7&_0x338d29)){for(var _0xe50580=_0x3a7eb1['uint32']()+_0x3a7eb1['pos'];_0x3a7eb1['pos']<_0xe50580;)_0x1126d9['path']['push'](_0x3a7eb1['uint32']());}else _0x1126d9['path']['push'](_0x3a7eb1['uint32']());break;case 0x5:_0x1126d9['stickiness']=_0x3a7eb1['string']();break;default:_0x3a7eb1['skipType'](0x7&_0x338d29,_0x4e60dd);}}return _0x1126d9;},_0x2f070f['decodeDelimited']=function(_0xb187c6){return _0xb187c6 instanceof _0xf760a6||(_0xb187c6=new _0xf760a6(_0xb187c6)),this['decode'](_0xb187c6,_0xb187c6['uint32']());},_0x2f070f['verify']=function(_0x1912a1,_0x59e0d9){if('object'!=typeof _0x1912a1||null===_0x1912a1)return'object\x20expected';if(void 0x0===_0x59e0d9&&(_0x59e0d9=0x0),_0x59e0d9>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1912a1['root']&&_0x1912a1['hasOwnProperty']('root')&&!_0x99e1ea['isString'](_0x1912a1['root']))return'root:\x20string\x20expected';if(null!=_0x1912a1['rootMain']&&_0x1912a1['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x1912a1['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x1912a1['rootGraveyard']&&_0x1912a1['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x1912a1['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x1912a1['path']&&_0x1912a1['hasOwnProperty']('path')){if(!Array['isArray'](_0x1912a1['path']))return'path:\x20array\x20expected';for(var _0x4b63c4=0x0;_0x4b63c4<_0x1912a1['path']['length'];++_0x4b63c4)if(!_0x99e1ea['isInteger'](_0x1912a1['path'][_0x4b63c4]))return'path:\x20integer[]\x20expected';}return null!=_0x1912a1['stickiness']&&_0x1912a1['hasOwnProperty']('stickiness')&&!_0x99e1ea['isString'](_0x1912a1['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x2f070f['fromObject']=function(_0x242726,_0x46e108){if(_0x242726 instanceof _0xdaa17a['Position'])return _0x242726;if(void 0x0===_0x46e108&&(_0x46e108=0x0),_0x46e108>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x151475=new _0xdaa17a['Position']();if(null!=_0x242726['root']&&(_0x151475['root']=String(_0x242726['root'])),null!=_0x242726['rootMain']&&(_0x151475['rootMain']=Boolean(_0x242726['rootMain'])),null!=_0x242726['rootGraveyard']&&(_0x151475['rootGraveyard']=Boolean(_0x242726['rootGraveyard'])),_0x242726['path']){if(!Array['isArray'](_0x242726['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x151475['path']=[];for(var _0x2041e0=0x0;_0x2041e0<_0x242726['path']['length'];++_0x2041e0)_0x151475['path'][_0x2041e0]=_0x242726['path'][_0x2041e0]>>>0x0;}return null!=_0x242726['stickiness']&&(_0x151475['stickiness']=String(_0x242726['stickiness'])),_0x151475;},_0x2f070f['toObject']=function(_0x5e1ff6,_0xc58f4c){_0xc58f4c||(_0xc58f4c={});var _0x5b6b48={};if((_0xc58f4c['arrays']||_0xc58f4c['defaults'])&&(_0x5b6b48['path']=[]),_0xc58f4c['defaults']&&(_0x5b6b48['root']='',_0x5b6b48['rootMain']=!0x1,_0x5b6b48['rootGraveyard']=!0x1,_0x5b6b48['stickiness']=''),null!=_0x5e1ff6['root']&&_0x5e1ff6['hasOwnProperty']('root')&&(_0x5b6b48['root']=_0x5e1ff6['root']),null!=_0x5e1ff6['rootMain']&&_0x5e1ff6['hasOwnProperty']('rootMain')&&(_0x5b6b48['rootMain']=_0x5e1ff6['rootMain']),null!=_0x5e1ff6['rootGraveyard']&&_0x5e1ff6['hasOwnProperty']('rootGraveyard')&&(_0x5b6b48['rootGraveyard']=_0x5e1ff6['rootGraveyard']),_0x5e1ff6['path']&&_0x5e1ff6['path']['length']){_0x5b6b48['path']=[];for(var _0x49f824=0x0;_0x49f824<_0x5e1ff6['path']['length'];++_0x49f824)_0x5b6b48['path'][_0x49f824]=_0x5e1ff6['path'][_0x49f824];}return null!=_0x5e1ff6['stickiness']&&_0x5e1ff6['hasOwnProperty']('stickiness')&&(_0x5b6b48['stickiness']=_0x5e1ff6['stickiness']),_0x5b6b48;},_0x2f070f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x2f070f['getTypeUrl']=function(_0x25f4f3){return void 0x0===_0x25f4f3&&(_0x25f4f3='type.googleapis.com'),_0x25f4f3+'/Position';},_0x2f070f;}()),_0xdaa17a['Range']=(function(){function _0x30fb87(_0x40cdb9){if(_0x40cdb9){for(var _0x1ab186=Object['keys'](_0x40cdb9),_0x589180=0x0;_0x589180<_0x1ab186['length'];++_0x589180)null!=_0x40cdb9[_0x1ab186[_0x589180]]&&'__proto__'!==_0x1ab186[_0x589180]&&(this[_0x1ab186[_0x589180]]=_0x40cdb9[_0x1ab186[_0x589180]]);}}return _0x30fb87['prototype']['start']=null,_0x30fb87['prototype']['end']=null,_0x30fb87['create']=function(_0x4f20a2){return new _0x30fb87(_0x4f20a2);},_0x30fb87['encode']=function(_0x337328,_0x46af81){return _0x46af81||(_0x46af81=_0x239201['create']()),null!=_0x337328['start']&&Object['hasOwnProperty']['call'](_0x337328,'start')&&_0xdaa17a['Position']['encode'](_0x337328['start'],_0x46af81['uint32'](0xa)['fork']())['ldelim'](),null!=_0x337328['end']&&Object['hasOwnProperty']['call'](_0x337328,'end')&&_0xdaa17a['Position']['encode'](_0x337328['end'],_0x46af81['uint32'](0x12)['fork']())['ldelim'](),_0x46af81;},_0x30fb87['encodeDelimited']=function(_0x456fd7,_0x265099){return this['encode'](_0x456fd7,_0x265099)['ldelim']();},_0x30fb87['decode']=function(_0x1d4d01,_0xb03c07,_0x1efbb3,_0x1b9df8){if(_0x1d4d01 instanceof _0xf760a6||(_0x1d4d01=_0xf760a6['create'](_0x1d4d01)),void 0x0===_0x1b9df8&&(_0x1b9df8=0x0),_0x1b9df8>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xfad8e1=void 0x0===_0xb03c07?_0x1d4d01['len']:_0x1d4d01['pos']+_0xb03c07,_0x4cc23e=new _0xdaa17a['Range']();_0x1d4d01['pos']<_0xfad8e1;){var _0x1a6b67=_0x1d4d01['uint32']();if(_0x1a6b67===_0x1efbb3)break;switch(_0x1a6b67>>>0x3){case 0x1:_0x4cc23e['start']=_0xdaa17a['Position']['decode'](_0x1d4d01,_0x1d4d01['uint32'](),void 0x0,_0x1b9df8+0x1);break;case 0x2:_0x4cc23e['end']=_0xdaa17a['Position']['decode'](_0x1d4d01,_0x1d4d01['uint32'](),void 0x0,_0x1b9df8+0x1);break;default:_0x1d4d01['skipType'](0x7&_0x1a6b67,_0x1b9df8);}}return _0x4cc23e;},_0x30fb87['decodeDelimited']=function(_0x22209d){return _0x22209d instanceof _0xf760a6||(_0x22209d=new _0xf760a6(_0x22209d)),this['decode'](_0x22209d,_0x22209d['uint32']());},_0x30fb87['verify']=function(_0x199fb9,_0x3fc0fb){if('object'!=typeof _0x199fb9||null===_0x199fb9)return'object\x20expected';if(void 0x0===_0x3fc0fb&&(_0x3fc0fb=0x0),_0x3fc0fb>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x1b55dc;if(null!=_0x199fb9['start']&&_0x199fb9['hasOwnProperty']('start')&&(_0x1b55dc=_0xdaa17a['Position']['verify'](_0x199fb9['start'],_0x3fc0fb+0x1)))return'start.'+_0x1b55dc;if(null!=_0x199fb9['end']&&_0x199fb9['hasOwnProperty']('end')&&(_0x1b55dc=_0xdaa17a['Position']['verify'](_0x199fb9['end'],_0x3fc0fb+0x1)))return'end.'+_0x1b55dc;return null;},_0x30fb87['fromObject']=function(_0x463b9d,_0x5d52df){if(_0x463b9d instanceof _0xdaa17a['Range'])return _0x463b9d;if(void 0x0===_0x5d52df&&(_0x5d52df=0x0),_0x5d52df>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x8d30ef=new _0xdaa17a['Range']();if(null!=_0x463b9d['start']){if('object'!=typeof _0x463b9d['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x8d30ef['start']=_0xdaa17a['Position']['fromObject'](_0x463b9d['start'],_0x5d52df+0x1);}if(null!=_0x463b9d['end']){if('object'!=typeof _0x463b9d['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x8d30ef['end']=_0xdaa17a['Position']['fromObject'](_0x463b9d['end'],_0x5d52df+0x1);}return _0x8d30ef;},_0x30fb87['toObject']=function(_0xfd9ce3,_0x418942){_0x418942||(_0x418942={});var _0x5215c5={};return _0x418942['defaults']&&(_0x5215c5['start']=null,_0x5215c5['end']=null),null!=_0xfd9ce3['start']&&_0xfd9ce3['hasOwnProperty']('start')&&(_0x5215c5['start']=_0xdaa17a['Position']['toObject'](_0xfd9ce3['start'],_0x418942)),null!=_0xfd9ce3['end']&&_0xfd9ce3['hasOwnProperty']('end')&&(_0x5215c5['end']=_0xdaa17a['Position']['toObject'](_0xfd9ce3['end'],_0x418942)),_0x5215c5;},_0x30fb87['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x30fb87['getTypeUrl']=function(_0x73f702){return void 0x0===_0x73f702&&(_0x73f702='type.googleapis.com'),_0x73f702+'/Range';},_0x30fb87;}()),_0xdaa17a['Element']=(function(){function _0x1ce074(_0x1a0cab){if(this['children']=[],this['attributesBoolean']={},_0x1a0cab){for(var _0x3e8e5d=Object['keys'](_0x1a0cab),_0x428182=0x0;_0x428182<_0x3e8e5d['length'];++_0x428182)null!=_0x1a0cab[_0x3e8e5d[_0x428182]]&&'__proto__'!==_0x3e8e5d[_0x428182]&&(this[_0x3e8e5d[_0x428182]]=_0x1a0cab[_0x3e8e5d[_0x428182]]);}}return _0x1ce074['prototype']['name']='',_0x1ce074['prototype']['children']=_0x99e1ea['emptyArray'],_0x1ce074['prototype']['data']='',_0x1ce074['prototype']['attributesBoolean']=_0x99e1ea['emptyObject'],_0x1ce074['prototype']['attributesJson']='',_0x1ce074['create']=function(_0xbea06d){return new _0x1ce074(_0xbea06d);},_0x1ce074['encode']=function(_0x124150,_0x5591c0){if(_0x5591c0||(_0x5591c0=_0x239201['create']()),null!=_0x124150['name']&&Object['hasOwnProperty']['call'](_0x124150,'name')&&_0x5591c0['uint32'](0xa)['string'](_0x124150['name']),null!=_0x124150['children']&&_0x124150['children']['length']){for(var _0xe2430c=0x0;_0xe2430c<_0x124150['children']['length'];++_0xe2430c)_0xdaa17a['Element']['encode'](_0x124150['children'][_0xe2430c],_0x5591c0['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x124150['data']&&Object['hasOwnProperty']['call'](_0x124150,'data')&&_0x5591c0['uint32'](0x1a)['string'](_0x124150['data']),null!=_0x124150['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x124150,'attributesBoolean')){var _0x45f3dd=Object['keys'](_0x124150['attributesBoolean']);for(_0xe2430c=0x0;_0xe2430c<_0x45f3dd['length'];++_0xe2430c)_0x5591c0['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x45f3dd[_0xe2430c])['uint32'](0x10)['bool'](_0x124150['attributesBoolean'][_0x45f3dd[_0xe2430c]])['ldelim']();}return null!=_0x124150['attributesJson']&&Object['hasOwnProperty']['call'](_0x124150,'attributesJson')&&_0x5591c0['uint32'](0x2a)['string'](_0x124150['attributesJson']),_0x5591c0;},_0x1ce074['encodeDelimited']=function(_0x1e2e1e,_0x52f1f4){return this['encode'](_0x1e2e1e,_0x52f1f4)['ldelim']();},_0x1ce074['decode']=function(_0x2bee9e,_0x58f366,_0x42af77,_0x3ba1af){if(_0x2bee9e instanceof _0xf760a6||(_0x2bee9e=_0xf760a6['create'](_0x2bee9e)),void 0x0===_0x3ba1af&&(_0x3ba1af=0x0),_0x3ba1af>_0xf760a6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a300f,_0x5c5565,_0xb22519=void 0x0===_0x58f366?_0x2bee9e['len']:_0x2bee9e['pos']+_0x58f366,_0x2248e6=new _0xdaa17a['Element']();_0x2bee9e['pos']<_0xb22519;){var _0x38cbb8=_0x2bee9e['uint32']();if(_0x38cbb8===_0x42af77)break;switch(_0x38cbb8>>>0x3){case 0x1:_0x2248e6['name']=_0x2bee9e['string']();break;case 0x2:_0x2248e6['children']&&_0x2248e6['children']['length']||(_0x2248e6['children']=[]),_0x2248e6['children']['push'](_0xdaa17a['Element']['decode'](_0x2bee9e,_0x2bee9e['uint32'](),void 0x0,_0x3ba1af+0x1));break;case 0x3:_0x2248e6['data']=_0x2bee9e['string']();break;case 0x4:_0x2248e6['attributesBoolean']===_0x99e1ea['emptyObject']&&(_0x2248e6['attributesBoolean']={});var _0x154fb3=_0x2bee9e['uint32']()+_0x2bee9e['pos'];for(_0x1a300f='',_0x5c5565=!0x1;_0x2bee9e['pos']<_0x154fb3;){var _0x793a5e=_0x2bee9e['uint32']();switch(_0x793a5e>>>0x3){case 0x1:_0x1a300f=_0x2bee9e['string']();break;case 0x2:_0x5c5565=_0x2bee9e['bool']();break;default:_0x2bee9e['skipType'](0x7&_0x793a5e,_0x3ba1af);}}'__proto__'===_0x1a300f&&_0x99e1ea['makeProp'](_0x2248e6['attributesBoolean'],_0x1a300f),_0x2248e6['attributesBoolean'][_0x1a300f]=_0x5c5565;break;case 0x5:_0x2248e6['attributesJson']=_0x2bee9e['string']();break;default:_0x2bee9e['skipType'](0x7&_0x38cbb8,_0x3ba1af);}}return _0x2248e6;},_0x1ce074['decodeDelimited']=function(_0x10152f){return _0x10152f instanceof _0xf760a6||(_0x10152f=new _0xf760a6(_0x10152f)),this['decode'](_0x10152f,_0x10152f['uint32']());},_0x1ce074['verify']=function(_0x53aa0c,_0x498dd0){if('object'!=typeof _0x53aa0c||null===_0x53aa0c)return'object\x20expected';if(void 0x0===_0x498dd0&&(_0x498dd0=0x0),_0x498dd0>_0x99e1ea['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x53aa0c['name']&&_0x53aa0c['hasOwnProperty']('name')&&!_0x99e1ea['isString'](_0x53aa0c['name']))return'name:\x20string\x20expected';if(null!=_0x53aa0c['children']&&_0x53aa0c['hasOwnProperty']('children')){if(!Array['isArray'](_0x53aa0c['children']))return'children:\x20array\x20expected';for(var _0x1b39d2=0x0;_0x1b39d2<_0x53aa0c['children']['length'];++_0x1b39d2){var _0x66b902=_0xdaa17a['Element']['verify'](_0x53aa0c['children'][_0x1b39d2],_0x498dd0+0x1);if(_0x66b902)return'children.'+_0x66b902;}}if(null!=_0x53aa0c['data']&&_0x53aa0c['hasOwnProperty']('data')&&!_0x99e1ea['isString'](_0x53aa0c['data']))return'data:\x20string\x20expected';if(null!=_0x53aa0c['attributesBoolean']&&_0x53aa0c['hasOwnProperty']('attributesBoolean')){if(!_0x99e1ea['isObject'](_0x53aa0c['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x4252c1=Object['keys'](_0x53aa0c['attributesBoolean']);for(_0x1b39d2=0x0;_0x1b39d2<_0x4252c1['length'];++_0x1b39d2)if('boolean'!=typeof _0x53aa0c['attributesBoolean'][_0x4252c1[_0x1b39d2]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x53aa0c['attributesJson']&&_0x53aa0c['hasOwnProperty']('attributesJson')&&!_0x99e1ea['isString'](_0x53aa0c['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x1ce074['fromObject']=function(_0x5a760c,_0x5c3bea){if(_0x5a760c instanceof _0xdaa17a['Element'])return _0x5a760c;if(void 0x0===_0x5c3bea&&(_0x5c3bea=0x0),_0x5c3bea>_0x99e1ea['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x533c9f=new _0xdaa17a['Element']();if(null!=_0x5a760c['name']&&(_0x533c9f['name']=String(_0x5a760c['name'])),_0x5a760c['children']){if(!Array['isArray'](_0x5a760c['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x533c9f['children']=[];for(var _0x2a60e5=0x0;_0x2a60e5<_0x5a760c['children']['length'];++_0x2a60e5){if('object'!=typeof _0x5a760c['children'][_0x2a60e5])throw TypeError('.Element.children:\x20object\x20expected');_0x533c9f['children'][_0x2a60e5]=_0xdaa17a['Element']['fromObject'](_0x5a760c['children'][_0x2a60e5],_0x5c3bea+0x1);}}if(null!=_0x5a760c['data']&&(_0x533c9f['data']=String(_0x5a760c['data'])),_0x5a760c['attributesBoolean']){if('object'!=typeof _0x5a760c['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x533c9f['attributesBoolean']={};var _0x95a892=Object['keys'](_0x5a760c['attributesBoolean']);for(_0x2a60e5=0x0;_0x2a60e5<_0x95a892['length'];++_0x2a60e5)'__proto__'===_0x95a892[_0x2a60e5]&&_0x99e1ea['makeProp'](_0x533c9f['attributesBoolean'],_0x95a892[_0x2a60e5]),_0x533c9f['attributesBoolean'][_0x95a892[_0x2a60e5]]=Boolean(_0x5a760c['attributesBoolean'][_0x95a892[_0x2a60e5]]);}return null!=_0x5a760c['attributesJson']&&(_0x533c9f['attributesJson']=String(_0x5a760c['attributesJson'])),_0x533c9f;},_0x1ce074['toObject']=function(_0x528664,_0x5ec6f3){_0x5ec6f3||(_0x5ec6f3={});var _0x1d8503,_0xb03e4={};if((_0x5ec6f3['arrays']||_0x5ec6f3['defaults'])&&(_0xb03e4['children']=[]),(_0x5ec6f3['objects']||_0x5ec6f3['defaults'])&&(_0xb03e4['attributesBoolean']={}),_0x5ec6f3['defaults']&&(_0xb03e4['name']='',_0xb03e4['data']='',_0xb03e4['attributesJson']=''),null!=_0x528664['name']&&_0x528664['hasOwnProperty']('name')&&(_0xb03e4['name']=_0x528664['name']),_0x528664['children']&&_0x528664['children']['length']){_0xb03e4['children']=[];for(var _0x5ebd6d=0x0;_0x5ebd6d<_0x528664['children']['length'];++_0x5ebd6d)_0xb03e4['children'][_0x5ebd6d]=_0xdaa17a['Element']['toObject'](_0x528664['children'][_0x5ebd6d],_0x5ec6f3);}if(null!=_0x528664['data']&&_0x528664['hasOwnProperty']('data')&&(_0xb03e4['data']=_0x528664['data']),_0x528664['attributesBoolean']&&(_0x1d8503=Object['keys'](_0x528664['attributesBoolean']))['length']){_0xb03e4['attributesBoolean']={};for(_0x5ebd6d=0x0;_0x5ebd6d<_0x1d8503['length'];++_0x5ebd6d)'__proto__'===_0x1d8503[_0x5ebd6d]&&_0x99e1ea['makeProp'](_0xb03e4['attributesBoolean'],_0x1d8503[_0x5ebd6d]),_0xb03e4['attributesBoolean'][_0x1d8503[_0x5ebd6d]]=_0x528664['attributesBoolean'][_0x1d8503[_0x5ebd6d]];}return null!=_0x528664['attributesJson']&&_0x528664['hasOwnProperty']('attributesJson')&&(_0xb03e4['attributesJson']=_0x528664['attributesJson']),_0xb03e4;},_0x1ce074['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x5be20d['util']['toJSONOptions']);},_0x1ce074['getTypeUrl']=function(_0x4b3a3){return void 0x0===_0x4b3a3&&(_0x4b3a3='type.googleapis.com'),_0x4b3a3+'/Element';},_0x1ce074;}()),_0xdaa17a;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x2b6e6d;}['getDescriptor'](_0x2e1c55){return new ProtobufDescriptor(this['_protobufRoot'][_0x2e1c55]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x3d7bc5){this['_protobuf']=_0x3d7bc5;}['compress'](_0x44be36){const _0x49c4b3=this['_protobuf']['verify'](_0x44be36);if(_0x49c4b3)throw Error(_0x49c4b3);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x44be36))['finish']();}['decompress'](_0x320a18){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x320a18),{'oneofs':!0x0});}}function _0x40b5dd(_0x16d091,_0x59672d){const _0x26e1e0=_0xeda1dc(_0x16d091);return _0x26e1e0['path'][_0x26e1e0['path']['length']-0x1]+=_0x59672d,_0x26e1e0;}function _0x2b6636(_0x35ae6d,_0x27c8a8){return _0x35ae6d['root']===_0x27c8a8['root']&&pt(_0x35ae6d['path'],_0x27c8a8['path']);}function _0x350fb8(_0x636da4){_0x1da8a5(_0x636da4,_0x1d7cb4=>('main'==_0x1d7cb4['root']?(_0x1d7cb4['rootMain']=!0x0,delete _0x1d7cb4['root']):'$graveyard'==_0x1d7cb4['root']&&(_0x1d7cb4['rootGraveyard']=!0x0,delete _0x1d7cb4['root']),_0x1d7cb4));}function _0x2fb5a9(_0x4f3d38){_0x1da8a5(_0x4f3d38,_0x2f6184=>(_0x2f6184['rootMain']?(_0x2f6184['root']='main',delete _0x2f6184['rootMain']):_0x2f6184['rootGraveyard']&&(_0x2f6184['root']='$graveyard',delete _0x2f6184['rootGraveyard']),_0x2f6184));}function _0x1da8a5(_0x3385f8,_0x12408a){for(const _0x3e29ea in _0x3385f8){const _0x288f1e=_0x3385f8[_0x3e29ea];'nodes'!==_0x3e29ea&&_0xece1ee(_0x288f1e)&&(_0x288f1e['path']&&(_0x288f1e['root']||_0x288f1e['rootMain']||_0x288f1e['rootGraveyard'])?_0x3385f8[_0x3e29ea]=_0x12408a(_0x288f1e):_0x1da8a5(_0x288f1e,_0x12408a));}return _0x3385f8;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x348f24,_0xc832dd,_0x48c229){this['_id']=_0x348f24,this['_operationName']=_0xc832dd,this['_protobufDescriptor']=_0x48c229;}['compress'](_0x40a6fb,_0x268c23){const _0x1ab968=_0x268c23['operations'][_0x268c23['index']++];return _0x350fb8(_0x1ab968),_0x40a6fb['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1ab968)),_0x40a6fb['types']['push'](this['_id']),!0x0;}['decompress'](_0x2a9fb4,_0x88bfe6){_0x88bfe6['typeIndex']++;const _0xc875f8=_0x88bfe6['buffers'][_0x88bfe6['bufferIndex']++],_0x19ced6=this['_protobufDescriptor']['decompress'](_0xc875f8);_0x2fb5a9(_0x19ced6),_0x19ced6['__className']=this['_operationName'],_0x2a9fb4['push'](_0x19ced6);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x20b490,_0x1860b9){const _0x25af36=_0x1860b9['operations'][_0x1860b9['index']++];return this['_serializeOneOf']('oldValue',_0x25af36),this['_serializeOneOf']('newValue',_0x25af36),_0x350fb8(_0x25af36),_0x20b490['buffers']['push'](this['_protobufDescriptor']['compress'](_0x25af36)),_0x20b490['types']['push'](this['_id']),!0x0;}['decompress'](_0x1a9f8e,_0x559f2a){_0x559f2a['typeIndex']++;const _0x11c5f4=_0x559f2a['buffers'][_0x559f2a['bufferIndex']++],_0x2af708=this['_protobufDescriptor']['decompress'](_0x11c5f4);this['_deserializeOneOf']('oldValue',_0x2af708),this['_deserializeOneOf']('newValue',_0x2af708),_0x2fb5a9(_0x2af708),_0x2af708['__className']=this['_operationName'],_0x1a9f8e['push'](_0x2af708);}['_serializeOneOf'](_0xa60228,_0x469a17){const _0x5ca0af=_0x469a17[_0xa60228];'boolean'==typeof _0x5ca0af?_0x469a17[_0xa60228+'Boolean']=_0x5ca0af:_0x469a17[_0xa60228+'Json']=JSON['stringify'](_0x5ca0af);}['_deserializeOneOf'](_0x445a4c,_0xb3e768){const _0x16b856=_0x445a4c+'Json';_0xb3e768[_0x16b856]?(_0xb3e768[_0x445a4c]=JSON['parse'](_0xb3e768[_0x16b856]),delete _0xb3e768[_0x16b856]):(_0xb3e768[_0x445a4c]=_0xb3e768[_0x445a4c+'Boolean'],delete _0xb3e768[_0x445a4c+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x54eca8,_0x3b1cef){const _0x38007e=_0x3b1cef['operations'][_0x3b1cef['index']++];return this['_serializeNodesAttributes'](_0x38007e['nodes']),_0x350fb8(_0x38007e),_0x54eca8['buffers']['push'](this['_protobufDescriptor']['compress'](_0x38007e)),_0x54eca8['types']['push'](this['_id']),!0x0;}['decompress'](_0x2162f8,_0x2eea0c){_0x2eea0c['typeIndex']++;const _0x1de61b=_0x2eea0c['buffers'][_0x2eea0c['bufferIndex']++],_0x376274=this['_protobufDescriptor']['decompress'](_0x1de61b);_0x376274['nodes']||(_0x376274['nodes']=[]),this['_deserializeNodesAttributes'](_0x376274['nodes']),_0x2fb5a9(_0x376274),_0x376274['__className']=this['_operationName'],_0x2162f8['push'](_0x376274);}['_serializeNodesAttributes'](_0x3e1318){for(const _0x151a54 of _0x3e1318){if(_0x151a54['attributes']){const _0x1072bf=_0x151a54['attributes'];this['_areValuesBoolean'](_0x1072bf)?_0x151a54['attributesBoolean']=_0x1072bf:_0x151a54['attributesJson']=JSON['stringify'](_0x1072bf);}_0x151a54['children']&&this['_serializeNodesAttributes'](_0x151a54['children']);}}['_deserializeNodesAttributes'](_0x57f482){for(const _0x1b8bbf of _0x57f482)(_0x1b8bbf['attributesBoolean']||_0x1b8bbf['attributesJson'])&&(_0x1b8bbf['attributesBoolean']?(_0x1b8bbf['attributes']=_0x1b8bbf['attributesBoolean'],delete _0x1b8bbf['attributesBoolean']):(_0x1b8bbf['attributes']=JSON['parse'](_0x1b8bbf['attributesJson']),delete _0x1b8bbf['attributesJson'])),_0x1b8bbf['children']&&this['_deserializeNodesAttributes'](_0x1b8bbf['children']);}['_areValuesBoolean'](_0x25dbfb){return Object['keys'](_0x25dbfb)['every'](_0x1d1150=>'boolean'==typeof _0x25dbfb[_0x1d1150]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x429d61,_0x23cb1c){super['decompress'](_0x429d61,_0x23cb1c);const _0x2b61a4=_0x429d61[_0x429d61['length']-0x1];_0x2b61a4['oldRange']||(_0x2b61a4['oldRange']=null),_0x2b61a4['newRange']||(_0x2b61a4['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x4fa6c3,_0x201b8e){return _0x201b8e['index']++,_0x4fa6c3['types']['push'](this['_id']),!0x0;}['decompress'](_0x2b79d6,_0xc0c652){_0xc0c652['typeIndex']++,_0x2b79d6['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x5a0f98,_0x522dac,_0x2bff35,_0x5cafcb){super(_0x5a0f98,_0x522dac,_0x2bff35),this['_omittedNamespace']=_0x5cafcb+':';}['compress'](_0x1b6594,_0x509f50){const _0x4480fd=_0x509f50['operations'][_0x509f50['index']];return!('MarkerOperation'!=_0x4480fd['__className']||!_0x4480fd['name']['startsWith'](this['_omittedNamespace']))&&(_0x4480fd['name']=_0x4480fd['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x1b6594,_0x509f50),!0x0);}['decompress'](_0x2f61b6,_0x5a1d58){super['decompress'](_0x2f61b6,_0x5a1d58);const _0x60d115=_0x2f61b6[_0x2f61b6['length']-0x1];_0x60d115['name']=this['_omittedNamespace']+_0x60d115['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x13938a,_0x2e963a){this['_id']=_0x13938a,this['_context']=_0x2e963a;}['compress'](_0xd00551,_0x40cee3){let _0x36437d,_0xaa5cce=_0x40cee3['operations'][_0x40cee3['index']],_0x1da2e8=_0x40cee3['operations'][_0x40cee3['index']+0x1];for(;_0x1da2e8&&this['_compareOperations'](_0xaa5cce,_0x1da2e8);)_0x36437d?(_0x36437d=this['_combineNext'](_0xaa5cce,_0x36437d),_0xd00551['types']['push'](0x0)):(_0x36437d=_0xeda1dc(_0xaa5cce),_0xd00551['types']['push'](this['_id'])),_0x40cee3['index']++,_0xaa5cce=_0x40cee3['operations'][_0x40cee3['index']],_0x1da2e8=_0x40cee3['operations'][_0x40cee3['index']+0x1];return!!_0x36437d&&(_0x36437d=this['_combineNext'](_0x40cee3['operations'][_0x40cee3['index']++],_0x36437d),_0xd00551['types']['push'](0x0),_0xd00551['buffers']['push'](this['_compressSingleOperation'](_0x36437d)),!0x0);}['decompress'](_0x3819f6,_0x3e07c9){const _0xd82620=this['_decompressSingleOperation'](_0x3e07c9);for(;0x0==_0x3e07c9['types'][_0x3e07c9['typeIndex']];)_0x3e07c9['typeIndex']++,_0x3819f6['push'](this['_splitCurrent'](_0xd82620));_0x3819f6['push'](_0xd82620);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x291d05,_0x18b37e){return _0x18b37e['nodes'][0x0]['data']+=_0x291d05['nodes'][0x0]['data'],_0x18b37e;}['_splitCurrent'](_0x2be8d1){const _0x524480=_0xeda1dc(_0x2be8d1),_0x31e692=_0x524480['nodes'][0x0],_0x365a19=_0x2be8d1['nodes'][0x0],_0x500b72=_0x365a19['data'][Symbol['iterator']]()['next']()['value'],_0x31a84d=_0x500b72['length'];return _0x31e692['data']=_0x500b72,_0x365a19['data']=_0x365a19['data']['substr'](_0x31a84d),_0x2be8d1['position']=_0x40b5dd(_0x2be8d1['position'],_0x31a84d),_0x524480;}['_compareOperations'](_0x52a6e7,_0xb79e50){if(this['_checkOperation'](_0x52a6e7)&&this['_checkOperation'](_0xb79e50)){const _0x477f82=_0x52a6e7['nodes'][0x0]['data']['length'],_0x14e12d=_0x2b6636(_0x40b5dd(_0x52a6e7['position'],_0x477f82),_0xb79e50['position']),_0x4dec57=_0x52a6e7['nodes'][0x0],_0x57ff3c=_0xb79e50['nodes'][0x0];return _0x14e12d&&this['_compareAttributes'](_0x4dec57,_0x57ff3c);}return!0x1;}['_compressSingleOperation'](_0x29f113){const _0x1a98c0={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x1a98c0,{'operations':[_0x29f113],'index':0x0}),_0x1a98c0['buffers'][0x0];}['_decompressSingleOperation'](_0x41e2b3){const _0x4ec7c9=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x4ec7c9,_0x41e2b3),_0x4ec7c9[0x0];}['_checkOperation'](_0x1c5985){return'InsertOperation'==_0x1c5985['__className']&&0x1==_0x1c5985['nodes']['length']&&_0x1c5985['nodes'][0x0]['data']&&!_0x1c5985['wasUndone']&&0x1==Array['from'](_0x1c5985['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x4b1218,_0x3bde9c){const _0x55c99c=Object['keys'](_0x4b1218['attributes']||{}),_0x3b4ace=Object['keys'](_0x3bde9c['attributes']||{});return _0x55c99c['length']===_0x3b4ace['length']&&_0x55c99c['every'](_0x412b33=>_0x3bde9c['attributes'][_0x412b33]&&_0x3bde9c['attributes'][_0x412b33]===_0x4b1218['attributes'][_0x412b33]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x1d7d67,_0x56e614){return _0x56e614['howMany']++,_0x56e614['sourcePosition']=_0xeda1dc(_0x1d7d67['sourcePosition']),_0x56e614;}['_splitCurrent'](_0x4004f4){const _0x16b0a5=_0xeda1dc(_0x4004f4);return _0x4004f4['howMany']--,_0x16b0a5['howMany']=0x1,_0x16b0a5['sourcePosition']=_0x40b5dd(_0x16b0a5['sourcePosition'],_0x4004f4['howMany']),_0x16b0a5;}['_compareOperations'](_0x35d043,_0x5c755d){return!(!this['_checkOperation'](_0x35d043)||!this['_checkOperation'](_0x5c755d))&&(_0x2b6636(_0x40b5dd(_0x35d043['sourcePosition'],-0x1),_0x5c755d['sourcePosition'])&&_0x2b6636(_0x35d043['targetPosition'],_0x5c755d['targetPosition']));}['_compressSingleOperation'](_0x20e955){const _0x205723={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x205723,{'operations':[_0x20e955],'index':0x0}),_0x205723['buffers'][0x0];}['_decompressSingleOperation'](_0x1260a6){const _0x5989a1=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x5989a1,_0x1260a6),_0x5989a1[0x0];}['_checkOperation'](_0x31507b){return'MoveOperation'==_0x31507b['__className']&&'$graveyard'==_0x31507b['targetPosition']['root']&&0x1==_0x31507b['howMany']&&!_0x31507b['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x2f00b8,_0x4ddca1){return _0x4ddca1['howMany']++,_0x4ddca1;}['_splitCurrent'](_0x52dce8){const _0x2aafde=_0xeda1dc(_0x52dce8);return _0x2aafde['howMany']=0x1,_0x52dce8['howMany']--,_0x2aafde;}['_compareOperations'](_0x3eb767,_0x54a03d){return!(!this['_checkOperation'](_0x3eb767)||!this['_checkOperation'](_0x54a03d))&&(_0x2b6636(_0x3eb767['sourcePosition'],_0x54a03d['sourcePosition'])&&_0x2b6636(_0x3eb767['targetPosition'],_0x54a03d['targetPosition']));}['_compressSingleOperation'](_0x4d7c7e){const _0x3a2e28={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x3a2e28,{'operations':[_0x4d7c7e],'index':0x0}),_0x3a2e28['buffers'][0x0];}['_decompressSingleOperation'](_0x4a9a38){const _0x579831=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x579831,_0x4a9a38),_0x579831[0x0];}['_checkOperation'](_0xc34d1b){return'MoveOperation'==_0xc34d1b['__className']&&'$graveyard'==_0xc34d1b['targetPosition']['root']&&0x1==_0xc34d1b['howMany']&&!_0xc34d1b['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x45c449,_0x15aa5e){if(!this['_compareOperations'](_0x15aa5e['operations'][_0x15aa5e['index']],_0x15aa5e['operations'][_0x15aa5e['index']+0x1]))return!0x1;const _0x244004=_0x15aa5e['operations'][_0x15aa5e['index']++];return _0x244004['oldRange']=null,_0x244004['newRange']&&_0x2b6636(_0x244004['newRange']['start'],_0x244004['newRange']['end'])&&(_0x244004['newRange']['end']=null),_0x15aa5e['index']++,_0x45c449['types']['push'](this['_id']),_0x45c449['types']['push'](0x0),_0x45c449['buffers']['push'](this['_compressSingleOperation'](_0x244004)),!0x0;}['decompress'](_0x27695f,_0x595159){const _0x22e004=this['_decompressSingleOperation'](_0x595159);_0x22e004['newRange']&&!_0x22e004['newRange']['end']&&(_0x22e004['newRange']['end']=_0xeda1dc(_0x22e004['newRange']['start']));const _0xef08b1=_0xeda1dc(_0x22e004);_0xef08b1['newRange']&&(_0xef08b1['newRange']['start']['stickiness']='toNone',_0xef08b1['newRange']['end']=_0xeda1dc(_0xef08b1['newRange']['start'])),_0xef08b1['name']='user:position:'+_0xef08b1['name']['split'](':')[0x2],_0x595159['typeIndex']++,_0x27695f['push'](_0x22e004),_0x27695f['push'](_0xef08b1);}['_compressSingleOperation'](_0x1343b7){const _0x15ecc5={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x15ecc5,{'operations':[_0x1343b7],'index':0x0}),_0x15ecc5['buffers'][0x0];}['_decompressSingleOperation'](_0x487c05){const _0x4bfa6f=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x4bfa6f,_0x487c05),_0x4bfa6f[0x0];}['_compareOperations'](_0x1a3332,_0x557746){return!(!_0x1a3332||!_0x557746)&&('MarkerOperation'==_0x1a3332['__className']&&'MarkerOperation'==_0x557746['__className']&&!(!_0x1a3332['name']['startsWith']('user:')||!_0x557746['name']['startsWith']('user:')||_0x1a3332['name']==_0x557746['name']));}}class _0x5c28e3{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x1eb2d5=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new NoOperationCompressor(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0xb,'InsertOperation',InsertOperationCompressor),this['_registerOperationCompressor'](0xc,'MarkerOperation',MarkerOperationCompressor),this['_registerOperationCompressor'](0xd,'MergeOperation',OperationCompressor),this['_registerOperationCompressor'](0xe,'MoveOperation',OperationCompressor),this['_registerOperationCompressor'](0xf,'RenameOperation',OperationCompressor),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0x11,'SplitOperation',OperationCompressor),this['_registerCompressor'](0x12,'CommentMarkerOperation',new AnnotationMarkerOperationCompressor(0x12,'MarkerOperation',_0x1eb2d5,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x1eb2d5,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',OperationCompressor),this['_registerActionCompressor'](0x64,'TypingAction',TypingActionCompressor),this['_registerActionCompressor'](0x65,'DeletingAction',DeletingActionCompressor),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',ForwardDeletingActionCompressor),this['_registerActionCompressor'](0x67,'UserSelectionAction',UserSelectionActionCompressor);}['compress'](_0x57c71f){if(!_0x57c71f||!_0x57c71f[0x0])throw new _0x31c75c['CKEditorError']('no-operations-provided',this);const _0x19f755={'operations':_0x57c71f,'index':0x0},_0x1bbebe={'types':[],'buffers':[],'baseVersion':_0x57c71f[0x0]['baseVersion']};for(;_0x19f755['index']<_0x19f755['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x1bbebe,_0x19f755))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x1bbebe,_0x19f755))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x1bbebe,_0x19f755))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x1bbebe,_0x19f755))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x1bbebe,_0x19f755))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x1bbebe,_0x19f755))continue;const _0x5933dd=_0x19f755['operations'][_0x19f755['index']]['__className'];this['_getCompressorByName'](_0x5933dd)['compress'](_0x1bbebe,_0x19f755);}return _0x1bbebe;}['decompress'](_0x1affef){const _0x5a54cd=[],_0x4e9c4b={'types':_0x1affef['types'],'buffers':_0x1affef['buffers'],'baseVersion':_0x1affef['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x4e9c4b['typeIndex']<_0x4e9c4b['types']['length'];){const _0x63a56e=_0x4e9c4b['types'][_0x4e9c4b['typeIndex']],_0x3bccdb=this['_compressorById']['get'](_0x63a56e);if(!_0x3bccdb)throw new _0x31c75c['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x63a56e});_0x3bccdb['decompress'](_0x5a54cd,_0x4e9c4b);}return _0x5a54cd['forEach']((_0x3d3e61,_0x13ce64)=>_0x3d3e61['baseVersion']=_0x1affef['baseVersion']+_0x13ce64),_0x5a54cd;}['_getCompressorByName'](_0x16e884){return this['_compressorByName']['get'](_0x16e884);}['_registerOperationCompressor'](_0x44fe9e,_0x646bed,_0x261391){const _0x53ad5a=new _0x261391(_0x44fe9e,_0x646bed,this['_protobufFactory']['getDescriptor'](_0x646bed));this['_registerCompressor'](_0x44fe9e,_0x646bed,_0x53ad5a);}['_registerActionCompressor'](_0x339bb3,_0x394ce2,_0x516316){const _0xd4064c=new _0x516316(_0x339bb3,this);this['_registerCompressor'](_0x339bb3,_0x394ce2,_0xd4064c);}['_registerCompressor'](_0x3f9d3c,_0x1a4cea,_0x166a20){this['_compressorById']['set'](_0x3f9d3c,_0x166a20),this['_compressorByName']['set'](_0x1a4cea,_0x166a20);}}let _0xad842=0x1;class RealTimeCollaborationClient extends _0x31c75c['Plugin']{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>CollaborativeEditingService)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[WebSocketGateway,_0xcad824,_0x196810,_0x31c75c['PendingActions'],_0x1eec90,_0x31c75c['Notification']];}static get['pluginName'](){return'RealTimeCollaborationClient';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['cloudDocumentVersion'](){return this['_lastServerVersion']+this['_offset'];}get['_lastServerVersion'](){return this['serverHistory']['version']-this['_offset'];}get['lastSyncVersion'](){const _0xa4e63c=this['serverHistory']['getOperations']();for(let _0x171994=_0xa4e63c['length']-0x1;_0x171994>=0x0;_0x171994--){const _0x55d292=_0xa4e63c[_0x171994];if(!this['_disconnectionOperations']['has'](_0x55d292))return _0x55d292['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x1a9d94){if(super(_0x1a9d94),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x31c75c['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x31c75c['CKEditorError']('collaboration-missing-channelid',this);const _0xb89398=_0x1a9d94['config']['get']('cloudServices.bundleVersion')||_0x31c75c['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0xb89398,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x5c28e3(),this['_bufferedOperations']=[],this['_knownOperations']=new WeakSet(),this['_knownRootNames']=new Set(),this['set']('_isPendingUpdate',!0x1),this['set']('_hasSynchronizationProblem',!0x1),this['_pendingAction']=null,this['_hasSelectionChanged']=!0x1,this['_sendBufferedOperationsDelayId']=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this['_disconnectionOperations']=new WeakSet(),this['_operationIdentifier']=new OperationIdentifier(this['_disconnectionOperations']);}['init'](){const _0x329372=this['editor'],_0x2a52e7=_0x329372['plugins']['get'](_0x1eec90),_0x3ae18e=_0x329372['plugins']['get'](WebSocketGateway);this['listenTo'](_0x2a52e7,'getOperationAuthor',(_0x2db9dd,_0x166fab)=>{const _0x4f8ef4=_0x166fab[0x0];_0x4f8ef4['_authorId']&&(_0x2db9dd['return']=_0x2a52e7['getUser'](_0x4f8ef4['_authorId']),_0x2db9dd['stop']()),null===_0x4f8ef4['_authorId']&&(_0x2db9dd['return']=null,_0x2db9dd['stop']());},{'priority':'high'}),this['listenTo'](_0x329372['model']['document']['selection'],'change:range',(_0x1e6470,_0x51aff8)=>{_0x51aff8['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x329372['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x329372['model']['on']('applyOperation',(_0x430834,_0x1dee7b)=>{const _0x6a750=_0x1dee7b[0x0];_0x6a750['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x6a750),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x3ae18e,'state',this,'_hasSynchronizationProblem',(_0x2ab39d,_0x1ce9b7)=>'connected'===_0x2ab39d&&!_0x1ce9b7),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x329372['disableReadOnlyMode']('rtc-offline'):_0x329372['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x329372['disableReadOnlyMode']('rtc-offline'):_0x329372['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x227944=this['editor']['plugins']['get'](_0xcad824),_0x28c6bd=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x227944['unregister'](this['_channelId']);const _0x591eff=await this['_service']['reconnect'](_0x28c6bd['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x591eff)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x2f6b03=await this['_service']['getConnectedSessions']();_0x227944['register'](this['_channelId'],_0x2f6b03),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x40f9a8){if(function(_0x343d07){return'404'===_0x343d07['code'];}(_0x40f9a8)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x3d201e){return'409'===_0x3d201e['code'];}(_0x40f9a8)){const _0x52f8ea=_0x289de6(this['editor']['locale'],'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');this['_handleReconnectionError'](_0x52f8ea);}else{if(!(_0x40f9a8 instanceof ReconnectionError))throw _0x40f9a8;this['_handleReconnectionError']();}}}}['destroy'](){const _0x277c6f=this['editor']['plugins']['get'](WebSocketGateway),_0x3c17a1=this['editor']['plugins']['get'](_0xcad824);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x3c17a1['channelSessions']['has'](this['_channelId'])&&_0x3c17a1['unregister'](this['_channelId']),_0x277c6f['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x25625){if(this['sessionId']!==_0x25625['sessionId']&&this['_lastSyncedOperationId']!==_0x25625['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x25625['sessionId'],this['_handleServerResponse']([],{..._0x25625,'wereChangesApplied':!0x1,'data':_0x25625['data']},'reconnect');}async['_connectService'](_0x3048c8,_0x481a17=!0x1){const {connection:_0xadf352}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0xadf352,this['_channelId'])['then'](_0x40a999=>this['_initSessionsHandling'](_0x40a999))['catch'](_0xa18264=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0xa18264);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x299a6e,_0x3502e7)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x3502e7);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x91230f=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x3048c8);this['_isPendingUpdate']=!0x0;const _0x12a432=await this['_service']['connect'](_0xadf352,this['_compressOperations'](_0x3048c8),_0x91230f);if(this['sessionId']=_0x12a432['sessionId'],_0x481a17){if(!_0x12a432['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x12a432['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x3048c8,_0x12a432,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x12a432,_0x3048c8);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x3eb3a4=this['editor']['plugins']['get'](_0xcad824),_0x180b06=this['editor']['plugins']['get'](_0x196810),_0x54fd43=_0x3eb3a4['channelSessions']['get'](this['_channelId']);_0x54fd43&&_0x54fd43['length']>0x1?_0x180b06['createUserMarkerOperations']():this['listenTo'](_0x3eb3a4,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x3eb3a4['channelSessions']['get'](this['_channelId'])['length']&&_0x180b06['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x24bdc5,_0x1ea47d,_0x25b6e0,_0x3134dd){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x1ea47d){const _0x3f360a=this['_decompressOperations'](_0x25b6e0,_0x3134dd);await this['_fetchMissingUsers'](_0x3f360a),this['_handleExternalOperations'](_0x3f360a,_0x1ea47d,_0x25b6e0['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x421a2f}=this['editor'];let _0x50403d;try{_0x50403d=await this['_service']['getDocumentDetails']();}catch{const _0x579469=_0x289de6(_0x421a2f,'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x579469);}const _0x42655c=_0x50403d['currentDocumentSession']||_0x50403d['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x42655c['lastOperationId']){const _0x5c7cd7=_0x289de6(_0x421a2f,'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this['_handleReconnectionError'](_0x5c7cd7);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x426780){const _0x24340b=this['editor']['plugins']['get'](_0xcad824);this['listenTo'](_0x24340b,'sessionAdd:'+this['_channelId'],(_0x66f514,{session:_0xb73173})=>{if(_0xb73173['id']===_0x24340b['mySessionId']){_0x66f514['off']();const _0x56d0b2=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x283cf=_0xb73173['permissions'];_0x56d0b2&&_0x56d0b2['isEnabled']&&(_0x283cf=_0x283cf['filter'](_0x411939=>'document:write'!==_0x411939)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x283cf,this['_channelId']);}}),_0x24340b['register'](this['_channelId'],_0x426780);}['_initThrowingOnDataSet'](){const _0xe61a14=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x2c6ede)=>{if(!_0x2c6ede[_0x2c6ede['length']-0x1]['suppressErrorInCollaboration'])throw new _0x31c75c['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0xe61a14['apply'](this['editor']['data'],_0x2c6ede);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x404978,[_0x2b44c0])=>{if(this['_document']['version'])throw new _0x31c75c['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x404978['stop'](),this['_setPendingAction']();const _0x4385c1=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x1254da])=>!_0x1254da['lazyLoad'])['map'](([_0x9b77eb,_0x5c3df0])=>[_0x9b77eb,_0x5c3df0['modelAttributes']||{}])),_0x3795b3=this['_getOperationsFromInitData'](_0x2b44c0,_0x4385c1);0x0==_0x3795b3['length']&&_0x3795b3['push'](new _0x31c75c['NoOperation'](0x0)),_0x404978['return']=this['_connectService'](_0x3795b3)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x232463=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x232463))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x5a350d,[_0x288cb0,_0x4b4b44])=>{_0x5a350d['stop']();const _0x246fbd=this['editor']['model']['document']['getRoot'](_0x288cb0);if(!this['_knownRootNames']['has'](_0x288cb0)){const _0x225d5b=_0x4b4b44&&_0x4b4b44['data']?_0x4b4b44['data']:'',_0x5a4cd9=_0x4b4b44&&_0x4b4b44['attributes']?_0x4b4b44['attributes']:{};await this['_loadRoot'](_0x288cb0,_0x225d5b,_0x5a4cd9);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x246fbd['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x246fbd);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x5d5320){const _0x83f0c0=this['editor']['plugins']['get'](_0x1eec90),{connection:_0x4d875e}=this['editor']['plugins']['get'](WebSocketGateway),_0x4cc6ea=new Set();for(const _0x4038c3 of _0x5d5320){const _0x334d53=_0x4038c3['_authorId'];_0x334d53&&!_0x83f0c0['getUser'](_0x334d53)&&_0x4cc6ea['add'](_0x334d53);}if(0x0===_0x4cc6ea['size'])return;const _0x160390=await _0x49d5ab['getMany'](_0x4d875e,Array['from'](_0x4cc6ea));for(const _0x246fda of _0x160390)_0x83f0c0['getUser'](_0x246fda['id'])||_0x83f0c0['addUser'](_0x246fda);}['_getOperationsFromInitData'](_0x490e53,_0x2bde70={}){const _0x315b70=this['editor']['model'],_0x4bfce0=[];let _0x57ba02=0x0;const _0x43cc17='string'==typeof _0x490e53?{'main':_0x490e53}:_0x490e53;for(const _0x5a6172 of Object['keys'](_0x43cc17)){if(!this['_document']['roots']['has'](_0x5a6172))throw new _0x31c75c['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x30a85b=this['editor']['data']['parse'](_0x43cc17[_0x5a6172]),_0x12afd1=this['_document']['getRoot'](_0x5a6172),_0x444ef4=new _0x31c75c['InsertOperation'](_0x315b70['createPositionAt'](_0x12afd1,0x0),_0x30a85b,_0x57ba02++);_0x4bfce0['push'](_0x444ef4);for(const [_0x1e2df6,_0x21e18d]of _0x30a85b['markers']){const _0x4a84bf=_0x315b70['createRange'](_0x315b70['createPositionFromPath'](_0x12afd1,_0x21e18d['start']['path']['slice']()),_0x315b70['createPositionFromPath'](_0x12afd1,_0x21e18d['end']['path']['slice']())),_0x2c2a5a=new _0x31c75c['MarkerOperation'](_0x1e2df6,null,_0x4a84bf,_0x315b70['markers'],!0x0,_0x57ba02++);_0x4bfce0['push'](_0x2c2a5a);}}if(_0x2bde70)for(const [_0x2ba7f8,_0x26a671]of Object['entries'](_0x2bde70)){const _0xf38acb=_0x315b70['document']['getRoot'](_0x2ba7f8);if(!_0xf38acb)throw new _0x31c75c['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x22a40b,_0x575830]of Object['entries'](_0x26a671))if(null!==_0x575830){const _0x3c3dd7=new _0x31c75c['RootAttributeOperation'](_0xf38acb,_0x22a40b,null,_0x575830,_0x57ba02++);_0x4bfce0['push'](_0x3c3dd7);}}return _0x4bfce0;}async['_loadRoot'](_0x542961,_0x50d7de,_0x5715dd){this['_getOperationsFromInitData']({[_0x542961]:_0x50d7de},{[_0x542961]:_0x5715dd})['forEach']((_0x356878,_0x2e8405)=>{_0x356878['baseVersion']=this['_document']['version']+_0x2e8405,_0x356878['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x356878);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x154cb0,_0x46295e){let _0x335ce9;this['_offset']=_0x154cb0['offset'];const _0x5f5881=_0x154cb0['wereChangesApplied']&&!_0x154cb0['initData'],_0x410b69=_0x5f5881?0x0:_0x154cb0['data']['baseVersion'];if(_0x46295e['forEach'](_0x1296c9=>{_0x1296c9['_isInit']=!0x0,_0x1296c9['createdAt']=_0x154cb0['sessionCreatedAt'],_0x1296c9['_authorId']=null;}),_0x5f5881)_0x335ce9=_0x46295e,this['_applyOperationsSet'](_0x335ce9,_0x5f5881);else{if(_0x154cb0['initData']){const _0x3f58a6=this['_getOperationsFromInitData'](_0x154cb0['initData']);this['_document']['history']['version']=-_0x3f58a6['length'],_0x3f58a6['forEach'](_0x434186=>{_0x434186['baseVersion']-=_0x3f58a6['length'],_0x434186['createdAt']=_0x154cb0['sessionCreatedAt'],_0x434186['_isInit']=!0x0,_0x434186['_authorId']=null;}),this['_applyOperationsSet'](_0x3f58a6,!0x0),this['serverHistory']['version']=-_0x3f58a6['length']+this['_offset'],this['_updateServerHistory'](_0x3f58a6);}this['_document']['history']['version']=_0x410b69,_0x335ce9=this['_decompressOperations'](_0x154cb0['data'],_0x154cb0['metadata']),await this['_fetchMissingUsers'](_0x335ce9),this['_applyOperationsSet'](_0x335ce9,_0x5f5881);}_0x154cb0['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x335ce9,_0x154cb0['lastOperationId']),this['_lastSyncedOperationId']=_0x154cb0['lastOperationId']),this['serverHistory']['version']=_0x410b69+this['_offset'],this['_updateServerHistory'](_0x335ce9),_0x46295e['filter'](_0xe7ca23=>{const _0x44b4e7=this['_getAffectedRoot'](_0xe7ca23);return _0x44b4e7&&!this['_knownRootNames']['has'](_0x44b4e7);})['forEach']((_0x419bd8,_0x37bb64)=>{_0x419bd8['baseVersion']=this['_document']['version']+_0x37bb64,this['_saveOperationInBuffer'](_0x419bd8);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x24fbfd,_0x425ed8){const _0xf35da5=_0x425ed8&&_0x425ed8['message'];if(_0xf35da5&&_0xf35da5['startsWith']('realtimecollaborationclient'))throw _0x425ed8;const _0xa5fbdb=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0xa5fbdb['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x31c75c['CKEditorError'](_0x24fbfd,this['editor'],_0xf35da5?{'originalError':_0xf35da5}:void 0x0);}['_saveOperationInBuffer'](_0x30223d){this['_knownOperations']['has'](_0x30223d)||(this['_knownOperations']['add'](_0x30223d),this['_bufferedOperations']['push'](_0x30223d),this['_pendingAction']||'marker'==_0x30223d['type']&&!_0x30223d['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x1454fb=!0x1){!_0x1454fb&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x2fd8ad=>{_0x2fd8ad&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x33bb05=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x31978a){return _0x31978a['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x31978a['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x31978a['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x33bb05)||this['_crash'](_0x33bb05['message'],_0x33bb05);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x24fedf=>{this['on']('change:_isPendingUpdate',()=>{_0x24fedf();});});}async['_sendBufferedOperations'](){const _0x597fe0=this['editor']['plugins']['get'](_0x196810);if(this['_shouldSendSelectionUpdate']()&&(_0x597fe0['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x56a291=[...this['_bufferedOperations']];for(const _0x2ffc56 of _0x56a291)_0x2ffc56['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x2ffc56);const _0x28d5db=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x56a291),_0x187e92=_0xad842++,_0x3e77e7=this['_compressOperations'](_0x56a291),_0x13e2c3=await this['_service']['sendOperations'](_0x3e77e7,_0x3e77e7['baseVersion'],_0x28d5db);try{return await this['_handleServerResponse'](_0x56a291,_0x13e2c3,_0x187e92);}catch(_0x1fef7f){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x1fef7f);}}async['_handleServerResponse'](_0x224f47,_0x4d4167,_0x1a22ad){if('error'in _0x4d4167)throw _0x4d4167['error'];let _0x38e14a=!0x1;if(_0x4d4167['wereChangesApplied']){_0x4d4167['lastOperationId']&&(this['_lastSyncedOperationId']=_0x4d4167['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x3c426a=>!_0x224f47['includes'](_0x3c426a));for(const _0x1f8809 of _0x224f47)_0x1f8809['createdAt']='lastOperationAcceptedAt'in _0x4d4167&&_0x4d4167['lastOperationAcceptedAt']||void 0x0;_0x34c2c3(_0x224f47,_0x4d4167['version']-_0x224f47['length']),this['_updateServerHistory'](_0x224f47);const _0x4eb093=_0x224f47['filter'](_0x217ffe=>{if(!_0x217ffe['_isInit'])return!0x1;const _0x5568cd=this['_getAffectedRoot'](_0x217ffe);return _0x5568cd&&!this['_knownRootNames']['has'](_0x5568cd);});_0x34c2c3(_0x4eb093,this['_document']['version']),this['_applyOperationsSet'](_0x4eb093),_0x38e14a=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x2dd143=this['_decompressOperations'](_0x4d4167['data'],_0x4d4167['metadata'])['filter'](_0x256519=>_0x256519['baseVersion']>=this['_lastServerVersion']);_0x2dd143['forEach'](_0xc5e9ed=>this['_addKnownRoot'](_0xc5e9ed)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x1d5f21=>!_0x1d5f21['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x1d5f21))),this['_bufferedOperations']['length']&&_0x34c2c3(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x2dd143),_0x38e14a=this['_handleExternalOperations'](_0x2dd143,_0x4d4167['version'],_0x4d4167['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x38e14a?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x1289b1,_0x4528a6,_0x283d19){try{const _0x15b03f={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c77f1,operationsB:_0x10707a,originalOperations:_0x3c5944}=_0x31c75c['transformOperationSets'](_0x1289b1,this['_bufferedOperations'],_0x15b03f);_0x34c2c3(_0x1c77f1,this['_document']['version']),_0x34c2c3(_0x10707a,_0x4528a6);for(const _0x4c358f of _0x1c77f1){const _0x250c66=_0x3c5944['get'](_0x4c358f);_0x4c358f['_authorId']=_0x250c66?_0x250c66['_authorId']:null;}_0x283d19&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x1289b1,_0x283d19),this['_lastSyncedOperationId']=_0x283d19),this['_bufferedOperations']=[..._0x10707a],this['_applyOperationsSet'](_0x1c77f1),this['_updateServerHistory'](_0x1289b1);}catch(_0x28af8a){return console['error'](_0x28af8a),!0x1;}return!0x0;}['_applyOperationsSet'](_0x92ed13,_0x27953a=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x9174a0=>{for(const _0xd2e94 of _0x92ed13)this['_knownOperations']['add'](_0xd2e94),this['_addKnownRoot'](_0xd2e94),_0x9174a0['batch']['addOperation'](_0xd2e94),this['editor']['model']['applyOperation'](_0xd2e94);});}['_addKnownRoot'](_0x205ff1){const _0x52df41=this['_getAffectedRoot'](_0x205ff1);_0x52df41&&this['_knownRootNames']['add'](_0x52df41);}['_getAffectedRoot'](_0x5889cc){let _0x40da27,_0x15ebb2;switch(_0x5889cc['type']){case'insert':_0x40da27=_0x5889cc['position']['root'];break;case'marker':if(_0x15ebb2=_0x5889cc['newRange'],!_0x15ebb2)return null;_0x40da27=_0x15ebb2['root'];break;case'addRootAttribute':_0x40da27=_0x5889cc['root'];break;case'addRoot':_0x40da27=_0x5889cc['affectedSelectable'];break;case'move':_0x40da27=_0x5889cc['targetPosition']['root'];break;default:return null;}return _0x40da27['rootName'];}['_updateServerHistory'](_0x2632c1){_0x2632c1['forEach'](_0x33371a=>{const _0x1d9116=_0x33371a['clone']();_0x1d9116['_authorId']=_0x33371a['_authorId'],_0x1d9116['_isInit']=!!_0x33371a['_isInit'],_0x1d9116['createdAt']=_0x33371a['createdAt'],_0x1d9116['baseVersion']+=this['_offset'],_0x33371a['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x1d9116),this['serverHistory']['addOperation'](_0x1d9116);});}['_handleReconnectionError'](_0x49bee9){const _0x12dcf2=this['editor']['plugins']['get']('Notification'),_0x14b5ad=this['editor']['locale'];_0x49bee9||(_0x49bee9=_0x289de6(_0x14b5ad,'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.')),_0x12dcf2['showWarning'](_0x49bee9,{'title':_0x289de6(_0x14b5ad,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](WebSocketGateway)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](_0x31c75c['PendingActions'])['add'](_0x289de6(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x31c75c['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x234be7){const _0x5a62d3=_0x234be7['map'](_0x226f83=>_0x226f83['toJSON']());return this['_compressor']['compress'](_0x5a62d3);}['_decompressOperations'](_0x5cb011,_0x445d9e){return this['_compressor']['decompress'](_0x5cb011)['map']((_0x183056,_0x731509)=>{const _0x245997='init'==_0x445d9e[_0x731509]['type'];if('InsertOperation'==_0x183056['__className']){const _0x305498=_0x183056['position']['root'];!this['_document']['getRoot'](_0x305498)&&(this['_document']['createRoot']('$root',_0x305498)['_isAttached']=!0x1);}const _0x3cf487=_0x31c75c['OperationFactory']['fromJSON'](_0x183056,this['_document']);return _0x3cf487['wasUndone']=_0x183056['wasUndone'],_0x3cf487['_isInit']=_0x245997,_0x3cf487['_authorId']=_0x245997?null:_0x445d9e[_0x731509]['userId'],_0x3cf487['_isDisconnection']='cs:removeUser'===_0x445d9e[_0x731509]['type'],_0x3cf487['createdAt']=_0x445d9e[_0x731509]['createdAt'],_0x3cf487;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x50a63d=this['editor']['plugins']['get'](_0xcad824)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x50a63d&&_0x50a63d['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function _0x34c2c3(_0x357a23,_0x5edaaa){for(const _0x3330ff of _0x357a23)_0x3330ff['baseVersion']=_0x5edaaa++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x310713){this['_ignoredOperations']=_0x310713,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x49aa76){let _0x4dc883=_0x49aa76['length'];for(;_0x4dc883--;){const _0x4b68c5=_0x49aa76[_0x4dc883];if(!this['_ignoredOperations']['has'](_0x4b68c5)){if(!this['_operationToId']['has'](_0x4b68c5)){const _0x3aa9b0=_0x31c75c['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x4b68c5,_0x3aa9b0);}return this['_operationToId']['get'](_0x4b68c5);}}}['setIdForTheLastOperation'](_0x2e2172,_0x244a83){if(!_0x244a83)return;let _0x41f571=_0x2e2172['length'];for(;_0x41f571--;){const _0x6a5681=_0x2e2172[_0x41f571];this['_ignoredOperations']['has'](_0x6a5681)||this['_operationToId']['set'](_0x6a5681,_0x244a83);}}}class RealTimeCollaborativeEditing extends _0x31c75c['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x146a07 extends _0x31c75c['Command']{['_enabledCommands'];constructor(_0x260d68,_0x2bead5){super(_0x260d68),this['_enabledCommands']=_0x2bead5,this['value']=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x2b1ccf of this['editor']['commands']['commands']())_0x2b1ccf['affectsData']&&!this['_enabledCommands']['has'](_0x2b1ccf)&&_0x2b1ccf['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x52d2dc of this['editor']['commands']['commands']())_0x52d2dc['affectsData']&&!this['_enabledCommands']['has'](_0x52d2dc)&&_0x52d2dc['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x31c75c['Command']{['_suggestions'];constructor(_0x4969eb,_0x3de96f){super(_0x4969eb),this['_suggestions']=_0x3de96f,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x29a1da){const _0x46f834=this['_suggestions']['get'](_0x29a1da);if(!_0x46f834)throw new _0x31c75c['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x3f1a45=_0x46f834['getRanges']();this['editor']['model']['canEditAt'](_0x3f1a45)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x46f834);}}class DiscardSuggestionCommand extends _0x31c75c['Command']{['_suggestions'];constructor(_0x91e555,_0x793d0a){super(_0x91e555),this['_suggestions']=_0x793d0a,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x4c995e){const _0x1c30f1=this['_suggestions']['get'](_0x4c995e);if(!_0x1c30f1)throw new _0x31c75c['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x27bf8d=_0x1c30f1['getRanges']();this['editor']['model']['canEditAt'](_0x27bf8d)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x1c30f1);}}function _0xf03eea(_0x4f9021,_0x37b486){let _0x4b3637='';return _0x4b3637+=_0x4f9021['split']('*')['map']((_0x4082e6,_0xfa287)=>_0xfa287%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+_0x5327c9(_0x4082e6)+'</span>':_0x5327c9(_0x4082e6))['join'](''),_0x37b486&&(_0x4b3637+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x37b486['value']+'\x22\x20title=\x22'+_0x37b486['title']+'\x22></span>'),_0x4b3637;}function _0x5327c9(_0xaa13be){const _0x1184f0=document['createElement']('span');return _0x1184f0['innerText']=_0xaa13be,_0x1184f0['innerHTML'];}function _0x4f73ea(_0x98be46){return _0x98be46['sort']((_0xc3055c,_0x159516)=>'attribute'===_0xc3055c['type']&&'attribute'!==_0x159516['type']?-0x1:'attribute'!==_0xc3055c['type']&&'attribute'===_0x159516['type']?0x1:'deletion'==_0xc3055c['type']&&'deletion'!=_0x159516['type']?-0x1:'deletion'!=_0xc3055c['type']&&'deletion'==_0x159516['type']?0x1:0x0);}function _0x82f448(_0x37c6b8,_0xca266a){let _0x33397b,_0x46c792=0x0;const _0x5d0127=[],_0x5e3658=_0xca266a['schema'];for(;_0x46c792<_0x37c6b8['length'];){const _0x4dc75e=_0x37c6b8[_0x46c792],_0xa611bf=_0x37c6b8[_0x46c792+0x1];_0x33397b||(_0x33397b=_0xca266a['createPositionBefore'](_0x4dc75e)),_0x20cbc2(_0xca266a,_0x4dc75e,_0xa611bf)||(_0x5d0127['push'](_0xca266a['createRange'](_0x33397b,_0x5e3658['isObject'](_0x4dc75e)?_0xca266a['createPositionAfter'](_0x4dc75e):_0xca266a['createPositionAt'](_0x4dc75e,'end'))),_0x33397b=null),_0x46c792++;}return _0x5d0127;}function _0x20cbc2(_0xe74b45,_0x23bc14,_0x5536da){if(!_0x5536da)return!0x1;const _0x1eeaa1=_0xe74b45['createPositionAfter'](_0x23bc14),_0x14c6f7=_0xe74b45['createPositionBefore'](_0x5536da);return _0x1eeaa1['isTouching'](_0x14c6f7);}function _0x585c51(_0x5dfb59,_0x5c1a5d,_0x40a34d){for(;_0x40a34d['length'];){const _0x538929=_0x40a34d['splice'](0x0,0x64);_0x5dfb59['change'](()=>{for(const _0x47b8eb of _0x538929)_0x47b8eb['isInContent']&&_0x5c1a5d['execute'](_0x47b8eb['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x31c75c['Command']{['_command'];['_suggestions'];constructor(_0x2f7b10,_0x4ac4ee,_0x58da71){super(_0x2f7b10),this['_command']=_0x4ac4ee,this['_suggestions']=_0x58da71,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x293541=Array['from'](this['_suggestions']['values']())['some'](_0x2cea91=>_0x2cea91['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x293541;}['execute'](){const _0x5ad86f=_0x4f73ea(Array['from'](this['_suggestions']['values']()));for(const _0x27fea1 of _0x5ad86f){const _0x5c787d=_0x27fea1['getRanges']();if(!this['editor']['model']['canEditAt'](_0x5c787d))return;}_0x585c51(this['editor']['model'],this['_command'],_0x5ad86f);}}class ExecuteOnSelectedSuggestionsCommand extends _0x31c75c['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x1ed41a,_0x360f22,_0x520fb0){super(_0x1ed41a),this['_command']=_0x360f22,this['_suggestions']=_0x520fb0,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x4fd576=this['editor']['model']['document']['selection'],_0x48afca=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x3fa997,_0x333fa7){const _0x57e1e9=Array['from'](_0x3fa997['getRanges']()),_0x16a282=new Set();for(const _0x9a9167 of _0x333fa7)if(_0x9a9167['isInContent']){for(const _0x395638 of _0x57e1e9)for(const _0x4ec1d7 of _0x9a9167['getRanges']())(_0x395638['isIntersecting'](_0x4ec1d7)||_0x3fa997['isCollapsed']&&!_0x9a9167['isMultiRange']&&_0x9a9167['next']&&_0x4ec1d7['end']['isTouching'](_0x395638['start']))&&_0x16a282['add'](_0x9a9167);}return _0x16a282;}(_0x4fd576,_0x48afca),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x76501=_0x4f73ea(Array['from'](this['_selectedSuggestions']));for(const _0x3c0d60 of _0x76501){const _0x15247c=_0x3c0d60['getRanges']();if(!this['editor']['model']['canEditAt'](_0x15247c))return;}_0x585c51(this['editor']['model'],this['_command'],_0x76501);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x565093,_0x13a269){super(),this['id']=_0x13a269['id'],this['type']=_0x13a269['type'],this['subType']=_0x13a269['subType']||null,this['author']=_0x13a269['author'],this['creator']=_0x13a269['creator']||_0x13a269['author'],this['isExternal']=Boolean(_0x13a269['attributes']&&_0x13a269['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x13a269['originalSuggestionId']||null,this['_model']=_0x565093,this['_onAccept']=_0x13a269['onAccept'],this['_onDiscard']=_0x13a269['onDiscard'],this['_onAttributesChange']=_0x13a269['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x13a269['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['head'](){let _0x32280d=this;for(;_0x32280d['previous'];)_0x32280d=_0x32280d['previous'];return _0x32280d;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x1bcccb){this['_markerNames']['add'](_0x1bcccb);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0xe53d4e=>this['_model']['markers']['get'](_0xe53d4e))['filter'](_0x2305f8=>_0x2305f8);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x59c809=>{for(const _0x20f1e3 of this['getMarkers']())_0x59c809['removeMarker'](_0x20f1e3);}),this['_markerNames']['clear']();}['removeMarker'](_0x475d71){this['_model']['change'](_0xd7c5d7=>{_0xd7c5d7['removeMarker'](_0x475d71);}),this['_markerNames']['delete'](_0x475d71);}['addRange'](_0x1143cb){const _0x337314='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x337314),this['_model']['change'](_0x383e7a=>{_0x383e7a['addMarker'](_0x337314,{'range':_0x1143cb,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x4083f0){for(const _0x3f450c of this['getRanges']())if(_0x3f450c['isIntersecting'](_0x4083f0))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x1bbab6=>_0x1bbab6['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x593138,_0x1d3b00)=>[..._0x593138,..._0x1d3b00['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x37173a=this['getRanges']();if(0x1!=_0x37173a['length'])return null;const _0x54d73b=_0x37173a[0x0],_0x25b0a2=_0x54d73b['start']['nodeAfter'],_0x216504=_0x54d73b['end']['nodeBefore'];return _0x25b0a2 instanceof _0x31c75c['ModelElement']?_0x25b0a2!=_0x216504?null:_0x25b0a2:null;}['accept'](){this['_onAccept'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['discard'](){this['_onDiscard'](this['getRanges'](),this['data'],this['attributes']),this['removeMarkers']();}['getAllAdjacentSuggestions'](){const _0x459445=[];let _0x513e69=this['head'];for(;_0x513e69;)_0x459445['push'](_0x513e69),_0x513e69=_0x513e69['next'];return _0x459445;}['setAttribute'](_0x223aef,_0x39d8bd){const _0x50ed44=_0xeda1dc(this['attributes']);ct(_0x50ed44,_0x223aef,_0x39d8bd),pt(_0x50ed44,this['attributes'])||(this['attributes']=_0x50ed44,this['_onAttributesChange'](_0x50ed44));}['removeAttribute'](_0x49a2b4){const _0x409de0=_0xeda1dc(this['attributes']);nt(_0x409de0,_0x49a2b4),pt(_0x409de0,this['attributes'])||(this['attributes']=_0x409de0,this['_onAttributesChange'](this['attributes']));}['toJSON'](){return{'id':this['id'],'type':this['subType']?this['type']+':'+this['subType']:this['type'],'authorId':this['creator']['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this['data'],'attributes':this['attributes']};}static['getMultiRangeId'](){return _0x31c75c['uid']()['substr'](0x1,0x5);}}function _0x2ede81(_0x5958a2,_0xe798c0,_0x5ab258){const _0x2e5435=_0x5958a2['t'],t=_0x5958a2['t'];switch(_0xe798c0){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5ab258);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5ab258);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5ab258);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5ab258);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5ab258);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x5ab258);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5ab258);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5ab258);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5ab258);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5ab258);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5ab258);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5ab258);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5ab258);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5ab258);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5ab258);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5ab258);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5ab258);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5ab258);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5ab258);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5ab258);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5ab258);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5ab258);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5ab258);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5ab258);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5ab258);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x5ab258);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5ab258);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5ab258);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5ab258);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5ab258);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5ab258);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5ab258);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5ab258);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x5ab258);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5ab258);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5ab258);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5ab258);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5ab258);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5ab258);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5ab258);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x5ab258);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5ab258);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5ab258);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x5ab258);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5ab258);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x5ab258);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5ab258);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x5ab258);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x5ab258);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x5ab258);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5ab258);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x5ab258);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5ab258);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x2e5435({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5ab258);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2e5435({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5ab258);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5ab258);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x5ab258);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x5ab258);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x5ab258);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xe798c0;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x5e5e60,_0x301df5){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x5e5e60,this['_locale']=_0x301df5;}['getDescriptions'](_0x563c45){const _0x3bc555=[],_0x424653=new Set(),_0x154de7=new Set();for(let _0x21e4e2=0x0;_0x21e4e2<_0x563c45['length'];_0x21e4e2++){const _0x2f97eb=_0x563c45[_0x21e4e2];if(!_0x2f97eb['isInContent'])continue;const _0x7504ac=this['_handleCustomCallbackDescription'](_0x2f97eb);if(_0x7504ac){if(null!=_0x2f97eb['subType']){if(_0x424653['has'](_0x2f97eb['subType']))continue;_0x424653['add'](_0x2f97eb['subType']);}_0x3bc555['push'](_0x7504ac);}else{if('attribute'==_0x2f97eb['type']){const _0x307bf8=_0x2f97eb['data']['key'];if(_0x154de7['has'](_0x307bf8))continue;_0x154de7['add'](_0x2f97eb['data']['key']),_0x307bf8==_0x899db4?this['_handleRenameSuggestionDescription'](_0x3bc555,_0x2f97eb):this['_handleAttributeSuggestionDescription'](_0x3bc555,_0x2f97eb);continue;}'insertion'!=_0x2f97eb['type']&&'deletion'!=_0x2f97eb['type']||this['_handleInsertRemoveSuggestionDescription'](_0x3bc555,_0x2f97eb,_0x563c45[_0x21e4e2+0x1]);}}return this['_resolveDescriptionItems'](_0x3bc555);}['registerDescriptionCallback'](_0x5cf315){this['_customCallbacks']['push'](_0x5cf315);}['registerElementLabel'](_0x6c4d90,_0x3b5ecf,_0x11c96b=_0x31c75c['priorities']['normal']){'function'==typeof _0x6c4d90?_0x31c75c['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x6c4d90,'label':_0x3b5ecf,'priority':_0x11c96b}):this['_itemLabels']['set'](_0x6c4d90,_0x3b5ecf);}['registerAttributeLabel'](_0x3ee359,_0x46e119){this['_attributeLabels']['set'](_0x3ee359,_0x46e119);}['getItemLabel'](_0x1b116c,_0x2d4957=0x1){let _0x5bd946;for(const _0x2c025d of this['_itemLabelsCallbacks'])if(_0x2c025d['matchingCallback'](_0x1b116c)){_0x5bd946=_0x2c025d['label'];break;}return _0x5bd946||(_0x5bd946=this['_itemLabels']['get'](_0x1b116c['name'])),_0x5bd946?_0x5bd946(_0x2d4957):0x1!==_0x2d4957?_0x2d4957+'\x20'+_0x1b116c['name']+'s':''+_0x1b116c['name'];}['_addDescriptionItems'](_0x2268c9,_0x147608){const _0x451d35=_0x147608['getFirstRange']()['getWalker'](),_0x1fe1e0='insertion'==_0x147608['type']?'add':'remove';for(const _0x1370c5 of _0x451d35){const _0x1a7da4=_0x1370c5['item'],_0x2f1559=_0x2268c9[_0x2268c9['length']-0x1];if(_0x1a7da4['is']('$textProxy'))_0x2f1559&&_0x2f1559['type']['indexOf']('Container')>-0x1&&_0x2268c9['pop'](),_0x2f1559&&'text'==_0x2f1559['type']?_0x2f1559[_0x1fe1e0]+=_0x1a7da4['data']:_0x2268c9['push']({'type':'text','add':'add'==_0x1fe1e0?_0x1a7da4['data']:'','remove':'remove'==_0x1fe1e0?_0x1a7da4['data']:''});else{if(this['_schema']['isObject'](_0x1a7da4)){const _0x186223=_0x1a7da4;if(_0x2f1559&&_0x2f1559['type']['indexOf']('Container')>-0x1&&_0x2268c9['pop'](),'elementEnd'==_0x1370c5['type'])continue;_0x2f1559&&_0x2f1559['type']==_0x1fe1e0+'Object'&&_0x2f1559['element']['name']==_0x186223['name']?_0x2f1559['quantity']++:_0x2268c9['push']({'type':_0x1fe1e0+'Object','element':_0x186223,'quantity':0x1}),_0x451d35['skip'](_0x3ae93f=>!('elementEnd'==_0x3ae93f['type']&&_0x3ae93f['item']==_0x1a7da4));}else{if(this['_schema']['checkChild'](_0x1a7da4,'$text')||_0x1a7da4['is']('element','softBreak')){const _0x1b46dc=_0x1a7da4;if('add'==_0x1fe1e0&&'elementStart'==_0x1370c5['type']||'remove'==_0x1fe1e0&&'elementEnd'==_0x1370c5['type'])continue;if(_0x2f1559&&-0x1==_0x2f1559['type']['indexOf']('Container')){'text'==_0x2f1559['type']&&(_0x2f1559[_0x1fe1e0]+='\x0a');continue;}let _0x3ff97b;if(_0x3ff97b='add'==_0x1fe1e0?_0x1b46dc['nextSibling']&&!this['_schema']['isObject'](_0x1b46dc['nextSibling'])?_0x1b46dc['nextSibling']:null:_0x1b46dc['previousSibling']&&!this['_schema']['isObject'](_0x1b46dc['previousSibling'])?_0x1b46dc['previousSibling']:null,_0x1b46dc['isEmpty']||_0x3ff97b&&_0x3ff97b['isEmpty']){const _0xc5d80f=_0x3ff97b&&_0x3ff97b['isEmpty']?_0x3ff97b:_0x1b46dc;_0x2f1559&&_0x2f1559['type']==_0x1fe1e0+'EmptyContainer'&&_0x2f1559['element']['name']==_0xc5d80f['name']?_0x2f1559['quantity']++:_0x2268c9['push']({'type':_0x1fe1e0+'EmptyContainer','element':_0xc5d80f,'quantity':0x1});}else _0x2268c9['push']({'type':_0x1fe1e0+'Container','element':_0x1b46dc});}}}}}['_resolveDescriptionItems'](_0x55380c){const _0xc94ad5=this['_locale'],_0x252a65=[],_0x2df2fe=[],_0x25a7d9=[];for(const _0x1b3bc4 of _0x55380c)switch(_0x1b3bc4['type']){case'text':if(_0x1b3bc4['add']=_0x1b3bc4['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x1b3bc4['remove']=_0x1b3bc4['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x1b3bc4['add']&&''!=_0x1b3bc4['remove']){_0x252a65['push']({'type':'replace','content':_0x2ede81(_0xc94ad5,'REPLACE_TEXT',['\x22'+_0x1b3bc4['remove']+'\x22','\x22'+_0x1b3bc4['add']+'\x22'])});continue;}if(null!=_0x1b3bc4['add']['match'](/^ +$/)){_0x252a65['push']({'type':'insertion','content':_0x2ede81(_0xc94ad5,'*Insert:*\x20%0',_0x2ede81(_0xc94ad5,'ELEMENT_SPACE',_0x1b3bc4['add']['length']))});continue;}if(null!=_0x1b3bc4['remove']['match'](/^ +$/)){_0x252a65['push']({'type':'deletion','content':_0x2ede81(_0xc94ad5,'*Remove:*\x20%0',_0x2ede81(_0xc94ad5,'ELEMENT_SPACE',_0x1b3bc4['remove']['length']))});continue;}if(''!=_0x1b3bc4['add']){_0x252a65['push']({'type':'insertion','content':_0x2ede81(_0xc94ad5,'*Insert:*\x20%0','\x22'+_0x1b3bc4['add']+'\x22')});continue;}_0x252a65['push']({'type':'deletion','content':_0x2ede81(_0xc94ad5,'*Remove:*\x20%0','\x22'+_0x1b3bc4['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x252a65['push']({'type':'insertion','content':_0x2ede81(_0xc94ad5,'*Insert:*\x20%0',this['getItemLabel'](_0x1b3bc4['element'],_0x1b3bc4['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x252a65['push']({'type':'deletion','content':_0x2ede81(_0xc94ad5,'*Remove:*\x20%0',this['getItemLabel'](_0x1b3bc4['element'],_0x1b3bc4['quantity']))});continue;case'addContainer':_0x252a65['push']({'type':'insertion','content':_0x2ede81(_0xc94ad5,'*Split:*\x20%0',this['getItemLabel'](_0x1b3bc4['element'],_0x1b3bc4['quantity']))});continue;case'removeContainer':_0x252a65['push']({'type':'deletion','content':_0x2ede81(_0xc94ad5,'*Merge:*\x20%0',this['getItemLabel'](_0x1b3bc4['element'],_0x1b3bc4['quantity']))});continue;case'addFormat':_0x2df2fe['push'](_0x1b3bc4['key']);continue;case'removeFormat':_0x25a7d9['push'](_0x1b3bc4['key']);continue;default:_0x252a65['push'](_0x1b3bc4);}if(_0x2df2fe['length']){const _0x36b4fd=_0x2df2fe['map'](_0x13c1d4=>this['_attributeLabels']['has'](_0x13c1d4)?this['_attributeLabels']['get'](_0x13c1d4):_0x13c1d4)['join'](',\x20');_0x252a65['push']({'type':'format','content':_0x2ede81(this['_locale'],'*Set\x20format:*\x20%0',_0x36b4fd)});}if(_0x25a7d9['length']){const _0x57ad32=_0x25a7d9['map'](_0x105430=>this['_attributeLabels']['has'](_0x105430)?this['_attributeLabels']['get'](_0x105430):_0x105430)['join'](',\x20');_0x252a65['push']({'type':'format','content':_0x2ede81(this['_locale'],'*Remove\x20format:*\x20%0',_0x57ad32)});}return _0x252a65;}['_handleCustomCallbackDescription'](_0x4e3c92){for(const _0x2d1474 of this['_customCallbacks']){const _0x5893a6=_0x2d1474(_0x4e3c92);if(_0x5893a6&&'type'in _0x5893a6)return _0x5893a6;}}['_handleAttributeSuggestionDescription'](_0x3f2e22,_0x1d42b8){const _0x154f6b=_0x1d42b8['data'],_0x5ab622=void 0x0===_0x154f6b['newValue']?'removeFormat':'addFormat';_0x3f2e22['push']({'type':_0x5ab622,'key':_0x154f6b['key']});}['_handleRenameSuggestionDescription'](_0x266c22,_0x1668cc){_0x266c22['push']({'type':'format','content':_0x2ede81(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x1668cc['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x268907,_0x3532c3,_0x5c8e04){if(this['_addDescriptionItems'](_0x268907,_0x3532c3),_0x5c8e04&&_0x5c8e04['getFirstRange']()&&!_0x3532c3['getFirstRange']()['end']['isEqual'](_0x5c8e04['getFirstRange']()['start'])){const _0x59df9a=_0x268907[_0x268907['length']-0x1],_0x5a15e1='insertion'==_0x3532c3['type']?'add':'remove';_0x59df9a&&'text'==_0x59df9a['type']&&(_0x59df9a[_0x5a15e1]+='\x0a');}}}class TrackChangesAIAssistant extends _0x31c75c['Plugin']{['afterInit'](){const _0x335432=this['editor'],_0x3525e4=_0x335432['plugins']['get']('TrackChangesEditing');_0x335432['commands']['get']('showAIAssistant')&&_0x3525e4['enableCommand']('showAIAssistant');}}class _0x1a8825 extends _0x31c75c['Plugin']{['afterInit'](){const _0x3eef70=this['editor'],_0xf5643e=_0x3eef70['plugins']['get']('TrackChangesEditing');_0x3eef70['commands']['get']('toggleAi')&&_0xf5643e['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x31c75c['Plugin']{['afterInit'](){const _0x4efc0e=this['editor'],_0x449fa4=_0x4efc0e['plugins']['get']('TrackChangesEditing');_0x4efc0e['commands']['get']('aiQuickAction')&&_0x449fa4['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x31c75c['Plugin']{['afterInit'](){const _0x3f2473=this['editor'],_0x576e31=_0x3f2473['locale'];if(!_0x3f2473['plugins']['has']('AlignmentEditing'))return;const _0x5bef72=_0x3f2473['plugins']['get']('TrackChangesEditing');_0x5bef72['enableDefaultAttributesIntegration']('alignment'),_0x5bef72['descriptionFactory']['registerAttributeLabel']('alignment',_0x2ede81(_0x576e31,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x299c05=this['editor'],_0x4d2e8f=_0x299c05['locale'];_0x299c05['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x431f41=>{if('formatBlock'!=_0x431f41['type'])return;const {data:_0x573327}=_0x431f41;if(_0x573327&&'alignment'==_0x573327['commandName']){const _0x15e92a=_0x573327['commandParams'][0x0]['value'];return{'type':'format','content':_0x2ede81(_0x4d2e8f,'*Format:*\x20%0',function(_0x4dd8ba){switch(_0x4dd8ba){case'left':return _0x2ede81(_0x4d2e8f,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x2ede81(_0x4d2e8f,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x2ede81(_0x4d2e8f,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x2ede81(_0x4d2e8f,'FORMAT_JUSTIFY_TEXT');}}(_0x15e92a))};}});}}const _0x30a452=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x31c75c['Plugin']{['afterInit'](){const _0x3ec6ce=this['editor'],_0x2701f6=_0x3ec6ce['plugins']['get']('TrackChangesEditing'),_0x500fff=_0x3ec6ce['locale'];for(const _0x36c926 of _0x30a452){if(!_0x3ec6ce['plugins']['has'](_0x36c926))continue;const _0x2dab38=_0x36c926['slice'](0x0,-0x7)['toLowerCase'](),_0x15f7eb='FORMAT_'+_0x2dab38['toUpperCase']();_0x2701f6['enableDefaultAttributesIntegration'](_0x2dab38),_0x2701f6['descriptionFactory']['registerAttributeLabel'](_0x2dab38,_0x2ede81(_0x500fff,_0x15f7eb));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x377ef6=this['editor'],_0x247f79=_0x377ef6['locale'],_0x368530=_0x377ef6['plugins']['get']('TrackChangesEditing');function _0x2b9a3f(_0x52d9a7,_0x247eae){_0x368530['descriptionFactory']['registerDescriptionCallback'](_0x7dca21=>{if('formatInline'!=_0x7dca21['type'])return;const {data:_0x357f6e}=_0x7dca21;return _0x357f6e&&_0x357f6e['commandName']===_0x52d9a7?_0x357f6e['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x247f79,'*Format:*\x20%0',_0x247eae)}:{'type':'format','content':_0x2ede81(_0x247f79,'*Remove\x20format:*\x20%0',_0x247eae)}:void 0x0;});}_0x2b9a3f('bold',_0x2ede81(_0x247f79,'FORMAT_BOLD')),_0x2b9a3f('italic',_0x2ede81(_0x247f79,'FORMAT_ITALIC')),_0x2b9a3f('underline',_0x2ede81(_0x247f79,'FORMAT_UNDERLINE')),_0x2b9a3f('code',_0x2ede81(_0x247f79,'FORMAT_CODE')),_0x2b9a3f('strikethrough',_0x2ede81(_0x247f79,'FORMAT_STRIKETHROUGH')),_0x2b9a3f('subscript',_0x2ede81(_0x247f79,'FORMAT_SUBSCRIPT')),_0x2b9a3f('superscript',_0x2ede81(_0x247f79,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x31c75c['Plugin']{['afterInit'](){const _0x43a47e=this['editor'],_0x21ebda=_0x43a47e['locale'];if(!_0x43a47e['plugins']['has']('BlockQuoteEditing'))return;const _0x1fc668=_0x43a47e['plugins']['get']('TrackChangesEditing'),_0x18ec1d=this['editor']['commands']['get']('blockQuote');_0x1fc668['enableCommand']('blockQuote',(_0x28101e,_0x25c7ff={})=>{const _0x89cd78=this['editor']['model']['document']['selection'],_0x3c6756=_0x25c7ff&&void 0x0!==_0x25c7ff['forceValue']?_0x25c7ff['forceValue']:!_0x18ec1d['value'];let _0xc5d3b0=[];if(_0x3c6756){const _0x19a250=Array['from'](_0x89cd78['getSelectedBlocks']())['filter'](_0x1457d7=>_0x24685b(_0x1457d7)||function(_0x2e6e36,_0x315c54){const _0x28a24a=_0x315c54['checkChild'](_0x2e6e36['parent'],'blockQuote'),_0x3d8b29=_0x315c54['checkChild'](['$root','blockQuote'],_0x2e6e36);return _0x28a24a&&_0x3d8b29;}(_0x1457d7,this['editor']['model']['schema']));_0xc5d3b0=_0x82f448(_0x19a250,_0x43a47e['model']);}else{const _0x3299dd=Array['from'](_0x89cd78['getSelectedBlocks']())['filter'](_0x3ba93d=>_0x24685b(_0x3ba93d));_0xc5d3b0=_0x82f448(_0x3299dd,_0x43a47e['model']);}_0x43a47e['model']['change'](()=>{for(const _0x509a67 of _0xc5d3b0)_0x1fc668['markBlockFormat'](_0x509a67,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x3c6756}]});});}),_0x1fc668['descriptionFactory']['registerDescriptionCallback'](_0x3a1cac=>{const {data:_0x2a61ad}=_0x3a1cac;if(_0x2a61ad&&'blockQuote'==_0x2a61ad['commandName']){const _0x2022cb=_0x2ede81(_0x21ebda,'ELEMENT_BLOCK_QUOTE');return _0x2a61ad['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x21ebda,'*Set\x20format:*\x20%0',_0x2022cb)}:{'type':'format','content':_0x2ede81(_0x21ebda,'*Remove\x20format:*\x20%0',_0x2022cb)};}});}}function _0x24685b(_0x257620){return'blockQuote'==_0x257620['parent']['name'];}class _0x291f76 extends _0x31c75c['Plugin']{['afterInit'](){const _0x3f2313=this['editor'],_0x49097e=_0x3f2313['locale'],_0x52c73b=_0x3f2313['plugins']['get']('TrackChangesEditing');_0x3f2313['plugins']['has']('BookmarkEditing')&&(_0x52c73b['enableCommand']('insertBookmark'),_0x52c73b['enableDefaultAttributesIntegration']('updateBookmark'),_0x52c73b['descriptionFactory']['registerDescriptionCallback'](_0x38f717=>{if('insertion'!=_0x38f717['type']&&'deletion'!=_0x38f717['type']&&'attribute'!=_0x38f717['type'])return;const _0x4b8910=_0x38f717['getContainedElement']();if(null==_0x4b8910)return;if(!_0x4b8910['is']('element','bookmark'))return;const _0x337172=_0x4b8910['getAttribute']('bookmarkId');if('insertion'==_0x38f717['type'])return{'type':'insertion','content':_0x2ede81(_0x49097e,'*Insert:*\x20%0','\x22'+_0x337172+'\x22\x20'+_0x2ede81(_0x49097e,'ELEMENT_BOOKMARK'))};if('deletion'==_0x38f717['type'])return{'type':'deletion','content':_0x2ede81(_0x49097e,'*Remove:*\x20%0','\x22'+_0x337172+'\x22\x20'+_0x2ede81(_0x49097e,'ELEMENT_BOOKMARK'))};const {data:_0x5e575f}=_0x38f717;if(!_0x5e575f||'bookmarkId'!=_0x5e575f['key'])return;return{'type':'format','content':_0x2ede81(_0x49097e,'*Set\x20bookmark:*\x20%0','\x22'+_0x5e575f['newValue']+'\x22')};}));}}class _0x5d1891 extends _0x31c75c['Plugin']{['afterInit'](){const _0x54027a=this['editor'];_0x54027a['plugins']['has']('CaseChange')&&(_0x54027a['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x54027a['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x54027a['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x46faee extends _0x31c75c['Plugin']{['afterInit'](){const _0x5b7157=this['editor'];_0x5b7157['commands']['get']('ckbox')&&_0x5b7157['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x2f483d extends _0x31c75c['Plugin']{['afterInit'](){const _0x4c4f79=this['editor'];if(!_0x4c4f79['plugins']['has']('CodeBlock'))return;const _0x4ea31f=_0x4c4f79['plugins']['get']('TrackChangesEditing'),_0x1ef322=_0x4c4f79['locale'],_0x38e9e3=_0x4c4f79['config']['get']('codeBlock')['languages'],_0x5ef850=_0x4c4f79['commands']['get']('codeBlock');_0x4ea31f['enableCommand']('indentCodeBlock'),_0x4ea31f['enableCommand']('outdentCodeBlock'),_0x4ea31f['enableCommand']('codeBlock',(_0x427876,_0x4ffb91={})=>{const _0x4df574=_0x4c4f79['model'],_0x24dac2=_0x4c4f79['model']['document']['selection'],_0x12901e=_0x4ffb91&&void 0x0!==_0x4ffb91['forceValue']?_0x4ffb91['forceValue']:!_0x5ef850['value'];let _0x5d0ecd;_0x4ffb91['language']||(_0x4ffb91['language']=_0x38e9e3[0x0]['language']),_0x5d0ecd=_0x12901e?Array['from'](_0x24dac2['getSelectedBlocks']())['filter'](_0x1c12c3=>_0x4cf364(_0x1c12c3)||function(_0x4c071e,_0x38a921){if(_0x4c071e['is']('rootElement')||_0x38a921['isLimit'](_0x4c071e))return!0x1;return _0x38a921['checkChild'](_0x4c071e['parent'],'codeBlock');}(_0x1c12c3,_0x4df574['schema'])):Array['from'](_0x24dac2['getSelectedBlocks']())['filter'](_0x5b5e26=>_0x4cf364(_0x5b5e26));const _0x2c6e5a=_0x82f448(_0x5d0ecd,_0x4df574);_0x4df574['change'](()=>{for(const _0x486349 of _0x2c6e5a)_0x4ea31f['markBlockFormat'](_0x486349,{'commandName':'codeBlock','commandParams':[{..._0x4ffb91,'forceValue':_0x12901e}],'formatGroupId':'blockName'});});}),(_0x4ea31f['descriptionFactory']['registerElementLabel']('codeBlock',_0x5b81c7=>_0x2ede81(_0x1ef322,'ELEMENT_CODE_BLOCK',_0x5b81c7)),_0x4ea31f['descriptionFactory']['registerDescriptionCallback'](_0x4494ff=>{if('formatBlock'!=_0x4494ff['type'])return;const _0x181505=_0x1ef322['t'],{data:_0x2a8f08}=_0x4494ff;if(!_0x2a8f08||'codeBlock'!=_0x2a8f08['commandName'])return;const _0x43a115=_0x2a8f08['commandParams'][0x0]['language'],_0x385aea=_0x38e9e3['find'](_0x53c1cd=>_0x53c1cd['language']===_0x43a115)['label'],_0x269c16=_0x181505(_0x385aea)['toLowerCase']();return _0x2a8f08['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x1ef322,'*Set\x20format:*\x20%0',_0x2ede81(_0x1ef322,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x269c16+')')}:{'type':'format','content':_0x2ede81(_0x1ef322,'*Remove\x20format:*\x20%0',_0x2ede81(_0x1ef322,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x4cf364(_0x1d3853){return'codeBlock'==_0x1d3853['name'];}class TrackChangesComments extends _0x31c75c['Plugin']{['afterInit'](){const _0x44ac7a=this['editor'];if(!_0x44ac7a['plugins']['has']('CommentsEditing'))return;_0x44ac7a['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['Delete']];}['init'](){const _0x170a1c=this['editor'],_0x25d5a4=_0x170a1c['plugins']['get']('TrackChangesEditing');_0x25d5a4['enableCommand']('delete');const _0x166624=_0x170a1c['commands']['get']('deleteForward');_0x25d5a4['enableCommand']('deleteForward',(_0x397242,_0x410bb3={})=>{const _0x2cee8e=_0x170a1c['model']['createSelection'](_0x170a1c['model']['document']['selection']);_0x2cee8e['isCollapsed']&&_0x170a1c['model']['modifySelection'](_0x2cee8e,{'direction':'forward','unit':_0x410bb3['unit']});const _0x1a3f74=_0x2cee8e['getFirstRange'](),_0x10b396=_0x31c75c['ModelLiveRange']['fromRange'](_0x1a3f74);let _0x2f534b;_0x397242(_0x410bb3),_0x2f534b='$graveyard'==_0x10b396['root']['rootName']?_0x170a1c['model']['createRange'](_0x1a3f74['start']):_0x170a1c['model']['createRange'](_0x10b396['start'],_0x10b396['end']),_0x10b396['detach'](),_0x170a1c['model']['enqueueChange'](_0x166624['buffer']['batch'],_0xa906cd=>{_0x166624['buffer']['lock'](),_0xa906cd['setSelection'](_0xa906cd['createRange'](_0x2f534b['end'])),_0x166624['buffer']['unlock']();});});}}class TrackChangesList extends _0x31c75c['Plugin']{['afterInit'](){const _0x58dc33=this['editor'];if(!_0x58dc33['plugins']['has']('ListEditing'))return;const _0x5f38cc=_0x58dc33['locale'],_0x1ca9fa=_0x58dc33['plugins']['get']('TrackChangesEditing'),_0x1024fa=_0x58dc33['plugins']['has']('TodoListEditing'),_0x5f1f2f=!!_0x58dc33['config']['get']('list.multiBlock');function _0x4d1c5c(_0xaba2bf){return{'type':'format','content':''+_0x2ede81(_0x5f38cc,'*Set\x20format:*\x20%0',_0xaba2bf)};}function _0x5f5dcf(_0x13031a){return{'type':'format','content':''+_0x2ede81(_0x5f38cc,'*Remove\x20format:*\x20%0',_0x13031a)};}_0x1ca9fa['enableDefaultAttributesIntegration']('numberedList'),_0x1ca9fa['enableDefaultAttributesIntegration']('bulletedList'),_0x1ca9fa['enableDefaultAttributesIntegration']('customNumberedList'),_0x1ca9fa['enableDefaultAttributesIntegration']('customBulletedList'),_0x1ca9fa['enableDefaultAttributesIntegration']('indentList'),_0x1ca9fa['enableDefaultAttributesIntegration']('outdentList'),_0x1ca9fa['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x1ca9fa['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x5f1f2f&&(_0x1ca9fa['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x1ca9fa['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x1024fa&&(_0x1ca9fa['enableDefaultAttributesIntegration']('todoList'),_0x1ca9fa['enableDefaultAttributesIntegration']('checkTodoList'),_0x1ca9fa['descriptionFactory']['registerDescriptionCallback'](_0x5cad29=>{const {data:_0x3b5d71}=_0x5cad29;if(_0x3b5d71&&'todoListChecked'==_0x3b5d71['key'])return{'type':'format','content':_0x3b5d71['newValue']?_0x2ede81(_0x5f38cc,'*Check\x20item*'):_0x2ede81(_0x5f38cc,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x21d80c=>{if(_0x21d80c['batch']['isUndo'])return!0x1;let _0x1c1b00=!0x1;const _0x523107=_0x1ca9fa['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x20055=>'todoListChecked'===_0x1ca9fa['_getAttributeKey'](_0x20055));for(const _0x45eb14 of _0x523107){'todo'!=_0x45eb14['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x1ca9fa['_findSuggestions'](_0x45eb14['getFirstRange'](),'attribute')['find'](_0x27a11e=>'listType'===_0x1ca9fa['_getAttributeKey'](_0x27a11e['suggestion']))||(_0x21d80c['removeMarker'](_0x45eb14['getFirstMarker']()),_0x1c1b00=!0x0));}return _0x1c1b00;})),_0x1ca9fa['descriptionFactory']['registerAttributeLabel']('listIndent',_0x2ede81(_0x5f38cc,'FORMAT_INDENT'));const _0x513cbc={'type':'format','content':''};_0x1ca9fa['descriptionFactory']['registerDescriptionCallback'](_0x42edb7=>{const {data:_0x156b54}=_0x42edb7;if(!_0x156b54||'listType'!=_0x156b54['key'])return;let _0x3dd846=_0x42edb7['head'];for(;_0x3dd846;){if(_0x3dd846['data']&&(('listStyle'==_0x3dd846['data']['key']||'listMarkerStyle'==_0x3dd846['data']['key'])&&(_0x3dd846['data']['newValue']&&'default'!=_0x3dd846['data']['newValue']||'default'!=_0x3dd846['data']['oldValue']&&!_0x156b54['newValue'])||!_0x5f1f2f&&_0x3dd846['data']['key']==_0x899db4))return _0x513cbc;_0x3dd846=_0x3dd846['next'];}if(null==_0x156b54['newValue'])switch(_0x156b54['oldValue']){case'bulleted':return _0x5f5dcf(_0x2ede81(_0x5f38cc,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5f5dcf(_0x2ede81(_0x5f38cc,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5f5dcf(_0x2ede81(_0x5f38cc,'ELEMENT_TODO_LIST'));}switch(_0x156b54['newValue']){case'bulleted':return _0x4d1c5c(_0x2ede81(_0x5f38cc,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4d1c5c(_0x2ede81(_0x5f38cc,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4d1c5c(_0x2ede81(_0x5f38cc,'ELEMENT_TODO_LIST'));}}),_0x1ca9fa['descriptionFactory']['registerDescriptionCallback'](_0x8e71b6=>{const {data:_0xd6733c}=_0x8e71b6;if(_0xd6733c&&'listIndent'==_0xd6733c['key'])return null==_0xd6733c['newValue']||null==_0xd6733c['oldValue']&&0x0==_0xd6733c['newValue']?_0x513cbc:void 0x0;}),_0x1ca9fa['descriptionFactory']['registerDescriptionCallback'](_0x4f3fd2=>{if('attribute'!=_0x4f3fd2['type'])return;const {data:_0x59b69b}=_0x4f3fd2;if(!_0x59b69b||'listItemId'!=_0x59b69b['key'])return;const _0x3c7236=tg(_0x4f3fd2);return'newValue'==_0x3c7236?{'type':'format','content':_0x2ede81(_0x5f38cc,'*Merge:*\x20list\x20item')}:'oldValue'==_0x3c7236?{'type':'format','content':_0x2ede81(_0x5f38cc,'*Split:*\x20list\x20item')}:_0x513cbc;}),_0x58dc33['model']['document']['registerPostFixer'](_0x3821b2=>this['listItemIdFixer'](_0x3821b2)),_0x58dc33['model']['document']['registerPostFixer'](_0x5686e4=>this['noTrackChangesFixer'](_0x5686e4)),_0x58dc33['model']['document']['on']('change:data',(_0x2b5932,_0x1f2a36)=>{if(_0x1f2a36['isUndo']||!_0x1f2a36['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x57208e){if(_0x57208e['batch']['isUndo']||!_0x57208e['batch']['isLocal'])return!0x1;let _0x66a37f=!0x1;const _0x33598d=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5a45ef=>_0x5a45ef['data']&&'listItemId'==_0x5a45ef['data']['key'])['filter'](_0xc6f2f5=>_0xc6f2f5['data']['newValue']&&_0xc6f2f5['data']['oldValue']);for(const _0x42c783 of _0x33598d)tg(_0x42c783)||(_0x57208e['removeMarker'](_0x42c783['getFirstMarker']()),_0x66a37f=!0x0);return _0x66a37f;}['noTrackChangesFixer'](_0x21643c){if(_0x21643c['batch']['isUndo']||!_0x21643c['batch']['isLocal'])return!0x1;const _0x5d12e5=this['editor']['model']['document']['differ'],_0x272681=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x272681['trackChangesCommand']['value'])return!0x1;let _0x9aa1a=!0x1;const _0xd03dea=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle']),_0x39033f=_0x5d12e5['getChanges']()['filter'](_0x3a592b=>'attribute'==_0x3a592b['type'])['filter'](_0x3804e8=>_0xd03dea['has'](_0x3804e8['attributeKey']));if(0x0==_0x39033f['length'])return _0x9aa1a;const _0x1619bb=new Set(_0x5d12e5['getMarkersToAdd']()['filter'](_0x25a737=>{if(!_0x25a737['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x2cbe5a=_0x518fa7(_0x25a737['name'])['subType']['split']('|')[0x0];return _0xd03dea['has'](_0x2cbe5a);})['map'](_0x1b42c5=>_0x518fa7(_0x1b42c5['name'])['id']));for(const _0x5228ef of _0x39033f){const _0x5bebe5=_0x272681['_findSuggestions'](_0x5228ef['range'],'attribute')['filter'](_0x21d5f1=>{if(_0x21d5f1['meta']['isNextTo'])return!0x1;if(_0x1619bb['has'](_0x21d5f1['suggestion']['id']))return!0x1;const _0x48afa2=_0x272681['_getAttributeKey'](_0x21d5f1['suggestion']);return _0xd03dea['has'](_0x48afa2);})['map'](_0x51d62c=>_0x51d62c['suggestion']);if(_0x5bebe5['length']){for(const _0x304086 of _0x5bebe5)_0x21643c['removeMarker'](_0x304086['getFirstMarker']());_0x9aa1a=!0x0;}}return _0x9aa1a;}['assureChains'](){const _0xb941d2=this['editor']['plugins']['get']('TrackChangesEditing'),_0x7f455e=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x4d79cc;const _0x229477=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2eabeb=>{if(_0x2eabeb['data']['oldRange']||!_0x2eabeb['data']['newRange'])return null;if(!_0x2eabeb['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x109af9}=_0x518fa7(_0x2eabeb['name']);if(!_0xb941d2['hasSuggestion'](_0x109af9))return null;const _0x1751f3=_0xb941d2['getSuggestion'](_0x109af9);return _0x7f455e['includes'](_0x1751f3['data']['key']);})['map'](_0x47e29d=>{const {id:_0x2c36ee}=_0x518fa7(_0x47e29d['name']),_0x5775d2=_0xb941d2['getSuggestion'](_0x2c36ee);return _0x4d79cc=_0x5775d2['attributes']['groupId'],_0x5775d2['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x229477['size'])return;const _0x1f70a7=_0xb941d2['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x292a28=>'attribute'==_0x292a28['type']&&_0x292a28['data']&&_0x7f455e['includes'](_0x292a28['data']['key'])&&_0x292a28['attributes']['groupId']!=_0x4d79cc)['map'](_0x179ff0=>({'listItem':_0x179ff0['getFirstRange']()['start']['nodeAfter'],'groupId':_0x179ff0['attributes']['groupId']})),_0x2a6ef5=new Set();for(const {groupId:_0x5e69a1,listItem:_0x3edf55}of _0x1f70a7)_0x229477['has'](_0x3edf55)&&_0x2a6ef5['add'](_0x5e69a1);for(const _0x52c340 of _0xb941d2['getSuggestions']())_0x2a6ef5['has'](_0x52c340['attributes']['groupId'])&&_0x52c340['setAttribute']('groupId',_0x4d79cc);}['_supportLegacySuggestions'](){const _0x1ee836=this['editor'],_0x21ba47=_0x1ee836['locale'],_0x17a5f1=_0x1ee836['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x17a5f1['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x48e3fe,_0x24f3df){const _0x5ed808=[];for(let _0x42fb52 of _0x48e3fe)_0x42fb52['start']['nodeAfter']===_0x42fb52['end']['parent']&&(_0x42fb52=_0x1ee836['model']['createRange'](_0x1ee836['model']['createPositionAt'](_0x42fb52['start']['nodeAfter'],0x0))),_0x5ed808['push'](_0x42fb52);_0x1ee836['model']['change'](_0x265b5a=>{const _0x548c66=_0x1ee836['model']['document']['selection'],_0xe7c5be=Array['from'](_0x548c66['getRanges']())['map'](_0x4b1ff6=>_0x31c75c['ModelLiveRange']['fromRange'](_0x4b1ff6));_0x265b5a['setSelection'](_0x5ed808),_0x1ee836['commands']['get'](_0x24f3df['commandName'])['refresh'](),_0x24f3df['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x1ee836['execute'](_0x24f3df['commandName'],..._0x24f3df['commandParams']),_0x265b5a['setSelection'](_0xe7c5be);for(const _0x307548 of _0xe7c5be)_0x307548['detach']();});}),_0x17a5f1['descriptionFactory']['registerElementLabel'](function(_0x87575b){const _0x1b60f6=!_0x1ee836['model']['schema']['isObject'](_0x87575b),_0x398563=_0x87575b['previousSibling'],_0x31dde9=_0x87575b['nextSibling'],_0x52e1f2=_0x87575b['getAttribute']('listItemId'),_0x27b63e=!_0x398563||_0x398563['getAttribute']('listItemId')!==_0x52e1f2,_0x57c46e=!_0x31dde9||_0x31dde9['getAttribute']('listItemId')!==_0x52e1f2;return _0x1b60f6&&Boolean(_0x52e1f2)&&_0x27b63e&&_0x57c46e;},_0x30dcfc=>_0x2ede81(_0x21ba47,'ELEMENT_LIST_ITEM',_0x30dcfc));}['_registerLegacyDescription'](){const _0x581931=this['editor'],_0x3ab7a6=_0x581931['locale'];function _0x5cd6f6(_0x4e89c1){const _0x1e8302=_0x581931['commands']['get']('bulletedList')['value'],_0x483440=_0x581931['commands']['get']('numberedList')['value'];return'numberedList'===_0x4e89c1?_0x1e8302:_0x483440;}_0x581931['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x1f078c){if('formatBlock'!=_0x1f078c['type'])return;const {data:_0x11bf10}=_0x1f078c;if(!_0x11bf10)return;let _0x297003,_0x3ee37c,_0x6dcee5,_0x2ea888;switch(_0x11bf10['commandName']){case'bulletedList':_0x6dcee5=_0x11bf10['commandParams'][0x0]['forceValue'],_0x2ea888=_0x5cd6f6(_0x11bf10['commandName']),_0x297003=_0x6dcee5?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x2ea888&&_0x581931['config']['get']('list.multiBlock')||(_0x297003='*Change\x20to:*\x20%0'),_0x3ee37c={'type':'format','content':_0x2ede81(_0x3ab7a6,_0x297003,_0x2ede81(_0x3ab7a6,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x6dcee5=_0x11bf10['commandParams'][0x0]['forceValue'],_0x2ea888=_0x5cd6f6(_0x11bf10['commandName']),_0x297003=_0x6dcee5?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x2ea888&&_0x581931['config']['get']('list.multiBlock')||(_0x297003='*Change\x20to:*\x20%0'),_0x3ee37c={'type':'format','content':_0x2ede81(_0x3ab7a6,_0x297003,_0x2ede81(_0x3ab7a6,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x297003='*Indent:*\x20%0',_0x3ee37c={'type':'format','content':_0x2ede81(_0x3ab7a6,_0x297003,_0x2ede81(_0x3ab7a6,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x297003=function(_0x31a353){const _0x63ab5d=_0x31a353['getFirstRange']();let _0x2612f2=_0x63ab5d['start']['nodeAfter'];for(;_0x2612f2&&_0x63ab5d['containsItem'](_0x2612f2);){if(_0x2612f2['getAttribute']('listIndent')>0x0)return!0x1;_0x2612f2=_0x2612f2['nextSibling'];}return!0x0;}(_0x1f078c)?_0x2ede81(_0x3ab7a6,'*Format:*\x20remove\x20from\x20%0',_0x2ede81(_0x3ab7a6,function(_0x475fcb){return'ELEMENT_'+_0x475fcb['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x1f078c))):_0x2ede81(_0x3ab7a6,'*Outdent:*\x20%0',_0x2ede81(_0x3ab7a6,'ELEMENT_LIST_ITEM')),_0x3ee37c={'type':'format','content':_0x297003};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x11bf10['multipleBlocks']&&(_0x297003='*Merge:*\x20%0',_0x3ee37c={'type':'deletion','content':_0x2ede81(_0x3ab7a6,_0x297003,_0x2ede81(_0x3ab7a6,'ELEMENT_LIST_ITEM'))});}return _0x3ee37c;});}}function tg(_0x3dc416){let _0x321a7f=_0x3dc416['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x321a7f;){const _0x2fc034=_0x321a7f['getAttribute']('listItemId');if(!_0x2fc034)return!0x1;if(_0x2fc034==_0x3dc416['data']['newValue'])return'newValue';if(_0x2fc034==_0x3dc416['data']['oldValue'])return'oldValue';_0x321a7f=_0x321a7f['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x31c75c['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x599c3f=this['editor']['config']['get']('list.properties'),_0x14b4f9=this['editor']['plugins']['get']('TrackChangesEditing');_0x599c3f['styles']&&_0x14b4f9['enableDefaultAttributesIntegration']('listStyle'),_0x599c3f['reversed']&&_0x14b4f9['enableDefaultAttributesIntegration']('listReversed'),_0x599c3f['startIndex']&&_0x14b4f9['enableDefaultAttributesIntegration']('listStart');const _0x3cc73b={'type':'format','content':''};_0x14b4f9['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x3b5fef=this['editor']['locale'];_0x14b4f9['descriptionFactory']['registerAttributeLabel']('listReversed',_0x2ede81(_0x3b5fef,'FORMAT_LIST_REVERSED')),_0x14b4f9['descriptionFactory']['registerDescriptionCallback'](_0x1fde4d=>{const {data:_0x5cc200}=_0x1fde4d;if(_0x5cc200&&'listReversed'==_0x5cc200['key'])return null==_0x5cc200['newValue']||0x0==_0x5cc200['newValue']&&null==_0x5cc200['oldValue']?_0x3cc73b:void 0x0;}),_0x14b4f9['descriptionFactory']['registerAttributeLabel']('listStart',_0x2ede81(_0x3b5fef,'FORMAT_LIST_START')),_0x14b4f9['descriptionFactory']['registerDescriptionCallback'](_0x5b5a42=>{const {data:_0x1bf31f}=_0x5b5a42;if(_0x1bf31f&&'listStart'==_0x1bf31f['key'])return null==_0x1bf31f['newValue']||0x1==_0x1bf31f['newValue']&&null==_0x1bf31f['oldValue']?_0x3cc73b:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x4ae6fa=>{if(_0x4ae6fa['batch']['isUndo'])return!0x1;let _0x37bb2b=!0x1;const _0x3552b0=_0x14b4f9['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3d7ef3=>{const _0x148b1b=_0x14b4f9['_getAttributeKey'](_0x3d7ef3);return'listStart'==_0x148b1b||'listReversed'==_0x148b1b;});for(const _0x3477e1 of _0x3552b0){const _0x2a0d2d=_0x3477e1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x2a0d2d||'customNumbered'==_0x2a0d2d)continue;const _0x12d09a=_0x14b4f9['_findSuggestions'](_0x3477e1['getFirstRange'](),'attribute')['find'](_0x553892=>'listType'==_0x14b4f9['_getAttributeKey'](_0x553892['suggestion']));_0x12d09a||(_0x4ae6fa['removeMarker'](_0x3477e1['getFirstMarker']()),_0x37bb2b=!0x0);}return _0x37bb2b;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0xa47a39){const _0x531770=this['editor']['locale'],{data:_0x53a874}=_0xa47a39,_0x3e7e88={'type':'format','content':''};if(!_0x53a874||'listStyle'!=_0x53a874['key'])return;if(!_0x53a874['oldValue'])return'default'==_0x53a874['newValue']?_0x3e7e88:{'type':'format','content':''+_0x2ede81(_0x531770,'*Set\x20format:*\x20%0',_0x2ede81(_0x531770,this['_getTranslationKeyForListStyle'](_0x53a874['newValue'])))};if(!_0x53a874['newValue']){if('default'==_0x53a874['oldValue'])return _0x3e7e88;let _0x416607=_0xa47a39['head'];for(;_0x416607;){if(_0x416607['data']&&'listType'==_0x416607['data']['key']&&_0x416607['data']['newValue'])return _0x3e7e88;_0x416607=_0x416607['next'];}return{'type':'format','content':''+_0x2ede81(_0x531770,'*Remove\x20format:*\x20%0',_0x2ede81(_0x531770,this['_getTranslationKeyForListStyle'](_0x53a874['oldValue'])))};}if('default'!=_0x53a874['newValue'])return{'type':'format','content':''+_0x2ede81(_0x531770,'*Set\x20format:*\x20%0',_0x2ede81(_0x531770,this['_getTranslationKeyForListStyle'](_0x53a874['newValue'])))};let _0x3999bb=_0xa47a39['head'];for(;_0x3999bb;){if(_0x3999bb['data']&&'listType'==_0x3999bb['data']['key']&&_0x3999bb['data']['newValue']&&_0x3999bb['data']['oldValue'])return _0x3e7e88;_0x3999bb=_0x3999bb['next'];}return{'type':'format','content':_0x2ede81(_0x531770,'*Set\x20format:*\x20%0',_0x2ede81(_0x531770,'ELEMENT_'+_0xa47a39['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x16aba6=this['editor'],_0x5b42d4=_0x16aba6['locale'];_0x16aba6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5304df=>{if('formatBlock'!=_0x5304df['type'])return;const {data:_0xebfc9e}=_0x5304df;if(!_0xebfc9e)return;let _0x376105,_0x3a5433;switch(_0xebfc9e['commandName']){case'listStyle':_0x376105='*Change\x20to:*\x20%0',_0x3a5433={'type':'format','content':_0x2ede81(_0x5b42d4,_0x376105,_0x2ede81(_0x5b42d4,this['_getTranslationKeyForListStyle'](_0xebfc9e['commandParams'][0x0]['type'])))};break;case'listReversed':_0x376105=_0xebfc9e['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x3a5433={'type':'format','content':_0x2ede81(_0x5b42d4,_0x376105)};break;case'listStart':_0x376105='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3a5433={'type':'format','content':_0x2ede81(_0x5b42d4,_0x376105,_0xebfc9e['commandParams'][0x0]['startIndex'])};}return _0x3a5433;});}['_getTranslationKeyForListStyle'](_0x1653e9){return'ELEMENT_'+function(_0xb0ce1d){if(_0x44ae04['includes'](_0xb0ce1d))return'bulleted';if(_0x5ac286['includes'](_0xb0ce1d))return'numbered';return null;}(_0x1653e9)['toUpperCase']()+'_LIST_'+_0x1653e9['toUpperCase']()['replace'](/-/g,'_');}}const _0x44ae04=['disc','circle','square'],_0x5ac286=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class _0x124b18 extends _0x31c75c['Plugin']{['afterInit'](){const _0x2e2d07=this['editor'];_0x2e2d07['commands']['get']('emoji')&&_0x2e2d07['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['Enter']];}['init'](){const _0x496018=this['editor'],_0x2c5a03=_0x496018['plugins']['get']('TrackChangesEditing'),_0x2cea77=_0x496018['commands']['get']('enter');_0x2c5a03['enableCommand']('enter',()=>{_0x496018['model']['change'](_0x4e46c8=>{const _0x171dd5=_0x496018['model']['document']['selection'],_0x3130cd=_0x171dd5['getFirstPosition'](),_0x18ec31=_0x31c75c['ModelLiveRange']['fromRange'](_0x171dd5['getFirstRange']());if(_0x2cea77['enterBlock'](_0x4e46c8)){const _0x412ec6=_0x496018['model']['createPositionAt'](_0x3130cd['parent']['nextSibling'],0x0),_0x258e05=_0x4e46c8['createRange'](_0x3130cd,_0x412ec6);_0x2c5a03['markInsertion'](_0x258e05);}else _0x4e46c8['setSelection'](_0x4e46c8['createRange'](_0x18ec31['end']));_0x18ec31['detach'](),_0x2cea77['fire']('afterExecute',{'writer':_0x4e46c8});});});}}class _0x386074 extends _0x31c75c['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x173afd=this['editor']['plugins']['get']('TrackChangesEditing');_0x173afd['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x173afd['enableCommand']('findNext'),_0x173afd['enableCommand']('findPrevious'),_0x173afd['enableCommand']('replace'),_0x173afd['enableCommand']('replaceAll');}['handleFindCommand'](_0x5ef00b,_0x336669,_0x232ea8={}){const _0x491872=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x5ef00b(_0x1ab48a=>{let _0x1eaf75=('string'==typeof _0x336669?_0x491872['findByTextCallback'](_0x336669,_0x232ea8):_0x336669)(_0x1ab48a);Array['isArray'](_0x1eaf75)&&(_0x1eaf75={'results':_0x1eaf75,'searchText':'string'==typeof _0x336669?_0x336669:''});const _0xa3438=_0x1eaf75['results']['filter'](_0x473f07=>!0x1===this['_isInDeletionRange'](_0x473f07,_0x1ab48a['item']));return{..._0x1eaf75,'results':_0xa3438};},_0x232ea8);}['_isInDeletionRange'](_0x7891ff,_0x2b0068){const _0x9c2feb=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x2b0068,_0x7891ff['start']),this['editor']['model']['createPositionAt'](_0x2b0068,_0x7891ff['end']));for(const _0xdeeb4 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x9c2feb['getIntersection'](_0xdeeb4['getRange']()))return!0x0;return!0x1;}}const _0x5c5da6=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x31c75c['Plugin']{['afterInit'](){const _0x7182da=this['editor']['locale'],_0x2dce8a=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x2d86f0,commandName:_0x14a887}of _0x5c5da6)this['editor']['plugins']['has'](_0x2d86f0)&&_0x2dce8a['enableDefaultAttributesIntegration'](_0x14a887);_0x2dce8a['descriptionFactory']['registerAttributeLabel']('fontSize',_0x2ede81(_0x7182da,'FORMAT_FONT_SIZE')),_0x2dce8a['descriptionFactory']['registerAttributeLabel']('fontFamily',_0x2ede81(_0x7182da,'FORMAT_FONT_FAMILY')),_0x2dce8a['descriptionFactory']['registerAttributeLabel']('fontColor',_0x2ede81(_0x7182da,'FORMAT_FONT_COLOR')),_0x2dce8a['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',_0x2ede81(_0x7182da,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1a05ee=this['editor'],_0x2ab8da=_0x1a05ee['locale'];_0x1a05ee['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1e4ca0=>{const _0x5553df=_0x2ab8da['t'];if('formatInline'!=_0x1e4ca0['type'])return;const {data:_0x591954}=_0x1e4ca0;if(null!=_0x591954){if('fontSize'==_0x591954['commandName']){const _0x499a38=_0x591954['commandParams'][0x0]['value'];if(_0x499a38){const _0x1c51ae=_0x5553df(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x2c6de8=>_0x2c6de8['model']==_0x499a38)['title'])['toLowerCase']();return{'type':'format','content':_0x2ede81(_0x2ab8da,'*Set\x20font\x20size:*\x20%0',_0x1c51ae)};}return{'type':'format','content':_0x2ede81(_0x2ab8da,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x591954['commandName']){const _0x4b6cee=_0x591954['commandParams'][0x0]['value'];return _0x4b6cee?{'type':'format','content':_0x2ede81(_0x2ab8da,'*Set\x20font\x20family:*\x20%0',_0x4b6cee)}:{'type':'format','content':_0x2ede81(_0x2ab8da,'*Reset\x20font\x20family*')};}if('fontColor'==_0x591954['commandName']){const _0x220f15=_0x591954['commandParams'][0x0]['value'];if(_0x220f15){const _0x1cf1af=_0x31c75c['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x368da4=>_0x368da4['model']==_0x220f15);let _0x11a377=_0x220f15,_0x67d391='';return _0x1cf1af&&(_0x11a377=_0x1cf1af['label'],_0x67d391=_0x5553df(_0x11a377)['toLowerCase']()),{'type':'format','content':_0x2ede81(_0x2ab8da,'*Set\x20font\x20color:*\x20%0',_0x67d391)['trim'](),'color':{'value':_0x220f15,'title':_0x67d391||_0x11a377}};}return{'type':'format','content':_0x2ede81(_0x2ab8da,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x591954['commandName']){const _0x287ade=_0x591954['commandParams'][0x0]['value'];if(_0x287ade){const _0x5a202e=_0x31c75c['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x6b3467=>_0x6b3467['model']==_0x287ade);let _0x49f90e=_0x287ade,_0x442d02='';return _0x5a202e&&(_0x49f90e=_0x5a202e['label'],_0x442d02=_0x5553df(_0x49f90e)['toLowerCase']()),{'type':'format','content':_0x2ede81(_0x2ab8da,'*Set\x20font\x20background\x20color:*\x20%0',_0x442d02)['trim'](),'color':{'value':_0x287ade,'title':_0x442d02||_0x49f90e}};}return{'type':'format','content':_0x2ede81(_0x2ab8da,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x31c75c['Plugin']{['afterInit'](){const {plugins:_0xd47111}=this['editor'];_0xd47111['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0xd47111['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x4ecf9f,plugins:_0x1ac5df,commands:_0x3d2aa7}=this['editor'],_0x5bc85e=_0x1ac5df['get']('TrackChangesEditing');_0x3d2aa7['get']('footnotesStyle')&&_0x5bc85e['enableDefaultAttributesIntegration']('footnotesStyle'),_0x3d2aa7['get']('footnotesStart')&&_0x5bc85e['enableDefaultAttributesIntegration']('footnotesStart'),_0x5bc85e['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',_0x2ede81(_0x4ecf9f,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x5bc85e['descriptionFactory']['registerAttributeLabel']('footnotesListStart',_0x2ede81(_0x4ecf9f,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x4af429=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x56d567,commands:_0x6bcf8f}=this['editor'];_0x6bcf8f['get']('insertFootnote')&&_0x4af429['enableCommand']('insertFootnote'),_0x4af429['descriptionFactory']['registerElementLabel']('footnoteRef',_0x21b0d5=>_0x2ede81(_0x56d567,'ELEMENT_FOOTNOTE_REF',_0x21b0d5)),_0x4af429['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x188a23=>_0x2ede81(_0x56d567,'ELEMENT_FOOTNOTE_DEFINITION',_0x188a23)),_0x4af429['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x493f42=>_0x2ede81(_0x56d567,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x493f42));}}class TrackChangesFormatPainter extends _0x31c75c['Plugin']{['afterInit'](){const _0x245de6=this['editor'],_0x5de100=_0x245de6['plugins']['get']('TrackChangesEditing'),_0x591cf0=_0x245de6['commands']['get']('copyFormat'),_0x4df1e4=_0x245de6['commands']['get']('pasteFormat');_0x591cf0&&_0x4df1e4&&(_0x5de100['enableDefaultAttributesIntegration']('pasteFormat'),_0x5de100['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x2804b4=this['editor'],_0x339e4a=_0x2804b4['locale'];_0x2804b4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x34c1da=>{if('formatBlock'!=_0x34c1da['type']&&'formatInline'!=_0x34c1da['type'])return;const {data:_0x569301}=_0x34c1da;if(_0x569301&&'pasteFormat'===_0x569301['commandName']){const _0x416fcf=[],_0x4931c4=_0x569301['commandParams'][0x0];for(const [_0x4fa626,_0x27cb5f]of Object['entries'](_0x4931c4))_0x416fcf['push'](_0x4ac0ff(_0x2804b4,_0x4fa626,_0x27cb5f));return _0x416fcf['length']?{'type':'format','content':_0x2ede81(_0x339e4a,'*Set\x20format\x20to:*\x20%0',_0x416fcf['join'](',\x20'))}:{'type':'format','content':_0x2ede81(_0x339e4a,'*Remove\x20all\x20formatting*')};}});}}function _0x4ac0ff(_0x1c3400,_0x4a3e13,_0xeba3ff){const _0xe1a5cc=_0x1c3400['locale']['t'],_0x8ad89c=_0x4a3e13['split'](/(?=[A-Z])/)['join']('\x20'),_0xf770fa=_0xe1a5cc(_0x8ad89c['charAt'](0x0)['toUpperCase']()+_0x8ad89c['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0xeba3ff)return _0xf770fa;if('fontColor'===_0x4a3e13||'fontBackgroundColor'===_0x4a3e13){const _0x3e503d=_0x31c75c['normalizeColorOptions'](_0x1c3400['config']['get']('fontColor.colors'))['find'](_0xfa46ec=>_0xfa46ec['model']==_0xeba3ff);return _0xf770fa+'\x20('+(_0x3e503d?_0xe1a5cc(_0x3e503d['label'])['toLowerCase']():_0xeba3ff)+')';}if('fontSize'===_0x4a3e13&&isNaN(parseFloat(_0xeba3ff))){const _0xd873d6=_0x1c3400['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x1c3400['config']['get']('fontSize.options'))['find'](_0x4f25e9=>_0x4f25e9['model']==_0xeba3ff);return _0xf770fa+'\x20('+(_0xd873d6?_0xe1a5cc(_0xd873d6['title'])['toLowerCase']():_0xeba3ff)+')';}return _0xf770fa+'\x20('+_0xeba3ff+')';}class _0x210cab extends _0x31c75c['Plugin']{['_headingOptions'];['afterInit'](){const _0x431c50=this['editor'];if(!_0x431c50['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x431c50['config']['get']('heading.options');const _0x5bfc59=_0x431c50['locale'],_0x2ac624=_0x431c50['plugins']['get']('TrackChangesEditing');_0x2ac624['enableDefaultAttributesIntegration']('heading');for(const _0x234488 of this['_headingOptions'])'paragraph'!=_0x234488['model']&&_0x2ac624['descriptionFactory']['registerElementLabel'](_0x234488['model'],_0x5c7d45=>{const _0x9ec22a=this['_getHeadingLevel'](_0x234488['model']);return null!==_0x9ec22a?_0x2f19a4(_0x5c7d45,_0x9ec22a):_0x477c47(_0x5c7d45,_0x234488['title']);});function _0x2f19a4(_0x4bb622,_0x33a6d2){return _0x2ede81(_0x5bfc59,'ELEMENT_HEADING',[_0x4bb622,_0x33a6d2]);}function _0x477c47(_0x2fc643,_0x145ee9){return _0x2ede81(_0x5bfc59,'ELEMENT_HEADING_CUSTOM',[_0x2fc643,_0x145ee9]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5ae37d=this['editor'],_0x4d0005=_0x5ae37d['locale'];function _0x4ecc7b(_0x960fff,_0x56032f){return _0x2ede81(_0x4d0005,'ELEMENT_HEADING_CUSTOM',[_0x960fff,_0x56032f]);}_0x5ae37d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x40199e=>{if('formatBlock'!=_0x40199e['type'])return;const {data:_0x5d5141}=_0x40199e;if(_0x5d5141&&'heading'==_0x5d5141['commandName']){const _0x1c7b8c=_0x5d5141['commandParams'][0x0]['value'],_0x2d7114=this['_getHeadingLevel'](_0x1c7b8c);if(null!==_0x2d7114)return{'type':'format','content':_0x2ede81(_0x4d0005,'*Change\x20to:*\x20%0',(_0x4bd13e=0x1,_0x5d768e=_0x2d7114,_0x2ede81(_0x4d0005,'ELEMENT_HEADING',[_0x4bd13e,_0x5d768e])))};const _0x241b71=this['_headingOptions']['find'](_0x1f0c87=>_0x1f0c87['model']===_0x1c7b8c)['title'];return{'type':'format','content':_0x2ede81(_0x4d0005,'*Change\x20to:*\x20%0',_0x4ecc7b(0x1,_0x241b71))};}var _0x4bd13e,_0x5d768e;});}['_getHeadingLevel'](_0x3a22bf){const _0x6b6c76=_0x3a22bf['match'](/^heading(\d+)/);if(_0x6b6c76)return _0x6b6c76[0x1];const _0x46309c=this['_headingOptions']?.['find'](_0x44c6b8=>_0x44c6b8['model']==_0x3a22bf);if(_0x46309c&&_0x46309c['view']){const _0x5b1fc2=_0x46309c['view'],_0x1eb62d=(_0x5b1fc2['name']??_0x5b1fc2)['match'](/^h(\d+)/);if(_0x1eb62d)return _0x1eb62d[0x1];}return null;}}class TrackChangesHighlight extends _0x31c75c['Plugin']{['afterInit'](){const _0x3b3160=this['editor'];if(!_0x3b3160['plugins']['has']('HighlightEditing'))return;const _0x58c1fd=_0x3b3160['plugins']['get']('TrackChangesEditing'),_0x3d1ee9=_0x3b3160['locale'];_0x58c1fd['enableDefaultAttributesIntegration']('highlight'),_0x58c1fd['descriptionFactory']['registerAttributeLabel']('highlight',_0x2ede81(_0x3d1ee9,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3ba652=this['editor'],_0x1c5647=_0x3ba652['locale'];_0x3ba652['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x17f9a8=>{if('formatInline'!=_0x17f9a8['type'])return;const {data:_0x3ebd61}=_0x17f9a8;if(_0x3ebd61&&'highlight'==_0x3ebd61['commandName']){const _0x24d41c=_0x1c5647['t'],_0x4eb645=_0x3ebd61['commandParams'][0x0]['value'];if(_0x4eb645){const _0x599327=_0x3ba652['config']['get']('highlight.options')['find'](_0x1c30af=>_0x1c30af['model']==_0x4eb645),_0xe64ee8=_0x24d41c(_0x599327['title'])['toLowerCase']();return{'type':'format','content':_0x2ede81(_0x1c5647,'*Set\x20highlight:*\x20%0',_0xe64ee8),'color':{'value':_0x599327['color'],'title':_0x599327['title']}};}return{'type':'format','content':_0x2ede81(_0x1c5647,'*Remove\x20highlight*',_0x2ede81(_0x1c5647,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x31c75c['Plugin']{['afterInit'](){const _0x3a2b5a=this['editor'];if(!_0x3a2b5a['plugins']['has']('HorizontalLineEditing'))return;_0x3a2b5a['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x504093=_0x3a2b5a['plugins']['get']('TrackChangesEditing'),_0x36358a=_0x3a2b5a['locale'];_0x504093['descriptionFactory']['registerElementLabel']('horizontalLine',_0x32db7e=>_0x2ede81(_0x36358a,'ELEMENT_HORIZONTAL_LINE',_0x32db7e));}}class TrackChangesHtmlEmbed extends _0x31c75c['Plugin']{['afterInit'](){const _0x224091=this['editor'];if(!_0x224091['plugins']['has']('HtmlEmbed'))return;const _0x2fcd8f=_0x224091['plugins']['get']('TrackChangesEditing'),_0x14cb2e=_0x224091['locale'];_0x2fcd8f['descriptionFactory']['registerElementLabel']('rawHtml',_0x40a5db=>_0x2ede81(_0x14cb2e,'ELEMENT_HTML_EMBED',_0x40a5db)),_0x2fcd8f['enableDefaultAttributesIntegration']('htmlEmbed'),_0x2fcd8f['descriptionFactory']['registerDescriptionCallback'](_0x3a6501=>{if('attribute'!=_0x3a6501['type'])return;const {data:_0x390e9c}=_0x3a6501;if(_0x390e9c&&'value'==_0x390e9c['key']&&_0x3a6501['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x1deb4f=_0x2ede81(_0x14cb2e,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x2ede81(_0x14cb2e,'*Change\x20%0\x20content*',_0x1deb4f)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1617fc=this['editor'],_0x345805=_0x1617fc['locale'];_0x1617fc['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x51f411=>{if('formatBlock'!=_0x51f411['type'])return;const {data:_0x217ba7}=_0x51f411;if(_0x217ba7&&'htmlEmbed'==_0x217ba7['commandName']){const _0x4d6ea3=_0x2ede81(_0x345805,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x2ede81(_0x345805,'*Change\x20%0\x20content*',_0x4d6ea3)};}});}}class _0xb8564 extends _0x31c75c['Plugin']{['afterInit'](){const _0x15d294=this['editor'];if(!_0x15d294['plugins']['has']('ImageEditing'))return;const _0x3cc855=_0x15d294['plugins']['get']('TrackChangesEditing'),_0x16b0ee=_0x15d294['plugins']['get']('ImageUtils'),_0x18e407=_0x15d294['locale'];_0x3cc855['enableCommand']('insertImage'),_0x3cc855['descriptionFactory']['registerElementLabel']('imageBlock',_0x42e60b=>_0x2ede81(_0x18e407,'ELEMENT_IMAGE',_0x42e60b)),_0x3cc855['descriptionFactory']['registerElementLabel']('imageInline',_0x67ad0e=>_0x2ede81(_0x18e407,'ELEMENT_INLINE_IMAGE',_0x67ad0e)),_0x3cc855['descriptionFactory']['registerElementLabel']('caption',()=>_0x2ede81(_0x18e407,'ELEMENT_CAPTION')),_0x15d294['plugins']['has']('ImageUploadEditing')&&_0x3cc855['enableCommand']('uploadImage'),_0x15d294['plugins']['has']('ImageBlockEditing')&&_0x15d294['plugins']['has']('ImageInlineEditing')&&(_0x3cc855['enableCommand']('imageTypeInline',(_0x4d9232,_0x36b5b7)=>{const _0x1f6dea=_0x16b0ee['getClosestSelectedImageElement'](_0x15d294['model']['document']['selection']);_0x15d294['model']['change'](()=>{_0x3cc855['markBlockFormat'](_0x1f6dea,{'commandName':'imageTypeInline','commandParams':[_0x36b5b7]},[],'convertBlockImageToInline');});}),_0x3cc855['enableCommand']('imageTypeBlock',(_0x565628,_0x3d5ea6)=>{_0x15d294['model']['change'](_0xf5a39f=>{let _0x5ccfb1=_0x16b0ee['getClosestSelectedImageElement'](_0x15d294['model']['document']['selection']),_0x96e21b=_0xf5a39f['createRangeOn'](_0x5ccfb1);const _0x19329c=_0x31c75c['ModelLivePosition']['fromPosition'](_0x96e21b['start'],'toPrevious'),_0x12a682=_0x31c75c['ModelLivePosition']['fromPosition'](_0x96e21b['end'],'toNext');_0x3cc855['forceDefaultExecution'](()=>_0x565628(_0x3d5ea6)),_0x5ccfb1=_0x16b0ee['getClosestSelectedImageElement'](_0x15d294['model']['document']['selection']),_0x96e21b=_0xf5a39f['createRangeOn'](_0x5ccfb1);const _0x458f52=_0xf5a39f['createRange'](_0x19329c,_0x12a682);_0x19329c['detach'](),_0x12a682['detach'](),_0x3cc855['markBlockFormat'](_0x5ccfb1,{'commandName':'imageTypeInline','commandParams':[_0x3d5ea6]},[],'convertInlineImageToBlock'),_0x458f52['start']['isBefore'](_0x96e21b['start'])&&_0x3cc855['markInsertion'](_0xf5a39f['createRange'](_0x458f52['start'],_0x96e21b['start']),'convertInlineImageToBlock'),_0x96e21b['end']['isBefore'](_0x458f52['end'])&&_0x3cc855['markInsertion'](_0xf5a39f['createRange'](_0x96e21b['end'],_0x458f52['end']),'convertInlineImageToBlock');});}),_0x3cc855['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x3cc855['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x3cc855['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x3cc855['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x3cc855['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x3cc855['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x3fca03])=>{const _0x4be92f=_0x3cc855['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x55a717=_0x3fca03['start'],_0x4e47ab=_0x3fca03['end'];const _0x59d1b2=_0x15d294['model']['schema']['getNearestSelectionRange'](_0x55a717,'backward'),_0x3ead91=_0x15d294['model']['schema']['getNearestSelectionRange'](_0x4e47ab,'forward');_0x59d1b2['isCollapsed']&&(_0x55a717=_0x59d1b2['start']),_0x3ead91['isCollapsed']&&(_0x4e47ab=_0x3ead91['end']),_0x4be92f([_0x15d294['model']['createRange'](_0x55a717,_0x4e47ab)]);}),_0x3cc855['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x650e63),_0x3cc855['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x650e63)),_0x15d294['plugins']['has']('ImageCaptionEditing')&&(_0x3cc855['enableCommand']('toggleImageCaption',(_0x875548,_0x146a52)=>{const _0x590591=_0x15d294['plugins']['get']('ImageCaptionUtils');let _0xdaffcb=_0x16b0ee['getClosestSelectedImageElement'](_0x15d294['model']['document']['selection']),_0x4ebec2=_0x590591['getCaptionFromImageModelElement'](_0xdaffcb);_0x15d294['model']['change'](()=>{if(_0x4ebec2)return void _0x3cc855['markDeletion'](_0x15d294['model']['createRangeOn'](_0x4ebec2));const _0x4e1de4=_0x16b0ee['isBlockImage'](_0xdaffcb);_0x875548(_0x146a52),_0xdaffcb=_0x16b0ee['getClosestSelectedImageElement'](_0x15d294['model']['document']['selection']),_0x4ebec2=_0x590591['getCaptionFromImageModelElement'](_0xdaffcb),_0x3cc855['markInsertion'](_0x15d294['model']['createRangeOn'](_0x4ebec2),_0x4e1de4?null:'imageCaption');});}),_0x3cc855['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x650e63));const _0x2a370b=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x1132db(_0x40c26b,_0x43618a){const _0x5b6502=_0x2a370b['findIndex'](({type:_0x20fba5,subType:_0x4b92da})=>_0x40c26b['type']==_0x20fba5&&_0x40c26b['subType']==_0x4b92da),_0x2bbff4=_0x2a370b['findIndex'](({type:_0x26dbdb,subType:_0x5dad76})=>_0x43618a['type']==_0x26dbdb&&_0x43618a['subType']==_0x5dad76);if(_0x5b6502<0x0||_0x2bbff4<0x0)return!0x1;const _0x453558=_0x40c26b['getFirstRange'](),_0x526423=_0x43618a['getFirstRange']();if((0x0==_0x5b6502||0x1==_0x5b6502)&&0x2==_0x2bbff4&&_0x453558['isIntersecting'](_0x526423))return!0x0;if(0x2==_0x5b6502&&0x3==_0x2bbff4){const _0x27fb46=_0x3cc855['_findSuggestions'](_0x453558,'insertion')['filter'](({suggestion:_0x2bf5a4,meta:_0x53ebdc})=>_0x53ebdc['isOwn']&&'convertInlineImageToBlock'==_0x2bf5a4['subType']);if(_0x27fb46['length']>0x1&&_0x526423['end']['isEqual'](_0x453558['start']))return!0x0;if(0x1==_0x27fb46['length']&&(_0x453558['start']['isEqual'](_0x526423['end'])||_0x453558['end']['isEqual'](_0x526423['start'])))return!0x0;}if(0x3==_0x5b6502&&0x3==_0x2bbff4&&_0x453558['start']['isBefore'](_0x526423['start'])){const _0x2e0be1=_0x453558['end']['nodeAfter'],_0x1e28aa=_0x526423['start']['nodeBefore'];return _0x16b0ee['isBlockImage'](_0x2e0be1)&&_0x2e0be1===_0x1e28aa;}return!0x1;}function _0x650e63(_0x5003bb,_0x1b2ada){return _0x1132db(_0x5003bb,_0x1b2ada)?[_0x5003bb,_0x1b2ada]:_0x1132db(_0x1b2ada,_0x5003bb)?[_0x1b2ada,_0x5003bb]:null;}_0x15d294['plugins']['has']('ImageResize')&&(_0x3cc855['enableDefaultAttributesIntegration']('resizeImage'),_0x3cc855['descriptionFactory']['registerAttributeLabel']('resizedWidth',_0x2ede81(_0x18e407,'FORMAT_IMAGE_SIZE'))),_0x15d294['plugins']['has']('ImageTextAlternativeEditing')&&_0x3cc855['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x15d294['plugins']['has']('PictureEditing')&&_0x3cc855['descriptionFactory']['registerDescriptionCallback'](_0x37b8e0=>{if('attribute'!=_0x37b8e0['type'])return;const {data:_0x3590d4}=_0x37b8e0;return _0x3590d4&&'sources'==_0x3590d4['key']?{'type':'format','content':''}:void 0x0;}),_0x15d294['plugins']['has']('ImageSizeAttributes')&&_0x3cc855['descriptionFactory']['registerDescriptionCallback'](_0x13b708=>{if('attribute'!=_0x13b708['type'])return;const {data:_0x211d87}=_0x13b708;return!_0x211d87||'width'!=_0x211d87['key']&&'height'!=_0x211d87['key']?void 0x0:{'type':'format','content':''};}),_0x3cc855['descriptionFactory']['registerDescriptionCallback'](_0x13d132=>{if(!!_0x2a370b['find'](({type:_0x539f13,subType:_0x32f1f7})=>_0x13d132['type']==_0x539f13&&_0x13d132['subType']==_0x32f1f7))return _0x13d132['previous']?{}:void 0x0;}),_0x3cc855['descriptionFactory']['registerDescriptionCallback'](_0x1df07f=>{if('insertion'==_0x1df07f['type']||'deletion'==_0x1df07f['type']){const _0x1764f2=_0x1df07f['getContainedElement']();if(_0x1764f2&&_0x1764f2['is']('element','caption'))return{'type':'insertion'==_0x1df07f['type']?'addObject':'removeObject','element':_0x1764f2,'quantity':0x1};}}),_0x3cc855['descriptionFactory']['registerDescriptionCallback'](_0x1bba05=>'formatBlock'==_0x1bba05['type']&&'convertInlineImageToBlock'==_0x1bba05['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x1bba05['type']&&'convertBlockImageToInline'==_0x1bba05['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x3cc855['descriptionFactory']['registerDescriptionCallback'](_0x133ccf=>{if('attribute'!=_0x133ccf['type'])return;const {data:_0x27b5d1}=_0x133ccf;if(!_0x27b5d1||'alt'!=_0x27b5d1['key'])return;const _0xde2f38=_0x27b5d1['newValue'];return _0xde2f38?{'type':'format','content':_0x2ede81(_0x18e407,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0xde2f38+'\x22')}:{'type':'format','content':_0x2ede81(_0x18e407,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x45831f=this['editor'],_0x2b2f8f=_0x45831f['locale'];_0x45831f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1d4dfa=>{if('formatBlock'!=_0x1d4dfa['type']&&'formatInline'!=_0x1d4dfa['type'])return;const {data:_0x17d0cb}=_0x1d4dfa;if(_0x17d0cb){if('imageTextAlternative'==_0x17d0cb['commandName']){const _0x4deebb=_0x17d0cb['commandParams'][0x0]['newValue'];return _0x4deebb?{'type':'format','content':_0x2ede81(_0x2b2f8f,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4deebb+'\x22')}:{'type':'format','content':_0x2ede81(_0x2b2f8f,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x17d0cb['commandName']){const _0x37ad8d=_0x17d0cb['commandParams'][0x0]['width'];return _0x37ad8d?{'type':'format','content':_0x2ede81(_0x2b2f8f,'*Set\x20image\x20width:*\x20%0',_0x37ad8d)}:{'type':'format','content':_0x2ede81(_0x2b2f8f,'*Reset\x20image\x20width*')};}}});}}class _0x5d5550 extends _0x31c75c['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x4b0770=this['editor']['locale'],_0x5850a5=this['editor']['plugins']['get']('TrackChangesEditing');_0x5850a5['enableDefaultAttributesIntegration']('replaceImageSource'),_0x5850a5['descriptionFactory']['registerDescriptionCallback'](_0x2ba105=>{if('attribute'!=_0x2ba105['type'])return;const {data:_0x4ee873}=_0x2ba105;return _0x4ee873&&'src'==_0x4ee873['key']?_0x4ee873['newValue']&&_0x4ee873['oldValue']?{'type':'format','content':_0x2ede81(_0x4b0770,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x4774cc=this['editor']['plugins']['get']('TrackChangesEditing');_0x4774cc['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x4774cc['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x4774cc['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x4774cc['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2a5877=this['editor'],_0x1883fe=_0x2a5877['locale'];_0x2a5877['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xed0e75=>{if('formatBlock'!=_0xed0e75['type']&&'formatInline'!=_0xed0e75['type'])return;const {data:_0x257e68}=_0xed0e75;if(!_0x257e68||'replaceImageSource'!=_0x257e68['commandName'])return;return{'type':'format','content':_0x2ede81(_0x1883fe,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x31c75c['Plugin']{['afterInit'](){const _0x9259ce=this['editor'];if(!_0x9259ce['plugins']['has']('ImageStyleEditing'))return;const _0x2330bc=_0x9259ce['plugins']['get']('TrackChangesEditing'),_0x5d7f34=_0x9259ce['plugins']['get']('ImageUtils'),_0x19dc0c={};_0x2330bc['enableCommand']('imageStyle',(_0x312401,_0xe255fc)=>{const _0x2b1630=_0x9259ce['plugins']['get']('Users')['me'],_0x5295a2=_0x9259ce['commands']['get']('imageStyle');let _0x2077a8=_0x5d7f34['getClosestSelectedImageElement'](_0x9259ce['model']['document']['selection']),_0x11e2be=_0x9259ce['model']['createRangeOn'](_0x2077a8),_0x17432f=_0x5295a2['value'];if(_0x17432f==_0xe255fc['value'])return;const _0x3390fc={'commandName':'imageStyle','commandParams':[_0xe255fc],'formatGroupId':_0x31c75c['uid']()};_0x9259ce['model']['change'](()=>{if(_0x2330bc['getSuggestions']()['filter'](_0x31576f=>_0x31576f['isInContent']&&_0x2b1630==_0x31576f['author']&&('formatBlock'==_0x31576f['type']||'formatInline'==_0x31576f['type'])&&('imageStylePreApply'==_0x31576f['subType']||'imageStylePostApply'==_0x31576f['subType'])&&_0x31576f['getFirstRange']()['isEqual'](_0x11e2be))['forEach'](_0x44656d=>_0x2330bc['discardSuggestion'](_0x44656d['head'])),_0x2077a8=_0x5d7f34['getClosestSelectedImageElement'](_0x9259ce['model']['document']['selection']),_0x11e2be=_0x9259ce['model']['createRangeOn'](_0x2077a8),_0x5295a2['refresh'](),_0x9259ce['commands']['get']('imageTypeInline')['refresh'](),_0x9259ce['commands']['get']('imageTypeBlock')['refresh'](),_0x17432f=_0x5295a2['value'],_0x17432f!=_0xe255fc['value'])return _0x5d7f34['isInlineImage'](_0x2077a8)&&_0x5295a2['shouldConvertImageType'](_0xe255fc['value'],_0x2077a8)?(_0x312401({..._0xe255fc,'setImageSizes':!0x1}),_0x2077a8=_0x5d7f34['getClosestSelectedImageElement'](_0x9259ce['model']['document']['selection']),void _0x2330bc['markBlockFormat'](_0x2077a8,{..._0x3390fc,'commandReversedParams':[{'value':_0x17432f||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x5d7f34['isBlockImage'](_0x2077a8)?_0x2330bc['markBlockFormat'](_0x2077a8,_0x3390fc,[],'imageStylePostApply'):_0x2330bc['markInlineFormat'](_0x11e2be,_0x3390fc,'imageStylePostApply'));});});for(const _0x194bbd of _0x9259ce['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x19dc0c[_0x194bbd['name']]=_0x194bbd['title']['toLowerCase']();_0x2330bc['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x2330bc['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x2330bc['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x2330bc['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x4516d4])=>{_0x5d7f34['setImageNaturalSizeAttributes'](_0x4516d4['getContainedElement']());}),_0x2330bc['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x4c88bd,_0x56e62e)=>{_0x2330bc['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x4c88bd,{'commandName':_0x56e62e['commandName'],'commandParams':_0x56e62e['commandReversedParams']});}),_0x2330bc['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x5d6af5,_0x4fa66c){if(_0x21a7cf(_0x5d6af5,_0x4fa66c))return[_0x5d6af5,_0x4fa66c];if(_0x21a7cf(_0x4fa66c,_0x5d6af5))return[_0x4fa66c,_0x5d6af5];return null;});const _0x5704ef=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x21a7cf(_0x4e00ca,_0x2ef870){const _0x13b1f9=_0x5704ef['findIndex'](({type:_0x28ea98,subType:_0x918728})=>_0x4e00ca['type']==_0x28ea98&&_0x4e00ca['subType']==_0x918728),_0x378481=_0x5704ef['findIndex'](({type:_0x1083f7,subType:_0x4e8465})=>_0x2ef870['type']==_0x1083f7&&_0x2ef870['subType']==_0x4e8465);if(_0x13b1f9<0x0||_0x378481<0x0)return!0x1;const _0x1fbd36=_0x4e00ca['getFirstRange'](),_0x2820ce=_0x2ef870['getFirstRange']();if((0x0==_0x13b1f9||0x1==_0x13b1f9)&&0x2==_0x378481&&_0x1fbd36['isIntersecting'](_0x2820ce))return!0x0;if(0x2==_0x13b1f9&&0x3==_0x378481){const _0x41a196=_0x2330bc['_findSuggestions'](_0x1fbd36,'insertion')['filter'](({suggestion:_0x5b3b3b,meta:_0x4afd90})=>_0x4afd90['isOwn']&&'convertInlineImageToBlock'==_0x5b3b3b['subType']);if(_0x41a196['length']>0x1&&_0x2820ce['end']['isEqual'](_0x1fbd36['start']))return!0x0;if(0x1==_0x41a196['length']&&(_0x1fbd36['start']['isEqual'](_0x2820ce['end'])||_0x1fbd36['end']['isEqual'](_0x2820ce['start'])))return!0x0;}if(0x3==_0x13b1f9&&0x3==_0x378481&&_0x1fbd36['start']['isBefore'](_0x2820ce['start'])){const _0x2da1ed=_0x1fbd36['end']['nodeAfter'],_0x8244e8=_0x2820ce['start']['nodeBefore'];return _0x5d7f34['isBlockImage'](_0x2da1ed)&&_0x2da1ed===_0x8244e8;}return!0x1;}_0x9259ce['model']['document']['registerPostFixer'](()=>{let _0x35c4d7=!0x1;const _0xaf060e=Array['from'](_0x9259ce['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2c1e9c,data:_0x185d37}of _0xaf060e){const {group:_0x299f35,type:_0x156bfb,subType:_0x4c4122,id:_0x2427aa}=_0x518fa7(_0x2c1e9c);if('suggestion'==_0x299f35&&_0x2330bc['hasSuggestion'](_0x2427aa)){if('formatBlock'==_0x156bfb&&('imageStylePreApply'==_0x4c4122||'imageStylePostApply'==_0x4c4122)){const _0x266488=_0x2330bc['getSuggestion'](_0x2427aa);if(_0x185d37['newRange']){const _0x4d57f6=_0x266488['getFirstRange']()['getContainedElement']();if(_0x5d7f34['isBlockImage'](_0x4d57f6))continue;_0x2330bc['discardSuggestion'](_0x266488),_0x35c4d7=!0x0;}}if('insertion'==_0x156bfb&&'imageCaption'==_0x4c4122&&!_0x185d37['newRange']){const _0x46a1ea=_0x2330bc['getSuggestion'](_0x2427aa);_0x46a1ea['next']&&_0x46a1ea['next']['isInContent']&&(_0x2330bc['discardSuggestion'](_0x46a1ea['next']),_0x35c4d7=!0x0);}}}return _0x35c4d7;}),this['_registerLegacyDescription'](_0x19dc0c);}['_registerLegacyDescription'](_0x2044da){const _0x260b92=this['editor'],_0x5f7bdb=_0x260b92['locale'];_0x260b92['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3bd447=>{if('formatBlock'!=_0x3bd447['type']&&'formatInline'!=_0x3bd447['type'])return;const {data:_0x2fb8a1}=_0x3bd447;if(!_0x2fb8a1||'imageStyle'!=_0x2fb8a1['commandName'])return;const _0x117263=_0x2fb8a1['commandParams'][0x0]['value'];return _0x2dce86('side'===_0x117263?_0x2ede81(_0x5f7bdb,'FORMAT_SIDE_IMAGE'):_0x2044da[_0x117263]||_0x117263);function _0x2dce86(_0x2952d0){return{'type':'format','content':_0x2ede81(_0x5f7bdb,'*Format:*\x20%0',_0x2952d0)};}});}}class TrackChangesImportWord extends _0x31c75c['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x5561c5){super(_0x5561c5),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x2cf290=this['editor'],_0x29d756=_0x2cf290['commands']['get']('importWord'),_0x4976b0=_0x2cf290['commands']['get']('trackChanges');_0x29d756&&(_0x29d756['on']('execute',(_0x36253b,[,_0x14169f])=>{this['_trackChangesValueDuringImport']=_0x4976b0['value'],_0x14169f['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x29d756,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x29d756,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x4976b0['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x2cf290['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x5ac209,_0x627efb){const {suggestions:_0x68e450}=_0x627efb,_0x1471f7=this['editor']['commands']['get']('trackChanges'),_0x250a59=_0x1471f7['value'];this['_trackChangesValueDuringImport']!==_0x250a59&&(_0x1471f7['execute'](),this['_trackChangesExecuted']=!0x0),_0x68e450&&_0x68e450['forEach'](({id:_0x2ac6e9,type:_0x192651,author:_0x5b71d5,created_at:_0x468caa})=>{const _0x31e3d3={'id':_0x2ac6e9,'type':_0x192651,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5b71d5,'createdAt':_0x468caa?new Date(_0x468caa):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x31e3d3);});}}class TrackChangesIndent extends _0x31c75c['Plugin']{['afterInit'](){const _0x55ba24=this['editor'],_0x1d6bd3=_0x55ba24['plugins']['get']('TrackChangesEditing');if(_0x55ba24['plugins']['has']('IndentEditing')&&(_0x1d6bd3['enableCommand']('indent'),_0x1d6bd3['enableCommand']('outdent')),_0x55ba24['plugins']['has']('IndentBlock')){for(const _0x25079e of['indentBlock','outdentBlock'])_0x1d6bd3['enableDefaultAttributesIntegration'](_0x25079e);if(_0x55ba24['plugins']['has']('ListEditing')){for(const _0x50d5de of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x1d6bd3['enableDefaultAttributesIntegration'](_0x50d5de);}}const _0x21e785=_0x55ba24['locale'];_0x1d6bd3['descriptionFactory']['registerAttributeLabel']('blockIndent',_0x2ede81(_0x21e785,'FORMAT_INDENT')),_0x1d6bd3['descriptionFactory']['registerAttributeLabel']('blockIndentList',_0x2ede81(_0x21e785,'FORMAT_INDENT')),_0x1d6bd3['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',_0x2ede81(_0x21e785,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5bd2c1=this['editor'],_0x310493=_0x5bd2c1['locale'],_0x54b3f8=_0x5bd2c1['plugins']['get']('TrackChangesEditing');_0x54b3f8['descriptionFactory']['registerDescriptionCallback'](_0xecca80=>{if('formatBlock'!=_0xecca80['type'])return;const {data:_0x1b3615}=_0xecca80;if(!_0x1b3615)return;if('indentBlock'!=_0x1b3615['commandName']&&'outdentBlock'!=_0x1b3615['commandName'])return;const _0x56ad2e=_0xecca80['getItems']()[0x0],_0x2fbf8e=_0x54b3f8['descriptionFactory']['getItemLabel'](_0x56ad2e);return'indentBlock'==_0x1b3615['commandName']?{'type':'format','content':_0x2ede81(_0x310493,'*Indent:*\x20%0',_0x2fbf8e)}:'outdentBlock'==_0x1b3615['commandName']?{'type':'format','content':_0x2ede81(_0x310493,'*Outdent:*\x20%0',_0x2fbf8e)}:void 0x0;});}}class TrackChangesInputCommand extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x563347 extends _0x31c75c['Plugin']{['afterInit'](){const _0x37d46c=this['editor'];if(!_0x37d46c['plugins']['has']('LinkEditing'))return;const _0x4512e9=_0x37d46c['plugins']['get']('TrackChangesEditing'),_0x488fe7=_0x37d46c['commands']['get']('link');_0x4512e9['enableDefaultAttributesIntegration']('link'),_0x4512e9['enableDefaultAttributesIntegration']('unlink');for(const _0x239b98 of _0x488fe7['manualDecorators'])_0x4512e9['descriptionFactory']['registerAttributeLabel'](_0x239b98['id'],'link\x20('+_0x239b98['label']['toLowerCase']()+')');_0x4512e9['descriptionFactory']['registerDescriptionCallback'](_0x21dece=>{if('attribute'!=_0x21dece['type'])return;const {data:_0x5e2af7}=_0x21dece;if(!_0x5e2af7||'linkHref'!=_0x5e2af7['key'])return;const _0x330290=_0x5e2af7['newValue'],_0x3a5c01=_0x37d46c['locale'];return{'type':'format','content':null==_0x330290?_0x2ede81(_0x3a5c01,'*Remove\x20link*'):_0x2ede81(_0x3a5c01,'*Set\x20link:*\x20%0','\x22'+_0x330290+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x984084=this['editor'],_0x395507=_0x984084['locale'];_0x984084['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2c2f8e=>{if('formatInline'!=_0x2c2f8e['type'])return;const {data:_0x5a4102}=_0x2c2f8e;if(_0x5a4102){if('link'==_0x5a4102['commandName']){const _0x53804c=_0x5a4102['commandParams'][0x0];return{'type':'format','content':_0x2ede81(_0x395507,'*Set\x20link:*\x20%0','\x22'+_0x53804c+'\x22')};}return'unlink'==_0x5a4102['commandName']?{'type':'format','content':_0x2ede81(_0x395507,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x31c75c['Plugin']{['afterInit'](){const _0x299dc4=this['editor'],_0x5cdf24=_0x299dc4['locale'];if(!_0x299dc4['plugins']['has']('LegacyListEditing'))return;const _0x1b5153=_0x299dc4['plugins']['get']('TrackChangesEditing'),_0x455b37=_0x299dc4['plugins']['has']('LegacyTodoListEditing');function _0x2f5144(_0x382af7){return()=>{const _0x2ceb42=_0x299dc4['model']['document']['selection'],_0x505f37=_0x299dc4['commands']['get'](_0x382af7);if(_0x505f37['value'])return void _0x299dc4['execute']('paragraph',{});const _0xe33ecf=_0x382af7['slice'](0x0,-0x4),_0x210ec7=function(_0xc6b1b3,_0x1bd842,_0x1ce5cd){let _0x4c5ead=Array['from'](_0xc6b1b3)['filter'](_0x2afd22=>function(_0x3be93a,_0x8779f2){return _0x8779f2['checkChild'](_0x3be93a['parent'],'listItem')&&!_0x8779f2['isObject'](_0x3be93a);}(_0x2afd22,_0x1ce5cd));_0x4c5ead=_0x4c5ead['filter'](_0x508ae5=>!_0x508ae5['is']('element','listItem')||_0x508ae5['getAttribute']('listType')!=_0x1bd842);const _0xfaf409=new Set();for(const _0xc0fc2b of _0x4c5ead)_0xc0fc2b['is']('element','listItem')?_0xfaf409['add'](_0x34bfcb(_0xc0fc2b)):_0xfaf409['add'](_0xc0fc2b);return Array['from'](_0xfaf409);}(_0x2ceb42['getSelectedBlocks'](),_0xe33ecf,_0x299dc4['model']['schema']);_0x299dc4['model']['change'](()=>{for(const _0x2b6296 of _0x210ec7)_0x1b5153['markBlockFormat'](_0x2b6296,{'commandName':_0x382af7,'commandParams':[{'forceValue':!_0x505f37['value']}],'formatGroupId':'blockName'},_0x3c002d(_0x2b6296));});};}function _0x3c734e(_0x4334a7){return()=>{const _0x4ce048=function(_0x24b84e){let _0x14db4d=Array['from'](_0x24b84e);const _0x5325e9=_0x14db4d['findIndex'](_0x5e5dc1=>'listItem'!=_0x5e5dc1['name']);return _0x5325e9>-0x1&&(_0x14db4d=_0x14db4d['slice'](0x0,_0x5325e9)),_0x14db4d;}(_0x299dc4['model']['document']['selection']['getSelectedBlocks']()),_0x1e33e3=_0x299dc4['model']['createRange'](_0x299dc4['model']['createPositionAt'](_0x4ce048[0x0],'before'),_0x299dc4['model']['createPositionAt'](_0x4ce048[_0x4ce048['length']-0x1],'end'));_0x299dc4['model']['change'](()=>{_0x1b5153['markBlockFormat'](_0x1e33e3,{'commandName':_0x4334a7,'commandParams':[],'formatGroupId':'listIndent'},function(_0x285a60){const _0x23be1e=new Set();for(const _0x463038 of _0x285a60){let _0x345d95=_0x463038['nextSibling'];for(;_0x345d95&&_0x345d95['getAttribute']('listIndent')>_0x463038['getAttribute']('listIndent');)_0x23be1e['add'](_0x345d95),_0x345d95=_0x345d95['nextSibling'];}return Array['from'](_0x23be1e);}(_0x4ce048));});};}_0x1b5153['enableCommand']('numberedList',_0x2f5144('numberedList')),_0x1b5153['enableCommand']('bulletedList',_0x2f5144('bulletedList')),_0x455b37&&_0x1b5153['enableCommand']('todoList',_0x2f5144('todoList')),_0x1b5153['enableCommand']('indentList',_0x3c734e('indentList')),_0x1b5153['enableCommand']('outdentList',_0x3c734e('outdentList')),_0x455b37&&_0x1b5153['enableCommand']('checkTodoList',()=>{const _0x49aef7=_0x299dc4['commands']['get']('checkTodoList'),_0x4fda1a=Array['from'](_0x49aef7['_selectedElements']);_0x4fda1a['filter'](_0x56165d=>_0x56165d['getAttribute']('todoListChecked')!=_0x49aef7['value']),_0x299dc4['model']['change'](()=>{for(const _0x11b333 of _0x4fda1a)_0x1b5153['markBlockFormat'](_0x11b333,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x49aef7['value']}]});});}),_0x1b5153['descriptionFactory']['registerElementLabel']('listItem',_0x5df5a1=>_0x2ede81(_0x5cdf24,'ELEMENT_LIST_ITEM',_0x5df5a1)),_0x1b5153['descriptionFactory']['registerDescriptionCallback'](_0x272d21=>{if('formatBlock'!=_0x272d21['type']&&'formatInline'!=_0x272d21['type'])return;const {data:_0x4c3ce7}=_0x272d21;if(_0x4c3ce7){if('numberedList'==_0x4c3ce7['commandName']||'bulletedList'==_0x4c3ce7['commandName']||'todoList'==_0x4c3ce7['commandName'])switch(_0x4c3ce7['commandName']['replace']('List','')){case'bulleted':return _0x32f13c(_0x2ede81(_0x5cdf24,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x32f13c(_0x2ede81(_0x5cdf24,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x32f13c(_0x2ede81(_0x5cdf24,'ELEMENT_TODO_LIST'));}if('indentList'==_0x4c3ce7['commandName'])return{'type':'format','content':_0x2ede81(_0x5cdf24,'*Indent:*\x20%0',_0x2ede81(_0x5cdf24,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x4c3ce7['commandName'])return{'type':'format','content':_0x2ede81(_0x5cdf24,'*Outdent:*\x20%0',_0x2ede81(_0x5cdf24,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x4c3ce7['commandName'])return _0x4c3ce7['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x5cdf24,'*Check\x20item*')}:{'type':'format','content':_0x2ede81(_0x5cdf24,'*Uncheck\x20item*')};}function _0x32f13c(_0xf46264){return{'type':'format','content':_0x2ede81(_0x5cdf24,'*Change\x20to:*\x20%0',_0xf46264)};}});}}function _0x34bfcb(_0x51c4e6){const _0x3e519c=_0x51c4e6['getAttribute']('listIndent');if(0x0==_0x3e519c)return _0x51c4e6;let _0xe3fc6f=_0x51c4e6;for(;_0x51c4e6['previousSibling']&&_0x51c4e6['previousSibling']['is']('element','listItem');){const _0x6595ee=_0x51c4e6['previousSibling']['getAttribute']('listIndent');if(_0x6595ee==_0x3e519c)_0xe3fc6f=_0x51c4e6['previousSibling'];else{if(_0x6595ee<_0x3e519c)break;}_0x51c4e6=_0x51c4e6['previousSibling'];}return _0xe3fc6f;}function _0x3c002d(_0x7affe2){const _0x8d21a6=[];if(_0x7affe2['is']('element','listItem')&&_0x7affe2['getAttribute']('listIndent')>0x0){let _0x2dca16=_0x7affe2['nextSibling'];for(;_0x2dca16&&'listItem'==_0x2dca16['name']&&_0x2dca16['getAttribute']('listIndent')==_0x7affe2['getAttribute']('listIndent');)_0x8d21a6['push'](_0x2dca16),_0x2dca16=_0x2dca16['nextSibling'];}return _0x8d21a6;}class TrackChangesLegacyListProperties extends _0x31c75c['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x511672=this['editor']['config']['get']('list.properties'),_0x16c3ea=this['editor']['plugins']['get']('TrackChangesEditing');_0x511672['styles']&&_0x16c3ea['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x511672['reversed']&&_0x16c3ea['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x511672['startIndex']&&_0x16c3ea['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x16c3ea['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x153a77,_0x1ee287={}){const _0x4a7b15=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2227f1=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x4a7b15['markMultiRangeBlockFormat'](_0x2227f1,{'commandName':'listStyle','commandParams':[{'type':_0x1ee287['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x26c325,_0x204ede={}){const _0x24f7fc=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5c5916=this['_getSuggestionBlocks'](_0x349372=>_0x349372['is']('element','listItem')&&'numbered'===_0x349372['getAttribute']('listType'));if(_0x5c5916['length']<0x1)return;const _0x38f529=_0x5c5916['map'](_0x3d5ac8=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3d5ac8,'before'),this['editor']['model']['createPositionAt'](_0x3d5ac8,0x0)));this['editor']['model']['change'](()=>{_0x24f7fc['markMultiRangeBlockFormat'](_0x38f529,{'commandName':'listReversed','commandParams':[{'reversed':_0x204ede['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x554226,_0x124ee4={}){const _0x5f222e=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5e0840=this['_getSuggestionBlocks'](_0x5304ba=>_0x5304ba['is']('element','listItem')&&'numbered'===_0x5304ba['getAttribute']('listType'));if(_0x5e0840['length']<0x1)return;const _0x398218=_0x5e0840['map'](_0x29e957=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x29e957,'before'),this['editor']['model']['createPositionAt'](_0x29e957,0x0)));this['editor']['model']['change'](()=>{_0x5f222e['markMultiRangeBlockFormat'](_0x398218,{'commandName':'listStart','commandParams':[{'startIndex':_0x124ee4['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x5198bf){if('formatBlock'!=_0x5198bf['type']&&'formatInline'!=_0x5198bf['type'])return;const _0x4a9714=this['editor']['locale'],{data:_0x44a611}=_0x5198bf;if(!_0x44a611)return;let _0x18b0fa,_0x3d8790;switch(_0x44a611['commandName']){case'listStyle':_0x18b0fa='*Change\x20to:*\x20%0',_0x3d8790={'type':'format','content':_0x2ede81(_0x4a9714,_0x18b0fa,_0x2ede81(_0x4a9714,this['_getTranslationKeyForListStyle'](_0x44a611['commandParams'][0x0]['type'])))};break;case'listReversed':_0x18b0fa=_0x44a611['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x3d8790={'type':'format','content':_0x2ede81(_0x4a9714,_0x18b0fa)};break;case'listStart':_0x18b0fa='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3d8790={'type':'format','content':_0x2ede81(_0x4a9714,_0x18b0fa,_0x44a611['commandParams'][0x0]['startIndex'])};}return _0x3d8790;}['_getSuggestionBlocksForListStyle'](){const _0x35f95a=this['editor']['plugins']['get']('LegacyListUtils');let _0x15c60d=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x15c60d[0x0]?.['is']('element','listItem')&&_0x15c60d['unshift'](..._0x35f95a['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x15c60d[_0x15c60d['length']-0x1]?.['is']('element','listItem')&&_0x15c60d['push'](..._0x35f95a['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x15c60d=[...new Set(_0x15c60d)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x15c60d=_0x15c60d['filter'](_0x5193ec=>_0x5193ec['is']('element','listItem'))),_0x15c60d;}['_getSuggestionBlocks'](_0x76cd7b){const _0x2e726d=this['editor']['plugins']['get']('LegacyListUtils');let _0x2aac5b=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x76cd7b)['map'](_0x6522a0=>{const _0x28d140=this['editor']['model']['createPositionAt'](_0x6522a0,0x0);return[..._0x2e726d['getSiblingNodes'](_0x28d140,'backward'),..._0x2e726d['getSiblingNodes'](_0x28d140,'forward')];})['flat']();return _0x2aac5b=[...new Set(_0x2aac5b)],_0x2aac5b;}['_getTranslationKeyForListStyle'](_0x392e98){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x392e98)||'default')['toUpperCase']()+'_LIST_'+_0x392e98['toUpperCase']()['replace'](/-/g,'_');}}class _0x4b3b22 extends _0x31c75c['Plugin']{['afterInit'](){const _0x3bab24=this['editor'];if(!_0x3bab24['plugins']['has']('MediaEmbedEditing'))return;const _0x5a1171=_0x3bab24['plugins']['get']('TrackChangesEditing'),_0x24953f=_0x3bab24['locale'];_0x5a1171['enableCommand']('mediaEmbed'),_0x5a1171['descriptionFactory']['registerElementLabel']('media',_0x34474f=>_0x2ede81(_0x24953f,'ELEMENT_MEDIA',_0x34474f));}}class TrackChangesMention extends _0x31c75c['Plugin']{['afterInit'](){const _0x1c77a3=this['editor'];_0x1c77a3['plugins']['has']('MentionEditing')&&_0x1c77a3['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x55af12 extends _0x31c75c['Plugin']{['afterInit'](){const _0xbfa0c5=this['editor'];if(!_0xbfa0c5['plugins']['has']('MergeFieldsEditing'))return;const _0x3a169c=_0xbfa0c5['plugins']['get']('TrackChangesEditing'),_0x5af554=_0xbfa0c5['locale'];_0x3a169c['enableCommand']('insertMergeField'),_0x3a169c['enableCommand']('insertMergeFieldBlock'),_0x3a169c['enableCommand']('insertMergeFieldImage'),_0x3a169c['descriptionFactory']['registerElementLabel']('mergeField',_0x4e56a4=>_0x2ede81(_0x5af554,'ELEMENT_MERGE_FIELD',_0x4e56a4)),_0x3a169c['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x164c68=>_0x2ede81(_0x5af554,'ELEMENT_MERGE_FIELD',_0x164c68)),_0x3a169c['descriptionFactory']['registerDescriptionCallback'](_0x39944c=>{if('insertion'!=_0x39944c['type']&&'deletion'!=_0x39944c['type'])return;const _0x388e8b=_0x39944c['getContainedElement']();if(null==_0x388e8b)return;const _0xe741d3=_0xbfa0c5['plugins']['get']('MergeFieldsEditing');let _0x3f76b;switch(_0xe741d3['getMergeFieldType'](_0x388e8b)){case null:return;case'image':{const _0x1c018e=_0xe741d3['unwrapAffixes'](_0x388e8b['getAttribute']('src'));_0x3f76b=_0xe741d3['getLabel'](_0x1c018e)||_0x1c018e;break;}default:{const _0xa29caf=_0x388e8b['getAttribute']('id');_0x3f76b=_0xe741d3['getLabel'](_0xa29caf)||_0xa29caf;break;}}return'insertion'==_0x39944c['type']?{'type':'insertion','content':_0x2ede81(_0x5af554,'*Insert:*\x20%0','\x22'+_0x3f76b+'\x22\x20'+_0x2ede81(_0x5af554,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':_0x2ede81(_0x5af554,'*Remove:*\x20%0','\x22'+_0x3f76b+'\x22\x20'+_0x2ede81(_0x5af554,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x31c75c['Plugin']{['afterInit'](){const _0x3e7f8b=this['editor'],_0x3fd123=_0x3e7f8b['plugins']['get']('TrackChangesEditing');_0x3e7f8b['plugins']['has']('MultiLevelList')&&(_0x3fd123['enableDefaultAttributesIntegration']('multiLevelList'),_0x3fd123['descriptionFactory']['registerDescriptionCallback'](_0x527687=>this['handleDescriptions'](_0x527687)));}['handleDescriptions'](_0x3a1445){const _0x724917=this['editor']['locale'],{data:_0x53d379}=_0x3a1445,_0x18e331={'type':'format','content':''};if(_0x53d379&&'listMarkerStyle'==_0x53d379['key']){if(!_0x53d379['oldValue'])return{'type':'format','content':_0x2ede81(_0x724917,'*Set\x20format:*\x20%0',_0x2ede81(_0x724917,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x53d379['newValue']+')'};if(!_0x53d379['newValue']){let _0x41cf12=_0x3a1445['head'];for(;_0x41cf12;){if(_0x41cf12['data']&&'listType'==_0x41cf12['data']['key']&&_0x41cf12['data']['newValue'])return _0x18e331;_0x41cf12=_0x41cf12['next'];}return{'type':'format','content':_0x2ede81(_0x724917,'*Remove\x20format:*\x20%0',_0x2ede81(_0x724917,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x53d379['oldValue']+')'};}}}}class _0x58e83c extends _0x31c75c['Plugin']{['afterInit'](){const _0x114778=this['editor'];if(!_0x114778['plugins']['has']('PageBreakEditing'))return;_0x114778['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0xf933e0=_0x114778['plugins']['get']('TrackChangesEditing'),_0x46ed8b=_0x114778['locale'];_0xf933e0['descriptionFactory']['registerElementLabel']('pageBreak',_0x2f122d=>_0x2ede81(_0x46ed8b,'ELEMENT_PAGE_BREAK',_0x2f122d));}}class _0x10f381 extends _0x31c75c['Plugin']{['afterInit'](){const _0x362c7e=this['editor'];if(!_0x362c7e['plugins']['has']('Paragraph'))return;const _0x5ca519=_0x362c7e['locale'],_0x42f01f=_0x362c7e['plugins']['get']('TrackChangesEditing');_0x42f01f['descriptionFactory']['registerElementLabel']('paragraph',_0x46ca53=>_0x2ede81(_0x5ca519,'ELEMENT_PARAGRAPH',_0x46ca53)),_0x42f01f['enableDefaultAttributesIntegration']('paragraph'),_0x42f01f['enableCommand']('insertParagraph');const _0x59d66e=_0x42f01f['descriptionFactory'];_0x59d66e['registerDescriptionCallback'](_0x5639f6=>{if('insertion'!==_0x5639f6['type'])return;const {start:_0x11e0ba,end:_0x34808c}=_0x5639f6['getFirstRange']();if(!_0x11e0ba['isTouching'](_0x34808c)||!_0x11e0ba['nodeAfter'])return;const _0x545f8c=_0x362c7e['model']['schema'],_0x29a878=_0x11e0ba['nodeAfter'];return _0x545f8c['isBlock'](_0x29a878)&&!_0x545f8c['isLimit'](_0x29a878)&&_0x545f8c['checkChild'](_0x29a878,'$text')?{'type':'insertion','content':_0x2ede81(_0x5ca519,'*Insert:*\x20%0',_0x59d66e['getItemLabel'](_0x29a878,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x30e053=this['editor'],_0x53346a=_0x30e053['locale'];_0x30e053['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4ed6e6=>{if('formatBlock'!=_0x4ed6e6['type'])return;const {data:_0x7e3a84}=_0x4ed6e6;return _0x7e3a84&&'paragraph'==_0x7e3a84['commandName']?{'type':'format','content':_0x2ede81(_0x53346a,'*Change\x20to:*\x20%0',_0x2ede81(_0x53346a,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x168f55 extends _0x31c75c['Plugin']{['afterInit'](){const _0x41b3c6=this['editor'];_0x41b3c6['commands']['get']('replaceSource')&&_0x41b3c6['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x31c75c['Plugin']{['afterInit'](){const _0x35c580=this['editor'];if(!_0x35c580['plugins']['has']('RemoveFormatEditing'))return;_0x35c580['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3fa223=this['editor'];_0x3fa223['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x777e8c=>{if('formatBlock'!=_0x777e8c['type']&&'formatInline'!=_0x777e8c['type'])return;const {data:_0xc3ae1a}=_0x777e8c;return _0xc3ae1a&&'removeFormat'==_0xc3ae1a['commandName']?{'type':'format','content':_0x2ede81(_0x3fa223['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x31c75c['Plugin']{['afterInit'](){const _0x4e566f=this['editor'];if(!_0x4e566f['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x54ef10=_0x4e566f['plugins']['get']('TrackChangesEditing');_0x54ef10['enableCommand']('goToPreviousRestrictedEditingException'),_0x54ef10['enableCommand']('goToNextRestrictedEditingException');const _0x417cba=_0x4e566f['plugins']['get']('RestrictedEditingModeEditing');_0x417cba['enableCommand']('trackChanges'),_0x417cba['enableCommand']('acceptSuggestion'),_0x417cba['enableCommand']('discardSuggestion'),_0x417cba['enableCommand']('acceptAllSuggestions'),_0x417cba['enableCommand']('discardAllSuggestions'),_0x417cba['enableCommand']('acceptSelectedSuggestions'),_0x417cba['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x31c75c['Plugin']{['afterInit'](){const _0x4fa457=this['editor'];if(!_0x4fa457['plugins']['has']('ShiftEnter'))return;const _0x5d5c2a=_0x4fa457['plugins']['get']('TrackChangesEditing');_0x5d5c2a['enableCommand']('shiftEnter'),_0x5d5c2a['descriptionFactory']['registerElementLabel']('softBreak',_0x2abf5e=>_0x2ede81(_0x4fa457['locale'],'ELEMENT_LINE_BREAK',_0x2abf5e));}}function _0x4d52eb(_0x5b0aca,_0x41d7fa,_0x5b2b57){const _0x1b9fb3=[];for(const _0x41bc19 of _0x41d7fa['getItems']())_0x41bc19['hasAttribute'](_0x5b0aca)&&_0x1b9fb3['push'](_0x5b2b57['createRangeOn'](_0x41bc19));return _0x1b9fb3;}class TrackChangesStandardEditingMode extends _0x31c75c['Plugin']{['afterInit'](){const _0x4423ad=this['editor'],_0x34f7d8=_0x4423ad['plugins']['get']('TrackChangesEditing');_0x4423ad['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x34f7d8['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x5b51d6=this['editor'],_0x15f52c=_0x5b51d6['model'],_0x84004f=_0x5b51d6['locale'],_0x3c56f4=_0x5b51d6['plugins']['get']('TrackChangesEditing'),_0x42a433='restrictedEditingException',_0x5b1e95=_0x5b51d6['commands']['get'](_0x42a433);_0x3c56f4['enableCommand'](_0x42a433,(_0x17edfc,_0x49ee22={})=>{const _0x336516=_0x15f52c['document']['selection'];if(_0x336516['isCollapsed'])return void _0x17edfc(_0x49ee22);const _0x3a39f0=void 0x0!==_0x49ee22['forceValue']?_0x49ee22['forceValue']:!_0x5b1e95['value'];_0x15f52c['change'](()=>{const _0x2461f4=Array['from'](_0x336516['getRanges']());for(const _0x4d24b2 of _0x2461f4){const _0x4b1d45=_0x3a39f0?[_0x4d24b2]:_0x4d52eb(_0x42a433,_0x4d24b2,_0x15f52c);for(const _0x417b25 of _0x4b1d45)_0x3c56f4['markInlineFormat'](_0x417b25,{'commandName':_0x42a433,'commandParams':[{'forceValue':_0x3a39f0}]});}});}),_0x3c56f4['descriptionFactory']['registerDescriptionCallback'](_0x3ace8c=>{if('formatBlock'!=_0x3ace8c['type']&&'formatInline'!=_0x3ace8c['type'])return;const {data:_0x5d4a77}=_0x3ace8c;return _0x5d4a77&&_0x5d4a77['commandName']==_0x42a433?_0x5d4a77['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x84004f,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x2ede81(_0x84004f,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x44d8cd=this['editor'],_0x534804=_0x44d8cd['locale'],_0x11a178=_0x44d8cd['plugins']['get']('TrackChangesEditing'),_0x155dd9='restrictedEditingExceptionBlock',_0x3d7469=this['editor']['commands']['get'](_0x155dd9);_0x11a178['enableCommand'](_0x155dd9,(_0x41bbec,_0x298b8f={})=>{const _0x32ca02=this['editor']['model']['document']['selection'],_0x17d85c=_0x298b8f&&void 0x0!==_0x298b8f['forceValue']?_0x298b8f['forceValue']:!_0x3d7469['value'];let _0xf10ecd=[];if(_0x17d85c){const _0x1a1450=Array['from'](_0x32ca02['getSelectedBlocks']())['filter'](_0x494272=>function(_0xd11c22){return!!_0xd11c22['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x494272)||function(_0x2f04f6,_0x38babd){const _0x11e858=_0x38babd['createContext'](_0x2f04f6['parent']);if(!_0x38babd['checkChild'](_0x11e858,'restrictedEditingException'))return!0x1;if(!_0x38babd['checkChild'](_0x11e858['push']('restrictedEditingException'),_0x2f04f6))return!0x1;return!0x0;}(_0x494272,this['editor']['model']['schema']));_0xf10ecd=_0x82f448(_0x1a1450,_0x44d8cd['model']);}else{const _0x287ad8=Array['from'](_0x32ca02['getSelectedBlocks']())['map'](_0x4b0d97=>function(_0x61cd8e){let _0x3a3349=_0x61cd8e;for(;_0x3a3349['parent'];){if('restrictedEditingException'==_0x3a3349['parent']['name'])return _0x3a3349;_0x3a3349=_0x3a3349['parent'];}return null;}(_0x4b0d97))['filter'](_0x3ec938=>!!_0x3ec938);_0xf10ecd=_0x82f448(_0x287ad8,_0x44d8cd['model']);}_0x44d8cd['model']['change'](()=>{for(const _0x21255c of _0xf10ecd)_0x11a178['markBlockFormat'](_0x21255c,{'commandName':_0x155dd9,'commandParams':[{'forceValue':_0x17d85c}]});});}),_0x11a178['descriptionFactory']['registerDescriptionCallback'](_0x3a442f=>{const {data:_0x806e34}=_0x3a442f;if(_0x806e34&&_0x806e34['commandName']==_0x155dd9)return _0x806e34['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x534804,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x2ede81(_0x534804,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x31c75c['Plugin']{['afterInit'](){const _0x2d93c1=this['editor'];if(!_0x2d93c1['plugins']['has']('Style')||!_0x2d93c1['plugins']['has']('DataSchema'))return;const _0x5ef1eb=_0x2d93c1['plugins']['get']('TrackChangesEditing'),_0x2cc7bb=_0x2d93c1['locale'],_0x36d37d=_0x2d93c1['config']['get']('style')||{},_0x190a18=_0x2d93c1['plugins']['get']('GeneralHtmlSupport'),_0x3408f1=_0x2d93c1['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2d93c1['plugins']['get']('DataSchema'),_0x36d37d['definitions']);_0x5ef1eb['enableDefaultAttributesIntegration']('style');const _0x50149f=new Set();for(const _0x676f55 of _0x3408f1['block']){const _0x59e7da=_0x190a18['getGhsAttributeNameForElement'](_0x676f55['element']);_0x50149f['add'](_0x59e7da);}const _0x391160=new Set();for(const _0x414dcd of _0x3408f1['inline']){const _0x57ac9d=_0x190a18['getGhsAttributeNameForElement'](_0x414dcd['element']);_0x391160['add'](_0x57ac9d);for(const _0xe8b6a6 of _0x414dcd['ghsAttributes'])_0x391160['add'](_0xe8b6a6);}for(const _0x58cd68 of _0x50149f)_0x5ef1eb['descriptionFactory']['registerAttributeLabel'](_0x58cd68,_0x2ede81(_0x2cc7bb,'FORMAT_STYLE'));for(const _0x423203 of _0x391160)_0x5ef1eb['descriptionFactory']['registerAttributeLabel'](_0x423203,_0x2ede81(_0x2cc7bb,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x12afda=this['editor'],_0x5c18f9=_0x12afda['locale'];_0x12afda['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x46ac5d=>{if('formatBlock'!=_0x46ac5d['type']&&'formatInline'!=_0x46ac5d['type'])return;const {data:_0x7c00f9}=_0x46ac5d;return _0x7c00f9&&'style'===_0x7c00f9['commandName']?_0x7c00f9['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x2ede81(_0x5c18f9,'*Set\x20format:*\x20%0',_0x7c00f9['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x2ede81(_0x5c18f9,'*Remove\x20format:*\x20%0',_0x7c00f9['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x2ad8d3 extends _0x31c75c['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0xced9ed){super(_0xced9ed),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x1a1233=this['editor'],_0x577492=_0x1a1233['model']['document']['selection'];if(!_0x1a1233['plugins']['has']('TableEditing'))return;const _0x4b847e=_0x1a1233['locale'],_0x126011=_0x1a1233['plugins']['get']('TrackChangesEditing'),_0xf644d5=_0x1a1233['plugins']['get']('TableUtils');_0x126011['descriptionFactory']['registerElementLabel']('table',_0x31ec35=>_0x2ede81(_0x4b847e,'ELEMENT_TABLE',_0x31ec35)),this['_setupColumnsRowsFixing'](),_0x126011['enableCommand']('insertTable'),_0x126011['enableCommand']('selectTableRow'),_0x126011['enableCommand']('selectTableColumn');for(const _0x4103b3 of['insertTableRowAbove','insertTableRowBelow']){const _0x5dc507=_0x1a1233['commands']['get'](_0x4103b3);_0x126011['enableCommand'](_0x4103b3,_0x2ffae0=>{_0x1a1233['model']['change'](_0x385626=>{_0x2ffae0();const _0x5acbec='above'===_0x5dc507['order'],_0x47ad02=_0xf644d5['getSelectionAffectedTableCells'](_0x577492),_0x38e6dd=_0xf644d5['getRowIndexes'](_0x47ad02),_0x36940e=_0x5acbec?_0x38e6dd['first']-0x1:_0x38e6dd['last']+0x1,_0x28279a=_0x47ad02[0x0]['findAncestor']('table'),_0x5aa263=_0xf644d5['createTableWalker'](_0x28279a,{'startRow':_0x36940e,'endRow':_0x36940e}),_0xee174b=Array['from'](_0x5aa263)['map'](_0x191dd5=>_0x385626['createRangeOn'](_0x191dd5['cell']));_0x126011['markMultiRangeInsertion'](_0xee174b,'tableRow');});});}for(const _0x2477cf of['insertTableColumnLeft','insertTableColumnRight']){const _0x4d14ed=_0x1a1233['commands']['get'](_0x2477cf);_0x126011['enableCommand'](_0x2477cf,_0x1ebe95=>{_0x1a1233['model']['change'](_0x21e3b3=>{_0x1ebe95();const _0x26e6f1='left'===_0x4d14ed['order'],_0x860e5a=_0xf644d5['getSelectionAffectedTableCells'](_0x577492),_0x4b1021=_0xf644d5['getColumnIndexes'](_0x860e5a),_0xdc4c6e=_0x26e6f1?_0x4b1021['first']-0x1:_0x4b1021['last']+0x1,_0x3c0c7c=_0x860e5a[0x0]['findAncestor']('table'),_0x1d1a23=_0xf644d5['createTableWalker'](_0x3c0c7c,{'startRow':0x0,'column':_0xdc4c6e,'includeAllSlots':!0x1}),_0x36a200=Array['from'](_0x1d1a23)['map'](_0x27f75b=>_0x21e3b3['createRangeOn'](_0x27f75b['cell']));_0x126011['markMultiRangeInsertion'](_0x36a200,'tableColumn');});});}for(const _0x124915 of['removeTableRow','removeTableColumn']){const _0x3fedc1=_0x124915['substr'](0xb),_0x30b8e4=_0x3fedc1['toLowerCase'](),_0x25184b=_0x30b8e4['substr'](0x0,0x3)+'span',_0x5dea0d='table'+_0x3fedc1,_0x5552d3='min'+_0x3fedc1,_0x15f6d8='max'+_0x3fedc1;_0x126011['enableCommand'](_0x124915,()=>{_0x1a1233['model']['change'](_0x359154=>{const _0x1b3ce8=_0xf644d5['getSelectionAffectedTableCells'](_0x577492),_0x21580a=_0x1b3ce8[0x0]['findAncestor']('table');let _0x27d68e;if('removeTableRow'==_0x124915){const _0x3de0d7=_0xf644d5['getRowIndexes'](_0x1b3ce8);_0x27d68e={'startRow':_0x3de0d7['first'],'endRow':_0x3de0d7['last'],'includeAllSlots':!0x0};}else{const _0x57a323=_0xf644d5['getColumnIndexes'](_0x1b3ce8);_0x27d68e={'startColumn':_0x57a323['first'],'endColumn':_0x57a323['last'],'includeAllSlots':!0x0};}const _0x24b4dd=_0xf644d5['createTableWalker'](_0x21580a,_0x27d68e),_0x35d145=Array['from'](_0x24b4dd)['map'](({cell:_0x4b7dce})=>_0x4b7dce),_0x22062e=_0x51555f(_0x35d145['filter'](_0x3235f1=>_0x3235f1['hasAttribute'](_0x25184b))),_0x1f00fe=_0x51555f(_0x35d145['filter'](_0x112f78=>!_0x112f78['hasAttribute'](_0x25184b)))['map'](_0x2e3dea=>_0x359154['createRangeOn'](_0x2e3dea)),_0x3826ea=_0x126011['markMultiRangeDeletion'](_0x1f00fe,_0x5dea0d);if(_0x3826ea&&('tableRow'==_0x3826ea['subType']||'tableColumn'==_0x3826ea['subType'])){const _0x537b8e=this['_getSuggestionCoords'](_0x3826ea);for(const _0x3cfe93 of _0x22062e){const _0x2a5f4f=_0x359154['createRangeOn'](_0x3cfe93),_0x3eea8f=_0xf644d5['getCellLocation'](_0x3cfe93),_0x207cff=_0x3cfe93['getAttribute'](_0x25184b)-0x1,_0x4f4d03=_0x537b8e[_0x5552d3],_0x4d5682=_0x537b8e[_0x15f6d8];_0x4f4d03<=_0x3eea8f[_0x30b8e4]&&_0x3eea8f[_0x30b8e4]+_0x207cff<=_0x4d5682&&_0x3826ea['addRange'](_0x2a5f4f);}}});});}function _0xacb860(_0x5129fa){const _0x4a1d92=Array['from'](_0x577492['getRanges']())['map'](_0x4883ee=>_0x31c75c['ModelLiveRange']['fromRange'](_0x4883ee));_0x1a1233['model']['change'](_0x1ba4ba=>{const _0x2ed39e=_0x1ba4ba['batch'];_0x5129fa=_0x5129fa['filter'](_0x5c55e9=>'$graveyard'!=_0x5c55e9['root']['rootName']),_0x1ba4ba['setSelection'](_0x5129fa),_0x1a1233['commands']['get']('removeTableRow')['refresh'](),_0x1a1233['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x1a1233['model']['enqueueChange'](()=>{_0x1a1233['model']['enqueueChange'](_0x2ed39e,_0x26e454=>{const _0x1b5728=_0x4a1d92['filter'](_0x51b4b3=>'$graveyard'!=_0x51b4b3['root']['rootName']);_0x1b5728['length']>0x0&&_0x26e454['setSelection'](_0x1b5728);for(const _0x1c694a of _0x4a1d92)_0x1c694a['detach']();});});});}function _0x244fb8(_0x2c7007){_0x1a1233['model']['change'](_0x4958fe=>{const _0x1df897=Array['from'](_0x577492['getRanges']())['map'](_0x272890=>_0x31c75c['ModelLiveRange']['fromRange'](_0x272890)),_0xbb48f6=[];for(const _0x34cebe of _0x2c7007)for(const _0x44dbae of _0x34cebe['getItems']({'shallow':!0x0}))_0xbb48f6['push'](_0x44dbae);for(const _0x36d5f3 of _0xbb48f6)'$graveyard'!=_0x36d5f3['root']['rootName']&&(_0x4958fe['setSelection'](_0x4958fe['createPositionAt'](_0x36d5f3,0x0)),_0x1a1233['commands']['get']('removeTableColumn')['refresh'](),_0x1a1233['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x2a7429=_0x1df897['filter'](_0x5df979=>'$graveyard'!=_0x5df979['root']['rootName']);_0x2a7429['length']>0x0&&_0x4958fe['setSelection'](_0x2a7429);for(const _0x29d1ac of _0x1df897)_0x29d1ac['detach']();});}function _0x4cadf0(_0x1aefa5,_0x1e4dcd){return _0x1e4dcd['every'](_0x580b08=>_0x1aefa5['some'](_0x3c3644=>_0x3c3644['end']['isEqual'](_0x580b08['start'])||_0x580b08['end']['isEqual'](_0x3c3644['start'])));}function _0x571f60(_0x5f2dc2,_0x19c128){return!_0x5f2dc2['some'](_0x414190=>_0x19c128['some'](_0x3a7e64=>_0x414190['isIntersecting'](_0x3a7e64)))&&_0x5f2dc2['some'](_0x2d90af=>_0x19c128['some'](_0x42db1f=>_0x2d90af['end']['isTouching'](_0x42db1f['start'])));}_0x126011['descriptionFactory']['registerDescriptionCallback'](_0x59d8cc=>{if('insertion'!=_0x59d8cc['type']&&'deletion'!=_0x59d8cc['type'])return;const _0x25b967=_0x59d8cc['getContainedElement']();if(null!=_0x25b967&&_0x25b967['is']('element','table')){if('insertion'==_0x59d8cc['type']){const _0x336c5b=_0x59d8cc['getItems']()['filter'](_0x43d1fc=>_0x43d1fc['is']('$textProxy'))['map'](_0x22cf79=>_0x22cf79['data']);if(_0x336c5b['length'])return{'type':'insertion','content':_0x2ede81(_0x4b847e,'*Insert:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x336c5b['join']('\x20')+'\x22'))};}if('deletion'==_0x59d8cc['type']){const _0x524418=_0x59d8cc['getItems']()['filter'](_0x5ba62b=>_0x5ba62b['is']('$textProxy'))['map'](_0x35b261=>_0x35b261['data']);if(_0x524418['length'])return{'type':'deletion','content':_0x2ede81(_0x4b847e,'*Remove:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x524418['join']('\x20')+'\x22'))};}}}),_0x126011['descriptionFactory']['registerDescriptionCallback'](_0x4679a9=>{if('tableRow'==_0x4679a9['subType']){const _0x53c14a=_0x4679a9['getItems']()['filter'](_0x26d9f9=>_0x26d9f9['is']('$textProxy'))['map'](_0x575a3e=>_0x575a3e['data']),_0xd736eb=this['_getSuggestionCoords'](_0x4679a9),_0x1fee02=_0xd736eb['maxRow']-_0xd736eb['minRow']+0x1;if('insertion'==_0x4679a9['type'])return _0x53c14a['length']?{'type':'insertion','content':_0x2ede81(_0x4b847e,'*Insert:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1fee02,'\x22'+_0x53c14a['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x2ede81(_0x4b847e,'*Insert:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_ROW',_0x1fee02))};if('deletion'==_0x4679a9['type'])return _0x53c14a['length']?{'type':'deletion','content':_0x2ede81(_0x4b847e,'*Remove:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1fee02,'\x22'+_0x53c14a['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x2ede81(_0x4b847e,'*Remove:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_ROW',_0x1fee02))};}if('tableColumn'==_0x4679a9['subType']){const _0x3cc885=_0x4679a9['getItems']()['filter'](_0x264707=>_0x264707['is']('$textProxy'))['map'](_0x122e1d=>_0x122e1d['data']),_0x1c2246=this['_getSuggestionCoords'](_0x4679a9),_0x2ebe7f=_0x1c2246['maxColumn']-_0x1c2246['minColumn']+0x1;if('insertion'==_0x4679a9['type'])return _0x3cc885['length']?{'type':'insertion','content':_0x2ede81(_0x4b847e,'*Insert:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2ebe7f,'\x22'+_0x3cc885['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x2ede81(_0x4b847e,'*Insert:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_COLUMN',_0x2ebe7f))};if('deletion'==_0x4679a9['type'])return _0x3cc885['length']?{'type':'deletion','content':_0x2ede81(_0x4b847e,'*Remove:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2ebe7f,'\x22'+_0x3cc885['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x2ede81(_0x4b847e,'*Remove:*\x20%0',_0x2ede81(_0x4b847e,'ELEMENT_TABLE_COLUMN',_0x2ebe7f))};}}),_0x126011['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0xacb860),_0x126011['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0xacb860),_0x126011['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x244fb8),_0x126011['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x244fb8),_0x126011['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x4cadf0),_0x126011['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x4cadf0),_0x126011['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x571f60),_0x126011['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x571f60);}['_acceptFormatSuggestionCallbackFactory'](){const _0x157d48=this['editor'],_0x35e1a9=_0x157d48['model']['document']['selection'];return(_0x5ac72b,_0x352342)=>{_0x157d48['model']['change'](_0x186f16=>{const {commandName:_0x3815ee,commandParams:_0x2dab5c}=_0x352342;let _0x12c246=_0x5ac72b[0x0]['end']['nodeBefore'];_0x2dab5c&&_0x2dab5c[0x0]&&!0x1===_0x2dab5c[0x0]['forceValue']&&(_0x12c246=_0x5ac72b[0x0]['start']['nodeAfter']);const _0x151c98=_0x186f16['createRangeIn'](_0x12c246);if('$graveyard'==_0x151c98['root']['rootName'])return;const _0xe81525=Array['from'](_0x35e1a9['getRanges']())['map'](_0x2855c5=>_0x31c75c['ModelLiveRange']['fromRange'](_0x2855c5));_0x186f16['setSelection'](_0x151c98),_0x157d48['commands']['get'](_0x3815ee)['refresh'](),_0x2dab5c['push']({'forceDefaultExecution':!0x0}),_0x157d48['execute'](_0x3815ee,..._0x2dab5c);const _0x3e63bc=_0xe81525['filter'](_0x35422c=>'$graveyard'!=_0x35422c['root']['rootName']);_0x3e63bc['length']>0x0&&_0x186f16['setSelection'](_0x3e63bc);for(const _0x73024f of _0xe81525)_0x73024f['detach']();});};}['_getCoordsForCells'](_0x165807){const _0x37a10b=this['editor']['plugins']['get']('TableUtils');let _0x2b7bdb=Number['MAX_SAFE_INTEGER'],_0x398fb4=Number['MIN_SAFE_INTEGER'],_0x58154a=Number['MAX_SAFE_INTEGER'],_0x1c673c=Number['MIN_SAFE_INTEGER'];for(const _0x1a27d8 of _0x165807){if('$graveyard'==_0x1a27d8['root']['rootName'])continue;const {row:_0x5f0dff,column:_0x125361}=_0x37a10b['getCellLocation'](_0x1a27d8),_0x31771a=_0x1a27d8['hasAttribute']('rowspan')?_0x1a27d8['getAttribute']('rowspan')-0x1:0x0,_0x381249=_0x1a27d8['hasAttribute']('colspan')?_0x1a27d8['getAttribute']('colspan')-0x1:0x0;_0x2b7bdb=_0x5f0dff<_0x2b7bdb?_0x5f0dff:_0x2b7bdb,_0x398fb4=_0x5f0dff+_0x31771a>_0x398fb4?_0x5f0dff+_0x31771a:_0x398fb4,_0x58154a=_0x125361<_0x58154a?_0x125361:_0x58154a,_0x1c673c=_0x125361+_0x381249>_0x1c673c?_0x125361+_0x381249:_0x1c673c;}return{'minRow':_0x2b7bdb,'maxRow':_0x398fb4,'minColumn':_0x58154a,'maxColumn':_0x1c673c};}['_setupColumnsRowsFixing'](){const _0x2fb993=this['editor'],_0x52c731=_0x2fb993['plugins']['get']('TrackChangesEditing'),_0x243be3=_0x2fb993['plugins']['get']('TableUtils');_0x2fb993['model']['document']['on']('change:data',()=>{const _0x4957cf=Array['from'](_0x2fb993['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x18dc09,data:_0x18db43}of _0x4957cf){const {group:_0x4fb98e,id:_0x3bfc69,subType:_0x2b0bd8}=_0x518fa7(_0x18dc09);if('suggestion'!=_0x4fb98e)continue;if(null!=_0x18db43['oldRange'])continue;const _0x1efbec=_0x52c731['getSuggestion'](_0x3bfc69);this['_tablePostFixingSubtypes']['includes'](_0x2b0bd8)&&this['_tableSuggestions']['add'](_0x1efbec);}},{'priority':'low'});const _0x18ee5d=(_0x4db5a9,_0xa0064c)=>{let _0x561e3c=!0x1;const _0x33f441=_0xa0064c['createRangeOn'](_0x4db5a9),_0xa83936=_0x4db5a9['findAncestor']('table'),_0x5dd9d4=_0x243be3['getCellLocation'](_0x4db5a9);for(const _0x58aaef of this['_tableSuggestions']){const _0xbd256a=_0x58aaef['subType'],_0x6ddf50=_0xbd256a['startsWith']('tablePaste'),_0x29e8e8=_0xbd256a['substr'](_0x6ddf50?0xa:0x5),_0x3fb4d7=_0x29e8e8['toLowerCase'](),_0x41b389=_0x3fb4d7['substr'](0x0,0x3)+'span',_0x35d1c9='min'+_0x29e8e8,_0x3fb317='max'+_0x29e8e8;if(!_0x58aaef['isInContent'])continue;if(_0xa83936!=_0x58aaef['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x58aaef['isIntersectingWithRange'](_0x33f441))continue;const _0x22d7da=_0x4db5a9['hasAttribute'](_0x41b389)?_0x4db5a9['getAttribute'](_0x41b389)-0x1:0x0,_0x4725d6=this['_getSuggestionCoords'](_0x58aaef),_0x59da7c=_0x4725d6[_0x35d1c9],_0x1315b8=_0x4725d6[_0x3fb317];_0x59da7c<=_0x5dd9d4[_0x3fb4d7]&&_0x5dd9d4[_0x3fb4d7]+_0x22d7da<=_0x1315b8&&(_0x58aaef['addRange'](_0x33f441),_0x561e3c=!0x0);}return _0x561e3c;};_0x2fb993['model']['document']['registerPostFixer'](_0x14fb2a=>{let _0x41ec6a=!0x1;for(const _0x23e4f5 of _0x2fb993['model']['document']['differ']['getChanges']())if('insert'==_0x23e4f5['type']){if('tableRow'==_0x23e4f5['name']){for(const _0x49693a of _0x23e4f5['position']['nodeAfter']['getChildren']())_0x41ec6a=_0x41ec6a||_0x18ee5d(_0x49693a,_0x14fb2a);}else'tableCell'==_0x23e4f5['name']&&(_0x41ec6a=_0x41ec6a||_0x18ee5d(_0x23e4f5['position']['nodeAfter'],_0x14fb2a));}return _0x41ec6a;});}['_getSuggestionCoords'](_0x42176f){return this['_getCoordsForCells'](_0x42176f['getRanges']()['map'](_0x1a0449=>_0x1a0449['start']['nodeAfter']));}}function _0x51555f(_0x48bddf){return Array['from'](new Set(_0x48bddf)['values']());}class TrackChangesTableMergeSplit extends _0x31c75c['Plugin']{static get['requires'](){return[_0x2ad8d3];}['afterInit'](){const _0x54179a=this['editor'],_0x2f2ebf=_0x54179a['model']['document']['selection'],_0x2ceab9=_0x54179a['locale'];if(!_0x54179a['plugins']['has']('TableEditing'))return;const _0x5ccf1c=_0x54179a['plugins']['get']('TrackChangesEditing'),_0xa40f6=_0x54179a['plugins']['get']('TableUtils'),_0x19a87a=_0x54179a['plugins']['get'](_0x2ad8d3);_0x19a87a['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x5ccf1c['enableCommand']('mergeTableCells',()=>{const _0x21637d=_0xa40f6['getSelectionAffectedTableCells'](_0x54179a['model']['document']['selection']);_0x54179a['model']['change'](()=>{_0x5ccf1c['markMultiRangeBlockFormat'](_0x21637d,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x54179a['commands']['get']('mergeTableCells')['on']('execute',(_0x2dd95d,_0x51b22b)=>{_0x54179a['commands']['get']('trackChanges')['value']&&(_0x51b22b['length']>0x0&&_0x51b22b[_0x51b22b['length']-0x1]&&_0x51b22b[_0x51b22b['length']-0x1]['forceDefaultExecution']||_0x5ccf1c['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x2dd95d['stop']());},{'priority':'highest'});for(const _0x409b1b of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x3b161f=_0x54179a['commands']['get'](_0x409b1b);_0x5ccf1c['enableCommand'](_0x409b1b,()=>{const _0x42afe3=_0x54179a['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x1d786d=>_0x1d786d['is']('element','tableCell')),_0x518f9c=_0x3b161f['value'];_0x54179a['model']['change'](()=>{_0x5ccf1c['markMultiRangeBlockFormat']([_0x42afe3,_0x518f9c],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x18dc63 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x59573e=_0x54179a['commands']['get'](_0x18dc63);_0x5ccf1c['enableCommand'](_0x18dc63,()=>{const _0x18d83e=_0xa40f6['getSelectionAffectedTableCells'](_0x54179a['model']['document']['selection'])[0x0],_0x2f34b8=_0x18d83e['findAncestor']('table'),{column:_0x50f893,row:_0x49befb}=_0xa40f6['getCellLocation'](_0x18d83e);let _0xdc6a4=[];if('horizontally'==_0x59573e['direction']){const _0xdc5c04=_0xa40f6['createTableWalker'](_0x2f34b8,{'startRow':_0x49befb,'endRow':_0x49befb,'includeAllSlots':!0x0});_0xdc6a4=Array['from'](_0xdc5c04)['map'](_0x57ceb8=>_0x57ceb8['cell']);}else{const _0x2746a4=_0xa40f6['createTableWalker'](_0x2f34b8,{'column':_0x50f893,'includeAllSlots':!0x0});_0xdc6a4=Array['from'](_0x2746a4)['map'](_0x45711c=>_0x45711c['cell']);}_0x54179a['model']['change'](_0x4508aa=>{_0x5ccf1c['markBlockFormat'](_0x4508aa['createRangeOn'](_0x18d83e),{'commandName':_0x18dc63,'commandParams':[]},_0xdc6a4,_0x18dc63);});});}_0x5ccf1c['descriptionFactory']['registerDescriptionCallback'](_0x55dc6e=>{if('formatBlock'!=_0x55dc6e['type']&&'formatInline'!=_0x55dc6e['type'])return;const {data:_0x1293a1}=_0x55dc6e;return _0x1293a1&&'mergeTableCells'==_0x1293a1['commandName']?{'type':'format','content':_0x2ede81(_0x2ceab9,'*Merge\x20cells*')}:void 0x0;}),_0x5ccf1c['descriptionFactory']['registerDescriptionCallback'](_0x13d23f=>{if('formatBlock'!=_0x13d23f['type']&&'formatInline'!=_0x13d23f['type'])return;const {data:_0x200cfd}=_0x13d23f;return _0x200cfd?'splitTableCellVertically'==_0x200cfd['commandName']?{'type':'format','content':_0x2ede81(_0x2ceab9,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x200cfd['commandName']?{'type':'format','content':_0x2ede81(_0x2ceab9,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x41bd3f=_0x19a87a['_acceptFormatSuggestionCallbackFactory']();for(const _0x2f888b of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x5ccf1c['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2f888b,'accept',_0x41bd3f);for(const _0x3d20bc of['splitTableCellVertically','splitTableCellHorizontally'])_0x5ccf1c['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x3d20bc,'accept',_0x41bd3f);_0x5ccf1c['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x24535a=>{_0x54179a['model']['change'](_0x1fcf00=>{const _0xeb350e=Array['from'](_0x2f2ebf['getRanges']())['map'](_0x5483ac=>_0x31c75c['ModelLiveRange']['fromRange'](_0x5483ac));_0x1fcf00['setSelection'](_0x24535a),_0x54179a['commands']['get']('mergeTableCells')['refresh'](),_0x54179a['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x49a519=_0xeb350e['filter'](_0x578704=>'$graveyard'!=_0x578704['root']['rootName']);_0x49a519['length']>0x0&&_0x1fcf00['setSelection'](_0x49a519);for(const _0x28e04a of _0xeb350e)_0x28e04a['detach']();});});for(const _0x2ec7d0 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x546eb1=_0x54179a['commands']['get'](_0x2ec7d0);_0x546eb1['on']('set:isEnabled',(_0x1fd1e9,_0x359350,_0x11ef92)=>{if(_0x11ef92){const _0x1bf599=_0x54179a['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x386ef4=>_0x386ef4['is']('element','tableCell'));this['_areMergableCells'](_0x546eb1['value'],_0x1bf599)||(_0x1fd1e9['return']=!0x1,_0x1fd1e9['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x24d4d4=this['editor']['commands']['get']('mergeTableCells'),_0xff828a=this['editor']['plugins']['get']('TableUtils');if(!_0x24d4d4['isEnabled'])return!0x1;const _0x3c9c9b=_0xff828a['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x5bb1e8 of _0x3c9c9b)for(const _0x34651d of _0x3c9c9b)if(_0x5bb1e8!=_0x34651d&&!this['_areMergableCells'](_0x5bb1e8,_0x34651d))return!0x1;return!0x0;}['_areMergableCells'](_0x251f30,_0x25fd95){const _0x2aaed6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5de5a9=this['editor']['model']['createRangeOn'](_0x251f30),_0x4d3821=this['editor']['model']['createRangeOn'](_0x25fd95),_0x3bbd3c=new Set(),_0xeb8f8b=new Set();for(const _0x1bf769 of _0x2aaed6['getSuggestions']())if(('insertion'==_0x1bf769['type']||'deletion'==_0x1bf769['type']||'mergeTableCells'==_0x1bf769['subType'])&&_0x1bf769['isInContent']){for(const _0x3ca791 of _0x1bf769['getRanges']())_0x3ca791['containsRange'](_0x5de5a9,!0x0)&&_0x3bbd3c['add'](_0x1bf769['type']+':'+_0x1bf769['author']['id']),_0x3ca791['containsRange'](_0x4d3821,!0x0)&&_0xeb8f8b['add'](_0x1bf769['type']+':'+_0x1bf769['author']['id']);}if(_0x3bbd3c['size']!=_0xeb8f8b['size'])return!0x1;for(const _0x3453f1 of _0x3bbd3c)if(!_0xeb8f8b['has'](_0x3453f1))return!0x1;return!0x0;}}class _0x1a9592 extends _0x31c75c['Plugin']{static get['requires'](){return[_0x2ad8d3];}['afterInit'](){const _0x43f454=this['editor'];if(!_0x43f454['plugins']['has']('TableEditing'))return;const _0x394767=_0x43f454['locale'],_0x55a21a=_0x43f454['plugins']['get']('TrackChangesEditing');_0x55a21a['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x55a21a['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x55a21a['descriptionFactory']['registerAttributeLabel']('headingRows',_0x2ede81(_0x394767,'FORMAT_HEADER_ROW')),_0x55a21a['descriptionFactory']['registerAttributeLabel']('headingColumns',_0x2ede81(_0x394767,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x391733=this['editor']['plugins']['get']('TrackChangesEditing'),_0x26e5ad=this['editor']['plugins']['get'](_0x2ad8d3)['_acceptFormatSuggestionCallbackFactory']();_0x391733['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x26e5ad),_0x391733['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x26e5ad),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0xe70044=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2efc40=this['editor']['plugins']['get']('TableUtils');function _0x5c782f({showActiveMarker:_0x29fe83=!0x0,setDataAttribute:_0x2aaaf4=!0x0}={}){return(_0x28a51a,_0x4f5a74,_0x1f7d92)=>{const {type:_0x3e4c05,id:_0x58fe88}=_0x518fa7(_0x4f5a74['markerName']);if(!_0xe70044['hasSuggestion'](_0x58fe88))return;const _0x25c098=_0xe70044['getSuggestion'](_0x58fe88),_0x4bfa2c=_0x25c098['data'];if('formatBlock'!=_0x25c098['type']||!_0x4bfa2c||'setTableColumnHeader'!=_0x4bfa2c['commandName'])return;if(_0x4f5a74['item'])return void _0x28a51a['stop']();if(!_0x1f7d92['consumable']['consume'](_0x4f5a74['markerRange'],_0x28a51a['name']))return;const _0xacb40e=_0x4f5a74['markerRange']['start']['nodeAfter'],_0x4c5190=_0x4f5a74['markerRange']['end']['nodeBefore'],_0x284685=_0xacb40e['parent']['parent'],{column:_0x3ebe30}=_0x2efc40['getCellLocation'](_0xacb40e),{column:_0x57138c}=_0x2efc40['getCellLocation'](_0x4c5190);for(let _0x192e67=_0x3ebe30;_0x192e67<=_0x57138c;_0x192e67++){const _0x5243f5=_0x2efc40['createTableWalker'](_0x284685,{'column':_0x192e67,'includeAllSlots':!0x1});for(const _0xfbc0be of _0x5243f5){const _0x506bf8=_0xfbc0be['cell'],_0x4ae612=_0x1f7d92['mapper']['toViewElement'](_0x506bf8);_0x1f7d92['writer']['addClass']('ck-suggestion-marker-'+_0x3e4c05,_0x4ae612),_0x2aaaf4&&_0x1f7d92['writer']['setAttribute']('data-suggestion',_0x58fe88,_0x4ae612),_0x1f7d92['mapper']['bindElementToMarker'](_0x4ae612,_0x4f5a74['markerName']),_0x29fe83&&(_0xe70044['activeMarkers']['includes'](_0x4f5a74['markerName'])?_0x1f7d92['writer']['addClass']('ck-suggestion-marker--active',_0x4ae612):_0x1f7d92['writer']['removeClass']('ck-suggestion-marker--active',_0x4ae612));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x5c782f(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5dda62,_0x2abeb1,_0xfb941a)=>{_0xfb941a['options']['showSuggestionHighlights']&&_0x5c782f({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5dda62,_0x2abeb1,_0xfb941a);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4d48d8,_0x4ff0f7,_0x33de07)=>{const {type:_0x577f82,id:_0x1beb05}=_0x518fa7(_0x4ff0f7['markerName']);if(!_0xe70044['hasSuggestion'](_0x1beb05))return;const _0x4fce25=_0xe70044['getSuggestion'](_0x1beb05),_0x65922f=_0x4fce25['data'];if('formatBlock'!=_0x4fce25['type']||!_0x65922f||'setTableColumnHeader'!=_0x65922f['commandName'])return;const _0x24fa17=_0x33de07['mapper']['markerNameToElements'](_0x4ff0f7['markerName']);if(_0x24fa17){for(const _0x14d56d of _0x24fa17)_0x33de07['writer']['removeClass']('ck-suggestion-marker-'+_0x577f82,_0x14d56d),_0x33de07['writer']['removeClass']('ck-suggestion-marker--active',_0x14d56d),_0x33de07['writer']['removeAttribute']('data-suggestion',_0x14d56d),_0x33de07['mapper']['unbindElementFromMarkerName'](_0x14d56d,_0x4ff0f7['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x3bb63b=this['editor'],_0x4e0de4=_0x3bb63b['locale'];function _0x3c3609(_0x56269e){return{'type':'format','content':_0x2ede81(_0x4e0de4,'*Format:*\x20%0',_0x56269e)};}_0x3bb63b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1a40eb=>{if('formatBlock'!=_0x1a40eb['type'])return;const {data:_0x1f871c}=_0x1a40eb;if(_0x1f871c){if('setTableRowHeader'==_0x1f871c['commandName']){const _0x33150c=_0x1f871c['commandParams'][0x0]['forceValue'];return _0x3c3609(_0x2ede81(_0x4e0de4,_0x33150c?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x1f871c['commandName']){const _0x3caa95=_0x1f871c['commandParams'][0x0]['forceValue'];return _0x3c3609(_0x2ede81(_0x4e0de4,_0x3caa95?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableFooters extends _0x31c75c['Plugin']{static get['requires'](){return[_0x2ad8d3];}['afterInit'](){const _0x184ed8=this['editor'];if(!_0x184ed8['plugins']['has']('TableEditing')||!_0x184ed8['config']['get']('table.enableFooters'))return;const _0x23dc8a=_0x184ed8['locale'],_0x40ccc1=_0x184ed8['plugins']['get']('TrackChangesEditing');_0x40ccc1['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x40ccc1['descriptionFactory']['registerAttributeLabel']('footerRows',_0x2ede81(_0x23dc8a,'FORMAT_FOOTER_ROW'));}}class TrackChangesTableLayout extends _0x31c75c['Plugin']{['afterInit'](){const _0x1fe788=this['editor'],_0x52c2eb=_0x1fe788['locale'],_0x5c7a60=_0x1fe788['plugins']['get']('TrackChangesEditing');function _0x1dc05d(_0x1c2878){return{'type':'format','content':''+_0x2ede81(_0x52c2eb,'*Set\x20table\x20type:*\x20%0',_0x1c2878)};}_0x1fe788['plugins']['has']('TableLayout')&&(_0x5c7a60['enableCommand']('insertTableLayout'),_0x5c7a60['enableDefaultAttributesIntegration']('tableType'),_0x5c7a60['descriptionFactory']['registerElementLabel'](_0x32a7fe=>_0x32a7fe['is']('element','table')&&'layout'===_0x32a7fe['getAttribute']('tableType'),_0x10d676=>_0x2ede81(_0x52c2eb,'ELEMENT_LAYOUT_TABLE',_0x10d676)),_0x5c7a60['descriptionFactory']['registerDescriptionCallback'](_0xd4cddd=>{const {data:_0x47a75a}=_0xd4cddd;if(_0x47a75a&&'tableType'==_0x47a75a['key'])switch(_0x47a75a['newValue']){case'layout':return _0x1dc05d(_0x2ede81(_0x52c2eb,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x1dc05d(_0x2ede81(_0x52c2eb,'ELEMENT_CONTENT_TABLE'));}}));}}const _0x2adf7d=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],_0x3f789e=/* #__PURE__ -- @preserve */
Object['fromEntries'](_0x2adf7d['map'](_0x5bd97c=>[_0x5bd97c,null]));class _0x3e448d extends _0x31c75c['Plugin']{static get['requires'](){return[_0x2ad8d3];}['afterInit'](){const _0x426907=this['editor'];if(!_0x426907['plugins']['has']('TableClipboard'))return;const _0x3a3522=_0x426907['plugins']['get']('TrackChangesEditing'),_0x1da0fd=_0x426907['plugins']['get']('TableUtils'),_0x378c30=_0x426907['plugins']['get'](_0x2ad8d3),_0x1d8d98=_0x426907['plugins']['get']('TableClipboard'),_0x38a765=_0x426907['plugins']['get']('TableSelection'),_0x1944a2=_0x426907['plugins']['get'](_0x31c75c['ClipboardPipeline']);_0x378c30['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x426907['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x426907['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x125ae4=null,_0x2b75eb=!0x1;_0x1944a2['on']('contentInsertion',(_0x359010,_0x4a0076)=>{_0x2b75eb='paste'===_0x4a0076['method'];}),_0x426907['model']['on']('insertContent',(_0x4c41fd,_0x20f89d)=>{if(!_0x2b75eb&&null===_0x38a765['getSelectedTableCells']())return;const [_0xfb7ee8,_0x5d0dca]=_0x20f89d,_0x315942=_0x20f89d[_0x20f89d['length']-0x1];_0x315942&&_0x315942['forceDefaultExecution']||_0x3a3522['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x33821a,_0x5f5442,_0x270897,_0x50a070,_0x4411f7){if(_0x5f5442&&!_0x5f5442['is']('documentSelection'))return!0x1;const _0x3cc6ee=_0x4411f7['getTableIfOnlyTableInContent'](_0x33821a,_0x270897);if(!_0x3cc6ee||!_0x4ce082(_0x3cc6ee,void 0x0,_0x50a070))return!0x1;const _0x41e911=_0x50a070['getSelectionAffectedTableCells'](_0x270897['document']['selection']);if(!_0x41e911['length'])return!0x1;const _0x3850f9=_0x41e911[0x0]['findAncestor']('table'),_0x3b4105=_0x50a070['getRowIndexes'](_0x41e911),_0x17d81b=_0x50a070['getColumnIndexes'](_0x41e911),_0x26fe35={'startRow':_0x3b4105['first'],'endRow':_0x3b4105['last'],'startColumn':_0x17d81b['first'],'endColumn':_0x17d81b['last']};return 0x1==_0x41e911['length']&&(_0x26fe35['endRow']+=_0x50a070['getRows'](_0x3cc6ee)-0x1,_0x26fe35['endColumn']+=_0x50a070['getColumns'](_0x3cc6ee)-0x1),_0x4ce082(_0x3850f9,_0x26fe35,_0x50a070);}(_0xfb7ee8,_0x5d0dca,_0x426907['model'],_0x1da0fd,_0x1d8d98)&&(_0x4c41fd['stop'](),_0x125ae4={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x426907['model']['change'](()=>{_0x426907['model']['insertContent'](_0x20f89d[0x0],_0x20f89d[0x1],_0x20f89d[0x2],{'forceDefaultExecution':!0x0});const _0x167371=_0x31c75c['uid'](),{rowInsertionRanges:_0x289f46,columnInsertionRanges:_0x3c20b4,insertionRanges:_0x3f3de0,deletionRanges:_0xc9ed0a,cells:_0x34220c}=_0x125ae4;_0x289f46['length']&&_0x3a3522['markMultiRangeInsertion'](_0x289f46,'tablePasteRow',{'tablePasteChainId':_0x167371}),_0x3c20b4['length']&&_0x3a3522['markMultiRangeInsertion'](_0x3c20b4,'tablePasteColumn',{'tablePasteChainId':_0x167371}),_0x3f3de0['length']&&(_0x3a3522['markMultiRangeInsertion'](_0x3f3de0,'tablePaste',{'tablePasteChainId':_0x167371,'skipNestingCheck':!0x0}),_0x3f3de0['forEach'](_0xd5ae2=>_0xd5ae2['detach']?.())),_0xc9ed0a['length']&&(_0x3a3522['markMultiRangeDeletion'](_0xc9ed0a,'tablePaste',{'tablePasteChainId':_0x167371,'skipNestingCheck':!0x0}),_0xc9ed0a['forEach'](_0x67d6e6=>_0x67d6e6['detach']?.()));const _0x220c01=_0x3a3522['markMultiRangeBlockFormat'](_0x34220c['map'](({element:_0x26bd33})=>_0x26bd33),{'formatGroupId':_0x31c75c['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x167371});if(_0x220c01){const _0x51c46e=_0x220c01['getMarkers'](),_0x3a97cc=[];for(const {element:_0x30b1a0,attributes:_0x59dfa4}of _0x34220c){if(!_0x59dfa4)continue;const _0x4a5b68=_0x426907['model']['createRangeOn'](_0x30b1a0),_0x25114d=_0x51c46e['find'](_0x4d0d58=>_0x4d0d58['getRange']()['isEqual'](_0x4a5b68));_0x25114d&&_0x3a97cc['push']([_0x25114d['name'],_0x59dfa4]);}_0x3a97cc['length']&&_0x220c01['setAttribute']('markerAttributes',Object['fromEntries'](_0x3a97cc));}_0x125ae4=null;}));},{'priority':_0x31c75c['priorities']['high']+0xa}),_0x1944a2['on']('contentInsertion',()=>{_0x2b75eb=!0x1;},{'priority':'lowest'}),_0x426907['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x17c45c,_0x2a57a5)=>{const [_0x256be5,_0x1949de,,_0x4a10dc]=_0x2a57a5;if(!_0x125ae4)return;_0x17c45c['stop']();const _0x45fffe=_0x256be5['cell'],_0x916dda=_0x1949de,_0x1de89b=_0x35e48e(_0x45fffe),_0xd5cd9b=_0x35e48e(_0x916dda);_0x17c45c['return']=_0x45fffe;let _0x29a6f9=null,_0x50048e=null;if(_0xd5cd9b||_0x1de89b){if(_0x1de89b&&!_0xd5cd9b){_0x4a10dc['remove'](_0x45fffe['getChild'](0x0));for(const _0x478a71 of Array['from'](_0x916dda['getChildren']()))_0x4a10dc['insert'](_0x478a71,_0x45fffe,'end');const _0x2885fe=_0x125ae4['rowInsertionIndexes']['includes'](_0x256be5['row']),_0x44ceab=_0x125ae4['columnInsertionIndexes']['includes'](_0x256be5['column']);_0x2885fe||_0x44ceab||(_0x29a6f9=_0x31c75c['ModelLiveRange']['fromRange'](_0x4a10dc['createRangeIn'](_0x45fffe)));}else _0xd5cd9b&&!_0x1de89b&&(_0x50048e=_0x4a10dc['createRangeIn'](_0x45fffe));}else{const _0xec75f8=_0x4a10dc['createElement']('tableCellSuggestion'),_0x4fc0d0=_0x4a10dc['createElement']('tableCellSuggestion');_0x4a10dc['wrap'](_0x4a10dc['createRangeIn'](_0x45fffe),_0x4fc0d0),_0x4a10dc['insert'](_0xec75f8,_0x45fffe,0x0);for(const _0x144b86 of Array['from'](_0x916dda['getChildren']()))_0x4a10dc['insert'](_0x144b86,_0xec75f8,'end');_0x29a6f9=_0x31c75c['ModelLiveRange']['fromRange'](_0x4a10dc['createRangeOn'](_0xec75f8)),_0x50048e=_0x31c75c['ModelLiveRange']['fromRange'](_0x4a10dc['createRangeOn'](_0x4fc0d0));}const _0x1548ac=Array['from'](_0x916dda['getAttributes']())['filter'](([_0xed44d3])=>_0x2adf7d['includes'](_0xed44d3));_0x125ae4['cells']['push']({'element':_0x45fffe,'attributes':_0x1548ac['length']?Object['fromEntries'](_0x1548ac):null}),_0x29a6f9&&_0x125ae4['insertionRanges']['push'](_0x29a6f9),_0x50048e&&_0x125ae4['deletionRanges']['push'](_0x50048e);},{'priority':'high'}),_0x1da0fd['on']('insertColumns',(_0x5b20aa,_0x5859c1)=>{const [_0x150a06,_0x220c64={}]=_0x5859c1;if(!_0x125ae4)return;const _0x341084=_0x220c64['at']||0x0,_0x4e24da=_0x220c64['columns']||0x1;_0x125ae4['columnInsertionIndexes']=new Array(_0x4e24da)['fill'](_0x341084)['map']((_0x3af7de,_0x48c2d2)=>_0x3af7de+_0x48c2d2);for(const {cell:_0xe56d4b}of _0x1da0fd['createTableWalker'](_0x150a06,{'startColumn':_0x341084,'endColumn':_0x341084+_0x4e24da-0x1}))_0x125ae4['columnInsertionRanges']['push'](_0x426907['model']['createRangeOn'](_0xe56d4b));},{'priority':'low'}),_0x1da0fd['on']('insertRows',(_0x158758,_0x2279e8)=>{const [_0x524105,_0x40fe7e={}]=_0x2279e8;if(!_0x125ae4)return;const _0x2e74b5=_0x40fe7e['at']||0x0,_0x2e4ca=_0x40fe7e['rows']||0x1;_0x125ae4['rowInsertionIndexes']=new Array(_0x2e4ca)['fill'](_0x2e74b5)['map']((_0x39f212,_0x426cf8)=>_0x39f212+_0x426cf8);for(const {cell:_0x56d90b}of _0x1da0fd['createTableWalker'](_0x524105,{'startRow':_0x2e74b5,'endRow':_0x2e74b5+_0x2e4ca-0x1}))_0x125ae4['rowInsertionRanges']['push'](_0x426907['model']['createRangeOn'](_0x56d90b));},{'priority':'low'}),_0x3a3522['descriptionFactory']['registerDescriptionCallback'](_0x5341f5=>{if(_0x5341f5['subType']&&_0x5341f5['subType']['startsWith']('tablePaste'))return _0x5341f5['previous']?{}:{'type':'insertion','content':_0x2ede81(_0x426907['locale'],'*Replace\x20table\x20cells*')};});const _0x1a6cb3=()=>!0x1;for(const _0x20879e of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x3a3522['_suggestionFactory']['registerCustomCallback']('insertion',_0x20879e,'join',_0x1a6cb3),_0x3a3522['_suggestionFactory']['registerCustomCallback']('deletion',_0x20879e,'join',_0x1a6cb3),_0x3a3522['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x20879e,'join',_0x1a6cb3);_0x3a3522['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x1a6cb3),_0x3a3522['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x4b455f,_0x2b056c,_0x9672fa)=>{const _0xc1f371=_0x4b455f['map'](_0x4ae401=>_0x4ae401['getContainedElement']())['filter'](_0x172bc7=>_0x172bc7),_0x316959=new Map(_0xc1f371['map'](_0x47edba=>[_0x47edba,null]));if(_0x125ae4){for(const {element:_0x174f2b,attributes:_0x23cf9c}of _0x125ae4['cells'])_0x23cf9c&&_0x316959['set'](_0x174f2b,_0x23cf9c);}else{if(_0x9672fa&&_0x9672fa['markerAttributes'])for(const [_0x287cf4,_0x48c07e]of Object['entries'](_0x9672fa['markerAttributes'])){const _0x4ab447=_0x426907['model']['markers']['get'](_0x287cf4),_0x2d496a=_0x4ab447?_0x4ab447['getRange']()['getContainedElement']():null;_0x2d496a&&_0x316959['set'](_0x2d496a,_0x48c07e);}}_0x426907['model']['change'](_0x1dce54=>{for(const [_0x32c54e,_0x11e587]of _0x316959)_0x1dce54['setAttributes']({..._0x3f789e,..._0x11e587},_0x32c54e);});});const _0x4148b7=(_0x1dcccc,_0x3c93ea)=>{_0x3a3522['_suggestionFactory']['registerCustomCallback'](_0x1dcccc,'tablePaste',_0x3c93ea,(_0x46291f,_0x373834,_0xc60cb)=>{_0x426907['model']['change'](_0x179bf8=>{const _0x1310ae=[];for(const _0x3f8e65 of _0x46291f){const _0x532f98=_0x3f8e65['start']['nodeAfter'];_0x532f98['is']('element','tableCellSuggestion')&&_0x1310ae['push'](_0x532f98);}_0x3a3522['_suggestionFactory']['getSuggestionCallback'](_0x1dcccc,null,_0x3c93ea)(_0x46291f,_0x373834,_0xc60cb);for(const _0x1daa7b of _0x1310ae)'$graveyard'!=_0x1daa7b['root']['rootName']&&_0x179bf8['unwrap'](_0x1daa7b);});});};_0x4148b7('insertion','accept'),_0x4148b7('insertion','discard'),_0x4148b7('deletion','accept'),_0x4148b7('deletion','discard'),_0x3a3522['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x398016=>{const _0x2ddcf8=_0x398016['map'](_0x31608d=>_0x31608d['getContainedElement']()),_0x33d1a4=_0x2ddcf8[0x0]['findAncestor']('table'),{minRow:_0x3b6d09,maxRow:_0x1e633f}=_0x378c30['_getCoordsForCells'](_0x2ddcf8);_0x1da0fd['removeRows'](_0x33d1a4,{'at':_0x3b6d09,'rows':_0x1e633f-_0x3b6d09+0x1});}),_0x3a3522['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x20b38e=>{const _0x5453ac=_0x20b38e['map'](_0x4d18e2=>_0x4d18e2['getContainedElement']()),_0x5290f4=_0x5453ac[0x0]['findAncestor']('table'),{minColumn:_0x1e5b6a,maxColumn:_0x4f792b}=_0x378c30['_getCoordsForCells'](_0x5453ac);_0x1da0fd['removeColumns'](_0x5290f4,{'at':_0x1e5b6a,'columns':_0x4f792b-_0x1e5b6a+0x1});});const _0x3f377e=(_0x1679c5,_0x25950c)=>{if(!_0x25950c['subType']||!_0x25950c['subType']['startsWith']('tablePaste'))return;const _0x56bdf8=_0x25950c['attributes']['tablePasteChainId'],_0x394cde=_0x3a3522['getSuggestions']()['filter'](_0x24f09a=>_0x24f09a['isInContent']&&_0x24f09a['attributes']&&_0x24f09a['attributes']['tablePasteChainId']==_0x56bdf8);_0x394cde['length']&&_0x25950c['getAllAdjacentSuggestions']()['length']!=_0x394cde['length']&&_0x394cde['reduce']((_0x325845,_0x351db0)=>(_0x325845['next']=_0x351db0,_0x351db0['previous']=_0x325845,_0x351db0));};function _0x1ee155(_0x4f7ec8,_0x405c83=!0x0){const {id:_0x565acc,authorId:_0xf333eb}=_0x518fa7(_0x4f7ec8['markerName']),_0x38403f=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x55f39c=_0x3a3522['activeMarkers']['includes'](_0x4f7ec8['markerName']);return _0x55f39c&&_0x38403f['push']('ck-suggestion-marker--active'),{'classes':_0x38403f,'attributes':{'data-suggestion':_0x565acc,'data-author-id':_0xf333eb},'priority':_0x55f39c&&_0x405c83?0xbc2:0xbb8};}_0x3a3522['on']('suggestionLoaded',_0x3f377e,{'priority':'high'}),_0x3a3522['on']('suggestionUnloaded',_0x3f377e,{'priority':'high'}),_0x426907['model']['document']['registerPostFixer'](()=>{let _0x59d4b4=!0x1;const _0x587346=Array['from'](_0x426907['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x724b,data:_0x32eea5}of _0x587346){const {group:_0x40132a,type:_0x3b418a,id:_0x1f368d}=_0x518fa7(_0x724b);if('suggestion'!=_0x40132a||'deletion'!=_0x3b418a||_0x32eea5['oldRange'])continue;if(!_0x3a3522['hasSuggestion'](_0x1f368d))continue;const _0x553609=_0x3a3522['getSuggestion'](_0x1f368d)['getRanges'](),_0x57a83d=_0x426907['plugins']['get']('Users')['me'];for(const _0x4c5480 of _0x3a3522['getSuggestions']()){if(!_0x4c5480['isInContent']||_0x4c5480['author']!=_0x57a83d)continue;if('formatBlock'!=_0x4c5480['type']||'tablePasteCell'!=_0x4c5480['subType'])continue;if(_0x4c5480['getRanges']()['every'](_0x2404be=>_0x553609['some'](_0x51e107=>_0x51e107['containsRange'](_0x2404be,!0x0)))){for(const _0x305463 of _0x4c5480['getAllAdjacentSuggestions']())_0x305463['isInContent']&&(_0x305463['discard'](),_0x59d4b4=!0x0);}}}return _0x59d4b4;}),_0x426907['model']['document']['registerPostFixer'](_0x588ac2=>{const _0x378faa=_0x426907['commands']['get']('redo');if(!_0x378faa||!_0x378faa['_createdBatches']['has'](_0x588ac2['batch']))return!0x1;let _0x1d3ea9=!0x1;const _0x29f175=_0x426907['plugins']['get']('Users')['me'],_0x401463=_0x426907['model']['document']['differ']['getChanges'](),_0x30ebc7=Array['from'](_0x426907['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x713331,data:_0xdea996})=>{const {group:_0x3fd712,subType:_0x3b718e,authorId:_0x33176c}=_0x518fa7(_0x713331);return'suggestion'==_0x3fd712&&'tablePaste'==_0x3b718e&&_0x33176c==_0x29f175['id']&&!_0xdea996['oldRange'];});for(const _0x292ed8 of _0x401463){if('insert'!=_0x292ed8['type']||'tableCellSuggestion'!=_0x292ed8['name']||0x1!=_0x292ed8['length'])continue;const _0x4ae58d=_0x588ac2['createRange'](_0x292ed8['position'],_0x292ed8['position']['getShiftedBy'](0x1)),_0x4905a6=_0x30ebc7['find'](({data:_0x1ece73})=>_0x1ece73['newRange']['isEqual'](_0x4ae58d));if(!_0x4905a6){for(const {name:_0x886d86,data:_0x304c25}of _0x30ebc7)if(_0x4ae58d['containsRange'](_0x304c25['newRange'])){_0x588ac2['updateMarker'](_0x886d86,{'range':_0x4ae58d}),_0x1d3ea9=!0x0;break;}}}return _0x1d3ea9;}),_0x426907['model']['document']['registerPostFixer'](_0x570b7b=>{let _0x25bef8=!0x1;const _0x409414=_0x426907['plugins']['get']('Users')['me'],_0x4e9705=_0x3a3522['getSuggestions']()['filter'](_0x1bea15=>_0x1bea15['isInContent']&&_0x1bea15['author']==_0x409414),_0x2260e6=new Set(),_0x4b6fdd=new Set();for(const _0x59f80b of _0x4e9705)if('tablePaste'==_0x59f80b['subType'])for(const _0x3a70a4 of _0x59f80b['getMarkers']()){const _0x1e7d29=_0x3a70a4['getRange']()['getContainedElement']();if(_0x1e7d29){if(_0x1e7d29['is']('element','tableCellSuggestion')&&_0x35e48e(_0x1e7d29)){_0x59f80b['removeMarker'](_0x3a70a4['name']),_0x2260e6['add'](_0x1e7d29),_0x25bef8=!0x0;const _0x534850=_0x1e7d29['nextSibling'],_0xb7541d=_0x1e7d29['previousSibling'],_0x189af6=_0x534850&&_0x534850['is']('element','tableCellSuggestion'),_0x383194=_0xb7541d&&_0xb7541d['is']('element','tableCellSuggestion');_0x189af6&&!_0x2260e6['has'](_0x534850)&&_0x4b6fdd['add'](_0x534850),_0x383194&&!_0x2260e6['has'](_0xb7541d)&&_0x4b6fdd['add'](_0xb7541d);}else _0x1e7d29['is']('element','paragraph')&&_0x1e7d29['isEmpty']&&(_0x59f80b['removeMarker'](_0x3a70a4['name']),_0x25bef8=!0x0);}}else{if('tablePasteCell'==_0x59f80b['subType']){if(!_0x59f80b['attributes']||!_0x59f80b['attributes']['tablePasteChainId'])continue;const _0x228a01=_0x59f80b['attributes']['markerAttributes'];if(_0x228a01&&Object['keys'](_0x228a01)['length'])continue;const _0x482243=_0x59f80b['attributes']['tablePasteChainId'];let _0x10a983=!0x0,_0x1bd6df=!0x0;for(const _0x226169 of _0x4e9705)if(_0x226169['subType']&&_0x226169['subType']['startsWith']('tablePaste')){if(!_0x226169['attributes']['tablePasteChainId']){_0x1bd6df=!0x1;break;}if(_0x226169['id']!=_0x59f80b['id']&&_0x226169['attributes']['tablePasteChainId']==_0x482243){_0x10a983=!0x1;break;}}_0x1bd6df&&_0x10a983&&(_0x59f80b['removeMarkers'](),_0x25bef8=!0x0);}}for(const _0x46f99d of _0x2260e6)_0x570b7b['remove'](_0x46f99d);for(const _0x322334 of _0x4b6fdd)_0x570b7b['unwrap'](_0x322334);return _0x25bef8;}),_0x426907['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x19dfae=>_0x1ee155(_0x19dfae),'converterPriority':'high'}),_0x426907['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2b7b3b,_0x3fae4e)=>_0x3fae4e['options']['showSuggestionHighlights']?_0x1ee155(_0x2b7b3b,!0x1):null,'converterPriority':'high'});const _0x40dbaa=_0x426907['editing']['view'];this['listenTo'](_0x40dbaa['document'],'clipboardOutput',(_0x16cb20,_0x5b1418)=>{const _0x55aed4=[];for(const _0x8b7bb3 of _0x40dbaa['createRangeIn'](_0x5b1418['content'])['getItems']())_0x8b7bb3['is']('element','suggestion-td')&&_0x55aed4['push'](_0x8b7bb3);_0x40dbaa['change'](_0x71fd64=>{for(const _0x228ebd of _0x55aed4)_0x71fd64['move'](_0x71fd64['createRangeIn'](_0x228ebd),_0x71fd64['createPositionBefore'](_0x228ebd)),_0x71fd64['remove'](_0x228ebd);});});}}function _0x35e48e(_0x45606f){if(_0x45606f['isEmpty'])return!0x0;const _0x36f54c=_0x45606f['getChild'](0x0);return _0x36f54c['is']('element','paragraph')&&_0x36f54c['isEmpty'];}function _0x4ce082(_0x554674,_0x22f384={},_0x1f5917){for(const {isAnchor:_0xf64790,cellHeight:_0xe4b26d,cellWidth:_0x58c95e}of _0x1f5917['createTableWalker'](_0x554674,{'includeAllSlots':!0x0,..._0x22f384}))if(!_0xf64790||0x1!=_0xe4b26d||0x1!=_0x58c95e)return!0x1;return!0x0;}class _0x51b368 extends _0x31c75c['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x5335b6=this['editor']['plugins']['get']('TrackChangesEditing');_0x5335b6['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x5335b6['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x5335b6['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x5335b6['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x5335b6['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x5335b6['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x19810f,_0x4d69cf){const _0xe3d302=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4398ce=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x5a0024=_0x4d69cf['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x1425a3=_0x4398ce['getColumnGroupElement'](_0x5a0024);let _0x95a60a=_0x1425a3?_0x4398ce['getTableColumnsWidths'](_0x1425a3):null,_0x100d03=_0x5a0024['getAttribute']('tableWidth')||null;const _0x15275f=_0x4d69cf['tableWidth']||_0x100d03,_0x16cb77=_0x4d69cf['columnWidths']||_0x95a60a,_0x201f92=this['editor']['plugins']['get']('Users')['me'];for(const _0x801cfe of _0xe3d302['getSuggestions']()){const _0x54e6e2=_0x801cfe['getContainedElement']();if('resizeTable'===_0x801cfe['subType']&&_0x54e6e2===_0x5a0024){_0x801cfe['author']!==_0x201f92&&_0x801cfe['discard']();const _0x171920=_0x801cfe['data']['commandParams'];_0x100d03=_0x171920[0x0]['tableWidth'],_0x95a60a=_0x171920[0x0]['columnWidths'];break;}}_0x19810f({'table':_0x5a0024,'tableWidth':_0x15275f,'columnWidths':_0x16cb77}),_0xe3d302['markBlockFormat'](_0x5a0024,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x100d03,'columnWidths':_0x95a60a}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x297df1){if('formatBlock'!=_0x297df1['type']&&'formatInline'!=_0x297df1['type'])return;const {data:_0x586ee6}=_0x297df1;if(_0x586ee6&&'resizeTable'===_0x586ee6['formatGroupId']){const _0x580137='*Format:*\x20resize\x20table';return{'type':'format','content':_0x2ede81(this['editor']['locale'],_0x580137)};}}}class TrackChangesTemplate extends _0x31c75c['Plugin']{['afterInit'](){const _0x5d03d6=this['editor'];_0x5d03d6['plugins']['has']('Template')&&_0x5d03d6['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x31c75c['Plugin']{['afterInit'](){const _0x1c480c=this['editor'];if(!_0x1c480c['commands']['get']('insertTableOfContents'))return;_0x1c480c['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x38cf38=_0x1c480c['plugins']['get']('TrackChangesEditing'),_0xf6dd98=_0x1c480c['locale'];_0x38cf38['descriptionFactory']['registerElementLabel']('tableOfContents',_0x2bf2a3=>_0x2ede81(_0xf6dd98,'ELEMENT_TABLE_OF_CONTENTS',_0x2bf2a3));}}class TrackChangesTitle extends _0x31c75c['Plugin']{['afterInit'](){const _0x4c2ee4=this['editor'];if(!_0x4c2ee4['plugins']['has']('Title'))return;_0x4c2ee4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>_0x2ede81(_0x4c2ee4['locale'],'ELEMENT_TITLE')),_0x4c2ee4['model']['document']['registerPostFixer'](_0xe8f913=>{let _0x3934cf=!0x1;const _0x56e77c=Array['from'](_0x4c2ee4['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2487f0,data:_0x1072c7}of _0x56e77c){const {group:_0x52a749}=_0x518fa7(_0x2487f0);if('suggestion'!==_0x52a749||!_0x1072c7['newRange'])continue;const _0x3252ee=_0x1072c7['newRange'],_0x367532=_0x3252ee['end']['nodeBefore'];if(!_0x367532||!_0x367532['is']('element','title-content'))continue;if(!_0x3252ee['start']['isTouching'](_0x3252ee['end']))continue;const _0x188e2c=_0x4c2ee4['model']['schema']['getNearestSelectionRange'](_0x3252ee['end'],'forward');if(_0x188e2c&&_0x188e2c['isCollapsed']){const _0x2af216=_0xe8f913['createRange'](_0x3252ee['start'],_0x188e2c['start']);_0x2af216['isEqual'](_0x3252ee)||(_0xe8f913['updateMarker'](_0x2487f0,{'range':_0x2af216}),_0x3934cf=!0x0);}_0x3934cf||(_0xe8f913['removeMarker'](_0x2487f0),_0x3934cf=!0x0);}return _0x3934cf;});}}class _0x55f749 extends _0x31c75c['Plugin']{['afterInit'](){const _0x4d2e9c=this['editor'],_0x5d062c=_0x4d2e9c['plugins']['get']('TrackChangesEditing');_0x4d2e9c['plugins']['has']('Uploadcare')&&(_0x5d062c['enableCommand']('uploadcare'),_0x4d2e9c['plugins']['has']('UploadcareImageEdit')&&(_0x5d062c['enableCommand']('uploadcareImageEdit'),_0x5d062c['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x5d062c['descriptionFactory']['registerDescriptionCallback'](_0x37acd7=>{if('attribute'!=_0x37acd7['type'])return;const {data:_0x1b0461}=_0x37acd7;return _0x1b0461&&'uploadcareImageId'==_0x1b0461['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x4cde8f extends _0x31c75c['Plugin']{['afterInit'](){const _0x409b4a=this['editor'],_0x35f1ee=_0x409b4a['plugins']['get']('TrackChangesEditing');_0x409b4a['plugins']['has']('UndoEditing')&&(_0x35f1ee['enableCommand']('undo'),_0x35f1ee['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x31c75c['Plugin']{static get['requires'](){return[_0x2ad8d3];}['afterInit'](){const _0x3ec03c=this['editor'];if(!_0x3ec03c['plugins']['has']('TableCaptionEditing'))return;_0x3ec03c['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x31c75c['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x9e2175){super(_0x9e2175),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellType'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x8be45b=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x38f6a1 of this['tableProperties'])_0x8be45b['enableCommand'](_0x38f6a1,(_0x52a2ea,_0x2cefe6)=>{const _0x19279c=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x38f6a1,[_0x19279c],this['tableProperties'],'tableProperties',_0x52a2ea,_0x2cefe6);});_0x8be45b['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x8be45b['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x8be45b['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x3fa153,_0x35576d)=>this['handleDiscardAction'](this['tableProperties'],_0x3fa153,_0x35576d)),_0x8be45b['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x1dc26d of this['tableCellProperties'])this['editor']['commands']['get'](_0x1dc26d)&&_0x8be45b['enableCommand'](_0x1dc26d,(_0x47adbd,_0x4e0424)=>{const _0x2b55b5=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x1dc26d,_0x2b55b5,this['tableCellProperties'],'tableCellProperties',_0x47adbd,_0x4e0424);});_0x8be45b['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x8be45b['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x8be45b['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x583e0e,_0x5d3cc0)=>this['handleDiscardAction'](this['tableCellProperties'],_0x583e0e,_0x5d3cc0)),_0x8be45b['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x8be45b['descriptionFactory']['registerAttributeLabel']('tableCellType',_0x2ede81(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x8be45b['descriptionFactory']['registerDescriptionCallback'](_0x229eab=>this['handleSuggestionDescription'](_0x229eab)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x2a55ee,_0x36d6f3,_0x2df7a0,_0x442fdd,_0xa79a8f,_0x4828b1){const _0x4493f7=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x4828b1['batch'],()=>{for(const _0x17450a of _0x36d6f3){if(this['_getSuggestion'](_0x17450a,_0x442fdd))_0xa79a8f(_0x4828b1);else{const _0x33a429={};for(const _0x3f85e1 of _0x2df7a0){const _0xba0f15=_0x17450a['getAttribute'](_0x3f85e1);void 0x0!==_0xba0f15&&(_0x33a429[_0x3f85e1]=_0xba0f15);}_0xa79a8f(_0x4828b1),_0x4493f7['markBlockFormat'](_0x17450a,{'commandParams':[_0x33a429]},[],_0x442fdd);}}});}['handleDiscardAction'](_0x3a6926,_0x117a3a,_0x2474f9){const _0x4fe3ff=_0x117a3a[0x0]['start']['nodeAfter'],_0x4e6341=_0x2474f9['commandParams'][0x0];this['editor']['model']['change'](_0x1d69a3=>{for(const _0x3e97c9 of _0x3a6926)void 0x0!==_0x4e6341[_0x3e97c9]?_0x1d69a3['setAttribute'](_0x3e97c9,_0x4e6341[_0x3e97c9],_0x4fe3ff):_0x1d69a3['removeAttribute'](_0x3e97c9,_0x4fe3ff);});}['handleSuggestionDescription'](_0x28d73c){if(_0x28d73c['data'])switch(_0x28d73c['subType']){case'tableProperties':return{'type':'format','content':_0x2ede81(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x2ede81(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x565e90,_0x34bb6a){const _0x2fa8ff=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x4c18c8 of _0x2fa8ff['getSuggestions']({'skipNotAttached':!0x0})){const _0x4cc823=_0x4c18c8['getContainedElement']();if(_0x4c18c8['subType']===_0x34bb6a&&_0x4cc823===_0x565e90)return _0x4c18c8;}return null;}['_registerTablePropertiesAttributes'](){const _0x5da0bf=this['editor']['plugins']['get']('TrackChangesEditing'),_0x37db34=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x4159b9 of _0x37db34){const _0x5d6641=_0x4159b9['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x5da0bf['descriptionFactory']['registerAttributeLabel'](_0x4159b9,_0x2ede81(this['editor']['locale'],'FORMAT_'+_0x5d6641));}}}class TrackChangesLineHeight extends _0x31c75c['Plugin']{['afterInit'](){const _0x47f901=this['editor'];if(!_0x47f901['plugins']['has']('LineHeight'))return;const _0x454348=_0x47f901['plugins']['get']('TrackChangesEditing'),_0x361986=_0x47f901['locale'];_0x454348['enableDefaultAttributesIntegration']('lineHeight'),_0x454348['descriptionFactory']['registerAttributeLabel']('lineHeight',_0x2ede81(_0x361986,'FORMAT_LINE_HEIGHT'));}}const _0x899db4='$elementName';class TrackChangesEditing extends _0x31c75c['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[CommentsRepository,SuggestionsConversion,_0x1eec90,_0x31c75c['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x1a8825,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x291f76,_0x46faee,_0x5d1891,_0x2f483d,TrackChangesComments,TrackChangesDeleteCommand,_0x124b18,TrackChangesEnterCommand,_0x386074,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x210cab,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0xb8564,TrackChangesImageStyle,_0x5d5550,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x563347,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x4b3b22,TrackChangesMention,_0x55af12,_0x58e83c,_0x10f381,_0x168f55,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x2ad8d3,TrackChangesTableMergeSplit,_0x1a9592,TrackChangesTableFooters,TrackChangesTableLayout,TrackChangesTableCaption,_0x3e448d,_0x51b368,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x55f749,_0x4cde8f];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d43c9){super(_0x2d43c9),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0xf9cd96,_0xfb42b5,_0x4eaae6,_0x507166)=>{this['_model']['change'](()=>{for(const _0x12974 of[..._0x507166,..._0x4eaae6])this['_model']['markers']['has'](_0x12974)&&_0x2d43c9['editing']['reconvertMarker'](_0x12974);});}),this['descriptionFactory']=new SuggestionDescriptionFactory(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new SuggestionFactory(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x2d43c9['plugins']['get'](CommentsRepository),this['_suggestionsConversion']=_0x2d43c9['plugins']['get'](SuggestionsConversion),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x2d43c9['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x2d43c9['config']['get']('trackChanges.trackFormatChanges'),_0x2d43c9['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2d43c9['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x146a07(_0x2d43c9,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x26d056=this['editor'];_0x26d056['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1b8efe,{writer:_0x10cd8a})=>{let _0x441e75='suggestion:'+_0x1b8efe['getAttribute']('suggestion-type')+':'+_0x1b8efe['getAttribute']('id');return _0x1b8efe['getAttribute']('marker-count')&&(_0x441e75+=':'+_0x1b8efe['getAttribute']('marker-count')),_0x10cd8a['createElement']('$marker',{'data-name':_0x441e75});}}),_0x26d056['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x26d056['model']['document']['registerPostFixer'](_0x189b97=>{let _0x401916=!0x1;const _0x5972da=Array['from'](_0x26d056['model']['document']['differ']['getChangedMarkers']()),_0x410def=new Set();for(const {name:_0x598215,data:_0x232018}of _0x5972da){const {group:_0x1e1a6f,type:_0x25a4a3,subType:_0x299a7f,id:_0x4726fd}=_0x518fa7(_0x598215);if('suggestion'!==_0x1e1a6f)continue;const _0x16c6aa=_0x299a7f?'suggestion:'+_0x25a4a3+':'+_0x299a7f+':'+_0x4726fd:'suggestion:'+_0x25a4a3+':'+_0x4726fd,_0x3ecf15=_0x26d056['model']['markers']['getMarkersGroup'](_0x16c6aa),_0x53c25a=_0x26d056['model']['markers']['get'](_0x598215),_0x2fb6c4=this['_suggestions']['get'](_0x4726fd);if(null!=_0x232018['newRange']){'formatInline'==_0x25a4a3&&(_0x401916=_0x401916||_0x49f2f6(_0x232018['newRange'],_0x598215,_0x189b97,_0x26d056['model']['schema']));const _0xedada1='attribute'==_0x25a4a3&&this['_suggestionsConversion']['isBlockAttribute'](_0x3c1b85(_0x299a7f)),_0x5e8680='attribute'==_0x25a4a3&&this['_suggestionsConversion']['isInlineAttribute'](_0x3c1b85(_0x299a7f));if(_0x232018['newRange']['isCollapsed']||'$graveyard'==_0x232018['newRange']['root']['rootName']||'formatBlock'==_0x25a4a3&&!_0x2289fb(_0x232018['newRange'])||_0xedada1&&!_0x2289fb(_0x232018['newRange'])||_0x5e8680&&_0x504741(_0x232018['newRange'])||'deletion'==_0x25a4a3&&_0x504741(_0x232018['newRange'])||_0x53c25a&&_0x9fd65d(_0x53c25a,_0x3ecf15))_0x189b97['removeMarker'](_0x598215),_0x401916=!0x0;else{if(!_0x2fb6c4||!_0x2fb6c4['isInContent'])continue;if(_0x232018['newRange']&&_0x232018['oldRange']&&_0x232018['newRange']['isEqual'](_0x232018['oldRange']))continue;_0x410def['add'](_0x2fb6c4);}}}return _0x410def['size']>0x0&&(_0x401916=!!this['_joinWithAdjacentSuggestions'](_0x410def)||_0x401916),_0x401916;}),_0x26d056['model']['document']['registerPostFixer'](_0x110e37=>{let _0x109772=!0x1;for(const _0xd581a1 of _0x26d056['model']['document']['differ']['getChanges']())if('insert'==_0xd581a1['type'])for(const _0x5b3fe4 of this['_suggestions']['values']()){if(_0x5b3fe4['isMultiRange']||!_0x5b3fe4['isInContent'])continue;const _0x7049b5='formatBlock'==_0x5b3fe4['type'],_0x2283a7=this['_getAttributeKey'](_0x5b3fe4),_0x436c17=_0x2283a7&&this['_suggestionsConversion']['isBlockAttribute'](_0x2283a7);if(!_0x7049b5&&!_0x436c17)continue;const _0x419480=_0x5b3fe4['getFirstRange']();if(_0x419480['start']['parent']!=_0x419480['end']['parent']&&!_0x419480['end']['isAtEnd']){const _0x40e453=_0x26d056['model']['createPositionAt'](_0x419480['start']['nodeAfter'],'end'),_0x2ade11=_0x26d056['model']['createRange'](_0x419480['start'],_0x40e453);_0x110e37['updateMarker'](_0x5b3fe4['getFirstMarker'](),{'range':_0x2ade11}),_0x109772=!0x0;}}return _0x109772;}),_0x26d056['model']['document']['registerPostFixer'](_0x4b756f=>this['_processAttributeChanges'](_0x4b756f)),_0x26d056['model']['document']['registerPostFixer'](_0x246e16=>!_0x246e16['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x246e16)),_0x26d056['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x26d056['model']['document']['on']('change:data',(_0x469c7c,_0x13ee3c)=>{if(!_0x13ee3c['isLocal']||_0x13ee3c['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x26a6e2=_0x26d056['model']['document']['differ']['getChanges']();if(0x0==_0x26a6e2['length'])return;const _0x1beef3=[],_0x4c4aae=_0x26a6e2['filter'](_0x100a23=>'attribute'==_0x100a23['type']),_0x28b5a8=_0x26a6e2['filter'](_0x51f416=>'insert'==_0x51f416['type']&&'$text'!=_0x51f416['name']);for(const _0x99f0df of _0x4c4aae)this['_suggestionsConversion']['isRegisteredAttribute'](_0x99f0df['attributeKey'])&&_0x1beef3['push']({'key':_0x99f0df['attributeKey'],'newValue':_0x99f0df['attributeNewValue'],'oldValue':_0x99f0df['attributeOldValue'],'range':_0x93a5e8(_0x99f0df['range'],_0x26d056['model'])});for(const _0x3fe2d0 of _0x28b5a8){if('rename'!=_0x3fe2d0['action']&&'refresh'!=_0x3fe2d0['action'])continue;const _0x22ef69=_0x18c8bc(_0x3fe2d0['position']['nodeAfter'],_0x26d056['model']),_0x35da97=_0x3fe2d0['before'];'rename'==_0x3fe2d0['action']&&_0x1beef3['push']({'key':_0x899db4,'newValue':_0x3fe2d0['name'],'oldValue':_0x35da97['name'],'range':_0x22ef69});for(const [_0x4ff885,_0x206331]of _0x35da97['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x4ff885))continue;const _0x3460c9=_0x3fe2d0['attributes']['get'](_0x4ff885);_0x206331!==_0x3460c9&&_0x1beef3['push']({'key':_0x4ff885,'newValue':_0x3460c9,'oldValue':_0x206331,'range':_0x22ef69});}for(const [_0x862c90,_0x58884a]of _0x3fe2d0['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x862c90)&&(_0x35da97['attributes']['has'](_0x862c90)||_0x1beef3['push']({'key':_0x862c90,'newValue':_0x58884a,'oldValue':null,'range':_0x22ef69}));}0x0!=_0x1beef3['length']&&_0x26d056['model']['enqueueChange'](_0x13ee3c,_0x35a9c0=>{const _0x1d163b=_0x31c75c['uid']();for(const {range:_0x1f97e7,key:_0x1a87e1,oldValue:_0x2187df,newValue:_0x235585}of _0x1beef3)this['markAttributeChange'](_0x1f97e7,_0x1a87e1,_0x2187df,_0x235585,{'groupId':_0x1d163b});this['_reduceExistingSuggestions'](_0x35a9c0,_0x1beef3);});},{'priority':'lowest'}),_0x26d056['model']['markers']['on']('update:suggestion',(_0xacad22,_0x3b328c,_0x482324)=>{if(null==_0x482324){const {id:_0x96cbc5}=_0x518fa7(_0x3b328c['name']),_0x4ffca1=this['_suggestions']['get'](_0x96cbc5);_0x4ffca1&&_0x4ffca1['addMarkerName'](_0x3b328c['name']);}}),_0x26d056['model']['document']['on']('change:data',()=>{const _0x335ebc=Array['from'](_0x26d056['model']['document']['differ']['getChangedMarkers']())['filter'](_0x1d6198=>'suggestion'===_0x518fa7(_0x1d6198['name'])['group']);if(0x0===_0x335ebc['length'])return;_0x335ebc['sort']((_0xdb5de3,_0x401507)=>{const _0x421f1b=_0xdb5de3['data']['oldRange'],_0x570775=_0x401507['data']['oldRange'];return null===_0x421f1b&&null===_0x570775?0x0:null===_0x421f1b&&null!==_0x570775?-0x1:null!==_0x421f1b&&null===_0x570775?0x1:_0x421f1b['start']['isBefore'](_0x570775['start'])?-0x1:0x1;});const _0x166a78=new Set(),_0x552eb4=new Set();for(const {name:_0x377450,data:_0x1ce34d}of _0x335ebc){const {id:_0x17f7e4}=_0x518fa7(_0x377450);if(null===_0x1ce34d['oldRange']){const _0x149aa5=this['_handleNewSuggestionMarker'](_0x377450);_0x552eb4['add'](_0x149aa5);}else{const _0x4f546e=this['_suggestions']['get'](_0x17f7e4);null!==_0x1ce34d['newRange']||_0x4f546e['isInContent']?(_0x166a78['add'](_0x4f546e['head']),_0x552eb4['add'](_0x4f546e)):this['_removeSuggestion'](_0x4f546e);}}_0x552eb4['size']>0x0&&this['_refreshSuggestionsChain'](_0x552eb4);for(const _0x6a6836 of _0x166a78)this['fire']('suggestionChanged',_0x6a6836);}),_0x26d056['model']['on']('applyOperation',(_0x37a3eb,_0x2c4cef)=>{const _0x2a77f3=_0x2c4cef[0x0];if(!this['_suggestions']['size'])return;if(!_0x2a77f3['isDocumentOperation'])return;if(_0x2a77f3['batch']['isUndo']||!_0x2a77f3['batch']['isLocal'])return;let _0x21b8d4,_0x18dfb8;switch(_0x2a77f3['type']){case'insert':_0x21b8d4=_0x26d056['model']['createPositionAt'](_0x2a77f3['position']),_0x18dfb8=_0x21b8d4['getShiftedBy'](_0x2a77f3['howMany']);break;case'split':_0x21b8d4=_0x26d056['model']['createPositionAt'](_0x2a77f3['splitPosition']),_0x18dfb8=_0x26d056['model']['createPositionAt'](_0x2a77f3['moveTargetPosition']);break;case'move':_0x21b8d4=_0x26d056['model']['createPositionAt'](_0x2a77f3['targetPosition']),_0x18dfb8=_0x21b8d4['getShiftedBy'](_0x2a77f3['howMany']);break;default:return;}const _0x1849b7=_0x26d056['model']['createRange'](_0x21b8d4,_0x18dfb8);_0x26d056['model']['change'](()=>{for(const {suggestion:_0x17a8a4,meta:_0x4a539e}of this['_findSuggestions'](_0x1849b7)){if(_0x17a8a4['isMultiRange'])continue;if('formatInline'==_0x17a8a4['type'])continue;const _0x2d4de0=this['_getAttributeKey'](_0x17a8a4);if(_0x2d4de0&&this['_suggestionsConversion']['isBlockAttribute'](_0x2d4de0)&&'split'!=_0x2a77f3['type'])continue;const _0x2885c9=_0x17a8a4['data']&&_0x17a8a4['data']['multipleBlocks'];('formatBlock'!=_0x17a8a4['type']||'split'==_0x2a77f3['type']&&!_0x2885c9)&&(_0x4a539e['containsRangeInObject']||'insertion'==_0x17a8a4['type']&&_0x4a539e['isOwn']||_0x17a8a4['getFirstRange']()['containsRange'](_0x1849b7)&&this['_breakSuggestionMarker'](_0x17a8a4,_0x21b8d4,_0x18dfb8));}});},{'priority':'lowest'}),_0x26d056['model']['on']('deleteContent',(_0x391bb3,_0x2a2d32)=>{const _0x383df6=_0x2a2d32[0x0],_0x5e50ba=_0x2a2d32[0x1];if(_0x5e50ba&&_0x5e50ba['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x383df6['isCollapsed'])return;const _0x54bc87=_0x26d056['model']['schema'],{start:_0x2d18c7,end:_0x634ff9}=_0x383df6['getFirstRange'](),_0x3ae5dc=_0x2d18c7['nodeAfter']&&_0x54bc87['isLimit'](_0x2d18c7['nodeAfter'])?null:_0x54bc87['getNearestSelectionRange'](_0x2d18c7,'forward'),_0x13075b=_0x634ff9['nodeBefore']&&_0x54bc87['isLimit'](_0x634ff9['nodeBefore'])?null:_0x54bc87['getNearestSelectionRange'](_0x634ff9,'backward'),_0x4d1e7a=_0x26d056['model']['createRange'](_0x3ae5dc?_0x3ae5dc['start']:_0x2d18c7,_0x13075b?_0x13075b['end']:_0x634ff9);_0x26d056['model']['change'](_0x36e826=>{this['markDeletion'](_0x4d1e7a);const _0x77e777=_0x26d056['model']['schema']['getNearestSelectionRange'](_0x4d1e7a['start']);_0x383df6['is']('documentSelection')?_0x36e826['setSelection'](_0x77e777):_0x383df6['setTo'](_0x77e777);}),_0x391bb3['stop']();},{'priority':_0x31c75c['priorities']['normal']+0xa}),_0x26d056['model']['on']('insertContent',(_0x1fefde,_0x21de20)=>{const _0x2a062f=_0x21de20[_0x21de20['length']-0x1];_0x2a062f&&_0x2a062f['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x26d056['model']['change'](()=>{let _0x140e23=_0x26d056['model']['insertContent'](_0x21de20[0x0],_0x21de20[0x1],_0x21de20[0x2],{'forceDefaultExecution':!0x0});if(!_0x140e23)return;_0x1fefde['return']=_0x140e23['clone']();const _0x598971=_0x140e23['end']['nodeBefore'],_0x3c40bb=_0x26d056['model']['schema'];_0x598971&&_0x3c40bb['isBlock'](_0x598971)&&!_0x3c40bb['isObject'](_0x598971)&&(_0x140e23=_0x26d056['model']['createRange'](_0x140e23['start'],_0x26d056['model']['createPositionAt'](_0x598971,'end'))),this['markInsertion'](_0x140e23);}),_0x1fefde['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x9dad67=new AcceptSuggestionCommand(_0x26d056,this['_suggestions']);_0x26d056['commands']['add']('acceptSuggestion',_0x9dad67),this['enableCommand']('acceptSuggestion');const _0x4c0ce3=new DiscardSuggestionCommand(_0x26d056,this['_suggestions']);_0x26d056['commands']['add']('discardSuggestion',_0x4c0ce3),this['enableCommand']('discardSuggestion'),_0x26d056['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x26d056,_0x9dad67,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x26d056['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x26d056,_0x4c0ce3,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x26d056['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x26d056,_0x9dad67,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x26d056['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x26d056,_0x4c0ce3,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x444e1f=_0x26d056['plugins']['get'](CommentsRepository);this['listenTo'](_0x444e1f,'addComment',(_0xfb7f21,{threadId:_0x361801})=>{const _0x15cbf6=this['_suggestions']['get'](_0x361801);_0x15cbf6&&_0x15cbf6['commentThread']&&0x1===_0x15cbf6['commentThread']['length']&&this['_updateSuggestionData'](_0x361801,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x444e1f,'removeComment',(_0x2c08a8,{threadId:_0x31a52b})=>{const _0x5224a8=this['_suggestions']['get'](_0x31a52b);_0x5224a8&&_0x5224a8['commentThread']&&!_0x5224a8['commentThread']['length']&&this['_updateSuggestionData'](_0x31a52b,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x59e1c0){const _0x2adee0=_0x3d9af8([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0xca9c57=0x3d8d0df,_0x15f390=0x3df5ab7^_0xca9c57,_0x1adefc=window[_0x3d9af8([0x44,0x61,0x74,0x65])][_0x3d9af8([0x6e,0x6f,0x77])](),_0xed9380=_0x59e1c0[_0x3d9af8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x113252=new window[(_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fc53f=>{_0xed9380[_0x3d9af8([0x6f,0x6e,0x63,0x65])](_0x3d9af8([0x72,0x65,0x61,0x64,0x79]),_0x2fc53f);}),_0x18193a={[_0x3d9af8([0x6b,0x74,0x79])]:_0x3d9af8([0x45,0x43]),[_0x3d9af8([0x75,0x73,0x65])]:_0x3d9af8([0x73,0x69,0x67]),[_0x3d9af8([0x63,0x72,0x76])]:_0x3d9af8([0x50,0x2d,0x32,0x35,0x36]),[_0x3d9af8([0x78])]:_0x3d9af8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3d9af8([0x79])]:_0x3d9af8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3d9af8([0x61,0x6c,0x67])]:_0x3d9af8([0x45,0x53,0x32,0x35,0x36])},_0x2f1699=_0xed9380[_0x3d9af8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d9af8([0x67,0x65,0x74])](_0x3d9af8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x309e7f(){let _0x9838ab,_0x165ef4=null,_0xc11c5d=null;try{if(_0x2f1699==_0x3d9af8([0x47,0x50,0x4c]))return _0x3d9af8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9838ab=_0x236754(),!_0x9838ab)return _0x3d9af8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9838ab[_0x3d9af8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc11c5d=_0x2b174b(_0x9838ab[_0x3d9af8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9838ab[_0x3d9af8([0x6a,0x74,0x69])])),await _0xafee07()?_0x219b9c()?_0x478436()?_0x3d9af8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfc66af()?(_0x9838ab[_0x3d9af8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9af8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x165ef4=_0x3aa494(_0x3d9af8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12f0b4()):_0x3d9af8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9af8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d9af8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d9af8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x478436(){const _0x24c812=[_0x3d9af8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d9af8([0x74,0x72,0x69,0x61,0x6c])][_0x3d9af8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9838ab[_0x3d9af8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1adefc/0x3e8:0xe10*_0x15f390;return _0x9838ab[_0x3d9af8([0x65,0x78,0x70])]<_0x24c812;}function _0x219b9c(){const _0x33d02c=_0x9838ab[_0x3d9af8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x33d02c)return!0x1;if(_0x33d02c[_0x3d9af8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9af8([0x2a])))return!0x0;if(_0x33d02c[_0x3d9af8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9af8([0x54,0x43])))return!0x0;if(_0x33d02c[_0x3d9af8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9af8([0x52,0x54,0x43]))){if(_0x22932f())return!0x0;if(_0x3d48ab()||_0x38a6d5())return!0x0;}return!0x1;}function _0xfc66af(){const _0x4d9c66=_0x9838ab[_0x3d9af8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d9c66||0x0==_0x4d9c66[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dfcca}=new URL(window[_0x3d9af8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d9c66[_0x3d9af8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcca))return!0x0;const _0x1c053d=_0x5dfcca[_0x3d9af8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9af8([0x2e]));return _0x4d9c66[_0x3d9af8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa7f9e7=>_0xa7f9e7[_0x3d9af8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9af8([0x2a])))[_0x3d9af8([0x6d,0x61,0x70])](_0x1b97af=>_0x1b97af[_0x3d9af8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9af8([0x2e])))[_0x3d9af8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45dbcc=>_0x45dbcc[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c053d[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9af8([0x6d,0x61,0x70])](_0x2aa0fa=>Array(_0x1c053d[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2aa0fa[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9af8([0x66,0x69,0x6c,0x6c])](_0x2aa0fa[0x0]===_0x3d9af8([0x2a])?_0x3d9af8([0x2a]):'')[_0x3d9af8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2aa0fa))[_0x3d9af8([0x73,0x6f,0x6d,0x65])](_0x172751=>_0x1c053d[_0x3d9af8([0x65,0x76,0x65,0x72,0x79])]((_0x3f3f28,_0x4f30be)=>_0x172751[_0x4f30be]===_0x3f3f28||_0x172751[_0x4f30be]===_0x3d9af8([0x2a])));}function _0x12f0b4(){return _0x165ef4&&_0xc11c5d?new window[(_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32b540,_0x3f85ff)=>{_0x165ef4[_0x3d9af8([0x74,0x68,0x65,0x6e])](_0x32b540,_0x3f85ff),_0xc11c5d[_0x3d9af8([0x74,0x68,0x65,0x6e])](_0x15bdc1=>{_0x15bdc1!=_0x3d9af8([0x56,0x61,0x6c,0x69,0x64])&&_0x32b540(_0x15bdc1);},_0x3f85ff);}):_0x165ef4||_0xc11c5d||_0x3d9af8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b174b(_0x2716df,_0x16bdef){return new window[(_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x493aa5=>{if(_0x668ce6())return _0x493aa5(_0x3d9af8([0x56,0x61,0x6c,0x69,0x64]));_0x290846(),_0xed9380[_0x3d9af8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d9af8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4995f4=!0x1;const _0x365ce5=_0x31c75c['uid']();function _0x44c18e(_0x36c22f){return!!_0x36c22f&&(typeof _0x36c22f===_0x3d9af8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36c22f===_0x3d9af8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36c22f[_0x3d9af8([0x74,0x68,0x65,0x6e])]===_0x3d9af8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36c22f[_0x3d9af8([0x63,0x61,0x74,0x63,0x68])]===_0x3d9af8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1663b9(_0x46fa45){_0x3de914(_0x46fa45)[_0x3d9af8([0x74,0x68,0x65,0x6e])](_0x1a51a1=>{if(!_0x1a51a1||_0x1a51a1[_0x3d9af8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d9af8([0x6f,0x6b]))return _0x3d9af8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x131dab(_0x5958e6(_0x365ce5+_0x16bdef))!=_0x1a51a1[_0x3d9af8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d9af8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9af8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9af8([0x74,0x68,0x65,0x6e])](_0x15c36a=>(_0x12f6c3(),_0x15c36a),()=>{const _0x69ff69=_0x56e8d9();return null==_0x69ff69?(_0x12f6c3(),_0x3d9af8([0x56,0x61,0x6c,0x69,0x64])):_0x3d9af8(_0x1adefc-_0x69ff69>(0x27d454df^_0xca9c57)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9af8([0x74,0x68,0x65,0x6e])](_0x493aa5)[_0x3d9af8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x493aa5(_0x3d9af8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a9913=0x3ee3e5f^_0xca9c57;function _0x12f6c3(){const _0x18b93e=_0x3d9af8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131dab(_0x5958e6(_0x2716df)),_0x23827d=_0x104c5a(_0x131dab(window[_0x3d9af8([0x4d,0x61,0x74,0x68])][_0x3d9af8([0x63,0x65,0x69,0x6c])](_0x1adefc/_0x1a9913)));window[_0x3d9af8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9af8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18b93e,_0x23827d);}function _0x56e8d9(){const _0x8d9bf2=_0x3d9af8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131dab(_0x5958e6(_0x2716df)),_0x18847f=window[_0x3d9af8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9af8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8d9bf2);return _0x18847f?window[_0x3d9af8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x104c5a(_0x18847f),0x10)*_0x1a9913:null;}function _0x3de914(_0x1f37bd){return new window[(_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xea33e1,_0x5de0b9)=>{_0x1f37bd[_0x3d9af8([0x74,0x68,0x65,0x6e])](_0xea33e1,_0x5de0b9),window[_0x3d9af8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5de0b9,0x3d9041f^_0xca9c57);});}}_0xed9380[_0x3d9af8([0x6f,0x6e])](_0x3d9af8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38018f,_0x414a0f)=>{if(_0x414a0f[0x0]!=_0x2716df)return _0x493aa5(_0x3d9af8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x414a0f[0x1]={..._0x414a0f[0x1],[_0x3d9af8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x365ce5};},{[_0x3d9af8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9af8([0x68,0x69,0x67,0x68])}),_0xed9380[_0x3d9af8([0x6f,0x6e])](_0x3d9af8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2be420=>{_0x44c18e(_0x2be420[_0x3d9af8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4995f4=!0x0,_0x1663b9(_0x2be420[_0x3d9af8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d9af8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9af8([0x6c,0x6f,0x77])}),_0x113252[_0x3d9af8([0x74,0x68,0x65,0x6e])](()=>{_0x4995f4||_0x493aa5(_0x3d9af8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x668ce6(){return _0xed9380[_0x3d9af8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9af8([0x76,0x69,0x65,0x77])][_0x3d9af8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d9af8([0x61,0x75,0x74,0x6f]);}function _0x290846(){_0xed9380[_0x3d9af8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9af8([0x76,0x69,0x65,0x77])][_0x3d9af8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d9af8([0x61,0x75,0x74,0x6f]);}}function _0x3aa494(_0x2f7eda){const _0x5e6794=[new window[(_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bb2fc=>setTimeout(_0x1bb2fc,0x3d1ee13^_0xca9c57)),_0x113252[_0x3d9af8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb30e8f=>{let _0x15b74b=0x0;_0xed9380[_0x3d9af8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9af8([0x6f,0x6e])](_0x3d9af8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31bbb9,_0x10c7e8)=>{_0x10c7e8[0x0][_0x3d9af8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15b74b++,_0x15b74b==(0x3d8d537^_0xca9c57)&&(_0xb30e8f(),_0x31bbb9[_0x3d9af8([0x6f,0x66,0x66])]());});}))];return window[_0x3d9af8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d9af8([0x72,0x61,0x63,0x65])](_0x5e6794)[_0x3d9af8([0x74,0x68,0x65,0x6e])](()=>_0x2f7eda);}async function _0x22263d(){await _0x113252,_0xed9380[_0x3d9af8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9af8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x257ecf,_0xed9380[_0x3d9af8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9af8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x257ecf,_0xed9380[_0x3d9af8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d9af8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22932f(){return _0x2f685e(_0x3d9af8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x46969b(_0x3d9af8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d9af8([0x73,0x74,0x61,0x74,0x65])]==_0x3d9af8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3d48ab(){return _0x2f685e(_0x3d9af8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x38a6d5(){return _0x2f685e(_0x3d9af8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x56fc97(_0xad674d){const _0x23818e=_0x1212c2();_0xed9380[_0x23818e]=_0x3d9af8([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xad674d,_0xad674d!=_0x3d9af8([0x56,0x61,0x6c,0x69,0x64])&&_0x22263d();}function _0x1212c2(){const _0x44ba01=window[_0x3d9af8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d9af8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d9af8([0x6e,0x6f,0x77])]())[_0x3d9af8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d9af8([0x2e]),'');let _0x276173=_0x3d9af8([0x52]);for(let _0x4846fe=0x0;_0x4846fe<_0x44ba01[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4846fe+=0x2){let _0x573e8a=window[_0x3d9af8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ba01[_0x3d9af8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4846fe,_0x4846fe+0x2));_0x573e8a>=_0x2adee0[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x573e8a-=_0x2adee0[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x276173+=_0x2adee0[_0x573e8a];}return _0x276173;}function _0x236754(){const _0x382f79=_0x2f1699[_0x3d9af8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9af8([0x2e]));if(0x3!=_0x382f79[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d79a9(_0x382f79[0x1]);function _0x4d79a9(_0x37a258){const _0x48faef=_0x245e9e(_0x37a258);return _0x48faef&&_0x1a952b()?_0x48faef:null;function _0x1a952b(){const _0x568945=_0x48faef[_0x3d9af8([0x6a,0x74,0x69])],_0x293ef2=window[_0x3d9af8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x568945[_0x3d9af8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x568945[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x338983={..._0x48faef,[_0x3d9af8([0x6a,0x74,0x69])]:_0x568945[_0x3d9af8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x568945[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x338983[_0x3d9af8([0x76,0x63])],_0x5958e6(_0x338983)==_0x293ef2;}}}async function _0xafee07(){let _0x2efe85=!0x0;try{const _0x3232c6=_0x2f1699[_0x3d9af8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9af8([0x2e])),[_0x33ab2a,_0x48751f,_0x213b5f]=_0x3232c6;return _0x3bfef0(_0x33ab2a),await _0x6c007d(_0x33ab2a,_0x48751f,_0x213b5f),_0x2efe85;}catch{return!0x1;}function _0x3bfef0(_0x1209e1){const _0x259e0b=_0x245e9e(_0x1209e1);_0x259e0b&&_0x259e0b[_0x3d9af8([0x61,0x6c,0x67])]==_0x3d9af8([0x45,0x53,0x32,0x35,0x36])||(_0x2efe85=!0x1);}async function _0x6c007d(_0x8ff745,_0x967837,_0xf46b80){const _0x6edd0d=window[_0x3d9af8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d9af8([0x66,0x72,0x6f,0x6d])](_0x1cb6b7(_0xf46b80),_0x5f48f3=>_0x5f48f3[_0x3d9af8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2db9bc=new window[(_0x3d9af8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d9af8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8ff745+_0x3d9af8([0x2e])+_0x967837),_0x4c4015=window[_0x3d9af8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d9af8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c4015)return;const _0x10bb1d=await _0x4c4015[_0x3d9af8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d9af8([0x6a,0x77,0x6b]),_0x18193a,{[_0x3d9af8([0x6e,0x61,0x6d,0x65])]:_0x3d9af8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9af8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d9af8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d9af8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c4015[_0x3d9af8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d9af8([0x6e,0x61,0x6d,0x65])]:_0x3d9af8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9af8([0x68,0x61,0x73,0x68])]:{[_0x3d9af8([0x6e,0x61,0x6d,0x65])]:_0x3d9af8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10bb1d,_0x6edd0d,_0x2db9bc)||(_0x2efe85=!0x1);}}function _0x245e9e(_0xc5b6cf){return _0xc5b6cf[_0x3d9af8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d9af8([0x65,0x79]))?JSON[_0x3d9af8([0x70,0x61,0x72,0x73,0x65])](_0x1cb6b7(_0xc5b6cf)):null;}function _0x1cb6b7(_0x4c743b){return window[_0x3d9af8([0x61,0x74,0x6f,0x62])](_0x4c743b[_0x3d9af8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d9af8([0x2b]))[_0x3d9af8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d9af8([0x2f])));}function _0x5958e6(_0x2c305a){let _0x4c19d1=0x1505;function _0x483b9b(_0x1409d0){for(let _0x37b0f2=0x0;_0x37b0f2<_0x1409d0[_0x3d9af8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b0f2++){const _0x816930=_0x1409d0[_0x3d9af8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37b0f2);_0x4c19d1=(_0x4c19d1<<0x5)+_0x4c19d1+_0x816930,_0x4c19d1&=_0x4c19d1;}}function _0x2d9291(_0x1c12bd){Array[_0x3d9af8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c12bd)?_0x1c12bd[_0x3d9af8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d9291):_0x1c12bd&&typeof _0x1c12bd==_0x3d9af8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d9af8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c12bd)[_0x3d9af8([0x73,0x6f,0x72,0x74])]()[_0x3d9af8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b5ac3,_0x212ff6])=>{_0x483b9b(_0x5b5ac3),_0x2d9291(_0x212ff6);}):_0x483b9b(window[_0x3d9af8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c12bd));}return _0x2d9291(_0x2c305a),_0x4c19d1>>>0x0;}function _0x131dab(_0x26b41d){return _0x26b41d[_0x3d9af8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d9af8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d9af8([0x30]));}function _0x104c5a(_0x191b64){return _0x191b64[_0x3d9af8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d9af8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d9af8([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f685e(_0x3a0a5f){return _0xed9380[_0x3d9af8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d9af8([0x68,0x61,0x73])](_0x3a0a5f);}function _0x46969b(_0x84353c){return _0xed9380[_0x3d9af8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d9af8([0x67,0x65,0x74])](_0x84353c);}function _0x257ecf(){}function _0x3d9af8(_0x525c88){return _0x525c88['map'](_0x2d9eb7=>String['fromCharCode'](_0x2d9eb7))['join']('');}_0x56fc97(await _0x309e7f());}(this);}set['adapter'](_0x231394){if(this['_adapter'])throw new _0x31c75c['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x231394;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x518c85=!0x1,toJSON:_0xdcae9e=!0x1}={}){const _0xd8f9b8=[];for(const _0x731594 of this['_suggestions']['values']())_0x518c85&&!_0x731594['isInContent']||_0xd8f9b8['push'](_0x731594);return _0xdcae9e?_0xd8f9b8['map'](_0x5d721b=>_0x5d721b['toJSON']()):_0xd8f9b8;}['getSuggestion'](_0x4d6c57){const _0x207c57=this['_suggestions']['get'](_0x4d6c57);if(!_0x207c57)throw new _0x31c75c['CKEditorError']('track-changes-suggestion-not-found',this);return _0x207c57;}['hasSuggestion'](_0x59fd72){return this['_suggestions']['has'](_0x59fd72);}['addSuggestionData'](_0x32e3a1){const {authorId:_0x4005f3,id:_0x20a4df,originalSuggestionId:_0xf98970,attributes:_0x4d3a77}=_0x32e3a1,[_0x4ba3ab,_0xa89b9]=_0x32e3a1['type']['split'](':'),_0x3f20f0=this['_suggestions']['get'](_0x20a4df)||this['_createSuggestion'](_0x4ba3ab,_0xa89b9,_0x20a4df,_0x4005f3,_0x4d3a77,_0xf98970);if(this['_addThreadToSuggestion'](_0x3f20f0),this['_checkSuggestionCorrectness'](_0x3f20f0,_0x4ba3ab,_0xa89b9||null,_0x4005f3),_0x3f20f0['createdAt']=_0x32e3a1['createdAt'],_0x3f20f0['_isDataLoaded']=!0x0,_0x4d3a77&&_0x4d3a77['@external']){const _0x1cb7a4=_0x4d3a77['@external'],_0x2644f5=this['_getExternalAuthor'](_0x1cb7a4['authorName']);_0x3f20f0['authoredAt']=_0x1cb7a4['createdAt'],_0x3f20f0['author']=_0x2644f5,_0x3f20f0['isExternal']=!0x0;}else _0x3f20f0['authoredAt']=_0x32e3a1['createdAt'];switch(_0x32e3a1['data']&&(_0x3f20f0['data']=_0x32e3a1['data']),_0x32e3a1['attributes']&&(_0x3f20f0['attributes']=_0x32e3a1['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x3f20f0['_saved']=!0x0),this['_suggestionState']['get'](_0x3f20f0)){case'notReady':this['_suggestionState']['set'](_0x3f20f0,'dataReady');break;case'markerReady':_0x3f20f0['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x3f20f0])),this['_refreshSuggestionsChain'](new Set([_0x3f20f0])),this['_suggestionState']['set'](_0x3f20f0,'ready'),this['fire']('suggestionLoaded',_0x3f20f0)):this['_suggestionState']['set'](_0x3f20f0,'removed');}return _0x3f20f0;}['acceptSuggestion'](_0x4a8f76){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x836e9a of _0x4a8f76['getAllAdjacentSuggestions']())_0x836e9a['accept']();});});}['discardSuggestion'](_0x2f2ba8){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x29035e of _0x2f2ba8['getAllAdjacentSuggestions']())_0x29035e['discard']();});});}['enableCommand'](_0x16c9c5,_0x25a914){const _0x25c359=this['editor']['commands']['get'](_0x16c9c5);if(!_0x25c359)throw new _0x31c75c['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x16c9c5});if(this['_enabledCommands']['has'](_0x25c359))throw new _0x31c75c['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x16c9c5});this['_enabledCommands']['add'](_0x25c359),_0x25a914&&_0x25c359['on']('execute',(_0x126e25,_0x21b968)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x21b968['length']>0x0&&_0x21b968[_0x21b968['length']-0x1]&&_0x21b968[_0x21b968['length']-0x1]['forceDefaultExecution']?_0x21b968['pop']():(_0x126e25['return']=_0x25a914((..._0xbfae08)=>_0x25c359['execute'](..._0xbfae08,{'forceDefaultExecution':!0x0}),..._0x21b968),_0x126e25['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x2cc613){let _0x11918f,_0x32edac;const _0x556a4a=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x11918f=_0x2cc613();}catch(_0x1dcacd){_0x32edac=_0x1dcacd;}return _0x556a4a||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x32edac&&_0x31c75c['CKEditorError']['rethrowUnexpectedError'](_0x32edac,this),_0x11918f;}['markInsertion'](_0x3d9f97,_0x4ea4b7=null,_0x233997={}){if(_0x3d9f97['isCollapsed'])return null;const _0x50c254=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x233997['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x322895,meta:_0x5f1fb8}of this['_findSuggestions'](_0x3d9f97,'insertion'))if(_0x5f1fb8['isOwn']){if(!_0x5f1fb8['isNextTo']){if(_0x5f1fb8['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_0x5e152a(_0x322895,_0x233997))continue;return _0x322895;}if(_0x5e152a(_0x322895,_0x233997))return _0x322895;this['_breakSuggestionMarker'](_0x322895,_0x3d9f97['start'],_0x3d9f97['end']);break;}if(_0x4ea4b7==_0x322895['subType']&&_0x5e152a(_0x322895,_0x233997)){const _0x3e15c8=_0x322895['getFirstRange']();return _0x3e15c8['start']['isEqual'](_0x3d9f97['end'])?this['_setSuggestionRange'](_0x322895,this['_model']['createRange'](_0x3d9f97['start'],_0x3e15c8['end'])):this['_setSuggestionRange'](_0x322895,this['_model']['createRange'](_0x3e15c8['start'],_0x3d9f97['end'])),_0x322895;}}const _0x2e334d=_0x31c75c['uid'](),_0x71c837=_0x50c254['id'],_0x5b1375=_0x4ea4b7?'insertion:'+_0x4ea4b7:'insertion',_0x4f2018=this['_setSuggestionData']({'id':_0x2e334d,'type':_0x5b1375,'createdAt':new Date(),'authorId':_0x71c837,'attributes':_0x233997});return this['_addSuggestionMarker'](_0x5b1375,_0x2e334d,_0x71c837,_0x3d9f97),_0x4f2018;}['markMultiRangeInsertion'](_0x4125bc,_0x27123f='multi',_0xbc8be1={}){const _0x37ec12=this['editor']['plugins']['get']('Users')['me'],_0x498edb=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x27123f,'join');this['_trackingSessionId']&&(_0xbc8be1['trackingSessionId']=this['_trackingSessionId']);for(const _0x2829d1 of this['getSuggestions']())if(_0x2829d1['author']['id']==_0x37ec12['id']&&'insertion'==_0x2829d1['type']&&_0x2829d1['subType']==_0x27123f&&_0x5e152a(_0x2829d1,_0xbc8be1)&&(_0x498edb(_0x2829d1['getRanges'](),_0x4125bc)||_0x498edb(_0x4125bc,_0x2829d1['getRanges']()))){for(const _0x58799d of _0x4125bc)_0x2829d1['addRange'](_0x58799d);return _0x2829d1;}for(const {suggestion:_0x304e9f,meta:_0x2896d3}of this['_findSuggestions'](_0x4125bc,'insertion')){if(!_0x2896d3['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x2896d3['containsRangeInObject'])continue;if(!_0x5e152a(_0x304e9f,_0xbc8be1))continue;let _0x33c33f=!0x0;for(const _0x5e8894 of _0x304e9f['getRanges']())for(const _0x32e78e of _0x4125bc)if(!_0x5e8894['containsRange'](_0x32e78e)){_0x33c33f=!0x1;break;}if(_0x33c33f)return _0x304e9f;}const _0x3903ee=_0x31c75c['uid'](),_0x51dde3=_0x37ec12['id'],_0x44aa19='insertion:'+_0x27123f,_0x4aff35=this['_setSuggestionData']({'id':_0x3903ee,'type':_0x44aa19,'createdAt':new Date(),'authorId':_0x51dde3,'attributes':_0xbc8be1});for(const _0x20db15 of _0x4125bc)this['_addSuggestionMarker'](_0x44aa19,_0x3903ee,_0x51dde3,_0x20db15,Suggestion['getMultiRangeId']());return _0x4aff35;}['markInlineFormat'](_0x2ab426,_0x429b68,_0x45e053=null,_0x280868={}){if(_0x45e053=_0x45e053||_0x251626(_0x429b68),_0x2ab426['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x280868['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5d16db=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x45e053,'accept');return this['forceDefaultExecution'](()=>_0x5d16db([_0x2ab426],_0x429b68,_0x280868)),null;}const _0x50006d=this['editor']['plugins']['get']('Users')['me'],_0x5c7ebf=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x43f6ca,meta:_0x341c2d}of this['_findSuggestions'](_0x2ab426,'insertion'))_0x341c2d['isOwn']&&!_0x341c2d['isInsideObject']&&_0x5c7ebf['push'](..._0x43f6ca['getRanges']());}const _0x32f030=function(_0x1e655f,_0x2f50e3){const _0x1f7d17=[];for(const _0x46d9a1 of _0x2f50e3){const _0x225406=_0x1e655f['getIntersection'](_0x46d9a1);_0x225406&&_0x1f7d17['push'](_0x225406);}return _0x1f7d17;}(_0x2ab426,_0x5c7ebf),_0x2ae69b=function(_0x15ae16,_0x21f9d7){const _0x1b902a=[_0x15ae16];for(const _0x58ab31 of _0x21f9d7){let _0x2bd3c0=0x0;for(;_0x2bd3c0<_0x1b902a['length'];){const _0xf635fa=_0x1b902a[_0x2bd3c0]['getDifference'](_0x58ab31);_0x1b902a['splice'](_0x2bd3c0,0x1,..._0xf635fa),_0x2bd3c0+=_0xf635fa['length'];}}return _0x1b902a;}(_0x2ab426,_0x5c7ebf);_0x32f030['length']&&this['_model']['change'](()=>{for(const _0x4bfd69 of _0x32f030){const _0x127fb6=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x45e053,'accept');this['forceDefaultExecution'](()=>_0x127fb6([_0x4bfd69],_0x429b68,_0x280868));}});for(const _0x39812 of _0x2ae69b){let _0x5df1a6=null,_0x5a8d97=_0x39812['start'],_0x1dac7b=_0x39812['end'];for(const {suggestion:_0x5912bb,meta:_0x2a06b0}of this['_findSuggestions'](_0x39812,'formatInline')){if(!_0x2a06b0['isOwn'])continue;if(_0x5912bb['subType']!=_0x45e053)continue;if(!_0x5e152a(_0x5912bb,_0x280868))continue;const _0x3916be=_0x5912bb['getFirstRange']();if(_0x3916be['containsRange'](_0x39812,!0x0))return null;_0x5a8d97=_0x5a8d97['isBefore'](_0x3916be['start'])?_0x5a8d97:_0x3916be['start'],_0x1dac7b=_0x1dac7b['isAfter'](_0x3916be['end'])?_0x1dac7b:_0x3916be['end'],_0x5df1a6?_0x3916be['start']['isBefore'](_0x5df1a6['getFirstRange']()['start'])?(_0x5df1a6['removeMarkers'](),_0x5df1a6=_0x5912bb):_0x5912bb['removeMarkers']():_0x5df1a6=_0x5912bb;}const _0x37f332=this['_model']['createRange'](_0x5a8d97,_0x1dac7b);if(_0x5df1a6)this['_setSuggestionRange'](_0x5df1a6,_0x37f332);else{const _0x18d831=_0x31c75c['uid'](),_0x18f3a0=_0x50006d['id'];this['_setSuggestionData']({'id':_0x18d831,'type':'formatInline:'+_0x45e053,'data':_0x429b68,'createdAt':new Date(),'authorId':_0x18f3a0,'attributes':_0x280868}),this['_addSuggestionMarker']('formatInline:'+_0x45e053,_0x18d831,_0x18f3a0,_0x37f332);}}return null;}['markBlockFormat'](_0x35cfeb,_0x36a106,_0x4e1745=[],_0x44674e=null,_0x35c0d7={}){_0x36a106['formatGroupId']||(_0x36a106['formatGroupId']=_0x36a106['commandName']),_0x36a106['multipleBlocks']=_0x35cfeb['is']('range'),_0x44674e=_0x44674e||_0x251626(_0x36a106);const _0x126953=_0x4e1745['map'](_0x51ea3d=>_0x18c8bc(_0x51ea3d,this['_model'])),_0x11304d=_0x35cfeb['is']('range')?_0x35cfeb:_0x18c8bc(_0x35cfeb,this['_model']);if(this['_trackingSessionId']&&(_0x35c0d7['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x3406f5=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x44674e,'accept');return this['forceDefaultExecution'](()=>_0x3406f5([_0x11304d],_0x36a106,_0x35c0d7)),null;}_0x126953['push'](_0x11304d);let _0x1ca264=!0x0;for(const _0x29220d of _0x126953)if(!this['_rangeIsInLocalUserInsertion'](_0x29220d)){_0x1ca264=!0x1;break;}if(_0x1ca264&&'always'!==this['_trackFormatChanges']){const _0x2728ba=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x44674e,'accept');return this['forceDefaultExecution'](()=>_0x2728ba([_0x11304d],_0x36a106,_0x35c0d7)),null;}let _0x142481=null,_0x21a0ca=_0x11304d['start'],_0x41d2f0=_0x11304d['end'];for(const {suggestion:_0x881fad,meta:_0x3cf4f0}of this['_findSuggestions'](_0x11304d,'formatBlock')){if(!_0x3cf4f0['isOwn'])continue;if(_0x3cf4f0['isNextTo']||_0x3cf4f0['containsRangeInObject']||_0x3cf4f0['isInsideObject'])continue;if(_0x881fad['data']['formatGroupId']!=_0x36a106['formatGroupId'])continue;if(!_0x5e152a(_0x881fad,_0x35c0d7))continue;const _0x21f218=_0x881fad['getFirstRange']();if(_0x881fad['subType']==_0x44674e){if(_0x21f218['containsRange'](_0x11304d,!0x0))return null;_0x21a0ca=_0x21a0ca['isBefore'](_0x21f218['start'])?_0x21a0ca:_0x21f218['start'],_0x41d2f0=_0x41d2f0['isAfter'](_0x21f218['end'])?_0x41d2f0:_0x21f218['end'],_0x142481?_0x21f218['start']['isBefore'](_0x142481['getFirstRange']()['start'])?(_0x142481['removeMarkers'](),_0x142481=_0x881fad):_0x881fad['removeMarkers']():_0x142481=_0x881fad;}else{const _0x3c49e2=_0x11304d['getIntersection'](_0x21f218);this['_cutOutSuggestionMarker'](_0x881fad,_0x3c49e2);}}const _0x22660b=this['editor']['plugins']['get']('Users')['me'],_0x51cb8d=_0x31c75c['uid'](),_0x4eb991=_0x22660b['id'];if(_0x142481)return this['_setSuggestionRange'](_0x142481,this['_model']['createRange'](_0x21a0ca,_0x41d2f0)),_0x142481;{const _0x29a2dd=this['_setSuggestionData']({'id':_0x51cb8d,'type':'formatBlock:'+_0x44674e,'data':_0x36a106,'createdAt':new Date(),'authorId':_0x4eb991,'attributes':_0x35c0d7});return this['_addSuggestionMarker']('formatBlock:'+_0x44674e,_0x51cb8d,_0x4eb991,this['_model']['createRange'](_0x21a0ca,_0x41d2f0)),_0x29a2dd;}}['markMultiRangeBlockFormat'](_0x322422,_0x2fe70b,_0x7d2732=[],_0x1f3fd0=null,_0x12feb8={}){_0x2fe70b['formatGroupId']||(_0x2fe70b['formatGroupId']=_0x2fe70b['commandName']);const _0x25bb1c=_0x322422[0x0];_0x2fe70b['multipleBlocks']=_0x25bb1c['is']('range'),_0x1f3fd0=_0x1f3fd0||_0x251626(_0x2fe70b);const _0x4ee476=_0x7d2732['map'](_0x396550=>_0x18c8bc(_0x396550,this['_model'])),_0xd4cca9=_0x25bb1c['is']('range')?_0x322422:_0x322422['map'](_0x3dcc2c=>_0x18c8bc(_0x3dcc2c,this['_model']));if(this['_trackingSessionId']&&(_0x12feb8['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x86a414=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x1f3fd0,'accept');return this['forceDefaultExecution'](()=>_0x86a414(_0xd4cca9,_0x2fe70b,_0x12feb8)),null;}_0x4ee476['push'](..._0xd4cca9);let _0x35f7b9=!0x0;for(const _0x88f88c of _0x4ee476)if(!this['_rangeIsInLocalUserInsertion'](_0x88f88c)){_0x35f7b9=!0x1;break;}if(_0x35f7b9&&'always'!==this['_trackFormatChanges']){const _0x5923be=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x1f3fd0,'accept');return this['forceDefaultExecution'](()=>_0x5923be(_0xd4cca9,_0x2fe70b,_0x12feb8)),null;}const _0x397408=this['editor']['plugins']['get']('Users')['me'];for(const _0x9fb913 of this['getSuggestions']()){const _0x512b8d=_0x9fb913['data'];if(_0x9fb913['author']['id']!=_0x397408['id'])continue;if('formatBlock'!=_0x9fb913['type']||_0x512b8d['formatGroupId']!=_0x2fe70b['formatGroupId'])continue;if(!_0x5e152a(_0x9fb913,_0x12feb8))continue;const _0x507365=_0x9fb913['subType']==_0x1f3fd0;for(let _0x1f6801=0x0;_0x1f6801<_0xd4cca9['length'];_0x1f6801++){const _0x6e03af=_0xd4cca9[_0x1f6801];for(const _0x36fa60 of _0x9fb913['getMarkers']()){const _0x242dd1=_0x36fa60['getRange']();if(_0x6e03af['isEqual'](_0x242dd1)){_0x507365?(_0xd4cca9['splice'](_0x1f6801,0x1),_0x1f6801--):_0x9fb913['removeMarker'](_0x36fa60['name']);break;}}}}if(0x0==_0xd4cca9['length'])return null;const _0x28845d=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x1f3fd0,'join');for(const _0x567d18 of this['getSuggestions']()){const _0x5776dd=_0x567d18['data'];if(_0x567d18['author']['id']==_0x397408['id']&&('formatBlock'==_0x567d18['type']&&_0x5776dd['formatGroupId']==_0x2fe70b['formatGroupId']&&_0x567d18['subType']==_0x1f3fd0&&_0x5e152a(_0x567d18,_0x12feb8)&&(_0x28845d(_0x567d18['getRanges'](),_0xd4cca9)||_0x28845d(_0xd4cca9,_0x567d18['getRanges']())))){for(const _0xf85d1b of _0xd4cca9)_0x567d18['addRange'](_0xf85d1b);return _0x567d18;}}const _0x54fcf5=_0x31c75c['uid'](),_0x53e858=_0x397408['id'],_0x44b4b6='formatBlock:'+_0x1f3fd0,_0x57f6b7=this['_setSuggestionData']({'id':_0x54fcf5,'type':_0x44b4b6,'data':_0x2fe70b,'createdAt':new Date(),'authorId':_0x53e858,'attributes':_0x12feb8});for(const _0x30b8ea of _0xd4cca9)this['_addSuggestionMarker'](_0x44b4b6,_0x54fcf5,_0x53e858,_0x30b8ea,Suggestion['getMultiRangeId']());return _0x57f6b7;}['markDeletion'](_0x572d42,_0x3f1a75=null,_0x97755d={}){if(_0x572d42['isCollapsed'])return null;const _0x137b55=this['editor']['plugins']['get']('Users')['me'],_0x45e1b1=new _0x31c75c['ModelLiveRange'](_0x572d42['start'],_0x572d42['end']);this['_trackingSessionId']&&(_0x97755d['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x1ffa7f,meta:_0x3bef1f}of this['_findSuggestions'](_0x45e1b1,'insertion'))if(_0x3bef1f['isOwn']&&!_0x3bef1f['isNextTo']){if(_0x1ffa7f['isMultiRange']){const _0x301871=_0x1ffa7f['getRanges']()['filter'](_0x8a9cb8=>'$graveyard'!=_0x8a9cb8['root']['rootName']);_0x301871['every'](_0x307ba8=>_0x45e1b1['containsRange'](_0x307ba8,!0x0))&&_0x1ffa7f['discard']();if(_0x301871['some'](_0x5f6156=>_0x5f6156['containsRange'](_0x45e1b1,!0x0))){const _0xd373bf=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x3f1a75,'accept');return this['forceDefaultExecution'](()=>_0xd373bf([_0x45e1b1],null,_0x97755d)),null;}}else{const _0x3ea914=_0x45e1b1['getIntersection'](_0x1ffa7f['getFirstRange']());null!==_0x3ea914&&_0x1ffa7f['_onDiscard']([_0x3ea914],null,_0x97755d);}}if(_0x45e1b1['detach'](),_0x45e1b1['isCollapsed']||'$graveyard'==_0x45e1b1['root']['rootName'])return null;let _0x5964ae=null,_0x31692c=_0x45e1b1['start'],_0x31d071=_0x45e1b1['end'];const _0x17c402=this['_findSuggestions'](_0x45e1b1,'deletion');for(const {suggestion:_0x719f1a,meta:_0x5a29e8}of _0x17c402){const _0x29c021=this['_model']['createRange'](_0x31692c,_0x31d071);if(_0x5a29e8['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5a29e8['containsRangeInObject']&&!_0x5a29e8['isInsideObject'])){if(_0x719f1a['isMultiRange']){if(!_0x5e152a(_0x719f1a,_0x97755d))continue;let _0x251420=!0x0;for(const _0x4ab118 of _0x719f1a['getRanges']()){if(_0x4ab118['containsRange'](_0x29c021,!0x0))return _0x719f1a;_0x29c021['containsRange'](_0x4ab118)||(_0x251420=!0x1);}_0x251420&&_0x719f1a['discard']();}else{const _0x34a5ac=_0x719f1a['getFirstRange']();if(_0x34a5ac['containsRange'](_0x29c021,!0x0))return _0x719f1a;if(!_0x5e152a(_0x719f1a,_0x97755d)){_0x29c021['containsRange'](_0x34a5ac)?_0x719f1a['removeMarkers']():_0x34a5ac['containsPosition'](_0x31692c)?_0x31692c=_0x34a5ac['end']:_0x34a5ac['containsPosition'](_0x31d071)&&(_0x31d071=_0x34a5ac['start']);continue;}_0x31692c=_0x31692c['isBefore'](_0x34a5ac['start'])?_0x31692c:_0x34a5ac['start'],_0x31d071=_0x31d071['isAfter'](_0x34a5ac['end'])?_0x31d071:_0x34a5ac['end'],_0x97755d=Object['assign']({},_0x719f1a['attributes']),_0x5964ae?_0x34a5ac['start']['isBefore'](_0x5964ae['getFirstRange']()['start'])?(_0x5964ae['removeMarkers'](),_0x5964ae=_0x719f1a):_0x719f1a['removeMarkers']():_0x5964ae=_0x719f1a;}}}if(_0x5964ae)return this['_setSuggestionRange'](_0x5964ae,this['_model']['createRange'](_0x31692c,_0x31d071)),_0x5964ae;{const _0x5eea27=_0x31c75c['uid'](),_0x2aa9f8=this['_model']['createRange'](_0x31692c,_0x31d071),_0x377fff=_0x137b55['id'],_0x702df4=_0x3f1a75?'deletion:'+_0x3f1a75:'deletion',_0x128cf1=this['_setSuggestionData']({'id':_0x5eea27,'type':_0x702df4,'createdAt':new Date(),'authorId':_0x377fff,'attributes':_0x97755d});return this['_addSuggestionMarker'](_0x702df4,_0x5eea27,_0x377fff,_0x2aa9f8),_0x128cf1;}}['markMultiRangeDeletion'](_0x4216f6,_0x248f7a='multi',_0x4c8205={}){const _0x372ebd=this['editor']['plugins']['get']('Users')['me'],_0x173e61=_0x4216f6['map'](_0xce5d33=>new _0x31c75c['ModelLiveRange'](_0xce5d33['start'],_0xce5d33['end'])),_0x337dd3=new Set();this['_trackingSessionId']&&(_0x4c8205['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x426d73,meta:_0x36c478}of this['_findSuggestions'](_0x173e61,'insertion'))_0x36c478['isOwn']&&!_0x36c478['isNextTo']&&_0x337dd3['add'](_0x426d73);for(const _0x1eb484 of _0x337dd3)if(_0x1eb484['isMultiRange']){const _0x21ae96=_0x1eb484['getRanges']();(!_0x1eb484['attributes']||!_0x1eb484['attributes']['skipNestingCheck'])&&(_0x21ae96['every'](_0x14e04d=>_0x173e61['some'](_0xd785c7=>_0xd785c7['containsRange'](_0x14e04d,!0x0)))&&_0x1eb484['discard']());if(_0x173e61['every'](_0x1e22b7=>_0x21ae96['some'](_0x512182=>_0x512182['containsRange'](_0x1e22b7,!0x0)))){const _0x397355=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x248f7a,'accept');return this['forceDefaultExecution'](()=>_0x397355(_0x4216f6,null,_0x4c8205)),null;}}else{const _0x4fd1c5=_0x1eb484['getFirstRange']();_0x173e61['some'](_0x525ad7=>_0x525ad7['containsRange'](_0x4fd1c5,!0x0))&&_0x1eb484['discard']();if(_0x173e61['every'](_0x296c88=>_0x4fd1c5['containsRange'](_0x296c88,!0x0))){const _0x2cc085=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x248f7a,'accept');return this['forceDefaultExecution'](()=>_0x2cc085(_0x173e61,null,_0x4c8205)),null;}}const _0x156568=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x248f7a,'join');let _0x8fe605=null;for(const _0x130117 of this['getSuggestions']())if(_0x130117['author']['id']==_0x372ebd['id']&&_0x130117['isInContent']&&'deletion'==_0x130117['type']&&_0x130117['subType']==_0x248f7a&&_0x5e152a(_0x130117,_0x4c8205)&&(_0x156568(_0x130117['getRanges'](),_0x173e61)||_0x156568(_0x173e61,_0x130117['getRanges']()))){if(_0x8fe605){if(_0x130117['commentThread']&&_0x130117['commentThread']['length'])continue;for(const _0x34e82f of _0x130117['getRanges']())_0x8fe605['isIntersectingWithRange'](_0x34e82f)||_0x8fe605['addRange'](_0x34e82f);_0x130117['removeMarkers']();}else{_0x8fe605=_0x130117;for(const _0x3eb891 of _0x173e61)_0x130117['isIntersectingWithRange'](_0x3eb891)||_0x130117['addRange'](_0x3eb891);}}if(_0x8fe605)return _0x8fe605;_0x337dd3['clear']();for(const {suggestion:_0x372b07,meta:_0x34307c}of this['_findSuggestions'](_0x173e61,'deletion'))_0x34307c['isOwn']&&(this['_mergeNestedSuggestions']||!_0x34307c['containsRangeInObject']&&!_0x34307c['isInsideObject'])&&_0x5e152a(_0x372b07,_0x4c8205)&&_0x337dd3['add'](_0x372b07);for(const _0x5252af of _0x337dd3){const _0x154fbf=_0x5252af['getRanges']();if(!_0x4c8205||!_0x4c8205['skipNestingCheck']){if(_0x173e61['every'](_0x18c5bf=>_0x154fbf['some'](_0x5dbec0=>_0x5dbec0['containsRange'](_0x18c5bf,!0x0))))return _0x5252af;}(!_0x5252af['attributes']||!_0x5252af['attributes']['skipNestingCheck'])&&(_0x154fbf['every'](_0x2b655c=>_0x173e61['some'](_0x43d267=>_0x43d267['containsRange'](_0x2b655c,!0x0)))&&_0x5252af['discard']());}const _0xbe9022=_0x31c75c['uid'](),_0x403c17=_0x372ebd['id'],_0x4f013d='deletion:'+_0x248f7a,_0x5bf973=this['_setSuggestionData']({'id':_0xbe9022,'type':_0x4f013d,'createdAt':new Date(),'authorId':_0x403c17,'attributes':_0x4c8205});for(const _0x2f6bf7 of _0x173e61)_0x2f6bf7['detach'](),_0x2f6bf7['isCollapsed']||'$graveyard'==_0x2f6bf7['root']['rootName']||this['_addSuggestionMarker'](_0x4f013d,_0xbe9022,_0x403c17,_0x2f6bf7,Suggestion['getMultiRangeId']());return _0x5bf973;}['markAttributeChange'](_0x65899,_0x2b13ae,_0xc96f01,_0x51c7ce,_0x5bcbc4){if(_0x65899['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x206a63=this['editor']['plugins']['get']('Users')['me']['id'],_0x530812=Array['from'](this['_suggestions']['values']())['filter'](_0x5af66b=>'attribute'==_0x5af66b['type']&&_0x5af66b['data']['key']==_0x2b13ae&&_0x5af66b['isIntersectingWithRange'](_0x65899));if(this['_trackingSessionId']&&(_0x5bcbc4['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x37a766=this['_findSuggestions'](_0x65899,'insertion')['filter'](({meta:_0x54b1b2})=>_0x54b1b2['isOwn']&&!_0x54b1b2['isInsideObject']&&!_0x54b1b2['isNextTo'])['map'](({suggestion:_0x32b916})=>_0x32b916);_0x530812['unshift'](..._0x37a766);}const _0x1f92da=new Map([[_0x65899,_0xc96f01]]);for(const _0x133c04 of _0x530812){const _0x592769='attribute'==_0x133c04['type']?_0x133c04['data']['oldValue']:void 0x0,_0x59fc33=_0x133c04['getFirstRange'](),_0x310f7a=Array['from'](_0x1f92da['keys']())['find'](_0x53108a=>_0x53108a['isIntersecting'](_0x59fc33));if(!_0x310f7a)continue;const _0x9bbc5b=_0x310f7a['getDifference'](_0x59fc33);this['_suggestionsConversion']['isBlockAttribute'](_0x2b13ae)&&'insertion'==_0x133c04['type']&&0x0!=_0x9bbc5b['length']||(_0x1f92da['delete'](_0x310f7a),_0x9bbc5b['forEach'](_0x1ce7b5=>{_0x1f92da['set'](_0x1ce7b5,_0xc96f01);}),'insertion'!=_0x133c04['type']&&_0x592769!=_0x51c7ce&&_0x1f92da['set'](_0x310f7a['getIntersection'](_0x59fc33),_0x592769));}const _0x378f34=[];for(const [_0x27a85e,_0x399c5f]of _0x1f92da){const _0x159bc9=_0x31c75c['uid'](),_0x44e12f={'key':_0x2b13ae,'oldValue':_0x399c5f,'newValue':_0x51c7ce};_0x2b13ae['length']>0x25&&console['warn']('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x2b13ae});const _0x43c7f5=('attribute:'+(_0x2b13ae+'|'+_0x251626({'newValue':_0x51c7ce})))['substring'](0x0,0x3c),_0x378706=this['_setSuggestionData']({'id':_0x159bc9,'type':_0x43c7f5,'data':_0x44e12f,'createdAt':new Date(),'authorId':_0x206a63,'attributes':_0x5bcbc4});_0x378f34['push'](_0x378706),this['_addSuggestionMarker'](_0x43c7f5,_0x159bc9,_0x206a63,_0x27a85e);}return _0x378f34;}['enableDefaultAttributesIntegration'](_0x46f8b6){this['enableCommand'](_0x46f8b6,(_0x12cc8c,..._0x1fea0e)=>{this['recordAttributeChanges'](()=>{_0x12cc8c(..._0x1fea0e);});});}['startTrackingSession'](_0x191233){return this['_trackingSessionId']=void 0x0!==_0x191233?_0x191233:_0x31c75c['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x271848){return'attribute'==_0x271848['type']?_0x3c1b85(_0x271848['subType']):null;}['_applyOperationsAsSuggestions'](_0x238455){if(0x0==_0x238455['length'])return;const _0x13ebe6=this['editor'],_0x53a987=_0x13ebe6['plugins']['get'](DocumentCompare),_0x2fb489=[];_0x13ebe6['model']['change'](_0x2d3be0=>{for(let _0x5314ed=0x0;_0x5314ed<_0x238455['length'];_0x5314ed++){const _0x238413=_0x238455[_0x5314ed];if(_0x238413['baseVersion']=_0x13ebe6['model']['document']['version'],_0x238413['isDocumentOperation']=!0x0,_0x53a987['isMarkedRemoveOperation'](_0x238413)){const _0x1983b4=_0x142cf4(_0x238413['newRange'],_0x13ebe6['model']);_0x2fb489['unshift'](_0x31c75c['ModelLiveRange']['fromRange'](_0x1983b4));}else switch(_0x238413['type']){case'rename':{const _0x26e4de=_0x238413['oldName'],_0x326dd2=_0x238413['newName'];if(_0x26e4de==_0x326dd2)break;_0x2d3be0['batch']['addOperation'](_0x238413),_0x13ebe6['model']['applyOperation'](_0x238413);const _0x5a0de4='$elementName',_0x2255b5=_0x238413['position'],_0x1f3913=_0x13ebe6['model']['createRange'](_0x2255b5,_0x13ebe6['model']['createPositionAt'](_0x2255b5['nodeAfter'],'end'));this['markAttributeChange'](_0x1f3913,_0x5a0de4,_0x26e4de,_0x326dd2,{'groupId':_0x31c75c['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x5b2970=_0x238413['oldValue'],_0x252a7e=_0x238413['newValue'];if(_0x5b2970==_0x252a7e)break;_0x2d3be0['batch']['addOperation'](_0x238413),_0x13ebe6['model']['applyOperation'](_0x238413);const _0x2c3de2=_0x238413['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x2c3de2))break;const _0x2eac03=_0x142cf4(_0x238413['range'],_0x13ebe6['model']);this['markAttributeChange'](_0x2eac03,_0x2c3de2,_0x5b2970,_0x252a7e,{'groupId':_0x31c75c['uid']()});break;}case'insert':{_0x2d3be0['batch']['addOperation'](_0x238413),_0x13ebe6['model']['applyOperation'](_0x238413);if(_0x238455[_0x5314ed+0x1]&&'move'==_0x238455[_0x5314ed+0x1]['type'])break;const _0x5486cc=_0x238413['position'],_0x547c39=_0x238413['howMany'],_0x1f36b8=_0x142cf4(_0x13ebe6['model']['createRange'](_0x5486cc,_0x5486cc['getShiftedBy'](_0x547c39)),_0x13ebe6['model']);this['markInsertion'](_0x1f36b8);break;}case'split':{_0x2d3be0['batch']['addOperation'](_0x238413),_0x13ebe6['model']['applyOperation'](_0x238413);const _0x420330=_0x238413['splitPosition'],_0x1f21f9=_0x238413['moveTargetPosition'];this['markInsertion'](_0x13ebe6['model']['createRange'](_0x420330,_0x1f21f9));break;}case'move':case'remove':_0x2d3be0['batch']['addOperation'](_0x238413),_0x13ebe6['model']['applyOperation'](_0x238413);}}for(const _0xeee55c of _0x2fb489)_0xeee55c['detach'](),this['markDeletion'](_0xeee55c);});}['_setSuggestionRange'](_0x2447ee,_0x43335f){const _0x135d8f=_0x2447ee['getFirstMarker']();this['_model']['change'](_0x459e05=>{_0x459e05['updateMarker'](_0x135d8f,{'range':_0x43335f});});}['_addThreadToSuggestion'](_0x22f5e2){const _0x3c8d6b=_0x22f5e2['id'],_0x23da10=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x3c8d6b)||this['_commentsRepository']['addCommentThread']({'channelId':_0x23da10,'threadId':_0x3c8d6b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2a30b1=this['_commentsRepository']['getCommentThread'](_0x3c8d6b);_0x2a30b1['unbind']('isRemovable'),_0x2a30b1['isRemovable']=!0x1,_0x22f5e2['commentThread']=_0x2a30b1;}['_checkSuggestionCorrectness'](_0x5297b4,_0x3ee320,_0xd8dc7a,_0x191b7c){if(_0x5297b4['type']!=_0x3ee320||_0x5297b4['subType']!=_0xd8dc7a||_0x5297b4['creator']['id']!=_0x191b7c)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x31c75c['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x206363,_0x39780a){const _0x36bcaf=_0x206363['getFirstRange']();if(_0x39780a['isEqual'](_0x36bcaf))_0x206363['removeMarkers']();else{if(_0x36bcaf['containsRange'](_0x39780a)){const _0x5af411=this['_model']['createPositionAt'](_0x39780a['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x206363,this['_model']['createRange'](_0x36bcaf['start'],_0x5af411));const _0x36c28b=_0x31c75c['uid'](),_0x233796=_0x206363['creator']['id'],_0x23c85e=_0x206363['type']+':'+_0x206363['subType'];this['_setSuggestionData']({'id':_0x36c28b,'type':_0x23c85e,'createdAt':new Date(),'authorId':_0x233796,'data':_0x206363['data'],'attributes':_0x206363['attributes']});const _0x5315e0=this['_model']['createPositionAt'](_0x39780a['end']['parent'],'after'),_0x1e286e=this['_model']['createRange'](_0x5315e0,_0x36bcaf['end']);this['_addSuggestionMarker'](_0x23c85e,_0x36c28b,_0x233796,_0x1e286e);}else{if(_0x36bcaf['containsPosition'](_0x39780a['start'])){const _0x5d8c7b=this['_model']['createPositionAt'](_0x39780a['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x206363,this['_model']['createRange'](_0x36bcaf['start'],_0x5d8c7b));}else{const _0x72fc26=this['_model']['createPositionAt'](_0x39780a['end']['parent'],'after');this['_setSuggestionRange'](_0x206363,this['_model']['createRange'](_0x72fc26,_0x36bcaf['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x312070){for(const {suggestion:_0x2233d4,meta:_0x39c424}of this['_findSuggestions'](_0x312070,'insertion')){if(!_0x39c424['isOwn'])continue;const _0x12ed9c=_0x2233d4['getRanges']();for(const _0x340ca2 of _0x12ed9c)if(!_0x312070['getDifference'](_0x340ca2)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x52f56f){return this['editor']['plugins']['get']('Users')['getUser'](_0x52f56f);}['_getExternalAuthor'](_0x3bdb78){const _0x5adc4a=this['editor']['plugins']['get']('Users'),_0x33d60d=ta('external:'+_0x3bdb78),_0x394af9=_0x5adc4a['getUser'](_0x33d60d);return _0x394af9||_0x5adc4a['addUser']({'id':_0x33d60d,'name':_0x3bdb78});}['_createSuggestion'](_0x16a44f,_0x2ca0ca,_0x366637,_0x194162,_0x4a3c53,_0x512fca){const _0x3761a5=this['_getAuthorFromId'](_0x194162);if(!_0x3761a5)throw new _0x31c75c['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x194162,'suggestionId':_0x366637});const _0x3b3058=this['_suggestionFactory']['buildSuggestion'](_0x16a44f,_0x2ca0ca,_0x366637,_0x3761a5,_0x4a3c53,_0x4824fc=>{this['_updateSuggestionData'](_0x366637,{'attributes':_0x4824fc});const _0x363973=this['getSuggestion'](_0x366637);this['_joinWithAdjacentSuggestions'](new Set([_0x363973])),this['_refreshSuggestionsChain'](new Set([_0x363973]));},_0x512fca);return this['listenTo'](_0x3b3058,'accept',()=>{this['_updateSuggestionData'](_0x366637,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x3b3058,'discard',()=>{this['_updateSuggestionData'](_0x366637,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x366637,_0x3b3058),this['_suggestionState']['set'](_0x3b3058,'notReady'),_0x3b3058;}['_breakSuggestionMarker'](_0x2b4ea3,_0x231960,_0x5ee10d){const _0x9333b2=_0x2b4ea3['getFirstRange'](),_0x580ef1=_0x9333b2['start'],_0x2abf7b=_0x9333b2['end'];this['_setSuggestionRange'](_0x2b4ea3,this['_model']['createRange'](_0x580ef1,_0x231960));const _0x3f060e=_0x31c75c['uid'](),_0x55bcc1=_0x2b4ea3['creator']['id'],_0x1e16db=_0x2b4ea3['type']+(_0x2b4ea3['subType']?':'+_0x2b4ea3['subType']:'');this['_setSuggestionData']({'id':_0x3f060e,'type':_0x1e16db,'createdAt':new Date(),'authorId':_0x55bcc1,'originalSuggestionId':_0x2b4ea3['_originalSuggestionId']||_0x2b4ea3['id'],'attributes':_0x2b4ea3['attributes'],'data':_0x2b4ea3['data']});const _0x4d7740=this['_getAttributeKey'](_0x2b4ea3);('formatBlock'==_0x2b4ea3['type']||_0x4d7740&&this['_suggestionsConversion']['isBlockAttribute'](_0x4d7740))&&(_0x5ee10d=this['_model']['createPositionBefore'](_0x5ee10d['parent'])),this['_addSuggestionMarker'](_0x1e16db,_0x3f060e,_0x55bcc1,this['_model']['createRange'](_0x5ee10d,_0x2abf7b));}['_findSuggestions'](_0x5caba9,_0x4ce14d=null){const _0x4a83db=[],_0x574a3c=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x5caba9)||(_0x5caba9=[_0x5caba9]);for(const _0x4b87ad of this['getSuggestions']()){if(!_0x4b87ad['isInContent'])continue;if(_0x4ce14d&&_0x4b87ad['type']!=_0x4ce14d)continue;let _0x2faa57=!0x1;for(const _0x4474cc of _0x4b87ad['getRanges']()){for(const _0x47084b of _0x5caba9){const _0x2b9bff=_0x47084b['start']['isEqual'](_0x4474cc['end'])||_0x47084b['end']['isEqual'](_0x4474cc['start']);if(_0x2b9bff||_0x47084b['getIntersection'](_0x4474cc)){const _0x2abae2=_0x47084b['containsRange'](_0x4474cc)&&_0x4caeac(this['_model']['schema'],_0x4474cc['start'],_0x47084b),_0x3f8e89=_0x4474cc['containsRange'](_0x47084b)&&_0x4caeac(this['_model']['schema'],_0x47084b['start'],_0x4474cc);_0x4a83db['push']({'suggestion':_0x4b87ad,'meta':{'isOwn':_0x574a3c==_0x4b87ad['author'],'isNextTo':_0x2b9bff,'isInsideObject':_0x2abae2,'containsRangeInObject':_0x3f8e89}}),_0x2faa57=!0x0;break;}}if(_0x2faa57)break;}}return _0x4a83db;}['_addSuggestionMarker'](_0x1f14dc,_0x2b70fe,_0x14d3b4,_0x4fe0f3,_0x4c7b63){this['_model']['change'](_0x3d6e6b=>{let _0x5c6378='suggestion:'+_0x1f14dc+':'+_0x2b70fe+':'+_0x14d3b4;_0x4c7b63&&(_0x5c6378=_0x5c6378+':'+_0x4c7b63),_0x3d6e6b['addMarker'](_0x5c6378,{'range':_0x4fe0f3,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0xe846d4){const _0x4494a6=_0xe846d4['previous'],_0x20295b=_0xe846d4['next'];_0xe846d4['previous']=null,_0xe846d4['next']=null,null!=_0x4494a6&&_0x4494a6['next']==_0xe846d4&&(_0x4494a6['next']=_0x20295b),null!=_0x20295b&&_0x20295b['previous']==_0xe846d4&&(_0x20295b['previous']=_0x4494a6),'ready'==this['_suggestionState']['get'](_0xe846d4)&&(this['_suggestionState']['set'](_0xe846d4,'removed'),this['fire']('suggestionUnloaded',_0xe846d4,_0x4494a6,_0x20295b));}['_setSuggestionData'](_0x24105){const _0x548502=_0x24105['id'],_0x18a110=this['addSuggestionData'](_0x24105);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x5cdb65=this['editor']['plugins']['get']('PendingActions'),_0x10cb06=_0x18a110['hasComments'],_0x259642=_0x18a110['subType']?_0x18a110['type']+':'+_0x18a110['subType']:_0x18a110['type'],_0x23794d=this['editor']['locale'],_0x122b4f=_0x5cdb65['add'](_0x2ede81(_0x23794d,'PENDING_ACTION_SUGGESTION')),_0x4c80a5={'id':_0x548502,'type':_0x259642,'hasComments':_0x10cb06,'data':_0x24105['data']||null,'originalSuggestionId':_0x24105['originalSuggestionId']||null,'attributes':_0x18a110['attributes']};this['_adapter']['addSuggestion'](_0x4c80a5)['then'](_0x3dbd6b=>{_0x18a110['_saved']=!0x0,_0x5cdb65['remove'](_0x122b4f),_0x3dbd6b&&_0x3dbd6b['createdAt']&&(this['_suggestions']['get'](_0x548502)['createdAt']=_0x3dbd6b['createdAt']);})['catch'](_0x3a12cd=>{throw _0x31c75c['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x18a110['discard']();}),_0x18a110['stopListening'](),this['_suggestions']['delete'](_0x18a110['id']),this['_suggestionState']['delete'](_0x18a110),_0x3a12cd;});}return _0x18a110;}['_updateSuggestionData'](_0x2a6b80,_0x27f385){const _0x32c34d=this['editor']['plugins']['get']('PendingActions'),_0x56ac74=this['getSuggestion'](_0x2a6b80);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x56ac74['_saved']){const _0x52d16e=_0x32c34d['add'](_0x2ede81(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x2a6b80,_0x27f385)['then'](()=>{_0x32c34d['remove'](_0x52d16e);});}else _0x56ac74['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x2a6b80,_0x27f385);});}}['_getSuggestionData'](_0x3d3d58){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x31c75c['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x3d3d58);}['_handleNewSuggestionMarker'](_0x59b404){const {id:_0x57851d,type:_0x139c86,subType:_0x23b332,authorId:_0x5d4d7c}=_0x518fa7(_0x59b404),_0x5629d1=this['_suggestions']['get'](_0x57851d)||this['_createSuggestion'](_0x139c86,_0x23b332,_0x57851d,_0x5d4d7c,{});switch(this['_checkSuggestionCorrectness'](_0x5629d1,_0x139c86,_0x23b332,_0x5d4d7c),this['_suggestionState']['get'](_0x5629d1)){case'notReady':this['_getSuggestionData'](_0x57851d)['then'](_0x55dc51=>{let _0x4c6b5d=Promise['resolve']();_0x55dc51['hasComments']&&(_0x4c6b5d=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x57851d})),_0x4c6b5d['then'](()=>{this['addSuggestionData'](_0x55dc51)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x5629d1,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x57851d,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x5629d1,'ready'),this['fire']('suggestionLoaded',_0x5629d1);break;case'ready':this['fire']('suggestionChanged',_0x5629d1);}return _0x5629d1['addMarkerName'](_0x59b404),_0x5629d1;}['_refreshSuggestionsChain'](_0x282f8c){const _0x3a2e2c=Array['from'](_0x282f8c),_0x174341=_0x3a2e2c['filter'](_0x11ba32=>'attribute'==_0x11ba32['type']);this['_refreshAttributeSuggestionsChain'](_0x174341);const _0x1f392c=_0x3a2e2c['filter'](_0x4c2c19=>!_0x4c2c19['isMultiRange']&&'attribute'!=_0x4c2c19['type']),_0x3d3023=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5eaa3f=>!_0x5eaa3f['isMultiRange']&&'attribute'!=_0x5eaa3f['type']),_0x32ed1a=_0x3d3023['filter'](_0x11f926=>!_0x282f8c['has'](_0x11f926)),_0x150c91=new Map(_0x3d3023['map'](_0x211207=>[_0x211207,this['_suggestionFactory']['getSuggestionCallback'](_0x211207['type'],_0x211207['subType'],'chain')])),_0x23a934=new Map(_0x3d3023['map'](_0x3db143=>[_0x3db143,_0x3db143['getFirstRange']()])),_0xec6a44=new Set(),_0x1a08b7=new Set();for(let _0x307801=0x0;_0x307801<_0x1f392c['length'];_0x307801++)_0x3f7088(_0x1f392c[_0x307801],_0x1f392c,_0x307801+0x1);for(let _0x4bc2fa=0x0;_0x4bc2fa<_0x1f392c['length'];_0x4bc2fa++)_0x3f7088(_0x1f392c[_0x4bc2fa],_0x32ed1a,0x0);const _0x33b2ae=new Set();for(let _0x41560c=0x0;_0x41560c<_0x1f392c['length'];_0x41560c++){const _0x1aa04d=_0x1f392c[_0x41560c];!_0x1a08b7['has'](_0x1aa04d)&&_0x1aa04d['previous']&&(_0x33b2ae['add'](_0x1aa04d['previous']),_0x1aa04d['previous']['next']===_0x1aa04d&&(_0x1aa04d['previous']['next']=null),_0x1aa04d['previous']=null),!_0xec6a44['has'](_0x1aa04d)&&_0x1aa04d['next']&&(_0x33b2ae['add'](_0x1aa04d['next']),_0x1aa04d['next']['previous']===_0x1aa04d&&(_0x1aa04d['next']['previous']=null),_0x1aa04d['next']=null);}function _0x3f7088(_0x5e44c7,_0x1b39c6,_0x2ad9d4){for(let _0x562602=_0x2ad9d4;_0x562602<_0x1b39c6['length'];_0x562602++){const _0x36c038=_0x2205c0(_0x5e44c7,_0x1b39c6[_0x562602]);_0x36c038&&(_0x36c038[0x0]['next']=_0x36c038[0x1],_0x36c038[0x1]['previous']=_0x36c038[0x0],_0xec6a44['add'](_0x36c038[0x0]),_0x1a08b7['add'](_0x36c038[0x1]));}}function _0x2205c0(_0x5671eb,_0x4c5604){if(_0x5671eb['author']['id']!==_0x4c5604['author']['id'])return null;const _0x613ad9=_0x150c91['get'](_0x5671eb)(_0x5671eb,_0x4c5604,_0x23a934['get'](_0x5671eb),_0x23a934['get'](_0x4c5604));if(!_0x613ad9)return null;return _0x150c91['get'](_0x4c5604)(_0x5671eb,_0x4c5604,_0x23a934['get'](_0x5671eb),_0x23a934['get'](_0x4c5604))?_0x613ad9[0x1]['commentThread']&&_0x613ad9[0x1]['commentThread']['length']?null:_0x613ad9:null;}_0x33b2ae['size']&&this['_refreshSuggestionsChain'](_0x33b2ae);}['_refreshAttributeSuggestionsChain'](_0x4a73e0){if(0x0==_0x4a73e0['length'])return;const _0x4ce76a=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x48816a=>'attribute'==_0x48816a['type']&&_0x48816a['_isDataLoaded']),_0x23e5fd=[],_0x2d4d50=new Map();for(const _0x3c5a77 of _0x4ce76a){const _0x10c36a=ta(_0x3c5a77['attributes']);_0x2d4d50['has'](_0x10c36a)||(_0x2d4d50['set'](_0x10c36a,_0x23e5fd['length']),_0x23e5fd['push']([]));const _0x25fb2a=_0x2d4d50['get'](_0x10c36a);_0x23e5fd[_0x25fb2a]['push'](_0x3c5a77);}!(function(){_0x23e5fd['sort']((_0x8fcb2c,_0x341137)=>{const _0x1a076f=_0x8fcb2c[0x0]['createdAt'],_0x42dd0d=_0x341137[0x0]['createdAt'];return _0x1a076f==_0x42dd0d?_0x8fcb2c[0x0]['attributes']['groupId']<_0x341137[0x0]['attributes']['groupId']?-0x1:0x1:_0x1a076f<_0x42dd0d?-0x1:0x1;});for(const _0x18b52f of _0x23e5fd)_0x18b52f['sort']((_0x3c2c72,_0x16a268)=>_0x3c2c72['id']<_0x16a268['id']?-0x1:0x1);}());for(let _0x371b18=0x0;_0x371b18<_0x23e5fd['length'];_0x371b18++){if(0x0==_0x23e5fd[_0x371b18]['length'])continue;const _0x2f6587=[];for(let _0x31c916=_0x371b18+0x1;_0x31c916<_0x23e5fd['length'];_0x31c916++)0x0!=_0x23e5fd[_0x31c916]['length']&&_0x38861e(_0x23e5fd[_0x371b18],_0x23e5fd[_0x31c916])&&_0x2f6587['push'](_0x31c916);for(const _0x533cf3 of _0x2f6587)_0x23e5fd[_0x371b18]=_0x23e5fd[_0x371b18]['concat'](_0x23e5fd[_0x533cf3]),_0x23e5fd[_0x533cf3]=[];}for(const _0x456122 of _0x23e5fd)for(let _0x4a81a0=0x0;_0x4a81a0<_0x456122['length'];_0x4a81a0++){const _0x42c879=_0x456122[_0x4a81a0+0x1]||null;_0x456122[_0x4a81a0]['next']!==_0x42c879&&(_0x456122[_0x4a81a0]['next']=_0x42c879);}for(const _0x14da65 of _0x23e5fd)for(let _0x322ab9=0x0;_0x322ab9<_0x14da65['length'];_0x322ab9++){const _0x359ed3=_0x14da65[_0x322ab9-0x1]||null;_0x14da65[_0x322ab9]['previous']!==_0x359ed3&&(_0x14da65[_0x322ab9]['previous']=_0x359ed3);}function _0x38861e(_0x15d8c6,_0x2ea2ce){if(_0x15d8c6[0x0]['attributes']['groupId']!==_0x2ea2ce[0x0]['attributes']['groupId']&&_0x15d8c6[0x0]['author']!==_0x2ea2ce[0x0]['author'])return!0x1;if(!function(_0x29e1dd,_0x54be4d){if(!_0x29e1dd['hasComments']&&!_0x54be4d['hasComments'])return!0x0;if(_0x29e1dd['hasComments']&&_0x54be4d['hasComments'])return!0x1;if(_0x29e1dd['hasComments']&&_0x54be4d['createdAt']<_0x29e1dd['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x54be4d['hasComments']&&_0x29e1dd['createdAt']<_0x54be4d['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x15d8c6[0x0],_0x2ea2ce[0x0]))return!0x1;if(!pt(_t(_0x15d8c6[0x0]['attributes'],['groupId','trackingSessionId']),_t(_0x2ea2ce[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x15d8c6[0x0]['attributes']['groupId']==_0x2ea2ce[0x0]['attributes']['groupId'])return!0x0;if(_0x15d8c6[0x0]['attributes']['trackingSessionId']!==_0x2ea2ce[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x15d8c6['every'](_0x182547=>_0x2ea2ce['some'](_0x12093d=>_0x182547['getFirstRange']()['isEqual'](_0x12093d['getFirstRange']())))&&_0x2ea2ce['every'](_0x525648=>_0x15d8c6['some'](_0x6caf68=>_0x525648['getFirstRange']()['isEqual'](_0x6caf68['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x240b52){const _0x435d9d=Array['from'](_0x240b52),_0x572882=this['getSuggestions']({'skipNotAttached':!0x0}),_0x4eb667=_0x572882['filter'](_0x49c83d=>!_0x240b52['has'](_0x49c83d)),_0x2d703a=new Map(_0x435d9d['map'](_0x966747=>[_0x966747,this['_suggestionFactory']['getSuggestionCallback'](_0x966747['type'],_0x966747['subType'],'join')])),_0x3ebc10=new Map(_0x572882['map'](_0x1402cf=>[_0x1402cf,_0x1402cf['getRanges']()]));for(let _0x2cb5fd=0x0;_0x2cb5fd<_0x435d9d['length'];_0x2cb5fd++){if(_0x4b6946(this,_0x435d9d[_0x2cb5fd],_0x435d9d,_0x2cb5fd+0x1))return!0x0;}for(let _0x5ab765=0x0;_0x5ab765<_0x435d9d['length'];_0x5ab765++){if(_0x4b6946(this,_0x435d9d[_0x5ab765],_0x4eb667,0x0))return!0x0;}return!0x1;function _0x4b6946(_0x15d3f2,_0x341373,_0x23dde1,_0x3f81bc){for(let _0x83c149=_0x3f81bc;_0x83c149<_0x23dde1['length'];_0x83c149++){const _0x593d95=_0x23dde1[_0x83c149];if(_0x593d95['type']!==_0x341373['type']||_0x593d95['author']['id']!==_0x341373['author']['id']||_0x593d95['subType']!==_0x341373['subType'])continue;if(!_0x2aaaea(_0x341373,_0x593d95))continue;if('attribute'==_0x341373['type']&&_0x341373['data']['oldValue']!=_0x593d95['data']['oldValue'])continue;if('attribute'==_0x341373['type']&&_0x15d3f2['_suggestionsConversion']['isBlockAttribute'](_0x341373['data']['key']))continue;if('formatBlock'==_0x341373['type']){const _0x9844a9=_0x15d3f2['editor']['model'],_0x467639=_0x341373['getContainedElement']();if(_0x467639&&(_0x9844a9['schema']['isObject'](_0x467639)||_0x9844a9['schema']['isLimit'](_0x467639)))continue;}const _0x449697=_0x2d703a['get'](_0x341373),_0x1285e3=_0x3ebc10['get'](_0x341373),_0x9c61d2=_0x3ebc10['get'](_0x593d95),_0x56866e=_0x341373['commentThread']&&_0x341373['commentThread']['length'],_0x3b7c3c=_0x593d95['commentThread']&&_0x593d95['commentThread']['length'];if(!_0x56866e&&_0x449697(_0x9c61d2,_0x1285e3))return _0x15d3f2['_joinSuggestions'](_0x593d95,_0x341373),_0x3ebc10['delete'](_0x341373),!0x0;if(!_0x3b7c3c&&_0x449697(_0x1285e3,_0x9c61d2))return _0x15d3f2['_joinSuggestions'](_0x341373,_0x593d95),_0x3ebc10['delete'](_0x593d95),!0x0;}return!0x1;}}['_joinSuggestions'](_0x5dfc7e,_0x1fcfe2){if(_0x5dfc7e['isMultiRange']){for(const _0x30bea1 of _0x1fcfe2['getRanges']())_0x5dfc7e['addRange'](_0x30bea1);}else{const _0x3b7412=_0x1fcfe2['getFirstRange']()['end'];this['_setSuggestionRange'](_0x5dfc7e,this['_model']['createRange'](_0x5dfc7e['getFirstRange']()['start'],_0x3b7412));}_0x1fcfe2['removeMarkers']();}['_getMarkerAnnouncementText'](_0x5906f1,_0x20c60f,_0x5be44f){const _0x329261=_0x5906f1['startsWith']('format')||_0x5906f1['startsWith']('attribute')?'FORMATTING':_0x5906f1['toUpperCase']();return _0x2ede81(this['editor']['locale'],_0x20c60f+'_'+_0x329261+'_SUGGESTION_ANNOUNCEMENT',_0x5be44f);}['_initAriaMarkerChangeAnnouncements'](){const _0x9eb4ff=this['editor'];if(!_0x9eb4ff['ui'])return;const {ariaLiveAnnouncer:_0x38faf3}=_0x9eb4ff['ui'];_0x2e1ccc(this['_model'],({left:_0x4f0175,entered:_0x1eedc9})=>{for(const _0x2a4766 of _0x4f0175){const {group:_0x51b2e2,type:_0x29a6ff}=_0x518fa7(_0x2a4766['name']);if('suggestion'===_0x51b2e2){_0x38faf3['announce'](this['_getMarkerAnnouncementText'](_0x29a6ff,'LEAVE'));break;}}for(const _0x3d7a2b of _0x1eedc9){const {group:_0x2a3750,type:_0xa748b8}=_0x518fa7(_0x3d7a2b['name']);if('suggestion'===_0x2a3750){_0x38faf3['announce'](this['_getMarkerAnnouncementText'](_0xa748b8,'ENTER',_0x31c75c['getEnvKeystrokeText'](_0x25c247)));break;}}});}['_processAttributeChanges'](_0xa1bc01){if(this['_recordAttributeSuggestions'])return!0x1;const _0x51f2ef=this['editor'],_0x5654e5=_0x51f2ef['model']['document']['differ']['getChanges']();if(0x0==_0x5654e5['length'])return!0x1;const _0x11f193=[],_0x4a4828=_0x5654e5['filter'](_0x11c850=>'attribute'==_0x11c850['type']),_0x350b2b=_0x5654e5['filter'](_0x412e09=>'insert'==_0x412e09['type']&&'$text'!=_0x412e09['name']),_0x52825a=_0x5654e5['filter'](_0x41ca53=>'remove'==_0x41ca53['type']&&'$text'!=_0x41ca53['name']);for(const _0x11936f of _0x4a4828)_0x11f193['push']({'key':_0x11936f['attributeKey'],'newValue':_0x11936f['attributeNewValue'],'oldValue':_0x11936f['attributeOldValue'],'range':_0x93a5e8(_0x11936f['range'],_0x51f2ef['model'])});for(const _0x391037 of _0x350b2b){const _0x28c4c1=_0x52825a['find'](_0x43c583=>_0x43c583['position']['isEqual'](_0x391037['position']));_0x28c4c1&&_0x11f193['push']({'key':_0x899db4,'newValue':_0x391037['name'],'oldValue':_0x28c4c1['name'],'range':_0x51f2ef['model']['createRangeOn'](_0x391037['position']['nodeAfter'])});}return 0x0!=_0x11f193['length']&&this['_reduceExistingSuggestions'](_0xa1bc01,_0x11f193);}['_processAttributeSuggestions'](_0x275bd7){let _0x2b495d=!0x1;const _0x5dafa5=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x440add=>_0x440add['data']['newRange']&&_0x440add['name']['startsWith']('suggestion:attribute:'));for(const _0x313593 of _0x5dafa5){const {subType:_0x27713d,id:_0xe6204e}=_0x518fa7(_0x313593['name']),_0x17b3d6=_0x27713d['split']('|')[0x0];for(const _0x5cc211 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x5cc211['id']!=_0xe6204e&&'attribute'==_0x5cc211['type']&&_0x5cc211['data']&&_0x5cc211['data']['key']==_0x17b3d6&&_0x5cc211['getFirstRange']()['isIntersecting'](_0x313593['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5cc211,_0x313593['data']['newRange'],_0x275bd7),_0x2b495d=!0x0);}return _0x2b495d;}['recordAttributeChanges'](_0x2ab014){this['_recordAttributeSuggestions']=!0x0,_0x2ab014();}['_reduceExistingSuggestions'](_0x2dfb6f,_0x37792d){if(0x0==_0x37792d['length'])return!0x1;let _0x2f87d4=!0x1;for(const _0xbe94e7 of _0x37792d){const _0x47e9da=this['_findSuggestions'](_0xbe94e7['range'],'attribute')['filter'](_0x3fc95f=>!_0x3fc95f['meta']['isNextTo'])['map'](_0x3e4957=>_0x3e4957['suggestion']),_0x39b8bd=ta({'newValue':_0xbe94e7['newValue']});_0x47e9da['filter'](_0x3432cd=>{const [_0x9f2507,_0x4bf8a9]=_0x3432cd['subType']['split']('|');return _0x9f2507==_0xbe94e7['key']&&_0x4bf8a9!=_0x39b8bd;})['forEach'](_0x1cffd7=>{this['_reduceSuggestionAttributeRange'](_0x1cffd7,_0xbe94e7['range'],_0x2dfb6f),_0x2f87d4=!0x0;});}return _0x2f87d4;}['_reduceSuggestionAttributeRange'](_0xa2353a,_0x1a8c8d,_0x3f6a07){const _0x53584a=_0xa2353a['getFirstRange']()['getDifference'](_0x1a8c8d);0x0!==_0x53584a['length']?0x1!==_0x53584a['length']?this['_breakSuggestionMarker'](_0xa2353a,_0x1a8c8d['start'],_0x1a8c8d['end']):this['_setSuggestionRange'](_0xa2353a,_0x53584a[0x0]):_0x3f6a07['removeMarker'](_0xa2353a['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x12535e){this['_editor']=_0x12535e,this['_model']=_0x12535e['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x101a96,_0x3c1f89,_0x28431e,_0x510816,_0x1353be,_0x11155b,_0x418715){return new Suggestion(this['_model'],{'type':_0x101a96,'subType':_0x3c1f89,'id':_0x28431e,'originalSuggestionId':_0x418715,'author':_0x510816,'creator':_0x510816,'attributes':_0x1353be,'onAttributesChange':_0x11155b,'onAccept':(..._0x30d343)=>this['getSuggestionCallback'](_0x101a96,_0x3c1f89,'accept')(..._0x30d343),'onDiscard':(..._0x256ecf)=>this['getSuggestionCallback'](_0x101a96,_0x3c1f89,'discard')(..._0x256ecf)});}['registerCustomCallback'](_0x5dbf62,_0x150ab6,_0x1a5b6a,_0x18c724){const _0x3be401=_0x5dbf62+':'+_0x150ab6+':'+_0x1a5b6a;this['_customCallbacks']['set'](_0x3be401,_0x18c724);}['getSuggestionCallback'](_0x4d29a3,_0x3997fa,_0x27f48d){const _0x50c42d=_0x4d29a3+':'+_0x3997fa+':'+_0x27f48d;return this['_customCallbacks']['get'](_0x50c42d)||this['_defaultCallbacks']['get'](_0x4d29a3+':'+_0x27f48d);}['_registerDefaultCallbacks'](){const _0x3bd30e=()=>!0x1,_0x2fe035=_0xa94a1d=>{_0xa94a1d['sort']((_0x35b140,_0x270f28)=>_0x35b140['start']['isBefore'](_0x270f28['start'])?0x1:-0x1),this['_model']['change'](_0x42cc5b=>{for(const _0x53816d of _0xa94a1d){let _0x17e445;_0x17e445=_0x53816d['end']['isAtEnd']&&_0x53816d['end']['parent']==_0x53816d['start']['nodeAfter']?_0x42cc5b['createSelection'](_0x53816d['start']['nodeAfter'],'on'):_0x42cc5b['createSelection'](_0x53816d),this['_model']['deleteContent'](_0x17e445,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x19af76=(_0x475b8c,_0x5ca054)=>{_0x5ca054&&this['_model']['change'](_0x51edec=>{const {commandName:_0x3382d0,commandParams:_0x2be18e=[]}=_0x5ca054,_0xb7407c=_0x475b8c['map'](_0x1a5baa=>(_0xbf7011(_0x1a5baa)&&(_0x1a5baa=this['_model']['createRange'](_0x1a5baa['end'])),_0x1a5baa))['filter'](_0x398dba=>'$graveyard'!==_0x398dba['root']['rootName']);if(_0xb7407c['length']<0x1)return;const _0x5c8476=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x3a10ef=>_0x31c75c['ModelLiveRange']['fromRange'](_0x3a10ef));_0x51edec['setSelection'](_0xb7407c);for(const _0xec5a47 of this['_editor']['commands']['commands']())_0xec5a47['refresh']();_0x2be18e['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x3382d0,..._0x2be18e);const _0x102b74=_0x5c8476['filter'](_0x1be8cc=>'$graveyard'!=_0x1be8cc['root']['rootName']);_0x102b74['length']>0x0&&_0x51edec['setSelection'](_0x102b74);for(const _0x23fb58 of _0x5c8476)_0x23fb58['detach']();});},_0x141c22=(_0x1199d1,_0xcc61d2)=>0x1==_0x1199d1['length']&&0x1==_0xcc61d2['length']&&_0x1199d1[0x0]['end']['isEqual'](_0xcc61d2[0x0]['start']),_0x23aa0a=(_0x4e0088,_0x527534,_0x446dc2,_0x3421fa)=>_0x17c183(_0x4e0088,_0x527534,_0x446dc2,_0x3421fa)?[_0x4e0088,_0x527534]:_0x17c183(_0x527534,_0x4e0088,_0x3421fa,_0x446dc2)?[_0x527534,_0x4e0088]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x3bd30e),this['_defaultCallbacks']['set']('insertion:discard',_0x2fe035),this['_defaultCallbacks']['set']('insertion:join',_0x141c22),this['_defaultCallbacks']['set']('insertion:chain',_0x23aa0a),this['_defaultCallbacks']['set']('deletion:accept',_0x2fe035),this['_defaultCallbacks']['set']('deletion:discard',_0x3bd30e),this['_defaultCallbacks']['set']('deletion:join',_0x141c22),this['_defaultCallbacks']['set']('deletion:chain',_0x23aa0a),this['_defaultCallbacks']['set']('formatInline:accept',_0x19af76),this['_defaultCallbacks']['set']('formatInline:discard',_0x3bd30e),this['_defaultCallbacks']['set']('formatInline:join',_0x141c22),this['_defaultCallbacks']['set']('formatInline:chain',_0x3bd30e),this['_defaultCallbacks']['set']('formatBlock:accept',_0x19af76),this['_defaultCallbacks']['set']('formatBlock:discard',_0x3bd30e),this['_defaultCallbacks']['set']('formatBlock:join',_0x141c22),this['_defaultCallbacks']['set']('formatBlock:chain',_0x3bd30e),this['_defaultCallbacks']['set']('attribute:accept',_0x3bd30e),this['_defaultCallbacks']['set']('attribute:discard',(_0x4b5634,_0x4422b3)=>{if(!_0x4422b3)return;const _0x3c518b=this['_editor']['plugins']['get'](SuggestionsConversion);this['_model']['change'](_0x462495=>{if(_0x4422b3['key']==_0x899db4)for(const _0x41c453 of _0x4b5634){const _0x17047a=_0x41c453['start']['nodeAfter'],_0xb31f5e=_0x4422b3['oldValue'];_0x462495['rename'](_0x17047a,_0xb31f5e);}else{if(_0x3c518b['isBlockAttribute'](_0x4422b3['key'])){for(const _0x2dea58 of _0x4b5634)void 0x0!==_0x4422b3['oldValue']?_0x462495['setAttribute'](_0x4422b3['key'],_0x4422b3['oldValue'],_0x2dea58['start']['nodeAfter']):_0x462495['removeAttribute'](_0x4422b3['key'],_0x2dea58['start']['nodeAfter']);}else{for(const _0x2db784 of _0x4b5634)_0x4422b3['oldValue']?_0x462495['setAttribute'](_0x4422b3['key'],_0x4422b3['oldValue'],_0x2db784):_0x462495['removeAttribute'](_0x4422b3['key'],_0x2db784);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x141c22);}}function _0x4caeac(_0x16929b,_0x511395,_0x2ea892){for(const _0x2c6783 of _0x511395['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2c6783['root']==_0x2c6783)return!0x1;if(!_0x2ea892['containsItem'](_0x2c6783))return!0x1;if(_0x16929b['isObject'](_0x2c6783)||_0x16929b['isLimit'](_0x2c6783))return!0x0;}return!0x1;}function _0xbf7011(_0x7dc186){return _0x7dc186['end']['parent']==_0x7dc186['start']['nodeAfter']&&_0x7dc186['end']['isAtStart'];}function _0x49f2f6(_0x5ccfae,_0x127d99,_0x3b835b,_0x4d74e9){const _0x69b68c=_0x314db5=>!_0x314db5['item']['is']('$textProxy')&&!_0x4d74e9['isObject'](_0x314db5['item']),_0x349a71=_0x5ccfae['start']['getLastMatchingPosition'](_0x69b68c),_0x1305fb=_0x5ccfae['end']['getLastMatchingPosition'](_0x69b68c,{'direction':'backward'});return(!_0x5ccfae['start']['isEqual'](_0x349a71)||!_0x5ccfae['end']['isEqual'](_0x1305fb))&&(_0x349a71['isBefore'](_0x1305fb)?_0x3b835b['updateMarker'](_0x127d99,{'range':_0x3b835b['createRange'](_0x349a71,_0x1305fb)}):_0x3b835b['removeMarker'](_0x127d99),!0x0);}function _0x251626(_0x2193d6){return ta(_0x2193d6);}function _0x2289fb(_0x4f1fa5){const _0x5ad60d=_0x4f1fa5['start']['nodeAfter'];return _0x5ad60d&&_0x5ad60d['is']('element');}function _0x504741(_0x1ce9e0){return _0xbf7011(_0x1ce9e0)||function(_0x34dd43){return _0x34dd43['start']['parent']==_0x34dd43['end']['nodeBefore']&&_0x34dd43['start']['isAtEnd'];}(_0x1ce9e0);}function _0x9fd65d(_0x572f6f,_0x25fe93){try{const _0x5e8ae5=_0x572f6f['getRange']();for(const _0x1e061e of _0x25fe93)if(_0x572f6f!==_0x1e061e&&_0x5e8ae5&&_0x5e8ae5['isIntersecting'](_0x1e061e['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function _0x93a5e8(_0x3cd31e,_0x2c4153){return null==_0x3cd31e['end']['nodeBefore']&&_0x3cd31e['end']['parent']==_0x3cd31e['start']['nodeAfter']?_0x18c8bc(_0x3cd31e['start']['nodeAfter'],_0x2c4153):_0x3cd31e;}function _0x18c8bc(_0x27f268,_0x1e8dda){const _0x21791e=_0x1e8dda['schema']['isObject'](_0x27f268)||_0x1e8dda['schema']['isSelectable'](_0x27f268);return _0x1e8dda['createRange'](_0x1e8dda['createPositionAt'](_0x27f268,'before'),_0x21791e?_0x1e8dda['createPositionAfter'](_0x27f268):_0x1e8dda['createPositionAt'](_0x27f268,'end'));}function _0x17c183(_0x52049a,_0x3d462e,_0x124382,_0xb12eee){return!!_0x2aaaea(_0x52049a,_0x3d462e)&&_0x124382['end']['isEqual'](_0xb12eee['start']);}function _0x2aaaea(_0x323a5d,_0x3b5f5f){if(!_0x323a5d['_isDataLoaded']||!_0x3b5f5f['_isDataLoaded'])return!0x1;const _0x3c64c6=new Set(Object['keys'](_0x323a5d['attributes'])),_0x3e2a8d=new Set(Object['keys'](_0x3b5f5f['attributes']));if(_0x3c64c6['delete']('groupId'),_0x3e2a8d['delete']('groupId'),0x0==_0x3c64c6['size']&&0x0==_0x3e2a8d['size'])return!0x0;if(_0x3c64c6['size']!=_0x3e2a8d['size'])return!0x1;const _0x5c7229={..._0x323a5d['attributes']},_0x7d2fe3={..._0x3b5f5f['attributes']};return delete _0x5c7229['groupId'],delete _0x7d2fe3['groupId'],JSON['stringify'](_0x5c7229)==JSON['stringify'](_0x7d2fe3);}function _0x5e152a(_0x2e7839,_0x5dd402){const _0x5b6233=_0x19b5bf(_0x2e7839['attributes']),_0x1bae89=_0x19b5bf(_0x5dd402);if(!_0x2e7839['_isDataLoaded'])return!0x1;for(const _0xde867 of Object['keys'](_0x1bae89))if(!pt(_0x5b6233[_0xde867],_0x1bae89[_0xde867]))return!0x1;return!0x0;}function _0x19b5bf(_0x4db021){const _0x13d382=Object['assign']({},_0x4db021);return delete _0x13d382['skipNestingCheck'],delete _0x13d382['tablePasteChainId'],_0x13d382;}function _0x3c1b85(_0x4cdd14){return _0x4cdd14['split']('|')[0x0];}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x45da75,_0x398359,_0x341f8b,_0x28c3a6){super(),this['model']=_0x398359,this['view']=_0x341f8b,this['commentThreadController']=_0x28c3a6,this['_editor']=_0x45da75,this['_acceptCommand']=_0x45da75['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x45da75['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x1ff779,_0x1a164f)=>_0x1ff779||_0x1a164f),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x9a11c0=>_0x9a11c0&&this['_editor']['model']['canEditAt'](_0x398359['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x319546=>_0x319546&&this['_editor']['model']['canEditAt'](_0x398359['getRanges']())),this['_pendingAction']=null,_0x341f8b['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x341f8b,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x341f8b,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x341f8b,'change:isDirty',()=>{_0x341f8b['isDirty']?this['_setPendingAction']():this['_removePendingAction']();});}['acceptSuggestion'](){this['_acceptCommand']['execute'](this['model']['id']);}['discardSuggestion'](){this['_discardCommand']['execute'](this['model']['id']);}['destroy'](){this['view']['unbind']('isEnabled'),this['view']['unbind']('canAccept'),this['view']['unbind']('canDiscard'),this['stopListening'](),this['commentThreadController']['destroy'](),this['_pendingAction']&&this['_removePendingAction']();}['_setPendingAction'](){const _0x163ee1=_0x2ede81(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x163ee1);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0x31c75c['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x1f4113,_0x3f0232,_0x448749,_0x4968b3){super(_0x1f4113),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x1f4113,_0x2ede81(_0x1f4113,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x3f0232['authoredAt']),this['bind']('authoredAt')['to'](_0x3f0232),this['set']('descriptionParts',[]),this['set']('isDirty',!0x1),this['set']('isEnabled',!0x1),this['set']('canAccept',!0x1),this['set']('canDiscard',!0x1),this['bind']('ariaLabel')['to'](this,'length',_0x3f0232,'authoredAt',this,'descriptionParts',(_0x5b5e92,_0x451b72,_0x28ab99)=>{const _0x309f2d=_0x28ab99['map'](_0xe99e0e=>_0xf03eea(_0xe99e0e['content']))['join']('.\x20')+'.';return _0x2ede81(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x5b5e92-0x1,_0x3f0232['author']['name'],_0x451b72?_0x4968b3['formatDateTime'](_0x451b72):'',new DOMParser()['parseFromString'](_0x309f2d,'text/html')['body']['textContent']]);}),this['focusables']=new _0x31c75c['ViewCollection'](),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x547a52=>_0x547a52['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x3f0232,this['_localUser']=_0x448749,this['_config']=_0x4968b3,_0x4968b3['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),_0x56a70a(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x42a880}=this['_config'];this['commentsListView']=new _0x42a880(this['locale'],this['_model']['commentThread'],Object['assign']({'CommentView':this['_config']['CommentView']},this['_config'])),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['set']('length',this['commentsListView']['length']+0x1),this['bind']('length')['to'](this['commentsListView'],'length',_0x5e8772=>_0x5e8772+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x423922,_0x1d2b59)=>_0x423922||!!_0x1d2b59);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x560801}=this['_config'],_0x3a2379=new _0x560801(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x1cb64b=_0x3a2379['commentInputView'];return _0x3a2379['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x1cb64b,'value',(_0x4cb98c,_0x1e2d5f,_0x36db19)=>!!_0x36db19||_0x4cb98c&&!_0x1e2d5f),_0x1cb64b['on']('submit',(_0x87a29b,_0x38df73)=>{this['fire']('addComment',_0x38df73),_0x1cb64b['editor']['setData']('');}),_0x1cb64b['on']('cancel',()=>this['focus']()),_0x1cb64b['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x3a2379;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x59b81b,_0x3050f6,_0x368d5d,_0x5ad489){super(_0x59b81b,_0x3050f6,_0x368d5d,_0x5ad489),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x20ac52=>_0x20ac52&&_0x20ac52[0x0]?_0x20ac52[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x476951,_0x37d213)=>{let _0x4b65f1='';for(const _0x9282ab of _0x476951)_0x4b65f1+='<p>'+_0xf03eea(_0x9282ab['content'],_0x9282ab['color'])+'</p>';return _0x37d213?_0x4b65f1:_0x6b65ae(_0x4b65f1,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x5ad489['SuggestionView'](_0x59b81b,_0x3050f6,{'formatDateTime':_0x5ad489['formatDateTime']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x1b07ec=this['bindTemplate'],_0x2d71cc=[this['suggestionView']];this['commentsListView']&&_0x2d71cc['push'](this['commentsListView']),this['commentThreadInputView']&&_0x2d71cc['push'](this['commentThreadInputView']),_0x2d71cc['push'](this['ariaDescriptionView']);const _0x4f7901={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x1b07ec['if']('isActive','ck-suggestion-wrapper--active'),_0x1b07ec['to']('type',_0x36da94=>'ck-suggestion-'+_0x36da94),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x1b07ec['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x2d71cc};return _0x4f7901;}['render'](){super['render'](),this['commentsListView']&&(this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this)),this['commentThreadInputView']&&(this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this));}}class SuggestionView extends _0x31c75c['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x3f5484,_0x4792d1,_0xd9a71b){super(_0x3f5484),this['_model']=_0x4792d1,this['_config']=_0xd9a71b,this['set']('description',''),this['bind']('authoredAt')['to'](_0x4792d1),this['acceptButton']=this['_createButton'](_0x2ede81(_0x3f5484,'Accept\x20suggestion'),_0x31c75c['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](_0x2ede81(_0x3f5484,'Discard\x20suggestion'),_0x31c75c['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x4a5e55(_0x3f5484,_0x4792d1['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0x31c75c['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x4968b6=>_0x4968b6['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x3c15f4=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x3c15f4['innerHTML']=this['description'],this['on']('change:description',(_0xf21fe8,_0x20e6b0,_0x4f201d)=>{_0x3c15f4['innerHTML']=_0x4f201d;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x1df766=this['bindTemplate'],_0x854b6a=[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name'],'data-cke-tooltip-text':this['userView']['name']}},{'tag':'time','attributes':{'datetime':_0x1df766['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x1df766['to']('authoredAt',_0x33b88d=>this['_config']['formatDateTime'](_0x33b88d))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];return this['_model']['isExternal']&&_0x854b6a['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0x854b6a}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x2ede81(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x2ede81(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?_0x2ede81(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x2ede81(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x57d67b,_0x4b9d63,_0x3a8dee,_0x3aaa9d,_0x440c5d){const _0x1c7a73=new LateFocusButtonView(this['locale']);return _0x1c7a73['set']({'label':_0x57d67b,'icon':_0x4b9d63,'tooltip':!0x0,'tooltipPosition':_0x440c5d}),_0x1c7a73['extendTemplate']({'attributes':{'class':_0x3a8dee}}),_0x1c7a73['on']('execute',()=>{this['fire'](_0x3aaa9d,this['_model']['id']);}),_0x1c7a73;}['_setupKeyboardNavigation'](){const _0x799b4a=this['element'];this['keystrokes']['listenTo'](_0x799b4a);for(const _0x1b4fcc of this['focusables'])this['focusTracker']['add'](_0x1b4fcc['element']),this['keystrokes']['listenTo'](_0x1b4fcc['element']);this['keystrokes']['set']('enter',(_0x262384,_0xe0ef48)=>{_0x799b4a===_0x262384['target']&&(this['focusCycler']['focusFirst'](),_0xe0ef48());}),this['keystrokes']['set']('esc',(_0x404c1d,_0xdc4209)=>{_0x799b4a!==_0x404c1d['target']&&(this['focus'](),_0xdc4209());});}}class _0x2099eb extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x1eec90,CommentsRepository,Annotations,EditorAnnotations];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x23f189){super(_0x23f189),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x508170=this['editor']['config'];_0x508170['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x508170['define']('trackChanges.SuggestionView',SuggestionView),_0x508170['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x508170['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x3f6bd7,_0x420f88){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x3838b7,_0x25ed3f]of this['_handleControllerBuffer']){const _0x5c876a=this['_suggestionToController']['has'](_0x3838b7);_0x5c876a||_0x25ed3f?_0x5c876a&&_0x25ed3f&&this['_destroyController'](_0x3838b7):this['_initializeController'](_0x3838b7);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](EditorAnnotations)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x3f6bd7,_0x420f88);}['init'](){const _0x43a6e2=this['editor'],_0x2ab9a1=_0x43a6e2['plugins']['get'](TrackChangesEditing),_0x505da1=_0x43a6e2['plugins']['get'](Annotations),_0x528b4f=_0x43a6e2['plugins']['get'](EditorAnnotations),_0x29853f=_0x43a6e2['plugins']['get'](CommentsRepository);this['_addUIComponentsToFactory'](),_0x528b4f['addSourceCollector'](()=>{const _0x110b0a=[];for(const [_0x5f1a28,_0x5c35ec]of Array['from'](this['_suggestionToController'])){const _0x21e970=_0x5f1a28['getAllAdjacentSuggestions'](),_0x5295b6=[];for(const _0x4d3136 of _0x21e970){if(!_0x4d3136['isInContent'])continue;if(_0x4d3136['isMultiRange']){_0x5295b6['push'](..._0x4d3136['getRanges']());continue;}const _0x262ce4=_0x4d3136['getFirstRange']();if(_0x5295b6['length']>0x0){const _0x5bb75b=_0x5295b6[0x0]['getJoined'](_0x262ce4);if(_0x5bb75b){_0x5295b6[0x0]=_0x5bb75b;continue;}}_0x5295b6['push'](_0x262ce4);}_0x110b0a['push']([_0x5c35ec['view'],_0x5295b6]);}return _0x110b0a;}),this['listenTo'](_0x2ab9a1,'suggestionLoaded',(_0x409ab2,_0x2c4547)=>{this['listenTo'](_0x2c4547,'change:previous',(_0x521c27,_0xc9041c,_0x4e9fdb,_0x7b6128)=>{_0x2c4547['isInContent']&&(null==_0x4e9fdb?(this['_updateController'](_0x7b6128['head']),this['_handleSuggestionControllerDelayed'](_0x2c4547,!0x1)):(this['_updateController'](_0x4e9fdb['head']),null==_0x7b6128&&this['_handleSuggestionControllerDelayed'](_0x2c4547,!0x0)));}),null!==_0x2c4547['previous']?this['_updateController'](_0x2c4547['head']):this['_handleSuggestionControllerDelayed'](_0x2c4547,!0x1);}),this['listenTo'](_0x2ab9a1,'suggestionUnloaded',(_0x127d23,_0x57f702,_0x22ed07)=>{this['stopListening'](_0x57f702,'change:previous'),this['_handleControllerBuffer']['delete'](_0x57f702),this['_suggestionToController']['has'](_0x57f702)&&this['_destroyController'](_0x57f702),_0x22ed07&&this['_updateController'](_0x22ed07['head']);}),this['listenTo'](_0x2ab9a1,'suggestionChanged',(_0x1a2876,_0x590e5c)=>{this['_updateController'](_0x590e5c);}),this['listenTo'](_0x505da1,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x29853f,'addComment',(_0x16c440,{threadId:_0x12d5d0,isFromAdapter:_0x1ea36a})=>{if(_0x1ea36a||!_0x2ab9a1['hasSuggestion'](_0x12d5d0))return;const _0x4cc6c1=_0x2ab9a1['getSuggestion'](_0x12d5d0);this['_suggestionToController']['get'](_0x4cc6c1)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c0d83=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4119b6;for(const _0x1329dd in _0x3c0d83){const _0x5cbe6f=_0x1329dd,_0x7e4f47=_0x3c0d83[_0x5cbe6f];if('trackChangesLicenseKeyValid'==_0x7e4f47||'trackChangesLicenseKeyInvalid'==_0x7e4f47||'trackChangesLicenseKeyExpired'==_0x7e4f47||'trackChangesLicenseKeyDomainLimit'==_0x7e4f47||'trackChangesLicenseKeyNotAllowed'==_0x7e4f47||'trackChangesLicenseKeyEvaluationLimit'==_0x7e4f47||'trackChangesLicenseKeyUsageLimit'==_0x7e4f47){delete _0x3c0d83[_0x5cbe6f],_0x4119b6=_0x7e4f47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x4119b6&&_0x3c0d83['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x4119b6&&_0x3c0d83['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x4119b6&&_0x3c0d83['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x4119b6&&_0x3c0d83['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x4119b6&&_0x3c0d83['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x4119b6&&_0x3c0d83['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x5a61cb){const _0x12a1f2=this['_suggestionToController']['get'](_0x5a61cb);if(!_0x12a1f2)return null;return this['editor']['plugins']['get'](Annotations)['getByInnerView'](_0x12a1f2['view'])||null;}['getSuggestionForAnnotation'](_0x4219d2){const _0x15e1ff=this['_viewToController']['get'](_0x4219d2['innerView']);return _0x15e1ff?_0x15e1ff['model']:null;}['_refreshActiveMarkers'](){const _0x11d162=this['editor']['plugins']['get'](Annotations),_0x3a0bb6=this['editor']['plugins']['get'](TrackChangesEditing),_0x325480=Array['from'](_0x11d162['activeAnnotations'],_0x256873=>_0x256873['innerView'])['filter'](_0x48e3e6=>this['_viewToController']['has'](_0x48e3e6)),_0x510de2=[];for(const _0x184301 of _0x325480){const _0x43ad99=this['_viewToController']['get'](_0x184301)['model']['getAllAdjacentSuggestions']();_0x510de2['push'](..._0x43ad99['reduce']((_0x5540c9,_0x189c57)=>[..._0x5540c9,..._0x189c57['getMarkerNames']()],[]));}_0x3a0bb6['activeMarkers']=_0x510de2;}['_addUIComponentsToFactory'](){const _0x3b1684=this['editor'],_0x1df82e=_0x3b1684['locale'],_0x5c69fe=_0x2ede81(_0x1df82e,'Track\x20changes'),_0x107ed1=new _0x31c75c['Collection']([{'type':'switchbutton','model':new _0x31c75c['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x5c69fe,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'label':_0x2ede81(_0x1df82e,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'label':_0x2ede81(_0x1df82e,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'label':_0x2ede81(_0x1df82e,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'label':_0x2ede81(_0x1df82e,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x3b1684['plugins']['has']('TrackChangesPreview')&&_0x107ed1['addMany']([{'type':'separator'},{'type':'button','model':new _0x31c75c['UIModel']({'withText':!0x0,'label':_0x2ede81(_0x1df82e,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x338272 of _0x107ed1)if(_0x1eaa47(_0x338272)){const _0x2dacb8=_0x3b1684['commands']['get'](_0x338272['model']['commandName']);_0x338272['model']['bind']('isOn','isEnabled')['to'](_0x2dacb8,'value','isEnabled');}_0x3b1684['ui']['componentFactory']['add']('trackChanges',_0x50ab84=>this['_createToolbarButton'](_0x50ab84,_0x107ed1,_0x5c69fe)),_0x3b1684['ui']['componentFactory']['add']('menuBar:trackChanges',_0xc86046=>this['_createMenuBarMenu'](_0xc86046,_0x107ed1,_0x5c69fe));}['_createToolbarButton'](_0x386def,_0x234c04,_0x1fa986){const _0x22b2c4=_0x31c75c['createDropdown'](_0x386def,_0x31c75c['SplitButtonView']),_0x5d622b=this['editor']['commands']['get']('trackChanges');_0x22b2c4['buttonView']['set']({'tooltip':_0x1fa986,'label':_0x1fa986,'icon':_0x31c75c['IconTrackChanges']}),_0x22b2c4['buttonView']['bind']('isOn')['to'](_0x5d622b,'value'),_0x22b2c4['buttonView']['on']('execute',()=>{_0x5d622b['execute'](),this['editor']['editing']['view']['focus']();}),_0x31c75c['addListToDropdown'](_0x22b2c4,_0x234c04,{'role':'menu'});const _0x2bab31=[];for(const _0x59ccf0 of _0x234c04)_0x1eaa47(_0x59ccf0)&&_0x2bab31['push'](this['editor']['commands']['get'](_0x59ccf0['model']['commandName']));const _0x4f1652=_0x22b2c4['buttonView'];return _0x4f1652['actionView']['unbind']('isEnabled'),_0x4f1652['arrowView']['unbind']('isEnabled'),_0x4f1652['actionView']['bind']('isEnabled')['to'](_0x5d622b,'isEnabled'),_0x4f1652['arrowView']['bind']('isEnabled')['toMany'](_0x2bab31,'isEnabled',(..._0x7fec2b)=>_0x7fec2b['some'](_0x327d76=>_0x327d76)),_0x22b2c4['on']('execute',_0x522550=>{this['editor']['execute'](_0x522550['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x22b2c4;}['_createMenuBarMenu'](_0x989fb4,_0x5641d7,_0x53942a){const _0x2615c4=new _0x31c75c['MenuBarMenuView'](_0x989fb4),_0x3a2f0e=this['editor']['commands']['get']('trackChanges');_0x2615c4['buttonView']['set']({'label':_0x53942a,'icon':_0x31c75c['IconTrackChanges']});const _0x4a66f6=new _0x31c75c['MenuBarMenuListView'](_0x989fb4);for(const _0x5ccebe of _0x5641d7){if('separator'==_0x5ccebe['type']){_0x4a66f6['items']['add'](new _0x31c75c['ListSeparatorView'](_0x989fb4));continue;}const _0x97fe02=new _0x31c75c['MenuBarMenuListItemView'](_0x989fb4,_0x2615c4),_0x5d6fc8=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x989fb4),_0x43758a=_0x5ccebe['model'];_0x5d6fc8['bind'](...Object['keys'](_0x43758a))['to'](_0x43758a),_0x5d6fc8['delegate']('execute')['to'](_0x2615c4),_0x5d6fc8['on']('execute',()=>{this['editor']['execute'](_0x43758a['commandName']),this['editor']['editing']['view']['focus']();}),_0x97fe02['children']['add'](_0x5d6fc8),_0x4a66f6['items']['add'](_0x97fe02);}return _0x2615c4['bind']('isEnabled')['to'](_0x3a2f0e,'isEnabled'),_0x2615c4['panelView']['children']['add'](_0x4a66f6),_0x2615c4;}['_initializeController'](_0x2e6322){const _0x4c374d=this['editor'],_0x324469=_0x4c374d['config'],_0x9989c8=_0x4c374d['plugins']['get'](Annotations),_0x54da52=_0x4c374d['plugins']['get'](CommentsRepository),_0x3cffd4=_0x4c374d['plugins']['get'](EditorAnnotations),_0x2a071b=_0x4c374d['plugins']['get'](_0x1eec90)['me'],_0x56bda2=_0x324469['get']('trackChanges')['SuggestionThreadView'],_0xd20904=_0x324469['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x322ed8,CommentThreadInputView:_0x33b322}=_0x4c374d['plugins']['get']('CommentsUI');let _0x342686,_0x1bf433,_0x48e0d0;this['_annotationViews']['has'](_0x2e6322['id'])?(_0x1bf433=this['_annotationViews']['get'](_0x2e6322['id']),_0x342686=_0x1bf433['mainView']):(_0x342686=new _0x56bda2(_0x4c374d['locale'],_0x2e6322,_0x2a071b,{'disableComments':this['_disableComments'],'editorConfig':{..._0x324469['get']('comments.editorConfig'),'licenseKey':_0x324469['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x324469['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x324469['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x324469['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x1e8f2b(_0x324469['get']('locale'),_0x4c374d['locale']),'CommentView':_0x324469['get']('comments')['CommentView'],'CommentsListView':_0x322ed8,'CommentThreadInputView':_0x33b322,'SuggestionView':_0xd20904}),_0x342686['suggestionView']['acceptButton']['on']('execute',()=>{_0x4c374d['editing']['view']['focus']();}),_0x342686['suggestionView']['discardButton']['on']('execute',()=>{_0x4c374d['editing']['view']['focus']();}),_0x1bf433=_0x9989c8['createAnnotationView'](this['editor']['locale'],_0x342686),_0x1bf433['bind']('isDirty')['to'](_0x342686,'isDirty'),_0x1bf433['bind']('length')['to'](_0x342686),_0x1bf433['bind']('type')['to'](_0x342686,'type',_0x2b2329=>'suggestion-'+_0x2b2329),_0x342686['on']('escape',()=>{_0x48e0d0['fire']('escape');}),this['_annotationViews']['set'](_0x2e6322['id'],_0x1bf433));const _0x16388e=_0x54da52['createCommentThreadController'](_0x2e6322['commentThread'],_0x342686),_0x43d916=new SuggestionController(_0x4c374d,_0x2e6322,_0x342686,_0x16388e),_0x514305=_0x2e6322['getAllAdjacentSuggestions']()['filter'](_0x87a007=>_0x87a007['isInContent']);_0x342686['descriptionParts']=_0x4c374d['plugins']['get'](TrackChangesEditing)['descriptionFactory']['getDescriptions'](_0x514305),this['_suggestionToController']['set'](_0x2e6322,_0x43d916),this['_viewToController']['set'](_0x342686,_0x43d916);const _0x1248b8=()=>{const _0x34230a=[],_0x31022c=_0x2e6322['getAllAdjacentSuggestions']()['filter'](_0x1c92a6=>_0x1c92a6['isInContent']);for(const _0xd3c997 of _0x31022c)_0x34230a['push'](..._0xd3c997['getMarkers']());return _0x458809(_0x4c374d['editing'],_0x34230a);};_0x48e0d0=_0x9989c8['createAnnotation']({'view':_0x1bf433,'target':_0x1248b8,'type':()=>'suggestion-'+_0x43d916['view']['type'],'isVisible':!!_0x1248b8()}),_0x54da52['_bindAnnotationToEditors'](_0x342686,_0x48e0d0),_0x9989c8['add'](_0x48e0d0),_0x3cffd4['registerAnnotation'](_0x48e0d0);}['_destroyController'](_0x54a699){const _0x30db1d=this['editor']['plugins']['get'](CommentsRepository),_0x12e0a1=this['editor']['plugins']['get'](Annotations),_0xba7238=this['_suggestionToController']['get'](_0x54a699),_0x1d313e=_0xba7238['view'],_0x1fc77c=_0x12e0a1['getByInnerView'](_0x1d313e);_0x30db1d['_unbindEditors'](_0x1d313e),_0x1fc77c&&_0x12e0a1['remove'](_0x1fc77c),this['_suggestionToController']['delete'](_0x54a699),this['_viewToController']['delete'](_0x1d313e),_0xba7238['destroy']();}['_updateController'](_0x3b6173){if(!_0x3b6173['isInContent']||!this['_suggestionToController']['has'](_0x3b6173))return;const _0x1a516f=this['editor']['plugins']['get'](TrackChangesEditing),_0xc40e01=this['_suggestionToController']['get'](_0x3b6173),_0x6586aa=_0x3b6173['getAllAdjacentSuggestions']();_0xc40e01['view']['descriptionParts']=_0x1a516f['descriptionFactory']['getDescriptions'](_0x6586aa);}['destroy'](){for(const _0x5c9061 of this['_suggestionToController']['keys']())this['_destroyController'](_0x5c9061);for(const _0x2ed27f of this['_annotationViews']['values']())_0x2ed27f['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x1eaa47(_0x266549){return'model'in _0x266549;}class _0x4ca0cd extends _0x31c75c['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x2099eb,Comments];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x2ce189){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x2ce189;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x461b1a){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x461b1a);}['getSuggestions']({skipNotAttached:_0x419d6d=!0x1,toJSON:_0x473b3c=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x419d6d,'toJSON':_0x473b3c});}['getSuggestion'](_0x3f5145){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x3f5145);}}const _0x3168fa=['Pagination'];class TrackChangesData extends _0x31c75c['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x54d3f5=this['editor'];if(_0x54d3f5['config']['define']('trackChangesData.editorCreator',_0x92dc31=>{const _0x194336=_0x54d3f5['model']['document']['getRootNames']()['reduce']((_0x43a6c6,_0x72d8c0)=>(_0x43a6c6[_0x72d8c0]='',_0x43a6c6),{});return _0x54d3f5['constructor']['create'](_0x194336,_0x92dc31);}),'function'!=typeof _0x54d3f5['config']['get']('trackChangesData')['editorCreator'])throw new _0x31c75c['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x279673){return _0x1973a1(this['editor'],!0x0,_0x279673);}['getDataWithDiscardedSuggestions'](_0x4493fd){return _0x1973a1(this['editor'],!0x1,_0x4493fd);}}class TrackChangesDataGetter extends _0x31c75c['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5ca786){function _0x221115(_0xbdaa99){return _0xbdaa99['map'](_0x35dd4c=>String['fromCharCode'](_0x35dd4c))['join']('');}super(_0x5ca786),this['result']='end',_0x5ca786[_0x221115([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221115([0x76,0x69,0x65,0x77])][_0x221115([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x221115([0x61,0x75,0x74,0x6f]),_0x5ca786[_0x221115([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x221115([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x221115([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x221115([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x221115([0x6f,0x6b])});}['init'](){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}}function _0x3e756b(_0x251e2c){return void 0x0!==_0x251e2c['getRootsAttributes'];}async function _0x1973a1(_0x3f5112,_0x2b14ef,_0x5dd123){const _0x2631e5=_0x138900(_0x3f5112,_0x3168fa);if(_0x2631e5['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x3e756b(_0x3f5112)){_0x2631e5['roots']=Object['create'](null);for(const _0x21a796 of _0x3f5112['model']['document']['getRootNames']())_0x2631e5['roots'][_0x21a796]={'modelAttributes':_0x3f5112['getRootAttributes'](_0x21a796)};}const _0x13021a=document['createDocumentFragment'](),_0x5d7ef1=_0x3f5112['config']['get']('trackChangesData')['editorCreator'],_0x59610b=await _0x5d7ef1(_0x2631e5,()=>function(_0x5ae29c){const _0x1f2979=document['createElement']('div');return _0x5ae29c['appendChild'](_0x1f2979),_0x1f2979;}(_0x13021a));!function(_0x430e71,_0x42a1d9){const _0x1f1251=_0x430e71['model']['document']['getRootNames']()['reduce']((_0x10a5ee,_0x2bbc4e)=>(_0x10a5ee[_0x2bbc4e]=_0x430e71['data']['get']({'rootName':_0x2bbc4e}),_0x10a5ee),{}),_0x16994d=_0x430e71['plugins']['get']('Users')['users']['map'](_0x533d4c=>({'id':_0x533d4c['id'],'name':_0x533d4c['name']})),_0x435092=_0x430e71['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x40542b=_0x430e71['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x331ae2=_0x42a1d9['plugins']['get']('Users'),_0x3346e9=_0x42a1d9['plugins']['get']('TrackChangesEditing'),_0x19ae66=_0x42a1d9['plugins']['get']('CommentsRepository');for(const _0x4ec020 of _0x19ae66['getCommentThreads']())_0x4ec020['remove']();for(const _0x204f93 of _0x16994d)_0x331ae2['getUser'](_0x204f93['id'])||_0x331ae2['addUser'](_0x204f93);_0x331ae2['me']||_0x331ae2['useAnonymousUser']();for(const _0x5dfa26 of _0x40542b)_0x19ae66['addCommentThread'](_0x5dfa26);for(const _0x1ffe32 of _0x435092)_0x3346e9['addSuggestionData'](_0x1ffe32);_0x42a1d9['data']['set'](_0x1f1251);}(_0x3f5112,_0x59610b),_0x59610b['execute'](_0x2b14ef?'acceptAllSuggestions':'discardAllSuggestions');const _0xba4fe9=_0x3e756b(_0x59610b)?_0x59610b['getFullData'](_0x5dd123):_0x59610b['data']['get'](_0x5dd123);return await _0x59610b['destroy'](),_0xba4fe9;}class _0x2556de extends _0x31c75c['View']{['options'];constructor(_0xb9a495,_0x321a8f){super(_0xb9a495),this['options']=_0x321a8f,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-track-changes-preview'],'tabindex':-0x1}});}['render'](){super['render'](),this['element']['style']['width']=this['options']['dialogRects']['width']+'px',this['element']['style']['height']=this['options']['dialogRects']['height']+'px';}['setPreviewData'](_0x5609da,_0x154a92){if(!this['element'])return;const _0x4b9b70=[];for(const [_0x18f5ab,_0x8f57f3]of _0x5609da){const _0x553ee5=document['createElement']('div');_0x553ee5['setAttribute']('data-ck-root-name',_0x18f5ab),_0x553ee5['className']=_0x8f57f3['classes']+'\x20ck-track-changes-preview__root-container',_0x553ee5['innerHTML']=_0x8f57f3['content'],_0x4b9b70['push'](_0x553ee5);}_0x154a92(this['element'],_0x4b9b70),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x31c75c['Command']{constructor(_0x57e3e0){super(_0x57e3e0),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x23b7b4=this['editor'],_0x3b62ae=_0x23b7b4['locale'],_0x2eb138=_0x23b7b4['plugins']['get']('Dialog');let _0x44c1d0;const _0x37c8ce=function(_0xce3795){const _0xcc10ac={};if('editables'in _0xce3795['ui']['view']){for(const [_0x2e9c53,_0x8b9128]of Object['entries'](_0xce3795['ui']['view']['editables']))_0xcc10ac[_0x2e9c53]=_0x8b9128['element'];}else _0xcc10ac[_0xce3795['model']['document']['getRootNames']()[0x0]]=_0xce3795['ui']['view']['editable']['element'];return _0xcc10ac;}(_0x23b7b4),_0x257689=function(_0x17daaa){let _0x1086e9=0x0;for(const _0x27e524 of Object['values'](_0x17daaa))_0x1086e9=Math['max'](_0x1086e9,_0x27e524['getBoundingClientRect']()['width']);let _0x3d6e63=0x0;for(const _0x40c78a of Object['values'](_0x17daaa))_0x3d6e63+=_0x40c78a['getBoundingClientRect']()['height'];const _0x521fcc=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x5016e0=Math['min'](_0x3d6e63,_0x521fcc);return{'width':_0x1086e9,'height':_0x5016e0};}(_0x37c8ce);_0x2eb138['show']({'id':'finalContentPreview','title':_0x2ede81(_0x3b62ae,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x2556de(_0x3b62ae,{'dialogRects':_0x257689}),'onHide':()=>{_0x44c1d0['detachFromDom']();},'onShow':()=>{_0x23b7b4['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x450af3=>{const _0x428df7=this['_standarizeRootsData'](_0x450af3,_0x23b7b4,_0x37c8ce);_0x2eb138['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x428df7,_0x23b7b4['config']['get']('trackChanges.preview.renderFunction'));}),_0x44c1d0=new _0x31c75c['BodyCollection'](_0x3b62ae,[_0x2eb138['view']]),_0x44c1d0['attachToDom'](),_0x44c1d0['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x23b7b4['once']('destroy',()=>{_0x44c1d0['detachFromDom']();});const _0x1297ea=_0x2eb138['view']['headerView']['class'];_0x2eb138['view']['headerView']['class']=_0x1297ea?_0x1297ea+'\x20ck-reset_all':'ck-reset_all',_0x2eb138['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x2eb138['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x2fd13f=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x50aba9=_0x2fd13f['previewMode'],_0x1ae0a2={};if('$labels'===_0x50aba9){for(const _0x221690 of _0x2fd13f['getMergeFieldsIds']())_0x1ae0a2[_0x221690]=_0x2fd13f['getLabel'](_0x221690)||_0x221690;}else{const _0x1b1310='$defaultValues'===_0x50aba9?_0x2fd13f['getDefaultValues']():_0x2fd13f['getDataSetValues'](_0x50aba9,!0x0);for(const _0x3047a2 of Object['entries'](_0x1b1310)){const [_0x3f4a87,_0x2500a4]=_0x3047a2;_0x1ae0a2[_0x3f4a87]=null!==_0x2500a4?_0x2500a4:_0x2fd13f['getLabel'](_0x3f4a87)||_0x3f4a87;}}return{'mergeFieldsData':_0x1ae0a2};}['_standarizeRootsData'](_0x5ae823,_0x2900ca,_0x3e1c65){let _0x1e3e6e;if('string'==typeof _0x5ae823){const _0x4c5b27=_0x2900ca['model']['document']['getRootNames']()[0x0];_0x1e3e6e={[_0x4c5b27]:_0x5ae823};}else _0x1e3e6e=_0x5ae823;const _0x78ab9b=this['_fixMediaEmbeds'](_0x1e3e6e,_0x2900ca),_0x5de511=function(_0x2e40f2,_0x5eba08){for(const [_0x5f5080,_0x266f33]of _0x2e40f2)_0x266f33['classes']=_0x5eba08[_0x5f5080]['classList']['value']['replace']('ck-focused','');return _0x2e40f2;}(this['_sortRoots'](_0x2900ca)['reduce']((_0x580d29,_0x3d6b6b)=>(_0x580d29['push']([_0x3d6b6b,{'content':_0x78ab9b[_0x3d6b6b],'classes':''}]),_0x580d29),[]),_0x3e1c65);return _0x5de511;}['_fixMediaEmbeds'](_0x56d9f6,_0x38420c){if(!_0x38420c['plugins']['has']('MediaEmbedEditing'))return _0x56d9f6;const _0x1be064=_0x38420c['plugins']['get']('MediaEmbedEditing');for(const [_0x417db9,_0x4cd545]of Object['entries'](_0x56d9f6)){const _0x11befc=document['createElement']('div');_0x11befc['innerHTML']=_0x4cd545,(_0x11befc['querySelectorAll']('figure.media')['forEach'](_0x369128=>{const _0x774931=_0x369128['querySelector']('oembed');if(_0x774931){const _0x24e0a4=_0x774931['getAttribute']('url');if(_0x24e0a4){const _0x166c18=_0x1be064['registry']['getMediaViewElement'](new _0x31c75c['ViewDowncastWriter'](_0x38420c['editing']['view']['document']),_0x24e0a4,{'elementName':'','renderForEditingView':!0x0}),_0x3c5a7e=document['createElement']('div');_0x3c5a7e['classList']['add']('ck-media__wrapper'),_0x166c18['render'](_0x3c5a7e,_0x38420c['editing']['view']['domConverter']),_0x774931['replaceWith'](_0x3c5a7e);}}}),_0x56d9f6[_0x417db9]=_0x11befc['innerHTML']);}return _0x56d9f6;}['_sortRoots'](_0x385205){if(!function(_0x1c4448){return void 0x0!==_0x1c4448['getRootsAttributes'];}(_0x385205))return _0x385205['model']['document']['getRootNames']();const _0x581c79=[],_0x1194f4=new Map();for(const _0x3ba44f of _0x385205['model']['document']['getRootNames']()){const _0x11a654=_0x385205['editing']['view']['getDomRoot'](_0x3ba44f)['getClientRects']()['item'](0x0);_0x581c79['push'](_0x3ba44f),_0x1194f4['set'](_0x3ba44f,_0x11a654);}return _0x581c79['sort']((_0x44e34d,_0x405b2c)=>{const _0x4acf6a=_0x1194f4['get'](_0x44e34d),_0x2f5d04=_0x1194f4['get'](_0x405b2c);return _0x4acf6a['y']-_0x2f5d04['y']||_0x4acf6a['x']-_0x2f5d04['x'];}),_0x581c79;}}class _0xfdac8d extends _0x31c75c['Plugin']{static get['requires'](){return[TrackChangesData,_0x31c75c['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5de3c9){super(_0x5de3c9),_0x5de3c9['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x5de3c9['config']['define']('trackChanges.preview.renderFunction',(_0x34318b,_0x34f0ad)=>{for(const _0x5e32dc of _0x34f0ad)_0x34318b['appendChild'](_0x5e32dc);});}}class CloudServicesCommentsAdapter extends _0x31c75c['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,CommentsRepository,_0xcad824,_0x1eec90];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xcb29be){super(_0xcb29be),this['_services']=new Map();}async['init'](){const _0x41c751=this['context'],_0x39f631=_0x41c751['plugins']['get'](CommentsRepository);if(_0x41c751['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x39f631['adapter']={'addCommentThread':async({channelId:_0x3bc119,threadId:_0x41414c,comments:_0xe29eb6,resolvedAt:_0x464db,resolvedBy:_0x3bd7c6,context:_0x3cae33,attributes:_0x4361a4})=>{const _0x990647=await this['_getService'](_0x3bc119)['addCommentThread']({'commentThreadId':_0x41414c,'comments':_0xe29eb6['map'](_0x27e626=>function(_0x3f9fb2,_0x4afbdd,_0x5c8f0d){return{'commentThreadId':_0x5c8f0d,'commentId':_0x3f9fb2['commentId'],'userId':_0x3f9fb2['authorId'],'content':_0x3f9fb2['content'],'documentId':_0x4afbdd,'createdAt':_0x3f9fb2['createdAt'],'attributes':_0x3f9fb2['attributes']||{}};}(_0x27e626,_0x3bc119,_0x41414c)),'resolvedAt':_0x464db,'resolvedBy':_0x3bd7c6,'context':_0x3cae33,'attributes':_0x4361a4})['catch'](_0x8a4e1c);return{'threadId':_0x990647['commentThreadId'],'comments':_0x990647['comments']};},'getCommentThread':async({channelId:_0x3a3104,threadId:_0x293133})=>{const _0x51c79a=await this['_getService'](_0x3a3104)['getCommentThread'](_0x293133)['catch'](_0xa85429)['catch'](_0x8a4e1c);return _0x51c79a?_0x51c79a['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x51c79a]),{'threadId':_0x51c79a['commentThreadId'],'comments':_0x51c79a['comments']['map'](_0x50b3de),'context':_0x51c79a['context'],'resolvedAt':_0x51c79a['resolvedAt'],'resolvedBy':_0x51c79a['resolvedBy'],'attributes':_0x51c79a['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x1cf111,threadId:_0x4d5744,context:_0x1b822d,unlinkedAt:_0x3f4a1f,attributes:_0x5c33db})=>this['_getService'](_0x1cf111)['updateCommentThread']({'commentThreadId':_0x4d5744,'context':_0x1b822d,'attributes':_0x5c33db,'unlinkedAt':_0x3f4a1f})['catch'](_0xa85429)['catch'](_0x8a4e1c),'resolveCommentThread':async({channelId:_0x4c68cb,threadId:_0xda9aab})=>{const _0x254549=await this['_getService'](_0x4c68cb)['resolveCommentThread'](_0xda9aab)['catch'](_0xa85429)['catch'](_0x8a4e1c);return{'threadId':_0x254549['commentThreadId'],'resolvedAt':_0x254549['resolvedAt'],'resolvedBy':_0x254549['resolvedBy']};},'reopenCommentThread':async({channelId:_0x596855,threadId:_0x4f9c56})=>this['_getService'](_0x596855)['reopenCommentThread'](_0x4f9c56)['catch'](_0xa85429)['catch'](_0x8a4e1c),'removeCommentThread':({channelId:_0x5290c6,threadId:_0x115675})=>this['_getService'](_0x5290c6)['removeCommentThread'](_0x115675)['catch'](_0xa85429)['catch'](_0x8a4e1c),'addComment':({channelId:_0x69bab5,threadId:_0x3f55e1,commentId:_0x4b3b1d,content:_0x3909dc,attributes:_0x34a958})=>this['_getService'](_0x69bab5)['addComment'](_0x3f55e1,_0x4b3b1d,_0x3909dc,_0x34a958)['catch'](_0x8a4e1c),'updateComment':({channelId:_0x23652b,threadId:_0xaed897,commentId:_0x699ccd,content:_0x2ec7b,attributes:_0x4c4e8d})=>this['_getService'](_0x23652b)['updateComment'](_0xaed897,_0x699ccd,_0x2ec7b,_0x4c4e8d)['catch'](_0xa85429)['catch'](_0x8a4e1c),'removeComment':({channelId:_0x4352d4,threadId:_0x335e98,commentId:_0x40ed84})=>this['_getService'](_0x4352d4)['removeComment'](_0x335e98,_0x40ed84)['catch'](_0xa85429)['catch'](_0x8a4e1c)},_0x41c751 instanceof _0x31c75c['Context']){const _0x27baba=_0x41c751['config']['get']('collaboration.channelId'),_0x54dd60=_0x41c751['plugins']['get'](_0xcad824);await this['_setUpService'](_0x27baba);const _0x374ef2=await this['_services']['get'](_0x27baba)['getConnectedSessions']();this['listenTo'](_0x54dd60,'sessionAdd:'+_0x27baba,(_0x4cd85c,{session:_0x3747ec})=>{_0x3747ec['id']===_0x54dd60['mySessionId']&&(_0x4cd85c['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x3747ec['permissions'],_0x27baba));}),_0x54dd60['register'](_0x27baba,_0x374ef2);}}async['_setUpService'](_0x5c875e){if(this['_services']['has'](_0x5c875e))throw new _0x31c75c['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x5c875e});const _0x284ad7=this['context']['plugins']['get'](CommentsRepository),_0x203132=new CloudServicesCommentsAdapter['CommentsService'](_0x5c875e);this['_services']['set'](_0x5c875e,_0x203132),this['listenTo'](_0x203132,'commentThreadAdded',(_0x1e734b,_0x4d93ff)=>{const {commentThreadId:_0x5472b6,documentId:_0x538c56,context:_0x24ec81,attributes:_0x5d06b4,resolvedAt:_0x2dde9e,resolvedBy:_0x1e00b0,comments:_0x47379c}=_0x4d93ff;_0x284ad7['getCommentThread'](_0x5472b6)||_0x284ad7['addCommentThread']({'threadId':_0x5472b6,'channelId':_0x538c56,'comments':_0x47379c?_0x47379c['map'](_0x50b3de):[],'context':_0x24ec81,'attributes':_0x5d06b4,'resolvedAt':_0x2dde9e,'resolvedBy':_0x1e00b0,'isFromAdapter':!0x0});}),this['listenTo'](_0x203132,'commentThreadUpdated',(_0x42f074,{commentThreadId:_0xe3ad2b,documentId:_0x18c2cd,context:_0x44ca98,unlinkedAt:_0x46fcc0,attributes:_0x2b46a2})=>{_0x284ad7['getCommentThread'](_0xe3ad2b)&&_0x284ad7['updateCommentThread']({'threadId':_0xe3ad2b,'channelId':_0x18c2cd,'context':_0x44ca98,'unlinkedAt':_0x46fcc0,'attributes':_0x2b46a2,'isFromAdapter':!0x0});}),this['listenTo'](_0x203132,'commentThreadResolved',(_0x10356b,{commentThreadId:_0x438e1a,resolvedBy:_0x9f0989,resolvedAt:_0x4a59c7})=>{const _0x438692=_0x284ad7['getCommentThread'](_0x438e1a);_0x438692&&_0x438692['resolve']({'resolvedBy':_0x9f0989,'resolvedAt':_0x4a59c7,'isFromAdapter':!0x0});}),this['listenTo'](_0x203132,'commentThreadReopened',(_0x4e29aa,{commentThreadId:_0x48cd44})=>{const _0x345a56=_0x284ad7['getCommentThread'](_0x48cd44);_0x345a56&&_0x345a56['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x203132,'commentThreadRemoved',(_0x22c4f5,{commentThreadId:_0x517c0c})=>{const _0x2447bb=_0x284ad7['getCommentThread'](_0x517c0c);_0x2447bb&&_0x2447bb['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x203132,'commentAdded',(_0x3e80f2,_0x7af96b)=>{const _0xdd24da=_0x7af96b['commentThreadId'],_0x3ddd5a=_0x284ad7['getCommentThread'](_0xdd24da);_0x3ddd5a&&_0x3ddd5a['addComment']({..._0x50b3de(_0x7af96b),'isFromAdapter':!0x0});}),this['listenTo'](_0x203132,'commentUpdated',(_0x128465,{commentThreadId:_0x196621,commentId:_0x3bfff4,content:_0x5bc7b9,attributes:_0x55a46a})=>{const _0x2b80e4=_0x284ad7['getCommentThread'](_0x196621);if(_0x2b80e4){const _0x32c4f4=_0x2b80e4['getComment'](_0x3bfff4);_0x32c4f4&&_0x32c4f4['update']({'content':_0x5bc7b9,'attributes':_0x55a46a,'isFromAdapter':!0x0});}}),this['listenTo'](_0x203132,'commentRemoved',(_0x597fdd,{commentThreadId:_0x2c92a6,commentId:_0x219fd7})=>{const _0x3927de=_0x284ad7['getCommentThread'](_0x2c92a6);if(_0x3927de){const _0x44197e=_0x3927de['getComment'](_0x219fd7);_0x44197e&&_0x44197e['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x5c875e);}['destroy'](){if(this['context']instanceof _0x31c75c['Context']){const _0x47e60b=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x47e60b);}}['_terminateService'](_0x4c4b60){if(!this['_services']['has'](_0x4c4b60))throw new _0x31c75c['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x4c4b60});this['_getService'](_0x4c4b60)['disconnect'](),this['_services']['delete'](_0x4c4b60);}async['reconnect'](){for(const _0x276c0f of this['_services']['keys']())await this['_connectService'](_0x276c0f);if(this['context']instanceof _0x31c75c['Context']){const _0x3ee743=this['context']['config']['get']('collaboration.channelId'),_0x4aa2be=this['context']['plugins']['get'](_0xcad824);_0x4aa2be['unregister'](_0x3ee743);const _0x2cb7e1=await this['_services']['get'](_0x3ee743)['getConnectedSessions']();_0x4aa2be['register'](_0x3ee743,_0x2cb7e1);}}async['_connectService'](_0x4e9e8a){const {connection:_0x3ad359}=this['context']['plugins']['get'](WebSocketGateway),_0x2bfe90=this['context']['plugins']['get'](CommentsRepository),_0x1766ca=this['_services']['get'](_0x4e9e8a),_0x32916a=await _0x1766ca['connect'](_0x3ad359);await this['_fetchMissingUsersForThreads'](_0x32916a);const _0x5744aa=new Set(Array['from'](_0x2bfe90['getCommentThreads']({'channelId':_0x4e9e8a}),_0x26da22=>_0x26da22['id']));for(const _0x42cbd9 of _0x32916a)_0x42cbd9['deletedAt']||_0x5744aa['delete'](_0x42cbd9['commentThreadId']);for(const _0x33c59a of _0x5744aa)_0x2bfe90['getCommentThread'](_0x33c59a)['remove']({'isFromAdapter':!0x0});for(const _0x1c6100 of _0x32916a){let _0x4c4ff4=_0x2bfe90['getCommentThread'](_0x1c6100['commentThreadId']);const {commentThreadId:_0x73c290,context:_0xd11dc6,attributes:_0x59e01e,resolvedBy:_0x464e73,resolvedAt:_0xe75f11,unlinkedAt:_0x361302,deletedAt:_0x47db07}=_0x1c6100;if(_0x47db07)continue;_0x4c4ff4||(_0x4c4ff4=_0x2bfe90['addCommentThread']({'channelId':_0x4e9e8a,'threadId':_0x73c290,'context':_0xd11dc6,'attributes':_0x59e01e||{},'resolvedBy':_0x464e73,'resolvedAt':_0xe75f11,'unlinkedAt':_0x361302,'isFromAdapter':!0x0}));const _0x851b4a=new Set(Array['from'](_0x4c4ff4['comments'],_0x41fb81=>_0x41fb81['id']));for(const _0x5cdfb5 of _0x1c6100['comments'])_0x851b4a['delete'](_0x5cdfb5['commentId']);for(const _0x5024eb of _0x851b4a)_0x4c4ff4['getComment'](_0x5024eb)['remove']({'isFromAdapter':!0x0});for(const _0x8310c2 of _0x1c6100['comments']){const _0x1a43d7=_0x4c4ff4['getComment'](_0x8310c2['commentId']);_0x1a43d7?_0x1a43d7['content']!==_0x8310c2['content']&&_0x1a43d7['update']({'content':_0x8310c2['content'],'isFromAdapter':!0x0}):_0x4c4ff4['addComment'](Object['assign'](_0x50b3de(_0x8310c2),{'isFromAdapter':!0x0}));}}}['_getService'](_0x55cad0){if(!this['_services']['has'](_0x55cad0))throw new _0x31c75c['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x55cad0});return this['_services']['get'](_0x55cad0);}async['_fetchMissingUsersForThreads'](_0x294289){const _0xe71f57=this['context']['plugins']['get'](_0x1eec90),{connection:_0x260d07}=this['context']['plugins']['get'](WebSocketGateway),_0x16cc2a=new Set();for(const {resolvedBy:_0xfdce31,comments:_0x5d6550}of _0x294289){_0xfdce31&&!_0xe71f57['getUser'](_0xfdce31)&&_0x16cc2a['add'](_0xfdce31);for(const {userId:_0x6e4823}of _0x5d6550)_0xe71f57['getUser'](_0x6e4823)||_0x16cc2a['add'](_0x6e4823);}if(0x0===_0x16cc2a['size'])return;const _0x5330e7=await _0x49d5ab['getMany'](_0x260d07,Array['from'](_0x16cc2a));for(const _0x4b5125 of _0x5330e7)_0xe71f57['getUser'](_0x4b5125['id'])||_0xe71f57['addUser'](_0x4b5125);}}async function _0xa85429(_0x43c1fb){if('404'!==_0x43c1fb['code'])throw _0x43c1fb;}function _0x8a4e1c(_0x30ef3c){if((_0x1f90b6=_0x30ef3c)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x1f90b6['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1f90b6['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x1f90b6;throw _0x30ef3c;}function _0x50b3de(_0x48cefc){return{'threadId':_0x48cefc['commentThreadId'],'commentId':_0x48cefc['commentId'],'content':_0x48cefc['content'],'createdAt':_0x48cefc['createdAt'],'authorId':_0x48cefc['userId'],'attributes':_0x48cefc['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x31c75c['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0xf7355b)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[CloudServicesCommentsAdapter,TrackChangesEditing,WebSocketGateway];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x87676e){super(_0x87676e);const _0x1f0276=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x1f0276);}['init'](){const _0x4aae48=this['editor']['plugins']['get'](WebSocketGateway),_0x152bd3=this['editor']['plugins']['get'](TrackChangesEditing);return _0x152bd3['adapter']={'getSuggestion':async _0x2eb1ac=>{await this['_waitForServiceReady']();const _0x5a415d=await this['_trackChangesService']['get'](_0x2eb1ac)['catch'](_0x2aa072);return await this['_fetchMissingUsersForThreads']([_0x5a415d]),_0x5a415d;},'addSuggestion':async({id:_0x2e6798,type:_0x51cf9f,data:_0x3fc966,originalSuggestionId:_0xaac408,attributes:_0x3e32c6})=>{await this['_waitForServiceReady']();const _0x24c25b={'id':_0x2e6798,'type':_0x51cf9f,'data':_0x3fc966,'originalSuggestionId':_0xaac408,'attributes':_0x3e32c6},_0x22e07e=await this['_trackChangesService']['add'](_0x2e6798,_0x51cf9f,_0x3fc966,_0xaac408,_0x3e32c6)['catch'](_0x3a4264=>{if(_0x2a783d(_0x3a4264))return new Promise(_0x46b340=>{this['_bufferedRequests']['set'](_0x2e6798,{'resolve':_0x46b340,'suggestionData':_0x24c25b});});throw _0x3a4264;});return this['_bufferedRequests']['delete'](_0x2e6798),_0x22e07e;},'updateSuggestion':async(_0x3d3ce1,_0x59da87)=>{if(await this['_waitForServiceReady'](),'open'!==_0x59da87['state'])return this['_trackChangesService']['update'](_0x3d3ce1,_0x59da87)['catch'](_0x2aa072);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x32871f,_0x340aee)=>{_0x152bd3['hasSuggestion'](_0x340aee['id'])&&(_0x152bd3['getSuggestion'](_0x340aee['id'])['attributes']=_0x340aee['attributes']);}),this['_trackChangesService']['connect'](_0x4aae48['connection'])['then'](_0x558e0b=>(_0x4aae48['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x558e0b)['then'](()=>{for(const _0x3ff039 of _0x558e0b){_0x152bd3['addSuggestionData'](_0x3ff039)['_saved']=!0x0;}})));}async['reconnect'](){const _0x61c254=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x263bf9}=this['editor']['plugins']['get'](WebSocketGateway),_0x23c934=await this['_trackChangesService']['connect'](_0x263bf9);await this['_fetchMissingUsersForThreads'](_0x23c934);for(const {suggestionData:_0x4d8e5b,resolve:_0x4ea3cb}of this['_bufferedRequests']['values']()){let _0x4bf88f=_0x23c934['find'](_0x1febaf=>_0x1febaf['id']===_0x4d8e5b['id']);_0x4bf88f||(_0x4bf88f=await this['_trackChangesService']['add'](_0x4d8e5b['id'],_0x4d8e5b['type'],_0x4d8e5b['data'],_0x4d8e5b['originalSuggestionId'])),_0x4ea3cb(_0x4bf88f);}for(const _0x34b545 of _0x23c934)_0x61c254['hasSuggestion'](_0x34b545['id'])||_0x61c254['addSuggestionData'](_0x34b545);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x13a730=>{this['listenTo'](this['_trackChangesService'],'connected',_0x4877bc=>{_0x4877bc['off'](),_0x13a730();});});}async['_fetchMissingUsersForThreads'](_0x1e49ba){const _0x48271f=this['editor']['plugins']['get'](_0x1eec90),{connection:_0x23f41f}=this['editor']['plugins']['get'](WebSocketGateway),_0x5e7b80=new Set();for(const {authorId:_0x421c55}of _0x1e49ba)_0x48271f['getUser'](_0x421c55)||_0x5e7b80['add'](_0x421c55);if(0x0===_0x5e7b80['size'])return;const _0xc695fd=await _0x49d5ab['getMany'](_0x23f41f,Array['from'](_0x5e7b80));for(const _0x580cff of _0xc695fd)_0x48271f['getUser'](_0x580cff['id'])||_0x48271f['addUser'](_0x580cff);}}function _0x2aa072(_0xf76a11){if(_0x2a783d(_0xf76a11))return new Promise(()=>{});throw _0xf76a11;}function _0x2a783d(_0x22778b){return _0x22778b['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x22778b['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x31c75c['Plugin']{static get['requires'](){return[Comments,CloudServicesCommentsAdapter,RealTimeCollaborativeEditing,WebSocketGateway];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x225117=this['editor']['plugins']['get'](WebSocketGateway),_0x3e8d59=this['editor']['plugins']['get'](CommentsEditing),_0x39989c=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x225117,'change:state',(_0x322913,_0x25a0d9,_0x4ce41c)=>{_0x3e8d59['isThreadsLoadingPaused']='connected'!==_0x4ce41c;});}),this['listenTo'](_0x225117,'change:state',(_0xd0423a,_0x397fac,_0x582fd8)=>{this['editor']['plugins']['get'](CommentsRepository)['switchReadOnly']('connected'!==_0x582fd8);}),_0x39989c['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){this['editor']['plugins']['get'](CloudServicesCommentsAdapter)['_terminateService'](this['editor']['config']['get']('collaboration.channelId')),super['destroy']();}}class RealTimeCollaborativeTrackChanges extends _0x31c75c['Plugin']{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,_0x4ca0cd];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x37cac6 extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xd1cae2){super(),this['id']=_0xd1cae2['id']||_0x31c75c['uid'](),this['creator']=_0xd1cae2['creator']||null,this['authors']=_0xd1cae2['authors']||[],this['diffData']=_0xd1cae2['diffData']||null,this['toVersion']=_0xd1cae2['toVersion']||0x0,this['fromVersion']=_0xd1cae2['fromVersion']||0x0,this['set']('name',_0xd1cae2['name']||''),this['set']('createdAt',_0xd1cae2['createdAt']||new Date()),this['set']('attributes',_0xd1cae2['attributes']||{});}['setName'](_0x37ed36){this['_update']({'name':_0x37ed36});}['setAttribute'](_0x37672d,_0x2af73f){const _0x432d88=_0xeda1dc(this['attributes']);ct(_0x432d88,_0x37672d,_0x2af73f),this['_update']({'attributes':_0x432d88});}['removeAttribute'](_0x53df29){const _0x3af106=_0xeda1dc(this['attributes']);nt(_0x3af106,_0x53df29),this['_update']({'attributes':_0x3af106});}['_update'](_0x5f07bf,_0x7e6108=!0x1){let _0x4e364f=!0x1;const _0x49f7f9={'id':this['id']},_0x33ce3d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xbce6d3 of _0x33ce3d){const _0x75faa=_0x5f07bf[_0xbce6d3];void 0x0!==_0x75faa&&_0x75faa!==this[_0xbce6d3]&&(this[_0xbce6d3]=_0x75faa,_0x49f7f9[_0xbce6d3]=_0x75faa,_0x4e364f=!0x0);}_0x4e364f&&(_0x49f7f9['authors']&&(_0x49f7f9['authorsIds']=_0x49f7f9['authors']['map'](_0xd8a9c4=>_0xd8a9c4['id']),delete _0x49f7f9['authors']),this['fire']('_update',_0x49f7f9,_0x7e6108));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4430f0=>_0x4430f0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x31c75c['Plugin']{['_revisions'];static get['requires'](){return[_0x1eec90];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x25aad4){super(_0x25aad4),this['_revisions']=new _0x31c75c['Collection']();}['afterInit'](){!async function(_0x3aecba){const _0x335935=_0x5a8dff([0x76,0x73,0x6d,0x4c,0x34,0x54,0x50,0x70,0x75,0x52,0x35,0x33,0x4d,0x6c,0x71,0x53,0x6a,0x32,0x56,0x58,0x77,0x48,0x39,0x6f,0x45,0x41,0x4e,0x38,0x46,0x78,0x4a,0x74,0x47,0x55,0x4f,0x64,0x62,0x44,0x43,0x5a,0x30,0x31,0x69,0x68,0x79,0x66,0x6b,0x42,0x51,0x59,0x36,0x61,0x63,0x67,0x7a,0x37,0x72,0x49,0x65,0x57,0x4b,0x6e]),_0x4bdc05=0xeb829,_0x4b34c0=0x359e09b0,_0x2709a1=0x359983d8^_0x4b34c0,_0x4ad782=window[_0x5a8dff([0x44,0x61,0x74,0x65])][_0x5a8dff([0x6e,0x6f,0x77])](),_0x5e0a3d=_0x3aecba[_0x5a8dff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fc7a9=new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a9c53=>{_0x5e0a3d[_0x5a8dff([0x6f,0x6e,0x63,0x65])](_0x5a8dff([0x72,0x65,0x61,0x64,0x79]),_0x3a9c53);}),_0x4a114f={[_0x5a8dff([0x6b,0x74,0x79])]:_0x5a8dff([0x45,0x43]),[_0x5a8dff([0x75,0x73,0x65])]:_0x5a8dff([0x73,0x69,0x67]),[_0x5a8dff([0x63,0x72,0x76])]:_0x5a8dff([0x50,0x2d,0x32,0x35,0x36]),[_0x5a8dff([0x78])]:_0x5a8dff([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5a8dff([0x79])]:_0x5a8dff([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5a8dff([0x61,0x6c,0x67])]:_0x5a8dff([0x45,0x53,0x32,0x35,0x36])},_0x27e978=_0x5e0a3d[_0x5a8dff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a8dff([0x67,0x65,0x74])](_0x5a8dff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x366ea8(){let _0x38c881,_0x404708=null,_0x3fece1=null;try{if(_0x27e978==_0x5a8dff([0x47,0x50,0x4c]))return _0x5a8dff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38c881=_0x410fe3(),!_0x38c881)return _0x5a8dff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38c881[_0x5a8dff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3fece1=_0x25d399(_0x38c881[_0x5a8dff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38c881[_0x5a8dff([0x6a,0x74,0x69])])),await _0x7f7f()?_0x4a3350()?_0x34d3eb()?_0x5a8dff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f4c02()?(_0x38c881[_0x5a8dff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a8dff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x404708=_0x5a8297(_0x5a8dff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a5e38()):_0x5a8dff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a8dff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a8dff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a8dff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34d3eb(){const _0x348037=[_0x5a8dff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a8dff([0x74,0x72,0x69,0x61,0x6c])][_0x5a8dff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38c881[_0x5a8dff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ad782/0x3e8:0xe10*_0x2709a1;return _0x38c881[_0x5a8dff([0x65,0x78,0x70])]<_0x348037;}function _0x4a3350(){const _0x2b6b56=_0x38c881[_0x5a8dff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2b6b56)return!0x1;if(_0x2b6b56[_0x5a8dff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8dff([0x2a])))return!0x0;if(_0x2b6b56[_0x5a8dff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8dff([0x52,0x48])))return!0x0;if(_0x2b6b56[_0x5a8dff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8dff([0x52,0x52,0x48]))){if(_0x3d690c())return!0x0;if(_0x546348()||_0x58f7c2())return!0x0;}return!0x1;}function _0x4f4c02(){const _0x22c5d1=_0x38c881[_0x5a8dff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22c5d1||0x0==_0x22c5d1[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b354b}=new URL(window[_0x5a8dff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x22c5d1[_0x5a8dff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b354b))return!0x0;const _0x5d0a22=_0x1b354b[_0x5a8dff([0x73,0x70,0x6c,0x69,0x74])](_0x5a8dff([0x2e]));return _0x22c5d1[_0x5a8dff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1495a9=>_0x1495a9[_0x5a8dff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8dff([0x2a])))[_0x5a8dff([0x6d,0x61,0x70])](_0x1e867f=>_0x1e867f[_0x5a8dff([0x73,0x70,0x6c,0x69,0x74])](_0x5a8dff([0x2e])))[_0x5a8dff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cc0b3=>_0x2cc0b3[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5d0a22[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a8dff([0x6d,0x61,0x70])](_0x672951=>Array(_0x5d0a22[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x672951[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a8dff([0x66,0x69,0x6c,0x6c])](_0x672951[0x0]===_0x5a8dff([0x2a])?_0x5a8dff([0x2a]):'')[_0x5a8dff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x672951))[_0x5a8dff([0x73,0x6f,0x6d,0x65])](_0x1e01fd=>_0x5d0a22[_0x5a8dff([0x65,0x76,0x65,0x72,0x79])]((_0x202c91,_0x2b64cf)=>_0x1e01fd[_0x2b64cf]===_0x202c91||_0x1e01fd[_0x2b64cf]===_0x5a8dff([0x2a])));}function _0x4a5e38(){return _0x404708&&_0x3fece1?new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49efae,_0x3d7527)=>{_0x404708[_0x5a8dff([0x74,0x68,0x65,0x6e])](_0x49efae,_0x3d7527),_0x3fece1[_0x5a8dff([0x74,0x68,0x65,0x6e])](_0x7463a5=>{_0x7463a5!=_0x5a8dff([0x56,0x61,0x6c,0x69,0x64])&&_0x49efae(_0x7463a5);},_0x3d7527);}):_0x404708||_0x3fece1||_0x5a8dff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25d399(_0x5077d1,_0xe25435){return new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b833e=>{if(_0x863610())return _0x4b833e(_0x5a8dff([0x56,0x61,0x6c,0x69,0x64]));_0x5501b0(),_0x5e0a3d[_0x5a8dff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a8dff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x162f42=!0x1;const _0x4ab6a4=_0x31c75c['uid']();function _0x46e568(_0xc71206){return!!_0xc71206&&(typeof _0xc71206===_0x5a8dff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc71206===_0x5a8dff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc71206[_0x5a8dff([0x74,0x68,0x65,0x6e])]===_0x5a8dff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc71206[_0x5a8dff([0x63,0x61,0x74,0x63,0x68])]===_0x5a8dff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a369c(_0xa44c55){_0x562069(_0xa44c55)[_0x5a8dff([0x74,0x68,0x65,0x6e])](_0x2912e9=>{if(!_0x2912e9||_0x2912e9[_0x5a8dff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a8dff([0x6f,0x6b]))return _0x5a8dff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55de1e(_0x4ae09b(_0x4ab6a4+_0xe25435))!=_0x2912e9[_0x5a8dff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a8dff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a8dff([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a8dff([0x74,0x68,0x65,0x6e])](_0x20ff3f=>(_0x13c6e7(),_0x20ff3f),()=>{const _0x43c211=_0x6922e1();return null==_0x43c211?(_0x13c6e7(),_0x5a8dff([0x56,0x61,0x6c,0x69,0x64])):_0x5a8dff(_0x4ad782-_0x43c211>(0x11928db0^_0x4b34c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a8dff([0x74,0x68,0x65,0x6e])](_0x4b833e)[_0x5a8dff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b833e(_0x5a8dff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5246a4=0x35a8e730^_0x4b34c0;function _0x13c6e7(){const _0x58eb2b=_0x5a8dff([0x6c,0x6c,0x63,0x74,0x2d])+_0x55de1e(_0x4ae09b(_0x5077d1)),_0xf55ae4=_0x3b6b49(_0x55de1e(window[_0x5a8dff([0x4d,0x61,0x74,0x68])][_0x5a8dff([0x63,0x65,0x69,0x6c])](_0x4ad782/_0x5246a4)));window[_0x5a8dff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a8dff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58eb2b,_0xf55ae4);}function _0x6922e1(){const _0x87ce12=_0x5a8dff([0x6c,0x6c,0x63,0x74,0x2d])+_0x55de1e(_0x4ae09b(_0x5077d1)),_0xf32754=window[_0x5a8dff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a8dff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x87ce12);return _0xf32754?window[_0x5a8dff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b6b49(_0xf32754),0x10)*_0x5246a4:null;}function _0x562069(_0x3b656e){return new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x171163,_0x2621c4)=>{_0x3b656e[_0x5a8dff([0x74,0x68,0x65,0x6e])](_0x171163,_0x2621c4),window[_0x5a8dff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2621c4,0x359fdd70^_0x4b34c0);});}}_0x5e0a3d[_0x5a8dff([0x6f,0x6e])](_0x5a8dff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23b319,_0x4b964c)=>{if(_0x4b964c[0x0]!=_0x5077d1)return _0x4b833e(_0x5a8dff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b964c[0x1]={..._0x4b964c[0x1],[_0x5a8dff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ab6a4};},{[_0x5a8dff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a8dff([0x68,0x69,0x67,0x68])}),_0x5e0a3d[_0x5a8dff([0x6f,0x6e])](_0x5a8dff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31be79=>{_0x46e568(_0x31be79[_0x5a8dff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x162f42=!0x0,_0x5a369c(_0x31be79[_0x5a8dff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a8dff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a8dff([0x6c,0x6f,0x77])}),_0x2fc7a9[_0x5a8dff([0x74,0x68,0x65,0x6e])](()=>{_0x162f42||_0x4b833e(_0x5a8dff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x863610(){return _0x5e0a3d[_0x5a8dff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a8dff([0x76,0x69,0x65,0x77])][_0x5a8dff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a8dff([0x61,0x75,0x74,0x6f]);}function _0x5501b0(){_0x5e0a3d[_0x5a8dff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a8dff([0x76,0x69,0x65,0x77])][_0x5a8dff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a8dff([0x61,0x75,0x74,0x6f]);}}function _0x5a8297(_0xc1416){const _0x84c5b0=new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3b1ef=>setTimeout(_0xf3b1ef,0x3597377c^_0x4b34c0)),_0x3db585=_0x2fc7a9[_0x5a8dff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fa707=>{const _0x11ce0d=0x359e09b7^_0x4b34c0,_0x512b25=_0x3aecba[_0x5a8dff([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x17fbc3(){_0x512b25[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x11ce0d&&_0x3fa707();}_0x17fbc3(),_0x512b25[_0x5a8dff([0x6f,0x6e])](_0x5a8dff([0x61,0x64,0x64]),_0x17fbc3);})),_0xbf7124=new window[(_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bfaac=>{function _0x225dfd(){for(const _0x350873 in window)if(window[_0x5a8dff([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x5a8dff([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x350873))&&window[_0x350873]==_0x4bdc05)return _0x5bfaac();_0x5e0a3d[_0x5a8dff([0x73,0x74,0x61,0x74,0x65])]!=_0x5a8dff([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x5a8dff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x225dfd,0x359e1a38^_0x4b34c0);}_0x4030e5(_0x5a8dff([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x225dfd();}),_0x87ba82=[_0x84c5b0,_0x3db585,_0xbf7124];return window[_0x5a8dff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a8dff([0x72,0x61,0x63,0x65])](_0x87ba82)[_0x5a8dff([0x74,0x68,0x65,0x6e])](()=>_0xc1416);}async function _0x3367eb(){if(await _0x2fc7a9,_0x4030e5(_0x5a8dff([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x18a0de=_0x3aecba[_0x5a8dff([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x37f63a=_0x3aecba[_0x5a8dff([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x18a0de[_0x5a8dff([0x69,0x64])]),_0x1d2f8f=_0x82a99d(_0x5a8dff([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x1d2f8f[_0x5a8dff([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x18a0de['id'],_0x37f63a?_0x37f63a['id']:null,!0x0),_0x1d2f8f[_0x5a8dff([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5a8dff([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1d2f8f[_0x5a8dff([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1d2f8f[_0x5a8dff([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x3d26b7,void(_0x1d2f8f[_0x5a8dff([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x3d26b7);}if(_0x4030e5(_0x5a8dff([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x37eb8f=_0x82a99d(_0x5a8dff([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x37eb8f[_0x5a8dff([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5a8dff([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x37eb8f[_0x5a8dff([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x37eb8f[_0x5a8dff([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x3d26b7,_0x37eb8f[_0x5a8dff([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x3d26b7;}_0x5e0a3d[_0x5a8dff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a8dff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d26b7,_0x5e0a3d[_0x5a8dff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a8dff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d26b7,_0x5e0a3d[_0x5a8dff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a8dff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d690c(){return _0x4030e5(_0x5a8dff([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x82a99d(_0x5a8dff([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5a8dff([0x73,0x74,0x61,0x74,0x65])]==_0x5a8dff([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x546348(){return _0x4030e5(_0x5a8dff([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x58f7c2(){return _0x4030e5(_0x5a8dff([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0xf9907(_0x522dda){const _0x201f95=_0x29e086();_0x5e0a3d[_0x201f95]=_0x5a8dff([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x522dda,_0x522dda[_0x5a8dff([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x5a8dff([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x29e086()]=_0x4bdc05),_0x522dda!=_0x5a8dff([0x56,0x61,0x6c,0x69,0x64])&&_0x3367eb();}function _0x29e086(){const _0x4eea94=window[_0x5a8dff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a8dff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a8dff([0x6e,0x6f,0x77])]())[_0x5a8dff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a8dff([0x2e]),'');let _0x32cc77=_0x5a8dff([0x76]);for(let _0x4e2a61=0x0;_0x4e2a61<_0x4eea94[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e2a61+=0x2){let _0x1aee33=window[_0x5a8dff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eea94[_0x5a8dff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e2a61,_0x4e2a61+0x2));_0x1aee33>=_0x335935[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1aee33-=_0x335935[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32cc77+=_0x335935[_0x1aee33];}return _0x32cc77;}function _0x410fe3(){const _0x4f677f=_0x27e978[_0x5a8dff([0x73,0x70,0x6c,0x69,0x74])](_0x5a8dff([0x2e]));if(0x3!=_0x4f677f[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e1f7d(_0x4f677f[0x1]);function _0x5e1f7d(_0x494002){const _0x527fb0=_0x53245c(_0x494002);return _0x527fb0&&_0xf104b()?_0x527fb0:null;function _0xf104b(){const _0x316114=_0x527fb0[_0x5a8dff([0x6a,0x74,0x69])],_0x4d1ae8=window[_0x5a8dff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x316114[_0x5a8dff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x316114[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2377e2={..._0x527fb0,[_0x5a8dff([0x6a,0x74,0x69])]:_0x316114[_0x5a8dff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x316114[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2377e2[_0x5a8dff([0x76,0x63])],_0x4ae09b(_0x2377e2)==_0x4d1ae8;}}}async function _0x7f7f(){let _0xca26ac=!0x0;try{const _0x11a0ee=_0x27e978[_0x5a8dff([0x73,0x70,0x6c,0x69,0x74])](_0x5a8dff([0x2e])),[_0x5aa265,_0x2381b7,_0x26727d]=_0x11a0ee;return _0x46168a(_0x5aa265),await _0x411173(_0x5aa265,_0x2381b7,_0x26727d),_0xca26ac;}catch{return!0x1;}function _0x46168a(_0x388004){const _0xdf0336=_0x53245c(_0x388004);_0xdf0336&&_0xdf0336[_0x5a8dff([0x61,0x6c,0x67])]==_0x5a8dff([0x45,0x53,0x32,0x35,0x36])||(_0xca26ac=!0x1);}async function _0x411173(_0x3889eb,_0x399607,_0x28eb5b){const _0x2b8abd=window[_0x5a8dff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a8dff([0x66,0x72,0x6f,0x6d])](_0x13266f(_0x28eb5b),_0x255b52=>_0x255b52[_0x5a8dff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55fd00=new window[(_0x5a8dff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a8dff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3889eb+_0x5a8dff([0x2e])+_0x399607),_0x4cbd2d=window[_0x5a8dff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a8dff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cbd2d)return;const _0xe38171=await _0x4cbd2d[_0x5a8dff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a8dff([0x6a,0x77,0x6b]),_0x4a114f,{[_0x5a8dff([0x6e,0x61,0x6d,0x65])]:_0x5a8dff([0x45,0x43,0x44,0x53,0x41]),[_0x5a8dff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a8dff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a8dff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cbd2d[_0x5a8dff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a8dff([0x6e,0x61,0x6d,0x65])]:_0x5a8dff([0x45,0x43,0x44,0x53,0x41]),[_0x5a8dff([0x68,0x61,0x73,0x68])]:{[_0x5a8dff([0x6e,0x61,0x6d,0x65])]:_0x5a8dff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe38171,_0x2b8abd,_0x55fd00)||(_0xca26ac=!0x1);}}function _0x53245c(_0x4ea60f){return _0x4ea60f[_0x5a8dff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a8dff([0x65,0x79]))?JSON[_0x5a8dff([0x70,0x61,0x72,0x73,0x65])](_0x13266f(_0x4ea60f)):null;}function _0x13266f(_0x331bf4){return window[_0x5a8dff([0x61,0x74,0x6f,0x62])](_0x331bf4[_0x5a8dff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a8dff([0x2b]))[_0x5a8dff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a8dff([0x2f])));}function _0x4ae09b(_0x10caa7){let _0x4fdb4a=0x1505;function _0x1fa6e3(_0x2e0e8e){for(let _0x3d8e11=0x0;_0x3d8e11<_0x2e0e8e[_0x5a8dff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d8e11++){const _0x370841=_0x2e0e8e[_0x5a8dff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d8e11);_0x4fdb4a=(_0x4fdb4a<<0x5)+_0x4fdb4a+_0x370841,_0x4fdb4a&=_0x4fdb4a;}}function _0x453c46(_0x253236){Array[_0x5a8dff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x253236)?_0x253236[_0x5a8dff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x453c46):_0x253236&&typeof _0x253236==_0x5a8dff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a8dff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x253236)[_0x5a8dff([0x73,0x6f,0x72,0x74])]()[_0x5a8dff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1019b0,_0x1a7d63])=>{_0x1fa6e3(_0x1019b0),_0x453c46(_0x1a7d63);}):_0x1fa6e3(window[_0x5a8dff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x253236));}return _0x453c46(_0x10caa7),_0x4fdb4a>>>0x0;}function _0x55de1e(_0x3e08ee){return _0x3e08ee[_0x5a8dff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a8dff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a8dff([0x30]));}function _0x3b6b49(_0x5cadf1){return _0x5cadf1[_0x5a8dff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a8dff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a8dff([0x6a,0x6f,0x69,0x6e])]('');}function _0x4030e5(_0x2c9090){return _0x5e0a3d[_0x5a8dff([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5a8dff([0x68,0x61,0x73])](_0x2c9090);}function _0x82a99d(_0x76b578){return _0x5e0a3d[_0x5a8dff([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5a8dff([0x67,0x65,0x74])](_0x76b578);}function _0x3d26b7(){}function _0x5a8dff(_0x400f86){return _0x400f86['map'](_0x38ee89=>String['fromCharCode'](_0x38ee89))['join']('');}_0xf9907(await _0x366ea8());}(this);}['createRevision'](_0x33937d){const _0x273d5c=this['editor']['plugins']['get']('Users');return new _0x37cac6({'id':_0x33937d['id'],'name':_0x33937d['name'],'creator':_0x33937d['creatorId']?_0x273d5c['getUser'](_0x33937d['creatorId']):null,'diffData':_0x33937d['diffData']||_0x33937d['data'],'authors':_0x33937d['authorsIds']['map'](_0xe16112=>_0x273d5c['getUser'](_0xe16112)),'createdAt':new Date(_0x33937d['createdAt']),'attributes':_0x33937d['attributes'],'fromVersion':_0x33937d['fromVersion'],'toVersion':_0x33937d['toVersion']});}['addRevision'](_0x32b469,_0x3d4a0a=0x0){this['_revisions']['add'](_0x32b469,_0x3d4a0a);}['getRevision'](_0x4d0299){return this['_revisions']['get'](_0x4d0299);}['getRevisions'](_0x16b11c={'toJSON':!0x1}){const _0x3f4fd7=Array['from'](this['_revisions']);return _0x3f4fd7['reverse'](),_0x16b11c['toJSON']?_0x3f4fd7['map'](_0x42bd31=>_0x42bd31['toJSON']()):_0x3f4fd7;}['getIndex'](_0x11509e){return this['_revisions']['getIndex'](_0x11509e);}['getEarlierVisibleRevision'](_0x47b5a9){const [,_0x462233]=this['getRevisionsIterator'](_0x47b5a9,{'direction':'earlier'});return _0x462233;}['getLaterVisibleRevision'](_0xe7cd02){const [,_0xa95f83]=this['getRevisionsIterator'](_0xe7cd02,{'direction':'later'});return _0xa95f83;}['getRevisionsInDiff'](_0x158172){const _0x279141=[];for(const _0xa0f4c0 of this['getRevisionsIterator'](_0x158172['newRevisionId']))if(_0x279141['push'](_0xa0f4c0),_0xa0f4c0['id']===_0x158172['oldRevisionId'])break;return _0x279141;}*['getRevisionsIterator'](_0x53890b,{direction:_0x28a450='earlier',filter:_0x34ea62=()=>!0x0}={}){const _0x5dfc8d='earlier'===_0x28a450?0x1:-0x1;let _0x45f97b=this['_revisions']['get'](_0x53890b),_0x1fe2a9=this['getIndex'](_0x45f97b);for(yield _0x45f97b;_0x45f97b;){if(_0x1fe2a9+=_0x5dfc8d,_0x45f97b=this['getRevision'](_0x1fe2a9),!_0x45f97b)return;_0x34ea62(_0x45f97b)&&(yield _0x45f97b);}}}class RevisionHistoryUtils extends _0x31c75c['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x31c75c['ViewContainerElement'],'c'],[_0x31c75c['ViewAttributeElement'],'a'],[_0x31c75c['ViewEmptyElement'],'e'],[_0x31c75c['ViewRawElement'],'r'],[_0x31c75c['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',_0x31c75c['ViewContainerElement']],['a',_0x31c75c['ViewAttributeElement']],['e',_0x31c75c['ViewEmptyElement']],['r',_0x31c75c['ViewRawElement']],['u',_0x31c75c['ViewUIElement']]]);async['loadRevisionData'](_0x40170e,_0x1ceb81){if(_0x40170e['diffData']||!_0x1ceb81)return;const _0x3bb5c8=this['editor']['config']['get']('collaboration.channelId'),_0x913790=await _0x1ceb81['getRevision']({'channelId':_0x3bb5c8,'revisionId':_0x40170e['id']});_0x40170e['diffData']=_0x913790['diffData'];}['getRevisionDocumentData'](_0xde0095){const _0x119396={};for(const _0x7508f3 in _0xde0095['diffData']){if(_0xde0095['diffData'][_0x7508f3]['attachChange']&&!_0xde0095['diffData'][_0x7508f3]['attachChange']['isAttached'])continue;const _0xc0cbce=this['_removeRevisionMarkers'](JSON['parse'](_0xde0095['diffData'][_0x7508f3]['insertions'])),_0x1310ac=this['editor']['editing']['view']['document'],_0x28329a=new _0x31c75c['ViewDocumentFragment'](_0x1310ac,_0xc0cbce['map'](_0x2e558e=>this['_getViewFromDiffObj'](_0x2e558e,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x119396[_0x7508f3]=this['editor']['data']['processor']['toData'](_0x28329a),this['editor']['data']['processor']['useFillerType']('default');}return _0x119396;}['getRevisionRootsAttributes'](_0xde4d1){const _0x4f3084={};for(const _0x12f685 in _0xde4d1['diffData'])_0xde4d1['diffData'][_0x12f685]['attachChange']&&!_0xde4d1['diffData'][_0x12f685]['attachChange']['isAttached']||(_0x4f3084[_0x12f685]=_0xde4d1['diffData'][_0x12f685]['attributesAfter']||{});return _0x4f3084;}['_getTypeCharForViewElement'](_0x22e1aa){return this['_viewClassToTypeChar']['get'](_0x22e1aa['constructor']);}['_getViewFromDiffObj'](_0x5c3a88,_0xc26bfe){const _0x4b7e3d=this['editor']['editing']['view']['document'];if('string'==typeof _0x5c3a88)return new _0x31c75c['ViewText'](_0x4b7e3d,_0x5c3a88);{let _0x5b824a,_0x544bcb;_0x544bcb='u'==_0x5c3a88['type']||'r'==_0x5c3a88['type']?[]:_0x5c3a88['children']['map'](_0xb92e57=>this['_getViewFromDiffObj'](_0xb92e57,_0xc26bfe));const _0xa8bb16=this['_typeCharToViewClass']['get'](_0x5c3a88['type'])||_0x31c75c['ViewElement'],_0x24dd8a=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x5b824a=new _0xa8bb16(_0x4b7e3d,_0x5c3a88['name'],_0x5c3a88['attributes'],_0x544bcb),'u'==_0x5c3a88['type']&&_0x5c3a88['children'][0x0]){const _0x5091db=_0x5c3a88['children'][0x0];if(_0x5b824a['render']=function(_0x13085c){const _0x49779b=_0x13085c['createElement']('div');return _0x49779b['innerHTML']=_0x5091db,_0x49779b['childNodes'][0x0];},_0xc26bfe){const _0x241875=new _0x31c75c['ViewDocumentFragment'](_0x4b7e3d);_0x241875['_appendChild'](_0x5b824a);const _0x22cdc9=Array['from'](_0x24dd8a['viewChildrenToDom'](_0x241875,{'bind':!0x1})),_0x594202=_0x24dd8a['domDocument']['createElement']('div');_0x594202['append'](..._0x22cdc9),_0x5b824a=Array['from'](_0x24dd8a['domChildrenToView'](_0x594202))[0x0];}}else{if('r'==_0x5c3a88['type']&&_0x5c3a88['children'][0x0]){const _0x5b31bd=_0x5c3a88['children'][0x0];if(_0x5b824a['render']=function(_0x23b605){_0x23b605['innerHTML']=_0x5b31bd;},_0xc26bfe){const _0xcef77e=new _0x31c75c['ViewDocumentFragment'](_0x4b7e3d);_0xcef77e['_appendChild'](_0x5b824a);const _0x454f23=Array['from'](_0x24dd8a['viewChildrenToDom'](_0xcef77e,{'bind':!0x1})),_0x4ea478=_0x24dd8a['domDocument']['createElement']('div');_0x4ea478['append'](..._0x454f23);const _0x2eb3b9=Array['from'](_0x24dd8a['domChildrenToView'](_0x4ea478));_0x2eb3b9['length']>0x1?_0x5b824a['_appendChild'](_0x2eb3b9):_0x5b824a=_0x2eb3b9[0x0];}}}if(_0x5c3a88['customProperties']){for(const [_0x574b7d,_0x3dc762]of _0x5c3a88['customProperties'])_0x5b824a['_setCustomProperty'](_0x574b7d,_0x3dc762);}const _0x2e4ce7=void 0x0===_0x5c3a88['fillerOffset']?null:_0x5c3a88['fillerOffset'];return null!==_0x2e4ce7&&(_0x5b824a['getFillerOffset']=()=>_0x2e4ce7),_0x5b824a;}}['_makeModelFromViewString'](_0xe71833){const _0x5f2fd8=JSON['parse'](_0xe71833),_0x27ab04=this['editor']['editing']['view']['document'],_0x5bdcc1=new _0x31c75c['ViewDocumentFragment'](_0x27ab04,_0x5f2fd8['map'](_0x265fee=>this['_getViewFromDiffObj'](_0x265fee,!0x0)));return this['editor']['data']['toModel'](_0x5bdcc1);}['_removeRevisionMarkers'](_0x2b63d9){return(_0x2b63d9=_0x2b63d9['filter'](_0x5a63de=>!_0x5a63de['name']||'revision-start'!==_0x5a63de['name']&&'revision-end'!==_0x5a63de['name']))['forEach'](_0x53bc75=>{'string'!=typeof _0x53bc75&&(_0x53bc75['children']=this['_removeRevisionMarkers'](_0x53bc75['children']),_0x53bc75['attributes']=_0x53bc75['attributes']['filter'](_0x514cec=>!_0x514cec[0x0]['startsWith']('data-revision-')));}),_0x2b63d9;}}function _0x1e0723(_0x24db0a,_0x141c03,_0x22260a){const t=_0x24db0a['t'];switch(_0x141c03){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x22260a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x22260a);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}class _0x707d6f extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['currentRevision']=null;['repository'];['adapter']=null;['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_utils'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1eec90,RevisionsRepository,RevisionHistoryUtils,_0x31c75c['PendingActions']];}constructor(_0x40720b){super(_0x40720b),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new RevisionDataBuilder(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x6a07ea=_0x31c75c['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x6a07ea},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x4fc27f=this['repository']['getRevision'](0x0),_0x7633b7=_0x4fc27f&&null===_0x4fc27f['creator']?_0x4fc27f:null;if(this['_continueCurrentRevision']=!!_0x7633b7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x32cedb=this['_source']['getCurrentRevisionId'](),_0x1bce1c=this['repository']['getRevision'](_0x32cedb);if(_0x1bce1c)this['_startingVersion']=_0x1bce1c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x198505=this['_source']['history']['_operations']['find'](_0x19d2ba=>!_0x19d2ba['_isInit']),_0x4ebea9=_0x198505?_0x198505['baseVersion']:this['_source']['history']['version'];_0x4fc27f?(_0x4fc27f['toVersion']<_0x4ebea9&&_0x4fc27f['_update']({'toVersion':_0x4ebea9}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x7633b7['id'],this['_startingVersion']=_0x7633b7['fromVersion']):(this['_startingVersion']=_0x4fc27f['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4ebea9,this['_continueCurrentRevision']=!0x1);}}else _0x7633b7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x7633b7['toVersion'],this['editor']['model']['document']['history']['version']),_0x7633b7['fromVersion']===_0x7633b7['toVersion']?(0x0!==_0x7633b7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x7633b7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x7633b7['id'],this['_startingVersion']=_0x7633b7['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x47fec2=>!_0x47fec2),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x469a9f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc11bb8;for(const _0x201a48 in _0x469a9f){const _0x56102=_0x201a48,_0x2bcfc7=_0x469a9f[_0x56102];if('revisionHistoryLicenseKeyValid'==_0x2bcfc7||'revisionHistoryLicenseKeyInvalid'==_0x2bcfc7||'revisionHistoryLicenseKeyExpired'==_0x2bcfc7||'revisionHistoryLicenseKeyDomainLimit'==_0x2bcfc7||'revisionHistoryLicenseKeyNotAllowed'==_0x2bcfc7||'revisionHistoryLicenseKeyEvaluationLimit'==_0x2bcfc7||'revisionHistoryLicenseKeyUsageLimit'==_0x2bcfc7){delete _0x469a9f[_0x56102],_0xc11bb8=_0x2bcfc7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0xc11bb8&&_0x469a9f['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0xc11bb8&&_0x469a9f['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0xc11bb8&&_0x469a9f['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0xc11bb8&&_0x469a9f['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0xc11bb8&&_0x469a9f['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0xc11bb8&&_0x469a9f['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x51b87a=this['repository']['getRevision'](0x0),_0x578370=await this['getRevisionDocumentData'](_0x51b87a),_0x4bc2e7=await this['getRevisionRootsAttributes'](_0x51b87a);this['_replaceEditorDataWithRevisionData'](_0x578370,_0x4bc2e7);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x54e8fa){this['_source']=_0x54e8fa;}async['update'](){const _0x1e8578=await this['_source']['getLatestVersion']();if(_0x1e8578>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2d7279=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1e8578});_0x2d7279['authors']=_0x2d7279['authorsIds']['map'](_0x56b164=>this['editor']['plugins']['get']('Users')['getUser'](_0x56b164)),this['currentRevision']['_update'](_0x2d7279);}}async['saveRevision'](_0x2a7fb4={},_0x34d85e=null){const _0x2f715e=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x34d85e>this['currentRevision']['toVersion']&&(_0x34d85e=null),null===_0x34d85e&&(_0x34d85e=await this['_source']['getLatestVersion']());const _0x4a1d94=this['_getFromVersion'](_0x34d85e),_0x3ff8b8=this['buildRevisionData']({'from':_0x4a1d94,'to':_0x34d85e});if(this['currentRevision']['toVersion']<_0x34d85e){const _0x2ff551=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x34d85e,'to':_0x34d85e});_0x2ff551['authors']=[],_0x2ff551['authorsIds']=[],_0x2ff551['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2ff551,!0x0),delete _0x2ff551['authors'],_0x2f715e['push'](_0x2ff551);}_0x2a7fb4['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2a7fb4['name']=_0x2a7fb4['name']||null,_0x2a7fb4['id']=_0x2a7fb4['id']||_0x31c75c['uid'](),_0x2a7fb4={..._0x2a7fb4,..._0x3ff8b8};const _0xb8eb0f=this['addRevisionData'](_0x2a7fb4);_0x2f715e['push'](_0x2a7fb4);const _0x44b12f=this['repository']['getIndex'](_0xb8eb0f);if(0x0!==_0x44b12f){const _0x29f1be=this['repository']['getRevision'](_0x44b12f-0x1);if(_0x29f1be['fromVersion']!==_0x34d85e){const _0x70ad1d=this['_revisionDataBuilder']['getData'](_0x34d85e,_0x29f1be['toVersion']),_0x2ea4a4={'id':_0x29f1be['id'],'diffData':_0x70ad1d['diffData'],'authorsIds':_0x70ad1d['authorsIds'],'authors':_0x70ad1d['authorsIds']['map'](_0x4b7cc0=>this['editor']['plugins']['get']('Users')['getUser'](_0x4b7cc0)),'fromVersion':_0x34d85e};_0x29f1be===this['currentRevision']&&(_0x2ea4a4['createdAt']=new Date(_0x2a7fb4['createdAt']['getTime']()+0xa)),_0x29f1be['_update'](_0x2ea4a4,!0x0),delete _0x2ea4a4['authors'],_0x2f715e['push'](_0x2ea4a4);}}if(this['adapter']){for(const _0xbfa334 of _0x2f715e)this['_bufferUpdate'](_0xbfa334['id'],_0xbfa334,!0x0);this['sendBufferedUpdates']();}return _0xb8eb0f;}['addRevisionData'](_0x30f902){const _0x456dca=this['repository']['createRevision'](_0x30f902);return this['adapter']&&_0x456dca['on']('_update',(_0x1f4f4c,_0x19ee9a,_0xab8c53)=>{_0xab8c53||(this['_bufferUpdate'](_0x19ee9a['id'],_0x19ee9a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x456dca,this['_findInsertionIndex'](_0x456dca)),_0x456dca;}async['getRevisionDocumentData'](_0x2f3d68){return await this['_utils']['loadRevisionData'](_0x2f3d68,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x2f3d68);}async['getRevisionRootsAttributes'](_0x4207f5){return await this['_utils']['loadRevisionData'](_0x4207f5,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x4207f5);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x242c81=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x372b53=0x0;_0x372b53<_0x242c81['length'];_0x372b53++){const _0x342adb=_0x242c81[_0x372b53];let _0xd6e5c8=!0x1;for(const _0x394b87 of Object['keys'](_0x342adb))void 0x0===_0x342adb[_0x394b87]?delete _0x342adb[_0x394b87]:'id'!==_0x394b87&&(_0xd6e5c8=!0x0);_0xd6e5c8||(_0x242c81[_0x372b53]=null);}if(_0x242c81=_0x242c81['filter'](_0x500511=>null!==_0x500511),!_0x242c81['length'])return;for(let _0x326d8f=0x0;_0x326d8f<_0x242c81['length'];_0x326d8f++){const _0x1c4479=_0x242c81[_0x326d8f];void 0x0!==_0x1c4479['fromVersion']&&void 0x0===_0x1c4479['toVersion']&&(_0x1c4479['toVersion']=this['repository']['getRevision'](_0x1c4479['id'])['toVersion']),void 0x0!==_0x1c4479['toVersion']&&void 0x0===_0x1c4479['fromVersion']&&(_0x1c4479['fromVersion']=this['repository']['getRevision'](_0x1c4479['id'])['fromVersion']);}const _0x1bf39e=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x242c81,_0x1bf39e)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xf63c95=>{if(_0xf63c95){for(const _0x1871a1 of _0xf63c95)this['setRevisionData']({'id':_0x1871a1['id'],'createdAt':_0x1871a1['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x345c07=null,from:_0x5456e5=null,to:_0x124fc4=null}){_0x5456e5=null!==_0x5456e5?_0x5456e5:_0x345c07['fromVersion'],_0x124fc4=null!==_0x124fc4?_0x124fc4:_0x345c07['toVersion'];const _0xadb3a8=this['_revisionDataBuilder']['getData'](_0x5456e5,_0x124fc4),_0x5d254e={'diffData':_0xadb3a8['diffData'],'authorsIds':_0xadb3a8['authorsIds'],'fromVersion':_0x5456e5,'toVersion':_0x124fc4};if(!_0x345c07||_0x124fc4!==_0x345c07['toVersion']){const _0x3888ec=_0x124fc4-0x1,_0x56abee=this['_source']['history']['getOperation'](_0x3888ec);_0x5d254e['createdAt']=_0x56abee&&_0x56abee['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5456e5===this['_loadedStateData']['fromVersion']){for(const _0xda63 of this['_loadedStateData']['authors'])_0x5d254e['authorsIds']['includes'](_0xda63['id'])||_0x5d254e['authorsIds']['push'](_0xda63['id']);}return _0x5d254e;}['_bufferUpdate'](_0x256025,_0x292a86,_0x30170c){if(this['_bufferedUpdates']['has'](_0x256025)){const _0x470946=this['_bufferedUpdates']['get'](_0x256025);_0x292a86=_0x30170c?{..._0x470946,..._0x292a86}:{..._0x292a86,..._0x470946};}this['_bufferedUpdates']['set'](_0x256025,_0x292a86);}['setRevisionData'](_0x2fadf5){const _0x2a4201=this['repository']['getRevision'](_0x2fadf5['id']);if(_0x2fadf5['createdAt']&&(_0x2fadf5['createdAt']=new Date(_0x2fadf5['createdAt'])),_0x2fadf5['authorsIds']){const _0x21786d=this['editor']['plugins']['get']('Users');_0x2fadf5['authors']=_0x2fadf5['authorsIds']['map'](_0x17fcc5=>_0x21786d['getUser'](_0x17fcc5));}_0x2a4201['_update'](_0x2fadf5,!0x0);}['_createInitialRevision'](_0x35f3c7){const _0xb79898=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xb79898)this['_initialRevisionId']=_0xb79898['id'];else{const _0x33ca01=!this['editor']['model']['document']['roots']['find'](_0x17ef59=>this['editor']['model']['hasContent'](_0x17ef59)),_0x1bab14=this['editor']['plugins']['get']('Users')['me']['id'],_0x4c1dbf=_0x1e0723(this['editor']['locale'],_0x33ca01?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x35f3c7,'to':_0x35f3c7,'id':this['_initialRevisionId'],'name':_0x4c1dbf,'creatorId':_0x1bab14});}}['_createCurrentRevision'](_0x170aee){const _0x440cd0=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x440cd0),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x170aee,'to':_0x170aee,'id':_0x440cd0,'name':'','creatorId':null}));}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_utils']['loadRevisionData'](this['currentRevision'],this['adapter']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}['_replaceEditorDataWithRevisionData'](_0x2563db,_0x297609){const _0x18e6b4={},_0x9987d0={},_0x2d04ae=this['editor']['config']['get']('roots')||{};for(const [_0x274fa2,_0x493712]of Object['entries'](_0x2d04ae))_0x493712['lazyLoad']||(_0x18e6b4[_0x274fa2]=_0x493712['initialData']??'',_0x9987d0[_0x274fa2]=_0x493712['modelAttributes']||{});for(const _0x1e41b7 of this['editor']['model']['document']['getRootNames']())_0x18e6b4[_0x1e41b7]??='',_0x9987d0[_0x1e41b7]??={};let _0x587458=!0x1;const _0x5fb57d=Object['keys'](_0x18e6b4),_0x46a454=Object['keys'](_0x2563db);for(const _0x14d019 of _0x5fb57d){if(_0x18e6b4[_0x14d019]!==_0x2563db[_0x14d019]&&''!==_0x18e6b4[_0x14d019]['trim']()){_0x587458=!0x0;break;}if(!pt(_0x9987d0[_0x14d019],_0x297609[_0x14d019])&&Object['keys'](_0x9987d0[_0x14d019])['length']>0x0){_0x587458=!0x0;break;}}_0x587458||(_0x587458=_0x46a454['some'](_0x53c03a=>!this['editor']['model']['document']['getRoot'](_0x53c03a))),_0x587458&&_0x31c75c['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x18e6b4,'editorRootsAttributes':_0x9987d0,'revisionData':_0x2563db,'revisionRootsAttributes':_0x297609});for(const [_0x1eb654,_0x39f287]of Object['entries'](_0x2563db))this['editor']['config']['set']('roots.'+_0x1eb654+'.initialData',_0x39f287);for(const [_0x3376e0,_0x8ae02a]of Object['entries'](_0x297609))this['editor']['config']['set']('roots.'+_0x3376e0+'.modelAttributes',_0x8ae02a);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x374d4c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x374d4c['add'](_0x1e0723(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x11904a){const _0x501069=this['repository']['getRevisions']();_0x501069['reverse']();let _0x43077a=0x0;for(;_0x43077a<_0x501069['length'];){const _0x33e6de=_0x501069[_0x43077a];if(_0x33e6de===this['currentRevision']){_0x43077a++;continue;}if(_0x33e6de['id']===this['_initialRevisionId'])break;const _0x3ca847=_0x11904a['toVersion']-_0x33e6de['toVersion']||_0x11904a['fromVersion']-_0x33e6de['fromVersion'];if(_0x3ca847>0x0)break;if(_0x3ca847<0x0)_0x43077a++;else{if(!_0x11904a['creator']&&_0x33e6de['creator'])break;if(_0x33e6de['creator']||!_0x11904a['creator']){if(_0x11904a['createdAt']>_0x33e6de['createdAt'])break;_0x43077a++;}else _0x43077a++;}}return _0x43077a;}['_getFromVersion'](_0x36723f){const _0x32da01=this['repository']['getRevisions']();_0x32da01['reverse'](),_0x32da01['shift']();const _0x284155=_0x32da01['find'](_0xe13d0f=>_0xe13d0f['toVersion']<=_0x36723f)['toVersion'];return _0x284155<this['_startingVersion']?this['_startingVersion']:_0x284155;}['_makeRevision']({name:_0x449eb6,from:_0x403e35,to:_0x4ada5c,creatorId:_0x2e5ab5,id:_0x439373}){const _0x547a46=this['buildRevisionData']({'from':_0x403e35,'to':_0x4ada5c});_0x547a46['name']=_0x449eb6,_0x547a46['creatorId']=_0x2e5ab5,_0x547a46['id']=_0x439373;const _0x21bef4=this['addRevisionData'](_0x547a46);return this['adapter']&&this['_bufferUpdate'](_0x547a46['id'],_0x547a46,!0x0),_0x21bef4;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}}class RevisionDataBuilder{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4c9a44){this['editor']=_0x4c9a44,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0xab9b33){this['source']=_0xab9b33;const _0x766416=new Map(),_0x3554c4=new Map(),_0x41a29f=this['editor']['model']['document']['roots']['map'](_0x247942=>_0x247942['rootName']);for(const _0x522ff5 of _0x41a29f){const _0x1280d2=this['editor']['model']['document']['getRoot'](_0x522ff5),_0x5ffea0=_0x2dfef8(_0x1280d2);_0x766416['set'](_0x522ff5,_0x5ffea0),_0x3554c4['set'](_0x522ff5,Object['fromEntries'](_0x1280d2['getAttributes']()));}const _0x4ade10=Array['from'](this['editor']['model']['markers'])['map'](_0x250aa4=>[_0x250aa4['name'],_0x250aa4['getRange']()]),_0x3c452d=this['source']['version'];this['_saveMetaData'](_0x3c452d,_0x766416,_0x4ade10,_0x3554c4),this['_startingRevisionId']=this['_revisionId'];const _0x4629f8=new Map(),_0x15daae=new Map();for(const _0x183bf7 of _0x41a29f){const _0x548fab=_0x25bce2(_0x183bf7);_0x4629f8['set'](_0x183bf7,_0x548fab),_0x15daae['set'](_0x183bf7,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4629f8,[],_0x15daae);}['getData'](_0x4377b3,_0x8f97da){if(this['_lastFrom']===_0x4377b3&&this['_lastTo']<=_0x8f97da)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x8f97da,!0x0);else{if(!this['_savedMetaData']['has'](_0x4377b3)){const _0x1417ba=this['_getPreviousFrom'](_0x4377b3);this['_calculateMetaData'](_0x1417ba,_0x4377b3,!0x1);}this['_calculateMetaData'](_0x4377b3,_0x8f97da,!0x0);}return this['_lastFrom']=_0x4377b3,this['_lastTo']=_0x8f97da,this['_getState']();}['loadState'](_0x20ae63){if(!this['_savedMetaData']['has'](_0x20ae63['fromVersion'])){const _0x447b0c=this['_getPreviousFrom'](_0x20ae63['fromVersion']);this['_calculateMetaData'](_0x447b0c,_0x20ae63['fromVersion'],!0x1);}this['_calculateMetaData'](_0x20ae63['fromVersion'],_0x20ae63['toVersion'],!0x1);const _0x1d69ab=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x20ae63['fromVersion'],this['_lastTo']=_0x20ae63['toVersion'];for(const _0x2e5c7c in _0x20ae63['diffData']){const _0x59b91c=_0x20ae63['diffData'][_0x2e5c7c]['attachChange'],_0x547a66=_0xeda1dc(_0x20ae63['diffData'][_0x2e5c7c]['attributesBefore'])||{},_0x1e6c49=_0x1d69ab['_makeModelFromViewString'](_0x20ae63['diffData'][_0x2e5c7c]['deletions']);_0x1e6c49['rootName']=_0x2e5c7c,_0x1e6c49['_isAttached']=!_0x59b91c||!_0x59b91c['isAttached'],_0x1e6c49['isAttached']=()=>_0x1e6c49['_isAttached'],this['_baseRoots']['set'](_0x2e5c7c,_0x1e6c49),this['_baseRootsAttributes']['set'](_0x2e5c7c,_0x547a66),_0x59b91c&&this['_touchedRoots']['set'](_0x2e5c7c,_0x59b91c);const _0x1e7116=this['_makeIdsRoot'](_0x1e6c49);this['_baseIdsRoots']['set'](_0x2e5c7c,_0x1e7116);for(const [_0x3399c4,_0x5ac18a]of _0x1e6c49['markers']){if(!_0x3399c4['startsWith']('revision:'))continue;const _0x473619=_0x3399c4['split'](':')[0x2];for(const _0x4d2985 of _0x5ac18a['getWalker']({'singleCharacters':!0x0})){const _0x463c3b=this['_getVidAttributeName'](_0x4d2985),_0x3da616='elementEnd'==_0x4d2985['type']?_0x4d2985['previousPosition']['path']['slice'](0x0,-0x1):_0x4d2985['previousPosition']['path'],_0x1da8f6=_0x1e7116['getNodeByPath'](_0x3da616)['getAttribute'](_0x463c3b);this['_touched']['set'](_0x1da8f6,{'userId':_0x473619});}_0x1e6c49['markers']['delete'](_0x3399c4);}}this['_startingRevisionId']=this['_revisionId'];const _0x2f8173=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x24928a=>!this['_touched']['has'](_0x24928a));let _0x2b0fbb=0x0;const _0x491f65=new Map();for(const _0x5e4a5a in _0x20ae63['diffData']){const _0x1fbf56=_0x20ae63['diffData'][_0x5e4a5a]['attachChange'],_0x1bd211=_0xeda1dc(_0x20ae63['diffData'][_0x5e4a5a]['attributesAfter'])||{},_0x81dc8f=_0x1d69ab['_makeModelFromViewString'](_0x20ae63['diffData'][_0x5e4a5a]['insertions']);_0x81dc8f['rootName']=_0x5e4a5a,_0x81dc8f['_isAttached']=!_0x1fbf56||_0x1fbf56['isAttached'],_0x81dc8f['isAttached']=()=>_0x81dc8f['_isAttached'],this['_diffRoots']['set'](_0x5e4a5a,_0x81dc8f),this['_diffRootsAttributes']['set'](_0x5e4a5a,_0x1bd211);const _0x58b199=this['_makeIdsRoot'](_0x81dc8f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5e4a5a,_0x58b199),_0x491f65['set'](_0x5e4a5a,_0x81dc8f['isAttached']()?_0x1bd211:{});for(const [_0x45e22a,_0x5f0c69]of _0x81dc8f['markers']){if(!_0x45e22a['startsWith']('revision:'))continue;const _0x32fdad=_0x45e22a['split'](':')[0x2];for(const _0x568f4c of _0x5f0c69['getWalker']({'singleCharacters':!0x0})){const _0x1fc223=this['_getVidAttributeName'](_0x568f4c),_0x4a95e5=this['_revisionId']++,_0x10716b='elementEnd'==_0x568f4c['type']?_0x568f4c['previousPosition']['path']['slice'](0x0,-0x1):_0x568f4c['previousPosition']['path'];_0x58b199['getNodeByPath'](_0x10716b)['_setAttribute'](_0x1fc223,_0x4a95e5),this['_touched']['set'](_0x4a95e5,{'userId':_0x32fdad});}_0x81dc8f['markers']['delete'](_0x45e22a);}for(const _0x22d069 of this['editor']['model']['createRangeIn'](_0x81dc8f)['getWalker']({'singleCharacters':!0x0})){const _0x390d8a=this['_getVidAttributeName'](_0x22d069),_0x344e32='elementEnd'==_0x22d069['type']?_0x22d069['previousPosition']['path']['slice'](0x0,-0x1):_0x22d069['previousPosition']['path'],_0x4d1640=_0x58b199['getNodeByPath'](_0x344e32);_0x4d1640['getAttribute'](_0x390d8a)>0x0||_0x4d1640['_setAttribute'](_0x390d8a,_0x2f8173[_0x2b0fbb++]);}for(const [_0x2ebb2c,_0x184970]of _0x81dc8f['markers'])_0x2ebb2c['startsWith']('revision:')||this['_markers']['set'](_0x2ebb2c,_0x184970);}const {roots:_0x9f5d}=this['_savedMetaData']['get'](_0x20ae63['fromVersion']),{roots:_0xf7428d}=this['_savedMetaData']['get'](_0x20ae63['toVersion']),_0x3c41e2=_0x2dfef8(_0x9f5d['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x3c41e2),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3c41e2,Number['NEGATIVE_INFINITY']));const _0x79217=_0x2dfef8(_0xf7428d['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x79217),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x79217));const _0x187504=Array['from'](this['_diffRoots'])['map'](([_0x25db6f,_0x3f16f4])=>[_0x25db6f,_0x2dfef8(_0x3f16f4)]);this['_saveMetaData'](this['_lastTo'],_0x187504,this['_markers'],_0x491f65);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x23a04f,_0x1074a4,_0x7e7e3,_0x185721){const _0x49ed93=new Map(_0x1074a4),_0x43ee58=new Map(_0xeda1dc(_0x185721)),_0x55a6a1=new Map();for(const [_0x2262d6,_0x356cef]of _0x7e7e3)_0x55a6a1['set'](_0x2262d6,{'start':_0x356cef['start']['clone'](),'end':_0x356cef['end']['clone'](),'rootName':_0x356cef['root']['rootName']});this['_savedMetaData']['set'](_0x23a04f,{'roots':_0x49ed93,'markers':_0x55a6a1,'rootsAttributes':_0x43ee58});}['_removeMetaData'](_0x57f3c1){this['_savedMetaData']['delete'](_0x57f3c1);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x37e7b5,_0x205dab=null){let _0x216b88=null;_0x37e7b5['is']('documentFragment')||(_0x216b88=new _0x31c75c['ModelElement'](_0x37e7b5['name'],{'vid_start':null===_0x205dab?this['_revisionId']++:_0x205dab++}));const _0x5b9a5b=[];for(const _0x416428 of _0x37e7b5['getChildren']())if(_0x416428['is']('element')){_0x5b9a5b['push'](this['_makeIdsRoot'](_0x416428,_0x205dab));const _0x14db4c=_0x5b9a5b[_0x5b9a5b['length']-0x1];null!==_0x205dab&&(_0x205dab=_0x14db4c['is']('element','$text')?_0x14db4c['getAttribute']('vid')+0x1:_0x14db4c['getAttribute']('vid_end')+0x1);}else{for(let _0x4134f5=0x0;_0x4134f5<_0x416428['offsetSize'];_0x4134f5++)_0x5b9a5b['push'](new _0x31c75c['ModelElement']('$text',{'vid':null===_0x205dab?this['_revisionId']++:_0x205dab++}));}if(_0x37e7b5['is']('documentFragment')){const _0x230831=_0x25bce2(_0x37e7b5['rootName']);return _0x230831['_insertChild'](0x0,_0x5b9a5b),_0x230831;}return _0x216b88['_setAttribute']('vid_end',null===_0x205dab?this['_revisionId']++:_0x205dab++),_0x216b88['_insertChild'](0x0,_0x5b9a5b),_0x216b88;}['_calculateMetaData'](_0x16ee83,_0x103077,_0x210711){this['_reset']();const {roots:_0x104a4b,markers:_0x313b79,rootsAttributes:_0xfae16f}=this['_savedMetaData']['get'](_0x16ee83);this['_baseRoots']=new Map(_0x104a4b),this['_baseRootsAttributes']=new Map(_0xeda1dc(_0xfae16f));for(const [_0x298c12,_0x42236b]of this['_baseRoots'])if('$graveyard'!==_0x298c12&&(this['_diffRoots']['set'](_0x298c12,_0x2dfef8(_0x42236b)),this['_diffRootsAttributes']=new Map(_0xeda1dc(_0xfae16f)),_0x210711)){const _0x3620f1=this['_revisionId'];this['_idsRoots']['set'](_0x298c12,this['_makeIdsRoot'](_0x42236b)),this['_baseIdsRoots']['set'](_0x298c12,this['_makeIdsRoot'](_0x42236b,_0x3620f1));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_0x2dfef8(this['_baseRoots']['get']('$graveyard'))),_0x210711&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x143573,_0x3abd33]of _0x313b79){const _0x157866=this['_baseRoots']['get'](_0x3abd33['rootName']),_0x55aae3=this['_diffRoots']['get'](_0x3abd33['rootName']),_0x166ed2=new _0x31c75c['ModelRange'](this['_fixPosition'](_0x3abd33['start'],_0x157866),this['_fixPosition'](_0x3abd33['end'],_0x157866)),_0x35c970=this['_fixRange'](_0x166ed2,_0x55aae3);_0x157866['markers']['set'](_0x143573,_0x166ed2),this['_markers']['set'](_0x143573,_0x35c970);}this['_applyOperations'](_0x16ee83,_0x103077,_0x210711);}['_applyOperations'](_0x27ae62,_0x3bf915,_0x4c16dc){for(const _0x38836a of this['source']['getOperations'](_0x27ae62,_0x3bf915))this['_handleOperation'](_0x38836a,_0x4c16dc);for(const _0x38ce80 of this['_diffRoots']['values']())_0x38ce80['markers']['clear']();for(const [_0x1d7a33,_0x112fa3]of this['_markers']){this['_diffRoots']['get'](_0x112fa3['root']['rootName'])['markers']['set'](_0x1d7a33,_0x112fa3['clone']());}const _0x1ba48e=new Map(),_0x82a7a7=new Map();for(const [_0x295169,_0x2ff9ce]of this['_diffRoots'])_0x1ba48e['set'](_0x295169,_0x2dfef8(_0x2ff9ce)),_0x82a7a7['set'](_0x295169,this['_diffRootsAttributes']['get'](_0x295169));this['_saveMetaData'](_0x3bf915,_0x1ba48e,this['_markers'],_0x82a7a7);}['_getPreviousFrom'](_0x1f4515){const _0x1c187b=Array['from'](this['_savedMetaData']['keys']());_0x1c187b['sort']((_0x4cdbdf,_0x523304)=>_0x4cdbdf-_0x523304),_0x1c187b['reverse']();for(const _0x5e08a7 of _0x1c187b)if(_0x5e08a7<_0x1f4515)return _0x5e08a7;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x6cc835,_0x3c070b){const _0x3ff950=Array['from'](_0x3c070b['markers'])['map'](([_0xdc6cec,_0x1f6a9d])=>[_0xdc6cec,this['_fixRange'](_0x1f6a9d,_0x6cc835)]);_0x6cc835['markers']=new Map(_0x3ff950);}['_transformMarkers'](_0x271b9d){for(const _0x2d61e1 of this['_markers']['values']()){const _0x12c7bd=_0x2d61e1['getTransformedByOperation'](_0x271b9d),_0x4d3091=_0x31c75c['ModelRange']['_createFromRanges'](_0x12c7bd);_0x2d61e1['start']=_0x4d3091['start'],_0x2d61e1['end']=_0x4d3091['end'];}}['_handleOperation'](_0x674d5c,_0x2a2c54){if('addRoot'!=_0x674d5c['type']&&'detachRoot'!=_0x674d5c['type']){if('insert'==_0x674d5c['type']){const _0x27fb31=_0x674d5c['position']['root']['rootName'];this['_diffRoots']['has'](_0x27fb31)||(this['_diffRoots']['set'](_0x27fb31,_0x25bce2(_0x27fb31,!0x0)),this['_diffRootsAttributes']['set'](_0x27fb31,{}),_0x2a2c54&&this['_idsRoots']['set'](_0x27fb31,_0x25bce2(_0x27fb31,!0x0)));}else{if('addRootAttribute'==_0x674d5c['type']||'removeRootAttribute'==_0x674d5c['type']||'changeRootAttribute'==_0x674d5c['type'])return void this['_handleRootAttributeOperation'](_0x674d5c);'marker'==_0x674d5c['type']&&this['_handleMarkerOperation'](_0x674d5c);}if('marker'!==_0x674d5c['type']){const _0x4b7434=this['_cloneOperation'](_0x674d5c,this['_diffRoots']);_0x4b7434['_execute'](),this['_transformMarkers'](_0x4b7434);}if(_0x2a2c54)switch(_0x674d5c['type']){case'insert':this['_handleInsertOperation'](_0x674d5c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x674d5c);break;case'merge':this['_handleMergeOperation'](_0x674d5c);break;case'split':this['_handleSplitOperation'](_0x674d5c);}}else this['_handleRootOperation'](_0x674d5c,_0x2a2c54);}['_cloneOperation'](_0x4bf161,_0x5f29a3){const _0x523b76=_0x4bf161['clone']();return _0x523b76['_authorId']=_0x4bf161['_authorId'],this['_fixOperation'](_0x523b76,_0x5f29a3),_0x523b76;}['_getBaseVids'](_0x4018d0){return _0x4018d0['map'](_0x231e07=>{const _0x30a509=this['_getVidAttributeName'](_0x231e07);return Number(_0x231e07['item']['getAttribute'](_0x30a509));});}['_generateTape'](_0x380060,_0x10399f){if(_0x380060['is']('element','$text'))_0x10399f['push']({'item':_0x380060,'type':'text'});else{_0x380060['is']('element')&&_0x10399f['push']({'item':_0x380060,'type':'elementStart'});for(const _0x5cf6ba of _0x380060['getChildren']())this['_generateTape'](_0x5cf6ba,_0x10399f);_0x380060['is']('element')&&_0x10399f['push']({'item':_0x380060,'type':'elementEnd'});}return _0x10399f;}['_getState'](){const _0x10f192=new Map(this['_touched']),_0x324c15=new Map(_0x10f192),_0x1db0e1=new Map(),_0x3c8438={'insertions':{},'deletions':{}},_0x4b094b={'insertions':{},'deletions':{}},_0x5550e1=new Map(),_0x7d1f99=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x7d1f99['delete']('$graveyard');for(const _0x4cb08f of _0x7d1f99){const _0x57e109=this['_diffRoots']['get'](_0x4cb08f)||_0x25bce2(_0x4cb08f,!0x1),_0x34bb76=this['_baseRoots']['get'](_0x4cb08f)||_0x25bce2(_0x4cb08f,!0x1);_0x57e109['isAttached']()||_0x34bb76['isAttached']()?(_0x3c8438['insertions'][_0x4cb08f]=_0x2dfef8(_0x57e109),_0x3c8438['deletions'][_0x4cb08f]=_0x2dfef8(_0x34bb76),this['_copyMarkers'](_0x3c8438['deletions'][_0x4cb08f],_0x34bb76),this['_copyMarkers'](_0x3c8438['insertions'][_0x4cb08f],_0x57e109),_0x4b094b['insertions'][_0x4cb08f]=this['_generateTape'](this['_idsRoots']['get'](_0x4cb08f),[]),_0x4b094b['deletions'][_0x4cb08f]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4cb08f)||_0x25bce2(_0x4cb08f,!0x1),[])):_0x7d1f99['delete'](_0x4cb08f);}for(const _0xe53f4f of _0x7d1f99){const _0x35a869=_0x4b094b['insertions'][_0xe53f4f];for(const _0xa9dc59 of _0x35a869){const _0x475385=this['_getVidAttributeName'](_0xa9dc59),_0x28844d=_0xa9dc59['item']['getAttribute'](_0x475385);_0x324c15['delete'](_0x28844d),_0x28844d>=this['_startingRevisionId']&&_0x1db0e1['set'](_0x28844d,_0x10f192['get'](_0x28844d));}}for(const _0x1699ee of _0x7d1f99){const _0xc31164=_0x4b094b['insertions'][_0x1699ee],_0x278c1a=this['_getBaseVids'](_0x4b094b['deletions'][_0x1699ee]);let _0x236ac3=0x0;for(const _0xee89e of _0xc31164){const _0x485a65=this['_getVidAttributeName'](_0xee89e),_0x1478df=_0xee89e['item']['getAttribute'](_0x485a65);if(!_0x1db0e1['has'](_0x1478df)&&!_0x5550e1['has'](_0x1478df)){if(_0x324c15['has'](_0x1478df))_0x236ac3++;else{if(_0x1478df!=_0x278c1a[_0x236ac3]){const _0x1fcae7=_0x10f192['get'](_0x1478df)||_0x10f192['get'](_0x278c1a[_0x236ac3]);for(;_0x1478df!=_0x278c1a[_0x236ac3];)_0x324c15['has'](_0x278c1a[_0x236ac3])||(_0x5550e1['set'](_0x278c1a[_0x236ac3],_0x1fcae7),_0x10f192['set'](_0x278c1a[_0x236ac3],_0x1fcae7)),_0x236ac3++;}_0x236ac3++;}}}}for(const _0x30d0f4 of _0x7d1f99){const _0x502b2a=_0x4b094b['insertions'][_0x30d0f4];for(const _0x3dfe18 of _0x502b2a){const _0x258175=this['_getVidAttributeName'](_0x3dfe18),_0xea1fca=_0x3dfe18['item']['getAttribute'](_0x258175);if(_0x5550e1['has'](_0xea1fca)){const _0x449ae2=_0x5550e1['get'](_0xea1fca);_0x324c15['has'](_0xea1fca)||_0x324c15['set'](_0xea1fca,{..._0x449ae2}),_0x1db0e1['set'](_0xea1fca,{..._0x449ae2});}}}for(const _0x1478c2 of _0x324c15['keys']())_0x1478c2>=this['_startingRevisionId']&&_0x324c15['delete'](_0x1478c2);const _0x3f39a0=new Map();for(const _0x455273 of _0x7d1f99){let _0x2a3928=_0x4b094b['insertions'][_0x455273];for(const _0x2e2773 of _0x2a3928)if(_0x2e2773['item']['is']('element','tableCell')){const _0x24c928=this['_getVidAttributeName'](_0x2e2773),_0x4e2a14=_0x2e2773['item']['getAttribute'](_0x24c928);if(_0x1db0e1['has'](_0x4e2a14)){const _0x3118e2=_0x2e2773['item']['parent']['parent']['getAttribute']('vid_start'),_0x2e0feb=_0x3f39a0['get'](_0x3118e2)||new Set();_0x2e0feb['add'](_0x1db0e1['get'](_0x4e2a14)['userId']),_0x3f39a0['set'](_0x3118e2,_0x2e0feb);}}_0x2a3928=_0x4b094b['deletions'][_0x455273];for(const _0x51a8f1 of _0x2a3928)if(_0x51a8f1['item']['is']('element','tableCell')){const _0x19bbbd=this['_getVidAttributeName'](_0x51a8f1),_0x2174f4=_0x51a8f1['item']['getAttribute'](_0x19bbbd);if(_0x324c15['has'](_0x2174f4)){const _0x4d4aff=_0x51a8f1['item']['parent']['parent']['getAttribute']('vid_start'),_0x365246=_0x3f39a0['get'](_0x4d4aff)||new Set();_0x365246['add'](_0x324c15['get'](_0x2174f4)['userId']),_0x3f39a0['set'](_0x4d4aff,_0x365246);}}for(const _0x549069 of _0x3f39a0['keys']())(_0x1db0e1['has'](_0x549069)||_0x324c15['has'](_0x549069))&&_0x3f39a0['delete'](_0x549069);}for(const _0x941070 of _0x7d1f99){const _0x1fb078=_0x4b094b['insertions'][_0x941070];let _0x1d18ec=null,_0x1fe031=null;for(const _0x2dd2cb of _0x1fb078){const _0x626477=this['_getVidAttributeName'](_0x2dd2cb),_0x210067=_0x2dd2cb['item']['getAttribute'](_0x626477),_0x52c489=_0x3f39a0['get'](_0x210067);_0x52c489&&'elementStart'==_0x2dd2cb['type']&&(_0x1d18ec=Array['from'](_0x52c489)[0x0],_0x1fe031=_0x2dd2cb['item']['getAttribute']('vid_end')),_0x1d18ec&&(_0x324c15['set'](_0x210067,{'userId':_0x1d18ec}),_0x1db0e1['set'](_0x210067,{'userId':_0x1d18ec})),_0x210067==_0x1fe031&&(_0x1d18ec=null,_0x1fe031=null);}}const _0xe47362={},_0x21c4f8=new Set();for(const _0x17c33c of _0x7d1f99){const _0x3d7348=_0x3c8438['deletions'][_0x17c33c],_0x5ada64=_0x3c8438['insertions'][_0x17c33c];for(const {userId:_0x4be6f8}of this['_touchedMarkers']['values']())null!==_0x4be6f8&&_0x21c4f8['add'](_0x4be6f8);for(const {userId:_0x14760c}of this['_touchedRoots']['values']())null!==_0x14760c&&_0x21c4f8['add'](_0x14760c);this['_markChanges'](_0x5ada64,_0x4b094b['insertions'][_0x17c33c],_0x1db0e1,'insertion',_0x21c4f8),this['_markChanges'](_0x3d7348,_0x4b094b['deletions'][_0x17c33c],_0x324c15,'deletion',_0x21c4f8),_0xe47362[_0x17c33c]={'insertions':this['_prepareViewToSave'](_0x5ada64),'deletions':this['_prepareViewToSave'](_0x3d7348),'attachChange':this['_touchedRoots']['get'](_0x17c33c)||null,'attributesBefore':_0xeda1dc(this['_baseRootsAttributes']['get'](_0x17c33c))||{},'attributesAfter':_0xeda1dc(this['_diffRootsAttributes']['get'](_0x17c33c))};}return{'diffData':_0xe47362,'authorsIds':Array['from'](_0x21c4f8)};}['_processRootBeforeSave'](_0x2096e6){for(const [,_0x130562]of _0x2096e6['markers']){const _0x44a359=_0x130562['start']['getAncestors']()['filter'](_0xf62445=>'tableCell'==_0xf62445['name']);for(const _0x1a3f3a of _0x44a359)0x1==_0x1a3f3a['childCount']&&_0x1a3f3a['getChild'](0x0)['is']('element','paragraph')&&_0x1a3f3a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1da66a){this['_processRootBeforeSave'](_0x1da66a);const _0x345e3b=this['editor']['data']['toView'](_0x1da66a,{}),_0x5ec375=Array['from'](_0x345e3b['getChildren']())['map'](_0x55975d=>this['_getViewJson'](_0x55975d));return JSON['stringify'](_0x5ec375);}['_getViewJson'](_0x13dcee){if(_0x13dcee['is']('$text'))return _0x13dcee['data'];{const _0x58a01d=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x37611f=_0x13dcee,_0x2a350d=this['editor']['data']['htmlProcessor']['domConverter'],_0x53a13e={'type':_0x58a01d['_getTypeCharForViewElement'](_0x37611f),'name':_0x37611f['name'],'attributes':Array['from'](_0x37611f['getAttributes']()),'children':Array['from'](_0x37611f['getChildren']())['map'](_0x3501c5=>this['_getViewJson'](_0x3501c5))};if(_0x13dcee['is']('uiElement')&&'$comment'!=_0x13dcee['name']){const _0x30e090=_0x13dcee['render'](_0x2a350d['domDocument'],_0x2a350d);_0x53a13e['children']['push'](_0x30e090['outerHTML']);}else{if(_0x13dcee['is']('rawElement')){const _0x5ec4f5=_0x2a350d['domDocument']['createElement'](_0x37611f['name']);_0x13dcee['render'](_0x5ec4f5,_0x2a350d),_0x53a13e['children']['push'](_0x5ec4f5['innerHTML']);}}const _0x2c1bb3=Array['from'](_0x37611f['getCustomProperties']());_0x2c1bb3['length']>0x0&&(_0x53a13e['customProperties']=_0x2c1bb3);const _0x54f023=_0x37611f['getFillerOffset']();return null!==_0x54f023&&(_0x53a13e['fillerOffset']=_0x54f023),_0x53a13e;}}['_markChanges'](_0xe7ea7a,_0x4fff79,_0x3a5209,_0x27e0ed,_0x2ae35c){let _0x6cc708=null,_0x1e6d02=null,_0x59e7c7=0x0;const _0x36f90f=this['editor']['model'];for(let _0x35c01a=0x0;_0x35c01a<_0x4fff79['length'];_0x35c01a++){const _0x1172ae=this['_getVidAttributeName'](_0x4fff79[_0x35c01a]),_0x38083e=_0x4fff79[_0x35c01a]['item']['getAttribute'](_0x1172ae),_0x385be2=_0x3a5209['get'](_0x38083e),_0x239086=_0x35c01a==_0x4fff79['length']-0x1;(!_0x6cc708&&_0x385be2&&(_0x6cc708=_0x385be2,_0x1e6d02=_0x4fff79[_0x35c01a]),_0x6cc708&&(!_0x385be2||_0x385be2['userId']!=_0x6cc708['userId']))&&(_0x5b278f(_0x385be2,_0x4c94b4(_0x1e6d02,_0xe7ea7a,_0x36f90f),_0x4c94b4(_0x4fff79[_0x35c01a],_0xe7ea7a,_0x36f90f)),_0x6cc708=_0x385be2||null,_0x1e6d02=_0x385be2?_0x4fff79[_0x35c01a]:null),_0x6cc708&&_0x239086&&_0x5b278f(_0x385be2,_0x4c94b4(_0x1e6d02,_0xe7ea7a,_0x36f90f),_0xc50402(_0x4fff79[_0x35c01a],_0xe7ea7a,_0x36f90f));}function _0x5b278f(_0x3dceb9,_0x4b80d7,_0x35916e){const _0x5bdfd3=_0x6cc708['userId'],_0x1987c2='revision:'+_0x27e0ed+':'+_0x5bdfd3+':'+_0x59e7c7++,_0x3931f3=_0x36f90f['createRange'](_0x4b80d7,_0x35916e);_0xe7ea7a['markers']['set'](_0x1987c2,_0x3931f3),null!==_0x5bdfd3&&_0x2ae35c['add'](_0x5bdfd3);}}['_getVidAttributeName'](_0x499bf4){switch(_0x499bf4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x26e4ae,_0xdcb541){_0x26e4ae['baseVersion']=null;for(const _0x4c0d8a in _0x26e4ae){const _0x3046c9=_0x26e4ae[_0x4c0d8a];if(_0x3046c9 instanceof _0x31c75c['ModelPosition']){const _0x4d8f73=_0xdcb541['get'](_0x3046c9['root']['rootName']);_0x26e4ae[_0x4c0d8a]=this['_fixPosition'](_0x3046c9,_0x4d8f73);}if(_0x3046c9 instanceof _0x31c75c['ModelRange']){const _0xdc39a2=_0xdcb541['get'](_0x3046c9['root']['rootName']);_0x26e4ae[_0x4c0d8a]=this['_fixRange'](_0x3046c9,_0xdc39a2);}'root'===_0x4c0d8a&&(_0x26e4ae['root']=_0xdcb541['get'](_0x26e4ae['root']['rootName']));}}['_fixRange'](_0x8ced71,_0x2afcc7){return this['editor']['model']['createRange'](this['_fixPosition'](_0x8ced71['start'],_0x2afcc7),this['_fixPosition'](_0x8ced71['end'],_0x2afcc7));}['_fixPosition'](_0xe498ab,_0x1adc1f){return this['editor']['model']['createPositionFromPath'](_0x1adc1f,_0xe498ab['path'],_0xe498ab['stickiness']);}['_handleInsertOperation'](_0x3dfc55){const _0x1f0f9e=this['_idsRoots']['get'](_0x3dfc55['position']['root']['rootName']),_0x31ddfd=this['_fixPosition'](_0x3dfc55['position'],_0x1f0f9e),_0x2208cb=null===_0x3dfc55['_authorId']?null:_0x3dfc55['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x7a40b7=_0x31ddfd['parent'],_0x28651a=this['_revisionId'],_0x528a1e=[];for(const _0x1d9281 of _0x3dfc55['nodes'])if(_0x1d9281['is']('element'))_0x528a1e['push'](this['_makeIdsRoot'](_0x1d9281));else{for(let _0x20c65d=0x0;_0x20c65d<_0x1d9281['offsetSize'];_0x20c65d++)_0x528a1e['push'](new _0x31c75c['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x4cca57=this['_revisionId'];for(let _0x28b882=_0x28651a;_0x28b882<_0x4cca57;_0x28b882++)this['_touched']['set'](_0x28b882,{'userId':_0x2208cb});_0x7a40b7['_insertChild'](_0x31ddfd['offset'],_0x528a1e);}['_handleMoveOperation'](_0x4d40f0){(_0x4d40f0=this['_cloneOperation'](_0x4d40f0,this['_idsRoots']))['_execute']();const _0x91c5c0=null===_0x4d40f0['_authorId']?null:_0x4d40f0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x407c48=_0x4d40f0['getMovedRangeStart'](),_0x4379e8=_0x407c48['parent'],_0x1571c2=_0x407c48['offset'];!function _0x5633af(_0xde5e47,_0x177eca,_0x49df72,_0x4b3066){for(let _0xc818e6=_0x49df72;_0xc818e6<_0x4b3066;_0xc818e6++){const _0xb6d820=_0x177eca['getChild'](_0xc818e6);_0xb6d820['is']('element','$text')?_0xde5e47['set'](_0xb6d820['getAttribute']('vid'),{'userId':_0x91c5c0}):(_0xde5e47['set'](_0xb6d820['getAttribute']('vid_start'),{'userId':_0x91c5c0}),_0x5633af(_0xde5e47,_0xb6d820,0x0,_0xb6d820['childCount']),_0xde5e47['set'](_0xb6d820['getAttribute']('vid_end'),{'userId':_0x91c5c0}));}}(this['_touched'],_0x4379e8,_0x1571c2,_0x1571c2+_0x4d40f0['howMany']);}['_handleMergeOperation'](_0x24aeb7){const _0x435978=null===(_0x24aeb7=this['_cloneOperation'](_0x24aeb7,this['_idsRoots']))['_authorId']?null:_0x24aeb7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x266ada=_0x24aeb7['targetPosition']['parent'],_0x3da69d=_0x24aeb7['sourcePosition']['parent'],_0x203b64=_0x266ada['getAttribute']('vid_end'),_0x1c375c=_0x3da69d['getAttribute']('vid_start');_0x266ada['_setAttribute']('vid_end',_0x3da69d['getAttribute']('vid_end')),_0x3da69d['_setAttribute']('vid_end',_0x203b64),this['_touched']['set'](_0x1c375c,{'userId':_0x435978}),this['_touched']['set'](_0x203b64,{'userId':_0x435978}),_0x24aeb7['_execute']();}['_handleSplitOperation'](_0x3fa044){const _0x35a0b7=null===(_0x3fa044=this['_cloneOperation'](_0x3fa044,this['_idsRoots']))['_authorId']?null:_0x3fa044['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x424e43=_0x3fa044['graveyardPosition'],_0x4a7396=_0x3fa044['splitPosition']['parent'];_0x3fa044['_execute']();const _0x57815d=_0x4a7396['getAttribute']('vid_end'),_0x5316d=_0x3fa044['insertionPosition']['nodeAfter'];if(_0x424e43){const _0x113d9e=_0x5316d['getAttribute']('vid_end'),_0x172463=_0x4a7396['getAttribute']('vid_end');_0x4a7396['_setAttribute']('vid_end',_0x113d9e),_0x5316d['_setAttribute']('vid_end',_0x172463),this['_touched']['set'](_0x4a7396['getAttribute']('vid_end'),{'userId':_0x35a0b7}),this['_touched']['set'](_0x5316d['getAttribute']('vid_start'),{'userId':_0x35a0b7});}else{const _0x3e4ab8=this['_revisionId']++,_0x59755f=this['_revisionId']++;_0x4a7396['_setAttribute']('vid_end',_0x3e4ab8),_0x5316d['_setAttribute']('vid_start',_0x59755f),_0x5316d['_setAttribute']('vid_end',_0x57815d),this['_touched']['set'](_0x3e4ab8,{'userId':_0x35a0b7}),this['_touched']['set'](_0x59755f,{'userId':_0x35a0b7});}}['_handleMarkerOperation'](_0x1cbaab){if(!_0x1cbaab['affectsData'])return;const _0x27f68b=(_0x1cbaab=this['_cloneOperation'](_0x1cbaab,this['_diffRoots']))['oldRange']?_0x1cbaab['oldRange']['root']:null,_0x249d64=_0x1cbaab['newRange']?_0x1cbaab['newRange']['root']:null;_0x27f68b&&this['_markers']['delete'](_0x1cbaab['name']),_0x249d64&&this['_markers']['set'](_0x1cbaab['name'],_0x1cbaab['newRange']['clone']());const _0x4215f4=null===_0x1cbaab['_authorId']?null:_0x1cbaab['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5edbaf=_0x1cbaab['name'];if(!this['_touchedMarkers']['has'](_0x5edbaf))return void this['_touchedMarkers']['set'](_0x5edbaf,{'range':_0x1cbaab['oldRange'],'userId':_0x4215f4});const _0x2b8793=this['_touchedMarkers']['get'](_0x5edbaf),_0x1197cd=_0x2b8793['range'],_0x20fb02=_0x1cbaab['newRange'];null==_0x1197cd&&null==_0x20fb02||_0x1197cd&&_0x20fb02&&_0x1197cd['isEqual'](_0x20fb02)?this['_touchedMarkers']['delete'](_0x1cbaab['name']):_0x2b8793['userId']=_0x4215f4;}['_handleRootOperation'](_0x4ece08,_0x377cff){this['_diffRoots']['has'](_0x4ece08['rootName'])?this['_diffRoots']['get'](_0x4ece08['rootName'])['_isAttached']=_0x4ece08['isAdd']:(this['_diffRoots']['set'](_0x4ece08['rootName'],_0x25bce2(_0x4ece08['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4ece08['rootName'],{}),_0x377cff&&this['_idsRoots']['set'](_0x4ece08['rootName'],_0x25bce2(_0x4ece08['rootName'],!0x0)));const _0x56eeed=null===_0x4ece08['_authorId']?null:_0x4ece08['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4740e9=this['_touchedRoots']['get'](_0x4ece08['rootName']);_0x4740e9&&_0x4740e9['userId']===_0x56eeed?this['_touchedRoots']['delete'](_0x4ece08['rootName']):this['_touchedRoots']['set'](_0x4ece08['rootName'],{'userId':_0x56eeed,'isAttached':_0x4ece08['isAdd']});}['_handleRootAttributeOperation'](_0x297144){const _0x44a0d6=this['_diffRootsAttributes']['get'](_0x297144['root']['rootName']);null===_0x297144['newValue']?delete _0x44a0d6[_0x297144['key']]:_0x44a0d6[_0x297144['key']]=_0x297144['newValue'];}}function _0x2dfef8(_0x52d76f){const _0xba983d=_0x25bce2(_0x52d76f['rootName'],_0x52d76f['isAttached']());for(const _0x133a7a of _0x52d76f['getChildren']()){const _0x4e1a6b=_0x133a7a['_clone'](!0x0);_0xba983d['_appendChild'](_0x4e1a6b);}return _0xba983d;}function _0x25bce2(_0xe789f9,_0x2ee198=!0x0){const _0x1dcf95=new _0x31c75c['ModelDocumentFragment']();return _0x1dcf95['rootName']=_0xe789f9,_0x1dcf95['_isAttached']=_0x2ee198,_0x1dcf95['isAttached']=()=>_0x1dcf95['_isAttached'],_0x1dcf95;}function _0x4c94b4(_0x9db26b,_0x1af0bd,_0x12052b){const _0x31a267='elementEnd'==_0x9db26b['type']?_0x12052b['createPositionAt'](_0x9db26b['item'],'end'):_0x12052b['createPositionBefore'](_0x9db26b['item']);return _0x12052b['createPositionFromPath'](_0x1af0bd,_0x31a267['path'],_0x31a267['stickiness']);}function _0xc50402(_0x588f63,_0x3a0e60,_0x126778){const _0x557382='elementStart'==_0x588f63['type']?_0x126778['createPositionAt'](_0x588f63['item'],0x0):_0x126778['createPositionAfter'](_0x588f63['item']);return _0x126778['createPositionFromPath'](_0x3a0e60,_0x557382['path'],_0x557382['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
_0x31c75c['CssTransitionDisablerMixin'](_0x31c75c['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x277fc3,_0x57d9ca){super(_0x277fc3),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x57d9ca),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),this['initializeCssTransitionDisablerMixin']();}['render'](){super['render'](),_0x31c75c['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5dce12=_0x150253=>_0x150253['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5dce12),this['keystrokes']['set']('arrowleft',_0x5dce12),this['keystrokes']['set']('arrowup',_0x5dce12),this['keystrokes']['set']('arrowdown',_0x5dce12);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x84305f){this['revisionNameInputView']['fieldView']['element']['value']=_0x84305f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x562c84){const _0x3db2a3=new _0x31c75c['LabeledFieldView'](this['locale'],_0x31c75c['createLabeledInputText']),_0x350a9f=_0x3db2a3['fieldView'];_0x350a9f['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xdb3ea1=_0x1e0723(this['locale'],'Name\x20of\x20the\x20revision');return!_0x562c84&&(_0xdb3ea1+='\x20('+_0x1e0723(this['locale'],'optional')+')'),(_0x3db2a3['label']=_0xdb3ea1,_0x350a9f['on']('input',()=>{this['revisionNameInputValue']=_0x350a9f['element']['value']['trim']();}),_0x3db2a3);}}class RevisionHistoryUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x707d6f];}['_saveRevisionFormView'];['init'](){const _0x1c56a7=this['editor'],_0x1278c3=_0x1c56a7['plugins']['get']('RevisionTracker');_0x1c56a7['ui']['componentFactory']['add']('revisionHistory',_0x562638=>{const _0x57b5fa=_0x31c75c['createDropdown'](_0x562638),_0x2ef7c3=_0x57b5fa['panelView']['children'],_0x56b6d4=new _0x31c75c['ListView'](_0x562638),_0x3eb5ff=new _0x31c75c['ListItemView'](_0x562638),_0xd23837=this['_createSaveRevisionButton'](_0x31c75c['ButtonView']),_0x492487=new _0x31c75c['ListItemView'](_0x562638),_0x437af4=this['_createOpenRevisionButton'](_0x31c75c['ButtonView']);return _0x57b5fa['bind']('isEnabled')['to'](_0x1278c3,'isReady',_0x1278c3,'isEnabled',_0x1c56a7,'isReadOnly',(_0x70e8b7,_0x53c015,_0xdb0187)=>_0x70e8b7&&_0x53c015&&!_0xdb0187),_0x57b5fa['buttonView']['set']({'icon':_0x31c75c['IconHistory'],'label':_0x1e0723(_0x562638,'Revision\x20history'),'tooltip':!0x0}),_0xd23837['set']({'withText':!0x0,'role':'menuitem'}),_0x437af4['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x437af4,'execute',()=>{_0x57b5fa['isOpen']=!0x1,_0x1c56a7['editing']['view']['focus']();},{'priority':'low'}),_0x3eb5ff['children']['add'](_0xd23837),_0x492487['children']['add'](_0x437af4),_0x56b6d4['role']='menu',_0x56b6d4['items']['addMany']([_0x3eb5ff,_0x492487]),_0x2ef7c3['add'](_0x56b6d4),_0x57b5fa;}),_0x1c56a7['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x41ed49=this['editor'],_0x14bfb7=_0x41ed49['locale'],_0x1bd573=_0x41ed49['plugins']['get']('RevisionTracker'),_0x446444=new _0x31c75c['MenuBarMenuView'](_0x14bfb7),_0x2b4088=new _0x31c75c['MenuBarMenuListView'](_0x14bfb7);_0x446444['bind']('isEnabled')['to'](_0x1bd573,'isReady',_0x1bd573,'isEnabled',_0x41ed49,'isReadOnly',(_0x4b1c44,_0x5807fa,_0x32e172)=>_0x4b1c44&&_0x5807fa&&!_0x32e172),_0x446444['buttonView']['set']({'icon':_0x31c75c['IconHistory'],'label':_0x1e0723(_0x14bfb7,'Revision\x20history')});const _0x1cc060=new _0x31c75c['MenuBarMenuListItemView'](_0x14bfb7,_0x446444),_0x66d875=this['_createSaveRevisionButton'](_0x31c75c['MenuBarMenuListItemButtonView']);_0x66d875['delegate']('execute')['to'](_0x446444),_0x1cc060['children']['add'](_0x66d875),_0x2b4088['items']['add'](_0x1cc060);const _0x343925=new _0x31c75c['MenuBarMenuListItemView'](_0x14bfb7,_0x446444),_0x31f714=this['_createOpenRevisionButton'](_0x31c75c['MenuBarMenuListItemButtonView']);return _0x31f714['delegate']('execute')['to'](_0x446444),_0x343925['children']['add'](_0x31f714),_0x2b4088['items']['add'](_0x343925),_0x446444['panelView']['children']['add'](_0x2b4088),_0x446444;}['_createSaveRevisionButton'](_0x50dfe5){const _0x3824db=this['editor'],_0x57198d=_0x3824db['plugins']['get']('RevisionTracker'),_0x21cf0e=new _0x50dfe5(_0x3824db['locale']);return _0x21cf0e['set']({'label':_0x1e0723(_0x3824db['locale'],'Save\x20current\x20revision')}),_0x21cf0e['bind']('isEnabled')['to'](_0x57198d,'isReady',_0x57198d,'isEnabled',_0x3824db,'isReadOnly',(_0x8c133f,_0x2cde7b,_0x35ec5e)=>_0x8c133f&&_0x2cde7b&&!_0x35ec5e),this['listenTo'](_0x21cf0e,'execute',()=>{this['_showDialog']();}),_0x21cf0e;}['_createOpenRevisionButton'](_0x4c3033){const _0x57c2c9=this['editor'],_0x55a2a9=_0x57c2c9['plugins']['get']('RevisionTracker'),_0x446ca2=new _0x4c3033(_0x57c2c9['locale']);return _0x446ca2['set']({'label':_0x1e0723(_0x57c2c9['locale'],'Open\x20revision\x20history')}),_0x446ca2['bind']('isEnabled')['to'](_0x55a2a9,'isReady',_0x57c2c9,'isReadOnly',(_0x55f40b,_0x98d56f)=>_0x55f40b&&!_0x98d56f),this['listenTo'](_0x446ca2,'execute',()=>{_0x57c2c9['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x446ca2;}['_showDialog'](){const _0x3b4bf5=this['editor'],_0x1774a0=_0x3b4bf5['locale'],_0x3606f7=_0x3b4bf5['plugins']['get']('Dialog'),_0x5814f4=_0x3b4bf5['plugins']['get']('RevisionTracker');function _0x43ef41(_0x478847){_0x3b4bf5['config']['get']('revisionHistory.requireRevisionName')&&''===_0x478847['revisionName']?_0x478847['revisionNameInputView']['errorText']=_0x1e0723(_0x1774a0,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x3b4bf5['plugins']['get'](_0x707d6f)['saveRevision']({'name':_0x478847['revisionName']}),_0x3606f7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x43ef41(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3606f7['show']({'id':'revisionSave','title':_0x1e0723(_0x1774a0,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':_0x1e0723(_0x3b4bf5['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3606f7['hide']()},{'label':_0x1e0723(_0x3b4bf5['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x204abc){_0x204abc['bind']('isEnabled')['to'](_0x5814f4,'isReady',_0x5814f4,'isEnabled',_0x3b4bf5,'isReadOnly',(_0x1fb838,_0x922e4d,_0x21064a)=>_0x1fb838&&_0x922e4d&&!_0x21064a);},'onExecute':()=>_0x43ef41(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3a144c=this['editor'],_0x2cfe1a=_0x3a144c['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x2cfe1a,_0x3a144c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0x31c75c['View']{['changeId'];['_model'];constructor(_0x304220,_0x2c68cc){super(_0x304220),this['_model']=_0x2c68cc,this['changeId']=_0x2c68cc['id'];const _0x3f27a1=this['bindTemplate'],_0x16fce2=_0x1e0723(_0x304220,_0x2c68cc['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2c68cc['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2c68cc['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3f27a1['to']('type',_0x64bdee=>'ck-revision-change__'+_0x64bdee)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x16fce2}]},{'text':'\x20'+_0x2c68cc['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xf55a36){super(),this['id']=_0xf55a36['id']||_0x31c75c['uid'](),this['author']=_0xf55a36['author'],this['type']=_0xf55a36['type'],this['data']=_0xf55a36['data']||{},this['rootName']=_0xf55a36['rootName'],this['set']('createdAt',_0xf55a36['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x483b3b{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x2a7a3e,_0x581847){this['newRevisionId']=_0x2a7a3e,this['oldRevisionId']=_0x581847,this['changes']=new _0x31c75c['Collection']();}['_setChanges'](_0x296f1e){for(const _0x51a74b of _0x296f1e)this['changes']['add'](_0x51a74b);}}class _0x235b39 extends _0x31c75c['Plugin']{['repository'];['adapter']=null;['_utils'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1eec90,_0x31c75c['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0xbb200d){super(_0xbb200d),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x372f23,_0x67615e,_0x3175d1)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0xb86e98=>{for(const _0x1c58ae of this['editor']['editing']['view']['document']['roots'])_0x3175d1?_0xb86e98['removeClass']('ck-editor__editable__overlay',_0x1c58ae):_0xb86e98['addClass']('ck-editor__editable__overlay',_0x1c58ae);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x16885f=>null!==_0x16885f),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x383998,_0x5cc652,_0x10e99f)=>_0x383998&&_0x10e99f?_0x5cc652['changes']['getIndex'](_0x10e99f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x322202,_0x23afa2)=>_0x322202?_0x23afa2['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0x31c75c['ContextualBalloon']);}['init'](){const _0x49ce70=this['editor'],_0x3489f9=new _0x559a4f(_0x49ce70,{'direction':'backward'}),_0x235990=new _0x559a4f(_0x49ce70,{'direction':'forward'});(_0x49ce70['commands']['add']('showPreviousChange',_0x3489f9),_0x49ce70['commands']['add']('showNextChange',_0x235990),_0x49ce70['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x49ce70)),this['on']('change:numberOfChanges',()=>{_0x3489f9['refresh'](),_0x235990['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x49ce70['enableReadOnlyMode']('revision-viewer'),_0x49ce70['plugins']['has']('WidgetToolbarRepository'))&&_0x49ce70['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x196290){return await this['_utils']['loadRevisionData'](_0x196290,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x196290);}async['getRevisionRootsAttributes'](_0x3571f7){return await this['_utils']['loadRevisionData'](_0x3571f7,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x3571f7);}async['compare'](_0x10f8c0,_0x467813,_0xbd5c6f=!0x1){if(!this['isEnabled'])return;const _0x430b6f=this['diff'],_0x721d22=this['repository'],_0x5974d8='string'==typeof _0x10f8c0?_0x721d22['getRevision'](_0x10f8c0):_0x10f8c0,_0x425bbe='string'==typeof _0x467813?_0x721d22['getRevision'](_0x467813):_0x467813,_0x5628f8=_0x5974d8['id'],_0x1f54ad=_0x425bbe?_0x425bbe['id']:null;if(!_0xbd5c6f&&this['diff']&&this['diff']['newRevisionId']===_0x5628f8&&this['diff']['oldRevisionId']===_0x1f54ad)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x483b3b(_0x5628f8,_0x1f54ad);const _0x3bfaf5=this['_getRevisionsRange'](_0x5974d8,_0x425bbe,!0x0)['map'](_0x171b81=>this['_utils']['loadRevisionData'](_0x171b81,this['adapter']));return _0x3bfaf5['push'](new Promise(_0x8e3e89=>{setTimeout(_0x8e3e89,0x14);})),Promise['all'](_0x3bfaf5)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3b3116=this['_getDiff'](_0x5628f8,_0x1f54ad);for(const _0x2a7c00 of _0x3b3116['changes'])this['_changeIdToChange']['set'](_0x2a7c00['id'],_0x2a7c00);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2c586f=>{for(const _0x2aa584 of this['editor']['model']['document']['getRootNames']())_0x2c586f['detachRoot'](_0x2aa584);for(const _0x3d7fab of Object['keys'](_0x3b3116['model'])){const _0x11feae=_0x2c586f['addRoot'](_0x3d7fab);for(const _0x44ff28 of Object['keys'](_0x3b3116['attributes'][_0x3d7fab]))_0x2c586f['setAttribute'](_0x44ff28,_0x3b3116['attributes'][_0x3d7fab][_0x44ff28],_0x11feae);_0x2c586f['insert'](_0x3b3116['model'][_0x3d7fab],_0x11feae,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3b3116['changes'])),this['isReady']=!0x0;})['catch'](_0x4c4025=>{console['error'](_0x4c4025),this['_cleanUp'](),_0x430b6f&&(this['diff']=_0x430b6f),this['isReady']=!0x0;});}['addRevisionData'](_0x4b8486,_0x360eef){const _0x20c303=this['repository']['createRevision'](_0x4b8486);return _0x20c303['on']('_update',(_0x460464,_0x58b212,_0x5ef23a)=>_0x360eef(_0x58b212,_0x5ef23a,_0x20c303)),this['repository']['addRevision'](_0x20c303),_0x20c303;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4f59d8=>{for(const _0x4bf177 of this['editor']['model']['document']['getRootNames']())_0x4f59d8['detachRoot'](_0x4bf177);});}['_sortAndFilterDiffChanges'](_0x4bb7f2){const _0x500d26=[],_0x4fc550=new Map();for(const _0x2e64db of this['editor']['model']['document']['getRootNames']()){const _0x5210e6=this['editor']['editing']['view']['getDomRoot'](_0x2e64db);if(!_0x5210e6)continue;const _0x585c16=_0x5210e6['getClientRects']()['item'](0x0);_0x585c16&&(_0x500d26['push'](_0x2e64db),_0x4fc550['set'](_0x2e64db,_0x585c16));}return _0x500d26['sort']((_0x3f3dbb,_0x3bddbc)=>{const _0x234a61=_0x4fc550['get'](_0x3f3dbb),_0x4e5aa2=_0x4fc550['get'](_0x3bddbc);return _0x234a61['y']-_0x4e5aa2['y']||_0x234a61['x']-_0x4e5aa2['x'];}),(_0x4bb7f2=_0x4bb7f2['filter'](_0x2855a8=>_0x500d26['includes'](_0x2855a8['rootName'])))['sort']((_0x521830,_0x3cdcfb)=>_0x500d26['indexOf'](_0x521830['rootName'])-_0x500d26['indexOf'](_0x3cdcfb['rootName'])),_0x4bb7f2;}['_makeTape'](_0x33f909){const _0xef227=Array['from'](_0x33f909['markers'])['filter'](([_0x179c18,_0x583b04])=>_0x179c18['startsWith']('revision:')&&!_0x583b04['isCollapsed']),_0x1ea2fb=Array['from'](this['editor']['model']['createRangeIn'](_0x33f909)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xef227['length'])for(const _0x46bb40 of _0x1ea2fb){const [_0x39db91,_0x3300f4]=_0xef227[0x0],[,_0x253431,_0x3f8a5c]=_0x39db91['split'](':');if(_0x3300f4['end']['isEqual'](_0x46bb40['nextPosition'])&&_0xef227['shift'](),(_0x46bb40['previousPosition']['isEqual'](_0x3300f4['start'])||_0x46bb40['previousPosition']['isAfter'](_0x3300f4['start']))&&('insertion'==_0x253431?_0x46bb40['isAdded']={'userId':_0x3f8a5c}:'deletion'==_0x253431&&(_0x46bb40['isRemoved']={'userId':_0x3f8a5c})),0x0==_0xef227['length'])break;}return _0x1ea2fb;}['_refreshStartEndIndex'](_0x3387d0){const _0x541b3b=new Map();for(let _0x28a5cc=0x0;_0x28a5cc<_0x3387d0['length'];_0x28a5cc++)'text'===_0x3387d0[_0x28a5cc]['type']?(_0x3387d0[_0x28a5cc]['item']['startIndex']=_0x28a5cc,_0x3387d0[_0x28a5cc]['item']['endIndex']=_0x28a5cc):('elementStart'===_0x3387d0[_0x28a5cc]['type']?_0x3387d0[_0x28a5cc]['item']['startIndex']=_0x28a5cc:'elementEnd'===_0x3387d0[_0x28a5cc]['type']&&(_0x3387d0[_0x28a5cc]['item']['endIndex']=_0x28a5cc),_0x541b3b['set'](_0x3387d0[_0x28a5cc]['id'],_0x28a5cc));for(const _0x378ad0 of _0x541b3b['values']())'elementStart'===_0x3387d0[_0x378ad0]['type']?_0x3387d0[_0x378ad0]['item']['endIndex']=_0x541b3b['get'](_0x3387d0[_0x378ad0]['pairId']):'elementEnd'===_0x3387d0[_0x378ad0]['type']&&(_0x3387d0[_0x378ad0]['item']['startIndex']=_0x541b3b['get'](_0x3387d0[_0x378ad0]['pairId']));}['_processTape'](_0x42b9c9){for(let _0x283ff5=0x0;_0x283ff5<_0x42b9c9['length'];_0x283ff5++){if('elementStart'===_0x42b9c9[_0x283ff5]['type'])_0x42b9c9[_0x283ff5]['item']['startIndex']=_0x283ff5;else{if('elementEnd'===_0x42b9c9[_0x283ff5]['type']){_0x42b9c9[_0x283ff5]['item']['endIndex']=_0x283ff5;const _0x31ad90=_0x42b9c9[_0x283ff5]['item']['startIndex'];_0x42b9c9[_0x31ad90]['pairId']=_0x42b9c9[_0x283ff5]['id'],_0x42b9c9[_0x283ff5]['pairId']=_0x42b9c9[_0x31ad90]['id'];}else _0x42b9c9[_0x283ff5]['item']['startIndex']=_0x283ff5,_0x42b9c9[_0x283ff5]['item']['endIndex']=_0x283ff5,_0x42b9c9[_0x283ff5]['pairId']=null;}_0x42b9c9[_0x283ff5]['markersStart']||(_0x42b9c9[_0x283ff5]['markersStart']=[],_0x42b9c9[_0x283ff5]['markersEnd']=[]);}}['_markInsertions'](_0xb1ccd9,_0x1c156f){const _0x179099=_0xb1ccd9['filter'](_0x446986=>!_0x446986['isAdded']);for(let _0x2c87d8=0x0;_0x2c87d8<_0x1c156f['length'];_0x2c87d8++)_0x1c156f[_0x2c87d8]['isAdded']&&(_0x179099[_0x2c87d8]['isAdded']=_0x1c156f[_0x2c87d8]['isAdded']);}['_getDiff'](_0x16ee8d,_0x584e39=null){const _0x1b973b=this['repository']['getRevision'](_0x16ee8d),_0x38d944=_0x584e39?this['repository']['getRevision'](_0x584e39):null,_0x4c08bb=this['_getRevisionsRange'](_0x1b973b,_0x38d944),_0x4a0955=_0x4c08bb[_0x4c08bb['length']-0x1],_0x1bf41a=new Map(),_0x36ab76={'model':{},'attributes':{},'changes':[]},_0x2d178f=new Set(),_0x5a6994=new Map();for(let _0x215483=_0x4c08bb['length']-0x1;_0x215483>=0x0;_0x215483--){const _0x78fd5b=_0x4c08bb[_0x215483];for(const _0x428ee4 of Object['keys'](_0x78fd5b['diffData']))if(_0x78fd5b['diffData'][_0x428ee4]['attachChange']){const _0x499a09=_0x78fd5b['diffData'][_0x428ee4]['attachChange'];_0x499a09['isAttached']?(_0x2d178f['add'](_0x428ee4),_0x5a6994['has'](_0x428ee4)&&_0x5a6994['get'](_0x428ee4)['userId']==_0x499a09['userId']?_0x5a6994['delete'](_0x428ee4):_0x5a6994['set'](_0x428ee4,_0x499a09)):_0x5a6994['has'](_0x428ee4)?(_0x2d178f['delete'](_0x428ee4),_0x5a6994['delete'](_0x428ee4)):(_0x2d178f['add'](_0x428ee4),_0x5a6994['set'](_0x428ee4,_0x499a09));}else _0x2d178f['add'](_0x428ee4);}for(const _0x4a7606 of _0x2d178f){const _0x505842=_0x5a6994['has'](_0x4a7606)&&!_0x5a6994['get'](_0x4a7606)['isAttached'];let _0x502256=_0x505842?_0x4c08bb['length']-0x1:0x0;const _0xea4bc0=_0x505842?-0x1:0x1;for(;_0x4c08bb[_0x502256];){const _0x466655=_0x4c08bb[_0x502256];if(_0x466655['diffData'][_0x4a7606]){const _0x35ed94=_0x505842?_0x466655['diffData'][_0x4a7606]['attributesBefore']:_0x466655['diffData'][_0x4a7606]['attributesAfter'];_0x36ab76['attributes'][_0x4a7606]=_0x35ed94?_0xeda1dc(_0x35ed94):{};break;}_0x502256+=_0xea4bc0;}}for(const _0x5a194c of _0x4c08bb){_0x5a194c['model']={};for(const _0x5b48f4 of _0x5a194c['authors'])_0x1bf41a['set'](_0x5b48f4['id'],_0x5b48f4);for(const _0x1a2e01 of _0x2d178f){const _0x3cdac6=_0x5a194c['diffData'][_0x1a2e01]?_0x5a194c['diffData'][_0x1a2e01]['insertions']:'[]',_0x5862aa=_0x5a194c['diffData'][_0x1a2e01]?_0x5a194c['diffData'][_0x1a2e01]['deletions']:'[]';_0x5a194c['model'][_0x1a2e01]={'insertions':this['_utils']['_makeModelFromViewString'](_0x3cdac6),'deletions':this['_utils']['_makeModelFromViewString'](_0x5862aa)};}}for(const _0x3f9b9e of _0x2d178f){let _0x205a8b=null,_0x1386c0=0x0;const _0x5e65e1=new Map(Array['from'](_0x1b973b['model'][_0x3f9b9e]['insertions']['markers'])['filter'](([_0x419d9d])=>!_0x419d9d['startsWith']('revision:')));let _0x3577d7=0x0;for(const _0x19a35d of _0x4c08bb){const _0x338d14=this['_makeTape'](_0x19a35d['model'][_0x3f9b9e]['insertions']);_0x19a35d==_0x1b973b?(_0x205a8b=_0x338d14,_0x1386c0=_0x205a8b['length'],_0x205a8b['forEach'](_0x44f13f=>{_0x44f13f['id']=_0x3577d7++;}),this['_processTape'](_0x205a8b)):this['_markInsertions'](_0x205a8b,_0x338d14);const _0xab373a=_0x205a8b['filter'](_0x313f2c=>!_0x313f2c['isAdded'])['map'](_0x1f97b4=>_0x1f97b4['id']);let _0x526cb9=0x0;const _0x19eafb=this['_makeTape'](_0x19a35d['model'][_0x3f9b9e]['deletions']);_0x19eafb['forEach'](_0x56221e=>{_0x56221e['isRemoved']?_0x56221e['id']=_0x1386c0++:_0x56221e['id']=_0xab373a[_0x526cb9++];}),this['_processTape'](_0x19eafb),this['_setDistance'](_0x205a8b,'isAdded'),this['_setDistance'](_0x19eafb,'isRemoved'),_0x19a35d==_0x1b973b&&this['_markMarkers'](_0x205a8b,_0x5e65e1),_0x205a8b=this['_joinTapes'](_0x205a8b,_0x19eafb),this['_refreshStartEndIndex'](_0x205a8b),this['_setDistance'](_0x205a8b,'isRemoved');}_0x205a8b=_0x205a8b['filter'](_0x1b9896=>!(_0x1b9896['isAdded']&&_0x1b9896['isRemoved']));const _0x185e1c=new Map(_0x4a0955['model'][_0x3f9b9e]['deletions']['markers']),_0x1fe084=new Set(_0x5e65e1['keys']());for(const _0x17b2d2 of _0x185e1c['keys']())_0x1fe084['delete'](_0x17b2d2);this['_markSuggestions'](_0x205a8b,_0x1fe084),this['_fixObsoleteTags'](_0x205a8b),_0x205a8b=this['_removeMissingPairs'](_0x205a8b),_0x205a8b=this['_markMismatchedRemovedTags'](_0x205a8b),_0x205a8b=this['_removeUnsupportedChanges'](_0x205a8b);const {root:_0x41e56a,changes:_0x3d9bdd}=this['_makeModelFromTape'](_0x205a8b,_0x1bf41a,_0x3f9b9e);_0x36ab76['model'][_0x3f9b9e]=_0x41e56a;const _0x90f7ea=_0x5a6994['get'](_0x3f9b9e);if(_0x90f7ea){const _0x592c95=_0x1bf41a['get'](_0x90f7ea['userId']),_0x241675=new ChangeItem({'author':_0x592c95,'type':_0x90f7ea['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3f9b9e});_0x3d9bdd['unshift'](_0x241675),_0x36ab76['attributes'][_0x3f9b9e]['revisionHistoryAttachChange']=_0x241675['id'];}_0x36ab76['changes']=_0x36ab76['changes']['concat'](_0x3d9bdd);}return _0x36ab76;}['_markMarkers'](_0x72ce6e,_0x3346f7){for(let _0x80f629=0x0;_0x80f629<_0x72ce6e['length'];_0x80f629++)for(const [_0x4b7d9c,_0x3c7e4f]of _0x3346f7)!_0x3c7e4f['isCollapsed']&&_0x3c7e4f['start']['isEqual'](_0x72ce6e[_0x80f629]['previousPosition'])&&_0x72ce6e[_0x80f629]['markersStart']['push'](_0x4b7d9c),_0x3c7e4f['end']['isEqual'](_0x72ce6e[_0x80f629]['nextPosition'])&&_0x72ce6e[_0x80f629]['markersEnd']['push'](_0x4b7d9c);}['_joinTapes'](_0x4e657b,_0x39457f){let _0x42839c=[],_0x5d83d4=0x0,_0x5b4f41=0x0;for(;_0x5d83d4<_0x4e657b['length']||_0x5b4f41<_0x39457f['length'];){const _0x4cac70=_0x4e657b[_0x5d83d4]||{},_0x3fccff=_0x39457f[_0x5b4f41]||{};if(_0x4cac70['id']==_0x3fccff['id'])_0x5d83d4++,_0x5b4f41++,_0x42839c['push'](_0x4cac70);else{if(_0x3fccff['isRemoved']&&_0x4cac70['isAdded']){const {commonTape:_0xf1b68d,iEnd:_0xf2d261,jEnd:_0x370cdb}=this['_threeWayMerge'](_0x4e657b,_0x5d83d4,_0x39457f,_0x5b4f41);_0x42839c=_0x42839c['concat'](_0xf1b68d),_0x5d83d4=_0xf2d261,_0x5b4f41=_0x370cdb;}else _0x3fccff['isRemoved']?(_0x5b4f41++,_0x42839c['push'](_0x3fccff)):(_0x5d83d4++,_0x42839c['push'](_0x4cac70));}}return _0x42839c;}['_markSuggestions'](_0x258fe6,_0x1dfe34){const _0x44ae90=[];for(let _0x2597b3=0x0;_0x2597b3<_0x258fe6['length'];_0x2597b3++){for(let _0x56849a=0x0;_0x56849a<_0x258fe6[_0x2597b3]['markersStart']['length'];_0x56849a++){const _0x450967=_0x258fe6[_0x2597b3]['markersStart'][_0x56849a];if(!_0x1dfe34['has'](_0x450967))continue;const {group:_0x14c70b,type:_0x2709e1,authorId:_0x6cc3a9}=_0x272a80(_0x450967);'revision-suggestion'!=_0x14c70b||'insertion'!=_0x2709e1&&'deletion'!=_0x2709e1||(_0x44ae90['unshift']({'type':_0x2709e1,'name':_0x450967,'userId':_0x6cc3a9}),_0x258fe6[_0x2597b3]['markersStart']['splice'](_0x56849a,0x1),_0x56849a--);}_0x540d13(_0x258fe6[_0x2597b3]);for(let _0x34bfef=0x0;_0x34bfef<_0x258fe6[_0x2597b3]['markersEnd']['length'];_0x34bfef++){const _0x266fb9=_0x258fe6[_0x2597b3]['markersEnd'][_0x34bfef];if(!_0x1dfe34['has'](_0x266fb9))continue;const {group:_0x5b100b,type:_0x1dddba}=_0x272a80(_0x266fb9);if('revision-suggestion'!=_0x5b100b||'insertion'!=_0x1dddba&&'deletion'!=_0x1dddba)continue;_0x258fe6[_0x2597b3]['markersEnd']['splice'](_0x34bfef,0x1),_0x34bfef--;const _0x226217=_0x44ae90['findIndex'](_0x5814d9=>_0x5814d9['name']==_0x266fb9);_0x226217>-0x1&&_0x44ae90['splice'](_0x226217,0x1);}}function _0x272a80(_0x46cb15){const _0x10a819=_0x46cb15['split'](':');return{'group':_0x10a819[0x0],'type':_0x10a819[0x1],'subType':_0x10a819['length']>=0x5?_0x10a819[0x2]:null,'id':_0x10a819['length']<0x5?_0x10a819[0x2]:_0x10a819[0x3],'authorId':_0x10a819['length']<0x5?_0x10a819[0x3]:_0x10a819[0x4],'markerCount':0x6==_0x10a819['length']?_0x10a819[0x5]:null};}function _0x540d13(_0x49407c){for(let _0x2eb174=0x0;_0x2eb174<_0x44ae90['length'];_0x2eb174++){if(_0x49407c['isAdded']&&'insertion'==_0x44ae90[_0x2eb174]['type']&&_0x49407c['isAdded']['userId']==_0x44ae90[_0x2eb174]['userId'])return _0x49407c['isAddSuggestion']=_0x44ae90[_0x2eb174],void delete _0x49407c['isAdded'];if(!_0x49407c['isAdded']&&!_0x49407c['isRemoved']&&'deletion'==_0x44ae90[_0x2eb174]['type'])return void(_0x49407c['isRemoveSuggestion']=_0x44ae90[_0x2eb174]);}}}['_setDistance'](_0x15b802,_0x445f6c){let _0x454448=0x0,_0x52304c=!0x1;const _0x2e6b75=new Map();for(const _0xf2d027 of _0x15b802)_0xf2d027[_0x445f6c]?_0x52304c&&(_0x454448++,_0x52304c=!0x1):(_0x454448++,_0x52304c=!0x0),_0x2e6b75['set'](_0xf2d027['id'],_0x454448);for(let _0xfc3e2=0x0;_0xfc3e2<_0x15b802['length'];_0xfc3e2++){if('isRemoved'==_0x445f6c&&_0x15b802[_0xfc3e2]['isAdded']||'isAdded'==_0x445f6c&&_0x15b802[_0xfc3e2]['isRemoved'])continue;if('text'==_0x15b802[_0xfc3e2]['type']){_0x15b802[_0xfc3e2]['distance']=0x0;continue;}const _0x4c1317=_0x2e6b75['get'](_0x15b802[_0xfc3e2]['pairId']),_0x46373a=_0x2e6b75['get'](_0x15b802[_0xfc3e2]['id']);_0x15b802[_0xfc3e2]['distance']=_0x4c1317-_0x46373a;}}['_getRevisionsRange'](_0xc7b9a8,_0x16ff42,_0x56f367=!0x1){const _0xbd06fb=[];let _0x44e8a5=this['repository']['getIndex'](_0xc7b9a8),_0x28119a=this['repository']['getIndex'](_0x16ff42);for(-0x1==_0x28119a&&(_0x28119a=this['repository']['_revisions']['length'],_0x56f367=!0x1);_0x44e8a5<_0x28119a;)_0xbd06fb['push'](this['repository']['getRevision'](_0x44e8a5)),_0x44e8a5++;return _0x56f367&&_0xbd06fb['push'](this['repository']['getRevision'](_0x44e8a5)),_0xbd06fb;}['_threeWayMerge'](_0xd7ba0b,_0x4f4e2d,_0x138097,_0x1e3c53){const _0x2b2913=this['editor']['model']['schema'];let _0x4b7948=_0x4f4e2d;for(;_0xd7ba0b[_0x4b7948]&&_0xd7ba0b[_0x4b7948]['isAdded'];)_0x4b7948++;let _0x52fc84=_0x1e3c53;for(;_0x138097[_0x52fc84]&&_0x138097[_0x52fc84]['isRemoved'];)_0x52fc84++;_0x8b7b3b(_0xd7ba0b,_0x4f4e2d,_0x4b7948),_0x8b7b3b(_0x138097,_0x1e3c53,_0x52fc84);const _0x3bc801=_0x138097['slice'](_0x1e3c53,_0x52fc84)['concat'](_0xd7ba0b['slice'](_0x4f4e2d,_0x4b7948));return _0x3bc801['sort']((_0x13fc0e,_0x368649)=>_0x13fc0e['side']!=_0x368649['side']?_0x13fc0e['side']-_0x368649['side']:_0x13fc0e['level']!=_0x368649['level']?_0x13fc0e['level']-_0x368649['level']:_0x13fc0e['distance']!=_0x368649['distance']?_0x368649['distance']-_0x13fc0e['distance']:!!_0x13fc0e['isAdded']!=!!_0x368649['isAdded']?-0x1==_0x13fc0e['side']||0x0==_0x13fc0e['side']?_0x13fc0e['isAdded']?-0x1:0x1:_0x13fc0e['isAdded']?0x1:-0x1:_0x13fc0e['index']-_0x368649['index']),{'commonTape':_0x3bc801,'iEnd':_0x4b7948,'jEnd':_0x52fc84};function _0x8b7b3b(_0x4efd67,_0x16fa48,_0x1dd7dd){let _0x18e88b=-0x1,_0x4128f0=Number['POSITIVE_INFINITY'],_0xe8ac13=!0x0;for(let _0x454d10=_0x16fa48;_0x454d10<_0x1dd7dd;_0x454d10++)if(_0x2b2913['isInline'](_0x4efd67[_0x454d10]['item'])||(_0xe8ac13=!0x1),_0x4efd67[_0x454d10]['item']['startIndex']<_0x16fa48&&(_0x18e88b=_0x454d10),_0x4efd67[_0x454d10]['item']['endIndex']>=_0x1dd7dd){_0x4128f0=_0x454d10;break;}_0xe8ac13&&(_0x18e88b=_0x1dd7dd-0x1);for(let _0x34b136=_0x16fa48;_0x34b136<_0x1dd7dd;_0x34b136++)_0x4efd67[_0x34b136]['side']=_0x34b136<=_0x18e88b?-0x1:_0x34b136<_0x4128f0?0x0:0x1,_0x4efd67[_0x34b136]['index']=_0x34b136;let _0x1551ae=0x0;for(let _0x461138=_0x16fa48;_0x461138<=_0x18e88b;_0x461138++)0x0==_0x4efd67[_0x461138]['distance']?_0x4efd67[_0x461138]['level']=_0x1551ae:(_0x1551ae++,_0x4efd67[_0x461138]['level']=_0x1551ae,_0x1551ae++);for(let _0x48e160=_0x16fa48;_0x48e160<_0x1dd7dd;_0x48e160++)0x0==_0x4efd67[_0x48e160]['side']&&(_0x4efd67[_0x48e160]['level']=_0x1551ae);_0x1551ae=0x0;for(let _0x2f5b71=_0x1dd7dd-0x1;_0x2f5b71>=_0x4128f0;_0x2f5b71--)0x0==_0x4efd67[_0x2f5b71]['distance']?_0x4efd67[_0x2f5b71]['level']=_0x1551ae:(_0x1551ae--,_0x4efd67[_0x2f5b71]['level']=_0x1551ae,_0x1551ae--);}}['_fixObsoleteTags'](_0x145b8a){const _0x2c2915=new Map(),_0x456f6d=this['editor']['model']['schema'];for(let _0x34aad1=0x1;_0x34aad1<_0x145b8a['length'];_0x34aad1++){let _0x2eb306,_0x147e0b,_0x4ddacb;const _0xcecf71=_0x145b8a[_0x34aad1],_0x3b50b2=_0x145b8a[_0x34aad1-0x1];if('text'==_0xcecf71['type'])continue;if(_0xcecf71['type']!=_0x3b50b2['type'])continue;if(!_0x456f6d['isBlock'](_0x3b50b2['item'])||_0x456f6d['isLimit'](_0x3b50b2['item']))continue;if(!_0x456f6d['isBlock'](_0xcecf71['item'])||_0x456f6d['isLimit'](_0xcecf71['item']))continue;if((_0x145b8a[_0x34aad1]['isAdded']||_0x145b8a[_0x34aad1]['isAddSuggestion'])&&_0x145b8a[_0x34aad1-0x1]['isRemoved'])_0x2eb306=_0x145b8a[_0x34aad1],_0x147e0b=_0x145b8a[_0x34aad1-0x1],_0x4ddacb=_0x34aad1-0x1;else{if(!_0x145b8a[_0x34aad1]['isRemoved']||!_0x145b8a[_0x34aad1-0x1]['isAdded']&&!_0x145b8a[_0x34aad1-0x1]['isAddSuggestion'])continue;_0x2eb306=_0x145b8a[_0x34aad1-0x1],_0x147e0b=_0x145b8a[_0x34aad1],_0x4ddacb=_0x34aad1;}const _0xe51d8b=_0x2eb306['level']==_0x147e0b['level'],_0x1f7111=Math['abs'](_0x2eb306['level'])<Math['abs'](_0x147e0b['level'])&&0x0==_0x147e0b['distance'];(_0xe51d8b||_0x1f7111)&&(_0x2c2915['set'](_0x147e0b['id'],_0x2eb306['id']),_0x145b8a['splice'](_0x4ddacb,0x1),_0x34aad1--,_0x2eb306['isAdded']=!0x1);}for(let _0x531b53=0x0;_0x531b53<_0x145b8a['length'];_0x531b53++)_0x2c2915['has'](_0x145b8a[_0x531b53]['pairId'])&&(_0x145b8a[_0x531b53]['pairId']=_0x2c2915['get'](_0x145b8a[_0x531b53]['pairId']));}['_removeMissingPairs'](_0x1d4cd5){const _0x21a3b9=new Set(_0x1d4cd5['map'](_0x5e989d=>_0x5e989d['id']));for(let _0x28ff2d=0x0;_0x28ff2d<_0x1d4cd5['length'];_0x28ff2d++)_0x21a3b9['has'](_0x1d4cd5[_0x28ff2d]['pairId'])||0x0==_0x1d4cd5[_0x28ff2d]['distance']||(_0x1d4cd5[_0x28ff2d]['isIncorrect']=!0x0);return _0x1d4cd5['filter'](_0x39ffdc=>!_0x39ffdc['isIncorrect']);}['_markMismatchedRemovedTags'](_0x451514){const _0x19808e=new Set();for(let _0x13afcf=0x0;_0x13afcf<_0x451514['length'];_0x13afcf++){if(_0x19808e['has'](_0x451514[_0x13afcf]['id'])&&_0x451514[_0x13afcf]['isRemoved']&&(_0x451514[_0x13afcf]['isIncorrect']=!0x0),_0x451514[_0x13afcf]['isIncorrect'])continue;if(0x0==_0x451514[_0x13afcf]['distance'])continue;if('elementStart'!=_0x451514[_0x13afcf]['type'])continue;if(null==_0x451514[_0x13afcf]['pairId'])continue;let _0xde7543=_0x13afcf+0x1,_0x375162=0x0;for(;_0x451514[_0xde7543]['id']!=_0x451514[_0x13afcf]['pairId'];)'elementStart'==_0x451514[_0xde7543]['type']?_0x375162++:'elementEnd'==_0x451514[_0xde7543]['type']&&_0x375162--,_0xde7543++;if(0x0!=_0x375162){if(_0x451514[_0x13afcf]['isRemoved'])_0x451514[_0x13afcf]['isIncorrect']=!0x0;else{for(;_0xde7543!=_0x13afcf;)_0x451514[_0xde7543]['isRemoved']&&0x0!=_0x451514[_0xde7543]['distance']&&(_0x451514[_0xde7543]['isIncorrect']=!0x0,_0x19808e['add'](_0x451514[_0xde7543]['pairId'])),_0xde7543--;}}}return _0x451514['filter'](_0xdbfc90=>!_0xdbfc90['isIncorrect']);}['_removeUnsupportedChanges'](_0x5dc4df){const _0x1f02f4=this['editor']['model']['schema'];for(let _0x751279=0x0;_0x751279<_0x5dc4df['length'];_0x751279++){if(!(_0x5dc4df[_0x751279]['isAdded']||_0x5dc4df[_0x751279]['isAddSuggestion']||_0x5dc4df[_0x751279]['isRemoved']||_0x5dc4df[_0x751279]['isRemoveSuggestion']))continue;if(0x0==_0x5dc4df[_0x751279]['distance'])continue;const _0x3f6f23=_0x5dc4df[_0x751279]['item'];_0x1f02f4['isBlock'](_0x3f6f23)||_0x1f02f4['isLimit'](_0x3f6f23)||(_0x5dc4df[_0x751279]['isAdded']&&delete _0x5dc4df[_0x751279]['isAdded'],_0x5dc4df[_0x751279]['isAddSuggestion']&&delete _0x5dc4df[_0x751279]['isAddSuggestion'],_0x5dc4df[_0x751279]['isRemoveSuggestion']&&delete _0x5dc4df[_0x751279]['isRemoveSuggestion'],_0x5dc4df[_0x751279]['isRemoved']&&(_0x5dc4df[_0x751279]['isIncorrect']=!0x0));}return _0x5dc4df['filter'](_0x4b5529=>!_0x4b5529['isIncorrect']);}['_makeModelFromTape'](_0x5f5b8f,_0x716715,_0x417ff6){const _0x278c61=new _0x31c75c['ModelDocumentFragment'](),_0x557993=[],_0x4b548e=new Map(),_0x137cb4=this['editor']['model'],_0x53ea6f=_0x137cb4['schema'],_0x1b35dd=[_0x278c61],_0x4d7722={},_0x491128={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x452a28=null;const _0x92d6a5=[0x0];for(let _0x4fcdd0=0x0;_0x4fcdd0<_0x5f5b8f['length'];_0x4fcdd0++)if('elementStart'===_0x5f5b8f[_0x4fcdd0]['type']){_0x5f5b8f[_0x4fcdd0]['previousPosition']=_0x137cb4['createPositionFromPath'](_0x278c61,_0x92d6a5);const _0x181906=new _0x31c75c['ModelElement'](_0x5f5b8f[_0x4fcdd0]['item']['name'],_0x5f5b8f[_0x4fcdd0]['item']['getAttributes']());_0x1b35dd[0x0]['_appendChild'](_0x181906),_0x92d6a5['push'](0x0),_0x1b35dd['unshift'](_0x181906),_0x5f5b8f[_0x4fcdd0]['nextPosition']=_0x137cb4['createPositionFromPath'](_0x278c61,_0x92d6a5);}else'elementEnd'===_0x5f5b8f[_0x4fcdd0]['type']?(_0x1b35dd['shift'](),_0x5f5b8f[_0x4fcdd0]['previousPosition']=_0x137cb4['createPositionFromPath'](_0x278c61,_0x92d6a5),_0x92d6a5['pop'](),_0x92d6a5[_0x92d6a5['length']-0x1]++,_0x5f5b8f[_0x4fcdd0]['nextPosition']=_0x137cb4['createPositionFromPath'](_0x278c61,_0x92d6a5)):(_0x5f5b8f[_0x4fcdd0]['previousPosition']=_0x137cb4['createPositionFromPath'](_0x278c61,_0x92d6a5),_0x452a28?_0x452a28['_data']+=_0x5f5b8f[_0x4fcdd0]['item']['data']:_0x452a28=new _0x31c75c['ModelText'](_0x5f5b8f[_0x4fcdd0]['item']['data'],_0x5f5b8f[_0x4fcdd0]['item']['getAttributes']()),_0x5f5b8f[_0x4fcdd0+0x1]&&'text'===_0x5f5b8f[_0x4fcdd0+0x1]['type']&&_0x35a190(_0x452a28,_0x5f5b8f[_0x4fcdd0+0x1]['item'])||(_0x1b35dd[0x0]['_appendChild'](_0x452a28),_0x452a28=null),_0x92d6a5[_0x92d6a5['length']-0x1]+=_0x5f5b8f[_0x4fcdd0]['item']['offsetSize'],_0x5f5b8f[_0x4fcdd0]['nextPosition']=_0x137cb4['createPositionFromPath'](_0x278c61,_0x92d6a5));for(let _0x433029=0x0;_0x433029<_0x5f5b8f['length'];_0x433029++){const _0x34c27f=_0x5f5b8f[_0x433029]['previousPosition'],_0x206c8d=_0x5f5b8f[_0x433029]['nextPosition'];for(const _0x4d545c of _0x5f5b8f[_0x433029]['markersStart'])_0x4b548e['set'](_0x4d545c,{'start':_0x34c27f,'end':null});_0x3c0e31('isRemoveSuggestion',_0x433029,_0x34c27f,_0x206c8d),_0x3c0e31('isAddSuggestion',_0x433029,_0x34c27f,_0x206c8d),_0x3c0e31('isRemoved',_0x433029,_0x34c27f,_0x206c8d),_0x3c0e31('isAdded',_0x433029,_0x34c27f,_0x206c8d);for(const _0x57a13d of _0x5f5b8f[_0x433029]['markersEnd']){const _0x25a95c=_0x4b548e['get'](_0x57a13d);_0x25a95c?_0x25a95c['end']=_0x206c8d:_0x4b548e['set'](_0x57a13d,{'start':_0x206c8d,'end':_0x206c8d});}}for(const [_0x427e72,_0xf0348e]of _0x4b548e){const _0x392de9=this['editor']['model']['createRange'](_0xf0348e['start'],_0xf0348e['end']);_0x278c61['markers']['set'](_0x427e72,_0x392de9);}return _0x557993['sort']((_0x359457,_0x590379)=>{const _0x1c3d09=_0x278c61['markers']['get']('revision:'+_0x359457['id']),_0x2a8455=_0x278c61['markers']['get']('revision:'+_0x590379['id']);return _0x1c3d09['start']['isBefore'](_0x2a8455['start'])?-0x1:_0x1c3d09['start']['isAfter'](_0x2a8455['start'])?0x1:_0x1c3d09['end']['isBefore'](_0x2a8455['end'])?-0x1:_0x1c3d09['end']['isAfter'](_0x2a8455['end'])?0x1:'add'===_0x359457['type']?-0x1:0x1;}),{'root':_0x278c61,'changes':_0x557993};function _0x3c0e31(_0x392974,_0x3dcbe5,_0x209287,_0x5845cd){const _0x5a4d3c=!!_0x5f5b8f[_0x3dcbe5][_0x392974],_0x246248=_0x5a4d3c?_0x5f5b8f[_0x3dcbe5][_0x392974]['userId']:null,_0xd7b9a9=_0x3dcbe5===_0x5f5b8f['length']-0x1,_0x11bf69=_0x491128[_0x392974][0x0],_0x5d58c7=_0x53ea6f['isObject'](_0x5f5b8f[_0x3dcbe5]['item']);!_0x4d7722[_0x392974]&&_0x5a4d3c?_0x4d7722[_0x392974]={'start':_0x209287,'tapeItem':_0x5f5b8f[_0x3dcbe5],'userId':_0x246248,'type':_0x392974}:_0x4d7722[_0x392974]&&!_0x5a4d3c?(_0x4d7722[_0x392974]['end']=_0x209287,_0x3e6ead(_0x4d7722[_0x392974]),_0x4d7722[_0x392974]=null):_0x4d7722[_0x392974]&&_0x5a4d3c&&_0x4d7722[_0x392974]['userId']!==_0x246248&&(_0x4d7722[_0x392974]['end']=_0x209287,_0x11bf69&&_0x11bf69['userId']===_0x4d7722[_0x392974]['userId']||_0x3e6ead(_0x4d7722[_0x392974]),_0x4d7722[_0x392974]={'start':_0x209287,'tapeItem':_0x5f5b8f[_0x3dcbe5],'userId':_0x246248,'type':_0x392974}),_0x4d7722[_0x392974]&&_0x5d58c7&&('elementStart'!==_0x5f5b8f[_0x3dcbe5]['type']||_0x11bf69&&_0x11bf69['userId']===_0x246248||_0x491128[_0x392974]['unshift']({'userId':_0x246248,'object':_0x5f5b8f[_0x3dcbe5]['item'],'change':_0x4d7722[_0x392974]}),'elementEnd'===_0x5f5b8f[_0x3dcbe5]['type']&&_0x11bf69&&_0x11bf69['object']===_0x5f5b8f[_0x3dcbe5]['item']&&(_0x491128[_0x392974]['shift'](),_0x4d7722[_0x392974]=_0x11bf69['change'])),_0x4d7722[_0x392974]&&_0xd7b9a9&&(_0x4d7722[_0x392974]['end']=_0x5845cd,_0x3e6ead(_0x4d7722[_0x392974]),_0x4d7722[_0x392974]=null);}function _0x3e6ead({start:_0x3138c5,end:_0x5e8828,tapeItem:_0x57bbf7,userId:_0x2371b9,type:_0x3dfecd}){const _0x59c191=_0x57bbf7['item'],_0x57bb26=_0x137cb4['schema']['isBlock'](_0x59c191)&&!_0x137cb4['schema']['isLimit'](_0x59c191),_0x5b7bf1=_0x3138c5['nodeAfter']==_0x5e8828['parent']&&_0x5e8828['isAtStart'];if(_0x57bb26&&_0x5b7bf1)return;const _0x191cf4=_0x137cb4['createRange'](_0x3138c5,_0x5e8828),_0x5f1de3=_0x716715['get'](_0x2371b9),_0x15369b=new ChangeItem({'author':_0x5f1de3,'type':'isAdded'==_0x3dfecd||'isAddSuggestion'==_0x3dfecd?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3dfecd||'isRemoveSuggestion'==_0x3dfecd},'createdAt':new Date(),'rootName':_0x417ff6});_0x557993['push'](_0x15369b),_0x278c61['markers']['set']('revision:'+_0x15369b['id'],_0x191cf4);}function _0x35a190(_0x355e53,_0x57cf28){const _0x1b28a7=_0x355e53['getAttributes'](),_0x2da19c=_0x57cf28['getAttributes']();for(const _0x1b985e of _0x1b28a7){if(_0x1b985e[0x1]!==_0x57cf28['getAttribute'](_0x1b985e[0x0]))return!0x1;_0x2da19c['next']();}return _0x2da19c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x21d0d2=>{const _0xa2e5a1=_0x21d0d2['markerName']['split'](':')[0x1],_0x165b6e=this['_getChangeFromId'](_0xa2e5a1);if(!_0x165b6e)return null;const _0x264ad6='add'==_0x165b6e['type']?'insertion':'deletion',_0x3fee35=['ck-suggestion-marker','ck-suggestion-marker-'+_0x264ad6];return _0x165b6e['data']['isSuggestion']&&_0x3fee35['push']('ck-suggestion-marker-'+_0x264ad6+'-new'),this['activeChange']==_0x165b6e&&_0x3fee35['push']('ck-suggestion-marker--active'),{'classes':_0x3fee35,'attributes':{'data-change-id':_0xa2e5a1}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1ffcfa=>{_0x1ffcfa['on']('element:pre',(_0x5c2c1d,_0x13cbbd,_0x284351)=>{const _0x11ac08=_0x13cbbd['viewItem']['getChild'](0x0);if(!_0x11ac08||!_0x11ac08['is']('element','code'))return;if(!_0x284351['consumable']['consume'](_0x11ac08,{'attributes':['vid_start','vid_end']}))return;const _0x5a5396=_0x13cbbd['modelRange']['start']['nodeAfter'];_0x284351['writer']['setAttribute']('vid_start',_0x11ac08['getAttribute']('vid_start'),_0x5a5396),_0x284351['writer']['setAttribute']('vid_end',_0x11ac08['getAttribute']('vid_end'),_0x5a5396);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x297e07=>{_0x297e07['on']('element',(_0x2f4461,_0x56a475,_0x51c702)=>{if(!_0x51c702['consumable']['consume'](_0x56a475['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x56a475['modelRange']['isCollapsed'])return;const _0x462d5a=_0x56a475['modelRange']['start']['nodeAfter'];_0x462d5a['hasAttribute']('vid_start')||_0x462d5a['hasAttribute']('vid')||(_0x51c702['writer']['setAttribute']('vid_start',_0x56a475['viewItem']['getAttribute']('vid_start'),_0x462d5a),_0x51c702['writer']['setAttribute']('vid_end',_0x56a475['viewItem']['getAttribute']('vid_end'),_0x462d5a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3c5ba1=>_0x3c5ba1['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x149305,[,_0x388c48])=>{['vid_start','vid_end','vid']['includes'](_0x388c48)&&(_0x149305['return']=!0x0,_0x149305['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x46ba82=>{_0x46ba82['on']('attribute:vid',(_0x3f79b5,_0x147122,_0x2b8fe7)=>{if('\x20'!=_0x147122['item']['data']||_0x147122['item']['parent']['maxOffset']>0x1)return;if(!_0x2b8fe7['consumable']['consume'](_0x147122['item'],_0x3f79b5['name']))return;const _0x117296=_0x2b8fe7['writer'],_0x2ea641=_0x2b8fe7['mapper']['toViewRange'](_0x147122['range']);_0x117296['wrap'](_0x2ea641,_0x117296['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1b333a){const _0xd52262=_0x1b333a['plugins']['get']('RevisionViewer');return(_0xa9dcac,_0x28dd59,_0x252ffe)=>{const _0x223678=_0x28dd59['markerName']['split'](':')[0x1],_0x4dba70=_0xd52262['_getChangeFromId'](_0x223678);if(!_0x4dba70)return null;const _0x49a354='add'==_0x4dba70['type']?'split':'merge';if(!_0x252ffe['consumable']['test'](_0x28dd59['markerRange'],_0xa9dcac['name']))return;const _0x1c2e24=_0x28dd59['markerRange']['getWalker'](),_0x3c6493=_0x28dd59['markerRange']['start'],_0x32a69b=_0x1b333a['model']['schema'];let _0xc3d468=null,_0x34cd66=null,_0x20640d=!0x1,_0x1eed4b=!0x1;for(const _0xe29b75 of _0x1c2e24){const _0x46f1b1=_0xe29b75['item'];_0x20640d=_0x20640d||_0x32a69b['isContent'](_0x46f1b1);const _0x106c3a=_0x252ffe['mapper']['toViewElement'](_0x46f1b1);if(_0x106c3a&&_0x106c3a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xe29b75['type']&&(_0x32a69b['isBlock'](_0x46f1b1)&&!_0x32a69b['isLimit'](_0x46f1b1)&&(_0x46f1b1['nextSibling']||_0x3c6493['isAtEnd']?_0xc3d468&&_0xc3d468['parent']==_0x46f1b1||(_0xc3d468=_0x46f1b1,_0x93be2e(_0xe29b75['previousPosition']),_0x1eed4b=!0x0):_0x34cd66=_0x34cd66||_0xe29b75['previousPosition']));}function _0x93be2e(_0x305ba4){const _0x48fc96=_0x252ffe['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x49a354}),_0x653c3b=_0x252ffe['mapper']['toViewPosition'](_0x305ba4);_0x4dba70['data']['isSuggestion']&&_0x252ffe['writer']['addClass']('ck-suggestion-marker-'+_0x49a354+'-new',_0x48fc96),_0xd52262['activeChange']==_0x4dba70&&_0x252ffe['writer']['addClass']('ck-suggestion-marker--active',_0x48fc96),_0x252ffe['writer']['insert'](_0x653c3b,_0x48fc96),_0x252ffe['mapper']['bindElementToMarker'](_0x48fc96,_0x28dd59['markerName']);}_0x20640d||_0x1eed4b||!_0x34cd66||_0x93be2e(_0x34cd66);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x155345,_0x5dc513,_0x376f19)=>{const _0x6c8a85=_0x376f19['mapper']['markerNameToElements'](_0x5dc513['markerName']);if(_0x6c8a85){for(const _0x298842 of _0x6c8a85)(_0x298842['hasClass']('ck-suggestion-marker-split')||_0x298842['hasClass']('ck-suggestion-marker-merge'))&&(_0x376f19['mapper']['unbindElementFromMarkerName'](_0x298842,_0x5dc513['markerName']),_0x376f19['writer']['remove'](_0x298842));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xa4e4eb,_0x3917a4,_0x3016d8)=>{const _0x26fbf8=_0x3917a4['markerName']['split'](':')[0x1],_0x3efb6b=this['_getChangeFromId'](_0x26fbf8);if(!_0x3efb6b)return null;const _0x18aafa='add'==_0x3efb6b['type']?'split':'merge';if(_0x3016d8['consumable']['test'](_0x3917a4['markerRange'],_0xa4e4eb['name']))for(const _0x17c1ec of _0x3917a4['markerRange']['getItems']()){if(!_0x17c1ec['is']('element','softBreak'))continue;const _0x11daf2=_0x3016d8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x18aafa}),_0xc895b6=_0x3016d8['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x17c1ec));_0x3efb6b['data']['isSuggestion']&&_0x3016d8['writer']['addClass']('ck-suggestion-marker-'+_0x18aafa+'-new',_0x11daf2),this['activeChange']==_0x3efb6b&&_0x3016d8['writer']['addClass']('ck-suggestion-marker--active',_0x11daf2),_0x3016d8['writer']['insert'](_0xc895b6,_0x11daf2),_0x3016d8['mapper']['bindElementToMarker'](_0x11daf2,_0x3917a4['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x98a2ed=>{for(const _0x39007c of this['editor']['model']['document']['getRootNames']()){const _0x41b042=this['editor']['model']['document']['getRoot'](_0x39007c),_0x32b5cb=this['editor']['editing']['view']['document']['getRoot'](_0x39007c);if(_0x32b5cb){const _0x5c7963=_0x41b042['getAttribute']('revisionHistoryAttachChange');if(_0x98a2ed['removeAttribute']('data-change-id',_0x32b5cb),_0x98a2ed['removeClass']('ck-revision-history-root-add',_0x32b5cb),_0x98a2ed['removeClass']('ck-revision-history-root-remove',_0x32b5cb),_0x98a2ed['removeClass']('ck-revision-history-root--active',_0x32b5cb),_0x5c7963){const _0x9e4a7=this['_getChangeFromId'](_0x5c7963);if(!_0x9e4a7)return null;_0x98a2ed['setAttribute']('data-change-id',_0x5c7963,_0x32b5cb),_0x98a2ed['addClass']('ck-revision-history-root-'+_0x9e4a7['type'],_0x32b5cb),this['activeChange']==_0x9e4a7&&_0x98a2ed['addClass']('ck-revision-history-root--active',_0x32b5cb);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3f0b29=>'revision-comment:'+_0x3f0b29,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x33a13d=>'revision-suggestion:'+_0x33a13d,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5b1f87=>({'name':'suggestion:'+_0x5b1f87,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x47615a=>{const _0x46c3f4=_0x47615a['markerName']['split'](':')[0x1];return'insertion'!=_0x46c3f4&&'deletion'!=_0x46c3f4?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x46c3f4]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',_0x42c562(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',_0x42c562(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x48b111,_0x2225a4,_0x21e36d)=>{const _0x3b2fb7=_0x21e36d['mapper']['markerNameToElements'](_0x2225a4['markerName']);if(_0x3b2fb7){for(const _0x13fd69 of _0x3b2fb7)_0x13fd69['is']('uiElement')&&(_0x21e36d['mapper']['unbindElementFromMarkerName'](_0x13fd69,_0x2225a4['markerName']),_0x21e36d['writer']['remove'](_0x13fd69));}},{'priority':'high'});}['_getChangeFromId'](_0x2e6c09){return this['_changeIdToChange']['get'](_0x2e6c09);}['_getViewForChange'](_0xa30ced){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0xa30ced),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2e78d5,_0x7d9796,_0x10ac6e,_0x131f40)=>{_0x131f40&&this['_balloon']['remove'](_0x131f40),_0x10ac6e&&(this['_balloon']['add']({'view':_0x10ac6e,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1f7402=this['editor']['editing'],_0x2ae42c=this['_getChangeFromId'](_0x10ac6e['changeId']);let _0xf19e6d;if(_0x2ae42c['data']['isOnRoot']){const _0x25b5a3=_0x1f7402['view']['getDomRoot'](_0x2ae42c['rootName']);_0xf19e6d=Array['from'](_0x25b5a3['getClientRects']());}else{const _0x4fd3bb=this['editor']['model']['markers']['get']('revision:'+_0x10ac6e['changeId']);_0xf19e6d=Array['from'](_0x1f7402['mapper']['markerNameToElements'](_0x4fd3bb['name']))['map'](_0x1a0c8f=>_0x1f7402['view']['domConverter']['mapViewToDom'](_0x1a0c8f))['map'](_0x40466=>Array['from'](_0x40466['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xf19e6d[0x0];return _0xf19e6d['find'](_0x6a1f47=>_0x6a1f47['top']-0x3<=this['_activeViewTarget']['y']&&_0x6a1f47['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x6a1f47['left']-0x3<=this['_activeViewTarget']['x']&&_0x6a1f47['right']+0x3>=this['_activeViewTarget']['x'])||_0xf19e6d[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4d2fe1,_0x21f22f,_0x5ee6f3,_0x859406)=>{this['activeView']=_0x5ee6f3?this['_getViewForChange'](_0x5ee6f3):null,this['editor']['model']['change'](()=>{const _0x3e7e31=this['editor']['editing'];_0x859406&&(_0x859406['data']['isOnRoot']?_0x3e7e31['view']['change'](_0x53c21f=>{_0x53c21f['removeClass']('ck-revision-history-root--active',_0x3e7e31['view']['document']['getRoot'](_0x859406['rootName']));}):_0x3e7e31['reconvertMarker']('revision:'+_0x859406['id'])),_0x5ee6f3&&(_0x5ee6f3['data']['isOnRoot']?_0x3e7e31['view']['change'](_0x56f5cc=>{_0x56f5cc['addClass']('ck-revision-history-root--active',_0x3e7e31['view']['document']['getRoot'](_0x5ee6f3['rootName']));}):_0x3e7e31['reconvertMarker']('revision:'+_0x5ee6f3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1d5edc,_0x3d71f7)=>{if(this['activeChange'])return;const _0x308054=this['_findChangeIdFromDomTarget'](_0x3d71f7['target']),_0x6d552d=this['_changeIdToChange']['get'](_0x308054);_0x6d552d?(this['_activeViewTarget']={'x':_0x3d71f7['domEvent']['x'],'y':_0x3d71f7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x6d552d)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x337e3a,_0x3e5f81)=>{const _0x37237=this['_findChangeIdFromDomTarget'](_0x3e5f81['target']),_0x36ed10=this['_changeIdToChange']['get'](_0x37237);_0x36ed10?(this['_activeViewTarget']={'x':_0x3e5f81['domEvent']['x'],'y':_0x3e5f81['domEvent']['y']},_0x36ed10===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x36ed10):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x528b93){do{const _0x539dc8=_0x528b93['getAttribute']('data-change-id');if(_0x539dc8)return _0x539dc8;_0x528b93=_0x528b93['parent'];}while(_0x528b93);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x133445=>{for(const _0x5b56c1 of this['editor']['model']['markers'])_0x133445['removeMarker'](_0x5b56c1);});}}function _0x42c562(_0x2e1829,_0x16b018){return(_0x454d57,_0x222eb2,_0x1cce3b)=>{if(!_0x1cce3b['consumable']['test'](_0x222eb2['markerRange'],_0x454d57['name']))return;const _0x566d3e=_0x222eb2['markerRange']['getWalker'](),_0x1f53bf=_0x222eb2['markerRange']['start'],_0xdb2bf6=_0x2e1829['model']['schema'];let _0x16d695=null,_0x1d8207=null,_0x362380=!0x1,_0x266662=!0x1;for(const _0x329138 of _0x566d3e){const _0x17dd63=_0x329138['item'];_0x362380=_0x362380||_0xdb2bf6['isContent'](_0x17dd63);const _0x533d41=_0x1cce3b['mapper']['toViewElement'](_0x17dd63);if(_0x533d41&&_0x533d41['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x329138['type']&&(_0xdb2bf6['isBlock'](_0x17dd63)&&!_0xdb2bf6['isLimit'](_0x17dd63)&&(_0x17dd63['nextSibling']||_0x1f53bf['isAtEnd']?_0x16d695&&_0x16d695['parent']==_0x17dd63||(_0x16d695=_0x17dd63,_0x3146eb(_0x329138['previousPosition']),_0x266662=!0x0):_0x1d8207=_0x1d8207||_0x329138['previousPosition']));}function _0x3146eb(_0x51e1a1){const _0x2945ac=_0x1cce3b['mapper']['toViewPosition'](_0x51e1a1),_0x7e8739=_0x1cce3b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x16b018});_0x1cce3b['writer']['insert'](_0x2945ac,_0x7e8739),_0x1cce3b['mapper']['bindElementToMarker'](_0x7e8739,_0x222eb2['markerName']);}_0x362380||_0x266662||!_0x1d8207||_0x3146eb(_0x1d8207);};}class RestoreRevisionCommand extends _0x31c75c['Command']{constructor(_0x2cb704){super(_0x2cb704);const _0x351f20=_0x2cb704['plugins']['get'](_0x235b39);this['affectsData']=!0x1,this['listenTo'](_0x351f20,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x351f20,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3ed7be=this['editor'],_0x25f948=_0x3ed7be['plugins']['get'](_0x235b39),_0xe6dd5b=_0x25f948['isReady']?_0x25f948['diff']['newRevisionId']:null;_0x3ed7be['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xe6dd5b);}['refresh'](){const {isReady:_0x49b454,isEnabled:_0x155988,repository:_0x3549a5,diff:_0x1f37c8}=this['editor']['plugins']['get'](_0x235b39),_0x25e2e7=_0x1f37c8&&_0x3549a5['getLaterVisibleRevision'](_0x1f37c8['newRevisionId']);this['isEnabled']=_0x49b454&&_0x155988&&Boolean(_0x25e2e7);}}class _0x559a4f extends _0x31c75c['Command']{['_step'];constructor(_0x3a577c,{direction:_0x516e90}){super(_0x3a577c);const _0x1848df=_0x3a577c['plugins']['get'](_0x235b39);this['affectsData']=!0x1,this['_step']='forward'===_0x516e90?0x1:-0x1,this['listenTo'](_0x1848df,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1848df,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1848df,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xd1043a=this['editor'],_0x4740a8=_0xd1043a['plugins']['get'](_0x235b39),{isNavigationMode:_0x3fe13a,currentChangeNumber:_0x163795}=_0x4740a8;let _0x329d2e;if(_0x4740a8['activeChange']=_0x3fe13a?_0x4740a8['diff']['changes']['get'](_0x163795+this['_step']):_0x4740a8['diff']['changes']['first'],_0x4740a8['activeChange']['data']['isOnRoot'])_0x329d2e=_0xd1043a['editing']['view']['getDomRoot'](_0x4740a8['activeChange']['rootName']);else{const _0x2e4418=_0xd1043a['model']['markers']['get']('revision:'+_0x4740a8['activeChange']['id']);_0x329d2e=_0x4c41ff(_0xd1043a['editing'],_0x2e4418);}_0x31c75c['scrollViewportToShowTarget']({'target':_0x329d2e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5b3835,currentChangeNumber:_0x4a2a53,numberOfChanges:_0x422bbb,isReady:_0x3af514,isEnabled:_0x509ca6}=this['editor']['plugins']['get'](_0x235b39);this['isEnabled']=!!(_0x509ca6&&_0x3af514&&_0x422bbb)&&(!_0x5b3835||(0x1===this['_step']?_0x4a2a53<_0x422bbb-0x1:_0x4a2a53>0x0));}}class ChangesNavigationView extends _0x31c75c['View']{constructor(_0x1270ca){super(_0x1270ca);const _0x781bdc=this['bindTemplate'],_0x3e7d9f=new _0x31c75c['ButtonView'](_0x1270ca),_0x75d4de=new _0x31c75c['ButtonView'](_0x1270ca);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x3e7a41,_0x523ca1)=>_0x3e7a41&&_0x523ca1>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x25d8e1,_0x19ad8c,_0x181fe8,_0x32dc4f)=>{if(!_0x25d8e1)return _0x1e0723(_0x1270ca,'Loading...');if(!_0x181fe8)return _0x1e0723(_0x1270ca,'No\x20changes');const _0xacc2aa=_0x1e0723(_0x1270ca,'NUMBER_OF_CHANGES',_0x181fe8);return _0x32dc4f?_0x1e0723(_0x1270ca,'X_OF_Y_CHANGES',[_0x19ad8c+0x1,_0x181fe8]):_0xacc2aa;}),_0x3e7d9f['set']({'label':_0x1e0723(_0x1270ca,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x31c75c['IconChevronUp']}),_0x75d4de['set']({'label':_0x1e0723(_0x1270ca,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x31c75c['IconChevronDown']}),_0x3e7d9f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x75d4de['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3e7d9f['on']('execute',()=>this['fire']('execute','backward')),_0x75d4de['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x781bdc['if']('_isStatusLabelVisible','ck-hidden',_0xdb90b9=>!_0xdb90b9)]},'children':[{'text':_0x781bdc['to']('isNavigationMode',_0x4bd02c=>_0x4bd02c?_0x1e0723(_0x1270ca,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x1e0723(_0x1270ca,'Total')+':\x20')}]},{'text':_0x781bdc['to']('_statusText')}]},new _0x31c75c['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3e7d9f,_0x75d4de]}]});}}const _0x1b7fb6='ck-editor__editable__loading-overlay';class _0x26be7d extends _0x31c75c['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x4c0ab8=this['editor']['editing']['view'];_0x4c0ab8['change'](_0x69c02a=>{for(const _0x4b6c34 of _0x4c0ab8['document']['roots'])_0x69c02a['addClass'](_0x1b7fb6,_0x4b6c34);});}['hide'](){const _0x31a26b=this['editor']['editing']['view'];_0x31a26b['change'](_0x39d9e0=>{for(const _0xf42bb2 of _0x31a26b['document']['roots'])_0x39d9e0['removeClass'](_0x1b7fb6,_0xf42bb2);});}}class _0x4cc957 extends _0x31c75c['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x235b39,_0x26be7d];}['init'](){const _0x3a56e7=this['editor'],_0x463d89=_0x3a56e7['plugins']['get'](_0x235b39),_0x2ae2b7=_0x3a56e7['plugins']['get'](_0x26be7d);_0x3a56e7['ui']['componentFactory']['add']('exitToEditing',_0x425c67=>{const _0x1dab86=new _0x31c75c['ButtonView'](_0x425c67);return _0x1dab86['set']({'label':_0x1e0723(_0x425c67,'Back\x20to\x20editing'),'icon':_0x31c75c['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1dab86,'execute',()=>{_0x3a56e7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1dab86;}),_0x3a56e7['ui']['componentFactory']['add']('restoreRevision',_0xa9db5d=>{const _0x50e9e9=new _0x31c75c['ButtonView'](_0xa9db5d);return _0x50e9e9['set']({'label':_0x1e0723(_0xa9db5d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x50e9e9['bind']('isEnabled')['to'](_0x3a56e7['commands']['get']('restoreRevision')),this['listenTo'](_0x50e9e9,'execute',()=>_0x3a56e7['execute']('restoreRevision')),_0x50e9e9;}),_0x3a56e7['ui']['componentFactory']['add']('changesNavigation',_0x252bad=>{const _0x47d324=new ChangesNavigationView(_0x252bad),_0x4251ab=_0x3a56e7['commands']['get']('showPreviousChange'),_0x294b88=_0x3a56e7['commands']['get']('showNextChange');return _0x47d324['bind']('isBackwardNavigationEnabled')['to'](_0x4251ab,'isEnabled'),_0x47d324['bind']('isForwardNavigationEnabled')['to'](_0x294b88,'isEnabled'),_0x47d324['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x463d89),this['listenTo'](_0x47d324,'execute',(_0xa249c0,_0x304a61)=>{_0x3a56e7['execute']('forward'===_0x304a61?'showNextChange':'showPreviousChange');}),_0x47d324;}),_0x2ae2b7['show'](),_0x463d89['on']('change:isReady',(_0x58e243,_0x56be1d,_0x344e89)=>{_0x344e89?_0x2ae2b7['hide']():_0x2ae2b7['show']();});}}class _0x116d10 extends _0x31c75c['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x406e0a,_0x4004f7){super(_0x406e0a,_0x4004f7);const _0x99b21f=this['bindTemplate'];this['set']({'label':_0x1e0723(_0x406e0a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=_0x1e0723(_0x406e0a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x99b21f['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x31c75c['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x27ef63=this['fieldView']['element'];this['_tooltipString']=_0x27ef63['scrollWidth']>_0x27ef63['clientWidth']&&_0x27ef63['value']||'';}}class RevisionAuthorView extends _0x31c75c['View']{constructor(_0x467588,_0x1c47b4,_0x1e032f){super(_0x467588);const _0x578e8=new _0x31c75c['IconView']();_0x578e8['set']({'content':_0x31c75c['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x68a77f=['ck','ck-revision-history-sidebar__revision-author'];_0x1e032f&&_0x68a77f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x8df3d9=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x1e0723(_0x467588,_0x1e032f?'Revision\x20creator':'Revision\x20author')},'children':[_0x578e8,_0x1c47b4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x68a77f},'children':_0x8df3d9});}}function _0x114fd0(_0x283821,_0x23a4f5){const _0x136e1b=_0x283821['bindTemplate'],_0x2060f9=_0x283821['locale'],_0x330aa5=_0x31c75c['createDropdown'](_0x2060f9);_0x330aa5['panelPosition']='sw';const _0x28bacd=function(_0x14fca2,_0x2077d0){const _0x18ede8=function(_0x15f28d,_0x4c24d3){const _0x4ef6db=_0x15f28d['locale'],_0x50f663={'Compare\x20against\x20selected':_0x1e0723(_0x4ef6db,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x1e0723(_0x4ef6db,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x1e0723(_0x4ef6db,'Restore\x20this\x20revision')};return _0x4c24d3['map'](_0x3fe53f=>{const _0x706f6f=_0x50f663[_0x3fe53f['name']];return _0x706f6f&&_0x706f6f!==_0x3fe53f['name']&&(_0x3fe53f['name']=_0x706f6f),_0x3fe53f;});}(_0x14fca2,_0x2077d0),_0x450e70=new _0x31c75c['Collection']();for(const _0x76a34 of _0x18ede8){const _0x50cfb8={'type':'button','model':new _0x31c75c['UIModel']({'label':_0x76a34['name'],'class':_0x76a34['class'],'withText':!0x0,'role':'menuitem','_action':_0x76a34['action']})};_0x50cfb8['model']['bind']('isEnabled')['to'](_0x14fca2,'isActionsDropdownOpen',_0x334086=>'function'!=typeof _0x76a34['isEnabled']||(!_0x334086||_0x76a34['isEnabled'](_0x14fca2))),_0x450e70['add'](_0x50cfb8);}return _0x450e70;}(_0x283821,_0x23a4f5);return _0x283821['bind']('isActionsDropdownOpen')['to'](_0x330aa5,'isOpen'),_0x330aa5['buttonView']['set']({'label':_0x1e0723(_0x2060f9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x31c75c['IconThreeVerticalDots']}),_0x330aa5['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x136e1b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x136e1b['to'](_0x2201ca=>_0x2201ca['stopPropagation']())}}),_0x330aa5['on']('execute',_0x54b067=>{_0x283821['isReady']&&'function'==typeof _0x54b067['source']['_action']&&_0x54b067['source']['_action'](_0x283821);}),_0x31c75c['addListToDropdown'](_0x330aa5,_0x28bacd,{'role':'menu'}),_0x330aa5['listenTo'](_0x283821,'change:isActionsDropdownOpen',(_0x59e680,_0x557c30,_0x167c44)=>{if(_0x167c44)for(const _0xf81fd5 of _0x330aa5['listView']['items']){const _0x4f002f=_0xf81fd5['children']['first'],_0x10bbf4=_0x23a4f5['find'](_0xfbfe2e=>_0xfbfe2e['action']===_0x4f002f['_action'])['isVisible'];_0xf81fd5['isVisible']=void 0x0===_0x10bbf4||_0x10bbf4(_0x283821);}}),_0x330aa5;}class _0x38f8dd extends/* #__PURE__ -- @preserve */
_0xca906e(_0x31c75c['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x82516d,_0x1c52b4,_0x1a3477,_0x575d5b){super(_0x82516d);const _0x557a3c=this['bindTemplate'],_0x2a9548=function(_0x1c9951,_0x444981){const _0x596d9a=Array['from'](_0x444981['authors'])['filter'](_0x240ee7=>_0x240ee7!=_0x444981['creator']);return _0x444981['creator']&&_0x596d9a['unshift'](_0x444981['creator']),_0x596d9a['map'](_0x598359=>new RevisionAuthorView(_0x1c9951,_0x598359,_0x598359==_0x444981['creator']));}(_0x82516d,_0x1c52b4);this['id']=_0x1c52b4['id'],this['_revision']=_0x1c52b4,this['_requireRevisionName']=_0x575d5b,this['bind']('name','createdAt')['to'](_0x1c52b4),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4573cd=>{return _0x15095c=_0x82516d['uiLanguage'],(_0x1b781c=_0x4573cd)['toLocaleDateString'](_0x15095c,{'month':'long','day':'numeric'})+',\x20'+_0x1b781c['toLocaleTimeString'](_0x15095c,{'hour':'numeric','minute':'numeric'});var _0x15095c,_0x1b781c;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x116d10(_0x82516d,_0x31c75c['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1e6a37=>_0x1e6a37||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x9b4e4d,_0x4f0a7b)=>_0x9b4e4d&&_0x4f0a7b),this['revisionActionsView']=_0x1a3477&&_0x1a3477['length']?_0x114fd0(this,_0x1a3477):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x557a3c['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x557a3c['if']('isEnabled','ck-disabled',_0x4fecae=>!_0x4fecae),_0x557a3c['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x557a3c['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x557a3c['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x557a3c['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x2a9548}]},this['revisionActionsView']],'on':{'click':_0x557a3c['to'](_0x34173c=>{_0x34173c['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3e8928=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3e8928,'change',()=>{this['_requireRevisionName']&&!_0x3e8928['value']||this['fire']('setName',{'id':this['id'],'name':_0x3e8928['value']}),_0x3e8928['value']||(_0x3e8928['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function _0x5cf76f(_0x5b4b9a,_0x5e6c3f){const _0x37a0f2=DateTime['fromJSDate'](_0x5b4b9a)['setLocale'](_0x5e6c3f),_0x4c368b=DateTime['local'](),_0x27e395=_0x4c368b['minus']({'days':0x1})['startOf']('day');let _0x4655b6,_0x26eec2;return _0x37a0f2['hasSame'](_0x4c368b,'day')?(_0x4655b6=_0x37a0f2['startOf']('day')['toJSDate'](),_0x26eec2=_0x37a0f2['toRelativeCalendar']()):_0x37a0f2['hasSame'](_0x27e395,'day')?(_0x4655b6=_0x27e395['toJSDate'](),_0x26eec2=_0x37a0f2['toRelativeCalendar']()):_0x37a0f2['hasSame'](_0x4c368b,'week')?(_0x4655b6=_0x37a0f2['startOf']('week')['toJSDate'](),_0x26eec2=_0x37a0f2['weekdayLong']||''):_0x37a0f2['hasSame'](_0x4c368b,'year')?(_0x4655b6=_0x37a0f2['startOf']('month')['toJSDate'](),_0x26eec2=_0x37a0f2['monthLong']||''):(_0x4655b6=_0x37a0f2['startOf']('year')['toJSDate'](),_0x26eec2=String(_0x37a0f2['year'])),{'startDate':_0x4655b6,'localizedPeriodName':_0x26eec2};}class _0x122d5c extends _0x31c75c['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x235727,_0x4404a5,_0x4eb3ce,_0x29c5e5){super(_0x235727);const _0x59234a=_0x5cf76f(_0x4404a5,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4404a5,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4eb3ce,this['_requireRevisionName']=_0x29c5e5,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x59234a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x26b0ec){const _0x12ebd0=new _0x38f8dd(this['locale'],_0x26b0ec,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x12ebd0);}['removeRevision'](_0x41de16){const _0x5c789f=this['revisionViews']['find'](_0x952ea3=>_0x952ea3['id']===_0x41de16['id']);this['revisionViews']['remove'](_0x5c789f);}}class _0x34f99f extends _0x31c75c['View']{constructor(_0x169040){super(_0x169040);const _0x3bab0b=new _0x31c75c['IconView']();_0x3bab0b['content']=_0x31c75c['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3bab0b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x1e0723(_0x169040,'Revision\x20history')]}]});}}class _0x27cf3b extends _0x31c75c['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3f70e9,_0x14a049,_0x454118,_0x561e54){super(_0x3f70e9);const _0x18797e=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x14a049,this['_revisionActions']=_0x454118,this['_requireRevisionName']=_0x561e54,this['on']('select',(_0x3b8a94,_0x6688e8)=>{this['fire']('revisionSelected',_0x6688e8);}),this['on']('setName',(_0xf87ff5,_0x31ad7e)=>{this['fire']('revisionSetName',_0x31ad7e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x34f99f(_0x3f70e9),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x18797e['if']('isEnabled','ck-disabled',_0x4a2848=>!_0x4a2848)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3f19dd of this['_revisions'])this['_addRevision'](_0x3f19dd);this['_revisions']['on']('add',(_0x4bd89c,_0x3e2472)=>{this['_addRevision'](_0x3e2472);}),this['_revisions']['on']('remove',(_0x2c5c70,_0x51d311)=>{this['_removeRevision'](_0x51d311);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x13f047=>_0x13f047['revisionViews']['map'](_0xd9ff4f=>_0xd9ff4f))['flat']();}['selectRevision'](_0x1fa4c8){for(const _0x8ca8a9 of this['revisionViews'])_0x1fa4c8&&_0x1fa4c8['id']===_0x8ca8a9['id']?_0x8ca8a9['select']():_0x8ca8a9['deselect']();}['highlightRevisions'](_0x6a5edc){for(const _0xf24f2a of this['revisionViews'])_0x6a5edc['some'](({id:_0x2b0e42})=>_0x2b0e42===_0xf24f2a['id'])?_0xf24f2a['highlight']():_0xf24f2a['unhighlight']();}['_addRevision'](_0x2b917d){const _0x51cee9=_0x5cf76f(_0x2b917d['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x11d20e=this['_getTimePeriodViewByStartDate'](_0x51cee9);_0x11d20e||(_0x11d20e=new _0x122d5c(this['locale'],_0x51cee9,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x11d20e)),_0x11d20e['addRevision'](_0x2b917d);}['_removeRevision'](_0x577f1d){const _0x45a2ec=_0x5cf76f(_0x577f1d['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x45a2ec)['removeRevision'](_0x577f1d);}['_getTimePeriodViewByStartDate'](_0x318b3e){return this['timePeriodViews']['find'](_0x58958e=>_0x58958e['startDate']['getTime']()===_0x318b3e['getTime']());}}class _0x263ffe extends _0x31c75c['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
_0x47a9c3();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x235b39];}constructor(_0x46553d){super(_0x46553d),this['_revisionViewer']=_0x46553d['plugins']['get'](_0x235b39),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x456386=this['_revisionsRepository']['_revisions'],_0x376d6f=this['_createRevisionActions'](),_0x40bb82=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x27cf3b(this['editor']['locale'],_0x456386,_0x376d6f,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x3a10bc,_0x4b3e75)=>{_0x4b3e75['revisionViews']['on']('add',(_0x1e7923,_0x348e18)=>{_0x348e18['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x40bb82['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x366bb5=this['_revisionsRepository']['getRevision'](0x0);if(_0x366bb5){const _0x1450c4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x366bb5['id']);this['_revisionViewer']['compare'](_0x366bb5,_0x1450c4);}}['_handleRevisionSelected'](_0x5eceeb,_0x3294ac){const _0x2dc0ff=this['_revisionsRepository']['getRevision'](_0x3294ac['id']),_0x268823=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2dc0ff['id']);this['_revisionViewer']['compare'](_0x2dc0ff,_0x268823);}['_handleRevisionSetName'](_0x3724cd,_0x4b5294){this['_revisionsRepository']['getRevision'](_0x4b5294['id'])['setName'](_0x4b5294['name']);}['_handleDiffChange'](_0x44cb8d,_0x3cb607,_0x3a46ca){const _0x3f79d1=this['_revisionsRepository']['getRevisionsInDiff'](_0x3a46ca);_0x3f79d1['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3f79d1),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3f79d1[0x0]));}['_createRevisionActions'](){const _0x2f412c=this['editor'],_0x18bfc4=_0x263ffe['availableRevisionActions'],_0x36e634=_0x2f412c['config']['get']('revisionHistory.revisionActions')||_0x263ffe['defaultRevisionActions'];if(_0x36e634['length'])return _0x36e634['map'](_0x36fbc1=>{const _0xa090b6='string'==typeof _0x36fbc1?Object['assign']({},_0x18bfc4[_0x36fbc1]):_0x36fbc1;return _0xa090b6['action']=_0xa090b6['action']['bind'](this,_0x2f412c),_0xa090b6['isVisible']&&(_0xa090b6['isVisible']=_0xa090b6['isVisible']['bind'](this,_0x2f412c)),_0xa090b6;});}}function _0x47a9c3(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x389972},_0x410377)=>{const _0x136401=_0x389972['get'](_0x235b39),_0x19ce2b=_0x136401['repository'];let _0x31bafb=_0x136401['diff']['newRevisionId'],_0x4f8b9e=_0x410377['id'];_0x19ce2b['getIndex'](_0x31bafb)>_0x19ce2b['getIndex'](_0x4f8b9e)&&([_0x31bafb,_0x4f8b9e]=[_0x4f8b9e,_0x31bafb]),_0x136401['compare'](_0x31bafb,_0x4f8b9e);},'isVisible':({plugins:_0x5ddda2},_0x903fd0)=>{const _0x758bde=_0x5ddda2['get'](_0x235b39);return!(_0x758bde['repository']['getRevisionsInDiff'](_0x758bde['diff'])['length']>0x2)&&!_0x903fd0['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x25fb8b,{id:_0x27763f})=>{_0x25fb8b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x27763f);},'isVisible':({plugins:_0x3dd513},_0x4bc41f)=>!!_0x3dd513['get'](_0x235b39)['repository']['getLaterVisibleRevision'](_0x4bc41f['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x539845},{id:_0x17494d,revisionNameView:_0x14ce45})=>{const _0x378f24=_0x539845['get'](_0x235b39),_0x4d4781=_0x378f24['repository']['getEarlierVisibleRevision'](_0x17494d);_0x378f24['compare'](_0x17494d,_0x4d4781),_0x14ce45['focus'](),_0x14ce45['fieldView']['select']();}}};}class RevisionViewerEditorUI extends _0x31c75c['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x537ce0,_0x523885){super(_0x537ce0),this['_view']=_0x523885,this['_toolbarConfig']=_0x31c75c['normalizeToolbarConfig'](_0x537ce0['config']['get']('toolbar')),this['_elementReplacer']=new _0x31c75c['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x5f230a){const _0x257cfc=this['editor'],_0x446d94=this['view'],_0x1ffb07=_0x257cfc['editing']['view'],_0x1f7c90=_0x446d94['editable'],_0x5af3f4=_0x1ffb07['document']['getRoot']();_0x1f7c90['name']=_0x5af3f4['rootName'],_0x446d94['render']();const _0x3da44d=_0x1f7c90['element'];this['setEditableElement'](_0x1f7c90['name'],_0x3da44d),_0x446d94['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1ffb07['attachDomRoot'](_0x3da44d),this['_elementReplacer']['replace'](_0x5f230a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x53bed5=this['view'],_0x5e87b2=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5e87b2['detachDomRoot'](_0x53bed5['editable']['name']),_0x53bed5['destroy']();}['_initToolbar'](){const _0x1867cf=this['view'];_0x1867cf['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1867cf['stickyPanel']['limiterElement']=_0x1867cf['element'],_0x1867cf['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x39f744})=>_0x39f744),_0x1867cf['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1867cf['toolbar']);}}class RevisionViewerEditorUIView extends _0x31c75c['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x58ad06,_0x2f4398,_0x1b5c0c={}){super(_0x58ad06),this['stickyPanel']=new _0x31c75c['StickyPanelView'](_0x58ad06),this['toolbar']=new _0x31c75c['ToolbarView'](_0x58ad06,{'shouldGroupWhenFull':_0x1b5c0c['shouldToolbarGroupWhenFull']}),this['_editable']=new _0x31c75c['InlineEditableUIView'](_0x58ad06,_0x2f4398);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x31c75c['ElementApiMixin'](_0x31c75c['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x5c490c,_0x3c3122){super(_0x3c3122),this['sourceElement']=_0x5c490c,this['model']['document']['createRoot']();const _0x1f3e53=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x1f3e53);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x51dcc4,_0x45ba5b){const _0x35ba0f=new this(_0x51dcc4,_0x45ba5b);return await _0x35ba0f['initPlugins'](),await _0x35ba0f['ui']['init'](_0x51dcc4),await _0x35ba0f['data']['init'](_0x35ba0f['config']['get']('initialData')||''),_0x35ba0f['fire']('ready'),_0x35ba0f;}}const _0x2680b0=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x31c75c['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1d5158){function _0x25c9b4(_0x28572f){return _0x28572f['map'](_0x30fd7f=>String['fromCharCode'](_0x30fd7f))['join']('');}super(_0x1d5158),this['result']='end',_0x1d5158[_0x25c9b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25c9b4([0x76,0x69,0x65,0x77])][_0x25c9b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25c9b4([0x61,0x75,0x74,0x6f]),_0x1d5158[_0x25c9b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x25c9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25c9b4([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x25c9b4([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x25c9b4([0x6f,0x6b])});}}class RevisionHistory extends _0x31c75c['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x707d6f,RevisionHistoryUI];}constructor(_0x2b74de){if(super(_0x2b74de),!this['editor']['config']['get']('revisionHistory'))throw new _0x31c75c['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4d90bd=>this['_showRevisionViewer']({..._0x4d90bd,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x76e843=>this['_closeRevisionViewer'](_0x76e843)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x20f714=>this['_restoreRevision'](_0x20f714)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2d84d3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2d84d3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5ef695){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5ef695);}['getRevision'](_0x5998dc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5998dc);}['getRevisions'](_0x3ab096){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3ab096||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x37ebae=this['editor'],_0x4ecbf8=_0x138900(_0x37ebae,_0x2680b0),_0x4fc75b=_0x37ebae['plugins']['get']('RevisionTracker'),_0x11f298=_0x37ebae['plugins']['get'](_0x1eec90)['users'];_0x4ecbf8['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4ecbf8['lazyRoots'];class RevisionViewerInit extends _0x31c75c['Plugin']{static get['requires'](){return[_0x235b39,_0x1eec90];}['init'](){const _0xe9ed89=this['editor']['plugins']['get'](_0x1eec90);for(const _0x581b39 of _0x11f298)_0x581b39['isAnonymous']||_0xe9ed89['getUser'](_0x581b39['id'])||_0xe9ed89['addUser'](_0x581b39);const _0x49d1e0=_0x4fc75b['repository']['getRevisions']();let _0xc7b16c=null;const _0x4471ae=this['editor']['plugins']['get']('RevisionViewer');_0x4471ae['adapter']=_0x4fc75b['adapter'],_0x4471ae['bind']('isEnabled')['to'](_0x4fc75b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x37ebae,'isReadOnly',_0x4d49a5=>!_0x4d49a5);for(const _0x3b2b6f of _0x49d1e0){const _0xd0f2c2=null===_0x3b2b6f['creator'];if(_0xd0f2c2&&_0x3b2b6f['toVersion']===_0x3b2b6f['fromVersion'])continue;const _0x375c12=_0x3b2b6f['toJSON']();_0x4471ae['addRevisionData'](_0x375c12,(_0x139478,_0x342619,_0x373f1f)=>{if(_0xd0f2c2){if(_0xc7b16c)_0xc7b16c['_update'](_0x139478,_0x342619);else{if(!_0x342619){const _0x1f8667=_0x373f1f['toJSON']();_0x1f8667['id']=_0x31c75c['uid'](),_0x4fc75b['saveRevision'](_0x1f8667,_0x373f1f['toVersion'])['then'](_0x31258b=>{_0xc7b16c=_0x31258b;});}}}else _0x3b2b6f['_update'](_0x139478,_0x342619);});}}}return _0x4ecbf8['plugins']['push'](RevisionViewerIntegration,_0x235b39,_0x4cc957,RevisionViewerInit,_0x263ffe),_0x4ecbf8;}['_enhanceShowRevisionViewerCallback'](){const _0x14745b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3a8c33=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x2d786c=this['editor']['plugins']['get']('Autosave');await _0x2d786c['save']();}else await _0x3a8c33['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x97682e=this['editor']['plugins']['get']('Dialog');_0x97682e['isOpen']&&_0x97682e['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x914556=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x5b6811 of _0x914556)_0x5b6811['class']=_0x5b6811['class']?_0x5b6811['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x36855e=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x36855e&&_0x36855e['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x2ef451=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x2ef451&&_0x2ef451['setAttribute']('tabindex','-1');}}const _0x21a610=this['_getRevisionViewerEditorConfig']();return _0x14745b(_0x21a610)['then'](_0x2a19b0=>{return(this['_viewerEditor']=_0x2a19b0,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),(this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']='none'),_0x2a19b0);})['catch'](_0x4c5373=>(console['error'](_0x4c5373),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x317805=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>{if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']=''),this['editor']['plugins']['has']('AITabs')){const _0x49180a=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x3570c4 of _0x49180a)_0x3570c4['class']='ck-tab-panel_disabled'===_0x3570c4['class']?'':_0x3570c4['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x31a001=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x31a001&&_0x31a001['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x544d68=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x544d68&&_0x544d68['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x317805(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x52afea=this['editor']['plugins']['get']('Annotations');_0x52afea['refreshVisibility'](),_0x52afea['refreshPositioning']();}});});}['_showRevisionViewer'](_0x2d78ed){const _0x484ef9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x140c46=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4c8d15=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x4c8d15,_0x2d78ed)['then'](_0x47c7dc=>(_0x140c46['style']['display']='block',_0x484ef9['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x47c7dc));}['_closeRevisionViewer'](_0x1e2315){const _0x2b7bd5=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2b7bd5['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x1e2315['destroy']();}async['_restoreRevision'](_0x3e8ff1){const _0x15013c=this['editor'],_0x53bdae=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x282e2d=_0x15013c['plugins']['get']('RevisionTracker'),_0x4aa8d9=_0x15013c['plugins']['get']('RevisionHistoryUtils'),_0x177316=_0x53bdae['repository']['getRevision'](_0x3e8ff1);let _0x2962f9,_0x4ad3b6,_0x2d0466;try{await _0x4aa8d9['loadRevisionData'](_0x177316,this['adapter']),_0x2962f9=_0x4aa8d9['getRevisionDocumentData'](_0x177316),_0x4ad3b6=_0x4aa8d9['getRevisionRootsAttributes'](_0x177316);}catch(_0x4ed06e){return void console['error'](_0x4ed06e);}_0x15013c['model']['change'](_0x36de5b=>{for(const _0x568244 of Array['from'](_0x15013c['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x36de5b['removeMarker'](_0x568244);}),_0x53bdae['isReady']=!0x1,_0x15013c['model']['enqueueChange'](_0x4bbc60=>{_0x4bbc60['setSelection'](null),_0x4bbc60['removeSelectionAttribute'](_0x15013c['model']['document']['selection']['getAttributeKeys']());const _0x194e55=Object['keys'](_0x2962f9);for(const _0x2d273b of _0x15013c['model']['document']['roots'])'$graveyard'!=_0x2d273b['rootName']&&_0x2d273b['isAttached']()&&!_0x194e55['includes'](_0x2d273b['rootName'])&&_0x4bbc60['detachRoot'](_0x2d273b);for(const _0x211a24 of _0x194e55){let _0x2bc339=_0x15013c['model']['document']['getRoot'](_0x211a24);_0x2bc339&&_0x2bc339['isAttached']()||(_0x2bc339=_0x4bbc60['addRoot'](_0x211a24));const _0x3c4909=_0x4ad3b6[_0x211a24],_0x36a4a6=Object['keys'](_0x3c4909),_0x48706d=_0x2962f9[_0x211a24];for(const _0x100755 of _0x2bc339['getAttributeKeys']())_0x36a4a6['includes'](_0x100755)||_0x4bbc60['removeAttribute'](_0x100755,_0x2bc339);for(const _0x50f6d4 of _0x36a4a6)_0x4bbc60['setAttribute'](_0x50f6d4,_0x4ad3b6[_0x211a24][_0x50f6d4],_0x2bc339);_0x4bbc60['remove'](_0x4bbc60['createRangeIn'](_0x2bc339)),_0x4bbc60['insert'](_0x15013c['data']['parse'](_0x48706d,_0x2bc339),_0x2bc339,0x0);}});const _0x1644d2=_0x1e0723(_0x15013c['locale'],'Restored');if(_0x177316['name'])_0x2d0466=-0x1==_0x177316['name']['indexOf'](_0x1644d2)?_0x1644d2+':\x20'+_0x177316['name']:_0x177316['name'];else _0x2d0466=_0x1644d2+':\x20'+(_0x177316['createdAt']['toLocaleDateString'](_0x15013c['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x177316['createdAt']['toLocaleTimeString'](_0x15013c['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x282e2d['saveRevision']({'name':_0x2d0466}),_0x53bdae['isReady']=!0x0,_0x15013c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class CloudServicesRevisionHistoryAdapter extends _0x31c75c['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,RevisionHistory,_0xcad824,_0x1eec90];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x385d49){super(_0x385d49);const _0x14f5bb=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x14f5bb);}async['init'](){const _0x194f0b=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x3af7dc=_0x194f0b['serverHistory'],_0x1aacd8=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x3af7dc,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x194f0b['sessionId']});const _0x1fbd68=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x31c75c['version'],_0x258451=await EditorService['isBundleUploaded'](_0x1aacd8['connection'],_0x1fbd68);this['editor']['plugins']['get'](RevisionHistory)['adapter']={'getRevision':async({revisionId:_0x2ef8f4})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x2ef8f4)),'updateRevisions':async _0x3f4376=>{await this['_waitForServiceReady']();const _0x7fea56=this['_revisionTracker']['currentRevision'];if(_0x258451&&0x1===_0x3f4376['length']&&_0x3f4376[0x0]['id']===_0x7fea56['id'])return _0x3f4376;for(const _0x3f4c11 of _0x3f4376)_0x3f4c11['id']===_0x7fea56['id']&&(_0x3f4c11['isEmptyCurrent']=_0x3f4c11['fromVersion']===_0x3f4c11['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x3f4376,this['_lastRequestId'])['then'](_0x1b05c9=>(this['_lastRequestId']=_0x1b05c9,_0x3f4376))['catch'](_0x2e4295=>{if(_0x4bc2b0(_0x2e4295)||'400'===_0x2e4295['code']&&void 0x0!==_0x2e4295['data']['wrongRequestId']){for(const _0x5f4f1a of _0x3f4376){!this['_revisionTracker']['repository']['getRevision'](_0x5f4f1a['id'])||this['_revisionTracker']['_bufferUpdate'](_0x5f4f1a['id'],_0x5f4f1a,!0x1);}if(_0x4bc2b0(_0x2e4295)&&'destroyed'!==this['editor']['state'])throw _0x2e4295;return _0x3f4376;}throw _0x2e4295;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x466332,{revisionsData:_0x1e949f,requestId:_0x4eddd5})=>{Math['max'](..._0x1e949f['map'](_0x7fff91=>_0x7fff91['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x1e949f,_0x4eddd5);}):this['_handleRevisionsUpdate'](_0x1e949f,_0x4eddd5);});const {revisions:_0x3db7f1,requestId:_0x1012ad}=await this['_revisionHistoryService']['connect'](_0x1aacd8['connection']);_0x1aacd8['addToReconnectionStack'](this),this['_lastRequestId']=_0x1012ad,await this['_fetchMissingUsers'](_0x3db7f1);for(const _0x48877f of _0x3db7f1)this['_revisionTracker']['addRevisionData'](_0x48877f);this['listenTo'](_0x194f0b,'change:_isConnected',(_0x2adc8b,_0xf258e1,_0x5f493a)=>{_0x5f493a&&(this['_oldOffset']=_0x194f0b['_offset'],_0x2adc8b['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x1aacd8,'state',_0x4c6a39=>_0x4c6a39===_0x507a0d);}async['reconnect'](){const _0x129a48=this['editor']['plugins']['get'](WebSocketGateway),_0x1a4d02=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x40959f=async()=>{const _0xbecb62=this['_revisionTracker']['currentRevision'],_0x1e9734=_0xbecb62['id'],_0x42f147=_0x1e9734!==_0x1a4d02['sessionId'];if(_0x42f147){const _0x509fa7=_0x1a4d02['_offset']-this['_oldOffset'],_0x2dde3d=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0xbecb62['toVersion']+_0x509fa7!==_0x2dde3d){const _0x59d903=_0xbecb62['fromVersion']+_0x509fa7,_0x15130a=this['editor']['plugins']['get'](_0x1eec90),_0x68e47d=this['_revisionTracker']['buildRevisionData']({'revision':_0xbecb62,'from':_0x59d903,'to':_0x2dde3d});_0x68e47d['id']=_0xbecb62['id'];const _0x1beaab=_0x68e47d['authorsIds']['map'](_0x88bac7=>_0x15130a['getUser'](_0x88bac7));_0xbecb62['_update']({..._0x68e47d,'authors':_0x1beaab},!0x0),this['_revisionTracker']['_bufferUpdate'](_0xbecb62['id'],_0x68e47d,!0x0);}this['_revisionTracker']['_startingVersion']=_0x2dde3d,(_0xbecb62['toVersion']===_0xbecb62['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x1e9734)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x1e9734),this['_revisionTracker']['_createCurrentRevision'](_0x2dde3d));}const {revisions:_0x1c7ee0,requestId:_0xbf295f}=await this['_revisionHistoryService']['reconnect'](_0x129a48['connection'],this['_lastRequestId']);_0x42f147&&_0x1c7ee0['length']>0x0?_0x1a4d02['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x1c7ee0),this['_handleRevisionsUpdate'](_0x1c7ee0,_0xbf295f),this['_revisionTracker']['sendBufferedUpdates']());};return _0x1a4d02['_isConnected']?_0x40959f():new Promise((_0x222b86,_0x3c44fc)=>{_0x1a4d02['once']('change:_isConnected',()=>{_0x40959f()['then'](_0x222b86)['catch'](_0x3c44fc);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x38a05d=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x179f91=>{_0x179f91['off'](),_0x38a05d();});});}['_getLatestVersionFromServerOperations'](){const _0x50743c=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x1740ed of _0x50743c)if('marker'!==_0x1740ed['type']||_0x1740ed['affectsData'])return _0x1740ed['baseVersion']+0x1;}['_getLatestVersion'](){const _0x5275ad=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x400bc8=>{_0x5275ad['_isPendingUpdate']?_0x5275ad['once']('change:_isPendingUpdate',()=>{_0x400bc8(this['_getLatestVersionFromServerOperations']());}):_0x400bc8(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x281219,_0x539ada){const _0x3504b1=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x539ada;for(const _0x38349b of _0x281219){const _0xb6b6f0=_0x3504b1['getRevision'](_0x38349b['id']);if(_0xb6b6f0){if((_0x38349b['fromVersion']||_0x38349b['toVersion'])&&(_0x38349b['diffData']=null),_0xb6b6f0===this['_revisionTracker']['currentRevision']){const _0x3b67f9=Math['max'](_0xb6b6f0['toVersion'],_0x38349b['toVersion']),_0x2eaa63=Math['max'](_0xb6b6f0['fromVersion'],_0x38349b['fromVersion']);let _0x250e16;_0xb6b6f0['toVersion']===_0x38349b['toVersion']&&_0xb6b6f0['fromVersion']===_0x38349b['fromVersion']?(_0x250e16=!0x0,this['_preventResendingRevisionData'](_0x38349b)):_0x38349b['toVersion']===_0x3b67f9&&_0x38349b['fromVersion']===_0x2eaa63?_0x250e16=!0x1:(_0xb6b6f0['toVersion']===_0x3b67f9&&_0xb6b6f0['fromVersion']===_0x2eaa63||this['_fixRevision']({'revision':_0xb6b6f0,'from':_0x2eaa63,'to':_0x3b67f9}),_0x250e16=!0x0),_0x250e16&&(delete _0x38349b['fromVersion'],delete _0x38349b['toVersion'],delete _0x38349b['diffData'],delete _0x38349b['createdAt'],delete _0x38349b['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x38349b),this['_preventResendingRevisionData'](_0x38349b);}else this['_revisionTracker']['addRevisionData'](_0x38349b);}const _0xec5a6c=_0x3504b1['getRevisions']();_0xec5a6c['reverse']();for(let _0x25d22f=0x0;_0x25d22f<_0xec5a6c['length']-0x1;_0x25d22f++){const _0x2923e5=_0xec5a6c[_0x25d22f],_0x4d7446=_0xec5a6c[_0x25d22f+0x1];if(_0x2923e5['fromVersion']<_0x4d7446['toVersion']){const _0x5b8533=_0x4d7446['toVersion'],_0x43fbb6=Math['max'](_0x5b8533,_0x2923e5['toVersion']);this['_fixRevision']({'revision':_0x2923e5,'from':_0x5b8533,'to':_0x43fbb6});}}}['_fixRevision']({revision:_0x3c4bdf,from:_0x480a15,to:_0x42857c}={}){const _0x501198=this['editor']['plugins']['get'](_0x1eec90),_0x33f7a9=this['_revisionTracker']['buildRevisionData']({'revision':_0x3c4bdf,'from':_0x480a15,'to':_0x42857c});_0x33f7a9['authors']=_0x33f7a9['authorsIds']['map'](_0x538d28=>_0x501198['getUser'](_0x538d28)),_0x3c4bdf['_update'](_0x33f7a9);}['_preventResendingRevisionData'](_0x331dd3){const _0x529716={};_0x529716['id']=_0x331dd3['id'];for(const _0x454424 of Object['keys'](_0x331dd3))'id'!==_0x454424&&(_0x529716[_0x454424]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x529716['id'],_0x529716,!0x0);}async['_fetchMissingUsers'](_0x49d623){const _0x3245f3=this['editor']['plugins']['get'](_0x1eec90),{connection:_0x161215}=this['editor']['plugins']['get'](WebSocketGateway),_0x36fe87=new Set();for(const _0x1cb958 of _0x49d623){for(const _0x1a90af of _0x1cb958['authorsIds'])_0x3d56b6(_0x1a90af);_0x1cb958['creatorId']&&_0x3d56b6(_0x1cb958['creatorId']);}if(0x0===_0x36fe87['size'])return;const _0x3e0f1e=await _0x49d5ab['getMany'](_0x161215,Array['from'](_0x36fe87));for(const _0x4dfe19 of _0x3e0f1e)_0x3245f3['getUser'](_0x4dfe19['id'])||_0x3245f3['addUser'](_0x4dfe19);function _0x3d56b6(_0x3baa06){_0x3245f3['getUser'](_0x3baa06)||_0x36fe87['add'](_0x3baa06);}}}function _0x4bc2b0(_0x14c59f){return _0x14c59f['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x14c59f['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x14c59f['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x31c75c['Plugin']{static get['requires'](){return[RevisionHistory,CloudServicesRevisionHistoryAdapter,RealTimeCollaborativeEditing];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PresenceCounterView extends _0x31c75c['View']{['_collapseAt'];constructor(_0x403adf,_0x5bcdb9=0x6){super(_0x403adf);const _0x2e36c2=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x5bcdb9,this['bind']('isHidden')['to'](this,'usersCount',_0x5db5c2=>_0x5db5c2<_0x5bcdb9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x2e36c2['if']('isHidden','ck-presence-list__counter--hidden')],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter']},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter__text']},'children':[{'text':_0x2e36c2['to']('usersCount',_0x3735a3=>'+'+(_0x3735a3-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0x31c75c['View']{['items'];['keystrokes'];constructor(_0x3c4720){super(_0x3c4720);const _0x38ff7f=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x31c75c['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x38ff7f['if']('hasPopup'),'aria-expanded':_0x38ff7f['to']('isExpanded',_0x345247=>this['hasPopup']&&String(_0x345247)),'aria-label':_0x38ff7f['to']('hasPopup',_0xba0d3d=>_0x289de6(_0x3c4720,_0xba0d3d?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x38ff7f['to']('hasPopup',_0x40eef2=>!!_0x40eef2&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x38ff7f['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x38ff7f['to'](_0xd7b476=>{const _0x87b6ce=_0xd7b476,_0x880287=document['querySelector']('.ck-presence-list__dropdown-list'),_0x4bc042=document['querySelector']('.ck-balloon-panel_with-arrow');_0x880287?.['contains'](_0x87b6ce['relatedTarget'])||_0x4bc042?.['contains'](_0x87b6ce['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x27c5c1,_0x21eeab,_0xbdf66e)=>{this['element']&&(_0xbdf66e?this['element']['setAttribute']('aria-expanded',String(this['isExpanded'])):this['element']['removeAttribute']('aria-expanded'));});}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']);}}class PresenceListView extends _0x31c75c['View']{['counterView'];['inlineListView'];constructor(_0x1fbbc1,_0x9fc3c=0x6){super(_0x1fbbc1);const _0x4a06ee=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x9fc3c),this['inlineListView']=new PresenceInlineListView(_0x1fbbc1),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x54dbac of this['inlineListView']['items'])_0x54dbac['tooltipPosition']='s';this['inlineListView']['items']['first']&&(this['inlineListView']['items']['first']['tooltipPosition']='se');}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list','ck-reset','ck-rounded-corners',_0x4a06ee['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0x31c75c['View']{['listWrapperView'];constructor(_0x152b5b,_0x1e54c7){super(_0x152b5b);const _0x5a4843=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x152b5b,_0x1e54c7),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_0x289de6(_0x152b5b,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x5a4843['to'](_0x53668d=>{const _0x387653=_0x53668d,_0x60d445=document['querySelector']('.ck-presence-list__list'),_0xb5e160=document['querySelector']('.ck-balloon-panel_with-arrow');_0x60d445?.['contains'](_0x387653['relatedTarget'])||_0xb5e160?.['contains'](_0x387653['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0x31c75c['ListView']{constructor(_0x976103,_0x4bfa2d){super(_0x976103);const _0x470132=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x4bfa2d?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x470132['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x470132['to']('role'),'aria-label':_0x470132['to']('ariaLabel'),'aria-labelledby':_0x470132['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x31c75c['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x4df80e=this['element'];_0x4df80e&&(this['_isScrollable']=Math['max'](_0x4df80e['scrollHeight'],_0x4df80e['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0x31c75c['ListItemView']{['userView'];constructor(_0x19fdb8,_0x16231e,_0x8e5251){super(_0x19fdb8);const _0x1767a6=this['bindTemplate'];this['userView']=new _0x4a5e55(_0x19fdb8,_0x16231e);const _0x23d1f3={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x16231e['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x16231e['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x16231e['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x16231e['color']['getColorVariable'](),'--ck-user-color-alpha':_0x16231e['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x8e5251&&(_0x23d1f3['tag']='button',_0x23d1f3['on']={'click':_0x1767a6['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x23d1f3);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0x31c75c['View']{['userView'];['markerView'];constructor(_0x16e78d,_0x89905d,_0x394569){super(_0x16e78d);const _0x3f1e87=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x4a5e55(_0x16e78d,_0x89905d),this['markerView']=new _0x3a3cfc(_0x16e78d,_0x89905d);const _0x4edcfd=new _0x31c75c['LabelView'](_0x16e78d);_0x4edcfd['template']['tag']='span',_0x4edcfd['text']=_0x89905d['name'];const _0x856232={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x3f1e87['to']('isFocusable',_0x328087=>!!_0x328087&&0x0),'aria-labelledby':_0x4edcfd['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x3f1e87['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x3f1e87['to']('hasTooltip',_0x3cb8f2=>!_0x3cb8f2),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x4edcfd]};_0x394569&&(_0x856232['tag']='button',_0x856232['on']={'click':_0x3f1e87['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x856232);}}class _0x3a3cfc extends _0x31c75c['View']{constructor(_0x3cd912,_0x860ebd){super(_0x3cd912),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x860ebd['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x860ebd['color']['getColorVariable'](),'--ck-user-color-alpha':_0x860ebd['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}}const _0x21cf8a={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x31c75c['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3860ad){super(_0x3860ad),this['context']['config']['define']('presenceList',_0x21cf8a);const _0x194257=_0x3860ad['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x194257)throw new _0x31c75c['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x194257<0x1)throw new _0x31c75c['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0xcad824)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x31c75c['Collection'](),this['balloonPanelView']=new _0x31c75c['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0xcad824];}['init'](){for(const _0xf5d5ef of this['_allConnectedUsers'])this['_handleUserAdd'](_0xf5d5ef);this['listenTo'](this['_allConnectedUsers'],'add',(_0x59067e,_0x3f0f76)=>{this['_handleUserAdd'](_0x3f0f76);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x164b45,_0x39ffb4)=>{this['_handleUserRemove'](_0x39ffb4);});}['_createView'](){const _0x1145bd=this['context'],_0x421e55=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0xf2c14e=this['balloonPanelView'];if(!function(_0x3049c1){return function(_0x4d812c){return'object'==typeof _0x4d812c&&null!==_0x4d812c;}(_0x3049c1)&&0x1===_0x3049c1['nodeType']&&!yt(_0x3049c1);}(_0x1145bd['config']['get']('presenceList.container')))throw new _0x31c75c['CKEditorError']('presencelist-missing-container',this);return _0x421e55['counterView']['bind']('usersCount')['to'](this),_0x421e55['bind']('isCollapsed')['to'](this,'usersCount',_0x4447a9=>{const {collapseAt:_0x2f1249}=_0x1145bd['config']['get']('presenceList'),_0x10ef14=_0x4447a9>=_0x2f1249;if(_0x10ef14&&!_0x421e55['inlineListView']['items']['find'](_0x3fbbc1=>_0x3fbbc1 instanceof PresenceCounterView)){const _0x4a4687=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x4a4687&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x421e55['inlineListView']['items']['add'](_0x421e55['counterView']);}return _0x10ef14||this['hideDropdown'](),_0x10ef14;}),_0x421e55['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x350255=>{const _0x4d5767=_0x1145bd['config']['get']('presenceList'),_0x33668d=new PresenceInlineListItemView(_0x1145bd['locale'],_0x350255,!!_0x4d5767['onClick']);return _0x33668d['bind']('hasTooltip')['to'](_0x421e55,'isCollapsed',_0x59d4af=>!_0x59d4af),_0x33668d['bind']('isFocusable')['to'](_0x421e55,'isCollapsed',_0x27c80f=>!_0x27c80f),_0x4d5767['onClick']&&this['listenTo'](_0x33668d,'execute',()=>{this['view']['isCollapsed']||_0x4d5767['onClick'](_0x350255,_0x33668d['element']);}),_0x33668d;}),this['listenTo'](_0x421e55['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x421e55['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x421e55['inlineListView']['keystrokes']['set']('Enter',(_0x46c7a3,_0x3ad1ab)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x3ad1ab());}),_0x421e55['render'](),_0xf2c14e['render'](),_0x31c75c['clickOutsideHandler']({'emitter':_0x421e55,'activator':()=>_0xf2c14e['isVisible'],'contextElements':[_0xf2c14e['element'],_0x421e55['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x1145bd['config']['get']('presenceList.container')['appendChild'](_0x421e55['element']),this['_bodyCollection']=new _0x31c75c['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x421e55;}['_handleUserAdd'](_0x47c083){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x47c083['isMe'])return;const _0x860c35=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x860c35-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x18545a=_0x47c083['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x47c083,_0x18545a);}['_handleUserRemove'](_0x1a7c9a){this['usersCount']--;const {collapseAt:_0x271346}=this['context']['config']['get']('presenceList'),_0xc75e15=this['usersCount']>=_0x271346;if(this['currentDisplayedUsers']['get'](_0x1a7c9a['id']))this['currentDisplayedUsers']['remove'](_0x1a7c9a['id']);else{if(_0xc75e15&&this['currentDisplayedUsers']['length']+0x1===_0x271346-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0xc75e15?0x1:0x0)<this['usersCount']){for(const _0x159b3a of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x159b3a['id'])&&(this['currentDisplayedUsers']['add'](_0x159b3a,Math['min'](this['currentDisplayedUsers']['length']-(_0xc75e15?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0xc75e15?0x1:0x0)===_0x271346-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x5f1298=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x5f1298['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x2f1308}=this['presenceDropdownView'];_0x2f1308['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x50d4b3=>{if(!_0x5f1298['displayMe']&&_0x50d4b3['isMe'])return null;const _0x46af87=new PresenceDropdownListItemView(this['context']['locale'],_0x50d4b3,!!_0x5f1298['onClick']);return _0x5f1298['onClick']&&this['listenTo'](_0x46af87,'execute',()=>{_0x5f1298['onClick'](_0x50d4b3,_0x46af87['element']);}),_0x46af87;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x2f1308['focus'](),_0x2f1308['checkIfScrollable']();const _0x1b0c42=(_0x35f69c,_0x1c9080)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x1c9080();};_0x2f1308['keystrokes']['set']('Esc',_0x1b0c42),_0x2f1308['keystrokes']['set']('Shift+Tab',_0x1b0c42),_0x2f1308['keystrokes']['set']('Tab',(_0x485f9f,_0x22f29d)=>{!function(_0xfba065){const _0x3a30e9=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x1ef079=>_0x1ef079+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x3c7327=[...document['body']['querySelectorAll'](_0x3a30e9)]['filter'](_0x4b089c=>_0x4b089c===document['activeElement']||_0x4b089c['offsetWidth']+_0x4b089c['offsetHeight']>0x0)['sort']((_0x4ac27e,_0x345ad2)=>(_0x4ac27e['tabIndex']||0x0)-(_0x345ad2['tabIndex']||0x0)),_0x4ef5d5=_0x3c7327['indexOf'](_0xfba065),_0x5ed328=_0x3c7327[(_0x4ef5d5+0x1)%_0x3c7327['length']];_0x5ed328&&_0x5ed328['focus']();}(this['view']['element']),this['hideDropdown'](),_0x22f29d();}),_0x2f1308['focusTracker']['add'](this['view']['element']),_0x2f1308['focusTracker']['on']('change:isFocused',(_0x48bfaf,_0x564922,_0x22c53d)=>{_0x22c53d||this['hideDropdown']();});}['hideDropdown'](){this['presenceDropdownView']&&(this['view']['inlineListView']['isExpanded']=!0x1,this['balloonPanelView']['unpin'](),this['balloonPanelView']['content']['remove'](this['presenceDropdownView']),this['presenceDropdownView']['destroy'](),this['presenceDropdownView']=void 0x0);}['destroy'](){super['destroy'](),this['view']&&this['view']['isRendered']&&this['view']['destroy'](),this['_bodyCollection']&&(this['_bodyCollection']['detachFromDom'](),this['_bodyCollection']['destroy'](),this['_bodyCollection']=null);}}class PresenceList extends _0x31c75c['ContextPlugin']{static get['requires'](){return[_0xcad824,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x2066bb extends _0x31c75c['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18d4e2){super(_0x18d4e2),this['_allowedCommands']=null;}['afterInit'](){const _0x1db8b4=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x6876ed=function(_0x4cf02f){let _0x5175ad=['heading4','heading5','heading6'];if(_0x4cf02f){const _0xa2d1b3=_0x4cf02f['map'](_0x475e5b=>_0x475e5b['model']);_0x5175ad=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x130469=>!_0xa2d1b3['includes'](_0x130469));}return _0x5175ad;}(this['editor']['config']['get']('heading.options')),_0x296b12=this['getDefaultCommands']()['filter'](_0x3b69b8=>!_0x6876ed['includes'](_0x3b69b8['id']));let _0x19f9c1=_0x296b12['filter'](_0x3b6223=>!_0x1db8b4['includes'](_0x3b6223['commandName']));const _0x4a17=this['editor']['config']['get']('slashCommand.extraCommands');_0x4a17&&_0x4a17['length']&&(_0x19f9c1=_0x19f9c1['concat'](_0x4a17));const _0x27ad60=this['editor']['config']['get']('template.definitions');_0x27ad60&&_0x27ad60['length']&&(_0x19f9c1=_0x19f9c1['concat'](function(_0x27a9a1){return _0x27a9a1['map'](_0x3158c7=>{const {title:_0x4790f9,icon:_0x4589e8,description:_0x13135c,data:_0xdccab3}=_0x3158c7,_0x2fb229={'id':_0x2a384a(_0x4790f9,'template'),'commandName':'insertTemplate','execute':_0x1f12b2=>{_0x1f12b2['execute']('insertTemplate',_0xdccab3);},'description':_0x13135c,'icon':_0x4589e8,'title':_0x4790f9};return _0x4589e8&&(_0x2fb229['isIconColorInherited']=!0x1),_0x2fb229;});}(_0x27ad60)));const _0x162b33=this['editor']['config']['get']('style.definitions');_0x162b33&&_0x162b33['length']&&(_0x19f9c1=_0x19f9c1['concat'](function(_0xe87f68){return _0xe87f68['map'](_0x26ed66=>{const _0x19a5a8={'id':_0x2a384a(_0x26ed66['name'],'style'),'commandName':'style','execute':_0xdd541d=>{_0xdd541d['execute']('style',{'styleName':_0x26ed66['name']});},'isEnabled':_0x34f96e=>{const _0x2dfd94=_0x34f96e['commands']['get']('style');return _0x2dfd94['isEnabled']&&_0x2dfd94['enabledStyles']['includes'](_0x26ed66['name']);},'title':_0x26ed66['name']};return _0x19a5a8;});}(_0x162b33)));const _0x8f7872=_0x19f9c1['filter'](_0xaf33f0=>!_0xaf33f0['commandName']||void 0x0!==this['editor']['commands']['get'](_0xaf33f0['commandName'])),_0x7dda99=[];for(const _0x4d33b6 of _0x8f7872)_0x7dda99['push']({'id':_0x4d33b6['id'],'commandName':_0x4d33b6['commandName'],'title':'function'==typeof _0x4d33b6['title']?_0x4d33b6['title'](this['editor']):_0x4d33b6['title'],'description':_0x4d33b6['description'],'icon':_0x4d33b6['icon'],'isIconColorInherited':_0x4d33b6['isIconColorInherited'],'aliases':_0x4d33b6['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4d33b6),'execute':()=>this['_proxyExecute'](_0x4d33b6)});this['_allowedCommands']=_0x7dda99['sort'](_0x37409e),async function(_0x4d3562){const _0x2b133f=_0xd487b5([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x508cbf=0x305505ed,_0xf056dc=0x30528f85^_0x508cbf,_0xba5061=window[_0xd487b5([0x44,0x61,0x74,0x65])][_0xd487b5([0x6e,0x6f,0x77])](),_0x17753b=_0x4d3562[_0xd487b5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11dc14=new window[(_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59cbf4=>{_0x17753b[_0xd487b5([0x6f,0x6e,0x63,0x65])](_0xd487b5([0x72,0x65,0x61,0x64,0x79]),_0x59cbf4);}),_0x2bd3a1={[_0xd487b5([0x6b,0x74,0x79])]:_0xd487b5([0x45,0x43]),[_0xd487b5([0x75,0x73,0x65])]:_0xd487b5([0x73,0x69,0x67]),[_0xd487b5([0x63,0x72,0x76])]:_0xd487b5([0x50,0x2d,0x32,0x35,0x36]),[_0xd487b5([0x78])]:_0xd487b5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xd487b5([0x79])]:_0xd487b5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xd487b5([0x61,0x6c,0x67])]:_0xd487b5([0x45,0x53,0x32,0x35,0x36])},_0x407635=_0x17753b[_0xd487b5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd487b5([0x67,0x65,0x74])](_0xd487b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6355e8(){let _0x1b557a,_0x5befee=null,_0x4cae2d=null;try{if(_0x407635==_0xd487b5([0x47,0x50,0x4c]))return _0xd487b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b557a=_0x60787f(),!_0x1b557a)return _0xd487b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b557a[_0xd487b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cae2d=_0x9a9b18(_0x1b557a[_0xd487b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b557a[_0xd487b5([0x6a,0x74,0x69])])),await _0x552070()?_0x1f6075()?_0x29d714()?_0xd487b5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53b5f0()?(_0x1b557a[_0xd487b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd487b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5befee=_0x3ffadd(_0xd487b5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x794e3e()):_0xd487b5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd487b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd487b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd487b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29d714(){const _0x2e8a8e=[_0xd487b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd487b5([0x74,0x72,0x69,0x61,0x6c])][_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b557a[_0xd487b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xba5061/0x3e8:0xe10*_0xf056dc;return _0x1b557a[_0xd487b5([0x65,0x78,0x70])]<_0x2e8a8e;}function _0x1f6075(){const _0x33deef=_0x1b557a[_0xd487b5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33deef&&(!!_0x33deef[_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd487b5([0x2a]))||(!!_0x33deef[_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd487b5([0x53,0x43]))||(!!_0x33deef[_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd487b5([0x50,0x50]))||!(!_0x33deef[_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd487b5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2976c4()))));}function _0x53b5f0(){const _0x412ab9=_0x1b557a[_0xd487b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x412ab9||0x0==_0x412ab9[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3781b3}=new URL(window[_0xd487b5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x412ab9[_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3781b3))return!0x0;const _0x23445a=_0x3781b3[_0xd487b5([0x73,0x70,0x6c,0x69,0x74])](_0xd487b5([0x2e]));return _0x412ab9[_0xd487b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x903587=>_0x903587[_0xd487b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd487b5([0x2a])))[_0xd487b5([0x6d,0x61,0x70])](_0x12e956=>_0x12e956[_0xd487b5([0x73,0x70,0x6c,0x69,0x74])](_0xd487b5([0x2e])))[_0xd487b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f9fb1=>_0x3f9fb1[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23445a[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd487b5([0x6d,0x61,0x70])](_0x1f23d1=>Array(_0x23445a[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f23d1[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd487b5([0x66,0x69,0x6c,0x6c])](_0x1f23d1[0x0]===_0xd487b5([0x2a])?_0xd487b5([0x2a]):'')[_0xd487b5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f23d1))[_0xd487b5([0x73,0x6f,0x6d,0x65])](_0x470952=>_0x23445a[_0xd487b5([0x65,0x76,0x65,0x72,0x79])]((_0x196d2d,_0x3bd92e)=>_0x470952[_0x3bd92e]===_0x196d2d||_0x470952[_0x3bd92e]===_0xd487b5([0x2a])));}function _0x794e3e(){return _0x5befee&&_0x4cae2d?new window[(_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xaec5e6,_0x10822c)=>{_0x5befee[_0xd487b5([0x74,0x68,0x65,0x6e])](_0xaec5e6,_0x10822c),_0x4cae2d[_0xd487b5([0x74,0x68,0x65,0x6e])](_0x100c59=>{_0x100c59!=_0xd487b5([0x56,0x61,0x6c,0x69,0x64])&&_0xaec5e6(_0x100c59);},_0x10822c);}):_0x5befee||_0x4cae2d||_0xd487b5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9a9b18(_0x3fd902,_0x108116){return new window[(_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f414d=>{if(_0x567e9a())return _0x4f414d(_0xd487b5([0x56,0x61,0x6c,0x69,0x64]));_0x56b76c(),_0x17753b[_0xd487b5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd487b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x493b39=!0x1;const _0x190648=_0x31c75c['uid']();function _0xe493ac(_0x27d30e){return!!_0x27d30e&&(typeof _0x27d30e===_0xd487b5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27d30e===_0xd487b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27d30e[_0xd487b5([0x74,0x68,0x65,0x6e])]===_0xd487b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27d30e[_0xd487b5([0x63,0x61,0x74,0x63,0x68])]===_0xd487b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b9899(_0x53d0c4){_0xc64887(_0x53d0c4)[_0xd487b5([0x74,0x68,0x65,0x6e])](_0x4d33ab=>{if(!_0x4d33ab||_0x4d33ab[_0xd487b5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd487b5([0x6f,0x6b]))return _0xd487b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41a322(_0x3a271c(_0x190648+_0x108116))!=_0x4d33ab[_0xd487b5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd487b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd487b5([0x56,0x61,0x6c,0x69,0x64]);})[_0xd487b5([0x74,0x68,0x65,0x6e])](_0x385acf=>(_0x1ebc52(),_0x385acf),()=>{const _0x31faff=_0x36a08f();return null==_0x31faff?(_0x1ebc52(),_0xd487b5([0x56,0x61,0x6c,0x69,0x64])):_0xd487b5(_0xba5061-_0x31faff>(0x145981ed^_0x508cbf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd487b5([0x74,0x68,0x65,0x6e])](_0x4f414d)[_0xd487b5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f414d(_0xd487b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fb37a=0x3063eb6d^_0x508cbf;function _0x1ebc52(){const _0x5c374a=_0xd487b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x41a322(_0x3a271c(_0x3fd902)),_0x60b7ad=_0x41b1b2(_0x41a322(window[_0xd487b5([0x4d,0x61,0x74,0x68])][_0xd487b5([0x63,0x65,0x69,0x6c])](_0xba5061/_0x4fb37a)));window[_0xd487b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd487b5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c374a,_0x60b7ad);}function _0x36a08f(){const _0xa9fa16=_0xd487b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x41a322(_0x3a271c(_0x3fd902)),_0x253ed3=window[_0xd487b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd487b5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa9fa16);return _0x253ed3?window[_0xd487b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41b1b2(_0x253ed3),0x10)*_0x4fb37a:null;}function _0xc64887(_0x236a53){return new window[(_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x273e50,_0x48605d)=>{_0x236a53[_0xd487b5([0x74,0x68,0x65,0x6e])](_0x273e50,_0x48605d),window[_0xd487b5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48605d,0x3054d12d^_0x508cbf);});}}_0x17753b[_0xd487b5([0x6f,0x6e])](_0xd487b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14acbd,_0x219d68)=>{if(_0x219d68[0x0]!=_0x3fd902)return _0x4f414d(_0xd487b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x219d68[0x1]={..._0x219d68[0x1],[_0xd487b5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x190648};},{[_0xd487b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd487b5([0x68,0x69,0x67,0x68])}),_0x17753b[_0xd487b5([0x6f,0x6e])](_0xd487b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bd7b6=>{_0xe493ac(_0x5bd7b6[_0xd487b5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x493b39=!0x0,_0x2b9899(_0x5bd7b6[_0xd487b5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd487b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd487b5([0x6c,0x6f,0x77])}),_0x11dc14[_0xd487b5([0x74,0x68,0x65,0x6e])](()=>{_0x493b39||_0x4f414d(_0xd487b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x567e9a(){return _0x17753b[_0xd487b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd487b5([0x76,0x69,0x65,0x77])][_0xd487b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd487b5([0x61,0x75,0x74,0x6f]);}function _0x56b76c(){_0x17753b[_0xd487b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd487b5([0x76,0x69,0x65,0x77])][_0xd487b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd487b5([0x61,0x75,0x74,0x6f]);}}function _0x3ffadd(_0x5a60a2){const _0x5817d1=[new window[(_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x945f34=>setTimeout(_0x945f34,0x305c3b21^_0x508cbf)),_0x11dc14[_0xd487b5([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455e3c=>{let _0x4b863e=0x0;_0x17753b[_0xd487b5([0x6d,0x6f,0x64,0x65,0x6c])][_0xd487b5([0x6f,0x6e])](_0xd487b5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6426de,_0x388d46)=>{_0x388d46[0x0][_0xd487b5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b863e++,_0x4b863e==(0x30550005^_0x508cbf)&&(_0x455e3c(),_0x6426de[_0xd487b5([0x6f,0x66,0x66])]());});}))];return window[_0xd487b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd487b5([0x72,0x61,0x63,0x65])](_0x5817d1)[_0xd487b5([0x74,0x68,0x65,0x6e])](()=>_0x5a60a2);}async function _0x42153f(){await _0x11dc14,_0x17753b[_0xd487b5([0x6d,0x6f,0x64,0x65,0x6c])][_0xd487b5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d163e,_0x17753b[_0xd487b5([0x6d,0x6f,0x64,0x65,0x6c])][_0xd487b5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d163e,_0x17753b[_0xd487b5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd487b5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2976c4(){return window[_0xd487b5([0x67,0x6c,0x6f,0x62])]&&window[_0xd487b5([0x67,0x6c,0x6f,0x62])][_0xd487b5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x16d80e(_0x1751dc){const _0x5a0665=_0x2306e5();_0x17753b[_0x5a0665]=_0xd487b5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1751dc,_0x1751dc!=_0xd487b5([0x56,0x61,0x6c,0x69,0x64])&&_0x42153f();}function _0x2306e5(){const _0x31e3c2=window[_0xd487b5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd487b5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd487b5([0x6e,0x6f,0x77])]())[_0xd487b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd487b5([0x2e]),'');let _0x87e441=_0xd487b5([0x75]);for(let _0x4dad16=0x0;_0x4dad16<_0x31e3c2[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dad16+=0x2){let _0x3f6cb9=window[_0xd487b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31e3c2[_0xd487b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dad16,_0x4dad16+0x2));_0x3f6cb9>=_0x2b133f[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f6cb9-=_0x2b133f[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x87e441+=_0x2b133f[_0x3f6cb9];}return _0x87e441;}function _0x60787f(){const _0x1c7f84=_0x407635[_0xd487b5([0x73,0x70,0x6c,0x69,0x74])](_0xd487b5([0x2e]));if(0x3!=_0x1c7f84[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2eeba7(_0x1c7f84[0x1]);function _0x2eeba7(_0x127218){const _0x3415e6=_0x24576e(_0x127218);return _0x3415e6&&_0x4a0373()?_0x3415e6:null;function _0x4a0373(){const _0x40caa7=_0x3415e6[_0xd487b5([0x6a,0x74,0x69])],_0x2a75b6=window[_0xd487b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40caa7[_0xd487b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40caa7[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16ab7b={..._0x3415e6,[_0xd487b5([0x6a,0x74,0x69])]:_0x40caa7[_0xd487b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40caa7[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16ab7b[_0xd487b5([0x76,0x63])],_0x3a271c(_0x16ab7b)==_0x2a75b6;}}}async function _0x552070(){let _0x224072=!0x0;try{const _0x339892=_0x407635[_0xd487b5([0x73,0x70,0x6c,0x69,0x74])](_0xd487b5([0x2e])),[_0x349b8e,_0x9da4ac,_0x4e1db8]=_0x339892;return _0x118d93(_0x349b8e),await _0xd2001d(_0x349b8e,_0x9da4ac,_0x4e1db8),_0x224072;}catch{return!0x1;}function _0x118d93(_0x30e3f7){const _0x3dffbe=_0x24576e(_0x30e3f7);_0x3dffbe&&_0x3dffbe[_0xd487b5([0x61,0x6c,0x67])]==_0xd487b5([0x45,0x53,0x32,0x35,0x36])||(_0x224072=!0x1);}async function _0xd2001d(_0x598499,_0x5e4d4e,_0x42da54){const _0x2403b8=window[_0xd487b5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd487b5([0x66,0x72,0x6f,0x6d])](_0x3f8351(_0x42da54),_0x3eb9d4=>_0x3eb9d4[_0xd487b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21e639=new window[(_0xd487b5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd487b5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x598499+_0xd487b5([0x2e])+_0x5e4d4e),_0x15d509=window[_0xd487b5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd487b5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15d509)return;const _0x3bece7=await _0x15d509[_0xd487b5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd487b5([0x6a,0x77,0x6b]),_0x2bd3a1,{[_0xd487b5([0x6e,0x61,0x6d,0x65])]:_0xd487b5([0x45,0x43,0x44,0x53,0x41]),[_0xd487b5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd487b5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd487b5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15d509[_0xd487b5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd487b5([0x6e,0x61,0x6d,0x65])]:_0xd487b5([0x45,0x43,0x44,0x53,0x41]),[_0xd487b5([0x68,0x61,0x73,0x68])]:{[_0xd487b5([0x6e,0x61,0x6d,0x65])]:_0xd487b5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3bece7,_0x2403b8,_0x21e639)||(_0x224072=!0x1);}}function _0x24576e(_0x32172a){return _0x32172a[_0xd487b5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd487b5([0x65,0x79]))?JSON[_0xd487b5([0x70,0x61,0x72,0x73,0x65])](_0x3f8351(_0x32172a)):null;}function _0x3f8351(_0x2f1ba7){return window[_0xd487b5([0x61,0x74,0x6f,0x62])](_0x2f1ba7[_0xd487b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd487b5([0x2b]))[_0xd487b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd487b5([0x2f])));}function _0x3a271c(_0x273eb9){let _0x193e0e=0x1505;function _0x4ff639(_0x306a7f){for(let _0x509697=0x0;_0x509697<_0x306a7f[_0xd487b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x509697++){const _0x23de99=_0x306a7f[_0xd487b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x509697);_0x193e0e=(_0x193e0e<<0x5)+_0x193e0e+_0x23de99,_0x193e0e&=_0x193e0e;}}function _0x532a8a(_0x3a1ac3){Array[_0xd487b5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a1ac3)?_0x3a1ac3[_0xd487b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x532a8a):_0x3a1ac3&&typeof _0x3a1ac3==_0xd487b5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd487b5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a1ac3)[_0xd487b5([0x73,0x6f,0x72,0x74])]()[_0xd487b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44e8f3,_0x248841])=>{_0x4ff639(_0x44e8f3),_0x532a8a(_0x248841);}):_0x4ff639(window[_0xd487b5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a1ac3));}return _0x532a8a(_0x273eb9),_0x193e0e>>>0x0;}function _0x41a322(_0x53565f){return _0x53565f[_0xd487b5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd487b5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd487b5([0x30]));}function _0x41b1b2(_0x233afe){return _0x233afe[_0xd487b5([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd487b5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd487b5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d163e(){}function _0xd487b5(_0x42cde6){return _0x42cde6['map'](_0x4e3d1f=>String['fromCharCode'](_0x4e3d1f))['join']('');}_0x16d80e(await _0x6355e8());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x4e494e=_0x3185fb=>function(_0x29b992,_0x32182a){const t=_0x29b992['t'],_0x1a0f47=_0x29b992['t'];switch(_0x32182a){case'AI\x20Assistant':return _0x1a0f47('AI\x20Assistant');case'Block\x20quote':return _0x1a0f47('Block\x20quote');case'Bulleted\x20List':return _0x1a0f47('Bulleted\x20List');case'Insert\x20code\x20block':return _0x1a0f47('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x1a0f47('Open\x20file\x20manager');case'Insert\x20image':return _0x1a0f47('Insert\x20image');case'Heading\x201':return _0x1a0f47('Heading\x201');case'Heading\x202':return _0x1a0f47('Heading\x202');case'Heading\x203':return _0x1a0f47('Heading\x203');case'Heading\x204':return _0x1a0f47('Heading\x204');case'Heading\x205':return _0x1a0f47('Heading\x205');case'Heading\x206':return _0x1a0f47('Heading\x206');case'Horizontal\x20line':return _0x1a0f47('Horizontal\x20line');case'Insert\x20HTML':return _0x1a0f47('Insert\x20HTML');case'Increase\x20indent':return _0x1a0f47('Increase\x20indent');case'Insert\x20table':return _0x1a0f47('Insert\x20table');case'Table\x20of\x20contents':return _0x1a0f47('Table\x20of\x20contents');case'Numbered\x20List':return _0x1a0f47('Numbered\x20List');case'Decrease\x20indent':return _0x1a0f47('Decrease\x20indent');case'Paragraph':return _0x1a0f47('Paragraph');case'To-do\x20List':return _0x1a0f47('To-do\x20List');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0x32182a;}}(this['editor']['locale'],_0x3185fb);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x31c75c['IconRobotPencil'],'title':_0x4e494e('AI\x20Assistant'),'description':_0x4e494e('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x305ddd=>{setTimeout(()=>_0x305ddd['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x31c75c['IconQuote'],'title':_0x4e494e('Block\x20quote'),'description':_0x4e494e('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x31c75c['IconBulletedList'],'title':_0x4e494e('Bulleted\x20List'),'description':_0x4e494e('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x31c75c['IconCodeBlock'],'title':_0x4e494e('Insert\x20code\x20block'),'description':_0x4e494e('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x31c75c['IconBrowseFiles'],'title':_0x4e494e('Open\x20file\x20manager'),'description':_0x4e494e('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x31c75c['IconBrowseFiles'],'title':_0x4e494e('Insert\x20image'),'description':_0x4e494e('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x31c75c['IconEmoji'],'title':_0x4e494e('Emoji'),'description':_0x4e494e('Insert\x20an\x20emoji'),'execute':_0x5281cc=>{setTimeout(()=>_0x5281cc['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x31c75c['IconHeading1'],'title':_0x4e494e('Heading\x201'),'description':_0x4e494e('Create\x20a\x20heading\x20level\x201'),'execute':_0x5763c1=>{_0x5763c1['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x31c75c['IconHeading2'],'title':_0x4e494e('Heading\x202'),'description':_0x4e494e('Create\x20a\x20heading\x20level\x202'),'execute':_0x44f1fe=>{_0x44f1fe['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x31c75c['IconHeading3'],'title':_0x4e494e('Heading\x203'),'description':_0x4e494e('Create\x20a\x20heading\x20level\x203'),'execute':_0x531a7a=>{_0x531a7a['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x31c75c['IconHeading4'],'title':_0x4e494e('Heading\x204'),'description':_0x4e494e('Create\x20a\x20heading\x20level\x204'),'execute':_0x3d2250=>{_0x3d2250['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x31c75c['IconHeading5'],'title':_0x4e494e('Heading\x205'),'description':_0x4e494e('Create\x20a\x20heading\x20level\x205'),'execute':_0x12e4eb=>{_0x12e4eb['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x31c75c['IconHeading6'],'title':_0x4e494e('Heading\x206'),'description':_0x4e494e('Create\x20a\x20heading\x20level\x206'),'execute':_0x4c7012=>{_0x4c7012['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x31c75c['IconHorizontalLine'],'title':_0x4e494e('Horizontal\x20line'),'description':_0x4e494e('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x31c75c['IconHtml'],'title':_0x4e494e('Insert\x20HTML'),'description':_0x4e494e('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x31c75c['IconIndent'],'title':_0x4e494e('Increase\x20indent'),'description':_0x4e494e('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x4e494e('Insert\x20Mermaid\x20diagram'),'description':_0x4e494e('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x31c75c['IconTable'],'title':_0x4e494e('Insert\x20table'),'description':_0x4e494e('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x31c75c['IconTableOfContents'],'title':_0x4e494e('Table\x20of\x20contents'),'description':_0x4e494e('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x31c75c['IconNumberedList'],'title':_0x4e494e('Numbered\x20List'),'description':_0x4e494e('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x31c75c['IconOutdent'],'title':_0x4e494e('Decrease\x20indent'),'description':_0x4e494e('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x31c75c['IconParagraph'],'title':_0x4e494e('Paragraph'),'description':_0x4e494e('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x31c75c['IconTodoList'],'title':_0x4e494e('To-do\x20List'),'description':_0x4e494e('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x31c75c['IconFootnote'],'title':_0x4e494e('Footnote'),'description':_0x4e494e('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x1b4360){return _0x1b4360['isEnabled']?_0x1b4360['isEnabled'](this['editor']):!_0x1b4360['commandName']||this['editor']['commands']['get'](_0x1b4360['commandName'])['isEnabled'];}['_proxyExecute'](_0x2e9f1f){if(_0x2e9f1f['execute'])_0x2e9f1f['execute'](this['editor']);else{if(!_0x2e9f1f['commandName'])throw new _0x31c75c['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2e9f1f});this['editor']['execute'](_0x2e9f1f['commandName']);}}}function _0x37409e(_0x177a89,_0x4209f9){return _0x177a89['title']<_0x4209f9['title']?-0x1:_0x177a89['title']>_0x4209f9['title']?0x1:0x0;}function _0x2a384a(_0x569a68,_0x10f394){return _0x10f394+'-'+_0x569a68['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2066bb];}['getMatchingCommands'](_0xf7d95c){const _0x45bb71=_0xf7d95c&&_0xf7d95c['toLowerCase']();let _0x15e958=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x15e958=_0x15e958['filter'](_0x5572c5=>_0x5572c5['isEnabled']()),_0x45bb71){const _0x1362b7=[],_0x559b4f=[],_0x1a706f=[],_0x23ce93=[];for(const _0x1b5768 of _0x15e958)_0x1b5768['id']['toLowerCase']()['includes'](_0x45bb71)?_0x1362b7['push'](_0x1b5768):_0x1b5768['title']['toLowerCase']()['includes'](_0x45bb71)?_0x559b4f['push'](_0x1b5768):_0x1b5768['aliases']&&_0x1b5768['aliases']['some'](_0x4b3947=>_0x4b3947['toLowerCase']()['includes'](_0x45bb71))?_0x1a706f['push'](_0x1b5768):_0x1b5768['description']&&_0x1b5768['description']['toLowerCase']()['includes'](_0x45bb71)&&_0x23ce93['push'](_0x1b5768);_0x15e958=_0x1362b7['concat'](_0x559b4f,_0x1a706f,_0x23ce93);}return _0x15e958;}}class SlashCommandButtonView extends _0x31c75c['ButtonView']{constructor(_0x16aa96,_0x217949){super(_0x16aa96),this['textPartView']=this['_createTextPartView'](_0x16aa96,_0x217949),void 0x0!==_0x217949['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x217949['isIconColorInherited']),this['set']({'icon':_0x217949['icon']||_0x31c75c['IconPlay'],'withText':!0x0,'label':_0x217949['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x312021,_0x34cc77){const _0x28813e=new _0x31c75c['View'](_0x312021);return _0x28813e['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x34cc77['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x34cc77['description']}]}]:[this['labelView']]}),_0x28813e;}}class _0x2de2d5 extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x557cdf){super(_0x557cdf),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3b6d7a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x105736;for(const _0x1c1e3a in _0x3b6d7a){const _0x69f6ce=_0x1c1e3a,_0x5cb06e=_0x3b6d7a[_0x69f6ce];if('slashCommandLicenseKeyValid'==_0x5cb06e||'slashCommandLicenseKeyInvalid'==_0x5cb06e||'slashCommandLicenseKeyExpired'==_0x5cb06e||'slashCommandLicenseKeyDomainLimit'==_0x5cb06e||'slashCommandLicenseKeyNotAllowed'==_0x5cb06e||'slashCommandLicenseKeyEvaluationLimit'==_0x5cb06e||'slashCommandLicenseKeyUsageLimit'==_0x5cb06e){delete _0x3b6d7a[_0x69f6ce],_0x105736=_0x5cb06e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x105736&&_0x3b6d7a['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x105736&&_0x3b6d7a['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x105736&&_0x3b6d7a['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x105736&&_0x3b6d7a['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x105736&&_0x3b6d7a['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x105736&&_0x3b6d7a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x43212b=this['editor'],_0x5bfdce=this['editor']['plugins']['get']('SlashCommandEditing'),_0x5a8f95=_0x43212b['config']['get']('mention.feeds');_0x5a8f95['push']({'marker':'/','feed':_0x3da8df=>_0x5bfdce['getMatchingCommands'](_0x3da8df),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x43212b['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x43212b['config']['set']('mention.feeds',_0x5a8f95);}['_overrideMentionExecuteListener'](){const _0x2d0778=this['editor'];_0x2d0778['commands']['get']('mention')['on']('execute',(_0x5a93d3,_0x100fd2)=>{const _0x4dfe1b=_0x100fd2[0x0],_0x303dee=_0x2d0778['model'];'/'===_0x4dfe1b['marker']&&_0x303dee['change'](_0x774e56=>{_0x774e56['remove'](_0x4dfe1b['range']),_0x4dfe1b['mention']['execute'](),_0x5a93d3['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x2bb759){const _0x2de7e9=this['editor']['locale'],_0x5730fd=new SlashCommandButtonView(_0x2de7e9,_0x2bb759);return _0x5730fd['render'](),_0x5730fd['element'];}}class _0x5e958d extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['Mention'],SlashCommandEditing,_0x2de2d5];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x2bf138(_0x3c1cb3,_0x3b610f){const t=_0x3c1cb3['t'];switch(_0x3b610f){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x3b610f;}}function _0x37e40e(_0x3cbf80){const _0xcc0536=_0x3cbf80['editing']['view']['document']['roots'],_0x1bb261=_0xcc0536['length'];if(0x0===_0x1bb261)throw new _0x31c75c['CKEditorError']('source-editing-enhanced-editor-no-root',_0x3cbf80);if(0x1===_0x1bb261)return _0xcc0536['first']['rootName'];return Array['from'](_0x3cbf80['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function tp(_0x1c088b){return _0x963765(_0x1c088b['replace'](/^[\n\s]*/g,''))?_0x1c088b['replace'](/\s+/g,''):_0x1c088b;}function _0x963765(_0x5f099e){return _0x5f099e['startsWith']('<');}let _0x26c0aa=[],_0x66d908=[];function _0x59ed83(_0xc2efd9){if(_0xc2efd9<0x300)return!0x1;for(let _0x499069=0x0,_0x2eecb0=_0x26c0aa['length'];;){let _0x27660d=_0x499069+_0x2eecb0>>0x1;if(_0xc2efd9<_0x26c0aa[_0x27660d])_0x2eecb0=_0x27660d;else{if(!(_0xc2efd9>=_0x66d908[_0x27660d]))return!0x0;_0x499069=_0x27660d+0x1;}if(_0x499069==_0x2eecb0)return!0x1;}}function _0x215f10(_0x358e14){return _0x358e14>=0x1f1e6&&_0x358e14<=0x1f1ff;}((()=>{let _0x46efaa='lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o'['split'](',')['map'](_0x34e5f1=>_0x34e5f1?parseInt(_0x34e5f1,0x24):0x1);for(let _0x43fccb=0x0,_0x575ccd=0x0;_0x43fccb<_0x46efaa['length'];_0x43fccb++)(_0x43fccb%0x2?_0x66d908:_0x26c0aa)['push'](_0x575ccd+=_0x46efaa[_0x43fccb]);})());function _0x4fe18b(_0x4f2b63,_0x1c824d,_0x28457a=!0x0,_0x57eda6=!0x0){return(_0x28457a?_0x2f43d9:_0x36621c)(_0x4f2b63,_0x1c824d,_0x57eda6);}function _0x2f43d9(_0x4e69a1,_0x25423c,_0x4e2095){if(_0x25423c==_0x4e69a1['length'])return _0x25423c;_0x25423c&&_0x46dc55(_0x4e69a1['charCodeAt'](_0x25423c))&&_0x3942c0(_0x4e69a1['charCodeAt'](_0x25423c-0x1))&&_0x25423c--;let _0x306fbb=_0x5f5e50(_0x4e69a1,_0x25423c);for(_0x25423c+=_0x7328e(_0x306fbb);_0x25423c<_0x4e69a1['length'];){let _0x3e82c2=_0x5f5e50(_0x4e69a1,_0x25423c);if(0x200d==_0x306fbb||0x200d==_0x3e82c2||_0x4e2095&&_0x59ed83(_0x3e82c2))_0x25423c+=_0x7328e(_0x3e82c2),_0x306fbb=_0x3e82c2;else{if(!_0x215f10(_0x3e82c2))break;{let _0x2ec5e1=0x0,_0x4e28e7=_0x25423c-0x2;for(;_0x4e28e7>=0x0&&_0x215f10(_0x5f5e50(_0x4e69a1,_0x4e28e7));)_0x2ec5e1++,_0x4e28e7-=0x2;if(_0x2ec5e1%0x2==0x0)break;_0x25423c+=0x2;}}}return _0x25423c;}function _0x36621c(_0x52e702,_0x3a14d9,_0x3b7b36){for(;_0x3a14d9>0x0;){let _0x316376=_0x2f43d9(_0x52e702,_0x3a14d9-0x2,_0x3b7b36);if(_0x316376<_0x3a14d9)return _0x316376;_0x3a14d9--;}return 0x0;}function _0x5f5e50(_0x96a190,_0x4ba213){let _0x33883e=_0x96a190['charCodeAt'](_0x4ba213);if(!_0x3942c0(_0x33883e)||_0x4ba213+0x1==_0x96a190['length'])return _0x33883e;let _0x2dd726=_0x96a190['charCodeAt'](_0x4ba213+0x1);return _0x46dc55(_0x2dd726)?_0x2dd726-0xdc00+(_0x33883e-0xd800<<0xa)+0x10000:_0x33883e;}function _0x46dc55(_0x4b53ae){return _0x4b53ae>=0xdc00&&_0x4b53ae<0xe000;}function _0x3942c0(_0x120b9e){return _0x120b9e>=0xd800&&_0x120b9e<0xdc00;}function _0x7328e(_0x3af1ff){return _0x3af1ff<0x10000?0x1:0x2;}let _0x9ec70d=class Text{['lineAt'](_0xe20df3){if(_0xe20df3<0x0||_0xe20df3>this['length'])throw new RangeError('Invalid\x20position\x20'+_0xe20df3+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0xe20df3,!0x1,0x1,0x0);}['line'](_0x2362e6){if(_0x2362e6<0x1||_0x2362e6>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x2362e6+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x2362e6,!0x0,0x1,0x0);}['replace'](_0x14c139,_0x2a4b2a,_0x3a009a){[_0x14c139,_0x2a4b2a]=_0x373580(this,_0x14c139,_0x2a4b2a);let _0x782f2=[];return this['decompose'](0x0,_0x14c139,_0x782f2,0x2),_0x3a009a['length']&&_0x3a009a['decompose'](0x0,_0x3a009a['length'],_0x782f2,0x3),this['decompose'](_0x2a4b2a,this['length'],_0x782f2,0x1),TextNode['from'](_0x782f2,this['length']-(_0x2a4b2a-_0x14c139)+_0x3a009a['length']);}['append'](_0x4aae60){return this['replace'](this['length'],this['length'],_0x4aae60);}['slice'](_0x3b8a69,_0x4aceae=this['length']){[_0x3b8a69,_0x4aceae]=_0x373580(this,_0x3b8a69,_0x4aceae);let _0x2e0861=[];return this['decompose'](_0x3b8a69,_0x4aceae,_0x2e0861,0x0),TextNode['from'](_0x2e0861,_0x4aceae-_0x3b8a69);}['eq'](_0x15eb65){if(_0x15eb65==this)return!0x0;if(_0x15eb65['length']!=this['length']||_0x15eb65['lines']!=this['lines'])return!0x1;let _0x1678f3=this['scanIdentical'](_0x15eb65,0x1),_0xb32fc8=this['length']-this['scanIdentical'](_0x15eb65,-0x1),_0x2e68ee=new RawTextCursor(this),_0x84bece=new RawTextCursor(_0x15eb65);for(let _0x33b799=_0x1678f3,_0x34e502=_0x1678f3;;){if(_0x2e68ee['next'](_0x33b799),_0x84bece['next'](_0x33b799),_0x33b799=0x0,_0x2e68ee['lineBreak']!=_0x84bece['lineBreak']||_0x2e68ee['done']!=_0x84bece['done']||_0x2e68ee['value']!=_0x84bece['value'])return!0x1;if(_0x34e502+=_0x2e68ee['value']['length'],_0x2e68ee['done']||_0x34e502>=_0xb32fc8)return!0x0;}}['iter'](_0x2e373b=0x1){return new RawTextCursor(this,_0x2e373b);}['iterRange'](_0x5e117f,_0x46f360=this['length']){return new PartialTextCursor(this,_0x5e117f,_0x46f360);}['iterLines'](_0x25b7a8,_0x232f5e){let _0x234224;if(null==_0x25b7a8)_0x234224=this['iter']();else{null==_0x232f5e&&(_0x232f5e=this['lines']+0x1);let _0x98fa02=this['line'](_0x25b7a8)['from'];_0x234224=this['iterRange'](_0x98fa02,Math['max'](_0x98fa02,_0x232f5e==this['lines']+0x1?this['length']:_0x232f5e<=0x1?0x0:this['line'](_0x232f5e-0x1)['to']));}return new _0x423d7a(_0x234224);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x35c89f=[];return this['flatten'](_0x35c89f),_0x35c89f;}constructor(){}static['of'](_0x22b2b3){if(0x0==_0x22b2b3['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x22b2b3['length']||_0x22b2b3[0x0]?_0x22b2b3['length']<=0x20?new TextLeaf(_0x22b2b3):TextNode['from'](TextLeaf['split'](_0x22b2b3,[])):Text['empty'];}};class TextLeaf extends _0x9ec70d{constructor(_0x715744,_0x46cf9d=function(_0x382bb2){let _0x490079=-0x1;for(let _0x222124 of _0x382bb2)_0x490079+=_0x222124['length']+0x1;return _0x490079;}(_0x715744)){super(),this['text']=_0x715744,this['length']=_0x46cf9d;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x38c4cf,_0x590d77,_0x41dff4,_0x348ef6){for(let _0x392fa1=0x0;;_0x392fa1++){let _0x5e9021=this['text'][_0x392fa1],_0xbfe502=_0x348ef6+_0x5e9021['length'];if((_0x590d77?_0x41dff4:_0xbfe502)>=_0x38c4cf)return new _0x4ae7c6(_0x348ef6,_0xbfe502,_0x41dff4,_0x5e9021);_0x348ef6=_0xbfe502+0x1,_0x41dff4++;}}['decompose'](_0x5ee321,_0x5ac6b9,_0x162725,_0x234c2b){let _0x242712=_0x5ee321<=0x0&&_0x5ac6b9>=this['length']?this:new TextLeaf(_0x1425b6(this['text'],_0x5ee321,_0x5ac6b9),Math['min'](_0x5ac6b9,this['length'])-Math['max'](0x0,_0x5ee321));if(0x1&_0x234c2b){let _0x5b304d=_0x162725['pop'](),_0x1f3133=_0x199fed(_0x242712['text'],_0x5b304d['text']['slice'](),0x0,_0x242712['length']);if(_0x1f3133['length']<=0x20)_0x162725['push'](new TextLeaf(_0x1f3133,_0x5b304d['length']+_0x242712['length']));else{let _0x23521f=_0x1f3133['length']>>0x1;_0x162725['push'](new TextLeaf(_0x1f3133['slice'](0x0,_0x23521f)),new TextLeaf(_0x1f3133['slice'](_0x23521f)));}}else _0x162725['push'](_0x242712);}['replace'](_0xc7e6c8,_0x51fe31,_0x1bd215){if(!(_0x1bd215 instanceof TextLeaf))return super['replace'](_0xc7e6c8,_0x51fe31,_0x1bd215);[_0xc7e6c8,_0x51fe31]=_0x373580(this,_0xc7e6c8,_0x51fe31);let _0x3613ef=_0x199fed(this['text'],_0x199fed(_0x1bd215['text'],_0x1425b6(this['text'],0x0,_0xc7e6c8)),_0x51fe31),_0x316a06=this['length']+_0x1bd215['length']-(_0x51fe31-_0xc7e6c8);return _0x3613ef['length']<=0x20?new TextLeaf(_0x3613ef,_0x316a06):TextNode['from'](TextLeaf['split'](_0x3613ef,[]),_0x316a06);}['sliceString'](_0x46cfe8,_0x2cd385=this['length'],_0x389aaa='\x0a'){[_0x46cfe8,_0x2cd385]=_0x373580(this,_0x46cfe8,_0x2cd385);let _0x17b00b='';for(let _0x3a4ec9=0x0,_0x57243b=0x0;_0x3a4ec9<=_0x2cd385&&_0x57243b<this['text']['length'];_0x57243b++){let _0x45bc5c=this['text'][_0x57243b],_0x4c2361=_0x3a4ec9+_0x45bc5c['length'];_0x3a4ec9>_0x46cfe8&&_0x57243b&&(_0x17b00b+=_0x389aaa),_0x46cfe8<_0x4c2361&&_0x2cd385>_0x3a4ec9&&(_0x17b00b+=_0x45bc5c['slice'](Math['max'](0x0,_0x46cfe8-_0x3a4ec9),_0x2cd385-_0x3a4ec9)),_0x3a4ec9=_0x4c2361+0x1;}return _0x17b00b;}['flatten'](_0x4dcfd0){for(let _0x9a0d4b of this['text'])_0x4dcfd0['push'](_0x9a0d4b);}['scanIdentical'](){return 0x0;}static['split'](_0x2e92b9,_0x5075db){let _0x5c9b61=[],_0x1d3d9e=-0x1;for(let _0x125f13 of _0x2e92b9)_0x5c9b61['push'](_0x125f13),_0x1d3d9e+=_0x125f13['length']+0x1,0x20==_0x5c9b61['length']&&(_0x5075db['push'](new TextLeaf(_0x5c9b61,_0x1d3d9e)),_0x5c9b61=[],_0x1d3d9e=-0x1);return _0x1d3d9e>-0x1&&_0x5075db['push'](new TextLeaf(_0x5c9b61,_0x1d3d9e)),_0x5075db;}}class TextNode extends _0x9ec70d{constructor(_0x3e9195,_0x3880e3){super(),this['children']=_0x3e9195,this['length']=_0x3880e3,this['lines']=0x0;for(let _0x372a47 of _0x3e9195)this['lines']+=_0x372a47['lines'];}['lineInner'](_0x5bb082,_0x3ec694,_0x1abebc,_0x50ca5d){for(let _0x2a5735=0x0;;_0x2a5735++){let _0x5b6f72=this['children'][_0x2a5735],_0x475b87=_0x50ca5d+_0x5b6f72['length'],_0x21b83f=_0x1abebc+_0x5b6f72['lines']-0x1;if((_0x3ec694?_0x21b83f:_0x475b87)>=_0x5bb082)return _0x5b6f72['lineInner'](_0x5bb082,_0x3ec694,_0x1abebc,_0x50ca5d);_0x50ca5d=_0x475b87+0x1,_0x1abebc=_0x21b83f+0x1;}}['decompose'](_0x5d7508,_0x3a78c1,_0x511c52,_0x2cc045){for(let _0x58ccdb=0x0,_0x4930c6=0x0;_0x4930c6<=_0x3a78c1&&_0x58ccdb<this['children']['length'];_0x58ccdb++){let _0x4db8d6=this['children'][_0x58ccdb],_0x4bf334=_0x4930c6+_0x4db8d6['length'];if(_0x5d7508<=_0x4bf334&&_0x3a78c1>=_0x4930c6){let _0x971a1a=_0x2cc045&((_0x4930c6<=_0x5d7508?0x1:0x0)|(_0x4bf334>=_0x3a78c1?0x2:0x0));_0x4930c6>=_0x5d7508&&_0x4bf334<=_0x3a78c1&&!_0x971a1a?_0x511c52['push'](_0x4db8d6):_0x4db8d6['decompose'](_0x5d7508-_0x4930c6,_0x3a78c1-_0x4930c6,_0x511c52,_0x971a1a);}_0x4930c6=_0x4bf334+0x1;}}['replace'](_0x4bc363,_0x312df2,_0x1411fe){if([_0x4bc363,_0x312df2]=_0x373580(this,_0x4bc363,_0x312df2),_0x1411fe['lines']<this['lines'])for(let _0x43532d=0x0,_0x3d8906=0x0;_0x43532d<this['children']['length'];_0x43532d++){let _0x30ff50=this['children'][_0x43532d],_0x2ae768=_0x3d8906+_0x30ff50['length'];if(_0x4bc363>=_0x3d8906&&_0x312df2<=_0x2ae768){let _0x2923b7=_0x30ff50['replace'](_0x4bc363-_0x3d8906,_0x312df2-_0x3d8906,_0x1411fe),_0x2989bc=this['lines']-_0x30ff50['lines']+_0x2923b7['lines'];if(_0x2923b7['lines']<_0x2989bc>>0x4&&_0x2923b7['lines']>_0x2989bc>>0x6){let _0x102a4e=this['children']['slice']();return _0x102a4e[_0x43532d]=_0x2923b7,new TextNode(_0x102a4e,this['length']-(_0x312df2-_0x4bc363)+_0x1411fe['length']);}return super['replace'](_0x3d8906,_0x2ae768,_0x2923b7);}_0x3d8906=_0x2ae768+0x1;}return super['replace'](_0x4bc363,_0x312df2,_0x1411fe);}['sliceString'](_0x5e3da6,_0x1f9003=this['length'],_0x1b4ae4='\x0a'){[_0x5e3da6,_0x1f9003]=_0x373580(this,_0x5e3da6,_0x1f9003);let _0x15d973='';for(let _0x1f0f37=0x0,_0x34c247=0x0;_0x1f0f37<this['children']['length']&&_0x34c247<=_0x1f9003;_0x1f0f37++){let _0x5825b7=this['children'][_0x1f0f37],_0x142355=_0x34c247+_0x5825b7['length'];_0x34c247>_0x5e3da6&&_0x1f0f37&&(_0x15d973+=_0x1b4ae4),_0x5e3da6<_0x142355&&_0x1f9003>_0x34c247&&(_0x15d973+=_0x5825b7['sliceString'](_0x5e3da6-_0x34c247,_0x1f9003-_0x34c247,_0x1b4ae4)),_0x34c247=_0x142355+0x1;}return _0x15d973;}['flatten'](_0x1f24ee){for(let _0xe4c4c5 of this['children'])_0xe4c4c5['flatten'](_0x1f24ee);}['scanIdentical'](_0x76043c,_0x5ab553){if(!(_0x76043c instanceof TextNode))return 0x0;let _0x2badb4=0x0,[_0x5097fd,_0x1e8fe6,_0x470efd,_0x9fa1c4]=_0x5ab553>0x0?[0x0,0x0,this['children']['length'],_0x76043c['children']['length']]:[this['children']['length']-0x1,_0x76043c['children']['length']-0x1,-0x1,-0x1];for(;;_0x5097fd+=_0x5ab553,_0x1e8fe6+=_0x5ab553){if(_0x5097fd==_0x470efd||_0x1e8fe6==_0x9fa1c4)return _0x2badb4;let _0x256a0e=this['children'][_0x5097fd],_0x4817fe=_0x76043c['children'][_0x1e8fe6];if(_0x256a0e!=_0x4817fe)return _0x2badb4+_0x256a0e['scanIdentical'](_0x4817fe,_0x5ab553);_0x2badb4+=_0x256a0e['length']+0x1;}}static['from'](_0x4d0aff,_0x215e8b=_0x4d0aff['reduce']((_0x728f6a,_0x3d4d8e)=>_0x728f6a+_0x3d4d8e['length']+0x1,-0x1)){let _0x595426=0x0;for(let _0x404c02 of _0x4d0aff)_0x595426+=_0x404c02['lines'];if(_0x595426<0x20){let _0x2ee094=[];for(let _0x1d74df of _0x4d0aff)_0x1d74df['flatten'](_0x2ee094);return new TextLeaf(_0x2ee094,_0x215e8b);}let _0x290a27=Math['max'](0x20,_0x595426>>0x5),_0x46c5d1=_0x290a27<<0x1,_0x5416d2=_0x290a27>>0x1,_0x4f79ac=[],_0x11402b=0x0,_0x181e10=-0x1,_0x3bd99a=[];function _0x5303f(_0x39d2ce){let _0x51052f;if(_0x39d2ce['lines']>_0x46c5d1&&_0x39d2ce instanceof TextNode){for(let _0x1f30ea of _0x39d2ce['children'])_0x5303f(_0x1f30ea);}else _0x39d2ce['lines']>_0x5416d2&&(_0x11402b>_0x5416d2||!_0x11402b)?(_0x2d3823(),_0x4f79ac['push'](_0x39d2ce)):_0x39d2ce instanceof TextLeaf&&_0x11402b&&(_0x51052f=_0x3bd99a[_0x3bd99a['length']-0x1])instanceof TextLeaf&&_0x39d2ce['lines']+_0x51052f['lines']<=0x20?(_0x11402b+=_0x39d2ce['lines'],_0x181e10+=_0x39d2ce['length']+0x1,_0x3bd99a[_0x3bd99a['length']-0x1]=new TextLeaf(_0x51052f['text']['concat'](_0x39d2ce['text']),_0x51052f['length']+0x1+_0x39d2ce['length'])):(_0x11402b+_0x39d2ce['lines']>_0x290a27&&_0x2d3823(),_0x11402b+=_0x39d2ce['lines'],_0x181e10+=_0x39d2ce['length']+0x1,_0x3bd99a['push'](_0x39d2ce));}function _0x2d3823(){0x0!=_0x11402b&&(_0x4f79ac['push'](0x1==_0x3bd99a['length']?_0x3bd99a[0x0]:TextNode['from'](_0x3bd99a,_0x181e10)),_0x181e10=-0x1,_0x11402b=_0x3bd99a['length']=0x0);}for(let _0x36c887 of _0x4d0aff)_0x5303f(_0x36c887);return _0x2d3823(),0x1==_0x4f79ac['length']?_0x4f79ac[0x0]:new TextNode(_0x4f79ac,_0x215e8b);}}function _0x199fed(_0x3b2533,_0x13d5db,_0x40ce67=0x0,_0x270ede=0x3b9aca00){for(let _0x5af339=0x0,_0x4f35cf=0x0,_0x163e42=!0x0;_0x4f35cf<_0x3b2533['length']&&_0x5af339<=_0x270ede;_0x4f35cf++){let _0x56c73d=_0x3b2533[_0x4f35cf],_0x4790cb=_0x5af339+_0x56c73d['length'];_0x4790cb>=_0x40ce67&&(_0x4790cb>_0x270ede&&(_0x56c73d=_0x56c73d['slice'](0x0,_0x270ede-_0x5af339)),_0x5af339<_0x40ce67&&(_0x56c73d=_0x56c73d['slice'](_0x40ce67-_0x5af339)),_0x163e42?(_0x13d5db[_0x13d5db['length']-0x1]+=_0x56c73d,_0x163e42=!0x1):_0x13d5db['push'](_0x56c73d)),_0x5af339=_0x4790cb+0x1;}return _0x13d5db;}function _0x1425b6(_0x171f7c,_0x422b0e,_0x805b2e){return _0x199fed(_0x171f7c,[''],_0x422b0e,_0x805b2e);}_0x9ec70d['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x143280,_0x310a81=0x1){this['dir']=_0x310a81,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x143280],this['offsets']=[_0x310a81>0x0?0x1:(_0x143280 instanceof TextLeaf?_0x143280['text']['length']:_0x143280['children']['length'])<<0x1];}['nextInner'](_0x3ef3cf,_0x4c7248){for(this['done']=this['lineBreak']=!0x1;;){let _0xa2cdb9=this['nodes']['length']-0x1,_0x59f3e8=this['nodes'][_0xa2cdb9],_0x397924=this['offsets'][_0xa2cdb9],_0x57a9db=_0x397924>>0x1,_0x2f2053=_0x59f3e8 instanceof TextLeaf?_0x59f3e8['text']['length']:_0x59f3e8['children']['length'];if(_0x57a9db==(_0x4c7248>0x0?_0x2f2053:0x0)){if(0x0==_0xa2cdb9)return this['done']=!0x0,this['value']='',this;_0x4c7248>0x0&&this['offsets'][_0xa2cdb9-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x397924)==(_0x4c7248>0x0?0x0:0x1)){if(this['offsets'][_0xa2cdb9]+=_0x4c7248,0x0==_0x3ef3cf)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x3ef3cf--;}else{if(_0x59f3e8 instanceof TextLeaf){let _0x148026=_0x59f3e8['text'][_0x57a9db+(_0x4c7248<0x0?-0x1:0x0)];if(this['offsets'][_0xa2cdb9]+=_0x4c7248,_0x148026['length']>Math['max'](0x0,_0x3ef3cf))return this['value']=0x0==_0x3ef3cf?_0x148026:_0x4c7248>0x0?_0x148026['slice'](_0x3ef3cf):_0x148026['slice'](0x0,_0x148026['length']-_0x3ef3cf),this;_0x3ef3cf-=_0x148026['length'];}else{let _0xa964d6=_0x59f3e8['children'][_0x57a9db+(_0x4c7248<0x0?-0x1:0x0)];_0x3ef3cf>_0xa964d6['length']?(_0x3ef3cf-=_0xa964d6['length'],this['offsets'][_0xa2cdb9]+=_0x4c7248):(_0x4c7248<0x0&&this['offsets'][_0xa2cdb9]--,this['nodes']['push'](_0xa964d6),this['offsets']['push'](_0x4c7248>0x0?0x1:(_0xa964d6 instanceof TextLeaf?_0xa964d6['text']['length']:_0xa964d6['children']['length'])<<0x1));}}}}}['next'](_0x1c1fa7=0x0){return _0x1c1fa7<0x0&&(this['nextInner'](-_0x1c1fa7,-this['dir']),_0x1c1fa7=this['value']['length']),this['nextInner'](_0x1c1fa7,this['dir']);}}class PartialTextCursor{constructor(_0x3ff2e3,_0x5d250e,_0x468964){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x3ff2e3,_0x5d250e>_0x468964?-0x1:0x1),this['pos']=_0x5d250e>_0x468964?_0x3ff2e3['length']:0x0,this['from']=Math['min'](_0x5d250e,_0x468964),this['to']=Math['max'](_0x5d250e,_0x468964);}['nextInner'](_0x59cde9,_0x2f733f){if(_0x2f733f<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x59cde9+=Math['max'](0x0,_0x2f733f<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0xecd147=_0x2f733f<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x59cde9>_0xecd147&&(_0x59cde9=_0xecd147),_0xecd147-=_0x59cde9;let {value:_0x9e2556}=this['cursor']['next'](_0x59cde9);return this['pos']+=(_0x9e2556['length']+_0x59cde9)*_0x2f733f,this['value']=_0x9e2556['length']<=_0xecd147?_0x9e2556:_0x2f733f<0x0?_0x9e2556['slice'](_0x9e2556['length']-_0xecd147):_0x9e2556['slice'](0x0,_0xecd147),this['done']=!this['value'],this;}['next'](_0x1f2acf=0x0){return _0x1f2acf<0x0?_0x1f2acf=Math['max'](_0x1f2acf,this['from']-this['pos']):_0x1f2acf>0x0&&(_0x1f2acf=Math['min'](_0x1f2acf,this['to']-this['pos'])),this['nextInner'](_0x1f2acf,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x423d7a{constructor(_0x51d596){this['inner']=_0x51d596,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x2f641a=0x0){let {done:_0xec0359,lineBreak:_0x33bf55,value:_0x164635}=this['inner']['next'](_0x2f641a);return _0xec0359&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0xec0359?(this['done']=!0x0,this['value']=''):_0x33bf55?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x164635,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(_0x9ec70d['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x423d7a['prototype'][Symbol['iterator']]=function(){return this;});let _0x4ae7c6=class _0x565438{constructor(_0x36f6d0,_0x556a53,_0x1e62e4,_0x4ef646){this['from']=_0x36f6d0,this['to']=_0x556a53,this['number']=_0x1e62e4,this['text']=_0x4ef646;}get['length'](){return this['to']-this['from'];}};function _0x373580(_0x327ffc,_0x12ec07,_0x46f7a4){return[_0x12ec07=Math['max'](0x0,Math['min'](_0x327ffc['length'],_0x12ec07)),Math['max'](_0x12ec07,Math['min'](_0x327ffc['length'],_0x46f7a4))];}function _0x125880(_0x2a6616,_0x3f1e27,_0x23d2f2=!0x0,_0x45cff6=!0x0){return _0x4fe18b(_0x2a6616,_0x3f1e27,_0x23d2f2,_0x45cff6);}function _0x45c349(_0x215310,_0x5b22db){let _0x20ccf4=_0x215310['charCodeAt'](_0x5b22db);if(!(_0x451479=_0x20ccf4,_0x451479>=0xd800&&_0x451479<0xdc00&&_0x5b22db+0x1!=_0x215310['length']))return _0x20ccf4;var _0x451479;let _0x5e8d90=_0x215310['charCodeAt'](_0x5b22db+0x1);return function(_0x3860f2){return _0x3860f2>=0xdc00&&_0x3860f2<0xe000;}(_0x5e8d90)?_0x5e8d90-0xdc00+(_0x20ccf4-0xd800<<0xa)+0x10000:_0x20ccf4;}function _0x5bfaa8(_0x10fe0c){return _0x10fe0c<=0xffff?String['fromCharCode'](_0x10fe0c):(_0x10fe0c-=0x10000,String['fromCharCode'](0xd800+(_0x10fe0c>>0xa),0xdc00+(0x3ff&_0x10fe0c)));}function _0x91b08f(_0xeef020){return _0xeef020<0x10000?0x1:0x2;}const _0x2c5050=/\r\n?|\n/;var _0x59cdcf=function(_0x38ddae){return _0x38ddae[_0x38ddae['Simple']=0x0]='Simple',_0x38ddae[_0x38ddae['TrackDel']=0x1]='TrackDel',_0x38ddae[_0x38ddae['TrackBefore']=0x2]='TrackBefore',_0x38ddae[_0x38ddae['TrackAfter']=0x3]='TrackAfter',_0x38ddae;}(_0x59cdcf||(_0x59cdcf={}));class _0x486e35{constructor(_0x44b5e6){this['sections']=_0x44b5e6;}get['length'](){let _0x19139f=0x0;for(let _0x54c30f=0x0;_0x54c30f<this['sections']['length'];_0x54c30f+=0x2)_0x19139f+=this['sections'][_0x54c30f];return _0x19139f;}get['newLength'](){let _0x5ae519=0x0;for(let _0x4ac4dc=0x0;_0x4ac4dc<this['sections']['length'];_0x4ac4dc+=0x2){let _0x2b3b85=this['sections'][_0x4ac4dc+0x1];_0x5ae519+=_0x2b3b85<0x0?this['sections'][_0x4ac4dc]:_0x2b3b85;}return _0x5ae519;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x3fef8a){for(let _0x588661=0x0,_0x2f6d92=0x0,_0x14198f=0x0;_0x588661<this['sections']['length'];){let _0x29bd0f=this['sections'][_0x588661++],_0x2d3e75=this['sections'][_0x588661++];_0x2d3e75<0x0?(_0x3fef8a(_0x2f6d92,_0x14198f,_0x29bd0f),_0x14198f+=_0x29bd0f):_0x14198f+=_0x2d3e75,_0x2f6d92+=_0x29bd0f;}}['iterChangedRanges'](_0x3750ad,_0x25f0d4=!0x1){_0x214556(this,_0x3750ad,_0x25f0d4);}get['invertedDesc'](){let _0x13cf97=[];for(let _0x5ed048=0x0;_0x5ed048<this['sections']['length'];){let _0x3b7521=this['sections'][_0x5ed048++],_0x38eca5=this['sections'][_0x5ed048++];_0x38eca5<0x0?_0x13cf97['push'](_0x3b7521,_0x38eca5):_0x13cf97['push'](_0x38eca5,_0x3b7521);}return new _0x486e35(_0x13cf97);}['composeDesc'](_0x1705c4){return this['empty']?_0x1705c4:_0x1705c4['empty']?this:_0x4ca7ae(this,_0x1705c4);}['mapDesc'](_0x260217,_0x13004c=!0x1){return _0x260217['empty']?this:_0x28778b(this,_0x260217,_0x13004c);}['mapPos'](_0x2710bd,_0x271857=-0x1,_0x47a289=_0x59cdcf['Simple']){let _0x3d2b50=0x0,_0x218ef1=0x0;for(let _0x2b2a34=0x0;_0x2b2a34<this['sections']['length'];){let _0x1ca253=this['sections'][_0x2b2a34++],_0x2021f1=this['sections'][_0x2b2a34++],_0x136934=_0x3d2b50+_0x1ca253;if(_0x2021f1<0x0){if(_0x136934>_0x2710bd)return _0x218ef1+(_0x2710bd-_0x3d2b50);_0x218ef1+=_0x1ca253;}else{if(_0x47a289!=_0x59cdcf['Simple']&&_0x136934>=_0x2710bd&&(_0x47a289==_0x59cdcf['TrackDel']&&_0x3d2b50<_0x2710bd&&_0x136934>_0x2710bd||_0x47a289==_0x59cdcf['TrackBefore']&&_0x3d2b50<_0x2710bd||_0x47a289==_0x59cdcf['TrackAfter']&&_0x136934>_0x2710bd))return null;if(_0x136934>_0x2710bd||_0x136934==_0x2710bd&&_0x271857<0x0&&!_0x1ca253)return _0x2710bd==_0x3d2b50||_0x271857<0x0?_0x218ef1:_0x218ef1+_0x2021f1;_0x218ef1+=_0x2021f1;}_0x3d2b50=_0x136934;}if(_0x2710bd>_0x3d2b50)throw new RangeError('Position\x20'+_0x2710bd+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x3d2b50);return _0x218ef1;}['touchesRange'](_0x434a44,_0x15d483=_0x434a44){for(let _0x3e477c=0x0,_0x3d85d4=0x0;_0x3e477c<this['sections']['length']&&_0x3d85d4<=_0x15d483;){let _0x211377=_0x3d85d4+this['sections'][_0x3e477c++];if(this['sections'][_0x3e477c++]>=0x0&&_0x3d85d4<=_0x15d483&&_0x211377>=_0x434a44)return!(_0x3d85d4<_0x434a44&&_0x211377>_0x15d483)||'cover';_0x3d85d4=_0x211377;}return!0x1;}['toString'](){let _0x47eb7e='';for(let _0x185a33=0x0;_0x185a33<this['sections']['length'];){let _0x9596a3=this['sections'][_0x185a33++],_0x542a0b=this['sections'][_0x185a33++];_0x47eb7e+=(_0x47eb7e?'\x20':'')+_0x9596a3+(_0x542a0b>=0x0?':'+_0x542a0b:'');}return _0x47eb7e;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x544f4e){if(!Array['isArray'](_0x544f4e)||_0x544f4e['length']%0x2||_0x544f4e['some'](_0x5983c4=>'number'!=typeof _0x5983c4))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x486e35(_0x544f4e);}static['create'](_0x1d419b){return new _0x486e35(_0x1d419b);}}class ChangeSet extends _0x486e35{constructor(_0xf7b7e2,_0xdc491f){super(_0xf7b7e2),this['inserted']=_0xdc491f;}['apply'](_0xb08df5){if(this['length']!=_0xb08df5['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return _0x214556(this,(_0x6d7b7,_0x468452,_0x2abbf6,_0xb0b381,_0x14be86)=>_0xb08df5=_0xb08df5['replace'](_0x2abbf6,_0x2abbf6+(_0x468452-_0x6d7b7),_0x14be86),!0x1),_0xb08df5;}['mapDesc'](_0x23ec87,_0x1a85d1=!0x1){return _0x28778b(this,_0x23ec87,_0x1a85d1,!0x0);}['invert'](_0x20d08e){let _0x480b40=this['sections']['slice'](),_0x48db2a=[];for(let _0x193c86=0x0,_0x298ca5=0x0;_0x193c86<_0x480b40['length'];_0x193c86+=0x2){let _0x4d9015=_0x480b40[_0x193c86],_0x193784=_0x480b40[_0x193c86+0x1];if(_0x193784>=0x0){_0x480b40[_0x193c86]=_0x193784,_0x480b40[_0x193c86+0x1]=_0x4d9015;let _0x320759=_0x193c86>>0x1;for(;_0x48db2a['length']<_0x320759;)_0x48db2a['push'](_0x9ec70d['empty']);_0x48db2a['push'](_0x4d9015?_0x20d08e['slice'](_0x298ca5,_0x298ca5+_0x4d9015):_0x9ec70d['empty']);}_0x298ca5+=_0x4d9015;}return new ChangeSet(_0x480b40,_0x48db2a);}['compose'](_0x2a330d){return this['empty']?_0x2a330d:_0x2a330d['empty']?this:_0x4ca7ae(this,_0x2a330d,!0x0);}['map'](_0x2e9ca6,_0x498cbc=!0x1){return _0x2e9ca6['empty']?this:_0x28778b(this,_0x2e9ca6,_0x498cbc,!0x0);}['iterChanges'](_0x50a71b,_0x569f37=!0x1){_0x214556(this,_0x50a71b,_0x569f37);}get['desc'](){return _0x486e35['create'](this['sections']);}['filter'](_0x31360e){let _0x15b960=[],_0x21bde1=[],_0x510334=[],_0x55b244=new SectionIter(this);t:for(let _0x1adf17=0x0,_0x3b1fbf=0x0;;){let _0x163a87=_0x1adf17==_0x31360e['length']?0x3b9aca00:_0x31360e[_0x1adf17++];for(;_0x3b1fbf<_0x163a87||_0x3b1fbf==_0x163a87&&0x0==_0x55b244['len'];){if(_0x55b244['done'])break t;let _0x2c82aa=Math['min'](_0x55b244['len'],_0x163a87-_0x3b1fbf);_0x36545f(_0x510334,_0x2c82aa,-0x1);let _0x245f36=-0x1==_0x55b244['ins']?-0x1:0x0==_0x55b244['off']?_0x55b244['ins']:0x0;_0x36545f(_0x15b960,_0x2c82aa,_0x245f36),_0x245f36>0x0&&_0x234212(_0x21bde1,_0x15b960,_0x55b244['text']),_0x55b244['forward'](_0x2c82aa),_0x3b1fbf+=_0x2c82aa;}let _0x46e557=_0x31360e[_0x1adf17++];for(;_0x3b1fbf<_0x46e557;){if(_0x55b244['done'])break t;let _0x275ee2=Math['min'](_0x55b244['len'],_0x46e557-_0x3b1fbf);_0x36545f(_0x15b960,_0x275ee2,-0x1),_0x36545f(_0x510334,_0x275ee2,-0x1==_0x55b244['ins']?-0x1:0x0==_0x55b244['off']?_0x55b244['ins']:0x0),_0x55b244['forward'](_0x275ee2),_0x3b1fbf+=_0x275ee2;}}return{'changes':new ChangeSet(_0x15b960,_0x21bde1),'filtered':_0x486e35['create'](_0x510334)};}['toJSON'](){let _0x4809f7=[];for(let _0x2fe893=0x0;_0x2fe893<this['sections']['length'];_0x2fe893+=0x2){let _0x45f0ed=this['sections'][_0x2fe893],_0x1abad1=this['sections'][_0x2fe893+0x1];_0x1abad1<0x0?_0x4809f7['push'](_0x45f0ed):0x0==_0x1abad1?_0x4809f7['push']([_0x45f0ed]):_0x4809f7['push']([_0x45f0ed]['concat'](this['inserted'][_0x2fe893>>0x1]['toJSON']()));}return _0x4809f7;}static['of'](_0x2a0916,_0x26cddf,_0x24fa10){let _0xb263b0=[],_0xede44c=[],_0x110bb9=0x0,_0x51f369=null;function _0x1ca38f(_0x4f5828=!0x1){if(!_0x4f5828&&!_0xb263b0['length'])return;_0x110bb9<_0x26cddf&&_0x36545f(_0xb263b0,_0x26cddf-_0x110bb9,-0x1);let _0x8a497f=new ChangeSet(_0xb263b0,_0xede44c);_0x51f369=_0x51f369?_0x51f369['compose'](_0x8a497f['map'](_0x51f369)):_0x8a497f,_0xb263b0=[],_0xede44c=[],_0x110bb9=0x0;}return function _0x39e357(_0x278d6d){if(Array['isArray'](_0x278d6d)){for(let _0x140ab5 of _0x278d6d)_0x39e357(_0x140ab5);}else{if(_0x278d6d instanceof ChangeSet){if(_0x278d6d['length']!=_0x26cddf)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x278d6d['length']+',\x20expected\x20'+_0x26cddf+')');_0x1ca38f(),_0x51f369=_0x51f369?_0x51f369['compose'](_0x278d6d['map'](_0x51f369)):_0x278d6d;}else{let {from:_0x29732b,to:_0x4832eb=_0x29732b,insert:_0x4309f9}=_0x278d6d;if(_0x29732b>_0x4832eb||_0x29732b<0x0||_0x4832eb>_0x26cddf)throw new RangeError('Invalid\x20change\x20range\x20'+_0x29732b+'\x20to\x20'+_0x4832eb+'\x20(in\x20doc\x20of\x20length\x20'+_0x26cddf+')');let _0x1c4db6=_0x4309f9?'string'==typeof _0x4309f9?_0x9ec70d['of'](_0x4309f9['split'](_0x24fa10||_0x2c5050)):_0x4309f9:_0x9ec70d['empty'],_0x290a97=_0x1c4db6['length'];if(_0x29732b==_0x4832eb&&0x0==_0x290a97)return;_0x29732b<_0x110bb9&&_0x1ca38f(),_0x29732b>_0x110bb9&&_0x36545f(_0xb263b0,_0x29732b-_0x110bb9,-0x1),_0x36545f(_0xb263b0,_0x4832eb-_0x29732b,_0x290a97),_0x234212(_0xede44c,_0xb263b0,_0x1c4db6),_0x110bb9=_0x4832eb;}}}(_0x2a0916),_0x1ca38f(!_0x51f369),_0x51f369;}static['empty'](_0x160fab){return new ChangeSet(_0x160fab?[_0x160fab,-0x1]:[],[]);}static['fromJSON'](_0x41c168){if(!Array['isArray'](_0x41c168))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x44a25e=[],_0x57f704=[];for(let _0x3af443=0x0;_0x3af443<_0x41c168['length'];_0x3af443++){let _0x1d874e=_0x41c168[_0x3af443];if('number'==typeof _0x1d874e)_0x44a25e['push'](_0x1d874e,-0x1);else{if(!Array['isArray'](_0x1d874e)||'number'!=typeof _0x1d874e[0x0]||_0x1d874e['some']((_0x5da9ee,_0x3a3c28)=>_0x3a3c28&&'string'!=typeof _0x5da9ee))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x1d874e['length'])_0x44a25e['push'](_0x1d874e[0x0],0x0);else{for(;_0x57f704['length']<_0x3af443;)_0x57f704['push'](_0x9ec70d['empty']);_0x57f704[_0x3af443]=_0x9ec70d['of'](_0x1d874e['slice'](0x1)),_0x44a25e['push'](_0x1d874e[0x0],_0x57f704[_0x3af443]['length']);}}}return new ChangeSet(_0x44a25e,_0x57f704);}static['createSet'](_0x3f9af5,_0xc1b484){return new ChangeSet(_0x3f9af5,_0xc1b484);}}function _0x36545f(_0x1ed6fd,_0x166c3f,_0x1649a6,_0x18a12c=!0x1){if(0x0==_0x166c3f&&_0x1649a6<=0x0)return;let _0x5de4b1=_0x1ed6fd['length']-0x2;_0x5de4b1>=0x0&&_0x1649a6<=0x0&&_0x1649a6==_0x1ed6fd[_0x5de4b1+0x1]?_0x1ed6fd[_0x5de4b1]+=_0x166c3f:_0x5de4b1>=0x0&&0x0==_0x166c3f&&0x0==_0x1ed6fd[_0x5de4b1]?_0x1ed6fd[_0x5de4b1+0x1]+=_0x1649a6:_0x18a12c?(_0x1ed6fd[_0x5de4b1]+=_0x166c3f,_0x1ed6fd[_0x5de4b1+0x1]+=_0x1649a6):_0x1ed6fd['push'](_0x166c3f,_0x1649a6);}function _0x234212(_0x9f005f,_0x3a760d,_0x27de1c){if(0x0==_0x27de1c['length'])return;let _0x18e4cf=_0x3a760d['length']-0x2>>0x1;if(_0x18e4cf<_0x9f005f['length'])_0x9f005f[_0x9f005f['length']-0x1]=_0x9f005f[_0x9f005f['length']-0x1]['append'](_0x27de1c);else{for(;_0x9f005f['length']<_0x18e4cf;)_0x9f005f['push'](_0x9ec70d['empty']);_0x9f005f['push'](_0x27de1c);}}function _0x214556(_0x150ecf,_0x3d8caf,_0x13fd4e){let _0x1e2034=_0x150ecf['inserted'];for(let _0x32ca32=0x0,_0x11572c=0x0,_0x5e4eee=0x0;_0x5e4eee<_0x150ecf['sections']['length'];){let _0x1f930b=_0x150ecf['sections'][_0x5e4eee++],_0x2b2de7=_0x150ecf['sections'][_0x5e4eee++];if(_0x2b2de7<0x0)_0x32ca32+=_0x1f930b,_0x11572c+=_0x1f930b;else{let _0x1202b6=_0x32ca32,_0x5676d1=_0x11572c,_0x4de560=_0x9ec70d['empty'];for(;_0x1202b6+=_0x1f930b,_0x5676d1+=_0x2b2de7,_0x2b2de7&&_0x1e2034&&(_0x4de560=_0x4de560['append'](_0x1e2034[_0x5e4eee-0x2>>0x1])),!(_0x13fd4e||_0x5e4eee==_0x150ecf['sections']['length']||_0x150ecf['sections'][_0x5e4eee+0x1]<0x0);)_0x1f930b=_0x150ecf['sections'][_0x5e4eee++],_0x2b2de7=_0x150ecf['sections'][_0x5e4eee++];_0x3d8caf(_0x32ca32,_0x1202b6,_0x11572c,_0x5676d1,_0x4de560),_0x32ca32=_0x1202b6,_0x11572c=_0x5676d1;}}}function _0x28778b(_0x3a17a9,_0x3dbea4,_0x2dddec,_0x32f607=!0x1){let _0x38601b=[],_0x466f2f=_0x32f607?[]:null,_0xb88b02=new SectionIter(_0x3a17a9),_0x1dfcad=new SectionIter(_0x3dbea4);for(let _0x2b8ea1=-0x1;;){if(_0xb88b02['done']&&_0x1dfcad['len']||_0x1dfcad['done']&&_0xb88b02['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0xb88b02['ins']&&-0x1==_0x1dfcad['ins']){let _0xee5d43=Math['min'](_0xb88b02['len'],_0x1dfcad['len']);_0x36545f(_0x38601b,_0xee5d43,-0x1),_0xb88b02['forward'](_0xee5d43),_0x1dfcad['forward'](_0xee5d43);}else{if(_0x1dfcad['ins']>=0x0&&(_0xb88b02['ins']<0x0||_0x2b8ea1==_0xb88b02['i']||0x0==_0xb88b02['off']&&(_0x1dfcad['len']<_0xb88b02['len']||_0x1dfcad['len']==_0xb88b02['len']&&!_0x2dddec))){let _0x316fc5=_0x1dfcad['len'];for(_0x36545f(_0x38601b,_0x1dfcad['ins'],-0x1);_0x316fc5;){let _0x5f4dc4=Math['min'](_0xb88b02['len'],_0x316fc5);_0xb88b02['ins']>=0x0&&_0x2b8ea1<_0xb88b02['i']&&_0xb88b02['len']<=_0x5f4dc4&&(_0x36545f(_0x38601b,0x0,_0xb88b02['ins']),_0x466f2f&&_0x234212(_0x466f2f,_0x38601b,_0xb88b02['text']),_0x2b8ea1=_0xb88b02['i']),_0xb88b02['forward'](_0x5f4dc4),_0x316fc5-=_0x5f4dc4;}_0x1dfcad['next']();}else{if(!(_0xb88b02['ins']>=0x0)){if(_0xb88b02['done']&&_0x1dfcad['done'])return _0x466f2f?ChangeSet['createSet'](_0x38601b,_0x466f2f):_0x486e35['create'](_0x38601b);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x1022ec=0x0,_0x28e762=_0xb88b02['len'];for(;_0x28e762;)if(-0x1==_0x1dfcad['ins']){let _0x4a1ddd=Math['min'](_0x28e762,_0x1dfcad['len']);_0x1022ec+=_0x4a1ddd,_0x28e762-=_0x4a1ddd,_0x1dfcad['forward'](_0x4a1ddd);}else{if(!(0x0==_0x1dfcad['ins']&&_0x1dfcad['len']<_0x28e762))break;_0x28e762-=_0x1dfcad['len'],_0x1dfcad['next']();}_0x36545f(_0x38601b,_0x1022ec,_0x2b8ea1<_0xb88b02['i']?_0xb88b02['ins']:0x0),_0x466f2f&&_0x2b8ea1<_0xb88b02['i']&&_0x234212(_0x466f2f,_0x38601b,_0xb88b02['text']),_0x2b8ea1=_0xb88b02['i'],_0xb88b02['forward'](_0xb88b02['len']-_0x28e762);}}}}}function _0x4ca7ae(_0x5fb993,_0x111399,_0xc17856=!0x1){let _0x1d2f34=[],_0x5a1565=_0xc17856?[]:null,_0x1f6aaa=new SectionIter(_0x5fb993),_0x69f020=new SectionIter(_0x111399);for(let _0x4078d6=!0x1;;){if(_0x1f6aaa['done']&&_0x69f020['done'])return _0x5a1565?ChangeSet['createSet'](_0x1d2f34,_0x5a1565):_0x486e35['create'](_0x1d2f34);if(0x0==_0x1f6aaa['ins'])_0x36545f(_0x1d2f34,_0x1f6aaa['len'],0x0,_0x4078d6),_0x1f6aaa['next']();else{if(0x0!=_0x69f020['len']||_0x69f020['done']){if(_0x1f6aaa['done']||_0x69f020['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x2046d0=Math['min'](_0x1f6aaa['len2'],_0x69f020['len']),_0x4066ae=_0x1d2f34['length'];if(-0x1==_0x1f6aaa['ins']){let _0x5a1df1=-0x1==_0x69f020['ins']?-0x1:_0x69f020['off']?0x0:_0x69f020['ins'];_0x36545f(_0x1d2f34,_0x2046d0,_0x5a1df1,_0x4078d6),_0x5a1565&&_0x5a1df1&&_0x234212(_0x5a1565,_0x1d2f34,_0x69f020['text']);}else-0x1==_0x69f020['ins']?(_0x36545f(_0x1d2f34,_0x1f6aaa['off']?0x0:_0x1f6aaa['len'],_0x2046d0,_0x4078d6),_0x5a1565&&_0x234212(_0x5a1565,_0x1d2f34,_0x1f6aaa['textBit'](_0x2046d0))):(_0x36545f(_0x1d2f34,_0x1f6aaa['off']?0x0:_0x1f6aaa['len'],_0x69f020['off']?0x0:_0x69f020['ins'],_0x4078d6),_0x5a1565&&!_0x69f020['off']&&_0x234212(_0x5a1565,_0x1d2f34,_0x69f020['text']));_0x4078d6=(_0x1f6aaa['ins']>_0x2046d0||_0x69f020['ins']>=0x0&&_0x69f020['len']>_0x2046d0)&&(_0x4078d6||_0x1d2f34['length']>_0x4066ae),_0x1f6aaa['forward2'](_0x2046d0),_0x69f020['forward'](_0x2046d0);}}else _0x36545f(_0x1d2f34,0x0,_0x69f020['ins'],_0x4078d6),_0x5a1565&&_0x234212(_0x5a1565,_0x1d2f34,_0x69f020['text']),_0x69f020['next']();}}}class SectionIter{constructor(_0x54b037){this['set']=_0x54b037,this['i']=0x0,this['next']();}['next'](){let {sections:_0x8caef3}=this['set'];this['i']<_0x8caef3['length']?(this['len']=_0x8caef3[this['i']++],this['ins']=_0x8caef3[this['i']++]):(this['len']=0x0,this['ins']=-0x2),this['off']=0x0;}get['done'](){return-0x2==this['ins'];}get['len2'](){return this['ins']<0x0?this['len']:this['ins'];}get['text'](){let {inserted:_0x4a503a}=this['set'],_0x183fa1=this['i']-0x2>>0x1;return _0x183fa1>=_0x4a503a['length']?_0x9ec70d['empty']:_0x4a503a[_0x183fa1];}['textBit'](_0x4f6a63){let {inserted:_0x2d6802}=this['set'],_0x5aa464=this['i']-0x2>>0x1;return _0x5aa464>=_0x2d6802['length']&&!_0x4f6a63?_0x9ec70d['empty']:_0x2d6802[_0x5aa464]['slice'](this['off'],null==_0x4f6a63?void 0x0:this['off']+_0x4f6a63);}['forward'](_0x432ee5){_0x432ee5==this['len']?this['next']():(this['len']-=_0x432ee5,this['off']+=_0x432ee5);}['forward2'](_0x462167){-0x1==this['ins']?this['forward'](_0x462167):_0x462167==this['ins']?this['next']():(this['ins']-=_0x462167,this['off']+=_0x462167);}}class SelectionRange{constructor(_0x554503,_0x5e3306,_0x5c26f0){this['from']=_0x554503,this['to']=_0x5e3306,this['flags']=_0x5c26f0;}get['anchor'](){return 0x20&this['flags']?this['to']:this['from'];}get['head'](){return 0x20&this['flags']?this['from']:this['to'];}get['empty'](){return this['from']==this['to'];}get['assoc'](){return 0x8&this['flags']?-0x1:0x10&this['flags']?0x1:0x0;}get['bidiLevel'](){let _0x4db6a6=0x7&this['flags'];return 0x7==_0x4db6a6?null:_0x4db6a6;}get['goalColumn'](){let _0x3adae0=this['flags']>>0x6;return 0xffffff==_0x3adae0?void 0x0:_0x3adae0;}['map'](_0x4510f6,_0x4049f1=-0x1){let _0xfde81e,_0x368b96;return this['empty']?_0xfde81e=_0x368b96=_0x4510f6['mapPos'](this['from'],_0x4049f1):(_0xfde81e=_0x4510f6['mapPos'](this['from'],0x1),_0x368b96=_0x4510f6['mapPos'](this['to'],-0x1)),_0xfde81e==this['from']&&_0x368b96==this['to']?this:new SelectionRange(_0xfde81e,_0x368b96,this['flags']);}['extend'](_0x3a9c9b,_0x4bded4=_0x3a9c9b){if(_0x3a9c9b<=this['anchor']&&_0x4bded4>=this['anchor'])return EditorSelection['range'](_0x3a9c9b,_0x4bded4);let _0x4b6119=Math['abs'](_0x3a9c9b-this['anchor'])>Math['abs'](_0x4bded4-this['anchor'])?_0x3a9c9b:_0x4bded4;return EditorSelection['range'](this['anchor'],_0x4b6119);}['eq'](_0x5640fb,_0x2f9b46=!0x1){return!(this['anchor']!=_0x5640fb['anchor']||this['head']!=_0x5640fb['head']||_0x2f9b46&&this['empty']&&this['assoc']!=_0x5640fb['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0xdcf852){if(!_0xdcf852||'number'!=typeof _0xdcf852['anchor']||'number'!=typeof _0xdcf852['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0xdcf852['anchor'],_0xdcf852['head']);}static['create'](_0x33aeee,_0x248701,_0x291ea4){return new SelectionRange(_0x33aeee,_0x248701,_0x291ea4);}}class EditorSelection{constructor(_0x12d0c6,_0x2a0d36){this['ranges']=_0x12d0c6,this['mainIndex']=_0x2a0d36;}['map'](_0x6a61b2,_0x1b64ce=-0x1){return _0x6a61b2['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x41c611=>_0x41c611['map'](_0x6a61b2,_0x1b64ce)),this['mainIndex']);}['eq'](_0x1d3bc3,_0x2794ba=!0x1){if(this['ranges']['length']!=_0x1d3bc3['ranges']['length']||this['mainIndex']!=_0x1d3bc3['mainIndex'])return!0x1;for(let _0x425293=0x0;_0x425293<this['ranges']['length'];_0x425293++)if(!this['ranges'][_0x425293]['eq'](_0x1d3bc3['ranges'][_0x425293],_0x2794ba))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x5d7fe2,_0x43fcac=!0x0){return EditorSelection['create']([_0x5d7fe2]['concat'](this['ranges']),_0x43fcac?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x666f21,_0x47d3d5=this['mainIndex']){let _0x50666b=this['ranges']['slice']();return _0x50666b[_0x47d3d5]=_0x666f21,EditorSelection['create'](_0x50666b,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x24e65b=>_0x24e65b['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x4e4545){if(!_0x4e4545||!Array['isArray'](_0x4e4545['ranges'])||'number'!=typeof _0x4e4545['main']||_0x4e4545['main']>=_0x4e4545['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x4e4545['ranges']['map'](_0x491732=>SelectionRange['fromJSON'](_0x491732)),_0x4e4545['main']);}static['single'](_0x459067,_0x57ca3b=_0x459067){return new EditorSelection([EditorSelection['range'](_0x459067,_0x57ca3b)],0x0);}static['create'](_0x300051,_0x14ad94=0x0){if(0x0==_0x300051['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x52435f=0x0,_0x4ece16=0x0;_0x4ece16<_0x300051['length'];_0x4ece16++){let _0x214387=_0x300051[_0x4ece16];if(_0x214387['empty']?_0x214387['from']<=_0x52435f:_0x214387['from']<_0x52435f)return EditorSelection['normalized'](_0x300051['slice'](),_0x14ad94);_0x52435f=_0x214387['to'];}return new EditorSelection(_0x300051,_0x14ad94);}static['cursor'](_0x15ddf7,_0x393c7a=0x0,_0x592da9,_0x56eb39){return SelectionRange['create'](_0x15ddf7,_0x15ddf7,(0x0==_0x393c7a?0x0:_0x393c7a<0x0?0x8:0x10)|(null==_0x592da9?0x7:Math['min'](0x6,_0x592da9))|(null!=_0x56eb39?_0x56eb39:0xffffff)<<0x6);}static['range'](_0x18ceb4,_0xfe5ff2,_0x1ba658,_0x5085a5){let _0x10932b=(null!=_0x1ba658?_0x1ba658:0xffffff)<<0x6|(null==_0x5085a5?0x7:Math['min'](0x6,_0x5085a5));return _0xfe5ff2<_0x18ceb4?SelectionRange['create'](_0xfe5ff2,_0x18ceb4,0x30|_0x10932b):SelectionRange['create'](_0x18ceb4,_0xfe5ff2,(_0xfe5ff2>_0x18ceb4?0x8:0x0)|_0x10932b);}static['normalized'](_0x5b1f45,_0x25d826=0x0){let _0xfb848c=_0x5b1f45[_0x25d826];_0x5b1f45['sort']((_0x4c0abf,_0x584f19)=>_0x4c0abf['from']-_0x584f19['from']),_0x25d826=_0x5b1f45['indexOf'](_0xfb848c);for(let _0x57ac1b=0x1;_0x57ac1b<_0x5b1f45['length'];_0x57ac1b++){let _0x309d32=_0x5b1f45[_0x57ac1b],_0x3d781d=_0x5b1f45[_0x57ac1b-0x1];if(_0x309d32['empty']?_0x309d32['from']<=_0x3d781d['to']:_0x309d32['from']<_0x3d781d['to']){let _0x324122=_0x3d781d['from'],_0x412f58=Math['max'](_0x309d32['to'],_0x3d781d['to']);_0x57ac1b<=_0x25d826&&_0x25d826--,_0x5b1f45['splice'](--_0x57ac1b,0x2,_0x309d32['anchor']>_0x309d32['head']?EditorSelection['range'](_0x412f58,_0x324122):EditorSelection['range'](_0x324122,_0x412f58));}}return new EditorSelection(_0x5b1f45,_0x25d826);}}function _0x113630(_0x460ec6,_0xa91112){for(let _0x2fbccc of _0x460ec6['ranges'])if(_0x2fbccc['to']>_0xa91112)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let _0x2e7336=0x0;class Facet{constructor(_0x251d8b,_0x2a8311,_0xacc83,_0x382c72,_0xaed46e){this['combine']=_0x251d8b,this['compareInput']=_0x2a8311,this['compare']=_0xacc83,this['isStatic']=_0x382c72,this['id']=_0x2e7336++,this['default']=_0x251d8b([]),this['extensions']='function'==typeof _0xaed46e?_0xaed46e(this):_0xaed46e;}get['reader'](){return this;}static['define'](_0x1e3b33={}){return new Facet(_0x1e3b33['combine']||(_0xf3abbb=>_0xf3abbb),_0x1e3b33['compareInput']||((_0x54fe21,_0x4be6be)=>_0x54fe21===_0x4be6be),_0x1e3b33['compare']||(_0x1e3b33['combine']?(_0x8a6842,_0x3cc36b)=>_0x8a6842===_0x3cc36b:_0x398678),!!_0x1e3b33['static'],_0x1e3b33['enables']);}['of'](_0x343e5c){return new FacetProvider([],this,0x0,_0x343e5c);}['compute'](_0x3f607c,_0x2f2ea1){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x3f607c,this,0x1,_0x2f2ea1);}['computeN'](_0x3c5137,_0x2a408f){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x3c5137,this,0x2,_0x2a408f);}['from'](_0x3f86ab,_0x1eb1c2){return _0x1eb1c2||(_0x1eb1c2=_0x57db10=>_0x57db10),this['compute']([_0x3f86ab],_0x4ca913=>_0x1eb1c2(_0x4ca913['field'](_0x3f86ab)));}}function _0x398678(_0x416557,_0x31cfa3){return _0x416557==_0x31cfa3||_0x416557['length']==_0x31cfa3['length']&&_0x416557['every']((_0x3c61b9,_0x5ec3f2)=>_0x3c61b9===_0x31cfa3[_0x5ec3f2]);}class FacetProvider{constructor(_0x1de9f1,_0x4ba662,_0x5145e8,_0xf1109a){this['dependencies']=_0x1de9f1,this['facet']=_0x4ba662,this['type']=_0x5145e8,this['value']=_0xf1109a,this['id']=_0x2e7336++;}['dynamicSlot'](_0x21981c){var _0x28680e;let _0x325f22=this['value'],_0x43ed9e=this['facet']['compareInput'],_0x219442=this['id'],_0xa4234a=_0x21981c[_0x219442]>>0x1,_0x79909b=0x2==this['type'],_0x80c498=!0x1,_0xd69f9c=!0x1,_0x2456fe=[];for(let _0x9b0f83 of this['dependencies'])'doc'==_0x9b0f83?_0x80c498=!0x0:'selection'==_0x9b0f83?_0xd69f9c=!0x0:0x1&(null!==(_0x28680e=_0x21981c[_0x9b0f83['id']])&&void 0x0!==_0x28680e?_0x28680e:0x1)||_0x2456fe['push'](_0x21981c[_0x9b0f83['id']]);return{'create':_0x386bcf=>(_0x386bcf['values'][_0xa4234a]=_0x325f22(_0x386bcf),0x1),'update'(_0x3420e4,_0x1a9b5d){if(_0x80c498&&_0x1a9b5d['docChanged']||_0xd69f9c&&(_0x1a9b5d['docChanged']||_0x1a9b5d['selection'])||_0x2a054e(_0x3420e4,_0x2456fe)){let _0x546537=_0x325f22(_0x3420e4);if(_0x79909b?!_0x46a986(_0x546537,_0x3420e4['values'][_0xa4234a],_0x43ed9e):!_0x43ed9e(_0x546537,_0x3420e4['values'][_0xa4234a]))return _0x3420e4['values'][_0xa4234a]=_0x546537,0x1;}return 0x0;},'reconfigure':(_0x2d848d,_0x4bc994)=>{let _0x3c5106,_0x555494=_0x4bc994['config']['address'][_0x219442];if(null!=_0x555494){let _0x460e84=_0x5a9582(_0x4bc994,_0x555494);if(this['dependencies']['every'](_0x1553a6=>_0x1553a6 instanceof Facet?_0x4bc994['facet'](_0x1553a6)===_0x2d848d['facet'](_0x1553a6):!(_0x1553a6 instanceof StateField)||_0x4bc994['field'](_0x1553a6,!0x1)==_0x2d848d['field'](_0x1553a6,!0x1))||(_0x79909b?_0x46a986(_0x3c5106=_0x325f22(_0x2d848d),_0x460e84,_0x43ed9e):_0x43ed9e(_0x3c5106=_0x325f22(_0x2d848d),_0x460e84)))return _0x2d848d['values'][_0xa4234a]=_0x460e84,0x0;}else _0x3c5106=_0x325f22(_0x2d848d);return _0x2d848d['values'][_0xa4234a]=_0x3c5106,0x1;}};}}function _0x46a986(_0x2a8d55,_0x3f0053,_0x2f9acd){if(_0x2a8d55['length']!=_0x3f0053['length'])return!0x1;for(let _0x3d1680=0x0;_0x3d1680<_0x2a8d55['length'];_0x3d1680++)if(!_0x2f9acd(_0x2a8d55[_0x3d1680],_0x3f0053[_0x3d1680]))return!0x1;return!0x0;}function _0x2a054e(_0x1a6770,_0x529d2d){let _0x48a0da=!0x1;for(let _0x3b604e of _0x529d2d)0x1&_0x36e1df(_0x1a6770,_0x3b604e)&&(_0x48a0da=!0x0);return _0x48a0da;}function _0x36d470(_0x136edd,_0x22cf14,_0x1e25db){let _0x20ab03=_0x1e25db['map'](_0x23f720=>_0x136edd[_0x23f720['id']]),_0x284d9f=_0x1e25db['map'](_0x455090=>_0x455090['type']),_0x43e1de=_0x20ab03['filter'](_0x2c85a4=>!(0x1&_0x2c85a4)),_0x2c13a9=_0x136edd[_0x22cf14['id']]>>0x1;function _0x3479a8(_0x5e250f){let _0x1a7560=[];for(let _0x500571=0x0;_0x500571<_0x20ab03['length'];_0x500571++){let _0x3af349=_0x5a9582(_0x5e250f,_0x20ab03[_0x500571]);if(0x2==_0x284d9f[_0x500571]){for(let _0x46111f of _0x3af349)_0x1a7560['push'](_0x46111f);}else _0x1a7560['push'](_0x3af349);}return _0x22cf14['combine'](_0x1a7560);}return{'create'(_0x24c2a1){for(let _0x42edf2 of _0x20ab03)_0x36e1df(_0x24c2a1,_0x42edf2);return _0x24c2a1['values'][_0x2c13a9]=_0x3479a8(_0x24c2a1),0x1;},'update'(_0x50503f,_0x27630d){if(!_0x2a054e(_0x50503f,_0x43e1de))return 0x0;let _0x2b74c9=_0x3479a8(_0x50503f);return _0x22cf14['compare'](_0x2b74c9,_0x50503f['values'][_0x2c13a9])?0x0:(_0x50503f['values'][_0x2c13a9]=_0x2b74c9,0x1);},'reconfigure'(_0x65330d,_0x209637){let _0x4a5b03=_0x2a054e(_0x65330d,_0x20ab03),_0xad0923=_0x209637['config']['facets'][_0x22cf14['id']],_0x4cce0d=_0x209637['facet'](_0x22cf14);if(_0xad0923&&!_0x4a5b03&&_0x398678(_0x1e25db,_0xad0923))return _0x65330d['values'][_0x2c13a9]=_0x4cce0d,0x0;let _0x31032e=_0x3479a8(_0x65330d);return _0x22cf14['compare'](_0x31032e,_0x4cce0d)?(_0x65330d['values'][_0x2c13a9]=_0x4cce0d,0x0):(_0x65330d['values'][_0x2c13a9]=_0x31032e,0x1);}};}const _0x12fef4=Facet['define']({'static':!0x0});class StateField{constructor(_0xeaaaff,_0x8bd359,_0xb3dcd3,_0x4920f4,_0x2a68b6){this['id']=_0xeaaaff,this['createF']=_0x8bd359,this['updateF']=_0xb3dcd3,this['compareF']=_0x4920f4,this['spec']=_0x2a68b6,this['provides']=void 0x0;}static['define'](_0x137d29){let _0x57f86a=new StateField(_0x2e7336++,_0x137d29['create'],_0x137d29['update'],_0x137d29['compare']||((_0x1a0f4c,_0x5d2972)=>_0x1a0f4c===_0x5d2972),_0x137d29);return _0x137d29['provide']&&(_0x57f86a['provides']=_0x137d29['provide'](_0x57f86a)),_0x57f86a;}['create'](_0x1ca127){let _0x1fbf55=_0x1ca127['facet'](_0x12fef4)['find'](_0x466008=>_0x466008['field']==this);return((null==_0x1fbf55?void 0x0:_0x1fbf55['create'])||this['createF'])(_0x1ca127);}['slot'](_0x86894f){let _0x29629c=_0x86894f[this['id']]>>0x1;return{'create':_0x416629=>(_0x416629['values'][_0x29629c]=this['create'](_0x416629),0x1),'update':(_0x385805,_0x46bd10)=>{let _0x420f2b=_0x385805['values'][_0x29629c],_0x1344b1=this['updateF'](_0x420f2b,_0x46bd10);return this['compareF'](_0x420f2b,_0x1344b1)?0x0:(_0x385805['values'][_0x29629c]=_0x1344b1,0x1);},'reconfigure':(_0xcac782,_0x30d236)=>{let _0x2a8a42,_0x460f7b=_0xcac782['facet'](_0x12fef4),_0x2edd1d=_0x30d236['facet'](_0x12fef4);return(_0x2a8a42=_0x460f7b['find'](_0x25b697=>_0x25b697['field']==this))&&_0x2a8a42!=_0x2edd1d['find'](_0xab8354=>_0xab8354['field']==this)?(_0xcac782['values'][_0x29629c]=_0x2a8a42['create'](_0xcac782),0x1):null!=_0x30d236['config']['address'][this['id']]?(_0xcac782['values'][_0x29629c]=_0x30d236['field'](this),0x0):(_0xcac782['values'][_0x29629c]=this['create'](_0xcac782),0x1);}};}['init'](_0x4154b4){return[this,_0x12fef4['of']({'field':this,'create':_0x4154b4})];}get['extension'](){return this;}}const _0x3184ab=0x4,_0x3a9c2d=0x3,_0x4ef9cf=0x2,_0x45f7c8=0x1;function _0x6f3715(_0xaf34c6){return _0x2afda8=>new PrecExtension(_0x2afda8,_0xaf34c6);}const _0x14b795={'highest':_0x6f3715(0x0),'high':_0x6f3715(_0x45f7c8),'default':_0x6f3715(_0x4ef9cf),'low':_0x6f3715(_0x3a9c2d),'lowest':_0x6f3715(_0x3184ab)};class PrecExtension{constructor(_0x3c5627,_0x247494){this['inner']=_0x3c5627,this['prec']=_0x247494;}}class Compartment{['of'](_0x3dcf21){return new CompartmentInstance(this,_0x3dcf21);}['reconfigure'](_0x2b9ae5){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x2b9ae5});}['get'](_0x997ab2){return _0x997ab2['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x188daa,_0x2fffc4){this['compartment']=_0x188daa,this['inner']=_0x2fffc4;}}class Configuration{constructor(_0x118a27,_0x3c8440,_0x3e53e5,_0x507282,_0x1ca7cf,_0x43c967){for(this['base']=_0x118a27,this['compartments']=_0x3c8440,this['dynamicSlots']=_0x3e53e5,this['address']=_0x507282,this['staticValues']=_0x1ca7cf,this['facets']=_0x43c967,this['statusTemplate']=[];this['statusTemplate']['length']<_0x3e53e5['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x82cb46){let _0x434034=this['address'][_0x82cb46['id']];return null==_0x434034?_0x82cb46['default']:this['staticValues'][_0x434034>>0x1];}static['resolve'](_0x2c61a5,_0x481e1b,_0x5c1ba0){let _0x419edf=[],_0x19a7bc=Object['create'](null),_0x4fdadd=new Map();for(let _0x16d23e of function(_0x50d230,_0x507229,_0x481f1d){let _0x3a3913=[[],[],[],[],[]],_0x22c947=new Map();function _0x2e0a58(_0x52d847,_0xaafedb){let _0x6a2f81=_0x22c947['get'](_0x52d847);if(null!=_0x6a2f81){if(_0x6a2f81<=_0xaafedb)return;let _0x1896ea=_0x3a3913[_0x6a2f81]['indexOf'](_0x52d847);_0x1896ea>-0x1&&_0x3a3913[_0x6a2f81]['splice'](_0x1896ea,0x1),_0x52d847 instanceof CompartmentInstance&&_0x481f1d['delete'](_0x52d847['compartment']);}if(_0x22c947['set'](_0x52d847,_0xaafedb),Array['isArray'](_0x52d847)){for(let _0x9a6dbc of _0x52d847)_0x2e0a58(_0x9a6dbc,_0xaafedb);}else{if(_0x52d847 instanceof CompartmentInstance){if(_0x481f1d['has'](_0x52d847['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x42dcc7=_0x507229['get'](_0x52d847['compartment'])||_0x52d847['inner'];_0x481f1d['set'](_0x52d847['compartment'],_0x42dcc7),_0x2e0a58(_0x42dcc7,_0xaafedb);}else{if(_0x52d847 instanceof PrecExtension)_0x2e0a58(_0x52d847['inner'],_0x52d847['prec']);else{if(_0x52d847 instanceof StateField)_0x3a3913[_0xaafedb]['push'](_0x52d847),_0x52d847['provides']&&_0x2e0a58(_0x52d847['provides'],_0xaafedb);else{if(_0x52d847 instanceof FacetProvider)_0x3a3913[_0xaafedb]['push'](_0x52d847),_0x52d847['facet']['extensions']&&_0x2e0a58(_0x52d847['facet']['extensions'],_0x4ef9cf);else{let _0x42e933=_0x52d847['extension'];if(!_0x42e933)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x52d847+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x2e0a58(_0x42e933,_0xaafedb);}}}}}}return _0x2e0a58(_0x50d230,_0x4ef9cf),_0x3a3913['reduce']((_0x355d74,_0x5b5e11)=>_0x355d74['concat'](_0x5b5e11));}(_0x2c61a5,_0x481e1b,_0x4fdadd))_0x16d23e instanceof StateField?_0x419edf['push'](_0x16d23e):(_0x19a7bc[_0x16d23e['facet']['id']]||(_0x19a7bc[_0x16d23e['facet']['id']]=[]))['push'](_0x16d23e);let _0x4af71b=Object['create'](null),_0x35c856=[],_0x2df37a=[];for(let _0xc2bfc1 of _0x419edf)_0x4af71b[_0xc2bfc1['id']]=_0x2df37a['length']<<0x1,_0x2df37a['push'](_0xfc2e41=>_0xc2bfc1['slot'](_0xfc2e41));let _0x29f9df=null==_0x5c1ba0?void 0x0:_0x5c1ba0['config']['facets'];for(let _0x699f0e in _0x19a7bc){let _0x1e57f6=_0x19a7bc[_0x699f0e],_0x323816=_0x1e57f6[0x0]['facet'],_0xeba0e0=_0x29f9df&&_0x29f9df[_0x699f0e]||[];if(_0x1e57f6['every'](_0x508b2a=>0x0==_0x508b2a['type'])){if(_0x4af71b[_0x323816['id']]=_0x35c856['length']<<0x1|0x1,_0x398678(_0xeba0e0,_0x1e57f6))_0x35c856['push'](_0x5c1ba0['facet'](_0x323816));else{let _0x23fead=_0x323816['combine'](_0x1e57f6['map'](_0x59dfd1=>_0x59dfd1['value']));_0x35c856['push'](_0x5c1ba0&&_0x323816['compare'](_0x23fead,_0x5c1ba0['facet'](_0x323816))?_0x5c1ba0['facet'](_0x323816):_0x23fead);}}else{for(let _0x3e9e0e of _0x1e57f6)0x0==_0x3e9e0e['type']?(_0x4af71b[_0x3e9e0e['id']]=_0x35c856['length']<<0x1|0x1,_0x35c856['push'](_0x3e9e0e['value'])):(_0x4af71b[_0x3e9e0e['id']]=_0x2df37a['length']<<0x1,_0x2df37a['push'](_0x56467a=>_0x3e9e0e['dynamicSlot'](_0x56467a)));_0x4af71b[_0x323816['id']]=_0x2df37a['length']<<0x1,_0x2df37a['push'](_0x2f2cbb=>_0x36d470(_0x2f2cbb,_0x323816,_0x1e57f6));}}let _0x40f649=_0x2df37a['map'](_0x41a665=>_0x41a665(_0x4af71b));return new Configuration(_0x2c61a5,_0x4fdadd,_0x40f649,_0x4af71b,_0x35c856,_0x19a7bc);}}function _0x36e1df(_0x68a7ab,_0x4ec71d){if(0x1&_0x4ec71d)return 0x2;let _0x2fd0f3=_0x4ec71d>>0x1,_0x45359a=_0x68a7ab['status'][_0x2fd0f3];if(0x4==_0x45359a)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x45359a)return _0x45359a;_0x68a7ab['status'][_0x2fd0f3]=0x4;let _0x24c36d=_0x68a7ab['computeSlot'](_0x68a7ab,_0x68a7ab['config']['dynamicSlots'][_0x2fd0f3]);return _0x68a7ab['status'][_0x2fd0f3]=0x2|_0x24c36d;}function _0x5a9582(_0x458dbd,_0x5dda31){return 0x1&_0x5dda31?_0x458dbd['config']['staticValues'][_0x5dda31>>0x1]:_0x458dbd['values'][_0x5dda31>>0x1];}const _0x7eed6b=Facet['define'](),_0x28f5a0=Facet['define']({'combine':_0xc36147=>_0xc36147['some'](_0x10d3a3=>_0x10d3a3),'static':!0x0}),_0x39536e=Facet['define']({'combine':_0x220918=>_0x220918['length']?_0x220918[0x0]:void 0x0,'static':!0x0}),_0xb83796=Facet['define'](),_0x49cdee=Facet['define'](),_0x283e0f=Facet['define'](),_0x4a79a6=Facet['define']({'combine':_0x4bfc26=>!!_0x4bfc26['length']&&_0x4bfc26[0x0]});class Annotation{constructor(_0x4777aa,_0x3e256d){this['type']=_0x4777aa,this['value']=_0x3e256d;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x202ca7){return new Annotation(this,_0x202ca7);}}class StateEffectType{constructor(_0x1a9e73){this['map']=_0x1a9e73;}['of'](_0x324375){return new StateEffect(this,_0x324375);}}class StateEffect{constructor(_0x3621e6,_0x3542bb){this['type']=_0x3621e6,this['value']=_0x3542bb;}['map'](_0x2bda07){let _0xb9f28a=this['type']['map'](this['value'],_0x2bda07);return void 0x0===_0xb9f28a?void 0x0:_0xb9f28a==this['value']?this:new StateEffect(this['type'],_0xb9f28a);}['is'](_0xf84f4d){return this['type']==_0xf84f4d;}static['define'](_0x2b5938={}){return new StateEffectType(_0x2b5938['map']||(_0x20f464=>_0x20f464));}static['mapEffects'](_0x1d81e5,_0x59c72b){if(!_0x1d81e5['length'])return _0x1d81e5;let _0x48ffc2=[];for(let _0x4514ee of _0x1d81e5){let _0x41c8be=_0x4514ee['map'](_0x59c72b);_0x41c8be&&_0x48ffc2['push'](_0x41c8be);}return _0x48ffc2;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0xb9533a,_0x122c17,_0x4666b6,_0x52cd12,_0x1227dc,_0x31d9c4){this['startState']=_0xb9533a,this['changes']=_0x122c17,this['selection']=_0x4666b6,this['effects']=_0x52cd12,this['annotations']=_0x1227dc,this['scrollIntoView']=_0x31d9c4,this['_doc']=null,this['_state']=null,_0x4666b6&&_0x113630(_0x4666b6,_0x122c17['newLength']),_0x1227dc['some'](_0x3e83cb=>_0x3e83cb['type']==Transaction['time'])||(this['annotations']=_0x1227dc['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x4ea21c,_0x177594,_0x2979d5,_0x1bb05c,_0x4efa3d,_0x2b9444){return new Transaction(_0x4ea21c,_0x177594,_0x2979d5,_0x1bb05c,_0x4efa3d,_0x2b9444);}get['newDoc'](){return this['_doc']||(this['_doc']=this['changes']['apply'](this['startState']['doc']));}get['newSelection'](){return this['selection']||this['startState']['selection']['map'](this['changes']);}get['state'](){return this['_state']||this['startState']['applyTransaction'](this),this['_state'];}['annotation'](_0x588a37){for(let _0x5f1b9e of this['annotations'])if(_0x5f1b9e['type']==_0x588a37)return _0x5f1b9e['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x51bfb1){let _0x4d6dc3=this['annotation'](Transaction['userEvent']);return!(!_0x4d6dc3||!(_0x4d6dc3==_0x51bfb1||_0x4d6dc3['length']>_0x51bfb1['length']&&_0x4d6dc3['slice'](0x0,_0x51bfb1['length'])==_0x51bfb1&&'.'==_0x4d6dc3[_0x51bfb1['length']]));}}function _0x41c89b(_0x173db1,_0x13eef7){let _0x42a69c=[];for(let _0x282481=0x0,_0x19f92d=0x0;;){let _0x4f0e6d,_0x501779;if(_0x282481<_0x173db1['length']&&(_0x19f92d==_0x13eef7['length']||_0x13eef7[_0x19f92d]>=_0x173db1[_0x282481]))_0x4f0e6d=_0x173db1[_0x282481++],_0x501779=_0x173db1[_0x282481++];else{if(!(_0x19f92d<_0x13eef7['length']))return _0x42a69c;_0x4f0e6d=_0x13eef7[_0x19f92d++],_0x501779=_0x13eef7[_0x19f92d++];}!_0x42a69c['length']||_0x42a69c[_0x42a69c['length']-0x1]<_0x4f0e6d?_0x42a69c['push'](_0x4f0e6d,_0x501779):_0x42a69c[_0x42a69c['length']-0x1]<_0x501779&&(_0x42a69c[_0x42a69c['length']-0x1]=_0x501779);}}function _0xfdb0f0(_0x4b670b,_0x5d809c,_0x41a2ba){var _0x348eef;let _0x4bcab4,_0x437e9d,_0x5b27ec;return _0x41a2ba?(_0x4bcab4=_0x5d809c['changes'],_0x437e9d=ChangeSet['empty'](_0x5d809c['changes']['length']),_0x5b27ec=_0x4b670b['changes']['compose'](_0x5d809c['changes'])):(_0x4bcab4=_0x5d809c['changes']['map'](_0x4b670b['changes']),_0x437e9d=_0x4b670b['changes']['mapDesc'](_0x5d809c['changes'],!0x0),_0x5b27ec=_0x4b670b['changes']['compose'](_0x4bcab4)),{'changes':_0x5b27ec,'selection':_0x5d809c['selection']?_0x5d809c['selection']['map'](_0x437e9d):null===(_0x348eef=_0x4b670b['selection'])||void 0x0===_0x348eef?void 0x0:_0x348eef['map'](_0x4bcab4),'effects':StateEffect['mapEffects'](_0x4b670b['effects'],_0x4bcab4)['concat'](StateEffect['mapEffects'](_0x5d809c['effects'],_0x437e9d)),'annotations':_0x4b670b['annotations']['length']?_0x4b670b['annotations']['concat'](_0x5d809c['annotations']):_0x5d809c['annotations'],'scrollIntoView':_0x4b670b['scrollIntoView']||_0x5d809c['scrollIntoView']};}function _0xab2d24(_0x55b70a,_0x454aec,_0x54f852){let _0x5d6e8a=_0x454aec['selection'],_0x6e8143=_0x3301f4(_0x454aec['annotations']);return _0x454aec['userEvent']&&(_0x6e8143=_0x6e8143['concat'](Transaction['userEvent']['of'](_0x454aec['userEvent']))),{'changes':_0x454aec['changes']instanceof ChangeSet?_0x454aec['changes']:ChangeSet['of'](_0x454aec['changes']||[],_0x54f852,_0x55b70a['facet'](_0x39536e)),'selection':_0x5d6e8a&&(_0x5d6e8a instanceof EditorSelection?_0x5d6e8a:EditorSelection['single'](_0x5d6e8a['anchor'],_0x5d6e8a['head'])),'effects':_0x3301f4(_0x454aec['effects']),'annotations':_0x6e8143,'scrollIntoView':!!_0x454aec['scrollIntoView']};}function tO(_0x124d88,_0xce783d,_0x56f144){let _0x43d4b4=_0xab2d24(_0x124d88,_0xce783d['length']?_0xce783d[0x0]:{},_0x124d88['doc']['length']);_0xce783d['length']&&!0x1===_0xce783d[0x0]['filter']&&(_0x56f144=!0x1);for(let _0x139b21=0x1;_0x139b21<_0xce783d['length'];_0x139b21++){!0x1===_0xce783d[_0x139b21]['filter']&&(_0x56f144=!0x1);let _0x3616b9=!!_0xce783d[_0x139b21]['sequential'];_0x43d4b4=_0xfdb0f0(_0x43d4b4,_0xab2d24(_0x124d88,_0xce783d[_0x139b21],_0x3616b9?_0x43d4b4['changes']['newLength']:_0x124d88['doc']['length']),_0x3616b9);}let _0x15c034=Transaction['create'](_0x124d88,_0x43d4b4['changes'],_0x43d4b4['selection'],_0x43d4b4['effects'],_0x43d4b4['annotations'],_0x43d4b4['scrollIntoView']);return function(_0x3b78c9){let _0x127371=_0x3b78c9['startState'],_0x579f2f=_0x127371['facet'](_0x283e0f),_0x51c529=_0x3b78c9;for(let _0x39a2a0=_0x579f2f['length']-0x1;_0x39a2a0>=0x0;_0x39a2a0--){let _0x286f13=_0x579f2f[_0x39a2a0](_0x3b78c9);_0x286f13&&Object['keys'](_0x286f13)['length']&&(_0x51c529=_0xfdb0f0(_0x51c529,_0xab2d24(_0x127371,_0x286f13,_0x3b78c9['changes']['newLength']),!0x0));}return _0x51c529==_0x3b78c9?_0x3b78c9:Transaction['create'](_0x127371,_0x3b78c9['changes'],_0x3b78c9['selection'],_0x51c529['effects'],_0x51c529['annotations'],_0x51c529['scrollIntoView']);}(_0x56f144?function(_0x3610fa){let _0x35768f=_0x3610fa['startState'],_0x138330=!0x0;for(let _0x12f508 of _0x35768f['facet'](_0xb83796)){let _0xd62af6=_0x12f508(_0x3610fa);if(!0x1===_0xd62af6){_0x138330=!0x1;break;}Array['isArray'](_0xd62af6)&&(_0x138330=!0x0===_0x138330?_0xd62af6:_0x41c89b(_0x138330,_0xd62af6));}if(!0x0!==_0x138330){let _0x22a835,_0x427a8b;if(!0x1===_0x138330)_0x427a8b=_0x3610fa['changes']['invertedDesc'],_0x22a835=ChangeSet['empty'](_0x35768f['doc']['length']);else{let _0x7b3651=_0x3610fa['changes']['filter'](_0x138330);_0x22a835=_0x7b3651['changes'],_0x427a8b=_0x7b3651['filtered']['mapDesc'](_0x7b3651['changes'])['invertedDesc'];}_0x3610fa=Transaction['create'](_0x35768f,_0x22a835,_0x3610fa['selection']&&_0x3610fa['selection']['map'](_0x427a8b),StateEffect['mapEffects'](_0x3610fa['effects'],_0x427a8b),_0x3610fa['annotations'],_0x3610fa['scrollIntoView']);}let _0x56640c=_0x35768f['facet'](_0x49cdee);for(let _0x5637fa=_0x56640c['length']-0x1;_0x5637fa>=0x0;_0x5637fa--){let _0x1f645b=_0x56640c[_0x5637fa](_0x3610fa);_0x3610fa=_0x1f645b instanceof Transaction?_0x1f645b:Array['isArray'](_0x1f645b)&&0x1==_0x1f645b['length']&&_0x1f645b[0x0]instanceof Transaction?_0x1f645b[0x0]:tO(_0x35768f,_0x3301f4(_0x1f645b),!0x1);}return _0x3610fa;}(_0x15c034):_0x15c034);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x26ffef=[];function _0x3301f4(_0x1af1ef){return null==_0x1af1ef?_0x26ffef:Array['isArray'](_0x1af1ef)?_0x1af1ef:[_0x1af1ef];}var _0x1d3da0=function(_0x25a6f8){return _0x25a6f8[_0x25a6f8['Word']=0x0]='Word',_0x25a6f8[_0x25a6f8['Space']=0x1]='Space',_0x25a6f8[_0x25a6f8['Other']=0x2]='Other',_0x25a6f8;}(_0x1d3da0||(_0x1d3da0={}));const _0x206b05=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x491568;try{_0x491568=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x2a588e){}function _0x1e0ac2(_0x14e66a){return _0x2a8249=>{if(!/\S/['test'](_0x2a8249))return _0x1d3da0['Space'];if(function(_0x42c30a){if(_0x491568)return _0x491568['test'](_0x42c30a);for(let _0x1f9b4f=0x0;_0x1f9b4f<_0x42c30a['length'];_0x1f9b4f++){let _0x178733=_0x42c30a[_0x1f9b4f];if(/\w/['test'](_0x178733)||_0x178733>'\u0080'&&(_0x178733['toUpperCase']()!=_0x178733['toLowerCase']()||_0x206b05['test'](_0x178733)))return!0x0;}return!0x1;}(_0x2a8249))return _0x1d3da0['Word'];for(let _0xed8cd4=0x0;_0xed8cd4<_0x14e66a['length'];_0xed8cd4++)if(_0x2a8249['indexOf'](_0x14e66a[_0xed8cd4])>-0x1)return _0x1d3da0['Word'];return _0x1d3da0['Other'];};}class EditorState{constructor(_0x418fa5,_0x2f9bf6,_0x1486d0,_0x58242c,_0x40424a,_0x472533){this['config']=_0x418fa5,this['doc']=_0x2f9bf6,this['selection']=_0x1486d0,this['values']=_0x58242c,this['status']=_0x418fa5['statusTemplate']['slice'](),this['computeSlot']=_0x40424a,_0x472533&&(_0x472533['_state']=this);for(let _0x302dfe=0x0;_0x302dfe<this['config']['dynamicSlots']['length'];_0x302dfe++)_0x36e1df(this,_0x302dfe<<0x1);this['computeSlot']=null;}['field'](_0x413eea,_0x23eb89=!0x0){let _0x4cb0d6=this['config']['address'][_0x413eea['id']];if(null!=_0x4cb0d6)return _0x36e1df(this,_0x4cb0d6),_0x5a9582(this,_0x4cb0d6);if(_0x23eb89)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x5cedf4){return tO(this,_0x5cedf4,!0x0);}['applyTransaction'](_0x1135ab){let _0x5acc69,_0x5060b6=this['config'],{base:_0xce6af1,compartments:_0x13718a}=_0x5060b6;for(let _0x283dc9 of _0x1135ab['effects'])_0x283dc9['is'](Compartment['reconfigure'])?(_0x5060b6&&(_0x13718a=new Map(),_0x5060b6['compartments']['forEach']((_0x4d57c1,_0x31c94f)=>_0x13718a['set'](_0x31c94f,_0x4d57c1)),_0x5060b6=null),_0x13718a['set'](_0x283dc9['value']['compartment'],_0x283dc9['value']['extension'])):_0x283dc9['is'](StateEffect['reconfigure'])?(_0x5060b6=null,_0xce6af1=_0x283dc9['value']):_0x283dc9['is'](StateEffect['appendConfig'])&&(_0x5060b6=null,_0xce6af1=_0x3301f4(_0xce6af1)['concat'](_0x283dc9['value']));if(_0x5060b6)_0x5acc69=_0x1135ab['startState']['values']['slice']();else _0x5060b6=Configuration['resolve'](_0xce6af1,_0x13718a,this),_0x5acc69=new EditorState(_0x5060b6,this['doc'],this['selection'],_0x5060b6['dynamicSlots']['map'](()=>null),(_0x16bfb9,_0x5dff28)=>_0x5dff28['reconfigure'](_0x16bfb9,this),null)['values'];let _0x55ecb8=_0x1135ab['startState']['facet'](_0x28f5a0)?_0x1135ab['newSelection']:_0x1135ab['newSelection']['asSingle']();new EditorState(_0x5060b6,_0x1135ab['newDoc'],_0x55ecb8,_0x5acc69,(_0x4c840f,_0x497346)=>_0x497346['update'](_0x4c840f,_0x1135ab),_0x1135ab);}['replaceSelection'](_0x2f2936){return'string'==typeof _0x2f2936&&(_0x2f2936=this['toText'](_0x2f2936)),this['changeByRange'](_0x1f6360=>({'changes':{'from':_0x1f6360['from'],'to':_0x1f6360['to'],'insert':_0x2f2936},'range':EditorSelection['cursor'](_0x1f6360['from']+_0x2f2936['length'])}));}['changeByRange'](_0x32a901){let _0x52e94e=this['selection'],_0x33ed7d=_0x32a901(_0x52e94e['ranges'][0x0]),_0x4c9043=this['changes'](_0x33ed7d['changes']),_0x3e2557=[_0x33ed7d['range']],_0x1621e0=_0x3301f4(_0x33ed7d['effects']);for(let _0x37840c=0x1;_0x37840c<_0x52e94e['ranges']['length'];_0x37840c++){let _0xc59d7a=_0x32a901(_0x52e94e['ranges'][_0x37840c]),_0x1a4e9c=this['changes'](_0xc59d7a['changes']),_0xd6decc=_0x1a4e9c['map'](_0x4c9043);for(let _0x503483=0x0;_0x503483<_0x37840c;_0x503483++)_0x3e2557[_0x503483]=_0x3e2557[_0x503483]['map'](_0xd6decc);let _0x4776aa=_0x4c9043['mapDesc'](_0x1a4e9c,!0x0);_0x3e2557['push'](_0xc59d7a['range']['map'](_0x4776aa)),_0x4c9043=_0x4c9043['compose'](_0xd6decc),_0x1621e0=StateEffect['mapEffects'](_0x1621e0,_0xd6decc)['concat'](StateEffect['mapEffects'](_0x3301f4(_0xc59d7a['effects']),_0x4776aa));}return{'changes':_0x4c9043,'selection':EditorSelection['create'](_0x3e2557,_0x52e94e['mainIndex']),'effects':_0x1621e0};}['changes'](_0x1f4975=[]){return _0x1f4975 instanceof ChangeSet?_0x1f4975:ChangeSet['of'](_0x1f4975,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x5065a1){return _0x9ec70d['of'](_0x5065a1['split'](this['facet'](EditorState['lineSeparator'])||_0x2c5050));}['sliceDoc'](_0x36ce04=0x0,_0x54bbad=this['doc']['length']){return this['doc']['sliceString'](_0x36ce04,_0x54bbad,this['lineBreak']);}['facet'](_0x46f800){let _0x34a1e0=this['config']['address'][_0x46f800['id']];return null==_0x34a1e0?_0x46f800['default']:(_0x36e1df(this,_0x34a1e0),_0x5a9582(this,_0x34a1e0));}['toJSON'](_0x203d53){let _0x43484c={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x203d53)for(let _0x52b213 in _0x203d53){let _0x35bcec=_0x203d53[_0x52b213];_0x35bcec instanceof StateField&&null!=this['config']['address'][_0x35bcec['id']]&&(_0x43484c[_0x52b213]=_0x35bcec['spec']['toJSON'](this['field'](_0x203d53[_0x52b213]),this));}return _0x43484c;}static['fromJSON'](_0x197e0a,_0x5c1f95={},_0x2508f0){if(!_0x197e0a||'string'!=typeof _0x197e0a['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x317d68=[];if(_0x2508f0){for(let _0x2b9f28 in _0x2508f0)if(Object['prototype']['hasOwnProperty']['call'](_0x197e0a,_0x2b9f28)){let _0xd40be6=_0x2508f0[_0x2b9f28],_0xdf6df1=_0x197e0a[_0x2b9f28];_0x317d68['push'](_0xd40be6['init'](_0x519c02=>_0xd40be6['spec']['fromJSON'](_0xdf6df1,_0x519c02)));}}return EditorState['create']({'doc':_0x197e0a['doc'],'selection':EditorSelection['fromJSON'](_0x197e0a['selection']),'extensions':_0x5c1f95['extensions']?_0x317d68['concat']([_0x5c1f95['extensions']]):_0x317d68});}static['create'](_0x36f5d2={}){let _0xc0ff3c=Configuration['resolve'](_0x36f5d2['extensions']||[],new Map()),_0x574295=_0x36f5d2['doc']instanceof _0x9ec70d?_0x36f5d2['doc']:_0x9ec70d['of']((_0x36f5d2['doc']||'')['split'](_0xc0ff3c['staticFacet'](EditorState['lineSeparator'])||_0x2c5050)),_0x23b183=_0x36f5d2['selection']?_0x36f5d2['selection']instanceof EditorSelection?_0x36f5d2['selection']:EditorSelection['single'](_0x36f5d2['selection']['anchor'],_0x36f5d2['selection']['head']):EditorSelection['single'](0x0);return _0x113630(_0x23b183,_0x574295['length']),_0xc0ff3c['staticFacet'](_0x28f5a0)||(_0x23b183=_0x23b183['asSingle']()),new EditorState(_0xc0ff3c,_0x574295,_0x23b183,_0xc0ff3c['dynamicSlots']['map'](()=>null),(_0x94f71f,_0xb9ab62)=>_0xb9ab62['create'](_0x94f71f),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x4a79a6);}['phrase'](_0x342575,..._0x803061){for(let _0x586426 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x586426,_0x342575)){_0x342575=_0x586426[_0x342575];break;}return _0x803061['length']&&(_0x342575=_0x342575['replace'](/\$(\$|\d*)/g,(_0x4802a4,_0x185ddc)=>{if('$'==_0x185ddc)return'$';let _0x4e9ea7=+(_0x185ddc||0x1);return!_0x4e9ea7||_0x4e9ea7>_0x803061['length']?_0x4802a4:_0x803061[_0x4e9ea7-0x1];})),_0x342575;}['languageDataAt'](_0x2ee68c,_0x265236,_0x28d9b1=-0x1){let _0x26b411=[];for(let _0x2b51e5 of this['facet'](_0x7eed6b))for(let _0x4c3130 of _0x2b51e5(this,_0x265236,_0x28d9b1))Object['prototype']['hasOwnProperty']['call'](_0x4c3130,_0x2ee68c)&&_0x26b411['push'](_0x4c3130[_0x2ee68c]);return _0x26b411;}['charCategorizer'](_0x569b1b){return _0x1e0ac2(this['languageDataAt']('wordChars',_0x569b1b)['join'](''));}['wordAt'](_0x5f1ec4){let {text:_0x32e4fb,from:_0x84c3c9,length:_0x419046}=this['doc']['lineAt'](_0x5f1ec4),_0x8b7c1f=this['charCategorizer'](_0x5f1ec4),_0x205a91=_0x5f1ec4-_0x84c3c9,_0x31b01b=_0x5f1ec4-_0x84c3c9;for(;_0x205a91>0x0;){let _0x3d3b3a=_0x125880(_0x32e4fb,_0x205a91,!0x1);if(_0x8b7c1f(_0x32e4fb['slice'](_0x3d3b3a,_0x205a91))!=_0x1d3da0['Word'])break;_0x205a91=_0x3d3b3a;}for(;_0x31b01b<_0x419046;){let _0x41e3ae=_0x125880(_0x32e4fb,_0x31b01b);if(_0x8b7c1f(_0x32e4fb['slice'](_0x31b01b,_0x41e3ae))!=_0x1d3da0['Word'])break;_0x31b01b=_0x41e3ae;}return _0x205a91==_0x31b01b?null:EditorSelection['range'](_0x205a91+_0x84c3c9,_0x31b01b+_0x84c3c9);}}function _0x267f8f(_0x19930c,_0xc0464a,_0x4cd35f={}){let _0x2d4ed9={};for(let _0x257ad1 of _0x19930c)for(let _0x42adb9 of Object['keys'](_0x257ad1)){let _0x5aa0d8=_0x257ad1[_0x42adb9],_0x57d025=_0x2d4ed9[_0x42adb9];if(void 0x0===_0x57d025)_0x2d4ed9[_0x42adb9]=_0x5aa0d8;else{if(_0x57d025===_0x5aa0d8||void 0x0===_0x5aa0d8);else{if(!Object['hasOwnProperty']['call'](_0x4cd35f,_0x42adb9))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x42adb9);_0x2d4ed9[_0x42adb9]=_0x4cd35f[_0x42adb9](_0x57d025,_0x5aa0d8);}}}for(let _0x52cfbc in _0xc0464a)void 0x0===_0x2d4ed9[_0x52cfbc]&&(_0x2d4ed9[_0x52cfbc]=_0xc0464a[_0x52cfbc]);return _0x2d4ed9;}EditorState['allowMultipleSelections']=_0x28f5a0,EditorState['tabSize']=Facet['define']({'combine':_0x2d1b3b=>_0x2d1b3b['length']?_0x2d1b3b[0x0]:0x4}),EditorState['lineSeparator']=_0x39536e,EditorState['readOnly']=_0x4a79a6,EditorState['phrases']=Facet['define']({'compare'(_0x276120,_0x3e53fd){let _0x18657d=Object['keys'](_0x276120),_0x450b39=Object['keys'](_0x3e53fd);return _0x18657d['length']==_0x450b39['length']&&_0x18657d['every'](_0x2fb297=>_0x276120[_0x2fb297]==_0x3e53fd[_0x2fb297]);}}),EditorState['languageData']=_0x7eed6b,EditorState['changeFilter']=_0xb83796,EditorState['transactionFilter']=_0x49cdee,EditorState['transactionExtender']=_0x283e0f,Compartment['reconfigure']=StateEffect['define']();class _0x1a2400{['eq'](_0x1057e9){return this==_0x1057e9;}['range'](_0x557da0,_0x3c27a6=_0x557da0){return _0x1a3af1['create'](_0x557da0,_0x3c27a6,this);}}_0x1a2400['prototype']['startSide']=_0x1a2400['prototype']['endSide']=0x0,_0x1a2400['prototype']['point']=!0x1,_0x1a2400['prototype']['mapMode']=_0x59cdcf['TrackDel'];let _0x1a3af1=class _0xa611fd{constructor(_0x5470f8,_0x400176,_0x52dbe5){this['from']=_0x5470f8,this['to']=_0x400176,this['value']=_0x52dbe5;}static['create'](_0x111527,_0x1ae128,_0x12ef38){return new _0xa611fd(_0x111527,_0x1ae128,_0x12ef38);}};function _0xa3acf2(_0x9ff104,_0x1f5296){return _0x9ff104['from']-_0x1f5296['from']||_0x9ff104['value']['startSide']-_0x1f5296['value']['startSide'];}class _0x5d4ea{constructor(_0x5c1c49,_0x2b5d28,_0x576dbb,_0x9e8fa9){this['from']=_0x5c1c49,this['to']=_0x2b5d28,this['value']=_0x576dbb,this['maxPoint']=_0x9e8fa9;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x1b59b5,_0x2faa46,_0x59f05f,_0x32080f=0x0){let _0x363772=_0x59f05f?this['to']:this['from'];for(let _0x24794b=_0x32080f,_0x347c2a=_0x363772['length'];;){if(_0x24794b==_0x347c2a)return _0x24794b;let _0x284618=_0x24794b+_0x347c2a>>0x1,_0x25008c=_0x363772[_0x284618]-_0x1b59b5||(_0x59f05f?this['value'][_0x284618]['endSide']:this['value'][_0x284618]['startSide'])-_0x2faa46;if(_0x284618==_0x24794b)return _0x25008c>=0x0?_0x24794b:_0x347c2a;_0x25008c>=0x0?_0x347c2a=_0x284618:_0x24794b=_0x284618+0x1;}}['between'](_0x52d29c,_0x468c2c,_0x2e5dd5,_0x2b7c78){for(let _0x462274=this['findIndex'](_0x468c2c,-0x3b9aca00,!0x0),_0x43eed4=this['findIndex'](_0x2e5dd5,0x3b9aca00,!0x1,_0x462274);_0x462274<_0x43eed4;_0x462274++)if(!0x1===_0x2b7c78(this['from'][_0x462274]+_0x52d29c,this['to'][_0x462274]+_0x52d29c,this['value'][_0x462274]))return!0x1;}['map'](_0x4c8d0e,_0x2eda5d){let _0x361f8d=[],_0x4062d4=[],_0x1f24a5=[],_0x48833d=-0x1,_0x1478a=-0x1;for(let _0x5b19e1=0x0;_0x5b19e1<this['value']['length'];_0x5b19e1++){let _0x3d2944,_0x4cbd07,_0x1d5801=this['value'][_0x5b19e1],_0x26af8c=this['from'][_0x5b19e1]+_0x4c8d0e,_0x41da61=this['to'][_0x5b19e1]+_0x4c8d0e;if(_0x26af8c==_0x41da61){let _0x539eb9=_0x2eda5d['mapPos'](_0x26af8c,_0x1d5801['startSide'],_0x1d5801['mapMode']);if(null==_0x539eb9)continue;if(_0x3d2944=_0x4cbd07=_0x539eb9,_0x1d5801['startSide']!=_0x1d5801['endSide']&&(_0x4cbd07=_0x2eda5d['mapPos'](_0x26af8c,_0x1d5801['endSide']),_0x4cbd07<_0x3d2944))continue;}else{if(_0x3d2944=_0x2eda5d['mapPos'](_0x26af8c,_0x1d5801['startSide']),_0x4cbd07=_0x2eda5d['mapPos'](_0x41da61,_0x1d5801['endSide']),_0x3d2944>_0x4cbd07||_0x3d2944==_0x4cbd07&&_0x1d5801['startSide']>0x0&&_0x1d5801['endSide']<=0x0)continue;}(_0x4cbd07-_0x3d2944||_0x1d5801['endSide']-_0x1d5801['startSide'])<0x0||(_0x48833d<0x0&&(_0x48833d=_0x3d2944),_0x1d5801['point']&&(_0x1478a=Math['max'](_0x1478a,_0x4cbd07-_0x3d2944)),_0x361f8d['push'](_0x1d5801),_0x4062d4['push'](_0x3d2944-_0x48833d),_0x1f24a5['push'](_0x4cbd07-_0x48833d));}return{'mapped':_0x361f8d['length']?new _0x5d4ea(_0x4062d4,_0x1f24a5,_0x361f8d,_0x1478a):null,'pos':_0x48833d};}}class RangeSet{constructor(_0x43f56,_0x2c28ac,_0x2de777,_0x1ddb91){this['chunkPos']=_0x43f56,this['chunk']=_0x2c28ac,this['nextLayer']=_0x2de777,this['maxPoint']=_0x1ddb91;}static['create'](_0x1849b8,_0x20d703,_0x116471,_0x42873d){return new RangeSet(_0x1849b8,_0x20d703,_0x116471,_0x42873d);}get['length'](){let _0x3130d9=this['chunk']['length']-0x1;return _0x3130d9<0x0?0x0:Math['max'](this['chunkEnd'](_0x3130d9),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x71ae05=this['nextLayer']['size'];for(let _0x4f18ac of this['chunk'])_0x71ae05+=_0x4f18ac['value']['length'];return _0x71ae05;}['chunkEnd'](_0x4f3926){return this['chunkPos'][_0x4f3926]+this['chunk'][_0x4f3926]['length'];}['update'](_0x56d910){let {add:_0x53c652=[],sort:_0x2fc260=!0x1,filterFrom:_0x364a86=0x0,filterTo:_0x558b18=this['length']}=_0x56d910,_0x2a4bf7=_0x56d910['filter'];if(0x0==_0x53c652['length']&&!_0x2a4bf7)return this;if(_0x2fc260&&(_0x53c652=_0x53c652['slice']()['sort'](_0xa3acf2)),this['isEmpty'])return _0x53c652['length']?RangeSet['of'](_0x53c652):this;let _0x41d3f9=new _0x2b6f19(this,null,-0x1)['goto'](0x0),_0x3385bc=0x0,_0x29cc44=[],_0x5919fe=new RangeSetBuilder();for(;_0x41d3f9['value']||_0x3385bc<_0x53c652['length'];)if(_0x3385bc<_0x53c652['length']&&(_0x41d3f9['from']-_0x53c652[_0x3385bc]['from']||_0x41d3f9['startSide']-_0x53c652[_0x3385bc]['value']['startSide'])>=0x0){let _0x455592=_0x53c652[_0x3385bc++];_0x5919fe['addInner'](_0x455592['from'],_0x455592['to'],_0x455592['value'])||_0x29cc44['push'](_0x455592);}else 0x1==_0x41d3f9['rangeIndex']&&_0x41d3f9['chunkIndex']<this['chunk']['length']&&(_0x3385bc==_0x53c652['length']||this['chunkEnd'](_0x41d3f9['chunkIndex'])<_0x53c652[_0x3385bc]['from'])&&(!_0x2a4bf7||_0x364a86>this['chunkEnd'](_0x41d3f9['chunkIndex'])||_0x558b18<this['chunkPos'][_0x41d3f9['chunkIndex']])&&_0x5919fe['addChunk'](this['chunkPos'][_0x41d3f9['chunkIndex']],this['chunk'][_0x41d3f9['chunkIndex']])?_0x41d3f9['nextChunk']():((!_0x2a4bf7||_0x364a86>_0x41d3f9['to']||_0x558b18<_0x41d3f9['from']||_0x2a4bf7(_0x41d3f9['from'],_0x41d3f9['to'],_0x41d3f9['value']))&&(_0x5919fe['addInner'](_0x41d3f9['from'],_0x41d3f9['to'],_0x41d3f9['value'])||_0x29cc44['push'](_0x1a3af1['create'](_0x41d3f9['from'],_0x41d3f9['to'],_0x41d3f9['value']))),_0x41d3f9['next']());return _0x5919fe['finishInner'](this['nextLayer']['isEmpty']&&!_0x29cc44['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x29cc44,'filter':_0x2a4bf7,'filterFrom':_0x364a86,'filterTo':_0x558b18}));}['map'](_0x7071bb){if(_0x7071bb['empty']||this['isEmpty'])return this;let _0x1633a4=[],_0x18cf93=[],_0x593ad8=-0x1;for(let _0x44dcca=0x0;_0x44dcca<this['chunk']['length'];_0x44dcca++){let _0x1a37f7=this['chunkPos'][_0x44dcca],_0x5d2d16=this['chunk'][_0x44dcca],_0x15a265=_0x7071bb['touchesRange'](_0x1a37f7,_0x1a37f7+_0x5d2d16['length']);if(!0x1===_0x15a265)_0x593ad8=Math['max'](_0x593ad8,_0x5d2d16['maxPoint']),_0x1633a4['push'](_0x5d2d16),_0x18cf93['push'](_0x7071bb['mapPos'](_0x1a37f7));else{if(!0x0===_0x15a265){let {mapped:_0x3887dc,pos:_0x52ae80}=_0x5d2d16['map'](_0x1a37f7,_0x7071bb);_0x3887dc&&(_0x593ad8=Math['max'](_0x593ad8,_0x3887dc['maxPoint']),_0x1633a4['push'](_0x3887dc),_0x18cf93['push'](_0x52ae80));}}}let _0x515f01=this['nextLayer']['map'](_0x7071bb);return 0x0==_0x1633a4['length']?_0x515f01:new RangeSet(_0x18cf93,_0x1633a4,_0x515f01||RangeSet['empty'],_0x593ad8);}['between'](_0x470e63,_0xf23811,_0x2d96a2){if(!this['isEmpty']){for(let _0x5e5aba=0x0;_0x5e5aba<this['chunk']['length'];_0x5e5aba++){let _0x2c1b08=this['chunkPos'][_0x5e5aba],_0x41607c=this['chunk'][_0x5e5aba];if(_0xf23811>=_0x2c1b08&&_0x470e63<=_0x2c1b08+_0x41607c['length']&&!0x1===_0x41607c['between'](_0x2c1b08,_0x470e63-_0x2c1b08,_0xf23811-_0x2c1b08,_0x2d96a2))return;}this['nextLayer']['between'](_0x470e63,_0xf23811,_0x2d96a2);}}['iter'](_0x4f0b2f=0x0){return _0x4553a0['from']([this])['goto'](_0x4f0b2f);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x13138a,_0x37d7ab=0x0){return _0x4553a0['from'](_0x13138a)['goto'](_0x37d7ab);}static['compare'](_0x5c0de1,_0x219d65,_0x246ea1,_0x4e853d,_0x5beef3=-0x1){let _0x83fc28=_0x5c0de1['filter'](_0x922486=>_0x922486['maxPoint']>0x0||!_0x922486['isEmpty']&&_0x922486['maxPoint']>=_0x5beef3),_0x279eb3=_0x219d65['filter'](_0x3baa3a=>_0x3baa3a['maxPoint']>0x0||!_0x3baa3a['isEmpty']&&_0x3baa3a['maxPoint']>=_0x5beef3),_0x1ee115=_0x14b14d(_0x83fc28,_0x279eb3,_0x246ea1),_0x32062c=new _0x5c89bf(_0x83fc28,_0x1ee115,_0x5beef3),_0x10132a=new _0x5c89bf(_0x279eb3,_0x1ee115,_0x5beef3);_0x246ea1['iterGaps']((_0x133eca,_0x4a7b96,_0x5f38b1)=>_0x2362a5(_0x32062c,_0x133eca,_0x10132a,_0x4a7b96,_0x5f38b1,_0x4e853d)),_0x246ea1['empty']&&0x0==_0x246ea1['length']&&_0x2362a5(_0x32062c,0x0,_0x10132a,0x0,0x0,_0x4e853d);}static['eq'](_0x417991,_0x17bb0b,_0x56bae1=0x0,_0x30b3c9){null==_0x30b3c9&&(_0x30b3c9=0x3b9ac9ff);let _0x3638a5=_0x417991['filter'](_0x946bb9=>!_0x946bb9['isEmpty']&&_0x17bb0b['indexOf'](_0x946bb9)<0x0),_0x1bf7eb=_0x17bb0b['filter'](_0x11c03b=>!_0x11c03b['isEmpty']&&_0x417991['indexOf'](_0x11c03b)<0x0);if(_0x3638a5['length']!=_0x1bf7eb['length'])return!0x1;if(!_0x3638a5['length'])return!0x0;let _0x4d1515=_0x14b14d(_0x3638a5,_0x1bf7eb),_0x35d074=new _0x5c89bf(_0x3638a5,_0x4d1515,0x0)['goto'](_0x56bae1),_0x3bf9d1=new _0x5c89bf(_0x1bf7eb,_0x4d1515,0x0)['goto'](_0x56bae1);for(;;){if(_0x35d074['to']!=_0x3bf9d1['to']||!_0x581140(_0x35d074['active'],_0x3bf9d1['active'])||_0x35d074['point']&&(!_0x3bf9d1['point']||!_0x35d074['point']['eq'](_0x3bf9d1['point'])))return!0x1;if(_0x35d074['to']>_0x30b3c9)return!0x0;_0x35d074['next'](),_0x3bf9d1['next']();}}static['spans'](_0x4a66ff,_0x4015bf,_0xe10569,_0xfb7b11,_0x8e5827=-0x1){let _0x4220e5=new _0x5c89bf(_0x4a66ff,null,_0x8e5827)['goto'](_0x4015bf),_0x527047=_0x4015bf,_0x29529d=_0x4220e5['openStart'];for(;;){let _0x4f15d6=Math['min'](_0x4220e5['to'],_0xe10569);if(_0x4220e5['point']){let _0x210ed8=_0x4220e5['activeForPoint'](_0x4220e5['to']),_0x204845=_0x4220e5['pointFrom']<_0x4015bf?_0x210ed8['length']+0x1:_0x4220e5['point']['startSide']<0x0?_0x210ed8['length']:Math['min'](_0x210ed8['length'],_0x29529d);_0xfb7b11['point'](_0x527047,_0x4f15d6,_0x4220e5['point'],_0x210ed8,_0x204845,_0x4220e5['pointRank']),_0x29529d=Math['min'](_0x4220e5['openEnd'](_0x4f15d6),_0x210ed8['length']);}else _0x4f15d6>_0x527047&&(_0xfb7b11['span'](_0x527047,_0x4f15d6,_0x4220e5['active'],_0x29529d),_0x29529d=_0x4220e5['openEnd'](_0x4f15d6));if(_0x4220e5['to']>_0xe10569)return _0x29529d+(_0x4220e5['point']&&_0x4220e5['to']>_0xe10569?0x1:0x0);_0x527047=_0x4220e5['to'],_0x4220e5['next']();}}static['of'](_0x47458c,_0x5865c4=!0x1){let _0x21131d=new RangeSetBuilder();for(let _0x55c750 of _0x47458c instanceof _0x1a3af1?[_0x47458c]:_0x5865c4?function(_0xe2e264){if(_0xe2e264['length']>0x1)for(let _0x238223=_0xe2e264[0x0],_0x1ce4b1=0x1;_0x1ce4b1<_0xe2e264['length'];_0x1ce4b1++){let _0x102276=_0xe2e264[_0x1ce4b1];if(_0xa3acf2(_0x238223,_0x102276)>0x0)return _0xe2e264['slice']()['sort'](_0xa3acf2);_0x238223=_0x102276;}return _0xe2e264;}(_0x47458c):_0x47458c)_0x21131d['add'](_0x55c750['from'],_0x55c750['to'],_0x55c750['value']);return _0x21131d['finish']();}static['join'](_0x204c01){if(!_0x204c01['length'])return RangeSet['empty'];let _0x2875b1=_0x204c01[_0x204c01['length']-0x1];for(let _0x3cf341=_0x204c01['length']-0x2;_0x3cf341>=0x0;_0x3cf341--)for(let _0x572207=_0x204c01[_0x3cf341];_0x572207!=RangeSet['empty'];_0x572207=_0x572207['nextLayer'])_0x2875b1=new RangeSet(_0x572207['chunkPos'],_0x572207['chunk'],_0x2875b1,Math['max'](_0x572207['maxPoint'],_0x2875b1['maxPoint']));return _0x2875b1;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x5953e0){this['chunks']['push'](new _0x5d4ea(this['from'],this['to'],this['value'],this['maxPoint'])),this['chunkPos']['push'](this['chunkStart']),this['chunkStart']=-0x1,this['setMaxPoint']=Math['max'](this['setMaxPoint'],this['maxPoint']),this['maxPoint']=-0x1,_0x5953e0&&(this['from']=[],this['to']=[],this['value']=[]);}constructor(){this['chunks']=[],this['chunkPos']=[],this['chunkStart']=-0x1,this['last']=null,this['lastFrom']=-0x3b9aca00,this['lastTo']=-0x3b9aca00,this['from']=[],this['to']=[],this['value']=[],this['maxPoint']=-0x1,this['setMaxPoint']=-0x1,this['nextLayer']=null;}['add'](_0xcf5c92,_0x2be4b0,_0x372150){this['addInner'](_0xcf5c92,_0x2be4b0,_0x372150)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0xcf5c92,_0x2be4b0,_0x372150);}['addInner'](_0x45b04c,_0x276d91,_0x5e8a85){let _0x239efc=_0x45b04c-this['lastTo']||_0x5e8a85['startSide']-this['last']['endSide'];if(_0x239efc<=0x0&&(_0x45b04c-this['lastFrom']||_0x5e8a85['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x239efc<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x45b04c),this['from']['push'](_0x45b04c-this['chunkStart']),this['to']['push'](_0x276d91-this['chunkStart']),this['last']=_0x5e8a85,this['lastFrom']=_0x45b04c,this['lastTo']=_0x276d91,this['value']['push'](_0x5e8a85),_0x5e8a85['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x276d91-_0x45b04c)),!0x0);}['addChunk'](_0x36b50a,_0xb36ab4){if((_0x36b50a-this['lastTo']||_0xb36ab4['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0xb36ab4['maxPoint']),this['chunks']['push'](_0xb36ab4),this['chunkPos']['push'](_0x36b50a);let _0x5e1244=_0xb36ab4['value']['length']-0x1;return this['last']=_0xb36ab4['value'][_0x5e1244],this['lastFrom']=_0xb36ab4['from'][_0x5e1244]+_0x36b50a,this['lastTo']=_0xb36ab4['to'][_0x5e1244]+_0x36b50a,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x25dcbf){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x25dcbf;let _0x1faacd=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x25dcbf):_0x25dcbf,this['setMaxPoint']);return this['from']=null,_0x1faacd;}}function _0x14b14d(_0x5d9d55,_0x23c69,_0x5ce8e1){let _0x310368=new Map();for(let _0x3211ef of _0x5d9d55)for(let _0x1f7918=0x0;_0x1f7918<_0x3211ef['chunk']['length'];_0x1f7918++)_0x3211ef['chunk'][_0x1f7918]['maxPoint']<=0x0&&_0x310368['set'](_0x3211ef['chunk'][_0x1f7918],_0x3211ef['chunkPos'][_0x1f7918]);let _0x473ca1=new Set();for(let _0x25c5f4 of _0x23c69)for(let _0x4cc183=0x0;_0x4cc183<_0x25c5f4['chunk']['length'];_0x4cc183++){let _0x32fd13=_0x310368['get'](_0x25c5f4['chunk'][_0x4cc183]);null==_0x32fd13||(_0x5ce8e1?_0x5ce8e1['mapPos'](_0x32fd13):_0x32fd13)!=_0x25c5f4['chunkPos'][_0x4cc183]||(null==_0x5ce8e1?void 0x0:_0x5ce8e1['touchesRange'](_0x32fd13,_0x32fd13+_0x25c5f4['chunk'][_0x4cc183]['length']))||_0x473ca1['add'](_0x25c5f4['chunk'][_0x4cc183]);}return _0x473ca1;}class _0x2b6f19{constructor(_0x39809b,_0xa8d999,_0x38956c,_0xa153f9=0x0){this['layer']=_0x39809b,this['skip']=_0xa8d999,this['minPoint']=_0x38956c,this['rank']=_0xa153f9;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x360cae,_0x2ee8c8=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x360cae,_0x2ee8c8,!0x1),this;}['gotoInner'](_0x61aeeb,_0x5e4007,_0x582bf5){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x55479d=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x55479d)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x61aeeb||_0x55479d['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x582bf5=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x2b6e38=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x61aeeb-this['layer']['chunkPos'][this['chunkIndex']],_0x5e4007,!0x0);(!_0x582bf5||this['rangeIndex']<_0x2b6e38)&&this['setRangeIndex'](_0x2b6e38);}this['next']();}['forward'](_0x46fe7f,_0x5311b2){(this['to']-_0x46fe7f||this['endSide']-_0x5311b2)<0x0&&this['gotoInner'](_0x46fe7f,_0x5311b2,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x5c3095=this['layer']['chunkPos'][this['chunkIndex']],_0xc2381=this['layer']['chunk'][this['chunkIndex']],_0x3df9f5=_0x5c3095+_0xc2381['from'][this['rangeIndex']];if(this['from']=_0x3df9f5,this['to']=_0x5c3095+_0xc2381['to'][this['rangeIndex']],this['value']=_0xc2381['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x2821ef){if(_0x2821ef==this['layer']['chunk'][this['chunkIndex']]['value']['length']){if(this['chunkIndex']++,this['skip']){for(;this['chunkIndex']<this['layer']['chunk']['length']&&this['skip']['has'](this['layer']['chunk'][this['chunkIndex']]);)this['chunkIndex']++;}this['rangeIndex']=0x0;}else this['rangeIndex']=_0x2821ef;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x681776){return this['from']-_0x681776['from']||this['startSide']-_0x681776['startSide']||this['rank']-_0x681776['rank']||this['to']-_0x681776['to']||this['endSide']-_0x681776['endSide'];}}class _0x4553a0{constructor(_0x3c1000){this['heap']=_0x3c1000;}static['from'](_0x3d3a40,_0x1f01e1=null,_0x420197=-0x1){let _0x5a62a1=[];for(let _0x40d1e9=0x0;_0x40d1e9<_0x3d3a40['length'];_0x40d1e9++)for(let _0xb2b7e=_0x3d3a40[_0x40d1e9];!_0xb2b7e['isEmpty'];_0xb2b7e=_0xb2b7e['nextLayer'])_0xb2b7e['maxPoint']>=_0x420197&&_0x5a62a1['push'](new _0x2b6f19(_0xb2b7e,_0x1f01e1,_0x420197,_0x40d1e9));return 0x1==_0x5a62a1['length']?_0x5a62a1[0x0]:new _0x4553a0(_0x5a62a1);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x26a798,_0x4593fd=-0x3b9aca00){for(let _0x129ec0 of this['heap'])_0x129ec0['goto'](_0x26a798,_0x4593fd);for(let _0x289c96=this['heap']['length']>>0x1;_0x289c96>=0x0;_0x289c96--)_0x13cb27(this['heap'],_0x289c96);return this['next'](),this;}['forward'](_0x5124c5,_0xc1a701){for(let _0x2ad6ed of this['heap'])_0x2ad6ed['forward'](_0x5124c5,_0xc1a701);for(let _0x42a3c2=this['heap']['length']>>0x1;_0x42a3c2>=0x0;_0x42a3c2--)_0x13cb27(this['heap'],_0x42a3c2);(this['to']-_0x5124c5||this['value']['endSide']-_0xc1a701)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x2c716d=this['heap'][0x0];this['from']=_0x2c716d['from'],this['to']=_0x2c716d['to'],this['value']=_0x2c716d['value'],this['rank']=_0x2c716d['rank'],_0x2c716d['value']&&_0x2c716d['next'](),_0x13cb27(this['heap'],0x0);}}}function _0x13cb27(_0x1c56dd,_0x39d51a){for(let _0x91906d=_0x1c56dd[_0x39d51a];;){let _0x4890bf=0x1+(_0x39d51a<<0x1);if(_0x4890bf>=_0x1c56dd['length'])break;let _0x5c3846=_0x1c56dd[_0x4890bf];if(_0x4890bf+0x1<_0x1c56dd['length']&&_0x5c3846['compare'](_0x1c56dd[_0x4890bf+0x1])>=0x0&&(_0x5c3846=_0x1c56dd[_0x4890bf+0x1],_0x4890bf++),_0x91906d['compare'](_0x5c3846)<0x0)break;_0x1c56dd[_0x4890bf]=_0x91906d,_0x1c56dd[_0x39d51a]=_0x5c3846,_0x39d51a=_0x4890bf;}}class _0x5c89bf{constructor(_0x10752b,_0x1e59bf,_0x901fee){this['minPoint']=_0x901fee,this['active']=[],this['activeTo']=[],this['activeRank']=[],this['minActive']=-0x1,this['point']=null,this['pointFrom']=0x0,this['pointRank']=0x0,this['to']=-0x3b9aca00,this['endSide']=0x0,this['openStart']=-0x1,this['cursor']=_0x4553a0['from'](_0x10752b,_0x1e59bf,_0x901fee);}['goto'](_0x4668f3,_0x41f242=-0x3b9aca00){return this['cursor']['goto'](_0x4668f3,_0x41f242),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x4668f3,this['endSide']=_0x41f242,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x2b7368,_0x2be375){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x2b7368||this['active'][this['minActive']]['endSide']-_0x2be375)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x2b7368,_0x2be375);}['removeActive'](_0x191815){_0x35ee0a(this['active'],_0x191815),_0x35ee0a(this['activeTo'],_0x191815),_0x35ee0a(this['activeRank'],_0x191815),this['minActive']=_0x40d4db(this['active'],this['activeTo']);}['addActive'](_0x367781){let _0x208636=0x0,{value:_0x5bcc31,to:_0x28f35a,rank:_0xfe5e2a}=this['cursor'];for(;_0x208636<this['activeRank']['length']&&(_0xfe5e2a-this['activeRank'][_0x208636]||_0x28f35a-this['activeTo'][_0x208636])>0x0;)_0x208636++;_0x54b655(this['active'],_0x208636,_0x5bcc31),_0x54b655(this['activeTo'],_0x208636,_0x28f35a),_0x54b655(this['activeRank'],_0x208636,_0xfe5e2a),_0x367781&&_0x54b655(_0x367781,_0x208636,this['cursor']['from']),this['minActive']=_0x40d4db(this['active'],this['activeTo']);}['next'](){let _0x3b7aba=this['to'],_0x5dc5b5=this['point'];this['point']=null;let _0x312d2c=this['openStart']<0x0?[]:null;for(;;){let _0x29e13e=this['minActive'];if(_0x29e13e>-0x1&&(this['activeTo'][_0x29e13e]-this['cursor']['from']||this['active'][_0x29e13e]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x29e13e]>_0x3b7aba){this['to']=this['activeTo'][_0x29e13e],this['endSide']=this['active'][_0x29e13e]['endSide'];break;}this['removeActive'](_0x29e13e),_0x312d2c&&_0x35ee0a(_0x312d2c,_0x29e13e);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x3b7aba){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x5e7294=this['cursor']['value'];if(_0x5e7294['point']){if(!(_0x5dc5b5&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x5e7294,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x5e7294['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x312d2c),this['cursor']['next']();}}}if(_0x312d2c){this['openStart']=0x0;for(let _0x425be8=_0x312d2c['length']-0x1;_0x425be8>=0x0&&_0x312d2c[_0x425be8]<_0x3b7aba;_0x425be8--)this['openStart']++;}}['activeForPoint'](_0x318884){if(!this['active']['length'])return this['active'];let _0x4db2ea=[];for(let _0x4920fa=this['active']['length']-0x1;_0x4920fa>=0x0&&!(this['activeRank'][_0x4920fa]<this['pointRank']);_0x4920fa--)(this['activeTo'][_0x4920fa]>_0x318884||this['activeTo'][_0x4920fa]==_0x318884&&this['active'][_0x4920fa]['endSide']>=this['point']['endSide'])&&_0x4db2ea['push'](this['active'][_0x4920fa]);return _0x4db2ea['reverse']();}['openEnd'](_0x36be5e){let _0x1ab282=0x0;for(let _0xdf81c=this['activeTo']['length']-0x1;_0xdf81c>=0x0&&this['activeTo'][_0xdf81c]>_0x36be5e;_0xdf81c--)_0x1ab282++;return _0x1ab282;}}function _0x2362a5(_0x5f5840,_0x1fad65,_0x5dcaab,_0x6c96c1,_0x3e1e67,_0x346f34){_0x5f5840['goto'](_0x1fad65),_0x5dcaab['goto'](_0x6c96c1);let _0x209996=_0x6c96c1+_0x3e1e67,_0x2ab255=_0x6c96c1,_0x3fa643=_0x6c96c1-_0x1fad65;for(;;){let _0x136ae7=_0x5f5840['to']+_0x3fa643-_0x5dcaab['to'],_0x43e1a4=_0x136ae7||_0x5f5840['endSide']-_0x5dcaab['endSide'],_0x26d7d2=_0x43e1a4<0x0?_0x5f5840['to']+_0x3fa643:_0x5dcaab['to'],_0x371d73=Math['min'](_0x26d7d2,_0x209996);if(_0x5f5840['point']||_0x5dcaab['point']?_0x5f5840['point']&&_0x5dcaab['point']&&(_0x5f5840['point']==_0x5dcaab['point']||_0x5f5840['point']['eq'](_0x5dcaab['point']))&&_0x581140(_0x5f5840['activeForPoint'](_0x5f5840['to']),_0x5dcaab['activeForPoint'](_0x5dcaab['to']))||_0x346f34['comparePoint'](_0x2ab255,_0x371d73,_0x5f5840['point'],_0x5dcaab['point']):_0x371d73>_0x2ab255&&!_0x581140(_0x5f5840['active'],_0x5dcaab['active'])&&_0x346f34['compareRange'](_0x2ab255,_0x371d73,_0x5f5840['active'],_0x5dcaab['active']),_0x26d7d2>_0x209996)break;(_0x136ae7||_0x5f5840['openEnd']!=_0x5dcaab['openEnd'])&&_0x346f34['boundChange']&&_0x346f34['boundChange'](_0x26d7d2),_0x2ab255=_0x26d7d2,_0x43e1a4<=0x0&&_0x5f5840['next'](),_0x43e1a4>=0x0&&_0x5dcaab['next']();}}function _0x581140(_0x3a9f2f,_0x485bcb){if(_0x3a9f2f['length']!=_0x485bcb['length'])return!0x1;for(let _0x4fbc42=0x0;_0x4fbc42<_0x3a9f2f['length'];_0x4fbc42++)if(_0x3a9f2f[_0x4fbc42]!=_0x485bcb[_0x4fbc42]&&!_0x3a9f2f[_0x4fbc42]['eq'](_0x485bcb[_0x4fbc42]))return!0x1;return!0x0;}function _0x35ee0a(_0x326d40,_0x4c7455){for(let _0x3684a1=_0x4c7455,_0x154ca6=_0x326d40['length']-0x1;_0x3684a1<_0x154ca6;_0x3684a1++)_0x326d40[_0x3684a1]=_0x326d40[_0x3684a1+0x1];_0x326d40['pop']();}function _0x54b655(_0x305fb0,_0x350fcc,_0x1afb5f){for(let _0x37ad1b=_0x305fb0['length']-0x1;_0x37ad1b>=_0x350fcc;_0x37ad1b--)_0x305fb0[_0x37ad1b+0x1]=_0x305fb0[_0x37ad1b];_0x305fb0[_0x350fcc]=_0x1afb5f;}function _0x40d4db(_0x110556,_0x562e5e){let _0x194bae=-0x1,_0x412811=0x3b9aca00;for(let _0x23ac0f=0x0;_0x23ac0f<_0x562e5e['length'];_0x23ac0f++)(_0x562e5e[_0x23ac0f]-_0x412811||_0x110556[_0x23ac0f]['endSide']-_0x110556[_0x194bae]['endSide'])<0x0&&(_0x194bae=_0x23ac0f,_0x412811=_0x562e5e[_0x23ac0f]);return _0x194bae;}function _0xfde3a0(_0xc1cc7d,_0x174ae8,_0x5f30a6=_0xc1cc7d['length']){let _0x574d86=0x0;for(let _0x1dca0a=0x0;_0x1dca0a<_0x5f30a6&&_0x1dca0a<_0xc1cc7d['length'];)0x9==_0xc1cc7d['charCodeAt'](_0x1dca0a)?(_0x574d86+=_0x174ae8-_0x574d86%_0x174ae8,_0x1dca0a++):(_0x574d86++,_0x1dca0a=_0x125880(_0xc1cc7d,_0x1dca0a));return _0x574d86;}function _0xace7c7(_0xcf9aee,_0x4a21e2,_0x33b836,_0x56714d){for(let _0x4c2bec=0x0,_0x4ce106=0x0;;){if(_0x4ce106>=_0x4a21e2)return _0x4c2bec;if(_0x4c2bec==_0xcf9aee['length'])break;_0x4ce106+=0x9==_0xcf9aee['charCodeAt'](_0x4c2bec)?_0x33b836-_0x4ce106%_0x33b836:0x1,_0x4c2bec=_0x125880(_0xcf9aee,_0x4c2bec);}return!0x0===_0x56714d?-0x1:_0xcf9aee['length'];}const _0x3af898='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),_0x159175='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),_0x57a143='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x3e882b,_0x5b0692){this['rules']=[];let {finish:_0x361e0f}=_0x5b0692||{};function _0x116b0a(_0x2fc0a0){return/^@/['test'](_0x2fc0a0)?[_0x2fc0a0]:_0x2fc0a0['split'](/,\s*/);}function _0x5972c4(_0x223a0a,_0x1b8114,_0x14f0e8,_0x5cc329){let _0x95a07e=[],_0x5655d4=/^@(\w+)\b/['exec'](_0x223a0a[0x0]),_0x23cc81=_0x5655d4&&'keyframes'==_0x5655d4[0x1];if(_0x5655d4&&null==_0x1b8114)return _0x14f0e8['push'](_0x223a0a[0x0]+';');for(let _0x566cee in _0x1b8114){let _0x48b3d6=_0x1b8114[_0x566cee];if(/&/['test'](_0x566cee))_0x5972c4(_0x566cee['split'](/,\s*/)['map'](_0x286714=>_0x223a0a['map'](_0x385419=>_0x286714['replace'](/&/,_0x385419)))['reduce']((_0x2ea574,_0x5db7da)=>_0x2ea574['concat'](_0x5db7da)),_0x48b3d6,_0x14f0e8);else{if(_0x48b3d6&&'object'==typeof _0x48b3d6){if(!_0x5655d4)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x566cee+')\x20should\x20be\x20a\x20primitive\x20value.');_0x5972c4(_0x116b0a(_0x566cee),_0x48b3d6,_0x95a07e,_0x23cc81);}else null!=_0x48b3d6&&_0x95a07e['push'](_0x566cee['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x5c39d4=>'-'+_0x5c39d4['toLowerCase']())+':\x20'+_0x48b3d6+';');}}(_0x95a07e['length']||_0x23cc81)&&_0x14f0e8['push']((!_0x361e0f||_0x5655d4||_0x5cc329?_0x223a0a:_0x223a0a['map'](_0x361e0f))['join'](',\x20')+'\x20{'+_0x95a07e['join']('\x20')+'}');}for(let _0x54efa7 in _0x3e882b)_0x5972c4(_0x116b0a(_0x54efa7),_0x3e882b[_0x54efa7],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x4aa864=_0x57a143[_0x3af898]||0x1;return _0x57a143[_0x3af898]=_0x4aa864+0x1,'ͼ'+_0x4aa864['toString'](0x24);}static['mount'](_0x3d7221,_0x1924b9,_0x46c4c2){let _0x52edfe=_0x3d7221[_0x159175],_0x2b43ef=_0x46c4c2&&_0x46c4c2['nonce'];_0x52edfe?_0x2b43ef&&_0x52edfe['setNonce'](_0x2b43ef):_0x52edfe=new StyleSet(_0x3d7221,_0x2b43ef),_0x52edfe['mount'](Array['isArray'](_0x1924b9)?_0x1924b9:[_0x1924b9],_0x3d7221);}}let _0x25bf3d=new Map();class StyleSet{constructor(_0x3cb837,_0x478112){let _0x9ff7e3=_0x3cb837['ownerDocument']||_0x3cb837,_0x4a7cbc=_0x9ff7e3['defaultView'];if(!_0x3cb837['head']&&_0x3cb837['adoptedStyleSheets']&&_0x4a7cbc['CSSStyleSheet']){let _0x5dad87=_0x25bf3d['get'](_0x9ff7e3);if(_0x5dad87)return _0x3cb837[_0x159175]=_0x5dad87;this['sheet']=new _0x4a7cbc['CSSStyleSheet'](),_0x25bf3d['set'](_0x9ff7e3,this);}else this['styleTag']=_0x9ff7e3['createElement']('style'),_0x478112&&this['styleTag']['setAttribute']('nonce',_0x478112);this['modules']=[],_0x3cb837[_0x159175]=this;}['mount'](_0x3ee0cc,_0x25de1f){let _0x270227=this['sheet'],_0x45cab7=0x0,_0xb2e4ac=0x0;for(let _0x5098d7=0x0;_0x5098d7<_0x3ee0cc['length'];_0x5098d7++){let _0x483224=_0x3ee0cc[_0x5098d7],_0x5b0c69=this['modules']['indexOf'](_0x483224);if(_0x5b0c69<_0xb2e4ac&&_0x5b0c69>-0x1&&(this['modules']['splice'](_0x5b0c69,0x1),_0xb2e4ac--,_0x5b0c69=-0x1),-0x1==_0x5b0c69){if(this['modules']['splice'](_0xb2e4ac++,0x0,_0x483224),_0x270227){for(let _0x430527=0x0;_0x430527<_0x483224['rules']['length'];_0x430527++)_0x270227['insertRule'](_0x483224['rules'][_0x430527],_0x45cab7++);}}else{for(;_0xb2e4ac<_0x5b0c69;)_0x45cab7+=this['modules'][_0xb2e4ac++]['rules']['length'];_0x45cab7+=_0x483224['rules']['length'],_0xb2e4ac++;}}if(_0x270227)_0x25de1f['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x25de1f['adoptedStyleSheets']=[this['sheet'],..._0x25de1f['adoptedStyleSheets']]);else{let _0x154daf='';for(let _0xc88d99=0x0;_0xc88d99<this['modules']['length'];_0xc88d99++)_0x154daf+=this['modules'][_0xc88d99]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x154daf;let _0x3fce8b=_0x25de1f['head']||_0x25de1f;this['styleTag']['parentNode']!=_0x3fce8b&&_0x3fce8b['insertBefore'](this['styleTag'],_0x3fce8b['firstChild']);}}['setNonce'](_0x507a6e){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x507a6e&&this['styleTag']['setAttribute']('nonce',_0x507a6e);}}for(var _0x2fee01={0x8:'Backspace',0x9:'Tab',0xa:'Enter',0xc:'NumLock',0xd:'Enter',0x10:'Shift',0x11:'Control',0x12:'Alt',0x14:'CapsLock',0x1b:'Escape',0x20:'\x20',0x21:'PageUp',0x22:'PageDown',0x23:'End',0x24:'Home',0x25:'ArrowLeft',0x26:'ArrowUp',0x27:'ArrowRight',0x28:'ArrowDown',0x2c:'PrintScreen',0x2d:'Insert',0x2e:'Delete',0x3b:';',0x3d:'=',0x5b:'Meta',0x5c:'Meta',0x6a:'*',0x6b:'+',0x6c:',',0x6d:'-',0x6e:'.',0x6f:'/',0x90:'NumLock',0x91:'ScrollLock',0xa0:'Shift',0xa1:'Shift',0xa2:'Control',0xa3:'Control',0xa4:'Alt',0xa5:'Alt',0xad:'-',0xba:';',0xbb:'=',0xbc:',',0xbd:'-',0xbe:'.',0xbf:'/',0xc0:'`',0xdb:'[',0xdc:'\x5c',0xdd:']',0xde:'\x27'},_0x517f91={0x30:')',0x31:'!',0x32:'@',0x33:'#',0x34:'$',0x35:'%',0x36:'^',0x37:'&',0x38:'*',0x39:'(',0x3b:':',0x3d:'+',0xad:'_',0xba:':',0xbb:'+',0xbc:'<',0xbd:'_',0xbe:'>',0xbf:'?',0xc0:'~',0xdb:'{',0xdc:'|',0xdd:'}',0xde:'\x22'},_0x257003='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x4c2e2='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x4b4aa6=0x0;_0x4b4aa6<0xa;_0x4b4aa6++)_0x2fee01[0x30+_0x4b4aa6]=_0x2fee01[0x60+_0x4b4aa6]=String(_0x4b4aa6);for(_0x4b4aa6=0x1;_0x4b4aa6<=0x18;_0x4b4aa6++)_0x2fee01[_0x4b4aa6+0x6f]='F'+_0x4b4aa6;for(_0x4b4aa6=0x41;_0x4b4aa6<=0x5a;_0x4b4aa6++)_0x2fee01[_0x4b4aa6]=String['fromCharCode'](_0x4b4aa6+0x20),_0x517f91[_0x4b4aa6]=String['fromCharCode'](_0x4b4aa6);for(var _0xa45a7a in _0x2fee01)_0x517f91['hasOwnProperty'](_0xa45a7a)||(_0x517f91[_0xa45a7a]=_0x2fee01[_0xa45a7a]);let _0xb5658f='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x28bf94='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x24dd41=/Edge\/(\d+)/['exec'](_0xb5658f['userAgent']),_0x549c92=/MSIE \d/['test'](_0xb5658f['userAgent']),_0x4fc06d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0xb5658f['userAgent']),_0x558a93=!!(_0x549c92||_0x4fc06d||_0x24dd41),_0x273175=!_0x558a93&&/gecko\/(\d+)/i['test'](_0xb5658f['userAgent']),_0x12eaa3=!_0x558a93&&/Chrome\/(\d+)/['exec'](_0xb5658f['userAgent']),_0x340456='webkitFontSmoothing'in _0x28bf94['documentElement']['style'],_0x362dd1=!_0x558a93&&/Apple Computer/['test'](_0xb5658f['vendor']),_0x51c232=_0x362dd1&&(/Mobile\/\w+/['test'](_0xb5658f['userAgent'])||_0xb5658f['maxTouchPoints']>0x2);var _0x4e5613={'mac':_0x51c232||/Mac/['test'](_0xb5658f['platform']),'windows':/Win/['test'](_0xb5658f['platform']),'linux':/Linux|X11/['test'](_0xb5658f['platform']),'ie':_0x558a93,'ie_version':_0x549c92?_0x28bf94['documentMode']||0x6:_0x4fc06d?+_0x4fc06d[0x1]:_0x24dd41?+_0x24dd41[0x1]:0x0,'gecko':_0x273175,'gecko_version':_0x273175?+(/Firefox\/(\d+)/['exec'](_0xb5658f['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x12eaa3,'chrome_version':_0x12eaa3?+_0x12eaa3[0x1]:0x0,'ios':_0x51c232,'android':/Android\b/['test'](_0xb5658f['userAgent']),'webkit_version':_0x340456?+(/\bAppleWebKit\/(\d+)/['exec'](_0xb5658f['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x362dd1,'safari_version':_0x362dd1?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0xb5658f['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x28bf94['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function _0x2a2880(_0x4637dd){let _0x5417f6;return _0x5417f6=0xb==_0x4637dd['nodeType']?_0x4637dd['getSelection']?_0x4637dd:_0x4637dd['ownerDocument']:_0x4637dd,_0x5417f6['getSelection']();}function _0x5646ca(_0x46e216,_0x31afea){return!!_0x31afea&&(_0x46e216==_0x31afea||_0x46e216['contains'](0x1!=_0x31afea['nodeType']?_0x31afea['parentNode']:_0x31afea));}function _0x151d24(_0x333084,_0x3eae58){if(!_0x3eae58['anchorNode'])return!0x1;try{return _0x5646ca(_0x333084,_0x3eae58['anchorNode']);}catch(_0x4c3647){return!0x1;}}function _0x2da0f2(_0x4a8f7c){return 0x3==_0x4a8f7c['nodeType']?_0x10c31d(_0x4a8f7c,0x0,_0x4a8f7c['nodeValue']['length'])['getClientRects']():0x1==_0x4a8f7c['nodeType']?_0x4a8f7c['getClientRects']():[];}function _0x4cd6a7(_0x52ad6a,_0x2b0861,_0x222982,_0x49b69b){return!!_0x222982&&(_0x3285f2(_0x52ad6a,_0x2b0861,_0x222982,_0x49b69b,-0x1)||_0x3285f2(_0x52ad6a,_0x2b0861,_0x222982,_0x49b69b,0x1));}function _0x5e67d2(_0x4fa8ce){for(var _0x3928b5=0x0;;_0x3928b5++)if(!(_0x4fa8ce=_0x4fa8ce['previousSibling']))return _0x3928b5;}function _0x481225(_0x3cde35){return 0x1==_0x3cde35['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x3cde35['nodeName']);}function _0x3285f2(_0x2b23b6,_0x2150cb,_0x59df67,_0xc57430,_0x52ee5b){for(;;){if(_0x2b23b6==_0x59df67&&_0x2150cb==_0xc57430)return!0x0;if(_0x2150cb==(_0x52ee5b<0x0?0x0:_0x337c2c(_0x2b23b6))){if('DIV'==_0x2b23b6['nodeName'])return!0x1;let _0x15e834=_0x2b23b6['parentNode'];if(!_0x15e834||0x1!=_0x15e834['nodeType'])return!0x1;_0x2150cb=_0x5e67d2(_0x2b23b6)+(_0x52ee5b<0x0?0x0:0x1),_0x2b23b6=_0x15e834;}else{if(0x1!=_0x2b23b6['nodeType'])return!0x1;if(0x1==(_0x2b23b6=_0x2b23b6['childNodes'][_0x2150cb+(_0x52ee5b<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x2b23b6['contentEditable'])return!0x1;_0x2150cb=_0x52ee5b<0x0?_0x337c2c(_0x2b23b6):0x0;}}}function _0x337c2c(_0x4e09aa){return 0x3==_0x4e09aa['nodeType']?_0x4e09aa['nodeValue']['length']:_0x4e09aa['childNodes']['length'];}function _0x5503c6(_0x31f284,_0x2d17df){let _0x58fb21=_0x2d17df?_0x31f284['left']:_0x31f284['right'];return{'left':_0x58fb21,'right':_0x58fb21,'top':_0x31f284['top'],'bottom':_0x31f284['bottom']};}function _0x14ef0e(_0x1aa64b){let _0x5c1ef7=_0x1aa64b['visualViewport'];return _0x5c1ef7?{'left':0x0,'right':_0x5c1ef7['width'],'top':0x0,'bottom':_0x5c1ef7['height']}:{'left':0x0,'right':_0x1aa64b['innerWidth'],'top':0x0,'bottom':_0x1aa64b['innerHeight']};}function _0xca6a80(_0x1a02c0,_0x59975f){let _0x49a1eb=_0x59975f['width']/_0x1a02c0['offsetWidth'],_0x1ee018=_0x59975f['height']/_0x1a02c0['offsetHeight'];return(_0x49a1eb>0.995&&_0x49a1eb<1.005||!isFinite(_0x49a1eb)||Math['abs'](_0x59975f['width']-_0x1a02c0['offsetWidth'])<0x1)&&(_0x49a1eb=0x1),(_0x1ee018>0.995&&_0x1ee018<1.005||!isFinite(_0x1ee018)||Math['abs'](_0x59975f['height']-_0x1a02c0['offsetHeight'])<0x1)&&(_0x1ee018=0x1),{'scaleX':_0x49a1eb,'scaleY':_0x1ee018};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x2a1d0c){return this['anchorNode']==_0x2a1d0c['anchorNode']&&this['anchorOffset']==_0x2a1d0c['anchorOffset']&&this['focusNode']==_0x2a1d0c['focusNode']&&this['focusOffset']==_0x2a1d0c['focusOffset'];}['setRange'](_0x4dfcb2){let {anchorNode:_0x49a362,focusNode:_0xf62a14}=_0x4dfcb2;this['set'](_0x49a362,Math['min'](_0x4dfcb2['anchorOffset'],_0x49a362?_0x337c2c(_0x49a362):0x0),_0xf62a14,Math['min'](_0x4dfcb2['focusOffset'],_0xf62a14?_0x337c2c(_0xf62a14):0x0));}['set'](_0x6b083c,_0x3cea7e,_0x550ee8,_0x5d4718){this['anchorNode']=_0x6b083c,this['anchorOffset']=_0x3cea7e,this['focusNode']=_0x550ee8,this['focusOffset']=_0x5d4718;}}let _0x2b73dc,tw=null;function _0x2ce3c0(_0x4269c7){if(_0x4269c7['setActive'])return _0x4269c7['setActive']();if(tw)return _0x4269c7['focus'](tw);let _0x5e8c4c=[];for(let _0x2f5c5d=_0x4269c7;_0x2f5c5d&&(_0x5e8c4c['push'](_0x2f5c5d,_0x2f5c5d['scrollTop'],_0x2f5c5d['scrollLeft']),_0x2f5c5d!=_0x2f5c5d['ownerDocument']);_0x2f5c5d=_0x2f5c5d['parentNode']);if(_0x4269c7['focus'](null==tw?{get 'preventScroll'(){return tw={'preventScroll':!0x0},!0x0;}}:void 0x0),!tw){tw=!0x1;for(let _0x520c4b=0x0;_0x520c4b<_0x5e8c4c['length'];){let _0x138c93=_0x5e8c4c[_0x520c4b++],_0x537874=_0x5e8c4c[_0x520c4b++],_0x5f3d3c=_0x5e8c4c[_0x520c4b++];_0x138c93['scrollTop']!=_0x537874&&(_0x138c93['scrollTop']=_0x537874),_0x138c93['scrollLeft']!=_0x5f3d3c&&(_0x138c93['scrollLeft']=_0x5f3d3c);}}}function _0x10c31d(_0x319673,_0x35e1e7,_0x4f2963=_0x35e1e7){let _0x5c296b=_0x2b73dc||(_0x2b73dc=document['createRange']());return _0x5c296b['setEnd'](_0x319673,_0x4f2963),_0x5c296b['setStart'](_0x319673,_0x35e1e7),_0x5c296b;}function _0x3c656d(_0x10a788,_0x2f7568,_0x25d46c,_0x39ee0b){let _0x502d4a={'key':_0x2f7568,'code':_0x2f7568,'keyCode':_0x25d46c,'which':_0x25d46c,'cancelable':!0x0};_0x39ee0b&&({altKey:_0x502d4a['altKey'],ctrlKey:_0x502d4a['ctrlKey'],shiftKey:_0x502d4a['shiftKey'],metaKey:_0x502d4a['metaKey']}=_0x39ee0b);let _0x2c888e=new KeyboardEvent('keydown',_0x502d4a);_0x2c888e['synthetic']=!0x0,_0x10a788['dispatchEvent'](_0x2c888e);let _0x51cb2e=new KeyboardEvent('keyup',_0x502d4a);return _0x51cb2e['synthetic']=!0x0,_0x10a788['dispatchEvent'](_0x51cb2e),_0x2c888e['defaultPrevented']||_0x51cb2e['defaultPrevented'];}function _0x5360b2(_0x334745){for(;_0x334745['attributes']['length'];)_0x334745['removeAttributeNode'](_0x334745['attributes'][0x0]);}function _0x23b0be(_0x2fda20){return _0x2fda20['scrollTop']>Math['max'](0x1,_0x2fda20['scrollHeight']-_0x2fda20['clientHeight']-0x4);}function _0x1fbae0(_0x5ae482,_0x3fe6f6){for(let _0x56f7b2=_0x5ae482,_0xa73e20=_0x3fe6f6;;){if(0x3==_0x56f7b2['nodeType']&&_0xa73e20>0x0)return{'node':_0x56f7b2,'offset':_0xa73e20};if(0x1==_0x56f7b2['nodeType']&&_0xa73e20>0x0){if('false'==_0x56f7b2['contentEditable'])return null;_0x56f7b2=_0x56f7b2['childNodes'][_0xa73e20-0x1],_0xa73e20=_0x337c2c(_0x56f7b2);}else{if(!_0x56f7b2['parentNode']||_0x481225(_0x56f7b2))return null;_0xa73e20=_0x5e67d2(_0x56f7b2),_0x56f7b2=_0x56f7b2['parentNode'];}}}function _0x2bc271(_0x49da09,_0x356368){for(let _0x2e86e2=_0x49da09,_0x42dd3b=_0x356368;;){if(0x3==_0x2e86e2['nodeType']&&_0x42dd3b<_0x2e86e2['nodeValue']['length'])return{'node':_0x2e86e2,'offset':_0x42dd3b};if(0x1==_0x2e86e2['nodeType']&&_0x42dd3b<_0x2e86e2['childNodes']['length']){if('false'==_0x2e86e2['contentEditable'])return null;_0x2e86e2=_0x2e86e2['childNodes'][_0x42dd3b],_0x42dd3b=0x0;}else{if(!_0x2e86e2['parentNode']||_0x481225(_0x2e86e2))return null;_0x42dd3b=_0x5e67d2(_0x2e86e2)+0x1,_0x2e86e2=_0x2e86e2['parentNode'];}}}_0x4e5613['safari']&&_0x4e5613['safari_version']>=0x1a&&(tw=!0x1);class _0xd10478{constructor(_0x21b7b5,_0x3a0117,_0x3f3b0b=!0x0){this['node']=_0x21b7b5,this['offset']=_0x3a0117,this['precise']=_0x3f3b0b;}static['before'](_0x99810e,_0x5c6aab){return new _0xd10478(_0x99810e['parentNode'],_0x5e67d2(_0x99810e),_0x5c6aab);}static['after'](_0x431b87,_0x31a558){return new _0xd10478(_0x431b87['parentNode'],_0x5e67d2(_0x431b87)+0x1,_0x31a558);}}const _0x51beab=[];class ContentView{constructor(){this['parent']=null,this['dom']=null,this['flags']=0x2;}get['overrideDOMText'](){return null;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x350602){let _0x3db7ca=this['posAtStart'];for(let _0x28cbb0 of this['children']){if(_0x28cbb0==_0x350602)return _0x3db7ca;_0x3db7ca+=_0x28cbb0['length']+_0x28cbb0['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x5e0d6e){return this['posBefore'](_0x5e0d6e)+_0x5e0d6e['length'];}['sync'](_0x1e58c2,_0x8bf2db){if(0x2&this['flags']){let _0x3cfa86,_0x2ba887=this['dom'],_0x2af8f1=null;for(let _0x44abf8 of this['children']){if(0x7&_0x44abf8['flags']){if(!_0x44abf8['dom']&&(_0x3cfa86=_0x2af8f1?_0x2af8f1['nextSibling']:_0x2ba887['firstChild'])){let _0x165ee3=ContentView['get'](_0x3cfa86);(!_0x165ee3||!_0x165ee3['parent']&&_0x165ee3['canReuseDOM'](_0x44abf8))&&_0x44abf8['reuseDOM'](_0x3cfa86);}_0x44abf8['sync'](_0x1e58c2,_0x8bf2db),_0x44abf8['flags']&=-0x8;}if(_0x3cfa86=_0x2af8f1?_0x2af8f1['nextSibling']:_0x2ba887['firstChild'],_0x8bf2db&&!_0x8bf2db['written']&&_0x8bf2db['node']==_0x2ba887&&_0x3cfa86!=_0x44abf8['dom']&&(_0x8bf2db['written']=!0x0),_0x44abf8['dom']['parentNode']==_0x2ba887){for(;_0x3cfa86&&_0x3cfa86!=_0x44abf8['dom'];)_0x3cfa86=_0x100b67(_0x3cfa86);}else _0x2ba887['insertBefore'](_0x44abf8['dom'],_0x3cfa86);_0x2af8f1=_0x44abf8['dom'];}for(_0x3cfa86=_0x2af8f1?_0x2af8f1['nextSibling']:_0x2ba887['firstChild'],_0x3cfa86&&_0x8bf2db&&_0x8bf2db['node']==_0x2ba887&&(_0x8bf2db['written']=!0x0);_0x3cfa86;)_0x3cfa86=_0x100b67(_0x3cfa86);}else{if(0x1&this['flags']){for(let _0x5e4c6b of this['children'])0x7&_0x5e4c6b['flags']&&(_0x5e4c6b['sync'](_0x1e58c2,_0x8bf2db),_0x5e4c6b['flags']&=-0x8);}}}['reuseDOM'](_0x539fd4){}['localPosFromDOM'](_0x298ed5,_0x20eb1b){let _0x42d520;if(_0x298ed5==this['dom'])_0x42d520=this['dom']['childNodes'][_0x20eb1b];else{let _0x3dd35a=0x0==_0x337c2c(_0x298ed5)?0x0:0x0==_0x20eb1b?-0x1:0x1;for(;;){let _0x53aadc=_0x298ed5['parentNode'];if(_0x53aadc==this['dom'])break;0x0==_0x3dd35a&&_0x53aadc['firstChild']!=_0x53aadc['lastChild']&&(_0x3dd35a=_0x298ed5==_0x53aadc['firstChild']?-0x1:0x1),_0x298ed5=_0x53aadc;}_0x42d520=_0x3dd35a<0x0?_0x298ed5:_0x298ed5['nextSibling'];}if(_0x42d520==this['dom']['firstChild'])return 0x0;for(;_0x42d520&&!ContentView['get'](_0x42d520);)_0x42d520=_0x42d520['nextSibling'];if(!_0x42d520)return this['length'];for(let _0x5e5087=0x0,_0x5230da=0x0;;_0x5e5087++){let _0x3a3163=this['children'][_0x5e5087];if(_0x3a3163['dom']==_0x42d520)return _0x5230da;_0x5230da+=_0x3a3163['length']+_0x3a3163['breakAfter'];}}['domBoundsAround'](_0x1c8c43,_0x1ffc78,_0x3642aa=0x0){let _0x230fb8=-0x1,_0x3abc7c=-0x1,_0x1f9744=-0x1,_0x2efe01=-0x1;for(let _0x146ea3=0x0,_0x53015e=_0x3642aa,_0x38a317=_0x3642aa;_0x146ea3<this['children']['length'];_0x146ea3++){let _0xbbd11=this['children'][_0x146ea3],_0x61b94e=_0x53015e+_0xbbd11['length'];if(_0x53015e<_0x1c8c43&&_0x61b94e>_0x1ffc78)return _0xbbd11['domBoundsAround'](_0x1c8c43,_0x1ffc78,_0x53015e);if(_0x61b94e>=_0x1c8c43&&-0x1==_0x230fb8&&(_0x230fb8=_0x146ea3,_0x3abc7c=_0x53015e),_0x53015e>_0x1ffc78&&_0xbbd11['dom']['parentNode']==this['dom']){_0x1f9744=_0x146ea3,_0x2efe01=_0x38a317;break;}_0x38a317=_0x61b94e,_0x53015e=_0x61b94e+_0xbbd11['breakAfter'];}return{'from':_0x3abc7c,'to':_0x2efe01<0x0?_0x3642aa+this['length']:_0x2efe01,'startDOM':(_0x230fb8?this['children'][_0x230fb8-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x1f9744<this['children']['length']&&_0x1f9744>=0x0?this['children'][_0x1f9744]['dom']:null};}['markDirty'](_0xfae98a=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0xfae98a);}['markParentsDirty'](_0x23bb29){for(let _0x340ead=this['parent'];_0x340ead;_0x340ead=_0x340ead['parent']){if(_0x23bb29&&(_0x340ead['flags']|=0x2),0x1&_0x340ead['flags'])return;_0x340ead['flags']|=0x1,_0x23bb29=!0x1;}}['setParent'](_0xe19f3e){this['parent']!=_0xe19f3e&&(this['parent']=_0xe19f3e,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x3f93e0){this['dom']!=_0x3f93e0&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x3f93e0,_0x3f93e0['cmView']=this);}get['rootView'](){for(let _0x42d9c9=this;;){let _0x1ab3a1=_0x42d9c9['parent'];if(!_0x1ab3a1)return _0x42d9c9;_0x42d9c9=_0x1ab3a1;}}['replaceChildren'](_0x4a9c19,_0x19a78a,_0x310564=_0x51beab){this['markDirty']();for(let _0x164bd8=_0x4a9c19;_0x164bd8<_0x19a78a;_0x164bd8++){let _0x2ea8a1=this['children'][_0x164bd8];_0x2ea8a1['parent']==this&&_0x310564['indexOf'](_0x2ea8a1)<0x0&&_0x2ea8a1['destroy']();}_0x310564['length']<0xfa?this['children']['splice'](_0x4a9c19,_0x19a78a-_0x4a9c19,..._0x310564):this['children']=[]['concat'](this['children']['slice'](0x0,_0x4a9c19),_0x310564,this['children']['slice'](_0x19a78a));for(let _0x5c43e2=0x0;_0x5c43e2<_0x310564['length'];_0x5c43e2++)_0x310564[_0x5c43e2]['setParent'](this);}['ignoreMutation'](_0x338d9f){return!0x1;}['ignoreEvent'](_0x1dc5bf){return!0x1;}['childCursor'](_0x15fc4e=this['length']){return new _0xe1ab9e(this['children'],_0x15fc4e,this['children']['length']);}['childPos'](_0x20a28e,_0x322778=0x1){return this['childCursor']()['findPos'](_0x20a28e,_0x322778);}['toString'](){let _0x3a3190=this['constructor']['name']['replace']('View','');return _0x3a3190+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x3a3190?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x1d1c6b){return _0x1d1c6b['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x4d026e,_0x4df778,_0x2590d3,_0x47e5ef,_0x2c4cbf,_0x36001e){return!0x1;}['become'](_0x45aed9){return!0x1;}['canReuseDOM'](_0x514897){return _0x514897['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x514897['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x219c76 of this['children'])_0x219c76['parent']==this&&_0x219c76['destroy']();this['parent']=null;}}function _0x100b67(_0x66294a){let _0x592b2a=_0x66294a['nextSibling'];return _0x66294a['parentNode']['removeChild'](_0x66294a),_0x592b2a;}ContentView['prototype']['breakAfter']=0x0;class _0xe1ab9e{constructor(_0xb1fa53,_0x2d12db,_0x102fbc){this['children']=_0xb1fa53,this['pos']=_0x2d12db,this['i']=_0x102fbc,this['off']=0x0;}['findPos'](_0x54f6cd,_0x2f0f75=0x1){for(;;){if(_0x54f6cd>this['pos']||_0x54f6cd==this['pos']&&(_0x2f0f75>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x54f6cd-this['pos'],this;let _0x48c13a=this['children'][--this['i']];this['pos']-=_0x48c13a['length']+_0x48c13a['breakAfter'];}}}function _0x227da4(_0x5eef67,_0x12f9b5,_0x46275c,_0x5106a4,_0x4fcb5d,_0x40e7de,_0x3c0f10,_0x2911f7,_0xba8b14){let {children:_0x1cc4d7}=_0x5eef67,_0x423f7c=_0x1cc4d7['length']?_0x1cc4d7[_0x12f9b5]:null,_0x46ff7b=_0x40e7de['length']?_0x40e7de[_0x40e7de['length']-0x1]:null,_0x3aed73=_0x46ff7b?_0x46ff7b['breakAfter']:_0x3c0f10;if(!(_0x12f9b5==_0x5106a4&&_0x423f7c&&!_0x3c0f10&&!_0x3aed73&&_0x40e7de['length']<0x2&&_0x423f7c['merge'](_0x46275c,_0x4fcb5d,_0x40e7de['length']?_0x46ff7b:null,0x0==_0x46275c,_0x2911f7,_0xba8b14))){if(_0x5106a4<_0x1cc4d7['length']){let _0x40e04f=_0x1cc4d7[_0x5106a4];_0x40e04f&&(_0x4fcb5d<_0x40e04f['length']||_0x40e04f['breakAfter']&&(null==_0x46ff7b?void 0x0:_0x46ff7b['breakAfter']))?(_0x12f9b5==_0x5106a4&&(_0x40e04f=_0x40e04f['split'](_0x4fcb5d),_0x4fcb5d=0x0),!_0x3aed73&&_0x46ff7b&&_0x40e04f['merge'](0x0,_0x4fcb5d,_0x46ff7b,!0x0,0x0,_0xba8b14)?_0x40e7de[_0x40e7de['length']-0x1]=_0x40e04f:((_0x4fcb5d||_0x40e04f['children']['length']&&!_0x40e04f['children'][0x0]['length'])&&_0x40e04f['merge'](0x0,_0x4fcb5d,null,!0x1,0x0,_0xba8b14),_0x40e7de['push'](_0x40e04f))):(null==_0x40e04f?void 0x0:_0x40e04f['breakAfter'])&&(_0x46ff7b?_0x46ff7b['breakAfter']=0x1:_0x3c0f10=0x1),_0x5106a4++;}for(_0x423f7c&&(_0x423f7c['breakAfter']=_0x3c0f10,_0x46275c>0x0&&(!_0x3c0f10&&_0x40e7de['length']&&_0x423f7c['merge'](_0x46275c,_0x423f7c['length'],_0x40e7de[0x0],!0x1,_0x2911f7,0x0)?_0x423f7c['breakAfter']=_0x40e7de['shift']()['breakAfter']:(_0x46275c<_0x423f7c['length']||_0x423f7c['children']['length']&&0x0==_0x423f7c['children'][_0x423f7c['children']['length']-0x1]['length'])&&_0x423f7c['merge'](_0x46275c,_0x423f7c['length'],null,!0x1,_0x2911f7,0x0),_0x12f9b5++));_0x12f9b5<_0x5106a4&&_0x40e7de['length'];)if(_0x1cc4d7[_0x5106a4-0x1]['become'](_0x40e7de[_0x40e7de['length']-0x1]))_0x5106a4--,_0x40e7de['pop'](),_0xba8b14=_0x40e7de['length']?0x0:_0x2911f7;else{if(!_0x1cc4d7[_0x12f9b5]['become'](_0x40e7de[0x0]))break;_0x12f9b5++,_0x40e7de['shift'](),_0x2911f7=_0x40e7de['length']?0x0:_0xba8b14;}!_0x40e7de['length']&&_0x12f9b5&&_0x5106a4<_0x1cc4d7['length']&&!_0x1cc4d7[_0x12f9b5-0x1]['breakAfter']&&_0x1cc4d7[_0x5106a4]['merge'](0x0,0x0,_0x1cc4d7[_0x12f9b5-0x1],!0x1,_0x2911f7,_0xba8b14)&&_0x12f9b5--,(_0x12f9b5<_0x5106a4||_0x40e7de['length'])&&_0x5eef67['replaceChildren'](_0x12f9b5,_0x5106a4,_0x40e7de);}}function _0x31906a(_0xa21174,_0x2e2005,_0xe95ed9,_0x3000c6,_0x524102,_0x377f49){let _0x31fdb0=_0xa21174['childCursor'](),{i:_0x4f7df7,off:_0x5b4ac0}=_0x31fdb0['findPos'](_0xe95ed9,0x1),{i:_0x1d488e,off:_0x5611b7}=_0x31fdb0['findPos'](_0x2e2005,-0x1),_0x8bca1b=_0x2e2005-_0xe95ed9;for(let _0x19bc39 of _0x3000c6)_0x8bca1b+=_0x19bc39['length'];_0xa21174['length']+=_0x8bca1b,_0x227da4(_0xa21174,_0x1d488e,_0x5611b7,_0x4f7df7,_0x5b4ac0,_0x3000c6,0x0,_0x524102,_0x377f49);}class TextView extends ContentView{constructor(_0x595035){super(),this['text']=_0x595035;}get['length'](){return this['text']['length'];}['createDOM'](_0x149d10){this['setDOM'](_0x149d10||document['createTextNode'](this['text']));}['sync'](_0x1eaa77,_0x4b6775){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x4b6775&&_0x4b6775['node']==this['dom']&&(_0x4b6775['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x1d9b10){0x3==_0x1d9b10['nodeType']&&this['createDOM'](_0x1d9b10);}['merge'](_0x1dafa0,_0x11c696,_0x28da38){return!(0x8&this['flags']||_0x28da38&&(!(_0x28da38 instanceof TextView)||this['length']-(_0x11c696-_0x1dafa0)+_0x28da38['length']>0x100||0x8&_0x28da38['flags']))&&(this['text']=this['text']['slice'](0x0,_0x1dafa0)+(_0x28da38?_0x28da38['text']:'')+this['text']['slice'](_0x11c696),this['markDirty'](),!0x0);}['split'](_0x1981c8){let _0x44df3c=new TextView(this['text']['slice'](_0x1981c8));return this['text']=this['text']['slice'](0x0,_0x1981c8),this['markDirty'](),_0x44df3c['flags']|=0x8&this['flags'],_0x44df3c;}['localPosFromDOM'](_0x405073,_0x2eff8d){return _0x405073==this['dom']?_0x2eff8d:_0x2eff8d?this['text']['length']:0x0;}['domAtPos'](_0x482a89){return new _0xd10478(this['dom'],_0x482a89);}['domBoundsAround'](_0xb727e3,_0x57070e,_0x8c57a3){return{'from':_0x8c57a3,'to':_0x8c57a3+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x59baad,_0x208496){return function(_0x1cde3e,_0x146dff,_0x1c4eee){let _0x19e4c6=_0x1cde3e['nodeValue']['length'];_0x146dff>_0x19e4c6&&(_0x146dff=_0x19e4c6);let _0x384b37=_0x146dff,_0x2636dc=_0x146dff,_0xb9cbe3=0x0;0x0==_0x146dff&&_0x1c4eee<0x0||_0x146dff==_0x19e4c6&&_0x1c4eee>=0x0?_0x4e5613['chrome']||_0x4e5613['gecko']||(_0x146dff?(_0x384b37--,_0xb9cbe3=0x1):_0x2636dc<_0x19e4c6&&(_0x2636dc++,_0xb9cbe3=-0x1)):_0x1c4eee<0x0?_0x384b37--:_0x2636dc<_0x19e4c6&&_0x2636dc++;let _0x2f9e03=_0x10c31d(_0x1cde3e,_0x384b37,_0x2636dc)['getClientRects']();if(!_0x2f9e03['length'])return null;let _0x2f0e31=_0x2f9e03[(_0xb9cbe3?_0xb9cbe3<0x0:_0x1c4eee>=0x0)?0x0:_0x2f9e03['length']-0x1];return _0x4e5613['safari']&&!_0xb9cbe3&&0x0==_0x2f0e31['width']&&(_0x2f0e31=Array['prototype']['find']['call'](_0x2f9e03,_0x4a2bef=>_0x4a2bef['width'])||_0x2f0e31),_0xb9cbe3?_0x5503c6(_0x2f0e31,_0xb9cbe3<0x0):_0x2f0e31||null;}(this['dom'],_0x59baad,_0x208496);}}class _0x815504 extends ContentView{constructor(_0x539cee,_0x532cb2=[],_0x4ea68c=0x0){super(),this['mark']=_0x539cee,this['children']=_0x532cb2,this['length']=_0x4ea68c;for(let _0x4fc3d5 of _0x532cb2)_0x4fc3d5['setParent'](this);}['setAttrs'](_0x370e73){if(_0x5360b2(_0x370e73),this['mark']['class']&&(_0x370e73['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x3c751e in this['mark']['attrs'])_0x370e73['setAttribute'](_0x3c751e,this['mark']['attrs'][_0x3c751e]);}return _0x370e73;}['canReuseDOM'](_0x35fcf2){return super['canReuseDOM'](_0x35fcf2)&&!(0x8&(this['flags']|_0x35fcf2['flags']));}['reuseDOM'](_0x1ae59c){_0x1ae59c['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x1ae59c),this['flags']|=0x6);}['sync'](_0x526ce7,_0x802abb){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x526ce7,_0x802abb);}['merge'](_0x234e52,_0x7d85ee,_0x40cd40,_0x8f0707,_0x36f10b,_0x594e81){return(!_0x40cd40||!(!(_0x40cd40 instanceof _0x815504&&_0x40cd40['mark']['eq'](this['mark']))||_0x234e52&&_0x36f10b<=0x0||_0x7d85ee<this['length']&&_0x594e81<=0x0))&&(_0x31906a(this,_0x234e52,_0x7d85ee,_0x40cd40?_0x40cd40['children']['slice']():[],_0x36f10b-0x1,_0x594e81-0x1),this['markDirty'](),!0x0);}['split'](_0x620a8d){let _0x507bb1=[],_0x15418a=0x0,_0x1d0d99=-0x1,_0x1d469f=0x0;for(let _0x317e6c of this['children']){let _0xfa6d44=_0x15418a+_0x317e6c['length'];_0xfa6d44>_0x620a8d&&_0x507bb1['push'](_0x15418a<_0x620a8d?_0x317e6c['split'](_0x620a8d-_0x15418a):_0x317e6c),_0x1d0d99<0x0&&_0x15418a>=_0x620a8d&&(_0x1d0d99=_0x1d469f),_0x15418a=_0xfa6d44,_0x1d469f++;}let _0x5681c5=this['length']-_0x620a8d;return this['length']=_0x620a8d,_0x1d0d99>-0x1&&(this['children']['length']=_0x1d0d99,this['markDirty']()),new _0x815504(this['mark'],_0x507bb1,_0x5681c5);}['domAtPos'](_0xd615f4){return _0x3cef3c(this,_0xd615f4);}['coordsAt'](_0x40ddb4,_0x1680da){return _0x176f20(this,_0x40ddb4,_0x1680da);}}class WidgetView extends ContentView{static['create'](_0x15fc47,_0x2d1b18,_0x1c111a){return new WidgetView(_0x15fc47,_0x2d1b18,_0x1c111a);}constructor(_0x1e8eb3,_0x35282f,_0x599072){super(),this['widget']=_0x1e8eb3,this['length']=_0x35282f,this['side']=_0x599072,this['prevWidget']=null;}['split'](_0x282262){let _0x2bf8f5=WidgetView['create'](this['widget'],this['length']-_0x282262,this['side']);return this['length']-=_0x282262,_0x2bf8f5;}['sync'](_0x250184){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x250184)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x250184)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x592d74,_0x500000,_0x3804b4,_0x4e7fe8,_0x3595c3,_0x18b770){return!(_0x3804b4&&(!(_0x3804b4 instanceof WidgetView&&this['widget']['compare'](_0x3804b4['widget']))||_0x592d74>0x0&&_0x3595c3<=0x0||_0x500000<this['length']&&_0x18b770<=0x0))&&(this['length']=_0x592d74+(_0x3804b4?_0x3804b4['length']:0x0)+(this['length']-_0x500000),!0x0);}['become'](_0x1fb12e){return _0x1fb12e instanceof WidgetView&&_0x1fb12e['side']==this['side']&&this['widget']['constructor']==_0x1fb12e['widget']['constructor']&&(this['widget']['compare'](_0x1fb12e['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x1fb12e['widget'],this['length']=_0x1fb12e['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x210dcd){return this['widget']['ignoreEvent'](_0x210dcd);}get['overrideDOMText'](){if(0x0==this['length'])return _0x9ec70d['empty'];let _0x426650=this;for(;_0x426650['parent'];)_0x426650=_0x426650['parent'];let {view:_0x3f84c0}=_0x426650,_0x465755=_0x3f84c0&&_0x3f84c0['state']['doc'],_0x53a62e=this['posAtStart'];return _0x465755?_0x465755['slice'](_0x53a62e,_0x53a62e+this['length']):_0x9ec70d['empty'];}['domAtPos'](_0x39bd3b){return(this['length']?0x0==_0x39bd3b:this['side']>0x0)?_0xd10478['before'](this['dom']):_0xd10478['after'](this['dom'],_0x39bd3b==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x448681,_0x2b62c4){let _0x5ae3fd=this['widget']['coordsAt'](this['dom'],_0x448681,_0x2b62c4);if(_0x5ae3fd)return _0x5ae3fd;let _0x4488be=this['dom']['getClientRects'](),_0x4dafda=null;if(!_0x4488be['length'])return null;let _0x24c80c=this['side']?this['side']<0x0:_0x448681>0x0;for(let _0x36864c=_0x24c80c?_0x4488be['length']-0x1:0x0;_0x4dafda=_0x4488be[_0x36864c],!(_0x448681>0x0?0x0==_0x36864c:_0x36864c==_0x4488be['length']-0x1||_0x4dafda['top']<_0x4dafda['bottom']);_0x36864c+=_0x24c80c?-0x1:0x1);return _0x5503c6(_0x4dafda,!_0x24c80c);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}}class WidgetBufferView extends ContentView{constructor(_0x49f3aa){super(),this['side']=_0x49f3aa;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x26af69){return _0x26af69 instanceof WidgetBufferView&&_0x26af69['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x477b18=document['createElement']('img');_0x477b18['className']='cm-widgetBuffer',_0x477b18['setAttribute']('aria-hidden','true'),this['setDOM'](_0x477b18);}}['getSide'](){return this['side'];}['domAtPos'](_0x182088){return this['side']>0x0?_0xd10478['before'](this['dom']):_0xd10478['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x51cace){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return _0x9ec70d['empty'];}get['isHidden'](){return!0x0;}}function _0x3cef3c(_0x3d2430,_0x1dfa41){let _0x219313=_0x3d2430['dom'],{children:_0x514a3a}=_0x3d2430,_0x16c9e1=0x0;for(let _0xbc7487=0x0;_0x16c9e1<_0x514a3a['length'];_0x16c9e1++){let _0xc66420=_0x514a3a[_0x16c9e1],_0x99cc7c=_0xbc7487+_0xc66420['length'];if(!(_0x99cc7c==_0xbc7487&&_0xc66420['getSide']()<=0x0)){if(_0x1dfa41>_0xbc7487&&_0x1dfa41<_0x99cc7c&&_0xc66420['dom']['parentNode']==_0x219313)return _0xc66420['domAtPos'](_0x1dfa41-_0xbc7487);if(_0x1dfa41<=_0xbc7487)break;_0xbc7487=_0x99cc7c;}}for(let _0x48c0cf=_0x16c9e1;_0x48c0cf>0x0;_0x48c0cf--){let _0x5da5e6=_0x514a3a[_0x48c0cf-0x1];if(_0x5da5e6['dom']['parentNode']==_0x219313)return _0x5da5e6['domAtPos'](_0x5da5e6['length']);}for(let _0xbced34=_0x16c9e1;_0xbced34<_0x514a3a['length'];_0xbced34++){let _0x2daacd=_0x514a3a[_0xbced34];if(_0x2daacd['dom']['parentNode']==_0x219313)return _0x2daacd['domAtPos'](0x0);}return new _0xd10478(_0x219313,0x0);}function _0xe822ac(_0x38758c,_0x196ebe,_0x30803d){let _0x5e015f,{children:_0x1386a5}=_0x38758c;_0x30803d>0x0&&_0x196ebe instanceof _0x815504&&_0x1386a5['length']&&(_0x5e015f=_0x1386a5[_0x1386a5['length']-0x1])instanceof _0x815504&&_0x5e015f['mark']['eq'](_0x196ebe['mark'])?_0xe822ac(_0x5e015f,_0x196ebe['children'][0x0],_0x30803d-0x1):(_0x1386a5['push'](_0x196ebe),_0x196ebe['setParent'](_0x38758c)),_0x38758c['length']+=_0x196ebe['length'];}function _0x176f20(_0x280737,_0x2de311,_0x236a13){let _0xb43f71=null,_0xe6ec7f=-0x1,_0x10c25d=null,_0x6748a2=-0x1;!function _0x38915e(_0x3d1708,_0x528156){for(let _0x209b55=0x0,_0x81385e=0x0;_0x209b55<_0x3d1708['children']['length']&&_0x81385e<=_0x528156;_0x209b55++){let _0x496b83=_0x3d1708['children'][_0x209b55],_0xc1d80b=_0x81385e+_0x496b83['length'];_0xc1d80b>=_0x528156&&(_0x496b83['children']['length']?_0x38915e(_0x496b83,_0x528156-_0x81385e):(!_0x10c25d||_0x10c25d['isHidden']&&(_0x236a13>0x0||_0x378d61(_0x10c25d,_0x496b83)))&&(_0xc1d80b>_0x528156||_0x81385e==_0xc1d80b&&_0x496b83['getSide']()>0x0)?(_0x10c25d=_0x496b83,_0x6748a2=_0x528156-_0x81385e):(_0x81385e<_0x528156||_0x81385e==_0xc1d80b&&_0x496b83['getSide']()<0x0&&!_0x496b83['isHidden'])&&(_0xb43f71=_0x496b83,_0xe6ec7f=_0x528156-_0x81385e)),_0x81385e=_0xc1d80b;}}(_0x280737,_0x2de311);let _0x234f39=(_0x236a13<0x0?_0xb43f71:_0x10c25d)||_0xb43f71||_0x10c25d;return _0x234f39?_0x234f39['coordsAt'](Math['max'](0x0,_0x234f39==_0xb43f71?_0xe6ec7f:_0x6748a2),_0x236a13):function(_0x1f2b89){let _0x583fb8=_0x1f2b89['dom']['lastChild'];if(!_0x583fb8)return _0x1f2b89['dom']['getBoundingClientRect']();let _0x38cb44=_0x2da0f2(_0x583fb8);return _0x38cb44[_0x38cb44['length']-0x1]||null;}(_0x280737);}function _0x378d61(_0x62a58e,_0x1bfd0c){let _0x4e0900=_0x62a58e['coordsAt'](0x0,0x1),_0x5d0df8=_0x1bfd0c['coordsAt'](0x0,0x1);return _0x4e0900&&_0x5d0df8&&_0x5d0df8['top']<_0x4e0900['bottom'];}function _0x2add30(_0x1ed43d,_0x375f6b){for(let _0x5a6002 in _0x1ed43d)'class'==_0x5a6002&&_0x375f6b['class']?_0x375f6b['class']+='\x20'+_0x1ed43d['class']:'style'==_0x5a6002&&_0x375f6b['style']?_0x375f6b['style']+=';'+_0x1ed43d['style']:_0x375f6b[_0x5a6002]=_0x1ed43d[_0x5a6002];return _0x375f6b;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x51beab;const _0x394637=Object['create'](null);function _0xdf2c7c(_0x14d66d,_0x1d067c,_0xcae101){if(_0x14d66d==_0x1d067c)return!0x0;_0x14d66d||(_0x14d66d=_0x394637),_0x1d067c||(_0x1d067c=_0x394637);let _0x4c526b=Object['keys'](_0x14d66d),_0x3796d7=Object['keys'](_0x1d067c);if(_0x4c526b['length']-(_0xcae101&&_0x4c526b['indexOf'](_0xcae101)>-0x1?0x1:0x0)!=_0x3796d7['length']-(_0xcae101&&_0x3796d7['indexOf'](_0xcae101)>-0x1?0x1:0x0))return!0x1;for(let _0x47e75a of _0x4c526b)if(_0x47e75a!=_0xcae101&&(-0x1==_0x3796d7['indexOf'](_0x47e75a)||_0x14d66d[_0x47e75a]!==_0x1d067c[_0x47e75a]))return!0x1;return!0x0;}function _0x552390(_0x57f207,_0x50c55d,_0x403818){let _0x398d71=!0x1;if(_0x50c55d){for(let _0x2637c7 in _0x50c55d)_0x403818&&_0x2637c7 in _0x403818||(_0x398d71=!0x0,'style'==_0x2637c7?_0x57f207['style']['cssText']='':_0x57f207['removeAttribute'](_0x2637c7));}if(_0x403818){for(let _0x1ad0e5 in _0x403818)_0x50c55d&&_0x50c55d[_0x1ad0e5]==_0x403818[_0x1ad0e5]||(_0x398d71=!0x0,'style'==_0x1ad0e5?_0x57f207['style']['cssText']=_0x403818[_0x1ad0e5]:_0x57f207['setAttribute'](_0x1ad0e5,_0x403818[_0x1ad0e5]));}return _0x398d71;}function _0x360009(_0x1fd678){let _0x4330d9=Object['create'](null);for(let _0x43797e=0x0;_0x43797e<_0x1fd678['attributes']['length'];_0x43797e++){let _0x56a6c8=_0x1fd678['attributes'][_0x43797e];_0x4330d9[_0x56a6c8['name']]=_0x56a6c8['value'];}return _0x4330d9;}class WidgetType{['eq'](_0x371eed){return!0x1;}['updateDOM'](_0x413b1a,_0x1ebc96){return!0x1;}['compare'](_0x1603b3){return this==_0x1603b3||this['constructor']==_0x1603b3['constructor']&&this['eq'](_0x1603b3);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x5949ec){return!0x0;}['coordsAt'](_0x5f2360,_0x526b48,_0x308f15){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0xe38402){}}var _0x5ed1bf=function(_0x58fa72){return _0x58fa72[_0x58fa72['Text']=0x0]='Text',_0x58fa72[_0x58fa72['WidgetBefore']=0x1]='WidgetBefore',_0x58fa72[_0x58fa72['WidgetAfter']=0x2]='WidgetAfter',_0x58fa72[_0x58fa72['WidgetRange']=0x3]='WidgetRange',_0x58fa72;}(_0x5ed1bf||(_0x5ed1bf={}));class Decoration extends _0x1a2400{constructor(_0x4cbd17,_0x4cd621,_0x446fc7,_0x415b85){super(),this['startSide']=_0x4cbd17,this['endSide']=_0x4cd621,this['widget']=_0x446fc7,this['spec']=_0x415b85;}get['heightRelevant'](){return!0x1;}static['mark'](_0x50faeb){return new MarkDecoration(_0x50faeb);}static['widget'](_0x5877d2){let _0x3c403a=Math['max'](-0x2710,Math['min'](0x2710,_0x5877d2['side']||0x0)),_0xa02216=!!_0x5877d2['block'];return _0x3c403a+=_0xa02216&&!_0x5877d2['inlineOrder']?_0x3c403a>0x0?0x11e1a300:-0x17d78400:_0x3c403a>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x5877d2,_0x3c403a,_0x3c403a,_0xa02216,_0x5877d2['widget']||null,!0x1);}static['replace'](_0x4c42b8){let _0x5f3c7f,_0x23d6b3,_0x2cea1f=!!_0x4c42b8['block'];if(_0x4c42b8['isBlockGap'])_0x5f3c7f=-0x1dcd6500,_0x23d6b3=0x17d78400;else{let {start:_0x8b9e28,end:_0x3dd1a6}=_0x32cd22(_0x4c42b8,_0x2cea1f);_0x5f3c7f=(_0x8b9e28?_0x2cea1f?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x23d6b3=0x1+(_0x3dd1a6?_0x2cea1f?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x4c42b8,_0x5f3c7f,_0x23d6b3,_0x2cea1f,_0x4c42b8['widget']||null,!0x0);}static['line'](_0x2633a6){return new LineDecoration(_0x2633a6);}static['set'](_0xfdc5c9,_0x3d7f9b=!0x1){return RangeSet['of'](_0xfdc5c9,_0x3d7f9b);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x1d43fa){let {start:_0x40db6d,end:_0x3ac6ca}=_0x32cd22(_0x1d43fa);super(_0x40db6d?-0x1:0x1dcd6500,_0x3ac6ca?0x1:-0x23c34600,null,_0x1d43fa),this['tagName']=_0x1d43fa['tagName']||'span',this['class']=_0x1d43fa['class']||'',this['attrs']=_0x1d43fa['attributes']||null;}['eq'](_0x4c652b){var _0x572f5b,_0x341ffa;return this==_0x4c652b||_0x4c652b instanceof MarkDecoration&&this['tagName']==_0x4c652b['tagName']&&(this['class']||(null===(_0x572f5b=this['attrs'])||void 0x0===_0x572f5b?void 0x0:_0x572f5b['class']))==(_0x4c652b['class']||(null===(_0x341ffa=_0x4c652b['attrs'])||void 0x0===_0x341ffa?void 0x0:_0x341ffa['class']))&&_0xdf2c7c(this['attrs'],_0x4c652b['attrs'],'class');}['range'](_0x424890,_0x40113b=_0x424890){if(_0x424890>=_0x40113b)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x424890,_0x40113b);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x2605db){super(-0xbebc200,-0xbebc200,null,_0x2605db);}['eq'](_0x294acf){return _0x294acf instanceof LineDecoration&&this['spec']['class']==_0x294acf['spec']['class']&&_0xdf2c7c(this['spec']['attributes'],_0x294acf['spec']['attributes']);}['range'](_0x5661cf,_0x226d3a=_0x5661cf){if(_0x226d3a!=_0x5661cf)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x5661cf,_0x226d3a);}}LineDecoration['prototype']['mapMode']=_0x59cdcf['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x4d6e5f,_0x4b6b81,_0x445ffd,_0x227500,_0x2ddc7e,_0x16e692){super(_0x4b6b81,_0x445ffd,_0x2ddc7e,_0x4d6e5f),this['block']=_0x227500,this['isReplace']=_0x16e692,this['mapMode']=_0x227500?_0x4b6b81<=0x0?_0x59cdcf['TrackBefore']:_0x59cdcf['TrackAfter']:_0x59cdcf['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x5ed1bf['WidgetRange']:this['startSide']<=0x0?_0x5ed1bf['WidgetBefore']:_0x5ed1bf['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x32ecc5){return _0x32ecc5 instanceof PointDecoration&&(_0x50f6fa=this['widget'],_0x245931=_0x32ecc5['widget'],_0x50f6fa==_0x245931||!!(_0x50f6fa&&_0x245931&&_0x50f6fa['compare'](_0x245931)))&&this['block']==_0x32ecc5['block']&&this['startSide']==_0x32ecc5['startSide']&&this['endSide']==_0x32ecc5['endSide'];var _0x50f6fa,_0x245931;}['range'](_0x26c745,_0x125b95=_0x26c745){if(this['isReplace']&&(_0x26c745>_0x125b95||_0x26c745==_0x125b95&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x125b95!=_0x26c745)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x26c745,_0x125b95);}}function _0x32cd22(_0x13b8b8,_0x5605e0=!0x1){let {inclusiveStart:_0x426a7f,inclusiveEnd:_0x5ab022}=_0x13b8b8;return null==_0x426a7f&&(_0x426a7f=_0x13b8b8['inclusive']),null==_0x5ab022&&(_0x5ab022=_0x13b8b8['inclusive']),{'start':null!=_0x426a7f?_0x426a7f:_0x5605e0,'end':null!=_0x5ab022?_0x5ab022:_0x5605e0};}function _0x40a066(_0x45d470,_0x235c82,_0xfa4f88,_0x1c790b=0x0){let _0x5b33ca=_0xfa4f88['length']-0x1;_0x5b33ca>=0x0&&_0xfa4f88[_0x5b33ca]+_0x1c790b>=_0x45d470?_0xfa4f88[_0x5b33ca]=Math['max'](_0xfa4f88[_0x5b33ca],_0x235c82):_0xfa4f88['push'](_0x45d470,_0x235c82);}PointDecoration['prototype']['point']=!0x0;class _0x42f1e8 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x48e398,_0xfc93e0,_0x32d4da,_0x3cfe74,_0x543070,_0x2f0631){if(_0x32d4da){if(!(_0x32d4da instanceof _0x42f1e8))return!0x1;this['dom']||_0x32d4da['transferDOM'](this);}return _0x3cfe74&&this['setDeco'](_0x32d4da?_0x32d4da['attrs']:null),_0x31906a(this,_0x48e398,_0xfc93e0,_0x32d4da?_0x32d4da['children']['slice']():[],_0x543070,_0x2f0631),!0x0;}['split'](_0xfc2cf0){let _0xc3085b=new _0x42f1e8();if(_0xc3085b['breakAfter']=this['breakAfter'],0x0==this['length'])return _0xc3085b;let {i:_0x30a22c,off:_0x2850ac}=this['childPos'](_0xfc2cf0);_0x2850ac&&(_0xc3085b['append'](this['children'][_0x30a22c]['split'](_0x2850ac),0x0),this['children'][_0x30a22c]['merge'](_0x2850ac,this['children'][_0x30a22c]['length'],null,!0x1,0x0,0x0),_0x30a22c++);for(let _0x5c729b=_0x30a22c;_0x5c729b<this['children']['length'];_0x5c729b++)_0xc3085b['append'](this['children'][_0x5c729b],0x0);for(;_0x30a22c>0x0&&0x0==this['children'][_0x30a22c-0x1]['length'];)this['children'][--_0x30a22c]['destroy']();return this['children']['length']=_0x30a22c,this['markDirty'](),this['length']=_0xfc2cf0,_0xc3085b;}['transferDOM'](_0x1028c8){this['dom']&&(this['markDirty'](),_0x1028c8['setDOM'](this['dom']),_0x1028c8['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x3845e3){_0xdf2c7c(this['attrs'],_0x3845e3)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x3845e3);}['append'](_0x27c6e9,_0x5c48f0){_0xe822ac(this,_0x27c6e9,_0x5c48f0);}['addLineDeco'](_0x1830df){let _0x3a46cb=_0x1830df['spec']['attributes'],_0x50bea1=_0x1830df['spec']['class'];_0x3a46cb&&(this['attrs']=_0x2add30(_0x3a46cb,this['attrs']||{})),_0x50bea1&&(this['attrs']=_0x2add30({'class':_0x50bea1},this['attrs']||{}));}['domAtPos'](_0x263213){return _0x3cef3c(this,_0x263213);}['reuseDOM'](_0x3bc765){'DIV'==_0x3bc765['nodeName']&&(this['setDOM'](_0x3bc765),this['flags']|=0x6);}['sync'](_0x4f7a47,_0x50ee9e){var _0x1a7270;this['dom']?0x4&this['flags']&&(_0x5360b2(this['dom']),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0):(this['setDOM'](document['createElement']('div')),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0),void 0x0!==this['prevAttrs']&&(_0x552390(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x4f7a47,_0x50ee9e);let _0x3caa88=this['dom']['lastChild'];for(;_0x3caa88&&ContentView['get'](_0x3caa88)instanceof _0x815504;)_0x3caa88=_0x3caa88['lastChild'];if(!(_0x3caa88&&this['length']&&('BR'==_0x3caa88['nodeName']||0x0!=(null===(_0x1a7270=ContentView['get'](_0x3caa88))||void 0x0===_0x1a7270?void 0x0:_0x1a7270['isEditable'])||_0x4e5613['ios']&&this['children']['some'](_0x26d082=>_0x26d082 instanceof TextView)))){let _0x20ab57=document['createElement']('BR');_0x20ab57['cmIgnore']=!0x0,this['dom']['appendChild'](_0x20ab57);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x17f491,_0x6a0bdb=0x0;for(let _0x594b72 of this['children']){if(!(_0x594b72 instanceof TextView)||/[^ -~]/['test'](_0x594b72['text']))return null;let _0x5e0357=_0x2da0f2(_0x594b72['dom']);if(0x1!=_0x5e0357['length'])return null;_0x6a0bdb+=_0x5e0357[0x0]['width'],_0x17f491=_0x5e0357[0x0]['height'];}return _0x6a0bdb?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x6a0bdb/this['length'],'textHeight':_0x17f491}:null;}['coordsAt'](_0x2459d9,_0x35f388){let _0x547c88=_0x176f20(this,_0x2459d9,_0x35f388);if(!this['children']['length']&&_0x547c88&&this['parent']){let {heightOracle:_0x1c6898}=this['parent']['view']['viewState'],_0x556b9b=_0x547c88['bottom']-_0x547c88['top'];if(Math['abs'](_0x556b9b-_0x1c6898['lineHeight'])<0x2&&_0x1c6898['textHeight']<_0x556b9b){let _0x5d0d88=(_0x556b9b-_0x1c6898['textHeight'])/0x2;return{'top':_0x547c88['top']+_0x5d0d88,'bottom':_0x547c88['bottom']-_0x5d0d88,'left':_0x547c88['left'],'right':_0x547c88['left']};}}return _0x547c88;}['become'](_0x3c4d00){return _0x3c4d00 instanceof _0x42f1e8&&0x0==this['children']['length']&&0x0==_0x3c4d00['children']['length']&&_0xdf2c7c(this['attrs'],_0x3c4d00['attrs'])&&this['breakAfter']==_0x3c4d00['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x12bc05,_0x2d7b96){for(let _0xaa8cd1=0x0,_0x4ece4f=0x0;_0xaa8cd1<_0x12bc05['children']['length'];_0xaa8cd1++){let _0x2cb271=_0x12bc05['children'][_0xaa8cd1],_0x5ee85e=_0x4ece4f+_0x2cb271['length'];if(_0x5ee85e>=_0x2d7b96){if(_0x2cb271 instanceof _0x42f1e8)return _0x2cb271;if(_0x5ee85e>_0x2d7b96)break;}_0x4ece4f=_0x5ee85e+_0x2cb271['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x3b6124,_0x191259,_0x34fc8c){super(),this['widget']=_0x3b6124,this['length']=_0x191259,this['deco']=_0x34fc8c,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x176e4a,_0xbe8229,_0xb91bb7,_0x226b2a,_0x176e8a,_0xf4096c){return!(_0xb91bb7&&(!(_0xb91bb7 instanceof BlockWidgetView&&this['widget']['compare'](_0xb91bb7['widget']))||_0x176e4a>0x0&&_0x176e8a<=0x0||_0xbe8229<this['length']&&_0xf4096c<=0x0))&&(this['length']=_0x176e4a+(_0xb91bb7?_0xb91bb7['length']:0x0)+(this['length']-_0xbe8229),!0x0);}['domAtPos'](_0x2fa266){return 0x0==_0x2fa266?_0xd10478['before'](this['dom']):_0xd10478['after'](this['dom'],_0x2fa266==this['length']);}['split'](_0x19a9d8){let _0x164646=this['length']-_0x19a9d8;this['length']=_0x19a9d8;let _0x2fd4c3=new BlockWidgetView(this['widget'],_0x164646,this['deco']);return _0x2fd4c3['breakAfter']=this['breakAfter'],_0x2fd4c3;}get['children'](){return _0x51beab;}['sync'](_0x143e59){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x143e59)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x143e59)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):_0x9ec70d['empty'];}['domBoundsAround'](){return null;}['become'](_0x3e0fe0){return _0x3e0fe0 instanceof BlockWidgetView&&_0x3e0fe0['widget']['constructor']==this['widget']['constructor']&&(_0x3e0fe0['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x3e0fe0['widget'],this['length']=_0x3e0fe0['length'],this['deco']=_0x3e0fe0['deco'],this['breakAfter']=_0x3e0fe0['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x56fdc0){return this['widget']['ignoreEvent'](_0x56fdc0);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x3db1a5,_0x1dbf9a){let _0xd8be29=this['widget']['coordsAt'](this['dom'],_0x3db1a5,_0x1dbf9a);return _0xd8be29||(this['widget']instanceof BlockGapWidget?null:_0x5503c6(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x3db1a5:_0x1dbf9a<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0xbc26ea){let {startSide:_0x2510c8,endSide:_0x13f332}=this['deco'];return _0x2510c8!=_0x13f332&&(_0xbc26ea<0x0?_0x2510c8<0x0:_0x13f332>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x9c96a5){super(),this['height']=_0x9c96a5;}['toDOM'](){let _0x186281=document['createElement']('div');return _0x186281['className']='cm-gap',this['updateDOM'](_0x186281),_0x186281;}['eq'](_0x14f078){return _0x14f078['height']==this['height'];}['updateDOM'](_0x452c12){return _0x452c12['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x1c9524,_0xc23d0d,_0x2cc4fa,_0x3484c1){this['doc']=_0x1c9524,this['pos']=_0xc23d0d,this['end']=_0x2cc4fa,this['disallowBlockEffectsFor']=_0x3484c1,this['content']=[],this['curLine']=null,this['breakAtStart']=0x0,this['pendingBuffer']=0x0,this['bufferMarks']=[],this['atCursorPos']=!0x0,this['openStart']=-0x1,this['openEnd']=-0x1,this['text']='',this['textOff']=0x0,this['cursor']=_0x1c9524['iter'](),this['skip']=_0xc23d0d;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x28ed56=this['content'][this['content']['length']-0x1];return!(_0x28ed56['breakAfter']||_0x28ed56 instanceof BlockWidgetView&&_0x28ed56['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x42f1e8()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x32e4e1=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0xd3c9c2(new WidgetBufferView(-0x1),_0x32e4e1),_0x32e4e1['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x200481){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x200481);}['finish'](_0x12c25a){this['pendingBuffer']&&_0x12c25a<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x12c25a&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x27721a,_0x274e22,_0x4c69ea){for(;_0x27721a>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x383b29,lineBreak:_0x4b1e3d,done:_0x1b5406}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x1b5406)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x4b1e3d){this['posCovered']()||this['getLine'](),this['content']['length']?this['content'][this['content']['length']-0x1]['breakAfter']=0x1:this['breakAtStart']=0x1,this['flushBuffer'](),this['curLine']=null,this['atCursorPos']=!0x0,_0x27721a--;continue;}this['text']=_0x383b29,this['textOff']=0x0;}let _0x5a5032=Math['min'](this['text']['length']-this['textOff'],_0x27721a),_0x416033=Math['min'](_0x5a5032,0x200);this['flushBuffer'](_0x274e22['slice'](_0x274e22['length']-_0x4c69ea)),this['getLine']()['append'](_0xd3c9c2(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x416033)),_0x274e22),_0x4c69ea),this['atCursorPos']=!0x0,this['textOff']+=_0x416033,_0x27721a-=_0x416033,_0x4c69ea=_0x5a5032<=_0x416033?0x0:_0x274e22['length'];}}['span'](_0xbe1718,_0x24a6df,_0xecea6c,_0x52b88f){this['buildText'](_0x24a6df-_0xbe1718,_0xecea6c,_0x52b88f),this['pos']=_0x24a6df,this['openStart']<0x0&&(this['openStart']=_0x52b88f);}['point'](_0x47a2d7,_0x42c703,_0x3684fc,_0x40db81,_0x5e6b9e,_0x7b99cc){if(this['disallowBlockEffectsFor'][_0x7b99cc]&&_0x3684fc instanceof PointDecoration){if(_0x3684fc['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x42c703>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x589729=_0x42c703-_0x47a2d7;if(_0x3684fc instanceof PointDecoration){if(_0x3684fc['block'])_0x3684fc['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x3684fc['widget']||NullWidget['block'],_0x589729,_0x3684fc));else{let _0x43ad05=WidgetView['create'](_0x3684fc['widget']||NullWidget['inline'],_0x589729,_0x589729?0x0:_0x3684fc['startSide']),_0x297918=this['atCursorPos']&&!_0x43ad05['isEditable']&&_0x5e6b9e<=_0x40db81['length']&&(_0x47a2d7<_0x42c703||_0x3684fc['startSide']>0x0),_0x286b7c=!_0x43ad05['isEditable']&&(_0x47a2d7<_0x42c703||_0x5e6b9e>_0x40db81['length']||_0x3684fc['startSide']<=0x0),_0x5726dc=this['getLine']();0x2!=this['pendingBuffer']||_0x297918||_0x43ad05['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x40db81),_0x297918&&(_0x5726dc['append'](_0xd3c9c2(new WidgetBufferView(0x1),_0x40db81),_0x5e6b9e),_0x5e6b9e=_0x40db81['length']+Math['max'](0x0,_0x5e6b9e-_0x40db81['length'])),_0x5726dc['append'](_0xd3c9c2(_0x43ad05,_0x40db81),_0x5e6b9e),this['atCursorPos']=_0x286b7c,this['pendingBuffer']=_0x286b7c?_0x47a2d7<_0x42c703||_0x5e6b9e>_0x40db81['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x40db81['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x3684fc);_0x589729&&(this['textOff']+_0x589729<=this['text']['length']?this['textOff']+=_0x589729:(this['skip']+=_0x589729-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x42c703),this['openStart']<0x0&&(this['openStart']=_0x5e6b9e);}static['build'](_0xf40a1e,_0x27c6b4,_0x1a729a,_0x15e3c7,_0x15e523){let _0x473769=new ContentBuilder(_0xf40a1e,_0x27c6b4,_0x1a729a,_0x15e523);return _0x473769['openEnd']=RangeSet['spans'](_0x15e3c7,_0x27c6b4,_0x1a729a,_0x473769),_0x473769['openStart']<0x0&&(_0x473769['openStart']=_0x473769['openEnd']),_0x473769['finish'](_0x473769['openEnd']),_0x473769;}}function _0xd3c9c2(_0x44c209,_0x5d44a0){for(let _0x3f1bc8 of _0x5d44a0)_0x44c209=new _0x815504(_0x3f1bc8,[_0x44c209],_0x44c209['length']);return _0x44c209;}class NullWidget extends WidgetType{constructor(_0x1daac4){super(),this['tag']=_0x1daac4;}['eq'](_0x11f1e3){return _0x11f1e3['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x5d3e50){return _0x5d3e50['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var _0x5d0416=function(_0x185627){return _0x185627[_0x185627['LTR']=0x0]='LTR',_0x185627[_0x185627['RTL']=0x1]='RTL',_0x185627;}(_0x5d0416||(_0x5d0416={}));const _0x246ad3=_0x5d0416['LTR'],_0x42062f=_0x5d0416['RTL'];function _0x30d61a(_0x39787c){let _0x5649b7=[];for(let _0x21afe2=0x0;_0x21afe2<_0x39787c['length'];_0x21afe2++)_0x5649b7['push'](0x1<<+_0x39787c[_0x21afe2]);return _0x5649b7;}const _0x1f7597=_0x30d61a('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x20e6ff=_0x30d61a('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),_0x1d8687=Object['create'](null),_0x435c3a=[];for(let _0x4b970 of['()','[]','{}']){let _0x1bc2df=_0x4b970['charCodeAt'](0x0),_0xdee580=_0x4b970['charCodeAt'](0x1);_0x1d8687[_0x1bc2df]=_0xdee580,_0x1d8687[_0xdee580]=-_0x1bc2df;}function _0x3849b4(_0x5174fa){return _0x5174fa<=0xf7?_0x1f7597[_0x5174fa]:0x590<=_0x5174fa&&_0x5174fa<=0x5f4?0x2:0x600<=_0x5174fa&&_0x5174fa<=0x6f9?_0x20e6ff[_0x5174fa-0x600]:0x6ee<=_0x5174fa&&_0x5174fa<=0x8ac?0x4:0x2000<=_0x5174fa&&_0x5174fa<=0x200c?0x100:0xfb50<=_0x5174fa&&_0x5174fa<=0xfdff?0x4:0x1;}const _0x4e6568=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x2721c5{get['dir'](){return this['level']%0x2?_0x42062f:_0x246ad3;}constructor(_0xf471a0,_0x1f9002,_0x434489){this['from']=_0xf471a0,this['to']=_0x1f9002,this['level']=_0x434489;}['side'](_0xf44ba7,_0x2953d8){return this['dir']==_0x2953d8==_0xf44ba7?this['to']:this['from'];}['forward'](_0x29d3d5,_0x884481){return _0x29d3d5==(this['dir']==_0x884481);}static['find'](_0x3ca7b6,_0x2a43f0,_0x3e71e1,_0x174c57){let _0x4bdfa1=-0x1;for(let _0x229610=0x0;_0x229610<_0x3ca7b6['length'];_0x229610++){let _0x5146de=_0x3ca7b6[_0x229610];if(_0x5146de['from']<=_0x2a43f0&&_0x5146de['to']>=_0x2a43f0){if(_0x5146de['level']==_0x3e71e1)return _0x229610;(_0x4bdfa1<0x0||(0x0!=_0x174c57?_0x174c57<0x0?_0x5146de['from']<_0x2a43f0:_0x5146de['to']>_0x2a43f0:_0x3ca7b6[_0x4bdfa1]['level']>_0x5146de['level']))&&(_0x4bdfa1=_0x229610);}}if(_0x4bdfa1<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x4bdfa1;}}function _0x3d975c(_0x3589c9,_0x343584){if(_0x3589c9['length']!=_0x343584['length'])return!0x1;for(let _0x479d54=0x0;_0x479d54<_0x3589c9['length'];_0x479d54++){let _0x347129=_0x3589c9[_0x479d54],_0x1f2097=_0x343584[_0x479d54];if(_0x347129['from']!=_0x1f2097['from']||_0x347129['to']!=_0x1f2097['to']||_0x347129['direction']!=_0x1f2097['direction']||!_0x3d975c(_0x347129['inner'],_0x1f2097['inner']))return!0x1;}return!0x0;}const _0x5d3a0d=[];function _0x921d9f(_0x321616,_0x2b03cd,_0x5b0b9a,_0x2e938b,_0x184a13,_0xab786b,_0x4afe99){let _0x306311=_0x2e938b%0x2?0x2:0x1;if(_0x2e938b%0x2==_0x184a13%0x2)for(let _0xd3eb79=_0x2b03cd,_0x31a283=0x0;_0xd3eb79<_0x5b0b9a;){let _0x35f22a=!0x0,_0x471ce4=!0x1;if(_0x31a283==_0xab786b['length']||_0xd3eb79<_0xab786b[_0x31a283]['from']){let _0x845971=_0x5d3a0d[_0xd3eb79];_0x845971!=_0x306311&&(_0x35f22a=!0x1,_0x471ce4=0x10==_0x845971);}let _0x1a174e=_0x35f22a||0x1!=_0x306311?null:[],_0xef3c40=_0x35f22a?_0x2e938b:_0x2e938b+0x1,_0x24c5e6=_0xd3eb79;t:for(;;)if(_0x31a283<_0xab786b['length']&&_0x24c5e6==_0xab786b[_0x31a283]['from']){if(_0x471ce4)break t;let _0x2974be=_0xab786b[_0x31a283];if(!_0x35f22a)for(let _0x115b58=_0x2974be['to'],_0x12e46f=_0x31a283+0x1;;){if(_0x115b58==_0x5b0b9a)break t;if(!(_0x12e46f<_0xab786b['length']&&_0xab786b[_0x12e46f]['from']==_0x115b58)){if(_0x5d3a0d[_0x115b58]==_0x306311)break t;break;}_0x115b58=_0xab786b[_0x12e46f++]['to'];}if(_0x31a283++,_0x1a174e)_0x1a174e['push'](_0x2974be);else _0x2974be['from']>_0xd3eb79&&_0x4afe99['push'](new _0x2721c5(_0xd3eb79,_0x2974be['from'],_0xef3c40)),_0x32d87d(_0x321616,_0x2974be['direction']==_0x246ad3!=!(_0xef3c40%0x2)?_0x2e938b+0x1:_0x2e938b,_0x184a13,_0x2974be['inner'],_0x2974be['from'],_0x2974be['to'],_0x4afe99),_0xd3eb79=_0x2974be['to'];_0x24c5e6=_0x2974be['to'];}else{if(_0x24c5e6==_0x5b0b9a||(_0x35f22a?_0x5d3a0d[_0x24c5e6]!=_0x306311:_0x5d3a0d[_0x24c5e6]==_0x306311))break;_0x24c5e6++;}_0x1a174e?_0x921d9f(_0x321616,_0xd3eb79,_0x24c5e6,_0x2e938b+0x1,_0x184a13,_0x1a174e,_0x4afe99):_0xd3eb79<_0x24c5e6&&_0x4afe99['push'](new _0x2721c5(_0xd3eb79,_0x24c5e6,_0xef3c40)),_0xd3eb79=_0x24c5e6;}else for(let _0x4ad4b6=_0x5b0b9a,_0x499bf0=_0xab786b['length'];_0x4ad4b6>_0x2b03cd;){let _0x337551=!0x0,_0x50f094=!0x1;if(!_0x499bf0||_0x4ad4b6>_0xab786b[_0x499bf0-0x1]['to']){let _0xad4e37=_0x5d3a0d[_0x4ad4b6-0x1];_0xad4e37!=_0x306311&&(_0x337551=!0x1,_0x50f094=0x10==_0xad4e37);}let _0xf735a6=_0x337551||0x1!=_0x306311?null:[],_0x133ce0=_0x337551?_0x2e938b:_0x2e938b+0x1,_0xdf68d4=_0x4ad4b6;t:for(;;)if(_0x499bf0&&_0xdf68d4==_0xab786b[_0x499bf0-0x1]['to']){if(_0x50f094)break t;let _0x1352a4=_0xab786b[--_0x499bf0];if(!_0x337551)for(let _0x1652ef=_0x1352a4['from'],_0x3f8212=_0x499bf0;;){if(_0x1652ef==_0x2b03cd)break t;if(!_0x3f8212||_0xab786b[_0x3f8212-0x1]['to']!=_0x1652ef){if(_0x5d3a0d[_0x1652ef-0x1]==_0x306311)break t;break;}_0x1652ef=_0xab786b[--_0x3f8212]['from'];}if(_0xf735a6)_0xf735a6['push'](_0x1352a4);else _0x1352a4['to']<_0x4ad4b6&&_0x4afe99['push'](new _0x2721c5(_0x1352a4['to'],_0x4ad4b6,_0x133ce0)),_0x32d87d(_0x321616,_0x1352a4['direction']==_0x246ad3!=!(_0x133ce0%0x2)?_0x2e938b+0x1:_0x2e938b,_0x184a13,_0x1352a4['inner'],_0x1352a4['from'],_0x1352a4['to'],_0x4afe99),_0x4ad4b6=_0x1352a4['from'];_0xdf68d4=_0x1352a4['from'];}else{if(_0xdf68d4==_0x2b03cd||(_0x337551?_0x5d3a0d[_0xdf68d4-0x1]!=_0x306311:_0x5d3a0d[_0xdf68d4-0x1]==_0x306311))break;_0xdf68d4--;}_0xf735a6?_0x921d9f(_0x321616,_0xdf68d4,_0x4ad4b6,_0x2e938b+0x1,_0x184a13,_0xf735a6,_0x4afe99):_0xdf68d4<_0x4ad4b6&&_0x4afe99['push'](new _0x2721c5(_0xdf68d4,_0x4ad4b6,_0x133ce0)),_0x4ad4b6=_0xdf68d4;}}function _0x32d87d(_0x3fca5e,_0x5ede1d,_0x4abc04,_0xa3253f,_0x1ea924,_0x552b5e,_0x4fed3e){let _0x257f5c=_0x5ede1d%0x2?0x2:0x1;!function(_0x3f6f8f,_0x5eb6f3,_0x47bf54,_0x140590,_0x4adceb){for(let _0x519c90=0x0;_0x519c90<=_0x140590['length'];_0x519c90++){let _0x5dd0ea=_0x519c90?_0x140590[_0x519c90-0x1]['to']:_0x5eb6f3,_0x5856c7=_0x519c90<_0x140590['length']?_0x140590[_0x519c90]['from']:_0x47bf54,_0x43423b=_0x519c90?0x100:_0x4adceb;for(let _0x3e5537=_0x5dd0ea,_0x3ce437=_0x43423b,_0x337fe2=_0x43423b;_0x3e5537<_0x5856c7;_0x3e5537++){let _0x5db309=_0x3849b4(_0x3f6f8f['charCodeAt'](_0x3e5537));0x200==_0x5db309?_0x5db309=_0x3ce437:0x8==_0x5db309&&0x4==_0x337fe2&&(_0x5db309=0x10),_0x5d3a0d[_0x3e5537]=0x4==_0x5db309?0x2:_0x5db309,0x7&_0x5db309&&(_0x337fe2=_0x5db309),_0x3ce437=_0x5db309;}for(let _0x109a58=_0x5dd0ea,_0x1f687c=_0x43423b,_0x2c5a20=_0x43423b;_0x109a58<_0x5856c7;_0x109a58++){let _0xe1e2a7=_0x5d3a0d[_0x109a58];if(0x80==_0xe1e2a7)_0x109a58<_0x5856c7-0x1&&_0x1f687c==_0x5d3a0d[_0x109a58+0x1]&&0x18&_0x1f687c?_0xe1e2a7=_0x5d3a0d[_0x109a58]=_0x1f687c:_0x5d3a0d[_0x109a58]=0x100;else{if(0x40==_0xe1e2a7){let _0x2f9b18=_0x109a58+0x1;for(;_0x2f9b18<_0x5856c7&&0x40==_0x5d3a0d[_0x2f9b18];)_0x2f9b18++;let _0x3b6e39=_0x109a58&&0x8==_0x1f687c||_0x2f9b18<_0x47bf54&&0x8==_0x5d3a0d[_0x2f9b18]?0x1==_0x2c5a20?0x1:0x8:0x100;for(let _0x294a4b=_0x109a58;_0x294a4b<_0x2f9b18;_0x294a4b++)_0x5d3a0d[_0x294a4b]=_0x3b6e39;_0x109a58=_0x2f9b18-0x1;}else 0x8==_0xe1e2a7&&0x1==_0x2c5a20&&(_0x5d3a0d[_0x109a58]=0x1);}_0x1f687c=_0xe1e2a7,0x7&_0xe1e2a7&&(_0x2c5a20=_0xe1e2a7);}}}(_0x3fca5e,_0x1ea924,_0x552b5e,_0xa3253f,_0x257f5c),function(_0x5eab70,_0x446916,_0x4e1d08,_0x837063,_0xf6cc6b){let _0x46973b=0x1==_0xf6cc6b?0x2:0x1;for(let _0x4eb535=0x0,_0xea018a=0x0,_0x1e5956=0x0;_0x4eb535<=_0x837063['length'];_0x4eb535++){let _0x56163c=_0x4eb535?_0x837063[_0x4eb535-0x1]['to']:_0x446916,_0x5bc7a9=_0x4eb535<_0x837063['length']?_0x837063[_0x4eb535]['from']:_0x4e1d08;for(let _0x5d248b,_0x2b71de,_0x11378a,_0x429831=_0x56163c;_0x429831<_0x5bc7a9;_0x429831++)if(_0x2b71de=_0x1d8687[_0x5d248b=_0x5eab70['charCodeAt'](_0x429831)]){if(_0x2b71de<0x0){for(let _0x4b8b61=_0xea018a-0x3;_0x4b8b61>=0x0;_0x4b8b61-=0x3)if(_0x435c3a[_0x4b8b61+0x1]==-_0x2b71de){let _0x4f06f5=_0x435c3a[_0x4b8b61+0x2],_0xf74f01=0x2&_0x4f06f5?_0xf6cc6b:0x4&_0x4f06f5?0x1&_0x4f06f5?_0x46973b:_0xf6cc6b:0x0;_0xf74f01&&(_0x5d3a0d[_0x429831]=_0x5d3a0d[_0x435c3a[_0x4b8b61]]=_0xf74f01),_0xea018a=_0x4b8b61;break;}}else{if(0xbd==_0x435c3a['length'])break;_0x435c3a[_0xea018a++]=_0x429831,_0x435c3a[_0xea018a++]=_0x5d248b,_0x435c3a[_0xea018a++]=_0x1e5956;}}else{if(0x2==(_0x11378a=_0x5d3a0d[_0x429831])||0x1==_0x11378a){let _0x32aee8=_0x11378a==_0xf6cc6b;_0x1e5956=_0x32aee8?0x0:0x1;for(let _0x4468fe=_0xea018a-0x3;_0x4468fe>=0x0;_0x4468fe-=0x3){let _0x4dc821=_0x435c3a[_0x4468fe+0x2];if(0x2&_0x4dc821)break;if(_0x32aee8)_0x435c3a[_0x4468fe+0x2]|=0x2;else{if(0x4&_0x4dc821)break;_0x435c3a[_0x4468fe+0x2]|=0x4;}}}}}}(_0x3fca5e,_0x1ea924,_0x552b5e,_0xa3253f,_0x257f5c),function(_0x535292,_0x20ba36,_0x33e130,_0x2e9132){for(let _0x2d3992=0x0,_0x1e6a2a=_0x2e9132;_0x2d3992<=_0x33e130['length'];_0x2d3992++){let _0x768a6=_0x2d3992?_0x33e130[_0x2d3992-0x1]['to']:_0x535292,_0x6a79b9=_0x2d3992<_0x33e130['length']?_0x33e130[_0x2d3992]['from']:_0x20ba36;for(let _0x19e755=_0x768a6;_0x19e755<_0x6a79b9;){let _0x863cf=_0x5d3a0d[_0x19e755];if(0x100==_0x863cf){let _0x16a3bc=_0x19e755+0x1;for(;;)if(_0x16a3bc==_0x6a79b9){if(_0x2d3992==_0x33e130['length'])break;_0x16a3bc=_0x33e130[_0x2d3992++]['to'],_0x6a79b9=_0x2d3992<_0x33e130['length']?_0x33e130[_0x2d3992]['from']:_0x20ba36;}else{if(0x100!=_0x5d3a0d[_0x16a3bc])break;_0x16a3bc++;}let _0x8a3e8=0x1==_0x1e6a2a,_0x132ff3=_0x8a3e8==(0x1==(_0x16a3bc<_0x20ba36?_0x5d3a0d[_0x16a3bc]:_0x2e9132))?_0x8a3e8?0x1:0x2:_0x2e9132;for(let _0xd96847=_0x16a3bc,_0x1b4a06=_0x2d3992,_0x34ed06=_0x1b4a06?_0x33e130[_0x1b4a06-0x1]['to']:_0x535292;_0xd96847>_0x19e755;)_0xd96847==_0x34ed06&&(_0xd96847=_0x33e130[--_0x1b4a06]['from'],_0x34ed06=_0x1b4a06?_0x33e130[_0x1b4a06-0x1]['to']:_0x535292),_0x5d3a0d[--_0xd96847]=_0x132ff3;_0x19e755=_0x16a3bc;}else _0x1e6a2a=_0x863cf,_0x19e755++;}}}(_0x1ea924,_0x552b5e,_0xa3253f,_0x257f5c),_0x921d9f(_0x3fca5e,_0x1ea924,_0x552b5e,_0x5ede1d,_0x4abc04,_0xa3253f,_0x4fed3e);}function _0x2051bf(_0x3afb23){return[new _0x2721c5(0x0,_0x3afb23,0x0)];}let _0x224ba2='';function _0x424f46(_0x2dba80,_0x10c977,_0x1a0b55,_0x44e75c,_0x5c9e5f){var _0x5ce7e0;let _0x26e813=_0x44e75c['head']-_0x2dba80['from'],_0x20de9e=_0x2721c5['find'](_0x10c977,_0x26e813,null!==(_0x5ce7e0=_0x44e75c['bidiLevel'])&&void 0x0!==_0x5ce7e0?_0x5ce7e0:-0x1,_0x44e75c['assoc']),_0x3f54cc=_0x10c977[_0x20de9e],_0x5611ed=_0x3f54cc['side'](_0x5c9e5f,_0x1a0b55);if(_0x26e813==_0x5611ed){let _0x59ee76=_0x20de9e+=_0x5c9e5f?0x1:-0x1;if(_0x59ee76<0x0||_0x59ee76>=_0x10c977['length'])return null;_0x3f54cc=_0x10c977[_0x20de9e=_0x59ee76],_0x26e813=_0x3f54cc['side'](!_0x5c9e5f,_0x1a0b55),_0x5611ed=_0x3f54cc['side'](_0x5c9e5f,_0x1a0b55);}let _0x139d9a=_0x125880(_0x2dba80['text'],_0x26e813,_0x3f54cc['forward'](_0x5c9e5f,_0x1a0b55));(_0x139d9a<_0x3f54cc['from']||_0x139d9a>_0x3f54cc['to'])&&(_0x139d9a=_0x5611ed),_0x224ba2=_0x2dba80['text']['slice'](Math['min'](_0x26e813,_0x139d9a),Math['max'](_0x26e813,_0x139d9a));let _0x2e50f1=_0x20de9e==(_0x5c9e5f?_0x10c977['length']-0x1:0x0)?null:_0x10c977[_0x20de9e+(_0x5c9e5f?0x1:-0x1)];return _0x2e50f1&&_0x139d9a==_0x5611ed&&_0x2e50f1['level']+(_0x5c9e5f?0x0:0x1)<_0x3f54cc['level']?EditorSelection['cursor'](_0x2e50f1['side'](!_0x5c9e5f,_0x1a0b55)+_0x2dba80['from'],_0x2e50f1['forward'](_0x5c9e5f,_0x1a0b55)?0x1:-0x1,_0x2e50f1['level']):EditorSelection['cursor'](_0x139d9a+_0x2dba80['from'],_0x3f54cc['forward'](_0x5c9e5f,_0x1a0b55)?-0x1:0x1,_0x3f54cc['level']);}function _0x1884c4(_0x194b5,_0x11ffdc,_0x49e315){for(let _0x46b292=_0x11ffdc;_0x46b292<_0x49e315;_0x46b292++){let _0x3892ba=_0x3849b4(_0x194b5['charCodeAt'](_0x46b292));if(0x1==_0x3892ba)return _0x246ad3;if(0x2==_0x3892ba||0x4==_0x3892ba)return _0x42062f;}return _0x246ad3;}const _0x1214e7=Facet['define'](),_0x43a499=Facet['define'](),_0x48c127=Facet['define'](),_0x4c2d06=Facet['define'](),_0x4b702a=Facet['define'](),_0x5a1940=Facet['define'](),_0x1aea33=Facet['define'](),_0x3fa4da=Facet['define'](),_0x3f3195=Facet['define'](),_0x1eb688=Facet['define']({'combine':_0x409f11=>_0x409f11['some'](_0x5f157a=>_0x5f157a)}),_0x40b5b4=Facet['define']({'combine':_0x558bec=>_0x558bec['some'](_0x3d420f=>_0x3d420f)}),tb=Facet['define']();class ScrollTarget{constructor(_0x531f09,_0x48def2='nearest',_0x240a49='nearest',_0x1e6370=0x5,_0x53b989=0x5,_0x2939a0=!0x1){this['range']=_0x531f09,this['y']=_0x48def2,this['x']=_0x240a49,this['yMargin']=_0x1e6370,this['xMargin']=_0x53b989,this['isSnapshot']=_0x2939a0;}['map'](_0x1fba6e){return _0x1fba6e['empty']?this:new ScrollTarget(this['range']['map'](_0x1fba6e),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x31915a){return this['range']['to']<=_0x31915a['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x31915a['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const _0x54507d=StateEffect['define']({'map':(t,_0x560a92)=>t['map'](_0x560a92)}),_0x45b422=StateEffect['define']();function _0x23aa16(_0x4a3af3,_0x50b138,_0x47e0ad){let _0x28f0a2=_0x4a3af3['facet'](_0x4c2d06);_0x28f0a2['length']?_0x28f0a2[0x0](_0x50b138):window['onerror']&&window['onerror'](String(_0x50b138),_0x47e0ad,void 0x0,void 0x0,_0x50b138)||(_0x47e0ad?console['error'](_0x47e0ad+':',_0x50b138):console['error'](_0x50b138));}const _0x344448=Facet['define']({'combine':_0x114937=>!_0x114937['length']||_0x114937[0x0]});let _0x1d0e05=0x0;const _0x2bd56f=Facet['define']({'combine':_0xde0091=>_0xde0091['filter']((_0x5acb45,_0x38b4c5)=>{for(let _0x171165=0x0;_0x171165<_0x38b4c5;_0x171165++)if(_0xde0091[_0x171165]['plugin']==_0x5acb45['plugin'])return!0x1;return!0x0;})});class _0x30d55e{constructor(_0x495e1a,_0x25358e,_0x3f5d9e,_0x31770e,_0x5bb777){this['id']=_0x495e1a,this['create']=_0x25358e,this['domEventHandlers']=_0x3f5d9e,this['domEventObservers']=_0x31770e,this['baseExtensions']=_0x5bb777(this),this['extension']=this['baseExtensions']['concat'](_0x2bd56f['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x35358e){return this['baseExtensions']['concat'](_0x2bd56f['of']({'plugin':this,'arg':_0x35358e}));}static['define'](_0x25dacf,_0x50ccb2){const {eventHandlers:_0x5cf513,eventObservers:_0x51c536,provide:_0xcee98a,decorations:_0x3a9265}=_0x50ccb2||{};return new _0x30d55e(_0x1d0e05++,_0x25dacf,_0x5cf513,_0x51c536,_0x2b282b=>{let _0x4074f9=[];return _0x3a9265&&_0x4074f9['push'](_0x3f2eb0['of'](_0x1d3405=>{let _0x519a33=_0x1d3405['plugin'](_0x2b282b);return _0x519a33?_0x3a9265(_0x519a33):Decoration['none'];})),_0xcee98a&&_0x4074f9['push'](_0xcee98a(_0x2b282b)),_0x4074f9;});}static['fromClass'](_0x221d1a,_0x38ab21){return _0x30d55e['define']((_0x3caa27,_0xb0d0c9)=>new _0x221d1a(_0x3caa27,_0xb0d0c9),_0x38ab21);}}class PluginInstance{constructor(_0x5109b6){this['spec']=_0x5109b6,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x192203){if(this['value']){if(this['mustUpdate']){let _0x5f553d=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x5f553d);}catch(_0x3eadb1){if(_0x23aa16(_0x5f553d['state'],_0x3eadb1,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x15cfa5){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x192203,this['spec']['arg']);}catch(_0x21b492){_0x23aa16(_0x192203['state'],_0x21b492,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x3580fe){var _0x57a834;if(null===(_0x57a834=this['value'])||void 0x0===_0x57a834?void 0x0:_0x57a834['destroy'])try{this['value']['destroy']();}catch(_0x467a9a){_0x23aa16(_0x3580fe['state'],_0x467a9a,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const _0x38949e=Facet['define'](),_0x2cfbe5=Facet['define'](),_0x3f2eb0=Facet['define'](),_0x5489e1=Facet['define'](),_0xa38285=Facet['define'](),_0x2debb2=Facet['define']();function _0x126ce8(_0x280424,_0x4d0d42){let _0x28db68=_0x280424['state']['facet'](_0x2debb2);if(!_0x28db68['length'])return _0x28db68;let _0x2521ec=_0x28db68['map'](_0x59ade0=>_0x59ade0 instanceof Function?_0x59ade0(_0x280424):_0x59ade0),_0x219ad9=[];return RangeSet['spans'](_0x2521ec,_0x4d0d42['from'],_0x4d0d42['to'],{'point'(){},'span'(_0xca30c7,_0x243315,_0x2c0b14,_0x37a139){let _0x2f2bd4=_0xca30c7-_0x4d0d42['from'],_0x2a02f6=_0x243315-_0x4d0d42['from'],_0x1b170f=_0x219ad9;for(let _0x6aacf1=_0x2c0b14['length']-0x1;_0x6aacf1>=0x0;_0x6aacf1--,_0x37a139--){let _0x215763,_0x4c803c=_0x2c0b14[_0x6aacf1]['spec']['bidiIsolate'];if(null==_0x4c803c&&(_0x4c803c=_0x1884c4(_0x4d0d42['text'],_0x2f2bd4,_0x2a02f6)),_0x37a139>0x0&&_0x1b170f['length']&&(_0x215763=_0x1b170f[_0x1b170f['length']-0x1])['to']==_0x2f2bd4&&_0x215763['direction']==_0x4c803c)_0x215763['to']=_0x2a02f6,_0x1b170f=_0x215763['inner'];else{let _0x597fda={'from':_0x2f2bd4,'to':_0x2a02f6,'direction':_0x4c803c,'inner':[]};_0x1b170f['push'](_0x597fda),_0x1b170f=_0x597fda['inner'];}}}}),_0x219ad9;}const _0x2d99f8=Facet['define']();function _0xb577b1(_0x20f4bc){let _0x27710a=0x0,_0x265513=0x0,_0x540a14=0x0,_0x111fc9=0x0;for(let _0x641c02 of _0x20f4bc['state']['facet'](_0x2d99f8)){let _0x250e27=_0x641c02(_0x20f4bc);_0x250e27&&(null!=_0x250e27['left']&&(_0x27710a=Math['max'](_0x27710a,_0x250e27['left'])),null!=_0x250e27['right']&&(_0x265513=Math['max'](_0x265513,_0x250e27['right'])),null!=_0x250e27['top']&&(_0x540a14=Math['max'](_0x540a14,_0x250e27['top'])),null!=_0x250e27['bottom']&&(_0x111fc9=Math['max'](_0x111fc9,_0x250e27['bottom'])));}return{'left':_0x27710a,'right':_0x265513,'top':_0x540a14,'bottom':_0x111fc9};}const _0x4bc7f3=Facet['define']();class _0x752a26{constructor(_0x23a31a,_0x4c56f2,_0x2ba21e,_0x400edb){this['fromA']=_0x23a31a,this['toA']=_0x4c56f2,this['fromB']=_0x2ba21e,this['toB']=_0x400edb;}['join'](_0x24d555){return new _0x752a26(Math['min'](this['fromA'],_0x24d555['fromA']),Math['max'](this['toA'],_0x24d555['toA']),Math['min'](this['fromB'],_0x24d555['fromB']),Math['max'](this['toB'],_0x24d555['toB']));}['addToSet'](_0x29e05a){let _0x49bacd=_0x29e05a['length'],_0x196b52=this;for(;_0x49bacd>0x0;_0x49bacd--){let _0x54c9a3=_0x29e05a[_0x49bacd-0x1];if(!(_0x54c9a3['fromA']>_0x196b52['toA'])){if(_0x54c9a3['toA']<_0x196b52['fromA'])break;_0x196b52=_0x196b52['join'](_0x54c9a3),_0x29e05a['splice'](_0x49bacd-0x1,0x1);}}return _0x29e05a['splice'](_0x49bacd,0x0,_0x196b52),_0x29e05a;}static['extendWithRanges'](_0x3d67ca,_0x506ee3){if(0x0==_0x506ee3['length'])return _0x3d67ca;let _0x516f3d=[];for(let _0x11139d=0x0,_0x3aaf03=0x0,_0x52d1cc=0x0,_0x180db2=0x0;;_0x11139d++){let _0x3cdc1a=_0x11139d==_0x3d67ca['length']?null:_0x3d67ca[_0x11139d],_0x13b9b4=_0x52d1cc-_0x180db2,_0x184ced=_0x3cdc1a?_0x3cdc1a['fromB']:0x3b9aca00;for(;_0x3aaf03<_0x506ee3['length']&&_0x506ee3[_0x3aaf03]<_0x184ced;){let _0x59f8de=_0x506ee3[_0x3aaf03],_0x265783=_0x506ee3[_0x3aaf03+0x1],_0x185baf=Math['max'](_0x180db2,_0x59f8de),_0x5e0e76=Math['min'](_0x184ced,_0x265783);if(_0x185baf<=_0x5e0e76&&new _0x752a26(_0x185baf+_0x13b9b4,_0x5e0e76+_0x13b9b4,_0x185baf,_0x5e0e76)['addToSet'](_0x516f3d),_0x265783>_0x184ced)break;_0x3aaf03+=0x2;}if(!_0x3cdc1a)return _0x516f3d;new _0x752a26(_0x3cdc1a['fromA'],_0x3cdc1a['toA'],_0x3cdc1a['fromB'],_0x3cdc1a['toB'])['addToSet'](_0x516f3d),_0x52d1cc=_0x3cdc1a['toA'],_0x180db2=_0x3cdc1a['toB'];}}}class ViewUpdate{constructor(_0x154282,_0xe943cc,_0x3d8610){this['view']=_0x154282,this['state']=_0xe943cc,this['transactions']=_0x3d8610,this['flags']=0x0,this['startState']=_0x154282['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x17cd58 of _0x3d8610)this['changes']=this['changes']['compose'](_0x17cd58['changes']);let _0x2d28ab=[];this['changes']['iterChangedRanges']((_0x467af5,_0xfc4e4d,_0x2faf12,_0x3a49ea)=>_0x2d28ab['push'](new _0x752a26(_0x467af5,_0xfc4e4d,_0x2faf12,_0x3a49ea))),this['changedRanges']=_0x2d28ab;}static['create'](_0x582095,_0x38ac7c,_0x8dc00f){return new ViewUpdate(_0x582095,_0x38ac7c,_0x8dc00f);}get['viewportChanged'](){return(0x4&this['flags'])>0x0;}get['viewportMoved'](){return(0x8&this['flags'])>0x0;}get['heightChanged'](){return(0x2&this['flags'])>0x0;}get['geometryChanged'](){return this['docChanged']||(0x12&this['flags'])>0x0;}get['focusChanged'](){return(0x1&this['flags'])>0x0;}get['docChanged'](){return!this['changes']['empty'];}get['selectionSet'](){return this['transactions']['some'](_0x14770f=>_0x14770f['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x4f2dbe extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x5344c5){super(),this['view']=_0x5344c5,this['decorations']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['markedForComposition']=new Set(),this['editContextFormatting']=Decoration['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['setDOM'](_0x5344c5['contentDOM']),this['children']=[new _0x42f1e8()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x752a26(0x0,0x0,0x0,_0x5344c5['state']['doc']['length'])],0x0,null);}['update'](_0x321bb3){var _0x2e71b2;let _0x3901a6=_0x321bb3['changedRanges'];this['minWidth']>0x0&&_0x3901a6['length']&&(_0x3901a6['every'](({fromA:_0xbac5b7,toA:_0x347728})=>_0x347728<this['minWidthFrom']||_0xbac5b7>this['minWidthTo'])?(this['minWidthFrom']=_0x321bb3['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x321bb3['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x321bb3);let _0x29a570=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x2e71b2=this['domChanged'])||void 0x0===_0x2e71b2?void 0x0:_0x2e71b2['newSel'])?_0x29a570=this['domChanged']['newSel']['head']:function(_0x257ccc,_0x23da05){let _0x286920=!0x1;return _0x23da05&&_0x257ccc['iterChangedRanges']((_0x516280,_0x582578)=>{_0x516280<_0x23da05['to']&&_0x582578>_0x23da05['from']&&(_0x286920=!0x0);}),_0x286920;}(_0x321bb3['changes'],this['hasComposition'])||_0x321bb3['selectionSet']||(_0x29a570=_0x321bb3['state']['selection']['main']['head']));let _0x428dc0=_0x29a570>-0x1?function(_0x4af330,_0x5bceb4,_0x4deb01){let _0x5acc1c=_0x122287(_0x4af330,_0x4deb01);if(!_0x5acc1c)return null;let {node:_0x378c73,from:_0x458bb8,to:_0x1594a7}=_0x5acc1c,_0x21935f=_0x378c73['nodeValue'];if(/[\n\r]/['test'](_0x21935f))return null;if(_0x4af330['state']['doc']['sliceString'](_0x5acc1c['from'],_0x5acc1c['to'])!=_0x21935f)return null;let _0x2adca9=_0x5bceb4['invertedDesc'],_0x1449a2=new _0x752a26(_0x2adca9['mapPos'](_0x458bb8),_0x2adca9['mapPos'](_0x1594a7),_0x458bb8,_0x1594a7),_0x2dbe43=[];for(let _0x11bc83=_0x378c73['parentNode'];;_0x11bc83=_0x11bc83['parentNode']){let _0x5bae69=ContentView['get'](_0x11bc83);if(_0x5bae69 instanceof _0x815504)_0x2dbe43['push']({'node':_0x11bc83,'deco':_0x5bae69['mark']});else{if(_0x5bae69 instanceof _0x42f1e8||'DIV'==_0x11bc83['nodeName']&&_0x11bc83['parentNode']==_0x4af330['contentDOM'])return{'range':_0x1449a2,'text':_0x378c73,'marks':_0x2dbe43,'line':_0x11bc83};if(_0x11bc83==_0x4af330['contentDOM'])return null;_0x2dbe43['push']({'node':_0x11bc83,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':_0x360009(_0x11bc83),'tagName':_0x11bc83['tagName']['toLowerCase']()})});}}}(this['view'],_0x321bb3['changes'],_0x29a570):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x3638de,to:_0x17e8b3}=this['hasComposition'];_0x3901a6=new _0x752a26(_0x3638de,_0x17e8b3,_0x321bb3['changes']['mapPos'](_0x3638de,-0x1),_0x321bb3['changes']['mapPos'](_0x17e8b3,0x1))['addToSet'](_0x3901a6['slice']());}this['hasComposition']=_0x428dc0?{'from':_0x428dc0['range']['fromB'],'to':_0x428dc0['range']['toB']}:null,(_0x4e5613['ie']||_0x4e5613['chrome'])&&!_0x428dc0&&_0x321bb3&&_0x321bb3['state']['doc']['lines']!=_0x321bb3['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x4e4b98=function(_0x2ca4dc,_0x1b00bf,_0x592928){let _0xd69aba=new _0x563e23();return RangeSet['compare'](_0x2ca4dc,_0x1b00bf,_0x592928,_0xd69aba),_0xd69aba['changes'];}(this['decorations'],this['updateDeco'](),_0x321bb3['changes']);return _0x3901a6=_0x752a26['extendWithRanges'](_0x3901a6,_0x4e4b98),!!(0x7&this['flags']||0x0!=_0x3901a6['length'])&&(this['updateInner'](_0x3901a6,_0x321bb3['startState']['doc']['length'],_0x428dc0),_0x321bb3['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x35fcb8,_0x26fb1c,_0x193f5c){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x35fcb8,_0x26fb1c,_0x193f5c);let {observer:_0x448169}=this['view'];_0x448169['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x21159f=_0x4e5613['chrome']||_0x4e5613['ios']?{'node':_0x448169['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x21159f),this['flags']&=-0x8,_0x21159f&&(_0x21159f['written']||_0x448169['selectionRange']['focusNode']!=_0x21159f['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x33e78c=>_0x33e78c['flags']&=-0x9);let _0x1c16fc=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x491c02 of this['children'])_0x491c02 instanceof BlockWidgetView&&_0x491c02['widget']instanceof BlockGapWidget&&_0x1c16fc['push'](_0x491c02['dom']);}_0x448169['updateGaps'](_0x1c16fc);}['updateChildren'](_0x40d227,_0x3d507b,_0x1c7a5e){let _0x449a15=_0x1c7a5e?_0x1c7a5e['range']['addToSet'](_0x40d227['slice']()):_0x40d227,_0x31b114=this['childCursor'](_0x3d507b);for(let _0x922102=_0x449a15['length']-0x1;;_0x922102--){let _0x477425=_0x922102>=0x0?_0x449a15[_0x922102]:null;if(!_0x477425)break;let _0x266e07,_0x5bc6a5,_0x2a66fd,_0xd9da8d,{fromA:_0x59ea4f,toA:_0x5a5d55,fromB:_0x564477,toB:_0xd8a267}=_0x477425;if(_0x1c7a5e&&_0x1c7a5e['range']['fromB']<_0xd8a267&&_0x1c7a5e['range']['toB']>_0x564477){let _0x7c8393=ContentBuilder['build'](this['view']['state']['doc'],_0x564477,_0x1c7a5e['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x3537a5=ContentBuilder['build'](this['view']['state']['doc'],_0x1c7a5e['range']['toB'],_0xd8a267,this['decorations'],this['dynamicDecorationMap']);_0x5bc6a5=_0x7c8393['breakAtStart'],_0x2a66fd=_0x7c8393['openStart'],_0xd9da8d=_0x3537a5['openEnd'];let _0x368d9e=this['compositionView'](_0x1c7a5e);_0x3537a5['breakAtStart']?_0x368d9e['breakAfter']=0x1:_0x3537a5['content']['length']&&_0x368d9e['merge'](_0x368d9e['length'],_0x368d9e['length'],_0x3537a5['content'][0x0],!0x1,_0x3537a5['openStart'],0x0)&&(_0x368d9e['breakAfter']=_0x3537a5['content'][0x0]['breakAfter'],_0x3537a5['content']['shift']()),_0x7c8393['content']['length']&&_0x368d9e['merge'](0x0,0x0,_0x7c8393['content'][_0x7c8393['content']['length']-0x1],!0x0,0x0,_0x7c8393['openEnd'])&&_0x7c8393['content']['pop'](),_0x266e07=_0x7c8393['content']['concat'](_0x368d9e)['concat'](_0x3537a5['content']);}else({content:_0x266e07,breakAtStart:_0x5bc6a5,openStart:_0x2a66fd,openEnd:_0xd9da8d}=ContentBuilder['build'](this['view']['state']['doc'],_0x564477,_0xd8a267,this['decorations'],this['dynamicDecorationMap']));let {i:_0x39d318,off:_0x202980}=_0x31b114['findPos'](_0x5a5d55,0x1),{i:_0x13a5cd,off:_0x55382c}=_0x31b114['findPos'](_0x59ea4f,-0x1);_0x227da4(this,_0x13a5cd,_0x55382c,_0x39d318,_0x202980,_0x266e07,_0x5bc6a5,_0x2a66fd,_0xd9da8d);}_0x1c7a5e&&this['fixCompositionDOM'](_0x1c7a5e);}['updateEditContextFormatting'](_0x4aefd7){this['editContextFormatting']=this['editContextFormatting']['map'](_0x4aefd7['changes']);for(let _0x17da79 of _0x4aefd7['transactions'])for(let _0x6b0b4c of _0x17da79['effects'])_0x6b0b4c['is'](_0x45b422)&&(this['editContextFormatting']=_0x6b0b4c['value']);}['compositionView'](_0x2b4ae2){let _0x323db8=new TextView(_0x2b4ae2['text']['nodeValue']);_0x323db8['flags']|=0x8;for(let {deco:_0x3fa69e}of _0x2b4ae2['marks'])_0x323db8=new _0x815504(_0x3fa69e,[_0x323db8],_0x323db8['length']);let _0x5edbb4=new _0x42f1e8();return _0x5edbb4['append'](_0x323db8,0x0),_0x5edbb4;}['fixCompositionDOM'](_0x402055){let _0x4dd06e=(_0x4734c2,_0x3b6ebc)=>{_0x3b6ebc['flags']|=0x8|(_0x3b6ebc['children']['some'](_0x23a86a=>0x7&_0x23a86a['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x3b6ebc);let _0x2099cf=ContentView['get'](_0x4734c2);_0x2099cf&&_0x2099cf!=_0x3b6ebc&&(_0x2099cf['dom']=null),_0x3b6ebc['setDOM'](_0x4734c2);},_0x35b540=this['childPos'](_0x402055['range']['fromB'],0x1),_0x2683cb=this['children'][_0x35b540['i']];_0x4dd06e(_0x402055['line'],_0x2683cb);for(let _0x72e1a5=_0x402055['marks']['length']-0x1;_0x72e1a5>=-0x1;_0x72e1a5--)_0x35b540=_0x2683cb['childPos'](_0x35b540['off'],0x1),_0x2683cb=_0x2683cb['children'][_0x35b540['i']],_0x4dd06e(_0x72e1a5>=0x0?_0x402055['marks'][_0x72e1a5]['node']:_0x402055['text'],_0x2683cb);}['updateSelection'](_0x44b962=!0x1,_0x459875=!0x1){!_0x44b962&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x4f5e0b=this['view']['root']['activeElement'],_0x4e19d2=_0x4f5e0b==this['dom'],_0x382b0a=!_0x4e19d2&&!(this['view']['state']['facet'](_0x344448)||this['dom']['tabIndex']>-0x1)&&_0x151d24(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x4f5e0b&&this['dom']['contains'](_0x4f5e0b));if(!(_0x4e19d2||_0x459875||_0x382b0a))return;let _0x1235c4=this['forceSelection'];this['forceSelection']=!0x1;let _0x56f90c=this['view']['state']['selection']['main'],_0x4e0029=this['moveToLine'](this['domAtPos'](_0x56f90c['anchor'])),_0x2c7338=_0x56f90c['empty']?_0x4e0029:this['moveToLine'](this['domAtPos'](_0x56f90c['head']));if(_0x4e5613['gecko']&&_0x56f90c['empty']&&!this['hasComposition']&&(0x1==(_0x46524c=_0x4e0029)['node']['nodeType']&&_0x46524c['node']['firstChild']&&(0x0==_0x46524c['offset']||'false'==_0x46524c['node']['childNodes'][_0x46524c['offset']-0x1]['contentEditable'])&&(_0x46524c['offset']==_0x46524c['node']['childNodes']['length']||'false'==_0x46524c['node']['childNodes'][_0x46524c['offset']]['contentEditable']))){let _0x1485e4=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x4e0029['node']['insertBefore'](_0x1485e4,_0x4e0029['node']['childNodes'][_0x4e0029['offset']]||null)),_0x4e0029=_0x2c7338=new _0xd10478(_0x1485e4,0x0),_0x1235c4=!0x0;}var _0x46524c;let _0x4dcfbc=this['view']['observer']['selectionRange'];!_0x1235c4&&_0x4dcfbc['focusNode']&&(_0x4cd6a7(_0x4e0029['node'],_0x4e0029['offset'],_0x4dcfbc['anchorNode'],_0x4dcfbc['anchorOffset'])&&_0x4cd6a7(_0x2c7338['node'],_0x2c7338['offset'],_0x4dcfbc['focusNode'],_0x4dcfbc['focusOffset'])||this['suppressWidgetCursorChange'](_0x4dcfbc,_0x56f90c))||(this['view']['observer']['ignore'](()=>{_0x4e5613['android']&&_0x4e5613['chrome']&&this['dom']['contains'](_0x4dcfbc['focusNode'])&&function(_0x544c7b,_0x5bbcc1){for(let _0x553657=_0x544c7b;_0x553657&&_0x553657!=_0x5bbcc1;_0x553657=_0x553657['assignedSlot']||_0x553657['parentNode'])if(0x1==_0x553657['nodeType']&&'false'==_0x553657['contentEditable'])return!0x0;return!0x1;}(_0x4dcfbc['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x4eb983=_0x2a2880(this['view']['root']);if(_0x4eb983){if(_0x56f90c['empty']){if(_0x4e5613['gecko']){let _0x22c086=function(_0x2acdb9,_0x44225c){return 0x1!=_0x2acdb9['nodeType']?0x0:(_0x44225c&&'false'==_0x2acdb9['childNodes'][_0x44225c-0x1]['contentEditable']?0x1:0x0)|(_0x44225c<_0x2acdb9['childNodes']['length']&&'false'==_0x2acdb9['childNodes'][_0x44225c]['contentEditable']?0x2:0x0);}(_0x4e0029['node'],_0x4e0029['offset']);if(_0x22c086&&0x3!=_0x22c086){let _0x5e5844=(0x1==_0x22c086?_0x1fbae0:_0x2bc271)(_0x4e0029['node'],_0x4e0029['offset']);_0x5e5844&&(_0x4e0029=new _0xd10478(_0x5e5844['node'],_0x5e5844['offset']));}}_0x4eb983['collapse'](_0x4e0029['node'],_0x4e0029['offset']),null!=_0x56f90c['bidiLevel']&&void 0x0!==_0x4eb983['caretBidiLevel']&&(_0x4eb983['caretBidiLevel']=_0x56f90c['bidiLevel']);}else{if(_0x4eb983['extend']){_0x4eb983['collapse'](_0x4e0029['node'],_0x4e0029['offset']);try{_0x4eb983['extend'](_0x2c7338['node'],_0x2c7338['offset']);}catch(_0x28b316){}}else{let _0x4429ba=document['createRange']();_0x56f90c['anchor']>_0x56f90c['head']&&([_0x4e0029,_0x2c7338]=[_0x2c7338,_0x4e0029]),_0x4429ba['setEnd'](_0x2c7338['node'],_0x2c7338['offset']),_0x4429ba['setStart'](_0x4e0029['node'],_0x4e0029['offset']),_0x4eb983['removeAllRanges'](),_0x4eb983['addRange'](_0x4429ba);}}}else;_0x382b0a&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x4f5e0b&&_0x4f5e0b['focus']());}),this['view']['observer']['setSelectionRange'](_0x4e0029,_0x2c7338)),this['impreciseAnchor']=_0x4e0029['precise']?null:new _0xd10478(_0x4dcfbc['anchorNode'],_0x4dcfbc['anchorOffset']),this['impreciseHead']=_0x2c7338['precise']?null:new _0xd10478(_0x4dcfbc['focusNode'],_0x4dcfbc['focusOffset']);}['suppressWidgetCursorChange'](_0x1084ce,_0x1d8e06){return this['hasComposition']&&_0x1d8e06['empty']&&_0x4cd6a7(_0x1084ce['focusNode'],_0x1084ce['focusOffset'],_0x1084ce['anchorNode'],_0x1084ce['anchorOffset'])&&this['posFromDOM'](_0x1084ce['focusNode'],_0x1084ce['focusOffset'])==_0x1d8e06['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x140a5e}=this,_0x4d59c2=_0x140a5e['state']['selection']['main'],_0x9be969=_0x2a2880(_0x140a5e['root']),{anchorNode:_0x3c41bc,anchorOffset:_0x288a78}=_0x140a5e['observer']['selectionRange'];if(!(_0x9be969&&_0x4d59c2['empty']&&_0x4d59c2['assoc']&&_0x9be969['modify']))return;let _0x3235a0=_0x42f1e8['find'](this,_0x4d59c2['head']);if(!_0x3235a0)return;let _0x33eb56=_0x3235a0['posAtStart'];if(_0x4d59c2['head']==_0x33eb56||_0x4d59c2['head']==_0x33eb56+_0x3235a0['length'])return;let _0x516f28=this['coordsAt'](_0x4d59c2['head'],-0x1),_0x3ec01d=this['coordsAt'](_0x4d59c2['head'],0x1);if(!_0x516f28||!_0x3ec01d||_0x516f28['bottom']>_0x3ec01d['top'])return;let _0xde7aa0=this['domAtPos'](_0x4d59c2['head']+_0x4d59c2['assoc']);_0x9be969['collapse'](_0xde7aa0['node'],_0xde7aa0['offset']),_0x9be969['modify']('move',_0x4d59c2['assoc']<0x0?'forward':'backward','lineboundary'),_0x140a5e['observer']['readSelectionRange']();let _0x58240c=_0x140a5e['observer']['selectionRange'];_0x140a5e['docView']['posFromDOM'](_0x58240c['anchorNode'],_0x58240c['anchorOffset'])!=_0x4d59c2['from']&&_0x9be969['collapse'](_0x3c41bc,_0x288a78);}['moveToLine'](_0x356672){let _0x4a77bc,_0x532c45=this['dom'];if(_0x356672['node']!=_0x532c45)return _0x356672;for(let _0x9ea34=_0x356672['offset'];!_0x4a77bc&&_0x9ea34<_0x532c45['childNodes']['length'];_0x9ea34++){let _0x4881fc=ContentView['get'](_0x532c45['childNodes'][_0x9ea34]);_0x4881fc instanceof _0x42f1e8&&(_0x4a77bc=_0x4881fc['domAtPos'](0x0));}for(let _0x38a188=_0x356672['offset']-0x1;!_0x4a77bc&&_0x38a188>=0x0;_0x38a188--){let _0x1eb8ad=ContentView['get'](_0x532c45['childNodes'][_0x38a188]);_0x1eb8ad instanceof _0x42f1e8&&(_0x4a77bc=_0x1eb8ad['domAtPos'](_0x1eb8ad['length']));}return _0x4a77bc?new _0xd10478(_0x4a77bc['node'],_0x4a77bc['offset'],!0x0):_0x356672;}['nearest'](_0x216bcc){for(let _0x5de365=_0x216bcc;_0x5de365;){let _0x23d8a8=ContentView['get'](_0x5de365);if(_0x23d8a8&&_0x23d8a8['rootView']==this)return _0x23d8a8;_0x5de365=_0x5de365['parentNode'];}return null;}['posFromDOM'](_0x9b0038,_0x497b0d){let _0x4ee605=this['nearest'](_0x9b0038);if(!_0x4ee605)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x4ee605['localPosFromDOM'](_0x9b0038,_0x497b0d)+_0x4ee605['posAtStart'];}['domAtPos'](_0xc35af6){let {i:_0x2b0601,off:_0x1cd119}=this['childCursor']()['findPos'](_0xc35af6,-0x1);for(;_0x2b0601<this['children']['length']-0x1;){let _0x489ca3=this['children'][_0x2b0601];if(_0x1cd119<_0x489ca3['length']||_0x489ca3 instanceof _0x42f1e8)break;_0x2b0601++,_0x1cd119=0x0;}return this['children'][_0x2b0601]['domAtPos'](_0x1cd119);}['coordsAt'](_0xcda983,_0x54f702){let _0x89d024=null,_0xd3aa72=0x0;for(let _0x162d22=this['length'],_0x105cda=this['children']['length']-0x1;_0x105cda>=0x0;_0x105cda--){let _0x24858a=this['children'][_0x105cda],_0x881470=_0x162d22-_0x24858a['breakAfter'],_0x44e17=_0x881470-_0x24858a['length'];if(_0x881470<_0xcda983)break;if(_0x44e17<=_0xcda983&&(_0x44e17<_0xcda983||_0x24858a['covers'](-0x1))&&(_0x881470>_0xcda983||_0x24858a['covers'](0x1))&&(!_0x89d024||_0x24858a instanceof _0x42f1e8&&!(_0x89d024 instanceof _0x42f1e8&&_0x54f702>=0x0)))_0x89d024=_0x24858a,_0xd3aa72=_0x44e17;else{if(_0x89d024&&_0x44e17==_0xcda983&&_0x881470==_0xcda983&&_0x24858a instanceof BlockWidgetView&&Math['abs'](_0x54f702)<0x2){if(_0x24858a['deco']['startSide']<0x0)break;_0x105cda&&(_0x89d024=null);}}_0x162d22=_0x44e17;}return _0x89d024?_0x89d024['coordsAt'](_0xcda983-_0xd3aa72,_0x54f702):null;}['coordsForChar'](_0x5b2f6d){let {i:_0x5e7e5f,off:_0x420fb3}=this['childPos'](_0x5b2f6d,0x1),_0x40dadf=this['children'][_0x5e7e5f];if(!(_0x40dadf instanceof _0x42f1e8))return null;for(;_0x40dadf['children']['length'];){let {i:_0x3c98a8,off:_0x1ae9ce}=_0x40dadf['childPos'](_0x420fb3,0x1);for(;;_0x3c98a8++){if(_0x3c98a8==_0x40dadf['children']['length'])return null;if((_0x40dadf=_0x40dadf['children'][_0x3c98a8])['length'])break;}_0x420fb3=_0x1ae9ce;}if(!(_0x40dadf instanceof TextView))return null;let _0x9b3d9c=_0x125880(_0x40dadf['text'],_0x420fb3);if(_0x9b3d9c==_0x420fb3)return null;let _0x22cea1=_0x10c31d(_0x40dadf['dom'],_0x420fb3,_0x9b3d9c)['getClientRects']();for(let _0xf7935c=0x0;_0xf7935c<_0x22cea1['length'];_0xf7935c++){let _0x5d9e3d=_0x22cea1[_0xf7935c];if(_0xf7935c==_0x22cea1['length']-0x1||_0x5d9e3d['top']<_0x5d9e3d['bottom']&&_0x5d9e3d['left']<_0x5d9e3d['right'])return _0x5d9e3d;}return null;}['measureVisibleLineHeights'](_0xc8febb){let _0x116a41=[],{from:_0x561616,to:_0x437817}=_0xc8febb,_0x250b90=this['view']['contentDOM']['clientWidth'],_0x37e6ff=_0x250b90>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x1b40ed=-0x1,_0x548ef1=this['view']['textDirection']==_0x5d0416['LTR'];for(let _0x2b70bb=0x0,_0x1b3352=0x0;_0x1b3352<this['children']['length'];_0x1b3352++){let _0x4c6b37=this['children'][_0x1b3352],_0x4a78e8=_0x2b70bb+_0x4c6b37['length'];if(_0x4a78e8>_0x437817)break;if(_0x2b70bb>=_0x561616){let _0x86f58c=_0x4c6b37['dom']['getBoundingClientRect']();if(_0x116a41['push'](_0x86f58c['height']),_0x37e6ff){let _0x563da4=_0x4c6b37['dom']['lastChild'],_0x5a0a46=_0x563da4?_0x2da0f2(_0x563da4):[];if(_0x5a0a46['length']){let _0x2b3e02=_0x5a0a46[_0x5a0a46['length']-0x1],_0x3ed21d=_0x548ef1?_0x2b3e02['right']-_0x86f58c['left']:_0x86f58c['right']-_0x2b3e02['left'];_0x3ed21d>_0x1b40ed&&(_0x1b40ed=_0x3ed21d,this['minWidth']=_0x250b90,this['minWidthFrom']=_0x2b70bb,this['minWidthTo']=_0x4a78e8);}}}_0x2b70bb=_0x4a78e8+_0x4c6b37['breakAfter'];}return _0x116a41;}['textDirectionAt'](_0x23ff26){let {i:_0x2f6db8}=this['childPos'](_0x23ff26,0x1);return'rtl'==getComputedStyle(this['children'][_0x2f6db8]['dom'])['direction']?_0x5d0416['RTL']:_0x5d0416['LTR'];}['measureTextSize'](){for(let _0x19f02e of this['children'])if(_0x19f02e instanceof _0x42f1e8){let _0x27e53e=_0x19f02e['measureTextSize']();if(_0x27e53e)return _0x27e53e;}let _0x158ebd,_0x4860dc,_0x20d761,_0x1e4ac2=document['createElement']('div');return _0x1e4ac2['className']='cm-line',_0x1e4ac2['style']['width']='99999px',_0x1e4ac2['style']['position']='absolute',_0x1e4ac2['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x1e4ac2);let _0x3f4e6d=_0x2da0f2(_0x1e4ac2['firstChild'])[0x0];_0x158ebd=_0x1e4ac2['getBoundingClientRect']()['height'],_0x4860dc=_0x3f4e6d?_0x3f4e6d['width']/0x1b:0x7,_0x20d761=_0x3f4e6d?_0x3f4e6d['height']:_0x158ebd,_0x1e4ac2['remove']();}),{'lineHeight':_0x158ebd,'charWidth':_0x4860dc,'textHeight':_0x20d761};}['childCursor'](_0x179c5e=this['length']){let _0x408386=this['children']['length'];return _0x408386&&(_0x179c5e-=this['children'][--_0x408386]['length']),new _0xe1ab9e(this['children'],_0x179c5e,_0x408386);}['computeBlockGapDeco'](){let _0x450976=[],_0x132863=this['view']['viewState'];for(let _0x56631f=0x0,_0x15d3ef=0x0;;_0x15d3ef++){let _0x9571e3=_0x15d3ef==_0x132863['viewports']['length']?null:_0x132863['viewports'][_0x15d3ef],_0x209477=_0x9571e3?_0x9571e3['from']-0x1:this['length'];if(_0x209477>_0x56631f){let _0x3f396f=(_0x132863['lineBlockAt'](_0x209477)['bottom']-_0x132863['lineBlockAt'](_0x56631f)['top'])/this['view']['scaleY'];_0x450976['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x3f396f),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x56631f,_0x209477));}if(!_0x9571e3)break;_0x56631f=_0x9571e3['to']+0x1;}return Decoration['set'](_0x450976);}['updateDeco'](){let _0x3d48c1=0x1,_0x5dcc9d=this['view']['state']['facet'](_0x3f2eb0)['map'](_0x39f669=>(this['dynamicDecorationMap'][_0x3d48c1++]='function'==typeof _0x39f669)?_0x39f669(this['view']):_0x39f669),_0x2aa384=!0x1,_0x11cf91=this['view']['state']['facet'](_0x5489e1)['map']((_0xd84070,_0x46faf5)=>{let _0x5f1cf2='function'==typeof _0xd84070;return _0x5f1cf2&&(_0x2aa384=!0x0),_0x5f1cf2?_0xd84070(this['view']):_0xd84070;});for(_0x11cf91['length']&&(this['dynamicDecorationMap'][_0x3d48c1++]=_0x2aa384,_0x5dcc9d['push'](RangeSet['join'](_0x11cf91))),this['decorations']=[this['editContextFormatting'],..._0x5dcc9d,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x3d48c1<this['decorations']['length'];)this['dynamicDecorationMap'][_0x3d48c1++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x5d77e6){if(_0x5d77e6['isSnapshot']){let _0x164704=this['view']['viewState']['lineBlockAt'](_0x5d77e6['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x164704['top']-_0x5d77e6['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x5d77e6['xMargin']);}for(let _0x349c80 of this['view']['state']['facet'](tb))try{if(_0x349c80(this['view'],_0x5d77e6['range'],_0x5d77e6))return!0x0;}catch(_0x2b3e0d){_0x23aa16(this['view']['state'],_0x2b3e0d,'scroll\x20handler');}let _0x4fed10,{range:_0x275bb3}=_0x5d77e6,_0x31f4ed=this['coordsAt'](_0x275bb3['head'],_0x275bb3['empty']?_0x275bb3['assoc']:_0x275bb3['head']>_0x275bb3['anchor']?-0x1:0x1);if(!_0x31f4ed)return;!_0x275bb3['empty']&&(_0x4fed10=this['coordsAt'](_0x275bb3['anchor'],_0x275bb3['anchor']>_0x275bb3['head']?-0x1:0x1))&&(_0x31f4ed={'left':Math['min'](_0x31f4ed['left'],_0x4fed10['left']),'top':Math['min'](_0x31f4ed['top'],_0x4fed10['top']),'right':Math['max'](_0x31f4ed['right'],_0x4fed10['right']),'bottom':Math['max'](_0x31f4ed['bottom'],_0x4fed10['bottom'])});let _0x4b2003=_0xb577b1(this['view']),_0x35626c={'left':_0x31f4ed['left']-_0x4b2003['left'],'top':_0x31f4ed['top']-_0x4b2003['top'],'right':_0x31f4ed['right']+_0x4b2003['right'],'bottom':_0x31f4ed['bottom']+_0x4b2003['bottom']},{offsetWidth:_0x23e558,offsetHeight:_0x3b966c}=this['view']['scrollDOM'];!function(_0x5cb032,_0xe66bf3,_0x4b43fc,_0x54ee96,_0x26dab8,_0x504c06,_0xf6fe36,_0x14b5da){let _0x7ff2da=_0x5cb032['ownerDocument'],_0x5c4b25=_0x7ff2da['defaultView']||window;for(let _0x52a86e=_0x5cb032,_0xebae42=!0x1;_0x52a86e&&!_0xebae42;)if(0x1==_0x52a86e['nodeType']){let _0x516176,_0x4fbd26=_0x52a86e==_0x7ff2da['body'],_0x2ac2fa=0x1,_0x2d56ba=0x1;if(_0x4fbd26)_0x516176=_0x14ef0e(_0x5c4b25);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x52a86e)['position'])&&(_0xebae42=!0x0),_0x52a86e['scrollHeight']<=_0x52a86e['clientHeight']&&_0x52a86e['scrollWidth']<=_0x52a86e['clientWidth']){_0x52a86e=_0x52a86e['assignedSlot']||_0x52a86e['parentNode'];continue;}let _0x219a04=_0x52a86e['getBoundingClientRect']();({scaleX:_0x2ac2fa,scaleY:_0x2d56ba}=_0xca6a80(_0x52a86e,_0x219a04),_0x516176={'left':_0x219a04['left'],'right':_0x219a04['left']+_0x52a86e['clientWidth']*_0x2ac2fa,'top':_0x219a04['top'],'bottom':_0x219a04['top']+_0x52a86e['clientHeight']*_0x2d56ba});}let _0x27263c=0x0,_0x4e657f=0x0;if('nearest'==_0x26dab8)_0xe66bf3['top']<_0x516176['top']?(_0x4e657f=_0xe66bf3['top']-(_0x516176['top']+_0xf6fe36),_0x4b43fc>0x0&&_0xe66bf3['bottom']>_0x516176['bottom']+_0x4e657f&&(_0x4e657f=_0xe66bf3['bottom']-_0x516176['bottom']+_0xf6fe36)):_0xe66bf3['bottom']>_0x516176['bottom']&&(_0x4e657f=_0xe66bf3['bottom']-_0x516176['bottom']+_0xf6fe36,_0x4b43fc<0x0&&_0xe66bf3['top']-_0x4e657f<_0x516176['top']&&(_0x4e657f=_0xe66bf3['top']-(_0x516176['top']+_0xf6fe36)));else{let _0x2b2814=_0xe66bf3['bottom']-_0xe66bf3['top'],_0x4d377f=_0x516176['bottom']-_0x516176['top'];_0x4e657f=('center'==_0x26dab8&&_0x2b2814<=_0x4d377f?_0xe66bf3['top']+_0x2b2814/0x2-_0x4d377f/0x2:'start'==_0x26dab8||'center'==_0x26dab8&&_0x4b43fc<0x0?_0xe66bf3['top']-_0xf6fe36:_0xe66bf3['bottom']-_0x4d377f+_0xf6fe36)-_0x516176['top'];}if('nearest'==_0x54ee96?_0xe66bf3['left']<_0x516176['left']?(_0x27263c=_0xe66bf3['left']-(_0x516176['left']+_0x504c06),_0x4b43fc>0x0&&_0xe66bf3['right']>_0x516176['right']+_0x27263c&&(_0x27263c=_0xe66bf3['right']-_0x516176['right']+_0x504c06)):_0xe66bf3['right']>_0x516176['right']&&(_0x27263c=_0xe66bf3['right']-_0x516176['right']+_0x504c06,_0x4b43fc<0x0&&_0xe66bf3['left']<_0x516176['left']+_0x27263c&&(_0x27263c=_0xe66bf3['left']-(_0x516176['left']+_0x504c06))):_0x27263c=('center'==_0x54ee96?_0xe66bf3['left']+(_0xe66bf3['right']-_0xe66bf3['left'])/0x2-(_0x516176['right']-_0x516176['left'])/0x2:'start'==_0x54ee96==_0x14b5da?_0xe66bf3['left']-_0x504c06:_0xe66bf3['right']-(_0x516176['right']-_0x516176['left'])+_0x504c06)-_0x516176['left'],_0x27263c||_0x4e657f){if(_0x4fbd26)_0x5c4b25['scrollBy'](_0x27263c,_0x4e657f);else{let _0x1cfc7d=0x0,_0x249046=0x0;if(_0x4e657f){let _0x4b7651=_0x52a86e['scrollTop'];_0x52a86e['scrollTop']+=_0x4e657f/_0x2d56ba,_0x249046=(_0x52a86e['scrollTop']-_0x4b7651)*_0x2d56ba;}if(_0x27263c){let _0x3f3d5c=_0x52a86e['scrollLeft'];_0x52a86e['scrollLeft']+=_0x27263c/_0x2ac2fa,_0x1cfc7d=(_0x52a86e['scrollLeft']-_0x3f3d5c)*_0x2ac2fa;}_0xe66bf3={'left':_0xe66bf3['left']-_0x1cfc7d,'top':_0xe66bf3['top']-_0x249046,'right':_0xe66bf3['right']-_0x1cfc7d,'bottom':_0xe66bf3['bottom']-_0x249046},_0x1cfc7d&&Math['abs'](_0x1cfc7d-_0x27263c)<0x1&&(_0x54ee96='nearest'),_0x249046&&Math['abs'](_0x249046-_0x4e657f)<0x1&&(_0x26dab8='nearest');}}if(_0x4fbd26)break;(_0xe66bf3['top']<_0x516176['top']||_0xe66bf3['bottom']>_0x516176['bottom']||_0xe66bf3['left']<_0x516176['left']||_0xe66bf3['right']>_0x516176['right'])&&(_0xe66bf3={'left':Math['max'](_0xe66bf3['left'],_0x516176['left']),'right':Math['min'](_0xe66bf3['right'],_0x516176['right']),'top':Math['max'](_0xe66bf3['top'],_0x516176['top']),'bottom':Math['min'](_0xe66bf3['bottom'],_0x516176['bottom'])}),_0x52a86e=_0x52a86e['assignedSlot']||_0x52a86e['parentNode'];}else{if(0xb!=_0x52a86e['nodeType'])break;_0x52a86e=_0x52a86e['host'];}}(this['view']['scrollDOM'],_0x35626c,_0x275bb3['head']<_0x275bb3['anchor']?-0x1:0x1,_0x5d77e6['x'],_0x5d77e6['y'],Math['max'](Math['min'](_0x5d77e6['xMargin'],_0x23e558),-_0x23e558),Math['max'](Math['min'](_0x5d77e6['yMargin'],_0x3b966c),-_0x3b966c),this['view']['textDirection']==_0x5d0416['LTR']);}}function _0x122287(_0x59d410,_0x51db49){let _0x4653b4=_0x59d410['observer']['selectionRange'];if(!_0x4653b4['focusNode'])return null;let _0x5b437f=_0x1fbae0(_0x4653b4['focusNode'],_0x4653b4['focusOffset']),_0x23262f=_0x2bc271(_0x4653b4['focusNode'],_0x4653b4['focusOffset']),_0xc475f2=_0x5b437f||_0x23262f;if(_0x23262f&&_0x5b437f&&_0x23262f['node']!=_0x5b437f['node']){let _0x2cc21d=ContentView['get'](_0x23262f['node']);if(!_0x2cc21d||_0x2cc21d instanceof TextView&&_0x2cc21d['text']!=_0x23262f['node']['nodeValue'])_0xc475f2=_0x23262f;else{if(_0x59d410['docView']['lastCompositionAfterCursor']){let _0x2d8b52=ContentView['get'](_0x5b437f['node']);!_0x2d8b52||_0x2d8b52 instanceof TextView&&_0x2d8b52['text']!=_0x5b437f['node']['nodeValue']||(_0xc475f2=_0x23262f);}}}if(_0x59d410['docView']['lastCompositionAfterCursor']=_0xc475f2!=_0x5b437f,!_0xc475f2)return null;let _0xcca07e=_0x51db49-_0xc475f2['offset'];return{'from':_0xcca07e,'to':_0xcca07e+_0xc475f2['node']['nodeValue']['length'],'node':_0xc475f2['node']};}let _0x563e23=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x219ea9,_0x46c244){_0x40a066(_0x219ea9,_0x46c244,this['changes']);}['comparePoint'](_0x2b1e55,_0x4df5b3){_0x40a066(_0x2b1e55,_0x4df5b3,this['changes']);}['boundChange'](_0x528258){_0x40a066(_0x528258,_0x528258,this['changes']);}};function _0x15a875(_0x3689a2,_0x5a75bd){return _0x5a75bd['left']>_0x3689a2?_0x5a75bd['left']-_0x3689a2:Math['max'](0x0,_0x3689a2-_0x5a75bd['right']);}function _0x10d3fb(_0x52565b,_0x5a431c){return _0x5a431c['top']>_0x52565b?_0x5a431c['top']-_0x52565b:Math['max'](0x0,_0x52565b-_0x5a431c['bottom']);}function _0x121665(_0xdf7b38,_0x52e956){return _0xdf7b38['top']<_0x52e956['bottom']-0x1&&_0xdf7b38['bottom']>_0x52e956['top']+0x1;}function _0x6b5c3d(_0x39d58b,_0x3c6ede){return _0x3c6ede<_0x39d58b['top']?{'top':_0x3c6ede,'left':_0x39d58b['left'],'right':_0x39d58b['right'],'bottom':_0x39d58b['bottom']}:_0x39d58b;}function _0x11bae0(_0x143f33,_0x43aada){return _0x43aada>_0x143f33['bottom']?{'top':_0x143f33['top'],'left':_0x143f33['left'],'right':_0x143f33['right'],'bottom':_0x43aada}:_0x143f33;}function _0x283c2f(_0x11731e,_0x1f964b,_0x206de9){let _0x523df3,_0x18009f,_0xf1a628,_0x6383dc,_0x5a0f0b,_0x36d6fd,_0x19abc1,_0xe6f2a8,_0x3e266b=!0x1;for(let _0x48932d=_0x11731e['firstChild'];_0x48932d;_0x48932d=_0x48932d['nextSibling']){let _0x5e49e8=_0x2da0f2(_0x48932d);for(let _0x5020db=0x0;_0x5020db<_0x5e49e8['length'];_0x5020db++){let _0x17e473=_0x5e49e8[_0x5020db];_0x18009f&&_0x121665(_0x18009f,_0x17e473)&&(_0x17e473=_0x6b5c3d(_0x11bae0(_0x17e473,_0x18009f['bottom']),_0x18009f['top']));let _0x26b201=_0x15a875(_0x1f964b,_0x17e473),_0x48371f=_0x10d3fb(_0x206de9,_0x17e473);if(0x0==_0x26b201&&0x0==_0x48371f)return 0x3==_0x48932d['nodeType']?_0x450092(_0x48932d,_0x1f964b,_0x206de9):_0x283c2f(_0x48932d,_0x1f964b,_0x206de9);(!_0x523df3||_0x6383dc>_0x48371f||_0x6383dc==_0x48371f&&_0xf1a628>_0x26b201)&&(_0x523df3=_0x48932d,_0x18009f=_0x17e473,_0xf1a628=_0x26b201,_0x6383dc=_0x48371f,_0x3e266b=!_0x26b201||(_0x1f964b<_0x17e473['left']?_0x5020db>0x0:_0x5020db<_0x5e49e8['length']-0x1)),0x0==_0x26b201?_0x206de9>_0x17e473['bottom']&&(!_0x19abc1||_0x19abc1['bottom']<_0x17e473['bottom'])?(_0x5a0f0b=_0x48932d,_0x19abc1=_0x17e473):_0x206de9<_0x17e473['top']&&(!_0xe6f2a8||_0xe6f2a8['top']>_0x17e473['top'])&&(_0x36d6fd=_0x48932d,_0xe6f2a8=_0x17e473):_0x19abc1&&_0x121665(_0x19abc1,_0x17e473)?_0x19abc1=_0x11bae0(_0x19abc1,_0x17e473['bottom']):_0xe6f2a8&&_0x121665(_0xe6f2a8,_0x17e473)&&(_0xe6f2a8=_0x6b5c3d(_0xe6f2a8,_0x17e473['top']));}}if(_0x19abc1&&_0x19abc1['bottom']>=_0x206de9?(_0x523df3=_0x5a0f0b,_0x18009f=_0x19abc1):_0xe6f2a8&&_0xe6f2a8['top']<=_0x206de9&&(_0x523df3=_0x36d6fd,_0x18009f=_0xe6f2a8),!_0x523df3)return{'node':_0x11731e,'offset':0x0};let _0x5eaf6f=Math['max'](_0x18009f['left'],Math['min'](_0x18009f['right'],_0x1f964b));return 0x3==_0x523df3['nodeType']?_0x450092(_0x523df3,_0x5eaf6f,_0x206de9):_0x3e266b&&'false'!=_0x523df3['contentEditable']?_0x283c2f(_0x523df3,_0x5eaf6f,_0x206de9):{'node':_0x11731e,'offset':Array['prototype']['indexOf']['call'](_0x11731e['childNodes'],_0x523df3)+(_0x1f964b>=(_0x18009f['left']+_0x18009f['right'])/0x2?0x1:0x0)};}function _0x450092(_0x220fcb,_0x3bb372,_0x248740){let _0x2c5d2c=_0x220fcb['nodeValue']['length'],_0x58834f=-0x1,_0x3714e0=0x3b9aca00,_0x2da646=0x0;for(let _0x3ebe7f=0x0;_0x3ebe7f<_0x2c5d2c;_0x3ebe7f++){let _0x26f55c=_0x10c31d(_0x220fcb,_0x3ebe7f,_0x3ebe7f+0x1)['getClientRects']();for(let _0x50bebc=0x0;_0x50bebc<_0x26f55c['length'];_0x50bebc++){let _0x1f8c30=_0x26f55c[_0x50bebc];if(_0x1f8c30['top']==_0x1f8c30['bottom'])continue;_0x2da646||(_0x2da646=_0x3bb372-_0x1f8c30['left']);let _0x4423f8=(_0x1f8c30['top']>_0x248740?_0x1f8c30['top']-_0x248740:_0x248740-_0x1f8c30['bottom'])-0x1;if(_0x1f8c30['left']-0x1<=_0x3bb372&&_0x1f8c30['right']+0x1>=_0x3bb372&&_0x4423f8<_0x3714e0){let _0x442547=_0x3bb372>=(_0x1f8c30['left']+_0x1f8c30['right'])/0x2,_0x1ed02c=_0x442547;(_0x4e5613['chrome']||_0x4e5613['gecko'])&&(_0x10c31d(_0x220fcb,_0x3ebe7f)['getBoundingClientRect']()['left']==_0x1f8c30['right']&&(_0x1ed02c=!_0x442547));if(_0x4423f8<=0x0)return{'node':_0x220fcb,'offset':_0x3ebe7f+(_0x1ed02c?0x1:0x0)};_0x58834f=_0x3ebe7f+(_0x1ed02c?0x1:0x0),_0x3714e0=_0x4423f8;}}}return{'node':_0x220fcb,'offset':_0x58834f>-0x1?_0x58834f:_0x2da646>0x0?_0x220fcb['nodeValue']['length']:0x0};}function _0x4cb4b6(_0x81ad45,_0x54491d,_0x147796,_0x5ab0c6=-0x1){var _0x55afe5,_0x20d5b4;let _0x51e344,_0x21e241=_0x81ad45['contentDOM']['getBoundingClientRect'](),_0x202f92=_0x21e241['top']+_0x81ad45['viewState']['paddingTop'],{docHeight:_0x1dde63}=_0x81ad45['viewState'],{x:_0x37b6b8,y:_0x49c76b}=_0x54491d,_0x47a6cf=_0x49c76b-_0x202f92;if(_0x47a6cf<0x0)return 0x0;if(_0x47a6cf>_0x1dde63)return _0x81ad45['state']['doc']['length'];for(let _0x24a021=_0x81ad45['viewState']['heightOracle']['textHeight']/0x2,_0x2372c4=!0x1;_0x51e344=_0x81ad45['elementAtHeight'](_0x47a6cf),_0x51e344['type']!=_0x5ed1bf['Text'];)for(;_0x47a6cf=_0x5ab0c6>0x0?_0x51e344['bottom']+_0x24a021:_0x51e344['top']-_0x24a021,!(_0x47a6cf>=0x0&&_0x47a6cf<=_0x1dde63);){if(_0x2372c4)return _0x147796?null:0x0;_0x2372c4=!0x0,_0x5ab0c6=-_0x5ab0c6;}_0x49c76b=_0x202f92+_0x47a6cf;let _0x2368d5=_0x51e344['from'];if(_0x2368d5<_0x81ad45['viewport']['from'])return 0x0==_0x81ad45['viewport']['from']?0x0:_0x147796?null:_0x5c2108(_0x81ad45,_0x21e241,_0x51e344,_0x37b6b8,_0x49c76b);if(_0x2368d5>_0x81ad45['viewport']['to'])return _0x81ad45['viewport']['to']==_0x81ad45['state']['doc']['length']?_0x81ad45['state']['doc']['length']:_0x147796?null:_0x5c2108(_0x81ad45,_0x21e241,_0x51e344,_0x37b6b8,_0x49c76b);let _0x343357=_0x81ad45['dom']['ownerDocument'],_0x47463f=_0x81ad45['root']['elementFromPoint']?_0x81ad45['root']:_0x343357,_0x1ec61f=_0x47463f['elementFromPoint'](_0x37b6b8,_0x49c76b);_0x1ec61f&&!_0x81ad45['contentDOM']['contains'](_0x1ec61f)&&(_0x1ec61f=null),_0x1ec61f||(_0x37b6b8=Math['max'](_0x21e241['left']+0x1,Math['min'](_0x21e241['right']-0x1,_0x37b6b8)),_0x1ec61f=_0x47463f['elementFromPoint'](_0x37b6b8,_0x49c76b),_0x1ec61f&&!_0x81ad45['contentDOM']['contains'](_0x1ec61f)&&(_0x1ec61f=null));let _0x5ed2b2,_0x5a28c2=-0x1;if(_0x1ec61f&&0x0!=(null===(_0x55afe5=_0x81ad45['docView']['nearest'](_0x1ec61f))||void 0x0===_0x55afe5?void 0x0:_0x55afe5['isEditable'])){if(_0x343357['caretPositionFromPoint']){let _0x11750c=_0x343357['caretPositionFromPoint'](_0x37b6b8,_0x49c76b);_0x11750c&&({offsetNode:_0x5ed2b2,offset:_0x5a28c2}=_0x11750c);}else{if(_0x343357['caretRangeFromPoint']){let _0x53bf55=_0x343357['caretRangeFromPoint'](_0x37b6b8,_0x49c76b);_0x53bf55&&({startContainer:_0x5ed2b2,startOffset:_0x5a28c2}=_0x53bf55);}}_0x5ed2b2&&(!_0x81ad45['contentDOM']['contains'](_0x5ed2b2)||_0x4e5613['safari']&&function(_0x43f9ff,_0x49b341,_0x160e59){return _0x58b592(_0x43f9ff,_0x49b341,_0x160e59);}(_0x5ed2b2,_0x5a28c2,_0x37b6b8)||_0x4e5613['chrome']&&function(_0x1b1120,_0xa7e78e,_0x43e508){if(0x0!=_0xa7e78e)return _0x58b592(_0x1b1120,_0xa7e78e,_0x43e508);for(let _0x134820=_0x1b1120;;){let _0x27b943=_0x134820['parentNode'];if(!_0x27b943||0x1!=_0x27b943['nodeType']||_0x27b943['firstChild']!=_0x134820)return!0x1;if(_0x27b943['classList']['contains']('cm-line'))break;_0x134820=_0x27b943;}let _0x2b9a58=0x1==_0x1b1120['nodeType']?_0x1b1120['getBoundingClientRect']():_0x10c31d(_0x1b1120,0x0,Math['max'](_0x1b1120['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x43e508-_0x2b9a58['left']>0x5;}(_0x5ed2b2,_0x5a28c2,_0x37b6b8))&&(_0x5ed2b2=void 0x0),_0x5ed2b2&&(_0x5a28c2=Math['min'](_0x337c2c(_0x5ed2b2),_0x5a28c2));}if(!_0x5ed2b2||!_0x81ad45['docView']['dom']['contains'](_0x5ed2b2)){let _0x1ff8e4=_0x42f1e8['find'](_0x81ad45['docView'],_0x2368d5);if(!_0x1ff8e4)return _0x47a6cf>_0x51e344['top']+_0x51e344['height']/0x2?_0x51e344['to']:_0x51e344['from'];({node:_0x5ed2b2,offset:_0x5a28c2}=_0x283c2f(_0x1ff8e4['dom'],_0x37b6b8,_0x49c76b));}let _0x545873=_0x81ad45['docView']['nearest'](_0x5ed2b2);if(!_0x545873)return null;if(_0x545873['isWidget']&&0x1==(null===(_0x20d5b4=_0x545873['dom'])||void 0x0===_0x20d5b4?void 0x0:_0x20d5b4['nodeType'])){let _0x2fe489=_0x545873['dom']['getBoundingClientRect']();return _0x54491d['y']<_0x2fe489['top']||_0x54491d['y']<=_0x2fe489['bottom']&&_0x54491d['x']<=(_0x2fe489['left']+_0x2fe489['right'])/0x2?_0x545873['posAtStart']:_0x545873['posAtEnd'];}return _0x545873['localPosFromDOM'](_0x5ed2b2,_0x5a28c2)+_0x545873['posAtStart'];}function _0x5c2108(_0x1e6d0d,_0x5ab5aa,_0x4625d4,_0x3faff7,_0x8b5199){let _0x2ee7c0=Math['round']((_0x3faff7-_0x5ab5aa['left'])*_0x1e6d0d['defaultCharacterWidth']);if(_0x1e6d0d['lineWrapping']&&_0x4625d4['height']>1.5*_0x1e6d0d['defaultLineHeight']){let _0x560101=_0x1e6d0d['viewState']['heightOracle']['textHeight'];_0x2ee7c0+=Math['floor']((_0x8b5199-_0x4625d4['top']-0.5*(_0x1e6d0d['defaultLineHeight']-_0x560101))/_0x560101)*_0x1e6d0d['viewState']['heightOracle']['lineLength'];}let _0x5748cc=_0x1e6d0d['state']['sliceDoc'](_0x4625d4['from'],_0x4625d4['to']);return _0x4625d4['from']+_0xace7c7(_0x5748cc,_0x2ee7c0,_0x1e6d0d['state']['tabSize']);}function _0x58b592(_0x1dd432,_0x3a322b,_0x19d4cd){let _0x2abbcc,_0x4b4ce2=_0x1dd432;if(0x3!=_0x1dd432['nodeType']||_0x3a322b!=(_0x2abbcc=_0x1dd432['nodeValue']['length']))return!0x1;for(;;){let _0x3dd54f=_0x4b4ce2['nextSibling'];if(_0x3dd54f){if('BR'==_0x3dd54f['nodeName'])break;return!0x1;}{let _0x44863b=_0x4b4ce2['parentNode'];if(!_0x44863b||'DIV'==_0x44863b['nodeName'])break;_0x4b4ce2=_0x44863b;}}return _0x10c31d(_0x1dd432,_0x2abbcc-0x1,_0x2abbcc)['getBoundingClientRect']()['right']>_0x19d4cd;}function _0x5627e7(_0x12eb03,_0x450fa8,_0x40dfd0){let _0x4b608f=_0x12eb03['lineBlockAt'](_0x450fa8);if(Array['isArray'](_0x4b608f['type'])){let _0x310504;for(let _0x64d5e4 of _0x4b608f['type']){if(_0x64d5e4['from']>_0x450fa8)break;if(!(_0x64d5e4['to']<_0x450fa8)){if(_0x64d5e4['from']<_0x450fa8&&_0x64d5e4['to']>_0x450fa8)return _0x64d5e4;_0x310504&&(_0x64d5e4['type']!=_0x5ed1bf['Text']||_0x310504['type']==_0x64d5e4['type']&&!(_0x40dfd0<0x0?_0x64d5e4['from']<_0x450fa8:_0x64d5e4['to']>_0x450fa8))||(_0x310504=_0x64d5e4);}}return _0x310504||_0x4b608f;}return _0x4b608f;}function _0x519696(_0x38b376,_0x483408,_0x293e1f,_0x5edc98){let _0x2aaabf=_0x38b376['state']['doc']['lineAt'](_0x483408['head']),_0x7aef03=_0x38b376['bidiSpans'](_0x2aaabf),_0x46a170=_0x38b376['textDirectionAt'](_0x2aaabf['from']);for(let _0x446ad0=_0x483408,_0x49c9ea=null;;){let _0x10d2fb=_0x424f46(_0x2aaabf,_0x7aef03,_0x46a170,_0x446ad0,_0x293e1f),_0x233bd4=_0x224ba2;if(!_0x10d2fb){if(_0x2aaabf['number']==(_0x293e1f?_0x38b376['state']['doc']['lines']:0x1))return _0x446ad0;_0x233bd4='\x0a',_0x2aaabf=_0x38b376['state']['doc']['line'](_0x2aaabf['number']+(_0x293e1f?0x1:-0x1)),_0x7aef03=_0x38b376['bidiSpans'](_0x2aaabf),_0x10d2fb=_0x38b376['visualLineSide'](_0x2aaabf,!_0x293e1f);}if(_0x49c9ea){if(!_0x49c9ea(_0x233bd4))return _0x446ad0;}else{if(!_0x5edc98)return _0x10d2fb;_0x49c9ea=_0x5edc98(_0x233bd4);}_0x446ad0=_0x10d2fb;}}function _0x3d67a2(_0x3b5e40,_0x33f137,_0x26c732){for(;;){let _0xe3e761=0x0;for(let _0x158612 of _0x3b5e40)_0x158612['between'](_0x33f137-0x1,_0x33f137+0x1,(_0xf48d64,_0x5a44b7,_0xd0a91)=>{if(_0x33f137>_0xf48d64&&_0x33f137<_0x5a44b7){let _0x17423d=_0xe3e761||_0x26c732||(_0x33f137-_0xf48d64<_0x5a44b7-_0x33f137?-0x1:0x1);_0x33f137=_0x17423d<0x0?_0xf48d64:_0x5a44b7,_0xe3e761=_0x17423d;}});if(!_0xe3e761)return _0x33f137;}}function _0xdbb494(_0x33fc43,_0x522831){let _0x1855d6=null;for(let _0xa749ae=0x0;_0xa749ae<_0x522831['ranges']['length'];_0xa749ae++){let _0x4954e5=_0x522831['ranges'][_0xa749ae],_0x30917f=null;if(_0x4954e5['empty']){let _0x36fb60=_0x3d67a2(_0x33fc43,_0x4954e5['from'],0x0);_0x36fb60!=_0x4954e5['from']&&(_0x30917f=EditorSelection['cursor'](_0x36fb60,-0x1));}else{let _0x5308fb=_0x3d67a2(_0x33fc43,_0x4954e5['from'],-0x1),_0x169b71=_0x3d67a2(_0x33fc43,_0x4954e5['to'],0x1);_0x5308fb==_0x4954e5['from']&&_0x169b71==_0x4954e5['to']||(_0x30917f=EditorSelection['range'](_0x4954e5['from']==_0x4954e5['anchor']?_0x5308fb:_0x169b71,_0x4954e5['from']==_0x4954e5['head']?_0x5308fb:_0x169b71));}_0x30917f&&(_0x1855d6||(_0x1855d6=_0x522831['ranges']['slice']()),_0x1855d6[_0xa749ae]=_0x30917f);}return _0x1855d6?EditorSelection['create'](_0x1855d6,_0x522831['mainIndex']):_0x522831;}function _0x5882dd(_0x3c4a7b,_0x259d25,_0x449d31){let _0x105f67=_0x3d67a2(_0x3c4a7b['state']['facet'](_0xa38285)['map'](_0x23cf2a=>_0x23cf2a(_0x3c4a7b)),_0x449d31['from'],_0x259d25['head']>_0x449d31['from']?-0x1:0x1);return _0x105f67==_0x449d31['from']?_0x449d31:EditorSelection['cursor'](_0x105f67,_0x105f67<_0x449d31['from']?0x1:-0x1);}const _0x50750b='';class _0x5bc118{constructor(_0x318448,_0x220677){this['points']=_0x318448,this['text']='',this['lineSeparator']=_0x220677['facet'](EditorState['lineSeparator']);}['append'](_0x3197b2){this['text']+=_0x3197b2;}['lineBreak'](){this['text']+=_0x50750b;}['readRange'](_0x4b0f7f,_0x5ce837){if(!_0x4b0f7f)return this;let _0x198d4f=_0x4b0f7f['parentNode'];for(let _0x4c744d=_0x4b0f7f;;){this['findPointBefore'](_0x198d4f,_0x4c744d);let _0x301f45=this['text']['length'];this['readNode'](_0x4c744d);let _0x41791b=_0x4c744d['nextSibling'];if(_0x41791b==_0x5ce837)break;let _0x568759=ContentView['get'](_0x4c744d),_0x5f3b82=ContentView['get'](_0x41791b);(_0x568759&&_0x5f3b82?_0x568759['breakAfter']:(_0x568759?_0x568759['breakAfter']:_0x481225(_0x4c744d))||_0x481225(_0x41791b)&&('BR'!=_0x4c744d['nodeName']||_0x4c744d['cmIgnore'])&&this['text']['length']>_0x301f45)&&!_0x1f762c(_0x41791b,_0x5ce837)&&this['lineBreak'](),_0x4c744d=_0x41791b;}return this['findPointBefore'](_0x198d4f,_0x5ce837),this;}['readTextNode'](_0x4ab977){let _0x4a1dc5=_0x4ab977['nodeValue'];for(let _0x15e772 of this['points'])_0x15e772['node']==_0x4ab977&&(_0x15e772['pos']=this['text']['length']+Math['min'](_0x15e772['offset'],_0x4a1dc5['length']));for(let _0x1f4728=0x0,_0x554306=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x26cbd1,_0x2fa248=-0x1,_0x1982c2=0x1;if(this['lineSeparator']?(_0x2fa248=_0x4a1dc5['indexOf'](this['lineSeparator'],_0x1f4728),_0x1982c2=this['lineSeparator']['length']):(_0x26cbd1=_0x554306['exec'](_0x4a1dc5))&&(_0x2fa248=_0x26cbd1['index'],_0x1982c2=_0x26cbd1[0x0]['length']),this['append'](_0x4a1dc5['slice'](_0x1f4728,_0x2fa248<0x0?_0x4a1dc5['length']:_0x2fa248)),_0x2fa248<0x0)break;if(this['lineBreak'](),_0x1982c2>0x1){for(let _0x2ddcf4 of this['points'])_0x2ddcf4['node']==_0x4ab977&&_0x2ddcf4['pos']>this['text']['length']&&(_0x2ddcf4['pos']-=_0x1982c2-0x1);}_0x1f4728=_0x2fa248+_0x1982c2;}}['readNode'](_0x1a58bd){if(_0x1a58bd['cmIgnore'])return;let _0x8751ca=ContentView['get'](_0x1a58bd),_0x17fbd7=_0x8751ca&&_0x8751ca['overrideDOMText'];if(null!=_0x17fbd7){this['findPointInside'](_0x1a58bd,_0x17fbd7['length']);for(let _0x481717=_0x17fbd7['iter']();!_0x481717['next']()['done'];)_0x481717['lineBreak']?this['lineBreak']():this['append'](_0x481717['value']);}else 0x3==_0x1a58bd['nodeType']?this['readTextNode'](_0x1a58bd):'BR'==_0x1a58bd['nodeName']?_0x1a58bd['nextSibling']&&this['lineBreak']():0x1==_0x1a58bd['nodeType']&&this['readRange'](_0x1a58bd['firstChild'],null);}['findPointBefore'](_0x24ec70,_0x16c5bc){for(let _0x4bc018 of this['points'])_0x4bc018['node']==_0x24ec70&&_0x24ec70['childNodes'][_0x4bc018['offset']]==_0x16c5bc&&(_0x4bc018['pos']=this['text']['length']);}['findPointInside'](_0x3ace91,_0x5eabe8){for(let _0x326525 of this['points'])(0x3==_0x3ace91['nodeType']?_0x326525['node']==_0x3ace91:_0x3ace91['contains'](_0x326525['node']))&&(_0x326525['pos']=this['text']['length']+(_0x2b2df5(_0x3ace91,_0x326525['node'],_0x326525['offset'])?_0x5eabe8:0x0));}}function _0x2b2df5(_0x5eee0a,_0x132460,_0x91c285){for(;;){if(!_0x132460||_0x91c285<_0x337c2c(_0x132460))return!0x1;if(_0x132460==_0x5eee0a)return!0x0;_0x91c285=_0x5e67d2(_0x132460)+0x1,_0x132460=_0x132460['parentNode'];}}function _0x1f762c(_0xcbbb4,_0x1687ad){let _0x1fe8ea;for(;_0xcbbb4!=_0x1687ad&&_0xcbbb4;_0xcbbb4=_0xcbbb4['nextSibling']){let _0x13aa0c=ContentView['get'](_0xcbbb4);if(!(null==_0x13aa0c?void 0x0:_0x13aa0c['isWidget'])&&!_0xcbbb4['cmIgnore'])return!0x1;_0x13aa0c&&(_0x1fe8ea||(_0x1fe8ea=[]))['push'](_0x13aa0c);}if(_0x1fe8ea)for(let _0x454d30 of _0x1fe8ea){let _0x593620=_0x454d30['overrideDOMText'];if(null==_0x593620?void 0x0:_0x593620['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0xbc0ee2,_0x3891e0){this['node']=_0xbc0ee2,this['offset']=_0x3891e0,this['pos']=-0x1;}}class _0x3dd46b{constructor(_0x44eae7,_0x45dcc3,_0x1e253f,_0x216079){this['typeOver']=_0x216079,this['bounds']=null,this['text']='',this['domChanged']=_0x45dcc3>-0x1;let {impreciseHead:_0x34bbfa,impreciseAnchor:_0x3c7beb}=_0x44eae7['docView'];if(_0x44eae7['state']['readOnly']&&_0x45dcc3>-0x1)this['newSel']=null;else{if(_0x45dcc3>-0x1&&(this['bounds']=_0x44eae7['docView']['domBoundsAround'](_0x45dcc3,_0x1e253f,0x0))){let _0x5a6254=_0x34bbfa||_0x3c7beb?[]:function(_0x19aebe){let _0x2da19d=[];if(_0x19aebe['root']['activeElement']!=_0x19aebe['contentDOM'])return _0x2da19d;let {anchorNode:_0x2d9eb3,anchorOffset:_0x4492b4,focusNode:_0x472e9f,focusOffset:_0x54e2e8}=_0x19aebe['observer']['selectionRange'];return _0x2d9eb3&&(_0x2da19d['push'](new DOMPoint(_0x2d9eb3,_0x4492b4)),_0x472e9f==_0x2d9eb3&&_0x54e2e8==_0x4492b4||_0x2da19d['push'](new DOMPoint(_0x472e9f,_0x54e2e8))),_0x2da19d;}(_0x44eae7),_0x10185=new _0x5bc118(_0x5a6254,_0x44eae7['state']);_0x10185['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x10185['text'],this['newSel']=function(_0x2ed59d,_0x4e910d){if(0x0==_0x2ed59d['length'])return null;let _0x414b54=_0x2ed59d[0x0]['pos'],_0x124edb=0x2==_0x2ed59d['length']?_0x2ed59d[0x1]['pos']:_0x414b54;return _0x414b54>-0x1&&_0x124edb>-0x1?EditorSelection['single'](_0x414b54+_0x4e910d,_0x124edb+_0x4e910d):null;}(_0x5a6254,this['bounds']['from']);}else{let _0xd1e1f3=_0x44eae7['observer']['selectionRange'],_0x1eb475=_0x34bbfa&&_0x34bbfa['node']==_0xd1e1f3['focusNode']&&_0x34bbfa['offset']==_0xd1e1f3['focusOffset']||!_0x5646ca(_0x44eae7['contentDOM'],_0xd1e1f3['focusNode'])?_0x44eae7['state']['selection']['main']['head']:_0x44eae7['docView']['posFromDOM'](_0xd1e1f3['focusNode'],_0xd1e1f3['focusOffset']),_0x8fbdcc=_0x3c7beb&&_0x3c7beb['node']==_0xd1e1f3['anchorNode']&&_0x3c7beb['offset']==_0xd1e1f3['anchorOffset']||!_0x5646ca(_0x44eae7['contentDOM'],_0xd1e1f3['anchorNode'])?_0x44eae7['state']['selection']['main']['anchor']:_0x44eae7['docView']['posFromDOM'](_0xd1e1f3['anchorNode'],_0xd1e1f3['anchorOffset']),_0x5f3b02=_0x44eae7['viewport'];if((_0x4e5613['ios']||_0x4e5613['chrome'])&&_0x44eae7['state']['selection']['main']['empty']&&_0x1eb475!=_0x8fbdcc&&(_0x5f3b02['from']>0x0||_0x5f3b02['to']<_0x44eae7['state']['doc']['length'])){let _0x2c9803=Math['min'](_0x1eb475,_0x8fbdcc),_0x4ca9ec=Math['max'](_0x1eb475,_0x8fbdcc),_0x4563c3=_0x5f3b02['from']-_0x2c9803,_0x27541f=_0x5f3b02['to']-_0x4ca9ec;0x0!=_0x4563c3&&0x1!=_0x4563c3&&0x0!=_0x2c9803||0x0!=_0x27541f&&-0x1!=_0x27541f&&_0x4ca9ec!=_0x44eae7['state']['doc']['length']||(_0x1eb475=0x0,_0x8fbdcc=_0x44eae7['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x8fbdcc,_0x1eb475);}}}}function _0x5d2c26(_0x20dd3a,_0x364c39){let _0x47ac9e,{newSel:_0x1a264f}=_0x364c39,_0x1b6f07=_0x20dd3a['state']['selection']['main'],_0x5ddc58=_0x20dd3a['inputState']['lastKeyTime']>Date['now']()-0x64?_0x20dd3a['inputState']['lastKeyCode']:-0x1;if(_0x364c39['bounds']){let {from:_0x4a7051,to:_0x171765}=_0x364c39['bounds'],_0x4f99c6=_0x1b6f07['from'],_0x5c7495=null;(0x8===_0x5ddc58||_0x4e5613['android']&&_0x364c39['text']['length']<_0x171765-_0x4a7051)&&(_0x4f99c6=_0x1b6f07['to'],_0x5c7495='end');let _0x4f0c45=_0x34eca4(_0x20dd3a['state']['doc']['sliceString'](_0x4a7051,_0x171765,_0x50750b),_0x364c39['text'],_0x4f99c6-_0x4a7051,_0x5c7495);_0x4f0c45&&(_0x4e5613['chrome']&&0xd==_0x5ddc58&&_0x4f0c45['toB']==_0x4f0c45['from']+0x2&&_0x364c39['text']['slice'](_0x4f0c45['from'],_0x4f0c45['toB'])==_0x50750b+_0x50750b&&_0x4f0c45['toB']--,_0x47ac9e={'from':_0x4a7051+_0x4f0c45['from'],'to':_0x4a7051+_0x4f0c45['toA'],'insert':_0x9ec70d['of'](_0x364c39['text']['slice'](_0x4f0c45['from'],_0x4f0c45['toB'])['split'](_0x50750b))});}else _0x1a264f&&(!_0x20dd3a['hasFocus']&&_0x20dd3a['state']['facet'](_0x344448)||_0x1a264f['main']['eq'](_0x1b6f07))&&(_0x1a264f=null);if(!_0x47ac9e&&!_0x1a264f)return!0x1;if(!_0x47ac9e&&_0x364c39['typeOver']&&!_0x1b6f07['empty']&&_0x1a264f&&_0x1a264f['main']['empty']?_0x47ac9e={'from':_0x1b6f07['from'],'to':_0x1b6f07['to'],'insert':_0x20dd3a['state']['doc']['slice'](_0x1b6f07['from'],_0x1b6f07['to'])}:(_0x4e5613['mac']||_0x4e5613['android'])&&_0x47ac9e&&_0x47ac9e['from']==_0x47ac9e['to']&&_0x47ac9e['from']==_0x1b6f07['head']-0x1&&/^\. ?$/['test'](_0x47ac9e['insert']['toString']())&&'off'==_0x20dd3a['contentDOM']['getAttribute']('autocorrect')?(_0x1a264f&&0x2==_0x47ac9e['insert']['length']&&(_0x1a264f=EditorSelection['single'](_0x1a264f['main']['anchor']-0x1,_0x1a264f['main']['head']-0x1)),_0x47ac9e={'from':_0x47ac9e['from'],'to':_0x47ac9e['to'],'insert':_0x9ec70d['of']([_0x47ac9e['insert']['toString']()['replace']('.','\x20')])}):_0x47ac9e&&_0x47ac9e['from']>=_0x1b6f07['from']&&_0x47ac9e['to']<=_0x1b6f07['to']&&(_0x47ac9e['from']!=_0x1b6f07['from']||_0x47ac9e['to']!=_0x1b6f07['to'])&&_0x1b6f07['to']-_0x1b6f07['from']-(_0x47ac9e['to']-_0x47ac9e['from'])<=0x4?_0x47ac9e={'from':_0x1b6f07['from'],'to':_0x1b6f07['to'],'insert':_0x20dd3a['state']['doc']['slice'](_0x1b6f07['from'],_0x47ac9e['from'])['append'](_0x47ac9e['insert'])['append'](_0x20dd3a['state']['doc']['slice'](_0x47ac9e['to'],_0x1b6f07['to']))}:_0x4e5613['chrome']&&_0x47ac9e&&_0x47ac9e['from']==_0x47ac9e['to']&&_0x47ac9e['from']==_0x1b6f07['head']&&'\x0a\x20'==_0x47ac9e['insert']['toString']()&&_0x20dd3a['lineWrapping']&&(_0x1a264f&&(_0x1a264f=EditorSelection['single'](_0x1a264f['main']['anchor']-0x1,_0x1a264f['main']['head']-0x1)),_0x47ac9e={'from':_0x1b6f07['from'],'to':_0x1b6f07['to'],'insert':_0x9ec70d['of'](['\x20'])}),_0x47ac9e)return _0x88a737(_0x20dd3a,_0x47ac9e,_0x1a264f,_0x5ddc58);if(_0x1a264f&&!_0x1a264f['main']['eq'](_0x1b6f07)){let _0x4fac1e=!0x1,_0x623080='select';return _0x20dd3a['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x20dd3a['inputState']['lastSelectionOrigin']&&(_0x4fac1e=!0x0),_0x623080=_0x20dd3a['inputState']['lastSelectionOrigin'],'select.pointer'==_0x623080&&(_0x1a264f=_0xdbb494(_0x20dd3a['state']['facet'](_0xa38285)['map'](_0x35a389=>_0x35a389(_0x20dd3a)),_0x1a264f))),_0x20dd3a['dispatch']({'selection':_0x1a264f,'scrollIntoView':_0x4fac1e,'userEvent':_0x623080}),!0x0;}return!0x1;}function _0x88a737(_0x41b2fb,_0x22e6b4,_0x34b9b5,_0x4a9447=-0x1){if(_0x4e5613['ios']&&_0x41b2fb['inputState']['flushIOSKey'](_0x22e6b4))return!0x0;let _0x1dc1cf=_0x41b2fb['state']['selection']['main'];if(_0x4e5613['android']&&(_0x22e6b4['to']==_0x1dc1cf['to']&&(_0x22e6b4['from']==_0x1dc1cf['from']||_0x22e6b4['from']==_0x1dc1cf['from']-0x1&&'\x20'==_0x41b2fb['state']['sliceDoc'](_0x22e6b4['from'],_0x1dc1cf['from']))&&0x1==_0x22e6b4['insert']['length']&&0x2==_0x22e6b4['insert']['lines']&&_0x3c656d(_0x41b2fb['contentDOM'],'Enter',0xd)||(_0x22e6b4['from']==_0x1dc1cf['from']-0x1&&_0x22e6b4['to']==_0x1dc1cf['to']&&0x0==_0x22e6b4['insert']['length']||0x8==_0x4a9447&&_0x22e6b4['insert']['length']<_0x22e6b4['to']-_0x22e6b4['from']&&_0x22e6b4['to']>_0x1dc1cf['head'])&&_0x3c656d(_0x41b2fb['contentDOM'],'Backspace',0x8)||_0x22e6b4['from']==_0x1dc1cf['from']&&_0x22e6b4['to']==_0x1dc1cf['to']+0x1&&0x0==_0x22e6b4['insert']['length']&&_0x3c656d(_0x41b2fb['contentDOM'],'Delete',0x2e)))return!0x0;let _0x1022c1,_0x8c5be8=_0x22e6b4['insert']['toString']();_0x41b2fb['inputState']['composing']>=0x0&&_0x41b2fb['inputState']['composing']++;let _0x590b64=()=>_0x1022c1||(_0x1022c1=function(_0x591190,_0x1eabd8,_0x572b6f){let _0x167069,_0x4fc94d=_0x591190['state'],_0x22e1df=_0x4fc94d['selection']['main'],_0x4c830f=-0x1;if(_0x1eabd8['from']==_0x1eabd8['to']&&_0x1eabd8['from']<_0x22e1df['from']||_0x1eabd8['from']>_0x22e1df['to']){let _0x6e7f4b=_0x1eabd8['from']<_0x22e1df['from']?-0x1:0x1,_0x43a8b3=_0x6e7f4b<0x0?_0x22e1df['from']:_0x22e1df['to'],_0x3ea3a7=_0x3d67a2(_0x4fc94d['facet'](_0xa38285)['map'](_0x58c5dc=>_0x58c5dc(_0x591190)),_0x43a8b3,_0x6e7f4b);_0x1eabd8['from']==_0x3ea3a7&&(_0x4c830f=_0x3ea3a7);}if(_0x4c830f>-0x1)_0x167069={'changes':_0x1eabd8,'selection':EditorSelection['cursor'](_0x1eabd8['from']+_0x1eabd8['insert']['length'],-0x1)};else{if(_0x1eabd8['from']>=_0x22e1df['from']&&_0x1eabd8['to']<=_0x22e1df['to']&&_0x1eabd8['to']-_0x1eabd8['from']>=(_0x22e1df['to']-_0x22e1df['from'])/0x3&&(!_0x572b6f||_0x572b6f['main']['empty']&&_0x572b6f['main']['from']==_0x1eabd8['from']+_0x1eabd8['insert']['length'])&&_0x591190['inputState']['composing']<0x0){let _0x32e0c8=_0x22e1df['from']<_0x1eabd8['from']?_0x4fc94d['sliceDoc'](_0x22e1df['from'],_0x1eabd8['from']):'',_0x2d118e=_0x22e1df['to']>_0x1eabd8['to']?_0x4fc94d['sliceDoc'](_0x1eabd8['to'],_0x22e1df['to']):'';_0x167069=_0x4fc94d['replaceSelection'](_0x591190['state']['toText'](_0x32e0c8+_0x1eabd8['insert']['sliceString'](0x0,void 0x0,_0x591190['state']['lineBreak'])+_0x2d118e));}else{let _0x18f757=_0x4fc94d['changes'](_0x1eabd8),_0x1b6b7c=_0x572b6f&&_0x572b6f['main']['to']<=_0x18f757['newLength']?_0x572b6f['main']:void 0x0;if(_0x4fc94d['selection']['ranges']['length']>0x1&&_0x591190['inputState']['composing']>=0x0&&_0x1eabd8['to']<=_0x22e1df['to']&&_0x1eabd8['to']>=_0x22e1df['to']-0xa){let _0x21cb38,_0x483202=_0x591190['state']['sliceDoc'](_0x1eabd8['from'],_0x1eabd8['to']),_0x31db7b=_0x572b6f&&_0x122287(_0x591190,_0x572b6f['main']['head']);if(_0x31db7b){let _0x582b4e=_0x1eabd8['insert']['length']-(_0x1eabd8['to']-_0x1eabd8['from']);_0x21cb38={'from':_0x31db7b['from'],'to':_0x31db7b['to']-_0x582b4e};}else _0x21cb38=_0x591190['state']['doc']['lineAt'](_0x22e1df['head']);let _0x4de8ee=_0x22e1df['to']-_0x1eabd8['to'],_0x19b295=_0x22e1df['to']-_0x22e1df['from'];_0x167069=_0x4fc94d['changeByRange'](_0x311204=>{if(_0x311204['from']==_0x22e1df['from']&&_0x311204['to']==_0x22e1df['to'])return{'changes':_0x18f757,'range':_0x1b6b7c||_0x311204['map'](_0x18f757)};let _0x285921=_0x311204['to']-_0x4de8ee,_0x548ce9=_0x285921-_0x483202['length'];if(_0x311204['to']-_0x311204['from']!=_0x19b295||_0x591190['state']['sliceDoc'](_0x548ce9,_0x285921)!=_0x483202||_0x311204['to']>=_0x21cb38['from']&&_0x311204['from']<=_0x21cb38['to'])return{'range':_0x311204};let _0x55fac5=_0x4fc94d['changes']({'from':_0x548ce9,'to':_0x285921,'insert':_0x1eabd8['insert']}),_0x111bcb=_0x311204['to']-_0x22e1df['to'];return{'changes':_0x55fac5,'range':_0x1b6b7c?EditorSelection['range'](Math['max'](0x0,_0x1b6b7c['anchor']+_0x111bcb),Math['max'](0x0,_0x1b6b7c['head']+_0x111bcb)):_0x311204['map'](_0x55fac5)};});}else _0x167069={'changes':_0x18f757,'selection':_0x1b6b7c&&_0x4fc94d['selection']['replaceRange'](_0x1b6b7c)};}}let _0x5bcdc6='input.type';return(_0x591190['composing']||_0x591190['inputState']['compositionPendingChange']&&_0x591190['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x591190['inputState']['compositionPendingChange']=!0x1,_0x5bcdc6+='.compose',_0x591190['inputState']['compositionFirstChange']&&(_0x5bcdc6+='.start',_0x591190['inputState']['compositionFirstChange']=!0x1)),_0x4fc94d['update'](_0x167069,{'userEvent':_0x5bcdc6,'scrollIntoView':!0x0});}(_0x41b2fb,_0x22e6b4,_0x34b9b5));return _0x41b2fb['state']['facet'](_0x5a1940)['some'](_0x3d96e1=>_0x3d96e1(_0x41b2fb,_0x22e6b4['from'],_0x22e6b4['to'],_0x8c5be8,_0x590b64))||_0x41b2fb['dispatch'](_0x590b64()),!0x0;}function _0x34eca4(_0x2ed33d,_0x3e778a,_0x426968,_0x22b84d){let _0x1b8bc0=Math['min'](_0x2ed33d['length'],_0x3e778a['length']),_0x13da6f=0x0;for(;_0x13da6f<_0x1b8bc0&&_0x2ed33d['charCodeAt'](_0x13da6f)==_0x3e778a['charCodeAt'](_0x13da6f);)_0x13da6f++;if(_0x13da6f==_0x1b8bc0&&_0x2ed33d['length']==_0x3e778a['length'])return null;let _0x53265b=_0x2ed33d['length'],_0x4ce435=_0x3e778a['length'];for(;_0x53265b>0x0&&_0x4ce435>0x0&&_0x2ed33d['charCodeAt'](_0x53265b-0x1)==_0x3e778a['charCodeAt'](_0x4ce435-0x1);)_0x53265b--,_0x4ce435--;'end'==_0x22b84d&&(_0x426968-=_0x53265b+Math['max'](0x0,_0x13da6f-Math['min'](_0x53265b,_0x4ce435))-_0x13da6f);if(_0x53265b<_0x13da6f&&_0x2ed33d['length']<_0x3e778a['length'])_0x13da6f-=_0x426968<=_0x13da6f&&_0x426968>=_0x53265b?_0x13da6f-_0x426968:0x0,_0x4ce435=_0x13da6f+(_0x4ce435-_0x53265b),_0x53265b=_0x13da6f;else _0x4ce435<_0x13da6f&&(_0x13da6f-=_0x426968<=_0x13da6f&&_0x426968>=_0x4ce435?_0x13da6f-_0x426968:0x0,_0x53265b=_0x13da6f+(_0x53265b-_0x4ce435),_0x4ce435=_0x13da6f);return{'from':_0x13da6f,'toA':_0x53265b,'toB':_0x4ce435};}class InputState{['setSelectionOrigin'](_0x5795e2){this['lastSelectionOrigin']=_0x5795e2,this['lastSelectionTime']=Date['now']();}constructor(_0x41e5b7){this['view']=_0x41e5b7,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x41e5b7['hasFocus'],_0x4e5613['safari']&&_0x41e5b7['contentDOM']['addEventListener']('input',()=>null),_0x4e5613['gecko']&&function(_0x20aa45){_0x17359d['has'](_0x20aa45)||(_0x17359d['add'](_0x20aa45),_0x20aa45['addEventListener']('copy',()=>{}),_0x20aa45['addEventListener']('cut',()=>{}));}(_0x41e5b7['contentDOM']['ownerDocument']);}['handleEvent'](_0x21eefa){(function(_0x2cc50d,_0x337ac5){if(!_0x337ac5['bubbles'])return!0x0;if(_0x337ac5['defaultPrevented'])return!0x1;for(let _0x10a258,_0x355e84=_0x337ac5['target'];_0x355e84!=_0x2cc50d['contentDOM'];_0x355e84=_0x355e84['parentNode'])if(!_0x355e84||0xb==_0x355e84['nodeType']||(_0x10a258=ContentView['get'](_0x355e84))&&_0x10a258['ignoreEvent'](_0x337ac5))return!0x1;return!0x0;}(this['view'],_0x21eefa)&&!this['ignoreDuringComposition'](_0x21eefa)&&('keydown'==_0x21eefa['type']&&this['keydown'](_0x21eefa)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x21eefa['type'],_0x21eefa)):this['runHandlers'](_0x21eefa['type'],_0x21eefa))));}['runHandlers'](_0x1cd73b,_0x5deeb1){let _0x4c4d44=this['handlers'][_0x1cd73b];if(_0x4c4d44){for(let _0x4a1268 of _0x4c4d44['observers'])_0x4a1268(this['view'],_0x5deeb1);for(let _0x1f1c8b of _0x4c4d44['handlers']){if(_0x5deeb1['defaultPrevented'])break;if(_0x1f1c8b(this['view'],_0x5deeb1)){_0x5deeb1['preventDefault']();break;}}}}['ensureHandlers'](_0x5a4a7f){let _0x53b8d8=_0x4dbde8(_0x5a4a7f),_0x27228e=this['handlers'],_0x5d79d2=this['view']['contentDOM'];for(let _0x4b7542 in _0x53b8d8)if('scroll'!=_0x4b7542){let _0x33ba20=!_0x53b8d8[_0x4b7542]['handlers']['length'],_0x5cae86=_0x27228e[_0x4b7542];_0x5cae86&&_0x33ba20!=!_0x5cae86['handlers']['length']&&(_0x5d79d2['removeEventListener'](_0x4b7542,this['handleEvent']),_0x5cae86=null),_0x5cae86||_0x5d79d2['addEventListener'](_0x4b7542,this['handleEvent'],{'passive':_0x33ba20});}for(let _0x3de8bf in _0x27228e)'scroll'==_0x3de8bf||_0x53b8d8[_0x3de8bf]||_0x5d79d2['removeEventListener'](_0x3de8bf,this['handleEvent']);this['handlers']=_0x53b8d8;}['keydown'](_0x41816a){if(this['lastKeyCode']=_0x41816a['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x41816a['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x41816a['keyCode']&&_0x18be14['indexOf'](_0x41816a['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x4e5613['android']&&_0x4e5613['chrome']&&!_0x41816a['synthetic']&&(0xd==_0x41816a['keyCode']||0x8==_0x41816a['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x41816a['key'],_0x41816a['keyCode']),!0x0;let _0x102c07;return!_0x4e5613['ios']||_0x41816a['synthetic']||_0x41816a['altKey']||_0x41816a['metaKey']||!((_0x102c07=_0x3500d8['find'](_0x42f0c2=>_0x42f0c2['keyCode']==_0x41816a['keyCode']))&&!_0x41816a['ctrlKey']||_0x4f64f7['indexOf'](_0x41816a['key'])>-0x1&&_0x41816a['ctrlKey']&&!_0x41816a['shiftKey'])?(0xe5!=_0x41816a['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x102c07||_0x41816a,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x1c02dc){let _0xb63672=this['pendingIOSKey'];return!!_0xb63672&&(!('Enter'==_0xb63672['key']&&_0x1c02dc&&_0x1c02dc['from']<_0x1c02dc['to']&&/^\S+$/['test'](_0x1c02dc['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,_0x3c656d(this['view']['contentDOM'],_0xb63672['key'],_0xb63672['keyCode'],_0xb63672 instanceof KeyboardEvent?_0xb63672:void 0x0)));}['ignoreDuringComposition'](_0x35eecd){return!(!/^key/['test'](_0x35eecd['type'])||_0x35eecd['synthetic'])&&(this['composing']>0x0||!!(_0x4e5613['safari']&&!_0x4e5613['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x78e5d8){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x78e5d8;}['update'](_0x2a6c55){this['view']['observer']['update'](_0x2a6c55),this['mouseSelection']&&this['mouseSelection']['update'](_0x2a6c55),this['draggedContent']&&_0x2a6c55['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x2a6c55['changes'])),_0x2a6c55['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x2893ea(_0x595c5d,_0x83d12c){return(_0x16c68,_0x11f4ac)=>{try{return _0x83d12c['call'](_0x595c5d,_0x11f4ac,_0x16c68);}catch(_0x119fdc){_0x23aa16(_0x16c68['state'],_0x119fdc);}};}function _0x4dbde8(_0x2a7060){let _0x4f41ab=Object['create'](null);function _0x21e0cd(_0x3f5993){return _0x4f41ab[_0x3f5993]||(_0x4f41ab[_0x3f5993]={'observers':[],'handlers':[]});}for(let _0xede9f7 of _0x2a7060){let _0xd1566c=_0xede9f7['spec'],_0x1c5a35=_0xd1566c&&_0xd1566c['plugin']['domEventHandlers'],_0x5730d3=_0xd1566c&&_0xd1566c['plugin']['domEventObservers'];if(_0x1c5a35)for(let _0x4d35a5 in _0x1c5a35){let _0xc147db=_0x1c5a35[_0x4d35a5];_0xc147db&&_0x21e0cd(_0x4d35a5)['handlers']['push'](_0x2893ea(_0xede9f7['value'],_0xc147db));}if(_0x5730d3)for(let _0x44f052 in _0x5730d3){let _0x149f49=_0x5730d3[_0x44f052];_0x149f49&&_0x21e0cd(_0x44f052)['observers']['push'](_0x2893ea(_0xede9f7['value'],_0x149f49));}}for(let _0x2284eb in _0x3c8950)_0x21e0cd(_0x2284eb)['handlers']['push'](_0x3c8950[_0x2284eb]);for(let _0x43fa6d in _0x17960e)_0x21e0cd(_0x43fa6d)['observers']['push'](_0x17960e[_0x43fa6d]);return _0x4f41ab;}const _0x3500d8=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x4f64f7='dthko',_0x18be14=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function _0x4f77ba(_0xa7c74e){return 0.7*Math['max'](0x0,_0xa7c74e)+0x8;}class MouseSelection{constructor(_0x3d6991,_0x3a930c,_0x365c38,_0x1a5797){this['view']=_0x3d6991,this['startEvent']=_0x3a930c,this['style']=_0x365c38,this['mustSelect']=_0x1a5797,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x3a930c,this['scrollParents']=function(_0x39db63){let _0x1d7412,_0x236319,_0x1d975e=_0x39db63['ownerDocument'];for(let _0x5de3a4=_0x39db63['parentNode'];_0x5de3a4&&!(_0x5de3a4==_0x1d975e['body']||_0x1d7412&&_0x236319);)if(0x1==_0x5de3a4['nodeType'])!_0x236319&&_0x5de3a4['scrollHeight']>_0x5de3a4['clientHeight']&&(_0x236319=_0x5de3a4),!_0x1d7412&&_0x5de3a4['scrollWidth']>_0x5de3a4['clientWidth']&&(_0x1d7412=_0x5de3a4),_0x5de3a4=_0x5de3a4['assignedSlot']||_0x5de3a4['parentNode'];else{if(0xb!=_0x5de3a4['nodeType'])break;_0x5de3a4=_0x5de3a4['host'];}return{'x':_0x1d7412,'y':_0x236319};}(_0x3d6991['contentDOM']),this['atoms']=_0x3d6991['state']['facet'](_0xa38285)['map'](_0x362e95=>_0x362e95(_0x3d6991));let _0x56348a=_0x3d6991['contentDOM']['ownerDocument'];_0x56348a['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x56348a['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x3a930c['shiftKey'],this['multiple']=_0x3d6991['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x35e501,_0x110269){let _0x502b65=_0x35e501['state']['facet'](_0x1214e7);return _0x502b65['length']?_0x502b65[0x0](_0x110269):_0x4e5613['mac']?_0x110269['metaKey']:_0x110269['ctrlKey'];}(_0x3d6991,_0x3a930c),this['dragging']=!(!function(_0x57cc33,_0x43a0ee){let {main:_0x612b42}=_0x57cc33['state']['selection'];if(_0x612b42['empty'])return!0x1;let _0x333617=_0x2a2880(_0x57cc33['root']);if(!_0x333617||0x0==_0x333617['rangeCount'])return!0x0;let _0x20ea61=_0x333617['getRangeAt'](0x0)['getClientRects']();for(let _0x23bcce=0x0;_0x23bcce<_0x20ea61['length'];_0x23bcce++){let _0x56bf12=_0x20ea61[_0x23bcce];if(_0x56bf12['left']<=_0x43a0ee['clientX']&&_0x56bf12['right']>=_0x43a0ee['clientX']&&_0x56bf12['top']<=_0x43a0ee['clientY']&&_0x56bf12['bottom']>=_0x43a0ee['clientY'])return!0x0;}return!0x1;}(_0x3d6991,_0x3a930c)||0x1!=_0x1acf1c(_0x3a930c))&&null;}['start'](_0x5c693b){!0x1===this['dragging']&&this['select'](_0x5c693b);}['move'](_0x13e56e){if(0x0==_0x13e56e['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x3bc215=this['startEvent'],_0x4525fa=_0x13e56e,Math['max'](Math['abs'](_0x3bc215['clientX']-_0x4525fa['clientX']),Math['abs'](_0x3bc215['clientY']-_0x4525fa['clientY']))<0xa))return;var _0x3bc215,_0x4525fa;this['select'](this['lastEvent']=_0x13e56e);let _0x300bef=0x0,_0x4d4397=0x0,_0x5c08c0=0x0,_0x7dfb1b=0x0,_0x2fa2e8=this['view']['win']['innerWidth'],_0x3c0f93=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x5c08c0,right:_0x2fa2e8}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x7dfb1b,bottom:_0x3c0f93}=this['scrollParents']['y']['getBoundingClientRect']());let _0x429777=_0xb577b1(this['view']);_0x13e56e['clientX']-_0x429777['left']<=_0x5c08c0+0x6?_0x300bef=-_0x4f77ba(_0x5c08c0-_0x13e56e['clientX']):_0x13e56e['clientX']+_0x429777['right']>=_0x2fa2e8-0x6&&(_0x300bef=_0x4f77ba(_0x13e56e['clientX']-_0x2fa2e8)),_0x13e56e['clientY']-_0x429777['top']<=_0x7dfb1b+0x6?_0x4d4397=-_0x4f77ba(_0x7dfb1b-_0x13e56e['clientY']):_0x13e56e['clientY']+_0x429777['bottom']>=_0x3c0f93-0x6&&(_0x4d4397=_0x4f77ba(_0x13e56e['clientY']-_0x3c0f93)),this['setScrollSpeed'](_0x300bef,_0x4d4397);}['up'](_0x1a3d4a){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x1a3d4a['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x4cc6e3=this['view']['contentDOM']['ownerDocument'];_0x4cc6e3['removeEventListener']('mousemove',this['move']),_0x4cc6e3['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x19da33,_0x45d84c){this['scrollSpeed']={'x':_0x19da33,'y':_0x45d84c},_0x19da33||_0x45d84c?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x31f27e,y:_0xbdeb1b}=this['scrollSpeed'];_0x31f27e&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x31f27e,_0x31f27e=0x0),_0xbdeb1b&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0xbdeb1b,_0xbdeb1b=0x0),(_0x31f27e||_0xbdeb1b)&&this['view']['win']['scrollBy'](_0x31f27e,_0xbdeb1b),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x16d440){let {view:_0x5d8def}=this,_0x277d15=_0xdbb494(this['atoms'],this['style']['get'](_0x16d440,this['extend'],this['multiple']));!this['mustSelect']&&_0x277d15['eq'](_0x5d8def['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x277d15,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x663f6d){_0x663f6d['transactions']['some'](_0x167e18=>_0x167e18['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x663f6d)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const _0x3c8950=Object['create'](null),_0x17960e=Object['create'](null),_0x4dbc53=_0x4e5613['ie']&&_0x4e5613['ie_version']<0xf||_0x4e5613['ios']&&_0x4e5613['webkit_version']<0x25c;function _0x3862ab(_0x14ef61,_0x18900f,_0xf8763f){for(let _0x319879 of _0x14ef61['facet'](_0x18900f))_0xf8763f=_0x319879(_0xf8763f,_0x14ef61);return _0xf8763f;}function _0x5bdb2a(_0x2479de,_0x4c2a74){_0x4c2a74=_0x3862ab(_0x2479de['state'],_0x3fa4da,_0x4c2a74);let _0x2252f5,{state:_0x277e4c}=_0x2479de,_0x267fa2=0x1,_0x21d7df=_0x277e4c['toText'](_0x4c2a74),_0x33cb8c=_0x21d7df['lines']==_0x277e4c['selection']['ranges']['length'];if(null!=_0x5bcdd1&&_0x277e4c['selection']['ranges']['every'](_0x385fe7=>_0x385fe7['empty'])&&_0x5bcdd1==_0x21d7df['toString']()){let _0xc0219e=-0x1;_0x2252f5=_0x277e4c['changeByRange'](_0x3f8b0d=>{let _0x1527c0=_0x277e4c['doc']['lineAt'](_0x3f8b0d['from']);if(_0x1527c0['from']==_0xc0219e)return{'range':_0x3f8b0d};_0xc0219e=_0x1527c0['from'];let _0x30f345=_0x277e4c['toText']((_0x33cb8c?_0x21d7df['line'](_0x267fa2++)['text']:_0x4c2a74)+_0x277e4c['lineBreak']);return{'changes':{'from':_0x1527c0['from'],'insert':_0x30f345},'range':EditorSelection['cursor'](_0x3f8b0d['from']+_0x30f345['length'])};});}else _0x2252f5=_0x33cb8c?_0x277e4c['changeByRange'](_0xad621c=>{let _0x2dcbe1=_0x21d7df['line'](_0x267fa2++);return{'changes':{'from':_0xad621c['from'],'to':_0xad621c['to'],'insert':_0x2dcbe1['text']},'range':EditorSelection['cursor'](_0xad621c['from']+_0x2dcbe1['length'])};}):_0x277e4c['replaceSelection'](_0x21d7df);_0x2479de['dispatch'](_0x2252f5,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x175233(_0x4bb080,_0x273f08,_0x2b0727,_0x1563fb){if(0x1==_0x1563fb)return EditorSelection['cursor'](_0x273f08,_0x2b0727);if(0x2==_0x1563fb)return function(_0x1a618e,_0x477995,_0xeffbab=0x1){let _0xdd3881=_0x1a618e['charCategorizer'](_0x477995),_0x29501c=_0x1a618e['doc']['lineAt'](_0x477995),_0x5b445e=_0x477995-_0x29501c['from'];if(0x0==_0x29501c['length'])return EditorSelection['cursor'](_0x477995);0x0==_0x5b445e?_0xeffbab=0x1:_0x5b445e==_0x29501c['length']&&(_0xeffbab=-0x1);let _0x3ecedc=_0x5b445e,_0x469099=_0x5b445e;_0xeffbab<0x0?_0x3ecedc=_0x125880(_0x29501c['text'],_0x5b445e,!0x1):_0x469099=_0x125880(_0x29501c['text'],_0x5b445e);let _0x47a0f7=_0xdd3881(_0x29501c['text']['slice'](_0x3ecedc,_0x469099));for(;_0x3ecedc>0x0;){let _0x479c71=_0x125880(_0x29501c['text'],_0x3ecedc,!0x1);if(_0xdd3881(_0x29501c['text']['slice'](_0x479c71,_0x3ecedc))!=_0x47a0f7)break;_0x3ecedc=_0x479c71;}for(;_0x469099<_0x29501c['length'];){let _0x130f26=_0x125880(_0x29501c['text'],_0x469099);if(_0xdd3881(_0x29501c['text']['slice'](_0x469099,_0x130f26))!=_0x47a0f7)break;_0x469099=_0x130f26;}return EditorSelection['range'](_0x3ecedc+_0x29501c['from'],_0x469099+_0x29501c['from']);}(_0x4bb080['state'],_0x273f08,_0x2b0727);{let _0x26a4e4=_0x42f1e8['find'](_0x4bb080['docView'],_0x273f08),_0x4488d6=_0x4bb080['state']['doc']['lineAt'](_0x26a4e4?_0x26a4e4['posAtEnd']:_0x273f08),_0x3660c6=_0x26a4e4?_0x26a4e4['posAtStart']:_0x4488d6['from'],_0x16ba76=_0x26a4e4?_0x26a4e4['posAtEnd']:_0x4488d6['to'];return _0x16ba76<_0x4bb080['state']['doc']['length']&&_0x16ba76==_0x4488d6['to']&&_0x16ba76++,EditorSelection['range'](_0x3660c6,_0x16ba76);}}_0x17960e['scroll']=_0x4621b1=>{_0x4621b1['inputState']['lastScrollTop']=_0x4621b1['scrollDOM']['scrollTop'],_0x4621b1['inputState']['lastScrollLeft']=_0x4621b1['scrollDOM']['scrollLeft'];},_0x3c8950['keydown']=(_0x55b401,_0x41331f)=>(_0x55b401['inputState']['setSelectionOrigin']('select'),0x1b==_0x41331f['keyCode']&&0x0!=_0x55b401['inputState']['tabFocusMode']&&(_0x55b401['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x17960e['touchstart']=(_0x437363,_0x2668ba)=>{_0x437363['inputState']['lastTouchTime']=Date['now'](),_0x437363['inputState']['setSelectionOrigin']('select.pointer');},_0x17960e['touchmove']=_0x2ff13d=>{_0x2ff13d['inputState']['setSelectionOrigin']('select.pointer');},_0x3c8950['mousedown']=(_0x41bf80,_0x35162f)=>{if(_0x41bf80['observer']['flush'](),_0x41bf80['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x4d38a3=null;for(let _0x5c06cf of _0x41bf80['state']['facet'](_0x48c127))if(_0x4d38a3=_0x5c06cf(_0x41bf80,_0x35162f),_0x4d38a3)break;if(_0x4d38a3||0x0!=_0x35162f['button']||(_0x4d38a3=function(_0x226e11,_0x4f7094){let _0x4c0575=ty(_0x226e11,_0x4f7094),_0x3cf9fd=_0x1acf1c(_0x4f7094),_0x6ac872=_0x226e11['state']['selection'];return{'update'(_0x45c78f){_0x45c78f['docChanged']&&(_0x4c0575['pos']=_0x45c78f['changes']['mapPos'](_0x4c0575['pos']),_0x6ac872=_0x6ac872['map'](_0x45c78f['changes']));},'get'(_0x42e296,_0x4cac55,_0x5bba79){let _0x3edece,_0xdd033e=ty(_0x226e11,_0x42e296),_0x1125c6=_0x175233(_0x226e11,_0xdd033e['pos'],_0xdd033e['bias'],_0x3cf9fd);if(_0x4c0575['pos']!=_0xdd033e['pos']&&!_0x4cac55){let _0x58530e=_0x175233(_0x226e11,_0x4c0575['pos'],_0x4c0575['bias'],_0x3cf9fd),_0x173956=Math['min'](_0x58530e['from'],_0x1125c6['from']),_0x2b6762=Math['max'](_0x58530e['to'],_0x1125c6['to']);_0x1125c6=_0x173956<_0x1125c6['from']?EditorSelection['range'](_0x173956,_0x2b6762):EditorSelection['range'](_0x2b6762,_0x173956);}return _0x4cac55?_0x6ac872['replaceRange'](_0x6ac872['main']['extend'](_0x1125c6['from'],_0x1125c6['to'])):_0x5bba79&&0x1==_0x3cf9fd&&_0x6ac872['ranges']['length']>0x1&&(_0x3edece=function(_0x43feb5,_0x3a097a){for(let _0x2df832=0x0;_0x2df832<_0x43feb5['ranges']['length'];_0x2df832++){let {from:_0x1cc80e,to:_0x39b44a}=_0x43feb5['ranges'][_0x2df832];if(_0x1cc80e<=_0x3a097a&&_0x39b44a>=_0x3a097a)return EditorSelection['create'](_0x43feb5['ranges']['slice'](0x0,_0x2df832)['concat'](_0x43feb5['ranges']['slice'](_0x2df832+0x1)),_0x43feb5['mainIndex']==_0x2df832?0x0:_0x43feb5['mainIndex']-(_0x43feb5['mainIndex']>_0x2df832?0x1:0x0));}return null;}(_0x6ac872,_0xdd033e['pos']))?_0x3edece:_0x5bba79?_0x6ac872['addRange'](_0x1125c6):EditorSelection['create']([_0x1125c6]);}};}(_0x41bf80,_0x35162f)),_0x4d38a3){let _0x3a6794=!_0x41bf80['hasFocus'];_0x41bf80['inputState']['startMouseSelection'](new MouseSelection(_0x41bf80,_0x35162f,_0x4d38a3,_0x3a6794)),_0x3a6794&&_0x41bf80['observer']['ignore'](()=>{_0x2ce3c0(_0x41bf80['contentDOM']);let _0x4b7261=_0x41bf80['root']['activeElement'];_0x4b7261&&!_0x4b7261['contains'](_0x41bf80['contentDOM'])&&_0x4b7261['blur']();});let _0x54113d=_0x41bf80['inputState']['mouseSelection'];if(_0x54113d)return _0x54113d['start'](_0x35162f),!0x1===_0x54113d['dragging'];}else _0x41bf80['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x4b27ed=(_0x1dfb02,_0x5bd079,_0x460364)=>_0x5bd079>=_0x460364['top']&&_0x5bd079<=_0x460364['bottom']&&_0x1dfb02>=_0x460364['left']&&_0x1dfb02<=_0x460364['right'];function _0x3a7368(_0x3b2077,_0x200727,_0x2ac218,_0x7053a6){let _0x5a6fee=_0x42f1e8['find'](_0x3b2077['docView'],_0x200727);if(!_0x5a6fee)return 0x1;let _0x40c2aa=_0x200727-_0x5a6fee['posAtStart'];if(0x0==_0x40c2aa)return 0x1;if(_0x40c2aa==_0x5a6fee['length'])return-0x1;let _0x15df6f=_0x5a6fee['coordsAt'](_0x40c2aa,-0x1);if(_0x15df6f&&_0x4b27ed(_0x2ac218,_0x7053a6,_0x15df6f))return-0x1;let _0x1171ab=_0x5a6fee['coordsAt'](_0x40c2aa,0x1);return _0x1171ab&&_0x4b27ed(_0x2ac218,_0x7053a6,_0x1171ab)?0x1:_0x15df6f&&_0x15df6f['bottom']>=_0x7053a6?-0x1:0x1;}function ty(_0x237dcb,_0x466d7a){let _0x56fa08=_0x237dcb['posAtCoords']({'x':_0x466d7a['clientX'],'y':_0x466d7a['clientY']},!0x1);return{'pos':_0x56fa08,'bias':_0x3a7368(_0x237dcb,_0x56fa08,_0x466d7a['clientX'],_0x466d7a['clientY'])};}const _0x45be5b=_0x4e5613['ie']&&_0x4e5613['ie_version']<=0xb;let _0x5e1278=null,_0x4b9433=0x0,_0x137449=0x0;function _0x1acf1c(_0x4cc9d9){if(!_0x45be5b)return _0x4cc9d9['detail'];let _0x2e3f21=_0x5e1278,_0x57a9f7=_0x137449;return _0x5e1278=_0x4cc9d9,_0x137449=Date['now'](),_0x4b9433=!_0x2e3f21||_0x57a9f7>Date['now']()-0x190&&Math['abs'](_0x2e3f21['clientX']-_0x4cc9d9['clientX'])<0x2&&Math['abs'](_0x2e3f21['clientY']-_0x4cc9d9['clientY'])<0x2?(_0x4b9433+0x1)%0x3:0x1;}function _0x5df4aa(_0x43e90d,_0x2eeeb2,_0x2a55c1,_0x4fdfef){if(!(_0x2a55c1=_0x3862ab(_0x43e90d['state'],_0x3fa4da,_0x2a55c1)))return;let _0x20387d=_0x43e90d['posAtCoords']({'x':_0x2eeeb2['clientX'],'y':_0x2eeeb2['clientY']},!0x1),{draggedContent:_0x489676}=_0x43e90d['inputState'],_0x403078=_0x4fdfef&&_0x489676&&function(_0xb831dc,_0x35a086){let _0x2582ce=_0xb831dc['state']['facet'](_0x43a499);return _0x2582ce['length']?_0x2582ce[0x0](_0x35a086):_0x4e5613['mac']?!_0x35a086['altKey']:!_0x35a086['ctrlKey'];}(_0x43e90d,_0x2eeeb2)?{'from':_0x489676['from'],'to':_0x489676['to']}:null,_0xbfe4d={'from':_0x20387d,'insert':_0x2a55c1},_0x4853d8=_0x43e90d['state']['changes'](_0x403078?[_0x403078,_0xbfe4d]:_0xbfe4d);_0x43e90d['focus'](),_0x43e90d['dispatch']({'changes':_0x4853d8,'selection':{'anchor':_0x4853d8['mapPos'](_0x20387d,-0x1),'head':_0x4853d8['mapPos'](_0x20387d,0x1)},'userEvent':_0x403078?'move.drop':'input.drop'}),_0x43e90d['inputState']['draggedContent']=null;}_0x3c8950['dragstart']=(_0x30c3fb,_0x208627)=>{let {selection:{main:_0x48d684}}=_0x30c3fb['state'];if(_0x208627['target']['draggable']){let _0x453c15=_0x30c3fb['docView']['nearest'](_0x208627['target']);if(_0x453c15&&_0x453c15['isWidget']){let _0x2af0ca=_0x453c15['posAtStart'],_0x493400=_0x2af0ca+_0x453c15['length'];(_0x2af0ca>=_0x48d684['to']||_0x493400<=_0x48d684['from'])&&(_0x48d684=EditorSelection['range'](_0x2af0ca,_0x493400));}}let {inputState:_0x3b40fe}=_0x30c3fb;return _0x3b40fe['mouseSelection']&&(_0x3b40fe['mouseSelection']['dragging']=!0x0),_0x3b40fe['draggedContent']=_0x48d684,_0x208627['dataTransfer']&&(_0x208627['dataTransfer']['setData']('Text',_0x3862ab(_0x30c3fb['state'],_0x3f3195,_0x30c3fb['state']['sliceDoc'](_0x48d684['from'],_0x48d684['to']))),_0x208627['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x3c8950['dragend']=_0x5dfad1=>(_0x5dfad1['inputState']['draggedContent']=null,!0x1),_0x3c8950['drop']=(_0x2c73f7,_0x216897)=>{if(!_0x216897['dataTransfer'])return!0x1;if(_0x2c73f7['state']['readOnly'])return!0x0;let _0x17cc54=_0x216897['dataTransfer']['files'];if(_0x17cc54&&_0x17cc54['length']){let _0x58b6ee=Array(_0x17cc54['length']),_0x102cca=0x0,_0x1b0dbb=()=>{++_0x102cca==_0x17cc54['length']&&_0x5df4aa(_0x2c73f7,_0x216897,_0x58b6ee['filter'](_0x298b09=>null!=_0x298b09)['join'](_0x2c73f7['state']['lineBreak']),!0x1);};for(let _0xf39a0=0x0;_0xf39a0<_0x17cc54['length'];_0xf39a0++){let _0x500768=new FileReader();_0x500768['onerror']=_0x1b0dbb,_0x500768['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x500768['result'])||(_0x58b6ee[_0xf39a0]=_0x500768['result']),_0x1b0dbb();},_0x500768['readAsText'](_0x17cc54[_0xf39a0]);}return!0x0;}{let _0xb2e96f=_0x216897['dataTransfer']['getData']('Text');if(_0xb2e96f)return _0x5df4aa(_0x2c73f7,_0x216897,_0xb2e96f,!0x0),!0x0;}return!0x1;},_0x3c8950['paste']=(_0xbb5cdc,_0x2e974b)=>{if(_0xbb5cdc['state']['readOnly'])return!0x0;_0xbb5cdc['observer']['flush']();let _0x298643=_0x4dbc53?null:_0x2e974b['clipboardData'];return _0x298643?(_0x5bdb2a(_0xbb5cdc,_0x298643['getData']('text/plain')||_0x298643['getData']('text/uri-list')),!0x0):(function(_0x901fca){let _0x11ff8d=_0x901fca['dom']['parentNode'];if(!_0x11ff8d)return;let _0x4dcadd=_0x11ff8d['appendChild'](document['createElement']('textarea'));_0x4dcadd['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x4dcadd['focus'](),setTimeout(()=>{_0x901fca['focus'](),_0x4dcadd['remove'](),_0x5bdb2a(_0x901fca,_0x4dcadd['value']);},0x32);}(_0xbb5cdc),!0x1);};let _0x5bcdd1=null;_0x3c8950['copy']=_0x3c8950['cut']=(_0x555228,_0x2d24bc)=>{let {text:_0x1a43ad,ranges:_0xaeb2f6,linewise:_0x49e9bc}=function(_0x470274){let _0x10fea7=[],_0x277586=[],_0x407211=!0x1;for(let _0x467671 of _0x470274['selection']['ranges'])_0x467671['empty']||(_0x10fea7['push'](_0x470274['sliceDoc'](_0x467671['from'],_0x467671['to'])),_0x277586['push'](_0x467671));if(!_0x10fea7['length']){let _0x56b212=-0x1;for(let {from:_0x401876}of _0x470274['selection']['ranges']){let _0x1241e0=_0x470274['doc']['lineAt'](_0x401876);_0x1241e0['number']>_0x56b212&&(_0x10fea7['push'](_0x1241e0['text']),_0x277586['push']({'from':_0x1241e0['from'],'to':Math['min'](_0x470274['doc']['length'],_0x1241e0['to']+0x1)})),_0x56b212=_0x1241e0['number'];}_0x407211=!0x0;}return{'text':_0x3862ab(_0x470274,_0x3f3195,_0x10fea7['join'](_0x470274['lineBreak'])),'ranges':_0x277586,'linewise':_0x407211};}(_0x555228['state']);if(!_0x1a43ad&&!_0x49e9bc)return!0x1;_0x5bcdd1=_0x49e9bc?_0x1a43ad:null,'cut'!=_0x2d24bc['type']||_0x555228['state']['readOnly']||_0x555228['dispatch']({'changes':_0xaeb2f6,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x597405=_0x4dbc53?null:_0x2d24bc['clipboardData'];return _0x597405?(_0x597405['clearData'](),_0x597405['setData']('text/plain',_0x1a43ad),!0x0):(function(_0x3bcf09,_0x38e1ec){let _0x49e674=_0x3bcf09['dom']['parentNode'];if(!_0x49e674)return;let _0x11d8bc=_0x49e674['appendChild'](document['createElement']('textarea'));_0x11d8bc['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x11d8bc['value']=_0x38e1ec,_0x11d8bc['focus'](),_0x11d8bc['selectionEnd']=_0x38e1ec['length'],_0x11d8bc['selectionStart']=0x0,setTimeout(()=>{_0x11d8bc['remove'](),_0x3bcf09['focus']();},0x32);}(_0x555228,_0x1a43ad),!0x1);};const _0x378e9f=Annotation['define']();function _0x5049c3(_0x13cb98,_0x441a33){let _0x375c83=[];for(let _0x2c48ec of _0x13cb98['facet'](_0x1aea33)){let _0x3a49c2=_0x2c48ec(_0x13cb98,_0x441a33);_0x3a49c2&&_0x375c83['push'](_0x3a49c2);}return _0x375c83['length']?_0x13cb98['update']({'effects':_0x375c83,'annotations':_0x378e9f['of'](!0x0)}):null;}function _0x230a88(_0x47f05c){setTimeout(()=>{let _0x48fc81=_0x47f05c['hasFocus'];if(_0x48fc81!=_0x47f05c['inputState']['notifiedFocused']){let _0x222df2=_0x5049c3(_0x47f05c['state'],_0x48fc81);_0x222df2?_0x47f05c['dispatch'](_0x222df2):_0x47f05c['update']([]);}},0xa);}_0x17960e['focus']=_0x20aff4=>{_0x20aff4['inputState']['lastFocusTime']=Date['now'](),_0x20aff4['scrollDOM']['scrollTop']||!_0x20aff4['inputState']['lastScrollTop']&&!_0x20aff4['inputState']['lastScrollLeft']||(_0x20aff4['scrollDOM']['scrollTop']=_0x20aff4['inputState']['lastScrollTop'],_0x20aff4['scrollDOM']['scrollLeft']=_0x20aff4['inputState']['lastScrollLeft']),_0x230a88(_0x20aff4);},_0x17960e['blur']=_0x3f4a75=>{_0x3f4a75['observer']['clearSelectionRange'](),_0x230a88(_0x3f4a75);},_0x17960e['compositionstart']=_0x17960e['compositionupdate']=_0x1bff6a=>{_0x1bff6a['observer']['editContext']||(null==_0x1bff6a['inputState']['compositionFirstChange']&&(_0x1bff6a['inputState']['compositionFirstChange']=!0x0),_0x1bff6a['inputState']['composing']<0x0&&(_0x1bff6a['inputState']['composing']=0x0));},_0x17960e['compositionend']=_0x4db72a=>{_0x4db72a['observer']['editContext']||(_0x4db72a['inputState']['composing']=-0x1,_0x4db72a['inputState']['compositionEndedAt']=Date['now'](),_0x4db72a['inputState']['compositionPendingKey']=!0x0,_0x4db72a['inputState']['compositionPendingChange']=_0x4db72a['observer']['pendingRecords']()['length']>0x0,_0x4db72a['inputState']['compositionFirstChange']=null,_0x4e5613['chrome']&&_0x4e5613['android']?_0x4db72a['observer']['flushSoon']():_0x4db72a['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x4db72a['observer']['flush']()):setTimeout(()=>{_0x4db72a['inputState']['composing']<0x0&&_0x4db72a['docView']['hasComposition']&&_0x4db72a['update']([]);},0x32));},_0x17960e['contextmenu']=_0x49ed8c=>{_0x49ed8c['inputState']['lastContextMenu']=Date['now']();},_0x3c8950['beforeinput']=(_0x583864,_0x3bdd08)=>{var _0x2b751f,_0x1b371d;if('insertReplacementText'==_0x3bdd08['inputType']&&_0x583864['observer']['editContext']){let _0x3abb53=null===(_0x2b751f=_0x3bdd08['dataTransfer'])||void 0x0===_0x2b751f?void 0x0:_0x2b751f['getData']('text/plain'),_0x4b2451=_0x3bdd08['getTargetRanges']();if(_0x3abb53&&_0x4b2451['length']){let _0xf827ff=_0x4b2451[0x0],_0x81341d=_0x583864['posAtDOM'](_0xf827ff['startContainer'],_0xf827ff['startOffset']),_0x4375ef=_0x583864['posAtDOM'](_0xf827ff['endContainer'],_0xf827ff['endOffset']);return _0x88a737(_0x583864,{'from':_0x81341d,'to':_0x4375ef,'insert':_0x583864['state']['toText'](_0x3abb53)},null),!0x0;}}let _0x343cbd;if(_0x4e5613['chrome']&&_0x4e5613['android']&&(_0x343cbd=_0x3500d8['find'](_0x3ec0a9=>_0x3ec0a9['inputType']==_0x3bdd08['inputType']))&&(_0x583864['observer']['delayAndroidKey'](_0x343cbd['key'],_0x343cbd['keyCode']),'Backspace'==_0x343cbd['key']||'Delete'==_0x343cbd['key'])){let _0x307ea4=(null===(_0x1b371d=window['visualViewport'])||void 0x0===_0x1b371d?void 0x0:_0x1b371d['height'])||0x0;setTimeout(()=>{var _0x5d14db;((null===(_0x5d14db=window['visualViewport'])||void 0x0===_0x5d14db?void 0x0:_0x5d14db['height'])||0x0)>_0x307ea4+0xa&&_0x583864['hasFocus']&&(_0x583864['contentDOM']['blur'](),_0x583864['focus']());},0x64);}return _0x4e5613['ios']&&'deleteContentForward'==_0x3bdd08['inputType']&&_0x583864['observer']['flushSoon'](),_0x4e5613['safari']&&'insertText'==_0x3bdd08['inputType']&&_0x583864['inputState']['composing']>=0x0&&setTimeout(()=>_0x17960e['compositionend'](_0x583864,_0x3bdd08),0x14),!0x1;};const _0x17359d=new Set(),_0x15e5f3=['pre-wrap','normal','pre-line','break-spaces'];let _0x5407d6=!0x1;function _0x24c90d(){_0x5407d6=!0x1;}class HeightOracle{constructor(_0x1a56b2){this['lineWrapping']=_0x1a56b2,this['doc']=_0x9ec70d['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x99d535,_0x8e210f){let _0x4ae635=this['doc']['lineAt'](_0x8e210f)['number']-this['doc']['lineAt'](_0x99d535)['number']+0x1;return this['lineWrapping']&&(_0x4ae635+=Math['max'](0x0,Math['ceil']((_0x8e210f-_0x99d535-_0x4ae635*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x4ae635;}['heightForLine'](_0xc3c91){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0xc3c91-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x5ee851){return this['doc']=_0x5ee851,this;}['mustRefreshForWrapping'](_0x40c862){return _0x15e5f3['indexOf'](_0x40c862)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x3a15df){let _0x47eec8=!0x1;for(let _0x28ad82=0x0;_0x28ad82<_0x3a15df['length'];_0x28ad82++){let _0x1079fb=_0x3a15df[_0x28ad82];_0x1079fb<0x0?_0x28ad82++:this['heightSamples'][Math['floor'](0xa*_0x1079fb)]||(_0x47eec8=!0x0,this['heightSamples'][Math['floor'](0xa*_0x1079fb)]=!0x0);}return _0x47eec8;}['refresh'](_0x533d92,_0x2c5b6c,_0x15dc35,_0x3078da,_0xf8c82a,_0x5ce468){let _0x5958a7=_0x15e5f3['indexOf'](_0x533d92)>-0x1,_0x279a47=Math['round'](_0x2c5b6c)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x5958a7;if(this['lineWrapping']=_0x5958a7,this['lineHeight']=_0x2c5b6c,this['charWidth']=_0x15dc35,this['textHeight']=_0x3078da,this['lineLength']=_0xf8c82a,_0x279a47){this['heightSamples']={};for(let _0x17092e=0x0;_0x17092e<_0x5ce468['length'];_0x17092e++){let _0x4ce777=_0x5ce468[_0x17092e];_0x4ce777<0x0?_0x17092e++:this['heightSamples'][Math['floor'](0xa*_0x4ce777)]=!0x0;}}return _0x279a47;}}class MeasuredHeights{constructor(_0x392461,_0x5918c7){this['from']=_0x392461,this['heights']=_0x5918c7,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x231a82{constructor(_0x4cc3c1,_0x2372e4,_0x13b1a5,_0x5cb1d8,_0x55f1ef){this['from']=_0x4cc3c1,this['length']=_0x2372e4,this['top']=_0x13b1a5,this['height']=_0x5cb1d8,this['_content']=_0x55f1ef;}get['type'](){return'number'==typeof this['_content']?_0x5ed1bf['Text']:Array['isArray'](this['_content'])?this['_content']:this['_content']['type'];}get['to'](){return this['from']+this['length'];}get['bottom'](){return this['top']+this['height'];}get['widget'](){return this['_content']instanceof PointDecoration?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x124e3d){let _0x907ed3=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x124e3d['_content'])?_0x124e3d['_content']:[_0x124e3d]);return new _0x231a82(this['from'],this['length']+_0x124e3d['length'],this['top'],this['height']+_0x124e3d['height'],_0x907ed3);}}var _0x5e3a91=function(_0x42afae){return _0x42afae[_0x42afae['ByPos']=0x0]='ByPos',_0x42afae[_0x42afae['ByHeight']=0x1]='ByHeight',_0x42afae[_0x42afae['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x42afae;}(_0x5e3a91||(_0x5e3a91={}));const _0x1bc57e=0.001;class HeightMap{constructor(_0x51355e,_0x13218f,_0x275b96=0x2){this['length']=_0x51355e,this['height']=_0x13218f,this['flags']=_0x275b96;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x1fbaf7){this['flags']=(_0x1fbaf7?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x419c44){this['height']!=_0x419c44&&(Math['abs'](this['height']-_0x419c44)>_0x1bc57e&&(_0x5407d6=!0x0),this['height']=_0x419c44);}['replace'](_0x1035d5,_0x4f5251,_0x583b17){return HeightMap['of'](_0x583b17);}['decomposeLeft'](_0x4ce166,_0x459e43){_0x459e43['push'](this);}['decomposeRight'](_0x39a560,_0x513f89){_0x513f89['push'](this);}['applyChanges'](_0x190d98,_0x51a551,_0x5148f4,_0x3381e9){let _0x17db44=this,_0x3f89d9=_0x5148f4['doc'];for(let _0x50fb17=_0x3381e9['length']-0x1;_0x50fb17>=0x0;_0x50fb17--){let {fromA:_0x533e3d,toA:_0x1f83c5,fromB:_0x17e0ad,toB:_0x443f43}=_0x3381e9[_0x50fb17],_0x3e7129=_0x17db44['lineAt'](_0x533e3d,_0x5e3a91['ByPosNoHeight'],_0x5148f4['setDoc'](_0x51a551),0x0,0x0),_0x12a47f=_0x3e7129['to']>=_0x1f83c5?_0x3e7129:_0x17db44['lineAt'](_0x1f83c5,_0x5e3a91['ByPosNoHeight'],_0x5148f4,0x0,0x0);for(_0x443f43+=_0x12a47f['to']-_0x1f83c5,_0x1f83c5=_0x12a47f['to'];_0x50fb17>0x0&&_0x3e7129['from']<=_0x3381e9[_0x50fb17-0x1]['toA'];)_0x533e3d=_0x3381e9[_0x50fb17-0x1]['fromA'],_0x17e0ad=_0x3381e9[_0x50fb17-0x1]['fromB'],_0x50fb17--,_0x533e3d<_0x3e7129['from']&&(_0x3e7129=_0x17db44['lineAt'](_0x533e3d,_0x5e3a91['ByPosNoHeight'],_0x5148f4,0x0,0x0));_0x17e0ad+=_0x3e7129['from']-_0x533e3d,_0x533e3d=_0x3e7129['from'];let _0x32bd15=_0x32d574['build'](_0x5148f4['setDoc'](_0x3f89d9),_0x190d98,_0x17e0ad,_0x443f43);_0x17db44=_0xa13174(_0x17db44,_0x17db44['replace'](_0x533e3d,_0x1f83c5,_0x32bd15));}return _0x17db44['updateHeight'](_0x5148f4,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x3a7209){if(0x1==_0x3a7209['length'])return _0x3a7209[0x0];let _0x4c8ae5=0x0,_0x32245e=_0x3a7209['length'],_0x4c9958=0x0,_0x1ff560=0x0;for(;;)if(_0x4c8ae5==_0x32245e){if(_0x4c9958>0x2*_0x1ff560){let _0xc3ca86=_0x3a7209[_0x4c8ae5-0x1];_0xc3ca86['break']?_0x3a7209['splice'](--_0x4c8ae5,0x1,_0xc3ca86['left'],null,_0xc3ca86['right']):_0x3a7209['splice'](--_0x4c8ae5,0x1,_0xc3ca86['left'],_0xc3ca86['right']),_0x32245e+=0x1+_0xc3ca86['break'],_0x4c9958-=_0xc3ca86['size'];}else{if(!(_0x1ff560>0x2*_0x4c9958))break;{let _0x354a8e=_0x3a7209[_0x32245e];_0x354a8e['break']?_0x3a7209['splice'](_0x32245e,0x1,_0x354a8e['left'],null,_0x354a8e['right']):_0x3a7209['splice'](_0x32245e,0x1,_0x354a8e['left'],_0x354a8e['right']),_0x32245e+=0x2+_0x354a8e['break'],_0x1ff560-=_0x354a8e['size'];}}}else{if(_0x4c9958<_0x1ff560){let _0x39f5d7=_0x3a7209[_0x4c8ae5++];_0x39f5d7&&(_0x4c9958+=_0x39f5d7['size']);}else{let _0x254162=_0x3a7209[--_0x32245e];_0x254162&&(_0x1ff560+=_0x254162['size']);}}let _0x5258cf=0x0;return null==_0x3a7209[_0x4c8ae5-0x1]?(_0x5258cf=0x1,_0x4c8ae5--):null==_0x3a7209[_0x4c8ae5]&&(_0x5258cf=0x1,_0x32245e++),new HeightMapBranch(HeightMap['of'](_0x3a7209['slice'](0x0,_0x4c8ae5)),_0x5258cf,HeightMap['of'](_0x3a7209['slice'](_0x32245e)));}}function _0xa13174(_0xcb9371,_0x163c3d){return _0xcb9371==_0x163c3d?_0xcb9371:(_0xcb9371['constructor']!=_0x163c3d['constructor']&&(_0x5407d6=!0x0),_0x163c3d);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x15ae33,_0x52bdaf,_0x48d3e3){super(_0x15ae33,_0x52bdaf),this['deco']=_0x48d3e3;}['blockAt'](_0x2c38e6,_0x255fa1,_0x547dcb,_0x4a1e02){return new _0x231a82(_0x4a1e02,this['length'],_0x547dcb,this['height'],this['deco']||0x0);}['lineAt'](_0x4ad403,_0x38540a,_0x25471a,_0x5ca31a,_0x37d8ab){return this['blockAt'](0x0,_0x25471a,_0x5ca31a,_0x37d8ab);}['forEachLine'](_0x48d9f9,_0x296f83,_0x59adbc,_0x41ebcc,_0x524d79,_0x2e9785){_0x48d9f9<=_0x524d79+this['length']&&_0x296f83>=_0x524d79&&_0x2e9785(this['blockAt'](0x0,_0x59adbc,_0x41ebcc,_0x524d79));}['updateHeight'](_0x5a97a4,_0x4147cd=0x0,_0xc2bc94=!0x1,_0x52757c){return _0x52757c&&_0x52757c['from']<=_0x4147cd&&_0x52757c['more']&&this['setHeight'](_0x52757c['heights'][_0x52757c['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x303959,_0x105d71){super(_0x303959,_0x105d71,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x39466e,_0x5682e7,_0x46bb0b,_0x341979){return new _0x231a82(_0x341979,this['length'],_0x46bb0b,this['height'],this['breaks']);}['replace'](_0x25aaac,_0x4a630c,_0x521d7f){let _0x1dc6a8=_0x521d7f[0x0];return 0x1==_0x521d7f['length']&&(_0x1dc6a8 instanceof HeightMapText||_0x1dc6a8 instanceof HeightMapGap&&0x4&_0x1dc6a8['flags'])&&Math['abs'](this['length']-_0x1dc6a8['length'])<0xa?(_0x1dc6a8 instanceof HeightMapGap?_0x1dc6a8=new HeightMapText(_0x1dc6a8['length'],this['height']):_0x1dc6a8['height']=this['height'],this['outdated']||(_0x1dc6a8['outdated']=!0x1),_0x1dc6a8):HeightMap['of'](_0x521d7f);}['updateHeight'](_0xf6d3ec,_0x70ac4c=0x0,_0x4ea292=!0x1,_0x2a2e8f){return _0x2a2e8f&&_0x2a2e8f['from']<=_0x70ac4c&&_0x2a2e8f['more']?this['setHeight'](_0x2a2e8f['heights'][_0x2a2e8f['index']++]):(_0x4ea292||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0xf6d3ec['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0xf6d3ec['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x2d4367){super(_0x2d4367,0x0);}['heightMetrics'](_0x5bbe2d,_0x447f4f){let _0x52c5eb,_0x314080=_0x5bbe2d['doc']['lineAt'](_0x447f4f)['number'],_0x2b4ebd=_0x5bbe2d['doc']['lineAt'](_0x447f4f+this['length'])['number'],_0x2517b4=_0x2b4ebd-_0x314080+0x1,_0x37d1b3=0x0;if(_0x5bbe2d['lineWrapping']){let _0x547a08=Math['min'](this['height'],_0x5bbe2d['lineHeight']*_0x2517b4);_0x52c5eb=_0x547a08/_0x2517b4,this['length']>_0x2517b4+0x1&&(_0x37d1b3=(this['height']-_0x547a08)/(this['length']-_0x2517b4-0x1));}else _0x52c5eb=this['height']/_0x2517b4;return{'firstLine':_0x314080,'lastLine':_0x2b4ebd,'perLine':_0x52c5eb,'perChar':_0x37d1b3};}['blockAt'](_0x33a32c,_0x318053,_0x258c27,_0x1b969d){let {firstLine:_0x5c5892,lastLine:_0x3e42cd,perLine:_0x48f958,perChar:_0x3b0144}=this['heightMetrics'](_0x318053,_0x1b969d);if(_0x318053['lineWrapping']){let _0x4d7555=_0x1b969d+(_0x33a32c<_0x318053['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x33a32c-_0x258c27)/this['height']))*this['length'])),_0x359664=_0x318053['doc']['lineAt'](_0x4d7555),_0x1da461=_0x48f958+_0x359664['length']*_0x3b0144,_0x4d6089=Math['max'](_0x258c27,_0x33a32c-_0x1da461/0x2);return new _0x231a82(_0x359664['from'],_0x359664['length'],_0x4d6089,_0x1da461,0x0);}{let _0x4ffdcf=Math['max'](0x0,Math['min'](_0x3e42cd-_0x5c5892,Math['floor']((_0x33a32c-_0x258c27)/_0x48f958))),{from:_0x4d51f6,length:_0x3fac03}=_0x318053['doc']['line'](_0x5c5892+_0x4ffdcf);return new _0x231a82(_0x4d51f6,_0x3fac03,_0x258c27+_0x48f958*_0x4ffdcf,_0x48f958,0x0);}}['lineAt'](_0x4c20d8,_0x5e2162,_0x4c9c08,_0x20ce30,_0x1fa0b5){if(_0x5e2162==_0x5e3a91['ByHeight'])return this['blockAt'](_0x4c20d8,_0x4c9c08,_0x20ce30,_0x1fa0b5);if(_0x5e2162==_0x5e3a91['ByPosNoHeight']){let {from:_0x58601b,to:_0x4e1641}=_0x4c9c08['doc']['lineAt'](_0x4c20d8);return new _0x231a82(_0x58601b,_0x4e1641-_0x58601b,0x0,0x0,0x0);}let {firstLine:_0x4dad5b,perLine:_0x184e35,perChar:_0x48e622}=this['heightMetrics'](_0x4c9c08,_0x1fa0b5),_0x4ab591=_0x4c9c08['doc']['lineAt'](_0x4c20d8),_0x59142b=_0x184e35+_0x4ab591['length']*_0x48e622,_0x1d23db=_0x4ab591['number']-_0x4dad5b,_0x2fd046=_0x20ce30+_0x184e35*_0x1d23db+_0x48e622*(_0x4ab591['from']-_0x1fa0b5-_0x1d23db);return new _0x231a82(_0x4ab591['from'],_0x4ab591['length'],Math['max'](_0x20ce30,Math['min'](_0x2fd046,_0x20ce30+this['height']-_0x59142b)),_0x59142b,0x0);}['forEachLine'](_0xac815b,_0x1224fd,_0x574c15,_0xac5b57,_0x389497,_0x3da133){_0xac815b=Math['max'](_0xac815b,_0x389497),_0x1224fd=Math['min'](_0x1224fd,_0x389497+this['length']);let {firstLine:_0x28be02,perLine:_0x322d73,perChar:_0x49bb29}=this['heightMetrics'](_0x574c15,_0x389497);for(let _0x321539=_0xac815b,_0x5af84a=_0xac5b57;_0x321539<=_0x1224fd;){let _0x13e868=_0x574c15['doc']['lineAt'](_0x321539);if(_0x321539==_0xac815b){let _0x2798b4=_0x13e868['number']-_0x28be02;_0x5af84a+=_0x322d73*_0x2798b4+_0x49bb29*(_0xac815b-_0x389497-_0x2798b4);}let _0x1e68b5=_0x322d73+_0x49bb29*_0x13e868['length'];_0x3da133(new _0x231a82(_0x13e868['from'],_0x13e868['length'],_0x5af84a,_0x1e68b5,0x0)),_0x5af84a+=_0x1e68b5,_0x321539=_0x13e868['to']+0x1;}}['replace'](_0x5081bd,_0x20fa1b,_0x23e300){let _0x5e33ce=this['length']-_0x20fa1b;if(_0x5e33ce>0x0){let _0x13eac5=_0x23e300[_0x23e300['length']-0x1];_0x13eac5 instanceof HeightMapGap?_0x23e300[_0x23e300['length']-0x1]=new HeightMapGap(_0x13eac5['length']+_0x5e33ce):_0x23e300['push'](null,new HeightMapGap(_0x5e33ce-0x1));}if(_0x5081bd>0x0){let _0x482315=_0x23e300[0x0];_0x482315 instanceof HeightMapGap?_0x23e300[0x0]=new HeightMapGap(_0x5081bd+_0x482315['length']):_0x23e300['unshift'](new HeightMapGap(_0x5081bd-0x1),null);}return HeightMap['of'](_0x23e300);}['decomposeLeft'](_0xf61d99,_0x3b4aa6){_0x3b4aa6['push'](new HeightMapGap(_0xf61d99-0x1),null);}['decomposeRight'](_0x57d68a,_0x1b1d14){_0x1b1d14['push'](null,new HeightMapGap(this['length']-_0x57d68a-0x1));}['updateHeight'](_0x20f547,_0x18e9c1=0x0,_0x2916ca=!0x1,_0x4010ea){let _0x3c7162=_0x18e9c1+this['length'];if(_0x4010ea&&_0x4010ea['from']<=_0x18e9c1+this['length']&&_0x4010ea['more']){let _0x5a9545=[],_0x26adc0=Math['max'](_0x18e9c1,_0x4010ea['from']),_0x2ddf88=-0x1;for(_0x4010ea['from']>_0x18e9c1&&_0x5a9545['push'](new HeightMapGap(_0x4010ea['from']-_0x18e9c1-0x1)['updateHeight'](_0x20f547,_0x18e9c1));_0x26adc0<=_0x3c7162&&_0x4010ea['more'];){let _0x31f090=_0x20f547['doc']['lineAt'](_0x26adc0)['length'];_0x5a9545['length']&&_0x5a9545['push'](null);let _0x327872=_0x4010ea['heights'][_0x4010ea['index']++];-0x1==_0x2ddf88?_0x2ddf88=_0x327872:Math['abs'](_0x327872-_0x2ddf88)>=_0x1bc57e&&(_0x2ddf88=-0x2);let _0x5ba581=new HeightMapText(_0x31f090,_0x327872);_0x5ba581['outdated']=!0x1,_0x5a9545['push'](_0x5ba581),_0x26adc0+=_0x31f090+0x1;}_0x26adc0<=_0x3c7162&&_0x5a9545['push'](null,new HeightMapGap(_0x3c7162-_0x26adc0)['updateHeight'](_0x20f547,_0x26adc0));let _0x5e9b5f=HeightMap['of'](_0x5a9545);return(_0x2ddf88<0x0||Math['abs'](_0x5e9b5f['height']-this['height'])>=_0x1bc57e||Math['abs'](_0x2ddf88-this['heightMetrics'](_0x20f547,_0x18e9c1)['perLine'])>=_0x1bc57e)&&(_0x5407d6=!0x0),_0xa13174(this,_0x5e9b5f);}return(_0x2916ca||this['outdated'])&&(this['setHeight'](_0x20f547['heightForGap'](_0x18e9c1,_0x18e9c1+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x581d2c,_0x4b5b46,_0x5aea7b){super(_0x581d2c['length']+_0x4b5b46+_0x5aea7b['length'],_0x581d2c['height']+_0x5aea7b['height'],_0x4b5b46|(_0x581d2c['outdated']||_0x5aea7b['outdated']?0x2:0x0)),this['left']=_0x581d2c,this['right']=_0x5aea7b,this['size']=_0x581d2c['size']+_0x5aea7b['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x33434e,_0x42cc62,_0x34c53b,_0x4cd67f){let _0x489aa0=_0x34c53b+this['left']['height'];return _0x33434e<_0x489aa0?this['left']['blockAt'](_0x33434e,_0x42cc62,_0x34c53b,_0x4cd67f):this['right']['blockAt'](_0x33434e,_0x42cc62,_0x489aa0,_0x4cd67f+this['left']['length']+this['break']);}['lineAt'](_0x1a2000,_0x185c40,_0x30e8cb,_0x55260f,_0x290c6f){let _0x8406d6=_0x55260f+this['left']['height'],_0x3dbcb8=_0x290c6f+this['left']['length']+this['break'],_0x97ac41=_0x185c40==_0x5e3a91['ByHeight']?_0x1a2000<_0x8406d6:_0x1a2000<_0x3dbcb8,_0xa712ce=_0x97ac41?this['left']['lineAt'](_0x1a2000,_0x185c40,_0x30e8cb,_0x55260f,_0x290c6f):this['right']['lineAt'](_0x1a2000,_0x185c40,_0x30e8cb,_0x8406d6,_0x3dbcb8);if(this['break']||(_0x97ac41?_0xa712ce['to']<_0x3dbcb8:_0xa712ce['from']>_0x3dbcb8))return _0xa712ce;let _0x281f02=_0x185c40==_0x5e3a91['ByPosNoHeight']?_0x5e3a91['ByPosNoHeight']:_0x5e3a91['ByPos'];return _0x97ac41?_0xa712ce['join'](this['right']['lineAt'](_0x3dbcb8,_0x281f02,_0x30e8cb,_0x8406d6,_0x3dbcb8)):this['left']['lineAt'](_0x3dbcb8,_0x281f02,_0x30e8cb,_0x55260f,_0x290c6f)['join'](_0xa712ce);}['forEachLine'](_0x2d7de6,_0x30f312,_0x490c30,_0x2f85c8,_0x296775,_0x3ec187){let _0x231930=_0x2f85c8+this['left']['height'],_0x26e174=_0x296775+this['left']['length']+this['break'];if(this['break'])_0x2d7de6<_0x26e174&&this['left']['forEachLine'](_0x2d7de6,_0x30f312,_0x490c30,_0x2f85c8,_0x296775,_0x3ec187),_0x30f312>=_0x26e174&&this['right']['forEachLine'](_0x2d7de6,_0x30f312,_0x490c30,_0x231930,_0x26e174,_0x3ec187);else{let _0x2368f0=this['lineAt'](_0x26e174,_0x5e3a91['ByPos'],_0x490c30,_0x2f85c8,_0x296775);_0x2d7de6<_0x2368f0['from']&&this['left']['forEachLine'](_0x2d7de6,_0x2368f0['from']-0x1,_0x490c30,_0x2f85c8,_0x296775,_0x3ec187),_0x2368f0['to']>=_0x2d7de6&&_0x2368f0['from']<=_0x30f312&&_0x3ec187(_0x2368f0),_0x30f312>_0x2368f0['to']&&this['right']['forEachLine'](_0x2368f0['to']+0x1,_0x30f312,_0x490c30,_0x231930,_0x26e174,_0x3ec187);}}['replace'](_0x25da51,_0x1ee2dd,_0x46d6d3){let _0x332052=this['left']['length']+this['break'];if(_0x1ee2dd<_0x332052)return this['balanced'](this['left']['replace'](_0x25da51,_0x1ee2dd,_0x46d6d3),this['right']);if(_0x25da51>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x25da51-_0x332052,_0x1ee2dd-_0x332052,_0x46d6d3));let _0x2d55fd=[];_0x25da51>0x0&&this['decomposeLeft'](_0x25da51,_0x2d55fd);let _0x48bbc8=_0x2d55fd['length'];for(let _0x14df1d of _0x46d6d3)_0x2d55fd['push'](_0x14df1d);if(_0x25da51>0x0&&_0x488c65(_0x2d55fd,_0x48bbc8-0x1),_0x1ee2dd<this['length']){let _0x4ba27d=_0x2d55fd['length'];this['decomposeRight'](_0x1ee2dd,_0x2d55fd),_0x488c65(_0x2d55fd,_0x4ba27d);}return HeightMap['of'](_0x2d55fd);}['decomposeLeft'](_0x5858fa,_0x17837c){let _0x32697d=this['left']['length'];if(_0x5858fa<=_0x32697d)return this['left']['decomposeLeft'](_0x5858fa,_0x17837c);_0x17837c['push'](this['left']),this['break']&&(_0x32697d++,_0x5858fa>=_0x32697d&&_0x17837c['push'](null)),_0x5858fa>_0x32697d&&this['right']['decomposeLeft'](_0x5858fa-_0x32697d,_0x17837c);}['decomposeRight'](_0x4b30ad,_0x4bf772){let _0x2315aa=this['left']['length'],_0x833feb=_0x2315aa+this['break'];if(_0x4b30ad>=_0x833feb)return this['right']['decomposeRight'](_0x4b30ad-_0x833feb,_0x4bf772);_0x4b30ad<_0x2315aa&&this['left']['decomposeRight'](_0x4b30ad,_0x4bf772),this['break']&&_0x4b30ad<_0x833feb&&_0x4bf772['push'](null),_0x4bf772['push'](this['right']);}['balanced'](_0x1c9767,_0x32f509){return _0x1c9767['size']>0x2*_0x32f509['size']||_0x32f509['size']>0x2*_0x1c9767['size']?HeightMap['of'](this['break']?[_0x1c9767,null,_0x32f509]:[_0x1c9767,_0x32f509]):(this['left']=_0xa13174(this['left'],_0x1c9767),this['right']=_0xa13174(this['right'],_0x32f509),this['setHeight'](_0x1c9767['height']+_0x32f509['height']),this['outdated']=_0x1c9767['outdated']||_0x32f509['outdated'],this['size']=_0x1c9767['size']+_0x32f509['size'],this['length']=_0x1c9767['length']+this['break']+_0x32f509['length'],this);}['updateHeight'](_0x47955c,_0x1dccac=0x0,_0x38c8b7=!0x1,_0x4fb4a7){let {left:_0x3190bc,right:_0x4c8bb4}=this,_0x5bc502=_0x1dccac+_0x3190bc['length']+this['break'],_0x1b701e=null;return _0x4fb4a7&&_0x4fb4a7['from']<=_0x1dccac+_0x3190bc['length']&&_0x4fb4a7['more']?_0x1b701e=_0x3190bc=_0x3190bc['updateHeight'](_0x47955c,_0x1dccac,_0x38c8b7,_0x4fb4a7):_0x3190bc['updateHeight'](_0x47955c,_0x1dccac,_0x38c8b7),_0x4fb4a7&&_0x4fb4a7['from']<=_0x5bc502+_0x4c8bb4['length']&&_0x4fb4a7['more']?_0x1b701e=_0x4c8bb4=_0x4c8bb4['updateHeight'](_0x47955c,_0x5bc502,_0x38c8b7,_0x4fb4a7):_0x4c8bb4['updateHeight'](_0x47955c,_0x5bc502,_0x38c8b7),_0x1b701e?this['balanced'](_0x3190bc,_0x4c8bb4):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x488c65(_0x22d967,_0x1c2f34){let _0x41468c,_0x19c161;null==_0x22d967[_0x1c2f34]&&(_0x41468c=_0x22d967[_0x1c2f34-0x1])instanceof HeightMapGap&&(_0x19c161=_0x22d967[_0x1c2f34+0x1])instanceof HeightMapGap&&_0x22d967['splice'](_0x1c2f34-0x1,0x3,new HeightMapGap(_0x41468c['length']+0x1+_0x19c161['length']));}class _0x32d574{constructor(_0x8c35ef,_0x346ee4){this['pos']=_0x8c35ef,this['oracle']=_0x346ee4,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x8c35ef;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x29e095,_0x5de3f5){if(this['lineStart']>-0x1){let _0x4a543c=Math['min'](_0x5de3f5,this['lineEnd']),_0x1d4bc9=this['nodes'][this['nodes']['length']-0x1];_0x1d4bc9 instanceof HeightMapText?_0x1d4bc9['length']+=_0x4a543c-this['pos']:(_0x4a543c>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x4a543c-this['pos'],-0x1)),this['writtenTo']=_0x4a543c,_0x5de3f5>_0x4a543c&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x5de3f5;}['point'](_0xe69e64,_0x260b0a,_0x499395){if(_0xe69e64<_0x260b0a||_0x499395['heightRelevant']){let _0x1794a7=_0x499395['widget']?_0x499395['widget']['estimatedHeight']:0x0,_0x39bdc5=_0x499395['widget']?_0x499395['widget']['lineBreaks']:0x0;_0x1794a7<0x0&&(_0x1794a7=this['oracle']['lineHeight']);let _0x1acec7=_0x260b0a-_0xe69e64;_0x499395['block']?this['addBlock'](new HeightMapBlock(_0x1acec7,_0x1794a7,_0x499395)):(_0x1acec7||_0x39bdc5||_0x1794a7>=0x5)&&this['addLineDeco'](_0x1794a7,_0x39bdc5,_0x1acec7);}else _0x260b0a>_0xe69e64&&this['span'](_0xe69e64,_0x260b0a);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x42f748,to:_0x3baff7}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x42f748,this['lineEnd']=_0x3baff7,this['writtenTo']<_0x42f748&&((this['writtenTo']<_0x42f748-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x42f748-0x1)),this['nodes']['push'](null)),this['pos']>_0x42f748&&this['nodes']['push'](new HeightMapText(this['pos']-_0x42f748,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x422dd0,_0x1a9644){let _0x41f26d=new HeightMapGap(_0x1a9644-_0x422dd0);return this['oracle']['doc']['lineAt'](_0x422dd0)['to']==_0x1a9644&&(_0x41f26d['flags']|=0x4),_0x41f26d;}['ensureLine'](){this['enterLine']();let _0x4753f9=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x4753f9 instanceof HeightMapText)return _0x4753f9;let _0x22c78e=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x22c78e),_0x22c78e;}['addBlock'](_0xa73bbe){this['enterLine']();let _0x31e840=_0xa73bbe['deco'];_0x31e840&&_0x31e840['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0xa73bbe),this['writtenTo']=this['pos']=this['pos']+_0xa73bbe['length'],_0x31e840&&_0x31e840['endSide']>0x0&&(this['covering']=_0xa73bbe);}['addLineDeco'](_0x506902,_0x2173ae,_0x53dd04){let _0x3dd1f4=this['ensureLine']();_0x3dd1f4['length']+=_0x53dd04,_0x3dd1f4['collapsed']+=_0x53dd04,_0x3dd1f4['widgetHeight']=Math['max'](_0x3dd1f4['widgetHeight'],_0x506902),_0x3dd1f4['breaks']+=_0x2173ae,this['writtenTo']=this['pos']=this['pos']+_0x53dd04;}['finish'](_0x16e8fa){let _0x2c9b17=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x2c9b17 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x2c9b17)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x53bb23=_0x16e8fa;for(let _0x252be9 of this['nodes'])_0x252be9 instanceof HeightMapText&&_0x252be9['updateHeight'](this['oracle'],_0x53bb23),_0x53bb23+=_0x252be9?_0x252be9['length']:0x1;return this['nodes'];}static['build'](_0x21af92,_0x3265d2,_0x2342bd,_0x223781){let _0x45f4e8=new _0x32d574(_0x2342bd,_0x21af92);return RangeSet['spans'](_0x3265d2,_0x2342bd,_0x223781,_0x45f4e8,0x0),_0x45f4e8['finish'](_0x2342bd);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x3ea66e,_0x52fa2c,_0x354d42,_0x47ac23){(_0x3ea66e<_0x52fa2c||_0x354d42&&_0x354d42['heightRelevant']||_0x47ac23&&_0x47ac23['heightRelevant'])&&_0x40a066(_0x3ea66e,_0x52fa2c,this['changes'],0x5);}}function _0x157f02(_0x2ee24b,_0xaaeb18){let _0x35fbdd=_0x2ee24b['getBoundingClientRect'](),_0x5179db=_0x2ee24b['ownerDocument'],_0xee0978=_0x5179db['defaultView']||window,_0x174bf5=Math['max'](0x0,_0x35fbdd['left']),_0x3ca9f3=Math['min'](_0xee0978['innerWidth'],_0x35fbdd['right']),_0x2e83d1=Math['max'](0x0,_0x35fbdd['top']),_0x3a37f8=Math['min'](_0xee0978['innerHeight'],_0x35fbdd['bottom']);for(let _0x21e3b6=_0x2ee24b['parentNode'];_0x21e3b6&&_0x21e3b6!=_0x5179db['body'];)if(0x1==_0x21e3b6['nodeType']){let _0x34df04=_0x21e3b6,_0x1ed2e3=window['getComputedStyle'](_0x34df04);if((_0x34df04['scrollHeight']>_0x34df04['clientHeight']||_0x34df04['scrollWidth']>_0x34df04['clientWidth'])&&'visible'!=_0x1ed2e3['overflow']){let _0x4180d6=_0x34df04['getBoundingClientRect']();_0x174bf5=Math['max'](_0x174bf5,_0x4180d6['left']),_0x3ca9f3=Math['min'](_0x3ca9f3,_0x4180d6['right']),_0x2e83d1=Math['max'](_0x2e83d1,_0x4180d6['top']),_0x3a37f8=Math['min'](_0x21e3b6==_0x2ee24b['parentNode']?_0xee0978['innerHeight']:_0x3a37f8,_0x4180d6['bottom']);}_0x21e3b6='absolute'==_0x1ed2e3['position']||'fixed'==_0x1ed2e3['position']?_0x34df04['offsetParent']:_0x34df04['parentNode'];}else{if(0xb!=_0x21e3b6['nodeType'])break;_0x21e3b6=_0x21e3b6['host'];}return{'left':_0x174bf5-_0x35fbdd['left'],'right':Math['max'](_0x174bf5,_0x3ca9f3)-_0x35fbdd['left'],'top':_0x2e83d1-(_0x35fbdd['top']+_0xaaeb18),'bottom':Math['max'](_0x2e83d1,_0x3a37f8)-(_0x35fbdd['top']+_0xaaeb18)};}function _0x5996e8(_0x359ec3,_0x5bda0a){let _0x4618d1=_0x359ec3['getBoundingClientRect']();return{'left':0x0,'right':_0x4618d1['right']-_0x4618d1['left'],'top':_0x5bda0a,'bottom':_0x4618d1['bottom']-(_0x4618d1['top']+_0x5bda0a)};}class _0x423074{constructor(_0x278849,_0x873c06,_0x3fdd85,_0x21ce24){this['from']=_0x278849,this['to']=_0x873c06,this['size']=_0x3fdd85,this['displaySize']=_0x21ce24;}static['same'](_0x2ddc5a,_0x2bcf02){if(_0x2ddc5a['length']!=_0x2bcf02['length'])return!0x1;for(let _0xa9d376=0x0;_0xa9d376<_0x2ddc5a['length'];_0xa9d376++){let _0x346962=_0x2ddc5a[_0xa9d376],_0x6d4110=_0x2bcf02[_0xa9d376];if(_0x346962['from']!=_0x6d4110['from']||_0x346962['to']!=_0x6d4110['to']||_0x346962['size']!=_0x6d4110['size'])return!0x1;}return!0x0;}['draw'](_0x178495,_0x1e87e0){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x1e87e0?_0x178495['scaleY']:_0x178495['scaleX']),_0x1e87e0)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x5e1206,_0x4edfed){super(),this['size']=_0x5e1206,this['vertical']=_0x4edfed;}['eq'](_0x2c5002){return _0x2c5002['size']==this['size']&&_0x2c5002['vertical']==this['vertical'];}['toDOM'](){let _0x2b0bcd=document['createElement']('div');return this['vertical']?_0x2b0bcd['style']['height']=this['size']+'px':(_0x2b0bcd['style']['width']=this['size']+'px',_0x2b0bcd['style']['height']='2px',_0x2b0bcd['style']['display']='inline-block'),_0x2b0bcd;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x1203e3){this['state']=_0x1203e3,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scrollTop']=0x0,this['scrolledToBottom']=!0x1,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=_0x2e6d76,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=_0x5d0416['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x31e675=_0x1203e3['facet'](_0x2cfbe5)['some'](_0x56f000=>'function'!=typeof _0x56f000&&'cm-lineWrapping'==_0x56f000['class']);this['heightOracle']=new HeightOracle(_0x31e675),this['stateDeco']=_0x1203e3['facet'](_0x3f2eb0)['filter'](_0x30906b=>'function'!=typeof _0x30906b),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],_0x9ec70d['empty'],this['heightOracle']['setDoc'](_0x1203e3['doc']),[new _0x752a26(0x0,0x0,0x0,_0x1203e3['doc']['length'])]);for(let _0x3b1eae=0x0;_0x3b1eae<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x3b1eae++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x1fa814=>_0x1fa814['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x475430=[this['viewport']],{main:_0x12176a}=this['state']['selection'];for(let _0x8b7612=0x0;_0x8b7612<=0x1;_0x8b7612++){let _0x16bc19=_0x8b7612?_0x12176a['head']:_0x12176a['anchor'];if(!_0x475430['some'](({from:_0x1a3dcf,to:_0x34d53a})=>_0x16bc19>=_0x1a3dcf&&_0x16bc19<=_0x34d53a)){let {from:_0xf057ff,to:_0x26d347}=this['lineBlockAt'](_0x16bc19);_0x475430['push'](new Viewport(_0xf057ff,_0x26d347));}}return this['viewports']=_0x475430['sort']((_0x529b9b,_0x51034a)=>_0x529b9b['from']-_0x51034a['from']),this['updateScaler']();}['updateScaler'](){let _0x5a0dc8=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x2e6d76:new _0x24986f(this['heightOracle'],this['heightMap'],this['viewports']),_0x5a0dc8['eq'](this['scaler'])?0x0:0x2;}['updateViewportLines'](){this['viewportLines']=[],this['heightMap']['forEachLine'](this['viewport']['from'],this['viewport']['to'],this['heightOracle']['setDoc'](this['state']['doc']),0x0,0x0,_0x14b8f5=>{this['viewportLines']['push'](_0x616629(_0x14b8f5,this['scaler']));});}['update'](_0x1ecf86,_0x523302=null){this['state']=_0x1ecf86['state'];let _0x5861f1=this['stateDeco'];this['stateDeco']=this['state']['facet'](_0x3f2eb0)['filter'](_0x215c9e=>'function'!=typeof _0x215c9e);let _0x9a9e57=_0x1ecf86['changedRanges'],_0x2236d6=_0x752a26['extendWithRanges'](_0x9a9e57,function(_0x3ab1b0,_0x146a32,_0x20f7ba){let _0x62be88=new DecorationComparator();return RangeSet['compare'](_0x3ab1b0,_0x146a32,_0x20f7ba,_0x62be88,0x0),_0x62be88['changes'];}(_0x5861f1,this['stateDeco'],_0x1ecf86?_0x1ecf86['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x26d819=this['heightMap']['height'],_0x383614=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);_0x24c90d(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x1ecf86['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x2236d6),(this['heightMap']['height']!=_0x26d819||_0x5407d6)&&(_0x1ecf86['flags']|=0x2),_0x383614?(this['scrollAnchorPos']=_0x1ecf86['changes']['mapPos'](_0x383614['from'],-0x1),this['scrollAnchorHeight']=_0x383614['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x26d819);let _0x24b758=_0x2236d6['length']?this['mapViewport'](this['viewport'],_0x1ecf86['changes']):this['viewport'];(_0x523302&&(_0x523302['range']['head']<_0x24b758['from']||_0x523302['range']['head']>_0x24b758['to'])||!this['viewportIsAppropriate'](_0x24b758))&&(_0x24b758=this['getViewport'](0x0,_0x523302));let _0x464a27=_0x24b758['from']!=this['viewport']['from']||_0x24b758['to']!=this['viewport']['to'];this['viewport']=_0x24b758,_0x1ecf86['flags']|=this['updateForViewport'](),(_0x464a27||!_0x1ecf86['changes']['empty']||0x2&_0x1ecf86['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x1ecf86['changes']))),_0x1ecf86['flags']|=this['computeVisibleRanges'](_0x1ecf86['changes']),_0x523302&&(this['scrollTarget']=_0x523302),!this['mustEnforceCursorAssoc']&&_0x1ecf86['selectionSet']&&_0x1ecf86['view']['lineWrapping']&&_0x1ecf86['state']['selection']['main']['empty']&&_0x1ecf86['state']['selection']['main']['assoc']&&!_0x1ecf86['state']['facet'](_0x40b5b4)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x10d88a){let _0x10af2d=_0x10d88a['contentDOM'],_0x3a8214=window['getComputedStyle'](_0x10af2d),_0xb9ade2=this['heightOracle'],_0x7cfb9f=_0x3a8214['whiteSpace'];this['defaultTextDirection']='rtl'==_0x3a8214['direction']?_0x5d0416['RTL']:_0x5d0416['LTR'];let _0x4fe759=this['heightOracle']['mustRefreshForWrapping'](_0x7cfb9f),_0x502989=_0x10af2d['getBoundingClientRect'](),_0xd6b5a=_0x4fe759||this['mustMeasureContent']||this['contentDOMHeight']!=_0x502989['height'];this['contentDOMHeight']=_0x502989['height'],this['mustMeasureContent']=!0x1;let _0x39ec11=0x0,_0x48ec14=0x0;if(_0x502989['width']&&_0x502989['height']){let {scaleX:_0x2e8566,scaleY:_0xcd47d4}=_0xca6a80(_0x10af2d,_0x502989);(_0x2e8566>0.005&&Math['abs'](this['scaleX']-_0x2e8566)>0.005||_0xcd47d4>0.005&&Math['abs'](this['scaleY']-_0xcd47d4)>0.005)&&(this['scaleX']=_0x2e8566,this['scaleY']=_0xcd47d4,_0x39ec11|=0x10,_0x4fe759=_0xd6b5a=!0x0);}let _0x5a50de=(parseInt(_0x3a8214['paddingTop'])||0x0)*this['scaleY'],_0x2557f6=(parseInt(_0x3a8214['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x5a50de&&this['paddingBottom']==_0x2557f6||(this['paddingTop']=_0x5a50de,this['paddingBottom']=_0x2557f6,_0x39ec11|=0x12),this['editorWidth']!=_0x10d88a['scrollDOM']['clientWidth']&&(_0xb9ade2['lineWrapping']&&(_0xd6b5a=!0x0),this['editorWidth']=_0x10d88a['scrollDOM']['clientWidth'],_0x39ec11|=0x10);let _0x54b61f=_0x10d88a['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x54b61f&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x54b61f),this['scrolledToBottom']=_0x23b0be(_0x10d88a['scrollDOM']);let _0x5cb658=(this['printing']?_0x5996e8:_0x157f02)(_0x10af2d,this['paddingTop']),_0xfddbb4=_0x5cb658['top']-this['pixelViewport']['top'],_0x5f0cc9=_0x5cb658['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x5cb658;let _0x44f22a=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x44f22a!=this['inView']&&(this['inView']=_0x44f22a,_0x44f22a&&(_0xd6b5a=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x574ada){let _0x3932f2=_0x574ada['getBoundingClientRect'](),_0xc586a0=_0x574ada['ownerDocument']['defaultView']||window;return _0x3932f2['left']<_0xc586a0['innerWidth']&&_0x3932f2['right']>0x0&&_0x3932f2['top']<_0xc586a0['innerHeight']&&_0x3932f2['bottom']>0x0;}(_0x10d88a['dom']))return 0x0;let _0x29fa2b=_0x502989['width'];if(this['contentDOMWidth']==_0x29fa2b&&this['editorHeight']==_0x10d88a['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x502989['width'],this['editorHeight']=_0x10d88a['scrollDOM']['clientHeight'],_0x39ec11|=0x10),_0xd6b5a){let _0x35f5a3=_0x10d88a['docView']['measureVisibleLineHeights'](this['viewport']);if(_0xb9ade2['mustRefreshForHeights'](_0x35f5a3)&&(_0x4fe759=!0x0),_0x4fe759||_0xb9ade2['lineWrapping']&&Math['abs'](_0x29fa2b-this['contentDOMWidth'])>_0xb9ade2['charWidth']){let {lineHeight:_0x4f3807,charWidth:_0x4981c2,textHeight:_0x557197}=_0x10d88a['docView']['measureTextSize']();_0x4fe759=_0x4f3807>0x0&&_0xb9ade2['refresh'](_0x7cfb9f,_0x4f3807,_0x4981c2,_0x557197,Math['max'](0x5,_0x29fa2b/_0x4981c2),_0x35f5a3),_0x4fe759&&(_0x10d88a['docView']['minWidth']=0x0,_0x39ec11|=0x10);}_0xfddbb4>0x0&&_0x5f0cc9>0x0?_0x48ec14=Math['max'](_0xfddbb4,_0x5f0cc9):_0xfddbb4<0x0&&_0x5f0cc9<0x0&&(_0x48ec14=Math['min'](_0xfddbb4,_0x5f0cc9)),_0x24c90d();for(let _0x2e1d41 of this['viewports']){let _0x554fbd=_0x2e1d41['from']==this['viewport']['from']?_0x35f5a3:_0x10d88a['docView']['measureVisibleLineHeights'](_0x2e1d41);this['heightMap']=(_0x4fe759?HeightMap['empty']()['applyChanges'](this['stateDeco'],_0x9ec70d['empty'],this['heightOracle'],[new _0x752a26(0x0,0x0,0x0,_0x10d88a['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0xb9ade2,0x0,_0x4fe759,new MeasuredHeights(_0x2e1d41['from'],_0x554fbd));}_0x5407d6&&(_0x39ec11|=0x2);}let _0xb9f25f=!this['viewportIsAppropriate'](this['viewport'],_0x48ec14)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0xb9f25f&&(0x2&_0x39ec11&&(_0x39ec11|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x48ec14,this['scrollTarget']),_0x39ec11|=this['updateForViewport']()),(0x2&_0x39ec11||_0xb9f25f)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x4fe759?[]:this['lineGaps'],_0x10d88a)),_0x39ec11|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x10d88a['docView']['enforceCursorAssoc']()),_0x39ec11;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x2460ed,_0x2c0a78){let _0xc8eac9=0.5-Math['max'](-0.5,Math['min'](0.5,_0x2460ed/0x3e8/0x2)),_0x15fb6f=this['heightMap'],_0x4ff472=this['heightOracle'],{visibleTop:_0x10d8e2,visibleBottom:_0x2f45d2}=this,_0x43de94=new Viewport(_0x15fb6f['lineAt'](_0x10d8e2-0x3e8*_0xc8eac9,_0x5e3a91['ByHeight'],_0x4ff472,0x0,0x0)['from'],_0x15fb6f['lineAt'](_0x2f45d2+0x3e8*(0x1-_0xc8eac9),_0x5e3a91['ByHeight'],_0x4ff472,0x0,0x0)['to']);if(_0x2c0a78){let {head:_0x2ed465}=_0x2c0a78['range'];if(_0x2ed465<_0x43de94['from']||_0x2ed465>_0x43de94['to']){let _0x294945,_0x537b54=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x621535=_0x15fb6f['lineAt'](_0x2ed465,_0x5e3a91['ByPos'],_0x4ff472,0x0,0x0);_0x294945='center'==_0x2c0a78['y']?(_0x621535['top']+_0x621535['bottom'])/0x2-_0x537b54/0x2:'start'==_0x2c0a78['y']||'nearest'==_0x2c0a78['y']&&_0x2ed465<_0x43de94['from']?_0x621535['top']:_0x621535['bottom']-_0x537b54,_0x43de94=new Viewport(_0x15fb6f['lineAt'](_0x294945-0x1f4,_0x5e3a91['ByHeight'],_0x4ff472,0x0,0x0)['from'],_0x15fb6f['lineAt'](_0x294945+_0x537b54+0x1f4,_0x5e3a91['ByHeight'],_0x4ff472,0x0,0x0)['to']);}}return _0x43de94;}['mapViewport'](_0xf1611a,_0x3193f1){let _0x73f089=_0x3193f1['mapPos'](_0xf1611a['from'],-0x1),_0x114306=_0x3193f1['mapPos'](_0xf1611a['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x73f089,_0x5e3a91['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x114306,_0x5e3a91['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x450ab4,to:_0x203bf6},_0x46379b=0x0){if(!this['inView'])return!0x0;let {top:_0x4ec76c}=this['heightMap']['lineAt'](_0x450ab4,_0x5e3a91['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0xf85a35}=this['heightMap']['lineAt'](_0x203bf6,_0x5e3a91['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x2e2f69,visibleBottom:_0x3051f2}=this;return(0x0==_0x450ab4||_0x4ec76c<=_0x2e2f69-Math['max'](0xa,Math['min'](-_0x46379b,0xfa)))&&(_0x203bf6==this['state']['doc']['length']||_0xf85a35>=_0x3051f2+Math['max'](0xa,Math['min'](_0x46379b,0xfa)))&&_0x4ec76c>_0x2e2f69-0x7d0&&_0xf85a35<_0x3051f2+0x7d0;}['mapLineGaps'](_0x888b98,_0x37da11){if(!_0x888b98['length']||_0x37da11['empty'])return _0x888b98;let _0x2cce35=[];for(let _0x35b113 of _0x888b98)_0x37da11['touchesRange'](_0x35b113['from'],_0x35b113['to'])||_0x2cce35['push'](new _0x423074(_0x37da11['mapPos'](_0x35b113['from']),_0x37da11['mapPos'](_0x35b113['to']),_0x35b113['size'],_0x35b113['displaySize']));return _0x2cce35;}['ensureLineGaps'](_0x519cb9,_0x5f15ff){let _0x646914=this['heightOracle']['lineWrapping'],_0x1212a5=_0x646914?0x2710:0x7d0,_0x49aa1e=_0x1212a5>>0x1,_0x16dd4=_0x1212a5<<0x1;if(this['defaultTextDirection']!=_0x5d0416['LTR']&&!_0x646914)return[];let _0x377f96=[],_0x1c3b28=(_0x1d099f,_0x41cb10,_0x1527ab,_0x4b446f)=>{if(_0x41cb10-_0x1d099f<_0x49aa1e)return;let _0x2e4a53=this['state']['selection']['main'],_0x5dda45=[_0x2e4a53['from']];_0x2e4a53['empty']||_0x5dda45['push'](_0x2e4a53['to']);for(let _0x34b292 of _0x5dda45)if(_0x34b292>_0x1d099f&&_0x34b292<_0x41cb10)return _0x1c3b28(_0x1d099f,_0x34b292-0xa,_0x1527ab,_0x4b446f),void _0x1c3b28(_0x34b292+0xa,_0x41cb10,_0x1527ab,_0x4b446f);let _0x4313cf=function(_0x5502dd,_0x4136f6){for(let _0x40d198 of _0x5502dd)if(_0x4136f6(_0x40d198))return _0x40d198;return;}(_0x519cb9,_0x394718=>_0x394718['from']>=_0x1527ab['from']&&_0x394718['to']<=_0x1527ab['to']&&Math['abs'](_0x394718['from']-_0x1d099f)<_0x49aa1e&&Math['abs'](_0x394718['to']-_0x41cb10)<_0x49aa1e&&!_0x5dda45['some'](_0x3c10d8=>_0x394718['from']<_0x3c10d8&&_0x394718['to']>_0x3c10d8));if(!_0x4313cf){if(_0x41cb10<_0x1527ab['to']&&_0x5f15ff&&_0x646914&&_0x5f15ff['visibleRanges']['some'](_0x433dde=>_0x433dde['from']<=_0x41cb10&&_0x433dde['to']>=_0x41cb10)){let _0x23c52f=_0x5f15ff['moveToLineBoundary'](EditorSelection['cursor'](_0x41cb10),!0x1,!0x0)['head'];_0x23c52f>_0x1d099f&&(_0x41cb10=_0x23c52f);}let _0x434290=this['gapSize'](_0x1527ab,_0x1d099f,_0x41cb10,_0x4b446f);_0x4313cf=new _0x423074(_0x1d099f,_0x41cb10,_0x434290,_0x646914||_0x434290<0x1e8480?_0x434290:0x1e8480);}_0x377f96['push'](_0x4313cf);},_0x422053=_0x5a26b6=>{if(_0x5a26b6['length']<_0x16dd4||_0x5a26b6['type']!=_0x5ed1bf['Text'])return;let _0x2ef713=function(_0xc725ad,_0x26dc43,_0x6ff4a7){let _0x1282f7=[],_0x4f8936=_0xc725ad,_0x5c8ff9=0x0;return RangeSet['spans'](_0x6ff4a7,_0xc725ad,_0x26dc43,{'span'(){},'point'(_0x5234d0,_0x20805e){_0x5234d0>_0x4f8936&&(_0x1282f7['push']({'from':_0x4f8936,'to':_0x5234d0}),_0x5c8ff9+=_0x5234d0-_0x4f8936),_0x4f8936=_0x20805e;}},0x14),_0x4f8936<_0x26dc43&&(_0x1282f7['push']({'from':_0x4f8936,'to':_0x26dc43}),_0x5c8ff9+=_0x26dc43-_0x4f8936),{'total':_0x5c8ff9,'ranges':_0x1282f7};}(_0x5a26b6['from'],_0x5a26b6['to'],this['stateDeco']);if(_0x2ef713['total']<_0x16dd4)return;let _0x523ab5,_0x329c2f,_0xdaea70=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x646914){let _0x23d4f4,_0x5ee1f2,_0x70d79f=_0x1212a5/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0xdaea70){let _0x3c873e=_0x1093af(_0x2ef713,_0xdaea70),_0xe842d8=((this['visibleBottom']-this['visibleTop'])/0x2+_0x70d79f)/_0x5a26b6['height'];_0x23d4f4=_0x3c873e-_0xe842d8,_0x5ee1f2=_0x3c873e+_0xe842d8;}else _0x23d4f4=(this['visibleTop']-_0x5a26b6['top']-_0x70d79f)/_0x5a26b6['height'],_0x5ee1f2=(this['visibleBottom']-_0x5a26b6['top']+_0x70d79f)/_0x5a26b6['height'];_0x523ab5=_0x20523b(_0x2ef713,_0x23d4f4),_0x329c2f=_0x20523b(_0x2ef713,_0x5ee1f2);}else{let _0x257503=_0x2ef713['total']*this['heightOracle']['charWidth'],_0xd5eba5=_0x1212a5*this['heightOracle']['charWidth'],_0x1001e5=0x0;if(_0x257503>0x1e8480){for(let _0x5639e0 of _0x519cb9)_0x5639e0['from']>=_0x5a26b6['from']&&_0x5639e0['from']<_0x5a26b6['to']&&_0x5639e0['size']!=_0x5639e0['displaySize']&&_0x5639e0['from']*this['heightOracle']['charWidth']+_0x1001e5<this['pixelViewport']['left']&&(_0x1001e5=_0x5639e0['size']-_0x5639e0['displaySize']);}let _0x23cbcd,_0x26c1f2,_0x48ae2e=this['pixelViewport']['left']+_0x1001e5,_0x2743fa=this['pixelViewport']['right']+_0x1001e5;if(null!=_0xdaea70){let _0x243901=_0x1093af(_0x2ef713,_0xdaea70),_0x2ce561=((_0x2743fa-_0x48ae2e)/0x2+_0xd5eba5)/_0x257503;_0x23cbcd=_0x243901-_0x2ce561,_0x26c1f2=_0x243901+_0x2ce561;}else _0x23cbcd=(_0x48ae2e-_0xd5eba5)/_0x257503,_0x26c1f2=(_0x2743fa+_0xd5eba5)/_0x257503;_0x523ab5=_0x20523b(_0x2ef713,_0x23cbcd),_0x329c2f=_0x20523b(_0x2ef713,_0x26c1f2);}_0x523ab5>_0x5a26b6['from']&&_0x1c3b28(_0x5a26b6['from'],_0x523ab5,_0x5a26b6,_0x2ef713),_0x329c2f<_0x5a26b6['to']&&_0x1c3b28(_0x329c2f,_0x5a26b6['to'],_0x5a26b6,_0x2ef713);};for(let _0x8227cb of this['viewportLines'])Array['isArray'](_0x8227cb['type'])?_0x8227cb['type']['forEach'](_0x422053):_0x422053(_0x8227cb);return _0x377f96;}['gapSize'](_0x402fa0,_0xabf645,_0x160127,_0x13fce8){let _0x50614a=_0x1093af(_0x13fce8,_0x160127)-_0x1093af(_0x13fce8,_0xabf645);return this['heightOracle']['lineWrapping']?_0x402fa0['height']*_0x50614a:_0x13fce8['total']*this['heightOracle']['charWidth']*_0x50614a;}['updateLineGaps'](_0x110593){_0x423074['same'](_0x110593,this['lineGaps'])||(this['lineGaps']=_0x110593,this['lineGapDeco']=Decoration['set'](_0x110593['map'](_0x3d58dd=>_0x3d58dd['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x12dc38){let _0xe7a518=this['stateDeco'];this['lineGaps']['length']&&(_0xe7a518=_0xe7a518['concat'](this['lineGapDeco']));let _0x4e86ed=[];RangeSet['spans'](_0xe7a518,this['viewport']['from'],this['viewport']['to'],{'span'(_0x48fef0,_0x9fd85e){_0x4e86ed['push']({'from':_0x48fef0,'to':_0x9fd85e});},'point'(){}},0x14);let _0x10b007=0x0;if(_0x4e86ed['length']!=this['visibleRanges']['length'])_0x10b007=0xc;else for(let _0xed4bf8=0x0;_0xed4bf8<_0x4e86ed['length']&&!(0x8&_0x10b007);_0xed4bf8++){let _0x56b0c6=this['visibleRanges'][_0xed4bf8],_0x8df0e7=_0x4e86ed[_0xed4bf8];_0x56b0c6['from']==_0x8df0e7['from']&&_0x56b0c6['to']==_0x8df0e7['to']||(_0x10b007|=0x4,_0x12dc38&&_0x12dc38['mapPos'](_0x56b0c6['from'],-0x1)==_0x8df0e7['from']&&_0x12dc38['mapPos'](_0x56b0c6['to'],0x1)==_0x8df0e7['to']||(_0x10b007|=0x8));}return this['visibleRanges']=_0x4e86ed,_0x10b007;}['lineBlockAt'](_0x75d606){return _0x75d606>=this['viewport']['from']&&_0x75d606<=this['viewport']['to']&&this['viewportLines']['find'](_0x50da66=>_0x50da66['from']<=_0x75d606&&_0x50da66['to']>=_0x75d606)||_0x616629(this['heightMap']['lineAt'](_0x75d606,_0x5e3a91['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x1ff27c){return _0x1ff27c>=this['viewportLines'][0x0]['top']&&_0x1ff27c<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x2932e=>_0x2932e['top']<=_0x1ff27c&&_0x2932e['bottom']>=_0x1ff27c)||_0x616629(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x1ff27c),_0x5e3a91['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x2c0444){let _0x40739f=this['lineBlockAtHeight'](_0x2c0444+0x8);return _0x40739f['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x2c0444>0xc8?_0x40739f:this['viewportLines'][0x0];}['elementAtHeight'](_0x34c770){return _0x616629(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x34c770),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}}class Viewport{constructor(_0x632676,_0x475563){this['from']=_0x632676,this['to']=_0x475563;}}function _0x20523b({total:_0x141262,ranges:_0x4032d1},_0x3fe3ae){if(_0x3fe3ae<=0x0)return _0x4032d1[0x0]['from'];if(_0x3fe3ae>=0x1)return _0x4032d1[_0x4032d1['length']-0x1]['to'];let _0x170292=Math['floor'](_0x141262*_0x3fe3ae);for(let _0x12edd8=0x0;;_0x12edd8++){let {from:_0x1e7cc3,to:_0x41eb2c}=_0x4032d1[_0x12edd8],_0x3653b7=_0x41eb2c-_0x1e7cc3;if(_0x170292<=_0x3653b7)return _0x1e7cc3+_0x170292;_0x170292-=_0x3653b7;}}function _0x1093af(_0x571546,_0x2d3d61){let _0x39da0b=0x0;for(let {from:_0x3f0c7a,to:_0x3b286e}of _0x571546['ranges']){if(_0x2d3d61<=_0x3b286e){_0x39da0b+=_0x2d3d61-_0x3f0c7a;break;}_0x39da0b+=_0x3b286e-_0x3f0c7a;}return _0x39da0b/_0x571546['total'];}const _0x2e6d76={'toDOM':_0x227e6e=>_0x227e6e,'fromDOM':_0x30d982=>_0x30d982,'scale':0x1,'eq'(_0x338a8d){return _0x338a8d==this;}};class _0x24986f{constructor(_0xa7458e,_0x512c08,_0x381196){let _0x3be0f1=0x0,_0x25ae23=0x0,_0x46f838=0x0;this['viewports']=_0x381196['map'](({from:_0x43b7fa,to:_0x365fc5})=>{let _0x5571ae=_0x512c08['lineAt'](_0x43b7fa,_0x5e3a91['ByPos'],_0xa7458e,0x0,0x0)['top'],_0x5395b9=_0x512c08['lineAt'](_0x365fc5,_0x5e3a91['ByPos'],_0xa7458e,0x0,0x0)['bottom'];return _0x3be0f1+=_0x5395b9-_0x5571ae,{'from':_0x43b7fa,'to':_0x365fc5,'top':_0x5571ae,'bottom':_0x5395b9,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x3be0f1)/(_0x512c08['height']-_0x3be0f1);for(let _0x210f03 of this['viewports'])_0x210f03['domTop']=_0x46f838+(_0x210f03['top']-_0x25ae23)*this['scale'],_0x46f838=_0x210f03['domBottom']=_0x210f03['domTop']+(_0x210f03['bottom']-_0x210f03['top']),_0x25ae23=_0x210f03['bottom'];}['toDOM'](_0x1cc8f5){for(let _0x5c5526=0x0,_0x4e22a2=0x0,_0x19de67=0x0;;_0x5c5526++){let _0x25331d=_0x5c5526<this['viewports']['length']?this['viewports'][_0x5c5526]:null;if(!_0x25331d||_0x1cc8f5<_0x25331d['top'])return _0x19de67+(_0x1cc8f5-_0x4e22a2)*this['scale'];if(_0x1cc8f5<=_0x25331d['bottom'])return _0x25331d['domTop']+(_0x1cc8f5-_0x25331d['top']);_0x4e22a2=_0x25331d['bottom'],_0x19de67=_0x25331d['domBottom'];}}['fromDOM'](_0x49292b){for(let _0xb2f223=0x0,_0x49a469=0x0,_0x6bee29=0x0;;_0xb2f223++){let _0x4423c4=_0xb2f223<this['viewports']['length']?this['viewports'][_0xb2f223]:null;if(!_0x4423c4||_0x49292b<_0x4423c4['domTop'])return _0x49a469+(_0x49292b-_0x6bee29)/this['scale'];if(_0x49292b<=_0x4423c4['domBottom'])return _0x4423c4['top']+(_0x49292b-_0x4423c4['domTop']);_0x49a469=_0x4423c4['bottom'],_0x6bee29=_0x4423c4['domBottom'];}}['eq'](_0x16980c){return _0x16980c instanceof _0x24986f&&(this['scale']==_0x16980c['scale']&&this['viewports']['length']==_0x16980c['viewports']['length']&&this['viewports']['every']((_0x3df7ed,_0x6ef034)=>_0x3df7ed['from']==_0x16980c['viewports'][_0x6ef034]['from']&&_0x3df7ed['to']==_0x16980c['viewports'][_0x6ef034]['to']));}}function _0x616629(_0x36988b,_0x1a67cf){if(0x1==_0x1a67cf['scale'])return _0x36988b;let _0x4080b6=_0x1a67cf['toDOM'](_0x36988b['top']),_0x1031b1=_0x1a67cf['toDOM'](_0x36988b['bottom']);return new _0x231a82(_0x36988b['from'],_0x36988b['length'],_0x4080b6,_0x1031b1-_0x4080b6,Array['isArray'](_0x36988b['_content'])?_0x36988b['_content']['map'](_0x249d3c=>_0x616629(_0x249d3c,_0x1a67cf)):_0x36988b['_content']);}const _0x348825=Facet['define']({'combine':_0x4098cd=>_0x4098cd['join']('\x20')}),_0x4a76c5=Facet['define']({'combine':_0xa4b0d4=>_0xa4b0d4['indexOf'](!0x0)>-0x1}),_0x7cbc5a=StyleModule['newName'](),_0x5011dc=StyleModule['newName'](),_0x4af270=StyleModule['newName'](),_0xb3c483={'&light':'.'+_0x5011dc,'&dark':'.'+_0x4af270};function _0x4bc960(_0xd45b6,_0x3db8dc,_0x133c7f){return new StyleModule(_0x3db8dc,{'finish':_0x4b175d=>/&/['test'](_0x4b175d)?_0x4b175d['replace'](/&\w*/,_0x999542=>{if('&'==_0x999542)return _0xd45b6;if(!_0x133c7f||!_0x133c7f[_0x999542])throw new RangeError('Unsupported\x20selector:\x20'+_0x999542);return _0x133c7f[_0x999542];}):_0xd45b6+'\x20'+_0x4b175d});}const _0x1209fc=_0x4bc960('.'+_0x7cbc5a,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','zIndex':0xc8},'.cm-gutters-before':{'insetInlineStart':0x0},'.cm-gutters-after':{'insetInlineEnd':0x0},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','border':'0px\x20solid\x20#ddd','&.cm-gutters-before':{'borderRightWidth':'1px'},'&.cm-gutters-after':{'borderLeftWidth':'1px'}},'&dark\x20.cm-gutters':{'backgroundColor':'#333338','color':'#ccc'},'.cm-gutter':{'display':'flex\x20!important','flexDirection':'column','flexShrink':0x0,'boxSizing':'border-box','minHeight':'100%','overflow':'hidden'},'.cm-gutterElement':{'boxSizing':'border-box'},'.cm-lineNumbers\x20.cm-gutterElement':{'padding':'0\x203px\x200\x205px','minWidth':'20px','textAlign':'right','whiteSpace':'nowrap'},'&light\x20.cm-activeLineGutter':{'backgroundColor':'#e2f2ff'},'&dark\x20.cm-activeLineGutter':{'backgroundColor':'#222227'},'.cm-panels':{'boxSizing':'border-box','position':'sticky','left':0x0,'right':0x0,'zIndex':0x12c},'&light\x20.cm-panels':{'backgroundColor':'#f5f5f5','color':'black'},'&light\x20.cm-panels-top':{'borderBottom':'1px\x20solid\x20#ddd'},'&light\x20.cm-panels-bottom':{'borderTop':'1px\x20solid\x20#ddd'},'&dark\x20.cm-panels':{'backgroundColor':'#333338','color':'white'},'.cm-dialog':{'padding':'2px\x2019px\x204px\x206px','position':'relative','&\x20label':{'fontSize':'80%'}},'.cm-dialog-close':{'position':'absolute','top':'3px','right':'4px','backgroundColor':'inherit','border':'none','font':'inherit','fontSize':'14px','padding':'0'},'.cm-tab':{'display':'inline-block','overflow':'hidden','verticalAlign':'bottom'},'.cm-widgetBuffer':{'verticalAlign':'text-top','height':'1em','width':0x0,'display':'inline'},'.cm-placeholder':{'color':'#888','display':'inline-block','verticalAlign':'top','userSelect':'none'},'.cm-highlightSpace':{'backgroundImage':'radial-gradient(circle\x20at\x2050%\x2055%,\x20#aaa\x2020%,\x20transparent\x205%)','backgroundPosition':'center'},'.cm-highlightTab':{'backgroundImage':'url(\x27data:image/svg+xml,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x22200\x22\x20height=\x2220\x22><path\x20stroke=\x22%23888\x22\x20stroke-width=\x221\x22\x20fill=\x22none\x22\x20d=\x22M1\x2010H196L190\x205M190\x2015L196\x2010M197\x204L197\x2016\x22/></svg>\x27)','backgroundSize':'auto\x20100%','backgroundPosition':'right\x2090%','backgroundRepeat':'no-repeat'},'.cm-trailingSpace':{'backgroundColor':'#ff332255'},'.cm-button':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','padding':'.2em\x201em','borderRadius':'1px'},'&light\x20.cm-button':{'backgroundImage':'linear-gradient(#eff1f5,\x20#d9d9df)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#b4b4b4,\x20#d0d3d6)'}},'&dark\x20.cm-button':{'backgroundImage':'linear-gradient(#393939,\x20#111)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#111,\x20#333)'}},'.cm-textfield':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','border':'1px\x20solid\x20silver','padding':'.2em\x20.5em'},'&light\x20.cm-textfield':{'backgroundColor':'white'},'&dark\x20.cm-textfield':{'border':'1px\x20solid\x20#555','backgroundColor':'inherit'}},_0xb3c483),_0x2051a2={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},_0x2bb10f=_0x4e5613['ie']&&_0x4e5613['ie_version']<=0xb;class _0x1c7627{constructor(_0x51fecd){this['view']=_0x51fecd,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new DOMSelectionState(),this['selectionChanged']=!0x1,this['delayedFlush']=-0x1,this['resizeTimeout']=-0x1,this['queue']=[],this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1,this['lastChange']=0x0,this['scrollTargets']=[],this['intersection']=null,this['resizeScroll']=null,this['intersecting']=!0x1,this['gapIntersection']=null,this['gaps']=[],this['printQuery']=null,this['parentCheck']=-0x1,this['dom']=_0x51fecd['contentDOM'],this['observer']=new MutationObserver(_0x5e89bf=>{for(let _0x539583 of _0x5e89bf)this['queue']['push'](_0x539583);(_0x4e5613['ie']&&_0x4e5613['ie_version']<=0xb||_0x4e5613['ios']&&_0x51fecd['composing'])&&_0x5e89bf['some'](_0x2acb38=>'childList'==_0x2acb38['type']&&_0x2acb38['removedNodes']['length']||'characterData'==_0x2acb38['type']&&_0x2acb38['oldValue']['length']>_0x2acb38['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x4e5613['android']||!0x1===_0x51fecd['constructor']['EDIT_CONTEXT']||_0x4e5613['chrome']&&_0x4e5613['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x51fecd),_0x51fecd['state']['facet'](_0x344448)&&(_0x51fecd['contentDOM']['editContext']=this['editContext']['editContext'])),_0x2bb10f&&(this['onCharData']=_0x4f6780=>{this['queue']['push']({'target':_0x4f6780['target'],'type':'characterData','oldValue':_0x4f6780['prevValue']}),this['flushSoon']();}),this['onSelectionChange']=this['onSelectionChange']['bind'](this),this['onResize']=this['onResize']['bind'](this),this['onPrint']=this['onPrint']['bind'](this),this['onScroll']=this['onScroll']['bind'](this),window['matchMedia']&&(this['printQuery']=window['matchMedia']('print')),'function'==typeof ResizeObserver&&(this['resizeScroll']=new ResizeObserver(()=>{var _0x45373d;(null===(_0x45373d=this['view']['docView'])||void 0x0===_0x45373d?void 0x0:_0x45373d['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x51fecd['scrollDOM'])),this['addWindowListeners'](this['win']=_0x51fecd['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x2dee9c=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x2dee9c['length']>0x0&&_0x2dee9c[_0x2dee9c['length']-0x1]['intersectionRatio']>0x0!=this['intersecting']&&(this['intersecting']=!this['intersecting'],this['intersecting']!=this['view']['inView']&&this['onScrollChanged'](document['createEvent']('Event')));},{'threshold':[0x0,0.001]}),this['intersection']['observe'](this['dom']),this['gapIntersection']=new IntersectionObserver(_0x49bdb4=>{_0x49bdb4['length']>0x0&&_0x49bdb4[_0x49bdb4['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x47c84c){this['view']['inputState']['runHandlers']('scroll',_0x47c84c),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x4045e0){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x4045e0);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x483990){('change'!=_0x483990['type']&&_0x483990['type']||_0x483990['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x3c34bf){if(this['gapIntersection']&&(_0x3c34bf['length']!=this['gaps']['length']||this['gaps']['some']((_0x36aaba,_0x28d473)=>_0x36aaba!=_0x3c34bf[_0x28d473]))){this['gapIntersection']['disconnect']();for(let _0x101c6a of _0x3c34bf)this['gapIntersection']['observe'](_0x101c6a);this['gaps']=_0x3c34bf;}}['onSelectionChange'](_0x45e4d5){let _0x15d752=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x3c2efe}=this,_0x5c5006=this['selectionRange'];if(_0x3c2efe['state']['facet'](_0x344448)?_0x3c2efe['root']['activeElement']!=this['dom']:!_0x151d24(this['dom'],_0x5c5006))return;let _0x1b1132=_0x5c5006['anchorNode']&&_0x3c2efe['docView']['nearest'](_0x5c5006['anchorNode']);_0x1b1132&&_0x1b1132['ignoreEvent'](_0x45e4d5)?_0x15d752||(this['selectionChanged']=!0x1):(_0x4e5613['ie']&&_0x4e5613['ie_version']<=0xb||_0x4e5613['android']&&_0x4e5613['chrome'])&&!_0x3c2efe['state']['selection']['main']['empty']&&_0x5c5006['focusNode']&&_0x4cd6a7(_0x5c5006['focusNode'],_0x5c5006['focusOffset'],_0x5c5006['anchorNode'],_0x5c5006['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x4587b7}=this,_0x264ecc=_0x2a2880(_0x4587b7['root']);if(!_0x264ecc)return!0x1;let _0x68cd90=_0x4e5613['safari']&&0xb==_0x4587b7['root']['nodeType']&&_0x4587b7['root']['activeElement']==this['dom']&&function(_0x254d44,_0x3e3c6d){if(_0x3e3c6d['getComposedRanges']){let _0x223964=_0x3e3c6d['getComposedRanges'](_0x254d44['root'])[0x0];if(_0x223964)return _0x411365(_0x254d44,_0x223964);}let _0x43c776=null;function _0x268209(_0x5c7d36){_0x5c7d36['preventDefault'](),_0x5c7d36['stopImmediatePropagation'](),_0x43c776=_0x5c7d36['getTargetRanges']()[0x0];}return _0x254d44['contentDOM']['addEventListener']('beforeinput',_0x268209,!0x0),_0x254d44['dom']['ownerDocument']['execCommand']('indent'),_0x254d44['contentDOM']['removeEventListener']('beforeinput',_0x268209,!0x0),_0x43c776?_0x411365(_0x254d44,_0x43c776):null;}(this['view'],_0x264ecc)||_0x264ecc;if(!_0x68cd90||this['selectionRange']['eq'](_0x68cd90))return!0x1;let _0x2d9092=_0x151d24(this['dom'],_0x68cd90);return _0x2d9092&&!this['selectionChanged']&&_0x4587b7['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x4587b7['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x25b20e,_0x5d62dc){let _0x218c43=_0x5d62dc['focusNode'],_0x4b0162=_0x5d62dc['focusOffset'];if(!_0x218c43||_0x5d62dc['anchorNode']!=_0x218c43||_0x5d62dc['anchorOffset']!=_0x4b0162)return!0x1;for(_0x4b0162=Math['min'](_0x4b0162,_0x337c2c(_0x218c43));;)if(_0x4b0162){if(0x1!=_0x218c43['nodeType'])return!0x1;let _0x40ecd0=_0x218c43['childNodes'][_0x4b0162-0x1];'false'==_0x40ecd0['contentEditable']?_0x4b0162--:(_0x218c43=_0x40ecd0,_0x4b0162=_0x337c2c(_0x218c43));}else{if(_0x218c43==_0x25b20e)return!0x0;_0x4b0162=_0x5e67d2(_0x218c43),_0x218c43=_0x218c43['parentNode'];}}(this['dom'],_0x68cd90)?(this['view']['inputState']['lastFocusTime']=0x0,_0x4587b7['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x68cd90),_0x2d9092&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x40a9a9,_0x1a25bf){this['selectionRange']['set'](_0x40a9a9['node'],_0x40a9a9['offset'],_0x1a25bf['node'],_0x1a25bf['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0xe1db8d=0x0,_0xc5f449=null;for(let _0x3e6180=this['dom'];_0x3e6180;)if(0x1==_0x3e6180['nodeType'])!_0xc5f449&&_0xe1db8d<this['scrollTargets']['length']&&this['scrollTargets'][_0xe1db8d]==_0x3e6180?_0xe1db8d++:_0xc5f449||(_0xc5f449=this['scrollTargets']['slice'](0x0,_0xe1db8d)),_0xc5f449&&_0xc5f449['push'](_0x3e6180),_0x3e6180=_0x3e6180['assignedSlot']||_0x3e6180['parentNode'];else{if(0xb!=_0x3e6180['nodeType'])break;_0x3e6180=_0x3e6180['host'];}if(_0xe1db8d<this['scrollTargets']['length']&&!_0xc5f449&&(_0xc5f449=this['scrollTargets']['slice'](0x0,_0xe1db8d)),_0xc5f449){for(let _0x37c217 of this['scrollTargets'])_0x37c217['removeEventListener']('scroll',this['onScroll']);for(let _0x9f4cc4 of this['scrollTargets']=_0xc5f449)_0x9f4cc4['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x34715a){if(!this['active'])return _0x34715a();try{return this['stop'](),_0x34715a();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],_0x2051a2),_0x2bb10f&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),_0x2bb10f&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x2c0788,_0x541d84){var _0x3b5ea3;if(!this['delayedAndroidKey']){let _0x27d908=()=>{let _0x19dbdc=this['delayedAndroidKey'];_0x19dbdc&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x19dbdc['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x19dbdc['force']&&_0x3c656d(this['dom'],_0x19dbdc['key'],_0x19dbdc['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x27d908);}this['delayedAndroidKey']&&'Enter'!=_0x2c0788||(this['delayedAndroidKey']={'key':_0x2c0788,'keyCode':_0x541d84,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x3b5ea3=this['delayedAndroidKey'])||void 0x0===_0x3b5ea3?void 0x0:_0x3b5ea3['force'])});}['clearDelayedAndroidKey'](){this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1;}['flushSoon'](){this['delayedFlush']<0x0&&(this['delayedFlush']=this['view']['win']['requestAnimationFrame'](()=>{this['delayedFlush']=-0x1,this['flush']();}));}['forceFlush'](){this['delayedFlush']>=0x0&&(this['view']['win']['cancelAnimationFrame'](this['delayedFlush']),this['delayedFlush']=-0x1),this['flush']();}['pendingRecords'](){for(let _0x44e21b of this['observer']['takeRecords']())this['queue']['push'](_0x44e21b);return this['queue'];}['processRecords'](){let _0x5e491f=this['pendingRecords']();_0x5e491f['length']&&(this['queue']=[]);let _0x4080bf=-0x1,_0x226e59=-0x1,_0x3a4dc0=!0x1;for(let _0x30b4e5 of _0x5e491f){let _0x1efc7d=this['readMutation'](_0x30b4e5);_0x1efc7d&&(_0x1efc7d['typeOver']&&(_0x3a4dc0=!0x0),-0x1==_0x4080bf?{from:_0x4080bf,to:_0x226e59}=_0x1efc7d:(_0x4080bf=Math['min'](_0x1efc7d['from'],_0x4080bf),_0x226e59=Math['max'](_0x1efc7d['to'],_0x226e59)));}return{'from':_0x4080bf,'to':_0x226e59,'typeOver':_0x3a4dc0};}['readChange'](){let {from:_0x2090d0,to:_0x598341,typeOver:_0x2155a5}=this['processRecords'](),_0x52cbb3=this['selectionChanged']&&_0x151d24(this['dom'],this['selectionRange']);if(_0x2090d0<0x0&&!_0x52cbb3)return null;_0x2090d0>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x565fdc=new _0x3dd46b(this['view'],_0x2090d0,_0x598341,_0x2155a5);return this['view']['docView']['domChanged']={'newSel':_0x565fdc['newSel']?_0x565fdc['newSel']['main']:null},_0x565fdc;}['flush'](_0x1f777c=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x1f777c&&this['readSelectionRange']();let _0x1a7f58=this['readChange']();if(!_0x1a7f58)return this['view']['requestMeasure'](),!0x1;let _0x2d5f0b=this['view']['state'],_0x582011=_0x5d2c26(this['view'],_0x1a7f58);return this['view']['state']==_0x2d5f0b&&(_0x1a7f58['domChanged']||_0x1a7f58['newSel']&&!_0x1a7f58['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x582011;}['readMutation'](_0x367446){let _0x55e183=this['view']['docView']['nearest'](_0x367446['target']);if(!_0x55e183||_0x55e183['ignoreMutation'](_0x367446))return null;if(_0x55e183['markDirty']('attributes'==_0x367446['type']),'attributes'==_0x367446['type']&&(_0x55e183['flags']|=0x4),'childList'==_0x367446['type']){let _0x1fab6a=_0x25e2a9(_0x55e183,_0x367446['previousSibling']||_0x367446['target']['previousSibling'],-0x1),_0x174c27=_0x25e2a9(_0x55e183,_0x367446['nextSibling']||_0x367446['target']['nextSibling'],0x1);return{'from':_0x1fab6a?_0x55e183['posAfter'](_0x1fab6a):_0x55e183['posAtStart'],'to':_0x174c27?_0x55e183['posBefore'](_0x174c27):_0x55e183['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x367446['type']?{'from':_0x55e183['posAtStart'],'to':_0x55e183['posAtEnd'],'typeOver':_0x367446['target']['nodeValue']==_0x367446['oldValue']}:null;}['setWindow'](_0x59f786){_0x59f786!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x59f786,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x64c2f3){_0x64c2f3['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x64c2f3['addEventListener']('beforeprint',this['onPrint']),_0x64c2f3['addEventListener']('scroll',this['onScroll']),_0x64c2f3['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x56c324){_0x56c324['removeEventListener']('scroll',this['onScroll']),_0x56c324['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x56c324['removeEventListener']('beforeprint',this['onPrint']),_0x56c324['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x1ab7b1){this['editContext']&&(this['editContext']['update'](_0x1ab7b1),_0x1ab7b1['startState']['facet'](_0x344448)!=_0x1ab7b1['state']['facet'](_0x344448)&&(_0x1ab7b1['view']['contentDOM']['editContext']=_0x1ab7b1['state']['facet'](_0x344448)?this['editContext']['editContext']:null));}['destroy'](){var _0x5d36e3,_0x27a0f5,_0x8f4dec;this['stop'](),null===(_0x5d36e3=this['intersection'])||void 0x0===_0x5d36e3||_0x5d36e3['disconnect'](),null===(_0x27a0f5=this['gapIntersection'])||void 0x0===_0x27a0f5||_0x27a0f5['disconnect'](),null===(_0x8f4dec=this['resizeScroll'])||void 0x0===_0x8f4dec||_0x8f4dec['disconnect']();for(let _0x335384 of this['scrollTargets'])_0x335384['removeEventListener']('scroll',this['onScroll']);this['removeWindowListeners'](this['win']),clearTimeout(this['parentCheck']),clearTimeout(this['resizeTimeout']),this['win']['cancelAnimationFrame'](this['delayedFlush']),this['win']['cancelAnimationFrame'](this['flushingAndroidKey']),this['editContext']&&(this['view']['contentDOM']['editContext']=null,this['editContext']['destroy']());}}function _0x25e2a9(_0x428441,_0x471e49,_0x10eec6){for(;_0x471e49;){let _0x3aab55=ContentView['get'](_0x471e49);if(_0x3aab55&&_0x3aab55['parent']==_0x428441)return _0x3aab55;let _0x4522b0=_0x471e49['parentNode'];_0x471e49=_0x4522b0!=_0x428441['dom']?_0x4522b0:_0x10eec6>0x0?_0x471e49['nextSibling']:_0x471e49['previousSibling'];}return null;}function _0x411365(_0x38f7f1,_0xa057d6){let _0x95cc25=_0xa057d6['startContainer'],_0x3a0ac3=_0xa057d6['startOffset'],_0x670e1c=_0xa057d6['endContainer'],_0x118417=_0xa057d6['endOffset'],_0x480e4b=_0x38f7f1['docView']['domAtPos'](_0x38f7f1['state']['selection']['main']['anchor']);return _0x4cd6a7(_0x480e4b['node'],_0x480e4b['offset'],_0x670e1c,_0x118417)&&([_0x95cc25,_0x3a0ac3,_0x670e1c,_0x118417]=[_0x670e1c,_0x118417,_0x95cc25,_0x3a0ac3]),{'anchorNode':_0x95cc25,'anchorOffset':_0x3a0ac3,'focusNode':_0x670e1c,'focusOffset':_0x118417};}class EditContextManager{constructor(_0x3a9553){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x3a9553['state']);let _0x4e47b9=this['editContext']=new window['EditContext']({'text':_0x3a9553['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x3a9553['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x3a9553['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x23f30a=>{let _0x5ab638=_0x3a9553['state']['selection']['main'],{anchor:_0x16e63c,head:_0x2b87e4}=_0x5ab638,_0x11d7f7=this['toEditorPos'](_0x23f30a['updateRangeStart']),_0x3b4132=this['toEditorPos'](_0x23f30a['updateRangeEnd']);_0x3a9553['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x23f30a['updateRangeStart'],'editorBase':_0x11d7f7,'drifted':!0x1});let _0x58c2fb=_0x3b4132-_0x11d7f7>_0x23f30a['text']['length'];_0x11d7f7==this['from']&&_0x16e63c<this['from']?_0x11d7f7=_0x16e63c:_0x3b4132==this['to']&&_0x16e63c>this['to']&&(_0x3b4132=_0x16e63c);let _0x39ba3d=_0x34eca4(_0x3a9553['state']['sliceDoc'](_0x11d7f7,_0x3b4132),_0x23f30a['text'],(_0x58c2fb?_0x5ab638['from']:_0x5ab638['to'])-_0x11d7f7,_0x58c2fb?'end':null);if(!_0x39ba3d){let _0x2fe9f0=EditorSelection['single'](this['toEditorPos'](_0x23f30a['selectionStart']),this['toEditorPos'](_0x23f30a['selectionEnd']));return void(_0x2fe9f0['main']['eq'](_0x5ab638)||_0x3a9553['dispatch']({'selection':_0x2fe9f0,'userEvent':'select'}));}let _0x1ef5e2={'from':_0x39ba3d['from']+_0x11d7f7,'to':_0x39ba3d['toA']+_0x11d7f7,'insert':_0x9ec70d['of'](_0x23f30a['text']['slice'](_0x39ba3d['from'],_0x39ba3d['toB'])['split']('\x0a'))};if((_0x4e5613['mac']||_0x4e5613['android'])&&_0x1ef5e2['from']==_0x2b87e4-0x1&&/^\. ?$/['test'](_0x23f30a['text'])&&'off'==_0x3a9553['contentDOM']['getAttribute']('autocorrect')&&(_0x1ef5e2={'from':_0x11d7f7,'to':_0x3b4132,'insert':_0x9ec70d['of']([_0x23f30a['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x1ef5e2,!_0x3a9553['state']['readOnly']){let _0x3d331c=this['to']-this['from']+(_0x1ef5e2['to']-_0x1ef5e2['from']+_0x1ef5e2['insert']['length']);_0x88a737(_0x3a9553,_0x1ef5e2,EditorSelection['single'](this['toEditorPos'](_0x23f30a['selectionStart'],_0x3d331c),this['toEditorPos'](_0x23f30a['selectionEnd'],_0x3d331c)));}this['pendingContextChange']&&(this['revertPending'](_0x3a9553['state']),this['setSelection'](_0x3a9553['state'])),_0x1ef5e2['from']<_0x1ef5e2['to']&&!_0x1ef5e2['insert']['length']&&_0x3a9553['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x4e47b9['text']['slice'](Math['max'](0x0,_0x23f30a['updateRangeStart']-0x1),Math['min'](_0x4e47b9['text']['length'],_0x23f30a['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x23f30a);},this['handlers']['characterboundsupdate']=_0x2e3371=>{let _0x51bc6c=[],_0x2e4369=null;for(let _0x11d92d=this['toEditorPos'](_0x2e3371['rangeStart']),_0x463552=this['toEditorPos'](_0x2e3371['rangeEnd']);_0x11d92d<_0x463552;_0x11d92d++){let _0x21c8ea=_0x3a9553['coordsForChar'](_0x11d92d);_0x2e4369=_0x21c8ea&&new DOMRect(_0x21c8ea['left'],_0x21c8ea['top'],_0x21c8ea['right']-_0x21c8ea['left'],_0x21c8ea['bottom']-_0x21c8ea['top'])||_0x2e4369||new DOMRect(),_0x51bc6c['push'](_0x2e4369);}_0x4e47b9['updateCharacterBounds'](_0x2e3371['rangeStart'],_0x51bc6c);},this['handlers']['textformatupdate']=_0x57718e=>{let _0xbf1677=[];for(let _0x20eea7 of _0x57718e['getTextFormats']()){let _0x3fe7e6=_0x20eea7['underlineStyle'],_0x2eea50=_0x20eea7['underlineThickness'];if(!/none/i['test'](_0x3fe7e6)&&!/none/i['test'](_0x2eea50)){let _0x356f3b=this['toEditorPos'](_0x20eea7['rangeStart']),_0x14cc88=this['toEditorPos'](_0x20eea7['rangeEnd']);if(_0x356f3b<_0x14cc88){let _0x393cdd='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x3fe7e6)?_0x3fe7e6+'\x20':'Dashed'==_0x3fe7e6?'dashed\x20':'Squiggle'==_0x3fe7e6?'wavy\x20':'')+(/thin/i['test'](_0x2eea50)?0x1:0x2)+'px';_0xbf1677['push'](Decoration['mark']({'attributes':{'style':_0x393cdd}})['range'](_0x356f3b,_0x14cc88));}}}_0x3a9553['dispatch']({'effects':_0x45b422['of'](Decoration['set'](_0xbf1677))});},this['handlers']['compositionstart']=()=>{_0x3a9553['inputState']['composing']<0x0&&(_0x3a9553['inputState']['composing']=0x0,_0x3a9553['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x3a9553['inputState']['composing']=-0x1,_0x3a9553['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x35fc36}=this['composing'];this['composing']=null,_0x35fc36&&this['reset'](_0x3a9553['state']);}};for(let _0x371bd0 in this['handlers'])_0x4e47b9['addEventListener'](_0x371bd0,this['handlers'][_0x371bd0]);this['measureReq']={'read':_0x1739f4=>{this['editContext']['updateControlBounds'](_0x1739f4['contentDOM']['getBoundingClientRect']());let _0x4fea0f=_0x2a2880(_0x1739f4['root']);_0x4fea0f&&_0x4fea0f['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x4fea0f['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x649c39){let _0x20fb14=0x0,_0x111470=!0x1,_0x2dd372=this['pendingContextChange'];return _0x649c39['changes']['iterChanges']((_0x4a604f,_0x261adf,_0x49433b,_0x20ccf1,_0x58a38d)=>{if(_0x111470)return;let _0x2a723e=_0x58a38d['length']-(_0x261adf-_0x4a604f);if(_0x2dd372&&_0x261adf>=_0x2dd372['to']){if(_0x2dd372['from']==_0x4a604f&&_0x2dd372['to']==_0x261adf&&_0x2dd372['insert']['eq'](_0x58a38d))return _0x2dd372=this['pendingContextChange']=null,_0x20fb14+=_0x2a723e,void(this['to']+=_0x2a723e);_0x2dd372=null,this['revertPending'](_0x649c39['state']);}if(_0x4a604f+=_0x20fb14,(_0x261adf+=_0x20fb14)<=this['from'])this['from']+=_0x2a723e,this['to']+=_0x2a723e;else{if(_0x4a604f<this['to']){if(_0x4a604f<this['from']||_0x261adf>this['to']||this['to']-this['from']+_0x58a38d['length']>0x7530)return void(_0x111470=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x4a604f),this['toContextPos'](_0x261adf),_0x58a38d['toString']()),this['to']+=_0x2a723e;}}_0x20fb14+=_0x2a723e;}),_0x2dd372&&!_0x111470&&this['revertPending'](_0x649c39['state']),!_0x111470;}['update'](_0x2856d6){let _0x108c05=this['pendingContextChange'],_0x10d3e1=_0x2856d6['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x2856d6['changes']['touchesRange'](_0x10d3e1['from'],_0x10d3e1['to'])&&_0x2856d6['transactions']['some'](_0x3689f2=>!_0x3689f2['isUserEvent']('input.type')&&_0x3689f2['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x2856d6['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x2856d6)&&this['rangeIsValid'](_0x2856d6['state'])?(_0x2856d6['docChanged']||_0x2856d6['selectionSet']||_0x108c05)&&this['setSelection'](_0x2856d6['state']):(this['pendingContextChange']=null,this['reset'](_0x2856d6['state'])),(_0x2856d6['geometryChanged']||_0x2856d6['docChanged']||_0x2856d6['selectionSet'])&&_0x2856d6['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x599b90){let {head:_0x2e0b22}=_0x599b90['selection']['main'];this['from']=Math['max'](0x0,_0x2e0b22-0x2710),this['to']=Math['min'](_0x599b90['doc']['length'],_0x2e0b22+0x2710);}['reset'](_0x29f757){this['resetRange'](_0x29f757),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x29f757['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x29f757);}['revertPending'](_0x2d7ef5){let _0x5f0261=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x5f0261['from']),this['toContextPos'](_0x5f0261['from']+_0x5f0261['insert']['length']),_0x2d7ef5['doc']['sliceString'](_0x5f0261['from'],_0x5f0261['to']));}['setSelection'](_0x15d47b){let {main:_0x1cdd8e}=_0x15d47b['selection'],_0x22be06=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x1cdd8e['anchor']))),_0x337e39=this['toContextPos'](_0x1cdd8e['head']);this['editContext']['selectionStart']==_0x22be06&&this['editContext']['selectionEnd']==_0x337e39||this['editContext']['updateSelection'](_0x22be06,_0x337e39);}['rangeIsValid'](_0x26f533){let {head:_0x56984a}=_0x26f533['selection']['main'];return!(this['from']>0x0&&_0x56984a-this['from']<0x1f4||this['to']<_0x26f533['doc']['length']&&this['to']-_0x56984a<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x7a33bd,_0x267f69=this['to']-this['from']){_0x7a33bd=Math['min'](_0x7a33bd,_0x267f69);let _0x12aefe=this['composing'];return _0x12aefe&&_0x12aefe['drifted']?_0x12aefe['editorBase']+(_0x7a33bd-_0x12aefe['contextBase']):_0x7a33bd+this['from'];}['toContextPos'](_0x3456b3){let _0x17b2d7=this['composing'];return _0x17b2d7&&_0x17b2d7['drifted']?_0x17b2d7['contextBase']+(_0x3456b3-_0x17b2d7['editorBase']):_0x3456b3-this['from'];}['destroy'](){for(let _0x210403 in this['handlers'])this['editContext']['removeEventListener'](_0x210403,this['handlers'][_0x210403]);}}class EditorView{get['state'](){return this['viewState']['state'];}get['viewport'](){return this['viewState']['viewport'];}get['visibleRanges'](){return this['viewState']['visibleRanges'];}get['inView'](){return this['viewState']['inView'];}get['composing'](){return!!this['inputState']&&this['inputState']['composing']>0x0;}get['compositionStarted'](){return!!this['inputState']&&this['inputState']['composing']>=0x0;}get['root'](){return this['_root'];}get['win'](){return this['dom']['ownerDocument']['defaultView']||window;}constructor(_0x408636={}){var _0x1bed04;this['plugins']=[],this['pluginMap']=new Map(),this['editorAttrs']={},this['contentAttrs']={},this['bidiCache']=[],this['destroyed']=!0x1,this['updateState']=0x2,this['measureScheduled']=-0x1,this['measureRequests']=[],this['contentDOM']=document['createElement']('div'),this['scrollDOM']=document['createElement']('div'),this['scrollDOM']['tabIndex']=-0x1,this['scrollDOM']['className']='cm-scroller',this['scrollDOM']['appendChild'](this['contentDOM']),this['announceDOM']=document['createElement']('div'),this['announceDOM']['className']='cm-announced',this['announceDOM']['setAttribute']('aria-live','polite'),this['dom']=document['createElement']('div'),this['dom']['appendChild'](this['announceDOM']),this['dom']['appendChild'](this['scrollDOM']),_0x408636['parent']&&_0x408636['parent']['appendChild'](this['dom']);let {dispatch:_0x3a45d7}=_0x408636;this['dispatchTransactions']=_0x408636['dispatchTransactions']||_0x3a45d7&&(_0x4002a8=>_0x4002a8['forEach'](_0x223f37=>_0x3a45d7(_0x223f37,this)))||(_0x5ded12=>this['update'](_0x5ded12)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x408636['root']||function(_0x139ac2){for(;_0x139ac2;){if(_0x139ac2&&(0x9==_0x139ac2['nodeType']||0xb==_0x139ac2['nodeType']&&_0x139ac2['host']))return _0x139ac2;_0x139ac2=_0x139ac2['assignedSlot']||_0x139ac2['parentNode'];}return null;}(_0x408636['parent'])||document,this['viewState']=new ViewState(_0x408636['state']||EditorState['create'](_0x408636)),_0x408636['scrollTo']&&_0x408636['scrollTo']['is'](_0x54507d)&&(this['viewState']['scrollTarget']=_0x408636['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x2bd56f)['map'](_0x270fb2=>new PluginInstance(_0x270fb2));for(let _0x5661d5 of this['plugins'])_0x5661d5['update'](this);this['observer']=new _0x1c7627(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x4f2dbe(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x1bed04=document['fonts'])||void 0x0===_0x1bed04?void 0x0:_0x1bed04['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x4ff7ec){let _0x42f935=0x1==_0x4ff7ec['length']&&_0x4ff7ec[0x0]instanceof Transaction?_0x4ff7ec:0x1==_0x4ff7ec['length']&&Array['isArray'](_0x4ff7ec[0x0])?_0x4ff7ec[0x0]:[this['state']['update'](..._0x4ff7ec)];this['dispatchTransactions'](_0x42f935,this);}['update'](_0x1b92d1){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x24b285,_0xa2fadd=!0x1,_0x53c1af=!0x1,_0x10b28b=this['state'];for(let _0x5bf408 of _0x1b92d1){if(_0x5bf408['startState']!=_0x10b28b)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x10b28b=_0x5bf408['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x10b28b);let _0x571d50=this['hasFocus'],_0x15a87e=0x0,_0x4e3f17=null;_0x1b92d1['some'](_0x32c091=>_0x32c091['annotation'](_0x378e9f))?(this['inputState']['notifiedFocused']=_0x571d50,_0x15a87e=0x1):_0x571d50!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x571d50,_0x4e3f17=_0x5049c3(_0x10b28b,_0x571d50),_0x4e3f17||(_0x15a87e=0x1));let _0x343d12=this['observer']['delayedAndroidKey'],_0xface95=null;if(_0x343d12?(this['observer']['clearDelayedAndroidKey'](),_0xface95=this['observer']['readChange'](),(_0xface95&&!this['state']['doc']['eq'](_0x10b28b['doc'])||!this['state']['selection']['eq'](_0x10b28b['selection']))&&(_0xface95=null)):this['observer']['clear'](),_0x10b28b['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x10b28b);_0x24b285=ViewUpdate['create'](this,_0x10b28b,_0x1b92d1),_0x24b285['flags']|=_0x15a87e;let _0x48424d=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x2769cc of _0x1b92d1){if(_0x48424d&&(_0x48424d=_0x48424d['map'](_0x2769cc['changes'])),_0x2769cc['scrollIntoView']){let {main:_0x3f10eb}=_0x2769cc['state']['selection'];_0x48424d=new ScrollTarget(_0x3f10eb['empty']?_0x3f10eb:EditorSelection['cursor'](_0x3f10eb['head'],_0x3f10eb['head']>_0x3f10eb['anchor']?-0x1:0x1));}for(let _0x5a5719 of _0x2769cc['effects'])_0x5a5719['is'](_0x54507d)&&(_0x48424d=_0x5a5719['value']['clip'](this['state']));}this['viewState']['update'](_0x24b285,_0x48424d),this['bidiCache']=_0x158c79['update'](this['bidiCache'],_0x24b285['changes']),_0x24b285['empty']||(this['updatePlugins'](_0x24b285),this['inputState']['update'](_0x24b285)),_0xa2fadd=this['docView']['update'](_0x24b285),this['state']['facet'](_0x4bc7f3)!=this['styleModules']&&this['mountStyles'](),_0x53c1af=this['updateAttrs'](),this['showAnnouncements'](_0x1b92d1),this['docView']['updateSelection'](_0xa2fadd,_0x1b92d1['some'](_0x1514bf=>_0x1514bf['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x24b285['startState']['facet'](_0x348825)!=_0x24b285['state']['facet'](_0x348825)&&(this['viewState']['mustMeasureContent']=!0x0),(_0xa2fadd||_0x53c1af||_0x48424d||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0xa2fadd&&this['docViewUpdate'](),!_0x24b285['empty']){for(let _0x21b876 of this['state']['facet'](_0x4b702a))try{_0x21b876(_0x24b285);}catch(_0x4e63cd){_0x23aa16(this['state'],_0x4e63cd,'update\x20listener');}}(_0x4e3f17||_0xface95)&&Promise['resolve']()['then'](()=>{_0x4e3f17&&this['state']==_0x4e3f17['startState']&&this['dispatch'](_0x4e3f17),_0xface95&&!_0x5d2c26(this,_0xface95)&&_0x343d12['force']&&_0x3c656d(this['contentDOM'],_0x343d12['key'],_0x343d12['keyCode']);});}['setState'](_0xc7adca){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.setState\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');if(this['destroyed'])return void(this['viewState']['state']=_0xc7adca);this['updateState']=0x2;let _0x2fc416=this['hasFocus'];try{for(let _0x22b484 of this['plugins'])_0x22b484['destroy'](this);this['viewState']=new ViewState(_0xc7adca),this['plugins']=_0xc7adca['facet'](_0x2bd56f)['map'](_0x35210b=>new PluginInstance(_0x35210b)),this['pluginMap']['clear']();for(let _0x356ce7 of this['plugins'])_0x356ce7['update'](this);this['docView']['destroy'](),this['docView']=new _0x4f2dbe(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x2fc416&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x4c7fd0){let _0x1005e2=_0x4c7fd0['startState']['facet'](_0x2bd56f),_0x8894bb=_0x4c7fd0['state']['facet'](_0x2bd56f);if(_0x1005e2!=_0x8894bb){let _0x43fe48=[];for(let _0x5d836a of _0x8894bb){let _0x13e0ee=_0x1005e2['indexOf'](_0x5d836a);if(_0x13e0ee<0x0)_0x43fe48['push'](new PluginInstance(_0x5d836a));else{let _0x5bec01=this['plugins'][_0x13e0ee];_0x5bec01['mustUpdate']=_0x4c7fd0,_0x43fe48['push'](_0x5bec01);}}for(let _0x343ffc of this['plugins'])_0x343ffc['mustUpdate']!=_0x4c7fd0&&_0x343ffc['destroy'](this);this['plugins']=_0x43fe48,this['pluginMap']['clear']();}else{for(let _0xa200c3 of this['plugins'])_0xa200c3['mustUpdate']=_0x4c7fd0;}for(let _0x2c1916=0x0;_0x2c1916<this['plugins']['length'];_0x2c1916++)this['plugins'][_0x2c1916]['update'](this);_0x1005e2!=_0x8894bb&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x5c3a56 of this['plugins']){let _0x4d506e=_0x5c3a56['value'];if(_0x4d506e&&_0x4d506e['docViewUpdate'])try{_0x4d506e['docViewUpdate'](this);}catch(_0x5732e3){_0x23aa16(this['state'],_0x5732e3,'doc\x20view\x20update\x20listener');}}}['measure'](_0x4f0f5f=!0x0){if(this['destroyed'])return;if(this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['observer']['delayedAndroidKey'])return this['measureScheduled']=-0x1,void this['requestMeasure']();this['measureScheduled']=0x0,_0x4f0f5f&&this['observer']['forceFlush']();let _0x5c04bf=null,_0x4c4785=this['scrollDOM'],_0x577a0b=_0x4c4785['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x9bd191,scrollAnchorHeight:_0x4e3dd9}=this['viewState'];Math['abs'](_0x577a0b-this['viewState']['scrollTop'])>0x1&&(_0x4e3dd9=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0xd8a04a=0x0;;_0xd8a04a++){if(_0x4e3dd9<0x0){if(_0x23b0be(_0x4c4785))_0x9bd191=-0x1,_0x4e3dd9=this['viewState']['heightMap']['height'];else{let _0x53a074=this['viewState']['scrollAnchorAt'](_0x577a0b);_0x9bd191=_0x53a074['from'],_0x4e3dd9=_0x53a074['top'];}}this['updateState']=0x1;let _0x218ef0=this['viewState']['measure'](this);if(!_0x218ef0&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0xd8a04a>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x4e015f=[];0x4&_0x218ef0||([this['measureRequests'],_0x4e015f]=[_0x4e015f,this['measureRequests']]);let _0x2d023b=_0x4e015f['map'](_0x4f756e=>{try{return _0x4f756e['read'](this);}catch(_0x456735){return _0x23aa16(this['state'],_0x456735),_0x44c937;}}),_0x286a80=ViewUpdate['create'](this,this['state'],[]),_0x4d803a=!0x1;_0x286a80['flags']|=_0x218ef0,_0x5c04bf?_0x5c04bf['flags']|=_0x218ef0:_0x5c04bf=_0x286a80,this['updateState']=0x2,_0x286a80['empty']||(this['updatePlugins'](_0x286a80),this['inputState']['update'](_0x286a80),this['updateAttrs'](),_0x4d803a=this['docView']['update'](_0x286a80),_0x4d803a&&this['docViewUpdate']());for(let _0x685bd8=0x0;_0x685bd8<_0x4e015f['length'];_0x685bd8++)if(_0x2d023b[_0x685bd8]!=_0x44c937)try{let _0x5ac9b3=_0x4e015f[_0x685bd8];_0x5ac9b3['write']&&_0x5ac9b3['write'](_0x2d023b[_0x685bd8],this);}catch(_0x1bea48){_0x23aa16(this['state'],_0x1bea48);}if(_0x4d803a&&this['docView']['updateSelection'](!0x0),!_0x286a80['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x4e3dd9=-0x1;continue;}{let _0x4a2f3a=(_0x9bd191<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x9bd191)['top'])-_0x4e3dd9;if(_0x4a2f3a>0x1||_0x4a2f3a<-0x1){_0x577a0b+=_0x4a2f3a,_0x4c4785['scrollTop']=_0x577a0b/this['scaleY'],_0x4e3dd9=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x5c04bf&&!_0x5c04bf['empty']){for(let _0x12fc8b of this['state']['facet'](_0x4b702a))_0x12fc8b(_0x5c04bf);}}get['themeClasses'](){return _0x7cbc5a+'\x20'+(this['state']['facet'](_0x4a76c5)?_0x4af270:_0x5011dc)+'\x20'+this['state']['facet'](_0x348825);}['updateAttrs'](){let _0x167017=_0x265a31(this,_0x38949e,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x168268={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](_0x344448)?'true':'false','class':'cm-content','style':_0x4e5613['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x168268['aria-readonly']='true'),_0x265a31(this,_0x2cfbe5,_0x168268);let _0x3642e6=this['observer']['ignore'](()=>{let _0x6c7280=_0x552390(this['contentDOM'],this['contentAttrs'],_0x168268),_0x1f43c7=_0x552390(this['dom'],this['editorAttrs'],_0x167017);return _0x6c7280||_0x1f43c7;});return this['editorAttrs']=_0x167017,this['contentAttrs']=_0x168268,_0x3642e6;}['showAnnouncements'](_0x3f4c6d){let _0x447ded=!0x0;for(let _0xc8bba2 of _0x3f4c6d)for(let _0x1380bf of _0xc8bba2['effects'])_0x1380bf['is'](EditorView['announce'])&&(_0x447ded&&(this['announceDOM']['textContent']=''),_0x447ded=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x1380bf['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](_0x4bc7f3);let _0x247b42=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x1209fc)['reverse'](),_0x247b42?{'nonce':_0x247b42}:void 0x0);}['readMeasured'](){if(0x2==this['updateState'])throw new Error('Reading\x20the\x20editor\x20layout\x20isn\x27t\x20allowed\x20during\x20an\x20update');0x0==this['updateState']&&this['measureScheduled']>-0x1&&this['measure'](!0x1);}['requestMeasure'](_0x56d3e4){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x56d3e4){if(this['measureRequests']['indexOf'](_0x56d3e4)>-0x1)return;if(null!=_0x56d3e4['key']){for(let _0xe1be7e=0x0;_0xe1be7e<this['measureRequests']['length'];_0xe1be7e++)if(this['measureRequests'][_0xe1be7e]['key']===_0x56d3e4['key'])return void(this['measureRequests'][_0xe1be7e]=_0x56d3e4);}this['measureRequests']['push'](_0x56d3e4);}}['plugin'](_0x224010){let _0xb0541b=this['pluginMap']['get'](_0x224010);return(void 0x0===_0xb0541b||_0xb0541b&&_0xb0541b['plugin']!=_0x224010)&&this['pluginMap']['set'](_0x224010,_0xb0541b=this['plugins']['find'](_0x4150ca=>_0x4150ca['plugin']==_0x224010)||null),_0xb0541b&&_0xb0541b['update'](this)['value'];}get['documentTop'](){return this['contentDOM']['getBoundingClientRect']()['top']+this['viewState']['paddingTop'];}get['documentPadding'](){return{'top':this['viewState']['paddingTop'],'bottom':this['viewState']['paddingBottom']};}get['scaleX'](){return this['viewState']['scaleX'];}get['scaleY'](){return this['viewState']['scaleY'];}['elementAtHeight'](_0x447d93){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x447d93);}['lineBlockAtHeight'](_0x266532){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x266532);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x37b3cc){return this['viewState']['lineBlockAt'](_0x37b3cc);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x1cd876,_0x2107d4,_0x57ad42){return _0x5882dd(this,_0x1cd876,_0x519696(this,_0x1cd876,_0x2107d4,_0x57ad42));}['moveByGroup'](_0x402db3,_0x11eb20){return _0x5882dd(this,_0x402db3,_0x519696(this,_0x402db3,_0x11eb20,_0x47e103=>function(_0x2c842a,_0x20c0d3,_0x23f429){let _0x43d340=_0x2c842a['state']['charCategorizer'](_0x20c0d3),_0x3a9f23=_0x43d340(_0x23f429);return _0x3e1214=>{let _0x2ad3a4=_0x43d340(_0x3e1214);return _0x3a9f23==_0x1d3da0['Space']&&(_0x3a9f23=_0x2ad3a4),_0x3a9f23==_0x2ad3a4;};}(this,_0x402db3['head'],_0x47e103)));}['visualLineSide'](_0x43eeac,_0x54b424){let _0x1848fc=this['bidiSpans'](_0x43eeac),_0x43245e=this['textDirectionAt'](_0x43eeac['from']),_0x23eb90=_0x1848fc[_0x54b424?_0x1848fc['length']-0x1:0x0];return EditorSelection['cursor'](_0x23eb90['side'](_0x54b424,_0x43245e)+_0x43eeac['from'],_0x23eb90['forward'](!_0x54b424,_0x43245e)?0x1:-0x1);}['moveToLineBoundary'](_0x153e64,_0x16e1b0,_0x35cd2c=!0x0){return function(_0x3123bd,_0x35f1fe,_0x11a371,_0x157a6e){let _0x43f407=_0x5627e7(_0x3123bd,_0x35f1fe['head'],_0x35f1fe['assoc']||-0x1),_0x1aa0af=_0x157a6e&&_0x43f407['type']==_0x5ed1bf['Text']&&(_0x3123bd['lineWrapping']||_0x43f407['widgetLineBreaks'])?_0x3123bd['coordsAtPos'](_0x35f1fe['assoc']<0x0&&_0x35f1fe['head']>_0x43f407['from']?_0x35f1fe['head']-0x1:_0x35f1fe['head']):null;if(_0x1aa0af){let _0x375a28=_0x3123bd['dom']['getBoundingClientRect'](),_0xa91061=_0x3123bd['textDirectionAt'](_0x43f407['from']),_0x54bc95=_0x3123bd['posAtCoords']({'x':_0x11a371==(_0xa91061==_0x5d0416['LTR'])?_0x375a28['right']-0x1:_0x375a28['left']+0x1,'y':(_0x1aa0af['top']+_0x1aa0af['bottom'])/0x2});if(null!=_0x54bc95)return EditorSelection['cursor'](_0x54bc95,_0x11a371?-0x1:0x1);}return EditorSelection['cursor'](_0x11a371?_0x43f407['to']:_0x43f407['from'],_0x11a371?-0x1:0x1);}(this,_0x153e64,_0x16e1b0,_0x35cd2c);}['moveVertically'](_0x943efe,_0x3cce5a,_0x62f3ce){return _0x5882dd(this,_0x943efe,function(_0x2dd8fe,_0x4fdddd,_0x45d4dd,_0x561a53){let _0x49d2c8=_0x4fdddd['head'],_0x23174c=_0x45d4dd?0x1:-0x1;if(_0x49d2c8==(_0x45d4dd?_0x2dd8fe['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x49d2c8,_0x4fdddd['assoc']);let _0x536d51,_0x3b781c=_0x4fdddd['goalColumn'],_0x168c14=_0x2dd8fe['contentDOM']['getBoundingClientRect'](),_0x457807=_0x2dd8fe['coordsAtPos'](_0x49d2c8,_0x4fdddd['assoc']||-0x1),_0x5ede31=_0x2dd8fe['documentTop'];if(_0x457807)null==_0x3b781c&&(_0x3b781c=_0x457807['left']-_0x168c14['left']),_0x536d51=_0x23174c<0x0?_0x457807['top']:_0x457807['bottom'];else{let _0x177038=_0x2dd8fe['viewState']['lineBlockAt'](_0x49d2c8);null==_0x3b781c&&(_0x3b781c=Math['min'](_0x168c14['right']-_0x168c14['left'],_0x2dd8fe['defaultCharacterWidth']*(_0x49d2c8-_0x177038['from']))),_0x536d51=(_0x23174c<0x0?_0x177038['top']:_0x177038['bottom'])+_0x5ede31;}let _0x9884ca=_0x168c14['left']+_0x3b781c,_0x1ea865=null!=_0x561a53?_0x561a53:_0x2dd8fe['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x35de2c=0x0;;_0x35de2c+=0xa){let _0x6f5868=_0x536d51+(_0x1ea865+_0x35de2c)*_0x23174c,_0x2d8ff7=_0x4cb4b6(_0x2dd8fe,{'x':_0x9884ca,'y':_0x6f5868},!0x1,_0x23174c);if(_0x6f5868<_0x168c14['top']||_0x6f5868>_0x168c14['bottom']||(_0x23174c<0x0?_0x2d8ff7<_0x49d2c8:_0x2d8ff7>_0x49d2c8)){let _0x46bf3c=_0x2dd8fe['docView']['coordsForChar'](_0x2d8ff7),_0x31b7b0=!_0x46bf3c||_0x6f5868<_0x46bf3c['top']?-0x1:0x1;return EditorSelection['cursor'](_0x2d8ff7,_0x31b7b0,void 0x0,_0x3b781c);}}}(this,_0x943efe,_0x3cce5a,_0x62f3ce));}['domAtPos'](_0x34c1c7){return this['docView']['domAtPos'](_0x34c1c7);}['posAtDOM'](_0x4b6113,_0x5223e1=0x0){return this['docView']['posFromDOM'](_0x4b6113,_0x5223e1);}['posAtCoords'](_0x2fd5c4,_0x57480e=!0x0){return this['readMeasured'](),_0x4cb4b6(this,_0x2fd5c4,_0x57480e);}['coordsAtPos'](_0x4470c1,_0x23a196=0x1){this['readMeasured']();let _0x324329=this['docView']['coordsAt'](_0x4470c1,_0x23a196);if(!_0x324329||_0x324329['left']==_0x324329['right'])return _0x324329;let _0x2cee4c=this['state']['doc']['lineAt'](_0x4470c1),_0x49cd2a=this['bidiSpans'](_0x2cee4c);return _0x5503c6(_0x324329,_0x49cd2a[_0x2721c5['find'](_0x49cd2a,_0x4470c1-_0x2cee4c['from'],-0x1,_0x23a196)]['dir']==_0x5d0416['LTR']==_0x23a196>0x0);}['coordsForChar'](_0x2eb01f){return this['readMeasured'](),this['docView']['coordsForChar'](_0x2eb01f);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x15ac5b){return!this['state']['facet'](_0x1eb688)||_0x15ac5b<this['viewport']['from']||_0x15ac5b>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x15ac5b));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x5553f5){if(_0x5553f5['length']>_0x48af24)return _0x2051bf(_0x5553f5['length']);let _0x5017be,_0x2f59b3=this['textDirectionAt'](_0x5553f5['from']);for(let _0xe46499 of this['bidiCache'])if(_0xe46499['from']==_0x5553f5['from']&&_0xe46499['dir']==_0x2f59b3&&(_0xe46499['fresh']||_0x3d975c(_0xe46499['isolates'],_0x5017be=_0x126ce8(this,_0x5553f5))))return _0xe46499['order'];_0x5017be||(_0x5017be=_0x126ce8(this,_0x5553f5));let _0x34493c=function(_0x59285a,_0x5baf81,_0x22037f){if(!_0x59285a)return[new _0x2721c5(0x0,0x0,_0x5baf81==_0x42062f?0x1:0x0)];if(_0x5baf81==_0x246ad3&&!_0x22037f['length']&&!_0x4e6568['test'](_0x59285a))return _0x2051bf(_0x59285a['length']);if(_0x22037f['length']){for(;_0x59285a['length']>_0x5d3a0d['length'];)_0x5d3a0d[_0x5d3a0d['length']]=0x100;}let _0x591cb4=[],_0x48681c=_0x5baf81==_0x246ad3?0x0:0x1;return _0x32d87d(_0x59285a,_0x48681c,_0x48681c,_0x22037f,0x0,_0x59285a['length'],_0x591cb4),_0x591cb4;}(_0x5553f5['text'],_0x2f59b3,_0x5017be);return this['bidiCache']['push'](new _0x158c79(_0x5553f5['from'],_0x5553f5['to'],_0x2f59b3,_0x5017be,!0x0,_0x34493c)),_0x34493c;}get['hasFocus'](){var _0x17a117;return(this['dom']['ownerDocument']['hasFocus']()||_0x4e5613['safari']&&(null===(_0x17a117=this['inputState'])||void 0x0===_0x17a117?void 0x0:_0x17a117['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{_0x2ce3c0(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x8826a0){this['_root']!=_0x8826a0&&(this['_root']=_0x8826a0,this['observer']['setWindow']((0x9==_0x8826a0['nodeType']?_0x8826a0:_0x8826a0['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x4df3e5 of this['plugins'])_0x4df3e5['destroy'](this);this['plugins']=[],this['inputState']['destroy'](),this['docView']['destroy'](),this['dom']['remove'](),this['observer']['destroy'](),this['measureScheduled']>-0x1&&this['win']['cancelAnimationFrame'](this['measureScheduled']),this['destroyed']=!0x0;}static['scrollIntoView'](_0x2c8ac9,_0x1cdd87={}){return _0x54507d['of'](new ScrollTarget('number'==typeof _0x2c8ac9?EditorSelection['cursor'](_0x2c8ac9):_0x2c8ac9,_0x1cdd87['y'],_0x1cdd87['x'],_0x1cdd87['yMargin'],_0x1cdd87['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x1d76dd,scrollLeft:_0x53e7d6}=this['scrollDOM'],_0x3f99e7=this['viewState']['scrollAnchorAt'](_0x1d76dd);return _0x54507d['of'](new ScrollTarget(EditorSelection['cursor'](_0x3f99e7['from']),'start','start',_0x3f99e7['top']-_0x1d76dd,_0x53e7d6,!0x0));}['setTabFocusMode'](_0x2f9ffa){null==_0x2f9ffa?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x2f9ffa?this['inputState']['tabFocusMode']=_0x2f9ffa?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x2f9ffa);}static['domEventHandlers'](_0x1b20ff){return _0x30d55e['define'](()=>({}),{'eventHandlers':_0x1b20ff});}static['domEventObservers'](_0x2c25af){return _0x30d55e['define'](()=>({}),{'eventObservers':_0x2c25af});}static['theme'](_0x34a627,_0x315496){let _0x21dd1e=StyleModule['newName'](),_0x4810eb=[_0x348825['of'](_0x21dd1e),_0x4bc7f3['of'](_0x4bc960('.'+_0x21dd1e,_0x34a627))];return _0x315496&&_0x315496['dark']&&_0x4810eb['push'](_0x4a76c5['of'](!0x0)),_0x4810eb;}static['baseTheme'](_0x4a794d){return _0x14b795['lowest'](_0x4bc7f3['of'](_0x4bc960('.'+_0x7cbc5a,_0x4a794d,_0xb3c483)));}static['findFromDOM'](_0x14be1d){var _0x2586b2;let _0x360a33=_0x14be1d['querySelector']('.cm-content'),_0x3a9c0f=_0x360a33&&ContentView['get'](_0x360a33)||ContentView['get'](_0x14be1d);return(null===(_0x2586b2=null==_0x3a9c0f?void 0x0:_0x3a9c0f['rootView'])||void 0x0===_0x2586b2?void 0x0:_0x2586b2['view'])||null;}}EditorView['styleModule']=_0x4bc7f3,EditorView['inputHandler']=_0x5a1940,EditorView['clipboardInputFilter']=_0x3fa4da,EditorView['clipboardOutputFilter']=_0x3f3195,EditorView['scrollHandler']=tb,EditorView['focusChangeEffect']=_0x1aea33,EditorView['perLineTextDirection']=_0x1eb688,EditorView['exceptionSink']=_0x4c2d06,EditorView['updateListener']=_0x4b702a,EditorView['editable']=_0x344448,EditorView['mouseSelectionStyle']=_0x48c127,EditorView['dragMovesSelection']=_0x43a499,EditorView['clickAddsSelectionRange']=_0x1214e7,EditorView['decorations']=_0x3f2eb0,EditorView['outerDecorations']=_0x5489e1,EditorView['atomicRanges']=_0xa38285,EditorView['bidiIsolatedRanges']=_0x2debb2,EditorView['scrollMargins']=_0x2d99f8,EditorView['darkTheme']=_0x4a76c5,EditorView['cspNonce']=Facet['define']({'combine':_0x6219be=>_0x6219be['length']?_0x6219be[0x0]:''}),EditorView['contentAttributes']=_0x2cfbe5,EditorView['editorAttributes']=_0x38949e,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x48af24=0x1000,_0x44c937={};class _0x158c79{constructor(_0x1112ad,_0x36048c,_0x379805,_0x2dd371,_0x321c9f,_0x504832){this['from']=_0x1112ad,this['to']=_0x36048c,this['dir']=_0x379805,this['isolates']=_0x2dd371,this['fresh']=_0x321c9f,this['order']=_0x504832;}static['update'](_0x50615e,_0x50cff7){if(_0x50cff7['empty']&&!_0x50615e['some'](_0x280622=>_0x280622['fresh']))return _0x50615e;let _0x1c8c46=[],_0x277635=_0x50615e['length']?_0x50615e[_0x50615e['length']-0x1]['dir']:_0x5d0416['LTR'];for(let _0x11b553=Math['max'](0x0,_0x50615e['length']-0xa);_0x11b553<_0x50615e['length'];_0x11b553++){let _0x16e3c3=_0x50615e[_0x11b553];_0x16e3c3['dir']!=_0x277635||_0x50cff7['touchesRange'](_0x16e3c3['from'],_0x16e3c3['to'])||_0x1c8c46['push'](new _0x158c79(_0x50cff7['mapPos'](_0x16e3c3['from'],0x1),_0x50cff7['mapPos'](_0x16e3c3['to'],-0x1),_0x16e3c3['dir'],_0x16e3c3['isolates'],!0x1,_0x16e3c3['order']));}return _0x1c8c46;}}function _0x265a31(_0x43a0f0,_0x29102a,_0x2657dc){for(let _0xe0a3f1=_0x43a0f0['state']['facet'](_0x29102a),_0x5e97c2=_0xe0a3f1['length']-0x1;_0x5e97c2>=0x0;_0x5e97c2--){let _0x4cbfa0=_0xe0a3f1[_0x5e97c2],_0x13a9ec='function'==typeof _0x4cbfa0?_0x4cbfa0(_0x43a0f0):_0x4cbfa0;_0x13a9ec&&_0x2add30(_0x13a9ec,_0x2657dc);}return _0x2657dc;}const _0x2bf352=_0x4e5613['mac']?'mac':_0x4e5613['windows']?'win':_0x4e5613['linux']?'linux':'key';function _0x310cfa(_0x3ca711,_0x24a69c,_0x1ec2d1){return _0x24a69c['altKey']&&(_0x3ca711='Alt-'+_0x3ca711),_0x24a69c['ctrlKey']&&(_0x3ca711='Ctrl-'+_0x3ca711),_0x24a69c['metaKey']&&(_0x3ca711='Meta-'+_0x3ca711),!0x1!==_0x1ec2d1&&_0x24a69c['shiftKey']&&(_0x3ca711='Shift-'+_0x3ca711),_0x3ca711;}const _0x1da785=_0x14b795['default'](EditorView['domEventHandlers']({'keydown':(_0x42c7ca,_0x6ade94)=>function(_0x4f117e,_0x4b463a,_0x20da28,_0x299731){_0x24c35a=_0x4b463a;let _0x197d98=function(_0x43280b){var _0x4a3878=!(_0x257003&&_0x43280b['metaKey']&&_0x43280b['shiftKey']&&!_0x43280b['ctrlKey']&&!_0x43280b['altKey']||_0x4c2e2&&_0x43280b['shiftKey']&&_0x43280b['key']&&0x1==_0x43280b['key']['length']||'Unidentified'==_0x43280b['key'])&&_0x43280b['key']||(_0x43280b['shiftKey']?_0x517f91:_0x2fee01)[_0x43280b['keyCode']]||_0x43280b['key']||'Unidentified';return'Esc'==_0x4a3878&&(_0x4a3878='Escape'),'Del'==_0x4a3878&&(_0x4a3878='Delete'),'Left'==_0x4a3878&&(_0x4a3878='ArrowLeft'),'Up'==_0x4a3878&&(_0x4a3878='ArrowUp'),'Right'==_0x4a3878&&(_0x4a3878='ArrowRight'),'Down'==_0x4a3878&&(_0x4a3878='ArrowDown'),_0x4a3878;}(_0x4b463a),_0xa6928a=_0x45c349(_0x197d98,0x0),_0x2e0ccd=_0x91b08f(_0xa6928a)==_0x197d98['length']&&'\x20'!=_0x197d98,_0x5d9cf7='',_0x5f5871=!0x1,_0x1ca159=!0x1,_0x108870=!0x1;_0x540a73&&_0x540a73['view']==_0x20da28&&_0x540a73['scope']==_0x299731&&(_0x5d9cf7=_0x540a73['prefix']+'\x20',_0x18be14['indexOf'](_0x4b463a['keyCode'])<0x0&&(_0x1ca159=!0x0,_0x540a73=null));let _0x54c421,_0x176123,_0x199390=new Set(),_0x8fff51=_0x39d713=>{if(_0x39d713){for(let _0x14926f of _0x39d713['run'])if(!_0x199390['has'](_0x14926f)&&(_0x199390['add'](_0x14926f),_0x14926f(_0x20da28)))return _0x39d713['stopPropagation']&&(_0x108870=!0x0),!0x0;_0x39d713['preventDefault']&&(_0x39d713['stopPropagation']&&(_0x108870=!0x0),_0x1ca159=!0x0);}return!0x1;},_0x59ba7a=_0x4f117e[_0x299731];return _0x59ba7a&&(_0x8fff51(_0x59ba7a[_0x5d9cf7+_0x310cfa(_0x197d98,_0x4b463a,!_0x2e0ccd)])?_0x5f5871=!0x0:!_0x2e0ccd||!(_0x4b463a['altKey']||_0x4b463a['metaKey']||_0x4b463a['ctrlKey'])||_0x4e5613['windows']&&_0x4b463a['ctrlKey']&&_0x4b463a['altKey']||_0x4e5613['mac']&&_0x4b463a['altKey']&&!_0x4b463a['ctrlKey']&&!_0x4b463a['metaKey']||!(_0x54c421=_0x2fee01[_0x4b463a['keyCode']])||_0x54c421==_0x197d98?_0x2e0ccd&&_0x4b463a['shiftKey']&&_0x8fff51(_0x59ba7a[_0x5d9cf7+_0x310cfa(_0x197d98,_0x4b463a,!0x0)])&&(_0x5f5871=!0x0):(_0x8fff51(_0x59ba7a[_0x5d9cf7+_0x310cfa(_0x54c421,_0x4b463a,!0x0)])||_0x4b463a['shiftKey']&&(_0x176123=_0x517f91[_0x4b463a['keyCode']])!=_0x197d98&&_0x176123!=_0x54c421&&_0x8fff51(_0x59ba7a[_0x5d9cf7+_0x310cfa(_0x176123,_0x4b463a,!0x1)]))&&(_0x5f5871=!0x0),!_0x5f5871&&_0x8fff51(_0x59ba7a['_any'])&&(_0x5f5871=!0x0)),_0x1ca159&&(_0x5f5871=!0x0),_0x5f5871&&_0x108870&&_0x4b463a['stopPropagation'](),(_0x24c35a=null,_0x5f5871);}(function(_0x1f7c30){let _0x4bedaf=_0x1f7c30['facet'](_0xebaf37),_0x108a21=_0x2cb63e['get'](_0x4bedaf);return _0x108a21||_0x2cb63e['set'](_0x4bedaf,_0x108a21=function(_0x25d486,_0x46c0a3=_0x2bf352){let _0x4f5566=Object['create'](null),_0x322a53=Object['create'](null),_0x5ef1a6=(_0x2bf011,_0x4a708b)=>{let _0x103b3c=_0x322a53[_0x2bf011];if(null==_0x103b3c)_0x322a53[_0x2bf011]=_0x4a708b;else{if(_0x103b3c!=_0x4a708b)throw new Error('Key\x20binding\x20'+_0x2bf011+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x4c969b=(_0x548d74,_0x46b2dc,_0x2841ae,_0x4757cf,_0x12944b)=>{var _0x194068,_0x445aa5;let _0x4a7924=_0x4f5566[_0x548d74]||(_0x4f5566[_0x548d74]=Object['create'](null)),_0x23acd0=_0x46b2dc['split'](/ (?!$)/)['map'](_0x9af59c=>function(_0x53997c,_0x3b53b5){const _0x1efb6c=_0x53997c['split'](/-(?!$)/);let _0x28a2a0,_0x271b7f,_0x51ebd4,_0x5ee54b,_0x4c2557=_0x1efb6c[_0x1efb6c['length']-0x1];'Space'==_0x4c2557&&(_0x4c2557='\x20');for(let _0x23fc96=0x0;_0x23fc96<_0x1efb6c['length']-0x1;++_0x23fc96){const _0x50f3bb=_0x1efb6c[_0x23fc96];if(/^(cmd|meta|m)$/i['test'](_0x50f3bb))_0x5ee54b=!0x0;else{if(/^a(lt)?$/i['test'](_0x50f3bb))_0x28a2a0=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x50f3bb))_0x271b7f=!0x0;else{if(/^s(hift)?$/i['test'](_0x50f3bb))_0x51ebd4=!0x0;else{if(!/^mod$/i['test'](_0x50f3bb))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x50f3bb);'mac'==_0x3b53b5?_0x5ee54b=!0x0:_0x271b7f=!0x0;}}}}}return _0x28a2a0&&(_0x4c2557='Alt-'+_0x4c2557),_0x271b7f&&(_0x4c2557='Ctrl-'+_0x4c2557),_0x5ee54b&&(_0x4c2557='Meta-'+_0x4c2557),_0x51ebd4&&(_0x4c2557='Shift-'+_0x4c2557),_0x4c2557;}(_0x9af59c,_0x46c0a3));for(let _0x2dadd4=0x1;_0x2dadd4<_0x23acd0['length'];_0x2dadd4++){let _0x1554e5=_0x23acd0['slice'](0x0,_0x2dadd4)['join']('\x20');_0x5ef1a6(_0x1554e5,!0x0),_0x4a7924[_0x1554e5]||(_0x4a7924[_0x1554e5]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x8221c7=>{let _0x503a85=_0x540a73={'view':_0x8221c7,'prefix':_0x1554e5,'scope':_0x548d74};return setTimeout(()=>{_0x540a73==_0x503a85&&(_0x540a73=null);},_0x4034cc),!0x0;}]});}let _0x385f2c=_0x23acd0['join']('\x20');_0x5ef1a6(_0x385f2c,!0x1);let _0x1f01a1=_0x4a7924[_0x385f2c]||(_0x4a7924[_0x385f2c]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x445aa5=null===(_0x194068=_0x4a7924['_any'])||void 0x0===_0x194068?void 0x0:_0x194068['run'])||void 0x0===_0x445aa5?void 0x0:_0x445aa5['slice']())||[]});_0x2841ae&&_0x1f01a1['run']['push'](_0x2841ae),_0x4757cf&&(_0x1f01a1['preventDefault']=!0x0),_0x12944b&&(_0x1f01a1['stopPropagation']=!0x0);};for(let _0x349b57 of _0x25d486){let _0x71341b=_0x349b57['scope']?_0x349b57['scope']['split']('\x20'):['editor'];if(_0x349b57['any'])for(let _0x3d2b5a of _0x71341b){let _0x16bb92=_0x4f5566[_0x3d2b5a]||(_0x4f5566[_0x3d2b5a]=Object['create'](null));_0x16bb92['_any']||(_0x16bb92['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x5f0b4b}=_0x349b57;for(let _0x3d8d0a in _0x16bb92)_0x16bb92[_0x3d8d0a]['run']['push'](_0x14f76a=>_0x5f0b4b(_0x14f76a,_0x24c35a));}let _0x4c1493=_0x349b57[_0x46c0a3]||_0x349b57['key'];if(_0x4c1493){for(let _0x5192dc of _0x71341b)_0x4c969b(_0x5192dc,_0x4c1493,_0x349b57['run'],_0x349b57['preventDefault'],_0x349b57['stopPropagation']),_0x349b57['shift']&&_0x4c969b(_0x5192dc,'Shift-'+_0x4c1493,_0x349b57['shift'],_0x349b57['preventDefault'],_0x349b57['stopPropagation']);}}return _0x4f5566;}(_0x4bedaf['reduce']((_0x2742e4,_0x5f6989)=>_0x2742e4['concat'](_0x5f6989),[]))),_0x108a21;}(_0x6ade94['state']),_0x42c7ca,_0x6ade94,'editor')})),_0xebaf37=Facet['define']({'enables':_0x1da785}),_0x2cb63e=new WeakMap();let _0x540a73=null;const _0x4034cc=0xfa0;let _0x24c35a=null;class RectangleMarker{constructor(_0x13d024,_0x34a0db,_0x38f8fd,_0x160835,_0x56a937){this['className']=_0x13d024,this['left']=_0x34a0db,this['top']=_0x38f8fd,this['width']=_0x160835,this['height']=_0x56a937;}['draw'](){let _0x55bcbb=document['createElement']('div');return _0x55bcbb['className']=this['className'],this['adjust'](_0x55bcbb),_0x55bcbb;}['update'](_0x3b06fb,_0x2ac847){return _0x2ac847['className']==this['className']&&(this['adjust'](_0x3b06fb),!0x0);}['adjust'](_0x5208ba){_0x5208ba['style']['left']=this['left']+'px',_0x5208ba['style']['top']=this['top']+'px',null!=this['width']&&(_0x5208ba['style']['width']=this['width']+'px'),_0x5208ba['style']['height']=this['height']+'px';}['eq'](_0x25573){return this['left']==_0x25573['left']&&this['top']==_0x25573['top']&&this['width']==_0x25573['width']&&this['height']==_0x25573['height']&&this['className']==_0x25573['className'];}static['forRange'](_0x4063fe,_0x5bbc1a,_0x57e3e3){if(_0x57e3e3['empty']){let _0x1870da=_0x4063fe['coordsAtPos'](_0x57e3e3['head'],_0x57e3e3['assoc']||0x1);if(!_0x1870da)return[];let _0x2d18ac=_0x16c026(_0x4063fe);return[new RectangleMarker(_0x5bbc1a,_0x1870da['left']-_0x2d18ac['left'],_0x1870da['top']-_0x2d18ac['top'],null,_0x1870da['bottom']-_0x1870da['top'])];}return function(_0x28cd2e,_0x2f02b3,_0x544ed4){if(_0x544ed4['to']<=_0x28cd2e['viewport']['from']||_0x544ed4['from']>=_0x28cd2e['viewport']['to'])return[];let _0x4d215a=Math['max'](_0x544ed4['from'],_0x28cd2e['viewport']['from']),_0x38cbdd=Math['min'](_0x544ed4['to'],_0x28cd2e['viewport']['to']),_0x1b6f51=_0x28cd2e['textDirection']==_0x5d0416['LTR'],_0xfb92e0=_0x28cd2e['contentDOM'],_0x65436a=_0xfb92e0['getBoundingClientRect'](),_0x8635a=_0x16c026(_0x28cd2e),_0x475020=_0xfb92e0['querySelector']('.cm-line'),_0x59b923=_0x475020&&window['getComputedStyle'](_0x475020),_0x1a300e=_0x65436a['left']+(_0x59b923?parseInt(_0x59b923['paddingLeft'])+Math['min'](0x0,parseInt(_0x59b923['textIndent'])):0x0),_0x181d6e=_0x65436a['right']-(_0x59b923?parseInt(_0x59b923['paddingRight']):0x0),_0x3eaaf9=_0x5627e7(_0x28cd2e,_0x4d215a,0x1),_0x283fed=_0x5627e7(_0x28cd2e,_0x38cbdd,-0x1),_0x1fc6b0=_0x3eaaf9['type']==_0x5ed1bf['Text']?_0x3eaaf9:null,_0x3028b3=_0x283fed['type']==_0x5ed1bf['Text']?_0x283fed:null;_0x1fc6b0&&(_0x28cd2e['lineWrapping']||_0x3eaaf9['widgetLineBreaks'])&&(_0x1fc6b0=_0x3e2045(_0x28cd2e,_0x4d215a,0x1,_0x1fc6b0)),_0x3028b3&&(_0x28cd2e['lineWrapping']||_0x283fed['widgetLineBreaks'])&&(_0x3028b3=_0x3e2045(_0x28cd2e,_0x38cbdd,-0x1,_0x3028b3));if(_0x1fc6b0&&_0x3028b3&&_0x1fc6b0['from']==_0x3028b3['from']&&_0x1fc6b0['to']==_0x3028b3['to'])return _0x53c1b6(_0x1f435f(_0x544ed4['from'],_0x544ed4['to'],_0x1fc6b0));{let _0x3905c6=_0x1fc6b0?_0x1f435f(_0x544ed4['from'],null,_0x1fc6b0):_0x1c96ad(_0x3eaaf9,!0x1),_0x18d925=_0x3028b3?_0x1f435f(null,_0x544ed4['to'],_0x3028b3):_0x1c96ad(_0x283fed,!0x0),_0x5f0094=[];return(_0x1fc6b0||_0x3eaaf9)['to']<(_0x3028b3||_0x283fed)['from']-(_0x1fc6b0&&_0x3028b3?0x1:0x0)||_0x3eaaf9['widgetLineBreaks']>0x1&&_0x3905c6['bottom']+_0x28cd2e['defaultLineHeight']/0x2<_0x18d925['top']?_0x5f0094['push'](_0x450519(_0x1a300e,_0x3905c6['bottom'],_0x181d6e,_0x18d925['top'])):_0x3905c6['bottom']<_0x18d925['top']&&_0x28cd2e['elementAtHeight']((_0x3905c6['bottom']+_0x18d925['top'])/0x2)['type']==_0x5ed1bf['Text']&&(_0x3905c6['bottom']=_0x18d925['top']=(_0x3905c6['bottom']+_0x18d925['top'])/0x2),_0x53c1b6(_0x3905c6)['concat'](_0x5f0094)['concat'](_0x53c1b6(_0x18d925));}function _0x450519(_0x2b7b97,_0x36040f,_0x5860b2,_0x29a93b){return new RectangleMarker(_0x2f02b3,_0x2b7b97-_0x8635a['left'],_0x36040f-_0x8635a['top'],_0x5860b2-_0x2b7b97,_0x29a93b-_0x36040f);}function _0x53c1b6({top:_0xf8db6d,bottom:_0x567c9f,horizontal:_0x3b569a}){let _0x465112=[];for(let _0x45d9a0=0x0;_0x45d9a0<_0x3b569a['length'];_0x45d9a0+=0x2)_0x465112['push'](_0x450519(_0x3b569a[_0x45d9a0],_0xf8db6d,_0x3b569a[_0x45d9a0+0x1],_0x567c9f));return _0x465112;}function _0x1f435f(_0x539c7f,_0x3de658,_0x5c2a1d){let _0x16f5b9=0x3b9aca00,_0x2d85db=-0x3b9aca00,_0x3c7ba1=[];function _0x3755e0(_0x341094,_0x581541,_0x59ff4d,_0x4bbd3c,_0x49a04a){let _0x88cb1d=_0x28cd2e['coordsAtPos'](_0x341094,_0x341094==_0x5c2a1d['to']?-0x2:0x2),_0x5e8467=_0x28cd2e['coordsAtPos'](_0x59ff4d,_0x59ff4d==_0x5c2a1d['from']?0x2:-0x2);_0x88cb1d&&_0x5e8467&&(_0x16f5b9=Math['min'](_0x88cb1d['top'],_0x5e8467['top'],_0x16f5b9),_0x2d85db=Math['max'](_0x88cb1d['bottom'],_0x5e8467['bottom'],_0x2d85db),_0x49a04a==_0x5d0416['LTR']?_0x3c7ba1['push'](_0x1b6f51&&_0x581541?_0x1a300e:_0x88cb1d['left'],_0x1b6f51&&_0x4bbd3c?_0x181d6e:_0x5e8467['right']):_0x3c7ba1['push'](!_0x1b6f51&&_0x4bbd3c?_0x1a300e:_0x5e8467['left'],!_0x1b6f51&&_0x581541?_0x181d6e:_0x88cb1d['right']));}let _0x5465cf=null!=_0x539c7f?_0x539c7f:_0x5c2a1d['from'],_0x1f0d11=null!=_0x3de658?_0x3de658:_0x5c2a1d['to'];for(let _0x4a4754 of _0x28cd2e['visibleRanges'])if(_0x4a4754['to']>_0x5465cf&&_0x4a4754['from']<_0x1f0d11)for(let _0x24b604=Math['max'](_0x4a4754['from'],_0x5465cf),_0x431078=Math['min'](_0x4a4754['to'],_0x1f0d11);;){let _0x3a934a=_0x28cd2e['state']['doc']['lineAt'](_0x24b604);for(let _0x5e9531 of _0x28cd2e['bidiSpans'](_0x3a934a)){let _0x473285=_0x5e9531['from']+_0x3a934a['from'],_0x499378=_0x5e9531['to']+_0x3a934a['from'];if(_0x473285>=_0x431078)break;_0x499378>_0x24b604&&_0x3755e0(Math['max'](_0x473285,_0x24b604),null==_0x539c7f&&_0x473285<=_0x5465cf,Math['min'](_0x499378,_0x431078),null==_0x3de658&&_0x499378>=_0x1f0d11,_0x5e9531['dir']);}if(_0x24b604=_0x3a934a['to']+0x1,_0x24b604>=_0x431078)break;}return 0x0==_0x3c7ba1['length']&&_0x3755e0(_0x5465cf,null==_0x539c7f,_0x1f0d11,null==_0x3de658,_0x28cd2e['textDirection']),{'top':_0x16f5b9,'bottom':_0x2d85db,'horizontal':_0x3c7ba1};}function _0x1c96ad(_0x2c1721,_0x4719bd){let _0x50bf58=_0x65436a['top']+(_0x4719bd?_0x2c1721['top']:_0x2c1721['bottom']);return{'top':_0x50bf58,'bottom':_0x50bf58,'horizontal':[]};}}(_0x4063fe,_0x5bbc1a,_0x57e3e3);}}function _0x16c026(_0x1acc02){let _0x2ca376=_0x1acc02['scrollDOM']['getBoundingClientRect']();return{'left':(_0x1acc02['textDirection']==_0x5d0416['LTR']?_0x2ca376['left']:_0x2ca376['right']-_0x1acc02['scrollDOM']['clientWidth']*_0x1acc02['scaleX'])-_0x1acc02['scrollDOM']['scrollLeft']*_0x1acc02['scaleX'],'top':_0x2ca376['top']-_0x1acc02['scrollDOM']['scrollTop']*_0x1acc02['scaleY']};}function _0x3e2045(_0x47fc1b,_0x15bc08,_0x2c742e,_0x5f680f){let _0x2ff4ad=_0x47fc1b['coordsAtPos'](_0x15bc08,0x2*_0x2c742e);if(!_0x2ff4ad)return _0x5f680f;let _0x5700c4=_0x47fc1b['dom']['getBoundingClientRect'](),_0x3b4444=(_0x2ff4ad['top']+_0x2ff4ad['bottom'])/0x2,_0x39bc6b=_0x47fc1b['posAtCoords']({'x':_0x5700c4['left']+0x1,'y':_0x3b4444}),_0x583900=_0x47fc1b['posAtCoords']({'x':_0x5700c4['right']-0x1,'y':_0x3b4444});return null==_0x39bc6b||null==_0x583900?_0x5f680f:{'from':Math['max'](_0x5f680f['from'],Math['min'](_0x39bc6b,_0x583900)),'to':Math['min'](_0x5f680f['to'],Math['max'](_0x39bc6b,_0x583900))};}class _0x4d05cd{constructor(_0x575f5c,_0x1d8c20){this['view']=_0x575f5c,this['layer']=_0x1d8c20,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x575f5c['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x1d8c20['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x1d8c20['class']&&this['dom']['classList']['add'](_0x1d8c20['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x575f5c['state']),_0x575f5c['requestMeasure'](this['measureReq']),_0x1d8c20['mount']&&_0x1d8c20['mount'](this['dom'],_0x575f5c);}['update'](_0x20c908){_0x20c908['startState']['facet'](_0x3bdcd6)!=_0x20c908['state']['facet'](_0x3bdcd6)&&this['setOrder'](_0x20c908['state']),(this['layer']['update'](_0x20c908,this['dom'])||_0x20c908['geometryChanged'])&&(this['scale'](),_0x20c908['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x24b247){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x24b247['requestMeasure'](this['measureReq']);}['setOrder'](_0x1767b3){let _0x3d6eb0=0x0,_0x2da165=_0x1767b3['facet'](_0x3bdcd6);for(;_0x3d6eb0<_0x2da165['length']&&_0x2da165[_0x3d6eb0]!=this['layer'];)_0x3d6eb0++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x3d6eb0);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x652fd0,scaleY:_0x4d7b30}=this['view'];_0x652fd0==this['scaleX']&&_0x4d7b30==this['scaleY']||(this['scaleX']=_0x652fd0,this['scaleY']=_0x4d7b30,this['dom']['style']['transform']='scale('+0x1/_0x652fd0+',\x20'+0x1/_0x4d7b30+')');}['draw'](_0x5b4fa9){if(_0x5b4fa9['length']!=this['drawn']['length']||_0x5b4fa9['some']((_0x2f9e15,_0x1b38b9)=>{return _0x59e67d=_0x2f9e15,_0x261314=this['drawn'][_0x1b38b9],!(_0x59e67d['constructor']==_0x261314['constructor']&&_0x59e67d['eq'](_0x261314));var _0x59e67d,_0x261314;})){let _0x1385a0=this['dom']['firstChild'],_0x1176bb=0x0;for(let _0x4b1b0d of _0x5b4fa9)_0x4b1b0d['update']&&_0x1385a0&&_0x4b1b0d['constructor']&&this['drawn'][_0x1176bb]['constructor']&&_0x4b1b0d['update'](_0x1385a0,this['drawn'][_0x1176bb])?(_0x1385a0=_0x1385a0['nextSibling'],_0x1176bb++):this['dom']['insertBefore'](_0x4b1b0d['draw'](),_0x1385a0);for(;_0x1385a0;){let _0x36d8cb=_0x1385a0['nextSibling'];_0x1385a0['remove'](),_0x1385a0=_0x36d8cb;}this['drawn']=_0x5b4fa9,_0x4e5613['safari']&&_0x4e5613['safari_version']>=0x1a&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const _0x3bdcd6=Facet['define']();function _0x5848c4(_0x135d8e){return[_0x30d55e['define'](_0x22c7cc=>new _0x4d05cd(_0x22c7cc,_0x135d8e)),_0x3bdcd6['of'](_0x135d8e)];}const _0x252451=Facet['define']({'combine':_0x2c07c8=>_0x267f8f(_0x2c07c8,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x59c9e6,_0x408ac2)=>Math['min'](_0x59c9e6,_0x408ac2),'drawRangeCursor':(_0x34328b,_0x42aae2)=>_0x34328b||_0x42aae2})});function _0x5aaddc(_0x52dc8d={}){return[_0x252451['of'](_0x52dc8d),_0x3d32e5,_0x142711,_0x3d8148,_0x40b5b4['of'](!0x0)];}function tv(_0x373685){return _0x373685['startState']['facet'](_0x252451)!=_0x373685['state']['facet'](_0x252451);}const _0x3d32e5=_0x5848c4({'above':!0x0,'markers'(_0x63f6b5){let {state:_0x31b3eb}=_0x63f6b5,_0x2e3b8d=_0x31b3eb['facet'](_0x252451),_0x4f6849=[];for(let _0x257b19 of _0x31b3eb['selection']['ranges']){let _0x41141a=_0x257b19==_0x31b3eb['selection']['main'];if(_0x257b19['empty']||_0x2e3b8d['drawRangeCursor']){let _0x1f5a73=_0x41141a?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x444e5b=_0x257b19['empty']?_0x257b19:EditorSelection['cursor'](_0x257b19['head'],_0x257b19['head']>_0x257b19['anchor']?-0x1:0x1);for(let _0x431ea1 of RectangleMarker['forRange'](_0x63f6b5,_0x1f5a73,_0x444e5b))_0x4f6849['push'](_0x431ea1);}}return _0x4f6849;},'update'(_0x3dc865,_0x50175c){_0x3dc865['transactions']['some'](_0x5295b1=>_0x5295b1['selection'])&&(_0x50175c['style']['animationName']='cm-blink'==_0x50175c['style']['animationName']?'cm-blink2':'cm-blink');let _0x100282=tv(_0x3dc865);return _0x100282&&_0x1bf2f8(_0x3dc865['state'],_0x50175c),_0x3dc865['docChanged']||_0x3dc865['selectionSet']||_0x100282;},'mount'(_0x201f40,_0x26ad3f){_0x1bf2f8(_0x26ad3f['state'],_0x201f40);},'class':'cm-cursorLayer'});function _0x1bf2f8(_0x118b34,_0x67b8c8){_0x67b8c8['style']['animationDuration']=_0x118b34['facet'](_0x252451)['cursorBlinkRate']+'ms';}const _0x142711=_0x5848c4({'above':!0x1,'markers':_0x4f120e=>_0x4f120e['state']['selection']['ranges']['map'](_0x45c40a=>_0x45c40a['empty']?[]:RectangleMarker['forRange'](_0x4f120e,'cm-selectionBackground',_0x45c40a))['reduce']((_0x59d7cb,_0x314571)=>_0x59d7cb['concat'](_0x314571)),'update':(_0x3cb76e,_0x12edce)=>_0x3cb76e['docChanged']||_0x3cb76e['selectionSet']||_0x3cb76e['viewportChanged']||tv(_0x3cb76e),'class':'cm-selectionLayer'}),_0x3d8148=_0x14b795['highest'](EditorView['theme']({'.cm-line':{'&\x20::selection,\x20&::selection':{'backgroundColor':'transparent\x20!important'},'caretColor':'transparent\x20!important'},'.cm-content':{'caretColor':'transparent\x20!important','&\x20:focus':{'caretColor':'initial\x20!important','&::selection,\x20&\x20::selection':{'backgroundColor':'Highlight\x20!important'}}}})),_0x2f1640=StateEffect['define']({'map':(_0x2237bc,_0x5b3a08)=>null==_0x2237bc?null:_0x5b3a08['mapPos'](_0x2237bc)}),_0x3d34f2=StateField['define']({'create':()=>null,'update':(_0x4fab5d,_0x7a7d92)=>(null!=_0x4fab5d&&(_0x4fab5d=_0x7a7d92['changes']['mapPos'](_0x4fab5d)),_0x7a7d92['effects']['reduce']((_0x2be7ee,_0x207c4e)=>_0x207c4e['is'](_0x2f1640)?_0x207c4e['value']:_0x2be7ee,_0x4fab5d))}),_0x33629b=_0x30d55e['fromClass'](class{constructor(_0x493abd){this['view']=_0x493abd,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x57fb14){var _0x3a8bf2;let _0x552ae3=_0x57fb14['state']['field'](_0x3d34f2);null==_0x552ae3?null!=this['cursor']&&(null===(_0x3a8bf2=this['cursor'])||void 0x0===_0x3a8bf2||_0x3a8bf2['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x57fb14['startState']['field'](_0x3d34f2)!=_0x552ae3||_0x57fb14['docChanged']||_0x57fb14['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x434a23}=this,_0x5d95b7=_0x434a23['state']['field'](_0x3d34f2),_0x2a12ac=null!=_0x5d95b7&&_0x434a23['coordsAtPos'](_0x5d95b7);if(!_0x2a12ac)return null;let _0x452d8b=_0x434a23['scrollDOM']['getBoundingClientRect']();return{'left':_0x2a12ac['left']-_0x452d8b['left']+_0x434a23['scrollDOM']['scrollLeft']*_0x434a23['scaleX'],'top':_0x2a12ac['top']-_0x452d8b['top']+_0x434a23['scrollDOM']['scrollTop']*_0x434a23['scaleY'],'height':_0x2a12ac['bottom']-_0x2a12ac['top']};}['drawCursor'](_0x13d56f){if(this['cursor']){let {scaleX:_0xdf9217,scaleY:_0x8b8f0f}=this['view'];_0x13d56f?(this['cursor']['style']['left']=_0x13d56f['left']/_0xdf9217+'px',this['cursor']['style']['top']=_0x13d56f['top']/_0x8b8f0f+'px',this['cursor']['style']['height']=_0x13d56f['height']/_0x8b8f0f+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x1e1325){this['view']['state']['field'](_0x3d34f2)!=_0x1e1325&&this['view']['dispatch']({'effects':_0x2f1640['of'](_0x1e1325)});}},{'eventObservers':{'dragover'(_0x3bc745){this['setDropPos'](this['view']['posAtCoords']({'x':_0x3bc745['clientX'],'y':_0x3bc745['clientY']}));},'dragleave'(_0x4ea27e){_0x4ea27e['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x4ea27e['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x381742(){return[_0x3d34f2,_0x33629b];}function _0x3f9bba(_0x378e2d,_0x2be982,_0xba2502,_0x2c04c8,_0x3fd1ce){_0x2be982['lastIndex']=0x0;for(let _0x895f00,_0x5eb9eb=_0x378e2d['iterRange'](_0xba2502,_0x2c04c8),_0x6c4025=_0xba2502;!_0x5eb9eb['next']()['done'];_0x6c4025+=_0x5eb9eb['value']['length'])if(!_0x5eb9eb['lineBreak']){for(;_0x895f00=_0x2be982['exec'](_0x5eb9eb['value']);)_0x3fd1ce(_0x6c4025+_0x895f00['index'],_0x895f00);}}class MatchDecorator{constructor(_0xe61e74){const {regexp:_0x1da0b6,decoration:_0xfa1cf5,decorate:_0x39c9c0,boundary:_0xa99fea,maxLength:_0x2e698b=0x3e8}=_0xe61e74;if(!_0x1da0b6['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x1da0b6,_0x39c9c0)this['addMatch']=(_0x2cecc2,_0x36ebad,_0x399a84,_0x44cd8f)=>_0x39c9c0(_0x44cd8f,_0x399a84,_0x399a84+_0x2cecc2[0x0]['length'],_0x2cecc2,_0x36ebad);else{if('function'==typeof _0xfa1cf5)this['addMatch']=(_0x20b356,_0x23d940,_0x31cabe,_0x4d3be1)=>{let _0x42acf1=_0xfa1cf5(_0x20b356,_0x23d940,_0x31cabe);_0x42acf1&&_0x4d3be1(_0x31cabe,_0x31cabe+_0x20b356[0x0]['length'],_0x42acf1);};else{if(!_0xfa1cf5)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x5770f0,_0x2f25fd,_0x1be332,_0x5b4742)=>_0x5b4742(_0x1be332,_0x1be332+_0x5770f0[0x0]['length'],_0xfa1cf5);}}this['boundary']=_0xa99fea,this['maxLength']=_0x2e698b;}['createDeco'](_0x491484){let _0xe0c208=new RangeSetBuilder(),_0x86e70f=_0xe0c208['add']['bind'](_0xe0c208);for(let {from:_0x52b814,to:_0x1a568b}of function(_0x49c29c,_0x409eff){let _0x4538de=_0x49c29c['visibleRanges'];if(0x1==_0x4538de['length']&&_0x4538de[0x0]['from']==_0x49c29c['viewport']['from']&&_0x4538de[0x0]['to']==_0x49c29c['viewport']['to'])return _0x4538de;let _0x18d968=[];for(let {from:_0x3432b9,to:_0x46c38b}of _0x4538de)_0x3432b9=Math['max'](_0x49c29c['state']['doc']['lineAt'](_0x3432b9)['from'],_0x3432b9-_0x409eff),_0x46c38b=Math['min'](_0x49c29c['state']['doc']['lineAt'](_0x46c38b)['to'],_0x46c38b+_0x409eff),_0x18d968['length']&&_0x18d968[_0x18d968['length']-0x1]['to']>=_0x3432b9?_0x18d968[_0x18d968['length']-0x1]['to']=_0x46c38b:_0x18d968['push']({'from':_0x3432b9,'to':_0x46c38b});return _0x18d968;}(_0x491484,this['maxLength']))_0x3f9bba(_0x491484['state']['doc'],this['regexp'],_0x52b814,_0x1a568b,(_0x37cb06,_0x2b23b2)=>this['addMatch'](_0x2b23b2,_0x491484,_0x37cb06,_0x86e70f));return _0xe0c208['finish']();}['updateDeco'](_0xf33495,_0x56fbb5){let _0x1d14c1=0x3b9aca00,_0x365d48=-0x1;return _0xf33495['docChanged']&&_0xf33495['changes']['iterChanges']((_0x11f82e,_0x29fee2,_0xe391a8,_0x59bda9)=>{_0x59bda9>=_0xf33495['view']['viewport']['from']&&_0xe391a8<=_0xf33495['view']['viewport']['to']&&(_0x1d14c1=Math['min'](_0xe391a8,_0x1d14c1),_0x365d48=Math['max'](_0x59bda9,_0x365d48));}),_0xf33495['viewportMoved']||_0x365d48-_0x1d14c1>0x3e8?this['createDeco'](_0xf33495['view']):_0x365d48>-0x1?this['updateRange'](_0xf33495['view'],_0x56fbb5['map'](_0xf33495['changes']),_0x1d14c1,_0x365d48):_0x56fbb5;}['updateRange'](_0x134453,_0x5f3ef6,_0x337a4e,_0x12f1aa){for(let _0x25e9cf of _0x134453['visibleRanges']){let _0x1d5da5=Math['max'](_0x25e9cf['from'],_0x337a4e),_0x163b60=Math['min'](_0x25e9cf['to'],_0x12f1aa);if(_0x163b60>=_0x1d5da5){let _0x212097=_0x134453['state']['doc']['lineAt'](_0x1d5da5),_0x1d83da=_0x212097['to']<_0x163b60?_0x134453['state']['doc']['lineAt'](_0x163b60):_0x212097,_0x5aeea1=Math['max'](_0x25e9cf['from'],_0x212097['from']),_0x5e1cf9=Math['min'](_0x25e9cf['to'],_0x1d83da['to']);if(this['boundary']){for(;_0x1d5da5>_0x212097['from'];_0x1d5da5--)if(this['boundary']['test'](_0x212097['text'][_0x1d5da5-0x1-_0x212097['from']])){_0x5aeea1=_0x1d5da5;break;}for(;_0x163b60<_0x1d83da['to'];_0x163b60++)if(this['boundary']['test'](_0x1d83da['text'][_0x163b60-_0x1d83da['from']])){_0x5e1cf9=_0x163b60;break;}}let _0x40adf3,_0x372f18=[],_0x4841cb=(_0x1bc23d,_0x45554d,_0x4494b4)=>_0x372f18['push'](_0x4494b4['range'](_0x1bc23d,_0x45554d));if(_0x212097==_0x1d83da){for(this['regexp']['lastIndex']=_0x5aeea1-_0x212097['from'];(_0x40adf3=this['regexp']['exec'](_0x212097['text']))&&_0x40adf3['index']<_0x5e1cf9-_0x212097['from'];)this['addMatch'](_0x40adf3,_0x134453,_0x40adf3['index']+_0x212097['from'],_0x4841cb);}else _0x3f9bba(_0x134453['state']['doc'],this['regexp'],_0x5aeea1,_0x5e1cf9,(_0x3135a,_0x524a85)=>this['addMatch'](_0x524a85,_0x134453,_0x3135a,_0x4841cb));_0x5f3ef6=_0x5f3ef6['update']({'filterFrom':_0x5aeea1,'filterTo':_0x5e1cf9,'filter':(_0x13daa0,_0x22353c)=>_0x13daa0<_0x5aeea1||_0x22353c>_0x5e1cf9,'add':_0x372f18});}}return _0x5f3ef6;}}const _0x26f93e=null!=/x/['unicode']?'gu':'g',_0x51b270=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',_0x26f93e),_0x503043={0x0:'null',0x7:'bell',0x8:'backspace',0xa:'newline',0xb:'vertical\x20tab',0xd:'carriage\x20return',0x1b:'escape',0x200b:'zero\x20width\x20space',0x200c:'zero\x20width\x20non-joiner',0x200d:'zero\x20width\x20joiner',0x200e:'left-to-right\x20mark',0x200f:'right-to-left\x20mark',0x2028:'line\x20separator',0x202d:'left-to-right\x20override',0x202e:'right-to-left\x20override',0x2066:'left-to-right\x20isolate',0x2067:'right-to-left\x20isolate',0x2069:'pop\x20directional\x20isolate',0x2029:'paragraph\x20separator',0xfeff:'zero\x20width\x20no-break\x20space',0xfffc:'object\x20replacement'};let _0x405773=null;const _0x372a52=Facet['define']({'combine'(_0x22f975){let _0x31ac2d=_0x267f8f(_0x22f975,{'render':null,'specialChars':_0x51b270,'addSpecialChars':null});return(_0x31ac2d['replaceTabs']=!(function(){var _0xe1785e;if(null==_0x405773&&'undefined'!=typeof document&&document['body']){let _0x546431=document['body']['style'];_0x405773=null!=(null!==(_0xe1785e=_0x546431['tabSize'])&&void 0x0!==_0xe1785e?_0xe1785e:_0x546431['MozTabSize']);}return _0x405773||!0x1;}()))&&(_0x31ac2d['specialChars']=new RegExp('\x09|'+_0x31ac2d['specialChars']['source'],_0x26f93e)),_0x31ac2d['addSpecialChars']&&(_0x31ac2d['specialChars']=new RegExp(_0x31ac2d['specialChars']['source']+'|'+_0x31ac2d['addSpecialChars']['source'],_0x26f93e)),_0x31ac2d;}});function _0x1b408e(_0x541975={}){return[_0x372a52['of'](_0x541975),_0x27675e||(_0x27675e=_0x30d55e['fromClass'](class{constructor(_0x2266eb){this['view']=_0x2266eb,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x2266eb['state']['facet'](_0x372a52)),this['decorations']=this['decorator']['createDeco'](_0x2266eb);}['makeDecorator'](_0x804c8){return new MatchDecorator({'regexp':_0x804c8['specialChars'],'decoration':(_0x3ad8a2,_0x45a64b,_0x20aea5)=>{let {doc:_0x598be0}=_0x45a64b['state'],_0x529dce=_0x45c349(_0x3ad8a2[0x0],0x0);if(0x9==_0x529dce){let _0x29d518=_0x598be0['lineAt'](_0x20aea5),_0x59059b=_0x45a64b['state']['tabSize'],_0x3e7c1e=_0xfde3a0(_0x29d518['text'],_0x59059b,_0x20aea5-_0x29d518['from']);return Decoration['replace']({'widget':new TabWidget((_0x59059b-_0x3e7c1e%_0x59059b)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x529dce]||(this['decorationCache'][_0x529dce]=Decoration['replace']({'widget':new SpecialCharWidget(_0x804c8,_0x529dce)}));},'boundary':_0x804c8['replaceTabs']?void 0x0:/[^]/});}['update'](_0x29970c){let _0x4a9c5e=_0x29970c['state']['facet'](_0x372a52);_0x29970c['startState']['facet'](_0x372a52)!=_0x4a9c5e?(this['decorator']=this['makeDecorator'](_0x4a9c5e),this['decorations']=this['decorator']['createDeco'](_0x29970c['view'])):this['decorations']=this['decorator']['updateDeco'](_0x29970c,this['decorations']);}},{'decorations':_0x35bc24=>_0x35bc24['decorations']}))];}let _0x27675e=null;class SpecialCharWidget extends WidgetType{constructor(_0x5ab0f9,_0x54c02e){super(),this['options']=_0x5ab0f9,this['code']=_0x54c02e;}['eq'](_0xec5cd){return _0xec5cd['code']==this['code'];}['toDOM'](_0x1bc589){let _0x55c25d=function(_0x39c493){return _0x39c493>=0x20?'•':0xa==_0x39c493?'␤':String['fromCharCode'](0x2400+_0x39c493);}(this['code']),_0x12c47c=_0x1bc589['state']['phrase']('Control\x20character')+'\x20'+(_0x503043[this['code']]||'0x'+this['code']['toString'](0x10)),_0x5c5e09=this['options']['render']&&this['options']['render'](this['code'],_0x12c47c,_0x55c25d);if(_0x5c5e09)return _0x5c5e09;let _0x5cfb2f=document['createElement']('span');return _0x5cfb2f['textContent']=_0x55c25d,_0x5cfb2f['title']=_0x12c47c,_0x5cfb2f['setAttribute']('aria-label',_0x12c47c),_0x5cfb2f['className']='cm-specialChar',_0x5cfb2f;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x4c624d){super(),this['width']=_0x4c624d;}['eq'](_0x33c9c6){return _0x33c9c6['width']==this['width'];}['toDOM'](){let _0x3ca580=document['createElement']('span');return _0x3ca580['textContent']='\x09',_0x3ca580['className']='cm-tab',_0x3ca580['style']['width']=this['width']+'px',_0x3ca580;}['ignoreEvent'](){return!0x1;}}function _0x3f10fa(){return _0x4d776f;}const _0x1113ce=Decoration['line']({'class':'cm-activeLine'}),_0x4d776f=_0x30d55e['fromClass'](class{constructor(_0x450688){this['decorations']=this['getDeco'](_0x450688);}['update'](_0x39e3b0){(_0x39e3b0['docChanged']||_0x39e3b0['selectionSet'])&&(this['decorations']=this['getDeco'](_0x39e3b0['view']));}['getDeco'](_0x4be51f){let _0x3d5b29=-0x1,_0x246406=[];for(let _0x59eaba of _0x4be51f['state']['selection']['ranges']){let _0x498c59=_0x4be51f['lineBlockAt'](_0x59eaba['head']);_0x498c59['from']>_0x3d5b29&&(_0x246406['push'](_0x1113ce['range'](_0x498c59['from'])),_0x3d5b29=_0x498c59['from']);}return Decoration['set'](_0x246406);}},{'decorations':_0x5a0a41=>_0x5a0a41['decorations']}),_0x111879=0x7d0;function _0x41716e(_0x32a118,_0x1a4d27){let _0x27dae1=_0x32a118['posAtCoords']({'x':_0x1a4d27['clientX'],'y':_0x1a4d27['clientY']},!0x1),_0x47c704=_0x32a118['state']['doc']['lineAt'](_0x27dae1),_0xc97474=_0x27dae1-_0x47c704['from'],_0x1e160e=_0xc97474>_0x111879?-0x1:_0xc97474==_0x47c704['length']?function(_0x3c4eba,_0x44c0a2){let _0x5c9055=_0x3c4eba['coordsAtPos'](_0x3c4eba['viewport']['from']);return _0x5c9055?Math['round'](Math['abs']((_0x5c9055['left']-_0x44c0a2)/_0x3c4eba['defaultCharacterWidth'])):-0x1;}(_0x32a118,_0x1a4d27['clientX']):_0xfde3a0(_0x47c704['text'],_0x32a118['state']['tabSize'],_0x27dae1-_0x47c704['from']);return{'line':_0x47c704['number'],'col':_0x1e160e,'off':_0xc97474};}function _0x3285a2(_0x32653f,_0x51c331){let _0x27d827=_0x41716e(_0x32653f,_0x51c331),_0x4a32da=_0x32653f['state']['selection'];return _0x27d827?{'update'(_0x34658b){if(_0x34658b['docChanged']){let _0x30ee77=_0x34658b['changes']['mapPos'](_0x34658b['startState']['doc']['line'](_0x27d827['line'])['from']),_0x3fb8d2=_0x34658b['state']['doc']['lineAt'](_0x30ee77);_0x27d827={'line':_0x3fb8d2['number'],'col':_0x27d827['col'],'off':Math['min'](_0x27d827['off'],_0x3fb8d2['length'])},_0x4a32da=_0x4a32da['map'](_0x34658b['changes']);}},'get'(_0x146f75,_0xad715f,_0x147a79){let _0x15888a=_0x41716e(_0x32653f,_0x146f75);if(!_0x15888a)return _0x4a32da;let _0x75cb13=function(_0x57c54a,_0x4010ef,_0x46cae9){let _0x228d2f=Math['min'](_0x4010ef['line'],_0x46cae9['line']),_0x5ed691=Math['max'](_0x4010ef['line'],_0x46cae9['line']),_0x5b97b3=[];if(_0x4010ef['off']>_0x111879||_0x46cae9['off']>_0x111879||_0x4010ef['col']<0x0||_0x46cae9['col']<0x0){let _0x53458b=Math['min'](_0x4010ef['off'],_0x46cae9['off']),_0x478860=Math['max'](_0x4010ef['off'],_0x46cae9['off']);for(let _0x2a03fc=_0x228d2f;_0x2a03fc<=_0x5ed691;_0x2a03fc++){let _0x2066be=_0x57c54a['doc']['line'](_0x2a03fc);_0x2066be['length']<=_0x478860&&_0x5b97b3['push'](EditorSelection['range'](_0x2066be['from']+_0x53458b,_0x2066be['to']+_0x478860));}}else{let _0x444557=Math['min'](_0x4010ef['col'],_0x46cae9['col']),_0xc6c3f6=Math['max'](_0x4010ef['col'],_0x46cae9['col']);for(let _0x4625b8=_0x228d2f;_0x4625b8<=_0x5ed691;_0x4625b8++){let _0x236db5=_0x57c54a['doc']['line'](_0x4625b8),_0x537bce=_0xace7c7(_0x236db5['text'],_0x444557,_0x57c54a['tabSize'],!0x0);if(_0x537bce<0x0)_0x5b97b3['push'](EditorSelection['cursor'](_0x236db5['to']));else{let _0x117a08=_0xace7c7(_0x236db5['text'],_0xc6c3f6,_0x57c54a['tabSize']);_0x5b97b3['push'](EditorSelection['range'](_0x236db5['from']+_0x537bce,_0x236db5['from']+_0x117a08));}}}return _0x5b97b3;}(_0x32653f['state'],_0x27d827,_0x15888a);return _0x75cb13['length']?_0x147a79?EditorSelection['create'](_0x75cb13['concat'](_0x4a32da['ranges'])):EditorSelection['create'](_0x75cb13):_0x4a32da;}}:null;}function _0xee9f73(_0x35fef2){return EditorView['mouseSelectionStyle']['of']((_0x3aba82,_0x27f086)=>{return(_0x240ffd=_0x27f086)['altKey']&&0x0==_0x240ffd['button']?_0x3285a2(_0x3aba82,_0x27f086):null;var _0x240ffd;});}const _0x3416f2={'Alt':[0x12,_0x47d069=>!!_0x47d069['altKey']],'Control':[0x11,_0x210f0e=>!!_0x210f0e['ctrlKey']],'Shift':[0x10,_0x51a8ac=>!!_0x51a8ac['shiftKey']],'Meta':[0x5b,_0x3729f0=>!!_0x3729f0['metaKey']]},_0x43e09c={'style':'cursor:\x20crosshair'};function _0x368ef8(_0x4ac1c6={}){let [_0x1fcc65,_0x5e92fa]=_0x3416f2[_0x4ac1c6['key']||'Alt'],_0x2ab8d9=_0x30d55e['fromClass'](class{constructor(_0xb321d6){this['view']=_0xb321d6,this['isDown']=!0x1;}['set'](_0x4e3784){this['isDown']!=_0x4e3784&&(this['isDown']=_0x4e3784,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x2ec650){this['set'](_0x2ec650['keyCode']==_0x1fcc65||_0x5e92fa(_0x2ec650));},'keyup'(_0x26387b){_0x26387b['keyCode']!=_0x1fcc65&&_0x5e92fa(_0x26387b)||this['set'](!0x1);},'mousemove'(_0x260e85){this['set'](_0x5e92fa(_0x260e85));}}});return[_0x2ab8d9,EditorView['contentAttributes']['of'](_0xe71d5c=>{var _0x255910;return(null===(_0x255910=_0xe71d5c['plugin'](_0x2ab8d9))||void 0x0===_0x255910?void 0x0:_0x255910['isDown'])?_0x43e09c:null;})];}const _0x5508ec='-10000px';class TooltipViewManager{constructor(_0x7d0c94,_0x4825ef,_0x43c22b,_0x348db0){this['facet']=_0x4825ef,this['createTooltipView']=_0x43c22b,this['removeTooltipView']=_0x348db0,this['input']=_0x7d0c94['state']['facet'](_0x4825ef),this['tooltips']=this['input']['filter'](t=>t);let _0x38dcf7=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x38dcf7=_0x43c22b(t,_0x38dcf7));}['update'](_0x26336f,_0x5d417d){var _0x38032d;let _0x36aa60=_0x26336f['state']['facet'](this['facet']),_0x9b1d3=_0x36aa60['filter'](_0x3b7a7d=>_0x3b7a7d);if(_0x36aa60===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x26336f);return!0x1;}let _0x3f73c2=[],_0x5ce38b=_0x5d417d?[]:null;for(let _0x3b20e6=0x0;_0x3b20e6<_0x9b1d3['length'];_0x3b20e6++){let _0x4a4274=_0x9b1d3[_0x3b20e6],_0x2eaa60=-0x1;if(_0x4a4274){for(let _0x21b190=0x0;_0x21b190<this['tooltips']['length'];_0x21b190++){let _0x808e82=this['tooltips'][_0x21b190];_0x808e82&&_0x808e82['create']==_0x4a4274['create']&&(_0x2eaa60=_0x21b190);}if(_0x2eaa60<0x0)_0x3f73c2[_0x3b20e6]=this['createTooltipView'](_0x4a4274,_0x3b20e6?_0x3f73c2[_0x3b20e6-0x1]:null),_0x5ce38b&&(_0x5ce38b[_0x3b20e6]=!!_0x4a4274['above']);else{let _0x3d405e=_0x3f73c2[_0x3b20e6]=this['tooltipViews'][_0x2eaa60];_0x5ce38b&&(_0x5ce38b[_0x3b20e6]=_0x5d417d[_0x2eaa60]),_0x3d405e['update']&&_0x3d405e['update'](_0x26336f);}}}for(let t of this['tooltipViews'])_0x3f73c2['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x38032d=t['destroy'])||void 0x0===_0x38032d||_0x38032d['call'](t));return _0x5d417d&&(_0x5ce38b['forEach']((_0x30619c,_0x72a454)=>_0x5d417d[_0x72a454]=_0x30619c),_0x5d417d['length']=_0x5ce38b['length']),this['input']=_0x36aa60,this['tooltips']=_0x9b1d3,this['tooltipViews']=_0x3f73c2,!0x0;}}function _0x1174e2(_0x5bec6d){let _0x268d48=_0x5bec6d['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x268d48['clientHeight'],'right':_0x268d48['clientWidth']};}const _0x502747=Facet['define']({'combine':_0x20ab49=>{var _0x5c8fd0,_0x27a246,_0x40e662;return{'position':_0x4e5613['ios']?'absolute':(null===(_0x5c8fd0=_0x20ab49['find'](_0x53b7f9=>_0x53b7f9['position']))||void 0x0===_0x5c8fd0?void 0x0:_0x5c8fd0['position'])||'fixed','parent':(null===(_0x27a246=_0x20ab49['find'](_0x2ec984=>_0x2ec984['parent']))||void 0x0===_0x27a246?void 0x0:_0x27a246['parent'])||null,'tooltipSpace':(null===(_0x40e662=_0x20ab49['find'](_0x1c98ec=>_0x1c98ec['tooltipSpace']))||void 0x0===_0x40e662?void 0x0:_0x40e662['tooltipSpace'])||_0x1174e2};}}),_0x1f5d60=new WeakMap(),_0x248f4e=_0x30d55e['fromClass'](class{constructor(_0x4245c5){this['view']=_0x4245c5,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0xb746c1=_0x4245c5['state']['facet'](_0x502747);this['position']=_0xb746c1['position'],this['parent']=_0xb746c1['parent'],this['classes']=_0x4245c5['themeClasses'],this['createContainer'](),this['measureReq']={'read':this['readMeasure']['bind'](this),'write':this['writeMeasure']['bind'](this),'key':this},this['resizeObserver']='function'==typeof ResizeObserver?new ResizeObserver(()=>this['measureSoon']()):null,this['manager']=new TooltipViewManager(_0x4245c5,_0x4d3246,(t,_0x1e8c81)=>this['createTooltip'](t,_0x1e8c81),t=>{this['resizeObserver']&&this['resizeObserver']['unobserve'](t['dom']),t['dom']['remove']();}),this['above']=this['manager']['tooltips']['map'](t=>!!t['above']),this['intersectionObserver']='function'==typeof IntersectionObserver?new IntersectionObserver(_0x5ee8a8=>{Date['now']()>this['lastTransaction']-0x32&&_0x5ee8a8['length']>0x0&&_0x5ee8a8[_0x5ee8a8['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x4245c5['win']['addEventListener']('resize',this['measureSoon']=this['measureSoon']['bind'](this)),this['maybeMeasure']();}['createContainer'](){this['parent']?(this['container']=document['createElement']('div'),this['container']['style']['position']='relative',this['container']['className']=this['view']['themeClasses'],this['parent']['appendChild'](this['container'])):this['container']=this['view']['dom'];}['observeIntersection'](){if(this['intersectionObserver']){this['intersectionObserver']['disconnect']();for(let _0x2cd748 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x2cd748['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x233228){_0x233228['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x4bf48b=this['manager']['update'](_0x233228,this['above']);_0x4bf48b&&this['observeIntersection']();let _0x53dbee=_0x4bf48b||_0x233228['geometryChanged'],_0x4eb37c=_0x233228['state']['facet'](_0x502747);if(_0x4eb37c['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x4eb37c['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x53dbee=!0x0;}if(_0x4eb37c['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x4eb37c['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x53dbee=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x53dbee&&this['maybeMeasure']();}['createTooltip'](_0x26aa79,_0x1f897a){let _0x122d3d=_0x26aa79['create'](this['view']),_0x3f4eff=_0x1f897a?_0x1f897a['dom']:null;if(_0x122d3d['dom']['classList']['add']('cm-tooltip'),_0x26aa79['arrow']&&!_0x122d3d['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x18bb94=document['createElement']('div');_0x18bb94['className']='cm-tooltip-arrow',_0x122d3d['dom']['appendChild'](_0x18bb94);}return _0x122d3d['dom']['style']['position']=this['position'],_0x122d3d['dom']['style']['top']=_0x5508ec,_0x122d3d['dom']['style']['left']='0px',this['container']['insertBefore'](_0x122d3d['dom'],_0x3f4eff),_0x122d3d['mount']&&_0x122d3d['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x122d3d['dom']),_0x122d3d;}['destroy'](){var _0x5b601f,_0xcaea1b,_0x333d26;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x2b9d8e of this['manager']['tooltipViews'])_0x2b9d8e['dom']['remove'](),null===(_0x5b601f=_0x2b9d8e['destroy'])||void 0x0===_0x5b601f||_0x5b601f['call'](_0x2b9d8e);this['parent']&&this['container']['remove'](),null===(_0xcaea1b=this['resizeObserver'])||void 0x0===_0xcaea1b||_0xcaea1b['disconnect'](),null===(_0x333d26=this['intersectionObserver'])||void 0x0===_0x333d26||_0x333d26['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0xa71633=0x1,_0x25641b=0x1,_0x54a456=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x140531}=this['manager']['tooltipViews'][0x0];if(_0x4e5613['gecko'])_0x54a456=_0x140531['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x140531['style']['top']==_0x5508ec&&'0px'==_0x140531['style']['left']){let _0x5a632e=_0x140531['getBoundingClientRect']();_0x54a456=Math['abs'](_0x5a632e['top']+0x2710)>0x1||Math['abs'](_0x5a632e['left'])>0x1;}}}if(_0x54a456||'absolute'==this['position']){if(this['parent']){let _0x1a0235=this['parent']['getBoundingClientRect']();_0x1a0235['width']&&_0x1a0235['height']&&(_0xa71633=_0x1a0235['width']/this['parent']['offsetWidth'],_0x25641b=_0x1a0235['height']/this['parent']['offsetHeight']);}else({scaleX:_0xa71633,scaleY:_0x25641b}=this['view']['viewState']);}let _0x3ef7f0=this['view']['scrollDOM']['getBoundingClientRect'](),_0x20871a=_0xb577b1(this['view']);return{'visible':{'left':_0x3ef7f0['left']+_0x20871a['left'],'top':_0x3ef7f0['top']+_0x20871a['top'],'right':_0x3ef7f0['right']-_0x20871a['right'],'bottom':_0x3ef7f0['bottom']-_0x20871a['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x4dce73)=>{let _0x56a5b0=this['manager']['tooltipViews'][_0x4dce73];return _0x56a5b0['getCoords']?_0x56a5b0['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x3f6459})=>_0x3f6459['getBoundingClientRect']()),'space':this['view']['state']['facet'](_0x502747)['tooltipSpace'](this['view']),'scaleX':_0xa71633,'scaleY':_0x25641b,'makeAbsolute':_0x54a456};}['writeMeasure'](_0x65b7eb){var _0x50aa3c;if(_0x65b7eb['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x45d57f,space:_0x3e57e2,scaleX:_0x1e8b66,scaleY:_0xa84e83}=_0x65b7eb,_0x183767=[];for(let _0x2c293c=0x0;_0x2c293c<this['manager']['tooltips']['length'];_0x2c293c++){let _0x33a962=this['manager']['tooltips'][_0x2c293c],_0x2024c7=this['manager']['tooltipViews'][_0x2c293c],{dom:_0x3b609d}=_0x2024c7,_0x2c17a8=_0x65b7eb['pos'][_0x2c293c],_0x2a4fb2=_0x65b7eb['size'][_0x2c293c];if(!_0x2c17a8||!0x1!==_0x33a962['clip']&&(_0x2c17a8['bottom']<=Math['max'](_0x45d57f['top'],_0x3e57e2['top'])||_0x2c17a8['top']>=Math['min'](_0x45d57f['bottom'],_0x3e57e2['bottom'])||_0x2c17a8['right']<Math['max'](_0x45d57f['left'],_0x3e57e2['left'])-0.1||_0x2c17a8['left']>Math['min'](_0x45d57f['right'],_0x3e57e2['right'])+0.1)){_0x3b609d['style']['top']=_0x5508ec;continue;}let _0x425b04=_0x33a962['arrow']?_0x2024c7['dom']['querySelector']('.cm-tooltip-arrow'):null,_0xe45fd9=_0x425b04?0x7:0x0,_0x2494a0=_0x2a4fb2['right']-_0x2a4fb2['left'],_0x1866d5=null!==(_0x50aa3c=_0x1f5d60['get'](_0x2024c7))&&void 0x0!==_0x50aa3c?_0x50aa3c:_0x2a4fb2['bottom']-_0x2a4fb2['top'],_0x30b7d0=_0x2024c7['offset']||_0x1426ee,_0x219a8f=this['view']['textDirection']==_0x5d0416['LTR'],_0x1f4c28=_0x2a4fb2['width']>_0x3e57e2['right']-_0x3e57e2['left']?_0x219a8f?_0x3e57e2['left']:_0x3e57e2['right']-_0x2a4fb2['width']:_0x219a8f?Math['max'](_0x3e57e2['left'],Math['min'](_0x2c17a8['left']-(_0x425b04?0xe:0x0)+_0x30b7d0['x'],_0x3e57e2['right']-_0x2494a0)):Math['min'](Math['max'](_0x3e57e2['left'],_0x2c17a8['left']-_0x2494a0+(_0x425b04?0xe:0x0)-_0x30b7d0['x']),_0x3e57e2['right']-_0x2494a0),_0x3a0585=this['above'][_0x2c293c];!_0x33a962['strictSide']&&(_0x3a0585?_0x2c17a8['top']-_0x1866d5-_0xe45fd9-_0x30b7d0['y']<_0x3e57e2['top']:_0x2c17a8['bottom']+_0x1866d5+_0xe45fd9+_0x30b7d0['y']>_0x3e57e2['bottom'])&&_0x3a0585==_0x3e57e2['bottom']-_0x2c17a8['bottom']>_0x2c17a8['top']-_0x3e57e2['top']&&(_0x3a0585=this['above'][_0x2c293c]=!_0x3a0585);let _0x3ec84c=(_0x3a0585?_0x2c17a8['top']-_0x3e57e2['top']:_0x3e57e2['bottom']-_0x2c17a8['bottom'])-_0xe45fd9;if(_0x3ec84c<_0x1866d5&&!0x1!==_0x2024c7['resize']){if(_0x3ec84c<this['view']['defaultLineHeight']){_0x3b609d['style']['top']=_0x5508ec;continue;}_0x1f5d60['set'](_0x2024c7,_0x1866d5),_0x3b609d['style']['height']=(_0x1866d5=_0x3ec84c)/_0xa84e83+'px';}else _0x3b609d['style']['height']&&(_0x3b609d['style']['height']='');let _0x44882e=_0x3a0585?_0x2c17a8['top']-_0x1866d5-_0xe45fd9-_0x30b7d0['y']:_0x2c17a8['bottom']+_0xe45fd9+_0x30b7d0['y'],_0x238d63=_0x1f4c28+_0x2494a0;if(!0x0!==_0x2024c7['overlap']){for(let _0x24a6a1 of _0x183767)_0x24a6a1['left']<_0x238d63&&_0x24a6a1['right']>_0x1f4c28&&_0x24a6a1['top']<_0x44882e+_0x1866d5&&_0x24a6a1['bottom']>_0x44882e&&(_0x44882e=_0x3a0585?_0x24a6a1['top']-_0x1866d5-0x2-_0xe45fd9:_0x24a6a1['bottom']+_0xe45fd9+0x2);}if('absolute'==this['position']?(_0x3b609d['style']['top']=(_0x44882e-_0x65b7eb['parent']['top'])/_0xa84e83+'px',_0x226bf3(_0x3b609d,(_0x1f4c28-_0x65b7eb['parent']['left'])/_0x1e8b66)):(_0x3b609d['style']['top']=_0x44882e/_0xa84e83+'px',_0x226bf3(_0x3b609d,_0x1f4c28/_0x1e8b66)),_0x425b04){let _0x145e01=_0x2c17a8['left']+(_0x219a8f?_0x30b7d0['x']:-_0x30b7d0['x'])-(_0x1f4c28+0xe-0x7);_0x425b04['style']['left']=_0x145e01/_0x1e8b66+'px';}!0x0!==_0x2024c7['overlap']&&_0x183767['push']({'left':_0x1f4c28,'top':_0x44882e,'right':_0x238d63,'bottom':_0x44882e+_0x1866d5}),_0x3b609d['classList']['toggle']('cm-tooltip-above',_0x3a0585),_0x3b609d['classList']['toggle']('cm-tooltip-below',!_0x3a0585),_0x2024c7['positioned']&&_0x2024c7['positioned'](_0x65b7eb['space']);}}['maybeMeasure'](){if(this['manager']['tooltips']['length']&&(this['view']['inView']&&this['view']['requestMeasure'](this['measureReq']),this['inView']!=this['view']['inView']&&(this['inView']=this['view']['inView'],!this['inView']))){for(let _0x2a92f1 of this['manager']['tooltipViews'])_0x2a92f1['dom']['style']['top']=_0x5508ec;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function _0x226bf3(_0x1a86a7,_0x42bb89){let _0xce2003=parseInt(_0x1a86a7['style']['left'],0xa);(isNaN(_0xce2003)||Math['abs'](_0x42bb89-_0xce2003)>0x1)&&(_0x1a86a7['style']['left']=_0x42bb89+'px');}const _0x26396b=EditorView['baseTheme']({'.cm-tooltip':{'zIndex':0x1f4,'boxSizing':'border-box'},'&light\x20.cm-tooltip':{'border':'1px\x20solid\x20#bbb','backgroundColor':'#f5f5f5'},'&light\x20.cm-tooltip-section:not(:first-child)':{'borderTop':'1px\x20solid\x20#bbb'},'&dark\x20.cm-tooltip':{'backgroundColor':'#333338','color':'white'},'.cm-tooltip-arrow':{'height':'7px','width':'14px','position':'absolute','zIndex':-0x1,'overflow':'hidden','&:before,\x20&:after':{'content':'\x27\x27','position':'absolute','width':0x0,'height':0x0,'borderLeft':'7px\x20solid\x20transparent','borderRight':'7px\x20solid\x20transparent'},'.cm-tooltip-above\x20&':{'bottom':'-7px','&:before':{'borderTop':'7px\x20solid\x20#bbb'},'&:after':{'borderTop':'7px\x20solid\x20#f5f5f5','bottom':'1px'}},'.cm-tooltip-below\x20&':{'top':'-7px','&:before':{'borderBottom':'7px\x20solid\x20#bbb'},'&:after':{'borderBottom':'7px\x20solid\x20#f5f5f5','top':'1px'}}},'&dark\x20.cm-tooltip\x20.cm-tooltip-arrow':{'&:before':{'borderTopColor':'#333338','borderBottomColor':'#333338'},'&:after':{'borderTopColor':'transparent','borderBottomColor':'transparent'}}}),_0x1426ee={'x':0x0,'y':0x0},_0x4d3246=Facet['define']({'enables':[_0x248f4e,_0x26396b]});function _0x163d1f(_0x99bf9d,_0x1a179c){let _0x53c6b2=_0x99bf9d['plugin'](_0x248f4e);if(!_0x53c6b2)return null;let _0x1559a2=_0x53c6b2['manager']['tooltips']['indexOf'](_0x1a179c);return _0x1559a2<0x0?null:_0x53c6b2['manager']['tooltipViews'][_0x1559a2];}class GutterMarker extends _0x1a2400{['compare'](_0x1a7f5f){return this==_0x1a7f5f||this['constructor']==_0x1a7f5f['constructor']&&this['eq'](_0x1a7f5f);}['eq'](_0x54c403){return!0x1;}['destroy'](_0x5a5b54){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x59cdcf['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const _0x1f9e58=Facet['define'](),_0x3e5d4d=Facet['define'](),_0x37b118={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},_0x409fac=Facet['define']();function _0x243fa7(_0x45d327){return[_0x41c1a1(),_0x409fac['of']({..._0x37b118,..._0x45d327})];}const _0x1d0cc7=Facet['define']({'combine':_0x3d5b45=>_0x3d5b45['some'](_0x293cc5=>_0x293cc5)});function _0x41c1a1(_0x21b921){return[_0x4275f3];}const _0x4275f3=_0x30d55e['fromClass'](class{constructor(_0x4e659c){this['view']=_0x4e659c,this['domAfter']=null,this['prevViewport']=_0x4e659c['viewport'],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutters\x20cm-gutters-before',this['dom']['setAttribute']('aria-hidden','true'),this['dom']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['gutters']=_0x4e659c['state']['facet'](_0x409fac)['map'](_0x447311=>new SingleGutterView(_0x4e659c,_0x447311)),this['fixed']=!_0x4e659c['state']['facet'](_0x1d0cc7);for(let _0x50d8bf of this['gutters'])'after'==_0x50d8bf['config']['side']?this['getDOMAfter']()['appendChild'](_0x50d8bf['dom']):this['dom']['appendChild'](_0x50d8bf['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x4e659c['scrollDOM']['insertBefore'](this['dom'],_0x4e659c['contentDOM']);}['getDOMAfter'](){return this['domAfter']||(this['domAfter']=document['createElement']('div'),this['domAfter']['className']='cm-gutters\x20cm-gutters-after',this['domAfter']['setAttribute']('aria-hidden','true'),this['domAfter']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['domAfter']['style']['position']=this['fixed']?'sticky':'',this['view']['scrollDOM']['appendChild'](this['domAfter'])),this['domAfter'];}['update'](_0x320d5f){if(this['updateGutters'](_0x320d5f)){let _0x4e1764=this['prevViewport'],_0x224587=_0x320d5f['view']['viewport'],_0x13dce8=Math['min'](_0x4e1764['to'],_0x224587['to'])-Math['max'](_0x4e1764['from'],_0x224587['from']);this['syncGutters'](_0x13dce8<0.8*(_0x224587['to']-_0x224587['from']));}if(_0x320d5f['geometryChanged']){let _0x53f425=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x53f425,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x53f425);}this['view']['state']['facet'](_0x1d0cc7)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x320d5f['view']['viewport'];}['syncGutters'](_0x314afc){let _0x10c860=this['dom']['nextSibling'];_0x314afc&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x3a41bf=RangeSet['iter'](this['view']['state']['facet'](_0x1f9e58),this['view']['viewport']['from']),_0x2b0e0f=[],_0x34f419=this['gutters']['map'](_0x30af70=>new UpdateContext(_0x30af70,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x15b05c of this['view']['viewportLineBlocks'])if(_0x2b0e0f['length']&&(_0x2b0e0f=[]),Array['isArray'](_0x15b05c['type'])){let _0x2d577b=!0x0;for(let _0x452c98 of _0x15b05c['type'])if(_0x452c98['type']==_0x5ed1bf['Text']&&_0x2d577b){_0x247799(_0x3a41bf,_0x2b0e0f,_0x452c98['from']);for(let _0x232f44 of _0x34f419)_0x232f44['line'](this['view'],_0x452c98,_0x2b0e0f);_0x2d577b=!0x1;}else{if(_0x452c98['widget']){for(let _0x2763c8 of _0x34f419)_0x2763c8['widget'](this['view'],_0x452c98);}}}else{if(_0x15b05c['type']==_0x5ed1bf['Text']){_0x247799(_0x3a41bf,_0x2b0e0f,_0x15b05c['from']);for(let _0x4cd3be of _0x34f419)_0x4cd3be['line'](this['view'],_0x15b05c,_0x2b0e0f);}else{if(_0x15b05c['widget']){for(let _0x4e60b9 of _0x34f419)_0x4e60b9['widget'](this['view'],_0x15b05c);}}}for(let _0x12c8dd of _0x34f419)_0x12c8dd['finish']();_0x314afc&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x10c860),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x5a2384){let _0x3ed136=_0x5a2384['startState']['facet'](_0x409fac),_0x4515a6=_0x5a2384['state']['facet'](_0x409fac),_0x1955b9=_0x5a2384['docChanged']||_0x5a2384['heightChanged']||_0x5a2384['viewportChanged']||!RangeSet['eq'](_0x5a2384['startState']['facet'](_0x1f9e58),_0x5a2384['state']['facet'](_0x1f9e58),_0x5a2384['view']['viewport']['from'],_0x5a2384['view']['viewport']['to']);if(_0x3ed136==_0x4515a6){for(let _0x208fb4 of this['gutters'])_0x208fb4['update'](_0x5a2384)&&(_0x1955b9=!0x0);}else{_0x1955b9=!0x0;let _0x4c45dc=[];for(let _0x4f6e34 of _0x4515a6){let _0x44f99b=_0x3ed136['indexOf'](_0x4f6e34);_0x44f99b<0x0?_0x4c45dc['push'](new SingleGutterView(this['view'],_0x4f6e34)):(this['gutters'][_0x44f99b]['update'](_0x5a2384),_0x4c45dc['push'](this['gutters'][_0x44f99b]));}for(let _0x4c3561 of this['gutters'])_0x4c3561['dom']['remove'](),_0x4c45dc['indexOf'](_0x4c3561)<0x0&&_0x4c3561['destroy']();for(let _0xe2178 of _0x4c45dc)'after'==_0xe2178['config']['side']?this['getDOMAfter']()['appendChild'](_0xe2178['dom']):this['dom']['appendChild'](_0xe2178['dom']);this['gutters']=_0x4c45dc;}return _0x1955b9;}['destroy'](){for(let _0x5680ab of this['gutters'])_0x5680ab['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x5a20b7=>EditorView['scrollMargins']['of'](_0x3ed643=>{let _0x5778b2=_0x3ed643['plugin'](_0x5a20b7);if(!_0x5778b2||0x0==_0x5778b2['gutters']['length']||!_0x5778b2['fixed'])return null;let _0x3741b1=_0x5778b2['dom']['offsetWidth']*_0x3ed643['scaleX'],_0x39fd16=_0x5778b2['domAfter']?_0x5778b2['domAfter']['offsetWidth']*_0x3ed643['scaleX']:0x0;return _0x3ed643['textDirection']==_0x5d0416['LTR']?{'left':_0x3741b1,'right':_0x39fd16}:{'right':_0x3741b1,'left':_0x39fd16};})});function _0x80eb48(_0x4831f1){return Array['isArray'](_0x4831f1)?_0x4831f1:[_0x4831f1];}function _0x247799(_0x39b0e8,_0x3e6933,_0x1dc9b7){for(;_0x39b0e8['value']&&_0x39b0e8['from']<=_0x1dc9b7;)_0x39b0e8['from']==_0x1dc9b7&&_0x3e6933['push'](_0x39b0e8['value']),_0x39b0e8['next']();}class UpdateContext{constructor(_0x3ec6d3,_0x4b15cb,_0x35674b){this['gutter']=_0x3ec6d3,this['height']=_0x35674b,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x3ec6d3['markers'],_0x4b15cb['from']);}['addElement'](_0x496a2c,_0x3213fa,_0x2eb4e3){let {gutter:_0x52d372}=this,_0x444cf2=(_0x3213fa['top']-this['height'])/_0x496a2c['scaleY'],_0x2776f4=_0x3213fa['height']/_0x496a2c['scaleY'];if(this['i']==_0x52d372['elements']['length']){let _0x4952d3=new GutterElement(_0x496a2c,_0x2776f4,_0x444cf2,_0x2eb4e3);_0x52d372['elements']['push'](_0x4952d3),_0x52d372['dom']['appendChild'](_0x4952d3['dom']);}else _0x52d372['elements'][this['i']]['update'](_0x496a2c,_0x2776f4,_0x444cf2,_0x2eb4e3);this['height']=_0x3213fa['bottom'],this['i']++;}['line'](_0x158a8f,_0x1befc5,_0x5fb1dc){let _0x82b4d9=[];_0x247799(this['cursor'],_0x82b4d9,_0x1befc5['from']),_0x5fb1dc['length']&&(_0x82b4d9=_0x82b4d9['concat'](_0x5fb1dc));let _0x5203ec=this['gutter']['config']['lineMarker'](_0x158a8f,_0x1befc5,_0x82b4d9);_0x5203ec&&_0x82b4d9['unshift'](_0x5203ec);let _0x49b369=this['gutter'];(0x0!=_0x82b4d9['length']||_0x49b369['config']['renderEmptyElements'])&&this['addElement'](_0x158a8f,_0x1befc5,_0x82b4d9);}['widget'](_0x435163,_0x4badb9){let _0x55bd55=this['gutter']['config']['widgetMarker'](_0x435163,_0x4badb9['widget'],_0x4badb9),_0x2ead12=_0x55bd55?[_0x55bd55]:null;for(let _0x310ba5 of _0x435163['state']['facet'](_0x3e5d4d)){let _0x14f4f2=_0x310ba5(_0x435163,_0x4badb9['widget'],_0x4badb9);_0x14f4f2&&(_0x2ead12||(_0x2ead12=[]))['push'](_0x14f4f2);}_0x2ead12&&this['addElement'](_0x435163,_0x4badb9,_0x2ead12);}['finish'](){let _0x449c51=this['gutter'];for(;_0x449c51['elements']['length']>this['i'];){let _0x40a1b7=_0x449c51['elements']['pop']();_0x449c51['dom']['removeChild'](_0x40a1b7['dom']),_0x40a1b7['destroy']();}}}class SingleGutterView{constructor(_0x307e40,_0x1ad472){this['view']=_0x307e40,this['config']=_0x1ad472,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x1f395a in _0x1ad472['domEventHandlers'])this['dom']['addEventListener'](_0x1f395a,_0x5d7688=>{let _0x145cf6,_0x263418=_0x5d7688['target'];if(_0x263418!=this['dom']&&this['dom']['contains'](_0x263418)){for(;_0x263418['parentNode']!=this['dom'];)_0x263418=_0x263418['parentNode'];let _0x5cfb97=_0x263418['getBoundingClientRect']();_0x145cf6=(_0x5cfb97['top']+_0x5cfb97['bottom'])/0x2;}else _0x145cf6=_0x5d7688['clientY'];let _0x24ddb9=_0x307e40['lineBlockAtHeight'](_0x145cf6-_0x307e40['documentTop']);_0x1ad472['domEventHandlers'][_0x1f395a](_0x307e40,_0x24ddb9,_0x5d7688)&&_0x5d7688['preventDefault']();});this['markers']=_0x80eb48(_0x1ad472['markers'](_0x307e40)),_0x1ad472['initialSpacer']&&(this['spacer']=new GutterElement(_0x307e40,0x0,0x0,[_0x1ad472['initialSpacer'](_0x307e40)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x12e227){let _0x5107b1=this['markers'];if(this['markers']=_0x80eb48(this['config']['markers'](_0x12e227['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x2cc3e9=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x12e227);_0x2cc3e9!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x12e227['view'],0x0,0x0,[_0x2cc3e9]);}let _0x14c98d=_0x12e227['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x5107b1,_0x14c98d['from'],_0x14c98d['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x12e227);}['destroy'](){for(let _0x56c354 of this['elements'])_0x56c354['destroy']();}}class GutterElement{constructor(_0x3ae6f2,_0x4569df,_0x168f11,_0x4a1547){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x3ae6f2,_0x4569df,_0x168f11,_0x4a1547);}['update'](_0x883035,_0xd9cb79,_0x59a227,_0xb1a49e){this['height']!=_0xd9cb79&&(this['height']=_0xd9cb79,this['dom']['style']['height']=_0xd9cb79+'px'),this['above']!=_0x59a227&&(this['dom']['style']['marginTop']=(this['above']=_0x59a227)?_0x59a227+'px':''),function(_0x1464b7,_0x4a673f){if(_0x1464b7['length']!=_0x4a673f['length'])return!0x1;for(let _0x2f12ee=0x0;_0x2f12ee<_0x1464b7['length'];_0x2f12ee++)if(!_0x1464b7[_0x2f12ee]['compare'](_0x4a673f[_0x2f12ee]))return!0x1;return!0x0;}(this['markers'],_0xb1a49e)||this['setMarkers'](_0x883035,_0xb1a49e);}['setMarkers'](_0x38c94e,_0x3d6f03){let _0x2e8213='cm-gutterElement',_0x509048=this['dom']['firstChild'];for(let _0x54ea2a=0x0,_0x5159ea=0x0;;){let _0x4422ab=_0x5159ea,_0x58c834=_0x54ea2a<_0x3d6f03['length']?_0x3d6f03[_0x54ea2a++]:null,_0x400618=!0x1;if(_0x58c834){let _0x167c8b=_0x58c834['elementClass'];_0x167c8b&&(_0x2e8213+='\x20'+_0x167c8b);for(let _0x24fb69=_0x5159ea;_0x24fb69<this['markers']['length'];_0x24fb69++)if(this['markers'][_0x24fb69]['compare'](_0x58c834)){_0x4422ab=_0x24fb69,_0x400618=!0x0;break;}}else _0x4422ab=this['markers']['length'];for(;_0x5159ea<_0x4422ab;){let _0xcc929f=this['markers'][_0x5159ea++];if(_0xcc929f['toDOM']){_0xcc929f['destroy'](_0x509048);let _0x50bfc1=_0x509048['nextSibling'];_0x509048['remove'](),_0x509048=_0x50bfc1;}}if(!_0x58c834)break;_0x58c834['toDOM']&&(_0x400618?_0x509048=_0x509048['nextSibling']:this['dom']['insertBefore'](_0x58c834['toDOM'](_0x38c94e),_0x509048)),_0x400618&&_0x5159ea++;}this['dom']['className']=_0x2e8213,this['markers']=_0x3d6f03;}['destroy'](){this['setMarkers'](null,[]);}}const _0x8185dc=Facet['define'](),_0x3e8f11=Facet['define'](),_0x186ca8=Facet['define']({'combine':_0x1b2732=>_0x267f8f(_0x1b2732,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x479b48,_0xfb92cf){let _0x4fe318=Object['assign']({},_0x479b48);for(let _0x304832 in _0xfb92cf){let _0x23c657=_0x4fe318[_0x304832],_0x25af41=_0xfb92cf[_0x304832];_0x4fe318[_0x304832]=_0x23c657?(_0x26b5e4,_0x57b0e7,_0x1d6739)=>_0x23c657(_0x26b5e4,_0x57b0e7,_0x1d6739)||_0x25af41(_0x26b5e4,_0x57b0e7,_0x1d6739):_0x25af41;}return _0x4fe318;}})});class _0xae71df extends GutterMarker{constructor(_0x3b8d1b){super(),this['number']=_0x3b8d1b;}['eq'](_0x125d90){return this['number']==_0x125d90['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function _0x501880(_0x9a15d9,_0x4c6a3a){return _0x9a15d9['state']['facet'](_0x186ca8)['formatNumber'](_0x4c6a3a,_0x9a15d9['state']);}const _0x4e4881=_0x409fac['compute']([_0x186ca8],_0x15baa7=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x47a4e0=>_0x47a4e0['state']['facet'](_0x8185dc),'lineMarker':(_0x35c6d8,_0x3bb50d,_0x3cafe0)=>_0x3cafe0['some'](_0x3fd3f8=>_0x3fd3f8['toDOM'])?null:new _0xae71df(_0x501880(_0x35c6d8,_0x35c6d8['state']['doc']['lineAt'](_0x3bb50d['from'])['number'])),'widgetMarker':(_0x1c6016,_0x48337f,_0x3ab9a1)=>{for(let _0x5c1806 of _0x1c6016['state']['facet'](_0x3e8f11)){let _0x43e911=_0x5c1806(_0x1c6016,_0x48337f,_0x3ab9a1);if(_0x43e911)return _0x43e911;}return null;},'lineMarkerChange':_0x3d74a8=>_0x3d74a8['startState']['facet'](_0x186ca8)!=_0x3d74a8['state']['facet'](_0x186ca8),'initialSpacer':_0x4d9413=>new _0xae71df(_0x501880(_0x4d9413,_0x197c93(_0x4d9413['state']['doc']['lines']))),'updateSpacer'(_0x2dcd77,_0x4de1f3){let _0x5e9db1=_0x501880(_0x4de1f3['view'],_0x197c93(_0x4de1f3['view']['state']['doc']['lines']));return _0x5e9db1==_0x2dcd77['number']?_0x2dcd77:new _0xae71df(_0x5e9db1);},'domEventHandlers':_0x15baa7['facet'](_0x186ca8)['domEventHandlers'],'side':'before'}));function _0x18ffe4(_0x55cdc3={}){return[_0x186ca8['of'](_0x55cdc3),_0x41c1a1(),_0x4e4881];}function _0x197c93(_0x30be26){let _0x71271b=0x9;for(;_0x71271b<_0x30be26;)_0x71271b=0xa*_0x71271b+0x9;return _0x71271b;}const t_=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),_0x289e15=_0x1f9e58['compute'](['selection'],_0x470243=>{let _0x3ded6e=[],_0x35727d=-0x1;for(let _0x161df3 of _0x470243['selection']['ranges']){let _0x3f9b48=_0x470243['doc']['lineAt'](_0x161df3['head'])['from'];_0x3f9b48>_0x35727d&&(_0x35727d=_0x3f9b48,_0x3ded6e['push'](t_['range'](_0x3f9b48)));}return RangeSet['of'](_0x3ded6e);});function _0x270a00(){return _0x289e15;}const _0x306758=0x400;let _0x15cd9e=0x0;class _0x2744ac{constructor(_0x198cad,_0x23b2cd){this['from']=_0x198cad,this['to']=_0x23b2cd;}}class _0x326db3{constructor(_0x1915c8={}){this['id']=_0x15cd9e++,this['perNode']=!!_0x1915c8['perNode'],this['deserialize']=_0x1915c8['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x1915c8['combine']||null;}['add'](_0x219937){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x219937&&(_0x219937=_0x76b5bd['match'](_0x219937)),_0x182b2a=>{let _0x7cc672=_0x219937(_0x182b2a);return void 0x0===_0x7cc672?null:[this,_0x7cc672];};}}_0x326db3['closedBy']=new _0x326db3({'deserialize':_0x4c4e9d=>_0x4c4e9d['split']('\x20')}),_0x326db3['openedBy']=new _0x326db3({'deserialize':_0x3342dc=>_0x3342dc['split']('\x20')}),_0x326db3['group']=new _0x326db3({'deserialize':_0x9b0274=>_0x9b0274['split']('\x20')}),_0x326db3['isolate']=new _0x326db3({'deserialize':_0x4b2af1=>{if(_0x4b2af1&&'rtl'!=_0x4b2af1&&'ltr'!=_0x4b2af1&&'auto'!=_0x4b2af1)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x4b2af1);return _0x4b2af1||'auto';}}),_0x326db3['contextHash']=new _0x326db3({'perNode':!0x0}),_0x326db3['lookAhead']=new _0x326db3({'perNode':!0x0}),_0x326db3['mounted']=new _0x326db3({'perNode':!0x0});class MountedTree{constructor(_0x2ee3cf,_0x33bdff,_0x340bef){this['tree']=_0x2ee3cf,this['overlay']=_0x33bdff,this['parser']=_0x340bef;}static['get'](_0x208f53){return _0x208f53&&_0x208f53['props']&&_0x208f53['props'][_0x326db3['mounted']['id']];}}const _0x15d72f=Object['create'](null);class _0x76b5bd{constructor(_0x2402a6,_0x9c4a0,_0x401111,_0x39ed90=0x0){this['name']=_0x2402a6,this['props']=_0x9c4a0,this['id']=_0x401111,this['flags']=_0x39ed90;}static['define'](_0x518c39){let _0x3eed79=_0x518c39['props']&&_0x518c39['props']['length']?Object['create'](null):_0x15d72f,_0x20c500=(_0x518c39['top']?0x1:0x0)|(_0x518c39['skipped']?0x2:0x0)|(_0x518c39['error']?0x4:0x0)|(null==_0x518c39['name']?0x8:0x0),_0x1d880a=new _0x76b5bd(_0x518c39['name']||'',_0x3eed79,_0x518c39['id'],_0x20c500);if(_0x518c39['props']){for(let _0x21a674 of _0x518c39['props'])if(Array['isArray'](_0x21a674)||(_0x21a674=_0x21a674(_0x1d880a)),_0x21a674){if(_0x21a674[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x3eed79[_0x21a674[0x0]['id']]=_0x21a674[0x1];}}return _0x1d880a;}['prop'](_0x3e2fab){return this['props'][_0x3e2fab['id']];}get['isTop'](){return(0x1&this['flags'])>0x0;}get['isSkipped'](){return(0x2&this['flags'])>0x0;}get['isError'](){return(0x4&this['flags'])>0x0;}get['isAnonymous'](){return(0x8&this['flags'])>0x0;}['is'](_0x260566){if('string'==typeof _0x260566){if(this['name']==_0x260566)return!0x0;let _0x4c5a99=this['prop'](_0x326db3['group']);return!!_0x4c5a99&&_0x4c5a99['indexOf'](_0x260566)>-0x1;}return this['id']==_0x260566;}static['match'](_0x181712){let _0x4af916=Object['create'](null);for(let _0x32c9cf in _0x181712)for(let _0x2b9c18 of _0x32c9cf['split']('\x20'))_0x4af916[_0x2b9c18]=_0x181712[_0x32c9cf];return _0x3b68c8=>{for(let _0x58b3b5=_0x3b68c8['prop'](_0x326db3['group']),_0x153060=-0x1;_0x153060<(_0x58b3b5?_0x58b3b5['length']:0x0);_0x153060++){let _0x9c8a88=_0x4af916[_0x153060<0x0?_0x3b68c8['name']:_0x58b3b5[_0x153060]];if(_0x9c8a88)return _0x9c8a88;}};}}_0x76b5bd['none']=new _0x76b5bd('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x3d54e8){this['types']=_0x3d54e8;for(let _0x22a555=0x0;_0x22a555<_0x3d54e8['length'];_0x22a555++)if(_0x3d54e8[_0x22a555]['id']!=_0x22a555)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x525c07){let _0x5d7379=[];for(let _0x453c71 of this['types']){let _0x5b55ed=null;for(let _0x355d4a of _0x525c07){let _0x1b6c14=_0x355d4a(_0x453c71);if(_0x1b6c14){_0x5b55ed||(_0x5b55ed=Object['assign']({},_0x453c71['props']));let _0x3a6115=_0x1b6c14[0x1],_0x3efe9e=_0x1b6c14[0x0];_0x3efe9e['combine']&&_0x3efe9e['id']in _0x5b55ed&&(_0x3a6115=_0x3efe9e['combine'](_0x5b55ed[_0x3efe9e['id']],_0x3a6115)),_0x5b55ed[_0x3efe9e['id']]=_0x3a6115;}}_0x5d7379['push'](_0x5b55ed?new _0x76b5bd(_0x453c71['name'],_0x5b55ed,_0x453c71['id'],_0x453c71['flags']):_0x453c71);}return new NodeSet(_0x5d7379);}}const _0x24a7d6=new WeakMap(),_0x3611b3=new WeakMap();var _0x37091f;!function(_0x5aa01c){_0x5aa01c[_0x5aa01c['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x5aa01c[_0x5aa01c['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x5aa01c[_0x5aa01c['IgnoreMounts']=0x4]='IgnoreMounts',_0x5aa01c[_0x5aa01c['IgnoreOverlays']=0x8]='IgnoreOverlays';}(_0x37091f||(_0x37091f={}));class _0x54a715{constructor(_0x593b38,_0x41f013,_0x1e82ed,_0x48c03b,_0x12225b){if(this['type']=_0x593b38,this['children']=_0x41f013,this['positions']=_0x1e82ed,this['length']=_0x48c03b,this['props']=null,_0x12225b&&_0x12225b['length']){this['props']=Object['create'](null);for(let [_0x30f509,_0x14601a]of _0x12225b)this['props']['number'==typeof _0x30f509?_0x30f509:_0x30f509['id']]=_0x14601a;}}['toString'](){let _0x4d8f07=MountedTree['get'](this);if(_0x4d8f07&&!_0x4d8f07['overlay'])return _0x4d8f07['tree']['toString']();let _0x409079='';for(let _0x235396 of this['children']){let _0x5089e4=_0x235396['toString']();_0x5089e4&&(_0x409079&&(_0x409079+=','),_0x409079+=_0x5089e4);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x409079['length']?'('+_0x409079+')':''):_0x409079;}['cursor'](_0x4b975c=0x0){return new _0x54e1fb(this['topNode'],_0x4b975c);}['cursorAt'](_0x10a801,_0x19ed5c=0x0,_0xb9a8ab=0x0){let _0x5da430=_0x24a7d6['get'](this)||this['topNode'],_0x2960b2=new _0x54e1fb(_0x5da430);return _0x2960b2['moveTo'](_0x10a801,_0x19ed5c),_0x24a7d6['set'](this,_0x2960b2['_tree']),_0x2960b2;}get['topNode'](){return new _0x337cb3(this,0x0,0x0,null);}['resolve'](_0x30b990,_0x2765ff=0x0){let _0x22c7d6=_0x1c76a2(_0x24a7d6['get'](this)||this['topNode'],_0x30b990,_0x2765ff,!0x1);return _0x24a7d6['set'](this,_0x22c7d6),_0x22c7d6;}['resolveInner'](_0x131b78,_0x4cd704=0x0){let _0x524b86=_0x1c76a2(_0x3611b3['get'](this)||this['topNode'],_0x131b78,_0x4cd704,!0x0);return _0x3611b3['set'](this,_0x524b86),_0x524b86;}['resolveStack'](_0x1ec317,_0x21c7ed=0x0){return function(_0x2f1ec9,_0x60ffba,_0x1f1320){let _0x45dda3=_0x2f1ec9['resolveInner'](_0x60ffba,_0x1f1320),_0x282d9e=null;for(let _0x4e5731=_0x45dda3 instanceof _0x337cb3?_0x45dda3:_0x45dda3['context']['parent'];_0x4e5731;_0x4e5731=_0x4e5731['parent'])if(_0x4e5731['index']<0x0){let _0x483b34=_0x4e5731['parent'];(_0x282d9e||(_0x282d9e=[_0x45dda3]))['push'](_0x483b34['resolve'](_0x60ffba,_0x1f1320)),_0x4e5731=_0x483b34;}else{let _0x16f268=MountedTree['get'](_0x4e5731['tree']);if(_0x16f268&&_0x16f268['overlay']&&_0x16f268['overlay'][0x0]['from']<=_0x60ffba&&_0x16f268['overlay'][_0x16f268['overlay']['length']-0x1]['to']>=_0x60ffba){let _0x1aa88b=new _0x337cb3(_0x16f268['tree'],_0x16f268['overlay'][0x0]['from']+_0x4e5731['from'],-0x1,_0x4e5731);(_0x282d9e||(_0x282d9e=[_0x45dda3]))['push'](_0x1c76a2(_0x1aa88b,_0x60ffba,_0x1f1320,!0x1));}}return _0x282d9e?_0x14c74e(_0x282d9e):_0x45dda3;}(this,_0x1ec317,_0x21c7ed);}['iterate'](_0x2a174d){let {enter:_0xbdb3ab,leave:_0x86c9c5,from:_0x2f38b1=0x0,to:_0x42129e=this['length']}=_0x2a174d,_0x4af9d8=_0x2a174d['mode']||0x0,_0x5df727=(_0x4af9d8&_0x37091f['IncludeAnonymous'])>0x0;for(let _0x104548=this['cursor'](_0x4af9d8|_0x37091f['IncludeAnonymous']);;){let _0x465155=!0x1;if(_0x104548['from']<=_0x42129e&&_0x104548['to']>=_0x2f38b1&&(!_0x5df727&&_0x104548['type']['isAnonymous']||!0x1!==_0xbdb3ab(_0x104548))){if(_0x104548['firstChild']())continue;_0x465155=!0x0;}for(;_0x465155&&_0x86c9c5&&(_0x5df727||!_0x104548['type']['isAnonymous'])&&_0x86c9c5(_0x104548),!_0x104548['nextSibling']();){if(!_0x104548['parent']())return;_0x465155=!0x0;}}}['prop'](_0x3b1bba){return _0x3b1bba['perNode']?this['props']?this['props'][_0x3b1bba['id']]:void 0x0:this['type']['prop'](_0x3b1bba);}get['propValues'](){let _0x3b5d38=[];if(this['props']){for(let _0x18850b in this['props'])_0x3b5d38['push']([+_0x18850b,this['props'][_0x18850b]]);}return _0x3b5d38;}['balance'](_0x1a032f={}){return this['children']['length']<=0x8?this:_0x2a56f1(_0x76b5bd['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0xc3c69e,_0x48ba9a,_0x303c74)=>new _0x54a715(this['type'],_0xc3c69e,_0x48ba9a,_0x303c74,this['propValues']),_0x1a032f['makeTree']||((_0x111153,_0x1a0b1b,_0x12d271)=>new _0x54a715(_0x76b5bd['none'],_0x111153,_0x1a0b1b,_0x12d271)));}static['build'](_0x27db9a){return function(_0x3a191b){var _0x35c657;let {buffer:_0x221beb,nodeSet:_0x4f69f0,maxBufferLength:_0x3fd780=_0x306758,reused:_0x476551=[],minRepeatType:_0x3a0d0b=_0x4f69f0['types']['length']}=_0x3a191b,_0x4f6618=Array['isArray'](_0x221beb)?new FlatBufferCursor(_0x221beb,_0x221beb['length']):_0x221beb,_0x95fba1=_0x4f69f0['types'],_0x27ca5f=0x0,_0x1f1732=0x0;function _0x1d291c(_0x23c84b,_0x1f17db,_0x2119cd,_0x3d01e9,_0x21251e,_0x3bceff){let {id:_0x358ab3,start:_0x52f198,end:_0x18256d,size:_0x498b83}=_0x4f6618,_0x5d8b43=_0x1f1732,_0x50c131=_0x27ca5f;if(_0x498b83<0x0){if(_0x4f6618['next'](),-0x1==_0x498b83){let _0x364513=_0x476551[_0x358ab3];return _0x2119cd['push'](_0x364513),void _0x3d01e9['push'](_0x52f198-_0x23c84b);}if(-0x3==_0x498b83)return void(_0x27ca5f=_0x358ab3);if(-0x4==_0x498b83)return void(_0x1f1732=_0x358ab3);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x498b83);}let _0x3c71b7,_0x19387a,_0x168364=_0x95fba1[_0x358ab3],_0xfc58e5=_0x52f198-_0x23c84b;if(_0x18256d-_0x52f198<=_0x3fd780&&(_0x19387a=_0xba2c2f(_0x4f6618['pos']-_0x1f17db,_0x21251e))){let _0x135ed4=new Uint16Array(_0x19387a['size']-_0x19387a['skip']),_0x9f3811=_0x4f6618['pos']-_0x19387a['size'],_0x591e10=_0x135ed4['length'];for(;_0x4f6618['pos']>_0x9f3811;)_0x591e10=_0x56af77(_0x19387a['start'],_0x135ed4,_0x591e10);_0x3c71b7=new _0x4dbc13(_0x135ed4,_0x18256d-_0x19387a['start'],_0x4f69f0),_0xfc58e5=_0x19387a['start']-_0x23c84b;}else{let _0x172284=_0x4f6618['pos']-_0x498b83;_0x4f6618['next']();let _0x2f69d3=[],_0x59b5de=[],_0x19da07=_0x358ab3>=_0x3a0d0b?_0x358ab3:-0x1,_0x5bf128=0x0,_0x1e36f8=_0x18256d;for(;_0x4f6618['pos']>_0x172284;)_0x19da07>=0x0&&_0x4f6618['id']==_0x19da07&&_0x4f6618['size']>=0x0?(_0x4f6618['end']<=_0x1e36f8-_0x3fd780&&(_0xc3a9b5(_0x2f69d3,_0x59b5de,_0x52f198,_0x5bf128,_0x4f6618['end'],_0x1e36f8,_0x19da07,_0x5d8b43,_0x50c131),_0x5bf128=_0x2f69d3['length'],_0x1e36f8=_0x4f6618['end']),_0x4f6618['next']()):_0x3bceff>0x9c4?_0x9f4ce8(_0x52f198,_0x172284,_0x2f69d3,_0x59b5de):_0x1d291c(_0x52f198,_0x172284,_0x2f69d3,_0x59b5de,_0x19da07,_0x3bceff+0x1);if(_0x19da07>=0x0&&_0x5bf128>0x0&&_0x5bf128<_0x2f69d3['length']&&_0xc3a9b5(_0x2f69d3,_0x59b5de,_0x52f198,_0x5bf128,_0x52f198,_0x1e36f8,_0x19da07,_0x5d8b43,_0x50c131),_0x2f69d3['reverse'](),_0x59b5de['reverse'](),_0x19da07>-0x1&&_0x5bf128>0x0){let _0x356b52=_0x9de6a(_0x168364,_0x50c131);_0x3c71b7=_0x2a56f1(_0x168364,_0x2f69d3,_0x59b5de,0x0,_0x2f69d3['length'],0x0,_0x18256d-_0x52f198,_0x356b52,_0x356b52);}else _0x3c71b7=_0x2e6b20(_0x168364,_0x2f69d3,_0x59b5de,_0x18256d-_0x52f198,_0x5d8b43-_0x18256d,_0x50c131);}_0x2119cd['push'](_0x3c71b7),_0x3d01e9['push'](_0xfc58e5);}function _0x9f4ce8(_0x1cb6f3,_0x11a3af,_0x46f940,_0x41d1e9){let _0x356e79=[],_0x3cb42b=0x0,_0x51f1c4=-0x1;for(;_0x4f6618['pos']>_0x11a3af;){let {id:_0x5d4bbc,start:_0x80cc5a,end:_0xef213f,size:_0x4c9975}=_0x4f6618;if(_0x4c9975>0x4)_0x4f6618['next']();else{if(_0x51f1c4>-0x1&&_0x80cc5a<_0x51f1c4)break;_0x51f1c4<0x0&&(_0x51f1c4=_0xef213f-_0x3fd780),_0x356e79['push'](_0x5d4bbc,_0x80cc5a,_0xef213f),_0x3cb42b++,_0x4f6618['next']();}}if(_0x3cb42b){let _0x33ed45=new Uint16Array(0x4*_0x3cb42b),_0x16ff8e=_0x356e79[_0x356e79['length']-0x2];for(let _0x100cd4=_0x356e79['length']-0x3,_0x170067=0x0;_0x100cd4>=0x0;_0x100cd4-=0x3)_0x33ed45[_0x170067++]=_0x356e79[_0x100cd4],_0x33ed45[_0x170067++]=_0x356e79[_0x100cd4+0x1]-_0x16ff8e,_0x33ed45[_0x170067++]=_0x356e79[_0x100cd4+0x2]-_0x16ff8e,_0x33ed45[_0x170067++]=_0x170067;_0x46f940['push'](new _0x4dbc13(_0x33ed45,_0x356e79[0x2]-_0x16ff8e,_0x4f69f0)),_0x41d1e9['push'](_0x16ff8e-_0x1cb6f3);}}function _0x9de6a(_0x326a8f,_0x5b8b6d){return(_0x17bc4c,_0xd27b48,_0x1c7868)=>{let _0x2f4582,_0xcd2940,_0x521f1d=0x0,_0x5758d5=_0x17bc4c['length']-0x1;if(_0x5758d5>=0x0&&(_0x2f4582=_0x17bc4c[_0x5758d5])instanceof _0x54a715){if(!_0x5758d5&&_0x2f4582['type']==_0x326a8f&&_0x2f4582['length']==_0x1c7868)return _0x2f4582;(_0xcd2940=_0x2f4582['prop'](_0x326db3['lookAhead']))&&(_0x521f1d=_0xd27b48[_0x5758d5]+_0x2f4582['length']+_0xcd2940);}return _0x2e6b20(_0x326a8f,_0x17bc4c,_0xd27b48,_0x1c7868,_0x521f1d,_0x5b8b6d);};}function _0xc3a9b5(_0x4899c2,_0x14a1cf,_0x4c030d,_0x583cb6,_0x262736,_0x2edaf2,_0x331431,_0x4263e2,_0x3e8916){let _0x14684b=[],_0x16d163=[];for(;_0x4899c2['length']>_0x583cb6;)_0x14684b['push'](_0x4899c2['pop']()),_0x16d163['push'](_0x14a1cf['pop']()+_0x4c030d-_0x262736);_0x4899c2['push'](_0x2e6b20(_0x4f69f0['types'][_0x331431],_0x14684b,_0x16d163,_0x2edaf2-_0x262736,_0x4263e2-_0x2edaf2,_0x3e8916)),_0x14a1cf['push'](_0x262736-_0x4c030d);}function _0x2e6b20(_0x3b17c4,_0x19d9e7,_0x5c49f2,_0xbb8e4c,_0x3e59e2,_0x362eab,_0x214540){if(_0x362eab){let _0x1fcd62=[_0x326db3['contextHash'],_0x362eab];_0x214540=_0x214540?[_0x1fcd62]['concat'](_0x214540):[_0x1fcd62];}if(_0x3e59e2>0x19){let _0x32f501=[_0x326db3['lookAhead'],_0x3e59e2];_0x214540=_0x214540?[_0x32f501]['concat'](_0x214540):[_0x32f501];}return new _0x54a715(_0x3b17c4,_0x19d9e7,_0x5c49f2,_0xbb8e4c,_0x214540);}function _0xba2c2f(_0x57341f,_0x52622b){let _0x2816b8=_0x4f6618['fork'](),_0x568d42=0x0,_0x52747c=0x0,_0x503352=0x0,_0x3d5a83=_0x2816b8['end']-_0x3fd780,_0x2f4b1b={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x46f7a6=_0x2816b8['pos']-_0x57341f;_0x2816b8['pos']>_0x46f7a6;){let _0x10b7a9=_0x2816b8['size'];if(_0x2816b8['id']==_0x52622b&&_0x10b7a9>=0x0){_0x2f4b1b['size']=_0x568d42,_0x2f4b1b['start']=_0x52747c,_0x2f4b1b['skip']=_0x503352,_0x503352+=0x4,_0x568d42+=0x4,_0x2816b8['next']();continue;}let _0x2b107a=_0x2816b8['pos']-_0x10b7a9;if(_0x10b7a9<0x0||_0x2b107a<_0x46f7a6||_0x2816b8['start']<_0x3d5a83)break;let _0x5bd6e5=_0x2816b8['id']>=_0x3a0d0b?0x4:0x0,_0x17b7eb=_0x2816b8['start'];for(_0x2816b8['next']();_0x2816b8['pos']>_0x2b107a;){if(_0x2816b8['size']<0x0){if(-0x3!=_0x2816b8['size'])break t;_0x5bd6e5+=0x4;}else _0x2816b8['id']>=_0x3a0d0b&&(_0x5bd6e5+=0x4);_0x2816b8['next']();}_0x52747c=_0x17b7eb,_0x568d42+=_0x10b7a9,_0x503352+=_0x5bd6e5;}return(_0x52622b<0x0||_0x568d42==_0x57341f)&&(_0x2f4b1b['size']=_0x568d42,_0x2f4b1b['start']=_0x52747c,_0x2f4b1b['skip']=_0x503352),_0x2f4b1b['size']>0x4?_0x2f4b1b:void 0x0;}function _0x56af77(_0xb969a8,_0x285460,_0x590f43){let {id:_0x5df883,start:_0x2a9af4,end:_0x3f76af,size:_0x1c70a4}=_0x4f6618;if(_0x4f6618['next'](),_0x1c70a4>=0x0&&_0x5df883<_0x3a0d0b){let _0x17d1a7=_0x590f43;if(_0x1c70a4>0x4){let _0x428914=_0x4f6618['pos']-(_0x1c70a4-0x4);for(;_0x4f6618['pos']>_0x428914;)_0x590f43=_0x56af77(_0xb969a8,_0x285460,_0x590f43);}_0x285460[--_0x590f43]=_0x17d1a7,_0x285460[--_0x590f43]=_0x3f76af-_0xb969a8,_0x285460[--_0x590f43]=_0x2a9af4-_0xb969a8,_0x285460[--_0x590f43]=_0x5df883;}else-0x3==_0x1c70a4?_0x27ca5f=_0x5df883:-0x4==_0x1c70a4&&(_0x1f1732=_0x5df883);return _0x590f43;}let _0x46abb7=[],_0x552555=[];for(;_0x4f6618['pos']>0x0;)_0x1d291c(_0x3a191b['start']||0x0,_0x3a191b['bufferStart']||0x0,_0x46abb7,_0x552555,-0x1,0x0);let _0x2fc402=null!==(_0x35c657=_0x3a191b['length'])&&void 0x0!==_0x35c657?_0x35c657:_0x46abb7['length']?_0x552555[0x0]+_0x46abb7[0x0]['length']:0x0;return new _0x54a715(_0x95fba1[_0x3a191b['topID']],_0x46abb7['reverse'](),_0x552555['reverse'](),_0x2fc402);}(_0x27db9a);}}_0x54a715['empty']=new _0x54a715(_0x76b5bd['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x43ec51,_0x138138){this['buffer']=_0x43ec51,this['index']=_0x138138;}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}get['pos'](){return this['index'];}['next'](){this['index']-=0x4;}['fork'](){return new FlatBufferCursor(this['buffer'],this['index']);}}class _0x4dbc13{constructor(_0x5727c2,_0x130fa7,_0x3d7bb8){this['buffer']=_0x5727c2,this['length']=_0x130fa7,this['set']=_0x3d7bb8;}get['type'](){return _0x76b5bd['none'];}['toString'](){let _0x282758=[];for(let _0x552a02=0x0;_0x552a02<this['buffer']['length'];)_0x282758['push'](this['childString'](_0x552a02)),_0x552a02=this['buffer'][_0x552a02+0x3];return _0x282758['join'](',');}['childString'](_0x59c2be){let _0x5dad75=this['buffer'][_0x59c2be],_0x43fd4a=this['buffer'][_0x59c2be+0x3],_0x34e238=this['set']['types'][_0x5dad75],_0x5ea93=_0x34e238['name'];if(/\W/['test'](_0x5ea93)&&!_0x34e238['isError']&&(_0x5ea93=JSON['stringify'](_0x5ea93)),_0x43fd4a==(_0x59c2be+=0x4))return _0x5ea93;let _0x321f19=[];for(;_0x59c2be<_0x43fd4a;)_0x321f19['push'](this['childString'](_0x59c2be)),_0x59c2be=this['buffer'][_0x59c2be+0x3];return _0x5ea93+'('+_0x321f19['join'](',')+')';}['findChild'](_0xbfd0ab,_0x1811f1,_0x500806,_0x4c4422,_0x5ca15c){let {buffer:_0x421d0f}=this,_0x1ae9b6=-0x1;for(let _0x4f573e=_0xbfd0ab;_0x4f573e!=_0x1811f1&&!(_0x3309d9(_0x5ca15c,_0x4c4422,_0x421d0f[_0x4f573e+0x1],_0x421d0f[_0x4f573e+0x2])&&(_0x1ae9b6=_0x4f573e,_0x500806>0x0));_0x4f573e=_0x421d0f[_0x4f573e+0x3]);return _0x1ae9b6;}['slice'](_0x517053,_0x21e603,_0x38d1b7){let _0x44f613=this['buffer'],_0x320151=new Uint16Array(_0x21e603-_0x517053),_0x30d30d=0x0;for(let _0x2cf339=_0x517053,_0x477c10=0x0;_0x2cf339<_0x21e603;){_0x320151[_0x477c10++]=_0x44f613[_0x2cf339++],_0x320151[_0x477c10++]=_0x44f613[_0x2cf339++]-_0x38d1b7;let _0x449cf7=_0x320151[_0x477c10++]=_0x44f613[_0x2cf339++]-_0x38d1b7;_0x320151[_0x477c10++]=_0x44f613[_0x2cf339++]-_0x517053,_0x30d30d=Math['max'](_0x30d30d,_0x449cf7);}return new _0x4dbc13(_0x320151,_0x30d30d,this['set']);}}function _0x3309d9(_0x3cd041,_0x4b8b0e,_0x48e30d,_0x28e6d0){switch(_0x3cd041){case-0x2:return _0x48e30d<_0x4b8b0e;case-0x1:return _0x28e6d0>=_0x4b8b0e&&_0x48e30d<_0x4b8b0e;case 0x0:return _0x48e30d<_0x4b8b0e&&_0x28e6d0>_0x4b8b0e;case 0x1:return _0x48e30d<=_0x4b8b0e&&_0x28e6d0>_0x4b8b0e;case 0x2:return _0x28e6d0>_0x4b8b0e;case 0x4:return!0x0;}}function _0x1c76a2(_0x419ae8,_0x54c17e,_0xf2493a,_0x23c941){for(var _0x5d7224;_0x419ae8['from']==_0x419ae8['to']||(_0xf2493a<0x1?_0x419ae8['from']>=_0x54c17e:_0x419ae8['from']>_0x54c17e)||(_0xf2493a>-0x1?_0x419ae8['to']<=_0x54c17e:_0x419ae8['to']<_0x54c17e);){let _0x2ed324=!_0x23c941&&_0x419ae8 instanceof _0x337cb3&&_0x419ae8['index']<0x0?null:_0x419ae8['parent'];if(!_0x2ed324)return _0x419ae8;_0x419ae8=_0x2ed324;}let _0x5bf2fb=_0x23c941?0x0:_0x37091f['IgnoreOverlays'];if(_0x23c941){for(let _0x404759=_0x419ae8,_0x231d1e=_0x404759['parent'];_0x231d1e;_0x404759=_0x231d1e,_0x231d1e=_0x404759['parent'])_0x404759 instanceof _0x337cb3&&_0x404759['index']<0x0&&(null===(_0x5d7224=_0x231d1e['enter'](_0x54c17e,_0xf2493a,_0x5bf2fb))||void 0x0===_0x5d7224?void 0x0:_0x5d7224['from'])!=_0x404759['from']&&(_0x419ae8=_0x231d1e);}for(;;){let _0x18e0a3=_0x419ae8['enter'](_0x54c17e,_0xf2493a,_0x5bf2fb);if(!_0x18e0a3)return _0x419ae8;_0x419ae8=_0x18e0a3;}}class _0x18fab0{['cursor'](_0x1d3c1b=0x0){return new _0x54e1fb(this,_0x1d3c1b);}['getChild'](_0x263f85,_0x8fc989=null,_0x481d21=null){let _0xa6bb8f=_0x3523f6(this,_0x263f85,_0x8fc989,_0x481d21);return _0xa6bb8f['length']?_0xa6bb8f[0x0]:null;}['getChildren'](_0x35dc3a,_0x57963d=null,_0x3ee243=null){return _0x3523f6(this,_0x35dc3a,_0x57963d,_0x3ee243);}['resolve'](_0x26fbc7,_0x370034=0x0){return _0x1c76a2(this,_0x26fbc7,_0x370034,!0x1);}['resolveInner'](_0x3f2f52,_0xee7e12=0x0){return _0x1c76a2(this,_0x3f2f52,_0xee7e12,!0x0);}['matchContext'](_0x69585a){return _0x3be138(this['parent'],_0x69585a);}['enterUnfinishedNodesBefore'](_0x2916b0){let _0x1ddc99=this['childBefore'](_0x2916b0),_0x4077fb=this;for(;_0x1ddc99;){let _0x3b3baa=_0x1ddc99['lastChild'];if(!_0x3b3baa||_0x3b3baa['to']!=_0x1ddc99['to'])break;_0x3b3baa['type']['isError']&&_0x3b3baa['from']==_0x3b3baa['to']?(_0x4077fb=_0x1ddc99,_0x1ddc99=_0x3b3baa['prevSibling']):_0x1ddc99=_0x3b3baa;}return _0x4077fb;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x337cb3 extends _0x18fab0{constructor(_0x4b1c9d,_0x417d61,_0x25fe82,_0x2fa917){super(),this['_tree']=_0x4b1c9d,this['from']=_0x417d61,this['index']=_0x25fe82,this['_parent']=_0x2fa917;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x421c69,_0x20e864,_0x227f98,_0x7255b,_0x1cab4b=0x0){for(let _0x566e42=this;;){for(let {children:_0x456060,positions:_0x19cb90}=_0x566e42['_tree'],_0x3a2a35=_0x20e864>0x0?_0x456060['length']:-0x1;_0x421c69!=_0x3a2a35;_0x421c69+=_0x20e864){let _0x59bff1=_0x456060[_0x421c69],_0x4ace1b=_0x19cb90[_0x421c69]+_0x566e42['from'];if(_0x3309d9(_0x7255b,_0x227f98,_0x4ace1b,_0x4ace1b+_0x59bff1['length'])){if(_0x59bff1 instanceof _0x4dbc13){if(_0x1cab4b&_0x37091f['ExcludeBuffers'])continue;let _0x50dfa2=_0x59bff1['findChild'](0x0,_0x59bff1['buffer']['length'],_0x20e864,_0x227f98-_0x4ace1b,_0x7255b);if(_0x50dfa2>-0x1)return new _0x4eefad(new BufferContext(_0x566e42,_0x59bff1,_0x421c69,_0x4ace1b),null,_0x50dfa2);}else{if(_0x1cab4b&_0x37091f['IncludeAnonymous']||!_0x59bff1['type']['isAnonymous']||_0x18220c(_0x59bff1)){let _0xd63f4e;if(!(_0x1cab4b&_0x37091f['IgnoreMounts'])&&(_0xd63f4e=MountedTree['get'](_0x59bff1))&&!_0xd63f4e['overlay'])return new _0x337cb3(_0xd63f4e['tree'],_0x4ace1b,_0x421c69,_0x566e42);let _0x4dc910=new _0x337cb3(_0x59bff1,_0x4ace1b,_0x421c69,_0x566e42);return _0x1cab4b&_0x37091f['IncludeAnonymous']||!_0x4dc910['type']['isAnonymous']?_0x4dc910:_0x4dc910['nextChild'](_0x20e864<0x0?_0x59bff1['children']['length']-0x1:0x0,_0x20e864,_0x227f98,_0x7255b);}}}}if(_0x1cab4b&_0x37091f['IncludeAnonymous']||!_0x566e42['type']['isAnonymous'])return null;if(_0x421c69=_0x566e42['index']>=0x0?_0x566e42['index']+_0x20e864:_0x20e864<0x0?-0x1:_0x566e42['_parent']['_tree']['children']['length'],_0x566e42=_0x566e42['_parent'],!_0x566e42)return null;}}get['firstChild'](){return this['nextChild'](0x0,0x1,0x0,0x4);}get['lastChild'](){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,0x0,0x4);}['childAfter'](_0x223965){return this['nextChild'](0x0,0x1,_0x223965,0x2);}['childBefore'](_0xbf5a24){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0xbf5a24,-0x2);}['enter'](_0x31ed96,_0x1ab2b7,_0x50336a=0x0){let _0x81d25b;if(!(_0x50336a&_0x37091f['IgnoreOverlays'])&&(_0x81d25b=MountedTree['get'](this['_tree']))&&_0x81d25b['overlay']){let _0x1f7fec=_0x31ed96-this['from'];for(let {from:_0x21dee9,to:_0x47f315}of _0x81d25b['overlay'])if((_0x1ab2b7>0x0?_0x21dee9<=_0x1f7fec:_0x21dee9<_0x1f7fec)&&(_0x1ab2b7<0x0?_0x47f315>=_0x1f7fec:_0x47f315>_0x1f7fec))return new _0x337cb3(_0x81d25b['tree'],_0x81d25b['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x31ed96,_0x1ab2b7,_0x50336a);}['nextSignificantParent'](){let _0x21614b=this;for(;_0x21614b['type']['isAnonymous']&&_0x21614b['_parent'];)_0x21614b=_0x21614b['_parent'];return _0x21614b;}get['parent'](){return this['_parent']?this['_parent']['nextSignificantParent']():null;}get['nextSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']+0x1,0x1,0x0,0x4):null;}get['prevSibling'](){return this['_parent']&&this['index']>=0x0?this['_parent']['nextChild'](this['index']-0x1,-0x1,0x0,0x4):null;}get['tree'](){return this['_tree'];}['toTree'](){return this['_tree'];}['toString'](){return this['_tree']['toString']();}}function _0x3523f6(_0x506822,_0x31a411,_0xc316d8,_0x4f5e3f){let _0xe0e957=_0x506822['cursor'](),_0x27249b=[];if(!_0xe0e957['firstChild']())return _0x27249b;if(null!=_0xc316d8){for(let _0x410556=!0x1;!_0x410556;)if(_0x410556=_0xe0e957['type']['is'](_0xc316d8),!_0xe0e957['nextSibling']())return _0x27249b;}for(;;){if(null!=_0x4f5e3f&&_0xe0e957['type']['is'](_0x4f5e3f))return _0x27249b;if(_0xe0e957['type']['is'](_0x31a411)&&_0x27249b['push'](_0xe0e957['node']),!_0xe0e957['nextSibling']())return null==_0x4f5e3f?_0x27249b:[];}}function _0x3be138(_0x6a615f,_0x201fef,_0x291c57=_0x201fef['length']-0x1){for(let _0x985dfc=_0x6a615f;_0x291c57>=0x0;_0x985dfc=_0x985dfc['parent']){if(!_0x985dfc)return!0x1;if(!_0x985dfc['type']['isAnonymous']){if(_0x201fef[_0x291c57]&&_0x201fef[_0x291c57]!=_0x985dfc['name'])return!0x1;_0x291c57--;}}return!0x0;}class BufferContext{constructor(_0x31583a,_0x4045a1,_0x1af387,_0x356fa0){this['parent']=_0x31583a,this['buffer']=_0x4045a1,this['index']=_0x1af387,this['start']=_0x356fa0;}}class _0x4eefad extends _0x18fab0{get['name'](){return this['type']['name'];}get['from'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x1];}get['to'](){return this['context']['start']+this['context']['buffer']['buffer'][this['index']+0x2];}constructor(_0x4ab51d,_0x10c19f,_0x439457){super(),this['context']=_0x4ab51d,this['_parent']=_0x10c19f,this['index']=_0x439457,this['type']=_0x4ab51d['buffer']['set']['types'][_0x4ab51d['buffer']['buffer'][_0x439457]];}['child'](_0x5b02e5,_0xb7adb3,_0x253123){let {buffer:_0x25590b}=this['context'],_0x1aff5d=_0x25590b['findChild'](this['index']+0x4,_0x25590b['buffer'][this['index']+0x3],_0x5b02e5,_0xb7adb3-this['context']['start'],_0x253123);return _0x1aff5d<0x0?null:new _0x4eefad(this['context'],this,_0x1aff5d);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0xce3869){return this['child'](0x1,_0xce3869,0x2);}['childBefore'](_0x2037bd){return this['child'](-0x1,_0x2037bd,-0x2);}['enter'](_0x1c6777,_0x5aa690,_0xbe9de9=0x0){if(_0xbe9de9&_0x37091f['ExcludeBuffers'])return null;let {buffer:_0xff6df9}=this['context'],_0x2c4de1=_0xff6df9['findChild'](this['index']+0x4,_0xff6df9['buffer'][this['index']+0x3],_0x5aa690>0x0?0x1:-0x1,_0x1c6777-this['context']['start'],_0x5aa690);return _0x2c4de1<0x0?null:new _0x4eefad(this['context'],this,_0x2c4de1);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x401799){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x401799,_0x401799,0x0,0x4);}get['nextSibling'](){let {buffer:_0x2104fc}=this['context'],_0x6755b0=_0x2104fc['buffer'][this['index']+0x3];return _0x6755b0<(this['_parent']?_0x2104fc['buffer'][this['_parent']['index']+0x3]:_0x2104fc['buffer']['length'])?new _0x4eefad(this['context'],this['_parent'],_0x6755b0):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x3475e5}=this['context'],_0x5554f2=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x5554f2?this['externalSibling'](-0x1):new _0x4eefad(this['context'],this['_parent'],_0x3475e5['findChild'](_0x5554f2,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x33b509=[],_0x260d0c=[],{buffer:_0x4c8bf3}=this['context'],_0x4143b8=this['index']+0x4,_0x46a73f=_0x4c8bf3['buffer'][this['index']+0x3];if(_0x46a73f>_0x4143b8){let _0x62dac3=_0x4c8bf3['buffer'][this['index']+0x1];_0x33b509['push'](_0x4c8bf3['slice'](_0x4143b8,_0x46a73f,_0x62dac3)),_0x260d0c['push'](0x0);}return new _0x54a715(this['type'],_0x33b509,_0x260d0c,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function _0x14c74e(_0x42dd6a){if(!_0x42dd6a['length'])return null;let _0x4e8a3d=0x0,_0x5ac2d8=_0x42dd6a[0x0];for(let _0x80295e=0x1;_0x80295e<_0x42dd6a['length'];_0x80295e++){let _0x6d6d0e=_0x42dd6a[_0x80295e];(_0x6d6d0e['from']>_0x5ac2d8['from']||_0x6d6d0e['to']<_0x5ac2d8['to'])&&(_0x5ac2d8=_0x6d6d0e,_0x4e8a3d=_0x80295e);}let _0x166d48=_0x5ac2d8 instanceof _0x337cb3&&_0x5ac2d8['index']<0x0?null:_0x5ac2d8['parent'],_0x13dfa3=_0x42dd6a['slice']();return _0x166d48?_0x13dfa3[_0x4e8a3d]=_0x166d48:_0x13dfa3['splice'](_0x4e8a3d,0x1),new StackIterator(_0x13dfa3,_0x5ac2d8);}class StackIterator{constructor(_0x5ec137,_0x36a9fd){this['heads']=_0x5ec137,this['node']=_0x36a9fd;}get['next'](){return _0x14c74e(this['heads']);}}class _0x54e1fb{get['name'](){return this['type']['name'];}constructor(_0xbb5774,_0x5b9a25=0x0){if(this['mode']=_0x5b9a25,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0xbb5774 instanceof _0x337cb3)this['yieldNode'](_0xbb5774);else{this['_tree']=_0xbb5774['context']['parent'],this['buffer']=_0xbb5774['context'];for(let _0x15e71f=_0xbb5774['_parent'];_0x15e71f;_0x15e71f=_0x15e71f['_parent'])this['stack']['unshift'](_0x15e71f['index']);this['bufferNode']=_0xbb5774,this['yieldBuf'](_0xbb5774['index']);}}['yieldNode'](_0x2c010b){return!!_0x2c010b&&(this['_tree']=_0x2c010b,this['type']=_0x2c010b['type'],this['from']=_0x2c010b['from'],this['to']=_0x2c010b['to'],!0x0);}['yieldBuf'](_0x522a9e,_0x4e5549){this['index']=_0x522a9e;let {start:_0x4a3d7b,buffer:_0x561ca9}=this['buffer'];return this['type']=_0x4e5549||_0x561ca9['set']['types'][_0x561ca9['buffer'][_0x522a9e]],this['from']=_0x4a3d7b+_0x561ca9['buffer'][_0x522a9e+0x1],this['to']=_0x4a3d7b+_0x561ca9['buffer'][_0x522a9e+0x2],!0x0;}['yield'](_0x430696){return!!_0x430696&&(_0x430696 instanceof _0x337cb3?(this['buffer']=null,this['yieldNode'](_0x430696)):(this['buffer']=_0x430696['context'],this['yieldBuf'](_0x430696['index'],_0x430696['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x41f942,_0x1e816d,_0x484cf7){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x41f942<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x41f942,_0x1e816d,_0x484cf7,this['mode']));let {buffer:_0x8a13e6}=this['buffer'],_0x5bf588=_0x8a13e6['findChild'](this['index']+0x4,_0x8a13e6['buffer'][this['index']+0x3],_0x41f942,_0x1e816d-this['buffer']['start'],_0x484cf7);return!(_0x5bf588<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x5bf588));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x7a8917){return this['enterChild'](0x1,_0x7a8917,0x2);}['childBefore'](_0x468ae5){return this['enterChild'](-0x1,_0x468ae5,-0x2);}['enter'](_0xee408d,_0x8345bf,_0x316101=this['mode']){return this['buffer']?!(_0x316101&_0x37091f['ExcludeBuffers'])&&this['enterChild'](0x1,_0xee408d,_0x8345bf):this['yield'](this['_tree']['enter'](_0xee408d,_0x8345bf,_0x316101));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&_0x37091f['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x554987=this['mode']&_0x37091f['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x554987);}['sibling'](_0x343f8b){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x343f8b,_0x343f8b,0x0,0x4,this['mode']));let {buffer:_0x1426cc}=this['buffer'],_0x54cabf=this['stack']['length']-0x1;if(_0x343f8b<0x0){let _0x286cb4=_0x54cabf<0x0?0x0:this['stack'][_0x54cabf]+0x4;if(this['index']!=_0x286cb4)return this['yieldBuf'](_0x1426cc['findChild'](_0x286cb4,this['index'],-0x1,0x0,0x4));}else{let _0x11d53a=_0x1426cc['buffer'][this['index']+0x3];if(_0x11d53a<(_0x54cabf<0x0?_0x1426cc['buffer']['length']:_0x1426cc['buffer'][this['stack'][_0x54cabf]+0x3]))return this['yieldBuf'](_0x11d53a);}return _0x54cabf<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x343f8b,_0x343f8b,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x1088a8){let _0x3ccbc3,_0x1947db,{buffer:_0x39b709}=this;if(_0x39b709){if(_0x1088a8>0x0){if(this['index']<_0x39b709['buffer']['buffer']['length'])return!0x1;}else{for(let _0x58013f=0x0;_0x58013f<this['index'];_0x58013f++)if(_0x39b709['buffer']['buffer'][_0x58013f+0x3]<this['index'])return!0x1;}({index:_0x3ccbc3,parent:_0x1947db}=_0x39b709);}else({index:_0x3ccbc3,_parent:_0x1947db}=this['_tree']);for(;_0x1947db;{index:_0x3ccbc3,_parent:_0x1947db}=_0x1947db)if(_0x3ccbc3>-0x1)for(let _0x467508=_0x3ccbc3+_0x1088a8,_0x2a3874=_0x1088a8<0x0?-0x1:_0x1947db['_tree']['children']['length'];_0x467508!=_0x2a3874;_0x467508+=_0x1088a8){let _0x1c6a0d=_0x1947db['_tree']['children'][_0x467508];if(this['mode']&_0x37091f['IncludeAnonymous']||_0x1c6a0d instanceof _0x4dbc13||!_0x1c6a0d['type']['isAnonymous']||_0x18220c(_0x1c6a0d))return!0x1;}return!0x0;}['move'](_0x113c1c,_0x2afb0a){if(_0x2afb0a&&this['enterChild'](_0x113c1c,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x113c1c))return!0x0;if(this['atLastNode'](_0x113c1c)||!this['parent']())return!0x1;}}['next'](_0x40868a=!0x0){return this['move'](0x1,_0x40868a);}['prev'](_0x356392=!0x0){return this['move'](-0x1,_0x356392);}['moveTo'](_0x20db3a,_0x4daf1c=0x0){for(;(this['from']==this['to']||(_0x4daf1c<0x1?this['from']>=_0x20db3a:this['from']>_0x20db3a)||(_0x4daf1c>-0x1?this['to']<=_0x20db3a:this['to']<_0x20db3a))&&this['parent'](););for(;this['enterChild'](0x1,_0x20db3a,_0x4daf1c););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x432a63=this['bufferNode'],_0x53725d=null,_0xad7b28=0x0;if(_0x432a63&&_0x432a63['context']==this['buffer']){t:for(let _0x1dc656=this['index'],_0x359aa3=this['stack']['length'];_0x359aa3>=0x0;){for(let _0x4cc136=_0x432a63;_0x4cc136;_0x4cc136=_0x4cc136['_parent'])if(_0x4cc136['index']==_0x1dc656){if(_0x1dc656==this['index'])return _0x4cc136;_0x53725d=_0x4cc136,_0xad7b28=_0x359aa3+0x1;break t;}_0x1dc656=this['stack'][--_0x359aa3];}}for(let _0x5bb57e=_0xad7b28;_0x5bb57e<this['stack']['length'];_0x5bb57e++)_0x53725d=new _0x4eefad(this['buffer'],_0x53725d,this['stack'][_0x5bb57e]);return this['bufferNode']=new _0x4eefad(this['buffer'],_0x53725d,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x23f8a0,_0x4828b5){for(let _0x160d05=0x0;;){let _0x23df9c=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x23f8a0(this)){if(this['firstChild']()){_0x160d05++;continue;}this['type']['isAnonymous']||(_0x23df9c=!0x0);}for(;;){if(_0x23df9c&&_0x4828b5&&_0x4828b5(this),_0x23df9c=this['type']['isAnonymous'],!_0x160d05)return;if(this['nextSibling']())break;this['parent'](),_0x160d05--,_0x23df9c=!0x0;}}}['matchContext'](_0x438333){if(!this['buffer'])return _0x3be138(this['node']['parent'],_0x438333);let {buffer:_0x45b685}=this['buffer'],{types:_0x5e6c5a}=_0x45b685['set'];for(let _0x9e95f=_0x438333['length']-0x1,_0x15de28=this['stack']['length']-0x1;_0x9e95f>=0x0;_0x15de28--){if(_0x15de28<0x0)return _0x3be138(this['_tree'],_0x438333,_0x9e95f);let _0x19ad05=_0x5e6c5a[_0x45b685['buffer'][this['stack'][_0x15de28]]];if(!_0x19ad05['isAnonymous']){if(_0x438333[_0x9e95f]&&_0x438333[_0x9e95f]!=_0x19ad05['name'])return!0x1;_0x9e95f--;}}return!0x0;}}function _0x18220c(_0x1d78e1){return _0x1d78e1['children']['some'](_0x1c29ac=>_0x1c29ac instanceof _0x4dbc13||!_0x1c29ac['type']['isAnonymous']||_0x18220c(_0x1c29ac));}const _0x524db0=new WeakMap();function _0x4bc787(_0x41c16b,_0x19cace){if(!_0x41c16b['isAnonymous']||_0x19cace instanceof _0x4dbc13||_0x19cace['type']!=_0x41c16b)return 0x1;let _0x18908e=_0x524db0['get'](_0x19cace);if(null==_0x18908e){_0x18908e=0x1;for(let _0x48143d of _0x19cace['children']){if(_0x48143d['type']!=_0x41c16b||!(_0x48143d instanceof _0x54a715)){_0x18908e=0x1;break;}_0x18908e+=_0x4bc787(_0x41c16b,_0x48143d);}_0x524db0['set'](_0x19cace,_0x18908e);}return _0x18908e;}function _0x2a56f1(_0x533ecd,_0x2e1ce7,_0x149722,_0x5a214a,_0xfb5702,_0x569a04,_0x15f6ba,_0x19303d,_0x1ef848){let _0x37c439=0x0;for(let _0x5a544e=_0x5a214a;_0x5a544e<_0xfb5702;_0x5a544e++)_0x37c439+=_0x4bc787(_0x533ecd,_0x2e1ce7[_0x5a544e]);let _0x4f7748=Math['ceil'](1.5*_0x37c439/0x8),_0x4666e6=[],_0x329e17=[];return function _0x49d65b(_0x1cb1a4,_0x5430c2,_0x55e15c,_0x39632f,_0x2904ee){for(let _0x362e1d=_0x55e15c;_0x362e1d<_0x39632f;){let _0xf88ab7=_0x362e1d,_0x35096f=_0x5430c2[_0x362e1d],_0x147682=_0x4bc787(_0x533ecd,_0x1cb1a4[_0x362e1d]);for(_0x362e1d++;_0x362e1d<_0x39632f;_0x362e1d++){let _0x2240c9=_0x4bc787(_0x533ecd,_0x1cb1a4[_0x362e1d]);if(_0x147682+_0x2240c9>=_0x4f7748)break;_0x147682+=_0x2240c9;}if(_0x362e1d==_0xf88ab7+0x1){if(_0x147682>_0x4f7748){let _0x4707df=_0x1cb1a4[_0xf88ab7];_0x49d65b(_0x4707df['children'],_0x4707df['positions'],0x0,_0x4707df['children']['length'],_0x5430c2[_0xf88ab7]+_0x2904ee);continue;}_0x4666e6['push'](_0x1cb1a4[_0xf88ab7]);}else{let _0x1b8bf8=_0x5430c2[_0x362e1d-0x1]+_0x1cb1a4[_0x362e1d-0x1]['length']-_0x35096f;_0x4666e6['push'](_0x2a56f1(_0x533ecd,_0x1cb1a4,_0x5430c2,_0xf88ab7,_0x362e1d,_0x35096f,_0x1b8bf8,null,_0x1ef848));}_0x329e17['push'](_0x35096f+_0x2904ee-_0x569a04);}}(_0x2e1ce7,_0x149722,_0x5a214a,_0xfb5702,0x0),(_0x19303d||_0x1ef848)(_0x4666e6,_0x329e17,_0x15f6ba);}class _0x5e0dd9{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x1c083f,_0x1b1cbd,_0xadc371){let _0x6af7a4=this['map']['get'](_0x1c083f);_0x6af7a4||this['map']['set'](_0x1c083f,_0x6af7a4=new Map()),_0x6af7a4['set'](_0x1b1cbd,_0xadc371);}['getBuffer'](_0x154606,_0x6b57d5){let _0x3dddad=this['map']['get'](_0x154606);return _0x3dddad&&_0x3dddad['get'](_0x6b57d5);}['set'](_0x3bfeac,_0x335d4a){_0x3bfeac instanceof _0x4eefad?this['setBuffer'](_0x3bfeac['context']['buffer'],_0x3bfeac['index'],_0x335d4a):_0x3bfeac instanceof _0x337cb3&&this['map']['set'](_0x3bfeac['tree'],_0x335d4a);}['get'](_0x49a5c5){return _0x49a5c5 instanceof _0x4eefad?this['getBuffer'](_0x49a5c5['context']['buffer'],_0x49a5c5['index']):_0x49a5c5 instanceof _0x337cb3?this['map']['get'](_0x49a5c5['tree']):void 0x0;}['cursorSet'](_0x46747c,_0x16eec0){_0x46747c['buffer']?this['setBuffer'](_0x46747c['buffer']['buffer'],_0x46747c['index'],_0x16eec0):this['map']['set'](_0x46747c['tree'],_0x16eec0);}['cursorGet'](_0x382eae){return _0x382eae['buffer']?this['getBuffer'](_0x382eae['buffer']['buffer'],_0x382eae['index']):this['map']['get'](_0x382eae['tree']);}}class TreeFragment{constructor(_0x4d1444,_0x9bad88,_0x1c598f,_0x3086bb,_0x35a8a3=!0x1,_0x4b83fd=!0x1){this['from']=_0x4d1444,this['to']=_0x9bad88,this['tree']=_0x1c598f,this['offset']=_0x3086bb,this['open']=(_0x35a8a3?0x1:0x0)|(_0x4b83fd?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x2d0c44,_0x1b6aff=[],_0x10fd54=!0x1){let _0x28e4ff=[new TreeFragment(0x0,_0x2d0c44['length'],_0x2d0c44,0x0,!0x1,_0x10fd54)];for(let _0xcb9f5 of _0x1b6aff)_0xcb9f5['to']>_0x2d0c44['length']&&_0x28e4ff['push'](_0xcb9f5);return _0x28e4ff;}static['applyChanges'](_0x3ba0f4,_0x787648,_0x4f41f3=0x80){if(!_0x787648['length'])return _0x3ba0f4;let _0x4ad7b9=[],_0x46cbba=0x1,_0x451820=_0x3ba0f4['length']?_0x3ba0f4[0x0]:null;for(let _0x11df69=0x0,_0x151d64=0x0,_0x4b1774=0x0;;_0x11df69++){let _0x5589b6=_0x11df69<_0x787648['length']?_0x787648[_0x11df69]:null,_0x1432d0=_0x5589b6?_0x5589b6['fromA']:0x3b9aca00;if(_0x1432d0-_0x151d64>=_0x4f41f3)for(;_0x451820&&_0x451820['from']<_0x1432d0;){let _0xd92d27=_0x451820;if(_0x151d64>=_0xd92d27['from']||_0x1432d0<=_0xd92d27['to']||_0x4b1774){let _0x9d07cc=Math['max'](_0xd92d27['from'],_0x151d64)-_0x4b1774,_0xe3a09f=Math['min'](_0xd92d27['to'],_0x1432d0)-_0x4b1774;_0xd92d27=_0x9d07cc>=_0xe3a09f?null:new TreeFragment(_0x9d07cc,_0xe3a09f,_0xd92d27['tree'],_0xd92d27['offset']+_0x4b1774,_0x11df69>0x0,!!_0x5589b6);}if(_0xd92d27&&_0x4ad7b9['push'](_0xd92d27),_0x451820['to']>_0x1432d0)break;_0x451820=_0x46cbba<_0x3ba0f4['length']?_0x3ba0f4[_0x46cbba++]:null;}if(!_0x5589b6)break;_0x151d64=_0x5589b6['toA'],_0x4b1774=_0x5589b6['toA']-_0x5589b6['toB'];}return _0x4ad7b9;}}class _0x47e9de{['startParse'](_0x901612,_0x12198a,_0x201852){return'string'==typeof _0x901612&&(_0x901612=new StringInput(_0x901612)),_0x201852=_0x201852?_0x201852['length']?_0x201852['map'](_0x372af8=>new _0x2744ac(_0x372af8['from'],_0x372af8['to'])):[new _0x2744ac(0x0,0x0)]:[new _0x2744ac(0x0,_0x901612['length'])],this['createParse'](_0x901612,_0x12198a||[],_0x201852);}['parse'](_0x2fe02f,_0x3dbd9a,_0x3f3331){let _0xaf1ba2=this['startParse'](_0x2fe02f,_0x3dbd9a,_0x3f3331);for(;;){let _0x4c8042=_0xaf1ba2['advance']();if(_0x4c8042)return _0x4c8042;}}}class StringInput{constructor(_0x15f6a1){this['string']=_0x15f6a1;}get['length'](){return this['string']['length'];}['chunk'](_0x30857d){return this['string']['slice'](_0x30857d);}get['lineChunks'](){return!0x1;}['read'](_0x40cad6,_0x336f44){return this['string']['slice'](_0x40cad6,_0x336f44);}}function _0x366d76(_0x29eb54){return(_0x4a0b32,_0x4c7caa,_0x5caee6,_0x4b8ec3)=>new _0x4f0264(_0x4a0b32,_0x29eb54,_0x4c7caa,_0x5caee6,_0x4b8ec3);}class _0x4c98dd{constructor(_0x386db2,_0x30f6cd,_0x4f2fe2,_0x48dda8,_0x381975){this['parser']=_0x386db2,this['parse']=_0x30f6cd,this['overlay']=_0x4f2fe2,this['target']=_0x48dda8,this['from']=_0x381975;}}function _0x50855e(_0x25cb30){if(!_0x25cb30['length']||_0x25cb30['some'](_0x286ee5=>_0x286ee5['from']>=_0x286ee5['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x25cb30));}class ActiveOverlay{constructor(_0x1936b3,_0x5b6b74,_0x1b5a86,_0x10286f,_0x4091b5,_0x376ae1,_0x5bbf19){this['parser']=_0x1936b3,this['predicate']=_0x5b6b74,this['mounts']=_0x1b5a86,this['index']=_0x10286f,this['start']=_0x4091b5,this['target']=_0x376ae1,this['prev']=_0x5bbf19,this['depth']=0x0,this['ranges']=[];}}const _0x16a7f2=new _0x326db3({'perNode':!0x0});class _0x4f0264{constructor(_0x4042f9,_0x43ff31,_0x127e0d,_0x4ae776,_0x1ae0a8){this['nest']=_0x43ff31,this['input']=_0x127e0d,this['fragments']=_0x4ae776,this['ranges']=_0x1ae0a8,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x4042f9;}['advance'](){if(this['baseParse']){let _0x2b33c9=this['baseParse']['advance']();if(!_0x2b33c9)return null;if(this['baseParse']=null,this['baseTree']=_0x2b33c9,this['startInner'](),null!=this['stoppedAt']){for(let _0x1b2cfc of this['inner'])_0x1b2cfc['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x40da41=this['baseTree'];return null!=this['stoppedAt']&&(_0x40da41=new _0x54a715(_0x40da41['type'],_0x40da41['children'],_0x40da41['positions'],_0x40da41['length'],_0x40da41['propValues']['concat']([[_0x16a7f2,this['stoppedAt']]]))),_0x40da41;}let _0x1227ea=this['inner'][this['innerDone']],_0x396d91=_0x1227ea['parse']['advance']();if(_0x396d91){this['innerDone']++;let _0x5433e2=Object['assign'](Object['create'](null),_0x1227ea['target']['props']);_0x5433e2[_0x326db3['mounted']['id']]=new MountedTree(_0x396d91,_0x1227ea['overlay'],_0x1227ea['parser']),_0x1227ea['target']['props']=_0x5433e2;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x1849a1=this['input']['length'];for(let _0x2a58cb=this['innerDone'];_0x2a58cb<this['inner']['length'];_0x2a58cb++)this['inner'][_0x2a58cb]['from']<_0x1849a1&&(_0x1849a1=Math['min'](_0x1849a1,this['inner'][_0x2a58cb]['parse']['parsedPos']));return _0x1849a1;}['stopAt'](_0x580954){if(this['stoppedAt']=_0x580954,this['baseParse'])this['baseParse']['stopAt'](_0x580954);else{for(let _0x2b9bd7=this['innerDone'];_0x2b9bd7<this['inner']['length'];_0x2b9bd7++)this['inner'][_0x2b9bd7]['parse']['stopAt'](_0x580954);}}['startInner'](){let _0xb9868c=new _0x4b40cb(this['fragments']),_0x58d093=null,_0x220f85=null,_0xf5d6b9=new _0x54e1fb(new _0x337cb3(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),_0x37091f['IncludeAnonymous']|_0x37091f['IgnoreMounts']);t:for(let _0x2c9639,_0x212bad;;){let _0x3392ab,_0x4b3db5=!0x0;if(null!=this['stoppedAt']&&_0xf5d6b9['from']>=this['stoppedAt'])_0x4b3db5=!0x1;else{if(_0xb9868c['hasNode'](_0xf5d6b9)){if(_0x58d093){let _0x12dc99=_0x58d093['mounts']['find'](_0x419daf=>_0x419daf['frag']['from']<=_0xf5d6b9['from']&&_0x419daf['frag']['to']>=_0xf5d6b9['to']&&_0x419daf['mount']['overlay']);if(_0x12dc99)for(let _0x2f3b48 of _0x12dc99['mount']['overlay']){let _0x1882c0=_0x2f3b48['from']+_0x12dc99['pos'],_0x45d7c7=_0x2f3b48['to']+_0x12dc99['pos'];_0x1882c0>=_0xf5d6b9['from']&&_0x45d7c7<=_0xf5d6b9['to']&&!_0x58d093['ranges']['some'](_0x476f5b=>_0x476f5b['from']<_0x45d7c7&&_0x476f5b['to']>_0x1882c0)&&_0x58d093['ranges']['push']({'from':_0x1882c0,'to':_0x45d7c7});}}_0x4b3db5=!0x1;}else{if(_0x220f85&&(_0x212bad=_0x46c1d5(_0x220f85['ranges'],_0xf5d6b9['from'],_0xf5d6b9['to'])))_0x4b3db5=0x2!=_0x212bad;else{if(!_0xf5d6b9['type']['isAnonymous']&&(_0x2c9639=this['nest'](_0xf5d6b9,this['input']))&&(_0xf5d6b9['from']<_0xf5d6b9['to']||!_0x2c9639['overlay'])){_0xf5d6b9['tree']||(_0x359348(_0xf5d6b9),_0x58d093&&_0x58d093['depth']++,_0x220f85&&_0x220f85['depth']++);let _0x1a06ba=_0xb9868c['findMounts'](_0xf5d6b9['from'],_0x2c9639['parser']);if('function'==typeof _0x2c9639['overlay'])_0x58d093=new ActiveOverlay(_0x2c9639['parser'],_0x2c9639['overlay'],_0x1a06ba,this['inner']['length'],_0xf5d6b9['from'],_0xf5d6b9['tree'],_0x58d093);else{let _0x3e0a78=_0x5c849e(this['ranges'],_0x2c9639['overlay']||(_0xf5d6b9['from']<_0xf5d6b9['to']?[new _0x2744ac(_0xf5d6b9['from'],_0xf5d6b9['to'])]:[]));_0x3e0a78['length']&&_0x50855e(_0x3e0a78),!_0x3e0a78['length']&&_0x2c9639['overlay']||this['inner']['push'](new _0x4c98dd(_0x2c9639['parser'],_0x3e0a78['length']?_0x2c9639['parser']['startParse'](this['input'],_0x158cc4(_0x1a06ba,_0x3e0a78),_0x3e0a78):_0x2c9639['parser']['startParse'](''),_0x2c9639['overlay']?_0x2c9639['overlay']['map'](_0x1e441e=>new _0x2744ac(_0x1e441e['from']-_0xf5d6b9['from'],_0x1e441e['to']-_0xf5d6b9['from'])):null,_0xf5d6b9['tree'],_0x3e0a78['length']?_0x3e0a78[0x0]['from']:_0xf5d6b9['from'])),_0x2c9639['overlay']?_0x3e0a78['length']&&(_0x220f85={'ranges':_0x3e0a78,'depth':0x0,'prev':_0x220f85}):_0x4b3db5=!0x1;}}else{if(_0x58d093&&(_0x3392ab=_0x58d093['predicate'](_0xf5d6b9))&&(!0x0===_0x3392ab&&(_0x3392ab=new _0x2744ac(_0xf5d6b9['from'],_0xf5d6b9['to'])),_0x3392ab['from']<_0x3392ab['to'])){let _0x559a3d=_0x58d093['ranges']['length']-0x1;_0x559a3d>=0x0&&_0x58d093['ranges'][_0x559a3d]['to']==_0x3392ab['from']?_0x58d093['ranges'][_0x559a3d]={'from':_0x58d093['ranges'][_0x559a3d]['from'],'to':_0x3392ab['to']}:_0x58d093['ranges']['push'](_0x3392ab);}}}}}if(_0x4b3db5&&_0xf5d6b9['firstChild']())_0x58d093&&_0x58d093['depth']++,_0x220f85&&_0x220f85['depth']++;else for(;!_0xf5d6b9['nextSibling']();){if(!_0xf5d6b9['parent']())break t;if(_0x58d093&&!--_0x58d093['depth']){let _0x23b2be=_0x5c849e(this['ranges'],_0x58d093['ranges']);_0x23b2be['length']&&(_0x50855e(_0x23b2be),this['inner']['splice'](_0x58d093['index'],0x0,new _0x4c98dd(_0x58d093['parser'],_0x58d093['parser']['startParse'](this['input'],_0x158cc4(_0x58d093['mounts'],_0x23b2be),_0x23b2be),_0x58d093['ranges']['map'](_0x5b86f7=>new _0x2744ac(_0x5b86f7['from']-_0x58d093['start'],_0x5b86f7['to']-_0x58d093['start'])),_0x58d093['target'],_0x23b2be[0x0]['from']))),_0x58d093=_0x58d093['prev'];}_0x220f85&&!--_0x220f85['depth']&&(_0x220f85=_0x220f85['prev']);}}}}function _0x46c1d5(_0x4b8a00,_0x5aa712,_0x38d520){for(let _0x251a0f of _0x4b8a00){if(_0x251a0f['from']>=_0x38d520)break;if(_0x251a0f['to']>_0x5aa712)return _0x251a0f['from']<=_0x5aa712&&_0x251a0f['to']>=_0x38d520?0x2:0x1;}return 0x0;}function _0x288d86(_0x210cff,_0x3f45ef,_0xb1def1,_0x2f49ed,_0x2f6afe,_0x80e72c){if(_0x3f45ef<_0xb1def1){let _0xbaef26=_0x210cff['buffer'][_0x3f45ef+0x1];_0x2f49ed['push'](_0x210cff['slice'](_0x3f45ef,_0xb1def1,_0xbaef26)),_0x2f6afe['push'](_0xbaef26-_0x80e72c);}}function _0x359348(_0x3816e8){let {node:_0x135e04}=_0x3816e8,_0x226bee=[],_0xa9e832=_0x135e04['context']['buffer'];do{_0x226bee['push'](_0x3816e8['index']),_0x3816e8['parent']();}while(!_0x3816e8['tree']);let _0x5c1f6b=_0x3816e8['tree'],_0x2b5108=_0x5c1f6b['children']['indexOf'](_0xa9e832),_0x43b802=_0x5c1f6b['children'][_0x2b5108],_0x4d0b1a=_0x43b802['buffer'],_0x1a328c=[_0x2b5108];_0x5c1f6b['children'][_0x2b5108]=function _0x42d018(_0x2357cd,_0x30de89,_0x15431f,_0x1bca89,_0x2e34ae,_0x51f6d9){let _0x1996c0=_0x226bee[_0x51f6d9],_0x439882=[],_0x4c082c=[];_0x288d86(_0x43b802,_0x2357cd,_0x1996c0,_0x439882,_0x4c082c,_0x1bca89);let _0x98ea5a=_0x4d0b1a[_0x1996c0+0x1],_0x59caba=_0x4d0b1a[_0x1996c0+0x2];_0x1a328c['push'](_0x439882['length']);let _0x187830=_0x51f6d9?_0x42d018(_0x1996c0+0x4,_0x4d0b1a[_0x1996c0+0x3],_0x43b802['set']['types'][_0x4d0b1a[_0x1996c0]],_0x98ea5a,_0x59caba-_0x98ea5a,_0x51f6d9-0x1):_0x135e04['toTree']();return _0x439882['push'](_0x187830),_0x4c082c['push'](_0x98ea5a-_0x1bca89),_0x288d86(_0x43b802,_0x4d0b1a[_0x1996c0+0x3],_0x30de89,_0x439882,_0x4c082c,_0x1bca89),new _0x54a715(_0x15431f,_0x439882,_0x4c082c,_0x2e34ae);}(0x0,_0x4d0b1a['length'],_0x76b5bd['none'],0x0,_0x43b802['length'],_0x226bee['length']-0x1);for(let _0x4ed158 of _0x1a328c){let _0x2818bc=_0x3816e8['tree']['children'][_0x4ed158],_0x192b87=_0x3816e8['tree']['positions'][_0x4ed158];_0x3816e8['yield'](new _0x337cb3(_0x2818bc,_0x192b87+_0x3816e8['from'],_0x4ed158,_0x3816e8['_tree']));}}class StructureCursor{constructor(_0x56aa1b,_0x46c7fe){this['offset']=_0x46c7fe,this['done']=!0x1,this['cursor']=_0x56aa1b['cursor'](_0x37091f['IncludeAnonymous']|_0x37091f['IgnoreMounts']);}['moveTo'](_0xb60ccc){let {cursor:_0x550aa7}=this,_0xb8f878=_0xb60ccc-this['offset'];for(;!this['done']&&_0x550aa7['from']<_0xb8f878;)_0x550aa7['to']>=_0xb60ccc&&_0x550aa7['enter'](_0xb8f878,0x1,_0x37091f['IgnoreOverlays']|_0x37091f['ExcludeBuffers'])||_0x550aa7['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x19547a){if(this['moveTo'](_0x19547a['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x19547a['from']&&this['cursor']['tree'])for(let _0x21fd61=this['cursor']['tree'];;){if(_0x21fd61==_0x19547a['tree'])return!0x0;if(!(_0x21fd61['children']['length']&&0x0==_0x21fd61['positions'][0x0]&&_0x21fd61['children'][0x0]instanceof _0x54a715))break;_0x21fd61=_0x21fd61['children'][0x0];}return!0x1;}}let _0x4b40cb=class FragmentCursor{constructor(_0x5bdc43){var _0x98e818;if(this['fragments']=_0x5bdc43,this['curTo']=0x0,this['fragI']=0x0,_0x5bdc43['length']){let _0xc2d5ef=this['curFrag']=_0x5bdc43[0x0];this['curTo']=null!==(_0x98e818=_0xc2d5ef['tree']['prop'](_0x16a7f2))&&void 0x0!==_0x98e818?_0x98e818:_0xc2d5ef['to'],this['inner']=new StructureCursor(_0xc2d5ef['tree'],-_0xc2d5ef['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x50f580){for(;this['curFrag']&&_0x50f580['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x50f580['from']&&this['curTo']>=_0x50f580['to']&&this['inner']['hasNode'](_0x50f580);}['nextFrag'](){var _0x4699f8;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x57f03b=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x4699f8=_0x57f03b['tree']['prop'](_0x16a7f2))&&void 0x0!==_0x4699f8?_0x4699f8:_0x57f03b['to'],this['inner']=new StructureCursor(_0x57f03b['tree'],-_0x57f03b['offset']);}}['findMounts'](_0x4d539e,_0x16d469){var _0x16f1ed;let _0x4b3d90=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x4d539e,0x1);for(let _0x3288e6=this['inner']['cursor']['node'];_0x3288e6;_0x3288e6=_0x3288e6['parent']){let _0x33774e=null===(_0x16f1ed=_0x3288e6['tree'])||void 0x0===_0x16f1ed?void 0x0:_0x16f1ed['prop'](_0x326db3['mounted']);if(_0x33774e&&_0x33774e['parser']==_0x16d469)for(let _0x5a1d83=this['fragI'];_0x5a1d83<this['fragments']['length'];_0x5a1d83++){let _0x4499cf=this['fragments'][_0x5a1d83];if(_0x4499cf['from']>=_0x3288e6['to'])break;_0x4499cf['tree']==this['curFrag']['tree']&&_0x4b3d90['push']({'frag':_0x4499cf,'pos':_0x3288e6['from']-_0x4499cf['offset'],'mount':_0x33774e});}}}return _0x4b3d90;}};function _0x5c849e(_0x9c5007,_0xdda957){let _0x27a10e=null,_0xd129e8=_0xdda957;for(let _0x299331=0x1,_0x3c2a6a=0x0;_0x299331<_0x9c5007['length'];_0x299331++){let _0x252028=_0x9c5007[_0x299331-0x1]['to'],_0x197354=_0x9c5007[_0x299331]['from'];for(;_0x3c2a6a<_0xd129e8['length'];_0x3c2a6a++){let _0x3ed8ca=_0xd129e8[_0x3c2a6a];if(_0x3ed8ca['from']>=_0x197354)break;_0x3ed8ca['to']<=_0x252028||(_0x27a10e||(_0xd129e8=_0x27a10e=_0xdda957['slice']()),_0x3ed8ca['from']<_0x252028?(_0x27a10e[_0x3c2a6a]=new _0x2744ac(_0x3ed8ca['from'],_0x252028),_0x3ed8ca['to']>_0x197354&&_0x27a10e['splice'](_0x3c2a6a+0x1,0x0,new _0x2744ac(_0x197354,_0x3ed8ca['to']))):_0x3ed8ca['to']>_0x197354?_0x27a10e[_0x3c2a6a--]=new _0x2744ac(_0x197354,_0x3ed8ca['to']):_0x27a10e['splice'](_0x3c2a6a--,0x1));}}return _0xd129e8;}function _0x263e6b(_0x208403,_0x1f9462,_0x306046,_0x2a069b){let _0x4eb728=0x0,_0x351280=0x0,_0x374a78=!0x1,_0x5236c6=!0x1,_0x1f2597=-0x3b9aca00,_0x239c7a=[];for(;;){let _0x492573=_0x4eb728==_0x208403['length']?0x3b9aca00:_0x374a78?_0x208403[_0x4eb728]['to']:_0x208403[_0x4eb728]['from'],_0x29da31=_0x351280==_0x1f9462['length']?0x3b9aca00:_0x5236c6?_0x1f9462[_0x351280]['to']:_0x1f9462[_0x351280]['from'];if(_0x374a78!=_0x5236c6){let _0x1b9bcc=Math['max'](_0x1f2597,_0x306046),_0x320108=Math['min'](_0x492573,_0x29da31,_0x2a069b);_0x1b9bcc<_0x320108&&_0x239c7a['push'](new _0x2744ac(_0x1b9bcc,_0x320108));}if(_0x1f2597=Math['min'](_0x492573,_0x29da31),0x3b9aca00==_0x1f2597)break;_0x492573==_0x1f2597&&(_0x374a78?(_0x374a78=!0x1,_0x4eb728++):_0x374a78=!0x0),_0x29da31==_0x1f2597&&(_0x5236c6?(_0x5236c6=!0x1,_0x351280++):_0x5236c6=!0x0);}return _0x239c7a;}function _0x158cc4(_0x180be4,_0x1e94cd){let _0x56451f=[];for(let {pos:_0x5f0504,mount:_0x21c958,frag:_0x4e25ab}of _0x180be4){let _0x8a3c68=_0x5f0504+(_0x21c958['overlay']?_0x21c958['overlay'][0x0]['from']:0x0),_0x4ce050=_0x8a3c68+_0x21c958['tree']['length'],_0x484122=Math['max'](_0x4e25ab['from'],_0x8a3c68),_0x2fdbb0=Math['min'](_0x4e25ab['to'],_0x4ce050);if(_0x21c958['overlay']){let _0x36e9ee=_0x263e6b(_0x1e94cd,_0x21c958['overlay']['map'](_0x39a57b=>new _0x2744ac(_0x39a57b['from']+_0x5f0504,_0x39a57b['to']+_0x5f0504)),_0x484122,_0x2fdbb0);for(let _0x3031cc=0x0,_0x334633=_0x484122;;_0x3031cc++){let _0x296873=_0x3031cc==_0x36e9ee['length'],_0x364d9a=_0x296873?_0x2fdbb0:_0x36e9ee[_0x3031cc]['from'];if(_0x364d9a>_0x334633&&_0x56451f['push'](new TreeFragment(_0x334633,_0x364d9a,_0x21c958['tree'],-_0x8a3c68,_0x4e25ab['from']>=_0x334633||_0x4e25ab['openStart'],_0x4e25ab['to']<=_0x364d9a||_0x4e25ab['openEnd'])),_0x296873)break;_0x334633=_0x36e9ee[_0x3031cc]['to'];}}else _0x56451f['push'](new TreeFragment(_0x484122,_0x2fdbb0,_0x21c958['tree'],-_0x8a3c68,_0x4e25ab['from']>=_0x8a3c68||_0x4e25ab['openStart'],_0x4e25ab['to']<=_0x4ce050||_0x4e25ab['openEnd']));}return _0x56451f;}let _0x3114b5=0x0;class _0x90f921{constructor(_0xb54466,_0x3ffea1,_0xa7aab2,_0x1db068){this['name']=_0xb54466,this['set']=_0x3ffea1,this['base']=_0xa7aab2,this['modified']=_0x1db068,this['id']=_0x3114b5++;}['toString'](){let {name:_0xa97b86}=this;for(let _0x58a047 of this['modified'])_0x58a047['name']&&(_0xa97b86=_0x58a047['name']+'('+_0xa97b86+')');return _0xa97b86;}static['define'](_0x385e21,_0x2c72d7){let _0x34ec60='string'==typeof _0x385e21?_0x385e21:'?';if(_0x385e21 instanceof _0x90f921&&(_0x2c72d7=_0x385e21),null==_0x2c72d7?void 0x0:_0x2c72d7['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x2f102f=new _0x90f921(_0x34ec60,[],null,[]);if(_0x2f102f['set']['push'](_0x2f102f),_0x2c72d7){for(let t of _0x2c72d7['set'])_0x2f102f['set']['push'](t);}return _0x2f102f;}static['defineModifier'](_0x565a29){let _0x5670e5=new _0x3d925d(_0x565a29);return _0x1f7463=>_0x1f7463['modified']['indexOf'](_0x5670e5)>-0x1?_0x1f7463:_0x3d925d['get'](_0x1f7463['base']||_0x1f7463,_0x1f7463['modified']['concat'](_0x5670e5)['sort']((_0x15287e,_0x5697f4)=>_0x15287e['id']-_0x5697f4['id']));}}let _0x5c518e=0x0;class _0x3d925d{constructor(_0x3806c0){this['name']=_0x3806c0,this['instances']=[],this['id']=_0x5c518e++;}static['get'](_0x513100,_0x2b5c38){if(!_0x2b5c38['length'])return _0x513100;let _0x50ab71=_0x2b5c38[0x0]['instances']['find'](t=>{return t['base']==_0x513100&&(_0x466274=_0x2b5c38,_0x4efa7a=t['modified'],_0x466274['length']==_0x4efa7a['length']&&_0x466274['every']((_0x2e8b28,_0x55b647)=>_0x2e8b28==_0x4efa7a[_0x55b647]));var _0x466274,_0x4efa7a;});if(_0x50ab71)return _0x50ab71;let _0x310409=[],_0x42a986=new _0x90f921(_0x513100['name'],_0x310409,_0x513100,_0x2b5c38);for(let _0x1d53fd of _0x2b5c38)_0x1d53fd['instances']['push'](_0x42a986);let _0x49c61e=function(_0x5c81a2){let _0x9bfb3a=[[]];for(let _0x4af18f=0x0;_0x4af18f<_0x5c81a2['length'];_0x4af18f++)for(let _0x51b1b3=0x0,_0x4dc667=_0x9bfb3a['length'];_0x51b1b3<_0x4dc667;_0x51b1b3++)_0x9bfb3a['push'](_0x9bfb3a[_0x51b1b3]['concat'](_0x5c81a2[_0x4af18f]));return _0x9bfb3a['sort']((_0x22944b,_0x3c53bc)=>_0x3c53bc['length']-_0x22944b['length']);}(_0x2b5c38);for(let _0x4f8d31 of _0x513100['set'])if(!_0x4f8d31['modified']['length']){for(let _0x198e8c of _0x49c61e)_0x310409['push'](_0x3d925d['get'](_0x4f8d31,_0x198e8c));}return _0x42a986;}}function _0x1fda3a(_0x476d34){let _0x3d1613=Object['create'](null);for(let _0x1474dc in _0x476d34){let _0x5f1fca=_0x476d34[_0x1474dc];Array['isArray'](_0x5f1fca)||(_0x5f1fca=[_0x5f1fca]);for(let _0x35f7ec of _0x1474dc['split']('\x20'))if(_0x35f7ec){let _0x2cb1de=[],_0x14d52e=0x2,_0x5607f0=_0x35f7ec;for(let _0xdbacd7=0x0;;){if('...'==_0x5607f0&&_0xdbacd7>0x0&&_0xdbacd7+0x3==_0x35f7ec['length']){_0x14d52e=0x1;break;}let _0x445d5e=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x5607f0);if(!_0x445d5e)throw new RangeError('Invalid\x20path:\x20'+_0x35f7ec);if(_0x2cb1de['push']('*'==_0x445d5e[0x0]?'':'\x22'==_0x445d5e[0x0][0x0]?JSON['parse'](_0x445d5e[0x0]):_0x445d5e[0x0]),_0xdbacd7+=_0x445d5e[0x0]['length'],_0xdbacd7==_0x35f7ec['length'])break;let _0x3a7a20=_0x35f7ec[_0xdbacd7++];if(_0xdbacd7==_0x35f7ec['length']&&'!'==_0x3a7a20){_0x14d52e=0x0;break;}if('/'!=_0x3a7a20)throw new RangeError('Invalid\x20path:\x20'+_0x35f7ec);_0x5607f0=_0x35f7ec['slice'](_0xdbacd7);}let _0xe262b=_0x2cb1de['length']-0x1,_0x7449cf=_0x2cb1de[_0xe262b];if(!_0x7449cf)throw new RangeError('Invalid\x20path:\x20'+_0x35f7ec);let _0x5321c0=new _0x1e48f6(_0x5f1fca,_0x14d52e,_0xe262b>0x0?_0x2cb1de['slice'](0x0,_0xe262b):null);_0x3d1613[_0x7449cf]=_0x5321c0['sort'](_0x3d1613[_0x7449cf]);}}return _0x44ddca['add'](_0x3d1613);}const _0x44ddca=new _0x326db3({'combine'(_0x28eb75,_0x5e3a88){let _0x504f49,_0x64a706,_0x6c0906;for(;_0x28eb75||_0x5e3a88;){if(!_0x28eb75||_0x5e3a88&&_0x28eb75['depth']>=_0x5e3a88['depth']?(_0x6c0906=_0x5e3a88,_0x5e3a88=_0x5e3a88['next']):(_0x6c0906=_0x28eb75,_0x28eb75=_0x28eb75['next']),_0x504f49&&_0x504f49['mode']==_0x6c0906['mode']&&!_0x6c0906['context']&&!_0x504f49['context'])continue;let _0x14c7be=new _0x1e48f6(_0x6c0906['tags'],_0x6c0906['mode'],_0x6c0906['context']);_0x504f49?_0x504f49['next']=_0x14c7be:_0x64a706=_0x14c7be,_0x504f49=_0x14c7be;}return _0x64a706;}});class _0x1e48f6{constructor(_0x5d1fac,_0x845424,_0x4fd087,_0x5f59cf){this['tags']=_0x5d1fac,this['mode']=_0x845424,this['context']=_0x4fd087,this['next']=_0x5f59cf;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x22e530){return!_0x22e530||_0x22e530['depth']<this['depth']?(this['next']=_0x22e530,this):(_0x22e530['next']=this['sort'](_0x22e530['next']),_0x22e530);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function _0xc9e6a0(_0x57806e,_0x4a597b){let _0x18b39e=Object['create'](null);for(let _0xd64161 of _0x57806e)if(Array['isArray'](_0xd64161['tag'])){for(let _0x2f17e8 of _0xd64161['tag'])_0x18b39e[_0x2f17e8['id']]=_0xd64161['class'];}else _0x18b39e[_0xd64161['tag']['id']]=_0xd64161['class'];let {scope:_0x29769d,all:_0x389947=null}=_0x4a597b||{};return{'style':_0x9b8d14=>{let _0x434618=_0x389947;for(let _0x470c4c of _0x9b8d14)for(let _0xfa67cd of _0x470c4c['set']){let _0x50901a=_0x18b39e[_0xfa67cd['id']];if(_0x50901a){_0x434618=_0x434618?_0x434618+'\x20'+_0x50901a:_0x50901a;break;}}return _0x434618;},'scope':_0x29769d};}function _0x77095f(_0x393bf4,_0x14890e,_0x1e7af8,_0x19a119=0x0,_0x12bfb7=_0x393bf4['length']){let _0x24bb67=new HighlightBuilder(_0x19a119,Array['isArray'](_0x14890e)?_0x14890e:[_0x14890e],_0x1e7af8);_0x24bb67['highlightRange'](_0x393bf4['cursor'](),_0x19a119,_0x12bfb7,'',_0x24bb67['highlighters']),_0x24bb67['flush'](_0x12bfb7);}_0x1e48f6['empty']=new _0x1e48f6([],0x2,null);class HighlightBuilder{constructor(_0x5e3644,_0x202212,_0x51b6eb){this['at']=_0x5e3644,this['highlighters']=_0x202212,this['span']=_0x51b6eb,this['class']='';}['startSpan'](_0x1955e5,_0x342a0a){_0x342a0a!=this['class']&&(this['flush'](_0x1955e5),_0x1955e5>this['at']&&(this['at']=_0x1955e5),this['class']=_0x342a0a);}['flush'](_0x34ad66){_0x34ad66>this['at']&&this['class']&&this['span'](this['at'],_0x34ad66,this['class']);}['highlightRange'](_0x261c56,_0x2c64e2,_0x4338c8,_0x100788,_0x8a5c11){let {type:_0xc40b5b,from:_0x4c856c,to:_0x8483c1}=_0x261c56;if(_0x4c856c>=_0x4338c8||_0x8483c1<=_0x2c64e2)return;_0xc40b5b['isTop']&&(_0x8a5c11=this['highlighters']['filter'](_0x1b16ad=>!_0x1b16ad['scope']||_0x1b16ad['scope'](_0xc40b5b)));let _0x15cfbe=_0x100788,_0x1255cc=function(_0x4a88f1){let _0x41902c=_0x4a88f1['type']['prop'](_0x44ddca);for(;_0x41902c&&_0x41902c['context']&&!_0x4a88f1['matchContext'](_0x41902c['context']);)_0x41902c=_0x41902c['next'];return _0x41902c||null;}(_0x261c56)||_0x1e48f6['empty'],_0x13f126=function(_0x3c2fd5,_0x29fb6c){let _0x58ae44=null;for(let _0x169241 of _0x3c2fd5){let _0x1b5407=_0x169241['style'](_0x29fb6c);_0x1b5407&&(_0x58ae44=_0x58ae44?_0x58ae44+'\x20'+_0x1b5407:_0x1b5407);}return _0x58ae44;}(_0x8a5c11,_0x1255cc['tags']);if(_0x13f126&&(_0x15cfbe&&(_0x15cfbe+='\x20'),_0x15cfbe+=_0x13f126,0x1==_0x1255cc['mode']&&(_0x100788+=(_0x100788?'\x20':'')+_0x13f126)),this['startSpan'](Math['max'](_0x2c64e2,_0x4c856c),_0x15cfbe),_0x1255cc['opaque'])return;let _0x264358=_0x261c56['tree']&&_0x261c56['tree']['prop'](_0x326db3['mounted']);if(_0x264358&&_0x264358['overlay']){let _0xd5d7c7=_0x261c56['node']['enter'](_0x264358['overlay'][0x0]['from']+_0x4c856c,0x1),_0x2ed6d4=this['highlighters']['filter'](_0x4471df=>!_0x4471df['scope']||_0x4471df['scope'](_0x264358['tree']['type'])),_0x222daa=_0x261c56['firstChild']();for(let _0x29d5b7=0x0,_0x5049e6=_0x4c856c;;_0x29d5b7++){let _0x53393a=_0x29d5b7<_0x264358['overlay']['length']?_0x264358['overlay'][_0x29d5b7]:null,_0x173965=_0x53393a?_0x53393a['from']+_0x4c856c:_0x8483c1,_0x354950=Math['max'](_0x2c64e2,_0x5049e6),_0x55d607=Math['min'](_0x4338c8,_0x173965);if(_0x354950<_0x55d607&&_0x222daa){for(;_0x261c56['from']<_0x55d607&&(this['highlightRange'](_0x261c56,_0x354950,_0x55d607,_0x100788,_0x8a5c11),this['startSpan'](Math['min'](_0x55d607,_0x261c56['to']),_0x15cfbe),!(_0x261c56['to']>=_0x173965)&&_0x261c56['nextSibling']()););}if(!_0x53393a||_0x173965>_0x4338c8)break;_0x5049e6=_0x53393a['to']+_0x4c856c,_0x5049e6>_0x2c64e2&&(this['highlightRange'](_0xd5d7c7['cursor'](),Math['max'](_0x2c64e2,_0x53393a['from']+_0x4c856c),Math['min'](_0x4338c8,_0x5049e6),'',_0x2ed6d4),this['startSpan'](Math['min'](_0x4338c8,_0x5049e6),_0x15cfbe));}_0x222daa&&_0x261c56['parent']();}else{if(_0x261c56['firstChild']()){_0x264358&&(_0x100788='');do{if(!(_0x261c56['to']<=_0x2c64e2)){if(_0x261c56['from']>=_0x4338c8)break;this['highlightRange'](_0x261c56,_0x2c64e2,_0x4338c8,_0x100788,_0x8a5c11),this['startSpan'](Math['min'](_0x4338c8,_0x261c56['to']),_0x15cfbe);}}while(_0x261c56['nextSibling']());_0x261c56['parent']();}}}}const t=_0x90f921['define'],_0x1da444=t(),_0x4e3d90=t(),_0x329fa7=t(_0x4e3d90),_0x25dba9=t(_0x4e3d90),_0x583413=t(),_0x361afa=t(_0x583413),_0x148238=t(_0x583413),_0x208ad2=t(),_0x430b39=t(_0x208ad2),_0x42f434=t(),_0x480bb5=t(),_0x4a96f4=t(),_0x42a6f8=t(_0x4a96f4),_0x313a50=t(),_0x4ccfa4={'comment':_0x1da444,'lineComment':t(_0x1da444),'blockComment':t(_0x1da444),'docComment':t(_0x1da444),'name':_0x4e3d90,'variableName':t(_0x4e3d90),'typeName':_0x329fa7,'tagName':t(_0x329fa7),'propertyName':_0x25dba9,'attributeName':t(_0x25dba9),'className':t(_0x4e3d90),'labelName':t(_0x4e3d90),'namespace':t(_0x4e3d90),'macroName':t(_0x4e3d90),'literal':_0x583413,'string':_0x361afa,'docString':t(_0x361afa),'character':t(_0x361afa),'attributeValue':t(_0x361afa),'number':_0x148238,'integer':t(_0x148238),'float':t(_0x148238),'bool':t(_0x583413),'regexp':t(_0x583413),'escape':t(_0x583413),'color':t(_0x583413),'url':t(_0x583413),'keyword':_0x42f434,'self':t(_0x42f434),'null':t(_0x42f434),'atom':t(_0x42f434),'unit':t(_0x42f434),'modifier':t(_0x42f434),'operatorKeyword':t(_0x42f434),'controlKeyword':t(_0x42f434),'definitionKeyword':t(_0x42f434),'moduleKeyword':t(_0x42f434),'operator':_0x480bb5,'derefOperator':t(_0x480bb5),'arithmeticOperator':t(_0x480bb5),'logicOperator':t(_0x480bb5),'bitwiseOperator':t(_0x480bb5),'compareOperator':t(_0x480bb5),'updateOperator':t(_0x480bb5),'definitionOperator':t(_0x480bb5),'typeOperator':t(_0x480bb5),'controlOperator':t(_0x480bb5),'punctuation':_0x4a96f4,'separator':t(_0x4a96f4),'bracket':_0x42a6f8,'angleBracket':t(_0x42a6f8),'squareBracket':t(_0x42a6f8),'paren':t(_0x42a6f8),'brace':t(_0x42a6f8),'content':_0x208ad2,'heading':_0x430b39,'heading1':t(_0x430b39),'heading2':t(_0x430b39),'heading3':t(_0x430b39),'heading4':t(_0x430b39),'heading5':t(_0x430b39),'heading6':t(_0x430b39),'contentSeparator':t(_0x208ad2),'list':t(_0x208ad2),'quote':t(_0x208ad2),'emphasis':t(_0x208ad2),'strong':t(_0x208ad2),'link':t(_0x208ad2),'monospace':t(_0x208ad2),'strikethrough':t(_0x208ad2),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':_0x313a50,'documentMeta':t(_0x313a50),'annotation':t(_0x313a50),'processingInstruction':t(_0x313a50),'definition':_0x90f921['defineModifier']('definition'),'constant':_0x90f921['defineModifier']('constant'),'function':_0x90f921['defineModifier']('function'),'standard':_0x90f921['defineModifier']('standard'),'local':_0x90f921['defineModifier']('local'),'special':_0x90f921['defineModifier']('special')};for(let _0x51caa8 in _0x4ccfa4){let _0x4c49f2=_0x4ccfa4[_0x51caa8];_0x4c49f2 instanceof _0x90f921&&(_0x4c49f2['name']=_0x51caa8);}var _0x38e0ec;_0xc9e6a0([{'tag':_0x4ccfa4['link'],'class':'tok-link'},{'tag':_0x4ccfa4['heading'],'class':'tok-heading'},{'tag':_0x4ccfa4['emphasis'],'class':'tok-emphasis'},{'tag':_0x4ccfa4['strong'],'class':'tok-strong'},{'tag':_0x4ccfa4['keyword'],'class':'tok-keyword'},{'tag':_0x4ccfa4['atom'],'class':'tok-atom'},{'tag':_0x4ccfa4['bool'],'class':'tok-bool'},{'tag':_0x4ccfa4['url'],'class':'tok-url'},{'tag':_0x4ccfa4['labelName'],'class':'tok-labelName'},{'tag':_0x4ccfa4['inserted'],'class':'tok-inserted'},{'tag':_0x4ccfa4['deleted'],'class':'tok-deleted'},{'tag':_0x4ccfa4['literal'],'class':'tok-literal'},{'tag':_0x4ccfa4['string'],'class':'tok-string'},{'tag':_0x4ccfa4['number'],'class':'tok-number'},{'tag':[_0x4ccfa4['regexp'],_0x4ccfa4['escape'],_0x4ccfa4['special'](_0x4ccfa4['string'])],'class':'tok-string2'},{'tag':_0x4ccfa4['variableName'],'class':'tok-variableName'},{'tag':_0x4ccfa4['local'](_0x4ccfa4['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':_0x4ccfa4['definition'](_0x4ccfa4['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':_0x4ccfa4['special'](_0x4ccfa4['variableName']),'class':'tok-variableName2'},{'tag':_0x4ccfa4['definition'](_0x4ccfa4['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':_0x4ccfa4['typeName'],'class':'tok-typeName'},{'tag':_0x4ccfa4['namespace'],'class':'tok-namespace'},{'tag':_0x4ccfa4['className'],'class':'tok-className'},{'tag':_0x4ccfa4['macroName'],'class':'tok-macroName'},{'tag':_0x4ccfa4['propertyName'],'class':'tok-propertyName'},{'tag':_0x4ccfa4['operator'],'class':'tok-operator'},{'tag':_0x4ccfa4['comment'],'class':'tok-comment'},{'tag':_0x4ccfa4['meta'],'class':'tok-meta'},{'tag':_0x4ccfa4['invalid'],'class':'tok-invalid'},{'tag':_0x4ccfa4['punctuation'],'class':'tok-punctuation'}]);const _0x5f083f=new _0x326db3();function _0x1140e9(_0x266f10){return Facet['define']({'combine':_0x266f10?_0x3e611a=>_0x3e611a['concat'](_0x266f10):void 0x0});}const _0x40542e=new _0x326db3();class _0x2ed6a7{constructor(_0x357a69,_0x31d596,_0x45417b=[],_0x446c96=''){this['data']=_0x357a69,this['name']=_0x446c96,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return tE(this);}}),this['parser']=_0x31d596,this['extension']=[_0x3c163d['of'](this),EditorState['languageData']['of']((_0x19aa14,_0x2d3f80,_0x38dda1)=>{let _0x5ee45b=_0x3b614f(_0x19aa14,_0x2d3f80,_0x38dda1),_0x47adfa=_0x5ee45b['type']['prop'](_0x5f083f);if(!_0x47adfa)return[];let _0x4ceab6=_0x19aa14['facet'](_0x47adfa),_0x54c8ce=_0x5ee45b['type']['prop'](_0x40542e);if(_0x54c8ce){let _0x318385=_0x5ee45b['resolve'](_0x2d3f80-_0x5ee45b['from'],_0x38dda1);for(let _0x28bd67 of _0x54c8ce)if(_0x28bd67['test'](_0x318385,_0x19aa14)){let _0x398858=_0x19aa14['facet'](_0x28bd67['facet']);return'replace'==_0x28bd67['type']?_0x398858:_0x398858['concat'](_0x4ceab6);}}return _0x4ceab6;})]['concat'](_0x45417b);}['isActiveAt'](_0x25bef5,_0x5b2e5a,_0x3be72b=-0x1){return _0x3b614f(_0x25bef5,_0x5b2e5a,_0x3be72b)['type']['prop'](_0x5f083f)==this['data'];}['findRegions'](_0x3eadec){let _0xdb4528=_0x3eadec['facet'](_0x3c163d);if((null==_0xdb4528?void 0x0:_0xdb4528['data'])==this['data'])return[{'from':0x0,'to':_0x3eadec['doc']['length']}];if(!_0xdb4528||!_0xdb4528['allowsNesting'])return[];let _0x54c2a7=[],_0x294b9f=(_0x3638bc,_0x574222)=>{if(_0x3638bc['prop'](_0x5f083f)==this['data'])return void _0x54c2a7['push']({'from':_0x574222,'to':_0x574222+_0x3638bc['length']});let _0x281e2e=_0x3638bc['prop'](_0x326db3['mounted']);if(_0x281e2e){if(_0x281e2e['tree']['prop'](_0x5f083f)==this['data']){if(_0x281e2e['overlay']){for(let _0x4960d3 of _0x281e2e['overlay'])_0x54c2a7['push']({'from':_0x4960d3['from']+_0x574222,'to':_0x4960d3['to']+_0x574222});}else _0x54c2a7['push']({'from':_0x574222,'to':_0x574222+_0x3638bc['length']});return;}if(_0x281e2e['overlay']){let _0x554dee=_0x54c2a7['length'];if(_0x294b9f(_0x281e2e['tree'],_0x281e2e['overlay'][0x0]['from']+_0x574222),_0x54c2a7['length']>_0x554dee)return;}}for(let _0x50103c=0x0;_0x50103c<_0x3638bc['children']['length'];_0x50103c++){let _0x462b3f=_0x3638bc['children'][_0x50103c];_0x462b3f instanceof _0x54a715&&_0x294b9f(_0x462b3f,_0x3638bc['positions'][_0x50103c]+_0x574222);}};return _0x294b9f(tE(_0x3eadec),0x0),_0x54c2a7;}get['allowsNesting'](){return!0x0;}}function _0x3b614f(_0x3d2541,_0x5332ed,_0x3f0f16){let _0x55d370=_0x3d2541['facet'](_0x3c163d),_0x1bbc6a=tE(_0x3d2541)['topNode'];if(!_0x55d370||_0x55d370['allowsNesting']){for(let _0x97a158=_0x1bbc6a;_0x97a158;_0x97a158=_0x97a158['enter'](_0x5332ed,_0x3f0f16,_0x37091f['ExcludeBuffers']))_0x97a158['type']['isTop']&&(_0x1bbc6a=_0x97a158);}return _0x1bbc6a;}_0x2ed6a7['setState']=StateEffect['define']();class _0x4f1a26 extends _0x2ed6a7{constructor(_0x391020,_0x557ecd,_0x447887){super(_0x391020,_0x557ecd,[],_0x447887),this['parser']=_0x557ecd;}static['define'](_0x21d060){let _0x12a0da=_0x1140e9(_0x21d060['languageData']);return new _0x4f1a26(_0x12a0da,_0x21d060['parser']['configure']({'props':[_0x5f083f['add'](_0x4cb117=>_0x4cb117['isTop']?_0x12a0da:void 0x0)]}),_0x21d060['name']);}['configure'](_0x5209f8,_0x3a7efa){return new _0x4f1a26(this['data'],this['parser']['configure'](_0x5209f8),_0x3a7efa||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function tE(_0x209bcc){let _0x2c3eeb=_0x209bcc['field'](_0x2ed6a7['state'],!0x1);return _0x2c3eeb?_0x2c3eeb['tree']:_0x54a715['empty'];}class DocInput{constructor(_0x36fea0){this['doc']=_0x36fea0,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x36fea0['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x3d3613){return this['string']=this['cursor']['next'](_0x3d3613-this['cursorPos'])['value'],this['cursorPos']=_0x3d3613+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x46894b){return this['syncTo'](_0x46894b),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x5bd42c,_0x2d48dc){let _0x411733=this['cursorPos']-this['string']['length'];return _0x5bd42c<_0x411733||_0x2d48dc>=this['cursorPos']?this['doc']['sliceString'](_0x5bd42c,_0x2d48dc):this['string']['slice'](_0x5bd42c-_0x411733,_0x2d48dc-_0x411733);}}let _0x44c0dd=null;class ParseContext{constructor(_0x560c55,_0xef5369,_0x441abd=[],_0x4668eb,_0x583d72,_0x424ad9,_0x33fc57,_0x1a4d2a){this['parser']=_0x560c55,this['state']=_0xef5369,this['fragments']=_0x441abd,this['tree']=_0x4668eb,this['treeLen']=_0x583d72,this['viewport']=_0x424ad9,this['skipped']=_0x33fc57,this['scheduleOn']=_0x1a4d2a,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x5577bc,_0x54436c,_0x383c7f){return new ParseContext(_0x5577bc,_0x54436c,[],_0x54a715['empty'],0x0,_0x383c7f,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x594c4b,_0x4c58ca){return null!=_0x4c58ca&&_0x4c58ca>=this['state']['doc']['length']&&(_0x4c58ca=void 0x0),this['tree']!=_0x54a715['empty']&&this['isDone'](null!=_0x4c58ca?_0x4c58ca:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x50bfb3;if('number'==typeof _0x594c4b){let _0x47482c=Date['now']()+_0x594c4b;_0x594c4b=()=>Date['now']()>_0x47482c;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x4c58ca&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4c58ca)&&_0x4c58ca<this['state']['doc']['length']&&this['parse']['stopAt'](_0x4c58ca);;){let _0x330563=this['parse']['advance']();if(_0x330563){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x330563,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x50bfb3=this['parse']['stoppedAt'])&&void 0x0!==_0x50bfb3?_0x50bfb3:this['state']['doc']['length'],this['tree']=_0x330563,this['parse']=null,!(this['treeLen']<(null!=_0x4c58ca?_0x4c58ca:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x594c4b())return!0x1;}});}['takeTree'](){let _0x33b21f,_0x220ea0;this['parse']&&(_0x33b21f=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x33b21f)&&this['parse']['stopAt'](_0x33b21f),this['withContext'](()=>{for(;!(_0x220ea0=this['parse']['advance']()););}),this['treeLen']=_0x33b21f,this['tree']=_0x220ea0,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x4b4693){let _0x33b068=_0x44c0dd;_0x44c0dd=this;try{return _0x4b4693();}finally{_0x44c0dd=_0x33b068;}}['withoutTempSkipped'](_0xe7a8fd){for(let _0xd4edca;_0xd4edca=this['tempSkipped']['pop']();)_0xe7a8fd=_0x49b947(_0xe7a8fd,_0xd4edca['from'],_0xd4edca['to']);return _0xe7a8fd;}['changes'](_0x1a1ce7,_0x27df37){let {fragments:_0x5859d1,tree:_0x20e995,treeLen:_0x3f7325,viewport:_0x585239,skipped:_0x1b396b}=this;if(this['takeTree'](),!_0x1a1ce7['empty']){let _0x4f5800=[];if(_0x1a1ce7['iterChangedRanges']((_0x23914a,_0x362c76,_0x3987fc,_0x147470)=>_0x4f5800['push']({'fromA':_0x23914a,'toA':_0x362c76,'fromB':_0x3987fc,'toB':_0x147470})),_0x5859d1=TreeFragment['applyChanges'](_0x5859d1,_0x4f5800),_0x20e995=_0x54a715['empty'],_0x3f7325=0x0,_0x585239={'from':_0x1a1ce7['mapPos'](_0x585239['from'],-0x1),'to':_0x1a1ce7['mapPos'](_0x585239['to'],0x1)},this['skipped']['length']){_0x1b396b=[];for(let _0x51e2e7 of this['skipped']){let _0x56b8f5=_0x1a1ce7['mapPos'](_0x51e2e7['from'],0x1),_0x32ad77=_0x1a1ce7['mapPos'](_0x51e2e7['to'],-0x1);_0x56b8f5<_0x32ad77&&_0x1b396b['push']({'from':_0x56b8f5,'to':_0x32ad77});}}}return new ParseContext(this['parser'],_0x27df37,_0x5859d1,_0x20e995,_0x3f7325,_0x585239,_0x1b396b,this['scheduleOn']);}['updateViewport'](_0x58b2b1){if(this['viewport']['from']==_0x58b2b1['from']&&this['viewport']['to']==_0x58b2b1['to'])return!0x1;this['viewport']=_0x58b2b1;let _0x3561f0=this['skipped']['length'];for(let _0x3d55cc=0x0;_0x3d55cc<this['skipped']['length'];_0x3d55cc++){let {from:_0x5e8aa0,to:_0x3a8f84}=this['skipped'][_0x3d55cc];_0x5e8aa0<_0x58b2b1['to']&&_0x3a8f84>_0x58b2b1['from']&&(this['fragments']=_0x49b947(this['fragments'],_0x5e8aa0,_0x3a8f84),this['skipped']['splice'](_0x3d55cc--,0x1));}return!(this['skipped']['length']>=_0x3561f0)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x45331e,_0x15a466){this['skipped']['push']({'from':_0x45331e,'to':_0x15a466});}static['getSkippingParser'](_0xf029cf){return new class extends _0x47e9de{['createParse'](_0x5c4e59,_0x1bea59,_0x346d71){let _0x489f7e=_0x346d71[0x0]['from'],_0x285e86=_0x346d71[_0x346d71['length']-0x1]['to'];return{'parsedPos':_0x489f7e,'advance'(){let _0x1e14e6=_0x44c0dd;if(_0x1e14e6){for(let _0x25e5e2 of _0x346d71)_0x1e14e6['tempSkipped']['push'](_0x25e5e2);_0xf029cf&&(_0x1e14e6['scheduleOn']=_0x1e14e6['scheduleOn']?Promise['all']([_0x1e14e6['scheduleOn'],_0xf029cf]):_0xf029cf);}return this['parsedPos']=_0x285e86,new _0x54a715(_0x76b5bd['none'],[],[],_0x285e86-_0x489f7e);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x15e63b){_0x15e63b=Math['min'](_0x15e63b,this['state']['doc']['length']);let _0x292ee7=this['fragments'];return this['treeLen']>=_0x15e63b&&_0x292ee7['length']&&0x0==_0x292ee7[0x0]['from']&&_0x292ee7[0x0]['to']>=_0x15e63b;}static['get'](){return _0x44c0dd;}}function _0x49b947(_0x11367e,_0x2b80bc,_0x107463){return TreeFragment['applyChanges'](_0x11367e,[{'fromA':_0x2b80bc,'toA':_0x107463,'fromB':_0x2b80bc,'toB':_0x107463}]);}class LanguageState{constructor(_0xa9968){this['context']=_0xa9968,this['tree']=_0xa9968['tree'];}['apply'](_0x4abb50){if(!_0x4abb50['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x10ff86=this['context']['changes'](_0x4abb50['changes'],_0x4abb50['state']),_0x1baa5d=this['context']['treeLen']==_0x4abb50['startState']['doc']['length']?void 0x0:Math['max'](_0x4abb50['changes']['mapPos'](this['context']['treeLen']),_0x10ff86['viewport']['to']);return _0x10ff86['work'](0x14,_0x1baa5d)||_0x10ff86['takeTree'](),new LanguageState(_0x10ff86);}static['init'](_0x3f9acc){let _0x2e68b8=Math['min'](0xbb8,_0x3f9acc['doc']['length']),_0x5d283e=ParseContext['create'](_0x3f9acc['facet'](_0x3c163d)['parser'],_0x3f9acc,{'from':0x0,'to':_0x2e68b8});return _0x5d283e['work'](0x14,_0x2e68b8)||_0x5d283e['takeTree'](),new LanguageState(_0x5d283e);}}_0x2ed6a7['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x466a51,_0x332725){for(let _0x35e969 of _0x332725['effects'])if(_0x35e969['is'](_0x2ed6a7['setState']))return _0x35e969['value'];return _0x332725['startState']['facet'](_0x3c163d)!=_0x332725['state']['facet'](_0x3c163d)?LanguageState['init'](_0x332725['state']):_0x466a51['apply'](_0x332725);}});let _0x136a14=_0x53c222=>{let _0x2a5f7d=setTimeout(()=>_0x53c222(),0x1f4);return()=>clearTimeout(_0x2a5f7d);};'undefined'!=typeof requestIdleCallback&&(_0x136a14=_0x2147c6=>{let _0x4d17a7=-0x1,_0x1d0135=setTimeout(()=>{_0x4d17a7=requestIdleCallback(_0x2147c6,{'timeout':0x190});},0x64);return()=>_0x4d17a7<0x0?clearTimeout(_0x1d0135):cancelIdleCallback(_0x4d17a7);});const _0xe1bd39='undefined'!=typeof navigator&&(null===(_0x38e0ec=navigator['scheduling'])||void 0x0===_0x38e0ec?void 0x0:_0x38e0ec['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x5f07ef=_0x30d55e['fromClass'](class _0x6b8aed{constructor(_0x5f4daf){this['view']=_0x5f4daf,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x17afb1){let _0x19cfa9=this['view']['state']['field'](_0x2ed6a7['state'])['context'];(_0x19cfa9['updateViewport'](_0x17afb1['view']['viewport'])||this['view']['viewport']['to']>_0x19cfa9['treeLen'])&&this['scheduleWork'](),(_0x17afb1['docChanged']||_0x17afb1['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x19cfa9);}['scheduleWork'](){if(this['working'])return;let {state:_0x3f398a}=this['view'],_0xd991a2=_0x3f398a['field'](_0x2ed6a7['state']);_0xd991a2['tree']==_0xd991a2['context']['tree']&&_0xd991a2['context']['isDone'](_0x3f398a['doc']['length'])||(this['working']=_0x136a14(this['work']));}['work'](_0x233e04){this['working']=null;let _0x577349=Date['now']();if(this['chunkEnd']<_0x577349&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x577349+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x4f2555,viewport:{to:_0x46485c}}=this['view'],_0x1ff439=_0x4f2555['field'](_0x2ed6a7['state']);if(_0x1ff439['tree']==_0x1ff439['context']['tree']&&_0x1ff439['context']['isDone'](_0x46485c+0x186a0))return;let _0x37c432=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x233e04&&!_0xe1bd39?Math['max'](0x19,_0x233e04['timeRemaining']()-0x5):0x3b9aca00),_0x5a7e42=_0x1ff439['context']['treeLen']<_0x46485c&&_0x4f2555['doc']['length']>_0x46485c+0x3e8,_0x2845ec=_0x1ff439['context']['work'](()=>_0xe1bd39&&_0xe1bd39()||Date['now']()>_0x37c432,_0x46485c+(_0x5a7e42?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x577349,(_0x2845ec||this['chunkBudget']<=0x0)&&(_0x1ff439['context']['takeTree'](),this['view']['dispatch']({'effects':_0x2ed6a7['setState']['of'](new LanguageState(_0x1ff439['context']))})),this['chunkBudget']>0x0&&(!_0x2845ec||_0x5a7e42)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x1ff439['context']);}['checkAsyncSchedule'](_0x4abdf5){_0x4abdf5['scheduleOn']&&(this['workScheduled']++,_0x4abdf5['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x267463=>_0x23aa16(this['view']['state'],_0x267463))['then'](()=>this['workScheduled']--),_0x4abdf5['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x3c163d=Facet['define']({'combine':_0xcb4966=>_0xcb4966['length']?_0xcb4966[0x0]:null,'enables':_0x1eedd5=>[_0x2ed6a7['state'],_0x5f07ef,EditorView['contentAttributes']['compute']([_0x1eedd5],_0x4c0160=>{let _0x2a9c56=_0x4c0160['facet'](_0x1eedd5);return _0x2a9c56&&_0x2a9c56['name']?{'data-language':_0x2a9c56['name']}:{};})]});class LanguageSupport{constructor(_0x2a6087,_0x5a10a0=[]){this['language']=_0x2a6087,this['support']=_0x5a10a0,this['extension']=[_0x2a6087,_0x5a10a0];}}class LanguageDescription{constructor(_0x5bffdd,_0x586740,_0x44055d,_0x3f2220,_0x4585ca,_0x4798be=void 0x0){this['name']=_0x5bffdd,this['alias']=_0x586740,this['extensions']=_0x44055d,this['filename']=_0x3f2220,this['loadFunc']=_0x4585ca,this['support']=_0x4798be,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x275b2c=>this['support']=_0x275b2c,_0x520f4f=>{throw this['loading']=null,_0x520f4f;}));}static['of'](_0x5e3617){let {load:_0x7bf06c,support:_0x30b504}=_0x5e3617;if(!_0x7bf06c){if(!_0x30b504)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x7bf06c=()=>Promise['resolve'](_0x30b504);}return new LanguageDescription(_0x5e3617['name'],(_0x5e3617['alias']||[])['concat'](_0x5e3617['name'])['map'](_0x1fce5e=>_0x1fce5e['toLowerCase']()),_0x5e3617['extensions']||[],_0x5e3617['filename'],_0x7bf06c,_0x30b504);}static['matchFilename'](_0x2cc561,_0x4a9dbe){for(let _0x265c69 of _0x2cc561)if(_0x265c69['filename']&&_0x265c69['filename']['test'](_0x4a9dbe))return _0x265c69;let _0x9a0bec=/\.([^.]+)$/['exec'](_0x4a9dbe);if(_0x9a0bec){for(let _0x30d0cd of _0x2cc561)if(_0x30d0cd['extensions']['indexOf'](_0x9a0bec[0x1])>-0x1)return _0x30d0cd;}return null;}static['matchLanguageName'](_0x5df63e,_0x3ed8bc,_0x30ac90=!0x0){_0x3ed8bc=_0x3ed8bc['toLowerCase']();for(let _0x4399b5 of _0x5df63e)if(_0x4399b5['alias']['some'](_0x2ef161=>_0x2ef161==_0x3ed8bc))return _0x4399b5;if(_0x30ac90){for(let _0x3c053e of _0x5df63e)for(let _0x40b351 of _0x3c053e['alias']){let _0x497681=_0x3ed8bc['indexOf'](_0x40b351);if(_0x497681>-0x1&&(_0x40b351['length']>0x2||!/\w/['test'](_0x3ed8bc[_0x497681-0x1])&&!/\w/['test'](_0x3ed8bc[_0x497681+_0x40b351['length']])))return _0x3c053e;}}return null;}}const _0xa3f4cc=Facet['define'](),_0x2dcdb5=Facet['define']({'combine':_0x4d59ab=>{if(!_0x4d59ab['length'])return'\x20\x20';let _0x4953a5=_0x4d59ab[0x0];if(!_0x4953a5||/\S/['test'](_0x4953a5)||Array['from'](_0x4953a5)['some'](_0x39c3cd=>_0x39c3cd!=_0x4953a5[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x4d59ab[0x0]));return _0x4953a5;}});function _0x109d2b(_0x558458){let _0x12e336=_0x558458['facet'](_0x2dcdb5);return 0x9==_0x12e336['charCodeAt'](0x0)?_0x558458['tabSize']*_0x12e336['length']:_0x12e336['length'];}function _0xbc755d(_0x3fd8c1,_0x2a093e){let _0x107471='',_0x56a9ba=_0x3fd8c1['tabSize'],_0x399f96=_0x3fd8c1['facet'](_0x2dcdb5)[0x0];if('\x09'==_0x399f96){for(;_0x2a093e>=_0x56a9ba;)_0x107471+='\x09',_0x2a093e-=_0x56a9ba;_0x399f96='\x20';}for(let _0x16bb69=0x0;_0x16bb69<_0x2a093e;_0x16bb69++)_0x107471+=_0x399f96;return _0x107471;}function _0x438e41(_0x168694,_0x28d292){_0x168694 instanceof EditorState&&(_0x168694=new IndentContext(_0x168694));for(let _0x578e10 of _0x168694['state']['facet'](_0xa3f4cc)){let _0x445e91=_0x578e10(_0x168694,_0x28d292);if(void 0x0!==_0x445e91)return _0x445e91;}let _0x4d8b6e=tE(_0x168694['state']);return _0x4d8b6e['length']>=_0x28d292?function(_0x25b340,_0x4b82d,_0x194499){let _0x4f25be=_0x4b82d['resolveStack'](_0x194499),_0x440fa3=_0x4b82d['resolveInner'](_0x194499,-0x1)['resolve'](_0x194499,0x0)['enterUnfinishedNodesBefore'](_0x194499);if(_0x440fa3!=_0x4f25be['node']){let _0x4b68bb=[];for(let _0x34208f=_0x440fa3;_0x34208f&&!(_0x34208f['from']<_0x4f25be['node']['from']||_0x34208f['to']>_0x4f25be['node']['to']||_0x34208f['from']==_0x4f25be['node']['from']&&_0x34208f['type']==_0x4f25be['node']['type']);_0x34208f=_0x34208f['parent'])_0x4b68bb['push'](_0x34208f);for(let _0x336298=_0x4b68bb['length']-0x1;_0x336298>=0x0;_0x336298--)_0x4f25be={'node':_0x4b68bb[_0x336298],'next':_0x4f25be};}return _0x59b92f(_0x4f25be,_0x25b340,_0x194499);}(_0x168694,_0x4d8b6e,_0x28d292):null;}class IndentContext{constructor(_0x15b92f,_0x5aaca3={}){this['state']=_0x15b92f,this['options']=_0x5aaca3,this['unit']=_0x109d2b(_0x15b92f);}['lineAt'](_0x2ddb93,_0x5719b5=0x1){let _0x3f4d29=this['state']['doc']['lineAt'](_0x2ddb93),{simulateBreak:_0x2e9de5,simulateDoubleBreak:_0x14cb81}=this['options'];return null!=_0x2e9de5&&_0x2e9de5>=_0x3f4d29['from']&&_0x2e9de5<=_0x3f4d29['to']?_0x14cb81&&_0x2e9de5==_0x2ddb93?{'text':'','from':_0x2ddb93}:(_0x5719b5<0x0?_0x2e9de5<_0x2ddb93:_0x2e9de5<=_0x2ddb93)?{'text':_0x3f4d29['text']['slice'](_0x2e9de5-_0x3f4d29['from']),'from':_0x2e9de5}:{'text':_0x3f4d29['text']['slice'](0x0,_0x2e9de5-_0x3f4d29['from']),'from':_0x3f4d29['from']}:_0x3f4d29;}['textAfterPos'](_0x15f544,_0x12efb0=0x1){if(this['options']['simulateDoubleBreak']&&_0x15f544==this['options']['simulateBreak'])return'';let {text:_0x2038b4,from:_0xd474de}=this['lineAt'](_0x15f544,_0x12efb0);return _0x2038b4['slice'](_0x15f544-_0xd474de,Math['min'](_0x2038b4['length'],_0x15f544+0x64-_0xd474de));}['column'](_0x4c3f23,_0xb0d5d7=0x1){let {text:_0xf0b4ff,from:_0x2ff0e0}=this['lineAt'](_0x4c3f23,_0xb0d5d7),_0x12dbc3=this['countColumn'](_0xf0b4ff,_0x4c3f23-_0x2ff0e0),_0x503921=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x2ff0e0):-0x1;return _0x503921>-0x1&&(_0x12dbc3+=_0x503921-this['countColumn'](_0xf0b4ff,_0xf0b4ff['search'](/\S|$/))),_0x12dbc3;}['countColumn'](_0x2b1f18,_0x38fdc1=_0x2b1f18['length']){return _0xfde3a0(_0x2b1f18,this['state']['tabSize'],_0x38fdc1);}['lineIndent'](_0x1ee8f9,_0xf411c7=0x1){let {text:_0x30c862,from:_0x2925cd}=this['lineAt'](_0x1ee8f9,_0xf411c7),_0x4b442e=this['options']['overrideIndentation'];if(_0x4b442e){let _0x48950c=_0x4b442e(_0x2925cd);if(_0x48950c>-0x1)return _0x48950c;}return this['countColumn'](_0x30c862,_0x30c862['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const _0x417a5d=new _0x326db3();function _0x59b92f(_0x5d0ff4,_0x225de1,_0x3ea6aa){for(let _0x3191a6=_0x5d0ff4;_0x3191a6;_0x3191a6=_0x3191a6['next']){let _0x3246d1=_0x41ee4b(_0x3191a6['node']);if(_0x3246d1)return _0x3246d1(TreeIndentContext['create'](_0x225de1,_0x3ea6aa,_0x3191a6));}return 0x0;}function _0x41ee4b(_0x2984e3){let _0x498f0a=_0x2984e3['type']['prop'](_0x417a5d);if(_0x498f0a)return _0x498f0a;let _0x2971c1,_0x2c8107=_0x2984e3['firstChild'];if(_0x2c8107&&(_0x2971c1=_0x2c8107['type']['prop'](_0x326db3['closedBy']))){let _0x3dfe65=_0x2984e3['lastChild'],_0x47d6b2=_0x3dfe65&&_0x2971c1['indexOf'](_0x3dfe65['name'])>-0x1;return _0x17b16a=>_0x54c3ea(_0x17b16a,!0x0,0x1,void 0x0,_0x47d6b2&&!function(_0x120742){return _0x120742['pos']==_0x120742['options']['simulateBreak']&&_0x120742['options']['simulateDoubleBreak'];}(_0x17b16a)?_0x3dfe65['from']:void 0x0);}return null==_0x2984e3['parent']?_0x4b5b7b:null;}function _0x4b5b7b(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x4e6403,_0x143804,_0x2f1952){super(_0x4e6403['state'],_0x4e6403['options']),this['base']=_0x4e6403,this['pos']=_0x143804,this['context']=_0x2f1952;}get['node'](){return this['context']['node'];}static['create'](_0xacc18c,_0x5222ce,_0x3acbba){return new TreeIndentContext(_0xacc18c,_0x5222ce,_0x3acbba);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x99bc38){let _0x2f01b8=this['state']['doc']['lineAt'](_0x99bc38['from']);for(;;){let _0x26903c=_0x99bc38['resolve'](_0x2f01b8['from']);for(;_0x26903c['parent']&&_0x26903c['parent']['from']==_0x26903c['from'];)_0x26903c=_0x26903c['parent'];if(_0x125c28(_0x26903c,_0x99bc38))break;_0x2f01b8=this['state']['doc']['lineAt'](_0x26903c['from']);}return this['lineIndent'](_0x2f01b8['from']);}['continue'](){return _0x59b92f(this['context']['next'],this['base'],this['pos']);}}function _0x125c28(_0x2b84af,_0x2c37ef){for(let _0x593a75=_0x2c37ef;_0x593a75;_0x593a75=_0x593a75['parent'])if(_0x2b84af==_0x593a75)return!0x0;return!0x1;}function _0x15a9ed({closing:_0x312349,align:_0x3444f7=!0x0,units:_0x901b29=0x1}){return _0x3caf19=>_0x54c3ea(_0x3caf19,_0x3444f7,_0x901b29,_0x312349);}function _0x54c3ea(_0x1ded3b,_0x207b50,_0x30c644,_0x711f1,_0x7e2e7b){let _0x4f6466=_0x1ded3b['textAfter'],_0x2325d9=_0x4f6466['match'](/^\s*/)[0x0]['length'],_0x5bba0d=_0x711f1&&_0x4f6466['slice'](_0x2325d9,_0x2325d9+_0x711f1['length'])==_0x711f1||_0x7e2e7b==_0x1ded3b['pos']+_0x2325d9,_0x3c6fa3=_0x207b50?function(_0x27b927){let _0x1beeef=_0x27b927['node'],_0x31e48a=_0x1beeef['childAfter'](_0x1beeef['from']),_0x2d6e81=_0x1beeef['lastChild'];if(!_0x31e48a)return null;let _0x258181=_0x27b927['options']['simulateBreak'],_0x751f8f=_0x27b927['state']['doc']['lineAt'](_0x31e48a['from']),_0x43e11f=null==_0x258181||_0x258181<=_0x751f8f['from']?_0x751f8f['to']:Math['min'](_0x751f8f['to'],_0x258181);for(let _0xf384d=_0x31e48a['to'];;){let _0x4c3326=_0x1beeef['childAfter'](_0xf384d);if(!_0x4c3326||_0x4c3326==_0x2d6e81)return null;if(!_0x4c3326['type']['isSkipped']){if(_0x4c3326['from']>=_0x43e11f)return null;let _0x124db2=/^ */['exec'](_0x751f8f['text']['slice'](_0x31e48a['to']-_0x751f8f['from']))[0x0]['length'];return{'from':_0x31e48a['from'],'to':_0x31e48a['to']+_0x124db2};}_0xf384d=_0x4c3326['to'];}}(_0x1ded3b):null;return _0x3c6fa3?_0x5bba0d?_0x1ded3b['column'](_0x3c6fa3['from']):_0x1ded3b['column'](_0x3c6fa3['to']):_0x1ded3b['baseIndent']+(_0x5bba0d?0x0:_0x1ded3b['unit']*_0x30c644);}function _0x82896b({except:_0x49ac7f,units:_0x13f38b=0x1}={}){return _0x31432d=>{let _0x411191=_0x49ac7f&&_0x49ac7f['test'](_0x31432d['textAfter']);return _0x31432d['baseIndent']+(_0x411191?0x0:_0x13f38b*_0x31432d['unit']);};}function _0x13c117(){return EditorState['transactionFilter']['of'](_0x1360c5=>{if(!_0x1360c5['docChanged']||!_0x1360c5['isUserEvent']('input.type')&&!_0x1360c5['isUserEvent']('input.complete'))return _0x1360c5;let _0x43c034=_0x1360c5['startState']['languageDataAt']('indentOnInput',_0x1360c5['startState']['selection']['main']['head']);if(!_0x43c034['length'])return _0x1360c5;let _0x492dcd=_0x1360c5['newDoc'],{head:_0x324c4d}=_0x1360c5['newSelection']['main'],_0x5aa01d=_0x492dcd['lineAt'](_0x324c4d);if(_0x324c4d>_0x5aa01d['from']+0xc8)return _0x1360c5;let _0x170e7f=_0x492dcd['sliceString'](_0x5aa01d['from'],_0x324c4d);if(!_0x43c034['some'](_0x52f27a=>_0x52f27a['test'](_0x170e7f)))return _0x1360c5;let {state:_0x39338c}=_0x1360c5,_0x1bf68b=-0x1,_0x56b58f=[];for(let {head:_0x469055}of _0x39338c['selection']['ranges']){let _0x313648=_0x39338c['doc']['lineAt'](_0x469055);if(_0x313648['from']==_0x1bf68b)continue;_0x1bf68b=_0x313648['from'];let _0x18a030=_0x438e41(_0x39338c,_0x313648['from']);if(null==_0x18a030)continue;let _0x3e5ce7=/^\s*/['exec'](_0x313648['text'])[0x0],_0x239fc6=_0xbc755d(_0x39338c,_0x18a030);_0x3e5ce7!=_0x239fc6&&_0x56b58f['push']({'from':_0x313648['from'],'to':_0x313648['from']+_0x3e5ce7['length'],'insert':_0x239fc6});}return _0x56b58f['length']?[_0x1360c5,{'changes':_0x56b58f,'sequential':!0x0}]:_0x1360c5;});}const _0x27c9ce=Facet['define'](),_0x522c8b=new _0x326db3();function _0x5077c4(_0x3cafdc){let _0x316871=_0x3cafdc['firstChild'],_0x1ec4f3=_0x3cafdc['lastChild'];return _0x316871&&_0x316871['to']<_0x1ec4f3['from']?{'from':_0x316871['to'],'to':_0x1ec4f3['type']['isError']?_0x3cafdc['to']:_0x1ec4f3['from']}:null;}function _0x490d86(_0x2985b2){let _0x39bb06=_0x2985b2['lastChild'];return _0x39bb06&&_0x39bb06['to']==_0x2985b2['to']&&_0x39bb06['type']['isError'];}function _0x30ba6c(_0x5cfee2,_0x487163,_0x328b86){for(let _0x1661d4 of _0x5cfee2['facet'](_0x27c9ce)){let _0x332ca3=_0x1661d4(_0x5cfee2,_0x487163,_0x328b86);if(_0x332ca3)return _0x332ca3;}return function(_0x206854,_0x1a49db,_0x391231){let _0x9dcdde=tE(_0x206854);if(_0x9dcdde['length']<_0x391231)return null;let _0x183bcd=null;for(let _0x531e3c=_0x9dcdde['resolveStack'](_0x391231,0x1);_0x531e3c;_0x531e3c=_0x531e3c['next']){let _0x34275e=_0x531e3c['node'];if(_0x34275e['to']<=_0x391231||_0x34275e['from']>_0x391231)continue;if(_0x183bcd&&_0x34275e['from']<_0x1a49db)break;let _0x2cf418=_0x34275e['type']['prop'](_0x522c8b);if(_0x2cf418&&(_0x34275e['to']<_0x9dcdde['length']-0x32||_0x9dcdde['length']==_0x206854['doc']['length']||!_0x490d86(_0x34275e))){let _0x26a1e6=_0x2cf418(_0x34275e,_0x206854);_0x26a1e6&&_0x26a1e6['from']<=_0x391231&&_0x26a1e6['from']>=_0x1a49db&&_0x26a1e6['to']>_0x391231&&(_0x183bcd=_0x26a1e6);}}return _0x183bcd;}(_0x5cfee2,_0x487163,_0x328b86);}function _0x55fdc6(_0x1cd1da,_0x200262){let _0x1e11b2=_0x200262['mapPos'](_0x1cd1da['from'],0x1),_0x581018=_0x200262['mapPos'](_0x1cd1da['to'],-0x1);return _0x1e11b2>=_0x581018?void 0x0:{'from':_0x1e11b2,'to':_0x581018};}const _0x169761=StateEffect['define']({'map':_0x55fdc6}),_0x577648=StateEffect['define']({'map':_0x55fdc6});function _0x1d0b9e(_0x481fb6){let _0x546ec4=[];for(let {head:_0xca8666}of _0x481fb6['state']['selection']['ranges'])_0x546ec4['some'](_0x5420b0=>_0x5420b0['from']<=_0xca8666&&_0x5420b0['to']>=_0xca8666)||_0x546ec4['push'](_0x481fb6['lineBlockAt'](_0xca8666));return _0x546ec4;}const _0x529abc=StateField['define']({'create':()=>Decoration['none'],'update'(_0x4ea108,_0x150e25){_0x150e25['isUserEvent']('delete')&&_0x150e25['changes']['iterChangedRanges']((_0x4edcaa,_0x20ecde)=>_0x4ea108=_0x2644b9(_0x4ea108,_0x4edcaa,_0x20ecde)),_0x4ea108=_0x4ea108['map'](_0x150e25['changes']);for(let _0x3f2ffa of _0x150e25['effects'])if(_0x3f2ffa['is'](_0x169761)&&!_0x352873(_0x4ea108,_0x3f2ffa['value']['from'],_0x3f2ffa['value']['to'])){let {preparePlaceholder:_0x5e5258}=_0x150e25['state']['facet'](_0x3cb1b5),_0x4b237a=_0x5e5258?Decoration['replace']({'widget':new PreparedFoldWidget(_0x5e5258(_0x150e25['state'],_0x3f2ffa['value']))}):_0x5f2331;_0x4ea108=_0x4ea108['update']({'add':[_0x4b237a['range'](_0x3f2ffa['value']['from'],_0x3f2ffa['value']['to'])]});}else _0x3f2ffa['is'](_0x577648)&&(_0x4ea108=_0x4ea108['update']({'filter':(_0x4e816,_0x38c6a2)=>_0x3f2ffa['value']['from']!=_0x4e816||_0x3f2ffa['value']['to']!=_0x38c6a2,'filterFrom':_0x3f2ffa['value']['from'],'filterTo':_0x3f2ffa['value']['to']}));return _0x150e25['selection']&&(_0x4ea108=_0x2644b9(_0x4ea108,_0x150e25['selection']['main']['head'])),_0x4ea108;},'provide':_0x1560ff=>EditorView['decorations']['from'](_0x1560ff),'toJSON'(_0x369804,_0x18799c){let _0x4aba05=[];return _0x369804['between'](0x0,_0x18799c['doc']['length'],(_0x2daaac,_0x5ccd61)=>{_0x4aba05['push'](_0x2daaac,_0x5ccd61);}),_0x4aba05;},'fromJSON'(_0x316129){if(!Array['isArray'](_0x316129)||_0x316129['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x3d6564=[];for(let _0x21e113=0x0;_0x21e113<_0x316129['length'];){let _0x1a4253=_0x316129[_0x21e113++],_0x273e09=_0x316129[_0x21e113++];if('number'!=typeof _0x1a4253||'number'!=typeof _0x273e09)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x3d6564['push'](_0x5f2331['range'](_0x1a4253,_0x273e09));}return Decoration['set'](_0x3d6564,!0x0);}});function _0x2644b9(_0x54d0e8,_0x50241d,_0x44e5b6=_0x50241d){let _0x3af950=!0x1;return _0x54d0e8['between'](_0x50241d,_0x44e5b6,(_0x152b5e,_0x1df84e)=>{_0x152b5e<_0x44e5b6&&_0x1df84e>_0x50241d&&(_0x3af950=!0x0);}),_0x3af950?_0x54d0e8['update']({'filterFrom':_0x50241d,'filterTo':_0x44e5b6,'filter':(_0x2f84d0,_0xed695f)=>_0x2f84d0>=_0x44e5b6||_0xed695f<=_0x50241d}):_0x54d0e8;}function _0x594e28(_0x429076,_0x58452,_0x18a8df){var _0x32f3be;let _0x4bd158=null;return null===(_0x32f3be=_0x429076['field'](_0x529abc,!0x1))||void 0x0===_0x32f3be||_0x32f3be['between'](_0x58452,_0x18a8df,(_0xc6a8de,_0x283133)=>{(!_0x4bd158||_0x4bd158['from']>_0xc6a8de)&&(_0x4bd158={'from':_0xc6a8de,'to':_0x283133});}),_0x4bd158;}function _0x352873(_0x48b3a8,_0xbaab9a,_0x51c338){let _0xf88abe=!0x1;return _0x48b3a8['between'](_0xbaab9a,_0xbaab9a,(_0x4a7737,_0x463968)=>{_0x4a7737==_0xbaab9a&&_0x463968==_0x51c338&&(_0xf88abe=!0x0);}),_0xf88abe;}function _0x552e28(_0xa74848,_0x3ca95d){return _0xa74848['field'](_0x529abc,!0x1)?_0x3ca95d:_0x3ca95d['concat'](StateEffect['appendConfig']['of'](_0x5a9b96()));}function _0x1cbff1(_0x316922,_0x360833,_0x592ebc=!0x0){let _0x5d71d9=_0x316922['state']['doc']['lineAt'](_0x360833['from'])['number'],_0x266d0c=_0x316922['state']['doc']['lineAt'](_0x360833['to'])['number'];return EditorView['announce']['of'](_0x316922['state']['phrase'](_0x592ebc?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x5d71d9+'\x20'+_0x316922['state']['phrase']('to')+'\x20'+_0x266d0c+'.');}const _0xfa0a29=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x5e7162=>{for(let _0x1e3312 of _0x1d0b9e(_0x5e7162)){let _0x3d3bc0=_0x30ba6c(_0x5e7162['state'],_0x1e3312['from'],_0x1e3312['to']);if(_0x3d3bc0)return _0x5e7162['dispatch']({'effects':_0x552e28(_0x5e7162['state'],[_0x169761['of'](_0x3d3bc0),_0x1cbff1(_0x5e7162,_0x3d3bc0)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x285ef5=>{if(!_0x285ef5['state']['field'](_0x529abc,!0x1))return!0x1;let _0x5827fe=[];for(let _0x23b911 of _0x1d0b9e(_0x285ef5)){let _0x81d7e9=_0x594e28(_0x285ef5['state'],_0x23b911['from'],_0x23b911['to']);_0x81d7e9&&_0x5827fe['push'](_0x577648['of'](_0x81d7e9),_0x1cbff1(_0x285ef5,_0x81d7e9,!0x1));}return _0x5827fe['length']&&_0x285ef5['dispatch']({'effects':_0x5827fe}),_0x5827fe['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x13b660=>{let {state:_0x356034}=_0x13b660,_0x51c624=[];for(let _0x3f7833=0x0;_0x3f7833<_0x356034['doc']['length'];){let _0x414a2f=_0x13b660['lineBlockAt'](_0x3f7833),_0x491df9=_0x30ba6c(_0x356034,_0x414a2f['from'],_0x414a2f['to']);_0x491df9&&_0x51c624['push'](_0x169761['of'](_0x491df9)),_0x3f7833=(_0x491df9?_0x13b660['lineBlockAt'](_0x491df9['to']):_0x414a2f)['to']+0x1;}return _0x51c624['length']&&_0x13b660['dispatch']({'effects':_0x552e28(_0x13b660['state'],_0x51c624)}),!!_0x51c624['length'];}},{'key':'Ctrl-Alt-]','run':_0x504f62=>{let _0x532333=_0x504f62['state']['field'](_0x529abc,!0x1);if(!_0x532333||!_0x532333['size'])return!0x1;let _0x523a8d=[];return _0x532333['between'](0x0,_0x504f62['state']['doc']['length'],(_0x1569f2,_0x54d201)=>{_0x523a8d['push'](_0x577648['of']({'from':_0x1569f2,'to':_0x54d201}));}),_0x504f62['dispatch']({'effects':_0x523a8d}),!0x0;}}],_0x47ca01={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x3cb1b5=Facet['define']({'combine':_0x624956=>_0x267f8f(_0x624956,_0x47ca01)});function _0x5a9b96(_0x397583){return[_0x529abc,_0x49fcb0];}function _0x53eb39(_0x319c60,_0x51049d){let {state:_0x118c60}=_0x319c60,_0x3bd54=_0x118c60['facet'](_0x3cb1b5),_0x138e52=_0x50eb50=>{let _0xff341b=_0x319c60['lineBlockAt'](_0x319c60['posAtDOM'](_0x50eb50['target'])),_0x29853b=_0x594e28(_0x319c60['state'],_0xff341b['from'],_0xff341b['to']);_0x29853b&&_0x319c60['dispatch']({'effects':_0x577648['of'](_0x29853b)}),_0x50eb50['preventDefault']();};if(_0x3bd54['placeholderDOM'])return _0x3bd54['placeholderDOM'](_0x319c60,_0x138e52,_0x51049d);let _0x19748b=document['createElement']('span');return _0x19748b['textContent']=_0x3bd54['placeholderText'],_0x19748b['setAttribute']('aria-label',_0x118c60['phrase']('folded\x20code')),_0x19748b['title']=_0x118c60['phrase']('unfold'),_0x19748b['className']='cm-foldPlaceholder',_0x19748b['onclick']=_0x138e52,_0x19748b;}const _0x5f2331=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x52552e){return _0x53eb39(_0x52552e,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x52182f){super(),this['value']=_0x52182f;}['eq'](_0x38b034){return this['value']==_0x38b034['value'];}['toDOM'](_0x3707be){return _0x53eb39(_0x3707be,this['value']);}}const _0x22d872={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x46e71b extends GutterMarker{constructor(_0x1de23b,_0x42c5c1){super(),this['config']=_0x1de23b,this['open']=_0x42c5c1;}['eq'](_0x5679ab){return this['config']==_0x5679ab['config']&&this['open']==_0x5679ab['open'];}['toDOM'](_0x1d1dbf){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x499c6d=document['createElement']('span');return _0x499c6d['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x499c6d['title']=_0x1d1dbf['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x499c6d;}}function _0x4106cd(_0x460dc0={}){let _0x5137e6={..._0x22d872,..._0x460dc0},_0x2ceeb8=new _0x46e71b(_0x5137e6,!0x0),_0x32aa6e=new _0x46e71b(_0x5137e6,!0x1),_0x58ee54=_0x30d55e['fromClass'](class{constructor(_0x18ad5){this['from']=_0x18ad5['viewport']['from'],this['markers']=this['buildMarkers'](_0x18ad5);}['update'](_0x16b9dc){(_0x16b9dc['docChanged']||_0x16b9dc['viewportChanged']||_0x16b9dc['startState']['facet'](_0x3c163d)!=_0x16b9dc['state']['facet'](_0x3c163d)||_0x16b9dc['startState']['field'](_0x529abc,!0x1)!=_0x16b9dc['state']['field'](_0x529abc,!0x1)||tE(_0x16b9dc['startState'])!=tE(_0x16b9dc['state'])||_0x5137e6['foldingChanged'](_0x16b9dc))&&(this['markers']=this['buildMarkers'](_0x16b9dc['view']));}['buildMarkers'](_0x5c60cf){let _0x484cd9=new RangeSetBuilder();for(let _0x296ab0 of _0x5c60cf['viewportLineBlocks']){let _0x26bc0e=_0x594e28(_0x5c60cf['state'],_0x296ab0['from'],_0x296ab0['to'])?_0x32aa6e:_0x30ba6c(_0x5c60cf['state'],_0x296ab0['from'],_0x296ab0['to'])?_0x2ceeb8:null;_0x26bc0e&&_0x484cd9['add'](_0x296ab0['from'],_0x296ab0['from'],_0x26bc0e);}return _0x484cd9['finish']();}}),{domEventHandlers:_0x35f540}=_0x5137e6;return[_0x58ee54,_0x243fa7({'class':'cm-foldGutter','markers'(_0x35985f){var _0x32b10a;return(null===(_0x32b10a=_0x35985f['plugin'](_0x58ee54))||void 0x0===_0x32b10a?void 0x0:_0x32b10a['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x46e71b(_0x5137e6,!0x1),'domEventHandlers':{..._0x35f540,'click':(_0x19fa4e,_0x3d1e84,_0x4ac918)=>{if(_0x35f540['click']&&_0x35f540['click'](_0x19fa4e,_0x3d1e84,_0x4ac918))return!0x0;let _0x3174dc=_0x594e28(_0x19fa4e['state'],_0x3d1e84['from'],_0x3d1e84['to']);if(_0x3174dc)return _0x19fa4e['dispatch']({'effects':_0x577648['of'](_0x3174dc)}),!0x0;let _0x21c4c4=_0x30ba6c(_0x19fa4e['state'],_0x3d1e84['from'],_0x3d1e84['to']);return!!_0x21c4c4&&(_0x19fa4e['dispatch']({'effects':_0x169761['of'](_0x21c4c4)}),!0x0);}}}),_0x5a9b96()];}const _0x49fcb0=EditorView['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});class HighlightStyle{constructor(_0x33c324,_0x2c4958){let _0x5ac876;function _0x3ddac7(_0x19e499){let _0x400a6a=StyleModule['newName']();return(_0x5ac876||(_0x5ac876=Object['create'](null)))['.'+_0x400a6a]=_0x19e499,_0x400a6a;}this['specs']=_0x33c324;const _0x337d2a='string'==typeof _0x2c4958['all']?_0x2c4958['all']:_0x2c4958['all']?_0x3ddac7(_0x2c4958['all']):void 0x0,_0x54bf5f=_0x2c4958['scope'];this['scope']=_0x54bf5f instanceof _0x2ed6a7?_0x47167d=>_0x47167d['prop'](_0x5f083f)==_0x54bf5f['data']:_0x54bf5f?_0x2a1011=>_0x2a1011==_0x54bf5f:void 0x0,this['style']=_0xc9e6a0(_0x33c324['map'](_0x175e25=>({'tag':_0x175e25['tag'],'class':_0x175e25['class']||_0x3ddac7(Object['assign']({},_0x175e25,{'tag':null}))})),{'all':_0x337d2a})['style'],this['module']=_0x5ac876?new StyleModule(_0x5ac876):null,this['themeType']=_0x2c4958['themeType'];}static['define'](_0x107f6e,_0xc9a452){return new HighlightStyle(_0x107f6e,_0xc9a452||{});}}const _0x1e2f27=Facet['define'](),_0x48dd61=Facet['define']({'combine':_0x15b794=>_0x15b794['length']?[_0x15b794[0x0]]:null});function _0x30593f(_0x24b86f){let _0x3b289b=_0x24b86f['facet'](_0x1e2f27);return _0x3b289b['length']?_0x3b289b:_0x24b86f['facet'](_0x48dd61);}function _0x3f368c(_0x5b429d,_0x5de1e6){let _0x3302cd,_0x21ef5b=[_0x45b2a0];return _0x5b429d instanceof HighlightStyle&&(_0x5b429d['module']&&_0x21ef5b['push'](EditorView['styleModule']['of'](_0x5b429d['module'])),_0x3302cd=_0x5b429d['themeType']),(null==_0x5de1e6?void 0x0:_0x5de1e6['fallback'])?_0x21ef5b['push'](_0x48dd61['of'](_0x5b429d)):_0x3302cd?_0x21ef5b['push'](_0x1e2f27['computeN']([EditorView['darkTheme']],_0x5388ae=>_0x5388ae['facet'](EditorView['darkTheme'])==('dark'==_0x3302cd)?[_0x5b429d]:[])):_0x21ef5b['push'](_0x1e2f27['of'](_0x5b429d)),_0x21ef5b;}class TreeHighlighter{constructor(_0x150c63){this['markCache']=Object['create'](null),this['tree']=tE(_0x150c63['state']),this['decorations']=this['buildDeco'](_0x150c63,_0x30593f(_0x150c63['state'])),this['decoratedTo']=_0x150c63['viewport']['to'];}['update'](_0x206a87){let _0x47887c=tE(_0x206a87['state']),_0x3b01ca=_0x30593f(_0x206a87['state']),_0x4d5ea4=_0x3b01ca!=_0x30593f(_0x206a87['startState']),{viewport:_0x28c87b}=_0x206a87['view'],_0x1302d9=_0x206a87['changes']['mapPos'](this['decoratedTo'],0x1);_0x47887c['length']<_0x28c87b['to']&&!_0x4d5ea4&&_0x47887c['type']==this['tree']['type']&&_0x1302d9>=_0x28c87b['to']?(this['decorations']=this['decorations']['map'](_0x206a87['changes']),this['decoratedTo']=_0x1302d9):(_0x47887c!=this['tree']||_0x206a87['viewportChanged']||_0x4d5ea4)&&(this['tree']=_0x47887c,this['decorations']=this['buildDeco'](_0x206a87['view'],_0x3b01ca),this['decoratedTo']=_0x28c87b['to']);}['buildDeco'](_0x256eb5,_0x3ba013){if(!_0x3ba013||!this['tree']['length'])return Decoration['none'];let _0x1168a5=new RangeSetBuilder();for(let {from:_0x352c4f,to:_0xde2811}of _0x256eb5['visibleRanges'])_0x77095f(this['tree'],_0x3ba013,(_0x3492d1,_0x10f53,_0x2ea2a8)=>{_0x1168a5['add'](_0x3492d1,_0x10f53,this['markCache'][_0x2ea2a8]||(this['markCache'][_0x2ea2a8]=Decoration['mark']({'class':_0x2ea2a8})));},_0x352c4f,_0xde2811);return _0x1168a5['finish']();}}const _0x45b2a0=_0x14b795['high'](_0x30d55e['fromClass'](TreeHighlighter,{'decorations':_0xe5946e=>_0xe5946e['decorations']})),_0x2c9b3=HighlightStyle['define']([{'tag':_0x4ccfa4['meta'],'color':'#404740'},{'tag':_0x4ccfa4['link'],'textDecoration':'underline'},{'tag':_0x4ccfa4['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':_0x4ccfa4['emphasis'],'fontStyle':'italic'},{'tag':_0x4ccfa4['strong'],'fontWeight':'bold'},{'tag':_0x4ccfa4['strikethrough'],'textDecoration':'line-through'},{'tag':_0x4ccfa4['keyword'],'color':'#708'},{'tag':[_0x4ccfa4['atom'],_0x4ccfa4['bool'],_0x4ccfa4['url'],_0x4ccfa4['contentSeparator'],_0x4ccfa4['labelName']],'color':'#219'},{'tag':[_0x4ccfa4['literal'],_0x4ccfa4['inserted']],'color':'#164'},{'tag':[_0x4ccfa4['string'],_0x4ccfa4['deleted']],'color':'#a11'},{'tag':[_0x4ccfa4['regexp'],_0x4ccfa4['escape'],_0x4ccfa4['special'](_0x4ccfa4['string'])],'color':'#e40'},{'tag':_0x4ccfa4['definition'](_0x4ccfa4['variableName']),'color':'#00f'},{'tag':_0x4ccfa4['local'](_0x4ccfa4['variableName']),'color':'#30a'},{'tag':[_0x4ccfa4['typeName'],_0x4ccfa4['namespace']],'color':'#085'},{'tag':_0x4ccfa4['className'],'color':'#167'},{'tag':[_0x4ccfa4['special'](_0x4ccfa4['variableName']),_0x4ccfa4['macroName']],'color':'#256'},{'tag':_0x4ccfa4['definition'](_0x4ccfa4['propertyName']),'color':'#00c'},{'tag':_0x4ccfa4['comment'],'color':'#940'},{'tag':_0x4ccfa4['invalid'],'color':'#f00'}]),_0x4e1669=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),_0x961e9a='()[]{}',_0x53944f=Facet['define']({'combine':_0xae775d=>_0x267f8f(_0xae775d,{'afterCursor':!0x0,'brackets':_0x961e9a,'maxScanDistance':0x2710,'renderMatch':_0x3f476f})}),tT=Decoration['mark']({'class':'cm-matchingBracket'}),_0x508b14=Decoration['mark']({'class':'cm-nonmatchingBracket'});function _0x3f476f(_0x27e7e7){let _0x39bb5c=[],_0x39c37d=_0x27e7e7['matched']?tT:_0x508b14;return _0x39bb5c['push'](_0x39c37d['range'](_0x27e7e7['start']['from'],_0x27e7e7['start']['to'])),_0x27e7e7['end']&&_0x39bb5c['push'](_0x39c37d['range'](_0x27e7e7['end']['from'],_0x27e7e7['end']['to'])),_0x39bb5c;}const _0x46de33=StateField['define']({'create':()=>Decoration['none'],'update'(_0x1c4ab1,_0x1782dc){if(!_0x1782dc['docChanged']&&!_0x1782dc['selection'])return _0x1c4ab1;let _0x20f11d=[],_0x9265a4=_0x1782dc['state']['facet'](_0x53944f);for(let _0xd98bd7 of _0x1782dc['state']['selection']['ranges']){if(!_0xd98bd7['empty'])continue;let _0x342881=_0xf16058(_0x1782dc['state'],_0xd98bd7['head'],-0x1,_0x9265a4)||_0xd98bd7['head']>0x0&&_0xf16058(_0x1782dc['state'],_0xd98bd7['head']-0x1,0x1,_0x9265a4)||_0x9265a4['afterCursor']&&(_0xf16058(_0x1782dc['state'],_0xd98bd7['head'],0x1,_0x9265a4)||_0xd98bd7['head']<_0x1782dc['state']['doc']['length']&&_0xf16058(_0x1782dc['state'],_0xd98bd7['head']+0x1,-0x1,_0x9265a4));_0x342881&&(_0x20f11d=_0x20f11d['concat'](_0x9265a4['renderMatch'](_0x342881,_0x1782dc['state'])));}return Decoration['set'](_0x20f11d,!0x0);},'provide':_0x3a1763=>EditorView['decorations']['from'](_0x3a1763)}),_0x545de3=[_0x46de33,_0x4e1669];function _0x1e9834(_0x951599={}){return[_0x53944f['of'](_0x951599),_0x545de3];}const _0x1a28a7=new _0x326db3();function _0x1ae0e2(_0x55f96a,_0x345d0a,_0xdb1d75){let _0x22398e=_0x55f96a['prop'](_0x345d0a<0x0?_0x326db3['openedBy']:_0x326db3['closedBy']);if(_0x22398e)return _0x22398e;if(0x1==_0x55f96a['name']['length']){let _0x73f045=_0xdb1d75['indexOf'](_0x55f96a['name']);if(_0x73f045>-0x1&&_0x73f045%0x2==(_0x345d0a<0x0?0x1:0x0))return[_0xdb1d75[_0x73f045+_0x345d0a]];}return null;}function _0x58f964(_0x16746d){let _0x527579=_0x16746d['type']['prop'](_0x1a28a7);return _0x527579?_0x527579(_0x16746d['node']):_0x16746d;}function _0xf16058(_0x11b766,_0x250abf,_0x166bb0,_0x4114e9={}){let _0x3cebc8=_0x4114e9['maxScanDistance']||0x2710,_0x111472=_0x4114e9['brackets']||_0x961e9a,_0x31c711=tE(_0x11b766),_0x5426a3=_0x31c711['resolveInner'](_0x250abf,_0x166bb0);for(let _0x42d29f=_0x5426a3;_0x42d29f;_0x42d29f=_0x42d29f['parent']){let _0x32a5eb=_0x1ae0e2(_0x42d29f['type'],_0x166bb0,_0x111472);if(_0x32a5eb&&_0x42d29f['from']<_0x42d29f['to']){let _0x41b38d=_0x58f964(_0x42d29f);if(_0x41b38d&&(_0x166bb0>0x0?_0x250abf>=_0x41b38d['from']&&_0x250abf<_0x41b38d['to']:_0x250abf>_0x41b38d['from']&&_0x250abf<=_0x41b38d['to']))return _0x38e2f5(_0x11b766,_0x250abf,_0x166bb0,_0x42d29f,_0x41b38d,_0x32a5eb,_0x111472);}}return function(_0x134d9f,_0x18b5b2,_0x5629c2,_0x3f4342,_0x37e2df,_0x8726de,_0x29eb97){let _0x1ac18d=_0x5629c2<0x0?_0x134d9f['sliceDoc'](_0x18b5b2-0x1,_0x18b5b2):_0x134d9f['sliceDoc'](_0x18b5b2,_0x18b5b2+0x1),_0x3d7978=_0x29eb97['indexOf'](_0x1ac18d);if(_0x3d7978<0x0||_0x3d7978%0x2==0x0!=_0x5629c2>0x0)return null;let _0x9b6370={'from':_0x5629c2<0x0?_0x18b5b2-0x1:_0x18b5b2,'to':_0x5629c2>0x0?_0x18b5b2+0x1:_0x18b5b2},_0x3b8d92=_0x134d9f['doc']['iterRange'](_0x18b5b2,_0x5629c2>0x0?_0x134d9f['doc']['length']:0x0),_0x2cb5dc=0x0;for(let _0x207bce=0x0;!_0x3b8d92['next']()['done']&&_0x207bce<=_0x8726de;){let _0x1f0eef=_0x3b8d92['value'];_0x5629c2<0x0&&(_0x207bce+=_0x1f0eef['length']);let _0x5aac91=_0x18b5b2+_0x207bce*_0x5629c2;for(let _0x327287=_0x5629c2>0x0?0x0:_0x1f0eef['length']-0x1,_0x196ff3=_0x5629c2>0x0?_0x1f0eef['length']:-0x1;_0x327287!=_0x196ff3;_0x327287+=_0x5629c2){let _0x24789d=_0x29eb97['indexOf'](_0x1f0eef[_0x327287]);if(!(_0x24789d<0x0||_0x3f4342['resolveInner'](_0x5aac91+_0x327287,0x1)['type']!=_0x37e2df)){if(_0x24789d%0x2==0x0==_0x5629c2>0x0)_0x2cb5dc++;else{if(0x1==_0x2cb5dc)return{'start':_0x9b6370,'end':{'from':_0x5aac91+_0x327287,'to':_0x5aac91+_0x327287+0x1},'matched':_0x24789d>>0x1==_0x3d7978>>0x1};_0x2cb5dc--;}}}_0x5629c2>0x0&&(_0x207bce+=_0x1f0eef['length']);}return _0x3b8d92['done']?{'start':_0x9b6370,'matched':!0x1}:null;}(_0x11b766,_0x250abf,_0x166bb0,_0x31c711,_0x5426a3['type'],_0x3cebc8,_0x111472);}function _0x38e2f5(_0x3a1b78,_0x3c3f61,_0x5609ad,_0x143c1c,_0x45ff4e,_0x4256fc,_0x58258e){let _0x3f7ca5=_0x143c1c['parent'],_0x2e710c={'from':_0x45ff4e['from'],'to':_0x45ff4e['to']},_0x4228ab=0x0,_0x1fff3f=null==_0x3f7ca5?void 0x0:_0x3f7ca5['cursor']();if(_0x1fff3f&&(_0x5609ad<0x0?_0x1fff3f['childBefore'](_0x143c1c['from']):_0x1fff3f['childAfter'](_0x143c1c['to'])))do{if(_0x5609ad<0x0?_0x1fff3f['to']<=_0x143c1c['from']:_0x1fff3f['from']>=_0x143c1c['to']){if(0x0==_0x4228ab&&_0x4256fc['indexOf'](_0x1fff3f['type']['name'])>-0x1&&_0x1fff3f['from']<_0x1fff3f['to']){let _0x2345f4=_0x58f964(_0x1fff3f);return{'start':_0x2e710c,'end':_0x2345f4?{'from':_0x2345f4['from'],'to':_0x2345f4['to']}:void 0x0,'matched':!0x0};}if(_0x1ae0e2(_0x1fff3f['type'],_0x5609ad,_0x58258e))_0x4228ab++;else{if(_0x1ae0e2(_0x1fff3f['type'],-_0x5609ad,_0x58258e)){if(0x0==_0x4228ab){let _0x2188cc=_0x58f964(_0x1fff3f);return{'start':_0x2e710c,'end':_0x2188cc&&_0x2188cc['from']<_0x2188cc['to']?{'from':_0x2188cc['from'],'to':_0x2188cc['to']}:void 0x0,'matched':!0x1};}_0x4228ab--;}}}}while(_0x5609ad<0x0?_0x1fff3f['prevSibling']():_0x1fff3f['nextSibling']());return{'start':_0x2e710c,'matched':!0x1};}const _0x175bd3=Object['create'](null),_0x31369b=[_0x76b5bd['none']],_0x5b70d5=[],_0x5580a9=Object['create'](null),_0x4b564b=Object['create'](null);for(let [_0x513ef0,_0x425fd2]of[['variable','variableName'],['variable-2','variableName.special'],['string-2','string.special'],['def','variableName.definition'],['tag','tagName'],['attribute','attributeName'],['type','typeName'],['builtin','variableName.standard'],['qualifier','modifier'],['error','invalid'],['header','heading'],['property','propertyName']])_0x4b564b[_0x513ef0]=_0x55ab77(_0x175bd3,_0x425fd2);function _0x3e7cb7(_0x40fa5a,_0x153793){_0x5b70d5['indexOf'](_0x40fa5a)>-0x1||(_0x5b70d5['push'](_0x40fa5a),console['warn'](_0x153793));}function _0x55ab77(_0x4f06e2,_0x1243a0){let _0x21db55=[];for(let _0x36c25f of _0x1243a0['split']('\x20')){let _0x316cf0=[];for(let _0x3c775e of _0x36c25f['split']('.')){let _0x1f28fe=_0x4f06e2[_0x3c775e]||_0x4ccfa4[_0x3c775e];_0x1f28fe?'function'==typeof _0x1f28fe?_0x316cf0['length']?_0x316cf0=_0x316cf0['map'](_0x1f28fe):_0x3e7cb7(_0x3c775e,'Modifier\x20'+_0x3c775e+'\x20used\x20at\x20start\x20of\x20tag'):_0x316cf0['length']?_0x3e7cb7(_0x3c775e,'Tag\x20'+_0x3c775e+'\x20used\x20as\x20modifier'):_0x316cf0=Array['isArray'](_0x1f28fe)?_0x1f28fe:[_0x1f28fe]:_0x3e7cb7(_0x3c775e,'Unknown\x20highlighting\x20tag\x20'+_0x3c775e);}for(let _0x5ee185 of _0x316cf0)_0x21db55['push'](_0x5ee185);}if(!_0x21db55['length'])return 0x0;let _0x811ae0=_0x1243a0['replace'](/ /g,'_'),_0x5bc0b5=_0x811ae0+'\x20'+_0x21db55['map'](t=>t['id']),_0x1863db=_0x5580a9[_0x5bc0b5];if(_0x1863db)return _0x1863db['id'];let _0x3359ef=_0x5580a9[_0x5bc0b5]=_0x76b5bd['define']({'id':_0x31369b['length'],'name':_0x811ae0,'props':[_0x1fda3a({[_0x811ae0]:_0x21db55})]});return _0x31369b['push'](_0x3359ef),_0x3359ef['id'];}_0x5d0416['RTL'],_0x5d0416['LTR'];function _0x55c9ce(_0x2b6b57,_0x5d0cbd){return({state:_0x4aea95,dispatch:_0x1567b6})=>{if(_0x4aea95['readOnly'])return!0x1;let _0x44a479=_0x2b6b57(_0x5d0cbd,_0x4aea95);return!!_0x44a479&&(_0x1567b6(_0x4aea95['update'](_0x44a479)),!0x0);};}const _0x1ac9f8=_0x55c9ce(_0x491ae9,0x0),_0x30b5a2=_0x55c9ce(_0x24472c,0x0),_0x30ea89=_0x55c9ce((_0xe9ba1d,_0x9315b5)=>_0x24472c(_0xe9ba1d,_0x9315b5,function(_0x1d0def){let _0x3c8e3b=[];for(let _0x30ad7c of _0x1d0def['selection']['ranges']){let _0xee29cf=_0x1d0def['doc']['lineAt'](_0x30ad7c['from']),_0x20fd66=_0x30ad7c['to']<=_0xee29cf['to']?_0xee29cf:_0x1d0def['doc']['lineAt'](_0x30ad7c['to']);_0x20fd66['from']>_0xee29cf['from']&&_0x20fd66['from']==_0x30ad7c['to']&&(_0x20fd66=_0x30ad7c['to']==_0xee29cf['to']+0x1?_0xee29cf:_0x1d0def['doc']['lineAt'](_0x30ad7c['to']-0x1));let _0x3b06b8=_0x3c8e3b['length']-0x1;_0x3b06b8>=0x0&&_0x3c8e3b[_0x3b06b8]['to']>_0xee29cf['from']?_0x3c8e3b[_0x3b06b8]['to']=_0x20fd66['to']:_0x3c8e3b['push']({'from':_0xee29cf['from']+/^\s*/['exec'](_0xee29cf['text'])[0x0]['length'],'to':_0x20fd66['to']});}return _0x3c8e3b;}(_0x9315b5)),0x0);function _0xd0c50a(_0x102f8f,_0x4e2079){let _0x3165a2=_0x102f8f['languageDataAt']('commentTokens',_0x4e2079,0x1);return _0x3165a2['length']?_0x3165a2[0x0]:{};}const _0x41aa11=0x32;function _0x24472c(_0xe03283,_0x31e847,_0x5a7b87=_0x31e847['selection']['ranges']){let _0x53d684=_0x5a7b87['map'](_0x5b03d8=>_0xd0c50a(_0x31e847,_0x5b03d8['from'])['block']);if(!_0x53d684['every'](_0x46819a=>_0x46819a))return null;let _0x5af6dc=_0x5a7b87['map']((_0x51acc5,_0x2bb352)=>function(_0x4f0028,{open:_0x56fc63,close:_0x492132},_0x1764a4,_0x5e4e95){let _0x483747,_0x26bfa6,_0x4047cf=_0x4f0028['sliceDoc'](_0x1764a4-_0x41aa11,_0x1764a4),_0x53fa96=_0x4f0028['sliceDoc'](_0x5e4e95,_0x5e4e95+_0x41aa11),_0x4eec07=/\s*$/['exec'](_0x4047cf)[0x0]['length'],_0x3d0cc6=/^\s*/['exec'](_0x53fa96)[0x0]['length'],_0x415947=_0x4047cf['length']-_0x4eec07;if(_0x4047cf['slice'](_0x415947-_0x56fc63['length'],_0x415947)==_0x56fc63&&_0x53fa96['slice'](_0x3d0cc6,_0x3d0cc6+_0x492132['length'])==_0x492132)return{'open':{'pos':_0x1764a4-_0x4eec07,'margin':_0x4eec07&&0x1},'close':{'pos':_0x5e4e95+_0x3d0cc6,'margin':_0x3d0cc6&&0x1}};_0x5e4e95-_0x1764a4<=0x2*_0x41aa11?_0x483747=_0x26bfa6=_0x4f0028['sliceDoc'](_0x1764a4,_0x5e4e95):(_0x483747=_0x4f0028['sliceDoc'](_0x1764a4,_0x1764a4+_0x41aa11),_0x26bfa6=_0x4f0028['sliceDoc'](_0x5e4e95-_0x41aa11,_0x5e4e95));let _0x59f68d=/^\s*/['exec'](_0x483747)[0x0]['length'],_0x3c9254=/\s*$/['exec'](_0x26bfa6)[0x0]['length'],_0x337541=_0x26bfa6['length']-_0x3c9254-_0x492132['length'];return _0x483747['slice'](_0x59f68d,_0x59f68d+_0x56fc63['length'])==_0x56fc63&&_0x26bfa6['slice'](_0x337541,_0x337541+_0x492132['length'])==_0x492132?{'open':{'pos':_0x1764a4+_0x59f68d+_0x56fc63['length'],'margin':/\s/['test'](_0x483747['charAt'](_0x59f68d+_0x56fc63['length']))?0x1:0x0},'close':{'pos':_0x5e4e95-_0x3c9254-_0x492132['length'],'margin':/\s/['test'](_0x26bfa6['charAt'](_0x337541-0x1))?0x1:0x0}}:null;}(_0x31e847,_0x53d684[_0x2bb352],_0x51acc5['from'],_0x51acc5['to']));if(0x2!=_0xe03283&&!_0x5af6dc['every'](_0x1476df=>_0x1476df))return{'changes':_0x31e847['changes'](_0x5a7b87['map']((_0x54b12d,_0x30a042)=>_0x5af6dc[_0x30a042]?[]:[{'from':_0x54b12d['from'],'insert':_0x53d684[_0x30a042]['open']+'\x20'},{'from':_0x54b12d['to'],'insert':'\x20'+_0x53d684[_0x30a042]['close']}]))};if(0x1!=_0xe03283&&_0x5af6dc['some'](_0x2db7e9=>_0x2db7e9)){let _0x527d1d=[];for(let _0x906efd,_0x4d35fd=0x0;_0x4d35fd<_0x5af6dc['length'];_0x4d35fd++)if(_0x906efd=_0x5af6dc[_0x4d35fd]){let _0x23eb3e=_0x53d684[_0x4d35fd],{open:_0x596491,close:_0x484913}=_0x906efd;_0x527d1d['push']({'from':_0x596491['pos']-_0x23eb3e['open']['length'],'to':_0x596491['pos']+_0x596491['margin']},{'from':_0x484913['pos']-_0x484913['margin'],'to':_0x484913['pos']+_0x23eb3e['close']['length']});}return{'changes':_0x527d1d};}return null;}function _0x491ae9(_0x1430bd,_0x450fdb,_0x167da0=_0x450fdb['selection']['ranges']){let _0x373005=[],_0x2b0350=-0x1;for(let {from:_0x541149,to:_0x3317f6}of _0x167da0){let _0x488ced=_0x373005['length'],_0x33f172=0x3b9aca00,_0x5a22cf=_0xd0c50a(_0x450fdb,_0x541149)['line'];if(_0x5a22cf){for(let _0x5e184b=_0x541149;_0x5e184b<=_0x3317f6;){let _0x1ff23f=_0x450fdb['doc']['lineAt'](_0x5e184b);if(_0x1ff23f['from']>_0x2b0350&&(_0x541149==_0x3317f6||_0x3317f6>_0x1ff23f['from'])){_0x2b0350=_0x1ff23f['from'];let _0x501034=/^\s*/['exec'](_0x1ff23f['text'])[0x0]['length'],_0x1346fc=_0x501034==_0x1ff23f['length'],_0xf81289=_0x1ff23f['text']['slice'](_0x501034,_0x501034+_0x5a22cf['length'])==_0x5a22cf?_0x501034:-0x1;_0x501034<_0x1ff23f['text']['length']&&_0x501034<_0x33f172&&(_0x33f172=_0x501034),_0x373005['push']({'line':_0x1ff23f,'comment':_0xf81289,'token':_0x5a22cf,'indent':_0x501034,'empty':_0x1346fc,'single':!0x1});}_0x5e184b=_0x1ff23f['to']+0x1;}if(_0x33f172<0x3b9aca00){for(let _0x14720e=_0x488ced;_0x14720e<_0x373005['length'];_0x14720e++)_0x373005[_0x14720e]['indent']<_0x373005[_0x14720e]['line']['text']['length']&&(_0x373005[_0x14720e]['indent']=_0x33f172);}_0x373005['length']==_0x488ced+0x1&&(_0x373005[_0x488ced]['single']=!0x0);}}if(0x2!=_0x1430bd&&_0x373005['some'](_0x55520b=>_0x55520b['comment']<0x0&&(!_0x55520b['empty']||_0x55520b['single']))){let _0x1093e1=[];for(let {line:_0x2b6f72,token:_0x3ad642,indent:_0x46df46,empty:_0x5a74cb,single:_0x3eb1ab}of _0x373005)!_0x3eb1ab&&_0x5a74cb||_0x1093e1['push']({'from':_0x2b6f72['from']+_0x46df46,'insert':_0x3ad642+'\x20'});let _0x32b1ef=_0x450fdb['changes'](_0x1093e1);return{'changes':_0x32b1ef,'selection':_0x450fdb['selection']['map'](_0x32b1ef,0x1)};}if(0x1!=_0x1430bd&&_0x373005['some'](_0x1deebf=>_0x1deebf['comment']>=0x0)){let _0x5586d4=[];for(let {line:_0x3569b1,comment:_0x498f6f,token:_0x1e80a4}of _0x373005)if(_0x498f6f>=0x0){let _0x19a9d7=_0x3569b1['from']+_0x498f6f,_0x333db9=_0x19a9d7+_0x1e80a4['length'];'\x20'==_0x3569b1['text'][_0x333db9-_0x3569b1['from']]&&_0x333db9++,_0x5586d4['push']({'from':_0x19a9d7,'to':_0x333db9});}return{'changes':_0x5586d4};}return null;}const _0x2c1a5b=Annotation['define'](),_0x456de2=Annotation['define'](),_0x43164f=Facet['define'](),_0x3b5d10=Facet['define']({'combine':_0x41f6dc=>_0x267f8f(_0x41f6dc,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x26d4e6,_0x2c8bd2)=>_0x2c8bd2},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x7abb0b,_0x2b05e9)=>(_0x297179,_0x428c9d)=>_0x7abb0b(_0x297179,_0x428c9d)||_0x2b05e9(_0x297179,_0x428c9d)})}),_0x565d8d=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x4ce136,_0x91a770){let _0x116b78=_0x91a770['state']['facet'](_0x3b5d10),_0x187459=_0x91a770['annotation'](_0x2c1a5b);if(_0x187459){let _0x34cec3=HistEvent['fromTransaction'](_0x91a770,_0x187459['selection']),_0x542e1e=_0x187459['side'],_0xf7e5e8=0x0==_0x542e1e?_0x4ce136['undone']:_0x4ce136['done'];return _0xf7e5e8=_0x34cec3?_0x3f86d0(_0xf7e5e8,_0xf7e5e8['length'],_0x116b78['minDepth'],_0x34cec3):_0x444271(_0xf7e5e8,_0x91a770['startState']['selection']),new HistoryState(0x0==_0x542e1e?_0x187459['rest']:_0xf7e5e8,0x0==_0x542e1e?_0xf7e5e8:_0x187459['rest']);}let _0x380a60=_0x91a770['annotation'](_0x456de2);if('full'!=_0x380a60&&'before'!=_0x380a60||(_0x4ce136=_0x4ce136['isolate']()),!0x1===_0x91a770['annotation'](Transaction['addToHistory']))return _0x91a770['changes']['empty']?_0x4ce136:_0x4ce136['addMapping'](_0x91a770['changes']['desc']);let _0x415210=HistEvent['fromTransaction'](_0x91a770),_0x34776a=_0x91a770['annotation'](Transaction['time']),_0x1f12e4=_0x91a770['annotation'](Transaction['userEvent']);return _0x415210?_0x4ce136=_0x4ce136['addChanges'](_0x415210,_0x34776a,_0x1f12e4,_0x116b78,_0x91a770):_0x91a770['selection']&&(_0x4ce136=_0x4ce136['addSelection'](_0x91a770['startState']['selection'],_0x34776a,_0x1f12e4,_0x116b78['newGroupDelay'])),'full'!=_0x380a60&&'after'!=_0x380a60||(_0x4ce136=_0x4ce136['isolate']()),_0x4ce136;},'toJSON':_0x5a2311=>({'done':_0x5a2311['done']['map'](_0x5bdd11=>_0x5bdd11['toJSON']()),'undone':_0x5a2311['undone']['map'](_0x2d0856=>_0x2d0856['toJSON']())}),'fromJSON':_0x18f741=>new HistoryState(_0x18f741['done']['map'](HistEvent['fromJSON']),_0x18f741['undone']['map'](HistEvent['fromJSON']))});function _0x298dba(_0x7a1fa0={}){return[_0x565d8d,_0x3b5d10['of'](_0x7a1fa0),EditorView['domEventHandlers']({'beforeinput'(_0x1ba731,_0x356a99){let _0x2bff34='historyUndo'==_0x1ba731['inputType']?_0x32532d:'historyRedo'==_0x1ba731['inputType']?_0x5d6252:null;return!!_0x2bff34&&(_0x1ba731['preventDefault'](),_0x2bff34(_0x356a99));}})];}function _0x1be2c9(_0x38de46,_0x4589d9){return function({state:_0x348f57,dispatch:_0x51316a}){if(!_0x4589d9&&_0x348f57['readOnly'])return!0x1;let _0x33395b=_0x348f57['field'](_0x565d8d,!0x1);if(!_0x33395b)return!0x1;let _0x54b056=_0x33395b['pop'](_0x38de46,_0x348f57,_0x4589d9);return!!_0x54b056&&(_0x51316a(_0x54b056),!0x0);};}const _0x32532d=_0x1be2c9(0x0,!0x1),_0x5d6252=_0x1be2c9(0x1,!0x1),_0x104462=_0x1be2c9(0x0,!0x0),_0x2bd8a9=_0x1be2c9(0x1,!0x0);class HistEvent{constructor(_0x42cba8,_0xffba38,_0x3b5121,_0x47a70c,_0x567b1e){this['changes']=_0x42cba8,this['effects']=_0xffba38,this['mapped']=_0x3b5121,this['startSelection']=_0x47a70c,this['selectionsAfter']=_0x567b1e;}['setSelAfter'](_0x3f9417){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x3f9417);}['toJSON'](){var _0x40f290,_0x56fb15,_0x5778e5;return{'changes':null===(_0x40f290=this['changes'])||void 0x0===_0x40f290?void 0x0:_0x40f290['toJSON'](),'mapped':null===(_0x56fb15=this['mapped'])||void 0x0===_0x56fb15?void 0x0:_0x56fb15['toJSON'](),'startSelection':null===(_0x5778e5=this['startSelection'])||void 0x0===_0x5778e5?void 0x0:_0x5778e5['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x222a21=>_0x222a21['toJSON']())};}static['fromJSON'](_0x3d443b){return new HistEvent(_0x3d443b['changes']&&ChangeSet['fromJSON'](_0x3d443b['changes']),[],_0x3d443b['mapped']&&_0x486e35['fromJSON'](_0x3d443b['mapped']),_0x3d443b['startSelection']&&EditorSelection['fromJSON'](_0x3d443b['startSelection']),_0x3d443b['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x13cda1,_0x410ccb){let _0x4d0a89=_0x5875b6;for(let _0x514e8c of _0x13cda1['startState']['facet'](_0x43164f)){let _0x5e14a8=_0x514e8c(_0x13cda1);_0x5e14a8['length']&&(_0x4d0a89=_0x4d0a89['concat'](_0x5e14a8));}return!_0x4d0a89['length']&&_0x13cda1['changes']['empty']?null:new HistEvent(_0x13cda1['changes']['invert'](_0x13cda1['startState']['doc']),_0x4d0a89,void 0x0,_0x410ccb||_0x13cda1['startState']['selection'],_0x5875b6);}static['selection'](_0x2ec364){return new HistEvent(void 0x0,_0x5875b6,void 0x0,void 0x0,_0x2ec364);}}function _0x3f86d0(_0x519e89,_0x791c6f,_0x13e20,_0x2b87de){let _0x48ffa0=_0x791c6f+0x1>_0x13e20+0x14?_0x791c6f-_0x13e20-0x1:0x0,_0x504f0f=_0x519e89['slice'](_0x48ffa0,_0x791c6f);return _0x504f0f['push'](_0x2b87de),_0x504f0f;}function _0xd40b7f(_0x1d11bc,_0x28bdc7){return _0x1d11bc['length']?_0x28bdc7['length']?_0x1d11bc['concat'](_0x28bdc7):_0x1d11bc:_0x28bdc7;}const _0x5875b6=[],_0x281cd4=0xc8;function _0x444271(_0x4d0b72,_0x1bdcf5){if(_0x4d0b72['length']){let _0x3e7d7d=_0x4d0b72[_0x4d0b72['length']-0x1],_0x4036aa=_0x3e7d7d['selectionsAfter']['slice'](Math['max'](0x0,_0x3e7d7d['selectionsAfter']['length']-_0x281cd4));return _0x4036aa['length']&&_0x4036aa[_0x4036aa['length']-0x1]['eq'](_0x1bdcf5)?_0x4d0b72:(_0x4036aa['push'](_0x1bdcf5),_0x3f86d0(_0x4d0b72,_0x4d0b72['length']-0x1,0x3b9aca00,_0x3e7d7d['setSelAfter'](_0x4036aa)));}return[HistEvent['selection']([_0x1bdcf5])];}function _0x2a02b3(_0x547619){let _0x157033=_0x547619[_0x547619['length']-0x1],_0x2c7a2d=_0x547619['slice']();return _0x2c7a2d[_0x547619['length']-0x1]=_0x157033['setSelAfter'](_0x157033['selectionsAfter']['slice'](0x0,_0x157033['selectionsAfter']['length']-0x1)),_0x2c7a2d;}function _0x108918(_0x3243f0,_0x373bfb){if(!_0x3243f0['length'])return _0x3243f0;let _0x10e584=_0x3243f0['length'],_0x4d0289=_0x5875b6;for(;_0x10e584;){let _0x212d1e=_0x11ff59(_0x3243f0[_0x10e584-0x1],_0x373bfb,_0x4d0289);if(_0x212d1e['changes']&&!_0x212d1e['changes']['empty']||_0x212d1e['effects']['length']){let _0x35bcaf=_0x3243f0['slice'](0x0,_0x10e584);return _0x35bcaf[_0x10e584-0x1]=_0x212d1e,_0x35bcaf;}_0x373bfb=_0x212d1e['mapped'],_0x10e584--,_0x4d0289=_0x212d1e['selectionsAfter'];}return _0x4d0289['length']?[HistEvent['selection'](_0x4d0289)]:_0x5875b6;}function _0x11ff59(_0x5e5547,_0x3fb703,_0xc41eaf){let _0x28931d=_0xd40b7f(_0x5e5547['selectionsAfter']['length']?_0x5e5547['selectionsAfter']['map'](_0x8ad830=>_0x8ad830['map'](_0x3fb703)):_0x5875b6,_0xc41eaf);if(!_0x5e5547['changes'])return HistEvent['selection'](_0x28931d);let _0x2d1300=_0x5e5547['changes']['map'](_0x3fb703),_0x4be5bd=_0x3fb703['mapDesc'](_0x5e5547['changes'],!0x0),_0x437aa0=_0x5e5547['mapped']?_0x5e5547['mapped']['composeDesc'](_0x4be5bd):_0x4be5bd;return new HistEvent(_0x2d1300,StateEffect['mapEffects'](_0x5e5547['effects'],_0x3fb703),_0x437aa0,_0x5e5547['startSelection']['map'](_0x4be5bd),_0x28931d);}const _0x45ef02=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x276a4e,_0x56c33d,_0x562451=0x0,_0x424ec7=void 0x0){this['done']=_0x276a4e,this['undone']=_0x56c33d,this['prevTime']=_0x562451,this['prevUserEvent']=_0x424ec7;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x35345a,_0x1e33db,_0x442aac,_0x163b25,_0x533521){let _0x3cf241=this['done'],_0x2457b1=_0x3cf241[_0x3cf241['length']-0x1];return _0x3cf241=_0x2457b1&&_0x2457b1['changes']&&!_0x2457b1['changes']['empty']&&_0x35345a['changes']&&(!_0x442aac||_0x45ef02['test'](_0x442aac))&&(!_0x2457b1['selectionsAfter']['length']&&_0x1e33db-this['prevTime']<_0x163b25['newGroupDelay']&&_0x163b25['joinToEvent'](_0x533521,function(_0x3973c2,_0x82ba65){let _0x5eefb3=[],_0x35d895=!0x1;return _0x3973c2['iterChangedRanges']((_0x75ad3e,t)=>_0x5eefb3['push'](_0x75ad3e,t)),_0x82ba65['iterChangedRanges']((_0x5d1714,_0x282097,_0xd22f04,t)=>{for(let _0x24b5aa=0x0;_0x24b5aa<_0x5eefb3['length'];){let _0x25baf5=_0x5eefb3[_0x24b5aa++],_0x415048=_0x5eefb3[_0x24b5aa++];t>=_0x25baf5&&_0xd22f04<=_0x415048&&(_0x35d895=!0x0);}}),_0x35d895;}(_0x2457b1['changes'],_0x35345a['changes']))||'input.type.compose'==_0x442aac)?_0x3f86d0(_0x3cf241,_0x3cf241['length']-0x1,_0x163b25['minDepth'],new HistEvent(_0x35345a['changes']['compose'](_0x2457b1['changes']),_0xd40b7f(StateEffect['mapEffects'](_0x35345a['effects'],_0x2457b1['changes']),_0x2457b1['effects']),_0x2457b1['mapped'],_0x2457b1['startSelection'],_0x5875b6)):_0x3f86d0(_0x3cf241,_0x3cf241['length'],_0x163b25['minDepth'],_0x35345a),new HistoryState(_0x3cf241,_0x5875b6,_0x1e33db,_0x442aac);}['addSelection'](_0x3e5f5d,_0x2a199f,_0x318d22,_0x373b75){let _0x2129ad=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x5875b6;return _0x2129ad['length']>0x0&&_0x2a199f-this['prevTime']<_0x373b75&&_0x318d22==this['prevUserEvent']&&_0x318d22&&/^select($|\.)/['test'](_0x318d22)&&(_0x238593=_0x2129ad[_0x2129ad['length']-0x1],_0x59b69f=_0x3e5f5d,_0x238593['ranges']['length']==_0x59b69f['ranges']['length']&&0x0===_0x238593['ranges']['filter']((_0x56cd1f,_0x614da2)=>_0x56cd1f['empty']!=_0x59b69f['ranges'][_0x614da2]['empty'])['length'])?this:new HistoryState(_0x444271(this['done'],_0x3e5f5d),this['undone'],_0x2a199f,_0x318d22);var _0x238593,_0x59b69f;}['addMapping'](_0x43c87c){return new HistoryState(_0x108918(this['done'],_0x43c87c),_0x108918(this['undone'],_0x43c87c),this['prevTime'],this['prevUserEvent']);}['pop'](_0x40c7f3,_0x334c60,_0x21a40c){let _0x59a183=0x0==_0x40c7f3?this['done']:this['undone'];if(0x0==_0x59a183['length'])return null;let _0x3af9a4=_0x59a183[_0x59a183['length']-0x1],_0x5009c3=_0x3af9a4['selectionsAfter'][0x0]||_0x334c60['selection'];if(_0x21a40c&&_0x3af9a4['selectionsAfter']['length'])return _0x334c60['update']({'selection':_0x3af9a4['selectionsAfter'][_0x3af9a4['selectionsAfter']['length']-0x1],'annotations':_0x2c1a5b['of']({'side':_0x40c7f3,'rest':_0x2a02b3(_0x59a183),'selection':_0x5009c3}),'userEvent':0x0==_0x40c7f3?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x3af9a4['changes']){let _0x10721a=0x1==_0x59a183['length']?_0x5875b6:_0x59a183['slice'](0x0,_0x59a183['length']-0x1);return _0x3af9a4['mapped']&&(_0x10721a=_0x108918(_0x10721a,_0x3af9a4['mapped'])),_0x334c60['update']({'changes':_0x3af9a4['changes'],'selection':_0x3af9a4['startSelection'],'effects':_0x3af9a4['effects'],'annotations':_0x2c1a5b['of']({'side':_0x40c7f3,'rest':_0x10721a,'selection':_0x5009c3}),'filter':!0x1,'userEvent':0x0==_0x40c7f3?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x5875b6,_0x5875b6);const _0x20825d=[{'key':'Mod-z','run':_0x32532d,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x5d6252,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x5d6252,'preventDefault':!0x0},{'key':'Mod-u','run':_0x104462,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':_0x2bd8a9,'preventDefault':!0x0}];function _0x5d835f(_0x3263c1,_0x4b1824){return EditorSelection['create'](_0x3263c1['ranges']['map'](_0x4b1824),_0x3263c1['mainIndex']);}function _0x49450c(_0x59fb28,_0xdb2acb){return _0x59fb28['update']({'selection':_0xdb2acb,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x4306f2({state:_0x4e6270,dispatch:_0x4c3bfa},_0x546bc0){let _0x2c96cd=_0x5d835f(_0x4e6270['selection'],_0x546bc0);return!_0x2c96cd['eq'](_0x4e6270['selection'],!0x0)&&(_0x4c3bfa(_0x49450c(_0x4e6270,_0x2c96cd)),!0x0);}function _0xcfa351(_0x5befc0,_0x43b2d7){return EditorSelection['cursor'](_0x43b2d7?_0x5befc0['to']:_0x5befc0['from']);}function _0x57bc41(_0x90322a,_0x4090f0){return _0x4306f2(_0x90322a,_0x14638b=>_0x14638b['empty']?_0x90322a['moveByChar'](_0x14638b,_0x4090f0):_0xcfa351(_0x14638b,_0x4090f0));}function _0xdf9337(_0x53bd70){return _0x53bd70['textDirectionAt'](_0x53bd70['state']['selection']['main']['head'])==_0x5d0416['LTR'];}const tA=_0xfe4864=>_0x57bc41(_0xfe4864,!_0xdf9337(_0xfe4864)),_0x4d6c9a=_0x362484=>_0x57bc41(_0x362484,_0xdf9337(_0x362484));function _0x317193(_0x35f25c,_0x19caa7){return _0x4306f2(_0x35f25c,_0x174a1c=>_0x174a1c['empty']?_0x35f25c['moveByGroup'](_0x174a1c,_0x19caa7):_0xcfa351(_0x174a1c,_0x19caa7));}function _0x6fdc8(_0x27e684,_0x90e90a,_0x2d672e){if(_0x90e90a['type']['prop'](_0x2d672e))return!0x0;let _0x2093fb=_0x90e90a['to']-_0x90e90a['from'];return _0x2093fb&&(_0x2093fb>0x2||/[^\s,.;:]/['test'](_0x27e684['sliceDoc'](_0x90e90a['from'],_0x90e90a['to'])))||_0x90e90a['firstChild'];}function _0x31a881(_0x53d905,_0x1189a5,_0x29eb80){let _0xcc1520,_0xf38b8,_0x5d2b9f=tE(_0x53d905)['resolveInner'](_0x1189a5['head']),_0x4348be=_0x29eb80?_0x326db3['closedBy']:_0x326db3['openedBy'];for(let _0x37e457=_0x1189a5['head'];;){let _0x5225f9=_0x29eb80?_0x5d2b9f['childAfter'](_0x37e457):_0x5d2b9f['childBefore'](_0x37e457);if(!_0x5225f9)break;_0x6fdc8(_0x53d905,_0x5225f9,_0x4348be)?_0x5d2b9f=_0x5225f9:_0x37e457=_0x29eb80?_0x5225f9['to']:_0x5225f9['from'];}return _0xf38b8=_0x5d2b9f['type']['prop'](_0x4348be)&&(_0xcc1520=_0x29eb80?_0xf16058(_0x53d905,_0x5d2b9f['from'],0x1):_0xf16058(_0x53d905,_0x5d2b9f['to'],-0x1))&&_0xcc1520['matched']?_0x29eb80?_0xcc1520['end']['to']:_0xcc1520['end']['from']:_0x29eb80?_0x5d2b9f['to']:_0x5d2b9f['from'],EditorSelection['cursor'](_0xf38b8,_0x29eb80?-0x1:0x1);}function _0x560fad(_0x2f85ce,_0x2fd750){return _0x4306f2(_0x2f85ce,_0x1436a4=>{if(!_0x1436a4['empty'])return _0xcfa351(_0x1436a4,_0x2fd750);let _0x3f42f0=_0x2f85ce['moveVertically'](_0x1436a4,_0x2fd750);return _0x3f42f0['head']!=_0x1436a4['head']?_0x3f42f0:_0x2f85ce['moveToLineBoundary'](_0x1436a4,_0x2fd750);});}const _0x2afea6=_0x6df2c1=>_0x560fad(_0x6df2c1,!0x1),_0x150df0=_0x584be9=>_0x560fad(_0x584be9,!0x0);function _0x5bec4f(_0x1df520){let _0x890c4c,_0x158506=_0x1df520['scrollDOM']['clientHeight']<_0x1df520['scrollDOM']['scrollHeight']-0x2,_0x3cf18c=0x0,_0x452682=0x0;if(_0x158506){for(let _0x76b5a6 of _0x1df520['state']['facet'](EditorView['scrollMargins'])){let _0x5dfe8a=_0x76b5a6(_0x1df520);(null==_0x5dfe8a?void 0x0:_0x5dfe8a['top'])&&(_0x3cf18c=Math['max'](null==_0x5dfe8a?void 0x0:_0x5dfe8a['top'],_0x3cf18c)),(null==_0x5dfe8a?void 0x0:_0x5dfe8a['bottom'])&&(_0x452682=Math['max'](null==_0x5dfe8a?void 0x0:_0x5dfe8a['bottom'],_0x452682));}_0x890c4c=_0x1df520['scrollDOM']['clientHeight']-_0x3cf18c-_0x452682;}else _0x890c4c=(_0x1df520['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x3cf18c,'marginBottom':_0x452682,'selfScroll':_0x158506,'height':Math['max'](_0x1df520['defaultLineHeight'],_0x890c4c-0x5)};}function _0x9743ea(_0x2f50c7,_0x1e790e){let _0x426a8d,_0x4adc8a=_0x5bec4f(_0x2f50c7),{state:_0x5d1d96}=_0x2f50c7,_0x4cd560=_0x5d835f(_0x5d1d96['selection'],_0x43b7ab=>_0x43b7ab['empty']?_0x2f50c7['moveVertically'](_0x43b7ab,_0x1e790e,_0x4adc8a['height']):_0xcfa351(_0x43b7ab,_0x1e790e));if(_0x4cd560['eq'](_0x5d1d96['selection']))return!0x1;if(_0x4adc8a['selfScroll']){let _0x1e4374=_0x2f50c7['coordsAtPos'](_0x5d1d96['selection']['main']['head']),_0x4048fc=_0x2f50c7['scrollDOM']['getBoundingClientRect'](),_0x3e576e=_0x4048fc['top']+_0x4adc8a['marginTop'],_0x391340=_0x4048fc['bottom']-_0x4adc8a['marginBottom'];_0x1e4374&&_0x1e4374['top']>_0x3e576e&&_0x1e4374['bottom']<_0x391340&&(_0x426a8d=EditorView['scrollIntoView'](_0x4cd560['main']['head'],{'y':'start','yMargin':_0x1e4374['top']-_0x3e576e}));}return _0x2f50c7['dispatch'](_0x49450c(_0x5d1d96,_0x4cd560),{'effects':_0x426a8d}),!0x0;}const _0x166d69=_0x1b1a29=>_0x9743ea(_0x1b1a29,!0x1),_0x22d920=_0x50863b=>_0x9743ea(_0x50863b,!0x0);function _0xae6a59(_0x932f86,_0x35ea21,_0x22d4a5){let _0x34f66d=_0x932f86['lineBlockAt'](_0x35ea21['head']),_0x4f8740=_0x932f86['moveToLineBoundary'](_0x35ea21,_0x22d4a5);if(_0x4f8740['head']==_0x35ea21['head']&&_0x4f8740['head']!=(_0x22d4a5?_0x34f66d['to']:_0x34f66d['from'])&&(_0x4f8740=_0x932f86['moveToLineBoundary'](_0x35ea21,_0x22d4a5,!0x1)),!_0x22d4a5&&_0x4f8740['head']==_0x34f66d['from']&&_0x34f66d['length']){let _0x3e2471=/^\s*/['exec'](_0x932f86['state']['sliceDoc'](_0x34f66d['from'],Math['min'](_0x34f66d['from']+0x64,_0x34f66d['to'])))[0x0]['length'];_0x3e2471&&_0x35ea21['head']!=_0x34f66d['from']+_0x3e2471&&(_0x4f8740=EditorSelection['cursor'](_0x34f66d['from']+_0x3e2471));}return _0x4f8740;}function _0x491c20(_0x170ff3,_0xe8448){let _0x16bd09=_0x5d835f(_0x170ff3['state']['selection'],_0x4008b2=>{let _0x39c1f1=_0xe8448(_0x4008b2);return EditorSelection['range'](_0x4008b2['anchor'],_0x39c1f1['head'],_0x39c1f1['goalColumn'],_0x39c1f1['bidiLevel']||void 0x0);});return!_0x16bd09['eq'](_0x170ff3['state']['selection'])&&(_0x170ff3['dispatch'](_0x49450c(_0x170ff3['state'],_0x16bd09)),!0x0);}function _0x55c74d(_0x28fbde,_0x498b67){return _0x491c20(_0x28fbde,_0x8a1192=>_0x28fbde['moveByChar'](_0x8a1192,_0x498b67));}const _0x52e3a6=_0x1ddc02=>_0x55c74d(_0x1ddc02,!_0xdf9337(_0x1ddc02)),_0xe75ad0=_0x16f804=>_0x55c74d(_0x16f804,_0xdf9337(_0x16f804));function _0xc44dc2(_0x3021f9,_0x28dc45){return _0x491c20(_0x3021f9,_0x153e85=>_0x3021f9['moveByGroup'](_0x153e85,_0x28dc45));}function _0x5f83a6(_0x123163,_0x3aad1f){return _0x491c20(_0x123163,_0x5ea344=>_0x123163['moveVertically'](_0x5ea344,_0x3aad1f));}const _0x22eca4=_0x5604dd=>_0x5f83a6(_0x5604dd,!0x1),_0x4b4ff2=_0x55bc73=>_0x5f83a6(_0x55bc73,!0x0);function _0x2c5a5b(_0x198f6a,_0x235843){return _0x491c20(_0x198f6a,_0x2ec3b4=>_0x198f6a['moveVertically'](_0x2ec3b4,_0x235843,_0x5bec4f(_0x198f6a)['height']));}const _0x4e7dab=_0x44aa3c=>_0x2c5a5b(_0x44aa3c,!0x1),_0x4407cd=_0x37b5fd=>_0x2c5a5b(_0x37b5fd,!0x0),_0x5a7f0b=({state:_0x3bb661,dispatch:_0x5279ed})=>(_0x5279ed(_0x49450c(_0x3bb661,{'anchor':0x0})),!0x0),_0x28efb8=({state:_0x20a501,dispatch:_0x5f3c03})=>(_0x5f3c03(_0x49450c(_0x20a501,{'anchor':_0x20a501['doc']['length']})),!0x0),_0x1a5b88=({state:_0x3c94ff,dispatch:_0x4c63e0})=>(_0x4c63e0(_0x49450c(_0x3c94ff,{'anchor':_0x3c94ff['selection']['main']['anchor'],'head':0x0})),!0x0),_0x5d3e28=({state:_0x376d09,dispatch:_0x37b33e})=>(_0x37b33e(_0x49450c(_0x376d09,{'anchor':_0x376d09['selection']['main']['anchor'],'head':_0x376d09['doc']['length']})),!0x0);function _0x316d6a(_0x41d360,_0x201f54){if(_0x41d360['state']['readOnly'])return!0x1;let _0x411de4='delete.selection',{state:_0x4b140c}=_0x41d360,_0x4ffa56=_0x4b140c['changeByRange'](_0x1f779d=>{let {from:_0x2ab945,to:_0x93e054}=_0x1f779d;if(_0x2ab945==_0x93e054){let _0x5482e2=_0x201f54(_0x1f779d);_0x5482e2<_0x2ab945?(_0x411de4='delete.backward',_0x5482e2=_0x26749c(_0x41d360,_0x5482e2,!0x1)):_0x5482e2>_0x2ab945&&(_0x411de4='delete.forward',_0x5482e2=_0x26749c(_0x41d360,_0x5482e2,!0x0)),_0x2ab945=Math['min'](_0x2ab945,_0x5482e2),_0x93e054=Math['max'](_0x93e054,_0x5482e2);}else _0x2ab945=_0x26749c(_0x41d360,_0x2ab945,!0x1),_0x93e054=_0x26749c(_0x41d360,_0x93e054,!0x0);return _0x2ab945==_0x93e054?{'range':_0x1f779d}:{'changes':{'from':_0x2ab945,'to':_0x93e054},'range':EditorSelection['cursor'](_0x2ab945,_0x2ab945<_0x1f779d['head']?-0x1:0x1)};});return!_0x4ffa56['changes']['empty']&&(_0x41d360['dispatch'](_0x4b140c['update'](_0x4ffa56,{'scrollIntoView':!0x0,'userEvent':_0x411de4,'effects':'delete.selection'==_0x411de4?EditorView['announce']['of'](_0x4b140c['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function _0x26749c(_0x3985cc,_0x51c691,_0x2f9528){if(_0x3985cc instanceof EditorView){for(let _0x381e74 of _0x3985cc['state']['facet'](EditorView['atomicRanges'])['map'](_0x40125b=>_0x40125b(_0x3985cc)))_0x381e74['between'](_0x51c691,_0x51c691,(_0x44d4a7,_0x458782)=>{_0x44d4a7<_0x51c691&&_0x458782>_0x51c691&&(_0x51c691=_0x2f9528?_0x458782:_0x44d4a7);});}return _0x51c691;}const _0x1e9a48=(_0x5c6995,_0x35cc6d,_0x44d707)=>_0x316d6a(_0x5c6995,_0x143ae5=>{let _0x412c6e,_0x3eec2a,_0x36995e=_0x143ae5['from'],{state:_0xab75d4}=_0x5c6995,_0x411eb3=_0xab75d4['doc']['lineAt'](_0x36995e);if(_0x44d707&&!_0x35cc6d&&_0x36995e>_0x411eb3['from']&&_0x36995e<_0x411eb3['from']+0xc8&&!/[^ \t]/['test'](_0x412c6e=_0x411eb3['text']['slice'](0x0,_0x36995e-_0x411eb3['from']))){if('\x09'==_0x412c6e[_0x412c6e['length']-0x1])return _0x36995e-0x1;let _0x1b1487=_0xfde3a0(_0x412c6e,_0xab75d4['tabSize'])%_0x109d2b(_0xab75d4)||_0x109d2b(_0xab75d4);for(let _0x52a77b=0x0;_0x52a77b<_0x1b1487&&'\x20'==_0x412c6e[_0x412c6e['length']-0x1-_0x52a77b];_0x52a77b++)_0x36995e--;_0x3eec2a=_0x36995e;}else _0x3eec2a=_0x125880(_0x411eb3['text'],_0x36995e-_0x411eb3['from'],_0x35cc6d,_0x35cc6d)+_0x411eb3['from'],_0x3eec2a==_0x36995e&&_0x411eb3['number']!=(_0x35cc6d?_0xab75d4['doc']['lines']:0x1)?_0x3eec2a+=_0x35cc6d?0x1:-0x1:!_0x35cc6d&&/[\ufe00-\ufe0f]/['test'](_0x411eb3['text']['slice'](_0x3eec2a-_0x411eb3['from'],_0x36995e-_0x411eb3['from']))&&(_0x3eec2a=_0x125880(_0x411eb3['text'],_0x3eec2a-_0x411eb3['from'],!0x1,!0x1)+_0x411eb3['from']);return _0x3eec2a;}),_0x1af68c=_0x2007fd=>_0x1e9a48(_0x2007fd,!0x1,!0x0),_0x36667f=_0xc52065=>_0x1e9a48(_0xc52065,!0x0,!0x1),_0x3263ae=(_0x37d540,_0x3f0847)=>_0x316d6a(_0x37d540,_0x424299=>{let _0x410913=_0x424299['head'],{state:_0x494615}=_0x37d540,_0x266ca1=_0x494615['doc']['lineAt'](_0x410913),_0x311dcf=_0x494615['charCategorizer'](_0x410913);for(let _0x5e61ce=null;;){if(_0x410913==(_0x3f0847?_0x266ca1['to']:_0x266ca1['from'])){_0x410913==_0x424299['head']&&_0x266ca1['number']!=(_0x3f0847?_0x494615['doc']['lines']:0x1)&&(_0x410913+=_0x3f0847?0x1:-0x1);break;}let _0x213e52=_0x125880(_0x266ca1['text'],_0x410913-_0x266ca1['from'],_0x3f0847)+_0x266ca1['from'],_0x4e4d16=_0x266ca1['text']['slice'](Math['min'](_0x410913,_0x213e52)-_0x266ca1['from'],Math['max'](_0x410913,_0x213e52)-_0x266ca1['from']),_0x2c63fc=_0x311dcf(_0x4e4d16);if(null!=_0x5e61ce&&_0x2c63fc!=_0x5e61ce)break;'\x20'==_0x4e4d16&&_0x410913==_0x424299['head']||(_0x5e61ce=_0x2c63fc),_0x410913=_0x213e52;}return _0x410913;}),_0x3a244a=_0x419ed5=>_0x3263ae(_0x419ed5,!0x1);function _0x4c599f(_0x145b8d){let _0xf61275=[],_0x2da345=-0x1;for(let _0x3ab0fb of _0x145b8d['selection']['ranges']){let _0x28f238=_0x145b8d['doc']['lineAt'](_0x3ab0fb['from']),_0x2f67bc=_0x145b8d['doc']['lineAt'](_0x3ab0fb['to']);if(_0x3ab0fb['empty']||_0x3ab0fb['to']!=_0x2f67bc['from']||(_0x2f67bc=_0x145b8d['doc']['lineAt'](_0x3ab0fb['to']-0x1)),_0x2da345>=_0x28f238['number']){let _0x502502=_0xf61275[_0xf61275['length']-0x1];_0x502502['to']=_0x2f67bc['to'],_0x502502['ranges']['push'](_0x3ab0fb);}else _0xf61275['push']({'from':_0x28f238['from'],'to':_0x2f67bc['to'],'ranges':[_0x3ab0fb]});_0x2da345=_0x2f67bc['number']+0x1;}return _0xf61275;}function _0x2b485f(_0x2309b1,_0x49758a,_0x326f9d){if(_0x2309b1['readOnly'])return!0x1;let _0x10df51=[],_0x415d73=[];for(let _0x1e24b4 of _0x4c599f(_0x2309b1)){if(_0x326f9d?_0x1e24b4['to']==_0x2309b1['doc']['length']:0x0==_0x1e24b4['from'])continue;let _0x34264f=_0x2309b1['doc']['lineAt'](_0x326f9d?_0x1e24b4['to']+0x1:_0x1e24b4['from']-0x1),_0x1f6d77=_0x34264f['length']+0x1;if(_0x326f9d){_0x10df51['push']({'from':_0x1e24b4['to'],'to':_0x34264f['to']},{'from':_0x1e24b4['from'],'insert':_0x34264f['text']+_0x2309b1['lineBreak']});for(let _0x4bc5fc of _0x1e24b4['ranges'])_0x415d73['push'](EditorSelection['range'](Math['min'](_0x2309b1['doc']['length'],_0x4bc5fc['anchor']+_0x1f6d77),Math['min'](_0x2309b1['doc']['length'],_0x4bc5fc['head']+_0x1f6d77)));}else{_0x10df51['push']({'from':_0x34264f['from'],'to':_0x1e24b4['from']},{'from':_0x1e24b4['to'],'insert':_0x2309b1['lineBreak']+_0x34264f['text']});for(let _0xfa512f of _0x1e24b4['ranges'])_0x415d73['push'](EditorSelection['range'](_0xfa512f['anchor']-_0x1f6d77,_0xfa512f['head']-_0x1f6d77));}}return!!_0x10df51['length']&&(_0x49758a(_0x2309b1['update']({'changes':_0x10df51,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x415d73,_0x2309b1['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function _0x363d9c(_0x4e11e7,_0x563ee5,_0x36b0bb){if(_0x4e11e7['readOnly'])return!0x1;let _0x6c4bbe=[];for(let _0x1668e0 of _0x4c599f(_0x4e11e7))_0x36b0bb?_0x6c4bbe['push']({'from':_0x1668e0['from'],'insert':_0x4e11e7['doc']['slice'](_0x1668e0['from'],_0x1668e0['to'])+_0x4e11e7['lineBreak']}):_0x6c4bbe['push']({'from':_0x1668e0['to'],'insert':_0x4e11e7['lineBreak']+_0x4e11e7['doc']['slice'](_0x1668e0['from'],_0x1668e0['to'])});return _0x563ee5(_0x4e11e7['update']({'changes':_0x6c4bbe,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x173fdb=_0xf39bc8(!0x1),_0x4cebc7=_0xf39bc8(!0x0);function _0xf39bc8(_0xc1bcd3){return({state:_0x27bfd4,dispatch:_0x323324})=>{if(_0x27bfd4['readOnly'])return!0x1;let _0xcfd3ba=_0x27bfd4['changeByRange'](_0x4fb30b=>{let {from:_0x21928d,to:_0x54ce3f}=_0x4fb30b,_0x596709=_0x27bfd4['doc']['lineAt'](_0x21928d),_0x151ec8=!_0xc1bcd3&&_0x21928d==_0x54ce3f&&function(_0x19b6f8,_0x5efd4b){if(/\(\)|\[\]|\{\}/['test'](_0x19b6f8['sliceDoc'](_0x5efd4b-0x1,_0x5efd4b+0x1)))return{'from':_0x5efd4b,'to':_0x5efd4b};let _0x22fe31,_0x27f265=tE(_0x19b6f8)['resolveInner'](_0x5efd4b),_0x7387db=_0x27f265['childBefore'](_0x5efd4b),_0x56c2b9=_0x27f265['childAfter'](_0x5efd4b);return _0x7387db&&_0x56c2b9&&_0x7387db['to']<=_0x5efd4b&&_0x56c2b9['from']>=_0x5efd4b&&(_0x22fe31=_0x7387db['type']['prop'](_0x326db3['closedBy']))&&_0x22fe31['indexOf'](_0x56c2b9['name'])>-0x1&&_0x19b6f8['doc']['lineAt'](_0x7387db['to'])['from']==_0x19b6f8['doc']['lineAt'](_0x56c2b9['from'])['from']&&!/\S/['test'](_0x19b6f8['sliceDoc'](_0x7387db['to'],_0x56c2b9['from']))?{'from':_0x7387db['to'],'to':_0x56c2b9['from']}:null;}(_0x27bfd4,_0x21928d);_0xc1bcd3&&(_0x21928d=_0x54ce3f=(_0x54ce3f<=_0x596709['to']?_0x596709:_0x27bfd4['doc']['lineAt'](_0x54ce3f))['to']);let _0x47f97f=new IndentContext(_0x27bfd4,{'simulateBreak':_0x21928d,'simulateDoubleBreak':!!_0x151ec8}),_0x385daa=_0x438e41(_0x47f97f,_0x21928d);for(null==_0x385daa&&(_0x385daa=_0xfde3a0(/^\s*/['exec'](_0x27bfd4['doc']['lineAt'](_0x21928d)['text'])[0x0],_0x27bfd4['tabSize']));_0x54ce3f<_0x596709['to']&&/\s/['test'](_0x596709['text'][_0x54ce3f-_0x596709['from']]);)_0x54ce3f++;_0x151ec8?{from:_0x21928d,to:_0x54ce3f}=_0x151ec8:_0x21928d>_0x596709['from']&&_0x21928d<_0x596709['from']+0x64&&!/\S/['test'](_0x596709['text']['slice'](0x0,_0x21928d))&&(_0x21928d=_0x596709['from']);let _0x193974=['',_0xbc755d(_0x27bfd4,_0x385daa)];return _0x151ec8&&_0x193974['push'](_0xbc755d(_0x27bfd4,_0x47f97f['lineIndent'](_0x596709['from'],-0x1))),{'changes':{'from':_0x21928d,'to':_0x54ce3f,'insert':_0x9ec70d['of'](_0x193974)},'range':EditorSelection['cursor'](_0x21928d+0x1+_0x193974[0x1]['length'])};});return _0x323324(_0x27bfd4['update'](_0xcfd3ba,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function _0x55dba0(_0x40ba50,_0x508a94){let _0x3b7262=-0x1;return _0x40ba50['changeByRange'](_0x22d6cf=>{let _0x23f0fc=[];for(let _0x4f0d07=_0x22d6cf['from'];_0x4f0d07<=_0x22d6cf['to'];){let _0x44913b=_0x40ba50['doc']['lineAt'](_0x4f0d07);_0x44913b['number']>_0x3b7262&&(_0x22d6cf['empty']||_0x22d6cf['to']>_0x44913b['from'])&&(_0x508a94(_0x44913b,_0x23f0fc,_0x22d6cf),_0x3b7262=_0x44913b['number']),_0x4f0d07=_0x44913b['to']+0x1;}let _0xdb07a7=_0x40ba50['changes'](_0x23f0fc);return{'changes':_0x23f0fc,'range':EditorSelection['range'](_0xdb07a7['mapPos'](_0x22d6cf['anchor'],0x1),_0xdb07a7['mapPos'](_0x22d6cf['head'],0x1))};});}const _0xa49f26=({state:_0x3d0fc8,dispatch:_0x1e4ce8})=>!_0x3d0fc8['readOnly']&&(_0x1e4ce8(_0x3d0fc8['update'](_0x55dba0(_0x3d0fc8,(_0x14fc82,_0x1d8ba1)=>{_0x1d8ba1['push']({'from':_0x14fc82['from'],'insert':_0x3d0fc8['facet'](_0x2dcdb5)});}),{'userEvent':'input.indent'})),!0x0),_0x237ab6=({state:_0xf0714e,dispatch:_0x391133})=>!_0xf0714e['readOnly']&&(_0x391133(_0xf0714e['update'](_0x55dba0(_0xf0714e,(_0x5a6810,_0x4c5db0)=>{let _0x300ed2=/^\s*/['exec'](_0x5a6810['text'])[0x0];if(!_0x300ed2)return;let _0x5d1c2a=_0xfde3a0(_0x300ed2,_0xf0714e['tabSize']),_0x3d4600=0x0,_0x2dfa53=_0xbc755d(_0xf0714e,Math['max'](0x0,_0x5d1c2a-_0x109d2b(_0xf0714e)));for(;_0x3d4600<_0x300ed2['length']&&_0x3d4600<_0x2dfa53['length']&&_0x300ed2['charCodeAt'](_0x3d4600)==_0x2dfa53['charCodeAt'](_0x3d4600);)_0x3d4600++;_0x4c5db0['push']({'from':_0x5a6810['from']+_0x3d4600,'to':_0x5a6810['from']+_0x300ed2['length'],'insert':_0x2dfa53['slice'](_0x3d4600)});}),{'userEvent':'delete.dedent'})),!0x0),_0x39d577=_0x3825ee=>(_0x3825ee['setTabFocusMode'](),!0x0),_0x2d4b25=[{'key':'Ctrl-b','run':tA,'shift':_0x52e3a6,'preventDefault':!0x0},{'key':'Ctrl-f','run':_0x4d6c9a,'shift':_0xe75ad0},{'key':'Ctrl-p','run':_0x2afea6,'shift':_0x22eca4},{'key':'Ctrl-n','run':_0x150df0,'shift':_0x4b4ff2},{'key':'Ctrl-a','run':_0xbff945=>_0x4306f2(_0xbff945,_0x21583f=>EditorSelection['cursor'](_0xbff945['lineBlockAt'](_0x21583f['head'])['from'],0x1)),'shift':_0x1886ce=>_0x491c20(_0x1886ce,_0xa8bcbe=>EditorSelection['cursor'](_0x1886ce['lineBlockAt'](_0xa8bcbe['head'])['from']))},{'key':'Ctrl-e','run':_0x41ecdc=>_0x4306f2(_0x41ecdc,_0x54fbfc=>EditorSelection['cursor'](_0x41ecdc['lineBlockAt'](_0x54fbfc['head'])['to'],-0x1)),'shift':_0x345c6b=>_0x491c20(_0x345c6b,_0x27ab58=>EditorSelection['cursor'](_0x345c6b['lineBlockAt'](_0x27ab58['head'])['to']))},{'key':'Ctrl-d','run':_0x36667f},{'key':'Ctrl-h','run':_0x1af68c},{'key':'Ctrl-k','run':_0x49ee29=>_0x316d6a(_0x49ee29,_0x1b44fd=>{let _0x12ab9f=_0x49ee29['lineBlockAt'](_0x1b44fd['head'])['to'];return _0x1b44fd['head']<_0x12ab9f?_0x12ab9f:Math['min'](_0x49ee29['state']['doc']['length'],_0x1b44fd['head']+0x1);})},{'key':'Ctrl-Alt-h','run':_0x3a244a},{'key':'Ctrl-o','run':({state:_0xb6ec05,dispatch:_0x4becfa})=>{if(_0xb6ec05['readOnly'])return!0x1;let _0x2212d2=_0xb6ec05['changeByRange'](_0x124d4f=>({'changes':{'from':_0x124d4f['from'],'to':_0x124d4f['to'],'insert':_0x9ec70d['of'](['',''])},'range':EditorSelection['cursor'](_0x124d4f['from'])}));return _0x4becfa(_0xb6ec05['update'](_0x2212d2,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x3e06c5,dispatch:_0x4a4a7a})=>{if(_0x3e06c5['readOnly'])return!0x1;let _0x366ce4=_0x3e06c5['changeByRange'](_0x1d1a73=>{if(!_0x1d1a73['empty']||0x0==_0x1d1a73['from']||_0x1d1a73['from']==_0x3e06c5['doc']['length'])return{'range':_0x1d1a73};let _0x1c7dc6=_0x1d1a73['from'],_0x5d21f4=_0x3e06c5['doc']['lineAt'](_0x1c7dc6),_0x48a280=_0x1c7dc6==_0x5d21f4['from']?_0x1c7dc6-0x1:_0x125880(_0x5d21f4['text'],_0x1c7dc6-_0x5d21f4['from'],!0x1)+_0x5d21f4['from'],_0x1c3853=_0x1c7dc6==_0x5d21f4['to']?_0x1c7dc6+0x1:_0x125880(_0x5d21f4['text'],_0x1c7dc6-_0x5d21f4['from'],!0x0)+_0x5d21f4['from'];return{'changes':{'from':_0x48a280,'to':_0x1c3853,'insert':_0x3e06c5['doc']['slice'](_0x1c7dc6,_0x1c3853)['append'](_0x3e06c5['doc']['slice'](_0x48a280,_0x1c7dc6))},'range':EditorSelection['cursor'](_0x1c3853)};});return!_0x366ce4['changes']['empty']&&(_0x4a4a7a(_0x3e06c5['update'](_0x366ce4,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':_0x22d920}],_0x2758e4=[{'key':'ArrowLeft','run':tA,'shift':_0x52e3a6,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x47b926=>_0x317193(_0x47b926,!_0xdf9337(_0x47b926)),'shift':_0x54e8ab=>_0xc44dc2(_0x54e8ab,!_0xdf9337(_0x54e8ab)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x255a7b=>_0x4306f2(_0x255a7b,_0x57ecf2=>_0xae6a59(_0x255a7b,_0x57ecf2,!_0xdf9337(_0x255a7b))),'shift':_0x1fa602=>_0x491c20(_0x1fa602,_0x423572=>_0xae6a59(_0x1fa602,_0x423572,!_0xdf9337(_0x1fa602))),'preventDefault':!0x0},{'key':'ArrowRight','run':_0x4d6c9a,'shift':_0xe75ad0,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0xe21000=>_0x317193(_0xe21000,_0xdf9337(_0xe21000)),'shift':_0x18ff4c=>_0xc44dc2(_0x18ff4c,_0xdf9337(_0x18ff4c)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x51dece=>_0x4306f2(_0x51dece,_0x540ba3=>_0xae6a59(_0x51dece,_0x540ba3,_0xdf9337(_0x51dece))),'shift':_0x98e094=>_0x491c20(_0x98e094,_0x415756=>_0xae6a59(_0x98e094,_0x415756,_0xdf9337(_0x98e094))),'preventDefault':!0x0},{'key':'ArrowUp','run':_0x2afea6,'shift':_0x22eca4,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_0x5a7f0b,'shift':_0x1a5b88},{'mac':'Ctrl-ArrowUp','run':_0x166d69,'shift':_0x4e7dab},{'key':'ArrowDown','run':_0x150df0,'shift':_0x4b4ff2,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x28efb8,'shift':_0x5d3e28},{'mac':'Ctrl-ArrowDown','run':_0x22d920,'shift':_0x4407cd},{'key':'PageUp','run':_0x166d69,'shift':_0x4e7dab},{'key':'PageDown','run':_0x22d920,'shift':_0x4407cd},{'key':'Home','run':_0x264b53=>_0x4306f2(_0x264b53,_0x5539e7=>_0xae6a59(_0x264b53,_0x5539e7,!0x1)),'shift':_0x165851=>_0x491c20(_0x165851,_0x45b900=>_0xae6a59(_0x165851,_0x45b900,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_0x5a7f0b,'shift':_0x1a5b88},{'key':'End','run':_0x372a09=>_0x4306f2(_0x372a09,_0x150cbb=>_0xae6a59(_0x372a09,_0x150cbb,!0x0)),'shift':_0x278ccc=>_0x491c20(_0x278ccc,_0x291487=>_0xae6a59(_0x278ccc,_0x291487,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':_0x28efb8,'shift':_0x5d3e28},{'key':'Enter','run':_0x173fdb,'shift':_0x173fdb},{'key':'Mod-a','run':({state:_0x8ae0b8,dispatch:_0x809dfa})=>(_0x809dfa(_0x8ae0b8['update']({'selection':{'anchor':0x0,'head':_0x8ae0b8['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':_0x1af68c,'shift':_0x1af68c},{'key':'Delete','run':_0x36667f},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':_0x3a244a},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x4b28f0=>_0x3263ae(_0x4b28f0,!0x0)},{'mac':'Mod-Backspace','run':_0x49b7c1=>_0x316d6a(_0x49b7c1,_0x11b503=>{let _0x329614=_0x49b7c1['moveToLineBoundary'](_0x11b503,!0x1)['head'];return _0x11b503['head']>_0x329614?_0x329614:Math['max'](0x0,_0x11b503['head']-0x1);})},{'mac':'Mod-Delete','run':_0x14fc9e=>_0x316d6a(_0x14fc9e,_0x24dc94=>{let _0x43ccc9=_0x14fc9e['moveToLineBoundary'](_0x24dc94,!0x0)['head'];return _0x24dc94['head']<_0x43ccc9?_0x43ccc9:Math['min'](_0x14fc9e['state']['doc']['length'],_0x24dc94['head']+0x1);})}]['concat'](_0x2d4b25['map'](_0x1ea894=>({'mac':_0x1ea894['key'],'run':_0x1ea894['run'],'shift':_0x1ea894['shift']}))),_0x39f33d=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x31a1be=>_0x4306f2(_0x31a1be,_0x5ef2da=>_0x31a881(_0x31a1be['state'],_0x5ef2da,!_0xdf9337(_0x31a1be))),'shift':_0x66aaca=>_0x491c20(_0x66aaca,_0x25f1f4=>_0x31a881(_0x66aaca['state'],_0x25f1f4,!_0xdf9337(_0x66aaca)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0xd150ea=>_0x4306f2(_0xd150ea,_0x172edf=>_0x31a881(_0xd150ea['state'],_0x172edf,_0xdf9337(_0xd150ea))),'shift':_0x32a4de=>_0x491c20(_0x32a4de,_0x28d86f=>_0x31a881(_0x32a4de['state'],_0x28d86f,_0xdf9337(_0x32a4de)))},{'key':'Alt-ArrowUp','run':({state:_0x30bb69,dispatch:_0x1f13a3})=>_0x2b485f(_0x30bb69,_0x1f13a3,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x5d7263,dispatch:_0x166262})=>_0x363d9c(_0x5d7263,_0x166262,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x375dfe,dispatch:_0x99778e})=>_0x2b485f(_0x375dfe,_0x99778e,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x464348,dispatch:_0x2fff7f})=>_0x363d9c(_0x464348,_0x2fff7f,!0x0)},{'key':'Escape','run':({state:_0x30f9e3,dispatch:_0x50a5c4})=>{let _0xae13ff=_0x30f9e3['selection'],_0x22fb23=null;return _0xae13ff['ranges']['length']>0x1?_0x22fb23=EditorSelection['create']([_0xae13ff['main']]):_0xae13ff['main']['empty']||(_0x22fb23=EditorSelection['create']([EditorSelection['cursor'](_0xae13ff['main']['head'])])),!!_0x22fb23&&(_0x50a5c4(_0x49450c(_0x30f9e3,_0x22fb23)),!0x0);}},{'key':'Mod-Enter','run':_0x4cebc7},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x49ff1a,dispatch:_0xc6f6f2})=>{let _0xd33b3b=_0x4c599f(_0x49ff1a)['map'](({from:_0x14a082,to:_0x32ae75})=>EditorSelection['range'](_0x14a082,Math['min'](_0x32ae75+0x1,_0x49ff1a['doc']['length'])));return _0xc6f6f2(_0x49ff1a['update']({'selection':EditorSelection['create'](_0xd33b3b),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x10c28b,dispatch:_0x57dd53})=>{let _0x23f044=_0x5d835f(_0x10c28b['selection'],_0x20c499=>{let _0x43a992=tE(_0x10c28b),_0x2b0afa=_0x43a992['resolveStack'](_0x20c499['from'],0x1);if(_0x20c499['empty']){let _0x3d5800=_0x43a992['resolveStack'](_0x20c499['from'],-0x1);_0x3d5800['node']['from']>=_0x2b0afa['node']['from']&&_0x3d5800['node']['to']<=_0x2b0afa['node']['to']&&(_0x2b0afa=_0x3d5800);}for(let _0x23c67c=_0x2b0afa;_0x23c67c;_0x23c67c=_0x23c67c['next']){let {node:_0x2b94d8}=_0x23c67c;if((_0x2b94d8['from']<_0x20c499['from']&&_0x2b94d8['to']>=_0x20c499['to']||_0x2b94d8['to']>_0x20c499['to']&&_0x2b94d8['from']<=_0x20c499['from'])&&_0x23c67c['next'])return EditorSelection['range'](_0x2b94d8['to'],_0x2b94d8['from']);}return _0x20c499;});return!_0x23f044['eq'](_0x10c28b['selection'])&&(_0x57dd53(_0x49450c(_0x10c28b,_0x23f044)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_0x237ab6},{'key':'Mod-]','run':_0xa49f26},{'key':'Mod-Alt-\x5c','run':({state:_0x2b8d86,dispatch:_0x1190af})=>{if(_0x2b8d86['readOnly'])return!0x1;let _0x1d7525=Object['create'](null),_0x456c85=new IndentContext(_0x2b8d86,{'overrideIndentation':_0x533c36=>{let _0x670fc6=_0x1d7525[_0x533c36];return null==_0x670fc6?-0x1:_0x670fc6;}}),_0x551315=_0x55dba0(_0x2b8d86,(_0x33c001,_0x1790b7,_0x441e4d)=>{let _0x48de25=_0x438e41(_0x456c85,_0x33c001['from']);if(null==_0x48de25)return;/\S/['test'](_0x33c001['text'])||(_0x48de25=0x0);let _0x34b46d=/^\s*/['exec'](_0x33c001['text'])[0x0],_0x234a22=_0xbc755d(_0x2b8d86,_0x48de25);(_0x34b46d!=_0x234a22||_0x441e4d['from']<_0x33c001['from']+_0x34b46d['length'])&&(_0x1d7525[_0x33c001['from']]=_0x48de25,_0x1790b7['push']({'from':_0x33c001['from'],'to':_0x33c001['from']+_0x34b46d['length'],'insert':_0x234a22}));});return _0x551315['changes']['empty']||_0x1190af(_0x2b8d86['update'](_0x551315,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x1a44fe=>{if(_0x1a44fe['state']['readOnly'])return!0x1;let {state:_0x3782b8}=_0x1a44fe,_0x295ee5=_0x3782b8['changes'](_0x4c599f(_0x3782b8)['map'](({from:_0x42dbf1,to:_0x3fa00f})=>(_0x42dbf1>0x0?_0x42dbf1--:_0x3fa00f<_0x3782b8['doc']['length']&&_0x3fa00f++,{'from':_0x42dbf1,'to':_0x3fa00f}))),_0x1762f2=_0x5d835f(_0x3782b8['selection'],_0x265728=>{let _0x1fd31b;if(_0x1a44fe['lineWrapping']){let _0x55275b=_0x1a44fe['lineBlockAt'](_0x265728['head']),_0x5b7bfd=_0x1a44fe['coordsAtPos'](_0x265728['head'],_0x265728['assoc']||0x1);_0x5b7bfd&&(_0x1fd31b=_0x55275b['bottom']+_0x1a44fe['documentTop']-_0x5b7bfd['bottom']+_0x1a44fe['defaultLineHeight']/0x2);}return _0x1a44fe['moveVertically'](_0x265728,!0x0,_0x1fd31b);})['map'](_0x295ee5);return _0x1a44fe['dispatch']({'changes':_0x295ee5,'selection':_0x1762f2,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x22f48b,dispatch:_0x23664f})=>function(_0x18e592,_0x3c53f8){let _0x3d9426=!0x1,_0x6fcecd=_0x5d835f(_0x18e592['selection'],_0x35adcf=>{let _0xfa7af2=_0xf16058(_0x18e592,_0x35adcf['head'],-0x1)||_0xf16058(_0x18e592,_0x35adcf['head'],0x1)||_0x35adcf['head']>0x0&&_0xf16058(_0x18e592,_0x35adcf['head']-0x1,0x1)||_0x35adcf['head']<_0x18e592['doc']['length']&&_0xf16058(_0x18e592,_0x35adcf['head']+0x1,-0x1);if(!_0xfa7af2||!_0xfa7af2['end'])return _0x35adcf;_0x3d9426=!0x0;let _0x3a994a=_0xfa7af2['start']['from']==_0x35adcf['head']?_0xfa7af2['end']['to']:_0xfa7af2['end']['from'];return EditorSelection['cursor'](_0x3a994a);});return!!_0x3d9426&&(_0x3c53f8(_0x49450c(_0x18e592,_0x6fcecd)),!0x0);}(_0x22f48b,_0x23664f)},{'key':'Mod-/','run':_0x38c343=>{let {state:_0x4d1d65}=_0x38c343,_0x2cd865=_0x4d1d65['doc']['lineAt'](_0x4d1d65['selection']['main']['from']),_0x3541f1=_0xd0c50a(_0x38c343['state'],_0x2cd865['from']);return _0x3541f1['line']?_0x1ac9f8(_0x38c343):!!_0x3541f1['block']&&_0x30ea89(_0x38c343);}},{'key':'Alt-A','run':_0x30b5a2},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':_0x39d577}]['concat'](_0x2758e4);class CompletionContext{constructor(_0x53d663,_0x3229c4,_0x25d05e,_0x4286a6){this['state']=_0x53d663,this['pos']=_0x3229c4,this['explicit']=_0x25d05e,this['view']=_0x4286a6,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x4159aa){let _0x322e58=tE(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x322e58&&_0x4159aa['indexOf'](_0x322e58['name'])<0x0;)_0x322e58=_0x322e58['parent'];return _0x322e58?{'from':_0x322e58['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x322e58['from'],this['pos']),'type':_0x322e58['type']}:null;}['matchBefore'](_0x57f701){let _0x5ee658=this['state']['doc']['lineAt'](this['pos']),_0x380904=Math['max'](_0x5ee658['from'],this['pos']-0xfa),_0x3aa61f=_0x5ee658['text']['slice'](_0x380904-_0x5ee658['from'],this['pos']-_0x5ee658['from']),_0x10991c=_0x3aa61f['search'](_0x413bb1(_0x57f701,!0x1));return _0x10991c<0x0?null:{'from':_0x380904+_0x10991c,'to':this['pos'],'text':_0x3aa61f['slice'](_0x10991c)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x46c715,_0x336df3,_0x43d719){'abort'==_0x46c715&&this['abortListeners']&&(this['abortListeners']['push'](_0x336df3),_0x43d719&&_0x43d719['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function _0x6be359(_0x597005){let _0x10ca92=Object['keys'](_0x597005)['join'](''),_0x2659ea=/\w/['test'](_0x10ca92);return _0x2659ea&&(_0x10ca92=_0x10ca92['replace'](/\w/g,'')),'['+(_0x2659ea?'\x5cw':'')+_0x10ca92['replace'](/[^\w\s]/g,'\x5c$&')+']';}function _0x1aaf06(_0x559ae5){let _0x452b75=_0x559ae5['map'](_0x590c72=>'string'==typeof _0x590c72?{'label':_0x590c72}:_0x590c72),[_0x11801f,_0x4fd4f6]=_0x452b75['every'](_0xc88728=>/^\w+$/['test'](_0xc88728['label']))?[/\w*$/,/\w+$/]:function(_0xae9284){let _0x505b34=Object['create'](null),_0x501d6d=Object['create'](null);for(let {label:_0x5381ef}of _0xae9284){_0x505b34[_0x5381ef[0x0]]=!0x0;for(let _0xc8d9ac=0x1;_0xc8d9ac<_0x5381ef['length'];_0xc8d9ac++)_0x501d6d[_0x5381ef[_0xc8d9ac]]=!0x0;}let _0x48da83=_0x6be359(_0x505b34)+_0x6be359(_0x501d6d)+'*$';return[new RegExp('^'+_0x48da83),new RegExp(_0x48da83)];}(_0x452b75);return _0x4dce26=>{let _0x5b9843=_0x4dce26['matchBefore'](_0x4fd4f6);return _0x5b9843||_0x4dce26['explicit']?{'from':_0x5b9843?_0x5b9843['from']:_0x4dce26['pos'],'options':_0x452b75,'validFor':_0x11801f}:null;};}class Option{constructor(_0x4c6027,_0x2d2d8d,_0x4d544d,_0x4d6dfd){this['completion']=_0x4c6027,this['source']=_0x2d2d8d,this['match']=_0x4d544d,this['score']=_0x4d6dfd;}}function _0x5c24c5(_0x24b149){return _0x24b149['selection']['main']['from'];}function _0x413bb1(_0x414418,_0x3a1225){var _0x11f272;let {source:_0x312634}=_0x414418,_0x41d4ef=_0x3a1225&&'^'!=_0x312634[0x0],_0x44284e='$'!=_0x312634[_0x312634['length']-0x1];return _0x41d4ef||_0x44284e?new RegExp((_0x41d4ef?'^':'')+'(?:'+_0x312634+')'+(_0x44284e?'$':''),null!==(_0x11f272=_0x414418['flags'])&&void 0x0!==_0x11f272?_0x11f272:_0x414418['ignoreCase']?'i':''):_0x414418;}const _0x1c6251=Annotation['define']();function _0x4eb0d9(_0x47e137,_0x47b38d,_0x588c54,_0x9ba95a){let {main:_0x487fc1}=_0x47e137['selection'],_0x2ae613=_0x588c54-_0x487fc1['from'],_0x586eda=_0x9ba95a-_0x487fc1['from'];return{..._0x47e137['changeByRange'](_0x143043=>{if(_0x143043!=_0x487fc1&&_0x588c54!=_0x9ba95a&&_0x47e137['sliceDoc'](_0x143043['from']+_0x2ae613,_0x143043['from']+_0x586eda)!=_0x47e137['sliceDoc'](_0x588c54,_0x9ba95a))return{'range':_0x143043};let _0x2a6ae5=_0x47e137['toText'](_0x47b38d);return{'changes':{'from':_0x143043['from']+_0x2ae613,'to':_0x9ba95a==_0x487fc1['from']?_0x143043['to']:_0x143043['from']+_0x586eda,'insert':_0x2a6ae5},'range':EditorSelection['cursor'](_0x143043['from']+_0x2ae613+_0x2a6ae5['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const tS=new WeakMap();function _0x59c850(_0x2b6b19){if(!Array['isArray'](_0x2b6b19))return _0x2b6b19;let _0x569357=tS['get'](_0x2b6b19);return _0x569357||tS['set'](_0x2b6b19,_0x569357=_0x1aaf06(_0x2b6b19)),_0x569357;}const _0x11f744=StateEffect['define'](),_0x88f44c=StateEffect['define']();class FuzzyMatcher{constructor(_0x4c74e4){this['pattern']=_0x4c74e4,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x4ec0b5=0x0;_0x4ec0b5<_0x4c74e4['length'];){let _0x566f79=_0x45c349(_0x4c74e4,_0x4ec0b5),_0x214dcb=_0x91b08f(_0x566f79);this['chars']['push'](_0x566f79);let _0x4c468a=_0x4c74e4['slice'](_0x4ec0b5,_0x4ec0b5+_0x214dcb),_0x4a98b2=_0x4c468a['toUpperCase']();this['folded']['push'](_0x45c349(_0x4a98b2==_0x4c468a?_0x4c468a['toLowerCase']():_0x4a98b2,0x0)),_0x4ec0b5+=_0x214dcb;}this['astral']=_0x4c74e4['length']!=this['chars']['length'];}['ret'](_0x26d2dc,_0x17cee4){return this['score']=_0x26d2dc,this['matched']=_0x17cee4,this;}['match'](_0x3b58f2){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x3b58f2['length']<this['pattern']['length'])return null;let {chars:_0x2f9230,folded:_0x332445,any:_0x25210c,precise:_0x533360,byWord:_0x54b75b}=this;if(0x1==_0x2f9230['length']){let _0x2fee24=_0x45c349(_0x3b58f2,0x0),_0xbaea08=_0x91b08f(_0x2fee24),_0x172eff=_0xbaea08==_0x3b58f2['length']?0x0:-0x64;if(_0x2fee24==_0x2f9230[0x0]);else{if(_0x2fee24!=_0x332445[0x0])return null;_0x172eff+=-0xc8;}return this['ret'](_0x172eff,[0x0,_0xbaea08]);}let _0x379874=_0x3b58f2['indexOf'](this['pattern']);if(0x0==_0x379874)return this['ret'](_0x3b58f2['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x30a222=_0x2f9230['length'],_0x4dafa0=0x0;if(_0x379874<0x0){for(let _0xab400=0x0,_0x5005a1=Math['min'](_0x3b58f2['length'],0xc8);_0xab400<_0x5005a1&&_0x4dafa0<_0x30a222;){let _0x55361d=_0x45c349(_0x3b58f2,_0xab400);_0x55361d!=_0x2f9230[_0x4dafa0]&&_0x55361d!=_0x332445[_0x4dafa0]||(_0x25210c[_0x4dafa0++]=_0xab400),_0xab400+=_0x91b08f(_0x55361d);}if(_0x4dafa0<_0x30a222)return null;}let _0x44d8ba=0x0,_0x5a451c=0x0,_0x3c4e5c=!0x1,_0x10812a=0x0,_0x391c2f=-0x1,_0x1ba371=-0x1,_0x4fdc89=/[a-z]/['test'](_0x3b58f2),_0x184974=!0x0;for(let _0x346906=0x0,_0x39639d=Math['min'](_0x3b58f2['length'],0xc8),_0x3c7cad=0x0;_0x346906<_0x39639d&&_0x5a451c<_0x30a222;){let _0x2332a4=_0x45c349(_0x3b58f2,_0x346906);_0x379874<0x0&&(_0x44d8ba<_0x30a222&&_0x2332a4==_0x2f9230[_0x44d8ba]&&(_0x533360[_0x44d8ba++]=_0x346906),_0x10812a<_0x30a222&&(_0x2332a4==_0x2f9230[_0x10812a]||_0x2332a4==_0x332445[_0x10812a]?(0x0==_0x10812a&&(_0x391c2f=_0x346906),_0x1ba371=_0x346906+0x1,_0x10812a++):_0x10812a=0x0));let _0x449850,_0x1d5298=_0x2332a4<0xff?_0x2332a4>=0x30&&_0x2332a4<=0x39||_0x2332a4>=0x61&&_0x2332a4<=0x7a?0x2:_0x2332a4>=0x41&&_0x2332a4<=0x5a?0x1:0x0:(_0x449850=_0x5bfaa8(_0x2332a4))!=_0x449850['toLowerCase']()?0x1:_0x449850!=_0x449850['toUpperCase']()?0x2:0x0;(!_0x346906||0x1==_0x1d5298&&_0x4fdc89||0x0==_0x3c7cad&&0x0!=_0x1d5298)&&(_0x2f9230[_0x5a451c]==_0x2332a4||_0x332445[_0x5a451c]==_0x2332a4&&(_0x3c4e5c=!0x0)?_0x54b75b[_0x5a451c++]=_0x346906:_0x54b75b['length']&&(_0x184974=!0x1)),_0x3c7cad=_0x1d5298,_0x346906+=_0x91b08f(_0x2332a4);}return _0x5a451c==_0x30a222&&0x0==_0x54b75b[0x0]&&_0x184974?this['result']((_0x3c4e5c?-0xc8:0x0)-0x64,_0x54b75b,_0x3b58f2):_0x10812a==_0x30a222&&0x0==_0x391c2f?this['ret'](-0xc8-_0x3b58f2['length']+(_0x1ba371==_0x3b58f2['length']?0x0:-0x64),[0x0,_0x1ba371]):_0x379874>-0x1?this['ret'](-0x2bc-_0x3b58f2['length'],[_0x379874,_0x379874+this['pattern']['length']]):_0x10812a==_0x30a222?this['ret'](-0x384-_0x3b58f2['length'],[_0x391c2f,_0x1ba371]):_0x5a451c==_0x30a222?this['result']((_0x3c4e5c?-0xc8:0x0)-0x64-0x2bc+(_0x184974?0x0:-0x44c),_0x54b75b,_0x3b58f2):0x2==_0x2f9230['length']?null:this['result']((_0x25210c[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x25210c,_0x3b58f2);}['result'](_0x2be661,_0x5a3d1f,_0xc6416){let _0x294023=[],_0x35171a=0x0;for(let _0x4f15e6 of _0x5a3d1f){let _0x35a5b2=_0x4f15e6+(this['astral']?_0x91b08f(_0x45c349(_0xc6416,_0x4f15e6)):0x1);_0x35171a&&_0x294023[_0x35171a-0x1]==_0x4f15e6?_0x294023[_0x35171a-0x1]=_0x35a5b2:(_0x294023[_0x35171a++]=_0x4f15e6,_0x294023[_0x35171a++]=_0x35a5b2);}return this['ret'](_0x2be661-_0xc6416['length'],_0x294023);}}class StrictMatcher{constructor(_0x1a03fd){this['pattern']=_0x1a03fd,this['matched']=[],this['score']=0x0,this['folded']=_0x1a03fd['toLowerCase']();}['match'](_0x3e7218){if(_0x3e7218['length']<this['pattern']['length'])return null;let _0x4a5f26=_0x3e7218['slice'](0x0,this['pattern']['length']),_0x76fdd0=_0x4a5f26==this['pattern']?0x0:_0x4a5f26['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x76fdd0?null:(this['matched']=[0x0,_0x4a5f26['length']],this['score']=_0x76fdd0+(_0x3e7218['length']==this['pattern']['length']?0x0:-0x64),this);}}const _0x306f39=Facet['define']({'combine':_0x2151c6=>_0x267f8f(_0x2151c6,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':_0x598c6c,'filterStrict':!0x1,'compareCompletions':(_0x5876da,_0x351f91)=>_0x5876da['label']['localeCompare'](_0x351f91['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x72aa43,_0x82468d)=>_0x72aa43&&_0x82468d,'closeOnBlur':(_0x4ad39a,_0x553cce)=>_0x4ad39a&&_0x553cce,'icons':(_0x2e75e5,_0x4eb4a9)=>_0x2e75e5&&_0x4eb4a9,'tooltipClass':(_0x5e897a,_0x235aef)=>_0x2daf65=>_0x25ab49(_0x5e897a(_0x2daf65),_0x235aef(_0x2daf65)),'optionClass':(_0x5bc7b2,_0x5e235f)=>_0x4c2e5d=>_0x25ab49(_0x5bc7b2(_0x4c2e5d),_0x5e235f(_0x4c2e5d)),'addToOptions':(_0x2a4422,_0x438997)=>_0x2a4422['concat'](_0x438997),'filterStrict':(_0x2657d2,_0xdac9cd)=>_0x2657d2||_0xdac9cd})});function _0x25ab49(_0x3d84bb,_0x1c368c){return _0x3d84bb?_0x1c368c?_0x3d84bb+'\x20'+_0x1c368c:_0x3d84bb:_0x1c368c;}function _0x598c6c(_0x15c235,_0x2ec540,_0x5dfce0,_0x34d88f,_0xdd4c54,_0x2278ef){let _0x2e6052,_0x1bf0b6,_0x2504f6=_0x15c235['textDirection']==_0x5d0416['RTL'],_0x147405=_0x2504f6,_0x972e2a=!0x1,_0x44e2bc='top',_0xf134ea=_0x2ec540['left']-_0xdd4c54['left'],_0x296446=_0xdd4c54['right']-_0x2ec540['right'],_0x197ee7=_0x34d88f['right']-_0x34d88f['left'],_0x281151=_0x34d88f['bottom']-_0x34d88f['top'];if(_0x147405&&_0xf134ea<Math['min'](_0x197ee7,_0x296446)?_0x147405=!0x1:!_0x147405&&_0x296446<Math['min'](_0x197ee7,_0xf134ea)&&(_0x147405=!0x0),_0x197ee7<=(_0x147405?_0xf134ea:_0x296446))_0x2e6052=Math['max'](_0xdd4c54['top'],Math['min'](_0x5dfce0['top'],_0xdd4c54['bottom']-_0x281151))-_0x2ec540['top'],_0x1bf0b6=Math['min'](0x190,_0x147405?_0xf134ea:_0x296446);else{_0x972e2a=!0x0,_0x1bf0b6=Math['min'](0x190,(_0x2504f6?_0x2ec540['right']:_0xdd4c54['right']-_0x2ec540['left'])-0x1e);let _0x2c635b=_0xdd4c54['bottom']-_0x2ec540['bottom'];_0x2c635b>=_0x281151||_0x2c635b>_0x2ec540['top']?_0x2e6052=_0x5dfce0['bottom']-_0x2ec540['top']:(_0x44e2bc='bottom',_0x2e6052=_0x2ec540['bottom']-_0x5dfce0['top']);}return{'style':_0x44e2bc+':\x20'+_0x2e6052/((_0x2ec540['bottom']-_0x2ec540['top'])/_0x2278ef['offsetHeight'])+'px;\x20max-width:\x20'+_0x1bf0b6/((_0x2ec540['right']-_0x2ec540['left'])/_0x2278ef['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x972e2a?_0x2504f6?'left-narrow':'right-narrow':_0x147405?'left':'right')};}function _0x4dfdd3(_0x25c93e,_0x109b33,_0x4ed307){if(_0x25c93e<=_0x4ed307)return{'from':0x0,'to':_0x25c93e};if(_0x109b33<0x0&&(_0x109b33=0x0),_0x109b33<=_0x25c93e>>0x1){let _0x254464=Math['floor'](_0x109b33/_0x4ed307);return{'from':_0x254464*_0x4ed307,'to':(_0x254464+0x1)*_0x4ed307};}let _0x77e9f3=Math['floor']((_0x25c93e-_0x109b33)/_0x4ed307);return{'from':_0x25c93e-(_0x77e9f3+0x1)*_0x4ed307,'to':_0x25c93e-_0x77e9f3*_0x4ed307};}class CompletionTooltip{constructor(_0x272bda,_0x47146d,_0xeee608){this['view']=_0x272bda,this['stateField']=_0x47146d,this['applyCompletion']=_0xeee608,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x366572=>this['placeInfo'](_0x366572),'key':this},this['space']=null,this['currentClass']='';let _0x47bd21=_0x272bda['state']['field'](_0x47146d),{options:_0x5398c8,selected:_0x1c0b74}=_0x47bd21['open'],_0x6a1ea9=_0x272bda['state']['facet'](_0x306f39);this['optionContent']=function(_0x5e74cb){let _0x42a611=_0x5e74cb['addToOptions']['slice']();return _0x5e74cb['icons']&&_0x42a611['push']({'render'(_0x5d9bfb){let _0x5c9047=document['createElement']('div');return _0x5c9047['classList']['add']('cm-completionIcon'),_0x5d9bfb['type']&&_0x5c9047['classList']['add'](..._0x5d9bfb['type']['split'](/\s+/g)['map'](_0x4068aa=>'cm-completionIcon-'+_0x4068aa)),_0x5c9047['setAttribute']('aria-hidden','true'),_0x5c9047;},'position':0x14}),_0x42a611['push']({'render'(_0x159b78,_0x20d3cf,_0x8abef3,_0x5cafee){let _0x195a93=document['createElement']('span');_0x195a93['className']='cm-completionLabel';let _0x5e5b89=_0x159b78['displayLabel']||_0x159b78['label'],_0xa1078c=0x0;for(let _0x5011e5=0x0;_0x5011e5<_0x5cafee['length'];){let _0x523ade=_0x5cafee[_0x5011e5++],_0xc4a3ea=_0x5cafee[_0x5011e5++];_0x523ade>_0xa1078c&&_0x195a93['appendChild'](document['createTextNode'](_0x5e5b89['slice'](_0xa1078c,_0x523ade)));let _0x24f7a7=_0x195a93['appendChild'](document['createElement']('span'));_0x24f7a7['appendChild'](document['createTextNode'](_0x5e5b89['slice'](_0x523ade,_0xc4a3ea))),_0x24f7a7['className']='cm-completionMatchedText',_0xa1078c=_0xc4a3ea;}return _0xa1078c<_0x5e5b89['length']&&_0x195a93['appendChild'](document['createTextNode'](_0x5e5b89['slice'](_0xa1078c))),_0x195a93;},'position':0x32},{'render'(_0x2bed75){if(!_0x2bed75['detail'])return null;let _0x22d97e=document['createElement']('span');return _0x22d97e['className']='cm-completionDetail',_0x22d97e['textContent']=_0x2bed75['detail'],_0x22d97e;},'position':0x50}),_0x42a611['sort']((_0x3bc606,_0x104540)=>_0x3bc606['position']-_0x104540['position'])['map'](_0x492d96=>_0x492d96['render']);}(_0x6a1ea9),this['optionClass']=_0x6a1ea9['optionClass'],this['tooltipClass']=_0x6a1ea9['tooltipClass'],this['range']=_0x4dfdd3(_0x5398c8['length'],_0x1c0b74,_0x6a1ea9['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x272bda['state']),this['dom']['addEventListener']('mousedown',_0x483ff8=>{let {options:_0x55aadd}=_0x272bda['state']['field'](_0x47146d)['open'];for(let _0x44adbf,_0x44b8bc=_0x483ff8['target'];_0x44b8bc&&_0x44b8bc!=this['dom'];_0x44b8bc=_0x44b8bc['parentNode'])if('LI'==_0x44b8bc['nodeName']&&(_0x44adbf=/-(\d+)$/['exec'](_0x44b8bc['id']))&&+_0x44adbf[0x1]<_0x55aadd['length'])return this['applyCompletion'](_0x272bda,_0x55aadd[+_0x44adbf[0x1]]),void _0x483ff8['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x55960f=>{let _0x25de76=_0x272bda['state']['field'](this['stateField'],!0x1);_0x25de76&&_0x25de76['tooltip']&&_0x272bda['state']['facet'](_0x306f39)['closeOnBlur']&&_0x55960f['relatedTarget']!=_0x272bda['contentDOM']&&_0x272bda['dispatch']({'effects':_0x88f44c['of'](null)});}),this['showOptions'](_0x5398c8,_0x47bd21['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x5af72a,_0x237f02){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x5af72a,_0x237f02,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x3dc9ed){var _0x3a2513;let _0x17f0ff=_0x3dc9ed['state']['field'](this['stateField']),_0x3695e4=_0x3dc9ed['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x3dc9ed['state']),_0x17f0ff!=_0x3695e4){let {options:_0xffaf96,selected:_0x52c27f,disabled:_0x25aa06}=_0x17f0ff['open'];_0x3695e4['open']&&_0x3695e4['open']['options']==_0xffaf96||(this['range']=_0x4dfdd3(_0xffaf96['length'],_0x52c27f,_0x3dc9ed['state']['facet'](_0x306f39)['maxRenderedOptions']),this['showOptions'](_0xffaf96,_0x17f0ff['id'])),this['updateSel'](),_0x25aa06!=(null===(_0x3a2513=_0x3695e4['open'])||void 0x0===_0x3a2513?void 0x0:_0x3a2513['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x25aa06);}}['updateTooltipClass'](_0x5b1dab){let _0x34c4fb=this['tooltipClass'](_0x5b1dab);if(_0x34c4fb!=this['currentClass']){for(let _0xdfd4c7 of this['currentClass']['split']('\x20'))_0xdfd4c7&&this['dom']['classList']['remove'](_0xdfd4c7);for(let _0x4435a7 of _0x34c4fb['split']('\x20'))_0x4435a7&&this['dom']['classList']['add'](_0x4435a7);this['currentClass']=_0x34c4fb;}}['positioned'](_0x374ef5){this['space']=_0x374ef5,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x5386e0=this['view']['state']['field'](this['stateField']),_0x58c636=_0x5386e0['open'];(_0x58c636['selected']>-0x1&&_0x58c636['selected']<this['range']['from']||_0x58c636['selected']>=this['range']['to'])&&(this['range']=_0x4dfdd3(_0x58c636['options']['length'],_0x58c636['selected'],this['view']['state']['facet'](_0x306f39)['maxRenderedOptions']),this['showOptions'](_0x58c636['options'],_0x5386e0['id']));let _0x354884=this['updateSelectedOption'](_0x58c636['selected']);if(_0x354884){this['destroyInfo']();let {completion:_0x24dd89}=_0x58c636['options'][_0x58c636['selected']],{info:_0x4610bb}=_0x24dd89;if(!_0x4610bb)return;let _0x18c2ac='string'==typeof _0x4610bb?document['createTextNode'](_0x4610bb):_0x4610bb(_0x24dd89);if(!_0x18c2ac)return;'then'in _0x18c2ac?_0x18c2ac['then'](_0x539050=>{_0x539050&&this['view']['state']['field'](this['stateField'],!0x1)==_0x5386e0&&this['addInfoPane'](_0x539050,_0x24dd89);})['catch'](_0x553d78=>_0x23aa16(this['view']['state'],_0x553d78,'completion\x20info')):(this['addInfoPane'](_0x18c2ac,_0x24dd89),_0x354884['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x35f4ed,_0x5b9aa6){this['destroyInfo']();let _0x1ec666=this['info']=document['createElement']('div');if(_0x1ec666['className']='cm-tooltip\x20cm-completionInfo',_0x1ec666['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x35f4ed['nodeType'])_0x1ec666['appendChild'](_0x35f4ed),this['infoDestroy']=null;else{let {dom:_0x32b64d,destroy:_0xfc58bf}=_0x35f4ed;_0x1ec666['appendChild'](_0x32b64d),this['infoDestroy']=_0xfc58bf||null;}this['dom']['appendChild'](_0x1ec666),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x262a9a){let _0x4f10fe=null;for(let _0x4711c6=this['list']['firstChild'],_0x46ccd4=this['range']['from'];_0x4711c6;_0x4711c6=_0x4711c6['nextSibling'],_0x46ccd4++)'LI'==_0x4711c6['nodeName']&&_0x4711c6['id']?_0x46ccd4==_0x262a9a?_0x4711c6['hasAttribute']('aria-selected')||(_0x4711c6['setAttribute']('aria-selected','true'),_0x4f10fe=_0x4711c6):_0x4711c6['hasAttribute']('aria-selected')&&(_0x4711c6['removeAttribute']('aria-selected'),_0x4711c6['removeAttribute']('aria-describedby')):_0x46ccd4--;return _0x4f10fe&&function(_0x2c1395,_0x376765){let _0x34ff40=_0x2c1395['getBoundingClientRect'](),_0x2bfd10=_0x376765['getBoundingClientRect'](),_0x1ef174=_0x34ff40['height']/_0x2c1395['offsetHeight'];_0x2bfd10['top']<_0x34ff40['top']?_0x2c1395['scrollTop']-=(_0x34ff40['top']-_0x2bfd10['top'])/_0x1ef174:_0x2bfd10['bottom']>_0x34ff40['bottom']&&(_0x2c1395['scrollTop']+=(_0x2bfd10['bottom']-_0x34ff40['bottom'])/_0x1ef174);}(this['list'],_0x4f10fe),_0x4f10fe;}['measureInfo'](){let _0x318c19=this['dom']['querySelector']('[aria-selected]');if(!_0x318c19||!this['info'])return null;let _0x29a060=this['dom']['getBoundingClientRect'](),_0x595c54=this['info']['getBoundingClientRect'](),_0x1d75e2=_0x318c19['getBoundingClientRect'](),_0x111976=this['space'];if(!_0x111976){let _0x4fee0=this['dom']['ownerDocument']['documentElement'];_0x111976={'left':0x0,'top':0x0,'right':_0x4fee0['clientWidth'],'bottom':_0x4fee0['clientHeight']};}return _0x1d75e2['top']>Math['min'](_0x111976['bottom'],_0x29a060['bottom'])-0xa||_0x1d75e2['bottom']<Math['max'](_0x111976['top'],_0x29a060['top'])+0xa?null:this['view']['state']['facet'](_0x306f39)['positionInfo'](this['view'],_0x29a060,_0x1d75e2,_0x595c54,_0x111976,this['dom']);}['placeInfo'](_0x3fc4a6){this['info']&&(_0x3fc4a6?(_0x3fc4a6['style']&&(this['info']['style']['cssText']=_0x3fc4a6['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x3fc4a6['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x3dc438,_0x156271,_0x57f2c0){const _0x16fa87=document['createElement']('ul');_0x16fa87['id']=_0x156271,_0x16fa87['setAttribute']('role','listbox'),_0x16fa87['setAttribute']('aria-expanded','true'),_0x16fa87['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x16fa87['addEventListener']('mousedown',_0x19d2da=>{_0x19d2da['target']==_0x16fa87&&_0x19d2da['preventDefault']();});let _0x5b07a9=null;for(let _0x2dc8a1=_0x57f2c0['from'];_0x2dc8a1<_0x57f2c0['to'];_0x2dc8a1++){let {completion:_0x375e0b,match:_0x5eff9a}=_0x3dc438[_0x2dc8a1],{section:_0x5175ce}=_0x375e0b;if(_0x5175ce){let _0x1f6b21='string'==typeof _0x5175ce?_0x5175ce:_0x5175ce['name'];if(_0x1f6b21!=_0x5b07a9&&(_0x2dc8a1>_0x57f2c0['from']||0x0==_0x57f2c0['from'])){if(_0x5b07a9=_0x1f6b21,'string'!=typeof _0x5175ce&&_0x5175ce['header'])_0x16fa87['appendChild'](_0x5175ce['header'](_0x5175ce));else _0x16fa87['appendChild'](document['createElement']('completion-section'))['textContent']=_0x1f6b21;}}const _0x3f8400=_0x16fa87['appendChild'](document['createElement']('li'));_0x3f8400['id']=_0x156271+'-'+_0x2dc8a1,_0x3f8400['setAttribute']('role','option');let _0x395393=this['optionClass'](_0x375e0b);_0x395393&&(_0x3f8400['className']=_0x395393);for(let _0x1f5bc9 of this['optionContent']){let _0x48bf5e=_0x1f5bc9(_0x375e0b,this['view']['state'],this['view'],_0x5eff9a);_0x48bf5e&&_0x3f8400['appendChild'](_0x48bf5e);}}return _0x57f2c0['from']&&_0x16fa87['classList']['add']('cm-completionListIncompleteTop'),_0x57f2c0['to']<_0x3dc438['length']&&_0x16fa87['classList']['add']('cm-completionListIncompleteBottom'),_0x16fa87;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function _0x1635d1(_0x5eaa16,_0x131ccf){return _0x56005e=>new CompletionTooltip(_0x56005e,_0x5eaa16,_0x131ccf);}function _0x49946c(_0x43bd99){return 0x64*(_0x43bd99['boost']||0x0)+(_0x43bd99['apply']?0xa:0x0)+(_0x43bd99['info']?0x5:0x0)+(_0x43bd99['type']?0x1:0x0);}class CompletionDialog{constructor(_0x43889a,_0x36a1d8,_0x3ca747,_0x52768e,_0x50777a,_0x5956ab){this['options']=_0x43889a,this['attrs']=_0x36a1d8,this['tooltip']=_0x3ca747,this['timestamp']=_0x52768e,this['selected']=_0x50777a,this['disabled']=_0x5956ab;}['setSelected'](_0x4606c8,_0x1856d3){return _0x4606c8==this['selected']||_0x4606c8>=this['options']['length']?this:new CompletionDialog(this['options'],_0x318156(_0x1856d3,_0x4606c8),this['tooltip'],this['timestamp'],_0x4606c8,this['disabled']);}static['build'](_0xe5cb78,_0x479bcc,_0x318cdd,_0x52fbc3,_0x762319,_0x42a453){if(_0x52fbc3&&!_0x42a453&&_0xe5cb78['some'](_0x177bc5=>_0x177bc5['isPending']))return _0x52fbc3['setDisabled']();let _0x3f4725=function(_0x18ed81,_0x225da5){let _0x5db36d=[],_0x5e95fc=null,_0x1fb08b=null,_0x3530e9=_0x18c661=>{_0x5db36d['push'](_0x18c661);let {section:_0x27fc56}=_0x18c661['completion'];if(_0x27fc56){_0x5e95fc||(_0x5e95fc=[]);let _0x2355dd='string'==typeof _0x27fc56?_0x27fc56:_0x27fc56['name'];_0x5e95fc['some'](_0x260955=>_0x260955['name']==_0x2355dd)||_0x5e95fc['push']('string'==typeof _0x27fc56?{'name':_0x2355dd}:_0x27fc56);}},_0x28a197=_0x225da5['facet'](_0x306f39);for(let _0x5c7ecd of _0x18ed81)if(_0x5c7ecd['hasResult']()){let _0x5a8afe=_0x5c7ecd['result']['getMatch'];if(!0x1===_0x5c7ecd['result']['filter']){for(let _0x16c6cc of _0x5c7ecd['result']['options'])_0x3530e9(new Option(_0x16c6cc,_0x5c7ecd['source'],_0x5a8afe?_0x5a8afe(_0x16c6cc):[],0x3b9aca00-_0x5db36d['length']));}else{let _0x5640c0,_0x56cf37=_0x225da5['sliceDoc'](_0x5c7ecd['from'],_0x5c7ecd['to']),_0x3e0d8e=_0x28a197['filterStrict']?new StrictMatcher(_0x56cf37):new FuzzyMatcher(_0x56cf37);for(let _0x42063f of _0x5c7ecd['result']['options'])if(_0x5640c0=_0x3e0d8e['match'](_0x42063f['label'])){let _0x37b88d=_0x42063f['displayLabel']?_0x5a8afe?_0x5a8afe(_0x42063f,_0x5640c0['matched']):[]:_0x5640c0['matched'],_0x403b11=_0x5640c0['score']+(_0x42063f['boost']||0x0);if(_0x3530e9(new Option(_0x42063f,_0x5c7ecd['source'],_0x37b88d,_0x403b11)),'object'==typeof _0x42063f['section']&&'dynamic'===_0x42063f['section']['rank']){let {name:_0x3e462b}=_0x42063f['section'];_0x1fb08b||(_0x1fb08b=Object['create'](null)),_0x1fb08b[_0x3e462b]=Math['max'](_0x403b11,_0x1fb08b[_0x3e462b]||-0x3b9aca00);}}}}if(_0x5e95fc){let _0x14cbbc=Object['create'](null),_0x2d6315=0x0,_0x56e722=(_0x221e06,_0x446312)=>('dynamic'===_0x221e06['rank']&&'dynamic'===_0x446312['rank']?_0x1fb08b[_0x446312['name']]-_0x1fb08b[_0x221e06['name']]:0x0)||('number'==typeof _0x221e06['rank']?_0x221e06['rank']:0x3b9aca00)-('number'==typeof _0x446312['rank']?_0x446312['rank']:0x3b9aca00)||(_0x221e06['name']<_0x446312['name']?-0x1:0x1);for(let _0x28b574 of _0x5e95fc['sort'](_0x56e722))_0x2d6315-=0x186a0,_0x14cbbc[_0x28b574['name']]=_0x2d6315;for(let _0x317ad5 of _0x5db36d){let {section:_0x4fb79b}=_0x317ad5['completion'];_0x4fb79b&&(_0x317ad5['score']+=_0x14cbbc['string'==typeof _0x4fb79b?_0x4fb79b:_0x4fb79b['name']]);}}let _0x36f352=[],_0x39b988=null,_0x66c812=_0x28a197['compareCompletions'];for(let _0x39174e of _0x5db36d['sort']((_0x558502,_0xcaa009)=>_0xcaa009['score']-_0x558502['score']||_0x66c812(_0x558502['completion'],_0xcaa009['completion']))){let _0x1b3b1e=_0x39174e['completion'];!_0x39b988||_0x39b988['label']!=_0x1b3b1e['label']||_0x39b988['detail']!=_0x1b3b1e['detail']||null!=_0x39b988['type']&&null!=_0x1b3b1e['type']&&_0x39b988['type']!=_0x1b3b1e['type']||_0x39b988['apply']!=_0x1b3b1e['apply']||_0x39b988['boost']!=_0x1b3b1e['boost']?_0x36f352['push'](_0x39174e):_0x49946c(_0x39174e['completion'])>_0x49946c(_0x39b988)&&(_0x36f352[_0x36f352['length']-0x1]=_0x39174e),_0x39b988=_0x39174e['completion'];}return _0x36f352;}(_0xe5cb78,_0x479bcc);if(!_0x3f4725['length'])return _0x52fbc3&&_0xe5cb78['some'](_0x3c1b82=>_0x3c1b82['isPending'])?_0x52fbc3['setDisabled']():null;let _0x1db455=_0x479bcc['facet'](_0x306f39)['selectOnOpen']?0x0:-0x1;if(_0x52fbc3&&_0x52fbc3['selected']!=_0x1db455&&-0x1!=_0x52fbc3['selected']){let _0x1bf9ea=_0x52fbc3['options'][_0x52fbc3['selected']]['completion'];for(let _0x44eaa5=0x0;_0x44eaa5<_0x3f4725['length'];_0x44eaa5++)if(_0x3f4725[_0x44eaa5]['completion']==_0x1bf9ea){_0x1db455=_0x44eaa5;break;}}return new CompletionDialog(_0x3f4725,_0x318156(_0x318cdd,_0x1db455),{'pos':_0xe5cb78['reduce']((_0x2516ce,_0x36fb71)=>_0x36fb71['hasResult']()?Math['min'](_0x2516ce,_0x36fb71['from']):_0x2516ce,0x5f5e100),'create':_0x2fa3ef,'above':_0x762319['aboveCursor']},_0x52fbc3?_0x52fbc3['timestamp']:Date['now'](),_0x1db455,!0x1);}['map'](_0x4c33fb){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x4c33fb['mapPos'](this['tooltip']['pos'])},this['timestamp'],this['selected'],this['disabled']);}['setDisabled'](){return new CompletionDialog(this['options'],this['attrs'],this['tooltip'],this['timestamp'],this['selected'],!0x0);}}class CompletionState{constructor(_0x585db2,_0x4036b7,_0x3b6cfa){this['active']=_0x585db2,this['id']=_0x4036b7,this['open']=_0x3b6cfa;}static['start'](){return new CompletionState(_0x54303d,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x3acdda){let {state:_0xece487}=_0x3acdda,_0x5e9ad9=_0xece487['facet'](_0x306f39),_0x1eedf9=(_0x5e9ad9['override']||_0xece487['languageDataAt']('autocomplete',_0x5c24c5(_0xece487))['map'](_0x59c850))['map'](_0x4aa19d=>{let _0x53d826=this['active']['find'](_0x10f750=>_0x10f750['source']==_0x4aa19d)||new ActiveSource(_0x4aa19d,this['active']['some'](_0x80aa7b=>0x0!=_0x80aa7b['state'])?0x1:0x0);return _0x53d826['update'](_0x3acdda,_0x5e9ad9);});_0x1eedf9['length']==this['active']['length']&&_0x1eedf9['every']((_0x5537f2,_0x33bb1b)=>_0x5537f2==this['active'][_0x33bb1b])&&(_0x1eedf9=this['active']);let _0xc6fe61=this['open'],_0x59d2ee=_0x3acdda['effects']['some'](_0x183046=>_0x183046['is'](_0x45107c));_0xc6fe61&&_0x3acdda['docChanged']&&(_0xc6fe61=_0xc6fe61['map'](_0x3acdda['changes'])),_0x3acdda['selection']||_0x1eedf9['some'](_0x5129bb=>_0x5129bb['hasResult']()&&_0x3acdda['changes']['touchesRange'](_0x5129bb['from'],_0x5129bb['to']))||!function(_0x4aba12,_0x1d2622){if(_0x4aba12==_0x1d2622)return!0x0;for(let _0x548b64=0x0,_0x3c1e79=0x0;;){for(;_0x548b64<_0x4aba12['length']&&!_0x4aba12[_0x548b64]['hasResult']();)_0x548b64++;for(;_0x3c1e79<_0x1d2622['length']&&!_0x1d2622[_0x3c1e79]['hasResult']();)_0x3c1e79++;let _0x107fc8=_0x548b64==_0x4aba12['length'],_0x73bc2e=_0x3c1e79==_0x1d2622['length'];if(_0x107fc8||_0x73bc2e)return _0x107fc8==_0x73bc2e;if(_0x4aba12[_0x548b64++]['result']!=_0x1d2622[_0x3c1e79++]['result'])return!0x1;}}(_0x1eedf9,this['active'])||_0x59d2ee?_0xc6fe61=CompletionDialog['build'](_0x1eedf9,_0xece487,this['id'],_0xc6fe61,_0x5e9ad9,_0x59d2ee):_0xc6fe61&&_0xc6fe61['disabled']&&!_0x1eedf9['some'](_0x2aa690=>_0x2aa690['isPending'])&&(_0xc6fe61=null),!_0xc6fe61&&_0x1eedf9['every'](_0x4eca6f=>!_0x4eca6f['isPending'])&&_0x1eedf9['some'](_0x4107b4=>_0x4107b4['hasResult']())&&(_0x1eedf9=_0x1eedf9['map'](_0x2b9a77=>_0x2b9a77['hasResult']()?new ActiveSource(_0x2b9a77['source'],0x0):_0x2b9a77));for(let _0x4e8be5 of _0x3acdda['effects'])_0x4e8be5['is'](_0x341745)&&(_0xc6fe61=_0xc6fe61&&_0xc6fe61['setSelected'](_0x4e8be5['value'],this['id']));return _0x1eedf9==this['active']&&_0xc6fe61==this['open']?this:new CompletionState(_0x1eedf9,this['id'],_0xc6fe61);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?_0x15d011:_0x5b065b;}}const _0x15d011={'aria-autocomplete':'list'},_0x5b065b={};function _0x318156(_0x21e45e,_0x3e79fc){let _0x48213c={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x21e45e};return _0x3e79fc>-0x1&&(_0x48213c['aria-activedescendant']=_0x21e45e+'-'+_0x3e79fc),_0x48213c;}const _0x54303d=[];function _0x6e9213(_0x1d8e21,_0x3ad618){if(_0x1d8e21['isUserEvent']('input.complete')){let _0x1cc669=_0x1d8e21['annotation'](_0x1c6251);if(_0x1cc669&&_0x3ad618['activateOnCompletion'](_0x1cc669))return 0xc;}let _0x27c1d2=_0x1d8e21['isUserEvent']('input.type');return _0x27c1d2&&_0x3ad618['activateOnTyping']?0x5:_0x27c1d2?0x1:_0x1d8e21['isUserEvent']('delete.backward')?0x2:_0x1d8e21['selection']?0x8:_0x1d8e21['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x263f8b,_0x3edea9,_0x4aa42d=!0x1){this['source']=_0x263f8b,this['state']=_0x3edea9,this['explicit']=_0x4aa42d;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x375574,_0x69cc8d){let _0x12f3be=_0x6e9213(_0x375574,_0x69cc8d),_0xac125a=this;(0x8&_0x12f3be||0x10&_0x12f3be&&this['touches'](_0x375574))&&(_0xac125a=new ActiveSource(_0xac125a['source'],0x0)),0x4&_0x12f3be&&0x0==_0xac125a['state']&&(_0xac125a=new ActiveSource(this['source'],0x1)),_0xac125a=_0xac125a['updateFor'](_0x375574,_0x12f3be);for(let _0x595d87 of _0x375574['effects'])if(_0x595d87['is'](_0x11f744))_0xac125a=new ActiveSource(_0xac125a['source'],0x1,_0x595d87['value']);else{if(_0x595d87['is'](_0x88f44c))_0xac125a=new ActiveSource(_0xac125a['source'],0x0);else{if(_0x595d87['is'](_0x45107c)){for(let _0x60e4fd of _0x595d87['value'])_0x60e4fd['source']==_0xac125a['source']&&(_0xac125a=_0x60e4fd);}}}return _0xac125a;}['updateFor'](_0x142d11,_0x479baa){return this['map'](_0x142d11['changes']);}['map'](_0xa9f645){return this;}['touches'](_0xaa01ee){return _0xaa01ee['changes']['touchesRange'](_0x5c24c5(_0xaa01ee['state']));}}class ActiveResult extends ActiveSource{constructor(_0x22fd0f,_0x5bb9a2,_0x455cef,_0x5d50f1,_0x28bba5,_0x1091a4){super(_0x22fd0f,0x3,_0x5bb9a2),this['limit']=_0x455cef,this['result']=_0x5d50f1,this['from']=_0x28bba5,this['to']=_0x1091a4;}['hasResult'](){return!0x0;}['updateFor'](_0x33bf95,_0x77ff2e){var _0x3e40b2;if(!(0x3&_0x77ff2e))return this['map'](_0x33bf95['changes']);let _0x15c526=this['result'];_0x15c526['map']&&!_0x33bf95['changes']['empty']&&(_0x15c526=_0x15c526['map'](_0x15c526,_0x33bf95['changes']));let _0x473706=_0x33bf95['changes']['mapPos'](this['from']),_0x4879af=_0x33bf95['changes']['mapPos'](this['to'],0x1),_0x323150=_0x5c24c5(_0x33bf95['state']);if(_0x323150>_0x4879af||!_0x15c526||0x2&_0x77ff2e&&(_0x5c24c5(_0x33bf95['startState'])==this['from']||_0x323150<this['limit']))return new ActiveSource(this['source'],0x4&_0x77ff2e?0x1:0x0);let _0x4cfc65=_0x33bf95['changes']['mapPos'](this['limit']);return function(_0x986795,_0x2b2cd6,_0x2076b1,_0x3c38f5){if(!_0x986795)return!0x1;let _0x5839d1=_0x2b2cd6['sliceDoc'](_0x2076b1,_0x3c38f5);return'function'==typeof _0x986795?_0x986795(_0x5839d1,_0x2076b1,_0x3c38f5,_0x2b2cd6):_0x413bb1(_0x986795,!0x0)['test'](_0x5839d1);}(_0x15c526['validFor'],_0x33bf95['state'],_0x473706,_0x4879af)?new ActiveResult(this['source'],this['explicit'],_0x4cfc65,_0x15c526,_0x473706,_0x4879af):_0x15c526['update']&&(_0x15c526=_0x15c526['update'](_0x15c526,_0x473706,_0x4879af,new CompletionContext(_0x33bf95['state'],_0x323150,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x4cfc65,_0x15c526,_0x15c526['from'],null!==(_0x3e40b2=_0x15c526['to'])&&void 0x0!==_0x3e40b2?_0x3e40b2:_0x5c24c5(_0x33bf95['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x1b5258){if(_0x1b5258['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x1b5258):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x1b5258['mapPos'](this['limit']),this['result'],_0x1b5258['mapPos'](this['from']),_0x1b5258['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x540825){return _0x540825['changes']['touchesRange'](this['from'],this['to']);}}const _0x45107c=StateEffect['define']({'map':(_0x196f33,_0x53794b)=>_0x196f33['map'](_0x33bc5e=>_0x33bc5e['map'](_0x53794b))}),_0x341745=StateEffect['define'](),_0x49f492=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x5d354f,_0x49291e)=>_0x5d354f['update'](_0x49291e),'provide':_0x293257=>[_0x4d3246['from'](_0x293257,_0x53f6e1=>_0x53f6e1['tooltip']),EditorView['contentAttributes']['from'](_0x293257,_0x4063a9=>_0x4063a9['attrs'])]});function _0x5f286a(_0x43d4d1,_0x10a3ba){const _0xb1ef28=_0x10a3ba['completion']['apply']||_0x10a3ba['completion']['label'];let _0x483948=_0x43d4d1['state']['field'](_0x49f492)['active']['find'](_0x3b2e48=>_0x3b2e48['source']==_0x10a3ba['source']);return _0x483948 instanceof ActiveResult&&('string'==typeof _0xb1ef28?_0x43d4d1['dispatch']({..._0x4eb0d9(_0x43d4d1['state'],_0xb1ef28,_0x483948['from'],_0x483948['to']),'annotations':_0x1c6251['of'](_0x10a3ba['completion'])}):_0xb1ef28(_0x43d4d1,_0x10a3ba['completion'],_0x483948['from'],_0x483948['to']),!0x0);}const _0x2fa3ef=_0x1635d1(_0x49f492,_0x5f286a);function _0x34a6a4(_0x14b191,_0x4859f2='option'){return _0x1e3321=>{let _0x23dc32=_0x1e3321['state']['field'](_0x49f492,!0x1);if(!_0x23dc32||!_0x23dc32['open']||_0x23dc32['open']['disabled']||Date['now']()-_0x23dc32['open']['timestamp']<_0x1e3321['state']['facet'](_0x306f39)['interactionDelay'])return!0x1;let _0x4292e7,_0x228792=0x1;'page'==_0x4859f2&&(_0x4292e7=_0x163d1f(_0x1e3321,_0x23dc32['open']['tooltip']))&&(_0x228792=Math['max'](0x2,Math['floor'](_0x4292e7['dom']['offsetHeight']/_0x4292e7['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x5552fe}=_0x23dc32['open']['options'],_0x21e338=_0x23dc32['open']['selected']>-0x1?_0x23dc32['open']['selected']+_0x228792*(_0x14b191?0x1:-0x1):_0x14b191?0x0:_0x5552fe-0x1;return _0x21e338<0x0?_0x21e338='page'==_0x4859f2?0x0:_0x5552fe-0x1:_0x21e338>=_0x5552fe&&(_0x21e338='page'==_0x4859f2?_0x5552fe-0x1:0x0),_0x1e3321['dispatch']({'effects':_0x341745['of'](_0x21e338)}),!0x0;};}const _0x42c6ad=_0x54fe2b=>!!_0x54fe2b['state']['field'](_0x49f492,!0x1)&&(_0x54fe2b['dispatch']({'effects':_0x11f744['of'](!0x0)}),!0x0);class _0x46243d{constructor(_0x121f8e,_0x28228b){this['active']=_0x121f8e,this['context']=_0x28228b,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const _0x5b0200=_0x30d55e['fromClass'](class{constructor(_0x4a70c6){this['view']=_0x4a70c6,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x2afb38 of _0x4a70c6['state']['field'](_0x49f492)['active'])_0x2afb38['isPending']&&this['startQuery'](_0x2afb38);}['update'](_0x5c52a2){let _0x15bed5=_0x5c52a2['state']['field'](_0x49f492),_0x4cea81=_0x5c52a2['state']['facet'](_0x306f39);if(!_0x5c52a2['selectionSet']&&!_0x5c52a2['docChanged']&&_0x5c52a2['startState']['field'](_0x49f492)==_0x15bed5)return;let _0x3f9440=_0x5c52a2['transactions']['some'](_0x2145f2=>{let _0x562bd3=_0x6e9213(_0x2145f2,_0x4cea81);return 0x8&_0x562bd3||(_0x2145f2['selection']||_0x2145f2['docChanged'])&&!(0x3&_0x562bd3);});for(let _0x84482a=0x0;_0x84482a<this['running']['length'];_0x84482a++){let _0x20ddb1=this['running'][_0x84482a];if(_0x3f9440||_0x20ddb1['context']['abortOnDocChange']&&_0x5c52a2['docChanged']||_0x20ddb1['updates']['length']+_0x5c52a2['transactions']['length']>0x32&&Date['now']()-_0x20ddb1['time']>0x3e8){for(let _0x58a4c5 of _0x20ddb1['context']['abortListeners'])try{_0x58a4c5();}catch(_0xbfd19){_0x23aa16(this['view']['state'],_0xbfd19);}_0x20ddb1['context']['abortListeners']=null,this['running']['splice'](_0x84482a--,0x1);}else _0x20ddb1['updates']['push'](..._0x5c52a2['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x5c52a2['transactions']['some'](_0x18d8f5=>_0x18d8f5['effects']['some'](_0x35b6ec=>_0x35b6ec['is'](_0x11f744)))&&(this['pendingStart']=!0x0);let _0x117229=this['pendingStart']?0x32:_0x4cea81['activateOnTypingDelay'];if(this['debounceUpdate']=_0x15bed5['active']['some'](_0x3629cc=>_0x3629cc['isPending']&&!this['running']['some'](_0x19ecea=>_0x19ecea['active']['source']==_0x3629cc['source']))?setTimeout(()=>this['startUpdate'](),_0x117229):-0x1,0x0!=this['composing']){for(let _0x500513 of _0x5c52a2['transactions'])_0x500513['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x500513['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x3ffd3b}=this['view'],_0x4cd1b3=_0x3ffd3b['field'](_0x49f492);for(let _0x469844 of _0x4cd1b3['active'])_0x469844['isPending']&&!this['running']['some'](_0x54b9b0=>_0x54b9b0['active']['source']==_0x469844['source'])&&this['startQuery'](_0x469844);this['running']['length']&&_0x4cd1b3['open']&&_0x4cd1b3['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x306f39)['updateSyncTime']));}['startQuery'](_0x330824){let {state:_0x5d5b34}=this['view'],_0x18b50c=_0x5c24c5(_0x5d5b34),_0x3c9aad=new CompletionContext(_0x5d5b34,_0x18b50c,_0x330824['explicit'],this['view']),_0xa4522c=new _0x46243d(_0x330824,_0x3c9aad);this['running']['push'](_0xa4522c),Promise['resolve'](_0x330824['source'](_0x3c9aad))['then'](_0x40444b=>{_0xa4522c['context']['aborted']||(_0xa4522c['done']=_0x40444b||null,this['scheduleAccept']());},_0xbffd63=>{this['view']['dispatch']({'effects':_0x88f44c['of'](null)}),_0x23aa16(this['view']['state'],_0xbffd63);});}['scheduleAccept'](){this['running']['every'](_0x4ae0b9=>void 0x0!==_0x4ae0b9['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x306f39)['updateSyncTime']));}['accept'](){var _0x24f49a;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x26735f=[],_0xd292cb=this['view']['state']['facet'](_0x306f39),_0x4a6008=this['view']['state']['field'](_0x49f492);for(let _0x18c0e3=0x0;_0x18c0e3<this['running']['length'];_0x18c0e3++){let _0x8e60e=this['running'][_0x18c0e3];if(void 0x0===_0x8e60e['done'])continue;if(this['running']['splice'](_0x18c0e3--,0x1),_0x8e60e['done']){let _0x2366c3=_0x5c24c5(_0x8e60e['updates']['length']?_0x8e60e['updates'][0x0]['startState']:this['view']['state']),_0xa3f316=Math['min'](_0x2366c3,_0x8e60e['done']['from']+(_0x8e60e['active']['explicit']?0x0:0x1)),_0x19cdcc=new ActiveResult(_0x8e60e['active']['source'],_0x8e60e['active']['explicit'],_0xa3f316,_0x8e60e['done'],_0x8e60e['done']['from'],null!==(_0x24f49a=_0x8e60e['done']['to'])&&void 0x0!==_0x24f49a?_0x24f49a:_0x2366c3);for(let _0x5d0be7 of _0x8e60e['updates'])_0x19cdcc=_0x19cdcc['update'](_0x5d0be7,_0xd292cb);if(_0x19cdcc['hasResult']()){_0x26735f['push'](_0x19cdcc);continue;}}let _0x5e3434=_0x4a6008['active']['find'](_0x281d32=>_0x281d32['source']==_0x8e60e['active']['source']);if(_0x5e3434&&_0x5e3434['isPending']){if(null==_0x8e60e['done']){let _0x3a60ef=new ActiveSource(_0x8e60e['active']['source'],0x0);for(let _0x241476 of _0x8e60e['updates'])_0x3a60ef=_0x3a60ef['update'](_0x241476,_0xd292cb);_0x3a60ef['isPending']||_0x26735f['push'](_0x3a60ef);}else this['startQuery'](_0x5e3434);}}(_0x26735f['length']||_0x4a6008['open']&&_0x4a6008['open']['disabled'])&&this['view']['dispatch']({'effects':_0x45107c['of'](_0x26735f)});}},{'eventHandlers':{'blur'(_0x59cebd){let _0x4a5e76=this['view']['state']['field'](_0x49f492,!0x1);if(_0x4a5e76&&_0x4a5e76['tooltip']&&this['view']['state']['facet'](_0x306f39)['closeOnBlur']){let _0x530612=_0x4a5e76['open']&&_0x163d1f(this['view'],_0x4a5e76['open']['tooltip']);_0x530612&&_0x530612['dom']['contains'](_0x59cebd['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':_0x88f44c['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':_0x11f744['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x3f8c7c='object'==typeof navigator&&/Win/['test'](navigator['platform']),_0x2d3069=_0x14b795['highest'](EditorView['domEventHandlers']({'keydown'(_0x2253d9,_0x41ac68){let _0x3380d9=_0x41ac68['state']['field'](_0x49f492,!0x1);if(!_0x3380d9||!_0x3380d9['open']||_0x3380d9['open']['disabled']||_0x3380d9['open']['selected']<0x0||_0x2253d9['key']['length']>0x1||_0x2253d9['ctrlKey']&&(!_0x3f8c7c||!_0x2253d9['altKey'])||_0x2253d9['metaKey'])return!0x1;let _0x589c43=_0x3380d9['open']['options'][_0x3380d9['open']['selected']],_0x2b9042=_0x3380d9['active']['find'](_0x251dd8=>_0x251dd8['source']==_0x589c43['source']),_0x3f9cbd=_0x589c43['completion']['commitCharacters']||_0x2b9042['result']['commitCharacters'];return _0x3f9cbd&&_0x3f9cbd['indexOf'](_0x2253d9['key'])>-0x1&&_0x5f286a(_0x41ac68,_0x589c43),!0x1;}})),_0x294537=EditorView['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});class _0x22283f{constructor(_0x176594,_0x1482b9,_0x38a015,_0xc6299c){this['field']=_0x176594,this['line']=_0x1482b9,this['from']=_0x38a015,this['to']=_0xc6299c;}}class _0x24461a{constructor(_0x306233,_0x3749c2,_0x3b1a4c){this['field']=_0x306233,this['from']=_0x3749c2,this['to']=_0x3b1a4c;}['map'](_0x56bc20){let _0x5e48cc=_0x56bc20['mapPos'](this['from'],-0x1,_0x59cdcf['TrackDel']),_0x327b42=_0x56bc20['mapPos'](this['to'],0x1,_0x59cdcf['TrackDel']);return null==_0x5e48cc||null==_0x327b42?null:new _0x24461a(this['field'],_0x5e48cc,_0x327b42);}}class Snippet{constructor(_0x4a27d8,_0x224381){this['lines']=_0x4a27d8,this['fieldPositions']=_0x224381;}['instantiate'](_0x525c43,_0xf31432){let _0x377501=[],_0x41ce95=[_0xf31432],_0x55e8d7=_0x525c43['doc']['lineAt'](_0xf31432),_0x31ed59=/^\s*/['exec'](_0x55e8d7['text'])[0x0];for(let _0x1aae5c of this['lines']){if(_0x377501['length']){let _0x49e284=_0x31ed59,_0x39c700=/^\t*/['exec'](_0x1aae5c)[0x0]['length'];for(let _0x21df1c=0x0;_0x21df1c<_0x39c700;_0x21df1c++)_0x49e284+=_0x525c43['facet'](_0x2dcdb5);_0x41ce95['push'](_0xf31432+_0x49e284['length']-_0x39c700),_0x1aae5c=_0x49e284+_0x1aae5c['slice'](_0x39c700);}_0x377501['push'](_0x1aae5c),_0xf31432+=_0x1aae5c['length']+0x1;}let _0x59b888=this['fieldPositions']['map'](_0x38fd12=>new _0x24461a(_0x38fd12['field'],_0x41ce95[_0x38fd12['line']]+_0x38fd12['from'],_0x41ce95[_0x38fd12['line']]+_0x38fd12['to']));return{'text':_0x377501,'ranges':_0x59b888};}static['parse'](_0xb1b656){let _0x3b5dd3,_0x33d426=[],_0x5a742b=[],_0x5bf66c=[];for(let _0x6eb2e of _0xb1b656['split'](/\r\n?|\n/)){for(;_0x3b5dd3=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x6eb2e);){let _0x55ed12=_0x3b5dd3[0x1]?+_0x3b5dd3[0x1]:null,_0x585222=_0x3b5dd3[0x2]||_0x3b5dd3[0x3]||'',_0x231ed4=-0x1,_0x3f76b7=_0x585222['replace'](/\\[{}]/g,_0x40f1f2=>_0x40f1f2[0x1]);for(let _0x5762fe=0x0;_0x5762fe<_0x33d426['length'];_0x5762fe++)(null!=_0x55ed12?_0x33d426[_0x5762fe]['seq']==_0x55ed12:_0x3f76b7&&_0x33d426[_0x5762fe]['name']==_0x3f76b7)&&(_0x231ed4=_0x5762fe);if(_0x231ed4<0x0){let _0x279a2a=0x0;for(;_0x279a2a<_0x33d426['length']&&(null==_0x55ed12||null!=_0x33d426[_0x279a2a]['seq']&&_0x33d426[_0x279a2a]['seq']<_0x55ed12);)_0x279a2a++;_0x33d426['splice'](_0x279a2a,0x0,{'seq':_0x55ed12,'name':_0x3f76b7}),_0x231ed4=_0x279a2a;for(let _0x225a7b of _0x5bf66c)_0x225a7b['field']>=_0x231ed4&&_0x225a7b['field']++;}for(let _0x2d03f8 of _0x5bf66c)if(_0x2d03f8['line']==_0x5a742b['length']&&_0x2d03f8['from']>_0x3b5dd3['index']){let _0x45fd3a=_0x3b5dd3[0x2]?0x3+(_0x3b5dd3[0x1]||'')['length']:0x2;_0x2d03f8['from']-=_0x45fd3a,_0x2d03f8['to']-=_0x45fd3a;}_0x5bf66c['push'](new _0x22283f(_0x231ed4,_0x5a742b['length'],_0x3b5dd3['index'],_0x3b5dd3['index']+_0x3f76b7['length'])),_0x6eb2e=_0x6eb2e['slice'](0x0,_0x3b5dd3['index'])+_0x585222+_0x6eb2e['slice'](_0x3b5dd3['index']+_0x3b5dd3[0x0]['length']);}_0x6eb2e=_0x6eb2e['replace'](/\\([{}])/g,(_0x427693,_0x2b7bc9,_0x1b4884)=>{for(let _0x21fd91 of _0x5bf66c)_0x21fd91['line']==_0x5a742b['length']&&_0x21fd91['from']>_0x1b4884&&(_0x21fd91['from']--,_0x21fd91['to']--);return _0x2b7bc9;}),_0x5a742b['push'](_0x6eb2e);}return new Snippet(_0x5a742b,_0x5bf66c);}}let _0x1d79e0=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x6cba74=document['createElement']('span');return _0x6cba74['className']='cm-snippetFieldPosition',_0x6cba74;}['ignoreEvent'](){return!0x1;}}()}),_0x468be3=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x103e0a,_0x156798){this['ranges']=_0x103e0a,this['active']=_0x156798,this['deco']=Decoration['set'](_0x103e0a['map'](_0x30153b=>(_0x30153b['from']==_0x30153b['to']?_0x1d79e0:_0x468be3)['range'](_0x30153b['from'],_0x30153b['to'])),!0x0);}['map'](_0x175422){let _0xf37c6a=[];for(let _0x229e4e of this['ranges']){let _0x4f8b20=_0x229e4e['map'](_0x175422);if(!_0x4f8b20)return null;_0xf37c6a['push'](_0x4f8b20);}return new ActiveSnippet(_0xf37c6a,this['active']);}['selectionInsideField'](_0x3d4b93){return _0x3d4b93['ranges']['every'](_0x39b6f0=>this['ranges']['some'](_0x515697=>_0x515697['field']==this['active']&&_0x515697['from']<=_0x39b6f0['from']&&_0x515697['to']>=_0x39b6f0['to']));}}const _0x5e8767=StateEffect['define']({'map':(_0x2e5549,_0x2026a2)=>_0x2e5549&&_0x2e5549['map'](_0x2026a2)}),_0x14165f=StateEffect['define'](),_0xc08088=StateField['define']({'create':()=>null,'update'(_0xf0bf4a,_0x51a9e1){for(let _0x57adcc of _0x51a9e1['effects']){if(_0x57adcc['is'](_0x5e8767))return _0x57adcc['value'];if(_0x57adcc['is'](_0x14165f)&&_0xf0bf4a)return new ActiveSnippet(_0xf0bf4a['ranges'],_0x57adcc['value']);}return _0xf0bf4a&&_0x51a9e1['docChanged']&&(_0xf0bf4a=_0xf0bf4a['map'](_0x51a9e1['changes'])),_0xf0bf4a&&_0x51a9e1['selection']&&!_0xf0bf4a['selectionInsideField'](_0x51a9e1['selection'])&&(_0xf0bf4a=null),_0xf0bf4a;},'provide':_0x47af9f=>EditorView['decorations']['from'](_0x47af9f,_0x4209a8=>_0x4209a8?_0x4209a8['deco']:Decoration['none'])});function _0x18114a(_0x5ed4c3,_0x4b66e4){return EditorSelection['create'](_0x5ed4c3['filter'](_0x1ec4e0=>_0x1ec4e0['field']==_0x4b66e4)['map'](_0x5315d2=>EditorSelection['range'](_0x5315d2['from'],_0x5315d2['to'])));}function _0x53f3ac(_0x277b93){let _0x5ec977=Snippet['parse'](_0x277b93);return(_0x44ce3e,_0x45c988,_0x552145,_0x4d49a4)=>{let {text:_0x13c853,ranges:_0x133e79}=_0x5ec977['instantiate'](_0x44ce3e['state'],_0x552145),{main:_0x3826a4}=_0x44ce3e['state']['selection'],_0x37557f={'changes':{'from':_0x552145,'to':_0x4d49a4==_0x3826a4['from']?_0x3826a4['to']:_0x4d49a4,'insert':_0x9ec70d['of'](_0x13c853)},'scrollIntoView':!0x0,'annotations':_0x45c988?[_0x1c6251['of'](_0x45c988),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x133e79['length']&&(_0x37557f['selection']=_0x18114a(_0x133e79,0x0)),_0x133e79['some'](_0x118613=>_0x118613['field']>0x0)){let _0x380af9=new ActiveSnippet(_0x133e79,0x0),_0x119e94=_0x37557f['effects']=[_0x5e8767['of'](_0x380af9)];void 0x0===_0x44ce3e['state']['field'](_0xc08088,!0x1)&&_0x119e94['push'](StateEffect['appendConfig']['of']([_0xc08088,_0x35faec,_0x45a3d0,_0x294537]));}_0x44ce3e['dispatch'](_0x44ce3e['state']['update'](_0x37557f));};}function _0x5157be(_0x326cde){return({state:_0x538624,dispatch:_0x3d0bb3})=>{let _0x1cf623=_0x538624['field'](_0xc08088,!0x1);if(!_0x1cf623||_0x326cde<0x0&&0x0==_0x1cf623['active'])return!0x1;let _0x57410b=_0x1cf623['active']+_0x326cde,_0x30a40b=_0x326cde>0x0&&!_0x1cf623['ranges']['some'](_0x529852=>_0x529852['field']==_0x57410b+_0x326cde);return _0x3d0bb3(_0x538624['update']({'selection':_0x18114a(_0x1cf623['ranges'],_0x57410b),'effects':_0x5e8767['of'](_0x30a40b?null:new ActiveSnippet(_0x1cf623['ranges'],_0x57410b)),'scrollIntoView':!0x0})),!0x0;};}const _0x40ca06=[{'key':'Tab','run':_0x5157be(0x1),'shift':_0x5157be(-0x1)},{'key':'Escape','run':({state:_0x34024b,dispatch:_0x36be51})=>!!_0x34024b['field'](_0xc08088,!0x1)&&(_0x36be51(_0x34024b['update']({'effects':_0x5e8767['of'](null)})),!0x0)}],_0x105f94=Facet['define']({'combine':_0x37d041=>_0x37d041['length']?_0x37d041[0x0]:_0x40ca06}),_0x35faec=_0x14b795['highest'](_0xebaf37['compute']([_0x105f94],_0x1539fc=>_0x1539fc['facet'](_0x105f94)));function _0x17e272(_0x4925f8,_0xda78f9){return{..._0xda78f9,'apply':_0x53f3ac(_0x4925f8)};}const _0x45a3d0=EditorView['domEventHandlers']({'mousedown'(_0x40b9d4,_0x487c7c){let _0x17721c,_0x464f8a=_0x487c7c['state']['field'](_0xc08088,!0x1);if(!_0x464f8a||null==(_0x17721c=_0x487c7c['posAtCoords']({'x':_0x40b9d4['clientX'],'y':_0x40b9d4['clientY']})))return!0x1;let _0x1b5b8a=_0x464f8a['ranges']['find'](_0x2f4ae5=>_0x2f4ae5['from']<=_0x17721c&&_0x2f4ae5['to']>=_0x17721c);return!(!_0x1b5b8a||_0x1b5b8a['field']==_0x464f8a['active'])&&(_0x487c7c['dispatch']({'selection':_0x18114a(_0x464f8a['ranges'],_0x1b5b8a['field']),'effects':_0x5e8767['of'](_0x464f8a['ranges']['some'](_0x218a6b=>_0x218a6b['field']>_0x1b5b8a['field'])?new ActiveSnippet(_0x464f8a['ranges'],_0x1b5b8a['field']):null),'scrollIntoView':!0x0}),!0x0);}}),_0xa9e93a={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},_0x471362=StateEffect['define']({'map'(_0x551420,_0x2e31fd){let _0x30975d=_0x2e31fd['mapPos'](_0x551420,-0x1,_0x59cdcf['TrackAfter']);return null==_0x30975d?void 0x0:_0x30975d;}}),_0x421ee9=new class extends _0x1a2400{}();_0x421ee9['startSide']=0x1,_0x421ee9['endSide']=-0x1;const _0x1d20f7=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x45d718,_0x3130b7){if(_0x45d718=_0x45d718['map'](_0x3130b7['changes']),_0x3130b7['selection']){let _0x436d9d=_0x3130b7['state']['doc']['lineAt'](_0x3130b7['selection']['main']['head']);_0x45d718=_0x45d718['update']({'filter':_0x4ea81e=>_0x4ea81e>=_0x436d9d['from']&&_0x4ea81e<=_0x436d9d['to']});}for(let _0x4dc260 of _0x3130b7['effects'])_0x4dc260['is'](_0x471362)&&(_0x45d718=_0x45d718['update']({'add':[_0x421ee9['range'](_0x4dc260['value'],_0x4dc260['value']+0x1)]}));return _0x45d718;}});function _0x3f0081(){return[_0x166c2b,_0x1d20f7];}const _0x3af05a='()[]{}<>«»»«［］｛｝';function _0x3f5c71(_0x897e77){for(let _0x550d8d=0x0;_0x550d8d<0x10;_0x550d8d+=0x2)if(_0x3af05a['charCodeAt'](_0x550d8d)==_0x897e77)return _0x3af05a['charAt'](_0x550d8d+0x1);return _0x5bfaa8(_0x897e77<0x80?_0x897e77:_0x897e77+0x1);}function _0x260619(_0x2bbe87,_0x141064){return _0x2bbe87['languageDataAt']('closeBrackets',_0x141064)[0x0]||_0xa9e93a;}const _0x335a05='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x166c2b=EditorView['inputHandler']['of']((_0x528b13,_0x433ddc,_0x57eb12,_0x5ed6a7)=>{if((_0x335a05?_0x528b13['composing']:_0x528b13['compositionStarted'])||_0x528b13['state']['readOnly'])return!0x1;let _0x17a3b2=_0x528b13['state']['selection']['main'];if(_0x5ed6a7['length']>0x2||0x2==_0x5ed6a7['length']&&0x1==_0x91b08f(_0x45c349(_0x5ed6a7,0x0))||_0x433ddc!=_0x17a3b2['from']||_0x57eb12!=_0x17a3b2['to'])return!0x1;let _0x32cb0a=function(_0x112549,_0x43cc47){let _0xac11b=_0x260619(_0x112549,_0x112549['selection']['main']['head']),_0x40a2a=_0xac11b['brackets']||_0xa9e93a['brackets'];for(let _0x1809fe of _0x40a2a){let _0x227832=_0x3f5c71(_0x45c349(_0x1809fe,0x0));if(_0x43cc47==_0x1809fe)return _0x227832==_0x1809fe?_0x2e0fec(_0x112549,_0x1809fe,_0x40a2a['indexOf'](_0x1809fe+_0x1809fe+_0x1809fe)>-0x1,_0xac11b):_0x12c1bc(_0x112549,_0x1809fe,_0x227832,_0xac11b['before']||_0xa9e93a['before']);if(_0x43cc47==_0x227832&&_0x500c86(_0x112549,_0x112549['selection']['main']['from']))return tI(_0x112549,_0x1809fe,_0x227832);}return null;}(_0x528b13['state'],_0x5ed6a7);return!!_0x32cb0a&&(_0x528b13['dispatch'](_0x32cb0a),!0x0);}),_0x53506c=[{'key':'Backspace','run':({state:_0x32fa0e,dispatch:_0x22cf0f})=>{if(_0x32fa0e['readOnly'])return!0x1;let _0x3f11b4=_0x260619(_0x32fa0e,_0x32fa0e['selection']['main']['head'])['brackets']||_0xa9e93a['brackets'],_0x1ee8a6=null,_0x24675c=_0x32fa0e['changeByRange'](_0x27c5af=>{if(_0x27c5af['empty']){let _0x4c6b33=function(_0x2a8799,_0x17265f){let _0x367699=_0x2a8799['sliceString'](_0x17265f-0x2,_0x17265f);return _0x91b08f(_0x45c349(_0x367699,0x0))==_0x367699['length']?_0x367699:_0x367699['slice'](0x1);}(_0x32fa0e['doc'],_0x27c5af['head']);for(let _0x53468b of _0x3f11b4)if(_0x53468b==_0x4c6b33&&_0x87f98a(_0x32fa0e['doc'],_0x27c5af['head'])==_0x3f5c71(_0x45c349(_0x53468b,0x0)))return{'changes':{'from':_0x27c5af['head']-_0x53468b['length'],'to':_0x27c5af['head']+_0x53468b['length']},'range':EditorSelection['cursor'](_0x27c5af['head']-_0x53468b['length'])};}return{'range':_0x1ee8a6=_0x27c5af};});return _0x1ee8a6||_0x22cf0f(_0x32fa0e['update'](_0x24675c,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x1ee8a6;}}];function _0x500c86(_0x3803ba,_0x34baa0){let _0x28f31d=!0x1;return _0x3803ba['field'](_0x1d20f7)['between'](0x0,_0x3803ba['doc']['length'],_0x4f6873=>{_0x4f6873==_0x34baa0&&(_0x28f31d=!0x0);}),_0x28f31d;}function _0x87f98a(_0x173edf,_0x534964){let _0x119639=_0x173edf['sliceString'](_0x534964,_0x534964+0x2);return _0x119639['slice'](0x0,_0x91b08f(_0x45c349(_0x119639,0x0)));}function _0x12c1bc(_0x5a8bfa,_0x28c1e2,_0x4bdc31,_0x3cffe2){let _0x3e189a=null,_0x4d580e=_0x5a8bfa['changeByRange'](_0x441351=>{if(!_0x441351['empty'])return{'changes':[{'insert':_0x28c1e2,'from':_0x441351['from']},{'insert':_0x4bdc31,'from':_0x441351['to']}],'effects':_0x471362['of'](_0x441351['to']+_0x28c1e2['length']),'range':EditorSelection['range'](_0x441351['anchor']+_0x28c1e2['length'],_0x441351['head']+_0x28c1e2['length'])};let _0x125d1a=_0x87f98a(_0x5a8bfa['doc'],_0x441351['head']);return!_0x125d1a||/\s/['test'](_0x125d1a)||_0x3cffe2['indexOf'](_0x125d1a)>-0x1?{'changes':{'insert':_0x28c1e2+_0x4bdc31,'from':_0x441351['head']},'effects':_0x471362['of'](_0x441351['head']+_0x28c1e2['length']),'range':EditorSelection['cursor'](_0x441351['head']+_0x28c1e2['length'])}:{'range':_0x3e189a=_0x441351};});return _0x3e189a?null:_0x5a8bfa['update'](_0x4d580e,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function tI(_0x17b401,_0x2141b8,_0x43b6c9){let _0x3a4f6e=null,_0x37c88d=_0x17b401['changeByRange'](_0x2eb23b=>_0x2eb23b['empty']&&_0x87f98a(_0x17b401['doc'],_0x2eb23b['head'])==_0x43b6c9?{'changes':{'from':_0x2eb23b['head'],'to':_0x2eb23b['head']+_0x43b6c9['length'],'insert':_0x43b6c9},'range':EditorSelection['cursor'](_0x2eb23b['head']+_0x43b6c9['length'])}:_0x3a4f6e={'range':_0x2eb23b});return _0x3a4f6e?null:_0x17b401['update'](_0x37c88d,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x2e0fec(_0x90f4d2,_0x3bb91b,_0x5b68cd,_0x57e401){let _0x3b7636=_0x57e401['stringPrefixes']||_0xa9e93a['stringPrefixes'],_0x10bea6=null,_0x13722a=_0x90f4d2['changeByRange'](_0x1cdaff=>{if(!_0x1cdaff['empty'])return{'changes':[{'insert':_0x3bb91b,'from':_0x1cdaff['from']},{'insert':_0x3bb91b,'from':_0x1cdaff['to']}],'effects':_0x471362['of'](_0x1cdaff['to']+_0x3bb91b['length']),'range':EditorSelection['range'](_0x1cdaff['anchor']+_0x3bb91b['length'],_0x1cdaff['head']+_0x3bb91b['length'])};let _0x42b962,_0x5ad583=_0x1cdaff['head'],_0x508a04=_0x87f98a(_0x90f4d2['doc'],_0x5ad583);if(_0x508a04==_0x3bb91b){if(_0x3c17f4(_0x90f4d2,_0x5ad583))return{'changes':{'insert':_0x3bb91b+_0x3bb91b,'from':_0x5ad583},'effects':_0x471362['of'](_0x5ad583+_0x3bb91b['length']),'range':EditorSelection['cursor'](_0x5ad583+_0x3bb91b['length'])};if(_0x500c86(_0x90f4d2,_0x5ad583)){let _0x38bd14=_0x5b68cd&&_0x90f4d2['sliceDoc'](_0x5ad583,_0x5ad583+0x3*_0x3bb91b['length'])==_0x3bb91b+_0x3bb91b+_0x3bb91b?_0x3bb91b+_0x3bb91b+_0x3bb91b:_0x3bb91b;return{'changes':{'from':_0x5ad583,'to':_0x5ad583+_0x38bd14['length'],'insert':_0x38bd14},'range':EditorSelection['cursor'](_0x5ad583+_0x38bd14['length'])};}}else{if(_0x5b68cd&&_0x90f4d2['sliceDoc'](_0x5ad583-0x2*_0x3bb91b['length'],_0x5ad583)==_0x3bb91b+_0x3bb91b&&(_0x42b962=_0x4f8495(_0x90f4d2,_0x5ad583-0x2*_0x3bb91b['length'],_0x3b7636))>-0x1&&_0x3c17f4(_0x90f4d2,_0x42b962))return{'changes':{'insert':_0x3bb91b+_0x3bb91b+_0x3bb91b+_0x3bb91b,'from':_0x5ad583},'effects':_0x471362['of'](_0x5ad583+_0x3bb91b['length']),'range':EditorSelection['cursor'](_0x5ad583+_0x3bb91b['length'])};if(_0x90f4d2['charCategorizer'](_0x5ad583)(_0x508a04)!=_0x1d3da0['Word']&&_0x4f8495(_0x90f4d2,_0x5ad583,_0x3b7636)>-0x1&&!function(_0x3fff5d,_0x523251,_0x22e0af,_0x1e5614){let _0x45fecb=tE(_0x3fff5d)['resolveInner'](_0x523251,-0x1),_0x1258e5=_0x1e5614['reduce']((_0x53de36,_0x4d7cc4)=>Math['max'](_0x53de36,_0x4d7cc4['length']),0x0);for(let _0x349dfc=0x0;_0x349dfc<0x5;_0x349dfc++){let _0x2f3ab7=_0x3fff5d['sliceDoc'](_0x45fecb['from'],Math['min'](_0x45fecb['to'],_0x45fecb['from']+_0x22e0af['length']+_0x1258e5)),_0x5a4276=_0x2f3ab7['indexOf'](_0x22e0af);if(!_0x5a4276||_0x5a4276>-0x1&&_0x1e5614['indexOf'](_0x2f3ab7['slice'](0x0,_0x5a4276))>-0x1){let _0x245b77=_0x45fecb['firstChild'];for(;_0x245b77&&_0x245b77['from']==_0x45fecb['from']&&_0x245b77['to']-_0x245b77['from']>_0x22e0af['length']+_0x5a4276;){if(_0x3fff5d['sliceDoc'](_0x245b77['to']-_0x22e0af['length'],_0x245b77['to'])==_0x22e0af)return!0x1;_0x245b77=_0x245b77['firstChild'];}return!0x0;}let _0x5834dc=_0x45fecb['to']==_0x523251&&_0x45fecb['parent'];if(!_0x5834dc)break;_0x45fecb=_0x5834dc;}return!0x1;}(_0x90f4d2,_0x5ad583,_0x3bb91b,_0x3b7636))return{'changes':{'insert':_0x3bb91b+_0x3bb91b,'from':_0x5ad583},'effects':_0x471362['of'](_0x5ad583+_0x3bb91b['length']),'range':EditorSelection['cursor'](_0x5ad583+_0x3bb91b['length'])};}return{'range':_0x10bea6=_0x1cdaff};});return _0x10bea6?null:_0x90f4d2['update'](_0x13722a,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x3c17f4(_0x770431,_0x22899b){let _0x4ad51a=tE(_0x770431)['resolveInner'](_0x22899b+0x1);return _0x4ad51a['parent']&&_0x4ad51a['from']==_0x22899b;}function _0x4f8495(_0x328a27,_0x7c9924,_0x23e325){let _0x3ef3ec=_0x328a27['charCategorizer'](_0x7c9924);if(_0x3ef3ec(_0x328a27['sliceDoc'](_0x7c9924-0x1,_0x7c9924))!=_0x1d3da0['Word'])return _0x7c9924;for(let _0x5dce47 of _0x23e325){let _0x3e945b=_0x7c9924-_0x5dce47['length'];if(_0x328a27['sliceDoc'](_0x3e945b,_0x7c9924)==_0x5dce47&&_0x3ef3ec(_0x328a27['sliceDoc'](_0x3e945b-0x1,_0x3e945b))!=_0x1d3da0['Word'])return _0x3e945b;}return-0x1;}function _0x132d42(_0x5c0e05={}){return[_0x2d3069,_0x49f492,_0x306f39['of'](_0x5c0e05),_0x5b0200,_0x10bef4,_0x294537];}const _0x250a68=[{'key':'Ctrl-Space','run':_0x42c6ad},{'mac':'Alt-`','run':_0x42c6ad},{'mac':'Alt-i','run':_0x42c6ad},{'key':'Escape','run':_0x3481dc=>{let _0x3eeecf=_0x3481dc['state']['field'](_0x49f492,!0x1);return!(!_0x3eeecf||!_0x3eeecf['active']['some'](_0x7ef84d=>0x0!=_0x7ef84d['state']))&&(_0x3481dc['dispatch']({'effects':_0x88f44c['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_0x34a6a4(!0x0)},{'key':'ArrowUp','run':_0x34a6a4(!0x1)},{'key':'PageDown','run':_0x34a6a4(!0x0,'page')},{'key':'PageUp','run':_0x34a6a4(!0x1,'page')},{'key':'Enter','run':_0x5417c7=>{let _0x3ff1b1=_0x5417c7['state']['field'](_0x49f492,!0x1);return!(_0x5417c7['state']['readOnly']||!_0x3ff1b1||!_0x3ff1b1['open']||_0x3ff1b1['open']['selected']<0x0||_0x3ff1b1['open']['disabled']||Date['now']()-_0x3ff1b1['open']['timestamp']<_0x5417c7['state']['facet'](_0x306f39)['interactionDelay'])&&_0x5f286a(_0x5417c7,_0x3ff1b1['open']['options'][_0x3ff1b1['open']['selected']]);}}],_0x10bef4=_0x14b795['highest'](_0xebaf37['computeN']([_0x306f39],_0x3e7754=>_0x3e7754['facet'](_0x306f39)['defaultKeymap']?[_0x250a68]:[]));class Stack{constructor(_0x39ff9e,_0x19c133,_0x58595c,_0x4f2e8e,_0x31ca39,_0x2139e2,_0x25ced4,_0x233ced,_0xb9d54b,_0x4c2d96=0x0,_0x4395df){this['p']=_0x39ff9e,this['stack']=_0x19c133,this['state']=_0x58595c,this['reducePos']=_0x4f2e8e,this['pos']=_0x31ca39,this['score']=_0x2139e2,this['buffer']=_0x25ced4,this['bufferBase']=_0x233ced,this['curContext']=_0xb9d54b,this['lookAhead']=_0x4c2d96,this['parent']=_0x4395df;}['toString'](){return'['+this['stack']['filter']((_0x1808ff,_0xc97984)=>_0xc97984%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x24441f,_0xb0eee3,_0x50dcc3=0x0){let _0x3e81f5=_0x24441f['parser']['context'];return new Stack(_0x24441f,[],_0xb0eee3,_0x50dcc3,_0x50dcc3,0x0,[],0x0,_0x3e81f5?new StackContext(_0x3e81f5,_0x3e81f5['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x1b4863,_0x425580){this['stack']['push'](this['state'],_0x425580,this['bufferBase']+this['buffer']['length']),this['state']=_0x1b4863;}['reduce'](_0x59a96d){var _0x30f350;let _0x2923bf=_0x59a96d>>0x13,_0x289c5e=0xffff&_0x59a96d,{parser:_0x20cfe3}=this['p'],_0x4b78ca=this['reducePos']<this['pos']-0x19;_0x4b78ca&&this['setLookAhead'](this['pos']);let _0x20ad49=_0x20cfe3['dynamicPrecedence'](_0x289c5e);if(_0x20ad49&&(this['score']+=_0x20ad49),0x0==_0x2923bf)return this['pushState'](_0x20cfe3['getGoto'](this['state'],_0x289c5e,!0x0),this['reducePos']),_0x289c5e<_0x20cfe3['minRepeatTerm']&&this['storeNode'](_0x289c5e,this['reducePos'],this['reducePos'],_0x4b78ca?0x8:0x4,!0x0),void this['reduceContext'](_0x289c5e,this['reducePos']);let _0x4f0bc4=this['stack']['length']-0x3*(_0x2923bf-0x1)-(0x40000&_0x59a96d?0x6:0x0),_0x298d8e=_0x4f0bc4?this['stack'][_0x4f0bc4-0x2]:this['p']['ranges'][0x0]['from'],_0x7f8f7=this['reducePos']-_0x298d8e;_0x7f8f7>=0x7d0&&!(null===(_0x30f350=this['p']['parser']['nodeSet']['types'][_0x289c5e])||void 0x0===_0x30f350?void 0x0:_0x30f350['isAnonymous'])&&(_0x298d8e==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x7f8f7):this['p']['lastBigReductionSize']<_0x7f8f7&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x298d8e,this['p']['lastBigReductionSize']=_0x7f8f7));let _0x4f2911=_0x4f0bc4?this['stack'][_0x4f0bc4-0x1]:0x0,_0x529a2a=this['bufferBase']+this['buffer']['length']-_0x4f2911;if(_0x289c5e<_0x20cfe3['minRepeatTerm']||0x20000&_0x59a96d){let _0x3668c1=_0x20cfe3['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x289c5e,_0x298d8e,_0x3668c1,_0x529a2a+0x4,!0x0);}if(0x40000&_0x59a96d)this['state']=this['stack'][_0x4f0bc4];else{let _0x35fc07=this['stack'][_0x4f0bc4-0x3];this['state']=_0x20cfe3['getGoto'](_0x35fc07,_0x289c5e,!0x0);}for(;this['stack']['length']>_0x4f0bc4;)this['stack']['pop']();this['reduceContext'](_0x289c5e,_0x298d8e);}['storeNode'](_0x4d3614,_0x25e693,_0xb3d086,_0x23a19b=0x4,_0x51cd6b=!0x1){if(0x0==_0x4d3614&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x2ad4a4=this,_0x74f7a2=this['buffer']['length'];if(0x0==_0x74f7a2&&_0x2ad4a4['parent']&&(_0x74f7a2=_0x2ad4a4['bufferBase']-_0x2ad4a4['parent']['bufferBase'],_0x2ad4a4=_0x2ad4a4['parent']),_0x74f7a2>0x0&&0x0==_0x2ad4a4['buffer'][_0x74f7a2-0x4]&&_0x2ad4a4['buffer'][_0x74f7a2-0x1]>-0x1){if(_0x25e693==_0xb3d086)return;if(_0x2ad4a4['buffer'][_0x74f7a2-0x2]>=_0x25e693)return void(_0x2ad4a4['buffer'][_0x74f7a2-0x2]=_0xb3d086);}}if(_0x51cd6b&&this['pos']!=_0xb3d086){let _0x27137e=this['buffer']['length'];if(_0x27137e>0x0&&(0x0!=this['buffer'][_0x27137e-0x4]||this['buffer'][_0x27137e-0x1]<0x0)){let _0x1cadb6=!0x1;for(let _0xa514d1=_0x27137e;_0xa514d1>0x0&&this['buffer'][_0xa514d1-0x2]>_0xb3d086;_0xa514d1-=0x4)if(this['buffer'][_0xa514d1-0x1]>=0x0){_0x1cadb6=!0x0;break;}if(_0x1cadb6){for(;_0x27137e>0x0&&this['buffer'][_0x27137e-0x2]>_0xb3d086;)this['buffer'][_0x27137e]=this['buffer'][_0x27137e-0x4],this['buffer'][_0x27137e+0x1]=this['buffer'][_0x27137e-0x3],this['buffer'][_0x27137e+0x2]=this['buffer'][_0x27137e-0x2],this['buffer'][_0x27137e+0x3]=this['buffer'][_0x27137e-0x1],_0x27137e-=0x4,_0x23a19b>0x4&&(_0x23a19b-=0x4);}}this['buffer'][_0x27137e]=_0x4d3614,this['buffer'][_0x27137e+0x1]=_0x25e693,this['buffer'][_0x27137e+0x2]=_0xb3d086,this['buffer'][_0x27137e+0x3]=_0x23a19b;}else this['buffer']['push'](_0x4d3614,_0x25e693,_0xb3d086,_0x23a19b);}['shift'](_0x5748bb,_0xbcc34,_0x2470d7,_0x309d2c){if(0x20000&_0x5748bb)this['pushState'](0xffff&_0x5748bb,this['pos']);else{if(0x40000&_0x5748bb)this['pos']=_0x309d2c,this['shiftContext'](_0xbcc34,_0x2470d7),_0xbcc34<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0xbcc34,_0x2470d7,_0x309d2c,0x4);else{let _0x46778c=_0x5748bb,{parser:_0x234772}=this['p'];(_0x309d2c>this['pos']||_0xbcc34<=_0x234772['maxNode'])&&(this['pos']=_0x309d2c,_0x234772['stateFlag'](_0x46778c,0x1)||(this['reducePos']=_0x309d2c)),this['pushState'](_0x46778c,_0x2470d7),this['shiftContext'](_0xbcc34,_0x2470d7),_0xbcc34<=_0x234772['maxNode']&&this['buffer']['push'](_0xbcc34,_0x2470d7,_0x309d2c,0x4);}}}['apply'](_0x4de2c8,_0x1b6628,_0x52648e,_0x2e322e){0x10000&_0x4de2c8?this['reduce'](_0x4de2c8):this['shift'](_0x4de2c8,_0x1b6628,_0x52648e,_0x2e322e);}['useNode'](_0x4d8219,_0x4ddd5a){let _0x517ef2=this['p']['reused']['length']-0x1;(_0x517ef2<0x0||this['p']['reused'][_0x517ef2]!=_0x4d8219)&&(this['p']['reused']['push'](_0x4d8219),_0x517ef2++);let _0xcd1e40=this['pos'];this['reducePos']=this['pos']=_0xcd1e40+_0x4d8219['length'],this['pushState'](_0x4ddd5a,_0xcd1e40),this['buffer']['push'](_0x517ef2,_0xcd1e40,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x4d8219,this,this['p']['stream']['reset'](this['pos']-_0x4d8219['length'])));}['split'](){let _0x28c8d7=this,_0x46010d=_0x28c8d7['buffer']['length'];for(;_0x46010d>0x0&&_0x28c8d7['buffer'][_0x46010d-0x2]>_0x28c8d7['reducePos'];)_0x46010d-=0x4;let _0x2e6ec1=_0x28c8d7['buffer']['slice'](_0x46010d),_0xda5ac7=_0x28c8d7['bufferBase']+_0x46010d;for(;_0x28c8d7&&_0xda5ac7==_0x28c8d7['bufferBase'];)_0x28c8d7=_0x28c8d7['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x2e6ec1,_0xda5ac7,this['curContext'],this['lookAhead'],_0x28c8d7);}['recoverByDelete'](_0x107319,_0x28d373){let _0x379fc8=_0x107319<=this['p']['parser']['maxNode'];_0x379fc8&&this['storeNode'](_0x107319,this['pos'],_0x28d373,0x4),this['storeNode'](0x0,this['pos'],_0x28d373,_0x379fc8?0x8:0x4),this['pos']=this['reducePos']=_0x28d373,this['score']-=0xbe;}['canShift'](_0x27905b){for(let _0x374aed=new SimulatedStack(this);;){let _0x588cb6=this['p']['parser']['stateSlot'](_0x374aed['state'],0x4)||this['p']['parser']['hasAction'](_0x374aed['state'],_0x27905b);if(0x0==_0x588cb6)return!0x1;if(!(0x10000&_0x588cb6))return!0x0;_0x374aed['reduce'](_0x588cb6);}}['recoverByInsert'](_0x32357a){if(this['stack']['length']>=0x12c)return[];let _0x2e1786=this['p']['parser']['nextStates'](this['state']);if(_0x2e1786['length']>0x8||this['stack']['length']>=0x78){let _0x947f4=[];for(let _0x4fdaa1,_0x5e695e=0x0;_0x5e695e<_0x2e1786['length'];_0x5e695e+=0x2)(_0x4fdaa1=_0x2e1786[_0x5e695e+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x4fdaa1,_0x32357a)&&_0x947f4['push'](_0x2e1786[_0x5e695e],_0x4fdaa1);if(this['stack']['length']<0x78)for(let _0x49b0cf=0x0;_0x947f4['length']<0x8&&_0x49b0cf<_0x2e1786['length'];_0x49b0cf+=0x2){let _0x3b7fd9=_0x2e1786[_0x49b0cf+0x1];_0x947f4['some']((_0x1e33b3,_0x426060)=>0x1&_0x426060&&_0x1e33b3==_0x3b7fd9)||_0x947f4['push'](_0x2e1786[_0x49b0cf],_0x3b7fd9);}_0x2e1786=_0x947f4;}let _0x3b709=[];for(let _0x5be1c0=0x0;_0x5be1c0<_0x2e1786['length']&&_0x3b709['length']<0x4;_0x5be1c0+=0x2){let _0x589ba0=_0x2e1786[_0x5be1c0+0x1];if(_0x589ba0==this['state'])continue;let _0x581662=this['split']();_0x581662['pushState'](_0x589ba0,this['pos']),_0x581662['storeNode'](0x0,_0x581662['pos'],_0x581662['pos'],0x4,!0x0),_0x581662['shiftContext'](_0x2e1786[_0x5be1c0],this['pos']),_0x581662['reducePos']=this['pos'],_0x581662['score']-=0xc8,_0x3b709['push'](_0x581662);}return _0x3b709;}['forceReduce'](){let {parser:_0x18ab71}=this['p'],_0x436280=_0x18ab71['stateSlot'](this['state'],0x5);if(!(0x10000&_0x436280))return!0x1;if(!_0x18ab71['validAction'](this['state'],_0x436280)){let _0x5b0b06=_0x436280>>0x13,_0x51b483=0xffff&_0x436280,_0x144a37=this['stack']['length']-0x3*_0x5b0b06;if(_0x144a37<0x0||_0x18ab71['getGoto'](this['stack'][_0x144a37],_0x51b483,!0x1)<0x0){let _0xe8b335=this['findForcedReduction']();if(null==_0xe8b335)return!0x1;_0x436280=_0xe8b335;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x436280),!0x0;}['findForcedReduction'](){let {parser:_0x571315}=this['p'],_0x4b2ed2=[],_0x3f722f=(_0x415fa9,_0x35a25c)=>{if(!_0x4b2ed2['includes'](_0x415fa9))return _0x4b2ed2['push'](_0x415fa9),_0x571315['allActions'](_0x415fa9,_0x15356e=>{if(0x60000&_0x15356e);else{if(0x10000&_0x15356e){let _0x1648ae=(_0x15356e>>0x13)-_0x35a25c;if(_0x1648ae>0x1){let _0x547820=0xffff&_0x15356e,_0x17c97d=this['stack']['length']-0x3*_0x1648ae;if(_0x17c97d>=0x0&&_0x571315['getGoto'](this['stack'][_0x17c97d],_0x547820,!0x1)>=0x0)return _0x1648ae<<0x13|0x10000|_0x547820;}}else{let _0x4766ad=_0x3f722f(_0x15356e,_0x35a25c+0x1);if(null!=_0x4766ad)return _0x4766ad;}}});};return _0x3f722f(this['state'],0x0);}['forceAll'](){for(;!this['p']['parser']['stateFlag'](this['state'],0x2);)if(!this['forceReduce']()){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0);break;}return this;}get['deadEnd'](){if(0x3!=this['stack']['length'])return!0x1;let {parser:_0x4b1238}=this['p'];return 0xffff==_0x4b1238['data'][_0x4b1238['stateSlot'](this['state'],0x1)]&&!_0x4b1238['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x57e718){if(this['state']!=_0x57e718['state']||this['stack']['length']!=_0x57e718['stack']['length'])return!0x1;for(let _0x43740e=0x0;_0x43740e<this['stack']['length'];_0x43740e+=0x3)if(this['stack'][_0x43740e]!=_0x57e718['stack'][_0x43740e])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x3f7c2a){return this['p']['parser']['dialect']['flags'][_0x3f7c2a];}['shiftContext'](_0x5ab388,_0x1e8d1e){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x5ab388,this,this['p']['stream']['reset'](_0x1e8d1e)));}['reduceContext'](_0x1d807d,_0x32c3b1){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x1d807d,this,this['p']['stream']['reset'](_0x32c3b1)));}['emitContext'](){let _0x39078f=this['buffer']['length']-0x1;(_0x39078f<0x0||-0x3!=this['buffer'][_0x39078f])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x200fc6=this['buffer']['length']-0x1;(_0x200fc6<0x0||-0x4!=this['buffer'][_0x200fc6])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x133690){if(_0x133690!=this['curContext']['context']){let _0x312792=new StackContext(this['curContext']['tracker'],_0x133690);_0x312792['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x312792;}}['setLookAhead'](_0x3af947){_0x3af947>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x3af947);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0xf2c736,_0x34cf35){this['tracker']=_0xf2c736,this['context']=_0x34cf35,this['hash']=_0xf2c736['strict']?_0xf2c736['hash'](_0x34cf35):0x0;}}class SimulatedStack{constructor(_0x9242e7){this['start']=_0x9242e7,this['state']=_0x9242e7['state'],this['stack']=_0x9242e7['stack'],this['base']=this['stack']['length'];}['reduce'](_0x2afd1d){let _0x4a9e61=0xffff&_0x2afd1d,_0x49ece4=_0x2afd1d>>0x13;0x0==_0x49ece4?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x49ece4-0x1);let _0x5d15a9=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x4a9e61,!0x0);this['state']=_0x5d15a9;}}class StackBufferCursor{constructor(_0x14d52d,_0x20279e,_0x4f59b5){this['stack']=_0x14d52d,this['pos']=_0x20279e,this['index']=_0x4f59b5,this['buffer']=_0x14d52d['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x4d0882,_0xa81ac5=_0x4d0882['bufferBase']+_0x4d0882['buffer']['length']){return new StackBufferCursor(_0x4d0882,_0xa81ac5,_0xa81ac5-_0x4d0882['bufferBase']);}['maybeNext'](){let _0x2ce0a3=this['stack']['parent'];null!=_0x2ce0a3&&(this['index']=this['stack']['bufferBase']-_0x2ce0a3['bufferBase'],this['stack']=_0x2ce0a3,this['buffer']=_0x2ce0a3['buffer']);}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}['next'](){this['index']-=0x4,this['pos']-=0x4,0x0==this['index']&&this['maybeNext']();}['fork'](){return new StackBufferCursor(this['stack'],this['pos'],this['index']);}}function _0x84291c(_0x2cda77,_0x2ebb05=Uint16Array){if('string'!=typeof _0x2cda77)return _0x2cda77;let _0x5736f3=null;for(let _0x3992e9=0x0,_0x2b2264=0x0;_0x3992e9<_0x2cda77['length'];){let _0x4a0c8c=0x0;for(;;){let _0x5c943a=_0x2cda77['charCodeAt'](_0x3992e9++),_0xd31afa=!0x1;if(0x7e==_0x5c943a){_0x4a0c8c=0xffff;break;}_0x5c943a>=0x5c&&_0x5c943a--,_0x5c943a>=0x22&&_0x5c943a--;let _0x33b9bc=_0x5c943a-0x20;if(_0x33b9bc>=0x2e&&(_0x33b9bc-=0x2e,_0xd31afa=!0x0),_0x4a0c8c+=_0x33b9bc,_0xd31afa)break;_0x4a0c8c*=0x2e;}_0x5736f3?_0x5736f3[_0x2b2264++]=_0x4a0c8c:_0x5736f3=new _0x2ebb05(_0x4a0c8c);}return _0x5736f3;}class _0x290720{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x535154=new _0x290720();class InputStream{constructor(_0x1f0465,_0x29e063){this['input']=_0x1f0465,this['ranges']=_0x29e063,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x535154,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x29e063[0x0]['from'],this['range']=_0x29e063[0x0],this['end']=_0x29e063[_0x29e063['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x52d8ff,_0x39aa1b){let _0x2624f5=this['range'],_0x1dce12=this['rangeIndex'],_0x47c019=this['pos']+_0x52d8ff;for(;_0x47c019<_0x2624f5['from'];){if(!_0x1dce12)return null;let _0x3cd4e0=this['ranges'][--_0x1dce12];_0x47c019-=_0x2624f5['from']-_0x3cd4e0['to'],_0x2624f5=_0x3cd4e0;}for(;_0x39aa1b<0x0?_0x47c019>_0x2624f5['to']:_0x47c019>=_0x2624f5['to'];){if(_0x1dce12==this['ranges']['length']-0x1)return null;let _0x4717f3=this['ranges'][++_0x1dce12];_0x47c019+=_0x4717f3['from']-_0x2624f5['to'],_0x2624f5=_0x4717f3;}return _0x47c019;}['clipPos'](_0x8516c1){if(_0x8516c1>=this['range']['from']&&_0x8516c1<this['range']['to'])return _0x8516c1;for(let _0x3eb0a4 of this['ranges'])if(_0x3eb0a4['to']>_0x8516c1)return Math['max'](_0x8516c1,_0x3eb0a4['from']);return this['end'];}['peek'](_0x58d023){let _0x434134,_0x3eba0b,_0xceb6bf=this['chunkOff']+_0x58d023;if(_0xceb6bf>=0x0&&_0xceb6bf<this['chunk']['length'])_0x434134=this['pos']+_0x58d023,_0x3eba0b=this['chunk']['charCodeAt'](_0xceb6bf);else{let _0x2620ae=this['resolveOffset'](_0x58d023,0x1);if(null==_0x2620ae)return-0x1;if(_0x434134=_0x2620ae,_0x434134>=this['chunk2Pos']&&_0x434134<this['chunk2Pos']+this['chunk2']['length'])_0x3eba0b=this['chunk2']['charCodeAt'](_0x434134-this['chunk2Pos']);else{let _0x543d96=this['rangeIndex'],_0x48c822=this['range'];for(;_0x48c822['to']<=_0x434134;)_0x48c822=this['ranges'][++_0x543d96];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x434134),_0x434134+this['chunk2']['length']>_0x48c822['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x48c822['to']-_0x434134)),_0x3eba0b=this['chunk2']['charCodeAt'](0x0);}}return _0x434134>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x434134+0x1),_0x3eba0b;}['acceptToken'](_0x4a3cb6,_0x589c9f=0x0){let _0x4060bb=_0x589c9f?this['resolveOffset'](_0x589c9f,-0x1):this['pos'];if(null==_0x4060bb||_0x4060bb<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x4a3cb6,this['token']['end']=_0x4060bb;}['acceptTokenTo'](_0x35e1aa,_0x1ab4f0){this['token']['value']=_0x35e1aa,this['token']['end']=_0x1ab4f0;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x184784,chunkPos:_0x45e519}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x184784,this['chunk2Pos']=_0x45e519,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x2d8f1a=this['input']['chunk'](this['pos']),_0x47a052=this['pos']+_0x2d8f1a['length'];this['chunk']=_0x47a052>this['range']['to']?_0x2d8f1a['slice'](0x0,this['range']['to']-this['pos']):_0x2d8f1a,this['chunkPos']=this['pos'],this['chunkOff']=0x0;}}['readNext'](){return this['chunkOff']>=this['chunk']['length']&&(this['getChunk'](),this['chunkOff']==this['chunk']['length'])?this['next']=-0x1:this['next']=this['chunk']['charCodeAt'](this['chunkOff']);}['advance'](_0x2edcb2=0x1){for(this['chunkOff']+=_0x2edcb2;this['pos']+_0x2edcb2>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x2edcb2-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x2edcb2,this['pos']>=this['token']['lookAhead']&&(this['token']['lookAhead']=this['pos']+0x1),this['readNext']();}['setDone'](){return this['pos']=this['chunkPos']=this['end'],this['range']=this['ranges'][this['rangeIndex']=this['ranges']['length']-0x1],this['chunk']='',this['next']=-0x1;}['reset'](_0x4d988c,_0x48b52b){if(_0x48b52b?(this['token']=_0x48b52b,_0x48b52b['start']=_0x4d988c,_0x48b52b['lookAhead']=_0x4d988c+0x1,_0x48b52b['value']=_0x48b52b['extended']=-0x1):this['token']=_0x535154,this['pos']!=_0x4d988c){if(this['pos']=_0x4d988c,_0x4d988c==this['end'])return this['setDone'](),this;for(;_0x4d988c<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x4d988c>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x4d988c>=this['chunkPos']&&_0x4d988c<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x4d988c-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x274745,_0x478916){if(_0x274745>=this['chunkPos']&&_0x478916<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x274745-this['chunkPos'],_0x478916-this['chunkPos']);if(_0x274745>=this['chunk2Pos']&&_0x478916<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x274745-this['chunk2Pos'],_0x478916-this['chunk2Pos']);if(_0x274745>=this['range']['from']&&_0x478916<=this['range']['to'])return this['input']['read'](_0x274745,_0x478916);let _0x510086='';for(let _0x18637f of this['ranges']){if(_0x18637f['from']>=_0x478916)break;_0x18637f['to']>_0x274745&&(_0x510086+=this['input']['read'](Math['max'](_0x18637f['from'],_0x274745),Math['min'](_0x18637f['to'],_0x478916)));}return _0x510086;}}class _0x152e36{constructor(_0x4ec407,_0x291677){this['data']=_0x4ec407,this['id']=_0x291677;}['token'](_0x261ea3,_0x18601c){let {parser:_0x390437}=_0x18601c['p'];_0xe4f2bd(this['data'],_0x261ea3,_0x18601c,this['id'],_0x390437['data'],_0x390437['tokenPrecTable']);}}_0x152e36['prototype']['contextual']=_0x152e36['prototype']['fallback']=_0x152e36['prototype']['extend']=!0x1;class _0x2829ec{constructor(_0x83149b,_0x4209d9,_0x3720f6){this['precTable']=_0x4209d9,this['elseToken']=_0x3720f6,this['data']='string'==typeof _0x83149b?_0x84291c(_0x83149b):_0x83149b;}['token'](_0x17fbaa,_0x3960f4){let _0x1690b9=_0x17fbaa['pos'],_0x18cafd=0x0;for(;;){let _0x3fd2a9=_0x17fbaa['next']<0x0,_0x283ae0=_0x17fbaa['resolveOffset'](0x1,0x1);if(_0xe4f2bd(this['data'],_0x17fbaa,_0x3960f4,0x0,this['data'],this['precTable']),_0x17fbaa['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x3fd2a9||_0x18cafd++,null==_0x283ae0)break;_0x17fbaa['reset'](_0x283ae0,_0x17fbaa['token']);}_0x18cafd&&(_0x17fbaa['reset'](_0x1690b9,_0x17fbaa['token']),_0x17fbaa['acceptToken'](this['elseToken'],_0x18cafd));}}_0x2829ec['prototype']['contextual']=_0x152e36['prototype']['fallback']=_0x152e36['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x1da148,_0x583936={}){this['token']=_0x1da148,this['contextual']=!!_0x583936['contextual'],this['fallback']=!!_0x583936['fallback'],this['extend']=!!_0x583936['extend'];}}function _0xe4f2bd(_0x1c32aa,_0x5af6f3,_0x9fb864,_0x42cade,_0x4c95dd,_0x2c2197){let _0x5ecfe3=0x0,_0x3481fc=0x1<<_0x42cade,{dialect:_0x3e615f}=_0x9fb864['p']['parser'];t:for(;0x0!=(_0x3481fc&_0x1c32aa[_0x5ecfe3]);){let _0x4f1768=_0x1c32aa[_0x5ecfe3+0x1];for(let _0x24a08c=_0x5ecfe3+0x3;_0x24a08c<_0x4f1768;_0x24a08c+=0x2)if((_0x1c32aa[_0x24a08c+0x1]&_0x3481fc)>0x0){let _0x13debb=_0x1c32aa[_0x24a08c];if(_0x3e615f['allows'](_0x13debb)&&(-0x1==_0x5af6f3['token']['value']||_0x5af6f3['token']['value']==_0x13debb||_0x227207(_0x13debb,_0x5af6f3['token']['value'],_0x4c95dd,_0x2c2197))){_0x5af6f3['acceptToken'](_0x13debb);break;}}let _0x24dbe4=_0x5af6f3['next'],_0x4d8d37=0x0,_0x2e387a=_0x1c32aa[_0x5ecfe3+0x2];if(!(_0x5af6f3['next']<0x0&&_0x2e387a>_0x4d8d37&&0xffff==_0x1c32aa[_0x4f1768+0x3*_0x2e387a-0x3])){for(;_0x4d8d37<_0x2e387a;){let _0x40617a=_0x4d8d37+_0x2e387a>>0x1,_0x11f1ee=_0x4f1768+_0x40617a+(_0x40617a<<0x1),_0x5dd689=_0x1c32aa[_0x11f1ee],_0x53d936=_0x1c32aa[_0x11f1ee+0x1]||0x10000;if(_0x24dbe4<_0x5dd689)_0x2e387a=_0x40617a;else{if(!(_0x24dbe4>=_0x53d936)){_0x5ecfe3=_0x1c32aa[_0x11f1ee+0x2],_0x5af6f3['advance']();continue t;}_0x4d8d37=_0x40617a+0x1;}}break;}_0x5ecfe3=_0x1c32aa[_0x4f1768+0x3*_0x2e387a-0x1];}}function _0x4ea86b(_0x144015,_0x28784b,_0x2b0577){for(let _0x31ed7a,_0x25219f=_0x28784b;0xffff!=(_0x31ed7a=_0x144015[_0x25219f]);_0x25219f++)if(_0x31ed7a==_0x2b0577)return _0x25219f-_0x28784b;return-0x1;}function _0x227207(_0xfa4e54,_0x164d0b,_0x5886f8,_0x56e30c){let _0x1a43ca=_0x4ea86b(_0x5886f8,_0x56e30c,_0x164d0b);return _0x1a43ca<0x0||_0x4ea86b(_0x5886f8,_0x56e30c,_0xfa4e54)<_0x1a43ca;}const _0x53f501='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let _0x3f32f2=null;function _0x2a10ef(_0x363760,_0x101a81,_0x3858a5){let _0x2bb29b=_0x363760['cursor'](_0x37091f['IncludeAnonymous']);for(_0x2bb29b['moveTo'](_0x101a81);;)if(!(_0x3858a5<0x0?_0x2bb29b['childBefore'](_0x101a81):_0x2bb29b['childAfter'](_0x101a81)))for(;;){if((_0x3858a5<0x0?_0x2bb29b['to']<_0x101a81:_0x2bb29b['from']>_0x101a81)&&!_0x2bb29b['type']['isError'])return _0x3858a5<0x0?Math['max'](0x0,Math['min'](_0x2bb29b['to']-0x1,_0x101a81-0x19)):Math['min'](_0x363760['length'],Math['max'](_0x2bb29b['from']+0x1,_0x101a81+0x19));if(_0x3858a5<0x0?_0x2bb29b['prevSibling']():_0x2bb29b['nextSibling']())break;if(!_0x2bb29b['parent']())return _0x3858a5<0x0?0x0:_0x363760['length'];}}let _0x2f451b=class FragmentCursor{constructor(_0x175744,_0x2ec684){this['fragments']=_0x175744,this['nodeSet']=_0x2ec684,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x394931=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x394931){for(this['safeFrom']=_0x394931['openStart']?_0x2a10ef(_0x394931['tree'],_0x394931['from']+_0x394931['offset'],0x1)-_0x394931['offset']:_0x394931['from'],this['safeTo']=_0x394931['openEnd']?_0x2a10ef(_0x394931['tree'],_0x394931['to']+_0x394931['offset'],-0x1)-_0x394931['offset']:_0x394931['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x394931['tree']),this['start']['push'](-_0x394931['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x37c840){if(_0x37c840<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x37c840;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x4013ae=this['trees']['length']-0x1;if(_0x4013ae<0x0)return this['nextFragment'](),null;let _0x57690b=this['trees'][_0x4013ae],_0x530b72=this['index'][_0x4013ae];if(_0x530b72==_0x57690b['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x1030d3=_0x57690b['children'][_0x530b72],_0x16ccad=this['start'][_0x4013ae]+_0x57690b['positions'][_0x530b72];if(_0x16ccad>_0x37c840)return this['nextStart']=_0x16ccad,null;if(_0x1030d3 instanceof _0x54a715){if(_0x16ccad==_0x37c840){if(_0x16ccad<this['safeFrom'])return null;let _0x57b3bb=_0x16ccad+_0x1030d3['length'];if(_0x57b3bb<=this['safeTo']){let _0xff629e=_0x1030d3['prop'](_0x326db3['lookAhead']);if(!_0xff629e||_0x57b3bb+_0xff629e<this['fragment']['to'])return _0x1030d3;}}this['index'][_0x4013ae]++,_0x16ccad+_0x1030d3['length']>=Math['max'](this['safeFrom'],_0x37c840)&&(this['trees']['push'](_0x1030d3),this['start']['push'](_0x16ccad),this['index']['push'](0x0));}else this['index'][_0x4013ae]++,this['nextStart']=_0x16ccad+_0x1030d3['length'];}}};class _0xa57dfd{constructor(_0x13b481,_0x431d9d){this['stream']=_0x431d9d,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x13b481['tokenizers']['map'](_0x44bc02=>new _0x290720());}['getActions'](_0x499486){let _0x4f0bee=0x0,_0xb66945=null,{parser:_0x1c093e}=_0x499486['p'],{tokenizers:_0x301b6e}=_0x1c093e,_0x4459a8=_0x1c093e['stateSlot'](_0x499486['state'],0x3),_0xeb6273=_0x499486['curContext']?_0x499486['curContext']['hash']:0x0,_0xd2be0b=0x0;for(let _0x17fc6e=0x0;_0x17fc6e<_0x301b6e['length'];_0x17fc6e++){if(!(0x1<<_0x17fc6e&_0x4459a8))continue;let _0xd88424=_0x301b6e[_0x17fc6e],_0x472871=this['tokens'][_0x17fc6e];if((!_0xb66945||_0xd88424['fallback'])&&((_0xd88424['contextual']||_0x472871['start']!=_0x499486['pos']||_0x472871['mask']!=_0x4459a8||_0x472871['context']!=_0xeb6273)&&(this['updateCachedToken'](_0x472871,_0xd88424,_0x499486),_0x472871['mask']=_0x4459a8,_0x472871['context']=_0xeb6273),_0x472871['lookAhead']>_0x472871['end']+0x19&&(_0xd2be0b=Math['max'](_0x472871['lookAhead'],_0xd2be0b)),0x0!=_0x472871['value'])){let _0x4e966c=_0x4f0bee;if(_0x472871['extended']>-0x1&&(_0x4f0bee=this['addActions'](_0x499486,_0x472871['extended'],_0x472871['end'],_0x4f0bee)),_0x4f0bee=this['addActions'](_0x499486,_0x472871['value'],_0x472871['end'],_0x4f0bee),!_0xd88424['extend']&&(_0xb66945=_0x472871,_0x4f0bee>_0x4e966c))break;}}for(;this['actions']['length']>_0x4f0bee;)this['actions']['pop']();return _0xd2be0b&&_0x499486['setLookAhead'](_0xd2be0b),_0xb66945||_0x499486['pos']!=this['stream']['end']||(_0xb66945=new _0x290720(),_0xb66945['value']=_0x499486['p']['parser']['eofTerm'],_0xb66945['start']=_0xb66945['end']=_0x499486['pos'],_0x4f0bee=this['addActions'](_0x499486,_0xb66945['value'],_0xb66945['end'],_0x4f0bee)),this['mainToken']=_0xb66945,this['actions'];}['getMainToken'](_0x23f272){if(this['mainToken'])return this['mainToken'];let _0x236eda=new _0x290720(),{pos:_0x2b4a2a,p:_0x384371}=_0x23f272;return _0x236eda['start']=_0x2b4a2a,_0x236eda['end']=Math['min'](_0x2b4a2a+0x1,_0x384371['stream']['end']),_0x236eda['value']=_0x2b4a2a==_0x384371['stream']['end']?_0x384371['parser']['eofTerm']:0x0,_0x236eda;}['updateCachedToken'](_0x45d713,_0x597c43,_0x3b8918){let _0x338f98=this['stream']['clipPos'](_0x3b8918['pos']);if(_0x597c43['token'](this['stream']['reset'](_0x338f98,_0x45d713),_0x3b8918),_0x45d713['value']>-0x1){let {parser:_0x1ff4fc}=_0x3b8918['p'];for(let _0x375b29=0x0;_0x375b29<_0x1ff4fc['specialized']['length'];_0x375b29++)if(_0x1ff4fc['specialized'][_0x375b29]==_0x45d713['value']){let _0x1a92ed=_0x1ff4fc['specializers'][_0x375b29](this['stream']['read'](_0x45d713['start'],_0x45d713['end']),_0x3b8918);if(_0x1a92ed>=0x0&&_0x3b8918['p']['parser']['dialect']['allows'](_0x1a92ed>>0x1)){0x1&_0x1a92ed?_0x45d713['extended']=_0x1a92ed>>0x1:_0x45d713['value']=_0x1a92ed>>0x1;break;}}}else _0x45d713['value']=0x0,_0x45d713['end']=this['stream']['clipPos'](_0x338f98+0x1);}['putAction'](_0x43fc40,_0x7c5bfc,_0x289ea5,_0x495748){for(let _0x346b60=0x0;_0x346b60<_0x495748;_0x346b60+=0x3)if(this['actions'][_0x346b60]==_0x43fc40)return _0x495748;return this['actions'][_0x495748++]=_0x43fc40,this['actions'][_0x495748++]=_0x7c5bfc,this['actions'][_0x495748++]=_0x289ea5,_0x495748;}['addActions'](_0x296551,_0x167add,_0x2987ea,_0x1ff014){let {state:_0x84c020}=_0x296551,{parser:_0x1b539f}=_0x296551['p'],{data:_0x558ee9}=_0x1b539f;for(let _0x327688=0x0;_0x327688<0x2;_0x327688++)for(let _0x4c0948=_0x1b539f['stateSlot'](_0x84c020,_0x327688?0x2:0x1);;_0x4c0948+=0x3){if(0xffff==_0x558ee9[_0x4c0948]){if(0x1!=_0x558ee9[_0x4c0948+0x1]){0x0==_0x1ff014&&0x2==_0x558ee9[_0x4c0948+0x1]&&(_0x1ff014=this['putAction'](_0x495c72(_0x558ee9,_0x4c0948+0x2),_0x167add,_0x2987ea,_0x1ff014));break;}_0x4c0948=_0x495c72(_0x558ee9,_0x4c0948+0x2);}_0x558ee9[_0x4c0948]==_0x167add&&(_0x1ff014=this['putAction'](_0x495c72(_0x558ee9,_0x4c0948+0x1),_0x167add,_0x2987ea,_0x1ff014));}return _0x1ff014;}}class _0x3cabe3{constructor(_0x1139f1,_0x2afb58,_0x2f4161,_0x58a4f8){this['parser']=_0x1139f1,this['input']=_0x2afb58,this['ranges']=_0x58a4f8,this['recovering']=0x0,this['nextStackID']=0x2654,this['minStackPos']=0x0,this['reused']=[],this['stoppedAt']=null,this['lastBigReductionStart']=-0x1,this['lastBigReductionSize']=0x0,this['bigReductionCount']=0x0,this['stream']=new InputStream(_0x2afb58,_0x58a4f8),this['tokens']=new _0xa57dfd(_0x1139f1,this['stream']),this['topTerm']=_0x1139f1['top'][0x1];let {from:_0x5eb3ee}=_0x58a4f8[0x0];this['stacks']=[Stack['start'](this,_0x1139f1['top'][0x0],_0x5eb3ee)],this['fragments']=_0x2f4161['length']&&this['stream']['end']-_0x5eb3ee>0x4*_0x1139f1['bufferLength']?new _0x2f451b(_0x2f4161,_0x1139f1['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x1ba4a5,_0x4b8787,_0x4b1720=this['stacks'],_0x3f99cb=this['minStackPos'],_0x5aa450=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x4b1720['length']){let [_0x4cf4e0]=_0x4b1720;for(;_0x4cf4e0['forceReduce']()&&_0x4cf4e0['stack']['length']&&_0x4cf4e0['stack'][_0x4cf4e0['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x5403a7=0x0;_0x5403a7<_0x4b1720['length'];_0x5403a7++){let _0x38cea5=_0x4b1720[_0x5403a7];for(;;){if(this['tokens']['mainToken']=null,_0x38cea5['pos']>_0x3f99cb)_0x5aa450['push'](_0x38cea5);else{if(this['advanceStack'](_0x38cea5,_0x5aa450,_0x4b1720))continue;{_0x1ba4a5||(_0x1ba4a5=[],_0x4b8787=[]),_0x1ba4a5['push'](_0x38cea5);let _0x5b4f23=this['tokens']['getMainToken'](_0x38cea5);_0x4b8787['push'](_0x5b4f23['value'],_0x5b4f23['end']);}}break;}}if(!_0x5aa450['length']){let _0x1dfa6b=_0x1ba4a5&&function(_0x470f07){let _0x465141=null;for(let _0x4865e3 of _0x470f07){let _0x4f39d8=_0x4865e3['p']['stoppedAt'];(_0x4865e3['pos']==_0x4865e3['p']['stream']['end']||null!=_0x4f39d8&&_0x4865e3['pos']>_0x4f39d8)&&_0x4865e3['p']['parser']['stateFlag'](_0x4865e3['state'],0x2)&&(!_0x465141||_0x465141['score']<_0x4865e3['score'])&&(_0x465141=_0x4865e3);}return _0x465141;}(_0x1ba4a5);if(_0x1dfa6b)return _0x53f501&&console['log']('Finish\x20with\x20'+this['stackID'](_0x1dfa6b)),this['stackToTree'](_0x1dfa6b);if(this['parser']['strict'])throw _0x53f501&&_0x1ba4a5&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x3f99cb);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x1ba4a5){let _0x1a8961=null!=this['stoppedAt']&&_0x1ba4a5[0x0]['pos']>this['stoppedAt']?_0x1ba4a5[0x0]:this['runRecovery'](_0x1ba4a5,_0x4b8787,_0x5aa450);if(_0x1a8961)return _0x53f501&&console['log']('Force-finish\x20'+this['stackID'](_0x1a8961)),this['stackToTree'](_0x1a8961['forceAll']());}if(this['recovering']){let _0x551c36=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x5aa450['length']>_0x551c36){for(_0x5aa450['sort']((_0x3c7135,_0x4ac4f9)=>_0x4ac4f9['score']-_0x3c7135['score']);_0x5aa450['length']>_0x551c36;)_0x5aa450['pop']();}_0x5aa450['some'](_0x2ab4c6=>_0x2ab4c6['reducePos']>_0x3f99cb)&&this['recovering']--;}else{if(_0x5aa450['length']>0x1){t:for(let _0x3334f4=0x0;_0x3334f4<_0x5aa450['length']-0x1;_0x3334f4++){let _0x500357=_0x5aa450[_0x3334f4];for(let _0x251dd3=_0x3334f4+0x1;_0x251dd3<_0x5aa450['length'];_0x251dd3++){let _0xb7298c=_0x5aa450[_0x251dd3];if(_0x500357['sameState'](_0xb7298c)||_0x500357['buffer']['length']>0x1f4&&_0xb7298c['buffer']['length']>0x1f4){if(!((_0x500357['score']-_0xb7298c['score']||_0x500357['buffer']['length']-_0xb7298c['buffer']['length'])>0x0)){_0x5aa450['splice'](_0x3334f4--,0x1);continue t;}_0x5aa450['splice'](_0x251dd3--,0x1);}}}_0x5aa450['length']>0xc&&_0x5aa450['splice'](0xc,_0x5aa450['length']-0xc);}}this['minStackPos']=_0x5aa450[0x0]['pos'];for(let _0x42e422=0x1;_0x42e422<_0x5aa450['length'];_0x42e422++)_0x5aa450[_0x42e422]['pos']<this['minStackPos']&&(this['minStackPos']=_0x5aa450[_0x42e422]['pos']);return null;}['stopAt'](_0x8b6f47){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x8b6f47)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x8b6f47;}['advanceStack'](_0x47a3a2,_0x144c43,_0x56f031){let _0x456fa0=_0x47a3a2['pos'],{parser:_0x5a099a}=this,_0x1eacb5=_0x53f501?this['stackID'](_0x47a3a2)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x456fa0>this['stoppedAt'])return _0x47a3a2['forceReduce']()?_0x47a3a2:null;if(this['fragments']){let _0x1034b1=_0x47a3a2['curContext']&&_0x47a3a2['curContext']['tracker']['strict'],_0x531d28=_0x1034b1?_0x47a3a2['curContext']['hash']:0x0;for(let _0x3a5137=this['fragments']['nodeAt'](_0x456fa0);_0x3a5137;){let _0xa8dfec=this['parser']['nodeSet']['types'][_0x3a5137['type']['id']]==_0x3a5137['type']?_0x5a099a['getGoto'](_0x47a3a2['state'],_0x3a5137['type']['id']):-0x1;if(_0xa8dfec>-0x1&&_0x3a5137['length']&&(!_0x1034b1||(_0x3a5137['prop'](_0x326db3['contextHash'])||0x0)==_0x531d28))return _0x47a3a2['useNode'](_0x3a5137,_0xa8dfec),_0x53f501&&console['log'](_0x1eacb5+this['stackID'](_0x47a3a2)+('\x20(via\x20reuse\x20of\x20'+_0x5a099a['getName'](_0x3a5137['type']['id'])+')')),!0x0;if(!(_0x3a5137 instanceof _0x54a715)||0x0==_0x3a5137['children']['length']||_0x3a5137['positions'][0x0]>0x0)break;let _0xc034b7=_0x3a5137['children'][0x0];if(!(_0xc034b7 instanceof _0x54a715&&0x0==_0x3a5137['positions'][0x0]))break;_0x3a5137=_0xc034b7;}}let _0xa945c8=_0x5a099a['stateSlot'](_0x47a3a2['state'],0x4);if(_0xa945c8>0x0)return _0x47a3a2['reduce'](_0xa945c8),_0x53f501&&console['log'](_0x1eacb5+this['stackID'](_0x47a3a2)+('\x20(via\x20always-reduce\x20'+_0x5a099a['getName'](0xffff&_0xa945c8)+')')),!0x0;if(_0x47a3a2['stack']['length']>=0x20d0){for(;_0x47a3a2['stack']['length']>0x1770&&_0x47a3a2['forceReduce'](););}let _0xba6d7e=this['tokens']['getActions'](_0x47a3a2);for(let _0x165e3c=0x0;_0x165e3c<_0xba6d7e['length'];){let _0x354bf7=_0xba6d7e[_0x165e3c++],_0x3c1bc3=_0xba6d7e[_0x165e3c++],_0x19ce45=_0xba6d7e[_0x165e3c++],_0x81334c=_0x165e3c==_0xba6d7e['length']||!_0x56f031,_0x53dca9=_0x81334c?_0x47a3a2:_0x47a3a2['split'](),_0x1a4cef=this['tokens']['mainToken'];if(_0x53dca9['apply'](_0x354bf7,_0x3c1bc3,_0x1a4cef?_0x1a4cef['start']:_0x53dca9['pos'],_0x19ce45),_0x53f501&&console['log'](_0x1eacb5+this['stackID'](_0x53dca9)+('\x20(via\x20'+(0x10000&_0x354bf7?'reduce\x20of\x20'+_0x5a099a['getName'](0xffff&_0x354bf7):'shift')+'\x20for\x20'+_0x5a099a['getName'](_0x3c1bc3)+'\x20@\x20'+_0x456fa0+(_0x53dca9==_0x47a3a2?'':',\x20split')+')')),_0x81334c)return!0x0;_0x53dca9['pos']>_0x456fa0?_0x144c43['push'](_0x53dca9):_0x56f031['push'](_0x53dca9);}return!0x1;}['advanceFully'](_0x1d8a47,_0x4e0dc5){let _0x3b1aac=_0x1d8a47['pos'];for(;;){if(!this['advanceStack'](_0x1d8a47,null,null))return!0x1;if(_0x1d8a47['pos']>_0x3b1aac)return _0x24fc14(_0x1d8a47,_0x4e0dc5),!0x0;}}['runRecovery'](_0x13add7,_0x5a2323,_0x107010){let _0x383efa=null,_0x5b5472=!0x1;for(let _0x42a4ef=0x0;_0x42a4ef<_0x13add7['length'];_0x42a4ef++){let _0x46cc2b=_0x13add7[_0x42a4ef],_0x52547b=_0x5a2323[_0x42a4ef<<0x1],_0x3ac62a=_0x5a2323[0x1+(_0x42a4ef<<0x1)],_0x2d55c9=_0x53f501?this['stackID'](_0x46cc2b)+'\x20->\x20':'';if(_0x46cc2b['deadEnd']){if(_0x5b5472)continue;if(_0x5b5472=!0x0,_0x46cc2b['restart'](),_0x53f501&&console['log'](_0x2d55c9+this['stackID'](_0x46cc2b)+'\x20(restarted)'),this['advanceFully'](_0x46cc2b,_0x107010))continue;}let _0x22d44c=_0x46cc2b['split'](),_0x83a857=_0x2d55c9;for(let _0x2274a0=0x0;_0x2274a0<0xa&&_0x22d44c['forceReduce']();_0x2274a0++){if(_0x53f501&&console['log'](_0x83a857+this['stackID'](_0x22d44c)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x22d44c,_0x107010))break;_0x53f501&&(_0x83a857=this['stackID'](_0x22d44c)+'\x20->\x20');}for(let _0x25654c of _0x46cc2b['recoverByInsert'](_0x52547b))_0x53f501&&console['log'](_0x2d55c9+this['stackID'](_0x25654c)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x25654c,_0x107010);this['stream']['end']>_0x46cc2b['pos']?(_0x3ac62a==_0x46cc2b['pos']&&(_0x3ac62a++,_0x52547b=0x0),_0x46cc2b['recoverByDelete'](_0x52547b,_0x3ac62a),_0x53f501&&console['log'](_0x2d55c9+this['stackID'](_0x46cc2b)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x52547b)+')')),_0x24fc14(_0x46cc2b,_0x107010)):(!_0x383efa||_0x383efa['score']<_0x46cc2b['score'])&&(_0x383efa=_0x46cc2b);}return _0x383efa;}['stackToTree'](_0x2bcb58){return _0x2bcb58['close'](),_0x54a715['build']({'buffer':StackBufferCursor['create'](_0x2bcb58),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x2bcb58['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x50ed1d){let _0x1e7993=(_0x3f32f2||(_0x3f32f2=new WeakMap()))['get'](_0x50ed1d);return _0x1e7993||_0x3f32f2['set'](_0x50ed1d,_0x1e7993=String['fromCodePoint'](this['nextStackID']++)),_0x1e7993+_0x50ed1d;}}function _0x24fc14(_0x3abea5,_0x414415){for(let _0x2b0ab5=0x0;_0x2b0ab5<_0x414415['length'];_0x2b0ab5++){let _0x46856e=_0x414415[_0x2b0ab5];if(_0x46856e['pos']==_0x3abea5['pos']&&_0x46856e['sameState'](_0x3abea5))return void(_0x414415[_0x2b0ab5]['score']<_0x3abea5['score']&&(_0x414415[_0x2b0ab5]=_0x3abea5));}_0x414415['push'](_0x3abea5);}class Dialect{constructor(_0x3d207e,_0x36a6ef,_0x2245b3){this['source']=_0x3d207e,this['flags']=_0x36a6ef,this['disabled']=_0x2245b3;}['allows'](_0x3ae16c){return!this['disabled']||0x0==this['disabled'][_0x3ae16c];}}const _0x10b5ae=_0x1e32d7=>_0x1e32d7;class ContextTracker{constructor(_0x48e81f){this['start']=_0x48e81f['start'],this['shift']=_0x48e81f['shift']||_0x10b5ae,this['reduce']=_0x48e81f['reduce']||_0x10b5ae,this['reuse']=_0x48e81f['reuse']||_0x10b5ae,this['hash']=_0x48e81f['hash']||(()=>0x0),this['strict']=!0x1!==_0x48e81f['strict'];}}class _0x218a96 extends _0x47e9de{constructor(_0x4d1f2d){if(super(),this['wrappers']=[],0xe!=_0x4d1f2d['version'])throw new RangeError('Parser\x20version\x20('+_0x4d1f2d['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x3030fc=_0x4d1f2d['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x3030fc['length'];for(let _0x2a99b0=0x0;_0x2a99b0<_0x4d1f2d['repeatNodeCount'];_0x2a99b0++)_0x3030fc['push']('');let _0x3fd4c6=Object['keys'](_0x4d1f2d['topRules'])['map'](_0x1d9770=>_0x4d1f2d['topRules'][_0x1d9770][0x1]),_0x2474aa=[];for(let _0x3c69d5=0x0;_0x3c69d5<_0x3030fc['length'];_0x3c69d5++)_0x2474aa['push']([]);function _0x77ef79(_0x2a66a2,_0x1261fa,_0x374ab7){_0x2474aa[_0x2a66a2]['push']([_0x1261fa,_0x1261fa['deserialize'](String(_0x374ab7))]);}if(_0x4d1f2d['nodeProps'])for(let _0x49829b of _0x4d1f2d['nodeProps']){let _0x5d0fa4=_0x49829b[0x0];'string'==typeof _0x5d0fa4&&(_0x5d0fa4=_0x326db3[_0x5d0fa4]);for(let _0x3d029f=0x1;_0x3d029f<_0x49829b['length'];){let _0x3f5d47=_0x49829b[_0x3d029f++];if(_0x3f5d47>=0x0)_0x77ef79(_0x3f5d47,_0x5d0fa4,_0x49829b[_0x3d029f++]);else{let _0x28feeb=_0x49829b[_0x3d029f+-_0x3f5d47];for(let _0x4b1c30=-_0x3f5d47;_0x4b1c30>0x0;_0x4b1c30--)_0x77ef79(_0x49829b[_0x3d029f++],_0x5d0fa4,_0x28feeb);_0x3d029f++;}}}this['nodeSet']=new NodeSet(_0x3030fc['map']((_0x2dc1cd,_0x4f6d34)=>_0x76b5bd['define']({'name':_0x4f6d34>=this['minRepeatTerm']?void 0x0:_0x2dc1cd,'id':_0x4f6d34,'props':_0x2474aa[_0x4f6d34],'top':_0x3fd4c6['indexOf'](_0x4f6d34)>-0x1,'error':0x0==_0x4f6d34,'skipped':_0x4d1f2d['skippedNodes']&&_0x4d1f2d['skippedNodes']['indexOf'](_0x4f6d34)>-0x1}))),_0x4d1f2d['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x4d1f2d['propSources'])),this['strict']=!0x1,this['bufferLength']=_0x306758;let _0x3bac73=_0x84291c(_0x4d1f2d['tokenData']);this['context']=_0x4d1f2d['context'],this['specializerSpecs']=_0x4d1f2d['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x4b7b97=0x0;_0x4b7b97<this['specializerSpecs']['length'];_0x4b7b97++)this['specialized'][_0x4b7b97]=this['specializerSpecs'][_0x4b7b97]['term'];this['specializers']=this['specializerSpecs']['map'](_0x29d3c2),this['states']=_0x84291c(_0x4d1f2d['states'],Uint32Array),this['data']=_0x84291c(_0x4d1f2d['stateData']),this['goto']=_0x84291c(_0x4d1f2d['goto']),this['maxTerm']=_0x4d1f2d['maxTerm'],this['tokenizers']=_0x4d1f2d['tokenizers']['map'](_0x103d65=>'number'==typeof _0x103d65?new _0x152e36(_0x3bac73,_0x103d65):_0x103d65),this['topRules']=_0x4d1f2d['topRules'],this['dialects']=_0x4d1f2d['dialects']||{},this['dynamicPrecedences']=_0x4d1f2d['dynamicPrecedences']||null,this['tokenPrecTable']=_0x4d1f2d['tokenPrec'],this['termNames']=_0x4d1f2d['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x9c2a83,_0x333ee5,_0x1e6d19){let _0x1dc25e=new _0x3cabe3(this,_0x9c2a83,_0x333ee5,_0x1e6d19);for(let _0x1a7677 of this['wrappers'])_0x1dc25e=_0x1a7677(_0x1dc25e,_0x9c2a83,_0x333ee5,_0x1e6d19);return _0x1dc25e;}['getGoto'](_0x12dd46,_0x291c1e,_0x248649=!0x1){let _0x14c17d=this['goto'];if(_0x291c1e>=_0x14c17d[0x0])return-0x1;for(let _0x503959=_0x14c17d[_0x291c1e+0x1];;){let _0x1691f2=_0x14c17d[_0x503959++],_0x45e198=0x1&_0x1691f2,_0x16e7b1=_0x14c17d[_0x503959++];if(_0x45e198&&_0x248649)return _0x16e7b1;for(let _0x4e3db0=_0x503959+(_0x1691f2>>0x1);_0x503959<_0x4e3db0;_0x503959++)if(_0x14c17d[_0x503959]==_0x12dd46)return _0x16e7b1;if(_0x45e198)return-0x1;}}['hasAction'](_0x12be0e,_0x5b0337){let _0x498d7a=this['data'];for(let _0x3343c2=0x0;_0x3343c2<0x2;_0x3343c2++)for(let _0x15a6f0,_0x37ef92=this['stateSlot'](_0x12be0e,_0x3343c2?0x2:0x1);;_0x37ef92+=0x3){if(0xffff==(_0x15a6f0=_0x498d7a[_0x37ef92])){if(0x1!=_0x498d7a[_0x37ef92+0x1]){if(0x2==_0x498d7a[_0x37ef92+0x1])return _0x495c72(_0x498d7a,_0x37ef92+0x2);break;}_0x15a6f0=_0x498d7a[_0x37ef92=_0x495c72(_0x498d7a,_0x37ef92+0x2)];}if(_0x15a6f0==_0x5b0337||0x0==_0x15a6f0)return _0x495c72(_0x498d7a,_0x37ef92+0x1);}return 0x0;}['stateSlot'](_0x5d3d9d,_0x39fbd8){return this['states'][0x6*_0x5d3d9d+_0x39fbd8];}['stateFlag'](_0x5dc793,_0x5b0213){return(this['stateSlot'](_0x5dc793,0x0)&_0x5b0213)>0x0;}['validAction'](_0x14885b,_0x39233a){return!!this['allActions'](_0x14885b,_0x37a281=>_0x37a281==_0x39233a||null);}['allActions'](_0x416b44,_0x1c16e9){let _0x90bd0b=this['stateSlot'](_0x416b44,0x4),_0x7e64ce=_0x90bd0b?_0x1c16e9(_0x90bd0b):void 0x0;for(let _0x268a9c=this['stateSlot'](_0x416b44,0x1);null==_0x7e64ce;_0x268a9c+=0x3){if(0xffff==this['data'][_0x268a9c]){if(0x1!=this['data'][_0x268a9c+0x1])break;_0x268a9c=_0x495c72(this['data'],_0x268a9c+0x2);}_0x7e64ce=_0x1c16e9(_0x495c72(this['data'],_0x268a9c+0x1));}return _0x7e64ce;}['nextStates'](_0xe6a20c){let _0x319a13=[];for(let _0x4ea57e=this['stateSlot'](_0xe6a20c,0x1);;_0x4ea57e+=0x3){if(0xffff==this['data'][_0x4ea57e]){if(0x1!=this['data'][_0x4ea57e+0x1])break;_0x4ea57e=_0x495c72(this['data'],_0x4ea57e+0x2);}if(!(0x1&this['data'][_0x4ea57e+0x2])){let _0xac7c8f=this['data'][_0x4ea57e+0x1];_0x319a13['some']((_0x549fc0,_0x284f07)=>0x1&_0x284f07&&_0x549fc0==_0xac7c8f)||_0x319a13['push'](this['data'][_0x4ea57e],_0xac7c8f);}}return _0x319a13;}['configure'](_0x3c09f8){let _0xb5e41b=Object['assign'](Object['create'](_0x218a96['prototype']),this);if(_0x3c09f8['props']&&(_0xb5e41b['nodeSet']=this['nodeSet']['extend'](..._0x3c09f8['props'])),_0x3c09f8['top']){let _0x24b5ec=this['topRules'][_0x3c09f8['top']];if(!_0x24b5ec)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x3c09f8['top']);_0xb5e41b['top']=_0x24b5ec;}return _0x3c09f8['tokenizers']&&(_0xb5e41b['tokenizers']=this['tokenizers']['map'](t=>{let _0x2b3772=_0x3c09f8['tokenizers']['find'](_0xacc8d8=>_0xacc8d8['from']==t);return _0x2b3772?_0x2b3772['to']:t;})),_0x3c09f8['specializers']&&(_0xb5e41b['specializers']=this['specializers']['slice'](),_0xb5e41b['specializerSpecs']=this['specializerSpecs']['map']((_0x408916,_0x4c6aeb)=>{let _0x31dedc=_0x3c09f8['specializers']['find'](_0x500e87=>_0x500e87['from']==_0x408916['external']);if(!_0x31dedc)return _0x408916;let _0x198f09=Object['assign'](Object['assign']({},_0x408916),{'external':_0x31dedc['to']});return _0xb5e41b['specializers'][_0x4c6aeb]=_0x29d3c2(_0x198f09),_0x198f09;})),_0x3c09f8['contextTracker']&&(_0xb5e41b['context']=_0x3c09f8['contextTracker']),_0x3c09f8['dialect']&&(_0xb5e41b['dialect']=this['parseDialect'](_0x3c09f8['dialect'])),null!=_0x3c09f8['strict']&&(_0xb5e41b['strict']=_0x3c09f8['strict']),_0x3c09f8['wrap']&&(_0xb5e41b['wrappers']=_0xb5e41b['wrappers']['concat'](_0x3c09f8['wrap'])),null!=_0x3c09f8['bufferLength']&&(_0xb5e41b['bufferLength']=_0x3c09f8['bufferLength']),_0xb5e41b;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x37d08f){return this['termNames']?this['termNames'][_0x37d08f]:String(_0x37d08f<=this['maxNode']&&this['nodeSet']['types'][_0x37d08f]['name']||_0x37d08f);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x22c831){let _0x2f1933=this['dynamicPrecedences'];return null==_0x2f1933?0x0:_0x2f1933[_0x22c831]||0x0;}['parseDialect'](_0x238587){let _0x1385d1=Object['keys'](this['dialects']),_0x318d9e=_0x1385d1['map'](()=>!0x1);if(_0x238587)for(let _0x2d9f2b of _0x238587['split']('\x20')){let _0x52710e=_0x1385d1['indexOf'](_0x2d9f2b);_0x52710e>=0x0&&(_0x318d9e[_0x52710e]=!0x0);}let _0x3aa579=null;for(let _0x151041=0x0;_0x151041<_0x1385d1['length'];_0x151041++)if(!_0x318d9e[_0x151041]){for(let _0x543675,_0x34c07e=this['dialects'][_0x1385d1[_0x151041]];0xffff!=(_0x543675=this['data'][_0x34c07e++]);)(_0x3aa579||(_0x3aa579=new Uint8Array(this['maxTerm']+0x1)))[_0x543675]=0x1;}return new Dialect(_0x238587,_0x318d9e,_0x3aa579);}static['deserialize'](_0x2489aa){return new _0x218a96(_0x2489aa);}}function _0x495c72(_0x21d416,_0x3752e0){return _0x21d416[_0x3752e0]|_0x21d416[_0x3752e0+0x1]<<0x10;}function _0x29d3c2(_0x7d1172){if(_0x7d1172['external']){let _0x51ecc8=_0x7d1172['extend']?0x1:0x0;return(_0x299af9,_0x59b292)=>_0x7d1172['external'](_0x299af9,_0x59b292)<<0x1|_0x51ecc8;}return _0x7d1172['get'];}const _0x186c67={'area':!0x0,'base':!0x0,'br':!0x0,'col':!0x0,'command':!0x0,'embed':!0x0,'frame':!0x0,'hr':!0x0,'img':!0x0,'input':!0x0,'keygen':!0x0,'link':!0x0,'meta':!0x0,'param':!0x0,'source':!0x0,'track':!0x0,'wbr':!0x0,'menuitem':!0x0},_0x3ffbee={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x32e3e4={'dd':{'dd':!0x0,'dt':!0x0},'dt':{'dd':!0x0,'dt':!0x0},'li':{'li':!0x0},'option':{'option':!0x0,'optgroup':!0x0},'optgroup':{'optgroup':!0x0},'p':{'address':!0x0,'article':!0x0,'aside':!0x0,'blockquote':!0x0,'dir':!0x0,'div':!0x0,'dl':!0x0,'fieldset':!0x0,'footer':!0x0,'form':!0x0,'h1':!0x0,'h2':!0x0,'h3':!0x0,'h4':!0x0,'h5':!0x0,'h6':!0x0,'header':!0x0,'hgroup':!0x0,'hr':!0x0,'menu':!0x0,'nav':!0x0,'ol':!0x0,'p':!0x0,'pre':!0x0,'section':!0x0,'table':!0x0,'ul':!0x0},'rp':{'rp':!0x0,'rt':!0x0},'rt':{'rp':!0x0,'rt':!0x0},'tbody':{'tbody':!0x0,'tfoot':!0x0},'td':{'td':!0x0,'th':!0x0},'tfoot':{'tbody':!0x0},'th':{'td':!0x0,'th':!0x0},'thead':{'tbody':!0x0,'tfoot':!0x0},'tr':{'tr':!0x0}};function _0x29f9d5(_0x46484e){return 0x2d==_0x46484e||0x2e==_0x46484e||0x3a==_0x46484e||_0x46484e>=0x41&&_0x46484e<=0x5a||0x5f==_0x46484e||_0x46484e>=0x61&&_0x46484e<=0x7a||_0x46484e>=0xa1;}let _0x1e72f2=null,_0x36bed8=null,_0x1f3492=0x0;function _0x668812(_0x1a5b4a,_0x130c22){let _0x24431c=_0x1a5b4a['pos']+_0x130c22;if(_0x1f3492==_0x24431c&&_0x36bed8==_0x1a5b4a)return _0x1e72f2;let _0xcf0f84=_0x1a5b4a['peek'](_0x130c22),_0x31dac8='';for(;_0x29f9d5(_0xcf0f84);)_0x31dac8+=String['fromCharCode'](_0xcf0f84),_0xcf0f84=_0x1a5b4a['peek'](++_0x130c22);return _0x36bed8=_0x1a5b4a,_0x1f3492=_0x24431c,_0x1e72f2=_0x31dac8?_0x31dac8['toLowerCase']():_0xcf0f84==_0x18149c||_0xcf0f84==_0x3682f0?void 0x0:null;}const _0x18149c=0x3f,_0x3682f0=0x21;function _0x2e5cc1(_0x49ceef,_0xf6af0){this['name']=_0x49ceef,this['parent']=_0xf6af0;}const _0xea6445=[0x6,0xa,0x7,0x8,0x9],_0x464c1d=new ContextTracker({'start':null,'shift':(_0xe7cbfe,_0x35a909,_0x45dced,_0xe3933f)=>_0xea6445['indexOf'](_0x35a909)>-0x1?new _0x2e5cc1(_0x668812(_0xe3933f,0x1)||'',_0xe7cbfe):_0xe7cbfe,'reduce':(_0x22b64e,_0xaccfb2)=>0x15==_0xaccfb2&&_0x22b64e?_0x22b64e['parent']:_0x22b64e,'reuse'(_0xf79d13,_0x22ce77,_0x422ca7,_0x3239ea){let _0x52980a=_0x22ce77['type']['id'];return 0x6==_0x52980a||0x25==_0x52980a?new _0x2e5cc1(_0x668812(_0x3239ea,0x1)||'',_0xf79d13):_0xf79d13;},'strict':!0x1}),_0x1ffcb0=new ExternalTokenizer((_0x4e37d6,_0x2869b3)=>{if(0x3c!=_0x4e37d6['next'])return void(_0x4e37d6['next']<0x0&&_0x2869b3['context']&&_0x4e37d6['acceptToken'](0x3a));_0x4e37d6['advance']();let _0x12eab9=0x2f==_0x4e37d6['next'];_0x12eab9&&_0x4e37d6['advance']();let _0x24ef8c=_0x668812(_0x4e37d6,0x0);if(void 0x0===_0x24ef8c)return;if(!_0x24ef8c)return _0x4e37d6['acceptToken'](_0x12eab9?0xf:0xe);let _0x30efcb=_0x2869b3['context']?_0x2869b3['context']['name']:null;if(_0x12eab9){if(_0x24ef8c==_0x30efcb)return _0x4e37d6['acceptToken'](0xb);if(_0x30efcb&&_0x3ffbee[_0x30efcb])return _0x4e37d6['acceptToken'](0x3a,-0x2);if(_0x2869b3['dialectEnabled'](0x0))return _0x4e37d6['acceptToken'](0xc);for(let _0x209c1a=_0x2869b3['context'];_0x209c1a;_0x209c1a=_0x209c1a['parent'])if(_0x209c1a['name']==_0x24ef8c)return;_0x4e37d6['acceptToken'](0xd);}else{if('script'==_0x24ef8c)return _0x4e37d6['acceptToken'](0x7);if('style'==_0x24ef8c)return _0x4e37d6['acceptToken'](0x8);if('textarea'==_0x24ef8c)return _0x4e37d6['acceptToken'](0x9);if(_0x186c67['hasOwnProperty'](_0x24ef8c))return _0x4e37d6['acceptToken'](0xa);_0x30efcb&&_0x32e3e4[_0x30efcb]&&_0x32e3e4[_0x30efcb][_0x24ef8c]?_0x4e37d6['acceptToken'](0x3a,-0x1):_0x4e37d6['acceptToken'](0x6);}},{'contextual':!0x0}),_0x23f4e3=new ExternalTokenizer(_0x94755e=>{for(let _0x21991d=0x0,_0x4b9ceb=0x0;;_0x4b9ceb++){if(_0x94755e['next']<0x0){_0x4b9ceb&&_0x94755e['acceptToken'](0x3b);break;}if(0x2d==_0x94755e['next'])_0x21991d++;else{if(0x3e==_0x94755e['next']&&_0x21991d>=0x2){_0x4b9ceb>=0x3&&_0x94755e['acceptToken'](0x3b,-0x2);break;}_0x21991d=0x0;}_0x94755e['advance']();}}),_0x419b9d=new ExternalTokenizer((_0x3d39db,_0x4966bf)=>{if(0x2f==_0x3d39db['next']&&0x3e==_0x3d39db['peek'](0x1)){let _0xafd308=_0x4966bf['dialectEnabled'](0x1)||function(_0x13411a){for(;_0x13411a;_0x13411a=_0x13411a['parent'])if('svg'==_0x13411a['name']||'math'==_0x13411a['name'])return!0x0;return!0x1;}(_0x4966bf['context']);_0x3d39db['acceptToken'](_0xafd308?0x5:0x4,0x2);}else 0x3e==_0x3d39db['next']&&_0x3d39db['acceptToken'](0x4,0x1);});function _0x50a1e6(_0x4c1012,_0xfaea6e,_0x3eb9a5){let _0x2c985e=0x2+_0x4c1012['length'];return new ExternalTokenizer(_0x115c12=>{for(let _0x5379e9=0x0,_0xb455fd=0x0,_0x48ee3a=0x0;;_0x48ee3a++){if(_0x115c12['next']<0x0){_0x48ee3a&&_0x115c12['acceptToken'](_0xfaea6e);break;}if(0x0==_0x5379e9&&0x3c==_0x115c12['next']||0x1==_0x5379e9&&0x2f==_0x115c12['next']||_0x5379e9>=0x2&&_0x5379e9<_0x2c985e&&_0x115c12['next']==_0x4c1012['charCodeAt'](_0x5379e9-0x2))_0x5379e9++,_0xb455fd++;else{if(_0x5379e9==_0x2c985e&&0x3e==_0x115c12['next']){_0x48ee3a>_0xb455fd?_0x115c12['acceptToken'](_0xfaea6e,-_0xb455fd):_0x115c12['acceptToken'](_0x3eb9a5,-(_0xb455fd-0x2));break;}if((0xa==_0x115c12['next']||0xd==_0x115c12['next'])&&_0x48ee3a){_0x115c12['acceptToken'](_0xfaea6e,0x1);break;}_0x5379e9=_0xb455fd=0x0;}_0x115c12['advance']();}});}const _0x5ef2a5=_0x50a1e6('script',0x37,0x1),_0x36fb96=_0x50a1e6('style',0x38,0x2),_0x51f52a=_0x50a1e6('textarea',0x39,0x3),_0x2fbd54=_0x1fda3a({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':_0x4ccfa4['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':_0x4ccfa4['angleBracket'],'TagName':_0x4ccfa4['tagName'],'MismatchedCloseTag/TagName':[_0x4ccfa4['tagName'],_0x4ccfa4['invalid']],'AttributeName':_0x4ccfa4['attributeName'],'AttributeValue\x20UnquotedAttributeValue':_0x4ccfa4['attributeValue'],'Is':_0x4ccfa4['definitionOperator'],'EntityReference\x20CharacterReference':_0x4ccfa4['character'],'Comment':_0x4ccfa4['blockComment'],'ProcessingInst':_0x4ccfa4['processingInstruction'],'DoctypeDecl':_0x4ccfa4['documentMeta']}),_0x1d8bae=_0x218a96['deserialize']({'version':0xe,'states':',xOVO!rOOO!ZQ#tO\x27#CrO!`Q#tO\x27#C{O!eQ#tO\x27#DOO!jQ#tO\x27#DRO!oQ#tO\x27#DTO!tOaO\x27#CqO#PObO\x27#CqO#[OdO\x27#CqO$kO!rO\x27#CqOOO`\x27#Cq\x27#CqO$rO$fO\x27#DUO$zQ#tO\x27#DWO%PQ#tO\x27#DXOOO`\x27#Dl\x27#DlOOO`\x27#DZ\x27#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa\x27#D_\x27#D_O&_OaO\x27#CyO&jOaO,59]OOOb\x27#D`\x27#D`O&rObO\x27#C|O&}ObO,59]OOOd\x27#Da\x27#DaO\x27VOdO\x27#DPO\x27bOdO,59]OOO`\x27#Db\x27#DbO\x27jO!rO,59]O\x27qQ#tO\x27#DSOOO`,59],59]OOOp\x27#Dc\x27#DcO\x27vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO\x27#CtOOQW\x27#D[\x27#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO\x27#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO\x27#C}OOOd-E7_-E7_O){Q#tO\x27#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O\x27#CwO+SOMhO\x27#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO\x27#D]\x27#D]O+eO7[O,59cOOQW,59c,59cOOOO\x27#D^\x27#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[','stateData':',c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~','goto':'%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp','nodeNames':'⚠\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20EndTag\x20SelfClosingEndTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20IncompleteTag\x20IncompleteCloseTag\x20Document\x20Text\x20EntityReference\x20CharacterReference\x20InvalidEntity\x20Element\x20OpenTag\x20TagName\x20Attribute\x20AttributeName\x20Is\x20AttributeValue\x20UnquotedAttributeValue\x20ScriptText\x20CloseTag\x20OpenTag\x20StyleText\x20CloseTag\x20OpenTag\x20TextareaText\x20CloseTag\x20OpenTag\x20CloseTag\x20SelfClosingTag\x20Comment\x20ProcessingInst\x20MismatchedCloseTag\x20CloseTag\x20DoctypeDecl','maxTerm':0x44,'context':_0x464c1d,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x16,0x1f,0x22,0x25,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1e,0x21,0x24,0x26,'OpenTag'],['group',-0xa,0xe,0xf,0x12,0x13,0x14,0x15,0x28,0x29,0x2a,0x2b,'Entity',0x11,'Entity\x20TextContent',-0x3,0x1d,0x20,0x23,'TextContent\x20Entity'],['isolate',-0xb,0x16,0x1e,0x1f,0x21,0x22,0x24,0x25,0x26,0x27,0x2a,0x2b,'ltr',-0x3,0x1b,0x1c,0x28,'']],'propSources':[_0x2fbd54],'skippedNodes':[0x0],'repeatNodeCount':0x9,'tokenData':'!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;\x27S$q;\x27S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UVaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pTaPOv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!dpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!b`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;\x27S1k;\x27S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;\x27S@O;\x27S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;\x27SAY;\x27S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!\x27]!g#W*V#W#X!0`#X;\x27S*V;\x27S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;\x27S!,h;\x27S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;\x27S!-S;\x27S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;\x27S!5k;\x27S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;\x27S!6V;\x27S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;\x27S!6V;\x27S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[_0x5ef2a5,_0x36fb96,_0x51f52a,_0x419b9d,_0x1ffcb0,_0x23f4e3,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function _0x4235df(_0x275ba1,_0x2feafa){let _0x41f4d2=Object['create'](null);for(let _0xe75662 of _0x275ba1['getChildren'](0x18)){let _0x162a9d=_0xe75662['getChild'](0x19),_0x407ad1=_0xe75662['getChild'](0x1b)||_0xe75662['getChild'](0x1c);_0x162a9d&&(_0x41f4d2[_0x2feafa['read'](_0x162a9d['from'],_0x162a9d['to'])]=_0x407ad1?0x1b==_0x407ad1['type']['id']?_0x2feafa['read'](_0x407ad1['from']+0x1,_0x407ad1['to']-0x1):_0x2feafa['read'](_0x407ad1['from'],_0x407ad1['to']):'');}return _0x41f4d2;}function _0x290fc7(_0xbcc26,_0x41bd88){let _0x8d800=_0xbcc26['getChild'](0x17);return _0x8d800?_0x41bd88['read'](_0x8d800['from'],_0x8d800['to']):'\x20';}function _0xc126eb(_0xdfd45e,_0x136d36,_0x46e97e){let _0x1e9dca;for(let _0x2780fc of _0x46e97e)if(!_0x2780fc['attrs']||_0x2780fc['attrs'](_0x1e9dca||(_0x1e9dca=_0x4235df(_0xdfd45e['node']['parent']['firstChild'],_0x136d36))))return{'parser':_0x2780fc['parser']};return null;}function _0x373ac6(_0x7ac20a=[],_0x2e66a3=[]){let _0x2fb501=[],_0x4bf0c3=[],_0x17a031=[],_0x3198c7=[];for(let _0x3d0e83 of _0x7ac20a){('script'==_0x3d0e83['tag']?_0x2fb501:'style'==_0x3d0e83['tag']?_0x4bf0c3:'textarea'==_0x3d0e83['tag']?_0x17a031:_0x3198c7)['push'](_0x3d0e83);}let _0x4e9b5f=_0x2e66a3['length']?Object['create'](null):null;for(let _0x4b92a7 of _0x2e66a3)(_0x4e9b5f[_0x4b92a7['name']]||(_0x4e9b5f[_0x4b92a7['name']]=[]))['push'](_0x4b92a7);return _0x366d76((_0x40b60b,_0x288db1)=>{let _0x182e9b=_0x40b60b['type']['id'];if(0x1d==_0x182e9b)return _0xc126eb(_0x40b60b,_0x288db1,_0x2fb501);if(0x20==_0x182e9b)return _0xc126eb(_0x40b60b,_0x288db1,_0x4bf0c3);if(0x23==_0x182e9b)return _0xc126eb(_0x40b60b,_0x288db1,_0x17a031);if(0x15==_0x182e9b&&_0x3198c7['length']){let _0xf3bad6,_0x3904e6=_0x40b60b['node'],_0x161986=_0x3904e6['firstChild'],_0x4c22f0=_0x161986&&_0x290fc7(_0x161986,_0x288db1);if(_0x4c22f0){for(let _0x371600 of _0x3198c7)if(_0x371600['tag']==_0x4c22f0&&(!_0x371600['attrs']||_0x371600['attrs'](_0xf3bad6||(_0xf3bad6=_0x4235df(_0x161986,_0x288db1))))){let _0x407dcc=_0x3904e6['lastChild'],_0x2c2cfd=0x26==_0x407dcc['type']['id']?_0x407dcc['from']:_0x3904e6['to'];if(_0x2c2cfd>_0x161986['to'])return{'parser':_0x371600['parser'],'overlay':[{'from':_0x161986['to'],'to':_0x2c2cfd}]};}}}if(_0x4e9b5f&&0x18==_0x182e9b){let _0x299fe4,_0x2ac131=_0x40b60b['node'];if(_0x299fe4=_0x2ac131['firstChild']){let _0x1a7e1c=_0x4e9b5f[_0x288db1['read'](_0x299fe4['from'],_0x299fe4['to'])];if(_0x1a7e1c)for(let _0xd56f7b of _0x1a7e1c){if(_0xd56f7b['tagName']&&_0xd56f7b['tagName']!=_0x290fc7(_0x2ac131['parent'],_0x288db1))continue;let _0x530694=_0x2ac131['lastChild'];if(0x1b==_0x530694['type']['id']){let _0x3f522f=_0x530694['from']+0x1,_0x322b94=_0x530694['lastChild'],_0x2fa46d=_0x530694['to']-(_0x322b94&&_0x322b94['isError']?0x0:0x1);if(_0x2fa46d>_0x3f522f)return{'parser':_0xd56f7b['parser'],'overlay':[{'from':_0x3f522f,'to':_0x2fa46d}]};}else{if(0x1c==_0x530694['type']['id'])return{'parser':_0xd56f7b['parser'],'overlay':[{'from':_0x530694['from'],'to':_0x530694['to']}]};}}}}return null;});}const _0x2e0dc5=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000];function _0x5e393a(_0x4396ae){return _0x4396ae>=0x41&&_0x4396ae<=0x5a||_0x4396ae>=0x61&&_0x4396ae<=0x7a||_0x4396ae>=0xa1;}function _0x3be821(_0x4fdc6d){return _0x4fdc6d>=0x30&&_0x4fdc6d<=0x39;}function _0x38ed11(_0x31e3a6){return _0x3be821(_0x31e3a6)||_0x31e3a6>=0x61&&_0x31e3a6<=0x66||_0x31e3a6>=0x41&&_0x31e3a6<=0x46;}const _0x45907b=(_0x4dd6b5,_0x2c325d,_0x1254ed)=>(_0x4f86f9,_0x4d703c)=>{for(let _0xef35b8=!0x1,_0x5270b2=0x0,_0x1416d0=0x0;;_0x1416d0++){let {next:_0x2148a4}=_0x4f86f9;if(_0x5e393a(_0x2148a4)||0x2d==_0x2148a4||0x5f==_0x2148a4||_0xef35b8&&_0x3be821(_0x2148a4))!_0xef35b8&&(0x2d!=_0x2148a4||_0x1416d0>0x0)&&(_0xef35b8=!0x0),_0x5270b2===_0x1416d0&&0x2d==_0x2148a4&&_0x5270b2++,_0x4f86f9['advance']();else{if(0x5c!=_0x2148a4||0xa==_0x4f86f9['peek'](0x1)){_0xef35b8&&_0x4f86f9['acceptToken'](0x2==_0x5270b2&&_0x4d703c['canShift'](0x2)?_0x2c325d:0x28==_0x2148a4?_0x1254ed:_0x4dd6b5);break;}if(_0x4f86f9['advance'](),_0x38ed11(_0x4f86f9['next'])){do{_0x4f86f9['advance']();}while(_0x38ed11(_0x4f86f9['next']));0x20==_0x4f86f9['next']&&_0x4f86f9['advance']();}else _0x4f86f9['next']>-0x1&&_0x4f86f9['advance']();_0xef35b8=!0x0;}}},_0x1510f3=new ExternalTokenizer(_0x45907b(0x7b,0x2,0x7c)),_0x358df7=new ExternalTokenizer(_0x45907b(0x7d,0x3,0x4)),_0xfc7079=new ExternalTokenizer(_0x3f35e7=>{if(_0x2e0dc5['includes'](_0x3f35e7['peek'](-0x1))){let {next:_0x240a8c}=_0x3f35e7;(_0x5e393a(_0x240a8c)||0x5f==_0x240a8c||0x23==_0x240a8c||0x2e==_0x240a8c||0x2a==_0x240a8c||0x5b==_0x240a8c||0x3a==_0x240a8c&&_0x5e393a(_0x3f35e7['peek'](0x1))||0x2d==_0x240a8c||0x26==_0x240a8c)&&_0x3f35e7['acceptToken'](0x7a);}}),tC=new ExternalTokenizer(_0x27b20b=>{if(!_0x2e0dc5['includes'](_0x27b20b['peek'](-0x1))){let {next:_0x2ab2a8}=_0x27b20b;if(0x25==_0x2ab2a8&&(_0x27b20b['advance'](),_0x27b20b['acceptToken'](0x1)),_0x5e393a(_0x2ab2a8)){do{_0x27b20b['advance']();}while(_0x5e393a(_0x27b20b['next'])||_0x3be821(_0x27b20b['next']));_0x27b20b['acceptToken'](0x1);}}}),_0x3d3fb9=_0x1fda3a({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':_0x4ccfa4['definitionKeyword'],'from\x20to\x20selector':_0x4ccfa4['keyword'],'NamespaceName':_0x4ccfa4['namespace'],'KeyframeName':_0x4ccfa4['labelName'],'KeyframeRangeName':_0x4ccfa4['operatorKeyword'],'TagName':_0x4ccfa4['tagName'],'ClassName':_0x4ccfa4['className'],'PseudoClassName':_0x4ccfa4['constant'](_0x4ccfa4['className']),'IdName':_0x4ccfa4['labelName'],'FeatureName\x20PropertyName':_0x4ccfa4['propertyName'],'AttributeName':_0x4ccfa4['attributeName'],'NumberLiteral':_0x4ccfa4['number'],'KeywordQuery':_0x4ccfa4['keyword'],'UnaryQueryOp':_0x4ccfa4['operatorKeyword'],'CallTag\x20ValueName':_0x4ccfa4['atom'],'VariableName':_0x4ccfa4['variableName'],'Callee':_0x4ccfa4['operatorKeyword'],'Unit':_0x4ccfa4['unit'],'UniversalSelector\x20NestingSelector':_0x4ccfa4['definitionOperator'],'MatchOp\x20CompareOp':_0x4ccfa4['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':_0x4ccfa4['logicOperator'],'BinOp':_0x4ccfa4['arithmeticOperator'],'Important':_0x4ccfa4['modifier'],'Comment':_0x4ccfa4['blockComment'],'ColorLiteral':_0x4ccfa4['color'],'ParenthesizedContent\x20StringLiteral':_0x4ccfa4['string'],':':_0x4ccfa4['punctuation'],'PseudoOp\x20#':_0x4ccfa4['derefOperator'],';\x20,':_0x4ccfa4['separator'],'(\x20)':_0x4ccfa4['paren'],'[\x20]':_0x4ccfa4['squareBracket'],'{\x20}':_0x4ccfa4['brace']}),_0x4eb054={'__proto__':null,'lang':0x26,'nth-child':0x26,'nth-last-child':0x26,'nth-of-type':0x26,'nth-last-of-type':0x26,'dir':0x26,'host-context':0x26,'if':0x54,'url':0x7c,'url-prefix':0x7c,'domain':0x7c,'regexp':0x7c},_0x3565e2={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0x43a6c3={'__proto__':null,'selector':0x70,'layer':0xa6},_0x288843={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},_0x1af578={'__proto__':null,'to':0xcf},_0x29c293=_0x218a96['deserialize']({'version':0xe,'states':'EbQYQdOOO#qQdOOP#xO`OOOOQP\x27#Cf\x27#CfOOQP\x27#Ce\x27#CeO#}QdO\x27#ChO$nQaO\x27#CcO$xQdO\x27#CkO%TQdO\x27#DpO%YQdO\x27#DrO%_QdO\x27#DuO%_QdO\x27#DxOOQP\x27#FV\x27#FVO&eQhO\x27#EhOOQS\x27#FU\x27#FUOOQS\x27#Ek\x27#EkQYQdOOO&lQdO\x27#EOO&PQhO\x27#EUO&lQdO\x27#EWO\x27aQdO\x27#EYO\x27lQdO\x27#E]O\x27tQhO\x27#EcO(VQdO\x27#EeO(bQaO\x27#CfO)VQ`O\x27#D{O)[Q`O\x27#F`O)gQdO\x27#F`QOQ`OOP)qO&jO\x27#CaPOOO)C@t)C@tOOQP\x27#Cj\x27#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO\x27#ErO*XQ`O,58}O*aQdO\x27#DzOOQS,58},58}OOQP\x27#Cn\x27#CnOOQO\x27#Dn\x27#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP\x27#Dq\x27#DqOOQP,5:[,5:[OOQO\x27#Ds\x27#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW\x27#DZ\x27#DZO,ZQhO\x27#DdO,xQhO\x27#FaO\x27tQhO\x27#DbO-WQ`O\x27#DhOOQW\x27#F[\x27#F[O-]Q`O,5;SO-eQ`O\x27#DeOOQS-E8i-E8iOOQ[\x27#Cs\x27#CsO-jQdO\x27#CtO.QQdO\x27#CzO.hQdO\x27#C}O/OQ!pO\x27#DPO1RQ!jO,5:jOOQO\x27#DU\x27#DUO*mQ`O\x27#DTO1cQ!nO\x27#FXO3`Q`O\x27#DVO3eQ`O\x27#DkOOQ[\x27#FX\x27#FXO-`Q`O,5:pO3jQ!bO,5:rOOQS\x27#E[\x27#E[O3rQ`O,5:tO3wQdO,5:tOOQO\x27#E_\x27#E_O4PQ`O,5:wO4UQhO,5:}O%_QdO\x27#DgOOQS,5;P,5;PO-eQ`O,5;PO4^QdO,5;PO4fQdO,5:gO4vQdO\x27#EtO5TQ`O,5;zO5TQ`O,5;zPOOO\x27#Ej\x27#EjP5`O&jO,58{POOO,58{,58{OOQP1G.n1G.nOOQP1G.q1G.qO*hQ`O1G.qO*mQ`O1G.qOOQP1G/v1G/vO5kQpO1G/xO5sQaO1G/{O6ZQaO1G/}O6qQaO1G0OO7XQaO,5;^OOQO-E8p-E8pOOQS1G.i1G.iO7cQ`O,5:fO7hQdO\x27#DoO7oQdO\x27#CrOOQP1G/x1G/xO&lQdO1G/xO7vQ!jO\x27#DZO8UQ!bO,59vO8^QhO,5:OOOQO\x27#F]\x27#F]O8XQ!bO,59zO\x27tQhO,59xO8fQhO\x27#EvO8sQ`O,5;{O9OQhO,59|O9uQhO\x27#DiOOQW,5:S,5:SOOQS1G0n1G0nOOQW,5:P,5:PO9|Q!fO\x27#FYOOQS\x27#FY\x27#FYOOQS\x27#Em\x27#EmO;^QdO,59`OOQ[,59`,59`O;tQdO,59fOOQ[,59f,59fO<[QdO,59iOOQ[,59i,59iOOQ[,59k,59kO&lQdO,59mO<rQhO\x27#EQOOQW\x27#EQ\x27#EQO=WQ`O1G0UO1[QhO1G0UOOQ[,59o,59oO\x27tQhO\x27#DXOOQ[,59q,59qO=]Q#tO,5:VOOQS1G0[1G0[OOQS1G0^1G0^OOQS1G0`1G0`O=hQ`O1G0`O=mQdO\x27#E`OOQS1G0c1G0cOOQS1G0i1G0iO=xQaO,5:RO-`Q`O1G0kOOQS1G0k1G0kO-eQ`O1G0kO>PQ!fO1G0ROOQO1G0R1G0ROOQO,5;`,5;`O>gQdO,5;`OOQO-E8r-E8rO>tQ`O1G1fPOOO-E8h-E8hPOOO1G.g1G.gOOQP7+$]7+$]OOQP7+%d7+%dO&lQdO7+%dOOQS1G0Q1G0QO?PQaO\x27#F_O?ZQ`O,5:ZO?`Q!fO\x27#ElO@^QdO\x27#FWO@hQ`O,59^O@mQ!bO7+%dO&lQdO1G/bO@uQhO1G/fOOQW1G/j1G/jOOQW1G/d1G/dOAWQhO,5;bOOQO-E8t-E8tOAfQhO\x27#DZOAtQhO\x27#F^OBPQ`O\x27#F^OBUQ`O,5:TOOQS-E8k-E8kOOQ[1G.z1G.zOOQ[1G/Q1G/QOOQ[1G/T1G/TOOQ[1G/X1G/XOBZQdO,5:lOOQS7+%p7+%pOB`Q`O7+%pOBeQhO\x27#DYOBmQ`O,59sO\x27tQhO,59sOOQ[1G/q1G/qOBuQ`O1G/qOOQS7+%z7+%zOBzQbO\x27#DPOOQO\x27#Eb\x27#EbOCYQ`O\x27#EaOOQO\x27#Ea\x27#EaOCeQ`O\x27#EwOCmQdO,5:zOOQS,5:z,5:zOOQ[1G/m1G/mOOQS7+&V7+&VO-`Q`O7+&VOCxQ!fO\x27#EsO&lQdO\x27#EsOEPQdO7+%mOOQO7+%m7+%mOOQO1G0z1G0zOEdQ!bO<<IOOElQdO\x27#EqOEvQ`O,5;yOOQP1G/u1G/uOOQS-E8j-E8jOFOQdO\x27#EpOFYQ`O,5;rOOQ]1G.x1G.xOOQP<<IO<<IOOFbQdO7+$|OOQO\x27#D]\x27#D]OFiQ!bO7+%QOFqQhO\x27#EoOF{Q`O,5;xO&lQdO,5;xOOQW1G/o1G/oOOQO\x27#ES\x27#ESOGTQ`O1G0WOOQS<<I[<<I[O&lQdO,59tOGnQhO1G/_OOQ[1G/_1G/_OGuQ`O1G/_OOQW-E8l-E8lOOQ[7+%]7+%]OOQO,5:{,5:{O=pQdO\x27#ExOCeQ`O,5;cOOQS,5;c,5;cOOQS-E8u-E8uOOQS1G0f1G0fOOQS<<Iq<<IqOG}Q!fO,5;_OOQS-E8q-E8qOOQO<<IX<<IXOOQPAN>jAN>jOIUQaO,5;]OOQO-E8o-E8oOI`QdO,5;[OOQO-E8n-E8nOOQW<<Hh<<HhOOQW<<Hl<<HlOIjQhO<<HlOI{QhO,5;ZOJWQ`O,5;ZOOQO-E8m-E8mOJ]QdO1G1dOBZQdO\x27#EuOJgQ`O7+%rOOQW7+%r7+%rOJoQ!bO1G/`OOQ[7+$y7+$yOJzQhO7+$yPKRQ`O\x27#EnOOQO,5;d,5;dOOQO-E8v-E8vOOQS1G0}1G0}OKWQ`OAN>WO&lQdO1G0uOK]Q`O7+\x27OOOQO,5;a,5;aOOQO-E8s-E8sOOQW<<I^<<I^OOQ[<<He<<HePOQW,5;Y,5;YOOQWG23rG23rOKeQdO7+&a','stateData':'Kx~O#sOS#tQQ~OW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#oRO~OQiOW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#ohO~O#m$SP~P!dO#tmO~O#ooO~O]qO`rOarOjsOmtO!juO!mwO#nvO~OpzO!^xO~P$SOc!QO#o|O#p}O~O#o!RO~O#o!TO~OW[OZ[O]TO`VOaVOjWOmXO!jYO!mZO#oRO~OS!]Oe!YO!V![O!Y!`O#q!XOp$TP~Ok$TP~P&POQ!jOe!cOm!dOp!eOr!mOt!mOz!kO!`!lO#o!bO#p!hO#}!fO~Ot!qO!`!lO#o!pO~Ot!sO#o!sO~OS!]Oe!YO!V![O!Y!`O#q!XO~Oe!vOpzO#Z!xO~O]YX`YX`!pXaYXjYXmYXpYX!^YX!jYX!mYX#nYX~O`!zO~Ok!{O#m$SXo$SX~O#m$SXo$SX~P!dO#u#OO#v#OO#w#QO~Oc#UO#o|O#p}O~OpzO!^xO~Oo$SP~P!dOe#`O~Oe#aO~Ol#bO!h#cO~O]qO`rOarOjsOmtO~Op!ia!^!ia!j!ia!m!ia#n!iad!ia~P*zOp!la!^!la!j!la!m!la#n!lad!la~P*zOR#gOS!]Oe!YOr#gOt#gO!V![O!Y!`O#q#dO#}!fO~O!R#iO!^#jOk$TXp$TX~Oe#mO~Ok#oOpzO~Oe!vO~O]#rO`#rOd#uOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl#wO~P&lO]#rO`#rOi#rOj#rOk#rOo#yO~P&lOP#zOSsXesXksXvsX!VsX!YsX!usX!wsX#qsX!TsXQsX]sX`sXdsXisXjsXmsXpsXrsXtsXzsX!`sX#osX#psX#}sXlsXosX!^sX!qsX#msX~Ov#{O!u#|O!w#}Ok$TP~P\x27tOe#aOS#{Xk#{Xv#{X!V#{X!Y#{X!u#{X!w#{X#q#{XQ#{X]#{X`#{Xd#{Xi#{Xj#{Xm#{Xp#{Xr#{Xt#{Xz#{X!`#{X#o#{X#p#{X#}#{Xl#{Xo#{X!^#{X!q#{X#m#{X~Oe$RO~Oe$TO~Ok$VOv#{O~Ok$WO~Ot$XO!`!lO~Op$YO~OpzO!R#iO~OpzO#Z$`O~O!q$bOk!oa#m!oao!oa~P&lOk#hX#m#hXo#hX~P!dOk!{O#m$Sao$Sa~O#u#OO#v#OO#w$hO~Ol$jO!h$kO~Op!ii!^!ii!j!ii!m!ii#n!iid!ii~P*zOp!ki!^!ki!j!ki!m!ki#n!kid!ki~P*zOp!li!^!li!j!li!m!li#n!lid!li~P*zOp#fa!^#fa~P$SOo$lO~Od$RP~P%_Od#zP~P&lO`!PXd}X!R}X!T!PX~O`$sO!T$tO~Od$uO!R#iO~Ok#jXp#jX!^#jX~P\x27tO!^#jOk$Tap$Ta~O!R#iOk!Uap!Ua!^!Uad!Ua`!Ua~OS!]Oe!YO!V![O!Y!`O#q$yO~Od$QP~P9dOv#{OQ#|X]#|X`#|Xd#|Xe#|Xi#|Xj#|Xk#|Xm#|Xp#|Xr#|Xt#|Xz#|X!`#|X#o#|X#p#|X#}#|Xl#|Xo#|X~O]#rO`#rOd%OOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl%PO~P&lO]#rO`#rOi#rOj#rOk#rOo%QO~P&lOe%SOS!tXk!tX!V!tX!Y!tX#q!tX~Ok%TO~Od%YOt%ZO!a%ZO~Ok%[O~Oo%cO#o%^O#}%]O~Od%dO~P$SOv#{O!^%hO!q%jOk!oi#m!oio!oi~P&lOk#ha#m#hao#ha~P!dOk!{O#m$Sio$Si~O!^%mOd$RX~P$SOd%oO~Ov#{OQ#`Xd#`Xe#`Xm#`Xp#`Xr#`Xt#`Xz#`X!^#`X!`#`X#o#`X#p#`X#}#`X~O!^%qOd#zX~P&lOd%sO~Ol%tOv#{O~OR#gOr#gOt#gO#q%vO#}!fO~O!R#iOk#jap#ja!^#ja~O`!PXd}X!R}X!^}X~O!R#iO!^%xOd$QX~O`%zO~Od%{O~O#o%|O~Ok&OO~O`&PO!R#iO~Od&ROk&QO~Od&UO~OP#zOpsX!^sXdsX~O#}%]Op#TX!^#TX~OpzO!^&WO~Oo&[O#o%^O#}%]O~Ov#{OQ#gXe#gXk#gXm#gXp#gXr#gXt#gXz#gX!^#gX!`#gX!q#gX#m#gX#o#gX#p#gX#}#gXo#gX~O!^%hO!q&`Ok!oq#m!oqo!oq~P&lOl&aOv#{O~Od#eX!^#eX~P%_O!^%mOd$Ra~Od#dX!^#dX~P&lO!^%qOd#za~Od&fO~P&lOd&gO!T&hO~Od#cX!^#cX~P9dO!^%xOd$Qa~O]&mOd&oO~OS#bae#ba!V#ba!Y#ba#q#ba~Od&qO~PG]Od&qOk&rO~Ov#{OQ#gae#gak#gam#gap#gar#gat#gaz#ga!^#ga!`#ga!q#ga#m#ga#o#ga#p#ga#}#gao#ga~Od#ea!^#ea~P$SOd#da!^#da~P&lOR#gOr#gOt#gO#q%vO#}%]O~O!R#iOd#ca!^#ca~O`&xO~O!^%xOd$Qi~P&lO]&mOd&|O~Ov#{Od|ik|i~Od&}O~PG]Ok\x27OO~Od\x27PO~O!^%xOd$Qq~Od#cq!^#cq~P&lO#s!a#t#}]#}v!m~','goto':'2h$UPPPPP$VP$YP$c$uP$cP%X$cPP%_PPP%e%o%oPPPPP%oPP%oP&]P%oP%o\x27W%oP\x27t\x27w\x27}\x27}(^\x27}P\x27}P\x27}P\x27}\x27}P(m\x27}(yP(|PP)p)v$c)|$c*SP$cP$c$cP*Y*{+YP$YP+aP+dP$YP$YP$YP+j$YP+m+p+s+z$YP$YPP$YP,P,V,f,|-[-b-l-r-x.O.U.`.f.l.rPPPPPPPPPPP.x/R/w/z0|P1U1u2O2R2U2[RnQ_^OP`kz!{$dq[OPYZ`kuvwxz!v!{#`$d%mqSOPYZ`kuvwxz!v!{#`$d%mQpTR#RqQ!OVR#SrQ#S!QS$Q!i!jR$i#U!V!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27Q!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QU#g!Y$t&hU%`$Y%b&WR&V%_!V!iac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QR$S!kQ%W$RR&S%Xk!^]bf!Y![!g#i#j#m$P$R%X%xQ#e!YQ${#mQ%w$tQ&j%xR&w&hQ!ygQ#p!`Q$^!xR%f$`R#n!]!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l\x27QQ%u$sQ&d%qQ&l%zR\x27Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x\x27QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20AtKeyword\x20#\x20;\x20]\x20[\x20BracketedValue\x20}\x20{\x20BracedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20IfExpression\x20if\x20ArgList\x20IfBranch\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20ComparisonQuery\x20CompareOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20ParenthesizedSelector\x20CallQuery\x20ArgList\x20,\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20MatchOp\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20Block\x20Declaration\x20PropertyName\x20Important\x20ImportStatement\x20import\x20Layer\x20layer\x20LayerName\x20layer\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20ScopeStatement\x20scope\x20to\x20AtRule\x20Styles','maxTerm':0x8f,'nodeProps':[['isolate',-0x2,0x5,0x24,''],['openedBy',0x14,'(',0x1c,'[',0x1f,'{'],['closedBy',0x15,')',0x1d,']',0x20,'}']],'propSources':[_0x3d3fb9],'skippedNodes':[0x0,0x5,0x6a],'repeatNodeCount':0xf,'tokenData':'JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;\x27S$q;\x27S;=`Iz<%lO$q`$tSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%VS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Q~\x27ah#s~!a`OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Qj)OUOy%Qz#]%Q#]#^)b#^;\x27S%Q;\x27S;=`%c<%lO%Qj)gU!a`Oy%Qz#a%Q#a#b)y#b;\x27S%Q;\x27S;=`%c<%lO%Qj*OU!a`Oy%Qz#d%Q#d#e*b#e;\x27S%Q;\x27S;=`%c<%lO%Qj*gU!a`Oy%Qz#c%Q#c#d*y#d;\x27S%Q;\x27S;=`%c<%lO%Qj+OU!a`Oy%Qz#f%Q#f#g+b#g;\x27S%Q;\x27S;=`%c<%lO%Qj+gU!a`Oy%Qz#h%Q#h#i+y#i;\x27S%Q;\x27S;=`%c<%lO%Qj,OU!a`Oy%Qz#T%Q#T#U,b#U;\x27S%Q;\x27S;=`%c<%lO%Qj,gU!a`Oy%Qz#b%Q#b#c,y#c;\x27S%Q;\x27S;=`%c<%lO%Qj-OU!a`Oy%Qz#h%Q#h#i-b#i;\x27S%Q;\x27S;=`%c<%lO%Qj-iS!qY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~-xWOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c<%lO-u~.gOt~~.jRO;\x27S-u;\x27S;=`.s;=`O-u~.vXOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c;=`<%l-u<%lO-u~/fP;=`<%l-uj/nYjYOy%Qz!Q%Q!Q![0^![!c%Q!c!i0^!i#T%Q#T#Z0^#Z;\x27S%Q;\x27S;=`%c<%lO%Qj0cY!a`Oy%Qz!Q%Q!Q![1R![!c%Q!c!i1R!i#T%Q#T#Z1R#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1WY!a`Oy%Qz!Q%Q!Q![1v![!c%Q!c!i1v!i#T%Q#T#Z1v#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1}YrY!a`Oy%Qz!Q%Q!Q![2m![!c%Q!c!i2m!i#T%Q#T#Z2m#Z;\x27S%Q;\x27S;=`%c<%lO%Qj2tYrY!a`Oy%Qz!Q%Q!Q![3d![!c%Q!c!i3d!i#T%Q#T#Z3d#Z;\x27S%Q;\x27S;=`%c<%lO%Qj3iY!a`Oy%Qz!Q%Q!Q![4X![!c%Q!c!i4X!i#T%Q#T#Z4X#Z;\x27S%Q;\x27S;=`%c<%lO%Qj4`YrY!a`Oy%Qz!Q%Q!Q![5O![!c%Q!c!i5O!i#T%Q#T#Z5O#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5TY!a`Oy%Qz!Q%Q!Q![5s![!c%Q!c!i5s!i#T%Q#T#Z5s#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5zSrY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qd6ZUOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qd6tS!hS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qb7VSZQOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~7fWOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z<%lO7c~8RRO;\x27S7c;\x27S;=`8[;=`O7c~8_XOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z;=`<%l7c<%lO7c~8}P;=`<%l7cj9VSeYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~9hOd~n9oUWQvWOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qj:YWvW!mQOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj:wU!a`Oy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Qj;bY!a`#}YOy%Qz!Q%Q!Q![;Z![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj<VY!a`Oy%Qz{%Q{|<u|}%Q}!O<u!O!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj<zU!a`Oy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj=eU!a`#}YOy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj>O[!a`#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj>yS!^YOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qj?[WvWOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj?yU]YOy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Q~@bTvWOy%Qz{@q{;\x27S%Q;\x27S;=`%c<%lO%Q~@xS!a`#t~Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjAZ[#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%QjBUU`YOy%Qz![%Q![!]Bh!];\x27S%Q;\x27S;=`%c<%lO%QbBoSaQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjCQSkYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QhCcU!TWOy%Qz!_%Q!_!`Cu!`;\x27S%Q;\x27S;=`%c<%lO%QhC|S!TW!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QlDaS!TW!hSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjDtV!jQ!TWOy%Qz!_%Q!_!`Cu!`!aEZ!a;\x27S%Q;\x27S;=`%c<%lO%QbEbS!jQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjEqYOy%Qz}%Q}!OFa!O!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjFfW!a`Oy%Qz!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjGV[iY!a`Oy%Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjHQSmYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QnHcSl^Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjHtSpYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjIVSoYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Q`I}P;=`<%l$q','tokenizers':[_0xfc7079,tC,_0x1510f3,_0x358df7,0x1,0x2,0x3,0x4,new _0x2829ec('m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~',0x1c,0x81)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x69]},'specialized':[{'term':0x7c,'get':_0x2fcf51=>_0x4eb054[_0x2fcf51]||-0x1},{'term':0x7d,'get':_0x30ebb7=>_0x3565e2[_0x30ebb7]||-0x1},{'term':0x4,'get':_0x478a7f=>_0x43a6c3[_0x478a7f]||-0x1},{'term':0x19,'get':_0x481bc0=>_0x288843[_0x481bc0]||-0x1},{'term':0x7b,'get':_0x39e844=>_0x1af578[_0x39e844]||-0x1}],'tokenPrec':0x7ab});let _0x575651=null;function _0x3321d4(){if(!_0x575651&&'object'==typeof document&&document['body']){let {style:_0x1752d9}=document['body'],_0x52b234=[],_0x435aa4=new Set();for(let _0x596c41 in _0x1752d9)'cssText'!=_0x596c41&&'cssFloat'!=_0x596c41&&'string'==typeof _0x1752d9[_0x596c41]&&(/[A-Z]/['test'](_0x596c41)&&(_0x596c41=_0x596c41['replace'](/[A-Z]/g,_0x2e46c1=>'-'+_0x2e46c1['toLowerCase']())),_0x435aa4['has'](_0x596c41)||(_0x52b234['push'](_0x596c41),_0x435aa4['add'](_0x596c41)));_0x575651=_0x52b234['sort']()['map'](_0x3aa4f1=>({'type':'property','label':_0x3aa4f1,'apply':_0x3aa4f1+':\x20'}));}return _0x575651||[];}const _0x394e71=['active','after','any-link','autofill','backdrop','before','checked','cue','default','defined','disabled','empty','enabled','file-selector-button','first','first-child','first-letter','first-line','first-of-type','focus','focus-visible','focus-within','fullscreen','has','host','host-context','hover','in-range','indeterminate','invalid','is','lang','last-child','last-of-type','left','link','marker','modal','not','nth-child','nth-last-child','nth-last-of-type','nth-of-type','only-child','only-of-type','optional','out-of-range','part','placeholder','placeholder-shown','read-only','read-write','required','right','root','scope','selection','slotted','target','target-text','valid','visited','where']['map'](_0xc3f3b7=>({'type':'class','label':_0xc3f3b7})),_0x21bae2=['above','absolute','activeborder','additive','activecaption','after-white-space','ahead','alias','all','all-scroll','alphabetic','alternate','always','antialiased','appworkspace','asterisks','attr','auto','auto-flow','avoid','avoid-column','avoid-page','avoid-region','axis-pan','background','backwards','baseline','below','bidi-override','blink','block','block-axis','bold','bolder','border','border-box','both','bottom','break','break-all','break-word','bullets','button','button-bevel','buttonface','buttonhighlight','buttonshadow','buttontext','calc','capitalize','caps-lock-indicator','caption','captiontext','caret','cell','center','checkbox','circle','cjk-decimal','clear','clip','close-quote','col-resize','collapse','color','color-burn','color-dodge','column','column-reverse','compact','condensed','contain','content','contents','content-box','context-menu','continuous','copy','counter','counters','cover','crop','cross','crosshair','currentcolor','cursive','cyclic','darken','dashed','decimal','decimal-leading-zero','default','default-button','dense','destination-atop','destination-in','destination-out','destination-over','difference','disc','discard','disclosure-closed','disclosure-open','document','dot-dash','dot-dot-dash','dotted','double','down','e-resize','ease','ease-in','ease-in-out','ease-out','element','ellipse','ellipsis','embed','end','ethiopic-abegede-gez','ethiopic-halehame-aa-er','ethiopic-halehame-gez','ew-resize','exclusion','expanded','extends','extra-condensed','extra-expanded','fantasy','fast','fill','fill-box','fixed','flat','flex','flex-end','flex-start','footnotes','forwards','from','geometricPrecision','graytext','grid','groove','hand','hard-light','help','hidden','hide','higher','highlight','highlighttext','horizontal','hsl','hsla','hue','icon','ignore','inactiveborder','inactivecaption','inactivecaptiontext','infinite','infobackground','infotext','inherit','initial','inline','inline-axis','inline-block','inline-flex','inline-grid','inline-table','inset','inside','intrinsic','invert','italic','justify','keep-all','landscape','large','larger','left','level','lighter','lighten','line-through','linear','linear-gradient','lines','list-item','listbox','listitem','local','logical','loud','lower','lower-hexadecimal','lower-latin','lower-norwegian','lowercase','ltr','luminosity','manipulation','match','matrix','matrix3d','medium','menu','menutext','message-box','middle','min-intrinsic','mix','monospace','move','multiple','multiple_mask_images','multiply','n-resize','narrower','ne-resize','nesw-resize','no-close-quote','no-drop','no-open-quote','no-repeat','none','normal','not-allowed','nowrap','ns-resize','numbers','numeric','nw-resize','nwse-resize','oblique','opacity','open-quote','optimizeLegibility','optimizeSpeed','outset','outside','outside-shape','overlay','overline','padding','padding-box','painted','page','paused','perspective','pinch-zoom','plus-darker','plus-lighter','pointer','polygon','portrait','pre','pre-line','pre-wrap','preserve-3d','progress','push-button','radial-gradient','radio','read-only','read-write','read-write-plaintext-only','rectangle','region','relative','repeat','repeating-linear-gradient','repeating-radial-gradient','repeat-x','repeat-y','reset','reverse','rgb','rgba','ridge','right','rotate','rotate3d','rotateX','rotateY','rotateZ','round','row','row-resize','row-reverse','rtl','run-in','running','s-resize','sans-serif','saturation','scale','scale3d','scaleX','scaleY','scaleZ','screen','scroll','scrollbar','scroll-position','se-resize','self-start','self-end','semi-condensed','semi-expanded','separate','serif','show','single','skew','skewX','skewY','skip-white-space','slide','slider-horizontal','slider-vertical','sliderthumb-horizontal','sliderthumb-vertical','slow','small','small-caps','small-caption','smaller','soft-light','solid','source-atop','source-in','source-out','source-over','space','space-around','space-between','space-evenly','spell-out','square','start','static','status-bar','stretch','stroke','stroke-box','sub','subpixel-antialiased','svg_masks','super','sw-resize','symbolic','symbols','system-ui','table','table-caption','table-cell','table-column','table-column-group','table-footer-group','table-header-group','table-row','table-row-group','text','text-bottom','text-top','textarea','textfield','thick','thin','threeddarkshadow','threedface','threedhighlight','threedlightshadow','threedshadow','to','top','transform','translate','translate3d','translateX','translateY','translateZ','transparent','ultra-condensed','ultra-expanded','underline','unidirectional-pan','unset','up','upper-latin','uppercase','url','var','vertical','vertical-text','view-box','visible','visibleFill','visiblePainted','visibleStroke','visual','w-resize','wait','wave','wider','window','windowframe','windowtext','words','wrap','wrap-reverse','x-large','x-small','xor','xx-large','xx-small']['map'](_0x4c3a66=>({'type':'keyword','label':_0x4c3a66}))['concat'](['aliceblue','antiquewhite','aqua','aquamarine','azure','beige','bisque','black','blanchedalmond','blue','blueviolet','brown','burlywood','cadetblue','chartreuse','chocolate','coral','cornflowerblue','cornsilk','crimson','cyan','darkblue','darkcyan','darkgoldenrod','darkgray','darkgreen','darkkhaki','darkmagenta','darkolivegreen','darkorange','darkorchid','darkred','darksalmon','darkseagreen','darkslateblue','darkslategray','darkturquoise','darkviolet','deeppink','deepskyblue','dimgray','dodgerblue','firebrick','floralwhite','forestgreen','fuchsia','gainsboro','ghostwhite','gold','goldenrod','gray','grey','green','greenyellow','honeydew','hotpink','indianred','indigo','ivory','khaki','lavender','lavenderblush','lawngreen','lemonchiffon','lightblue','lightcoral','lightcyan','lightgoldenrodyellow','lightgray','lightgreen','lightpink','lightsalmon','lightseagreen','lightskyblue','lightslategray','lightsteelblue','lightyellow','lime','limegreen','linen','magenta','maroon','mediumaquamarine','mediumblue','mediumorchid','mediumpurple','mediumseagreen','mediumslateblue','mediumspringgreen','mediumturquoise','mediumvioletred','midnightblue','mintcream','mistyrose','moccasin','navajowhite','navy','oldlace','olive','olivedrab','orange','orangered','orchid','palegoldenrod','palegreen','paleturquoise','palevioletred','papayawhip','peachpuff','peru','pink','plum','powderblue','purple','rebeccapurple','red','rosybrown','royalblue','saddlebrown','salmon','sandybrown','seagreen','seashell','sienna','silver','skyblue','slateblue','slategray','snow','springgreen','steelblue','tan','teal','thistle','tomato','turquoise','violet','wheat','white','whitesmoke','yellow','yellowgreen']['map'](_0x1dcb78=>({'type':'constant','label':_0x1dcb78}))),_0x44f39f=['a','abbr','address','article','aside','b','bdi','bdo','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','dd','del','details','dfn','dialog','div','dl','dt','em','figcaption','figure','footer','form','header','hgroup','h1','h2','h3','h4','h5','h6','hr','html','i','iframe','img','input','ins','kbd','label','legend','li','main','meter','nav','ol','output','p','pre','ruby','section','select','small','source','span','strong','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','tr','u','ul']['map'](_0x3740fa=>({'type':'type','label':_0x3740fa})),_0x928a07=['@charset','@color-profile','@container','@counter-style','@font-face','@font-feature-values','@font-palette-values','@import','@keyframes','@layer','@media','@namespace','@page','@position-try','@property','@scope','@starting-style','@supports','@view-transition']['map'](_0x3b5099=>({'type':'keyword','label':_0x3b5099})),_0x45e50c=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x51a2b2=/^-(-[\w-]*)?$/,_0x54f3d5=new _0x5e0dd9(),_0x28ecac=['Declaration'];function _0xc200b2(_0x2488bb){for(let _0x4d662f=_0x2488bb;;){if(_0x4d662f['type']['isTop'])return _0x4d662f;if(!(_0x4d662f=_0x4d662f['parent']))return _0x2488bb;}}function _0x45a580(_0xf5d70e,_0x4e773d,_0x5177ea){if(_0x4e773d['to']-_0x4e773d['from']>0x1000){let _0x35a28f=_0x54f3d5['get'](_0x4e773d);if(_0x35a28f)return _0x35a28f;let _0x4ee469=[],_0x3b2f92=new Set(),_0xb440d6=_0x4e773d['cursor'](_0x37091f['IncludeAnonymous']);if(_0xb440d6['firstChild']())do{for(let _0x87fd4b of _0x45a580(_0xf5d70e,_0xb440d6['node'],_0x5177ea))_0x3b2f92['has'](_0x87fd4b['label'])||(_0x3b2f92['add'](_0x87fd4b['label']),_0x4ee469['push'](_0x87fd4b));}while(_0xb440d6['nextSibling']());return _0x54f3d5['set'](_0x4e773d,_0x4ee469),_0x4ee469;}{let _0x3e24e7=[],_0x28d840=new Set();return _0x4e773d['cursor']()['iterate'](_0x1e740f=>{var _0x5cfc6f;if(_0x5177ea(_0x1e740f)&&_0x1e740f['matchContext'](_0x28ecac)&&':'==(null===(_0x5cfc6f=_0x1e740f['node']['nextSibling'])||void 0x0===_0x5cfc6f?void 0x0:_0x5cfc6f['name'])){let _0x3bb206=_0xf5d70e['sliceString'](_0x1e740f['from'],_0x1e740f['to']);_0x28d840['has'](_0x3bb206)||(_0x28d840['add'](_0x3bb206),_0x3e24e7['push']({'label':_0x3bb206,'type':'variable'}));}}),_0x3e24e7;}}const _0x272578=_0x1f7194=>_0xbbd4aa=>{let {state:_0x9a597e,pos:_0x3a8849}=_0xbbd4aa,_0x5451ff=tE(_0x9a597e)['resolveInner'](_0x3a8849,-0x1),_0x4cb8df=_0x5451ff['type']['isError']&&_0x5451ff['from']==_0x5451ff['to']-0x1&&'-'==_0x9a597e['doc']['sliceString'](_0x5451ff['from'],_0x5451ff['to']);if('PropertyName'==_0x5451ff['name']||(_0x4cb8df||'TagName'==_0x5451ff['name'])&&/^(Block|Styles)$/['test'](_0x5451ff['resolve'](_0x5451ff['to'])['name']))return{'from':_0x5451ff['from'],'options':_0x3321d4(),'validFor':_0x45e50c};if('ValueName'==_0x5451ff['name'])return{'from':_0x5451ff['from'],'options':_0x21bae2,'validFor':_0x45e50c};if('PseudoClassName'==_0x5451ff['name'])return{'from':_0x5451ff['from'],'options':_0x394e71,'validFor':_0x45e50c};if(_0x1f7194(_0x5451ff)||(_0xbbd4aa['explicit']||_0x4cb8df)&&function(_0x54dda5,_0x24c487){var _0x35e5e8;if(('('==_0x54dda5['name']||_0x54dda5['type']['isError'])&&(_0x54dda5=_0x54dda5['parent']||_0x54dda5),'ArgList'!=_0x54dda5['name'])return!0x1;let _0x3a4368=null===(_0x35e5e8=_0x54dda5['parent'])||void 0x0===_0x35e5e8?void 0x0:_0x35e5e8['firstChild'];return'Callee'==(null==_0x3a4368?void 0x0:_0x3a4368['name'])&&'var'==_0x24c487['sliceString'](_0x3a4368['from'],_0x3a4368['to']);}(_0x5451ff,_0x9a597e['doc']))return{'from':_0x1f7194(_0x5451ff)||_0x4cb8df?_0x5451ff['from']:_0x3a8849,'options':_0x45a580(_0x9a597e['doc'],_0xc200b2(_0x5451ff),_0x1f7194),'validFor':_0x51a2b2};if('TagName'==_0x5451ff['name']){for(let {parent:_0x11b1e4}=_0x5451ff;_0x11b1e4;_0x11b1e4=_0x11b1e4['parent'])if('Block'==_0x11b1e4['name'])return{'from':_0x5451ff['from'],'options':_0x3321d4(),'validFor':_0x45e50c};return{'from':_0x5451ff['from'],'options':_0x44f39f,'validFor':_0x45e50c};}if('AtKeyword'==_0x5451ff['name'])return{'from':_0x5451ff['from'],'options':_0x928a07,'validFor':_0x45e50c};if(!_0xbbd4aa['explicit'])return null;let _0x2aab3d=_0x5451ff['resolve'](_0x3a8849),_0xa0a755=_0x2aab3d['childBefore'](_0x3a8849);return _0xa0a755&&':'==_0xa0a755['name']&&'PseudoClassSelector'==_0x2aab3d['name']?{'from':_0x3a8849,'options':_0x394e71,'validFor':_0x45e50c}:_0xa0a755&&':'==_0xa0a755['name']&&'Declaration'==_0x2aab3d['name']||'ArgList'==_0x2aab3d['name']?{'from':_0x3a8849,'options':_0x21bae2,'validFor':_0x45e50c}:'Block'==_0x2aab3d['name']||'Styles'==_0x2aab3d['name']?{'from':_0x3a8849,'options':_0x3321d4(),'validFor':_0x45e50c}:null;},_0x10bb4c=_0x272578(_0x191541=>'VariableName'==_0x191541['name']),_0x57d761=_0x4f1a26['define']({'name':'css','parser':_0x29c293['configure']({'props':[_0x417a5d['add']({'Declaration':_0x82896b()}),_0x522c8b['add']({'Block\x20KeyframeList':_0x5077c4})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),_0x17fd41=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000],_0x41d3f8=new ContextTracker({'start':!0x1,'shift':(_0x54c52e,_0x5e8f66)=>0x5==_0x5e8f66||0x6==_0x5e8f66||0x140==_0x5e8f66?_0x54c52e:0x141==_0x5e8f66,'strict':!0x1}),_0x3372f2=new ExternalTokenizer((_0x23d517,_0x201f04)=>{let {next:_0x3e42ca}=_0x23d517;(0x7d==_0x3e42ca||-0x1==_0x3e42ca||_0x201f04['context'])&&_0x23d517['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),_0x91ac71=new ExternalTokenizer((_0x51f805,_0x9b5586)=>{let _0xe5d655,{next:_0x5c7f4a}=_0x51f805;_0x17fd41['indexOf'](_0x5c7f4a)>-0x1||(0x2f!=_0x5c7f4a||0x2f!=(_0xe5d655=_0x51f805['peek'](0x1))&&0x2a!=_0xe5d655)&&(0x7d==_0x5c7f4a||0x3b==_0x5c7f4a||-0x1==_0x5c7f4a||_0x9b5586['context']||_0x51f805['acceptToken'](0x13c));},{'contextual':!0x0}),_0x1f901f=new ExternalTokenizer((_0x48ecd2,_0x247512)=>{0x5b!=_0x48ecd2['next']||_0x247512['context']||_0x48ecd2['acceptToken'](0x13d);},{'contextual':!0x0}),_0x29a578=new ExternalTokenizer((_0x11d16f,_0x51a365)=>{let {next:_0x532e25}=_0x11d16f;if(0x2b==_0x532e25||0x2d==_0x532e25){if(_0x11d16f['advance'](),_0x532e25==_0x11d16f['next']){_0x11d16f['advance']();let _0x33e08c=!_0x51a365['context']&&_0x51a365['canShift'](0x1);_0x11d16f['acceptToken'](_0x33e08c?0x1:0x2);}}else 0x3f==_0x532e25&&0x2e==_0x11d16f['peek'](0x1)&&(_0x11d16f['advance'](),_0x11d16f['advance'](),(_0x11d16f['next']<0x30||_0x11d16f['next']>0x39)&&_0x11d16f['acceptToken'](0x3));},{'contextual':!0x0});function _0x4b70d5(_0x9cb3,_0x18d669){return _0x9cb3>=0x41&&_0x9cb3<=0x5a||_0x9cb3>=0x61&&_0x9cb3<=0x7a||0x5f==_0x9cb3||_0x9cb3>=0xc0||!_0x18d669&&_0x9cb3>=0x30&&_0x9cb3<=0x39;}const _0x12fc41=new ExternalTokenizer((_0x136f98,_0x198997)=>{if(0x3c!=_0x136f98['next']||!_0x198997['dialectEnabled'](0x0))return;if(_0x136f98['advance'](),0x2f==_0x136f98['next'])return;let _0x116a58=0x0;for(;_0x17fd41['indexOf'](_0x136f98['next'])>-0x1;)_0x136f98['advance'](),_0x116a58++;if(_0x4b70d5(_0x136f98['next'],!0x0)){for(_0x136f98['advance'](),_0x116a58++;_0x4b70d5(_0x136f98['next'],!0x1);)_0x136f98['advance'](),_0x116a58++;for(;_0x17fd41['indexOf'](_0x136f98['next'])>-0x1;)_0x136f98['advance'](),_0x116a58++;if(0x2c==_0x136f98['next'])return;for(let _0x22fd06=0x0;;_0x22fd06++){if(0x7==_0x22fd06){if(!_0x4b70d5(_0x136f98['next'],!0x0))return;break;}if(_0x136f98['next']!='extends'['charCodeAt'](_0x22fd06))break;_0x136f98['advance'](),_0x116a58++;}}_0x136f98['acceptToken'](0x4,-_0x116a58);}),_0x5b6b35=_0x1fda3a({'get\x20set\x20async\x20static':_0x4ccfa4['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':_0x4ccfa4['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':_0x4ccfa4['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':_0x4ccfa4['definitionKeyword'],'import\x20export\x20from':_0x4ccfa4['moduleKeyword'],'with\x20debugger\x20new':_0x4ccfa4['keyword'],'TemplateString':_0x4ccfa4['special'](_0x4ccfa4['string']),'super':_0x4ccfa4['atom'],'BooleanLiteral':_0x4ccfa4['bool'],'this':_0x4ccfa4['self'],'null':_0x4ccfa4['null'],'Star':_0x4ccfa4['modifier'],'VariableName':_0x4ccfa4['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':_0x4ccfa4['function'](_0x4ccfa4['variableName']),'VariableDefinition':_0x4ccfa4['definition'](_0x4ccfa4['variableName']),'Label':_0x4ccfa4['labelName'],'PropertyName':_0x4ccfa4['propertyName'],'PrivatePropertyName':_0x4ccfa4['special'](_0x4ccfa4['propertyName']),'CallExpression/MemberExpression/PropertyName':_0x4ccfa4['function'](_0x4ccfa4['propertyName']),'FunctionDeclaration/VariableDefinition':_0x4ccfa4['function'](_0x4ccfa4['definition'](_0x4ccfa4['variableName'])),'ClassDeclaration/VariableDefinition':_0x4ccfa4['definition'](_0x4ccfa4['className']),'NewExpression/VariableName':_0x4ccfa4['className'],'PropertyDefinition':_0x4ccfa4['definition'](_0x4ccfa4['propertyName']),'PrivatePropertyDefinition':_0x4ccfa4['definition'](_0x4ccfa4['special'](_0x4ccfa4['propertyName'])),'UpdateOp':_0x4ccfa4['updateOperator'],'LineComment\x20Hashbang':_0x4ccfa4['lineComment'],'BlockComment':_0x4ccfa4['blockComment'],'Number':_0x4ccfa4['number'],'String':_0x4ccfa4['string'],'Escape':_0x4ccfa4['escape'],'ArithOp':_0x4ccfa4['arithmeticOperator'],'LogicOp':_0x4ccfa4['logicOperator'],'BitOp':_0x4ccfa4['bitwiseOperator'],'CompareOp':_0x4ccfa4['compareOperator'],'RegExp':_0x4ccfa4['regexp'],'Equals':_0x4ccfa4['definitionOperator'],'Arrow':_0x4ccfa4['function'](_0x4ccfa4['punctuation']),':\x20Spread':_0x4ccfa4['punctuation'],'(\x20)':_0x4ccfa4['paren'],'[\x20]':_0x4ccfa4['squareBracket'],'{\x20}':_0x4ccfa4['brace'],'InterpolationStart\x20InterpolationEnd':_0x4ccfa4['special'](_0x4ccfa4['brace']),'.':_0x4ccfa4['derefOperator'],',\x20;':_0x4ccfa4['separator'],'@':_0x4ccfa4['meta'],'TypeName':_0x4ccfa4['typeName'],'TypeDefinition':_0x4ccfa4['definition'](_0x4ccfa4['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':_0x4ccfa4['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':_0x4ccfa4['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':_0x4ccfa4['operatorKeyword'],'JSXAttributeValue':_0x4ccfa4['attributeValue'],'JSXText':_0x4ccfa4['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':_0x4ccfa4['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':_0x4ccfa4['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':_0x4ccfa4['attributeName'],'JSXBuiltin/JSXIdentifier':_0x4ccfa4['standard'](_0x4ccfa4['tagName'])}),_0x4617c5={'__proto__':null,'export':0x14,'as':0x19,'from':0x21,'default':0x24,'async':0x29,'function':0x2a,'in':0x34,'out':0x37,'const':0x38,'extends':0x3c,'this':0x40,'true':0x48,'false':0x48,'null':0x54,'void':0x58,'typeof':0x5c,'super':0x6c,'new':0x8e,'delete':0x9a,'yield':0xa3,'await':0xa7,'class':0xac,'public':0xeb,'private':0xeb,'protected':0xeb,'readonly':0xed,'instanceof':0x100,'satisfies':0x103,'import':0x124,'keyof':0x15d,'unique':0x161,'infer':0x167,'asserts':0x18b,'is':0x18d,'abstract':0x1a1,'implements':0x1a3,'type':0x1a5,'let':0x1a8,'var':0x1aa,'using':0x1ad,'interface':0x1b3,'enum':0x1b7,'namespace':0x1bd,'module':0x1bf,'declare':0x1c3,'global':0x1c7,'defer':0x1d7,'for':0x1dc,'of':0x1e5,'while':0x1e8,'with':0x1ec,'do':0x1f0,'if':0x1f4,'else':0x1f6,'switch':0x1fa,'case':0x200,'try':0x206,'catch':0x20a,'finally':0x20e,'return':0x212,'throw':0x216,'break':0x21a,'continue':0x21e,'debugger':0x222},_0x8b44ee={'__proto__':null,'async':0x81,'get':0x83,'set':0x85,'declare':0xc3,'public':0xc5,'private':0xc5,'protected':0xc5,'static':0xc7,'abstract':0xc9,'override':0xcb,'readonly':0xd1,'accessor':0xd3,'new':0x191},_0x1614d7={'__proto__':null,'<':0xc1},_0x2ed419=_0x218a96['deserialize']({'version':0xe,'states':'$F|Q%TQlOOO%[QlOOO\x27_QpOOP(lO`OOO*zQ!0MxO\x27#CiO+RO#tO\x27#CjO+aO&jO\x27#CjO+oO#@ItO\x27#DaO.QQlO\x27#DgO.bQlO\x27#DrO%[QlO\x27#DzO0fQlO\x27#ESOOQ!0Lf\x27#E[\x27#E[O1PQ`O\x27#EXOOQO\x27#Ep\x27#EpOOQO\x27#Il\x27#IlO1XQ`O\x27#GsO1dQ`O\x27#EoO1iQ`O\x27#EoO3hQ!0MxO\x27#JrO6[Q!0MxO\x27#JsO6uQ`O\x27#F]O6zQ,UO\x27#FtOOQ!0Lf\x27#Ff\x27#FfO7VO7dO\x27#FfO9XQMhO\x27#F|O9`Q`O\x27#F{OOQ!0Lf\x27#Js\x27#JsOOQ!0Lb\x27#Jr\x27#JrO9eQ`O\x27#GwOOQ[\x27#K_\x27#K_O9pQ`O\x27#IYO9uQ!0LrO\x27#IZOOQ[\x27#J`\x27#J`OOQ[\x27#I_\x27#I_Q`QlOOQ`QlOOO9}Q!L^O\x27#DvO:UQlO\x27#EOO:]QlO\x27#EQO9kQ`O\x27#GsO:dQMhO\x27#CoO:rQ`O\x27#EnO:}Q`O\x27#EyO;hQMhO\x27#FeO;xQ`O\x27#GsOOQO\x27#K`\x27#K`O;}Q`O\x27#K`O<]Q`O\x27#G{O<]Q`O\x27#G|O<]Q`O\x27#HOO9kQ`O\x27#HRO=SQ`O\x27#HUO>kQ`O\x27#CeO>{Q`O\x27#HcO?TQ`O\x27#HiO?TQ`O\x27#HkO`QlO\x27#HmO?TQ`O\x27#HoO?TQ`O\x27#HrO?YQ`O\x27#HxO?_Q!0LsO\x27#IOO%[QlO\x27#IQO?jQ!0LsO\x27#ISO?uQ!0LsO\x27#IUO9uQ!0LrO\x27#IWO@QQ!0MxO\x27#CiOASQpO\x27#DlQOQ`OOO%[QlO\x27#EQOAjQ`O\x27#ETO:dQMhO\x27#EnOAuQ`O\x27#EnOBQQ!bO\x27#FeOOQ[\x27#Cg\x27#CgOOQ!0Lb\x27#Dq\x27#DqOOQ!0Lb\x27#Jv\x27#JvO%[QlO\x27#JvOOQO\x27#Jy\x27#JyOOQO\x27#Ih\x27#IhOCQQpO\x27#EgOOQ!0Lb\x27#Ef\x27#EfOOQ!0Lb\x27#J}\x27#J}OC|Q!0MSO\x27#EgODWQpO\x27#EWOOQO\x27#Jx\x27#JxODlQpO\x27#JyOEyQpO\x27#EWODWQpO\x27#EgPFWO&2DjO\x27#CbPOOO)CD})CD}OOOO\x27#I`\x27#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO\x27#Ia\x27#IaOFqO&jO,59UOGPQ!L^O\x27#DcOOOO\x27#Ic\x27#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO\x27#IdOGyQ`O\x27#JtOIxQ!fO\x27#JtO+}QlO\x27#JtOJPQ`O,5:ROJgQ`O\x27#EpOJtQ`O\x27#KTOKPQ`O\x27#KSOKPQ`O\x27#KSOKXQ`O,5;^OK^Q`O\x27#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO\x27#KQONtQ`O\x27#KPO9eQ`O\x27#KPO!\x20YQ`O\x27#KPO!\x20bQ`O,5;]O!\x20gQ`O\x27#KPO!#lQ!fO\x27#JsOOQ!0Lh\x27#Ci\x27#CiO%[QlO\x27#ESO!$[Q!fO,5:sOOQS\x27#Jz\x27#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO\x27#EkO!(eQ`O,5;ZO!(jQlO\x27#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ[\x27#FT\x27#FTOOQ[\x27#FV\x27#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ[\x27#FZ\x27#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO\x27#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO\x27#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO\x27#FjO!.rQ,UO\x27#KXO!.^Q,UO\x27#KXO!.yQ,UO\x27#KXOOQO\x27#KX\x27#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO\x27#FvOOOW\x27#Io\x27#IoO7VO7dO,5<QO!/wQ,UO\x27#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO\x27#CyOOQ!0Lh\x27#C}\x27#C}O!0{O#@ItO\x27#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO\x27#GXO!3jQ`O\x27#GYO!3oQ`O\x27#GYO!5_Q(CWO\x27#G^O!6dQpO\x27#GbOOQO\x27#Gn\x27#GnO!,TQMhO\x27#GmOOQO\x27#Gp\x27#GpO!,TQMhO\x27#GoO!7VQ$IUO\x27#JlOOQ!0Lh\x27#Jl\x27#JlO!7aQ`O\x27#JkO!7oQ`O\x27#JjO!7wQ`O\x27#CuOOQ!0Lh\x27#C{\x27#C{O!8YQ`O\x27#C}OOQ!0Lh\x27#DV\x27#DVOOQ!0Lh\x27#DX\x27#DXO!8_Q`O,5<eO1SQ`O\x27#DZO!,TQMhO\x27#GPO!,TQMhO\x27#GRO!8gQ`O\x27#GTO!8lQ`O\x27#GUO!3oQ`O\x27#G[O!,TQMhO\x27#GaO<]Q`O\x27#JkO!8qQ`O\x27#EqO!9`Q`O,5<gOOQ!0Lb\x27#Cr\x27#CrO!9hQ`O\x27#ErO!:bQpO\x27#EsOOQ!0Lb\x27#KR\x27#KRO!:iQ!0LrO\x27#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ[\x27#Jh\x27#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO\x27#JiO9`Q`O\x27#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O\x27#HbO!DVQ`O\x27#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO\x27#Cy\x27#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O\x27#K`O?YQ`O\x27#HWO9kQ`O\x27#HYO!EuQ`O\x27#HYO:dQMhO\x27#H[O!EzQ`O\x27#H[OOQ[,5=p,5=pO!FPQ`O\x27#H]O!FbQ`O\x27#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO\x27#HeOOQ[\x27#Hf\x27#HfOOQ[\x27#Hg\x27#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO\x27#D_O%[QlO\x27#JvO##sQpO\x27#JvO##}QpO\x27#DmO#$`QpO\x27#DmO#&qQlO\x27#DmO#&xQ`O\x27#JuO#\x27QQ`O,5:WO#\x27VQ`O\x27#EtO#\x27eQ`O\x27#KUO#\x27mQ`O,5;_O#\x27rQpO\x27#DmO#(PQpO\x27#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb\x27#Ej\x27#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO\x27#I^\x27#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO\x27#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O\x27#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O\x27#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh\x27#GW\x27#GWO#0rQ!0MzO\x27#JlO!$wQlO1G0uO#2}Q!fO\x27#JwO%[QlO\x27#JwO#3XQ`O,5:eOOQ!0Lh\x27#D_\x27#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO\x27#CiO#DkQ?MtO1G1`O#DrQ?MtO\x27#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO\x27#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO\x27#FoO#K`Q`O\x27#FnOOQO\x27#KY\x27#KYOOQO\x27#In\x27#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO\x27#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO\x27#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO\x27#DTOOOO\x27#Ib\x27#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O\x27#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO\x27#IuO#MdQMjO,5=XO!,TQMhO\x27#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO\x27#CrO#NtQ(CWO\x27#ErO$\x20|QpO\x27#GbO$!dQ!dO,5<sO$!kQ`O\x27#K[O9eQ`O\x27#K[O$!yQ`O,5<uO$#aQ!dO\x27#C{O!,TQMhO,5<tO$#kQ`O\x27#GZO$$PQ`O,5<tO$$UQ!dO\x27#GWO$$cQ!dO\x27#K]O$$mQ`O\x27#K]O!&zQMhO\x27#K]O$$rQ`O,5<xO$$wQlO\x27#JvO$%RQpO\x27#GcO#$`QpO\x27#GcO$%dQ`O\x27#GgO!3oQ`O\x27#GkO$%iQ!0LrO\x27#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO\x27#GcO$&YQpO\x27#GdO$&kQpO\x27#GdO$&pQMjO,5=XO$\x27QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$\x27bQ`O\x27#IyO$\x27vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh\x27#Jp\x27#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O\x27#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O\x27#KSO9eQ`O\x27#EtO%[QlO\x27#EtO9eQ`O\x27#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO\x27#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O\x27#CiO$0jQ`O\x27#KeO$0rQ`O,5=|O$0wQ`O\x27#KeO$0|Q`O\x27#KeO$1[Q`O\x27#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO\x27#HQOOQ[1G3U1G3UO!6_QpO\x27#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O\x27#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO\x27#HtOOQ[1G3x1G3xO$:tQ`O\x27#HzO?YQ`O\x27#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb\x27#G_\x27#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO\x27#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO\x27#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO\x27#Ig\x27#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO\x27#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO\x27#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+\x27Y7+\x27YOOOW7+\x27e7+\x27eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+\x27kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O\x27#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO\x27#CrO%/iQMhO\x27#KSO$$wQlO\x27#JvOOQ!0Lh1G2_1G2_O%/sQ`O\x27#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O\x27#K[O!,TQMhO1G2`O%1_Q(CWO\x27#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO\x27#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO\x27#IuO%6WQMjO1G2sO!,TQMhO\x27#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+\x27mOOQ!0Lf7+\x27m7+\x27mO!$wQlO7+\x27mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO\x27#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO\x27#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O\x27#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+\x27T7+\x27TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O\x27#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO\x27#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O\x27#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ[\x27#Kh\x27#KhOOQ[\x27#JS\x27#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO\x27#HuO%?^Q`O\x27#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO\x27#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO\x27#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO\x27#FqOOQO\x27#KZ\x27#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+\x27h7+\x27hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+\x27zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+\x27u7+\x27uO&7TQMjO7+\x27|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO\x27#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO\x27#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO\x27#JO\x27#JOO9uQ!0LrO\x27#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO\x27#EgO&=PQpO\x27#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO\x27#H^\x27#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<=\x20^O&?oQ`O<=\x20]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+\x27zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+\x27|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO\x27#PQ?MvO,5<kO\x27%SQ?MvO,5<mO\x27\x27hQ?MvO,5<{O\x27)^Q?MtO7+\x27kO\x27)kQ?MtO7+\x27mO\x27)xQ`O,5<]OOQO7+\x27`7+\x27`OOQ!0Lh7+*d7+*dO\x27)}QMjO<<K}OOQO1G4w1G4wO\x27*UQ`O1G4wO\x27*aQ`O1G4wO\x27*oQ`O7++|O\x27*oQ`O7++|O!&zQMhO1G4yO\x27*wQ!dO1G4yO\x27+RQ`O7++}O\x27+ZQ`O7+(VO\x27+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO\x27+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO\x27+uQ`O7+(VOCwQ`O7+(UO\x27+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O\x27,XQ!dO,5?fOOQO-E<x-E<xO\x27,cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO\x27,sQ`O1G5WO\x27,xQ`O7+,VO\x27,xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO\x27-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO\x27-VQ`O,5?hOOQO-E<z-E<zO\x27-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO\x27-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO\x27-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO\x27-yQpO1G5VO\x27.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<=\x20r<=\x20rOOQ[<=\x20s<=\x20sO\x27.^Q`O<=\x20rO\x27.cQ`O<=\x20sOOQ[<<Lq<<LqO\x27.hQ`O<<LqO\x27.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO\x27.tQ`O<<JQO\x27/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO\x27/ZQ!fOG27VO4UQ!fOG27VO\x27/bQ`OG27VO\x27/jQ?MtO<<JfO\x27/wQ?MvO1G2`O\x271mQ?MvO,5?aO\x273pQ?MvO,5?cO\x275sQ?MvO1G2sO\x277vQ?MvO1G2uO\x279yQ?MtO<<KXO\x27:WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO\x27:eQ`O7+*cO\x27:pQ`O<=\x20hO\x27:xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO\x27;SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO\x27;_Q!dO<<KqOOQ!0Lb<<Kp<<KpO\x27;iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO\x27;nQMjOANDcO\x27;xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO\x27<YQ`O<=\x20qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO\x27<bQ`O7+,SO\x27<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO\x27<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO\x27#H_\x27#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O\x27<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO\x27<|Q!fOLD,qO\x27=TQ?MvO7+\x27zO\x27>yQ?MvO,5?aO\x27@|Q?MvO,5?cO\x27CPQ?MvO7+\x27|O\x27DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O\x27EVQ!dOANA]OOQ!0LbANAZANAZO\x27E^Q`OANA]O!&zQMhOANA]O\x27EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O\x27EsQ?MtO7+*nOOQO\x27#Gf\x27#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO\x27E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O\x27FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO\x27HjQ`OG26wOCwQ`OG26wO\x27HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO\x27H|Q`OLD,cO\x27IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO\x27I`Q?MvOG27TOOQ!0Lb!$(\x20}!$(\x20}O$+YQ`O!$(\x20}OCwQ`O!$(\x20}O\x27KUQ`O!$(\x20}OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO\x27#DzO1PQ`O\x27#EXO\x27KaQ!fO\x27#JrO\x27KhQ!L^O\x27#DvO\x27KoQlO\x27#EOO\x27KvQ!fO\x27#CiO\x27N^Q!fO\x27#CiO!)[QlO\x27#EQO\x27NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO\x27#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO\x27#GmO(!yQMhO\x27#GmO!&zQMhO\x27#GoO(!yQMhO\x27#GoO1SQ`O\x27#DZO1SQ`O\x27#DZO!&zQMhO\x27#GPO(!yQMhO\x27#GPO!&zQMhO\x27#GRO(!yQMhO\x27#GRO!&zQMhO\x27#GaO(!yQMhO\x27#GaO!)[QlO,5:jO($kQpO\x27#D_O($uQpO\x27#JvO!)[QlO,5@oO\x27NnQlO1G0uO(%PQ?MtO\x27#CiO!)[QlO1G2PO!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO(%ZQ!dO\x27#CrO!&zQMhO,5<tO(!yQMhO,5<tO\x27NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO!&zQMhO1G2bO(!yQMhO1G2bO\x27NnQlO7+\x27mO\x27NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O\x27#EoO(%sQ`O\x27#EoO(%{Q`O\x27#F]O(&QQ`O\x27#EyO(&VQ`O\x27#KTO(&bQ`O\x27#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O\x27#GYO(\x27OQ`O\x27#GYO(\x27TQ`O,5<eO(\x27]Q`O,5<gO(\x27eQ`O,5;ZO(\x27mQ?MtO1G1`O(\x27tQ`O,5<tO(\x27yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO\x27#F|O9`Q`O\x27#F{OAuQ`O\x27#EnO!)[QlO,5;tO!3oQ`O\x27#GYO!3oQ`O\x27#GYO!3oQ`O\x27#G[O!3oQ`O\x27#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]','stateData':'()x~O\x27|OS\x27}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X\x27z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX\x27z(fX\x27w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX\x27z(gX\x27w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO\x27z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO\x27x&{O\x27z%nO~Oa%nO\x27x\x27OO\x27z%nO~Oa%nO\x27x\x27QO\x27z%nO~O\x27w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b\x27_O!c\x27WO!d\x27WO(U!lO(VTO(YUO~Os\x27UO!S\x27TO![\x27XO(e\x27SO!^(iP!^(xP~P@nOn\x27bO!_\x27`O(T%gO~Oe\x27gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b\x27mO!c\x27lO!d\x27lO#V!pO#[\x27nO#]\x27nO~PBYOa%nOh%VO!g#vO!l%eO\x27z%nO(r\x27pO~O!p\x27tO#`\x27rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c\x27lO!d\x27lO(U!lO~PDWO(P\x27xO(Q\x27xO(R\x27zO~O_!}O(V\x27|O(W!}O(X\x27|O~O_#QO(X\x27|O(Y\x27|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y\x27WX!Y\x27^X!]\x27WX!]\x27^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na\x27z!na\x27w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r\x27pO!](tXa(tX\x27z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P!\x20uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa\x27z$qa\x27w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX\x27y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO\x27y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O![*^O(T*XO!k)OP~P!1uO#k*aO~O!l*bO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T*dO(VTO(YUO(a$uO(y$}O(z%PO~O![*gO!Y)PP~P!3tOr*sOs!nO!S*iO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO(e!mO~O!^*pO~P!5iO#S$dOn(`X!Q(`X\x27y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*xO#`*wOg(_X!](_X~O!]*yOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*|O~Og)}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hO![+ZO!](^O!_%iO(T%gO!Y(vP~Os\x27[O!S+]O![+[O(VTO(YUO(e(|O~O!^(xP~P!9|O!]+^Oa)TX\x27z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja\x27z!ja\x27w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra\x27z!ra\x27w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta\x27z!ta\x27w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_\x27`O%i+fO~O!g+iOa(]X!_(]X\x27z(]X!](]X~Oa%nO!_XO\x27z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO\x27z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la\x27w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P\x27_On-iO!_\x27`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO\x27z%nO~Oa%nO!g#vO#`-qO\x27z%nO~Oa%nO!g#vO!p-sO#`-qO\x27z%nO(r\x27pO~O(P\x27xO(Q\x27xO(R-zO~Ov-{O~O!Y\x27Wa!]\x27Wa~P!:tO![.PO!Y\x27WX!]\x27WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y\x27^X!]\x27^X~O#`.VO!](ta!k(taa(ta\x27z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]\x27aX!k\x27aX~OR.dO!l#xO~Oh%VOn.gO!_\x27`O%i.fO~Oa#ci!]#ci\x27z#ci\x27w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO\x27y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a\x27z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X\x27z(`X(a(`X(r(`X!k(`X!Y(`X\x27w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P!\x20uOa\x27da!]\x27da\x27z\x27da\x27w\x27da!k\x27da!Y\x27dav\x27da!_\x27da%i\x27da!g\x27da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi\x27z$Pi\x27w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa\x27y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca\x27y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WO![/mO!](^O(T/lO!Y(vP!Y)PP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$\x20[O!k/oO~P#/sO!]/pO!g#vO(r\x27pO!k)OX~O!k/uO~OnoX!QoX\x27yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r\x27pO~O!g+iO~Oa%nO!]0XO\x27z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg\x27mX!]\x27mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a\x27y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO\x27y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO\x27y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta\x27z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri\x27z!ri\x27w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a\x27z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`\x27uX!]\x27uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO\x27z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci\x27w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li\x27w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]\x27XX!^\x27XX~P@nO!]-]O!^(ia~O!]\x27_X!^\x27_X~P!9|O!]-`O!^(xa~O!^2wO~P\x27_Oa%nO#`3QO\x27z%nO~Oa%nO!g#vO#`3QO\x27z%nO~Oa%nO!g#vO!p3UO#`3QO\x27z%nO(r\x27pO~Oa%nO\x27z%nO~P!:tO!]$_Ov$qa~O!Y\x27Wi!]\x27Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti\x27z(ti~P!:tO#`3WO!](ti!k(tia(ti\x27z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_\x27`O%i3cO~Oh%VOn3dO!_\x27`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a\x27z}a(a}a(r}a!k}a!Y}a\x27w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa\x27z$sa(a$sa(r$sa!k$sa!Y$sa\x27w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua\x27z$ua(a$ua(r$ua!k$ua!Y$ua\x27w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta\x27z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta\x27w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq\x27z#cq\x27w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]\x27YX!k\x27YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg\x27]X!]\x27]X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq\x27z$mq\x27w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO\x27y*PO(z%POn\x27ia(y\x27ia!]\x27ia#`\x27ia~Og\x27ia$O\x27ia~P%-fO!Q*OO\x27y*POn\x27ka(y\x27ka(z\x27ka!]\x27ka#`\x27ka~Og\x27ka$O\x27ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]\x27eX!k\x27eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r\x27pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y\x27gX!]\x27gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r\x27pO~Or4yO!g#vO(r\x27pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai\x27y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci\x27y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq\x27z$oq\x27w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X\x27z$zX!]$zX~P!0SO%^5_OaoX!_oX\x27zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]\x27tX!^\x27tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO\x27z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]\x27sX!^\x27sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O\x27z%nO~Oa%nO!g#vO#`6|O\x27z%nO~O!](tq!k(tqa(tq\x27z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_\x27`O%i7WO~On7[O!_\x27`O%i7WO~O#k\x27iaP\x27iaR\x27ia[\x27iaa\x27iaj\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia\x27z\x27ia(a\x27ia(r\x27ia!k\x27ia!Y\x27ia\x27w\x27iav\x27ia!_\x27ia%i\x27ia!g\x27ia~P%-fO#k\x27kaP\x27kaR\x27ka[\x27kaa\x27kaj\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka\x27z\x27ka(a\x27ka(r\x27ka!k\x27ka!Y\x27ka\x27w\x27kav\x27ka!_\x27ka%i\x27ka!g\x27ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i\x27z$|i(a$|i(r$|i!k$|i!Y$|i\x27w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai\x27z%ai(a%ai(r%ai!k%ai!Y%ai\x27w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci\x27z%ci(a%ci(r%ci!k%ci!Y%ci\x27w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]\x27Ya!k\x27Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y\x27z#|y\x27w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X\x27y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg\x27]a!]\x27]a~P!1WO!^7nO~O!]\x27da!^\x27da~P#BwO!Y7oO~P#/sO!g#vO(r\x27pO!]\x27ea!k\x27ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y\x27ga!]\x27ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r\x27pO~Oj8QO!g#vO~Or8TO!g#vO(r\x27pO~O!Q*OO\x27y*PO(z%POn\x27ja(y\x27ja!]\x27ja#`\x27ja~Og\x27ja$O\x27ja~P&5RO!Q*OO\x27y*POn\x27la(y\x27la(z\x27la!]\x27la#`\x27la~Og\x27la$O\x27la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy\x27z$oy\x27w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_\x27`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i\x27z%[i!]%[i~Oa#cy!]#cy\x27z#cy\x27w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]\x27pX!^\x27pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]\x27sa!^\x27sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O\x27z%nO~O!](ty!k(tya(ty\x27z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_\x27`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q\x27z$|q(a$|q(r$|q!k$|q!Y$|q\x27w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k\x27jaP\x27jaR\x27ja[\x27jaa\x27jaj\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja\x27z\x27ja(a\x27ja(r\x27ja!k\x27ja!Y\x27ja\x27w\x27jav\x27ja!_\x27ja%i\x27ja!g\x27ja~P&5RO#k\x27laP\x27laR\x27la[\x27laa\x27laj\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la\x27z\x27la(a\x27la(r\x27la!k\x27la!Y\x27la\x27w\x27lav\x27la!_\x27la%i\x27la!g\x27la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq\x27z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq\x27w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]\x27Yi!k\x27Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa\x27y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca\x27y%ca(y%ca~P&LQOn>^O!Q*OO\x27y*PO(z%PO~P&IyOn>^O!Q*OO\x27y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a\x27y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO\x27y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO\x27y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO\x27y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P\x27\x27VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]\x27ei!k\x27ei~O!g#vO(r\x27pO!]\x27ei!k\x27ei~O!]/pO!k)Oq~O!Y\x27gi!]\x27gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r\x27pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]\x27na!_\x27na~P#/sOa%[q!_%[q\x27z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]\x27pa!^\x27pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_\x27`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27iaR\x27ia[\x27iaj\x27ian\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia$O\x27ia(a\x27ia(r\x27ia(y\x27ia!]\x27ia!^\x27ia~O!Q*OO\x27y*POP\x27kaR\x27ka[\x27kaj\x27kan\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka$O\x27ka(a\x27ka(r\x27ka(y\x27ka(z\x27ka!]\x27ka!^\x27ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai\x27y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci\x27y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]\x27eq!k\x27eq~O!]/pO!k)Oy~O!Y\x27gq!]\x27gq~P#/sOr:|O!g#vO(r\x27pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y\x27z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27jaR\x27ja[\x27jaj\x27jan\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja$O\x27ja(a\x27ja(r\x27ja(y\x27ja!]\x27ja!^\x27ja~O!Q*OO\x27y*POP\x27laR\x27la[\x27laj\x27lan\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la$O\x27la(a\x27la(r\x27la(y\x27la(z\x27la!]\x27la!^\x27la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P\x27\x27VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r\x27pO~O[;kO!Y;hO~P#/sO!]\x27pq!^\x27pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z\x27z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z\x27w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r\x27pO~O!Y;uO~P#/sOr;|O!g#vO(r\x27pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P\x27\x27VOr<QO!g#vO(r\x27pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P\x27LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P\x27LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X\x27|(U#ps#n#qr!Q\x27}$]\x27}(T$_(e~','goto':'$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP!\x20eI[PPPI[PI[P!#lI[P!\x27S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$\x20b$\x20i$\x20qPPP$\x27]P$\x27f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ\x27`-e1o5{Q%tvQ%|yQ&T|Q&j!VS\x27W!e-]Q\x27f!iS\x27l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c\x27_Q-m\x27gQ-u\x27mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q\x27U!eS\x27[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z\x27X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ\x27c!hQ\x27e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l\x27f\x27gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW\x27[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U\x27RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ\x27Y!eR2q-]!W!nQ!e!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q\x27v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j\x27dQ-w\x27oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p\x27iQ)P#zS+b%q.|S.c(n(pR3^.d\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ\x27a!hQ+e%wQ-h\x27cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ\x27`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r\x27`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p\x27iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}Q\x27t!uS(f#g2US-s\x27k\x27wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ\x27s!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r\x27k\x27t\x27wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ\x27`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n\x27XU\x27]!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U\x27XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n\x27XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{\x27T\x27b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R\x27OQ-S\x27QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q\x27y!{R-y\x27ySsOtQ#dXT%ps#dQ#OTR\x27{#OQ#RUR\x27}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^\x27YR2r-^Q.u(yS3m.u3nR3n.vQ-e\x27`R2v-eY!rQ\x27`-e1o5{R\x27j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a\x27]R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ\x27P!bQ\x27R!cQ\x27q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p\x27k\x27s\x27t\x27wQ-w\x27oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ\x27d!iQ\x27o!uU+m%{%|%}Q-W\x27VU-k\x27e\x27f\x27gS-o\x27k\x27uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W\x27h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T\x27T/nQ-g\x27bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{\x27T\x27b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z\x27X2pQ-x\x27rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR\x27Z!el!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}S\x27V!e-]U*j$|*Z*oS-Y\x27W\x27_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d\x27`-e]!qQ!r\x27`-e1o5{Q#p]R\x27i<VR)f$dY!uQ\x27`-e1o5{Q\x27k!rS\x27u!v!yS\x27w!z5}S-t\x27l\x27mQ-v\x27nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m\x27X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-[\x27X+[T.O(T.TV\x27^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_','nodeNames':'⚠\x20ArithOp\x20ArithOp\x20?.\x20JSXStartTag\x20LineComment\x20BlockComment\x20Script\x20Hashbang\x20ExportDeclaration\x20export\x20Star\x20as\x20VariableName\x20String\x20Escape\x20from\x20;\x20default\x20FunctionDeclaration\x20async\x20function\x20VariableDefinition\x20>\x20<\x20TypeParamList\x20in\x20out\x20const\x20TypeDefinition\x20extends\x20ThisType\x20this\x20LiteralType\x20ArithOp\x20Number\x20BooleanLiteral\x20TemplateType\x20InterpolationEnd\x20Interpolation\x20InterpolationStart\x20NullType\x20null\x20VoidType\x20void\x20TypeofType\x20typeof\x20MemberExpression\x20.\x20PropertyName\x20[\x20TemplateString\x20Escape\x20Interpolation\x20super\x20RegExp\x20]\x20ArrayExpression\x20Spread\x20,\x20}\x20{\x20ObjectExpression\x20Property\x20async\x20get\x20set\x20PropertyDefinition\x20Block\x20:\x20NewTarget\x20new\x20NewExpression\x20)\x20(\x20ArgList\x20UnaryExpression\x20delete\x20LogicOp\x20BitOp\x20YieldExpression\x20yield\x20AwaitExpression\x20await\x20ParenthesizedExpression\x20ClassExpression\x20class\x20ClassBody\x20MethodDeclaration\x20Decorator\x20@\x20MemberExpression\x20PrivatePropertyName\x20CallExpression\x20TypeArgList\x20CompareOp\x20<\x20declare\x20Privacy\x20static\x20abstract\x20override\x20PrivatePropertyDefinition\x20PropertyDeclaration\x20readonly\x20accessor\x20Optional\x20TypeAnnotation\x20Equals\x20StaticBlock\x20FunctionExpression\x20ArrowFunction\x20ParamList\x20ParamList\x20ArrayPattern\x20ObjectPattern\x20PatternProperty\x20Privacy\x20readonly\x20Arrow\x20MemberExpression\x20BinaryExpression\x20ArithOp\x20ArithOp\x20ArithOp\x20ArithOp\x20BitOp\x20CompareOp\x20instanceof\x20satisfies\x20CompareOp\x20BitOp\x20BitOp\x20BitOp\x20LogicOp\x20LogicOp\x20ConditionalExpression\x20LogicOp\x20LogicOp\x20AssignmentExpression\x20UpdateOp\x20PostfixExpression\x20CallExpression\x20InstantiationExpression\x20TaggedTemplateExpression\x20DynamicImport\x20import\x20ImportMeta\x20JSXElement\x20JSXSelfCloseEndTag\x20JSXSelfClosingTag\x20JSXIdentifier\x20JSXBuiltin\x20JSXIdentifier\x20JSXNamespacedName\x20JSXMemberExpression\x20JSXSpreadAttribute\x20JSXAttribute\x20JSXAttributeValue\x20JSXEscape\x20JSXEndTag\x20JSXOpenTag\x20JSXFragmentTag\x20JSXText\x20JSXEscape\x20JSXStartCloseTag\x20JSXCloseTag\x20PrefixCast\x20<\x20ArrowFunction\x20TypeParamList\x20SequenceExpression\x20InstantiationExpression\x20KeyofType\x20keyof\x20UniqueType\x20unique\x20ImportType\x20InferredType\x20infer\x20TypeName\x20ParenthesizedType\x20FunctionSignature\x20ParamList\x20NewSignature\x20IndexedType\x20TupleType\x20Label\x20ArrayType\x20ReadonlyType\x20ObjectType\x20MethodType\x20PropertyType\x20IndexSignature\x20PropertyDefinition\x20CallSignature\x20TypePredicate\x20asserts\x20is\x20NewSignature\x20new\x20UnionType\x20LogicOp\x20IntersectionType\x20LogicOp\x20ConditionalType\x20ParameterizedType\x20ClassDeclaration\x20abstract\x20implements\x20type\x20VariableDeclaration\x20let\x20var\x20using\x20TypeAliasDeclaration\x20InterfaceDeclaration\x20interface\x20EnumDeclaration\x20enum\x20EnumBody\x20NamespaceDeclaration\x20namespace\x20module\x20AmbientDeclaration\x20declare\x20GlobalDeclaration\x20global\x20ClassDeclaration\x20ClassBody\x20AmbientFunctionDeclaration\x20ExportGroup\x20VariableName\x20VariableName\x20ImportDeclaration\x20defer\x20ImportGroup\x20ForStatement\x20for\x20ForSpec\x20ForInSpec\x20ForOfSpec\x20of\x20WhileStatement\x20while\x20WithStatement\x20with\x20DoStatement\x20do\x20IfStatement\x20if\x20else\x20SwitchStatement\x20switch\x20SwitchBody\x20CaseLabel\x20case\x20DefaultLabel\x20TryStatement\x20try\x20CatchClause\x20catch\x20FinallyClause\x20finally\x20ReturnStatement\x20return\x20ThrowStatement\x20throw\x20BreakStatement\x20break\x20ContinueStatement\x20continue\x20DebuggerStatement\x20debugger\x20LabeledStatement\x20ExpressionStatement\x20SingleExpression\x20SingleClassItem','maxTerm':0x17c,'context':_0x41d3f8,'nodeProps':[['isolate',-0x8,0x5,0x6,0xe,0x25,0x27,0x33,0x35,0x37,''],['group',-0x1a,0x9,0x11,0x13,0x44,0xcf,0xd3,0xd7,0xd8,0xda,0xdd,0xe0,0xea,0xed,0xf3,0xf5,0xf7,0xf9,0xfc,0x102,0x108,0x10a,0x10c,0x10e,0x110,0x112,0x113,'Statement',-0x22,0xd,0xe,0x20,0x23,0x24,0x2a,0x33,0x36,0x37,0x39,0x3e,0x46,0x48,0x4c,0x50,0x52,0x54,0x55,0x6e,0x6f,0x78,0x79,0x88,0x8b,0x8d,0x8e,0x8f,0x90,0x91,0x93,0x94,0xa7,0xa9,0xab,'Expression',-0x17,0x1f,0x21,0x25,0x29,0x2b,0x2d,0xad,0xaf,0xb1,0xb2,0xb4,0xb5,0xb6,0xb8,0xb9,0xba,0xbc,0xbd,0xbe,0xc9,0xcb,0xcd,0xce,'Type',-0x3,0x58,0x67,0x6d,'ClassItem'],['openedBy',0x17,'<',0x26,'InterpolationStart',0x38,'[',0x3c,'{',0x49,'(',0xa0,'JSXStartCloseTag'],['closedBy',-0x2,0x18,0xa8,'>',0x28,'InterpolationEnd',0x32,']',0x3d,'}',0x4a,')',0xa5,'JSXEndTag']],'propSources':[_0x5b6b35],'skippedNodes':[0x0,0x5,0x6,0x116],'repeatNodeCount':0x25,'tokenData':'$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx!\x20Yxy!\x27iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c&j&zP;=`<%l&c\x27|\x27U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!b(SU(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!b(iP;=`<%l\x27}\x27|(oP;=`<%l&}\x27[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)rp*^P;=`<%l)r\x27[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b\x27|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;\x27S%Z;\x27S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j\x27}0/lO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b\x27}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At3l_(V\x27:f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;\x27S5q;\x27S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c`6|TOr6yrs7]s;\x27S6y;\x27S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;\x27S8p;\x27S;=`:R<%lO8p!r9oU$d`(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr(r<__WS$i&j(Wp(Z!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;\x27S<S;\x27S;=`Cl<%lO<S(Q=g]WS$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;\x27S=^;\x27S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;\x27S>`;\x27S;=`?k<%lO>`S?XSWSOY?SZ;\x27S?S;\x27S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;\x27S?q;\x27S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^\x27`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;\x27S@n;\x27S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;\x27SAp;\x27S;=`Ba<%lOAptBdP;=`<%lAp\x27`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;\x27SBm;\x27S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;\x27SCr;\x27S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Wp(Z!b$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr+dHRk$i&j(Wp(Z!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;\x27SGv;\x27S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Wp(Z!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,#xLva(z+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27At!\x20c_(Y\x27;W$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b\x27l!!i_$i&j(WpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;\x27S!!b;\x27S;=`!\x27c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;\x27S!#h;\x27S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;\x27S!$Y;\x27S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h\x27l!%R]$d`$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r!Q!&PZ(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;\x27S!%z;\x27S;=`!\x27]<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)r!Q!\x27`P;=`<%l!%z\x27l!\x27fP;=`<%l!!b/5|!\x27t_!l/.^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z-!n!*[b$i&j(Wp(Z!b(U%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW!+o`$i&j(Wp(Z!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;x!,|`$i&j(Wp(Z!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!/ec$i&j(Wp(Z!b!Q.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!0ya$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!3eg$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!5Vg$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!6wc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad!8_c$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[!9uf$i&j(Wp(Z!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z?O!;fb$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z>^!<w`$i&j(Z!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;\x27S!<n;\x27S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;\x27S&c;\x27S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;\x27S!Ar;\x27S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;\x27S!Gr;\x27S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY\x27}Zw\x27}x#O\x27}#P#W\x27}#W#X!Hl#X#Z\x27}#Z#[!Hl#[#]\x27}#]#^!Hl#^#a\x27}#a#b!Hl#b#g\x27}#g#h!Hl#h#i\x27}#i#j!Hl#j#k!Hl#k#m\x27}#m#n!Hl#n;\x27S\x27};\x27S;=`(f<%lO\x27}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;\x27S!JU;\x27S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;\x27S!KS;\x27S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Wp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_#\x20o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p#\x20o#p;\x27S!Lc;\x27S;=`#&Y<%lO!Lc=l!Mwl$i&j(Wp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;\x27S(r;\x27S;=`*a<%lO(r8Q#\x20vZ(Wp!X7`OY#\x20oZr#\x20ors!@cs!P#\x20o!P!Q#!i!Q!}#\x20o!}#O#$R#O#P!Bq#P;\x27S#\x20o;\x27S;=`#$y<%lO#\x20o8Q#!pe(Wp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;\x27S)r;\x27S;=`*Z<%lO)r8Q#$WX(WpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q#\x20o#Q;\x27S#$R;\x27S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l#\x20o=l#%W^$i&j(WpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;\x27S#%P;\x27S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Wp(Z!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z9d#(r](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx#\x20ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;\x27S#(i;\x27S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`OY*gZr*grs\x27}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;\x27S*g;\x27S;=`+Z<%lO*g9d#+gZ(Wp(Z!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;\x27S#+`;\x27S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Wp(Z!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;\x27S#,f;\x27S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Wp(Z!b(O0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z07[#/o_$i&j(Wp(Z!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;\x27S#/d;\x27S;=`#6|<%lO#/d06j#0w]$i&j(Z!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;\x27S#0n;\x27S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;\x27S#1p;\x27S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;\x27S#2d;\x27S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Z!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;\x27S#3R;\x27S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(WpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;\x27S#4O;\x27S;=`#5w<%lO#4O00^#5XW(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;\x27S#5Q;\x27S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;\x27S#5};\x27S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Wp(Z!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;\x27S!;Z;\x27S;=`#-w<%lO!;Z\x27Ad#:Zp$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#<jk$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#>j_$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#A]f$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Dbe$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z\x27Ad#Gpi$i&j(Wp(Z!bs\x279tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Wp(Z!b$n7`OY*gZr*grs\x27}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$\x20f!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(n#MXX$k&j(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El$\x20oX#s(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$\x27f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$\x27qa#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(Kd$*`a(r(Ct$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;\x27S$0O;\x27S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;\x27S&c;\x27S;=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z+;p$7c_$i&j(Wp(Z!b(a+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$8qk$i&j(Wp(Z!b(T,2j$_#t(e$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;\x27S$8b;\x27S;=`$<l<%lO$8b+d$:qk$i&j(Wp(Z!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;\x27S$:f;\x27S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;\x27S%Z;\x27S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;\x27S%Z;\x27S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b\x27|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;\x27SEr;\x27S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b\x27}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;\x27SEr;\x27S;=`I|<%lOEr','tokenizers':[_0x91ac71,_0x1f901f,_0x29a578,_0x12fc41,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,_0x3372f2,new _0x2829ec('$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;\x27S!P;\x27S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~',0x8d,0x154),new _0x2829ec('j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~',0x19,0x143)],'topRules':{'Script':[0x0,0x7],'SingleExpression':[0x1,0x114],'SingleClassItem':[0x2,0x115]},'dialects':{'jsx':0x0,'ts':0x3b47},'dynamicPrecedences':{0x50:0x1,0x52:0x1,0x5e:0x1,0xa9:0x1,0xc7:0x1},'specialized':[{'term':0x147,'get':_0x405cef=>_0x4617c5[_0x405cef]||-0x1},{'term':0x157,'get':_0x59710b=>_0x8b44ee[_0x59710b]||-0x1},{'term':0x5f,'get':_0x2395a0=>_0x1614d7[_0x2395a0]||-0x1}],'tokenPrec':0x3b61}),_0x1213bc=[_0x17e272('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),_0x17e272('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),_0x17e272('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),_0x17e272('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),_0x17e272('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),_0x17e272('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),_0x17e272('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),_0x17e272('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),_0x17e272('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),_0x17e272('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),_0x17e272('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],_0xf2860d=_0x1213bc['concat']([_0x17e272('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),_0x17e272('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),_0x17e272('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x393f6e=new _0x5e0dd9(),_0x348d41=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x3c8a0c(_0x2452bc){return(_0x298470,_0x25afb4)=>{let _0x5da36f=_0x298470['node']['getChild']('VariableDefinition');return _0x5da36f&&_0x25afb4(_0x5da36f,_0x2452bc),!0x0;};}const _0x1e7294=['FunctionDeclaration'],_0x9458bc={'FunctionDeclaration':_0x3c8a0c('function'),'ClassDeclaration':_0x3c8a0c('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x3c8a0c('constant'),'TypeAliasDeclaration':_0x3c8a0c('type'),'NamespaceDeclaration':_0x3c8a0c('namespace'),'VariableDefinition'(_0x1ac124,_0x143cda){_0x1ac124['matchContext'](_0x1e7294)||_0x143cda(_0x1ac124,'variable');},'TypeDefinition'(_0x470fc8,_0x5e5801){_0x5e5801(_0x470fc8,'type');},'__proto__':null};function _0xfaae(_0xd9193,_0x49e2c8){let _0x236a08=_0x393f6e['get'](_0x49e2c8);if(_0x236a08)return _0x236a08;let _0x5290f6=[],_0x24da13=!0x0;function _0x91a911(_0x2d9d97,_0x21c7c8){let _0x5ccfc4=_0xd9193['sliceString'](_0x2d9d97['from'],_0x2d9d97['to']);_0x5290f6['push']({'label':_0x5ccfc4,'type':_0x21c7c8});}return _0x49e2c8['cursor'](_0x37091f['IncludeAnonymous'])['iterate'](_0x49417e=>{if(_0x24da13)_0x24da13=!0x1;else{if(_0x49417e['name']){let _0x4b5bf7=_0x9458bc[_0x49417e['name']];if(_0x4b5bf7&&_0x4b5bf7(_0x49417e,_0x91a911)||_0x348d41['has'](_0x49417e['name']))return!0x1;}else{if(_0x49417e['to']-_0x49417e['from']>0x2000){for(let _0x341b9a of _0xfaae(_0xd9193,_0x49417e['node']))_0x5290f6['push'](_0x341b9a);return!0x1;}}}}),_0x393f6e['set'](_0x49e2c8,_0x5290f6),_0x5290f6;}const _0x2f79ac=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,_0x50f3a9=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function _0x2f3d6e(_0x4c3e88){let _0x5efb65=tE(_0x4c3e88['state'])['resolveInner'](_0x4c3e88['pos'],-0x1);if(_0x50f3a9['indexOf'](_0x5efb65['name'])>-0x1)return null;let _0x2a161b='VariableName'==_0x5efb65['name']||_0x5efb65['to']-_0x5efb65['from']<0x14&&_0x2f79ac['test'](_0x4c3e88['state']['sliceDoc'](_0x5efb65['from'],_0x5efb65['to']));if(!_0x2a161b&&!_0x4c3e88['explicit'])return null;let _0x3d4dd4=[];for(let _0x1b675b=_0x5efb65;_0x1b675b;_0x1b675b=_0x1b675b['parent'])_0x348d41['has'](_0x1b675b['name'])&&(_0x3d4dd4=_0x3d4dd4['concat'](_0xfaae(_0x4c3e88['state']['doc'],_0x1b675b)));return{'options':_0x3d4dd4,'from':_0x2a161b?_0x5efb65['from']:_0x4c3e88['pos'],'validFor':_0x2f79ac};}const _0x33b8f0=_0x4f1a26['define']({'name':'javascript','parser':_0x2ed419['configure']({'props':[_0x417a5d['add']({'IfStatement':_0x82896b({'except':/^\s*({|else\b)/}),'TryStatement':_0x82896b({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x232010=>_0x232010['baseIndent'],'SwitchBody':_0x348c22=>{let _0xcead2=_0x348c22['textAfter'],_0x7a43f5=/^\s*\}/['test'](_0xcead2),_0x1a44e4=/^\s*(case|default)\b/['test'](_0xcead2);return _0x348c22['baseIndent']+(_0x7a43f5?0x0:_0x1a44e4?0x1:0x2)*_0x348c22['unit'];},'Block':_0x15a9ed({'closing':'}'}),'ArrowFunction':_0x54b152=>_0x54b152['baseIndent']+_0x54b152['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_0x82896b({'except':/^\s*{/}),'JSXElement'(_0xea740c){let _0x1e4a77=/^\s*<\//['test'](_0xea740c['textAfter']);return _0xea740c['lineIndent'](_0xea740c['node']['from'])+(_0x1e4a77?0x0:_0xea740c['unit']);},'JSXEscape'(_0x1c07b0){let _0x43e5ce=/\s*\}/['test'](_0x1c07b0['textAfter']);return _0x1c07b0['lineIndent'](_0x1c07b0['node']['from'])+(_0x43e5ce?0x0:_0x1c07b0['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x4c28c2=>_0x4c28c2['column'](_0x4c28c2['node']['from'])+_0x4c28c2['unit']}),_0x522c8b['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x5077c4,'BlockComment':_0x4c6f6b=>({'from':_0x4c6f6b['from']+0x2,'to':_0x4c6f6b['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x3eb718={'test':_0x4874bc=>/^JSX/['test'](_0x4874bc['name']),'facet':_0x1140e9({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},_0x16b445=_0x33b8f0['configure']({'dialect':'ts'},'typescript'),_0x1e9c72=_0x33b8f0['configure']({'dialect':'jsx','props':[_0x40542e['add'](_0x530213=>_0x530213['isTop']?[_0x3eb718]:void 0x0)]}),_0x2b854a=_0x33b8f0['configure']({'dialect':'jsx\x20ts','props':[_0x40542e['add'](_0xd12411=>_0xd12411['isTop']?[_0x3eb718]:void 0x0)]},'typescript');let _0x559997=_0x4cb817=>({'label':_0x4cb817,'type':'keyword'});const _0x2dc836='break\x20case\x20const\x20continue\x20default\x20delete\x20export\x20extends\x20false\x20finally\x20in\x20instanceof\x20let\x20new\x20return\x20static\x20super\x20switch\x20this\x20throw\x20true\x20typeof\x20var\x20yield'['split']('\x20')['map'](_0x559997),tk=_0x2dc836['concat'](['declare','implements','private','protected','public']['map'](_0x559997));function _0x51220c(_0x13eb38={}){let _0x3479e7=_0x13eb38['jsx']?_0x13eb38['typescript']?_0x2b854a:_0x1e9c72:_0x13eb38['typescript']?_0x16b445:_0x33b8f0,_0x3ec1bf=_0x13eb38['typescript']?_0xf2860d['concat'](tk):_0x1213bc['concat'](_0x2dc836);return new LanguageSupport(_0x3479e7,[_0x33b8f0['data']['of']({'autocomplete':(_0x455a03=_0x50f3a9,_0x537d2e=_0x1aaf06(_0x3ec1bf),_0x3f340d=>{for(let _0x22e0c5=tE(_0x3f340d['state'])['resolveInner'](_0x3f340d['pos'],-0x1);_0x22e0c5;_0x22e0c5=_0x22e0c5['parent']){if(_0x455a03['indexOf'](_0x22e0c5['name'])>-0x1)return null;if(_0x22e0c5['type']['isTop'])break;}return _0x537d2e(_0x3f340d);})}),_0x33b8f0['data']['of']({'autocomplete':_0x2f3d6e}),_0x13eb38['jsx']?_0xc64ab6:[]]);var _0x455a03,_0x537d2e;}function _0x507327(_0x1739f7,_0x8cb70b,_0x2924db=_0x1739f7['length']){for(let _0x43ce37=null==_0x8cb70b?void 0x0:_0x8cb70b['firstChild'];_0x43ce37;_0x43ce37=_0x43ce37['nextSibling'])if('JSXIdentifier'==_0x43ce37['name']||'JSXBuiltin'==_0x43ce37['name']||'JSXNamespacedName'==_0x43ce37['name']||'JSXMemberExpression'==_0x43ce37['name'])return _0x1739f7['sliceString'](_0x43ce37['from'],Math['min'](_0x43ce37['to'],_0x2924db));return'';}const _0x56f8f1='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0xc64ab6=EditorView['inputHandler']['of']((_0x47f0cd,_0x580544,_0x29642d,_0x2cb0da,_0x17e313)=>{if((_0x56f8f1?_0x47f0cd['composing']:_0x47f0cd['compositionStarted'])||_0x47f0cd['state']['readOnly']||_0x580544!=_0x29642d||'>'!=_0x2cb0da&&'/'!=_0x2cb0da||!_0x33b8f0['isActiveAt'](_0x47f0cd['state'],_0x580544,-0x1))return!0x1;let _0xaaeb40=_0x17e313(),{state:_0x27b829}=_0xaaeb40,_0x3de104=_0x27b829['changeByRange'](_0x3e16f6=>{var _0x21e278;let _0x2e53b5,{head:_0x277320}=_0x3e16f6,_0x3a55e3=tE(_0x27b829)['resolveInner'](_0x277320-0x1,-0x1);if('JSXStartTag'==_0x3a55e3['name']&&(_0x3a55e3=_0x3a55e3['parent']),_0x27b829['doc']['sliceString'](_0x277320-0x1,_0x277320)!=_0x2cb0da||'JSXAttributeValue'==_0x3a55e3['name']&&_0x3a55e3['to']>_0x277320);else{if('>'==_0x2cb0da&&'JSXFragmentTag'==_0x3a55e3['name'])return{'range':_0x3e16f6,'changes':{'from':_0x277320,'insert':'</>'}};if('/'==_0x2cb0da&&'JSXStartCloseTag'==_0x3a55e3['name']){let _0x541963=_0x3a55e3['parent'],_0x403450=_0x541963['parent'];if(_0x403450&&_0x541963['from']==_0x277320-0x2&&((_0x2e53b5=_0x507327(_0x27b829['doc'],_0x403450['firstChild'],_0x277320))||'JSXFragmentTag'==(null===(_0x21e278=_0x403450['firstChild'])||void 0x0===_0x21e278?void 0x0:_0x21e278['name']))){let _0x23e6dd=_0x2e53b5+'>';return{'range':EditorSelection['cursor'](_0x277320+_0x23e6dd['length'],-0x1),'changes':{'from':_0x277320,'insert':_0x23e6dd}};}}else{if('>'==_0x2cb0da){let _0x50f559=function(_0x217199){for(;;){if('JSXOpenTag'==_0x217199['name']||'JSXSelfClosingTag'==_0x217199['name']||'JSXFragmentTag'==_0x217199['name'])return _0x217199;if('JSXEscape'==_0x217199['name']||!_0x217199['parent'])return null;_0x217199=_0x217199['parent'];}}(_0x3a55e3);if(_0x50f559&&'JSXOpenTag'==_0x50f559['name']&&!/^\/?>|^<\//['test'](_0x27b829['doc']['sliceString'](_0x277320,_0x277320+0x2))&&(_0x2e53b5=_0x507327(_0x27b829['doc'],_0x50f559,_0x277320)))return{'range':_0x3e16f6,'changes':{'from':_0x277320,'insert':'</'+_0x2e53b5+'>'}};}}}return{'range':_0x3e16f6};});return!_0x3de104['changes']['empty']&&(_0x47f0cd['dispatch']([_0xaaeb40,_0x27b829['update'](_0x3de104,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),_0x3b9565=['_blank','_self','_top','_parent'],_0x3b9cbf=['ascii','utf-8','utf-16','latin1','latin1'],_0x226ce6=['get','post','put','delete'],_0x242b41=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x3fe9f3=['true','false'],_0x29c866={},_0x52e117={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':_0x3b9565,'hreflang':null}},'abbr':_0x29c866,'address':_0x29c866,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x29c866,'aside':_0x29c866,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x29c866,'base':{'attrs':{'href':null,'target':_0x3b9565}},'bdi':_0x29c866,'bdo':_0x29c866,'blockquote':{'attrs':{'cite':null}},'body':_0x29c866,'br':_0x29c866,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x242b41,'formmethod':_0x226ce6,'formnovalidate':['novalidate'],'formtarget':_0x3b9565,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x29c866,'center':_0x29c866,'cite':_0x29c866,'code':_0x29c866,'col':{'attrs':{'span':null}},'colgroup':{'attrs':{'span':null}},'command':{'attrs':{'type':['command','checkbox','radio'],'label':null,'icon':null,'radiogroup':null,'command':null,'title':null,'disabled':['disabled'],'checked':['checked']}},'data':{'attrs':{'value':null}},'datagrid':{'attrs':{'disabled':['disabled'],'multiple':['multiple']}},'datalist':{'attrs':{'data':null}},'dd':_0x29c866,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x29c866,'div':_0x29c866,'dl':_0x29c866,'dt':_0x29c866,'em':_0x29c866,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x29c866,'figure':_0x29c866,'footer':_0x29c866,'form':{'attrs':{'action':null,'name':null,'accept-charset':_0x3b9cbf,'autocomplete':['on','off'],'enctype':_0x242b41,'method':_0x226ce6,'novalidate':['novalidate'],'target':_0x3b9565}},'h1':_0x29c866,'h2':_0x29c866,'h3':_0x29c866,'h4':_0x29c866,'h5':_0x29c866,'h6':_0x29c866,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x29c866,'hgroup':_0x29c866,'hr':_0x29c866,'html':{'attrs':{'manifest':null}},'i':_0x29c866,'iframe':{'attrs':{'src':null,'srcdoc':null,'name':null,'width':null,'height':null,'sandbox':['allow-top-navigation','allow-same-origin','allow-forms','allow-scripts'],'seamless':['seamless']}},'img':{'attrs':{'alt':null,'src':null,'ismap':null,'usemap':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials']}},'input':{'attrs':{'alt':null,'dirname':null,'form':null,'formaction':null,'height':null,'list':null,'max':null,'maxlength':null,'min':null,'name':null,'pattern':null,'placeholder':null,'size':null,'src':null,'step':null,'value':null,'width':null,'accept':['audio/*','video/*','image/*'],'autocomplete':['on','off'],'autofocus':['autofocus'],'checked':['checked'],'disabled':['disabled'],'formenctype':_0x242b41,'formmethod':_0x226ce6,'formnovalidate':['novalidate'],'formtarget':_0x3b9565,'multiple':['multiple'],'readonly':['readonly'],'required':['required'],'type':['hidden','text','search','tel','url','email','password','datetime','date','month','week','time','datetime-local','number','range','color','checkbox','radio','file','submit','image','reset','button']}},'ins':{'attrs':{'cite':null,'datetime':null}},'kbd':_0x29c866,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x29c866,'li':{'attrs':{'value':null}},'link':{'attrs':{'href':null,'type':null,'hreflang':null,'media':null,'sizes':['all','16x16','16x16\x2032x32','16x16\x2032x32\x2064x64']}},'map':{'attrs':{'name':null}},'mark':_0x29c866,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':_0x3b9cbf,'name':['viewport','application-name','author','description','generator','keywords'],'http-equiv':['content-language','content-type','default-style','refresh']}},'meter':{'attrs':{'value':null,'min':null,'low':null,'high':null,'max':null,'optimum':null}},'nav':_0x29c866,'noscript':_0x29c866,'object':{'attrs':{'data':null,'type':null,'name':null,'usemap':null,'form':null,'width':null,'height':null,'typemustmatch':['typemustmatch']}},'ol':{'attrs':{'reversed':['reversed'],'start':null,'type':['1','a','A','i','I']},'children':['li','script','template','ul','ol']},'optgroup':{'attrs':{'disabled':['disabled'],'label':null}},'option':{'attrs':{'disabled':['disabled'],'label':null,'selected':['selected'],'value':null}},'output':{'attrs':{'for':null,'form':null,'name':null}},'p':_0x29c866,'param':{'attrs':{'name':null,'value':null}},'pre':_0x29c866,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x29c866,'rt':_0x29c866,'ruby':_0x29c866,'samp':_0x29c866,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':_0x3b9cbf}},'section':_0x29c866,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x29c866,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x29c866,'strong':_0x29c866,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x29c866,'summary':_0x29c866,'sup':_0x29c866,'table':_0x29c866,'tbody':_0x29c866,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x29c866,'textarea':{'attrs':{'dirname':null,'form':null,'maxlength':null,'name':null,'placeholder':null,'rows':null,'cols':null,'autofocus':['autofocus'],'disabled':['disabled'],'readonly':['readonly'],'required':['required'],'wrap':['soft','hard']}},'tfoot':_0x29c866,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x29c866,'time':{'attrs':{'datetime':null}},'title':_0x29c866,'tr':_0x29c866,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x29c866,'video':{'attrs':{'src':null,'poster':null,'width':null,'height':null,'crossorigin':['anonymous','use-credentials'],'preload':['auto','metadata','none'],'autoplay':['autoplay'],'mediagroup':['movie'],'muted':['muted'],'controls':['controls']}},'wbr':_0x29c866},_0x52ea79={'accesskey':null,'class':null,'contenteditable':_0x3fe9f3,'contextmenu':null,'dir':['ltr','rtl','auto'],'draggable':['true','false','auto'],'dropzone':['copy','move','link','string:','file:'],'hidden':['hidden'],'id':null,'inert':['inert'],'itemid':null,'itemprop':null,'itemref':null,'itemscope':['itemscope'],'itemtype':null,'lang':['ar','bn','de','en-GB','en-US','es','fr','hi','id','ja','pa','pt','ru','tr','zh'],'spellcheck':_0x3fe9f3,'autocorrect':_0x3fe9f3,'autocapitalize':_0x3fe9f3,'style':null,'tabindex':null,'title':null,'translate':['yes','no'],'rel':['stylesheet','alternate','author','bookmark','help','license','next','nofollow','noreferrer','prefetch','prev','search','tag'],'role':'alert\x20application\x20article\x20banner\x20button\x20cell\x20checkbox\x20complementary\x20contentinfo\x20dialog\x20document\x20feed\x20figure\x20form\x20grid\x20gridcell\x20heading\x20img\x20list\x20listbox\x20listitem\x20main\x20navigation\x20region\x20row\x20rowgroup\x20search\x20switch\x20tab\x20table\x20tabpanel\x20textbox\x20timer'['split']('\x20'),'aria-activedescendant':null,'aria-atomic':_0x3fe9f3,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x3fe9f3,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x3fe9f3,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x3fe9f3,'aria-hidden':_0x3fe9f3,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x3fe9f3,'aria-multiselectable':_0x3fe9f3,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x3fe9f3,'aria-relevant':null,'aria-required':_0x3fe9f3,'aria-selected':['true','false','undefined'],'aria-setsize':null,'aria-sort':['ascending','descending','none','other'],'aria-valuemax':null,'aria-valuemin':null,'aria-valuenow':null,'aria-valuetext':null},_0x242ee4='beforeunload\x20copy\x20cut\x20dragstart\x20dragover\x20dragleave\x20dragenter\x20dragend\x20drag\x20paste\x20focus\x20blur\x20change\x20click\x20load\x20mousedown\x20mouseenter\x20mouseleave\x20mouseup\x20keydown\x20keyup\x20resize\x20scroll\x20unload'['split']('\x20')['map'](_0x3cab1f=>'on'+_0x3cab1f);for(let _0x33612b of _0x242ee4)_0x52ea79[_0x33612b]=null;class _0xb67832{constructor(_0x571de4,_0x41e349){this['tags']={..._0x52e117,..._0x571de4},this['globalAttrs']={..._0x52ea79,..._0x41e349},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function _0x311b3b(_0xda59c9,_0x85bf18,_0x7c85f0=_0xda59c9['length']){if(!_0x85bf18)return'';let _0x3c29d4=_0x85bf18['firstChild'],_0x20304c=_0x3c29d4&&_0x3c29d4['getChild']('TagName');return _0x20304c?_0xda59c9['sliceString'](_0x20304c['from'],Math['min'](_0x20304c['to'],_0x7c85f0)):'';}function _0x5e7cab(_0xa04c74,_0x156601=!0x1){for(;_0xa04c74;_0xa04c74=_0xa04c74['parent'])if('Element'==_0xa04c74['name']){if(!_0x156601)return _0xa04c74;_0x156601=!0x1;}return null;}function _0x4637f1(_0x411224,_0x9463d9,_0x3dd4ab){let _0x40d116=_0x3dd4ab['tags'][_0x311b3b(_0x411224,_0x5e7cab(_0x9463d9))];return(null==_0x40d116?void 0x0:_0x40d116['children'])||_0x3dd4ab['allTags'];}function _0x471e6d(_0x58f1cd,_0x143ea6){let _0x27ce9c=[];for(let _0x52dfae=_0x5e7cab(_0x143ea6);_0x52dfae&&!_0x52dfae['type']['isTop'];_0x52dfae=_0x5e7cab(_0x52dfae['parent'])){let _0x44f7e9=_0x311b3b(_0x58f1cd,_0x52dfae);if(_0x44f7e9&&'CloseTag'==_0x52dfae['lastChild']['name'])break;_0x44f7e9&&_0x27ce9c['indexOf'](_0x44f7e9)<0x0&&('EndTag'==_0x143ea6['name']||_0x143ea6['from']>=_0x52dfae['firstChild']['to'])&&_0x27ce9c['push'](_0x44f7e9);}return _0x27ce9c;}_0xb67832['default']=new _0xb67832();const _0x455bc2=/^[:\-\.\w\u00b7-\uffff]*$/;function _0x195007(_0x233306,_0x2e6af9,_0x26203d,_0x1ee010,_0x32cffd){let _0x2e6f1d=/\s*>/['test'](_0x233306['sliceDoc'](_0x32cffd,_0x32cffd+0x5))?'':'>',_0x36307c=_0x5e7cab(_0x26203d,'StartTag'==_0x26203d['name']||'TagName'==_0x26203d['name']);return{'from':_0x1ee010,'to':_0x32cffd,'options':_0x4637f1(_0x233306['doc'],_0x36307c,_0x2e6af9)['map'](_0x28eace=>({'label':_0x28eace,'type':'type'}))['concat'](_0x471e6d(_0x233306['doc'],_0x26203d)['map']((_0x4120b6,_0xfdeb12)=>({'label':'/'+_0x4120b6,'apply':'/'+_0x4120b6+_0x2e6f1d,'type':'type','boost':0x63-_0xfdeb12}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function _0x807a54(_0x386261,_0x416eb7,_0x4c8a74,_0x36b1a7){let _0xcdd7ba=/\s*>/['test'](_0x386261['sliceDoc'](_0x36b1a7,_0x36b1a7+0x5))?'':'>';return{'from':_0x4c8a74,'to':_0x36b1a7,'options':_0x471e6d(_0x386261['doc'],_0x416eb7)['map']((_0x61459b,_0x2c5da7)=>({'label':_0x61459b,'apply':_0x61459b+_0xcdd7ba,'type':'type','boost':0x63-_0x2c5da7})),'validFor':_0x455bc2};}function _0x1dca39(_0x4143fa,_0x41cad9){let {state:_0x2d4a0d,pos:_0x4f9ef5}=_0x41cad9,_0x295344=tE(_0x2d4a0d)['resolveInner'](_0x4f9ef5,-0x1),_0x438d5a=_0x295344['resolve'](_0x4f9ef5);for(let _0x264be5,_0x16d8e3=_0x4f9ef5;_0x438d5a==_0x295344&&(_0x264be5=_0x295344['childBefore'](_0x16d8e3));){let _0x565c93=_0x264be5['lastChild'];if(!_0x565c93||!_0x565c93['type']['isError']||_0x565c93['from']<_0x565c93['to'])break;_0x438d5a=_0x295344=_0x264be5,_0x16d8e3=_0x565c93['from'];}return'TagName'==_0x295344['name']?_0x295344['parent']&&/CloseTag$/['test'](_0x295344['parent']['name'])?_0x807a54(_0x2d4a0d,_0x295344,_0x295344['from'],_0x4f9ef5):_0x195007(_0x2d4a0d,_0x4143fa,_0x295344,_0x295344['from'],_0x4f9ef5):'StartTag'==_0x295344['name']||'IncompleteTag'==_0x295344['name']?_0x195007(_0x2d4a0d,_0x4143fa,_0x295344,_0x4f9ef5,_0x4f9ef5):'StartCloseTag'==_0x295344['name']||'IncompleteCloseTag'==_0x295344['name']?_0x807a54(_0x2d4a0d,_0x295344,_0x4f9ef5,_0x4f9ef5):'OpenTag'==_0x295344['name']||'SelfClosingTag'==_0x295344['name']||'AttributeName'==_0x295344['name']?function(_0x5cec07,_0x130665,_0x26ec90,_0x27136d,_0x2c032d){let _0x39d949=_0x5e7cab(_0x26ec90),_0x562886=_0x39d949?_0x130665['tags'][_0x311b3b(_0x5cec07['doc'],_0x39d949)]:null,_0x5700eb=_0x562886&&_0x562886['attrs']?Object['keys'](_0x562886['attrs']):[];return{'from':_0x27136d,'to':_0x2c032d,'options':(_0x562886&&!0x1===_0x562886['globalAttrs']?_0x5700eb:_0x5700eb['length']?_0x5700eb['concat'](_0x130665['globalAttrNames']):_0x130665['globalAttrNames'])['map'](_0x504ff8=>({'label':_0x504ff8,'type':'property'})),'validFor':_0x455bc2};}(_0x2d4a0d,_0x4143fa,_0x295344,'AttributeName'==_0x295344['name']?_0x295344['from']:_0x4f9ef5,_0x4f9ef5):'Is'==_0x295344['name']||'AttributeValue'==_0x295344['name']||'UnquotedAttributeValue'==_0x295344['name']?function(_0x1ccf8b,_0xaa6dc6,_0x5ef582,_0x2d379d,_0x34ae34){var _0x2a6dd2;let _0x146576,_0xc41d53=null===(_0x2a6dd2=_0x5ef582['parent'])||void 0x0===_0x2a6dd2?void 0x0:_0x2a6dd2['getChild']('AttributeName'),_0x5a7b0a=[];if(_0xc41d53){let _0x3845fa=_0x1ccf8b['sliceDoc'](_0xc41d53['from'],_0xc41d53['to']),_0x54b582=_0xaa6dc6['globalAttrs'][_0x3845fa];if(!_0x54b582){let _0x37a7d5=_0x5e7cab(_0x5ef582),_0x52b4dc=_0x37a7d5?_0xaa6dc6['tags'][_0x311b3b(_0x1ccf8b['doc'],_0x37a7d5)]:null;_0x54b582=(null==_0x52b4dc?void 0x0:_0x52b4dc['attrs'])&&_0x52b4dc['attrs'][_0x3845fa];}if(_0x54b582){let _0x108c22=_0x1ccf8b['sliceDoc'](_0x2d379d,_0x34ae34)['toLowerCase'](),_0x5a813a='\x22',_0x391180='\x22';/^['"]/['test'](_0x108c22)?(_0x146576='\x22'==_0x108c22[0x0]?/^[^"]*$/:/^[^']*$/,_0x5a813a='',_0x391180=_0x1ccf8b['sliceDoc'](_0x34ae34,_0x34ae34+0x1)==_0x108c22[0x0]?'':_0x108c22[0x0],_0x108c22=_0x108c22['slice'](0x1),_0x2d379d++):_0x146576=/^[^\s<>='"]*$/;for(let _0x3f9716 of _0x54b582)_0x5a7b0a['push']({'label':_0x3f9716,'apply':_0x5a813a+_0x3f9716+_0x391180,'type':'constant'});}}return{'from':_0x2d379d,'to':_0x34ae34,'options':_0x5a7b0a,'validFor':_0x146576};}(_0x2d4a0d,_0x4143fa,_0x295344,'Is'==_0x295344['name']?_0x4f9ef5:_0x295344['from'],_0x4f9ef5):!_0x41cad9['explicit']||'Element'!=_0x438d5a['name']&&'Text'!=_0x438d5a['name']&&'Document'!=_0x438d5a['name']?null:function(_0x459aca,_0x48c2ef,_0x169a50,_0xe35314){let _0x1fd769=[],_0x4d1139=0x0;for(let _0x54d3f9 of _0x4637f1(_0x459aca['doc'],_0x169a50,_0x48c2ef))_0x1fd769['push']({'label':'<'+_0x54d3f9,'type':'type'});for(let _0x564e3c of _0x471e6d(_0x459aca['doc'],_0x169a50))_0x1fd769['push']({'label':'</'+_0x564e3c+'>','type':'type','boost':0x63-_0x4d1139++});return{'from':_0xe35314,'to':_0xe35314,'options':_0x1fd769,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x2d4a0d,_0x4143fa,_0x295344,_0x4f9ef5);}function _0x2dddcb(_0xe78bf){let {extraTags:_0x31f646,extraGlobalAttributes:_0x42d60d}=_0xe78bf,_0x56a908=_0x42d60d||_0x31f646?new _0xb67832(_0x31f646,_0x42d60d):_0xb67832['default'];return _0x2eb4d5=>_0x1dca39(_0x56a908,_0x2eb4d5);}const _0x401055=_0x33b8f0['parser']['configure']({'top':'SingleExpression'}),_0x2bc724=[{'tag':'script','attrs':_0x1d4c87=>'text/typescript'==_0x1d4c87['type']||'ts'==_0x1d4c87['lang'],'parser':_0x16b445['parser']},{'tag':'script','attrs':_0x19248b=>'text/babel'==_0x19248b['type']||'text/jsx'==_0x19248b['type'],'parser':_0x1e9c72['parser']},{'tag':'script','attrs':_0x269e8e=>'text/typescript-jsx'==_0x269e8e['type'],'parser':_0x2b854a['parser']},{'tag':'script','attrs':_0x706269=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x706269['type']),'parser':_0x401055},{'tag':'script','attrs':_0x445b0c=>!_0x445b0c['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x445b0c['type']),'parser':_0x33b8f0['parser']},{'tag':'style','attrs':_0x59b042=>(!_0x59b042['lang']||'css'==_0x59b042['lang'])&&(!_0x59b042['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x59b042['type'])),'parser':_0x57d761['parser']}],_0x2a4ff2=[{'name':'style','parser':_0x57d761['parser']['configure']({'top':'Styles'})}]['concat'](_0x242ee4['map'](_0x550ee0=>({'name':_0x550ee0,'parser':_0x33b8f0['parser']}))),_0x11cb1c=_0x4f1a26['define']({'name':'html','parser':_0x1d8bae['configure']({'props':[_0x417a5d['add']({'Element'(_0x3b4885){let _0x11b53c=/^(\s*)(<\/)?/['exec'](_0x3b4885['textAfter']);return _0x3b4885['node']['to']<=_0x3b4885['pos']+_0x11b53c[0x0]['length']?_0x3b4885['continue']():_0x3b4885['lineIndent'](_0x3b4885['node']['from'])+(_0x11b53c[0x2]?0x0:_0x3b4885['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0xf2f720=>_0xf2f720['column'](_0xf2f720['node']['from'])+_0xf2f720['unit'],'Document'(_0x63f7e8){if(_0x63f7e8['pos']+/\s*/['exec'](_0x63f7e8['textAfter'])[0x0]['length']<_0x63f7e8['node']['to'])return _0x63f7e8['continue']();let _0xec4a3d,_0x3a4f32=null;for(let _0x3c5301=_0x63f7e8['node'];;){let _0x3913aa=_0x3c5301['lastChild'];if(!_0x3913aa||'Element'!=_0x3913aa['name']||_0x3913aa['to']!=_0x3c5301['to'])break;_0x3a4f32=_0x3c5301=_0x3913aa;}return _0x3a4f32&&(!(_0xec4a3d=_0x3a4f32['lastChild'])||'CloseTag'!=_0xec4a3d['name']&&'SelfClosingTag'!=_0xec4a3d['name'])?_0x63f7e8['lineIndent'](_0x3a4f32['from'])+_0x63f7e8['unit']:null;}}),_0x522c8b['add']({'Element'(_0x40d0ee){let _0x4cbe7d=_0x40d0ee['firstChild'],_0x1ceec3=_0x40d0ee['lastChild'];return _0x4cbe7d&&'OpenTag'==_0x4cbe7d['name']?{'from':_0x4cbe7d['to'],'to':'CloseTag'==_0x1ceec3['name']?_0x1ceec3['from']:_0x40d0ee['to']}:null;}}),_0x1a28a7['add']({'OpenTag\x20CloseTag':_0x4d33f6=>_0x4d33f6['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),_0x2216f5=_0x11cb1c['configure']({'wrap':_0x373ac6(_0x2bc724,_0x2a4ff2)});function _0x15e2ca(_0x2a6718={}){let _0xf0c13b,_0x100a30='';!0x1===_0x2a6718['matchClosingTags']&&(_0x100a30='noMatch'),!0x0===_0x2a6718['selfClosingTags']&&(_0x100a30=(_0x100a30?_0x100a30+'\x20':'')+'selfClosing'),(_0x2a6718['nestedLanguages']&&_0x2a6718['nestedLanguages']['length']||_0x2a6718['nestedAttributes']&&_0x2a6718['nestedAttributes']['length'])&&(_0xf0c13b=_0x373ac6((_0x2a6718['nestedLanguages']||[])['concat'](_0x2bc724),(_0x2a6718['nestedAttributes']||[])['concat'](_0x2a4ff2)));let _0x581d85=_0xf0c13b?_0x11cb1c['configure']({'wrap':_0xf0c13b,'dialect':_0x100a30}):_0x100a30?_0x2216f5['configure']({'dialect':_0x100a30}):_0x2216f5;return new LanguageSupport(_0x581d85,[_0x2216f5['data']['of']({'autocomplete':_0x2dddcb(_0x2a6718)}),!0x1!==_0x2a6718['autoCloseTags']?_0x4a3bfa:[],_0x51220c()['support'],new LanguageSupport(_0x57d761,_0x57d761['data']['of']({'autocomplete':_0x10bb4c}))['support']]);}const _0x11cf69=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),_0x4a3bfa=EditorView['inputHandler']['of']((_0x52c172,_0x36917b,_0x1b5132,_0x170509,_0x393901)=>{if(_0x52c172['composing']||_0x52c172['state']['readOnly']||_0x36917b!=_0x1b5132||'>'!=_0x170509&&'/'!=_0x170509||!_0x2216f5['isActiveAt'](_0x52c172['state'],_0x36917b,-0x1))return!0x1;let _0x27d160=_0x393901(),{state:_0x5ecba5}=_0x27d160,_0x59e986=_0x5ecba5['changeByRange'](_0x5530cc=>{var _0x28a122,_0x1e2eab,_0x1c892b;let _0x2d944a,_0x53df17=_0x5ecba5['doc']['sliceString'](_0x5530cc['from']-0x1,_0x5530cc['to'])==_0x170509,{head:_0x1494e5}=_0x5530cc,_0x128b45=tE(_0x5ecba5)['resolveInner'](_0x1494e5,-0x1);if(_0x53df17&&'>'==_0x170509&&'EndTag'==_0x128b45['name']){let _0x163063=_0x128b45['parent'];if('CloseTag'!=(null===(_0x1e2eab=null===(_0x28a122=_0x163063['parent'])||void 0x0===_0x28a122?void 0x0:_0x28a122['lastChild'])||void 0x0===_0x1e2eab?void 0x0:_0x1e2eab['name'])&&(_0x2d944a=_0x311b3b(_0x5ecba5['doc'],_0x163063['parent'],_0x1494e5))&&!_0x11cf69['has'](_0x2d944a))return{'range':_0x5530cc,'changes':{'from':_0x1494e5,'to':_0x1494e5+('>'===_0x5ecba5['doc']['sliceString'](_0x1494e5,_0x1494e5+0x1)?0x1:0x0),'insert':'</'+_0x2d944a+'>'}};}else{if(_0x53df17&&'/'==_0x170509&&'IncompleteCloseTag'==_0x128b45['name']){let _0x4e362a=_0x128b45['parent'];if(_0x128b45['from']==_0x1494e5-0x2&&'CloseTag'!=(null===(_0x1c892b=_0x4e362a['lastChild'])||void 0x0===_0x1c892b?void 0x0:_0x1c892b['name'])&&(_0x2d944a=_0x311b3b(_0x5ecba5['doc'],_0x4e362a,_0x1494e5))&&!_0x11cf69['has'](_0x2d944a)){let _0x1ad356=_0x1494e5+('>'===_0x5ecba5['doc']['sliceString'](_0x1494e5,_0x1494e5+0x1)?0x1:0x0),_0x30118b=_0x2d944a+'>';return{'range':EditorSelection['cursor'](_0x1494e5+_0x30118b['length'],-0x1),'changes':{'from':_0x1494e5,'to':_0x1ad356,'insert':_0x30118b}};}}}return{'range':_0x5530cc};});return!_0x59e986['changes']['empty']&&(_0x52c172['dispatch']([_0x27d160,_0x5ecba5['update'](_0x59e986,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x43e352,_0x442320,_0x28e2bb,_0x8c0b7,_0x2dcea9){return new CompositeBlock(_0x43e352,_0x442320,_0x28e2bb,_0x8c0b7+(_0x8c0b7<<0x8)+_0x43e352+(_0x442320<<0x4)|0x0,_0x2dcea9,[],[]);}constructor(_0x15a872,_0x3197c4,_0x499473,_0x3b5987,_0x595187,_0x2d523a,_0x30aaac){this['type']=_0x15a872,this['value']=_0x3197c4,this['from']=_0x499473,this['hash']=_0x3b5987,this['end']=_0x595187,this['children']=_0x2d523a,this['positions']=_0x30aaac,this['hashProp']=[[_0x326db3['contextHash'],_0x3b5987]];}['addChild'](_0x10dc56,_0x4296a8){_0x10dc56['prop'](_0x326db3['contextHash'])!=this['hash']&&(_0x10dc56=new _0x54a715(_0x10dc56['type'],_0x10dc56['children'],_0x10dc56['positions'],_0x10dc56['length'],this['hashProp'])),this['children']['push'](_0x10dc56),this['positions']['push'](_0x4296a8);}['toTree'](_0x16cd4c,_0x291fbb=this['end']){let _0x4c14c7=this['children']['length']-0x1;return _0x4c14c7>=0x0&&(_0x291fbb=Math['max'](_0x291fbb,this['positions'][_0x4c14c7]+this['children'][_0x4c14c7]['length']+this['from'])),new _0x54a715(_0x16cd4c['types'][this['type']],this['children'],this['positions'],_0x291fbb-this['from'])['balance']({'makeTree':(_0x49717e,_0x23c5b8,_0x38c3c2)=>new _0x54a715(_0x76b5bd['none'],_0x49717e,_0x23c5b8,_0x38c3c2,this['hashProp'])});}}var _0x29b4eb;!function(_0x3ca376){_0x3ca376[_0x3ca376['Document']=0x1]='Document',_0x3ca376[_0x3ca376['CodeBlock']=0x2]='CodeBlock',_0x3ca376[_0x3ca376['FencedCode']=0x3]='FencedCode',_0x3ca376[_0x3ca376['Blockquote']=0x4]='Blockquote',_0x3ca376[_0x3ca376['HorizontalRule']=0x5]='HorizontalRule',_0x3ca376[_0x3ca376['BulletList']=0x6]='BulletList',_0x3ca376[_0x3ca376['OrderedList']=0x7]='OrderedList',_0x3ca376[_0x3ca376['ListItem']=0x8]='ListItem',_0x3ca376[_0x3ca376['ATXHeading1']=0x9]='ATXHeading1',_0x3ca376[_0x3ca376['ATXHeading2']=0xa]='ATXHeading2',_0x3ca376[_0x3ca376['ATXHeading3']=0xb]='ATXHeading3',_0x3ca376[_0x3ca376['ATXHeading4']=0xc]='ATXHeading4',_0x3ca376[_0x3ca376['ATXHeading5']=0xd]='ATXHeading5',_0x3ca376[_0x3ca376['ATXHeading6']=0xe]='ATXHeading6',_0x3ca376[_0x3ca376['SetextHeading1']=0xf]='SetextHeading1',_0x3ca376[_0x3ca376['SetextHeading2']=0x10]='SetextHeading2',_0x3ca376[_0x3ca376['HTMLBlock']=0x11]='HTMLBlock',_0x3ca376[_0x3ca376['LinkReference']=0x12]='LinkReference',_0x3ca376[_0x3ca376['Paragraph']=0x13]='Paragraph',_0x3ca376[_0x3ca376['CommentBlock']=0x14]='CommentBlock',_0x3ca376[_0x3ca376['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x3ca376[_0x3ca376['Escape']=0x16]='Escape',_0x3ca376[_0x3ca376['Entity']=0x17]='Entity',_0x3ca376[_0x3ca376['HardBreak']=0x18]='HardBreak',_0x3ca376[_0x3ca376['Emphasis']=0x19]='Emphasis',_0x3ca376[_0x3ca376['StrongEmphasis']=0x1a]='StrongEmphasis',_0x3ca376[_0x3ca376['Link']=0x1b]='Link',_0x3ca376[_0x3ca376['Image']=0x1c]='Image',_0x3ca376[_0x3ca376['InlineCode']=0x1d]='InlineCode',_0x3ca376[_0x3ca376['HTMLTag']=0x1e]='HTMLTag',_0x3ca376[_0x3ca376['Comment']=0x1f]='Comment',_0x3ca376[_0x3ca376['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x3ca376[_0x3ca376['Autolink']=0x21]='Autolink',_0x3ca376[_0x3ca376['HeaderMark']=0x22]='HeaderMark',_0x3ca376[_0x3ca376['QuoteMark']=0x23]='QuoteMark',_0x3ca376[_0x3ca376['ListMark']=0x24]='ListMark',_0x3ca376[_0x3ca376['LinkMark']=0x25]='LinkMark',_0x3ca376[_0x3ca376['EmphasisMark']=0x26]='EmphasisMark',_0x3ca376[_0x3ca376['CodeMark']=0x27]='CodeMark',_0x3ca376[_0x3ca376['CodeText']=0x28]='CodeText',_0x3ca376[_0x3ca376['CodeInfo']=0x29]='CodeInfo',_0x3ca376[_0x3ca376['LinkTitle']=0x2a]='LinkTitle',_0x3ca376[_0x3ca376['LinkLabel']=0x2b]='LinkLabel',_0x3ca376[_0x3ca376['URL']=0x2c]='URL';}(_0x29b4eb||(_0x29b4eb={}));class _0x32edde{constructor(_0x39d954,_0x3d6198){this['start']=_0x39d954,this['content']=_0x3d6198,this['marks']=[],this['parsers']=[];}}class _0xb2bf44{constructor(){this['text']='',this['baseIndent']=0x0,this['basePos']=0x0,this['depth']=0x0,this['markers']=[],this['pos']=0x0,this['indent']=0x0,this['next']=-0x1;}['forward'](){this['basePos']>this['pos']&&this['forwardInner']();}['forwardInner'](){let _0x21555f=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x21555f,this['pos'],this['indent']),this['pos']=_0x21555f,this['next']=_0x21555f==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x21555f);}['skipSpace'](_0x3fca7e){return _0xc9e2c8(this['text'],_0x3fca7e);}['reset'](_0x1dd59c){for(this['text']=_0x1dd59c,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x3dbee8){this['basePos']=_0x3dbee8,this['baseIndent']=this['countIndent'](_0x3dbee8,this['pos'],this['indent']);}['moveBaseColumn'](_0x53099a){this['baseIndent']=_0x53099a,this['basePos']=this['findColumn'](_0x53099a);}['addMarker'](_0x570ad7){this['markers']['push'](_0x570ad7);}['countIndent'](_0x1d2811,_0x16ddd6=0x0,_0x5a5d20=0x0){for(let _0x4c268e=_0x16ddd6;_0x4c268e<_0x1d2811;_0x4c268e++)_0x5a5d20+=0x9==this['text']['charCodeAt'](_0x4c268e)?0x4-_0x5a5d20%0x4:0x1;return _0x5a5d20;}['findColumn'](_0x5af1f){let _0x2e9d03=0x0;for(let _0x10f041=0x0;_0x2e9d03<this['text']['length']&&_0x10f041<_0x5af1f;_0x2e9d03++)_0x10f041+=0x9==this['text']['charCodeAt'](_0x2e9d03)?0x4-_0x10f041%0x4:0x1;return _0x2e9d03;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x49c666='';for(let _0x58976e=0x0;_0x58976e<this['basePos'];_0x58976e++)_0x49c666+='\x20';return _0x49c666+this['text']['slice'](this['basePos']);}}function _0x89fb63(_0x3d664b,_0x427c96,_0x1b73fa){if(_0x1b73fa['pos']==_0x1b73fa['text']['length']||_0x3d664b!=_0x427c96['block']&&_0x1b73fa['indent']>=_0x427c96['stack'][_0x1b73fa['depth']+0x1]['value']+_0x1b73fa['baseIndent'])return!0x0;if(_0x1b73fa['indent']>=_0x1b73fa['baseIndent']+0x4)return!0x1;let _0x16398a=(_0x3d664b['type']==_0x29b4eb['OrderedList']?_0x46b75a:_0x510d81)(_0x1b73fa,_0x427c96,!0x1);return _0x16398a>0x0&&(_0x3d664b['type']!=_0x29b4eb['BulletList']||_0x31ba72(_0x1b73fa,_0x427c96,!0x1)<0x0)&&_0x1b73fa['text']['charCodeAt'](_0x1b73fa['pos']+_0x16398a-0x1)==_0x3d664b['value'];}const _0x3d7426={[_0x29b4eb['Blockquote']]:(_0x5a095c,_0x34ee8a,_0x21e553)=>0x3e==_0x21e553['next']&&(_0x21e553['markers']['push'](_0x91de17(_0x29b4eb['QuoteMark'],_0x34ee8a['lineStart']+_0x21e553['pos'],_0x34ee8a['lineStart']+_0x21e553['pos']+0x1)),_0x21e553['moveBase'](_0x21e553['pos']+(_0x422f17(_0x21e553['text']['charCodeAt'](_0x21e553['pos']+0x1))?0x2:0x1)),_0x5a095c['end']=_0x34ee8a['lineStart']+_0x21e553['text']['length'],!0x0),[_0x29b4eb['ListItem']]:(_0x5c3fd2,_0x3aefba,_0xd8cd49)=>!(_0xd8cd49['indent']<_0xd8cd49['baseIndent']+_0x5c3fd2['value']&&_0xd8cd49['next']>-0x1)&&(_0xd8cd49['moveBaseColumn'](_0xd8cd49['baseIndent']+_0x5c3fd2['value']),!0x0),[_0x29b4eb['OrderedList']]:_0x89fb63,[_0x29b4eb['BulletList']]:_0x89fb63,[_0x29b4eb['Document']]:()=>!0x0};function _0x422f17(_0x1f33b5){return 0x20==_0x1f33b5||0x9==_0x1f33b5||0xa==_0x1f33b5||0xd==_0x1f33b5;}function _0xc9e2c8(_0x1ea065,_0x20af83=0x0){for(;_0x20af83<_0x1ea065['length']&&_0x422f17(_0x1ea065['charCodeAt'](_0x20af83));)_0x20af83++;return _0x20af83;}function _0x2e1c80(_0x391010,_0x57f4fb,_0x4e987b){for(;_0x57f4fb>_0x4e987b&&_0x422f17(_0x391010['charCodeAt'](_0x57f4fb-0x1));)_0x57f4fb--;return _0x57f4fb;}function _0x44cb51(_0x3fa666){if(0x60!=_0x3fa666['next']&&0x7e!=_0x3fa666['next'])return-0x1;let _0x275a14=_0x3fa666['pos']+0x1;for(;_0x275a14<_0x3fa666['text']['length']&&_0x3fa666['text']['charCodeAt'](_0x275a14)==_0x3fa666['next'];)_0x275a14++;if(_0x275a14<_0x3fa666['pos']+0x3)return-0x1;if(0x60==_0x3fa666['next']){for(let _0x592de3=_0x275a14;_0x592de3<_0x3fa666['text']['length'];_0x592de3++)if(0x60==_0x3fa666['text']['charCodeAt'](_0x592de3))return-0x1;}return _0x275a14;}function _0xd1d7ee(_0x541990){return 0x3e!=_0x541990['next']?-0x1:0x20==_0x541990['text']['charCodeAt'](_0x541990['pos']+0x1)?0x2:0x1;}function _0x31ba72(_0x3e2d6d,_0xebef57,_0xd8c0bc){if(0x2a!=_0x3e2d6d['next']&&0x2d!=_0x3e2d6d['next']&&0x5f!=_0x3e2d6d['next'])return-0x1;let _0x5d843d=0x1;for(let _0xca287e=_0x3e2d6d['pos']+0x1;_0xca287e<_0x3e2d6d['text']['length'];_0xca287e++){let _0xdd3e1c=_0x3e2d6d['text']['charCodeAt'](_0xca287e);if(_0xdd3e1c==_0x3e2d6d['next'])_0x5d843d++;else{if(!_0x422f17(_0xdd3e1c))return-0x1;}}return _0xd8c0bc&&0x2d==_0x3e2d6d['next']&&_0x333695(_0x3e2d6d)>-0x1&&_0x3e2d6d['depth']==_0xebef57['stack']['length']&&_0xebef57['parser']['leafBlockParsers']['indexOf'](tx['SetextHeading'])>-0x1||_0x5d843d<0x3?-0x1:0x1;}function _0x5b4365(_0x15e979,_0x430374){for(let _0x22e6bb=_0x15e979['stack']['length']-0x1;_0x22e6bb>=0x0;_0x22e6bb--)if(_0x15e979['stack'][_0x22e6bb]['type']==_0x430374)return!0x0;return!0x1;}function _0x510d81(_0x38d4ae,_0x35bc98,_0x1f9b10){return 0x2d!=_0x38d4ae['next']&&0x2b!=_0x38d4ae['next']&&0x2a!=_0x38d4ae['next']||_0x38d4ae['pos']!=_0x38d4ae['text']['length']-0x1&&!_0x422f17(_0x38d4ae['text']['charCodeAt'](_0x38d4ae['pos']+0x1))||!(!_0x1f9b10||_0x5b4365(_0x35bc98,_0x29b4eb['BulletList'])||_0x38d4ae['skipSpace'](_0x38d4ae['pos']+0x2)<_0x38d4ae['text']['length'])?-0x1:0x1;}function _0x46b75a(_0x5c0e7e,_0x2fcb24,_0x5cd6e0){let _0x57f9fe=_0x5c0e7e['pos'],_0x1c2f08=_0x5c0e7e['next'];for(;_0x1c2f08>=0x30&&_0x1c2f08<=0x39;){if(_0x57f9fe++,_0x57f9fe==_0x5c0e7e['text']['length'])return-0x1;_0x1c2f08=_0x5c0e7e['text']['charCodeAt'](_0x57f9fe);}return _0x57f9fe==_0x5c0e7e['pos']||_0x57f9fe>_0x5c0e7e['pos']+0x9||0x2e!=_0x1c2f08&&0x29!=_0x1c2f08||_0x57f9fe<_0x5c0e7e['text']['length']-0x1&&!_0x422f17(_0x5c0e7e['text']['charCodeAt'](_0x57f9fe+0x1))||_0x5cd6e0&&!_0x5b4365(_0x2fcb24,_0x29b4eb['OrderedList'])&&(_0x5c0e7e['skipSpace'](_0x57f9fe+0x1)==_0x5c0e7e['text']['length']||_0x57f9fe>_0x5c0e7e['pos']+0x1||0x31!=_0x5c0e7e['next'])?-0x1:_0x57f9fe+0x1-_0x5c0e7e['pos'];}function _0x25718d(_0x4772c0){if(0x23!=_0x4772c0['next'])return-0x1;let _0x43a6eb=_0x4772c0['pos']+0x1;for(;_0x43a6eb<_0x4772c0['text']['length']&&0x23==_0x4772c0['text']['charCodeAt'](_0x43a6eb);)_0x43a6eb++;if(_0x43a6eb<_0x4772c0['text']['length']&&0x20!=_0x4772c0['text']['charCodeAt'](_0x43a6eb))return-0x1;let _0x43c027=_0x43a6eb-_0x4772c0['pos'];return _0x43c027>0x6?-0x1:_0x43c027;}function _0x333695(_0x4b9d91){if(0x2d!=_0x4b9d91['next']&&0x3d!=_0x4b9d91['next']||_0x4b9d91['indent']>=_0x4b9d91['baseIndent']+0x4)return-0x1;let _0x7f49ac=_0x4b9d91['pos']+0x1;for(;_0x7f49ac<_0x4b9d91['text']['length']&&_0x4b9d91['text']['charCodeAt'](_0x7f49ac)==_0x4b9d91['next'];)_0x7f49ac++;let _0xd0a4cb=_0x7f49ac;for(;_0x7f49ac<_0x4b9d91['text']['length']&&_0x422f17(_0x4b9d91['text']['charCodeAt'](_0x7f49ac));)_0x7f49ac++;return _0x7f49ac==_0x4b9d91['text']['length']?_0xd0a4cb:-0x1;}const _0x275004=/^[ \t]*$/,_0x94954a=/-->/,_0x48d38f=/\?>/,_0x297c97=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,_0x94954a],[/^\s*<\?/,_0x48d38f],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,_0x275004],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_0x275004]];function _0x3e5333(_0x168f16,_0x44939b,_0x1ef314){if(0x3c!=_0x168f16['next'])return-0x1;let _0x3eff4e=_0x168f16['text']['slice'](_0x168f16['pos']);for(let _0x59853e=0x0,_0x4e38cd=_0x297c97['length']-(_0x1ef314?0x1:0x0);_0x59853e<_0x4e38cd;_0x59853e++)if(_0x297c97[_0x59853e][0x0]['test'](_0x3eff4e))return _0x59853e;return-0x1;}function _0x2de388(_0x2dab4e,_0x537937){let _0x794c13=_0x2dab4e['countIndent'](_0x537937,_0x2dab4e['pos'],_0x2dab4e['indent']),_0x50fd48=_0x2dab4e['countIndent'](_0x2dab4e['skipSpace'](_0x537937),_0x537937,_0x794c13);return _0x50fd48>=_0x794c13+0x5?_0x794c13+0x1:_0x50fd48;}function _0x270d27(_0x4b4dc0,_0x41dbc8,_0x310196){let _0x2960b4=_0x4b4dc0['length']-0x1;_0x2960b4>=0x0&&_0x4b4dc0[_0x2960b4]['to']==_0x41dbc8&&_0x4b4dc0[_0x2960b4]['type']==_0x29b4eb['CodeText']?_0x4b4dc0[_0x2960b4]['to']=_0x310196:_0x4b4dc0['push'](_0x91de17(_0x29b4eb['CodeText'],_0x41dbc8,_0x310196));}const _0x4ee877={'LinkReference':void 0x0,'IndentedCode'(_0x3573fb,_0x422328){let _0xa7be=_0x422328['baseIndent']+0x4;if(_0x422328['indent']<_0xa7be)return!0x1;let _0x5918da=_0x422328['findColumn'](_0xa7be),_0x231ce0=_0x3573fb['lineStart']+_0x5918da,_0x513e48=_0x3573fb['lineStart']+_0x422328['text']['length'],_0x55f130=[],_0x1d395f=[];for(_0x270d27(_0x55f130,_0x231ce0,_0x513e48);_0x3573fb['nextLine']()&&_0x422328['depth']>=_0x3573fb['stack']['length'];)if(_0x422328['pos']==_0x422328['text']['length']){_0x270d27(_0x1d395f,_0x3573fb['lineStart']-0x1,_0x3573fb['lineStart']);for(let _0x3d9a20 of _0x422328['markers'])_0x1d395f['push'](_0x3d9a20);}else{if(_0x422328['indent']<_0xa7be)break;{if(_0x1d395f['length']){for(let _0x243df4 of _0x1d395f)_0x243df4['type']==_0x29b4eb['CodeText']?_0x270d27(_0x55f130,_0x243df4['from'],_0x243df4['to']):_0x55f130['push'](_0x243df4);_0x1d395f=[];}_0x270d27(_0x55f130,_0x3573fb['lineStart']-0x1,_0x3573fb['lineStart']);for(let _0xa84261 of _0x422328['markers'])_0x55f130['push'](_0xa84261);_0x513e48=_0x3573fb['lineStart']+_0x422328['text']['length'];let _0x111ba5=_0x3573fb['lineStart']+_0x422328['findColumn'](_0x422328['baseIndent']+0x4);_0x111ba5<_0x513e48&&_0x270d27(_0x55f130,_0x111ba5,_0x513e48);}}return _0x1d395f['length']&&(_0x1d395f=_0x1d395f['filter'](_0x4247eb=>_0x4247eb['type']!=_0x29b4eb['CodeText']),_0x1d395f['length']&&(_0x422328['markers']=_0x1d395f['concat'](_0x422328['markers']))),_0x3573fb['addNode'](_0x3573fb['buffer']['writeElements'](_0x55f130,-_0x231ce0)['finish'](_0x29b4eb['CodeBlock'],_0x513e48-_0x231ce0),_0x231ce0),!0x0;},'FencedCode'(_0x3fda0d,_0x6f7b20){let _0x274203=_0x44cb51(_0x6f7b20);if(_0x274203<0x0)return!0x1;let _0x2964de=_0x3fda0d['lineStart']+_0x6f7b20['pos'],_0x395dea=_0x6f7b20['next'],_0x5be3de=_0x274203-_0x6f7b20['pos'],_0x440fe6=_0x6f7b20['skipSpace'](_0x274203),_0x346508=_0x2e1c80(_0x6f7b20['text'],_0x6f7b20['text']['length'],_0x440fe6),_0x42cf22=[_0x91de17(_0x29b4eb['CodeMark'],_0x2964de,_0x2964de+_0x5be3de)];_0x440fe6<_0x346508&&_0x42cf22['push'](_0x91de17(_0x29b4eb['CodeInfo'],_0x3fda0d['lineStart']+_0x440fe6,_0x3fda0d['lineStart']+_0x346508));for(let _0x5c43ee=!0x0;_0x3fda0d['nextLine']()&&_0x6f7b20['depth']>=_0x3fda0d['stack']['length'];_0x5c43ee=!0x1){let _0x939aac=_0x6f7b20['pos'];if(_0x6f7b20['indent']-_0x6f7b20['baseIndent']<0x4){for(;_0x939aac<_0x6f7b20['text']['length']&&_0x6f7b20['text']['charCodeAt'](_0x939aac)==_0x395dea;)_0x939aac++;}if(_0x939aac-_0x6f7b20['pos']>=_0x5be3de&&_0x6f7b20['skipSpace'](_0x939aac)==_0x6f7b20['text']['length']){for(let _0x1a448e of _0x6f7b20['markers'])_0x42cf22['push'](_0x1a448e);_0x42cf22['push'](_0x91de17(_0x29b4eb['CodeMark'],_0x3fda0d['lineStart']+_0x6f7b20['pos'],_0x3fda0d['lineStart']+_0x939aac)),_0x3fda0d['nextLine']();break;}{_0x5c43ee||_0x270d27(_0x42cf22,_0x3fda0d['lineStart']-0x1,_0x3fda0d['lineStart']);for(let _0x266e75 of _0x6f7b20['markers'])_0x42cf22['push'](_0x266e75);let _0x4aad54=_0x3fda0d['lineStart']+_0x6f7b20['basePos'],_0x308d44=_0x3fda0d['lineStart']+_0x6f7b20['text']['length'];_0x4aad54<_0x308d44&&_0x270d27(_0x42cf22,_0x4aad54,_0x308d44);}}return _0x3fda0d['addNode'](_0x3fda0d['buffer']['writeElements'](_0x42cf22,-_0x2964de)['finish'](_0x29b4eb['FencedCode'],_0x3fda0d['prevLineEnd']()-_0x2964de),_0x2964de),!0x0;},'Blockquote'(_0x1a8286,_0x138585){let _0x4c3aaf=_0xd1d7ee(_0x138585);return!(_0x4c3aaf<0x0)&&(_0x1a8286['startContext'](_0x29b4eb['Blockquote'],_0x138585['pos']),_0x1a8286['addNode'](_0x29b4eb['QuoteMark'],_0x1a8286['lineStart']+_0x138585['pos'],_0x1a8286['lineStart']+_0x138585['pos']+0x1),_0x138585['moveBase'](_0x138585['pos']+_0x4c3aaf),null);},'HorizontalRule'(_0x4f30ad,_0x21e84d){if(_0x31ba72(_0x21e84d,_0x4f30ad,!0x1)<0x0)return!0x1;let _0x3e41a8=_0x4f30ad['lineStart']+_0x21e84d['pos'];return _0x4f30ad['nextLine'](),_0x4f30ad['addNode'](_0x29b4eb['HorizontalRule'],_0x3e41a8),!0x0;},'BulletList'(_0x30df8c,_0x5d8aac){let _0x4fbb07=_0x510d81(_0x5d8aac,_0x30df8c,!0x1);if(_0x4fbb07<0x0)return!0x1;_0x30df8c['block']['type']!=_0x29b4eb['BulletList']&&_0x30df8c['startContext'](_0x29b4eb['BulletList'],_0x5d8aac['basePos'],_0x5d8aac['next']);let _0x318e59=_0x2de388(_0x5d8aac,_0x5d8aac['pos']+0x1);return _0x30df8c['startContext'](_0x29b4eb['ListItem'],_0x5d8aac['basePos'],_0x318e59-_0x5d8aac['baseIndent']),_0x30df8c['addNode'](_0x29b4eb['ListMark'],_0x30df8c['lineStart']+_0x5d8aac['pos'],_0x30df8c['lineStart']+_0x5d8aac['pos']+_0x4fbb07),_0x5d8aac['moveBaseColumn'](_0x318e59),null;},'OrderedList'(_0x2fd0f5,_0x5866c6){let _0x18ff56=_0x46b75a(_0x5866c6,_0x2fd0f5,!0x1);if(_0x18ff56<0x0)return!0x1;_0x2fd0f5['block']['type']!=_0x29b4eb['OrderedList']&&_0x2fd0f5['startContext'](_0x29b4eb['OrderedList'],_0x5866c6['basePos'],_0x5866c6['text']['charCodeAt'](_0x5866c6['pos']+_0x18ff56-0x1));let _0x5b1888=_0x2de388(_0x5866c6,_0x5866c6['pos']+_0x18ff56);return _0x2fd0f5['startContext'](_0x29b4eb['ListItem'],_0x5866c6['basePos'],_0x5b1888-_0x5866c6['baseIndent']),_0x2fd0f5['addNode'](_0x29b4eb['ListMark'],_0x2fd0f5['lineStart']+_0x5866c6['pos'],_0x2fd0f5['lineStart']+_0x5866c6['pos']+_0x18ff56),_0x5866c6['moveBaseColumn'](_0x5b1888),null;},'ATXHeading'(_0x4fd4c8,_0x53e352){let _0x22bc10=_0x25718d(_0x53e352);if(_0x22bc10<0x0)return!0x1;let _0x5dcd9d=_0x53e352['pos'],_0x3e629c=_0x4fd4c8['lineStart']+_0x5dcd9d,_0x3bfe33=_0x2e1c80(_0x53e352['text'],_0x53e352['text']['length'],_0x5dcd9d),_0x4ffc9c=_0x3bfe33;for(;_0x4ffc9c>_0x5dcd9d&&_0x53e352['text']['charCodeAt'](_0x4ffc9c-0x1)==_0x53e352['next'];)_0x4ffc9c--;_0x4ffc9c!=_0x3bfe33&&_0x4ffc9c!=_0x5dcd9d&&_0x422f17(_0x53e352['text']['charCodeAt'](_0x4ffc9c-0x1))||(_0x4ffc9c=_0x53e352['text']['length']);let _0x49c96e=_0x4fd4c8['buffer']['write'](_0x29b4eb['HeaderMark'],0x0,_0x22bc10)['writeElements'](_0x4fd4c8['parser']['parseInline'](_0x53e352['text']['slice'](_0x5dcd9d+_0x22bc10+0x1,_0x4ffc9c),_0x3e629c+_0x22bc10+0x1),-_0x3e629c);_0x4ffc9c<_0x53e352['text']['length']&&_0x49c96e['write'](_0x29b4eb['HeaderMark'],_0x4ffc9c-_0x5dcd9d,_0x3bfe33-_0x5dcd9d);let _0x4b1ac9=_0x49c96e['finish'](_0x29b4eb['ATXHeading1']-0x1+_0x22bc10,_0x53e352['text']['length']-_0x5dcd9d);return _0x4fd4c8['nextLine'](),_0x4fd4c8['addNode'](_0x4b1ac9,_0x3e629c),!0x0;},'HTMLBlock'(_0x17d1c6,_0xecdd25){let _0x4f4618=_0x3e5333(_0xecdd25,0x0,!0x1);if(_0x4f4618<0x0)return!0x1;let _0x2ee66c=_0x17d1c6['lineStart']+_0xecdd25['pos'],_0x7eb9c0=_0x297c97[_0x4f4618][0x1],_0x54085d=[],_0x58f436=_0x7eb9c0!=_0x275004;for(;!_0x7eb9c0['test'](_0xecdd25['text'])&&_0x17d1c6['nextLine']();){if(_0xecdd25['depth']<_0x17d1c6['stack']['length']){_0x58f436=!0x1;break;}for(let _0x6d52bc of _0xecdd25['markers'])_0x54085d['push'](_0x6d52bc);}_0x58f436&&_0x17d1c6['nextLine']();let _0x14d9a5=_0x7eb9c0==_0x94954a?_0x29b4eb['CommentBlock']:_0x7eb9c0==_0x48d38f?_0x29b4eb['ProcessingInstructionBlock']:_0x29b4eb['HTMLBlock'],_0x3da9ed=_0x17d1c6['prevLineEnd']();return _0x17d1c6['addNode'](_0x17d1c6['buffer']['writeElements'](_0x54085d,-_0x2ee66c)['finish'](_0x14d9a5,_0x3da9ed-_0x2ee66c),_0x2ee66c),!0x0;},'SetextHeading':void 0x0};class _0x3ff5a0{constructor(_0x299620){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x299620['start'],this['advance'](_0x299620['content']);}['nextLine'](_0xa08975,_0x1088c4,_0x3e5e73){if(-0x1==this['stage'])return!0x1;let _0x1a437f=_0x3e5e73['content']+'\x0a'+_0x1088c4['scrub'](),_0xb2b7bf=this['advance'](_0x1a437f);return _0xb2b7bf>-0x1&&_0xb2b7bf<_0x1a437f['length']&&this['complete'](_0xa08975,_0x3e5e73,_0xb2b7bf);}['finish'](_0x59e388,_0x31ed54){return(0x2==this['stage']||0x3==this['stage'])&&_0xc9e2c8(_0x31ed54['content'],this['pos'])==_0x31ed54['content']['length']&&this['complete'](_0x59e388,_0x31ed54,_0x31ed54['content']['length']);}['complete'](_0xe099a8,_0x5616ed,_0x4e3b85){return _0xe099a8['addLeafElement'](_0x5616ed,_0x91de17(_0x29b4eb['LinkReference'],this['start'],this['start']+_0x4e3b85,this['elts'])),!0x0;}['nextStage'](_0x3a87ae){return _0x3a87ae?(this['pos']=_0x3a87ae['to']-this['start'],this['elts']['push'](_0x3a87ae),this['stage']++,!0x0):(!0x1===_0x3a87ae&&(this['stage']=-0x1),!0x1);}['advance'](_0x58b46a){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x248ad8(_0x58b46a,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x58b46a['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](_0x91de17(_0x29b4eb['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x510297=_0xc9e2c8(_0x58b46a,this['pos']),_0x1e5da0=0x0;if(_0x510297>this['pos']){let _0x40f9c9=_0x390a96(_0x58b46a,_0x510297,this['start']);if(_0x40f9c9){let _0x30306e=_0x30dc08(_0x58b46a,_0x40f9c9['to']-this['start']);_0x30306e>0x0&&(this['nextStage'](_0x40f9c9),_0x1e5da0=_0x30306e);}}return _0x1e5da0||(_0x1e5da0=_0x30dc08(_0x58b46a,this['pos'])),_0x1e5da0>0x0&&_0x1e5da0<_0x58b46a['length']?_0x1e5da0:-0x1;}return _0x30dc08(_0x58b46a,this['pos']);}if(!this['nextStage'](_0x4b40fb(_0x58b46a,_0xc9e2c8(_0x58b46a,this['pos']),this['start'])))return-0x1;}}}}function _0x30dc08(_0x3af804,_0x9ce258){for(;_0x9ce258<_0x3af804['length'];_0x9ce258++){let _0x39a2e5=_0x3af804['charCodeAt'](_0x9ce258);if(0xa==_0x39a2e5)break;if(!_0x422f17(_0x39a2e5))return-0x1;}return _0x9ce258;}class SetextHeadingParser{['nextLine'](_0x4922e0,_0x328e6b,_0x5a7f9d){let _0x161863=_0x328e6b['depth']<_0x4922e0['stack']['length']?-0x1:_0x333695(_0x328e6b),_0x238f4e=_0x328e6b['next'];if(_0x161863<0x0)return!0x1;let _0x346a11=_0x91de17(_0x29b4eb['HeaderMark'],_0x4922e0['lineStart']+_0x328e6b['pos'],_0x4922e0['lineStart']+_0x161863);return _0x4922e0['nextLine'](),_0x4922e0['addLeafElement'](_0x5a7f9d,_0x91de17(0x3d==_0x238f4e?_0x29b4eb['SetextHeading1']:_0x29b4eb['SetextHeading2'],_0x5a7f9d['start'],_0x4922e0['prevLineEnd'](),[..._0x4922e0['parser']['parseInline'](_0x5a7f9d['content'],_0x5a7f9d['start']),_0x346a11])),!0x0;}['finish'](){return!0x1;}}const tx={'LinkReference':(_0x3cc487,_0x1bc052)=>0x5b==_0x1bc052['content']['charCodeAt'](0x0)?new _0x3ff5a0(_0x1bc052):null,'SetextHeading':()=>new SetextHeadingParser()},_0x20f645=[(_0x37f49d,_0x5ebb4e)=>_0x25718d(_0x5ebb4e)>=0x0,(_0x2a60bc,_0x2a4352)=>_0x44cb51(_0x2a4352)>=0x0,(_0x3ea9a2,_0x2d0597)=>_0xd1d7ee(_0x2d0597)>=0x0,(_0x6db75f,_0x4a872f)=>_0x510d81(_0x4a872f,_0x6db75f,!0x0)>=0x0,(_0x5bae8f,_0x2bc1a0)=>_0x46b75a(_0x2bc1a0,_0x5bae8f,!0x0)>=0x0,(_0x34cf44,_0x2b0a5b)=>_0x31ba72(_0x2b0a5b,_0x34cf44,!0x0)>=0x0,(_0x2c271e,_0x265370)=>_0x3e5333(_0x265370,0x0,!0x0)>=0x0],_0x1f8eee={'text':'','end':0x0};class BlockContext{constructor(_0x33410a,_0x375982,_0x4ccc8d,_0x48eed5){this['parser']=_0x33410a,this['input']=_0x375982,this['ranges']=_0x48eed5,this['line']=new _0xb2bf44(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x48eed5[_0x48eed5['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x48eed5[0x0]['from'],this['block']=CompositeBlock['create'](_0x29b4eb['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x4ccc8d['length']?new FragmentCursor(_0x4ccc8d,_0x375982):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x54b3cc}=this;for(;;){for(let _0x140996=0x0;;){let _0x1c4e8f=_0x54b3cc['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x140996<_0x54b3cc['markers']['length']&&(!_0x1c4e8f||_0x54b3cc['markers'][_0x140996]['from']<_0x1c4e8f['end']);){let _0x1c1d61=_0x54b3cc['markers'][_0x140996++];this['addNode'](_0x1c1d61['type'],_0x1c1d61['from'],_0x1c1d61['to']);}if(!_0x1c4e8f)break;this['finishContext']();}if(_0x54b3cc['pos']<_0x54b3cc['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x54b3cc['basePos']))return null;t:for(;;){for(let _0xcf4812 of this['parser']['blockParsers'])if(_0xcf4812){let _0x10630d=_0xcf4812(this,_0x54b3cc);if(0x0!=_0x10630d){if(0x1==_0x10630d)return null;_0x54b3cc['forward']();continue t;}}break;}let _0x1c4397=new _0x32edde(this['lineStart']+_0x54b3cc['pos'],_0x54b3cc['text']['slice'](_0x54b3cc['pos']));for(let _0xf99f6a of this['parser']['leafBlockParsers'])if(_0xf99f6a){let _0x5cca91=_0xf99f6a(this,_0x1c4397);_0x5cca91&&_0x1c4397['parsers']['push'](_0x5cca91);}t:for(;this['nextLine']()&&_0x54b3cc['pos']!=_0x54b3cc['text']['length'];){if(_0x54b3cc['indent']<_0x54b3cc['baseIndent']+0x4){for(let _0x2395f6 of this['parser']['endLeafBlock'])if(_0x2395f6(this,_0x54b3cc,_0x1c4397))break t;}for(let _0x54a0cb of _0x1c4397['parsers'])if(_0x54a0cb['nextLine'](this,_0x54b3cc,_0x1c4397))return null;_0x1c4397['content']+='\x0a'+_0x54b3cc['scrub']();for(let _0x427e2d of _0x54b3cc['markers'])_0x1c4397['marks']['push'](_0x427e2d);}return this['finishLeaf'](_0x1c4397),null;}['stopAt'](_0x4f861b){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x4f861b)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x4f861b;}['reuseFragment'](_0x3d920f){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x3d920f,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x1cd207=this['fragments']['takeNodes'](this);return!!_0x1cd207&&(this['absoluteLineStart']+=_0x1cd207,this['lineStart']=_0x2476dd(this['absoluteLineStart'],this['ranges']),this['moveRangeI'](),this['absoluteLineStart']<this['to']?(this['lineStart']++,this['absoluteLineStart']++,this['readLine']()):(this['atEnd']=!0x0,this['readLine']()),!0x0);}get['depth'](){return this['stack']['length'];}['parentType'](_0x1e8028=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x1e8028]['type']];}['nextLine'](){return this['lineStart']+=this['line']['text']['length'],this['absoluteLineEnd']>=this['to']?(this['absoluteLineStart']=this['absoluteLineEnd'],this['atEnd']=!0x0,this['readLine'](),!0x1):(this['lineStart']++,this['absoluteLineStart']=this['absoluteLineEnd']+0x1,this['moveRangeI'](),this['readLine'](),!0x0);}['peekLine'](){return this['scanLine'](this['absoluteLineEnd']+0x1)['text'];}['moveRangeI'](){for(;this['rangeI']<this['ranges']['length']-0x1&&this['absoluteLineStart']>=this['ranges'][this['rangeI']]['to'];)this['rangeI']++,this['absoluteLineStart']=Math['max'](this['absoluteLineStart'],this['ranges'][this['rangeI']]['from']);}['scanLine'](_0x3d1ae8){let _0x4e8f1b=_0x1f8eee;if(_0x4e8f1b['end']=_0x3d1ae8,_0x3d1ae8>=this['to'])_0x4e8f1b['text']='';else{if(_0x4e8f1b['text']=this['lineChunkAt'](_0x3d1ae8),_0x4e8f1b['end']+=_0x4e8f1b['text']['length'],this['ranges']['length']>0x1){let _0x1ac42f=this['absoluteLineStart'],_0x3c87bf=this['rangeI'];for(;this['ranges'][_0x3c87bf]['to']<_0x4e8f1b['end'];){_0x3c87bf++;let _0x4ef8ef=this['ranges'][_0x3c87bf]['from'],_0x286197=this['lineChunkAt'](_0x4ef8ef);_0x4e8f1b['end']=_0x4ef8ef+_0x286197['length'],_0x4e8f1b['text']=_0x4e8f1b['text']['slice'](0x0,this['ranges'][_0x3c87bf-0x1]['to']-_0x1ac42f)+_0x286197,_0x1ac42f=_0x4e8f1b['end']-_0x4e8f1b['text']['length'];}}}return _0x4e8f1b;}['readLine'](){let {line:_0x506b3f}=this,{text:_0x112831,end:_0x1c3ebd}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x1c3ebd,_0x506b3f['reset'](_0x112831);_0x506b3f['depth']<this['stack']['length'];_0x506b3f['depth']++){let _0x588864=this['stack'][_0x506b3f['depth']],_0xa9e9aa=this['parser']['skipContextMarkup'][_0x588864['type']];if(!_0xa9e9aa)throw new Error('Unhandled\x20block\x20context\x20'+_0x29b4eb[_0x588864['type']]);let _0xbe33ea=this['line']['markers']['length'];if(!_0xa9e9aa(_0x588864,this,_0x506b3f)){this['line']['markers']['length']>_0xbe33ea&&(_0x588864['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x506b3f['forward']();}}['lineChunkAt'](_0x1441f8){let _0x1cd059,_0x153674=this['input']['chunk'](_0x1441f8);if(this['input']['lineChunks'])_0x1cd059='\x0a'==_0x153674?'':_0x153674;else{let _0x305d86=_0x153674['indexOf']('\x0a');_0x1cd059=_0x305d86<0x0?_0x153674:_0x153674['slice'](0x0,_0x305d86);}return _0x1441f8+_0x1cd059['length']>this['to']?_0x1cd059['slice'](0x0,this['to']-_0x1441f8):_0x1cd059;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x349a22,_0x3cd29e,_0x4db4d7=0x0){this['block']=CompositeBlock['create'](_0x349a22,_0x4db4d7,this['lineStart']+_0x3cd29e,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x527156,_0x41a282,_0x4a01e4=0x0){this['startContext'](this['parser']['getNodeType'](_0x527156),_0x41a282,_0x4a01e4);}['addNode'](_0x27a372,_0x3dec05,_0x18b313){'number'==typeof _0x27a372&&(_0x27a372=new _0x54a715(this['parser']['nodeSet']['types'][_0x27a372],_0x3f23c4,_0x3f23c4,(null!=_0x18b313?_0x18b313:this['prevLineEnd']())-_0x3dec05)),this['block']['addChild'](_0x27a372,_0x3dec05-this['block']['from']);}['addElement'](_0x251199){this['block']['addChild'](_0x251199['toTree'](this['parser']['nodeSet']),_0x251199['from']-this['block']['from']);}['addLeafElement'](_0x4bc39d,_0x1166fb){this['addNode'](this['buffer']['writeElements'](_0x56bb2a(_0x1166fb['children'],_0x4bc39d['marks']),-_0x1166fb['from'])['finish'](_0x1166fb['type'],_0x1166fb['to']-_0x1166fb['from']),_0x1166fb['from']);}['finishContext'](){let _0x5bae9c=this['stack']['pop'](),_0x3f0202=this['stack'][this['stack']['length']-0x1];_0x3f0202['addChild'](_0x5bae9c['toTree'](this['parser']['nodeSet']),_0x5bae9c['from']-_0x3f0202['from']),this['block']=_0x3f0202;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x48669a){return this['ranges']['length']>0x1?_0x519858(this['ranges'],0x0,_0x48669a['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x48669a;}['finishLeaf'](_0x80121e){for(let _0x24b509 of _0x80121e['parsers'])if(_0x24b509['finish'](this,_0x80121e))return;let _0xab160a=_0x56bb2a(this['parser']['parseInline'](_0x80121e['content'],_0x80121e['start']),_0x80121e['marks']);this['addNode'](this['buffer']['writeElements'](_0xab160a,-_0x80121e['start'])['finish'](_0x29b4eb['Paragraph'],_0x80121e['content']['length']),_0x80121e['start']);}['elt'](_0xc34c26,_0x7e74ec,_0x4946a6,_0x450d3f){return'string'==typeof _0xc34c26?_0x91de17(this['parser']['getNodeType'](_0xc34c26),_0x7e74ec,_0x4946a6,_0x450d3f):new TreeElement(_0xc34c26,_0x7e74ec);}get['buffer'](){return new _0x4bed7e(this['parser']['nodeSet']);}}function _0x519858(_0x27f90a,_0x535a1e,_0x4d329b,_0x26c771,_0x527b7d){let _0x45bce7=_0x27f90a[_0x535a1e]['to'],_0x158b6b=[],_0x280177=[],_0x4cfe51=_0x4d329b['from']+_0x26c771;function _0x32eb43(_0x522588,_0x3354fe){for(;_0x3354fe?_0x522588>=_0x45bce7:_0x522588>_0x45bce7;){let _0xd80d1d=_0x27f90a[_0x535a1e+0x1]['from']-_0x45bce7;_0x26c771+=_0xd80d1d,_0x522588+=_0xd80d1d,_0x535a1e++,_0x45bce7=_0x27f90a[_0x535a1e]['to'];}}for(let _0x50181a=_0x4d329b['firstChild'];_0x50181a;_0x50181a=_0x50181a['nextSibling']){_0x32eb43(_0x50181a['from']+_0x26c771,!0x0);let _0x412adc,_0x5daefb=_0x50181a['from']+_0x26c771,_0x59d1d1=_0x527b7d['get'](_0x50181a['tree']);_0x59d1d1?_0x412adc=_0x59d1d1:_0x50181a['to']+_0x26c771>_0x45bce7?(_0x412adc=_0x519858(_0x27f90a,_0x535a1e,_0x50181a,_0x26c771,_0x527b7d),_0x32eb43(_0x50181a['to']+_0x26c771,!0x1)):_0x412adc=_0x50181a['toTree'](),_0x158b6b['push'](_0x412adc),_0x280177['push'](_0x5daefb-_0x4cfe51);}return _0x32eb43(_0x4d329b['to']+_0x26c771,!0x1),new _0x54a715(_0x4d329b['type'],_0x158b6b,_0x280177,_0x4d329b['to']+_0x26c771-_0x4cfe51,_0x4d329b['tree']?_0x4d329b['tree']['propValues']:void 0x0);}class _0x5f5244 extends _0x47e9de{constructor(_0x28d7e0,_0x8d7a1f,_0x18af65,_0x5a59d1,_0x47e6be,_0x30fe2e,_0x588a6d,_0x105c60,_0x1d87ea){super(),this['nodeSet']=_0x28d7e0,this['blockParsers']=_0x8d7a1f,this['leafBlockParsers']=_0x18af65,this['blockNames']=_0x5a59d1,this['endLeafBlock']=_0x47e6be,this['skipContextMarkup']=_0x30fe2e,this['inlineParsers']=_0x588a6d,this['inlineNames']=_0x105c60,this['wrappers']=_0x1d87ea,this['nodeTypes']=Object['create'](null);for(let t of _0x28d7e0['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x20ad6f,_0x5f5d7c,_0x4937bb){let _0x1c9f13=new BlockContext(this,_0x20ad6f,_0x5f5d7c,_0x4937bb);for(let _0x499c62 of this['wrappers'])_0x1c9f13=_0x499c62(_0x1c9f13,_0x20ad6f,_0x5f5d7c,_0x4937bb);return _0x1c9f13;}['configure'](_0x341d23){let _0x1ed413=_0x5ccb87(_0x341d23);if(!_0x1ed413)return this;let {nodeSet:_0x1c6432,skipContextMarkup:_0x292bda}=this,_0x54f84=this['blockParsers']['slice'](),_0x5d4bbf=this['leafBlockParsers']['slice'](),_0x124477=this['blockNames']['slice'](),_0x1597ba=this['inlineParsers']['slice'](),_0x160e3b=this['inlineNames']['slice'](),_0x1a740c=this['endLeafBlock']['slice'](),_0x2ba9ad=this['wrappers'];if(_0x2d8667(_0x1ed413['defineNodes'])){_0x292bda=Object['assign']({},_0x292bda);let _0x1eaea6,_0x449e18=_0x1c6432['types']['slice']();for(let _0x343d6 of _0x1ed413['defineNodes']){let {name:_0x9662f1,block:_0x4f2fb4,composite:_0x282d93,style:_0x53c193}='string'==typeof _0x343d6?{'name':_0x343d6}:_0x343d6;if(_0x449e18['some'](t=>t['name']==_0x9662f1))continue;_0x282d93&&(_0x292bda[_0x449e18['length']]=(_0x140a89,_0x5f1284,_0x3807db)=>_0x282d93(_0x5f1284,_0x3807db,_0x140a89['value']));let _0x23095d=_0x449e18['length'],_0x28d2fe=_0x282d93?['Block','BlockContext']:_0x4f2fb4?_0x23095d>=_0x29b4eb['ATXHeading1']&&_0x23095d<=_0x29b4eb['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x449e18['push'](_0x76b5bd['define']({'id':_0x23095d,'name':_0x9662f1,'props':_0x28d2fe&&[[_0x326db3['group'],_0x28d2fe]]})),_0x53c193&&(_0x1eaea6||(_0x1eaea6={}),Array['isArray'](_0x53c193)||_0x53c193 instanceof _0x90f921?_0x1eaea6[_0x9662f1]=_0x53c193:Object['assign'](_0x1eaea6,_0x53c193));}_0x1c6432=new NodeSet(_0x449e18),_0x1eaea6&&(_0x1c6432=_0x1c6432['extend'](_0x1fda3a(_0x1eaea6)));}if(_0x2d8667(_0x1ed413['props'])&&(_0x1c6432=_0x1c6432['extend'](..._0x1ed413['props'])),_0x2d8667(_0x1ed413['remove']))for(let _0x40cd8e of _0x1ed413['remove']){let _0x540ad4=this['blockNames']['indexOf'](_0x40cd8e),_0x13c6af=this['inlineNames']['indexOf'](_0x40cd8e);_0x540ad4>-0x1&&(_0x54f84[_0x540ad4]=_0x5d4bbf[_0x540ad4]=void 0x0),_0x13c6af>-0x1&&(_0x1597ba[_0x13c6af]=void 0x0);}if(_0x2d8667(_0x1ed413['parseBlock']))for(let _0x13d69e of _0x1ed413['parseBlock']){let _0x1a1b33=_0x124477['indexOf'](_0x13d69e['name']);if(_0x1a1b33>-0x1)_0x54f84[_0x1a1b33]=_0x13d69e['parse'],_0x5d4bbf[_0x1a1b33]=_0x13d69e['leaf'];else{let _0x3ea7e6=_0x13d69e['before']?_0x282ac3(_0x124477,_0x13d69e['before']):_0x13d69e['after']?_0x282ac3(_0x124477,_0x13d69e['after'])+0x1:_0x124477['length']-0x1;_0x54f84['splice'](_0x3ea7e6,0x0,_0x13d69e['parse']),_0x5d4bbf['splice'](_0x3ea7e6,0x0,_0x13d69e['leaf']),_0x124477['splice'](_0x3ea7e6,0x0,_0x13d69e['name']);}_0x13d69e['endLeaf']&&_0x1a740c['push'](_0x13d69e['endLeaf']);}if(_0x2d8667(_0x1ed413['parseInline']))for(let _0x2f4962 of _0x1ed413['parseInline']){let _0x2905cb=_0x160e3b['indexOf'](_0x2f4962['name']);if(_0x2905cb>-0x1)_0x1597ba[_0x2905cb]=_0x2f4962['parse'];else{let _0x12d11c=_0x2f4962['before']?_0x282ac3(_0x160e3b,_0x2f4962['before']):_0x2f4962['after']?_0x282ac3(_0x160e3b,_0x2f4962['after'])+0x1:_0x160e3b['length']-0x1;_0x1597ba['splice'](_0x12d11c,0x0,_0x2f4962['parse']),_0x160e3b['splice'](_0x12d11c,0x0,_0x2f4962['name']);}}return _0x1ed413['wrap']&&(_0x2ba9ad=_0x2ba9ad['concat'](_0x1ed413['wrap'])),new _0x5f5244(_0x1c6432,_0x54f84,_0x5d4bbf,_0x124477,_0x1a740c,_0x292bda,_0x1597ba,_0x160e3b,_0x2ba9ad);}['getNodeType'](_0x5a2e2f){let _0x43cdb5=this['nodeTypes'][_0x5a2e2f];if(null==_0x43cdb5)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x5a2e2f+'\x27');return _0x43cdb5;}['parseInline'](_0x51fbb2,_0x1097bd){let _0x29c57d=new InlineContext(this,_0x51fbb2,_0x1097bd);t:for(let _0x402ca7=_0x1097bd;_0x402ca7<_0x29c57d['end'];){let _0x5e7115=_0x29c57d['char'](_0x402ca7);for(let _0x33e901 of this['inlineParsers'])if(_0x33e901){let _0xd6bb36=_0x33e901(_0x29c57d,_0x5e7115,_0x402ca7);if(_0xd6bb36>=0x0){_0x402ca7=_0xd6bb36;continue t;}}_0x402ca7++;}return _0x29c57d['resolveMarkers'](0x0);}}function _0x2d8667(_0x1c0c5f){return null!=_0x1c0c5f&&_0x1c0c5f['length']>0x0;}function _0x5ccb87(_0x299aa3){if(!Array['isArray'](_0x299aa3))return _0x299aa3;if(0x0==_0x299aa3['length'])return null;let _0x583a67=_0x5ccb87(_0x299aa3[0x0]);if(0x1==_0x299aa3['length'])return _0x583a67;let _0x2ecbea=_0x5ccb87(_0x299aa3['slice'](0x1));if(!_0x2ecbea||!_0x583a67)return _0x583a67||_0x2ecbea;let _0x40816f=(_0x134bf4,_0x130182)=>(_0x134bf4||_0x3f23c4)['concat'](_0x130182||_0x3f23c4),_0x5cc975=_0x583a67['wrap'],_0x2e94ab=_0x2ecbea['wrap'];return{'props':_0x40816f(_0x583a67['props'],_0x2ecbea['props']),'defineNodes':_0x40816f(_0x583a67['defineNodes'],_0x2ecbea['defineNodes']),'parseBlock':_0x40816f(_0x583a67['parseBlock'],_0x2ecbea['parseBlock']),'parseInline':_0x40816f(_0x583a67['parseInline'],_0x2ecbea['parseInline']),'remove':_0x40816f(_0x583a67['remove'],_0x2ecbea['remove']),'wrap':_0x5cc975?_0x2e94ab?(_0x42374f,_0x33471e,_0x47b712,_0x499224)=>_0x5cc975(_0x2e94ab(_0x42374f,_0x33471e,_0x47b712,_0x499224),_0x33471e,_0x47b712,_0x499224):_0x5cc975:_0x2e94ab};}function _0x282ac3(_0x283087,_0x1ca021){let _0x4976e5=_0x283087['indexOf'](_0x1ca021);if(_0x4976e5<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x1ca021);return _0x4976e5;}let _0x4581d0=[_0x76b5bd['none']];for(let _0x10548b,_0x50bb17=0x1;_0x10548b=_0x29b4eb[_0x50bb17];_0x50bb17++)_0x4581d0[_0x50bb17]=_0x76b5bd['define']({'id':_0x50bb17,'name':_0x10548b,'props':_0x50bb17>=_0x29b4eb['Escape']?[]:[[_0x326db3['group'],_0x50bb17 in _0x3d7426?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x10548b});const _0x3f23c4=[];let _0x4bed7e=class _0x129120{constructor(_0x26f92d){this['nodeSet']=_0x26f92d,this['content']=[],this['nodes']=[];}['write'](_0xdbf09b,_0x55d0ad,_0x4da815,_0x35b370=0x0){return this['content']['push'](_0xdbf09b,_0x55d0ad,_0x4da815,0x4+0x4*_0x35b370),this;}['writeElements'](_0x38c5e8,_0x33244e=0x0){for(let _0xe115e1 of _0x38c5e8)_0xe115e1['writeTo'](this,_0x33244e);return this;}['finish'](_0x2c1078,_0x509792){return _0x54a715['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x2c1078,'length':_0x509792});}},_0x5bbdbd=class Element{constructor(_0x9333e5,_0x2c8db9,_0x356ffb,_0x5dc881=_0x3f23c4){this['type']=_0x9333e5,this['from']=_0x2c8db9,this['to']=_0x356ffb,this['children']=_0x5dc881;}['writeTo'](_0x5a43a2,_0x269c97){let _0x3ae5ea=_0x5a43a2['content']['length'];_0x5a43a2['writeElements'](this['children'],_0x269c97),_0x5a43a2['content']['push'](this['type'],this['from']+_0x269c97,this['to']+_0x269c97,_0x5a43a2['content']['length']+0x4-_0x3ae5ea);}['toTree'](_0x40b1c7){return new _0x4bed7e(_0x40b1c7)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x3d71e4,_0x13bd45){this['tree']=_0x3d71e4,this['from']=_0x13bd45;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x3f23c4;}['writeTo'](_0x1cdb07,_0x304812){_0x1cdb07['nodes']['push'](this['tree']),_0x1cdb07['content']['push'](_0x1cdb07['nodes']['length']-0x1,this['from']+_0x304812,this['to']+_0x304812,-0x1);}['toTree'](){return this['tree'];}}function _0x91de17(_0x177276,_0x424625,_0x79a001,_0x4b659e){return new _0x5bbdbd(_0x177276,_0x424625,_0x79a001,_0x4b659e);}const _0x2b6038={'resolve':'Emphasis','mark':'EmphasisMark'},_0x40a20c={'resolve':'Emphasis','mark':'EmphasisMark'},_0x3d744e={},_0x444f54={};class InlineDelimiter{constructor(_0x28401f,_0x2212e7,_0x39d581,_0x3d3dc0){this['type']=_0x28401f,this['from']=_0x2212e7,this['to']=_0x39d581,this['side']=_0x3d3dc0;}}const _0x180431='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let _0x28e0f7=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{_0x28e0f7=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0xdb92d8){}const _0xc877ca={'Escape'(_0x3ad16a,_0x32a71d,_0x3c553a){if(0x5c!=_0x32a71d||_0x3c553a==_0x3ad16a['end']-0x1)return-0x1;let _0x29d7f5=_0x3ad16a['char'](_0x3c553a+0x1);for(let _0x1f6d11=0x0;_0x1f6d11<0x20;_0x1f6d11++)if(_0x180431['charCodeAt'](_0x1f6d11)==_0x29d7f5)return _0x3ad16a['append'](_0x91de17(_0x29b4eb['Escape'],_0x3c553a,_0x3c553a+0x2));return-0x1;},'Entity'(_0x184847,_0x4de85e,_0x36811a){if(0x26!=_0x4de85e)return-0x1;let _0x34c83d=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x184847['slice'](_0x36811a+0x1,_0x36811a+0x1f));return _0x34c83d?_0x184847['append'](_0x91de17(_0x29b4eb['Entity'],_0x36811a,_0x36811a+0x1+_0x34c83d[0x0]['length'])):-0x1;},'InlineCode'(_0x20a034,_0x37ce27,_0x52b4ce){if(0x60!=_0x37ce27||_0x52b4ce&&0x60==_0x20a034['char'](_0x52b4ce-0x1))return-0x1;let _0x49c7b2=_0x52b4ce+0x1;for(;_0x49c7b2<_0x20a034['end']&&0x60==_0x20a034['char'](_0x49c7b2);)_0x49c7b2++;let _0x571731=_0x49c7b2-_0x52b4ce,_0x555ded=0x0;for(;_0x49c7b2<_0x20a034['end'];_0x49c7b2++)if(0x60==_0x20a034['char'](_0x49c7b2)){if(_0x555ded++,_0x555ded==_0x571731&&0x60!=_0x20a034['char'](_0x49c7b2+0x1))return _0x20a034['append'](_0x91de17(_0x29b4eb['InlineCode'],_0x52b4ce,_0x49c7b2+0x1,[_0x91de17(_0x29b4eb['CodeMark'],_0x52b4ce,_0x52b4ce+_0x571731),_0x91de17(_0x29b4eb['CodeMark'],_0x49c7b2+0x1-_0x571731,_0x49c7b2+0x1)]));}else _0x555ded=0x0;return-0x1;},'HTMLTag'(_0x4c29bd,_0x14b34a,_0x18bb64){if(0x3c!=_0x14b34a||_0x18bb64==_0x4c29bd['end']-0x1)return-0x1;let _0x2ce52d=_0x4c29bd['slice'](_0x18bb64+0x1,_0x4c29bd['end']),_0x1a2ef7=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i['exec'](_0x2ce52d);if(_0x1a2ef7)return _0x4c29bd['append'](_0x91de17(_0x29b4eb['Autolink'],_0x18bb64,_0x18bb64+0x1+_0x1a2ef7[0x0]['length'],[_0x91de17(_0x29b4eb['LinkMark'],_0x18bb64,_0x18bb64+0x1),_0x91de17(_0x29b4eb['URL'],_0x18bb64+0x1,_0x18bb64+_0x1a2ef7[0x0]['length']),_0x91de17(_0x29b4eb['LinkMark'],_0x18bb64+_0x1a2ef7[0x0]['length'],_0x18bb64+0x1+_0x1a2ef7[0x0]['length'])]));let _0x34c5cb=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x2ce52d);if(_0x34c5cb)return _0x4c29bd['append'](_0x91de17(_0x29b4eb['Comment'],_0x18bb64,_0x18bb64+0x1+_0x34c5cb[0x0]['length']));let _0x40624b=/^\?[^]*?\?>/['exec'](_0x2ce52d);if(_0x40624b)return _0x4c29bd['append'](_0x91de17(_0x29b4eb['ProcessingInstruction'],_0x18bb64,_0x18bb64+0x1+_0x40624b[0x0]['length']));let _0x30da8a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/['exec'](_0x2ce52d);return _0x30da8a?_0x4c29bd['append'](_0x91de17(_0x29b4eb['HTMLTag'],_0x18bb64,_0x18bb64+0x1+_0x30da8a[0x0]['length'])):-0x1;},'Emphasis'(_0x1d1f73,_0x16d7c7,_0x276193){if(0x5f!=_0x16d7c7&&0x2a!=_0x16d7c7)return-0x1;let _0x4b272f=_0x276193+0x1;for(;_0x1d1f73['char'](_0x4b272f)==_0x16d7c7;)_0x4b272f++;let _0x42ea46=_0x1d1f73['slice'](_0x276193-0x1,_0x276193),_0x50221f=_0x1d1f73['slice'](_0x4b272f,_0x4b272f+0x1),_0x44ce00=_0x28e0f7['test'](_0x42ea46),_0x9d9f1d=_0x28e0f7['test'](_0x50221f),_0x185913=/\s|^$/['test'](_0x42ea46),_0x57d2e7=/\s|^$/['test'](_0x50221f),_0x3505a4=!_0x57d2e7&&(!_0x9d9f1d||_0x185913||_0x44ce00),_0x1dd087=!_0x185913&&(!_0x44ce00||_0x57d2e7||_0x9d9f1d),_0x98b557=_0x3505a4&&(0x2a==_0x16d7c7||!_0x1dd087||_0x44ce00),_0xe9e044=_0x1dd087&&(0x2a==_0x16d7c7||!_0x3505a4||_0x9d9f1d);return _0x1d1f73['append'](new InlineDelimiter(0x5f==_0x16d7c7?_0x2b6038:_0x40a20c,_0x276193,_0x4b272f,(_0x98b557?0x1:0x0)|(_0xe9e044?0x2:0x0)));},'HardBreak'(_0x13f574,_0x10144c,_0x250c44){if(0x5c==_0x10144c&&0xa==_0x13f574['char'](_0x250c44+0x1))return _0x13f574['append'](_0x91de17(_0x29b4eb['HardBreak'],_0x250c44,_0x250c44+0x2));if(0x20==_0x10144c){let _0x27217d=_0x250c44+0x1;for(;0x20==_0x13f574['char'](_0x27217d);)_0x27217d++;if(0xa==_0x13f574['char'](_0x27217d)&&_0x27217d>=_0x250c44+0x2)return _0x13f574['append'](_0x91de17(_0x29b4eb['HardBreak'],_0x250c44,_0x27217d+0x1));}return-0x1;},'Link':(_0x3df4cd,_0x5dc615,_0xecbfc)=>0x5b==_0x5dc615?_0x3df4cd['append'](new InlineDelimiter(_0x3d744e,_0xecbfc,_0xecbfc+0x1,0x1)):-0x1,'Image':(_0x1929b6,_0x53ea2c,_0xdb463d)=>0x21==_0x53ea2c&&0x5b==_0x1929b6['char'](_0xdb463d+0x1)?_0x1929b6['append'](new InlineDelimiter(_0x444f54,_0xdb463d,_0xdb463d+0x2,0x1)):-0x1,'LinkEnd'(_0x4aa44c,_0x1b9c51,_0x3fe536){if(0x5d!=_0x1b9c51)return-0x1;for(let _0x36a0f9=_0x4aa44c['parts']['length']-0x1;_0x36a0f9>=0x0;_0x36a0f9--){let _0x50678e=_0x4aa44c['parts'][_0x36a0f9];if(_0x50678e instanceof InlineDelimiter&&(_0x50678e['type']==_0x3d744e||_0x50678e['type']==_0x444f54)){if(!_0x50678e['side']||_0x4aa44c['skipSpace'](_0x50678e['to'])==_0x3fe536&&!/[(\[]/['test'](_0x4aa44c['slice'](_0x3fe536+0x1,_0x3fe536+0x2)))return _0x4aa44c['parts'][_0x36a0f9]=null,-0x1;let _0x212bc2=_0x4aa44c['takeContent'](_0x36a0f9),_0x954b0f=_0x4aa44c['parts'][_0x36a0f9]=_0x5302e5(_0x4aa44c,_0x212bc2,_0x50678e['type']==_0x3d744e?_0x29b4eb['Link']:_0x29b4eb['Image'],_0x50678e['from'],_0x3fe536+0x1);if(_0x50678e['type']==_0x3d744e)for(let _0x2a8c6f=0x0;_0x2a8c6f<_0x36a0f9;_0x2a8c6f++){let _0x7d6a9c=_0x4aa44c['parts'][_0x2a8c6f];_0x7d6a9c instanceof InlineDelimiter&&_0x7d6a9c['type']==_0x3d744e&&(_0x7d6a9c['side']=0x0);}return _0x954b0f['to'];}}return-0x1;}};function _0x5302e5(_0x57893b,_0x423ead,_0x2938b2,_0x23ff33,_0x4d330f){let {text:_0x19b7e8}=_0x57893b,_0x53f486=_0x57893b['char'](_0x4d330f),_0x3e1620=_0x4d330f;if(_0x423ead['unshift'](_0x91de17(_0x29b4eb['LinkMark'],_0x23ff33,_0x23ff33+(_0x2938b2==_0x29b4eb['Image']?0x2:0x1))),_0x423ead['push'](_0x91de17(_0x29b4eb['LinkMark'],_0x4d330f-0x1,_0x4d330f)),0x28==_0x53f486){let _0x352f84,_0x50443e=_0x57893b['skipSpace'](_0x4d330f+0x1),_0x24fa1e=_0x4b40fb(_0x19b7e8,_0x50443e-_0x57893b['offset'],_0x57893b['offset']);_0x24fa1e&&(_0x50443e=_0x57893b['skipSpace'](_0x24fa1e['to']),_0x50443e!=_0x24fa1e['to']&&(_0x352f84=_0x390a96(_0x19b7e8,_0x50443e-_0x57893b['offset'],_0x57893b['offset']),_0x352f84&&(_0x50443e=_0x57893b['skipSpace'](_0x352f84['to'])))),0x29==_0x57893b['char'](_0x50443e)&&(_0x423ead['push'](_0x91de17(_0x29b4eb['LinkMark'],_0x4d330f,_0x4d330f+0x1)),_0x3e1620=_0x50443e+0x1,_0x24fa1e&&_0x423ead['push'](_0x24fa1e),_0x352f84&&_0x423ead['push'](_0x352f84),_0x423ead['push'](_0x91de17(_0x29b4eb['LinkMark'],_0x50443e,_0x3e1620)));}else{if(0x5b==_0x53f486){let _0x1dcfe2=_0x248ad8(_0x19b7e8,_0x4d330f-_0x57893b['offset'],_0x57893b['offset'],!0x1);_0x1dcfe2&&(_0x423ead['push'](_0x1dcfe2),_0x3e1620=_0x1dcfe2['to']);}}return _0x91de17(_0x2938b2,_0x23ff33,_0x3e1620,_0x423ead);}function _0x4b40fb(_0x202582,_0xa9aafd,_0x50508c){if(0x3c==_0x202582['charCodeAt'](_0xa9aafd)){for(let _0x6b00b=_0xa9aafd+0x1;_0x6b00b<_0x202582['length'];_0x6b00b++){let _0x5b6dbe=_0x202582['charCodeAt'](_0x6b00b);if(0x3e==_0x5b6dbe)return _0x91de17(_0x29b4eb['URL'],_0xa9aafd+_0x50508c,_0x6b00b+0x1+_0x50508c);if(0x3c==_0x5b6dbe||0xa==_0x5b6dbe)return!0x1;}return null;}{let _0x2e0bb5=0x0,_0x230b70=_0xa9aafd;for(let _0x12cb47=!0x1;_0x230b70<_0x202582['length'];_0x230b70++){let _0x3cf318=_0x202582['charCodeAt'](_0x230b70);if(_0x422f17(_0x3cf318))break;if(_0x12cb47)_0x12cb47=!0x1;else{if(0x28==_0x3cf318)_0x2e0bb5++;else{if(0x29==_0x3cf318){if(!_0x2e0bb5)break;_0x2e0bb5--;}else 0x5c==_0x3cf318&&(_0x12cb47=!0x0);}}}return _0x230b70>_0xa9aafd?_0x91de17(_0x29b4eb['URL'],_0xa9aafd+_0x50508c,_0x230b70+_0x50508c):_0x230b70==_0x202582['length']&&null;}}function _0x390a96(_0x69e57d,_0x4141d7,_0x466aef){let _0x130d53=_0x69e57d['charCodeAt'](_0x4141d7);if(0x27!=_0x130d53&&0x22!=_0x130d53&&0x28!=_0x130d53)return!0x1;let _0x1cc51d=0x28==_0x130d53?0x29:_0x130d53;for(let _0xf75309=_0x4141d7+0x1,_0x3b496a=!0x1;_0xf75309<_0x69e57d['length'];_0xf75309++){let _0x4e7b8f=_0x69e57d['charCodeAt'](_0xf75309);if(_0x3b496a)_0x3b496a=!0x1;else{if(_0x4e7b8f==_0x1cc51d)return _0x91de17(_0x29b4eb['LinkTitle'],_0x4141d7+_0x466aef,_0xf75309+0x1+_0x466aef);0x5c==_0x4e7b8f&&(_0x3b496a=!0x0);}}return null;}function _0x248ad8(_0x36b38a,_0x3328a6,_0x2784fc,_0x89b6f9){for(let _0x3626ed=!0x1,_0x1a81da=_0x3328a6+0x1,_0x48929d=Math['min'](_0x36b38a['length'],_0x1a81da+0x3e7);_0x1a81da<_0x48929d;_0x1a81da++){let _0x4bd7ed=_0x36b38a['charCodeAt'](_0x1a81da);if(_0x3626ed)_0x3626ed=!0x1;else{if(0x5d==_0x4bd7ed)return!_0x89b6f9&&_0x91de17(_0x29b4eb['LinkLabel'],_0x3328a6+_0x2784fc,_0x1a81da+0x1+_0x2784fc);if(_0x89b6f9&&!_0x422f17(_0x4bd7ed)&&(_0x89b6f9=!0x1),0x5b==_0x4bd7ed)return!0x1;0x5c==_0x4bd7ed&&(_0x3626ed=!0x0);}}return null;}class InlineContext{constructor(_0x41c900,_0x192b3a,_0x41b509){this['parser']=_0x41c900,this['text']=_0x192b3a,this['offset']=_0x41b509,this['parts']=[];}['char'](_0x30dbe5){return _0x30dbe5>=this['end']?-0x1:this['text']['charCodeAt'](_0x30dbe5-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x37558b,_0x44eb3d){return this['text']['slice'](_0x37558b-this['offset'],_0x44eb3d-this['offset']);}['append'](_0x390faa){return this['parts']['push'](_0x390faa),_0x390faa['to'];}['addDelimiter'](_0x322185,_0x15579c,_0x1d68b4,_0x404b70,_0x53b938){return this['append'](new InlineDelimiter(_0x322185,_0x15579c,_0x1d68b4,(_0x404b70?0x1:0x0)|(_0x53b938?0x2:0x0)));}get['hasOpenLink'](){for(let _0x30e4b4=this['parts']['length']-0x1;_0x30e4b4>=0x0;_0x30e4b4--){let _0x517c43=this['parts'][_0x30e4b4];if(_0x517c43 instanceof InlineDelimiter&&(_0x517c43['type']==_0x3d744e||_0x517c43['type']==_0x444f54))return!0x0;}return!0x1;}['addElement'](_0x260679){return this['append'](_0x260679);}['resolveMarkers'](_0x3dc115){for(let _0x53ea31=_0x3dc115;_0x53ea31<this['parts']['length'];_0x53ea31++){let _0x130606=this['parts'][_0x53ea31];if(!(_0x130606 instanceof InlineDelimiter&&_0x130606['type']['resolve']&&0x2&_0x130606['side']))continue;let _0xe79c1a,_0x4f2ae4=_0x130606['type']==_0x2b6038||_0x130606['type']==_0x40a20c,_0x4380fb=_0x130606['to']-_0x130606['from'],_0x1456c0=_0x53ea31-0x1;for(;_0x1456c0>=_0x3dc115;_0x1456c0--){let _0x4f922d=this['parts'][_0x1456c0];if(_0x4f922d instanceof InlineDelimiter&&0x1&_0x4f922d['side']&&_0x4f922d['type']==_0x130606['type']&&!(_0x4f2ae4&&(0x1&_0x130606['side']||0x2&_0x4f922d['side'])&&(_0x4f922d['to']-_0x4f922d['from']+_0x4380fb)%0x3==0x0&&((_0x4f922d['to']-_0x4f922d['from'])%0x3||_0x4380fb%0x3))){_0xe79c1a=_0x4f922d;break;}}if(!_0xe79c1a)continue;let _0x393363=_0x130606['type']['resolve'],_0x17fdd3=[],_0x4526b2=_0xe79c1a['from'],_0x7fdb4c=_0x130606['to'];if(_0x4f2ae4){let _0x30f2be=Math['min'](0x2,_0xe79c1a['to']-_0xe79c1a['from'],_0x4380fb);_0x4526b2=_0xe79c1a['to']-_0x30f2be,_0x7fdb4c=_0x130606['from']+_0x30f2be,_0x393363=0x1==_0x30f2be?'Emphasis':'StrongEmphasis';}_0xe79c1a['type']['mark']&&_0x17fdd3['push'](this['elt'](_0xe79c1a['type']['mark'],_0x4526b2,_0xe79c1a['to']));for(let _0x2ae499=_0x1456c0+0x1;_0x2ae499<_0x53ea31;_0x2ae499++)this['parts'][_0x2ae499]instanceof _0x5bbdbd&&_0x17fdd3['push'](this['parts'][_0x2ae499]),this['parts'][_0x2ae499]=null;_0x130606['type']['mark']&&_0x17fdd3['push'](this['elt'](_0x130606['type']['mark'],_0x130606['from'],_0x7fdb4c));let _0x232d38=this['elt'](_0x393363,_0x4526b2,_0x7fdb4c,_0x17fdd3);this['parts'][_0x1456c0]=_0x4f2ae4&&_0xe79c1a['from']!=_0x4526b2?new InlineDelimiter(_0xe79c1a['type'],_0xe79c1a['from'],_0x4526b2,_0xe79c1a['side']):null,(this['parts'][_0x53ea31]=_0x4f2ae4&&_0x130606['to']!=_0x7fdb4c?new InlineDelimiter(_0x130606['type'],_0x7fdb4c,_0x130606['to'],_0x130606['side']):null)?this['parts']['splice'](_0x53ea31,0x0,_0x232d38):this['parts'][_0x53ea31]=_0x232d38;}let _0x4711c9=[];for(let _0x24497d=_0x3dc115;_0x24497d<this['parts']['length'];_0x24497d++){let _0x141425=this['parts'][_0x24497d];_0x141425 instanceof _0x5bbdbd&&_0x4711c9['push'](_0x141425);}return _0x4711c9;}['findOpeningDelimiter'](_0x532c8d){for(let _0x316b62=this['parts']['length']-0x1;_0x316b62>=0x0;_0x316b62--){let _0x3e41fe=this['parts'][_0x316b62];if(_0x3e41fe instanceof InlineDelimiter&&_0x3e41fe['type']==_0x532c8d&&0x1&_0x3e41fe['side'])return _0x316b62;}return null;}['takeContent'](_0x4e824c){let _0x129bff=this['resolveMarkers'](_0x4e824c);return this['parts']['length']=_0x4e824c,_0x129bff;}['getDelimiterAt'](_0x15c9d2){let _0x29d206=this['parts'][_0x15c9d2];return _0x29d206 instanceof InlineDelimiter?_0x29d206:null;}['skipSpace'](_0x25c7e0){return _0xc9e2c8(this['text'],_0x25c7e0-this['offset'])+this['offset'];}['elt'](_0x1cd235,_0x23b92f,_0x2ecb67,_0x33d8c6){return'string'==typeof _0x1cd235?_0x91de17(this['parser']['getNodeType'](_0x1cd235),_0x23b92f,_0x2ecb67,_0x33d8c6):new TreeElement(_0x1cd235,_0x23b92f);}}function _0x56bb2a(_0x8597f5,_0x52e01e){if(!_0x52e01e['length'])return _0x8597f5;if(!_0x8597f5['length'])return _0x52e01e;let _0x5e159c=_0x8597f5['slice'](),_0x44e442=0x0;for(let _0x3c2daa of _0x52e01e){for(;_0x44e442<_0x5e159c['length']&&_0x5e159c[_0x44e442]['to']<_0x3c2daa['to'];)_0x44e442++;if(_0x44e442<_0x5e159c['length']&&_0x5e159c[_0x44e442]['from']<_0x3c2daa['from']){let _0x5b3bcf=_0x5e159c[_0x44e442];_0x5b3bcf instanceof _0x5bbdbd&&(_0x5e159c[_0x44e442]=new _0x5bbdbd(_0x5b3bcf['type'],_0x5b3bcf['from'],_0x5b3bcf['to'],_0x56bb2a(_0x5b3bcf['children'],[_0x3c2daa])));}else _0x5e159c['splice'](_0x44e442++,0x0,_0x3c2daa);}return _0x5e159c;}InlineContext['linkStart']=_0x3d744e,InlineContext['imageStart']=_0x444f54;const _0x57fcf9=[_0x29b4eb['CodeBlock'],_0x29b4eb['ListItem'],_0x29b4eb['OrderedList'],_0x29b4eb['BulletList']];class FragmentCursor{constructor(_0x216333,_0x263ae2){this['fragments']=_0x216333,this['input']=_0x263ae2,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x216333['length']&&(this['fragment']=_0x216333[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x112908,_0x4c9e43){for(;this['fragment']&&this['fragment']['to']<=_0x112908;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x112908?_0x112908-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x5aab49=this['fragment']['to'];for(;_0x5aab49>0x0&&'\x0a'!=this['input']['read'](_0x5aab49-0x1,_0x5aab49);)_0x5aab49--;this['fragmentEnd']=_0x5aab49?_0x5aab49-0x1:0x0;}let _0xff8a4a=this['cursor'];_0xff8a4a||(_0xff8a4a=this['cursor']=this['fragment']['tree']['cursor'](),_0xff8a4a['firstChild']());let _0x114439=_0x112908+this['fragment']['offset'];for(;_0xff8a4a['to']<=_0x114439;)if(!_0xff8a4a['parent']())return!0x1;for(;;){if(_0xff8a4a['from']>=_0x114439)return this['fragment']['from']<=_0x4c9e43;if(!_0xff8a4a['childAfter'](_0x114439))return!0x1;}}['matches'](_0x50f670){let _0x567b8f=this['cursor']['tree'];return _0x567b8f&&_0x567b8f['prop'](_0x326db3['contextHash'])==_0x50f670;}['takeNodes'](_0x201cc3){let _0x560896=this['cursor'],_0x39d691=this['fragment']['offset'],_0x4f84c5=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x77b0f8=_0x201cc3['absoluteLineStart'],_0x20a4b3=_0x77b0f8,_0x41fa20=_0x201cc3['block']['children']['length'],_0x5e9dbb=_0x20a4b3,_0x47d6c5=_0x41fa20;for(;;){if(_0x560896['to']-_0x39d691>_0x4f84c5){if(_0x560896['type']['isAnonymous']&&_0x560896['firstChild']())continue;break;}let _0x23def3=_0x2476dd(_0x560896['from']-_0x39d691,_0x201cc3['ranges']);if(_0x560896['to']-_0x39d691<=_0x201cc3['ranges'][_0x201cc3['rangeI']]['to'])_0x201cc3['addNode'](_0x560896['tree'],_0x23def3);else{let _0x4b1dda=new _0x54a715(_0x201cc3['parser']['nodeSet']['types'][_0x29b4eb['Paragraph']],[],[],0x0,_0x201cc3['block']['hashProp']);_0x201cc3['reusePlaceholders']['set'](_0x4b1dda,_0x560896['tree']),_0x201cc3['addNode'](_0x4b1dda,_0x23def3);}if(_0x560896['type']['is']('Block')&&(_0x57fcf9['indexOf'](_0x560896['type']['id'])<0x0?(_0x20a4b3=_0x560896['to']-_0x39d691,_0x41fa20=_0x201cc3['block']['children']['length']):(_0x20a4b3=_0x5e9dbb,_0x41fa20=_0x47d6c5,_0x5e9dbb=_0x560896['to']-_0x39d691,_0x47d6c5=_0x201cc3['block']['children']['length'])),!_0x560896['nextSibling']())break;}for(;_0x201cc3['block']['children']['length']>_0x41fa20;)_0x201cc3['block']['children']['pop'](),_0x201cc3['block']['positions']['pop']();return _0x20a4b3-_0x77b0f8;}}function _0x2476dd(_0x422c7c,_0x1e52d4){let _0x460e64=_0x422c7c;for(let _0x569546=0x1;_0x569546<_0x1e52d4['length'];_0x569546++){let _0x3c592c=_0x1e52d4[_0x569546-0x1]['to'],_0x546dd8=_0x1e52d4[_0x569546]['from'];_0x3c592c<_0x422c7c&&(_0x460e64-=_0x546dd8-_0x3c592c);}return _0x460e64;}const _0x27127b=_0x1fda3a({'Blockquote/...':_0x4ccfa4['quote'],'HorizontalRule':_0x4ccfa4['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':_0x4ccfa4['heading1'],'ATXHeading2/...\x20SetextHeading2/...':_0x4ccfa4['heading2'],'ATXHeading3/...':_0x4ccfa4['heading3'],'ATXHeading4/...':_0x4ccfa4['heading4'],'ATXHeading5/...':_0x4ccfa4['heading5'],'ATXHeading6/...':_0x4ccfa4['heading6'],'Comment\x20CommentBlock':_0x4ccfa4['comment'],'Escape':_0x4ccfa4['escape'],'Entity':_0x4ccfa4['character'],'Emphasis/...':_0x4ccfa4['emphasis'],'StrongEmphasis/...':_0x4ccfa4['strong'],'Link/...\x20Image/...':_0x4ccfa4['link'],'OrderedList/...\x20BulletList/...':_0x4ccfa4['list'],'BlockQuote/...':_0x4ccfa4['quote'],'InlineCode\x20CodeText':_0x4ccfa4['monospace'],'URL\x20Autolink':_0x4ccfa4['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':_0x4ccfa4['processingInstruction'],'CodeInfo\x20LinkLabel':_0x4ccfa4['labelName'],'LinkTitle':_0x4ccfa4['string'],'Paragraph':_0x4ccfa4['content']}),_0x15c931=new _0x5f5244(new NodeSet(_0x4581d0)['extend'](_0x27127b),Object['keys'](_0x4ee877)['map'](_0x465ad0=>_0x4ee877[_0x465ad0]),Object['keys'](_0x4ee877)['map'](_0x3b4f1c=>tx[_0x3b4f1c]),Object['keys'](_0x4ee877),_0x20f645,_0x3d7426,Object['keys'](_0xc877ca)['map'](_0x5986ee=>_0xc877ca[_0x5986ee]),Object['keys'](_0xc877ca),[]);function _0x44112f(_0x272d4c,_0x173b8c,_0x1b55a2){let _0x23919a=[];for(let _0x6cbe02=_0x272d4c['firstChild'],_0x144d54=_0x173b8c;;_0x6cbe02=_0x6cbe02['nextSibling']){let _0x2baae7=_0x6cbe02?_0x6cbe02['from']:_0x1b55a2;if(_0x2baae7>_0x144d54&&_0x23919a['push']({'from':_0x144d54,'to':_0x2baae7}),!_0x6cbe02)break;_0x144d54=_0x6cbe02['to'];}return _0x23919a;}const _0x42f4f0={'resolve':'Strikethrough','mark':'StrikethroughMark'},_0x448e6f={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':_0x4ccfa4['strikethrough']}},{'name':'StrikethroughMark','style':_0x4ccfa4['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x35b687,_0x5b0157,_0x52c4d4){if(0x7e!=_0x5b0157||0x7e!=_0x35b687['char'](_0x52c4d4+0x1)||0x7e==_0x35b687['char'](_0x52c4d4+0x2))return-0x1;let _0x586958=_0x35b687['slice'](_0x52c4d4-0x1,_0x52c4d4),_0x249118=_0x35b687['slice'](_0x52c4d4+0x2,_0x52c4d4+0x3),_0x1eca07=/\s|^$/['test'](_0x586958),_0x5b9ad2=/\s|^$/['test'](_0x249118),_0x5960c4=_0x28e0f7['test'](_0x586958),_0x1a7ab8=_0x28e0f7['test'](_0x249118);return _0x35b687['addDelimiter'](_0x42f4f0,_0x52c4d4,_0x52c4d4+0x2,!_0x5b9ad2&&(!_0x1a7ab8||_0x1eca07||_0x5960c4),!_0x1eca07&&(!_0x5960c4||_0x5b9ad2||_0x1a7ab8));},'after':'Emphasis'}]};function _0x50cb34(_0x5bac65,_0x5b8cbc,_0x512725=0x0,_0xe78d0e,_0x56cfd4=0x0){let _0x23cb3b=0x0,_0x35e22a=!0x0,_0x3d935b=-0x1,_0xd2816a=-0x1,_0x5833b8=!0x1,_0x5c3814=()=>{_0xe78d0e['push'](_0x5bac65['elt']('TableCell',_0x56cfd4+_0x3d935b,_0x56cfd4+_0xd2816a,_0x5bac65['parser']['parseInline'](_0x5b8cbc['slice'](_0x3d935b,_0xd2816a),_0x56cfd4+_0x3d935b)));};for(let _0x2b93cb=_0x512725;_0x2b93cb<_0x5b8cbc['length'];_0x2b93cb++){let _0x24426f=_0x5b8cbc['charCodeAt'](_0x2b93cb);0x7c!=_0x24426f||_0x5833b8?(_0x5833b8||0x20!=_0x24426f&&0x9!=_0x24426f)&&(_0x3d935b<0x0&&(_0x3d935b=_0x2b93cb),_0xd2816a=_0x2b93cb+0x1):((!_0x35e22a||_0x3d935b>-0x1)&&_0x23cb3b++,_0x35e22a=!0x1,_0xe78d0e&&(_0x3d935b>-0x1&&_0x5c3814(),_0xe78d0e['push'](_0x5bac65['elt']('TableDelimiter',_0x2b93cb+_0x56cfd4,_0x2b93cb+_0x56cfd4+0x1))),_0x3d935b=_0xd2816a=-0x1),_0x5833b8=!_0x5833b8&&0x5c==_0x24426f;}return _0x3d935b>-0x1&&(_0x23cb3b++,_0xe78d0e&&_0x5c3814()),_0x23cb3b;}function _0x34309f(_0x45506a,_0x5bed85){for(let _0x244ede=_0x5bed85;_0x244ede<_0x45506a['length'];_0x244ede++){let _0x304276=_0x45506a['charCodeAt'](_0x244ede);if(0x7c==_0x304276)return!0x0;0x5c==_0x304276&&_0x244ede++;}return!0x1;}const _0x12a2e7=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x252880{constructor(){this['rows']=null;}['nextLine'](_0x1f942a,_0x9a353b,_0x365ac0){if(null==this['rows']){let _0x3d95fc;if(this['rows']=!0x1,(0x2d==_0x9a353b['next']||0x3a==_0x9a353b['next']||0x7c==_0x9a353b['next'])&&_0x12a2e7['test'](_0x3d95fc=_0x9a353b['text']['slice'](_0x9a353b['pos']))){let _0x490d88=[];_0x50cb34(_0x1f942a,_0x365ac0['content'],0x0,_0x490d88,_0x365ac0['start'])==_0x50cb34(_0x1f942a,_0x3d95fc,_0x9a353b['pos'])&&(this['rows']=[_0x1f942a['elt']('TableHeader',_0x365ac0['start'],_0x365ac0['start']+_0x365ac0['content']['length'],_0x490d88),_0x1f942a['elt']('TableDelimiter',_0x1f942a['lineStart']+_0x9a353b['pos'],_0x1f942a['lineStart']+_0x9a353b['text']['length'])]);}}else{if(this['rows']){let _0x12aa8b=[];_0x50cb34(_0x1f942a,_0x9a353b['text'],_0x9a353b['pos'],_0x12aa8b,_0x1f942a['lineStart']),this['rows']['push'](_0x1f942a['elt']('TableRow',_0x1f942a['lineStart']+_0x9a353b['pos'],_0x1f942a['lineStart']+_0x9a353b['text']['length'],_0x12aa8b));}}return!0x1;}['finish'](_0x5e71ee,_0x59c565){return!!this['rows']&&(_0x5e71ee['addLeafElement'](_0x59c565,_0x5e71ee['elt']('Table',_0x59c565['start'],_0x59c565['start']+_0x59c565['content']['length'],this['rows'])),!0x0);}}const _0x2c07f3={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':_0x4ccfa4['heading']}},'TableRow',{'name':'TableCell','style':_0x4ccfa4['content']},{'name':'TableDelimiter','style':_0x4ccfa4['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x148abf,_0x26fba9)=>_0x34309f(_0x26fba9['content'],0x0)?new _0x252880():null,'endLeaf'(_0x22b7cf,_0x38bb97,_0xda6760){if(_0xda6760['parsers']['some'](_0x2f0b59=>_0x2f0b59 instanceof _0x252880)||!_0x34309f(_0x38bb97['text'],_0x38bb97['basePos']))return!0x1;let _0x470371=_0x22b7cf['peekLine']();return _0x12a2e7['test'](_0x470371)&&_0x50cb34(_0x22b7cf,_0x38bb97['text'],_0x38bb97['basePos'])==_0x50cb34(_0x22b7cf,_0x470371,_0x38bb97['basePos']);},'before':'SetextHeading'}]};class _0x53f8d7{['nextLine'](){return!0x1;}['finish'](_0x249047,_0x1d678d){return _0x249047['addLeafElement'](_0x1d678d,_0x249047['elt']('Task',_0x1d678d['start'],_0x1d678d['start']+_0x1d678d['content']['length'],[_0x249047['elt']('TaskMarker',_0x1d678d['start'],_0x1d678d['start']+0x3),..._0x249047['parser']['parseInline'](_0x1d678d['content']['slice'](0x3),_0x1d678d['start']+0x3)])),!0x0;}}const _0x3f3fe7={'defineNodes':[{'name':'Task','block':!0x0,'style':_0x4ccfa4['list']},{'name':'TaskMarker','style':_0x4ccfa4['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0xdf8fe6,_0x1bfcbf)=>/^\[[ xX]\][ \t]/['test'](_0x1bfcbf['content'])&&'ListItem'==_0xdf8fe6['parentType']()['name']?new _0x53f8d7():null,'after':'SetextHeading'}]},_0x4f8b7b=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x3eb19c=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,_0x33106e=/[\w-]+\.[\w-]+($|\/)/,_0xbc8428=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x223594=/\/[a-zA-Z\d@.]+/gy;function _0x4da0ef(_0x28c60f,_0x3495f1,_0x60610c,_0x7a64f3){let _0x329041=0x0;for(let _0x3f5f73=_0x3495f1;_0x3f5f73<_0x60610c;_0x3f5f73++)_0x28c60f[_0x3f5f73]==_0x7a64f3&&_0x329041++;return _0x329041;}function _0x501bf6(_0x88582d,_0x45201e){_0xbc8428['lastIndex']=_0x45201e;let _0x23bac3=_0xbc8428['exec'](_0x88582d);if(!_0x23bac3)return-0x1;let _0x364985=_0x23bac3[0x0][_0x23bac3[0x0]['length']-0x1];return'_'==_0x364985||'-'==_0x364985?-0x1:_0x45201e+_0x23bac3[0x0]['length']-('.'==_0x364985?0x1:0x0);}const _0x501c27={'parseInline':[{'name':'Autolink','parse'(_0x576607,_0x34ab33,_0x3e9884){let _0x3ac1be=_0x3e9884-_0x576607['offset'];if(_0x3ac1be&&/\w/['test'](_0x576607['text'][_0x3ac1be-0x1]))return-0x1;_0x4f8b7b['lastIndex']=_0x3ac1be;let _0x165461=_0x4f8b7b['exec'](_0x576607['text']),_0x22e59f=-0x1;if(!_0x165461)return-0x1;if(_0x165461[0x1]||_0x165461[0x2])(_0x22e59f=function(_0x389017,_0x5e9e74){_0x3eb19c['lastIndex']=_0x5e9e74;let _0x260b87=_0x3eb19c['exec'](_0x389017);if(!_0x260b87||_0x33106e['exec'](_0x260b87[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x5d0466=_0x5e9e74+_0x260b87[0x0]['length'];for(;;){let _0x5f4919,_0x1e1cc8=_0x389017[_0x5d0466-0x1];if(/[?!.,:*_~]/['test'](_0x1e1cc8)||')'==_0x1e1cc8&&_0x4da0ef(_0x389017,_0x5e9e74,_0x5d0466,')')>_0x4da0ef(_0x389017,_0x5e9e74,_0x5d0466,'('))_0x5d0466--;else{if(';'!=_0x1e1cc8||!(_0x5f4919=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x389017['slice'](_0x5e9e74,_0x5d0466))))break;_0x5d0466=_0x5e9e74+_0x5f4919['index'];}}return _0x5d0466;}(_0x576607['text'],_0x3ac1be+_0x165461[0x0]['length']),_0x22e59f>-0x1&&_0x576607['hasOpenLink'])&&(_0x22e59f=_0x3ac1be+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x576607['text']['slice'](_0x3ac1be,_0x22e59f))[0x0]['length']);else _0x165461[0x3]?_0x22e59f=_0x501bf6(_0x576607['text'],_0x3ac1be):(_0x22e59f=_0x501bf6(_0x576607['text'],_0x3ac1be+_0x165461[0x0]['length']),_0x22e59f>-0x1&&'xmpp:'==_0x165461[0x0]&&(_0x223594['lastIndex']=_0x22e59f,_0x165461=_0x223594['exec'](_0x576607['text']),_0x165461&&(_0x22e59f=_0x165461['index']+_0x165461[0x0]['length'])));return _0x22e59f<0x0?-0x1:(_0x576607['addElement'](_0x576607['elt']('URL',_0x3e9884,_0x22e59f+_0x576607['offset'])),_0x22e59f+_0x576607['offset']);}}]},_0x51e559=[_0x2c07f3,_0x3f3fe7,_0x448e6f,_0x501c27];function _0x5e68fe(_0x29a7bf,_0x53c6b9,_0x5597b5){return(_0x332a70,_0x1193fd,_0x21d3f9)=>{if(_0x1193fd!=_0x29a7bf||_0x332a70['char'](_0x21d3f9+0x1)==_0x29a7bf)return-0x1;let _0x875bdc=[_0x332a70['elt'](_0x5597b5,_0x21d3f9,_0x21d3f9+0x1)];for(let _0x9738b6=_0x21d3f9+0x1;_0x9738b6<_0x332a70['end'];_0x9738b6++){let _0x1d23bd=_0x332a70['char'](_0x9738b6);if(_0x1d23bd==_0x29a7bf)return _0x332a70['addElement'](_0x332a70['elt'](_0x53c6b9,_0x21d3f9,_0x9738b6+0x1,_0x875bdc['concat'](_0x332a70['elt'](_0x5597b5,_0x9738b6,_0x9738b6+0x1))));if(0x5c==_0x1d23bd&&_0x875bdc['push'](_0x332a70['elt']('Escape',_0x9738b6,0x2+_0x9738b6++)),_0x422f17(_0x1d23bd))break;}return-0x1;};}const _0x1f76d2={'defineNodes':[{'name':'Superscript','style':_0x4ccfa4['special'](_0x4ccfa4['content'])},{'name':'SuperscriptMark','style':_0x4ccfa4['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x5e68fe(0x5e,'Superscript','SuperscriptMark')}]},_0x229ab6={'defineNodes':[{'name':'Subscript','style':_0x4ccfa4['special'](_0x4ccfa4['content'])},{'name':'SubscriptMark','style':_0x4ccfa4['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x5e68fe(0x7e,'Subscript','SubscriptMark')}]},_0x20ca6d={'defineNodes':[{'name':'Emoji','style':_0x4ccfa4['character']}],'parseInline':[{'name':'Emoji','parse'(_0x1e8891,_0xfa9227,_0x256c49){let _0x2c9e2c;return 0x3a==_0xfa9227&&(_0x2c9e2c=/^[a-zA-Z_0-9]+:/['exec'](_0x1e8891['slice'](_0x256c49+0x1,_0x1e8891['end'])))?_0x1e8891['addElement'](_0x1e8891['elt']('Emoji',_0x256c49,_0x256c49+0x1+_0x2c9e2c[0x0]['length'])):-0x1;}}]},_0x7061bf=_0x1140e9({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x47e2d2=new _0x326db3(),_0x5cc42c=_0x15c931['configure']({'props':[_0x522c8b['add'](_0x1db597=>!_0x1db597['is']('Block')||_0x1db597['is']('Document')||null!=_0x151488(_0x1db597)||function(_0x378e92){return'OrderedList'==_0x378e92['name']||'BulletList'==_0x378e92['name'];}(_0x1db597)?void 0x0:(_0x5c316f,_0x1a5c60)=>({'from':_0x1a5c60['doc']['lineAt'](_0x5c316f['from'])['to'],'to':_0x5c316f['to']})),_0x47e2d2['add'](_0x151488),_0x417a5d['add']({'Document':()=>null}),_0x5f083f['add']({'Document':_0x7061bf})]});function _0x151488(_0x53b85f){let _0x510252=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x53b85f['name']);return _0x510252?+_0x510252[0x1]:void 0x0;}function _0x1cf315(_0x1002de,_0x482f58){let _0x29d9de=_0x1002de;for(;;){let _0x19d0e8,_0x471d63=_0x29d9de['nextSibling'];if(!_0x471d63||null!=(_0x19d0e8=_0x151488(_0x471d63['type']))&&_0x19d0e8<=_0x482f58)break;_0x29d9de=_0x471d63;}return _0x29d9de['to'];}const tR=_0x27c9ce['of']((_0x17a472,_0x885b78,_0x2d3749)=>{for(let _0x2e5f46=tE(_0x17a472)['resolveInner'](_0x2d3749,-0x1);_0x2e5f46&&!(_0x2e5f46['from']<_0x885b78);_0x2e5f46=_0x2e5f46['parent']){let _0x28a2df=_0x2e5f46['type']['prop'](_0x47e2d2);if(null==_0x28a2df)continue;let _0x245c63=_0x1cf315(_0x2e5f46,_0x28a2df);if(_0x245c63>_0x2d3749)return{'from':_0x2d3749,'to':_0x245c63};}return null;});function _0x4ebb73(_0x32570e){return new _0x2ed6a7(_0x7061bf,_0x32570e,[tR],'markdown');}const _0x51b6b5=_0x4ebb73(_0x5cc42c),_0x15d6b6=_0x4ebb73(_0x5cc42c['configure']([_0x51e559,_0x229ab6,_0x1f76d2,_0x20ca6d,{'props':[_0x522c8b['add']({'Table':(_0x504ac9,_0x8e38fc)=>({'from':_0x8e38fc['doc']['lineAt'](_0x504ac9['from'])['to'],'to':_0x504ac9['to']})})]}]));class Context{constructor(_0x45c6d6,_0x4f839d,_0x37239d,_0x54ab4e,_0x3fe668,_0x5055ce,_0x536e44){this['node']=_0x45c6d6,this['from']=_0x4f839d,this['to']=_0x37239d,this['spaceBefore']=_0x54ab4e,this['spaceAfter']=_0x3fe668,this['type']=_0x5055ce,this['item']=_0x536e44;}['blank'](_0x31eca5,_0x1c4c3d=!0x0){let _0x34da71=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x31eca5){for(;_0x34da71['length']<_0x31eca5;)_0x34da71+='\x20';return _0x34da71;}for(let _0x514b7=this['to']-this['from']-_0x34da71['length']-this['spaceAfter']['length'];_0x514b7>0x0;_0x514b7--)_0x34da71+='\x20';return _0x34da71+(_0x1c4c3d?this['spaceAfter']:'');}['marker'](_0x37d80f,_0x47dd84){let _0x19fafe='OrderedList'==this['node']['name']?String(+_0x5bc709(this['item'],_0x37d80f)[0x2]+_0x47dd84):'';return this['spaceBefore']+_0x19fafe+this['type']+this['spaceAfter'];}}function _0x3e1fe0(_0x403c74,_0x366348){let _0x21df7a=[],_0x5248cb=[];for(let _0x42d1b4=_0x403c74;_0x42d1b4;_0x42d1b4=_0x42d1b4['parent']){if('FencedCode'==_0x42d1b4['name'])return _0x5248cb;'ListItem'!=_0x42d1b4['name']&&'Blockquote'!=_0x42d1b4['name']||_0x21df7a['push'](_0x42d1b4);}for(let _0x968c5b=_0x21df7a['length']-0x1;_0x968c5b>=0x0;_0x968c5b--){let _0x36c5ca,_0x4553a7=_0x21df7a[_0x968c5b],_0x551852=_0x366348['lineAt'](_0x4553a7['from']),_0x3ef40d=_0x4553a7['from']-_0x551852['from'];if('Blockquote'==_0x4553a7['name']&&(_0x36c5ca=/^ *>( ?)/['exec'](_0x551852['text']['slice'](_0x3ef40d))))_0x5248cb['push'](new Context(_0x4553a7,_0x3ef40d,_0x3ef40d+_0x36c5ca[0x0]['length'],'',_0x36c5ca[0x1],'>',null));else{if('ListItem'==_0x4553a7['name']&&'OrderedList'==_0x4553a7['parent']['name']&&(_0x36c5ca=/^( *)\d+([.)])( *)/['exec'](_0x551852['text']['slice'](_0x3ef40d)))){let _0x3ce0b5=_0x36c5ca[0x3],_0x1d319d=_0x36c5ca[0x0]['length'];_0x3ce0b5['length']>=0x4&&(_0x3ce0b5=_0x3ce0b5['slice'](0x0,_0x3ce0b5['length']-0x4),_0x1d319d-=0x4),_0x5248cb['push'](new Context(_0x4553a7['parent'],_0x3ef40d,_0x3ef40d+_0x1d319d,_0x36c5ca[0x1],_0x3ce0b5,_0x36c5ca[0x2],_0x4553a7));}else{if('ListItem'==_0x4553a7['name']&&'BulletList'==_0x4553a7['parent']['name']&&(_0x36c5ca=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x551852['text']['slice'](_0x3ef40d)))){let _0x5c2d5d=_0x36c5ca[0x4],_0x432207=_0x36c5ca[0x0]['length'];_0x5c2d5d['length']>0x4&&(_0x5c2d5d=_0x5c2d5d['slice'](0x0,_0x5c2d5d['length']-0x4),_0x432207-=0x4);let _0x142950=_0x36c5ca[0x2];_0x36c5ca[0x3]&&(_0x142950+=_0x36c5ca[0x3]['replace'](/[xX]/,'\x20')),_0x5248cb['push'](new Context(_0x4553a7['parent'],_0x3ef40d,_0x3ef40d+_0x432207,_0x36c5ca[0x1],_0x5c2d5d,_0x142950,_0x4553a7));}}}}return _0x5248cb;}function _0x5bc709(_0x3476a4,_0x2663ab){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x2663ab['sliceString'](_0x3476a4['from'],_0x3476a4['from']+0xa));}function _0x1a74e3(_0x51f11e,_0x395c3c,_0x3e2f0e,_0x58b864=0x0){for(let _0x550684=-0x1,_0x18e3ea=_0x51f11e;;){if('ListItem'==_0x18e3ea['name']){let _0x1ab45b=_0x5bc709(_0x18e3ea,_0x395c3c),_0x2263b7=+_0x1ab45b[0x2];if(_0x550684>=0x0){if(_0x2263b7!=_0x550684+0x1)return;_0x3e2f0e['push']({'from':_0x18e3ea['from']+_0x1ab45b[0x1]['length'],'to':_0x18e3ea['from']+_0x1ab45b[0x0]['length'],'insert':String(_0x550684+0x2+_0x58b864)});}_0x550684=_0x2263b7;}let _0x3adb87=_0x18e3ea['nextSibling'];if(!_0x3adb87)break;_0x18e3ea=_0x3adb87;}}function _0x4f547e(_0x5ba0a9,_0x3e5944){let _0x20e0b4=/^[ \t]*/['exec'](_0x5ba0a9)[0x0]['length'];if(!_0x20e0b4||'\x09'!=_0x3e5944['facet'](_0x2dcdb5))return _0x5ba0a9;let _0x48a99a='';for(let _0x1dc5ad=_0xfde3a0(_0x5ba0a9,0x4,_0x20e0b4);_0x1dc5ad>0x0;)_0x1dc5ad>=0x4?(_0x48a99a+='\x09',_0x1dc5ad-=0x4):(_0x48a99a+='\x20',_0x1dc5ad--);return _0x48a99a+_0x5ba0a9['slice'](_0x20e0b4);}function _0x88558e(_0x3df2c4){return'QuoteMark'==_0x3df2c4['name']||'ListMark'==_0x3df2c4['name'];}function _0x5e2505(_0x45a39f,_0x3e66c1,_0xcadc3a){let _0x2927b8='';for(let _0x5b591c=0x0,_0x4bacdb=_0x45a39f['length']-0x2;_0x5b591c<=_0x4bacdb;_0x5b591c++)_0x2927b8+=_0x45a39f[_0x5b591c]['blank'](_0x5b591c<_0x4bacdb?_0xfde3a0(_0xcadc3a['text'],0x4,Math['min'](_0xcadc3a['text']['length'],_0x45a39f[_0x5b591c+0x1]['from']))-_0x2927b8['length']:null,_0x5b591c<_0x4bacdb);return _0x4f547e(_0x2927b8,_0x3e66c1);}const _0x2c40c5=[{'key':'Enter','run':({state:_0x1f3b6c,dispatch:_0xbe6583})=>{let _0x27022d=tE(_0x1f3b6c),{doc:_0x496f3b}=_0x1f3b6c,_0x34c99b=null,_0xfd6059=_0x1f3b6c['changeByRange'](_0x24e122=>{if(!_0x24e122['empty']||!_0x15d6b6['isActiveAt'](_0x1f3b6c,_0x24e122['from'],0x0))return _0x34c99b={'range':_0x24e122};let _0x4eb885=_0x24e122['from'],_0x3a88ba=_0x496f3b['lineAt'](_0x4eb885),_0x57851c=_0x3e1fe0(_0x27022d['resolveInner'](_0x4eb885,-0x1),_0x496f3b);for(;_0x57851c['length']&&_0x57851c[_0x57851c['length']-0x1]['from']>_0x4eb885-_0x3a88ba['from'];)_0x57851c['pop']();if(!_0x57851c['length'])return _0x34c99b={'range':_0x24e122};let _0x51c2e8=_0x57851c[_0x57851c['length']-0x1];if(_0x51c2e8['to']-_0x51c2e8['spaceAfter']['length']>_0x4eb885-_0x3a88ba['from'])return _0x34c99b={'range':_0x24e122};let _0x3961bc=_0x4eb885>=_0x51c2e8['to']-_0x51c2e8['spaceAfter']['length']&&!/\S/['test'](_0x3a88ba['text']['slice'](_0x51c2e8['to']));if(_0x51c2e8['item']&&_0x3961bc){let _0x1e0935=_0x51c2e8['node']['firstChild'],_0x4889e9=_0x51c2e8['node']['getChild']('ListItem','ListItem');if(_0x1e0935['to']>=_0x4eb885||_0x4889e9&&_0x4889e9['to']<_0x4eb885||_0x3a88ba['from']>0x0&&!/[^\s>]/['test'](_0x496f3b['lineAt'](_0x3a88ba['from']-0x1)['text'])){let _0x3a600a,_0x1b7827=_0x57851c['length']>0x1?_0x57851c[_0x57851c['length']-0x2]:null,_0x196b47='';_0x1b7827&&_0x1b7827['item']?(_0x3a600a=_0x3a88ba['from']+_0x1b7827['from'],_0x196b47=_0x1b7827['marker'](_0x496f3b,0x1)):_0x3a600a=_0x3a88ba['from']+(_0x1b7827?_0x1b7827['to']:0x0);let _0x36fc8b=[{'from':_0x3a600a,'to':_0x4eb885,'insert':_0x196b47}];return'OrderedList'==_0x51c2e8['node']['name']&&_0x1a74e3(_0x51c2e8['item'],_0x496f3b,_0x36fc8b,-0x2),_0x1b7827&&'OrderedList'==_0x1b7827['node']['name']&&_0x1a74e3(_0x1b7827['item'],_0x496f3b,_0x36fc8b),{'range':EditorSelection['cursor'](_0x3a600a+_0x196b47['length']),'changes':_0x36fc8b};}{let _0x3967b4=_0x5e2505(_0x57851c,_0x1f3b6c,_0x3a88ba);return{'range':EditorSelection['cursor'](_0x4eb885+_0x3967b4['length']+0x1),'changes':{'from':_0x3a88ba['from'],'insert':_0x3967b4+_0x1f3b6c['lineBreak']}};}}if('Blockquote'==_0x51c2e8['node']['name']&&_0x3961bc&&_0x3a88ba['from']){let _0x4eb126=_0x496f3b['lineAt'](_0x3a88ba['from']-0x1),_0x372c46=/>\s*$/['exec'](_0x4eb126['text']);if(_0x372c46&&_0x372c46['index']==_0x51c2e8['from']){let _0x2b0553=_0x1f3b6c['changes']([{'from':_0x4eb126['from']+_0x372c46['index'],'to':_0x4eb126['to']},{'from':_0x3a88ba['from']+_0x51c2e8['from'],'to':_0x3a88ba['to']}]);return{'range':_0x24e122['map'](_0x2b0553),'changes':_0x2b0553};}}let _0x36088a=[];'OrderedList'==_0x51c2e8['node']['name']&&_0x1a74e3(_0x51c2e8['item'],_0x496f3b,_0x36088a);let _0x521576=_0x51c2e8['item']&&_0x51c2e8['item']['from']<_0x3a88ba['from'],_0x367213='';if(!_0x521576||/^[\s\d.)\-+*>]*/['exec'](_0x3a88ba['text'])[0x0]['length']>=_0x51c2e8['to']){for(let _0xa9ade6=0x0,_0x200c20=_0x57851c['length']-0x1;_0xa9ade6<=_0x200c20;_0xa9ade6++)_0x367213+=_0xa9ade6!=_0x200c20||_0x521576?_0x57851c[_0xa9ade6]['blank'](_0xa9ade6<_0x200c20?_0xfde3a0(_0x3a88ba['text'],0x4,_0x57851c[_0xa9ade6+0x1]['from'])-_0x367213['length']:null):_0x57851c[_0xa9ade6]['marker'](_0x496f3b,0x1);}let _0x2e6fa4=_0x4eb885;for(;_0x2e6fa4>_0x3a88ba['from']&&/\s/['test'](_0x3a88ba['text']['charAt'](_0x2e6fa4-_0x3a88ba['from']-0x1));)_0x2e6fa4--;return _0x367213=_0x4f547e(_0x367213,_0x1f3b6c),function(_0x9d8c64,_0x84b48e){if('OrderedList'!=_0x9d8c64['name']&&'BulletList'!=_0x9d8c64['name'])return!0x1;let _0x4de91f=_0x9d8c64['firstChild'],_0x3c1e5c=_0x9d8c64['getChild']('ListItem','ListItem');if(!_0x3c1e5c)return!0x1;let _0xe72353=_0x84b48e['lineAt'](_0x4de91f['to']),_0xb0a5d5=_0x84b48e['lineAt'](_0x3c1e5c['from']),_0x40b757=/^[\s>]*$/['test'](_0xe72353['text']);return _0xe72353['number']+(_0x40b757?0x0:0x1)<_0xb0a5d5['number'];}(_0x51c2e8['node'],_0x1f3b6c['doc'])&&(_0x367213=_0x5e2505(_0x57851c,_0x1f3b6c,_0x3a88ba)+_0x1f3b6c['lineBreak']+_0x367213),_0x36088a['push']({'from':_0x2e6fa4,'to':_0x4eb885,'insert':_0x1f3b6c['lineBreak']+_0x367213}),{'range':EditorSelection['cursor'](_0x2e6fa4+_0x367213['length']+0x1),'changes':_0x36088a};});return!_0x34c99b&&(_0xbe6583(_0x1f3b6c['update'](_0xfd6059,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x59b0eb,dispatch:_0x31ce3a})=>{let _0x5d09d4=tE(_0x59b0eb),_0x3e2a4a=null,_0x30a9f0=_0x59b0eb['changeByRange'](_0x46d521=>{let _0x2b5fcb=_0x46d521['from'],{doc:_0x25855a}=_0x59b0eb;if(_0x46d521['empty']&&_0x15d6b6['isActiveAt'](_0x59b0eb,_0x46d521['from'])){let _0x17d4ab=_0x25855a['lineAt'](_0x2b5fcb),_0x1c575b=_0x3e1fe0(function(_0x379063,_0x1e2b31){let _0x4f849b=_0x379063['resolveInner'](_0x1e2b31,-0x1),_0x2a3b7b=_0x1e2b31;_0x88558e(_0x4f849b)&&(_0x2a3b7b=_0x4f849b['from'],_0x4f849b=_0x4f849b['parent']);for(let _0xb0a9c7;_0xb0a9c7=_0x4f849b['childBefore'](_0x2a3b7b);)if(_0x88558e(_0xb0a9c7))_0x2a3b7b=_0xb0a9c7['from'];else{if('OrderedList'!=_0xb0a9c7['name']&&'BulletList'!=_0xb0a9c7['name'])break;_0x4f849b=_0xb0a9c7['lastChild'],_0x2a3b7b=_0x4f849b['to'];}return _0x4f849b;}(_0x5d09d4,_0x2b5fcb),_0x25855a);if(_0x1c575b['length']){let _0x2441d4=_0x1c575b[_0x1c575b['length']-0x1],_0x38e3c2=_0x2441d4['to']-_0x2441d4['spaceAfter']['length']+(_0x2441d4['spaceAfter']?0x1:0x0);if(_0x2b5fcb-_0x17d4ab['from']>_0x38e3c2&&!/\S/['test'](_0x17d4ab['text']['slice'](_0x38e3c2,_0x2b5fcb-_0x17d4ab['from'])))return{'range':EditorSelection['cursor'](_0x17d4ab['from']+_0x38e3c2),'changes':{'from':_0x17d4ab['from']+_0x38e3c2,'to':_0x2b5fcb}};if(_0x2b5fcb-_0x17d4ab['from']==_0x38e3c2&&(!_0x2441d4['item']||_0x17d4ab['from']<=_0x2441d4['item']['from']||!/\S/['test'](_0x17d4ab['text']['slice'](0x0,_0x2441d4['to'])))){let _0x4fdf41=_0x17d4ab['from']+_0x2441d4['from'];if(_0x2441d4['item']&&_0x2441d4['node']['from']<_0x2441d4['item']['from']&&/\S/['test'](_0x17d4ab['text']['slice'](_0x2441d4['from'],_0x2441d4['to']))){let _0x306514=_0x2441d4['blank'](_0xfde3a0(_0x17d4ab['text'],0x4,_0x2441d4['to'])-_0xfde3a0(_0x17d4ab['text'],0x4,_0x2441d4['from']));return _0x4fdf41==_0x17d4ab['from']&&(_0x306514=_0x4f547e(_0x306514,_0x59b0eb)),{'range':EditorSelection['cursor'](_0x4fdf41+_0x306514['length']),'changes':{'from':_0x4fdf41,'to':_0x17d4ab['from']+_0x2441d4['to'],'insert':_0x306514}};}if(_0x4fdf41<_0x2b5fcb)return{'range':EditorSelection['cursor'](_0x4fdf41),'changes':{'from':_0x4fdf41,'to':_0x2b5fcb}};}}}return _0x3e2a4a={'range':_0x46d521};});return!_0x3e2a4a&&(_0x31ce3a(_0x59b0eb['update'](_0x30a9f0,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],_0x533ffa=_0x15e2ca({'matchClosingTags':!0x1});function _0x25934c(_0x7e2fee={}){let {codeLanguages:_0x4a82ec,defaultCodeLanguage:_0x4e66e2,addKeymap:_0x29473c=!0x0,base:{parser:_0x36597b}=_0x51b6b5,completeHTMLTags:_0x32a055=!0x0,htmlTagLanguage:_0x5d55cc=_0x533ffa}=_0x7e2fee;if(!(_0x36597b instanceof _0x5f5244))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x5610bf,_0x16c583=_0x7e2fee['extensions']?[_0x7e2fee['extensions']]:[],_0x510247=[_0x5d55cc['support']];_0x4e66e2 instanceof LanguageSupport?(_0x510247['push'](_0x4e66e2['support']),_0x5610bf=_0x4e66e2['language']):_0x4e66e2&&(_0x5610bf=_0x4e66e2);let _0x10afd6=_0x4a82ec||_0x5610bf?(_0x486a39=_0x4a82ec,_0x2a141c=_0x5610bf,_0x51fb5d=>{if(_0x51fb5d&&_0x486a39){let _0x42ece8=null;if(_0x51fb5d=/\S*/['exec'](_0x51fb5d)[0x0],_0x42ece8='function'==typeof _0x486a39?_0x486a39(_0x51fb5d):LanguageDescription['matchLanguageName'](_0x486a39,_0x51fb5d,!0x0),_0x42ece8 instanceof LanguageDescription)return _0x42ece8['support']?_0x42ece8['support']['language']['parser']:ParseContext['getSkippingParser'](_0x42ece8['load']());if(_0x42ece8)return _0x42ece8['parser'];}return _0x2a141c?_0x2a141c['parser']:null;}):void 0x0;var _0x486a39,_0x2a141c;_0x16c583['push'](function(_0x3c8c7d){let {codeParser:_0x4bc1c8,htmlParser:_0x1f8617}=_0x3c8c7d,_0x3ef27c=_0x366d76((_0x4718f8,_0x30ba4c)=>{let _0x396c8d=_0x4718f8['type']['id'];if(!_0x4bc1c8||_0x396c8d!=_0x29b4eb['CodeBlock']&&_0x396c8d!=_0x29b4eb['FencedCode']){if(_0x1f8617&&(_0x396c8d==_0x29b4eb['HTMLBlock']||_0x396c8d==_0x29b4eb['HTMLTag']||_0x396c8d==_0x29b4eb['CommentBlock']))return{'parser':_0x1f8617,'overlay':_0x44112f(_0x4718f8['node'],_0x4718f8['from'],_0x4718f8['to'])};}else{let _0x2bd1ed='';if(_0x396c8d==_0x29b4eb['FencedCode']){let _0x260b20=_0x4718f8['node']['getChild'](_0x29b4eb['CodeInfo']);_0x260b20&&(_0x2bd1ed=_0x30ba4c['read'](_0x260b20['from'],_0x260b20['to']));}let _0x1e0b94=_0x4bc1c8(_0x2bd1ed);if(_0x1e0b94)return{'parser':_0x1e0b94,'overlay':_0x442c5e=>_0x442c5e['type']['id']==_0x29b4eb['CodeText']};}return null;});return{'wrap':_0x3ef27c};}({'codeParser':_0x10afd6,'htmlParser':_0x5d55cc['language']['parser']})),_0x29473c&&_0x510247['push'](_0x14b795['high'](_0xebaf37['of'](_0x2c40c5)));let _0x3ac173=_0x4ebb73(_0x36597b['configure'](_0x16c583));return _0x32a055&&_0x510247['push'](_0x3ac173['data']['of']({'autocomplete':_0x16d05d})),new LanguageSupport(_0x3ac173,_0x510247);}function _0x16d05d(_0x36d101){let {state:_0x3addd1,pos:_0x26d0df}=_0x36d101,_0x5aa61a=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x3addd1['sliceDoc'](_0x26d0df-0x19,_0x26d0df));if(!_0x5aa61a)return null;let _0x16a51b=tE(_0x3addd1)['resolveInner'](_0x26d0df,-0x1);for(;_0x16a51b&&!_0x16a51b['type']['isTop'];){if('CodeBlock'==_0x16a51b['name']||'FencedCode'==_0x16a51b['name']||'ProcessingInstructionBlock'==_0x16a51b['name']||'CommentBlock'==_0x16a51b['name']||'Link'==_0x16a51b['name']||'Image'==_0x16a51b['name'])return null;_0x16a51b=_0x16a51b['parent'];}return{'from':_0x26d0df-_0x5aa61a[0x0]['length'],'to':_0x26d0df,'options':_0x5174e6(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _0x1beb23=null;function _0x5174e6(){if(_0x1beb23)return _0x1beb23;let _0x37b224=(_0x57912c=new CompletionContext(EditorState['create']({'extensions':_0x533ffa}),0x0,!0x0),_0x1dca39(_0xb67832['default'],_0x57912c));var _0x57912c;return _0x1beb23=_0x37b224?_0x37b224['options']:[];}const _0x440c41='#e06c75',_0x4da966='#abb2bf',_0x42cd20='#7d8799',_0x12727e='#d19a66',_0x4805c0='#2c313a',_0xea5a93='#282c34',_0x4f247b='#353a42',_0x35df40='#528bff',_0xe7394=[EditorView['theme']({'&':{'color':_0x4da966,'backgroundColor':_0xea5a93},'.cm-content':{'caretColor':_0x35df40},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x35df40},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':'#3E4451'},'.cm-panels':{'backgroundColor':'#21252b','color':_0x4da966},'.cm-panels.cm-panels-top':{'borderBottom':'2px\x20solid\x20black'},'.cm-panels.cm-panels-bottom':{'borderTop':'2px\x20solid\x20black'},'.cm-searchMatch':{'backgroundColor':'#72a1ff59','outline':'1px\x20solid\x20#457dff'},'.cm-searchMatch.cm-searchMatch-selected':{'backgroundColor':'#6199ff2f'},'.cm-activeLine':{'backgroundColor':'#6699ff0b'},'.cm-selectionMatch':{'backgroundColor':'#aafe661a'},'&.cm-focused\x20.cm-matchingBracket,\x20&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bad0f847'},'.cm-gutters':{'backgroundColor':_0xea5a93,'color':_0x42cd20,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':_0x4805c0},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_0x4f247b},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_0x4f247b,'borderBottomColor':_0x4f247b},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':_0x4805c0,'color':_0x4da966}}},{'dark':!0x0}),_0x3f368c(HighlightStyle['define']([{'tag':_0x4ccfa4['keyword'],'color':'#c678dd'},{'tag':[_0x4ccfa4['name'],_0x4ccfa4['deleted'],_0x4ccfa4['character'],_0x4ccfa4['propertyName'],_0x4ccfa4['macroName']],'color':_0x440c41},{'tag':[_0x4ccfa4['function'](_0x4ccfa4['variableName']),_0x4ccfa4['labelName']],'color':'#61afef'},{'tag':[_0x4ccfa4['color'],_0x4ccfa4['constant'](_0x4ccfa4['name']),_0x4ccfa4['standard'](_0x4ccfa4['name'])],'color':_0x12727e},{'tag':[_0x4ccfa4['definition'](_0x4ccfa4['name']),_0x4ccfa4['separator']],'color':_0x4da966},{'tag':[_0x4ccfa4['typeName'],_0x4ccfa4['className'],_0x4ccfa4['number'],_0x4ccfa4['changed'],_0x4ccfa4['annotation'],_0x4ccfa4['modifier'],_0x4ccfa4['self'],_0x4ccfa4['namespace']],'color':'#e5c07b'},{'tag':[_0x4ccfa4['operator'],_0x4ccfa4['operatorKeyword'],_0x4ccfa4['url'],_0x4ccfa4['escape'],_0x4ccfa4['regexp'],_0x4ccfa4['link'],_0x4ccfa4['special'](_0x4ccfa4['string'])],'color':'#56b6c2'},{'tag':[_0x4ccfa4['meta'],_0x4ccfa4['comment']],'color':_0x42cd20},{'tag':_0x4ccfa4['strong'],'fontWeight':'bold'},{'tag':_0x4ccfa4['emphasis'],'fontStyle':'italic'},{'tag':_0x4ccfa4['strikethrough'],'textDecoration':'line-through'},{'tag':_0x4ccfa4['link'],'color':_0x42cd20,'textDecoration':'underline'},{'tag':_0x4ccfa4['heading'],'fontWeight':'bold','color':_0x440c41},{'tag':[_0x4ccfa4['atom'],_0x4ccfa4['bool'],_0x4ccfa4['special'](_0x4ccfa4['variableName'])],'color':_0x12727e},{'tag':[_0x4ccfa4['processingInstruction'],_0x4ccfa4['string'],_0x4ccfa4['inserted']],'color':'#98c379'},{'tag':_0x4ccfa4['invalid'],'color':'#ffffff'}]))];function _0x162029(_0x1164f8){const _0x5d2b26=[EditorView['lineWrapping'],_0x132d42(),_0x1e9834(),_0x3f0081(),_0x368ef8(),_0x5aaddc(),_0x381742(),_0x18ffe4(),_0x4106cd(),_0x3f10fa(),_0x270a00(),_0x1b408e(),_0x298dba(),_0x13c117(),_0xee9f73(),_0x3f368c(_0x2c9b3,{'fallback':!0x0})],_0x2304e4=new Compartment();_0x5d2b26['push'](_0x2304e4['of'](EditorView['editable']['of'](!0x0))),'html'===_0x1164f8['syntaxLanguage']?_0x5d2b26['push'](_0x15e2ca()):_0x5d2b26['push'](_0x25934c());const _0x27d7ef=function(_0x2d3710){if(_0x2d3710&&'default'!==_0x2d3710)return'dark'===_0x2d3710?_0xe7394:_0x2d3710;return null;}(_0x1164f8['theme']);_0x27d7ef&&_0x5d2b26['push'](_0x27d7ef),_0x5d2b26['push'](_0xebaf37['of']([..._0x53506c,..._0x39f33d,..._0x20825d,..._0xfa0a29,..._0x250a68,{'key':'Tab','run':_0xa49f26,'shift':_0x237ab6,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5d6252,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5d6252,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x32532d,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2b15e2=new EditorView({'extensions':_0x5d2b26,'parent':_0x1164f8['parent']});return _0x39d577(_0x2b15e2),{'focus':()=>{_0x2b15e2['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2b15e2['focus']();},'getData':()=>_0x2b15e2['state']['doc']['toString'](),'setData':_0x2e3708=>{_0x2b15e2['dispatch']({'changes':{'from':0x0,'to':_0x2b15e2['state']['doc']['length'],'insert':_0x2e3708},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x73a401=>{_0x2b15e2['dispatch']({'effects':[_0x2304e4['reconfigure'](EditorView['editable']['of'](!_0x73a401))]});},'destroy':()=>{_0x2b15e2['destroy']();},'instance':_0x2b15e2};}class CodeEditorView extends _0x31c75c['View']{['_codeEditorApi']=null;['_options'];constructor(_0x27facb,_0x449703){super(_0x27facb),this['_options']=_0x449703,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=_0x162029({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x322d1c,_0x7d5a3d,_0x334d6d)=>{this['setReadOnly'](_0x334d6d);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x20e360){this['_codeEditorApi']['setData'](_0x20e360);}['setReadOnly'](_0xe6d4d5){this['_codeEditorApi']['setReadOnly'](_0xe6d4d5);}}const _0x8efed1='SourceEditingEnhancedMode';class EditSourceCommand extends _0x31c75c['Command']{constructor(_0x373e99){super(_0x373e99),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x31c75c['PendingActions'])['on']('change:hasAny',(_0x3057ae,_0x392774,_0x2af530)=>{_0x2af530?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4403ef=this['editor'];for(const _0x2e0b8c of _0x4403ef['commands']['names']())['replaceSource','editSource']['includes'](_0x2e0b8c)||_0x4403ef['commands']['get'](_0x2e0b8c)['forceDisabled'](_0x8efed1);}['_enableCommands'](){const _0x4a8c9b=this['editor'];for(const _0x2c4345 of _0x4a8c9b['commands']['commands']())_0x2c4345['clearForceDisabled'](_0x8efed1);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x18a4ab=this['editor'],_0x20cb89=_0x18a4ab['locale'],_0x12a4ca=_0x18a4ab['plugins']['get']('Dialog'),_0xf8eab9=_0x37e40e(_0x18a4ab),_0x471785=_0x18a4ab['data']['get']({'rootName':_0xf8eab9}),_0x2d55ed=_0x963765(_0x512917=_0x471785)?_0x31c75c['formatHtml'](_0x512917):_0x512917;var _0x512917;const _0x3ff15f=new CodeEditorView(_0x20cb89,{'syntaxLanguage':_0x18a4ab['plugins']['has']('Markdown')?'markdown':'html','theme':_0x18a4ab['config']['get']('sourceEditingEnhanced.theme')});let _0x479cd1=!0x0;const _0x5e5772=_0x4880f9=>{if(!_0x479cd1)return;return tp(_0x3ff15f['getData']())!==tp(_0x2d55ed)?window['confirm'](_0x2bf138(_0x20cb89,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4880f9['stop']():void 0x0;};_0x12a4ca['show']({'id':'sourceEditingEnhanced','title':_0x2bf138(_0x20cb89,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3ff15f,'actionButtons':[{'label':_0x2bf138(_0x20cb89,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x12a4ca['hide']();}},{'label':_0x2bf138(_0x20cb89,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x342722=tp(_0x3ff15f['getData']())!==tp(_0x2d55ed);(_0x342722&&_0x18a4ab['execute']('replaceSource',_0x3ff15f['getData']()),_0x479cd1=!0x1,_0x12a4ca['hide'](),_0x342722&&'editables'in _0x18a4ab['ui']['view'])&&_0x18a4ab['ui']['view']['editables'][_0xf8eab9]['element']['focus']();},'onCreate':_0x3377aa=>{_0x3377aa['set']('isEnabled',!_0x18a4ab['isReadOnly']),_0x3377aa['bind']('isEnabled')['to'](_0x18a4ab,'isReadOnly',this,'isEnabled',(_0x397ff2,_0x5d7c3d)=>!_0x397ff2&&_0x5d7c3d);}}],'onHide':()=>{this['_enableCommands'](),_0x12a4ca['off']('hide',_0x5e5772),_0x3ff15f['destroy']();},'onShow':()=>{_0x3ff15f['bind']('isReadOnly')['to'](_0x18a4ab,'isReadOnly',this,'isEnabled',(_0x1a3035,_0x3aaf21)=>_0x1a3035||!_0x3aaf21),_0x3ff15f['setData'](_0x2d55ed),_0x3ff15f['focus'](),_0x12a4ca['on']('hide',_0x5e5772,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x31c75c['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1fc10b=this['editor'],_0x147335=_0x1fc10b['locale'],_0x3ba984=new EditSourceCommand(_0x1fc10b);_0x1fc10b['commands']['add']('editSource',_0x3ba984),_0x1fc10b['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0xbc49f3=this['_createButton'](_0x31c75c['ButtonView'],_0x3ba984);return _0xbc49f3['set']({'label':_0x2bf138(_0x147335,'Source'),'icon':_0x31c75c['IconSource'],'tooltip':_0x2bf138(_0x147335,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0xbc49f3;}),_0x1fc10b['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2eb81f=this['_createButton'](_0x31c75c['MenuBarMenuListItemButtonView'],_0x3ba984,!0x0);return _0x2eb81f['set']({'label':_0x2bf138(_0x147335,'Edit\x20source\x20modal\x20label'),'icon':_0x31c75c['IconSource'],'role':'menuitemcheckbox'}),_0x2eb81f;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1de607){const _0x184676=_0x2e631d([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x5dc337=0x5dba9314,_0x3cf2c3=0x5dbd197c^_0x5dc337,_0x3559ac=window[_0x2e631d([0x44,0x61,0x74,0x65])][_0x2e631d([0x6e,0x6f,0x77])](),_0x5d3797=_0x1de607[_0x2e631d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55fb25=new window[(_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb662a=>{_0x5d3797[_0x2e631d([0x6f,0x6e,0x63,0x65])](_0x2e631d([0x72,0x65,0x61,0x64,0x79]),_0xfb662a);}),_0x2ab588={[_0x2e631d([0x6b,0x74,0x79])]:_0x2e631d([0x45,0x43]),[_0x2e631d([0x75,0x73,0x65])]:_0x2e631d([0x73,0x69,0x67]),[_0x2e631d([0x63,0x72,0x76])]:_0x2e631d([0x50,0x2d,0x32,0x35,0x36]),[_0x2e631d([0x78])]:_0x2e631d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2e631d([0x79])]:_0x2e631d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2e631d([0x61,0x6c,0x67])]:_0x2e631d([0x45,0x53,0x32,0x35,0x36])},_0x869a99=_0x5d3797[_0x2e631d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e631d([0x67,0x65,0x74])](_0x2e631d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f9bbc(){let _0x5f1d9c,_0x1e0d33=null,_0x21bedf=null;try{if(_0x869a99==_0x2e631d([0x47,0x50,0x4c]))return _0x2e631d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f1d9c=_0x5bd109(),!_0x5f1d9c)return _0x2e631d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f1d9c[_0x2e631d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21bedf=_0xce8f4b(_0x5f1d9c[_0x2e631d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f1d9c[_0x2e631d([0x6a,0x74,0x69])])),await _0x3c2f0a()?_0x2af101()?_0x11f00c()?_0x2e631d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x449a4a()?(_0x5f1d9c[_0x2e631d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e631d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e0d33=_0x19ca56(_0x2e631d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x118c2f()):_0x2e631d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e631d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e631d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e631d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11f00c(){const _0x264e87=[_0x2e631d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e631d([0x74,0x72,0x69,0x61,0x6c])][_0x2e631d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1d9c[_0x2e631d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3559ac/0x3e8:0xe10*_0x3cf2c3;return _0x5f1d9c[_0x2e631d([0x65,0x78,0x70])]<_0x264e87;}function _0x2af101(){const _0x50b9f6=_0x5f1d9c[_0x2e631d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50b9f6&&(!!_0x50b9f6[_0x2e631d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e631d([0x2a]))||!!_0x50b9f6[_0x2e631d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e631d([0x53,0x45,0x45])));}function _0x449a4a(){const _0x691b3a=_0x5f1d9c[_0x2e631d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x691b3a||0x0==_0x691b3a[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b15d6}=new URL(window[_0x2e631d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x691b3a[_0x2e631d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b15d6))return!0x0;const _0x93a792=_0x1b15d6[_0x2e631d([0x73,0x70,0x6c,0x69,0x74])](_0x2e631d([0x2e]));return _0x691b3a[_0x2e631d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x245bd0=>_0x245bd0[_0x2e631d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e631d([0x2a])))[_0x2e631d([0x6d,0x61,0x70])](_0x3190d2=>_0x3190d2[_0x2e631d([0x73,0x70,0x6c,0x69,0x74])](_0x2e631d([0x2e])))[_0x2e631d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x292006=>_0x292006[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x93a792[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e631d([0x6d,0x61,0x70])](_0x4999e2=>Array(_0x93a792[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4999e2[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e631d([0x66,0x69,0x6c,0x6c])](_0x4999e2[0x0]===_0x2e631d([0x2a])?_0x2e631d([0x2a]):'')[_0x2e631d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4999e2))[_0x2e631d([0x73,0x6f,0x6d,0x65])](_0x3f03b8=>_0x93a792[_0x2e631d([0x65,0x76,0x65,0x72,0x79])]((_0x5f46c0,_0x50bd9e)=>_0x3f03b8[_0x50bd9e]===_0x5f46c0||_0x3f03b8[_0x50bd9e]===_0x2e631d([0x2a])));}function _0x118c2f(){return _0x1e0d33&&_0x21bedf?new window[(_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6ab571,_0x1fa414)=>{_0x1e0d33[_0x2e631d([0x74,0x68,0x65,0x6e])](_0x6ab571,_0x1fa414),_0x21bedf[_0x2e631d([0x74,0x68,0x65,0x6e])](_0x13533e=>{_0x13533e!=_0x2e631d([0x56,0x61,0x6c,0x69,0x64])&&_0x6ab571(_0x13533e);},_0x1fa414);}):_0x1e0d33||_0x21bedf||_0x2e631d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xce8f4b(_0x1220e3,_0x496cc5){return new window[(_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecb9fe=>{if(_0xd59dd6())return _0xecb9fe(_0x2e631d([0x56,0x61,0x6c,0x69,0x64]));_0xd5ed0e(),_0x5d3797[_0x2e631d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e631d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58674e=!0x1;const _0x187e31=_0x31c75c['uid']();function _0x16ecda(_0x45d127){return!!_0x45d127&&(typeof _0x45d127===_0x2e631d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45d127===_0x2e631d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45d127[_0x2e631d([0x74,0x68,0x65,0x6e])]===_0x2e631d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45d127[_0x2e631d([0x63,0x61,0x74,0x63,0x68])]===_0x2e631d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23092a(_0x5edd4e){_0x459324(_0x5edd4e)[_0x2e631d([0x74,0x68,0x65,0x6e])](_0x3dd57d=>{if(!_0x3dd57d||_0x3dd57d[_0x2e631d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e631d([0x6f,0x6b]))return _0x2e631d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8b004c(_0x521b13(_0x187e31+_0x496cc5))!=_0x3dd57d[_0x2e631d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e631d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e631d([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e631d([0x74,0x68,0x65,0x6e])](_0x5d4711=>(_0x4ebf37(),_0x5d4711),()=>{const _0x4dab1d=_0x358e17();return null==_0x4dab1d?(_0x4ebf37(),_0x2e631d([0x56,0x61,0x6c,0x69,0x64])):_0x2e631d(_0x3559ac-_0x4dab1d>(0x79b61714^_0x5dc337)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e631d([0x74,0x68,0x65,0x6e])](_0xecb9fe)[_0x2e631d([0x63,0x61,0x74,0x63,0x68])](()=>{_0xecb9fe(_0x2e631d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a5d4d=0x5d8c7d94^_0x5dc337;function _0x4ebf37(){const _0x20f520=_0x2e631d([0x6c,0x6c,0x63,0x74,0x2d])+_0x8b004c(_0x521b13(_0x1220e3)),_0x3d9976=_0x3d850d(_0x8b004c(window[_0x2e631d([0x4d,0x61,0x74,0x68])][_0x2e631d([0x63,0x65,0x69,0x6c])](_0x3559ac/_0x5a5d4d)));window[_0x2e631d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e631d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20f520,_0x3d9976);}function _0x358e17(){const _0x3d3942=_0x2e631d([0x6c,0x6c,0x63,0x74,0x2d])+_0x8b004c(_0x521b13(_0x1220e3)),_0x2c61c4=window[_0x2e631d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e631d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d3942);return _0x2c61c4?window[_0x2e631d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d850d(_0x2c61c4),0x10)*_0x5a5d4d:null;}function _0x459324(_0x4c4b26){return new window[(_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18d851,_0x59e644)=>{_0x4c4b26[_0x2e631d([0x74,0x68,0x65,0x6e])](_0x18d851,_0x59e644),window[_0x2e631d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59e644,0x5dbb47d4^_0x5dc337);});}}_0x5d3797[_0x2e631d([0x6f,0x6e])](_0x2e631d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x333d5b,_0x113bcd)=>{if(_0x113bcd[0x0]!=_0x1220e3)return _0xecb9fe(_0x2e631d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x113bcd[0x1]={..._0x113bcd[0x1],[_0x2e631d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x187e31};},{[_0x2e631d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e631d([0x68,0x69,0x67,0x68])}),_0x5d3797[_0x2e631d([0x6f,0x6e])](_0x2e631d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ba324=>{_0x16ecda(_0x1ba324[_0x2e631d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58674e=!0x0,_0x23092a(_0x1ba324[_0x2e631d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e631d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e631d([0x6c,0x6f,0x77])}),_0x55fb25[_0x2e631d([0x74,0x68,0x65,0x6e])](()=>{_0x58674e||_0xecb9fe(_0x2e631d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd59dd6(){return _0x5d3797[_0x2e631d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e631d([0x76,0x69,0x65,0x77])][_0x2e631d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e631d([0x61,0x75,0x74,0x6f]);}function _0xd5ed0e(){_0x5d3797[_0x2e631d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e631d([0x76,0x69,0x65,0x77])][_0x2e631d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e631d([0x61,0x75,0x74,0x6f]);}}function _0x19ca56(_0xdde0b7){const _0x474a76=[new window[(_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d0a1=>setTimeout(_0x38d0a1,0x5db3add8^_0x5dc337)),_0x55fb25[_0x2e631d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46fb40=>{let _0x3cdc67=0x0;_0x5d3797[_0x2e631d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e631d([0x6f,0x6e])](_0x2e631d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c9d01,_0x3024a1)=>{_0x3024a1[0x0][_0x2e631d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cdc67++,_0x3cdc67==(0x5dba96fc^_0x5dc337)&&(_0x46fb40(),_0x2c9d01[_0x2e631d([0x6f,0x66,0x66])]());});}))];return window[_0x2e631d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e631d([0x72,0x61,0x63,0x65])](_0x474a76)[_0x2e631d([0x74,0x68,0x65,0x6e])](()=>_0xdde0b7);}async function _0x1b6106(){await _0x55fb25,_0x5d3797[_0x2e631d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e631d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b9ed9,_0x5d3797[_0x2e631d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e631d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b9ed9,_0x5d3797[_0x2e631d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e631d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ec29b(_0x154da5){const _0x2f0d3f=_0x5d1bd9();_0x5d3797[_0x2f0d3f]=_0x2e631d([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x154da5,_0x154da5!=_0x2e631d([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6106();}function _0x5d1bd9(){const _0x5d274b=window[_0x2e631d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e631d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e631d([0x6e,0x6f,0x77])]())[_0x2e631d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e631d([0x2e]),'');let _0xdabb67=_0x2e631d([0x4e]);for(let _0x448e21=0x0;_0x448e21<_0x5d274b[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x448e21+=0x2){let _0x150a35=window[_0x2e631d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d274b[_0x2e631d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x448e21,_0x448e21+0x2));_0x150a35>=_0x184676[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x150a35-=_0x184676[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdabb67+=_0x184676[_0x150a35];}return _0xdabb67;}function _0x5bd109(){const _0x438079=_0x869a99[_0x2e631d([0x73,0x70,0x6c,0x69,0x74])](_0x2e631d([0x2e]));if(0x3!=_0x438079[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ae106(_0x438079[0x1]);function _0x4ae106(_0x6960ca){const _0x560c87=_0x313186(_0x6960ca);return _0x560c87&&_0xf53fae()?_0x560c87:null;function _0xf53fae(){const _0x295af4=_0x560c87[_0x2e631d([0x6a,0x74,0x69])],_0x58d767=window[_0x2e631d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x295af4[_0x2e631d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x295af4[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b6d38={..._0x560c87,[_0x2e631d([0x6a,0x74,0x69])]:_0x295af4[_0x2e631d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x295af4[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b6d38[_0x2e631d([0x76,0x63])],_0x521b13(_0x3b6d38)==_0x58d767;}}}async function _0x3c2f0a(){let _0x40cc07=!0x0;try{const _0x3954fb=_0x869a99[_0x2e631d([0x73,0x70,0x6c,0x69,0x74])](_0x2e631d([0x2e])),[_0x423692,_0x124a78,_0x5e92ea]=_0x3954fb;return _0x2e9773(_0x423692),await _0x19bf7f(_0x423692,_0x124a78,_0x5e92ea),_0x40cc07;}catch{return!0x1;}function _0x2e9773(_0x51c8bb){const _0xf46e19=_0x313186(_0x51c8bb);_0xf46e19&&_0xf46e19[_0x2e631d([0x61,0x6c,0x67])]==_0x2e631d([0x45,0x53,0x32,0x35,0x36])||(_0x40cc07=!0x1);}async function _0x19bf7f(_0x569352,_0x1cd869,_0x232bb7){const _0x2b67da=window[_0x2e631d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e631d([0x66,0x72,0x6f,0x6d])](_0x182cd1(_0x232bb7),_0x467a84=>_0x467a84[_0x2e631d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f868a=new window[(_0x2e631d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e631d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x569352+_0x2e631d([0x2e])+_0x1cd869),_0x326cea=window[_0x2e631d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e631d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x326cea)return;const _0x3ae895=await _0x326cea[_0x2e631d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e631d([0x6a,0x77,0x6b]),_0x2ab588,{[_0x2e631d([0x6e,0x61,0x6d,0x65])]:_0x2e631d([0x45,0x43,0x44,0x53,0x41]),[_0x2e631d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e631d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e631d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x326cea[_0x2e631d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e631d([0x6e,0x61,0x6d,0x65])]:_0x2e631d([0x45,0x43,0x44,0x53,0x41]),[_0x2e631d([0x68,0x61,0x73,0x68])]:{[_0x2e631d([0x6e,0x61,0x6d,0x65])]:_0x2e631d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ae895,_0x2b67da,_0x2f868a)||(_0x40cc07=!0x1);}}function _0x313186(_0x832208){return _0x832208[_0x2e631d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e631d([0x65,0x79]))?JSON[_0x2e631d([0x70,0x61,0x72,0x73,0x65])](_0x182cd1(_0x832208)):null;}function _0x182cd1(_0x1cda18){return window[_0x2e631d([0x61,0x74,0x6f,0x62])](_0x1cda18[_0x2e631d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e631d([0x2b]))[_0x2e631d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e631d([0x2f])));}function _0x521b13(_0x3b9d05){let _0x52dc6b=0x1505;function _0x5def5a(_0x13966e){for(let _0x3bd69b=0x0;_0x3bd69b<_0x13966e[_0x2e631d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bd69b++){const _0x38b54c=_0x13966e[_0x2e631d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3bd69b);_0x52dc6b=(_0x52dc6b<<0x5)+_0x52dc6b+_0x38b54c,_0x52dc6b&=_0x52dc6b;}}function _0x34fae8(_0x6d649e){Array[_0x2e631d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6d649e)?_0x6d649e[_0x2e631d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34fae8):_0x6d649e&&typeof _0x6d649e==_0x2e631d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e631d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6d649e)[_0x2e631d([0x73,0x6f,0x72,0x74])]()[_0x2e631d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17e4c5,_0x5278a1])=>{_0x5def5a(_0x17e4c5),_0x34fae8(_0x5278a1);}):_0x5def5a(window[_0x2e631d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6d649e));}return _0x34fae8(_0x3b9d05),_0x52dc6b>>>0x0;}function _0x8b004c(_0x506999){return _0x506999[_0x2e631d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e631d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e631d([0x30]));}function _0x3d850d(_0x5dd230){return _0x5dd230[_0x2e631d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e631d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e631d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b9ed9(){}function _0x2e631d(_0x2e44de){return _0x2e44de['map'](_0x327174=>String['fromCharCode'](_0x327174))['join']('');}_0x3ec29b(await _0x5f9bbc());}(this);}['_createButton'](_0x5b3858,_0x1aa002,_0x4e7b4d=!0x1){const _0x5cc696=new _0x5b3858(this['editor']['locale']);return _0x5cc696['set']({'withText':_0x4e7b4d,'isToggleable':!0x1}),_0x5cc696['bind']('isEnabled')['to'](_0x1aa002,'isEnabled'),this['listenTo'](_0x5cc696,'execute',()=>_0x1aa002['execute']()),_0x5cc696;}['_registerKeybindings'](){const _0x1ff9c7=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':_0x2bf138(_0x1ff9c7,'Source\x20Editing\x20Enhanced')});const _0x40019c=_0x31c75c['env']['isMac']||_0x31c75c['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':_0x2bf138(_0x1ff9c7,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':_0x2bf138(_0x1ff9c7,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':_0x2bf138(_0x1ff9c7,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':_0x2bf138(_0x1ff9c7,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':_0x2bf138(_0x1ff9c7,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':_0x2bf138(_0x1ff9c7,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':_0x2bf138(_0x1ff9c7,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x40019c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':_0x2bf138(_0x1ff9c7,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':_0x2bf138(_0x1ff9c7,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':_0x2bf138(_0x1ff9c7,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':_0x2bf138(_0x1ff9c7,'Select\x20line'),'keystroke':_0x40019c?'Ctrl!+L':'Alt+L'},{'label':_0x2bf138(_0x1ff9c7,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x40019c?'Alt+Shift+M':'Ctrl+M'},{'label':_0x2bf138(_0x1ff9c7,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':_0x2bf138(_0x1ff9c7,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':_0x2bf138(_0x1ff9c7,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':_0x2bf138(_0x1ff9c7,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':_0x2bf138(_0x1ff9c7,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x40019c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class _0x315310 extends _0x31c75c['Command']{constructor(_0x415d7d){super(_0x415d7d),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x51815c,_0x1cd2d8){const _0x5a8f01=this['editor'],_0x1a99ac=_0x1cd2d8?.['rootName']??_0x37e40e(_0x5a8f01);_0x5a8f01['data']['set']({[_0x1a99ac]:_0x51815c},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x127020){super(_0x127020),_0x127020['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x315310(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x45f239=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd8c05e;for(const _0x58daad in _0x45f239){const _0x133379=_0x58daad,_0x1ec6e0=_0x45f239[_0x133379];if('sourceEditingEnhancedLicenseKeyValid'==_0x1ec6e0||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1ec6e0||'sourceEditingEnhancedLicenseKeyExpired'==_0x1ec6e0||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1ec6e0||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1ec6e0||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1ec6e0||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1ec6e0){delete _0x45f239[_0x133379],_0xd8c05e=_0x1ec6e0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0xd8c05e&&_0x45f239['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0xd8c05e&&_0x45f239['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xd8c05e&&_0x45f239['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xd8c05e&&_0x45f239['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xd8c05e&&_0x45f239['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xd8c05e&&_0x45f239['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1c02c3=this['editor'],_0x126f80=_0x1c02c3['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x126f80&&_0x1c02c3['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x31c75c['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x126f80&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x12dacb=>_0x1c02c3['plugins']['has'](_0x12dacb))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x1c02c3['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}class TemplateCommand extends _0x31c75c['Command']{['execute'](_0x2fa8e1){const {model:_0x5cc827}=this['editor'];let _0x586893;switch(typeof _0x2fa8e1){case'string':_0x586893=_0x2fa8e1;break;case'function':_0x586893=_0x2fa8e1();}'string'==typeof _0x586893&&_0x5cc827['change'](()=>{const _0x26c62=this['editor']['data']['htmlProcessor']['toView'](_0x586893),_0x563064=this['editor']['data']['toModel'](_0x26c62);_0x5cc827['insertContent'](_0x563064);});}}class TemplateEditing extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f7ace}=this;_0x4f7ace['commands']['add']('insertTemplate',new TemplateCommand(_0x4f7ace)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49a657=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x169f4f;for(const _0x3aa127 in _0x49a657){const _0x3dd6e5=_0x3aa127,_0x3522dd=_0x49a657[_0x3dd6e5];if('templateLicenseKeyValid'==_0x3522dd||'templateLicenseKeyInvalid'==_0x3522dd||'templateLicenseKeyExpired'==_0x3522dd||'templateLicenseKeyDomainLimit'==_0x3522dd||'templateLicenseKeyNotAllowed'==_0x3522dd||'templateLicenseKeyEvaluationLimit'==_0x3522dd||'templateLicenseKeyUsageLimit'==_0x3522dd){delete _0x49a657[_0x3dd6e5],_0x169f4f=_0x3522dd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x169f4f&&_0x49a657['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x169f4f&&_0x49a657['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x169f4f&&_0x49a657['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x169f4f&&_0x49a657['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x169f4f&&_0x49a657['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x169f4f&&_0x49a657['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x31c75c['ListView']{['filter'](_0x5d8541){if(!_0x5d8541)return this['_resetFiltering']();const _0x4b3a6e=new Map(),_0x3ce01b=this['items']['map'](_0x12087c=>{const _0x4c3b80=_0x12087c['buttonView']['isMatching'](_0x5d8541);return _0x12087c['isVisible']=!!_0x4c3b80,_0x12087c['buttonView']['highlightText'](_0x4c3b80?_0x5d8541:null),_0x4c3b80&&_0x4b3a6e['set'](_0x12087c,_0x4c3b80),_0x12087c;})['sort'](_0xf586d9)['sort'](function(_0x13ea7e){return function(_0xdf8fc8,_0x34a855){const _0x3523fd=_0x13ea7e['get'](_0xdf8fc8),_0x4c5fbb=_0x13ea7e['get'](_0x34a855);return _0x3523fd&&!_0x4c5fbb?-0x1:_0x4c5fbb&&!_0x3523fd?0x1:_0x3523fd||_0x4c5fbb?_0x3523fd['title']&&!_0x4c5fbb['title']?-0x1:!_0x3523fd['title']&&_0x4c5fbb['title']?0x1:0x0:0x0;};}(_0x4b3a6e));return this['items']['clear'](),this['items']['addMany'](_0x3ce01b),{'resultsCount':_0x4b3a6e['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x440f53=this['items']['map'](_0x36957c=>_0x36957c)['sort'](_0xf586d9);return _0x440f53['forEach'](_0x29a1b1=>{_0x29a1b1['isVisible']=!0x0,_0x29a1b1['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x440f53),{'resultsCount':_0x440f53['length'],'totalItemsCount':_0x440f53['length']};}}function _0xf586d9(_0x5b7880,_0x7ad2cb){return _0x5b7880['originalIndex']-_0x7ad2cb['originalIndex'];}class TemplateListItemView extends _0x31c75c['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x2efef4,_0x1fcbac){super(_0x2efef4),this['originalIndex']=_0x1fcbac,this['buttonView']=null;}}class TemplateListButtonView extends _0x31c75c['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x30a8cf,_0x15251c){super(_0x30a8cf),this['templateDefinition']=_0x15251c,this['textPartView']=null;const {icon:_0x4df540=_0x31c75c['IconTemplateGeneric']}=_0x15251c;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4df540}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x19443c){const {title:_0x5bbb60,description:_0x53db92}=this['templateDefinition'],_0x17cdb7=!!_0x5bbb60['match'](_0x19443c),_0x5006fe=!(!_0x53db92||!_0x53db92['match'](_0x19443c));return _0x17cdb7||_0x5006fe?{'title':_0x17cdb7,'description':_0x5006fe}:null;}['highlightText'](_0x26eaeb){this['textPartView']['highlightText'](_0x26eaeb);}}class TextPartView extends _0x31c75c['View']{constructor(_0x16ad6b,_0x2e744d,_0x16caac){super(_0x16ad6b),this['title']=_0x2e744d['title'],this['description']=_0x2e744d['description'],this['titleView']=new _0x31c75c['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x16caac}});const _0x153fa2=[this['titleView']];this['description']&&(this['descriptionView']=new _0x31c75c['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x153fa2['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x153fa2});}['highlightText'](_0x262207){this['titleView']['highlightText'](_0x262207),this['description']&&this['descriptionView']['highlightText'](_0x262207);}}function _0x18ce76(_0x2991f0,_0x9cd75b,..._0x38c875){const t=_0x2991f0['t'];switch(_0x9cd75b){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x38c875);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x38c875);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x9cd75b;}}class TemplateUI extends _0x31c75c['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4bcd17}=this,_0x40bb06=_0x4bcd17['config']['get']('template.definitions')||[];_0x4bcd17['ui']['componentFactory']['add']('insertTemplate',_0x3b5a61=>{const _0x579d5f=_0x31c75c['createDropdown'](_0x3b5a61),_0x59652d=this['_createTemplateListView'](_0x3b5a61,_0x40bb06),_0x179eba=new _0x31c75c['SearchTextView'](_0x3b5a61,{'filteredView':_0x59652d,'queryView':{'label':_0x18ce76(_0x3b5a61,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x36dd85=>_0x18ce76(_0x3b5a61,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x36dd85),'secondary':_0x18ce76(_0x3b5a61,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':_0x18ce76(_0x3b5a61,'No\x20templates\x20available.')}}}}),_0xad094=_0x4bcd17['commands']['get']('insertTemplate');return _0x179eba['on']('search',(_0x395f28,_0x14310e)=>{_0x14310e['query']&&_0x14310e['query']['length']&&_0x4bcd17['ui']['ariaLiveAnnouncer']['announce'](_0x18ce76(_0x3b5a61,'%0\x20templates\x20found',_0x14310e['resultsCount']));}),_0x579d5f['bind']('isEnabled')['to'](_0xad094),_0x579d5f['panelView']['children']['add'](_0x179eba),_0x579d5f['buttonView']['set']({'label':_0x18ce76(_0x3b5a61,'Insert\x20template'),'icon':_0x31c75c['IconTemplate'],'tooltip':!0x0}),_0x579d5f['on']('change:isOpen',(_0x143204,_0x1281fb,_0x1cc208)=>{_0x1cc208||_0x179eba['reset']();}),_0x579d5f;}),_0x4bcd17['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x2f4a64=>{const _0x15f599=_0x4bcd17['commands']['get']('insertTemplate'),_0x4803cd=new _0x31c75c['MenuBarMenuView'](_0x2f4a64);_0x4803cd['buttonView']['set']({'label':_0x18ce76(_0x2f4a64,'Template'),'icon':_0x31c75c['IconTemplate']});const _0x4ac18a=new _0x31c75c['MenuBarMenuListView'](_0x2f4a64);if(!_0x40bb06||!_0x40bb06['length']){const _0x4ee8cb=new _0x31c75c['MenuBarMenuListItemView'](_0x2f4a64,_0x4803cd),_0x36cd28=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x2f4a64);_0x36cd28['set']({'label':_0x18ce76(_0x2f4a64,'No\x20templates\x20available.')}),_0x36cd28['delegate']('execute')['to'](_0x4803cd),_0x36cd28['on']('execute',()=>{_0x4bcd17['editing']['view']['focus']();}),_0x4ee8cb['children']['add'](_0x36cd28),_0x4ac18a['items']['add'](_0x4ee8cb);}for(const _0x235a84 of _0x40bb06){const _0x36411a=new _0x31c75c['MenuBarMenuListItemView'](_0x2f4a64,_0x4803cd),_0x6c6eea=new _0x31c75c['MenuBarMenuListItemButtonView'](_0x2f4a64);_0x6c6eea['set']({'class':'ck-template-button','label':_0x235a84['title'],'icon':_0x235a84['icon']||_0x31c75c['IconTemplateGeneric']}),_0x6c6eea['delegate']('execute')['to'](_0x4803cd),_0x6c6eea['on']('execute',()=>{_0x4bcd17['execute']('insertTemplate',_0x235a84['data']),_0x4bcd17['editing']['view']['focus']();}),_0x36411a['children']['add'](_0x6c6eea),_0x4ac18a['items']['add'](_0x36411a);}return _0x4803cd['panelView']['children']['add'](_0x4ac18a),_0x4803cd['bind']('isEnabled')['to'](_0x15f599,'isEnabled'),_0x4803cd;});}['afterInit'](){!async function(_0x3f7d21){const _0x4902bb=_0x4b648c([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x6ad8b5=0x6b0f5e6f,_0x1c3f77=0x6b08d407^_0x6ad8b5,_0x3c5745=window[_0x4b648c([0x44,0x61,0x74,0x65])][_0x4b648c([0x6e,0x6f,0x77])](),_0x3fd403=_0x3f7d21[_0x4b648c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b768b=new window[(_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x494ee6=>{_0x3fd403[_0x4b648c([0x6f,0x6e,0x63,0x65])](_0x4b648c([0x72,0x65,0x61,0x64,0x79]),_0x494ee6);}),_0x139a61={[_0x4b648c([0x6b,0x74,0x79])]:_0x4b648c([0x45,0x43]),[_0x4b648c([0x75,0x73,0x65])]:_0x4b648c([0x73,0x69,0x67]),[_0x4b648c([0x63,0x72,0x76])]:_0x4b648c([0x50,0x2d,0x32,0x35,0x36]),[_0x4b648c([0x78])]:_0x4b648c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4b648c([0x79])]:_0x4b648c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4b648c([0x61,0x6c,0x67])]:_0x4b648c([0x45,0x53,0x32,0x35,0x36])},_0x16b795=_0x3fd403[_0x4b648c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b648c([0x67,0x65,0x74])](_0x4b648c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd1e03d(){let _0x465fcc,_0x2e9c39=null,_0x260148=null;try{if(_0x16b795==_0x4b648c([0x47,0x50,0x4c]))return _0x4b648c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x465fcc=_0x5950f5(),!_0x465fcc)return _0x4b648c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x465fcc[_0x4b648c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x260148=_0x42c7a4(_0x465fcc[_0x4b648c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x465fcc[_0x4b648c([0x6a,0x74,0x69])])),await _0x67a3ad()?_0x28ba77()?_0x139492()?_0x4b648c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4262ab()?(_0x465fcc[_0x4b648c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b648c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e9c39=_0x48adf3(_0x4b648c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb17681()):_0x4b648c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b648c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b648c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b648c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x139492(){const _0x1f1537=[_0x4b648c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b648c([0x74,0x72,0x69,0x61,0x6c])][_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465fcc[_0x4b648c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c5745/0x3e8:0xe10*_0x1c3f77;return _0x465fcc[_0x4b648c([0x65,0x78,0x70])]<_0x1f1537;}function _0x28ba77(){const _0x550c19=_0x465fcc[_0x4b648c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x550c19&&(!!_0x550c19[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b648c([0x2a]))||(!!_0x550c19[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b648c([0x54,0x50,0x4c]))||(!!_0x550c19[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b648c([0x50,0x50]))||(!(!_0x550c19[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b648c([0x44,0x52,0x55,0x50]))||!_0x1d12af())||!(!_0x550c19[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b648c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x477e4b())))));}function _0x4262ab(){const _0x5cc42e=_0x465fcc[_0x4b648c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5cc42e||0x0==_0x5cc42e[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x90b191}=new URL(window[_0x4b648c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5cc42e[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x90b191))return!0x0;const _0x2815e5=_0x90b191[_0x4b648c([0x73,0x70,0x6c,0x69,0x74])](_0x4b648c([0x2e]));return _0x5cc42e[_0x4b648c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x140ff1=>_0x140ff1[_0x4b648c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b648c([0x2a])))[_0x4b648c([0x6d,0x61,0x70])](_0x4838a8=>_0x4838a8[_0x4b648c([0x73,0x70,0x6c,0x69,0x74])](_0x4b648c([0x2e])))[_0x4b648c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17a3f1=>_0x17a3f1[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2815e5[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b648c([0x6d,0x61,0x70])](_0x5bf13a=>Array(_0x2815e5[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bf13a[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b648c([0x66,0x69,0x6c,0x6c])](_0x5bf13a[0x0]===_0x4b648c([0x2a])?_0x4b648c([0x2a]):'')[_0x4b648c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bf13a))[_0x4b648c([0x73,0x6f,0x6d,0x65])](_0x11f84a=>_0x2815e5[_0x4b648c([0x65,0x76,0x65,0x72,0x79])]((_0x221666,_0x327221)=>_0x11f84a[_0x327221]===_0x221666||_0x11f84a[_0x327221]===_0x4b648c([0x2a])));}function _0xb17681(){return _0x2e9c39&&_0x260148?new window[(_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x490fc1,_0x16523d)=>{_0x2e9c39[_0x4b648c([0x74,0x68,0x65,0x6e])](_0x490fc1,_0x16523d),_0x260148[_0x4b648c([0x74,0x68,0x65,0x6e])](_0x166ce9=>{_0x166ce9!=_0x4b648c([0x56,0x61,0x6c,0x69,0x64])&&_0x490fc1(_0x166ce9);},_0x16523d);}):_0x2e9c39||_0x260148||_0x4b648c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42c7a4(_0x267111,_0x44a985){return new window[(_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41117d=>{if(_0x5031f2())return _0x41117d(_0x4b648c([0x56,0x61,0x6c,0x69,0x64]));_0x349668(),_0x3fd403[_0x4b648c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b648c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc9d43f=!0x1;const _0x87cbf1=_0x31c75c['uid']();function _0x5a43b2(_0x444d2a){return!!_0x444d2a&&(typeof _0x444d2a===_0x4b648c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x444d2a===_0x4b648c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x444d2a[_0x4b648c([0x74,0x68,0x65,0x6e])]===_0x4b648c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x444d2a[_0x4b648c([0x63,0x61,0x74,0x63,0x68])]===_0x4b648c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b580d(_0x1acccc){_0x7d1a0(_0x1acccc)[_0x4b648c([0x74,0x68,0x65,0x6e])](_0x1f82fe=>{if(!_0x1f82fe||_0x1f82fe[_0x4b648c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b648c([0x6f,0x6b]))return _0x4b648c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11e774(_0x5e7aa0(_0x87cbf1+_0x44a985))!=_0x1f82fe[_0x4b648c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b648c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b648c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b648c([0x74,0x68,0x65,0x6e])](_0x50ec0a=>(_0x195f59(),_0x50ec0a),()=>{const _0x3ccff9=_0x448dde();return null==_0x3ccff9?(_0x195f59(),_0x4b648c([0x56,0x61,0x6c,0x69,0x64])):_0x4b648c(_0x3c5745-_0x3ccff9>(0x4f03da6f^_0x6ad8b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b648c([0x74,0x68,0x65,0x6e])](_0x41117d)[_0x4b648c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41117d(_0x4b648c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16414a=0x6b39b0ef^_0x6ad8b5;function _0x195f59(){const _0x5d4132=_0x4b648c([0x6c,0x6c,0x63,0x74,0x2d])+_0x11e774(_0x5e7aa0(_0x267111)),_0x3caeed=_0x4de034(_0x11e774(window[_0x4b648c([0x4d,0x61,0x74,0x68])][_0x4b648c([0x63,0x65,0x69,0x6c])](_0x3c5745/_0x16414a)));window[_0x4b648c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b648c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d4132,_0x3caeed);}function _0x448dde(){const _0x26054c=_0x4b648c([0x6c,0x6c,0x63,0x74,0x2d])+_0x11e774(_0x5e7aa0(_0x267111)),_0x51d925=window[_0x4b648c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b648c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26054c);return _0x51d925?window[_0x4b648c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4de034(_0x51d925),0x10)*_0x16414a:null;}function _0x7d1a0(_0x5c265){return new window[(_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x564abe,_0x4cae90)=>{_0x5c265[_0x4b648c([0x74,0x68,0x65,0x6e])](_0x564abe,_0x4cae90),window[_0x4b648c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cae90,0x6b0e8aaf^_0x6ad8b5);});}}_0x3fd403[_0x4b648c([0x6f,0x6e])](_0x4b648c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb0d55f,_0x579a43)=>{if(_0x579a43[0x0]!=_0x267111)return _0x41117d(_0x4b648c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x579a43[0x1]={..._0x579a43[0x1],[_0x4b648c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x87cbf1};},{[_0x4b648c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b648c([0x68,0x69,0x67,0x68])}),_0x3fd403[_0x4b648c([0x6f,0x6e])](_0x4b648c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48322b=>{_0x5a43b2(_0x48322b[_0x4b648c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc9d43f=!0x0,_0x5b580d(_0x48322b[_0x4b648c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b648c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b648c([0x6c,0x6f,0x77])}),_0x3b768b[_0x4b648c([0x74,0x68,0x65,0x6e])](()=>{_0xc9d43f||_0x41117d(_0x4b648c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5031f2(){return _0x3fd403[_0x4b648c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b648c([0x76,0x69,0x65,0x77])][_0x4b648c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b648c([0x61,0x75,0x74,0x6f]);}function _0x349668(){_0x3fd403[_0x4b648c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b648c([0x76,0x69,0x65,0x77])][_0x4b648c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b648c([0x61,0x75,0x74,0x6f]);}}function _0x48adf3(_0x13f17c){const _0x13dba8=[new window[(_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c18bb=>setTimeout(_0x5c18bb,0x6b0660a3^_0x6ad8b5)),_0x3b768b[_0x4b648c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34a822=>{let _0x1cb30e=0x0;_0x3fd403[_0x4b648c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b648c([0x6f,0x6e])](_0x4b648c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4433f3,_0x4a0439)=>{_0x4a0439[0x0][_0x4b648c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cb30e++,_0x1cb30e==(0x6b0f5b87^_0x6ad8b5)&&(_0x34a822(),_0x4433f3[_0x4b648c([0x6f,0x66,0x66])]());});}))];return window[_0x4b648c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b648c([0x72,0x61,0x63,0x65])](_0x13dba8)[_0x4b648c([0x74,0x68,0x65,0x6e])](()=>_0x13f17c);}async function _0x572145(){await _0x3b768b,_0x3fd403[_0x4b648c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b648c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22ffaf,_0x3fd403[_0x4b648c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b648c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22ffaf,_0x3fd403[_0x4b648c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b648c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d12af(){return window[_0x4b648c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x477e4b(){return window[_0x4b648c([0x67,0x6c,0x6f,0x62])]&&window[_0x4b648c([0x67,0x6c,0x6f,0x62])][_0x4b648c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x36f672(_0x5289db){const _0x4bd15a=_0x5b2e54();_0x3fd403[_0x4bd15a]=_0x4b648c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5289db,_0x5289db!=_0x4b648c([0x56,0x61,0x6c,0x69,0x64])&&_0x572145();}function _0x5b2e54(){const _0x2e0670=window[_0x4b648c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b648c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b648c([0x6e,0x6f,0x77])]())[_0x4b648c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b648c([0x2e]),'');let _0x45fe78=_0x4b648c([0x67]);for(let _0x5be219=0x0;_0x5be219<_0x2e0670[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5be219+=0x2){let _0x186f54=window[_0x4b648c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e0670[_0x4b648c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5be219,_0x5be219+0x2));_0x186f54>=_0x4902bb[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x186f54-=_0x4902bb[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45fe78+=_0x4902bb[_0x186f54];}return _0x45fe78;}function _0x5950f5(){const _0x178e6d=_0x16b795[_0x4b648c([0x73,0x70,0x6c,0x69,0x74])](_0x4b648c([0x2e]));if(0x3!=_0x178e6d[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x190ff0(_0x178e6d[0x1]);function _0x190ff0(_0x5a20fd){const _0x6f38f2=_0x2be74d(_0x5a20fd);return _0x6f38f2&&_0x54d736()?_0x6f38f2:null;function _0x54d736(){const _0x752457=_0x6f38f2[_0x4b648c([0x6a,0x74,0x69])],_0x5a6daf=window[_0x4b648c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x752457[_0x4b648c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x752457[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x337b49={..._0x6f38f2,[_0x4b648c([0x6a,0x74,0x69])]:_0x752457[_0x4b648c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x752457[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x337b49[_0x4b648c([0x76,0x63])],_0x5e7aa0(_0x337b49)==_0x5a6daf;}}}async function _0x67a3ad(){let _0x2b60a0=!0x0;try{const _0x1d179f=_0x16b795[_0x4b648c([0x73,0x70,0x6c,0x69,0x74])](_0x4b648c([0x2e])),[_0x12a5e4,_0x24b5b9,_0xff46ea]=_0x1d179f;return _0x37bae7(_0x12a5e4),await _0x50acd2(_0x12a5e4,_0x24b5b9,_0xff46ea),_0x2b60a0;}catch{return!0x1;}function _0x37bae7(_0x363db6){const _0x9eb04c=_0x2be74d(_0x363db6);_0x9eb04c&&_0x9eb04c[_0x4b648c([0x61,0x6c,0x67])]==_0x4b648c([0x45,0x53,0x32,0x35,0x36])||(_0x2b60a0=!0x1);}async function _0x50acd2(_0x27027f,_0x1dc1c9,_0x14faa1){const _0x162fc0=window[_0x4b648c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b648c([0x66,0x72,0x6f,0x6d])](_0x1ed557(_0x14faa1),_0xb72ac2=>_0xb72ac2[_0x4b648c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcfb50e=new window[(_0x4b648c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b648c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27027f+_0x4b648c([0x2e])+_0x1dc1c9),_0x290b87=window[_0x4b648c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b648c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x290b87)return;const _0x2cdb91=await _0x290b87[_0x4b648c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b648c([0x6a,0x77,0x6b]),_0x139a61,{[_0x4b648c([0x6e,0x61,0x6d,0x65])]:_0x4b648c([0x45,0x43,0x44,0x53,0x41]),[_0x4b648c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b648c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b648c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x290b87[_0x4b648c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b648c([0x6e,0x61,0x6d,0x65])]:_0x4b648c([0x45,0x43,0x44,0x53,0x41]),[_0x4b648c([0x68,0x61,0x73,0x68])]:{[_0x4b648c([0x6e,0x61,0x6d,0x65])]:_0x4b648c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cdb91,_0x162fc0,_0xcfb50e)||(_0x2b60a0=!0x1);}}function _0x2be74d(_0x496eb1){return _0x496eb1[_0x4b648c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b648c([0x65,0x79]))?JSON[_0x4b648c([0x70,0x61,0x72,0x73,0x65])](_0x1ed557(_0x496eb1)):null;}function _0x1ed557(_0x23e863){return window[_0x4b648c([0x61,0x74,0x6f,0x62])](_0x23e863[_0x4b648c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b648c([0x2b]))[_0x4b648c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b648c([0x2f])));}function _0x5e7aa0(_0x2433b8){let _0x50f918=0x1505;function _0x5e45c9(_0x17b21d){for(let _0x16712b=0x0;_0x16712b<_0x17b21d[_0x4b648c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16712b++){const _0x38acda=_0x17b21d[_0x4b648c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16712b);_0x50f918=(_0x50f918<<0x5)+_0x50f918+_0x38acda,_0x50f918&=_0x50f918;}}function _0x14b595(_0xb2dee1){Array[_0x4b648c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb2dee1)?_0xb2dee1[_0x4b648c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14b595):_0xb2dee1&&typeof _0xb2dee1==_0x4b648c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b648c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb2dee1)[_0x4b648c([0x73,0x6f,0x72,0x74])]()[_0x4b648c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x466dfb,_0x474237])=>{_0x5e45c9(_0x466dfb),_0x14b595(_0x474237);}):_0x5e45c9(window[_0x4b648c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb2dee1));}return _0x14b595(_0x2433b8),_0x50f918>>>0x0;}function _0x11e774(_0x51c3c8){return _0x51c3c8[_0x4b648c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b648c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b648c([0x30]));}function _0x4de034(_0x895f61){return _0x895f61[_0x4b648c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b648c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b648c([0x6a,0x6f,0x69,0x6e])]('');}function _0x22ffaf(){}function _0x4b648c(_0x2c2034){return _0x2c2034['map'](_0x3f01a=>String['fromCharCode'](_0x3f01a))['join']('');}_0x36f672(await _0xd1e03d());}(this);}['_createTemplateListView'](_0x46251e,_0x52c81b){const {editor:_0x346b22}=this,_0x5eaf82=new TemplateListView(_0x46251e);return _0x5eaf82['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5eaf82['items']['addMany'](_0x52c81b['map']((_0x1b1eab,_0x27be4b)=>{const _0x126e8e=new TemplateListItemView(_0x46251e,_0x27be4b),_0x5417ba=new TemplateListButtonView(_0x46251e,_0x1b1eab);return _0x126e8e['buttonView']=_0x5417ba,_0x126e8e['children']['add'](_0x5417ba),_0x126e8e['buttonView']['on']('execute',_0x30ff5d=>{_0x346b22['execute']('insertTemplate',_0x30ff5d['source']['templateDefinition']['data']),_0x346b22['editing']['view']['focus']();}),_0x126e8e;})),_0x5eaf82;}}class Template extends _0x31c75c['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x350d9b(_0xc90f12,_0x22ee61,_0x270407){const t=_0xc90f12['t'],_0x1ca3be=_0xc90f12['t'];switch(_0x22ee61){case'local':return{'text':_0x1ca3be('Insert'===_0x270407?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ca3be('From\x20computer')};case'url':return{'text':'Insert'===_0x270407?_0x1ca3be('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ca3be('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x270407?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x270407?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x270407?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x270407?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x270407?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x22ee61;}}class _0x2adaaa extends _0x31c75c['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x58b71a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e045b;for(const _0x57d78e in _0x58b71a){const _0x5b16fa=_0x57d78e,_0x16636d=_0x58b71a[_0x5b16fa];if('uploadcareLicenseKeyValid'==_0x16636d||'uploadcareLicenseKeyInvalid'==_0x16636d||'uploadcareLicenseKeyExpired'==_0x16636d||'uploadcareLicenseKeyDomainLimit'==_0x16636d||'uploadcareLicenseKeyNotAllowed'==_0x16636d||'uploadcareLicenseKeyEvaluationLimit'==_0x16636d||'uploadcareLicenseKeyUsageLimit'==_0x16636d){delete _0x58b71a[_0x5b16fa],_0x3e045b=_0x16636d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3e045b&&_0x58b71a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3e045b&&_0x58b71a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3e045b&&_0x58b71a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3e045b&&_0x58b71a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3e045b&&_0x58b71a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3e045b&&_0x58b71a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x295afc}=this,_0x23ccc5=_0x295afc['commands']['get']('uploadcare');if(!_0x23ccc5)return;const _0x5a6eb2=this['_normalizeConfigSourceList'](_0x295afc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3043ed,_0x5e2b83)=>{const _0x178270=this['_getIntegrationKey'](_0x5e2b83['type']);return _0x3043ed[_0x178270]||(_0x3043ed[_0x178270]=[]),_0x3043ed[_0x178270]['push'](_0x5e2b83),_0x3043ed;},{});_0x295afc['plugins']['has']('ImageInsertUI')&&_0x295afc['commands']['get']('uploadcare')&&Object['entries'](_0x5a6eb2)['forEach'](([_0x12fd38,_0x4cbd42])=>{_0x295afc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x12fd38,'observable':()=>_0x23ccc5,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4cbd42),'formViewCreator':()=>this['_createDropdownButtons'](_0x4cbd42),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4cbd42),'override':'assetManager'!==_0x12fd38});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x25d0d9){const {locale:_0xa63797}=this['editor'];return _0x25d0d9['map'](_0x19ae9f=>{const _0x344ce2=_0x350d9b(_0xa63797,_0x19ae9f,'Insert');switch(_0x19ae9f){case'local':return{'icon':_0x31c75c['IconUploadcareImageUpload'],'type':'local',..._0x344ce2};case'url':return{'icon':_0x31c75c['IconUploadcareLink'],'type':'url',..._0x344ce2};case'dropbox':return{'icon':_0x31c75c['IconDropbox'],'type':'dropbox',..._0x344ce2};case'facebook':return{'icon':_0x31c75c['IconFacebook'],'type':'facebook',..._0x344ce2};case'gdrive':return{'icon':_0x31c75c['IconGoogleDrive'],'type':'gdrive',..._0x344ce2};case'gphotos':return{'icon':_0x31c75c['IconGooglePhotos'],'type':'gphotos',..._0x344ce2};case'onedrive':return{'icon':_0x31c75c['IconOneDrive'],'type':'onedrive',..._0x344ce2};}});}['_getIntegrationKey'](_0xdb5776){switch(_0xdb5776){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x24057f,_0x2a76a8){const _0x476ffe=this['editor'],_0x3c165d=new _0x24057f(_0x476ffe['locale']),_0x361fea=_0x476ffe['commands']['get']('uploadcare');return _0x3c165d['bind']('isEnabled')['to'](_0x361fea),_0x3c165d['on']('execute',()=>{_0x361fea['execute'](_0x2a76a8);}),_0x3c165d;}['_createToolbarButton'](_0x1f3640){const {locale:_0x2fa846}=this['editor'],_0x50c05e=this['editor']['plugins']['get']('ImageInsertUI'),_0xf52bdc=_0x1f3640[0x0],_0x5608ca=this['_createButton'](_0x31c75c['ButtonView'],_0xf52bdc['type']);return _0x5608ca['icon']=_0xf52bdc['icon'],_0x5608ca['bind']('label')['to'](_0x50c05e,'isImageSelected',_0x581751=>_0x350d9b(_0x2fa846,_0xf52bdc['type'],_0x581751?'Replace':'Insert')['text']),_0x5608ca['tooltip']=!0x0,_0x5608ca;}['_createDropdownButtons'](_0x57b6ff){const {locale:_0xd2627c}=this['editor'],_0x3717ac=this['editor']['plugins']['get']('ImageInsertUI');return _0x57b6ff['map'](_0x134678=>{const _0x2e918d=this['_createButton'](_0x31c75c['ButtonView'],_0x134678['type']);return _0x2e918d['withText']=!0x0,_0x2e918d['icon']=_0x134678['icon'],_0x2e918d['bind']('label')['to'](_0x3717ac,'isImageSelected',_0x17fc4f=>_0x350d9b(_0xd2627c,_0x134678['type'],_0x17fc4f?'Replace':'Insert')['text']),_0x2e918d;});}['_createMenuBarButtons'](_0x11ce24){return _0x11ce24['map'](_0x58af0c=>{const _0x3df21e=this['_createButton'](_0x31c75c['MenuBarMenuListItemButtonView'],_0x58af0c['type']);return _0x3df21e['icon']=_0x58af0c['icon'],_0x3df21e['label']=_0x58af0c['shortText'],_0x3df21e;});}}class _0xfe34b5 extends _0x31c75c['View']{['focusTracker'];['focusCycler'];constructor(_0x294ae3){super(_0x294ae3),this['focusTracker']=new _0x31c75c['FocusTracker'](),this['focusCycler']=new _0x31c75c['FocusCycler']({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class _0xdc5a7a extends _0xfe34b5{constructor(_0x453e8d,_0x11db01){super(_0x453e8d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x11db01}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function _0x40a7bd(_0x1ec505,_0xf11ca){const _0x100f49=_0x1ec505['replace'](/\/$/,'');return{'imageFallbackUrl':_0x1ec505,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x144e85=>_0x144e85<_0xf11ca)['map'](_0x5a6166=>_0x100f49+'/-/resize/'+_0x5a6166+'x/\x20'+_0x5a6166+'w'),_0x1ec505+'\x20'+_0xf11ca+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0xf11ca+'px)\x20100vw,\x20'+_0xf11ca+'px','type':'image/webp'}]};}function _0x41154b(_0x22b2fc,_0x563687,_0x3deee2){const _0x280b93=_0x22b2fc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x280b93?parseInt(_0x280b93[0x1],0xa):_0x563687,'height':_0x280b93?parseInt(_0x280b93[0x2],0xa):_0x3deee2};}function _0x4a392a(_0x56b8bc,_0x2adf11){const _0x431847=new(_0x31c75c['DomEmitterMixin']())(),_0x3d03dc=_0x56b8bc['plugins']['get']('ImageUtils'),_0x15247d=_0x56b8bc['editing']['mapper']['toViewElement'](_0x2adf11),_0x54fb90=_0x3d03dc['findViewImgElement'](_0x15247d),_0x3a5fad=_0x56b8bc['editing']['view']['domConverter']['viewToDom'](_0x54fb90),_0x13ad09=_0x2adf11['getAttribute']('width'),_0x403c67=_0x2adf11['getAttribute']('height'),_0x415219='image-processing';_0x56b8bc['editing']['view']['change'](_0x439eee=>{_0x439eee['addClass'](_0x415219,_0x15247d),_0x439eee['setStyle']('aspect-ratio',_0x13ad09+'/'+_0x403c67,_0x54fb90);}),_0x431847['listenTo'](_0x3a5fad,'load',()=>{_0x431847['stopListening'](_0x3a5fad,'load'),_0x56b8bc['editing']['view']['change'](_0x1b107b=>{_0x1b107b['removeClass'](_0x415219,_0x15247d),_0x1b107b['removeStyle']('aspect-ratio',_0x54fb90);});});}function _0x3f433f(_0x3ede60){if(Array['isArray'](_0x3ede60)){const _0x2e5dcb=_0x3ede60['map'](_0x3f433f);return _0x2a7f4f=>_0x2e5dcb['some'](_0x4c55d9=>_0x4c55d9(_0x2a7f4f));}if('origin'==_0x3ede60){const _0x105e34=_0x31c75c['global']['window']['location']['origin'];return _0x52b327=>new URL(_0x52b327,_0x31c75c['global']['document']['baseURI'])['origin']==_0x105e34;}return'function'==typeof _0x3ede60?_0x3ede60:_0x3ede60 instanceof RegExp?_0x49fbfd=>!(!_0x49fbfd['match'](_0x3ede60)&&!_0x49fbfd['replace'](/^https?:\/\//,'')['match'](_0x3ede60)):()=>!0x1;}function _0x33dbe0(_0x2bb13a,_0x3e7893){return _0x31c75c['getAncestors'](_0x2bb13a['target'])['includes'](_0x3e7893);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4eea9f,_0x1a8f11,_0x1e140b){super(),this['_editor']=_0x4eea9f,this['_editing']=_0x1a8f11,this['_dialog']=_0x4eea9f['plugins']['get'](_0x31c75c['Dialog']),this['_api']=_0x1a8f11['ctxElement']['getAPI'](),this['_type']=_0x1e140b,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x5ef58f,model:_0x59007e}=this['_editor'],_0x924cbf=_0x59007e['document']['selection']['getSelectedElement'](),_0x5adb61=_0x924cbf&&(_0x924cbf['is']('element','imageBlock')||_0x924cbf['is']('element','imageInline'));this['_formView']=new _0xdc5a7a(_0x5ef58f,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x31c75c['IconUploadcareImageUpload'],'title':_0x350d9b(_0x5ef58f,this['_type'],_0x5adb61?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x31c75c['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15c678=>!_0x33dbe0(_0x15c678,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4c8fff}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5861c2=>{const _0x55f7d3=_0x4c8fff['length'];for(const _0xe3715f of _0x4c8fff){const _0x4f54f0=_0xe3715f===_0x4c8fff[_0x55f7d3-0x1],{cdnUrl:_0x559028,fileInfo:_0x4f19ed}=_0xe3715f;if(!_0x559028||!_0x4f19ed)continue;const {width:_0x4c6c19,height:_0x3bad7f}=_0x4f19ed['imageInfo'],_0x18138a=_0x41154b(_0x559028,_0x4c6c19,_0x3bad7f),_0x97c5d7=_0x40a7bd(_0x559028,_0x18138a['width']),_0x357f90={'id':_0x4f19ed['uuid'],'type':'image','attributes':{'imageDimension':_0x18138a,..._0x97c5d7}};this['_insertAsset'](_0x357f90,_0x4f54f0,_0x5861c2);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2b200f=>{'idle'===_0x2b200f['detail']['status']&&!_0x2b200f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x10f0e5,_0x25d8e4,_0x224dc6){const _0x3e90a6=this['_editor']['model']['document']['selection'],_0x3bed7d=_0x3e90a6['getSelectedElement'](),_0x47fbcf=!(!_0x3bed7d||!_0x3bed7d['is']('element','imageInline'));_0x224dc6['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x10f0e5,_0x47fbcf),_0x25d8e4||_0x224dc6['setSelection'](_0x3e90a6['getLastPosition']());}['_insertImage'](_0x38ec94,_0x5dbe85){const _0xe10324=this['_editor'],{imageDimension:_0x5f04a9,imageFallbackUrl:_0x329c04,imageSources:_0x2033ef}=_0x38ec94['attributes'];_0xe10324['execute']('insertImage',{'imageType':_0x5dbe85?'imageInline':null,'source':{'uploadcareImageId':_0x38ec94['id'],'src':_0x329c04,'sources':_0x2033ef,..._0x5f04a9}});}}class _0x25f679 extends _0x31c75c['Command']{['_editing'];['_controller']=null;static get['requires'](){return[_0x31c75c['Dialog'],UploadcareEditing];}constructor(_0x18854f){super(_0x18854f),this['_editing']=_0x18854f['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x59f3a9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x59f3a9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function _0x124de5(_0x501ca6){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x501ca6);}const _0x37da46=/\W|_/g;function _0x11c896(_0x28b4a1){return _0x28b4a1['split'](_0x37da46)['map']((_0xeeea2c,_0x421db3)=>_0xeeea2c['charAt'](0x0)[_0x421db3>0x0?'toUpperCase':'toLowerCase']()+_0xeeea2c['slice'](0x1))['join']('');}function _0x2e7099(_0x441e37,{ignoreKeys:_0x4f602d}={'ignoreKeys':[]}){return Array['isArray'](_0x441e37)?_0x441e37['map'](_0x4fbd5f=>_0x25cd4c(_0x4fbd5f,{'ignoreKeys':_0x4f602d})):_0x441e37;}function _0x25cd4c(_0x1ebda6,{ignoreKeys:_0x292c07}={'ignoreKeys':[]}){if(Array['isArray'](_0x1ebda6))return _0x2e7099(_0x1ebda6,{'ignoreKeys':_0x292c07});if(!_0x124de5(_0x1ebda6))return _0x1ebda6;const _0x5ec8fe={};for(const _0x142834 of Object['keys'](_0x1ebda6)){let _0x3c5823=_0x1ebda6[_0x142834];_0x292c07['includes'](_0x142834)?_0x5ec8fe[_0x142834]=_0x3c5823:(_0x124de5(_0x3c5823)?_0x3c5823=_0x25cd4c(_0x3c5823,{'ignoreKeys':_0x292c07}):Array['isArray'](_0x3c5823)&&(_0x3c5823=_0x2e7099(_0x3c5823,{'ignoreKeys':_0x292c07})),_0x5ec8fe[_0x11c896(_0x142834)]=_0x3c5823);}return _0x5ec8fe;}const _0x3bcf4a={'factor':0x2,'time':0x64};function _0x19fe13(_0x3c07d6,_0x37b6d5=_0x3bcf4a){let _0x70476d=0x0;return function _0x49a55e(_0x3c536b){const _0x4dfe4c=Math['round'](_0x37b6d5['time']*_0x37b6d5['factor']**_0x70476d);return _0x3c536b({'attempt':_0x70476d,'retry':_0x11359c=>(_0xa21424=>new Promise(_0x189a28=>setTimeout(_0x189a28,_0xa21424)))(_0x11359c??_0x4dfe4c)['then'](()=>(_0x70476d+=0x1,_0x49a55e(_0x3c536b)))});}(_0x3c07d6);}class _0x31ec85 extends Error{}class NetworkError extends _0x31ec85{['originalProgressEvent'];constructor(_0x51c0ab){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x51c0ab;}}const _0x13e15f=(_0x3e6965,_0x3caf49)=>{_0x3e6965&&(_0x3e6965['aborted']?Promise['resolve']()['then'](_0x3caf49):_0x3e6965['addEventListener']('abort',()=>_0x3caf49(),{'once':!0x0}));};class _0x1118b4 extends _0x31ec85{['isCancel']=!0x0;constructor(_0x4f7626='Request\x20canceled'){super(_0x4f7626),this['name']='CancelError',Object['setPrototypeOf'](this,_0x1118b4['prototype']);}}const _0x14219e=({check:_0x1b2d61,interval:_0x2fe9bd=0x1f4,timeout:_0x34f4b0,signal:_0x2391e3})=>new Promise((_0x58f692,_0x1cac45)=>{let _0x24dd7d,_0x46ce21;_0x13e15f(_0x2391e3,()=>{_0x24dd7d&&clearTimeout(_0x24dd7d),_0x1cac45(new _0x1118b4('Poll\x20cancelled'));}),_0x34f4b0&&(_0x46ce21=setTimeout(()=>{_0x24dd7d&&clearTimeout(_0x24dd7d),_0x1cac45(new _0x1118b4('Timed\x20out'));},_0x34f4b0));const _0xbb6c3f=()=>{try{Promise['resolve'](_0x1b2d61(_0x2391e3))['then'](_0x562b58=>{_0x562b58?(_0x46ce21&&clearTimeout(_0x46ce21),_0x58f692(_0x562b58)):_0x24dd7d=setTimeout(_0xbb6c3f,_0x2fe9bd);})['catch'](_0x17bf87=>{_0x46ce21&&clearTimeout(_0x46ce21),_0x1cac45(_0x17bf87);});}catch(_0x260dba){_0x46ce21&&clearTimeout(_0x46ce21),_0x1cac45(_0x260dba);}};_0x24dd7d=setTimeout(_0xbb6c3f,0x0);}),_0x205ec4='https://ucarecdn.com',_0x16142b='https://upload.uploadcare.com',_0x3c5ac3=0x1,_0x1a893b=0x3,_0x5265d8=0x1900000,_0xeb2836=0x500000,_0x295ac8=0x4,_0x2a17aa='79ae88bd931ea68464d9',_0x29a035='application/octet-stream',_0x101c58=({method:_0x11d942,url:_0x29abc4,data:_0x8ea988,headers:_0x490e1a={},signal:_0x8459b4,onProgress:_0x28fab5})=>new Promise((_0x138424,_0x2b111d)=>{const _0x3984b3=new XMLHttpRequest(),_0x154dbf=_0x11d942?.['toUpperCase']()||'GET';let _0x230d10=!0x1;_0x3984b3['open'](_0x154dbf,_0x29abc4,!0x0),_0x490e1a&&Object['entries'](_0x490e1a)['forEach'](_0x3bc015=>{const [_0x582b36,_0x38b59d]=_0x3bc015;void 0x0!==_0x38b59d&&!Array['isArray'](_0x38b59d)&&_0x3984b3['setRequestHeader'](_0x582b36,_0x38b59d);}),_0x3984b3['responseType']='text',_0x13e15f(_0x8459b4,()=>{_0x230d10=!0x0,_0x3984b3['abort'](),_0x2b111d(new _0x1118b4());}),_0x3984b3['onload']=()=>{if(0xc8!=_0x3984b3['status'])_0x2b111d(new Error('Error\x20'+_0x3984b3['status']+':\x20'+_0x3984b3['statusText']));else{const _0xe309ee={'method':_0x154dbf,'url':_0x29abc4,'data':_0x8ea988,'headers':_0x490e1a||void 0x0,'signal':_0x8459b4,'onProgress':_0x28fab5},_0x514d09=_0x3984b3['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x4cc859={};_0x514d09['forEach'](function(_0x2b0f10){const _0x524a72=_0x2b0f10['split'](':\x20'),_0x22f6be=_0x524a72['shift'](),_0x476005=_0x524a72['join'](':\x20');_0x22f6be&&void 0x0!==_0x22f6be&&(_0x4cc859[_0x22f6be]=_0x476005);});const _0x272b19=_0x3984b3['response'],_0xb33056=_0x3984b3['status'];_0x138424({'request':_0xe309ee,'data':_0x272b19,'headers':_0x4cc859,'status':_0xb33056});}},_0x3984b3['onerror']=_0x3ea35e=>{_0x230d10||_0x2b111d(new NetworkError(_0x3ea35e));},_0x28fab5&&'function'==typeof _0x28fab5&&(_0x3984b3['upload']['onprogress']=_0x5df091=>{_0x5df091['lengthComputable']?_0x28fab5({'isComputable':!0x0,'value':_0x5df091['loaded']/_0x5df091['total']}):_0x28fab5({'isComputable':!0x1});}),_0x8ea988?_0x3984b3['send'](_0x8ea988):_0x3984b3['send']();}),tP=function(_0x553ac0,..._0x2db3c5){return _0x553ac0;},_0x9bb5df=_0x15400=>'undefined'!=typeof Blob&&_0x15400 instanceof Blob,_0x2d256c=_0x54a949=>'undefined'!=typeof File&&_0x54a949 instanceof File,_0x503018=_0x3f0ed7=>!!_0x3f0ed7&&'object'==typeof _0x3f0ed7&&!Array['isArray'](_0x3f0ed7)&&'uri'in _0x3f0ed7&&'string'==typeof _0x3f0ed7['uri'],_0x1c8497=_0x5eb484=>_0x9bb5df(_0x5eb484)||_0x2d256c(_0x5eb484)||_0x503018(_0x5eb484);function _0x4dd0d0(_0x4cdbaf,_0x430652,_0x1d0445){if(Array['isArray'](_0x1d0445)){for(const _0x366991 of _0x1d0445)_0x4dd0d0(_0x4cdbaf,_0x430652+'[]',_0x366991);}else{if((_0x25509d=>!!_0x25509d&&'object'==typeof _0x25509d&&'data'in _0x25509d&&_0x1c8497(_0x25509d['data']))(_0x1d0445)){const {name:_0x2e2371,contentType:_0x56f5f}=_0x1d0445,_0x326884=tP(_0x1d0445['data'],_0x2e2371,_0x56f5f??_0x29a035),_0x59fe22=(({name:_0x33b2b0})=>_0x33b2b0?[_0x33b2b0]:[])({'name':_0x2e2371});_0x4cdbaf['push']([_0x430652,_0x326884,..._0x59fe22]);}else{if((_0x4a41c3=>!!_0x4a41c3&&'object'==typeof _0x4a41c3&&!Array['isArray'](_0x4a41c3))(_0x1d0445)){for(const [_0x40c5c3,_0x2b9b5c]of Object['entries'](_0x1d0445))void 0x0!==_0x2b9b5c&&_0x4cdbaf['push']([_0x430652+'['+_0x40c5c3+']',String(_0x2b9b5c)]);}else(_0x56122a=>'string'==typeof _0x56122a||'number'==typeof _0x56122a||void 0x0===_0x56122a)(_0x1d0445)&&_0x1d0445&&_0x4cdbaf['push']([_0x430652,_0x1d0445['toString']()]);}}}function _0x2a7fc8(_0x3b9bd3){const _0x3c1ff4=new FormData(),_0x360ccf=function(_0xd9bacc){const _0x3ab103=[];for(const [_0x71fb3f,_0x3deb61]of Object['entries'](_0xd9bacc))_0x4dd0d0(_0x3ab103,_0x71fb3f,_0x3deb61);return _0x3ab103;}(_0x3b9bd3);for(const _0x5cdfc8 of _0x360ccf){const [_0x55bab5,_0x424c2e,..._0xe9b637]=_0x5cdfc8;_0x3c1ff4['append'](_0x55bab5,_0x424c2e,..._0xe9b637);}return _0x3c1ff4;}class _0x10e3b1 extends _0x31ec85{['code'];['request'];['response'];['headers'];constructor(_0x36cf0a,_0x3d36a3,_0x28d48a,_0x6c1037,_0x2142a1){super(),this['name']='UploadError',this['message']=_0x36cf0a,this['code']=_0x3d36a3,this['request']=_0x28d48a,this['response']=_0x6c1037,this['headers']=_0x2142a1,Object['setPrototypeOf'](this,_0x10e3b1['prototype']);}}const _0x37b5b8=(_0x1fe435,_0x1b9e43,_0x2ecb8c)=>{const _0x2f301d=new URL(_0x1fe435);return _0x2f301d['pathname']=(_0x2f301d['pathname']+_0x1b9e43)['replace']('//','/'),_0x2ecb8c&&(_0x2f301d['search']=(_0x29a5bf=>{const _0x2143b7=new URLSearchParams();for(const [_0x3db6eb,_0x5e1402]of Object['entries'](_0x29a5bf))_0x5e1402&&'object'==typeof _0x5e1402&&!Array['isArray'](_0x5e1402)?Object['entries'](_0x5e1402)['filter'](_0x4aa3ac=>_0x4aa3ac[0x1]??!0x1)['forEach'](_0x182c15=>_0x2143b7['set'](_0x3db6eb+'['+_0x182c15[0x0]+']',String(_0x182c15[0x1]))):Array['isArray'](_0x5e1402)?_0x5e1402['forEach'](_0x20808e=>{_0x2143b7['append'](_0x3db6eb+'[]',_0x20808e);}):'string'==typeof _0x5e1402&&_0x5e1402?_0x2143b7['set'](_0x3db6eb,_0x5e1402):'number'==typeof _0x5e1402&&_0x2143b7['set'](_0x3db6eb,_0x5e1402['toString']());return _0x2143b7['toString']();})(_0x2ecb8c)),_0x2f301d['toString']();};function _0x5e28f8(_0x5c6be2){return function({libraryName:_0x31aa76,libraryVersion:_0x346c95,userAgent:_0x53f940,publicKey:_0x3ba2c9='',integration:_0x361875=''}){const _0x510044='JavaScript';return'string'==typeof _0x53f940?_0x53f940:'function'==typeof _0x53f940?_0x53f940({'publicKey':_0x3ba2c9,'libraryName':_0x31aa76,'libraryVersion':_0x346c95,'languageName':_0x510044,'integration':_0x361875}):[_0x31aa76,_0x346c95,_0x3ba2c9]['filter'](Boolean)['join']('/')+'\x20('+[_0x510044,_0x361875]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x5c6be2});}function _0x1330cd(_0x1cd7a1,_0x36c09b){const {retryThrottledRequestMaxTimes:_0x398b8e,retryNetworkErrorMaxTimes:_0x1bfadb}=_0x36c09b;return _0x19fe13(({attempt:_0x2a254d,retry:_0x2447df})=>_0x1cd7a1()['catch'](_0x1fbbc5=>{if('response'in _0x1fbbc5&&'RequestThrottledError'===_0x1fbbc5?.['code']&&_0x2a254d<_0x398b8e)return _0x2447df(function(_0x414677){const {headers:_0x226138}=_0x414677||{};if(!_0x226138||'string'!=typeof _0x226138['retry-after'])return 0x3a98;const _0x3f4f47=parseInt(_0x226138['retry-after'],0xa);return Number['isFinite'](_0x3f4f47)?0x3e8*_0x3f4f47:0x3a98;}(_0x1fbbc5));if(_0x1fbbc5 instanceof NetworkError&&_0x2a254d<_0x1bfadb)return _0x2447df(0x3e8*(_0x2a254d+0x1));throw _0x1fbbc5;}));}const _0xf6ca8b=_0x1c72af=>{let _0xd1e495='';return(_0x9bb5df(_0x1c72af)||_0x2d256c(_0x1c72af)||_0x503018(_0x1c72af))&&(_0xd1e495=_0x1c72af['type']),_0xd1e495||_0x29a035;},_0x3a37f2=_0x35efcb=>{let _0x8d3e29='';return _0x2d256c(_0x35efcb)&&_0x35efcb['name']?_0x8d3e29=_0x35efcb['name']:_0x9bb5df(_0x35efcb)?_0x8d3e29='':_0x503018(_0x35efcb)&&_0x35efcb['name']&&(_0x8d3e29=_0x35efcb['name']),_0x8d3e29||'original';};function _0x50d0de(_0x86006a){return void 0x0===_0x86006a||'auto'===_0x86006a?'auto':_0x86006a?'1':'0';}var _0x5f30b,_0x2f6e1f;!function(_0x4fcf3f){_0x4fcf3f['Token']='token',_0x4fcf3f['FileInfo']='file_info';}(_0x5f30b||(_0x5f30b={})),function(_0x316568){_0x316568['Unknown']='unknown',_0x316568['Waiting']='waiting',_0x316568['Progress']='progress',_0x316568['Error']='error',_0x316568['Success']='success';}(_0x2f6e1f||(_0x2f6e1f={}));function _0x30b84b(_0x2d3853,{publicKey:_0x4917c6,baseURL:_0x5a4b7b=_0x16142b,signal:_0x24e9a9,integration:_0x442e76,userAgent:_0x33682e,retryThrottledRequestMaxTimes:_0x50d5a1=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x3feeca=_0x1a893b}={}){return _0x1330cd(()=>_0x101c58({'method':'GET','headers':_0x4917c6?{'X-UC-User-Agent':_0x5e28f8({'publicKey':_0x4917c6,'integration':_0x442e76,'userAgent':_0x33682e})}:void 0x0,'url':_0x37b5b8(_0x5a4b7b,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2d3853}),'signal':_0x24e9a9})['then'](({data:_0x1c539a,headers:_0x4a9ff0,request:_0x49a548})=>{const _0x3ab7e5=_0x25cd4c(JSON['parse'](_0x1c539a));if('error'in _0x3ab7e5&&!(_0x20aef4=>'status'in _0x20aef4&&_0x20aef4['status']===_0x2f6e1f['Error'])(_0x3ab7e5))throw new _0x10e3b1(_0x3ab7e5['error']['content'],_0x3ab7e5['error']['errorCode'],_0x49a548,_0x3ab7e5,_0x4a9ff0);return _0x3ab7e5;}),{'retryNetworkErrorMaxTimes':_0x3feeca,'retryThrottledRequestMaxTimes':_0x50d5a1});}function _0x5356aa(_0x41ae19,{publicKey:_0x20029c,baseURL:_0x37cd1e=_0x16142b,signal:_0xf150f3,source:_0x583497,integration:_0xe4ab31,userAgent:_0x3d993f,retryThrottledRequestMaxTimes:_0x47b2db=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x473c03=_0x1a893b}){return _0x1330cd(()=>_0x101c58({'method':'GET','headers':{'X-UC-User-Agent':_0x5e28f8({'publicKey':_0x20029c,'integration':_0xe4ab31,'userAgent':_0x3d993f})},'url':_0x37b5b8(_0x37cd1e,'/info/',{'jsonerrors':0x1,'pub_key':_0x20029c,'file_id':_0x41ae19,'source':_0x583497}),'signal':_0xf150f3})['then'](({data:_0x312c50,headers:_0x3ca14f,request:_0x31c125})=>{const _0x4d5cfb=_0x25cd4c(JSON['parse'](_0x312c50));if('error'in _0x4d5cfb)throw new _0x10e3b1(_0x4d5cfb['error']['content'],_0x4d5cfb['error']['errorCode'],_0x31c125,_0x4d5cfb,_0x3ca14f);return _0x4d5cfb;}),{'retryThrottledRequestMaxTimes':_0x47b2db,'retryNetworkErrorMaxTimes':_0x473c03});}function _0x31c1b2(_0xf28d70,{publicKey:_0x773348,baseURL:_0x2172b2,source:_0x2530c7,integration:_0x29ea09,userAgent:_0x476255,retryThrottledRequestMaxTimes:_0x55cbce,retryNetworkErrorMaxTimes:_0x288cac,signal:_0x30265c,onProgress:_0x54c8fc}){return _0x14219e({'check':_0x1970c3=>_0x5356aa(_0xf28d70,{'publicKey':_0x773348,'baseURL':_0x2172b2,'signal':_0x1970c3,'source':_0x2530c7,'integration':_0x29ea09,'userAgent':_0x476255,'retryThrottledRequestMaxTimes':_0x55cbce,'retryNetworkErrorMaxTimes':_0x288cac})['then'](_0x57c667=>_0x57c667['isReady']?_0x57c667:(_0x54c8fc&&_0x54c8fc({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x30265c});}class _0x4ab601{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x3c93e6,{baseCDN:_0x41935b=_0x205ec4,fileName:_0x47474d}={}){const {uuid:_0x3945c0,s3Bucket:_0xae0b74}=_0x3c93e6,_0xc6c927=_0x37b5b8(_0x41935b,_0x3945c0+'/'),_0x520092=_0xae0b74?_0x37b5b8('https://'+_0xae0b74+'.s3.amazonaws.com/',_0x3945c0+'/'+_0x3c93e6['filename']):null;this['uuid']=_0x3945c0,this['name']=_0x47474d||_0x3c93e6['filename'],this['size']=_0x3c93e6['size'],this['isStored']=_0x3c93e6['isStored'],this['isImage']=_0x3c93e6['isImage'],this['mimeType']=_0x3c93e6['mimeType'],this['cdnUrl']=_0xc6c927,this['originalFilename']=_0x3c93e6['originalFilename'],this['imageInfo']=_0x3c93e6['imageInfo'],this['videoInfo']=_0x3c93e6['videoInfo'],this['contentInfo']=_0x3c93e6['contentInfo'],this['metadata']=_0x3c93e6['metadata']||null,this['s3Bucket']=_0xae0b74||null,this['s3Url']=_0x520092,function(_0x30fec3){return'defaultEffects'in _0x30fec3;}(_0x3c93e6)&&(this['defaultEffects']=_0x3c93e6['defaultEffects']);}}const _0x44c069=(_0x77a7b3,{publicKey:_0x1a4c05,fileName:_0x255b80,baseURL:_0x2ec84d,secureSignature:_0x19bc8d,secureExpire:_0x33a693,store:_0x1f8b72,contentType:_0x30bfc9,signal:_0x2a16d5,onProgress:_0x486234,source:_0x47fa29,integration:_0x5a3ce5,userAgent:_0x251c3d,retryThrottledRequestMaxTimes:_0x45e4b3,retryNetworkErrorMaxTimes:_0x109e5b,baseCDN:_0x363b9d,metadata:_0x36c0be})=>function(_0xf1ca94,{publicKey:_0xdc635e,fileName:_0x4b820a,contentType:_0x479d15,baseURL:_0x2ae574=_0x16142b,secureSignature:_0x22a4d3,secureExpire:_0x273f19,store:_0x322315,signal:_0x161ea9,onProgress:_0xfe76ea,source:_0x1040a6='local',integration:_0x22f0dc,userAgent:_0xb94525,retryThrottledRequestMaxTimes:_0x541098=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x441806=_0x1a893b,metadata:_0x15ba73}){return _0x1330cd(()=>_0x101c58({'method':'POST','url':_0x37b5b8(_0x2ae574,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x5e28f8({'publicKey':_0xdc635e,'integration':_0x22f0dc,'userAgent':_0xb94525})},'data':_0x2a7fc8({'file':{'data':_0xf1ca94,'name':_0x4b820a||_0x3a37f2(_0xf1ca94),'contentType':_0x479d15||_0xf6ca8b(_0xf1ca94)},'UPLOADCARE_PUB_KEY':_0xdc635e,'UPLOADCARE_STORE':_0x50d0de(_0x322315),'signature':_0x22a4d3,'expire':_0x273f19,'source':_0x1040a6,'metadata':_0x15ba73}),'signal':_0x161ea9,'onProgress':_0xfe76ea})['then'](({data:_0x1157b6,headers:_0x2cf343,request:_0x2e3c33})=>{const _0x14b618=_0x25cd4c(JSON['parse'](_0x1157b6));if('error'in _0x14b618)throw new _0x10e3b1(_0x14b618['error']['content'],_0x14b618['error']['errorCode'],_0x2e3c33,_0x14b618,_0x2cf343);return _0x14b618;}),{'retryNetworkErrorMaxTimes':_0x441806,'retryThrottledRequestMaxTimes':_0x541098});}(_0x77a7b3,{'publicKey':_0x1a4c05,'fileName':_0x255b80,'contentType':_0x30bfc9,'baseURL':_0x2ec84d,'secureSignature':_0x19bc8d,'secureExpire':_0x33a693,'store':_0x1f8b72,'signal':_0x2a16d5,'onProgress':_0x486234,'source':_0x47fa29,'integration':_0x5a3ce5,'userAgent':_0x251c3d,'retryThrottledRequestMaxTimes':_0x45e4b3,'retryNetworkErrorMaxTimes':_0x109e5b,'metadata':_0x36c0be})['then'](({file:_0x5505df})=>_0x31c1b2(_0x5505df,{'publicKey':_0x1a4c05,'baseURL':_0x2ec84d,'source':_0x47fa29,'integration':_0x5a3ce5,'userAgent':_0x251c3d,'retryThrottledRequestMaxTimes':_0x45e4b3,'retryNetworkErrorMaxTimes':_0x109e5b,'onProgress':_0x486234,'signal':_0x2a16d5}))['then'](_0x45770a=>new _0x4ab601(_0x45770a,{'baseCDN':_0x363b9d})),_0x4a6e58=(_0x1ae337,{signal:_0x376523}={})=>{let _0xa82186=null,_0x25cd97=null;const _0x2f5abb=_0x1ae337['map'](()=>new AbortController());return _0x13e15f(_0x376523,()=>{_0x2f5abb['forEach'](_0x38d093=>_0x38d093['abort']());}),Promise['all'](_0x1ae337['map']((_0x12e6dc,_0x126899)=>{const _0x429951=(_0x120094=>()=>{_0x25cd97=_0x120094,_0x2f5abb['forEach']((_0x3e80c7,_0x737c1)=>_0x737c1!==_0x120094&&_0x3e80c7['abort']());})(_0x126899);return Promise['resolve']()['then'](()=>_0x12e6dc({'stopRace':_0x429951,'signal':_0x2f5abb[_0x126899]['signal']}))['then'](_0x532e27=>(_0x429951(),_0x532e27))['catch'](_0x462957=>(_0xa82186=_0x462957,null));}))['then'](_0x198a7b=>{if(null===_0x25cd97)throw _0xa82186;return _0x198a7b[_0x25cd97];});};var _0x54f058=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0xc63a0e,_0x40b789){this['events'][_0xc63a0e]?.['forEach'](_0x491797=>_0x491797(_0x40b789));}['on'](_0x12b24a,_0x22cd2e){this['events'][_0x12b24a]=this['events'][_0x12b24a]||[],this['events'][_0x12b24a]['push'](_0x22cd2e);}['off'](_0x292a37,_0x2bb2d1){this['events'][_0x292a37]=_0x2bb2d1?this['events'][_0x292a37]['filter'](_0x1e8983=>_0x1e8983!==_0x2bb2d1):[];}}class _0x495b10{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x2701dc,_0x275f02=0x7530){this['key']=_0x2701dc,this['disconnectTime']=_0x275f02;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x24978f='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x54f058(_0x24978f),this['ws']['addEventListener']('error',_0x139d29=>{this['emmitter']['emit']('error',new Error(_0x139d29['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0xe4466f=>this['send'](_0xe4466f['event'],_0xe4466f['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0xec4bb1=>{const _0x4d6ed8=JSON['parse'](_0xec4bb1['data']['toString']());switch(_0x4d6ed8['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x4d6ed8['channel'],((_0x18787c,_0x4ef12f)=>'success'===_0x18787c?{'status':_0x2f6e1f['Success'],..._0x4ef12f}:'progress'===_0x18787c?{'status':_0x2f6e1f['Progress'],..._0x4ef12f}:{'status':_0x2f6e1f['Error'],..._0x4ef12f})(_0x4d6ed8['event'],JSON['parse'](_0x4d6ed8['data'])));}});}}['disconnect'](){const _0x42490f=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x42490f();},this['disconnectTime']):_0x42490f();}['send'](_0x40109e,_0x2b192b){const _0x507f5b=JSON['stringify']({'event':_0x40109e,'data':_0x2b192b});this['ws']?.['send'](_0x507f5b);}['subscribe'](_0x1e90d4,_0x57e7ec){this['subscribers']+=0x1,this['connect']();const _0x57a2a7='task-status-'+_0x1e90d4,_0x259996={'event':'pusher:subscribe','data':{'channel':_0x57a2a7}};this['emmitter']['on'](_0x57a2a7,_0x57e7ec),this['isConnected']?this['send'](_0x259996['event'],_0x259996['data']):this['queue']['push'](_0x259996);}['unsubscribe'](_0x79c0aa){this['subscribers']-=0x1;const _0x32f660='task-status-'+_0x79c0aa,_0x292013={'event':'pusher:unsubscribe','data':{'channel':_0x32f660}};this['emmitter']['off'](_0x32f660),this['isConnected']?this['send'](_0x292013['event'],_0x292013['data']):this['queue']=this['queue']['filter'](_0x3cc538=>_0x3cc538['data']['channel']!==_0x32f660),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x50d9d4){return this['emmitter']['on']('error',_0x50d9d4),()=>this['emmitter']['off']('error',_0x50d9d4);}}let _0x2b353f=null;const _0x21d7cc=_0x4124b4=>{if(!_0x2b353f){const _0x2ad375='undefined'==typeof window?0x0:0x7530;_0x2b353f=new _0x495b10(_0x4124b4,_0x2ad375);}return _0x2b353f;},_0x5dbbce=(_0x3f52d2,{publicKey:_0x11d8fe,fileName:_0x33ada7,baseURL:_0x4de239,baseCDN:_0x49fcb2,checkForUrlDuplicates:_0x58616b,saveUrlForRecurrentUploads:_0x475b1e,secureSignature:_0x3abb42,secureExpire:_0x1324fa,store:_0x1b07d4,signal:_0x40b89d,onProgress:_0x178232,source:_0x116173,integration:_0x55bff5,userAgent:_0x56c20d,retryThrottledRequestMaxTimes:_0x45f773,pusherKey:_0x2f4e24=_0x2a17aa,metadata:_0x299881})=>{return Promise['resolve']((_0x421f0f=_0x2f4e24,void _0x21d7cc(_0x421f0f)['connect']()))['then'](()=>function(_0x460e78,{publicKey:_0x389817,baseURL:_0x3e983b=_0x16142b,store:_0x598e64,fileName:_0x5226e1,checkForUrlDuplicates:_0x520fd6,saveUrlForRecurrentUploads:_0x2511ac,secureSignature:_0x169a5d,secureExpire:_0x19729c,source:_0x50e51c='url',signal:_0x1bd24f,integration:_0x1bfca1,userAgent:_0x456aa1,retryThrottledRequestMaxTimes:_0x4b40be=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x2e6a82=_0x1a893b,metadata:_0x475bb7}){return _0x1330cd(()=>_0x101c58({'method':'POST','headers':{'X-UC-User-Agent':_0x5e28f8({'publicKey':_0x389817,'integration':_0x1bfca1,'userAgent':_0x456aa1})},'url':_0x37b5b8(_0x3e983b,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x389817,'source_url':_0x460e78,'store':_0x50d0de(_0x598e64),'filename':_0x5226e1,'check_URL_duplicates':_0x520fd6?0x1:void 0x0,'save_URL_duplicates':_0x2511ac?0x1:void 0x0,'signature':_0x169a5d,'expire':_0x19729c,'source':_0x50e51c,'metadata':_0x475bb7}),'signal':_0x1bd24f})['then'](({data:_0xfd5377,headers:_0x334ea8,request:_0x414820})=>{const _0x504d1f=_0x25cd4c(JSON['parse'](_0xfd5377));if('error'in _0x504d1f)throw new _0x10e3b1(_0x504d1f['error']['content'],_0x504d1f['error']['errorCode'],_0x414820,_0x504d1f,_0x334ea8);return _0x504d1f;}),{'retryNetworkErrorMaxTimes':_0x2e6a82,'retryThrottledRequestMaxTimes':_0x4b40be});}(_0x3f52d2,{'publicKey':_0x11d8fe,'fileName':_0x33ada7,'baseURL':_0x4de239,'checkForUrlDuplicates':_0x58616b,'saveUrlForRecurrentUploads':_0x475b1e,'secureSignature':_0x3abb42,'secureExpire':_0x1324fa,'store':_0x1b07d4,'signal':_0x40b89d,'source':_0x116173,'integration':_0x55bff5,'userAgent':_0x56c20d,'retryThrottledRequestMaxTimes':_0x45f773,'metadata':_0x299881}))['catch'](_0x3ef59c=>{const _0x159e14=_0x21d7cc(_0x2f4e24);return _0x159e14?.['disconnect'](),Promise['reject'](_0x3ef59c);})['then'](_0x5e7599=>_0x5e7599['type']===_0x5f30b['FileInfo']?_0x5e7599:_0x4a6e58([({signal:_0x587e48})=>function({token:_0xf3f1f2,publicKey:_0x2f9ba7,baseURL:_0x4fa6f8,integration:_0xb9b0f8,userAgent:_0x21d7dd,retryThrottledRequestMaxTimes:_0xb2273a,retryNetworkErrorMaxTimes:_0x3ef621,onProgress:_0x501712,signal:_0x3df336}){return _0x14219e({'check':_0x3cf2e5=>_0x30b84b(_0xf3f1f2,{'publicKey':_0x2f9ba7,'baseURL':_0x4fa6f8,'integration':_0xb9b0f8,'userAgent':_0x21d7dd,'retryThrottledRequestMaxTimes':_0xb2273a,'retryNetworkErrorMaxTimes':_0x3ef621,'signal':_0x3cf2e5})['then'](_0x153587=>{switch(_0x153587['status']){case _0x2f6e1f['Error']:return new _0x10e3b1(_0x153587['error'],_0x153587['errorCode']);case _0x2f6e1f['Waiting']:return!0x1;case _0x2f6e1f['Unknown']:return new _0x10e3b1('Token\x20\x22'+_0xf3f1f2+'\x22\x20was\x20not\x20found.');case _0x2f6e1f['Progress']:return _0x501712&&('unknown'===_0x153587['total']?_0x501712({'isComputable':!0x1}):_0x501712({'isComputable':!0x0,'value':_0x153587['done']/_0x153587['total']})),!0x1;case _0x2f6e1f['Success']:return _0x501712&&_0x501712({'isComputable':!0x0,'value':_0x153587['done']/_0x153587['total']}),_0x153587;default:throw new Error('Unknown\x20status');}}),'signal':_0x3df336});}({'token':_0x5e7599['token'],'publicKey':_0x11d8fe,'baseURL':_0x4de239,'integration':_0x55bff5,'userAgent':_0x56c20d,'retryThrottledRequestMaxTimes':_0x45f773,'onProgress':_0x178232,'signal':_0x587e48}),({signal:_0x53f9a6})=>(({token:_0x564c41,pusherKey:_0x1b105c,signal:_0x34a105,onProgress:_0x58533d})=>new Promise((_0x210757,_0x4ee0d4)=>{const _0xf1dfe7=_0x21d7cc(_0x1b105c),_0x2f7a24=_0xf1dfe7['onError'](_0x4ee0d4),_0x18cd9f=()=>{_0x2f7a24(),_0xf1dfe7['unsubscribe'](_0x564c41);};_0x13e15f(_0x34a105,()=>{_0x18cd9f(),_0x4ee0d4(new _0x1118b4('pusher\x20cancelled'));}),_0xf1dfe7['subscribe'](_0x564c41,_0x3d0eda=>{switch(_0x3d0eda['status']){case _0x2f6e1f['Progress']:_0x58533d&&('unknown'===_0x3d0eda['total']?_0x58533d({'isComputable':!0x1}):_0x58533d({'isComputable':!0x0,'value':_0x3d0eda['done']/_0x3d0eda['total']}));break;case _0x2f6e1f['Success']:_0x18cd9f(),_0x58533d&&_0x58533d({'isComputable':!0x0,'value':_0x3d0eda['done']/_0x3d0eda['total']}),_0x210757(_0x3d0eda);break;case _0x2f6e1f['Error']:_0x18cd9f(),_0x4ee0d4(new _0x10e3b1(_0x3d0eda['msg'],_0x3d0eda['error_code']));}});}))({'token':_0x5e7599['token'],'pusherKey':_0x2f4e24,'signal':_0x53f9a6,'onProgress':_0x178232})],{'signal':_0x40b89d}))['then'](_0xce0326=>{if(_0xce0326 instanceof _0x10e3b1)throw _0xce0326;return _0xce0326;})['then'](_0x5ec79c=>_0x31c1b2(_0x5ec79c['uuid'],{'publicKey':_0x11d8fe,'baseURL':_0x4de239,'integration':_0x55bff5,'userAgent':_0x56c20d,'retryThrottledRequestMaxTimes':_0x45f773,'onProgress':_0x178232,'signal':_0x40b89d}))['then'](_0x15b2aa=>new _0x4ab601(_0x15b2aa,{'baseCDN':_0x49fcb2}));var _0x421f0f;},_0x193d86=new WeakMap(),_0x10d889=async _0xc511c=>{if(_0x2d256c(_0xc511c)||_0x9bb5df(_0xc511c))return _0xc511c['size'];if(_0x503018(_0xc511c))return(await(async _0x1a4dde=>{if(_0x193d86['has'](_0x1a4dde))return _0x193d86['get'](_0x1a4dde);const _0x392868=await fetch(_0x1a4dde['uri'])['then'](_0x5dc2d1=>_0x5dc2d1['blob']());return _0x193d86['set'](_0x1a4dde,_0x392868),_0x392868;})(_0xc511c))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x2fce36=async(_0x783c33,_0x34f628,_0x170cbd)=>_0x1168d9=>((_0xfe9a2b,_0x2b78de,_0x176f14,_0x24601a)=>{const _0x334912=_0x24601a*_0x2b78de,_0x3b732c=Math['min'](_0x334912+_0x24601a,_0x176f14);return _0xfe9a2b['slice'](_0x334912,_0x3b732c);})(_0x783c33,_0x1168d9,_0x34f628,_0x170cbd),_0x52e2a8=(_0x294b59,_0x8fd22a,{publicKey:_0x3741f8,contentType:_0x281039,onProgress:_0x209c4c,signal:_0x33072c,integration:_0x54f15f,retryThrottledRequestMaxTimes:_0x4db08e,retryNetworkErrorMaxTimes:_0x41fe5c})=>function(_0x2ef59e,_0x5a235c,{contentType:_0x4d336b,signal:_0x45ee1c,onProgress:_0x178501,retryThrottledRequestMaxTimes:_0x391636=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x57eb6c=_0x1a893b}){return _0x1330cd(()=>_0x101c58({'method':'PUT','url':_0x5a235c,'data':_0x2ef59e,'onProgress':_0x178501,'signal':_0x45ee1c,'headers':{'Content-Type':_0x4d336b||_0x29a035}})['then'](_0xe678a0=>(_0x178501&&_0x178501({'isComputable':!0x0,'value':0x1}),_0xe678a0))['then'](({status:_0x1ce4e5})=>({'code':_0x1ce4e5})),{'retryThrottledRequestMaxTimes':_0x391636,'retryNetworkErrorMaxTimes':_0x57eb6c});}(_0x294b59,_0x8fd22a,{'contentType':_0x281039,'onProgress':_0x209c4c,'signal':_0x33072c,'retryThrottledRequestMaxTimes':_0x4db08e,'retryNetworkErrorMaxTimes':_0x41fe5c}),_0x5b20d2=async(_0x1a8818,{publicKey:_0x142043,fileName:_0x23683b,fileSize:_0x17c48d,baseURL:_0x3f27ad,secureSignature:_0x440800,secureExpire:_0x47c948,store:_0x147f07,signal:_0x26f8e0,onProgress:_0x5b6219,source:_0x5ed5da,integration:_0x1c33aa,userAgent:_0x620af9,retryThrottledRequestMaxTimes:_0x12344c,retryNetworkErrorMaxTimes:_0x6952f3,contentType:_0x4e1dd0,multipartChunkSize:_0x36708e=_0xeb2836,maxConcurrentRequests:_0x49bb35=_0x295ac8,baseCDN:_0x40bb13,metadata:_0x1d3dbb})=>{const _0x102f7a=_0x17c48d??await _0x10d889(_0x1a8818);let _0x49431d;const _0x45a3ea=(_0x223f41,_0x38e1d3)=>{if(!_0x5b6219)return;_0x49431d||(_0x49431d=Array(_0x223f41)['fill'](0x0));const _0x865807=_0x2f3095=>_0x2f3095['reduce']((_0x5e9cae,_0xef44e5)=>_0x5e9cae+_0xef44e5,0x0);return _0xa4d4c5=>{_0xa4d4c5['isComputable']&&(_0x49431d[_0x38e1d3]=_0xa4d4c5['value'],_0x5b6219({'isComputable':!0x0,'value':_0x865807(_0x49431d)/_0x223f41}));};};return _0x4e1dd0||=_0xf6ca8b(_0x1a8818),function(_0x1bcc5d,{publicKey:_0x2b7235,contentType:_0x11e61d,fileName:_0x105e17,multipartChunkSize:_0x8458c1=_0xeb2836,baseURL:_0x204c41='',secureSignature:_0x1374b9,secureExpire:_0x53923c,store:_0x5bc45c,signal:_0x1e42f2,source:_0x3be27f='local',integration:_0x3b2d32,userAgent:_0x1ec67b,retryThrottledRequestMaxTimes:_0x7fc416=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x33a1d0=_0x1a893b,metadata:_0x414c15}){return _0x1330cd(()=>_0x101c58({'method':'POST','url':_0x37b5b8(_0x204c41,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x5e28f8({'publicKey':_0x2b7235,'integration':_0x3b2d32,'userAgent':_0x1ec67b})},'data':_0x2a7fc8({'filename':_0x105e17,'size':_0x1bcc5d,'content_type':_0x11e61d||_0x29a035,'part_size':_0x8458c1,'UPLOADCARE_STORE':_0x50d0de(_0x5bc45c),'UPLOADCARE_PUB_KEY':_0x2b7235,'signature':_0x1374b9,'expire':_0x53923c,'source':_0x3be27f,'metadata':_0x414c15}),'signal':_0x1e42f2})['then'](({data:_0x276d78,headers:_0x207478,request:_0x2c7b87})=>{const _0x71a86d=_0x25cd4c(JSON['parse'](_0x276d78));if('error'in _0x71a86d)throw new _0x10e3b1(_0x71a86d['error']['content'],_0x71a86d['error']['errorCode'],_0x2c7b87,_0x71a86d,_0x207478);return _0x71a86d['parts']=Object['keys'](_0x71a86d['parts'])['map'](_0x28a254=>_0x71a86d['parts'][Number(_0x28a254)]),_0x71a86d;}),{'retryThrottledRequestMaxTimes':_0x7fc416,'retryNetworkErrorMaxTimes':_0x33a1d0});}(_0x102f7a,{'publicKey':_0x142043,'contentType':_0x4e1dd0,'fileName':_0x23683b||_0x3a37f2(_0x1a8818),'baseURL':_0x3f27ad,'secureSignature':_0x440800,'secureExpire':_0x47c948,'store':_0x147f07,'signal':_0x26f8e0,'source':_0x5ed5da,'integration':_0x1c33aa,'userAgent':_0x620af9,'retryThrottledRequestMaxTimes':_0x12344c,'retryNetworkErrorMaxTimes':_0x6952f3,'metadata':_0x1d3dbb,'multipartChunkSize':_0x36708e})['then'](async({uuid:_0x3f0af3,parts:_0x4bb1ee})=>{const _0x317c1b=await _0x2fce36(_0x1a8818,_0x102f7a,_0x36708e);return Promise['all']([_0x3f0af3,(_0x27280e=_0x49bb35,_0x1a10bb=_0x4bb1ee['map']((_0x3509cc,_0x2433a0)=>()=>_0x52e2a8(_0x317c1b(_0x2433a0),_0x3509cc,{'publicKey':_0x142043,'contentType':_0x4e1dd0,'onProgress':_0x45a3ea(_0x4bb1ee['length'],_0x2433a0),'signal':_0x26f8e0,'integration':_0x1c33aa,'retryThrottledRequestMaxTimes':_0x12344c,'retryNetworkErrorMaxTimes':_0x6952f3})),new Promise((_0x216568,_0x54da8e)=>{const _0x40503c=[];let _0x4cd77b=!0x1,_0x443799=_0x1a10bb['length'];const _0x616610=[..._0x1a10bb],_0x13b736=()=>{const _0x1bfb73=_0x1a10bb['length']-_0x616610['length'],_0x306c0f=_0x616610['shift']();_0x306c0f&&_0x306c0f()['then'](_0x4f000f=>{_0x4cd77b||(_0x40503c[_0x1bfb73]=_0x4f000f,_0x443799-=0x1,_0x443799?_0x13b736():_0x216568(_0x40503c));})['catch'](_0xd414a7=>{_0x4cd77b=!0x0,_0x54da8e(_0xd414a7);});};for(let _0x190f5e=0x0;_0x190f5e<_0x27280e;_0x190f5e++)_0x13b736();}))]);var _0x27280e,_0x1a10bb;})['then'](([_0x4a0a71])=>function(_0x21389c,{publicKey:_0xe6a67e,baseURL:_0x18c4d1=_0x16142b,source:_0x4e7438='local',signal:_0x442142,integration:_0xb2f449,userAgent:_0x3ebb72,retryThrottledRequestMaxTimes:_0x16f238=_0x3c5ac3,retryNetworkErrorMaxTimes:_0x26bbed=_0x1a893b}){return _0x1330cd(()=>_0x101c58({'method':'POST','url':_0x37b5b8(_0x18c4d1,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x5e28f8({'publicKey':_0xe6a67e,'integration':_0xb2f449,'userAgent':_0x3ebb72})},'data':_0x2a7fc8({'uuid':_0x21389c,'UPLOADCARE_PUB_KEY':_0xe6a67e,'source':_0x4e7438}),'signal':_0x442142})['then'](({data:_0x29cdf2,headers:_0x44f5c5,request:_0x4110ab})=>{const _0xc61b58=_0x25cd4c(JSON['parse'](_0x29cdf2));if('error'in _0xc61b58)throw new _0x10e3b1(_0xc61b58['error']['content'],_0xc61b58['error']['errorCode'],_0x4110ab,_0xc61b58,_0x44f5c5);return _0xc61b58;}),{'retryThrottledRequestMaxTimes':_0x16f238,'retryNetworkErrorMaxTimes':_0x26bbed});}(_0x4a0a71,{'publicKey':_0x142043,'baseURL':_0x3f27ad,'source':_0x5ed5da,'integration':_0x1c33aa,'userAgent':_0x620af9,'retryThrottledRequestMaxTimes':_0x12344c,'retryNetworkErrorMaxTimes':_0x6952f3}))['then'](_0x4080de=>_0x4080de['isReady']?_0x4080de:_0x31c1b2(_0x4080de['uuid'],{'publicKey':_0x142043,'baseURL':_0x3f27ad,'source':_0x5ed5da,'integration':_0x1c33aa,'userAgent':_0x620af9,'retryThrottledRequestMaxTimes':_0x12344c,'retryNetworkErrorMaxTimes':_0x6952f3,'onProgress':_0x5b6219,'signal':_0x26f8e0}))['then'](_0x4f459f=>new _0x4ab601(_0x4f459f,{'baseCDN':_0x40bb13}));};async function _0x10f86f(_0xc84507,{publicKey:_0x27d5bd,fileName:_0x19a225,baseURL:_0x322012=_0x16142b,secureSignature:_0x4b0746,secureExpire:_0x51e896,store:_0x5bcf53,signal:_0x1e6a8e,onProgress:_0x7edbb3,source:_0x91eba8,integration:_0x4a5d5f,userAgent:_0x58cc11,retryThrottledRequestMaxTimes:_0x39cc5b,retryNetworkErrorMaxTimes:_0x52f3be,contentType:_0x152a94,multipartMinFileSize:_0x231713,multipartChunkSize:_0x25eed4,maxConcurrentRequests:_0xa07cfd,baseCDN:_0x1615b6=_0x205ec4,checkForUrlDuplicates:_0x2ca86d,saveUrlForRecurrentUploads:_0x1cc074,pusherKey:_0x25838a,metadata:_0x5a834d}){if(_0x1c8497(_0xc84507)){const _0x5e220a=await _0x10d889(_0xc84507);return((_0x15a7a9,_0x53e745=_0x5265d8)=>_0x15a7a9>=_0x53e745)(_0x5e220a,_0x231713)?_0x5b20d2(_0xc84507,{'publicKey':_0x27d5bd,'contentType':_0x152a94,'multipartChunkSize':_0x25eed4,'fileSize':_0x5e220a,'fileName':_0x19a225,'baseURL':_0x322012,'secureSignature':_0x4b0746,'secureExpire':_0x51e896,'store':_0x5bcf53,'signal':_0x1e6a8e,'onProgress':_0x7edbb3,'source':_0x91eba8,'integration':_0x4a5d5f,'userAgent':_0x58cc11,'maxConcurrentRequests':_0xa07cfd,'retryThrottledRequestMaxTimes':_0x39cc5b,'retryNetworkErrorMaxTimes':_0x52f3be,'baseCDN':_0x1615b6,'metadata':_0x5a834d}):_0x44c069(_0xc84507,{'publicKey':_0x27d5bd,'fileName':_0x19a225,'contentType':_0x152a94,'baseURL':_0x322012,'secureSignature':_0x4b0746,'secureExpire':_0x51e896,'store':_0x5bcf53,'signal':_0x1e6a8e,'onProgress':_0x7edbb3,'source':_0x91eba8,'integration':_0x4a5d5f,'userAgent':_0x58cc11,'retryThrottledRequestMaxTimes':_0x39cc5b,'retryNetworkErrorMaxTimes':_0x52f3be,'baseCDN':_0x1615b6,'metadata':_0x5a834d});}if((_0x3c71c0=>{const _0xdf8361=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x1c8497(_0x3c71c0)&&_0xdf8361['test'](_0x3c71c0);})(_0xc84507))return _0x5dbbce(_0xc84507,{'publicKey':_0x27d5bd,'fileName':_0x19a225,'baseURL':_0x322012,'baseCDN':_0x1615b6,'checkForUrlDuplicates':_0x2ca86d,'saveUrlForRecurrentUploads':_0x1cc074,'secureSignature':_0x4b0746,'secureExpire':_0x51e896,'store':_0x5bcf53,'signal':_0x1e6a8e,'onProgress':_0x7edbb3,'source':_0x91eba8,'integration':_0x4a5d5f,'userAgent':_0x58cc11,'retryThrottledRequestMaxTimes':_0x39cc5b,'pusherKey':_0x25838a,'metadata':_0x5a834d});if((_0x3642b7=>{const _0xda9251=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x1c8497(_0x3642b7)&&_0xda9251['test'](_0x3642b7);})(_0xc84507))return((_0x5552ef,{publicKey:_0x11e9c8,fileName:_0x563c41,baseURL:_0x5aa7ec,signal:_0x1f3ec3,onProgress:_0x2e03d1,source:_0x3c1a87,integration:_0x43f90d,userAgent:_0x2a28c7,retryThrottledRequestMaxTimes:_0x42a8af,retryNetworkErrorMaxTimes:_0x13119c,baseCDN:_0x5982e4})=>_0x5356aa(_0x5552ef,{'publicKey':_0x11e9c8,'baseURL':_0x5aa7ec,'signal':_0x1f3ec3,'source':_0x3c1a87,'integration':_0x43f90d,'userAgent':_0x2a28c7,'retryThrottledRequestMaxTimes':_0x42a8af,'retryNetworkErrorMaxTimes':_0x13119c})['then'](_0x25cd44=>new _0x4ab601(_0x25cd44,{'baseCDN':_0x5982e4,'fileName':_0x563c41}))['then'](_0x215760=>(_0x2e03d1&&_0x2e03d1({'isComputable':!0x0,'value':0x1}),_0x215760)))(_0xc84507,{'publicKey':_0x27d5bd,'fileName':_0x19a225,'baseURL':_0x322012,'signal':_0x1e6a8e,'onProgress':_0x7edbb3,'source':_0x91eba8,'integration':_0x4a5d5f,'userAgent':_0x58cc11,'retryThrottledRequestMaxTimes':_0x39cc5b,'retryNetworkErrorMaxTimes':_0x52f3be,'baseCDN':_0x1615b6});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0xc84507+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x1f532e,..._0xc3a6b2}){return _0x10f86f(_0x1f532e,_0xc3a6b2);}static['getInfo'](_0x2821e5,_0x11bfc){return _0x5356aa(_0x2821e5,_0x11bfc);}}class UploadcareUploadAdapter extends _0x31c75c['Plugin']{static get['requires'](){return[_0x31c75c['ImageUploadEditing'],_0x31c75c['ImageUploadProgress'],_0x31c75c['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1d1ffe=this['editor'];if(!!!_0x1d1ffe['config']['get']('uploadcare'))return;_0x1d1ffe['plugins']['get'](_0x31c75c['FileRepository'])['createUploadAdapter']=_0x223470=>new Adapter(_0x223470,_0x1d1ffe),_0x1d1ffe['plugins']['get'](_0x31c75c['ImageUploadEditing'])['on']('uploadComplete',(_0x33913e,{imageElement:_0x21115a,data:_0x355b02})=>{_0x1d1ffe['model']['change'](_0x51529f=>{_0x51529f['setAttribute']('uploadcareImageId',_0x355b02['uploadcareImageId'],_0x21115a);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x5e0cb0,_0x1357c2){this['loader']=_0x5e0cb0,this['editor']=_0x1357c2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2d8f75=await this['loader']['file'];return UploadUtils['upload']({'file':_0x2d8f75,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xac5bb=>{_0xac5bb&&_0xac5bb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xac5bb['value']);}})['then'](async _0x43b347=>{const {imageFallbackUrl:_0x1862ff,imageSources:_0x4b6334}=_0x40a7bd(_0x43b347['cdnUrl'],_0x43b347['imageInfo']['width']);return{'uploadcareImageId':_0x43b347['uuid'],'default':_0x1862ff,'sources':_0x4b6334};})['catch'](()=>{const _0x1e4f21=t('Cannot\x20upload\x20file:')+('\x20'+_0x2d8f75['name']+'.');return Promise['reject'](_0x1e4f21);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x31c75c['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x31c75c['PictureEditing'],UploadcareUploadAdapter,_0x31c75c['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x535e57){super(_0x535e57),this['ucContextId']=_0x31c75c['uid']();}['init'](){const _0x114fe2=this['editor'];_0x114fe2['commands']['add']('uploadcare',new _0x25f679(_0x114fe2));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x4e5473=_0x31c75c['global']['document']['querySelector']('input[uploadcare-file-input]');_0x4e5473&&_0x4e5473['remove']();}),async function(_0x445c3b){const _0x231fdf=_0x24db61([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x517fad=0x535f8c3a,_0x2ee3f0=0x53580652^_0x517fad,_0x21aac3=window[_0x24db61([0x44,0x61,0x74,0x65])][_0x24db61([0x6e,0x6f,0x77])](),_0x13f173=_0x445c3b[_0x24db61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e1bce=new window[(_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdbe7a6=>{_0x13f173[_0x24db61([0x6f,0x6e,0x63,0x65])](_0x24db61([0x72,0x65,0x61,0x64,0x79]),_0xdbe7a6);}),_0x4c3a03={[_0x24db61([0x6b,0x74,0x79])]:_0x24db61([0x45,0x43]),[_0x24db61([0x75,0x73,0x65])]:_0x24db61([0x73,0x69,0x67]),[_0x24db61([0x63,0x72,0x76])]:_0x24db61([0x50,0x2d,0x32,0x35,0x36]),[_0x24db61([0x78])]:_0x24db61([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x24db61([0x79])]:_0x24db61([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x24db61([0x61,0x6c,0x67])]:_0x24db61([0x45,0x53,0x32,0x35,0x36])},_0x2b9525=_0x13f173[_0x24db61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24db61([0x67,0x65,0x74])](_0x24db61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1434d0(){let _0x358c46,_0x50da33=null,_0x30aef8=null;try{if(_0x2b9525==_0x24db61([0x47,0x50,0x4c]))return _0x24db61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x358c46=_0x321569(),!_0x358c46)return _0x24db61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x358c46[_0x24db61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30aef8=_0xb46f45(_0x358c46[_0x24db61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x358c46[_0x24db61([0x6a,0x74,0x69])])),await _0x58d794()?_0x583e90()?_0x3145eb()?_0x24db61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x638889()?(_0x358c46[_0x24db61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24db61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50da33=_0x31d9db(_0x24db61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46e382()):_0x24db61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24db61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24db61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24db61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3145eb(){const _0x22475f=[_0x24db61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24db61([0x74,0x72,0x69,0x61,0x6c])][_0x24db61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358c46[_0x24db61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21aac3/0x3e8:0xe10*_0x2ee3f0;return _0x358c46[_0x24db61([0x65,0x78,0x70])]<_0x22475f;}function _0x583e90(){const _0x1568ea=_0x358c46[_0x24db61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1568ea&&(!!_0x1568ea[_0x24db61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24db61([0x2a]))||!!_0x1568ea[_0x24db61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24db61([0x55,0x50,0x4c,0x43])));}function _0x638889(){const _0x1df64a=_0x358c46[_0x24db61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1df64a||0x0==_0x1df64a[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x254a4d}=new URL(window[_0x24db61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1df64a[_0x24db61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x254a4d))return!0x0;const _0x26bb99=_0x254a4d[_0x24db61([0x73,0x70,0x6c,0x69,0x74])](_0x24db61([0x2e]));return _0x1df64a[_0x24db61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30d6ca=>_0x30d6ca[_0x24db61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24db61([0x2a])))[_0x24db61([0x6d,0x61,0x70])](_0x5bd06e=>_0x5bd06e[_0x24db61([0x73,0x70,0x6c,0x69,0x74])](_0x24db61([0x2e])))[_0x24db61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2756b1=>_0x2756b1[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26bb99[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24db61([0x6d,0x61,0x70])](_0x5d2886=>Array(_0x26bb99[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d2886[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24db61([0x66,0x69,0x6c,0x6c])](_0x5d2886[0x0]===_0x24db61([0x2a])?_0x24db61([0x2a]):'')[_0x24db61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d2886))[_0x24db61([0x73,0x6f,0x6d,0x65])](_0x10cc7c=>_0x26bb99[_0x24db61([0x65,0x76,0x65,0x72,0x79])]((_0x12b7af,_0x37ee6b)=>_0x10cc7c[_0x37ee6b]===_0x12b7af||_0x10cc7c[_0x37ee6b]===_0x24db61([0x2a])));}function _0x46e382(){return _0x50da33&&_0x30aef8?new window[(_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x599315,_0x4d5a8e)=>{_0x50da33[_0x24db61([0x74,0x68,0x65,0x6e])](_0x599315,_0x4d5a8e),_0x30aef8[_0x24db61([0x74,0x68,0x65,0x6e])](_0x452df1=>{_0x452df1!=_0x24db61([0x56,0x61,0x6c,0x69,0x64])&&_0x599315(_0x452df1);},_0x4d5a8e);}):_0x50da33||_0x30aef8||_0x24db61([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb46f45(_0xa842d8,_0x206ea9){return new window[(_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bd2cf=>{if(_0x2732df())return _0x1bd2cf(_0x24db61([0x56,0x61,0x6c,0x69,0x64]));_0x42b4e2(),_0x13f173[_0x24db61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24db61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x506de9=!0x1;const _0x52d384=_0x31c75c['uid']();function _0x449583(_0xb39cfa){return!!_0xb39cfa&&(typeof _0xb39cfa===_0x24db61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb39cfa===_0x24db61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb39cfa[_0x24db61([0x74,0x68,0x65,0x6e])]===_0x24db61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb39cfa[_0x24db61([0x63,0x61,0x74,0x63,0x68])]===_0x24db61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14a9a8(_0xcce145){_0x4ed2ab(_0xcce145)[_0x24db61([0x74,0x68,0x65,0x6e])](_0x43b529=>{if(!_0x43b529||_0x43b529[_0x24db61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24db61([0x6f,0x6b]))return _0x24db61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f3172(_0x306e98(_0x52d384+_0x206ea9))!=_0x43b529[_0x24db61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24db61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24db61([0x56,0x61,0x6c,0x69,0x64]);})[_0x24db61([0x74,0x68,0x65,0x6e])](_0x183257=>(_0x88332f(),_0x183257),()=>{const _0x339683=_0x3e46c6();return null==_0x339683?(_0x88332f(),_0x24db61([0x56,0x61,0x6c,0x69,0x64])):_0x24db61(_0x21aac3-_0x339683>(0x7753083a^_0x517fad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24db61([0x74,0x68,0x65,0x6e])](_0x1bd2cf)[_0x24db61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bd2cf(_0x24db61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b9336=0x536962ba^_0x517fad;function _0x88332f(){const _0x5162e7=_0x24db61([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f3172(_0x306e98(_0xa842d8)),_0x1b2c13=_0x50d3ce(_0x2f3172(window[_0x24db61([0x4d,0x61,0x74,0x68])][_0x24db61([0x63,0x65,0x69,0x6c])](_0x21aac3/_0x2b9336)));window[_0x24db61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24db61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5162e7,_0x1b2c13);}function _0x3e46c6(){const _0x5c08f2=_0x24db61([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f3172(_0x306e98(_0xa842d8)),_0x313f01=window[_0x24db61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24db61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c08f2);return _0x313f01?window[_0x24db61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50d3ce(_0x313f01),0x10)*_0x2b9336:null;}function _0x4ed2ab(_0x2e5cc0){return new window[(_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x289080,_0x796c8)=>{_0x2e5cc0[_0x24db61([0x74,0x68,0x65,0x6e])](_0x289080,_0x796c8),window[_0x24db61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x796c8,0x535e58fa^_0x517fad);});}}_0x13f173[_0x24db61([0x6f,0x6e])](_0x24db61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x230b02,_0x2beb66)=>{if(_0x2beb66[0x0]!=_0xa842d8)return _0x1bd2cf(_0x24db61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2beb66[0x1]={..._0x2beb66[0x1],[_0x24db61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52d384};},{[_0x24db61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24db61([0x68,0x69,0x67,0x68])}),_0x13f173[_0x24db61([0x6f,0x6e])](_0x24db61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c2773=>{_0x449583(_0x2c2773[_0x24db61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x506de9=!0x0,_0x14a9a8(_0x2c2773[_0x24db61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24db61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24db61([0x6c,0x6f,0x77])}),_0x1e1bce[_0x24db61([0x74,0x68,0x65,0x6e])](()=>{_0x506de9||_0x1bd2cf(_0x24db61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2732df(){return _0x13f173[_0x24db61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24db61([0x76,0x69,0x65,0x77])][_0x24db61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24db61([0x61,0x75,0x74,0x6f]);}function _0x42b4e2(){_0x13f173[_0x24db61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24db61([0x76,0x69,0x65,0x77])][_0x24db61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24db61([0x61,0x75,0x74,0x6f]);}}function _0x31d9db(_0xadfbcd){const _0x290570=[new window[(_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33acb0=>setTimeout(_0x33acb0,0x5356b2f6^_0x517fad)),_0x1e1bce[_0x24db61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ebd40=>{let _0x221467=0x0;_0x13f173[_0x24db61([0x6d,0x6f,0x64,0x65,0x6c])][_0x24db61([0x6f,0x6e])](_0x24db61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4036a3,_0x5dc4c4)=>{_0x5dc4c4[0x0][_0x24db61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x221467++,_0x221467==(0x535f89d2^_0x517fad)&&(_0x3ebd40(),_0x4036a3[_0x24db61([0x6f,0x66,0x66])]());});}))];return window[_0x24db61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24db61([0x72,0x61,0x63,0x65])](_0x290570)[_0x24db61([0x74,0x68,0x65,0x6e])](()=>_0xadfbcd);}async function _0x4b7790(){await _0x1e1bce,_0x13f173[_0x24db61([0x6d,0x6f,0x64,0x65,0x6c])][_0x24db61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39e5c4,_0x13f173[_0x24db61([0x6d,0x6f,0x64,0x65,0x6c])][_0x24db61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39e5c4,_0x13f173[_0x24db61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24db61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbd666a(_0x2685f9){const _0x59af4f=_0x1b2777();_0x13f173[_0x59af4f]=_0x24db61([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2685f9,_0x2685f9!=_0x24db61([0x56,0x61,0x6c,0x69,0x64])&&_0x4b7790();}function _0x1b2777(){const _0x5d8cec=window[_0x24db61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24db61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24db61([0x6e,0x6f,0x77])]())[_0x24db61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24db61([0x2e]),'');let _0x2a6faa=_0x24db61([0x68]);for(let _0x2b4795=0x0;_0x2b4795<_0x5d8cec[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b4795+=0x2){let _0x501b46=window[_0x24db61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d8cec[_0x24db61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b4795,_0x2b4795+0x2));_0x501b46>=_0x231fdf[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x501b46-=_0x231fdf[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a6faa+=_0x231fdf[_0x501b46];}return _0x2a6faa;}function _0x321569(){const _0x363e03=_0x2b9525[_0x24db61([0x73,0x70,0x6c,0x69,0x74])](_0x24db61([0x2e]));if(0x3!=_0x363e03[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c1fbe(_0x363e03[0x1]);function _0x2c1fbe(_0x581ec3){const _0x1d070a=_0x4da2c5(_0x581ec3);return _0x1d070a&&_0x9e87bc()?_0x1d070a:null;function _0x9e87bc(){const _0x10c204=_0x1d070a[_0x24db61([0x6a,0x74,0x69])],_0x14cea1=window[_0x24db61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10c204[_0x24db61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10c204[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbd591f={..._0x1d070a,[_0x24db61([0x6a,0x74,0x69])]:_0x10c204[_0x24db61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10c204[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbd591f[_0x24db61([0x76,0x63])],_0x306e98(_0xbd591f)==_0x14cea1;}}}async function _0x58d794(){let _0x1fa4f3=!0x0;try{const _0x71bb14=_0x2b9525[_0x24db61([0x73,0x70,0x6c,0x69,0x74])](_0x24db61([0x2e])),[_0x1c0bb2,_0x3996d9,_0x35b852]=_0x71bb14;return _0xdb6def(_0x1c0bb2),await _0x5b09a2(_0x1c0bb2,_0x3996d9,_0x35b852),_0x1fa4f3;}catch{return!0x1;}function _0xdb6def(_0x578ff5){const _0x26f861=_0x4da2c5(_0x578ff5);_0x26f861&&_0x26f861[_0x24db61([0x61,0x6c,0x67])]==_0x24db61([0x45,0x53,0x32,0x35,0x36])||(_0x1fa4f3=!0x1);}async function _0x5b09a2(_0x2a5b6d,_0x441c99,_0x5f04ba){const _0x19ef60=window[_0x24db61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24db61([0x66,0x72,0x6f,0x6d])](_0x4ab3d4(_0x5f04ba),_0x2ae9f1=>_0x2ae9f1[_0x24db61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21d9fc=new window[(_0x24db61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24db61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a5b6d+_0x24db61([0x2e])+_0x441c99),_0x5a68c2=window[_0x24db61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24db61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a68c2)return;const _0x56b916=await _0x5a68c2[_0x24db61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24db61([0x6a,0x77,0x6b]),_0x4c3a03,{[_0x24db61([0x6e,0x61,0x6d,0x65])]:_0x24db61([0x45,0x43,0x44,0x53,0x41]),[_0x24db61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24db61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24db61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a68c2[_0x24db61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24db61([0x6e,0x61,0x6d,0x65])]:_0x24db61([0x45,0x43,0x44,0x53,0x41]),[_0x24db61([0x68,0x61,0x73,0x68])]:{[_0x24db61([0x6e,0x61,0x6d,0x65])]:_0x24db61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56b916,_0x19ef60,_0x21d9fc)||(_0x1fa4f3=!0x1);}}function _0x4da2c5(_0x102257){return _0x102257[_0x24db61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24db61([0x65,0x79]))?JSON[_0x24db61([0x70,0x61,0x72,0x73,0x65])](_0x4ab3d4(_0x102257)):null;}function _0x4ab3d4(_0xee4c89){return window[_0x24db61([0x61,0x74,0x6f,0x62])](_0xee4c89[_0x24db61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24db61([0x2b]))[_0x24db61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24db61([0x2f])));}function _0x306e98(_0x191762){let _0x2f158e=0x1505;function _0x378514(_0x718707){for(let _0x196fbb=0x0;_0x196fbb<_0x718707[_0x24db61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x196fbb++){const _0x192cb3=_0x718707[_0x24db61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x196fbb);_0x2f158e=(_0x2f158e<<0x5)+_0x2f158e+_0x192cb3,_0x2f158e&=_0x2f158e;}}function _0x385651(_0x2de26f){Array[_0x24db61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2de26f)?_0x2de26f[_0x24db61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x385651):_0x2de26f&&typeof _0x2de26f==_0x24db61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24db61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2de26f)[_0x24db61([0x73,0x6f,0x72,0x74])]()[_0x24db61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3af681,_0x4b91c6])=>{_0x378514(_0x3af681),_0x385651(_0x4b91c6);}):_0x378514(window[_0x24db61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2de26f));}return _0x385651(_0x191762),_0x2f158e>>>0x0;}function _0x2f3172(_0x4c3f4a){return _0x4c3f4a[_0x24db61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24db61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24db61([0x30]));}function _0x50d3ce(_0x23ac7d){return _0x23ac7d[_0x24db61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24db61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24db61([0x6a,0x6f,0x69,0x6e])]('');}function _0x39e5c4(){}function _0x24db61(_0x5ab19d){return _0x5ab19d['map'](_0x564527=>String['fromCharCode'](_0x564527))['join']('');}_0xbd666a(await _0x1434d0());}(this);}['_initSchema'](){const _0x4d6ea5=this['editor']['model']['schema'];_0x4d6ea5['isRegistered']('imageBlock')&&_0x4d6ea5['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4d6ea5['isRegistered']('imageInline')&&_0x4d6ea5['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x10c511=this['editor'];_0x10c511['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x10c511['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xdcade=>_0xdcade['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3c51ec=_0x10c511['commands']['get']('replaceImageSource');_0x3c51ec&&this['listenTo'](_0x3c51ec,'cleanupImage',(_0x37245e,[_0x3e2b13,_0x9d739e])=>{_0x3e2b13['removeAttribute']('uploadcareImageId',_0x9d739e);});}['_initConfig'](){const _0x8349ca=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2e6608=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x31c75c['createElement'](_0x31c75c['global']['document'],'uc-config',{..._0x8349ca,'pubkey':_0x2e6608,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x4509db=>{if('closeMax'==_0x4509db)return'#uc-icon-arrow-down';},_0x31c75c['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x31c75c['createElement'](_0x31c75c['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x31c75c['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x418db2=this['editor']['commands']['get']('insertImage');_0x418db2&&this['listenTo'](_0x418db2,'execute',()=>{const _0x72e074=this['editor']['model']['document']['selection']['getSelectedElement']();_0x72e074&&_0x72e074['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x4a392a(this['editor'],_0x72e074);});});const _0x35ce37=this['editor']['commands']['get']('uploadcareImageReplace');_0x35ce37&&this['listenTo'](_0x35ce37,'execute',()=>{const _0x127209=this['editor']['model']['document']['selection']['getSelectedElement']();_0x127209&&_0x127209['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x4a392a(this['editor'],_0x127209);});});}}var _0x125168=Object['defineProperty'],_0x2316e0=Object['getOwnPropertyDescriptor'],_0x2042ae=(_0x27bf5b,_0x2d0efc)=>{for(var t in _0x2d0efc)_0x125168(_0x27bf5b,t,{'get':_0x2d0efc[t],'enumerable':!0x0});},_0x2c1f84=(_0x4955ce,_0x375a25,t,_0x576380)=>{for(var _0x5daeb6,_0x1a89db=_0x576380>0x1?void 0x0:_0x576380?_0x2316e0(_0x375a25,t):_0x375a25,_0x1f8379=_0x4955ce['length']-0x1;_0x1f8379>=0x0;_0x1f8379--)(_0x5daeb6=_0x4955ce[_0x1f8379])&&(_0x1a89db=(_0x576380?_0x5daeb6(_0x375a25,t,_0x1a89db):_0x5daeb6(_0x1a89db))||_0x1a89db);return _0x576380&&_0x1a89db&&_0x125168(_0x375a25,t,_0x1a89db),_0x1a89db;},_0x53de82=[],_0x590bde=0x0;function _0x285dff(_0x102b37,_0x2c9d0e,t){let _0x458aa8=new Set(_0x2c9d0e)['add'](void 0x0);return _0x102b37['listen']((_0x30c529,_0xef01d0,_0x265e51)=>{_0x458aa8['has'](_0x265e51)&&t(_0x30c529,_0xef01d0,_0x265e51);});}function _0xf2c656(_0x24e03f,_0x2be2d4,t){let _0x5854ae=_0x285dff(_0x24e03f,_0x2be2d4,t);return t(_0x24e03f['value']),_0x5854ae;}var _0x3eae98=(_0x33f3c0={})=>{let _0x5ba718=(_0x1f427a=>{let _0x50d5d5=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x14df0c=>(t['lc']=_0x50d5d5['push'](_0x14df0c),()=>{for(let _0x4dadcf=_0x590bde+0x4;_0x4dadcf<_0x53de82['length'];)_0x53de82[_0x4dadcf]===_0x14df0c?_0x53de82['splice'](_0x4dadcf,0x4):_0x4dadcf+=0x4;let _0xa8922c=_0x50d5d5['indexOf'](_0x14df0c);~_0xa8922c&&(_0x50d5d5['splice'](_0xa8922c,0x1),--t['lc']||t['off']());}),'notify'(_0x5c0f7f,_0x57a98c){let _0x573d5d=!_0x53de82['length'];for(let _0x5c66bc of _0x50d5d5)_0x53de82['push'](_0x5c66bc,t['value'],_0x5c0f7f,_0x57a98c);if(_0x573d5d){for(_0x590bde=0x0;_0x590bde<_0x53de82['length'];_0x590bde+=0x4)_0x53de82[_0x590bde](_0x53de82[_0x590bde+0x1],_0x53de82[_0x590bde+0x2],_0x53de82[_0x590bde+0x3]);_0x53de82['length']=0x0;}},'off'(){},'set'(_0x340909){let _0x2b022c=t['value'];_0x2b022c!==_0x340909&&(t['value']=_0x340909,t['notify'](_0x2b022c));},'subscribe'(_0x3ebcf1){let _0x5d68ab=t['listen'](_0x3ebcf1);return _0x3ebcf1(t['value']),_0x5d68ab;},'value':_0x1f427a};return t;})(_0x33f3c0);return _0x5ba718['setKey']=function(t,_0x37cda6){let _0x1b76ab=_0x5ba718['value'];typeof _0x37cda6>'u'&&t in _0x5ba718['value']?(_0x5ba718['value']={..._0x5ba718['value']},delete _0x5ba718['value'][t],_0x5ba718['notify'](_0x1b76ab,t)):_0x5ba718['value'][t]!==_0x37cda6&&(_0x5ba718['value']={..._0x5ba718['value'],[t]:_0x37cda6},_0x5ba718['notify'](_0x1b76ab,t));},_0x5ba718;},_0x32dac1=class _0x40a474{static{this['qt']=new Map();}constructor(_0x39dadb,t){this['J']=_0x39dadb,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0xe21a66,t){_0xe21a66 in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0xe21a66)+'\x22\x20not\x20found'),this['ae']['setKey'](_0xe21a66,t);}['sub'](_0x3fc4ed,t,_0xa8cd89=!0x0){return(_0xa8cd89?_0xf2c656:_0x285dff)(this['ae'],[_0x3fc4ed],_0x1c7476=>{t(_0x1c7476[_0x3fc4ed]);});}['read'](_0x3ae880){return _0x3ae880 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x3ae880)+'\x22\x20not\x20found'),this['ae']['get']()[_0x3ae880];}['add'](_0x1b9df6,t,_0x2896a1=!0x1){(!(_0x1b9df6 in this['ae']['get']())||_0x2896a1)&&this['ae']['setKey'](_0x1b9df6,t);}['has'](_0x7b2a5c){return _0x7b2a5c in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x5621f1,t){if(_0x40a474['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x39b819=_0x3eae98(_0x5621f1);return _0x40a474['qt']['set'](t,_0x39b819),new _0x40a474(t,_0x39b819);}static['deleteCtx'](_0x188a32){_0x40a474['qt']['delete'](_0x188a32);}static['getCtx'](_0x484b68){let t=_0x40a474['qt']['get'](_0x484b68);return t?new _0x40a474(_0x484b68,t):null;}static['hasCtx'](_0x4b6a47){return _0x40a474['qt']['has'](_0x4b6a47);}},_0x295194=globalThis,_0x5134df=_0x295194['ShadowRoot']&&(void 0x0===_0x295194['ShadyCSS']||_0x295194['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],_0x4f6edc=Symbol(),_0x53ecd5=new WeakMap(),_0x1f32dd=class{constructor(_0x58e012,t,_0x429c43){if(this['Cc']=!0x0,_0x429c43!==_0x4f6edc)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x58e012,this['t']=t;}get['styleSheet'](){let _0x1a2682=this['o'],t=this['t'];if(_0x5134df&&void 0x0===_0x1a2682){let _0x22c87b=void 0x0!==t&&0x1===t['length'];_0x22c87b&&(_0x1a2682=_0x53ecd5['get'](t)),void 0x0===_0x1a2682&&((this['o']=_0x1a2682=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x22c87b&&_0x53ecd5['set'](t,_0x1a2682));}return _0x1a2682;}['toString'](){return this['cssText'];}},_0x516d1d=_0x5134df?_0x1c6efb=>_0x1c6efb:_0x3116e4=>_0x3116e4 instanceof CSSStyleSheet?(_0x587e5e=>{let t='';for(let _0x26af85 of _0x587e5e['cssRules'])t+=_0x26af85['cssText'];return(_0x2c03eb=>new _0x1f32dd('string'==typeof _0x2c03eb?_0x2c03eb:_0x2c03eb+'',void 0x0,_0x4f6edc))(t);})(_0x3116e4):_0x3116e4,{is:_0x4fd7b8,defineProperty:_0x44a9d4,getOwnPropertyDescriptor:_0x3b74bf,getOwnPropertyNames:_0x5de823,getOwnPropertySymbols:_0x4ea74f,getPrototypeOf:_0x23b2b1}=Object,_0x13b56b=globalThis,_0xe229f1=_0x13b56b['trustedTypes'],tM=_0xe229f1?_0xe229f1['emptyScript']:'',_0x402ea6=_0x13b56b['reactiveElementPolyfillSupport'],_0x2508ba=(_0x3221fa,_0x2ac845)=>_0x3221fa,_0x37a50c={'toAttribute'(_0xe222d0,_0x3e2c0b){switch(_0x3e2c0b){case Boolean:_0xe222d0=_0xe222d0?tM:null;break;case Object:case Array:_0xe222d0=null==_0xe222d0?_0xe222d0:JSON['stringify'](_0xe222d0);}return _0xe222d0;},'fromAttribute'(_0x8ea0e7,_0x1eed31){let t=_0x8ea0e7;switch(_0x1eed31){case Boolean:t=null!==_0x8ea0e7;break;case Number:t=null===_0x8ea0e7?null:Number(_0x8ea0e7);break;case Object:case Array:try{t=JSON['parse'](_0x8ea0e7);}catch{t=null;}}return t;}},_0x29bb1b=(_0x1569b3,_0x4c2bdf)=>!_0x4fd7b8(_0x1569b3,_0x4c2bdf),_0x53ed4d={'attribute':!0x0,'type':String,'converter':_0x37a50c,'reflect':!0x1,'useDefault':!0x1,'hasChanged':_0x29bb1b};Symbol['metadata']??=Symbol('metadata'),_0x13b56b['litPropertyMetadata']??=new WeakMap();var _0xc5074b=class extends HTMLElement{static['addInitializer'](_0x5fbe12){this['Br'](),(this['l']??=[])['push'](_0x5fbe12);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x12d7a0,t=_0x53ed4d){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x12d7a0)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x12d7a0,t),!t['noAccessor']){let _0x56123d=Symbol(),_0x43dc8e=this['getPropertyDescriptor'](_0x12d7a0,_0x56123d,t);void 0x0!==_0x43dc8e&&_0x44a9d4(this['prototype'],_0x12d7a0,_0x43dc8e);}}static['getPropertyDescriptor'](_0x12bac3,t,_0x42a1f9){let {get:_0x4a5611,set:_0x3c2c7}=_0x3b74bf(this['prototype'],_0x12bac3)??{'get'(){return this[t];},'set'(_0x1ae400){this[t]=_0x1ae400;}};return{'get':_0x4a5611,'set'(_0x2048cd){let _0x400999=_0x4a5611?.['call'](this);_0x3c2c7?.['call'](this,_0x2048cd),this['requestUpdate'](_0x12bac3,_0x400999,_0x42a1f9);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x30f661){return this['elementProperties']['get'](_0x30f661)??_0x53ed4d;}static['Br'](){if(this['hasOwnProperty'](_0x2508ba('elementProperties')))return;let _0x1121df=_0x23b2b1(this);_0x1121df['finalize'](),void 0x0!==_0x1121df['l']&&(this['l']=[..._0x1121df['l']]),this['elementProperties']=new Map(_0x1121df['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](_0x2508ba('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](_0x2508ba('properties'))){let t=this['properties'],_0x19d711=[..._0x5de823(t),..._0x4ea74f(t)];for(let _0x1e6551 of _0x19d711)this['createProperty'](_0x1e6551,t[_0x1e6551]);}let _0x4f3c43=this[Symbol['metadata']];if(null!==_0x4f3c43){let t=litPropertyMetadata['get'](_0x4f3c43);if(void 0x0!==t){for(let [_0x241d9e,_0x587fbb]of t)this['elementProperties']['set'](_0x241d9e,_0x587fbb);}}this['Li']=new Map();for(let [t,_0x523e3f]of this['elementProperties']){let _0x43a936=this['zr'](t,_0x523e3f);void 0x0!==_0x43a936&&this['Li']['set'](_0x43a936,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0x48dbce){let t=[];if(Array['isArray'](_0x48dbce)){let _0x4df646=new Set(_0x48dbce['flat'](0x1/0x0)['reverse']());for(let _0x5b38ac of _0x4df646)t['unshift'](_0x516d1d(_0x5b38ac));}else void 0x0!==_0x48dbce&&t['push'](_0x516d1d(_0x48dbce));return t;}static['zr'](_0x4aa778,t){let _0x2e514e=t['attribute'];return!0x1===_0x2e514e?void 0x0:'string'==typeof _0x2e514e?_0x2e514e:'string'==typeof _0x4aa778?_0x4aa778['toLowerCase']():void 0x0;}constructor(){super(),this['Ri']=void 0x0,this['isUpdatePending']=!0x1,this['hasUpdated']=!0x1,this['vt']=null,this['Sc']();}['Sc'](){this['Hr']=new Promise(_0x2c173a=>this['enableUpdating']=_0x2c173a),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x225ed9=>_0x225ed9(this));}['addController'](_0x5992be){(this['Wt']??=new Set())['add'](_0x5992be),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x5992be['hostConnected']?.();}['removeController'](_0x2170ab){this['Wt']?.['delete'](_0x2170ab);}['Ac'](){let _0xc9c60f=new Map(),t=this['constructor']['elementProperties'];for(let _0x48bf13 of t['keys']())this['hasOwnProperty'](_0x48bf13)&&(_0xc9c60f['set'](_0x48bf13,this[_0x48bf13]),delete this[_0x48bf13]);_0xc9c60f['size']>0x0&&(this['Ri']=_0xc9c60f);}['createRenderRoot'](){let _0x36d2e7=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0x2d15f8,_0x80a9cc)=>{if(_0x5134df)_0x2d15f8['adoptedStyleSheets']=_0x80a9cc['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x80a9cc){let _0x4dc968=document['createElement']('style'),_0x543645=_0x295194['litNonce'];void 0x0!==_0x543645&&_0x4dc968['setAttribute']('nonce',_0x543645),_0x4dc968['textContent']=t['cssText'],_0x2d15f8['appendChild'](_0x4dc968);}})(_0x36d2e7,this['constructor']['elementStyles']),_0x36d2e7;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x15032d=>_0x15032d['hostConnected']?.());}['enableUpdating'](_0x5b8f3b){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x3abb94=>_0x3abb94['hostDisconnected']?.());}['attributeChangedCallback'](_0x17888f,t,_0x4bac0d){this['Kr'](_0x17888f,_0x4bac0d);}['kc'](_0x3fa67f,t){let _0x519509=this['constructor']['elementProperties']['get'](_0x3fa67f),_0x1d3957=this['constructor']['zr'](_0x3fa67f,_0x519509);if(void 0x0!==_0x1d3957&&!0x0===_0x519509['reflect']){let _0x5e5389=(void 0x0!==_0x519509['converter']?.['toAttribute']?_0x519509['converter']:_0x37a50c)['toAttribute'](t,_0x519509['type']);this['vt']=_0x3fa67f,null==_0x5e5389?this['removeAttribute'](_0x1d3957):this['setAttribute'](_0x1d3957,_0x5e5389),this['vt']=null;}}['Kr'](_0x1baab8,t){let _0x339ee6=this['constructor'],_0x18113d=_0x339ee6['Li']['get'](_0x1baab8);if(void 0x0!==_0x18113d&&this['vt']!==_0x18113d){let _0x398dbb=_0x339ee6['getPropertyOptions'](_0x18113d),_0x36b5ef='function'==typeof _0x398dbb['converter']?{'fromAttribute':_0x398dbb['converter']}:void 0x0!==_0x398dbb['converter']?.['fromAttribute']?_0x398dbb['converter']:_0x37a50c;this['vt']=_0x18113d;let _0x3ff342=_0x36b5ef['fromAttribute'](t,_0x398dbb['type']);this[_0x18113d]=_0x3ff342??this['jr']?.['get'](_0x18113d)??_0x3ff342,this['vt']=null;}}['requestUpdate'](_0x5e1d53,t,_0x3f602d,_0x4cc330=!0x1,_0xed4e1a){if(void 0x0!==_0x5e1d53){let _0x27b8fc=this['constructor'];if(!0x1===_0x4cc330&&(_0xed4e1a=this[_0x5e1d53]),_0x3f602d??=_0x27b8fc['getPropertyOptions'](_0x5e1d53),!((_0x3f602d['hasChanged']??_0x29bb1b)(_0xed4e1a,t)||_0x3f602d['useDefault']&&_0x3f602d['reflect']&&_0xed4e1a===this['jr']?.['get'](_0x5e1d53)&&!this['hasAttribute'](_0x27b8fc['zr'](_0x5e1d53,_0x3f602d))))return;this['C'](_0x5e1d53,t,_0x3f602d);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x22e6ef,t,{useDefault:_0x5ead1f,reflect:_0x6c0c22,wrapped:_0x268a59},_0x4df2b3){_0x5ead1f&&!(this['jr']??=new Map())['has'](_0x22e6ef)&&(this['jr']['set'](_0x22e6ef,_0x4df2b3??t??this[_0x22e6ef]),!0x0!==_0x268a59||void 0x0!==_0x4df2b3)||(this['Fe']['has'](_0x22e6ef)||(this['hasUpdated']||_0x5ead1f||(t=void 0x0),this['Fe']['set'](_0x22e6ef,t)),!0x0===_0x6c0c22&&this['vt']!==_0x22e6ef&&(this['Gs']??=new Set())['add'](_0x22e6ef));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x27d307){Promise['reject'](_0x27d307);}let _0x2552c7=this['scheduleUpdate']();return null!=_0x2552c7&&await _0x2552c7,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x898d1c,_0x12316d]of this['Ri'])this[_0x898d1c]=_0x12316d;this['Ri']=void 0x0;}let _0x1828b9=this['constructor']['elementProperties'];if(_0x1828b9['size']>0x0)for(let [_0x3ee42f,_0x14d149]of _0x1828b9){let {wrapped:_0x35166b}=_0x14d149,_0x79c916=this[_0x3ee42f];!0x0!==_0x35166b||this['Fe']['has'](_0x3ee42f)||void 0x0===_0x79c916||this['C'](_0x3ee42f,void 0x0,_0x14d149,_0x79c916);}}let _0x2e3543=!0x1,t=this['Fe'];try{_0x2e3543=this['shouldUpdate'](t),_0x2e3543?(this['willUpdate'](t),this['Wt']?.['forEach'](_0xb396bd=>_0xb396bd['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x2ec327){throw _0x2e3543=!0x1,this['Gr'](),_0x2ec327;}_0x2e3543&&this['Oc'](t);}['willUpdate'](_0x3503b8){}['Oc'](_0x2e3087){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x2e3087)),this['updated'](_0x2e3087);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x23ce4c){return!0x0;}['update'](_0x517786){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0xeea71a){}['firstUpdated'](_0xda1891){}};_0xc5074b['elementStyles']=[],_0xc5074b['shadowRootOptions']={'mode':'open'},_0xc5074b[_0x2508ba('elementProperties')]=new Map(),_0xc5074b[_0x2508ba('finalized')]=new Map(),_0x402ea6?.({'ReactiveElement':_0xc5074b}),(_0x13b56b['reactiveElementVersions']??=[])['push']('2.1.2');var _0x18f666,_0x787888=globalThis,_0x2dc62b=_0x40ca16=>_0x40ca16,_0xd92c1b=_0x787888['trustedTypes'],_0x4ac376=_0xd92c1b?_0xd92c1b['createPolicy']('lit-html',{'createHTML':_0x5cd0e9=>_0x5cd0e9}):void 0x0,_0x5c91ff='$lit$',_0x28be70='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',_0x55f777='?'+_0x28be70,_0x4c1246='<'+_0x55f777+'>',_0x231d84=document,_0x19e4cb=()=>_0x231d84['createComment'](''),_0x338a54=_0x4a14ec=>null===_0x4a14ec||'object'!=typeof _0x4a14ec&&'function'!=typeof _0x4a14ec,_0x8be160=Array['isArray'],_0x2531bf='[\x20\x0c\x0d]',_0xda8fb5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_0x46e66e=/-->/g,_0x5d851c=/>/g,_0x3c5a01=RegExp('>|'+_0x2531bf+'(?:([^\x5cs\x22\x27>=/]+)('+_0x2531bf+'*='+_0x2531bf+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),_0x442a7c=/'/g,_0x1830db=/"/g,_0x5388e5=/^(?:script|style|textarea|title)$/i,_0x5363a9=(_0x18f666=0x1,(_0x4c9b4b,...t)=>({'Ne':_0x18f666,'strings':_0x4c9b4b,'values':t})),_0x3b4472=Symbol['for']('lit-noChange'),_0x194372=Symbol['for']('lit-nothing'),_0x484226=new WeakMap(),_0x5934cd=_0x231d84['createTreeWalker'](_0x231d84,0x81);function _0x19582d(_0x217536,_0x29b2a8){if(!_0x8be160(_0x217536)||!_0x217536['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==_0x4ac376?_0x4ac376['createHTML'](_0x29b2a8):_0x29b2a8;}var _0x20e03a=class _0x3e268a{constructor({strings:_0x192df7,Ne:t},_0x2ee1c9){let _0x97f4a1;this['parts']=[];let _0xa7de97=0x0,_0x5ab85a=0x0,_0x1ecfcc=_0x192df7['length']-0x1,_0x362a55=this['parts'],[_0x214c26,_0xfbcace]=((_0x5a5858,_0x1d7d15)=>{let _0x4d0a8a,t=_0x5a5858['length']-0x1,_0x3950b7=[],_0x5b90f7=0x2===_0x1d7d15?'<svg>':0x3===_0x1d7d15?'<math>':'',_0x2a476c=_0xda8fb5;for(let _0x1d3047=0x0;_0x1d3047<t;_0x1d3047++){let _0x532f2d,_0x5289f8,_0x51170d=_0x5a5858[_0x1d3047],_0x3275fc=-0x1,_0xad28a8=0x0;for(;_0xad28a8<_0x51170d['length']&&(_0x2a476c['lastIndex']=_0xad28a8,_0x5289f8=_0x2a476c['exec'](_0x51170d),null!==_0x5289f8);)_0xad28a8=_0x2a476c['lastIndex'],_0x2a476c===_0xda8fb5?'!--'===_0x5289f8[0x1]?_0x2a476c=_0x46e66e:void 0x0!==_0x5289f8[0x1]?_0x2a476c=_0x5d851c:void 0x0!==_0x5289f8[0x2]?(_0x5388e5['test'](_0x5289f8[0x2])&&(_0x4d0a8a=RegExp('</'+_0x5289f8[0x2],'g')),_0x2a476c=_0x3c5a01):void 0x0!==_0x5289f8[0x3]&&(_0x2a476c=_0x3c5a01):_0x2a476c===_0x3c5a01?'>'===_0x5289f8[0x0]?(_0x2a476c=_0x4d0a8a??_0xda8fb5,_0x3275fc=-0x1):void 0x0===_0x5289f8[0x1]?_0x3275fc=-0x2:(_0x3275fc=_0x2a476c['lastIndex']-_0x5289f8[0x2]['length'],_0x532f2d=_0x5289f8[0x1],_0x2a476c=void 0x0===_0x5289f8[0x3]?_0x3c5a01:'\x22'===_0x5289f8[0x3]?_0x1830db:_0x442a7c):_0x2a476c===_0x1830db||_0x2a476c===_0x442a7c?_0x2a476c=_0x3c5a01:_0x2a476c===_0x46e66e||_0x2a476c===_0x5d851c?_0x2a476c=_0xda8fb5:(_0x2a476c=_0x3c5a01,_0x4d0a8a=void 0x0);let _0x27f806=_0x2a476c===_0x3c5a01&&_0x5a5858[_0x1d3047+0x1]['startsWith']('/>')?'\x20':'';_0x5b90f7+=_0x2a476c===_0xda8fb5?_0x51170d+_0x4c1246:_0x3275fc>=0x0?(_0x3950b7['push'](_0x532f2d),_0x51170d['slice'](0x0,_0x3275fc)+_0x5c91ff+_0x51170d['slice'](_0x3275fc)+_0x28be70+_0x27f806):_0x51170d+_0x28be70+(-0x2===_0x3275fc?_0x1d3047:_0x27f806);}return[_0x19582d(_0x5a5858,_0x5b90f7+(_0x5a5858[t]||'<?>')+(0x2===_0x1d7d15?'</svg>':0x3===_0x1d7d15?'</math>':'')),_0x3950b7];})(_0x192df7,t);if(this['el']=_0x3e268a['createElement'](_0x214c26,_0x2ee1c9),_0x5934cd['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x44eeff=this['el']['content']['firstChild'];_0x44eeff['replaceWith'](..._0x44eeff['childNodes']);}for(;null!==(_0x97f4a1=_0x5934cd['nextNode']())&&_0x362a55['length']<_0x1ecfcc;){if(0x1===_0x97f4a1['nodeType']){if(_0x97f4a1['hasAttributes']()){for(let _0x2b35e2 of _0x97f4a1['getAttributeNames']())if(_0x2b35e2['endsWith'](_0x5c91ff)){let _0x528400=_0xfbcace[_0x5ab85a++],_0x1ed7fc=_0x97f4a1['getAttribute'](_0x2b35e2)['split'](_0x28be70),_0x618b0a=/([.?@])?(.*)/['exec'](_0x528400);_0x362a55['push']({'type':0x1,'index':_0xa7de97,'name':_0x618b0a[0x2],'strings':_0x1ed7fc,'ctor':'.'===_0x618b0a[0x1]?_0x4d75a6:'?'===_0x618b0a[0x1]?_0x2393cf:'@'===_0x618b0a[0x1]?_0x6a0959:_0x13ac35}),_0x97f4a1['removeAttribute'](_0x2b35e2);}else _0x2b35e2['startsWith'](_0x28be70)&&(_0x362a55['push']({'type':0x6,'index':_0xa7de97}),_0x97f4a1['removeAttribute'](_0x2b35e2));}if(_0x5388e5['test'](_0x97f4a1['tagName'])){let _0x3727d3=_0x97f4a1['textContent']['split'](_0x28be70),_0x5cb1b8=_0x3727d3['length']-0x1;if(_0x5cb1b8>0x0){_0x97f4a1['textContent']=_0xd92c1b?_0xd92c1b['emptyScript']:'';for(let _0x499381=0x0;_0x499381<_0x5cb1b8;_0x499381++)_0x97f4a1['append'](_0x3727d3[_0x499381],_0x19e4cb()),_0x5934cd['nextNode'](),_0x362a55['push']({'type':0x2,'index':++_0xa7de97});_0x97f4a1['append'](_0x3727d3[_0x5cb1b8],_0x19e4cb());}}}else{if(0x8===_0x97f4a1['nodeType']){if(_0x97f4a1['data']===_0x55f777)_0x362a55['push']({'type':0x2,'index':_0xa7de97});else{let _0x3e6d1c=-0x1;for(;-0x1!==(_0x3e6d1c=_0x97f4a1['data']['indexOf'](_0x28be70,_0x3e6d1c+0x1));)_0x362a55['push']({'type':0x7,'index':_0xa7de97}),_0x3e6d1c+=_0x28be70['length']-0x1;}}}_0xa7de97++;}}static['createElement'](_0x39cdb0,t){let _0x19585c=_0x231d84['createElement']('template');return _0x19585c['innerHTML']=_0x39cdb0,_0x19585c;}};function _0x334297(_0x6f5d6f,_0x5c1323,t=_0x6f5d6f,_0x478b7b){if(_0x5c1323===_0x3b4472)return _0x5c1323;let _0x325c84=void 0x0!==_0x478b7b?t['Ic']?.[_0x478b7b]:t['Pc'],_0x2304d1=_0x338a54(_0x5c1323)?void 0x0:_0x5c1323['qr'];return _0x325c84?.['constructor']!==_0x2304d1&&(_0x325c84?.['qs']?.(!0x1),void 0x0===_0x2304d1?_0x325c84=void 0x0:(_0x325c84=new _0x2304d1(_0x6f5d6f),_0x325c84['Wr'](_0x6f5d6f,t,_0x478b7b)),void 0x0!==_0x478b7b?(t['Ic']??=[])[_0x478b7b]=_0x325c84:t['Pc']=_0x325c84),void 0x0!==_0x325c84&&(_0x5c1323=_0x334297(_0x6f5d6f,_0x325c84['Lc'](_0x6f5d6f,_0x5c1323['values']),_0x325c84,_0x478b7b)),_0x5c1323;}var _0x1b1959=class{constructor(_0x503eba,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x503eba,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x8950ce){let {el:{content:t},parts:_0x3ffc08}=this['Zs'],_0x5381e6=(_0x8950ce?.['creationScope']??_0x231d84)['importNode'](t,!0x0);_0x5934cd['currentNode']=_0x5381e6;let _0x2a479d=_0x5934cd['nextNode'](),_0x2bca8e=0x0,_0x47d200=0x0,_0x3bf3e9=_0x3ffc08[0x0];for(;void 0x0!==_0x3bf3e9;){if(_0x2bca8e===_0x3bf3e9['index']){let _0x43040b;0x2===_0x3bf3e9['type']?_0x43040b=new _0x3a05ea(_0x2a479d,_0x2a479d['nextSibling'],this,_0x8950ce):0x1===_0x3bf3e9['type']?_0x43040b=new _0x3bf3e9['ctor'](_0x2a479d,_0x3bf3e9['name'],_0x3bf3e9['strings'],this,_0x8950ce):0x6===_0x3bf3e9['type']&&(_0x43040b=new _0x5327e8(_0x2a479d,this,_0x8950ce)),this['Ws']['push'](_0x43040b),_0x3bf3e9=_0x3ffc08[++_0x47d200];}_0x2bca8e!==_0x3bf3e9?.['index']&&(_0x2a479d=_0x5934cd['nextNode'](),_0x2bca8e++);}return _0x5934cd['currentNode']=_0x231d84,_0x5381e6;}['p'](_0x577737){let t=0x0;for(let _0x4b833f of this['Ws'])void 0x0!==_0x4b833f&&(void 0x0!==_0x4b833f['strings']?(_0x4b833f['ce'](_0x577737,_0x4b833f,t),t+=_0x4b833f['strings']['length']-0x2):_0x4b833f['ce'](_0x577737[t])),t++;}},_0x3a05ea=class _0xce42d0{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x3e2d2a,t,_0x31b88e,_0x1fcc1a){this['type']=0x2,this['r']=_0x194372,this['le']=void 0x0,this['ve']=_0x3e2d2a,this['yt']=t,this['f']=_0x31b88e,this['options']=_0x1fcc1a,this['Ys']=_0x1fcc1a?.['isConnected']??!0x0;}get['parentNode'](){let _0x9636d=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0x9636d?.['nodeType']&&(_0x9636d=t['parentNode']),_0x9636d;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0xad5226,t=this){_0xad5226=_0x334297(this,_0xad5226,t),_0x338a54(_0xad5226)?_0xad5226===_0x194372||null==_0xad5226||''===_0xad5226?(this['r']!==_0x194372&&this['bt'](),this['r']=_0x194372):_0xad5226!==this['r']&&_0xad5226!==_0x3b4472&&this['Xs'](_0xad5226):void 0x0!==_0xad5226['Ne']?this['$'](_0xad5226):void 0x0!==_0xad5226['nodeType']?this['T'](_0xad5226):(_0x508777=>_0x8be160(_0x508777)||'function'==typeof _0x508777?.[Symbol['iterator']])(_0xad5226)?this['k'](_0xad5226):this['Xs'](_0xad5226);}['O'](_0x4e9fad){return this['ve']['parentNode']['insertBefore'](_0x4e9fad,this['yt']);}['T'](_0x1318ef){this['r']!==_0x1318ef&&(this['bt'](),this['r']=this['O'](_0x1318ef));}['Xs'](_0x41b333){this['r']!==_0x194372&&_0x338a54(this['r'])?this['ve']['nextSibling']['data']=_0x41b333:this['T'](_0x231d84['createTextNode'](_0x41b333)),this['r']=_0x41b333;}['$'](_0x21f08e){let {values:t,Ne:_0x37aef4}=_0x21f08e,_0x56ab7e='number'==typeof _0x37aef4?this['Rc'](_0x21f08e):(void 0x0===_0x37aef4['el']&&(_0x37aef4['el']=_0x20e03a['createElement'](_0x19582d(_0x37aef4['h'],_0x37aef4['h'][0x0]),this['options'])),_0x37aef4);if(this['r']?.['Zs']===_0x56ab7e)this['r']['p'](t);else{let _0x1a8194=new _0x1b1959(_0x56ab7e,this),_0x6f521f=_0x1a8194['u'](this['options']);_0x1a8194['p'](t),this['T'](_0x6f521f),this['r']=_0x1a8194;}}['Rc'](_0x35b769){let t=_0x484226['get'](_0x35b769['strings']);return void 0x0===t&&_0x484226['set'](_0x35b769['strings'],t=new _0x20e03a(_0x35b769)),t;}['k'](_0x507687){_0x8be160(this['r'])||(this['r']=[],this['bt']());let _0x25cf8a,t=this['r'],_0x5785ae=0x0;for(let _0x557d4f of _0x507687)_0x5785ae===t['length']?t['push'](_0x25cf8a=new _0xce42d0(this['O'](_0x19e4cb()),this['O'](_0x19e4cb()),this,this['options'])):_0x25cf8a=t[_0x5785ae],_0x25cf8a['ce'](_0x557d4f),_0x5785ae++;_0x5785ae<t['length']&&(this['bt'](_0x25cf8a&&_0x25cf8a['yt']['nextSibling'],_0x5785ae),t['length']=_0x5785ae);}['bt'](_0x331503=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x331503!==this['yt'];){let _0x2ed5bf=_0x2dc62b(_0x331503)['nextSibling'];_0x2dc62b(_0x331503)['remove'](),_0x331503=_0x2ed5bf;}}['setConnected'](_0x3fd486){void 0x0===this['f']&&(this['Ys']=_0x3fd486,this['Ui']?.(_0x3fd486));}},_0x13ac35=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x5bd8c6,t,_0x71b8b2,_0xdba6ae,_0x4366e4){this['type']=0x1,this['r']=_0x194372,this['le']=void 0x0,this['element']=_0x5bd8c6,this['name']=t,this['f']=_0xdba6ae,this['options']=_0x4366e4,_0x71b8b2['length']>0x2||''!==_0x71b8b2[0x0]||''!==_0x71b8b2[0x1]?(this['r']=Array(_0x71b8b2['length']-0x1)['fill'](new String()),this['strings']=_0x71b8b2):this['r']=_0x194372;}['ce'](_0x2de8a5,t=this,_0xc0a78a,_0x4c0226){let _0x1b862b=this['strings'],_0x178fe0=!0x1;if(void 0x0===_0x1b862b)_0x2de8a5=_0x334297(this,_0x2de8a5,t,0x0),_0x178fe0=!_0x338a54(_0x2de8a5)||_0x2de8a5!==this['r']&&_0x2de8a5!==_0x3b4472,_0x178fe0&&(this['r']=_0x2de8a5);else{let _0x2db4bc,_0x5967aa,_0x1e943d=_0x2de8a5;for(_0x2de8a5=_0x1b862b[0x0],_0x2db4bc=0x0;_0x2db4bc<_0x1b862b['length']-0x1;_0x2db4bc++)_0x5967aa=_0x334297(this,_0x1e943d[_0xc0a78a+_0x2db4bc],t,_0x2db4bc),_0x5967aa===_0x3b4472&&(_0x5967aa=this['r'][_0x2db4bc]),_0x178fe0||=!_0x338a54(_0x5967aa)||_0x5967aa!==this['r'][_0x2db4bc],_0x5967aa===_0x194372?_0x2de8a5=_0x194372:_0x2de8a5!==_0x194372&&(_0x2de8a5+=(_0x5967aa??'')+_0x1b862b[_0x2db4bc+0x1]),this['r'][_0x2db4bc]=_0x5967aa;}_0x178fe0&&!_0x4c0226&&this['j'](_0x2de8a5);}['j'](_0x4b106e){_0x4b106e===_0x194372?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x4b106e??'');}},_0x4d75a6=class extends _0x13ac35{constructor(){super(...arguments),this['type']=0x3;}['j'](_0xa81bc0){this['element'][this['name']]=_0xa81bc0===_0x194372?void 0x0:_0xa81bc0;}},_0x2393cf=class extends _0x13ac35{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x31ec15){this['element']['toggleAttribute'](this['name'],!!_0x31ec15&&_0x31ec15!==_0x194372);}},_0x6a0959=class extends _0x13ac35{constructor(_0x63a0ee,t,_0x36de0e,_0x14593f,_0x4406fb){super(_0x63a0ee,t,_0x36de0e,_0x14593f,_0x4406fb),this['type']=0x5;}['ce'](_0x31cbd3,t=this){if((_0x31cbd3=_0x334297(this,_0x31cbd3,t,0x0)??_0x194372)===_0x3b4472)return;let _0x58704e=this['r'],_0xd2c190=_0x31cbd3===_0x194372&&_0x58704e!==_0x194372||_0x31cbd3['capture']!==_0x58704e['capture']||_0x31cbd3['once']!==_0x58704e['once']||_0x31cbd3['passive']!==_0x58704e['passive'],_0x1058f3=_0x31cbd3!==_0x194372&&(_0x58704e===_0x194372||_0xd2c190);_0xd2c190&&this['element']['removeEventListener'](this['name'],this,_0x58704e),_0x1058f3&&this['element']['addEventListener'](this['name'],this,_0x31cbd3),this['r']=_0x31cbd3;}['handleEvent'](_0x3702a5){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x3702a5):this['r']['handleEvent'](_0x3702a5);}},_0x5327e8=class{constructor(_0x435020,t,_0x14bfcd){this['element']=_0x435020,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x14bfcd;}get['W'](){return this['f']['W'];}['ce'](_0x16fd3f){_0x334297(this,_0x16fd3f);}},_0x457902={'I':_0x3a05ea},_0x570ac6=_0x787888['litHtmlPolyfillSupport'];_0x570ac6?.(_0x20e03a,_0x3a05ea),(_0x787888['litHtmlVersions']??=[])['push']('3.3.2');var _0x3e212d=globalThis,_0x231da1=class extends _0xc5074b{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x2d1334=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x2d1334['firstChild'],_0x2d1334;}['update'](_0x4dbf2e){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x4dbf2e),this['Zr']=((_0x28e14e,_0xdf3ffb,t)=>{let _0xdd4838=t?.['renderBefore']??_0xdf3ffb,_0x4d94d7=_0xdd4838['Uc'];if(void 0x0===_0x4d94d7){let _0x2335c2=t?.['renderBefore']??null;_0xdd4838['Uc']=_0x4d94d7=new _0x3a05ea(_0xdf3ffb['insertBefore'](_0x19e4cb(),_0x2335c2),_0x2335c2,void 0x0,t??{});}return _0x4d94d7['ce'](_0x28e14e),_0x4d94d7;})(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return _0x3b4472;}};_0x231da1['jp']=!0x0,_0x231da1['finalized']=!0x0,_0x3e212d['litElementHydrateSupport']?.({'LitElement':_0x231da1});var _0x3e3a3a=_0x3e212d['litElementPolyfillSupport'];_0x3e3a3a?.({'LitElement':_0x231da1}),(_0x3e212d['litElementVersions']??=[])['push']('4.2.2');var _0x1e5e22=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x41eb5f(_0x1b56a2){return class _0x31f9bf extends _0x1b56a2{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x18e3a7,_0x4f9fbd=!0x1){let _0x9be11e=this['Qs']??Object['create'](null);if(!Object['keys'](_0x9be11e)['includes'](_0x18e3a7)||!_0x9be11e[_0x18e3a7]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x4e1f2f=this['Yr']['getPropertyValue'](_0x18e3a7)['trim']();try{_0x9be11e[_0x18e3a7]=function(_0x2fd444){let _0x461526=_0x2fd444;(function(_0x3db129){return!(_0x3db129['length']<0x2||'\x22'!==_0x3db129[0x0]&&'\x27'!==_0x3db129[0x0]||'\x22'!==_0x3db129[_0x3db129['length']-0x1]&&'\x27'!==_0x3db129[_0x3db129['length']-0x1]);}(_0x2fd444)&&(_0x461526=function(_0x316279){let _0x7d9ddb=_0x316279;return('\x22'===_0x7d9ddb[0x0]||'\x27'===_0x7d9ddb[0x0])&&(_0x7d9ddb=_0x7d9ddb['slice'](0x1)),('\x22'===_0x7d9ddb[_0x7d9ddb['length']-0x1]||'\x27'===_0x7d9ddb[_0x7d9ddb['length']-0x1])&&(_0x7d9ddb=_0x7d9ddb['slice'](0x0,-0x1)),_0x7d9ddb;}(_0x461526),_0x461526=_0x461526['replace'](_0x1e5e22,(t,_0x90959d)=>String['fromCodePoint'](parseInt(_0x90959d['trim'](),0x10))),_0x461526=_0x461526['replaceAll']('\x5c\x20','\x5cn'),_0x461526=function(_0x479898){let _0x370942='',t='';for(let _0x282896=0x0;_0x282896<_0x479898['length'];_0x282896++){let _0x134027=_0x479898[_0x282896+0x1];'\x5c'===_0x479898[_0x282896]&&'\x22'===_0x134027?(_0x370942+='\x5c\x22',_0x282896++):'\x22'===_0x479898[_0x282896]&&'\x5c'!==t?_0x370942+='\x5c\x22':_0x370942+=_0x479898[_0x282896],t=_0x479898[_0x282896]??'';}return _0x370942;}(_0x461526),_0x461526='\x22'+_0x461526+'\x22'));try{return JSON['parse'](_0x461526);}catch{return;}}(_0x4e1f2f);}catch(_0x5c07c4){_0x4f9fbd||console['warn']('CSS\x20Data\x20error:\x20'+_0x18e3a7,_0x5c07c4),_0x9be11e[_0x18e3a7]=null;}}return this['Qs']=_0x9be11e,_0x9be11e[_0x18e3a7];}};}function _0x130d1b(_0x24077a){return class _0x3a5b89 extends _0x24077a{constructor(){super(...arguments),this['willYield']=!0x0,this['Ve']={},this['_e']=null,this['$i']=!0x1;}['createRenderRoot'](){return this;}['connectedCallback'](){this['_e']||(this['_e']=Array['from'](this['childNodes'])),super['connectedCallback']();}['$c'](){if(this['$i'])return;this['$i']=!0x0,this['Ve']={};let _0x46d34c=Array['from'](this['childNodes']),_0x2f255a=_0x46d34c['length']?_0x46d34c:this['_e']??[];for(let _0x92044f of _0x2f255a){let _0x4a3a99=this['Js'](_0x92044f),_0x1cd989=this['Ve'][_0x4a3a99]??[];_0x92044f instanceof Element&&(_0x92044f['removeAttribute']('slot'),_0x92044f['removeAttribute']('content-for')),_0x1cd989['push'](_0x92044f),this['Ve'][_0x4a3a99]=_0x1cd989;}this['_e']=null;}['Js'](_0x1c0810){return _0x1c0810 instanceof Comment&&_0x1c0810['nextSibling']instanceof Element?this['Js'](_0x1c0810['nextSibling']):'contentFor'in _0x1c0810?_0x1c0810['contentFor']||'':_0x1c0810 instanceof Element&&_0x1c0810['hasAttribute']('content-for')&&_0x1c0810['getAttribute']('content-for')||'';}['Dc'](_0x4a5a42){return!_0x4a5a42['textContent']||!_0x4a5a42['textContent']['trim']();}['Fc'](_0x173084){let _0x672e47=this['Ve'][_0x173084];return!_0x672e47||_0x672e47['every'](_0x13aeb6=>_0x13aeb6 instanceof Comment||_0x13aeb6 instanceof Text&&this['Dc'](_0x13aeb6));}['update'](_0x235778){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x235778);}['yield'](_0x3eb4fb,_0x9112db){if(''===_0x3eb4fb&&!this['Ve'][_0x3eb4fb]&&!this['$i']&&this['_e']?.['length']){let _0x23b5df=[];for(let _0x20fbcd of this['_e'])_0x20fbcd instanceof Element&&(_0x20fbcd['removeAttribute']('slot'),_0x20fbcd['removeAttribute']('content-for')),_0x23b5df['push'](_0x20fbcd);this['Ve'][_0x3eb4fb]=_0x23b5df,this['$i']=!0x0,this['_e']=null;}let _0x1f030c=this['Ve'][_0x3eb4fb];return _0x5363a9` ${_0x1f030c} ${this['Fc'](_0x3eb4fb)?_0x9112db:void 0x0} `;}};}function _0x59b154(_0x3687d8){return class _0x56a013 extends _0x3687d8{static['reg'](_0x4b3cb6){let _0x1a3a10=this,_0xda7f62=window['customElements']['get'](_0x4b3cb6);_0xda7f62?_0xda7f62!==_0x1a3a10&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x4b3cb6+'\x22\x20already\x20registered.','You\x27re\x20trying\x20to\x20override\x20it\x20with\x20another\x20class\x20\x22'+this['name']+'\x22.','This\x20is\x20most\x20likely\x20a\x20mistake.','New\x20element\x20will\x20not\x20be\x20registered.']['join']('\x20')):window['customElements']['define'](_0x4b3cb6,_0x1a3a10);}};}var _0x8fe207=class extends Event{constructor(_0x4f131a,t,_0x4e857c,_0x106acd){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x4f131a,this['contextTarget']=t,this['callback']=_0x4e857c,this['subscribe']=_0x106acd??!0x1;}},_0x541c5f=class{constructor(_0x3cfc30,t,_0x59486b,_0x485e80){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x5c2c48,_0x3bc332)=>{this['unsubscribe']&&(this['unsubscribe']!==_0x3bc332&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x5c2c48,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x5c2c48,_0x3bc332)),this['unsubscribe']=_0x3bc332;},this['host']=_0x3cfc30,void 0x0!==t['context']){let _0x4aae8d=t;this['context']=_0x4aae8d['context'],this['callback']=_0x4aae8d['callback'],this['subscribe']=_0x4aae8d['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x59486b,this['subscribe']=_0x485e80??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new _0x8fe207(this['context'],this['host'],this['t'],this['subscribe']));}},tN=class{get['value'](){return this['o'];}set['value'](_0x5e3334){this['setValue'](_0x5e3334);}['setValue'](_0x3578ef,t=!0x1){let _0x577cb9=t||!Object['is'](_0x3578ef,this['o']);this['o']=_0x3578ef,_0x577cb9&&this['updateObservers']();}constructor(_0x5af830){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x18d236}]of this['subscriptions'])t(this['o'],_0x18d236);},void 0x0!==_0x5af830&&(this['value']=_0x5af830);}['addCallback'](_0x16d2bb,t,_0x12bb54){if(!_0x12bb54)return void _0x16d2bb(this['value']);this['subscriptions']['has'](_0x16d2bb)||this['subscriptions']['set'](_0x16d2bb,{'disposer':()=>{this['subscriptions']['delete'](_0x16d2bb);},'consumerHost':t});let {disposer:_0xd133a6}=this['subscriptions']['get'](_0x16d2bb);_0x16d2bb(this['value'],_0xd133a6);}['clearCallbacks'](){this['subscriptions']['clear']();}},_0x2877be=class extends Event{constructor(_0x9fa0ba,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x9fa0ba,this['contextTarget']=t;}},_0x3032df=class extends tN{constructor(_0x589e90,t,_0x2d69ca){super(void 0x0!==t['context']?t['initialValue']:_0x2d69ca),this['onContextRequest']=_0x26f327=>{if(_0x26f327['context']!==this['context'])return;let _0x427b86=_0x26f327['contextTarget']??_0x26f327['composedPath']()[0x0];_0x427b86!==this['host']&&(_0x26f327['stopPropagation'](),this['addCallback'](_0x26f327['callback'],_0x427b86,_0x26f327['subscribe']));},this['onProviderRequest']=_0x5e2b75=>{if(_0x5e2b75['context']!==this['context']||(_0x5e2b75['contextTarget']??_0x5e2b75['composedPath']()[0x0])===this['host'])return;let _0xf19bb2=new Set();for(let [_0x22109e,{consumerHost:_0x1fb266}]of this['subscriptions'])_0xf19bb2['has'](_0x22109e)||(_0xf19bb2['add'](_0x22109e),_0x1fb266['dispatchEvent'](new _0x8fe207(this['context'],_0x1fb266,_0x22109e,!0x0)));_0x5e2b75['stopPropagation']();},this['host']=_0x589e90,void 0x0!==t['context']?this['context']=t['context']:this['context']=t,this['attachListeners'](),this['host']['addController']?.(this);}['attachListeners'](){this['host']['addEventListener']('context-request',this['onContextRequest']),this['host']['addEventListener']('context-provider',this['onProviderRequest']);}['hostConnected'](){this['host']['dispatchEvent'](new _0x2877be(this['context'],this['host']));}},_0x564dd6={'attribute':!0x0,'type':String,'converter':_0x37a50c,'reflect':!0x1,'hasChanged':_0x29bb1b},_0x552943=(_0x9ccd02=_0x564dd6,_0x4f885d,t)=>{let {kind:_0x286bb6,metadata:_0x4b791e}=t,_0x14f6c3=globalThis['litPropertyMetadata']['get'](_0x4b791e);if(void 0x0===_0x14f6c3&&globalThis['litPropertyMetadata']['set'](_0x4b791e,_0x14f6c3=new Map()),'setter'===_0x286bb6&&((_0x9ccd02=Object['create'](_0x9ccd02))['wrapped']=!0x0),_0x14f6c3['set'](t['name'],_0x9ccd02),'accessor'===_0x286bb6){let {name:_0x535fb3}=t;return{'set'(_0x5dca35){let _0x16e9aa=_0x4f885d['get']['call'](this);_0x4f885d['set']['call'](this,_0x5dca35),this['requestUpdate'](_0x535fb3,_0x16e9aa,_0x9ccd02,!0x0,_0x5dca35);},'init'(_0x66c32b){return void 0x0!==_0x66c32b&&this['C'](_0x535fb3,void 0x0,_0x9ccd02,_0x66c32b),_0x66c32b;}};}if('setter'===_0x286bb6){let {name:_0x451b82}=t;return function(_0x1742bf){let _0x3867a9=this[_0x451b82];_0x4f885d['call'](this,_0x1742bf),this['requestUpdate'](_0x451b82,_0x3867a9,_0x9ccd02,!0x0,_0x1742bf);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x286bb6);};function _0x23c236(_0x187e6d){return(_0x3f2ae1,t)=>'object'==typeof t?_0x552943(_0x187e6d,_0x3f2ae1,t):((_0xfa11a4,_0x3504b0,_0x5d6f26)=>{let _0x2ccb90=_0x3504b0['hasOwnProperty'](_0x5d6f26);return _0x3504b0['constructor']['createProperty'](_0x5d6f26,_0xfa11a4),_0x2ccb90?Object['getOwnPropertyDescriptor'](_0x3504b0,_0x5d6f26):void 0x0;})(_0x187e6d,_0x3f2ae1,t);}function _0x5e1929(_0x27dcbf){return _0x23c236({..._0x27dcbf,'state':!0x0,'attribute':!0x1});}function _0x1503b7(_0x4ad836,_0x3fa670){let t,_0x155ebc=(..._0x3e5678)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x4ad836(..._0x3e5678),_0x3fa670);};return _0x155ebc['cancel']=()=>{t&&clearTimeout(t);},_0x155ebc;}var _0x3c1855='ctx-name-context';function _0x103f7a(){return function(_0xdb6256){class _0x2143a8 extends _0xdb6256{constructor(..._0x715297){super(..._0x715297),this['ee']=null,this['Zt']=!0x1,this['Xr']=!0x1,this['Qr']=void 0x0,this['wt']=new Map(),this['Yt']=new Set(),this['init$']={},this['ctxOwner']=!0x1,this['Di']=void 0x0,this['Fi']=!0x1,this['ctxName']=this['Ae'],this['ke']=!0x1,this['Di']=this['getAttribute']('ctx-name')||void 0x0,this['ctxName']=this['Ae'],this['Nc']=new _0x541c5f(this,{'context':_0x3c1855,'callback':_0x54f9c6=>{_0x54f9c6?(this['rn']=_0x54f9c6,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x42eff9){console['error']('Caution:\x20static\x20\x27template\x27\x20property\x20is\x20deprecated\x20and\x20has\x20no\x20effect.\x20See\x20https://github.com/uploadcare/file-uploader/releases/tag/v1.25.0\x20for\x20details.');}get['en'](){return this['Di'];}set['en'](_0x342ed0){let _0x27cd4e=_0x342ed0??void 0x0;this['Di']!==_0x27cd4e&&(this['Di']=_0x27cd4e,this['tn']());}['shouldUpdate'](_0x29654f){return!!this['ke']&&super['shouldUpdate'](_0x29654f);}get['Ae'](){return this['en']||this['rn']||void 0x0;}['tn'](){if(this['ctxName']=this['Ae'],this['ctxName']&&!this['Zt']){if(this['isConnected'])return void this['Jr']();this['Fi']=!0x0;}}['willUpdate'](_0x5935b3){super['willUpdate'](_0x5935b3),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new _0x3032df(this,{'context':_0x3c1855,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x4326ff,{value:_0x26863e,rewrite:_0x173c0f}]of this['wt'])this['ee']['add'](_0x4326ff,_0x26863e,_0x173c0f);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x32d7c4=this['nn']();if(!_0x32d7c4)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x32d7c4;}['eo'](){let _0xf1b2cb=this['init$'],_0x4065b2=this['Ae'];if(_0x4065b2){if(!this['ee']){this['ee']=_0x32dac1['getCtx'](_0x4065b2)??_0x32dac1['registerCtx'](_0xf1b2cb,_0x4065b2);for(let [_0x9bf2f8,_0x429403]of Object['entries'](this['init$']))this['ee']['add'](_0x9bf2f8,_0x429403,this['ctxOwner']);this['sn']();}}else console['error']('SymbioteMixin:\x20ctx-name\x20is\x20required\x20for\x20components\x20with\x20shared\x20properties\x20(*)');}get['$'](){return this['Ae']&&this['eo'](),new Proxy({},{'get':(_0x226226,_0x216ee1)=>{if('string'==typeof _0x216ee1)return this['ee']?.['read'](_0x216ee1);},'set':(_0x22ecc4,_0x28b84b,_0x35953f)=>('string'!=typeof _0x28b84b||this['ee']?.['pub'](_0x28b84b,_0x35953f),!0x0)});}['sub'](_0xe6add8,_0x9977c9,_0x2700bd=!0x0){let _0x14afcc=this['Ni']()['sub'](_0xe6add8,_0x9977c9,_0x2700bd);if(!_0x14afcc||'function'!=typeof _0x14afcc)return()=>{};let _0x41e4e0=_0x14afcc['bind'](_0x14afcc),_0x14cee6=!0x1,_0x1e2d4d=()=>{_0x14cee6||(_0x14cee6=!0x0,_0x41e4e0(),this['Yt']['delete'](_0x1e2d4d));};return this['Yt']['add'](_0x1e2d4d),_0x1e2d4d;}['pub'](_0x4e5bd5,_0x273ff1){this['Ni']()['pub'](_0x4e5bd5,_0x273ff1);}['set$'](_0x1e3cc4){for(let [_0x5032c1,_0xd2b0f3]of Object['entries'](_0x1e3cc4))this['pub'](_0x5032c1,_0xd2b0f3);}get['sharedCtx'](){return this['Ni']();}['has'](_0x15cf53){return this['ee']?.['has'](_0x15cf53)??!0x1;}['add'](_0x5c1d4b,_0x4c9104,_0x7b642b=!0x1){let _0x2d5e44=this['nn']();if(_0x2d5e44)this['wt']['delete'](_0x5c1d4b),_0x2d5e44['add'](_0x5c1d4b,_0x4c9104,_0x7b642b);else{if(!_0x7b642b&&this['wt']['has'](_0x5c1d4b))return;this['wt']['set'](_0x5c1d4b,{'value':_0x4c9104,'rewrite':_0x7b642b});}}['add$'](_0x78000c,_0x275af7=!0x1){for(let [_0x524ce6,_0x463f2a]of Object['entries'](_0x78000c))this['add'](_0x524ce6,_0x463f2a,_0x275af7);}['connectedCallback'](){super['connectedCallback'](),this['Zt']?this['ke']&&this['Xr']&&(this['Xr']=!0x1,this['initCallback']()):(this['ctxName']||this['Fi']&&this['Ae'])&&(this['Fi']=!0x1,this['Jr']());}['Jr'](){if(this['Zt'])return;this['Zt']=!0x0,this['eo']();let _0x1ae225=this['init$'];if(Object['keys'](_0x1ae225)['length']>0x0){let _0x4cf9e5=this['Ni']();for(let [_0x2242c7,_0x4fa22c]of Object['entries'](_0x1ae225))void 0x0===_0x4cf9e5['read'](_0x2242c7)&&_0x4cf9e5['pub'](_0x2242c7,_0x4fa22c),this['sub'](_0x2242c7,_0x1503b7(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0xc45b14){super['firstUpdated'](_0xc45b14);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0xf0324f of[...this['Yt']])_0xf0324f();this['Yt']['clear']();}}['initCallback'](){}}return _0x2c1f84([_0x23c236({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x2143a8['prototype'],'en',0x1),_0x2c1f84([_0x5e1929()],_0x2143a8['prototype'],'rn',0x2),_0x2c1f84([_0x5e1929()],_0x2143a8['prototype'],'ctxName',0x2),_0x2c1f84([_0x5e1929()],_0x2143a8['prototype'],'ke',0x2),_0x2143a8;};}var _0x53339f=class extends _0x59b154(_0x103f7a()(_0x41eb5f(_0x130d1b(_0x231da1)))){},_0x390713=class _0x5eee0e{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0x1a0343=globalThis['crypto'];return _0x1a0343&&'function'==typeof _0x1a0343['randomUUID']?_0x1a0343['randomUUID']():_0x5eee0e['generateFastUid']();}},_0x2d0ddb=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function _0x2bae94(_0x105156){for(let _0x5f5419 in _0x105156){if(_0x2d0ddb['includes'](_0x5f5419))continue;let t=[..._0x5f5419]['reduce']((_0x550ab7,_0x3d3f5d)=>(_0x3d3f5d['toUpperCase']()===_0x3d3f5d&&(_0x3d3f5d='-'+_0x3d3f5d['toLowerCase']()),_0x550ab7+=_0x3d3f5d),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x105156[_0x5f5419]['reg']&&_0x105156[_0x5f5419]['reg'](t);}}var _0x100782='UC',_0x3760e7={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','drop-file-here':'Drop\x20file\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-ngdrive':'Google\x20Drive','src-type-gphotos':'Google\x20Photos','src-type-flickr':'Flickr','src-type-vk':'VK','src-type-evernote':'Evernote','src-type-box':'Box','src-type-onedrive':'OneDrive','src-type-huddle':'Huddle','src-type-other':'Other','caption-from-url':'Import\x20from\x20link','caption-camera':'Camera','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\x20occurred.\x20Please,\x20check\x20your\x20files\x20before\x20upload.','images-only-accepted':'Only\x20image\x20files\x20are\x20accepted.','file-type-not-allowed':'Uploading\x20of\x20these\x20file\x20types\x20is\x20not\x20allowed.','some-files-were-not-uploaded':'Some\x20files\x20were\x20not\x20uploaded.','file-item-edit-button':'Edit','file-item-remove-button':'Remove','a11y-editor-tab-filters':'Filters','a11y-editor-tab-tuning':'Tuning','a11y-editor-tab-crop':'Crop','a11y-activity-header-button-close':'Close','flip':'Flip','mirror':'Mirror','a11y-cloud-editor-apply-filter':'Apply\x20{{name}}\x20filter','a11y-cloud-editor-apply-crop':'Apply\x20{{name}}\x20operation','a11y-cloud-editor-apply-tuning':'Apply\x20{{name}}\x20tuning','a11y-cloud-editor-apply-aspect-ratio':'Apply\x20operation\x20{{name}}\x20{{value}}','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}','waiting-for':'Waiting\x20for\x20{{source}}','queued-uploading':'Queued\x20for\x20upload','queued-validation':'Queued\x20for\x20validation','validation':'Validating','crop-to-shape':'Crop\x20to\x20{{value}}','custom':'Freeform','freeform-crop':'Freeform\x20crop'},_0x20fdcc=new Map(),_0x4c4d9a=new Map(),_0x2fd28b=(_0x432505,_0x4f675d)=>{_0x20fdcc['has'](_0x432505)&&console['log']('Locale\x20'+_0x432505+'\x20is\x20already\x20defined.\x20Overwriting...');let t={..._0x3760e7,..._0x4f675d};return _0x20fdcc['set'](_0x432505,t),t;},_0x10530e=(_0x3f26f4,_0x309a28)=>{'function'==typeof _0x309a28?((_0x4a9fc1,_0x31d620)=>{_0x4c4d9a['set'](_0x4a9fc1,_0x31d620);})(_0x3f26f4,_0x309a28):_0x2fd28b(_0x3f26f4,_0x309a28);};_0x10530e('en',_0x3760e7);var _0x478f31=_0x2e68cd=>'*cfg/'+_0x2e68cd,_0x430fa6=_0xf59c12=>_0xf59c12?_0xf59c12['split'](',')['map'](_0x317e29=>_0x317e29['trim']())['filter'](Boolean):[],_0x27b757=_0x5f4b72=>_0x5f4b72['join'](','),_0x1f39e2=_0x238623=>{if('string'!=typeof _0x238623||!_0x238623)return'';let _0x46c18d=_0x238623['trim']();return _0x46c18d['startsWith']('-/')?_0x46c18d=_0x46c18d['slice'](0x2):_0x46c18d['startsWith']('/')&&(_0x46c18d=_0x46c18d['slice'](0x1)),_0x46c18d['endsWith']('/')&&(_0x46c18d=_0x46c18d['slice'](0x0,_0x46c18d['length']-0x1)),_0x46c18d;},_0x2cdf76=(..._0x31ed39)=>_0x31ed39['filter'](_0x594b74=>'string'==typeof _0x594b74&&!!_0x594b74)['map'](_0x431b4b=>_0x1f39e2(_0x431b4b))['join']('/-/'),_0x34859c=(..._0x39bca5)=>{let _0x5dcd7c=_0x2cdf76(..._0x39bca5);return _0x5dcd7c?'-/'+_0x5dcd7c+'/':'';};function _0x48a46b(_0x15bbde){let _0xd6dcbd=new URL(_0x15bbde),t=_0xd6dcbd['pathname']+_0xd6dcbd['search']+_0xd6dcbd['hash'],_0x58a456=t['lastIndexOf']('http'),_0xaa6c=t['lastIndexOf']('/'),_0x2981e3='';return _0x58a456>=0x0?_0x2981e3=t['slice'](_0x58a456):_0xaa6c>=0x0&&(_0x2981e3=t['slice'](_0xaa6c+0x1)),_0x2981e3;}function _0x2f58d1(_0x71a240){let _0x3ebf03=new URL(_0x71a240),{pathname:t}=_0x3ebf03,_0x1e0cec=t['indexOf']('/'),_0x18a9d2=t['indexOf']('/',_0x1e0cec+0x1);return t['substring'](_0x1e0cec+0x1,_0x18a9d2);}function _0x108e12(_0x2fcb6d){let _0x41afb8=_0x3fda58(_0x2fcb6d),t=new URL(_0x41afb8),_0xa6eefe=t['pathname']['indexOf']('/-/');return-0x1===_0xa6eefe?'':t['pathname']['substring'](_0xa6eefe)['slice'](0x1);}function _0x94bea1(_0x2ea492){return _0x108e12(_0x2ea492)['split']('/-/')['filter'](Boolean)['map'](t=>_0x1f39e2(t));}function _0x3fda58(_0x4ee172){let _0x5889d2=new URL(_0x4ee172),t=_0x48a46b(_0x4ee172),_0xf73918=_0x422c96(t)?_0x37d6cc(t)['pathname']:t;return _0x5889d2['pathname']=_0x5889d2['pathname']['replace'](_0xf73918,''),_0x5889d2['search']='',_0x5889d2['hash']='',_0x5889d2['toString']();}function _0x422c96(_0x46c078){return _0x46c078['startsWith']('http');}function _0x37d6cc(_0xaa505b){let _0x54f159=new URL(_0xaa505b);return{'pathname':''+_0x54f159['origin']+(_0x54f159['pathname']??''),'search':_0x54f159['search']??'','hash':_0x54f159['hash']??''};}var _0x17642b=(_0x3e5303,_0x45b5a5,t)=>{let _0x4fadd4=new URL(_0x3fda58(_0x3e5303)),_0x40b419=t??_0x48a46b(_0x3e5303),_0x2aa1eb=_0x45b5a5??'';if(_0x4fadd4['pathname']['startsWith']('//')&&(_0x4fadd4['pathname']=_0x4fadd4['pathname']['replace']('//','/')),_0x40b419&&_0x422c96(_0x40b419)){let _0x48391a=_0x37d6cc(_0x40b419);_0x4fadd4['pathname']=''+_0x4fadd4['pathname']+_0x2aa1eb+(_0x48391a['pathname']||''),_0x4fadd4['search']=_0x48391a['search'],_0x4fadd4['hash']=_0x48391a['hash'];}else _0x4fadd4['pathname']=''+_0x4fadd4['pathname']+_0x2aa1eb+(_0x40b419||'');return _0x4fadd4['toString']();},_0x29d43b=(_0x1e7789,_0x166778)=>{let t=new URL(_0x1e7789);return t['pathname']=_0x166778+'/',t['toString']();},_0x126e70=(_0x4b08ee,_0x2dd30c=',')=>_0x4b08ee['trim']()['split'](_0x2dd30c)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),_0x341ce7=Object['freeze']({'brightness':0x0,'exposure':0x0,'gamma':0x64,'contrast':0x0,'saturation':0x0,'vibrance':0x0,'warmth':0x0,'enhance':0x0,'filter':0x0,'rotate':0x0,'mirror':!0x1,'flip':!0x1,'crop':void 0x0}),_0x9b0e7b=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0x574ee0(_0x592b27){return _0x2cdf76(..._0x9b0e7b['filter'](_0x57bacd=>typeof _0x592b27[_0x57bacd]<'u'&&null!==_0x592b27[_0x57bacd])['map'](_0x53866c=>function(_0x52e37d,_0x5ec846){if('number'==typeof _0x5ec846){let t=_0x5ec846;return _0x341ce7[_0x52e37d]!==t?_0x52e37d+'/'+t:'';}if('boolean'==typeof _0x5ec846){let t=_0x5ec846;return _0x341ce7[_0x52e37d]!==t?''+_0x52e37d:'';}if('filter'===_0x52e37d&&_0x5ec846){let {name:t,amount:_0x122267}=_0x5ec846;return _0x341ce7['filter']===_0x122267?'':_0x52e37d+'/'+t+'/'+_0x122267;}if('crop'===_0x52e37d&&_0x5ec846){let {dimensions:t,coords:_0x1ef606}=_0x5ec846;return _0x52e37d+'/'+t['join']('x')+'/'+_0x1ef606['join'](',');}return'';}(_0x53866c,_0x592b27[_0x53866c]))['filter'](_0x2ba203=>!!_0x2ba203));}var _0x5cf5e0=_0x2cdf76('format/auto','progressive/yes'),_0x4abc83=([_0x751e20])=>typeof _0x751e20<'u'?Number(_0x751e20):void 0x0,_0x55e1b0=()=>!0x0,_0x36cc79=Object['freeze']({'enhance':_0x4abc83,'brightness':_0x4abc83,'exposure':_0x4abc83,'gamma':_0x4abc83,'contrast':_0x4abc83,'saturation':_0x4abc83,'vibrance':_0x4abc83,'warmth':_0x4abc83,'filter':([_0x3293b6,_0x450ca2])=>({'name':_0x3293b6,'amount':typeof _0x450ca2<'u'?Number(_0x450ca2):0x64}),'mirror':_0x55e1b0,'flip':_0x55e1b0,'rotate':_0x4abc83,'crop':_0x12af2c=>{let [_0x388ee1,t]=_0x12af2c,{dimensions:_0x259c3d,coords:_0x22fa4e}=(([_0x211b62,_0x54367c])=>{if(!/\d+x\d+/['test'](_0x211b62)||!/\d+,\d+/['test'](_0x54367c))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x126e70(_0x211b62,'x')['map'](Number),'coords':_0x126e70(_0x54367c)['map'](Number)};})([_0x388ee1,t]);return{'dimensions':_0x259c3d,'coords':_0x22fa4e};}});function _0x1434f0(_0x10886a){let _0x3631ab={};for(let t of _0x10886a){let [_0x40845e,..._0x4be8ad]=t['split']('/');if(!_0x40845e||!_0x9b0e7b['includes'](_0x40845e))continue;let _0x1ae6fe=_0x40845e,_0x10c7fd=_0x36cc79[_0x1ae6fe];try{let _0x1caa06=_0x10c7fd(_0x4be8ad);_0x3631ab[_0x1ae6fe]=_0x1caa06;}catch(_0x41f504){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x41f504 instanceof Error?'Error\x20message:\x20\x22'+_0x41f504['message']+'\x22':_0x41f504,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x3631ab;}var _0x2ed381=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x3eba0e=Object['freeze']([_0x2ed381['CROP'],_0x2ed381['TUNING'],_0x2ed381['FILTERS']]),_0x48bbae=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x389371=Object['freeze'](['adaris','briaril','calarel','carris','cynarel','cyren','elmet','elonni','enzana','erydark','fenralan','ferand','galen','gavin','gethriel','iorill','iothari','iselva','jadis','lavra','misiara','namala','nerion','nethari','pamaya','sarnar','sedis','sewen','sorahel','sorlen','tarian','thellassan','varriel','varven','vevera','virkas','yedis','yllara','zatvel','zevcen']),_0x8a7cd7=Object['freeze'](['rotate','mirror','flip']),_0xde7556=_0x341ce7,_0xdfef6e=Object['freeze']({'brightness':{'zero':_0xde7556['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0xde7556['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0xde7556['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0xde7556['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0xde7556['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0xde7556['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0xde7556['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0xde7556['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0xde7556['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x45ad32='https://ucarecdn.com',_0x2bd1aa={'pubkey':'','multiple':!0x0,'multipleMin':0x0,'multipleMax':Number['MAX_SAFE_INTEGER'],'confirmUpload':!0x1,'imgOnly':!0x1,'accept':'','externalSourcesPreferredTypes':'','externalSourcesEmbedCss':'','store':'auto','cameraMirror':!0x1,'cameraCapture':'','sourceList':'local,\x20url,\x20camera,\x20dropbox,\x20gdrive','topLevelOrigin':'','maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x45ad32,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0x3,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0xa,'multipartMaxConcurrentRequests':0x4,'multipartMaxAttempts':0x3,'checkForUrlDuplicates':!0x1,'saveUrlForRecurrentUploads':!0x1,'groupOutput':!0x1,'userAgentIntegration':'','debug':!0x1,'metadata':null,'localeName':'en','localeDefinitionOverride':null,'secureUploadsExpireThreshold':0x927c0,'secureUploadsSignatureResolver':null,'secureDeliveryProxyUrlResolver':null,'iconHrefResolver':null,'fileValidators':[],'collectionValidators':[],'validationTimeout':0x3a98,'validationConcurrency':0x64,'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'useCloudImageEditor':!0x0,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorTabs':_0x27b757(_0x3eba0e),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},_0x2150b6=Object['freeze'](_0x2bd1aa),tL=(_0x305c04,_0x53cb02)=>(...t)=>{let _0x323de5=_0x305c04();if(!_0x323de5['read'](_0x478f31('debug')))return;let _0x55dbe2=t;'function'==typeof t?.[0x0]&&(_0x55dbe2=(0x0,t[0x0])());let _0x3c7dfe=[_0x323de5['id'],_0x53cb02]['filter'](Boolean);console['log']('['+_0x3c7dfe['join']('][')+']',..._0x55dbe2);},_0x49e635=class{constructor(_0x591948){this['to']=new Set(),this['Be']=null,this['w']=tL(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x591948,this['e']=_0x591948['ctx'];}['addSub'](_0x73d11f){this['to']['add'](_0x73d11f);}get['ze'](){if(!this['Be']){let _0x400e21={};this['Be']=new Proxy(_0x400e21,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x59b180)=>{if('string'!=typeof _0x59b180)return;let _0x42ea13=_0x478f31(_0x59b180);return this['i']['ctx']['has'](_0x42ea13)?this['i']['ctx']['read'](_0x42ea13):_0x2150b6[_0x59b180];}});}return this['Be'];}['destroy'](){for(let _0x40043c of this['to'])try{_0x40043c();}catch{}this['to']['clear']();}},_0x2cbfed={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},_0x561a89=(_0x441d43,_0x51f938,t=!0x0)=>{let _0x134250=_0x441d43['has'](_0x51f938),_0x5403a6=_0x134250?_0x441d43['read'](_0x51f938):null;if(_0x134250&&_0x5403a6||!t)return _0x5403a6;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x51f938)+'\x22\x20is\x20not\x20available');},_0x4d925e=_0x1b828f=>({get 'ctx'(){return _0x1b828f();},get 'modalManager'(){return _0x561a89(_0x1b828f(),'*modalManager',!0x1);},get 'pluginManager'(){return _0x561a89(_0x1b828f(),'*pluginManager');},get 'telemetryManager'(){return _0x561a89(_0x1b828f(),'*telemetryManager');},get 'localeManager'(){return _0x561a89(_0x1b828f(),'*localeManager');},get 'a11y'(){return _0x561a89(_0x1b828f(),'*a11y');},get 'blocksRegistry'(){return _0x561a89(_0x1b828f(),'*blocksRegistry');},get 'eventEmitter'(){return _0x561a89(_0x1b828f(),'*eventEmitter');},get 'uploadCollection'(){return _0x561a89(_0x1b828f(),'*uploadCollection');},get 'secureUploadsManager'(){return _0x561a89(_0x1b828f(),'*secureUploadsManager',!0x1);},get 'api'(){return _0x561a89(_0x1b828f(),'*publicApi');},get 'validationManager'(){return _0x561a89(_0x1b828f(),'*validationManager');},'when'(_0x5151d4,t){let _0x47b2c6,_0x310bf1=_0x2cbfed[_0x5151d4],_0x235e3a=_0x1b828f(),_0x3de632=_0x235e3a['has'](_0x310bf1)?_0x235e3a['read'](_0x310bf1):void 0x0;return _0x3de632?(t(_0x3de632),()=>{}):(_0x47b2c6=_0x235e3a['sub'](_0x310bf1,_0x244718=>{_0x244718&&(t(_0x244718),_0x47b2c6?.());}),_0x47b2c6);},'wait'(_0x570cc5){return new Promise(t=>{let _0x3ccbb9;_0x3ccbb9=this['when'](_0x570cc5,_0x2538c2=>{t(_0x2538c2),_0x3ccbb9?.();});});}}),_0x310326=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x2347ee=class extends _0x49e635{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x3a9c33){this['He']['set'](t,_0x3a9c33),this['q'](_0x310326['ADD'],{'id':t,'modal':_0x3a9c33});}['deleteModal'](t){let _0x56550c=this['He']['get'](t);return!!_0x56550c&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](_0x310326['DELETE'],{'id':t,'modal':_0x56550c}),!0x0);}['open'](t){let _0x412f0b=this['He']['get'](t);return _0x412f0b?(this['ue']['add'](t),this['q'](_0x310326['OPEN'],{'modal':_0x412f0b,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x3510be=this['He']['get'](t);return _0x3510be&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](_0x310326['CLOSE'],{'id':t,'modal':_0x3510be}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1);}['toggle'](t){return this['He']['has'](t)?this['ue']['has'](t)?this['close'](t):this['open'](t):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['ue']['size']>0x0;}['back'](){if(0x0===this['ue']['size'])return this['w']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;let t=Array['from'](this['ue'])['pop']();return!!t&&this['close'](t);}['closeAll'](){let t=this['ue']['size'];return this['ue']['clear'](),this['q'](_0x310326['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x4f6db2){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x4f6db2),()=>this['unsubscribe'](t,_0x4f6db2);}['unsubscribe'](t,_0x4667ae){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x4667ae);}['q'](t,_0x441494){if(this['c']['has'](t)){for(let _0x5e66e0 of this['c']['get'](t)??new Set())try{_0x5e66e0(_0x441494);}catch(_0x159a8b){this['i']['telemetryManager']['sendEventError'](_0x159a8b,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x159a8b);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](_0x310326['DESTROY'],{});}},_0xe45947=_0x30d91d=>_0x30d91d['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x3cb21f=>_0x3cb21f['toLowerCase']())['join']('-');function _0xe7213a(_0x3a2266){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3a2266);}var _0x33b04b=/\W|_/g;function _0x359087(_0x5dfcdb){return _0x5dfcdb['split'](_0x33b04b)['map']((_0x4e8991,t)=>_0x4e8991['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x4e8991['slice'](0x1))['join']('');}function _0x20a790(_0x1e8958,{ignoreKeys:_0x94c4fa}={'ignoreKeys':[]}){return Array['isArray'](_0x1e8958)?_0x1e8958['map'](t=>_0x45e01d(t,{'ignoreKeys':_0x94c4fa})):_0x1e8958;}function _0x45e01d(_0x43e04b,{ignoreKeys:_0x13eea0}={'ignoreKeys':[]}){if(Array['isArray'](_0x43e04b))return _0x20a790(_0x43e04b,{'ignoreKeys':_0x13eea0});if(!_0xe7213a(_0x43e04b))return _0x43e04b;let t={};for(let _0x563d3d of Object['keys'](_0x43e04b)){let _0x1676c4=_0x43e04b[_0x563d3d];_0x13eea0['includes'](_0x563d3d)?t[_0x563d3d]=_0x1676c4:(_0xe7213a(_0x1676c4)?_0x1676c4=_0x45e01d(_0x1676c4,{'ignoreKeys':_0x13eea0}):Array['isArray'](_0x1676c4)&&(_0x1676c4=_0x20a790(_0x1676c4,{'ignoreKeys':_0x13eea0})),t[_0x359087(_0x563d3d)]=_0x1676c4);}return t;}function _0x1837ac({libraryName:_0x41d6ac,libraryVersion:_0x497eb5,userAgent:t,publicKey:_0x7b413f='',integration:_0x2bfdb2=''}){let _0x34a265='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x7b413f,'libraryName':_0x41d6ac,'libraryVersion':_0x497eb5,'languageName':_0x34a265,'integration':_0x2bfdb2}):[_0x41d6ac,_0x497eb5,_0x7b413f]['filter'](Boolean)['join']('/')+'\x20('+[_0x34a265,_0x2bfdb2]['filter'](Boolean)['join'](';\x20')+')';}var _0x2aa16b={'factor':0x2,'time':0x64};function _0x390fa3(_0x5005d8,_0x1d4cc0=_0x2aa16b){let t=0x0;return function _0x29fc89(_0x3eb631){let _0x173000=Math['round'](_0x1d4cc0['time']*_0x1d4cc0['factor']**t);return _0x3eb631({'attempt':t,'retry':_0x3847c7=>(_0x240627=>new Promise(_0xe6fa7b=>setTimeout(_0xe6fa7b,_0x240627)))(_0x3847c7??_0x173000)['then'](()=>(t+=0x1,_0x29fc89(_0x3eb631)))});}(_0x5005d8);}var _0x1f9010=class extends Error{},_0x1bcff5=class _0x547463 extends _0x1f9010{['originalProgressEvent'];constructor(_0x42e270){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x547463['prototype']),this['originalProgressEvent']=_0x42e270;}},_0xd7b4f1=(_0x23c1f2,_0x31c5f8)=>{_0x23c1f2&&(_0x23c1f2['aborted']?Promise['resolve']()['then'](_0x31c5f8):_0x23c1f2['addEventListener']('abort',()=>_0x31c5f8(),{'once':!0x0}));},_0x58b61d=class _0x18380f extends _0x1f9010{['isCancel']=!0x0;constructor(_0x966900='Request\x20canceled'){super(_0x966900),this['name']='CancelError',Object['setPrototypeOf'](this,_0x18380f['prototype']);}},_0x7590f8=({check:_0x2a70a5,interval:_0x46f3e6=0x1f4,timeout:t,signal:_0x457671})=>new Promise((_0x450443,_0x361260)=>{let _0x3d7e48,_0x456a7d;_0xd7b4f1(_0x457671,()=>{_0x3d7e48&&clearTimeout(_0x3d7e48),_0x361260(new _0x58b61d('Poll\x20cancelled'));}),t&&(_0x456a7d=setTimeout(()=>{_0x3d7e48&&clearTimeout(_0x3d7e48),_0x361260(new _0x58b61d('Timed\x20out'));},t));let _0x4421d9=()=>{try{Promise['resolve'](_0x2a70a5(_0x457671))['then'](_0x53ddb4=>{_0x53ddb4?(_0x456a7d&&clearTimeout(_0x456a7d),_0x450443(_0x53ddb4)):_0x3d7e48=setTimeout(_0x4421d9,_0x46f3e6);})['catch'](_0x5f55c7=>{_0x456a7d&&clearTimeout(_0x456a7d),_0x361260(_0x5f55c7);});}catch(_0x443fcc){_0x456a7d&&clearTimeout(_0x456a7d),_0x361260(_0x443fcc);}};_0x3d7e48=setTimeout(_0x4421d9,0x0);}),_0x568e41='https://ucarecdn.com',_0x98db8e='https://upload.uploadcare.com',_0x189352=0x1,_0x50059c=0x3,_0x35c9c0=0x1900000,_0x5c6149=0x500000,_0x1e5949=0x4,_0x42f7a2='79ae88bd931ea68464d9',_0x275d0f='application/octet-stream',_0x1bfd24=({method:_0x34fef9,url:_0x41bd23,data:t,headers:_0x33243a={},signal:_0x377fb3,onProgress:_0x71511a})=>new Promise((_0x1d2765,_0x4398fb)=>{let _0x144cb0=new XMLHttpRequest(),_0x5350a3=_0x34fef9?.['toUpperCase']()||'GET',_0x56eb01=!0x1;_0x144cb0['open'](_0x5350a3,_0x41bd23,!0x0),_0x33243a&&Object['entries'](_0x33243a)['forEach'](_0x43b845=>{let [_0x24958b,_0x291447]=_0x43b845;typeof _0x291447<'u'&&!Array['isArray'](_0x291447)&&_0x144cb0['setRequestHeader'](_0x24958b,_0x291447);}),_0x144cb0['responseType']='text',_0xd7b4f1(_0x377fb3,()=>{_0x56eb01=!0x0,_0x144cb0['abort'](),_0x4398fb(new _0x58b61d());}),_0x144cb0['onload']=()=>{if(0xc8!=_0x144cb0['status'])_0x4398fb(new Error('Error\x20'+_0x144cb0['status']+':\x20'+_0x144cb0['statusText']));else{let _0x24a619={'method':_0x5350a3,'url':_0x41bd23,'data':t,'headers':_0x33243a||void 0x0,'signal':_0x377fb3,'onProgress':_0x71511a},_0x34c112=_0x144cb0['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x3fbc89={};_0x34c112['forEach'](function(_0x2ebd92){let _0x548453=_0x2ebd92['split'](':\x20'),_0x54844c=_0x548453['shift'](),_0x2f3d8f=_0x548453['join'](':\x20');_0x54844c&&typeof _0x54844c<'u'&&(_0x3fbc89[_0x54844c]=_0x2f3d8f);});let _0x3223f6=_0x144cb0['response'],_0x448ae6=_0x144cb0['status'];_0x1d2765({'request':_0x24a619,'data':_0x3223f6,'headers':_0x3fbc89,'status':_0x448ae6});}},_0x144cb0['onerror']=_0x2f9e11=>{_0x56eb01||_0x4398fb(new _0x1bcff5(_0x2f9e11));},_0x71511a&&'function'==typeof _0x71511a&&(_0x144cb0['upload']['onprogress']=_0x449d45=>{_0x449d45['lengthComputable']?_0x71511a({'isComputable':!0x0,'value':_0x449d45['loaded']/_0x449d45['total']}):_0x71511a({'isComputable':!0x1});}),t?_0x144cb0['send'](t):_0x144cb0['send']();}),_0x2f0c44=function(_0x110305,..._0x4b2e86){return _0x110305;},_0x37665d=_0x5eefaa=>typeof Blob<'u'&&_0x5eefaa instanceof Blob,_0x79ce45=_0x271f02=>typeof File<'u'&&_0x271f02 instanceof File,_0x286db1=_0x294bcb=>!!_0x294bcb&&'object'==typeof _0x294bcb&&!Array['isArray'](_0x294bcb)&&'uri'in _0x294bcb&&'string'==typeof _0x294bcb['uri'],_0x4b2aab=_0x3f72e4=>_0x37665d(_0x3f72e4)||_0x79ce45(_0x3f72e4)||_0x286db1(_0x3f72e4);function _0x4012ce(_0x22cab0,_0x395bae,t){if(Array['isArray'](t)){for(let _0x1526ab of t)_0x4012ce(_0x22cab0,_0x395bae+'[]',_0x1526ab);}else{if((_0x2e6b22=>!!_0x2e6b22&&'object'==typeof _0x2e6b22&&'data'in _0x2e6b22&&_0x4b2aab(_0x2e6b22['data']))(t)){let {name:_0x348d1b,contentType:_0x11b578}=t,_0x5f4ebd=_0x2f0c44(t['data'],_0x348d1b,_0x11b578??_0x275d0f),_0x5910a6=(({name:_0x16c344})=>_0x16c344?[_0x16c344]:[])({'name':_0x348d1b});_0x22cab0['push']([_0x395bae,_0x5f4ebd,..._0x5910a6]);}else{if((_0x479abf=>!!_0x479abf&&'object'==typeof _0x479abf&&!Array['isArray'](_0x479abf))(t)){for(let [_0x356ae7,_0x5a615c]of Object['entries'](t))typeof _0x5a615c<'u'&&_0x22cab0['push']([_0x395bae+'['+_0x356ae7+']',String(_0x5a615c)]);}else(_0x5648c9=>'string'==typeof _0x5648c9||'number'==typeof _0x5648c9||typeof _0x5648c9>'u')(t)&&t&&_0x22cab0['push']([_0x395bae,t['toString']()]);}}}function _0x1532ca(_0x793c43){let _0xebfc38=new FormData(),t=function(_0x5728fe){let _0x36ffc7=[];for(let [t,_0x14bc64]of Object['entries'](_0x5728fe))_0x4012ce(_0x36ffc7,t,_0x14bc64);return _0x36ffc7;}(_0x793c43);for(let _0x3d91ad of t){let [_0x35abd9,_0x2bba13,..._0x34b01d]=_0x3d91ad;_0xebfc38['append'](_0x35abd9,_0x2bba13,..._0x34b01d);}return _0xebfc38;}var _0x58664a=class _0x3743d1 extends _0x1f9010{['code'];['request'];['response'];['headers'];constructor(_0x91930b,t,_0x59fa50,_0x1edc94,_0x26dfbf){super(),this['name']='UploadError',this['message']=_0x91930b,this['code']=t,this['request']=_0x59fa50,this['response']=_0x1edc94,this['headers']=_0x26dfbf,Object['setPrototypeOf'](this,_0x3743d1['prototype']);}},_0x8d4421=(_0x4ab205,_0x39f9c2,t)=>{let _0x58e08c=new URL(_0x4ab205);return _0x58e08c['pathname']=(_0x58e08c['pathname']+_0x39f9c2)['replace']('//','/'),t&&(_0x58e08c['search']=(_0x390af4=>{let _0x52e8ee=new URLSearchParams();for(let [t,_0x46f9d6]of Object['entries'](_0x390af4))_0x46f9d6&&'object'==typeof _0x46f9d6&&!Array['isArray'](_0x46f9d6)?Object['entries'](_0x46f9d6)['filter'](_0x206ea3=>_0x206ea3[0x1]??!0x1)['forEach'](_0x4222e5=>_0x52e8ee['set'](t+'['+_0x4222e5[0x0]+']',String(_0x4222e5[0x1]))):Array['isArray'](_0x46f9d6)?_0x46f9d6['forEach'](_0x41c196=>{_0x52e8ee['append'](t+'[]',_0x41c196);}):'string'==typeof _0x46f9d6&&_0x46f9d6?_0x52e8ee['set'](t,_0x46f9d6):'number'==typeof _0x46f9d6&&_0x52e8ee['set'](t,_0x46f9d6['toString']());return _0x52e8ee['toString']();})(t)),_0x58e08c['toString']();};function _0x3f7f23(_0x589973){return _0x1837ac({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x589973});}function _0x31e66e(_0x125b97,_0x6a61de){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x21c5bd}=_0x6a61de;return _0x390fa3(({attempt:_0x49e6e5,retry:_0xed78f3})=>_0x125b97()['catch'](_0x1e58df=>{if('response'in _0x1e58df&&'RequestThrottledError'===_0x1e58df?.['code']&&_0x49e6e5<t)return _0xed78f3(function(_0x513295){let {headers:_0x56beec}=_0x513295||{};if(!_0x56beec||'string'!=typeof _0x56beec['retry-after'])return 0x3a98;let t=parseInt(_0x56beec['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x1e58df));if(_0x1e58df instanceof _0x1bcff5&&_0x49e6e5<_0x21c5bd)return _0xed78f3(0x3e8*(_0x49e6e5+0x1));throw _0x1e58df;}));}var _0x257632,_0x2a1ba3,_0x4ac6d7=_0x475fd0=>{let _0x3c3c1b='';return(_0x37665d(_0x475fd0)||_0x79ce45(_0x475fd0)||_0x286db1(_0x475fd0))&&(_0x3c3c1b=_0x475fd0['type']),_0x3c3c1b||_0x275d0f;},_0x5d4593=_0x58f5f3=>{let _0x32036b='';return _0x79ce45(_0x58f5f3)&&_0x58f5f3['name']?_0x32036b=_0x58f5f3['name']:_0x37665d(_0x58f5f3)?_0x32036b='':_0x286db1(_0x58f5f3)&&_0x58f5f3['name']&&(_0x32036b=_0x58f5f3['name']),_0x32036b||'original';};function _0x2902aa(_0x4868db){return typeof _0x4868db>'u'||'auto'===_0x4868db?'auto':_0x4868db?'1':'0';}!function(_0x211c26){_0x211c26['Token']='token',_0x211c26['FileInfo']='file_info';}(_0x257632||(_0x257632={})),function(_0x48e94d){_0x48e94d['Unknown']='unknown',_0x48e94d['Waiting']='waiting',_0x48e94d['Progress']='progress',_0x48e94d['Error']='error',_0x48e94d['Success']='success';}(_0x2a1ba3||(_0x2a1ba3={}));function _0x5912d7(_0x15f41b,{publicKey:_0x2af797,baseURL:t=_0x98db8e,signal:_0x501fee,integration:_0x344c45,userAgent:_0x20569d,retryThrottledRequestMaxTimes:_0x351dac=_0x189352,retryNetworkErrorMaxTimes:_0x355e7d=_0x50059c}={}){return _0x31e66e(()=>_0x1bfd24({'method':'GET','headers':_0x2af797?{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x2af797,'integration':_0x344c45,'userAgent':_0x20569d})}:void 0x0,'url':_0x8d4421(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x15f41b}),'signal':_0x501fee})['then'](({data:_0x2db153,headers:_0x18dff2,request:_0x2aadd5})=>{let _0x21a516=_0x45e01d(JSON['parse'](_0x2db153));if('error'in _0x21a516&&!(_0x4fbd4b=>'status'in _0x4fbd4b&&_0x4fbd4b['status']===_0x2a1ba3['Error'])(_0x21a516))throw new _0x58664a(_0x21a516['error']['content'],_0x21a516['error']['errorCode'],_0x2aadd5,_0x21a516,_0x18dff2);return _0x21a516;}),{'retryNetworkErrorMaxTimes':_0x355e7d,'retryThrottledRequestMaxTimes':_0x351dac});}function _0x527216(_0x6bfa3a,{publicKey:_0x38d9f3,baseURL:t=_0x98db8e,signal:_0x1d33ab,source:_0x34a263,integration:_0x515377,userAgent:_0x39c501,retryThrottledRequestMaxTimes:_0x1ac8c3=_0x189352,retryNetworkErrorMaxTimes:_0x22b53e=_0x50059c}){return _0x31e66e(()=>_0x1bfd24({'method':'GET','headers':{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x38d9f3,'integration':_0x515377,'userAgent':_0x39c501})},'url':_0x8d4421(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x38d9f3,'file_id':_0x6bfa3a,'source':_0x34a263}),'signal':_0x1d33ab})['then'](({data:_0xafc951,headers:_0x34f38a,request:_0x1d6273})=>{let _0x554f01=_0x45e01d(JSON['parse'](_0xafc951));if('error'in _0x554f01)throw new _0x58664a(_0x554f01['error']['content'],_0x554f01['error']['errorCode'],_0x1d6273,_0x554f01,_0x34f38a);return _0x554f01;}),{'retryThrottledRequestMaxTimes':_0x1ac8c3,'retryNetworkErrorMaxTimes':_0x22b53e});}function _0x384d61(_0x2e671c,{publicKey:_0x2ae033,baseURL:t,source:_0x175bf1,integration:_0x29a846,userAgent:_0x4ff950,retryThrottledRequestMaxTimes:_0x13dc66,retryNetworkErrorMaxTimes:_0x318943,signal:_0x433745,onProgress:_0x239be7}){return _0x7590f8({'check':_0x1eb657=>_0x527216(_0x2e671c,{'publicKey':_0x2ae033,'baseURL':t,'signal':_0x1eb657,'source':_0x175bf1,'integration':_0x29a846,'userAgent':_0x4ff950,'retryThrottledRequestMaxTimes':_0x13dc66,'retryNetworkErrorMaxTimes':_0x318943})['then'](_0x883ae5=>_0x883ae5['isReady']?_0x883ae5:(_0x239be7&&_0x239be7({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x433745});}var _0x20f37b=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x399be8,{baseCDN:t=_0x568e41,fileName:_0x1a81a0}={}){let {uuid:_0x5e2d7a,s3Bucket:_0x46990b}=_0x399be8,_0xa895d5=_0x8d4421(t,_0x5e2d7a+'/'),_0x38c148=_0x46990b?_0x8d4421('https://'+_0x46990b+'.s3.amazonaws.com/',_0x5e2d7a+'/'+_0x399be8['filename']):null;this['uuid']=_0x5e2d7a,this['name']=_0x1a81a0||_0x399be8['filename'],this['size']=_0x399be8['size'],this['isStored']=_0x399be8['isStored'],this['isImage']=_0x399be8['isImage'],this['mimeType']=_0x399be8['mimeType'],this['cdnUrl']=_0xa895d5,this['originalFilename']=_0x399be8['originalFilename'],this['imageInfo']=_0x399be8['imageInfo'],this['videoInfo']=_0x399be8['videoInfo'],this['contentInfo']=_0x399be8['contentInfo'],this['metadata']=_0x399be8['metadata']||null,this['s3Bucket']=_0x46990b||null,this['s3Url']=_0x38c148,function(_0x5df18f){return'defaultEffects'in _0x5df18f;}(_0x399be8)&&(this['defaultEffects']=_0x399be8['defaultEffects']);}},_0x449712=(_0x34f5e9,{publicKey:_0x43da86,fileName:t,baseURL:_0x184cda,secureSignature:_0x107d69,secureExpire:_0x256cf1,store:_0x1e2014,contentType:_0x9b0a4b,signal:_0xb7fd98,onProgress:_0x56a9ff,source:_0x33e860,integration:_0x159c0e,userAgent:_0x1bb78b,retryThrottledRequestMaxTimes:_0x5c75fc,retryNetworkErrorMaxTimes:_0x2fa605,baseCDN:_0x3b3050,metadata:_0x40af1f})=>function(_0x59ea93,{publicKey:_0x38fd18,fileName:t,contentType:_0x1b53aa,baseURL:_0x1ad3c7=_0x98db8e,secureSignature:_0x2d8c67,secureExpire:_0x3d059a,store:_0x2dd4f4,signal:_0x35bcc3,onProgress:_0x4e1d52,source:_0x1cba68='local',integration:_0x32698a,userAgent:_0x3054dd,retryThrottledRequestMaxTimes:_0x43a243=_0x189352,retryNetworkErrorMaxTimes:_0x4dbdb9=_0x50059c,metadata:_0xf4f828}){return _0x31e66e(()=>_0x1bfd24({'method':'POST','url':_0x8d4421(_0x1ad3c7,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x38fd18,'integration':_0x32698a,'userAgent':_0x3054dd})},'data':_0x1532ca({'file':{'data':_0x59ea93,'name':t||_0x5d4593(_0x59ea93),'contentType':_0x1b53aa||_0x4ac6d7(_0x59ea93)},'UPLOADCARE_PUB_KEY':_0x38fd18,'UPLOADCARE_STORE':_0x2902aa(_0x2dd4f4),'signature':_0x2d8c67,'expire':_0x3d059a,'source':_0x1cba68,'metadata':_0xf4f828}),'signal':_0x35bcc3,'onProgress':_0x4e1d52})['then'](({data:_0x94d669,headers:_0x1ac230,request:_0x4e031c})=>{let _0x52e5ec=_0x45e01d(JSON['parse'](_0x94d669));if('error'in _0x52e5ec)throw new _0x58664a(_0x52e5ec['error']['content'],_0x52e5ec['error']['errorCode'],_0x4e031c,_0x52e5ec,_0x1ac230);return _0x52e5ec;}),{'retryNetworkErrorMaxTimes':_0x4dbdb9,'retryThrottledRequestMaxTimes':_0x43a243});}(_0x34f5e9,{'publicKey':_0x43da86,'fileName':t,'contentType':_0x9b0a4b,'baseURL':_0x184cda,'secureSignature':_0x107d69,'secureExpire':_0x256cf1,'store':_0x1e2014,'signal':_0xb7fd98,'onProgress':_0x56a9ff,'source':_0x33e860,'integration':_0x159c0e,'userAgent':_0x1bb78b,'retryThrottledRequestMaxTimes':_0x5c75fc,'retryNetworkErrorMaxTimes':_0x2fa605,'metadata':_0x40af1f})['then'](({file:_0x5ec1fa})=>_0x384d61(_0x5ec1fa,{'publicKey':_0x43da86,'baseURL':_0x184cda,'source':_0x33e860,'integration':_0x159c0e,'userAgent':_0x1bb78b,'retryThrottledRequestMaxTimes':_0x5c75fc,'retryNetworkErrorMaxTimes':_0x2fa605,'onProgress':_0x56a9ff,'signal':_0xb7fd98}))['then'](_0x33f75f=>new _0x20f37b(_0x33f75f,{'baseCDN':_0x3b3050})),_0x5c2a32=(_0x32f203,{signal:_0x585a92}={})=>{let t=null,_0x5998a8=null,_0x312a70=_0x32f203['map'](()=>new AbortController());return _0xd7b4f1(_0x585a92,()=>{_0x312a70['forEach'](_0x56d657=>_0x56d657['abort']());}),Promise['all'](_0x32f203['map']((_0x59e7b9,_0x47ec8a)=>{let _0x5b7ba4=(_0x1d6bb2=>()=>{_0x5998a8=_0x1d6bb2,_0x312a70['forEach']((_0x277ea4,_0x128960)=>_0x128960!==_0x1d6bb2&&_0x277ea4['abort']());})(_0x47ec8a);return Promise['resolve']()['then'](()=>_0x59e7b9({'stopRace':_0x5b7ba4,'signal':_0x312a70[_0x47ec8a]['signal']}))['then'](_0x10f7d1=>(_0x5b7ba4(),_0x10f7d1))['catch'](_0x4f3a6e=>(t=_0x4f3a6e,null));}))['then'](_0x391c5d=>{if(null===_0x5998a8)throw t;return _0x391c5d[_0x5998a8];});},_0x191377=window['WebSocket'],t$=class{['events']=Object['create']({});['emit'](_0x3ae62c,t){this['events'][_0x3ae62c]?.['forEach'](_0x52e724=>_0x52e724(t));}['on'](_0x316a23,t){this['events'][_0x316a23]=this['events'][_0x316a23]||[],this['events'][_0x316a23]['push'](t);}['off'](_0x15a312,t){this['events'][_0x15a312]=t?this['events'][_0x15a312]['filter'](_0x443b5f=>_0x443b5f!==t):[];}},_0x58a48d=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new t$();['disconnectTimeoutId']=null;constructor(_0x9265ab,t=0x7530){this['key']=_0x9265ab,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x235a93='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x191377(_0x235a93),this['ws']['addEventListener']('error',t=>{this['emmitter']['emit']('error',new Error(t['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](t=>this['send'](t['event'],t['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',t=>{let _0x316eb5=JSON['parse'](t['data']['toString']());switch(_0x316eb5['event']){case'pusher:connection_established':this['emmitter']['emit']('connected',void 0x0);break;case'pusher:ping':this['send']('pusher:pong',{});break;case'progress':case'success':case'fail':this['emmitter']['emit'](_0x316eb5['channel'],((_0x440bd1,_0x594adf)=>'success'===_0x440bd1?{'status':_0x2a1ba3['Success'],..._0x594adf}:'progress'===_0x440bd1?{'status':_0x2a1ba3['Progress'],..._0x594adf}:{'status':_0x2a1ba3['Error'],..._0x594adf})(_0x316eb5['event'],JSON['parse'](_0x316eb5['data'])));}});}}['disconnect'](){let _0x477762=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x477762();},this['disconnectTime']):_0x477762();}['send'](_0x28b284,t){let _0x3e5516=JSON['stringify']({'event':_0x28b284,'data':t});this['ws']?.['send'](_0x3e5516);}['subscribe'](_0xd6f2bc,t){this['subscribers']+=0x1,this['connect']();let _0x2dfaa4='task-status-'+_0xd6f2bc,_0xd3f5ad={'event':'pusher:subscribe','data':{'channel':_0x2dfaa4}};this['emmitter']['on'](_0x2dfaa4,t),this['isConnected']?this['send'](_0xd3f5ad['event'],_0xd3f5ad['data']):this['queue']['push'](_0xd3f5ad);}['unsubscribe'](_0x334794){this['subscribers']-=0x1;let t='task-status-'+_0x334794,_0x275651={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x275651['event'],_0x275651['data']):this['queue']=this['queue']['filter'](_0x5af8a1=>_0x5af8a1['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x2ed8e7){return this['emmitter']['on']('error',_0x2ed8e7),()=>this['emmitter']['off']('error',_0x2ed8e7);}},_0x39f4bd=null,_0x4658cb=_0x3b3f93=>{if(!_0x39f4bd){let _0x3e1bf7=typeof window>'u'?0x0:0x7530;_0x39f4bd=new _0x58a48d(_0x3b3f93,_0x3e1bf7);}return _0x39f4bd;},_0x57bf82=(_0x516abb,{publicKey:_0x31ff3c,fileName:t,baseURL:_0x4e9e08,baseCDN:_0x5db361,checkForUrlDuplicates:_0x2f19a1,saveUrlForRecurrentUploads:_0x3d0791,secureSignature:_0x5a48c1,secureExpire:_0x1f465b,store:_0x4e54a7,signal:_0xeb7c86,onProgress:_0x321287,source:_0x20dbc5,integration:_0x3f88d2,userAgent:_0x38d134,retryThrottledRequestMaxTimes:_0x13ddf3,pusherKey:_0x4aea7f=_0x42f7a2,metadata:_0x55edc0})=>Promise['resolve']((_0x24da5b=>{_0x4658cb(_0x24da5b)['connect']();})(_0x4aea7f))['then'](()=>function(_0x575522,{publicKey:_0x2d601e,baseURL:t=_0x98db8e,store:_0x9055f2,fileName:_0x278b61,checkForUrlDuplicates:_0x21b74b,saveUrlForRecurrentUploads:_0x2eab0e,secureSignature:_0x25880a,secureExpire:_0x26e7f3,source:_0x3955ed='url',signal:_0x2830c1,integration:_0x17712d,userAgent:_0x3b4ac4,retryThrottledRequestMaxTimes:_0x1c34c1=_0x189352,retryNetworkErrorMaxTimes:_0x599a9b=_0x50059c,metadata:_0x822463}){return _0x31e66e(()=>_0x1bfd24({'method':'POST','headers':{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x2d601e,'integration':_0x17712d,'userAgent':_0x3b4ac4})},'url':_0x8d4421(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x2d601e,'source_url':_0x575522,'store':_0x2902aa(_0x9055f2),'filename':_0x278b61,'check_URL_duplicates':_0x21b74b?0x1:void 0x0,'save_URL_duplicates':_0x2eab0e?0x1:void 0x0,'signature':_0x25880a,'expire':_0x26e7f3,'source':_0x3955ed,'metadata':_0x822463}),'signal':_0x2830c1})['then'](({data:_0x1fa4cf,headers:_0x3bb3f8,request:_0x302d42})=>{let _0x3b46fa=_0x45e01d(JSON['parse'](_0x1fa4cf));if('error'in _0x3b46fa)throw new _0x58664a(_0x3b46fa['error']['content'],_0x3b46fa['error']['errorCode'],_0x302d42,_0x3b46fa,_0x3bb3f8);return _0x3b46fa;}),{'retryNetworkErrorMaxTimes':_0x599a9b,'retryThrottledRequestMaxTimes':_0x1c34c1});}(_0x516abb,{'publicKey':_0x31ff3c,'fileName':t,'baseURL':_0x4e9e08,'checkForUrlDuplicates':_0x2f19a1,'saveUrlForRecurrentUploads':_0x3d0791,'secureSignature':_0x5a48c1,'secureExpire':_0x1f465b,'store':_0x4e54a7,'signal':_0xeb7c86,'source':_0x20dbc5,'integration':_0x3f88d2,'userAgent':_0x38d134,'retryThrottledRequestMaxTimes':_0x13ddf3,'metadata':_0x55edc0}))['catch'](_0x461f58=>(_0x4658cb(_0x4aea7f)?.['disconnect'](),Promise['reject'](_0x461f58)))['then'](_0x2ca632=>_0x2ca632['type']===_0x257632['FileInfo']?_0x2ca632:_0x5c2a32([({signal:_0x123068})=>function({token:_0x2da179,publicKey:_0x6ed988,baseURL:t,integration:_0x4c7dab,userAgent:_0x2401c9,retryThrottledRequestMaxTimes:_0x4a1943,retryNetworkErrorMaxTimes:_0x34eebb,onProgress:_0x1f8e81,signal:_0x8023f6}){return _0x7590f8({'check':_0x54bf05=>_0x5912d7(_0x2da179,{'publicKey':_0x6ed988,'baseURL':t,'integration':_0x4c7dab,'userAgent':_0x2401c9,'retryThrottledRequestMaxTimes':_0x4a1943,'retryNetworkErrorMaxTimes':_0x34eebb,'signal':_0x54bf05})['then'](_0x4202c6=>{switch(_0x4202c6['status']){case _0x2a1ba3['Error']:return new _0x58664a(_0x4202c6['error'],_0x4202c6['errorCode']);case _0x2a1ba3['Waiting']:return!0x1;case _0x2a1ba3['Unknown']:return new _0x58664a('Token\x20\x22'+_0x2da179+'\x22\x20was\x20not\x20found.');case _0x2a1ba3['Progress']:return _0x1f8e81&&('unknown'===_0x4202c6['total']?_0x1f8e81({'isComputable':!0x1}):_0x1f8e81({'isComputable':!0x0,'value':_0x4202c6['done']/_0x4202c6['total']})),!0x1;case _0x2a1ba3['Success']:return _0x1f8e81&&_0x1f8e81({'isComputable':!0x0,'value':_0x4202c6['done']/_0x4202c6['total']}),_0x4202c6;default:throw new Error('Unknown\x20status');}}),'signal':_0x8023f6});}({'token':_0x2ca632['token'],'publicKey':_0x31ff3c,'baseURL':_0x4e9e08,'integration':_0x3f88d2,'userAgent':_0x38d134,'retryThrottledRequestMaxTimes':_0x13ddf3,'onProgress':_0x321287,'signal':_0x123068}),({signal:_0x3bb616})=>(({token:_0xf54218,pusherKey:_0x5b89d4,signal:t,onProgress:_0x57bb30})=>new Promise((_0x53c29c,_0xcb5274)=>{let _0x26625b=_0x4658cb(_0x5b89d4),_0x30246d=_0x26625b['onError'](_0xcb5274),_0x2c1309=()=>{_0x30246d(),_0x26625b['unsubscribe'](_0xf54218);};_0xd7b4f1(t,()=>{_0x2c1309(),_0xcb5274(new _0x58b61d('pusher\x20cancelled'));}),_0x26625b['subscribe'](_0xf54218,_0x1966fa=>{switch(_0x1966fa['status']){case _0x2a1ba3['Progress']:_0x57bb30&&('unknown'===_0x1966fa['total']?_0x57bb30({'isComputable':!0x1}):_0x57bb30({'isComputable':!0x0,'value':_0x1966fa['done']/_0x1966fa['total']}));break;case _0x2a1ba3['Success']:_0x2c1309(),_0x57bb30&&_0x57bb30({'isComputable':!0x0,'value':_0x1966fa['done']/_0x1966fa['total']}),_0x53c29c(_0x1966fa);break;case _0x2a1ba3['Error']:_0x2c1309(),_0xcb5274(new _0x58664a(_0x1966fa['msg'],_0x1966fa['error_code']));}});}))({'token':_0x2ca632['token'],'pusherKey':_0x4aea7f,'signal':_0x3bb616,'onProgress':_0x321287})],{'signal':_0xeb7c86}))['then'](_0x43f9d3=>{if(_0x43f9d3 instanceof _0x58664a)throw _0x43f9d3;return _0x43f9d3;})['then'](_0x20bc37=>_0x384d61(_0x20bc37['uuid'],{'publicKey':_0x31ff3c,'baseURL':_0x4e9e08,'integration':_0x3f88d2,'userAgent':_0x38d134,'retryThrottledRequestMaxTimes':_0x13ddf3,'onProgress':_0x321287,'signal':_0xeb7c86}))['then'](_0x4b4077=>new _0x20f37b(_0x4b4077,{'baseCDN':_0x5db361})),_0x57c601=new WeakMap(),_0x4e955a=async _0x59f4ee=>{if(_0x79ce45(_0x59f4ee)||_0x37665d(_0x59f4ee))return _0x59f4ee['size'];if(_0x286db1(_0x59f4ee))return(await(async _0x473537=>{if(_0x57c601['has'](_0x473537))return _0x57c601['get'](_0x473537);let _0x41e009=await fetch(_0x473537['uri'])['then'](t=>t['blob']());return _0x57c601['set'](_0x473537,_0x41e009),_0x41e009;})(_0x59f4ee))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x438edc=_0x4eb19b=>{let t=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x4b2aab(_0x4eb19b)&&t['test'](_0x4eb19b);},_0x45245e=_0x3152a7=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x4b2aab(_0x3152a7)&&t['test'](_0x3152a7);},_0x5977f5=(_0x2e26b1,_0x1100cb)=>new Promise((t,_0x2f68ec)=>{let _0x587087=[],_0x39ccd9=!0x1,_0x3c0f73=_0x1100cb['length'],_0x223c18=[..._0x1100cb],_0xfd08df=()=>{let _0x19e859=_0x1100cb['length']-_0x223c18['length'],_0x588b44=_0x223c18['shift']();_0x588b44&&_0x588b44()['then'](_0x1817ad=>{_0x39ccd9||(_0x587087[_0x19e859]=_0x1817ad,_0x3c0f73-=0x1,_0x3c0f73?_0xfd08df():t(_0x587087));})['catch'](_0x19cf04=>{_0x39ccd9=!0x0,_0x2f68ec(_0x19cf04);});};for(let _0x4199e1=0x0;_0x4199e1<_0x2e26b1;_0x4199e1++)_0xfd08df();}),_0x503f0f=async(_0x402ac5,_0x357649,t)=>_0x195b25=>((_0x4c9c43,_0x40c8fa,t,_0x126007)=>{let _0x3f40ee=_0x126007*_0x40c8fa,_0x2b68db=Math['min'](_0x3f40ee+_0x126007,t);return _0x4c9c43['slice'](_0x3f40ee,_0x2b68db);})(_0x402ac5,_0x195b25,_0x357649,t),_0x14d158=(_0x2cf207,_0x3c4f93,{publicKey:t,contentType:_0x2f3a2f,onProgress:_0x1fa646,signal:_0x576d04,integration:_0xf34e5f,retryThrottledRequestMaxTimes:_0x3257b4,retryNetworkErrorMaxTimes:_0x40dd0e})=>function(_0xf11f86,_0x40a8a6,{contentType:t,signal:_0x57ed8a,onProgress:_0x599256,retryThrottledRequestMaxTimes:_0x3270a5=_0x189352,retryNetworkErrorMaxTimes:_0x18bbf2=_0x50059c}){return _0x31e66e(()=>_0x1bfd24({'method':'PUT','url':_0x40a8a6,'data':_0xf11f86,'onProgress':_0x599256,'signal':_0x57ed8a,'headers':{'Content-Type':t||_0x275d0f}})['then'](_0x5b96d5=>(_0x599256&&_0x599256({'isComputable':!0x0,'value':0x1}),_0x5b96d5))['then'](({status:_0x52c5bf})=>({'code':_0x52c5bf})),{'retryThrottledRequestMaxTimes':_0x3270a5,'retryNetworkErrorMaxTimes':_0x18bbf2});}(_0x2cf207,_0x3c4f93,{'contentType':_0x2f3a2f,'onProgress':_0x1fa646,'signal':_0x576d04,'retryThrottledRequestMaxTimes':_0x3257b4,'retryNetworkErrorMaxTimes':_0x40dd0e}),_0x244f9f=async(_0x3a40b8,{publicKey:_0x5f0d28,fileName:t,fileSize:_0x5f06bc,baseURL:_0x4c200a,secureSignature:_0x4754d8,secureExpire:_0x4cca07,store:_0x2ea105,signal:_0x156e7e,onProgress:_0xa809f5,source:_0x244ffc,integration:_0x506321,userAgent:_0xa9c1fb,retryThrottledRequestMaxTimes:_0x4974ff,retryNetworkErrorMaxTimes:_0x4abe2e,contentType:_0x3793ae,multipartChunkSize:_0x3e4e50=_0x5c6149,maxConcurrentRequests:_0x4a9ce3=_0x1e5949,baseCDN:_0x1df233,metadata:_0x5f791d})=>{let _0x3820e3,_0x3da50e=_0x5f06bc??await _0x4e955a(_0x3a40b8),_0x37d6e4=(_0xb0afaf,_0x301492)=>{if(!_0xa809f5)return;_0x3820e3||(_0x3820e3=Array(_0xb0afaf)['fill'](0x0));let _0x192bda=_0x1de9d8=>_0x1de9d8['reduce']((_0x53f54f,_0x28d3e6)=>_0x53f54f+_0x28d3e6,0x0);return _0xfeea7a=>{_0xfeea7a['isComputable']&&(_0x3820e3[_0x301492]=_0xfeea7a['value'],_0xa809f5({'isComputable':!0x0,'value':_0x192bda(_0x3820e3)/_0xb0afaf}));};};return _0x3793ae||=_0x4ac6d7(_0x3a40b8),function(_0x3016d1,{publicKey:_0x449e4a,contentType:t,fileName:_0x3934f9,multipartChunkSize:_0xedb87f=_0x5c6149,baseURL:_0x1454be='',secureSignature:_0x55f153,secureExpire:_0x5bfeb6,store:_0x5d315c,signal:_0x4b7937,source:_0x333170='local',integration:_0x4207b6,userAgent:_0x407634,retryThrottledRequestMaxTimes:_0x262e45=_0x189352,retryNetworkErrorMaxTimes:_0x406eab=_0x50059c,metadata:_0x835283}){return _0x31e66e(()=>_0x1bfd24({'method':'POST','url':_0x8d4421(_0x1454be,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x449e4a,'integration':_0x4207b6,'userAgent':_0x407634})},'data':_0x1532ca({'filename':_0x3934f9,'size':_0x3016d1,'content_type':t||_0x275d0f,'part_size':_0xedb87f,'UPLOADCARE_STORE':_0x2902aa(_0x5d315c),'UPLOADCARE_PUB_KEY':_0x449e4a,'signature':_0x55f153,'expire':_0x5bfeb6,'source':_0x333170,'metadata':_0x835283}),'signal':_0x4b7937})['then'](({data:_0x149dd7,headers:_0x4f8f3c,request:_0x38cfde})=>{let _0x19a5fc=_0x45e01d(JSON['parse'](_0x149dd7));if('error'in _0x19a5fc)throw new _0x58664a(_0x19a5fc['error']['content'],_0x19a5fc['error']['errorCode'],_0x38cfde,_0x19a5fc,_0x4f8f3c);return _0x19a5fc['parts']=Object['keys'](_0x19a5fc['parts'])['map'](_0x1ebdd1=>_0x19a5fc['parts'][Number(_0x1ebdd1)]),_0x19a5fc;}),{'retryThrottledRequestMaxTimes':_0x262e45,'retryNetworkErrorMaxTimes':_0x406eab});}(_0x3da50e,{'publicKey':_0x5f0d28,'contentType':_0x3793ae,'fileName':t||_0x5d4593(_0x3a40b8),'baseURL':_0x4c200a,'secureSignature':_0x4754d8,'secureExpire':_0x4cca07,'store':_0x2ea105,'signal':_0x156e7e,'source':_0x244ffc,'integration':_0x506321,'userAgent':_0xa9c1fb,'retryThrottledRequestMaxTimes':_0x4974ff,'retryNetworkErrorMaxTimes':_0x4abe2e,'metadata':_0x5f791d,'multipartChunkSize':_0x3e4e50})['then'](async({uuid:_0x4b7dde,parts:_0x2b7df2})=>{let _0x5b0338=await _0x503f0f(_0x3a40b8,_0x3da50e,_0x3e4e50);return Promise['all']([_0x4b7dde,_0x5977f5(_0x4a9ce3,_0x2b7df2['map']((_0xe6f9fe,_0x14253d)=>()=>_0x14d158(_0x5b0338(_0x14253d),_0xe6f9fe,{'publicKey':_0x5f0d28,'contentType':_0x3793ae,'onProgress':_0x37d6e4(_0x2b7df2['length'],_0x14253d),'signal':_0x156e7e,'integration':_0x506321,'retryThrottledRequestMaxTimes':_0x4974ff,'retryNetworkErrorMaxTimes':_0x4abe2e})))]);})['then'](([_0x2bbf00])=>function(_0x4f94fd,{publicKey:_0x2dc2c1,baseURL:t=_0x98db8e,source:_0x3daca5='local',signal:_0x3dac05,integration:_0x578222,userAgent:_0x140351,retryThrottledRequestMaxTimes:_0x1448ad=_0x189352,retryNetworkErrorMaxTimes:_0xd11b87=_0x50059c}){return _0x31e66e(()=>_0x1bfd24({'method':'POST','url':_0x8d4421(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x2dc2c1,'integration':_0x578222,'userAgent':_0x140351})},'data':_0x1532ca({'uuid':_0x4f94fd,'UPLOADCARE_PUB_KEY':_0x2dc2c1,'source':_0x3daca5}),'signal':_0x3dac05})['then'](({data:_0x635f8e,headers:_0x250df9,request:_0x424d6a})=>{let _0x266e0a=_0x45e01d(JSON['parse'](_0x635f8e));if('error'in _0x266e0a)throw new _0x58664a(_0x266e0a['error']['content'],_0x266e0a['error']['errorCode'],_0x424d6a,_0x266e0a,_0x250df9);return _0x266e0a;}),{'retryThrottledRequestMaxTimes':_0x1448ad,'retryNetworkErrorMaxTimes':_0xd11b87});}(_0x2bbf00,{'publicKey':_0x5f0d28,'baseURL':_0x4c200a,'source':_0x244ffc,'integration':_0x506321,'userAgent':_0xa9c1fb,'retryThrottledRequestMaxTimes':_0x4974ff,'retryNetworkErrorMaxTimes':_0x4abe2e}))['then'](_0x171f0f=>_0x171f0f['isReady']?_0x171f0f:_0x384d61(_0x171f0f['uuid'],{'publicKey':_0x5f0d28,'baseURL':_0x4c200a,'source':_0x244ffc,'integration':_0x506321,'userAgent':_0xa9c1fb,'retryThrottledRequestMaxTimes':_0x4974ff,'retryNetworkErrorMaxTimes':_0x4abe2e,'onProgress':_0xa809f5,'signal':_0x156e7e}))['then'](_0x23219a=>new _0x20f37b(_0x23219a,{'baseCDN':_0x1df233}));};async function _0x22e270(_0x1cf7b1,{publicKey:_0xa4abaf,fileName:t,baseURL:_0x1cfb02=_0x98db8e,secureSignature:_0x209a85,secureExpire:_0x339033,store:_0x57bfb8,signal:_0x40e3d9,onProgress:_0x5e22b4,source:_0x2a2df0,integration:_0x4d85ae,userAgent:_0x160e23,retryThrottledRequestMaxTimes:_0x2242ba,retryNetworkErrorMaxTimes:_0x4d1cdc,contentType:_0xf2f31f,multipartMinFileSize:_0x5538b2,multipartChunkSize:_0x3dcce9,maxConcurrentRequests:_0x356447,baseCDN:_0x3c17e7=_0x568e41,checkForUrlDuplicates:_0x2c4e21,saveUrlForRecurrentUploads:_0x3d5fd1,pusherKey:_0x1d4f32,metadata:_0x20027e}){if(_0x4b2aab(_0x1cf7b1)){let _0x16d786=await _0x4e955a(_0x1cf7b1);return((_0x4602a6,_0x428871=_0x35c9c0)=>_0x4602a6>=_0x428871)(_0x16d786,_0x5538b2)?_0x244f9f(_0x1cf7b1,{'publicKey':_0xa4abaf,'contentType':_0xf2f31f,'multipartChunkSize':_0x3dcce9,'fileSize':_0x16d786,'fileName':t,'baseURL':_0x1cfb02,'secureSignature':_0x209a85,'secureExpire':_0x339033,'store':_0x57bfb8,'signal':_0x40e3d9,'onProgress':_0x5e22b4,'source':_0x2a2df0,'integration':_0x4d85ae,'userAgent':_0x160e23,'maxConcurrentRequests':_0x356447,'retryThrottledRequestMaxTimes':_0x2242ba,'retryNetworkErrorMaxTimes':_0x4d1cdc,'baseCDN':_0x3c17e7,'metadata':_0x20027e}):_0x449712(_0x1cf7b1,{'publicKey':_0xa4abaf,'fileName':t,'contentType':_0xf2f31f,'baseURL':_0x1cfb02,'secureSignature':_0x209a85,'secureExpire':_0x339033,'store':_0x57bfb8,'signal':_0x40e3d9,'onProgress':_0x5e22b4,'source':_0x2a2df0,'integration':_0x4d85ae,'userAgent':_0x160e23,'retryThrottledRequestMaxTimes':_0x2242ba,'retryNetworkErrorMaxTimes':_0x4d1cdc,'baseCDN':_0x3c17e7,'metadata':_0x20027e});}if(_0x45245e(_0x1cf7b1))return _0x57bf82(_0x1cf7b1,{'publicKey':_0xa4abaf,'fileName':t,'baseURL':_0x1cfb02,'baseCDN':_0x3c17e7,'checkForUrlDuplicates':_0x2c4e21,'saveUrlForRecurrentUploads':_0x3d5fd1,'secureSignature':_0x209a85,'secureExpire':_0x339033,'store':_0x57bfb8,'signal':_0x40e3d9,'onProgress':_0x5e22b4,'source':_0x2a2df0,'integration':_0x4d85ae,'userAgent':_0x160e23,'retryThrottledRequestMaxTimes':_0x2242ba,'pusherKey':_0x1d4f32,'metadata':_0x20027e});if(_0x438edc(_0x1cf7b1))return((_0x1cf51e,{publicKey:_0x42b4ca,fileName:t,baseURL:_0x4642f8,signal:_0x102f45,onProgress:_0x29e052,source:_0x3ade98,integration:_0x2b4fce,userAgent:_0x15e67b,retryThrottledRequestMaxTimes:_0x46c2cf,retryNetworkErrorMaxTimes:_0x28d5d3,baseCDN:_0x28f6f0})=>_0x527216(_0x1cf51e,{'publicKey':_0x42b4ca,'baseURL':_0x4642f8,'signal':_0x102f45,'source':_0x3ade98,'integration':_0x2b4fce,'userAgent':_0x15e67b,'retryThrottledRequestMaxTimes':_0x46c2cf,'retryNetworkErrorMaxTimes':_0x28d5d3})['then'](_0x3cdf82=>new _0x20f37b(_0x3cdf82,{'baseCDN':_0x28f6f0,'fileName':t}))['then'](_0x3259f1=>(_0x29e052&&_0x29e052({'isComputable':!0x0,'value':0x1}),_0x3259f1)))(_0x1cf7b1,{'publicKey':_0xa4abaf,'fileName':t,'baseURL':_0x1cfb02,'signal':_0x40e3d9,'onProgress':_0x5e22b4,'source':_0x2a2df0,'integration':_0x4d85ae,'userAgent':_0x160e23,'retryThrottledRequestMaxTimes':_0x2242ba,'retryNetworkErrorMaxTimes':_0x4d1cdc,'baseCDN':_0x3c17e7});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x1cf7b1+'\x22\x20is\x20not\x20supported');}var _0x14157a=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x7f4adc,{baseCDN:t=_0x568e41}={}){this['uuid']=_0x7f4adc['id'],this['filesCount']=_0x7f4adc['filesCount'];let _0x5800af=_0x7f4adc['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x5800af)['reduce']((_0x24fe80,_0x1c62ca)=>_0x24fe80+_0x1c62ca['size'],0x0),this['isStored']=!!_0x7f4adc['datetimeStored'],this['isImage']=!!Object['values'](_0x5800af)['filter'](_0xf80adc=>_0xf80adc['isImage'])['length'],this['cdnUrl']=((_0x27f7b9,_0x4a12f9)=>{try{let t=new URL(_0x27f7b9),_0x1a657e=new URL(_0x4a12f9);return t['protocol']=_0x1a657e['protocol'],t['hostname']=_0x1a657e['hostname'],t['port']=_0x1a657e['port'],t['toString']();}catch{return _0x27f7b9;}})(_0x7f4adc['cdnUrl'],t),this['files']=_0x5800af['map'](_0x5ac080=>new _0x20f37b(_0x5ac080,{'baseCDN':t})),this['createdAt']=_0x7f4adc['datetimeCreated'],this['storedAt']=_0x7f4adc['datetimeStored'];}};function _0xd72cfe(_0x45a633,{publicKey:_0x24080b,fileName:t,baseURL:_0x47f4f0=_0x98db8e,secureSignature:_0x28f129,secureExpire:_0x48675a,store:_0x284f4d,signal:_0x5443b9,onProgress:_0xe1214d,source:_0x671a5c,integration:_0x1cdce3,userAgent:_0x58495b,retryThrottledRequestMaxTimes:_0x113b86,retryNetworkErrorMaxTimes:_0x415ce3,contentType:_0x495ab5,multipartChunkSize:_0x19b0d7=_0x5c6149,baseCDN:_0x4cd5ec=_0x568e41,checkForUrlDuplicates:_0x1344ea,saveUrlForRecurrentUploads:_0x3cb37c,jsonpCallback:_0x56e58d}){if(!(_0x69f67d=>{for(let _0x27bfdb of _0x69f67d)if(!_0x4b2aab(_0x27bfdb))return!0x1;return!0x0;})(_0x45a633)&&!(_0x4a8b12=>{for(let _0x18905f of _0x4a8b12)if(!_0x45245e(_0x18905f))return!0x1;return!0x0;})(_0x45a633)&&!(_0x157cea=>{for(let _0x4746bc of _0x157cea)if(!_0x438edc(_0x4746bc))return!0x1;return!0x0;})(_0x45a633))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x45a633+'\x22\x20is\x20not\x20supported');let _0x1bd703,_0x5f1661=!0x0,_0x899afc=_0x45a633['length'],_0x48fdc1=(_0xeae629,_0x5807d4)=>{if(!_0xe1214d)return;_0x1bd703||(_0x1bd703=Array(_0xeae629)['fill'](0x0));let _0x5c913d=_0x133c4b=>_0x133c4b['reduce']((_0x14350a,_0x2d6b20)=>_0x14350a+_0x2d6b20)/_0xeae629;return _0x3a8503=>{if(!_0x3a8503['isComputable']||!_0x5f1661)return _0x5f1661=!0x1,void _0xe1214d({'isComputable':!0x1});_0x1bd703[_0x5807d4]=_0x3a8503['value'],_0xe1214d({'isComputable':!0x0,'value':_0x5c913d(_0x1bd703)});};};return Promise['all'](_0x45a633['map']((_0x1c998a,_0x39451f)=>_0x4b2aab(_0x1c998a)||_0x45245e(_0x1c998a)?_0x22e270(_0x1c998a,{'publicKey':_0x24080b,'fileName':t,'baseURL':_0x47f4f0,'secureSignature':_0x28f129,'secureExpire':_0x48675a,'store':_0x284f4d,'signal':_0x5443b9,'onProgress':_0x48fdc1(_0x899afc,_0x39451f),'source':_0x671a5c,'integration':_0x1cdce3,'userAgent':_0x58495b,'retryThrottledRequestMaxTimes':_0x113b86,'retryNetworkErrorMaxTimes':_0x415ce3,'contentType':_0x495ab5,'multipartChunkSize':_0x19b0d7,'baseCDN':_0x4cd5ec,'checkForUrlDuplicates':_0x1344ea,'saveUrlForRecurrentUploads':_0x3cb37c})['then'](_0x29bb7e=>_0x29bb7e['uuid']):_0x1c998a))['then'](_0x36903b=>function(_0x11e027,{publicKey:_0x17f9a9,baseURL:t=_0x98db8e,jsonpCallback:_0x377a60,secureSignature:_0x2ad529,secureExpire:_0x1d40a8,signal:_0x4e1951,source:_0x101d3c,integration:_0x180e72,userAgent:_0x2aa3fd,retryThrottledRequestMaxTimes:_0x4c38ba=_0x189352,retryNetworkErrorMaxTimes:_0x59abfc=_0x50059c}){return _0x31e66e(()=>_0x1bfd24({'method':'POST','headers':{'X-UC-User-Agent':_0x3f7f23({'publicKey':_0x17f9a9,'integration':_0x180e72,'userAgent':_0x2aa3fd})},'url':_0x8d4421(t,'/group/',{'jsonerrors':0x1}),'data':_0x1532ca({'files':_0x11e027,'callback':_0x377a60,'pub_key':_0x17f9a9,'signature':_0x2ad529,'expire':_0x1d40a8,'source':_0x101d3c}),'signal':_0x4e1951})['then'](({data:_0x5ecfbf,headers:_0x2b26b4,request:_0x53dfe1})=>{let _0x14d9ea=_0x45e01d(JSON['parse'](_0x5ecfbf));if('error'in _0x14d9ea)throw new _0x58664a(_0x14d9ea['error']['content'],_0x14d9ea['error']['errorCode'],_0x53dfe1,_0x14d9ea,_0x2b26b4);return _0x14d9ea;}),{'retryNetworkErrorMaxTimes':_0x59abfc,'retryThrottledRequestMaxTimes':_0x4c38ba});}(_0x36903b,{'publicKey':_0x24080b,'baseURL':_0x47f4f0,'jsonpCallback':_0x56e58d,'secureSignature':_0x28f129,'secureExpire':_0x48675a,'signal':_0x5443b9,'source':_0x671a5c,'integration':_0x1cdce3,'userAgent':_0x58495b,'retryThrottledRequestMaxTimes':_0x113b86,'retryNetworkErrorMaxTimes':_0x415ce3})['then'](_0x52e5a1=>new _0x14157a(_0x52e5a1,{'baseCDN':_0x4cd5ec}))['then'](_0x40f4b6=>(_0xe1214d&&_0xe1214d({'isComputable':!0x0,'value':0x1}),_0x40f4b6)));}var _0x57c50e=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x11a817){this['Vi']=_0x11a817;}['run'](){let _0x10bb50=this['Vi']-this['_i'];for(let t=0x0;t<_0x10bb50;t++){let _0x854eab=this['io']['shift']();if(!_0x854eab)return;let _0x557b07=this['ro']['get'](_0x854eab),_0xc42d94=this['oo']['get'](_0x854eab);if(!_0x557b07||!_0xc42d94)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x854eab()['finally'](()=>{this['ro']['delete'](_0x854eab),this['oo']['delete'](_0x854eab),this['_i']-=0x1,this['run']();})['then'](_0x23d1a6=>_0x557b07(_0x23d1a6))['catch'](_0x5cddc3=>_0xc42d94(_0x5cddc3));}}['add'](_0x333894,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x5d48c4,_0x15dac3)=>{this['ro']['set'](_0x333894,_0x5d48c4),this['oo']['set'](_0x333894,_0x15dac3),this['io']['push'](_0x333894),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x21a8ee){this['Vi']=_0x21a8ee,this['run']();}get['concurrency'](){return this['Vi'];}},_0x53079d=_0x312bfa=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x312bfa['modalManager']?.['close'](_0x312bfa['$']['*currentActivity']),_0x312bfa['pub']('*currentActivity',null);}}),_0x3b6acd=_0x21b588=>({..._0x53079d(_0x21b588),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x57c50e(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),_0x5b9835=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),_0x133b34=class extends _0x49e635{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](_0x5b9835['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x213f48 of this['scopes'])if(_0x213f48['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x213f48['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0x30b589=Array['from'](t['clipboardData']['items']),_0x4aaaab=_0x30b589['map'](_0x34216a=>_0x34216a['getAsFile']())['filter'](_0x307814=>null!==_0x307814),_0x17dc36=_0x30b589['filter'](_0x4b06f1=>'string'===_0x4b06f1['kind']&&'text/plain'===_0x4b06f1['type'])['map'](_0x203194=>new Promise(_0x18e75d=>{_0x203194['getAsString'](_0x182db2=>{_0x18e75d(_0x182db2);});}));_0x4aaaab['length']>0x0&&(_0x4aaaab['forEach'](_0x4209ca=>{this['i']['api']['addFileFromObject'](_0x4209ca,{'source':'clipboard'});}),this['openUploadList']()),_0x17dc36['length']>0x0&&((await Promise['all'](_0x17dc36))['forEach'](_0x940698=>{this['i']['api']['addFileFromUrl'](_0x940698,{'source':'clipboard'});}),this['openUploadList']());}['registerBlock'](t){return this['scopes']['add'](t),()=>{this['scopes']['delete'](t);};}['destroy'](){super['destroy'](),window['removeEventListener']('paste',this['listener']),this['scopes']['clear']();}},_0x26ee30={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x818f25(_0x542559,_0x3eb548){_0x3eb548['tabIndex']=0x0,_0x3eb548['focus'](),_0x542559['tabIndex']=-0x1;}function _0x195238(_0xb9cedc){let _0xf09482=_0xb9cedc['role']||_0xb9cedc['type']||_0xb9cedc['tagName'];if(!_0xf09482)return null;let t=_0x26ee30[_0xf09482['toLowerCase']()];if(!t)return null;for(let _0x2476e4 of t){let _0x308459=_0xb9cedc['closest']('[role='+_0x2476e4+']');if(_0x308459)return _0x308459;}}function _0x814558(_0x57e122,_0x3543b4){return'toolbar'===_0x3543b4['role']?function(_0x14a993){return[..._0x14a993['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x3543b4):_0x3543b4['querySelectorAll']('[role='+_0x57e122['role']+']');}function _0x4fd0ee(_0x1ae3c7){return _0x324f4b=>{let t=!0x1,_0x1eb31b=0x0,_0x378f28='';function _0x46e459(_0x18dc93){let _0x5ecd67=_0x195238(_0x18dc93['target']);if(!_0x5ecd67)return void _0x1c9dab();let _0x378425=_0x814558(_0x18dc93['target'],_0x5ecd67),_0x1362d3=function(_0x3f6375,_0x38b667){return Array['from'](_0x3f6375)['filter'](t=>{let _0x5600d1=t['parentElement'];for(;_0x5600d1&&_0x5600d1!==_0x38b667;){if('true'===_0x5600d1['getAttribute']('aria-hidden'))return!0x1;_0x5600d1=_0x5600d1['parentElement'];}return!0x0;});}(_0x378425,_0x5ecd67),_0x33e266=Array['from'](_0x1362d3)['indexOf'](_0x18dc93['target']),_0x55406d='ArrowDown',_0x38b1fe='ArrowUp';if(function(_0x225417){let _0x51fab1=_0x225417['getAttribute']('aria-orientation');if('vertical'===_0x51fab1)return!0x1;if('horizontal'===_0x51fab1)return!0x0;let t=_0x225417['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x5ecd67)&&('rtl'===_0x324f4b['document']['dir']?(_0x55406d='ArrowLeft',_0x38b1fe='ArrowRight'):(_0x55406d='ArrowRight',_0x38b1fe='ArrowLeft')),_0x18dc93['key']===_0x55406d)_0x18dc93['preventDefault'](),_0x818f25(_0x18dc93['target'],_0x1362d3[_0x33e266+0x1]||_0x1362d3[0x0]);else{if(_0x18dc93['key']===_0x38b1fe)_0x18dc93['preventDefault'](),_0x818f25(_0x18dc93['target'],_0x1362d3[_0x33e266-0x1]||_0x1362d3[_0x1362d3['length']-0x1]);else{if('Home'===_0x18dc93['key'])_0x18dc93['preventDefault'](),_0x818f25(_0x18dc93['target'],_0x1362d3[0x0]);else{if('End'===_0x18dc93['key'])_0x18dc93['preventDefault'](),_0x818f25(_0x18dc93['target'],_0x1362d3[_0x1362d3['length']-0x1]);else{if(0x1===_0x18dc93['key']['length']&&'tablist'!==_0x5ecd67['role']){_0x18dc93['timeStamp']-_0x1eb31b<=0x12c?_0x378f28+=_0x18dc93['key']['toLowerCase']():_0x378f28=_0x18dc93['key']['toLowerCase'](),_0x1eb31b=_0x18dc93['timeStamp'];let _0xc6881c=Array['from'](_0x378425)['find'](_0x51673c=>_0x51673c['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x378f28));_0xc6881c&&(_0x18dc93['preventDefault'](),_0x818f25(_0x18dc93['target'],_0xc6881c));}}}}}}function _0x1c9dab(){t=!0x1,_0x324f4b['removeEventListener']('keydown',_0x46e459);}function _0x27e0e3(_0x80e9dd){let _0x3b4ac8=_0x195238(_0x80e9dd['target']);if(_0x3b4ac8){t||(t=!0x0,_0x324f4b['addEventListener']('keydown',_0x46e459));let _0x4bd5d9=_0x814558(_0x80e9dd['target'],_0x3b4ac8);for(let _0x38ee91 of _0x4bd5d9)_0x38ee91!==_0x80e9dd['target']&&_0x38ee91['setAttribute']('tabindex',-0x1);}else t&&_0x1c9dab();}function _0x3e4eb4(_0x44960d){(!_0x44960d['relatedTarget']||_0x44960d['relatedTarget']===_0x324f4b['document'])&&_0x1c9dab();}function _0x22f9fe(_0x20f171){let _0x8a0583=_0x195238(_0x20f171['target']);if(_0x8a0583){let _0x4292c4=_0x814558(_0x20f171['target'],_0x8a0583);for(let _0x4b7edf of _0x4292c4)_0x4b7edf!==_0x20f171['target']&&_0x4b7edf['setAttribute']('tabindex',-0x1);_0x20f171['target']['setAttribute']('tabindex',0x0);}}return _0x324f4b['addEventListener']('click',_0x22f9fe),_0x324f4b['addEventListener']('focusin',_0x27e0e3),_0x324f4b['addEventListener']('focusout',_0x3e4eb4),()=>{_0x1c9dab(),_0x324f4b['removeEventListener']('click',_0x22f9fe),_0x324f4b['removeEventListener']('focusin',_0x27e0e3),_0x324f4b['removeEventListener']('focusout',_0x3e4eb4);};};}function _0x155e2e(){return _0x218a63=>{let _0x9536d8=[];function _0x2abc45(){let _0x5cd513=_0x9536d8['pop']();if(!_0x5cd513)return void _0x218a63['document']['activeElement']['blur']();let _0x23bea5=_0x5cd513['deref']();_0x23bea5&&_0x23bea5['isConnected']?_0x23bea5['focus']():_0x2abc45();}let _0x1d5de1,_0x20c3d9=0x0;function _0x3e1b73(_0x396fdb){clearInterval(_0x1d5de1);let _0x4e352a=_0x396fdb['getAttribute']('aria-controls');_0x1d5de1=setInterval(()=>{if(_0x20c3d9++>0x32)return void clearInterval(_0x1d5de1);let _0x310305=_0x218a63['document']['getElementById'](_0x4e352a);if(_0x310305){let _0x49d1c9=_0x310305['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x49d1c9&&(clearInterval(_0x1d5de1),_0x310305['dispatchEvent'](new _0x218a63['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x28a77e){let _0x546849=_0x218a63['document']['activeElement'];_0x546849&&_0x546849!==_0x218a63['document']['body']&&_0x9536d8['push'](new WeakRef(_0x546849)),_0x28a77e['focus']({'focusVisible':!0x0});}(_0x49d1c9));}},0x32);}function _0x2331e8(_0x2c9c47){_0x2c9c47['target']['getAttribute']('aria-controls')&&'Enter'===_0x2c9c47['key']&&_0x3e1b73(_0x2c9c47['target']),'Escape'===_0x2c9c47['key']&&_0x2abc45();}return _0x218a63['addEventListener']('keydown',_0x2331e8),()=>{_0x218a63['removeEventListener']('keydown',_0x2331e8);};};}function _0x5a7b3a(_0x55984c){let _0x3ad397,_0x2aa9e1,t=_0x55984c['split']('\x20');function _0x11678c(_0x301e1d){('Enter'===_0x301e1d['key']||'\x20'===_0x301e1d['key'])&&('BUTTON'===_0x301e1d['target']['tagName']||'A'===_0x301e1d['target']['tagName'])&&(_0x41fc75(),_0x301e1d['target']['classList']['add'](...t),_0x3ad397=_0x301e1d['target'],_0x2aa9e1=_0x301e1d['target']);}function _0x41fc75(){_0x3ad397&&(_0x3ad397['classList']['remove'](...t),_0x3ad397=0x0,setTimeout(()=>{_0x2aa9e1=0x0;},0x0));}function _0x3de916(_0x38bf17){0x0===_0x38bf17['clientX']&&0x0===_0x38bf17['clientY']&&_0x3ad397!==_0x38bf17['target']&&(_0x41fc75(),_0x2aa9e1!==_0x38bf17['target']&&(_0x38bf17['target']['classList']['add'](...t),_0x3ad397=_0x38bf17['target']));}return _0xeb0fe5=>(_0xeb0fe5['addEventListener']('click',_0x3de916),_0xeb0fe5['addEventListener']('keydown',_0x11678c),_0xeb0fe5['addEventListener']('keyup',_0x41fc75),()=>{_0xeb0fe5['removeEventListener']('click',_0x3de916),_0xeb0fe5['removeEventListener']('keydown',_0x11678c),_0xeb0fe5['removeEventListener']('keyup',_0x41fc75);});}var _0x2ee05a=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0xf05da7,t){let _0x4ca07e=_0x4bc78d=>{let _0x5425a4=_0x4bc78d['target'];_0x5425a4 instanceof Node&&this['so']['some'](_0x27769a=>_0x27769a===_0x5425a4||_0x27769a['contains'](_0x5425a4))&&t(_0x4bc78d);};this['te']['set'](t,_0x4ca07e),window['addEventListener'](_0xf05da7,_0x4ca07e);}['removeEventListener'](_0x4a959c,t){let _0x4e7b3a=this['te']['get'](t);_0x4e7b3a&&window['removeEventListener'](_0x4a959c,_0x4e7b3a),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x29344d){this['so']['push'](_0x29344d);}['destroy'](){this['so']=[];for(let _0x2fcad1 of this['te']['values']())window['removeEventListener']('keydown',_0x2fcad1),window['removeEventListener']('keyup',_0x2fcad1);this['te']['clear']();}},_0x5defce=class{constructor(){this['Bi']=new _0x2ee05a(),this['an']=function(_0x36444f,_0x11a3ff){let t=_0x11a3ff['map'](_0x1764d0=>_0x1764d0(_0x36444f));return()=>{t['forEach'](_0x57a343=>_0x57a343());};}(this['Bi'],[_0x4fd0ee(),_0x5a7b3a('is-pressed'),_0x155e2e(),_0x41d823=>{let _0x598a76,t;function _0x4370f9(_0x12d401){if('true'===_0x12d401['target']['getAttribute']('aria-hidden')){_0x598a76=_0x12d401['target'],_0x598a76['setAttribute']('aria-hidden','false'),t=_0x598a76['hidden'],t&&(_0x598a76['hidden']=!0x1);let _0x4894ce=_0x12d401['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4894ce&&(_0x4894ce['tabIndex']=0x0);}}function _0x45b1d5(_0x811cf7){_0x598a76&&_0x598a76['contains'](_0x811cf7['target'])&&(!_0x811cf7['relatedTarget']||!_0x598a76['contains'](_0x811cf7['relatedTarget']))&&(_0x811cf7['target']['tabIndex']=-0x1,_0x598a76['setAttribute']('aria-hidden','true'),t&&(_0x598a76['hidden']=!0x0),_0x598a76=null);}return _0x41d823['addEventListener']('keyuxJump',_0x4370f9),_0x41d823['addEventListener']('focusout',_0x45b1d5),()=>{_0x41d823['removeEventListener']('keyuxJump',_0x4370f9),_0x41d823['removeEventListener']('focusout',_0x45b1d5);};}]);}['registerBlock'](_0x4ac511){this['Bi']['registerScope'](_0x4ac511);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},_0x52a7fe=_0x1bb1fb=>'*l10n/'+_0x1bb1fb,_0x523bc7=class extends _0x49e635{constructor(t){super(t),this['Tt']='';for(let [_0x28e18a,_0x3e224a]of Object['entries'](_0x3760e7)){let _0x135aef=!this['e']['has'](_0x52a7fe(_0x28e18a))||!this['e']['read'](_0x52a7fe(_0x28e18a));this['e']['add'](_0x52a7fe(_0x28e18a),_0x3e224a,_0x135aef);}let _0x5b5063=t['pluginManager'];_0x5b5063?.['onPluginsChange']&&this['addSub'](_0x5b5063['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](_0x478f31('localeName'),async _0x5758b6=>{if(!_0x5758b6)return;this['Tt']=_0x5758b6;let _0x2f44a8=await(async _0xc533d3=>{let _0x238bd8=_0x20fdcc['get'](_0xc533d3);if(!_0x238bd8){let t=_0x4c4d9a['get'](_0xc533d3);if(!t)throw new Error('Locale\x20'+_0xc533d3+'\x20is\x20not\x20defined');let _0x23f653=await t();_0x238bd8=_0x2fd28b(_0xc533d3,_0x23f653);}return _0x238bd8;})(_0x5758b6);'en'!==_0x5758b6&&this['Tt']!==_0x5758b6||(this['ln'](_0x5758b6),this['cn'](_0x5758b6,_0x2f44a8));})),this['addSub'](this['e']['sub'](_0x478f31('localeDefinitionOverride'),_0x3d7ec7=>{if(!_0x3d7ec7)return;let _0x480566=_0x3d7ec7[this['Tt']];_0x480566&&this['cn'](this['Tt'],_0x480566);}));}['cn'](t,_0xc88afe){let _0x27cc52=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x2f7de9,_0x5bd866]of Object['entries'](_0xc88afe)){let _0x2a159b=_0x27cc52?.[_0x2f7de9];this['e']['add'](_0x52a7fe(_0x2f7de9),_0x2a159b??_0x5bd866,!0x0);}}['ln'](t){let _0x446ef2=this['i']['pluginManager'];if(!_0x446ef2)return;let _0x12de8c=_0x446ef2['snapshot']();for(let _0x22f311 of _0x12de8c['l10n']){let {pluginId:_0x903d5b,..._0x4eb0ec}=_0x22f311,_0x317180=_0x4eb0ec[t];if(_0x317180){for(let [_0x37cbe2,_0x433da6]of Object['entries'](_0x317180))void 0x0!==_0x433da6&&this['e']['add'](_0x52a7fe(_0x37cbe2),_0x433da6,!0x0);}}}},_0x5a196d=()=>{let _0x334a76=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x334a76)&&/Version\/[\d.]+.*Safari/['test'](_0x334a76)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x334a76);},_0x1bbdf7={'safariDesktop':_0x5a196d()},_0x539e49={'htmlMediaCapture':'capture'in document['createElement']('input')},_0x4b843d='image/*',_0x12621f='video/*',_0x4bcf6b=_0x1bbdf7['safariDesktop']?[_0x4b843d]:[_0x4b843d,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],_0x4b9aae=_0x31cb8d=>_0x31cb8d?_0x31cb8d['filter'](_0x2866c4=>'string'==typeof _0x2866c4)['flatMap'](_0x25396b=>_0x126e70(_0x25396b)):[],_0x40347e=(_0x1851c5,_0x3fe83e)=>_0x3fe83e['some'](t=>{if(t['endsWith']('*')){let _0x898719=t['replace']('*','');return _0x1851c5['startsWith'](_0x898719);}return _0x1851c5===t;}),_0x4957e2=_0x529cfb=>{let _0x3ebc0c=_0x529cfb?.['type'];return!!_0x3ebc0c&&_0x40347e(_0x3ebc0c,_0x4bcf6b);},_0x3cfe49=class{constructor(_0x27a6c8,t){this['e']=_0x27a6c8,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x4ff4e4=>{this['Bc'](_0x4ff4e4??[]);});}['Bc'](_0x100b2d){for(let _0x5e291e of this['Xt'])_0x5e291e();if(this['Xt']['clear'](),0x0===_0x100b2d['length'])return;let t=new Set([_0x478f31('plugins')]);for(let _0x26d7bd of _0x100b2d)for(let _0x32dda2 of _0x26d7bd['configDeps'])t['add'](_0x478f31(_0x32dda2));let _0x1dfd78=()=>this['dn'](_0x100b2d);for(let _0x2e4ac7 of t)this['Xt']['add'](this['e']['sub'](_0x2e4ac7,_0x1dfd78,!0x1));this['dn'](_0x100b2d);}['dn'](_0x42739c){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x39a17c=_0x43ed60=>this['e']['read'](_0x478f31(_0x43ed60)),_0x5b3dac=_0x39a17c('plugins'),_0xfcfd3d=(async({entries:_0x153e25,signal:_0x5a1906})=>(await Promise['all'](_0x153e25['map'](async _0xbec543=>{if(_0xbec543['isEnabled']())try{let _0x1ad23b=await _0xbec543['load']();return _0x5a1906['aborted']||!_0xbec543['isEnabled']()?void 0x0:_0x1ad23b??void 0x0;}catch(_0x2e2b79){return void(_0x5a1906['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x2e2b79));}})))['filter'](_0x44f706=>void 0x0!==_0x44f706))({'entries':_0x42739c['map'](_0x5990ee=>({'isEnabled':()=>_0x5990ee['isEnabled'](_0x39a17c),'load':_0x5990ee['load']})),'signal':t['signal']})['then'](_0x4fc0bc=>{if(!t['signal']['aborted'])return[..._0x5b3dac,..._0x4fc0bc];});this['zc'](_0xfcfd3d);}['destroy'](){this['un']();for(let _0x5f2774 of this['Xt'])_0x5f2774();this['Xt']['clear'](),this['ao']?.['abort']();}},_0x687feb=class{constructor(){this['Ke']=new Map();}['register'](_0x5ec007,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x5764a0={'attribute':!0x0,...t,'pluginId':_0x5ec007};this['Ke']['set'](t['name'],_0x5764a0);}['unregister'](_0x4505b5){this['Ke']['delete'](_0x4505b5);}['unregisterByPlugin'](_0x3f8403){for(let [t,_0x5f1e95]of this['Ke'])_0x5f1e95['pluginId']===_0x3f8403&&this['Ke']['delete'](t);}['get'](_0x23079b){return this['Ke']['get'](_0x23079b);}['getAll'](){return new Map(this['Ke']);}},_0x4d0fb0=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new _0x687feb();}['xt'](_0xe37202,t){return{...t,'pluginId':_0xe37202};}['addSource'](_0x699ebe,t){let _0x4b2993=this['Me']['find'](_0x209300=>_0x209300['id']===t['id']);_0x4b2993?console['warn']('[Plugin\x20\x22'+_0x699ebe+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x4b2993['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x699ebe,t));}['addActivity'](_0x518898,t){let _0x649219=this['de']['find'](_0x849fa2=>_0x849fa2['id']===t['id']);_0x649219?console['warn']('[Plugin\x20\x22'+_0x518898+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x649219['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x518898,t));}['addFileAction'](_0x3080bb,t){this['zi']['push'](this['xt'](_0x3080bb,t));}['addFileHook'](_0x1bc0dd,t){this['Hi']['push'](this['xt'](_0x1bc0dd,{'timeout':0x7530,...t}));}['addIcon'](_0x44ef27,t){this['Ki']['push'](this['xt'](_0x44ef27,t));}['addL10n'](_0xab2db9,t){this['Et']['push'](this['xt'](_0xab2db9,t));}['addConfig'](_0x50f8fe,t){this['config']['register'](_0x50f8fe,t);}['purge'](_0x3dd750){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x3dd750),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x3dd750),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x3dd750),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x3dd750),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x3dd750),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x3dd750),this['config']['unregisterByPlugin'](_0x3dd750);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},_0x154317=class extends _0x49e635{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new _0x4d0fb0(),this['pn']=new _0x3cfe49(this['e'],_0x369fbd=>{this['lo']=this['lo']['then'](()=>_0x369fbd)['then'](_0x3e6fdb=>{if(_0x3e6fdb)return this['Hc'](_0x3e6fdb);});});}get['configRegistry'](){return this['registry']['config'];}['pluginsReady'](){return this['lo'];}['onPluginsChange'](t){return this['c']['add'](t),()=>{this['c']['delete'](t);};}async['Hc'](t){let _0x180bb3=new Set(this['je']['keys']()),_0x5eb1e8=new Set();for(let _0xdede86 of t)if(_0xdede86['id']){if(_0x5eb1e8['has'](_0xdede86['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0xdede86['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x5eb1e8['add'](_0xdede86['id']),!this['je']['has'](_0xdede86['id']))try{await this['Kc'](_0xdede86);}catch(_0x51550f){this['registry']['purge'](_0xdede86['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0xdede86['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x51550f);}_0x180bb3['delete'](_0xdede86['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x2feb15 of _0x180bb3)this['uo'](_0x2feb15);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x3b9c5e,_0x2201e9=[],_0x2c5365=function(_0x25d9cf,_0x5a4f0b,t,_0x37996f,_0x46ab6b){return{'registry':{'registerSource':_0x4a163b=>_0x25d9cf['addSource'](_0x37996f,_0x4a163b),'registerActivity':_0x67fbc6=>_0x25d9cf['addActivity'](_0x37996f,_0x67fbc6),'registerFileAction':_0x5f1944=>_0x25d9cf['addFileAction'](_0x37996f,_0x5f1944),'registerFileHook':_0x48324a=>_0x25d9cf['addFileHook'](_0x37996f,_0x48324a),'registerIcon':_0x49117b=>_0x25d9cf['addIcon'](_0x37996f,_0x49117b),'registerL10n':_0x109d6b=>_0x25d9cf['addL10n'](_0x37996f,_0x109d6b),'registerConfig':_0x413bd0=>{_0x25d9cf['addConfig'](_0x37996f,_0x413bd0);let _0x3a6180=_0x478f31(_0x413bd0['name']);_0x5a4f0b['has'](_0x3a6180)||_0x5a4f0b['add'](_0x3a6180,_0x413bd0['defaultValue']);}},'config':{'get':_0xd4d40=>{let _0x1870a7=_0x478f31(_0xd4d40);return _0x5a4f0b['read'](_0x1870a7);},'subscribe':(_0x5ac1df,_0x3d4e60)=>{let _0x3f83fb=_0x478f31(_0x5ac1df),_0x2a3a60=_0x5a4f0b['sub'](_0x3f83fb,_0xd8f3d4=>{_0x3d4e60(_0xd8f3d4);});return _0x46ab6b['push'](_0x2a3a60),_0x2a3a60;}},'activity':{'getParams':()=>_0x5a4f0b['read']('*currentActivityParams'),'subscribeToParams':_0x46600d=>{let _0x7f69ce=_0x5a4f0b['sub']('*currentActivityParams',_0x33b24f=>{_0x46600d(_0x33b24f);});return _0x46ab6b['push'](_0x7f69ce),_0x7f69ce;}},'files':{'update':(_0xf0d07e,_0x53ec68)=>{let _0xb4f119=t['uploadCollection']?.['read'](_0xf0d07e);_0xb4f119&&(void 0x0!==_0x53ec68['file']&&(_0xb4f119['setValue']('file',_0x53ec68['file']),_0xb4f119['setValue']('fileSize',_0x53ec68['file']['size'])),void 0x0!==_0x53ec68['cdnUrl']&&_0xb4f119['setValue']('cdnUrl',_0x53ec68['cdnUrl']),void 0x0!==_0x53ec68['cdnUrlModifiers']&&_0xb4f119['setValue']('cdnUrlModifiers',_0x53ec68['cdnUrlModifiers']),void 0x0!==_0x53ec68['mimeType']&&_0xb4f119['setValue']('mimeType',_0x53ec68['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x2201e9),_0x5b7e30=this['i']['api'];try{_0x3b9c5e=await t['setup']({'pluginApi':_0x2c5365,'uploaderApi':_0x5b7e30})??void 0x0;}catch(_0xa00c3d){for(let _0xf6e47a of _0x2201e9)try{_0xf6e47a();}catch(_0x36730a){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x36730a);}throw _0xa00c3d;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x3b9c5e,'configSubscriptions':_0x2201e9}),this['co']();}['uo'](t){let _0x5ccfe9=this['je']['get'](t);if(_0x5ccfe9){this['registry']['purge'](t);for(let _0x234a45 of _0x5ccfe9['configSubscriptions'])try{_0x234a45();}catch(_0x260968){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x260968);}_0x5ccfe9['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0xe41d76=t['getValue']('file');if(!_0xe41d76)return;let _0x54c1af=this['registry']['snapshot']()['fileHooks']['filter'](_0x384235=>'onAdd'===_0x384235['type']);if(0x0===_0x54c1af['length'])return;let _0x12b8b9=_0xe41d76,_0x52708c=new AbortController();for(let _0x4ededc of _0x54c1af){if(_0x52708c['signal']['aborted'])break;try{let _0x283f39=_0x4ededc['handler']({'file':_0x12b8b9,'signal':_0x52708c['signal']}),_0x5e4259=new Promise((_0x4e177a,_0x137c71)=>setTimeout(()=>_0x137c71(new Error('onAdd\x20hook\x20timed\x20out')),_0x4ededc['timeout']));({file:_0x12b8b9}=await Promise['race']([_0x283f39,_0x5e4259]));}catch(_0x52a8b9){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x4ededc['pluginId']+'\x22\x20failed',_0x52a8b9);}}_0x12b8b9!==_0xe41d76&&(t['setValue']('file',_0x12b8b9),t['setValue']('fileSize',_0x12b8b9['size']),t['setValue']('mimeType',_0x12b8b9['type']||null),t['setValue']('isImage',_0x4957e2(_0x12b8b9)),_0x12b8b9 instanceof File&&t['setValue']('fileName',_0x12b8b9['name']));}['destroy'](){for(let t of Array['from'](this['je']['keys']()))this['uo'](t);this['pn']['destroy'](),super['destroy']();}['co'](){for(let t of this['c'])try{t();}catch{}}};function _0x1c775d(_0x15b15c){return Array['isArray'](_0x15b15c)?_0x15b15c['map'](_0x3bca36=>'object'==typeof _0x3bca36&&null!==_0x3bca36?_0x1c775d(_0x3bca36):_0x3bca36):'object'!=typeof _0x15b15c||null===_0x15b15c?_0x15b15c:Object['fromEntries'](Object['entries'](_0x15b15c)['map'](([_0x3872df,t])=>{let _0x3692e2=function(_0x29e14e){return _0x29e14e['replace'](/[A-Z]/g,_0x3e4214=>'_'+_0x3e4214['toLowerCase']())['replace'](/__/g,'_');}(_0x3872df);return'object'==typeof t&&null!==t?[_0x3692e2,_0x1c775d(t)]:[_0x3692e2,t];}));}function _0x3dcd47(_0x5489bd){return{'ok':!0x1,'error':_0x5489bd};}var _0x9e5722=class{constructor(_0x28fbcd='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x28fbcd;}async['base'](_0x24795d,t={}){let _0x1f2955=''+this['baseUrl']+_0x24795d;try{let _0x28d5dc=await fetch(_0x1f2955,t);if(!_0x28d5dc['ok'])return _0x3dcd47(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x1f2955+'\x22.\x20Status:\x20'+_0x28d5dc['status']['toString']()));try{return function(_0x4078aa){return{'ok':!0x0,'value':_0x4078aa};}(await _0x28d5dc['json']());}catch(_0x531c27){return _0x3dcd47(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x1f2955+'\x22.\x20Error:\x20'+_0x531c27));}}catch(_0x529a40){return _0x3dcd47(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x1f2955+'\x22.\x20Error:\x20'+_0x529a40));}}async['post'](_0x88ee75,t,_0x8fa86b={}){return await this['base'](_0x88ee75,{..._0x8fa86b,'method':'POST','body':JSON['stringify'](_0x1c775d(t)),'headers':{'Content-Type':'application/json',..._0x8fa86b['headers']||{}}});}async['get'](_0x53a577,t={}){return await this['base'](_0x53a577,{'method':'GET',...t});}},_0x3259b5=class extends _0x9e5722{constructor(){super();}async['sendEvent'](_0x510717,t){let _0x2a3148=await(async _0x335e22=>(async(_0x3cb8eb,_0x5c02d0)=>({'success':!0x0,'data':_0x5c02d0}))(0x0,_0x335e22))(_0x510717);if(!_0x2a3148['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x2a3148['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x510717,t);}},_0x244227=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x5440a1=Object['freeze']({'FILE_ADDED':'file-added','FILE_REMOVED':'file-removed','FILE_UPLOAD_START':'file-upload-start','FILE_UPLOAD_PROGRESS':'file-upload-progress','FILE_UPLOAD_SUCCESS':'file-upload-success','FILE_UPLOAD_FAILED':'file-upload-failed','FILE_URL_CHANGED':'file-url-changed','MODAL_OPEN':'modal-open','MODAL_CLOSE':'modal-close','DONE_CLICK':'done-click','UPLOAD_CLICK':'upload-click','ACTIVITY_CHANGE':'activity-change','COMMON_UPLOAD_START':'common-upload-start','COMMON_UPLOAD_PROGRESS':'common-upload-progress','COMMON_UPLOAD_SUCCESS':'common-upload-success','COMMON_UPLOAD_FAILED':'common-upload-failed','CHANGE':'change','GROUP_CREATED':'group-created'}),_0x10b67d=class extends _0x49e635{constructor(){super(...arguments),this['Qt']=new Map(),this['ji']=new Set(),this['te']=new Map();}['bindTarget'](t){return this['ji']['add'](t),()=>{this['ji']['delete'](t);};}['on'](t,_0x27c832){let _0x54e674=this['te']['get'](t);return _0x54e674||(_0x54e674=new Set(),this['te']['set'](t,_0x54e674)),_0x54e674['add'](_0x27c832),()=>this['te']['get'](t)?.['delete'](_0x27c832);}['hn'](t,_0xfa99d5){for(let _0x3ae53d of this['ji'])_0x3ae53d['dispatchEvent'](new CustomEvent(t,{'detail':_0xfa99d5}));let _0x2a4630=this['te']['get'](t);if(_0x2a4630){for(let _0x5b4b10 of _0x2a4630)_0x5b4b10(_0xfa99d5);}this['w']?.(()=>{let _0x2fb3da=_0xfa99d5&&'object'==typeof _0xfa99d5?{..._0xfa99d5}:_0xfa99d5;return['event\x20\x22'+t+'\x22',_0x2fb3da];});}['emit'](t,_0x2a206b,_0x493057={}){let {debounce:_0x9a14b9}=_0x493057;if('number'!=typeof _0x9a14b9&&!_0x9a14b9)return void this['hn'](t,'function'==typeof _0x2a206b?_0x2a206b():_0x2a206b);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x45c1bc='number'==typeof _0x9a14b9?_0x9a14b9:0x14,_0xcffc89=window['setTimeout'](()=>{try{let _0x261a5c='function'==typeof _0x2a206b?_0x2a206b():_0x2a206b;this['hn'](t,_0x261a5c),this['Qt']['delete'](t);}catch(_0x24912e){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x24912e);}},_0x45c1bc);this['Qt']['set'](t,_0xcffc89);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},_0x48ab7c='blocks',_0x213754='1.29.0',tD=class extends _0x49e635{constructor(t){super(t),this['jc']=_0x390713['generateRandomUUID'](),this['Ct']=structuredClone(_0x2150b6),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new _0x3259b5(),this['St']=new _0x57c50e(0xa),this['addSub'](this['e']['sub'](_0x478f31('qualityInsights'),_0x12523d=>{this['Oe']=!!_0x12523d;}));for(let _0x13a50b of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](_0x478f31(_0x13a50b),_0x1491ba=>{this['Oe']&&(this['po']&&this['Ct'][_0x13a50b]!==_0x1491ba&&this['sendEvent']({'eventType':_0x244227['CHANGE_CONFIG']}),this['Gc'](_0x13a50b,_0x1491ba));}));}['qc'](t){t===_0x244227['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x44f9d4){this['Ct'][t]!==_0x44f9d4&&(this['Ct'][t]=_0x44f9d4);}['Wc'](t){let _0x3fafc6=t['payload']?{...t['payload']}:{};_0x3fafc6['activity']&&(_0x3fafc6['activity']=void 0x0);let _0x505f95={...t};return(t['eventType']===_0x244227['INIT_SOLUTION']||t['eventType']===_0x244227['CHANGE_CONFIG'])&&(_0x505f95['config']=this['Ct']),{..._0x505f95,'appVersion':_0x213754,'appName':_0x48ab7c,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x505f95['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x3fafc6}};}['Jc'](t){return!(!t||![_0x5440a1['CHANGE'],_0x5440a1['COMMON_UPLOAD_PROGRESS'],_0x5440a1['FILE_ADDED'],_0x5440a1['FILE_REMOVED'],_0x5440a1['FILE_UPLOAD_START'],_0x5440a1['FILE_UPLOAD_PROGRESS'],_0x5440a1['FILE_UPLOAD_SUCCESS'],_0x5440a1['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x155c62=this['Wc']({'eventType':t['eventType'],'payload':t['payload'],'config':t['config']});this['qc'](t['eventType']),!(this['Jc'](t['eventType'])||this['ho']&&this['gn'](this['ho'],_0x155c62))&&this['St']['add'](async()=>{this['ho']=_0x155c62,await this['mn']['sendEvent'](_0x155c62);});}['sendEventError'](t,_0xcb4b17='unknown'){this['sendEvent']({'eventType':_0x244227['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0xcb4b17,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x3deacd,_0x5dac47={}){this['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x3deacd,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x5dac47}}});}['gn'](t,_0x5b9023){if(JSON['stringify'](t)===JSON['stringify'](_0x5b9023))return!0x0;if('object'!=typeof t||'object'!=typeof _0x5b9023||null==t||null==_0x5b9023)return!0x1;let _0x55a513=Object['keys'](t),_0x2be045=Object['keys'](_0x5b9023);if(_0x55a513['length']!==_0x2be045['length'])return!0x1;for(let _0x519401 of _0x55a513)if(!Object['hasOwn'](_0x5b9023,_0x519401)||!this['gn'](t[_0x519401],_0x5b9023[_0x519401]))return!0x1;return!0x0;}get['Xc'](){return Date['now']();}get['Zc'](){if(!this['e']['has']('*solution'))return null;let t=this['e']['read']('*solution');return t?t['toLowerCase']():null;}get['Yc'](){return this['e']['has']('*currentActivity')?this['e']['read']('*currentActivity'):null;}get['Qc'](){return location['origin'];}},_0x51397b=_0x42bed1=>_0x42bed1,_0x5b350f='plural:';function _0xbe9c14(_0x560128,_0x3fda6c={},t={}){let {openToken:_0x510efe='{{',closeToken:_0x40f9ea='}}',transform:_0x1d19a2=_0x51397b}=t;for(let _0x10f875 in _0x3fda6c){let _0x47ea02=_0x3fda6c[_0x10f875],_0x55025a=_0x47ea02?.['toString'](),_0x35a7e4='string'==typeof _0x55025a?_0x1d19a2(_0x55025a):String(_0x55025a);_0x560128=_0x560128['replaceAll'](_0x510efe+_0x10f875+_0x40f9ea,_0x35a7e4);}return _0x560128;}var _0x1ad910='--uploadcare-blocks-window-height',_0x2eaa80=class _0xcce489{static{this['clientsRegistry']=new Set();}static{this['flush']=_0x1503b7(()=>{document['documentElement']['style']['setProperty'](_0x1ad910,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x546d44){0x0===_0xcce489['clientsRegistry']['size']&&_0xcce489['attachTracker'](),_0xcce489['clientsRegistry']['add'](_0x546d44);}static['unregisterClient'](_0x4f9814){_0xcce489['clientsRegistry']['delete'](_0x4f9814),0x0===_0xcce489['clientsRegistry']['size']&&_0xcce489['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0xcce489['flush'],{'passive':!0x0,'capture':!0x0}),_0xcce489['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0xcce489['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x1ad910);}},_0xd9136a=(_0x5b85c1,_0x4a6bb7)=>new Intl['PluralRules'](_0x5b85c1)['select'](_0x4a6bb7),_0x40e7fa=_0xb388f=>{let _0x1d56eb=(_0x2090b3=>(_0xe12d65,t)=>{let _0x264fab=_0x2090b3(),_0x578d0e=_0x264fab('locale-id')||'en';return _0x264fab(_0xe12d65+'__'+_0xd9136a(_0x578d0e,t));})(()=>t),t=(_0x4765c7,_0x3c1190={})=>{if(!_0x4765c7)return'';let _0x28d06=_0xb388f()['read'](_0x52a7fe(_0x4765c7))||_0x4765c7,_0x2d2b7d=function(_0x3709a6){let _0x19a215=[],t=_0x3709a6['indexOf']('{{');for(;-0x1!==t;){let _0x523a1c=_0x3709a6['indexOf']('}}',t);if(-0x1===_0x523a1c)break;let _0x132a51=_0x3709a6['substring'](t+0x2,_0x523a1c);if(_0x132a51['startsWith'](_0x5b350f)){let _0x3f7590=_0x3709a6['substring'](t+0x2,_0x523a1c)['replace'](_0x5b350f,''),_0x25cccd=_0x3f7590['substring'](0x0,_0x3f7590['indexOf']('(')),_0x4bb80c=_0x3f7590['substring'](_0x3f7590['indexOf']('(')+0x1,_0x3f7590['indexOf'](')'));_0x19a215['push']({'variable':_0x132a51,'pluralKey':_0x25cccd,'countVariable':_0x4bb80c});}t=_0x3709a6['indexOf']('{{',_0x523a1c);}return _0x19a215;}(_0x28d06);for(let _0x2223ae of _0x2d2b7d)_0x3c1190[_0x2223ae['variable']]=_0x1d56eb(_0x2223ae['pluralKey'],Number(_0x3c1190[_0x2223ae['countVariable']]));return _0xbe9c14(_0x28d06,_0x3c1190);};return t;},_0x4d091c=class{constructor(_0x3d6e85){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x3d6e85,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](_0x478f31('testMode'))){let _0x284b1e=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x284b1e;}this['eu'](),this['yn']();}['eu'](){let _0x23dc42=this['qe'],t=_0x23dc42['renderRoot']??_0x23dc42;if(!t)return;let _0x154ed0=this['qe'],_0x4ef523=_0x154ed0['tagName']?.['toLowerCase'](),_0x38c2f6=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x209f8e=>!(_0x4d7915=>_0x4d7915['tagName']?.['includes']('-')??!0x1)(_0x209f8e));for(let _0x1ae51c of _0x38c2f6)if(!(_0x4ef523&&_0x1ae51c['closest'](_0x4ef523)!==_0x154ed0||this['Ge']['has'](_0x1ae51c))){let _0x46064d=_0x1ae51c['getAttribute']('data-testid');if(!_0x46064d)continue;this['Ge']['add'](_0x1ae51c),this['Gi']['set'](_0x1ae51c,_0x46064d);}for(let _0xf58a56 of Array['from'](this['Ge']))(!_0xf58a56['isConnected']||_0x4ef523&&_0xf58a56['closest'](_0x4ef523)!==_0x154ed0)&&(this['Ge']['delete'](_0xf58a56),this['Gi']['delete'](_0xf58a56));}['yn'](){if(!this['Ge']['size'])return;let _0xb683a4=this['qe']['testId']||'';for(let t of this['Ge']){let _0xb008d3=this['Gi']['get'](t);_0xb008d3&&(this['vn']?t['setAttribute']('data-testid',_0xb683a4+'--'+_0xb008d3):t['removeAttribute']('data-testid'));}}},_0x292158=_0x59b154(_0x103f7a()(_0x41eb5f(_0x130d1b(_0x231da1)))),_0x35b574=class extends _0x292158{constructor(){super(),this['init$']={},this['l10n']=_0x40e7fa(()=>this['sharedCtx']),this['debugPrint']=tL(()=>this['sharedCtx'],this['constructor']['name']),this['i']=_0x4d925e(()=>this['sharedCtx']),new _0x4d091c(this);}static{this['styleAttrs']=[];}['emit'](t,_0x5e7878,_0x3ac534){let _0x3d5357=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x3d5357)return;_0x3d5357['emit'](t,_0x5e7878,_0x3ac534);let _0x5b60ed='function'==typeof _0x5e7878?_0x5e7878():_0x5e7878;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x5b60ed??void 0x0});}['hasBlockInCtx'](t){for(let _0x487ea5 of this['blocksRegistry'])if(t(_0x487ea5))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x17ef98=>{this['setAttribute'](_0x17ef98,'');}),super['connectedCallback'](),_0x2eaa80['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new _0x154317(t)),this['Z']('*eventEmitter',t=>new _0x10b67d(t)),this['Z']('*localeManager',t=>new _0x523bc7(t)),this['Z']('*modalManager',t=>new _0x2347ee(t)),this['Z']('*a11y',()=>new _0x5defce()),this['Z']('*clipboard',t=>new _0x133b34(t)),this['Z']('*telemetryManager',t=>new tD(t)),this['sub'](_0x52a7fe('locale-id'),t=>{let _0x561e02=(_0x2d0b77=>{let _0x49660a=new Intl['Locale'](_0x2d0b77),t='ltr',_0x1132f2=_0x49660a['getTextInfo']?.()['direction'];return _0x1132f2?t=_0x1132f2:_0x49660a['textInfo']?.['direction']&&(t=_0x49660a['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0x561e02?'':_0x561e02,this['requestUpdate']();}),this['subConfigValue']('testMode',t=>{t&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}),this['blocksRegistry']['add'](this);}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['ie']('*modalManager',!0x1);}get['telemetryManager'](){return this['ie']('*telemetryManager');}get['localeManager'](){return this['ie']('*localeManager');}get['a11y'](){return this['ie']('*a11y');}get['clipboardLayer'](){return this['ie']('*clipboard');}get['blocksRegistry'](){return this['ie']('*blocksRegistry');}get['eventEmitter'](){return this['ie']('*eventEmitter');}['disconnectedCallback'](){super['disconnectedCallback'](),_0x2eaa80['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),_0x32dac1['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x42bc63=new Map();this['add'](t,_0x42bc63,!0x0);}return this['$'][t];}['Z'](t,_0x3c0678){let _0x1439a6=this['bn']();if(!(_0x1439a6['has'](t)||this['has'](t)&&this['$'][t])){let _0xc83483=_0x3c0678(this['i']);return this['add'](t,_0xc83483,!0x0),void _0x1439a6['set'](t,_0xc83483);}}['tu'](){let t=this['bn']();for(let [_0x1a805a,_0x23085a]of t['entries']())_0x23085a?.['destroy']?.(),this['pub'](_0x1a805a,null);t['clear']();}['ie'](t,_0x6250d4=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x6250d4)return this['$'][t];throw new Error('Unexpected\x20error:\x20context\x20manager\x20for\x20key\x20\x22'+String(t)+'\x22\x20is\x20not\x20available');}async['proxyUrl'](t){if(this['cfg']['secureDeliveryProxy']&&this['cfg']['secureDeliveryProxyUrlResolver']&&console['warn']('Both\x20secureDeliveryProxy\x20and\x20secureDeliveryProxyUrlResolver\x20are\x20set.\x20The\x20secureDeliveryProxyUrlResolver\x20will\x20be\x20used.'),this['cfg']['secureDeliveryProxyUrlResolver'])try{return await this['cfg']['secureDeliveryProxyUrlResolver'](t,{'uuid':_0x2f58d1(t),'cdnUrlModifiers':_0x108e12(t),'fileName':_0x48a46b(t)});}catch(_0x435493){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x435493),this['telemetryManager']['sendEventError'](_0x435493,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?_0xbe9c14(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x5d02da=>window['encodeURIComponent'](_0x5d02da)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x40d9c9,_0x29ab0c,_0x5a2435)=>{if('string'!=typeof _0x29ab0c||!(_0x29ab0c in _0x2150b6))return!0x1;let _0x25fe1c=_0x29ab0c,_0x5392c7=_0x478f31(_0x25fe1c);return this['has'](_0x5392c7)||this['add'](_0x5392c7,_0x2150b6[_0x25fe1c]),this['$'][_0x5392c7]=_0x5a2435,!0x0;},'get':(_0x3d5ded,_0x1ec40f)=>{let _0x26cef3=_0x478f31(_0x1ec40f);return this['has'](_0x26cef3)||this['add'](_0x26cef3,_0x2150b6[_0x1ec40f]),this['$'][_0x26cef3];}});}return this['Be'];}['subConfigValue'](t,_0x4df9ba){let _0x5a5782=_0x478f31(t);return this['has'](_0x5a5782)||this['add'](_0x5a5782,_0x2150b6[t]),this['sub'](_0x5a5782,_0x4df9ba);}},_0x3e51a0=0x1,_0x5f457c=0x2,_0x16cc07=_0x226e51=>(..._0x569986)=>({'qr':_0x226e51,'values':_0x569986}),_0xdb4d60=class{constructor(_0x446aa5){}get['W'](){return this['f']['W'];}['Wr'](_0xf42afe,t,_0x3f7e37){this['Wi']=_0xf42afe,this['f']=t,this['iu']=_0x3f7e37;}['Lc'](_0x33f0d2,t){return this['update'](_0x33f0d2,t);}['update'](_0x1ad346,t){return this['render'](...t);}},_0x55506b=class extends _0xdb4d60{constructor(_0x53f65a){if(super(_0x53f65a),this['it']=_0x194372,_0x53f65a['type']!==_0x5f457c)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x31d60c){if(_0x31d60c===_0x194372||null==_0x31d60c)return this['wn']=void 0x0,this['it']=_0x31d60c;if(_0x31d60c===_0x3b4472)return _0x31d60c;if('string'!=typeof _0x31d60c)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x31d60c===this['it'])return this['wn'];this['it']=_0x31d60c;let t=[_0x31d60c];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};_0x55506b['directiveName']='unsafeHTML',_0x55506b['resultType']=0x1;var _0x214642=class extends _0x55506b{};_0x214642['directiveName']='unsafeSVG',_0x214642['resultType']=0x2;var _0x25d142=_0x16cc07(_0x214642),_0x202320=class extends _0x35b574{constructor(){super(...arguments),this['init$']=(_0xc9ebbf=>({..._0x3b6acd(_0xc9ebbf),'*solution':null,'*lazyPlugins':null}))(this);}static{this['styleAttrs']=['uc-wgt-common'];}static{this['lazyPlugins']=null;}['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this),this['clipboardLayer']?.['registerBlock'](this),this['sharedCtx']['pub']('*solution',this['tagName']);let t=this['constructor']['lazyPlugins'];t&&this['sharedCtx']['pub']('*lazyPlugins',t);}['render'](){return _0x5363a9`${_0x25d142('<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-about\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.152\x2014.12v.1h1.523v-.1c.007-.409.053-.752.138-1.028.086-.277.22-.517.405-.72.188-.202.434-.397.735-.586.32-.191.593-.412.82-.66.232-.249.41-.531.533-.847.125-.32.187-.678.187-1.076\x200-.579-.137-1.085-.41-1.518a2.717\x202.717\x200\x200\x200-1.14-1.018c-.49-.245-1.062-.367-1.715-.367-.597\x200-1.142.114-1.636.34-.49.228-.884.564-1.182\x201.008-.299.44-.46.98-.485\x201.619h1.62c.024-.377.118-.684.282-.922a1.48\x201.48\x200\x200\x201\x20.617-.532c.25-.114.51-.17.784-.17.301\x200\x20.575.063.82.191.248.124.447.302.597.533.149.23.223.504.223.82\x200\x20.263-.05.502-.149.72a1.91\x201.91\x200\x200\x201-.405.574\x203.48\x203.48\x200\x200\x201-.575.453\x204.22\x204.22\x200\x200\x200-.847.66c-.234.242-.415.558-.543.949-.125.39-.19.916-.197\x201.577Zm.053\x203.03c.21.206.46.31.75.31.196\x200\x20.374-.049.534-.144a1.1\x201.1\x200\x200\x200\x20.383-.384c.1-.163.15-.343.15-.538a1\x201\x200\x200\x200-.32-.746\x201.019\x201.019\x200\x200\x200-.746-.314c-.291\x200-.542.105-.751.314-.21.206-.314.455-.314.746\x200\x20.295.104.547.314.756ZM24\x2012c0\x206.627-5.373\x2012-12\x2012S0\x2018.627\x200\x2012\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012Zm-1.5\x200c0\x205.799-4.701\x2010.5-10.5\x2010.5S1.5\x2017.799\x201.5\x2012\x206.201\x201.5\x2012\x201.5\x2022.5\x206.201\x2022.5\x2012Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-add\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.75\x2021a.75.75\x200\x200\x201-1.5\x200v-8.25H3a.75.75\x200\x200\x201\x200-1.5h8.25V3a.75.75\x200\x200\x201\x201.5\x200v8.25H21a.75.75\x200\x200\x201\x200\x201.5h-8.25V21Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-arrow-down\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.5\x2023.03a.75.75\x200\x200\x200\x20.999\x200l9.29-8.276a.75.75\x200\x200\x200-.998-1.12l-8.042\x207.164V1.53a.75.75\x200\x200\x200-1.5\x200v19.267l-8.04-7.163a.75.75\x200\x200\x200-.998\x201.12z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27M7.395\x2022.5H2.454v-5.25m14.824\x205.25h4.94v-5.25m0-10.5V1.5h-4.94m-9.883\x200H2.454v5.25\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-back\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M20.251\x2012a.75.75\x200\x200\x201-.75.75H6.067l5.72\x205.85a.75.75\x200\x201\x201-1.072\x201.05L4.136\x2012.92a1.292\x201.292\x200\x200\x201\x200-1.842l6.579-6.728a.75.75\x200\x201\x201\x201.072\x201.048l-5.72\x205.851H19.5a.75.75\x200\x200\x201\x20.75.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.6\x2018.4a1.6\x201.6\x200\x201\x201-3.2\x200\x201.6\x201.6\x200\x200\x201\x203.2\x200zM12\x204.5A1.5\x201.5\x200\x200\x201\x2013.5\x206v7a1.5\x201.5\x200\x200\x201-3\x200V6A1.5\x201.5\x200\x200\x201\x2012\x204.5z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-success\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m10.5\x2018.204\x207.6-8.183a1.5\x201.5\x200\x200\x200-2.2-2.042l-5.4\x205.817-2.4-2.586a1.5\x201.5\x200\x201\x200-2.2\x202.041l4.6\x204.953Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-box\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M1.01\x204.148a.75.75\x200\x200\x201\x20.75.75v4.348a4.437\x204.437\x200\x200\x201\x202.988-1.153c1.734\x200\x203.23.992\x203.978\x202.438a4.478\x204.478\x200\x200\x201\x203.978-2.438c2.49\x200\x204.488\x202.044\x204.488\x204.543\x200\x202.5-1.999\x204.544-4.488\x204.544a4.478\x204.478\x200\x200\x201-3.978-2.438\x204.478\x204.478\x200\x200\x201-3.978\x202.438C2.26\x2017.18.26\x2015.135.26\x2012.636V4.898a.75.75\x200\x200\x201\x20.75-.75Zm.75\x208.488c0\x201.692\x201.348\x203.044\x202.988\x203.044s2.989-1.352\x202.989-3.044c0-1.691-1.349-3.043-2.989-3.043S1.76\x2010.945\x201.76\x2012.636Zm10.944-3.043c-1.64\x200-2.988\x201.352-2.988\x203.043\x200\x201.692\x201.348\x203.044\x202.988\x203.044s2.988-1.352\x202.988-3.044c0-1.69-1.348-3.043-2.988-3.043Zm4.328-1.23a.75.75\x200\x200\x201\x201.052.128l2.333\x202.983\x202.333-2.983a.75.75\x200\x200\x201\x201.181.924l-2.562\x203.277\x202.562\x203.276a.75.75\x200\x201\x201-1.181.924l-2.333-2.983-2.333\x202.983a.75.75\x200\x201\x201-1.181-.924l2.562-3.276-2.562-3.277a.75.75\x200\x200\x201\x20.129-1.052Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M2\x204.667a2\x202\x200\x200\x200-2\x202V16a2\x202\x200\x200\x200\x202\x202h16a2\x202\x200\x200\x200\x202-2V6.667a2\x202\x200\x200\x200-2-2h-2.667l-2-2.667H6.667l-2\x202.667H2Zm8\x2010a3.667\x203.667\x200\x201\x200\x200-7.334\x203.667\x203.667\x200\x200\x200\x200\x207.334Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-close\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M4.604\x204.604a.75.75\x200\x200\x201\x201.06\x200L12\x2010.939l6.335-6.335a.75.75\x200\x201\x201\x201.061\x201.06L13.061\x2012l6.335\x206.335a.75.75\x200\x201\x201-1.06\x201.061L12\x2013.061l-6.335\x206.335a.75.75\x200\x200\x201-1.061-1.06L10.939\x2012\x204.604\x205.665a.75.75\x200\x200\x201\x200-1.061z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-collapse\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3.116\x2012a.75.75\x200\x200\x201\x20.75-.75h16.268a.75.75\x200\x200\x201\x200\x201.5H3.866a.75.75\x200\x200\x201-.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-default\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-dropbox\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.019\x201.92a.75.75\x200\x200\x201\x20.806\x200L12\x205.219l5.176-3.297a.75.75\x200\x200\x201\x20.806\x200l5.577\x203.553a.75.75\x200\x200\x201\x200\x201.265l-4.574\x202.914\x204.574\x202.914a.75.75\x200\x200\x201\x200\x201.265l-5.577\x203.554a.75.75\x200\x200\x201-.806\x200L12\x2014.089l-5.175\x203.297a.75.75\x200\x200\x201-.806\x200L.44\x2013.833a.75.75\x200\x200\x201\x200-1.266l4.575-2.914L.44\x206.74a.75.75\x200\x200\x201\x200-1.265zm.403\x208.616L2.24\x2013.2l4.182\x202.664\x204.181-2.664zm6.975\x202.664\x204.182\x202.664L21.76\x2013.2l-4.181-2.664zm2.776-3.547L12\x2012.311\x207.828\x209.653\x2012\x206.995zm1.406-.882\x204.181-2.664-4.181-2.664-4.182\x202.664zm-6.976-2.664L6.422\x203.443\x202.24\x206.107\x206.422\x208.77zM5.791\x2018.544a.75.75\x200\x200\x201\x201.035-.23l5.175\x203.297\x205.175-3.297a.75.75\x200\x201\x201\x20.806\x201.265l-5.578\x203.554a.75.75\x200\x200\x201-.806\x200L6.02\x2019.579a.75.75\x200\x200\x201-.23-1.035z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-evernote\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M9.804\x202.27v-.048c.055-.263.313-.562.85-.562h.44c.142\x200\x20.325.014.526.033.066.009.124.023.267.06l.13.032h.002c.319.079.515.275.644.482a1.461\x201.461\x200\x200\x201\x20.16.356l.004.012a.75.75\x200\x200\x200\x20.603.577l1.191.207a1988.512\x201988.512\x200\x200\x200\x202.332.402c.512.083\x201.1.178\x201.665.442.64.3\x201.19.795\x201.376\x201.77.548\x202.931.657\x205.829.621\x208a39.233\x2039.233\x200\x200\x201-.125\x202.602\x2017.518\x2017.518\x200\x200\x201-.092.849.735.735\x200\x200\x200-.024.112c-.378\x202.705-1.269\x203.796-2.04\x204.27-.746.457-1.53.451-2.217.447h-.192c-.46\x200-1.073-.23-1.581-.635-.518-.412-.763-.87-.763-1.217\x200-.45.188-.688.355-.786.161-.095.436-.137.796.087a.75.75\x200\x201\x200\x20.792-1.274c-.766-.476-1.64-.52-2.345-.108-.7.409-1.098\x201.188-1.098\x202.08\x200\x20.996.634\x201.84\x201.329\x202.392.704.56\x201.638.96\x202.515.96l.185.002c.667.009\x201.874.025\x203.007-.67\x201.283-.786\x202.314-2.358\x202.733-5.276a4.213\x204.213\x200\x200\x200\x20.056-.335c.023-.184.051-.445.079-.772.055-.655.111-1.585.13-2.704.037-2.234-.074-5.239-.647-8.301v-.002c-.294-1.544-1.233-2.391-2.215-2.85-.777-.363-1.623-.496-2.129-.576a8.872\x208.872\x200\x200\x201-.25-.041l-.006-.001-1.99-.345-.761-.132a2.93\x202.93\x200\x200\x200-.182-.338A2.532\x202.532\x200\x200\x200\x2012.379.329l-.091-.023a3.967\x203.967\x200\x200\x200-.493-.103L11.769.2a7.846\x207.846\x200\x200\x200-.675-.04h-.44c-.733\x200-1.368.284-1.795.742L2.416\x207.431c-.468.428-.751\x201.071-.751\x201.81\x200\x20.02\x200\x20.041.003.062l.003.034c.017.21.038.468.096.796.107.715.275\x201.47.391\x201.994.029.13.055.245.075.342l.002.008c.258\x201.141.641\x201.94.978\x202.466.168.263.323.456.444.589a2.808\x202.808\x200\x200\x200\x20.192.194c1.536\x201.562\x203.713\x202.196\x205.731\x202.08.13-.005.35-.032.537-.073a2.627\x202.627\x200\x200\x200\x20.652-.24c.425-.26.75-.661.992-1.046.184-.294.342-.61.473-.915a3.8\x203.8\x200\x200\x200\x20.627.493\x205.022\x205.022\x200\x200\x200\x201.97.709l.023.002.018.003.11.016c.088.014.205.035.325.058l.056.014c.088.022.164.04.235.061a1.736\x201.736\x200\x200\x201\x20.145.048l.03.014c.765.34\x201.302\x201.09\x201.302\x201.871a.75.75\x200\x200\x200\x201.5\x200c0-1.456-.964-2.69-2.18-3.235a3.595\x203.595\x200\x200\x200-.679-.217l-.063-.015a10.616\x2010.616\x200\x200\x200-.606-.105l-.02-.003-.03-.003h-.002a3.542\x203.542\x200\x200\x201-1.331-.485c-.471-.298-.788-.692-.828-1.234a.75.75\x200\x200\x200-1.48-.106l-.001.003-.004.017a8.23\x208.23\x200\x200\x201-.092.352\x209.963\x209.963\x200\x200\x201-.298.892c-.132.34-.29.68-.47.966-.174.276-.339.454-.478.549a1.178\x201.178\x200\x200\x201-.221.072\x201.949\x201.949\x200\x200\x201-.241.036h-.013l-.032.002c-1.684.1-3.423-.437-4.604-1.65a.746.746\x200\x200\x200-.053-.05L4.84\x2014.6a1.348\x201.348\x200\x200\x201-.07-.073\x202.99\x202.99\x200\x200\x201-.293-.392c-.242-.379-.558-1.014-.778-1.985a54.1\x2054.1\x200\x200\x200-.083-.376\x2027.494\x2027.494\x200\x200\x201-.367-1.872l-.003-.02a6.791\x206.791\x200\x200\x201-.08-.67c.004-.277.086-.475.2-.609l.067-.067a.63.63\x200\x200\x201\x20.292-.145h.05c.18\x200\x201.095.055\x202.013.115l1.207.08.534.037a.747.747\x200\x200\x200\x20.052.002c.782\x200\x201.349-.206\x201.759-.585l.005-.005c.553-.52.622-1.225.622-1.76V6.24l-.026-.565A774.97\x20774.97\x200\x200\x201\x209.885\x204.4c-.042-.961-.081-1.939-.081-2.13ZM4.995\x206.953a251.126\x20251.126\x200\x200\x201\x202.102.137l.508.035c.48-.004.646-.122.715-.185.07-.068.146-.209.147-.649l-.024-.548a791.69\x20791.69\x200\x200\x201-.095-2.187L4.995\x206.953Zm16.122\x209.996Zm-5.479-5.323a.75.75\x200\x200\x200\x201.014.31\x202.04\x202.04\x200\x200\x201\x20.304-.089\x201.84\x201.84\x200\x200\x201\x20.544-.039c.215.023.321.06.37.085.033.016.039.026.047.04a.75.75\x200\x200\x200\x201.289-.767c-.337-.567-.906-.783-1.552-.85a3.334\x203.334\x200\x200\x200-1.002.062c-.27.056-.531.14-.705.234a.75.75\x200\x200\x200-.31\x201.014Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-expand\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m12\x208.337-8.47\x208.47a.75.75\x200\x200\x201-1.06-1.06l8.605-8.606a1.29\x201.29\x200\x200\x201\x201.85\x200l8.605\x208.605a.75.75\x200\x201\x201-1.06\x201.06L12\x208.338Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-external-source-placeholder\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-facebook\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12\x201.5C6.201\x201.5\x201.5\x206.201\x201.5\x2012c0\x204.943\x203.416\x209.089\x208.016\x2010.204v-6.108H7.383a.75.75\x200\x200\x201-.75-.75v-3.281a.75.75\x200\x200\x201\x20.75-.75h2.133V9.393c0-.958.225-2.511\x201.38-3.65\x201.194-1.177\x203.174-1.718\x206.254-1.056a.75.75\x200\x200\x201\x20.592.733v2.754a.75.75\x200\x200\x201-.75.75c-.692\x200-1.203.026-1.584.082-.387.057-.578.137-.675.202-.109.073-.237.205-.237\x201.029v1.078h2.39a.75.75\x200\x200\x201\x20.742.866l-.516\x203.281a.75.75\x200\x200\x201-.74.634h-1.876v6.106C19.09\x2021.082\x2022.5\x2016.939\x2022.5\x2012c0-5.799-4.701-10.5-10.5-10.5zM0\x2012C0\x205.373\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012c0\x205.995-4.395\x2010.961-10.138\x2011.856a.75.75\x200\x200\x201-.866-.74v-7.77a.75.75\x200\x200\x201\x20.75-.75h1.984l.28-1.781h-2.264a.75.75\x200\x200\x201-.75-.75v-1.828c0-.829.089-1.729.9-2.274.363-.244.807-.37\x201.293-.441a9.623\x209.623\x200\x200\x201\x201.053-.086V6.04c-2.41-.405-3.645.132-4.293.771-.737.728-.933\x201.793-.933\x202.582v2.672a.75.75\x200\x200\x201-.75.75H8.133v1.78h2.133a.75.75\x200\x200\x201\x20.75.75v7.772a.75.75\x200\x200\x201-.865.741C4.4\x2022.968\x200\x2018\x200\x2012z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M2.895\x201.201c0-.473.383-.857.857-.857h8.4c.227\x200\x20.445.09.606.251l8.4\x208.4c.16.16.25.379.25.606v13.2a.857.857\x200\x200\x201-.856.857h-16.8a.857.857\x200\x200\x201-.857-.857zm1.714.857v19.886h15.085V10.458h-7.542a.857.857\x200\x200\x201-.858-.857V2.058zm8.4\x201.213\x205.473\x205.473H13.01z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-flickr\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M5.959\x207.926c-2.298\x200-4.14\x201.834-4.14\x204.073\x200\x202.241\x201.842\x204.075\x204.14\x204.075\x202.302\x200\x204.145-1.834\x204.145-4.075\x200-2.238-1.843-4.073-4.145-4.073Zm-5.64\x204.073c0-3.086\x202.533-5.573\x205.64-5.573\x203.11\x200\x205.645\x202.486\x205.645\x205.573\x200\x203.089-2.535\x205.575-5.645\x205.575-3.107\x200-5.64-2.487-5.64-5.575Zm18.07-4.073c-2.301\x200-4.144\x201.835-4.144\x204.073\x200\x202.24\x201.843\x204.075\x204.145\x204.075\x202.299\x200\x204.141-1.834\x204.141-4.075\x200-2.239-1.842-4.073-4.141-4.073Zm-5.644\x204.073c0-3.087\x202.535-5.573\x205.645-5.573\x203.108\x200\x205.641\x202.487\x205.641\x205.573\x200\x203.088-2.533\x205.575-5.641\x205.575-3.11\x200-5.645-2.486-5.645-5.575Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gphotos\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.51\x200c-.702\x200-1.272.57-1.272\x201.273V7.35A6.381\x206.381\x200\x200\x200\x200\x2011.489c0\x20.703.57\x201.273\x201.273\x201.273H7.35A6.381\x206.381\x200\x200\x200\x2011.488\x2024c.704\x200\x201.274-.57\x201.274-1.273V16.65A6.381\x206.381\x200\x200\x200\x2024\x2012.51c0-.703-.57-1.273-1.273-1.273H16.65A6.381\x206.381\x200\x200\x200\x2012.511\x200Zm.252\x2011.232V1.53a4.857\x204.857\x200\x200\x201\x200\x209.702Zm-1.53.006H1.53a4.857\x204.857\x200\x200\x201\x209.702\x200Zm1.536\x201.524a4.857\x204.857\x200\x200\x200\x209.702\x200h-9.702Zm-6.136\x204.857c0-2.598\x202.04-4.72\x204.606-4.85v9.7a4.857\x204.857\x200\x200\x201-4.606-4.85Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-huddle\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.204\x202.002c-.252.23-.357.486-.357.67V21.07c0\x20.15.084.505.313.812.208.28.499.477.929.477.519\x200\x20.796-.174.956-.365.178-.212.286-.535.286-.924v-.013l.117-6.58c.004-1.725\x201.419-3.883\x203.867-3.883\x201.33\x200\x202.332.581\x202.987\x201.364.637.762.95\x201.717.95\x202.526v6.47c0\x20.392.11.751.305.995.175.22.468.41\x201.008.41.52\x200\x20.816-.198\x201.002-.437.207-.266.31-.633.31-.969V14.04c0-2.81-1.943-5.108-4.136-5.422a5.971\x205.971\x200\x200\x200-3.183.41c-.912.393-1.538.96-1.81\x201.489a.75.75\x200\x200\x201-1.417-.344v-7.5c0-.587-.47-1.031-1.242-1.031-.315\x200-.638.136-.885.36ZM5.194.892A2.844\x202.844\x200\x200\x201\x207.09.142c1.328\x200\x202.742.867\x202.742\x202.53v5.607a6.358\x206.358\x200\x200\x201\x201.133-.629\x207.47\x207.47\x200\x200\x201\x203.989-.516c3.056.436\x205.425\x203.482\x205.425\x206.906v6.914c0\x20.602-.177\x201.313-.627\x201.89-.47.605-1.204\x201.016-2.186\x201.016-.96\x200-1.698-.37-2.179-.973-.46-.575-.633-1.294-.633-1.933v-6.469c0-.456-.19-1.071-.602-1.563-.394-.471-.986-.827-1.836-.827-1.447\x200-2.367\x201.304-2.367\x202.39v.014l-.117\x206.58c-.001.64-.177\x201.333-.637\x201.881-.48.57-1.2.9-2.105.9-.995\x200-1.7-.5-2.132-1.081-.41-.552-.61-1.217-.61-1.708V2.672c0-.707.366-1.341.847-1.78Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-info\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11\x209h2V7h-2m1\x2013c-4.41\x200-8-3.59-8-8s3.59-8\x208-8\x208\x203.59\x208\x208-3.59\x208-8\x208m0-18A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202m-1\x2015h2v-6h-2v6Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-local\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3\x203.75a1.5\x201.5\x200\x200\x200-1.5\x201.5v13.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V9A1.5\x201.5\x200\x200\x200\x2021\x207.5h-9a.75.75\x200\x200\x201-.643-.364L9.325\x203.75zm-3\x201.5a3\x203\x200\x200\x201\x203-3h6.75a.75.75\x200\x200\x201\x20.643.364L12.425\x206H21a3\x203\x200\x200\x201\x203\x203v9.75a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200v6.469a4.5\x204.5\x200\x201\x201-9\x200V4.781Zm4.5-3a3\x203\x200\x200\x200-3\x203v6.469a3\x203\x200\x201\x200\x206\x200V4.781a3\x203\x200\x200\x200-3-3Zm-8.156\x208.11a.75.75\x200\x200\x201\x20.75.75\x207.406\x207.406\x200\x201\x200\x2014.812\x200\x20.75.75\x200\x200\x201\x201.5\x200\x208.907\x208.907\x200\x200\x201-8.156\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.907\x208.907\x200\x200\x201-8.156-8.875.75.75\x200\x200\x201\x20.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone-mute\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200V6l3.524-3.524a.75.75\x200\x201\x201\x201.061\x201.06L5.036\x2019.585a.75.75\x200\x200\x201-1.06-1.06l1.656-1.657a8.88\x208.88\x200\x200\x201-2.538-6.227.75.75\x200\x200\x201\x201.5\x200c0\x202.009.8\x203.83\x202.1\x205.166l1.771-1.772A4.483\x204.483\x200\x200\x201\x207.5\x2011.25V4.781Zm2.037\x208.182L15\x207.5V4.781a3\x203\x200\x201\x200-6\x200v6.469c0\x20.637.198\x201.227.537\x201.713Zm10.62-3.072a.75.75\x200\x200\x201\x20.75.75\x208.907\x208.907\x200\x200\x201-8.157\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.855\x208.855\x200\x200\x201-3.035-.811.75.75\x200\x201\x201\x20.638-1.358\x207.406\x207.406\x200\x200\x200\x2010.553-6.707.75.75\x200\x200\x201\x20.75-.75ZM15\x2010.81a.75.75\x200\x200\x201\x201.5\x200v.439a4.5\x204.5\x200\x200\x201-5\x204.473.75.75\x200\x201\x201\x20.166-1.491A3\x203\x200\x200\x200\x2015\x2011.25v-.44Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-photo-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-ngdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-onedrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.616\x204.147a7.689\x207.689\x200\x200\x200-7.642\x203.285A6.299\x206.299\x200\x200\x200\x201.455\x2017.3c.684.894\x202.473\x202.658\x205.17\x202.658h12.141c.95\x200\x201.882-.256\x202.697-.743.815-.486\x201.514-1.247\x201.964-2.083a5.26\x205.26\x200\x200\x200-3.713-7.612\x207.69\x207.69\x200\x200\x200-6.098-5.373ZM3.34\x2017.15c.674.63\x201.761\x201.308\x203.284\x201.308h12.142a3.76\x203.76\x200\x200\x200\x202.915-1.383l-7.494-4.489L3.34\x2017.15Zm10.875-6.25\x202.47-1.038a5.239\x205.239\x200\x200\x201\x201.427-.389\x206.19\x206.19\x200\x200\x200-10.3-1.952\x206.338\x206.338\x200\x200\x201\x202.118.813l4.285\x202.567Zm4.55.033c-.512\x200-1.019.104-1.489.307l-.006.003-1.414.594\x206.521\x203.906a3.76\x203.76\x200\x200\x200-3.357-4.8l-.254-.01ZM4.097\x209.617A4.799\x204.799\x200\x200\x201\x206.558\x208.9c.9\x200\x201.84.25\x202.587.713l3.4\x202.037-10.17\x204.28a4.799\x204.799\x200\x200\x201\x201.721-6.312Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-pause\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20d=\x27M1\x200h2.5v10H1zM6.5\x200H9v10H6.5z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-play\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m1\x200\x209\x205-9\x205V0Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-remove-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.955\x203.3A2.969\x202.969\x200\x200\x200\x208.998\x206h5.914a2.97\x202.97\x200\x200\x200-2.957-2.7zM16.416\x206a4.47\x204.47\x200\x200\x200-8.922\x200h-2.32a.755.755\x200\x200\x200-.111.008H3.075a.75.75\x200\x201\x200\x200\x201.5h1.35V19.35a2.85\x202.85\x200\x200\x200\x202.85\x202.85h9.45a2.85\x202.85\x200\x200\x200\x202.85-2.85V7.508h1.35a.75.75\x200\x200\x200\x200-1.5h-1.989A.754.754\x200\x200\x200\x2018.825\x206zM5.925\x207.508V19.35a1.35\x201.35\x200\x200\x200\x201.35\x201.35h9.45a1.35\x201.35\x200\x200\x200\x201.35-1.35V7.508z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-select\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m7\x2010\x205\x205\x205-5H7Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-square\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><rect\x20width=\x2720\x27\x20height=\x2720\x27\x20rx=\x274\x27\x20fill=\x27#fff\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-url\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M19.11\x203.67c-1.71-1.709-4.578-1.682-6.408.148l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221C14.018.381\x2017.836.276\x2020.17\x202.61l1.22\x201.22c2.335\x202.334\x202.23\x206.153-.147\x208.529l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221c1.83-1.83\x201.856-4.698.147-6.408zm-3.36\x204.58a.75.75\x200\x200\x201\x200\x201.06l-6.439\x206.44a.75.75\x200\x200\x201-1.06-1.06l6.439-6.44a.75.75\x200\x200\x201\x201.06\x200zM6.04\x209.42a.75.75\x200\x200\x201\x200\x201.061l-2.222\x202.222c-1.83\x201.83-1.856\x204.698-.147\x206.407l1.22\x201.22c1.71\x201.71\x204.578\x201.683\x206.408-.147l2.221-2.221a.75.75\x200\x201\x201\x201.06\x201.06l-2.22\x202.222c-2.377\x202.376-6.195\x202.481-8.53.147l-1.22-1.22c-2.334-2.334-2.228-6.153.148-8.53l2.221-2.22a.75.75\x200\x200\x201\x201.06\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-video-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2\x203.333a2\x202\x200\x200\x200-2\x202v9.334a2\x202\x200\x200\x200\x202\x202h10.938a2\x202\x200\x200\x200\x202-2v-2.013L20\x2015.646V4.354l-5.063\x203.03v-2.05a2\x202\x200\x200\x200-2-2H2Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-vk\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol></svg>')}`;}},_0x225c21=_0x49e39b=>'number'!=typeof _0x49e39b?0x0:Math['floor'](_0x49e39b/0x3e8),_0x58d24d=class extends _0x49e635{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x38ee75,secureUploadsSignatureResolver:_0x21c16c,secureUploadsExpireThreshold:_0x1afbf1}=this['ze'];if((t||_0x38ee75)&&_0x21c16c&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x21c16c){if(!this['We']||((_0x32054f,{threshold:_0x27213d})=>{let {secureExpire:t}=_0x32054f,_0x446f29=_0x225c21(Date['now']()),_0x2d0328=Number(t);return _0x446f29+_0x225c21(_0x27213d)>=_0x2d0328;})(this['We'],{'threshold':_0x1afbf1})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x26ace=await _0x21c16c();_0x26ace?_0x26ace['secureSignature']&&_0x26ace['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x26ace),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x26ace['secureExpire']))['toISOString']()),this['We']=_0x26ace):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x26ace):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x8003bc){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x8003bc),this['i']['telemetryManager']['sendEventError'](_0x8003bc,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x38ee75?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x38ee75}),{'secureSignature':t,'secureExpire':_0x38ee75}):null;}['destroy'](){super['destroy'](),this['We']=null;}},_0x15d932=(_0x7fad4c,_0x1a24a6)=>{if(_0x7fad4c['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x1a24a6['l10n']('some-files-were-not-uploaded')};},_0xdea4f3=(_0x49d642,_0x392770)=>{let t=_0x49d642['totalCount'],_0x59124c=_0x392770['cfg']['multiple']?_0x392770['cfg']['multipleMin']:0x0,_0x409674=_0x392770['cfg']['multiple']?_0x392770['cfg']['multipleMax']:0x1;return _0x59124c&&t<_0x59124c?{'type':'TOO_FEW_FILES','message':_0x392770['l10n']('files-count-limit-error-too-few',{'min':_0x59124c,'max':_0x409674,'total':t}),'payload':{'total':t,'min':_0x59124c,'max':_0x409674}}:_0x409674&&t>_0x409674?{'type':'TOO_MANY_FILES','message':_0x392770['l10n']('files-count-limit-error-too-many',{'min':_0x59124c,'max':_0x409674,'total':t}),'payload':{'total':t,'min':_0x59124c,'max':_0x409674}}:void 0x0;},_0x12618f=(_0x3948b9,_0x714822)=>{let t=_0x714822['cfg']['imgOnly'],_0x53c9f9=_0x714822['cfg']['accept'],_0x3455f1=_0x4b9aae([...t?_0x4bcf6b:[],_0x53c9f9]);if(!_0x3455f1['length'])return;let _0x372352=_0x3948b9['mimeType'],_0x510024=_0x3948b9['name'];if(!_0x372352||!_0x510024)return;let _0x50ffcf=_0x40347e(_0x372352,_0x3455f1),_0x1e52b1=((_0x5bad38,_0x409bfe)=>_0x409bfe['some'](t=>!!t['startsWith']('.')&&_0x5bad38['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0x510024,_0x3455f1);return _0x50ffcf||_0x1e52b1?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x714822['l10n']('file-type-not-allowed'),'payload':{'entry':_0x3948b9}};},_0x2178c4=(_0x523362,_0x16ba63)=>{let t=_0x16ba63['cfg']['imgOnly'],_0xb29411=_0x523362['isImage'];if(t&&!_0xb29411&&(_0x523362['fileInfo']||!_0x523362['externalUrl'])&&(_0x523362['fileInfo']||_0x523362['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x16ba63['l10n']('images-only-accepted'),'payload':{'entry':_0x523362}};},_0x4544b4=0x3e8,_0x41e7b3=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x5d1cd9=_0x2b4fcd=>Math['ceil'](0x64*_0x2b4fcd)/0x64,_0x37479d=(_0x2d6415,_0x17a73a=_0x41e7b3['AUTO'])=>{let t=_0x17a73a===_0x41e7b3['AUTO'];if(_0x17a73a===_0x41e7b3['BYTE']||t&&_0x2d6415<0x3e8)return _0x2d6415+'\x20'+('one'===_0xd9136a('en-US',_0x2d6415)?'byte':'bytes');return _0x17a73a===_0x41e7b3['KB']||t&&_0x2d6415<_0x4544b4**0x2?_0x5d1cd9(_0x2d6415/0x3e8)+'\x20KB':_0x17a73a===_0x41e7b3['MB']||t&&_0x2d6415<_0x4544b4**0x3?_0x5d1cd9(_0x2d6415/_0x4544b4**0x2)+'\x20MB':_0x17a73a===_0x41e7b3['GB']||t&&_0x2d6415<_0x4544b4**0x4?_0x5d1cd9(_0x2d6415/_0x4544b4**0x3)+'\x20GB':_0x17a73a===_0x41e7b3['TB']||t&&_0x2d6415<_0x4544b4**0x5?_0x5d1cd9(_0x2d6415/_0x4544b4**0x4)+'\x20TB':_0x5d1cd9(_0x2d6415/_0x4544b4**0x5)+'\x20PB';},_0x86b4d3=(_0x31560b,_0x372b41)=>{let t=_0x372b41['cfg']['maxLocalFileSizeBytes'],_0x41fcf1=_0x31560b['size'];if(t&&_0x41fcf1&&_0x41fcf1>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x372b41['l10n']('files-max-size-limit-error',{'maxFileSize':_0x37479d(t)}),'payload':{'entry':_0x31560b}};},_0x5350e4=(_0x5780b3,_0x2540f8)=>{let {internalId:t}=_0x5780b3;if(!_0x2540f8['v']['hasItem'](t))return;let _0x4a0929=_0x2540f8['v']['read'](t)?.['getValue']('uploadError');if(!_0x4a0929)return;if(_0x4a0929 instanceof _0x58664a)return{'type':'UPLOAD_ERROR','message':_0x4a0929['message'],'payload':{'entry':_0x5780b3,'error':_0x4a0929}};if(_0x4a0929 instanceof _0x1bcff5)return{'type':'NETWORK_ERROR','message':_0x4a0929['message'],'payload':{'entry':_0x5780b3,'error':_0x4a0929}};let _0xef4f9a=_0x4a0929 instanceof Error?_0x4a0929:new Error('Unknown\x20error',{'cause':_0x4a0929});return{'type':'UNKNOWN_ERROR','message':_0xef4f9a['message'],'payload':{'entry':_0x5780b3,'error':_0xef4f9a}};},_0x56ab48='File\x20validator\x20execution\x20has\x20failed',_0x3bc034='File\x20validator\x20execution\x20has\x20timed\x20out',_0x22b230='Collection\x20validator\x20execution\x20has\x20failed',_0x4a1b1f='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',_0x5e7f2a=_0x47a5cf=>'function'==typeof _0x47a5cf?{'runOn':'change','validator':_0x47a5cf}:_0x47a5cf,_0x1fac98=class extends _0x49e635{constructor(t){super(t),this['ru']=[_0x2178c4,_0x12618f,_0x86b4d3,_0x5350e4],this['ou']=[_0xdea4f3,_0x15d932],this['St']=new _0x57c50e(0x14),this['Tn']=_0x1503b7(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x45ad7c=_0x1503b7(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](_0x478f31('maxLocalFileSizeBytes'),_0x45ad7c)),this['addSub'](this['e']['sub'](_0x478f31('multipleMin'),_0x45ad7c)),this['addSub'](this['e']['sub'](_0x478f31('multipleMax'),_0x45ad7c)),this['addSub'](this['e']['sub'](_0x478f31('multiple'),_0x45ad7c)),this['addSub'](this['e']['sub'](_0x478f31('imgOnly'),_0x45ad7c)),this['addSub'](this['e']['sub'](_0x478f31('accept'),_0x45ad7c)),this['addSub'](this['e']['sub'](_0x478f31('validationConcurrency'),_0x543cbe=>{this['St']['concurrency']=_0x543cbe;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x2fc4c2){if(this['Ie'])return;let _0x2c7990=_0x2fc4c2??this['v']['items']();for(let _0xba5dcc of _0x2c7990){let _0x1b3894=this['v']['read'](_0xba5dcc);_0x1b3894&&this['su'](_0x1b3894,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0x2bce8a=t['getOutputCollectionState'](),_0x2fcb71=[],_0x552121=this['ze']['collectionValidators'];for(let _0x296ed4 of[...this['ou'],..._0x552121])try{let _0x30e84d=_0x296ed4(_0x2bce8a,t);if(!_0x30e84d)continue;_0x30e84d&&(_0x2fcb71['push'](this['En'](_0x30e84d)),_0x30e84d['message']||console['warn'](_0x4a1b1f));}catch(_0x5742d8){console['warn'](_0x22b230,_0x5742d8);}this['e']['pub']('*collectionErrors',_0x2fcb71),_0x2fcb71['length']>0x0&&this['i']['eventEmitter']['emit'](_0x5440a1['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x2a0ccc=this['At']['get'](t['uid']);_0x2a0ccc&&(_0x2a0ccc['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x52705a){if(this['Ie'])return;let _0x278c1e=this['i']['api'],_0x219707=this['xn'](t),_0x22c53f=_0x219707['promise']??Promise['resolve'](),_0x2f4e89=((async()=>{if(this['Ie']||(await _0x22c53f,this['Ie']))return;let _0x28b566=this['nu'](t,_0x52705a);if(0x0===_0x28b566['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x243828=_0x278c1e['getOutputItem'](t['uid']),_0x554896=new AbortController();_0x219707['abortController']=_0x554896;let _0x3d68e7=this['ze']['validationTimeout'],_0x148209=this['Cn'](),_0x9a40a5=new Set(_0x28b566['map'](_0x29d5a7=>_0x29d5a7['validator'])),_0x15b5dd=[];for(let _0x221651 of _0x148209)if(!_0x9a40a5['has'](_0x221651['validator'])){let _0x5a260e=_0x219707['lastErrorThrownByValidator']['get'](_0x221651['validator']);_0x5a260e&&_0x15b5dd['push'](_0x5a260e);}let _0x4506d8=_0x28b566['map'](_0x1c3888=>async()=>{if(this['Ie'])return;let _0x1c34d5=setTimeout(()=>{_0x219707['skippedValidators']['add'](_0x1c3888['validator']),_0x554896['abort'](),console['warn'](_0x3bc034);},_0x3d68e7);try{let _0xfb833f=await _0x1c3888['validator'](_0x243828,_0x278c1e,{'signal':_0x554896['signal']});if(!_0xfb833f||_0x554896['signal']['aborted'])return void _0x219707['lastErrorThrownByValidator']['set'](_0x1c3888['validator'],void 0x0);let _0x5a4ede=this['En'](_0xfb833f);_0x219707['lastErrorThrownByValidator']['set'](_0x1c3888['validator'],_0x5a4ede),_0x15b5dd['push'](_0x5a4ede),_0xfb833f['message']||console['warn'](_0x4a1b1f);}catch(_0x502625){_0x554896['signal']['aborted']||(_0x219707['skippedValidators']['add'](_0x1c3888['validator']),console['warn'](_0x56ab48,_0x502625),this['i']['telemetryManager']['sendEventError'](_0x502625,'file\x20validator.\x20'+_0x56ab48));}finally{clearTimeout(_0x1c34d5),'change'!==_0x1c3888['runOn']&&_0x219707['skippedValidators']['add'](_0x1c3888['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x4506d8['map'](_0x16626f=>_0x16626f()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x554896['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x15b5dd});})());_0x219707['promise']=_0x2f4e89;try{await _0x2f4e89;}finally{_0x219707['promise']===_0x2f4e89&&(_0x219707['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x31a453=this['At']['get'](t['uid']);if(_0x31a453)return _0x31a453;let _0x493270={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x493270),_0x493270;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](_0x5e7f2a);}['nu'](t,_0x956684){let _0x2224fe=this['xn'](t);return this['Cn']()['filter'](_0x4e39c9=>!_0x2224fe['skippedValidators']['has'](_0x4e39c9['validator']))['filter'](_0xec77d4=>_0xec77d4['runOn']===_0x956684);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},_0x4d09a3='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x151e2c=class{constructor(_0x31d7da){this['J']=_0x390713['generateFastUid'](),this['Y']=_0x32dac1['registerCtx'](_0x31d7da,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x2ad8f5,t){this['Y']['has'](_0x2ad8f5)?this['Y']['read'](_0x2ad8f5)!==t&&this['Y']['pub'](_0x2ad8f5,t):console['warn'](''+_0x4d09a3+String(_0x2ad8f5));}['setMultipleValues'](_0x2da974){for(let [t,_0x2f5d3a]of Object['entries'](_0x2da974))this['setValue'](t,_0x2f5d3a);}['getValue'](_0x4e29be){return this['Y']['has'](_0x4e29be)||console['warn'](''+_0x4d09a3+String(_0x4e29be)),this['Y']['read'](_0x4e29be);}['subscribe'](_0x28f3b3,t){return this['Y']['sub'](_0x28f3b3,t);}['destroy'](){_0x32dac1['deleteCtx'](this['J']);}},_0x432a51=class _0x128fbd{constructor(_0x294e7f){this['Pe']=Object['create'](null),this['Zi']=new Set(),this['Yi']=new Set(),this['ye']=new Set(),this['fo']=new Set(),this['mo']=new Set(),this['kt']=new Set(),this['kn']=_0x294e7f['initialValue'],this['J']=_0x390713['generateFastUid'](),this['Y']=_0x32dac1['registerCtx']({},this['J']),this['Sn']=_0x294e7f['watchList']||[];let t=Object['create'](null);this['An']=(_0x131677,_0xda881b)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x131677]||(t[_0x131677]=new Set()),t[_0x131677]['add'](_0xda881b),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x4a5668=>{_0x4a5668({...t});}),t=Object['create'](null));}),this['Mn']();},_0x294e7f['handler']&&this['observeCollection'](_0x294e7f['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x4488d0=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x283dde of this['Yi'])_0x283dde?.([...this['ye']],_0x4488d0,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0x5d58dc=[...this['kt']];this['kt']['clear']();for(let t of _0x5d58dc)t['destroy']();},_0x128fbd['au']));}['observeCollection'](_0x3ba83f){return this['Yi']['add'](_0x3ba83f),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x3ba83f);};}['unobserveCollection'](_0x20090b){this['Yi']['delete'](_0x20090b);}['add'](_0x1675c7){let t=new _0x151e2c(this['kn']);for(let [_0x2da042,_0x44e959]of Object['entries'](_0x1675c7))t['setValue'](_0x2da042,_0x44e959);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x254ace=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x254ace,()=>{this['An'](_0x254ace,t['uid']);}));}),t['uid'];}['hasItem'](_0x446406){return this['ye']['has'](_0x446406);}['read'](_0x19675e){return this['Y']['read'](_0x19675e)??null;}['readProp'](_0x19f8b2,t){let _0x5c5c72=this['read'](_0x19f8b2);if(!_0x5c5c72)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x19f8b2+'\x20not\x20found');return _0x5c5c72['getValue'](t);}['publishProp'](_0x2afbf9,t,_0x2b0a48){let _0x28fb36=this['read'](_0x2afbf9);if(!_0x28fb36)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x2afbf9+'\x20not\x20found');_0x28fb36['setValue'](t,_0x2b0a48);}['remove'](_0x231dc9){let t=this['read'](_0x231dc9);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x231dc9),this['q'](),this['Y']['pub'](_0x231dc9,void 0x0),this['Pe'][_0x231dc9]?.['forEach'](_0x2565e5=>{_0x2565e5();}),delete this['Pe'][_0x231dc9];}['clearAll'](){this['ye']['forEach'](_0x2f45b2=>{this['remove'](_0x2f45b2);});}['observeProperties'](_0x5a9f2d){return this['Zi']['add'](_0x5a9f2d),()=>{this['unobserveProperties'](_0x5a9f2d);};}['unobserveProperties'](_0x4f50b7){this['Zi']['delete'](_0x4f50b7);}['findItems'](_0x5d453f){let t=[];return this['ye']['forEach'](_0x528eff=>{let _0x14c7f0=this['read'](_0x528eff);_0x14c7f0&&_0x5d453f(_0x14c7f0)&&t['push'](_0x528eff);}),t;}['items'](){return[...this['ye']];}get['size'](){return this['ye']['size'];}['destroy'](){this['Jt']&&window['clearTimeout'](this['Jt']),this['ei']&&window['clearTimeout'](this['ei']),this['ti']&&window['clearTimeout'](this['ti']);for(let _0x2726ea of this['kt'])_0x2726ea['destroy']();this['kt']['clear'](),_0x32dac1['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0x2e1494 of Object['keys'](this['Pe']))this['Pe'][_0x2e1494]?.['forEach'](t=>{t();}),delete this['Pe'][_0x2e1494];}},_0x4c2fe6=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),_0x2e8ccf=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x37de0f=(_0x225df4,_0x1a594e,{timeout:t=0x3e8,onTimeout:_0x54a5d2}={})=>new Promise(_0x305899=>{let _0x471992,_0x4a8c81=setTimeout(()=>{cancelAnimationFrame(_0x471992),_0x54a5d2?.();},t),_0x4592c7=()=>{for(let _0x380909 of _0x225df4)if(_0x1a594e(_0x380909))return clearTimeout(_0x4a8c81),void _0x305899(_0x380909);_0x471992=requestAnimationFrame(_0x4592c7);};_0x4592c7();});function _0x1dfb73(_0x2a002a,_0x402f17){for(let t in _0x402f17)t['includes']('-')?_0x2a002a['style']['setProperty'](t,String(_0x402f17[t])):_0x2a002a['style'][t]=String(_0x402f17[t]);}var _0x1a8da2=new RegExp('^/?('+/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x29aeee=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','DROPBOX_CHOOSER':'dropboxchooser','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x381bf1=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x3bc093=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',..._0x381bf1,..._0x29aeee}),_0x444925={[_0x29aeee['DROPBOX_CHOOSER']]:_0x29aeee['DROPBOX']},_0x83263e=_0x3fd9b0=>_0x444925[_0x3fd9b0]??_0x3fd9b0,_0x110fc2=_0x34561c=>_0x34561c['uploadCollection']['items']()['map'](_0x594a0c=>_0x34561c['api']['getOutputItem'](_0x594a0c));function _0x306a8c(_0x2645fb){let _0x2310cd=new Map();return(..._0x8f12ad)=>{let _0x278b55=JSON['stringify'](_0x8f12ad);if(_0x2310cd['has'](_0x278b55))return _0x2310cd['get'](_0x278b55);let _0x386a96=_0x2645fb(..._0x8f12ad);return _0x2310cd['set'](_0x278b55,_0x386a96),_0x386a96;};}var _0x11f062=new Set();function _0x5ed89e(_0x465cfc){_0x11f062['has'](_0x465cfc)||(_0x11f062['add'](_0x465cfc),console['warn'](_0x465cfc));}function tQ(_0x409715){let _0xf842cf={},t=_0x409715['ctx'],_0x4bf611={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x409715['uploadCollection']['size'],'failedCount':()=>_0xf842cf['failedEntries']['length'],'successCount':()=>_0xf842cf['successEntries']['length'],'uploadingCount':()=>_0xf842cf['uploadingEntries']['length'],'status':()=>_0xf842cf['isFailed']?'failed':_0xf842cf['isUploading']?'uploading':_0xf842cf['isSuccess']?'success':'idle','isSuccess':()=>_0xf842cf['allEntries']['length']>0x0&&0x0===_0xf842cf['errors']['length']&&_0xf842cf['successEntries']['length']===_0xf842cf['allEntries']['length'],'isUploading':()=>_0xf842cf['allEntries']['some'](_0x2f7e3d=>'uploading'===_0x2f7e3d['status']),'isFailed':()=>_0xf842cf['errors']['length']>0x0||_0xf842cf['failedEntries']['length']>0x0,'allEntries':()=>_0x110fc2(_0x409715),'successEntries':()=>_0xf842cf['allEntries']['filter'](_0x55c819=>'success'===_0x55c819['status']),'failedEntries':()=>_0xf842cf['allEntries']['filter'](_0x1bce84=>'failed'===_0x1bce84['status']),'uploadingEntries':()=>_0xf842cf['allEntries']['filter'](_0x4736d8=>'uploading'===_0x4736d8['status']),'idleEntries':()=>_0xf842cf['allEntries']['filter'](_0x5bb319=>'idle'===_0x5bb319['status'])},_0x329aa7=function(_0x1245c7){let _0x62cea6=!0x1;return setTimeout(()=>{_0x62cea6=!0x0;},0x0),_0x3f3ce5=>(..._0x2956f1)=>(_0x62cea6&&_0x5ed89e(_0x1245c7),_0x3f3ce5(..._0x2956f1));}('You\x27re\x20trying\x20to\x20access\x20the\x20OutputCollectionState\x20asynchronously.\x20In\x20this\x20case,\x20the\x20data\x20you\x20retrieve\x20will\x20be\x20newer\x20than\x20it\x20was\x20when\x20the\x20OutputCollectionState\x20was\x20created\x20or\x20when\x20the\x20event\x20was\x20dispatched.\x20If\x20you\x20want\x20to\x20retain\x20the\x20state\x20at\x20a\x20specific\x20moment\x20in\x20time,\x20you\x20should\x20use\x20the\x20spread\x20operator\x20like\x20this:\x20`{...outputCollectionState}`\x20or\x20`{...e.detail}`');for(let [_0x1ec8c2,_0x45629c]of Object['entries'](_0x4bf611)){let _0x19ca9b=_0x1ec8c2,_0x56399c=_0x306a8c(_0x329aa7(_0x45629c));Object['defineProperty'](_0xf842cf,_0x19ca9b,{'get':_0x56399c,'enumerable':!0x0});}return _0xf842cf;}var _0x1e8cdc=class extends _0x49e635{constructor(){super(...arguments),this['Et']=_0x40e7fa(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x1ef453,fileName:_0x32776c,source:_0x39ec1d}={})=>{let _0x4c2261=this['v']['add']({'externalUrl':t,'fileName':_0x32776c??null,'silent':_0x1ef453??!0x1,'source':_0x39ec1d??_0x3bc093['API']});return this['getOutputItem'](_0x4c2261);},this['addFileFromUuid']=(t,{silent:_0x6ec769,fileName:_0x14a26e,source:_0xbf61e8}={})=>{let _0x2014f5=this['v']['add']({'uuid':t,'fileName':_0x14a26e??null,'silent':_0x6ec769??!0x1,'source':_0xbf61e8??_0x3bc093['API']});return this['getOutputItem'](_0x2014f5);},this['addFileFromCdnUrl']=(t,{silent:_0x575518,fileName:_0x389ae1,source:_0x18a69c}={})=>{let _0x5ae75f=(({url:_0x5a2eda,cdnBase:_0x5b7f7b})=>{let t=new URL(_0x5b7f7b),_0x518f6e=new URL(_0x45ad32),_0x18e936=new URL(_0x5a2eda);if(t['host']!==_0x18e936['host']&&_0x518f6e['host']!==_0x18e936['host'])return null;let _0x817b3c=_0x1a8da2['exec'](_0x18e936['pathname']);if(!_0x817b3c)return null;let [,_0x43d166,_0x53d421,_0x143247]=_0x817b3c;return _0x43d166?{'uuid':_0x43d166,'cdnUrlModifiers':_0x53d421||'','filename':_0x143247||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x5ae75f)throw new Error('Invalid\x20CDN\x20URL');let _0x493857=this['v']['add']({'uuid':_0x5ae75f['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x5ae75f['cdnUrlModifiers'],'fileName':_0x389ae1??_0x5ae75f['filename']??null,'silent':_0x575518??!0x1,'source':_0x18a69c??_0x3bc093['API']});return this['getOutputItem'](_0x493857);},this['addFileFromObject']=(t,{silent:_0x49faf3,fileName:_0x88120,source:_0x307feb,fullPath:_0x96fc7a}={})=>{let _0x516292=this['v']['add']({'file':t,'isImage':_0x4957e2(t),'mimeType':t['type']||null,'fileName':_0x88120??t['name'],'fileSize':t['size'],'silent':_0x49faf3??!0x1,'source':_0x307feb??_0x3bc093['API'],'fullPath':_0x96fc7a??null});return this['getOutputItem'](_0x516292);},this['removeFileByInternalId']=t=>{if(!this['v']['read'](t))throw new Error('File\x20with\x20internalId\x20'+t+'\x20not\x20found');this['v']['remove'](t);},this['uploadAll']=()=>{let t=this['v']['items']()['filter'](_0x4b59a6=>{let _0x38b4b1=this['v']['read'](_0x4b59a6);return!!_0x38b4b1&&!(_0x38b4b1['getValue']('isRemoved')||_0x38b4b1['getValue']('isUploading')||_0x38b4b1['getValue']('fileInfo')||0x0!==_0x38b4b1['getValue']('errors')['length']||_0x38b4b1['getValue']('isValidationPending')||_0x38b4b1['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](_0x5440a1['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x180e46=_0x27b757(_0x4b9aae([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x4bcf6b:[]])),_0x3d8fa9='uploadcare-file-input',_0x335fe3=document['createElement']('input');if(_0x335fe3['setAttribute'](_0x3d8fa9,''),_0x1dfb73(_0x335fe3,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x335fe3['type']='file',_0x335fe3['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x335fe3['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x5f329d,isVideoRecordingEnabled:_0x46e7e4}=(_0x1f1096=>({'isVideoRecordingEnabled':_0x430fa6(_0x1f1096['cameraModes'])['includes'](_0x4c2fe6['VIDEO']),'isPhotoEnabled':_0x430fa6(_0x1f1096['cameraModes'])['includes'](_0x4c2fe6['PHOTO'])}))(this['cfg']);t['modeCamera']===_0x4c2fe6['PHOTO']&&_0x5f329d?_0x335fe3['accept']=_0x4b843d:t['modeCamera']===_0x4c2fe6['VIDEO']&&_0x46e7e4?_0x335fe3['accept']=_0x12621f:_0x335fe3['accept']=[_0x4b843d,_0x46e7e4&&_0x12621f]['filter'](Boolean)['join'](',');}else _0x335fe3['accept']=_0x180e46;_0x335fe3['addEventListener']('change',()=>{_0x335fe3['files']&&([..._0x335fe3['files']]['forEach'](_0x708ccc=>{this['addFileFromObject'](_0x708ccc,{'source':t['captureCamera']?_0x3bc093['CAMERA']:_0x3bc093['LOCAL']});}),this['e']['pub']('*currentActivity',_0x5b9835['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x5b9835['UPLOAD_LIST']),_0x335fe3['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x3d8fa9+']')['forEach'](_0x30dcbc=>{_0x30dcbc['remove']();}),document['body']['appendChild'](_0x335fe3),_0x335fe3['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',_0x5b9835['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x5b9835['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x2eaca4=this['On'][0x0];this['go']()['then'](()=>{let _0x11cf04=this['i']['pluginManager']['snapshot']()['sources'],_0xb9fa46=_0x11cf04['find'](_0x425028=>_0x425028['id']===_0x2eaca4);if(_0xb9fa46){let _0x43d415=_0xb9fa46['expand']?.()??[_0x2eaca4];return void(0x1===_0x43d415['length']?(_0x11cf04['find'](_0x129c6f=>_0x129c6f['id']===_0x43d415[0x0])??_0xb9fa46)['onSelect']():(this['e']['pub']('*currentActivity',_0x5b9835['START_FROM']),this['i']['modalManager']?.['open'](_0x5b9835['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',_0x5b9835['START_FROM']),this['i']['modalManager']?.['open'](_0x5b9835['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x33a4bb,_0x2732d0)=>{for(let t of _0x33a4bb)if(_0x2732d0(t))return t;})(this['i']['blocksRegistry'],_0x19f875=>'doneActivity'in _0x19f875);t&&(this['e']['pub']('*currentActivity',t['doneActivity']),this['e']['pub']('*history',t['doneActivity']?[t['doneActivity']]:[]),this['e']['read']('*currentActivity')||this['i']['modalManager']?.['closeAll']());},this['setCurrentActivity']=(t,..._0x28eac6)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x28eac6[0x0]??{}),this['e']['pub']('*currentActivity',t),_0x37de0f(this['i']['blocksRegistry'],_0x330def=>_0x330def['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x21a9e7)=>this['i']['eventEmitter']['on'](t,_0x21a9e7),this['getCurrentActivity']=()=>this['e']['read']('*currentActivity'),this['historyBack']=()=>{this['e']['read']('*historyBack')?.();},this['setModalState']=t=>{this['go']()['then'](()=>{if(!t)return this['i']['modalManager']?.['close'](this['e']['read']('*currentActivity')),void this['e']['pub']('*currentActivity',null);let _0x264fff=this['e']['read']('*currentActivity');if(_0x264fff)return _0x37de0f(this['i']['blocksRegistry'],_0x27dbfc=>_0x27dbfc['activityType']===_0x264fff,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x264fff+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x264fff);});console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');});};}get['v'](){return this['i']['uploadCollection'];}get['cfg'](){return this['ze'];}get['l10n'](){return this['Et'];}['removeAllFiles'](){this['v']['clearAll']();}['getOutputItem'](t){let _0x242a8b=_0x32dac1['getCtx'](t);if(!_0x242a8b)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x3bb0d8=_0x242a8b['store'],_0x392425=_0x3bb0d8['fileInfo'],_0x51629b=_0x3bb0d8['isRemoved']?'removed':_0x3bb0d8['errors']['length']>0x0?'failed':_0x3bb0d8['fileInfo']?'success':_0x3bb0d8['isUploading']?'uploading':'idle';return{'uuid':_0x392425?.['uuid']??_0x3bb0d8['uuid']??null,'internalId':t,'name':_0x392425?.['originalFilename']??_0x3bb0d8['fileName'],'size':_0x392425?.['size']??_0x3bb0d8['fileSize'],'isImage':_0x392425?.['isImage']??_0x3bb0d8['isImage'],'mimeType':_0x392425?.['mimeType']??_0x3bb0d8['mimeType'],'file':_0x3bb0d8['file'],'externalUrl':_0x3bb0d8['externalUrl'],'cdnUrlModifiers':_0x3bb0d8['cdnUrlModifiers'],'cdnUrl':_0x3bb0d8['cdnUrl']??_0x392425?.['cdnUrl']??null,'fullPath':_0x3bb0d8['fullPath'],'uploadProgress':_0x3bb0d8['uploadProgress'],'fileInfo':_0x392425??null,'metadata':_0x3bb0d8['metadata']??_0x392425?.['metadata']??null,'isSuccess':'success'===_0x51629b,'isUploading':'uploading'===_0x51629b,'isFailed':'failed'===_0x51629b,'isRemoved':'removed'===_0x51629b,'isValidationPending':_0x3bb0d8['isValidationPending'],'errors':_0x3bb0d8['errors'],'status':_0x51629b,'source':_0x3bb0d8?.['source']};}['getOutputCollectionState'](){return tQ(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=_0x126e70(this['cfg']['sourceList'])),t;}},_0x3dcb2d={'file':null,'externalUrl':null,'fileName':null,'fileSize':null,'lastModified':Date['now'](),'uploadProgress':0x0,'uuid':null,'isImage':!0x1,'mimeType':null,'ctxName':null,'cdnUrl':null,'cdnUrlModifiers':null,'fileInfo':null,'isUploading':!0x1,'abortController':null,'thumbUrl':null,'silent':!0x1,'source':null,'fullPath':null,'metadata':null,'errors':[],'uploadError':null,'isRemoved':!0x1,'isQueuedForUploading':!0x1,'isValidationPending':!0x1,'isQueuedForValidation':!0x1},_0x1114e2=33.333333333333336;function _0x16622c(_0x175ebe,_0x35de7b){for(let [t,_0x3cb042]of Object['entries'](_0x35de7b))_0x175ebe['setAttributeNS'](null,t,_0x3cb042['toString']());}function _0x369303(_0x2e0f18,_0x2b12ee={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x2e0f18);return _0x16622c(t,_0x2b12ee),t;}function _0x3f5ce1(_0x226841,_0x3c3930,t){let {x:_0x23e501,y:_0x59acc0,width:_0xf303e1,height:_0x273013}=_0x226841,_0x21f5f7=_0x3c3930['includes']('w')?0x0:0x1,_0x224f71=_0x3c3930['includes']('n')?0x0:0x1,_0x332cd3=0x0===_0x21f5f7?-0x1:0x1,_0x1bac36=0x0===_0x224f71?-0x1:0x1,_0x543585=[_0x23e501+_0x21f5f7*_0xf303e1+1.5*_0x332cd3,_0x59acc0+_0x224f71*_0x273013+1.5*_0x1bac36-0x18*t*_0x1bac36],_0x56518e=[_0x23e501+_0x21f5f7*_0xf303e1+1.5*_0x332cd3,_0x59acc0+_0x224f71*_0x273013+1.5*_0x1bac36],_0x2a2c8a=[_0x23e501+_0x21f5f7*_0xf303e1-0x18*t*_0x332cd3+1.5*_0x332cd3,_0x59acc0+_0x224f71*_0x273013+1.5*_0x1bac36];return{'d':'M\x20'+_0x543585[0x0]+'\x20'+_0x543585[0x1]+'\x20L\x20'+_0x56518e[0x0]+'\x20'+_0x56518e[0x1]+'\x20L\x20'+_0x2a2c8a[0x0]+'\x20'+_0x2a2c8a[0x1],'center':[_0x56518e[0x0],_0x56518e[0x1]]};}function _0xacc29c(_0x4bfb20,_0x4571fe,t){let _0x138755,_0x143e5c,{x:_0x4f65a4,y:_0x174375,width:_0x4c8e30,height:_0xdb5a26}=_0x4bfb20,_0x12cc66='n'===_0x4571fe||'s'===_0x4571fe,_0x17218c=_0x12cc66?0.5:'w'===_0x4571fe?0x0:0x1,_0x9c3e1a='w'===_0x4571fe||'e'===_0x4571fe?0.5:'n'===_0x4571fe?0x0:0x1,_0x3a412e='w'===_0x4571fe?-0x1:'e'===_0x4571fe?0x1:0x0,_0x3b23a3='n'===_0x4571fe?-0x1:'s'===_0x4571fe?0x1:0x0;return _0x12cc66?(_0x138755=[_0x4f65a4+_0x17218c*_0x4c8e30-0x22*t/0x2,_0x174375+_0x9c3e1a*_0xdb5a26+1.5*_0x3b23a3],_0x143e5c=[_0x4f65a4+_0x17218c*_0x4c8e30+0x22*t/0x2,_0x174375+_0x9c3e1a*_0xdb5a26+1.5*_0x3b23a3]):(_0x138755=[_0x4f65a4+_0x17218c*_0x4c8e30+1.5*_0x3a412e,_0x174375+_0x9c3e1a*_0xdb5a26-0x22*t/0x2],_0x143e5c=[_0x4f65a4+_0x17218c*_0x4c8e30+1.5*_0x3a412e,_0x174375+_0x9c3e1a*_0xdb5a26+0x22*t/0x2]),{'d':'M\x20'+_0x138755[0x0]+'\x20'+_0x138755[0x1]+'\x20L\x20'+_0x143e5c[0x0]+'\x20'+_0x143e5c[0x1],'center':[(_0x138755[0x0]+_0x143e5c[0x0])/0x2,(_0x138755[0x1]+_0x143e5c[0x1])/0x2]};}function _0x3b22dd(_0x4da6c4,_0x208284){let {x:t}=_0x4da6c4,{y:_0xd5d75b}=_0x4da6c4;return _0x4da6c4['x']<_0x208284['x']?t=_0x208284['x']:_0x4da6c4['x']+_0x4da6c4['width']>_0x208284['x']+_0x208284['width']&&(t=_0x208284['x']+_0x208284['width']-_0x4da6c4['width']),_0x4da6c4['y']<_0x208284['y']?_0xd5d75b=_0x208284['y']:_0x4da6c4['y']+_0x4da6c4['height']>_0x208284['y']+_0x208284['height']&&(_0xd5d75b=_0x208284['y']+_0x208284['height']-_0x4da6c4['height']),{..._0x4da6c4,'x':t,'y':_0xd5d75b};}function _0x19f46d({direction:_0x6ce3e3,..._0x3c4799}){switch(_0x6ce3e3){case'n':return function({rect:_0x34ff63,delta:_0x19158e,aspectRatio:t,imageBox:_0x4a983d}){let [,_0x2e72de]=_0x19158e,{y:_0x98af01,width:_0x5d3396,height:_0x1a39ed}=_0x34ff63;_0x98af01+=_0x2e72de,_0x1a39ed-=_0x2e72de,t&&(_0x5d3396=_0x1a39ed*t);let _0x2c33a2=_0x34ff63['x']+_0x34ff63['width']/0x2-_0x5d3396/0x2;return _0x98af01<=_0x4a983d['y']&&(_0x98af01=_0x4a983d['y'],_0x1a39ed=_0x34ff63['y']+_0x34ff63['height']-_0x98af01,t&&(_0x5d3396=_0x1a39ed*t,_0x2c33a2=_0x34ff63['x']+_0x34ff63['width']/0x2-_0x5d3396/0x2)),_0x2c33a2<=_0x4a983d['x']&&(_0x2c33a2=_0x4a983d['x'],_0x98af01=_0x34ff63['y']+_0x34ff63['height']-_0x1a39ed),_0x2c33a2+_0x5d3396>=_0x4a983d['x']+_0x4a983d['width']&&(_0x2c33a2=Math['max'](_0x4a983d['x'],_0x4a983d['x']+_0x4a983d['width']-_0x5d3396),_0x5d3396=_0x4a983d['x']+_0x4a983d['width']-_0x2c33a2,t&&(_0x1a39ed=_0x5d3396/t),_0x98af01=_0x34ff63['y']+_0x34ff63['height']-_0x1a39ed),_0x1a39ed<0x1&&(_0x1a39ed=0x1,t&&(_0x5d3396=_0x1a39ed*t,_0x2c33a2=_0x34ff63['x']+_0x34ff63['width']/0x2-_0x5d3396/0x2),_0x98af01=_0x34ff63['y']+_0x34ff63['height']-_0x1a39ed),_0x5d3396<0x1&&(_0x5d3396=0x1,t&&(_0x1a39ed=_0x5d3396/t,_0x2c33a2=_0x34ff63['x']+_0x34ff63['width']/0x2-_0x5d3396/0x2),_0x98af01=_0x34ff63['y']+_0x34ff63['height']-_0x1a39ed),{'x':_0x2c33a2,'y':_0x98af01,'width':_0x5d3396,'height':_0x1a39ed};}(_0x3c4799);case'w':return function({rect:_0x315dbc,delta:_0x18c3f0,aspectRatio:t,imageBox:_0x360e8f}){let [_0x2c32f0]=_0x18c3f0,{x:_0x2ac59d,width:_0x3335cc,height:_0x41a07a}=_0x315dbc;_0x2ac59d+=_0x2c32f0,_0x3335cc-=_0x2c32f0,t&&(_0x41a07a=_0x3335cc/t);let _0x1b1475=_0x315dbc['y']+_0x315dbc['height']/0x2-_0x41a07a/0x2;return _0x2ac59d<=_0x360e8f['x']&&(_0x2ac59d=_0x360e8f['x'],_0x3335cc=_0x315dbc['x']+_0x315dbc['width']-_0x2ac59d,t&&(_0x41a07a=_0x3335cc/t,_0x1b1475=_0x315dbc['y']+_0x315dbc['height']/0x2-_0x41a07a/0x2)),_0x1b1475<=_0x360e8f['y']&&(_0x1b1475=_0x360e8f['y'],_0x2ac59d=_0x315dbc['x']+_0x315dbc['width']-_0x3335cc),_0x1b1475+_0x41a07a>=_0x360e8f['y']+_0x360e8f['height']&&(_0x1b1475=Math['max'](_0x360e8f['y'],_0x360e8f['y']+_0x360e8f['height']-_0x41a07a),_0x41a07a=_0x360e8f['y']+_0x360e8f['height']-_0x1b1475,t&&(_0x3335cc=_0x41a07a*t),_0x2ac59d=_0x315dbc['x']+_0x315dbc['width']-_0x3335cc),_0x41a07a<0x1&&(_0x41a07a=0x1,t&&(_0x3335cc=_0x41a07a*t),_0x1b1475=_0x315dbc['y']+_0x315dbc['height']/0x2-_0x41a07a/0x2,_0x2ac59d=_0x315dbc['x']+_0x315dbc['width']-_0x3335cc),_0x3335cc<0x1&&(_0x3335cc=0x1,t&&(_0x41a07a=_0x3335cc/t),_0x1b1475=_0x315dbc['y']+_0x315dbc['height']/0x2-_0x41a07a/0x2,_0x2ac59d=_0x315dbc['x']+_0x315dbc['width']-_0x3335cc),{'x':_0x2ac59d,'y':_0x1b1475,'width':_0x3335cc,'height':_0x41a07a};}(_0x3c4799);case's':return function({rect:_0xbd3383,delta:_0x32e91d,aspectRatio:t,imageBox:_0x344e48}){let [,_0x1bdacb]=_0x32e91d,{y:_0xc82a47,width:_0x271849,height:_0x3d3b73}=_0xbd3383;_0x3d3b73+=_0x1bdacb,t&&(_0x271849=_0x3d3b73*t);let _0x2dddc7=_0xbd3383['x']+_0xbd3383['width']/0x2-_0x271849/0x2;return _0xc82a47+_0x3d3b73>=_0x344e48['y']+_0x344e48['height']&&(_0x3d3b73=_0x344e48['y']+_0x344e48['height']-_0xc82a47,t&&(_0x271849=_0x3d3b73*t),_0x2dddc7=_0xbd3383['x']+_0xbd3383['width']/0x2-_0x271849/0x2),_0x2dddc7<=_0x344e48['x']&&(_0x2dddc7=_0x344e48['x'],_0xc82a47=_0xbd3383['y']),_0x2dddc7+_0x271849>=_0x344e48['x']+_0x344e48['width']&&(_0x2dddc7=Math['max'](_0x344e48['x'],_0x344e48['x']+_0x344e48['width']-_0x271849),_0x271849=_0x344e48['x']+_0x344e48['width']-_0x2dddc7,t&&(_0x3d3b73=_0x271849/t),_0xc82a47=_0xbd3383['y']),_0x3d3b73<0x1&&(_0x3d3b73=0x1,t&&(_0x271849=_0x3d3b73*t),_0x2dddc7=_0xbd3383['x']+_0xbd3383['width']/0x2-_0x271849/0x2),_0x271849<0x1&&(_0x271849=0x1,t&&(_0x3d3b73=_0x271849/t),_0x2dddc7=_0xbd3383['x']+_0xbd3383['width']/0x2-_0x271849/0x2),{'x':_0x2dddc7,'y':_0xc82a47,'width':_0x271849,'height':_0x3d3b73};}(_0x3c4799);case'e':return function({rect:_0x272d9d,delta:_0x45eebc,aspectRatio:t,imageBox:_0x3194b6}){let [_0x30f463]=_0x45eebc,{x:_0x2db94d,width:_0x16c014,height:_0x51dc22}=_0x272d9d;_0x16c014+=_0x30f463,t&&(_0x51dc22=_0x16c014/t);let _0x2b2276=_0x272d9d['y']+_0x272d9d['height']/0x2-_0x51dc22/0x2;return _0x2db94d+_0x16c014>=_0x3194b6['x']+_0x3194b6['width']&&(_0x16c014=_0x3194b6['x']+_0x3194b6['width']-_0x2db94d,t&&(_0x51dc22=_0x16c014/t),_0x2b2276=_0x272d9d['y']+_0x272d9d['height']/0x2-_0x51dc22/0x2),_0x2b2276<=_0x3194b6['y']&&(_0x2b2276=_0x3194b6['y'],_0x2db94d=_0x272d9d['x']),_0x2b2276+_0x51dc22>=_0x3194b6['y']+_0x3194b6['height']&&(_0x2b2276=Math['max'](_0x3194b6['y'],_0x3194b6['y']+_0x3194b6['height']-_0x51dc22),_0x51dc22=_0x3194b6['y']+_0x3194b6['height']-_0x2b2276,t&&(_0x16c014=_0x51dc22*t),_0x2db94d=_0x272d9d['x']),_0x51dc22<0x1&&(_0x51dc22=0x1,t&&(_0x16c014=_0x51dc22*t),_0x2b2276=_0x272d9d['y']+_0x272d9d['height']/0x2-_0x51dc22/0x2),_0x16c014<0x1&&(_0x16c014=0x1,t&&(_0x51dc22=_0x16c014/t),_0x2b2276=_0x272d9d['y']+_0x272d9d['height']/0x2-_0x51dc22/0x2),{'x':_0x2db94d,'y':_0x2b2276,'width':_0x16c014,'height':_0x51dc22};}(_0x3c4799);case'nw':return function({rect:_0x551fb4,delta:_0x2aca38,aspectRatio:t,imageBox:_0x423500}){let [_0x494271,_0x2247b1]=_0x2aca38,{x:_0xec1ac5,y:_0x4b3590,width:_0x545443,height:_0x5ee310}=_0x551fb4;return _0xec1ac5+_0x494271<_0x423500['x']&&(_0x494271=_0x423500['x']-_0xec1ac5),_0x4b3590+_0x2247b1<_0x423500['y']&&(_0x2247b1=_0x423500['y']-_0x4b3590),_0xec1ac5+=_0x494271,_0x545443-=_0x494271,_0x4b3590+=_0x2247b1,_0x5ee310-=_0x2247b1,t&&Math['abs'](_0x545443/_0x5ee310)>t?(_0x2247b1=_0x545443/t-_0x5ee310,_0x5ee310+=_0x2247b1,_0x4b3590-=_0x2247b1,_0x4b3590<=_0x423500['y']&&(_0x5ee310-=_0x423500['y']-_0x4b3590,_0x545443=_0x5ee310*t,_0xec1ac5=_0x551fb4['x']+_0x551fb4['width']-_0x545443,_0x4b3590=_0x423500['y'])):t&&(_0x494271=_0x5ee310*t-_0x545443,_0x545443+=_0x494271,_0xec1ac5-=_0x494271,_0xec1ac5<=_0x423500['x']&&(_0x545443-=_0x423500['x']-_0xec1ac5,_0x5ee310=_0x545443/t,_0xec1ac5=_0x423500['x'],_0x4b3590=_0x551fb4['y']+_0x551fb4['height']-_0x5ee310)),_0x5ee310<0x1&&(_0x5ee310=0x1,t&&(_0x545443=_0x5ee310*t),_0xec1ac5=_0x551fb4['x']+_0x551fb4['width']-_0x545443,_0x4b3590=_0x551fb4['y']+_0x551fb4['height']-_0x5ee310),_0x545443<0x1&&(_0x545443=0x1,t&&(_0x5ee310=_0x545443/t),_0xec1ac5=_0x551fb4['x']+_0x551fb4['width']-_0x545443,_0x4b3590=_0x551fb4['y']+_0x551fb4['height']-_0x5ee310),{'x':_0xec1ac5,'y':_0x4b3590,'width':_0x545443,'height':_0x5ee310};}(_0x3c4799);case'ne':return function({rect:_0x4fd225,delta:_0x542d19,aspectRatio:t,imageBox:_0x1136a1}){let [_0x358e1c,_0x50ec2f]=_0x542d19,{x:_0x4c2845,y:_0x33e6cd,width:_0x23f05b,height:_0x52d8e9}=_0x4fd225;return _0x4c2845+_0x23f05b+_0x358e1c>_0x1136a1['x']+_0x1136a1['width']&&(_0x358e1c=_0x1136a1['x']+_0x1136a1['width']-_0x4c2845-_0x23f05b),_0x33e6cd+_0x50ec2f<_0x1136a1['y']&&(_0x50ec2f=_0x1136a1['y']-_0x33e6cd),_0x23f05b+=_0x358e1c,_0x33e6cd+=_0x50ec2f,_0x52d8e9-=_0x50ec2f,t&&Math['abs'](_0x23f05b/_0x52d8e9)>t?(_0x50ec2f=_0x23f05b/t-_0x52d8e9,_0x52d8e9+=_0x50ec2f,_0x33e6cd-=_0x50ec2f,_0x33e6cd<=_0x1136a1['y']&&(_0x52d8e9-=_0x1136a1['y']-_0x33e6cd,_0x23f05b=_0x52d8e9*t,_0x4c2845=_0x4fd225['x'],_0x33e6cd=_0x1136a1['y'])):t&&(_0x358e1c=_0x52d8e9*t-_0x23f05b,_0x23f05b+=_0x358e1c,_0x4c2845+_0x23f05b>=_0x1136a1['x']+_0x1136a1['width']&&(_0x23f05b=_0x1136a1['x']+_0x1136a1['width']-_0x4c2845,_0x52d8e9=_0x23f05b/t,_0x4c2845=_0x1136a1['x']+_0x1136a1['width']-_0x23f05b,_0x33e6cd=_0x4fd225['y']+_0x4fd225['height']-_0x52d8e9)),_0x52d8e9<0x1&&(_0x52d8e9=0x1,t&&(_0x23f05b=_0x52d8e9*t),_0x33e6cd=_0x4fd225['y']+_0x4fd225['height']-_0x52d8e9),_0x23f05b<0x1&&(_0x23f05b=0x1,t&&(_0x52d8e9=_0x23f05b/t),_0x33e6cd=_0x4fd225['y']+_0x4fd225['height']-_0x52d8e9),{'x':_0x4c2845,'y':_0x33e6cd,'width':_0x23f05b,'height':_0x52d8e9};}(_0x3c4799);case'sw':return function({rect:_0x57f636,delta:_0xe866a4,aspectRatio:t,imageBox:_0x24a0de}){let [_0x8054b,_0x3eb413]=_0xe866a4,{x:_0x2e8979,y:_0x20cb32,width:_0x10ef18,height:_0x39ab08}=_0x57f636;return _0x2e8979+_0x8054b<_0x24a0de['x']&&(_0x8054b=_0x24a0de['x']-_0x2e8979),_0x20cb32+_0x39ab08+_0x3eb413>_0x24a0de['y']+_0x24a0de['height']&&(_0x3eb413=_0x24a0de['y']+_0x24a0de['height']-_0x20cb32-_0x39ab08),_0x2e8979+=_0x8054b,_0x10ef18-=_0x8054b,_0x39ab08+=_0x3eb413,t&&Math['abs'](_0x10ef18/_0x39ab08)>t?(_0x3eb413=_0x10ef18/t-_0x39ab08,_0x39ab08+=_0x3eb413,_0x20cb32+_0x39ab08>=_0x24a0de['y']+_0x24a0de['height']&&(_0x39ab08=_0x24a0de['y']+_0x24a0de['height']-_0x20cb32,_0x10ef18=_0x39ab08*t,_0x2e8979=_0x57f636['x']+_0x57f636['width']-_0x10ef18,_0x20cb32=_0x24a0de['y']+_0x24a0de['height']-_0x39ab08)):t&&(_0x8054b=_0x39ab08*t-_0x10ef18,_0x10ef18+=_0x8054b,_0x2e8979-=_0x8054b,_0x2e8979<=_0x24a0de['x']&&(_0x10ef18-=_0x24a0de['x']-_0x2e8979,_0x39ab08=_0x10ef18/t,_0x2e8979=_0x24a0de['x'],_0x20cb32=_0x57f636['y'])),_0x39ab08<0x1&&(_0x39ab08=0x1,t&&(_0x10ef18=_0x39ab08*t),_0x2e8979=_0x57f636['x']+_0x57f636['width']-_0x10ef18),_0x10ef18<0x1&&(_0x10ef18=0x1,t&&(_0x39ab08=_0x10ef18/t),_0x2e8979=_0x57f636['x']+_0x57f636['width']-_0x10ef18),{'x':_0x2e8979,'y':_0x20cb32,'width':_0x10ef18,'height':_0x39ab08};}(_0x3c4799);case'se':return function({rect:_0x207112,delta:_0x1d8463,aspectRatio:t,imageBox:_0x214083}){let [_0x2dc670,_0x3edbe1]=_0x1d8463,{x:_0x69fda6,y:_0x2029a3,width:_0x486185,height:_0x2f9459}=_0x207112;return _0x69fda6+_0x486185+_0x2dc670>_0x214083['x']+_0x214083['width']&&(_0x2dc670=_0x214083['x']+_0x214083['width']-_0x69fda6-_0x486185),_0x2029a3+_0x2f9459+_0x3edbe1>_0x214083['y']+_0x214083['height']&&(_0x3edbe1=_0x214083['y']+_0x214083['height']-_0x2029a3-_0x2f9459),_0x486185+=_0x2dc670,_0x2f9459+=_0x3edbe1,t&&Math['abs'](_0x486185/_0x2f9459)>t?(_0x3edbe1=_0x486185/t-_0x2f9459,_0x2f9459+=_0x3edbe1,_0x2029a3+_0x2f9459>=_0x214083['y']+_0x214083['height']&&(_0x2f9459=_0x214083['y']+_0x214083['height']-_0x2029a3,_0x486185=_0x2f9459*t,_0x69fda6=_0x207112['x'],_0x2029a3=_0x214083['y']+_0x214083['height']-_0x2f9459)):t&&(_0x2dc670=_0x2f9459*t-_0x486185,_0x486185+=_0x2dc670,_0x69fda6+_0x486185>=_0x214083['x']+_0x214083['width']&&(_0x486185=_0x214083['x']+_0x214083['width']-_0x69fda6,_0x2f9459=_0x486185/t,_0x69fda6=_0x214083['x']+_0x214083['width']-_0x486185,_0x2029a3=_0x207112['y'])),_0x2f9459<0x1&&(_0x2f9459=0x1,t&&(_0x486185=_0x2f9459*t)),_0x486185<0x1&&(_0x486185=0x1,t&&(_0x2f9459=_0x486185/t)),{'x':_0x69fda6,'y':_0x2029a3,'width':_0x486185,'height':_0x2f9459};}(_0x3c4799);default:return _0x3c4799['rect'];}}function _0x543b7a({width:_0x56958d,height:_0x183e84},t){let _0x1a5af4=t/0x5a%0x2!=0x0;return{'width':_0x1a5af4?_0x183e84:_0x56958d,'height':_0x1a5af4?_0x56958d:_0x183e84};}function _0x3f09a8(_0x262b0e,_0x15420d,t){let _0x4b5a30,_0x5aab90;_0x262b0e/_0x15420d>t?(_0x4b5a30=Math['round'](_0x15420d*t),_0x5aab90=_0x15420d):(_0x4b5a30=_0x262b0e,_0x5aab90=Math['round'](_0x262b0e/t));let _0x49bfeb=Math['round']((_0x262b0e-_0x4b5a30)/0x2),_0x5c20b1=Math['round']((_0x15420d-_0x5aab90)/0x2);return _0x49bfeb+_0x4b5a30>_0x262b0e&&(_0x4b5a30=_0x262b0e-_0x49bfeb),_0x5c20b1+_0x5aab90>_0x15420d&&(_0x5aab90=_0x15420d-_0x5c20b1),{'x':_0x49bfeb,'y':_0x5c20b1,'width':_0x4b5a30,'height':_0x5aab90};}function _0x10f806(_0x378e66){return{'x':Math['round'](_0x378e66['x']),'y':Math['round'](_0x378e66['y']),'width':Math['round'](_0x378e66['width']),'height':Math['round'](_0x378e66['height'])};}function _0xca75b0(_0x3efc23,_0x5e7fd1,t){return Math['min'](Math['max'](_0x3efc23,_0x5e7fd1),t);}var _0x5c67b0=['free'],_0x2f1f83=_0x39f2c0=>{let _0x402387=_0x126e70(_0x39f2c0);if(!_0x402387||0x0===_0x402387['length'])return[];let t=[];for(let _0x57359d of _0x402387){let _0x525147=_0x57359d['trim']();if(!_0x525147)continue;let _0x214100=_0x525147['indexOf'](':');if(-0x1===_0x214100&&!_0x5c67b0['includes'](_0x525147)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x525147);continue;}let _0x23f6a0=Number(_0x525147['slice'](0x0,_0x214100)),_0x53dfb4=Number(_0x525147['slice'](_0x214100+0x1));!(!Number['isFinite'](_0x23f6a0)||!Number['isFinite'](_0x53dfb4)||_0x23f6a0<=0x0||_0x53dfb4<=0x0)||_0x5c67b0['includes'](_0x525147)?t['push']({'id':_0x390713['generateFastUid'](),'type':'aspect-ratio','width':_0x5c67b0['includes'](_0x525147)?0x0:_0x23f6a0,'height':_0x5c67b0['includes'](_0x525147)?0x0:_0x53dfb4,'hasFreeform':_0x5c67b0['includes'](_0x525147)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x525147);}return t;};function _0x247869(_0x9aa19f){return _0x1837ac({..._0x9aa19f,'libraryName':_0x48ab7c,'libraryVersion':_0x213754});}var _0x240f60,_0x58522e='active',_0x49fc94='___ACTIVITY_IS_ACTIVE___',_0x5bd0b0=class _0x2362ac extends(_0x240f60=_0x35b574,_0x240f60){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=_0x53079d(this),this['lu']=_0x1503b7(this['cu']['bind'](this),0xa);}['In'](){let t=_0x2362ac['ii']['get'](this);this[_0x49fc94]=!0x1,this['removeAttribute'](_0x58522e),t?.['deactivateCallback']?.();}['uu'](){let t=_0x2362ac['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x49fc94]=!0x0,this['setAttribute'](_0x58522e,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](_0x5440a1['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',t=>{try{this['activityType']!==t&&this[_0x49fc94]?this['In']():this['activityType']===t&&!this[_0x49fc94]&&this['uu']();}catch(_0x3f4778){this['telemetryManager']['sendEventError'](_0x3f4778,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x3f4778);let _0x4b3b49=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x4b3b49??null;}t||(this['$']['*history']=[]);}));}['cu'](){let t=this['$']['*history'];t&&(t['length']>0xa&&(t=t['slice'](t['length']-0xb,t['length']-0x1)),this['historyTracked']&&t[t['length']-0x1]!==this['activityType']&&t['push'](this['activityType']),this['$']['*history']=t);}['Pn'](){return!!this['activityType']&&_0x2362ac['ii']['has'](this);}static{this['ii']=new Map();}get['isActivityActive'](){return!!this[_0x49fc94];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0x3e8af4={}){let {onActivate:_0x494535,onDeactivate:_0x40fdeb}=_0x3e8af4;_0x2362ac['ii']['set'](this,{'activateCallback':_0x494535,'deactivateCallback':_0x40fdeb});}['du'](){this['isActivityActive']&&this['In'](),_0x2362ac['ii']['delete'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Pn']()&&this['du']();}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity')??null;}get['doneActivity'](){return this['getCssData']('--cfg-done-activity')??null;}['historyBack'](){let t=this['$']['*history'];if(t){let _0x22c208=t['pop']();for(;_0x22c208===this['activityType'];)_0x22c208=t['pop']();let _0x3b4d3e=!!_0x22c208;_0x22c208&&(_0x3b4d3e=[...this['blocksRegistry']]['find'](_0x2547e9=>_0x2547e9['activityType']===_0x22c208)?.['couldOpenActivity']??!0x1),_0x22c208=_0x3b4d3e?_0x22c208:null,this['$']['*currentActivity']=_0x22c208??null,_0x22c208&&this['modalManager']?.['open'](_0x22c208),this['$']['*history']=t,_0x22c208||this['modalManager']?.['closeAll']();}}};_0x5bd0b0['activities']=_0x5b9835;var _0x327a9e=class _0x2a1ed2 extends _0x5bd0b0{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=_0x3b6acd(this),this['bo']=_0x1503b7(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x46d88f=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x46d88f,this['emit'](_0x5440a1['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x46d88f['totalCount']>0x0&&'success'===_0x46d88f['status']&&this['gu'](_0x46d88f);},0x12c),this['fu']=(t,_0x40c3e6,_0x451f5b)=>{if(this['isConnected']){(_0x40c3e6['size']||_0x451f5b['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x40c3e6]['map'](_0x1c3920=>_0x1c3920['uid']));for(let _0x32b987 of _0x40c3e6)_0x32b987['getValue']('silent')||this['emit'](_0x5440a1['FILE_ADDED'],this['api']['getOutputItem'](_0x32b987['uid'])),this['i']['wait']('pluginManager')['then'](_0x26f6f8=>_0x26f6f8['runOnAddHooks'](_0x32b987));this['validationManager']['runCollectionValidators']();for(let _0x44c81a of _0x451f5b){this['$']['*uploadTrigger']['delete'](_0x44c81a['uid']),this['validationManager']['cleanupValidationForEntry'](_0x44c81a),_0x44c81a['getValue']('abortController')?.['abort'](),_0x44c81a['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0x3cb682=_0x44c81a?.['getValue']('thumbUrl');_0x3cb682&&URL['revokeObjectURL'](_0x3cb682),this['emit'](_0x5440a1['FILE_REMOVED'],this['api']['getOutputItem'](_0x44c81a['uid']));}this['$']['*uploadList']=t['map'](_0x143ad1=>({'uid':_0x143ad1})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x2dd9dc=this['uploadCollection'],_0x328b32=[...new Set(Object['entries'](t)['filter'](([_0x2d7dc8])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x2d7dc8))['flatMap'](([,_0x104a74])=>[..._0x104a74]))];if(_0x328b32['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x337c57=_0x328b32['filter'](_0x2e4259=>t['fileInfo']?.['has'](_0x2e4259)&&!!_0x32dac1['getCtx'](_0x2e4259)?.['store']['fileInfo']);_0x337c57['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x337c57),this['validationManager']['runFileValidators']('change',_0x328b32);}),t['uploadProgress']){for(let _0x3bca5a of t['uploadProgress']){let _0x17b072=_0x32dac1['getCtx'](_0x3bca5a);if(!_0x17b072)continue;let {isUploading:_0x3c3e9e,silent:_0x39e78f}=_0x17b072['store'];_0x3c3e9e&&!_0x39e78f&&this['emit'](_0x5440a1['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x3bca5a));}this['Un']();}if(t['isUploading'])for(let _0x5e3ca5 of t['isUploading']){let _0x41194a=_0x32dac1['getCtx'](_0x5e3ca5);if(!_0x41194a)continue;let {isUploading:_0x410300,silent:_0x2ce135}=_0x41194a['store'];_0x410300&&!_0x2ce135&&this['emit'](_0x5440a1['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x5e3ca5));}if(t['fileInfo']){for(let _0xef455a of t['fileInfo']){let _0x7070cc=_0x32dac1['getCtx'](_0xef455a);if(!_0x7070cc)continue;let {fileInfo:_0x54d2f0,silent:_0xf3df9a}=_0x7070cc['store'];_0x54d2f0&&!_0xf3df9a&&this['emit'](_0x5440a1['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0xef455a));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x114f3b of t['errors']){let _0x2fb9e2=_0x32dac1['getCtx'](_0x114f3b);if(!_0x2fb9e2)continue;let {errors:_0x50c7dc}=_0x2fb9e2['store'];_0x50c7dc['length']>0x0&&(this['emit'](_0x5440a1['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x114f3b)),this['emit'](_0x5440a1['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x2a4636=_0x2dd9dc['findItems'](_0x33cfef=>!!_0x33cfef['getValue']('fileInfo')),_0x9b8a4f=_0x2dd9dc['findItems'](_0x3bbb6b=>_0x3bbb6b['getValue']('errors')['length']>0x0);_0x2dd9dc['size']>0x0&&0x0===_0x9b8a4f['length']&&_0x2dd9dc['size']===_0x2a4636['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x5440a1['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x1c367a=>!!this['uploadCollection']['read'](_0x1c367a)?.['getValue']('cdnUrl'))['forEach'](_0x4e450d=>{this['emit'](_0x5440a1['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x4e450d));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x1f9b8a=[...this['$']['*uploadTrigger']]['filter'](_0x38eacc=>!!this['uploadCollection']['read'](_0x38eacc));_0x1f9b8a['forEach'](_0x56b883=>{let _0x5d28d0=this['uploadCollection']['readProp'](_0x56b883,'uploadProgress');'number'==typeof _0x5d28d0&&(t+=_0x5d28d0);});let _0x509824=_0x1f9b8a['length']?Math['round'](t/_0x1f9b8a['length']):0x0;this['$']['*commonProgress']!==_0x509824&&(this['$']['*commonProgress']=_0x509824,this['emit'](_0x5440a1['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof _0x2a1ed2&&(t['Xi']&&t['isConnected']&&t!==this));}['initCallback'](){super['initCallback'](),this['Z']('*uploadCollection',()=>new _0x432a51({'initialValue':_0x3dcb2d,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new _0x58d24d(t)),this['Z']('*validationManager',t=>new _0x1fac98(t)),this['Z']('*publicApi',t=>new _0x1e8cdc(t)),!this['pu']&&this['couldBeCtxOwner']&&this['hu']();}['getAPI'](){return this['api'];}get['validationManager'](){return this['ie']('*validationManager');}get['api'](){return this['ie']('*publicApi');}get['uploadCollection'](){return this['ie']('*uploadCollection');}get['secureUploadsManager'](){return this['ie']('*secureUploadsManager');}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xi']&&this['Ln'](),this['bo']['cancel']();}['connectedCallback'](){super['connectedCallback'](),this['Xi']&&this['Rn']();}['hu'](){this['Xi']=!0x0,this['Rn'](),this['subConfigValue']('maxConcurrentRequests',t=>{this['$']['*uploadQueue']['concurrency']=Number(t)||0x1;});}['Rn'](){this['Ln'](),this['vo']=this['uploadCollection']['observeCollection'](this['fu']),this['yo']=this['uploadCollection']['observeProperties'](this['mu']);}['Ln'](){this['yo']?.(),this['vo']?.(),this['yo']=void 0x0,this['vo']=void 0x0;}async['gu'](t){let _0x35264d=await this['getUploadClientOptions'](),_0x5280ed=t['allEntries']['map'](_0x56e278=>_0x56e278['uuid']+(_0x56e278['cdnUrlModifiers']?'/'+_0x56e278['cdnUrlModifiers']:'')),_0xf04bf9=new AbortController(),_0x3c5508=await _0xd72cfe(_0x5280ed,{..._0x35264d,'signal':_0xf04bf9['signal']});if(this['$']['*collectionState']!==t)return void _0xf04bf9['abort']();this['$']['*groupInfo']=_0x3c5508;let _0x34f67d=this['api']['getOutputCollectionState']();this['emit'](_0x5440a1['GROUP_CREATED'],_0x34f67d),this['emit'](_0x5440a1['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x34f67d;}['vu'](){let t=_0x2f1f83(this['cfg']['cropPreset']);if(!t)return;let [_0x285a85]=t,_0x27be19=this['uploadCollection']['findItems'](_0x11b4e3=>!!_0x11b4e3['getValue']('fileInfo')&&_0x11b4e3['getValue']('isImage')&&!_0x11b4e3['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x161e27=>this['uploadCollection']['read'](_0x161e27))['filter'](Boolean);for(let _0x2f62d2 of _0x27be19){let _0x783e2=_0x2f62d2['getValue']('fileInfo');if(!_0x783e2||!_0x783e2['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x2f62d2['uid']);continue;}let {width:_0x5294ee,height:_0x42dc13}=_0x783e2['imageInfo'],_0x1702a2=_0x3f09a8(_0x5294ee,_0x42dc13,'number'==typeof _0x285a85?.['width']&&'number'==typeof _0x285a85?.['height']&&_0x285a85['width']>0x0&&_0x285a85['height']>0x0?_0x285a85['width']/_0x285a85['height']:0x1),_0x430e2b=_0x34859c('crop/'+_0x1702a2['width']+'x'+_0x1702a2['height']+'/'+_0x1702a2['x']+','+_0x1702a2['y'],'preview'),_0x45399d=_0x2f62d2['getValue']('cdnUrl');_0x45399d?_0x2f62d2['setMultipleValues']({'cdnUrlModifiers':_0x430e2b,'cdnUrl':_0x17642b(_0x45399d,_0x430e2b)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x2f62d2['uid']);}}async['getMetadataFor'](t){let _0x322982=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x322982){let _0x62c557=this['api']['getOutputItem'](t);return await _0x322982(_0x62c557);}return _0x322982;}async['getUploadClientOptions'](){let t=await this['secureUploadsManager']['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':_0x247869,'integration':this['cfg']['userAgentIntegration'],'secureSignature':t?.['secureSignature'],'secureExpire':t?.['secureExpire'],'retryThrottledRequestMaxTimes':this['cfg']['retryThrottledRequestMaxTimes'],'retryNetworkErrorMaxTimes':this['cfg']['retryNetworkErrorMaxTimes'],'multipartMinFileSize':this['cfg']['multipartMinFileSize'],'multipartChunkSize':this['cfg']['multipartChunkSize'],'maxConcurrentRequests':this['cfg']['multipartMaxConcurrentRequests'],'multipartMaxAttempts':this['cfg']['multipartMaxAttempts'],'checkForUrlDuplicates':!!this['cfg']['checkForUrlDuplicates'],'saveUrlForRecurrentUploads':!!this['cfg']['saveUrlForRecurrentUploads']};}['getOutputData'](){return _0x110fc2(this['i']);}};_0x327a9e['extSrcList']=Object['freeze']({..._0x29aeee}),_0x327a9e['sourceTypes']=Object['freeze']({..._0x3bc093});var _0x341700=class extends _0x35b574{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x38ebef=>{this['$n']=_0x38ebef,this['wo']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['wo']()));}['willUpdate'](t){super['willUpdate'](t),t['has']('name')&&this['wo']();}['wo'](){if(!this['name'])return this['Qi']='',void(this['ri']=null);let _0x44ccd5=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x47eafe=>_0x47eafe['name']===this['name']);if(_0x44ccd5)return this['ri']=_0x44ccd5['svg'],void(this['Qi']='');this['ri']=null;let _0x1963e1='#uc-icon-'+this['name'],_0x474209=this['$n']?.(this['name']);this['Qi']=_0x474209??_0x1963e1;}['render'](){return this['ri']?_0x5363a9`${this['yield']('',_0x5363a9`${_0x25d142(this['ri'])}`)}`:_0x5363a9` ${this['yield']('',_0x5363a9`<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><use href=${this['Qi']}></use></svg>`)} `;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x2c1f84([_0x23c236({'type':String})],_0x341700['prototype'],'name',0x2),_0x2c1f84([_0x5e1929()],_0x341700['prototype'],'Qi',0x2),_0x2c1f84([_0x5e1929()],_0x341700['prototype'],'ri',0x2);var _0x1dd949='--uc-img-',_0x285f82='unresolved',_0x33d478=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x546762=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x3410cb=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':'https://ucarecdn.com'},'proxy-cname':{},'secure-delivery-proxy':{},'hi-res-support':{'default':0x1},'ultra-res-support':{},'format':{},'cdn-operations':{},'progressive':{},'quality':{},'is-background-for':{},'is-preview-blur':{'default':0x1}}),_0x1ee63f=class extends _0x41eb5f(_0x59b154(_0x231da1)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in _0x3410cb){let _0x2c7e69=_0x3410cb[t];this['Mt'][_0x1dd949+t]=_0x2c7e69?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][_0x1dd949+t];}['set$$'](t){for(let _0x10d814 in t){let _0x33aa3e=_0x1dd949+_0x10d814,_0x5a7ad7=t[_0x10d814];this['Mt'][_0x33aa3e]=_0x5a7ad7,this['q'](_0x33aa3e,_0x5a7ad7);}}['sub$$'](t,_0x57229d){let _0x5fd976=_0x1dd949+t;this['c']['has'](_0x5fd976)||this['c']['set'](_0x5fd976,new Set()),this['c']['get'](_0x5fd976)?.['add'](_0x57229d);let _0x8869df=this['Mt'][_0x5fd976];null!==_0x8869df&&''!==_0x8869df&&_0x57229d(_0x8869df);}['q'](t,_0x10a398){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x15f560=>{null===_0x10a398||''===_0x10a398||_0x15f560(_0x10a398);});}['analyticsParams'](){return'-/@clib/'+_0x48ab7c+'/'+_0x213754+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0x4b78b6=>{let _0x55214a=_0x4b78b6;_0x3410cb[_0x55214a['name']]||t['setAttribute'](_0x55214a['name'],_0x55214a['value']);});}['initIntersection'](t,_0x23b2d4){this['Ot']=new IntersectionObserver(_0x1d2da5=>{_0x1d2da5['forEach'](_0xac96f1=>{_0xac96f1['isIntersecting']&&(_0x23b2d4(),this['Ot']?.['unobserve'](t));});},{'root':null,'rootMargin':'0px'}),this['Ot']['observe'](t),this['Ji']||(this['Ji']=new Set()),this['Ji']['add'](t);}['connectedCallback'](){super['connectedCallback'](),this['yu']();}['yu'](){for(let t in _0x3410cb){let _0x1f6b1f=_0x1dd949+t,_0x2f296e=this['getCssData'](_0x1f6b1f,!0x0);null!=_0x2f296e&&(this['Mt'][_0x1f6b1f]=_0x2f296e);}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Ot']&&(this['Ji']?.['forEach'](t=>{this['Ot']?.['unobserve'](t);}),this['Ot']=null),this['c']['clear']();}static get['observedAttributes'](){return Object['keys'](_0x3410cb);}['attributeChangedCallback'](t,_0x26a175,_0x3b41a6){window['setTimeout'](()=>{let _0x1e18b4=_0x1dd949+t;this['Mt'][_0x1e18b4]=_0x3b41a6,this['q'](_0x1e18b4,_0x3b41a6);});}},_0x468038=class extends _0x1ee63f{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!_0x33d478&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x31d28d=t,_0x4141da=_0x31d28d['match'](/\d+/)?.[0x0],_0x4b219b=_0x31d28d['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x4141da||!_0x4b219b)return;let _0x57fce9=parseInt(_0x4141da,0xa);return Number(_0x57fce9)>0x1388&&this['Fn']?0x1388+_0x4b219b:Number(_0x57fce9)>0xbb8&&!this['Fn']?0xbb8+_0x4b219b:t;}['bu'](t,_0x421a33){let _0x879024={'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x421a33,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()};return _0x34859c(...(_0xfc4331=>Object['entries'](_0xfc4331)['filter'](([_0x582856,t])=>void 0x0!==t&&''!==t)['map'](([_0x4ad33d,t])=>'cdn-operations'===_0x4ad33d||'analytics'===_0x4ad33d?t:_0x4ad33d+'/'+t))(_0x879024));}['To'](t){let _0x256a74=this['$$'](t);if(null==_0x256a74||'string'==typeof _0x256a74||'number'==typeof _0x256a74||'boolean'==typeof _0x256a74)return _0x256a74;}['re'](t='',_0x30c354=''){let _0x54efa6=this['$$']('src');if(_0x54efa6['startsWith']('data:')||_0x54efa6['startsWith']('blob:'))return _0x54efa6;if(_0x33d478&&_0x54efa6&&!_0x54efa6['includes']('//'))return this['oi'](_0x54efa6);let _0x3c75f1=this['bu'](t,_0x30c354),_0x522785=this['$$']('cdn-cname'),_0x9fccfc=_0x522785;if(_0x54efa6['startsWith'](String(_0x522785)))return _0x17642b(_0x54efa6,_0x3c75f1);let _0x1aa992=this['$$']('uuid');if(_0x9fccfc&&_0x1aa992)return this['oi'](_0x17642b(_0x29d43b(_0x9fccfc,_0x1aa992),_0x3c75f1));if(_0x1aa992)return this['oi'](_0x17642b(_0x29d43b(_0x9fccfc,_0x1aa992),_0x3c75f1));let _0x524c95=this['$$']('proxy-cname');if(_0x524c95)return this['oi'](_0x17642b(_0x524c95,_0x3c75f1,this['Dn'](_0x54efa6)));let _0x5315e4=this['$$']('pubkey');return _0x5315e4?this['oi'](_0x17642b('https://'+_0x5315e4+'.ucr.io/',_0x3c75f1,this['Dn'](_0x54efa6))):void 0x0;}['oi'](t){let _0xd2c450=this['$$']('secure-delivery-proxy');return _0xd2c450?_0xbe9c14(_0xd2c450,{'previewUrl':t},{'transform':_0x10b6d1=>window['encodeURIComponent'](_0x10b6d1)}):t;}['It'](t,_0x2e5df8=0x1,_0x5974fc=!0x0){let _0xd174f6=t['getBoundingClientRect'](),_0x4dcf53=_0x2e5df8*Math['round'](_0xd174f6['width']),_0x2cfff5=_0x5974fc?'':_0x2e5df8*Math['round'](_0xd174f6['height']);return _0x4dcf53||_0x2cfff5?(_0x4dcf53||'')+'x'+(_0x2cfff5||''):null;}['wu'](t){let _0x4cb9ce=_0x52b114=>{_0x52b114['stopPropagation']();let _0x24f7a6=new Event(_0x52b114['type'],_0x52b114);this['dispatchEvent'](_0x24f7a6);},_0x3fdb25=['load','error'];for(let _0x9ca6b8 of _0x3fdb25)t['addEventListener'](_0x9ca6b8,_0x4cb9ce);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':_0x546762['PREVIEW'],'img':this['pe']}:{'type':_0x546762['MAIN'],'img':this['img']};}get['we'](){return this['$$']('is-preview-blur');}get['Nn'](){return this['$$']('is-background-for');}get['Vn'](){let t=this['$$']('breakpoints');if(t)return(_0x3fd220=>[...new Set(_0x3fd220)])(_0x126e70(t)['map'](_0x57ac5b=>parseInt(_0x57ac5b,0xa)));return null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x5693bc=new Set();_0x5693bc['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x5693bc['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x5693bc['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x47497a='image-set('+[..._0x5693bc]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x47497a),t['style']['setProperty']('background-image','-webkit-'+_0x47497a);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x3396f1=>{t['add'](this['re'](_0x3396f1+'x')+'\x20'+this['er'](_0x3396f1+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x3396f1+'x')+'\x20'+this['er'](0x2*_0x3396f1+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x3396f1+'x')+'\x20'+this['er'](0x3*_0x3396f1+'w'));}):(t['add'](this['re'](this['It'](this['tr']['img']))+'\x201x'),this['$$']('hi-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x3))+'\x203x')),[...t]['join']();}['zn'](){return this['re']();}get['Hn'](){return this['re']('100x','100');}['Tu'](){let t=this['Nn'];[...document['querySelectorAll'](t)]['forEach'](_0x5b811e=>{this['$$']('intersection')?this['initIntersection'](_0x5b811e,()=>{this['_n'](_0x5b811e);}):this['_n'](_0x5b811e);});}['Eu']({elNode:t,src:_0x45eeda,srcset:_0x20e299}){_0x45eeda&&(t['src']=_0x45eeda),_0x20e299&&(t['srcset']=_0x20e299);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x52f4e3,elNode:_0x5df4ef}){return new Promise((_0x1c557f,_0xf2b6f3)=>{this['Eo']({'elNode':_0x5df4ef}),_0x5df4ef['setAttribute'](_0x285f82,''),_0x5df4ef['addEventListener']('load',()=>{_0x5df4ef['removeAttribute'](_0x285f82),_0x1c557f(_0x5df4ef);}),_0x5df4ef['addEventListener']('error',()=>{_0xf2b6f3(!0x1);}),this['Eu']({'elNode':_0x5df4ef,'src':t,'srcset':_0x52f4e3});});}async['xu'](){if(this['$$']('intersection'))return this['we']&&(this['Eo']({'elNode':this['pe']}),this['appendChild'](this['pe'])),void this['initIntersection'](this['tr']['img'],async()=>{this['we']&&(this['pe']['src']=this['Hn']);try{await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}});try{this['we']&&(await this['xo']({'src':this['Hn'],'elNode':this['pe']}),this['appendChild'](this['pe'])),await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}}['init'](){this['Nn']?this['Tu']():this['xu']();}},{I:_0x468dc4}=_0x457902,_0x357c19=_0xee0b5a=>_0xee0b5a,_0x3c6bc2=()=>document['createComment'](''),_0x317ff6=(_0x22405f,_0x1d1b2d,t)=>{let _0x4f57c0=_0x22405f['ve']['parentNode'],_0x36552a=void 0x0===_0x1d1b2d?_0x22405f['yt']:_0x1d1b2d['ve'];if(void 0x0===t){let _0x1e431f=_0x4f57c0['insertBefore'](_0x3c6bc2(),_0x36552a),_0x16e1c2=_0x4f57c0['insertBefore'](_0x3c6bc2(),_0x36552a);t=new _0x468dc4(_0x1e431f,_0x16e1c2,_0x22405f,_0x22405f['options']);}else{let _0x31e3de=t['yt']['nextSibling'],_0x5e55d9=t['f'],_0x169fd3=_0x5e55d9!==_0x22405f;if(_0x169fd3){let _0x5045cc;t['Cu']?.(_0x22405f),t['f']=_0x22405f,void 0x0!==t['Ui']&&(_0x5045cc=_0x22405f['W'])!==_0x5e55d9['W']&&t['Ui'](_0x5045cc);}if(_0x31e3de!==_0x36552a||_0x169fd3){let _0x494273=t['ve'];for(;_0x494273!==_0x31e3de;){let _0x58e0fd=_0x357c19(_0x494273)['nextSibling'];_0x357c19(_0x4f57c0)['insertBefore'](_0x494273,_0x36552a),_0x494273=_0x58e0fd;}}}return t;},_0x58292f=(_0x30c608,_0x34e361,t=_0x30c608)=>(_0x30c608['ce'](_0x34e361,t),_0x30c608),_0x57f2e0={},_0x1087fa=_0x1f8d60=>{_0x1f8d60['bt'](),_0x1f8d60['ve']['remove']();},_0x29d158=(_0x1576f4,_0x54e86f)=>{let t=_0x1576f4['le'];if(void 0x0===t)return!0x1;for(let _0xa39898 of t)_0xa39898['qs']?.(_0x54e86f,!0x1),_0x29d158(_0xa39898,_0x54e86f);return!0x0;},_0x5dc0cd=_0x5dc6c7=>{let _0x179298,t;do{if(void 0x0===(_0x179298=_0x5dc6c7['f']))break;t=_0x179298['le'],t['delete'](_0x5dc6c7),_0x5dc6c7=_0x179298;}while(0x0===t?.['size']);},_0x375bb3=_0x46d595=>{for(let _0x351930;_0x351930=_0x46d595['f'];_0x46d595=_0x351930){let t=_0x351930['le'];if(void 0x0===t)_0x351930['le']=t=new Set();else{if(t['has'](_0x46d595))break;}t['add'](_0x46d595),_0x2acf8b(_0x351930);}};function _0x47fc4d(_0x14cee5){void 0x0!==this['le']?(_0x5dc0cd(this),this['f']=_0x14cee5,_0x375bb3(this)):this['f']=_0x14cee5;}function _0x5b0ee7(_0x567d58,_0x905ccc=!0x1,t=0x0){let _0x2791c7=this['r'],_0xc98c35=this['le'];if(void 0x0!==_0xc98c35&&0x0!==_0xc98c35['size']){if(_0x905ccc){if(Array['isArray'](_0x2791c7)){for(let _0x4c6978=t;_0x4c6978<_0x2791c7['length'];_0x4c6978++)_0x29d158(_0x2791c7[_0x4c6978],!0x1),_0x5dc0cd(_0x2791c7[_0x4c6978]);}else null!=_0x2791c7&&(_0x29d158(_0x2791c7,!0x1),_0x5dc0cd(_0x2791c7));}else _0x29d158(this,_0x567d58);}}var _0x2acf8b=_0x1f934b=>{_0x1f934b['type']==_0x5f457c&&(_0x1f934b['Ui']??=_0x5b0ee7,_0x1f934b['Cu']??=_0x47fc4d);},_0x4f7c2b=class extends _0xdb4d60{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x41b15d,t,_0x35f0e9){super['Wr'](_0x41b15d,t,_0x35f0e9),_0x375bb3(this),this['isConnected']=_0x41b15d['W'];}['qs'](_0x43c4ea,t=!0x0){_0x43c4ea!==this['isConnected']&&(this['isConnected']=_0x43c4ea,_0x43c4ea?this['reconnected']?.():this['disconnected']?.()),t&&(_0x29d158(this,_0x43c4ea),_0x5dc0cd(this));}['setValue'](_0x456f6e){if((_0x54942d=>void 0x0===_0x54942d['strings'])(this['Wi']))this['Wi']['ce'](_0x456f6e,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x456f6e,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},_0x6c7017=()=>new _0x524385(),_0x524385=class{},_0x5c2077=new WeakMap(),_0x44edaf=_0x16cc07(class extends _0x4f7c2b{['render'](_0x541cf8){return _0x194372;}['update'](_0x3e81a0,[_0x3894da]){let t=_0x3894da!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x3894da,this['ht']=_0x3e81a0['options']?.['host'],this['rt'](this['ct']=_0x3e81a0['element'])),_0x194372;}['rt'](_0x3fb589){if(this['isConnected']||(_0x3fb589=void 0x0),'function'==typeof this['G']){let _0x2a7cbe=this['ht']??globalThis,t=_0x5c2077['get'](_0x2a7cbe);void 0x0===t&&(t=new WeakMap(),_0x5c2077['set'](_0x2a7cbe,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0x3fb589),void 0x0!==_0x3fb589&&this['G']['call'](this['ht'],_0x3fb589);}else this['G']['value']=_0x3fb589;}get['lt'](){return'function'==typeof this['G']?_0x5c2077['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),_0x49376b=null,_0x367140=class extends _0x35b574{constructor(){super(...arguments),this['dialogEl']=_0x6c7017(),this['strokes']=!0x1,this['blockBodyScrolling']=!0x1,this['closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='',this['$']['*currentActivity']=null);},this['Su']=()=>{this['closeDialog']();},this['Au']=t=>{this['Co']=t['target'];},this['ku']=t=>{let _0x20195c=t['target'];_0x20195c===this['dialogEl']['value']&&_0x20195c===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(_0x49376b=t,this['show'](),this['emit'](_0x5440a1['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](_0x5440a1['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),_0x49376b===this['id']&&this['emit'](_0x5440a1['MODAL_CLOSE'],{'modalId':_0x49376b,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-modal'];}async['show'](){await this['updateComplete'];let t=this['dialogEl']['value'];'function'==typeof t['showModal']?(this['setAttribute']('aria-modal','true'),t['showModal']()):t['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){let t=this['dialogEl']['value'];t&&('function'==typeof t['close']?(this['setAttribute']('aria-modal','false'),t['close']()):t['removeAttribute']('open'));}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this),this['subConfigValue']('modalBackdropStrokes',t=>{t?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['modalManager']?.['subscribe'](_0x310326['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x310326['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](_0x310326['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](_0x310326['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x310326['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](_0x310326['CLOSE_ALL'],this['Kn']);}['Mu'](t){this['dialogEl']={'value':t},this['dialogEl']['value']?.['addEventListener']('close',this['Su']),this['dialogEl']['value']?.['addEventListener']('mousedown',this['Au']),this['dialogEl']['value']?.['addEventListener']('mouseup',this['ku']);}['render'](){return _0x5363a9`<dialog ${_0x44edaf(this['Mu'])}>${this['yield']('')}</dialog>`;}};_0x2c1f84([_0x23c236({'type':Boolean,'noAccessor':!0x0})],_0x367140['prototype'],'strokes',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],_0x367140['prototype'],'blockBodyScrolling',0x2);var _0x464c4c=class extends _0x327a9e{constructor(){super(...arguments),this['z']=null,this['ir']=null;}get['jn'](){return this['nameAttrValue']??this['ctxName'];}['Gn'](){let t=document['createElement']('input');return t['type']='text',t['name']=this['jn'],t['required']=this['cfg']['multipleMin']>0x0,t['tabIndex']=-0x1,_0x1dfb73(t,{'opacity':0x0,'height':0x0,'width':0x0}),t;}['initCallback'](){super['initCallback'](),this['z']=this['Gn'](),this['appendChild'](this['z']),this['sub']('*collectionState',t=>{if(!t)return;if(!this['ir']){let _0x4cb46e=document['createElement']('div');this['appendChild'](_0x4cb46e),this['ir']=_0x4cb46e;}if(!this['z']){let _0x3fde52=this['Gn']();this['appendChild'](_0x3fde52),this['z']=_0x3fde52;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x2497ef=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x2497ef??'');}let _0x582d1c=t['group']?t['group']:null;if(_0x582d1c)return this['z']['value']=_0x582d1c['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x150def=t['allEntries']['map'](_0x2a67f0=>_0x2a67f0['cdnUrl'])['filter'](_0x5e67db=>'string'==typeof _0x5e67db);if(!this['cfg']['multiple']&&0x1===_0x150def['length']&&_0x150def[0x0])return this['z']['value']=_0x150def[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0x55b9c3=new DocumentFragment();for(let _0x363bb3 of _0x150def){let _0x6376bd=document['createElement']('input');_0x6376bd['type']='hidden',_0x6376bd['name']=this['jn']+'[]',_0x6376bd['value']=_0x363bb3,_0x55b9c3['appendChild'](_0x6376bd);}this['ir']['replaceChildren'](_0x55b9c3);},!0x1);}};_0x2c1f84([_0x23c236({'type':String,'noAccessor':!0x0,'attribute':'name'})],_0x464c4c['prototype'],'nameAttrValue',0x2);var _0x46a652=class extends _0x35b574{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=_0x6c7017(),this['qn']=()=>{let t=this['rr']['value'];if(t){if(!this['visible'])return void t['classList']['add']('uc-fake-progress--hidden');this['oe']>0x0&&t['classList']['add']('uc-fake-progress--hidden');}};}['firstUpdated'](t){super['firstUpdated'](t),this['oe']=this['So'](this['value']),this['Ao'](),this['rr']['value']?.['addEventListener']('animationiteration',this['qn']);}['updated'](t){if(super['updated'](t),t['has']('value')){let _0xebc69a=this['So'](this['value']);if(this['visible']){let _0x2a651a=Math['max'](this['oe'],_0xebc69a);_0x2a651a!==this['oe']&&(this['oe']=_0x2a651a,this['Ao']());}else this['oe']=_0xebc69a;}t['has']('visible')&&(this['classList']['toggle']('uc-progress-bar--hidden',!this['visible']),this['visible']?this['Ao']():this['oe']=this['So'](this['value']));}['disconnectedCallback'](){super['disconnectedCallback'](),this['rr']['value']?.['removeEventListener']('animationiteration',this['qn']);}['So'](t){return Number['isFinite'](t)?Math['min'](0x64,Math['max'](0x0,t)):0x0;}['Ao'](){this['visible']&&this['style']['setProperty']('--l-progress-value',this['oe']['toString']());}['render'](){return _0x5363a9`<div ${_0x44edaf(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};_0x2c1f84([_0x23c236({'type':Boolean,'noAccessor':!0x0})],_0x46a652['prototype'],'hasFileName',0x2),_0x2c1f84([_0x23c236({'type':Number})],_0x46a652['prototype'],'value',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x46a652['prototype'],'visible',0x2);var _0x3f0ef1=class extends _0x327a9e{constructor(){super(),this['he']=!0x1,this['Pt']=0x0,this['init$']={...this['init$'],'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['ko']=this['uploadCollection']['observeProperties'](()=>{let t=this['uploadCollection']['items']()['some'](_0x441789=>this['uploadCollection']['read'](_0x441789)?.['getValue']('isUploading')??!0x1);this['he']=t;}),this['sub']('*commonProgress',t=>{this['Pt']=t;});}['updated'](t){super['updated'](t),t['has']('visible')&&(this['he']?this['setAttribute']('active',''):this['removeAttribute']('active'));}['disconnectedCallback'](){super['disconnectedCallback'](),this['ko']?.(),this['ko']=void 0x0;}['render'](){return _0x5363a9`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};_0x2c1f84([_0x5e1929()],_0x3f0ef1['prototype'],'he',0x2),_0x2c1f84([_0x5e1929()],_0x3f0ef1['prototype'],'Pt',0x2);var _0x769e0d=class extends _0x35b574{constructor(){super(...arguments),this['value']='',this['disabled']=!0x1,this['options']=[],this['Ou']=t=>{if(this['disabled'])return t['preventDefault'](),void t['stopPropagation']();t['preventDefault'](),t['stopPropagation']();let _0x406d1d=t['currentTarget'];_0x406d1d&&(this['value']=_0x406d1d['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return _0x5363a9`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>_0x5363a9`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};_0x2c1f84([_0x23c236({'type':String,'attribute':!0x1})],_0x769e0d['prototype'],'value',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x769e0d['prototype'],'disabled',0x2),_0x2c1f84([_0x23c236({'type':Array,'attribute':!0x1})],_0x769e0d['prototype'],'options',0x2);var tV=class extends _0x327a9e{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Mo']='default',this['Oo']='';}['willUpdate'](t){super['willUpdate'](t),t['has']('source')&&this['Iu'](this['source']);}['Iu'](t){if(!t)return this['Oo']='',void(this['Mo']='default');let {label:_0x20eedd,icon:_0x592129,id:_0x5450a1}=t;this['Oo']=_0x20eedd,this['Mo']=_0x592129??_0x5450a1??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return _0x5363a9`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};_0x2c1f84([_0x23c236({'attribute':!0x1})],tV['prototype'],'source',0x2),_0x2c1f84([_0x5e1929()],tV['prototype'],'Mo',0x2),_0x2c1f84([_0x5e1929()],tV['prototype'],'Oo',0x2);var _0x2abab8=class extends _0x327a9e{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x167d37=>{this['Wn']=_0x126e70(_0x167d37),this['Zn']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Zn']()));}['updated'](t){super['updated'](t),this['cfg']['sourceListWrap']?this['style']['removeProperty']('display'):this['style']['display']='contents';}['Zn'](){let _0x501b17=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x16f59a=new Map(_0x501b17['map'](_0x335df6=>[_0x335df6['id'],_0x335df6])),_0x10761f=[];this['Wn']['forEach'](_0x5c5554=>{let _0x39593f=this['Pu'](_0x5c5554,_0x16f59a);if(0x1!==_0x39593f['length']||_0x39593f[0x0]!==_0x5c5554){for(let _0x591086 of _0x39593f){let _0x1b7f8a=_0x16f59a['get'](_0x591086);_0x1b7f8a&&_0x10761f['push'](this['Yn'](_0x1b7f8a));}return;}let _0x556368=_0x16f59a['get'](_0x5c5554);_0x556368&&_0x10761f['push'](this['Yn'](_0x556368));}),this['Me']=_0x10761f;}['Pu'](t,_0x3a75ba){let _0x4500a7=_0x3a75ba['get'](t);return _0x4500a7?.['expand']?_0x4500a7['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return _0x5363a9`${this['Me']['map'](t=>_0x5363a9`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x2c1f84([_0x5e1929()],_0x2abab8['prototype'],'Me',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],_0x2abab8['prototype'],'wrap',0x2);var _0x358ac3='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x583135(_0x5a851a){let _0x3699a9=new Image();return{'promise':new Promise((_0x3cb79e,_0x2a7572)=>{_0x3699a9['src']=_0x5a851a,_0x3699a9['onload']=()=>_0x3cb79e(),_0x3699a9['onerror']=_0x5e42f7=>_0x2a7572(_0x5e42f7);}),'image':_0x3699a9,'cancel':()=>{0x0===_0x3699a9['naturalWidth']&&(_0x3699a9['src']=_0x358ac3);}};}function _0x10dc40(_0x346cbc){let _0x5d8492=[];for(let _0x3a17ce of _0x346cbc){let _0x3064f3=_0x583135(_0x3a17ce);_0x5d8492['push'](_0x3064f3);}let t=_0x5d8492['map'](_0x184e44=>_0x184e44['image']);return{'promise':Promise['allSettled'](_0x5d8492['map'](_0x39903e=>_0x39903e['promise'])),'images':t,'cancel':()=>{_0x5d8492['forEach'](_0x50db07=>{_0x50db07['cancel']();});}};}function _0x129ca4(_0x606631,_0x56924f=0x28){if('image/svg+xml'===_0x606631['type'])return URL['createObjectURL'](_0x606631);let t=document['createElement']('canvas'),_0x2e41d5=t['getContext']('2d');if(!_0x2e41d5)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x2e16f8=new Image(),_0x3674e0=new Promise((_0x14b772,_0x591503)=>{_0x2e16f8['onload']=()=>{let _0x2dd7b5=_0x2e16f8['height']/_0x2e16f8['width'];_0x2dd7b5>0x1?(t['width']=_0x56924f,t['height']=_0x56924f*_0x2dd7b5):(t['height']=_0x56924f,t['width']=_0x56924f/_0x2dd7b5),_0x2e41d5['fillStyle']='rgb(240,\x20240,\x20240)',_0x2e41d5['fillRect'](0x0,0x0,t['width'],t['height']),_0x2e41d5['drawImage'](_0x2e16f8,0x0,0x0,t['width'],t['height']),t['toBlob'](_0xa77c7=>{if(!_0xa77c7)return void _0x591503();let _0x24142b=URL['createObjectURL'](_0xa77c7);_0x14b772(_0x24142b);});},_0x2e16f8['onerror']=_0x3188e9=>{_0x591503(_0x3188e9);};});return _0x2e16f8['src']=URL['createObjectURL'](_0x606631),_0x3674e0;}var _0x109484=class extends _0x327a9e{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x1dfa88)=>{let _0xc32a45=this['entry'];if(_0xc32a45)return t(_0xc32a45,..._0x1dfa88);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x4373f0){this['withEntry']((_0x1dcaf8,_0x15396d,_0x4ea4ec)=>{let _0x1294f6=_0x1dcaf8['subscribe'](_0x15396d,_0x49c35d=>{this['isConnected']&&_0x4ea4ec(_0x49c35d);});this['or']['add'](_0x1294f6);})(t,_0x4373f0);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function _0x59682b(_0x4c0dd3='hsl(209,\x2021%,\x2065%)',_0x3c76b1=0x20,t=0x20){return function(_0x1dec86){let _0x5d4be1=new Blob([_0x1dec86],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x5d4be1);}('<svg\x20width=\x22'+_0x3c76b1+'\x22\x20height=\x22'+t+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x4c0dd3+'\x22\x20d=\x22M9.68848\x208.70068C9.68848\x208.42454\x209.91233\x208.20068\x2010.1885\x208.20068H15.0885C15.2211\x208.20068\x2015.3483\x208.25336\x2015.442\x208.34713L20.342\x2013.2471C20.4358\x2013.3409\x2020.4885\x2013.4681\x2020.4885\x2013.6007V21.3007C20.4885\x2021.5768\x2020.2646\x2021.8007\x2019.9885\x2021.8007H10.1885C9.91233\x2021.8007\x209.68848\x2021.5768\x209.68848\x2021.3007V8.70068ZM10.6885\x209.20068V20.8007H19.4885V14.1007L15.0885\x2014.1007C14.8123\x2014.1007\x2014.5885\x2013.8768\x2014.5885\x2013.6007L14.5885\x209.20068H10.6885ZM15.5885\x209.90779L18.7814\x2013.1007L15.5885\x2013.1007L15.5885\x209.90779Z\x22/></svg>');}var _0x48464c=class extends _0x109484{constructor(){super(...arguments),this['badgeIcon']='',this['uid']='',this['Le']='',this['Xn']=!0x1,this['sr']=null,this['Qn']=!0x1,this['Lu']=this['cfg']['filesViewMode'],this['Jn']=this['withEntry'](async(t,_0x20c9cf=!0x1)=>{let _0x6914f6=t['getValue']('fileInfo'),_0x4fcd62=t['getValue']('isImage'),_0x106250=t['getValue']('uuid'),_0x4374b4=t['getValue']('thumbUrl'),_0x1ac869=this['Ru'](_0x20c9cf);if(_0x6914f6&&_0x4fcd62&&_0x106250){let _0x26a325=await this['proxyUrl'](_0x17642b(_0x29d43b(this['cfg']['cdnCname'],_0x106250),_0x34859c(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x1ac869+'x'+_0x1ac869+'/center')));if(_0x4374b4===_0x26a325)return;let {promise:_0x3e40db}=_0x583135(_0x26a325);return void _0x3e40db['then'](()=>{t['setValue']('thumbUrl',_0x26a325),_0x4374b4?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x4374b4);})['catch'](async()=>{if(!_0x4374b4?.['startsWith']('blob:'))try{let _0x3e0048=t['getValue']('file');if(!_0x3e0048)return;let _0x5e1cd1=await _0x129ca4(_0x3e0048,_0x1ac869);t['setValue']('thumbUrl',_0x5e1cd1);}catch(_0x3e7942){this['telemetryManager']['sendEventError'](_0x3e7942,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x539270=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x59682b(_0x539270));}});}if(t['getValue']('thumbUrl'))return;let _0x344e24=t['getValue']('file');if(_0x344e24?.['type']['includes']('image'))try{let _0x4dca63=await _0x129ca4(_0x344e24,_0x1ac869);t['setValue']('thumbUrl',_0x4dca63);}catch(_0x3a9255){this['telemetryManager']['sendEventError'](_0x3a9255,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0xc9f6d0=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x59682b(_0xc9f6d0));}else{let _0x5d0a35=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x59682b(_0x5d0a35));}}),this['nr']=_0x1503b7(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0xfec9b1=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0xfec9b1*=window['devicePixelRatio']),Math['min'](_0xfec9b1,0xbb8);}['Uu'](t,_0x2332f4){return new Promise((_0x9e8c9e,_0x3fb0c0)=>{let _0x2a4431=new Image();_0x2a4431['decoding']='async';let _0x9bccc7=()=>{_0x2a4431&&(_0x2a4431['onload']=null,_0x2a4431['onerror']=null,_0x2a4431['src']=_0x358ac3,_0x2332f4?.['removeEventListener']('abort',_0x67a853),_0x2a4431=null);},_0x67a853=()=>{_0x9bccc7(),_0x3fb0c0(new DOMException('Aborted','AbortError'));};if(_0x2332f4){if(_0x2332f4['aborted'])return void _0x67a853();_0x2332f4['addEventListener']('abort',_0x67a853,{'once':!0x0});}let _0x3b1ab5=()=>{_0x9bccc7(),_0x9e8c9e();},_0x4b0f65=_0x4a65f5=>{_0x9bccc7(),_0x3fb0c0(_0x4a65f5);};if('function'==typeof _0x2a4431['decode'])return _0x2a4431['src']=t,void _0x2a4431['decode']()['then'](_0x3b1ab5)['catch'](_0x4b0f65);_0x2a4431['onload']=_0x3b1ab5,_0x2a4431['onerror']=_0x4b0f65,_0x2a4431['src']=t;});}['Po'](){this['Io']?.['cancel'](),this['Io']=void 0x0;}['$u'](t){if(this['Po'](),!t)return void(this['Le']&&(this['Le']=''));if(t===this['Le'])return;let _0x1790b1=new AbortController(),_0x58aa67={'controller':_0x1790b1,'cancel':()=>{_0x1790b1['abort'](),void 0x0!==_0x58aa67['rafId']&&window['cancelAnimationFrame'](_0x58aa67['rafId']);}};this['Io']=_0x58aa67,this['Uu'](t,_0x1790b1['signal'])['then'](()=>{_0x1790b1['signal']['aborted']||(_0x58aa67['rafId']=window['requestAnimationFrame'](()=>{_0x1790b1['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x5584a0=>{_0x1790b1['signal']['aborted']||_0x5584a0 instanceof DOMException&&'AbortError'===_0x5584a0['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x5584a0);});}['ar'](t=!0x1){if(this['entry']){if(t)return void this['Jn'](!0x0);this['Qn']&&this['nr']();}}['firstUpdated'](t){super['firstUpdated'](t),this['ea']();}['updated'](t){super['updated'](t),t['has']('uid')&&this['ea']();}['ai'](t){let [_0x1b1e42]=t;_0x1b1e42&&(this['Qn']=_0x1b1e42['isIntersecting'],_0x1b1e42['isIntersecting']&&(this['sr']=_0x1b1e42['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x1b1e42['intersectionRatio']&&this['nr']['cancel']());}['reset'](){super['reset'](),this['nr']['cancel'](),this['Po'](),this['Le']&&(this['Le']='');}['ea'](){let t=this['uid']?.['trim']();if(!t)return void(this['entry']&&this['reset']());let _0x3b2e04=this['uploadCollection']?.['read'](t);if(!_0x3b2e04||_0x3b2e04===this['entry'])return;this['reset'](),this['entry']=_0x3b2e04;let _0x3fd8f5=()=>{this['ar']();};this['subEntry']('fileInfo',_0x3ece93=>{_0x3ece93?.['isImage']&&_0x3fd8f5();}),this['subEntry']('thumbUrl',_0x37d219=>{this['$u'](_0x37d219??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x3fd8f5),this['ar'](!0x0);}['initCallback'](){super['initCallback'](),this['subConfigValue']('filesViewMode',t=>{'grid'===t&&!this['Xn']&&('list'===this['Lu']&&this['ar'](!0x0),this['Xn']=!0x0);});}['connectedCallback'](){super['connectedCallback'](),this['s']?.['disconnect'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':0.1}),this['s']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['nr']['cancel'](),this['Po'](),this['s']?.['disconnect']();}['render'](){return _0x5363a9`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||_0x358ac3} role="img" alt="Preview of uploaded image" ?hidden=${!this['Le']} draggable="false" /><div class="uc-badge"><uc-icon name=${this['badgeIcon']}></uc-icon></div></div>`;}};_0x2c1f84([_0x23c236({'type':String})],_0x48464c['prototype'],'badgeIcon',0x2),_0x2c1f84([_0x23c236({'attribute':!0x1})],_0x48464c['prototype'],'uid',0x2),_0x2c1f84([_0x5e1929()],_0x48464c['prototype'],'Le',0x2);var _0x4979a3=class extends _0x327a9e{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=_0x5440a1;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},_0x55abb8=(_0x146304,_0x53d07c)=>{let _0x19b1b3,t=!0x1,_0x499ce9=0x0,_0xee02fd=(..._0xca1690)=>{t?(_0x19b1b3&&clearTimeout(_0x19b1b3),_0x19b1b3=setTimeout(()=>{Date['now']()-_0x499ce9>=_0x53d07c&&(_0x146304(..._0xca1690),_0x499ce9=Date['now']());},Math['max'](_0x53d07c-(Date['now']()-_0x499ce9),0x0))):(_0x146304(..._0xca1690),_0x499ce9=Date['now'](),t=!0x0);};return Object['defineProperty'](_0xee02fd,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x19b1b3&&clearTimeout(_0x19b1b3);}}),_0xee02fd;},_0x4844c8=(_0x4866a1,_0x116f5f,t)=>{let _0x3cc322=new Map();for(let _0x2e79e4=_0x116f5f;_0x2e79e4<=t;_0x2e79e4++)_0x3cc322['set'](_0x4866a1[_0x2e79e4],_0x2e79e4);return _0x3cc322;},_0x11d78d=_0x16cc07(class extends _0xdb4d60{constructor(_0xffa04b){if(super(_0xffa04b),_0xffa04b['type']!==_0x5f457c)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x47b9e3,_0xe19fd8,t){let _0x8cab60;void 0x0===t?t=_0xe19fd8:void 0x0!==_0xe19fd8&&(_0x8cab60=_0xe19fd8);let _0x95f870=[],_0x591000=[],_0x5cc5c1=0x0;for(let _0x3b92be of _0x47b9e3)_0x95f870[_0x5cc5c1]=_0x8cab60?_0x8cab60(_0x3b92be,_0x5cc5c1):_0x5cc5c1,_0x591000[_0x5cc5c1]=t(_0x3b92be,_0x5cc5c1),_0x5cc5c1++;return{'values':_0x591000,'keys':_0x95f870};}['render'](_0x45cffc,_0x223b8a,t){return this['dt'](_0x45cffc,_0x223b8a,t)['values'];}['update'](_0x4e8ebe,[_0x3507de,t,_0x2fcf5a]){let _0x1071c3=(_0x345337=>_0x345337['r'])(_0x4e8ebe),{values:_0x1344af,keys:_0x4c069a}=this['dt'](_0x3507de,t,_0x2fcf5a);if(!Array['isArray'](_0x1071c3))return this['ut']=_0x4c069a,_0x1344af;let _0x5ed2a1,_0x2f3527,_0x53a9e7=this['ut']??=[],_0x291f77=[],_0x361cf4=0x0,_0x19fe6f=_0x1071c3['length']-0x1,_0x418caa=0x0,_0x4b1620=_0x1344af['length']-0x1;for(;_0x361cf4<=_0x19fe6f&&_0x418caa<=_0x4b1620;)if(null===_0x1071c3[_0x361cf4])_0x361cf4++;else{if(null===_0x1071c3[_0x19fe6f])_0x19fe6f--;else{if(_0x53a9e7[_0x361cf4]===_0x4c069a[_0x418caa])_0x291f77[_0x418caa]=_0x58292f(_0x1071c3[_0x361cf4],_0x1344af[_0x418caa]),_0x361cf4++,_0x418caa++;else{if(_0x53a9e7[_0x19fe6f]===_0x4c069a[_0x4b1620])_0x291f77[_0x4b1620]=_0x58292f(_0x1071c3[_0x19fe6f],_0x1344af[_0x4b1620]),_0x19fe6f--,_0x4b1620--;else{if(_0x53a9e7[_0x361cf4]===_0x4c069a[_0x4b1620])_0x291f77[_0x4b1620]=_0x58292f(_0x1071c3[_0x361cf4],_0x1344af[_0x4b1620]),_0x317ff6(_0x4e8ebe,_0x291f77[_0x4b1620+0x1],_0x1071c3[_0x361cf4]),_0x361cf4++,_0x4b1620--;else{if(_0x53a9e7[_0x19fe6f]===_0x4c069a[_0x418caa])_0x291f77[_0x418caa]=_0x58292f(_0x1071c3[_0x19fe6f],_0x1344af[_0x418caa]),_0x317ff6(_0x4e8ebe,_0x1071c3[_0x361cf4],_0x1071c3[_0x19fe6f]),_0x19fe6f--,_0x418caa++;else{if(void 0x0===_0x5ed2a1&&(_0x5ed2a1=_0x4844c8(_0x4c069a,_0x418caa,_0x4b1620),_0x2f3527=_0x4844c8(_0x53a9e7,_0x361cf4,_0x19fe6f)),_0x5ed2a1['has'](_0x53a9e7[_0x361cf4])){if(_0x5ed2a1['has'](_0x53a9e7[_0x19fe6f])){let _0x41e326=_0x2f3527['get'](_0x4c069a[_0x418caa]),_0x491d74=void 0x0!==_0x41e326?_0x1071c3[_0x41e326]:null;if(null===_0x491d74){let _0x1e62d2=_0x317ff6(_0x4e8ebe,_0x1071c3[_0x361cf4]);_0x58292f(_0x1e62d2,_0x1344af[_0x418caa]),_0x291f77[_0x418caa]=_0x1e62d2;}else _0x291f77[_0x418caa]=_0x58292f(_0x491d74,_0x1344af[_0x418caa]),_0x317ff6(_0x4e8ebe,_0x1071c3[_0x361cf4],_0x491d74),_0x1071c3[_0x41e326]=null;_0x418caa++;}else _0x1087fa(_0x1071c3[_0x19fe6f]),_0x19fe6f--;}else _0x1087fa(_0x1071c3[_0x361cf4]),_0x361cf4++;}}}}}}for(;_0x418caa<=_0x4b1620;){let _0x35fbd8=_0x317ff6(_0x4e8ebe,_0x291f77[_0x4b1620+0x1]);_0x58292f(_0x35fbd8,_0x1344af[_0x418caa]),_0x291f77[_0x418caa++]=_0x35fbd8;}for(;_0x361cf4<=_0x19fe6f;){let _0x3f874a=_0x1071c3[_0x361cf4++];null!==_0x3f874a&&_0x1087fa(_0x3f874a);}return this['ut']=_0x4c069a,((_0x92b6d,_0x498f5f=_0x57f2e0)=>{_0x92b6d['r']=_0x498f5f;})(_0x4e8ebe,_0x291f77),_0x3b4472;}}),_0x48a7c0=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'VALIDATION':Symbol('VALIDATION'),'QUEUED_UPLOADING':Symbol('QUEUED-UPLOADING'),'QUEUED_VALIDATION':Symbol('QUEUED-VALIDATION'),'IDLE':Symbol('IDLE')}),_0x3d5860=class _0x166954 extends _0x109484{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['ia']=!0x0,this['uid']='',this['Lo']='',this['Ro']='',this['Uo']='',this['oe']=0x0,this['ra']=!0x1,this['$o']='',this['oa']=!0x1,this['sa']=!0x1,this['na']=!0x1,this['aa']=!0x1,this['lr']=!0x1,this['la']='',this['cr']=[],this['ca']=!0x1,this['Du']=()=>{this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uid']&&this['uploadCollection']['hasItem'](this['uid'])&&this['uploadCollection']['remove'](this['uid']);},this['Fu']=()=>{this['ua']();},this['S']=_0x1503b7(()=>this['da'](),0x64),this['Vu']=this['withEntry'](_0x55abb8((t,_0x1d65a9)=>{let _0x36e1e9=t['getValue']('errors')?.[0x0]?.['message']??'',_0x7859e9=t['getValue']('source'),_0x13895d=t['getValue']('externalUrl'),_0x1bb28b=_0x1d65a9===_0x48a7c0['FINISHED'],_0x3a0c01=_0x1d65a9===_0x48a7c0['UPLOADING'],_0x586ab9=_0x1d65a9===_0x48a7c0['QUEUED_UPLOADING'],_0x44d820=_0x1d65a9===_0x48a7c0['QUEUED_VALIDATION'],_0x4b4f6c=_0x1d65a9===_0x48a7c0['VALIDATION'],_0x53bc96=t['getValue']('fileName'),_0x32646f='';_0x36e1e9?_0x32646f='':!_0x1bb28b&&_0x13895d&&_0x7859e9&&Object['values'](_0x29aeee)['includes'](_0x7859e9)&&(_0x32646f=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+_0x83263e(_0x7859e9))})),this['Uo']=_0x32646f,this['Ro']=_0x36e1e9,this['ra']=_0x3a0c01||_0x586ab9||_0x44d820||_0x4b4f6c,this['oe']=_0x44d820||_0x4b4f6c?0x0:t['getValue']('uploadProgress'),this['la']=_0x53bc96?this['l10n']('a11y-file-item-status',{'fileName':_0x53bc96,'status':this['l10n'](_0x1d65a9?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()}):'';},0x64)),this['ua']=this['withEntry'](async t=>{if(!this['uploadCollection']['read'](t['uid'])||t['getValue']('fileInfo')||t['getValue']('isUploading')||t['getValue']('errors')['length']>0x0||t['getValue']('isValidationPending'))return;let _0x297138=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x297138&&this['uploadCollection']['size']>_0x297138)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x4b5839=new AbortController();t['setValue']('abortController',_0x4b5839);let _0x1f242e=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x3e7ae3=t['getValue']('file');if(_0x3e7ae3 instanceof File||_0x3e7ae3 instanceof Blob){let _0x23bfcc=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0x2080b7=>'beforeUpload'===_0x2080b7['type']);for(let _0x470b35 of _0x23bfcc)try{let _0xf12081=_0x470b35['handler']({'file':_0x3e7ae3,'signal':_0x4b5839['signal']}),_0x146708=new Promise((_0x509580,_0x28b5cd)=>setTimeout(()=>_0x28b5cd(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x470b35['timeout'])),{file:_0x27f2be}=await Promise['race']([_0xf12081,_0x146708]);_0x27f2be!==_0x3e7ae3&&(_0x3e7ae3=_0x27f2be,t['setValue']('mimeType',_0x3e7ae3['type']||null),t['setValue']('isImage',_0x4957e2(_0x3e7ae3)),t['setValue']('fileSize',_0x3e7ae3['size']),_0x3e7ae3 instanceof File&&t['setValue']('fileName',_0x3e7ae3['name']));}catch(_0x10b8e5){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x470b35['pluginId']+'\x22\x20failed',_0x10b8e5);}}let _0x31e334=_0x3e7ae3||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x31e334)throw new Error('No\x20file\x20input');let _0x891df0={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x118cd8=>{if(_0x118cd8['isComputable']){let _0x1c4c2e=0x64*_0x118cd8['value'];t['setValue']('uploadProgress',_0x1c4c2e);}},'signal':_0x4b5839['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x31e334,_0x891df0),_0x22e270(_0x31e334,_0x891df0);},_0x48913a=await this['$']['*uploadQueue']['add'](_0x1f242e);t['setMultipleValues']({'fileInfo':_0x48913a,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x48913a['originalFilename'],'fileSize':_0x48913a['size'],'isImage':_0x48913a['isImage']??!0x1,'mimeType':_0x48913a['contentInfo']?.['mime']?.['mime']??_0x48913a['mimeType'],'uuid':_0x48913a['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x48913a['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x2a2f66){let _0xeb4938=_0x2a2f66 instanceof _0x58b61d&&_0x2a2f66['isCancel'];_0xeb4938?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x2a2f66 instanceof _0x1f9010?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x2a2f66}):(console['error']('Unknown\x20upload\x20error',_0x2a2f66),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x2a2f66})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0xeb4938&&this['telemetryManager']['sendEventError'](_0x2a2f66,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x4733ed=_0x48a7c0['IDLE'];t['getValue']('errors')['length']>0x0?_0x4733ed=_0x48a7c0['FAILED']:t['getValue']('isQueuedForUploading')?_0x4733ed=_0x48a7c0['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x4733ed=_0x48a7c0['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x4733ed=_0x48a7c0['VALIDATION']:t['getValue']('isUploading')?_0x4733ed=_0x48a7c0['UPLOADING']:t['getValue']('fileInfo')&&(_0x4733ed=_0x48a7c0['FINISHED']),this['Nu'](t,_0x4733ed);}['Nu'](t,_0x1cde51){_0x1cde51===_0x48a7c0['FAILED']?this['$o']='badge-error':_0x1cde51===_0x48a7c0['FINISHED']&&(this['$o']='badge-success'),_0x1cde51===_0x48a7c0['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x1cde51===_0x48a7c0['FAILED'],this['na']=_0x1cde51===_0x48a7c0['UPLOADING'],this['oa']=_0x1cde51===_0x48a7c0['FINISHED'],this['Vu'](_0x1cde51);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x30bfc5]=t;_0x30bfc5&&_0x30bfc5['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x4ad186=this['uploadCollection']?.['read'](t);this['entry']=_0x4ad186,_0x4ad186?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x103104=>{this['Lo']=_0x103104||_0x4ad186['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x28fb1a=>{this['Lo']=_0x4ad186['getValue']('fileName')||_0x28fb1a||this['l10n']('file-no-name');}),this['subEntry']('fileInfo',()=>{this['S']();}),this['subEntry']('errors',()=>this['S']()),this['subEntry']('isUploading',()=>this['S']()),this['subEntry']('fileSize',()=>this['S']()),this['subEntry']('mimeType',()=>this['S']()),this['subEntry']('isImage',()=>this['S']()),this['subEntry']('fileInfo',()=>this['Ze']()),this['subEntry']('isUploading',()=>this['Ze']()),this['subEntry']('errors',()=>this['Ze']()),this['da'](),this['Ze']()):this['Ze']();}['ha'](t){'list'!==this['cfg']['filesViewMode']?this['lr']=t:this['lr']=!0x0;}['willUpdate'](t){super['willUpdate'](t),t['has']('uid')&&this['pa'](this['uid']);}['Ze'](){let t=this['i']['pluginManager'];if(!t||!this['uid'])return void(this['cr']=[]);let _0x3185ce=t['snapshot']()['fileActions'],_0x46d5e4=this['api']['getOutputItem'](this['uid']);this['cr']=_0x46d5e4?_0x3185ce['filter'](_0x5e86fd=>{try{return _0x5e86fd['shouldRender'](_0x46d5e4);}catch(_0x1dd9d2){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x5e86fd['id']+'):',_0x1dd9d2),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x3ea296=this['api']['getOutputItem'](this['uid']);if(_0x3ea296){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x3ea296);}catch(_0x221659){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x221659);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x3023c1=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x3023c1);}),this['subConfigValue']('gridShowFileNames',_0x426e52=>{this['ha'](_0x426e52);}),this['onclick']=()=>{_0x166954['activeInstances']['forEach'](_0x38bc94=>{_0x38bc94===this?_0x38bc94['setAttribute']('focused',''):_0x38bc94['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0xc2ae8b=>{this['entry']&&!_0xc2ae8b['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),_0x166954['activeInstances']['add'](this);}['connectedCallback'](){super['connectedCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]}),this['s']['observe'](this);}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback'](),this['s']?.['disconnect'](),_0x166954['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}['shouldUpdate'](t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return _0x5363a9`<div class="uc-inner" ?data-finished=${this['oa']} ?data-uploading=${this['na']} ?data-failed=${this['sa']} ?data-focused=${this['aa']} ><uc-thumb .uid=${this['uid']} .badgeIcon=${this['$o']}></uc-thumb><div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" aria-label=${this['la']}><span class="uc-file-name" ?hidden=${!this['lr']}>${this['Lo']}</span><span class="uc-file-error" ?hidden=${!this['Ro']}>${this['Ro']}</span><span class="uc-file-hint" ?hidden=${!this['Uo']}>${this['Uo']}</span></div><div class="uc-file-actions">${this['cr']['map'](t=>_0x5363a9`<button type="button" @click=${()=>this['_u'](t)} title=${this['l10n'](t['label'])} aria-label=${this['l10n'](t['label'])} class="uc-plugin-action-btn uc-mini-btn" data-plugin-action-id=${t['id']} ><uc-icon name=${t['icon']}></uc-icon></button>`)}<button type="button" @click=${this['Du']} title=${this['l10n']('file-item-remove-button')} aria-label=${this['l10n']('file-item-remove-button')} class="uc-remove-btn uc-mini-btn" ><uc-icon name="remove-file"></uc-icon></button><button type="button" class="uc-upload-btn uc-mini-btn" @click=${this['Fu']}><uc-icon name="upload"></uc-icon></button></div><uc-progress-bar class="uc-progress-bar" .value=${this['oe']} .visible=${this['ra']} ?hasFileName=${this['lr']}></uc-progress-bar></div>`;}};_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'ia',0x2),_0x2c1f84([_0x23c236({'attribute':!0x1})],_0x3d5860['prototype'],'uid',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'Lo',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'Ro',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'Uo',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'oe',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'ra',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'$o',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'oa',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'sa',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'na',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'aa',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'lr',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'la',0x2),_0x2c1f84([_0x5e1929()],_0x3d5860['prototype'],'cr',0x2);var _0x5dbf4c=_0x3d5860;function _0x5da620(_0x453e1a){return new Promise(_0x4421c2=>{'function'!=typeof window['FileReader']&&_0x4421c2(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x4421c2(!0x0);};let _0x41c30d=_0x37913f=>{'loadend'!==_0x37913f['type']&&t['abort'](),_0x4421c2(!0x1);};t['onloadend']=_0x41c30d,t['onprogress']=_0x41c30d,t['readAsDataURL'](_0x453e1a);}catch{_0x4421c2(!0x1);}});}function _0x37d4b9(_0x59693c,_0x48ca1e){return new Promise(t=>{let _0x3b9d4a=0x0,_0x5a9c94=[],_0x361087=_0x2f5c32=>{if(!_0x2f5c32)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0x2f5c32['isFile']?(_0x3b9d4a++,_0x2f5c32['file'](_0x2a639b=>{_0x3b9d4a--;let _0xc73b60=new File([_0x2a639b],_0x2a639b['name'],{'type':_0x2a639b['type']||_0x48ca1e});_0x5a9c94['push']({'type':'file','file':_0xc73b60,'fullPath':_0x2f5c32['fullPath']}),0x0===_0x3b9d4a&&t(_0x5a9c94);})):_0x2f5c32['isDirectory']&&_0x5d3c70(_0x2f5c32['createReader']());},_0x5d3c70=_0x2b9679=>{_0x3b9d4a++,_0x2b9679['readEntries'](_0x2df8a6=>{_0x3b9d4a--;for(let _0x371290 of _0x2df8a6)_0x361087(_0x371290);0x0===_0x3b9d4a&&t(_0x5a9c94);});};_0x361087(_0x59693c);});}var _0x2898fc=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x19f64a=['focus'],_0xc5111d=new Map();function _0x243198(_0x3cd134){let _0x2c9f3b=0x0,t=document['body'],_0x4d6f6a=new Set(),_0x4e148d=_0x2898fc['INACTIVE'],_0x13fd50=_0x24cf96=>{_0x3cd134['shouldIgnore']()&&_0x24cf96!==_0x2898fc['INACTIVE']||(_0x4e148d!==_0x24cf96&&_0x4d6f6a['forEach'](_0x441a92=>{_0x441a92(_0x24cf96);}),_0x4e148d=_0x24cf96);},_0x47d6ad=()=>_0x2c9f3b>0x0;var _0x1130cf;_0x1130cf=_0x552aac=>_0x3cd134['onChange'](_0x552aac),_0x4d6f6a['add'](_0x1130cf);let _0x50d457=()=>{_0x2c9f3b=0x0,_0x13fd50(_0x2898fc['INACTIVE']);},_0x38c15f=()=>{_0x2c9f3b+=0x1,_0x4e148d===_0x2898fc['INACTIVE']&&_0x13fd50(_0x2898fc['ACTIVE']);},_0x4d1bb0=()=>{_0x2c9f3b-=0x1,_0x47d6ad()||_0x13fd50(_0x2898fc['INACTIVE']);},_0x539bea=_0x42e630=>{_0x42e630['preventDefault'](),_0x2c9f3b=0x0,_0x13fd50(_0x2898fc['INACTIVE']);},_0x46fe2d=_0x38bc07=>{if(_0x3cd134['shouldIgnore']())return;_0x47d6ad()||(_0x2c9f3b+=0x1);let _0x1e9f0e=[_0x38bc07['x'],_0x38bc07['y']],_0x40cdd3=_0x3cd134['element']['getBoundingClientRect'](),_0x3e30bb=Math['floor'](function(_0x3f2b44,_0x19465f){let t=Math['max'](Math['min'](_0x3f2b44[0x0],_0x19465f['x']+_0x19465f['width']),_0x19465f['x']),_0xc46cdf=Math['max'](Math['min'](_0x3f2b44[0x1],_0x19465f['y']+_0x19465f['height']),_0x19465f['y']);return Math['sqrt']((_0x3f2b44[0x0]-t)*(_0x3f2b44[0x0]-t)+(_0x3f2b44[0x1]-_0xc46cdf)*(_0x3f2b44[0x1]-_0xc46cdf));}(_0x1e9f0e,_0x40cdd3)),_0x4af2cc=_0x3e30bb<0x64,_0x4e4e6f=_0x38bc07['composedPath']()['includes'](_0x3cd134['element']);_0xc5111d['set'](_0x3cd134['element'],_0x3e30bb);let _0x235d09=Math['min'](..._0xc5111d['values']())===_0x3e30bb;_0x4e4e6f&&_0x235d09?(_0x38bc07['preventDefault'](),_0x13fd50(_0x2898fc['OVER'])):_0x13fd50(_0x4af2cc&&_0x235d09?_0x2898fc['NEAR']:_0x2898fc['ACTIVE']);},_0x10aaff=async _0x250ae9=>{if(_0x3cd134['shouldIgnore']())return;_0x250ae9['preventDefault']();let {dataTransfer:_0x9a1bef}=_0x250ae9;if(!_0x9a1bef)return;let _0x148a21=await function(_0x145854){let _0x2e18be=[],t=[];for(let _0x26bd6d=0x0;_0x26bd6d<_0x145854['items']['length'];_0x26bd6d++){let _0x301802=_0x145854['items'][_0x26bd6d];if(_0x301802){if('file'===_0x301802['kind']){let _0x2994a9=_0x301802['type'],_0x1d9132=_0x301802;if('function'==typeof _0x1d9132['webkitGetAsEntry']||'function'==typeof _0x1d9132['getAsEntry']){let _0x1f9948='function'==typeof _0x1d9132['webkitGetAsEntry']?_0x1d9132['webkitGetAsEntry']():_0x1d9132['getAsEntry']?.();_0x1f9948&&t['push'](_0x37d4b9(_0x1f9948,_0x2994a9)['then'](_0x599b23=>{_0x599b23&&_0x2e18be['push'](..._0x599b23);}));continue;}let _0x2aeca7=_0x301802['getAsFile']();_0x2aeca7&&t['push'](_0x5da620(_0x2aeca7)['then'](_0x4f52d3=>{_0x4f52d3||_0x2e18be['push']({'type':'file','file':_0x2aeca7});}));}else'string'===_0x301802['kind']&&/^text\/uri-list/['test'](_0x301802['type'])&&t['push'](new Promise(_0x3092c6=>{_0x301802['getAsString'](_0x42e771=>{_0x2e18be['push']({'type':'url','url':_0x42e771}),_0x3092c6();});}));}}return Promise['all'](t)['then'](()=>_0x2e18be);}(_0x9a1bef);_0x3cd134['onItems'](_0x148a21),_0x13fd50(_0x2898fc['INACTIVE']);};return t['addEventListener']('drop',_0x539bea),t['addEventListener']('dragleave',_0x4d1bb0),t['addEventListener']('dragenter',_0x38c15f),t['addEventListener']('dragover',_0x46fe2d),_0x3cd134['element']['addEventListener']('drop',_0x10aaff),_0x19f64a['forEach'](_0x239998=>{window['addEventListener'](_0x239998,_0x50d457);}),()=>{_0xc5111d['delete'](_0x3cd134['element']),t['removeEventListener']('drop',_0x539bea),t['removeEventListener']('dragleave',_0x4d1bb0),t['removeEventListener']('dragenter',_0x38c15f),t['removeEventListener']('dragover',_0x46fe2d),_0x3cd134['element']['removeEventListener']('drop',_0x10aaff),_0x19f64a['forEach'](_0x275160=>{window['removeEventListener'](_0x275160,_0x50d457);});};}var _0x43e960=new Set(),_0x400706=class extends _0x327a9e{constructor(){super(...arguments),this['single']=!0x1,this['ghost']=!0x1,this['disabled']=!0x1,this['clickable']=!0x1,this['withIcon']=!0x1,this['fullscreen']=!0x1,this['initflow']=!0x1,this['Oe']=!0x0,this['fa']=!0x0,this['Do']='drop-files-here',this['ma']=!0x1,this['va']=null,this['Fo']=null,this['ya']=_0x6c7017(),this['Lt']=t=>{if(t instanceof KeyboardEvent){if('Space'!==t['code']&&'Enter'!==t['code'])return;}else{if(!(t instanceof MouseEvent))return;}this['initflow']?this['api']['initFlow']():this['api']['openSystemDialog']();},this['ba']=!0x0,this['Rt']=!0x1;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];}['ga'](){let t=this['text'];'string'==typeof t&&t['length']>0x0?this['Do']=this['l10n'](t)||t:this['Do']=this['ma']?this['l10n']('drop-files-here'):this['l10n']('drop-file-here');}['isActive'](){if(!this['Oe'])return!0x1;let t=this['getBoundingClientRect'](),_0x2abcb6=t['width']>0x0&&t['height']>0x0,_0x49f902=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x5f5dc2=window['getComputedStyle'](this),_0x1aafee='hidden'!==_0x5f5dc2['visibility']&&'none'!==_0x5f5dc2['display'];return _0x2abcb6&&_0x1aafee&&_0x49f902;}['initCallback'](){super['initCallback'](),_0x43e960['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](_0x2898fc['INACTIVE']),this['va']=_0x243198({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x13f350=>{'url'===_0x13f350['type']?this['api']['addFileFromUrl'](_0x13f350['url'],{'source':_0x3bc093['DROP_AREA']}):'file'===_0x13f350['type']&&this['api']['addFileFromObject'](_0x13f350['file'],{'source':_0x3bc093['DROP_AREA'],'fullPath':_0x13f350['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':_0x5bd0b0['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x5bd0b0['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x1087de=_0x126e70(t);this['ba']=_0x1087de['includes'](_0x3bc093['LOCAL']),this['No'](),this['Vo']();}),this['subConfigValue']('multiple',t=>{this['ma']=!!t,this['ga']();});}['willUpdate'](t){super['willUpdate'](t),t['has']('disabled')&&(this['No'](),this['Vo']()),(t['has']('text')||t['has']('localeId'))&&this['ga']();}['updated'](t){super['updated'](t),t['has']('clickable')&&this['wa']();}['Ea'](){if(!this['Oe']||!this['zu']())return!0x0;if(!this['fullscreen'])return!0x1;let t=_0x43e960;return 0x0!==t['size']&&[...t]['filter'](_0x540cca=>_0x540cca!==this)['filter'](_0x4e6503=>_0x4e6503['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0xa48069=this['cfg']['multipleMax'],_0x59ee9d=this['uploadCollection']['size'];return!(t&&_0xa48069&&_0x59ee9d>=_0xa48069||!t&&_0x59ee9d>0x0);}['No'](){let t=this['ba']&&!this['disabled'];this['Oe']=t;}['Vo'](){let t=this['Oe']||!this['querySelector']('[data-default-slot]');this['fa']=t,this['hidden']=!t;}['Ta'](t){let _0x126aa6=Object['entries'](_0x2898fc)['find'](([,_0x75bb19])=>_0x75bb19===t)?.[0x0]['toLowerCase']();_0x126aa6&&this['setAttribute']('drag-state',_0x126aa6);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=_0x243198({'element':t,'onChange':_0xfb1e34=>{let _0x2d726f=Object['entries'](_0x2898fc)['find'](([,_0x59bdf8])=>_0x59bdf8===_0xfb1e34)?.[0x0]['toLowerCase']();_0x2d726f&&t['setAttribute']('drag-state',_0x2d726f);},'onItems':()=>{},'shouldIgnore':()=>this['Ea']()}));}['wa'](){this['clickable']&&!this['Rt']?(this['addEventListener']('keydown',this['Lt']),this['addEventListener']('click',this['Lt']),this['Rt']=!0x0):!this['clickable']&&this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['disconnectedCallback'](){super['disconnectedCallback'](),_0x43e960['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return _0x5363a9` ${this['yield']('',_0x5363a9`<div data-default-slot hidden></div><div ${_0x44edaf(this['ya'])} class="uc-content-wrapper" ?hidden=${!this['fa']}><div class="uc-icon-container" ?hidden=${!this['withIcon']}><uc-icon name="default"></uc-icon><uc-icon name="arrow-down"></uc-icon></div><span class="uc-text">${this['Do']}</span></div>`)} `;}};_0x2c1f84([_0x23c236({'type':Boolean,'noAccessor':!0x0})],_0x400706['prototype'],'single',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'noAccessor':!0x0})],_0x400706['prototype'],'ghost',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x400706['prototype'],'disabled',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x400706['prototype'],'clickable',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],_0x400706['prototype'],'withIcon',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x400706['prototype'],'fullscreen',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x400706['prototype'],'initflow',0x2),_0x2c1f84([_0x23c236({'type':String})],_0x400706['prototype'],'text',0x2),_0x2c1f84([_0x5e1929()],_0x400706['prototype'],'Oe',0x2),_0x2c1f84([_0x5e1929()],_0x400706['prototype'],'fa',0x2),_0x2c1f84([_0x5e1929()],_0x400706['prototype'],'Do',0x2);var _0x1c3d27=class extends _0x327a9e{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=_0x5bd0b0['activities']['UPLOAD_LIST'],this['xa']=!0x1,this['Ca']=!0x1,this['Sa']=!0x1,this['_o']=!0x1,this['Bo']=!0x1,this['ur']=null,this['Aa']=!0x1,this['zo']=null,this['ka']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](_0x5440a1['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](_0x5440a1['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=_0x55abb8(()=>{this['isConnected']&&(this['ju'](),!this['couldOpenActivity']&&this['$']['*currentActivity']===this['activityType']&&this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);}get['Hu'](){return this['zo']?this['Ku'](this['zo']):'';}['ju'](){let t=this['api']['getOutputCollectionState'](),_0x4ac2e9={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x267cea=>_0x267cea['isValidationPending'])['length']},_0x4999ed=!t['errors']['some'](_0x9e28de=>'TOO_MANY_FILES'===_0x9e28de['type']||'TOO_FEW_FILES'===_0x9e28de['type']),_0x34bec4=t['errors']['some'](_0x1343a8=>'TOO_MANY_FILES'===_0x1343a8['type']),_0xa01881=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x3fb75a=t['allEntries']['some'](_0x5096e3=>_0x5096e3['isValidationPending']),_0x50cc7f=0x0===_0x4ac2e9['failed']&&0x0===t['errors']['length']&&!_0x3fb75a,_0x12b855=!0x1,_0x3b8f26=!0x1,_0x2d1d16=!0x1;if(_0x4ac2e9['total']-_0x4ac2e9['succeed']-_0x4ac2e9['uploading']-_0x4ac2e9['failed']>0x0&&_0x4999ed&&_0x50cc7f&&this['cfg']['confirmUpload'])_0x12b855=!0x0;else{_0x3b8f26=!0x0;let _0x48f335=!this['cfg']['groupOutput']||!!t['group'];_0x2d1d16=_0x4ac2e9['total']===_0x4ac2e9['succeed']&&_0x4999ed&&_0x50cc7f&&_0x48f335;}this['xa']=_0x3b8f26,this['Ca']=_0x2d1d16,this['Sa']=_0x12b855,this['Bo']=0x0===_0x4ac2e9['total']||!_0x34bec4&&!_0xa01881,this['_o']=!_0xa01881||this['cfg']['multiple'],this['Aa']=_0x4ac2e9['total']>0x0,this['zo']=_0x4ac2e9;}['Ku'](t){let _0x1ef4db=_0xe619e9=>{let _0xeed991=t[_0xe619e9];return'uploading'===_0xe619e9&&(_0xeed991+=t['validatingBeforeUploading']),this['l10n']('header-'+_0xe619e9,{'count':_0xeed991});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x1ef4db('uploading'):t['failed']>0x0?_0x1ef4db('failed'):t['succeed']>0x0?_0x1ef4db('succeed'):_0x1ef4db('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['Te']),this['subConfigValue']('multipleMin',this['Te']),this['subConfigValue']('multipleMax',this['Te']),this['sub']('*groupInfo',t=>{t&&this['Te']();}),this['subConfigValue']('filesViewMode',t=>{this['setAttribute']('mode',t);}),this['sub']('*currentActivity',t=>{!this['couldOpenActivity']&&t===this['activityType']&&(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['Te']),this['uploadCollection']['observeCollection'](this['Te']),this['sub']('*collectionErrors',t=>{let _0x27e2d6=t['filter'](_0x554067=>'SOME_FILES_HAS_ERRORS'!==_0x554067['type'])[0x0];this['ur']=_0x27e2d6?_0x27e2d6['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return _0x5363a9`<uc-activity-header><span aria-live="polite" class="uc-header-text">${this['Hu']}</span><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-no-files" ?hidden=${this['Aa']}>${this['yield']('empty',_0x5363a9`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${_0x11d78d(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>_0x5363a9`<uc-file-item .uid=${t}></uc-file-item>`)}</div><button type="button" class="uc-add-more-btn uc-secondary-btn" @click=${this['ka']} ?disabled=${!this['Bo']} ?hidden=${!this['_o']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button></div><div class="uc-common-error" ?hidden=${!this['ur']} >${this['ur']??''}</div><div class="uc-toolbar"><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('clear')}</button><div class="uc-toolbar-spacer"></div><button type="button" class="uc-add-more-btn uc-secondary-btn" ?hidden=${!this['_o']} ?disabled=${!this['Bo']} @click=${this['ka']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button><button type="button" class="uc-upload-btn uc-primary-btn" ?hidden=${!this['Sa']} @click=${this['Ho']} >${this['l10n']('upload')}</button><button type="button" class="uc-done-btn uc-primary-btn" ?hidden=${!this['xa']} ?disabled=${!this['Ca']} @click=${this['Ko']} >${this['l10n']('done')}</button></div><uc-drop-area ghost></uc-drop-area>`;}};_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'xa',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'Ca',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'Sa',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'_o',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'Bo',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'ur',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'Aa',0x2),_0x2c1f84([_0x5e1929()],_0x1c3d27['prototype'],'zo',0x2);var _0x126223=[{'test':_0x47c907=>!!_0x47c907['accept']&&!!_0x47c907['imgOnly'],'message':'There\x20could\x20be\x20a\x20mistake.\x0aBoth\x20`accept`\x20and\x20`imgOnly`\x20parameters\x20are\x20set.\x0aThe\x20value\x20of\x20`accept`\x20will\x20be\x20concatenated\x20with\x20the\x20internal\x20image\x20mime\x20types\x20list.'},{'test':_0xda7567=>null!==_0xda7567['enableVideoRecording'],'message':'The\x20`enableVideoRecording`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'},{'test':_0x29b078=>null!==_0x29b078['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x70d8a=_0x1503b7(_0x3b0a38=>{for(let {test:_0x4a71c1,message:t}of _0x126223)_0x4a71c1(_0x3b0a38)&&_0x5ed89e(t);},0x0),_0x44ab62=async _0xd1696c=>{let _0x5e773f=await(async _0x3febcb=>{let _0x29a8ef=new TextEncoder()['encode'](_0x3febcb),t=await window['crypto']['subtle']['digest']('SHA-256',_0x29a8ef),_0x497230=Array['from'](new Uint8Array(t))['map'](_0x2c6185=>_0x2c6185['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x497230);})(_0xd1696c);return(_0x5b80b8=>{if(_0x5b80b8<=0x0n)return'0';let _0x482dec='';for(;_0x5b80b8>0x0n;)_0x482dec='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x5b80b8%0x24n)]+_0x482dec,_0x5b80b8/=0x24n;return _0x482dec;})(_0x5e773f)['slice'](0x0,0xa);},_0x1ff055=async(_0x56f826,_0x284987)=>((_0x388c59,_0x37e0e9)=>{let t=new URL(_0x37e0e9);return t['hostname']=_0x388c59+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await _0x44ab62(_0x56f826),_0x284987),_0x11db1b=_0xb5c40d=>_0xb5c40d instanceof Promise||!(!_0xb5c40d||'object'!=typeof _0xb5c40d||!('then'in _0xb5c40d)||'function'!=typeof _0xb5c40d['then']),_0xae57e8=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x1f4e28,enableVideoRecording:_0x1a2571})=>{let t=_0x1a2571();if(null===t)return _0x1f4e28();let _0x3ee0af=_0x430fa6(_0x1f4e28());return t&&!_0x3ee0af['includes']('video')?_0x3ee0af=_0x3ee0af['concat']('video'):t||(_0x3ee0af=_0x3ee0af['filter'](_0x56013a=>'video'!==_0x56013a)),_0x27b757(_0x3ee0af);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x1725b3,defaultCameraMode:_0x56647b})=>{let t=_0x56647b();if(null===t)return _0x1725b3();let _0x416999=_0x430fa6(_0x1725b3());return _0x416999=_0x416999['sort']((_0x4adf0c,_0x3665b3)=>_0x4adf0c===t?-0x1:_0x3665b3===t?0x1:0x0),_0x27b757(_0x416999);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x425c91,cdnCname:_0x23b570,cdnCnamePrefixed:t})=>{let _0x3fbc7e=_0x425c91(),_0x49ddfe=_0x23b570(),_0x46a010=t();return _0x3fbc7e&&(_0x49ddfe===_0x45ad32||((_0x349958,_0x591964)=>{try{let t=new URL(_0x349958),_0x556df2=new URL(_0x591964);return t['hostname']['endsWith'](_0x556df2['hostname']);}catch{return!0x1;}})(_0x49ddfe,_0x46a010))?_0x1ff055(_0x3fbc7e,_0x46a010):_0x49ddfe;}}],_0x51194b=_0x44fa07=>String(_0x44fa07),_0x3100af=_0x1dea42=>{let _0xb83fd1=Number(_0x1dea42);if(Number['isNaN'](_0xb83fd1))throw new Error('Invalid\x20number:\x20\x22'+_0x1dea42+'\x22');return _0xb83fd1;},_0xc4e07c=_0x5178ce=>{if(typeof _0x5178ce>'u'||null===_0x5178ce)return!0x1;if('boolean'==typeof _0x5178ce)return _0x5178ce;if('true'===_0x5178ce||''===_0x5178ce)return!0x0;if('false'===_0x5178ce)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x5178ce+'\x22');},_0x1add22=_0xd232c5=>{if('object'==typeof _0xd232c5)return _0xd232c5;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x587fe4=_0x4b87c8=>{if('function'==typeof _0x4b87c8)return _0x4b87c8;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x38a01a=_0x82c5f1=>{if(Array['isArray'](_0x82c5f1))return _0x82c5f1;throw new Error('Must\x20be\x20an\x20array.');},_0x49ac6a={'pubkey':_0x51194b,'multiple':_0xc4e07c,'multipleMin':_0x3100af,'multipleMax':_0x3100af,'confirmUpload':_0xc4e07c,'imgOnly':_0xc4e07c,'accept':_0x51194b,'externalSourcesPreferredTypes':_0x51194b,'externalSourcesEmbedCss':_0x51194b,'store':_0x306a50=>'auto'===_0x306a50?_0x306a50:_0xc4e07c(_0x306a50),'cameraMirror':_0xc4e07c,'cameraCapture':_0x14f66e=>{let _0x2acd35=_0x51194b(_0x14f66e);if('user'!==_0x2acd35&&'environment'!==_0x2acd35&&''!==_0x2acd35)throw new Error('Invalid\x20value:\x20\x22'+_0x2acd35+'\x22');return _0x2acd35;},'sourceList':_0x51194b,'topLevelOrigin':_0x51194b,'maxLocalFileSizeBytes':_0x3100af,'thumbSize':_0x3100af,'showEmptyList':_0xc4e07c,'useLocalImageEditor':_0xc4e07c,'useCloudImageEditor':_0xc4e07c,'cloudImageEditorTabs':_0x51194b,'removeCopyright':_0xc4e07c,'cropPreset':_0x51194b,'imageShrink':_0x51194b,'modalScrollLock':_0xc4e07c,'modalBackdropStrokes':_0xc4e07c,'sourceListWrap':_0xc4e07c,'remoteTabSessionKey':_0x51194b,'cdnCname':_0x51194b,'cdnCnamePrefixed':_0x51194b,'baseUrl':_0x51194b,'socialBaseUrl':_0x51194b,'secureSignature':_0x51194b,'secureExpire':_0x51194b,'secureDeliveryProxy':_0x51194b,'retryThrottledRequestMaxTimes':_0x3100af,'retryNetworkErrorMaxTimes':_0x3100af,'multipartMinFileSize':_0x3100af,'multipartChunkSize':_0x3100af,'maxConcurrentRequests':_0x3100af,'multipartMaxConcurrentRequests':_0x3100af,'multipartMaxAttempts':_0x3100af,'checkForUrlDuplicates':_0xc4e07c,'saveUrlForRecurrentUploads':_0xc4e07c,'groupOutput':_0xc4e07c,'userAgentIntegration':_0x51194b,'debug':_0xc4e07c,'localeName':_0x51194b,'metadata':_0x274d01=>{if('object'==typeof _0x274d01&&!Array['isArray'](_0x274d01)||'function'==typeof _0x274d01)return _0x274d01;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':_0x3100af,'localeDefinitionOverride':_0x2654b9=>_0x1add22(_0x2654b9),'secureUploadsSignatureResolver':_0x26c072=>_0x587fe4(_0x26c072),'secureDeliveryProxyUrlResolver':_0x3762ba=>_0x587fe4(_0x3762ba),'iconHrefResolver':_0x5484e8=>_0x587fe4(_0x5484e8),'plugins':_0x3a053d=>_0x38a01a(_0x3a053d),'fileValidators':_0x38a01a,'collectionValidators':_0x38a01a,'validationTimeout':_0x3100af,'validationConcurrency':_0x3100af,'cameraModes':_0x33d3cb=>{let _0x1a865a=_0x51194b(_0x33d3cb),t=_0x430fa6(_0x1a865a);if(t['some'](_0x4a83df=>!Object['values'](_0x4c2fe6)['includes'](_0x4a83df)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x1a865a;},'defaultCameraMode':_0x17e9bb=>{let _0x4dccc9=_0x51194b(_0x17e9bb);if(!Object['values'](_0x4c2fe6)['includes'](_0x4dccc9))throw new Error('Invalid\x20value:\x20\x22'+_0x4dccc9+'\x22');return _0x4dccc9;},'enableAudioRecording':_0xc4e07c,'enableVideoRecording':_0xc4e07c,'mediaRecorderOptions':_0x1add22,'maxVideoRecordingDuration':_0x3100af,'filesViewMode':_0x4d7336=>{let _0xd66135=_0x51194b(_0x4d7336);if(['grid','list']['includes'](_0xd66135))return _0xd66135;throw new Error('Invalid\x20value:\x20\x22'+_0xd66135+'\x22');},'gridShowFileNames':_0xc4e07c,'cloudImageEditorAutoOpen':_0xc4e07c,'cloudImageEditorMaskHref':_0x51194b,'testMode':_0xc4e07c,'qualityInsights':_0xc4e07c,'pasteScope':_0x3b7592=>{let _0x12839a=_0x51194b(_0x3b7592);if('local'===_0x12839a||'global'===_0x12839a)return _0x12839a;if(!0x1===_0xc4e07c(_0x3b7592))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x12839a+'\x22');}},_0x41c4e3=[...new Set(['debug',...Object['keys'](_0x2150b6)])],_0x1fbd5d=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0xffb5f5=_0x18f8b3=>_0x1fbd5d['includes'](_0x18f8b3),_0x44fb25=_0x41c4e3['filter'](_0x10be94=>!_0xffb5f5(_0x10be94)),_0x458a44={...Object['fromEntries'](_0x44fb25['map'](_0x2508bd=>[_0xe45947(_0x2508bd),_0x2508bd])),...Object['fromEntries'](_0x44fb25['map'](_0xe1266a=>[_0xe1266a['toLowerCase'](),_0xe1266a]))},_0x2b72a7=_0x5e3a6b=>'__'+_0x5e3a6b,_0x32b502=class extends _0x35b574{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0x2150b6)['map'](([t,_0x266e09])=>[_0x478f31(t),_0x266e09]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x17e2f8=this['i']['pluginManager'];if(_0x17e2f8)return _0x17e2f8['configRegistry']['get'](t);}['Oa'](t){return[...new Set([_0xe45947(t),t['toLowerCase']()])];}['qu'](t,_0x4cf11e){if(_0xffb5f5(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x4db1ca=this['Oa'](t);for(let _0x515a45 of _0x4db1ca)typeof _0x4cf11e>'u'||null===_0x4cf11e?this['removeAttribute'](_0x515a45):this['getAttribute'](_0x515a45)!==_0x4cf11e['toString']()&&this['setAttribute'](_0x515a45,_0x4cf11e['toString']());}['Wu'](t,_0x2a7cf9){let _0x27d0ca=_0x478f31(t);if(this['$'][_0x27d0ca]!==_0x2a7cf9){if(typeof _0x2a7cf9>'u'||null===_0x2a7cf9){let _0x4bf8b6=_0x2150b6[t];this['$'][_0x27d0ca]=void 0x0!==_0x4bf8b6?_0x4bf8b6:_0x2a7cf9;}else this['$'][_0x27d0ca]=_0x2a7cf9;}}['Ye'](t,_0x556b81){let _0x7c8b7;if(this['jo'](t)){let _0x1dd01c=this['Go'](t);try{_0x7c8b7=_0x1dd01c?.['normalize']?.(_0x556b81)??_0x556b81;}catch(_0x100589){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x100589);}}else _0x7c8b7=((_0x2db832,_0x171fcb)=>{if(!(typeof _0x171fcb>'u'||null===_0x171fcb))try{return _0x49ac6a[_0x2db832](_0x171fcb);}catch(_0x53503a){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x2db832+'\x22.',_0x53503a),_0x2150b6[_0x2db832];}})(t,_0x556b81);let _0x58e40e=this,_0x3a7faa=_0x2b72a7(t);_0x58e40e[_0x3a7faa]!==_0x7c8b7&&(this['Zu'](t,_0x58e40e[_0x3a7faa],_0x7c8b7),_0x58e40e[_0x3a7faa]=_0x7c8b7,this['qu'](t,_0x7c8b7),this['Wu'](t,_0x7c8b7),this['debugPrint']('\x22'+t+'\x22',_0x7c8b7),this['jo'](t)||_0x70d8a(this['cfg']));}['pr'](t){return this[_0x2b72a7(t)]??this['$'][_0x478f31(t)];}['Zu'](t,_0x4865ee,_0x22139e){this['cfg']['debug']&&_0x22139e!==_0x4865ee&&'object'==typeof _0x22139e&&'object'==typeof _0x4865ee&&JSON['stringify'](_0x22139e)===JSON['stringify'](_0x4865ee)&&(console['warn']('[uc-config]\x20Option\x20\x22'+t+'\x22\x20value\x20is\x20the\x20same\x20as\x20the\x20previous\x20one\x20but\x20the\x20reference\x20is\x20different'),console['warn']('[uc-config]\x20You\x20should\x20avoid\x20changing\x20the\x20reference\x20of\x20the\x20object\x20to\x20prevent\x20unnecessary\x20calculations'),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20previous\x20value:',_0x4865ee),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x22139e));}['Ia'](t){let _0x44ef00=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x44ef00['keys']());for(let [_0xb1f704,_0x51ca87]of this['Ut'])_0x44ef00['has'](_0xb1f704)||(_0x51ca87(),this['Ut']['delete'](_0xb1f704));for(let [_0x382754,_0x3f4cce]of _0x44ef00){let _0x2221aa=_0x478f31(_0x382754);if(_0x3f4cce['attribute']){let _0x106abb=this['Oa'](_0x382754);for(let _0xb02456 of _0x106abb)this['ci'][_0xb02456]=_0x382754;}this['sharedCtx']['has'](_0x2221aa)||this['sharedCtx']['add'](_0x2221aa,_0x3f4cce['defaultValue']);let _0x30585b=Object['getOwnPropertyDescriptor'](this,_0x382754);if((!_0x30585b||!_0x30585b['set']||!_0x30585b['get'])&&Object['defineProperty'](this,_0x382754,{'set':_0x1e1dd9=>{this['Ye'](_0x382754,_0x1e1dd9);},'get':()=>this['pr'](_0x382754),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0x382754)){let _0x3b957d=this['sub'](_0x2221aa,_0x231a11=>{this['Ye'](_0x382754,_0x231a11);},!0x1);this['Ut']['set'](_0x382754,_0x3b957d);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x211534 of t)if('attributes'===_0x211534['type']&&_0x211534['attributeName']){let _0x5c801a=_0x211534['attributeName'],_0x5b96cf=_0x211534['oldValue'],_0x15a3b9=this['getAttribute'](_0x5c801a);if(_0x5b96cf===_0x15a3b9||_0x5c801a in _0x458a44)continue;if(_0x5c801a in this['ci']){let _0x57fb7e=this['ci'][_0x5c801a],_0x3ff26f=this['Go'](_0x57fb7e);this['attributeChangedCallback'](_0x5c801a,_0x5b96cf??'',_0x15a3b9??_0x3ff26f?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x3e61b1 of _0x44fb25)this['sub'](_0x478f31(_0x3e61b1),_0x47a4b2=>{this['Ye'](_0x3e61b1,_0x47a4b2);},!0x1);for(let _0x3e8206 of _0x41c4e3){let _0x27f6d9=t[_0x3e8206]??this['$'][_0x478f31(_0x3e8206)];_0x27f6d9!==_0x2150b6[_0x3e8206]&&this['Ye'](_0x3e8206,_0x27f6d9);let _0x10d0c4=Object['getOwnPropertyDescriptor'](this,_0x3e8206);(!_0x10d0c4||!_0x10d0c4['set']||!_0x10d0c4['get'])&&Object['defineProperty'](this,_0x3e8206,{'set':_0x11acf6=>{this['Ye'](_0x3e8206,_0x11acf6);},'get':()=>this['pr'](_0x3e8206)});}let _0x17476e=_0x6ce804=>{(({key:_0x3a2f0f,setValue:_0x104a71,getValue:t,computationControllers:_0x452f89})=>{for(let _0x28939f of _0xae57e8){if(!_0x28939f['deps']['includes'](_0x3a2f0f))continue;let _0x56f650={[_0x28939f['key']]:()=>t(_0x28939f['key'])};for(let _0x109cdb of _0x28939f['deps'])_0x56f650[_0x109cdb]=()=>t(_0x109cdb);let _0xb41cc3,_0x19d45b=new AbortController();_0x452f89['get'](_0x28939f['fn'])?.['abort'](),_0x452f89['set'](_0x28939f['fn'],_0x19d45b);try{_0xb41cc3=_0x28939f['fn'](_0x56f650,{'signal':_0x19d45b['signal']});}catch(_0x5964fd){return _0x452f89['get'](_0x28939f['fn'])===_0x19d45b&&_0x452f89['delete'](_0x28939f['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x28939f['key']+'\x22',_0x5964fd);}_0x11db1b(_0xb41cc3)?_0xb41cc3['then'](_0x4fd481=>{_0x19d45b['signal']['aborted']||_0x104a71(_0x28939f['key'],_0x4fd481);})['catch'](_0x11d058=>{_0x19d45b['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x28939f['key']+'\x22',_0x11d058);})['finally'](()=>{_0x452f89['get'](_0x28939f['fn'])===_0x19d45b&&_0x452f89['delete'](_0x28939f['fn']);}):_0x104a71(_0x28939f['key'],_0xb41cc3);}})({'key':_0x6ce804,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x148c13 of _0x41c4e3)this['sub'](_0x478f31(_0x148c13),()=>_0x17476e(_0x148c13));}['attributeChangedCallback'](t,_0x1cf99f,_0x1413d1){if(super['attributeChangedCallback'](t,_0x1cf99f,_0x1413d1),_0x1cf99f===_0x1413d1)return;let _0x404eeb=_0x458a44[t];_0x404eeb?this[_0x404eeb]=_0x1413d1:this['i']['when']('pluginManager',_0x158ecc=>{let _0x1cb6f0=this['getAttribute'](t);if(_0x1cb6f0&&_0x1cb6f0!==_0x1413d1)return;let _0x36355f=this['ci'][t],_0x198a80=_0x36355f?_0x158ecc['configRegistry']['get'](_0x36355f):void 0x0;if(_0x36355f&&_0x198a80){let _0x103e80=_0x198a80['fromAttribute']?_0x198a80['fromAttribute'](_0x1413d1):_0x1413d1;if(this['pr'](_0x36355f)===_0x103e80)return;this['Ye'](_0x36355f,_0x103e80);}});}['disconnectedCallback'](){super['disconnectedCallback'](),this['dr']&&(this['dr'](),this['dr']=void 0x0),this['li']&&(this['li']['disconnect'](),this['li']=void 0x0);for(let t of this['Ut']['values']())t();this['Ut']['clear']();}static get['observedAttributes'](){return[...super['observedAttributes'],...Object['keys'](_0x458a44)];}};for(let _0x512665 of _0x41c4e3)_0x32b502['prototype'][_0x512665]=void 0x0;var _0x186df7=class extends _0x327a9e{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['dropzone']=!0x0,this['ui']='upload-file',this['Qu']=()=>{this['api']['initFlow']();};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];}['initCallback'](){super['initCallback'](),this['subConfigValue']('multiple',t=>{this['ui']=t?'upload-files':'upload-file';});}['render'](){return _0x5363a9`<uc-drop-area .disabled=${!this['dropzone']}><button type="button" @click=${this['Qu']}><uc-icon name="upload"></uc-icon><span>${this['l10n'](this['ui'])}</span>${this['yield']('')}<div class="uc-visual-drop-area">${this['l10n']('drop-files-here')}</div></button></uc-drop-area>`;}};_0x2c1f84([_0x23c236({'attribute':'dropzone','type':Boolean})],_0x186df7['prototype'],'dropzone',0x2),_0x2c1f84([_0x5e1929()],_0x186df7['prototype'],'ui',0x2);var _0x45023b=class extends _0x5bd0b0{constructor(){super(...arguments),this['Wo']=_0x6c7017();}['initCallback'](){this['activityType']=this['registration']?.['id']??null,this['Pa'](),super['initCallback']();}['willUpdate'](t){super['willUpdate'](t),t['has']('registration')&&(this['Pa'](),this['isActivityActive']&&(this['hr'](),this['La']()));}['Pa'](){this['registration']&&(this['Pn']()||this['registerActivity'](this['activityType']??'',{'onActivate':()=>this['La'](),'onDeactivate':()=>this['hr']()}));}async['La'](){await this['updateComplete'];let t=this['Wo']['value'];if(!t||!this['registration'])return;this['hr']();let _0x10692c=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x10692c)??void 0x0;}catch(_0x51ece8){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x51ece8);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x533a81){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x533a81);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return _0x5363a9`<div style="display: contents;" ${_0x44edaf(this['Wo'])}></div>`;}};_0x2c1f84([_0x23c236({'attribute':!0x1})],_0x45023b['prototype'],'registration',0x2);var _0x50d061=class extends _0x35b574{constructor(){super(...arguments),this['mode']='modal',this['de']=[];}['initCallback'](){super['initCallback']();let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ra']())),this['Ra']();}['Ra'](){let t=this['i']['pluginManager'];this['de']=t?t['snapshot']()['activities']:[];}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}['render'](){return'inline'===this['mode']?_0x5363a9`${_0x11d78d(this['de'],t=>t['id'],t=>_0x5363a9`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:_0x5363a9`${_0x11d78d(this['de'],t=>t['id'],t=>_0x5363a9`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function _0x143cd3(_0x5013c6,_0x392827,t){return _0x5013c6?_0x392827(_0x5013c6):t?.(_0x5013c6);}function _0x43ddd0(..._0x1dd215){return _0x1dd215['reduce']((_0x4ecd55,t)=>{if('string'==typeof t)return _0x4ecd55[t]=!0x0,_0x4ecd55;for(let _0x2db883 of Object['keys'](t))_0x4ecd55[_0x2db883]=t[_0x2db883];return _0x4ecd55;},{});}function _0xe84459(..._0x2824fa){let _0x40914a=_0x43ddd0(..._0x2824fa);return Object['keys'](_0x40914a)['reduce']((t,_0x3fd6bd)=>(_0x40914a[_0x3fd6bd]&&t['push'](_0x3fd6bd),t),[])['join']('\x20');}_0x2c1f84([_0x23c236({'type':String})],_0x50d061['prototype'],'mode',0x2),_0x2c1f84([_0x5e1929()],_0x50d061['prototype'],'de',0x2);var _0x296901=_0xac45ed=>_0x3eba0e['includes'](_0xac45ed);function _0xdbfe55(_0x55bd7b){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x3eba0e,'*tabId':_0x2ed381['CROP'],'*on.retryNetwork':()=>{let _0x5e3e84=_0x55bd7b['querySelectorAll']('img');for(let t of _0x5e3e84){let _0x2a0afa=t['src'];t['src']=_0x358ac3,t['src']=_0x2a0afa;}_0x55bd7b['$']['*networkProblems']=!0x1;},'*on.apply':_0x1128cb=>{if(!_0x1128cb)return;let t=_0x55bd7b['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0x819d7=_0x34859c(_0x574ee0(_0x1128cb),'preview'),_0x29f0f1={'originalUrl':t,'cdnUrlModifiers':_0x819d7,'cdnUrl':_0x17642b(t,_0x819d7),'transformations':_0x1128cb};_0x55bd7b['dispatchEvent'](new CustomEvent('apply',{'detail':_0x29f0f1,'bubbles':!0x0,'composed':!0x0})),_0x55bd7b['remove']();},'*on.cancel':()=>{_0x55bd7b['remove'](),_0x55bd7b['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var _0x538f38={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},tU=class extends _0x35b574{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=_0x538f38,this['$a']=_0x538f38['visible'],this['Da']=_0x538f38['hidden'],this['Zo']=!0x1,this['Fa']=!0x1;}set['visible'](t){this['he']=t,this['Na']();}get['visible'](){return this['he'];}set['styles'](t){this['Ua']=t,this['Zo']=!0x0,this['$a']=t['visible']??_0x538f38['visible'],this['Da']=t['hidden']??_0x538f38['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x4b50a5,..._0x37bb79){let t=_0x43ddd0(..._0x37bb79);for(let _0x560920 of Object['keys'](t))_0x4b50a5['classList']['toggle'](_0x560920,!!t[_0x560920]);}(this,{[_0x538f38['transition']]:!this['Zo'],[this['$a']]:this['he'],[this['Da']]:!this['he']}),this['toggleAttribute']('inert',!this['he']);}['Ju'](){this['Fa']||(this['Fa']=!0x0,this['dispatchEvent'](new CustomEvent('initial-render',{'bubbles':!0x0,'composed':!0x0})));}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['Zo']||this['classList']['add'](_0x538f38['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};_0x2c1f84([_0x23c236({'type':Boolean})],tU['prototype'],'visible',0x1),_0x2c1f84([_0x23c236({'attribute':!0x1})],tU['prototype'],'styles',0x1);var _0x4d9f7d=class extends _0x35b574{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=_0x6c7017(),this['Yo']=!0x1,this['Xo']=()=>{let t=this['Xe']['value'];t&&(this['Va'](t),this['Yo']&&this['active']&&this['Qo']());};}['firstUpdated'](t){super['firstUpdated'](t),this['active']&&this['Qo']();}['updated'](t){super['updated'](t),t['has']('active')&&(this['active']?this['Qo']():this['ed']());}['Qo'](){let t=this['Xe']['value'];if(!t)return;this['Yo']=!0x0;let {width:_0x314520}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x314520+'px)',t['addEventListener']('transitionend',this['Xo'],{'once':!0x0});}['ed'](){let t=this['Xe']['value'];t&&(this['Yo']=!0x1,t['removeEventListener']('transitionend',this['Xo']),this['Va'](t));}['Va'](t){t['style']['transition']='initial',t['style']['opacity']='0',t['style']['transform']='translateX(-101%)';}['render'](){return _0x5363a9`<div class="uc-inner"><div class="uc-line" ${_0x44edaf(this['Xe'])}></div></div>`;}};_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x4d9f7d['prototype'],'active',0x2);var _0x2d2ec9=_0x16cc07(class extends _0xdb4d60{constructor(_0xd1df61){if(super(_0xd1df61),_0xd1df61['type']!==_0x3e51a0||'class'!==_0xd1df61['name']||_0xd1df61['strings']?.['length']>0x2)throw Error('`classMap()`\x20can\x20only\x20be\x20used\x20in\x20the\x20`class`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x52e6d5){return'\x20'+Object['keys'](_0x52e6d5)['filter'](_0x476584=>_0x52e6d5[_0x476584])['join']('\x20')+'\x20';}['update'](_0x1647d2,[_0x2b1b9f]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0x1647d2['strings']&&(this['nt']=new Set(_0x1647d2['strings']['join']('\x20')['split'](/\s/)['filter'](_0x5dada4=>''!==_0x5dada4)));for(let _0x432e9e in _0x2b1b9f)_0x2b1b9f[_0x432e9e]&&!this['nt']?.['has'](_0x432e9e)&&this['st']['add'](_0x432e9e);return this['render'](_0x2b1b9f);}let t=_0x1647d2['element']['classList'];for(let _0x1f2efc of this['st'])_0x1f2efc in _0x2b1b9f||(t['remove'](_0x1f2efc),this['st']['delete'](_0x1f2efc));for(let _0x3cf5d8 in _0x2b1b9f){let _0x294291=!!_0x2b1b9f[_0x3cf5d8];_0x294291===this['st']['has'](_0x3cf5d8)||this['nt']?.['has'](_0x3cf5d8)||(_0x294291?(t['add'](_0x3cf5d8),this['st']['add'](_0x3cf5d8)):(t['remove'](_0x3cf5d8),this['st']['delete'](_0x3cf5d8)));}return _0x3b4472;}}),_0x5d8155=_0x5d2ba1=>_0x5d2ba1??_0x194372,_0x12de88=class extends _0x35b574{constructor(){super(...arguments),this['text']='',this['icon']='',this['reverse']=!0x1,this['theme']='default',this['ariaRole']=void 0x0,this['ariaControls']='',this['titleProp']='',this['active']=!0x1;}['firstUpdated'](t){super['firstUpdated'](t),this['_a'](),this['Ba']();}['updated'](t){super['updated'](t),t['has']('reverse')&&this['_a'](),t['has']('theme')&&this['Ba']();}['_a'](){this['style']['flexDirection']=this['reverse']?'row-reverse':'';}['Ba'](){this['theme']&&'custom'!==this['theme']&&(this['className']='uc-'+this['theme']);}get['td'](){let t=this['Jo'];return{'uc-icon':!0x0,'uc-icon_left':!this['reverse'],'uc-icon_right':this['reverse'],'uc-icon_hidden':t,'uc-icon_single':this['rd']};}get['Jo'](){return!this['icon'];}get['rd'](){return!this['text']&&!this['Jo'];}['render'](){return _0x5363a9`<button type="button" role=${_0x5d8155(this['ariaRole']||void 0x0)} aria-controls=${_0x5d8155(this['ariaControls']||void 0x0)} aria-label=${_0x5d8155(this['l10n'](this['titleProp']))} title=${_0x5d8155(this['l10n'](this['titleProp']))} ><uc-icon class=${_0x2d2ec9(this['td'])} name=${_0x5d8155(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function _0x2faf37(_0x3abb97,_0x2cd4a7,t){let _0x2a7855=window['devicePixelRatio'],_0x14c6f5=Math['min'](Math['ceil'](_0x2cd4a7*_0x2a7855),0xbb8),_0x2cf4a6=_0x2a7855>=0x2?'lightest':'normal';return _0x17642b(_0x3abb97,_0x34859c(_0x5cf5e0,_0x574ee0(t),'quality/'+_0x2cf4a6,'stretch/off/-/resize/'+_0x14c6f5+'x','@clib/'+_0x48ab7c+'/'+_0x213754+'/uc-cloud-image-editor/'));}_0x2c1f84([_0x23c236({'type':String})],_0x12de88['prototype'],'text',0x2),_0x2c1f84([_0x23c236({'type':String})],_0x12de88['prototype'],'icon',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x12de88['prototype'],'reverse',0x2),_0x2c1f84([_0x23c236({'type':String,'reflect':!0x0})],_0x12de88['prototype'],'theme',0x2),_0x2c1f84([_0x23c236({'attribute':'aria-role'})],_0x12de88['prototype'],'ariaRole',0x2),_0x2c1f84([_0x23c236({'attribute':'aria-controls'})],_0x12de88['prototype'],'ariaControls',0x2),_0x2c1f84([_0x23c236({'attribute':'title-prop'})],_0x12de88['prototype'],'titleProp',0x2),_0x2c1f84([_0x23c236({'type':Boolean,'noAccessor':!0x0})],_0x12de88['prototype'],'active',0x2);var _0x34fab0=class extends _0x35b574{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+_0x390713['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=_0x6c7017(),this['mi']=!0x1,this['gi']=null,this['qa']=t=>{this['Wa'](),this['vi']&&(t['stopPropagation'](),t['preventDefault'](),this['vi']=!0x1);},this['Za']=t=>{if(!this['vi']||!this['fr']||!this['ts'])return;t['stopPropagation'](),t['preventDefault']();let _0x489eea=this['Re'];if(!_0x489eea)return;let {x:_0x47d388,y:_0x4d2881}=_0x489eea['getBoundingClientRect'](),_0x514d72=t['x']-_0x47d388,_0x1f0e5f=t['y']-_0x4d2881,_0x2584a5=_0x514d72-this['fr'][0x0],_0x912d1b=_0x1f0e5f-this['fr'][0x1],{direction:_0x5207c2}=this['ts'],_0xa082bc=this['pd'](_0x5207c2,[_0x2584a5,_0x912d1b]);_0xa082bc&&(this['$']['*cropBox']=_0xa082bc);},this['Ya']=t=>{if(!this['xe'])return;let _0x3cfb26=Object['values'](this['xe'])['find'](_0x192448=>{if(!_0x192448||this['os'](_0x192448['direction']))return!0x1;let _0x39b86e=_0x192448['interactionNode']['getBoundingClientRect']();return function(_0x341148,[_0x40a3fd,t]){return _0x341148['x']<=_0x40a3fd&&_0x40a3fd<=_0x341148['x']+_0x341148['width']&&_0x341148['y']<=t&&t<=_0x341148['y']+_0x341148['height'];}({'x':_0x39b86e['x'],'y':_0x39b86e['y'],'width':_0x39b86e['width'],'height':_0x39b86e['height']},[t['x'],t['y']]);});this['Ha']=_0x3cfb26,this['Wa']();};}get['Re'](){return this['ja']['value']??null;}get['vi'](){return this['fi'];}set['vi'](t){this['fi']!==t&&(this['fi']=t,this['rs']());}['rs'](){this['pi']&&this['pi']['setAttribute']('class',_0xe84459({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x5de299=this['$']['*imageBox'];if(!_0x5de299)return!0x1;if(''===t&&_0x5de299['height']<=0x1&&_0x5de299['width']<=0x1)return!0x0;let _0x25060a=_0x5de299['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0x5d0170=_0x5de299['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0x25060a||_0x5d0170;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x47bd91,y:_0xb78d2a,width:_0xbe2e28,height:_0xb19409}=t,_0x56d581=this['Re'];if(!_0x56d581)return;let _0x26ea49=_0x369303('mask',{'id':this['za']}),_0x13573c=_0x369303('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x2fbe41=_0x369303('rect',{'x':_0x47bd91,'y':_0xb78d2a,'width':_0xbe2e28,'height':_0xb19409,'fill':'black'});_0x26ea49['appendChild'](_0x13573c),_0x26ea49['appendChild'](_0x2fbe41);let _0xfe72e1=_0x369303('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x56d581['appendChild'](_0xfe72e1),_0x56d581['appendChild'](_0x26ea49),this['di']=_0x26ea49,this['es']=_0x2fbe41;}['sd'](){this['di']&&(this['di']['style']['display']='none',window['requestAnimationFrame'](()=>{this['di']&&(this['di']['style']['display']='block');}));}['nd'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x43511e,y:_0x227536,width:_0x1d5b56,height:_0x37c9a4}=t;this['es']&&_0x16622c(this['es'],{'x':_0x43511e,'y':_0x227536,'width':_0x1d5b56,'height':_0x37c9a4});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x4b470f of Object['values'](this['xe'])){if(!_0x4b470f)continue;let {direction:_0x4e2a50,pathNode:_0x1d3bb0,interactionNode:_0x20df24,groupNode:_0x29022f}=_0x4b470f,_0x2e801f=''===_0x4e2a50,_0x1d156c=0x2===_0x4e2a50['length'],{x:_0x3fa25b,y:_0x1e8fb0,width:_0x41d433,height:_0x278ab1}=t;if(_0x2e801f)_0x16622c(_0x20df24,{'x':_0x3fa25b,'y':_0x1e8fb0,'width':_0x41d433,'height':_0x278ab1});else{let _0x59ef22=_0xca75b0(Math['min'](_0x41d433,_0x278ab1)/0x52/0x2,0x0,0x1),_0x5c4628=_0x1d156c?_0x3f5ce1(t,_0x4e2a50,_0x59ef22):_0xacc29c(t,_0x4e2a50,_0x59ef22),_0x2dd97e=_0x5c4628['center'];if(!_0x2dd97e)continue;let _0x1ff26f=Math['max'](0x18*_0xca75b0(Math['min'](_0x41d433,_0x278ab1)/0x18/0x3,0x0,0x1),0x6);_0x16622c(_0x20df24,{'x':_0x2dd97e[0x0]-_0x1ff26f,'y':_0x2dd97e[0x1]-_0x1ff26f,'width':0x2*_0x1ff26f,'height':0x2*_0x1ff26f}),_0x16622c(_0x1d3bb0,{'d':_0x5c4628['d']});}let _0x12bc2d=this['os'](_0x4e2a50);_0x29022f['setAttribute']('class',_0xe84459('uc-thumb',{'uc-thumb--hidden':_0x12bc2d,'uc-thumb--visible':!_0x12bc2d}));}_0x16622c(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0xa4a7c0){let _0x285e44=_0x369303('g');_0x285e44['classList']['add']('uc-thumb'),_0x285e44['setAttribute']('with-effects','');let _0x1c45d6=_0x369303('rect',{'fill':'transparent'}),_0x2cc193=_0x369303('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x285e44['appendChild'](_0x2cc193),_0x285e44['appendChild'](_0x1c45d6),t[_0xa4a7c0]={'direction':_0xa4a7c0,'pathNode':_0x2cc193,'interactionNode':_0x1c45d6,'groupNode':_0x285e44},''===_0xa4a7c0&&(_0x285e44['style']['cursor']='move'),_0x1c45d6['addEventListener']('pointerdown',this['ld']['bind'](this,_0xa4a7c0));}['cd'](){let t={};for(let _0x52d307=0x0;_0x52d307<0x3;_0x52d307++)for(let _0x3faffb=0x0;_0x3faffb<0x3;_0x3faffb++){let _0x3060a6=''+['n','','s'][_0x52d307]+['w','','e'][_0x3faffb];''!==_0x3060a6&&this['Ga'](t,_0x3060a6);}return this['Ga'](t,''),t;}['ud'](){let t=_0x369303('svg'),_0xa58182=_0x369303('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0xa58182);for(let _0x2e1532=0x1;_0x2e1532<=0x2;_0x2e1532++){let _0x38c8db=_0x369303('line',{'x1':_0x1114e2*_0x2e1532+'%','y1':'0%','x2':_0x1114e2*_0x2e1532+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x38c8db);}for(let _0x3b0251=0x1;_0x3b0251<=0x2;_0x3b0251++){let _0x4ecc16=_0x369303('line',{'x1':'0%','y1':_0x1114e2*_0x3b0251+'%','x2':'100%','y2':_0x1114e2*_0x3b0251+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x4ecc16);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x452316=document['createDocumentFragment'](),_0x307193=this['ud']();_0x452316['appendChild'](_0x307193);let _0x52a6fb=this['cd']();for(let {groupNode:_0xcf4b6f}of Object['values'](_0x52a6fb))_0x452316['appendChild'](_0xcf4b6f);t['appendChild'](_0x452316),this['xe']=_0x52a6fb,this['pi']=_0x307193,this['rs']();}['ld'](t,_0x4e9d58){if(!this['xe'])return;let _0x23f0b1=this['xe'][t];if(!_0x23f0b1||this['os'](t))return;let _0x284007=this['$']['*cropBox'],_0x5eb275=this['Re'];if(!_0x5eb275)return;let {x:_0x2d98d6,y:_0x30e408}=_0x5eb275['getBoundingClientRect'](),_0x343a6c=_0x4e9d58['x']-_0x2d98d6,_0x5e980f=_0x4e9d58['y']-_0x30e408;this['vi']=!0x0,this['ts']=_0x23f0b1,this['fr']=[_0x343a6c,_0x5e980f],this['Ka']={..._0x284007};}['pd'](t,_0x359a74){let [_0x40225b,_0xf301c]=_0x359a74,_0x377acd=this['$']['*imageBox'],_0x7eb391=this['Ka']??this['$']['*cropBox'],_0x3df46b=this['$']['*currentAspectRatio'],_0x2fcc30=_0x3df46b?_0x3df46b['width']/_0x3df46b['height']:void 0x0;if(_0x7eb391=''===t?function({rect:_0x5b3efd,delta:[_0xddfff4,t],imageBox:_0x207ffd}){return _0x3b22dd({..._0x5b3efd,'x':_0x5b3efd['x']+_0xddfff4,'y':_0x5b3efd['y']+t},_0x207ffd);}({'rect':_0x7eb391,'delta':[_0x40225b,_0xf301c],'imageBox':_0x377acd}):_0x19f46d({'rect':_0x7eb391,'delta':[_0x40225b,_0xf301c],'direction':t,'aspectRatio':_0x2fcc30,'imageBox':_0x377acd}),Object['values'](_0x7eb391)['every'](_0x3ac5c6=>Number['isFinite'](_0x3ac5c6)&&_0x3ac5c6>=0x0))return _0x3b22dd(_0x10f806(_0x7eb391),_0x377acd);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x7eb391});}['Wa'](){let t=this['Ha'],_0x4cfaad=this['Re'];_0x4cfaad&&(_0x4cfaad['style']['cursor']=t?function(_0x79c7c5){return''===_0x79c7c5?'move':['e','w']['includes'](_0x79c7c5)?'ew-resize':['n','s']['includes'](_0x79c7c5)?'ns-resize':['nw','se']['includes'](_0x79c7c5)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x45eff0=this['Re'];if(!_0x45eff0)return void(this['gi']=t);this['gi']=null;let _0x4dafcf=document['createDocumentFragment'](),_0x5a871a=_0x369303('image',{'href':t});_0x5a871a['setAttribute']('class','uc-cloud-mask'),_0x4dafcf['appendChild'](_0x5a871a),_0x45eff0['appendChild'](_0x4dafcf),this['hi']=_0x5a871a;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x257988,y:_0x40ce18,width:_0x3d209d,height:_0x129476}=t;_0x16622c(this['hi'],{'x':_0x257988,'y':_0x40ce18,'height':_0x129476,'width':_0x3d209d});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0x30d2fb of Object['values'](this['xe'])){if(!_0x30d2fb)continue;let {groupNode:_0x3b69ec}=_0x30d2fb;_0x3b69ec['setAttribute']('class',_0xe84459('uc-thumb',{'uc-thumb--hidden':!t,'uc-thumb--visible':t}));}}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['sd'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();});}),this['sub']('*cropBox',t=>{t&&(this['mr']=t['height']<=0x1||t['width']<=0x1,this['rs'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',t=>{t&&this['Xa'](t);}),document['addEventListener']('pointermove',this['Za'],!0x0),document['addEventListener']('pointerup',this['qa'],!0x0);}['firstUpdated'](t){super['firstUpdated'](t),this['fd']();}['fd'](){let t=this['Re'];if(t&&!this['mi']){if(this['od'](),this['dd'](),this['mi']=!0x0,t['addEventListener']('pointermove',this['Ya'],!0x0),this['gi']){let _0x563399=this['gi'];this['gi']=null,this['Xa'](_0x563399);}this['ss']();}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Re']?.['removeEventListener']('pointermove',this['Ya'],!0x0),document['removeEventListener']('pointermove',this['Za'],!0x0),document['removeEventListener']('pointerup',this['qa'],!0x0);}['render'](){return _0x5363a9`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${_0x44edaf(this['ja'])}></svg>`;}};_0x2c1f84([_0x5e1929()],_0x34fab0['prototype'],'fi',0x2);var _0x487e15=class extends _0x35b574{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=_0x6c7017(),this['as']=_0x6c7017(),this['init$']={...this['init$'],'*padding':0x14,'*operations':{'rotate':0x0,'mirror':!0x1,'flip':!0x1},'*imageBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0},'*cropBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0}},this['Qa']=_0x1503b7(this['tl']['bind'](this),0x12c),this['ns']=_0x55abb8(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x3d6640=function(_0x5758a2,_0x325db9){let t={};for(let _0x47a5b9 of _0x325db9){let _0x43eae6=_0x5758a2[_0x47a5b9];(Object['hasOwn'](_0x5758a2,_0x47a5b9)||void 0x0!==_0x43eae6)&&(t[_0x47a5b9]=_0x43eae6);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x72525e={...this['$']['*operations'],..._0x3d6640};this['$']['*operations']=_0x72525e;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x431fa6=t['getContext']('2d'),_0x51991d=this['offsetWidth'],_0x44961f=this['offsetHeight'],_0x3c236e=window['devicePixelRatio'];t['style']['width']=_0x51991d+'px',t['style']['height']=_0x44961f+'px',t['width']=_0x51991d*_0x3c236e,t['height']=_0x44961f*_0x3c236e,_0x431fa6?.['scale'](_0x3c236e,_0x3c236e),this['fe']=t,this['e']=_0x431fa6;}['rl'](){if(!this['_']||!this['se'])return;let _0x114ee2,t=this['se'],_0x4c4032=this['$']['*padding'],_0x2d0432=this['$']['*operations'],{rotate:_0x54649e}=_0x2d0432,_0x7591ee=this['offsetWidth'],_0x4de674=this['offsetHeight'],_0x5bc65b=_0x543b7a({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x54649e);if(_0x5bc65b['width']>_0x7591ee-0x2*_0x4c4032||_0x5bc65b['height']>_0x4de674-0x2*_0x4c4032){let _0x44177f=_0x5bc65b['width']/_0x5bc65b['height'];if(_0x44177f>_0x7591ee/_0x4de674){let _0x203ffd=_0x7591ee-0x2*_0x4c4032,_0x253666=_0x203ffd/_0x44177f;_0x114ee2={'x':0x0+_0x4c4032,'y':_0x4c4032+(_0x4de674-0x2*_0x4c4032)/0x2-_0x253666/0x2,'width':_0x203ffd,'height':_0x253666};}else{let _0x542757=_0x4de674-0x2*_0x4c4032,_0x2c14fa=_0x542757*_0x44177f;_0x114ee2={'x':_0x4c4032+(_0x7591ee-0x2*_0x4c4032)/0x2-_0x2c14fa/0x2,'y':0x0+_0x4c4032,'width':_0x2c14fa,'height':_0x542757};}}else{let {width:_0x1642b1,height:_0x26cf48}=_0x5bc65b;_0x114ee2={'x':_0x4c4032+(_0x7591ee-0x2*_0x4c4032)/0x2-_0x1642b1/0x2,'y':_0x4c4032+(_0x4de674-0x2*_0x4c4032)/0x2-_0x26cf48/0x2,'width':_0x1642b1,'height':_0x26cf48};}this['$']['*imageBox']=_0x10f806(_0x114ee2);}['cs'](){let t=this['$']['*cropBox'],_0x1e4906=this['$']['*imageBox'],_0x222bf6=this['$']['*operations'],{rotate:_0x18f8d0}=_0x222bf6,_0x26501d=this['$']['*editorTransformations']['crop'],{width:_0x2dd938,x:_0x3c0ba4,y:_0x4e3e0a}=_0x1e4906;if(_0x26501d){let {dimensions:[_0x620ef0,_0x4fa22a],coords:[_0x5cb063,_0xa817e9]}=_0x26501d,{width:_0x20f0a4}=_0x543b7a(this['Qe'],_0x18f8d0),_0x3fe46a=_0x2dd938/_0x20f0a4;t=_0x3b22dd(_0x10f806({'x':_0x3c0ba4+_0x5cb063*_0x3fe46a,'y':_0x4e3e0a+_0xa817e9*_0x3fe46a,'width':_0x620ef0*_0x3fe46a,'height':_0x4fa22a*_0x3fe46a}),_0x1e4906);}let _0x37a240=this['$']['*currentAspectRatio'],_0x1b33e4=_0x37a240?_0x37a240['width']/_0x37a240['height']:void 0x0;if(!function(_0x38423a,_0x4d27d8){return _0x38423a['x']>=_0x4d27d8['x']&&_0x38423a['y']>=_0x4d27d8['y']&&_0x38423a['x']+_0x38423a['width']<=_0x4d27d8['x']+_0x4d27d8['width']&&_0x38423a['y']+_0x38423a['height']<=_0x4d27d8['y']+_0x4d27d8['height'];}(t,_0x1e4906)||_0x1b33e4&&!function(_0x524c83,_0x4baa7a){return Math['abs'](_0x524c83['width']/_0x524c83['height']-_0x4baa7a)<0.1;}(t,_0x1b33e4)){let _0xc902d5=_0x1e4906['width']/_0x1e4906['height'],_0x440060=_0x1e4906['width'],_0x51cbe9=_0x1e4906['height'];_0x1b33e4&&(_0xc902d5>_0x1b33e4?_0x440060=Math['min'](_0x1e4906['height']*_0x1b33e4,_0x1e4906['width']):_0x51cbe9=Math['min'](_0x1e4906['width']/_0x1b33e4,_0x1e4906['height'])),t={'x':_0x1e4906['x']+_0x1e4906['width']/0x2-_0x440060/0x2,'y':_0x1e4906['y']+_0x1e4906['height']/0x2-_0x51cbe9/0x2,'width':_0x440060,'height':_0x51cbe9};}this['$']['*cropBox']=_0x3b22dd(_0x10f806(t),_0x1e4906);}['md'](){let t=this['e'];if(!t)return;let _0x145994=this['se'];if(!_0x145994)return;let _0x40b3bf=this['$']['*imageBox'],_0x22e57a=this['$']['*operations'],{mirror:_0x4b06f6,flip:_0x577c4c,rotate:_0xb23d3a}=_0x22e57a,_0x2eaa37=_0x543b7a({'width':_0x40b3bf['width'],'height':_0x40b3bf['height']},_0xb23d3a);t['save'](),t['translate'](_0x40b3bf['x']+_0x40b3bf['width']/0x2,_0x40b3bf['y']+_0x40b3bf['height']/0x2),t['rotate'](_0xb23d3a*Math['PI']*-0x1/0xb4),t['scale'](_0x4b06f6?-0x1:0x1,_0x577c4c?-0x1:0x1),t['drawImage'](_0x145994,-_0x2eaa37['width']/0x2,-_0x2eaa37['height']/0x2,_0x2eaa37['width'],_0x2eaa37['height']),t['restore']();}['us'](){if(!(this['_']&&this['se']&&this['fe']&&this['e']))return;let t=this['fe'];this['e']['clearRect'](0x0,0x0,t['width'],t['height']),this['md']();}['gd']({fromViewer:t}){this['se']&&(this['as']['value']?.['toggleThumbs'](!0x0),this['vd'](),setTimeout(()=>{this['className']=_0xe84459({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x4fe7a6=this['$']['*imageBox'],_0x5c2b22=this['$']['*operations'],{rotate:_0x51a633}=_0x5c2b22,{width:_0x2014a2,height:_0x4ad028}=_0x4fe7a6,{width:_0x5da134,height:_0x585ae3}=_0x543b7a(this['Qe'],_0x51a633),{width:_0x37b21e,height:_0x206f54}=t,_0x17fe78=_0x2014a2/_0x5da134,_0x4a3fc6=_0x4ad028/_0x585ae3;return[_0xca75b0(Math['round'](_0x37b21e/_0x17fe78),0x1,_0x5da134),_0xca75b0(Math['round'](_0x206f54/_0x4a3fc6),0x1,_0x585ae3)];}['yd'](){let t=this['$']['*cropBox'],_0x591330=this['$']['*imageBox'],_0x41b206=this['$']['*operations'],{rotate:_0xd0cae1}=_0x41b206,{width:_0x3d0c19,height:_0x162e40,x:_0xc181a3,y:_0x4c7842}=_0x591330,{width:_0x3adf29,height:_0x392d80}=_0x543b7a(this['Qe'],_0xd0cae1),{x:_0x25b39d,y:_0x267c85}=t,_0xc0a255=_0x3d0c19/_0x3adf29,_0x39255d=_0x162e40/_0x392d80,_0x14aa3b=this['ol'](),_0xfad334={'dimensions':_0x14aa3b,'coords':[_0xca75b0(Math['round']((_0x25b39d-_0xc181a3)/_0xc0a255),0x0,_0x3adf29-_0x14aa3b[0x0]),_0xca75b0(Math['round']((_0x267c85-_0x4c7842)/_0x39255d),0x0,_0x392d80-_0x14aa3b[0x1])]};if(function(_0x3a5f86){return!_0x3a5f86||[({dimensions:t,coords:_0x3956ba})=>[...t,..._0x3956ba]['every'](_0x18ad96=>Number['isInteger'](_0x18ad96)&&Number['isFinite'](_0x18ad96)),({dimensions:t,coords:_0x171c0b})=>t['every'](_0x28664b=>_0x28664b>0x0)&&_0x171c0b['every'](_0x30fd84=>_0x30fd84>=0x0)]['every'](t=>t(_0x3a5f86));}(_0xfad334))return _0x14aa3b[0x0]!==_0x3adf29||_0x14aa3b[0x1]!==_0x392d80?_0xfad334:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0xfad334});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let t=this['$']['*operations'],{rotate:_0x1de626,mirror:_0x369072,flip:_0x5a9d1b}=t,_0x22dff0=this['yd'](),_0x1ca785={...this['$']['*editorTransformations'],'crop':_0x22dff0,'rotate':_0x1de626,'mirror':_0x369072,'flip':_0x5a9d1b};this['$']['*editorTransformations']=_0x1ca785;}['setValue'](t,_0x290752){this['$']['*operations']={...this['$']['*operations'],[t]:_0x290752},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x3be898}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x1f5d8c=this['$']['*originalUrl'],_0x5170c5=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x1f5d8c,_0x5170c5),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x3be898});}catch(_0x2bef26){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x2bef26}),this['telemetryManager']['sendEventError'](_0x2bef26,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x515e0b=>{let [_0x36cb61]=_0x515e0b;_0x36cb61&&_0x36cb61['contentRect']['width']>0x0&&_0x36cb61['contentRect']['height']>0x0&&this['_']&&this['se']&&this['ns']();}),this['s']['observe'](this);}}['deactivate']({reset:t=!0x1}={}){this['_']&&(!t&&this['tl'](),this['_']=!0x1,this['wd'](),this['className']=_0xe84459({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['as']['value']?.['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['sl'],{'once':!0x0}),this['s']?.['disconnect']());}['wd'](){let t=this['ol'](),_0x5525da=this['$']['*cropBox'],_0x518d5a=Math['min'](this['offsetWidth'],t[0x0])/_0x5525da['width'],_0x5e7360=Math['min'](this['offsetHeight'],t[0x1])/_0x5525da['height'],_0x43e245=Math['min'](_0x518d5a,_0x5e7360),_0x3ae9b9=_0x5525da['x']+_0x5525da['width']/0x2,_0x10eeec=_0x5525da['y']+_0x5525da['height']/0x2;this['style']['transform']='scale('+_0x43e245+')\x20translate('+(this['offsetWidth']/0x2-_0x3ae9b9)/_0x43e245+'px,\x20'+(this['offsetHeight']/0x2-_0x10eeec)/_0x43e245+'px)',this['style']['transformOrigin']=_0x3ae9b9+'px\x20'+_0x10eeec+'px';}['vd'](){let t=this['$']['*cropBox'],_0x2e38f9=t['x']+t['width']/0x2,_0x7dc97d=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x2e38f9+'px\x20'+_0x7dc97d+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x5a1dd6){let _0x5005d9=this['offsetWidth'];_0x5a1dd6={..._0x5a1dd6,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x1a32ab=await this['proxyUrl'](_0x2faf37(t,_0x5005d9,_0x5a1dd6)),{promise:_0x1ff23c,cancel:_0x1825ce,image:_0x2c4c16}=_0x583135(_0x1a32ab),_0x4de662=this['$t'](_0x1a32ab);return _0x2c4c16['addEventListener']('load',_0x4de662,{'once':!0x0}),_0x2c4c16['addEventListener']('error',_0x4de662,{'once':!0x0}),this['b']?.(),this['b']=_0x1825ce,_0x1ff23c['then'](()=>_0x2c4c16)['catch'](_0x126c96=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x126c96}),this['$']['*networkProblems']=!0x0,_0x2c4c16));}['$t'](t){let _0x1ef5e7='crop',_0x15cbb7=this['$']['*loadingOperations'],_0x8d601f=_0x15cbb7['get'](_0x1ef5e7);return _0x8d601f||(_0x8d601f=new Map(),_0x15cbb7['set'](_0x1ef5e7,_0x8d601f)),_0x8d601f['get'](t)||(_0x8d601f['set'](t,!0x0),this['$']['*loadingOperations']=_0x15cbb7),()=>{let _0xbf96ea=_0x15cbb7['get'](_0x1ef5e7);_0xbf96ea?.['has'](t)&&(_0xbf96ea['delete'](t),this['$']['*loadingOperations']=_0x15cbb7);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['us']();}),this['sub']('*cropBox',()=>{this['se']&&this['Qa']();}),this['sub']('*currentAspectRatio',()=>{this['cs']();}),setTimeout(()=>{this['sub']('*networkProblems',t=>{t||this['_']&&this['Qe']&&this['activate'](this['Qe'],{'fromViewer':!0x1});});},0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['se']&&(this['se']=null);}['render'](){return _0x5363a9`<canvas class="uc-canvas" ${_0x44edaf(this['Ja'])}></canvas><uc-crop-frame ${_0x44edaf(this['as'])}></uc-crop-frame>`;}};function _0x123d62(_0x100a16,_0x374e86,t){let _0x37b467=t-0x1,_0x4ed89d=new Array(t);for(let _0x5cf96a=_0x37b467;_0x5cf96a>=0x0;_0x5cf96a-=0x1)_0x4ed89d[_0x5cf96a]=Math['ceil']((_0x5cf96a*_0x374e86+(_0x37b467-_0x5cf96a)*_0x100a16)/_0x37b467);return _0x4ed89d;}function _0xce4185(_0x14286e,_0xd3227b){let t=_0xdfef6e[_0x14286e]['keypointsNumber'],{range:_0x537b68,zero:_0x3d8aa9}=_0xdfef6e[_0x14286e];return[...new Set([..._0x123d62(_0x537b68[0x0],_0x3d8aa9,t+0x1),..._0x123d62(_0x3d8aa9,_0x537b68[0x1],t+0x1),_0x3d8aa9,_0xd3227b])]['sort']((_0x1a14a5,_0x2209d7)=>_0x1a14a5-_0x2209d7);}_0x2c1f84([_0x5e1929()],_0x487e15['prototype'],'se',0x2);var _0x48bac0=class extends _0x35b574{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=_0x6c7017(),this['gr']=_0x6c7017(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=_0x1503b7(async(t,_0x10941b,_0x1ea1d1)=>{let _0xf187aa=()=>!this['ul'](t,_0x10941b)||this['Pt']!==_0x1ea1d1||!!this['Ue']['find'](_0x2ea462=>_0x2ea462['value']===_0x1ea1d1);if(_0xf187aa())return;let _0x3c804d=await this['dl'](t,_0x1ea1d1),_0x515001=new Image();_0x515001['src']=_0x3c804d['src'];let _0x2ff683=this['$t'](_0x3c804d['src']);_0x515001['addEventListener']('load',_0x2ff683,{'once':!0x0}),_0x515001['addEventListener']('error',_0x2ff683,{'once':!0x0}),_0x3c804d['image']=_0x515001,_0x515001['classList']['add']('uc-fader-image'),_0x515001['addEventListener']('load',()=>{if(_0xf187aa())return;let _0x2d195d=this['Ue'],_0x3e3812=_0x2d195d['findIndex'](_0x103aa1=>_0x103aa1['value']>_0x1ea1d1);-0x1===_0x3e3812&&(_0x3e3812=_0x2d195d['length']);let _0x4a5f3e=_0x2d195d[_0x3e3812]?.['image'],_0x507957=this['gr']['value'];!_0x507957||_0x4a5f3e&&!_0x507957['contains'](_0x4a5f3e)||(_0x2d195d['splice'](_0x3e3812,0x0,_0x3c804d),_0x4a5f3e?_0x507957['insertBefore'](_0x515001,_0x4a5f3e):_0x507957['appendChild'](_0x515001),this['fs'](t,_0x1ea1d1));},{'once':!0x0}),_0x515001['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x5647bb=this['n'],_0xd9397a=this['$']['*loadingOperations'];_0xd9397a['has'](_0x5647bb)||_0xd9397a['set'](_0x5647bb,new Map());let _0x1358c6=_0xd9397a['get'](_0x5647bb);return _0x1358c6&&!_0x1358c6['get'](t)&&(_0x1358c6['set'](t,!0x0),this['$']['*loadingOperations']=_0xd9397a),()=>{let _0x1f786e=_0xd9397a['get'](_0x5647bb);_0x1f786e?.['has'](t)&&(_0x1f786e['delete'](t),this['$']['*loadingOperations']=_0xd9397a);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x5f4ebf}=t;_0x5f4ebf&&(_0x5f4ebf['style']['opacity']=t['opacity']['toString'](),_0x5f4ebf['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x5a5ed7=this['m']??void 0x0,operation:_0x510f64,value:_0x54d9ad}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0xc3a675={...this['nl']};_0x510f64&&('filter'===_0x510f64?_0x5a5ed7&&'number'==typeof _0x54d9ad&&(_0xc3a675['filter']={'name':_0x5a5ed7,'amount':_0x54d9ad}):'number'==typeof _0x54d9ad&&(_0xc3a675[_0x510f64]=_0x54d9ad));let _0x2b85ac=this['offsetWidth'];return this['proxyUrl'](_0x2faf37(t,_0x2b85ac,_0xc3a675));}async['dl'](t,_0x593195){return{'src':await this['Je']({'operation':t,'value':_0x593195}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x593195};}['ul'](t,_0x17bed2){return this['n']===t&&this['m']===_0x17bed2;}['set'](t){let _0x1e4e8a='string'==typeof t?parseInt(t,0xa):t;!function(_0x3039b7){return'string'==typeof _0x3039b7&&_0x3039b7 in _0xdfef6e;}(this['n'])||!Number['isFinite'](_0x1e4e8a)||(this['fs'](this['n'],_0x1e4e8a),this['ll'](this['n'],this['m'],_0x1e4e8a));}['fs'](t,_0x1953eb){this['n']=t,this['Pt']=_0x1953eb;let {zero:_0x40ded4}=_0xdfef6e[t],_0x1a55af=this['Ue']['map'](_0x41f8e7=>_0x41f8e7['value']),_0x31a817=function(_0x2bbffb,_0x8f6b33,t){let _0x1de4a4=function(_0x811778){let _0x43935f=[];for(let t=0x0;t<_0x811778['length']-0x1;t+=0x1){let _0x48a29f=_0x811778[t],_0x44bf21=_0x811778[t+0x1];'number'==typeof _0x48a29f&&'number'==typeof _0x44bf21&&_0x43935f['push']([_0x48a29f,_0x44bf21]);}return _0x43935f;}(_0x2bbffb)['find'](([_0x2cda2d,_0x51b148])=>_0x2cda2d<=_0x8f6b33&&_0x8f6b33<=_0x51b148);if(!_0x1de4a4)return _0x2bbffb['map'](()=>0x0);let [_0x2b6c03,_0x27eff3]=_0x1de4a4;return _0x2bbffb['map'](_0x46eba5=>{let _0x4eaaf2=Math['abs'](_0x2b6c03-_0x27eff3)||0x1,_0x6ff9e5=Math['abs'](_0x8f6b33-_0x2b6c03)/_0x4eaaf2;return _0x2b6c03===_0x46eba5?_0x8f6b33>t?0x1:0x1-_0x6ff9e5:_0x27eff3===_0x46eba5?_0x8f6b33>=t?_0x6ff9e5:0x1:0x0;});}(_0x1a55af,_0x1953eb,_0x40ded4),_0x4fd6f1=function(_0x242ec8,_0x2979e9){return _0x242ec8['map']((t,_0x2838af)=>t<_0x2979e9?_0x242ec8['length']-_0x2838af:_0x2838af);}(_0x1a55af,_0x40ded4);this['Ue']['forEach']((_0x3ac647,_0xa182ec)=>{let _0x556fd5=_0x31a817[_0xa182ec],_0x2edb74=_0x4fd6f1[_0xa182ec];'number'==typeof _0x556fd5&&(_0x3ac647['opacity']=_0x556fd5),'number'==typeof _0x2edb74&&(_0x3ac647['zIndex']=_0x2edb74);}),this['pl']();}['hl'](){let t=new Image();return t['classList']['add']('uc-fader-image','uc-fader-image--preview'),t['style']['opacity']='0',t;}async['Td'](){this['a']=this['a']||this['hl']();let t=this['a'];t&&this['fl'](t);let _0x3a5311=this['Ue']['map'](_0x25314f=>_0x25314f['src']),{images:_0x4bc66a,promise:_0x41d71,cancel:_0x5389ab}=_0x10dc40(_0x3a5311);_0x4bc66a['forEach'](_0x52a6e9=>{let _0x2b70b6=this['$t'](_0x52a6e9['src']);_0x52a6e9['addEventListener']('load',_0x2b70b6),_0x52a6e9['addEventListener']('error',_0x2b70b6);}),this['ps']=()=>{_0x5389ab(),this['ps']=void 0x0;};let _0x22b8af=this['n'],_0x19a27e=this['m'];if(await _0x41d71,this['_']&&this['ul'](_0x22b8af,_0x19a27e)){let _0x5d2534=this['gr']['value'];if(!_0x5d2534)return;_0x5d2534['replaceChildren'](),this['Ue']['forEach']((_0x5bc6d0,_0x3f6247)=>{let _0x58a62f=_0x4bc66a[_0x3f6247];_0x58a62f&&(_0x58a62f['classList']['add']('uc-fader-image'),_0x5bc6d0['image']=_0x58a62f,_0x5d2534['appendChild'](_0x58a62f));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x319242=await this['Je'](),_0x31711e=this['$t'](_0x319242);this['a']['src']=_0x319242,this['a']['addEventListener']('load',_0x31711e,{'once':!0x0}),this['a']['addEventListener']('error',_0x31711e,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x4756ea,operation:_0x4f3c6b,value:_0xe6b305}){if(!_0x4f3c6b||'number'!=typeof _0xe6b305)return;this['hs']?.();let _0x2aacf4=_0xce4185(_0x4f3c6b,_0xe6b305),_0x260f45=await Promise['all'](_0x2aacf4['map'](_0x212f01=>this['Je']({'url':t,'filter':_0x4756ea,'operation':_0x4f3c6b,'value':_0x212f01}))),{cancel:_0x4c41f3}=_0x10dc40(_0x260f45);this['hs']=_0x4c41f3;}['Ed'](t){let _0x287337=this['a']||this['hl']();if(this['fl'](_0x287337),this['a']=_0x287337,_0x287337['src']===t)return _0x287337['style']['opacity']='1',_0x287337['style']['transform']='scale(1)',void(this['className']=_0xe84459({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x287337['style']['opacity']='0';let _0x1af18b=this['$t'](t);_0x287337['addEventListener']('error',_0x1af18b,{'once':!0x0}),_0x287337['src']=t,_0x287337['addEventListener']('load',()=>{_0x1af18b(),_0x287337&&(_0x287337['style']['opacity']='1',_0x287337['style']['transform']='scale(1)',this['className']=_0xe84459({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x287337['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0x5726b0,value:_0x42dd81,filter:_0x45fdff,fromViewer:_0x25734a}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x5726b0??'initial',this['Pt']=_0x42dd81,this['m']=_0x45fdff,this['yi']=_0x25734a,'number'!=typeof _0x42dd81&&!_0x45fdff){let _0x400f88=await this['Je']({'operation':_0x5726b0,'value':_0x42dd81});return this['Ed'](_0x400f88),void this['ms']();}!_0x5726b0||'number'!=typeof _0x42dd81||(this['Ue']=await Promise['all'](_0xce4185(_0x5726b0,_0x42dd81)['map'](_0x2dc67a=>this['dl'](_0x5726b0,_0x2dc67a))),this['fs'](_0x5726b0,_0x42dd81),this['Td']());}['deactivate']({hide:t=!0x0}={}){this['_']=!0x1,this['ps']?.(),this['hs']?.(),t&&!this['ds']?(this['ds']=!0x0,this['a']&&(this['a']['style']['transform']='scale(1)'),this['className']=_0xe84459({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['ms']();},{'once':!0x0})):this['ms']();}['fl'](t){let _0x412e93=this['cl']['value'];_0x412e93&&(_0x412e93['contains'](t)||_0x412e93['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return _0x5363a9`<div class="uc-fader-preview-host" ${_0x44edaf(this['cl'])}></div><div class="uc-fader-layers-host" ${_0x44edaf(this['gr'])}></div>`;}},_0x2b4154='important',_0x5be550='\x20!'+_0x2b4154,_0x4b6b82=_0x16cc07(class extends _0xdb4d60{constructor(_0x3d98cd){if(super(_0x3d98cd),_0x3d98cd['type']!==_0x3e51a0||'style'!==_0x3d98cd['name']||_0x3d98cd['strings']?.['length']>0x2)throw Error('The\x20`styleMap`\x20directive\x20must\x20be\x20used\x20in\x20the\x20`style`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x27fd9f){return Object['keys'](_0x27fd9f)['reduce']((_0x527cb1,t)=>{let _0x19a317=_0x27fd9f[t];return null==_0x19a317?_0x527cb1:_0x527cb1+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x19a317+';');},'');}['update'](_0xcd6848,[_0x3f0b7d]){let {style:t}=_0xcd6848['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x3f0b7d)),this['render'](_0x3f0b7d);for(let _0x460dfb of this['ft'])null==_0x3f0b7d[_0x460dfb]&&(this['ft']['delete'](_0x460dfb),_0x460dfb['includes']('-')?t['removeProperty'](_0x460dfb):t[_0x460dfb]=null);for(let _0x338fff in _0x3f0b7d){let _0x475e23=_0x3f0b7d[_0x338fff];if(null!=_0x475e23){this['ft']['add'](_0x338fff);let _0x8b4fa='string'==typeof _0x475e23&&_0x475e23['endsWith'](_0x5be550);_0x338fff['includes']('-')||_0x8b4fa?t['setProperty'](_0x338fff,_0x8b4fa?_0x475e23['slice'](0x0,-0xb):_0x475e23,_0x8b4fa?_0x2b4154:''):t[_0x338fff]=_0x475e23;}}return _0x3b4472;}}),_0x27f5cf=class extends _0x35b574{constructor(){super(),this['gs']=0x0,this['vr']=_0x6c7017(),this['gl']=_0x6c7017(),this['vl']=_0x6c7017(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0xa2fc43=this['yl'](t);null!==_0xa2fc43&&(this['vs'](_0xa2fc43),this['xd']('slider-input',_0xa2fc43));},this['Sd']=t=>{t['stopPropagation']();let _0x5549cc=this['yl'](t);null!==_0x5549cc&&this['vs'](_0x5549cc);},this['bl']=()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');},this['wl']=()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');},this['setAttribute']('with-effects','');}['xd'](t,_0x58a156){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x58a156},'bubbles':!0x0,'composed':!0x0}));}['firstUpdated'](t){super['firstUpdated'](t),this['gs']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa)||0x0,this['Tl'](this['$e']),this['ys'](),this['s']=new ResizeObserver(()=>{this['ys'](),this['yr'](this['$e']);}),this['s']['observe'](this);let _0x416cb9=this['vr']['value'];_0x416cb9?.['addEventListener']('focus',this['bl']),_0x416cb9?.['addEventListener']('blur',this['wl']),window['setTimeout'](()=>{this['yr'](this['$e']);},0x0);}['willUpdate'](t){super['willUpdate'](t),t['has']('defaultValue')&&this['defaultValue']!==this['$e']&&this['vs'](this['defaultValue']),(t['has']('min')||t['has']('max'))&&this['hasUpdated']&&(this['ys'](),this['yr'](this['$e'])),t['has']('zero')&&this['hasUpdated']&&this['El'](this['$e']);}['yr'](t){this['El'](t);let _0x27d607=this['max']-this['min'];if(0x0===_0x27d607)return;let {width:_0x57dc86}=this['getBoundingClientRect'](),_0x1cff48=0x64/_0x27d607*(t-this['min'])*(_0x57dc86-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0x16dc36=this['gl']['value'];_0x16dc36&&(_0x16dc36['style']['transform']='translateX('+_0x1cff48+'px)');});}['El'](t){if(!this['bi'])return;let _0xd6a3c1=this['max']-this['min'];if(0x0===_0xd6a3c1)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x2bf389}=this['getBoundingClientRect'](),_0x2415d9=0x64/_0xd6a3c1*(this['zero']-this['min'])*(_0x2bf389-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x2415d9+'px)');});}['ys'](){let _0x348799=this['vl']['value'];if(!_0x348799)return;let {width:_0x41337b}=_0x348799['getBoundingClientRect'](),_0x51cee6=Math['ceil'](_0x41337b/0x2),_0x3490dd=Math['ceil'](_0x51cee6/0xf)-0x2;if(this['ml']===_0x3490dd)return;let _0x319833=document['createDocumentFragment'](),_0x23f3aa=document['createElement']('div'),_0x1c920d=document['createElement']('div');_0x23f3aa['className']='uc-minor-step',_0x1c920d['className']='uc-border-step',_0x319833['appendChild'](_0x1c920d);for(let _0x4127ed=0x0;_0x4127ed<_0x3490dd;_0x4127ed+=0x1)_0x319833['appendChild'](_0x23f3aa['cloneNode']());_0x319833['appendChild'](_0x1c920d['cloneNode']());for(let _0x382b98=0x0;_0x382b98<_0x3490dd;_0x382b98+=0x1)_0x319833['appendChild'](_0x23f3aa['cloneNode']());_0x319833['appendChild'](_0x1c920d['cloneNode']());let _0x317e25=document['createElement']('div');_0x317e25['className']='uc-zero-dot',_0x319833['appendChild'](_0x317e25),this['bi']=_0x317e25,_0x348799['innerHTML']='',_0x348799['appendChild'](_0x319833),this['ml']=_0x3490dd;}['disconnectedCallback'](){super['disconnectedCallback']();let t=this['vr']['value'];t?.['removeEventListener']('focus',this['bl']),t?.['removeEventListener']('blur',this['wl']),this['s']?.['disconnect'](),this['s']=void 0x0;}['vs'](t){Number['isFinite'](t)&&(this['$e']=t,this['hasUpdated']&&(this['Tl'](t),this['yr'](t)));}['Tl'](t){let _0x4eafac=this['vr']['value'];_0x4eafac&&(_0x4eafac['value']=String(t));}['yl'](t){let _0xaab9ca=t['currentTarget'];if(!_0xaab9ca)return null;let _0xee3577=Number['parseInt'](_0xaab9ca['value'],0xa);return Number['isFinite'](_0xee3577)?_0xee3577:null;}['render'](){return _0x5363a9`<div class="uc-steps" ${_0x44edaf(this['vl'])}></div><div class="uc-thumb" ${_0x44edaf(this['gl'])}></div><input class="uc-input" type="range" ${_0x44edaf(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};_0x2c1f84([_0x23c236({'type':Boolean,'reflect':!0x0})],_0x27f5cf['prototype'],'disabled',0x2),_0x2c1f84([_0x23c236({'type':Number})],_0x27f5cf['prototype'],'min',0x2),_0x2c1f84([_0x23c236({'type':Number})],_0x27f5cf['prototype'],'max',0x2),_0x2c1f84([_0x23c236({'type':Number,'attribute':!0x1})],_0x27f5cf['prototype'],'defaultValue',0x2),_0x2c1f84([_0x23c236({'type':Number})],_0x27f5cf['prototype'],'zero',0x2),_0x2c1f84([_0x5e1929()],_0x27f5cf['prototype'],'$e',0x2);var _0x2e2b7f='original',_0x81bfee=class extends _0x35b574{constructor(){super(...arguments),this['state']={'operation':'filter','filter':void 0x0,'originalUrl':'','disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0},this['bs']=t=>{let {value:_0x4c8732}=t['detail'];this['$']['*faderEl']?.['set'](_0x4c8732),this['state']={...this['state'],'value':_0x4c8732};};}['setOperation'](t,_0x469800){this['state']={...this['state'],'operation':t,'filter':_0x469800},this['Ad']();let _0x1460e3=this['$']['*faderEl'],_0x246051=this['state']['originalUrl']||this['$']['*originalUrl'];_0x1460e3&&_0x246051&&_0x1460e3['activate']({'url':_0x246051,'operation':this['state']['operation'],'value':this['state']['filter']===_0x2e2b7f?void 0x0:this['state']['value'],'filter':this['state']['filter']===_0x2e2b7f?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x3d16c1,zero:_0x1a2a13}=_0xdfef6e[t],[_0x31b398,_0x7190db]=_0x3d16c1;this['state']={...this['state'],'min':_0x31b398,'max':_0x7190db,'zero':_0x1a2a13};let _0x37f65b=this['$']['*editorTransformations'][t];if('filter'===t){let _0x5c5052=Number(_0x7190db),_0x1d9391=_0x37f65b;if(_0x1d9391){let {name:_0x2b05d7,amount:_0x46efd3}=_0x1d9391;_0x5c5052=_0x2b05d7===this['state']['filter']?_0x46efd3:_0x7190db;}return void(this['state']={...this['state'],'value':_0x5c5052,'defaultValue':_0x5c5052});}let _0x281f32=typeof _0x37f65b<'u'?_0x37f65b:_0x1a2a13;this['state']={...this['state'],'value':_0x281f32,'defaultValue':_0x281f32};}['apply'](){let _0xc9086c={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==_0x2e2b7f?_0xc9086c['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0xc9086c['filter']:_0xc9086c[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0xc9086c;}['cancel'](){this['$']['*faderEl']?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',t=>{t&&(this['state']={...this['state'],'originalUrl':t});});}['updated'](t){if(super['updated'](t),t['has']('state')){let _0x1819ef=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x1819ef;}}['render'](){return _0x5363a9`<uc-slider-ui .disabled=${this['state']['disabled']} .min=${this['state']['min']} .max=${this['state']['max']} .defaultValue=${this['state']['defaultValue']} .zero=${this['state']['zero']} @slider-input=${this['bs']} ></uc-slider-ui>`;}};function _0x531387(_0x2326aa){if(!_0x2326aa)return null;let _0x32f75a=_0x2326aa['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x32f75a)return null;let [,t,_0x443d6a]=_0x32f75a;return!t||typeof _0x443d6a>'u'?null:{'filter':t,'value':Number(_0x443d6a)};}_0x2c1f84([_0x5e1929()],_0x81bfee['prototype'],'state',0x2);var _0x1e4215=class extends _0x35b574{constructor(){super(...arguments),this['active']=!0x1,this['title']='',this['icon']='',this['titleProp']='';}get['buttonClasses'](){let t=this['active'];return{'uc-active':t,'uc-not_active':!t};}['xl'](){let t=this['buttonClasses'];for(let [_0x12cc13,_0x4f22dd]of Object['entries'](t))this['classList']['toggle'](_0x12cc13,_0x4f22dd);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x367d70=this['title'];return _0x5363a9`<button role="option" type="button" aria-label=${_0x5d8155(this['titleProp'])} title=${_0x5d8155(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x367d70}>${_0x367d70}</div></button>`;}};_0x2c1f84([_0x5e1929()],_0x1e4215['prototype'],'active',0x2),_0x2c1f84([_0x5e1929()],_0x1e4215['prototype'],'title',0x2),_0x2c1f84([_0x5e1929()],_0x1e4215['prototype'],'icon',0x2),_0x2c1f84([_0x5e1929()],_0x1e4215['prototype'],'titleProp',0x2);var _0x38a27f=class extends _0x1e4215{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0x6e40fa=>{let t=this['kd'](_0x6e40fa);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x46d746){return _0x46d746?_0x46d746['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x46d746['width']+':'+_0x46d746['height']}):'';}['render'](){let _0x315f44=this['onClick'],t=this['title'];return _0x5363a9`<button role="option" type="button" class=${_0x2d2ec9(this['buttonClasses'])} aria-label=${_0x5d8155(this['titleProp'])} title=${_0x5d8155(this['titleProp'])} @click=${_0x315f44} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},_0x59d45f=class extends _0x1e4215{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0x305596=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x305596),t?this['Cl'](t):(this['removeAttribute']('uc-aspect-ratio-freeform'),this['title']='',this['titleProp']='');}['initCallback'](){super['initCallback'](),this['X']&&this['Cl'](this['X']),this['sub']('*currentAspectRatio',t=>{this['active']=t&&t['id']===this['X']?.['id']||t?.['width']===this['X']?.['width']&&t?.['height']===this['X']?.['height'];});}['onClick'](){this['$']['*currentAspectRatio']?.['id']!==this['X']?.['id']&&(this['$']['*currentAspectRatio']=this['X']);}['Cl'](t){if(!this['isConnected'])return;let _0x55a6b4=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x55a6b4),(((()=>{let _0x2f8b34=_0x55a6b4?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x2f8b34;})()),((()=>{let _0xe0cec0=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x55a6b4?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0xe0cec0;})()),_0x55a6b4||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return _0x5363a9`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x32db9e,height:_0x2bf6f5}=(_0x3db3c8=>{let _0x4f202f=0xc,t=0xc;return _0x3db3c8['width']/_0x3db3c8['height']>=0x1?(_0x4f202f=0xc,t=Math['round'](0xc*_0x3db3c8['height']/_0x3db3c8['width'])):(t=0xc,_0x4f202f=Math['round'](0xc*_0x3db3c8['width']/_0x3db3c8['height'])),{'width':_0x4f202f,'height':t};})(t);return _0x5363a9`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x32db9e)/0x2} y=${(0x10-_0x2bf6f5)/0x2} width=${_0x32db9e} height=${_0x2bf6f5} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x35abaf=this['title'];return _0x5363a9`<button role="option" type="button" class=${_0x2d2ec9(this['buttonClasses'])} aria-label=${_0x5d8155(this['titleProp'])} title=${_0x5d8155(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x35abaf}>${_0x35abaf}</div></button>`;}};_0x2c1f84([_0x23c236({'attribute':!0x1})],_0x59d45f['prototype'],'aspectRatio',0x1);var _0x3c12ff=class extends _0x1e4215{constructor(){super(...arguments),this['operation']=void 0x0;}['willUpdate'](t){super['willUpdate'](t),this['operation']?(this['titleProp']=this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](this['operation'])['toLowerCase']()}),this['icon']=this['operation']):(this['icon']='',this['titleProp']='');}['onClick'](t){if(!this['operation'])return;let _0x598a2f=this['$']['*cropperEl'],_0x57c997=_0x598a2f['getValue'](this['operation']),_0x77135c=function(_0x3f4581,_0x329928){if('rotate'===_0x3f4581)return function(_0x5811c2){let _0x4048dd=_0x5811c2+0x5a;return _0x4048dd=_0x4048dd>=0x168?0x0:_0x4048dd,_0x4048dd;}('number'==typeof _0x329928?_0x329928:0x0);if('mirror'===_0x3f4581||'flip'===_0x3f4581)return!_0x329928;throw new Error('Unsupported\x20operation:\x20'+_0x3f4581);}(this['operation'],_0x57c997);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x77135c,'prev':_0x57c997}),_0x598a2f['setValue'](this['operation'],_0x77135c);}};_0x2c1f84([_0x23c236({'type':String})],_0x3c12ff['prototype'],'operation',0x2);var _0x4eb57e=class extends _0x1e4215{constructor(){super(...arguments),this['n']='',this['m']='',this['wi']='',this['br']=0x0,this['a']=null,this['Nt']=!0x1,this['isOriginal']=!0x1,this['Sl']=0x14;}get['filter'](){return this['m'];}set['filter'](t){let _0x4504dc=t??'';if(this['m']===_0x4504dc)return;let _0x6588b6=this['m'];this['m']=_0x4504dc,this['n']='filter',this['isOriginal']=_0x4504dc===_0x2e2b7f,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x6588b6),this['isConnected']&&this['Al'](_0x4504dc);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x31e37a=this['$']['*sliderEl'];_0x31e37a['setOperation'](this['n'],this['m']),_0x31e37a['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x531387(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x205352=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x3adc91=window['devicePixelRatio'],_0x425630=Math['ceil'](_0x3adc91*_0x205352),_0x7e65db=_0x3adc91>=0x2?'lightest':'normal',_0x274eda={...this['$']['*editorTransformations']};return _0x274eda[this['n']]=this['m']!==_0x2e2b7f?{'name':this['m'],'amount':0x64}:void 0x0,_0x17642b(this['wi'],_0x34859c(_0x5cf5e0,_0x574ee0(_0x274eda),'quality/'+_0x7e65db,'scale_crop/'+_0x425630+'x'+_0x425630+'/center','@clib/'+_0x48ab7c+'/'+_0x213754+'/uc-cloud-image-editor/'));}async['ai'](t,_0x202602){t[0x0]?.['isIntersecting']?await this['Ts'](_0x202602):this['b']?.();}['initCallback'](){super['initCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]});let t=this['$']['*originalUrl'];this['wi']=t??'',this['sub']('*originalUrl',_0x4a1ce1=>{this['wi']=_0x4a1ce1??'',!this['isOriginal']&&this['wi']&&this['isConnected']&&!this['a']&&(this['s']?.['observe'](this),this['et']());}),this['isOriginal']||(this['s']?.['observe'](this),this['et']()),this['m']&&this['Al'](this['m']),this['sub']('*currentFilter',_0x1bb688=>{this['active']=!(!_0x1bb688||_0x1bb688!==this['m']);}),this['sub']('*networkProblems',async _0x4a8b39=>{_0x4a8b39||(this['a']?await this['Ts']():this['et']());});}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['b']?.(),this['wr']();}['updated'](t){super['updated'](t),t['has']('isOriginal')&&(this['isOriginal']?this['s']?.['unobserve'](this):(this['s']?.['observe'](this),this['et']()));}['Al'](t){if(!t)return void(this['titleProp']='');let _0x39e89a=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x39e89a;}async['Ts'](t){if(!this['isConnected'])return t?.['unobserve'](this),this['b']?.(),void(this['b']=void 0x0);if(!this['wi'])return void(!this['Ft']&&!this['De']&&this['et']());let _0xf67f=++this['br'],_0x2c74c8='';try{_0x2c74c8=await this['proxyUrl'](this['Od']());}catch(_0x354849){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x354849});}this['Nt']=!0x1,this['b']?.();let {promise:_0x149fea,cancel:_0x5bd4e9}=_0x583135(_0x2c74c8);this['b']=()=>{_0x5bd4e9(),this['br']===_0xf67f&&(this['b']=void 0x0);};try{if(await _0x149fea,this['br']!==_0xf67f||!this['isConnected'])return;this['a']=_0x2c74c8,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x31ea4d){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x31ea4d}),this['et']();}finally{this['br']===_0xf67f&&(this['b']=void 0x0);}}['et'](){!this['isConnected']||this['a']||this['Nt']||this['isOriginal']||this['$']['*networkProblems']?this['wr']():(this['De']&&cancelAnimationFrame(this['De']),this['De']=requestAnimationFrame(()=>{if(this['De']=void 0x0,!this['isConnected']||this['a']||this['Nt']||this['isOriginal'])return void this['wr']();let t=this['getBoundingClientRect'](),_0x456003=t['width']>0x0&&t['height']>0x0,_0x4bd670=window['innerWidth']||document['documentElement']['clientWidth'],_0x567154=window['innerHeight']||document['documentElement']['clientHeight'];_0x456003&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x567154&&t['left']<_0x4bd670?this['Ts']():this['Ft']=window['setTimeout'](()=>{this['Ft']=void 0x0,this['et']();},0x1f4);}));}['wr'](){this['De']&&(cancelAnimationFrame(this['De']),this['De']=void 0x0),this['Ft']&&(window['clearTimeout'](this['Ft']),this['Ft']=void 0x0);}get['Id'](){return!(!this['Nt']||this['active']||this['isOriginal']);}['render'](){let t=this['onClick'],_0x43539f={'opacity':this['Id']?'1':'0'};this['a']&&(_0x43539f['backgroundImage']='url('+this['a']+')');let _0x6ec431={'opacity':this['active']||this['isOriginal']?'1':'0'};return _0x5363a9`<button role="option" type="button" class=${_0x2d2ec9(this['buttonClasses'])} aria-label=${_0x5d8155(this['titleProp'])} title=${_0x5d8155(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${_0x4b6b82(_0x43539f)}></div><uc-icon class=${_0x2d2ec9({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${_0x4b6b82(_0x6ec431)} ></uc-icon></button>`;}};_0x2c1f84([_0x5e1929()],_0x4eb57e['prototype'],'a',0x2),_0x2c1f84([_0x5e1929()],_0x4eb57e['prototype'],'Nt',0x2),_0x2c1f84([_0x5e1929()],_0x4eb57e['prototype'],'isOriginal',0x2),_0x2c1f84([_0x5e1929()],_0x4eb57e['prototype'],'Sl',0x2),_0x2c1f84([_0x23c236({'type':String})],_0x4eb57e['prototype'],'filter',0x1);var _0x164188=class extends _0x1e4215{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0x195417=t??'';if(this['n']===_0x195417)return;let _0x17c5b3=this['n'];this['n']=_0x195417,this['requestUpdate']('operation',_0x17c5b3),this['isConnected']&&_0x195417&&this['kl'](_0x195417);}['kl'](t){this['icon']=t,(((()=>{let _0x3052f5=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x3052f5;})()),((()=>{let _0xc866bd=this['l10n'](t);this['title']=_0xc866bd;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0x561cb2}=_0xdfef6e[this['n']],_0x156746=t[this['n']],_0x2f0ffd=typeof _0x156746<'u'&&_0x156746!==_0x561cb2;this['active']=_0x2f0ffd;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x531387(this['$']['*operationTooltip'])});}};_0x2c1f84([_0x23c236({'type':String})],_0x164188['prototype'],'operation',0x1);var _0x2c9be2=()=>{},_0x151119=class extends _0x35b574{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x2abdf0,deltaX:_0x3ebcaf}=t;Math['abs'](_0x3ebcaf)>0x1?this['scrollLeft']+=_0x3ebcaf:this['scrollLeft']+=_0x2abdf0;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',_0x2c9be2,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',_0x2c9be2),super['disconnectedCallback']();}};_0x2c1f84([_0x23c236({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],_0x151119['prototype'],'hiddenScrollbar',0x2);var _0x3652d2=class extends _0x35b574{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[..._0x3eba0e],this['activeTab']=_0x2ed381['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=_0x6c7017(),this['Rl']=_0x6c7017(),this['tabToggleRefs']={[_0x2ed381['CROP']]:_0x6c7017(),[_0x2ed381['TUNING']]:_0x6c7017(),[_0x2ed381['FILTERS']]:_0x6c7017()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=_0x1503b7(t=>{this['Ti']=t;},0x1f4),this['Cr']=_0x1503b7(()=>{let t=this['$']['*editorTransformations'],_0x5b5be8=this['$']['*currentOperation'],_0x21c265='',_0x2b4627=!0x1;if(this['$']['*tabId']===_0x2ed381['FILTERS']){if(_0x2b4627=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x41169f=t?.['filter']?.['amount']||0x64;_0x21c265=this['$']['*currentFilter']+'\x20'+_0x41169f;}else _0x21c265=this['l10n'](_0x2e2b7f);}else{if(this['showSubToolbar']&&this['$']['*tabId']===_0x2ed381['TUNING']&&_0x5b5be8){_0x2b4627=!0x0;let _0x86d4dd=t?.[_0x5b5be8]||_0xdfef6e[_0x5b5be8]['zero'];_0x21c265=this['l10n'](_0x5b5be8)+'\x20'+_0x86d4dd;}}_0x2b4627&&(this['$']['*operationTooltip']=_0x21c265),this['Es']=_0x2b4627;},0x0),this['Pd']={'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},this['Ld']={'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},this['Rd']={'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},this['Ud']={'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},this['init$']={...this['init$'],'*sliderEl':null,'*showSlider':!0x1,'*showListAspectRatio':!0x1,'*currentFilter':_0x2e2b7f,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x4e6c3c=this['$']['*on.cancel'];_0x4e6c3c?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x379f0b=this['$']['*on.apply'];_0x379f0b?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':_0x531387(this['$']['*operationTooltip'])}),this['Er']['value']?.['apply'](),this['$l']();},this['Gd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel-slider'}),this['Er']['value']?.['cancel'](),this['$l']();},this['qd']=t=>{let _0x582c1=t['currentTarget']?.['getAttribute']('data-id');_0x582c1&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x582c1),this['xs'](_0x582c1,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x2ed381['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x2ed381['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0x4f15cb=!0x1,force:_0x215f3b=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0x4f15cb,'force':_0x215f3b});}['Dl'](t,{fromViewer:_0x336d3e,force:_0x4f0d48=!0x1}){if(!_0x4f0d48&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x349edf=this['$']['*faderEl'],_0x2bf244=this['$']['*cropperEl'];t===_0x2ed381['CROP']?(_0x349edf?.['deactivate'](),this['$']['*imageSize']&&_0x2bf244?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x336d3e})):(_0x349edf?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x336d3e}),_0x2bf244?.['deactivate']());for(let _0x3b220f of _0x3eba0e){let _0x2116ae=_0x3b220f===t,_0x15e11e=this['tabToggleRefs'][_0x3b220f]?.['value'];_0x15e11e&&(_0x15e11e['active']=_0x2116ae),_0x2116ae&&this['tt']();}}['tt'](){let _0x320715=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x44d177=this['Rl']['value'];if(!_0x320715||!_0x44d177)return;let _0x254d1c=_0x320715['offsetLeft'],_0x597880=_0x320715['offsetWidth']||Number(getComputedStyle(_0x320715)['width']['replace']('px',''));(this['Pl']!==_0x254d1c||this['Ll']!==_0x597880)&&(this['Pl']=_0x254d1c,this['Ll']=_0x597880,_0x44d177['style']['transform']='translateX('+_0x254d1c+'px)',_0x44d177['style']['width']=_0x597880+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case _0x2ed381['CROP']:return this['Dd']();case _0x2ed381['FILTERS']:return this['Fd']();case _0x2ed381['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x4bd253 of this['Ei'])t['push'](()=>this['Fl'](_0x4bd253));}for(let _0x5770ac of _0x8a7cd7)t['push'](()=>this['_d'](_0x5770ac));return this['Ss'](t);}['Fd'](){let _0x2c3b6=[_0x2e2b7f,..._0x389371]['map'](_0x28d1f2=>()=>this['Bd'](_0x28d1f2));return this['Ss'](_0x2c3b6);}['Nd'](){let t=_0x48bbae['map'](_0x27be63=>()=>this['zd'](_0x27be63));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x918904=>_0x918904()):[];}['Vd'](){return _0x5363a9`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return _0x5363a9`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return _0x5363a9`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return _0x5363a9`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return _0x5363a9`<uc-editor-operation-control .operation=${t}></uc-editor-operation-control>`;}['Hd'](){return this['Cs']?this['Ei']['map'](t=>this['Fl'](t)):[];}async['Kd'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let t=this['$']['*imgContainerEl']['offsetWidth'],_0x32aa1e=await this['proxyUrl'](_0x2faf37(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x540d97}=_0x10dc40([_0x32aa1e]);this['b']=()=>{_0x540d97(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x30086f=>{this['Ei']=[..._0x30086f??[]];}),this['sub']('*imageSize',_0x563fbf=>{_0x563fbf&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x2b83ce=>{let _0x29e83f=_0x2b83ce?.['filter']?.['name'];this['$']['*currentFilter']!==_0x29e83f&&(this['$']['*currentFilter']=_0x29e83f??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x22df9c=>{this['Dl'](_0x22df9c,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x3c6eba=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x3c6eba);}),this['sub']('*loadingOperations',_0x595779=>{let _0x157949=!0x1;for(let [,_0xea970b]of _0x595779['entries']()){if(_0x157949)break;for(let [,_0x11f9f3]of _0xea970b['entries']())if(_0x11f9f3){_0x157949=!0x0;break;}}this['xr'](_0x157949);}),this['sub']('*showSlider',_0x4cc873=>{_0x4cc873?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x9912d9=>{_0x9912d9?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x18f5a2=>{if(this['tabList']=_0x18f5a2,this['Ol']=_0x18f5a2['length']>0x1,!_0x18f5a2['includes'](this['$']['*tabId'])&&_0x18f5a2['length']>0x0){let [_0x5ad946]=_0x18f5a2;return void(_0x5ad946&&this['xs'](_0x5ad946,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x1e7ff9=>{this['Il']=_0x1e7ff9;}),this['Cr']();}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['Ul']);}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['tt']();}['updated'](t){super['updated'](t),(t['has']('activeTab')||t['has']('tabList'))&&this['updateComplete']['then'](()=>this['tt']()),(t['has']('showSubToolbar')||t['has']('showMainToolbar'))&&this['Sr']();}['disconnectedCallback'](){window['removeEventListener']('resize',this['Ul']),super['disconnectedCallback'](),this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}['Sr'](){let t=this['Er']['value'];t&&(this['$']['*sliderEl']=t);}['Wd'](t){let _0x367f61=this['tabList']['includes'](t),_0x55f490=this['activeTab']===t,_0x36eee8=this['tabList']['indexOf'](t),_0x19570a=_0x36eee8>=0x0?_0x4b6b82({'gridColumn':''+(_0x36eee8+0x1)}):_0x194372;return _0x5363a9`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x367f61} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x55f490?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x55f490} style=${_0x19570a} @click=${this['qd']} ${_0x44edaf(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x3f817b=this['$d'](t);return _0x5363a9`<div id=${'tab_'+t} class="uc-tab-content" ><uc-editor-scroller hidden-scrollbar><div class="uc-controls-list_align"><div role="listbox" aria-orientation="horizontal" class="uc-controls-list_inner">${_0x3f817b['length']?_0x3f817b:_0x194372}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x3d2d8a=this['Cs'];return _0x5363a9`<uc-line-loader-ui .active=${this['Ti']}></uc-line-loader-ui><div class="uc-info-tooltip_container"><div class="uc-info-tooltip_wrapper"><div class=${t}>${this['Il']??''}</div></div></div><div class="uc-toolbar-container"><uc-presence-toggle role="tablist" class="uc-sub-toolbar" .visible=${this['showMainToolbar']} .styles=${this['Pd']} ><div class="uc-tab-content-row">${_0x3eba0e['map'](_0x4526fb=>_0x143cd3(this['activeTab']===_0x4526fb,()=>this['Zd'](_0x4526fb)))}</div><div class="uc-controls-row"><uc-presence-toggle class="uc-tab-toggles" .visible=${this['Ol']} .styles=${this['Ud']} @initial-render=${()=>this['tt']()} ><div class="uc-tab-toggles_indicator" ${_0x44edaf(this['Rl'])} ></div>${_0x3eba0e['map'](_0x399fd1=>this['Wd'](_0x399fd1))}</uc-presence-toggle><uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" title-prop="cancel" @click=${this['Ee']} ></uc-btn-ui><uc-btn-ui theme="primary-icon" icon="done" title-prop="apply" @click=${this['As']}></uc-btn-ui></div></uc-presence-toggle><uc-presence-toggle class="uc-sub-toolbar" .visible=${this['showSubToolbar']} .styles=${this['Ld']}><div class="uc-slider" ?hidden=${!this['Tr']}><uc-editor-slider ${_0x44edaf(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x3d2d8a}>${_0x3d2d8a?_0x5363a9`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:_0x194372}</div><div class="uc-controls-row"><uc-btn-ui theme="secondary" @click=${this['Gd']} text=${this['l10n']('cancel')}></uc-btn-ui><uc-btn-ui theme="primary" @click=${this['jd']} text=${this['l10n']('apply')}></uc-btn-ui></div></uc-presence-toggle></div>`;}};_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'Ti',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'showMainToolbar',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'showSubToolbar',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'Ol',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'tabList',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'activeTab',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'Tr',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'Es',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'Il',0x2),_0x2c1f84([_0x5e1929()],_0x3652d2['prototype'],'Ei',0x2);var _0x4ff905=_0x27b757([..._0x3eba0e]),_0x26eb40=class extends _0x35b574{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=_0x358ac3,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=_0x4ff905,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=_0x1503b7(t=>{this['Ti']=t;},0x12c),this['Ar']=_0x6c7017(),this['Vl']=_0x6c7017(),this['_l']=_0x6c7017(),this['Bl']=_0x6c7017(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==_0x358ac3&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],..._0xdbfe55(this)};}static{this['styleAttrs']=['uc-cloud-image-editor'];}['Jd'](){this['ke']||this['ks']||(this['ks']=this['updateComplete']['then'](()=>{this['ks']=null,this['ke']=!0x0;}));}['initCallback'](){super['initCallback'](),this['Kl'](),this['jl']();}['Sr'](){let t=this['_l']['value'];t&&(this['$']['*faderEl']=t);let _0x3c0922=this['Vl']['value'];_0x3c0922&&(this['$']['*cropperEl']=_0x3c0922);let _0x3acf53=this['Bl']['value'];_0x3acf53&&(this['$']['*imgContainerEl']=_0x3acf53);let _0xb72347=this['Ar']['value'];_0xb72347&&(this['$']['*imgEl']=_0xb72347);}['ep'](){let t=this['Ar']['value'];t&&(t['addEventListener']('load',this['zl']),t['addEventListener']('error',this['Hl']));}['tp'](){let t=this['Ar']['value'];t&&(t['removeEventListener']('load',this['zl']),t['removeEventListener']('error',this['Hl']));}get['ip'](){let t=this['$']['*tabId'];return _0xe84459('uc-image',{'uc-image_hidden_to_cropper':t===_0x2ed381['CROP'],'uc-image_hidden_effects':t!==_0x2ed381['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x235e6a,_0x3c4a60)=>{let _0x545c84=()=>{window['clearTimeout'](_0x2b1e98),_0x1ea029['disconnect'](),this['xi']=null;},_0x5488ad=()=>{_0x545c84(),window['setTimeout'](()=>_0x235e6a(),0x0);},_0x1bf12a=()=>{let _0x4dd23d=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x545c84(),this['isConnected']&&console['error'](_0x4dd23d['message']),_0x3c4a60(_0x4dd23d);},_0x1ea029=new ResizeObserver(_0x37437c=>{let [_0x425447]=_0x37437c;_0x425447&&_0x425447['contentRect']['width']>0x0&&_0x425447['contentRect']['height']>0x0&&_0x5488ad();}),_0x2b1e98=window['setTimeout'](()=>{_0x1bf12a();},0xbb8);((()=>{let {width:_0x1004c8,height:_0x39dc37}=this['getBoundingClientRect']();return _0x1004c8>0x0&&_0x39dc37>0x0;})())?_0x5488ad():_0x1ea029['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0x5701ff=!(!this['uuid']&&!this['cdnUrl']),_0x460ba7=t['has']('uuid')||t['has']('cdnUrl');_0x5701ff&&!_0x460ba7&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0xdb1c=this['Yd']??'',_0x33fa10=this['Je']||_0x358ac3,_0x483375=this['Ti'],_0x4728c6=this['Nl'];return _0x5363a9` ${_0x25d142('<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27/><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-brightness\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M15\x2010a5\x205\x200\x200\x201-5\x205m5-5a5\x205\x200\x200\x200-5-5m5\x205h-5m0\x205a5\x205\x200\x200\x201\x200-10m0\x2010V5m0\x2015v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05m-.626\x202.45H10m4.324\x205H10\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-closeMax\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M8.232\x2010\x203.585\x205.353l1.768-1.768L10\x208.232l4.648-4.647\x201.767\x201.768L11.768\x2010l4.647\x204.648-1.767\x201.767L10\x2011.768l-4.647\x204.647-1.768-1.767L8.232\x2010Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-contrast\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2010a8\x208\x200\x201\x200\x2016\x200\x208\x208\x200\x201\x200-16\x200m8-8v16m8-8h-8m7.598\x202.5H10m6.24\x202.5H10m7.6-7.5H10M16.242\x205H10\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-crop\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M20\x2014H7.005C6.45\x2014\x206\x2013.55\x206\x2012.995V0M0\x206h13.067c.515\x200\x20.933.418.933.933V20M14.5.4\x2013\x202l1.5\x201.6M13\x202h2a3\x203\x200\x200\x201\x203\x203v2M5.5\x2019.6\x207\x2018l-1.5-1.6M7\x2018H5a3\x203\x200\x200\x201-3-3v-2\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-done\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27m18.057\x206.333-9.365\x209.125a1.25\x201.25\x200\x200\x201-1.768-.023L1.92\x2010.296l1.791-1.744\x204.132\x204.243\x208.47-8.253\x201.744\x201.79Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2025\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-enhance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19\x2013h-2m0\x200a4\x204\x200\x200\x201-4-4m4\x204a4\x204\x200\x200\x200-4\x204m0-8V7m0\x202a4\x204\x200\x200\x201-4\x204m-2\x200h2m0\x200a4\x204\x200\x200\x201\x204\x204m0\x200v2M8\x208.5H6.5m0\x200a2\x202\x200\x200\x201-2-2m2\x202a2\x202\x200\x200\x200-2\x202m0-4V5m0\x201.5a2\x202\x200\x200\x201-2\x202M1\x208.5h1.5m0\x200a2\x202\x200\x200\x201\x202\x202m0\x200V12M12\x203h-1m0\x200a1\x201\x200\x200\x201-1-1m1\x201a1\x201\x200\x200\x200-1\x201m0-2V1m0\x201a1\x201\x200\x200\x201-1\x201M8\x203h1m0\x200a1\x201\x200\x200\x201\x201\x201m0\x200v1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-exposure\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M10\x2020v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05M5\x2010a5\x205\x200\x201\x200\x2010\x200\x205\x205\x200\x201\x200-10\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-filters\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M4.5\x206.5a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m-3.5\x206a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m7\x200a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-flip\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19.6\x205\x2018\x203.5\x2016.4\x205m3.2\x2010L18\x2016.5\x2016.4\x2015M18\x203.523v12.954M3.3\x208.5h10.654c.301\x200\x20.415-.395.159-.554L3.459\x201.286A.3.3\x200\x200\x200\x203\x201.542V8.2a.3.3\x200\x200\x200\x20.3.3zm0\x203h10.654c.301\x200\x20.415.395.159.554l-10.654\x206.66A.3.3\x200\x200\x201\x203\x2018.458v-6.66a.3.3\x200\x200\x201\x20.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-gamma\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M17\x203C9\x206\x202.5\x2011.5\x202.5\x2017.5m0\x200h1m-1\x200v-1m14\x201h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3-14v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-mirror\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M5\x20.4\x203.5\x202\x205\x203.6M15\x20.4\x2016.5\x202\x2015\x203.6M3.52\x202h12.957M8.5\x2016.7V6.046c0-.301-.394-.415-.554-.159L1.287\x2016.541a.3.3\x200\x200\x200\x20.255.459H8.2a.3.3\x200\x200\x200\x20.3-.3zm3\x200V6.046c0-.301.395-.415.555-.159l6.659\x2010.654a.3.3\x200\x200\x201-.255.459H11.8a.3.3\x200\x200\x201-.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2040\x2040\x27\x20id=\x27uc-icon-original\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.5\x27\x20d=\x27M0\x2040\x2040\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-rotate\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M13.5.4\x2012\x202l1.5\x201.6M12.023\x202H14.4A3.6\x203.6\x200\x200\x201\x2018\x205.6V8M4\x2017h9a1\x201\x200\x200\x200\x201-1V7a1\x201\x200\x200\x200-1-1H4a1\x201\x200\x200\x200-1\x201v9a1\x201\x200\x200\x200\x201\x201z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-sad\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2017c4.418-4\x2011.582-4\x2016\x200M16.5\x205a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200zm-11\x200a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-saturation\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><defs><linearGradient\x20id=\x27ruc-icon-id__a\x27\x20x1=\x2710.001\x27\x20y1=\x271\x27\x20x2=\x2710.001\x27\x20y2=\x2719\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs><circle\x20cx=\x2710.001\x27\x20cy=\x2710\x27\x20r=\x279\x27\x20transform=\x27rotate(90\x2010\x2010)\x27\x20fill=\x27url(#ruc-icon-id__a)\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-slider\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M0\x2010h11m0\x200a2\x202\x200\x201\x200\x204\x200m-4\x200a2\x202\x200\x201\x201\x204\x200m0\x200h5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-tuning\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M8\x2010h11M1\x2010h4M1\x204.5h11m3\x200h4m-18\x2011h11m3\x200h4m-7-11a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200M5\x2010a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200m7\x205.5a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-vibrance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2.125\x205.64A8.96\x208.96\x200\x200\x200\x201.001\x2010a8.96\x208.96\x200\x200\x200\x201.124\x204.36V5.64z\x27\x20fill=\x27url(#uuc-icon-id__a)\x27/><path\x20d=\x27M2.875\x2015.499V4.502a9.053\x209.053\x200\x200\x201\x201.75-1.72v14.437a9.05\x209.05\x200\x200\x201-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__b)\x27/><path\x20d=\x27M5.375\x2017.722c.548.33\x201.134.601\x201.75.809V1.469a8.956\x208.956\x200\x200\x200-1.75.81v15.443z\x27\x20fill=\x27url(#uuc-icon-id__c)\x27/><path\x20d=\x27M7.875\x201.253v17.495c.564.136\x201.15.22\x201.75.244V1.008a9\x209\x200\x200\x200-1.75.245z\x27\x20fill=\x27url(#uuc-icon-id__d)\x27/><path\x20d=\x27M10.375\x201.008v17.984a9\x209\x200\x200\x200\x201.75-.244V1.252a9\x209\x200\x200\x200-1.75-.244z\x27\x20fill=\x27url(#uuc-icon-id__e)\x27/><path\x20d=\x27M12.875\x201.469V18.53a8.957\x208.957\x200\x200\x200\x201.75-.808V2.277a8.957\x208.957\x200\x200\x200-1.75-.808z\x27\x20fill=\x27url(#uuc-icon-id__f)\x27/><path\x20d=\x27M15.375\x202.78v14.44a9.053\x209.053\x200\x200\x200\x201.75-1.72v-11a9.054\x209.054\x200\x200\x200-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__g)\x27/><path\x20d=\x27M17.875\x205.638v8.724A8.959\x208.959\x200\x200\x200\x2019.001\x2010a8.96\x208.96\x200\x200\x200-1.126-4.362z\x27\x20fill=\x27url(#uuc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27uuc-icon-id__a\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__b\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__c\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__d\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__e\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__f\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__g\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__h\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-warmth\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m7.5\x2013.05.429.42.171-.175v-.244h-.6zm5\x200h-.6v.245l.172.175.428-.42zM8.1\x203.5c0-1.05.85-1.9\x201.9-1.9V.4a3.1\x203.1\x200\x200\x200-3.1\x203.1h1.2zm0\x209.55V3.5H6.9v9.55h1.2zm-1\x202.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088\x204.088\x200\x200\x200\x205.9\x2015.5h1.2zm2.9\x202.9a2.9\x202.9\x200\x200\x201-2.9-2.9H5.9a4.1\x204.1\x200\x200\x200\x204.1\x204.1v-1.2zm2.9-2.9a2.9\x202.9\x200\x200\x201-2.9\x202.9v1.2a4.1\x204.1\x200\x200\x200\x204.1-4.1h-1.2zm-.829-2.03c.514.524.829\x201.24.829\x202.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9\x203.5v9.55h1.2V3.5h-1.2zM10\x201.6c1.05\x200\x201.9.85\x201.9\x201.9h1.2A3.1\x203.1\x200\x200\x200\x2010\x20.4v1.2z\x27\x20fill=\x27currentColor\x27/><path\x20d=\x27M10\x2014V8\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20stroke-linecap=\x27round\x27/><path\x20d=\x27M14\x203h3m-3\x203h3m-3\x203h3m-8\x206.5a1\x201\x200\x201\x200\x202\x200\x201\x201\x200\x201\x200-2\x200\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27/></symbol></svg>')}<div class="uc-wrapper uc-wrapper_desktop"><uc-presence-toggle class="uc-network_problems_splash" .visible=${_0x4728c6}><div class="uc-network_problems_content"><div class="uc-network_problems_icon"><uc-icon name="sad"></uc-icon></div><div class="uc-network_problems_text">Network error</div></div><div class="uc-network_problems_footer"><uc-btn-ui theme="primary" text="Retry" @click=${this['Qd']}></uc-btn-ui></div></uc-presence-toggle><div class="uc-viewport"><div class="uc-file_type_outer"><div class="uc-file_type">${t}</div></div><div class="uc-image_container" ${_0x44edaf(this['Bl'])}><img src=${_0x33fa10} class=${this['ip']} ${_0x44edaf(this['Ar'])} />${_0x143cd3(this['ke'],()=>_0x5363a9`<uc-editor-image-cropper ${_0x44edaf(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${_0x44edaf(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0xdb1c}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x483375}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${_0x143cd3(this['ke'],()=>_0x5363a9`<uc-editor-toolbar></uc-editor-toolbar>`)}</div></div></div>`;}['updated'](t){super['updated'](t),t['has']('uuid')&&this['uuid']&&this['updateImage'](),t['has']('cdnUrl')&&this['cdnUrl']&&this['updateImage'](),t['has']('tabs')&&this['Kl'](),(t['has']('cropPreset')||t['has']('cdnUrl'))&&this['jl']();}['Kl'](){let t=this['tabs']||_0x4ff905;this['$']['*tabList']=(_0x2bd0cc=>{if(!_0x2bd0cc)return _0x3eba0e;let _0x208325=_0x430fa6(_0x2bd0cc)['filter'](_0x296901);return 0x0===_0x208325['length']?_0x3eba0e:_0x208325;})(t);}['jl'](){let t=_0x2f1f83(this['cropPreset']??''),_0x1ad3fe=null;if(this['cdnUrl']){let _0x3ae745=_0x1434f0(_0x94bea1(this['cdnUrl']));if(Array['isArray'](_0x3ae745?.['crop']?.['dimensions'])){let [_0x5e93e8,_0x321d77]=_0x3ae745['crop']['dimensions'];_0x1ad3fe=((_0x49a128,_0x5f50e1,t,_0x2062ea=0.1)=>{let _0xd95f34=_0x49a128/_0x5f50e1,_0x5998e0=null,_0x3a3c0e=0x1/0x0;for(let _0x580de0 of t){let [_0x26508a,_0x249eec]=[_0x580de0['width'],_0x580de0['height']],_0x37dd22=_0x26508a/_0x249eec,_0x455c59=Math['abs'](_0xd95f34-_0x37dd22);_0x455c59<_0x3a3c0e&&(_0x3a3c0e=_0x455c59,_0x5998e0=_0x580de0);}if(_0x5998e0){let [_0xd4c987,_0x53f255]=[_0x5998e0['width'],_0x5998e0['height']],_0x12a8f0=_0xd4c987/_0x53f255;if(Math['abs'](_0xd95f34-_0x12a8f0)/_0x12a8f0>_0x2062ea)return null;}return _0x5998e0;})(_0x5e93e8,_0x321d77,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x1ad3fe??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x47da96=_0x2f58d1(t),_0x33998b=_0x29d43b(t,_0x47da96);if(_0x33998b===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x33998b;let _0x35b42b=_0x1434f0(_0x94bea1(t));this['$']['*editorTransformations']=_0x35b42b;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=_0x29d43b(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===_0x2ed381['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x279382=await this['proxyUrl'](_0x17642b(t,_0x34859c('json'))),_0x41b0e4=await fetch(_0x279382)['then'](_0x2dcd90=>_0x2dcd90['json']()),{width:_0x2875c3,height:_0xda6e6b}=_0x41b0e4;this['$']['*imageSize']={'width':_0x2875c3,'height':_0xda6e6b},this['$']['*tabId']===_0x2ed381['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x2313e2){_0x2313e2&&(this['telemetryManager']['sendEventError'](_0x2313e2,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x2313e2));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x512f9b=!!t;this['Nl']=_0x512f9b;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x537792=this['$']['*originalUrl'],_0x163d63=_0x34859c(_0x574ee0(t),'preview'),_0x558f43={'originalUrl':_0x537792,'cdnUrlModifiers':_0x163d63,'cdnUrl':_0x17642b(_0x537792,_0x163d63),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x558f43,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};_0x2c1f84([_0x5e1929()],_0x26eb40['prototype'],'Yd',0x2),_0x2c1f84([_0x5e1929()],_0x26eb40['prototype'],'Je',0x2),_0x2c1f84([_0x5e1929()],_0x26eb40['prototype'],'Xd',0x2),_0x2c1f84([_0x5e1929()],_0x26eb40['prototype'],'Ti',0x2),_0x2c1f84([_0x23c236({'type':String,'reflect':!0x0})],_0x26eb40['prototype'],'uuid',0x2),_0x2c1f84([_0x23c236({'type':String,'attribute':'cdn-url','reflect':!0x0})],_0x26eb40['prototype'],'cdnUrl',0x2),_0x2c1f84([_0x23c236({'type':String,'attribute':'crop-preset','reflect':!0x0})],_0x26eb40['prototype'],'cropPreset',0x2),_0x2c1f84([_0x23c236({'type':String,'reflect':!0x0})],_0x26eb40['prototype'],'tabs',0x2),_0x2c1f84([_0x5e1929()],_0x26eb40['prototype'],'Nl',0x2),_0x2c1f84([_0x5e1929()],_0x26eb40['prototype'],'ke',0x2);var _0x53cabb={};_0x2042ae(_0x53cabb,{'CloudImageEditorActivity':()=>_0x3e2f07});var _0x31506e=class extends _0x26eb40{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x244227['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x3e2f07=class extends _0x327a9e{constructor(){super(...arguments),this['Q']=null;}get['activityParams'](){let t=super['activityParams'];if('internalId'in t)return t;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['subConfigValue']('cropPreset',t=>{this['Q']&&this['Q']['cropPreset']!==t&&(this['Q']={...this['Q'],'cropPreset':t});}),this['subConfigValue']('cloudImageEditorTabs',t=>{this['Q']&&this['Q']['tabs']!==t&&(this['Q']={...this['Q'],'tabs':t});}),this['rp']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['op']();}['As'](t){if(!this['Ci'])return;this['debugPrint']('editor\x20event\x20\x22apply\x22',t['detail']);let _0x3bec44=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x3bec44['cdnUrl'],'cdnUrlModifiers':_0x3bec44['cdnUrlModifiers']}),this['modalManager']?.['close'](_0x5bd0b0['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x4241e6=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x4241e6),this['modalManager']?.['close'](_0x5bd0b0['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x1e9fe0=this['uploadCollection']['read'](t);if(!_0x1e9fe0)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x1e9fe0;let _0x2089c9=this['Ci']['getValue']('cdnUrl');if(!_0x2089c9)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x2089c9);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return _0x194372;let {cdnUrl:t,cropPreset:_0x4e06c4,tabs:_0x1414f5}=this['Q'];return _0x5363a9`<uc-cloud-image-editor cdn-url=${t} crop-preset=${_0x5d8155(_0x4e06c4)} tabs=${_0x5d8155(_0x1414f5)} @apply=${this['As']} @cancel=${this['Ee']} @change=${this['handleChange']} ></uc-cloud-image-editor>`;}['sp'](t){return{'cdnUrl':t,'cropPreset':this['cfg']['cropPreset'],'tabs':this['cfg']['cloudImageEditorTabs']};}};_0x2c1f84([_0x5e1929()],_0x3e2f07['prototype'],'Q',0x2);var _0x39a9f7=class extends _0x327a9e{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x1ca167=this['Dt']['trim']();_0x1ca167&&(this['api']['addFileFromUrl'](_0x1ca167,{'source':_0x3bc093['URL']}),this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x5bd0b0['activities']['UPLOAD_LIST']));};}['render'](){return _0x5363a9`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['historyBack']} title=${this['l10n']('back')} aria-label=${this['l10n']('back')}><uc-icon name="back"></uc-icon></button><div><uc-icon name="url"></uc-icon><span>${this['l10n']('caption-from-url')}</span></div><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><form class="uc-content" @submit=${this['Ho']}><label><input placeholder="https://" class="uc-url-input" type="text" autofocus @input=${this['bs']} /></label><button type="submit" class="uc-url-upload-btn uc-primary-btn" ?disabled=${!this['Dt']} >${this['l10n']('upload-url')}</button></form>`;}};_0x2c1f84([_0x5e1929()],_0x39a9f7['prototype'],'Dt',0x2);var _0x9b5251=()=>{let _0xb89b2d=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0xb89b2d['location']['origin'];}catch(_0x437656){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x437656),globalThis['location']['origin'];}},_0x277e83=_0x257969=>_0x257969['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x51328f=(_0x3c13ed,_0x5b4d23='i')=>{let t=_0x3c13ed['split']('*')['map'](_0x277e83);return new RegExp('^'+t['join']('.+')+'$',_0x5b4d23);},_0x56cf30=['--uc-font-family','--uc-font-size','--uc-line-height','--uc-button-size','--uc-preview-size','--uc-input-size','--uc-padding','--uc-radius','--uc-transition','--uc-background','--uc-foreground','--uc-primary','--uc-primary-hover','--uc-primary-transparent','--uc-primary-foreground','--uc-secondary','--uc-secondary-hover','--uc-secondary-foreground','--uc-muted','--uc-muted-foreground','--uc-destructive','--uc-destructive-foreground','--uc-border'],_0x51d93b=(_0x578e23,_0x15b215)=>window['getComputedStyle'](_0x578e23)['getPropertyValue'](_0x15b215)['trim'](),_0x2ea052=_0x3d2fa6=>{let _0x8e3297={};for(let t of _0x56cf30){let _0x41b9cc=_0x51d93b(_0x3d2fa6,t);_0x41b9cc&&(_0x8e3297[t]=_0x41b9cc);}return _0x8e3297;},_0x3ea00d=['selected-files-change','toolbar-state-change'],_0x3f7962=class{constructor(_0x20890,t){this['kr']=new Map(),this['Wl']=_0x2558cb=>{if(_0x2558cb['source']!==this['Ms'])return;let t=_0x2558cb['data'];if(!(_0x19b1f1=>{if(!_0x19b1f1||'object'!=typeof _0x19b1f1||!('type'in _0x19b1f1))return!0x1;let _0x4ce990=_0x19b1f1['type'];return!('string'!=typeof _0x4ce990||!_0x3ea00d['includes'](_0x4ce990));})(t))return;let _0x3621ad=this['kr']['get'](t['type']);if(_0x3621ad){for(let _0x364968 of _0x3621ad)_0x364968(t);}},this['Ms']=_0x20890,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x11d633,t){let _0x3a1981=this['kr']['get'](_0x11d633)??new Set();this['kr']['has'](_0x11d633)||this['kr']['set'](_0x11d633,_0x3a1981),_0x3a1981['add'](t);}['send'](_0x1e3e4b){let t=this['ql']();this['Ms']['postMessage'](_0x1e3e4b,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}},_0x187dea={[_0x29aeee['GDRIVE']]:'ngdrive'},_0x15919e=class extends _0x327a9e{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=_0x6c7017(),this['Mr']=null,this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Zl']=!0x0,this['Ko']=()=>{for(let t of this['Os']){let _0x124b4c=this['ap'](t),{filename:_0x39b327}=t,{externalSourceType:_0x174c05}=this['activityParams'];this['api']['addFileFromUrl'](_0x124b4c,{'fileName':_0x39b327,'source':_0x174c05});}this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x5bd0b0['activities']['UPLOAD_LIST']);},this['Ee']=()=>{this['historyBack']();},this['hp']=()=>{this['ne']?.['send']({'type':'select-all'});},this['fp']=()=>{this['ne']?.['send']({'type':'deselect-all'});};}get['np'](){if(!this['Mr'])return'';let {selectedCount:t,total:_0x4c546f}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x4c546f});}get['activityParams'](){let t=super['activityParams'];if('externalSourceType'in t)return t;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback']();let {externalSourceType:t}=this['activityParams'];t?this['Yl']():console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20external\x20source\x20activity'),this['sub']('*currentActivityParams',()=>{setTimeout(()=>{this['isConnected']&&(this['Xl'](),this['Yl']());});}),this['subConfigValue']('multiple',_0x2457dd=>{this['Or']=_0x2457dd;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x18a506=>{this['Jl'](_0x18a506);});}['ap'](t){if(t['alternatives']){let _0x332225=_0x126e70(this['cfg']['externalSourcesPreferredTypes']);for(let _0x1216e6 of _0x332225){let _0x4b9fca=_0x51328f(_0x1216e6);for(let [_0x58fe35,_0x465adf]of Object['entries'](t['alternatives']))if(_0x4b9fca['test'](_0x58fe35))return _0x465adf;}}return t['url'];}['lp'](t){this['Zl']=t['isVisible'];}async['cp'](t){this['cfg']['multiple']===t['isMultipleMode']?(this['up'](t['selectedCount'],t['total']),this['$s']=t['isReady']?'':'uc-hidden',this['Is']=t['isReady'],this['Ps']=t['isReady']&&t['selectedFiles']['length']>0x0,this['Or']=t['isMultipleMode']&&t['total']>0x0,this['Ls']=t['selectedCount']<t['total'],this['Rs']=t['selectedCount']===t['total'],this['Os']=t['selectedFiles']??[],this['Us']=t['total']>0x0):console['error']('Multiple\x20mode\x20mismatch');}['ec'](){this['Jl'](this['cfg']['externalSourcesEmbedCss']),this['dp'](),this['Ql']();}['dp'](){this['ne']?.['send']({'type':'set-theme-definition','theme':_0x2ea052(this)});}['Jl'](t){this['ne']?.['send']({'type':'set-embed-css','css':t});}['Ql'](){this['ne']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['pp'](){let {pubkey:t,remoteTabSessionKey:_0x12aa0e,socialBaseUrl:_0x2e3278,multiple:_0x4581f6}=this['cfg'],{externalSourceType:_0x378b1d}=this['activityParams'],_0x655210=_0x187dea[_0x378b1d]??_0x378b1d,_0x102fc6={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x12aa0e,'wait_for_theme':!0x0,'multiple':_0x4581f6['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x9b5251(),'debug':this['cfg']['debug']},_0x45e325=new URL('/window4/'+_0x655210,_0x2e3278);return _0x45e325['search']=function(_0x3e2e56){let _0x5c265b=[];for(let [t,_0x254c4e]of Object['entries'](_0x3e2e56))null==_0x254c4e||'string'==typeof _0x254c4e&&0x0===_0x254c4e['length']||_0x5c265b['push'](t+'='+encodeURIComponent(_0x254c4e));return _0x5c265b['join']('&');}(_0x102fc6),_0x45e325['toString']();}['up'](t,_0x17de21){this['Mr']={'selectedCount':t,'total':_0x17de21};}['Yl'](){let t=document['createElement']('iframe');t['src']=this['pp'](),t['marginHeight']=0x0,t['marginWidth']=0x0,t['frameBorder']='0',t['allowTransparency']=!0x0,t['addEventListener']('load',this['ec']['bind'](this)),t['addEventListener']('load',this['ec']['bind'](this)),this['Vt']['value']&&(this['Vt']['value']['innerHTML']='',this['Vt']['value']['appendChild'](t)),t['contentWindow']&&(this['ne']?.['destroy'](),this['ne']=new _0x3f7962(t['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['ne']['on']('selected-files-change',this['cp']['bind'](this)),this['ne']['on']('toolbar-state-change',this['lp']['bind'](this)),this['tc']());}['Xl'](){this['ne']?.['destroy'](),this['ne']=void 0x0,this['Vt']['value']&&(this['Vt']['value']['innerHTML']=''),this['tc']();}['tc'](){this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Mr']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xl']();}['render'](){return _0x5363a9`<uc-activity-header><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><div ${_0x44edaf(this['Vt'])} class="uc-iframe-wrapper"></div><div class="uc-toolbar" ?hidden=${!this['Zl']}><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('cancel')}</button><div class="uc-selection-status-box" ?hidden=${!this['Or']}><span>${this['np']}</span><button type="button" @click=${this['hp']} ?hidden=${!this['Ls']}>${this['l10n']('select-all')}</button><button type="button" @click=${this['fp']} ?hidden=${!this['Rs']}>${this['l10n']('deselect-all')}</button></div><button type="button" class="uc-done-btn uc-primary-btn" @click=${this['Ko']} ?disabled=${!this['Ps']} ?hidden=${!this['Us']} ><uc-spinner ?hidden=${this['Is']}></uc-spinner><span class=${this['$s']}>${this['l10n']('done')}</span></button></div></div>`;}};_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Os',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Is',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Ps',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Ls',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Rs',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Or',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Us',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'$s',0x2),_0x2c1f84([_0x5e1929()],_0x15919e['prototype'],'Zl',0x2);var _0x4f4f99={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x110e51=['camera','microphone'];function _0x212843(_0x2f59ba){return Math['floor'](_0x2f59ba/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x2f59ba%0x3c)['toString']()['padStart'](0x2,'0');}var _0xb11cec='image/jpeg',_0x23cd6d='video/webm',_0x2d3802=class extends _0x327a9e{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Ir']=null,this['Ds']=!0x1,this['Si']=[],this['me']=null,this['ge']=null,this['Pr']=null,this['Lr']=null,this['g']=null,this['Ai']={},this['fe']=null,this['e']=null,this['_t']=[],this['Bt']=[],this['mp']={},this['Rr']=[],this['Ur']=null,this['ic']=()=>{this['rc'](),this['ki']='pause';},this['oc']=()=>{this['ki']='play',this['gp']();},this['Mi']=_0x6c7017(),this['Xe']=_0x6c7017(),this['K']=_0x6c7017(),this['sc']=0x0,this['nc']=0x0,this['ac']=null,this['$r']=!0x0,this['Dr']=!0x0,this['vp']=typeof navigator['permissions']<'u',this['cc']=[],this['ot']=!0x0,this['Fs']='',this['zt']=!0x0,this['at']=!0x0,this['Ht']=!0x0,this['uc']=[],this['pt']=!0x0,this['Ns']=!0x0,this['mt']=!0x0,this['Ce']=!0x0,this['gt']=!0x0,this['Kt']='camera-full',this['ki']='play',this['dc']='microphone',this['Fr']='uc-shot-btn\x20uc-camera-action',this['yp']=()=>{if(this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===_0x4c2fe6['PHOTO']&&this['bp'](),this['g']===_0x4c2fe6['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x1316e2=t['target'];_0x1316e2&&(this['Lr']=_0x1316e2['value'],this['jt']());},this['Ep']=t=>{let _0x2e35ef=t['target'];_0x2e35ef&&(this['Pr']=_0x2e35ef['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['g']}}}),this['yp']();},this['Sp']=()=>{this['Ap']();},this['kp']=()=>{this['Mp']();},this['Op']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x1d62b8=t['currentTarget']?.['getAttribute']('data-id');_0x1d62b8&&this['fc'](_0x1d62b8);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x465ad5=this['cfg']['maxVideoRecordingDuration']-t;if(_0x465ad5<=0x0){let _0x2f30e7=this['Mi']['value'];return _0x2f30e7&&(_0x2f30e7['textContent']=_0x212843(_0x465ad5)),void this['pc']();}let _0x4e482b=this['Mi']['value'];_0x4e482b&&(_0x4e482b['textContent']=_0x212843(_0x465ad5));}else{let _0x269b22=this['Mi']['value'];_0x269b22&&(_0x269b22['textContent']=_0x212843(t));}this['Gt']=requestAnimationFrame(this['mc']);},this['Rp']=()=>{this['sc']=performance['now'](),this['nc']=0x0,this['mc']();},this['gc']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['rc']=()=>{let t=this['K']['value'];if(!t)return;let _0x60566f=t['currentTime'],_0x2d01ec=t['duration']||0x1,_0x52e2b5=this['Xe']['value'];_0x52e2b5&&(_0x52e2b5['style']['transform']='scaleX('+_0x60566f/_0x2d01ec+')');let _0x3a23c4=this['Mi']['value'];_0x3a23c4&&(_0x3a23c4['textContent']=_0x212843(_0x60566f)),this['Gt']=requestAnimationFrame(this['rc']);},this['gp']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['Gt']=null,this['wp']=()=>{try{this['Si']=[],this['Ai']={...this['cfg']['mediaRecorderOptions']};let {mimeType:t}=this['cfg']['mediaRecorderOptions']||{};t&&MediaRecorder['isTypeSupported'](t)?this['Ai']['mimeType']=t:MediaRecorder['isTypeSupported'](_0x23cd6d)?this['Ai']['mimeType']=_0x23cd6d:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x5b03bc=>{this['Si']['push'](_0x5b03bc['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](_0x2e8ccf['PLAY']));}catch(_0x23cf0f){console['error']('Failed\x20to\x20start\x20recording',_0x23cf0f),this['telemetryManager']['sendEventError'](_0x23cf0f,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](_0x2e8ccf['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['g']}}});},this['Ap']=()=>{if('recording'===this['me']?.['state'])return;let t=this['K']['value'];t&&(!t['paused']&&!t['ended']&&t['readyState']>0x2?t['pause']():t['paused']&&t['play']());},this['Mp']=()=>{this['ge']?.['getAudioTracks']()['forEach'](t=>{t['enabled']=!t['enabled'],this['dc']=t['enabled']?'microphone':'microphone-mute',this['Ns']=!t['enabled'];});},this['Up']=()=>{try{let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x53e9f6=URL['createObjectURL'](t),_0x2ab478=this['K']['value'];if(!_0x2ab478)return;_0x2ab478['muted']=!0x1,_0x2ab478['volume']=0x1,this['Ii'](null),_0x2ab478['src']=_0x53e9f6,this['$p'](_0x2ab478);}catch(_0x537b62){console['error']('Failed\x20to\x20preview\x20video',_0x537b62),this['telemetryManager']['sendEventError'](_0x537b62,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](_0x2e8ccf['RETAKE']),this['g']===_0x4c2fe6['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](_0x2e8ccf['ACCEPT']),this['g']===_0x4c2fe6['PHOTO'])return void this['fe']?.['toBlob'](_0x18ec86=>{if(!_0x18ec86)return;let _0x3e6348=this['vc']('camera','jpeg',_0xb11cec,_0x18ec86);this['yc'](_0x3e6348);},_0xb11cec);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x2beedd=this['Dp'](this['me']?.['mimeType']),_0x1be33b=this['vc']('video',_0x2beedd,'video/'+_0x2beedd,t);this['yc'](_0x1be33b),this['Si']=[];},this['Fp']=t=>{t===_0x2e8ccf['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===_0x2e8ccf['RETAKE']||t===_0x2e8ccf['ACCEPT'])&&(this['gt']=!this['Se']['includes'](_0x4c2fe6['VIDEO']),this['Ce']=!this['Se']['includes'](_0x4c2fe6['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===_0x2e8ccf['PLAY']&&(this['zt']=!0x1,this['Ce']=!0x0,this['ot']=!0x0,this['pt']=!0x0,this['ki']='pause',this['Kt']='square',this['Fr']='uc-shot-btn\x20uc-camera-action\x20uc-stop-record'),t===_0x2e8ccf['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===_0x2e8ccf['RETAKE']||t===_0x2e8ccf['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](_0x4c2fe6['VIDEO']),this['Ce']=!this['Se']['includes'](_0x4c2fe6['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['mt']=!this['cfg']['enableAudioRecording'],this['Kt']='video-camera-full',this['Fr']='uc-shot-btn\x20uc-camera-action',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['ot']=this['_t']['length']<=0x1);},this['Oi']=t=>{this['g']===_0x4c2fe6['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===_0x4c2fe6['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===_0x4c2fe6['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===_0x4c2fe6['VIDEO']&&(this['ki']='play',this['Kt']='video-camera-full',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['mt']=!this['cfg']['enableAudioRecording']),this['telemetryManager']['sendEvent']({'eventType':_0x244227['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0xa67b35,_0x4343e9,_0x305a8c)=>{let _0x621c28=Date['now']();return new File([_0x305a8c],t+'-'+_0x621c28+'.'+_0xa67b35,{'lastModified':_0x621c28,'type':_0x4343e9});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':_0x3bc093['CAMERA']}),this['set$']({'*currentActivity':_0x5bd0b0['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x5bd0b0['activities']['UPLOAD_LIST']);},this['Pi']=_0x1503b7(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x1604ab=this['g']===_0x4c2fe6['VIDEO']&&this['cfg']['enableAudioRecording'],_0xc775bc=this['g']===_0x4c2fe6['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](_0x4c2fe6['PHOTO']),this['gt']=!this['Se']['includes'](_0x4c2fe6['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0xc775bc,this['mt']=!_0x1604ab,this['pt']=!_0x1604ab):'prompt'===t?(this['Fs']='camera-permissions-prompt',this['$r']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Dr']=!0x1,this['Bs']()):(this['Fs']='camera-permissions-denied',this['$r']=!0x0,this['Dr']=!0x1,this['Ce']=!this['Se']['includes'](_0x4c2fe6['PHOTO']),this['gt']=!this['Se']['includes'](_0x4c2fe6['VIDEO']),this['Ht']=!0x0,this['Fr']='uc-shot-btn\x20uc-camera-action',this['Bs']());},0x12c),this['Vp']=()=>{if(!this['ge'])return!0x1;let t=this['ge']?.['getAudioTracks'](),_0x31f6e5=this['ge']?.['getVideoTracks']();return t['forEach'](_0x512271=>{_0x512271['stop']();}),_0x31f6e5['forEach'](_0x3e2443=>{_0x3e2443['stop']();}),!0x0;},this['Bs']=()=>{this['Ds']&&(this['K']['value']&&(this['K']['value']['volume']=0x0),this['Ur']?.['getTracks']?.()?.[0x0]?.['stop'](),this['Vs'](this['K']['value']),this['Ii'](null),this['Vp'](),this['gc'](),this['Ds']=!0x1);},this['jt']=async()=>{let t={'video':{..._0x4f4f99},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['Lr']&&(t['video']={'deviceId':{'exact':this['Lr']}}),this['Pr']&&this['cfg']['enableAudioRecording']&&(t['audio']={'deviceId':{'exact':this['Pr']}}),this['K']['value']&&(this['K']['value']['volume']=0x0);try{this['Pi']('prompt'),this['ge']=await navigator['mediaDevices']['getUserMedia'](t),this['ge']['addEventListener']('inactive',()=>{this['Pi']('denied');}),this['Ii'](this['ge']),this['Ds']=!0x0,this['Pi']('granted');}catch(_0x274681){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x274681),this['telemetryManager']['sendEventError'](_0x274681,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of _0x110e51){let _0x33c3cf=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x33c3cf,_0x33c3cf['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x33c3cf['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x40ccf1){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x40ccf1),this['telemetryManager']['sendEventError'](_0x40ccf1,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['jt']();}},this['Bp']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['zs'](),navigator['mediaDevices']['addEventListener']('devicechange',this['zs']);}catch(_0x262e18){this['telemetryManager']['sendEventError'](_0x262e18,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x262e18);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x4bc612=>'videoinput'===_0x4bc612['kind'])['map']((_0x3eb0b1,_0x5e284a)=>({'text':_0x3eb0b1['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x5e284a+0x1),'value':_0x3eb0b1['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x45def4=>'audioinput'===_0x45def4['kind'])['map'](_0x1f5b80=>({'text':_0x1f5b80['label']['trim'](),'value':_0x1f5b80['deviceId']})):[],this['cc']=this['_t'],this['ot']=this['_t']['length']<=0x1,this['Lr']=this['_t'][0x0]?.['value']??null,this['uc']=this['Bt'],this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['Pr']=this['Bt'][0x0]?.['value']??null;}catch(_0x303ab0){this['telemetryManager']['sendEventError'](_0x303ab0,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x303ab0);}},this['zp']=async()=>{await this['_p'](),await this['Bp'](),await this['jt'](),this['wc'](this['Se']);},this['Hp']=async()=>{this['Ir']&&this['Ir'](),window['chrome']||this['Pi']('denied'),this['Bs']();},this['wc']=t=>{this['gt']=!t['includes'](_0x4c2fe6['VIDEO']),this['Ce']=!t['includes'](_0x4c2fe6['PHOTO']);let _0x2b7637=t[0x0];_0x2b7637&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x2b7637);};}['$p'](t){this['Vs'](t),t['addEventListener']('play',this['ic']),t['addEventListener']('pause',this['oc']);}['Vs'](t){t?.['removeEventListener']('play',this['ic']),t?.['removeEventListener']('pause',this['oc']);}['Ii'](t){this['Ur']!==t&&(this['Ur']=t,this['_s']());}['_s'](){let t=this['K']['value'];if(!t)return;let _0x2e31af=this['Ur']??null;t['srcObject']!==_0x2e31af&&(t['srcObject']=_0x2e31af);}['bp'](){if(this['Oi']('shot'),this['fe']=document['createElement']('canvas'),this['e']=this['fe']['getContext']('2d'),!this['e'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');let t=this['K']['value'];if(!t)throw new Error('Video\x20element\x20not\x20found');this['fe']['height']=t['videoHeight'],this['fe']['width']=t['videoWidth'],this['cfg']['cameraMirror']&&(this['e']['translate'](this['fe']['width'],0x0),this['e']['scale'](-0x1,0x1)),this['e']['drawImage'](t,0x0,0x0),t['pause']();}['Dp'](t){let _0x25840c={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x409412=t['split']('/');if('video'===_0x409412?.[0x0]){let _0x2e09d1=_0x409412['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x2e09d1&&_0x25840c[_0x2e09d1])return _0x25840c[_0x2e09d1];}}return'avi';}get['Se'](){return _0x126e70(this['cfg']['cameraModes'])['filter'](t=>t===_0x4c2fe6['PHOTO']||t===_0x4c2fe6['VIDEO']);}['Nr'](){if(0x0!==this['Rr']['length']){for(let t of this['Rr'])t();this['Rr']=[],this['Ir']=null;}}['initCallback'](){super['initCallback'](),this['subConfigValue']('cameraMirror',t=>{this['ac']=t?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',t=>{this['mt']=!t,this['Ns']=!t;}),this['subConfigValue']('cameraModes',t=>{if(!this['isConnected'])return;let _0x5da88e=_0x430fa6(t);this['wc'](_0x5da88e['filter'](_0x5792e5=>_0x5792e5===_0x4c2fe6['PHOTO']||_0x5792e5===_0x4c2fe6['VIDEO']));}),this['zp']();}['firstUpdated'](t){super['firstUpdated'](t),this['_s']();}['updated'](t){super['updated'](t),this['_s']();}['Kp'](){this['Nr'](),navigator['mediaDevices']?.['removeEventListener']('devicechange',this['zs']),this['Vs'](this['K']['value']),this['Ii'](null);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Hp'](),this['Kp']();}['render'](){return _0x5363a9`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('back')} ><uc-icon name="back"></uc-icon></button><div ?hidden=${!this['ot']}><uc-icon name="camera"></uc-icon><span>${this['l10n']('caption-camera')}</span></div><uc-select class="uc-camera-select" .options=${this['cc']} ?hidden=${this['ot']} @change=${this['Tp']} ></uc-select><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><video muted autoplay playsinline style=${_0x4b6b82({'transform':this['ac']})} ?hidden=${this['$r']} ${_0x44edaf(this['K'])} ></video><div class="uc-message-box" ?hidden=${this['Dr']}><span>${this['l10n'](this['Fs'])}</span><button type="button" @click=${this['xp']} ?hidden=${this['vp']} >${this['l10n']('camera-permissions-request')}</button></div></div><div class="uc-controls"><div class="uc-switcher" ?hidden=${!this['zt']}><button data-id="photo" type="button" class=${_0x2d2ec9({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0x4c2fe6['PHOTO']})} @click=${this['hc']} ?hidden=${this['Ce']} data-testid="tab-photo" ><uc-icon name="camera"></uc-icon></button><button data-id="video" type="button" class=${_0x2d2ec9({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0x4c2fe6['VIDEO']})} @click=${this['hc']} ?hidden=${this['gt']} data-testid="tab-video" ><uc-icon name="video-camera"></uc-icon></button></div><button class="uc-secondary-btn uc-recording-timer" @click=${this['Sp']} ?hidden=${this['zt']} data-testid="recording-timer" ><uc-icon name=${this['ki']}></uc-icon><span ${_0x44edaf(this['Mi'])}> 00:00 </span><span ${_0x44edaf(this['Xe'])} class="uc-line"></span></button><div class="uc-camera-actions uc-camera-action" ?hidden=${this['Ht']} ><button type="button" class="uc-secondary-btn" @click=${this['Op']}> Retake </button><button type="button" class="uc-primary-btn" @click=${this['Pp']} data-testid="accept" > Accept </button></div><button type="button" data-testid="shot" @click=${this['Cp']} class=${this['Fr']} ?hidden=${this['at']} ><uc-icon name=${this['Kt']}></uc-icon></button><div class="uc-select"><button type="button" class="uc-mini-btn uc-btn-microphone" @click=${this['kp']} ?hidden=${this['mt']} data-testid="toggle-microphone" ><uc-icon name=${this['dc']}></uc-icon></button><uc-select class="uc-audio-select" .options=${this['uc']} ?hidden=${this['pt']} ?disabled=${this['Ns']} @change=${this['Ep']} data-testid="audio-select" ></uc-select></div></div>`;}};_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'ac',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'$r',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Dr',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'vp',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'cc',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'ot',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Fs',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'zt',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'at',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Ht',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'uc',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'pt',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Ns',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'mt',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Ce',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'gt',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Kt',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'ki',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'dc',0x2),_0x2c1f84([_0x5e1929()],_0x2d3802['prototype'],'Fr',0x2);var _0x5d5e11={'id':'camera','setup':async({pluginApi:_0x4ace57,uploaderApi:_0x73adba})=>{_0x2bae94({'CameraSource':_0x2d3802}),_0x4ace57['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!_0x539e49['htmlMediaCapture'])return['camera'];let t=_0x430fa6(_0x4ace57['config']['get']('cameraModes'));return t['length']?t['map'](_0x1b6884=>'mobile-'+_0x1b6884+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x73adba['setCurrentActivity'](_0x5b9835['CAMERA']),_0x73adba['setModalState'](!0x0);}}),_0x4ace57['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x73adba['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x4ace57['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x73adba['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x4ace57['registry']['registerActivity']({'id':_0x5b9835['CAMERA'],'render':t=>{let _0x4ac060=document['createElement']('uc-camera-source');return t['append'](_0x4ac060),()=>{t['replaceChildren']();};}});}},_0x2f0dc2={};_0x2042ae(_0x2f0dc2,{'BtnUi':()=>_0x12de88,'CloudImageEditor':()=>_0x31506e,'CloudImageEditorBlock':()=>_0x26eb40,'Config':()=>_0x32b502,'CropFrame':()=>_0x34fab0,'EditorAspectRatioButtonControl':()=>_0x59d45f,'EditorCropButtonControl':()=>_0x3c12ff,'EditorFilterControl':()=>_0x4eb57e,'EditorFreeformButtonControl':()=>_0x38a27f,'EditorImageCropper':()=>_0x487e15,'EditorImageFader':()=>_0x48bac0,'EditorOperationControl':()=>_0x164188,'EditorScroller':()=>_0x151119,'EditorSlider':()=>_0x81bfee,'EditorToolbar':()=>_0x3652d2,'Icon':()=>_0x341700,'LineLoaderUi':()=>_0x4d9f7d,'PresenceToggle':()=>tU,'SliderUi':()=>_0x27f5cf,'defineComponents':()=>_0x2bae94});var _0xd9c954,_0x14d370={'id':'cloud-image-editor','setup':async({pluginApi:_0x4f6ed3,uploaderApi:_0x39479d})=>(_0x2bae94({..._0x2f0dc2,..._0x53cabb}),_0x4f6ed3['registry']['registerIcon']({'name':'edit-file','svg':'<svg\x20viewBox=\x270\x200\x2024\x2024\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></svg>'}),_0x4f6ed3['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x24eae8=>!(!_0x24eae8['isImage']||!_0x24eae8['cdnUrl']),'onClick':_0x1d3fec=>{_0x39479d['setCurrentActivity']?.(_0x5b9835['CLOUD_IMG_EDIT'],{'internalId':_0x1d3fec['internalId']}),_0x39479d['setModalState']?.(!0x0);}}),_0x4f6ed3['registry']['registerActivity']({'id':_0x5b9835['CLOUD_IMG_EDIT'],'render':_0x5b194a=>{let _0x51ad9a=document['createElement']('uc-cloud-image-editor-activity');return _0x5b194a['append'](_0x51ad9a),()=>{_0x5b194a['replaceChildren']();};}}),_0x39479d['on'](_0x5440a1['FILE_UPLOAD_SUCCESS'],_0x38984a=>{if(!_0x38984a['isImage'])return;let _0x382f80=_0x4f6ed3['config']['get']('cropPreset'),_0x10d630=_0x4f6ed3['config']['get']('useCloudImageEditor'),_0x5329f0=_0x4f6ed3['config']['get']('cloudImageEditorAutoOpen'),_0x2ca009=_0x39479d['v']['size'];_0x10d630&&0x1===_0x2ca009&&(_0x382f80||_0x5329f0)&&(_0x39479d['setCurrentActivity']?.(_0x5b9835['CLOUD_IMG_EDIT'],{'internalId':_0x38984a['internalId']}),_0x39479d['setModalState']?.(!0x0));}))},_0x3dbd6a={'id':'external-sources','setup':async({pluginApi:_0x467ec5,uploaderApi:_0x6c7660})=>{_0x2bae94({'ExternalSource':_0x15919e}),_0x467ec5['registry']['registerActivity']({'id':_0x5b9835['EXTERNAL'],'render':t=>{let _0x376d9a=document['createElement']('uc-external-source');return t['append'](_0x376d9a),()=>{t['replaceChildren']();};}});for(let t of Object['values'](_0x29aeee))_0x467ec5['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x6c7660['setCurrentActivity'](_0x5b9835['EXTERNAL'],{'externalSourceType':t}),_0x6c7660['setModalState'](!0x0);}});}},tB=()=>{let _0x13a2dc=[];return{'stack':_0x13a2dc,'promiseReadJpegChunks':t=>new Promise((_0x3a9994,_0x47187a)=>{let _0x154fba=0x2,_0x1b6d08=(_0x408074,_0x425a46)=>{let _0x3e2e15=new FileReader();_0x3e2e15['addEventListener']('load',()=>{_0x425a46(new DataView(_0x3e2e15['result']));}),_0x3e2e15['addEventListener']('error',_0x39a329=>{_0x47187a('Reader\x20error:\x20'+_0x39a329);}),_0x3e2e15['readAsArrayBuffer'](_0x408074);},_0x151b4e=()=>_0x1b6d08(t['slice'](_0x154fba,_0x154fba+0x80),_0x3f00a7=>{let _0x5bbcbc,_0x46a5de,_0x32135d;for(_0x5bbcbc=_0x46a5de=0x0,_0x32135d=_0x3f00a7['byteLength'];_0x32135d>=0x0?_0x46a5de<_0x32135d:_0x46a5de>_0x32135d;_0x5bbcbc=_0x32135d>=0x0?++_0x46a5de:--_0x46a5de)if(0xff===_0x3f00a7['getUint8'](_0x5bbcbc)){_0x154fba+=_0x5bbcbc;break;}_0x5aa89b();}),_0x5aa89b=()=>{let _0x4b5a32=_0x154fba;return _0x1b6d08(t['slice'](_0x154fba,_0x154fba+=0x4),_0x1ee33b=>{if(0x4!==_0x1ee33b['byteLength']||0xff!==_0x1ee33b['getUint8'](0x0))return void _0x47187a('Corrupted');let _0xbc72fb=_0x1ee33b['getUint8'](0x1);if(0xda===_0xbc72fb)return void _0x3a9994(!0x0);let _0x35ece0=_0x1ee33b['getUint16'](0x2)-0x2;return _0x1b6d08(t['slice'](_0x154fba,_0x154fba+=_0x35ece0),_0x5d206f=>{_0x5d206f['byteLength']===_0x35ece0?(_0x13a2dc['push']({'startPos':_0x4b5a32,'length':_0x35ece0,'marker':_0xbc72fb,'view':_0x5d206f}),_0x151b4e()):_0x47187a('Corrupted');});});};FileReader&&DataView||_0x47187a('Not\x20Support'),_0x1b6d08(t['slice'](0x0,0x2),_0x255817=>{0xffd8!==_0x255817['getUint16'](0x0)&&_0x47187a('Not\x20jpeg'),_0x151b4e();});})};},_0x19ee74=async _0x41cd91=>{let _0x278c8a=[],{promiseReadJpegChunks:t,stack:_0x433c06}=tB();return await t(_0x41cd91),_0x433c06['forEach'](({marker:_0x31d745,view:_0x48debd})=>{0xe2===_0x31d745&&0x4943435f===_0x48debd['getUint32'](0x0)&&0x50524f46===_0x48debd['getUint32'](0x4)&&0x494c4500===_0x48debd['getUint32'](0x8)&&_0x278c8a['push'](_0x48debd);}),_0x278c8a;},_0x5c7eeb=async(_0x3f8d54,_0x441140,t)=>{{let _0x80ca3c=[],_0x28300f=[],{promiseReadJpegChunks:_0x5f1b16,stack:_0x470fb7}=tB();await _0x5f1b16(_0x3f8d54),_0x470fb7['forEach'](_0x2b12b1=>{if(_0x2b12b1['marker']===_0x441140)return _0x80ca3c['push'](_0x2b12b1['startPos']),_0x28300f['push'](_0x2b12b1['length']);});let _0x223141=[_0x3f8d54['slice'](0x0,0x2)];for(let _0x365627 of t){let _0x2ae6bf=new DataView(new ArrayBuffer(0x4));_0x2ae6bf['setUint16'](0x0,0xff00+_0x441140),_0x2ae6bf['setUint16'](0x2,_0x365627['byteLength']+0x2),_0x223141['push'](_0x2ae6bf['buffer']),_0x223141['push'](_0x365627);}let _0x4c77a8=0x2;for(let _0x150b8a=0x0;_0x150b8a<_0x80ca3c['length'];_0x150b8a++)_0x80ca3c[_0x150b8a]>_0x4c77a8&&_0x223141['push'](_0x3f8d54['slice'](_0x4c77a8,_0x80ca3c[_0x150b8a])),_0x4c77a8=_0x80ca3c[_0x150b8a]+_0x28300f[_0x150b8a]+0x4;return _0x223141['push'](_0x3f8d54['slice'](_0x4c77a8,_0x3f8d54['size'])),new Blob(_0x223141,{'type':_0x3f8d54['type']});}},_0x5a1c31=(_0x11f47c,_0x3ae944)=>_0x5c7eeb(_0x11f47c,0xe2,_0x3ae944['map'](t=>t['buffer'])),_0x58df45=()=>{let _0x357b05=document['createElement']('canvas'),_0x46bd3d=_0x357b05['getContext']('2d');return{'canvas':_0x357b05,'ctx':_0x46bd3d};},_0x11fca2=async _0x63ea12=>{let _0x20972c=null,{promiseReadJpegChunks:t,stack:_0x5c91bb}=tB();return await t(_0x63ea12),_0x5c91bb['forEach'](({marker:_0x351373,view:_0x271ac7})=>{!_0x20972c&&0xe1===_0x351373&&_0x271ac7['byteLength']>=0xe&&0x45786966===_0x271ac7['getUint32'](0x0)&&0x0===_0x271ac7['getUint16'](0x4)&&(_0x20972c=_0x271ac7);}),_0x20972c;},_0x55c43e=_0x3dc628=>((_0x1d195c,_0x3e5c86)=>new Promise((t,_0x4788de)=>{_0x3e5c86&&(_0x1d195c['src']=_0x3e5c86),_0x1d195c['complete']?t(_0x1d195c):(_0x1d195c['addEventListener']('load',()=>{t(_0x1d195c);}),_0x1d195c['addEventListener']('error',()=>{_0x4788de(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x3dc628),_0x18f6a3=[0x1,0x3],_0x53c47c=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x6c8b86={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x23baba=(_0x6d8fac,_0xcaf216)=>{let t={};return(..._0x34487c)=>{let _0x42e69e=_0xcaf216(_0x34487c,t);return _0x42e69e in t?t[_0x42e69e]:t[_0x42e69e]=_0x6d8fac(..._0x34487c);};},_0x57f1c0=(_0x33a39f,_0x2d71af)=>{let [t]=_0x33a39f,_0x2b5472=Object['keys'](_0x2d71af)['map'](_0x5657a9=>parseInt(_0x5657a9,0xa))['sort']((_0x165802,_0x15bdcf)=>_0x165802-_0x15bdcf);for(let _0xa94277=0x0;_0xa94277<_0x2b5472['length'];_0xa94277++){let _0x4c97bd=_0x2b5472[_0xa94277],_0x1d34b4=!!_0x2d71af[_0x4c97bd];if(_0x4c97bd>t&&_0x1d34b4||_0x4c97bd<t&&!_0x1d34b4)return _0x4c97bd;}return t;},_0x49df4a=0x37,_0x33e20c=0x6e,_0x4a6c1c=0xa5,_0x539adb=0xff,_0x75b584='rgba('+_0x49df4a+',\x20'+_0x33e20c+',\x20'+_0x4a6c1c+',\x20'+_0x539adb/0xff+')',_0x1ba75a=(_0xb3c658,_0x3941c1)=>{try{let t=[_0xb3c658-0x1,_0x3941c1-0x1,0x1,0x1],{canvas:_0x4f0b41,ctx:_0xe9e890}=_0x58df45();_0x4f0b41['width']=0x1,_0x4f0b41['height']=0x1;let {canvas:_0x44b72c,ctx:_0x164384}=_0x58df45();_0x44b72c['width']=_0xb3c658,_0x44b72c['height']=_0x3941c1,_0x164384&&(_0x164384['fillStyle']=_0x75b584,_0x164384['fillRect'](...t),_0xe9e890['drawImage'](_0x44b72c,_0xb3c658-0x1,_0x3941c1-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x170073=_0xe9e890&&_0xe9e890['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x308210=!0x1;return _0x170073&&(_0x308210=_0x170073[0x0]===_0x49df4a&&_0x170073[0x1]===_0x33e20c&&_0x170073[0x2]===_0x4a6c1c&&_0x170073[0x3]===_0x539adb),_0x44b72c['width']=_0x44b72c['height']=0x1,_0x308210;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0xb3c658+'x'+_0x3941c1+'.'),!0x1;}};function _0x161415(_0x49edf7){return(..._0x54afd5)=>new Promise(t=>{setTimeout(()=>{let _0x2e69bc=_0x49edf7(..._0x54afd5);t(_0x2e69bc);},0x0);});}var _0x1da7af=_0x161415(_0x23baba(_0x1ba75a,_0x57f1c0)),_0x15d4b6=_0x161415(_0x23baba(_0x1ba75a,_0x57f1c0)),_0x2583d2=async(_0x5451bc,_0x28ffac)=>{let t=_0x6c8b86['squareSide']['find'](_0x580467=>_0x580467*_0x580467>=_0x5451bc*_0x28ffac),_0x481197=_0x6c8b86['dimension']['find'](_0x5f272f=>_0x5f272f>=_0x5451bc&&_0x5f272f>=_0x28ffac);if(!t||!_0x481197)throw new Error('Not\x20supported');let [_0x456291,_0x526ad1]=await Promise['all']([_0x1da7af(t,t),_0x15d4b6(_0x481197,0x1)]);if(_0x456291&&_0x526ad1)return!0x0;throw new Error('Not\x20supported');},_0x5923dc=async(_0x18f9e2,_0x4ffe87,t)=>{try{let {ctx:_0x20d49a,canvas:_0x36f7b2}=_0x58df45();return _0x36f7b2['width']=_0x4ffe87,_0x36f7b2['height']=t,_0x20d49a['imageSmoothingQuality']='high',_0x20d49a['drawImage'](_0x18f9e2,0x0,0x0,_0x4ffe87,t),_0x18f9e2 instanceof HTMLImageElement&&(_0x18f9e2['src']='//:0'),_0x18f9e2 instanceof HTMLCanvasElement&&(_0x18f9e2['width']=_0x18f9e2['height']=0x1),_0x36f7b2;}catch(_0xa84c90){throw new Error('Canvas\x20resize\x20error',{'cause':_0xa84c90});}},_0x34f263=({img:_0x17b99a,sourceW:_0x122da0,targetW:t,targetH:_0x5cac39,step:_0xa0ddd9})=>{let _0x1e27d5=function({sourceW:_0x6d19c1,targetW:_0x52d041,targetH:t,step:_0x440d74}){let _0x45c137=[],_0x3f4c9d=_0x52d041,_0x402df3=t;do{_0x45c137['push']([_0x3f4c9d,_0x402df3]),_0x3f4c9d=Math['round'](_0x3f4c9d/_0x440d74),_0x402df3=Math['round'](_0x402df3/_0x440d74);}while(_0x3f4c9d<_0x6d19c1*_0x440d74);return _0x45c137['reverse']();}({'sourceW':_0x122da0,'targetW':t,'targetH':_0x5cac39,'step':_0xa0ddd9});return _0x1e27d5['reduce']((_0x2ada7e,[_0x12b798,_0x45f181],_0x47ecbc)=>_0x2ada7e['then'](_0x1d0f85=>_0x2583d2(_0x12b798,_0x45f181)['then'](()=>_0x5923dc(_0x1d0f85,_0x12b798,_0x45f181))['catch'](()=>{if(_0x47ecbc===_0x1e27d5['length']-0x1)throw new Error('Not\x20supported');return _0x1d0f85;})),Promise['resolve'](_0x17b99a));},_0x23c105=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x386dac=0.71,_0x35f233=(_0x547764,_0x52d8aa)=>{if(_0x547764['width']*_0x386dac*_0x547764['height']*_0x386dac<_0x52d8aa['size'])throw new Error('Not\x20required');let t=_0x547764['width'],_0x238497=_0x547764['height'],_0x2728fd=t/_0x238497,_0x43ff94=Math['floor'](Math['sqrt'](_0x52d8aa['size']*_0x2728fd)),_0x20774f=Math['floor'](_0x52d8aa['size']/Math['sqrt'](_0x52d8aa['size']*_0x2728fd));return _0x2583d2(_0x43ff94,_0x20774f)['then'](()=>{let {ctx:_0x50e228}=_0x58df45();return!('imageSmoothingQuality'in _0x50e228)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||_0x23c105?_0x34f263({'img':_0x547764,'sourceW':t,'targetW':_0x43ff94,'targetH':_0x20774f,'step':_0x386dac}):(({img:_0xdd8a05,targetW:_0x4a59e1,targetH:t})=>_0x5923dc(_0xdd8a05,_0x4a59e1,t))({'img':_0x547764,'targetW':_0x43ff94,'targetH':_0x20774f});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x1d35f7=async(_0x4c87dc,_0xcabfb)=>{try{if(await(async _0x3e8b0f=>{let _0x128fc7=!0x1,{promiseReadJpegChunks:t,stack:_0x1c5068}=tB();return await t(_0x3e8b0f)['then'](()=>(_0x1c5068['forEach'](({marker:_0x521c03,view:_0x231ecb})=>{if(!_0x128fc7&&_0x53c47c['indexOf'](_0x521c03)>=0x0){let _0x3c1dcb=_0x231ecb['getUint8'](0x5);_0x18f6a3['indexOf'](_0x3c1dcb)<0x0&&(_0x128fc7=!0x0);}}),_0x128fc7))['catch'](()=>_0x128fc7);})(_0x4c87dc))throw new Error('Should\x20skipped');let _0x3fbce7=await Promise['allSettled']([_0x11fca2(_0x4c87dc),new Promise(_0xf40f61=>{if(void 0x0!==_0xd9c954)_0xf40f61(_0xd9c954);else{let _0x355b4c=new Image();_0x355b4c['addEventListener']('load',()=>{_0xd9c954=_0x355b4c['naturalWidth']<_0x355b4c['naturalHeight'],_0x355b4c['src']='//:0',_0xf40f61(_0xd9c954);}),_0x355b4c['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),_0x19ee74(_0x4c87dc)]),_0x3e15bb=!_0x3fbce7['some'](_0x4beae3=>'rejected'===_0x4beae3['status']),[_0x24c895,_0x7e859f,_0x3f5016]=_0x3fbce7,_0xfc961d=await(async _0xd7ca43=>{try{return await _0x5a1c31(_0xd7ca43,[]);}catch(_0xb2f44){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0xb2f44);}})(_0x4c87dc)['catch'](()=>_0x4c87dc),_0x43fa64=await _0x55c43e(URL['createObjectURL'](_0xfc961d));URL['revokeObjectURL'](_0x43fa64['src']);let _0x1150ed=await _0x35f233(_0x43fa64,_0xcabfb),_0x5785cf='image/jpeg',_0x4d768c=_0xcabfb?.['quality']||0.8;!_0x3e15bb&&(_0x2c1761=>{let {ctx:t,canvas:_0x43a566}=_0x58df45();_0x43a566['width']=_0x43a566['height']=0x32,t['drawImage'](_0x2c1761,0x0,0x0,0x32,0x32);let _0x11ce0e=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x43a566['width']=_0x43a566['height']=0x1;for(let _0x409202=0x3;_0x409202<_0x11ce0e['length'];_0x409202+=0x4)if(_0x11ce0e[_0x409202]<0xfe)return!0x0;return!0x1;})(_0x1150ed)&&(_0x5785cf='image/png',_0x4d768c=void 0x0);let _0x381b74=await((_0x2358ce,_0x408989,t)=>new Promise((_0x4ebcc5,_0x3faf3a)=>{_0x2358ce['toBlob'](_0x280c37=>{_0x280c37?_0x4ebcc5(_0x280c37):_0x3faf3a('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x408989,t),_0x2358ce['width']=_0x2358ce['height']=0x1;}))(_0x1150ed,_0x5785cf,_0x4d768c);if(_0x3e15bb&&'fulfilled'===_0x24c895['status']&&_0x24c895['value']){let _0x366eab=_0x24c895['value'],_0x1c7385='fulfilled'===_0x7e859f['status']&&_0x7e859f['value'];_0x381b74=await(async(_0x895e29,_0x2267e1,t)=>(t&&((_0x47de9f,_0x63788f)=>{((_0x22bfc7,_0x3cd984)=>{let t,_0x54c344,_0x48823e,_0x3e5f99;if(_0x22bfc7&&!(_0x22bfc7['byteLength']<0xe)&&0x45786966===_0x22bfc7['getUint32'](0x0)&&0x0===_0x22bfc7['getUint16'](0x4)){if(0x4949===_0x22bfc7['getUint16'](0x6))_0x54c344=!0x0;else{if(0x4d4d!==_0x22bfc7['getUint16'](0x6))return;_0x54c344=!0x1;}if(0x2a===_0x22bfc7['getUint16'](0x8,_0x54c344))for(_0x48823e=0x8+_0x22bfc7['getUint32'](0xa,_0x54c344),t=0x0,_0x3e5f99=_0x22bfc7['getUint16'](_0x48823e-0x2,_0x54c344);_0x3e5f99>=0x0?t<_0x3e5f99:t>_0x3e5f99;_0x3e5f99>=0x0?++t:--t){if(_0x22bfc7['byteLength']<_0x48823e+0xa)return;0x112===_0x22bfc7['getUint16'](_0x48823e,_0x54c344)&&_0x3cd984(_0x48823e+0x8,_0x54c344),_0x48823e+=0xc;}}})(_0x47de9f,(t,_0xbc78d2)=>_0x47de9f['setUint16'](t,_0x63788f,_0xbc78d2));})(_0x2267e1,0x1),_0x5c7eeb(_0x895e29,0xe1,[_0x2267e1['buffer']])))(_0x381b74,_0x366eab,_0x1c7385);}return _0x3e15bb&&'fulfilled'===_0x3f5016['status']&&_0x3f5016['value']['length']>0x0&&(_0x381b74=await _0x5a1c31(_0x381b74,_0x3f5016['value'])),_0x381b74;}catch(_0x524bc1){let _0x195ef6;throw _0x524bc1 instanceof Error&&(_0x195ef6=_0x524bc1['message']),'string'==typeof _0x524bc1&&(_0x195ef6=_0x524bc1),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x195ef6?'Message:\x20\x22'+_0x195ef6+'\x22.':''),{'cause':_0x524bc1});}},_0x1519bd=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x5c1648={'id':'image-shrink','setup'({pluginApi:_0xaa77aa}){_0xaa77aa['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x14e5db})=>{let t=_0xaa77aa['config']['get']('imageShrink');if(!t)return{'file':_0x14e5db};let _0x373e84=(_0x54de40=>{if('string'!=typeof _0x54de40)return!0x1;let _0x595506=_0x1519bd['exec'](_0x54de40['toLocaleLowerCase']())??[];if(0x0===_0x595506['length'])return!0x1;let t=Number(_0x595506[0x1])*Number(_0x595506[0x2]),_0xb300b0=0x10000000;return t>_0xb300b0?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x595506[0x1]+'x'+_0x595506[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x595506[0x3]?Number(_0x595506[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x373e84)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x14e5db};try{return{'file':await _0x1d35f7(_0x14e5db,_0x373e84)};}catch{return{'file':_0x14e5db};}}});}},_0x58c201={'id':'instagram','setup'({pluginApi:_0x4afb57}){_0x4afb57['registry']['registerSource']({'id':'instagram','label':'src-type-instagram','icon':'instagram','expand':()=>(console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:\x20https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US'),[]),'onSelect':()=>{}});}},_0x598c81={'id':_0x3bc093['LOCAL'],'setup':({pluginApi:_0x9d8cb7,uploaderApi:_0x4d5f77})=>{_0x9d8cb7['registry']['registerSource']({'id':_0x3bc093['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x4d5f77['openSystemDialog']();}});}},_0x5f1d12={'id':'url-source','setup':async({pluginApi:_0x47dc5b,uploaderApi:_0x3c0a0b})=>{_0x2bae94({'UrlSource':_0x39a9f7}),_0x47dc5b['registry']['registerActivity']({'id':_0x5b9835['URL'],'render':t=>{let _0x5271e8=document['createElement']('uc-url-source');return t['append'](_0x5271e8),()=>{t['replaceChildren']();};}}),_0x47dc5b['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x3c0a0b['setCurrentActivity'](_0x5b9835['URL']),_0x3c0a0b['setModalState'](!0x0);}});}},_0x4898fd=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0x198f67=>!!_0x198f67('useCloudImageEditor'),'load':()=>_0x14d370},{'configDeps':['imageShrink'],'isEnabled':_0x5bf893=>!!_0x5bf893('imageShrink'),'load':()=>_0x5c1648},{'configDeps':['sourceList'],'isEnabled':_0x3f247a=>_0x430fa6(_0x3f247a('sourceList'))['includes'](_0x3bc093['LOCAL']),'load':()=>_0x598c81},{'configDeps':['sourceList'],'isEnabled':_0x420214=>_0x430fa6(_0x420214('sourceList'))['includes'](_0x3bc093['CAMERA']),'load':()=>_0x5d5e11},{'configDeps':['sourceList'],'isEnabled':_0x22e826=>_0x430fa6(_0x22e826('sourceList'))['includes']('instagram'),'load':()=>_0x58c201},{'configDeps':['sourceList'],'isEnabled':_0x1bc59c=>Object['values'](_0x29aeee)['some'](_0x1993a0=>_0x430fa6(_0x1bc59c('sourceList'))['includes'](_0x1993a0)),'load':()=>_0x3dbd6a},{'configDeps':['sourceList'],'isEnabled':_0x2c2bd5=>_0x430fa6(_0x2c2bd5('sourceList'))['includes'](_0x3bc093['URL']),'load':()=>_0x5f1d12}],_0x12262c=class extends _0x202320{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4898fd;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x244227['INIT_SOLUTION']});}['render'](){return _0x5363a9` ${super['render']()}<uc-simple-btn ?hidden=${this['headless']}></uc-simple-btn><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']}>${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from></uc-modal><uc-modal id="upload-list" strokes block-body-scrolling><uc-upload-list></uc-upload-list></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};_0x2c1f84([_0x23c236({'type':Boolean})],_0x12262c['prototype'],'headless',0x2);var _0xfb0dcf=class extends _0x202320{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4898fd;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==_0x5bd0b0['activities']['START_FROM'];}get['xc'](){let t=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](t)&&t['length']>0x0;}['Hs'](){return this['getCssData']('--cfg-init-activity')||_0x5bd0b0['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x244227['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0xabb4fe=>{_0xabb4fe||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x5a1b04=>{Array['isArray'](_0x5a1b04)&&_0x5a1b04['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return _0x5363a9` ${super['render']()}<uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']} ?hidden=${!this['Tc']} >${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from><uc-upload-list></uc-upload-list><uc-plugin-activity-renderer mode="inline"></uc-plugin-activity-renderer>`;}};_0x2c1f84([_0x5e1929()],_0xfb0dcf['prototype'],'Tc',0x2);var _0x8b94cb='active',_0x52541f=class extends _0x202320{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===_0x5bd0b0['activities']['CLOUD_IMG_EDIT']&&(this['_r']=_0x8b94cb),this['$']['*currentActivity']===_0x5bd0b0['activities']['UPLOAD_LIST']&&(this['_r']=_0x8b94cb,this['Vr']=!0x0);let _0x3512e0=this['$']['*uploadList'];(!_0x3512e0||_0x3512e0['length']<=0x0)&&(this['js']=_0x8b94cb);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===_0x5bd0b0['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4898fd;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||_0x5bd0b0['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x244227['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x28ef50=>{_0x28ef50===_0x5bd0b0['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x28ef50||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x8e10d9=>{Array['isArray'](_0x8e10d9)&&_0x8e10d9['length']>0x0?(this['$']['*currentActivity']=_0x5bd0b0['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x17bf7c=>{!0x1!==_0x17bf7c&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x3ef317=>{this['setAttribute']('mode',_0x3ef317),this['subConfigValue']('multiple',_0x1d6df7=>{'grid'===_0x3ef317?(_0x1d6df7?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x1d6df7):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0x2949e3=>{this['ui']=_0x2949e3?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](_0x310326['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x310326['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](_0x310326['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x310326['CLOSE'],this['ni']);}['render'](){return _0x5363a9` ${super['render']()}<uc-start-from ?hidden=${this['Vr']} class=${this['js']}><uc-drop-area ?single=${this['Ks']} initflow clickable tabindex="0" ><span>${this['l10n'](this['ui'])}</span></uc-drop-area><uc-copyright></uc-copyright></uc-start-from><uc-upload-list class=${this['_r']}></uc-upload-list><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']} >${this['l10n']('start-from-cancel')}</button></uc-start-from></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};_0x2c1f84([_0x5e1929()],_0x52541f['prototype'],'Ks',0x2),_0x2c1f84([_0x5e1929()],_0x52541f['prototype'],'Vr',0x2),_0x2c1f84([_0x5e1929()],_0x52541f['prototype'],'_r',0x2),_0x2c1f84([_0x5e1929()],_0x52541f['prototype'],'js',0x2),_0x2c1f84([_0x5e1929()],_0x52541f['prototype'],'ui',0x2);var _0xeaf983=Object['freeze']({'__proto__':null,'ActivityBlock':_0x5bd0b0,'ActivityHeader':class extends _0x5bd0b0{},'BaseComponent':_0x53339f,'Block':_0x35b574,'BtnUi':_0x12de88,'CameraSource':_0x2d3802,'CloudImageEditor':_0x31506e,'CloudImageEditorActivity':_0x3e2f07,'CloudImageEditorBlock':_0x26eb40,'Config':_0x32b502,'Copyright':class extends _0x35b574{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x9d88ff=>{this['toggleAttribute']('hidden',!!_0x9d88ff);});}['render'](){return _0x5363a9`<a href="https://uploadcare.com/?utm_source=copyright&amp;utm_medium=referral&amp;utm_campaign=v4" target="_blank noopener" class="uc-credits" >Powered by Uploadcare</a >`;}},'CropFrame':_0x34fab0,'Data':_0x32dac1,'DropArea':_0x400706,'EditorAspectRatioButtonControl':_0x59d45f,'EditorCropButtonControl':_0x3c12ff,'EditorFilterControl':_0x4eb57e,'EditorFreeformButtonControl':_0x38a27f,'EditorImageCropper':_0x487e15,'EditorImageFader':_0x48bac0,'EditorOperationControl':_0x164188,'EditorScroller':_0x151119,'EditorSlider':_0x81bfee,'EditorToolbar':_0x3652d2,'ExternalSource':_0x15919e,'ExternalUploadSource':_0x29aeee,'FileItem':_0x5dbf4c,'FileUploaderInline':_0xfb0dcf,'FileUploaderMinimal':_0x52541f,'FileUploaderRegular':_0x12262c,'FormInput':_0x464c4c,'Icon':_0x341700,'Img':class extends _0x468038{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x37a0d5=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x37a0d5?'lazy':'eager');});}},'LineLoaderUi':_0x4d9f7d,'Modal':_0x367140,'ModalEvents':_0x310326,'PACKAGE_NAME':_0x48ab7c,'PACKAGE_VERSION':_0x213754,'PluginActivityHost':_0x45023b,'PluginActivityRenderer':_0x50d061,'PresenceToggle':tU,'ProgressBar':_0x46a652,'ProgressBarCommon':_0x3f0ef1,'Select':_0x769e0d,'SimpleBtn':_0x186df7,'SliderUi':_0x27f5cf,'SolutionBlock':_0x202320,'SourceBtn':tV,'SourceList':_0x2abab8,'Spinner':class extends _0x35b574{['render'](){return _0x5363a9`<div class="uc-spinner"></div>`;}},'StartFrom':class extends _0x5bd0b0{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=_0x5bd0b0['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return _0x5363a9`<div class="uc-content">${this['yield']('')}</div>`;}},'Thumb':_0x48464c,'UID':_0x390713,'UploadCtxProvider':_0x4979a3,'UploadList':_0x1c3d27,'UploadSource':_0x3bc093,'UploaderBlock':_0x327a9e,'UrlSource':_0x39a9f7,'defineComponents':_0x2bae94,'defineLocale':_0x10530e,'loadFileUploaderFrom':function(_0x51a26c,_0x1388d2=!0x1){return new Promise((t,_0x4a7c38)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[_0x100782])return void t(window[_0x100782]);let _0x3e14b7=document['createElement']('script');_0x3e14b7['async']=!0x0,_0x3e14b7['src']=_0x51a26c,_0x3e14b7['onerror']=()=>{_0x4a7c38();},_0x3e14b7['onload']=()=>{let _0x4be24e=window[_0x100782];_0x1388d2&&_0x2bae94(_0x4be24e),t(_0x4be24e);},document['head']['appendChild'](_0x3e14b7);});},'toKebabCase':_0xe45947});class _0x3b66ab extends _0x31c75c['Plugin']{static get['requires'](){return[UploadcareEditing,_0x2adaaa];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a16ee){super(_0x5a16ee),_0x5a16ee['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x2bae94(_0xeaf983),this['_defineLocale']();}['_defineLocale'](){const _0x11707a=this['editor']['config']['get']('uploadcare.locale'),_0x2e36c4=this['editor']['locale']['contentLanguage'];_0x11707a&&_0x10530e(_0x2e36c4,_0x11707a);}}class UploadcareImageEditFormLoadingView extends _0x31c75c['View']{constructor(_0x1afaca){super(_0x1afaca);const t=_0x1afaca['t'],_0x3c29d2=this['bindTemplate'],_0x23f335=new _0x31c75c['SpinnerView']();_0x23f335['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x23f335,{'text':_0x3c29d2['to']('imageUploadProgress',_0xfd5b86=>t('Loading\x20image...')+'\x20('+(_0xfd5b86||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormErrorView extends _0x31c75c['View']{constructor(_0x1f216a){super(_0x1f216a);const t=_0x1f216a['t'];this['set']('errorType',null);const _0x4f1946=new _0x31c75c['ButtonView'](_0x1f216a);_0x4f1946['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4f1946['withText']=!0x0,_0x4f1946['class']='ck-button-action',_0x4f1946['on']('execute',()=>{this['fire']('retry');}),_0x4f1946['bind']('isVisible')['to'](this,'errorType',_0x43ab96=>'NotFound'!==_0x43ab96);const _0x2ce43a=new _0x31c75c['IconView']();_0x2ce43a['content']=_0x31c75c['IconError'],_0x2ce43a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35b413=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2ce43a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35b413['to']('errorType',_0x42ee4a=>t('NotFound'!==_0x42ee4a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4f1946]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormEditingView extends _0x31c75c['View']{constructor(_0x30937f,_0x1e9180){super(_0x30937f);const _0x2e7e60=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1e9180,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2e7e60['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0xfe34b5{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5d4a75,_0x1ba026,_0x1e9010){super(_0x5d4a75),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x5d4a75),this['_errorView']=new UploadcareImageEditFormErrorView(_0x5d4a75),this['_editingView']=new UploadcareImageEditFormEditingView(_0x5d4a75,_0x1e9010),this['_focusableView']=new _0x31c75c['View'](_0x5d4a75),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1ba026),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x1b33a7=>{this['_addUploadcareImageEditorListeners'](_0x1b33a7);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x50b146,_0x9ff4d5){const _0x4fb3c4='uc-cloud-image-editor',_0x5a155e=_0x50b146['querySelector'](_0x4fb3c4);if(_0x5a155e)return _0x9ff4d5(_0x5a155e);const _0x5dafb7=new MutationObserver(_0x4e9f28=>{const _0x5eec71=_0x4e9f28['filter'](_0x1d2a08=>_0x1d2a08['target']===_0x50b146&&_0x1d2a08['addedNodes']['length']>0x0&&_0x1d2a08['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4fb3c4);_0x5eec71['length']&&(_0x5dafb7['disconnect'](),_0x9ff4d5(_0x5eec71[0x0]['addedNodes'][0x0]));});_0x5dafb7['observe'](_0x50b146,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x44adc8){_0x44adc8['addEventListener']('apply',_0x92daa1=>{this['fire']('apply',{'imageSrc':_0x92daa1['detail']['cdnUrl']});}),_0x44adc8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x31c75c['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1173b9,_0x5ca1f0,_0x28cbfb){super(),this['_editor']=_0x1173b9,this['_dialog']=_0x5ca1f0,this['_imageElement']=_0x28cbfb,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x51b68e=this['_imageElement'],_0x28b246=_0x51b68e['getAttribute']('uploadcareImageId'),_0x3d10fb=_0x51b68e['getAttribute']('src');if(_0x28b246)await this['_loadImageInfo'](_0x28b246,_0x3d10fb);else{if(this['_imageCache']['has'](_0x3d10fb)){const _0x217aef=this['_imageCache']['get'](_0x3d10fb);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x217aef['url'],this['imageDimension']=_0x217aef['dimension'],this['imageId']=_0x217aef['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4126c2}=this['_editor'],t=_0x4126c2['t'],_0x1d9f2c=new UploadcareImageEditFormView(_0x4126c2,this['imageStatus'],this['_attributes']);_0x1d9f2c['bind']('status')['to'](this,'imageStatus'),_0x1d9f2c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d9f2c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d9f2c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d9f2c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x31c75c['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d9f2c,'position':_0x31c75c['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d9f2c['focus']();},'onHide':()=>{_0x1d9f2c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x90179d=>!_0x33dbe0(_0x90179d,_0x1d9f2c['element'])}});}['_loadImageInfo'](_0x23e2ea,_0x4fe7bc){return UploadUtils['getInfo'](_0x23e2ea,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x37f94b=>{const {width:_0x587446,height:_0x41949a}=_0x37f94b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4fe7bc,this['imageDimension']={'width':_0x587446,'height':_0x41949a},this['imageId']=_0x23e2ea;})['catch'](_0x53740a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53740a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2479fc,_0x3b67ba){return this['_getImageAsFile'](_0x2479fc)['then'](_0x151ce4=>UploadUtils['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3b67ba['signal'],'file':_0x151ce4,'onProgress':_0x16e8f3=>{_0x16e8f3&&_0x16e8f3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x16e8f3['value']));}}))['then'](_0x4368f4=>{const {width:_0x365ce9,height:_0x4fdc27}=_0x4368f4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4368f4['cdnUrl'],this['imageDimension']={'width':_0x365ce9,'height':_0x4fdc27},this['imageId']=_0x4368f4['uuid'],this['imageUploadProgress']=null;const _0x23e12=_0x2479fc['getAttribute']('src');this['_imageCache']['set'](_0x23e12,{'id':_0x4368f4['uuid'],'url':_0x4368f4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1a017c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a017c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3a589c,_0x40389f){_0x3a589c['on']('apply',(_0xfd08f3,_0xc80eec)=>{this['_replaceImage'](_0x40389f,_0xc80eec['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3a589c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3a589c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x16b3e6,_0x320901,_0x45b2b6){const _0x9e2f70=this['_editor'],{width:_0x5aa087,height:_0x51d410}=_0x41154b(_0x320901,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4aa841,imageSources:_0x1d92f7}=_0x40a7bd(_0x320901,_0x5aa087);_0x9e2f70['model']['change'](_0x4a6dbf=>{if('$graveyard'===_0x16b3e6['root']['rootName']){_0x9e2f70['execute']('insertImage',{'imageType':_0x16b3e6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x16b3e6['getAttributes']()),'uploadcareImageId':_0x45b2b6,'src':_0x4aa841,'sources':_0x1d92f7,'width':_0x5aa087,'height':_0x51d410}});const _0x5d9d22=_0x16b3e6['getChildren']();_0x16b3e6=_0x9e2f70['model']['document']['selection']['getSelectedElement']();for(const _0x4c4eb2 of _0x5d9d22)_0x4a6dbf['append'](_0x4a6dbf['cloneElement'](_0x4c4eb2),_0x16b3e6);}else _0x4a6dbf['setSelection'](_0x16b3e6,'on'),_0x9e2f70['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x16b3e6['getAttributes']()),'uploadcareImageId':_0x45b2b6,'src':_0x4aa841,'sources':_0x1d92f7,'width':_0x5aa087,'height':_0x51d410},_0x16b3e6);_0x4a6dbf['setSelection'](_0x16b3e6,'on');});}async['_getImageAsFile'](_0x1d5a76){const _0x128479=_0x31c75c['global']['window'],_0x324174=_0x31c75c['global']['document']['location']['href'],_0x584b48=new _0x128479['URL'](_0x1d5a76['getAttribute']('src'),_0x324174);if('data:'===_0x584b48['protocol']){const _0x4f0d6e=_0x584b48['href']['split'](','),_0x170c09=_0x4f0d6e[0x0]['match'](/:(.*?);/)[0x1],_0x5c433f=_0x170c09['split']('/')[0x1],_0x11d94c=_0x128479['atob'](_0x4f0d6e[_0x4f0d6e['length']-0x1]);let _0x220edf=_0x11d94c['length'];const _0x542914=new _0x128479['Uint8Array'](_0x220edf);for(;_0x220edf--;)_0x542914[_0x220edf]=_0x11d94c['charCodeAt'](_0x220edf);return new _0x128479['File']([_0x542914],'image.'+_0x5c433f,{'type':_0x170c09});}const _0x4bf215=_0x584b48['href']['split']('/'),_0x42be9c=_0x4bf215[_0x4bf215['length']-0x1],_0x189adf=_0x42be9c['split']('.')[0x1];return _0x128479['fetch'](_0x584b48['href'])['then'](_0x29f608=>_0x29f608['clone']()['blob']())['then'](_0x30f809=>new _0x128479['File']([_0x30f809],_0x42be9c,{'type':'image/'+_0x189adf}));}}class UploadcareImageEditCommand extends _0x31c75c['Command']{['imageEditController'];static get['requires'](){return[_0x31c75c['Dialog']];}['_isEditable'];constructor(_0x1a4a40){super(_0x1a4a40),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x13668f){const _0x3e3bc1=_0x3f433f(_0x13668f);return _0x23edbe=>!(!_0x23edbe||!_0x23edbe['is']('element','imageBlock')&&!_0x23edbe['is']('element','imageInline'))&&(!!_0x23edbe['hasAttribute']('uploadcareImageId')||!!_0x23edbe['hasAttribute']('src')&&_0x3e3bc1(_0x23edbe['getAttribute']('src')));}(_0x1a4a40['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x404451=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x404451);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1d3eb9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d3eb9&&(_0x1d3eb9['is']('element','imageBlock')||_0x1d3eb9['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](_0x31c75c['Dialog']),_0x1d3eb9),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x244679 extends _0x31c75c['Command']{['refresh'](){const _0x45da2f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x45da2f&&(_0x45da2f['is']('element','imageBlock')||_0x45da2f['is']('element','imageInline')));}['execute'](_0x35b65d){const _0x5316b2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x291c23=>{_0x291c23['setAttributes'](_0x35b65d,_0x5316b2),_0x291c23['removeAttribute']('srcset',_0x5316b2),_0x291c23['removeAttribute']('sizes',_0x5316b2);});}}class UploadcareImageEditEditing extends _0x31c75c['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,_0x31c75c['Notification'],_0x31c75c['ImageUtils'],_0x31c75c['ImageEditing']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d909d}=this;_0x5d909d['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x5d909d)),_0x5d909d['commands']['add']('uploadcareImageReplace',new _0x244679(_0x5d909d));}}class UploadcareImageEditUI extends _0x31c75c['Plugin']{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x1edf41=this['editor'];_0x1edf41['ui']['componentFactory']['add']('uploadcareImageEdit',_0x389187=>{const _0x1b73c2=_0x1edf41['commands']['get']('uploadcareImageEdit'),_0x5876ce=new _0x31c75c['ButtonView'](_0x389187),t=_0x389187['t'];return _0x5876ce['set']({'icon':_0x31c75c['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5876ce['bind']('isEnabled')['to'](_0x1b73c2),_0x5876ce['bind']('isOn')['to'](_0x1b73c2,'isActive'),this['listenTo'](_0x5876ce,'execute',()=>{_0x1edf41['execute']('uploadcareImageEdit'),_0x1edf41['editing']['view']['focus']();}),_0x5876ce;}),this['_initConfig']();}['_initConfig'](){const _0x2030eb=_0x31c75c['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2030eb),this['listenTo'](this['editor'],'destroy',()=>{_0x2030eb['remove']();});}}class UploadcareImageEdit extends _0x31c75c['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}_0x295269['AIActions']=AIActions,_0x295269['AIAdapter']=AIAdapter,_0x295269['AIAssistant']=AIAssistant,_0x295269['AIAssistantUI']=AIAssistantUI,_0x295269['AIBalloon']=_0x5a333d,_0x295269['AIChat']=AIChat,_0x295269['AIChatController']=AIChatController,_0x295269['AIChatFeedCustomElementView']=AIChatFeedCustomElementView,_0x295269['AIChatHistory']=AIChatHistory,_0x295269['AIChatHistoryController']=AIChatHistoryController,_0x295269['AIChatHistoryUI']=AIChatHistoryUI,_0x295269['AIChatInteraction']=AIChatInteraction,_0x295269['AIChatShortcuts']=AIChatShortcuts,_0x295269['AIChatUI']=AIChatUI,_0x295269['AIConnector']=AIConnector,_0x295269['AIEditing']=AIEditing,_0x295269['AIEditorIntegration']=AIEditorIntegration,_0x295269['AIInteraction']=AIInteraction,_0x295269['AIQuickActions']=AIQuickActions,_0x295269['AIQuickActionsUI']=AIQuickActionsUI,_0x295269['AIReply']=_0x5786de,_0x295269['AIRequestError']=AIRequestError,_0x295269['AIReviewCheck']=_0x5847ab,_0x295269['AIReviewCheckResult']=AIReviewCheckResult,_0x295269['AIReviewCheckResultChange']=AIReviewCheckResultChange,_0x295269['AIReviewCheckRun']=_0x3675fd,_0x295269['AIReviewMode']=_0x402c1c,_0x295269['AIReviewModeController']=AIReviewCoreController,_0x295269['AIReviewModeEditing']=AIReviewCoreEditing,_0x295269['AIReviewModeUI']=_0x9ba912,_0x295269['AITabs']=_0x20f71e,_0x295269['AITabsMainView']=_0x1e0811,_0x295269['AITabsView']=_0x59a265,_0x295269['AITextAdapter']=AITextAdapter,_0x295269['AIToggleButtonUI']=AIToggleButtonUI,_0x295269['AITranslate']=AITranslate,_0x295269['AITranslateController']=AITranslateController,_0x295269['AITranslateUI']=AITranslateUI,_0x295269['AWSTextAdapter']=class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x31c75c['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0xd3e3da){throw _0x31c75c['logError']('ai-aws-adapter-not-supported'),new AIRequestError(_0x1caf81(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},_0x295269['AcceptSuggestionCommand']=AcceptSuggestionCommand,_0x295269['AddCommentThreadCommand']=AddCommentThreadCommand,_0x295269['Annotation']=_0x3a1f99,_0x295269['AnnotationCollection']=AnnotationCollection,_0x295269['AnnotationCounterButtonView']=AnnotationCounterButtonView,_0x295269['AnnotationView']=AnnotationView,_0x295269['Annotations']=Annotations,_0x295269['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,_0x295269['AnnotationsSidebarView']=AnnotationsSidebarView,_0x295269['AnnotationsUIs']=AnnotationsUIs,_0x295269['AriaDescriptionView']=AriaDescriptionView,_0x295269['BaseCommentThreadView']=BaseCommentThreadView,_0x295269['BaseCommentView']=BaseCommentView,_0x295269['BaseSuggestionThreadView']=BaseSuggestionThreadView,_0x295269['CaseChange']=_0x1d51ef,_0x295269['CaseChangeCommand']=_0x258147,_0x295269['CaseChangeEditing']=CaseChangeEditing,_0x295269['CaseChangeUI']=_0x5cc63b,_0x295269['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,_0x295269['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,_0x295269['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,_0x295269['CollaborationUserColor']=CollaborationUserColor,_0x295269['Comment']=_0x3cb943,_0x295269['CommentThread']=CommentThread,_0x295269['CommentThreadController']=CommentThreadController,_0x295269['CommentThreadInputView']=CommentThreadInputView,_0x295269['CommentThreadView']=CommentThreadView,_0x295269['CommentView']=CommentView,_0x295269['Comments']=Comments,_0x295269['CommentsArchive']=CommentsArchive,_0x295269['CommentsArchiveUI']=CommentsArchiveUI,_0x295269['CommentsEditing']=CommentsEditing,_0x295269['CommentsListView']=CommentsListView,_0x295269['CommentsOnly']=CommentsOnly,_0x295269['CommentsRepository']=CommentsRepository,_0x295269['CommentsUI']=CommentsUI,_0x295269['ConfirmMixin']=_0xca906e,_0x295269['CopyFormatCommand']=CopyFormatCommand,_0x295269['DATA_ID_MODEL_ATTRIBUTE']=_0x4367ca,_0x295269['DATA_ID_VIEW_ATTRIBUTE']=_0x2e69e2,_0x295269['DiscardSuggestionCommand']=DiscardSuggestionCommand,_0x295269['DocumentCompare']=DocumentCompare,_0x295269['DocumentDiff']=DocumentDiff,_0x295269['DocumentOutline']=DocumentOutline,_0x295269['DocumentOutlineUI']=DocumentOutlineUI,_0x295269['DocumentOutlineUtils']=DocumentOutlineUtils,_0x295269['EditSourceCommand']=EditSourceCommand,_0x295269['EditorAnnotations']=EditorAnnotations,_0x295269['EmailConfigurationHelper']=EmailConfigurationHelper,_0x295269['EmailConfigurationLogger']=EmailConfigurationLogger,_0x295269['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,_0x295269['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,_0x295269['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,_0x295269['ExportInlineStyles']=ExportInlineStyles,_0x295269['ExportInlineStylesCommand']=ExportInlineStylesCommand,_0x295269['ExportInlineStylesEditing']=ExportInlineStylesEditing,_0x295269['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,_0x295269['ExportPdf']=ExportPdf,_0x295269['ExportPdfCommand']=ExportPdfCommand,_0x295269['ExportWord']=ExportWord,_0x295269['ExportWordCommand']=ExportWordCommand,_0x295269['FOCUS_ANNOTATION_KEYSTROKE']=_0x25c247,_0x295269['FontEmailIntegration']=FontEmailIntegration,_0x295269['Footnotes']=Footnotes,_0x295269['FootnotesClipboard']=FootnotesClipboard,_0x295269['FootnotesEditing']=FootnotesEditing,_0x295269['FootnotesProperties']=FootnotesProperties,_0x295269['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,_0x295269['FootnotesPropertiesUI']=FootnotesPropertiesUI,_0x295269['FootnotesStartCommand']=FootnotesStartCommand,_0x295269['FootnotesStyleCommand']=FootnotesStyleCommand,_0x295269['FootnotesTracker']=FootnotesTracker,_0x295269['FootnotesUI']=FootnotesUI,_0x295269['FormatPainter']=FormatPainter,_0x295269['FormatPainterEditing']=FormatPainterEditing,_0x295269['FormatPainterUI']=FormatPainterUI,_0x295269['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,_0x295269['HeadingId']=_0x2bdcac,_0x295269['HighlightEmailIntegration']=HighlightEmailIntegration,_0x295269['ImageEmailIntegration']=ImageEmailIntegration,_0x295269['ImportWord']=ImportWord,_0x295269['ImportWordCommand']=ImportWordCommand,_0x295269['ImportWordEditing']=ImportWordEditing,_0x295269['ImportWordUI']=ImportWordUI,_0x295269['InlineAnnotations']=InlineAnnotations,_0x295269['InsertFootnoteCommand']=InsertFootnoteCommand,_0x295269['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,_0x295269['InsertMergeFieldCommand']=InsertMergeFieldCommand,_0x295269['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,_0x295269['LateFocusButtonView']=LateFocusButtonView,_0x295269['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,_0x295269['LineHeight']=LineHeight,_0x295269['LineHeightCommand']=LineHeightCommand,_0x295269['LineHeightEditing']=LineHeightEditing,_0x295269['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,_0x295269['LineHeightUI']=LineHeightUI,_0x295269['LinkEmailIntegration']=LinkEmailIntegration,_0x295269['ListEmailIntegration']=ListEmailIntegration,_0x295269['MarkdownEmailIntegration']=MarkdownEmailIntegration,_0x295269['MathTypeEmailIntegration']=MathTypeEmailIntegration,_0x295269['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,_0x295269['MergeFields']=_0x43477b,_0x295269['MergeFieldsEditing']=MergeFieldsEditing,_0x295269['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,_0x295269['MergeFieldsUI']=_0x3d40ae,_0x295269['MultiLevelList']=MultiLevelList,_0x295269['MultiLevelListCommand']=MultiLevelListCommand,_0x295269['MultiLevelListEditing']=MultiLevelListEditing,_0x295269['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,_0x295269['MultiLevelListUI']=MultiLevelListUI,_0x295269['NarrowSidebar']=_0x3afa4c,_0x295269['OpenAITextAdapter']=class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x1a2dd1){super(_0x1a2dd1),_0x1a2dd1['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x1a2dd1['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x1a2dd1['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x1a2dd1['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x1a2dd1['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x1a2dd1['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x391dfb,context:_0x4bd258,onData:_0x41678a,actionId:_0x4488ee}){const _0x58a279=this['editor']['locale'],_0x5db1ea=await this['prepareMessages'](_0x391dfb,_0x4bd258,_0x4488ee),_0x416632=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x4488ee),_0x3f7bf1=await this['_prepareRequestParameters'](this['_requestParameters'],_0x4488ee),_0x3e98dc={'messages':_0x5db1ea,..._0x3f7bf1},_0x4bc4b9={'method':'POST','headers':_0x416632,'body':JSON['stringify'](_0x3e98dc),'signal':this['abortController']['signal']},_0xa62b59=await fetch(this['_apiUrl'],_0x4bc4b9);if(_0xa62b59['ok'])return _0x3f7bf1['stream']?await this['_readStreamableResponse'](_0xa62b59,_0x41678a):await this['_readStaticResponse'](_0xa62b59,_0x41678a),Promise['resolve']();{const _0x3d0288=await _0xa62b59['text']();return _0x3d0288['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(_0x1caf81(_0x58a279,'AI_ERROR_CONTEXT_LENGTH'))):_0x3d0288['includes']('Moderation')?Promise['reject'](new AIRequestError(_0x1caf81(_0x58a279,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x3d0288));}}async['prepareMessages'](_0x2f500e,_0x9d055c,_0x565a56){let _0xba275c,_0x2511a8;return _0x9d055c?(_0xba275c='Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x2511a8='Instruction:\x0a'+_0x2f500e+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x9d055c):(_0xba275c='Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.',_0x2511a8=_0x2f500e),[{'role':'system','content':_0xba275c},{'role':'user','content':_0x2511a8}];}async['_readStreamableResponse'](_0x5e3ef8,_0x2589a0){const _0x5a6cc6=_0x5e3ef8['body']['getReader'](),_0x51fc25=new TextDecoder();let _0x3c1643='',_0x282b23='',_0x3883d1='',_0x311b79=!0x1;for(;!_0x311b79;){const {done:_0x4386b5,value:_0x4a0dd9}=await _0x5a6cc6['read'](),_0x39aec1=_0x3c1643+_0x51fc25['decode'](_0x4a0dd9);let _0x278ba3='';_0x311b79=_0x4386b5;try{_0x278ba3=this['_cleanUpData'](_0x39aec1),_0x3c1643='';}catch{_0x3c1643=_0x39aec1;continue;}_0x282b23+=_0x278ba3,!_0x311b79&&this['_isBufferIncomplete'](_0x282b23)||_0x282b23&&(_0x3883d1+=_0x282b23,_0x282b23='',_0x2589a0(_0x3883d1));}return Promise['resolve']();}async['_readStaticResponse'](_0x44e98c,_0xc9da2a){return _0xc9da2a((await _0x44e98c['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x2fcf6b){const _0x558488=_0x2fcf6b['split']('<')['length']!==_0x2fcf6b['split']('>')['length'],_0xa80380=_0x2fcf6b['length']<0x1e;return _0x558488&&_0xa80380;}['_cleanUpData'](_0x2144bf){return _0x2144bf['split'](/\n(?![^{]*\})/g)['map'](_0x47a5cc=>_0x47a5cc['replace']('data:\x20',''))['filter'](_0x1fce4c=>_0x1fce4c&&_0x1fce4c['length']>0x0&&'[DONE]'!==_0x1fce4c)['map'](_0x2e7377=>{const {choices:_0x564b14}=JSON['parse'](_0x2e7377);if(_0x564b14[0x0]?.['delta']?.['content'])return _0x564b14[0x0]['delta']['content'];})['filter'](_0x5bae37=>_0x5bae37)['join']('');}},_0x295269['Pagination']=Pagination,_0x295269['PaginationRenderer']=PaginationRenderer,_0x295269['PasteFormatCommand']=PasteFormatCommand,_0x295269['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,_0x295269['Permissions']=_0x418faa,_0x295269['PresenceList']=PresenceList,_0x295269['PresenceListUI']=PresenceListUI,_0x295269['PreviewFinalContentCommand']=PreviewFinalContentCommand,_0x295269['PreviewMergeFieldsCommand']=_0x2db90f,_0x295269['RealTimeCollaborationClient']=RealTimeCollaborationClient,_0x295269['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,_0x295269['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,_0x295269['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,_0x295269['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,_0x295269['ReplaceSourceCommand']=_0x315310,_0x295269['RestoreRevisionCommand']=RestoreRevisionCommand,_0x295269['Revision']=_0x37cac6,_0x295269['RevisionHistory']=RevisionHistory,_0x295269['RevisionHistoryUI']=RevisionHistoryUI,_0x295269['RevisionHistoryUtils']=RevisionHistoryUtils,_0x295269['RevisionTracker']=_0x707d6f,_0x295269['RevisionViewer']=_0x235b39,_0x295269['RevisionViewerEditor']=RevisionViewerEditor,_0x295269['RevisionViewerIntegration']=RevisionViewerIntegration,_0x295269['RevisionViewerLoadingOverlay']=_0x26be7d,_0x295269['RevisionViewerUI']=_0x4cc957,_0x295269['RevisionsRepository']=RevisionsRepository,_0x295269['RevisionsSidebar']=_0x263ffe,_0x295269['Sessions']=_0xcad824,_0x295269['ShowAIAssistantCommand']=ShowAIAssistantCommand,_0x295269['ShowChangeCommand']=_0x559a4f,_0x295269['Sidebar']=_0x3f8c99,_0x295269['SlashCommand']=_0x5e958d,_0x295269['SlashCommandConfig']=_0x2066bb,_0x295269['SlashCommandEditing']=SlashCommandEditing,_0x295269['SlashCommandUI']=_0x2de2d5,_0x295269['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,_0x295269['SourceEditingEnhanced']=SourceEditingEnhanced,_0x295269['Suggestion']=Suggestion,_0x295269['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,_0x295269['SuggestionThreadView']=SuggestionThreadView,_0x295269['SuggestionView']=SuggestionView,_0x295269['SuggestionsConversion']=SuggestionsConversion,_0x295269['TableEmailIntegration']=TableEmailIntegration,_0x295269['TableOfContents']=TableOfContents,_0x295269['TableOfContentsCommand']=TableOfContentsCommand,_0x295269['TableOfContentsEditing']=TableOfContentsEditing,_0x295269['TableOfContentsUI']=TableOfContentsUI,_0x295269['Template']=Template,_0x295269['TemplateCommand']=TemplateCommand,_0x295269['TemplateEditing']=TemplateEditing,_0x295269['TemplateEmailIntegration']=TemplateEmailIntegration,_0x295269['TemplateUI']=TemplateUI,_0x295269['TodoListEmailIntegration']=TodoListEmailIntegration,_0x295269['ToggleAICommand']=_0x5a829e,_0x295269['TrackChanges']=_0x4ca0cd,_0x295269['TrackChangesCommand']=_0x146a07,_0x295269['TrackChangesData']=TrackChangesData,_0x295269['TrackChangesDataGetter']=TrackChangesDataGetter,_0x295269['TrackChangesEditing']=TrackChangesEditing,_0x295269['TrackChangesPreview']=_0xfdac8d,_0x295269['TrackChangesUI']=_0x2099eb,_0x295269['UploadEmailIntegration']=UploadEmailIntegration,_0x295269['Uploadcare']=_0x3b66ab,_0x295269['UploadcareCommand']=_0x25f679,_0x295269['UploadcareEditing']=UploadcareEditing,_0x295269['UploadcareImageEdit']=UploadcareImageEdit,_0x295269['UploadcareImageEditCommand']=UploadcareImageEditCommand,_0x295269['UploadcareImageEditEditing']=UploadcareImageEditEditing,_0x295269['UploadcareImageEditUI']=UploadcareImageEditUI,_0x295269['UploadcareUI']=_0x2adaaa,_0x295269['UploadcareUploadAdapter']=UploadcareUploadAdapter,_0x295269['User']=_0x275adb,_0x295269['UserView']=_0x4a5e55,_0x295269['Users']=_0x1eec90,_0x295269['WebSocketGateway']=WebSocketGateway,_0x295269['WideSidebar']=_0x5c5859,_0x295269['bindAnnotationCollections']=_0x1cd168,_0x295269['createResizeButton']=jt,_0x295269['dropImportantStyleSuffix']=_0x2d6d83,_0x295269['fixElementSuggestionRange']=_0x142cf4,_0x295269['getAllMarkersDomElementsSorted']=_0x458809,_0x295269['getDateTimeFormatter']=_0x1e8f2b,_0x295269['getDefaultAICommands']=Mt,_0x295269['getEmailInlineStylesTransformations']=function(_0x465bbb={}){const _0x43c852=[];return _0x465bbb['useFigureToTableFallback']&&_0x43c852['push'](_0x162950,_0x283b0b,_0xf4789d),_0x43c852['push'](_0x471034,_0x556066,_0x46a3cc),_0x43c852;},_0x295269['getMarkerDomElement']=_0x4c41ff,_0x295269['hashObject']=ta,_0x295269['isUnsupportedEmailColorFormat']=_0x3e2781,_0x295269['isUnsupportedEmailColorValue']=th,_0x295269['sanitizeEditorConfig']=_0x138900,_0x295269['setupThreadKeyboardNavigation']=_0x56a70a,_0x295269['splitSuggestionMarkerName']=_0x518fa7,_0x295269['surroundingMarkersDetector']=_0x2e1ccc,_0x295269['transformEmailAlignToAttribute']=_0xf4789d,_0x295269['transformEmailFigcaptionToDiv']=_0x283b0b,_0x295269['transformEmailFigureToTable']=_0x162950,_0x295269['transformEmailFloatToAlign']=_0x471034,_0x295269['transformEmailImageWidthAttributes']=_0x46a3cc,_0x295269['transformEmailMarginToAlign']=_0x556066,_0x295269['trimHtml']=_0x6b65ae;});